diff --git a/.eslintrc.cjs b/.eslintrc.cjs new file mode 100644 index 0000000..ec601b2 --- /dev/null +++ b/.eslintrc.cjs @@ -0,0 +1,15 @@ +module.exports = { + env: { browser: true, es2020: true }, + extends: [ + 'eslint:recommended', + 'plugin:react/recommended', + 'plugin:react/jsx-runtime', + 'plugin:react-hooks/recommended', + ], + parserOptions: { ecmaVersion: 'latest', sourceType: 'module' }, + settings: { react: { version: '18.2' } }, + plugins: ['react-refresh'], + rules: { + 'react-refresh/only-export-components': 'warn', + }, +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bb1cb6a --- /dev/null +++ b/.gitignore @@ -0,0 +1,32 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Backup folders +dist_backup/ +dist_backup_new/ +dist_working_backup/ + +# Zip files +*.zip + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/BAT-FILES-GUIDE.md b/BAT-FILES-GUIDE.md new file mode 100644 index 0000000..4dc41d3 --- /dev/null +++ b/BAT-FILES-GUIDE.md @@ -0,0 +1,293 @@ +# 🚀 POZO - BAT Files Usage Guide + +## 📁 Available BAT Files + +### 🔨 BUILD-PROJECT.bat (RECOMMENDED) +**What it does:** +- Stops all running servers +- Installs npm dependencies if needed +- Runs complete build with `npm run convert-jsx-to-html` +- Copies server files to dist +- Generates SEO files +- Verifies all output files + +**When to use:** +- First time setup +- After making code changes +- When you need a fresh, complete build + +**How to use:** +1. Double-click `BUILD-PROJECT.bat` +2. Wait for completion (1-2 minutes) +3. Check for success message + +--- + +### ⚡ SIMPLE-BUILD.bat (ALTERNATIVE) +**What it does:** +- Same as BUILD-PROJECT but with better error handling +- Skips react-snap (faster) +- Still generates SEO files + +**When to use:** +- If BUILD-PROJECT.bat fails +- When you want faster builds +- When react-snap causes issues + +**How to use:** +1. Double-click `SIMPLE-BUILD.bat` +2. Wait for completion +3. Check output messages + +--- + +### 🚀 QUICK-START.bat (FASTEST) +**What it does:** +- Just starts the server (no build) +- Uses existing dist folder +- Installs dependencies if missing + +**When to use:** +- When you already have a build +- Just want to start/restart server +- Testing without rebuilding + +**How to use:** +1. Make sure you've built at least once +2. Double-click `QUICK-START.bat` +3. Server starts immediately + +--- + +### ▶️ START-SERVER.bat +**What it does:** +- Starts the Node.js server from dist folder +- Shows all test URLs +- Checks if dist/server.js exists + +**When to use:** +- After building +- When QUICK-START seems too minimal + +**How to use:** +1. Ensure build is complete +2. Double-click `START-SERVER.bat` +3. Browser-ல URLs open பண்ணு + +--- + +### ⏹️ STOP-SERVER.bat +**What it does:** +- Kills all Node.js processes +- Confirms servers stopped + +**When to use:** +- When you're done testing +- Before starting a new build +- When server is stuck + +**How to use:** +1. Double-click `STOP-SERVER.bat` +2. Wait for confirmation +3. Done! + +--- + +## 🎯 Recommended Workflow + +### First Time / Fresh Setup: +``` +1. BUILD-PROJECT.bat (Build everything) +2. START-SERVER.bat (Start server) +3. Test in browser (Verify SEO) +4. STOP-SERVER.bat (Stop when done) +``` + +### Regular Development: +``` +1. Make code changes +2. STOP-SERVER.bat (Stop old server) +3. BUILD-PROJECT.bat (Rebuild) +4. START-SERVER.bat (Start new server) +5. Test in browser +6. STOP-SERVER.bat (Stop when done) +``` + +### Quick Testing (No Changes): +``` +1. QUICK-START.bat (Just start server) +2. Test in browser +3. Press Ctrl+C in window (Stop server) +``` + +--- + +## 🐛 Troubleshooting + +### Issue: BUILD-PROJECT.bat fails + +**Solution 1:** Try SIMPLE-BUILD.bat instead +``` +Double-click: SIMPLE-BUILD.bat +``` + +**Solution 2:** Manual build +```powershell +npm install +npm run build +node scripts/jsx-to-html-converter.js +``` + +**Solution 3:** Check for errors +- Missing dependencies → Run `npm install` +- Syntax errors in code → Check error messages +- Port already in use → Run STOP-SERVER.bat first + +--- + +### Issue: START-SERVER.bat shows "dist/server.js not found" + +**Solution:** +``` +1. Run BUILD-PROJECT.bat first +2. Check if dist folder exists +3. Verify dist/server.js is present +``` + +--- + +### Issue: Server starts but shows blank page + +**Solution:** +``` +1. Check browser console (F12) +2. Verify URL is http://localhost:3000/home/ (with /home/) +3. Clear browser cache (Ctrl + Shift + Delete) +4. Rebuild: BUILD-PROJECT.bat +``` + +--- + +### Issue: Port 3000 already in use + +**Solution:** +``` +1. Run STOP-SERVER.bat +2. Or manually kill process: + Get-Process -Name node | Stop-Process -Force +3. Try starting again +``` + +--- + +### Issue: SEO tags not showing + +**Solution:** +``` +1. Verify you're viewing page source (Ctrl + U) +2. Check if scripts/generate-seo.js ran successfully +3. Rebuild with BUILD-PROJECT.bat +4. Check dist/home/pricing-pozoapp/index.html manually +``` + +--- + +## 📝 Quick Command Reference + +### To Build: +- **Full build:** `BUILD-PROJECT.bat` +- **Simple build:** `SIMPLE-BUILD.bat` + +### To Start: +- **Normal start:** `START-SERVER.bat` +- **Quick start:** `QUICK-START.bat` + +### To Stop: +- **Clean stop:** `STOP-SERVER.bat` +- **Force stop:** Press `Ctrl+C` in server window + +### To Test: +1. Start server (any method above) +2. Open: http://localhost:3000/home/ +3. View source: Press `Ctrl + U` +4. Check `` and `<meta>` tags + +--- + +## ✅ Success Checklist + +After running BUILD-PROJECT.bat, verify: +- [ ] No error messages +- [ ] dist/server.js exists +- [ ] dist/server/seo-middleware.js exists +- [ ] dist/web.config exists +- [ ] dist/home/pricing-pozoapp/index.html exists +- [ ] dist/home/blog/index.html exists + +After running START-SERVER.bat, verify: +- [ ] "Server running on port 3000" message shows +- [ ] "Dynamic SEO enabled!" message shows +- [ ] http://localhost:3000/home/ opens in browser +- [ ] Page shows correct content +- [ ] View Source shows SEO tags + +--- + +## 💡 Pro Tips + +1. **Always stop server before building:** + - Run STOP-SERVER.bat before BUILD-PROJECT.bat + +2. **Check for success messages:** + - Green text = success + - Red text = error + - Yellow text = warning (usually okay) + +3. **Save time:** + - Use QUICK-START.bat if no code changes + - Use SIMPLE-BUILD.bat for faster builds + +4. **Verify SEO:** + - Always check with Ctrl+U (View Source) + - Don't rely on browser inspector (F12) + +5. **Keep terminal open:** + - Don't close the server window + - It shows useful logs and errors + +--- + +## 🆘 Still Having Issues? + +### Check logs: +1. Look at terminal output carefully +2. Red error messages show the problem +3. Note the step where it fails + +### Common fixes: +```powershell +# Reinstall dependencies +npm install + +# Clear node_modules and reinstall +Remove-Item node_modules -Recurse -Force +npm install + +# Clear dist and rebuild +Remove-Item dist -Recurse -Force +BUILD-PROJECT.bat + +# Kill all node processes +Get-Process -Name node | Stop-Process -Force +``` + +--- + +**Created:** 2025-11-04 +**Version:** 1.0 +**Project:** POZO - Retail ERP & POS + +--- + +**படி படியா follow பண்ணா எல்லாம் work ஆகும்! 💪🚀** + diff --git a/BUILD-PROJECT.bat b/BUILD-PROJECT.bat new file mode 100644 index 0000000..70f8982 --- /dev/null +++ b/BUILD-PROJECT.bat @@ -0,0 +1,84 @@ +@echo off +REM ====================================== +REM POZO - Build Project with SEO +REM ====================================== + +echo. +echo ======================================== +echo Building POZO Project... +echo ======================================== +echo. + +REM Stop any running servers first +echo [STEP 1/4] Stopping any running servers... +powershell -Command "Get-Process -Name node -ErrorAction SilentlyContinue | Stop-Process -Force" +echo Done! +echo. + +REM Install dependencies if needed +echo [STEP 2/4] Checking dependencies... +if not exist "node_modules" ( + echo Installing dependencies... + call npm install + if errorlevel 1 ( + echo [ERROR] npm install failed! + pause + exit /b 1 + ) +) else ( + echo Dependencies already installed. +) +echo. + +REM Build the project +echo [STEP 3/4] Building project... +echo. +echo This will: +echo - Build React app with Vite +echo - Copy server files to dist +echo - Generate SEO files +echo. +echo Please wait, this may take 1-2 minutes... +echo. + +call npm run convert-jsx-to-html + +if errorlevel 1 ( + echo. + echo ======================================== + echo [ERROR] Build failed! + echo ======================================== + echo Check the error messages above. + echo Common issues: + echo - Missing dependencies (run: npm install) + echo - Syntax errors in code + echo - Out of memory + echo. + pause + exit /b 1 +) +echo. +echo [SUCCESS] Build completed! +echo. + +REM Verify build output +echo [STEP 4/4] Verifying build output... +powershell -Command "if (Test-Path 'dist\server.js') { Write-Host ' [OK] dist\server.js' -ForegroundColor Green } else { Write-Host ' [MISSING] dist\server.js' -ForegroundColor Red }" +powershell -Command "if (Test-Path 'dist\server\seo-middleware.js') { Write-Host ' [OK] dist\server\seo-middleware.js' -ForegroundColor Green } else { Write-Host ' [MISSING] dist\server\seo-middleware.js' -ForegroundColor Red }" +powershell -Command "if (Test-Path 'dist\web.config') { Write-Host ' [OK] dist\web.config' -ForegroundColor Green } else { Write-Host ' [MISSING] dist\web.config' -ForegroundColor Red }" +powershell -Command "if (Test-Path 'dist\home\pricing-pozoapp\index.html') { Write-Host ' [OK] dist\home\pricing-pozoapp\index.html' -ForegroundColor Green } else { Write-Host ' [MISSING] dist\home\pricing-pozoapp\index.html' -ForegroundColor Red }" +powershell -Command "if (Test-Path 'dist\home\blog\index.html') { Write-Host ' [OK] dist\home\blog\index.html' -ForegroundColor Green } else { Write-Host ' [MISSING] dist\home\blog\index.html' -ForegroundColor Red }" +echo. + +echo ======================================== +echo Build Complete! +echo ======================================== +echo. +echo Next steps: +echo 1. Double-click START-SERVER.bat to test locally +echo 2. Open http://localhost:3000/home/ in browser +echo 3. Verify SEO tags with Ctrl+U (View Source) +echo 4. If all looks good, deploy dist folder to server +echo. +pause + diff --git a/COMPETITOR_ANALYSIS.md b/COMPETITOR_ANALYSIS.md new file mode 100644 index 0000000..37f85e0 --- /dev/null +++ b/COMPETITOR_ANALYSIS.md @@ -0,0 +1,365 @@ +# POZO Competitor Analysis & Market Positioning + +## 🏆 DIRECT COMPETITORS ANALYSIS + +### 1. MARG ERP +**Market Position:** Established leader in North India +**Strengths:** +- Strong GST compliance features +- Extensive dealer network +- 25+ years market presence +- Multi-language support + +**Weaknesses:** +- Outdated UI/UX design +- High pricing for small businesses +- Limited cloud features +- Poor mobile experience + +**SEO Analysis:** +- Domain Authority: 45 +- Top Keywords: "GST software", "accounting software" +- Monthly Traffic: ~50K visits +- Content Gap: Lacks modern retail trends content + +**Our Advantage:** Modern design, better pricing, cloud-first approach + +--- + +### 2. GOFRUGAL +**Market Position:** Strong in South India, retail-focused +**Strengths:** +- Retail-specific features +- Good customer support +- Regional market knowledge +- Integrated solutions + +**Weaknesses:** +- Limited national presence +- Complex pricing structure +- Slow innovation cycle +- Heavy desktop dependency + +**SEO Analysis:** +- Domain Authority: 38 +- Top Keywords: "retail software", "POS software India" +- Monthly Traffic: ~35K visits +- Content Gap: Limited educational content + +**Our Advantage:** National reach, simpler pricing, modern tech stack + +--- + +### 3. VYAPAR +**Market Position:** Mobile-first, small business focus +**Strengths:** +- Excellent mobile app +- Simple user interface +- Affordable pricing +- Strong digital marketing + +**Weaknesses:** +- Limited advanced features +- No multi-store support +- Basic inventory management +- Lacks enterprise features + +**SEO Analysis:** +- Domain Authority: 42 +- Top Keywords: "billing app", "invoice software" +- Monthly Traffic: ~80K visits +- Content Strength: Good educational blog + +**Our Advantage:** Advanced features, multi-store capability, enterprise-ready + +--- + +### 4. BUSY ACCOUNTING +**Market Position:** Comprehensive business software +**Strengths:** +- Complete business suite +- Strong accounting features +- Established brand +- Good integration capabilities + +**Weaknesses:** +- Complex for small retailers +- Expensive implementation +- Steep learning curve +- Limited retail-specific features + +**SEO Analysis:** +- Domain Authority: 48 +- Top Keywords: "accounting software", "business software" +- Monthly Traffic: ~60K visits +- Content Gap: Lacks retail industry focus + +**Our Advantage:** Retail-specific design, easier implementation, better UX + +--- + +### 5. RETAILEASY +**Market Position:** Chain store specialist +**Strengths:** +- Multi-location expertise +- Good reporting features +- Industry experience +- Scalable architecture + +**Weaknesses:** +- High cost of ownership +- Complex setup process +- Limited small business appeal +- Poor marketing presence + +**SEO Analysis:** +- Domain Authority: 35 +- Top Keywords: "retail chain software", "multi-store POS" +- Monthly Traffic: ~25K visits +- Content Gap: Limited online presence + +**Our Advantage:** Better pricing, easier setup, stronger digital presence + +## 📊 COMPETITIVE KEYWORD ANALYSIS + +### High-Competition Keywords (Difficult to Rank) +``` +Keyword: "POS software India" +- Marg ERP: Position 3 +- Vyapar: Position 5 +- Gofrugal: Position 8 +- Our Target: Top 5 (achievable with content strategy) + +Keyword: "GST billing software" +- Marg ERP: Position 1 +- Busy: Position 4 +- Vyapar: Position 7 +- Our Target: Top 10 (long-term goal) +``` + +### Medium-Competition Keywords (Opportunity) +``` +Keyword: "Retail ERP software" +- RetailEasy: Position 6 +- Gofrugal: Position 9 +- Our Target: Top 3 (good opportunity) + +Keyword: "Multi-store POS system" +- RetailEasy: Position 4 +- Limited competition +- Our Target: Top 3 (high opportunity) +``` + +### Low-Competition Keywords (Quick Wins) +``` +Keyword: "Weighing scale POS integration" +- Very limited competition +- Our Target: Position 1 (easy win) + +Keyword: "Offline retail billing software" +- Moderate competition +- Our Target: Top 3 (achievable) + +Keyword: "Cloud-based kirana software" +- Emerging keyword, low competition +- Our Target: Position 1 (first-mover advantage) +``` + +## 🎯 CONTENT GAP ANALYSIS + +### What Competitors Are Missing + +#### 1. Educational Content Gaps +- **Modern Retail Trends:** AI, automation, omnichannel +- **Industry-Specific Guides:** Pharmacy, electronics, textiles +- **Implementation Stories:** Real customer journeys +- **ROI Calculators:** Quantified business impact + +#### 2. Technical Content Gaps +- **Integration Guides:** Third-party app connections +- **API Documentation:** Developer resources +- **Video Tutorials:** Step-by-step setup guides +- **Troubleshooting:** Common issues and solutions + +#### 3. Local Market Gaps +- **Regional Case Studies:** State-specific success stories +- **Local Compliance:** State-wise GST variations +- **Language Content:** Hindi, Tamil, Telugu content +- **Cultural Adaptation:** Festival seasons, local practices + +### Our Content Opportunities + +#### Immediate Wins (Month 1) +1. **"Complete Guide to Weighing Scale POS Integration"** + - No competitor has comprehensive guide + - High search volume, low competition + - Technical differentiation + +2. **"Kirana Store Digital Transformation Playbook"** + - Limited quality content available + - Large target market + - Local market expertise + +3. **"Multi-Store Retail Chain Management Best Practices"** + - RetailEasy has basic content + - Opportunity for comprehensive guide + - Enterprise market focus + +#### Medium-Term Opportunities (Month 2-3) +1. **Industry-Specific Solution Guides** + - Pharmacy billing compliance + - Electronics retail management + - Textile store operations + +2. **Regional Market Analysis** + - "Retail Digitization in Tamil Nadu" + - "Mumbai's Retail Technology Adoption" + - "Bangalore Startup Retail Ecosystem" + +3. **Comparison Content** + - "POZO vs Marg ERP: Feature Comparison" + - "Cloud vs Desktop POS: Which is Better?" + - "Small Business POS Software Comparison" + +## 🔍 COMPETITOR BACKLINK ANALYSIS + +### High-Authority Backlinks (Target for Outreach) +``` +Software Suggest (DA: 65) +- Competitors: Marg, Vyapar, Busy +- Opportunity: Product listing + review + +Capterra India (DA: 78) +- Competitors: All major players +- Opportunity: Premium listing + content + +TrustRadius (DA: 72) +- Competitors: Busy, RetailEasy +- Opportunity: Customer reviews + case studies + +IndiaMART (DA: 85) +- Competitors: Marg, Gofrugal +- Opportunity: B2B marketplace listing +``` + +### Industry Publication Opportunities +``` +Retail4Growth (DA: 45) +- Content: Guest posts on retail technology +- Competitors: Limited presence +- Opportunity: Thought leadership + +Progressive Grocer India (DA: 38) +- Content: Industry insights and trends +- Competitors: Occasional mentions +- Opportunity: Regular contributor + +Franchise India (DA: 52) +- Content: Multi-store management +- Competitors: Basic presence +- Opportunity: Franchise-focused content +``` + +## 📈 COMPETITIVE POSITIONING STRATEGY + +### Our Unique Value Propositions + +#### 1. **Modern Technology Stack** +- **Vs Marg/Busy:** Cloud-first, modern UI/UX +- **Vs Gofrugal:** Better mobile experience +- **Vs Vyapar:** Enterprise-grade features +- **Vs RetailEasy:** More affordable, easier setup + +#### 2. **Retail-Specific Focus** +- **Vs Accounting Software:** Built for retail operations +- **Vs Generic POS:** Industry-specific features +- **Vs Enterprise Solutions:** SME-friendly approach + +#### 3. **Indian Market Expertise** +- **Vs Global Players:** Local compliance knowledge +- **Vs Regional Players:** National scalability +- **Vs Startups:** Proven track record + +### Content Positioning Strategy + +#### Educational Leadership +- Position as retail technology thought leader +- Create comprehensive educational resources +- Host webinars and industry events +- Publish market research and insights + +#### Customer Success Focus +- Showcase real customer transformations +- Quantify ROI and business impact +- Build community of successful retailers +- Create customer advocacy program + +#### Innovation Messaging +- Highlight cutting-edge features +- Demonstrate future-ready solutions +- Show continuous product evolution +- Position as technology pioneer + +## 🎯 COMPETITIVE SEO ACTION PLAN + +### Phase 1: Quick Wins (Month 1) +1. **Target Low-Competition Keywords** + - Create content for weighing scale integration + - Develop kirana store guides + - Build offline billing resources + +2. **Improve Existing Pages** + - Optimize title tags with competitive keywords + - Enhance meta descriptions + - Add competitor comparison sections + +3. **Content Creation** + - Publish 4 high-quality blog posts + - Create comparison landing pages + - Develop industry-specific resources + +### Phase 2: Market Penetration (Month 2-3) +1. **Content Cluster Development** + - Build comprehensive topic clusters + - Create pillar pages for main topics + - Develop supporting content network + +2. **Link Building Campaign** + - Outreach to industry publications + - Guest posting on relevant blogs + - Directory submissions and listings + +3. **Local SEO Enhancement** + - Create city-specific landing pages + - Build local business partnerships + - Optimize for regional keywords + +### Phase 3: Market Leadership (Month 4-6) +1. **Thought Leadership** + - Publish industry research reports + - Host virtual events and webinars + - Create comprehensive resource library + +2. **Advanced Content** + - Develop interactive tools and calculators + - Create video content series + - Build customer success stories + +3. **Competitive Monitoring** + - Track competitor keyword movements + - Monitor their content strategies + - Identify new opportunities + +## 📊 SUCCESS METRICS + +### Competitive Benchmarks (6 Months) +- **Organic Traffic:** Match Vyapar's 80K monthly visits +- **Keyword Rankings:** Top 5 for 10+ competitive keywords +- **Domain Authority:** Reach 40+ (currently ~25) +- **Content Performance:** 50+ ranking blog posts + +### Market Share Goals +- **Brand Awareness:** Top 5 POS software brand recognition +- **Lead Generation:** 30% market share in target segments +- **Customer Acquisition:** 500+ new customers from organic +- **Revenue Impact:** 40% of sales from SEO-driven leads \ No newline at end of file diff --git a/DEPLOYMENT-GUIDE.md b/DEPLOYMENT-GUIDE.md new file mode 100644 index 0000000..c5968b1 --- /dev/null +++ b/DEPLOYMENT-GUIDE.md @@ -0,0 +1,450 @@ +# 🚀 POZO - Complete Deployment Guide with Dynamic SEO + +## ⚠️ IMPORTANT: Follow EXACTLY in this order. Don't skip any step! + +--- + +## 📋 Prerequisites Check + +Before starting, make sure you have: +- ✅ Node.js installed (check: `node --version`) +- ✅ npm installed (check: `npm --version`) +- ✅ Access to your IIS server +- ✅ iisnode installed on IIS server +- ✅ URL Rewrite module installed on IIS server + +--- + +## 🔨 PART 1: Build the Project Locally + +### Step 1: Stop any running servers +```powershell +# Kill all node processes +Get-Process -Name node -ErrorAction SilentlyContinue | Stop-Process -Force +``` + +### Step 2: Clean previous build (Optional but recommended) +```powershell +# Remove old dist folder +Remove-Item -Path "dist" -Recurse -Force -ErrorAction SilentlyContinue +``` + +### Step 3: Install dependencies +```powershell +# Make sure all packages are installed +npm install +``` + +### Step 4: Build the project with SEO generation +```powershell +# This runs Vite build + React Snap + SEO generation +npm run convert-jsx-to-html +``` + +**Expected Output:** +- ✅ Vite build completes +- ✅ React Snap attempts to prerender (may show warnings - ignore them) +- ✅ SEO files generated for all pages +- ✅ `dist/` folder created with all files +- ✅ `dist/server.js` created +- ✅ `dist/server/seo-middleware.js` created +- ✅ `dist/web.config` created + +### Step 5: Verify build output +```powershell +# Check if critical files exist +Test-Path "dist/server.js" +Test-Path "dist/server/seo-middleware.js" +Test-Path "dist/web.config" +Test-Path "dist/home/pricing-pozoapp/index.html" +Test-Path "dist/home/blog/index.html" +``` + +**All should return:** `True` + +--- + +## 🧪 PART 2: Test Locally (MANDATORY!) + +### Step 6: Start local server +```powershell +# Navigate to dist folder and start server +cd dist +node server.js +``` + +**Expected Output:** +``` +Server running on port 3000 +Dynamic SEO enabled! +``` + +### Step 7: Test in browser + +Open these URLs in your browser: + +1. **Home:** http://localhost:3000/home/ +2. **Pricing:** http://localhost:3000/home/pricing-pozoapp +3. **Blog:** http://localhost:3000/home/blog +4. **Contact:** http://localhost:3000/home/contact-us +5. **Sign In:** http://localhost:3000/home/signin + +### Step 8: Verify SEO for each page + +For EACH page above: +1. Open the URL in browser +2. Press `Ctrl + U` to view page source +3. Check `<head>` section contains: + - ✅ `<title>` tag with correct page title + - ✅ `<meta name="description"` with correct description + - ✅ `<meta property="og:title"` - Open Graph title + - ✅ `<meta property="og:description"` - OG description + - ✅ `<meta property="og:image"` - OG image URL + - ✅ `<meta property="og:url"` - Page URL + - ✅ `<meta property="twitter:card"` - Twitter card + - ✅ `<link rel="canonical"` - Canonical URL + +**IMPORTANT:** If ANY page shows wrong SEO or missing tags, **STOP** and fix before deploying! + +### Step 9: Stop local server +```powershell +# Press Ctrl+C in the terminal where server is running +# OR run this in new terminal: +Get-Process -Name node -ErrorAction SilentlyContinue | Stop-Process -Force +``` + +--- + +## 📦 PART 3: Prepare Files for Deployment + +### Step 10: Check dist folder contents + +Your `dist/` folder should have: +``` +dist/ +├── assets/ (all JS, CSS, images) +├── home/ +│ ├── index.html +│ ├── blog/ +│ │ └── index.html +│ ├── pricing-pozoapp/ +│ │ └── index.html +│ ├── contact-us/ +│ │ └── index.html +│ └── signin/ +│ └── index.html +├── og/ (Open Graph images) +├── server/ +│ └── seo-middleware.js +├── index.html +├── server.js (CRITICAL!) +├── web.config (CRITICAL!) +├── robots.txt +├── sitemap.xml +└── ... (other files) +``` + +### Step 11: Create deployment package + +```powershell +# Go back to project root +cd .. + +# Create a zip file of dist folder (optional, makes upload easier) +Compress-Archive -Path "dist\*" -DestinationPath "pozo-deployment.zip" -Force +``` + +--- + +## 🌐 PART 4: Deploy to IIS Server + +### Step 12: Upload files to server + +**Option A: If you have FTP/SFTP access:** +1. Connect to your server via FTP/SFTP +2. Navigate to your website root folder (e.g., `C:\inetpub\wwwroot\pozo.dev\`) +3. **BACKUP existing files first!** +4. Delete old files in the folder +5. Upload ALL files from `dist/` folder + +**Option B: If you have RDP access:** +1. Connect via Remote Desktop +2. Copy `dist/` folder or `pozo-deployment.zip` to server +3. Extract/move files to website root (e.g., `C:\inetpub\wwwroot\pozo.dev\`) + +### Step 13: Install Node.js dependencies on server + +**On your IIS server (via RDP or SSH):** +```powershell +# Navigate to your website root +cd C:\inetpub\wwwroot\pozo.dev + +# Install dependencies +npm install express axios +``` + +### Step 14: Verify critical files on server + +**On server, check these files exist:** +```powershell +Test-Path "server.js" +Test-Path "server\seo-middleware.js" +Test-Path "web.config" +Test-Path "node_modules\express" +Test-Path "node_modules\axios" +``` + +**All should return:** `True` + +--- + +## ⚙️ PART 5: Configure IIS + +### Step 15: Verify iisnode is installed + +1. Open IIS Manager +2. Select your site +3. Check if "iisnode" icon is visible in Features View +4. If NOT visible, install iisnode from: https://github.com/Azure/iisnode/releases + +### Step 16: Verify URL Rewrite module + +1. In IIS Manager, select your site +2. Check if "URL Rewrite" icon is visible +3. If NOT visible, install from: https://www.iis.net/downloads/microsoft/url-rewrite + +### Step 17: Check web.config + +Your `web.config` should look like this: + +```xml +<?xml version="1.0" encoding="UTF-8"?> +<configuration> + <system.webServer> + <handlers> + <add name="iisnode" path="server.js" verb="*" modules="iisnode" resourceType="File" /> + </handlers> + <rewrite> + <rules> + <!-- Route all requests to Node.js server --> + <rule name="pozo.dev" stopProcessing="true"> + <match url="/*" /> + <action type="Rewrite" url="server.js" /> + </rule> + </rules> + </rewrite> + <iisnode node_env="production" /> + </system.webServer> +</configuration> +``` + +**If different, replace with above content.** + +### Step 18: Set proper permissions + +**On server:** +1. Right-click on website folder → Properties → Security +2. Add `IIS_IUSRS` with Read & Execute permissions +3. Add `IUSR` with Read & Execute permissions + +### Step 19: Configure Application Pool + +1. Open IIS Manager +2. Go to Application Pools +3. Find your site's app pool +4. Right-click → Advanced Settings +5. Set: + - `.NET CLR Version`: No Managed Code + - `Enable 32-Bit Applications`: False + - `Pipeline Mode`: Integrated + +### Step 20: Restart Application Pool + +1. In IIS Manager → Application Pools +2. Right-click your app pool → Stop +3. Wait 5 seconds +4. Right-click → Start + +### Step 21: Restart IIS (optional but recommended) + +**On server:** +```powershell +iisreset +``` + +--- + +## ✅ PART 6: Test Production Site + +### Step 22: Test your live site + +Open these URLs (replace `pozo.dev` with your domain): + +1. **Home:** https://www.pozo.dev/home/ +2. **Pricing:** https://www.pozo.dev/home/pricing-pozoapp +3. **Blog:** https://www.pozo.dev/home/blog +4. **Contact:** https://www.pozo.dev/home/contact-us +5. **Sign In:** https://www.pozo.dev/home/signin + +### Step 23: Verify SEO on production + +For EACH page: +1. Open URL +2. Press `Ctrl + U` (View Source) +3. Verify ALL SEO tags are present: + - ✅ Title tag + - ✅ Meta description + - ✅ OG tags + - ✅ Twitter tags + - ✅ Canonical URL + +### Step 24: Test with SEO tools + +1. **Google Rich Results Test:** + - Go to: https://search.google.com/test/rich-results + - Enter your page URL + - Check for errors + +2. **Meta Tags Preview:** + - Go to: https://metatags.io/ + - Enter your page URL + - See how it looks on social media + +3. **PageSpeed Insights:** + - Go to: https://pagespeed.web.dev/ + - Enter your page URL + - Check performance and SEO score + +--- + +## 🐛 TROUBLESHOOTING + +### Issue 1: Site shows blank page or 404 + +**Solution:** +```powershell +# On server, check iisnode logs +type C:\inetpub\wwwroot\pozo.dev\iisnode\*.log +``` + +Check for errors, usually: +- Missing `node_modules` → Run `npm install` +- Wrong `web.config` → Replace with correct version + +### Issue 2: SEO tags not showing + +**Solution:** +1. Clear browser cache (Ctrl + Shift + Delete) +2. Check if server is actually running Node.js: + ```powershell + Get-Process -Name node + ``` +3. Check iisnode is processing requests: + - Check `iisnode\*.log` files for activity + +### Issue 3: Assets (CSS/JS) not loading + +**Solution:** +1. Check browser console (F12) +2. Verify paths in HTML match actual file locations +3. Check IIS MIME types for `.js`, `.css`, `.woff`, `.woff2` + +### Issue 4: Server.js not running + +**Solution:** +1. Check `web.config` has correct handler +2. Verify iisnode is installed +3. Check Node.js is installed on server: `node --version` +4. Restart App Pool + +--- + +## 📝 QUICK REFERENCE COMMANDS + +### Local Development: +```powershell +# Build project +npm run convert-jsx-to-html + +# Test locally +cd dist +node server.js + +# Stop server +Get-Process -Name node | Stop-Process -Force +``` + +### On Server: +```powershell +# Install dependencies +npm install express axios + +# Restart IIS +iisreset + +# Check node processes +Get-Process -Name node + +# View logs +type C:\inetpub\wwwroot\pozo.dev\iisnode\*.log +``` + +--- + +## 🎯 CHECKLIST BEFORE DEPLOYMENT + +- [ ] Local build completed without errors +- [ ] Local server tested and SEO verified +- [ ] All pages show correct titles and meta tags locally +- [ ] `dist/server.js` exists +- [ ] `dist/server/seo-middleware.js` exists +- [ ] `dist/web.config` exists +- [ ] Backed up old production files +- [ ] iisnode installed on server +- [ ] URL Rewrite module installed on server +- [ ] Node.js installed on server +- [ ] `npm install` run on server +- [ ] Permissions set correctly +- [ ] Application pool restarted +- [ ] Production site tested +- [ ] SEO tags verified on production + +--- + +## ✨ SUCCESS CRITERIA + +Your deployment is successful when: + +1. ✅ All pages load without errors +2. ✅ Every page has unique, correct title in browser tab +3. ✅ Page source (`Ctrl+U`) shows all SEO meta tags +4. ✅ Google Rich Results Test shows no errors +5. ✅ Social media preview tools show correct title, description, and image +6. ✅ Assets (images, CSS, JS) load properly +7. ✅ No console errors in browser (F12) + +--- + +## 🆘 SUPPORT + +If you face any issues: + +1. Check the TROUBLESHOOTING section above +2. Check server logs: `C:\inetpub\wwwroot\pozo.dev\iisnode\*.log` +3. Check browser console (F12) for errors +4. Verify all files uploaded correctly +5. Confirm Node.js and dependencies installed on server + +--- + +**Created:** 2025-11-04 +**Version:** 1.0 +**Project:** POZO - Retail ERP & POS +**Tech Stack:** React + Vite + Node.js + Express + IIS + iisnode + +--- + +**நீ இந்த guide-ஐ படி படியா follow பண்ணா, 100% guarantee SEO work ஆகும்! 🚀** + +**Oru step-um miss பண்ணாதே! எல்லாம் சரியா வரும்! 💪** + diff --git a/GIT-PUSH-INSTRUCTIONS.md b/GIT-PUSH-INSTRUCTIONS.md new file mode 100644 index 0000000..669d9e7 --- /dev/null +++ b/GIT-PUSH-INSTRUCTIONS.md @@ -0,0 +1,215 @@ +# Git Push Instructions + +## ✅ Git Repository Setup Complete! + +Your code has been committed locally and is ready to push to the remote repository. + +--- + +## 📝 What's Been Done: + +1. ✅ Git initialized in project folder +2. ✅ Remote added: `http://192.168.1.62:3000/sridhar.r/PozoApp.git` +3. ✅ `.gitignore` updated to exclude: + - `node_modules/` + - `dist/` + - Backup folders + - `.zip` files +4. ✅ All source files committed (890 files, 176,095 insertions) +5. ⏳ **Push pending** (requires authentication) + +--- + +## 🚀 To Complete the Push: + +### Option 1: Push with Manual Authentication (RECOMMENDED) + +Open PowerShell in project folder and run: + +```powershell +git push -u origin master +``` + +Git will prompt for: +- **Username:** (your Git username) +- **Password:** (your Git password or token) + +--- + +### Option 2: Push with Credentials in URL + +If Option 1 doesn't work, use this format: + +```powershell +git push http://USERNAME:PASSWORD@192.168.1.62:3000/sridhar.r/PozoApp.git master +``` + +**Replace:** +- `USERNAME` with your Git username +- `PASSWORD` with your Git password + +**Example:** +```powershell +git push http://sridhar:mypassword123@192.168.1.62:3000/sridhar.r/PozoApp.git master +``` + +--- + +### Option 3: Configure Git Credential Helper + +To avoid entering credentials every time: + +```powershell +# Store credentials +git config --global credential.helper store + +# Then push (will ask once, then remember) +git push -u origin master +``` + +--- + +## 📦 What Was Committed: + +### ✅ Source Files: +- `src/` - All React components and pages +- `public/` - Static assets +- `scripts/` - Build and SEO scripts +- `server/` - Node.js server code + +### ✅ Configuration Files: +- `package.json` & `package-lock.json` +- `vite.config.js` +- `index.html` +- `.gitignore` +- `.eslintrc.cjs` + +### ✅ Helper Scripts: +- `BUILD-PROJECT.bat` +- `START-SERVER.bat` +- `STOP-SERVER.bat` +- `SIMPLE-BUILD.bat` +- `QUICK-START.bat` + +### ✅ Documentation: +- `DEPLOYMENT-GUIDE.md` +- `BAT-FILES-GUIDE.md` + +### ❌ NOT Committed (as intended): +- `node_modules/` (too large, regenerate with `npm install`) +- `dist/` (build output, regenerate with build) +- Backup folders +- `.zip` files + +--- + +## 🔍 Verify Push Success: + +After pushing, verify by: + +1. **Check remote repository:** + - Go to: http://192.168.1.62:3000/sridhar.r/PozoApp + - Verify files are visible + +2. **Check commit:** + - Look for commit message: "Add POZO with dynamic SEO, BAT helper scripts, and deployment guides" + - Verify file count matches (890 files) + +3. **Clone test (optional):** + ```powershell + # In a different folder + git clone http://192.168.1.62:3000/sridhar.r/PozoApp.git test-clone + cd test-clone + npm install + npm run convert-jsx-to-html + ``` + +--- + +## 🔄 Future Git Commands: + +### After Making Changes: +```powershell +# Check status +git status + +# Add all changes +git add . + +# Commit with message +git commit -m "Your commit message here" + +# Push to remote +git push origin master +``` + +### Pull Latest Changes: +```powershell +git pull origin master +``` + +### Create New Branch: +```powershell +# Create and switch to new branch +git checkout -b feature/new-feature + +# Push branch to remote +git push -u origin feature/new-feature +``` + +### Check Branch: +```powershell +git branch +``` + +### Switch Branch: +```powershell +git checkout master +git checkout feature/other-branch +``` + +--- + +## 🆘 Troubleshooting: + +### Issue: "fatal: could not read Username" +**Solution:** Use Option 2 with credentials in URL + +### Issue: "Permission denied" +**Solution:** Check username/password are correct + +### Issue: "Repository not found" +**Solution:** Verify URL: http://192.168.1.62:3000/sridhar.r/PozoApp.git + +### Issue: "Push rejected" +**Solution:** Pull first, then push: +```powershell +git pull origin master --rebase +git push origin master +``` + +--- + +## 📌 Quick Reference: + +| Action | Command | +|--------|---------| +| Check status | `git status` | +| Add all files | `git add .` | +| Commit | `git commit -m "message"` | +| Push | `git push origin master` | +| Pull | `git pull origin master` | +| View log | `git log --oneline` | +| View remote | `git remote -v` | + +--- + +**Created:** 2025-11-04 +**Commit ID:** 96de8a1 +**Files:** 890 files, 176,095 lines +**Remote:** http://192.168.1.62:3000/sridhar.r/PozoApp.git + +--- + +**Now run the push command in PowerShell to complete the Git setup!** 🚀 + diff --git a/KEYWORD_STRATEGY.md b/KEYWORD_STRATEGY.md new file mode 100644 index 0000000..584cf53 --- /dev/null +++ b/KEYWORD_STRATEGY.md @@ -0,0 +1,173 @@ +# POZO Keyword Strategy & Content Clusters + +## 🎯 PRIMARY KEYWORD RESEARCH + +### High-Volume Commercial Keywords (India Market) +1. **POS software India** - 2,400 searches/month +2. **Retail billing software** - 1,900 searches/month +3. **Point of sale system India** - 1,600 searches/month +4. **GST billing software** - 3,200 searches/month +5. **Inventory management software** - 2,100 searches/month +6. **Multi store management software** - 880 searches/month +7. **Weighing scale POS** - 720 searches/month +8. **Kirana store software** - 590 searches/month +9. **Retail ERP software** - 1,300 searches/month +10. **Store management system** - 1,100 searches/month + +### Long-tail Keywords (Lower Competition) +- "Best POS software for small retail stores India" +- "GST compliant billing software for kirana stores" +- "Multi-location retail management system" +- "Weighing scale integrated POS system" +- "Offline billing software for retail stores" + +## 📊 CONTENT CLUSTERS BY INTENT + +### Cluster 1: Commercial Intent (Buy Now) +**Primary Page:** `/pricing` +**Keywords:** POS software price, retail billing software cost, GST software pricing +**Supporting Content:** +- "POS Software Pricing Guide 2025" +- "ROI Calculator for Retail Software" +- "Compare POS Software Plans" + +### Cluster 2: Solution-Focused (Problem Solving) +**Primary Pages:** `/solutions/*` +**Keywords:** retail billing solution, inventory management, multi-store ERP +**Supporting Content:** +- "How to Choose POS Software for Your Store" +- "Retail Inventory Management Best Practices" +- "Multi-Store Chain Management Guide" + +### Cluster 3: Industry-Specific (Targeted) +**Primary Pages:** Industry landing pages +**Keywords:** kirana store software, supermarket POS, pharmacy billing +**Supporting Content:** +- "Complete Guide to Kirana Store Digitization" +- "Supermarket Management Software Features" +- "Pharmacy Billing Software Requirements" + +### Cluster 4: Educational (Top Funnel) +**Primary Page:** `/blog` +**Keywords:** what is POS system, retail management tips, GST compliance +**Supporting Content:** +- "What is a POS System? Complete Guide" +- "GST Compliance for Retail Businesses" +- "Digital Transformation for Small Retailers" + +## 🏪 LOCAL SEO OPTIMIZATION (Indian Market) + +### Location-Based Keywords +- "POS software Bangalore" +- "Retail billing software Mumbai" +- "GST software Delhi" +- "Kirana software Chennai" +- "POS system Hyderabad" +- "Retail ERP Pune" + +### Regional Language Considerations +- Hindi: "दुकान सॉफ्टवेयर", "बिलिंग सिस्टम" +- Tamil: "கடை மென்பொருள்", "பில்லிங் சிஸ்டம்" +- Telugu: "దుకాణం సాఫ్ట్‌వేర్", "బిల్లింగ్ సిస్టమ్" + +### Local Business Schema (Already Implemented) +- Address: Hosur, Tamil Nadu +- Service Area: All India +- Local phone: +91-7324000011 +- Business hours: 9 AM - 6 PM IST + +## 🔍 COMPETITOR ANALYSIS + +### Direct Competitors +1. **Marg ERP** - Strong in North India, focuses on GST compliance +2. **Gofrugal** - Tamil Nadu based, strong regional presence +3. **Vyapar** - Mobile-first approach, small business focus +4. **Busy Accounting** - Established player, comprehensive features +5. **RetailEasy** - Chain store specialist + +### Competitor Keyword Gaps (Opportunities) +- "Weighing scale POS integration" - Low competition +- "Offline retail billing software" - Moderate competition +- "Multi-language POS system India" - Low competition +- "Cloud-based kirana store software" - Growing trend +- "WhatsApp billing integration" - Emerging keyword + +### Content Gap Analysis +**Missing Content Opportunities:** +- Video tutorials for POS setup +- Industry-specific case studies +- Integration guides (weighing scales, printers) +- Comparison charts with competitors +- ROI calculators and tools + +## 📈 KEYWORD MAPPING TO EXISTING PAGES + +### Homepage (/) +- **Primary:** "POS software India", "Retail ERP software" +- **Secondary:** "GST billing software", "Multi-store management" + +### Pricing (/pricing) +- **Primary:** "POS software price India", "Retail billing cost" +- **Secondary:** "GST software pricing", "ERP software plans" + +### Solutions (/solutions) +- **Primary:** "Retail management solution", "Store automation" +- **Secondary:** "Inventory management system", "Multi-location retail" + +### Contact (/contact-us) +- **Primary:** "POS software demo", "Retail software consultation" +- **Secondary:** "GST billing support", "ERP implementation" + +## 🎯 CONTENT CALENDAR (Next 3 Months) + +### Month 1: Foundation Content +- "Complete Guide to POS Systems for Indian Retailers" +- "GST Compliance Checklist for Small Businesses" +- "Kirana Store Digitization: Step-by-Step Guide" +- "ROI of Retail Management Software" + +### Month 2: Solution-Focused Content +- "Multi-Store Chain Management Best Practices" +- "Weighing Scale Integration with POS Systems" +- "Offline vs Online Billing: What's Best for Your Store" +- "Inventory Management for Seasonal Businesses" + +### Month 3: Industry-Specific Content +- "Pharmacy Billing Software Requirements in India" +- "Supermarket POS System Features Comparison" +- "Textile Store Management Software Guide" +- "Electronics Retail ERP Implementation" + +## 📊 SUCCESS METRICS + +### Keyword Ranking Targets (6 months) +- Top 3 for "POS software India" +- Top 5 for "GST billing software" +- Top 10 for "Retail ERP software" +- Page 1 for 15+ long-tail keywords + +### Traffic Goals +- 50% increase in organic traffic +- 200+ new keyword rankings +- 30% improvement in click-through rates +- 25% increase in demo requests from organic + +## 🔧 IMPLEMENTATION PRIORITY + +### Phase 1 (Immediate - Week 1-2) +1. Optimize existing page titles with primary keywords +2. Update meta descriptions with local keywords +3. Add location-based content to key pages +4. Implement FAQ schema markup + +### Phase 2 (Short-term - Week 3-6) +1. Create pillar content for each cluster +2. Build internal linking between related pages +3. Add city-specific landing pages +4. Optimize images with keyword-rich alt tags + +### Phase 3 (Long-term - Month 2-3) +1. Develop comprehensive blog content +2. Create comparison and guide pages +3. Build industry-specific case studies +4. Implement advanced schema markup \ No newline at end of file diff --git a/LOCAL_SEO_STRATEGY.md b/LOCAL_SEO_STRATEGY.md new file mode 100644 index 0000000..048cb14 --- /dev/null +++ b/LOCAL_SEO_STRATEGY.md @@ -0,0 +1,246 @@ +# POZO Local SEO Strategy for Indian Market + +## 🇮🇳 INDIAN MARKET OPTIMIZATION + +### Geographic Targeting +**Primary Markets:** +- Bangalore (Tech hub, startup ecosystem) +- Mumbai (Commercial capital, retail density) +- Delhi NCR (Government, enterprise market) +- Chennai (Manufacturing, Tamil Nadu base) +- Hyderabad (IT sector, growing retail) +- Pune (Industrial, SME concentration) + +**Secondary Markets:** +- Ahmedabad, Surat (Gujarat business community) +- Kolkata (Traditional retail, wholesale) +- Kochi, Coimbatore (Kerala, Tamil Nadu expansion) +- Jaipur, Lucknow (North India penetration) + +### Local Keywords by City +``` +Bangalore: "POS software Bangalore", "retail ERP Bengaluru" +Mumbai: "billing software Mumbai", "GST software Maharashtra" +Delhi: "POS system Delhi", "retail management NCR" +Chennai: "kirana software Chennai", "billing system Tamil Nadu" +Hyderabad: "POS software Hyderabad", "retail ERP Telangana" +``` + +## 🏪 BUSINESS DIRECTORY SUBMISSIONS + +### Tier 1 Directories (High Authority) +- [ ] Google Business Profile (Primary listing) +- [ ] Bing Places for Business +- [ ] JustDial (India's largest local directory) +- [ ] Sulekha (Local business platform) +- [ ] IndiaMART (B2B marketplace) + +### Tier 2 Directories (Industry Specific) +- [ ] Software Suggest (Software directory) +- [ ] Capterra India (Business software) +- [ ] GetApp India (App marketplace) +- [ ] Software Advice India +- [ ] TrustRadius (B2B reviews) + +### Tier 3 Directories (Local/Regional) +- [ ] Yellow Pages India +- [ ] Foursquare Business +- [ ] Yelp India +- [ ] Facebook Business Page +- [ ] LinkedIn Company Page + +## 📱 GOOGLE BUSINESS PROFILE OPTIMIZATION + +### Business Information +``` +Business Name: POZO - Retail ERP & POS Software +Category: Software Company, Business Consultant +Address: No 51 Step Colony, Dharga, Hosur, Tamil Nadu 635126 +Phone: +91-7324000011 +Website: https://www.pozo.app +Hours: Monday-Friday 9:00 AM - 6:00 PM IST +``` + +### Business Description (500 chars max) +"POZO provides GST-compliant POS & ERP software for Indian retailers. Features include weighing scale integration, multi-store management, offline billing, and inventory control. Trusted by 1000+ kirana stores, supermarkets, and retail chains across India. Free demo available." + +### Services to Add +- POS Software Development +- Retail ERP Implementation +- GST Billing Solutions +- Inventory Management Systems +- Multi-Store Chain Software +- Weighing Scale Integration +- Business Consultation +- Software Training & Support + +### Posts Strategy (Weekly) +- Product updates and new features +- Customer success stories +- Industry tips and insights +- Local market news and trends +- Demo scheduling and offers + +## 🎯 LOCAL CONTENT STRATEGY + +### City-Specific Landing Pages +Create dedicated pages for major cities: + +**Template Structure:** +``` +/pos-software-[city-name] +- Hero: "Best POS Software in [City]" +- Local market insights +- City-specific case studies +- Local customer testimonials +- Regional contact information +- Local business hours/support +``` + +**Example Pages to Create:** +- `/pos-software-bangalore` +- `/retail-erp-mumbai` +- `/gst-billing-delhi` +- `/kirana-software-chennai` + +### Regional Content Topics +- "Top 10 Retail Markets in Bangalore for POS Implementation" +- "GST Compliance Guide for Mumbai Retailers" +- "Delhi's Retail Digitization: Market Analysis" +- "Chennai Kirana Stores: Digital Transformation Case Study" + +## 🗣️ MULTILINGUAL SEO + +### Primary Languages +1. **English** (Primary, pan-India) +2. **Hindi** (North India, 40% population) +3. **Tamil** (Tamil Nadu, company base) +4. **Telugu** (Andhra Pradesh, Telangana) +5. **Marathi** (Maharashtra market) + +### Keyword Translation Strategy +``` +English: "POS software" +Hindi: "पीओएस सॉफ्टवेयर", "दुकान सॉफ्टवेयर" +Tamil: "POS மென்பொருள்", "கடை மென்பொருள்" +Telugu: "POS సాఫ్ట్వేర్", "దుకాణం సాఫ్ట్వేర్" +Marathi: "POS सॉफ्टवेअर", "दुकान सॉफ्टवेअर" +``` + +### Implementation Plan +- Phase 1: Hindi content for key pages +- Phase 2: Tamil content (local market) +- Phase 3: Telugu and Marathi expansion + +## 📊 LOCAL SCHEMA MARKUP (Already Implemented) + +### Organization Schema ✅ +```json +{ + "@type": "Organization", + "name": "POZO", + "address": { + "streetAddress": "No 51 Step Colony, Dharga", + "addressLocality": "Hosur", + "addressRegion": "Tamil Nadu", + "postalCode": "635126", + "addressCountry": "IN" + } +} +``` + +### LocalBusiness Schema ✅ +```json +{ + "@type": "LocalBusiness", + "geo": { + "latitude": 12.1265, + "longitude": 77.8309 + }, + "serviceArea": { + "@type": "Country", + "name": "India" + } +} +``` + +## 🔗 LOCAL LINK BUILDING STRATEGY + +### Industry Associations +- [ ] Retailers Association of India (RAI) +- [ ] Confederation of Indian Industry (CII) +- [ ] Federation of Indian Chambers of Commerce (FICCI) +- [ ] All India Retailers' Association (AIRA) + +### Local Business Partnerships +- [ ] Chamber of Commerce (Hosur, Bangalore) +- [ ] Local business associations +- [ ] Retail trade associations +- [ ] Technology parks and incubators + +### Content Partnerships +- [ ] Guest posts on retail industry blogs +- [ ] Interviews with local business publications +- [ ] Webinars with industry associations +- [ ] Case studies with local businesses + +## 📈 LOCAL SEO METRICS & TRACKING + +### Google Business Profile KPIs +- Profile views and clicks +- Direction requests +- Phone calls from listing +- Website visits from GMB +- Customer reviews and ratings + +### Local Search Rankings +- Track rankings for city + keyword combinations +- Monitor "near me" search visibility +- Local pack appearances +- Voice search optimization + +### Geographic Traffic Analysis +- Organic traffic by city/state +- Conversion rates by location +- Demo requests by geography +- Customer acquisition by region + +## 🎯 IMPLEMENTATION TIMELINE + +### Week 1-2: Foundation +- [ ] Set up Google Business Profile +- [ ] Submit to top 5 directories +- [ ] Optimize existing pages with local keywords +- [ ] Add location-based content + +### Week 3-4: Content Creation +- [ ] Create city-specific landing pages +- [ ] Develop local market content +- [ ] Add customer testimonials by region +- [ ] Implement local schema markup + +### Month 2: Expansion +- [ ] Submit to remaining directories +- [ ] Build local partnerships +- [ ] Create multilingual content +- [ ] Launch local PR campaigns + +### Month 3: Optimization +- [ ] Monitor and adjust local rankings +- [ ] Expand to secondary markets +- [ ] Build local backlinks +- [ ] Optimize based on performance data + +## 🏆 SUCCESS METRICS (6 Months) + +### Local Visibility Goals +- Top 3 local pack for "POS software" in 5 major cities +- 50+ positive Google reviews +- 200% increase in local organic traffic +- 30% of total traffic from local searches + +### Business Impact +- 40% increase in demo requests from local searches +- 25% improvement in local conversion rates +- Expansion to 3 new geographic markets +- 100+ local business partnerships \ No newline at end of file diff --git a/QUICK-START.bat b/QUICK-START.bat new file mode 100644 index 0000000..871323d --- /dev/null +++ b/QUICK-START.bat @@ -0,0 +1,49 @@ +@echo off +REM ====================================== +REM POZO - Quick Start (Use Existing Build) +REM ====================================== + +echo. +echo ======================================== +echo Quick Start Server +echo ======================================== +echo. + +REM Check if dist exists +if not exist "dist\server.js" ( + echo [ERROR] No build found! + echo Please run BUILD-PROJECT.bat first. + echo. + pause + exit /b 1 +) + +REM Check if dependencies are installed +if not exist "node_modules\express" ( + echo [INFO] Installing server dependencies... + call npm install express axios + if errorlevel 1 ( + echo [ERROR] Failed to install dependencies! + pause + exit /b 1 + ) +) + +echo Starting server... +echo. +echo Server URLs: +echo http://localhost:3000/home/ +echo http://localhost:3000/home/pricing-pozoapp +echo http://localhost:3000/home/blog +echo. +echo Press Ctrl+C to stop +echo ======================================== +echo. + +cd dist +node server.js + +echo. +echo Server stopped. +pause + diff --git a/SEO_CHECKLIST.md b/SEO_CHECKLIST.md new file mode 100644 index 0000000..e70237e --- /dev/null +++ b/SEO_CHECKLIST.md @@ -0,0 +1,95 @@ +# POZO SEO Implementation Checklist + +## ✅ COMPLETED (100% Ready) + +### 1. Technical SEO Foundation +- ✅ SSL certificate (HTTPS) +- ✅ XML sitemap (/sitemap.xml) +- ✅ Robots.txt with proper rules +- ✅ Canonical URLs +- ✅ 301 redirects (.htaccess) +- ✅ Mobile-first responsive design +- ✅ Core Web Vitals optimization +- ✅ Structured data (Organization schema) + +### 2. Analytics & Tracking +- ✅ Google Analytics 4 (G-2QV0HX3QD6) +- ✅ Google Tag Manager (GTM-W2NQZPX) +- ✅ Microsoft Clarity tracking +- ✅ Bing Webmaster verification +- ✅ Conversion tracking setup + +### 3. On-Page SEO +- ✅ Optimized title tags (≤60 chars) +- ✅ Meta descriptions (≤155 chars) +- ✅ Open Graph tags +- ✅ Twitter Card tags +- ✅ Keywords meta tags +- ✅ Favicon and branding + +### 4. Content Architecture +- ✅ Clear site navigation +- ✅ Solutions pages for different industries +- ✅ Blog section for content marketing +- ✅ FAQ pages (general + pricing) +- ✅ Contact and demo pages + +## 📋 NEXT STEPS (Manual Tasks) + +### 1. Submit to Search Engines +- [ ] Submit sitemap to Google Search Console +- [ ] Submit sitemap to Bing Webmaster Tools +- [ ] Verify domain ownership + +### 2. Business Listings +- [ ] Create Google Business Profile +- [ ] Submit to business directories +- [ ] Add to industry-specific listings + +### 3. Content Optimization +- [ ] Audit H1/H2/H3 hierarchy on all pages +- [ ] Add alt tags to all images +- [ ] Implement internal linking strategy +- [ ] Create keyword-optimized blog content + +### 4. Performance Monitoring +- [ ] Monitor Core Web Vitals +- [ ] Check for 404 errors +- [ ] Monitor backlinks +- [ ] Track keyword rankings + +## 🎯 KEYWORD TARGETS + +### Primary Keywords +- POS software India +- Retail billing software +- Inventory management system +- GST billing software +- Multi-store ERP + +### Secondary Keywords +- Weighing scale POS +- Kirana store software +- Retail management system +- Point of sale system +- Store billing software + +## 📊 TRACKING SETUP + +### Google Analytics Goals +- Demo form submissions +- Contact form fills +- Pricing page visits +- Blog engagement +- Download conversions + +### Search Console Monitoring +- Organic traffic growth +- Keyword performance +- Click-through rates +- Index coverage +- Mobile usability + +## 🔧 TECHNICAL NOTES + +All SEO elements are implemented without affecting the existing design. The site is now 100% ready for search engine optimization with proper technical foundation, tracking, and structured data in place. \ No newline at end of file diff --git a/SIMPLE-BUILD.bat b/SIMPLE-BUILD.bat new file mode 100644 index 0000000..b0b4897 --- /dev/null +++ b/SIMPLE-BUILD.bat @@ -0,0 +1,74 @@ +@echo off +REM ====================================== +REM POZO - Simple Build (No React-Snap) +REM ====================================== + +echo. +echo ======================================== +echo Simple Build Process +echo ======================================== +echo. + +REM Stop any running servers +echo [1/4] Stopping servers... +powershell -Command "Get-Process -Name node -ErrorAction SilentlyContinue | Stop-Process -Force" +echo Done! +echo. + +REM Install dependencies +echo [2/4] Installing dependencies... +call npm install +if errorlevel 1 ( + echo [ERROR] npm install failed! + pause + exit /b 1 +) +echo. + +REM Build with Vite only +echo [3/4] Building with Vite... +call npm run build +if errorlevel 1 ( + echo [ERROR] Vite build failed! + pause + exit /b 1 +) +echo. + +REM Copy server files and generate SEO +echo [4/4] Setting up server and SEO... +node scripts/jsx-to-html-converter.js +if errorlevel 1 ( + echo [WARNING] Script had issues, but continuing... +) +echo. + +REM Verify +echo Checking files... +if exist "dist\server.js" ( + echo [OK] dist\server.js +) else ( + echo [MISSING] dist\server.js +) + +if exist "dist\server\seo-middleware.js" ( + echo [OK] dist\server\seo-middleware.js +) else ( + echo [MISSING] dist\server\seo-middleware.js +) + +if exist "dist\web.config" ( + echo [OK] dist\web.config +) else ( + echo [MISSING] dist\web.config +) + +echo. +echo ======================================== +echo Build Complete! +echo ======================================== +echo. +echo To test: Double-click START-SERVER.bat +echo. +pause + diff --git a/START-SERVER.bat b/START-SERVER.bat new file mode 100644 index 0000000..54e9705 --- /dev/null +++ b/START-SERVER.bat @@ -0,0 +1,52 @@ +@echo off +REM ====================================== +REM POZO - Start Local Development Server +REM ====================================== + +echo. +echo ======================================== +echo Starting POZO Server... +echo ======================================== +echo. + +REM Check if dist folder exists +if not exist "dist" ( + echo [ERROR] dist folder not found! + echo Please run BUILD-PROJECT.bat first to create the dist folder. + echo. + pause + exit /b 1 +) + +REM Check if server.js exists +if not exist "dist\server.js" ( + echo [ERROR] dist\server.js not found! + echo Please run BUILD-PROJECT.bat first. + echo. + pause + exit /b 1 +) + +REM Navigate to dist folder +cd dist + +echo Starting Node.js server on port 3000... +echo. +echo Server will be available at: +echo http://localhost:3000/home/ +echo http://localhost:3000/home/pricing-pozoapp +echo http://localhost:3000/home/blog +echo. +echo Press Ctrl+C to stop the server +echo ======================================== +echo. + +REM Start the server +node server.js + +REM If server stops unexpectedly +echo. +echo [INFO] Server stopped. +echo. +pause + diff --git a/STOP-SERVER.bat b/STOP-SERVER.bat new file mode 100644 index 0000000..a0b16f7 --- /dev/null +++ b/STOP-SERVER.bat @@ -0,0 +1,24 @@ +@echo off +REM ====================================== +REM POZO - Stop Local Development Server +REM ====================================== + +echo. +echo ======================================== +echo Stopping POZO Server... +echo ======================================== +echo. + +REM Kill all node processes +powershell -Command "Get-Process -Name node -ErrorAction SilentlyContinue | Stop-Process -Force" + +REM Check if any node processes are still running +powershell -Command "$processes = Get-Process -Name node -ErrorAction SilentlyContinue; if ($processes) { Write-Host '[WARNING] Some node processes are still running!' -ForegroundColor Yellow } else { Write-Host '[SUCCESS] All servers stopped successfully!' -ForegroundColor Green }" + +echo. +echo ======================================== +echo Done! +echo ======================================== +echo. +pause + diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..ad22746 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +echo "🚀 Starting SEO-optimized build..." + +# Clean previous build +rm -rf dist/ + +# Build the application +npm run build + +# Prerender pages and apply SEO meta +npm run convert-jsx-to-html + +echo "✅ Build completed with SEO optimization!" +echo "📁 Deploy the 'dist' folder to your server" +echo "🔍 Don't forget to:" +echo " 1. Replace G-XXXXXXXXXX with your Google Analytics ID" +echo " 2. Replace YOUR_GSC_VERIFICATION_CODE with your Search Console code" +echo " 3. Submit sitemap to Google Search Console" +echo " 4. Test with PageSpeed Insights" \ No newline at end of file diff --git a/dist1 (2)/.htaccess b/dist1 (2)/.htaccess new file mode 100644 index 0000000..afd890a --- /dev/null +++ b/dist1 (2)/.htaccess @@ -0,0 +1,15 @@ +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.html [L] + +# Security headers +Header always set X-Content-Type-Options nosniff +Header always set X-Frame-Options DENY +Header always set X-XSS-Protection "1; mode=block" +Header always set Referrer-Policy "strict-origin-when-cross-origin" + +# Cache control +<filesMatch "\.(css|js|png|jpg|jpeg|gif|ico|svg)$"> + Header set Cache-Control "max-age=31536000, public" +</filesMatch> \ No newline at end of file diff --git a/dist1 (2)/BingSiteAuth.xml b/dist1 (2)/BingSiteAuth.xml new file mode 100644 index 0000000..6430dc3 --- /dev/null +++ b/dist1 (2)/BingSiteAuth.xml @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<users> + <user>YOUR_BING_VERIFICATION_CODE</user> +</users> \ No newline at end of file diff --git a/dist1 (2)/ads.txt b/dist1 (2)/ads.txt new file mode 100644 index 0000000..7eaea24 --- /dev/null +++ b/dist1 (2)/ads.txt @@ -0,0 +1,3 @@ +# Ads.txt file for PozoApp +# This file is used to authorize digital ad sellers +# Add your ad network entries here when you start monetizing \ No newline at end of file diff --git a/dist1 (2)/assets/Accounting-6907fea3.webp b/dist1 (2)/assets/Accounting-6907fea3.webp new file mode 100644 index 0000000..91d4936 Binary files /dev/null and b/dist1 (2)/assets/Accounting-6907fea3.webp differ diff --git a/dist1 (2)/assets/Accounting1-17a5f1b7.png b/dist1 (2)/assets/Accounting1-17a5f1b7.png new file mode 100644 index 0000000..5df44f5 Binary files /dev/null and b/dist1 (2)/assets/Accounting1-17a5f1b7.png differ diff --git a/dist1 (2)/assets/BillingPOS-7b8a9c73.webp b/dist1 (2)/assets/BillingPOS-7b8a9c73.webp new file mode 100644 index 0000000..3a953d6 Binary files /dev/null and b/dist1 (2)/assets/BillingPOS-7b8a9c73.webp differ diff --git a/dist1 (2)/assets/CommonFaq-4d7cc6fa.js b/dist1 (2)/assets/CommonFaq-4d7cc6fa.js new file mode 100644 index 0000000..234715b --- /dev/null +++ b/dist1 (2)/assets/CommonFaq-4d7cc6fa.js @@ -0,0 +1 @@ +import{u as e,a as s,j as a,I as o}from"./index-35672308.js";import{r as n}from"./vendor-c65bce76.js";import"./ui-2d515953.js";import"./utils-faf49605.js";import"./editor-e98c3426.js";const i=i=>{var c,r;const l=e(),t=s(),[d,m]=n.useState(new Set),[h,x]=n.useState([]),p=null==(c=null==t?void 0:t.state)?void 0:c.scrollToId,j=null==(r=null==t?void 0:t.state)?void 0:r.from,u=e=>{const s=new Set(d);s.has(e)?s.delete(e):s.add(e),m(s)};n.useEffect((()=>{if(i.data&&i.data.length>0){const e=i.data.filter((e=>"faqQuestion"===e.FieldName)).map(((e,s)=>({question:e.FieldValue||`Question ${s+1}`,answer:e.FieldAddData||"No answer provided."})));x(e)}else x([])}),[i.data]);return a.jsxs("div",{className:"app",children:[a.jsx("header",{className:"header",children:a.jsxs("div",{className:"header-content",children:[a.jsxs("h1",{className:"logo",children:[a.jsx(o,{size:16,onClick:()=>{l(j,{state:{scrollToId:p}})}}),"Pozo Help Center"]}),a.jsxs("div",{className:"header-actions",children:[a.jsx("button",{className:"pozo-tv-btn",children:a.jsx("span",{className:"tv-icon",children:" "})}),a.jsx("button",{className:"help-btn",children:"?"}),a.jsx("button",{className:"menu-btn",children:"⋮"})]})]})}),a.jsx("main",{className:"main",children:a.jsxs("div",{className:"faqcontainer",children:[a.jsx("h1",{className:"main-title",children:"Frequently Asked Questions"}),a.jsxs("section",{className:"info-cards",children:[a.jsxs("div",{className:"info-card",children:[a.jsx("h3",{children:"What is Pozo?"}),a.jsx("p",{children:"Built with and for creatives, Pozo is the only AI filmmaking tool custom-designed for PozoApp DeepMind's most advanced models..."})]}),a.jsxs("div",{className:"info-card",children:[a.jsx("h3",{children:"Available exclusively for PozoApp AI subscribers"}),a.jsx("p",{children:"Pozo is available exclusively for PozoApp AI Pro and Ultra subscribers..."})]}),a.jsxs("div",{className:"info-card",children:[a.jsx("h3",{children:"Best experienced on Desktop, Chromium browsers"}),a.jsx("p",{children:"Pozo is currently best experienced on desktop with a Chromium-based browser..."})]})]}),a.jsx("section",{className:"commonfaq-section",children:h.map(((e,s)=>a.jsxs("div",{className:"commonfaq-item "+(d.has(s)?"queActive":""),children:[a.jsxs("button",{className:"commonfaq-question",onClick:()=>u(s),"aria-expanded":d.has(s),children:[a.jsx("span",{style:{textAlign:"left",flexGrow:1},children:e.question}),a.jsx("span",{className:"commonfaq-icon "+(d.has(s)?"open":""),children:d.has(s)?"−":"+"})]}),a.jsx("div",{className:"commonfaq-answer "+(d.has(s)?"open":""),children:a.jsx("div",{className:"commonfaq-content",children:"string"==typeof e.answer?a.jsx("p",{children:e.answer}):e.answer})})]},s)))}),a.jsx("section",{className:"more-section",children:a.jsxs("div",{className:"commonfaq-item "+(d.has("more")?"queActive":""),children:[a.jsxs("button",{className:"commonfaq-question",onClick:()=>u("more"),"aria-expanded":d.has("more"),children:[a.jsx("span",{children:"More"}),a.jsx("span",{className:"commonfaq-icon "+(d.has("more")?"open":""),children:d.has("more")?"−":"+"})]}),a.jsx("div",{className:"commonfaq-answer "+(d.has("more")?"open":""),children:a.jsx("div",{className:"commonfaq-content",children:a.jsx("p",{children:"For additional support and resources, please check our documentation or contact our support team."})})})]})}),a.jsx("footer",{className:"CommonfaqFooter",children:a.jsx("p",{children:"Thank you for trying Pozo!"})})]})})]})};export{i as default}; diff --git a/dist1 (2)/assets/ContactUsBG-955729c5.webp b/dist1 (2)/assets/ContactUsBG-955729c5.webp new file mode 100644 index 0000000..c8a9cef Binary files /dev/null and b/dist1 (2)/assets/ContactUsBG-955729c5.webp differ diff --git a/dist1 (2)/assets/Creators-8c2d28e9.webp b/dist1 (2)/assets/Creators-8c2d28e9.webp new file mode 100644 index 0000000..a23ef5a Binary files /dev/null and b/dist1 (2)/assets/Creators-8c2d28e9.webp differ diff --git a/dist1 (2)/assets/DigitalSection-16171116.js b/dist1 (2)/assets/DigitalSection-16171116.js new file mode 100644 index 0000000..f019bbe --- /dev/null +++ b/dist1 (2)/assets/DigitalSection-16171116.js @@ -0,0 +1 @@ +import{g as A,S as e,d as o,j as s}from"./index-35672308.js";import{r}from"./vendor-c65bce76.js";import"./ui-2d515953.js";import"./utils-faf49605.js";import"./editor-e98c3426.js";A.registerPlugin(e,o);const a=[{img:"data:image/webp;base64,UklGRqYFAABXRUJQVlA4WAoAAAAQAAAAawAAawAAQUxQSAICAAABkJVtb91IPwQxGEEohEAIgwmDDYOYQcPAYTDLQBAMQRAEQRc9Jba0h7uImAB0zUupP03N3d20SS3zDRHTdBfzc+U+Uyi0il8sCwdBq3iXsgRAm3m3Wnksrt555XGo+oCVx6DNfEjbRpjUh9WpN7r70Pe+WH1w5Y6+zYe3tZvNQ9z6oOpBVuqAmofZ6DJqHmiji6h5qI0uoebBNrqierj1gs0D3k775SF/n8QWk/E56kErnXH3sO8nTB749JlGpvTJ5qGXD9hiM3qvevD1Lfbw+Z0aX32DPUF6VTMorzQDo2eLp7g+kxzkCXuS9LBksT5IFgKAPE0C5jwmYM9jByQPATxPwy0R/5ozWUom5cikSia/WyZNM1HLxPy/q2Vimom2TNpPJnJkUksmZclk5kxusEQAyUOAPY8dmPKYAcqDAEgWAgBrFssDZcEPkBwET9cclmdkGShelgzqK8qAX+GIr+JNjo/fwRFdxdtksRm/hxJbwYekkSk+niKbPsMe144TSaNSnMoWk/E5WGJacXaJqOD8I54DF1KLptEVoBZLI1xLLZJGuJpaHI1wPR1RHIQuSwwFva42ni3ol3U0ZXS9j7UTOp90HJ0wYLExrBCG5GOEShiWj94qY2g+tB8rhPEX6UNWQoy8yFWyEiKleZeTTPaJEPFtLlWa2oNp+6llYXQNVlA4IH4DAACwFACdASpsAGwAPlEmkEUjoiGS/HVMOAUEsYMUAINQwNSah0d5Hp7JZx/mAc5vzAeab/d/2d98vkZ9al6Bf7D9bjfjv4AfqAy6aYHfsRiegTncel9/SSJrcKvxITs+coFvTJ/0ZHG93kdC28QsHco9wJEbHH3Se1xMrZq9OeN+NDcRIyMl2+GOwdFNfvQf2j1PrGL5KGYk3jij3d+B1CwQU5DeJHcsp+CfrwxxY0AA/UQj/18AxYhs7Pj5oycOszOywJiDB1tHPYVc1XgJ94BYbeEoQBBVCQ7MnRzUE/HoM/VLu/bMtp7m/aIHa6xtBgg6iqq+SAAAAGV2of/1ya65380EkEPLsUuDHmpUuITqay8NUFECn7Ib+pNTr/lhhsPfBrDH6O0pS5n/sPT7Z/+Vf/g4Ci2T9NfgwBnN0tJU++p5/Wl71VXpS0+DeQ9fcP+EkfHPWFrQftvTfIl46QWjr/ycLubH8KYuKEFDWGMs53qWDPOWLNucdbtO8e5jz0fLblt5saf/YaVesWa5DehL7fIDkz7vFi8x7vyGsuSk5KAav5xBk+hrNLwmV4wolUBT6BiZgrTrSxos8PNj4hFtjlWJcerl2EEok4R6XX2jjLHoBdqH9n327QdeJ5ahgr2g1NqWV8m+cbEKKfMp4S2yW4jYwAkeQGu0uT6gxkkTE5q+BCMx1ecEkJFrEdm+31Y9D75s2Tl5hC9p5rVD36JOJfv9vnJ/6pxNDjmucr6AZU0eo4kiQhyal7g0pcoYAvLOPxC5kVR1I0y+PzVUube3S7zwVtXt0VySB921Wa7tH7P2r4JhuiCETSFdWV5zPXudfJVcwnYRZIlaLNkJ89kChiLdlD7z5HQz/dxwtwYFpcZjzysAIAyIbQHQdU9ia+taDf9YWy8Gg10q2N/x8ArekLDNTXA4789GJO+4imcGrVtFF/E24hBhpRsjn83YuwWWTtjUTToa/SkFd5SAp62H+DH8Sjvu+nvCibV1hubzdQ9uiAPfCyPt6+daC6BEcoDVA3en9+o7bILImO6o7mDtCNWNnJj5cT4o/l7mhObfoRwACqVQ9LJK+fybn//4Rf//hAD//4OF12TzjUyRCAnwJM393CBKrurwqLjCQHZpeT2Khm9JjgxabQ0Pn/9/X1bzwJtL9rw//+EX//4QA//+DheM9K8xAsC1ngAAAAA=",title:"F&B (Food & Beverages)",desc:"Serving restaurants, cafés, bars, and more with smart digital solutions."},{img:"data:image/webp;base64,UklGRmAFAABXRUJQVlA4WAoAAAAQAAAAawAAawAAQUxQSAICAAABkJVtb91IPwQxGEEohEAIgwmDDYOYQcPAYTDLQBAMQRAEQRc9Jba0h7uImAB0zUupP03N3d20SS3zDRHTdBfzc+U+Uyi0il8sCwdBq3iXsgRAm3m3Wnksrt555XGo+oCVx6DNfEjbRpjUh9WpN7r70Pe+WH1w5Y6+zYe3tZvNQ9z6oOpBVuqAmofZ6DJqHmiji6h5qI0uoebBNrqierj1gs0D3k775SF/n8QWk/E56kErnXH3sO8nTB749JlGpvTJ5qGXD9hiM3qvevD1Lfbw+Z0aX32DPUF6VTMorzQDo2eLp7g+kxzkCXuS9LBksT5IFgKAPE0C5jwmYM9jByQPATxPwy0R/5ozWUom5cikSia/WyZNM1HLxPy/q2Vimom2TNpPJnJkUksmZclk5kxusEQAyUOAPY8dmPKYAcqDAEgWAgBrFssDZcEPkBwET9cclmdkGShelgzqK8qAX+GIr+JNjo/fwRFdxdtksRm/hxJbwYekkSk+niKbPsMe144TSaNSnMoWk/E5WGJacXaJqOD8I54DF1KLptEVoBZLI1xLLZJGuJpaHI1wPR1RHIQuSwwFva42ni3ol3U0ZXS9j7UTOp90HJ0wYLExrBCG5GOEShiWj94qY2g+tB8rhPEX6UNWQoy8yFWyEiKleZeTTPaJEPFtLlWa2oNp+6llYXQNVlA4IDgDAAAQFwCdASpsAGwAPlEmj0UjoiES/HVkOAUEsYMUAfoB+gH8A0AD+AQIB+AFofGAQk+R42LrXu1+J/L8W1/p/uO99P9m9h3iM/qP1mvMT5xHSAeQB7Dv7M+wB5cfsb/uL+1XtXarZ056lBz+OeRTGmUXLwYQX+U8S8PonP0KqLCT58Ut8gMZl9NglSxrt4YH8VhN5FH2b6rdWdbc2eQ3iD3T9tMxcIz6PdtcYd/rvyAGrqPgimSufRXr/tIvOAJZxr4AAP75WDsz/88kchhA/zNT1m1cNRxO/enOEN1Gj4qi/04MxfYN6Nf/ZuejC1+Av8a/H/70iO/xOrNzBWpPHi9ehN2zYABuCUYsGYZX+ov37Is/tXpTfFX/Aq79P7Lu0CpRW4FnGrL64fHgWbme/DbdwViQRpL78f7yrHoxf4jJP0ej2N3mkmSo9TIMvT/c/BGe8+nUI4o3yleJwn4IL+dnLHIPx21bIaWcxlsPSkPzmEhsxqDLlxmgEEHSpQZOOen7cUocSB/XxwM5xdgMuv7wlzOdcDJi/hcR7lz4LaYPDBHgPOfrOYMV3bsMKKinHPkQsD0GArCXRglAdPjHs+/4Tf4hObApR/8AbvngycHabI5F4UW9wCqf9PIFzz8XdPhx1/+Z6B/hJqJ4ONrTA5V6AuT7MyjBCnlwb/+KcAjp81O5szSGz8jFQuYf3INl/voydZmw9szKBnb+FuprePv3j1edjO3q9csJ5pPdUIUMTq5VXLrUoewvkJOWE2iaoT0cmGi3syxYSK2PSbvP/XMIbviiU5xhNvwEJOn9ZjnmIbIu1tURbXEi0B/BW5x78OWXw0PgV5AexNr3fb1sSVXuG+DzDMQfHNnvxAgal8pDuH1pq+2ZjOpfuF2HhUHOrmQGPrchn9kTa7q3+X+6oTafLmP+NJW5kHZ9SkgG5sGo+Mbm+KD4a3FMnw8pfBv3eZxxvVHWoo78VimIMPQQttznKnys/y11mGLoE+wnhAAk3N2q/zLx3Pn+douQyyS6jddyaZf/O96cvjbgKZmv+MN55jpmBos13CFpvTzrjL70VqZpb91ieRe/rFLnUnEpAE0GVAeHwgAAAA==",title:"Retail",desc:"Simplify sales, billing, and inventory for shops and stores."},{img:"data:image/webp;base64,UklGRhgHAABXRUJQVlA4WAoAAAAQAAAAawAAawAAQUxQSAICAAABkJVtb91IPwQxGEEohEAIgwmDDYOYQcPAYTDLQBAMQRAEQRc9Jba0h7uImAB0zUupP03N3d20SS3zDRHTdBfzc+U+Uyi0il8sCwdBq3iXsgRAm3m3Wnksrt555XGo+oCVx6DNfEjbRpjUh9WpN7r70Pe+WH1w5Y6+zYe3tZvNQ9z6oOpBVuqAmofZ6DJqHmiji6h5qI0uoebBNrqierj1gs0D3k775SF/n8QWk/E56kErnXH3sO8nTB749JlGpvTJ5qGXD9hiM3qvevD1Lfbw+Z0aX32DPUF6VTMorzQDo2eLp7g+kxzkCXuS9LBksT5IFgKAPE0C5jwmYM9jByQPATxPwy0R/5ozWUom5cikSia/WyZNM1HLxPy/q2Vimom2TNpPJnJkUksmZclk5kxusEQAyUOAPY8dmPKYAcqDAEgWAgBrFssDZcEPkBwET9cclmdkGShelgzqK8qAX+GIr+JNjo/fwRFdxdtksRm/hxJbwYekkSk+niKbPsMe144TSaNSnMoWk/E5WGJacXaJqOD8I54DF1KLptEVoBZLI1xLLZJGuJpaHI1wPR1RHIQuSwwFva42ni3ol3U0ZXS9j7UTOp90HJ0wYLExrBCG5GOEShiWj94qY2g+tB8rhPEX6UNWQoy8yFWyEiKleZeTTPaJEPFtLlWa2oNp+6llYXQNVlA4IPAEAAAwGgCdASpsAGwAPlEojkWjoqES/HWYOAUEoIcAYID8AP0A/gGqAfgB+gH8AgQD8ALICOMkMUhGPBX6ZPFvUs5WD9M/d/+1XqK/Rr9PPeA/zP6q+7f0AP6d/UOsT9AD9cvS+/cv4OP3M/bz2goWr2bYwOyVsDGM8731F7BHR0LEPJeS8LB9A+QpsXyVf2kh48phsQJQadXCi9X4o572lQ7ZuCZJXaGhmOkilt/CPCzpaAZVJvlMfOad8FxmzLquEjRk8PSzg7y2v9YevULBBRmXkIvKLzhczKc6gAD+pyhPv8XveCL/4nRdTzEg5bbj6jd6LIh7JhlAY2Om1w/zsnd3zKHX0c/etj5f/v8MrT6y//yKK0/uRlkYsET2ANoS7FibknjTMd7yWF/BHqMs+9j8JEKsHUuZal3cYjOjkhyQ58A7g9ZSsAno8IMaODq2H7YVWvzCT/LOQe1iNrktxk/8sP4AXSqX7zwoq19TkZh7daeuzL/YTPQFzY/IT+MteY/SHMIAgXqw7qk1nl2RtixWFwb1zImn5bnNL8NqKrYuLip0xmA0Gh1X9yv63751tknYaqfv8nIRpYxJSurSdu+QgseEDlFOylCmQ8ruOx1dYHW6nK7gKfUOyhYN1Bzw5wz0hG+zmSvIZou3WdFSSE7Vn4ZWDMez7nEMOrmNTn/et+PGpaz9kQ+AKe0/IAzdnOJ9KDJ+t+SlgRRUNJ7+jzGcFVo3HWmMLAgCep62xtOd7k1c1Vqw3D5aPkINGsrkPgXza7VKNC5LdFJO9FKz8X0J2SiY8QcPSD+EO10/XKPhHU3Dex6vzoUDBrxygtzKZ7nIEvU1djP/koEdBTjnimJeGXl9WNnfnFa3nXp+RxAOvvgATFSgvaWr97d3SdNPIBX3gZjFpj5dpG1LLNWlwD1fRUIHmLvV7IjHb70y6BMbUy+7I24ej/xExnnXBf3OVKMliFilbRCBQn6Ciff9djxOADQUUsXdJwyVZMSSr9FBlU7tCbuAAY8kMDWm6rYf8cue387NPMRfRzZtSF/CAu5HlgjsqYz/Rdd6HgcAO7ZWczrQJ0f+4pqd5ZUffipN1+PBdqLFc3xFrqgpI90cU4Hu/MTXeebO+d8dlPjrFz/AWyj5bhlMGGU/dp9DoJA+Dkc0Plyd/4quSZv9TmGY/a3WyxAObItqWySD4CvkKQuW8zTwqp/jUuaDjOhIRuxMCNVQCvX9IBNX+jkxsMSTvXPiknoAYxbIBV/JIhkNrTYwDXgIbhEYqG29CoD6/CpbbdMREGPDB9Ae3xcyTDXVzC50ns+kaXCkQJ0bXrvLK9+xJvTGRf8l+yx/d2v+r4xM+soIIaE51Zd9MN0QChJDhr6hvWO3lUJGhZE6e9NNgWv+rDPchd78KmO3aSX9gK79Cw/LOddf6RgQFkT1M2BJQt5nK5MXZEsIvb1WHfnxa9DOP3K0XoR21hI0avuDkrz7+Ze9IGIG6fVhwIXATxTZEe2xy6405TXloN9MPNXUF1D6eoTvZZUAsmQx4qyTFtMi6Uj84bxyEFGIGtQy3EuQYW/RPid1ICS2fZTIQ2Ux1Y//aQXiTCoV5/v2dgC7WR6BwXV+PisXqn3peXSQXXACJfHGx0yJWc+fEG+ZehvKr8OZsOF9SowFjSS54GUpd/+GZKGfmHmpuQ1qGvHtAH0B5gAA",title:"Payroll",desc:"Automated payroll for smooth and timely salary management. "},{img:"data:image/webp;base64,UklGRnYGAABXRUJQVlA4WAoAAAAQAAAAawAAawAAQUxQSAICAAABkJVtb91IPwQxGEEohEAIgwmDDYOYQcPAYTDLQBAMQRAEQRc9Jba0h7uImAB0zUupP03N3d20SS3zDRHTdBfzc+U+Uyi0il8sCwdBq3iXsgRAm3m3Wnksrt555XGo+oCVx6DNfEjbRpjUh9WpN7r70Pe+WH1w5Y6+zYe3tZvNQ9z6oOpBVuqAmofZ6DJqHmiji6h5qI0uoebBNrqierj1gs0D3k775SF/n8QWk/E56kErnXH3sO8nTB749JlGpvTJ5qGXD9hiM3qvevD1Lfbw+Z0aX32DPUF6VTMorzQDo2eLp7g+kxzkCXuS9LBksT5IFgKAPE0C5jwmYM9jByQPATxPwy0R/5ozWUom5cikSia/WyZNM1HLxPy/q2Vimom2TNpPJnJkUksmZclk5kxusEQAyUOAPY8dmPKYAcqDAEgWAgBrFssDZcEPkBwET9cclmdkGShelgzqK8qAX+GIr+JNjo/fwRFdxdtksRm/hxJbwYekkSk+niKbPsMe144TSaNSnMoWk/E5WGJacXaJqOD8I54DF1KLptEVoBZLI1xLLZJGuJpaHI1wPR1RHIQuSwwFva42ni3ol3U0ZXS9j7UTOp90HJ0wYLExrBCG5GOEShiWj94qY2g+tB8rhPEX6UNWQoy8yFWyEiKleZeTTPaJEPFtLlWa2oNp+6llYXQNVlA4IE4EAABwGgCdASpsAGwAPlEmjkYjoj+hI0rr8AoJYwhwBggPwA/QD+AaoB+AH6AfwCCAfwD8ALXeZcnAQc8SGn22HPj+kv0AP2A6zn0APLI/ZD4L/2f/bD4AP1U/8WcUf12cA/oHCDr9/MBxhOHeIDSxTCv/B5I/x//P/9L3AP1b/43qk+oj9kPYT/TslCTk7F0xmP+Ebr9m0LkGOC+KW+VLDttD8hhQH/hw682MqoPt1nwZd3rMxNLNvy47fGK+gnYv2qJETpGu2kZ5eAMR4WqaabU0eGVpCg+mZdgy1cNAAP6pcEg5fwlrALOPRRtI/NjfOoEjsepPJ3c4DsQpkMl9IlhvLQgDt1/ZIP+UeoaALJIVOtGFTMB//X1Agtn93Jr5ZOHVo7QAAAGD0oHU/ZduLXUt67Qbdr/394897mdgwlp/+2lw26vLi+l+QWHr1b2exOsOptZ3jYhHCQXmqp/yO7Q07OYOAYV330E+rAjol9cnv7pkmbVnXlA3ZiwHqlR0tqdIUb+CUpOm89I9/E+z5Q/7pS+FvCLn48OaVdZfuvlWCcpyiLf/TxALJibY0iF4YZ5/93I3/66oHIDB/HfCrclYQA30aw3PgB3sb9OUrLRhb58YraTabhcCmCV18ghb+jeJThv4bP1H4q/cKSIooYX1CU1XI7VxdFBm9xPMkLUZc+4IKp6jLQlSxK8LF96L8Fkv1ujQ7OajDhKdvfTm/4KNjTqAb2KTNWOP2rxTPV/jID5Mx0gT3eEQcuSknytTS57riQPeZshs9WP6G/rnjq45zIXWAx2I869ob2DmU7PnEqfz/nN7K+c+XmSlTWVc/+CDPSQIXUyvEMC+FqyxTaYfz2TB8cHZCW/gIRTaXRuVXM+K0p5G8rn8lRQ5AU075H5NMjsoDZx84GB8+nVQaJH8fsS9F5/qon+cx8B6+44WM5v29CwEv759DKQDXKz2vyV4F9gayNRYBJJcAn94tTfvoa03/sUTD71AMmOJH5XeUhYmhiX30L4zEphh9eETdfVCfVKF6/6ewLRM2NNqBAFA0LObDnZoguVTszEwQlJT8PUfC1iZd958QkTnTZOAZSM7/f/y82+JA4ZIOv0PZA22IRdPYUVWe/kcjESP0oXzb7RVfLfbuw77D0qF8wpJV6hnWbXkHFGzz4rygGM/yO92ZA5WmqPwLGspagiFi5X6de5S3NCYq/Qt4wyTN3yjRvFogPFPko8vS7RY8TK5+twYiT7BP1NsIs13mM9S8b7exx7L78tbvcgBEP4lucZQg5vLmNHD6mS/Aj6wUhUVSPN/v/wRPD7zOwrGpdh32Zr7H5euf7pMHpVov5AOrPJ7Vw8z6LTq88coArjo3RiySC5+dLpx71crC8W55Atxqg5eA8f4T+v/iSzEARZzQeX5NJ8kSdMtebsCLLuXuEBa2vSK3ko8uy4H+5uhoCMPI+6DyP6N+yHduKQkB9DSAAAA",title:"Beyond / Others",desc:"Flexible apps that adapt to any business need."}],i=()=>{const i=r.useRef(null),P=r.useRef([]);return r.useEffect((()=>{const s=o.create(i.current,{type:"words,lines",linesClass:"split-line",autoSplit:!0});return A.set(i.current,{opacity:1}),A.fromTo(s.lines,{yPercent:100,opacity:0},{yPercent:0,opacity:1,duration:1,stagger:.1,ease:"expo.out",delay:.3,scrollTrigger:{trigger:i.current,start:"top 85%",toggleActions:"play none none reverse"}}),P.current.forEach(((e,o)=>{e&&A.fromTo(e,{opacity:0,x:50,scale:.9},{opacity:1,x:0,scale:1,duration:2,delay:.5+.15*o,ease:"power2.out",scrollTrigger:{trigger:e,start:"top 85%",toggleActions:"play none none reverse"}})})),()=>{e.getAll().forEach((A=>A.kill()))}}),[]),s.jsxs("div",{className:"DigitalSection-Master",children:[s.jsxs("div",{className:"titleDigital",ref:i,children:["A complete digital ",s.jsx("br",{})," platform with 17+ apps"]}),s.jsx("div",{className:"digitalTypesMain",children:a.map(((A,e)=>s.jsxs("div",{className:"ditalCard",ref:A=>P.current[e]=A,children:[s.jsx("img",{src:A.img,alt:A.title}),s.jsxs("div",{children:[s.jsx("span",{children:A.title}),s.jsx("p",{children:A.desc})]})]},e)))})]})};export{i as default}; diff --git a/dist1 (2)/assets/DigitalSection-fc334ca1.css b/dist1 (2)/assets/DigitalSection-fc334ca1.css new file mode 100644 index 0000000..b9dc0fa --- /dev/null +++ b/dist1 (2)/assets/DigitalSection-fc334ca1.css @@ -0,0 +1 @@ +.DigitalSection-Master{background-color:#fff;width:100%;font-family:NeueMontreal}.DigitalSection-Master .titleDigital{font-size:5vw;font-family:NeueMontreal;line-height:1.1;margin:4rem 1.5rem;font-weight:500}@media (max-width: 600px){.DigitalSection-Master .titleDigital{font-size:8vw;margin:2rem 1.5rem 4rem}}.DigitalSection-Master .digitalTypesMain{display:flex;align-items:center;justify-content:space-between;padding:0 5px;border:1px dashed #a9a9a9;margin:2rem 0 5rem}.DigitalSection-Master .ditalCard{width:25%;height:230px;padding:1rem;border-right:1px dashed #a9a9a9;display:flex;align-items:flex-start;flex-direction:column}.DigitalSection-Master .ditalCard div{height:80px}.DigitalSection-Master .ditalCard img{margin:2rem 0;width:55px}.DigitalSection-Master .ditalCard span{font-size:18px;font-family:NeueMontreal;color:#000;font-weight:400}.DigitalSection-Master .ditalCard p{font-size:14px;font-family:NeueMontreal;color:#1e1e1e;font-weight:400}@media (max-width: 768px){.digitalTypesMain{display:grid!important;grid-template-columns:1fr 1fr}.ditalCard{width:100%!important;height:max-content!important}.ditalCard div{height:max-content!important}} diff --git a/dist1 (2)/assets/Error-f2f780c0.png b/dist1 (2)/assets/Error-f2f780c0.png new file mode 100644 index 0000000..f1b5361 Binary files /dev/null and b/dist1 (2)/assets/Error-f2f780c0.png differ diff --git a/dist1 (2)/assets/Faq-38eabc1e.webp b/dist1 (2)/assets/Faq-38eabc1e.webp new file mode 100644 index 0000000..c83c4cb Binary files /dev/null and b/dist1 (2)/assets/Faq-38eabc1e.webp differ diff --git a/dist1 (2)/assets/FaqSection-5850d5cb.js b/dist1 (2)/assets/FaqSection-5850d5cb.js new file mode 100644 index 0000000..f5422b5 --- /dev/null +++ b/dist1 (2)/assets/FaqSection-5850d5cb.js @@ -0,0 +1 @@ +import{g as e,S as s,j as a,G as r}from"./index-35672308.js";import{r as o}from"./vendor-c65bce76.js";import"./ui-2d515953.js";import"./utils-faf49605.js";import"./editor-e98c3426.js";e.registerPlugin(s);const i=[{question:"Free trial available in PozoApps?",answer:"Yes, PozoApps provides a free trial period for all apps so you can explore features before subscribing."},{question:"Can I use PozoApps on multiple devices?",answer:"Absolutely! You can access your apps from desktop, tablet, or mobile seamlessly."},{question:"Is my data secure?",answer:"We use enterprise-grade security and encryption to ensure your data is always protected."},{question:"Can I cancel anytime?",answer:"Yes, you can cancel your subscription anytime without hidden charges."},{question:"Free trial available in PozoApps?",answer:"Yes, PozoApps provides a free trial period for all apps so you can explore features before subscribing."},{question:"Can I use PozoApps on multiple devices?",answer:"Absolutely! You can access your apps from desktop, tablet, or mobile seamlessly."},{question:"Is my data secure?",answer:"We use enterprise-grade security and encryption to ensure your data is always protected."},{question:"Can I cancel anytime?",answer:"Yes, you can cancel your subscription anytime without hidden charges."}],n=()=>{const[n,t]=o.useState(null),l=o.useRef(null),c=o.useRef([]);return o.useEffect((()=>(e.fromTo(l.current,{opacity:0,x:-100,scale:.8},{opacity:1,x:0,scale:1,duration:.8,ease:"power2.out",scrollTrigger:{trigger:l.current,start:"top 80%",toggleActions:"play none none reverse"}}),c.current.forEach(((s,a)=>{s&&e.fromTo(s,{opacity:0,y:50,x:30},{opacity:1,y:0,x:0,duration:.6,delay:.1*a,ease:"power2.out",scrollTrigger:{trigger:s,start:"top 85%",toggleActions:"play none none reverse"}})})),()=>{s.getAll().forEach((e=>e.kill()))})),[]),a.jsxs("div",{className:"FaqSection-Master",children:[a.jsx("div",{className:"FaqSectionImage",children:a.jsx("img",{src:"/assets/Faq-38eabc1e.webp",alt:"FAQ Illustration"})}),a.jsxs("div",{className:"QueAnsMain",children:[a.jsx(r,{animationType:"splitReveal",delay:.3,duration:3,bidirectional:!0,children:a.jsx("p",{children:"Quick Answers"})}),i.map(((e,s)=>a.jsxs("div",{className:"QueAns",ref:e=>c.current[s]=e,children:[a.jsxs("div",{className:"FaqQue",onClick:()=>(e=>{t(n===e?null:e)})(s),children:[a.jsx("div",{children:e.question}),a.jsx("span",{children:n===s?"−":"+"})]}),a.jsx("div",{className:"FaqAns "+(n===s?"open":""),children:a.jsx("p",{children:e.answer})})]},s)))]})]})};export{n as default}; diff --git a/dist1 (2)/assets/FaqSection-a9193505.css b/dist1 (2)/assets/FaqSection-a9193505.css new file mode 100644 index 0000000..9845c7a --- /dev/null +++ b/dist1 (2)/assets/FaqSection-a9193505.css @@ -0,0 +1 @@ +.FaqSection-Master{width:100%;font-family:NeueMontreal;padding:2rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;height:99vh}@media (max-width: 768px){.FaqSection-Master{flex-direction:column;padding:2rem 1rem}}.FaqSection-Master .FaqSectionImage{width:45%;height:100%}@media (max-width: 768px){.FaqSection-Master .FaqSectionImage{display:none}}.FaqSection-Master .FaqSectionImage img{width:100%;height:100%}.FaqSection-Master .QueAnsMain{width:55%;height:100%;font-family:NeueMontreal;padding:0 1rem;overflow:auto}@media (max-width: 768px){.FaqSection-Master .QueAnsMain{width:100%;padding:0}}.FaqSection-Master .QueAnsMain p{font-size:4.5vw;font-weight:500;font-family:NeueMontreal}@media (max-width: 768px){.FaqSection-Master .QueAnsMain p{font-size:8vw}}.FaqSection-Master .QueAns{width:100%;font-family:NeueMontreal;border-bottom:2px dashed #bababa}.FaqSection-Master .FaqQue{display:flex;align-items:center;cursor:pointer;justify-content:space-between}.FaqSection-Master .FaqQue div{font-size:18px;font-family:NeueMontreal;font-weight:400}.FaqSection-Master .FaqQue span{font-size:35px;font-family:NeueMontreal;font-weight:300;transition:transform .3s ease}.FaqSection-Master .FaqAns{max-height:0;font-family:NeueMontreal;overflow:hidden;transition:max-height .4s ease,opacity .3s ease;opacity:0}.FaqSection-Master .FaqAns p{font-size:22px;font-weight:400;font-family:NeueMontreal;line-height:1.4;padding:0 0 1rem}.FaqSection-Master .FaqAns.open{max-height:200px;font-family:NeueMontreal;opacity:1} diff --git a/dist1 (2)/assets/Gilroy-Black-8757b49f.woff b/dist1 (2)/assets/Gilroy-Black-8757b49f.woff new file mode 100644 index 0000000..d76b8e1 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-Black-8757b49f.woff differ diff --git a/dist1 (2)/assets/Gilroy-Black-c2142843.woff2 b/dist1 (2)/assets/Gilroy-Black-c2142843.woff2 new file mode 100644 index 0000000..357c4a9 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-Black-c2142843.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-BlackItalic-2e57bf21.woff2 b/dist1 (2)/assets/Gilroy-BlackItalic-2e57bf21.woff2 new file mode 100644 index 0000000..6b6e70c Binary files /dev/null and b/dist1 (2)/assets/Gilroy-BlackItalic-2e57bf21.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-BlackItalic-8adeb0d9.woff b/dist1 (2)/assets/Gilroy-BlackItalic-8adeb0d9.woff new file mode 100644 index 0000000..1238aef Binary files /dev/null and b/dist1 (2)/assets/Gilroy-BlackItalic-8adeb0d9.woff differ diff --git a/dist1 (2)/assets/Gilroy-Bold-2d682c20.woff2 b/dist1 (2)/assets/Gilroy-Bold-2d682c20.woff2 new file mode 100644 index 0000000..03776c6 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-Bold-2d682c20.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-Bold-b687e84e.woff b/dist1 (2)/assets/Gilroy-Bold-b687e84e.woff new file mode 100644 index 0000000..3cf2d5f Binary files /dev/null and b/dist1 (2)/assets/Gilroy-Bold-b687e84e.woff differ diff --git a/dist1 (2)/assets/Gilroy-BoldItalic-402f553e.woff2 b/dist1 (2)/assets/Gilroy-BoldItalic-402f553e.woff2 new file mode 100644 index 0000000..7a125e9 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-BoldItalic-402f553e.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-BoldItalic-6e7cb8cf.woff b/dist1 (2)/assets/Gilroy-BoldItalic-6e7cb8cf.woff new file mode 100644 index 0000000..1590225 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-BoldItalic-6e7cb8cf.woff differ diff --git a/dist1 (2)/assets/Gilroy-ExtraBold-22bbff55.woff b/dist1 (2)/assets/Gilroy-ExtraBold-22bbff55.woff new file mode 100644 index 0000000..96b2b47 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-ExtraBold-22bbff55.woff differ diff --git a/dist1 (2)/assets/Gilroy-ExtraBold-2c8f553a.woff2 b/dist1 (2)/assets/Gilroy-ExtraBold-2c8f553a.woff2 new file mode 100644 index 0000000..b13b60a Binary files /dev/null and b/dist1 (2)/assets/Gilroy-ExtraBold-2c8f553a.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-ExtraBoldItalic-10a54ffe.woff b/dist1 (2)/assets/Gilroy-ExtraBoldItalic-10a54ffe.woff new file mode 100644 index 0000000..aa158ea Binary files /dev/null and b/dist1 (2)/assets/Gilroy-ExtraBoldItalic-10a54ffe.woff differ diff --git a/dist1 (2)/assets/Gilroy-ExtraBoldItalic-a99a1dcb.woff2 b/dist1 (2)/assets/Gilroy-ExtraBoldItalic-a99a1dcb.woff2 new file mode 100644 index 0000000..51a1772 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-ExtraBoldItalic-a99a1dcb.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-Heavy-b5a388db.woff2 b/dist1 (2)/assets/Gilroy-Heavy-b5a388db.woff2 new file mode 100644 index 0000000..9805de6 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-Heavy-b5a388db.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-Heavy-fd88015e.woff b/dist1 (2)/assets/Gilroy-Heavy-fd88015e.woff new file mode 100644 index 0000000..9d9db16 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-Heavy-fd88015e.woff differ diff --git a/dist1 (2)/assets/Gilroy-HeavyItalic-a6acf566.woff2 b/dist1 (2)/assets/Gilroy-HeavyItalic-a6acf566.woff2 new file mode 100644 index 0000000..0c9672c Binary files /dev/null and b/dist1 (2)/assets/Gilroy-HeavyItalic-a6acf566.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-HeavyItalic-c8c9b41d.woff b/dist1 (2)/assets/Gilroy-HeavyItalic-c8c9b41d.woff new file mode 100644 index 0000000..80f9143 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-HeavyItalic-c8c9b41d.woff differ diff --git a/dist1 (2)/assets/Gilroy-Light-0a5347b4.woff b/dist1 (2)/assets/Gilroy-Light-0a5347b4.woff new file mode 100644 index 0000000..a5189cf Binary files /dev/null and b/dist1 (2)/assets/Gilroy-Light-0a5347b4.woff differ diff --git a/dist1 (2)/assets/Gilroy-Light-86661761.woff2 b/dist1 (2)/assets/Gilroy-Light-86661761.woff2 new file mode 100644 index 0000000..bc5a5c1 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-Light-86661761.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-LightItalic-0f080c38.woff b/dist1 (2)/assets/Gilroy-LightItalic-0f080c38.woff new file mode 100644 index 0000000..e4748c0 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-LightItalic-0f080c38.woff differ diff --git a/dist1 (2)/assets/Gilroy-LightItalic-b75fdf79.woff2 b/dist1 (2)/assets/Gilroy-LightItalic-b75fdf79.woff2 new file mode 100644 index 0000000..1bfa5f6 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-LightItalic-b75fdf79.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-Medium-98c8721b.woff2 b/dist1 (2)/assets/Gilroy-Medium-98c8721b.woff2 new file mode 100644 index 0000000..2764710 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-Medium-98c8721b.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-Medium-f049099c.woff b/dist1 (2)/assets/Gilroy-Medium-f049099c.woff new file mode 100644 index 0000000..987583a Binary files /dev/null and b/dist1 (2)/assets/Gilroy-Medium-f049099c.woff differ diff --git a/dist1 (2)/assets/Gilroy-MediumItalic-74d34948.woff2 b/dist1 (2)/assets/Gilroy-MediumItalic-74d34948.woff2 new file mode 100644 index 0000000..4e53ac1 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-MediumItalic-74d34948.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-MediumItalic-bddb8eaf.woff b/dist1 (2)/assets/Gilroy-MediumItalic-bddb8eaf.woff new file mode 100644 index 0000000..e47e0fc Binary files /dev/null and b/dist1 (2)/assets/Gilroy-MediumItalic-bddb8eaf.woff differ diff --git a/dist1 (2)/assets/Gilroy-Regular-5d121b35.woff2 b/dist1 (2)/assets/Gilroy-Regular-5d121b35.woff2 new file mode 100644 index 0000000..64fd436 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-Regular-5d121b35.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-Regular-c689d8cb.woff b/dist1 (2)/assets/Gilroy-Regular-c689d8cb.woff new file mode 100644 index 0000000..c0e4821 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-Regular-c689d8cb.woff differ diff --git a/dist1 (2)/assets/Gilroy-RegularItalic-69d2426b.woff b/dist1 (2)/assets/Gilroy-RegularItalic-69d2426b.woff new file mode 100644 index 0000000..ea4e209 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-RegularItalic-69d2426b.woff differ diff --git a/dist1 (2)/assets/Gilroy-RegularItalic-8e07867f.woff2 b/dist1 (2)/assets/Gilroy-RegularItalic-8e07867f.woff2 new file mode 100644 index 0000000..928cd6f Binary files /dev/null and b/dist1 (2)/assets/Gilroy-RegularItalic-8e07867f.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-SemiBold-78c4221a.woff b/dist1 (2)/assets/Gilroy-SemiBold-78c4221a.woff new file mode 100644 index 0000000..d748f19 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-SemiBold-78c4221a.woff differ diff --git a/dist1 (2)/assets/Gilroy-SemiBold-b393718e.woff2 b/dist1 (2)/assets/Gilroy-SemiBold-b393718e.woff2 new file mode 100644 index 0000000..d193f13 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-SemiBold-b393718e.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-SemiBoldItalic-57ee5789.woff2 b/dist1 (2)/assets/Gilroy-SemiBoldItalic-57ee5789.woff2 new file mode 100644 index 0000000..b3f1003 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-SemiBoldItalic-57ee5789.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-SemiBoldItalic-e62ca1a6.woff b/dist1 (2)/assets/Gilroy-SemiBoldItalic-e62ca1a6.woff new file mode 100644 index 0000000..67fd476 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-SemiBoldItalic-e62ca1a6.woff differ diff --git a/dist1 (2)/assets/Gilroy-Thin-61729fcb.woff b/dist1 (2)/assets/Gilroy-Thin-61729fcb.woff new file mode 100644 index 0000000..de7fe31 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-Thin-61729fcb.woff differ diff --git a/dist1 (2)/assets/Gilroy-Thin-9a5d0225.woff2 b/dist1 (2)/assets/Gilroy-Thin-9a5d0225.woff2 new file mode 100644 index 0000000..395956c Binary files /dev/null and b/dist1 (2)/assets/Gilroy-Thin-9a5d0225.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-ThinItalic-ce729739.woff2 b/dist1 (2)/assets/Gilroy-ThinItalic-ce729739.woff2 new file mode 100644 index 0000000..f0ff62b Binary files /dev/null and b/dist1 (2)/assets/Gilroy-ThinItalic-ce729739.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-ThinItalic-fd2eea37.woff b/dist1 (2)/assets/Gilroy-ThinItalic-fd2eea37.woff new file mode 100644 index 0000000..a58b56e Binary files /dev/null and b/dist1 (2)/assets/Gilroy-ThinItalic-fd2eea37.woff differ diff --git a/dist1 (2)/assets/Gilroy-UltraLight-5ee0e400.woff2 b/dist1 (2)/assets/Gilroy-UltraLight-5ee0e400.woff2 new file mode 100644 index 0000000..b96c8ad Binary files /dev/null and b/dist1 (2)/assets/Gilroy-UltraLight-5ee0e400.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-UltraLight-e7eefeda.woff b/dist1 (2)/assets/Gilroy-UltraLight-e7eefeda.woff new file mode 100644 index 0000000..dccc924 Binary files /dev/null and b/dist1 (2)/assets/Gilroy-UltraLight-e7eefeda.woff differ diff --git a/dist1 (2)/assets/Gilroy-UltraLightItalic-7731e8cf.woff2 b/dist1 (2)/assets/Gilroy-UltraLightItalic-7731e8cf.woff2 new file mode 100644 index 0000000..0a4014f Binary files /dev/null and b/dist1 (2)/assets/Gilroy-UltraLightItalic-7731e8cf.woff2 differ diff --git a/dist1 (2)/assets/Gilroy-UltraLightItalic-d2c52218.woff b/dist1 (2)/assets/Gilroy-UltraLightItalic-d2c52218.woff new file mode 100644 index 0000000..d200b1c Binary files /dev/null and b/dist1 (2)/assets/Gilroy-UltraLightItalic-d2c52218.woff differ diff --git a/dist1 (2)/assets/HealthcareManagement-b8916dc7.webp b/dist1 (2)/assets/HealthcareManagement-b8916dc7.webp new file mode 100644 index 0000000..8f1beb0 Binary files /dev/null and b/dist1 (2)/assets/HealthcareManagement-b8916dc7.webp differ diff --git a/dist1 (2)/assets/Insiders-93e1fcb1.css b/dist1 (2)/assets/Insiders-93e1fcb1.css new file mode 100644 index 0000000..669bd4e --- /dev/null +++ b/dist1 (2)/assets/Insiders-93e1fcb1.css @@ -0,0 +1 @@ +.Creators-Master{width:100%;height:100vh;background-image:url(/assets/Creators-8c2d28e9.webp);background-repeat:no-repeat;background-size:cover;background-position:top;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;padding:2rem 1.5rem;color:#fff;gap:2rem;font-family:NeueMontreal}@media (max-width: 500px){.Creators-Master{height:60vh}}.Creators-Master div{font-size:5vw;line-height:1.1;font-weight:400;font-family:NeueMontreal}@media (max-width: 500px){.Creators-Master div{font-size:8vw}}.Creators-Master p{font-size:15px;letter-spacing:.2px;line-height:1.1;font-weight:400;font-family:NeueMontreal}.Creators-Master .Insiders-btn{background:#ffffff;color:#000;border:none;border-radius:2rem;padding:6px 6px 6px 16px;font-weight:400;display:flex;align-items:center;gap:2.5rem;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal;font-size:16px}.Creators-Master .Insiders-btn .icon-container{position:relative;background-color:#000;height:35px;width:35px;border-radius:50px;overflow:hidden;display:flex;align-items:center;justify-content:center;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.Creators-Master .Insiders-btn:hover .icon-container{transform:scale(.9)}.Creators-Master .Insiders-btn .icon-main,.Creators-Master .Insiders-btn .icon-hover{position:absolute;color:#fff;font-size:16px;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.Creators-Master .Insiders-btn .icon-main{transform:translate(0)}.Creators-Master .Insiders-btn .icon-hover{transform:translate(-35px,35px)}.Creators-Master .Insiders-btn:hover .icon-main{transform:translate(35px,-35px)}.Creators-Master .Insiders-btn:hover .icon-hover{transform:translate(0)} diff --git a/dist1 (2)/assets/Insiders-ee0bed6b.js b/dist1 (2)/assets/Insiders-ee0bed6b.js new file mode 100644 index 0000000..24fbf29 --- /dev/null +++ b/dist1 (2)/assets/Insiders-ee0bed6b.js @@ -0,0 +1 @@ +import{g as e,S as r,d as s,u as t,j as o,H as n}from"./index-35672308.js";import{r as i}from"./vendor-c65bce76.js";import"./ui-2d515953.js";import"./utils-faf49605.js";import"./editor-e98c3426.js";e.registerPlugin(r,s);const a=()=>{const a=t(),l=i.useRef(null),c=i.useRef(null),u=i.useRef(null);return i.useEffect((()=>{const t=s.create(l.current,{type:"words,lines",linesClass:"split-line"});return e.set(l.current,{opacity:1}),e.fromTo(t.lines,{yPercent:100,opacity:0},{yPercent:0,opacity:1,duration:1,stagger:.1,ease:"expo.out",delay:.2,scrollTrigger:{trigger:l.current,start:"top 80%",toggleActions:"play none none reverse"}}),e.fromTo(c.current,{opacity:0,y:30},{opacity:1,y:0,duration:1.2,delay:.3,ease:"expo.out",scrollTrigger:{trigger:c.current,start:"top 85%",toggleActions:"play none none reverse"}}),e.fromTo(u.current,{opacity:0,y:30,scale:.9},{opacity:1,y:0,scale:1,duration:1.2,delay:.6,ease:"expo.out",scrollTrigger:{trigger:u.current,start:"top 85%",toggleActions:"play none none reverse"}}),()=>{r.getAll().forEach((e=>e.kill()))}}),[]),o.jsxs("div",{className:"Creators-Master",children:[o.jsxs("div",{ref:l,children:["Smarter, Simpler, and ",o.jsx("br",{}),"Personalized. Partner with us ",o.jsx("br",{}),"and we will help transform your Business operations efficiently"]}),o.jsx("p",{ref:c,children:"Streamline your business with AI-powered solutions"}),o.jsxs("button",{className:"Insiders-btn",ref:u,onClick:()=>a("/signin"),children:["Experience Now",o.jsxs("div",{className:"icon-container",children:[o.jsx(n,{className:"icon-main"}),o.jsx(n,{className:"icon-hover"})]})]})]})};export{a as default}; diff --git a/dist1 (2)/assets/InventoryManagement-69af7202.webp b/dist1 (2)/assets/InventoryManagement-69af7202.webp new file mode 100644 index 0000000..9e59057 Binary files /dev/null and b/dist1 (2)/assets/InventoryManagement-69af7202.webp differ diff --git a/dist1 (2)/assets/Landing_Video-3264f9d6.mp4 b/dist1 (2)/assets/Landing_Video-3264f9d6.mp4 new file mode 100644 index 0000000..79634ce Binary files /dev/null and b/dist1 (2)/assets/Landing_Video-3264f9d6.mp4 differ diff --git a/dist1 (2)/assets/LeftArrow-72cce6f5.webp b/dist1 (2)/assets/LeftArrow-72cce6f5.webp new file mode 100644 index 0000000..170e748 Binary files /dev/null and b/dist1 (2)/assets/LeftArrow-72cce6f5.webp differ diff --git a/dist1 (2)/assets/ModalSignIn-7f007a95.css b/dist1 (2)/assets/ModalSignIn-7f007a95.css new file mode 100644 index 0000000..86f9a81 --- /dev/null +++ b/dist1 (2)/assets/ModalSignIn-7f007a95.css @@ -0,0 +1 @@ +.ModalSignIn-Master{width:100%;height:100vh;background-color:#00000086;display:flex;align-items:center;justify-content:center;position:fixed;left:0;top:0;right:0;bottom:0;z-index:1001;font-family:NeueMontreal;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);animation:fadeIn .3s ease}.ModalSignIn-Master.closing{animation:fadeOut .5s ease}.ModalSignIn-Master .signInMain{width:50vw;background:#fff;border-radius:12px;font-family:NeueMontreal;padding:2rem;box-shadow:0 8px 20px #00000026;display:flex;flex-direction:column;gap:3rem;animation:slideInRight .5s ease}@media (max-width: 768px){.ModalSignIn-Master .signInMain{width:90vw;padding:1rem}}.closing .ModalSignIn-Master .signInMain{animation:slideOutLeft .5s ease}.ModalSignIn-Master .signInMain .ModalSignInheader{display:flex;font-family:NeueMontreal;justify-content:space-between;align-items:flex-start}.ModalSignIn-Master .signInMain .ModalSignInheader .MSLeft{display:flex;font-family:NeueMontreal;flex-direction:column}.ModalSignIn-Master .signInMain .ModalSignInheader .MSLeft img{width:70px;height:auto;padding-bottom:1rem}.ModalSignIn-Master .signInMain .ModalSignInheader .MSLeft div{font-size:2.5vw;font-family:NeueMontreal;font-weight:500;color:#000}@media (max-width: 768px){.ModalSignIn-Master .signInMain .ModalSignInheader .MSLeft div{font-size:6vw}}.ModalSignIn-Master .signInMain .ModalSignInheader .MSLeft p{font-family:NeueMontreal;font-size:.85rem;color:#555;margin:0}.ModalSignIn-Master .signInMain .ModalSignInheader .MSRight{font-size:1.2rem;font-family:NeueMontreal;color:#fff;padding:8px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.ModalSignIn-Master .signInMain .ModalSignInheader .MSRight .icon-container{position:relative;background-color:#000;height:35px;width:35px;border-radius:50px;margin-left:2rem;overflow:hidden;display:flex;align-items:center;justify-content:center;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.ModalSignIn-Master .signInMain .ModalSignInheader .MSRight:hover .icon-container{transform:scale(.9)}.ModalSignIn-Master .signInMain .ModalSignInheader .MSRight .icon-main,.ModalSignIn-Master .signInMain .ModalSignInheader .MSRight .icon-hover{position:absolute;color:#fff;font-size:16px;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.ModalSignIn-Master .signInMain .ModalSignInheader .MSRight .icon-main{transform:translate(0)}.ModalSignIn-Master .signInMain .ModalSignInheader .MSRight .icon-hover{transform:translate(-35px)}.ModalSignIn-Master .signInMain .ModalSignInheader .MSRight:hover .icon-main{transform:translate(35px)}.ModalSignIn-Master .signInMain .ModalSignInheader .MSRight:hover .icon-hover{transform:translate(0)}.ModalSignIn-Master .signInMain .inputOfSignIN-Main{display:flex;flex-direction:column;font-family:NeueMontreal;gap:1.2rem}.ModalSignIn-Master .signInMain .inputOfSignIN-Main .inputsPMS{display:flex;font-family:NeueMontreal;flex-direction:column;gap:.3rem}.ModalSignIn-Master .signInMain .inputOfSignIN-Main .inputsPMS label{font-size:.9rem;font-family:NeueMontreal;font-weight:400;color:#1e1e1e}.ModalSignIn-Master .signInMain .inputOfSignIN-Main .inputsPMS label:after{content:" *";color:red}.ModalSignIn-Master .signInMain .inputOfSignIN-Main .inputsPMS input{border:none;border-bottom:1px solid #ccc;padding:.6rem 0;font-family:NeueMontreal;font-size:1rem;outline:none;transition:border-color .2s ease}.ModalSignIn-Master .signInMain .inputOfSignIN-Main .inputsPMS input:focus{border-color:#000}.ModalSignIn-Master .signInMain .tryAnother{font-size:.9rem;color:#444;display:flex;font-family:NeueMontreal;align-items:center;gap:.4rem;cursor:pointer}.ModalSignIn-Master .signInMain .tryAnother svg{font-size:1rem}.ModalSignIn-Master .ModalSignInBTN{margin-top:1rem;display:flex;font-family:NeueMontreal;flex-direction:column;align-items:center;gap:.6rem}.ModalSignIn-Master .ModalSignInBTN button{width:90%;padding:8px;font-family:NeueMontreal;border:none;border-radius:50px;background:#000;color:#fff;font-size:1rem;font-weight:400;display:flex;justify-content:space-between;align-items:center;gap:.6rem;cursor:pointer;transition:all .2s ease}.ModalSignIn-Master .ModalSignInBTN button .icon-container{position:relative;background-color:#fff;height:35px;width:35px;border-radius:50px;overflow:hidden;display:flex;align-items:center;justify-content:center;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.ModalSignIn-Master .ModalSignInBTN button:hover .icon-container{transform:scale(.9)}.ModalSignIn-Master .ModalSignInBTN button .icon-main,.ModalSignIn-Master .ModalSignInBTN button .icon-hover{position:absolute;color:#000;font-size:16px;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.ModalSignIn-Master .ModalSignInBTN button .icon-main{transform:translate(0)}.ModalSignIn-Master .ModalSignInBTN button .icon-hover{transform:translate(-35px,35px)}.ModalSignIn-Master .ModalSignInBTN button:hover .icon-main{transform:translate(35px,-35px)}.ModalSignIn-Master .ModalSignInBTN button:hover .icon-hover{transform:translate(0)}.ModalSignIn-Master .ModalSignInBTN p{font-size:.75rem;color:#666;margin:0;font-family:NeueMontreal}.ModalSignIn-Master .tryanotherModal{color:#000}.ModalSignIn-Master .newUserMessage{width:100%;text-align:center;color:#000;font-size:14px;padding:1rem 0 2rem}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes slideInRight{0%{opacity:0}to{opacity:1}}@keyframes slideOutLeft{0%{opacity:1}to{opacity:0}} diff --git a/dist1 (2)/assets/ModalSignIn-d6326004.js b/dist1 (2)/assets/ModalSignIn-d6326004.js new file mode 100644 index 0000000..cad683a --- /dev/null +++ b/dist1 (2)/assets/ModalSignIn-d6326004.js @@ -0,0 +1 @@ +import{e,u as s,f as a,h as n,j as t,i as l,k as i,R as o,l as d,v as r,m as u,n as c}from"./index-35672308.js";import{r as m}from"./vendor-c65bce76.js";import"./ui-2d515953.js";import"./utils-faf49605.js";import"./editor-e98c3426.js";const v=({onClose:v})=>{const p=e(),h=s(),[g,N]=m.useState(!1),[x,j]=m.useState("PIN"),[y,f]=m.useState(!1),[P,S]=m.useState(""),[A,C]=m.useState(""),[M,b]=m.useState(!1),[w,T]=m.useState(""),[I,k]=m.useState(null),[O,z]=m.useState("NULL"),[E,L]=m.useState(!1),[Q,U]=m.useState(!1),[R,D]=m.useState(!1),[H,W]=m.useState([]),[X,Y]=m.useState(!1),[q,K]=m.useState({show:!1,type:"",message:""}),[J,B]=m.useState(!1),F=()=>{N(!0),setTimeout((()=>{v()}),300)};m.useEffect((()=>{const e=e=>{"Escape"===e.key&&F()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[v]);const V=e=>/^[6-9]\d{9}$/.test(e),G=(e,s)=>{K({show:!0,type:e,message:s}),setTimeout((()=>{K({show:!1,type:"",message:""})}),2e3)},Z=()=>{z("NULL"),L(!1),U(!1),D(!1),Y(!1),b(!1),B(!1)},$=async e=>{var s,a,n;const t=await p(d({MobileNo:e})).unwrap();if(1===(null==(s=null==t?void 0:t.data)?void 0:s.statusCode)){const{Pin:e,Password:s}=null==(a=null==t?void 0:t.data)?void 0:a.data[0],l="Y"===e?"PIN":"Y"===s?"Password":"NULL";z(l),j("NULL"===l?"OTP":l),D(!0),U("Y"===s),L("Y"===e),W(null==(n=null==t?void 0:t.data)?void 0:n.data),Y("NULL"===l),B(!1)}else B(!0),D(!1)},_=e=>{j(e),Y("OTP"===e),b(!1)},ee=async()=>{P&&V(P)?X||"OTP"===x?await ae():await se():G("error","Please enter a valid mobile number")},se=async()=>{var e,s;if(!A)return void G("error",`Please enter ${x}`);let a;if(a="PIN"===x?await p(r({MobileNo:P,Pin:A})).unwrap():await p(u({MobileNo:P,Password:A})).unwrap(),1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)){const e=null==(s=null==a?void 0:a.data)?void 0:s.data[0];n("UserId",null==e?void 0:e.UserId),n("UserType",null==e?void 0:e.UserTypeName),n("CompId",null==e?void 0:e.CompId),n("CompName",null==e?void 0:e.CompName),n("MobileNo",null==e?void 0:e.MobileNo),n("userName",(null==e?void 0:e.UserName)||null),sessionStorage.setItem("auth",null==e?void 0:e.token),G("success","Sign In Successfully"),setTimeout((()=>{F(),h("/landing-page/home")}),1e3)}else G("error",`Enter Valid ${x}`)},ae=async()=>{var e,s;T(""),k(30),b(!0);const a=await p(c({MobileNo:P})).unwrap();1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)?G("success","OTP Sent Successfully"):G("error",null==(s=null==a?void 0:a.data)?void 0:s.response)};m.useEffect((()=>{if(0===I&&k(null),!I)return;const e=setInterval((()=>k(I-1)),1e3);return()=>clearInterval(e)}),[I]),m.useEffect((()=>{6===w.length&&ne(P,parseInt(w))}),[w]);const ne=async(e,s)=>{var t,l,i,o,d;const r=await p(a({MobileNo:e,OTP:s})).unwrap();if(1===(null==(t=null==r?void 0:r.data)?void 0:t.statusCode)){const e=null==(i=null==(l=null==r?void 0:r.data)?void 0:l.data)?void 0:i[0];e?(n("UserId",null==e?void 0:e.UserId),n("UserType",null==e?void 0:e.UserTypeName),n("CompId",null==e?void 0:e.CompId),n("CompName",null==e?void 0:e.CompName),n("MobileNo",null==e?void 0:e.MobileNo),n("userName",(null==e?void 0:e.UserName)||null),sessionStorage.setItem("auth",null==(o=null==r?void 0:r.data)?void 0:o.token)):(n("UserId","new-user"),sessionStorage.setItem("auth",null==(d=null==r?void 0:r.data)?void 0:d.token)),G("success","Sign In Successfully"),setTimeout((()=>{F(),h("/landing-page/home")}),1e3)}else G("error","Please enter valid OTP")};return t.jsx("div",{className:"ModalSignIn-Master "+(g?"closing":""),onClick:e=>{e.target===e.currentTarget&&F()},children:t.jsxs("div",{className:"signInMain",children:[t.jsxs("div",{className:"ModalSignInheader",children:[t.jsxs("div",{className:"MSLeft",children:[t.jsx("img",{src:"data:image/webp;base64,UklGRhwHAABXRUJQVlA4WAoAAAAQAAAAOwAAKQAAQUxQSNICAAABoAPbtmnb6nOtdfFt27Zt27ZthFZm/8i2bdu2zev7Tg/uvvucd57SiJgAJjGjKsaFHEy9wRFHbzojKbVdYfWPrHx/eUqbFe7VgZcvv/Tlht5JaavCG3pSJ0A5XV+mtBOX6jykEYkF9SraMwXdy220g84dQWWKxXTdHbdYCNJY6mD+Z4fUMT1bk6MiB583VP+/JJHHRuEa9ZuX3uvXr6epYvUx+ttTL/yurk5pXQcv6Y1TA2z6v09Qre/MB7Dku7o10TLO07VIQCIumyGqNjycFBCJU3T+lsWMug6JyiCqMmQqCxf7M9EiLvQJ8iitLfS4Gi1N8LOLJ1jr9Weeqvv0k7ccMgWlAi7xSlJzKdIpXznUCXyhDZs9lY6qLR06nkhNBPP26XBfgdzZ23D51TbaoHr99fd+Se+jVCyvjlmAqJdn0q+W6B/sCsjxp/9NTu019RAqN/KV13TmVCv40hfga5cOoPCdzkqMltjUvhwjLvFknvE7og5LOEjmHB8nA4WPdAHSKGQ+dAMgM8b5U/S4LLVP92JIU+rGZKDwmi5DHgVO9TTo4CHfI7jQ0+td4/4AR+lqjCw8pmtQRjvOC0hcozNl2N9r6p3r+UAHt+jUIyjcpptRRrnPg+AQXYOAMzyv3qr+Q4HCmddRXbhCd6NjRO7SuYhp31mOTOE3V6wV/OktpKBARxWFM/VYChG84asECRKJa/2ZqEMsoK/ORdPb6LlQlv1Ou3JhZMzynC4S1E6spP71y2/1//xgcNCffu3Xnukjyquff/PzL/+rq5Pqkem67l9bOqbx/19nEsGqNtRGz+1TkWk6wfQzNz/l+vooZGBZP5pu5pmnDlLQpsEy+krFCr5FuycW0g/JMJ/vtR2J2fRbMvP6TfuRYuoh/yDm88txgIjOPvvKXOMG5PjT/tn8fNwg860O/DKOkPnIxq/jCplX7BlnKNy837hDB5SmAFZQOCAkBAAAsBQAnQEqPAAqAD5RHI1EI6GhmA6srDgFBLYAYZjXRyfu/DllN6m5wHie9IDzAfq9+qvY59AD9XusA9AD9gPSz/bf4HP2s/cL4C/5N/WLmB4L+Cz18flxAjgbOTSA4q++g+Yf53nysyz0v7An66ek76zP159iv9XGP8cNdVc6yqWY44km6KiBpfHQ+XobF+jW1PxWAOjIwxzA1RsUTz8MnarcxFzUHUxwgmiX376gAP7//oN2X/hhl8X9bx4siVxdLynJX/zpq+CgNnfNnSqHCUUuA/TVw6/0PP4a97WcnYCQZqkdmBriprW72B9F7Wn7gablobunJHaDOKV2Wia1BwF9iMSh/cPs88UQc7i1nSmXnCS2XmfAm6FSwRisnOeMNKWQL5VkfEbcz3GfaGgkZzZ+G3E1Xf+cNzjyixGM/ulKQS6j/idyCQgOzPnG1A/tXyaUzIRjQwAvmDv/msdJ04ui01x+phUnHCZYe3+3TIWtbb1fIMBYxgoEWta07fVikRECJYncV39IseKoyMQLPuTv6qTx8mfgsOepn2c2RJ35yKG8QIqKEt2ntpc5xa4vVhjSSjQYrkCoAz0cjL7mp9CIEdS/IBncu3STuDl1rzb/R2yQp87tq9aSXWVb47bvNVvsm+jEKudlzQuS+O+ZblbfdljNl2I37nwL63JTErK/zFQi0BnTNwzmXTWzEOUaXXZRbM5gaQ98wKZrRtxn8JxkWfQaNT/8Lku9nMZgDEgp5T0RpZoni9oljX7YlVwq2MXra9Gpdi37H3/HbxMs+S442HgdOHJQizBsFtMgizWLTwHpDcaP6e3pQGpgG277bE5F5xG6ScQnS5q3mCbDM0s+2tE8KSMTLZ3md41xag581Xi9wCfQYlVz1TWmw5HPjl/1+Q+REbigJ73o+OzPpbUY8f16znMWQR7vf3TF48pd+Fu3yKl+Md8m2Nfr3uswoCq5waT1P4mM8+5y+a+dWap81kGYKKsWlrR6va8kUFkdpu+TI65Fk0NDSMyz/l4DqojDa1VLoauHFewUpKfdMzD+sYCYA8OZLm3STjzZeP/p+E9YHN0dO4yAT34fYSEKpHMIy8HEs8ozT14+HQV29h/zAbfKCNVGbcHV+/nGRgKZCwr4yJwLJ6gCM36dCJPuWDu/N6RDsmJiHDBMjtUPXdH/WDMc5sd57CZvn7QC72+NjXki5dypjm9yW2jdsDn0ic3uhFw1uvUJm60acpWMFYmflxNMnMvV29xz/3T4nbe3xCfxZRJ0HkABKrIncvE2rH/eYmINmDB1hfY9v6vuQXPAOCkYpdoH6ky7WDeHMchbt4DGySRlj21budW1q3sL51Vq+I1QhUX+OueRwaek1m49H8cfvEC0BYr5Bnx/c+DexSGpKX/pvnFn593z/yIwAAAAAA==",alt:""}),t.jsx("div",{children:"Welcome Pozo Apps"}),t.jsx("p",{children:"Take charge of your world with Pozo."})]}),t.jsx("div",{className:"MSRight",onClick:F,children:t.jsxs("div",{className:"icon-container",children:[t.jsx(l,{className:"icon-main"}),t.jsx(l,{className:"icon-hover"})]})})]}),t.jsxs("div",{className:"inputOfSignIN-Main",children:[t.jsxs("div",{className:"inputsPMS",children:[t.jsx("label",{htmlFor:"Mobile",children:"Mobile"}),t.jsx("input",{type:"text",placeholder:"Enter Mobile Number",value:P,onChange:async e=>{const s=e.target.value.replace(/[^0-9]/g,"");s.length<=10&&(S(s),10===s.length&&V(s)?await $(s):Z())},maxLength:"10"})]}),t.jsxs("div",{className:"inputsPMS",children:[t.jsx("label",{htmlFor:"PIN",children:"PIN"}),t.jsx("input",{type:"password",placeholder:"Enter PIN",value:A,onChange:e=>{const s=e.target.value.replace(/[^0-9]/g,"");s.length<=4&&C(s)},onKeyDown:e=>{"Enter"===e.key&&A&&ee()},maxLength:"4"})]}),M&&t.jsxs("div",{className:"inputsPMS",children:[t.jsx("label",{htmlFor:"otp",children:"Enter OTP"}),t.jsx("input",{type:"text",maxLength:"6",placeholder:"Enter 6 digit OTP",value:w,onChange:e=>{const s=e.target.value.replace(/[^0-9]/g,"");s.length<=6&&T(s)},onKeyDown:e=>{"Enter"===e.key&&6===w.length&&ee()}})]})]}),R&&"NULL"!==O&&t.jsxs("div",{className:"tryanotherModal",onClick:()=>f(!y),children:["Try Another Way ",t.jsx(i,{}),y&&t.jsxs("div",{className:"authOptions",children:[E&&t.jsxs("label",{children:[t.jsx("input",{type:"radio",name:"authMethod",value:"PIN",checked:"PIN"===x,onChange:e=>_(e.target.value)}),"PIN"]}),Q&&t.jsxs("label",{children:[t.jsx("input",{type:"radio",name:"authMethod",value:"Password",checked:"Password"===x,onChange:e=>_(e.target.value)}),"Password"]}),t.jsxs("label",{children:[t.jsx("input",{type:"radio",name:"authMethod",value:"OTP",checked:"OTP"===x,onChange:e=>_(e.target.value)}),"OTP"]})]})]}),I&&t.jsx("div",{className:"timerDiv",children:t.jsxs("span",{style:{color:I<=10?"#d1242d":"#00bd19"},children:["0:",I<10?"0"+I:I]})}),J?t.jsx("div",{className:"newUserMessage",children:t.jsxs("p",{children:["New user? Please"," ",t.jsxs("span",{onClick:()=>{F(),h("/signin")},style:{color:"#007bff",cursor:"pointer",textDecoration:"underline"},children:[" ","Sign In first"]})]})}):t.jsxs("div",{className:"ModalSignInBTN",children:[t.jsxs("button",{onClick:ee,children:[t.jsx("div",{}),M&&null===I?"RESEND OTP":X?"SEND OTP":"SIGN IN",t.jsxs("div",{className:"icon-container",children:[t.jsx(o,{className:"icon-main"}),t.jsx(o,{className:"icon-hover"})]})]}),t.jsx("p",{children:"By signing up, you're agreeing to our terms."})]}),q.show&&t.jsx("div",{className:`notification ${q.type}`,style:{position:"fixed",top:"75px",right:"0%",left:"45%",padding:"8px 16px",borderRadius:"6px",color:"#fff",fontSize:"12px",fontFamily:"Poppins, sans-serif",zIndex:9999,backgroundColor:"success"===q.type?"#007700":"error"===q.type?"#d1242d":"warning"===q.type?"#d89000ff":"#006dd3ff",width:"max-content",fontWeight:"400",letterSpacing:"0.2px"},children:q.message})]})})};export{v as default}; diff --git a/dist1 (2)/assets/NeueMontreal-Bold-6fd352df.otf b/dist1 (2)/assets/NeueMontreal-Bold-6fd352df.otf new file mode 100644 index 0000000..a1c6974 Binary files /dev/null and b/dist1 (2)/assets/NeueMontreal-Bold-6fd352df.otf differ diff --git a/dist1 (2)/assets/NeueMontreal-BoldItalic-e627ec09.otf b/dist1 (2)/assets/NeueMontreal-BoldItalic-e627ec09.otf new file mode 100644 index 0000000..798048d Binary files /dev/null and b/dist1 (2)/assets/NeueMontreal-BoldItalic-e627ec09.otf differ diff --git a/dist1 (2)/assets/NeueMontreal-Italic-59f51afe.otf b/dist1 (2)/assets/NeueMontreal-Italic-59f51afe.otf new file mode 100644 index 0000000..a8c17e7 Binary files /dev/null and b/dist1 (2)/assets/NeueMontreal-Italic-59f51afe.otf differ diff --git a/dist1 (2)/assets/NeueMontreal-Light-d4b9992e.otf b/dist1 (2)/assets/NeueMontreal-Light-d4b9992e.otf new file mode 100644 index 0000000..4cc9587 Binary files /dev/null and b/dist1 (2)/assets/NeueMontreal-Light-d4b9992e.otf differ diff --git a/dist1 (2)/assets/NeueMontreal-LightItalic-808eec4c.otf b/dist1 (2)/assets/NeueMontreal-LightItalic-808eec4c.otf new file mode 100644 index 0000000..b0dd573 Binary files /dev/null and b/dist1 (2)/assets/NeueMontreal-LightItalic-808eec4c.otf differ diff --git a/dist1 (2)/assets/NeueMontreal-Medium-3d28dde2.otf b/dist1 (2)/assets/NeueMontreal-Medium-3d28dde2.otf new file mode 100644 index 0000000..43030e8 Binary files /dev/null and b/dist1 (2)/assets/NeueMontreal-Medium-3d28dde2.otf differ diff --git a/dist1 (2)/assets/NeueMontreal-MediumItalic-c30eee50.otf b/dist1 (2)/assets/NeueMontreal-MediumItalic-c30eee50.otf new file mode 100644 index 0000000..78b2fc5 Binary files /dev/null and b/dist1 (2)/assets/NeueMontreal-MediumItalic-c30eee50.otf differ diff --git a/dist1 (2)/assets/NeueMontreal-Regular-94bbc905.otf b/dist1 (2)/assets/NeueMontreal-Regular-94bbc905.otf new file mode 100644 index 0000000..0265060 Binary files /dev/null and b/dist1 (2)/assets/NeueMontreal-Regular-94bbc905.otf differ diff --git a/dist1 (2)/assets/Offering-b01c7232.js b/dist1 (2)/assets/Offering-b01c7232.js new file mode 100644 index 0000000..4f21c7a --- /dev/null +++ b/dist1 (2)/assets/Offering-b01c7232.js @@ -0,0 +1 @@ +import{g as e,S as s,d as a,j as i}from"./index-35672308.js";import{r as n}from"./vendor-c65bce76.js";import"./ui-2d515953.js";import"./utils-faf49605.js";import"./editor-e98c3426.js";const t="data:image/webp;base64,UklGRlwBAABXRUJQVlA4WAoAAAAQAAAAJgAALgAAQUxQSAsBAAABgFXbdtzmQhCDPgiCYAhmEDGIGVgMXAYKA5eBIQTCgyAIt4P8XuXhPyImAJC5dF4SADwq+28BQtats5IZmSro/cmKFzd0H8ljDHdG7d86JF58Jy9ZkvOzscFLJjiHc4SDLEzH2FiOEIc31yFawtAUx8J2MiibNdjy/6kDIm9+icAQpBngADYWNFtmx8R0DONNaPaSa3aWxjHxYlUvWdVZGxu8ZIJzuKxYBMBYxPAszdmxUgUPMhu4+2GLlXUmVQxTaWbYECtJFRjMJiwkR/SbSbLGbonUsbJGw6rN1bFSBbEy7wXuBptMAYBMYQ9jbibY7C3zoSbWUZzkU5wrFaHyiBmIeoCMv0P3AAAAVlA4ICoAAAAwAwCdASonAC8APlEokUYjoqGhI4gAcAoJaQAAG4G9Pg4AAP78qAAAAAA=",r="data:image/webp;base64,UklGRjQBAABXRUJQVlA4WAoAAAAQAAAAIwAALwAAQUxQSOMAAAABgFXbdhTpSngOKhKQgAQc5EmIA+KgcBAc0A6QEAmRgIT7QYZHz58RMQEAICGZB4f6m4+ulcSHEwDl4wEotzMZn7cLM0lGmEeSnJYb7OWm+hD+BJoG1UQ5HCz2sQ8LHVMLaBoMMDH+yeRkvfgHNrYvsds7+LKbOw7YwWl9xhPG/wbTea01X8pSW6/suvxFMjsAniQ9ADlJMvTUi4Nn1WMq7OwjE5vpop11a5tKI+dGmeNAAFyuZJFcyQ4INSFZJtw3klkAySQ3AQBXSDosx+ZQ1zMKAEg8FHW3HzO+c31/hhDHAABWUDggKgAAADADAJ0BKiQAMAA+USiRRiOioaEjiABwCglpAAAbgb0+DgAA/vyoAAAAAA==",A="data:image/webp;base64,UklGRvwBAABXRUJQVlA4WAoAAAAQAAAAKwAAJwAAQUxQSIcBAAABkFDbWh47VwIO+klAAhLi4OHgxUFwMHGQcTASUgdI+CQg4fSHENIaiIgJ0P+YXhWonxxG0qs28E++YSfXvlkvnVx7HomNYc+S7GR8u4oNOFKQYnaATakBbU9BiqsDW88cPOkyO3AClKC+fYC1c4CbBu3N3x41+oYWJBmQNF6AahoODkXSAYfuFmrQ31aWjhK0IDnEWwrqWoPUUYWkBK7pCTh6BXatcPwTCap2WCfFUg6glpIlBWj6wDLHGoNJUoNwQpqTGN0lOfyYF3wkXrwhz5EteQd+5hwkCdAK+yRJCTjUjVCVwJ/ZeyscUoM0LTjEnsMi7XBOky1B3QwuyYA0bdChSNIbzse+we0va7A+ZA2KuisQn3FwXZ7g4YkNsCtrUB/YgKLBBBzTvoBdwyvwmhSBqpsF2KbEBm53tAOvCV8N3HT/DRzhzjfgppkFqDa2AW6aWwC3gXAA1TS7AC1fWAXOoPlLA7ZOasCuR80BzzEdAKsetjfXHvX86r1P0L9o+aznnjQTAFZQOCBOAAAAkAQAnQEqLAAoAD49FohEIiEhHjQAIAPEtIAAah0jOnAbTIAHnQ99W0duxRAAAP73nf//mL3/+Ydv//mMiP/HjAAP///vVYb/y1AAAAAA",o="data:image/webp;base64,UklGRvoEAABXRUJQVlA4WAoAAAAQAAAALwAALwAAQUxQSOIBAAABkIPtnyFJ/+qZOdu2ciuy7dC2bdt2ZNu2bdtmz9SXbFfX9CGOiAmQ/88WK1etW72oZT4JByS7JuHnScLByIanS9JQIKRo6yZ1GnbYhBt9IkF2sgLpgyTqkKZtsOrAs0Fj4z7EQFIQyOgKA/kcCNaarNLsGDzUdOAx2D9oqGnXN1DBpBxcFvPxMEDMgWQmEcDHJBhklgu+ifFrKKLi0g12mU3Veo7E5SLUNCsM70UZylDookwFSGkmEMVca8xdforP25p47/OhesFvM63NXKjrQzLBVzEdBB3E9Dek9iMuZFQGk2CQSTb4Jb6PQ297beGgL9UM7ojhSOhpcgYa+5LUwMY9nrsewd3dezw3Amn9yTfi6orFzRptT29Q/lRFeFWmWrVqVa2WFwuSGIhIoJ9q3SEUJFVHaxKrAIl8j/7m0Kiu7dp17tWnt/mgMiEroYy4WC9oRcLpXtgrZkdCkqVOv1kLFs6ZOc3nnNqOJRElfpWIKImjk3fnleESMQinXXdtroTthZqjiUVFeTjFiaFJHrLmoAF3t3gTA6IvxXodEvzlVYiEI9ZqJuR65fJwrEXQQGyz8hA3Brg3xXqoOqA/iVe4AJoYTsiahDMu3ddcwuIdCk0/0FfCEkclfpWIKPlnAlZQOCDyAgAAkBEAnQEqMAAwAD5RIItEI6IMdZqAHAKCWkAE8QfKfxi/bHtXe+vrtk2fnv5YaI7/AZJl8z/2WkLf4zjBvgHoK/xb/Iflv/ZvjrzmvO3+69wT+K/yv/K/2v+8f+f/H97f9jPYA/UcNLbcFj216+qQDWNU53JP53QfNP6CddXZXxpkRHtHfG/2BX+0nV9ZiINXLdHHgAAA/vuwWKM6Jp4Yr3DsSfvalWS2ynYcH0japV5G1J8Ad9YhYmqdpHt/DzC+lo/ROQfCOc858tiqCaTJFO9S3l0pgUXpBsv1G8qWBvRO3h/p//+CeNbz9XAWdr/rYzHayl2JMRgsB/qOMmPLbv5d9AizmIW92HmMw8yyQ9WC/Fp8G09mHbBadoovIQLe5u+F4DtOe8UeqjBXowfjAZiC+Hc83HQqeTmfHNTOdvhQr964iolH+2sGJRnmxKg40N+4l3N83YO+6mkOb3w6x24/0Dd/m6ewPpRLtMv9mCOo8mX20O9Df/kOxvL/06GF5VxkeC8KyfUyU3g76zyU17vG2tmnYqrOzqr40Xf8qFVP1gSPcKXurfrGZg5Ri4gV57lgcwa/e6aeZrZc6w4fSmySUsTzJbST+UtcV67e3GerHyg3K4BHhj7mwSwjLW4hf4m7iOHdmRiFQAyMcu/ytMWUZZmLWtQLIp4kkOh84iRWBVy3BrHkTCQghN8LArxVwnspAK44hb6+MQbbHNxxcscOjrHYVeabobXSgHf+Cyz9RMSF87utc+c4h//+LiAdO71qHnbxAgV27iW1oCSzYIj+Mx5/WOxFFUzSkP/sKT2glWo3b80gESkRP6MnuwpzD1DiDutfBiz3ObMi6/pGhpIMYcyQhSg7NlnSRUBxOhTobUKqrvrcXhbYHC4TF7uHPZ9F8dvXDj9/csIueUbetupqN0M1W/dmQ82tU2tSSxA3/4Lb4r+qHnhiER4TEntUmajdNu/EtXfOQcfWTIaeqBVFvafADLiD+baKd07//gAAAA==";e.registerPlugin(s,a);const c=()=>{const c=n.useRef(null),l=n.useRef(null),d=n.useRef(null);return n.useEffect((()=>{e.fromTo(c.current,{opacity:0,x:-100},{yPercent:0,opacity:1,duration:1,stagger:.1,ease:"expo.out",delay:.2,scrollTrigger:{trigger:c.current,start:"top 85%",toggleActions:"play none none reverse"}});const i=new a(l.current,{type:"lines"});return e.fromTo(i.lines,{yPercent:100,opacity:0},{yPercent:0,opacity:1,duration:1,stagger:.1,ease:"expo.out",delay:.4,scrollTrigger:{trigger:l.current,start:"top 80%",toggleActions:"play none none reverse"}}),e.fromTo(d.current,{opacity:0,scale:.9},{opacity:1,scale:1,duration:1.2,delay:.6,ease:"back.out(1.7)",scrollTrigger:{trigger:d.current,start:"top 85%",toggleActions:"play none none reverse"}}),()=>{s.getAll().forEach((e=>e.kill()))}}),[]),i.jsxs("div",{className:"Offering-Master",id:"Offerings",children:[i.jsx("div",{className:"offerheader",ref:l,children:"Pozo Offerings"}),i.jsx("div",{className:"offerContent",ref:l,children:"Elevate fast. Expand smart. Succeed bold."}),i.jsx("div",{className:"slider",ref:d,children:i.jsxs("div",{className:"slide-track",children:[i.jsxs("div",{className:"offeringCard1 slide",children:[i.jsxs("div",{className:"headContent",children:[i.jsxs("div",{className:"offertype",children:[i.jsx("p",{children:"01"}),i.jsxs("div",{children:["Inventory ",i.jsx("br",{}),"Management"]})]}),i.jsx("div",{className:"offerIconImg",children:i.jsx("img",{src:o,alt:""})})]}),i.jsx("div",{className:"BottomContent",children:"Track stock in real time, avoid stockouts, and keep the right items available across locations."})]}),i.jsxs("div",{className:"offeringCard2 slide",children:[i.jsxs("div",{className:"headContent",children:[i.jsxs("div",{className:"offertype",children:[i.jsx("p",{children:"02"}),i.jsxs("div",{children:["Healthcare ",i.jsx("br",{})," Management"]})]}),i.jsx("div",{className:"offerIconImg",children:i.jsx("img",{src:A,alt:""})})]}),i.jsx("div",{className:"BottomContent",children:"Deliver exceptional guest experiences with smooth booking, billing, and service management tailored for hotels and restaurants"})]}),i.jsxs("div",{className:"offeringCard3 slide",children:[i.jsxs("div",{className:"headContent",children:[i.jsxs("div",{className:"offertype",children:[i.jsx("p",{children:"03"}),i.jsx("div",{children:"Billing/POS"})]}),i.jsx("div",{className:"offerIconImg",children:i.jsx("img",{src:r,alt:""})})]}),i.jsx("div",{className:"BottomContent",children:"Fast checkout, custom taxes and discounts, and payment gateway integration built-in."})]}),i.jsxs("div",{className:"offeringCard4 slide",children:[i.jsxs("div",{className:"headContent",children:[i.jsxs("div",{className:"offertype",children:[i.jsx("p",{children:"04"}),i.jsx("div",{children:"Accounting"})]}),i.jsx("div",{className:"offerIconImg",children:i.jsx("img",{src:t,alt:""})})]}),i.jsx("div",{className:"BottomContent",children:"Stay on top of income and expenses with ledgers, reports, and reconciliations that make sense."})]}),i.jsxs("div",{className:"offeringCard1 slide",children:[i.jsxs("div",{className:"headContent",children:[i.jsxs("div",{className:"offertype",children:[i.jsx("p",{children:"01"}),i.jsxs("div",{children:["Inventory ",i.jsx("br",{}),"Management"]})]}),i.jsx("div",{className:"offerIconImg",children:i.jsx("img",{src:o,alt:""})})]}),i.jsx("div",{className:"BottomContent",children:"Track stock in real time, avoid stockouts, and keep the right items available across locations."})]}),i.jsxs("div",{className:"offeringCard2 slide",children:[i.jsxs("div",{className:"headContent",children:[i.jsxs("div",{className:"offertype",children:[i.jsx("p",{children:"02"}),i.jsxs("div",{children:["Healthcare ",i.jsx("br",{})," Management"]})]}),i.jsx("div",{className:"offerIconImg",children:i.jsx("img",{src:A,alt:""})})]}),i.jsx("div",{className:"BottomContent",children:"Deliver exceptional guest experiences with smooth booking, billing, and service management tailored for hotels and restaurants"})]}),i.jsxs("div",{className:"offeringCard3 slide",children:[i.jsxs("div",{className:"headContent",children:[i.jsxs("div",{className:"offertype",children:[i.jsx("p",{children:"03"}),i.jsx("div",{children:"Billing/POS"})]}),i.jsx("div",{className:"offerIconImg",children:i.jsx("img",{src:r,alt:""})})]}),i.jsx("div",{className:"BottomContent",children:"Fast checkout, custom taxes and discounts, and payment gateway integration built-in."})]}),i.jsxs("div",{className:"offeringCard4 slide",children:[i.jsxs("div",{className:"headContent",children:[i.jsxs("div",{className:"offertype",children:[i.jsx("p",{children:"04"}),i.jsx("div",{children:"Accounting"})]}),i.jsx("div",{className:"offerIconImg",children:i.jsx("img",{src:t,alt:""})})]}),i.jsx("div",{className:"BottomContent",children:"Stay on top of income and expenses with ledgers, reports, and reconciliations that make sense."})]})]})})]})};export{c as default}; diff --git a/dist1 (2)/assets/Offering-c48c83ab.css b/dist1 (2)/assets/Offering-c48c83ab.css new file mode 100644 index 0000000..eff6369 --- /dev/null +++ b/dist1 (2)/assets/Offering-c48c83ab.css @@ -0,0 +1 @@ +.Offering-Master{width:100%;background-color:#fff;font-family:NeueMontreal}.Offering-Master .offerheader{font-size:16px;display:flex;align-items:center;margin:1.3rem 1.5rem;font-weight:400;font-family:NeueMontreal}.Offering-Master .offerContent{font-size:5vw;font-weight:500;line-height:1.1;font-family:NeueMontreal;margin:0 1.5rem}@media (max-width: 600px){.Offering-Master .offerContent{font-size:6.5vw}}.Offering-Master .slider{width:100%;height:80vh;margin:3rem 0;overflow:hidden;position:relative}@media (max-width: 600px){.Offering-Master .slider{height:max-content}}.Offering-Master .slide-track{display:flex;width:calc(200% + 2rem);animation:scroll 20s linear infinite}.Offering-Master .slide{flex:0 0 auto;width:390px;height:62vh;margin-right:1rem;border-radius:12px;font-family:NeueMontreal;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:1rem;color:#fff;background-size:cover;background-position:center}.Offering-Master .offeringCard1{background-image:url(/assets/InventoryManagement-69af7202.webp)}.Offering-Master .offeringCard2{background-image:url(/assets/HealthcareManagement-b8916dc7.webp)}.Offering-Master .offeringCard3{background-image:url(/assets/BillingPOS-7b8a9c73.webp)}.Offering-Master .offeringCard4{background-image:url(/assets/Accounting-6907fea3.webp)}@keyframes scroll{0%{transform:translate(0)}to{transform:translate(calc(-50% - 1rem))}}.Offering-Master .headContent{display:flex;align-items:center;justify-content:space-between;width:100%;font-family:NeueMontreal;border-bottom:1px solid #fff;padding-bottom:12px}.Offering-Master .offertype{display:flex;align-items:center;gap:6px;font-family:NeueMontreal}.Offering-Master .offertype p{font-size:60px;font-weight:500;line-height:1.2;font-family:NeueMontreal}.Offering-Master .offertype div{font-size:18px;font-weight:400;line-height:1.2;font-family:NeueMontreal}.Offering-Master .offerIconImg img{width:30px}.Offering-Master .BottomContent{font-size:14px;line-height:1.4;font-family:NeueMontreal;margin-top:auto;letter-spacing:.5px}@media (max-width: 768px){.Offering-Master .slide{width:300px;height:50vh}.Offering-Master .slide-track{width:calc(1000% + 1rem);animation:scroll 12s linear infinite}} diff --git a/dist1 (2)/assets/OverView-3b51b525.webm b/dist1 (2)/assets/OverView-3b51b525.webm new file mode 100644 index 0000000..4cca846 Binary files /dev/null and b/dist1 (2)/assets/OverView-3b51b525.webm differ diff --git a/dist1 (2)/assets/PozoAppFavicon-7549d08e.png b/dist1 (2)/assets/PozoAppFavicon-7549d08e.png new file mode 100644 index 0000000..8ed415b Binary files /dev/null and b/dist1 (2)/assets/PozoAppFavicon-7549d08e.png differ diff --git a/dist1 (2)/assets/PozoAppLogo-728641d3.svg b/dist1 (2)/assets/PozoAppLogo-728641d3.svg new file mode 100644 index 0000000..24f4022 --- /dev/null +++ b/dist1 (2)/assets/PozoAppLogo-728641d3.svg @@ -0,0 +1,3 @@ +<svg width="128" height="33" viewBox="0 0 128 33" fill="none" xmlns="http://www.w3.org/2000/svg"> +<path d="M0.555 0.499998H10.355C12.0817 0.499998 13.575 0.826665 14.835 1.48C16.095 2.11 17.04 2.99667 17.67 4.14C18.3233 5.28333 18.65 6.60167 18.65 8.095C18.65 9.565 18.3233 10.8833 17.67 12.05C17.04 13.1933 16.095 14.0917 14.835 14.745C13.575 15.375 12.0817 15.69 10.355 15.69H5.175V25H0.555V0.499998ZM10.145 11.805C11.0083 11.805 11.7317 11.6417 12.315 11.315C12.8983 10.965 13.3183 10.51 13.575 9.95C13.855 9.39 13.995 8.77167 13.995 8.095C13.995 7.02167 13.6683 6.135 13.015 5.435C12.385 4.735 11.4283 4.385 10.145 4.385H5.175V11.805H10.145ZM26.8704 25.28C25.097 25.28 23.5104 24.8833 22.1104 24.09C20.7104 23.2967 19.6137 22.2117 18.8204 20.835C18.027 19.4583 17.6304 17.9067 17.6304 16.18C17.6304 14.4533 18.027 12.9017 18.8204 11.525C19.6137 10.1483 20.7104 9.06333 22.1104 8.27C23.5104 7.47667 25.097 7.08 26.8704 7.08C28.6204 7.08 30.1954 7.47667 31.5954 8.27C32.9954 9.06333 34.092 10.1483 34.8854 11.525C35.6787 12.9017 36.0754 14.4533 36.0754 16.18C36.0754 17.9067 35.6787 19.4583 34.8854 20.835C34.092 22.2117 32.9954 23.2967 31.5954 24.09C30.1954 24.8833 28.6204 25.28 26.8704 25.28ZM26.8704 21.57C27.827 21.57 28.667 21.3483 29.3904 20.905C30.137 20.4383 30.7087 19.7967 31.1054 18.98C31.5254 18.1633 31.7354 17.23 31.7354 16.18C31.7354 15.13 31.5254 14.1967 31.1054 13.38C30.7087 12.5633 30.137 11.9333 29.3904 11.49C28.6437 11.0233 27.8037 10.79 26.8704 10.79C25.9137 10.79 25.062 11.0233 24.3154 11.49C23.5687 11.9333 22.9854 12.5633 22.5654 13.38C22.1687 14.1967 21.9704 15.13 21.9704 16.18C21.9704 17.23 22.1687 18.1633 22.5654 18.98C22.9854 19.7967 23.5687 20.4383 24.3154 20.905C25.062 21.3483 25.9137 21.57 26.8704 21.57ZM35.8314 21.395L45.5614 10.965H36.3914V7.36H50.4614V10.965L40.8364 21.395H50.9864V25H35.8314V21.395ZM59.9604 25.28C58.1871 25.28 56.6004 24.8833 55.2004 24.09C53.8004 23.2967 52.7037 22.2117 51.9104 20.835C51.1171 19.4583 50.7204 17.9067 50.7204 16.18C50.7204 14.4533 51.1171 12.9017 51.9104 11.525C52.7037 10.1483 53.8004 9.06333 55.2004 8.27C56.6004 7.47667 58.1871 7.08 59.9604 7.08C61.7104 7.08 63.2854 7.47667 64.6854 8.27C66.0854 9.06333 67.1821 10.1483 67.9754 11.525C68.7687 12.9017 69.1654 14.4533 69.1654 16.18C69.1654 17.9067 68.7687 19.4583 67.9754 20.835C67.1821 22.2117 66.0854 23.2967 64.6854 24.09C63.2854 24.8833 61.7104 25.28 59.9604 25.28ZM59.9604 21.57C60.9171 21.57 61.7571 21.3483 62.4804 20.905C63.2271 20.4383 63.7987 19.7967 64.1954 18.98C64.6154 18.1633 64.8254 17.23 64.8254 16.18C64.8254 15.13 64.6154 14.1967 64.1954 13.38C63.7987 12.5633 63.2271 11.9333 62.4804 11.49C61.7337 11.0233 60.8937 10.79 59.9604 10.79C59.0037 10.79 58.1521 11.0233 57.4054 11.49C56.6587 11.9333 56.0754 12.5633 55.6554 13.38C55.2587 14.1967 55.0604 15.13 55.0604 16.18C55.0604 17.23 55.2587 18.1633 55.6554 18.98C56.0754 19.7967 56.6587 20.4383 57.4054 20.905C58.1521 21.3483 59.0037 21.57 59.9604 21.57ZM77.053 0.499998H81.393L90.808 25H86.048L79.223 6.415L72.398 25H67.603L77.053 0.499998ZM73.133 15.375H85.313L85.628 19.295H72.818L73.133 15.375ZM91.1153 7.36H95.4203V9.495C95.957 8.77167 96.692 8.18833 97.6253 7.745C98.582 7.30167 99.6086 7.08 100.705 7.08C102.385 7.08 103.844 7.465 105.08 8.235C106.317 9.005 107.262 10.0783 107.915 11.455C108.569 12.8317 108.895 14.4067 108.895 16.18C108.895 17.9533 108.569 19.5283 107.915 20.905C107.262 22.2817 106.317 23.355 105.08 24.125C103.867 24.895 102.432 25.28 100.775 25.28C99.6553 25.28 98.6053 25.0583 97.6253 24.615C96.6686 24.1483 95.9336 23.5417 95.4203 22.795V32.14H91.1153V7.36ZM99.9003 21.57C100.834 21.57 101.65 21.3483 102.35 20.905C103.074 20.4617 103.634 19.8317 104.03 19.015C104.427 18.1983 104.625 17.2533 104.625 16.18C104.625 14.5467 104.194 13.24 103.33 12.26C102.49 11.28 101.347 10.79 99.9003 10.79C98.9436 10.79 98.1036 11.0117 97.3803 11.455C96.6803 11.8983 96.132 12.5283 95.7353 13.345C95.3386 14.1617 95.1403 15.1067 95.1403 16.18C95.1403 17.8133 95.572 19.12 96.4353 20.1C97.2986 21.08 98.4536 21.57 99.9003 21.57ZM110.173 7.36H114.478V9.495C115.014 8.77167 115.749 8.18833 116.683 7.745C117.639 7.30167 118.666 7.08 119.763 7.08C121.443 7.08 122.901 7.465 124.138 8.235C125.374 9.005 126.319 10.0783 126.973 11.455C127.626 12.8317 127.953 14.4067 127.953 16.18C127.953 17.9533 127.626 19.5283 126.973 20.905C126.319 22.2817 125.374 23.355 124.138 24.125C122.924 24.895 121.489 25.28 119.833 25.28C118.713 25.28 117.663 25.0583 116.683 24.615C115.726 24.1483 114.991 23.5417 114.478 22.795V32.14H110.173V7.36ZM118.958 21.57C119.891 21.57 120.708 21.3483 121.408 20.905C122.131 20.4617 122.691 19.8317 123.088 19.015C123.484 18.1983 123.683 17.2533 123.683 16.18C123.683 14.5467 123.251 13.24 122.388 12.26C121.548 11.28 120.404 10.79 118.958 10.79C118.001 10.79 117.161 11.0117 116.438 11.455C115.738 11.8983 115.189 12.5283 114.793 13.345C114.396 14.1617 114.198 15.1067 114.198 16.18C114.198 17.8133 114.629 19.12 115.493 20.1C116.356 21.08 117.511 21.57 118.958 21.57Z" fill="white"/> +</svg> diff --git a/dist1 (2)/assets/PozoMind-280b6496.mp4 b/dist1 (2)/assets/PozoMind-280b6496.mp4 new file mode 100644 index 0000000..4d6b018 Binary files /dev/null and b/dist1 (2)/assets/PozoMind-280b6496.mp4 differ diff --git a/dist1 (2)/assets/PozoVideo-39e183a2.css b/dist1 (2)/assets/PozoVideo-39e183a2.css new file mode 100644 index 0000000..e044f8b --- /dev/null +++ b/dist1 (2)/assets/PozoVideo-39e183a2.css @@ -0,0 +1 @@ +.PozoVideo-Master{width:100%;height:100vh;background-color:#040404;position:relative;padding:1.5rem;font-family:NeueMontreal;color:#fff}.PozoVideo-Master.PozoVideoplaying{height:110vh}@media (max-width: 768px){.PozoVideo-Master.PozoVideoplaying{height:max-content}}@media (max-width: 768px){.PozoVideo-Master{height:60vh}}.PozoVideo-Master .PozoVideoTitle{line-height:1.1}.PozoVideo-Master .PozoVideoTitle p{font-size:2.5vw!important;font-family:NeueMontreal;font-weight:400}@media (max-width: 600px){.PozoVideo-Master .PozoVideoTitle p{font-size:5vw!important}}.PozoVideo-Master .PozoVideoTitle div{font-size:5vw;font-family:NeueMontreal;font-weight:400}@media (max-width: 600px){.PozoVideo-Master .PozoVideoTitle div{font-size:8vw}}.PozoVideo-Master .PozoVideoTitle1{line-height:1.1}.PozoVideo-Master .PozoVideoTitle1 div{font-size:2.5vw;font-family:NeueMontreal;font-weight:400}@media (max-width: 600px){.PozoVideo-Master .PozoVideoTitle1 div{font-size:5vw!important}}.PozoVideo-Master .VideoThumbnail{display:flex;align-items:center;justify-content:center;margin-top:1rem}@media (max-width: 768px){.PozoVideo-Master .VideoThumbnail{margin-top:2rem}}.PozoVideo-Master .VideoThumbnail img{width:350px}.PozoVideo-Master .pozovidePLayer{width:70vw;height:75vh;border-radius:12px;margin-top:1rem}@media (max-width: 768px){.PozoVideo-Master .pozovidePLayer{width:100%;height:100%;margin-bottom:2rem}} diff --git a/dist1 (2)/assets/PozoVideo-675603f4.js b/dist1 (2)/assets/PozoVideo-675603f4.js new file mode 100644 index 0000000..afc0a24 --- /dev/null +++ b/dist1 (2)/assets/PozoVideo-675603f4.js @@ -0,0 +1 @@ +import{g as e,S as r,d as t,j as o}from"./index-35672308.js";import{r as s}from"./vendor-c65bce76.js";import"./ui-2d515953.js";import"./utils-faf49605.js";import"./editor-e98c3426.js";e.registerPlugin(r,t);const n=()=>{const n=s.useRef(null),l=s.useRef(null),p=s.useRef(null),[A,i]=s.useState(!1);return s.useEffect((()=>{const o=t.create(n.current,{type:"words,lines",linesClass:"split-line"});e.set(n.current,{opacity:1}),e.fromTo(o.lines,{yPercent:100,opacity:0},{yPercent:0,opacity:1,duration:1,stagger:.1,ease:"expo.out",delay:.2,scrollTrigger:{trigger:n.current,start:"top 85%",toggleActions:"play none none reverse"}});const s=t.create(l.current,{type:"words,lines",linesClass:"split-line"});return e.set(l.current,{opacity:1}),e.fromTo(s.lines,{yPercent:100,opacity:0},{yPercent:0,opacity:1,duration:1,stagger:.1,ease:"expo.out",delay:.4,scrollTrigger:{trigger:l.current,start:"top 85%",toggleActions:"play none none reverse"}}),e.fromTo(p.current,{opacity:0,scale:.8,y:50},{opacity:1,scale:1,y:0,duration:1.2,delay:.6,ease:"back.out(1.7)",scrollTrigger:{trigger:p.current,start:"top 85%",toggleActions:"play none none reverse"}}),()=>{r.getAll().forEach((e=>e.kill()))}}),[]),o.jsxs("div",{className:"PozoVideo-Master "+(A?"PozoVideoplaying":""),children:[o.jsx("div",{className:"PozoVideoTitle1",ref:n,children:o.jsx("div",{children:"PozoApp"})}),o.jsx("div",{className:"PozoVideoTitle",ref:l,children:o.jsx("div",{children:"What & How"})}),o.jsx("div",{className:"VideoThumbnail",ref:p,children:A?o.jsx("video",{className:"pozovidePLayer",controls:!0,autoPlay:!0,onEnded:()=>{i(!1)},children:o.jsx("source",{src:"/assets/PozoMind-280b6496.mp4",type:"video/mp4"})}):o.jsx("img",{src:"data:image/webp;base64,UklGRnwHAABXRUJQVlA4WAoAAAAQAAAABgIA7wAAQUxQSPUEAAAB8FZrb95s27atEMTgEIRAEIQwOMxgD4OYQcvAZZCNgU8GgSAIgrD+yEfb9PzS8dWImAB8/f/1/3/x8gcBi5p18sTCnnSVT8RTc8uy+xMD+XNuZsmy6YlC1lMDHVleKKcaOZ5RZ0mzkb+d6qSdaXQktq6rnjEOp0jKiUKWzCpkP6O0MwMZOOl0ZLaQtFPljJHriZksqYUH2U/g3ET2IyU7cltJ2ok4dSfvRwupyYVK+gmvZxayHhSyIbslyHK0nOrkeOB0TS9Ush89Tq2k7c1kRX4O+mkSpB1Mp5yUHXU6EtRi2LnVT0El+4E94dht5Jgh6H1j7B8jQdqe2LmfHSUbUtRYAPiRyOVQyb53fmHZaXTNEdxDULhnLe7XkyDtBUPBVskJSSqTwFv/AawzJrxV9CWoZH/BYaEjUQu1N7kxquC9xqavkCDtdVUSRb3Bq96r4O1jcH4BKtlelqU21db6GgqfcE11uj4nZEjqSGcvqgDgt4tAHuT8FB5kTR2guM/Ymnu5BjAFV31GPcbkgVT6iG3xpteAOr08kcO6BqC3Wh+M+RpAJW+5JNOywCjo0Vf38KugBF3zSG/RJ4Hxt8KCi6uzJlJRABho7mh6LWBAOisXFhSXiyW0kguAfsu/UAAD7XUqKSY+Yjv1lw3kerP8OmkvQ3GS3jTL3moPklyLZB+gxUlG0+wDYA8n2Uv6ASgLSf+l6QdodZJN0w/AuJC8/QEA0Ie7/BHgC0Frq3MbvvZWy5B1tTvPuyTdrqhZqfdl9a4AZO6+Dhn39LT6WvFPiOUPAXaLnn8yO9k1+6yT0Qy5L3OQfRLkvnUy6oDkt072UZD9M9kMfwBcq+Dr/6//v/7/+v/r/6//v/7/+v8fUYrdFneSsS7VJOmk9OCTvSSczMFX+qzJ9iv4ap8yTVe+0zXNfg++N6Ykm/n+OcVmXnFOsJnXnNPrF6/6e3JpXCY0t5zXXVPrF688JZb6pULyaua1a175xUKyqvDqJav65XpSCS8fklN2PVpO1Q+459TyAT85tX6A51T8UYCf+Fd4/gHxR4E1p5YP+Mmp+wfUnLIPsJySuJ7kFPrlOpK6XK5klcTFHGldL1bzSuJSrnmF6VITMnu9kCO1NS4Tmlsol5mQ3fUiFfldL1GR4fUCFTk+xZuiIMvV37IqEn3yl8WEXNfqL4kqyPfSn4leBDkvVpc1SLovdxN8/f/1/7eSIx9vGNkSSFVVdsbyDnUXACIHIhsxEwCYOOVP57Yr0PmORgV0jr5jt+iANJKcAaCHJlAp5e4xvMfYACW5YyQ7cGMbR6cBMLYEAgBje0/jAMgoe2rDhg7A2ACgh+QQ2PeGtvamsDZutJUdd+yyQ5cJUHaIKYCB901lySE9GBmt00XYN422Ef6cmNj3dm0N3Rjv+aOqtrLsrKHAnRMeNEDDsTXWEzLqiUrGiK2y5c82JuyoAlA2GDtQWF6wezBMD/chjUopg+CgB0k2oFPgjt2B9xcB0OibIYNwuHFWs7Ix1sK6J/x5hdUBAFZujDWVjD8AduCxUvfg8YrCuvHY3GmppHSFxc5ENhxW2pH5tCcRRfTGtnFHKqGSZN2RTj1S9qOJfQ+Dk2QXAIUtfQY7GgyATZPBFICy4+Sd48YGYBRAbACAsU4GAOKu6fPGxvGMeCjeeGNBWos7Tuv6rzcUr8jrwnIu70Xx/1UAVlA4IGACAADwKgCdASoHAvAAPlEok0ajoqGhIFVY0HAKCWlu4XU+QP4BgABE7873wB/GPwA/QA03PN8qAbZmEbGK8KW8KW8KW8KW8KW8KSL3b+dAX0aITpeMV4Ut4Ut4Ut0MtTOEcPRMOZjFxTVjF4xXhS3hS3hS3hMRNlpoBUP8MLw85cXmffmffmffmetalF6fjrddyhT9ZBbwpbwpbwpbwpbwpbwAo0lCRsYrwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpbwpboWBR2tGWUBp789+RT78z78z78z78z78yykkgYXSczMshuHVy4vM+/M+/M+/M+/Jf48aPAY3T8OrrMd+Z9+Z9+Z9+Z9+Z9uo0ui0HiPsreQtx5y4vM+/M+/M+/M+28xU6ihOH9x5y4vM+/M+/M+/M+3L2nQ+ott4Ut4Ut3+AAP7tNgFd9Qa/y0f//dV//7jUf/+6KMvqQmhKX6gz07HU//9kSPmdOf//ZECfUhNCDM+GE6+oMAC8+oM++jkAcPZToAAAAID6g1b9QZ72BumhPN/7h78+9H/x2+EVYpHoPlZnKYcC1io0NVEX8fzPHS7/2wySgx8rowV8CnsQn8XvQULOn6DR5IKSnPwmkXxkpw5BpmK/KuWJWidufujU6H/p75Ch9k70UKuN/J9CAUduB7g03uAD2cK9gVi7U+EisBx9FI32uKYd66+crwT/Nb1utFrG6/nMZmcjexyvpGUBncvPYoFor+9SE0IM/sap///siK/O5n//+yGgAAAAAA==",alt:"",onClick:()=>{i(!0)},style:{cursor:"pointer",marginTop:"5rem"}})})]})};export{n as default}; diff --git a/dist1 (2)/assets/PozomindLogoTechnologies-671f98c6.png b/dist1 (2)/assets/PozomindLogoTechnologies-671f98c6.png new file mode 100644 index 0000000..f53f39f Binary files /dev/null and b/dist1 (2)/assets/PozomindLogoTechnologies-671f98c6.png differ diff --git a/dist1 (2)/assets/PricingBG-5d0803dc.webp b/dist1 (2)/assets/PricingBG-5d0803dc.webp new file mode 100644 index 0000000..b398736 Binary files /dev/null and b/dist1 (2)/assets/PricingBG-5d0803dc.webp differ diff --git a/dist1 (2)/assets/SignInBG-9c719ccc.webp b/dist1 (2)/assets/SignInBG-9c719ccc.webp new file mode 100644 index 0000000..7851aae Binary files /dev/null and b/dist1 (2)/assets/SignInBG-9c719ccc.webp differ diff --git a/dist1 (2)/assets/SolutionsList-e4ceaac8.js b/dist1 (2)/assets/SolutionsList-e4ceaac8.js new file mode 100644 index 0000000..1379770 --- /dev/null +++ b/dist1 (2)/assets/SolutionsList-e4ceaac8.js @@ -0,0 +1 @@ +import{u as e,a as i,j as s}from"./index-35672308.js";import{r as n}from"./vendor-c65bce76.js";import"./ui-2d515953.js";import"./utils-faf49605.js";import"./editor-e98c3426.js";const t="/home/",l=({solutionsRef:l,closingSolutions:o})=>{const a=e(),c=i(),[r,d]=n.useState({top:"4rem",left:"40%"}),u=n.useCallback((()=>{const e=document.querySelector('[data-solutions-link="true"]');if(e){const i=e.getBoundingClientRect(),s=window.pageYOffset||document.documentElement.scrollTop;d({top:`${i.bottom+s+4}px`,left:`${i.left}px`})}}),[]);return n.useEffect((()=>{if(o)return;const e=setTimeout(u,10);let i=!1;const s=()=>{i||(window.requestAnimationFrame((()=>{u(),i=!1})),i=!0)};return window.addEventListener("resize",s,{passive:!0}),window.addEventListener("scroll",s,{passive:!0,capture:!0}),()=>{clearTimeout(e),window.removeEventListener("resize",s),window.removeEventListener("scroll",s,!0)}}),[u,o]),s.jsx("div",{ref:l,className:"solutions-dropdown "+(o?"closing":""),onWheel:e=>e.stopPropagation(),style:{position:"fixed",top:r.top,left:r.left},children:s.jsxs("div",{className:"solutions-list",children:[s.jsx("div",{className:"solution-item "+(c.pathname.includes("retail-billing")?"active":""),onClick:()=>a(`${t}solutions/retail-billing`),children:s.jsx("span",{children:"Retail Billing"})}),s.jsx("div",{className:"solution-item "+(c.pathname.includes("inventory-purchase")?"active":""),onClick:()=>a(`${t}solutions/inventory-purchase`),children:s.jsx("span",{children:"Inventory & Purchase"})}),s.jsx("div",{className:"solution-item "+(c.pathname.includes("weighing-scale-pos")?"active":""),onClick:()=>a(`${t}solutions/weighing-scale-pos`),children:s.jsx("span",{children:"Weighing Scale POS"})}),s.jsx("div",{className:"solution-item "+(c.pathname.includes("multi-store-erp")?"active":""),onClick:()=>a(`${t}solutions/multi-store-erp`),children:s.jsx("span",{children:"Multi-Store ERP"})}),s.jsx("div",{className:"solution-item "+(c.pathname.includes("gst-billing-e-invoice")?"active":""),onClick:()=>a(`${t}solutions/gst-billing-e-invoice`),children:s.jsx("span",{children:"GST Billing & E-Invoice"})}),s.jsx("div",{className:"solution-item "+(c.pathname.includes("offline-billing")?"active":""),onClick:()=>a(`${t}solutions/offline-billing`),children:s.jsx("span",{children:"Offline Billing"})})]})})};export{l as default}; diff --git a/dist1 (2)/assets/Template3-7dbefd3d.png b/dist1 (2)/assets/Template3-7dbefd3d.png new file mode 100644 index 0000000..fe61805 Binary files /dev/null and b/dist1 (2)/assets/Template3-7dbefd3d.png differ diff --git a/dist1 (2)/assets/TrendingApp-733f86b5.js b/dist1 (2)/assets/TrendingApp-733f86b5.js new file mode 100644 index 0000000..9a0004e --- /dev/null +++ b/dist1 (2)/assets/TrendingApp-733f86b5.js @@ -0,0 +1 @@ +import{g as e,S as s,u as n,j as r,F as o,V as t,H as i}from"./index-35672308.js";import{r as a}from"./vendor-c65bce76.js";import"./ui-2d515953.js";import"./utils-faf49605.js";import"./editor-e98c3426.js";e.registerPlugin(s);const l=()=>{const l=n(),c=a.useRef(null),d=a.useRef(null);return a.useEffect((()=>(e.fromTo(c.current,{y:50,x:-30},{opacity:1,y:0,x:0,duration:1.2,ease:"power2.out",scrollTrigger:{trigger:c.current,start:"top 80%",toggleActions:"play none none reverse"}}),e.fromTo(d.current,{opacity:0,y:50,x:30},{opacity:1,y:0,x:0,duration:1.2,delay:.3,ease:"power2.out",scrollTrigger:{trigger:d.current,start:"top 80%",toggleActions:"play none none reverse"}}),()=>{s.getAll().forEach((e=>e.kill()))})),[]),r.jsxs("div",{className:"TrendingApp-Master",children:[r.jsxs("div",{className:"TrendingLeft",children:[r.jsxs("div",{className:"TrendingLeftTitle",ref:c,children:["What you need, right ",r.jsx("br",{}),"when you need it."]}),r.jsxs("div",{className:"FaArrowTrendUp",children:[" ",r.jsx(o,{})," Trending Apps"]}),r.jsxs("div",{className:"trendingAppsBTN",children:[r.jsxs("button",{onClick:()=>window.open("https://www.pozo.dev/home/pozo%20health","_blank"),children:["Save Me (2 ",r.jsx(t,{}),")"," "]}),r.jsxs("button",{onClick:()=>window.open("https://www.pozo.dev/home/boating","_blank"),children:["Boating (2 ",r.jsx(t,{}),")"]}),r.jsxs("button",{onClick:()=>window.open("https://www.pozo.dev/home/restaurant","_blank"),children:["Restaurant (2 ",r.jsx(t,{}),")"," "]}),r.jsxs("button",{onClick:()=>window.open("https://www.pozo.dev/home/pozo%20health","_blank"),children:["Pharmacy (2 ",r.jsx(t,{}),")"," "]})]})]}),r.jsxs("div",{className:"TrendingRight",ref:d,children:[r.jsxs("p",{children:["The right place for all your ",r.jsx("br",{})," care needs."]}),r.jsxs("button",{className:"Trending-btn",onClick:()=>l("/signin"),children:["Experience Now",r.jsxs("div",{className:"icon-container",children:[r.jsx(i,{className:"icon-main"}),r.jsx(i,{className:"icon-hover"})]})]})]})]})};export{l as default}; diff --git a/dist1 (2)/assets/TrendingApp-81303a40.css b/dist1 (2)/assets/TrendingApp-81303a40.css new file mode 100644 index 0000000..3311c12 --- /dev/null +++ b/dist1 (2)/assets/TrendingApp-81303a40.css @@ -0,0 +1 @@ +.TrendingApp-Master{background-image:url(/assets/Trendingapp-26b1ff11.webp);height:100vh;width:100%;background-repeat:no-repeat;background-size:cover;background-position:top;color:#fff;font-family:NeueMontreal;display:flex;align-items:flex-start}@media (max-width: 768px){.TrendingApp-Master{flex-direction:column;height:max-content}}.TrendingApp-Master .TrendingLeft{width:40%;display:flex;flex-direction:column;gap:1rem;margin:5rem 1.5rem 3rem}@media (max-width: 768px){.TrendingApp-Master .TrendingLeft{width:100%}}.TrendingApp-Master .TrendingLeftTitle{font-family:NeueMontreal;font-size:30px;font-weight:450;line-height:1.1}@media (max-width: 768px){.TrendingApp-Master .TrendingLeftTitle{font-size:8vw}}.TrendingApp-Master .FaArrowTrendUp{width:max-content;height:max-content;padding:1px 4px;background-color:#3afa00;color:#000;font-family:NeueMontreal;font-size:14px;font-weight:400;border-radius:4px;display:flex;align-items:center;gap:4px}.TrendingApp-Master .trendingAppsBTN{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}@media (max-width: 768px){.TrendingApp-Master .trendingAppsBTN{padding-right:2rem}}.TrendingApp-Master .trendingAppsBTN button{width:max-content;height:max-content;border:none;background-color:#fff;color:#000;display:flex;align-items:center;gap:2px;padding:14px 22px;border-radius:50px;cursor:pointer;font-family:NeueMontreal;font-size:15px;font-weight:400;transition:all .3s ease}.TrendingApp-Master .trendingAppsBTN button:hover{background-color:#f0f0f0;transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.TrendingApp-Master .trendingAppsBTN button:active{transform:translateY(0)}.TrendingApp-Master .TrendingRight{height:100%;width:60%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding-bottom:4rem}@media (max-width: 768px){.TrendingApp-Master .TrendingRight{width:100%;padding:2rem}}.TrendingApp-Master .TrendingRight p{font-family:NeueMontreal;line-height:1.1;font-size:5vw}@media (max-width: 768px){.TrendingApp-Master .TrendingRight p{font-size:8vw}}.TrendingApp-Master .Trending-btn{background:#ffffff;color:#000;border:none;border-radius:2rem;padding:6px 6px 6px 16px;font-weight:400;display:flex;align-items:center;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal;font-size:16px;margin-top:2rem}.TrendingApp-Master .Trending-btn .icon-container{position:relative;background-color:#000;height:35px;width:35px;border-radius:50px;margin-left:2rem;overflow:hidden;display:flex;align-items:center;justify-content:center;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.TrendingApp-Master .Trending-btn:hover .icon-container{transform:scale(.9)}.TrendingApp-Master .Trending-btn .icon-main,.TrendingApp-Master .Trending-btn .icon-hover{position:absolute;color:#fff;font-size:16px;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.TrendingApp-Master .Trending-btn .icon-main{transform:translate(0)}.TrendingApp-Master .Trending-btn .icon-hover{transform:translate(-35px,35px)}.TrendingApp-Master .Trending-btn:hover .icon-main{transform:translate(35px,-35px)}.TrendingApp-Master .Trending-btn:hover .icon-hover{transform:translate(0)} diff --git a/dist1 (2)/assets/Trendingapp-26b1ff11.webp b/dist1 (2)/assets/Trendingapp-26b1ff11.webp new file mode 100644 index 0000000..2c43e4c Binary files /dev/null and b/dist1 (2)/assets/Trendingapp-26b1ff11.webp differ diff --git a/dist1 (2)/assets/ajax-loader-e7b44c86.gif b/dist1 (2)/assets/ajax-loader-e7b44c86.gif new file mode 100644 index 0000000..e0e6e97 Binary files /dev/null and b/dist1 (2)/assets/ajax-loader-e7b44c86.gif differ diff --git a/dist1 (2)/assets/android1-3733951f.png b/dist1 (2)/assets/android1-3733951f.png new file mode 100644 index 0000000..013c2a9 Binary files /dev/null and b/dist1 (2)/assets/android1-3733951f.png differ diff --git a/dist1 (2)/assets/appstorenew-37b10088.png b/dist1 (2)/assets/appstorenew-37b10088.png new file mode 100644 index 0000000..6918c90 Binary files /dev/null and b/dist1 (2)/assets/appstorenew-37b10088.png differ diff --git a/dist1 (2)/assets/appstr1-ddbd2c0c.png b/dist1 (2)/assets/appstr1-ddbd2c0c.png new file mode 100644 index 0000000..97c2858 Binary files /dev/null and b/dist1 (2)/assets/appstr1-ddbd2c0c.png differ diff --git a/dist1 (2)/assets/bighand-e66d63bf.png b/dist1 (2)/assets/bighand-e66d63bf.png new file mode 100644 index 0000000..f15ff7b Binary files /dev/null and b/dist1 (2)/assets/bighand-e66d63bf.png differ diff --git a/dist1 (2)/assets/bill-47228412.png b/dist1 (2)/assets/bill-47228412.png new file mode 100644 index 0000000..d824087 Binary files /dev/null and b/dist1 (2)/assets/bill-47228412.png differ diff --git a/dist1 (2)/assets/commingsoon-3a72aafe.png b/dist1 (2)/assets/commingsoon-3a72aafe.png new file mode 100644 index 0000000..498ae67 Binary files /dev/null and b/dist1 (2)/assets/commingsoon-3a72aafe.png differ diff --git a/dist1 (2)/assets/contact-92588c0e.css b/dist1 (2)/assets/contact-92588c0e.css new file mode 100644 index 0000000..680fbb9 --- /dev/null +++ b/dist1 (2)/assets/contact-92588c0e.css @@ -0,0 +1 @@ +.contact1{display:flex;flex-direction:row;row-gap:1rem;justify-content:space-evenly;margin:8vw 8vh}.contactNo{display:flex}.ContactMail{flex-direction:column;display:flex;justify-content:space-evenly}.contact-no{font-style:normal;font-weight:500;font-size:27.3037px;color:#000}.contactimg1{width:286px;height:244px;border-radius:35.9316px 0 0 35.9316px}.helpContainer,.helpDesk{display:flex}.mailLogo{display:flex;align-items:center}@media screen and (max-width:990px){.contact1{display:flex;row-gap:2rem;justify-content:space-evenly;margin:0;align-items:center;padding:5px}}@media screen and (max-width:768px){.contactimg1{display:none}}@media screen and (max-width:330px){.mailLogo{flex-direction:column}.mail-contact-logo{width:fit-content;margin:auto}}@media screen and (max-width:499px){.contactimg1{display:none}.contact-no{font-size:18px}.resupgrading{font-size:12px}.contact1{row-gap:1.5rem}}.contact-cont{display:flex;flex-direction:column;align-items:center;justify-content:center;row-gap:2rem} diff --git a/dist1 (2)/assets/contact-a97f3490.js b/dist1 (2)/assets/contact-a97f3490.js new file mode 100644 index 0000000..35c96af --- /dev/null +++ b/dist1 (2)/assets/contact-a97f3490.js @@ -0,0 +1 @@ +import{b as s,s as A,j as a}from"./index-35672308.js";import"./vendor-c65bce76.js";import"./ui-2d515953.js";import"./utils-faf49605.js";import"./editor-e98c3426.js";function e(){const e=s(A);return a.jsx(a.Fragment,{children:a.jsx("div",{"data-aos":"fade-up",children:a.jsxs("div",{className:"contact1",children:[a.jsx("div",{className:"contactimg1",children:a.jsx("img",{src:"/assets/contactimg-65ad5051.png"})}),a.jsxs("div",{className:"contact-cont",children:[a.jsxs("div",{className:"ContactMail",children:[a.jsx("p",{className:"contacttext",children:"Need Help?"}),a.jsx("div",{className:"mailText",children:a.jsxs("div",{className:"mailLogo",children:[a.jsx("img",{className:"mail-contact-logo",style:{width:"2rem",height:"2rem"},src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYBSURBVHgBxVh9TJVlFP+d914RqARNJMvqQn5guVBE8Q+HGG1kaTBX2tZK/iinmzZTG/GH85pWmDWtLb/WwsyW2hbaB7qmAsZWMNDpTEENrh9AkKXIx+Xe+973dJ7Xi0PlfoBX+m1n7/NxnvP87jnnOe9zX0KY8Xcnb5THEma0gXBZnn9phGL24OcRMXQuVDuEMKOlk0vkkdHbHBHOsBcfjbifdgADTOwSc5S1HWmmcSvGEGOSEMoEY2y3DgMOuJATP5RO4P9G4zWe3NzBO8Sj3C1XnPy+P/3wh/IqT+QI5GgaDPHWKRmqGB5NDd3zTU62WRgHpJmk+uK9XfHR9BruNST5q3t6xZQOrmpp59yeeuI9+815J38Z3PIvPIOOcIlIvXriIE9FH9B8nXOaO/kb2bBUCF29jWT9hTZ+qge5VT3I5fe0c0soBx/i2V7Gj7hVw0kupHteoCr0A1fcnOb1YLEcgAW+DVkkX8K7XvVVeZFwLlNtXUf6w0PoV5/eDUQd5HleoFCa0XdYZ5x1P4BUTKc2hIB/mEcNAxqIJMt8MHMLOCy2Es2NNSyKi6Rtqi3eKpHxDJHjcdFIlXWGpiaif+DZ8GKPxYtoEdwhBsZGtcIeCqmGDv68qwOXGjtgXG7n0ouSW8xMI6PI0eZEikTkoMcA3Do2X7zGqWqNoWOph9EpMqmhA6+bxCOL2Ga1oE7YBj2hYm9KZ3bgkNa3crE8ZvUcU3Wr3YnMpx+iOiE56EIbjskbYYKM1ybGUJJv3W55zBcWZQlDKEMbDHys6eJZ8UwwserYE1vIsYGIJcTQ8y43krwGnhGvfOXygt1e2AZHoOJ4E9skTB7xWI5vfFzNv7xIretyY6uMwaVjRs11HqeRJFyv4es9pInaEKxGECTFUe3ooVQy7kHKdWl4ws1wdHkxXLOa9QtjYulPCdt2RUTIzVdj4+Oo1GXAYZJzYZZm0REbMjHlOQ+WDdvN0/yRqmzk9MpmLvytycwta3Is1Xd5kOk24JGNk6qaOE/pOQ18K310Gcg46uCRaswlL3o1Jh5N16xeefvrsmEfxOrBPH/EhECB/OpcnVFY3ohylfhTJbe6dHymvOFkPKf0psZRmYxdU2MWK7J8a2tMHS+SNcmd033xmBIrI8IfMY8HyyU8RWZIDKQduoQVpjd0lPpCN6NKDoCPyGk11mngETPPdNT61t2nyUbFfSUmP6bYH7GZCfR75qM015f4EM+ZlV7KxB+qL7lGLQ2IN4npOO8jaxIVb7b7DsBwq5Wwk3W8J0c3BiFAKvi6C29QcTA9F2MzefGY2N2v+lk2qi86x1uk7GtzbXTZ56Hv5RI5gg3sU335EWeknu6DBWVm7UrYytuk2CwMtplsUuBYTPkYANwgtonjLYNQKzsH8tqZ80voSQwQzFdS/TJq1txYH6TAjh+9kVMwQNC6G5FynGXzmoCn0cBWDBBuEjv5DnVYXVgsBVcXQW8iNW/KhA38AQYAWs/OqXwq1QysDhhSHfnJBbwU9xi93ihS1nKRHOucgAsZ9mOraE1vc5PW8rNSVl6Vo98qejur7XQM4SA20c6xFkK1TCYGXM1YU2Une8+hyXbeLqTevE1vg9yV3oWdDNwNMYVpdrYZBtQ1dxQCkzttMOZWraPatFX8qXj6LT+aDrm1ZlfY6STuhphC6kqeMCgCR6U5FMFRL5IQTEmK9ObICOSV2qkd/SWmMH05j5U3WYU0YxEmqBut3ANfKv+EqtFfYia5PE6WOrZfrsOPI4yQuph2ZCNV9janhbAe5evphPzCDLnBOkQQLhHXfehvz5CIKZRuIod4bKbUsjp/BbivIrePxLsm1k3Oq2GyGNwbyp+XYCLpcdbfXv3+qJK1kFdIvSqQAmpFPyAHoNVjQcrhLVSHcBJTmLOEEwwnjogRW1/Wya4SSGT/9IX/C2dYPkPNyeU8MfS2NOOD6YqXW+VKnX3gayoLqIcwISeXbfIZM09j89+0v4LcJQdowb5dtDeYvbB/uMt6mYfdNwgviuFXpJtEN15pLZJTlfIxb+V3u+h8KHb+A50xdYbV9qmyAAAAAElFTkSuQmCC",alt:""}),"    ",a.jsxs("div",{children:[a.jsx("h1",{className:"contact-no",children:"Toll-free 1921681254"}),a.jsxs("p",{className:"resupgrading",children:["For ",e," Upgrading queries"]})]})]})})]}),a.jsxs("div",{className:"ContactMail",children:[a.jsx("p",{className:"contacttext"}),a.jsx("div",{className:"mailText",children:a.jsxs("div",{className:"mailLogo",children:[a.jsx("img",{className:"mail-contact-logo",style:{width:"2rem",height:"2rem"},src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAOYSURBVHgB7ZhZaBNbGMf/Z7Y0W5PWa1sul8v1Yu91A8WlYl3QFkFFBBdUhBYFxeqL2kVwQW1tn7RVRHypuFTF7UGfRLCUvoioD4pSRUUQ40rU1prUppnM8ZuBuGWaTJrlqT8YEuacb+bPd/7fd04CDDNMZmHRL91zJ3kVLhdrjDv7L99ANsmprwN//CDC+8Quz61bn74LC5RNOwDGaqMTI+WLoFasB3e5kUlYXwBSWyvE9mvf73GOenfHnX0sWFayizM0/h7ERxZioOEgfRYhEzD/Oyj7d4C9eRU7yNk29qW8pIvSNs402p2L8OYaRKaVIp2I9+9COtQEFgyajpOelyxQXsITPUhdWUlXBdKBdPkspIunE8zimiVhOpHpM6FWVYNTFoeC7if5QAOEh/cszRdgEfH2TSjbNxveSFrU29dQaqosizIVxovHQF2y0nQy87+HrXYTxJudsIrYcR1KbZURa0b3vAXoLx6LxMIUG9TKDVDXVtGoSUKDtCRkXOnsccSFa5DPnYB8rBks1B8zrDkc8K9ehw8rKqkIkVhYFHXxcoSOtg3aLqSrF6HsqTHNBOv+CGV3NcQr501jwwVF8NU2oGf2fAxGXI/xAupljS3Qps8yD370wBAn+F78EPX8KZSdWyA86TKNCUwtha+uAQOFfyIeEhLAR4zEQN1eSJfa6DoTM65nTKnZaLQU7nJBOtNKSxeKfRAtl39ZBXrKFsIKCYVF0V8cmVwCpbkptjI1DdKFU4PGRrxevF2/DV9HFcMqltuFDh89BgP1B6GNn2g5pv/f/+Db3pSUqKSF6Ri+I3FWdoJPC5fCV70XYU8eksXyUv6O4am//oF08phRhT+jOZ3wr1qH3ilD32OHLEwnUjoH2uj/oTTRKeG1z7gX+nsU+WkrwlQ0qZCSMB19aUMtrZCpGoO9vVR5a6DJNqRKysIMRBFh2ilCfV+hfQkgHSRt/ni4HXYUjciDREJTJa3CdGRJQkGeB4osIxXSLkxHpIwV5nspgw4MlYwIi+J1O5Gf66ZDSvKvyagwHac9x8hesr7LuDAdXVQBFYXdZr2NCMaJLguIjOEPby48tCtYgAucejaySK7LQQI9cX1Hv44eC4yzFmQZu02J7zvGzwuujtuH6cxdjyyjiyok3zlyfvWdBt7sbr/baGxJ7vY7+z7PmHFEsKsTmKYvb1ZsR3+XAPkeF1TKDAMPOiLOZ6yzswfDDJMFvgFcdh0+isN//wAAAABJRU5ErkJggg==",alt:""}),"    ",a.jsxs("div",{children:[a.jsx("h1",{className:"contact-no",children:"info@pozo.in"}),a.jsxs("p",{className:"resupgrading",children:["For ",e," Upgrading queries"]})]})]})})]})]})]})})})}export{e as default}; diff --git a/dist1 (2)/assets/contactimg-65ad5051.png b/dist1 (2)/assets/contactimg-65ad5051.png new file mode 100644 index 0000000..f0e010b Binary files /dev/null and b/dist1 (2)/assets/contactimg-65ad5051.png differ diff --git a/dist1 (2)/assets/curvearrow-942dc9bf.png b/dist1 (2)/assets/curvearrow-942dc9bf.png new file mode 100644 index 0000000..1de88c5 Binary files /dev/null and b/dist1 (2)/assets/curvearrow-942dc9bf.png differ diff --git a/dist1 (2)/assets/defaultAppImage-1225fa73.svg b/dist1 (2)/assets/defaultAppImage-1225fa73.svg new file mode 100644 index 0000000..254ad5a --- /dev/null +++ b/dist1 (2)/assets/defaultAppImage-1225fa73.svg @@ -0,0 +1,12 @@ +<svg width="1500" height="800" viewBox="0 0 1500 800" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> +<rect width="1500" height="800" rx="4" fill="#EEEEEE"/> +<path d="M882.767 392.373C882.767 398.83 881.254 404.732 878.227 410.079C875.302 415.326 870.812 419.563 864.759 422.791C858.806 425.919 851.492 427.483 842.815 427.483H828.136V463.5H798.475V356.81H842.815C851.391 356.81 858.655 358.323 864.607 361.35C870.661 364.377 875.201 368.564 878.227 373.911C881.254 379.258 882.767 385.412 882.767 392.373ZM839.94 403.875C848.314 403.875 852.501 400.041 852.501 392.373C852.501 384.605 848.314 380.721 839.94 380.721H828.136V403.875H839.94ZM945.834 464.559C935.846 464.559 926.665 462.239 918.292 457.598C909.918 452.856 903.259 446.349 898.316 438.076C893.473 429.702 891.052 420.269 891.052 409.777C891.052 399.284 893.473 389.902 898.316 381.629C903.259 373.255 909.918 366.748 918.292 362.107C926.665 357.466 935.846 355.145 945.834 355.145C955.923 355.145 965.104 357.466 973.377 362.107C981.751 366.748 988.359 373.255 993.202 381.629C998.044 389.902 1000.47 399.284 1000.47 409.777C1000.47 420.269 998.044 429.702 993.202 438.076C988.359 446.349 981.751 452.856 973.377 457.598C965.003 462.239 955.822 464.559 945.834 464.559ZM945.834 437.017C953.401 437.017 959.353 434.545 963.692 429.601C968.131 424.658 970.35 418.05 970.35 409.777C970.35 401.302 968.131 394.643 963.692 389.801C959.353 384.857 953.401 382.385 945.834 382.385C938.167 382.385 932.164 384.857 927.826 389.801C923.487 394.643 921.318 401.302 921.318 409.777C921.318 418.15 923.487 424.809 927.826 429.753C932.164 434.595 938.167 437.017 945.834 437.017ZM1046.18 439.438H1090.53V463.5H1012.89V440.951L1056.78 380.721H1012.89V356.81H1090.53V379.359L1046.18 439.438ZM1157.76 464.559C1147.77 464.559 1138.59 462.239 1130.22 457.598C1121.84 452.856 1115.18 446.349 1110.24 438.076C1105.4 429.702 1102.98 420.269 1102.98 409.777C1102.98 399.284 1105.4 389.902 1110.24 381.629C1115.18 373.255 1121.84 366.748 1130.22 362.107C1138.59 357.466 1147.77 355.145 1157.76 355.145C1167.85 355.145 1177.03 357.466 1185.3 362.107C1193.68 366.748 1200.28 373.255 1205.13 381.629C1209.97 389.902 1212.39 399.284 1212.39 409.777C1212.39 420.269 1209.97 429.702 1205.13 438.076C1200.28 446.349 1193.68 452.856 1185.3 457.598C1176.93 462.239 1167.75 464.559 1157.76 464.559ZM1157.76 437.017C1165.33 437.017 1171.28 434.545 1175.62 429.601C1180.06 424.658 1182.28 418.05 1182.28 409.777C1182.28 401.302 1180.06 394.643 1175.62 389.801C1171.28 384.857 1165.33 382.385 1157.76 382.385C1150.09 382.385 1144.09 384.857 1139.75 389.801C1135.41 394.643 1133.24 401.302 1133.24 409.777C1133.24 418.15 1135.41 424.809 1139.75 429.753C1144.09 434.595 1150.09 437.017 1157.76 437.017Z" fill="#A8A8A8"/> +<path d="M1116.93 323.834C1115.68 323.834 1114.65 323.472 1113.84 322.749C1113.06 321.997 1112.67 321.079 1112.67 319.993C1112.67 318.88 1113.06 317.948 1113.84 317.196C1114.65 316.445 1115.68 316.069 1116.93 316.069C1118.15 316.069 1119.15 316.445 1119.93 317.196C1120.74 317.948 1121.14 318.88 1121.14 319.993C1121.14 321.079 1120.74 321.997 1119.93 322.749C1119.15 323.472 1118.15 323.834 1116.93 323.834ZM1123.95 311.811C1123.95 309.417 1124.4 307.316 1125.29 305.507C1126.21 303.698 1127.44 302.306 1129 301.332C1130.56 300.358 1132.3 299.871 1134.22 299.871C1135.86 299.871 1137.3 300.205 1138.52 300.873C1139.77 301.541 1140.73 302.418 1141.4 303.503V300.205H1148.54V323.5H1141.4V320.202C1140.71 321.287 1139.73 322.164 1138.48 322.832C1137.25 323.5 1135.82 323.834 1134.18 323.834C1132.29 323.834 1130.56 323.347 1129 322.373C1127.44 321.371 1126.21 319.965 1125.29 318.156C1124.4 316.319 1123.95 314.204 1123.95 311.811ZM1141.4 311.853C1141.4 310.071 1140.9 308.666 1139.9 307.636C1138.92 306.606 1137.73 306.091 1136.31 306.091C1134.89 306.091 1133.68 306.606 1132.68 307.636C1131.7 308.638 1131.22 310.03 1131.22 311.811C1131.22 313.592 1131.7 315.011 1132.68 316.069C1133.68 317.099 1134.89 317.614 1136.31 317.614C1137.73 317.614 1138.92 317.099 1139.9 316.069C1140.9 315.039 1141.4 313.634 1141.4 311.853ZM1160.84 303.503C1161.54 302.418 1162.5 301.541 1163.72 300.873C1164.95 300.205 1166.38 299.871 1168.02 299.871C1169.94 299.871 1171.68 300.358 1173.24 301.332C1174.8 302.306 1176.03 303.698 1176.92 305.507C1177.83 307.316 1178.29 309.417 1178.29 311.811C1178.29 314.204 1177.83 316.319 1176.92 318.156C1176.03 319.965 1174.8 321.371 1173.24 322.373C1171.68 323.347 1169.94 323.834 1168.02 323.834C1166.41 323.834 1164.98 323.5 1163.72 322.832C1162.5 322.164 1161.54 321.301 1160.84 320.244V334.605H1153.7V300.205H1160.84V303.503ZM1171.03 311.811C1171.03 310.03 1170.53 308.638 1169.53 307.636C1168.55 306.606 1167.34 306.091 1165.89 306.091C1164.48 306.091 1163.26 306.606 1162.26 307.636C1161.29 308.666 1160.8 310.071 1160.8 311.853C1160.8 313.634 1161.29 315.039 1162.26 316.069C1163.26 317.099 1164.48 317.614 1165.89 317.614C1167.31 317.614 1168.52 317.099 1169.53 316.069C1170.53 315.011 1171.03 313.592 1171.03 311.811ZM1189.18 303.503C1189.87 302.418 1190.83 301.541 1192.06 300.873C1193.28 300.205 1194.72 299.871 1196.36 299.871C1198.28 299.871 1200.02 300.358 1201.58 301.332C1203.14 302.306 1204.36 303.698 1205.25 305.507C1206.17 307.316 1206.63 309.417 1206.63 311.811C1206.63 314.204 1206.17 316.319 1205.25 318.156C1204.36 319.965 1203.14 321.371 1201.58 322.373C1200.02 323.347 1198.28 323.834 1196.36 323.834C1194.74 323.834 1193.31 323.5 1192.06 322.832C1190.83 322.164 1189.87 321.301 1189.18 320.244V334.605H1182.04V300.205H1189.18V303.503ZM1199.36 311.811C1199.36 310.03 1198.86 308.638 1197.86 307.636C1196.89 306.606 1195.68 306.091 1194.23 306.091C1192.81 306.091 1191.6 306.606 1190.6 307.636C1189.62 308.666 1189.14 310.071 1189.14 311.853C1189.14 313.634 1189.62 315.039 1190.6 316.069C1191.6 317.099 1192.81 317.614 1194.23 317.614C1195.65 317.614 1196.86 317.099 1197.86 316.069C1198.86 315.011 1199.36 313.592 1199.36 311.811Z" fill="#A8A8A8"/> +<rect x="91" y="125" width="748" height="550" fill="url(#pattern0_1114_1471)"/> +<defs> +<pattern id="pattern0_1114_1471" patternContentUnits="objectBoundingBox" width="1" height="1"> +<use xlink:href="#image0_1114_1471" transform="matrix(0.00460958 0 0 0.00626114 -0.610236 -0.663726)"/> +</pattern> +<image id="image0_1114_1471" width="480" height="376" preserveAspectRatio="none" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAF4CAYAAACM4Sq7AAAQAElEQVR4AeydCZwcVb22O+tkMlsy2SGBLIQkECABQkIAI2GVVRYV9epVQVHhqgi4i+AGchEE3BX5rshVXLiXKwiI7PuihEDAJJB9n0wymUlmz+R73kO6nZlMZp/p7qqXX5+p6qpzTp3zHNJP/U9VV/dN+D8TMAETMAETMIFeJ2AB9zpyH9AETMAETMAEEol4C9j/B5iACZiACZhAmghYwGkC78OagAmYgAnEm4AFHN/xd89NwARMwATSSMACTiN8H9oETMAETCC+BCzg+I59vHvu3puACZhAmglYwGkeAB/eBEzABEwgngQs4HiOu3sdbwLuvQmYQAYQsIAzYBDcBBMwARMwgfgRsIDjN+busQnEm4B7bwIZQsACzpCBcDNMwARMwATiRcACjtd4u7cmYALxJuDeZxABCziDBsNNMQETMAETiA8BCzg+Y+2emoAJmEC8CWRY7y3gDBsQN8cETMAETCAeBCzgeIyze2kCJmACJpBhBHpZwBnWezfHBEzABEzABNJEwAJOE3gf1gRMwARMIN4ELOBeHH8fygRMwARMwASSBCzgJAkvTcAETMAETKAXCVjAvQg73ody703ABEzABBoTsIAb0/C6CZiACZiACfQSAQu4l0D7MPEm4N6bgAmYQHMCFnBzIn5vAiZgAiZgAr1AwALuBcg+hAnEm4B7bwIm0BIBC7glKt5mAiZgAiZgAj1MwALuYcCu3gRMIN4E3HsT2BsBC3hvZLzdBEzABEzABHqQgAXcg3BdtQmYgAnEm4B73xoBC7g1Ot5nAiZgAiZgAj1EwALuIbCu1gRMwARMIN4E2uq9BdwWIe83ARMwARMwgR4gYAH3AFRXaQImYAImYAJtEYi2gNvqvfebgAmYgAmYQJoIWMBpAu/DmoAJmIAJxJuABRzd8XfPTMAETMAEMpiABZzBg+OmmYAJmIAJRJeABRzdsY13z9x7EzABE8hwAhZwhg+Qm2cCJmACJhBNAhZwNMfVvYo3AffeBEwgCwhYwFkwSG6iCZiACZhA9AhYwNEbU/fIBOJNwL03gSwhYAFnyUC5mSZgAiZgAtEiYAFHazzdGxMwgXgTcO+ziIAFnEWD5aaagAmYgAlEh4AFHJ2xdE9MwARMIN4Esqz3FnCWDZibawImYAImEA0CFnA0xtG9MAETMAETyDIC3SzgLOu9m2sCJmACJmACaSJgAacJvA9rAiZgAiYQbwIWcDeOv6syARMwARMwgfYSsIDbS8r5TMAETMAETKAbCVjA3Qgz3lW59yZgAiZgAh0hYAF3hJbzmoAJmIAJmEA3EbCAuwmkq4k3AffeBEzABDpKwALuKDHnNwETMAETMIFuIGABdwNEV2EC8Sbg3puACXSGgAXcGWouYwImYAImYAJdJGABdxGgi5uACcSbgHtvAp0lYAF3lpzLmYAJmIAJmEAXCFjAXYDnoiZgAiYQbwLufVcIWMBdoeeyJmACJmACJtBJAhZwJ8G5mAmYgAmYQLwJdLX3FnBXCbq8CZiACZiACXSCgAXcCWguYgImYAImYAJdJZDdAu5q713eBEzABEzABNJEwAJOE3gf1gRMwARMIN4ELODsHX+33ARMwARMIIsJWMBZPHhuugmYgAmYQPYSsICzd+zi3XL33gRMwASynIAFnOUD6OabgAmYgAlkJwELODvHza2ONwH33gRMIAIELOAIDKK7YAImYAImkH0ELODsGzO32ATiTcC9N4GIELCAIzKQ7oYJmIAJmEB2EbCAs2u83FoTMIF4E3DvI0TAAo7QYLorJmACJmAC2UPAAs6esXJLTcAETCDeBCLWews4YgPq7piACZiACWQHAQs4O8bJrTQBEzABE4gYgQ4KOGK9d3dMwARMwARMIE0ELOA0gfdhTcAETMAE4k3AAu7A+DurCZiACZiACXQXAQu4u0i6HhMwARMwARPoAAELuAOw4p3VvTcBEzABE+hOAhZwd9J0XSZgAiZgAibQTgIWcDtBOVu8Cbj3JmACJtDdBCzg7ibq+kzABEzABEygHQQs4HZAchYTiDcB994ETKAnCFjAPUHVdZqACZiACZhAGwQs4DYAebcJmEC8Cbj3JtBTBCzgniLrek3ABEzABEygFQIWcCtwvMsETMAE4k3Ave9JAhZwT9J13SZgAiZgAiawFwIW8F7AeLMJmIAJmEC8CfR07y3gnibs+k3ABEzABEygBQIWcAtQvMkETMAETMAEeppAZgu4p3vv+k3ABEzABEwgTQQs4DSB92FNwARMwATiTcACztzxd8tMwARMwAQiTMACjvDgumsmYAImYAKZS8ACztyxiXfL3HsTMAETiDgBCzjiA+zumYAJmIAJZCYBCzgzx8WtijcB994ETCAGBCzgGAyyu2gCJmACJpB5BCzgzBsTt8gE4k3AvTeBmBCwgGMy0O6mCZiACZhAZhGwgDNrPNwaEzCBeBNw72NEwAKO0WC7qyZgAiZgAplDwALOnLFwS0zABEwg3gRi1nsLOGYD7u6agAmYgAlkBgELODPGwa0wARMwAROIGYFmAo5Z791dEzABEzABE0gTAQs4TeB9WBMwARMwgXgTsIAbjb9XTcAETMAETKC3CFjAvUXaxzEBEzABEzCBRgQs4EYw4r3q3puACZiACfQmAQu4N2n7WCZgAiZgAiawm4AFvBuEF/Em4N6bgAmYQG8TsIB7m7iPZwImYAImYAIQsICB4JcJxJuAe28CJpAOAhZwOqj7mCZgAiZgArEnYAHH/n8BAzCBeBNw700gXQQs4HSR93FNwARMwARiTcACjvXwu/MmYALxJuDep5OABZxO+j62CZiACZhAbAlYwLEdenfcBEzABOJNIN29t4DTPQI+vgmYgAmYQCwJWMCxHHZ32gRMwARMIN0E0ivgdPfexzcBEzABEzCBNBGwgNME3oc1ARMwAROINwELOH3j7yObgAmYgAnEmIAFHOPBd9dNwARMwATSR8ACTh/7eB/ZvTcBEzCBmBOwgGP+P4C7bwImYAImkB4CFnB6uPuo8Sbg3puACZhAwgL2/wQmYAImYAImkAYCFnAaoPuQJhBrAu68CZhAIGABBwz+YwLxI7Br167+pMGlpaWFW7ZsKSorKxuqtG3btuLy8vJhSlu3bh1CngHxo+Mem0DPE7CAe56xj2ACvU4AaUqugzZs2JAnuUqmJSUl+6xevfqAZcuWHbp8+fLZS5YsOfrpp5/+wKJFiy5cuHDhJS+99NJlzz333BeffPLJrz322GNX/e1vf/sq+y9+/vnnj1+/fv2IXu9ENA/oXplAioAFnELhFRPIbAK7pZqriFVCraioGLF27dpxK1eunLhixYppr7322qwFCxYc/+yzz74Lib778ccffw9C/SzLKx566CFJ9bsI9Ub23/LUU0/djFh/iJS/tHnz5itInyPavYTo92Lq/RjpI1VVVR/lWJ956623vv7KK6+8C1EXZzYht84EsouABZxd4+XWRoAAIu1DUoSaQ0SaiwQLkN8QRZlEpqOXLl069o033hhPOvDFF188CmnOR6JnEZF+4N577/0E0ekV991331X33HPPdYj2OiR7E1K99dVXX70FSf4AYd60atWq/6TuaysrKy+rqam5tK6u7sKdO3e+t2/fvqcOGDDguEGDBs0ePHjwodu3b59Enn2qq6tH1NbWFpNnCIiL+vXrV0gaMnTo0H3YNnPdunUXrVmzZgbt9mcGgPzqJAEXa0LA/5ia4PAbE+gYAYQkkQ5kmavp3k2bNuUrSapaItTxCPHA119/fTpR5ByEehay/OgTTzxxCSL9HBHrtxDsdxDs9Wy/kWngW/7xj3/cQt5b2fdDZPwDItwbEeD3iEavQZZfQoiXIMePDBw48AKOe25DQ8O7+vTpczxyndO/f/9D2T4lJydnPJLdl23D6ZGkWsAyl7wDSH2pI1FfX58gT4K8CcokKJsgP9kSCeoNiUg4gbDz8vPzx1PuCNpUGDL4jwmYQJcJWMBdRugKokgAASWj1CBX5FeIYEcuW7Zsf66dTkOMM4lQ5xJ9foTp3E8h08uR5tUvvPDCDQj1Z48++ugdjzzyyB95/19I99fs+zXR6W2UvZHp4qsR6hcR9OeJOj+GCD9MhHoBy3OQ3Bmkd5FOog3vhO0c0mGsTyWNJ41mXzHLQtJgxDuINID1vmxPJMVKfQnqDkJlf0KJeoJUyZtQ3sZJ5bQ/uZSUaU8C0YeylCnmWvJcImXJXFmdTMAEOkZgj9wW8B5IvCEOBBShMuU7HhkeT4R6AnI89e9///s5zzzzzIcR56e5ZvrlBx544Bt33333TaRb2fZTotbbuG76X0j1dsT7K8R6G9OyX6eer1DfZWVlZZ9gSvdDSOo85HU6gpNE3wHP2QhwJjI7iChzEstxvB+D1EaSfyhRbRFlCpBmHmVyiUIHkS+HyHMAkWkflikRsj9ErkwrJ5SoI0iVYwRRUneCsiGpnITaOA91Bykn82k/bQ1CVh1KOoYSx9bbZNKd0EPZnp/c4KUJmEDXCFjAXePn0llE4Pe//32/v/71rx/605/+9A2mfG9Atjcg0a+9/PLL3yCa/TrR7ZfWrl37uc2bN0uml5SXl1+MoD5Iej/dPA9pno7U5jFtq+unM/Ly8qYir/3YP5IUolLyKSrNQXD9SWGqVwJkexAkdWg1JG0vKChIUE8iNzdXU71BjtpOvQmEnEDOCeQc1pFf2C8xDh48OKHEMYKcJVZVqjzJsiqvbaovmWhniJK1VD7qqkPYNUS8lfStknV27UxUVVWpaCpRvj9vBiP9PJZ+mYAJdAOBWAm4G3i5iiwjgESHc031xHvuuedKzPKtLVu2HINcZu7YseMw5DYdoUxBcIewPBJhzUJKM5HYAQhnH2Q5gu1FTOVKPANZ70MKkSdlghjJkxIrZUI0SvmU5LRN75U4fmq71rWNtoT6OEaIbLVNZZL1FjQTtLaTZydtraUtleSt4H0ZqZR9mxieDSzXktawvor0JmkJ7/+JrBch2AWI9iXE+wzSfYh6/krZ+9j+e97/npOBBzjBWE294dowZZOvvpQfRH5fA04S8dIEukjAAu4iQBfPXAJcs81bvXr1pI0bN05CvBMR1jQixXFEm8MRDQHkYE3zDkFIQxDQQATTh/1BqOqVJETe1I1KCCpEqeRPLZUvmZBciFCpJ0Sl1Bki22Q5vVdSeW1DdOHmJ71XYl89x68mVVDXFtIGpqjXcKKwDFH/E0kvQNzP0q7HyfMQ6V5OGP4Xgf6R9bs47p3UeXt+fv4vhwwZ8vNhw4b9bPz48d+bOHHi9ZMnT/4e6bvTpk277pBDDvn2jBkzvn3YYYdde8EFF7zntNNO+/jZZ5/9uaOPPvob7L969OjRv6XeMk5Skl0LJxa0J5cTj5Ecv19qh1dMwAQ6TcAC7jS6bCsYv/aOGjWqluuzcxDYYQhuAlHfGAQ2GakdVFFRMRXB7E9El4dsQmSKksS1hAAAEABJREFUWIJ8kVlKoOQP+5BcuE6qPI1Tc6rJfFqqLOJsINWSaEblNpalnAhsQKZrSMtYf4O0gPXnaMvjlHuQdDey+w3pV5wo3EIUfNPQoUOvR4zf3X///b9zwAEHXIcoryd9/x3veMc3jznmmGuPOuqo/0SgN82dO/fmefPm/ZBtP5ozZ85PkO2fEfBfpkyZcv+kSZMepA6tP8j630iPc4yqoqIiyX4bx9iItN8aM2bM/Uh8PTJv0j24DKQTw7huruvBTfb5jQmYQMcJWMAdZ+YSWUKgpKQkh3Q8gjsBAR9MGk+UOQoRK/ptQG6VrOyUaNgX5CtpIsNwDRTZBPlqG1JMKCXlC4KdpFr2VbK9nO2lvF+H0JYRiWqq93mWf+NY9xHt/g/H+S1SuwPZ3YZQf0b6MelWhPothHr11KlTryYivXr27NlXIdWrEOk18+fPv27mzJm3nnXWWT8nSr2D939ErPfNmjXroUMPPfQJotgXxo0b9yZ1LJswYcKKfffddzUnHRsLCws3c5wtRMFbOebGESNGrNeS7aWsK7qupp11pAbanHrxvoZy5eRbTdsrOCFI7aN/Wu/PtgL6488N0XAygS4S8D+kLgJ08cwlQGTbgEh0M9QQJDmK90q6hqmv7fC2vpIpVUWk6xDLWvLo+mkJkV4p4txM2oiU1vN+BcvXSQtImv69h17/lvRrJCqR3lJcXPy9kSNHXjN27NgvE1lejlQ/P23atMsPP/zwS4488sjPIs0rjzvuuC8j06tI3znjjDOuP/3002859thjf0ekes8RRxzx4PTp058iWl2ISFch1i2SJWKVLGs5bj1pF8fs0RfH2MnJQjnLHZxcNDkW2/qwzdFvEyp+YwKdJ2ABd56dS2Y4AaZSG3JzcxXJDUSifRXFIRBdv61jvQoDlyCV15D0C0TATxId/xXp/plo8TdMxd6CTL9Dug4JfhU5foKo80IJ9dRTT73wve9974Usv4hcv0Ek+t2TTz751uOPP/52ItQ/SqZErs8w/bsQEa9GqhuJUrci6O0cr4ak6HMnywZSj0u1o8MEG7WrnBOSXXALMwOwCTedccKxgxmFgR2t0/lNwAT2JGAB78nEW6JDQBFwJd2pRyrhBisJhfV+LCuZen7rwAMP/BGyvIbrppcxxfsfRKP/gUC/gnBvJJL9FVHrLVxf/d3BBx/8PDJ/nWnr5UhIEWIt07Vb9tlnn0qi1SpEqkhVYm0yrcuxM+DVsSaof5qGhk8VrEJh+qdlH6Q8cOvWrY6CRcPJBLpIwALuIkAXz2gCu7heWYJE6hFHELBEQhTcHwHvJNJdTpT8BNHvP4lONxD1lkuoSqNHj96hpN5RRhFhPZFwtfZt3Lhx4Pr160dUVFSEpK86lZWVDS0tLS3ctGlTPsfLJekJWnpMZQ7r+g6tqsqWpP6WEOnWMEsQroPDQDMHTBb0G8Qsge+CzpaRdDszmoAFnNHD48Z1kUBfojjd4dskAkbGmlYdyLXOEgRcIbG25zj6WtNbb7114IoVKz74yiuvfOfJJ5+89bHHHvvlE0888cunn376Fy+++OJPFi5c+INHH330e48//vjVTz311BcXLFhwFtveRf4TFi1aNPuNN944ZPny5VNXrVo1aeXKlRNXr169rxLiHk39I5H5MCLMIVu2bCliW3iu9Lp16wZTZhAil9T7sezTnvZ2IU8DJyWlnKjUINtwRzjH1PeUB3DNfGxFRcXQLtTd60V9QBPIVAIWcKaOjNvVZQJEqf0Q8FaiXQlY0g1JMqHygVzXbNi8eXO7rmeWlJQUIN5zEej1iPNqZPmR0tLS9+3YseOs7du3n006b9u2bR9g20ep85PI8zKO/yWk+9PXXnvtF6TbkfF/v/zyy3949tln//DMM8/8kXQXSe9/i8R/g8Rvf/jhh3/G+g+R903PP//8jZT7+uLFi7+yZs2ayyn36RdeeOEj//jHPz5APe9heRb7jiMdtWTJkhm0bxoyP2Dt2rX7sdyXNu9DO0cizBESO+0rltxpYypSJ5+idUXqkvsA8uch/wK4VQ0ePHinWCHicAc4UXAOaSzc/LOE/A/klwl0lYAF3FWCLp+xBIhu65HFVuZNa9VIyURJ60TBg5hiHUKk167pYWQ6HbFdgGhPROhjuB48gGul4QEVqpP6wlQtsupbV1c3gKSnRuWTr5hp8FGkcaSJHG8KaTp1zKBdevrW0bW1tcfRlhOILk+trKw8G6m/l+N8AHH+G+L9NOk/kP4VRMFfJQL/NrK9Dulez1KP0vwJUv4Z6edI+5dE5b9A4L9C7Lc/8sgjtyH1H/3tb39TVP599umnC7+NuK8mKr8K2X+dej9H5P4xZH8RJwjvpo/v5uThJI79Hvo0Qn2jT0Km50vrGdUTmJY+hKh8f/Jput2fIYFOpv5xuzKZgP/xZPLouG1dJVCP7CoRnW6SClGcKiSK07oeLTmkqKioRttaS8hmMFHhkVVVVYch9DyVR5YJRBkiamQanoDFPl0nTSDa8PQsosjwfWLk2uRxkxIacgvypn2hjMrSTj3uUdenB1Cnos1cJJ+fl5dXiMiHUO9w8o1m31jaq19GmkyUejD7Z3CsWeyfSx3vpH3zqf8EjnMSIj8LmZ5HBPw+IuB/IwJW5P5xouBP0qdLkPoXiZy/vXTp0m+yfvObb755A2L/8ebNm0/iJIIZ6IESb+gndfahnnHLli37LBL/NpL/6kMPPfRx0nlI/iSm449D8rPZPvO55547CLFPZOp9LCcLwzlxKBLHl156yTdwMXh+mYAIWMCi4BRJAohINxNVIizdCR2Ep4iO7RJwXyLPAqZpC9nW6k1FiLaYfMcislEqS32Bl+RJWdUVEsLTddLwwwnUHX4OUHmQZpAYcgyiVh1KqgSphbJa6n3jpDwSvQSu+og8Q17l0T7Vx0lBkLz2I8ywnzaxW/ec9e2HnAcib9yco+hVv7SUx/582lpAfYUYtoj2KdIdxrYxHG80UXh43CRSD189Ur3qM5Xo0ZoDOe4Ujnc2+S5C5F9B1teSbmT6+kYkexMR+81c474Vod/KFPpPkO5PEfKPuS5+C6K/8Xe/+931pGvuuuuuL5Iuu/POOz/D+w8+8MADR7366quj1D8nE+gOAplehwWc6SPk9nWJwIgRI/Q85f4YaRfiCHJEOqqzL/Iainx0DbhVAZO5EFntRzSqeoLwkFqYcpY4Va/q1BK5hWiR44X9et88qUwyKV8ycZw9XhJfMjXPp3p1TKXmebRPSfKk7aEtOqa26SDJuvQemYZnUiPgsNR+5VVZ1Svxqg6dCOhYlNGPUhRQx3D270eazPp00uHsm0XZ2aS5pHnseydlTuRE5FTWzyLP+dT/AdJHSZ8kz6Xsv5TlV4jOf8o19tvuueeeL3ONezz7/TKBSBOwgCM9vO4cH+z1fMBXQEKPjmSRSEbC+n8/B7HksLE/aa8vBFXAziJSKItEtBqSxMv+IGUJSutIKBXxaj1kbPQHEYVIWEvaFu4y1nrjelUumehDiGwlSNobTiJ0HKVG1TZZVV1Kyfr3tlQepcaFk8fVUsdTSrZB25Rf7VXSPiW1jTxiKpYDyTOIlMcJTj75ithXTFKkPZo69iWNo8x48kwkSeDTaMPBbJvDidH7kPHHiaInsc0vE4gsAf2D6bnOuWYTSDMBxFNDBKef6tPTr0J0iggkUj1UYhDyKORaqKSx15YiBUV7EkoQYeOMEjAykVCruR4bHl+JdNaT1rF9M6mE4yltph59tWcrx9xGdFlO2o5Ed7DUU7lq2K826o5tTZ3vQkxqZ2iz1hFZEDvRZLjOTL8aN6VJPuVVou4gbI4Zpsc5RoiGk0vVq6S8ySXMwkmBljqGkvqp49Iv9TUcSwfXdiXtU/5kPdpH3wMv+q+3oU7lU1K+sJE/Oi5JL4l7GEymMqV9FlPYZ1CHrxnDyK9oErCAozmu7tVuAshBApYIJbYgDz7Ug0CQQA4f9kWIo9UpaCLbIdhBj7MMQmE9iFGHKCsrk+DWcK31z0x33zJs2LCbhwwZcmNhYeEN+fn5ek70j9j3Y9Z/hqBv47rqfyG035DuQmZ/pH3/i5DuZf1B0iO05QnS07TtWY7zAusvc5xXSItIi5HZMtIqBLoWqW5gfRP9Uf+2sCwj6feBK9leTaqjjCL/1OMu2c+mf72oI4hZS/KH/ilPMiUF3tJSZZJJ+7WeXGqdNopNqJO+BOaqV9uT+//VkkQYGxhoqXEZV15efgQiHtQ4j9dNIEoELOCeG03XnAEE+KCvRXZ6GladBIPYgjy1pHkDkGshAsxlvcUXwuhLHt35PEASUR1asj3kR6ylEydOvPuwww67dvr06bcccsghN5944ok/PP744380c+bM62bMmHH9rFmzrj/qqKOuPeaYY76lXzqaP3/+V3n/xdmzZ1928MEHX6lEuSunTp165ZQpU66cMGHCFePHj9fySqR+FemaoUOHfhupX8916B9I6Ij8F/TrV7T9/5HuIP037bqLRv2Jtt1D+guie4g8f0Hyf2O/nnX9Av1eQJ7X2P8GfVlCmeWkVaQ1bFtP2sR2RepllA8yZ5u+xqXHeoYInDpTd3mTJwiWOoNgJVCOFa4lK18yaRvHDnmpL9z5revoHFdFw5hou95z0qG6chm7oZTpEzL4jwlEkIAFHMFBdZf+RQB51iEgRYi1+oDnAz182OuDnpRDxFZI0nXgfxVquta3urpa0899yR8EomUyC/VvQ8KLi4uLVxUXF2/ToyrZr+dC144bN65KSdv0WMuRI0duR6YVyqcfZ0C0ZQcddNB60spp06YtOfTQQ19F5P9A2C8g6GdITyDye0844YT/OeWUU3532mmn/er000//0Zlnnvn9d7/73deee+651xx33HHflNTJ99U5c+Z8mfUrWX7+8MMP/wzlL540adJVpG9wLKWrEfu3adN1Y8eOvX7fffdVlP5ThP5zReek25HiHfC6k3QX0vwTy3tY3o8UH6HPTyPnFxHjAvq9CC5LOBFYgWTXkmcjeTaTZwt5ysizjdmFCvJsr6ys3LF9+/bKioqKyqqqqkp4p8aC/OGlsaFc4Bs2JBL9eN/qpYHd+bwwgawlYAFn7dBleMMzpHmjRo2qQxB6HGWNPuSRYxCw1kmDkEQeQtCd0HtrsX6CT/uDgCmj6CzUoQKIZwvTzq8XFBRs1/ueTrRf14f104S1rNcmxU4byiV1ZL8Z2W4gkl47efLkNUThC5Dxs0ceeeSjiP1+ou67icR/h7jvJP8dZ5xxxq0I++Zjjz32xnnz5v3n/Pnzv3vyySd/i/df5/2XyPtl9l9Buc9Sz2eI6C8jWr+CaP8LLL8wZsyY62nDDZxc/IA2/Ij0i6KiotvhcQfLO4na/5sTlN8h9z+w7fds+wPr98HxVYS8jWUKGcINXOmXGOtHLTRrkZo+T2X0iglEhIAFHJGBdDf2SqCOaVH9DKCmUUOm5MsrZjoAABAASURBVAc9ywGkXD7wW/t30IdoLkw/ky8liFARf4gENTWr+tt8oAfZ0/6iD7q5Sz+FWIeoFalXIc/tiLOcae4yBLkFaW5GrCWcvGxE6CuJmN9E1q8j9H8wTf40U+YPI98HSPfNnTv3V0j6p+y7hQj++0j62qOPPvpbCP4bpK8j8iuR+hfIcyVT85dzEnA5+a6k/uuIvB+D/zZBoV2SbkIzFEpE0zs1btrnZAJRJdDaB09U++x+xYgAH+y7iFKr+DCvZRm+LsS0abiWyYd/DlHYGN5vbQ0JEXK4EQgRh7uPdd1T+RHFLtJ26tXUqzYlU+SXcE1G4jWsh1+JSk6vDxkyZGtS5BK71hFuiZZMfZci67eI0O8h/x8Q7QbxZHwCMzFWVMyygZkL3VTmCDiQ8Z8oErCAoziq7lMTAny4V/KhrghV0V+IYndn6M8Hfbi+u/t9S4s+lN3bv5OdCHgH10l1p3FLZb1tLwSYtt5BpL0IeUuyDTBukpPtDbCt4iTJAm5Cxm+iRGBvHyxR6qP7EnMCRKh6EId+XF5TrykB8yHfn2vAhaRWv2tKhNa3uSB2I61nqbotCUCkXu1cyc3N1TVgnRiFEoxHmIYWa9Y1tW8BBzL+E1UCFnBUR9b9ShHgg17XaHWtsY6oKtxpywe89kvARWzTTVZ632JCCPq5PkXCzffXS+5EaZGPgGHQZ8OGDXllZWVDlUpKSgrY1qW7lOHeB6A6udGS1X+9GJ+dTE9XMnUdebb/6rXX4kbAAo7biMewv3yYVyOLraR6PvSDgIWB7f25vlvENLR+C3cPCSjPihUr9MQsCVhvm6c6JFHGNWRFws33Reb9mjVrxj733HPnvPTSS5976KGHrnnggQeufeyxx67585//fPnChQvnwWgMbDv8WQJ7Tf/nUHaPkxvGSSc3urM829hGZtzdkZ4n0OF/ND3fJB/BBLqXQFFRUQ0f6GVEqrVINzUFzVH0FaM8ppgVAbf4NCyuH0vMAyQJ8jd/6Q5rPUoydYd18wzZ/H7Lli1FTzzxxAULFiz4yqpVq75aXl7+KVh9EJbv48Tjw/D81Jtvvnkd6T9effXV45S/I/3lxEc3t6Wm/zU2Kg9rTUXr+9uauXAELChOkSRgAUdyWN2pxgSItCTIHXzApyJg1pNZdCOW/h0oJbellohG0ZkiYC1T27WCKFRfDdeQIxelLV26dOyiRYvOW7169We3bt36HmQ5k5ORfUn6UYUhO3bsGLZt27b9KyoqZm3atOmjCPoLy5cvP2XlypVDxaY9CZnnk09sG58UsSkhAetkSdfXE/4viwi4qR0i0OKHTodqcGYTyHACxcXFevJSOdKtI6Vau3s9/BvYuHFjKhJLZdi9gii0T5Hw7i2phaKz2lGjRkVKwJxY9EOqxy5ZsuRirnEfTBqOeEP/EXH4MQdOTBJcW1fqx7bRpaWlx8HwYwj5KMprRiEFaW8rlBvMvsCfZZMXY1PNMcubbPQbE4gYgRb/549YH90dE6gtLCxczdRpVXV1dYJrtuEHCIiMFXnlMHU6nm0tSoNIr39OTk54CpYwIoYEU6/hgRGs1+Tl5UkSemqTdkcicb33QGR60uDBgyfSV/0UoziFfquDki8sw3utwyEBhwLkezhT0e/fvHnzMOVrKzEWeUi4H4IPWRF3qJP3u+Bew/E3hh3+YwLZQaDDrbSAO4zMBbKNAIJoIJraQrv15CcWb7/YrqlO3QSUi0havKMXMWu7fqyhpWvEuglLX6Opf7vGaPwtKyubQdQ/HSG2OZ1MvtBpRK3IWPmnIOAJYWMbf6i/H2MQIutmWXVCowd86NJBs11+awLRIWABR2cs3ZNWCCBS/SBDdTILH/6Sr94OrKqqKmSlJRHo5/T0uEpFgU0EjDgUFUrAVaxH5nvAXPPNRaDTEOpI+tWkzzDa40W+8Du/2gHT/pQpXrdu3SSuB+sGK23ea1L0S/7U/kbresKYLhdYwCk6XokigUgJOIoD5D51DwGmkfW4SckyPHUJWQQB86E/kKnQ4bxX1LXHwdg3iH1F5EvJiHXlU/561lNS18ZsT/Q3n6h2OFPMuaQ2u0P/w2M9k3mZScgrKSk5gCn/Fqf0G1fIJQBdW9/jMwjeDdSrm7As4MbAvB45Anv8zx+5HrpDJgCB3NzcKj7YNV0scbIl0VjAI9mX2p5o9B+SGESUl8emIGDysZpQ2Z2s1w8cODBSkigtLeVcJUfyDHcnJ9r4DwZiEXLtXu9XU1MzFBEHXmHHXv4g+oGINtxdvrtsyMm6BFxDHXVhg/+YQEQJWMCRGVh3pDUCgwcP1jXFCj7w6/mA1/RxUhyKgIci2b0JWDLKoVzzfyu6A7oKSUjqrR06q/ZxQtEwYMCAKqaHd8GkzbaLJSINN08pP+/rud6+jW3i02p58mvKuqWpfwm4ljOBSF1bbxWGd8aSQPMPlVhCcKejTwBR1vKB3+TJSkhVEu7PtOsQxLG367h6CIduxAqQyKcySpJD+JWlsCMif4YOHaofrihHoJpeb7NXYgjXcEKjzLyvKCoqWlxcXFyp960lJD+AqevUZxBlQ3YY62SompOmNiUeCviPCWQpgdT//FnafjfbBAKBtv4wBa3pzNSTlfiQl0RVTA/iyEU4+tDX+yaJ7XpWcUvTqZqCriJzpKagx48fvw2h6o5xnVzQvdZfCDRw1JK0gxOdVVz/XYJMdYLSamHGQNPcLUXA+tGMSthbwK0S9M5sJ2ABZ/sIuv3tIrBt2zYJuJrp1Xqu6yZYhu8CIxsJQHfs6k7nPeqqra0dxLRsgig5lEEsIY/kgHAq8/Pz9SMPYVsU/tC/XaNHj34Zka4jKRoO08vIMnz3WdyYYg5dFUf46GEcknADEe0Gyj82atSoZSFDK3+orx/lB5E4zNvnN6yH72hzDXknxymj7jYl3sohvMsEMp6ABZzxQ+QGdgeBAw44QL+us4O69vhQRxoDEKyeysTupi9Eqzt19X3VpjsSCdVTx/5ejdIQV59HH300NSX+dqO69++kSZNeGTJkyAPl5eUbkW2DTkAQor7nm9ixY0eisvLt2WWmiBNKVVVV9RUVFRvJ9xzyfXTKlCmb29EiWVfXgDXDkMpO/yRzsd1OXS3OSqQye8UEspyABZzlA+jmt48AktUdy/pBBn24pwrpA583isSKWd9DbAg2n+2SMNkSqWudvNGNQqqzVwT8wAMPFP/+978/6Y477rh41apVn/rDH/5w9v/93//tRzu6/TV27NjS/fbb738KCgoeIxpdQ2Rax0xB+LrRoEGDEjk5OSEa1jb4VHDysorZgCcR5q8ou7A9DVqzZo0ELK5BwIyPxBuibdaTv4TUK2zb017nMYGeIGAB9wRV15mRBBCHfpJQ3y9t3r48pjtHr1+/fmDzHchH3xHOQTCpXQhZspAc6qlTy9S+nlgh4p1B264i8vwaEeen8vLyPkG7vrh169av33vvvSe256EXHW3XQQcd9DrpJqbY/4QQFxDlrkW0mm6vYM54G9PNJUS9K9j2MqL+DdeObz7wwAOfHTdunK6Lt3k4ykm+4tqigDmGbphrF9s2D+YMJpChBCzgDB0YN6v7CSCvCqI2XQtuUjmCyWdqdT+mW/f494DoRlBGX0OSdJtEwFRCALizRyVx//33n1BaWvp5Is/TCwsLZ3AiMJU2TeUk4DBEfDJivnzZsmUnrV69Wo/LpEnd84LJrmnTpr168MEH30g0/E2mpH/Kse/m2H+h03czJf1reN48bNiwa4h6fzFv3rxn2itftTA3N1d3l6vN/RoaGgJbjqkIuIHj1FK/fjyjR9mqHU4mkE4Ce3zgpLMxPrYJ9CQBotUKxNVSBJxLRDYaAeiGrFQTyNsP2SgC1gMjwna2hSV/Gkg7kZCWrHb/6+GHHz5548aNXyDyPZHaJ9CWQtqp7y33Z30wbRmLyGaR5/OLFy8+a8OGDXnk69bX5MmT18ydO/deruveTET8TZbf2X///W9g+00zZsy47bTTTntkzpw5azp6UESuCDgX5v3oR0rA9GsX22oGDhyoCLij1cYwv7uczQQs4GwePbe9QwQQ8A4+7JtcA1YFfOAPQAj6IQG9TaUVK1YMYKpV14abCJg6JAyJV19F0jJVprtWHn/8ccn3MqLcQ4l+xxAVBlERGSaY8g13HtOOvuwbRttnbtq06ZI333zz9J6QsPo0derUipkzZ6448sgjX0W4ryPftdqmfZ1J27dvl4BzKNtkCpo+ScB19PftO73I4JcJRJWABRzVkXW/9iDAh7oeR9nStKYiSv0iUpN/D0z5DmR6VGKWLJrUh7Ql3h65C/rpp5+WfC8lGjwCuY5GSuHYnAwkuFad/PpUuCtZ25B0ERkOZRr6M0uXLj2N/BIbmzL3xYmEbnjTiU0QsFoKU03xS8B6DGW7riWrnFN8CWR7z5t84GR7Z9x+E2iNANO1ZUi4hrSrf//+KYHxwd+PiGwEMtM1yVQVbO/DtmHk79+vX78gP7aFu4FramoSiE9PjJKIU2W6uvLUU0+dtHLlysuofw71j+DYklJIWlc7dAwkqyg8yFjv6U8Rcp5eUlJy8csvvzy/J27M0nG6K5WVlRXQZs5vGvqy1K9OhfHIzc1toO+1RPZl3XUs12MCmUrAAs7UkXG7up0A8tLjFVPPgpbQkFyiqqpKIsvhQ7/JDVrIVz/JN6R5QyQ/ykriBKh1LUXUzYu06/2TTz75zvXr13+C6PBQRDRixw59bbn1okyrhxMDTJbIz88vokEzmDr/3JYtW06knXtE7q3X1nt74affYVaknrruTnt1oqETGj1drMlY9F7LfCQT6D0CXRNw77XTRzKBLhNAbPV88FcjKz7rd4XvsvI+RF5s6M+67swN0iKSLEBkx3LQkaQWXwi9dsyYMQ0t7uzgRqLWWevWrbukoqLiWKLsfWiLZNRmLeTVncMhH+1RX4aVlpbOWrt27UX//Oc/Z6lfYWeG/eHkRqz1ta+UgHc3Ud+v1jXg+t3vvTCByBKwgCM7tO5YcwIIuA5J6U5oHNwQpnCZeg43NLG9L+vDN2/ePAiBFVZWVu63atWq8xHcMCQWqmI9LHe/30UZRWoNYWMX/rz00kuHM2X8KaQ0m8h3NFPJCaZhw1Om2qpW+TSFK2FrXW0sKCgYWl1dPee11177CvUeTHvDSUVbdfXmftqk31lWFNxXbVZim5qwk75UNZ+N0A4nE4gaAQu48yPqkllGgOnaWmSlHxoI09D60Ed64clOTN0ORny5w4cP74N8xyOuD7I8kjyK0vboKZJoQMD6KcIuTUG/8sor04lWP15eXv5O2qevFYWIlvaECH2PAzfbwJlEKp/K0N7wPGWyjdq2bduRXE++aMmSJXOQm548xea2X/R9kCLyBx988BPPPvvsuUTSE9ou1bEctGcQbdfjP5sLWLMUFfD1FHTHkDp3FhKwgLNw0NzkzhHgWq8EvJUPd0WuoRIvhAw8AAAQAElEQVSkF6Z6iR5zkUIDIuy/evXqU9asWfN+olFdAw759Edy05J8ip4bkLm+U9xpAS9dunTsm2++eSnXeudT1/idO3fqpq/wow/IPVyb1vFaSwMHDkxQLiQi/JCVE4fwvqioaBTT2mdxXfkC+jSTdjef7g35k3/Y32/hwoWH0K7Pkr69cePGy5Dx115//fVvPv/88/O1P5m3q0va3CQCTtbHMfRLSNvpi6egk1C8jCwBCziyQ9vDHcvC6rleW43YtkjAfNAH8fI+yIr3A4kgC5HO4Rs2bDiX9fHal+wm+5OroRxv9OMOnY7SFixYcCDyvYRp7/m0ZzInAn2ICMMNVdQd7rTWsq2EuEPErLLUE6Jh5BbauFvO+23atOlURPpRouGj6UeL/+YR9fAXX3zxfMT7TU4+PskJyXF5eXlTqOuQrVu3noLAL3v11VePonyrEm+rvcn9tHcgdWl2IbRHJze8125FwNs5vgUsGk6RJhD+5490D905E9hNgA95PeZwG8tqbdIHPtPOWk0gq2JE8w6ma79ERHpYfn5+SoYhQ7M/1FGPoDsliWXLlo0qKSl5P0L8AOI9gHqC1KgziBPphaOxLyxb+6M+SLxaqpzWidyDiJF7uI5MRDyRae6zObF4D8tDEXJ+sk7KDabPs994440vcs37y9Qxn8h5PMfW08H6FBYW9h88ePAIZg9mI+bPLF68+Ihk2a4sOa4EHK5Nq9+N6tKMQhXH7PK19UZ1etUEMpKABZyRw+JG9RQBhLKK675VEpWOkYwgWR/+1ltvfR5pvYPpT/1AP5sS4WYo5KyvKYX3+tO/f3/JeeCgQYOCyLWtvYkIc+xrr732JSLODxYXF4+lXB+kF6Jw1hPIOMgTQTU5pva1lOiLpsNTEbPeKymv6kKc4SYz+rvvihUrPszxv8G22Zxk7FNaWjr26aefvgKpfhc5f7i6uvowyhWqPUSooV6doKgtcBpRVlY2j/KfIx1Evi69OH4B7dODOMJJh47HMfR9YIm3kpOITs8udKlhLmwCvUjAAu5F2D5U+gkgIj3gQU/EaqkxhWwMURnL8GoWnYVtEhLbNQUtWYRt7flDlKmbuy5FgKcg9QMQXY//+0Nkiu6DTJnWLSYCPvvvf//7bffff/+D99577yNE/RfTHl3fDde7d+7cGU4G1EdYhZMARJngpEQnB2M4QTmG6eh/p54u/RQi9Wv6uQlrMeSYugZczUlEh9iqrJMJZBuBHv8AyDYgbm+0CRBl6WlYlZ3pJdJNFZMoqKvdUZqmnZnivWj9+vXnI8KplKe6MPOcqrMnVjhWiOJVNxG7ZKxrzfsj2umIdXJFRcU+XO8OUTfvQzTKvrCkjeH6ssoizJCHSHXc+vXrz+L69XvLy8uHaV9HE3Xp8ZODKKfHUbJ4+8X2XazpxKaadlvAwPAr2gQs4GiPr3vXjACR53bMV86Hva41Ntu751vy7rGRstoWHhihlbYSU9v7IazPILtzOf5ERBemnSW4tsp2dT8nCaEKtVl90ZLoMmxTdKwV2hMiXLVHeZJJ+5RURlPREjNl+rF/AteRP7ho0aIz2dfk8Z3K346knyDUXedNBEw5PQdaAq4aP358u8aHMn6ZQNYSsICzdujc8M4QyMnJ0fXfCsrqsZQsWn8hm5AB0YRp3PCGP2zfybSsvgfMu72/iHhHEP1+mGus7yXSnEoU2kdSVH17L9V9e3Qs2hoqJHoNU8pc600oSaraL/GqPdqvvMltyfcStPZL3MrLSUQOEepkpqIvYlr9WPY1F2k43t7+cC1aP/OoG8H0NKwUV+oJETDlxDVTI2Ca55cJdA8BC7h7OLqWLCEwZMiQaiRTjlzaFWGRN0zHNu4eopA06hGRRNF4V5N1pJu3cOHCTxP5vg+JTeSYfSQ91cn7cK21SYEeeMP13SBdVS2xcgKiH5EId0fT/tA32hXySLDqmySrNmpd5dTWZN7KysrQbrbl6YQCAV9KH49WvvYmRdEcM4/8TcTN8XZx7HpObHRzmwUMIL+iTcACjvb4unfNCAwfPlwPz6hEMO0ScOPilAlvEYWWmoLeq4BXrlw5dPny5eeXlJS8D1FNQyrhiU+SHPKRwFVHjye1GamF49AO3WUcZEsEm9i+fXuQqXYqj/JqfXf/gpy1XeW0pA8hv9qvdbYN27Zt2xHr1q173+LFi3UHtYq3mXbs2NGfOjQFHZ7OlTwuBUMETL11bNM6m/zKKAJuTLcSsIC7FacrywICetCDbsJq1w1UiKDFLrG9joiyxToQWA7R76lLly69gojzAGTTT+Ilf7jWyv5wcxNRZIt1d+dGiVLHpb1Bnjq2tjEVHh7BqWOpHdqmpHzapnxK2qfparVfUbDyqD4kGeojmh21devWk1etWnU+aZLKtpUor8+dPW7CohyH3CWmnfp+NeX9MoGsIqB/CFnVYDfWBLpIoCE/P38tUV0NYgxVaakbjLRUwgLhjl/JhnwJyaegoEDf/dVdxCFRsBYJbWDZ5IV0c5555hk9ZOOziGYy9Q6Q1MgbpKv69V5J600K98AbHYM2hGiW9oR+qT9KOpzapf3qp/Jqm5ZiIPlqHycR2hz6rxVt01S66kPK/Xk/fvPmze8m6j+b67tjlKe1RP36GUI9iCNEwDq26lJbWN8F67Z/h7G1A3ifCfQMgW6v1QLudqSuMJMJIL5diKWcD/tKiUWiYVt4kIWEq6T3EgxTpeFaafK9pIUggoiQiCK1Jl1lynkQ0eC7dYcweadTl0TTJE/U3ogTHPV93gOYiv7A+vXrTy8tLdX3qffaVdj0h2kOY5D6/NE4UEB3QWtqv8OXByjrlwlkHYHUP4Csa7kbbAKdJICANyCALUhU09EhKmQ9RLpaIoYwPatpWvKFqVakEfJRVss6pFNWXFyc+lEHBDIA+Z7ONOxFXBedzXvdZNTJFmZPMaJfPaBD17QHcU156tq1ay9AxCeS9EtHLXaEMpoVGADLPb4IDXs9LtQCbpGcN0aNQFYJOGrw3Z/0EGAKejkf/q8T4ZYpokUICYQZRNv4veSrCC+5H+lKvsqrO3W3l5SUhLt4iXjzFyxYcPqaNWs+VlNTMwtxFxD9hkg5PT3svaPCMfQTcSaYOs6j/zMXL1780Y0bNx4P0zDF3Lw18MyFbX/2S9whKY/es9T13z1mF9julwlEjoAFHLkhdYfaIlBUVLR82LBhDyKB10glXMfcmZeXF6abkWeYjpYMJGPVJclIMOQNdxEjZX2HuBohD9ywYUMe067zuf55KZHvcVzLLGJ7kIrqUPkoJ7HR7ID6Kna8Ly4rK5tNJPxBrocf01LfyV9I/kEsm+/W15B0c1tqZqF5Br83gSgRsICzZjTd0O4iMHny5Jpx48b9deTIkbcjjEeYdl7I9OlKBLqRqHgTEdpmjlWJJIJIkSpvE4p8w41URLfVhYWFG5FyPyK9E5huvaiiomIOmQpIISKUXMint5FOYgSHMHug7xzrJGXw4MEj4Djv9ddf/ygi3uOZ0fAeRkpNUatMEhLruiygKDi5yUsTiCwBCziyQ+uOtUZg2rRppWPHjr0bCd/E1On1RG8/JhL+Beu3DB069Ae5ubl3U34joggSZj0sJRvEuhPx5CGX6StWrLiivLz8BMSRx/YgaSLkICTlVbkoJ05WwowB/Q+zA3ovDvR5H05ojl++fPlHiIRn8j71QtTD4JerExuVS+5gmxjXs90P4UhC8TLSBCzgSA9vdDrXEz2ZPn369vnz5z9/6qmn3nX44YffMnfu3O+cc8453zv55JNvmDhx4vcLCwufQgr6ulHq8LzXjxuM2Lx584eWLFlyG/KdS7Q7GGmEm5GUUVJRkoz0PspJPNQ/SVdJJyxcBw4nIkzrj+ME5d+Zoj9H18mVj/x94aLHUPblhEebmqc6ZiUcATen4veRJGABR3JY3amOEECWuyZMmFCtxLqu79Ygh3KmpfsTxTYg2CAUyYX9ivj6IZn9KisrJyAdfPH2vUaIJRy2sYzDhgj/ofOBTZKR+q6kLrNNv3q0f2lp6ZmLFy++mIi4GH4N7K8lCtZXl8KUPttC9Azzhurq6j5cn9ejKFWFkwlEmoAFHOnhdec6SwDZ6lGIuss5A/6NdLYX6S+nExROVg4sKSk5i2j4GK6Zj0LADch2V/Imt0atFPNq2HsKuhEUr0aXgD9coju27lkXCBDN6iahQqoIkRpLvzpBQNGtWFZUVBy6bt06Pahj3o4dO6Yws6BnQTepkbzhLmjyW8BNyPhNVAlYwFEdWferSwSI2goRgu5q3uNhEV2qOGaFkamm7PX4ziFM6Z+4evXqy7h+fh7bi4mEddNVIMK1YS0bmNKuYV8TAWuHkwlEkYAFHMVRdZ+6TIDrl8OZCtUPBnS5rrhXQLQbJCym5eXlR3HtfBLb3r5wDpzd8pWM9SjK2oKCAgsYLn5Fn4AFHP0xdg87QQD5DqHYQJJfXSBARBse8anrvRItswrh7meuDYftjatmnwRc5wi4MRWvR5mABRzl0XXfOk0AYeRSOBWlse5XJwgg1fCdaMlXMibyDY/z1HZOcprXqB9i8BR0cyp+H1kCFnBkh9Yd6ywBZKHrvr4DurMAG5Ujmg1fU1LEq6T3XF8PUpaMG2XVqqaeaxGz7obWe6eYE4h69y3gqI+w+9dhAkRnuyoqKgbrqzLIuEl5vUcQQSrka7LPb/YkIEYSr5jpCWGKgvW+cU7l0Xv2KQKuHjNmjH8NSUCcIk/AAo78ELuDnSGAMPQ0Jt2Vm5oyVcSmO3eVJA1Fc52p22VaJsDJTT0S3sFeCxgIfkWfQOsCjn7/3UMTaJEAgt2GYGuQQpgura+vDzcNIWbdrRukLCG3WNgbO0UAtnXMOmynsAUMBL+iT8ACjv4Yu4edIJCfn7+yrq6uDMnuJAXhqhqkHEQsMWu7tjl1noA4qjQnPHosZS0CLmfd14AFxSnyBCzgvQ+x98SYwLBhw15nOvQVhLtVos3JydHDJIKIidRCVMy+GBPq3q4jXQm4huvDW7u3ZtdmAplLwALO3LFxy9JIYPr06RtGjBjx58rKyjerqqoqdAORojXJGDGHaeg0Ni8yhxbT3Z3hvKahavDgwWW733thApEnYAFHfog72UEXS0yYMOFJJPyTvLy8xxDFciS8HUuEKWlLuHv/ByECroNxOVPQld1bs2szgcwlYAFn7ti4ZWkmMGnSpG1Tp069i+WXCwsLb0US9zLt/Cii0O8EP4eMX6KJL5MWkl4j/ZP0JmkFedeQ1rNeQtpC2kbSHb61LH2NEwh6wVILpQrW18BUN2HpvZMJRJ6ABRz5IXYHO0EgVWTy5Mk1M2bMWHTaaaf95Iwzzrj0lFNO+cg73vGOD82dO/fD8+bN+7dDDz3004cccsilpM9NmTLligMPPPDLEydO/Nr+++9/1dixY68ePnz4DUOHDr1xyJAhN+fn5/9k0KBBv+Q652+IoO9mOvuvE8LPGQAADH9JREFUpCcR9YukVzjoItIbSGgxMlpKWsZ2yXw129eRNrOvglRHCtehKR+uS5Nvj2lxyocbxjhpSCi/3iufynD8hJL2KSX3c4xQTzKPliqTTNqvepIpuV1L7VNK7tNS5ZW0X0n7lbRPqaCgQP2orqurW1NcXPxX2rRZ+51MIA4ELOA4jLL72GUCyKOaKLgUoa4dM2bMinHjxi3dd999Fx900EHPHXzwwU+SHp45c+Z9hx9++B+POuqoO+fMmXP7Mccc8/MTTzzxeqT9HdLVp59++pfOPvvsy84999xPnH/++f/2zne+8zxkfv78+fPPJu8ZlDmT5dlHH330u4888shzDjvssLOR+oeQ+oeR+oVI/ZL99tvvyn322edro0eP/hbtuBGh/yknJ+c+0sOI/bn+/fsvRHhL6HCQN/uXM627iu2r2b4W0a6vr6/fxHT65pqamlLKbSCVsF93fG9HitUIuR4hJtif0JL3QeDUGWTPccINadQb9lOfJKrdQd7UlVAeJZXXfo4bHl5CG4L4tU/lKyoqyrnGvoL1v9K3p+mzZglCXf5jAlEnYAFHfYTdv4wggMD1QwM7WdaSqklVI0eO3I5IN3GdeT3R8prx48cvl9i59vxPIu9FyP01ou+nEPtjs2bNeghB34OM70RSP582bdqtRN03IPFPnnDCCRcee+yx/876+4477rhzjz/++DMR+xnz5s07g/IXclLwMS1JH6fMxZwsfJryn2H5WY79A04qbiX9mEj956TbCwsLf52fn38n0ekfEeN9CPVB0sOAfAIZP4VUn0HOzyqx/1lk+jyR69/Z/wqiXcT+f7JvCWJ9i/3L2L+c/cvp83L2L2f/Mk4AFldXVy9g+4Mc80ZOLn5Jf1dSh18mEBsCFnBshtodzWYCyEvyrpG0EVYZ0W8J8lxPVL4ZWW5EoGuZwl01atSot9i+hCj5DfIsOuCAAx7lGvbDiPshoun7p0+f/mcE/iekfhdC/i2ivgFRX4u0rz7ppJO+QqR+OdH3Z5hi/xRSvxC5f/Dkk09+P9svIN97iM7fi+TfN3v27AtY/wBC/wgi/xjy/BgnDRdynIs45sUI9ZOcSHyKqffP097PI/PL8/LyriB9ITc39wtE3ZcTnV9Kvi9wYqEZg6XZPD5uuwl0hoAF3BlqLmMCWU4Aoeu5y0oSez3v60g1pCqi8h1IvGLYsGHlSH0bEt0q0bN9E1F6iNaR+ioEu4JIegkCfh0RLzziiCP+TnqOKfgnkPejpIeQ+j1Mw//vu971rv/hGvrdZ5555h/POeecP5133nn3kZ5G4is4WcikO5+zfGTd/GwiYAFn02i5rSZgAiZgApEhYAFHZijdERMwARPoIgEX71UCFnCv4vbBTMAETMAETOBtAhbw2xz81wRMwARMIN4Eer33FnCvI/cBTcAETMAETCCRsID9f4EJmIAJmIAJpIFARgk4Df33IU3ABEzABEwgLQQs4LRg90FNwARMwATiTsACzpj/A9wQEzABEzCBOBGwgOM02u6rCZiACZhAxhCwgDNmKOLdEPfeBEzABOJGwAKO24i7vyZgAiZgAhlBwALOiGFwI+JNwL03AROIIwELOI6j7j6bgAmYgAmknYAFnPYhcANMIN4E3HsTiCsBCziuI+9+m4AJmIAJpJWABZxW/D64CZhAvAm493EmYAHHefTddxMwARMwgbQRsIDTht4HNgETMIF4E4h77y3guP8f4P6bgAmYgAmkhYAFnBbsPqgJmIAJmEC8CSQSFnDc/w9w/03ABEzABNJCwAJOC3Yf1ARMwARMIO4E4izguI+9+28CJmACJpBGAhZwGuH70CZgAiZgAvElYAHHdezdbxMwARMwgbQSsIDTit8HNwETMAETiCsBCziuIx/vfrv3JmACJpB2AhZw2ofADTABEzABE4gjAQs4jqPuPsebgHtvAiaQEQQs4IwYBjfCBEzABEwgbgQs4LiNuPtrAvEm4N6bQMYQsIAzZijcEBMwARMwgTgRsIDjNNruqwmYQLwJuPcZRcACzqjhcGNMwARMwATiQsACjstIu58mYAImEG8CGdd7CzjjhsQNMgETMAETiAMBCzgOo+w+moAJmIAJZByBXhVwxvXeDTIBEzABEzCBNBGwgNME3oc1ARMwAROINwELuNfG3wcyARMwARMwgX8RsID/xcJrJmACJmACJtBrBCzgXkMd7wO59yZgAiZgAk0JWMBNefidCZiACZiACfQKAQu4VzD7IPEm4N6bgAmYwJ4ELOA9mXiLCZiACZiACfQ4AQu4xxH7ACYQbwLuvQmYQMsELOCWuXirCZiACZiACfQoAQu4R/G6chMwgXgTcO9NYO8ELOC9s/EeEzABEzABE+gxAhZwj6F1xSZgAiYQbwLufesELODW+XivCZiACZiACfQIAQu4R7C6UhMwARMwgXgTaLv3FnDbjJzDBEzABEzABLqdgAXc7UhdoQmYgAmYgAm0TSDKAm67985hAiZgAiZgAmkiYAGnCbwPawImYAImEG8CFnBUx9/9MgETMAETyGgCFnBGD48bZwImYAImEFUCFnBURzbe/XLvTcAETCDjCVjAGT9EbqAJmIAJmEAUCVjAURxV9yneBNx7EzCBrCBgAWfFMLmRJmACJmACUSNgAUdtRN0fE4g3AffeBLKGgAWcNUPlhpqACZiACUSJgAUcpdF0X0zABOJNwL3PKgIWcFYNlxtrAiZgAiYQFQIWcFRG0v0wARMwgXgTyLreW8BZN2RusAmYgAmYQBQIWMBRGEX3wQRMwARMIOsIdKuAs673brAJmIAJmIAJpImABZwm8D6sCZiACZhAvAlYwN02/q7IBEzABEzABNpPwAJuPyvnNAETMAETMIFuI2ABdxvKeFfk3puACZiACXSMgAXcMV7ObQImYAImYALdQsAC7haMriTeBNx7EzABE+g4AQu448xcwgRMwARMwAS6TMAC7jJCV2AC8Sbg3puACXSOgAXcOW4uZQImYAImYAJdImABdwmfC5uACcSbgHtvAp0nYAF3np1LmoAJmIAJmECnCVjAnUbngiZgAiYQbwLufdcIWMBd4+fSJmACJmACJtApAhZwp7C5kAmYgAmYQLwJdL33FnDXGboGEzABEzABE+gwAQu4w8hcwARMwARMwAS6TiCbBdz13rsGEzABEzABE0gTAQs4TeB9WBMwARMwgXgTsICzdfzdbhMwARMwgawmYAFn9fC58SZgAiZgAtlKwALO1pGLd7vdexMwARPIegIWcNYPoTtgAiZgAiaQjQQs4GwcNbc53gTcexMwgUgQsIAjMYzuhAmYgAmYQLYRsICzbcTcXhOINwH33gQiQ8ACjsxQuiMmYAImYALZRMACzqbRcltNwATiTcC9jxQBCzhSw+nOmIAJmIAJZAsBCzhbRsrtNAETMIF4E4hc7y3gyA2pO2QCJmACJpANBCzgbBglt9EETMAETCByBDok4Mj13h0yARMwARMwgTQRsIDTBN6HNQETMAETiDcBC7jd4++MJmACJmACJtB9BCzg7mPpmkzABEzABEyg3QQs4HajindG994ETMAETKB7CVjA3cvTtZmACZiACZhAuwhYwO3C5EzxJuDem4AJmED3E7CAu5+pazQBEzABEzCBNglYwG0icgYTiDcB994ETKBnCFjAPcPVtZqACZiACZhAqwQs4FbxeKcJmEC8Cbj3JtBzBCzgnmPrmk3ABEzABExgrwQs4L2i8Q4TMAETiDcB975nCVjAPcvXtZuACZiACZhAiwQs4BaxeKMJmIAJmEC8CfR87y3gnmfsI5iACZiACZjAHgQs4D2QeIMJmIAJmIAJ9DyBTBZwz/feRzABEzABEzCBNBGwgNME3oc1ARMwAROINwELOFPH3+0yARMwAROINAELONLD686ZgAmYgAlkKgELOFNHJt7tcu9NwARMIPIELODID7E7aAImYAImkIkELOBMHBW3Kd4E3HsTMIFYELCAYzHM7qQJmIAJmECmEbCAM21E3B4TiDcB994EYkPAAo7NULujJmACJmACmUTAAs6k0XBbTMAE4k3AvY8VAQs4VsPtzpqACZiACWQKAQs4U0bC7TABEzCBeBOIXe8t4NgNuTtsAiZgAiaQCQQs4EwYBbfBBEzABEwgdgSaCDh2vXeHTcAETMAETCBNBCzgNIH3YU3ABEzABOJNwAJOjb9XTMAETMAETKD3CFjAvcfaRzIBEzABEzCBFAELOIUi3ivuvQmYgAmYQO8S+P8AAAD//0Kw7cEAAAAGSURBVAMAYHlRwgCuADsAAAAASUVORK5CYII="/> +</defs> +</svg> diff --git a/dist1 (2)/assets/defaultProfile-096cbc2d.png b/dist1 (2)/assets/defaultProfile-096cbc2d.png new file mode 100644 index 0000000..c45e1be Binary files /dev/null and b/dist1 (2)/assets/defaultProfile-096cbc2d.png differ diff --git a/dist1 (2)/assets/downloadSource-be3513a9.js b/dist1 (2)/assets/downloadSource-be3513a9.js new file mode 100644 index 0000000..b927c9a --- /dev/null +++ b/dist1 (2)/assets/downloadSource-be3513a9.js @@ -0,0 +1 @@ +import{b as e,o as s,s as a,c as A,j as i,L as r}from"./index-35672308.js";import{r as l}from"./vendor-c65bce76.js";import"./ui-2d515953.js";import"./utils-faf49605.js";import"./editor-e98c3426.js";function n(n){const d=n.hasOwnProperty("data")?null==n?void 0:n.data:e(s),[o,c]=l.useState(null),[t,h]=l.useState(""),[v,m]=l.useState(""),[j,g]=l.useState(""),x=e(a),w=e(A);return l.useEffect((()=>{c(d);let e={};null==d||d.map((s=>{"Overview1PlayStoreLink"===s.FieldName&&(e.Overview1PlayStoreLink=s.FieldValue),"Overview1AppStoreLink"===s.FieldName&&(e.Overview1AppStoreLink=s.FieldValue),"Overview1PosLink"===s.FieldName&&(e.Overview1PosLink=s.FieldValue)})),h(e.Overview1PlayStoreLink),m(e.Overview1AppStoreLink),g(e.Overview1PosLink)}),[d]),i.jsx("div",{className:"downloadSource-container",children:i.jsxs("div",{className:"DS-subcontainer",children:[i.jsxs("div",{className:"left-container",children:[i.jsx("p",{className:"downloadtext1",children:"Ready to enter the POZO Universe - let's set up your POZO free account."}),i.jsx("div",{children:i.jsx("button",{style:{backgroundColor:w.darkColor},type:"submit",className:"downloadbutton1",children:i.jsxs(r,{className:"tryIt",to:"/home/signin",style:{display:"flex",justifyContent:"space-between",width:"100%"},children:[i.jsxs("span",{children:["Try ",x]}),i.jsx("span",{role:"img","aria-label":"right",className:"anticon anticon-right",children:i.jsx("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"right",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:i.jsx("path",{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"})})})]})})}),i.jsx("p",{className:"downloadsubtext1",children:"No credit card required."}),i.jsx("div",{className:"DS-button-container"})]}),(""!==t||""!==v||""!==j)&&i.jsxs("div",{className:"downloadsources1",children:[i.jsx("div",{className:"downloadsourcestext",children:i.jsxs("p",{children:["Download our ",i.jsx("br",{}),"POZO Mobile App"]})}),i.jsxs("div",{className:"downloadssrc",children:[""!==t&&i.jsxs("div",{className:"overview-downloads-grp",children:[i.jsx("div",{children:i.jsxs("a",{className:"ancharTag",href:t,children:[" ",i.jsx("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACUAAAAoCAYAAAB5ADPdAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAU3SURBVHgBzZhrbBRVFMf/995t6yIlihAwaEKABOQLiB8QEwLhEQRFlFSlpi8epTSAsYWI+gWM0ZiokGh4BWiFEAVNoEQgpZYoEWNixA8KCoFAt8UY6LZS7W5Ld+Yez53dBbY7291tt6X/SXZ2Hnfvr+f8z7nTEaFQaLZSajMGiYjojEcIMZa/zMYgEbM0SPcruK+Kg7oQJHzYdhb1VA+bt/uhGCjNEdp8BahtmI6tbefxBlXgDG+30YWBVAxUwNbwWyavOehsXINr/47HJ/JjvEtbcJH+hB6gyHnuPTBWIvMhANsegsC1tfDy/rcRNdhIv2OafhLFKMEEOS58Xz8pzlPCEEUANWUj2LgC+tZs58w5dQ6VshLbaQfa9C0MGBQiUFGRzkLH1QoGmw9BApYI4aQ8gXJZhj20B83wo9+hiJ3TXU7EGtbCblnCNwgnim2yHTWK0yoqcZgOI0hB/nsyk1OX9MXL8ZrOZvMvB/6ZHzO3X7TggDqATWITTuvTsHjLOBS5YjkXnIgFGtbBbl0Ud9dVeRVb1Ta8ydvP+IXrtPdwCY2egCvsMd8aUMtzjse665K8hPfFe3gHb+MCXeAx6afUxeg66SAiBru+EtS6EG4Jt4SF8/IPbBZb8Bl9iht0A+nIJX2pyba8CPrKIZqXJoxuhwzilKpDuShDtd6LDmpN6bfTSl93afIgcL2YI/Z8j4UXEl0Y2roV3suTQM1v8cCWHmeR6KM0eyzgK+V5Frl6THLrL/A34ZXmy5B2C5T/I4hrM0G39rMNbrtmxgUqfWMa8webytj8S2LAFAMV+n1YdvMi7vWq6LoE+fdKoGEm8F8Nn7GTQfVOpo+1+1aD/C84YIKBSm42II8jJBgoPoYE1XkO8noeyDcXCJ7lU5Y7FPWJU6C9kSPGfazY34glrVfgITvJCIYL/gDhWwAK1LlDiQw8dubvUnjpaABZlLy9REWCYynCOB6Xy+itjKmLT1Wh6GgVH42E3c6+WtCU5DcF7CHPQIz8AIL35pHIgwzJABXVVWP50Z3OscGQXzMYB0DNb3JdrO3sCRCjtgG5z/IAFRlFblDpe8rb1Ym87w5hxZGdTvrN+ukw8FO0/GoEtNKQc/5ywMw18oyBfmQj5MOr+VxOhPcudBxUeK1KvYFK9k1JbRXyT1Q5VcZxcSovKtHFgF+M4hVAQC7sgB7OFTp8A6R8KDJPfATjoEQaS6iBKKqtZqDqMBBJ10lM59edXJWPF0AOeeyeVcN9Jo/bVCkBcYSK6vaj6HhVuGIpPu2movS8eaCiQqgnJqFblhLKJX1JoET4rrJjO5BX/yWyrNtxExkYa9pU0KpV8EyZApGV7dyTqilc0qdNO0s4wPil4PRBvFb7OYSO9Z85sh4dDdpQATlrDpdM79qLS6QSy6Rpee0+lBzbzUDhM1HpUWzm/Fchl+VDKIm+9DuXSMX3dDN1jhVC3veHUFKzK6bl2KNHQy9eDFFYAOX1ZuQ1REpGz7K6nCorPL43gsyeyc2FnjsHYtVKKI5S1IupN5M0oCjSa+4iEpZxYyw8vi/sN08OrBnTgbXlUOPG3ynvTMAkhIq2M7M3aSr49gBKj2znLikQmvoUxPr1UJMn88VMYiSBik5mIlT6zW68XH8Q9sSJEK+vg5oylXOZhf5WDNSDSsAriR/weXE9WY2lv56CqqwA5s2FyB2GgVIMFGcIpWP4ldCPPyF/3ANQ6/dDDBuKgVYMlDHt0pH85cWn+WOG63uFgVAPzymU1r9bmRSvGjSW97MwSGRZlu9/NRMXuT4qmwsAAAAASUVORK5CYII="})]})}),i.jsx("div",{children:i.jsxs("a",{className:"ancharTag Hide-on-smallScreen",href:t,children:[" ",i.jsx("span",{className:"Hide-on-smallScreen",children:"Playstore"})," "]})})]}),""!==v&&i.jsxs("div",{className:"overview-downloads-grp",children:[i.jsx("div",{children:i.jsxs("a",{className:"ancharTag",href:v,children:[" ",i.jsx("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAb9SURBVHgBxVdbjF5TFP72Puf8/8yY3qaYtqOtuI6iVNEHoaLpi0tEvHjggXpyCUIi8YSExCWEEBHihcQlLiFBPHhQIi6hiFvdpq411cvMdNr/nznn7GWtvfY+5/zTCm/On332Pmvvvfbaa33r8hsiGsOcZ1unxNfTwE5y1C2YYCy/3NxlMCD+mdBHGqpxahIMpQYjrdKcOJhgwNq5LC5J+XWkHxLhm46ju38qzJZ9FpNOGOkGMsraUs28Pk7mWQjCgQIa3ZBZg+P6clw7ktCFh6bG1EsWGNaA3/rajhw3fk+YoXjbIK2cbly4V7wBaZO1BkEP4duf3NRH1Jz1fDYtNXTHUSKEF+Nc0QC+mnZ081Yys8Sf5FS53BvTVGiThkrZIr/S6vmaJvMINJ176ldjhpOCrl2ZeUaiVTw6Vpj9uQUVfHgJ34zj+dKEbx3XNHNQmnH2X2nE/J75DWaqUM3Yydzh7R1yMEtbsDjSSscLSQXibyql17G0hazK+axaYoAanhvJ+MaNeS904apmSmrMEX7bR9i823nV2h1dos6sqW8tgpWWN/GkUxNamQvzq+aVeH1dgpfOsFiR5bh/FHj9zARXjLhqv4k3DvujBjyU5GKslc/2qAbSv2YdHBNMBFbEHdWWjg8x8ag2sHLAeOd7bHWCUxZnHponsZuJNrxDGuUGxTd/OuWuRP457O4GaOYiXbCz4E9sZIuAg9AqXDB987jBlxMK1DWLWxDRp3LCC79EkzAfNqusFc1BNCH8ishPNZEXejXbyck5R+EAVRWVETD1OLbpmQQPfDPL5qwd/5VfSny6y6oDeVNZ38teEYQal/B0f0GNLqln49SdeuMY5vhyCDrcfpw02JdzFGkBk2zCR7/N+fBE+VRuSr22rHiHPsQM62kBnXWv6o40f4twE0H0pqMNH652fujLLm4YtewVhedrorrDegpqR/wO5mXgqQBWgkauzbtM6OPYeBdU+1mmrV1EuOzott/841SBrRPynWHTsZbnTThc3diWggXmlzvv2jY3np/xl1LNWBFEbCc4iICjEDDQAKdoo48Ht5yUos2xXZRz3yddDPenYPzj6tE2hrMQP8paayhqAFNZalyRVpkAusCy73vEchP/90CKUazUdHDBCoOzliR+yzu/F3jz5xRjE6VnsyCzuHOtZVAF27vo+0b5OI2KhrFi5PAADS+A3Nax2hxLVjfnGwX6AF/nllPZ7Rhku7oOD3ySo2D6lu0Gn3IiE44blrdwzrD4GA7gReHmnm8wiRfAJwuxi7+19OTRjDAWmuX+mtUpjpiXehQ/z2742bjO5cz0ng9nwc6ANuf+G9dkWMi+JXus5xH4lE2epFFR3ND6UGuCc2hWG8hKrFtqeFLz+SGpw5Unt/3s5EyJ73cX2Li8dss/pghv/DCDi4/rw9rhDFet4oJmJ9/UqDl+38u1xp6QmGLxErwgVTcs2dP1cFHJC5e2cMrhLRzsWdBO8OCGwR5ah1V613t7sWFlC/PaFjef2d8z32UNn//sNH6YSFi5FEJBEjDA6nAS/ZwiXwTbP0ugICn9h18fA/CYoQyPfNzpCWMxu8zkdQyo+mgCH5t83VdHrOvfyLFqcYFBdvelfNnJDjHwVEMHPhrdxnYT/tzvcMExOVYvyfzMve9O41sO0dv2gM1mK/4+smo2VjOLr1ouPCnwH58wGJ8ErjqNcNv6AeQS/V7pYvNYs/gMGNDkp4y5CH34/RwPX5QyjgzWHdHC4x8wQElW2+p4X+SWyse2Ev7ij7J0les5Hs9PC1y3rp8FY6/i+a1/uJAtNdDIGmnktHChsP+t7xzeHZvxzM9mTJy1ovQxQPfpOp81tRiD7Us1Avr02WiHMQYXDKiGn/xoBuN74aOYnbPOxNgex2zvO97sYlZCL5+xcl7iw66vtvIYHQntJJhgGS+wlHNcoOCGqqZtOw1ueLmDRf2EZz42WmRQE2IGERURsDHf/bonxRVPd7BqKfDiFsklCZqlrLRlg0GAoQFrhtqEv/bp7ohcccvXvggiedxQZfcm/OYgIrwN3v8JvgkuVG5TCWg5Cq1ZlioG5vdZbDzekBYjGsGqvgwRrAyRq4piVI1tSY3o1pgvQ7gtG+tCGz0UOH1FomW5vK5f38aSQaIm457ep1AXUnOsdJVGLswV4bBQVWvoDSk+rJMmKfrWjRm7eAxE/CxflJknLs8w1A+viVjDIYAKzdTaaNTo6SA0vzcUJULL2I1uvyil80bbtfGogaztEwWeY8S/ugX051SJPDe+tna+9NRYdeDf0Ng3/7oFPPCGlF1hMVfRJ3Aqv4lvfvJIqwmkc3sEiI/E9u0TJU10qv+X/1gtzp3rofHrkBZo2cKEc0T8O9gDZC/Aevx/z+d/A8VzzzDue72HAAAAAElFTkSuQmCC"})]})}),i.jsx("div",{children:i.jsx("a",{className:"ancharTag Hide-on-smallScreen",href:v,children:i.jsx("span",{className:"Hide-on-smallScreen",children:" Appstore"})})})]}),""!==j&&i.jsxs("div",{className:"overview-downloads-grp",children:[i.jsx("div",{children:i.jsxs("a",{className:"ancharTag",href:j,children:[" ",i.jsx("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAfCAYAAAAfrhY5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMHSURBVHgB5VZNSFRRFD7n3qeOUVBKm6DfTQQatHBvO8F8M46MVrssiloE0SIQwSIwV0URIe0iKPHZ/DlBLkoii5DIokJaZRDVIkwsqRnfvaf7Znj6RmfmXZ0Kom8xc+553z3fPefdd+4F0EAoFloPmjDHOtf1UI+hw2U6JMnY7WAiYhERluI1pw5ugC9fJ14kXneBBlCH1JJs2U7SGOXIJznhTZtRUJJoUGtBjjCjFjXBkT2QRGclwtx8Fd870mRN/xZxB+Fkx7GMzPT78RiIhmQo+Qw0oFX2tmR7W1pD2IEkPtKa6qjT4fqKN8X2b8tI+7pbIlX6b4V4BhqfsgZCjbAzQ2rT+cb2JVRx+xQB1Th2gFe/Ce1oPrqUw5kxd7XxUhgRhTOWADtfxidb/WL7vnMz3vZcgtzjmWCTSnR5ICS1SPQ4rFQw1l4qdsnMnU9LAu3O8xUQzvmXfIYEG8EHJZuBKiMF45FuZLRJc28uQAox6cdZJt4c7airQPwebx2Yyi6A4J4tbO0O5wk85doqgXouxGy0Lfrey8krVUsy3EeSzjg2Q3YiYd7pNxNhsaykOiB4mGqNNar551Xz6XZcAaO6fWjfLculsCUTDngGR7JvcgWNqDDwuGul7fQh75M8cUaLY3djlans7NpKj9jaouIF50K5KL58X/GyMy+Bv5A5rV68/MzLKPv/nHm5uWtmLoDE4hyaQ+esQkzDaoA5VfXzw3Wpq1emqLhq5FeyfHUvUx2n1wmgevsTWAUY4njOoMsqBXXEw0wVBs4VFU8F4xerM8YGUbFm67AZT+Xmyk7yHBI6QITHbFpecOxhM9bLSdaqu92WodDAozyeTrDIYKTyZ6W8RiAPLzglO80ZeyeZbCQpTy5kQ9iVDEX73LKXgtYhbbVbGSLxwesTHEYTISsGQkzkkQk/6ghri/8p/BviTJfKQYAmtMURjXHXdnb/Zqx969iB+YpX6m82x8F0Roox7ZiwAoTjEXOe2bsC3LhhNVufXX/wbqReCmlWAL8fNQef6sb7BQO5JkZzUjKVAAAAAElFTkSuQmCC"})]})}),i.jsx("div",{children:i.jsx("a",{className:"ancharTag Hide-on-smallScreen",href:j,children:i.jsx("span",{className:"",children:"Playstore (POS)"})})})]})]})]})]})})}export{n as default}; diff --git a/dist1 (2)/assets/downloadSource-d4a822a3.css b/dist1 (2)/assets/downloadSource-d4a822a3.css new file mode 100644 index 0000000..c29d101 --- /dev/null +++ b/dist1 (2)/assets/downloadSource-d4a822a3.css @@ -0,0 +1 @@ +.downloadtext1{font-style:normal;font-weight:400;font-size:clamp(2rem,1.5dvw,6rem);color:#000;width:100%}.downloadSource-container{padding:4rem 3rem;display:flex;justify-content:space-evenly;background-color:#e8e8e8b2}.downloadsubtext1{font-style:normal;font-weight:600;font-size:clamp(.5rem,.8dvw,1rem);color:#000;opacity:.7}.left-container{display:flex;flex-wrap:wrap;flex-direction:column;row-gap:1rem;padding:0rem 2rem}.DS-subcontainer{display:flex;flex-direction:row;row-gap:1rem}.downloadsources1{width:100%;background-color:#f8f8f8;padding-bottom:5vh;border-radius:8px;display:flex;flex-direction:column;justify-content:center}.downloadsource{display:flex;flex-wrap:wrap;flex-direction:row;margin:12vw -1vh;row-gap:1rem}.downloaddiv{flex-wrap:wrap;flex-direction:column;row-gap:1rem;display:flex;flex-grow:1;margin:1vw 16vh}.downloadtext{font-style:normal;font-weight:400;font-size:clamp(1rem,1.5dvw,6rem);color:#000}.downloadsubtext{font-style:normal;font-weight:600;font-size:clamp(.5rem,.8dvw,1rem);color:#000;opacity:.7}.DS-button-container{display:flex;justify-content:center}.downloadsources{width:880px;height:224px;display:flex;flex-wrap:wrap;flex-grow:1;flex-direction:column;row-gap:1rem;background:rgba(240,240,240,.5);border-radius:18.3177px}.downloadsourcestext{font-style:normal;font-weight:500;font-size:22.7337px;color:#000;font-size:clamp(1.5rem,1.5dvw,2rem);padding:17px 48px}.downloadbutton1{width:170px;height:45px;background-color:#37943c;font-family:Gilroy;color:#fff;font-style:normal;font-weight:500;font-size:14px;border-radius:8px;display:flex;letter-spacing:.5px;justify-content:space-between;align-items:center;z-index:2;margin-top:1rem;padding:1rem;border:none}.ancharTag{text-decoration:none;color:#000}.tryIt{text-decoration:none;color:#fff}@media screen and (max-width: 980px){.DS-subcontainer{flex-direction:column}}@media screen and (max-width: 550px){.DS-subcontainer{flex-direction:column}.downloadtext1{font-size:clamp(1rem,1.5dvw,6rem);width:100%}.left-container{padding:0}.resupgrading{width:80%}.Hide-on-smallScreen{display:none!important}.overview-downloads-grp{font-size:13px;font-weight:600;width:max-content!important}.contactimg1{display:none}.downloadSource-container{padding:0rem 1rem}.downloadsourcestext{font-style:normal;font-weight:500;font-size:22.7337px;color:#000;font-size:clamp(1rem,1.5dvw,2rem);padding:17px 14px}.downloadssrc{display:flex;justify-content:flex-start;row-gap:1rem;column-gap:1rem;margin:0}.downloadsources1 .overview-downloads-grp{padding:.4rem .5rem!important}}.overview-downloads-grp{width:max-content!important;font-size:13px;font-weight:600;padding:.4rem 1rem}.downloadssrc{display:flex;justify-content:flex-start;row-gap:1rem;column-gap:1rem;margin:0 10px} diff --git a/dist1 (2)/assets/editor-e98c3426.js b/dist1 (2)/assets/editor-e98c3426.js new file mode 100644 index 0000000..d0636ca --- /dev/null +++ b/dist1 (2)/assets/editor-e98c3426.js @@ -0,0 +1,83 @@ +!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ce-hint--align-start{text-align:left}.ce-hint--align-center{text-align:center}.ce-hint__description{opacity:.6;margin-top:3px}")),document.head.appendChild(e)}}catch(t){}}();var e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function o(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var o=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),o}function n(){}Object.assign(n,{default:n,register:n,revert:function(){},__esModule:!0}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){const t=(this.document||this.ownerDocument).querySelectorAll(e);let o=t.length;for(;--o>=0&&t.item(o)!==this;);return o>-1}),Element.prototype.closest||(Element.prototype.closest=function(e){let t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t);return null}),Element.prototype.prepend||(Element.prototype.prepend=function(e){const t=document.createDocumentFragment();Array.isArray(e)||(e=[e]),e.forEach((e=>{const o=e instanceof Node;t.appendChild(o?e:document.createTextNode(e))})),this.insertBefore(t,this.firstChild)}),Element.prototype.scrollIntoViewIfNeeded||(Element.prototype.scrollIntoViewIfNeeded=function(e){e=0===arguments.length||!!e;const t=this.parentNode,o=window.getComputedStyle(t,null),n=parseInt(o.getPropertyValue("border-top-width")),i=parseInt(o.getPropertyValue("border-left-width")),r=this.offsetTop-t.offsetTop<t.scrollTop,s=this.offsetTop-t.offsetTop+this.clientHeight-n>t.scrollTop+t.clientHeight,a=this.offsetLeft-t.offsetLeft<t.scrollLeft,l=this.offsetLeft-t.offsetLeft+this.clientWidth-i>t.scrollLeft+t.clientWidth,c=r&&!s;(r||s)&&e&&(t.scrollTop=this.offsetTop-t.offsetTop-t.clientHeight/2-n+this.clientHeight/2),(a||l)&&e&&(t.scrollLeft=this.offsetLeft-t.offsetLeft-t.clientWidth/2-i+this.clientWidth/2),(r||s||a||l)&&!e&&this.scrollIntoView(c)}),window.requestIdleCallback=window.requestIdleCallback||function(e){const t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)};var i=(e=>(e.VERBOSE="VERBOSE",e.INFO="INFO",e.WARN="WARN",e.ERROR="ERROR",e))(i||{});const r=8,s=9,a=13,l=27,c=37,d=38,u=40,h=39,p=46,f=0;function g(e,t,o="log",n,i="color: inherit"){if(!("console"in window)||!window.console[o])return;const r=["info","log","warn","error"].includes(o),s=[];switch(g.logLevel){case"ERROR":if("error"!==o)return;break;case"WARN":if(!["error","warn"].includes(o))return;break;case"INFO":if(!r||e)return}n&&s.push(n);const a="Editor.js 2.31.0";e&&(r?(s.unshift("line-height: 1em;\n color: #006FEA;\n display: inline-block;\n font-size: 11px;\n line-height: 1em;\n background-color: #fff;\n padding: 4px 9px;\n border-radius: 30px;\n border: 1px solid rgba(56, 138, 229, 0.16);\n margin: 4px 5px 4px 0;",i),t=`%c${a}%c ${t}`):t=`( ${a} )${t}`)}g.logLevel="VERBOSE";const m=g.bind(window,!1),b=g.bind(window,!0);function v(e){return Object.prototype.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function y(e){return"function"===v(e)||"asyncfunction"===v(e)}function k(e){return"object"===v(e)}function w(e){return"string"===v(e)}function x(e){return"number"===v(e)}function E(e){return"undefined"===v(e)}function C(e){return!e||0===Object.keys(e).length&&e.constructor===Object}function S(e){return e>47&&e<58||32===e||13===e||229===e||e>64&&e<91||e>95&&e<112||e>185&&e<193||e>218&&e<223}async function T(e,t=()=>{},o=()=>{}){return e.reduce((async(e,n)=>(await e,async function(e,t,o){try{await e.function(e.data),await t(E(e.data)?{}:e.data)}catch{o(E(e.data)?{}:e.data)}}(n,t,o))),Promise.resolve())}function _(e){return Array.prototype.slice.call(e)}function O(e,t){return function(){const o=this,n=arguments;window.setTimeout((()=>e.apply(o,n)),t)}}function B(e,t,o){let n;return(...i)=>{const r=this,s=o&&!n;window.clearTimeout(n),n=window.setTimeout((()=>{n=null,o||e.apply(r,i)}),t),s&&e.apply(r,i)}}function I(e,t,o=void 0){let n,i,r,s=null,a=0;o||(o={});const l=function(){a=!1===o.leading?0:Date.now(),s=null,r=e.apply(n,i),s||(n=i=null)};return function(){const c=Date.now();!a&&!1===o.leading&&(a=c);const d=t-(c-a);return n=this,i=arguments,d<=0||d>t?(s&&(clearTimeout(s),s=null),a=c,r=e.apply(n,i),s||(n=i=null)):!s&&!1!==o.trailing&&(s=setTimeout(l,d)),r}}function M(e){return e[0].toUpperCase()+e.slice(1)}function P(e,...t){if(!t.length)return e;const o=t.shift();if(k(e)&&k(o))for(const n in o)k(o[n])?(e[n]||Object.assign(e,{[n]:{}}),P(e[n],o[n])):Object.assign(e,{[n]:o[n]});return P(e,...t)}function L(e){const t=function(){const e={win:!1,mac:!1,x11:!1,linux:!1},t=Object.keys(e).find((e=>-1!==window.navigator.appVersion.toLowerCase().indexOf(e)));return t&&(e[t]=!0),e}();return e=e.replace(/shift/gi,"⇧").replace(/backspace/gi,"⌫").replace(/enter/gi,"⏎").replace(/up/gi,"↑").replace(/left/gi,"→").replace(/down/gi,"↓").replace(/right/gi,"←").replace(/escape/gi,"⎋").replace(/insert/gi,"Ins").replace(/delete/gi,"␡").replace(/\+/gi," + "),e=t.mac?e.replace(/ctrl|cmd/gi,"⌘").replace(/alt/gi,"⌥"):e.replace(/cmd/gi,"Ctrl").replace(/windows/gi,"WIN")}function A(){return((e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+((t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_")),""))(10)}function N(e,t,o){e&&b(`«${t}» is deprecated and will be removed in the next major release. Please use the «${o}» instead.`,"warn")}function j(e,t,o){const n=o.value?"value":"get",i=o[n],r=`#${t}Cache`;if(o[n]=function(...e){return void 0===this[r]&&(this[r]=i.apply(this,...e)),this[r]},"get"===n&&o.set){const t=o.set;o.set=function(o){delete e[r],t.apply(this,o)}}return o}function D(){return window.matchMedia("(max-width: 650px)").matches}const R=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1);class F{static isSingleTag(e){return e.tagName&&["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"].includes(e.tagName)}static isLineBreakTag(e){return e&&e.tagName&&["BR","WBR"].includes(e.tagName)}static make(e,t=null,o={}){const n=document.createElement(e);if(Array.isArray(t)){const e=t.filter((e=>void 0!==e));n.classList.add(...e)}else t&&n.classList.add(t);for(const i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i]);return n}static text(e){return document.createTextNode(e)}static append(e,t){Array.isArray(t)?t.forEach((t=>e.appendChild(t))):e.appendChild(t)}static prepend(e,t){Array.isArray(t)?(t=t.reverse()).forEach((t=>e.prepend(t))):e.prepend(t)}static swap(e,t){const o=document.createElement("div"),n=e.parentNode;n.insertBefore(o,e),n.insertBefore(e,t),n.insertBefore(t,o),n.removeChild(o)}static find(e=document,t){return e.querySelector(t)}static get(e){return document.getElementById(e)}static findAll(e=document,t){return e.querySelectorAll(t)}static get allInputsSelector(){return"[contenteditable=true], textarea, input:not([type]), "+["text","password","email","number","search","tel","url"].map((e=>`input[type="${e}"]`)).join(", ")}static findAllInputs(e){return _(e.querySelectorAll(F.allInputsSelector)).reduce(((e,t)=>F.isNativeInput(t)||F.containsOnlyInlineElements(t)?[...e,t]:[...e,...F.getDeepestBlockElements(t)]),[])}static getDeepestNode(e,t=!1){const o=t?"lastChild":"firstChild",n=t?"previousSibling":"nextSibling";if(e&&e.nodeType===Node.ELEMENT_NODE&&e[o]){let i=e[o];if(F.isSingleTag(i)&&!F.isNativeInput(i)&&!F.isLineBreakTag(i))if(i[n])i=i[n];else{if(!i.parentNode[n])return i.parentNode;i=i.parentNode[n]}return this.getDeepestNode(i,t)}return e}static isElement(e){return!x(e)&&(e&&e.nodeType&&e.nodeType===Node.ELEMENT_NODE)}static isFragment(e){return!x(e)&&(e&&e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)}static isContentEditable(e){return"true"===e.contentEditable}static isNativeInput(e){return!(!e||!e.tagName)&&["INPUT","TEXTAREA"].includes(e.tagName)}static canSetCaret(e){let t=!0;if(F.isNativeInput(e))switch(e.type){case"file":case"checkbox":case"radio":case"hidden":case"submit":case"button":case"image":case"reset":t=!1}else t=F.isContentEditable(e);return t}static isNodeEmpty(e,t){let o;return!(this.isSingleTag(e)&&!this.isLineBreakTag(e))&&(o=this.isElement(e)&&this.isNativeInput(e)?e.value:e.textContent.replace("​",""),t&&(o=o.replace(new RegExp(t,"g"),"")),0===o.length)}static isLeaf(e){return!!e&&0===e.childNodes.length}static isEmpty(e,t){const o=[e];for(;o.length>0;)if(e=o.shift()){if(this.isLeaf(e)&&!this.isNodeEmpty(e,t))return!1;e.childNodes&&o.push(...Array.from(e.childNodes))}return!0}static isHTMLString(e){const t=F.make("div");return t.innerHTML=e,t.childElementCount>0}static getContentLength(e){return F.isNativeInput(e)?e.value.length:e.nodeType===Node.TEXT_NODE?e.length:e.textContent.length}static get blockElements(){return["address","article","aside","blockquote","canvas","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","ruby","section","table","tbody","thead","tr","tfoot","ul","video"]}static containsOnlyInlineElements(e){let t;w(e)?(t=document.createElement("div"),t.innerHTML=e):t=e;const o=e=>!F.blockElements.includes(e.tagName.toLowerCase())&&Array.from(e.children).every(o);return Array.from(t.children).every(o)}static getDeepestBlockElements(e){return F.containsOnlyInlineElements(e)?[e]:Array.from(e.children).reduce(((e,t)=>[...e,...F.getDeepestBlockElements(t)]),[])}static getHolder(e){return w(e)?document.getElementById(e):e}static isAnchor(e){return"a"===e.tagName.toLowerCase()}static offset(e){const t=e.getBoundingClientRect(),o=window.pageXOffset||document.documentElement.scrollLeft,n=window.pageYOffset||document.documentElement.scrollTop,i=t.top+n,r=t.left+o;return{top:i,left:r,bottom:i+t.height,right:r+t.width}}static getNodeByOffset(e,t){let o=0,n=null;const i=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null);let r=i.nextNode();for(;r;){const e=r.textContent,s=null===e?0:e.length;if(n=r,o+s>=t)break;o+=s,r=i.nextNode()}if(!n)return{node:null,offset:0};const s=n.textContent;if(null===s||0===s.length)return{node:null,offset:0};return{node:n,offset:Math.min(t-o,s.length)}}}function H(e){e.dataset.empty=F.isEmpty(e)?"true":"false"}const U={ui:{blockTunes:{toggler:{"Click to tune":"","or drag to move":""}},inlineToolbar:{converter:{"Convert to":""}},toolbar:{toolbox:{Add:""}},popover:{Filter:"","Nothing found":"","Convert to":""}},toolNames:{Text:"",Link:"",Bold:"",Italic:""},tools:{link:{"Add a link":""},stub:{"The block can not be displayed correctly.":""}},blockTunes:{delete:{Delete:"","Click to delete":""},moveUp:{"Move up":""},moveDown:{"Move down":""}}},z=class e{static ui(t,o){return e._t(t,o)}static t(t,o){return e._t(t,o)}static setDictionary(t){e.currentDictionary=t}static _t(t,o){const n=e.getNamespace(t);return n&&n[o]?n[o]:o}static getNamespace(t){return t.split(".").reduce(((e,t)=>e&&Object.keys(e).length?e[t]:{}),e.currentDictionary)}};z.currentDictionary=U;let W=z;class $ extends Error{}let q=class{constructor(){this.subscribers={}}on(e,t){e in this.subscribers||(this.subscribers[e]=[]),this.subscribers[e].push(t)}once(e,t){e in this.subscribers||(this.subscribers[e]=[]);const o=n=>{const i=t(n),r=this.subscribers[e].indexOf(o);return-1!==r&&this.subscribers[e].splice(r,1),i};this.subscribers[e].push(o)}emit(e,t){C(this.subscribers)||!this.subscribers[e]||this.subscribers[e].reduce(((e,t)=>{const o=t(e);return void 0!==o?o:e}),t)}off(e,t){if(void 0!==this.subscribers[e])for(let o=0;o<this.subscribers[e].length;o++)if(this.subscribers[e][o]===t){delete this.subscribers[e][o];break}}destroy(){this.subscribers={}}};function K(e){Object.setPrototypeOf(this,{get id(){return e.id},get name(){return e.name},get config(){return e.config},get holder(){return e.holder},get isEmpty(){return e.isEmpty},get selected(){return e.selected},set stretched(t){e.stretched=t},get stretched(){return e.stretched},get focusable(){return e.focusable},call:(t,o)=>e.call(t,o),save:()=>e.save(),validate:t=>e.validate(t),dispatchChange(){e.dispatchChange()},getActiveToolboxEntry:()=>e.getActiveToolboxEntry()})}let Y=class{constructor(){this.allListeners=[]}on(e,t,o,n=!1){const i=function(e=""){return`${e}${Math.floor(1e8*Math.random()).toString(16)}`}("l"),r={id:i,element:e,eventType:t,handler:o,options:n};if(!this.findOne(e,t,o))return this.allListeners.push(r),e.addEventListener(t,o,n),i}off(e,t,o,n){const i=this.findAll(e,t,o);i.forEach(((e,t)=>{const o=this.allListeners.indexOf(i[t]);o>-1&&(this.allListeners.splice(o,1),e.element.removeEventListener(e.eventType,e.handler,e.options))}))}offById(e){const t=this.findById(e);t&&t.element.removeEventListener(t.eventType,t.handler,t.options)}findOne(e,t,o){const n=this.findAll(e,t,o);return n.length>0?n[0]:null}findAll(e,t,o){let n;const i=e?this.findByEventTarget(e):[];return n=e&&t&&o?i.filter((e=>e.eventType===t&&e.handler===o)):e&&t?i.filter((e=>e.eventType===t)):i,n}removeAll(){this.allListeners.map((e=>{e.element.removeEventListener(e.eventType,e.handler,e.options)})),this.allListeners=[]}destroy(){this.removeAll()}findByEventTarget(e){return this.allListeners.filter((t=>{if(t.element===e)return t}))}findByType(e){return this.allListeners.filter((t=>{if(t.eventType===e)return t}))}findByHandler(e){return this.allListeners.filter((t=>{if(t.handler===e)return t}))}findById(e){return this.allListeners.find((t=>t.id===e))}},X=class e{constructor({config:t,eventsDispatcher:o}){if(this.nodes={},this.listeners=new Y,this.readOnlyMutableListeners={on:(e,t,o,n=!1)=>{this.mutableListenerIds.push(this.listeners.on(e,t,o,n))},clearAll:()=>{for(const e of this.mutableListenerIds)this.listeners.offById(e);this.mutableListenerIds=[]}},this.mutableListenerIds=[],new.target===e)throw new TypeError("Constructors for abstract class Module are not allowed.");this.config=t,this.eventsDispatcher=o}set state(e){this.Editor=e}removeAllNodes(){for(const e in this.nodes){const t=this.nodes[e];t instanceof HTMLElement&&t.remove()}}get isRtl(){return"rtl"===this.config.i18n.direction}},V=class e{constructor(){this.instance=null,this.selection=null,this.savedSelectionRange=null,this.isFakeBackgroundEnabled=!1,this.commandBackground="backColor",this.commandRemoveFormat="removeFormat"}static get CSS(){return{editorWrapper:"codex-editor",editorZone:"codex-editor__redactor"}}static get anchorNode(){const e=window.getSelection();return e?e.anchorNode:null}static get anchorElement(){const e=window.getSelection();if(!e)return null;const t=e.anchorNode;return t?F.isElement(t)?t:t.parentElement:null}static get anchorOffset(){const e=window.getSelection();return e?e.anchorOffset:null}static get isCollapsed(){const e=window.getSelection();return e?e.isCollapsed:null}static get isAtEditor(){return this.isSelectionAtEditor(e.get())}static isSelectionAtEditor(t){if(!t)return!1;let o=t.anchorNode||t.focusNode;o&&o.nodeType===Node.TEXT_NODE&&(o=o.parentNode);let n=null;return o&&o instanceof Element&&(n=o.closest(`.${e.CSS.editorZone}`)),!!n&&n.nodeType===Node.ELEMENT_NODE}static isRangeAtEditor(t){if(!t)return;let o=t.startContainer;o&&o.nodeType===Node.TEXT_NODE&&(o=o.parentNode);let n=null;return o&&o instanceof Element&&(n=o.closest(`.${e.CSS.editorZone}`)),!!n&&n.nodeType===Node.ELEMENT_NODE}static get isSelectionExists(){return!!e.get().anchorNode}static get range(){return this.getRangeFromSelection(this.get())}static getRangeFromSelection(e){return e&&e.rangeCount?e.getRangeAt(0):null}static get rect(){let e,t=document.selection,o={x:0,y:0,width:0,height:0};if(t&&"Control"!==t.type)return e=t.createRange(),o.x=e.boundingLeft,o.y=e.boundingTop,o.width=e.boundingWidth,o.height=e.boundingHeight,o;if(!window.getSelection)return m("Method window.getSelection is not supported","warn"),o;if(t=window.getSelection(),null===t.rangeCount||isNaN(t.rangeCount))return m("Method SelectionUtils.rangeCount is not supported","warn"),o;if(0===t.rangeCount)return o;if(e=t.getRangeAt(0).cloneRange(),e.getBoundingClientRect&&(o=e.getBoundingClientRect()),0===o.x&&0===o.y){const t=document.createElement("span");if(t.getBoundingClientRect){t.appendChild(document.createTextNode("​")),e.insertNode(t),o=t.getBoundingClientRect();const n=t.parentNode;n.removeChild(t),n.normalize()}}return o}static get text(){return window.getSelection?window.getSelection().toString():""}static get(){return window.getSelection()}static setCursor(e,t=0){const o=document.createRange(),n=window.getSelection();return F.isNativeInput(e)?F.canSetCaret(e)?(e.focus(),e.selectionStart=e.selectionEnd=t,e.getBoundingClientRect()):void 0:(o.setStart(e,t),o.setEnd(e,t),n.removeAllRanges(),n.addRange(o),o.getBoundingClientRect())}static isRangeInsideContainer(t){const o=e.range;return null!==o&&t.contains(o.startContainer)}static addFakeCursor(){const t=e.range;if(null===t)return;const o=F.make("span","codex-editor__fake-cursor");o.dataset.mutationFree="true",t.collapse(),t.insertNode(o)}static isFakeCursorInsideContainer(e){return null!==F.find(e,".codex-editor__fake-cursor")}static removeFakeCursor(e=document.body){const t=F.find(e,".codex-editor__fake-cursor");t&&t.remove()}removeFakeBackground(){this.isFakeBackgroundEnabled&&(this.isFakeBackgroundEnabled=!1,document.execCommand(this.commandRemoveFormat))}setFakeBackground(){document.execCommand(this.commandBackground,!1,"#a8d6ff"),this.isFakeBackgroundEnabled=!0}save(){this.savedSelectionRange=e.range}restore(){if(!this.savedSelectionRange)return;const e=window.getSelection();e.removeAllRanges(),e.addRange(this.savedSelectionRange)}clearSaved(){this.savedSelectionRange=null}collapseToEnd(){const e=window.getSelection(),t=document.createRange();t.selectNodeContents(e.focusNode),t.collapse(!1),e.removeAllRanges(),e.addRange(t)}findParentTag(e,t,o=10){const n=window.getSelection();let i=null;return n&&n.anchorNode&&n.focusNode?([n.anchorNode,n.focusNode].forEach((n=>{let r=o;for(;r>0&&n.parentNode&&(n.tagName!==e||(i=n,t&&n.classList&&!n.classList.contains(t)&&(i=null),!i));)n=n.parentNode,r--})),i):null}expandToTag(e){const t=window.getSelection();t.removeAllRanges();const o=document.createRange();o.selectNodeContents(e),t.addRange(o)}};const G="redactor dom changed",Z="block changed",J="fake cursor is about to be toggled",Q="fake cursor have been set",ee="editor mobile layout toggled";function te(e,t){if(!e.conversionConfig)return!1;const o=e.conversionConfig[t];return y(o)||w(o)}function oe(e,t){return te(e.tool,t)}function ne(e,t){return Object.entries(e).some((([e,o])=>t[e]&&function(e,t){const o=Array.isArray(e)||k(e),n=Array.isArray(t)||k(t);return o||n?JSON.stringify(e)===JSON.stringify(t):e===t}(t[e],o)))}async function ie(e,t){const o=(await e.save()).data,n=t.find((t=>t.name===e.name));return void 0===n||te(n,"export")?t.reduce(((t,n)=>{if(!te(n,"import")||void 0===n.toolbox)return t;const i=n.toolbox.filter((t=>{if(C(t)||void 0===t.icon)return!1;if(void 0!==t.data){if(ne(t.data,o))return!1}else if(n.name===e.name)return!1;return!0}));return t.push({...n,toolbox:i}),t}),[]):[]}function re(e,t){return!!e.mergeable&&(e.name===t.name||oe(t,"export")&&oe(e,"import"))}function se(e,t,o){const n=null==t?void 0:t.import;return y(n)?n(e,o):w(n)?{[n]:e}:(void 0!==n&&m("Conversion «import» property must be a string or function. String means key of tool data to import. Function accepts a imported string and return composed tool data."),{})}var ae=(e=>(e.Default="default",e.Separator="separator",e.Html="html",e))(ae||{}),le=(e=>(e.APPEND_CALLBACK="appendCallback",e.RENDERED="rendered",e.MOVED="moved",e.UPDATED="updated",e.REMOVED="removed",e.ON_PASTE="onPaste",e))(le||{});let ce=class e extends q{constructor({id:e=A(),data:t,tool:o,readOnly:n,tunesData:i},r){super(),this.cachedInputs=[],this.toolRenderedElement=null,this.tunesInstances=new Map,this.defaultTunesInstances=new Map,this.unavailableTunesData={},this.inputIndex=0,this.editorEventBus=null,this.handleFocus=()=>{this.dropInputsCache(),this.updateCurrentInput()},this.didMutated=(e=void 0)=>{const t=void 0===e,o=e instanceof InputEvent;let n;!t&&!o&&this.detectToolRootChange(e),n=!(!t&&!o)||!(e.length>0&&e.every((e=>{const{addedNodes:t,removedNodes:o,target:n}=e;return[...Array.from(t),...Array.from(o),n].some((e=>(F.isElement(e)||(e=e.parentElement),e&&null!==e.closest('[data-mutation-free="true"]'))))}))),n&&(this.dropInputsCache(),this.updateCurrentInput(),this.toggleInputsEmptyMark(),this.call("updated"),this.emit("didMutated",this))},this.name=o.name,this.id=e,this.settings=o.settings,this.config=o.settings.config||{},this.editorEventBus=r||null,this.blockAPI=new K(this),this.tool=o,this.toolInstance=o.create(t,this.blockAPI,n),this.tunes=o.tunes,this.composeTunes(i),this.holder=this.compose(),window.requestIdleCallback((()=>{this.watchBlockMutations(),this.addInputEvents(),this.toggleInputsEmptyMark()}))}static get CSS(){return{wrapper:"ce-block",wrapperStretched:"ce-block--stretched",content:"ce-block__content",selected:"ce-block--selected",dropTarget:"ce-block--drop-target"}}get inputs(){if(0!==this.cachedInputs.length)return this.cachedInputs;const e=F.findAllInputs(this.holder);return this.inputIndex>e.length-1&&(this.inputIndex=e.length-1),this.cachedInputs=e,e}get currentInput(){return this.inputs[this.inputIndex]}set currentInput(e){const t=this.inputs.findIndex((t=>t===e||t.contains(e)));-1!==t&&(this.inputIndex=t)}get firstInput(){return this.inputs[0]}get lastInput(){const e=this.inputs;return e[e.length-1]}get nextInput(){return this.inputs[this.inputIndex+1]}get previousInput(){return this.inputs[this.inputIndex-1]}get data(){return this.save().then((e=>e&&!C(e.data)?e.data:{}))}get sanitize(){return this.tool.sanitizeConfig}get mergeable(){return y(this.toolInstance.merge)}get focusable(){return 0!==this.inputs.length}get isEmpty(){const e=F.isEmpty(this.pluginsContent,"/"),t=!this.hasMedia;return e&&t}get hasMedia(){return!!this.holder.querySelector(["img","iframe","video","audio","source","input","textarea","twitterwidget"].join(","))}set selected(t){var o,n;this.holder.classList.toggle(e.CSS.selected,t);const i=!0===t&&V.isRangeInsideContainer(this.holder),r=!1===t&&V.isFakeCursorInsideContainer(this.holder);(i||r)&&(null==(o=this.editorEventBus)||o.emit(J,{state:t}),i?V.addFakeCursor():V.removeFakeCursor(this.holder),null==(n=this.editorEventBus)||n.emit(Q,{state:t}))}get selected(){return this.holder.classList.contains(e.CSS.selected)}set stretched(t){this.holder.classList.toggle(e.CSS.wrapperStretched,t)}get stretched(){return this.holder.classList.contains(e.CSS.wrapperStretched)}set dropTarget(t){this.holder.classList.toggle(e.CSS.dropTarget,t)}get pluginsContent(){return this.toolRenderedElement}call(e,t){if(y(this.toolInstance[e])){"appendCallback"===e&&m("`appendCallback` hook is deprecated and will be removed in the next major release. Use `rendered` hook instead","warn");try{this.toolInstance[e].call(this.toolInstance,t)}catch(o){m(`Error during '${e}' call: ${o.message}`,"error")}}}async mergeWith(e){await this.toolInstance.merge(e)}async save(){const e=await this.toolInstance.save(this.pluginsContent),t=this.unavailableTunesData;[...this.tunesInstances.entries(),...this.defaultTunesInstances.entries()].forEach((([e,o])=>{if(y(o.save))try{t[e]=o.save()}catch(n){m(`Tune ${o.constructor.name} save method throws an Error %o`,"warn",n)}}));const o=window.performance.now();let n;return Promise.resolve(e).then((e=>(n=window.performance.now(),{id:this.id,tool:this.name,data:e,tunes:t,time:n-o}))).catch((e=>{m(`Saving process for ${this.name} tool failed due to the ${e}`,"log","red")}))}async validate(e){let t=!0;return this.toolInstance.validate instanceof Function&&(t=await this.toolInstance.validate(e)),t}getTunes(){const e=[],t=[],o="function"==typeof this.toolInstance.renderSettings?this.toolInstance.renderSettings():[];return F.isElement(o)?e.push({type:ae.Html,element:o}):Array.isArray(o)?e.push(...o):e.push(o),[...this.tunesInstances.values(),...this.defaultTunesInstances.values()].map((e=>e.render())).forEach((e=>{F.isElement(e)?t.push({type:ae.Html,element:e}):Array.isArray(e)?t.push(...e):t.push(e)})),{toolTunes:e,commonTunes:t}}updateCurrentInput(){this.currentInput=F.isNativeInput(document.activeElement)||!V.anchorNode?document.activeElement:V.anchorNode}dispatchChange(){this.didMutated()}destroy(){this.unwatchBlockMutations(),this.removeInputEvents(),super.destroy(),y(this.toolInstance.destroy)&&this.toolInstance.destroy()}async getActiveToolboxEntry(){const e=this.tool.toolbox;if(1===e.length)return Promise.resolve(this.tool.toolbox[0]);const t=await this.data;return null==e?void 0:e.find((e=>ne(e.data,t)))}async exportDataAsString(){return function(e,t){const o=null==t?void 0:t.export;return y(o)?o(e):w(o)?e[o]:(void 0!==o&&m("Conversion «export» property must be a string or function. String means key of saved data object to export. Function should export processed string to export."),"")}(await this.data,this.tool.conversionConfig)}compose(){const t=F.make("div",e.CSS.wrapper),o=F.make("div",e.CSS.content),n=this.toolInstance.render();t.dataset.id=this.id,this.toolRenderedElement=n,o.appendChild(this.toolRenderedElement);let i=o;return[...this.tunesInstances.values(),...this.defaultTunesInstances.values()].forEach((e=>{if(y(e.wrap))try{i=e.wrap(i)}catch(t){m(`Tune ${e.constructor.name} wrap method throws an Error %o`,"warn",t)}})),t.appendChild(i),t}composeTunes(e){Array.from(this.tunes.values()).forEach((t=>{(t.isInternal?this.defaultTunesInstances:this.tunesInstances).set(t.name,t.create(e[t.name],this.blockAPI))})),Object.entries(e).forEach((([e,t])=>{this.tunesInstances.has(e)||(this.unavailableTunesData[e]=t)}))}addInputEvents(){this.inputs.forEach((e=>{e.addEventListener("focus",this.handleFocus),F.isNativeInput(e)&&e.addEventListener("input",this.didMutated)}))}removeInputEvents(){this.inputs.forEach((e=>{e.removeEventListener("focus",this.handleFocus),F.isNativeInput(e)&&e.removeEventListener("input",this.didMutated)}))}watchBlockMutations(){var e;this.redactorDomChangedCallback=e=>{const{mutations:t}=e;t.some((e=>function(e,t){const{type:o,target:n,addedNodes:i,removedNodes:r}=e;return("attributes"!==e.type||"data-empty"!==e.attributeName)&&!!(t.contains(n)||"childList"===o&&(Array.from(i).some((e=>e===t))||Array.from(r).some((e=>e===t))))}(e,this.toolRenderedElement)))&&this.didMutated(t)},null==(e=this.editorEventBus)||e.on(G,this.redactorDomChangedCallback)}unwatchBlockMutations(){var e;null==(e=this.editorEventBus)||e.off(G,this.redactorDomChangedCallback)}detectToolRootChange(e){e.forEach((e=>{if(Array.from(e.removedNodes).includes(this.toolRenderedElement)){const t=e.addedNodes[e.addedNodes.length-1];this.toolRenderedElement=t}}))}dropInputsCache(){this.cachedInputs=[]}toggleInputsEmptyMark(){this.inputs.forEach(H)}};var de={exports:{}};window;const ue=t(de.exports=function(e){var t={};function o(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/",o(o.s=0)}([function(e,t,o){var n,i,r;o(1), +/*! + * Codex JavaScript Notification module + * https://github.com/codex-team/js-notifier + */ +e.exports=(n=o(6),i="cdx-notify--bounce-in",r=null,{show:function(e){if(e.message){!function(){if(r)return!0;r=n.getWrapper(),document.body.appendChild(r)}();var t=null,o=e.time||8e3;switch(e.type){case"confirm":t=n.confirm(e);break;case"prompt":t=n.prompt(e);break;default:t=n.alert(e),window.setTimeout((function(){t.remove()}),o)}r.appendChild(t),t.classList.add(i)}}})},function(e,t,o){var n=o(2);"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};o(4)(n,i),n.locals&&(e.exports=n.locals)},function(e,t,o){(e.exports=o(3)(!1)).push([e.i,'.cdx-notify--error{background:#fffbfb!important}.cdx-notify--error::before{background:#fb5d5d!important}.cdx-notify__input{max-width:130px;padding:5px 10px;background:#f7f7f7;border:0;border-radius:3px;font-size:13px;color:#656b7c;outline:0}.cdx-notify__input:-ms-input-placeholder{color:#656b7c}.cdx-notify__input::placeholder{color:#656b7c}.cdx-notify__input:focus:-ms-input-placeholder{color:rgba(101,107,124,.3)}.cdx-notify__input:focus::placeholder{color:rgba(101,107,124,.3)}.cdx-notify__button{border:none;border-radius:3px;font-size:13px;padding:5px 10px;cursor:pointer}.cdx-notify__button:last-child{margin-left:10px}.cdx-notify__button--cancel{background:#f2f5f7;box-shadow:0 2px 1px 0 rgba(16,19,29,0);color:#656b7c}.cdx-notify__button--cancel:hover{background:#eee}.cdx-notify__button--confirm{background:#34c992;box-shadow:0 1px 1px 0 rgba(18,49,35,.05);color:#fff}.cdx-notify__button--confirm:hover{background:#33b082}.cdx-notify__btns-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;margin-top:5px}.cdx-notify__cross{position:absolute;top:5px;right:5px;width:10px;height:10px;padding:5px;opacity:.54;cursor:pointer}.cdx-notify__cross::after,.cdx-notify__cross::before{content:\'\';position:absolute;left:9px;top:5px;height:12px;width:2px;background:#575d67}.cdx-notify__cross::before{transform:rotate(-45deg)}.cdx-notify__cross::after{transform:rotate(45deg)}.cdx-notify__cross:hover{opacity:1}.cdx-notifies{position:fixed;z-index:2;bottom:20px;left:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif}.cdx-notify{position:relative;width:220px;margin-top:15px;padding:13px 16px;background:#fff;box-shadow:0 11px 17px 0 rgba(23,32,61,.13);border-radius:5px;font-size:14px;line-height:1.4em;word-wrap:break-word}.cdx-notify::before{content:\'\';position:absolute;display:block;top:0;left:0;width:3px;height:calc(100% - 6px);margin:3px;border-radius:5px;background:0 0}@keyframes bounceIn{0%{opacity:0;transform:scale(.3)}50%{opacity:1;transform:scale(1.05)}70%{transform:scale(.9)}100%{transform:scale(1)}}.cdx-notify--bounce-in{animation-name:bounceIn;animation-duration:.6s;animation-iteration-count:1}.cdx-notify--success{background:#fafffe!important}.cdx-notify--success::before{background:#41ffb1!important}',""])},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=function(e,t){var o,n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var r=(o=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),s=i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}));return[n].concat(s).concat([r]).join("\n")}return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+o+"}":o})).join("")},t.i=function(e,o){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},i=0;i<this.length;i++){var r=this[i][0];"number"==typeof r&&(n[r]=!0)}for(i=0;i<e.length;i++){var s=e[i];"number"==typeof s[0]&&n[s[0]]||(o&&!s[2]?s[2]=o:o&&(s[2]="("+s[2]+") and ("+o+")"),t.push(s))}},t}},function(e,t,o){var n,i,r,s={},a=(n=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===i&&(i=n.apply(this,arguments)),i}),l=(r={},function(e){if("function"==typeof e)return e();if(void 0===r[e]){var t=function(e){return document.querySelector(e)}.call(this,e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch{t=null}r[e]=t}return r[e]}),c=null,d=0,u=[],h=o(5);function p(e,t){for(var o=0;o<e.length;o++){var n=e[o],i=s[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(y(n.parts[r],t))}else{var a=[];for(r=0;r<n.parts.length;r++)a.push(y(n.parts[r],t));s[n.id]={id:n.id,refs:1,parts:a}}}}function f(e,t){for(var o=[],n={},i=0;i<e.length;i++){var r=e[i],s=t.base?r[0]+t.base:r[0],a={css:r[1],media:r[2],sourceMap:r[3]};n[s]?n[s].parts.push(a):o.push(n[s]={id:s,parts:[a]})}return o}function g(e,t){var o=l(e.insertInto);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=u[u.length-1];if("top"===e.insertAt)n?n.nextSibling?o.insertBefore(t,n.nextSibling):o.appendChild(t):o.insertBefore(t,o.firstChild),u.push(t);else if("bottom"===e.insertAt)o.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var i=l(e.insertInto+" "+e.insertAt.before);o.insertBefore(t,i)}}function m(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=u.indexOf(e);t>=0&&u.splice(t,1)}function b(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),v(t,e.attrs),g(e,t),t}function v(e,t){Object.keys(t).forEach((function(o){e.setAttribute(o,t[o])}))}function y(e,t){var o,n,i,r,s,a;if(t.transform&&e.css){if(!(r=t.transform(e.css)))return function(){};e.css=r}if(t.singleton){var l=d++;o=c||(c=b(t)),n=x.bind(null,o,l,!1),i=x.bind(null,o,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(s=t,a=document.createElement("link"),void 0===s.attrs.type&&(s.attrs.type="text/css"),s.attrs.rel="stylesheet",v(a,s.attrs),g(s,a),n=function(e,t,o){var n=o.css,i=o.sourceMap,r=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||r)&&(n=h(n)),i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var s=new Blob([n],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,o=a,t),i=function(){m(o),o.href&&URL.revokeObjectURL(o.href)}):(o=b(t),n=function(e,t){var o=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}.bind(null,o),i=function(){m(o)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}e.exports=function(e,t){if(typeof DEBUG<"u"&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var o=f(e,t);return p(o,t),function(e){for(var n=[],i=0;i<o.length;i++){var r=o[i];(a=s[r.id]).refs--,n.push(a)}for(e&&p(f(e,t),t),i=0;i<n.length;i++){var a;if(0===(a=n[i]).refs){for(var l=0;l<a.parts.length;l++)a.parts[l]();delete s[a.id]}}}};var k,w=(k=[],function(e,t){return k[e]=t,k.filter(Boolean).join("\n")});function x(e,t,o,n){var i=o?"":n.css;if(e.styleSheet)e.styleSheet.cssText=w(t,i);else{var r=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(r,s[t]):e.appendChild(r)}}},function(e,t){e.exports=function(e){var t=typeof window<"u"&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var o=t.protocol+"//"+t.host,n=o+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var i,r=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(r)?e:(i=0===r.indexOf("//")?r:0===r.indexOf("/")?o+r:n+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")}))}},function(e,t,o){var n,i,r,s,a,l,c,d,u;e.exports=(n="cdx-notifies",i="cdx-notify",r="cdx-notify__cross",s="cdx-notify__button--confirm",a="cdx-notify__button--cancel",l="cdx-notify__input",c="cdx-notify__button",d="cdx-notify__btns-wrapper",{alert:u=function(e){var t=document.createElement("DIV"),o=document.createElement("DIV"),n=e.message,s=e.style;return t.classList.add(i),s&&t.classList.add(i+"--"+s),t.innerHTML=n,o.classList.add(r),o.addEventListener("click",t.remove.bind(t)),t.appendChild(o),t},confirm:function(e){var t=u(e),o=document.createElement("div"),n=document.createElement("button"),i=document.createElement("button"),l=t.querySelector("."+r),h=e.cancelHandler,p=e.okHandler;return o.classList.add(d),n.innerHTML=e.okText||"Confirm",i.innerHTML=e.cancelText||"Cancel",n.classList.add(c),i.classList.add(c),n.classList.add(s),i.classList.add(a),h&&"function"==typeof h&&(i.addEventListener("click",h),l.addEventListener("click",h)),p&&"function"==typeof p&&n.addEventListener("click",p),n.addEventListener("click",t.remove.bind(t)),i.addEventListener("click",t.remove.bind(t)),o.appendChild(n),o.appendChild(i),t.appendChild(o),t},prompt:function(e){var t=u(e),o=document.createElement("div"),n=document.createElement("button"),i=document.createElement("input"),a=t.querySelector("."+r),h=e.cancelHandler,p=e.okHandler;return o.classList.add(d),n.innerHTML=e.okText||"Ok",n.classList.add(c),n.classList.add(s),i.classList.add(l),e.placeholder&&i.setAttribute("placeholder",e.placeholder),e.default&&(i.value=e.default),e.inputType&&(i.type=e.inputType),h&&"function"==typeof h&&a.addEventListener("click",h),p&&"function"==typeof p&&n.addEventListener("click",(function(){p(i.value)})),n.addEventListener("click",t.remove.bind(t)),o.appendChild(i),o.appendChild(n),t.appendChild(o),t},getWrapper:function(){var e=document.createElement("DIV");return e.classList.add(n),e}})}]));class he{show(e){ue.show(e)}}var pe={exports:{}};const fe=t(pe.exports=function(){function e(e){var t=e.tags;if(!Object.keys(t).map((function(e){return typeof t[e]})).every((function(e){return"object"===e||"boolean"===e||"function"===e})))throw new Error("The configuration was invalid");this.config=e}var t=["P","LI","TD","TH","DIV","H1","H2","H3","H4","H5","H6","PRE"];function o(e){return-1!==t.indexOf(e.nodeName)}var n=["A","B","STRONG","I","EM","SUB","SUP","U","STRIKE"];function i(e){return-1!==n.indexOf(e.nodeName)}function r(e,t){return e.createTreeWalker(t,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_COMMENT,null,!1)}function s(e,t,o){return"function"==typeof e.tags[t]?e.tags[t](o):e.tags[t]}function a(e,t){return typeof t>"u"||"boolean"==typeof t&&!t}function l(e,t,o){var n=e.name.toLowerCase();return!0!==t&&("function"==typeof t[n]?!t[n](e.value,o):typeof t[n]>"u"||!1===t[n]||"string"==typeof t[n]&&t[n]!==e.value)}return e.prototype.clean=function(e){const t=document.implementation.createHTMLDocument(),o=t.createElement("div");return o.innerHTML=e,this._sanitize(t,o),o.innerHTML},e.prototype._sanitize=function(e,t){var n=r(e,t),c=n.firstChild();if(c)do{if(c.nodeType!==Node.TEXT_NODE){if(c.nodeType===Node.COMMENT_NODE){t.removeChild(c),this._sanitize(e,t);break}var d,u=i(c);u&&(d=Array.prototype.some.call(c.childNodes,o));var h=!!t.parentNode,p=o(t)&&o(c)&&h,f=c.nodeName.toLowerCase(),g=s(this.config,f,c);if(u&&d||a(c,g)||!this.config.keepNestedBlockElements&&p){if("SCRIPT"!==c.nodeName&&"STYLE"!==c.nodeName)for(;c.childNodes.length>0;)t.insertBefore(c.childNodes[0],c);t.removeChild(c),this._sanitize(e,t);break}for(var m=0;m<c.attributes.length;m+=1){var b=c.attributes[m];l(b,g,c)&&(c.removeAttribute(b.name),m-=1)}this._sanitize(e,c)}else if(""===c.data.trim()&&(c.previousElementSibling&&o(c.previousElementSibling)||c.nextElementSibling&&o(c.nextElementSibling))){t.removeChild(c),this._sanitize(e,t);break}}while(c=n.nextSibling())},e}());function ge(e,t){return e.map((e=>{const o=y(t)?t(e.tool):t;return C(o)||(e.data=be(e.data,o)),e}))}function me(e,t={}){return new fe({tags:t}).clean(e)}function be(e,t){return Array.isArray(e)?function(e,t){return e.map((e=>be(e,t)))}(e,t):k(e)?function(e,t){const o={};for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const i=e[n],r=ve(t[n])?t[n]:t;o[n]=be(i,r)}return o}(e,t):w(e)?function(e,t){return k(t)?me(e,t):!1===t?me(e,{}):e}(e,t):e}function ve(e){return k(e)||function(e){return"boolean"===v(e)}(e)||y(e)}var ye={exports:{}}; +/*! + * CodeX.Tooltips + * + * @version 1.0.5 + * + * @licence MIT + * @author CodeX <https://codex.so> + * + * + */window;const ke=t(ye.exports=function(e){var t={};function o(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t,o){e.exports=o(1)},function(e,t,o){o.r(t),o.d(t,"default",(function(){return n}));class n{constructor(){this.nodes={wrapper:null,content:null},this.showed=!1,this.offsetTop=10,this.offsetLeft=10,this.offsetRight=10,this.hidingDelay=0,this.handleWindowScroll=()=>{this.showed&&this.hide(!0)},this.loadStyles(),this.prepare(),window.addEventListener("scroll",this.handleWindowScroll,{passive:!0})}get CSS(){return{tooltip:"ct",tooltipContent:"ct__content",tooltipShown:"ct--shown",placement:{left:"ct--left",bottom:"ct--bottom",right:"ct--right",top:"ct--top"}}}show(e,t,o){this.nodes.wrapper||this.prepare(),this.hidingTimeout&&clearTimeout(this.hidingTimeout);const n=Object.assign({placement:"bottom",marginTop:0,marginLeft:0,marginRight:0,marginBottom:0,delay:70,hidingDelay:0},o);if(n.hidingDelay&&(this.hidingDelay=n.hidingDelay),this.nodes.content.innerHTML="","string"==typeof t)this.nodes.content.appendChild(document.createTextNode(t));else{if(!(t instanceof Node))throw Error("[CodeX Tooltip] Wrong type of «content» passed. It should be an instance of Node or String. But "+typeof t+" given.");this.nodes.content.appendChild(t)}switch(this.nodes.wrapper.classList.remove(...Object.values(this.CSS.placement)),n.placement){case"top":this.placeTop(e,n);break;case"left":this.placeLeft(e,n);break;case"right":this.placeRight(e,n);break;default:this.placeBottom(e,n)}n&&n.delay?this.showingTimeout=setTimeout((()=>{this.nodes.wrapper.classList.add(this.CSS.tooltipShown),this.showed=!0}),n.delay):(this.nodes.wrapper.classList.add(this.CSS.tooltipShown),this.showed=!0)}hide(e=!1){if(this.hidingDelay&&!e)return this.hidingTimeout&&clearTimeout(this.hidingTimeout),void(this.hidingTimeout=setTimeout((()=>{this.hide(!0)}),this.hidingDelay));this.nodes.wrapper.classList.remove(this.CSS.tooltipShown),this.showed=!1,this.showingTimeout&&clearTimeout(this.showingTimeout)}onHover(e,t,o){e.addEventListener("mouseenter",(()=>{this.show(e,t,o)})),e.addEventListener("mouseleave",(()=>{this.hide()}))}destroy(){this.nodes.wrapper.remove(),window.removeEventListener("scroll",this.handleWindowScroll)}prepare(){this.nodes.wrapper=this.make("div",this.CSS.tooltip),this.nodes.content=this.make("div",this.CSS.tooltipContent),this.append(this.nodes.wrapper,this.nodes.content),this.append(document.body,this.nodes.wrapper)}loadStyles(){const e="codex-tooltips-style";if(document.getElementById(e))return;const t=o(2),n=this.make("style",null,{textContent:t.toString(),id:e});this.prepend(document.head,n)}placeBottom(e,t){const o=e.getBoundingClientRect(),n=o.left+e.clientWidth/2-this.nodes.wrapper.offsetWidth/2,i=o.bottom+window.pageYOffset+this.offsetTop+t.marginTop;this.applyPlacement("bottom",n,i)}placeTop(e,t){const o=e.getBoundingClientRect(),n=o.left+e.clientWidth/2-this.nodes.wrapper.offsetWidth/2,i=o.top+window.pageYOffset-this.nodes.wrapper.clientHeight-this.offsetTop;this.applyPlacement("top",n,i)}placeLeft(e,t){const o=e.getBoundingClientRect(),n=o.left-this.nodes.wrapper.offsetWidth-this.offsetLeft-t.marginLeft,i=o.top+window.pageYOffset+e.clientHeight/2-this.nodes.wrapper.offsetHeight/2;this.applyPlacement("left",n,i)}placeRight(e,t){const o=e.getBoundingClientRect(),n=o.right+this.offsetRight+t.marginRight,i=o.top+window.pageYOffset+e.clientHeight/2-this.nodes.wrapper.offsetHeight/2;this.applyPlacement("right",n,i)}applyPlacement(e,t,o){this.nodes.wrapper.classList.add(this.CSS.placement[e]),this.nodes.wrapper.style.left=t+"px",this.nodes.wrapper.style.top=o+"px"}make(e,t=null,o={}){const n=document.createElement(e);Array.isArray(t)?n.classList.add(...t):t&&n.classList.add(t);for(const i in o)o.hasOwnProperty(i)&&(n[i]=o[i]);return n}append(e,t){Array.isArray(t)?t.forEach((t=>e.appendChild(t))):e.appendChild(t)}prepend(e,t){Array.isArray(t)?(t=t.reverse()).forEach((t=>e.prepend(t))):e.prepend(t)}}},function(e,t){e.exports='.ct{z-index:999;opacity:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;-webkit-transition:opacity 50ms ease-in,-webkit-transform 70ms cubic-bezier(.215,.61,.355,1);transition:opacity 50ms ease-in,-webkit-transform 70ms cubic-bezier(.215,.61,.355,1);transition:opacity 50ms ease-in,transform 70ms cubic-bezier(.215,.61,.355,1);transition:opacity 50ms ease-in,transform 70ms cubic-bezier(.215,.61,.355,1),-webkit-transform 70ms cubic-bezier(.215,.61,.355,1);will-change:opacity,top,left;-webkit-box-shadow:0 8px 12px 0 rgba(29,32,43,.17),0 4px 5px -3px rgba(5,6,12,.49);box-shadow:0 8px 12px 0 rgba(29,32,43,.17),0 4px 5px -3px rgba(5,6,12,.49);border-radius:9px}.ct,.ct:before{position:absolute;top:0;left:0}.ct:before{content:"";bottom:0;right:0;background-color:#1d202b;z-index:-1;border-radius:4px}@supports(-webkit-mask-box-image:url("")){.ct:before{border-radius:0;-webkit-mask-box-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M10.71 0h2.58c3.02 0 4.64.42 6.1 1.2a8.18 8.18 0 013.4 3.4C23.6 6.07 24 7.7 24 10.71v2.58c0 3.02-.42 4.64-1.2 6.1a8.18 8.18 0 01-3.4 3.4c-1.47.8-3.1 1.21-6.11 1.21H10.7c-3.02 0-4.64-.42-6.1-1.2a8.18 8.18 0 01-3.4-3.4C.4 17.93 0 16.3 0 13.29V10.7c0-3.02.42-4.64 1.2-6.1a8.18 8.18 0 013.4-3.4C6.07.4 7.7 0 10.71 0z"/></svg>\') 48% 41% 37.9% 53.3%}}@media (--mobile){.ct{display:none}}.ct__content{padding:6px 10px;color:#cdd1e0;font-size:12px;text-align:center;letter-spacing:.02em;line-height:1em}.ct:after{content:"";width:8px;height:8px;position:absolute;background-color:#1d202b;z-index:-1}.ct--bottom{-webkit-transform:translateY(5px);transform:translateY(5px)}.ct--bottom:after{top:-3px;left:50%;-webkit-transform:translateX(-50%) rotate(-45deg);transform:translateX(-50%) rotate(-45deg)}.ct--top{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.ct--top:after{top:auto;bottom:-3px;left:50%;-webkit-transform:translateX(-50%) rotate(-45deg);transform:translateX(-50%) rotate(-45deg)}.ct--left{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.ct--left:after{top:50%;left:auto;right:0;-webkit-transform:translate(41.6%,-50%) rotate(-45deg);transform:translate(41.6%,-50%) rotate(-45deg)}.ct--right{-webkit-transform:translateX(5px);transform:translateX(5px)}.ct--right:after{top:50%;left:0;-webkit-transform:translate(-41.6%,-50%) rotate(-45deg);transform:translate(-41.6%,-50%) rotate(-45deg)}.ct--shown{opacity:1;-webkit-transform:none;transform:none}'}]).default);let we=null;function xe(){we||(we=new ke)}function Ee(e=!1){xe(),null==we||we.hide(e)}function Ce(e,t,o){xe(),null==we||we.onHover(e,t,o)}const Se=function e(t,o){const n={};return Object.entries(t).forEach((([t,i])=>{if(k(i)){const r=o?`${o}.${t}`:t;Object.values(i).every((e=>w(e)))?n[t]=r:n[t]=e(i,r)}else n[t]=i})),n}(U);const Te=class e{constructor(e,t){this.cursor=-1,this.items=[],this.items=e||[],this.focusedCssClass=t}get currentItem(){return-1===this.cursor?null:this.items[this.cursor]}setCursor(e){e<this.items.length&&e>=-1&&(this.dropCursor(),this.cursor=e,this.items[this.cursor].classList.add(this.focusedCssClass))}setItems(e){this.items=e}next(){this.cursor=this.leafNodesAndReturnIndex(e.directions.RIGHT)}previous(){this.cursor=this.leafNodesAndReturnIndex(e.directions.LEFT)}dropCursor(){-1!==this.cursor&&(this.items[this.cursor].classList.remove(this.focusedCssClass),this.cursor=-1)}leafNodesAndReturnIndex(t){if(0===this.items.length)return this.cursor;let o=this.cursor;return-1===o?o=t===e.directions.RIGHT?-1:0:this.items[o].classList.remove(this.focusedCssClass),o=t===e.directions.RIGHT?(o+1)%this.items.length:(this.items.length+o-1)%this.items.length,F.canSetCaret(this.items[o])&&O((()=>V.setCursor(this.items[o])),50)(),this.items[o].classList.add(this.focusedCssClass),o}};Te.directions={RIGHT:"right",LEFT:"left"};let _e=Te,Oe=class e{constructor(t){this.iterator=null,this.activated=!1,this.flipCallbacks=[],this.onKeyDown=t=>{if(this.isEventReadyForHandling(t)&&!0!==t.shiftKey)switch(e.usedKeys.includes(t.keyCode)&&t.preventDefault(),t.keyCode){case s:this.handleTabPress(t);break;case c:case d:this.flipLeft();break;case h:case u:this.flipRight();break;case a:this.handleEnterPress(t)}},this.iterator=new _e(t.items,t.focusedItemClass),this.activateCallback=t.activateCallback,this.allowedKeys=t.allowedKeys||e.usedKeys}get isActivated(){return this.activated}static get usedKeys(){return[s,c,h,a,d,u]}activate(e,t){this.activated=!0,e&&this.iterator.setItems(e),void 0!==t&&this.iterator.setCursor(t),document.addEventListener("keydown",this.onKeyDown,!0)}deactivate(){this.activated=!1,this.dropCursor(),document.removeEventListener("keydown",this.onKeyDown)}focusFirst(){this.dropCursor(),this.flipRight()}flipLeft(){this.iterator.previous(),this.flipCallback()}flipRight(){this.iterator.next(),this.flipCallback()}hasFocus(){return!!this.iterator.currentItem}onFlip(e){this.flipCallbacks.push(e)}removeOnFlip(e){this.flipCallbacks=this.flipCallbacks.filter((t=>t!==e))}dropCursor(){this.iterator.dropCursor()}isEventReadyForHandling(e){return this.activated&&this.allowedKeys.includes(e.keyCode)}handleTabPress(e){switch(e.shiftKey?_e.directions.LEFT:_e.directions.RIGHT){case _e.directions.RIGHT:this.flipRight();break;case _e.directions.LEFT:this.flipLeft()}}handleEnterPress(e){this.activated&&(this.iterator.currentItem&&(e.stopPropagation(),e.preventDefault(),this.iterator.currentItem.click()),y(this.activateCallback)&&this.activateCallback(this.iterator.currentItem))}flipCallback(){this.iterator.currentItem&&this.iterator.currentItem.scrollIntoViewIfNeeded(),this.flipCallbacks.forEach((e=>e()))}};const Be='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7.69998 12.6L7.67896 12.62C6.53993 13.7048 6.52012 15.5155 7.63516 16.625V16.625C8.72293 17.7073 10.4799 17.7102 11.5712 16.6314L13.0263 15.193C14.0703 14.1609 14.2141 12.525 13.3662 11.3266L13.22 11.12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16.22 11.12L16.3564 10.9805C17.2895 10.0265 17.3478 8.5207 16.4914 7.49733V7.49733C15.5691 6.39509 13.9269 6.25143 12.8271 7.17675L11.3901 8.38588C10.0935 9.47674 9.95706 11.4241 11.0888 12.6852L11.12 12.72"/></svg>',Ie='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M11.5 17.5L5 11M5 11V15.5M5 11H9.5"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M12.5 6.5L19 13M19 13V8.5M19 13H14.5"/></svg>';function Me(e){return(t,o)=>[[e,t].filter((e=>!!e)).join("__"),o].filter((e=>!!e)).join("--")}const Pe=Me("ce-hint"),Le={root:Pe(),alignedStart:Pe(null,"align-left"),alignedCenter:Pe(null,"align-center"),title:Pe("title"),description:Pe("description")};class Ae{constructor(e){this.nodes={root:F.make("div",[Le.root,"center"===e.alignment?Le.alignedCenter:Le.alignedStart]),title:F.make("div",Le.title,{textContent:e.title})},this.nodes.root.appendChild(this.nodes.title),void 0!==e.description&&(this.nodes.description=F.make("div",Le.description,{textContent:e.description}),this.nodes.root.appendChild(this.nodes.description))}getElement(){return this.nodes.root}}let Ne=class{constructor(e){this.params=e}get name(){if(void 0!==this.params&&"name"in this.params)return this.params.name}destroy(){Ee()}onChildrenOpen(){var e;void 0!==this.params&&"children"in this.params&&"function"==typeof(null==(e=this.params.children)?void 0:e.onOpen)&&this.params.children.onOpen()}onChildrenClose(){var e;void 0!==this.params&&"children"in this.params&&"function"==typeof(null==(e=this.params.children)?void 0:e.onClose)&&this.params.children.onClose()}handleClick(){var e,t;void 0!==this.params&&"onActivate"in this.params&&(null==(t=(e=this.params).onActivate)||t.call(e,this.params))}addHint(e,t){Ce(e,new Ae(t).getElement(),{placement:t.position,hidingDelay:100})}get children(){var e;return void 0!==this.params&&"children"in this.params&&void 0!==(null==(e=this.params.children)?void 0:e.items)?this.params.children.items:[]}get hasChildren(){return this.children.length>0}get isChildrenOpen(){var e;return void 0!==this.params&&"children"in this.params&&!0===(null==(e=this.params.children)?void 0:e.isOpen)}get isChildrenFlippable(){var e;return!(void 0===this.params||!("children"in this.params)||!1===(null==(e=this.params.children)?void 0:e.isFlippable))}get isChildrenSearchable(){var e;return void 0!==this.params&&"children"in this.params&&!0===(null==(e=this.params.children)?void 0:e.searchable)}get closeOnActivate(){return void 0!==this.params&&"closeOnActivate"in this.params&&this.params.closeOnActivate}get isActive(){return void 0!==this.params&&"isActive"in this.params&&("function"==typeof this.params.isActive?this.params.isActive():!0===this.params.isActive)}};const je=Me("ce-popover-item"),De={container:je(),active:je(null,"active"),disabled:je(null,"disabled"),focused:je(null,"focused"),hidden:je(null,"hidden"),confirmationState:je(null,"confirmation"),noHover:je(null,"no-hover"),noFocus:je(null,"no-focus"),title:je("title"),secondaryTitle:je("secondary-title"),icon:je("icon"),iconTool:je("icon","tool"),iconChevronRight:je("icon","chevron-right"),wobbleAnimation:Me("wobble")()};let Re=class extends Ne{constructor(e,t){super(e),this.params=e,this.nodes={root:null,icon:null},this.confirmationState=null,this.removeSpecialFocusBehavior=()=>{var e;null==(e=this.nodes.root)||e.classList.remove(De.noFocus)},this.removeSpecialHoverBehavior=()=>{var e;null==(e=this.nodes.root)||e.classList.remove(De.noHover)},this.onErrorAnimationEnd=()=>{var e,t;null==(e=this.nodes.icon)||e.classList.remove(De.wobbleAnimation),null==(t=this.nodes.icon)||t.removeEventListener("animationend",this.onErrorAnimationEnd)},this.nodes.root=this.make(e,t)}get isDisabled(){return!0===this.params.isDisabled}get toggle(){return this.params.toggle}get title(){return this.params.title}get isConfirmationStateEnabled(){return null!==this.confirmationState}get isFocused(){return null!==this.nodes.root&&this.nodes.root.classList.contains(De.focused)}getElement(){return this.nodes.root}handleClick(){this.isConfirmationStateEnabled&&null!==this.confirmationState?this.activateOrEnableConfirmationMode(this.confirmationState):this.activateOrEnableConfirmationMode(this.params)}toggleActive(e){var t;null==(t=this.nodes.root)||t.classList.toggle(De.active,e)}toggleHidden(e){var t;null==(t=this.nodes.root)||t.classList.toggle(De.hidden,e)}reset(){this.isConfirmationStateEnabled&&this.disableConfirmationMode()}onFocus(){this.disableSpecialHoverAndFocusBehavior()}make(e,t){var o,n;const i=(null==t?void 0:t.wrapperTag)||"div",r=F.make(i,De.container,{type:"button"===i?"button":void 0});return e.name&&(r.dataset.itemName=e.name),this.nodes.icon=F.make("div",[De.icon,De.iconTool],{innerHTML:e.icon||'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4" stroke="currentColor" stroke-width="2"/></svg>'}),r.appendChild(this.nodes.icon),void 0!==e.title&&r.appendChild(F.make("div",De.title,{innerHTML:e.title||""})),e.secondaryLabel&&r.appendChild(F.make("div",De.secondaryTitle,{textContent:e.secondaryLabel})),this.hasChildren&&r.appendChild(F.make("div",[De.icon,De.iconChevronRight],{innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M9.58284 17.5L14.4414 12.6414C14.5195 12.5633 14.5195 12.4367 14.4414 12.3586L9.58284 7.5"/></svg>'})),this.isActive&&r.classList.add(De.active),e.isDisabled&&r.classList.add(De.disabled),void 0!==e.hint&&!1!==(null==(o=null==t?void 0:t.hint)?void 0:o.enabled)&&this.addHint(r,{...e.hint,position:(null==(n=null==t?void 0:t.hint)?void 0:n.position)||"right"}),r}enableConfirmationMode(e){if(null===this.nodes.root)return;const t={...this.params,...e,confirmation:"confirmation"in e?e.confirmation:void 0},o=this.make(t);this.nodes.root.innerHTML=o.innerHTML,this.nodes.root.classList.add(De.confirmationState),this.confirmationState=e,this.enableSpecialHoverAndFocusBehavior()}disableConfirmationMode(){if(null===this.nodes.root)return;const e=this.make(this.params);this.nodes.root.innerHTML=e.innerHTML,this.nodes.root.classList.remove(De.confirmationState),this.confirmationState=null,this.disableSpecialHoverAndFocusBehavior()}enableSpecialHoverAndFocusBehavior(){var e,t,o;null==(e=this.nodes.root)||e.classList.add(De.noHover),null==(t=this.nodes.root)||t.classList.add(De.noFocus),null==(o=this.nodes.root)||o.addEventListener("mouseleave",this.removeSpecialHoverBehavior,{once:!0})}disableSpecialHoverAndFocusBehavior(){var e;this.removeSpecialFocusBehavior(),this.removeSpecialHoverBehavior(),null==(e=this.nodes.root)||e.removeEventListener("mouseleave",this.removeSpecialHoverBehavior)}activateOrEnableConfirmationMode(e){var t;if("confirmation"in e&&void 0!==e.confirmation)this.enableConfirmationMode(e.confirmation);else try{null==(t=e.onActivate)||t.call(e,e),this.disableConfirmationMode()}catch{this.animateError()}}animateError(){var e,t,o;null!=(e=this.nodes.icon)&&e.classList.contains(De.wobbleAnimation)||(null==(t=this.nodes.icon)||t.classList.add(De.wobbleAnimation),null==(o=this.nodes.icon)||o.addEventListener("animationend",this.onErrorAnimationEnd))}};const Fe=Me("ce-popover-item-separator"),He={container:Fe(),line:Fe("line"),hidden:Fe(null,"hidden")};class Ue extends Ne{constructor(){super(),this.nodes={root:F.make("div",He.container),line:F.make("div",He.line)},this.nodes.root.appendChild(this.nodes.line)}getElement(){return this.nodes.root}toggleHidden(e){var t;null==(t=this.nodes.root)||t.classList.toggle(He.hidden,e)}}var ze=(e=>(e.Closed="closed",e.ClosedOnActivate="closed-on-activate",e))(ze||{});const We=Me("ce-popover"),$e={popover:We(),popoverContainer:We("container"),popoverOpenTop:We(null,"open-top"),popoverOpenLeft:We(null,"open-left"),popoverOpened:We(null,"opened"),search:We("search"),nothingFoundMessage:We("nothing-found-message"),nothingFoundMessageDisplayed:We("nothing-found-message","displayed"),items:We("items"),overlay:We("overlay"),overlayHidden:We("overlay","hidden"),popoverNested:We(null,"nested"),getPopoverNestedClass:e=>We(null,`nested-level-${e.toString()}`),popoverInline:We(null,"inline"),popoverHeader:We("header")};var qe=(e=>(e.NestingLevel="--nesting-level",e.PopoverHeight="--popover-height",e.InlinePopoverWidth="--inline-popover-width",e.TriggerItemLeft="--trigger-item-left",e.TriggerItemTop="--trigger-item-top",e))(qe||{});const Ke=Me("ce-popover-item-html"),Ye={root:Ke(),hidden:Ke(null,"hidden")};let Xe=class extends Ne{constructor(e,t){var o,n;super(e),this.nodes={root:F.make("div",Ye.root)},this.nodes.root.appendChild(e.element),e.name&&(this.nodes.root.dataset.itemName=e.name),void 0!==e.hint&&!1!==(null==(o=null==t?void 0:t.hint)?void 0:o.enabled)&&this.addHint(this.nodes.root,{...e.hint,position:(null==(n=null==t?void 0:t.hint)?void 0:n.position)||"right"})}getElement(){return this.nodes.root}toggleHidden(e){var t;null==(t=this.nodes.root)||t.classList.toggle(Ye.hidden,e)}getControls(){const e=this.nodes.root.querySelectorAll(`button, ${F.allInputsSelector}`);return Array.from(e)}};class Ve extends q{constructor(e,t={}){super(),this.params=e,this.itemsRenderParams=t,this.listeners=new Y,this.messages={nothingFound:"Nothing found",search:"Search"},this.items=this.buildItems(e.items),e.messages&&(this.messages={...this.messages,...e.messages}),this.nodes={},this.nodes.popoverContainer=F.make("div",[$e.popoverContainer]),this.nodes.nothingFoundMessage=F.make("div",[$e.nothingFoundMessage],{textContent:this.messages.nothingFound}),this.nodes.popoverContainer.appendChild(this.nodes.nothingFoundMessage),this.nodes.items=F.make("div",[$e.items]),this.items.forEach((e=>{const t=e.getElement();null!==t&&this.nodes.items.appendChild(t)})),this.nodes.popoverContainer.appendChild(this.nodes.items),this.listeners.on(this.nodes.popoverContainer,"click",(e=>this.handleClick(e))),this.nodes.popover=F.make("div",[$e.popover,this.params.class]),this.nodes.popover.appendChild(this.nodes.popoverContainer)}get itemsDefault(){return this.items.filter((e=>e instanceof Re))}getElement(){return this.nodes.popover}show(){this.nodes.popover.classList.add($e.popoverOpened),void 0!==this.search&&this.search.focus()}hide(){this.nodes.popover.classList.remove($e.popoverOpened),this.nodes.popover.classList.remove($e.popoverOpenTop),this.itemsDefault.forEach((e=>e.reset())),void 0!==this.search&&this.search.clear(),this.emit(ze.Closed)}destroy(){var e;this.items.forEach((e=>e.destroy())),this.nodes.popover.remove(),this.listeners.removeAll(),null==(e=this.search)||e.destroy()}activateItemByName(e){const t=this.items.find((t=>t.name===e));this.handleItemClick(t)}buildItems(e){return e.map((e=>{switch(e.type){case ae.Separator:return new Ue;case ae.Html:return new Xe(e,this.itemsRenderParams[ae.Html]);default:return new Re(e,this.itemsRenderParams[ae.Default])}}))}getTargetItem(e){return this.items.filter((e=>e instanceof Re||e instanceof Xe)).find((t=>{const o=t.getElement();return null!==o&&e.composedPath().includes(o)}))}handleItemClick(e){if(!("isDisabled"in e)||!e.isDisabled){if(e.hasChildren)return this.showNestedItems(e),void("handleClick"in e&&"function"==typeof e.handleClick&&e.handleClick());this.itemsDefault.filter((t=>t!==e)).forEach((e=>e.reset())),"handleClick"in e&&"function"==typeof e.handleClick&&e.handleClick(),this.toggleItemActivenessIfNeeded(e),e.closeOnActivate&&(this.hide(),this.emit(ze.ClosedOnActivate))}}handleClick(e){const t=this.getTargetItem(e);void 0!==t&&this.handleItemClick(t)}toggleItemActivenessIfNeeded(e){if(e instanceof Re&&(!0===e.toggle&&e.toggleActive(),"string"==typeof e.toggle)){const t=this.itemsDefault.filter((t=>t.toggle===e.toggle));if(1===t.length)return void e.toggleActive();t.forEach((t=>{t.toggleActive(t===e)}))}}}var Ge=(e=>(e.Search="search",e))(Ge||{});const Ze=Me("cdx-search-field"),Je={wrapper:Ze(),icon:Ze("icon"),input:Ze("input")};class Qe extends q{constructor({items:e,placeholder:t}){super(),this.listeners=new Y,this.items=e,this.wrapper=F.make("div",Je.wrapper);const o=F.make("div",Je.icon,{innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><circle cx="10.5" cy="10.5" r="5.5" stroke="currentColor" stroke-width="2"/><line x1="15.4142" x2="19" y1="15" y2="18.5858" stroke="currentColor" stroke-linecap="round" stroke-width="2"/></svg>'});this.input=F.make("input",Je.input,{placeholder:t,tabIndex:-1}),this.wrapper.appendChild(o),this.wrapper.appendChild(this.input),this.listeners.on(this.input,"input",(()=>{this.searchQuery=this.input.value,this.emit(Ge.Search,{query:this.searchQuery,items:this.foundItems})}))}getElement(){return this.wrapper}focus(){this.input.focus()}clear(){this.input.value="",this.searchQuery="",this.emit(Ge.Search,{query:"",items:this.foundItems})}destroy(){this.listeners.removeAll()}get foundItems(){return this.items.filter((e=>this.checkItem(e)))}checkItem(e){var t,o;const n=(null==(t=e.title)?void 0:t.toLowerCase())||"",i=null==(o=this.searchQuery)?void 0:o.toLowerCase();return void 0!==i&&n.includes(i)}}var et=Object.defineProperty,tt=Object.getOwnPropertyDescriptor;const ot=class e extends Ve{constructor(e,t){super(e,t),this.nestingLevel=0,this.nestedPopoverTriggerItem=null,this.previouslyHoveredItem=null,this.scopeElement=document.body,this.hide=()=>{var e;super.hide(),this.destroyNestedPopoverIfExists(),null==(e=this.flipper)||e.deactivate(),this.previouslyHoveredItem=null},this.onFlip=()=>{const e=this.itemsDefault.find((e=>e.isFocused));null==e||e.onFocus()},this.onSearch=e=>{var t;const o=""===e.query,n=0===e.items.length;this.items.forEach((t=>{let i=!1;t instanceof Re?i=!e.items.includes(t):(t instanceof Ue||t instanceof Xe)&&(i=n||!o),t.toggleHidden(i)})),this.toggleNothingFoundMessage(n);const i=""===e.query?this.flippableElements:e.items.map((e=>e.getElement()));null!=(t=this.flipper)&&t.isActivated&&(this.flipper.deactivate(),this.flipper.activate(i))},void 0!==e.nestingLevel&&(this.nestingLevel=e.nestingLevel),this.nestingLevel>0&&this.nodes.popover.classList.add($e.popoverNested),void 0!==e.scopeElement&&(this.scopeElement=e.scopeElement),null!==this.nodes.popoverContainer&&this.listeners.on(this.nodes.popoverContainer,"mouseover",(e=>this.handleHover(e))),e.searchable&&this.addSearch(),!1!==e.flippable&&(this.flipper=new Oe({items:this.flippableElements,focusedItemClass:De.focused,allowedKeys:[s,d,u,a]}),this.flipper.onFlip(this.onFlip))}hasFocus(){return void 0!==this.flipper&&this.flipper.hasFocus()}get scrollTop(){return null===this.nodes.items?0:this.nodes.items.scrollTop}get offsetTop(){return null===this.nodes.popoverContainer?0:this.nodes.popoverContainer.offsetTop}show(){var e;this.nodes.popover.style.setProperty(qe.PopoverHeight,this.size.height+"px"),this.shouldOpenBottom||this.nodes.popover.classList.add($e.popoverOpenTop),this.shouldOpenRight||this.nodes.popover.classList.add($e.popoverOpenLeft),super.show(),null==(e=this.flipper)||e.activate(this.flippableElements)}destroy(){this.hide(),super.destroy()}showNestedItems(e){null!==this.nestedPopover&&void 0!==this.nestedPopover||(this.nestedPopoverTriggerItem=e,this.showNestedPopoverForItem(e))}handleHover(e){const t=this.getTargetItem(e);void 0!==t&&this.previouslyHoveredItem!==t&&(this.destroyNestedPopoverIfExists(),this.previouslyHoveredItem=t,t.hasChildren&&this.showNestedPopoverForItem(t))}setTriggerItemPosition(e,t){const o=t.getElement(),n=(o?o.offsetTop:0)-this.scrollTop,i=this.offsetTop+n;e.style.setProperty(qe.TriggerItemTop,i+"px")}destroyNestedPopoverIfExists(){var e,t;void 0===this.nestedPopover||null===this.nestedPopover||(this.nestedPopover.off(ze.ClosedOnActivate,this.hide),this.nestedPopover.hide(),this.nestedPopover.destroy(),this.nestedPopover.getElement().remove(),this.nestedPopover=null,null==(e=this.flipper)||e.activate(this.flippableElements),null==(t=this.nestedPopoverTriggerItem)||t.onChildrenClose())}showNestedPopoverForItem(t){var o;this.nestedPopover=new e({searchable:t.isChildrenSearchable,items:t.children,nestingLevel:this.nestingLevel+1,flippable:t.isChildrenFlippable,messages:this.messages}),t.onChildrenOpen(),this.nestedPopover.on(ze.ClosedOnActivate,this.hide);const n=this.nestedPopover.getElement();return this.nodes.popover.appendChild(n),this.setTriggerItemPosition(n,t),n.style.setProperty(qe.NestingLevel,this.nestedPopover.nestingLevel.toString()),this.nestedPopover.show(),null==(o=this.flipper)||o.deactivate(),this.nestedPopover}get shouldOpenBottom(){if(void 0===this.nodes.popover||null===this.nodes.popover)return!1;const e=this.nodes.popoverContainer.getBoundingClientRect(),t=this.scopeElement.getBoundingClientRect(),o=this.size.height,n=e.top+o,i=e.top-o,r=Math.min(window.innerHeight,t.bottom);return i<t.top||n<=r}get shouldOpenRight(){if(void 0===this.nodes.popover||null===this.nodes.popover)return!1;const e=this.nodes.popover.getBoundingClientRect(),t=this.scopeElement.getBoundingClientRect(),o=this.size.width,n=e.right+o,i=e.left-o,r=Math.min(window.innerWidth,t.right);return i<t.left||n<=r}get size(){var e;const t={height:0,width:0};if(null===this.nodes.popover)return t;const o=this.nodes.popover.cloneNode(!0);o.style.visibility="hidden",o.style.position="absolute",o.style.top="-1000px",o.classList.add($e.popoverOpened),null==(e=o.querySelector("."+$e.popoverNested))||e.remove(),document.body.appendChild(o);const n=o.querySelector("."+$e.popoverContainer);return t.height=n.offsetHeight,t.width=n.offsetWidth,o.remove(),t}get flippableElements(){return this.items.map((e=>e instanceof Re?e.getElement():e instanceof Xe?e.getControls():void 0)).flat().filter((e=>null!=e))}addSearch(){this.search=new Qe({items:this.itemsDefault,placeholder:this.messages.search}),this.search.on(Ge.Search,this.onSearch);const e=this.search.getElement();e.classList.add($e.search),this.nodes.popoverContainer.insertBefore(e,this.nodes.popoverContainer.firstChild)}toggleNothingFoundMessage(e){this.nodes.nothingFoundMessage.classList.toggle($e.nothingFoundMessageDisplayed,e)}};((e,t,o,n)=>{for(var i,r=n>1?void 0:n?tt(t,o):t,s=e.length-1;s>=0;s--)(i=e[s])&&(r=(n?i(t,o,r):i(r))||r);n&&r&&et(t,o,r)})([j],ot.prototype,"size",1);let nt=ot;class it extends nt{constructor(e){const t=!D();super({...e,class:$e.popoverInline},{[ae.Default]:{wrapperTag:"button",hint:{position:"top",alignment:"center",enabled:t}},[ae.Html]:{hint:{position:"top",alignment:"center",enabled:t}}}),this.items.forEach((e=>{!(e instanceof Re)&&!(e instanceof Xe)||e.hasChildren&&e.isChildrenOpen&&this.showNestedItems(e)}))}get offsetLeft(){return null===this.nodes.popoverContainer?0:this.nodes.popoverContainer.offsetLeft}show(){0===this.nestingLevel&&this.nodes.popover.style.setProperty(qe.InlinePopoverWidth,this.size.width+"px"),super.show()}handleHover(){}setTriggerItemPosition(e,t){const o=t.getElement(),n=o?o.offsetLeft:0,i=this.offsetLeft+n;e.style.setProperty(qe.TriggerItemLeft,i+"px")}showNestedItems(e){if(this.nestedPopoverTriggerItem===e)return this.destroyNestedPopoverIfExists(),void(this.nestedPopoverTriggerItem=null);super.showNestedItems(e)}showNestedPopoverForItem(e){const t=super.showNestedPopoverForItem(e);return t.getElement().classList.add($e.getPopoverNestedClass(t.nestingLevel)),t}handleItemClick(e){var t;e!==this.nestedPopoverTriggerItem&&(null==(t=this.nestedPopoverTriggerItem)||t.handleClick(),super.destroyNestedPopoverIfExists()),super.handleItemClick(e)}}const rt=class e{constructor(){this.scrollPosition=null}lock(){R?this.lockHard():document.body.classList.add(e.CSS.scrollLocked)}unlock(){R?this.unlockHard():document.body.classList.remove(e.CSS.scrollLocked)}lockHard(){this.scrollPosition=window.pageYOffset,document.documentElement.style.setProperty("--window-scroll-offset",`${this.scrollPosition}px`),document.body.classList.add(e.CSS.scrollLockedHard)}unlockHard(){document.body.classList.remove(e.CSS.scrollLockedHard),null!==this.scrollPosition&&window.scrollTo(0,this.scrollPosition),this.scrollPosition=null}};rt.CSS={scrollLocked:"ce-scroll-locked",scrollLockedHard:"ce-scroll-locked--hard"};let st=rt;const at=Me("ce-popover-header"),lt={root:at(),text:at("text"),backButton:at("back-button")};class ct{constructor({text:e,onBackButtonClick:t}){this.listeners=new Y,this.text=e,this.onBackButtonClick=t,this.nodes={root:F.make("div",[lt.root]),backButton:F.make("button",[lt.backButton]),text:F.make("div",[lt.text])},this.nodes.backButton.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M14.5 17.5L9.64142 12.6414C9.56331 12.5633 9.56331 12.4367 9.64142 12.3586L14.5 7.5"/></svg>',this.nodes.root.appendChild(this.nodes.backButton),this.listeners.on(this.nodes.backButton,"click",this.onBackButtonClick),this.nodes.text.innerText=this.text,this.nodes.root.appendChild(this.nodes.text)}getElement(){return this.nodes.root}destroy(){this.nodes.root.remove(),this.listeners.destroy()}}class dt{constructor(){this.history=[]}push(e){this.history.push(e)}pop(){return this.history.pop()}get currentTitle(){return 0===this.history.length?"":this.history[this.history.length-1].title}get currentItems(){return 0===this.history.length?[]:this.history[this.history.length-1].items}reset(){for(;this.history.length>1;)this.pop()}}let ut=class extends Ve{constructor(e){super(e,{[ae.Default]:{hint:{enabled:!1}},[ae.Html]:{hint:{enabled:!1}}}),this.scrollLocker=new st,this.history=new dt,this.isHidden=!0,this.nodes.overlay=F.make("div",[$e.overlay,$e.overlayHidden]),this.nodes.popover.insertBefore(this.nodes.overlay,this.nodes.popover.firstChild),this.listeners.on(this.nodes.overlay,"click",(()=>{this.hide()})),this.history.push({items:e.items})}show(){this.nodes.overlay.classList.remove($e.overlayHidden),super.show(),this.scrollLocker.lock(),this.isHidden=!1}hide(){this.isHidden||(super.hide(),this.nodes.overlay.classList.add($e.overlayHidden),this.scrollLocker.unlock(),this.history.reset(),this.isHidden=!0)}destroy(){super.destroy(),this.scrollLocker.unlock()}showNestedItems(e){this.updateItemsAndHeader(e.children,e.title),this.history.push({title:e.title,items:e.children})}updateItemsAndHeader(e,t){if(null!==this.header&&void 0!==this.header&&(this.header.destroy(),this.header=null),void 0!==t){this.header=new ct({text:t,onBackButtonClick:()=>{this.history.pop(),this.updateItemsAndHeader(this.history.currentItems,this.history.currentTitle)}});const e=this.header.getElement();null!==e&&this.nodes.popoverContainer.insertBefore(e,this.nodes.popoverContainer.firstChild)}this.items.forEach((e=>{var t;return null==(t=e.getElement())?void 0:t.remove()})),this.items=this.buildItems(e),this.items.forEach((e=>{var t;const o=e.getElement();null!==o&&(null==(t=this.nodes.items)||t.appendChild(o))}))}};var ht={exports:{}}; +/*! + * Library for handling keyboard shortcuts + * @copyright CodeX (https://codex.so) + * @license MIT + * @author CodeX (https://codex.so) + * @version 1.2.0 + */window;const pt=t(ht.exports=function(e){var t={};function o(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t,o){function n(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,o){return t&&n(e.prototype,t),o&&n(e,o),e}o.r(t);var r=function(){function e(t){var o=this;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.commands={},this.keys={},this.name=t.name,this.parseShortcutName(t.name),this.element=t.on,this.callback=t.callback,this.executeShortcut=function(e){o.execute(e)},this.element.addEventListener("keydown",this.executeShortcut,!1)}return i(e,null,[{key:"supportedCommands",get:function(){return{SHIFT:["SHIFT"],CMD:["CMD","CONTROL","COMMAND","WINDOWS","CTRL"],ALT:["ALT","OPTION"]}}},{key:"keyCodes",get:function(){return{0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,BACKSPACE:8,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,INSERT:45,DELETE:46,".":190}}}]),i(e,[{key:"parseShortcutName",value:function(t){t=t.split("+");for(var o=0;o<t.length;o++){t[o]=t[o].toUpperCase();var n=!1;for(var i in e.supportedCommands)if(e.supportedCommands[i].includes(t[o])){n=this.commands[i]=!0;break}n||(this.keys[t[o]]=!0)}for(var r in e.supportedCommands)this.commands[r]||(this.commands[r]=!1)}},{key:"execute",value:function(t){var o,n={CMD:t.ctrlKey||t.metaKey,SHIFT:t.shiftKey,ALT:t.altKey},i=!0;for(o in this.commands)this.commands[o]!==n[o]&&(i=!1);var r,s=!0;for(r in this.keys)s=s&&t.keyCode===e.keyCodes[r];i&&s&&this.callback(t)}},{key:"remove",value:function(){this.element.removeEventListener("keydown",this.executeShortcut)}}]),e}();t.default=r}]).default);const ft=new class{constructor(){this.registeredShortcuts=new Map}add(e){if(this.findShortcut(e.on,e.name))throw Error(`Shortcut ${e.name} is already registered for ${e.on}. Please remove it before add a new handler.`);const t=new pt({name:e.name,on:e.on,callback:e.handler}),o=this.registeredShortcuts.get(e.on)||[];this.registeredShortcuts.set(e.on,[...o,t])}remove(e,t){const o=this.findShortcut(e,t);if(!o)return;o.remove();const n=this.registeredShortcuts.get(e).filter((e=>e!==o));0!==n.length?this.registeredShortcuts.set(e,n):this.registeredShortcuts.delete(e)}findShortcut(e,t){return(this.registeredShortcuts.get(e)||[]).find((({name:e})=>e===t))}};var gt=Object.defineProperty,mt=Object.getOwnPropertyDescriptor,bt=(e,t,o,n)=>{for(var i,r=n>1?void 0:n?mt(t,o):t,s=e.length-1;s>=0;s--)(i=e[s])&&(r=(n?i(t,o,r):i(r))||r);return n&&r&>(t,o,r),r},vt=(e=>(e.Opened="toolbox-opened",e.Closed="toolbox-closed",e.BlockAdded="toolbox-block-added",e))(vt||{});const yt=class e extends q{constructor({api:t,tools:o,i18nLabels:n}){super(),this.opened=!1,this.listeners=new Y,this.popover=null,this.handleMobileLayoutToggle=()=>{this.destroyPopover(),this.initPopover()},this.onPopoverClose=()=>{this.opened=!1,this.emit("toolbox-closed")},this.api=t,this.tools=o,this.i18nLabels=n,this.enableShortcuts(),this.nodes={toolbox:F.make("div",e.CSS.toolbox)},this.initPopover(),this.api.events.on(ee,this.handleMobileLayoutToggle)}get isEmpty(){return 0===this.toolsToBeDisplayed.length}static get CSS(){return{toolbox:"ce-toolbox"}}getElement(){return this.nodes.toolbox}hasFocus(){if(null!==this.popover)return"hasFocus"in this.popover?this.popover.hasFocus():void 0}destroy(){var e;super.destroy(),this.nodes&&this.nodes.toolbox&&this.nodes.toolbox.remove(),this.removeAllShortcuts(),null==(e=this.popover)||e.off(ze.Closed,this.onPopoverClose),this.listeners.destroy(),this.api.events.off(ee,this.handleMobileLayoutToggle)}toolButtonActivated(e,t){this.insertNewBlock(e,t)}open(){var e;this.isEmpty||(null==(e=this.popover)||e.show(),this.opened=!0,this.emit("toolbox-opened"))}close(){var e;null==(e=this.popover)||e.hide(),this.opened=!1,this.emit("toolbox-closed")}toggle(){this.opened?this.close():this.open()}initPopover(){var e;const t=D()?ut:nt;this.popover=new t({scopeElement:this.api.ui.nodes.redactor,searchable:!0,messages:{nothingFound:this.i18nLabels.nothingFound,search:this.i18nLabels.filter},items:this.toolboxItemsToBeDisplayed}),this.popover.on(ze.Closed,this.onPopoverClose),null==(e=this.nodes.toolbox)||e.append(this.popover.getElement())}destroyPopover(){null!==this.popover&&(this.popover.hide(),this.popover.off(ze.Closed,this.onPopoverClose),this.popover.destroy(),this.popover=null),null!==this.nodes.toolbox&&(this.nodes.toolbox.innerHTML="")}get toolsToBeDisplayed(){const e=[];return this.tools.forEach((t=>{t.toolbox&&e.push(t)})),e}get toolboxItemsToBeDisplayed(){const e=(e,t,o=!0)=>({icon:e.icon,title:W.t(Se.toolNames,e.title||M(t.name)),name:t.name,onActivate:()=>{this.toolButtonActivated(t.name,e.data)},secondaryLabel:t.shortcut&&o?L(t.shortcut):""});return this.toolsToBeDisplayed.reduce(((t,o)=>(Array.isArray(o.toolbox)?o.toolbox.forEach(((n,i)=>{t.push(e(n,o,0===i))})):void 0!==o.toolbox&&t.push(e(o.toolbox,o)),t)),[])}enableShortcuts(){this.toolsToBeDisplayed.forEach((e=>{const t=e.shortcut;t&&this.enableShortcutForTool(e.name,t)}))}enableShortcutForTool(e,t){ft.add({name:t,on:this.api.ui.nodes.redactor,handler:async t=>{t.preventDefault();const o=this.api.blocks.getCurrentBlockIndex(),n=this.api.blocks.getBlockByIndex(o);if(n)try{const t=await this.api.blocks.convert(n.id,e);return void this.api.caret.setToBlock(t,"end")}catch{}this.insertNewBlock(e)}})}removeAllShortcuts(){this.toolsToBeDisplayed.forEach((e=>{const t=e.shortcut;t&&ft.remove(this.api.ui.nodes.redactor,t)}))}async insertNewBlock(e,t){const o=this.api.blocks.getCurrentBlockIndex(),n=this.api.blocks.getBlockByIndex(o);if(!n)return;const i=n.isEmpty?o:o+1;let r;if(t){const o=await this.api.blocks.composeBlockData(e);r=Object.assign(o,t)}const s=this.api.blocks.insert(e,r,void 0,i,void 0,n.isEmpty);s.call(le.APPEND_CALLBACK),this.api.caret.setToBlock(i),this.emit("toolbox-block-added",{block:s}),this.api.toolbar.close()}};bt([j],yt.prototype,"toolsToBeDisplayed",1),bt([j],yt.prototype,"toolboxItemsToBeDisplayed",1);let kt=yt;const wt="block hovered";var xt=(e=>(e[e.Block=0]="Block",e[e.Inline=1]="Inline",e[e.Tune=2]="Tune",e))(xt||{}),Et=(e=>(e.Shortcut="shortcut",e.Toolbox="toolbox",e.EnabledInlineTools="inlineToolbar",e.EnabledBlockTunes="tunes",e.Config="config",e))(Et||{}),Ct=(e=>(e.Shortcut="shortcut",e.SanitizeConfig="sanitize",e))(Ct||{}),St=(e=>(e.IsEnabledLineBreaks="enableLineBreaks",e.Toolbox="toolbox",e.ConversionConfig="conversionConfig",e.IsReadOnlySupported="isReadOnlySupported",e.PasteConfig="pasteConfig",e))(St||{}),Tt=(e=>(e.IsInline="isInline",e.Title="title",e.IsReadOnlySupported="isReadOnlySupported",e))(Tt||{}),_t=(e=>(e.IsTune="isTune",e))(_t||{});let Ot=class{constructor({name:e,constructable:t,config:o,api:n,isDefault:i,isInternal:r=!1,defaultPlaceholder:s}){this.api=n,this.name=e,this.constructable=t,this.config=o,this.isDefault=i,this.isInternal=r,this.defaultPlaceholder=s}get settings(){const e=this.config.config||{};return this.isDefault&&!("placeholder"in e)&&this.defaultPlaceholder&&(e.placeholder=this.defaultPlaceholder),e}reset(){if(y(this.constructable.reset))return this.constructable.reset()}prepare(){if(y(this.constructable.prepare))return this.constructable.prepare({toolName:this.name,config:this.settings})}get shortcut(){const e=this.constructable.shortcut;return this.config.shortcut||e}get sanitizeConfig(){return this.constructable.sanitize||{}}isInline(){return this.type===xt.Inline}isBlock(){return this.type===xt.Block}isTune(){return this.type===xt.Tune}};function Bt(){const e=window.getSelection();if(null===e)return[null,0];let t=e.focusNode,o=e.focusOffset;return null===t?[null,0]:(t.nodeType!==Node.TEXT_NODE&&t.childNodes.length>0&&(t.childNodes[o]?(t=t.childNodes[o],o=0):(t=t.childNodes[o-1],o=t.textContent.length)),[t,o])}function It(e,t,o,n){const i=document.createRange();"left"===n?(i.setStart(e,0),i.setEnd(t,o)):(i.setStart(t,o),i.setEnd(e,e.childNodes.length));const r=i.cloneContents(),s=document.createElement("div");s.appendChild(r);return function(e){return!/[^\t\n\r ]/.test(e)}(s.textContent||"")}function Mt(e){const t=F.getDeepestNode(e);if(null===t||F.isEmpty(e))return!0;if(F.isNativeInput(t))return 0===t.selectionEnd;if(F.isEmpty(e))return!0;const[o,n]=Bt();return null!==o&&It(e,o,n,"left")}function Pt(e){const t=F.getDeepestNode(e,!0);if(null===t)return!0;if(F.isNativeInput(t))return t.selectionEnd===t.value.length;const[o,n]=Bt();return null!==o&&It(e,o,n,"right")}var Lt={},At={},Nt={},jt={},Dt={},Rt={};Object.defineProperty(Rt,"__esModule",{value:!0}),Rt.allInputsSelector=function(){return"[contenteditable=true], textarea, input:not([type]), "+["text","password","email","number","search","tel","url"].map((function(e){return'input[type="'.concat(e,'"]')})).join(", ")},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.allInputsSelector=void 0;var t=Rt;Object.defineProperty(e,"allInputsSelector",{enumerable:!0,get:function(){return t.allInputsSelector}})}(Dt);var Ft={},Ht={};Object.defineProperty(Ht,"__esModule",{value:!0}),Ht.isNativeInput=function(e){return!(!e||!e.tagName)&&["INPUT","TEXTAREA"].includes(e.tagName)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isNativeInput=void 0;var t=Ht;Object.defineProperty(e,"isNativeInput",{enumerable:!0,get:function(){return t.isNativeInput}})}(Ft);var Ut={},zt={};Object.defineProperty(zt,"__esModule",{value:!0}),zt.append=function(e,t){Array.isArray(t)?t.forEach((function(t){e.appendChild(t)})):e.appendChild(t)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.append=void 0;var t=zt;Object.defineProperty(e,"append",{enumerable:!0,get:function(){return t.append}})}(Ut);var Wt={},$t={};Object.defineProperty($t,"__esModule",{value:!0}),$t.blockElements=function(){return["address","article","aside","blockquote","canvas","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","ruby","section","table","tbody","thead","tr","tfoot","ul","video"]},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.blockElements=void 0;var t=$t;Object.defineProperty(e,"blockElements",{enumerable:!0,get:function(){return t.blockElements}})}(Wt);var qt={},Kt={};Object.defineProperty(Kt,"__esModule",{value:!0}),Kt.calculateBaseline=function(e){var t=window.getComputedStyle(e),o=parseFloat(t.fontSize),n=parseFloat(t.lineHeight)||1.2*o,i=parseFloat(t.paddingTop),r=parseFloat(t.borderTopWidth);return parseFloat(t.marginTop)+r+i+(n-o)/2+.8*o},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.calculateBaseline=void 0;var t=Kt;Object.defineProperty(e,"calculateBaseline",{enumerable:!0,get:function(){return t.calculateBaseline}})}(qt);var Yt={},Xt={},Vt={},Gt={};Object.defineProperty(Gt,"__esModule",{value:!0}),Gt.isContentEditable=function(e){return"true"===e.contentEditable},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isContentEditable=void 0;var t=Gt;Object.defineProperty(e,"isContentEditable",{enumerable:!0,get:function(){return t.isContentEditable}})}(Vt),Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.canSetCaret=function(e){var t=!0;if((0,Zt.isNativeInput)(e))switch(e.type){case"file":case"checkbox":case"radio":case"hidden":case"submit":case"button":case"image":case"reset":t=!1}else t=(0,Jt.isContentEditable)(e);return t};var Zt=Ft,Jt=Vt;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.canSetCaret=void 0;var t=Xt;Object.defineProperty(e,"canSetCaret",{enumerable:!0,get:function(){return t.canSetCaret}})}(Yt);var Qt={},eo={};function to(){const e={win:!1,mac:!1,x11:!1,linux:!1},t=Object.keys(e).find((e=>-1!==window.navigator.appVersion.toLowerCase().indexOf(e)));return void 0!==t&&(e[t]=!0),e}function oo(e){return null!=e&&""!==e&&("object"!=typeof e||Object.keys(e).length>0)}function no(e){return Object.prototype.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function io(e){return"function"===no(e)||"asyncfunction"===no(e)}function ro(e){return"object"===no(e)}const so=Object.freeze(Object.defineProperty({__proto__:null,PromiseQueue:class{constructor(){this.completed=Promise.resolve()}add(e){return new Promise(((t,o)=>{this.completed=this.completed.then(e).then(t).catch(o)}))}},beautifyShortcut:function(e){const t=to();return e=e.replace(/shift/gi,"⇧").replace(/backspace/gi,"⌫").replace(/enter/gi,"⏎").replace(/up/gi,"↑").replace(/left/gi,"→").replace(/down/gi,"↓").replace(/right/gi,"←").replace(/escape/gi,"⎋").replace(/insert/gi,"Ins").replace(/delete/gi,"␡").replace(/\+/gi,"+"),e=t.mac?e.replace(/ctrl|cmd/gi,"⌘").replace(/alt/gi,"⌥"):e.replace(/cmd/gi,"Ctrl").replace(/windows/gi,"WIN")},cacheable:function(e,t,o){const n=void 0!==o.value?"value":"get",i=o[n],r=`#${t}Cache`;if(o[n]=function(...e){return void 0===this[r]&&(this[r]=i.apply(this,e)),this[r]},"get"===n&&o.set){const t=o.set;o.set=function(o){delete e[r],t.apply(this,o)}}return o},capitalize:function(e){return e[0].toUpperCase()+e.slice(1)},copyTextToClipboard:function(e){const t=document.createElement("div");t.style.position="absolute",t.style.left="-999px",t.style.bottom="-999px",t.innerHTML=e,document.body.appendChild(t);const o=window.getSelection(),n=document.createRange();if(n.selectNode(t),null===o)throw new Error("Cannot copy text to clipboard");o.removeAllRanges(),o.addRange(n),document.execCommand("copy"),document.body.removeChild(t)},debounce:function(e,t,o){let n;return(...i)=>{const r=this,s=!0===o&&void 0!==n;window.clearTimeout(n),n=window.setTimeout((()=>{n=void 0,!0!==o&&e.apply(r,i)}),t),s&&e.apply(r,i)}},deepMerge:function e(t,...o){if(!o.length)return t;const n=o.shift();if(ro(t)&&ro(n))for(const i in n)ro(n[i])?(void 0===t[i]&&Object.assign(t,{[i]:{}}),e(t[i],n[i])):Object.assign(t,{[i]:n[i]});return e(t,...o)},deprecationAssert:function(e,t,o){},getUserOS:to,getValidUrl:function(e){try{return new URL(e).href}catch{}return"//"===e.substring(0,2)?window.location.protocol+e:window.location.origin+e},isBoolean:function(e){return"boolean"===no(e)},isClass:function(e){return io(e)&&/^\s*class\s+/.test(e.toString())},isEmpty:function(e){return!oo(e)},isFunction:io,isIosDevice:()=>typeof window<"u"&&null!==window.navigator&&oo(window.navigator.platform)&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),isNumber:function(e){return"number"===no(e)},isObject:ro,isPrintableKey:function(e){return e>47&&e<58||32===e||13===e||229===e||e>64&&e<91||e>95&&e<112||e>185&&e<193||e>218&&e<223},isPromise:function(e){return Promise.resolve(e)===e},isString:function(e){return"string"===no(e)},isUndefined:function(e){return"undefined"===no(e)},keyCodes:{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,LEFT:37,UP:38,DOWN:40,RIGHT:39,DELETE:46,META:91,SLASH:191},mouseButtons:{LEFT:0,WHEEL:1,RIGHT:2,BACKWARD:3,FORWARD:4},notEmpty:oo,throttle:function(e,t,o=void 0){let n,i,r,s=null,a=0;o||(o={});const l=function(){a=!1===o.leading?0:Date.now(),s=null,r=e.apply(n,i),null===s&&(n=i=null)};return function(){const c=Date.now();!a&&!1===o.leading&&(a=c);const d=t-(c-a);return n=this,i=arguments,d<=0||d>t?(s&&(clearTimeout(s),s=null),a=c,r=e.apply(n,i),null===s&&(n=i=null)):!s&&!1!==o.trailing&&(s=setTimeout(l,d)),r}},typeOf:no},Symbol.toStringTag,{value:"Module"})),ao=o(so);Object.defineProperty(eo,"__esModule",{value:!0}),eo.containsOnlyInlineElements=function(e){var t;(0,lo.isString)(e)?(t=document.createElement("div")).innerHTML=e:t=e;var o=function(e){return!(0,co.blockElements)().includes(e.tagName.toLowerCase())&&Array.from(e.children).every(o)};return Array.from(t.children).every(o)};var lo=ao,co=Wt;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.containsOnlyInlineElements=void 0;var t=eo;Object.defineProperty(e,"containsOnlyInlineElements",{enumerable:!0,get:function(){return t.containsOnlyInlineElements}})}(Qt);var uo={},ho={},po={},fo={};Object.defineProperty(fo,"__esModule",{value:!0}),fo.make=function(e,t,o){var n;void 0===t&&(t=null),void 0===o&&(o={});var i=document.createElement(e);if(Array.isArray(t)){var r=t.filter((function(e){return void 0!==e}));(n=i.classList).add.apply(n,r)}else null!==t&&i.classList.add(t);for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(i[s]=o[s]);return i},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.make=void 0;var t=fo;Object.defineProperty(e,"make",{enumerable:!0,get:function(){return t.make}})}(po),Object.defineProperty(ho,"__esModule",{value:!0}),ho.fragmentToString=function(e){var t=(0,go.make)("div");return t.appendChild(e),t.innerHTML};var go=po;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.fragmentToString=void 0;var t=ho;Object.defineProperty(e,"fragmentToString",{enumerable:!0,get:function(){return t.fragmentToString}})}(uo);var mo={},bo={};Object.defineProperty(bo,"__esModule",{value:!0}),bo.getContentLength=function(e){var t,o;return(0,vo.isNativeInput)(e)?e.value.length:e.nodeType===Node.TEXT_NODE?e.length:null!==(o=null===(t=e.textContent)||void 0===t?void 0:t.length)&&void 0!==o?o:0};var vo=Ft;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getContentLength=void 0;var t=bo;Object.defineProperty(e,"getContentLength",{enumerable:!0,get:function(){return t.getContentLength}})}(mo);var yo={},ko={},wo=e&&e.__spreadArray||function(e,t,o){if(o||2===arguments.length)for(var n,i=0,r=t.length;i<r;i++)(n||!(i in t))&&(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(ko,"__esModule",{value:!0}),ko.getDeepestBlockElements=function e(t){return(0,xo.containsOnlyInlineElements)(t)?[t]:Array.from(t.children).reduce((function(t,o){return wo(wo([],t,!0),e(o),!0)}),[])};var xo=Qt;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepestBlockElements=void 0;var t=ko;Object.defineProperty(e,"getDeepestBlockElements",{enumerable:!0,get:function(){return t.getDeepestBlockElements}})}(yo);var Eo={},Co={},So={},To={};Object.defineProperty(To,"__esModule",{value:!0}),To.isLineBreakTag=function(e){return["BR","WBR"].includes(e.tagName)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isLineBreakTag=void 0;var t=To;Object.defineProperty(e,"isLineBreakTag",{enumerable:!0,get:function(){return t.isLineBreakTag}})}(So);var _o={},Oo={};Object.defineProperty(Oo,"__esModule",{value:!0}),Oo.isSingleTag=function(e){return["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"].includes(e.tagName)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isSingleTag=void 0;var t=Oo;Object.defineProperty(e,"isSingleTag",{enumerable:!0,get:function(){return t.isSingleTag}})}(_o),Object.defineProperty(Co,"__esModule",{value:!0}),Co.getDeepestNode=function e(t,o){void 0===o&&(o=!1);var n=o?"lastChild":"firstChild",i=o?"previousSibling":"nextSibling";if(t.nodeType===Node.ELEMENT_NODE&&t[n]){var r=t[n];if((0,Mo.isSingleTag)(r)&&!(0,Bo.isNativeInput)(r)&&!(0,Io.isLineBreakTag)(r))if(r[i])r=r[i];else{if(null===r.parentNode||!r.parentNode[i])return r.parentNode;r=r.parentNode[i]}return e(r,o)}return t};var Bo=Ft,Io=So,Mo=_o;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepestNode=void 0;var t=Co;Object.defineProperty(e,"getDeepestNode",{enumerable:!0,get:function(){return t.getDeepestNode}})}(Eo);var Po={},Lo={},Ao=e&&e.__spreadArray||function(e,t,o){if(o||2===arguments.length)for(var n,i=0,r=t.length;i<r;i++)(n||!(i in t))&&(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(Lo,"__esModule",{value:!0}),Lo.findAllInputs=function(e){return Array.from(e.querySelectorAll((0,Do.allInputsSelector)())).reduce((function(e,t){return(0,Ro.isNativeInput)(t)||(0,No.containsOnlyInlineElements)(t)?Ao(Ao([],e,!0),[t],!1):Ao(Ao([],e,!0),(0,jo.getDeepestBlockElements)(t),!0)}),[])};var No=Qt,jo=yo,Do=Dt,Ro=Ft;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.findAllInputs=void 0;var t=Lo;Object.defineProperty(e,"findAllInputs",{enumerable:!0,get:function(){return t.findAllInputs}})}(Po);var Fo={},Ho={};Object.defineProperty(Ho,"__esModule",{value:!0}),Ho.isCollapsedWhitespaces=function(e){return!/[^\t\n\r ]/.test(e)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isCollapsedWhitespaces=void 0;var t=Ho;Object.defineProperty(e,"isCollapsedWhitespaces",{enumerable:!0,get:function(){return t.isCollapsedWhitespaces}})}(Fo);var Uo={},zo={};Object.defineProperty(zo,"__esModule",{value:!0}),zo.isElement=function(e){return!(0,Wo.isNumber)(e)&&(!!e&&!!e.nodeType&&e.nodeType===Node.ELEMENT_NODE)};var Wo=ao;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isElement=void 0;var t=zo;Object.defineProperty(e,"isElement",{enumerable:!0,get:function(){return t.isElement}})}(Uo);var $o={},qo={},Ko={},Yo={};Object.defineProperty(Yo,"__esModule",{value:!0}),Yo.isLeaf=function(e){return null!==e&&0===e.childNodes.length},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isLeaf=void 0;var t=Yo;Object.defineProperty(e,"isLeaf",{enumerable:!0,get:function(){return t.isLeaf}})}(Ko);var Xo={},Vo={};Object.defineProperty(Vo,"__esModule",{value:!0}),Vo.isNodeEmpty=function(e,t){var o="";return!((0,Qo.isSingleTag)(e)&&!(0,Go.isLineBreakTag)(e))&&((0,Zo.isElement)(e)&&(0,Jo.isNativeInput)(e)?o=e.value:null!==e.textContent&&(o=e.textContent.replace("​","")),void 0!==t&&(o=o.replace(new RegExp(t,"g"),"")),0===o.trim().length)};var Go=So,Zo=Uo,Jo=Ft,Qo=_o;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isNodeEmpty=void 0;var t=Vo;Object.defineProperty(e,"isNodeEmpty",{enumerable:!0,get:function(){return t.isNodeEmpty}})}(Xo),Object.defineProperty(qo,"__esModule",{value:!0}),qo.isEmpty=function(e,t){e.normalize();for(var o=[e];o.length>0;){var n=o.shift();if(n){if(e=n,(0,en.isLeaf)(e)&&!(0,tn.isNodeEmpty)(e,t))return!1;o.push.apply(o,Array.from(e.childNodes))}}return!0};var en=Ko,tn=Xo;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isEmpty=void 0;var t=qo;Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return t.isEmpty}})}($o);var on={},nn={};Object.defineProperty(nn,"__esModule",{value:!0}),nn.isFragment=function(e){return!(0,rn.isNumber)(e)&&(!!e&&!!e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)};var rn=ao;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isFragment=void 0;var t=nn;Object.defineProperty(e,"isFragment",{enumerable:!0,get:function(){return t.isFragment}})}(on);var sn={},an={};Object.defineProperty(an,"__esModule",{value:!0}),an.isHTMLString=function(e){var t=(0,ln.make)("div");return t.innerHTML=e,t.childElementCount>0};var ln=po;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isHTMLString=void 0;var t=an;Object.defineProperty(e,"isHTMLString",{enumerable:!0,get:function(){return t.isHTMLString}})}(sn);var cn={},dn={};Object.defineProperty(dn,"__esModule",{value:!0}),dn.offset=function(e){var t=e.getBoundingClientRect(),o=window.pageXOffset||document.documentElement.scrollLeft,n=window.pageYOffset||document.documentElement.scrollTop,i=t.top+n,r=t.left+o;return{top:i,left:r,bottom:i+t.height,right:r+t.width}},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.offset=void 0;var t=dn;Object.defineProperty(e,"offset",{enumerable:!0,get:function(){return t.offset}})}(cn);var un={},hn={};Object.defineProperty(hn,"__esModule",{value:!0}),hn.prepend=function(e,t){Array.isArray(t)?(t=t.reverse()).forEach((function(t){return e.prepend(t)})):e.prepend(t)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.prepend=void 0;var t=hn;Object.defineProperty(e,"prepend",{enumerable:!0,get:function(){return t.prepend}})}(un),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.prepend=e.offset=e.make=e.isLineBreakTag=e.isSingleTag=e.isNodeEmpty=e.isLeaf=e.isHTMLString=e.isFragment=e.isEmpty=e.isElement=e.isContentEditable=e.isCollapsedWhitespaces=e.findAllInputs=e.isNativeInput=e.allInputsSelector=e.getDeepestNode=e.getDeepestBlockElements=e.getContentLength=e.fragmentToString=e.containsOnlyInlineElements=e.canSetCaret=e.calculateBaseline=e.blockElements=e.append=void 0;var t=Dt;Object.defineProperty(e,"allInputsSelector",{enumerable:!0,get:function(){return t.allInputsSelector}});var o=Ft;Object.defineProperty(e,"isNativeInput",{enumerable:!0,get:function(){return o.isNativeInput}});var n=Ut;Object.defineProperty(e,"append",{enumerable:!0,get:function(){return n.append}});var i=Wt;Object.defineProperty(e,"blockElements",{enumerable:!0,get:function(){return i.blockElements}});var r=qt;Object.defineProperty(e,"calculateBaseline",{enumerable:!0,get:function(){return r.calculateBaseline}});var s=Yt;Object.defineProperty(e,"canSetCaret",{enumerable:!0,get:function(){return s.canSetCaret}});var a=Qt;Object.defineProperty(e,"containsOnlyInlineElements",{enumerable:!0,get:function(){return a.containsOnlyInlineElements}});var l=uo;Object.defineProperty(e,"fragmentToString",{enumerable:!0,get:function(){return l.fragmentToString}});var c=mo;Object.defineProperty(e,"getContentLength",{enumerable:!0,get:function(){return c.getContentLength}});var d=yo;Object.defineProperty(e,"getDeepestBlockElements",{enumerable:!0,get:function(){return d.getDeepestBlockElements}});var u=Eo;Object.defineProperty(e,"getDeepestNode",{enumerable:!0,get:function(){return u.getDeepestNode}});var h=Po;Object.defineProperty(e,"findAllInputs",{enumerable:!0,get:function(){return h.findAllInputs}});var p=Fo;Object.defineProperty(e,"isCollapsedWhitespaces",{enumerable:!0,get:function(){return p.isCollapsedWhitespaces}});var f=Vt;Object.defineProperty(e,"isContentEditable",{enumerable:!0,get:function(){return f.isContentEditable}});var g=Uo;Object.defineProperty(e,"isElement",{enumerable:!0,get:function(){return g.isElement}});var m=$o;Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return m.isEmpty}});var b=on;Object.defineProperty(e,"isFragment",{enumerable:!0,get:function(){return b.isFragment}});var v=sn;Object.defineProperty(e,"isHTMLString",{enumerable:!0,get:function(){return v.isHTMLString}});var y=Ko;Object.defineProperty(e,"isLeaf",{enumerable:!0,get:function(){return y.isLeaf}});var k=Xo;Object.defineProperty(e,"isNodeEmpty",{enumerable:!0,get:function(){return k.isNodeEmpty}});var w=So;Object.defineProperty(e,"isLineBreakTag",{enumerable:!0,get:function(){return w.isLineBreakTag}});var x=_o;Object.defineProperty(e,"isSingleTag",{enumerable:!0,get:function(){return x.isSingleTag}});var E=po;Object.defineProperty(e,"make",{enumerable:!0,get:function(){return E.make}});var C=cn;Object.defineProperty(e,"offset",{enumerable:!0,get:function(){return C.offset}});var S=un;Object.defineProperty(e,"prepend",{enumerable:!0,get:function(){return S.prepend}})}(jt);var pn={};Object.defineProperty(pn,"__esModule",{value:!0}),pn.getContenteditableSlice=function(e,t,o,n,i){var r;void 0===i&&(i=!1);var s=document.createRange();if("left"===n?(s.setStart(e,0),s.setEnd(t,o)):(s.setStart(t,o),s.setEnd(e,e.childNodes.length)),!0===i){var a=s.extractContents();return(0,fn.fragmentToString)(a)}var l=s.cloneContents(),c=document.createElement("div");return c.appendChild(l),null!==(r=c.textContent)&&void 0!==r?r:""};var fn=jt;Object.defineProperty(Nt,"__esModule",{value:!0}),Nt.checkContenteditableSliceForEmptiness=function(e,t,o,n){var i=(0,mn.getContenteditableSlice)(e,t,o,n);return(0,gn.isCollapsedWhitespaces)(i)};var gn=jt,mn=pn;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.checkContenteditableSliceForEmptiness=void 0;var t=Nt;Object.defineProperty(e,"checkContenteditableSliceForEmptiness",{enumerable:!0,get:function(){return t.checkContenteditableSliceForEmptiness}})}(At);var bn={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getContenteditableSlice=void 0;var t=pn;Object.defineProperty(e,"getContenteditableSlice",{enumerable:!0,get:function(){return t.getContenteditableSlice}})}(bn);var vn={},yn={};Object.defineProperty(yn,"__esModule",{value:!0}),yn.focus=function(e,t){var o,n;if(void 0===t&&(t=!0),(0,kn.isNativeInput)(e)){e.focus();var i=t?0:e.value.length;e.setSelectionRange(i,i)}else{var r=document.createRange(),s=window.getSelection();if(!s)return;var a=function(e){var t=document.createTextNode("");e.appendChild(t),r.setStart(t,0),r.setEnd(t,0)},l=function(e){return null!=e},c=e.childNodes,d=t?c[0]:c[c.length-1];if(l(d)){for(;l(d)&&d.nodeType!==Node.TEXT_NODE;)d=t?d.firstChild:d.lastChild;if(l(d)&&d.nodeType===Node.TEXT_NODE){var u=null!==(n=null===(o=d.textContent)||void 0===o?void 0:o.length)&&void 0!==n?n:0;i=t?0:u;r.setStart(d,i),r.setEnd(d,i)}else a(e)}else a(e);s.removeAllRanges(),s.addRange(r)}};var kn=jt;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.focus=void 0;var t=yn;Object.defineProperty(e,"focus",{enumerable:!0,get:function(){return t.focus}})}(vn);var wn={},xn={};Object.defineProperty(xn,"__esModule",{value:!0}),xn.getCaretNodeAndOffset=function(){var e=window.getSelection();if(null===e)return[null,0];var t=e.focusNode,o=e.focusOffset;return null===t?[null,0]:(t.nodeType!==Node.TEXT_NODE&&t.childNodes.length>0&&(void 0!==t.childNodes[o]?(t=t.childNodes[o],o=0):null!==(t=t.childNodes[o-1]).textContent&&(o=t.textContent.length)),[t,o])},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getCaretNodeAndOffset=void 0;var t=xn;Object.defineProperty(e,"getCaretNodeAndOffset",{enumerable:!0,get:function(){return t.getCaretNodeAndOffset}})}(wn);var En={},Cn={};Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.getRange=function(){var e=window.getSelection();return e&&e.rangeCount?e.getRangeAt(0):null},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getRange=void 0;var t=Cn;Object.defineProperty(e,"getRange",{enumerable:!0,get:function(){return t.getRange}})}(En);var Sn={},Tn={};Object.defineProperty(Tn,"__esModule",{value:!0}),Tn.isCaretAtEndOfInput=function(e){var t=(0,_n.getDeepestNode)(e,!0);if(null===t)return!0;if((0,_n.isNativeInput)(t))return t.selectionEnd===t.value.length;var o=(0,On.getCaretNodeAndOffset)(),n=o[0],i=o[1];return null!==n&&(0,Bn.checkContenteditableSliceForEmptiness)(e,n,i,"right")};var _n=jt,On=wn,Bn=At;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isCaretAtEndOfInput=void 0;var t=Tn;Object.defineProperty(e,"isCaretAtEndOfInput",{enumerable:!0,get:function(){return t.isCaretAtEndOfInput}})}(Sn);var In={},Mn={};Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.isCaretAtStartOfInput=function(e){var t=(0,Pn.getDeepestNode)(e);if(null===t||(0,Pn.isEmpty)(e))return!0;if((0,Pn.isNativeInput)(t))return 0===t.selectionEnd;if((0,Pn.isEmpty)(e))return!0;var o=(0,Ln.getCaretNodeAndOffset)(),n=o[0],i=o[1];return null!==n&&(0,An.checkContenteditableSliceForEmptiness)(e,n,i,"left")};var Pn=jt,Ln=xn,An=Nt;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isCaretAtStartOfInput=void 0;var t=Mn;Object.defineProperty(e,"isCaretAtStartOfInput",{enumerable:!0,get:function(){return t.isCaretAtStartOfInput}})}(In);var Nn={},jn={};Object.defineProperty(jn,"__esModule",{value:!0}),jn.save=function(){var e=(0,Rn.getRange)(),t=(0,Dn.make)("span");if(t.id="cursor",t.hidden=!0,e)return e.insertNode(t),function(){var o=window.getSelection();o&&(e.setStartAfter(t),e.setEndAfter(t),o.removeAllRanges(),o.addRange(e),setTimeout((function(){t.remove()}),150))}};var Dn=jt,Rn=Cn;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.save=void 0;var t=jn;Object.defineProperty(e,"save",{enumerable:!0,get:function(){return t.save}})}(Nn),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.save=e.isCaretAtStartOfInput=e.isCaretAtEndOfInput=e.getRange=e.getCaretNodeAndOffset=e.focus=e.getContenteditableSlice=e.checkContenteditableSliceForEmptiness=void 0;var t=At;Object.defineProperty(e,"checkContenteditableSliceForEmptiness",{enumerable:!0,get:function(){return t.checkContenteditableSliceForEmptiness}});var o=bn;Object.defineProperty(e,"getContenteditableSlice",{enumerable:!0,get:function(){return o.getContenteditableSlice}});var n=vn;Object.defineProperty(e,"focus",{enumerable:!0,get:function(){return n.focus}});var i=wn;Object.defineProperty(e,"getCaretNodeAndOffset",{enumerable:!0,get:function(){return i.getCaretNodeAndOffset}});var r=En;Object.defineProperty(e,"getRange",{enumerable:!0,get:function(){return r.getRange}});var s=Sn;Object.defineProperty(e,"isCaretAtEndOfInput",{enumerable:!0,get:function(){return s.isCaretAtEndOfInput}});var a=In;Object.defineProperty(e,"isCaretAtStartOfInput",{enumerable:!0,get:function(){return a.isCaretAtStartOfInput}});var l=Nn;Object.defineProperty(e,"save",{enumerable:!0,get:function(){return l.save}})}(Lt);let Fn=class{constructor(e){this.blocks=[],this.workingArea=e}get length(){return this.blocks.length}get array(){return this.blocks}get nodes(){return _(this.workingArea.children)}static set(e,t,o){return isNaN(Number(t))?(Reflect.set(e,t,o),!0):(e.insert(+t,o),!0)}static get(e,t){return isNaN(Number(t))?Reflect.get(e,t):e.get(+t)}push(e){this.blocks.push(e),this.insertToDOM(e)}swap(e,t){const o=this.blocks[t];F.swap(this.blocks[e].holder,o.holder),this.blocks[t]=this.blocks[e],this.blocks[e]=o}move(e,t){const o=this.blocks.splice(t,1)[0],n=e-1,i=Math.max(0,n),r=this.blocks[i];e>0?this.insertToDOM(o,"afterend",r):this.insertToDOM(o,"beforebegin",r),this.blocks.splice(e,0,o);const s=this.composeBlockEvent("move",{fromIndex:t,toIndex:e});o.call(le.MOVED,s)}insert(e,t,o=!1){if(!this.length)return void this.push(t);e>this.length&&(e=this.length),o&&(this.blocks[e].holder.remove(),this.blocks[e].call(le.REMOVED));const n=o?1:0;if(this.blocks.splice(e,n,t),e>0){const o=this.blocks[e-1];this.insertToDOM(t,"afterend",o)}else{const o=this.blocks[e+1];o?this.insertToDOM(t,"beforebegin",o):this.insertToDOM(t)}}replace(e,t){if(void 0===this.blocks[e])throw Error("Incorrect index");this.blocks[e].holder.replaceWith(t.holder),this.blocks[e]=t}insertMany(e,t){const o=new DocumentFragment;for(const n of e)o.appendChild(n.holder);if(this.length>0){if(t>0){const e=Math.min(t-1,this.length-1);this.blocks[e].holder.after(o)}else 0===t&&this.workingArea.prepend(o);this.blocks.splice(t,0,...e)}else this.blocks.push(...e),this.workingArea.appendChild(o);e.forEach((e=>e.call(le.RENDERED)))}remove(e){isNaN(e)&&(e=this.length-1),this.blocks[e].holder.remove(),this.blocks[e].call(le.REMOVED),this.blocks.splice(e,1)}removeAll(){this.workingArea.innerHTML="",this.blocks.forEach((e=>e.call(le.REMOVED))),this.blocks.length=0}insertAfter(e,t){const o=this.blocks.indexOf(e);this.insert(o+1,t)}get(e){return this.blocks[e]}indexOf(e){return this.blocks.indexOf(e)}insertToDOM(e,t,o){t?o.holder.insertAdjacentElement(t,e.holder):this.workingArea.appendChild(e.holder),e.call(le.RENDERED)}composeBlockEvent(e,t){return new CustomEvent(e,{detail:t})}};const Hn="block-removed",Un="block-added",zn="block-changed";class Wn{constructor(){this.completed=Promise.resolve()}add(e){return new Promise(((t,o)=>{this.completed=this.completed.then(e).then(t).catch(o)}))}}const $n=class e extends X{constructor(){super(...arguments),this.MIME_TYPE="application/x-editor-js",this.toolsTags={},this.tagsByTool={},this.toolsPatterns=[],this.toolsFiles={},this.exceptionList=[],this.processTool=e=>{try{const t=e.create({},{},!1);if(!1===e.pasteConfig)return void this.exceptionList.push(e.name);if(!y(t.onPaste))return;this.getTagsConfig(e),this.getFilesConfig(e),this.getPatternsConfig(e)}catch(t){m(`Paste handling for «${e.name}» Tool hasn't been set up because of the error`,"warn",t)}},this.handlePasteEvent=async e=>{const{BlockManager:t,Toolbar:o}=this.Editor,n=t.setCurrentBlockByChildNode(e.target);!n||this.isNativeBehaviour(e.target)&&!e.clipboardData.types.includes("Files")||n&&this.exceptionList.includes(n.name)||(e.preventDefault(),this.processDataTransfer(e.clipboardData),o.close())}}async prepare(){this.processTools()}toggleReadOnly(e){e?this.unsetCallback():this.setCallback()}async processDataTransfer(e,t=!1){const{Tools:o}=this.Editor,n=e.types;if((n.includes?n.includes("Files"):n.contains("Files"))&&!C(this.toolsFiles))return void(await this.processFiles(e.files));const i=e.getData(this.MIME_TYPE),r=e.getData("text/plain");let s=e.getData("text/html");if(i)try{return void this.insertEditorJSData(JSON.parse(i))}catch{}t&&r.trim()&&s.trim()&&(s="<p>"+(s.trim()?s:r)+"</p>");const a=Object.keys(this.toolsTags).reduce(((e,t)=>(e[t.toLowerCase()]=this.toolsTags[t].sanitizationConfig??{},e)),{}),l=me(s,Object.assign({},a,o.getAllInlineToolsSanitizeConfig(),{br:{}}));l.trim()&&l.trim()!==r&&F.isHTMLString(l)?await this.processText(l,!0):await this.processText(r)}async processText(e,t=!1){const{Caret:o,BlockManager:n}=this.Editor,i=t?this.processHTML(e):this.processPlain(e);if(!i.length)return;if(1===i.length)return void(i[0].isBlock?this.processSingleBlock(i.pop()):this.processInlinePaste(i.pop()));const r=n.currentBlock&&n.currentBlock.tool.isDefault&&n.currentBlock.isEmpty;i.map((async(e,t)=>this.insertBlock(e,0===t&&r))),n.currentBlock&&o.setToBlock(n.currentBlock,o.positions.END)}setCallback(){this.listeners.on(this.Editor.UI.nodes.holder,"paste",this.handlePasteEvent)}unsetCallback(){this.listeners.off(this.Editor.UI.nodes.holder,"paste",this.handlePasteEvent)}processTools(){const e=this.Editor.Tools.blockTools;Array.from(e.values()).forEach(this.processTool)}collectTagNames(e){return w(e)?[e]:k(e)?Object.keys(e):[]}getTagsConfig(e){if(!1===e.pasteConfig)return;const t=e.pasteConfig.tags||[],o=[];t.forEach((t=>{const n=this.collectTagNames(t);o.push(...n),n.forEach((o=>{if(Object.prototype.hasOwnProperty.call(this.toolsTags,o))return void m(`Paste handler for «${e.name}» Tool on «${o}» tag is skipped because it is already used by «${this.toolsTags[o].tool.name}» Tool.`,"warn");const n=k(t)?t[o]:null;this.toolsTags[o.toUpperCase()]={tool:e,sanitizationConfig:n}}))})),this.tagsByTool[e.name]=o.map((e=>e.toUpperCase()))}getFilesConfig(e){if(!1===e.pasteConfig)return;const{files:t={}}=e.pasteConfig;let{extensions:o,mimeTypes:n}=t;!o&&!n||(o&&!Array.isArray(o)&&(m(`«extensions» property of the onDrop config for «${e.name}» Tool should be an array`),o=[]),n&&!Array.isArray(n)&&(m(`«mimeTypes» property of the onDrop config for «${e.name}» Tool should be an array`),n=[]),n&&(n=n.filter((t=>!!/^[-\w]+\/([-+\w]+|\*)$/.test(t)||(m(`MIME type value «${t}» for the «${e.name}» Tool is not a valid MIME type`,"warn"),!1)))),this.toolsFiles[e.name]={extensions:o||[],mimeTypes:n||[]})}getPatternsConfig(e){!1===e.pasteConfig||!e.pasteConfig.patterns||C(e.pasteConfig.patterns)||Object.entries(e.pasteConfig.patterns).forEach((([t,o])=>{o instanceof RegExp||m(`Pattern ${o} for «${e.name}» Tool is skipped because it should be a Regexp instance.`,"warn"),this.toolsPatterns.push({key:t,pattern:o,tool:e})}))}isNativeBehaviour(e){return F.isNativeInput(e)}async processFiles(e){const{BlockManager:t}=this.Editor;let o;o=await Promise.all(Array.from(e).map((e=>this.processFile(e)))),o=o.filter((e=>!!e));const n=t.currentBlock.tool.isDefault&&t.currentBlock.isEmpty;o.forEach(((e,o)=>{t.paste(e.type,e.event,0===o&&n)}))}async processFile(e){const t=e.name.split(".").pop(),o=Object.entries(this.toolsFiles).find((([o,{mimeTypes:n,extensions:i}])=>{const[r,s]=e.type.split("/"),a=i.find((e=>e.toLowerCase()===t.toLowerCase())),l=n.find((e=>{const[t,o]=e.split("/");return t===r&&(o===s||"*"===o)}));return!!a||!!l}));if(!o)return;const[n]=o;return{event:this.composePasteEvent("file",{file:e}),type:n}}processHTML(e){const{Tools:t}=this.Editor,o=F.make("DIV");return o.innerHTML=e,this.getNodes(o).map((e=>{let o,n=t.defaultTool,i=!1;switch(e.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:o=F.make("div"),o.appendChild(e);break;case Node.ELEMENT_NODE:o=e,i=!0,this.toolsTags[o.tagName]&&(n=this.toolsTags[o.tagName].tool)}const{tags:r}=n.pasteConfig||{tags:[]},s=r.reduce(((e,t)=>(this.collectTagNames(t).forEach((o=>{const n=k(t)?t[o]:null;e[o.toLowerCase()]=n||{}})),e)),{}),a=Object.assign({},s,n.baseSanitizeConfig);if("table"===o.tagName.toLowerCase()){const e=me(o.outerHTML,a);o=F.make("div",void 0,{innerHTML:e}).firstChild}else o.innerHTML=me(o.innerHTML,a);const l=this.composePasteEvent("tag",{data:o});return{content:o,isBlock:i,tool:n.name,event:l}})).filter((e=>{const t=F.isEmpty(e.content),o=F.isSingleTag(e.content);return!t||o}))}processPlain(e){const{defaultBlock:t}=this.config;if(!e)return[];const o=t;return e.split(/\r?\n/).filter((e=>e.trim())).map((e=>{const t=F.make("div");t.textContent=e;const n=this.composePasteEvent("tag",{data:t});return{content:t,tool:o,isBlock:!1,event:n}}))}async processSingleBlock(e){const{Caret:t,BlockManager:o}=this.Editor,{currentBlock:n}=o;n&&e.tool===n.name&&F.containsOnlyInlineElements(e.content.innerHTML)?t.insertContentAtCaretPosition(e.content.innerHTML):this.insertBlock(e,(null==n?void 0:n.tool.isDefault)&&n.isEmpty)}async processInlinePaste(t){const{BlockManager:o,Caret:n}=this.Editor,{content:i}=t;if(o.currentBlock&&o.currentBlock.tool.isDefault&&i.textContent.length<e.PATTERN_PROCESSING_MAX_LENGTH){const e=await this.processPattern(i.textContent);if(e){const t=o.currentBlock&&o.currentBlock.tool.isDefault&&o.currentBlock.isEmpty,i=o.paste(e.tool,e.event,t);return void n.setToBlock(i,n.positions.END)}}if(o.currentBlock&&o.currentBlock.currentInput){const e=o.currentBlock.tool.baseSanitizeConfig;document.execCommand("insertHTML",!1,me(i.innerHTML,e))}else this.insertBlock(t)}async processPattern(e){const t=this.toolsPatterns.find((t=>{const o=t.pattern.exec(e);return!!o&&e===o.shift()}));return t?{event:this.composePasteEvent("pattern",{key:t.key,data:e}),tool:t.tool.name}:void 0}insertBlock(e,t=!1){const{BlockManager:o,Caret:n}=this.Editor,{currentBlock:i}=o;let r;if(t&&i&&i.isEmpty)return r=o.paste(e.tool,e.event,!0),void n.setToBlock(r,n.positions.END);r=o.paste(e.tool,e.event),n.setToBlock(r,n.positions.END)}insertEditorJSData(e){const{BlockManager:t,Caret:o,Tools:n}=this.Editor;ge(e,(e=>n.blockTools.get(e).sanitizeConfig)).forEach((({tool:e,data:n},i)=>{let r=!1;0===i&&(r=t.currentBlock&&t.currentBlock.tool.isDefault&&t.currentBlock.isEmpty);const s=t.insert({tool:e,data:n,replace:r});o.setToBlock(s,o.positions.END)}))}processElementNode(e,t,o){const n=Object.keys(this.toolsTags),i=e,{tool:r}=this.toolsTags[i.tagName]||{},s=this.tagsByTool[null==r?void 0:r.name]||[],a=n.includes(i.tagName),l=F.blockElements.includes(i.tagName.toLowerCase()),c=Array.from(i.children).some((({tagName:e})=>n.includes(e)&&!s.includes(e))),d=Array.from(i.children).some((({tagName:e})=>F.blockElements.includes(e.toLowerCase())));return l||a||c?a&&!c||l&&!d&&!c?[...t,o,i]:void 0:(o.appendChild(i),[...t,o])}getNodes(e){const t=Array.from(e.childNodes);let o;const n=(e,t)=>{if(F.isEmpty(t)&&!F.isSingleTag(t))return e;const i=e[e.length-1];let r=new DocumentFragment;switch(i&&F.isFragment(i)&&(r=e.pop()),t.nodeType){case Node.ELEMENT_NODE:if(o=this.processElementNode(t,e,r),o)return o;break;case Node.TEXT_NODE:return r.appendChild(t),[...e,r];default:return[...e,r]}return[...e,...Array.from(t.childNodes).reduce(n,[])]};return t.reduce(n,[])}composePasteEvent(e,t){return new CustomEvent(e,{detail:t})}};$n.PATTERN_PROCESSING_MAX_LENGTH=450;let qn=$n;!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ce-paragraph{line-height:1.6em;outline:none}.ce-block:only-of-type .ce-paragraph[data-placeholder-active]:empty:before,.ce-block:only-of-type .ce-paragraph[data-placeholder-active][data-empty=true]:before{content:attr(data-placeholder-active)}.ce-paragraph p:first-of-type{margin-top:0}.ce-paragraph p:last-of-type{margin-bottom:0}")),document.head.appendChild(e)}}catch(t){}}(); +/** + * Base Paragraph Block for the Editor.js. + * Represents a regular text block + * + * @author CodeX (team@codex.so) + * @copyright CodeX 2018 + * @license The MIT License (MIT) + */ +class Kn{static get DEFAULT_PLACEHOLDER(){return""}constructor({data:e,config:t,api:o,readOnly:n}){this.api=o,this.readOnly=n,this._CSS={block:this.api.styles.block,wrapper:"ce-paragraph"},this.readOnly||(this.onKeyUp=this.onKeyUp.bind(this)),this._placeholder=t.placeholder?t.placeholder:Kn.DEFAULT_PLACEHOLDER,this._data=e??{},this._element=null,this._preserveBlank=t.preserveBlank??!1}onKeyUp(e){if("Backspace"!==e.code&&"Delete"!==e.code||!this._element)return;const{textContent:t}=this._element;""===t&&(this._element.innerHTML="")}drawView(){const e=document.createElement("DIV");return e.classList.add(this._CSS.wrapper,this._CSS.block),e.contentEditable="false",e.dataset.placeholderActive=this.api.i18n.t(this._placeholder),this._data.text&&(e.innerHTML=this._data.text),this.readOnly||(e.contentEditable="true",e.addEventListener("keyup",this.onKeyUp)),e}render(){return this._element=this.drawView(),this._element}merge(e){if(!this._element)return;this._data.text+=e.text;const t=function(e){const t=document.createElement("div");t.innerHTML=e.trim();const o=document.createDocumentFragment();return o.append(...Array.from(t.childNodes)),o}(e.text);this._element.appendChild(t),this._element.normalize()}validate(e){return!(""===e.text.trim()&&!this._preserveBlank)}save(e){return{text:e.innerHTML}}onPaste(e){const t={text:e.detail.data.innerHTML};this._data=t,window.requestAnimationFrame((()=>{this._element&&(this._element.innerHTML=this._data.text||"")}))}static get conversionConfig(){return{export:"text",import:"text"}}static get sanitize(){return{text:{br:!0}}}static get isReadOnlySupported(){return!0}static get pasteConfig(){return{tags:["P"]}}static get toolbox(){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M8 9V7.2C8 7.08954 8.08954 7 8.2 7L12 7M16 9V7.2C16 7.08954 15.9105 7 15.8 7L12 7M12 7L12 17M12 17H10M12 17H14"/></svg>',title:"Text"}}}class Yn{constructor(){this.commandName="bold"}static get sanitize(){return{b:{}}}render(){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M9 12L9 7.1C9 7.04477 9.04477 7 9.1 7H10.4C11.5 7 14 7.1 14 9.5C14 9.5 14 12 11 12M9 12V16.8C9 16.9105 9.08954 17 9.2 17H12.5C14 17 15 16 15 14.5C15 11.7046 11 12 11 12M9 12H11"/></svg>',name:"bold",onActivate:()=>{document.execCommand(this.commandName)},isActive:()=>document.queryCommandState(this.commandName)}}get shortcut(){return"CMD+B"}}Yn.isInline=!0,Yn.title="Bold";class Xn{constructor(){this.commandName="italic",this.CSS={button:"ce-inline-tool",buttonActive:"ce-inline-tool--active",buttonModifier:"ce-inline-tool--italic"},this.nodes={button:null}}static get sanitize(){return{i:{}}}render(){return this.nodes.button=document.createElement("button"),this.nodes.button.type="button",this.nodes.button.classList.add(this.CSS.button,this.CSS.buttonModifier),this.nodes.button.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M13.34 10C12.4223 12.7337 11 17 11 17"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M14.21 7H14.2"/></svg>',this.nodes.button}surround(){document.execCommand(this.commandName)}checkState(){const e=document.queryCommandState(this.commandName);return this.nodes.button.classList.toggle(this.CSS.buttonActive,e),e}get shortcut(){return"CMD+I"}}Xn.isInline=!0,Xn.title="Italic";class Vn{constructor({api:e}){this.commandLink="createLink",this.commandUnlink="unlink",this.ENTER_KEY=13,this.CSS={button:"ce-inline-tool",buttonActive:"ce-inline-tool--active",buttonModifier:"ce-inline-tool--link",buttonUnlink:"ce-inline-tool--unlink",input:"ce-inline-tool-input",inputShowed:"ce-inline-tool-input--showed"},this.nodes={button:null,input:null},this.inputOpened=!1,this.toolbar=e.toolbar,this.inlineToolbar=e.inlineToolbar,this.notifier=e.notifier,this.i18n=e.i18n,this.selection=new V}static get sanitize(){return{a:{href:!0,target:"_blank",rel:"nofollow"}}}render(){return this.nodes.button=document.createElement("button"),this.nodes.button.type="button",this.nodes.button.classList.add(this.CSS.button,this.CSS.buttonModifier),this.nodes.button.innerHTML=Be,this.nodes.button}renderActions(){return this.nodes.input=document.createElement("input"),this.nodes.input.placeholder=this.i18n.t("Add a link"),this.nodes.input.enterKeyHint="done",this.nodes.input.classList.add(this.CSS.input),this.nodes.input.addEventListener("keydown",(e=>{e.keyCode===this.ENTER_KEY&&this.enterPressed(e)})),this.nodes.input}surround(e){if(e){this.inputOpened?(this.selection.restore(),this.selection.removeFakeBackground()):(this.selection.setFakeBackground(),this.selection.save());const e=this.selection.findParentTag("A");if(e)return this.selection.expandToTag(e),this.unlink(),this.closeActions(),this.checkState(),void this.toolbar.close()}this.toggleActions()}checkState(){const e=this.selection.findParentTag("A");if(e){this.nodes.button.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M15.7795 11.5C15.7795 11.5 16.053 11.1962 16.5497 10.6722C17.4442 9.72856 17.4701 8.2475 16.5781 7.30145V7.30145C15.6482 6.31522 14.0873 6.29227 13.1288 7.25073L11.8796 8.49999"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M8.24517 12.3883C8.24517 12.3883 7.97171 12.6922 7.47504 13.2161C6.58051 14.1598 6.55467 15.6408 7.44666 16.5869V16.5869C8.37653 17.5731 9.93744 17.5961 10.8959 16.6376L12.1452 15.3883"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M17.7802 15.1032L16.597 14.9422C16.0109 14.8624 15.4841 15.3059 15.4627 15.8969L15.4199 17.0818"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6.39064 9.03238L7.58432 9.06668C8.17551 9.08366 8.6522 8.58665 8.61056 7.99669L8.5271 6.81397"/><line x1="12.1142" x2="11.7" y1="12.2" y2="11.7858" stroke="currentColor" stroke-linecap="round" stroke-width="2"/></svg>',this.nodes.button.classList.add(this.CSS.buttonUnlink),this.nodes.button.classList.add(this.CSS.buttonActive),this.openActions();const t=e.getAttribute("href");this.nodes.input.value="null"!==t?t:"",this.selection.save()}else this.nodes.button.innerHTML=Be,this.nodes.button.classList.remove(this.CSS.buttonUnlink),this.nodes.button.classList.remove(this.CSS.buttonActive);return!!e}clear(){this.closeActions()}get shortcut(){return"CMD+K"}toggleActions(){this.inputOpened?this.closeActions(!1):this.openActions(!0)}openActions(e=!1){this.nodes.input.classList.add(this.CSS.inputShowed),e&&this.nodes.input.focus(),this.inputOpened=!0}closeActions(e=!0){if(this.selection.isFakeBackgroundEnabled){const e=new V;e.save(),this.selection.restore(),this.selection.removeFakeBackground(),e.restore()}this.nodes.input.classList.remove(this.CSS.inputShowed),this.nodes.input.value="",e&&this.selection.clearSaved(),this.inputOpened=!1}enterPressed(e){let t=this.nodes.input.value||"";return t.trim()?this.validateURL(t)?(t=this.prepareLink(t),this.selection.restore(),this.selection.removeFakeBackground(),this.insertLink(t),e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation(),this.selection.collapseToEnd(),void this.inlineToolbar.close()):(this.notifier.show({message:"Pasted link is not valid.",style:"error"}),void m("Incorrect Link pasted","warn",t)):(this.selection.restore(),this.unlink(),e.preventDefault(),void this.closeActions())}validateURL(e){return!/\s/.test(e)}prepareLink(e){return e=e.trim(),e=this.addProtocol(e)}addProtocol(e){if(/^(\w+):(\/\/)?/.test(e))return e;const t=/^\/[^/\s]/.test(e),o="#"===e.substring(0,1),n=/^\/\/[^/\s]/.test(e);return!t&&!o&&!n&&(e="http://"+e),e}insertLink(e){const t=this.selection.findParentTag("A");t&&this.selection.expandToTag(t),document.execCommand(this.commandLink,!1,e)}unlink(){document.execCommand(this.commandUnlink)}}Vn.isInline=!0,Vn.title="Link";let Gn=class{constructor({api:e}){this.i18nAPI=e.i18n,this.blocksAPI=e.blocks,this.selectionAPI=e.selection,this.toolsAPI=e.tools,this.caretAPI=e.caret}async render(){const e=V.get(),t=this.blocksAPI.getBlockByElement(e.anchorNode);if(void 0===t)return[];const o=this.toolsAPI.getBlockTools(),n=await ie(t,o);if(0===n.length)return[];const i=n.reduce(((e,o)=>{var n;return null==(n=o.toolbox)||n.forEach((n=>{e.push({icon:n.icon,title:W.t(Se.toolNames,n.title),name:o.name,closeOnActivate:!0,onActivate:async()=>{const e=await this.blocksAPI.convert(t.id,o.name,n.data);this.caretAPI.setToBlock(e,"end")}})})),e}),[]),r=await t.getActiveToolboxEntry(),s=void 0!==r?r.icon:Ie,a=!D();return{icon:s,name:"convert-to",hint:{title:this.i18nAPI.t("Convert to")},children:{searchable:a,items:i,onOpen:()=>{a&&(this.selectionAPI.setFakeBackground(),this.selectionAPI.save())},onClose:()=>{a&&(this.selectionAPI.restore(),this.selectionAPI.removeFakeBackground())}}}}};Gn.isInline=!0;let Zn=class{constructor({data:e,api:t}){this.CSS={wrapper:"ce-stub",info:"ce-stub__info",title:"ce-stub__title",subtitle:"ce-stub__subtitle"},this.api=t,this.title=e.title||this.api.i18n.t("Error"),this.subtitle=this.api.i18n.t("The block can not be displayed correctly."),this.savedData=e.savedData,this.wrapper=this.make()}render(){return this.wrapper}save(){return this.savedData}make(){const e=F.make("div",this.CSS.wrapper),t=F.make("div",this.CSS.info),o=F.make("div",this.CSS.title,{textContent:this.title}),n=F.make("div",this.CSS.subtitle,{textContent:this.subtitle});return e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><rect width="14" height="14" x="5" y="5" stroke="currentColor" stroke-width="2" rx="4"/><line x1="12" x2="12" y1="9" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M12 15.02V15.01"/></svg>',t.appendChild(o),t.appendChild(n),e.appendChild(t),e}};Zn.isReadOnlySupported=!0;class Jn extends Ot{constructor(){super(...arguments),this.type=xt.Inline}get title(){return this.constructable[Tt.Title]}create(){return new this.constructable({api:this.api,config:this.settings})}get isReadOnlySupported(){return this.constructable[Tt.IsReadOnlySupported]??!1}}class Qn extends Ot{constructor(){super(...arguments),this.type=xt.Tune}create(e,t){return new this.constructable({api:this.api,config:this.settings,block:t,data:e})}}let ei=class e extends Map{get blockTools(){const t=Array.from(this.entries()).filter((([,e])=>e.isBlock()));return new e(t)}get inlineTools(){const t=Array.from(this.entries()).filter((([,e])=>e.isInline()));return new e(t)}get blockTunes(){const t=Array.from(this.entries()).filter((([,e])=>e.isTune()));return new e(t)}get internalTools(){const t=Array.from(this.entries()).filter((([,e])=>e.isInternal));return new e(t)}get externalTools(){const t=Array.from(this.entries()).filter((([,e])=>!e.isInternal));return new e(t)}};var ti=Object.defineProperty,oi=Object.getOwnPropertyDescriptor,ni=(e,t,o,n)=>{for(var i,r=n>1?void 0:n?oi(t,o):t,s=e.length-1;s>=0;s--)(i=e[s])&&(r=(n?i(t,o,r):i(r))||r);return n&&r&&ti(t,o,r),r};class ii extends Ot{constructor(){super(...arguments),this.type=xt.Block,this.inlineTools=new ei,this.tunes=new ei}create(e,t,o){return new this.constructable({data:e,block:t,readOnly:o,api:this.api,config:this.settings})}get isReadOnlySupported(){return!0===this.constructable[St.IsReadOnlySupported]}get isLineBreaksEnabled(){return this.constructable[St.IsEnabledLineBreaks]}get toolbox(){const e=this.constructable[St.Toolbox],t=this.config[Et.Toolbox];if(!C(e)&&!1!==t)return t?Array.isArray(e)?Array.isArray(t)?t.map(((t,o)=>{const n=e[o];return n?{...n,...t}:t})):[t]:Array.isArray(t)?t:[{...e,...t}]:Array.isArray(e)?e:[e]}get conversionConfig(){return this.constructable[St.ConversionConfig]}get enabledInlineTools(){return this.config[Et.EnabledInlineTools]||!1}get enabledBlockTunes(){return this.config[Et.EnabledBlockTunes]}get pasteConfig(){return this.constructable[St.PasteConfig]??{}}get sanitizeConfig(){const e=super.sanitizeConfig,t=this.baseSanitizeConfig;if(C(e))return t;const o={};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const i=e[n];k(i)?o[n]=Object.assign({},t,i):o[n]=i}return o}get baseSanitizeConfig(){const e={};return Array.from(this.inlineTools.values()).forEach((t=>Object.assign(e,t.sanitizeConfig))),Array.from(this.tunes.values()).forEach((t=>Object.assign(e,t.sanitizeConfig))),e}}ni([j],ii.prototype,"sanitizeConfig",1),ni([j],ii.prototype,"baseSanitizeConfig",1);class ri{constructor(e,t,o){this.api=o,this.config=e,this.editorConfig=t}get(e){const{class:t,isInternal:o=!1,...n}=this.config[e],i=this.getConstructor(t),r=t[_t.IsTune];return new i({name:e,constructable:t,config:n,api:this.api.getMethodsForTool(e,r),isDefault:e===this.editorConfig.defaultBlock,defaultPlaceholder:this.editorConfig.placeholder,isInternal:o})}getConstructor(e){switch(!0){case e[Tt.IsInline]:return Jn;case e[_t.IsTune]:return Qn;default:return ii}}}let si=class{constructor({api:e}){this.CSS={animation:"wobble"},this.api=e}render(){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7 10L11.8586 14.8586C11.9367 14.9367 12.0633 14.9367 12.1414 14.8586L17 10"/></svg>',title:this.api.i18n.t("Move down"),onActivate:()=>this.handleClick(),name:"move-down"}}handleClick(){const e=this.api.blocks.getCurrentBlockIndex(),t=this.api.blocks.getBlockByIndex(e+1);if(!t)throw new Error("Unable to move Block down since it is already the last");const o=t.holder,n=o.getBoundingClientRect();let i=Math.abs(window.innerHeight-o.offsetHeight);n.top<window.innerHeight&&(i=window.scrollY+o.offsetHeight),window.scrollTo(0,i),this.api.blocks.move(e+1),this.api.toolbar.toggleBlockSettings(!0)}};si.isTune=!0;let ai=class{constructor({api:e}){this.api=e}render(){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M8 8L12 12M12 12L16 16M12 12L16 8M12 12L8 16"/></svg>',title:this.api.i18n.t("Delete"),name:"delete",confirmation:{title:this.api.i18n.t("Click to delete"),onActivate:()=>this.handleClick()}}}handleClick(){this.api.blocks.delete()}};ai.isTune=!0;let li=class{constructor({api:e}){this.CSS={animation:"wobble"},this.api=e}render(){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7 15L11.8586 10.1414C11.9367 10.0633 12.0633 10.0633 12.1414 10.1414L17 15"/></svg>',title:this.api.i18n.t("Move up"),onActivate:()=>this.handleClick(),name:"move-up"}}handleClick(){const e=this.api.blocks.getCurrentBlockIndex(),t=this.api.blocks.getBlockByIndex(e),o=this.api.blocks.getBlockByIndex(e-1);if(0===e||!t||!o)throw new Error("Unable to move Block up since it is already the first");const n=t.holder,i=o.holder,r=n.getBoundingClientRect(),s=i.getBoundingClientRect();let a;a=s.top>0?Math.abs(r.top)-Math.abs(s.top):Math.abs(r.top)+s.height,window.scrollBy(0,-1*a),this.api.blocks.move(e-1),this.api.toolbar.toggleBlockSettings(!0)}};li.isTune=!0;var ci=Object.defineProperty,di=Object.getOwnPropertyDescriptor;let ui=class extends X{constructor(){super(...arguments),this.stubTool="stub",this.toolsAvailable=new ei,this.toolsUnavailable=new ei}get available(){return this.toolsAvailable}get unavailable(){return this.toolsUnavailable}get inlineTools(){return this.available.inlineTools}get blockTools(){return this.available.blockTools}get blockTunes(){return this.available.blockTunes}get defaultTool(){return this.blockTools.get(this.config.defaultBlock)}get internal(){return this.available.internalTools}async prepare(){if(this.validateTools(),this.config.tools=P({},this.internalTools,this.config.tools),!Object.prototype.hasOwnProperty.call(this.config,"tools")||0===Object.keys(this.config.tools).length)throw Error("Can't start without tools");const e=this.prepareConfig();this.factory=new ri(e,this.config,this.Editor.API);const t=this.getListOfPrepareFunctions(e);if(0===t.length)return Promise.resolve();await T(t,(e=>{this.toolPrepareMethodSuccess(e)}),(e=>{this.toolPrepareMethodFallback(e)})),this.prepareBlockTools()}getAllInlineToolsSanitizeConfig(){const e={};return Array.from(this.inlineTools.values()).forEach((t=>{Object.assign(e,t.sanitizeConfig)})),e}destroy(){Object.values(this.available).forEach((async e=>{y(e.reset)&&await e.reset()}))}get internalTools(){return{convertTo:{class:Gn,isInternal:!0},link:{class:Vn,isInternal:!0},bold:{class:Yn,isInternal:!0},italic:{class:Xn,isInternal:!0},paragraph:{class:Kn,inlineToolbar:!0,isInternal:!0},stub:{class:Zn,isInternal:!0},moveUp:{class:li,isInternal:!0},delete:{class:ai,isInternal:!0},moveDown:{class:si,isInternal:!0}}}toolPrepareMethodSuccess(e){const t=this.factory.get(e.toolName);if(t.isInline()){const e=["render"].filter((e=>!t.create()[e]));if(e.length)return m(`Incorrect Inline Tool: ${t.name}. Some of required methods is not implemented %o`,"warn",e),void this.toolsUnavailable.set(t.name,t)}this.toolsAvailable.set(t.name,t)}toolPrepareMethodFallback(e){this.toolsUnavailable.set(e.toolName,this.factory.get(e.toolName))}getListOfPrepareFunctions(e){const t=[];return Object.entries(e).forEach((([e,o])=>{t.push({function:y(o.class.prepare)?o.class.prepare:()=>{},data:{toolName:e,config:o.config}})})),t}prepareBlockTools(){Array.from(this.blockTools.values()).forEach((e=>{this.assignInlineToolsToBlockTool(e),this.assignBlockTunesToBlockTool(e)}))}assignInlineToolsToBlockTool(e){if(!1!==this.config.inlineToolbar){if(!0===e.enabledInlineTools)return void(e.inlineTools=new ei(Array.isArray(this.config.inlineToolbar)?this.config.inlineToolbar.map((e=>[e,this.inlineTools.get(e)])):Array.from(this.inlineTools.entries())));Array.isArray(e.enabledInlineTools)&&(e.inlineTools=new ei(["convertTo",...e.enabledInlineTools].map((e=>[e,this.inlineTools.get(e)]))))}}assignBlockTunesToBlockTool(e){if(!1!==e.enabledBlockTunes){if(Array.isArray(e.enabledBlockTunes)){const t=new ei(e.enabledBlockTunes.map((e=>[e,this.blockTunes.get(e)])));return void(e.tunes=new ei([...t,...this.blockTunes.internalTools]))}if(Array.isArray(this.config.tunes)){const t=new ei(this.config.tunes.map((e=>[e,this.blockTunes.get(e)])));return void(e.tunes=new ei([...t,...this.blockTunes.internalTools]))}e.tunes=this.blockTunes.internalTools}}validateTools(){for(const e in this.config.tools)if(Object.prototype.hasOwnProperty.call(this.config.tools,e)){if(e in this.internalTools)return;const t=this.config.tools[e];if(!y(t)&&!y(t.class))throw Error(`Tool «${e}» must be a constructor function or an object with function in the «class» property`)}}prepareConfig(){const e={};for(const t in this.config.tools)k(this.config.tools[t])?e[t]=this.config.tools[t]:e[t]={class:this.config.tools[t]};return e}};((e,t,o,n)=>{for(var i,r=n>1?void 0:n?di(t,o):t,s=e.length-1;s>=0;s--)(i=e[s])&&(r=(n?i(t,o,r):i(r))||r);n&&r&&ci(t,o,r)})([j],ui.prototype,"getAllInlineToolsSanitizeConfig",1);const hi=':root{--selectionColor: #e1f2ff;--inlineSelectionColor: #d4ecff;--bg-light: #eff2f5;--grayText: #707684;--color-dark: #1D202B;--color-active-icon: #388AE5;--color-gray-border: rgba(201, 201, 204, .48);--content-width: 650px;--narrow-mode-right-padding: 50px;--toolbox-buttons-size: 26px;--toolbox-buttons-size--mobile: 36px;--icon-size: 20px;--icon-size--mobile: 28px;--block-padding-vertical: .4em;--color-line-gray: #EFF0F1 }.codex-editor{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}.codex-editor .hide{display:none}.codex-editor__redactor [contenteditable]:empty:after{content:"\\feff"}@media (min-width: 651px){.codex-editor--narrow .codex-editor__redactor{margin-right:50px}}@media (min-width: 651px){.codex-editor--narrow.codex-editor--rtl .codex-editor__redactor{margin-left:50px;margin-right:0}}@media (min-width: 651px){.codex-editor--narrow .ce-toolbar__actions{right:-5px}}.codex-editor-copyable{position:absolute;height:1px;width:1px;top:-400%;opacity:.001}.codex-editor-overlay{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999;pointer-events:none;overflow:hidden}.codex-editor-overlay__container{position:relative;pointer-events:auto;z-index:0}.codex-editor-overlay__rectangle{position:absolute;pointer-events:none;background-color:#2eaadc33;border:1px solid transparent}.codex-editor svg{max-height:100%}.codex-editor path{stroke:currentColor}.codex-editor ::-moz-selection{background-color:#d4ecff}.codex-editor ::selection{background-color:#d4ecff}.codex-editor--toolbox-opened [contentEditable=true][data-placeholder]:focus:before{opacity:0!important}.ce-scroll-locked{overflow:hidden}.ce-scroll-locked--hard{overflow:hidden;top:calc(-1 * var(--window-scroll-offset));position:fixed;width:100%}.ce-toolbar{position:absolute;left:0;right:0;top:0;-webkit-transition:opacity .1s ease;transition:opacity .1s ease;will-change:opacity,top;display:none}.ce-toolbar--opened{display:block}.ce-toolbar__content{max-width:650px;margin:0 auto;position:relative}.ce-toolbar__plus{color:#1d202b;cursor:pointer;width:26px;height:26px;border-radius:7px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-negative:0;flex-shrink:0}@media (max-width: 650px){.ce-toolbar__plus{width:36px;height:36px}}@media (hover: hover){.ce-toolbar__plus:hover{background-color:#eff2f5}}.ce-toolbar__plus--active{background-color:#eff2f5;-webkit-animation:bounceIn .75s 1;animation:bounceIn .75s 1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.ce-toolbar__plus-shortcut{opacity:.6;word-spacing:-2px;margin-top:5px}@media (max-width: 650px){.ce-toolbar__plus{position:absolute;background-color:#fff;border:1px solid #E8E8EB;-webkit-box-shadow:0 3px 15px -3px rgba(13,20,33,.13);box-shadow:0 3px 15px -3px #0d142121;border-radius:6px;z-index:2;position:static}.ce-toolbar__plus--left-oriented:before{left:15px;margin-left:0}.ce-toolbar__plus--right-oriented:before{left:auto;right:15px;margin-left:0}}.ce-toolbar__actions{position:absolute;right:100%;opacity:0;display:-webkit-box;display:-ms-flexbox;display:flex;padding-right:5px}.ce-toolbar__actions--opened{opacity:1}@media (max-width: 650px){.ce-toolbar__actions{right:auto}}.ce-toolbar__settings-btn{color:#1d202b;width:26px;height:26px;border-radius:7px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;margin-left:3px;cursor:pointer;user-select:none}@media (max-width: 650px){.ce-toolbar__settings-btn{width:36px;height:36px}}@media (hover: hover){.ce-toolbar__settings-btn:hover{background-color:#eff2f5}}.ce-toolbar__settings-btn--active{background-color:#eff2f5;-webkit-animation:bounceIn .75s 1;animation:bounceIn .75s 1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@media (min-width: 651px){.ce-toolbar__settings-btn{width:24px}}.ce-toolbar__settings-btn--hidden{display:none}@media (max-width: 650px){.ce-toolbar__settings-btn{position:absolute;background-color:#fff;border:1px solid #E8E8EB;-webkit-box-shadow:0 3px 15px -3px rgba(13,20,33,.13);box-shadow:0 3px 15px -3px #0d142121;border-radius:6px;z-index:2;position:static}.ce-toolbar__settings-btn--left-oriented:before{left:15px;margin-left:0}.ce-toolbar__settings-btn--right-oriented:before{left:auto;right:15px;margin-left:0}}.ce-toolbar__plus svg,.ce-toolbar__settings-btn svg{width:24px;height:24px}@media (min-width: 651px){.codex-editor--narrow .ce-toolbar__plus{left:5px}}@media (min-width: 651px){.codex-editor--narrow .ce-toolbox .ce-popover{right:0;left:auto;left:initial}}.ce-inline-toolbar{--y-offset: 8px;--color-background-icon-active: rgba(56, 138, 229, .1);--color-text-icon-active: #388AE5;--color-text-primary: black;position:absolute;visibility:hidden;-webkit-transition:opacity .25s ease;transition:opacity .25s ease;will-change:opacity,left,top;top:0;left:0;z-index:3;opacity:1;visibility:visible}.ce-inline-toolbar [hidden]{display:none!important}.ce-inline-toolbar__toggler-and-button-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;padding:0 6px}.ce-inline-toolbar__buttons{display:-webkit-box;display:-ms-flexbox;display:flex}.ce-inline-toolbar__dropdown{display:-webkit-box;display:-ms-flexbox;display:flex;padding:6px;margin:0 6px 0 -6px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;border-right:1px solid rgba(201,201,204,.48);-webkit-box-sizing:border-box;box-sizing:border-box}@media (hover: hover){.ce-inline-toolbar__dropdown:hover{background:#eff2f5}}.ce-inline-toolbar__dropdown--hidden{display:none}.ce-inline-toolbar__dropdown-content,.ce-inline-toolbar__dropdown-arrow{display:-webkit-box;display:-ms-flexbox;display:flex}.ce-inline-toolbar__dropdown-content svg,.ce-inline-toolbar__dropdown-arrow svg{width:20px;height:20px}.ce-inline-toolbar__shortcut{opacity:.6;word-spacing:-3px;margin-top:3px}.ce-inline-tool{color:var(--color-text-primary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:0;border-radius:4px;line-height:normal;height:100%;padding:0;width:28px;background-color:transparent;cursor:pointer}@media (max-width: 650px){.ce-inline-tool{width:36px;height:36px}}@media (hover: hover){.ce-inline-tool:hover{background-color:#f8f8f8}}.ce-inline-tool svg{display:block;width:20px;height:20px}@media (max-width: 650px){.ce-inline-tool svg{width:28px;height:28px}}.ce-inline-tool--link .icon--unlink,.ce-inline-tool--unlink .icon--link{display:none}.ce-inline-tool--unlink .icon--unlink{display:inline-block;margin-bottom:-1px}.ce-inline-tool-input{background:#F8F8F8;border:1px solid rgba(226,226,229,.2);border-radius:6px;padding:4px 8px;font-size:14px;line-height:22px;outline:none;margin:0;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;font-weight:500;-webkit-appearance:none;font-family:inherit}@media (max-width: 650px){.ce-inline-tool-input{font-size:15px;font-weight:500}}.ce-inline-tool-input::-webkit-input-placeholder{color:#707684}.ce-inline-tool-input::-moz-placeholder{color:#707684}.ce-inline-tool-input:-ms-input-placeholder{color:#707684}.ce-inline-tool-input::-ms-input-placeholder{color:#707684}.ce-inline-tool-input::placeholder{color:#707684}.ce-inline-tool-input--showed{display:block}.ce-inline-tool--active{background:var(--color-background-icon-active);color:var(--color-text-icon-active)}@-webkit-keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.ce-block{-webkit-animation:fade-in .3s ease;animation:fade-in .3s ease;-webkit-animation-fill-mode:none;animation-fill-mode:none;-webkit-animation-fill-mode:initial;animation-fill-mode:initial}.ce-block:first-of-type{margin-top:0}.ce-block--selected .ce-block__content{background:#e1f2ff}.ce-block--selected .ce-block__content [contenteditable]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ce-block--selected .ce-block__content img,.ce-block--selected .ce-block__content .ce-stub{opacity:.55}.ce-block--stretched .ce-block__content{max-width:none}.ce-block__content{position:relative;max-width:650px;margin:0 auto;-webkit-transition:background-color .15s ease;transition:background-color .15s ease}.ce-block--drop-target .ce-block__content:before{content:"";position:absolute;top:100%;left:-20px;margin-top:-1px;height:8px;width:8px;border:solid #388AE5;border-width:1px 1px 0 0;-webkit-transform-origin:right;transform-origin:right;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.ce-block--drop-target .ce-block__content:after{content:"";position:absolute;top:100%;height:1px;width:100%;color:#388ae5;background:repeating-linear-gradient(90deg,#388AE5,#388AE5 1px,#fff 1px,#fff 6px)}.ce-block a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.ce-block b{font-weight:700}.ce-block i{font-style:italic}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}20%{-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}60%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}20%{-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}60%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@-webkit-keyframes selectionBounce{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}50%{-webkit-transform:scale3d(1.01,1.01,1.01);transform:scale3d(1.01,1.01,1.01)}70%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes selectionBounce{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}50%{-webkit-transform:scale3d(1.01,1.01,1.01);transform:scale3d(1.01,1.01,1.01)}70%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@-webkit-keyframes buttonClicked{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.95,.95,.95);transform:scale3d(.95,.95,.95)}60%{-webkit-transform:scale3d(1.02,1.02,1.02);transform:scale3d(1.02,1.02,1.02)}80%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes buttonClicked{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.95,.95,.95);transform:scale3d(.95,.95,.95)}60%{-webkit-transform:scale3d(1.02,1.02,1.02);transform:scale3d(1.02,1.02,1.02)}80%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.cdx-block{padding:.4em 0}.cdx-block::-webkit-input-placeholder{line-height:normal!important}.cdx-input{border:1px solid rgba(201,201,204,.48);-webkit-box-shadow:inset 0 1px 2px 0 rgba(35,44,72,.06);box-shadow:inset 0 1px 2px #232c480f;border-radius:3px;padding:10px 12px;outline:none;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.cdx-input[data-placeholder]:before{position:static!important}.cdx-input[data-placeholder]:before{display:inline-block;width:0;white-space:nowrap;pointer-events:none}.cdx-settings-button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:3px;cursor:pointer;border:0;outline:none;background-color:transparent;vertical-align:bottom;color:inherit;margin:0;min-width:26px;min-height:26px}.cdx-settings-button--focused{background:rgba(34,186,255,.08)!important}.cdx-settings-button--focused{-webkit-box-shadow:inset 0 0 0px 1px rgba(7,161,227,.08);box-shadow:inset 0 0 0 1px #07a1e314}.cdx-settings-button--focused-animated{-webkit-animation-name:buttonClicked;animation-name:buttonClicked;-webkit-animation-duration:.25s;animation-duration:.25s}.cdx-settings-button--active{color:#388ae5}.cdx-settings-button svg{width:auto;height:auto}@media (max-width: 650px){.cdx-settings-button svg{width:28px;height:28px}}@media (max-width: 650px){.cdx-settings-button{width:36px;height:36px;border-radius:8px}}@media (hover: hover){.cdx-settings-button:hover{background-color:#eff2f5}}.cdx-loader{position:relative;border:1px solid rgba(201,201,204,.48)}.cdx-loader:before{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-11px 0 0 -11px;border:2px solid rgba(201,201,204,.48);border-left-color:#388ae5;border-radius:50%;-webkit-animation:cdxRotation 1.2s infinite linear;animation:cdxRotation 1.2s infinite linear}@-webkit-keyframes cdxRotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes cdxRotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.cdx-button{padding:13px;border-radius:3px;border:1px solid rgba(201,201,204,.48);font-size:14.9px;background:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(18,30,57,.04);box-shadow:0 2px 2px #121e390a;color:#707684;text-align:center;cursor:pointer}@media (hover: hover){.cdx-button:hover{background:#FBFCFE;-webkit-box-shadow:0 1px 3px 0 rgba(18,30,57,.08);box-shadow:0 1px 3px #121e3914}}.cdx-button svg{height:20px;margin-right:.2em;margin-top:-2px}.ce-stub{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:12px 18px;margin:10px 0;border-radius:10px;background:#eff2f5;border:1px solid #EFF0F1;color:#707684;font-size:14px}.ce-stub svg{width:20px;height:20px}.ce-stub__info{margin-left:14px}.ce-stub__title{font-weight:500;text-transform:capitalize}.codex-editor.codex-editor--rtl{direction:rtl}.codex-editor.codex-editor--rtl .cdx-list{padding-left:0;padding-right:40px}.codex-editor.codex-editor--rtl .ce-toolbar__plus{right:-26px;left:auto}.codex-editor.codex-editor--rtl .ce-toolbar__actions{right:auto;left:-26px}@media (max-width: 650px){.codex-editor.codex-editor--rtl .ce-toolbar__actions{margin-left:0;margin-right:auto;padding-right:0;padding-left:10px}}.codex-editor.codex-editor--rtl .ce-settings{left:5px;right:auto}.codex-editor.codex-editor--rtl .ce-settings:before{right:auto;left:25px}.codex-editor.codex-editor--rtl .ce-settings__button:not(:nth-child(3n+3)){margin-left:3px;margin-right:0}.codex-editor.codex-editor--rtl .ce-conversion-tool__icon{margin-right:0;margin-left:10px}.codex-editor.codex-editor--rtl .ce-inline-toolbar__dropdown{border-right:0px solid transparent;border-left:1px solid rgba(201,201,204,.48);margin:0 -6px 0 6px}.codex-editor.codex-editor--rtl .ce-inline-toolbar__dropdown .icon--toggler-down{margin-left:0;margin-right:4px}@media (min-width: 651px){.codex-editor--narrow.codex-editor--rtl .ce-toolbar__plus{left:0;right:5px}}@media (min-width: 651px){.codex-editor--narrow.codex-editor--rtl .ce-toolbar__actions{left:-5px}}.cdx-search-field{--icon-margin-right: 10px;background:#F8F8F8;border:1px solid rgba(226,226,229,.2);border-radius:6px;padding:2px;display:grid;grid-template-columns:auto auto 1fr;grid-template-rows:auto}.cdx-search-field__icon{width:26px;height:26px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:var(--icon-margin-right)}.cdx-search-field__icon svg{width:20px;height:20px;color:#707684}.cdx-search-field__input{font-size:14px;outline:none;font-weight:500;font-family:inherit;border:0;background:transparent;margin:0;padding:0;line-height:22px;min-width:calc(100% - 26px - var(--icon-margin-right))}.cdx-search-field__input::-webkit-input-placeholder{color:#707684;font-weight:500}.cdx-search-field__input::-moz-placeholder{color:#707684;font-weight:500}.cdx-search-field__input:-ms-input-placeholder{color:#707684;font-weight:500}.cdx-search-field__input::-ms-input-placeholder{color:#707684;font-weight:500}.cdx-search-field__input::placeholder{color:#707684;font-weight:500}.ce-popover{--border-radius: 6px;--width: 200px;--max-height: 270px;--padding: 6px;--offset-from-target: 8px;--color-border: #EFF0F1;--color-shadow: rgba(13, 20, 33, .1);--color-background: white;--color-text-primary: black;--color-text-secondary: #707684;--color-border-icon: rgba(201, 201, 204, .48);--color-border-icon-disabled: #EFF0F1;--color-text-icon-active: #388AE5;--color-background-icon-active: rgba(56, 138, 229, .1);--color-background-item-focus: rgba(34, 186, 255, .08);--color-shadow-item-focus: rgba(7, 161, 227, .08);--color-background-item-hover: #F8F8F8;--color-background-item-confirm: #E24A4A;--color-background-item-confirm-hover: #CE4343;--popover-top: calc(100% + var(--offset-from-target));--popover-left: 0;--nested-popover-overlap: 4px;--icon-size: 20px;--item-padding: 3px;--item-height: calc(var(--icon-size) + 2 * var(--item-padding))}.ce-popover__container{min-width:var(--width);width:var(--width);max-height:var(--max-height);border-radius:var(--border-radius);overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0px 3px 15px -3px var(--color-shadow);box-shadow:0 3px 15px -3px var(--color-shadow);position:absolute;left:var(--popover-left);top:var(--popover-top);background:var(--color-background);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;z-index:4;opacity:0;max-height:0;pointer-events:none;padding:0;border:none}.ce-popover--opened>.ce-popover__container{opacity:1;padding:var(--padding);max-height:var(--max-height);pointer-events:auto;-webkit-animation:panelShowing .1s ease;animation:panelShowing .1s ease;border:1px solid var(--color-border)}@media (max-width: 650px){.ce-popover--opened>.ce-popover__container{-webkit-animation:panelShowingMobile .25s ease;animation:panelShowingMobile .25s ease}}.ce-popover--open-top .ce-popover__container{--popover-top: calc(-1 * (var(--offset-from-target) + var(--popover-height)))}.ce-popover--open-left .ce-popover__container{--popover-left: calc(-1 * var(--width) + 100%)}.ce-popover__items{overflow-y:auto;-ms-scroll-chaining:none;overscroll-behavior:contain}@media (max-width: 650px){.ce-popover__overlay{position:fixed;top:0;bottom:0;left:0;right:0;background:#1D202B;z-index:3;opacity:.5;-webkit-transition:opacity .12s ease-in;transition:opacity .12s ease-in;will-change:opacity;visibility:visible}}.ce-popover__overlay--hidden{display:none}@media (max-width: 650px){.ce-popover .ce-popover__container{--offset: 5px;position:fixed;max-width:none;min-width:calc(100% - var(--offset) * 2);left:var(--offset);right:var(--offset);bottom:calc(var(--offset) + env(safe-area-inset-bottom));top:auto;border-radius:10px}}.ce-popover__search{margin-bottom:5px}.ce-popover__nothing-found-message{color:#707684;display:none;cursor:default;padding:3px;font-size:14px;line-height:20px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ce-popover__nothing-found-message--displayed{display:block}.ce-popover--nested .ce-popover__container{--popover-left: calc(var(--nesting-level) * (var(--width) - var(--nested-popover-overlap)));top:calc(var(--trigger-item-top) - var(--nested-popover-overlap));position:absolute}.ce-popover--open-top.ce-popover--nested .ce-popover__container{top:calc(var(--trigger-item-top) - var(--popover-height) + var(--item-height) + var(--offset-from-target) + var(--nested-popover-overlap))}.ce-popover--open-left .ce-popover--nested .ce-popover__container{--popover-left: calc(-1 * (var(--nesting-level) + 1) * var(--width) + 100%)}.ce-popover-item-separator{padding:4px 3px}.ce-popover-item-separator--hidden{display:none}.ce-popover-item-separator__line{height:1px;background:var(--color-border);width:100%}.ce-popover-item-html--hidden{display:none}.ce-popover-item{--border-radius: 6px;border-radius:var(--border-radius);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:var(--item-padding);color:var(--color-text-primary);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:none;background:transparent}@media (max-width: 650px){.ce-popover-item{padding:4px}}.ce-popover-item:not(:last-of-type){margin-bottom:1px}.ce-popover-item__icon{width:26px;height:26px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ce-popover-item__icon svg{width:20px;height:20px}@media (max-width: 650px){.ce-popover-item__icon{width:36px;height:36px;border-radius:8px}.ce-popover-item__icon svg{width:28px;height:28px}}.ce-popover-item__icon--tool{margin-right:4px}.ce-popover-item__title{font-size:14px;line-height:20px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-right:auto}@media (max-width: 650px){.ce-popover-item__title{font-size:16px}}.ce-popover-item__secondary-title{color:var(--color-text-secondary);font-size:12px;white-space:nowrap;letter-spacing:-.1em;padding-right:5px;opacity:.6}@media (max-width: 650px){.ce-popover-item__secondary-title{display:none}}.ce-popover-item--active{background:var(--color-background-icon-active);color:var(--color-text-icon-active)}.ce-popover-item--disabled{color:var(--color-text-secondary);cursor:default;pointer-events:none}.ce-popover-item--focused:not(.ce-popover-item--no-focus){background:var(--color-background-item-focus)!important}.ce-popover-item--hidden{display:none}@media (hover: hover){.ce-popover-item:hover{cursor:pointer}.ce-popover-item:hover:not(.ce-popover-item--no-hover){background-color:var(--color-background-item-hover)}}.ce-popover-item--confirmation{background:var(--color-background-item-confirm)}.ce-popover-item--confirmation .ce-popover-item__title,.ce-popover-item--confirmation .ce-popover-item__icon{color:#fff}@media (hover: hover){.ce-popover-item--confirmation:not(.ce-popover-item--no-hover):hover{background:var(--color-background-item-confirm-hover)}}.ce-popover-item--confirmation:not(.ce-popover-item--no-focus).ce-popover-item--focused{background:var(--color-background-item-confirm-hover)!important}@-webkit-keyframes panelShowing{0%{opacity:0;-webkit-transform:translateY(-8px) scale(.9);transform:translateY(-8px) scale(.9)}70%{opacity:1;-webkit-transform:translateY(2px);transform:translateY(2px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes panelShowing{0%{opacity:0;-webkit-transform:translateY(-8px) scale(.9);transform:translateY(-8px) scale(.9)}70%{opacity:1;-webkit-transform:translateY(2px);transform:translateY(2px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes panelShowingMobile{0%{opacity:0;-webkit-transform:translateY(14px) scale(.98);transform:translateY(14px) scale(.98)}70%{opacity:1;-webkit-transform:translateY(-4px);transform:translateY(-4px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes panelShowingMobile{0%{opacity:0;-webkit-transform:translateY(14px) scale(.98);transform:translateY(14px) scale(.98)}70%{opacity:1;-webkit-transform:translateY(-4px);transform:translateY(-4px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble;-webkit-animation-duration:.4s;animation-duration:.4s}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-9%,0,0);transform:translate3d(-9%,0,0)}30%{-webkit-transform:translate3d(9%,0,0);transform:translate3d(9%,0,0)}45%{-webkit-transform:translate3d(-4%,0,0);transform:translate3d(-4%,0,0)}60%{-webkit-transform:translate3d(4%,0,0);transform:translate3d(4%,0,0)}75%{-webkit-transform:translate3d(-1%,0,0);transform:translate3d(-1%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-9%,0,0);transform:translate3d(-9%,0,0)}30%{-webkit-transform:translate3d(9%,0,0);transform:translate3d(9%,0,0)}45%{-webkit-transform:translate3d(-4%,0,0);transform:translate3d(-4%,0,0)}60%{-webkit-transform:translate3d(4%,0,0);transform:translate3d(4%,0,0)}75%{-webkit-transform:translate3d(-1%,0,0);transform:translate3d(-1%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.ce-popover-header{margin-bottom:8px;margin-top:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ce-popover-header__text{font-size:18px;font-weight:600}.ce-popover-header__back-button{border:0;background:transparent;width:36px;height:36px;color:var(--color-text-primary)}.ce-popover-header__back-button svg{display:block;width:28px;height:28px}.ce-popover--inline{--height: 38px;--height-mobile: 46px;--container-padding: 4px;position:relative}.ce-popover--inline .ce-popover__custom-content{margin-bottom:0}.ce-popover--inline .ce-popover__items{display:-webkit-box;display:-ms-flexbox;display:flex}.ce-popover--inline .ce-popover__container{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:var(--container-padding);height:var(--height);top:0;min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content;width:-webkit-max-content;width:-moz-max-content;width:max-content;-webkit-animation:none;animation:none}@media (max-width: 650px){.ce-popover--inline .ce-popover__container{height:var(--height-mobile);position:absolute}}.ce-popover--inline .ce-popover-item-separator{padding:0 4px}.ce-popover--inline .ce-popover-item-separator__line{height:100%;width:1px}.ce-popover--inline .ce-popover-item{border-radius:4px;padding:4px}.ce-popover--inline .ce-popover-item__icon--tool{-webkit-box-shadow:none;box-shadow:none;background:transparent;margin-right:0}.ce-popover--inline .ce-popover-item__icon{width:auto;width:initial;height:auto;height:initial}.ce-popover--inline .ce-popover-item__icon svg{width:20px;height:20px}@media (max-width: 650px){.ce-popover--inline .ce-popover-item__icon svg{width:28px;height:28px}}.ce-popover--inline .ce-popover-item:not(:last-of-type){margin-bottom:0;margin-bottom:initial}.ce-popover--inline .ce-popover-item-html{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ce-popover--inline .ce-popover-item__icon--chevron-right{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ce-popover--inline .ce-popover--nested-level-1 .ce-popover__container{--offset: 3px;left:0;top:calc(var(--height) + var(--offset))}@media (max-width: 650px){.ce-popover--inline .ce-popover--nested-level-1 .ce-popover__container{top:calc(var(--height-mobile) + var(--offset))}}.ce-popover--inline .ce-popover--nested .ce-popover__container{min-width:var(--width);width:var(--width);height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;padding:6px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.ce-popover--inline .ce-popover--nested .ce-popover__items{display:block;width:100%}.ce-popover--inline .ce-popover--nested .ce-popover-item{border-radius:6px;padding:3px}@media (max-width: 650px){.ce-popover--inline .ce-popover--nested .ce-popover-item{padding:4px}}.ce-popover--inline .ce-popover--nested .ce-popover-item__icon--tool{margin-right:4px}.ce-popover--inline .ce-popover--nested .ce-popover-item__icon{width:26px;height:26px}.ce-popover--inline .ce-popover--nested .ce-popover-item-separator{padding:4px 3px}.ce-popover--inline .ce-popover--nested .ce-popover-item-separator__line{width:100%;height:1px}.codex-editor [data-placeholder]:empty:before,.codex-editor [data-placeholder][data-empty=true]:before{pointer-events:none;color:#707684;cursor:text;content:attr(data-placeholder)}.codex-editor [data-placeholder-active]:empty:before,.codex-editor [data-placeholder-active][data-empty=true]:before{pointer-events:none;color:#707684;cursor:text}.codex-editor [data-placeholder-active]:empty:focus:before,.codex-editor [data-placeholder-active][data-empty=true]:focus:before{content:attr(data-placeholder-active)}\n';const pi={BlocksAPI:class extends X{constructor(){super(...arguments),this.insert=(e=this.config.defaultBlock,t={},o={},n,i,r,s)=>new K(this.Editor.BlockManager.insert({id:s,tool:e,data:t,index:n,needToFocus:i,replace:r})),this.composeBlockData=async e=>{const t=this.Editor.Tools.blockTools.get(e);return new ce({tool:t,api:this.Editor.API,readOnly:!0,data:{},tunesData:{}}).data},this.update=async(e,t,o)=>{const{BlockManager:n}=this.Editor,i=n.getBlockById(e);if(void 0===i)throw new Error(`Block with id "${e}" not found`);return new K(await n.update(i,t,o))},this.convert=async(e,t,o)=>{var n,i;const{BlockManager:r,Tools:s}=this.Editor,a=r.getBlockById(e);if(!a)throw new Error(`Block with id "${e}" not found`);const l=s.blockTools.get(a.name),c=s.blockTools.get(t);if(!c)throw new Error(`Block Tool with type "${t}" not found`);const d=void 0!==(null==(n=null==l?void 0:l.conversionConfig)?void 0:n.export),u=void 0!==(null==(i=c.conversionConfig)?void 0:i.import);if(d&&u){return new K(await r.convert(a,t,o))}{const e=[!d&&M(a.name),!u&&M(t)].filter(Boolean).join(" and ");throw new Error(`Conversion from "${a.name}" to "${t}" is not possible. ${e} tool(s) should provide a "conversionConfig"`)}},this.insertMany=(e,t=this.Editor.BlockManager.blocks.length-1)=>{this.validateIndex(t);const o=e.map((({id:e,type:t,data:o})=>this.Editor.BlockManager.composeBlock({id:e,tool:t||this.config.defaultBlock,data:o})));return this.Editor.BlockManager.insertMany(o,t),o.map((e=>new K(e)))}}get methods(){return{clear:()=>this.clear(),render:e=>this.render(e),renderFromHTML:e=>this.renderFromHTML(e),delete:e=>this.delete(e),swap:(e,t)=>this.swap(e,t),move:(e,t)=>this.move(e,t),getBlockByIndex:e=>this.getBlockByIndex(e),getById:e=>this.getById(e),getCurrentBlockIndex:()=>this.getCurrentBlockIndex(),getBlockIndex:e=>this.getBlockIndex(e),getBlocksCount:()=>this.getBlocksCount(),getBlockByElement:e=>this.getBlockByElement(e),stretchBlock:(e,t=!0)=>this.stretchBlock(e,t),insertNewBlock:()=>this.insertNewBlock(),insert:this.insert,insertMany:this.insertMany,update:this.update,composeBlockData:this.composeBlockData,convert:this.convert}}getBlocksCount(){return this.Editor.BlockManager.blocks.length}getCurrentBlockIndex(){return this.Editor.BlockManager.currentBlockIndex}getBlockIndex(e){const t=this.Editor.BlockManager.getBlockById(e);if(t)return this.Editor.BlockManager.getBlockIndex(t);b("There is no block with id `"+e+"`","warn")}getBlockByIndex(e){const t=this.Editor.BlockManager.getBlockByIndex(e);if(void 0!==t)return new K(t);b("There is no block at index `"+e+"`","warn")}getById(e){const t=this.Editor.BlockManager.getBlockById(e);return void 0===t?(b("There is no block with id `"+e+"`","warn"),null):new K(t)}getBlockByElement(e){const t=this.Editor.BlockManager.getBlock(e);if(void 0!==t)return new K(t);b("There is no block corresponding to element `"+e+"`","warn")}swap(e,t){m("`blocks.swap()` method is deprecated and will be removed in the next major release. Use `block.move()` method instead","info"),this.Editor.BlockManager.swap(e,t)}move(e,t){this.Editor.BlockManager.move(e,t)}delete(e=this.Editor.BlockManager.currentBlockIndex){try{const t=this.Editor.BlockManager.getBlockByIndex(e);this.Editor.BlockManager.removeBlock(t)}catch(t){return void b(t,"warn")}0===this.Editor.BlockManager.blocks.length&&this.Editor.BlockManager.insert(),this.Editor.BlockManager.currentBlock&&this.Editor.Caret.setToBlock(this.Editor.BlockManager.currentBlock,this.Editor.Caret.positions.END),this.Editor.Toolbar.close()}async clear(){await this.Editor.BlockManager.clear(!0),this.Editor.InlineToolbar.close()}async render(e){if(void 0===e||void 0===e.blocks)throw new Error("Incorrect data passed to the render() method");this.Editor.ModificationsObserver.disable(),await this.Editor.BlockManager.clear(),await this.Editor.Renderer.render(e.blocks),this.Editor.ModificationsObserver.enable()}async renderFromHTML(e){return await this.Editor.BlockManager.clear(),this.Editor.Paste.processText(e,!0)}stretchBlock(e,t=!0){N(!0,"blocks.stretchBlock()","BlockAPI");const o=this.Editor.BlockManager.getBlockByIndex(e);o&&(o.stretched=t)}insertNewBlock(){m("Method blocks.insertNewBlock() is deprecated and it will be removed in the next major release. Use blocks.insert() instead.","warn"),this.insert()}validateIndex(e){if("number"!=typeof e)throw new Error("Index should be a number");if(e<0)throw new Error("Index should be greater than or equal to 0");if(null===e)throw new Error("Index should be greater than or equal to 0")}},CaretAPI:class extends X{constructor(){super(...arguments),this.setToFirstBlock=(e=this.Editor.Caret.positions.DEFAULT,t=0)=>!!this.Editor.BlockManager.firstBlock&&(this.Editor.Caret.setToBlock(this.Editor.BlockManager.firstBlock,e,t),!0),this.setToLastBlock=(e=this.Editor.Caret.positions.DEFAULT,t=0)=>!!this.Editor.BlockManager.lastBlock&&(this.Editor.Caret.setToBlock(this.Editor.BlockManager.lastBlock,e,t),!0),this.setToPreviousBlock=(e=this.Editor.Caret.positions.DEFAULT,t=0)=>!!this.Editor.BlockManager.previousBlock&&(this.Editor.Caret.setToBlock(this.Editor.BlockManager.previousBlock,e,t),!0),this.setToNextBlock=(e=this.Editor.Caret.positions.DEFAULT,t=0)=>!!this.Editor.BlockManager.nextBlock&&(this.Editor.Caret.setToBlock(this.Editor.BlockManager.nextBlock,e,t),!0),this.setToBlock=(e,t=this.Editor.Caret.positions.DEFAULT,o=0)=>{const n=function(e,t){return"number"==typeof e?t.BlockManager.getBlockByIndex(e):"string"==typeof e?t.BlockManager.getBlockById(e):t.BlockManager.getBlockById(e.id)}(e,this.Editor);return void 0!==n&&(this.Editor.Caret.setToBlock(n,t,o),!0)},this.focus=(e=!1)=>e?this.setToLastBlock(this.Editor.Caret.positions.END):this.setToFirstBlock(this.Editor.Caret.positions.START)}get methods(){return{setToFirstBlock:this.setToFirstBlock,setToLastBlock:this.setToLastBlock,setToPreviousBlock:this.setToPreviousBlock,setToNextBlock:this.setToNextBlock,setToBlock:this.setToBlock,focus:this.focus}}},EventsAPI:class extends X{get methods(){return{emit:(e,t)=>this.emit(e,t),off:(e,t)=>this.off(e,t),on:(e,t)=>this.on(e,t)}}on(e,t){this.eventsDispatcher.on(e,t)}emit(e,t){this.eventsDispatcher.emit(e,t)}off(e,t){this.eventsDispatcher.off(e,t)}},I18nAPI:class e extends X{static getNamespace(e,t){return t?`blockTunes.${e}`:`tools.${e}`}get methods(){return{t:()=>{b("I18n.t() method can be accessed only from Tools","warn")}}}getMethodsForTool(t,o){return Object.assign(this.methods,{t:n=>W.t(e.getNamespace(t,o),n)})}},API:class extends X{get methods(){return{blocks:this.Editor.BlocksAPI.methods,caret:this.Editor.CaretAPI.methods,tools:this.Editor.ToolsAPI.methods,events:this.Editor.EventsAPI.methods,listeners:this.Editor.ListenersAPI.methods,notifier:this.Editor.NotifierAPI.methods,sanitizer:this.Editor.SanitizerAPI.methods,saver:this.Editor.SaverAPI.methods,selection:this.Editor.SelectionAPI.methods,styles:this.Editor.StylesAPI.classes,toolbar:this.Editor.ToolbarAPI.methods,inlineToolbar:this.Editor.InlineToolbarAPI.methods,tooltip:this.Editor.TooltipAPI.methods,i18n:this.Editor.I18nAPI.methods,readOnly:this.Editor.ReadOnlyAPI.methods,ui:this.Editor.UiAPI.methods}}getMethodsForTool(e,t){return Object.assign(this.methods,{i18n:this.Editor.I18nAPI.getMethodsForTool(e,t)})}},InlineToolbarAPI:class extends X{get methods(){return{close:()=>this.close(),open:()=>this.open()}}open(){this.Editor.InlineToolbar.tryToShow()}close(){this.Editor.InlineToolbar.close()}},ListenersAPI:class extends X{get methods(){return{on:(e,t,o,n)=>this.on(e,t,o,n),off:(e,t,o,n)=>this.off(e,t,o,n),offById:e=>this.offById(e)}}on(e,t,o,n){return this.listeners.on(e,t,o,n)}off(e,t,o,n){this.listeners.off(e,t,o,n)}offById(e){this.listeners.offById(e)}},NotifierAPI:class extends X{constructor({config:e,eventsDispatcher:t}){super({config:e,eventsDispatcher:t}),this.notifier=new he}get methods(){return{show:e=>this.show(e)}}show(e){return this.notifier.show(e)}},ReadOnlyAPI:class extends X{get methods(){const e=()=>this.isEnabled;return{toggle:e=>this.toggle(e),get isEnabled(){return e()}}}toggle(e){return this.Editor.ReadOnly.toggle(e)}get isEnabled(){return this.Editor.ReadOnly.isEnabled}},SanitizerAPI:class extends X{get methods(){return{clean:(e,t)=>this.clean(e,t)}}clean(e,t){return me(e,t)}},SaverAPI:class extends X{get methods(){return{save:()=>this.save()}}save(){const e="Editor's content can not be saved in read-only mode";return this.Editor.ReadOnly.isEnabled?(b(e,"warn"),Promise.reject(new Error(e))):this.Editor.Saver.save()}},SelectionAPI:class extends X{constructor(){super(...arguments),this.selectionUtils=new V}get methods(){return{findParentTag:(e,t)=>this.findParentTag(e,t),expandToTag:e=>this.expandToTag(e),save:()=>this.selectionUtils.save(),restore:()=>this.selectionUtils.restore(),setFakeBackground:()=>this.selectionUtils.setFakeBackground(),removeFakeBackground:()=>this.selectionUtils.removeFakeBackground()}}findParentTag(e,t){return this.selectionUtils.findParentTag(e,t)}expandToTag(e){this.selectionUtils.expandToTag(e)}},ToolsAPI:class extends X{get methods(){return{getBlockTools:()=>Array.from(this.Editor.Tools.blockTools.values())}}},StylesAPI:class extends X{get classes(){return{block:"cdx-block",inlineToolButton:"ce-inline-tool",inlineToolButtonActive:"ce-inline-tool--active",input:"cdx-input",loader:"cdx-loader",button:"cdx-button",settingsButton:"cdx-settings-button",settingsButtonActive:"cdx-settings-button--active"}}},ToolbarAPI:class extends X{get methods(){return{close:()=>this.close(),open:()=>this.open(),toggleBlockSettings:e=>this.toggleBlockSettings(e),toggleToolbox:e=>this.toggleToolbox(e)}}open(){this.Editor.Toolbar.moveAndOpen()}close(){this.Editor.Toolbar.close()}toggleBlockSettings(e){-1!==this.Editor.BlockManager.currentBlockIndex?e??!this.Editor.BlockSettings.opened?(this.Editor.Toolbar.moveAndOpen(),this.Editor.BlockSettings.open()):this.Editor.BlockSettings.close():b("Could't toggle the Toolbar because there is no block selected ","warn")}toggleToolbox(e){-1!==this.Editor.BlockManager.currentBlockIndex?e??!this.Editor.Toolbar.toolbox.opened?(this.Editor.Toolbar.moveAndOpen(),this.Editor.Toolbar.toolbox.open()):this.Editor.Toolbar.toolbox.close():b("Could't toggle the Toolbox because there is no block selected ","warn")}},TooltipAPI:class extends X{constructor({config:e,eventsDispatcher:t}){super({config:e,eventsDispatcher:t})}get methods(){return{show:(e,t,o)=>this.show(e,t,o),hide:()=>this.hide(),onHover:(e,t,o)=>this.onHover(e,t,o)}}show(e,t,o){!function(e,t,o){xe(),null==we||we.show(e,t,o)}(e,t,o)}hide(){Ee()}onHover(e,t,o){Ce(e,t,o)}},UiAPI:class extends X{get methods(){return{nodes:this.editorNodes}}get editorNodes(){return{wrapper:this.Editor.UI.nodes.wrapper,redactor:this.Editor.UI.nodes.redactor}}},BlockSettings:class extends X{constructor(){super(...arguments),this.opened=!1,this.selection=new V,this.popover=null,this.close=()=>{this.opened&&(this.opened=!1,V.isAtEditor||this.selection.restore(),this.selection.clearSaved(),!this.Editor.CrossBlockSelection.isCrossBlockSelectionStarted&&this.Editor.BlockManager.currentBlock&&this.Editor.BlockSelection.unselectBlock(this.Editor.BlockManager.currentBlock),this.eventsDispatcher.emit(this.events.closed),this.popover&&(this.popover.off(ze.Closed,this.onPopoverClose),this.popover.destroy(),this.popover.getElement().remove(),this.popover=null))},this.onPopoverClose=()=>{this.close()}}get events(){return{opened:"block-settings-opened",closed:"block-settings-closed"}}get CSS(){return{settings:"ce-settings"}}get flipper(){var e;if(null!==this.popover)return"flipper"in this.popover?null==(e=this.popover)?void 0:e.flipper:void 0}make(){this.nodes.wrapper=F.make("div",[this.CSS.settings]),this.eventsDispatcher.on(ee,this.close)}destroy(){this.removeAllNodes(),this.listeners.destroy(),this.eventsDispatcher.off(ee,this.close)}async open(e=this.Editor.BlockManager.currentBlock){var t;this.opened=!0,this.selection.save(),this.Editor.BlockSelection.selectBlock(e),this.Editor.BlockSelection.clearCache();const{toolTunes:o,commonTunes:n}=e.getTunes();this.eventsDispatcher.emit(this.events.opened);const i=D()?ut:nt;this.popover=new i({searchable:!0,items:await this.getTunesItems(e,n,o),scopeElement:this.Editor.API.methods.ui.nodes.redactor,messages:{nothingFound:W.ui(Se.ui.popover,"Nothing found"),search:W.ui(Se.ui.popover,"Filter")}}),this.popover.on(ze.Closed,this.onPopoverClose),null==(t=this.nodes.wrapper)||t.append(this.popover.getElement()),this.popover.show()}getElement(){return this.nodes.wrapper}async getTunesItems(e,t,o){const n=[];void 0!==o&&o.length>0&&(n.push(...o),n.push({type:ae.Separator}));const i=Array.from(this.Editor.Tools.blockTools.values()),r=(await ie(e,i)).reduce(((t,o)=>(o.toolbox.forEach((n=>{t.push({icon:n.icon,title:W.t(Se.toolNames,n.title),name:o.name,closeOnActivate:!0,onActivate:async()=>{const{BlockManager:t,Caret:i,Toolbar:r}=this.Editor,s=await t.convert(e,o.name,n.data);r.close(),i.setToBlock(s,i.positions.END)}})})),t)),[]);return r.length>0&&(n.push({icon:Ie,name:"convert-to",title:W.ui(Se.ui.popover,"Convert to"),children:{searchable:!0,items:r}}),n.push({type:ae.Separator})),n.push(...t),n.map((e=>this.resolveTuneAliases(e)))}resolveTuneAliases(e){if(e.type===ae.Separator||e.type===ae.Html)return e;const t=function(e,t){const o={};return Object.keys(e).forEach((n=>{const i=t[n];void 0!==i?o[i]=e[n]:o[n]=e[n]})),o}(e,{label:"title"});return e.confirmation&&(t.confirmation=this.resolveTuneAliases(e.confirmation)),t}},Toolbar:class extends X{constructor({config:e,eventsDispatcher:t}){super({config:e,eventsDispatcher:t}),this.toolboxInstance=null}get CSS(){return{toolbar:"ce-toolbar",content:"ce-toolbar__content",actions:"ce-toolbar__actions",actionsOpened:"ce-toolbar__actions--opened",toolbarOpened:"ce-toolbar--opened",openedToolboxHolderModifier:"codex-editor--toolbox-opened",plusButton:"ce-toolbar__plus",plusButtonShortcut:"ce-toolbar__plus-shortcut",settingsToggler:"ce-toolbar__settings-btn",settingsTogglerHidden:"ce-toolbar__settings-btn--hidden"}}get opened(){return this.nodes.wrapper.classList.contains(this.CSS.toolbarOpened)}get toolbox(){var e;return{opened:null==(e=this.toolboxInstance)?void 0:e.opened,close:()=>{var e;null==(e=this.toolboxInstance)||e.close()},open:()=>{null!==this.toolboxInstance?(this.Editor.BlockManager.currentBlock=this.hoveredBlock,this.toolboxInstance.open()):m("toolbox.open() called before initialization is finished","warn")},toggle:()=>{null!==this.toolboxInstance?this.toolboxInstance.toggle():m("toolbox.toggle() called before initialization is finished","warn")},hasFocus:()=>{var e;return null==(e=this.toolboxInstance)?void 0:e.hasFocus()}}}get blockActions(){return{hide:()=>{this.nodes.actions.classList.remove(this.CSS.actionsOpened)},show:()=>{this.nodes.actions.classList.add(this.CSS.actionsOpened)}}}get blockTunesToggler(){return{hide:()=>this.nodes.settingsToggler.classList.add(this.CSS.settingsTogglerHidden),show:()=>this.nodes.settingsToggler.classList.remove(this.CSS.settingsTogglerHidden)}}toggleReadOnly(e){e?(this.destroy(),this.Editor.BlockSettings.destroy(),this.disableModuleBindings()):window.requestIdleCallback((()=>{this.drawUI(),this.enableModuleBindings()}),{timeout:2e3})}moveAndOpen(e=this.Editor.BlockManager.currentBlock){if(null===this.toolboxInstance)return void m("Can't open Toolbar since Editor initialization is not finished yet","warn");if(this.toolboxInstance.opened&&this.toolboxInstance.close(),this.Editor.BlockSettings.opened&&this.Editor.BlockSettings.close(),!e)return;this.hoveredBlock=e;const t=e.holder,{isMobile:o}=this.Editor.UI;let n;const i=e.firstInput,r=t.getBoundingClientRect(),s=void 0!==i?i.getBoundingClientRect():null,a=null!==s?s.top-r.top:null,l=null!==a?a>20:void 0;if(o)n=t.offsetTop+t.offsetHeight;else if(void 0===i||l){const o=parseInt(window.getComputedStyle(e.pluginsContent).paddingTop);n=t.offsetTop+o}else{const e=function(e){const t=window.getComputedStyle(e),o=parseFloat(t.fontSize),n=parseFloat(t.lineHeight)||1.2*o,i=parseFloat(t.paddingTop),r=parseFloat(t.borderTopWidth);return parseFloat(t.marginTop)+r+i+(n-o)/2+.8*o}(i),o=parseInt(window.getComputedStyle(this.nodes.plusButton).height,10),r=8;n=t.offsetTop+e-o+r+a}this.nodes.wrapper.style.top=`${Math.floor(n)}px`,1===this.Editor.BlockManager.blocks.length&&e.isEmpty?this.blockTunesToggler.hide():this.blockTunesToggler.show(),this.open()}close(){var e,t;this.Editor.ReadOnly.isEnabled||(null==(e=this.nodes.wrapper)||e.classList.remove(this.CSS.toolbarOpened),this.blockActions.hide(),null==(t=this.toolboxInstance)||t.close(),this.Editor.BlockSettings.close(),this.reset())}reset(){this.nodes.wrapper.style.top="unset"}open(e=!0){this.nodes.wrapper.classList.add(this.CSS.toolbarOpened),e?this.blockActions.show():this.blockActions.hide()}async make(){this.nodes.wrapper=F.make("div",this.CSS.toolbar),["content","actions"].forEach((e=>{this.nodes[e]=F.make("div",this.CSS[e])})),F.append(this.nodes.wrapper,this.nodes.content),F.append(this.nodes.content,this.nodes.actions),this.nodes.plusButton=F.make("div",this.CSS.plusButton,{innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M12 7V12M12 17V12M17 12H12M12 12H7"/></svg>'}),F.append(this.nodes.actions,this.nodes.plusButton),this.readOnlyMutableListeners.on(this.nodes.plusButton,"click",(()=>{Ee(!0),this.plusButtonClicked()}),!1);const e=F.make("div");e.appendChild(document.createTextNode(W.ui(Se.ui.toolbar.toolbox,"Add"))),e.appendChild(F.make("div",this.CSS.plusButtonShortcut,{textContent:"/"})),Ce(this.nodes.plusButton,e,{hidingDelay:400}),this.nodes.settingsToggler=F.make("span",this.CSS.settingsToggler,{innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M9.40999 7.29999H9.4"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M14.6 7.29999H14.59"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M9.30999 12H9.3"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M14.6 12H14.59"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M9.40999 16.7H9.4"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M14.6 16.7H14.59"/></svg>'}),F.append(this.nodes.actions,this.nodes.settingsToggler);const t=F.make("div"),o=F.text(W.ui(Se.ui.blockTunes.toggler,"Click to tune")),n=await async function(e,t){const n=navigator.keyboard;if(!n)return t;try{return(await n.getLayoutMap()).get(e)||t}catch(o){return t}}("Slash","/");t.appendChild(o),t.appendChild(F.make("div",this.CSS.plusButtonShortcut,{textContent:L(`CMD + ${n}`)})),Ce(this.nodes.settingsToggler,t,{hidingDelay:400}),F.append(this.nodes.actions,this.makeToolbox()),F.append(this.nodes.actions,this.Editor.BlockSettings.getElement()),F.append(this.Editor.UI.nodes.wrapper,this.nodes.wrapper)}makeToolbox(){return this.toolboxInstance=new kt({api:this.Editor.API.methods,tools:this.Editor.Tools.blockTools,i18nLabels:{filter:W.ui(Se.ui.popover,"Filter"),nothingFound:W.ui(Se.ui.popover,"Nothing found")}}),this.toolboxInstance.on(vt.Opened,(()=>{this.Editor.UI.nodes.wrapper.classList.add(this.CSS.openedToolboxHolderModifier)})),this.toolboxInstance.on(vt.Closed,(()=>{this.Editor.UI.nodes.wrapper.classList.remove(this.CSS.openedToolboxHolderModifier)})),this.toolboxInstance.on(vt.BlockAdded,(({block:e})=>{const{BlockManager:t,Caret:o}=this.Editor,n=t.getBlockById(e.id);0===n.inputs.length&&(n===t.lastBlock?(t.insertAtEnd(),o.setToBlock(t.lastBlock)):o.setToBlock(t.nextBlock))})),this.toolboxInstance.getElement()}plusButtonClicked(){var e;this.Editor.BlockManager.currentBlock=this.hoveredBlock,null==(e=this.toolboxInstance)||e.toggle()}enableModuleBindings(){this.readOnlyMutableListeners.on(this.nodes.settingsToggler,"mousedown",(e=>{var t;e.stopPropagation(),this.settingsTogglerClicked(),null!=(t=this.toolboxInstance)&&t.opened&&this.toolboxInstance.close(),Ee(!0)}),!0),D()||this.eventsDispatcher.on(wt,(e=>{var t;this.Editor.BlockSettings.opened||null!=(t=this.toolboxInstance)&&t.opened||this.moveAndOpen(e.block)}))}disableModuleBindings(){this.readOnlyMutableListeners.clearAll()}settingsTogglerClicked(){this.Editor.BlockManager.currentBlock=this.hoveredBlock,this.Editor.BlockSettings.opened?this.Editor.BlockSettings.close():this.Editor.BlockSettings.open(this.hoveredBlock)}drawUI(){this.Editor.BlockSettings.make(),this.make()}destroy(){this.removeAllNodes(),this.toolboxInstance&&this.toolboxInstance.destroy()}},InlineToolbar:class extends X{constructor({config:e,eventsDispatcher:t}){super({config:e,eventsDispatcher:t}),this.CSS={inlineToolbar:"ce-inline-toolbar"},this.opened=!1,this.popover=null,this.toolbarVerticalMargin=D()?20:6,this.tools=new Map,window.requestIdleCallback((()=>{this.make()}),{timeout:2e3})}async tryToShow(e=!1){e&&this.close(),this.allowedToShow()&&(await this.open(),this.Editor.Toolbar.close())}close(){var e,t;if(this.opened){for(const[e,t]of this.tools){const o=this.getToolShortcut(e.name);void 0!==o&&ft.remove(this.Editor.UI.nodes.redactor,o),y(t.clear)&&t.clear()}this.tools=new Map,this.reset(),this.opened=!1,null==(e=this.popover)||e.hide(),null==(t=this.popover)||t.destroy(),this.popover=null}}containsNode(e){return void 0!==this.nodes.wrapper&&this.nodes.wrapper.contains(e)}destroy(){var e;this.removeAllNodes(),null==(e=this.popover)||e.destroy(),this.popover=null}make(){this.nodes.wrapper=F.make("div",[this.CSS.inlineToolbar,...this.isRtl?[this.Editor.UI.CSS.editorRtlFix]:[]]),F.append(this.Editor.UI.nodes.wrapper,this.nodes.wrapper)}async open(){var e;if(this.opened)return;this.opened=!0,null!==this.popover&&this.popover.destroy(),this.createToolsInstances();const t=await this.getPopoverItems();this.popover=new it({items:t,scopeElement:this.Editor.API.methods.ui.nodes.redactor,messages:{nothingFound:W.ui(Se.ui.popover,"Nothing found"),search:W.ui(Se.ui.popover,"Filter")}}),this.move(this.popover.size.width),null==(e=this.nodes.wrapper)||e.append(this.popover.getElement()),this.popover.show()}move(e){const t=V.rect,o=this.Editor.UI.nodes.wrapper.getBoundingClientRect(),n={x:t.x-o.x,y:t.y+t.height-o.top+this.toolbarVerticalMargin};n.x+e+o.x>this.Editor.UI.contentRect.right&&(n.x=this.Editor.UI.contentRect.right-e-o.x),this.nodes.wrapper.style.left=Math.floor(n.x)+"px",this.nodes.wrapper.style.top=Math.floor(n.y)+"px"}reset(){this.nodes.wrapper.style.left="0",this.nodes.wrapper.style.top="0"}allowedToShow(){const e=V.get(),t=V.text;if(!e||!e.anchorNode||e.isCollapsed||t.length<1)return!1;const o=F.isElement(e.anchorNode)?e.anchorNode:e.anchorNode.parentElement;if(null===o||null!==e&&["IMG","INPUT"].includes(o.tagName))return!1;const n=this.Editor.BlockManager.getBlock(e.anchorNode);return!(!n||!1===this.getTools().some((e=>n.tool.inlineTools.has(e.name))))&&null!==o.closest("[contenteditable]")}getTools(){const e=this.Editor.BlockManager.currentBlock;return e?Array.from(e.tool.inlineTools.values()).filter((e=>!(this.Editor.ReadOnly.isEnabled&&!0!==e.isReadOnlySupported))):[]}createToolsInstances(){this.tools=new Map,this.getTools().forEach((e=>{const t=e.create();this.tools.set(e,t)}))}async getPopoverItems(){const e=[];let t=0;for(const[o,n]of this.tools){const i=await n.render(),r=this.getToolShortcut(o.name);if(void 0!==r)try{this.enableShortcuts(o.name,r)}catch{}const s=void 0!==r?L(r):void 0,a=W.t(Se.toolNames,o.title||M(o.name));[i].flat().forEach((i=>{var r,l;const c={name:o.name,onActivate:()=>{this.toolClicked(n)},hint:{title:a,description:s}};if(F.isElement(i)){const t={...c,element:i,type:ae.Html};if(y(n.renderActions)){const e=n.renderActions();t.children={isOpen:null==(r=n.checkState)?void 0:r.call(n,V.get()),isFlippable:!1,items:[{type:ae.Html,element:e}]}}else null==(l=n.checkState)||l.call(n,V.get());e.push(t)}else if(i.type===ae.Html)e.push({...c,...i,type:ae.Html});else if(i.type===ae.Separator)e.push({type:ae.Separator});else{const o={...c,...i,type:ae.Default};"children"in o&&0!==t&&e.push({type:ae.Separator}),e.push(o),"children"in o&&t<this.tools.size-1&&e.push({type:ae.Separator})}})),t++}return e}getToolShortcut(e){const{Tools:t}=this.Editor,o=t.inlineTools.get(e),n=t.internal.inlineTools;return Array.from(n.keys()).includes(e)?this.inlineTools[e][Ct.Shortcut]:null==o?void 0:o.shortcut}enableShortcuts(e,t){ft.add({name:t,handler:t=>{var o;const{currentBlock:n}=this.Editor.BlockManager;n&&n.tool.enabledInlineTools&&(t.preventDefault(),null==(o=this.popover)||o.activateItemByName(e))},on:document})}toolClicked(e){var t;const o=V.range;null==(t=e.surround)||t.call(e,o),this.checkToolsState()}checkToolsState(){var e;null==(e=this.tools)||e.forEach((e=>{var t;null==(t=e.checkState)||t.call(e,V.get())}))}get inlineTools(){const e={};return Array.from(this.Editor.Tools.inlineTools.entries()).forEach((([t,o])=>{e[t]=o.create()})),e}},BlockEvents:class extends X{keydown(e){switch(this.beforeKeydownProcessing(e),e.keyCode){case r:this.backspace(e);break;case p:this.delete(e);break;case a:this.enter(e);break;case u:case h:this.arrowRightAndDown(e);break;case d:case c:this.arrowLeftAndUp(e);break;case s:this.tabPressed(e)}"/"===e.key&&!e.ctrlKey&&!e.metaKey&&this.slashPressed(e),"Slash"===e.code&&(e.ctrlKey||e.metaKey)&&(e.preventDefault(),this.commandSlashPressed())}beforeKeydownProcessing(e){this.needToolbarClosing(e)&&S(e.keyCode)&&(this.Editor.Toolbar.close(),e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||this.Editor.BlockSelection.clearSelection(e))}keyup(e){e.shiftKey||this.Editor.UI.checkEmptiness()}dragOver(e){this.Editor.BlockManager.getBlockByChildNode(e.target).dropTarget=!0}dragLeave(e){this.Editor.BlockManager.getBlockByChildNode(e.target).dropTarget=!1}handleCommandC(e){const{BlockSelection:t}=this.Editor;t.anyBlockSelected&&t.copySelectedBlocks(e)}handleCommandX(e){const{BlockSelection:t,BlockManager:o,Caret:n}=this.Editor;t.anyBlockSelected&&t.copySelectedBlocks(e).then((()=>{const i=o.removeSelectedBlocks(),r=o.insertDefaultBlockAtIndex(i,!0);n.setToBlock(r,n.positions.START),t.clearSelection(e)}))}tabPressed(e){const{InlineToolbar:t,Caret:o}=this.Editor;t.opened||(e.shiftKey?o.navigatePrevious(!0):o.navigateNext(!0))&&e.preventDefault()}commandSlashPressed(){this.Editor.BlockSelection.selectedBlocks.length>1||this.activateBlockSettings()}slashPressed(e){!this.Editor.UI.nodes.wrapper.contains(e.target)||!this.Editor.BlockManager.currentBlock.isEmpty||(e.preventDefault(),this.Editor.Caret.insertContentAtCaretPosition("/"),this.activateToolbox())}enter(e){const{BlockManager:t,UI:o}=this.Editor,n=t.currentBlock;if(void 0===n||n.tool.isLineBreaksEnabled||o.someToolbarOpened&&o.someFlipperButtonFocused||e.shiftKey&&!R)return;let i=n;void 0!==n.currentInput&&Mt(n.currentInput)&&!n.hasMedia?this.Editor.BlockManager.insertDefaultBlockAtIndex(this.Editor.BlockManager.currentBlockIndex):i=n.currentInput&&Pt(n.currentInput)?this.Editor.BlockManager.insertDefaultBlockAtIndex(this.Editor.BlockManager.currentBlockIndex+1):this.Editor.BlockManager.split(),this.Editor.Caret.setToBlock(i),this.Editor.Toolbar.moveAndOpen(i),e.preventDefault()}backspace(e){const{BlockManager:t,Caret:o}=this.Editor,{currentBlock:n,previousBlock:i}=t;if(void 0!==n&&V.isCollapsed&&n.currentInput&&Mt(n.currentInput))if(e.preventDefault(),this.Editor.Toolbar.close(),n.currentInput===n.firstInput){if(null!==i)if(i.isEmpty)t.removeBlock(i);else if(n.isEmpty){t.removeBlock(n);const e=t.currentBlock;o.setToBlock(e,o.positions.END)}else re(i,n)?this.mergeBlocks(i,n):o.setToBlock(i,o.positions.END)}else o.navigatePrevious()}delete(e){const{BlockManager:t,Caret:o}=this.Editor,{currentBlock:n,nextBlock:i}=t;if(V.isCollapsed&&Pt(n.currentInput))if(e.preventDefault(),this.Editor.Toolbar.close(),n.currentInput===n.lastInput){if(null!==i){if(!i.isEmpty)return n.isEmpty?(t.removeBlock(n),void o.setToBlock(i,o.positions.START)):void(re(n,i)?this.mergeBlocks(n,i):o.setToBlock(i,o.positions.START));t.removeBlock(i)}}else o.navigateNext()}mergeBlocks(e,t){const{BlockManager:o,Toolbar:n}=this.Editor;void 0!==e.lastInput&&(Lt.focus(e.lastInput,!1),o.mergeBlocks(e,t).then((()=>{n.close()})))}arrowRightAndDown(e){const t=Oe.usedKeys.includes(e.keyCode)&&(!e.shiftKey||e.keyCode===s);if(this.Editor.UI.someToolbarOpened&&t)return;this.Editor.Toolbar.close();const{currentBlock:o}=this.Editor.BlockManager,n=(void 0!==(null==o?void 0:o.currentInput)?Pt(o.currentInput):void 0)||this.Editor.BlockSelection.anyBlockSelected;e.shiftKey&&e.keyCode===u&&n?this.Editor.CrossBlockSelection.toggleBlockSelectedState():(e.keyCode===u||e.keyCode===h&&!this.isRtl?this.Editor.Caret.navigateNext():this.Editor.Caret.navigatePrevious())?e.preventDefault():(O((()=>{this.Editor.BlockManager.currentBlock&&this.Editor.BlockManager.currentBlock.updateCurrentInput()}),20)(),this.Editor.BlockSelection.clearSelection(e))}arrowLeftAndUp(e){if(this.Editor.UI.someToolbarOpened){if(Oe.usedKeys.includes(e.keyCode)&&(!e.shiftKey||e.keyCode===s))return;this.Editor.UI.closeAllToolbars()}this.Editor.Toolbar.close();const{currentBlock:t}=this.Editor.BlockManager,o=(void 0!==(null==t?void 0:t.currentInput)?Mt(t.currentInput):void 0)||this.Editor.BlockSelection.anyBlockSelected;e.shiftKey&&e.keyCode===d&&o?this.Editor.CrossBlockSelection.toggleBlockSelectedState(!1):(e.keyCode===d||e.keyCode===c&&!this.isRtl?this.Editor.Caret.navigatePrevious():this.Editor.Caret.navigateNext())?e.preventDefault():(O((()=>{this.Editor.BlockManager.currentBlock&&this.Editor.BlockManager.currentBlock.updateCurrentInput()}),20)(),this.Editor.BlockSelection.clearSelection(e))}needToolbarClosing(e){const t=e.keyCode===a&&this.Editor.Toolbar.toolbox.opened,o=e.keyCode===a&&this.Editor.BlockSettings.opened,n=e.keyCode===a&&this.Editor.InlineToolbar.opened,i=e.keyCode===s;return!(e.shiftKey||i||t||o||n)}activateToolbox(){this.Editor.Toolbar.opened||this.Editor.Toolbar.moveAndOpen(),this.Editor.Toolbar.toolbox.open()}activateBlockSettings(){this.Editor.Toolbar.opened||this.Editor.Toolbar.moveAndOpen(),this.Editor.BlockSettings.opened||this.Editor.BlockSettings.open()}},BlockManager:class extends X{constructor(){super(...arguments),this._currentBlockIndex=-1,this._blocks=null}get currentBlockIndex(){return this._currentBlockIndex}set currentBlockIndex(e){this._currentBlockIndex=e}get firstBlock(){return this._blocks[0]}get lastBlock(){return this._blocks[this._blocks.length-1]}get currentBlock(){return this._blocks[this.currentBlockIndex]}set currentBlock(e){this.currentBlockIndex=this.getBlockIndex(e)}get nextBlock(){return this.currentBlockIndex===this._blocks.length-1?null:this._blocks[this.currentBlockIndex+1]}get nextContentfulBlock(){return this.blocks.slice(this.currentBlockIndex+1).find((e=>!!e.inputs.length))}get previousContentfulBlock(){return this.blocks.slice(0,this.currentBlockIndex).reverse().find((e=>!!e.inputs.length))}get previousBlock(){return 0===this.currentBlockIndex?null:this._blocks[this.currentBlockIndex-1]}get blocks(){return this._blocks.array}get isEditorEmpty(){return this.blocks.every((e=>e.isEmpty))}prepare(){const e=new Fn(this.Editor.UI.nodes.redactor);this._blocks=new Proxy(e,{set:Fn.set,get:Fn.get}),this.listeners.on(document,"copy",(e=>this.Editor.BlockEvents.handleCommandC(e)))}toggleReadOnly(e){e?this.disableModuleBindings():this.enableModuleBindings()}composeBlock({tool:e,data:t={},id:o,tunes:n={}}){const i=this.Editor.ReadOnly.isEnabled,r=this.Editor.Tools.blockTools.get(e),s=new ce({id:o,data:t,tool:r,api:this.Editor.API,readOnly:i,tunesData:n},this.eventsDispatcher);return i||window.requestIdleCallback((()=>{this.bindBlockEvents(s)}),{timeout:2e3}),s}insert({id:e,tool:t=this.config.defaultBlock,data:o={},index:n,needToFocus:i=!0,replace:r=!1,tunes:s={}}={}){let a=n;void 0===a&&(a=this.currentBlockIndex+(r?0:1));const l=this.composeBlock({id:e,tool:t,data:o,tunes:s});return r&&this.blockDidMutated(Hn,this.getBlockByIndex(a),{index:a}),this._blocks.insert(a,l,r),this.blockDidMutated(Un,l,{index:a}),i?this.currentBlockIndex=a:a<=this.currentBlockIndex&&this.currentBlockIndex++,l}insertMany(e,t=0){this._blocks.insertMany(e,t)}async update(e,t,o){if(!t&&!o)return e;const n=await e.data,i=this.composeBlock({id:e.id,tool:e.name,data:Object.assign({},n,t??{}),tunes:o??e.tunes}),r=this.getBlockIndex(e);return this._blocks.replace(r,i),this.blockDidMutated(zn,i,{index:r}),i}replace(e,t,o){const n=this.getBlockIndex(e);return this.insert({tool:t,data:o,index:n,replace:!0})}paste(e,t,o=!1){const n=this.insert({tool:e,replace:o});try{window.requestIdleCallback((()=>{n.call(le.ON_PASTE,t)}))}catch(i){m(`${e}: onPaste callback call is failed`,"error",i)}return n}insertDefaultBlockAtIndex(e,t=!1){const o=this.composeBlock({tool:this.config.defaultBlock});return this._blocks[e]=o,this.blockDidMutated(Un,o,{index:e}),t?this.currentBlockIndex=e:e<=this.currentBlockIndex&&this.currentBlockIndex++,o}insertAtEnd(){return this.currentBlockIndex=this.blocks.length-1,this.insert()}async mergeBlocks(e,t){let o;if(e.name===t.name&&e.mergeable){const n=await t.data;if(C(n))return;const[i]=ge([n],e.tool.sanitizeConfig);o=i}else if(e.mergeable&&oe(t,"export")&&oe(e,"import")){o=se(me(await t.exportDataAsString(),e.tool.sanitizeConfig),e.tool.conversionConfig)}void 0!==o&&(await e.mergeWith(o),this.removeBlock(t),this.currentBlockIndex=this._blocks.indexOf(e))}removeBlock(e,t=!0){return new Promise((o=>{const n=this._blocks.indexOf(e);if(!this.validateIndex(n))throw new Error("Can't find a Block to remove");this._blocks.remove(n),e.destroy(),this.blockDidMutated(Hn,e,{index:n}),this.currentBlockIndex>=n&&this.currentBlockIndex--,this.blocks.length?0===n&&(this.currentBlockIndex=0):(this.unsetCurrentBlock(),t&&this.insert()),o()}))}removeSelectedBlocks(){let e;for(let t=this.blocks.length-1;t>=0;t--)this.blocks[t].selected&&(this.removeBlock(this.blocks[t]),e=t);return e}removeAllBlocks(){for(let e=this.blocks.length-1;e>=0;e--)this._blocks.remove(e);this.unsetCurrentBlock(),this.insert(),this.currentBlock.firstInput.focus()}split(){const e=this.Editor.Caret.extractFragmentFromCaretPosition(),t=F.make("div");t.appendChild(e);const o={text:F.isEmpty(t)?"":t.innerHTML};return this.insert({data:o})}getBlockByIndex(e){return-1===e&&(e=this._blocks.length-1),this._blocks[e]}getBlockIndex(e){return this._blocks.indexOf(e)}getBlockById(e){return this._blocks.array.find((t=>t.id===e))}getBlock(e){F.isElement(e)||(e=e.parentNode);const t=this._blocks.nodes,o=e.closest(`.${ce.CSS.wrapper}`),n=t.indexOf(o);if(n>=0)return this._blocks[n]}setCurrentBlockByChildNode(e){F.isElement(e)||(e=e.parentNode);const t=e.closest(`.${ce.CSS.wrapper}`);if(!t)return;const o=t.closest(`.${this.Editor.UI.CSS.editorWrapper}`);return null!=o&&o.isEqualNode(this.Editor.UI.nodes.wrapper)?(this.currentBlockIndex=this._blocks.nodes.indexOf(t),this.currentBlock.updateCurrentInput(),this.currentBlock):void 0}getBlockByChildNode(e){if(!(e&&e instanceof Node))return;F.isElement(e)||(e=e.parentNode);const t=e.closest(`.${ce.CSS.wrapper}`);return this.blocks.find((e=>e.holder===t))}swap(e,t){this._blocks.swap(e,t),this.currentBlockIndex=t}move(e,t=this.currentBlockIndex){isNaN(e)||isNaN(t)?m("Warning during 'move' call: incorrect indices provided.","warn"):this.validateIndex(e)&&this.validateIndex(t)?(this._blocks.move(e,t),this.currentBlockIndex=e,this.blockDidMutated("block-moved",this.currentBlock,{fromIndex:t,toIndex:e})):m("Warning during 'move' call: indices cannot be lower than 0 or greater than the amount of blocks.","warn")}async convert(e,t,o){if(!(await e.save()))throw new Error("Could not convert Block. Failed to extract original Block data.");const n=this.Editor.Tools.blockTools.get(t);if(!n)throw new Error(`Could not convert Block. Tool «${t}» not found.`);let i=se(me(await e.exportDataAsString(),n.sanitizeConfig),n.conversionConfig,n.settings);return o&&(i=Object.assign(i,o)),this.replace(e,n.name,i)}unsetCurrentBlock(){this.currentBlockIndex=-1}async clear(e=!1){const t=new Wn;[...this.blocks].forEach((e=>{t.add((async()=>{await this.removeBlock(e,!1)}))})),await t.completed,this.unsetCurrentBlock(),e&&this.insert(),this.Editor.UI.checkEmptiness()}async destroy(){await Promise.all(this.blocks.map((e=>e.destroy())))}bindBlockEvents(e){const{BlockEvents:t}=this.Editor;this.readOnlyMutableListeners.on(e.holder,"keydown",(e=>{t.keydown(e)})),this.readOnlyMutableListeners.on(e.holder,"keyup",(e=>{t.keyup(e)})),this.readOnlyMutableListeners.on(e.holder,"dragover",(e=>{t.dragOver(e)})),this.readOnlyMutableListeners.on(e.holder,"dragleave",(e=>{t.dragLeave(e)})),e.on("didMutated",(e=>this.blockDidMutated(zn,e,{index:this.getBlockIndex(e)})))}disableModuleBindings(){this.readOnlyMutableListeners.clearAll()}enableModuleBindings(){this.readOnlyMutableListeners.on(document,"cut",(e=>this.Editor.BlockEvents.handleCommandX(e))),this.blocks.forEach((e=>{this.bindBlockEvents(e)}))}validateIndex(e){return!(e<0||e>=this._blocks.length)}blockDidMutated(e,t,o){const n=new CustomEvent(e,{detail:{target:new K(t),...o}});return this.eventsDispatcher.emit(Z,{event:n}),t}},BlockSelection:class extends X{constructor(){super(...arguments),this.anyBlockSelectedCache=null,this.needToSelectAll=!1,this.nativeInputSelected=!1,this.readyToBlockSelection=!1}get sanitizerConfig(){return{p:{},h1:{},h2:{},h3:{},h4:{},h5:{},h6:{},ol:{},ul:{},li:{},br:!0,img:{src:!0,width:!0,height:!0},a:{href:!0},b:{},i:{},u:{}}}get allBlocksSelected(){const{BlockManager:e}=this.Editor;return e.blocks.every((e=>!0===e.selected))}set allBlocksSelected(e){const{BlockManager:t}=this.Editor;t.blocks.forEach((t=>{t.selected=e})),this.clearCache()}get anyBlockSelected(){const{BlockManager:e}=this.Editor;return null===this.anyBlockSelectedCache&&(this.anyBlockSelectedCache=e.blocks.some((e=>!0===e.selected))),this.anyBlockSelectedCache}get selectedBlocks(){return this.Editor.BlockManager.blocks.filter((e=>e.selected))}prepare(){this.selection=new V,ft.add({name:"CMD+A",handler:e=>{const{BlockManager:t,ReadOnly:o}=this.Editor;if(o.isEnabled)return e.preventDefault(),void this.selectAllBlocks();t.currentBlock&&this.handleCommandA(e)},on:this.Editor.UI.nodes.redactor})}toggleReadOnly(){V.get().removeAllRanges(),this.allBlocksSelected=!1}unSelectBlockByIndex(e){const{BlockManager:t}=this.Editor;let o;o=isNaN(e)?t.currentBlock:t.getBlockByIndex(e),o.selected=!1,this.clearCache()}clearSelection(e,t=!1){const{BlockManager:o,Caret:n,RectangleSelection:i}=this.Editor;this.needToSelectAll=!1,this.nativeInputSelected=!1,this.readyToBlockSelection=!1;const r=e&&e instanceof KeyboardEvent,s=r&&S(e.keyCode);if(this.anyBlockSelected&&r&&s&&!V.isSelectionExists){const t=o.removeSelectedBlocks();o.insertDefaultBlockAtIndex(t,!0),n.setToBlock(o.currentBlock),O((()=>{const t=e.key;n.insertContentAtCaretPosition(t.length>1?"":t)}),20)()}this.Editor.CrossBlockSelection.clear(e),this.anyBlockSelected&&!i.isRectActivated()?(t&&this.selection.restore(),this.allBlocksSelected=!1):this.Editor.RectangleSelection.clearSelection()}copySelectedBlocks(e){e.preventDefault();const t=F.make("div");this.selectedBlocks.forEach((e=>{const o=me(e.holder.innerHTML,this.sanitizerConfig),n=F.make("p");n.innerHTML=o,t.appendChild(n)}));const o=Array.from(t.childNodes).map((e=>e.textContent)).join("\n\n"),n=t.innerHTML;return e.clipboardData.setData("text/plain",o),e.clipboardData.setData("text/html",n),Promise.all(this.selectedBlocks.map((e=>e.save()))).then((t=>{try{e.clipboardData.setData(this.Editor.Paste.MIME_TYPE,JSON.stringify(t))}catch{}}))}selectBlockByIndex(e){const{BlockManager:t}=this.Editor,o=t.getBlockByIndex(e);void 0!==o&&this.selectBlock(o)}selectBlock(e){this.selection.save(),V.get().removeAllRanges(),e.selected=!0,this.clearCache(),this.Editor.InlineToolbar.close()}unselectBlock(e){e.selected=!1,this.clearCache()}clearCache(){this.anyBlockSelectedCache=null}destroy(){ft.remove(this.Editor.UI.nodes.redactor,"CMD+A")}handleCommandA(e){if(this.Editor.RectangleSelection.clearSelection(),F.isNativeInput(e.target)&&!this.readyToBlockSelection)return void(this.readyToBlockSelection=!0);const t=this.Editor.BlockManager.getBlock(e.target),o=t.inputs;o.length>1&&!this.readyToBlockSelection?this.readyToBlockSelection=!0:1!==o.length||this.needToSelectAll?this.needToSelectAll?(e.preventDefault(),this.selectAllBlocks(),this.needToSelectAll=!1,this.readyToBlockSelection=!1):this.readyToBlockSelection&&(e.preventDefault(),this.selectBlock(t),this.needToSelectAll=!0):this.needToSelectAll=!0}selectAllBlocks(){this.selection.save(),V.get().removeAllRanges(),this.allBlocksSelected=!0,this.Editor.InlineToolbar.close()}},Caret:class e extends X{get positions(){return{START:"start",END:"end",DEFAULT:"default"}}static get CSS(){return{shadowCaret:"cdx-shadow-caret"}}setToBlock(e,t=this.positions.DEFAULT,o=0){var n;const{BlockManager:i,BlockSelection:r}=this.Editor;if(r.clearSelection(),!e.focusable)return null==(n=window.getSelection())||n.removeAllRanges(),r.selectBlock(e),void(i.currentBlock=e);let s;switch(t){case this.positions.START:s=e.firstInput;break;case this.positions.END:s=e.lastInput;break;default:s=e.currentInput}if(!s)return;let a,l=o;if(t===this.positions.START)a=F.getDeepestNode(s,!1),l=0;else if(t===this.positions.END)a=F.getDeepestNode(s,!0),l=F.getContentLength(a);else{const{node:e,offset:t}=F.getNodeByOffset(s,o);e?(a=e,l=t):(a=F.getDeepestNode(s,!1),l=0)}this.set(a,l),i.setCurrentBlockByChildNode(e.holder),i.currentBlock.currentInput=s}setToInput(e,t=this.positions.DEFAULT,o=0){const{currentBlock:n}=this.Editor.BlockManager,i=F.getDeepestNode(e);switch(t){case this.positions.START:this.set(i,0);break;case this.positions.END:this.set(i,F.getContentLength(i));break;default:o&&this.set(i,o)}n.currentInput=e}set(e,t=0){const{top:o,bottom:n}=V.setCursor(e,t),{innerHeight:i}=window;o<0?window.scrollBy(0,o-30):n>i&&window.scrollBy(0,n-i+30)}setToTheLastBlock(){const e=this.Editor.BlockManager.lastBlock;if(e)if(e.tool.isDefault&&e.isEmpty)this.setToBlock(e);else{const e=this.Editor.BlockManager.insertAtEnd();this.setToBlock(e)}}extractFragmentFromCaretPosition(){const e=V.get();if(e.rangeCount){const t=e.getRangeAt(0),o=this.Editor.BlockManager.currentBlock.currentInput;if(t.deleteContents(),o){if(F.isNativeInput(o)){const e=o,t=document.createDocumentFragment(),n=e.value.substring(0,e.selectionStart),i=e.value.substring(e.selectionStart);return t.textContent=i,e.value=n,t}{const e=t.cloneRange();return e.selectNodeContents(o),e.setStart(t.endContainer,t.endOffset),e.extractContents()}}}}navigateNext(e=!1){const{BlockManager:t}=this.Editor,{currentBlock:o,nextBlock:n}=t;if(void 0===o)return!1;const{nextInput:i,currentInput:r}=o,s=void 0!==r?Pt(r):void 0;let a=n;const l=e||s||!o.focusable;if(i&&l)return this.setToInput(i,this.positions.START),!0;if(null===a){if(o.tool.isDefault||!l)return!1;a=t.insertAtEnd()}return!!l&&(this.setToBlock(a,this.positions.START),!0)}navigatePrevious(e=!1){const{currentBlock:t,previousBlock:o}=this.Editor.BlockManager;if(!t)return!1;const{previousInput:n,currentInput:i}=t,r=void 0!==i?Mt(i):void 0,s=e||r||!t.focusable;return n&&s?(this.setToInput(n,this.positions.END),!0):!(null===o||!s)&&(this.setToBlock(o,this.positions.END),!0)}createShadow(t){const o=document.createElement("span");o.classList.add(e.CSS.shadowCaret),t.insertAdjacentElement("beforeend",o)}restoreCaret(t){const o=t.querySelector(`.${e.CSS.shadowCaret}`);if(!o)return;(new V).expandToTag(o);const n=document.createRange();n.selectNode(o),n.extractContents()}insertContentAtCaretPosition(e){const t=document.createDocumentFragment(),o=document.createElement("div"),n=V.get(),i=V.range;o.innerHTML=e,Array.from(o.childNodes).forEach((e=>t.appendChild(e))),0===t.childNodes.length&&t.appendChild(new Text);const r=t.lastChild;i.deleteContents(),i.insertNode(t);const s=document.createRange(),a=r.nodeType===Node.TEXT_NODE?r:r.firstChild;null!==a&&null!==a.textContent&&s.setStart(a,a.textContent.length),n.removeAllRanges(),n.addRange(s)}},CrossBlockSelection:class extends X{constructor(){super(...arguments),this.onMouseUp=()=>{this.listeners.off(document,"mouseover",this.onMouseOver),this.listeners.off(document,"mouseup",this.onMouseUp)},this.onMouseOver=e=>{const{BlockManager:t,BlockSelection:o}=this.Editor;if(null===e.relatedTarget&&null===e.target)return;const n=t.getBlockByChildNode(e.relatedTarget)||this.lastSelectedBlock,i=t.getBlockByChildNode(e.target);if(n&&i&&i!==n){if(n===this.firstSelectedBlock)return V.get().removeAllRanges(),n.selected=!0,i.selected=!0,void o.clearCache();if(i===this.firstSelectedBlock)return n.selected=!1,i.selected=!1,void o.clearCache();this.Editor.InlineToolbar.close(),this.toggleBlocksSelectedState(n,i),this.lastSelectedBlock=i}}}async prepare(){this.listeners.on(document,"mousedown",(e=>{this.enableCrossBlockSelection(e)}))}watchSelection(e){if(e.button!==f)return;const{BlockManager:t}=this.Editor;this.firstSelectedBlock=t.getBlock(e.target),this.lastSelectedBlock=this.firstSelectedBlock,this.listeners.on(document,"mouseover",this.onMouseOver),this.listeners.on(document,"mouseup",this.onMouseUp)}get isCrossBlockSelectionStarted(){return!!this.firstSelectedBlock&&!!this.lastSelectedBlock&&this.firstSelectedBlock!==this.lastSelectedBlock}toggleBlockSelectedState(e=!0){const{BlockManager:t,BlockSelection:o}=this.Editor;this.lastSelectedBlock||(this.lastSelectedBlock=this.firstSelectedBlock=t.currentBlock),this.firstSelectedBlock===this.lastSelectedBlock&&(this.firstSelectedBlock.selected=!0,o.clearCache(),V.get().removeAllRanges());const n=t.blocks.indexOf(this.lastSelectedBlock)+(e?1:-1),i=t.blocks[n];i&&(this.lastSelectedBlock.selected!==i.selected?(i.selected=!0,o.clearCache()):(this.lastSelectedBlock.selected=!1,o.clearCache()),this.lastSelectedBlock=i,this.Editor.InlineToolbar.close(),i.holder.scrollIntoView({block:"nearest"}))}clear(e){const{BlockManager:t,BlockSelection:o,Caret:n}=this.Editor,i=t.blocks.indexOf(this.firstSelectedBlock),r=t.blocks.indexOf(this.lastSelectedBlock);if(o.anyBlockSelected&&i>-1&&r>-1&&e&&e instanceof KeyboardEvent)switch(e.keyCode){case u:case h:n.setToBlock(t.blocks[Math.max(i,r)],n.positions.END);break;case d:case c:n.setToBlock(t.blocks[Math.min(i,r)],n.positions.START);break;default:n.setToBlock(t.blocks[Math.max(i,r)],n.positions.END)}this.firstSelectedBlock=this.lastSelectedBlock=null}enableCrossBlockSelection(e){const{UI:t}=this.Editor;V.isCollapsed||this.Editor.BlockSelection.clearSelection(e),t.nodes.redactor.contains(e.target)?this.watchSelection(e):this.Editor.BlockSelection.clearSelection(e)}toggleBlocksSelectedState(e,t){const{BlockManager:o,BlockSelection:n}=this.Editor,i=o.blocks.indexOf(e),r=o.blocks.indexOf(t),s=e.selected!==t.selected;for(let a=Math.min(i,r);a<=Math.max(i,r);a++){const i=o.blocks[a];i!==this.firstSelectedBlock&&i!==(s?e:t)&&(o.blocks[a].selected=!o.blocks[a].selected,n.clearCache())}}},DragNDrop:class extends X{constructor(){super(...arguments),this.isStartedAtEditor=!1}toggleReadOnly(e){e?this.disableModuleBindings():this.enableModuleBindings()}enableModuleBindings(){const{UI:e}=this.Editor;this.readOnlyMutableListeners.on(e.nodes.holder,"drop",(async e=>{await this.processDrop(e)}),!0),this.readOnlyMutableListeners.on(e.nodes.holder,"dragstart",(()=>{this.processDragStart()})),this.readOnlyMutableListeners.on(e.nodes.holder,"dragover",(e=>{this.processDragOver(e)}),!0)}disableModuleBindings(){this.readOnlyMutableListeners.clearAll()}async processDrop(e){const{BlockManager:t,Paste:o,Caret:n}=this.Editor;e.preventDefault(),t.blocks.forEach((e=>{e.dropTarget=!1})),V.isAtEditor&&!V.isCollapsed&&this.isStartedAtEditor&&document.execCommand("delete"),this.isStartedAtEditor=!1;const i=t.setCurrentBlockByChildNode(e.target);if(i)this.Editor.Caret.setToBlock(i,n.positions.END);else{const e=t.setCurrentBlockByChildNode(t.lastBlock.holder);this.Editor.Caret.setToBlock(e,n.positions.END)}await o.processDataTransfer(e.dataTransfer,!0)}processDragStart(){V.isAtEditor&&!V.isCollapsed&&(this.isStartedAtEditor=!0),this.Editor.InlineToolbar.close()}processDragOver(e){e.preventDefault()}},ModificationsObserver:class extends X{constructor({config:e,eventsDispatcher:t}){super({config:e,eventsDispatcher:t}),this.disabled=!1,this.batchingTimeout=null,this.batchingOnChangeQueue=new Map,this.batchTime=400,this.mutationObserver=new MutationObserver((e=>{this.redactorChanged(e)})),this.eventsDispatcher.on(Z,(e=>{this.particularBlockChanged(e.event)})),this.eventsDispatcher.on(J,(()=>{this.disable()})),this.eventsDispatcher.on(Q,(()=>{this.enable()}))}enable(){this.mutationObserver.observe(this.Editor.UI.nodes.redactor,{childList:!0,subtree:!0,characterData:!0,attributes:!0}),this.disabled=!1}disable(){this.mutationObserver.disconnect(),this.disabled=!0}particularBlockChanged(e){this.disabled||!y(this.config.onChange)||(this.batchingOnChangeQueue.set(`block:${e.detail.target.id}:event:${e.type}`,e),this.batchingTimeout&&clearTimeout(this.batchingTimeout),this.batchingTimeout=setTimeout((()=>{let e;e=1===this.batchingOnChangeQueue.size?this.batchingOnChangeQueue.values().next().value:Array.from(this.batchingOnChangeQueue.values()),this.config.onChange&&this.config.onChange(this.Editor.API.methods,e),this.batchingOnChangeQueue.clear()}),this.batchTime))}redactorChanged(e){this.eventsDispatcher.emit(G,{mutations:e})}},Paste:qn,ReadOnly:class extends X{constructor(){super(...arguments),this.toolsDontSupportReadOnly=[],this.readOnlyEnabled=!1}get isEnabled(){return this.readOnlyEnabled}async prepare(){const{Tools:e}=this.Editor,{blockTools:t}=e,o=[];Array.from(t.entries()).forEach((([e,t])=>{t.isReadOnlySupported||o.push(e)})),this.toolsDontSupportReadOnly=o,this.config.readOnly&&o.length>0&&this.throwCriticalError(),this.toggle(this.config.readOnly,!0)}async toggle(e=!this.readOnlyEnabled,t=!1){e&&this.toolsDontSupportReadOnly.length>0&&this.throwCriticalError();const o=this.readOnlyEnabled;this.readOnlyEnabled=e;for(const i in this.Editor)this.Editor[i].toggleReadOnly&&this.Editor[i].toggleReadOnly(e);if(o===e)return this.readOnlyEnabled;if(t)return this.readOnlyEnabled;this.Editor.ModificationsObserver.disable();const n=await this.Editor.Saver.save();return await this.Editor.BlockManager.clear(),await this.Editor.Renderer.render(n.blocks),this.Editor.ModificationsObserver.enable(),this.readOnlyEnabled}throwCriticalError(){throw new $(`To enable read-only mode all connected tools should support it. Tools ${this.toolsDontSupportReadOnly.join(", ")} don't support read-only mode.`)}},RectangleSelection:class e extends X{constructor(){super(...arguments),this.isRectSelectionActivated=!1,this.SCROLL_SPEED=3,this.HEIGHT_OF_SCROLL_ZONE=40,this.BOTTOM_SCROLL_ZONE=1,this.TOP_SCROLL_ZONE=2,this.MAIN_MOUSE_BUTTON=0,this.mousedown=!1,this.isScrolling=!1,this.inScrollZone=null,this.startX=0,this.startY=0,this.mouseX=0,this.mouseY=0,this.stackOfSelected=[],this.listenerIds=[]}static get CSS(){return{overlay:"codex-editor-overlay",overlayContainer:"codex-editor-overlay__container",rect:"codex-editor-overlay__rectangle",topScrollZone:"codex-editor-overlay__scroll-zone--top",bottomScrollZone:"codex-editor-overlay__scroll-zone--bottom"}}prepare(){this.enableModuleBindings()}startSelection(e,t){const o=document.elementFromPoint(e-window.pageXOffset,t-window.pageYOffset);o.closest(`.${this.Editor.Toolbar.CSS.toolbar}`)||(this.Editor.BlockSelection.allBlocksSelected=!1,this.clearSelection(),this.stackOfSelected=[]);const n=[`.${ce.CSS.content}`,`.${this.Editor.Toolbar.CSS.toolbar}`,`.${this.Editor.InlineToolbar.CSS.inlineToolbar}`],i=o.closest("."+this.Editor.UI.CSS.editorWrapper),r=n.some((e=>!!o.closest(e)));!i||r||(this.mousedown=!0,this.startX=e,this.startY=t)}endSelection(){this.mousedown=!1,this.startX=0,this.startY=0,this.overlayRectangle.style.display="none"}isRectActivated(){return this.isRectSelectionActivated}clearSelection(){this.isRectSelectionActivated=!1}enableModuleBindings(){const{container:e}=this.genHTML();this.listeners.on(e,"mousedown",(e=>{this.processMouseDown(e)}),!1),this.listeners.on(document.body,"mousemove",I((e=>{this.processMouseMove(e)}),10),{passive:!0}),this.listeners.on(document.body,"mouseleave",(()=>{this.processMouseLeave()})),this.listeners.on(window,"scroll",I((e=>{this.processScroll(e)}),10),{passive:!0}),this.listeners.on(document.body,"mouseup",(()=>{this.processMouseUp()}),!1)}processMouseDown(e){e.button===this.MAIN_MOUSE_BUTTON&&(null!==e.target.closest(F.allInputsSelector)||this.startSelection(e.pageX,e.pageY))}processMouseMove(e){this.changingRectangle(e),this.scrollByZones(e.clientY)}processMouseLeave(){this.clearSelection(),this.endSelection()}processScroll(e){this.changingRectangle(e)}processMouseUp(){this.clearSelection(),this.endSelection()}scrollByZones(e){this.inScrollZone=null,e<=this.HEIGHT_OF_SCROLL_ZONE&&(this.inScrollZone=this.TOP_SCROLL_ZONE),document.documentElement.clientHeight-e<=this.HEIGHT_OF_SCROLL_ZONE&&(this.inScrollZone=this.BOTTOM_SCROLL_ZONE),this.inScrollZone?this.isScrolling||(this.scrollVertical(this.inScrollZone===this.TOP_SCROLL_ZONE?-this.SCROLL_SPEED:this.SCROLL_SPEED),this.isScrolling=!0):this.isScrolling=!1}genHTML(){const{UI:t}=this.Editor,o=t.nodes.holder.querySelector("."+t.CSS.editorWrapper),n=F.make("div",e.CSS.overlay,{}),i=F.make("div",e.CSS.overlayContainer,{}),r=F.make("div",e.CSS.rect,{});return i.appendChild(r),n.appendChild(i),o.appendChild(n),this.overlayRectangle=r,{container:o,overlay:n}}scrollVertical(e){if(!this.inScrollZone||!this.mousedown)return;const t=window.pageYOffset;window.scrollBy(0,e),this.mouseY+=window.pageYOffset-t,setTimeout((()=>{this.scrollVertical(e)}),0)}changingRectangle(e){if(!this.mousedown)return;void 0!==e.pageY&&(this.mouseX=e.pageX,this.mouseY=e.pageY);const{rightPos:t,leftPos:o,index:n}=this.genInfoForMouseSelection(),i=this.startX>t&&this.mouseX>t,r=this.startX<o&&this.mouseX<o;this.rectCrossesBlocks=!(i||r),this.isRectSelectionActivated||(this.rectCrossesBlocks=!1,this.isRectSelectionActivated=!0,this.shrinkRectangleToPoint(),this.overlayRectangle.style.display="block"),this.updateRectangleSize(),this.Editor.Toolbar.close(),void 0!==n&&(this.trySelectNextBlock(n),this.inverseSelection(),V.get().removeAllRanges())}shrinkRectangleToPoint(){this.overlayRectangle.style.left=this.startX-window.pageXOffset+"px",this.overlayRectangle.style.top=this.startY-window.pageYOffset+"px",this.overlayRectangle.style.bottom=`calc(100% - ${this.startY-window.pageYOffset}px`,this.overlayRectangle.style.right=`calc(100% - ${this.startX-window.pageXOffset}px`}inverseSelection(){const e=this.Editor.BlockManager.getBlockByIndex(this.stackOfSelected[0]).selected;if(this.rectCrossesBlocks&&!e)for(const t of this.stackOfSelected)this.Editor.BlockSelection.selectBlockByIndex(t);if(!this.rectCrossesBlocks&&e)for(const t of this.stackOfSelected)this.Editor.BlockSelection.unSelectBlockByIndex(t)}updateRectangleSize(){this.mouseY>=this.startY?(this.overlayRectangle.style.top=this.startY-window.pageYOffset+"px",this.overlayRectangle.style.bottom=`calc(100% - ${this.mouseY-window.pageYOffset}px`):(this.overlayRectangle.style.bottom=`calc(100% - ${this.startY-window.pageYOffset}px`,this.overlayRectangle.style.top=this.mouseY-window.pageYOffset+"px"),this.mouseX>=this.startX?(this.overlayRectangle.style.left=this.startX-window.pageXOffset+"px",this.overlayRectangle.style.right=`calc(100% - ${this.mouseX-window.pageXOffset}px`):(this.overlayRectangle.style.right=`calc(100% - ${this.startX-window.pageXOffset}px`,this.overlayRectangle.style.left=this.mouseX-window.pageXOffset+"px")}genInfoForMouseSelection(){const e=document.body.offsetWidth/2,t=this.mouseY-window.pageYOffset,o=document.elementFromPoint(e,t),n=this.Editor.BlockManager.getBlockByChildNode(o);let i;void 0!==n&&(i=this.Editor.BlockManager.blocks.findIndex((e=>e.holder===n.holder)));const r=this.Editor.BlockManager.lastBlock.holder.querySelector("."+ce.CSS.content),s=Number.parseInt(window.getComputedStyle(r).width,10)/2;return{index:i,leftPos:e-s,rightPos:e+s}}addBlockInSelection(e){this.rectCrossesBlocks&&this.Editor.BlockSelection.selectBlockByIndex(e),this.stackOfSelected.push(e)}trySelectNextBlock(e){const t=this.stackOfSelected[this.stackOfSelected.length-1]===e,o=this.stackOfSelected.length;if(t)return;const n=this.stackOfSelected[o-1]-this.stackOfSelected[o-2]>0;let i=0;o>1&&(i=n?1:-1);const r=e>this.stackOfSelected[o-1]&&1===i,s=e<this.stackOfSelected[o-1]&&-1===i,a=!(r||s||0===i);if(!a&&(e>this.stackOfSelected[o-1]||void 0===this.stackOfSelected[o-1])){let t=this.stackOfSelected[o-1]+1||e;for(;t<=e;t++)this.addBlockInSelection(t);return}if(!a&&e<this.stackOfSelected[o-1]){for(let t=this.stackOfSelected[o-1]-1;t>=e;t--)this.addBlockInSelection(t);return}if(!a)return;let l,c=o-1;for(l=e>this.stackOfSelected[o-1]?()=>e>this.stackOfSelected[c]:()=>e<this.stackOfSelected[c];l();)this.rectCrossesBlocks&&this.Editor.BlockSelection.unSelectBlockByIndex(this.stackOfSelected[c]),this.stackOfSelected.pop(),c--}},Renderer:class extends X{async render(e){return new Promise((t=>{const{Tools:o,BlockManager:n}=this.Editor;if(0===e.length)n.insert();else{const t=e.map((({type:e,data:t,tunes:i,id:r})=>{let s;!1===o.available.has(e)&&(b(`Tool «${e}» is not found. Check 'tools' property at the Editor.js config.`,"warn"),t=this.composeStubDataForTool(e,t,r),e=o.stubTool);try{s=n.composeBlock({id:r,tool:e,data:t,tunes:i})}catch(a){m(`Block «${e}» skipped because of plugins error`,"error",{data:t,error:a}),t=this.composeStubDataForTool(e,t,r),e=o.stubTool,s=n.composeBlock({id:r,tool:e,data:t,tunes:i})}return s}));n.insertMany(t)}window.requestIdleCallback((()=>{t()}),{timeout:2e3})}))}composeStubDataForTool(e,t,o){const{Tools:n}=this.Editor;let i=e;if(n.unavailable.has(e)){const t=n.unavailable.get(e).toolbox;void 0!==t&&void 0!==t[0].title&&(i=t[0].title)}return{savedData:{id:o,type:e,data:t},title:i}}},Saver:class extends X{async save(){const{BlockManager:e,Tools:t}=this.Editor,o=e.blocks,n=[];try{o.forEach((e=>{n.push(this.getSavedData(e))}));const e=await Promise.all(n),i=await ge(e,(e=>t.blockTools.get(e).sanitizeConfig));return this.makeOutput(i)}catch(i){b("Saving failed due to the Error %o","error",i)}}async getSavedData(e){const t=await e.save(),o=t&&await e.validate(t.data);return{...t,isValid:o}}makeOutput(e){const t=[];return e.forEach((({id:e,tool:o,data:n,tunes:i,isValid:r})=>{if(!r)return void m(`Block «${o}» skipped because saved data is invalid`);if(o===this.Editor.Tools.stubTool)return void t.push(n);const s={id:e,type:o,data:n,...!C(i)&&{tunes:i}};t.push(s)})),{time:+new Date,blocks:t,version:"2.31.0"}}},Tools:ui,UI:class extends X{constructor(){super(...arguments),this.isMobile=!1,this.contentRectCache=null,this.resizeDebouncer=B((()=>{this.windowResize()}),200),this.selectionChangeDebounced=B((()=>{this.selectionChanged()}),180),this.documentTouchedListener=e=>{this.documentTouched(e)}}get CSS(){return{editorWrapper:"codex-editor",editorWrapperNarrow:"codex-editor--narrow",editorZone:"codex-editor__redactor",editorZoneHidden:"codex-editor__redactor--hidden",editorEmpty:"codex-editor--empty",editorRtlFix:"codex-editor--rtl"}}get contentRect(){if(null!==this.contentRectCache)return this.contentRectCache;const e=this.nodes.wrapper.querySelector(`.${ce.CSS.content}`);return e?(this.contentRectCache=e.getBoundingClientRect(),this.contentRectCache):{width:650,left:0,right:0}}async prepare(){this.setIsMobile(),this.make(),this.loadStyles()}toggleReadOnly(e){e?this.unbindReadOnlySensitiveListeners():window.requestIdleCallback((()=>{this.bindReadOnlySensitiveListeners()}),{timeout:2e3})}checkEmptiness(){const{BlockManager:e}=this.Editor;this.nodes.wrapper.classList.toggle(this.CSS.editorEmpty,e.isEditorEmpty)}get someToolbarOpened(){const{Toolbar:e,BlockSettings:t,InlineToolbar:o}=this.Editor;return!!(t.opened||o.opened||e.toolbox.opened)}get someFlipperButtonFocused(){return!!this.Editor.Toolbar.toolbox.hasFocus()||Object.entries(this.Editor).filter((([e,t])=>t.flipper instanceof Oe)).some((([e,t])=>t.flipper.hasFocus()))}destroy(){this.nodes.holder.innerHTML="",this.unbindReadOnlyInsensitiveListeners()}closeAllToolbars(){const{Toolbar:e,BlockSettings:t,InlineToolbar:o}=this.Editor;t.close(),o.close(),e.toolbox.close()}setIsMobile(){const e=window.innerWidth<650;e!==this.isMobile&&this.eventsDispatcher.emit(ee,{isEnabled:this.isMobile}),this.isMobile=e}make(){this.nodes.holder=F.getHolder(this.config.holder),this.nodes.wrapper=F.make("div",[this.CSS.editorWrapper,...this.isRtl?[this.CSS.editorRtlFix]:[]]),this.nodes.redactor=F.make("div",this.CSS.editorZone),this.nodes.holder.offsetWidth<this.contentRect.width&&this.nodes.wrapper.classList.add(this.CSS.editorWrapperNarrow),this.nodes.redactor.style.paddingBottom=this.config.minHeight+"px",this.nodes.wrapper.appendChild(this.nodes.redactor),this.nodes.holder.appendChild(this.nodes.wrapper),this.bindReadOnlyInsensitiveListeners()}loadStyles(){const e="editor-js-styles";if(F.get(e))return;const t=F.make("style",null,{id:e,textContent:hi.toString()});this.config.style&&!C(this.config.style)&&this.config.style.nonce&&t.setAttribute("nonce",this.config.style.nonce),F.prepend(document.head,t)}bindReadOnlyInsensitiveListeners(){this.listeners.on(document,"selectionchange",this.selectionChangeDebounced),this.listeners.on(window,"resize",this.resizeDebouncer,{passive:!0}),this.listeners.on(this.nodes.redactor,"mousedown",this.documentTouchedListener,{capture:!0,passive:!0}),this.listeners.on(this.nodes.redactor,"touchstart",this.documentTouchedListener,{capture:!0,passive:!0})}unbindReadOnlyInsensitiveListeners(){this.listeners.off(document,"selectionchange",this.selectionChangeDebounced),this.listeners.off(window,"resize",this.resizeDebouncer),this.listeners.off(this.nodes.redactor,"mousedown",this.documentTouchedListener),this.listeners.off(this.nodes.redactor,"touchstart",this.documentTouchedListener)}bindReadOnlySensitiveListeners(){this.readOnlyMutableListeners.on(this.nodes.redactor,"click",(e=>{this.redactorClicked(e)}),!1),this.readOnlyMutableListeners.on(document,"keydown",(e=>{this.documentKeydown(e)}),!0),this.readOnlyMutableListeners.on(document,"mousedown",(e=>{this.documentClicked(e)}),!0),this.watchBlockHoveredEvents(),this.enableInputsEmptyMark()}watchBlockHoveredEvents(){let e;this.readOnlyMutableListeners.on(this.nodes.redactor,"mousemove",I((t=>{const o=t.target.closest(".ce-block");this.Editor.BlockSelection.anyBlockSelected||o&&e!==o&&(e=o,this.eventsDispatcher.emit(wt,{block:this.Editor.BlockManager.getBlockByChildNode(o)}))}),20),{passive:!0})}unbindReadOnlySensitiveListeners(){this.readOnlyMutableListeners.clearAll()}windowResize(){this.contentRectCache=null,this.setIsMobile()}documentKeydown(e){switch(e.keyCode){case a:this.enterPressed(e);break;case r:case p:this.backspacePressed(e);break;case l:this.escapePressed(e);break;default:this.defaultBehaviour(e)}}defaultBehaviour(e){const{currentBlock:t}=this.Editor.BlockManager,o=e.target.closest(`.${this.CSS.editorWrapper}`),n=e.altKey||e.ctrlKey||e.metaKey||e.shiftKey;void 0===t||null!==o?o||t&&n||(this.Editor.BlockManager.unsetCurrentBlock(),this.Editor.Toolbar.close()):this.Editor.BlockEvents.keydown(e)}backspacePressed(e){const{BlockManager:t,BlockSelection:o,Caret:n}=this.Editor;if(o.anyBlockSelected&&!V.isSelectionExists){const i=t.removeSelectedBlocks(),r=t.insertDefaultBlockAtIndex(i,!0);n.setToBlock(r,n.positions.START),o.clearSelection(e),e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()}}escapePressed(e){this.Editor.BlockSelection.clearSelection(e),this.Editor.Toolbar.toolbox.opened?(this.Editor.Toolbar.toolbox.close(),this.Editor.Caret.setToBlock(this.Editor.BlockManager.currentBlock,this.Editor.Caret.positions.END)):this.Editor.BlockSettings.opened?this.Editor.BlockSettings.close():this.Editor.InlineToolbar.opened?this.Editor.InlineToolbar.close():this.Editor.Toolbar.close()}enterPressed(e){const{BlockManager:t,BlockSelection:o}=this.Editor;if(this.someToolbarOpened)return;const n=t.currentBlockIndex>=0;if(o.anyBlockSelected&&!V.isSelectionExists)return o.clearSelection(e),e.preventDefault(),e.stopImmediatePropagation(),void e.stopPropagation();if(!this.someToolbarOpened&&n&&"BODY"===e.target.tagName){const t=this.Editor.BlockManager.insert();e.preventDefault(),this.Editor.Caret.setToBlock(t),this.Editor.Toolbar.moveAndOpen(t)}this.Editor.BlockSelection.clearSelection(e)}documentClicked(e){var t,o;if(!e.isTrusted)return;const n=e.target;this.nodes.holder.contains(n)||V.isAtEditor||(this.Editor.BlockManager.unsetCurrentBlock(),this.Editor.Toolbar.close());const i=null==(t=this.Editor.BlockSettings.nodes.wrapper)?void 0:t.contains(n),r=null==(o=this.Editor.Toolbar.nodes.settingsToggler)?void 0:o.contains(n),s=i||r;if(this.Editor.BlockSettings.opened&&!s){this.Editor.BlockSettings.close();const e=this.Editor.BlockManager.getBlockByChildNode(n);this.Editor.Toolbar.moveAndOpen(e)}this.Editor.BlockSelection.clearSelection(e)}documentTouched(e){let t=e.target;if(t===this.nodes.redactor){const o=e instanceof MouseEvent?e.clientX:e.touches[0].clientX,n=e instanceof MouseEvent?e.clientY:e.touches[0].clientY;t=document.elementFromPoint(o,n)}try{this.Editor.BlockManager.setCurrentBlockByChildNode(t)}catch{this.Editor.RectangleSelection.isRectActivated()||this.Editor.Caret.setToTheLastBlock()}this.Editor.ReadOnly.isEnabled||this.Editor.Toolbar.moveAndOpen()}redactorClicked(e){if(!V.isCollapsed)return;const t=e.target,o=e.metaKey||e.ctrlKey;if(F.isAnchor(t)&&o){e.stopImmediatePropagation(),e.stopPropagation();const o=function(e){try{return new URL(e).href}catch{}return"//"===e.substring(0,2)?window.location.protocol+e:window.location.origin+e}(t.getAttribute("href"));return n=o,void window.open(n,"_blank")}var n;this.processBottomZoneClick(e)}processBottomZoneClick(e){const t=this.Editor.BlockManager.getBlockByIndex(-1),o=F.offset(t.holder).bottom,n=e.pageY,{BlockSelection:i}=this.Editor;if(e.target instanceof Element&&e.target.isEqualNode(this.nodes.redactor)&&!i.anyBlockSelected&&o<n){e.stopImmediatePropagation(),e.stopPropagation();const{BlockManager:t,Caret:o,Toolbar:n}=this.Editor;(!t.lastBlock.tool.isDefault||!t.lastBlock.isEmpty)&&t.insertAtEnd(),o.setToTheLastBlock(),n.moveAndOpen(t.lastBlock)}}selectionChanged(){const{CrossBlockSelection:e,BlockSelection:t}=this.Editor,o=V.anchorElement;if(e.isCrossBlockSelectionStarted&&t.anyBlockSelected&&V.get().removeAllRanges(),!o)return void(V.range||this.Editor.InlineToolbar.close());const n=o.closest(`.${ce.CSS.content}`);(null===n||n.closest(`.${V.CSS.editorWrapper}`)!==this.nodes.wrapper)&&(this.Editor.InlineToolbar.containsNode(o)||this.Editor.InlineToolbar.close(),"true"!==o.dataset.inlineToolbar)||(this.Editor.BlockManager.currentBlock||this.Editor.BlockManager.setCurrentBlockByChildNode(o),this.Editor.InlineToolbar.tryToShow(!0))}enableInputsEmptyMark(){function e(e){H(e.target)}this.readOnlyMutableListeners.on(this.nodes.wrapper,"input",e),this.readOnlyMutableListeners.on(this.nodes.wrapper,"focusin",e),this.readOnlyMutableListeners.on(this.nodes.wrapper,"focusout",e)}}};class fi{constructor(e){let t,o;this.moduleInstances={},this.eventsDispatcher=new q,this.isReady=new Promise(((e,n)=>{t=e,o=n})),Promise.resolve().then((async()=>{this.configuration=e,this.validate(),this.init(),await this.start(),await this.render();const{BlockManager:o,Caret:n,UI:i,ModificationsObserver:r}=this.moduleInstances;i.checkEmptiness(),r.enable(),!0===this.configuration.autofocus&&!0!==this.configuration.readOnly&&n.setToBlock(o.blocks[0],n.positions.START),t()})).catch((e=>{m(`Editor.js is not ready because of ${e}`,"error"),o(e)}))}set configuration(e){var t,o,n;k(e)?this.config={...e}:this.config={holder:e},N(!!this.config.holderId,"config.holderId","config.holder"),this.config.holderId&&!this.config.holder&&(this.config.holder=this.config.holderId,this.config.holderId=null),null==this.config.holder&&(this.config.holder="editorjs"),this.config.logLevel||(this.config.logLevel=i.VERBOSE),n=this.config.logLevel,g.logLevel=n,N(!!this.config.initialBlock,"config.initialBlock","config.defaultBlock"),this.config.defaultBlock=this.config.defaultBlock||this.config.initialBlock||"paragraph",this.config.minHeight=void 0!==this.config.minHeight?this.config.minHeight:300;const r={type:this.config.defaultBlock,data:{}};this.config.placeholder=this.config.placeholder||!1,this.config.sanitizer=this.config.sanitizer||{p:!0,b:!0,a:!0},this.config.hideToolbar=!!this.config.hideToolbar&&this.config.hideToolbar,this.config.tools=this.config.tools||{},this.config.i18n=this.config.i18n||{},this.config.data=this.config.data||{blocks:[]},this.config.onReady=this.config.onReady||(()=>{}),this.config.onChange=this.config.onChange||(()=>{}),this.config.inlineToolbar=void 0===this.config.inlineToolbar||this.config.inlineToolbar,(C(this.config.data)||!this.config.data.blocks||0===this.config.data.blocks.length)&&(this.config.data={blocks:[r]}),this.config.readOnly=this.config.readOnly||!1,null!=(t=this.config.i18n)&&t.messages&&W.setDictionary(this.config.i18n.messages),this.config.i18n.direction=(null==(o=this.config.i18n)?void 0:o.direction)||"ltr"}get configuration(){return this.config}validate(){const{holderId:e,holder:t}=this.config;if(e&&t)throw Error("«holderId» and «holder» param can't assign at the same time.");if(w(t)&&!F.get(t))throw Error(`element with ID «${t}» is missing. Pass correct holder's ID.`);if(t&&k(t)&&!F.isElement(t))throw Error("«holder» value must be an Element node")}init(){this.constructModules(),this.configureModules()}async start(){await["Tools","UI","BlockManager","Paste","BlockSelection","RectangleSelection","CrossBlockSelection","ReadOnly"].reduce(((e,t)=>e.then((async()=>{try{await this.moduleInstances[t].prepare()}catch(e){if(e instanceof $)throw new Error(e.message);m(`Module ${t} was skipped because of %o`,"warn",e)}}))),Promise.resolve())}render(){return this.moduleInstances.Renderer.render(this.config.data.blocks)}constructModules(){Object.entries(pi).forEach((([e,t])=>{try{this.moduleInstances[e]=new t({config:this.configuration,eventsDispatcher:this.eventsDispatcher})}catch(o){m("[constructModules]",`Module ${e} skipped because`,"error",o)}}))}configureModules(){for(const e in this.moduleInstances)Object.prototype.hasOwnProperty.call(this.moduleInstances,e)&&(this.moduleInstances[e].state=this.getModulesDiff(e))}getModulesDiff(e){const t={};for(const o in this.moduleInstances)o!==e&&(t[o]=this.moduleInstances[o]);return t}} +/** + * Editor.js + * + * @license Apache-2.0 + * @see Editor.js <https://editorjs.io> + * @author CodeX Team <https://codex.so> + */class gi{static get version(){return"2.31.0"}constructor(e){let t=()=>{};k(e)&&y(e.onReady)&&(t=e.onReady);const o=new fi(e);this.isReady=o.isReady.then((()=>{this.exportAPI(o),t()}))}exportAPI(e){["configuration"].forEach((t=>{this[t]=e[t]})),this.destroy=()=>{Object.values(e.moduleInstances).forEach((e=>{y(e.destroy)&&e.destroy(),e.listeners.removeAll()})),null==we||we.destroy(),we=null,e=null;for(const e in this)Object.prototype.hasOwnProperty.call(this,e)&&delete this[e];Object.setPrototypeOf(this,null)},Object.setPrototypeOf(this,e.moduleInstances.API.methods),delete this.exportAPI,Object.entries({blocks:{clear:"clear",render:"render"},caret:{focus:"focus"},events:{on:"on",off:"off",emit:"emit"},saver:{save:"save"}}).forEach((([t,o])=>{Object.entries(o).forEach((([o,n])=>{this[n]=e.moduleInstances.API.methods[t][o]}))}))}}!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ce-header{padding:.6em 0 3px;margin:0;line-height:1.25em;outline:none}.ce-header p,.ce-header div{padding:0!important;margin:0!important}")),document.head.appendChild(e)}}catch(t){}}(),function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.cdx-list{margin:0;padding:0;outline:none;display:grid;counter-reset:item;gap:var(--spacing-s);padding:var(--spacing-xs);--spacing-s: 8px;--spacing-xs: 6px;--list-counter-type: numeric;--radius-border: 5px;--checkbox-background: #fff;--color-border: #C9C9C9;--color-bg-checked: #369FFF;--line-height: 1.45em;--color-bg-checked-hover: #0059AB;--color-tick: #fff;--size-checkbox: 1.2em}.cdx-list__item{line-height:var(--line-height);display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;grid-template-areas:"checkbox content" ". child"}.cdx-list__item-children{display:grid;grid-area:child;gap:var(--spacing-s);padding-top:var(--spacing-s)}.cdx-list__item [contenteditable]{outline:none}.cdx-list__item-content{word-break:break-word;white-space:pre-wrap;grid-area:content;padding-left:var(--spacing-s)}.cdx-list__item:before{counter-increment:item;white-space:nowrap}.cdx-list-ordered .cdx-list__item:before{content:counters(item,".",var(--list-counter-type)) "."}.cdx-list-ordered{counter-reset:item}.cdx-list-unordered .cdx-list__item:before{content:"•"}.cdx-list-checklist .cdx-list__item:before{content:""}.cdx-list__settings .cdx-settings-button{width:50%}.cdx-list__checkbox{padding-top:calc((var(--line-height) - var(--size-checkbox)) / 2);grid-area:checkbox;width:var(--size-checkbox);height:var(--size-checkbox);display:flex;cursor:pointer}.cdx-list__checkbox svg{opacity:0;height:var(--size-checkbox);width:var(--size-checkbox);left:-1px;top:-1px;position:absolute}@media (hover: hover){.cdx-list__checkbox:not(.cdx-list__checkbox--no-hover):hover .cdx-list__checkbox-check svg{opacity:1}}.cdx-list__checkbox--checked{line-height:var(--line-height)}@media (hover: hover){.cdx-list__checkbox--checked:not(.cdx-list__checkbox--checked--no-hover):hover .cdx-checklist__checkbox-check{background:var(--color-bg-checked-hover);border-color:var(--color-bg-checked-hover)}}.cdx-list__checkbox--checked .cdx-list__checkbox-check{background:var(--color-bg-checked);border-color:var(--color-bg-checked)}.cdx-list__checkbox--checked .cdx-list__checkbox-check svg{opacity:1}.cdx-list__checkbox--checked .cdx-list__checkbox-check svg path{stroke:var(--color-tick)}.cdx-list__checkbox--checked .cdx-list__checkbox-check:before{opacity:0;visibility:visible;transform:scale(2.5)}.cdx-list__checkbox-check{cursor:pointer;display:inline-block;position:relative;margin:0 auto;width:var(--size-checkbox);height:var(--size-checkbox);box-sizing:border-box;border-radius:var(--radius-border);border:1px solid var(--color-border);background:var(--checkbox-background)}.cdx-list__checkbox-check:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:100%;background-color:var(--color-bg-checked);visibility:hidden;pointer-events:none;transform:scale(1);transition:transform .4s ease-out,opacity .4s}.cdx-list-start-with-field{background:#F8F8F8;border:1px solid rgba(226,226,229,.2);border-radius:6px;padding:2px;display:grid;grid-template-columns:auto auto 1fr;grid-template-rows:auto}.cdx-list-start-with-field--invalid{background:#FFECED;border:1px solid #E13F3F}.cdx-list-start-with-field--invalid .cdx-list-start-with-field__input{color:#e13f3f}.cdx-list-start-with-field__input{font-size:14px;outline:none;font-weight:500;font-family:inherit;border:0;background:transparent;margin:0;padding:0;line-height:22px;min-width:calc(100% - var(--toolbox-buttons-size) - var(--icon-margin-right))}.cdx-list-start-with-field__input::placeholder{color:var(--grayText);font-weight:500}')),document.head.appendChild(e)}}catch(t){}}();const mi='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M9.2 12L11.0586 13.8586C11.1367 13.9367 11.2633 13.9367 11.3414 13.8586L14.7 10.5"/><rect width="14" height="14" x="5" y="5" stroke="currentColor" stroke-width="2" rx="4"/></svg>',bi='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><line x1="9" x2="19" y1="7" y2="7" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><line x1="9" x2="19" y1="12" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><line x1="9" x2="19" y1="17" y2="17" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M5.00001 17H4.99002"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M5.00001 12H4.99002"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M5.00001 7H4.99002"/></svg>',vi='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><line x1="12" x2="19" y1="7" y2="7" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><line x1="12" x2="19" y1="12" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><line x1="12" x2="19" y1="17" y2="17" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7.79999 14L7.79999 7.2135C7.79999 7.12872 7.7011 7.0824 7.63597 7.13668L4.79999 9.5"/></svg>';var yi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ki(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var o=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),o}var wi={},xi={},Ei={};Object.defineProperty(Ei,"__esModule",{value:!0}),Ei.allInputsSelector=function(){return"[contenteditable=true], textarea, input:not([type]), "+["text","password","email","number","search","tel","url"].map((function(e){return'input[type="'.concat(e,'"]')})).join(", ")},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.allInputsSelector=void 0;var t=Ei;Object.defineProperty(e,"allInputsSelector",{enumerable:!0,get:function(){return t.allInputsSelector}})}(xi);var Ci={},Si={};Object.defineProperty(Si,"__esModule",{value:!0}),Si.isNativeInput=function(e){return!(!e||!e.tagName)&&["INPUT","TEXTAREA"].includes(e.tagName)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isNativeInput=void 0;var t=Si;Object.defineProperty(e,"isNativeInput",{enumerable:!0,get:function(){return t.isNativeInput}})}(Ci);var Ti={},_i={};Object.defineProperty(_i,"__esModule",{value:!0}),_i.append=function(e,t){Array.isArray(t)?t.forEach((function(t){e.appendChild(t)})):e.appendChild(t)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.append=void 0;var t=_i;Object.defineProperty(e,"append",{enumerable:!0,get:function(){return t.append}})}(Ti);var Oi={},Bi={};Object.defineProperty(Bi,"__esModule",{value:!0}),Bi.blockElements=function(){return["address","article","aside","blockquote","canvas","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","ruby","section","table","tbody","thead","tr","tfoot","ul","video"]},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.blockElements=void 0;var t=Bi;Object.defineProperty(e,"blockElements",{enumerable:!0,get:function(){return t.blockElements}})}(Oi);var Ii={},Mi={};Object.defineProperty(Mi,"__esModule",{value:!0}),Mi.calculateBaseline=function(e){var t=window.getComputedStyle(e),o=parseFloat(t.fontSize),n=parseFloat(t.lineHeight)||1.2*o,i=parseFloat(t.paddingTop),r=parseFloat(t.borderTopWidth);return parseFloat(t.marginTop)+r+i+(n-o)/2+.8*o},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.calculateBaseline=void 0;var t=Mi;Object.defineProperty(e,"calculateBaseline",{enumerable:!0,get:function(){return t.calculateBaseline}})}(Ii);var Pi={},Li={},Ai={},Ni={};Object.defineProperty(Ni,"__esModule",{value:!0}),Ni.isContentEditable=function(e){return"true"===e.contentEditable},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isContentEditable=void 0;var t=Ni;Object.defineProperty(e,"isContentEditable",{enumerable:!0,get:function(){return t.isContentEditable}})}(Ai),Object.defineProperty(Li,"__esModule",{value:!0}),Li.canSetCaret=function(e){var t=!0;if((0,ji.isNativeInput)(e))switch(e.type){case"file":case"checkbox":case"radio":case"hidden":case"submit":case"button":case"image":case"reset":t=!1}else t=(0,Di.isContentEditable)(e);return t};var ji=Ci,Di=Ai;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.canSetCaret=void 0;var t=Li;Object.defineProperty(e,"canSetCaret",{enumerable:!0,get:function(){return t.canSetCaret}})}(Pi);var Ri={},Fi={};function Hi(){const e={win:!1,mac:!1,x11:!1,linux:!1},t=Object.keys(e).find((e=>-1!==window.navigator.appVersion.toLowerCase().indexOf(e)));return void 0!==t&&(e[t]=!0),e}function Ui(e){return null!=e&&""!==e&&("object"!=typeof e||Object.keys(e).length>0)}function zi(e){return Object.prototype.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function Wi(e){return"function"===zi(e)||"asyncfunction"===zi(e)}function $i(e){return"object"===zi(e)}const qi=Object.freeze(Object.defineProperty({__proto__:null,PromiseQueue:class{constructor(){this.completed=Promise.resolve()}add(e){return new Promise(((t,o)=>{this.completed=this.completed.then(e).then(t).catch(o)}))}},beautifyShortcut:function(e){const t=Hi();return e=e.replace(/shift/gi,"⇧").replace(/backspace/gi,"⌫").replace(/enter/gi,"⏎").replace(/up/gi,"↑").replace(/left/gi,"→").replace(/down/gi,"↓").replace(/right/gi,"←").replace(/escape/gi,"⎋").replace(/insert/gi,"Ins").replace(/delete/gi,"␡").replace(/\+/gi,"+"),e=t.mac?e.replace(/ctrl|cmd/gi,"⌘").replace(/alt/gi,"⌥"):e.replace(/cmd/gi,"Ctrl").replace(/windows/gi,"WIN")},cacheable:function(e,t,o){const n=void 0!==o.value?"value":"get",i=o[n],r=`#${t}Cache`;if(o[n]=function(...e){return void 0===this[r]&&(this[r]=i.apply(this,e)),this[r]},"get"===n&&o.set){const t=o.set;o.set=function(o){delete e[r],t.apply(this,o)}}return o},capitalize:function(e){return e[0].toUpperCase()+e.slice(1)},copyTextToClipboard:function(e){const t=document.createElement("div");t.style.position="absolute",t.style.left="-999px",t.style.bottom="-999px",t.innerHTML=e,document.body.appendChild(t);const o=window.getSelection(),n=document.createRange();if(n.selectNode(t),null===o)throw new Error("Cannot copy text to clipboard");o.removeAllRanges(),o.addRange(n),document.execCommand("copy"),document.body.removeChild(t)},debounce:function(e,t,o){let n;return(...i)=>{const r=this,s=!0===o&&void 0!==n;window.clearTimeout(n),n=window.setTimeout((()=>{n=void 0,!0!==o&&e.apply(r,i)}),t),s&&e.apply(r,i)}},deepMerge:function e(t,...o){if(!o.length)return t;const n=o.shift();if($i(t)&&$i(n))for(const i in n)$i(n[i])?(void 0===t[i]&&Object.assign(t,{[i]:{}}),e(t[i],n[i])):Object.assign(t,{[i]:n[i]});return e(t,...o)},deprecationAssert:function(e,t,o){},getUserOS:Hi,getValidUrl:function(e){try{return new URL(e).href}catch{}return"//"===e.substring(0,2)?window.location.protocol+e:window.location.origin+e},isBoolean:function(e){return"boolean"===zi(e)},isClass:function(e){return Wi(e)&&/^\s*class\s+/.test(e.toString())},isEmpty:function(e){return!Ui(e)},isFunction:Wi,isIosDevice:()=>typeof window<"u"&&null!==window.navigator&&Ui(window.navigator.platform)&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),isNumber:function(e){return"number"===zi(e)},isObject:$i,isPrintableKey:function(e){return e>47&&e<58||32===e||13===e||229===e||e>64&&e<91||e>95&&e<112||e>185&&e<193||e>218&&e<223},isPromise:function(e){return Promise.resolve(e)===e},isString:function(e){return"string"===zi(e)},isUndefined:function(e){return"undefined"===zi(e)},keyCodes:{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,LEFT:37,UP:38,DOWN:40,RIGHT:39,DELETE:46,META:91,SLASH:191},mouseButtons:{LEFT:0,WHEEL:1,RIGHT:2,BACKWARD:3,FORWARD:4},notEmpty:Ui,throttle:function(e,t,o=void 0){let n,i,r,s=null,a=0;o||(o={});const l=function(){a=!1===o.leading?0:Date.now(),s=null,r=e.apply(n,i),null===s&&(n=i=null)};return function(){const c=Date.now();!a&&!1===o.leading&&(a=c);const d=t-(c-a);return n=this,i=arguments,d<=0||d>t?(s&&(clearTimeout(s),s=null),a=c,r=e.apply(n,i),null===s&&(n=i=null)):!s&&!1!==o.trailing&&(s=setTimeout(l,d)),r}},typeOf:zi},Symbol.toStringTag,{value:"Module"})),Ki=ki(qi);Object.defineProperty(Fi,"__esModule",{value:!0}),Fi.containsOnlyInlineElements=function(e){var t;(0,Yi.isString)(e)?(t=document.createElement("div")).innerHTML=e:t=e;var o=function(e){return!(0,Xi.blockElements)().includes(e.tagName.toLowerCase())&&Array.from(e.children).every(o)};return Array.from(t.children).every(o)};var Yi=Ki,Xi=Oi;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.containsOnlyInlineElements=void 0;var t=Fi;Object.defineProperty(e,"containsOnlyInlineElements",{enumerable:!0,get:function(){return t.containsOnlyInlineElements}})}(Ri);var Vi={},Gi={},Zi={},Ji={};Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.make=function(e,t,o){var n;void 0===t&&(t=null),void 0===o&&(o={});var i=document.createElement(e);if(Array.isArray(t)){var r=t.filter((function(e){return void 0!==e}));(n=i.classList).add.apply(n,r)}else null!==t&&i.classList.add(t);for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(i[s]=o[s]);return i},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.make=void 0;var t=Ji;Object.defineProperty(e,"make",{enumerable:!0,get:function(){return t.make}})}(Zi),Object.defineProperty(Gi,"__esModule",{value:!0}),Gi.fragmentToString=function(e){var t=(0,Qi.make)("div");return t.appendChild(e),t.innerHTML};var Qi=Zi;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.fragmentToString=void 0;var t=Gi;Object.defineProperty(e,"fragmentToString",{enumerable:!0,get:function(){return t.fragmentToString}})}(Vi);var er={},tr={};Object.defineProperty(tr,"__esModule",{value:!0}),tr.getContentLength=function(e){var t,o;return(0,or.isNativeInput)(e)?e.value.length:e.nodeType===Node.TEXT_NODE?e.length:null!==(o=null===(t=e.textContent)||void 0===t?void 0:t.length)&&void 0!==o?o:0};var or=Ci;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getContentLength=void 0;var t=tr;Object.defineProperty(e,"getContentLength",{enumerable:!0,get:function(){return t.getContentLength}})}(er);var nr={},ir={},rr=yi&&yi.__spreadArray||function(e,t,o){if(o||2===arguments.length)for(var n,i=0,r=t.length;i<r;i++)(n||!(i in t))&&(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(ir,"__esModule",{value:!0}),ir.getDeepestBlockElements=function e(t){return(0,sr.containsOnlyInlineElements)(t)?[t]:Array.from(t.children).reduce((function(t,o){return rr(rr([],t,!0),e(o),!0)}),[])};var sr=Ri;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepestBlockElements=void 0;var t=ir;Object.defineProperty(e,"getDeepestBlockElements",{enumerable:!0,get:function(){return t.getDeepestBlockElements}})}(nr);var ar={},lr={},cr={},dr={};Object.defineProperty(dr,"__esModule",{value:!0}),dr.isLineBreakTag=function(e){return["BR","WBR"].includes(e.tagName)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isLineBreakTag=void 0;var t=dr;Object.defineProperty(e,"isLineBreakTag",{enumerable:!0,get:function(){return t.isLineBreakTag}})}(cr);var ur={},hr={};Object.defineProperty(hr,"__esModule",{value:!0}),hr.isSingleTag=function(e){return["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"].includes(e.tagName)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isSingleTag=void 0;var t=hr;Object.defineProperty(e,"isSingleTag",{enumerable:!0,get:function(){return t.isSingleTag}})}(ur),Object.defineProperty(lr,"__esModule",{value:!0}),lr.getDeepestNode=function e(t,o){void 0===o&&(o=!1);var n=o?"lastChild":"firstChild",i=o?"previousSibling":"nextSibling";if(t.nodeType===Node.ELEMENT_NODE&&t[n]){var r=t[n];if((0,gr.isSingleTag)(r)&&!(0,pr.isNativeInput)(r)&&!(0,fr.isLineBreakTag)(r))if(r[i])r=r[i];else{if(null===r.parentNode||!r.parentNode[i])return r.parentNode;r=r.parentNode[i]}return e(r,o)}return t};var pr=Ci,fr=cr,gr=ur;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepestNode=void 0;var t=lr;Object.defineProperty(e,"getDeepestNode",{enumerable:!0,get:function(){return t.getDeepestNode}})}(ar);var mr={},br={},vr=yi&&yi.__spreadArray||function(e,t,o){if(o||2===arguments.length)for(var n,i=0,r=t.length;i<r;i++)(n||!(i in t))&&(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(br,"__esModule",{value:!0}),br.findAllInputs=function(e){return Array.from(e.querySelectorAll((0,wr.allInputsSelector)())).reduce((function(e,t){return(0,xr.isNativeInput)(t)||(0,yr.containsOnlyInlineElements)(t)?vr(vr([],e,!0),[t],!1):vr(vr([],e,!0),(0,kr.getDeepestBlockElements)(t),!0)}),[])};var yr=Ri,kr=nr,wr=xi,xr=Ci;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.findAllInputs=void 0;var t=br;Object.defineProperty(e,"findAllInputs",{enumerable:!0,get:function(){return t.findAllInputs}})}(mr);var Er={},Cr={};Object.defineProperty(Cr,"__esModule",{value:!0}),Cr.isCollapsedWhitespaces=function(e){return!/[^\t\n\r ]/.test(e)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isCollapsedWhitespaces=void 0;var t=Cr;Object.defineProperty(e,"isCollapsedWhitespaces",{enumerable:!0,get:function(){return t.isCollapsedWhitespaces}})}(Er);var Sr={},Tr={};Object.defineProperty(Tr,"__esModule",{value:!0}),Tr.isElement=function(e){return!(0,_r.isNumber)(e)&&(!!e&&!!e.nodeType&&e.nodeType===Node.ELEMENT_NODE)};var _r=Ki;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isElement=void 0;var t=Tr;Object.defineProperty(e,"isElement",{enumerable:!0,get:function(){return t.isElement}})}(Sr);var Or={},Br={},Ir={},Mr={};Object.defineProperty(Mr,"__esModule",{value:!0}),Mr.isLeaf=function(e){return null!==e&&0===e.childNodes.length},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isLeaf=void 0;var t=Mr;Object.defineProperty(e,"isLeaf",{enumerable:!0,get:function(){return t.isLeaf}})}(Ir);var Pr={},Lr={};Object.defineProperty(Lr,"__esModule",{value:!0}),Lr.isNodeEmpty=function(e,t){var o="";return!((0,Dr.isSingleTag)(e)&&!(0,Ar.isLineBreakTag)(e))&&((0,Nr.isElement)(e)&&(0,jr.isNativeInput)(e)?o=e.value:null!==e.textContent&&(o=e.textContent.replace("​","")),void 0!==t&&(o=o.replace(new RegExp(t,"g"),"")),0===o.trim().length)};var Ar=cr,Nr=Sr,jr=Ci,Dr=ur;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isNodeEmpty=void 0;var t=Lr;Object.defineProperty(e,"isNodeEmpty",{enumerable:!0,get:function(){return t.isNodeEmpty}})}(Pr),Object.defineProperty(Br,"__esModule",{value:!0}),Br.isEmpty=function(e,t){e.normalize();for(var o=[e];o.length>0;){var n=o.shift();if(n){if(e=n,(0,Rr.isLeaf)(e)&&!(0,Fr.isNodeEmpty)(e,t))return!1;o.push.apply(o,Array.from(e.childNodes))}}return!0};var Rr=Ir,Fr=Pr;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isEmpty=void 0;var t=Br;Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return t.isEmpty}})}(Or);var Hr={},Ur={};Object.defineProperty(Ur,"__esModule",{value:!0}),Ur.isFragment=function(e){return!(0,zr.isNumber)(e)&&(!!e&&!!e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)};var zr=Ki;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isFragment=void 0;var t=Ur;Object.defineProperty(e,"isFragment",{enumerable:!0,get:function(){return t.isFragment}})}(Hr);var Wr={},$r={};Object.defineProperty($r,"__esModule",{value:!0}),$r.isHTMLString=function(e){var t=(0,qr.make)("div");return t.innerHTML=e,t.childElementCount>0};var qr=Zi;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isHTMLString=void 0;var t=$r;Object.defineProperty(e,"isHTMLString",{enumerable:!0,get:function(){return t.isHTMLString}})}(Wr);var Kr={},Yr={};Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.offset=function(e){var t=e.getBoundingClientRect(),o=window.pageXOffset||document.documentElement.scrollLeft,n=window.pageYOffset||document.documentElement.scrollTop,i=t.top+n,r=t.left+o;return{top:i,left:r,bottom:i+t.height,right:r+t.width}},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.offset=void 0;var t=Yr;Object.defineProperty(e,"offset",{enumerable:!0,get:function(){return t.offset}})}(Kr);var Xr={},Vr={};Object.defineProperty(Vr,"__esModule",{value:!0}),Vr.prepend=function(e,t){Array.isArray(t)?(t=t.reverse()).forEach((function(t){return e.prepend(t)})):e.prepend(t)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.prepend=void 0;var t=Vr;Object.defineProperty(e,"prepend",{enumerable:!0,get:function(){return t.prepend}})}(Xr),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.prepend=e.offset=e.make=e.isLineBreakTag=e.isSingleTag=e.isNodeEmpty=e.isLeaf=e.isHTMLString=e.isFragment=e.isEmpty=e.isElement=e.isContentEditable=e.isCollapsedWhitespaces=e.findAllInputs=e.isNativeInput=e.allInputsSelector=e.getDeepestNode=e.getDeepestBlockElements=e.getContentLength=e.fragmentToString=e.containsOnlyInlineElements=e.canSetCaret=e.calculateBaseline=e.blockElements=e.append=void 0;var t=xi;Object.defineProperty(e,"allInputsSelector",{enumerable:!0,get:function(){return t.allInputsSelector}});var o=Ci;Object.defineProperty(e,"isNativeInput",{enumerable:!0,get:function(){return o.isNativeInput}});var n=Ti;Object.defineProperty(e,"append",{enumerable:!0,get:function(){return n.append}});var i=Oi;Object.defineProperty(e,"blockElements",{enumerable:!0,get:function(){return i.blockElements}});var r=Ii;Object.defineProperty(e,"calculateBaseline",{enumerable:!0,get:function(){return r.calculateBaseline}});var s=Pi;Object.defineProperty(e,"canSetCaret",{enumerable:!0,get:function(){return s.canSetCaret}});var a=Ri;Object.defineProperty(e,"containsOnlyInlineElements",{enumerable:!0,get:function(){return a.containsOnlyInlineElements}});var l=Vi;Object.defineProperty(e,"fragmentToString",{enumerable:!0,get:function(){return l.fragmentToString}});var c=er;Object.defineProperty(e,"getContentLength",{enumerable:!0,get:function(){return c.getContentLength}});var d=nr;Object.defineProperty(e,"getDeepestBlockElements",{enumerable:!0,get:function(){return d.getDeepestBlockElements}});var u=ar;Object.defineProperty(e,"getDeepestNode",{enumerable:!0,get:function(){return u.getDeepestNode}});var h=mr;Object.defineProperty(e,"findAllInputs",{enumerable:!0,get:function(){return h.findAllInputs}});var p=Er;Object.defineProperty(e,"isCollapsedWhitespaces",{enumerable:!0,get:function(){return p.isCollapsedWhitespaces}});var f=Ai;Object.defineProperty(e,"isContentEditable",{enumerable:!0,get:function(){return f.isContentEditable}});var g=Sr;Object.defineProperty(e,"isElement",{enumerable:!0,get:function(){return g.isElement}});var m=Or;Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return m.isEmpty}});var b=Hr;Object.defineProperty(e,"isFragment",{enumerable:!0,get:function(){return b.isFragment}});var v=Wr;Object.defineProperty(e,"isHTMLString",{enumerable:!0,get:function(){return v.isHTMLString}});var y=Ir;Object.defineProperty(e,"isLeaf",{enumerable:!0,get:function(){return y.isLeaf}});var k=Pr;Object.defineProperty(e,"isNodeEmpty",{enumerable:!0,get:function(){return k.isNodeEmpty}});var w=cr;Object.defineProperty(e,"isLineBreakTag",{enumerable:!0,get:function(){return w.isLineBreakTag}});var x=ur;Object.defineProperty(e,"isSingleTag",{enumerable:!0,get:function(){return x.isSingleTag}});var E=Zi;Object.defineProperty(e,"make",{enumerable:!0,get:function(){return E.make}});var C=Kr;Object.defineProperty(e,"offset",{enumerable:!0,get:function(){return C.offset}});var S=Xr;Object.defineProperty(e,"prepend",{enumerable:!0,get:function(){return S.prepend}})}(wi);const Gr="cdx-list",Zr={wrapper:Gr,item:`${Gr}__item`,itemContent:`${Gr}__item-content`,itemChildren:`${Gr}__item-children`};let Jr=class e{static get CSS(){return{...Zr,orderedList:`${Gr}-ordered`}}constructor(e,t){this.config=t,this.readOnly=e}renderWrapper(t){let o;return o=!0===t?wi.make("ol",[e.CSS.wrapper,e.CSS.orderedList]):wi.make("ol",[e.CSS.orderedList,e.CSS.itemChildren]),o}renderItem(t,o){const n=wi.make("li",e.CSS.item),i=wi.make("div",e.CSS.itemContent,{innerHTML:t,contentEditable:(!this.readOnly).toString()});return n.appendChild(i),n}getItemContent(t){const o=t.querySelector(`.${e.CSS.itemContent}`);return!o||wi.isEmpty(o)?"":o.innerHTML}getItemMeta(){return{}}composeDefaultMeta(){return{}}},Qr=class e{static get CSS(){return{...Zr,unorderedList:`${Gr}-unordered`}}constructor(e,t){this.config=t,this.readOnly=e}renderWrapper(t){let o;return o=!0===t?wi.make("ul",[e.CSS.wrapper,e.CSS.unorderedList]):wi.make("ul",[e.CSS.unorderedList,e.CSS.itemChildren]),o}renderItem(t,o){const n=wi.make("li",e.CSS.item),i=wi.make("div",e.CSS.itemContent,{innerHTML:t,contentEditable:(!this.readOnly).toString()});return n.appendChild(i),n}getItemContent(t){const o=t.querySelector(`.${e.CSS.itemContent}`);return!o||wi.isEmpty(o)?"":o.innerHTML}getItemMeta(){return{}}composeDefaultMeta(){return{}}};function es(e){return e.nodeType===Node.ELEMENT_NODE}var ts={},os={},ns={},is={};Object.defineProperty(is,"__esModule",{value:!0}),is.getContenteditableSlice=function(e,t,o,n,i){var r;void 0===i&&(i=!1);var s=document.createRange();if("left"===n?(s.setStart(e,0),s.setEnd(t,o)):(s.setStart(t,o),s.setEnd(e,e.childNodes.length)),!0===i){var a=s.extractContents();return(0,rs.fragmentToString)(a)}var l=s.cloneContents(),c=document.createElement("div");return c.appendChild(l),null!==(r=c.textContent)&&void 0!==r?r:""};var rs=wi;Object.defineProperty(ns,"__esModule",{value:!0}),ns.checkContenteditableSliceForEmptiness=function(e,t,o,n){var i=(0,as.getContenteditableSlice)(e,t,o,n);return(0,ss.isCollapsedWhitespaces)(i)};var ss=wi,as=is;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.checkContenteditableSliceForEmptiness=void 0;var t=ns;Object.defineProperty(e,"checkContenteditableSliceForEmptiness",{enumerable:!0,get:function(){return t.checkContenteditableSliceForEmptiness}})}(os);var ls={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getContenteditableSlice=void 0;var t=is;Object.defineProperty(e,"getContenteditableSlice",{enumerable:!0,get:function(){return t.getContenteditableSlice}})}(ls);var cs={},ds={};Object.defineProperty(ds,"__esModule",{value:!0}),ds.focus=function(e,t){var o,n;if(void 0===t&&(t=!0),(0,us.isNativeInput)(e)){e.focus();var i=t?0:e.value.length;e.setSelectionRange(i,i)}else{var r=document.createRange(),s=window.getSelection();if(!s)return;var a=function(e,t){void 0===t&&(t=!1);var o=document.createTextNode("");t?e.insertBefore(o,e.firstChild):e.appendChild(o),r.setStart(o,0),r.setEnd(o,0)},l=function(e){return null!=e},c=e.childNodes,d=t?c[0]:c[c.length-1];if(l(d)){for(;l(d)&&d.nodeType!==Node.TEXT_NODE;)d=t?d.firstChild:d.lastChild;if(l(d)&&d.nodeType===Node.TEXT_NODE){var u=null!==(n=null===(o=d.textContent)||void 0===o?void 0:o.length)&&void 0!==n?n:0;i=t?0:u;r.setStart(d,i),r.setEnd(d,i)}else a(e,t)}else a(e);s.removeAllRanges(),s.addRange(r)}};var us=wi;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.focus=void 0;var t=ds;Object.defineProperty(e,"focus",{enumerable:!0,get:function(){return t.focus}})}(cs);var hs={},ps={};Object.defineProperty(ps,"__esModule",{value:!0}),ps.getCaretNodeAndOffset=function(){var e=window.getSelection();if(null===e)return[null,0];var t=e.focusNode,o=e.focusOffset;return null===t?[null,0]:(t.nodeType!==Node.TEXT_NODE&&t.childNodes.length>0&&(void 0!==t.childNodes[o]?(t=t.childNodes[o],o=0):null!==(t=t.childNodes[o-1]).textContent&&(o=t.textContent.length)),[t,o])},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getCaretNodeAndOffset=void 0;var t=ps;Object.defineProperty(e,"getCaretNodeAndOffset",{enumerable:!0,get:function(){return t.getCaretNodeAndOffset}})}(hs);var fs={},gs={};Object.defineProperty(gs,"__esModule",{value:!0}),gs.getRange=function(){var e=window.getSelection();return e&&e.rangeCount?e.getRangeAt(0):null},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getRange=void 0;var t=gs;Object.defineProperty(e,"getRange",{enumerable:!0,get:function(){return t.getRange}})}(fs);var ms={},bs={};Object.defineProperty(bs,"__esModule",{value:!0}),bs.isCaretAtEndOfInput=function(e){var t=(0,vs.getDeepestNode)(e,!0);if(null===t)return!0;if((0,vs.isNativeInput)(t))return t.selectionEnd===t.value.length;var o=(0,ys.getCaretNodeAndOffset)(),n=o[0],i=o[1];return null!==n&&(0,ks.checkContenteditableSliceForEmptiness)(e,n,i,"right")};var vs=wi,ys=hs,ks=os;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isCaretAtEndOfInput=void 0;var t=bs;Object.defineProperty(e,"isCaretAtEndOfInput",{enumerable:!0,get:function(){return t.isCaretAtEndOfInput}})}(ms);var ws={},xs={};Object.defineProperty(xs,"__esModule",{value:!0}),xs.isCaretAtStartOfInput=function(e){var t=(0,Es.getDeepestNode)(e);if(null===t||(0,Es.isEmpty)(e))return!0;if((0,Es.isNativeInput)(t))return 0===t.selectionEnd;if((0,Es.isEmpty)(e))return!0;var o=(0,Cs.getCaretNodeAndOffset)(),n=o[0],i=o[1];return null!==n&&(0,Ss.checkContenteditableSliceForEmptiness)(e,n,i,"left")};var Es=wi,Cs=ps,Ss=ns;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isCaretAtStartOfInput=void 0;var t=xs;Object.defineProperty(e,"isCaretAtStartOfInput",{enumerable:!0,get:function(){return t.isCaretAtStartOfInput}})}(ws);var Ts={},_s={};Object.defineProperty(_s,"__esModule",{value:!0}),_s.save=function(){var e=(0,Bs.getRange)(),t=(0,Os.make)("span");if(t.id="cursor",t.hidden=!0,e)return e.insertNode(t),function(){var o=window.getSelection();o&&(e.setStartAfter(t),e.setEndAfter(t),o.removeAllRanges(),o.addRange(e),setTimeout((function(){t.remove()}),150))}};var Os=wi,Bs=gs;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.save=void 0;var t=_s;Object.defineProperty(e,"save",{enumerable:!0,get:function(){return t.save}})}(Ts),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.save=e.isCaretAtStartOfInput=e.isCaretAtEndOfInput=e.getRange=e.getCaretNodeAndOffset=e.focus=e.getContenteditableSlice=e.checkContenteditableSliceForEmptiness=void 0;var t=os;Object.defineProperty(e,"checkContenteditableSliceForEmptiness",{enumerable:!0,get:function(){return t.checkContenteditableSliceForEmptiness}});var o=ls;Object.defineProperty(e,"getContenteditableSlice",{enumerable:!0,get:function(){return o.getContenteditableSlice}});var n=cs;Object.defineProperty(e,"focus",{enumerable:!0,get:function(){return n.focus}});var i=hs;Object.defineProperty(e,"getCaretNodeAndOffset",{enumerable:!0,get:function(){return i.getCaretNodeAndOffset}});var r=fs;Object.defineProperty(e,"getRange",{enumerable:!0,get:function(){return r.getRange}});var s=ms;Object.defineProperty(e,"isCaretAtEndOfInput",{enumerable:!0,get:function(){return s.isCaretAtEndOfInput}});var a=ws;Object.defineProperty(e,"isCaretAtStartOfInput",{enumerable:!0,get:function(){return a.isCaretAtStartOfInput}});var l=Ts;Object.defineProperty(e,"save",{enumerable:!0,get:function(){return l.save}})}(ts);class Is{static get CSS(){return{...Zr,checklist:`${Gr}-checklist`,itemChecked:`${Gr}__checkbox--checked`,noHover:`${Gr}__checkbox--no-hover`,checkbox:`${Gr}__checkbox-check`,checkboxContainer:`${Gr}__checkbox`}}constructor(e,t){this.config=t,this.readOnly=e}renderWrapper(e){let t;return!0===e?(t=wi.make("ul",[Is.CSS.wrapper,Is.CSS.checklist]),t.addEventListener("click",(e=>{const t=e.target;if(t){const e=t.closest(`.${Is.CSS.checkboxContainer}`);e&&e.contains(t)&&this.toggleCheckbox(e)}}))):t=wi.make("ul",[Is.CSS.checklist,Is.CSS.itemChildren]),t}renderItem(e,t){const o=wi.make("li",[Is.CSS.item,Is.CSS.item]),n=wi.make("div",Is.CSS.itemContent,{innerHTML:e,contentEditable:(!this.readOnly).toString()}),i=wi.make("span",Is.CSS.checkbox),r=wi.make("div",Is.CSS.checkboxContainer);return!0===t.checked&&r.classList.add(Is.CSS.itemChecked),i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7 12L10.4884 15.8372C10.5677 15.9245 10.705 15.9245 10.7844 15.8372L17 9"/></svg>',r.appendChild(i),o.appendChild(r),o.appendChild(n),o}getItemContent(e){const t=e.querySelector(`.${Is.CSS.itemContent}`);return!t||wi.isEmpty(t)?"":t.innerHTML}getItemMeta(e){const t=e.querySelector(`.${Is.CSS.checkboxContainer}`);return{checked:!!t&&t.classList.contains(Is.CSS.itemChecked)}}composeDefaultMeta(){return{checked:!1}}toggleCheckbox(e){e.classList.toggle(Is.CSS.itemChecked),e.classList.add(Is.CSS.noHover),e.addEventListener("mouseleave",(()=>this.removeSpecialHoverBehavior(e)),{once:!0})}removeSpecialHoverBehavior(e){e.classList.remove(Is.CSS.noHover)}}function Ms(e,t="after"){const o=[];let n;function i(e){switch(t){case"after":return e.nextElementSibling;case"before":return e.previousElementSibling}}for(n=i(e);null!==n;)o.push(n),n=i(n);return 0!==o.length?o:null}function Ps(e,t=!0){let o=e;return e.classList.contains(Zr.item)&&(o=e.querySelector(`.${Zr.itemChildren}`)),null===o?[]:t?Array.from(o.querySelectorAll(`:scope > .${Zr.item}`)):Array.from(o.querySelectorAll(`.${Zr.item}`))}function Ls(e){return e.querySelector(`.${Zr.itemChildren}`)}function As(e){let t=e;e.classList.contains(Zr.item)&&(t=Ls(e)),null!==t&&0===Ps(t).length&&t.remove()}function Ns(e){return e.querySelector(`.${Zr.itemContent}`)}function js(e,t=!0){const o=Ns(e);o&&ts.focus(o,t)}let Ds=class{get currentItem(){const e=window.getSelection();if(!e)return null;let t=e.anchorNode;return t&&(es(t)||(t=t.parentNode),t)&&es(t)?t.closest(`.${Zr.item}`):null}get currentItemLevel(){const e=this.currentItem;if(null===e)return null;let t=e.parentNode,o=0;for(;null!==t&&t!==this.listWrapper;)es(t)&&t.classList.contains(Zr.item)&&(o+=1),t=t.parentNode;return o+1}constructor({data:e,config:t,api:o,readOnly:n,block:i},r){this.config=t,this.data=e,this.readOnly=n,this.api=o,this.block=i,this.renderer=r}render(){return this.listWrapper=this.renderer.renderWrapper(!0),this.data.items.length?this.appendItems(this.data.items,this.listWrapper):this.appendItems([{content:"",meta:{},items:[]}],this.listWrapper),this.readOnly||this.listWrapper.addEventListener("keydown",(e=>{switch(e.key){case"Enter":e.shiftKey||this.enterPressed(e);break;case"Backspace":this.backspace(e);break;case"Tab":e.shiftKey?this.shiftTab(e):this.addTab(e)}}),!1),"start"in this.data.meta&&void 0!==this.data.meta.start&&this.changeStartWith(this.data.meta.start),"counterType"in this.data.meta&&void 0!==this.data.meta.counterType&&this.changeCounters(this.data.meta.counterType),this.listWrapper}save(e){const t=e??this.listWrapper,o=e=>Ps(e).map((e=>{const t=Ls(e);return{content:this.renderer.getItemContent(e),meta:this.renderer.getItemMeta(e),items:t?o(t):[]}})),n=t?o(t):[];let i={style:this.data.style,meta:{},items:n};return"ordered"===this.data.style&&(i.meta={start:this.data.meta.start,counterType:this.data.meta.counterType}),i}static get pasteConfig(){return{tags:["OL","UL","LI"]}}merge(e){const t=this.block.holder.querySelectorAll(`.${Zr.item}`),o=t[t.length-1],n=Ns(o);if(null===o||null===n||(n.insertAdjacentHTML("beforeend",e.items[0].content),void 0===this.listWrapper))return;const i=Ps(this.listWrapper);if(0===i.length)return;let r=Ls(i[i.length-1]);const s=e.items.shift();void 0!==s&&(0!==s.items.length&&(null===r&&(r=this.renderer.renderWrapper(!1)),this.appendItems(s.items,r)),e.items.length>0&&this.appendItems(e.items,this.listWrapper))}onPaste(e){const t=e.detail.data;this.data=this.pasteHandler(t);const o=this.listWrapper;o&&o.parentNode&&o.parentNode.replaceChild(this.render(),o)}pasteHandler(e){const{tagName:t}=e;let o,n="unordered";switch(t){case"OL":n="ordered",o="ol";break;case"UL":case"LI":n="unordered",o="ul"}const i={style:n,meta:{},items:[]};"ordered"===n&&(this.data.meta.counterType="numeric",this.data.meta.start=1);const r=e=>Array.from(e.querySelectorAll(":scope > li")).map((e=>{const t=e.querySelector(`:scope > ${o}`),n=t?r(t):[];return{content:e.innerHTML??"",meta:{},items:n}}));return i.items=r(e),i}changeStartWith(e){this.listWrapper.style.setProperty("counter-reset","item "+(e-1)),this.data.meta.start=e}changeCounters(e){this.listWrapper.style.setProperty("--list-counter-type",e),this.data.meta.counterType=e}enterPressed(e){var t;const o=this.currentItem;if(e.stopPropagation(),e.preventDefault(),e.isComposing||null===o)return;const n=0===(null==(t=this.renderer)?void 0:t.getItemContent(o).trim().length),i=o.parentNode===this.listWrapper,r=null===o.previousElementSibling,s=this.api.blocks.getCurrentBlockIndex();if(i&&n)return null!==o.nextElementSibling||function(e){return null!==e.querySelector(`.${Zr.itemChildren}`)}(o)?void this.splitList(o):void(r?this.convertItemToDefaultBlock(s,!0):this.convertItemToDefaultBlock());n?this.unshiftItem(o):this.splitItem(o)}backspace(e){var t;const o=this.currentItem;if(null!==o&&ts.isCaretAtStartOfInput(o)&&!1!==(null==(t=window.getSelection())?void 0:t.isCollapsed)){if(e.stopPropagation(),o.parentNode===this.listWrapper&&null===o.previousElementSibling)return void this.convertFirstItemToDefaultBlock();e.preventDefault(),this.mergeItemWithPrevious(o)}}shiftTab(e){e.stopPropagation(),e.preventDefault(),null!==this.currentItem&&this.unshiftItem(this.currentItem)}unshiftItem(e){if(!e.parentNode||!es(e.parentNode))return;const t=e.parentNode.closest(`.${Zr.item}`);if(!t)return;let o=Ls(e);if(null===e.parentElement)return;const n=Ms(e);null!==n&&(null===o&&(o=this.renderer.renderWrapper(!1)),n.forEach((e=>{o.appendChild(e)})),e.appendChild(o)),t.after(e),js(e,!1),As(t)}splitList(e){const t=Ps(e),o=this.block,n=this.api.blocks.getCurrentBlockIndex();if(0!==t.length){const o=t[0];this.unshiftItem(o),js(e,!1)}if(null===e.previousElementSibling&&e.parentNode===this.listWrapper)return void this.convertItemToDefaultBlock(n);const i=Ms(e);if(null===i)return;const r=this.renderer.renderWrapper(!0);i.forEach((e=>{r.appendChild(e)}));const s=this.save(r);s.meta.start="ordered"==this.data.style?1:void 0,this.api.blocks.insert(null==o?void 0:o.name,s,this.config,n+1),this.convertItemToDefaultBlock(n+1),r.remove()}splitItem(e){const[t,o]=ts.getCaretNodeAndOffset();if(null===t)return;const n=Ns(e);let i;i=null===n?"":ts.getContenteditableSlice(n,t,o,"right",!0);const r=Ls(e),s=this.renderItem(i);null==e||e.after(s),r&&s.appendChild(r),js(s)}mergeItemWithPrevious(e){const t=e.previousElementSibling,o=e.parentNode;if(null===o||!es(o))return;const n=o.closest(`.${Zr.item}`);if(!t&&!n||t&&!es(t))return;let i;if(t){const e=Ps(t,!1);i=0!==e.length&&0!==e.length?e[e.length-1]:t}else i=n;const r=this.renderer.getItemContent(e);if(!i)return;js(i,!1);const s=Ns(i);if(null===s)return;s.insertAdjacentHTML("beforeend",r);const a=Ps(e);if(0===a.length)return e.remove(),void As(i);const l=t||n,c=Ls(l)??this.renderer.renderWrapper(!1);t?a.forEach((e=>{c.appendChild(e)})):a.forEach((e=>{c.prepend(e)})),null===Ls(l)&&i.appendChild(c),e.remove()}addTab(e){var t;e.stopPropagation(),e.preventDefault();const o=this.currentItem;if(!o)return;if(void 0!==(null==(t=this.config)?void 0:t.maxLevel)){const e=this.currentItemLevel;if(null!==e&&e===this.config.maxLevel)return}const n=o.previousSibling;if(null===n||!es(n))return;const i=Ls(n);if(i)i.appendChild(o),Ps(o).forEach((e=>{i.appendChild(e)}));else{const e=this.renderer.renderWrapper(!1);e.appendChild(o),Ps(o).forEach((t=>{e.appendChild(t)})),n.appendChild(e)}As(o),js(o,!1)}convertItemToDefaultBlock(e,t){let o;const n=this.currentItem,i=null!==n?this.renderer.getItemContent(n):"";!0===t&&this.api.blocks.delete(),o=void 0!==e?this.api.blocks.insert(void 0,{text:i},void 0,e):this.api.blocks.insert(),null==n||n.remove(),this.api.caret.setToBlock(o,"start")}convertFirstItemToDefaultBlock(){const e=this.currentItem;if(null===e)return;const t=Ps(e);if(0!==t.length){const o=t[0];this.unshiftItem(o),js(e)}const o=Ms(e),n=this.api.blocks.getCurrentBlockIndex(),i=null===o;this.convertItemToDefaultBlock(n,i)}renderItem(e,t){const o=t??this.renderer.composeDefaultMeta();switch(!0){case this.renderer instanceof Jr:case this.renderer instanceof Qr:}return this.renderer.renderItem(e,o)}appendItems(e,t){e.forEach((e=>{var o;const n=this.renderItem(e.content,e.meta);if(t.appendChild(n),e.items.length){const t=null==(o=this.renderer)?void 0:o.renderWrapper(!1);this.appendItems(e.items,t),n.appendChild(t)}}))}};const Rs={wrapper:`${Gr}-start-with-field`,input:`${Gr}-start-with-field__input`,startWithElementWrapperInvalid:`${Gr}-start-with-field--invalid`};const Fs=new Map([["Numeric","numeric"],["Lower Roman","lower-roman"],["Upper Roman","upper-roman"],["Lower Alpha","lower-alpha"],["Upper Alpha","upper-alpha"]]),Hs=new Map([["numeric",'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10 14.2L10 7.4135C10 7.32872 9.90111 7.28241 9.83598 7.33668L7 9.7" stroke="black" stroke-width="1.6" stroke-linecap="round"/><path d="M13.2087 14.2H13.2" stroke="black" stroke-width="1.6" stroke-linecap="round"/></svg>'],["lower-roman",'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.2087 14.2H13.2" stroke="black" stroke-width="1.6" stroke-linecap="round"/><path d="M10 14.2L10 9.5" stroke="black" stroke-width="1.6" stroke-linecap="round"/><path d="M10 7.01L10 7" stroke="black" stroke-width="1.8" stroke-linecap="round"/></svg>'],["upper-roman",'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.2087 14.2H13.2" stroke="black" stroke-width="1.6" stroke-linecap="round"/><path d="M10 14.2L10 7.2" stroke="black" stroke-width="1.6" stroke-linecap="round"/></svg>'],["lower-alpha",'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.2087 14.2H14.2" stroke="black" stroke-width="1.6" stroke-linecap="round"/><path d="M11.5 14.5C11.5 14.5 11 13.281 11 12.5M7 9.5C7 9.5 7.5 8.5 9 8.5C10.5 8.5 11 9.5 11 10.5L11 11.5M11 11.5L11 12.5M11 11.5C11 11.5 7 11 7 13C7 15.3031 11 15 11 12.5" stroke="black" stroke-width="1.6" stroke-linecap="round"/></svg>'],["upper-alpha",'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.0087 14.2H16" stroke="black" stroke-width="1.6" stroke-linecap="round"/><path d="M7 14.2L7.78865 12M13 14.2L12.1377 12M7.78865 12C7.78865 12 9.68362 7 10 7C10.3065 7 12.1377 12 12.1377 12M7.78865 12L12.1377 12" stroke="black" stroke-width="1.6" stroke-linecap="round"/></svg>']]);let Us=class e{static get isReadOnlySupported(){return!0}static get enableLineBreaks(){return!0}static get toolbox(){return[{icon:bi,title:"Unordered List",data:{style:"unordered"}},{icon:vi,title:"Ordered List",data:{style:"ordered"}},{icon:mi,title:"Checklist",data:{style:"checklist"}}]}static get pasteConfig(){return{tags:["OL","UL","LI"]}}static get conversionConfig(){return{export:t=>e.joinRecursive(t),import:(e,t)=>({meta:{},items:[{content:e,meta:{},items:[]}],style:void 0!==(null==t?void 0:t.defaultStyle)?t.defaultStyle:"unordered"})}}get listStyle(){return this.data.style||this.defaultListStyle}set listStyle(e){var t;this.data.style=e,this.changeTabulatorByStyle();const o=this.list.render();null==(t=this.listElement)||t.replaceWith(o),this.listElement=o}constructor({data:e,config:t,api:o,readOnly:n,block:i}){var r;this.api=o,this.readOnly=n,this.config=t,this.block=i,this.defaultListStyle=(null==(r=this.config)?void 0:r.defaultStyle)||"unordered",this.defaultCounterTypes=this.config.counterTypes||Array.from(Fs.values());const s={style:this.defaultListStyle,meta:{},items:[]};this.data=Object.keys(e).length?function(e){const t=[];return function(e){return"string"==typeof e.items[0]}(e)?(e.items.forEach((e=>{t.push({content:e,meta:{},items:[]})})),{style:e.style,meta:{},items:t}):function(e){return"string"!=typeof e.items[0]&&"text"in e.items[0]&&"checked"in e.items[0]&&"string"==typeof e.items[0].text&&"boolean"==typeof e.items[0].checked}(e)?(e.items.forEach((e=>{t.push({content:e.text,meta:{checked:e.checked},items:[]})})),{style:"checklist",meta:{},items:t}):function(e){return!("meta"in e)}(e)?{style:e.style,meta:{},items:e.items}:structuredClone(e)}(e):s,"ordered"===this.listStyle&&void 0===this.data.meta.counterType&&(this.data.meta.counterType="numeric"),this.changeTabulatorByStyle()}static joinRecursive(t){return t.items.map((t=>`${t.content} ${e.joinRecursive(t)}`)).join("")}render(){return this.listElement=this.list.render(),this.listElement}save(){return this.data=this.list.save(),this.data}merge(e){this.list.merge(e)}renderSettings(){const e=[{label:this.api.i18n.t("Unordered"),icon:bi,closeOnActivate:!0,isActive:"unordered"==this.listStyle,onActivate:()=>{this.listStyle="unordered"}},{label:this.api.i18n.t("Ordered"),icon:vi,closeOnActivate:!0,isActive:"ordered"==this.listStyle,onActivate:()=>{this.listStyle="ordered"}},{label:this.api.i18n.t("Checklist"),icon:mi,closeOnActivate:!0,isActive:"checklist"==this.listStyle,onActivate:()=>{this.listStyle="checklist"}}];if("ordered"===this.listStyle){const t=function(e,{value:t,placeholder:o,attributes:n,sanitize:i}){const r=wi.make("div",Rs.wrapper),s=wi.make("input",Rs.input,{placeholder:o,tabIndex:-1,value:t});for(const a in n)s.setAttribute(a,n[a]);return r.appendChild(s),s.addEventListener("input",(()=>{void 0!==i&&(s.value=i(s.value));const t=s.checkValidity();!t&&!r.classList.contains(Rs.startWithElementWrapperInvalid)&&r.classList.add(Rs.startWithElementWrapperInvalid),t&&r.classList.contains(Rs.startWithElementWrapperInvalid)&&r.classList.remove(Rs.startWithElementWrapperInvalid),t&&e(s.value)})),r}((e=>this.changeStartWith(Number(e))),{value:String(this.data.meta.start??1),placeholder:"",attributes:{required:"true"},sanitize:e=>e.replace(/\D+/g,"")}),o=[{label:this.api.i18n.t("Start with"),icon:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 14.2L8 7.4135C8 7.32872 7.90111 7.28241 7.83598 7.33668L5 9.7" stroke="black" stroke-width="1.6" stroke-linecap="round"/><path d="M14 13L16.4167 10.7778M16.4167 10.7778L14 8.5M16.4167 10.7778H11.6562" stroke="black" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>',children:{items:[{element:t,type:"html"}]}}],n={label:this.api.i18n.t("Counter type"),icon:Hs.get(this.data.meta.counterType),children:{items:[]}};Fs.forEach(((e,t)=>{const o=Fs.get(t);this.defaultCounterTypes.includes(o)&&n.children.items.push({title:this.api.i18n.t(t),icon:Hs.get(o),isActive:this.data.meta.counterType===Fs.get(t),closeOnActivate:!0,onActivate:()=>{this.changeCounters(Fs.get(t))}})})),n.children.items.length>1&&o.push(n),e.push({type:"separator"},...o)}return e}onPaste(e){const{tagName:t}=e.detail.data;switch(t){case"OL":this.listStyle="ordered";break;case"UL":case"LI":this.listStyle="unordered"}this.list.onPaste(e)}pasteHandler(e){return this.list.pasteHandler(e)}changeCounters(e){var t;null==(t=this.list)||t.changeCounters(e),this.data.meta.counterType=e}changeStartWith(e){var t;null==(t=this.list)||t.changeStartWith(e),this.data.meta.start=e}changeTabulatorByStyle(){switch(this.listStyle){case"ordered":this.list=new Ds({data:this.data,readOnly:this.readOnly,api:this.api,config:this.config,block:this.block},new Jr(this.readOnly,this.config));break;case"unordered":this.list=new Ds({data:this.data,readOnly:this.readOnly,api:this.api,config:this.config,block:this.block},new Qr(this.readOnly,this.config));break;case"checklist":this.list=new Ds({data:this.data,readOnly:this.readOnly,api:this.api,config:this.config,block:this.block},new Is(this.readOnly,this.config))}}};!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ce-paragraph{line-height:1.6em;outline:none}.ce-block:only-of-type .ce-paragraph[data-placeholder-active]:empty:before,.ce-block:only-of-type .ce-paragraph[data-placeholder-active][data-empty=true]:before{content:attr(data-placeholder-active)}.ce-paragraph p:first-of-type{margin-top:0}.ce-paragraph p:last-of-type{margin-bottom:0}")),document.head.appendChild(e)}}catch(t){}}(); +/** + * Base Paragraph Block for the Editor.js. + * Represents a regular text block + * + * @author CodeX (team@codex.so) + * @copyright CodeX 2018 + * @license The MIT License (MIT) + */ +class zs{static get DEFAULT_PLACEHOLDER(){return""}constructor({data:e,config:t,api:o,readOnly:n}){this.api=o,this.readOnly=n,this._CSS={block:this.api.styles.block,wrapper:"ce-paragraph"},this.readOnly||(this.onKeyUp=this.onKeyUp.bind(this)),this._placeholder=t.placeholder?t.placeholder:zs.DEFAULT_PLACEHOLDER,this._data=e??{},this._element=null,this._preserveBlank=t.preserveBlank??!1}onKeyUp(e){if("Backspace"!==e.code&&"Delete"!==e.code||!this._element)return;const{textContent:t}=this._element;""===t&&(this._element.innerHTML="")}drawView(){const e=document.createElement("DIV");return e.classList.add(this._CSS.wrapper,this._CSS.block),e.contentEditable="false",e.dataset.placeholderActive=this.api.i18n.t(this._placeholder),this._data.text&&(e.innerHTML=this._data.text),this.readOnly||(e.contentEditable="true",e.addEventListener("keyup",this.onKeyUp)),e}render(){return this._element=this.drawView(),this._element}merge(e){if(!this._element)return;this._data.text+=e.text;const t=function(e){const t=document.createElement("div");t.innerHTML=e.trim();const o=document.createDocumentFragment();return o.append(...Array.from(t.childNodes)),o}(e.text);this._element.appendChild(t),this._element.normalize()}validate(e){return!(""===e.text.trim()&&!this._preserveBlank)}save(e){return{text:e.innerHTML}}onPaste(e){const t={text:e.detail.data.innerHTML};this._data=t,window.requestAnimationFrame((()=>{this._element&&(this._element.innerHTML=this._data.text||"")}))}static get conversionConfig(){return{export:"text",import:"text"}}static get sanitize(){return{text:{br:!0}}}static get isReadOnlySupported(){return!0}static get pasteConfig(){return{tags:["P"]}}static get toolbox(){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M8 9V7.2C8 7.08954 8.08954 7 8.2 7L12 7M16 9V7.2C16 7.08954 15.9105 7 15.8 7L12 7M12 7L12 17M12 17H10M12 17H14"/></svg>',title:"Text"}}}!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.image-tool{--bg-color: #cdd1e0;--front-color: #388ae5;--border-color: #e8e8eb}.image-tool__image{border-radius:3px;overflow:hidden;margin-bottom:10px;padding-bottom:0}.image-tool__image-picture{max-width:100%;vertical-align:bottom;display:block}.image-tool__image-preloader{width:50px;height:50px;border-radius:50%;background-size:cover;margin:auto;position:relative;background-color:var(--bg-color);background-position:center center}.image-tool__image-preloader:after{content:"";position:absolute;z-index:3;width:60px;height:60px;border-radius:50%;border:2px solid var(--bg-color);border-top-color:var(--front-color);left:50%;top:50%;margin-top:-30px;margin-left:-30px;animation:image-preloader-spin 2s infinite linear;box-sizing:border-box}.image-tool__caption{visibility:hidden;position:absolute;bottom:0;left:0;margin-bottom:10px}.image-tool__caption[contentEditable=true][data-placeholder]:before{position:absolute!important;content:attr(data-placeholder);color:#707684;font-weight:400;display:none}.image-tool__caption[contentEditable=true][data-placeholder]:empty:before{display:block}.image-tool__caption[contentEditable=true][data-placeholder]:empty:focus:before{display:none}.image-tool--empty .image-tool__image,.image-tool--empty .image-tool__image-preloader{display:none}.image-tool--empty .image-tool__caption,.image-tool--uploading .image-tool__caption{visibility:hidden!important}.image-tool .cdx-button{display:flex;align-items:center;justify-content:center}.image-tool .cdx-button svg{height:auto;margin:0 6px 0 0}.image-tool--filled .cdx-button,.image-tool--filled .image-tool__image-preloader{display:none}.image-tool--uploading .image-tool__image{min-height:200px;display:flex;border:1px solid var(--border-color);background-color:#fff}.image-tool--uploading .image-tool__image-picture,.image-tool--uploading .cdx-button{display:none}.image-tool--withBorder .image-tool__image{border:1px solid var(--border-color)}.image-tool--withBackground .image-tool__image{padding:15px;background:var(--bg-color)}.image-tool--withBackground .image-tool__image-picture{max-width:60%;margin:0 auto}.image-tool--stretched .image-tool__image-picture{width:100%}.image-tool--caption .image-tool__caption{visibility:visible}.image-tool--caption{padding-bottom:50px}@keyframes image-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}')),document.head.appendChild(e)}}catch(t){}}();const Ws='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><rect width="14" height="14" x="5" y="5" stroke="currentColor" stroke-width="2" rx="4"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5.13968 15.32L8.69058 11.5661C9.02934 11.2036 9.48873 11 9.96774 11C10.4467 11 10.9061 11.2036 11.2449 11.5661L15.3871 16M13.5806 14.0664L15.0132 12.533C15.3519 12.1705 15.8113 11.9668 16.2903 11.9668C16.7693 11.9668 17.2287 12.1705 17.5675 12.533L18.841 13.9634"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13.7778 9.33331H13.7867"/></svg>';function $s(e,t=null,o={}){const n=document.createElement(e);Array.isArray(t)?n.classList.add(...t):null!==t&&n.classList.add(t);for(const i in o)o.hasOwnProperty(i)&&(n[i]=o[i]);return n}var qs=(e=>(e.Empty="empty",e.Uploading="uploading",e.Filled="filled",e))(qs||{});let Ks=class{constructor({api:e,config:t,onSelectFile:o,readOnly:n}){this.api=e,this.config=t,this.onSelectFile=o,this.readOnly=n,this.nodes={wrapper:$s("div",[this.CSS.baseClass,this.CSS.wrapper]),imageContainer:$s("div",[this.CSS.imageContainer]),fileButton:this.createFileButton(),imageEl:void 0,imagePreloader:$s("div",this.CSS.imagePreloader),caption:$s("div",[this.CSS.input,this.CSS.caption],{contentEditable:!this.readOnly})},this.nodes.caption.dataset.placeholder=this.config.captionPlaceholder,this.nodes.imageContainer.appendChild(this.nodes.imagePreloader),this.nodes.wrapper.appendChild(this.nodes.imageContainer),this.nodes.wrapper.appendChild(this.nodes.caption),this.nodes.wrapper.appendChild(this.nodes.fileButton)}applyTune(e,t){this.nodes.wrapper.classList.toggle(`${this.CSS.wrapper}--${e}`,t)}render(){return this.toggleStatus("empty"),this.nodes.wrapper}showPreloader(e){this.nodes.imagePreloader.style.backgroundImage=`url(${e})`,this.toggleStatus("uploading")}hidePreloader(){this.nodes.imagePreloader.style.backgroundImage="",this.toggleStatus("empty")}fillImage(e){const t=/\.mp4$/.test(e)?"VIDEO":"IMG",o={src:e};let n="load";"VIDEO"===t&&(o.autoplay=!0,o.loop=!0,o.muted=!0,o.playsinline=!0,n="loadeddata"),this.nodes.imageEl=$s(t,this.CSS.imageEl,o),this.nodes.imageEl.addEventListener(n,(()=>{this.toggleStatus("filled"),void 0!==this.nodes.imagePreloader&&(this.nodes.imagePreloader.style.backgroundImage="")})),this.nodes.imageContainer.appendChild(this.nodes.imageEl)}fillCaption(e){void 0!==this.nodes.caption&&(this.nodes.caption.innerHTML=e)}toggleStatus(e){for(const t in qs)if(Object.prototype.hasOwnProperty.call(qs,t)){const o=qs[t];this.nodes.wrapper.classList.toggle(`${this.CSS.wrapper}--${o}`,o===e)}}get CSS(){return{baseClass:this.api.styles.block,loading:this.api.styles.loader,input:this.api.styles.input,button:this.api.styles.button,wrapper:"image-tool",imageContainer:"image-tool__image",imagePreloader:"image-tool__image-preloader",imageEl:"image-tool__image-picture",caption:"image-tool__caption"}}createFileButton(){const e=$s("div",[this.CSS.button]);return e.innerHTML=this.config.buttonContent??`${Ws} ${this.api.i18n.t("Select an Image")}`,e.addEventListener("click",(()=>{this.onSelectFile()})),e}};function Ys(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xs={exports:{}};window;const Vs=Ys(Xs.exports=function(e){var t={};function o(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=3)}([function(e,t){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{"object"==typeof window&&(o=window)}e.exports=o},function(e,t,o){(function(e){var n=o(2),i=setTimeout;function r(){}function s(e){if(!(this instanceof s))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],h(e,this)}function a(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,s._immediateFn((function(){var o=1===e._state?t.onFulfilled:t.onRejected;if(null!==o){var n;try{n=o(e._value)}catch(i){return void c(t.promise,i)}l(t.promise,n)}else(1===e._state?l:c)(t.promise,e._value)}))):e._deferreds.push(t)}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var o=t.then;if(t instanceof s)return e._state=3,e._value=t,void d(e);if("function"==typeof o)return void h((n=o,i=t,function(){n.apply(i,arguments)}),e)}e._state=1,e._value=t,d(e)}catch(r){c(e,r)}var n,i}function c(e,t){e._state=2,e._value=t,d(e)}function d(e){2===e._state&&0===e._deferreds.length&&s._immediateFn((function(){e._handled||s._unhandledRejectionFn(e._value)}));for(var t=0,o=e._deferreds.length;t<o;t++)a(e,e._deferreds[t]);e._deferreds=null}function u(e,t,o){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=o}function h(e,t){var o=!1;try{e((function(e){o||(o=!0,l(t,e))}),(function(e){o||(o=!0,c(t,e))}))}catch(n){if(o)return;o=!0,c(t,n)}}s.prototype.catch=function(e){return this.then(null,e)},s.prototype.then=function(e,t){var o=new this.constructor(r);return a(this,new u(e,t,o)),o},s.prototype.finally=n.a,s.all=function(e){return new s((function(t,o){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var n=Array.prototype.slice.call(e);if(0===n.length)return t([]);var i=n.length;function r(e,s){try{if(s&&("object"==typeof s||"function"==typeof s)){var a=s.then;if("function"==typeof a)return void a.call(s,(function(t){r(e,t)}),o)}n[e]=s,0==--i&&t(n)}catch(l){o(l)}}for(var s=0;s<n.length;s++)r(s,n[s])}))},s.resolve=function(e){return e&&"object"==typeof e&&e.constructor===s?e:new s((function(t){t(e)}))},s.reject=function(e){return new s((function(t,o){o(e)}))},s.race=function(e){return new s((function(t,o){for(var n=0,i=e.length;n<i;n++)e[n].then(t,o)}))},s._immediateFn="function"==typeof e&&function(t){e(t)}||function(e){i(e,0)},s._unhandledRejectionFn=function(e){typeof console<"u"&&console},t.a=s}).call(this,o(5).setImmediate)},function(e,t,o){t.a=function(e){var t=this.constructor;return this.then((function(o){return t.resolve(e()).then((function(){return o}))}),(function(o){return t.resolve(e()).then((function(){return t.reject(o)}))}))}},function(e,t,o){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}o(4);var i,r,s,a,l,c,d,u=o(8),h=(r=function(e){return new Promise((function(t,o){e=a(e),(e=l(e)).beforeSend&&e.beforeSend();var n=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");n.open(e.method,e.url),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(e.headers).forEach((function(t){var o=e.headers[t];n.setRequestHeader(t,o)}));var i=e.ratio;n.upload.addEventListener("progress",(function(t){var o=Math.round(t.loaded/t.total*100),n=Math.ceil(o*i/100);e.progress(Math.min(n,100))}),!1),n.addEventListener("progress",(function(t){var o=Math.round(t.loaded/t.total*100),n=Math.ceil(o*(100-i)/100)+i;e.progress(Math.min(n,100))}),!1),n.onreadystatechange=function(){if(4===n.readyState){var e=n.response;try{e=JSON.parse(e)}catch{}var i=u.parseHeaders(n.getAllResponseHeaders()),r={body:e,code:n.status,headers:i};d(n.status)?t(r):o(r)}},n.send(e.data)}))},s=function(e){return e.method="POST",r(e)},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.url&&"string"!=typeof e.url)throw new Error("Url must be a string");if(e.url=e.url||"",e.method&&"string"!=typeof e.method)throw new Error("`method` must be a string or null");if(e.method=e.method?e.method.toUpperCase():"GET",e.headers&&"object"!==n(e.headers))throw new Error("`headers` must be an object or null");if(e.headers=e.headers||{},e.type&&("string"!=typeof e.type||!Object.values(i).includes(e.type)))throw new Error("`type` must be taken from module's «contentType» library");if(e.progress&&"function"!=typeof e.progress)throw new Error("`progress` must be a function or null");if(e.progress=e.progress||function(e){},e.beforeSend=e.beforeSend||function(e){},e.ratio&&"number"!=typeof e.ratio)throw new Error("`ratio` must be a number");if(e.ratio<0||e.ratio>100)throw new Error("`ratio` must be in a 0-100 interval");if(e.ratio=e.ratio||90,e.accept&&"string"!=typeof e.accept)throw new Error("`accept` must be a string with a list of allowed mime-types");if(e.accept=e.accept||"*/*",e.multiple&&"boolean"!=typeof e.multiple)throw new Error("`multiple` must be a true or false");if(e.multiple=e.multiple||!1,e.fieldName&&"string"!=typeof e.fieldName)throw new Error("`fieldName` must be a string");return e.fieldName=e.fieldName||"files",e},l=function(e){switch(e.method){case"GET":var t=c(e.data,i.URLENCODED);delete e.data,e.url=/\?/.test(e.url)?e.url+"&"+t:e.url+"?"+t;break;case"POST":case"PUT":case"DELETE":case"UPDATE":var o=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).type||i.JSON}(e);(u.isFormData(e.data)||u.isFormElement(e.data))&&(o=i.FORM),e.data=c(e.data,o),o!==h.contentType.FORM&&(e.headers["content-type"]=o)}return e},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};switch(arguments.length>1?arguments[1]:void 0){case i.URLENCODED:return u.urlEncode(e);case i.JSON:return u.jsonEncode(e);case i.FORM:return u.formEncode(e);default:return e}},d=function(e){return e>=200&&e<300},{contentType:i={URLENCODED:"application/x-www-form-urlencoded; charset=utf-8",FORM:"multipart/form-data",JSON:"application/json; charset=utf-8"},request:r,get:function(e){return e.method="GET",r(e)},post:s,transport:function(e){return e=a(e),u.selectFiles(e).then((function(t){for(var o=new FormData,n=0;n<t.length;n++)o.append(e.fieldName,t[n],t[n].name);u.isObject(e.data)&&Object.keys(e.data).forEach((function(t){var n=e.data[t];o.append(t,n)}));var i=e.beforeSend;return e.beforeSend=function(){return i(t)},e.data=o,s(e)}))},selectFiles:function(e){return delete(e=a(e)).beforeSend,u.selectFiles(e)}});e.exports=h},function(e,t,o){o.r(t);var n=o(1);window.Promise=window.Promise||n.a},function(e,t,o){(function(e){var n=void 0!==e&&e||typeof self<"u"&&self||window,i=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new r(i.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new r(i.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},o(6),t.setImmediate=typeof self<"u"&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate=typeof self<"u"&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,o(0))},function(e,t,o){(function(e,t){!function(e,o){if(!e.setImmediate){var n,i,r,s,a,l=1,c={},d=!1,u=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){f(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,o=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=o,t}}()?(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&f(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(s+t,"*")}):e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){f(e.data)},n=function(e){r.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(i=u.documentElement,n=function(e){var t=u.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):n=function(e){setTimeout(f,0,e)},h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),o=0;o<t.length;o++)t[o]=arguments[o+1];var i={callback:e,args:t};return c[l]=i,n(l),l++},h.clearImmediate=p}function p(e){delete c[e]}function f(e){if(d)setTimeout(f,0,e);else{var t=c[e];if(t){d=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(o,n)}}(t)}finally{p(e),d=!1}}}}}(typeof self>"u"?void 0===e?this:e:self)}).call(this,o(0),o(7))},function(e,t){var o,n,i=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(o===setTimeout)return setTimeout(e,0);if((o===r||!o)&&setTimeout)return o=setTimeout,setTimeout(e,0);try{return o(e,0)}catch{try{return o.call(null,e,0)}catch{return o.call(this,e,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:r}catch{o=r}try{n="function"==typeof clearTimeout?clearTimeout:s}catch{n=s}}();var l,c=[],d=!1,u=-1;function h(){d&&l&&(d=!1,l.length?c=l.concat(c):u=-1,c.length&&p())}function p(){if(!d){var e=a(h);d=!0;for(var t=c.length;t;){for(l=c,c=[];++u<t;)l&&l[u].run();u=-1,t=c.length}l=null,d=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch{try{return n.call(null,e)}catch{return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)t[o-1]=arguments[o];c.push(new f(e,t)),1!==c.length||d||a(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,o){function n(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=o(9);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,o,r;return t=e,r=[{key:"urlEncode",value:function(e){return i(e)}},{key:"jsonEncode",value:function(e){return JSON.stringify(e)}},{key:"formEncode",value:function(e){if(this.isFormData(e))return e;if(this.isFormElement(e))return new FormData(e);if(this.isObject(e)){var t=new FormData;return Object.keys(e).forEach((function(o){var n=e[o];t.append(o,n)})),t}throw new Error("`data` must be an instance of Object, FormData or <FORM> HTMLElement")}},{key:"isObject",value:function(e){return"[object Object]"===Object.prototype.toString.call(e)}},{key:"isFormData",value:function(e){return e instanceof FormData}},{key:"isFormElement",value:function(e){return e instanceof HTMLFormElement}},{key:"selectFiles",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(t,o){var n=document.createElement("INPUT");n.type="file",e.multiple&&n.setAttribute("multiple","multiple"),e.accept&&n.setAttribute("accept",e.accept),n.style.display="none",document.body.appendChild(n),n.addEventListener("change",(function(e){var o=e.target.files;t(o),document.body.removeChild(n)}),!1),n.click()}))}},{key:"parseHeaders",value:function(e){var t=e.trim().split(/[\r\n]+/),o={};return t.forEach((function(e){var t=e.split(": "),n=t.shift(),i=t.join(": ");n&&(o[n]=i)})),o}}],(o=null)&&n(t.prototype,o),r&&n(t,r),e}()},function(e,t){var o=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape).replace(/%20/g,"+")},n=function(e,t,i,r){return t=t||null,i=i||"&",r=r||null,e?function(e){for(var t=new Array,o=0;o<e.length;o++)e[o]&&t.push(e[o]);return t}(Object.keys(e).map((function(s){var a,l,c=s;if(r&&(c=r+"["+c+"]"),"object"==typeof e[s]&&null!==e[s])a=n(e[s],null,i,c);else{t&&(l=c,c=!isNaN(parseFloat(l))&&isFinite(l)?t+Number(c):c);var d=e[s];d=(d=0===(d=!1===(d=!0===d?"1":d)?"0":d)?"0":d)||"",a=o(c)+"="+o(d)}return a}))).join(i).replace(/[!'()*]/g,""):""};e.exports=n}]));function Gs(e){return void 0!==e&&"function"==typeof e.then}let Zs=class{constructor({config:e,onUpload:t,onError:o}){this.config=e,this.onUpload=t,this.onError=o}uploadSelectedFile({onPreview:e}){const t=function(t){const o=new FileReader;o.readAsDataURL(t),o.onload=t=>{e(t.target.result)}};let o;if(this.config.uploader&&"function"==typeof this.config.uploader.uploadByFile){const e=this.config.uploader.uploadByFile;o=Vs.selectFiles({accept:this.config.types??"image/*"}).then((o=>{t(o[0]);const n=e(o[0]);return Gs(n),n}))}else o=Vs.transport({url:this.config.endpoints.byFile,data:this.config.additionalRequestData,accept:this.config.types??"image/*",headers:this.config.additionalRequestHeaders,beforeSend:e=>{t(e[0])},fieldName:this.config.field??"image"}).then((e=>e.body));o.then((e=>{this.onUpload(e)})).catch((e=>{this.onError(e)}))}uploadByUrl(e){let t;this.config.uploader&&"function"==typeof this.config.uploader.uploadByUrl?(t=this.config.uploader.uploadByUrl(e),Gs(t)):t=Vs.post({url:this.config.endpoints.byUrl,data:Object.assign({url:e},this.config.additionalRequestData),type:Vs.contentType.JSON,headers:this.config.additionalRequestHeaders}).then((e=>e.body)),t.then((e=>{this.onUpload(e)})).catch((e=>{this.onError(e)}))}uploadByFile(e,{onPreview:t}){const o=new FileReader;let n;if(o.readAsDataURL(e),o.onload=e=>{t(e.target.result)},this.config.uploader&&"function"==typeof this.config.uploader.uploadByFile)n=this.config.uploader.uploadByFile(e),Gs(n);else{const t=new FormData;t.append(this.config.field??"image",e),this.config.additionalRequestData&&Object.keys(this.config.additionalRequestData).length&&Object.entries(this.config.additionalRequestData).forEach((([e,o])=>{t.append(e,o)})),n=Vs.post({url:this.config.endpoints.byFile,data:t,type:Vs.contentType.JSON,headers:this.config.additionalRequestHeaders}).then((e=>e.body))}n.then((e=>{this.onUpload(e)})).catch((e=>{this.onError(e)}))}},Js=class e{constructor({data:e,config:t,api:o,readOnly:n,block:i}){this.isCaptionEnabled=null,this.api=o,this.block=i,this.config={endpoints:t.endpoints,additionalRequestData:t.additionalRequestData,additionalRequestHeaders:t.additionalRequestHeaders,field:t.field,types:t.types,captionPlaceholder:this.api.i18n.t(t.captionPlaceholder??"Caption"),buttonContent:t.buttonContent,uploader:t.uploader,actions:t.actions,features:t.features||{}},this.uploader=new Zs({config:this.config,onUpload:e=>this.onUpload(e),onError:e=>this.uploadingFailed(e)}),this.ui=new Ks({api:o,config:this.config,onSelectFile:()=>{this.uploader.uploadSelectedFile({onPreview:e=>{this.ui.showPreloader(e)}})},readOnly:n}),this._data={caption:"",withBorder:!1,withBackground:!1,stretched:!1,file:{url:""}},this.data=e}static get isReadOnlySupported(){return!0}static get toolbox(){return{icon:Ws,title:"Image"}}static get tunes(){return[{name:"withBorder",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18.9919 9.5H19.0015"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.5 5H14.5096"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M14.625 5H15C17.2091 5 19 6.79086 19 9V9.375"/><path stroke="currentColor" stroke-width="2" d="M9.375 5L9 5C6.79086 5 5 6.79086 5 9V9.375"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.3725 5H9.38207"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 9.5H5.00957"/><path stroke="currentColor" stroke-width="2" d="M9.375 19H9C6.79086 19 5 17.2091 5 15V14.625"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.3725 19H9.38207"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 14.55H5.00957"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16 13V16M16 19V16M19 16H16M16 16H13"/></svg>',title:"With border",toggle:!0},{name:"stretched",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 9L20 12L17 15"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 12H20"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 9L4 12L7 15"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 12H10"/></svg>',title:"Stretch image",toggle:!0},{name:"withBackground",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 19V19C9.13623 19 8.20435 19 7.46927 18.6955C6.48915 18.2895 5.71046 17.5108 5.30448 16.5307C5 15.7956 5 14.8638 5 13V12C5 9.19108 5 7.78661 5.67412 6.77772C5.96596 6.34096 6.34096 5.96596 6.77772 5.67412C7.78661 5 9.19108 5 12 5H13.5C14.8956 5 15.5933 5 16.1611 5.17224C17.4395 5.56004 18.44 6.56046 18.8278 7.83886C19 8.40666 19 9.10444 19 10.5V10.5"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16 13V16M16 19V16M19 16H16M16 16H13"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6.5 17.5L17.5 6.5"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18.9919 10.5H19.0015"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.9919 19H11.0015"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13L13 5"/></svg>',title:"With background",toggle:!0}]}render(){var e,t,o;return(!0===(null==(e=this.config.features)?void 0:e.caption)||void 0===(null==(t=this.config.features)?void 0:t.caption)||"optional"===(null==(o=this.config.features)?void 0:o.caption)&&this.data.caption)&&(this.isCaptionEnabled=!0,this.ui.applyTune("caption",!0)),this.ui.render()}validate(e){return!!e.file.url}save(){const e=this.ui.nodes.caption;return this._data.caption=e.innerHTML,this.data}renderSettings(){var t;const o=e.tunes.concat(this.config.actions||[]),n={border:"withBorder",background:"withBackground",stretch:"stretched",caption:"caption"};"optional"===(null==(t=this.config.features)?void 0:t.caption)&&o.push({name:"caption",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M8 9V7.2C8 7.08954 8.08954 7 8.2 7L12 7M16 9V7.2C16 7.08954 15.9105 7 15.8 7L12 7M12 7L12 17M12 17H10M12 17H14"/></svg>',title:"With caption",toggle:!0});const i=o.filter((e=>{var t,o;const i=Object.keys(n).find((t=>n[t]===e.name));return"caption"===i?!1!==(null==(t=this.config.features)?void 0:t.caption):null==i||!1!==(null==(o=this.config.features)?void 0:o[i])})),r=e=>{let t=this.data[e.name];return"caption"===e.name&&(t=this.isCaptionEnabled??t),t};return i.map((e=>({icon:e.icon,label:this.api.i18n.t(e.title),name:e.name,toggle:e.toggle,isActive:r(e),onActivate:()=>{if("function"==typeof e.action)return void e.action(e.name);let t=!r(e);"caption"===e.name&&(this.isCaptionEnabled=!this.isCaptionEnabled,t=this.isCaptionEnabled),this.tuneToggled(e.name,t)}})))}appendCallback(){this.ui.nodes.fileButton.click()}static get pasteConfig(){return{tags:[{img:{src:!0}}],patterns:{image:/https?:\/\/\S+\.(gif|jpe?g|tiff|png|svg|webp)(\?[a-z0-9=]*)?$/i},files:{mimeTypes:["image/*"]}}}async onPaste(e){switch(e.type){case"tag":{const t=e.detail.data;if(/^blob:/.test(t.src)){const e=await(await fetch(t.src)).blob();this.uploadFile(e);break}this.uploadUrl(t.src);break}case"pattern":{const t=e.detail.data;this.uploadUrl(t);break}case"file":{const t=e.detail.file;this.uploadFile(t);break}}}set data(t){var o;this.image=t.file,this._data.caption=t.caption||"",this.ui.fillCaption(this._data.caption),e.tunes.forEach((({name:e})=>{const o=typeof t[e]<"u"&&(!0===t[e]||"true"===t[e]);this.setTune(e,o)})),(t.caption||!0===(null==(o=this.config.features)?void 0:o.caption))&&this.setTune("caption",!0)}get data(){return this._data}set image(e){this._data.file=e||{url:""},e&&e.url&&this.ui.fillImage(e.url)}onUpload(e){e.success&&e.file?this.image=e.file:this.uploadingFailed("incorrect response: "+JSON.stringify(e))}uploadingFailed(e){this.api.notifier.show({message:this.api.i18n.t("Couldn’t upload image. Please try another."),style:"error"}),this.ui.hidePreloader()}tuneToggled(e,t){"caption"===e?(this.ui.applyTune(e,t),0==t&&(this._data.caption="",this.ui.fillCaption(""))):this.setTune(e,t)}setTune(e,t){this._data[e]=t,this.ui.applyTune(e,t),"stretched"===e&&Promise.resolve().then((()=>{this.block.stretched=t})).catch((e=>{}))}uploadFile(e){this.uploader.uploadByFile(e,{onPreview:e=>{this.ui.showPreloader(e)}})}uploadUrl(e){this.ui.showPreloader(e),this.uploader.uploadByUrl(e)}}; +/** + * Image Tool for the Editor.js + * @author CodeX <team@codex.so> + * @license MIT + * @see {@link https://github.com/editor-js/image} + * + * To developers. + * To simplify Tool structure, we split it to 4 parts: + * 1) index.ts — main Tool's interface, public API and methods for working with data + * 2) uploader.ts — module that has methods for sending files via AJAX: from device, by URL or File pasting + * 3) ui.ts — module for UI manipulations: render, showing preloader, etc + * + * For debug purposes there is a testing server + * that can save uploaded files and return a Response {@link UploadResponseFormat} + * + * $ node dev/server.js + * + * It will expose 8008 port, so you can pass http://localhost:8008 with the Tools config: + * + * image: { + * class: ImageTool, + * config: { + * endpoints: { + * byFile: 'http://localhost:8008/uploadFile', + * byUrl: 'http://localhost:8008/fetchUrl', + * } + * }, + * }, + */!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".cdx-quote-icon svg{transform:rotate(180deg)}.cdx-quote{margin:0}.cdx-quote__text{min-height:158px;margin-bottom:10px}.cdx-quote [contentEditable=true][data-placeholder]:before{position:absolute;content:attr(data-placeholder);color:#707684;font-weight:400;opacity:0}.cdx-quote [contentEditable=true][data-placeholder]:empty:before{opacity:1}.cdx-quote [contentEditable=true][data-placeholder]:empty:focus:before{opacity:0}.cdx-quote-settings{display:flex}.cdx-quote-settings .cdx-settings-button{width:50%}")),document.head.appendChild(e)}}catch(t){}}();var Qs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ea(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var o=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),o}var ta={},oa={},na={};Object.defineProperty(na,"__esModule",{value:!0}),na.allInputsSelector=function(){return"[contenteditable=true], textarea, input:not([type]), "+["text","password","email","number","search","tel","url"].map((function(e){return'input[type="'.concat(e,'"]')})).join(", ")},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.allInputsSelector=void 0;var t=na;Object.defineProperty(e,"allInputsSelector",{enumerable:!0,get:function(){return t.allInputsSelector}})}(oa);var ia={},ra={};Object.defineProperty(ra,"__esModule",{value:!0}),ra.isNativeInput=function(e){return!(!e||!e.tagName)&&["INPUT","TEXTAREA"].includes(e.tagName)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isNativeInput=void 0;var t=ra;Object.defineProperty(e,"isNativeInput",{enumerable:!0,get:function(){return t.isNativeInput}})}(ia);var sa={},aa={};Object.defineProperty(aa,"__esModule",{value:!0}),aa.append=function(e,t){Array.isArray(t)?t.forEach((function(t){e.appendChild(t)})):e.appendChild(t)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.append=void 0;var t=aa;Object.defineProperty(e,"append",{enumerable:!0,get:function(){return t.append}})}(sa);var la={},ca={};Object.defineProperty(ca,"__esModule",{value:!0}),ca.blockElements=function(){return["address","article","aside","blockquote","canvas","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","ruby","section","table","tbody","thead","tr","tfoot","ul","video"]},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.blockElements=void 0;var t=ca;Object.defineProperty(e,"blockElements",{enumerable:!0,get:function(){return t.blockElements}})}(la);var da={},ua={};Object.defineProperty(ua,"__esModule",{value:!0}),ua.calculateBaseline=function(e){var t=window.getComputedStyle(e),o=parseFloat(t.fontSize),n=parseFloat(t.lineHeight)||1.2*o,i=parseFloat(t.paddingTop),r=parseFloat(t.borderTopWidth);return parseFloat(t.marginTop)+r+i+(n-o)/2+.8*o},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.calculateBaseline=void 0;var t=ua;Object.defineProperty(e,"calculateBaseline",{enumerable:!0,get:function(){return t.calculateBaseline}})}(da);var ha={},pa={},fa={},ga={};Object.defineProperty(ga,"__esModule",{value:!0}),ga.isContentEditable=function(e){return"true"===e.contentEditable},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isContentEditable=void 0;var t=ga;Object.defineProperty(e,"isContentEditable",{enumerable:!0,get:function(){return t.isContentEditable}})}(fa),Object.defineProperty(pa,"__esModule",{value:!0}),pa.canSetCaret=function(e){var t=!0;if((0,ma.isNativeInput)(e))switch(e.type){case"file":case"checkbox":case"radio":case"hidden":case"submit":case"button":case"image":case"reset":t=!1}else t=(0,ba.isContentEditable)(e);return t};var ma=ia,ba=fa;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.canSetCaret=void 0;var t=pa;Object.defineProperty(e,"canSetCaret",{enumerable:!0,get:function(){return t.canSetCaret}})}(ha);var va={},ya={};function ka(){const e={win:!1,mac:!1,x11:!1,linux:!1},t=Object.keys(e).find((e=>-1!==window.navigator.appVersion.toLowerCase().indexOf(e)));return void 0!==t&&(e[t]=!0),e}function wa(e){return null!=e&&""!==e&&("object"!=typeof e||Object.keys(e).length>0)}function xa(e){return Object.prototype.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function Ea(e){return"function"===xa(e)||"asyncfunction"===xa(e)}function Ca(e){return"object"===xa(e)}const Sa=Object.freeze(Object.defineProperty({__proto__:null,PromiseQueue:class{constructor(){this.completed=Promise.resolve()}add(e){return new Promise(((t,o)=>{this.completed=this.completed.then(e).then(t).catch(o)}))}},beautifyShortcut:function(e){const t=ka();return e=e.replace(/shift/gi,"⇧").replace(/backspace/gi,"⌫").replace(/enter/gi,"⏎").replace(/up/gi,"↑").replace(/left/gi,"→").replace(/down/gi,"↓").replace(/right/gi,"←").replace(/escape/gi,"⎋").replace(/insert/gi,"Ins").replace(/delete/gi,"␡").replace(/\+/gi,"+"),e=t.mac?e.replace(/ctrl|cmd/gi,"⌘").replace(/alt/gi,"⌥"):e.replace(/cmd/gi,"Ctrl").replace(/windows/gi,"WIN")},cacheable:function(e,t,o){const n=void 0!==o.value?"value":"get",i=o[n],r=`#${t}Cache`;if(o[n]=function(...e){return void 0===this[r]&&(this[r]=i.apply(this,e)),this[r]},"get"===n&&o.set){const t=o.set;o.set=function(o){delete e[r],t.apply(this,o)}}return o},capitalize:function(e){return e[0].toUpperCase()+e.slice(1)},copyTextToClipboard:function(e){const t=document.createElement("div");t.style.position="absolute",t.style.left="-999px",t.style.bottom="-999px",t.innerHTML=e,document.body.appendChild(t);const o=window.getSelection(),n=document.createRange();if(n.selectNode(t),null===o)throw new Error("Cannot copy text to clipboard");o.removeAllRanges(),o.addRange(n),document.execCommand("copy"),document.body.removeChild(t)},debounce:function(e,t,o){let n;return(...i)=>{const r=this,s=!0===o&&void 0!==n;window.clearTimeout(n),n=window.setTimeout((()=>{n=void 0,!0!==o&&e.apply(r,i)}),t),s&&e.apply(r,i)}},deepMerge:function e(t,...o){if(!o.length)return t;const n=o.shift();if(Ca(t)&&Ca(n))for(const i in n)Ca(n[i])?(void 0===t[i]&&Object.assign(t,{[i]:{}}),e(t[i],n[i])):Object.assign(t,{[i]:n[i]});return e(t,...o)},deprecationAssert:function(e,t,o){},getUserOS:ka,getValidUrl:function(e){try{return new URL(e).href}catch{}return"//"===e.substring(0,2)?window.location.protocol+e:window.location.origin+e},isBoolean:function(e){return"boolean"===xa(e)},isClass:function(e){return Ea(e)&&/^\s*class\s+/.test(e.toString())},isEmpty:function(e){return!wa(e)},isFunction:Ea,isIosDevice:()=>typeof window<"u"&&null!==window.navigator&&wa(window.navigator.platform)&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),isNumber:function(e){return"number"===xa(e)},isObject:Ca,isPrintableKey:function(e){return e>47&&e<58||32===e||13===e||229===e||e>64&&e<91||e>95&&e<112||e>185&&e<193||e>218&&e<223},isPromise:function(e){return Promise.resolve(e)===e},isString:function(e){return"string"===xa(e)},isUndefined:function(e){return"undefined"===xa(e)},keyCodes:{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,LEFT:37,UP:38,DOWN:40,RIGHT:39,DELETE:46,META:91,SLASH:191},mouseButtons:{LEFT:0,WHEEL:1,RIGHT:2,BACKWARD:3,FORWARD:4},notEmpty:wa,throttle:function(e,t,o=void 0){let n,i,r,s=null,a=0;o||(o={});const l=function(){a=!1===o.leading?0:Date.now(),s=null,r=e.apply(n,i),null===s&&(n=i=null)};return function(){const c=Date.now();!a&&!1===o.leading&&(a=c);const d=t-(c-a);return n=this,i=arguments,d<=0||d>t?(s&&(clearTimeout(s),s=null),a=c,r=e.apply(n,i),null===s&&(n=i=null)):!s&&!1!==o.trailing&&(s=setTimeout(l,d)),r}},typeOf:xa},Symbol.toStringTag,{value:"Module"})),Ta=ea(Sa);Object.defineProperty(ya,"__esModule",{value:!0}),ya.containsOnlyInlineElements=function(e){var t;(0,_a.isString)(e)?(t=document.createElement("div")).innerHTML=e:t=e;var o=function(e){return!(0,Oa.blockElements)().includes(e.tagName.toLowerCase())&&Array.from(e.children).every(o)};return Array.from(t.children).every(o)};var _a=Ta,Oa=la;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.containsOnlyInlineElements=void 0;var t=ya;Object.defineProperty(e,"containsOnlyInlineElements",{enumerable:!0,get:function(){return t.containsOnlyInlineElements}})}(va);var Ba={},Ia={},Ma={},Pa={};Object.defineProperty(Pa,"__esModule",{value:!0}),Pa.make=function(e,t,o){var n;void 0===t&&(t=null),void 0===o&&(o={});var i=document.createElement(e);if(Array.isArray(t)){var r=t.filter((function(e){return void 0!==e}));(n=i.classList).add.apply(n,r)}else null!==t&&i.classList.add(t);for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(i[s]=o[s]);return i},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.make=void 0;var t=Pa;Object.defineProperty(e,"make",{enumerable:!0,get:function(){return t.make}})}(Ma),Object.defineProperty(Ia,"__esModule",{value:!0}),Ia.fragmentToString=function(e){var t=(0,La.make)("div");return t.appendChild(e),t.innerHTML};var La=Ma;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.fragmentToString=void 0;var t=Ia;Object.defineProperty(e,"fragmentToString",{enumerable:!0,get:function(){return t.fragmentToString}})}(Ba);var Aa={},Na={};Object.defineProperty(Na,"__esModule",{value:!0}),Na.getContentLength=function(e){var t,o;return(0,ja.isNativeInput)(e)?e.value.length:e.nodeType===Node.TEXT_NODE?e.length:null!==(o=null===(t=e.textContent)||void 0===t?void 0:t.length)&&void 0!==o?o:0};var ja=ia;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getContentLength=void 0;var t=Na;Object.defineProperty(e,"getContentLength",{enumerable:!0,get:function(){return t.getContentLength}})}(Aa);var Da={},Ra={},Fa=Qs&&Qs.__spreadArray||function(e,t,o){if(o||2===arguments.length)for(var n,i=0,r=t.length;i<r;i++)(n||!(i in t))&&(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.getDeepestBlockElements=function e(t){return(0,Ha.containsOnlyInlineElements)(t)?[t]:Array.from(t.children).reduce((function(t,o){return Fa(Fa([],t,!0),e(o),!0)}),[])};var Ha=va;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepestBlockElements=void 0;var t=Ra;Object.defineProperty(e,"getDeepestBlockElements",{enumerable:!0,get:function(){return t.getDeepestBlockElements}})}(Da);var Ua={},za={},Wa={},$a={};Object.defineProperty($a,"__esModule",{value:!0}),$a.isLineBreakTag=function(e){return["BR","WBR"].includes(e.tagName)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isLineBreakTag=void 0;var t=$a;Object.defineProperty(e,"isLineBreakTag",{enumerable:!0,get:function(){return t.isLineBreakTag}})}(Wa);var qa={},Ka={};Object.defineProperty(Ka,"__esModule",{value:!0}),Ka.isSingleTag=function(e){return["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"].includes(e.tagName)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isSingleTag=void 0;var t=Ka;Object.defineProperty(e,"isSingleTag",{enumerable:!0,get:function(){return t.isSingleTag}})}(qa),Object.defineProperty(za,"__esModule",{value:!0}),za.getDeepestNode=function e(t,o){void 0===o&&(o=!1);var n=o?"lastChild":"firstChild",i=o?"previousSibling":"nextSibling";if(t.nodeType===Node.ELEMENT_NODE&&t[n]){var r=t[n];if((0,Va.isSingleTag)(r)&&!(0,Ya.isNativeInput)(r)&&!(0,Xa.isLineBreakTag)(r))if(r[i])r=r[i];else{if(null===r.parentNode||!r.parentNode[i])return r.parentNode;r=r.parentNode[i]}return e(r,o)}return t};var Ya=ia,Xa=Wa,Va=qa;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepestNode=void 0;var t=za;Object.defineProperty(e,"getDeepestNode",{enumerable:!0,get:function(){return t.getDeepestNode}})}(Ua);var Ga={},Za={},Ja=Qs&&Qs.__spreadArray||function(e,t,o){if(o||2===arguments.length)for(var n,i=0,r=t.length;i<r;i++)(n||!(i in t))&&(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(Za,"__esModule",{value:!0}),Za.findAllInputs=function(e){return Array.from(e.querySelectorAll((0,tl.allInputsSelector)())).reduce((function(e,t){return(0,ol.isNativeInput)(t)||(0,Qa.containsOnlyInlineElements)(t)?Ja(Ja([],e,!0),[t],!1):Ja(Ja([],e,!0),(0,el.getDeepestBlockElements)(t),!0)}),[])};var Qa=va,el=Da,tl=oa,ol=ia;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.findAllInputs=void 0;var t=Za;Object.defineProperty(e,"findAllInputs",{enumerable:!0,get:function(){return t.findAllInputs}})}(Ga);var nl={},il={};Object.defineProperty(il,"__esModule",{value:!0}),il.isCollapsedWhitespaces=function(e){return!/[^\t\n\r ]/.test(e)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isCollapsedWhitespaces=void 0;var t=il;Object.defineProperty(e,"isCollapsedWhitespaces",{enumerable:!0,get:function(){return t.isCollapsedWhitespaces}})}(nl);var rl={},sl={};Object.defineProperty(sl,"__esModule",{value:!0}),sl.isElement=function(e){return!(0,al.isNumber)(e)&&(!!e&&!!e.nodeType&&e.nodeType===Node.ELEMENT_NODE)};var al=Ta;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isElement=void 0;var t=sl;Object.defineProperty(e,"isElement",{enumerable:!0,get:function(){return t.isElement}})}(rl);var ll={},cl={},dl={},ul={};Object.defineProperty(ul,"__esModule",{value:!0}),ul.isLeaf=function(e){return null!==e&&0===e.childNodes.length},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isLeaf=void 0;var t=ul;Object.defineProperty(e,"isLeaf",{enumerable:!0,get:function(){return t.isLeaf}})}(dl);var hl={},pl={};Object.defineProperty(pl,"__esModule",{value:!0}),pl.isNodeEmpty=function(e,t){var o="";return!((0,bl.isSingleTag)(e)&&!(0,fl.isLineBreakTag)(e))&&((0,gl.isElement)(e)&&(0,ml.isNativeInput)(e)?o=e.value:null!==e.textContent&&(o=e.textContent.replace("​","")),void 0!==t&&(o=o.replace(new RegExp(t,"g"),"")),0===o.trim().length)};var fl=Wa,gl=rl,ml=ia,bl=qa;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isNodeEmpty=void 0;var t=pl;Object.defineProperty(e,"isNodeEmpty",{enumerable:!0,get:function(){return t.isNodeEmpty}})}(hl),Object.defineProperty(cl,"__esModule",{value:!0}),cl.isEmpty=function(e,t){e.normalize();for(var o=[e];o.length>0;){var n=o.shift();if(n){if(e=n,(0,vl.isLeaf)(e)&&!(0,yl.isNodeEmpty)(e,t))return!1;o.push.apply(o,Array.from(e.childNodes))}}return!0};var vl=dl,yl=hl;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isEmpty=void 0;var t=cl;Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return t.isEmpty}})}(ll);var kl={},wl={};Object.defineProperty(wl,"__esModule",{value:!0}),wl.isFragment=function(e){return!(0,xl.isNumber)(e)&&(!!e&&!!e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)};var xl=Ta;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isFragment=void 0;var t=wl;Object.defineProperty(e,"isFragment",{enumerable:!0,get:function(){return t.isFragment}})}(kl);var El={},Cl={};Object.defineProperty(Cl,"__esModule",{value:!0}),Cl.isHTMLString=function(e){var t=(0,Sl.make)("div");return t.innerHTML=e,t.childElementCount>0};var Sl=Ma;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isHTMLString=void 0;var t=Cl;Object.defineProperty(e,"isHTMLString",{enumerable:!0,get:function(){return t.isHTMLString}})}(El);var Tl={},_l={};Object.defineProperty(_l,"__esModule",{value:!0}),_l.offset=function(e){var t=e.getBoundingClientRect(),o=window.pageXOffset||document.documentElement.scrollLeft,n=window.pageYOffset||document.documentElement.scrollTop,i=t.top+n,r=t.left+o;return{top:i,left:r,bottom:i+t.height,right:r+t.width}},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.offset=void 0;var t=_l;Object.defineProperty(e,"offset",{enumerable:!0,get:function(){return t.offset}})}(Tl);var Ol={},Bl={};Object.defineProperty(Bl,"__esModule",{value:!0}),Bl.prepend=function(e,t){Array.isArray(t)?(t=t.reverse()).forEach((function(t){return e.prepend(t)})):e.prepend(t)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.prepend=void 0;var t=Bl;Object.defineProperty(e,"prepend",{enumerable:!0,get:function(){return t.prepend}})}(Ol),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.prepend=e.offset=e.make=e.isLineBreakTag=e.isSingleTag=e.isNodeEmpty=e.isLeaf=e.isHTMLString=e.isFragment=e.isEmpty=e.isElement=e.isContentEditable=e.isCollapsedWhitespaces=e.findAllInputs=e.isNativeInput=e.allInputsSelector=e.getDeepestNode=e.getDeepestBlockElements=e.getContentLength=e.fragmentToString=e.containsOnlyInlineElements=e.canSetCaret=e.calculateBaseline=e.blockElements=e.append=void 0;var t=oa;Object.defineProperty(e,"allInputsSelector",{enumerable:!0,get:function(){return t.allInputsSelector}});var o=ia;Object.defineProperty(e,"isNativeInput",{enumerable:!0,get:function(){return o.isNativeInput}});var n=sa;Object.defineProperty(e,"append",{enumerable:!0,get:function(){return n.append}});var i=la;Object.defineProperty(e,"blockElements",{enumerable:!0,get:function(){return i.blockElements}});var r=da;Object.defineProperty(e,"calculateBaseline",{enumerable:!0,get:function(){return r.calculateBaseline}});var s=ha;Object.defineProperty(e,"canSetCaret",{enumerable:!0,get:function(){return s.canSetCaret}});var a=va;Object.defineProperty(e,"containsOnlyInlineElements",{enumerable:!0,get:function(){return a.containsOnlyInlineElements}});var l=Ba;Object.defineProperty(e,"fragmentToString",{enumerable:!0,get:function(){return l.fragmentToString}});var c=Aa;Object.defineProperty(e,"getContentLength",{enumerable:!0,get:function(){return c.getContentLength}});var d=Da;Object.defineProperty(e,"getDeepestBlockElements",{enumerable:!0,get:function(){return d.getDeepestBlockElements}});var u=Ua;Object.defineProperty(e,"getDeepestNode",{enumerable:!0,get:function(){return u.getDeepestNode}});var h=Ga;Object.defineProperty(e,"findAllInputs",{enumerable:!0,get:function(){return h.findAllInputs}});var p=nl;Object.defineProperty(e,"isCollapsedWhitespaces",{enumerable:!0,get:function(){return p.isCollapsedWhitespaces}});var f=fa;Object.defineProperty(e,"isContentEditable",{enumerable:!0,get:function(){return f.isContentEditable}});var g=rl;Object.defineProperty(e,"isElement",{enumerable:!0,get:function(){return g.isElement}});var m=ll;Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return m.isEmpty}});var b=kl;Object.defineProperty(e,"isFragment",{enumerable:!0,get:function(){return b.isFragment}});var v=El;Object.defineProperty(e,"isHTMLString",{enumerable:!0,get:function(){return v.isHTMLString}});var y=dl;Object.defineProperty(e,"isLeaf",{enumerable:!0,get:function(){return y.isLeaf}});var k=hl;Object.defineProperty(e,"isNodeEmpty",{enumerable:!0,get:function(){return k.isNodeEmpty}});var w=Wa;Object.defineProperty(e,"isLineBreakTag",{enumerable:!0,get:function(){return w.isLineBreakTag}});var x=qa;Object.defineProperty(e,"isSingleTag",{enumerable:!0,get:function(){return x.isSingleTag}});var E=Ma;Object.defineProperty(e,"make",{enumerable:!0,get:function(){return E.make}});var C=Tl;Object.defineProperty(e,"offset",{enumerable:!0,get:function(){return C.offset}});var S=Ol;Object.defineProperty(e,"prepend",{enumerable:!0,get:function(){return S.prepend}})}(ta);var Il=(e=>(e.Left="left",e.Center="center",e))(Il||{});let Ml=class e{constructor({data:t,config:o,api:n,readOnly:i,block:r}){const{DEFAULT_ALIGNMENT:s}=e;this.api=n,this.readOnly=i,this.quotePlaceholder=n.i18n.t((null==o?void 0:o.quotePlaceholder)??e.DEFAULT_QUOTE_PLACEHOLDER),this.captionPlaceholder=n.i18n.t((null==o?void 0:o.captionPlaceholder)??e.DEFAULT_CAPTION_PLACEHOLDER),this.data={text:t.text||"",caption:t.caption||"",alignment:Object.values(Il).includes(t.alignment)?t.alignment:(null==o?void 0:o.defaultAlignment)??s},this.css={baseClass:this.api.styles.block,wrapper:"cdx-quote",text:"cdx-quote__text",input:this.api.styles.input,caption:"cdx-quote__caption"},this.block=r}static get isReadOnlySupported(){return!0}static get toolbox(){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 10.8182L9 10.8182C8.80222 10.8182 8.60888 10.7649 8.44443 10.665C8.27998 10.5651 8.15181 10.4231 8.07612 10.257C8.00043 10.0909 7.98063 9.90808 8.01922 9.73174C8.0578 9.55539 8.15304 9.39341 8.29289 9.26627C8.43275 9.13913 8.61093 9.05255 8.80491 9.01747C8.99889 8.98239 9.19996 9.00039 9.38268 9.0692C9.56541 9.13801 9.72159 9.25453 9.83147 9.40403C9.94135 9.55353 10 9.72929 10 9.90909L10 12.1818C10 12.664 9.78929 13.1265 9.41421 13.4675C9.03914 13.8084 8.53043 14 8 14"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 10.8182L15 10.8182C14.8022 10.8182 14.6089 10.7649 14.4444 10.665C14.28 10.5651 14.1518 10.4231 14.0761 10.257C14.0004 10.0909 13.9806 9.90808 14.0192 9.73174C14.0578 9.55539 14.153 9.39341 14.2929 9.26627C14.4327 9.13913 14.6109 9.05255 14.8049 9.01747C14.9989 8.98239 15.2 9.00039 15.3827 9.0692C15.5654 9.13801 15.7216 9.25453 15.8315 9.40403C15.9414 9.55353 16 9.72929 16 9.90909L16 12.1818C16 12.664 15.7893 13.1265 15.4142 13.4675C15.0391 13.8084 14.5304 14 14 14"/></svg>',title:"Quote"}}static get contentless(){return!0}static get enableLineBreaks(){return!0}static get DEFAULT_QUOTE_PLACEHOLDER(){return"Enter a quote"}static get DEFAULT_CAPTION_PLACEHOLDER(){return"Enter a caption"}static get DEFAULT_ALIGNMENT(){return"left"}static get conversionConfig(){return{import:"text",export:function(e){return e.caption?`${e.text} — ${e.caption}`:e.text}}}get CSS(){return{baseClass:this.api.styles.block,wrapper:"cdx-quote",text:"cdx-quote__text",input:this.api.styles.input,caption:"cdx-quote__caption"}}get settings(){return[{name:"left",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M17 7L5 7"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M17 17H5"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M13 12L5 12"/></svg>'},{name:"center",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M18 7L6 7"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M18 17H6"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16 12L8 12"/></svg>'}]}render(){const e=ta.make("blockquote",[this.css.baseClass,this.css.wrapper]),t=ta.make("div",[this.css.input,this.css.text],{contentEditable:!this.readOnly,innerHTML:this.data.text}),o=ta.make("div",[this.css.input,this.css.caption],{contentEditable:!this.readOnly,innerHTML:this.data.caption});return t.dataset.placeholder=this.quotePlaceholder,o.dataset.placeholder=this.captionPlaceholder,e.appendChild(t),e.appendChild(o),e}save(e){const t=e.querySelector(`.${this.css.text}`),o=e.querySelector(`.${this.css.caption}`);return Object.assign(this.data,{text:(null==t?void 0:t.innerHTML)??"",caption:(null==o?void 0:o.innerHTML)??""})}static get sanitize(){return{text:{br:!0},caption:{br:!0},alignment:{}}}renderSettings(){const e=e=>e&&e[0].toUpperCase()+e.slice(1);return this.settings.map((t=>({icon:t.icon,label:this.api.i18n.t(`Align ${e(t.name)}`),onActivate:()=>this._toggleTune(t.name),isActive:this.data.alignment===t.name,closeOnActivate:!0})))}_toggleTune(e){this.data.alignment=e,this.block.dispatchChange()}};!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ce-code__textarea{min-height:200px;font-family:Menlo,Monaco,Consolas,Courier New,monospace;color:#41314e;line-height:1.6em;font-size:12px;background:#f8f7fa;border:1px solid #f1f1f4;box-shadow:none;white-space:pre;word-wrap:normal;overflow-x:auto;resize:vertical}")),document.head.appendChild(e)}}catch(t){}}(); +/** + * CodeTool for Editor.js + * @version 2.0.0 + * @license MIT + */ +class Pl{static get isReadOnlySupported(){return!0}static get enableLineBreaks(){return!0}constructor({data:e,config:t,api:o,readOnly:n}){this.api=o,this.readOnly=n,this.placeholder=this.api.i18n.t(t.placeholder||Pl.DEFAULT_PLACEHOLDER),this.CSS={baseClass:this.api.styles.block,input:this.api.styles.input,wrapper:"ce-code",textarea:"ce-code__textarea"},this.nodes={holder:null,textarea:null},this.data={code:e.code??""},this.nodes.holder=this.drawView()}render(){return this.nodes.holder}save(e){return{code:e.querySelector("textarea").value}}onPaste(e){const t=e.detail;if("data"in t){const e=t.data;this.data={code:e||""}}}get data(){return this._data}set data(e){this._data=e,this.nodes.textarea&&(this.nodes.textarea.value=e.code)}static get toolbox(){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 8L5 12L9 16"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 8L19 12L15 16"/></svg>',title:"Code"}}static get DEFAULT_PLACEHOLDER(){return"Enter a code"}static get pasteConfig(){return{tags:["pre"]}}static get sanitize(){return{code:!0}}tabHandler(e){e.stopPropagation(),e.preventDefault();const t=e.target,o=e.shiftKey,n=t.selectionStart,i=t.value,r=" ";let s;if(o){const e=function(e,t){let o="";for(;"\n"!==o&&t>0;)t-=1,o=e.substr(t,1);return"\n"===o&&(t+=1),t}(i,n);if(i.substr(e,2)!==r)return;t.value=i.substring(0,e)+i.substring(e+2),s=n-2}else s=n+2,t.value=i.substring(0,n)+r+i.substring(n);t.setSelectionRange(s,s)}drawView(){const e=document.createElement("div"),t=document.createElement("textarea");return e.classList.add(this.CSS.baseClass,this.CSS.wrapper),t.classList.add(this.CSS.textarea,this.CSS.input),t.value=this.data.code,t.placeholder=this.placeholder,this.readOnly&&(t.disabled=!0),e.appendChild(t),t.addEventListener("keydown",(e=>{if("Tab"===e.code)this.tabHandler(e)})),this.nodes.textarea=t,e}}!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.embed-tool--loading .embed-tool__caption{display:none}.embed-tool--loading .embed-tool__preloader{display:block}.embed-tool--loading .embed-tool__content{display:none}.embed-tool__preloader{display:none;position:relative;height:200px;box-sizing:border-box;border-radius:5px;border:1px solid #e6e9eb}.embed-tool__preloader:before{content:"";position:absolute;z-index:3;left:50%;top:50%;width:30px;height:30px;margin-top:-25px;margin-left:-15px;border-radius:50%;border:2px solid #cdd1e0;border-top-color:#388ae5;box-sizing:border-box;animation:embed-preloader-spin 2s infinite linear}.embed-tool__url{position:absolute;bottom:20px;left:50%;transform:translate(-50%);max-width:250px;color:#7b7e89;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.embed-tool__content{width:100%}.embed-tool__caption{margin-top:7px}.embed-tool__caption[contentEditable=true][data-placeholder]:before{position:absolute;content:attr(data-placeholder);color:#707684;font-weight:400;opacity:0}.embed-tool__caption[contentEditable=true][data-placeholder]:empty:before{opacity:1}.embed-tool__caption[contentEditable=true][data-placeholder]:empty:focus:before{opacity:0}@keyframes embed-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}')),document.head.appendChild(e)}}catch(t){}}();const Ll={vimeo:{regex:/(?:http[s]?:\/\/)?(?:www.)?(?:player.)?vimeo\.co(?:.+\/([^\/]\d+)(?:#t=[\d]+)?s?$)/,embedUrl:"https://player.vimeo.com/video/<%= remote_id %>?title=0&byline=0",html:'<iframe style="width:100%;" height="320" frameborder="0"></iframe>',height:320,width:580},youtube:{regex:/(?:https?:\/\/)?(?:www\.)?(?:(?:youtu\.be\/)|(?:youtube\.com)\/(?:v\/|u\/\w\/|embed\/|watch))(?:(?:\?v=)?([^#&?=]*))?((?:[?&]\w*=\w*)*)/,embedUrl:"https://www.youtube.com/embed/<%= remote_id %>",html:'<iframe style="width:100%;" height="320" frameborder="0" allowfullscreen></iframe>',height:320,width:580,id:([e,t])=>{if(!t&&e)return e;const o={start:"start",end:"end",t:"start",time_continue:"start",list:"list"};let n=t.slice(1).split("&").map((t=>{const[n,i]=t.split("=");return e||"v"!==n?!o[n]||"LL"===i||i.startsWith("RDMM")||i.startsWith("FL")?null:`${o[n]}=${i}`:(e=i,null)})).filter((e=>!!e));return e+"?"+n.join("&")}},coub:{regex:/https?:\/\/coub\.com\/view\/([^\/\?\&]+)/,embedUrl:"https://coub.com/embed/<%= remote_id %>",html:'<iframe style="width:100%;" height="320" frameborder="0" allowfullscreen></iframe>',height:320,width:580},vine:{regex:/https?:\/\/vine\.co\/v\/([^\/\?\&]+)/,embedUrl:"https://vine.co/v/<%= remote_id %>/embed/simple/",html:'<iframe style="width:100%;" height="320" frameborder="0" allowfullscreen></iframe>',height:320,width:580},imgur:{regex:/https?:\/\/(?:i\.)?imgur\.com.*\/([a-zA-Z0-9]+)(?:\.gifv)?/,embedUrl:"http://imgur.com/<%= remote_id %>/embed",html:'<iframe allowfullscreen="true" scrolling="no" id="imgur-embed-iframe-pub-<%= remote_id %>" class="imgur-embed-iframe-pub" style="height: 500px; width: 100%; border: 1px solid #000"></iframe>',height:500,width:540},gfycat:{regex:/https?:\/\/gfycat\.com(?:\/detail)?\/([a-zA-Z]+)/,embedUrl:"https://gfycat.com/ifr/<%= remote_id %>",html:"<iframe frameborder='0' scrolling='no' style=\"width:100%;\" height='436' allowfullscreen ></iframe>",height:436,width:580},"twitch-channel":{regex:/https?:\/\/www\.twitch\.tv\/([^\/\?\&]*)\/?$/,embedUrl:"https://player.twitch.tv/?channel=<%= remote_id %>",html:'<iframe frameborder="0" allowfullscreen="true" scrolling="no" height="366" style="width:100%;"></iframe>',height:366,width:600},"twitch-video":{regex:/https?:\/\/www\.twitch\.tv\/(?:[^\/\?\&]*\/v|videos)\/([0-9]*)/,embedUrl:"https://player.twitch.tv/?video=v<%= remote_id %>",html:'<iframe frameborder="0" allowfullscreen="true" scrolling="no" height="366" style="width:100%;"></iframe>',height:366,width:600},"yandex-music-album":{regex:/https?:\/\/music\.yandex\.ru\/album\/([0-9]*)\/?$/,embedUrl:"https://music.yandex.ru/iframe/#album/<%= remote_id %>/",html:'<iframe frameborder="0" style="border:none;width:540px;height:400px;" style="width:100%;" height="400"></iframe>',height:400,width:540},"yandex-music-track":{regex:/https?:\/\/music\.yandex\.ru\/album\/([0-9]*)\/track\/([0-9]*)/,embedUrl:"https://music.yandex.ru/iframe/#track/<%= remote_id %>/",html:'<iframe frameborder="0" style="border:none;width:540px;height:100px;" style="width:100%;" height="100"></iframe>',height:100,width:540,id:e=>e.join("/")},"yandex-music-playlist":{regex:/https?:\/\/music\.yandex\.ru\/users\/([^\/\?\&]*)\/playlists\/([0-9]*)/,embedUrl:"https://music.yandex.ru/iframe/#playlist/<%= remote_id %>/show/cover/description/",html:'<iframe frameborder="0" style="border:none;width:540px;height:400px;" width="540" height="400"></iframe>',height:400,width:540,id:e=>e.join("/")},codepen:{regex:/https?:\/\/codepen\.io\/([^\/\?\&]*)\/pen\/([^\/\?\&]*)/,embedUrl:"https://codepen.io/<%= remote_id %>?height=300&theme-id=0&default-tab=css,result&embed-version=2",html:"<iframe height='300' scrolling='no' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%;'></iframe>",height:300,width:600,id:e=>e.join("/embed/")},instagram:{regex:/^https:\/\/(?:www\.)?instagram\.com\/(?:reel|p)\/(.*)/,embedUrl:"https://www.instagram.com/p/<%= remote_id %>/embed",html:'<iframe width="400" height="505" style="margin: 0 auto;" frameborder="0" scrolling="no" allowtransparency="true"></iframe>',height:505,width:400,id:e=>{var t;return null==(t=null==e?void 0:e[0])?void 0:t.split("/")[0]}},twitter:{regex:/^https?:\/\/(www\.)?(?:twitter\.com|x\.com)\/.+\/status\/(\d+)/,embedUrl:"https://platform.twitter.com/embed/Tweet.html?id=<%= remote_id %>",html:'<iframe width="600" height="600" style="margin: 0 auto;" frameborder="0" scrolling="no" allowtransparency="true"></iframe>',height:300,width:600,id:e=>e[1]},pinterest:{regex:/https?:\/\/([^\/\?\&]*).pinterest.com\/pin\/([^\/\?\&]*)\/?$/,embedUrl:"https://assets.pinterest.com/ext/embed.html?id=<%= remote_id %>",html:"<iframe scrolling='no' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%; min-height: 400px; max-height: 1000px;'></iframe>",id:e=>e[1]},facebook:{regex:/https?:\/\/www.facebook.com\/([^\/\?\&]*)\/(.*)/,embedUrl:"https://www.facebook.com/plugins/post.php?href=https://www.facebook.com/<%= remote_id %>&width=500",html:"<iframe scrolling='no' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%; min-height: 500px; max-height: 1000px;'></iframe>",id:e=>e.join("/")},aparat:{regex:/(?:http[s]?:\/\/)?(?:www.)?aparat\.com\/v\/([^\/\?\&]+)\/?/,embedUrl:"https://www.aparat.com/video/video/embed/videohash/<%= remote_id %>/vt/frame",html:'<iframe width="600" height="300" style="margin: 0 auto;" frameborder="0" scrolling="no" allowtransparency="true"></iframe>',height:300,width:600},miro:{regex:/https:\/\/miro.com\/\S+(\S{12})\/(\S+)?/,embedUrl:"https://miro.com/app/live-embed/<%= remote_id %>",html:'<iframe width="700" height="500" style="margin: 0 auto;" allowFullScreen frameBorder="0" scrolling="no"></iframe>'},github:{regex:/https?:\/\/gist.github.com\/([^\/\?\&]*)\/([^\/\?\&]*)/,embedUrl:'data:text/html;charset=utf-8,<head><base target="_blank" /></head><body><script src="https://gist.github.com/<%= remote_id %>" ><\/script></body>',html:'<iframe width="100%" height="350" frameborder="0" style="margin: 0 auto;"></iframe>',height:300,width:600,id:e=>`${e.join("/")}.js`}};function Al(e,t,o){var n,i,r,s,a;function l(){var c=Date.now()-s;c<t&&c>=0?n=setTimeout(l,t-c):(n=null,o||(a=e.apply(r,i),r=i=null))}null==t&&(t=100);var c=function(){r=this,i=arguments,s=Date.now();var c=o&&!n;return n||(n=setTimeout(l,t)),c&&(a=e.apply(r,i),r=i=null),a};return c.clear=function(){n&&(clearTimeout(n),n=null)},c.flush=function(){n&&(a=e.apply(r,i),r=i=null,clearTimeout(n),n=null)},c}Al.debounce=Al;var Nl=Al;class jl{constructor({data:e,api:t,readOnly:o}){this.api=t,this._data={},this.element=null,this.readOnly=o,this.data=e}set data(e){var t;if(!(e instanceof Object))throw Error("Embed Tool data should be object");const{service:o,source:n,embed:i,width:r,height:s,caption:a=""}=e;this._data={service:o||this.data.service,source:n||this.data.source,embed:i||this.data.embed,width:r||this.data.width,height:s||this.data.height,caption:a||this.data.caption||""};const l=this.element;l&&(null==(t=l.parentNode)||t.replaceChild(this.render(),l))}get data(){if(this.element){const e=this.element.querySelector(`.${this.api.styles.input}`);this._data.caption=e?e.innerHTML:""}return this._data}get CSS(){return{baseClass:this.api.styles.block,input:this.api.styles.input,container:"embed-tool",containerLoading:"embed-tool--loading",preloader:"embed-tool__preloader",caption:"embed-tool__caption",url:"embed-tool__url",content:"embed-tool__content"}}render(){if(!this.data.service){const e=document.createElement("div");return this.element=e,e}const{html:e}=jl.services[this.data.service],t=document.createElement("div"),o=document.createElement("div"),n=document.createElement("template"),i=this.createPreloader();t.classList.add(this.CSS.baseClass,this.CSS.container,this.CSS.containerLoading),o.classList.add(this.CSS.input,this.CSS.caption),t.appendChild(i),o.contentEditable=(!this.readOnly).toString(),o.dataset.placeholder=this.api.i18n.t("Enter a caption"),o.innerHTML=this.data.caption||"",n.innerHTML=e,n.content.firstChild.setAttribute("src",this.data.embed),n.content.firstChild.classList.add(this.CSS.content);const r=this.embedIsReady(t);return n.content.firstChild&&t.appendChild(n.content.firstChild),t.appendChild(o),r.then((()=>{t.classList.remove(this.CSS.containerLoading)})),this.element=t,t}createPreloader(){const e=document.createElement("preloader"),t=document.createElement("div");return t.textContent=this.data.source,e.classList.add(this.CSS.preloader),t.classList.add(this.CSS.url),e.appendChild(t),e}save(){return this.data}onPaste(e){var t;const{key:o,data:n}=e.detail,{regex:i,embedUrl:r,width:s,height:a,id:l=e=>e.shift()||""}=jl.services[o],c=null==(t=i.exec(n))?void 0:t.slice(1),d=c?r.replace(/<%= remote_id %>/g,l(c)):"";this.data={service:o,source:n,embed:d,width:s,height:a}}static prepare({config:e={}}){const{services:t={}}=e;let o=Object.entries(Ll);const n=Object.entries(t).filter((([e,t])=>"boolean"==typeof t&&!0===t)).map((([e])=>e)),i=Object.entries(t).filter((([e,t])=>"object"==typeof t)).filter((([e,t])=>jl.checkServiceConfig(t))).map((([e,t])=>{const{regex:o,embedUrl:n,html:i,height:r,width:s,id:a}=t;return[e,{regex:o,embedUrl:n,html:i,height:r,width:s,id:a}]}));n.length&&(o=o.filter((([e])=>n.includes(e)))),o=o.concat(i),jl.services=o.reduce(((e,[t,o])=>t in e?(e[t]=Object.assign({},e[t],o),e):(e[t]=o,e)),{}),jl.patterns=o.reduce(((e,[t,o])=>(o&&"boolean"!=typeof o&&(e[t]=o.regex),e)),{})}static checkServiceConfig(e){const{regex:t,embedUrl:o,html:n,height:i,width:r,id:s}=e;let a=!!(t&&t instanceof RegExp)&&!(!o||"string"!=typeof o)&&!(!n||"string"!=typeof n);return a=a&&(void 0===s||s instanceof Function),a=a&&(void 0===i||Number.isFinite(i)),a=a&&(void 0===r||Number.isFinite(r)),a}static get pasteConfig(){return{patterns:jl.patterns}}static get isReadOnlySupported(){return!0}embedIsReady(e){let t;return new Promise(((o,n)=>{t=new MutationObserver(Nl.debounce(o,450)),t.observe(e,{childList:!0,subtree:!0})})).then((()=>{t.disconnect()}))}}!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".link-tool{position:relative}.link-tool__input{padding-left:38px;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath stroke='%23707684' stroke-linecap='round' stroke-width='2' d='m7.7 12.6-.021.02a2.795 2.795 0 0 0-.044 4.005v0a2.795 2.795 0 0 0 3.936.006l1.455-1.438a3 3 0 0 0 .34-3.866l-.146-.207'/%3E%3Cpath stroke='%23707684' stroke-linecap='round' stroke-width='2' d='m16.22 11.12.136-.14c.933-.954.992-2.46.135-3.483v0a2.597 2.597 0 0 0-3.664-.32L11.39 8.386a3 3 0 0 0-.301 4.3l.031.034'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.link-tool__input-holder{position:relative}.link-tool__input-holder--error .link-tool__input{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath stroke='rgb(224, 147, 147)' stroke-linecap='round' stroke-width='2' d='m7.7 12.6-.021.02a2.795 2.795 0 0 0-.044 4.005v0a2.795 2.795 0 0 0 3.936.006l1.455-1.438a3 3 0 0 0 .34-3.866l-.146-.207'/%3E%3Cpath stroke='rgb(224, 147, 147)' stroke-linecap='round' stroke-width='2' d='m16.22 11.12.136-.14c.933-.954.992-2.46.135-3.483v0a2.597 2.597 0 0 0-3.664-.32L11.39 8.386a3 3 0 0 0-.301 4.3l.031.034'/%3E%3C/svg%3E\");background-color:#fff3f6;border-color:#f3e0e0;color:#a95a5a;box-shadow:inset 0 1px 3px #923e3e0d}.link-tool__input[contentEditable=true][data-placeholder]:before{position:absolute;content:attr(data-placeholder);color:#707684;font-weight:400;opacity:0}.link-tool__input[contentEditable=true][data-placeholder]:empty:before{opacity:1}.link-tool__input[contentEditable=true][data-placeholder]:empty:focus:before{opacity:0}.link-tool__progress{position:absolute;box-shadow:inset 0 1px 3px #66556b0a;height:100%;width:0;background-color:#f4f5f7;z-index:-1}.link-tool__progress--loading{-webkit-animation:progress .5s ease-in;-webkit-animation-fill-mode:forwards}.link-tool__progress--loaded{width:100%}.link-tool__content{display:block;padding:25px;border-radius:2px;box-shadow:0 0 0 2px #fff;color:initial!important;text-decoration:none!important}.link-tool__content:after{content:\"\";clear:both;display:table}.link-tool__content--rendered{background:#fff;border:1px solid rgba(201,201,204,.48);box-shadow:0 1px 3px #0000001a;border-radius:6px;will-change:filter;animation:link-in .45s 1 cubic-bezier(.215,.61,.355,1)}.link-tool__content--rendered:hover{box-shadow:0 0 3px #00000029}.link-tool__image{background-position:center center;background-repeat:no-repeat;background-size:cover;margin:0 0 0 30px;width:65px;height:65px;border-radius:3px;float:right}.link-tool__title{font-size:17px;font-weight:600;line-height:1.5em;margin:0 0 10px}.link-tool__title+.link-tool__anchor{margin-top:25px}.link-tool__description{margin:0 0 20px;font-size:15px;line-height:1.55em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.link-tool__anchor{display:block;font-size:15px;line-height:1em;color:#888!important;border:0!important;padding:0!important}@keyframes link-in{0%{filter:blur(5px)}to{filter:none}}.codex-editor--narrow .link-tool__image{display:none}@-webkit-keyframes progress{0%{width:0}to{width:85%}}")),document.head.appendChild(e)}}catch(t){}}();var Dl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Rl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}!function(e){var t,o,n=function(){try{return!!Symbol.iterator}catch{return!1}}(),i=function(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},s=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set}catch{return!1}})()||((o=(t=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var o=typeof e;if("undefined"!==o)if("string"===o)""!==e&&this._fromString(e);else if(e instanceof t){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==o)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var i=0;i<e.length;i++){var r=e[i];if("[object Array]"!==Object.prototype.toString.call(r)&&2===r.length)throw new TypeError("Expected [string, any] as entry at index "+i+" of URLSearchParams's input");this.append(r[0],r[1])}else for(var s in e)e.hasOwnProperty(s)&&this.append(s,e[s])}}).prototype).append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},o.delete=function(e){delete this._entries[e]},o.get=function(e){return e in this._entries?this._entries[e][0]:null},o.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},o.has=function(e){return e in this._entries},o.set=function(e,t){this._entries[e]=[String(t)]},o.forEach=function(e,t){var o;for(var n in this._entries)if(this._entries.hasOwnProperty(n)){o=this._entries[n];for(var i=0;i<o.length;i++)e.call(t,o[i],n,this)}},o.keys=function(){var e=[];return this.forEach((function(t,o){e.push(o)})),i(e)},o.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),i(e)},o.entries=function(){var e=[];return this.forEach((function(t,o){e.push([o,t])})),i(e)},n&&(o[Symbol.iterator]=o.entries),o.toString=function(){var e=[];return this.forEach((function(t,o){e.push(r(o)+"="+r(t))})),e.join("&")},e.URLSearchParams=t);var a=e.URLSearchParams.prototype;"function"!=typeof a.sort&&(a.sort=function(){var e=this,t=[];this.forEach((function(o,n){t.push([n,o]),e._entries||e.delete(n)})),t.sort((function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0})),e._entries&&(e._entries={});for(var o=0;o<t.length;o++)this.append(t[o][0],t[o][1])}),"function"!=typeof a._fromString&&Object.defineProperty(a,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach((function(e,o){t.push(o)}));for(var o=0;o<t.length;o++)this.delete(t[o])}var n,i=(e=e.replace(/^\?/,"")).split("&");for(o=0;o<i.length;o++)n=i[o].split("="),this.append(s(n[0]),n.length>1?s(n[1]):"")}})}(typeof Dl<"u"?Dl:typeof window<"u"?window:typeof self<"u"?self:Dl),function(e){var t,o,n;if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href&&t.searchParams}catch{return!1}}()||(t=e.URL,o=function(t,o){"string"!=typeof t&&(t=String(t));var n,i=document;if(o&&(void 0===e.location||o!==e.location.href)){(n=(i=document.implementation.createHTMLDocument("")).createElement("base")).href=o,i.head.appendChild(n);try{if(0!==n.href.indexOf(o))throw new Error(n.href)}catch(h){throw new Error("URL unable to set base "+o+" due to "+h)}}var r=i.createElement("a");r.href=t,n&&(i.body.appendChild(r),r.href=r.href);var s=i.createElement("input");if(s.type="url",s.value=t,":"===r.protocol||!/:/.test(r.href)||!s.checkValidity()&&!o)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:r});var a=new e.URLSearchParams(this.search),l=!0,c=!0,d=this;["append","delete","set"].forEach((function(e){var t=a[e];a[e]=function(){t.apply(a,arguments),l&&(c=!1,d.search=a.toString(),c=!0)}})),Object.defineProperty(this,"searchParams",{value:a,enumerable:!0});var u=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==u&&(u=this.search,c&&(l=!1,this.searchParams._fromString(this.search),l=!0))}})},n=o.prototype,["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(n,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(n,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(n,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),o.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},o.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=o),void 0!==e.location&&!("origin"in e.location)){var i=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:i,enumerable:!0})}catch{setInterval((function(){e.location.origin=i()}),100)}}}(typeof Dl<"u"?Dl:typeof window<"u"?window:typeof self<"u"?self:Dl);var Fl={exports:{}};window;const Hl=Rl(Fl.exports=function(e){var t={};function o(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=3)}([function(e,t){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{"object"==typeof window&&(o=window)}e.exports=o},function(e,t,o){(function(e){var n=o(2),i=setTimeout;function r(){}function s(e){if(!(this instanceof s))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],h(e,this)}function a(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,s._immediateFn((function(){var o=1===e._state?t.onFulfilled:t.onRejected;if(null!==o){var n;try{n=o(e._value)}catch(i){return void c(t.promise,i)}l(t.promise,n)}else(1===e._state?l:c)(t.promise,e._value)}))):e._deferreds.push(t)}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var o=t.then;if(t instanceof s)return e._state=3,e._value=t,void d(e);if("function"==typeof o)return void h((n=o,i=t,function(){n.apply(i,arguments)}),e)}e._state=1,e._value=t,d(e)}catch(r){c(e,r)}var n,i}function c(e,t){e._state=2,e._value=t,d(e)}function d(e){2===e._state&&0===e._deferreds.length&&s._immediateFn((function(){e._handled||s._unhandledRejectionFn(e._value)}));for(var t=0,o=e._deferreds.length;t<o;t++)a(e,e._deferreds[t]);e._deferreds=null}function u(e,t,o){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=o}function h(e,t){var o=!1;try{e((function(e){o||(o=!0,l(t,e))}),(function(e){o||(o=!0,c(t,e))}))}catch(n){if(o)return;o=!0,c(t,n)}}s.prototype.catch=function(e){return this.then(null,e)},s.prototype.then=function(e,t){var o=new this.constructor(r);return a(this,new u(e,t,o)),o},s.prototype.finally=n.a,s.all=function(e){return new s((function(t,o){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var n=Array.prototype.slice.call(e);if(0===n.length)return t([]);var i=n.length;function r(e,s){try{if(s&&("object"==typeof s||"function"==typeof s)){var a=s.then;if("function"==typeof a)return void a.call(s,(function(t){r(e,t)}),o)}n[e]=s,0==--i&&t(n)}catch(l){o(l)}}for(var s=0;s<n.length;s++)r(s,n[s])}))},s.resolve=function(e){return e&&"object"==typeof e&&e.constructor===s?e:new s((function(t){t(e)}))},s.reject=function(e){return new s((function(t,o){o(e)}))},s.race=function(e){return new s((function(t,o){for(var n=0,i=e.length;n<i;n++)e[n].then(t,o)}))},s._immediateFn="function"==typeof e&&function(t){e(t)}||function(e){i(e,0)},s._unhandledRejectionFn=function(e){typeof console<"u"&&console},t.a=s}).call(this,o(5).setImmediate)},function(e,t,o){t.a=function(e){var t=this.constructor;return this.then((function(o){return t.resolve(e()).then((function(){return o}))}),(function(o){return t.resolve(e()).then((function(){return t.reject(o)}))}))}},function(e,t,o){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}o(4);var i,r,s,a,l,c,d=o(8),u=(r=function(e){return new Promise((function(t,o){e=a(e),e=l(e);var n=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");n.open(e.method,e.url),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(e.headers).forEach((function(t){var o=e.headers[t];n.setRequestHeader(t,o)}));var i=e.ratio;n.upload.addEventListener("progress",(function(t){var o=Math.round(t.loaded/t.total*100),n=Math.ceil(o*i/100);e.progress(n)}),!1),n.addEventListener("progress",(function(t){var o=Math.round(t.loaded/t.total*100),n=Math.ceil(o*(100-i)/100)+i;e.progress(n)}),!1),n.onreadystatechange=function(){if(4===n.readyState){var e=n.response;try{e=JSON.parse(e)}catch{}var i=d.parseHeaders(n.getAllResponseHeaders()),r={body:e,code:n.status,headers:i};200===n.status?t(r):o(r)}},n.send(e.data)}))},s=function(e){return e.method="POST",r(e)},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.url&&"string"!=typeof e.url)throw new Error("Url must be a string");if(e.url=e.url||"",e.method&&"string"!=typeof e.method)throw new Error("`method` must be a string or null");if(e.method=e.method?e.method.toUpperCase():"GET",e.headers&&"object"!==n(e.headers))throw new Error("`headers` must be an object or null");if(e.headers=e.headers||{},e.type&&("string"!=typeof e.type||!Object.values(i).includes(e.type)))throw new Error("`type` must be taken from module's «contentType» library");if(e.progress&&"function"!=typeof e.progress)throw new Error("`progress` must be a function or null");if(e.progress=e.progress||function(e){},e.beforeSend=e.beforeSend||function(e){},e.ratio&&"number"!=typeof e.ratio)throw new Error("`ratio` must be a number");if(e.ratio<0||e.ratio>100)throw new Error("`ratio` must be in a 0-100 interval");if(e.ratio=e.ratio||90,e.accept&&"string"!=typeof e.accept)throw new Error("`accept` must be a string with a list of allowed mime-types");if(e.accept=e.accept||"*/*",e.multiple&&"boolean"!=typeof e.multiple)throw new Error("`multiple` must be a true or false");if(e.multiple=e.multiple||!1,e.fieldName&&"string"!=typeof e.fieldName)throw new Error("`fieldName` must be a string");return e.fieldName=e.fieldName||"files",e},l=function(e){switch(e.method){case"GET":var t=c(e.data,i.URLENCODED);delete e.data,e.url=/\?/.test(e.url)?e.url+"&"+t:e.url+"?"+t;break;case"POST":case"PUT":case"DELETE":case"UPDATE":var o=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).type||i.JSON}(e);(d.isFormData(e.data)||d.isFormElement(e.data))&&(o=i.FORM),e.data=c(e.data,o),o!==u.contentType.FORM&&(e.headers["content-type"]=o)}return e},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};switch(arguments.length>1?arguments[1]:void 0){case i.URLENCODED:return d.urlEncode(e);case i.JSON:return d.jsonEncode(e);case i.FORM:return d.formEncode(e);default:return e}},{contentType:i={URLENCODED:"application/x-www-form-urlencoded; charset=utf-8",FORM:"multipart/form-data",JSON:"application/json; charset=utf-8"},request:r,get:function(e){return e.method="GET",r(e)},post:s,transport:function(e){return e=a(e),d.selectFiles(e).then((function(t){for(var o=new FormData,n=0;n<t.length;n++)o.append(e.fieldName,t[n],t[n].name);return d.isObject(e.data)&&Object.keys(e.data).forEach((function(t){var n=e.data[t];o.append(t,n)})),e.beforeSend&&e.beforeSend(t),e.data=o,s(e)}))},selectFiles:function(e){return delete(e=a(e)).beforeSend,d.selectFiles(e)}});e.exports=u},function(e,t,o){o.r(t);var n=o(1);window.Promise=window.Promise||n.a},function(e,t,o){(function(e){var n=void 0!==e&&e||typeof self<"u"&&self||window,i=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new r(i.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new r(i.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},o(6),t.setImmediate=typeof self<"u"&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate=typeof self<"u"&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,o(0))},function(e,t,o){(function(e,t){!function(e,o){if(!e.setImmediate){var n,i,r,s,a,l=1,c={},d=!1,u=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){f(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,o=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=o,t}}()?(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&f(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(s+t,"*")}):e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){f(e.data)},n=function(e){r.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(i=u.documentElement,n=function(e){var t=u.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):n=function(e){setTimeout(f,0,e)},h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),o=0;o<t.length;o++)t[o]=arguments[o+1];var i={callback:e,args:t};return c[l]=i,n(l),l++},h.clearImmediate=p}function p(e){delete c[e]}function f(e){if(d)setTimeout(f,0,e);else{var t=c[e];if(t){d=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(o,n)}}(t)}finally{p(e),d=!1}}}}}(typeof self>"u"?void 0===e?this:e:self)}).call(this,o(0),o(7))},function(e,t){var o,n,i=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(o===setTimeout)return setTimeout(e,0);if((o===r||!o)&&setTimeout)return o=setTimeout,setTimeout(e,0);try{return o(e,0)}catch{try{return o.call(null,e,0)}catch{return o.call(this,e,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:r}catch{o=r}try{n="function"==typeof clearTimeout?clearTimeout:s}catch{n=s}}();var l,c=[],d=!1,u=-1;function h(){d&&l&&(d=!1,l.length?c=l.concat(c):u=-1,c.length&&p())}function p(){if(!d){var e=a(h);d=!0;for(var t=c.length;t;){for(l=c,c=[];++u<t;)l&&l[u].run();u=-1,t=c.length}l=null,d=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch{try{return n.call(null,e)}catch{return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)t[o-1]=arguments[o];c.push(new f(e,t)),1!==c.length||d||a(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,o){function n(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=o(9);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,o,r;return t=e,r=[{key:"urlEncode",value:function(e){return i(e)}},{key:"jsonEncode",value:function(e){return JSON.stringify(e)}},{key:"formEncode",value:function(e){if(this.isFormData(e))return e;if(this.isFormElement(e))return new FormData(e);if(this.isObject(e)){var t=new FormData;return Object.keys(e).forEach((function(o){var n=e[o];t.append(o,n)})),t}throw new Error("`data` must be an instance of Object, FormData or <FORM> HTMLElement")}},{key:"isObject",value:function(e){return"[object Object]"===Object.prototype.toString.call(e)}},{key:"isFormData",value:function(e){return e instanceof FormData}},{key:"isFormElement",value:function(e){return e instanceof HTMLFormElement}},{key:"selectFiles",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(t,o){var n=document.createElement("INPUT");n.type="file",e.multiple&&n.setAttribute("multiple","multiple"),e.accept&&n.setAttribute("accept",e.accept),n.style.display="none",document.body.appendChild(n),n.addEventListener("change",(function(e){var o=e.target.files;t(o),document.body.removeChild(n)}),!1),n.click()}))}},{key:"parseHeaders",value:function(e){var t=e.trim().split(/[\r\n]+/),o={};return t.forEach((function(e){var t=e.split(": "),n=t.shift(),i=t.join(": ");n&&(o[n]=i)})),o}}],(o=null)&&n(t.prototype,o),r&&n(t,r),e}()},function(e,t){var o=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape).replace(/%20/g,"+")},n=function(e,t,i,r){return t=t||null,i=i||"&",r=r||null,e?function(e){for(var t=new Array,o=0;o<e.length;o++)e[o]&&t.push(e[o]);return t}(Object.keys(e).map((function(s){var a,l,c=s;if(r&&(c=r+"["+c+"]"),"object"==typeof e[s]&&null!==e[s])a=n(e[s],null,i,c);else{t&&(l=c,c=!isNaN(parseFloat(l))&&isFinite(l)?t+Number(c):c);var d=e[s];d=(d=0===(d=!1===(d=!0===d?"1":d)?"0":d)?"0":d)||"",a=o(c)+"="+o(d)}return a}))).join(i).replace(/[!'()*]/g,""):""};e.exports=n}]));class Ul{static get isReadOnlySupported(){return!0}static get toolbox(){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7.69998 12.6L7.67896 12.62C6.53993 13.7048 6.52012 15.5155 7.63516 16.625V16.625C8.72293 17.7073 10.4799 17.7102 11.5712 16.6314L13.0263 15.193C14.0703 14.1609 14.2141 12.525 13.3662 11.3266L13.22 11.12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16.22 11.12L16.3564 10.9805C17.2895 10.0265 17.3478 8.5207 16.4914 7.49733V7.49733C15.569 6.39509 13.9269 6.25143 12.8271 7.17675L11.39 8.38588C10.0935 9.47674 9.95704 11.4241 11.0887 12.6852L11.12 12.72"/></svg>',title:"Link"}}static get enableLineBreaks(){return!0}constructor({data:e,config:t,api:o,readOnly:n}){this.api=o,this.readOnly=n,this.config={endpoint:t.endpoint||"",headers:t.headers||{}},this.nodes={wrapper:null,container:null,progress:null,input:null,inputHolder:null,linkContent:null,linkImage:null,linkTitle:null,linkDescription:null,linkText:null},this._data={link:"",meta:{}},this.data=e}render(){return this.nodes.wrapper=this.make("div",this.CSS.baseClass),this.nodes.container=this.make("div",this.CSS.container),this.nodes.inputHolder=this.makeInputHolder(),this.nodes.linkContent=this.prepareLinkPreview(),Object.keys(this.data.meta).length?(this.nodes.container.appendChild(this.nodes.linkContent),this.showLinkPreview(this.data.meta)):this.nodes.container.appendChild(this.nodes.inputHolder),this.nodes.wrapper.appendChild(this.nodes.container),this.nodes.wrapper}save(){return this.data}validate(){return""!==this.data.link.trim()}set data(e){this._data=Object.assign({},{link:e.link||this._data.link,meta:e.meta||this._data.meta})}get data(){return this._data}get CSS(){return{baseClass:this.api.styles.block,input:this.api.styles.input,container:"link-tool",inputEl:"link-tool__input",inputHolder:"link-tool__input-holder",inputError:"link-tool__input-holder--error",linkContent:"link-tool__content",linkContentRendered:"link-tool__content--rendered",linkImage:"link-tool__image",linkTitle:"link-tool__title",linkDescription:"link-tool__description",linkText:"link-tool__anchor",progress:"link-tool__progress",progressLoading:"link-tool__progress--loading",progressLoaded:"link-tool__progress--loaded"}}makeInputHolder(){const e=this.make("div",this.CSS.inputHolder);return this.nodes.progress=this.make("label",this.CSS.progress),this.nodes.input=this.make("div",[this.CSS.input,this.CSS.inputEl],{contentEditable:!this.readOnly}),this.nodes.input.dataset.placeholder=this.api.i18n.t("Link"),this.readOnly||(this.nodes.input.addEventListener("paste",(e=>{this.startFetching(e)})),this.nodes.input.addEventListener("keydown",(e=>{const[t,o]=[13,65],n=e.ctrlKey||e.metaKey;switch(e.keyCode){case t:e.preventDefault(),e.stopPropagation(),this.startFetching(e);break;case o:n&&this.selectLinkUrl(e)}}))),e.appendChild(this.nodes.progress),e.appendChild(this.nodes.input),e}startFetching(e){let t=this.nodes.input.textContent;"paste"===e.type&&(t=(e.clipboardData||window.clipboardData).getData("text")),this.removeErrorStyle(),this.fetchLinkData(t)}removeErrorStyle(){this.nodes.inputHolder.classList.remove(this.CSS.inputError),this.nodes.inputHolder.insertBefore(this.nodes.progress,this.nodes.input)}selectLinkUrl(e){e.preventDefault(),e.stopPropagation();const t=window.getSelection(),o=new Range,n=t.anchorNode.parentNode.closest(`.${this.CSS.inputHolder}`).querySelector(`.${this.CSS.inputEl}`);o.selectNodeContents(n),t.removeAllRanges(),t.addRange(o)}prepareLinkPreview(){const e=this.make("a",this.CSS.linkContent,{target:"_blank",rel:"nofollow noindex noreferrer"});return this.nodes.linkImage=this.make("div",this.CSS.linkImage),this.nodes.linkTitle=this.make("div",this.CSS.linkTitle),this.nodes.linkDescription=this.make("p",this.CSS.linkDescription),this.nodes.linkText=this.make("span",this.CSS.linkText),e}showLinkPreview({image:e,title:t,description:o}){this.nodes.container.appendChild(this.nodes.linkContent),e&&e.url&&(this.nodes.linkImage.style.backgroundImage="url("+e.url+")",this.nodes.linkContent.appendChild(this.nodes.linkImage)),t&&(this.nodes.linkTitle.textContent=t,this.nodes.linkContent.appendChild(this.nodes.linkTitle)),o&&(this.nodes.linkDescription.textContent=o,this.nodes.linkContent.appendChild(this.nodes.linkDescription)),this.nodes.linkContent.classList.add(this.CSS.linkContentRendered),this.nodes.linkContent.setAttribute("href",this.data.link),this.nodes.linkContent.appendChild(this.nodes.linkText);try{this.nodes.linkText.textContent=new URL(this.data.link).hostname}catch{this.nodes.linkText.textContent=this.data.link}}showProgress(){this.nodes.progress.classList.add(this.CSS.progressLoading)}hideProgress(){return new Promise((e=>{this.nodes.progress.classList.remove(this.CSS.progressLoading),this.nodes.progress.classList.add(this.CSS.progressLoaded),setTimeout(e,500)}))}applyErrorStyle(){this.nodes.inputHolder.classList.add(this.CSS.inputError),this.nodes.progress.remove()}async fetchLinkData(e){this.showProgress(),this.data={link:e};try{const{body:t}=await Hl.get({url:this.config.endpoint,headers:this.config.headers,data:{url:e}});this.onFetch(t)}catch{this.fetchingFailed(this.api.i18n.t("Couldn't fetch the link data"))}}onFetch(e){if(!e||!e.success)return void this.fetchingFailed(this.api.i18n.t("Couldn't get this link data, try the other one"));const t=e.meta,o=e.link||this.data.link;this.data={meta:t,link:o},t?this.hideProgress().then((()=>{this.nodes.inputHolder.remove(),this.showLinkPreview(t)})):this.fetchingFailed(this.api.i18n.t("Wrong response format from the server"))}fetchingFailed(e){this.api.notifier.show({message:e,style:"error"}),this.applyErrorStyle()}make(e,t=null,o={}){const n=document.createElement(e);Array.isArray(t)?n.classList.add(...t):t&&n.classList.add(t);for(const i in o)n[i]=o[i];return n}}export{gi as A,Us as G,Ul as I,Js as P,jl as a,Pl as d,Ml as m,zs as n}; diff --git a/dist1 (2)/assets/giftimg-c37dc325.png b/dist1 (2)/assets/giftimg-c37dc325.png new file mode 100644 index 0000000..8693318 Binary files /dev/null and b/dist1 (2)/assets/giftimg-c37dc325.png differ diff --git a/dist1 (2)/assets/globe-GIF-source-58d7e5d1.gif b/dist1 (2)/assets/globe-GIF-source-58d7e5d1.gif new file mode 100644 index 0000000..3af089b Binary files /dev/null and b/dist1 (2)/assets/globe-GIF-source-58d7e5d1.gif differ diff --git a/dist1 (2)/assets/img1-b3c2ba2f.png b/dist1 (2)/assets/img1-b3c2ba2f.png new file mode 100644 index 0000000..69e8ab1 Binary files /dev/null and b/dist1 (2)/assets/img1-b3c2ba2f.png differ diff --git a/dist1 (2)/assets/img2-1775404b.png b/dist1 (2)/assets/img2-1775404b.png new file mode 100644 index 0000000..2158e37 Binary files /dev/null and b/dist1 (2)/assets/img2-1775404b.png differ diff --git a/dist1 (2)/assets/img3-6a4293a6.png b/dist1 (2)/assets/img3-6a4293a6.png new file mode 100644 index 0000000..6648e76 Binary files /dev/null and b/dist1 (2)/assets/img3-6a4293a6.png differ diff --git a/dist1 (2)/assets/img4-876e4254.png b/dist1 (2)/assets/img4-876e4254.png new file mode 100644 index 0000000..b31ecc0 Binary files /dev/null and b/dist1 (2)/assets/img4-876e4254.png differ diff --git a/dist1 (2)/assets/index-19b07465.css b/dist1 (2)/assets/index-19b07465.css new file mode 100644 index 0000000..9f74118 --- /dev/null +++ b/dist1 (2)/assets/index-19b07465.css @@ -0,0 +1 @@ +@charset "UTF-8";@import"https://fonts.googleapis.com/css?family=Exo:100";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap";@import"https://fonts.cdnfonts.com/css/wasted-vindey";@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.centerPage{flex-grow:1;display:flex;height:100vh;background-color:var(--PAGE_BODY_BACKGROUND_COLOR);width:100%}.centerPageSub{margin:0px max(10px,2vw);flex-grow:1;width:100%;overflow:auto}@media (max-width: 500px){.centerPageSub{margin:0px max(10px,1vw)!important}}.breadCrumbClass{display:flex;padding:.3rem 1rem;justify-content:space-between}[data-letters]:before{content:attr(data-letters);display:inline-block;font-size:.8em;width:2.5em;line-height:2.4em;text-align:center;border-radius:50%;background:gray;vertical-align:middle;margin-right:1em;color:#fff}.UserNameBadge{display:flex;justify-content:flex-end;flex-grow:1}.tooltip .tooltiptext{visibility:hidden;font-size:14px;font-family:Gilroy;width:max-content;background-color:#000;color:#fff;text-align:center;border-radius:6px;padding:5px 10px;position:absolute;z-index:1;top:100%;left:50%;margin-left:-60px}.content{display:flex;justify-content:center;border-radius:12px;flex-direction:row;height:90vh;overflow:auto;width:100%}.userPage{height:100%;width:100%;padding:10px max(10px,1.5vw);overflow:auto}.userPageContent{height:100%;width:100%;padding-bottom:1rem}.formDiv{display:flex;flex-wrap:wrap;column-gap:3rem;padding-top:2rem;height:74vh;overflow:auto;row-gap:1.5rem}.noheight{height:auto!important}.formDivAnt{display:flex;flex-wrap:wrap;column-gap:3rem;row-gap:1.5rem}.formDivS{display:flex;flex-wrap:wrap;flex-direction:column;row-gap:1.5rem}.formAddressDiv{display:flex;flex-wrap:wrap;column-gap:.5rem}.formAddressDiv p,.upload_btn p{color:#00bfff}.required:after{content:" *";color:#ff4d4f}.TimePickerDiv{width:var(--INPUT_FIELD_WIDTH);padding:18px 14px 6px 11px;font-size:16px;font-weight:490}.MapDiv{position:relative;flex-grow:1;overflow:hidden;border:none}.formdes{font-style:normal;color:var(--PARA_COLOR);font-family:var(--PARA_FONT_FAMILY);font-size:2.1vh}.submitButton{display:flex;flex-grow:1;justify-content:flex-end;position:fixed;bottom:10px;right:100px}.formAddNew{display:flex;flex-direction:column;row-gap:1rem}.inputForm{display:flex;flex-wrap:wrap;column-gap:2rem}.subinputForm{display:flex;column-gap:2rem}.userPageTable{height:100%;width:100%;padding-left:var(--TABLE_PAGE_PADDING);overflow:auto}@media (max-width: 500px){.userPageTable{padding-left:0}}.searchAddDiv{display:flex;flex-wrap:wrap;justify-content:space-between;row-gap:1rem;padding-bottom:10px}.reportTable{overflow:auto;width:100%;height:70vh!important}@media (max-width: 500px){.reportTable{width:100%}}.pageOverAll{background-color:#fff;width:100%}.paypreLogoDiv{display:flex;justify-content:center;align-items:center;margin:2.5rem 0px}.reportTable .ant-table-thead{position:sticky;top:0;background-color:#f3f3f3;z-index:1}.reportTable .ant-pagination{position:sticky;bottom:0;margin:0!important;padding:.5rem;background-color:#fafafa}.selected{border:2px solid #52C41A}.productonlineImg{display:flex;flex-wrap:wrap;gap:.5rem;row-gap:.5rem;overflow:auto}.pozo-sidebar{width:160px;height:100vh;background:#23378a;color:#fff;display:flex;flex-direction:column;z-index:1000;transition:width .3s ease;overflow:hidden}.pozo-sidebar--collapsed{width:50px}.pozo-sidebar__header{display:flex;align-items:center;padding:2px 8px;min-height:3rem}.pozo-sidebar__hamburger-menu{font-size:18px;cursor:pointer;padding:2px;border-radius:4px;transition:background-color .2s}.pozo-sidebar__logo-container{flex:1;cursor:pointer}.pozo-sidebar__logo-text{font-size:18px;font-weight:700;color:#fff;border:2px solid white;padding:4px 12px;border-radius:4px;display:inline-block}.pozo-sidebar__user-info .pozo-sidebar__user-number{background:rgba(255,255,255,.2);color:#fff;padding:4px 8px;border-radius:4px;font-size:14px;font-weight:500}.pozo-sidebar__menu-container{flex:1;padding:4px 2px 4px 1px;overflow-y:auto;overflow-x:hidden}.pozo-sidebar__menu-container::-webkit-scrollbar{width:4px}.pozo-sidebar__menu-container::-webkit-scrollbar-track{background:rgba(255,255,255,.1)}.pozo-sidebar__menu-container::-webkit-scrollbar-thumb{background:rgba(255,255,255,.3);border-radius:2px}.pozo-sidebar__menu-item-container{margin-bottom:2px}.pozo-sidebar__menu-item{display:flex;align-items:center;justify-content:space-between;padding:10px 6px;cursor:pointer;transition:all .2s ease;color:#fffc;font-size:14px;font-weight:500;position:relative}.pozo-sidebar__menu-item:hover{background-color:#050d36;color:#fff;border-radius:8px;box-shadow:0 2px 8px #3945884d}.pozo-sidebar__menu-item--selected{background-color:#394588!important;color:#fff!important;font-weight:600;border-radius:8px;border-left:4px solid #1976d2}.pozo-sidebar__menu-item--selected .pozo-sidebar__menu-icon{color:#fff!important}.pozo-sidebar__menu-item--selected:hover{background-color:#050d36!important;transform:translate(2px)}.pozo-sidebar__menu-item--submenu.pozo-sidebar__menu-item--active{background-color:#394588!important;border-left:4px solid #2196f3}.pozo-sidebar__menu-item--submenu.pozo-sidebar__menu-item--active .pozo-sidebar__menu-icon{color:#2196f3!important}.pozo-sidebar__menu-item-content{display:flex;align-items:center;flex:1}.pozo-sidebar__menu-icon{font-size:1.3rem;-webkit-text-stroke-width:2px;margin-right:8px;display:flex;align-items:center;justify-content:center;width:20px;color:#fff}.pozo-sidebar__menu-label{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:Poppins;font-weight:500;color:#fff;flex:1;text-wrap:wrap}.pozo-sidebar__submenu-arrow{font-size:14px;transition:transform .3s ease,color .2s ease;color:#ffffffb3}.pozo-sidebar__submenu-arrow:hover{color:#fff}.pozo-sidebar__submenu{background-color:#182147;position:absolute;left:10.22rem;z-index:499;height:max-content;max-height:57vh;overflow:auto;padding:6px;border-radius:6px;border:1px solid rgba(255,255,255,.1);box-shadow:0 4px 12px #0000004d;animation:slideIn .2s ease-out;margin-top:-2.5rem}@keyframes slideIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.pozo-sidebar__submenu .pozo-sidebar__menu-item{font-size:13px;border-radius:6px;margin-bottom:2px;padding:8px 12px}.pozo-sidebar__submenu .pozo-sidebar__menu-item:hover{background-color:#050d36;color:#fff;transform:translate(1px);box-shadow:0 1px 4px #3945884d}.pozo-sidebar__submenu .pozo-sidebar__menu-item--selected{background-color:#394588!important;color:#fff!important;font-weight:600;border-radius:6px;border-left:3px solid #1976d2;box-shadow:0 1px 4px #2196f366}.pozo-sidebar__submenu .pozo-sidebar__menu-item--selected .pozo-sidebar__menu-icon{color:#fff!important}.pozo-sidebar__submenu .pozo-sidebar__menu-item--selected:hover{background-color:#050d36!important}.pozo-sidebar__submenu .pozo-sidebar__menu-icon{display:none}.pozo-sidebar__submenu--nested{position:fixed!important;left:18.4rem!important;top:10rem!important;width:13vw!important;margin-left:0!important;margin-top:4px;background-color:#182147f2!important;border:1px solid rgba(255,255,255,.15);box-shadow:0 4px 12px #0000004d}.pozo-sidebar__submenu--nested .pozo-sidebar__menu-item{font-size:12px;padding-left:16px;background-color:transparent}.pozo-sidebar__submenu--nested .pozo-sidebar__menu-item:hover{background-color:#050d36;color:#fff;border-radius:4px}.pozo-sidebar__submenu--nested .pozo-sidebar__menu-item--selected{background-color:#394588!important;color:#fff!important;font-weight:600;border-radius:4px;border-left:3px solid #1976d2}.pozo-sidebar__submenu--nested .pozo-sidebar__menu-item--selected .pozo-sidebar__menu-icon{color:#fff!important}.pozo-sidebar__submenu--mobile{position:fixed!important;left:280px!important;top:0!important;width:250px!important;height:100vh!important;max-height:100vh!important;z-index:999!important}.pozo-sidebar__submenu--mobile.pozo-sidebar__submenu--nested{left:530px!important;width:220px!important}.pozo-sidebar__submenu--tablet{position:absolute!important;left:200px!important;width:180px!important}.pozo-sidebar__submenu--tablet.pozo-sidebar__submenu--nested{left:380px!important;width:160px!important}.pozo-sidebar__submenu .pozo-sidebar__submenu .pozo-sidebar__menu-item{font-size:12px;padding-left:20px}.pozo-sidebar__submenu .pozo-sidebar__submenu .pozo-sidebar__menu-item:hover{background-color:#050d36}.pozo-sidebar__logout-container{padding:8px;display:flex;align-items:center;cursor:pointer;transition:background-color .2s;color:#fffc}.pozo-sidebar__logout-container:hover{background-color:#ffffff1a;color:#fff}.pozo-sidebar__logout-icon{font-size:18px;margin-right:12px;color:#fff}.pozo-sidebar__logout-text{font-size:13px;font-weight:500;color:#fff;font-family:Poppins}.pozo-sidebar__hamburger-btn{background:#2c3e50;border:none;color:#fff;padding:8px;border-radius:4px;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #0003}.pozo-sidebar__hamburger-btn:hover{background:#34495e}@media screen and (max-width: 768px){.pozo-sidebar__mobile-toggle{display:flex!important;align-items:center;justify-content:center;margin:20px}.pozo-sidebar--mobile .pozo-sidebar__header .pozo-sidebar__hamburger-menu{opacity:0;transform:scale(0)}.pozo-sidebar__submenu--mobile{transform:translate(280px);width:250px;height:100vh;max-height:100vh;z-index:999;background-color:#182147f2;border:1px solid rgba(255,255,255,.15);box-shadow:0 4px 12px #0000004d}.pozo-sidebar__submenu--mobile.pozo-sidebar__submenu--nested{transform:translate(530px);width:220px}}@media screen and (max-width: 480px){.pozo-sidebar--mobile,.pozo-sidebar--mobile.pozo-sidebar--mobile-open{width:260px}.pozo-sidebar__submenu--mobile{width:220px;transform:translate(260px)}.pozo-sidebar__submenu--mobile.pozo-sidebar__submenu--nested{transform:translate(520px);width:200px}}@media screen and (min-width: 768px) and (max-width: 1024px){.pozo-sidebar--tablet .pozo-sidebar__submenu{width:180px}}.pozo-sidebar--collapsed .pozo-sidebar__header .pozo-sidebar__logo-container,.pozo-sidebar--collapsed .pozo-sidebar__header .pozo-sidebar__user-info{opacity:0;transform:scale(0)}.pozo-sidebar--collapsed .pozo-sidebar__header .pozo-sidebar__hamburger-menu{margin-right:0}.pozo-sidebar--collapsed .pozo-sidebar__menu-item{padding:16px 0;justify-content:center}.pozo-sidebar--collapsed .pozo-sidebar__menu-item .pozo-sidebar__menu-item-content{justify-content:center}.pozo-sidebar--collapsed .pozo-sidebar__menu-item .pozo-sidebar__menu-item-content .pozo-sidebar__menu-label{opacity:0;transform:translate(-10px)}.pozo-sidebar--collapsed .pozo-sidebar__menu-item .pozo-sidebar__menu-item-content .pozo-sidebar__menu-icon{margin-right:0;font-size:24px;width:32px;height:32px}.pozo-sidebar--collapsed .pozo-sidebar__menu-item .pozo-sidebar__submenu-arrow{opacity:0;transform:scale(0)}.pozo-sidebar--collapsed .pozo-sidebar__menu-item:hover .pozo-sidebar__menu-icon{transform:scale(1.2);color:#64b5f6}.pozo-sidebar--collapsed .pozo-sidebar__logout-container{justify-content:center;padding:16px 0;margin:12px 8px}.pozo-sidebar--collapsed .pozo-sidebar__logout-container .pozo-sidebar__logout-text{opacity:0;transform:translate(-10px)}.pozo-sidebar--collapsed .pozo-sidebar__logout-container .pozo-sidebar__logout-icon{margin-right:0;font-size:24px}.pozo-sidebar--collapsed .pozo-sidebar__logout-container:hover .pozo-sidebar__logout-icon{transform:scale(1.2);color:#ff6b6b}.pozo-sidebar--collapsed .pozo-sidebar__submenu,.pozo-sidebar--responsive-collapsed .pozo-sidebar__header .pozo-sidebar__logo-container,.pozo-sidebar--responsive-collapsed .pozo-sidebar__header .pozo-sidebar__user-info{opacity:0;transform:scale(0)}.pozo-sidebar--responsive-collapsed .pozo-sidebar__header .pozo-sidebar__hamburger-menu{margin-right:0}.pozo-sidebar--responsive-collapsed .pozo-sidebar__menu-item{padding:10px 20px;justify-content:center}.pozo-sidebar--responsive-collapsed .pozo-sidebar__menu-item .pozo-sidebar__menu-item-content .pozo-sidebar__menu-label{opacity:0;transform:translate(-10px)}.pozo-sidebar--responsive-collapsed .pozo-sidebar__menu-item .pozo-sidebar__menu-item-content .pozo-sidebar__menu-icon{margin-right:0}.pozo-sidebar--responsive-collapsed .pozo-sidebar__menu-item .pozo-sidebar__submenu-arrow{opacity:0;transform:scale(0)}.pozo-sidebar--responsive-collapsed .pozo-sidebar__logout-container{justify-content:center}.pozo-sidebar--responsive-collapsed .pozo-sidebar__logout-container .pozo-sidebar__logout-text{opacity:0;transform:translate(-10px)}.pozo-sidebar--responsive-collapsed .pozo-sidebar__logout-container .pozo-sidebar__logout-icon{margin-right:0}.pozo-sidebar--responsive-collapsed .pozo-sidebar__submenu{opacity:0;transform:scale(0)}.pozo-menu{font-family:Poppins,sans-serif!important;background:transparent;border-radius:0;box-shadow:none;overflow:hidden;-webkit-user-select:none;user-select:none}.pozo-menu.pozo-menu-vertical{width:100%!important;min-height:auto}.pozo-menu.pozo-menu-horizontal{width:100%;display:flex;flex-direction:row}.pozo-menu-content{padding:0;display:flex;flex-direction:column;gap:.1rem}.pozo-menu-item-wrapper{position:relative}.pozo-menu-item{display:flex;align-items:center;justify-content:center;padding:10px 8px;cursor:pointer;transition:background .2s,color .2s;border-radius:8px;margin:1px 3px;font-size:13px;font-weight:500;color:#fff;position:relative;min-height:38px;font-family:Poppins,sans-serif!important}.pozo-menu-item:hover:not(.selected):not(.active-path){background:#394588}.pozo-menu-item.selected{background:#050d36!important;color:#fff!important;border-right:3px solid #ffffff;font-weight:600;border-radius:6px;border:none!important}.pozo-menu-item.selected .pozo-menu-icon,.pozo-menu-item.selected .pozo-menu-label,.pozo-menu-item.selected .pozo-menu-arrow{color:#fff!important}.pozo-menu-item.open{background:#050d36!important;color:#23bbff;border-right:2px solid #23bbff;font-weight:600;width:95%}.pozo-menu-item.active-path{background:#050d36!important;color:#fff!important;font-weight:600;border-radius:6px}.pozo-menu-item.active-path .pozo-menu-icon,.pozo-menu-item.active-path .pozo-menu-label,.pozo-menu-item.active-path .pozo-menu-arrow{color:#fff!important}.pozo-menu-item.has-children:after{content:"";position:absolute;right:16px;top:50%;transform:translateY(-50%);width:0;height:0}.pozo-menu-item.group-item{font-weight:600;color:#666;font-size:12px;text-transform:uppercase;letter-spacing:.5px;padding:8px 16px;background:#fafafa;margin:4px 8px}.pozo-menu-item.group-item:hover{background:#fafafa;color:#666;cursor:default}.pozo-menu-icon{margin-right:.3rem;font-size:1.3rem;min-width:24px;display:flex;justify-content:center;align-items:center}@media (max-width: 500px){.pozo-menu-icon{font-size:1.1rem!important}}.pozo-menu-label{flex:1;color:#fff;font-size:13px;font-weight:500;word-break:break-word;line-height:1.2;font-family:Poppins,sans-serif!important}.pozo-menu-arrow{margin-left:auto;font-size:12px;display:flex;align-items:center;transition:transform .2s ease;color:#999}.pozo-dropdown-submenu{position:fixed!important;background:#23378a;border-radius:12px;box-shadow:0 2px 8px #0000001a;border:none;min-width:200px;max-width:300px;max-height:54vh;overflow-y:auto;animation:dropdownFadeIn .2s ease;scrollbar-width:thin;z-index:1050!important;transform:none!important;margin:0!important}.pozo-dropdown-submenu.nested-submenu{background:#23378a;border-radius:10px;box-shadow:0 2px 8px #0000001a;padding:.2rem 0 .5rem;width:200px;z-index:10001!important;margin-left:-3px!important}@media (max-width: 768px){.pozo-dropdown-submenu.nested-submenu{background-color:#001529}}.pozo-dropdown-submenu::-webkit-scrollbar{width:6px}.pozo-dropdown-submenu::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.pozo-dropdown-submenu::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.pozo-dropdown-submenu::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.pozo-submenu-content{padding:.2rem 0 .5rem}.pozo-submenu-content .pozo-menu-item{margin:1px 8px;padding:.5rem .7rem;font-size:1rem;font-weight:500;border-radius:6px;background:transparent;transition:background .18s,color .18s}.pozo-submenu-content .pozo-menu-item:hover:not(.selected):not(.active-path){background:#394588;color:#182147;font-weight:600}.pozo-submenu-content .pozo-menu-item.selected{background:#050d36!important;color:#fff!important;font-weight:600;border-radius:6px;border-left:3px solid #ffffff}.pozo-submenu-content .pozo-menu-item.selected .pozo-menu-icon,.pozo-submenu-content .pozo-menu-item.selected .pozo-menu-label,.pozo-submenu-content .pozo-menu-item.selected .pozo-menu-arrow{color:#fff!important}.pozo-submenu-content .pozo-menu-item.active-path{background:#050d36!important;color:#fff!important;font-weight:600;border-radius:6px}.pozo-submenu-content .pozo-menu-item.active-path .pozo-menu-icon,.pozo-submenu-content .pozo-menu-item.active-path .pozo-menu-label,.pozo-submenu-content .pozo-menu-item.active-path .pozo-menu-arrow{color:#fff!important}.pozo-submenu-content .pozo-menu-item.group-item{background:transparent;border-bottom:none;margin:0;border-radius:6px}.pozo-submenu-content .pozo-menu-item.group-item:hover{background:transparent;color:#fff}.pozo-inline-submenu{background:#fafafa;border-left:2px solid #e8e8e8;margin-left:20px;border-radius:0 6px 6px 0}.pozo-inline-submenu .pozo-menu-item{margin:1px 4px;padding:8px 12px;font-size:13px;background:transparent}.pozo-inline-submenu .pozo-menu-item:hover{background:#f0f8ff}.pozo-inline-submenu .pozo-menu-item.selected{background:#e6f7ff;border-left:2px solid #1890ff}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.bottom-menu .pozo-dropdown-submenu{transform:none!important;margin-top:0!important}@media (max-width: 900px){.pozo-dropdown-submenu{left:70px!important;min-width:180px;max-width:calc(100vw - 80px)}.pozo-dropdown-submenu.nested-submenu,.bottom-menu .pozo-dropdown-submenu{left:70px!important}}@media (max-width: 768px){.pozo-menu.pozo-menu-vertical{width:100%}.pozo-dropdown-submenu{min-width:100%;max-width:100%;position:unset!important;background-color:#182147}.pozo-menu-item{font-size:15px}}@media (max-width: 500px){.pozo-menu-label{font-size:11px!important;margin-top:2px}}.pozo-menu.dark-theme{background:#001529;color:#fff}.pozo-menu.dark-theme .pozo-menu-item{color:#ffffffd9}.pozo-menu.dark-theme .pozo-menu-item:hover{background:#1890ff;color:#fff}.pozo-menu.dark-theme .pozo-menu-item.selected{background:#1890ff;color:#fff;border-left-color:#fff}.pozo-menu.dark-theme .pozo-menu-item.group-item{background:#002140;color:#ffffffa6}.pozo-menu.dark-theme .pozo-dropdown-submenu{background:#001529;border-color:#303030}.pozo-menu.dark-theme .pozo-inline-submenu{background:#002140;border-left-color:#303030}@media (prefers-contrast: high){.pozo-menu-item{border:1px solid transparent}.pozo-menu-item:hover{border-color:#1890ff}.pozo-menu-item.selected{border-color:#1890ff;border-width:2px}}.float-label{position:relative;margin-bottom:12px}.label{font-size:14px!important;font-weight:400;position:absolute;pointer-events:none;left:12px;font-family:Arial,Helvetica,sans-serif;top:14px;transition:.2s ease all}.label-float{font-size:12px!important;top:2px;left:12px;font-style:normal;color:#007eb5;z-index:23}.example{width:var(--INPUT_FIELD_WIDTH)}.ant-input{padding:18px 14px 6px 11px!important;font-size:16px;font-weight:490;color:#000}.ant-input:hover{padding:18px 14px 6px 11px;font-size:16px;border:var(--DEFAULT_SELECTED_COLOR) solid 1px}.ant-input:focus{padding:18px 14px 6px 11px;font-size:16px;border:var(--DEFAULT_SELECTED_COLOR) solid 1px}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{height:53px;font-size:16px;padding:10px;font-weight:600}.ant-select .ant-select-selector{padding:16px 10px 4px 11px}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{height:48px;font-size:16px;padding:10px;font-weight:600}.ant-select-single .ant-select-selector .ant-select-selection-search{top:16px;font-size:16px}:where(.css-dev-only-do-not-override-1fviqcj).ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){color:#ffffffe0;font-weight:600;background-color:var(--PRIMARY_BUTTON_BG_COLOR)}.primary_Button{width:170px;height:45px;background-color:var(--PRIMARY_BUTTON_BG_COLOR)!important;color:#fff;font-family:var(--HEADING_FONT_FAMILY);font-style:normal;font-weight:500;font-size:14px;border-radius:8px;display:flex;letter-spacing:.5px;justify-content:space-between;align-items:center;z-index:2}.primary_Button{border:1px solid;overflow:hidden}.primary_Button span{z-index:20}.primary_Button:after{background:#fff;content:"";height:155px;left:-75px;opacity:.2;position:absolute;top:-50px;transform:rotate(35deg);transition:all .55s cubic-bezier(.19,1,.22,1);width:50px;z-index:-10}.primary_Button:hover:after{left:120%;transition:all .55s cubic-bezier(.19,1,.22,1)}.primary_Button:focus{border:1.8px solid var(--PRIMARY_BUTTON_BG_COLOR);background-color:#fff!important;color:#901d77;font-weight:600;font-size:14px}.primary_Button:focus:hover{border:1.8px solid var(--PRIMARY_BUTTON_BG_COLOR);background-color:#fff!important;color:var(--PRIMARY_BUTTON_BG_COLOR);font-weight:600;font-size:14px}.secondary_Button{width:170px;height:45px;background-color:#000!important;color:#fff;font-family:var(--HEADING_FONT_FAMILY);font-style:normal;font-weight:500;font-size:14px;border-radius:8px;display:flex;letter-spacing:.5px;justify-content:space-between;align-items:center;z-index:2}.secondary_Button{border:1px solid;overflow:hidden}.secondary_Button span{z-index:20}.secondary_Button:after{background:#fff;content:"";height:155px;left:-75px;opacity:.2;position:absolute;top:-50px;transform:rotate(35deg);transition:all .55s cubic-bezier(.19,1,.22,1);width:50px;z-index:-10}.secondary_Button:hover:after{left:120%;transition:all .55s cubic-bezier(.19,1,.22,1)}.secondary_Button:focus{border:1.8px solid var(--PRIMARY_BUTTON_BG_COLOR);background-color:#fff!important;color:#901d77;font-weight:600;font-size:14px}.secondary_Button:focus:hover{border:1.8px solid var(--PRIMARY_BUTTON_BG_COLOR);background-color:#fff!important;color:var(--PRIMARY_BUTTON_BG_COLOR);font-weight:600;font-size:14px}.tertiary_Button{width:100px;height:30px;background-color:var(--PRIMARY_BUTTON_BG_COLOR)!important;color:#fff;font-family:var(--HEADING_FONT_FAMILY);font-style:normal;font-weight:400;font-size:14;line-height:18px;border-radius:8px;display:flex;letter-spacing:.5px;justify-content:center;align-items:center;z-index:2;left:450px}.tertiary_Button{border:1px solid;overflow:hidden}.tertiary_Button span{z-index:20}.tertiary_Button:after{content:"";height:155px;left:-15px;opacity:.2;position:absolute;top:-50px;transform:rotate(35deg);transition:all .55s cubic-bezier(.19,1,.22,1);width:50px;z-index:-10}.tertiary_Button:hover:after{left:120%;transition:all .55s cubic-bezier(.19,1,.22,1)}Button:disabled,Button[disabled]{width:170px;height:45px;background-color:gray;color:#fff;font-family:var(--HEADING_FONT_FAMILY);font-style:normal;font-weight:500;font-size:14px;border-radius:8px;display:flex;letter-spacing:.5px;justify-content:space-between;align-items:center;z-index:2}.primary_Button{background-color:var(--ERROR_COLOR);color:#fff;padding:15px}.ant-btn-primary:disabled{width:170px;height:45px;background-color:gray!important;color:#fff;font-family:var(--HEADING_FONT_FAMILY);font-style:normal;font-weight:500;font-size:14px;border-radius:8px;display:flex;letter-spacing:.5px;justify-content:space-between;align-items:center;z-index:2}.ant-btn-primary:disabled{background-color:#fff!important;color:#fff;font-family:var(--HEADING_FONT_FAMILY);font-style:normal;font-weight:500;font-size:12px;border-radius:8px;display:flex;letter-spacing:.5px;justify-content:center;z-index:2}.ant-btn-primary:disabled{background-color:var(--ERROR_COLOR);color:#858585}.ant-picker-dropdown .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner:before{position:absolute;top:0;inset-inline-end:0;bottom:0;inset-inline-start:0;z-index:1;border:1px solid var(--PRIMARY_BUTTON_BG_COLOR);border-radius:4px}.ant-picker-dropdown .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,:where(.css-dev-only-do-not-override-1fviqcj).ant-picker-dropdown .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,:where(.css-dev-only-do-not-override-1fviqcj).ant-picker-dropdown .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner{color:#fff;background:#901d77}.ant-picker-dropdown .ant-picker-today-btn{color:var(--DEFAULT_SELECTED_COLOR)}.ant-checkbox .ant-checkbox-inner{box-sizing:border-box;position:relative;top:0;inset-inline-start:0;display:block;width:16px;height:16px;direction:ltr;background-color:#fff;border:1px solid #000;border-radius:4px;border-collapse:separate;transition:all .3s}.ant-checkbox-checked .ant-checkbox-inner{background-color:#000;border-color:#000}.ant-pagination .ant-pagination-item-active{font-weight:600;background-color:#fff;border-color:#000}.ant-pagination .ant-pagination-item-active a{color:#000}.ant-table-wrapper .ant-table-thead>tr>th,.ant-table-wrapper .ant-table-thead>tr>td{position:relative;font-weight:600;text-align:start;font-size:12px;color:#767676;background:#fafafa;border-bottom:1px solid #f0f0f0;font-size:13px}.ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover .ant-checkbox-checked:not(.ant-checkbox-disabled) .ant-checkbox-inner{background-color:#000;border-color:transparent}.ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover .ant-checkbox-inner,:where(.css-dev-only-do-not-override-1fviqcj).ant-checkbox:not(.ant-checkbox-disabled):hover .ant-checkbox-inner{border-color:#000}.ant-switch.ant-switch-checked{background:var(--SELECTED_COLOR)}.ant-switch.ant-switch-checked:hover:not(.ant-switch-disabled){background:var(--SELECTED_COLOR)}.ant-table-wrapper .ant-table-thead>tr>th,.ant-table-wrapper .ant-table-thead>tr>td{position:relative;color:#404040e0;font-weight:600;text-transform:uppercase;text-align:start;background:none;border-bottom:1px solid #f0f0f0;font-family:var(--HEADING_FONT_FAMILY);transition:background .2s ease;transition-duration:.6s;font-size:13px!important}.ant-table-wrapper .ant-table{box-sizing:border-box;margin:0;padding:0;color:#0e0e0ee0;font-size:14px;line-height:1.5714285714;list-style:none;font-family:var(--HEADING_FONT_FAMILY);background:none;background-color:#ffffff09;border-radius:5px;transition-duration:.6s}.ant-table-wrapper table{width:100%;text-align:start;border-radius:8px 8px 0 0;border-collapse:separate;border-spacing:0}.ant-table-wrapper .ant-table:hover{box-sizing:border-box;margin:0;padding:0;color:#0e0e0ee0;font-size:14px;line-height:1.5714285714;list-style:none;border-radius:8px 8px 0 0;transition-duration:.6s}.ant-table-cell-row-hover{font-size:14px;font-weight:600;transition-duration:.6s}.ant-table-wrapper .ant-table-pagination-right{justify-content:flex-start}.ant-pagination .ant-pagination-item{display:inline-block;min-width:32px;height:32px;margin-inline-end:8px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:30px;text-align:center;vertical-align:middle;list-style:none;background-color:#fff;border-radius:6px;outline:0;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-menu .ant-menu-item .ant-menu-item-icon,.ant-menu .ant-menu-submenu-title .ant-menu-item-icon,:where(.css-dev-only-do-not-override-1fviqcj).ant-menu .ant-menu-item .anticon,:where(.css-dev-only-do-not-override-1fviqcj).ant-menu .ant-menu-submenu-title .anticon{min-width:14px;font-size:20px;position:relative;top:13px;transition:font-size .2s cubic-bezier(.215,.61,.355,1),margin .3s cubic-bezier(.645,.045,.355,1),color .3s}.ant-menu-light,.ant-menu-light>.ant-menu{color:#000000e0;background:none;padding:1vw 0vh}.ant-form-item .ant-form-item-explain-error{color:var(--ERROR_COLOR);position:relative}.ant-table-cell{background:rgba(250,250,250,.4784313725);padding:8px!important}.ant-input-affix-wrapper>input.ant-input{font-size:inherit;border:none;border-radius:0;outline:none;transition-duration:.6s}.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{border-color:var(--DEFAULT_SELECTED_COLOR);border-inline-end-width:1px;background-color:none;z-index:0;transition-duration:.6s}.ant-input-affix-wrapper{position:relative;display:inline-flex;width:100%;min-width:0;color:#000000e0;height:50px;line-height:1.5714285714;background-color:#fff;background-image:none;border-width:1px;border-style:solid;border-color:#d9d9d9;border-radius:6px;font-size:16px;transition:all .2s}.ant-input-affix-wrapper>input.ant-input{font-size:inherit;border:none;border-radius:0;outline:none}.ant-input-affix-wrapper>input.ant-input{font-size:inherit;border:none;padding:23px -2px;padding-top:1rem;border-radius:0;outline:none}.ant-upload-drag-icon{color:#000}.ant-upload-text{font-family:var(--HEADING_FONT_FAMILY)}.ant-upload-hint{font-family:var(--PARA_FONT_FAMILY)}.ant-upload-wrapper .ant-upload-drag p.ant-upload-drag-icon .anticon{color:#6a6a6a;font-size:48px}.ant-table table{border-spacing:0 10px;transition-duration:.6s}.ant-table-wrapper .ant-table-tbody>tr.ant-table-row>td,.ant-table-wrapper .ant-table-tbody>tr>th.ant-table-cell-row>td.ant-table-cell-row{background:rgba(255,255,255,.5568627451);box-shadow:#64646f05 0 7px 29px}.ant-table-wrapper .ant-table-tbody>tr.ant-table-row:hover>td,.ant-table-wrapper .ant-table-tbody>tr>th.ant-table-cell-row-hover>td.ant-table-cell-row-hover{background:rgb(224,223,223);font-size:15px;transition-duration:.6s}.ant-modal .ant-modal-content{position:relative;background-color:#fff;background-clip:padding-box;border:0;font-family:var(--HEADING_FONT_FAMILY);border-radius:8px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;pointer-events:auto;padding:54px;color:#000}.ant-modal-footer{position:relative;display:flex;justify-content:flex-end}.ant-pagination .ant-pagination-next{font-family:Arial,Helvetica,sans-serif;outline:1;background-color:#fff}.ant-pagination .ant-pagination-prev,.ant-pagination .ant-pagination-next{font-family:Arial,Helvetica,sans-serif;background-color:#fff}.ant-pagination .ant-pagination-item{min-width:32px;height:32px;margin-inline-end:8px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:30px;text-align:center;vertical-align:middle;list-style:none;background-color:#fff;border-radius:6px;outline:0;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-pagination .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis{position:absolute;top:0;inset-inline-end:0;bottom:0;inset-inline-start:0;margin:auto;color:#00000040;font-family:Arial,Helvetica,sans-serif;letter-spacing:2px;text-align:center;text-indent:.13em;opacity:1;transition:all .2s}.ant-pagination .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon{color:var(--ERROR_COLOR);font-size:12px;opacity:0;transition:all .2s;display:none}.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-inline-end:18px;text-align:initial}.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-inline-end:59px;text-align:initial;font-size:14px;color:#626262;font-weight:400;font-family:Poppins,sans-serif}.ant-select .ant-select-arrow{display:flex;align-items:center;color:#00000084;font-style:normal;line-height:1;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%;inset-inline-start:auto;inset-inline-end:11px;height:110p;margin-top:-6px;font-size:16px;pointer-events:none}.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input{padding:0;border:none;height:20px;font-size:16px;position:relative;bottom:.5rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ant-table-wrapper .ant-table-column-sorter{margin-inline-start:4px;color:#0000004a;font-size:0;transition:color .3s}.ant-input:disabled{color:#000}.ant-form-item-row .ant-form-item-control .ant-form-item-control-input .ant-form-item-control-input-content .ant-input-textarea-affix-wrapper{height:100%}.ant-input-search-button{display:none}.ant-input-search{width:min(60vw,250px)}.searchDiv .ant-input{padding:.25rem .5rem;border-radius:.25rem!important;width:inherit;border-radius:10px!important;font-size:14px;height:45px}.ant-collapse{box-sizing:border-box;margin:0;padding:0;font-size:14px;line-height:1.5714285714;list-style:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";border:none;border-bottom:0;border-radius:8px}.ie_btn{position:relative;margin-left:7px}.download-link{background:none;border:none;color:var(--DEFAULT_SELECTED_COLOR);cursor:pointer}.radio-buttons{display:flex;justify-content:center;align-items:center;height:100px;margin-top:-43px}.radio-buttons-Payment{display:flex;justify-content:center;align-items:center;margin-bottom:20px}.cancel-link{background:none;border:none;color:#000;cursor:pointer}.xltable{width:100%}.xltable .ant-table-thead th{font-size:.6rem!important;font-weight:700!important}@media all and (max-width: 899px){.primary_Button{width:138px}}.formSearch .ant-input{padding:6px 14px 6px 11px!important}.ant-select-selection-item{margin-top:10px}.formHeader{font-size:25px;font-weight:600;color:#000;font-family:var(--HEADING_FONT_FAMILY)}.busi-desc .label{background-color:#fff!important;width:80%!important}.busi-desc .label-float{top:1px!important}.busi-desc textarea{scrollbar-width:thin}.appUrlInput .ant-input{padding:18px 10px 6px 2px!important}.reportTableCompany{width:100%;overflow:scroll;height:65vh!important}@media (max-width: 500px){.reportTableCompany{width:82%}}.handleSubmitSMS{width:85%}.handleSubmitSMS .ant-form-item{width:250px!important}.handleSubmitSMS .ant-form{flex:unset!important;display:flex;flex-wrap:wrap;gap:2rem;row-gap:0}.handleSubmitSMS .ant-row{gap:2rem}.submitButtonDiv{display:flex;justify-content:flex-end;width:100%}.branchForms{display:flex;align-items:flex-start;flex-wrap:wrap!important;width:90%!important}.branchformDivAnt{width:100%!important}.branchformDivS{overflow:hidden!important}.subinputForm2{flex-wrap:wrap;width:100%}@media screen and (max-width: 768px){.subinputForm2{flex-direction:column!important}}.financial-switch>button{width:max-content;height:max-content;border-radius:50px}.ant-radio-wrapper .ant-radio-checked .ant-radio-inner{border-color:#000;background-color:#000}.ant-radio-wrapper .ant-radio-inner{box-sizing:border-box;position:relative;inset-block-start:0;inset-inline-start:0;display:block;width:16px;height:16px;background-color:#fff;border-color:#000;border-style:solid;border-width:1px;border-radius:50%;transition:all .2s}.otpModule{display:flex;justify-content:center;gap:10px;margin:16px 0}.otpModuleInput{width:40px;height:40px;text-align:center;font-size:18px;border:1px solid #ccc;border-radius:6px}.otpWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center}.user-password .ant-form-item-additional{width:250px!important;font-size:10px!important}.user-password .ant-form-item-explain-error{font-size:12px}.userPin .ant-input{padding:6px 14px 6px 11px!important}.showMap11{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;width:100%}.showMap22{flex-direction:column;width:unset!important}.homePageDivP{display:flex;flex-direction:column;flex-grow:1;column-gap:1rem;overflow-x:hidden;width:100%}.homePageDiv{display:flex;flex-grow:1;flex-wrap:wrap;column-gap:1rem;padding:.5rem 0px;row-gap:2rem;overflow:auto;width:100%}.AppsCardParentDiv{background-color:#fff;flex-grow:2.5;min-height:500px;border-radius:var(--CARD_BORDER_RADIUS);width:100%}.homePageRightSideCards{flex-grow:1;min-width:300px;display:flex;justify-content:flex-start;flex-wrap:wrap;overflow-x:auto;flex-direction:column;row-gap:5rem}.homePageRightSideCard{background-color:#fff;width:min(80vw,450px);height:250px;border-radius:var(--CARD_BORDER_RADIUS);overflow-y:auto;overflow-x:hidden}.homeAppHeadder{display:flex;margin:2rem;column-gap:1rem}.homePageAppIcon{display:grid;place-content:center;padding:auto}.homeAppHeadder p{font-size:12px;line-height:14.06px}.appList{flex-wrap:wrap;overflow:auto;width:100%}.appListComponent{display:flex;flex-direction:column;flex-wrap:wrap;column-gap:3rem;row-gap:1rem;margin:6px 1.5rem;flex-grow:1;justify-content:center;width:100%}.appListComponentSub{display:flex;flex-wrap:wrap;column-gap:2rem;row-gap:1rem;flex-grow:1;justify-content:center;width:95%;padding-bottom:3rem}.appCard{border:1px solid #1c1e1d;border-radius:4.55px;width:137.93px;height:126.79px;display:flex;justify-content:center;align-items:center;flex-direction:column;font-size:2vh;font-weight:500;line-height:13.71px;cursor:pointer}.appCard p{padding:1rem 0px}.appCard:hover{background-color:#f4eaf2;border-color:#f4eaf2;color:#8f1e78}.AppCard-Name{width:120px!important;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;text-align:center}.appCardexpire{border:1px solid #df1919;border-radius:4.55px;width:137.93px;height:126.79px;display:flex;justify-content:center;align-items:center;flex-direction:column;font-size:2vh;font-weight:500;line-height:13.71px;cursor:pointer}.appCardexpire p{padding:.47rem 0px}.appCardexpire:hover{background-color:#f4eaf2;border-color:#f4eaf2;color:#8f1e78}.appCardActive{border:1px solid #52C41A;border-radius:4.55px;width:137.93px;height:126.79px;display:flex;justify-content:center;align-items:center;flex-direction:column;font-size:2vh;font-weight:500;line-height:.71px;cursor:pointer}.appCardActive p{padding:.9rem 0px}.appCardActive:hover{background-color:#f4eaf2;border-color:#f4eaf2;color:#8f1e78}.appCardexpired{border:1px solid #ff8400;border-radius:4.55px;width:137.93px;height:126.79px;display:flex;justify-content:center;align-items:center;flex-direction:column;font-size:2vh;font-weight:500;line-height:13.71px;cursor:pointer}.appCardexpired p{padding:.6rem 0px}.appCardexpired:hover{background-color:#f4eaf2;border-color:#f4eaf2;color:#8f1e78}.divExpire{padding:.4rem;border-radius:.1rem;color:#ff8400;font-size:.7rem;font-family:VAR(--PARA_FONT_FAMILY);font-weight:600}.divActive{padding:.4rem .6rem;border-radius:.1rem;color:#10ac10;font-size:.8rem;font-family:VAR(--PARA_FONT_FAMILY);font-weight:500;background-color:#5ab95a4d;border-radius:4px;border:1px solid rgba(90,185,90,.3019607843)}.divExpired{padding:.4rem;border-radius:.1rem;color:#ff4d4f;font-size:.7rem;font-family:VAR(--PARA_FONT_FAMILY);font-weight:600}.homePaymentParent{overflow-y:auto;overflow-x:hidden;height:100%}.Pdf-Table-Div .ant-table-thead th{font-size:.6rem!important}.paymentHistoryTable{overflow:auto;height:100%}.paymentHistoryTable::-webkit-scrollbar{display:block!important}.paymentHistoryTable .ant-table-thead th{font-size:.6rem!important}.paymentHistoryTable .ant-table-wrapper .ant-table-thead>tr>th{color:#000;font-size:13px}.tableText{color:#000;font-size:.8rem}.Pending{color:orange}.tableText:has(.Pending):hover{color:orange}.Success{color:#52c41a}.tableText:has(.Success):hover{color:#52c41a}.Cancelled{color:#ff4d4f}.tableText:has(.Cancelled):hover{color:#ff4d4f}.homeNotification{display:flex;justify-content:flex-start;align-items:center;margin-left:2rem;font-family:var(--PARA_FONT_FAMILY);font-size:14px!important;padding:1rem 2rem 2rem}.tooltip{position:relative;display:inline-block;font-family:Gilroy}.tooltip .tooltiptext{visibility:hidden;font-size:14px;font-family:Gilroy;width:120px;background-color:#000;color:#fff;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:1;top:100%;left:50%;margin-left:-60px}.tooltip:hover .tooltiptext{font-family:Gilroy;visibility:visible}.viewdiv{text-decoration:underline;text-align:end;cursor:pointer;color:#3e99ed}.pdf-body{font-family:Segoe UI,Arial,sans-serif;font-size:13px;color:#333;padding:20px;max-width:800px;margin:auto;background:#fff}.pdf-header{display:flex;align-items:center;border-bottom:2px solid #0074d9;padding-bottom:10px;margin-bottom:20px}.pdf-header .pdf-logo{height:50px;margin-right:15px}.pdf-header .pdf-title-block{flex:1}.pdf-header .pdf-title-block .pdf-title{font-size:24px;font-weight:700;margin:0;color:#0074d9}.pdf-header .pdf-title-block .pdf-subtitle{font-size:14px;color:#777;margin:0}.pdf-header .pdf-square{width:20px;height:20px;background:#0074d9}.pdf-amount-section{display:flex;justify-content:space-between;margin-bottom:10px}.pdf-amount-section p{margin:0;font-weight:700}.pdf-amount-section .pdf-value{margin-left:5px;font-weight:400;color:#555}.pdf-billing-section{display:flex;justify-content:space-between;margin-top:15px}.pdf-billing-section .pdf-section-title{font-weight:700;margin-bottom:4px;font-size:14px;color:#0074d9}.pdf-billing-section .pdf-section-text{margin:0;font-size:12px;color:#555}.pdf-divider{border:none;border-top:1px solid #ddd;margin:20px 0}.pdf-table-wrapper{margin-top:10px}.pdf-table-wrapper .pdf-table-heading{font-weight:700;font-size:14px;color:#0074d9;margin-bottom:8px}.pdf-table-wrapper .pdf-table-subheading{font-size:12px;color:#666;margin-bottom:10px}.pdf-table-wrapper .pdf-table{width:100%;border-collapse:collapse;font-size:12px}.pdf-table-wrapper .pdf-table th{background:#f4f6f8;text-align:left;padding:8px;border-bottom:2px solid #ddd}.pdf-table-wrapper .pdf-table td{padding:8px;border-bottom:1px solid #eee}.pdf-table-wrapper .pdf-table th,.pdf-table-wrapper .pdf-table td{white-space:nowrap}.pdf-table-wrapper .pdf-table tfoot td{font-weight:700}.pdf-table-wrapper .pdf-addon-list{margin:0;padding-left:18px;font-size:12px;color:#555}.pdf-table-wrapper .pdf-addon-list li{margin-bottom:2px}@media print{body{background:#fff}.pdf-body{box-shadow:none;margin:0;padding:0}}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-Bold-2d682c20.woff2) format("woff2"),url(/assets/Gilroy-Bold-b687e84e.woff) format("woff");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-BlackItalic-2e57bf21.woff2) format("woff2"),url(/assets/Gilroy-BlackItalic-8adeb0d9.woff) format("woff");font-weight:900;font-style:italic;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-Black-c2142843.woff2) format("woff2"),url(/assets/Gilroy-Black-8757b49f.woff) format("woff");font-weight:900;font-style:normal;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-BoldItalic-402f553e.woff2) format("woff2"),url(/assets/Gilroy-BoldItalic-6e7cb8cf.woff) format("woff");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-LightItalic-b75fdf79.woff2) format("woff2"),url(/assets/Gilroy-LightItalic-0f080c38.woff) format("woff");font-weight:300;font-style:italic;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-Medium-98c8721b.woff2) format("woff2"),url(/assets/Gilroy-Medium-f049099c.woff) format("woff");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-HeavyItalic-a6acf566.woff2) format("woff2"),url(/assets/Gilroy-HeavyItalic-c8c9b41d.woff) format("woff");font-weight:900;font-style:italic;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-Light-86661761.woff2) format("woff2"),url(/assets/Gilroy-Light-0a5347b4.woff) format("woff");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-ExtraBoldItalic-a99a1dcb.woff2) format("woff2"),url(/assets/Gilroy-ExtraBoldItalic-10a54ffe.woff) format("woff");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-Heavy-b5a388db.woff2) format("woff2"),url(/assets/Gilroy-Heavy-fd88015e.woff) format("woff");font-weight:900;font-style:normal;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-ExtraBold-2c8f553a.woff2) format("woff2"),url(/assets/Gilroy-ExtraBold-22bbff55.woff) format("woff");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-MediumItalic-74d34948.woff2) format("woff2"),url(/assets/Gilroy-MediumItalic-bddb8eaf.woff) format("woff");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-UltraLightItalic-7731e8cf.woff2) format("woff2"),url(/assets/Gilroy-UltraLightItalic-d2c52218.woff) format("woff");font-weight:200;font-style:italic;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-ThinItalic-ce729739.woff2) format("woff2"),url(/assets/Gilroy-ThinItalic-fd2eea37.woff) format("woff");font-weight:100;font-style:italic;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-Thin-9a5d0225.woff2) format("woff2"),url(/assets/Gilroy-Thin-61729fcb.woff) format("woff");font-weight:100;font-style:normal;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-SemiBold-b393718e.woff2) format("woff2"),url(/assets/Gilroy-SemiBold-78c4221a.woff) format("woff");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Gilroy-RegularItalic;src:url(/assets/Gilroy-RegularItalic-8e07867f.woff2) format("woff2"),url(/assets/Gilroy-RegularItalic-69d2426b.woff) format("woff");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-Regular-5d121b35.woff2) format("woff2"),url(/assets/Gilroy-Regular-c689d8cb.woff) format("woff");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-SemiBoldItalic-57ee5789.woff2) format("woff2"),url(/assets/Gilroy-SemiBoldItalic-e62ca1a6.woff) format("woff");font-weight:600;font-style:italic;font-display:swap}@font-face{font-family:Gilroy;src:url(/assets/Gilroy-UltraLight-5ee0e400.woff2) format("woff2"),url(/assets/Gilroy-UltraLight-e7eefeda.woff) format("woff");font-weight:200;font-style:normal;font-display:swap}@font-face{font-family:NeueMontreal;src:url(/assets/NeueMontreal-Regular-94bbc905.otf) format("opentype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:NeueMontreal;src:url(/assets/NeueMontreal-Bold-6fd352df.otf) format("opentype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:NeueMontreal;src:url(/assets/NeueMontreal-BoldItalic-e627ec09.otf) format("opentype");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:NeueMontreal;src:url(/assets/NeueMontreal-Italic-59f51afe.otf) format("opentype");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:NeueMontreal;src:url(/assets/NeueMontreal-Light-d4b9992e.otf) format("opentype");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:NeueMontreal;src:url(/assets/NeueMontreal-LightItalic-808eec4c.otf) format("opentype");font-weight:300;font-style:italic;font-display:swap}@font-face{font-family:NeueMontreal;src:url(/assets/NeueMontreal-Medium-3d28dde2.otf) format("opentype");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:NeueMontreal;src:url(/assets/NeueMontreal-MediumItalic-c30eee50.otf) format("opentype");font-weight:500;font-style:italic;font-display:swap}.titleFont{font-family:var(--HEADING_FONT_FAMILY);font-weight:600}.appimg{width:2.5rem;height:2.5rem}.ptsColBadgeContent{background-color:#ff4d4f;color:#fff;width:184px;display:block;font-size:15px;line-height:normal;position:absolute;top:214.7696px;transform:rotate(45deg);transform-origin:center bottom}.ptsColBadge ptsColBadge-right-top{right:0;top:0;width:169px;height:164px}.FreePriceTag{font-weight:600;color:#52c41a}.stats-grid1{display:flex;gap:1.5rem;align-items:center;justify-content:flex-start;flex-wrap:wrap;margin-bottom:.5rem;width:95%}.numberIcon{display:flex;align-items:center;justify-content:space-between;width:100%;gap:10px}.stat-card{background:white;border-radius:12px;padding:12px;color:#333;position:relative;overflow:hidden;transition:all .3s ease;width:240px;border:1px solid #f3f3f3;box-shadow:0 1px 4px #0000001a}.stat-card .stat-content{display:flex;align-items:flex-start;justify-content:space-between;position:relative}.stat-card .stat-content .stat-info{flex:1}.stat-card .stat-content .stat-info .stat-number{font-size:2.1rem;font-weight:600;color:#2c3e50;margin-bottom:.5rem;line-height:1}.stat-card .stat-content .stat-info .stat-label{font-size:1rem;font-weight:600;color:#2c3e50;margin-top:.25rem}.stat-card .stat-content .stat-info .stat-subtitle{font-size:.85rem;color:#333;font-weight:400}.stat-card .stat-content .stat-icon{width:45px;height:45px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.6rem;margin-left:1rem;flex-shrink:0}.stat-card.total-apps .stat-icon{background-color:#ecefff;color:#667eea}.stat-card.total-apps:hover{transform:translateY(-2px);box-shadow:0 1px 2px #667eea86}.stat-card.active-apps .stat-icon{background-color:#f0ffe1;color:#48ad15}.stat-card.active-apps:hover{transform:translateY(-2px);box-shadow:0 1px 2px #48ad156e}.stat-card.expired-apps .stat-icon{background-color:#ffeae6;color:#e01f22}.stat-card.expired-apps:hover{transform:translateY(-2px);box-shadow:0 1px 2px #e01f226e}.stat-card.app-types .stat-icon{background-color:#faad1441;color:#faad14}.stat-card.app-types:hover{transform:translateY(-2px);box-shadow:0 1px 2px #faad1465}.apps-section-header{margin-bottom:1rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;width:95%}.apps-section-header .header-info h2{font-size:20px;font-weight:600;margin:0 0 .5rem;color:#050505;display:flex;align-items:center;gap:.5rem}.apps-section-header .header-info h2 .header-icon{color:#667eea}.apps-section-header .header-info p{margin:0;color:#333;font-size:1rem}.apps-section-header .header-actions{display:flex;align-items:center;gap:1rem;flex-wrap:nowrap}.apps-section-header .header-actions .app-count-badge{background:linear-gradient(135deg,#2340b3 0%,#23378a 100%);color:#fff;padding:.75rem 1.25rem;border-radius:25px;font-size:.9rem;font-weight:500;display:flex;align-items:center;gap:.5rem}.apps-section-header .header-actions .settings-btn{background:white;border:2px solid #e8e8e8;border-radius:25px;padding:.75rem 1.25rem;display:flex;align-items:center;gap:.5rem;cursor:pointer;transition:all .3s ease;color:#667eea}.apps-section-header .header-actions .settings-btn:hover{border-color:#667eea;background:#f8f9ff}.apps-section-header .searchBar{display:flex;align-items:center;gap:12px;width:100%;flex:1;background:#ffffff;border:1px solid #e5e7eb;border-radius:12px;padding:0 14px}.apps-section-header .searchInput{height:48px;box-shadow:0 8px 24px #1018280f;font-size:14px;color:#111827;outline:none;border:none;width:100%;background-color:none;font-family:Poppins,sans-serif}.apps-section-header .filterBtn{background:#ffffff;border:1px solid #e5e7eb;border-radius:12px;height:50px;padding:0 14px;display:inline-flex;align-items:center;font-family:Poppins,sans-serif;gap:8px;box-shadow:0 8px 24px #1018280f;cursor:pointer;color:#23378a;font-weight:500}.card1 .v.green{color:#2e7d0b}.card1 .v.red{color:#a8071a}.apps-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem;margin-bottom:2rem}.app-card{background:white;border-radius:20px;padding:1.5rem;box-shadow:0 10px 30px #0000001a;cursor:pointer;transition:all .3s ease;border:2px solid transparent;position:relative;overflow:hidden}.app-card:hover{transform:translateY(-8px);box-shadow:0 20px 50px #00000026}.app-card.active{border-color:#52c41a;transform:translateY(-5px);box-shadow:0 15px 40px #52c41a33}.app-card.active:hover{transform:translateY(-8px);box-shadow:0 20px 50px #00000026}.app-card.expired{border-color:#ff4d4f;opacity:.8}.app-card.expiring{border-color:#faad14;opacity:.9}.app-card .status-badge{position:absolute;top:1rem;right:1rem;z-index:2}.app-card .app-icon{text-align:center;margin-bottom:1.5rem;position:relative}.app-card .app-icon .icon-container{width:80px;height:80px;margin:0 auto;border-radius:20px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 25px #667eea4d}.app-card .app-icon .icon-container img{width:50px;height:50px;object-fit:contain;filter:brightness(0) invert(1)}.app-card .app-name{font-size:1.2rem;font-weight:600;text-align:center;margin:0 0 1rem;color:#2c3e50;text-transform:uppercase}.app-card .app-status{text-align:center;margin-bottom:1rem}.app-card .pricing-info{text-align:center;margin-bottom:1rem;padding:.5rem;background:rgba(102,126,234,.1);border-radius:10px}.app-card .pricing-info .pricing-name{font-size:.8rem;color:#667eea;font-weight:600;margin-bottom:.25rem}.app-card .pricing-info .pricing-type{font-size:.7rem;color:#333}.app-card .action-button{text-align:center;margin-top:1rem}.app-card .action-button .btn{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:.75rem 1.5rem;border-radius:25px;font-size:.9rem;font-weight:500;display:inline-flex;align-items:center;gap:.5rem;transition:all .3s ease;cursor:pointer}.app-card .background-pattern{position:absolute;bottom:-30px;right:-30px;width:100px;height:100px;background:rgba(102,126,234,.05);border-radius:50%;z-index:1}.empty-state{text-align:center;padding:4rem 2rem;background:white;border-radius:20px;box-shadow:0 10px 30px #0000001a}.empty-state .empty-icon{width:80px;height:80px;margin:0 auto 1.5rem;border-radius:50%;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);display:flex;align-items:center;justify-content:center;color:#fff;font-size:2rem}.empty-state h3{font-size:1.5rem;font-weight:600;color:#2c3e50;margin:0 0 .5rem}.empty-state p{color:#333;margin:0 0 1.5rem}.empty-state .contact-btn{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:.75rem 1.5rem;border-radius:25px;font-size:.9rem;font-weight:500;display:inline-flex;align-items:center;gap:.5rem;cursor:pointer}.dashboard-footer{margin-top:3rem;padding:2rem;background:linear-gradient(135deg,#f8f9ff 0%,#e8eaff 100%);border-radius:20px;text-align:center}.dashboard-footer .footer-header{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-bottom:1rem;color:#667eea}.dashboard-footer .footer-header span{font-weight:600}.dashboard-footer p{margin:0 0 1.5rem;color:#333;font-size:.9rem}.dashboard-footer .footer-actions{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap}.dashboard-footer .footer-actions .btn-outline{background:white;border:2px solid #667eea;color:#667eea;padding:.75rem 1.5rem;border-radius:25px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .3s ease;display:inline-flex;align-items:center;gap:.5rem}.dashboard-footer .footer-actions .btn-outline:hover{background:#667eea;color:#fff}.dashboard-footer .footer-actions .btn-primary{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:.75rem 1.5rem;border-radius:25px;font-size:.9rem;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;gap:.5rem}.appListComponentSub .appCardActive{position:relative;display:inline-flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:240px;min-height:220px;padding:18px 14px 16px;background:linear-gradient(180deg,#ffffff 0%,#f6fff0 100%);border-radius:12px;border:2px solid #48ad15;box-shadow:0 2px 8px #0000000f;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;cursor:pointer}.appListComponentSub .appCardActive:hover{transform:translateY(-3px);box-shadow:0 10px 24px #00000026}.appListComponentSub .appCardActive .AppCard-Name{font-size:14px;font-weight:700;color:#163300;letter-spacing:.3px;text-transform:uppercase;margin:2px 0 0}.appListComponentSub .appCardActive .appimg{width:46px;height:46px;object-fit:contain}.appListComponentSub .app-meta{width:100%;display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:-4px}.appListComponentSub .app-meta .price{font-size:12px;font-weight:600;color:#2340b3;background:#ecefff;border-radius:999px;padding:3px 10px}.appListComponentSub .app-meta .validity{font-size:12px;color:#6b7280}.corner{display:flex;gap:8px}.corner .dot{background:#ffffff;border:1px solid #e5e7eb;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;box-shadow:0 2px 8px #10182814}.marketCard{width:320px;border-radius:16px;background:#fff;border:1px solid #eef0f3;box-shadow:0 8px 24px #10182814;overflow:hidden;cursor:pointer;transition:transform .25s ease,box-shadow .25s ease;font-family:Poppins,sans-serif}.marketCard:hover{transform:translateY(-3px);box-shadow:0 12px 28px #1018281f}.marketCard-header{position:relative;height:180px;background:#f5f7fb}.marketCard-header .bgImage{width:100%;height:100%;object-fit:cover;filter:blur(1px) brightness(.9)}.marketCard-header .overlayImage{width:100px;height:100px;object-fit:cover;position:absolute;z-index:10;left:1rem;right:0;bottom:1rem;background-color:#ffffffd1;padding:10px;border-radius:8px}.marketCard-header .badge{position:absolute;top:12px;left:12px;background:#1f2937;color:#fff;font-size:10px;letter-spacing:.2px;font-weight:500;padding:4px 8px;border-radius:999px}.marketCard-body{padding:16px}.marketCard-body .topline{display:flex;gap:8px;align-items:center;justify-content:space-between}.marketCard-body .topline .pill{font-size:10px;font-weight:600;color:#6b7280;background:#f3f4f6;padding:4px 10px;border-radius:999px}.marketCard-body .title{font-size:18px;font-weight:500;color:#111827}.marketCard-body .subtitle{font-size:12px;color:#6b7280;margin-bottom:10px;height:32px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.marketCard-body .rating{display:flex;align-items:center;gap:6px;font-size:13px;color:#374151;margin-bottom:10px}.marketCard-body .metrics{display:flex;flex-direction:column;align-items:flex-start;background-color:#f0f7ff;margin-bottom:10px;border-radius:8px;padding:10px}.marketCard-body .metrics .card1{display:flex;align-items:flex-start;justify-content:space-between;gap:4px;width:100%;font-family:Poppins}.marketCard-body .metrics .card1 .v{font-size:14px;font-weight:500;color:#0f172a}.marketCard-body .metrics .card1 .k{font-size:13px;color:#6b7280}.marketCard-body .tags{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px}.marketCard-body .tags .tag{font-size:12px;background:#eef2ff;color:#3730a3;border:1px solid #e0e7ff;padding:4px 10px;border-radius:999px}.marketCard-body .meta{display:flex;gap:4px;flex-direction:column-reverse;align-items:flex-start;width:100%}.marketCard-body .meta .item{font-size:13px;color:#64748b;font-weight:400;display:flex;align-items:center;justify-content:space-between;width:100%}.marketCard-body .meta .item1{font-size:13px;color:#64748b;font-weight:400}.marketCard-body .priceRow{display:flex;align-items:center;justify-content:space-between;width:100%}.marketCard-body .priceRow .price{font-weight:600;font-size:20px;color:#111827}.marketCard-body .cta{background:#050d36;color:#fff;padding:10px 16px;border-radius:6px;border:none;outline:none;font-family:Poppins,sans-serif;text-align:center;font-size:14px;letter-spacing:.2px;text-transform:capitalize;font-weight:400;cursor:pointer;margin:10px 0;width:100%;display:flex;align-items:center;justify-content:center;gap:1rem}.corner .pill{padding:4px 8px;border-radius:999px;font-size:11px;letter-spacing:.2px;font-weight:600;background:#ffffff;color:#2e7d0b}.corner .pill.active{background:#9FFFA3;color:#1b1b1b}.corner .pill.expiring{background:#fff7e6;color:#ad6800}.corner .pill.expired{background:#fff1f0;color:#a8071a}@media (max-width: 768px){.apps-grid{grid-template-columns:1fr;gap:1rem}}.cardlistmarket{background-color:#e1e7ff;display:flex;align-items:center;justify-content:space-between;flex-direction:column;gap:10px;border-radius:8px;padding:1rem;width:250px;height:240px;position:relative;perspective:1000px;transform-style:preserve-3d}.cardlistmarket:hover .cardAppDetails{transform:rotateY(0);opacity:1;pointer-events:auto}.cardlistmarket:hover .listAppImg{position:relative;left:3.8rem;width:100px;height:100px}.cardlistmarket:hover .listAppName,.cardlistmarket:hover .listAppPrice{opacity:0}.listAppStatus{background-color:#9fffa3;color:#1b1b1b;font-size:12px;padding:2px 6px;position:absolute;top:10px;right:10px;border-radius:50px;font-weight:500}.listAppName{font-size:18px;font-family:Poppins,sans-serif;font-weight:500;opacity:1;transition:opacity .35s ease;will-change:opacity}.listAppName1{font-size:16px;font-family:Poppins,sans-serif;font-weight:400;color:#fff}.listAppPrice{font-size:14px;font-family:Poppins,sans-serif;font-weight:500;opacity:1;transition:opacity .35s ease;will-change:opacity}.listAppPrice span{font-size:12px;font-weight:400;color:#64748b}.listAppPrice1{font-size:14px;font-family:Poppins,sans-serif;font-weight:400;opacity:1;display:flex;align-items:center;color:#fff;white-space:nowrap}.listAppPrice1 span{font-size:12px;font-weight:400;color:#b4bac2}.listAppPlan{font-size:12px;font-family:Poppins,sans-serif;font-weight:400;opacity:1;color:#fff}.listAppImg{width:100px;height:100px;transition:left .45s ease,width .45s ease,height .45s ease;position:relative;left:0;will-change:left,width,height}.listAppImg img{width:100%;border-radius:50%;height:100%;object-fit:cover;transition:transform .55s ease;will-change:transform}.cardAppDetails{width:50%;height:100%;position:absolute;left:0;top:0;background-color:#3d5ace;border-radius:8px;transform:rotateY(-90deg);transform-origin:left;transition:transform .45s ease,opacity .45s ease;opacity:0;backface-visibility:hidden;pointer-events:none;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-around;padding:10px;gap:10px}.listAppBtn{width:100%;text-align:center;background-color:#e1e7ff;color:#1531a0;border:none;padding:7px;border-radius:4px;cursor:pointer;font-size:13px;font-weight:400;font-family:Poppins,sans-serif}.Signup_container{position:relative;background-color:#ebf7fc;padding:3vw;height:100vh;justify-content:center;flex-wrap:wrap;overflow:scroll}.Signupimg{width:40vw}.Signup_Card{position:relative;display:flex;flex-wrap:nowrap;justify-content:space-between;padding:50px 67px;width:100%;background-color:#fff;border-radius:10px;border:1px solid #e9e9e9}.Signupbg{padding:6vw;position:relative;bottom:1rem;display:flex;justify-content:space-evenly;flex-wrap:wrap}.Globegif2{position:absolute;left:22rem;top:1rem;width:7vw}.Signuptxt1{font-family:var(--HEADING_FONT_FAMILY);font-style:normal;font-weight:600;font-size:4.8vh;color:var(--HEADING_COLOR);display:flex;position:relative;top:.5rem}.Signuptxt2{font-family:var(--PARA_FONT_FAMILY);color:var(--PARA_COLOR);font-size:16px;font-weight:500;position:relative;top:.5rem}.Signuptxt3{font-family:var(--PARA_FONT_FAMILY);font-size:11px;font-weight:400;position:relative;top:.5rem;color:#000}.footertag{display:flex;justify-content:space-evenly}.ftrtxt{font-family:var(--PARA_FONT_FAMILY);font-size:12px;font-weight:400;top:.5rem;color:#000}.Globegif{width:15vh;position:relative;top:5rem;left:35rem;opacity:8%}@media all and (max-width: 776px){.Signupimg{display:none}}@media (min-width: 771px) and (max-width: 1038px){.Signupimg{width:26vw}}@-webkit-keyframes bg-scrolling-reverse{to{background-position:50px 50px}}@-moz-keyframes bg-scrolling-reverse{to{background-position:50px 50px}}@-o-keyframes bg-scrolling-reverse{to{background-position:50px 50px}}@keyframes bg-scrolling-reverse{to{background-position:50px 50px}}@-webkit-keyframes bg-scrolling{0%{background-position:50px 50px}}@-moz-keyframes bg-scrolling{0%{background-position:50px 50px}}@-o-keyframes bg-scrolling{0%{background-position:50px 50px}}@keyframes bg-scrolling{0%{background-position:50px 50px}}.signinbody{position:absolute;left:0;right:0;height:100%;background-color:#f8f8ff;display:flex;flex-direction:column;justify-content:center;color:#999}.Signin_cont{display:flex;justify-content:space-between;align-items:center;margin:0vw 12vh;padding:2vw 4vh;border-radius:8px;background-color:#fff;box-shadow:#959da557 0 8px 24px}.signin_div{display:flex;width:100%;justify-content:space-around;column-gap:1rem;align-items:center}.signin_div .ant-input{padding:18px 10px 6px 2px!important}.card{display:flex;width:100%;justify-content:space-around}.logintxt1{font-family:var(--HEADING_FONT_FAMILY);font-style:normal;font-weight:600;font-size:1.8rem;color:var(--HEADING_COLOR)}.logintxt2{font-family:var(--PARA_FONT_FAMILY);color:var(--PARA_COLOR);font-size:.8rem;color:#494949;line-height:2rem;font-weight:400}.logintxt3{font-family:var(--PARA_FONT_FAMILY);font-size:1rem;font-weight:400}.signinhdtxt{display:flex;flex-direction:column;flex-wrap:wrap;color:#353535;width:max-content;padding:.5rem 0rem;gap:1rem}.Globegif{width:15vh;top:2rem;left:16rem;opacity:80%}.txt5{position:fixed;bottom:0;width:100vw;font-size:12px;cursor:pointer;color:#353535}.inputfieldstyle{top:0rem;position:relative;transition-duration:.6s}.imgcrsl{border:solid .02px #f3f3f3;margin:0vw 0vh;padding:0vw 0vh;width:40vw}.singin-div{display:flex;justify-content:space-around;width:100%}@media (max-width: 900px){.Signin_cont{margin:10vw 5vh;padding:13vw 3vh}}@media (min-width: 500px) and (max-width: 769px){.imgcrsl{display:none!important}.signin_div,.Signin_cont{justify-content:center!important}}@media (min-width: 280px) and (max-width: 499px){.Signin_cont{margin:10vw 2.5vh;padding:10vw 2vh;height:80vh}.signin_div,.Signin_cont{justify-content:center!important}.Globegif,.imgcrsl{display:none!important}.signCard{width:min-content!important}.imgcrsl{display:none}}.timersec{font-family:var(--PARA_FONT_FAMILY);font-style:normal;font-size:18px;line-height:35px}.otpContainer{margin-bottom:25px;align-content:center}.otpInput{width:1.85rem!important;height:2.5rem;margin:0 .14rem;font-size:1rem;text-align:center;border-radius:4px;border:1px solid rgba(0,0,0,.3)}.timersecsubdiv{display:flex;column-gap:1rem}.signCard .ant-collapse{width:auto!important;margin:auto!important}.signbodymodal-content{display:flex!important;align-items:center}.signbodymodal-content h3{font-size:18px;margin-top:.8rem;font-weight:700!important}.PozoappNavbar-Master{width:100vw;height:auto;padding:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between;background-color:#ffffffa4;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 4px 150px #0000001a;font-family:Gilroy!important;position:sticky;top:0;z-index:999;gap:1rem}.PozoappNavbar-Master .PozoappNavbar-responsive-Toogle{display:none}.PozoappNavbar-Master .PozoappNavbar-responsive-Toogle .responsive-Toogle-BTN{cursor:pointer;position:relative}.PozoappNavbar-Master .PozoappNavbar-logo-and-field{display:flex;align-items:center;justify-content:center;gap:3rem;opacity:0;animation:fadeIn 1s ease forwards}.PozoappNavbar-Master .pozologo-image{width:90px;cursor:pointer}.PozoappNavbar-Master .pozologo-image img{width:100%}.PozoappNavbar-Master .logo-and-fields{display:flex;align-items:center;justify-content:center;gap:2rem;font-size:15px}.PozoappNavbar-Master .logo-and-fields .Industries-main{cursor:pointer;font-weight:600;letter-spacing:.3px;text-transform:uppercase}.PozoappNavbar-Master .logo-and-fields .offering-main{font-weight:600;letter-spacing:.3px;font-size:15px;cursor:pointer;text-transform:uppercase}.PozoappNavbar-Master .Testimonial-PozoNavbar{font-weight:600;text-transform:uppercase;cursor:pointer;font-size:15px}.PozoappNavbar-Master .PozoappNavbar-signin-and-field{display:flex;align-items:center;gap:1rem;justify-content:center;opacity:0;animation:fadeIn .5s ease forwards .5s}.PozoappNavbar-Master .PozoappNavbar-signin-and-field div{cursor:pointer}.PozoappNavbar-Master .signin-and-fields{display:flex;align-items:center;justify-content:center;gap:2rem;white-space:nowrap}.PozoappNavbar-Master .signin-and-fields div{font-size:15px;font-weight:600}.PozoappNavbar-Master .PozoappNavbar-signin{display:flex;align-items:center;gap:5px;font-size:14px;font-weight:600;border-radius:12px;cursor:pointer;padding:7px 16px;text-align:center;z-index:0}.PozoappNavbar-Master .PozoappNavbar-signin:hover{background-color:#9e1783;color:#fff}.PozoappNavbar-Master .PozoappNavbar-signin svg{font-size:22px;stroke-width:1.3}.PozoappNavbar-Master .Industries-main{position:relative;padding:1rem 0}.PozoappNavbar-Master .Industries-content{position:absolute;left:6rem;top:5.5rem;width:85vw;right:0;background-color:#fff;box-shadow:#64646f33 0 7px 29px;display:flex;padding:2rem;align-items:flex-start;border-radius:6px;gap:2rem;transform:translateY(-20px);opacity:0;visibility:hidden;transition:opacity .5s ease,visibility .5s ease}.PozoappNavbar-Master .Industries-content.show{opacity:1;visibility:visible}.PozoappNavbar-Master .Industries-cat{display:flex;align-items:flex-start;flex-direction:column;gap:5px;background-color:#f4eaf2;padding:1rem 1rem 2rem;height:300px;width:200px;overflow:scroll;border-radius:6px;white-space:nowrap;flex-wrap:nowrap;text-wrap:nowrap}.PozoappNavbar-Master .Industries-cat div{padding:10px 8px;color:#000;width:100%;border-radius:8px;cursor:pointer;font-weight:500;transition:background-color .3s ease,color .3s ease;white-space:pre-wrap;opacity:0;animation:fadeIn .5s ease forwards;animation-delay:calc(.1s * var(--i))}.PozoappNavbar-Master .Industries-cat div:hover{background-color:#fff;color:#000;transform:scale(1.02)}.PozoappNavbar-Master .Industries-cat-list{display:flex;align-items:center;justify-content:space-between;gap:5px}.PozoappNavbar-Master .Industries-SubCat{display:flex;flex-direction:column;gap:5px;height:300px;width:280px;padding:1rem 1rem 4rem;background-color:#f4eaf2;overflow:scroll;border-radius:6px}.PozoappNavbar-Master .Industries-SubCat .Industries-SubCat-list{padding:10px 8px;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;transition:background-color .3s ease,color .3s ease;opacity:0;animation:fadeIn .5s ease forwards;animation-delay:calc(.1s * var(--i));font-weight:500}.PozoappNavbar-Master .Industries-SubCat .Industries-SubCat-list:hover{background-color:#fff;color:#000;transform:scale(1.02)}.PozoappNavbar-Master .Industries-Info{display:flex;align-items:flex-start;gap:1rem;flex-wrap:wrap;width:50%;height:max-content;overflow:scroll;max-height:70vh;padding-bottom:5rem}.PozoappNavbar-Master .InfoData-Restaurant{display:flex;align-items:flex-start;justify-content:space-between;padding:6px;border:1px solid #e4e4e4;border-radius:6px;width:215px;height:85px;gap:5px;transition:transform .3s ease}.PozoappNavbar-Master .InfoData-Restaurant:hover{transform:scale(1.05)}.PozoappNavbar-Master .InfoData-Restaurant>div:nth-child(1) img{width:55px}.PozoappNavbar-Master .InfoData-Restaurant>div:nth-child(2)>p:nth-child(1){font-size:13px;font-weight:500}.PozoappNavbar-Master .InfoData-Restaurant>div:nth-child(2)>p:nth-child(2){font-size:10px;font-weight:400;height:35px;overflow:scroll;color:#00000084}.PozoappNavbar-Master .InfoData-Restaurant .AppDescription-tooltip{text-align:left!important;font-size:11px!important}.PozoappNavbar-Master .PozoappNavbar-overlay{position:absolute;top:5rem;left:0;height:91vh;width:100vw;-webkit-backdrop-filter:blur(15px)!important;backdrop-filter:blur(15px)!important;background-color:#0000009c;z-index:15;opacity:0;pointer-events:none;transition:opacity .3s ease}.PozoappNavbar-Master .PozoappNavbar-overlay.open{opacity:1;pointer-events:auto}.PozoappNavbar-Master .PozoappNavbar-responsive-content{width:80vw;min-height:max-content;max-height:75vh;position:absolute;background-color:#fff;top:2px;left:2px;border-radius:6px;opacity:0;transform:translate(-20px);transition:opacity .3s ease,transform .3s ease;box-shadow:#00000026 1.95px 1.95px 2.6px;pointer-events:none;padding:3rem 2rem;z-index:10}.PozoappNavbar-Master .PozoappNavbar-responsive-content.open{opacity:1;transform:translateY(0);pointer-events:auto}.PozoappNavbar-Master .responsive-content{display:flex;align-items:flex-start;flex-direction:column;border:1px solid #e4e1e1;padding:10px 12px 20px;border-radius:4px;gap:12px;width:100%;background-color:#ececec;font-weight:500;color:#000;height:max-content;max-height:70vh;overflow:scroll}.PozoappNavbar-Master .PozoappNavbar-industry{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:16px;cursor:pointer;border-bottom:3px solid #ffffff}.PozoappNavbar-Master .PozoappNavbar-industry svg{font-size:18px}.PozoappNavbar-Master .Testimonial-responsive{display:flex;align-items:center;justify-content:space-between;width:100%;border-bottom:3px solid #ffffff;padding:1px 1px 3px;cursor:pointer;font-weight:500;color:#000;font-family:VAR(--PARA_FONT_FAMILY)}.PozoappNavbar-Master .PozoappNavbar-industry-list{display:flex;align-items:flex-start;gap:10px;flex-direction:column;font-size:14px;width:100%}.PozoappNavbar-Master .PozoappNavbar-industry-list svg{font-size:16px}.PozoappNavbar-Master .PozoappNavbar-industry-list .Catlistofindustry{width:100%;padding:1rem;background-color:#fff;display:flex;flex-direction:column;border-radius:6px;gap:10px;height:max-content;max-height:55vh;overflow:scroll}.PozoappNavbar-Master .PozoappNavbar-industry-list .Catlistofindustry1{display:flex;align-items:center;gap:1rem;width:100%;cursor:pointer}.PozoappNavbar-Master .subCatlistofindustry{cursor:pointer;padding-left:1rem;padding-bottom:1rem;display:flex;flex-direction:column;align-items:flex-start;gap:10px;background-color:#ececec;padding:12px 16px;border-radius:6px}.PozoappNavbar-Master .subCatlistofindustry .industrycatmain{display:flex;align-items:flex-start;gap:5px;justify-content:space-between;width:100%}.PozoappNavbar-Master .subCatlist-in{background-color:#fff;width:100%;padding:8px 14px;border-radius:4px}.pozo-store-btn{font-size:15px!important;height:54px;font-weight:700;letter-spacing:.1px;border:none;color:#11181c;padding:18px 0;text-decoration:none;cursor:pointer}.pozo-store-btn1{font-size:20px!important;height:54px;padding:18px 0;cursor:pointer;display:none}.pozo-store-btn:hover{font-size:15px!important;height:54px;letter-spacing:.1px;border:none;color:#0f67da}.signin-responsive{position:relative}.signin-responsive svg{font-size:18px;stroke-width:1.5}.signin-responsive-option{position:absolute;background-color:#fff;right:0;width:max-content;display:flex;flex-direction:column;align-items:center;box-shadow:#64646f33 0 7px 29px;gap:10px;padding:10px;top:1.5rem;border-radius:6px}.signin-responsive-option div{font-size:14px!important;font-weight:500!important}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 899px){.Industries-content,.logo-and-fields,.signin-and-fields>div:nth-child(1){display:none!important}.PozoappNavbar-responsive-Toogle{display:block!important}}@media (max-width: 499px){.PozoappNavbar-Master .PozoappNavbar-responsive-content{width:90vw!important;padding:2rem 1.5rem}.PozoappNavbar-Master .PozoappNavbar-industry-list{padding-left:0}.PozoappNavbar-Master .PozoappNavbar-logo-and-field{gap:1rem}.PozoappNavbar-Master .PozoappNavbar-signin{font-size:14px!important;padding:4px 10px;border-radius:8px;font-weight:500!important;justify-content:center}.PozoappNavbar-Master .PozoappNavbar-signin svg{font-size:20px!important}.PozoappNavbar-Master .pozo-store-btn1{display:block!important;color:#000!important}.PozoappNavbar-Master .pozo-store-btn{display:none!important}}#viewport{overflow:hidden;top:0;left:0;right:0;bottom:0}#scroll-container{position:absolute;overflow:hidden;width:100%;height:300%;background-image:linear-gradient(rgba(255,255,255,.07) 2px,transparent 2px),linear-gradient(90deg,rgba(255,255,255,.07) 2px,transparent 2px),linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);background-size:100px 100px,100px 100px,20px 20px,20px 20px;background-position:-2px -2px,-2px -2px,-1px -1px,-1px -1px}.Home_Style{overflow:hidden}.Pro-header{position:fixed;top:0;width:100%;z-index:3}.progress-container{background-color:#96969699;height:3px;width:100%}.progress-bar{background-color:#8f1e78;height:5px;width:0%}.content_container{margin:2vw 0vw}.firsttxt{display:flex;flex-wrap:wrap;justify-content:center;font-family:var(--HEADING_FONT_FAMILY);padding:.2rem .6rem;margin:.3rem 0rem;font-weight:400;font-size:12px;line-height:14px;text-transform:uppercase;letter-spacing:.5em;color:#030303;border-radius:4px}.secondtxt{display:flex;flex-wrap:wrap;justify-content:center;font-family:Gilroy;font-style:normal;font-weight:400;font-size:clamp(1rem,10vw,2rem);text-align:center;color:#000}.secondtxt2{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;position:relative;font-family:var(--HEADING_FONT_FAMILY);font-style:normal;font-weight:600;font-size:clamp(1rem,10vw,4.5rem);text-align:center;color:#000}.thirdtxt{display:flex;justify-content:center;width:80vwx;font-family:var(--PARA_FONT_FAMILY);font-style:normal;font-weight:400;font-size:clamp(1rem,10vw,1rem);line-height:24px;text-align:center;color:#000}.startbtn{display:flex;flex-wrap:wrap;justify-content:space-evenly;font-family:var(--HEADING_FONT_FAMILY);position:relative;align-items:center;box-sizing:border-box;font-size:17px;font-weight:400;width:300px;height:60px;border-radius:14px;transition-duration:.2s;letter-spacing:.1px;text-transform:uppercase;background-color:#9e1783;color:#fff;margin:2.5rem 0;border:none!important}.startbtn:hover{border:black solid 1px!important;background-color:#fff;color:#000;transition-duration:.2s;letter-spacing:.2px;width:320px;height:60px;cursor:pointer}.startbtn{border:1px solid;overflow:hidden;position:relative}.startbtn span{z-index:20}.startbtn:after{background:#fff;content:"";height:155px;left:-75px;opacity:.2;position:absolute;top:-50px;transform:rotate(35deg);transition:all .55s cubic-bezier(.19,1,.22,1);width:50px;z-index:-10}.startbtn:hover:after{left:120%;text-decoration:none;transition:all .55s cubic-bezier(.19,1,.22,1)}.StartBtn_container{height:140px;justify-content:center;position:relative;align-items:center}.chatBOT{margin:2vw 3vh;z-index:3;position:fixed!important;border-radius:28px;background:#ffffff;box-shadow:0 4px 25px #0003;border:none;cursor:pointer}.leftImg{margin:0;position:absolute;top:36%;left:-4%;width:40vw;-ms-transform:translate(-50%,-50%);transform:translate(-50%,20%);z-index:-120}.leftImg{transform:translatey(0);animation:float 6s ease-in-out infinite}.rightImg{margin:0;position:absolute;bottom:-2%;right:1%;-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:-10;width:30vw}.rightImg{transform:translatey(0);animation:float 3s ease-in-out infinite}@keyframes float{0%{transform:translatey(0)}50%{transform:translatey(-20px)}to{transform:translatey(0)}}.Public_home_Texts{margin:0vw 1vh;display:flex;flex-direction:column;gap:.31rem;align-items:center}.benifit-cards{display:flex;flex-wrap:wrap;flex-direction:row;row-gap:1rem;justify-content:center;align-items:center;width:14dvw;padding:2vw 2vh;border-radius:8px;background-color:#fff}.benifit-cards:hover{background-color:#9ef3a9;border:none!important}.hpcard-container{justify-content:center;width:100%}.apptabapps{display:flex;justify-content:flex-start;flex-direction:column;padding:.5vw .5vh;margin:1.5vw 0vh;transition:cubic-bezier(.42,0,.58,1)}.AppMastdiv .apptabapps{flex-direction:row;display:flex;flex-wrap:wrap;height:80%;width:82vw;overflow:auto;justify-content:center}@media (min-width: 279px) and (max-width: 653px){.AppMastdiv .apptabapps{width:40vw}.tab_cont{padding:.5vw 2vh!important}.tabapps{justify-content:flex-start!important}.appSubcatDiv{justify-content:center!important;overflow:hidden!important}.hpcard-container{width:100%!important;overflow:auto;justify-content:flex-start!important;gap:0!important}.secondtxt{font-size:35px!important}.thirdtxt{font-size:14px!important}.grad-header{font-size:7vh!important}.Home_Style{width:100vw;margin:0vw 0vh!important}.secondtxt2{font-size:7vh!important}.leftImg{margin:0;position:absolute;display:none!important;top:66%;width:40vw;-ms-transform:translate(-50%,-50%);transform:translate(-50%,20%);z-index:-120}.rightImg{top:15%;width:25vw}.Subs_container{font-size:20px!important;line-height:none!important}.Video_Sub_Left_cont{font-size:16px!important}.Support_Sub_Left_cont{font-size:20px!important;width:50vw!important}.floatHandImg{display:none!important}}@media (min-width: 768px) and (max-width: 991px){.extra_small_nav{display:none!important}}.appContainer{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;flex-direction:row;column-gap:1rem;row-gap:.5rem}.storebtn{flex-direction:row;display:flex;flex-wrap:wrap;justify-content:space-evenly;width:165px;font-size:16px;height:55px;align-items:center;color:#000;background:rgba(255,255,255,.5);box-shadow:0 4px 15px #0000001a;border-radius:10px;transition-duration:.6s}.storebtn:hover{flex-direction:row;display:flex;flex-wrap:wrap;justify-content:space-evenly;align-items:center;border-radius:10px;transition-duration:.6s;cursor:pointer}.shine{color:#000;font-size:14px;display:flex;align-items:center;text-decoration:none;display:inline-block;position:relative;-webkit-mask-image:linear-gradient(-75deg,rgba(0,0,0,.6) 10%,#000000 1%,rgba(0,0,0,.6) 100%);-webkit-mask-size:200%;animation:shine 2s linear infinite}@keyframes shine{0%{-webkit-mask-position:150%}to{-webkit-mask-position:-50%}}.context{width:100%;position:absolute;top:50vh}.context h1{text-align:center;color:#b85151;font-size:50px}.area{width:100vw}.circles{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-32}.circles li{position:absolute;display:block;list-style:none;width:20px;height:20px;background:rgba(222,57,57,.2);animation:animate 25s linear infinite;bottom:-150px}.circles li:nth-child(1){left:25%;width:80px;height:80px;animation-delay:0s}.circles li:nth-child(2){left:10%;width:20px;height:20px;animation-delay:2s;animation-duration:12s}.circles li:nth-child(3){left:70%;width:20px;height:20px;animation-delay:4s}.circles li:nth-child(4){left:40%;width:60px;height:60px;animation-delay:0s;animation-duration:18s}.circles li:nth-child(5){left:65%;width:20px;height:20px;animation-delay:0s}.circles li:nth-child(6){left:75%;animation-delay:3s}.circles li:nth-child(7){left:35%;width:150px;height:150px;animation-delay:7s}.circles li:nth-child(8){left:50%;width:25px;height:25px;animation-delay:15s;animation-duration:45s}.circles li:nth-child(9){left:20%;width:15px;height:15px;animation-delay:2s;animation-duration:35s}.circles li:nth-child(10){left:85%;width:15px;height:15px;animation-delay:0s;animation-duration:11s}@keyframes animate{0%{transform:translateY(0) rotate(0);opacity:1;border-radius:0}to{transform:translateY(-1000px) rotate(720deg);opacity:0;border-radius:50%}}.Spec_container{width:100%;display:flex;flex-direction:column;align-items:center;background-color:#f8f8ff;padding:6rem 0rem;box-shadow:#0000000f 0 2px 4px inset!important;z-index:0}.swipee-icon{cursor:pointer;width:40px;font-size:15px;height:40px;border:none;border-radius:6px;color:#000;font-weight:600;background-color:#3f3f3f13;display:flex;align-items:center;justify-content:center}.swipee-icon:hover{cursor:pointer;width:40px;font-size:15px;height:40px;border:none;border-radius:6px;background-color:#3f3f3f28}.SpecSliderDiv{display:flex;width:100vw;flex-direction:row;column-gap:3rem;align-items:center;justify-content:center;padding:5rem 1rem;scroll-behavior:smooth}.cards-list{z-index:0;overflow:auto;height:36dvh;scroll-behavior:smooth;display:flex!important;justify-content:space-evenly!important}.card{position:relative;width:16rem;padding:1rem;margin:1rem 0rem;background-color:#fff;border-radius:10px;cursor:pointer;display:flex;transform:scale(.9);flex-wrap:wrap;transition:.2s}.card:hover{transform:scale(1);box-shadow:0 4px 35px #0000001a}.card .card_title{text-align:center;border-radius:0 0 40px 40px;font-family:sans-serif;margin-top:8px;position:relative;font-family:Gilroy;font-style:normal;font-weight:500;font-size:16px;line-height:22px;color:#000;text-align:left}.card_description{position:relative;font-family:poppins;font-style:normal;font-weight:400;font-size:13px;line-height:22px;color:#4b4b4b;text-align:left}.card_link{font-family:Gilroy;font-style:normal;font-weight:400;font-size:14px;padding:3vw 0vh;color:#0f67da;text-align:left}.Benifit-card{display:flex;align-items:center;justify-content:center;background-color:#f3f3f381;padding:.5rem 1rem;border-radius:6px}.Benifit{display:flex;align-items:center;justify-content:space-evenly;text-align:left;color:#000;transform:scale(1);transition-duration:.6s}.Benifit:hover{display:flex;align-items:center;justify-content:space-evenly;text-align:left;transition-duration:.6s;cursor:pointer;transform:scale(1.1)}.marquee-container{overflow:hidden;white-space:nowrap;width:90vw;position:relative}.marquee-content{display:inline-block;animation:marqueeAnimation 23s linear infinite}@keyframes marqueeAnimation{0%{transform:translate(0)}to{transform:translate(-75%)}}.marquee-container.paused .marquee-content{animation-play-state:paused}.AppSliderDiv{display:flex;flex-direction:row;overflow-x:hidden;align-items:center;justify-content:center;scroll-behavior:smooth}.AppSliderDiv .Nav-templates{flex-direction:row}.backtoTOpbtn{width:40px;height:40px;background-color:#f3f3f3;border:none;border-radius:25px;position:fixed;bottom:0;right:25px;font-size:14px;z-index:3;transform:scale(1.1);transition-duration:.6s}.backtoTOpbtn:hover{z-index:3;transform:scale(1.3);cursor:pointer;transition-duration:.6s}.showmore_link{font-weight:400;font-size:16px;color:#0f67da;display:flex;flex-wrap:wrap;justify-content:center}.floatHand{position:absolute!important;margin-top:-10rem}.floatHandImg{width:23vw!important}.title-white{color:#fff}.title-black{color:#000}.app_head{display:none}.cards-list{z-index:0;width:100%;display:flex;justify-content:space-around;flex-wrap:wrap}@media (min-width: 279px) and (max-width: 654px){.AppMastdiv .apptabapps{width:50vw;height:60vh!important;margin:1rem 0rem!important}.carosel-width{width:85vw!important}.AppSliderDiv{column-gap:.5rem!important}.ModuleCard{margin:18px 0!important}.card{cursor:pointer;transition:.4s;column-gap:.5rem!important;width:13rem;gap:0!important}.cards-list{z-index:0;flex-direction:row;column-gap:0rem;height:79dvh!important;margin:1rem 1.2rem}.tabapps{justify-content:unset!important;padding:.5vw 0vh!important}.Home_Style{overflow:hidden}.nav{display:none}.footer_container{padding:3vw 5vh!important;justify-content:space-between!important}.Support_container{background:none!important}.storebtns{width:40px!important;height:40px!important;font-size:0;padding:0vw 4vh}.storebtn{width:40px!important;height:60px!important;font-size:0;padding:0vw 4vh;margin:0vw 1vh;right:5rem;align-content:center}.app_head{display:flex;justify-content:center;margin:2vw 0vh}.Spec_container{flex-direction:column;column-gap:2rem;padding:2vw 0vh;justify-content:space-between!important}.floatHandImg{width:45vw!important}.extra_small_nav{display:none!important}}@media (min-width: 280px) and (max-width: 499px){.publictopDIv{padding:3rem 0rem!important}.carouselDesc{font-size:12px!important}.Pozotxt{font-size:66px!important}.Valueofpozo_texts{flex-direction:row!important;align-items:center!important}.firsttxt{margin:3rem 1rem 1rem;font-weight:400;font-size:12px;line-height:14px;text-transform:uppercase;letter-spacing:.1em}.secondtxt{font-size:16px!important}.secondtxt2{font-size:5vh!important}.AppMastdiv .apptabapps{height:55vh!important;margin:0rem!important}.SubModuleCard{padding:1px 9px;margin:1px;height:43px;width:68px!important;font-size:10px}.appSubcatDiv{padding:1rem 0rem!important}.swipee-sliderDiv{padding:3rem .6rem!important}}@media (min-width: 720px) and (max-width: 1080px){.AppMastdiv .apptabapps{width:70vw}.Valueofpozo_container{flex-wrap:wrap!important;flex-direction:column}.showmore_link{margin:20vh 0vw}.ModuleCard{margin:18px 2px!important}.card{cursor:pointer;transition:.4s;column-gap:1rem!important;width:16rem}.img_moc_cont,.vjs-poster{display:none}.tab_container{height:62vh!important}.cards-list{z-index:0;width:100%;display:flex;justify-content:space-around;flex-wrap:wrap}.appslist{display:flex;align-items:center;justify-content:center;width:100%}}.Spec-header{font-size:clamp(.5rem,10vw,2.5rem);text-align:center}.forthtxt{display:flex;flex-wrap:wrap;justify-content:center;font-family:var(--HEADING_FONT_FAMILY);font-style:normal;font-weight:500;font-size:48px;margin:1vh 0vw;text-align:center;color:#000}.fifthtxt{display:flex;flex-wrap:wrap;justify-content:center;position:relative;font-family:Poppins;font-style:normal;font-weight:400;font-size:clamp(.5rem,10vw,1rem);margin:1vh 0vw;text-align:center;color:#3f3f3f}.bighandemoji{position:absolute;width:369.98px;height:277.49px;left:-19px;top:100rem;transform:rotate(-18.84deg)}.emojis{position:relative;width:77px;height:auto}.Valueofpozo_container{display:flex;flex-direction:row;padding:5rem 3rem;align-items:center;color:#fff;width:100%;position:relative}.Valueofpozo_container:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background-image:url(https://images.unsplash.com/photo-1507914372368-b2b085b925a1?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);background-repeat:no-repeat;background-size:cover;filter:blur(3px)}.txtValue{font-size:clamp(1rem,12vh,4rem);font-family:Gilroy;font-weight:600}.benifits_box{display:flex;justify-content:space-between;flex-wrap:wrap;padding:2vh 2vw}.Benifits_container{margin:0 auto;width:90%}.tab_container{height:30vh;display:flex;margin:1vw 1vh;flex-wrap:wrap;flex-direction:row;transition:cubic-bezier(.42,0,.58,1);overflow-x:scroll;overflow-x:hidden}.TabAppDiv{width:100%;overflow-x:scroll;overflow-y:hidden}.Apps_container{display:flex;flex-direction:column;align-items:center;width:100%;margin:3rem 0rem}.swipee-sliderDiv{padding:3rem 2rem;width:100%;background-color:#f0f0fb}.tabapps{display:flex;justify-content:flex-start;flex-direction:column;padding:.5vw .5vh;margin:1.5vw 0vh;transition:cubic-bezier(.42,0,.58,1)}.selected{border:1px solid #ff4d4f}.tab_cont{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;padding:.5vw 5vh;height:230px;width:220px;flex-direction:row;border-radius:8px;row-gap:1rem;background-color:#f8f8ff;font-family:Poppins;text-align:center;cursor:pointer;transform:scale(.9);font-size:14px;transition:.2s;border:none}.tab_cont:hover{transform:scale(.95)}.tab_cont:active{color:#8f1e78;background-color:#fff;border:#000 solid 1px}.input-style{opacity:0;position:absolute}.input-style:checked+span{border:solid 1px #000;color:#000;border-radius:6px}.ModuleCard-style{opacity:0;position:absolute}.ModuleCard-style:checked+span{background-color:#fff;box-shadow:0 4px 35px #0000001a;margin:18px 25px;border-radius:12px;transform:scale(1)}.ModuleCard{display:flex;align-items:center;flex-direction:column;padding:30px 0;margin:18px 0;height:210px;justify-content:center;color:#000;width:205px!important;transform:scale(.95);border-radius:12px;transition:.2s;background-color:#fff}.ModuleCard:hover{margin:18px 0;transform:scale(1);cursor:pointer;box-shadow:0 4px 3px #0000001a}.SubModuleCard-style{opacity:0;position:absolute}.label{display:flex;width:max-content!important;cursor:pointer}.SubModuleCard-style:checked+span{background-color:#fff;box-shadow:0 4px 35px #0000001a;border-radius:6px;font-size:13px}.btn-option2{display:flex;align-items:center;width:max-content!important;padding:5px 10px}.SubModuleCard{display:flex;align-items:center;flex-direction:column;padding:1px 10px;margin:1px;height:60px;cursor:pointer;justify-content:center;color:#000;width:110px!important;font-size:13px;background-color:#e9e9e952}.btn-option2:hover{border:1px solid black;border-radius:6px}.sub_tab_cont{display:flex;justify-content:center;flex-wrap:wrap;padding:.6vw 6vh;width:fit-content;flex-direction:row;border-radius:25px;row-gap:1rem;font-size:16px;background-color:#35b856;border:none;color:#fff;font-family:var(--HEADING_FONT_FAMILY);transition-duration:.6s;font-weight:400;text-transform:uppercase}.sub_tab_cont:hover{display:flex;justify-content:center;flex-wrap:wrap;padding:.5vw 6vh;width:fit-content;flex-direction:row;border-radius:25px;row-gap:1rem;color:#000!important;background-color:#fff;transition-duration:.6s;border:#000 solid 1px;cursor:pointer;font-size:15px;font-family:var(--HEADING_FONT_FAMILY);font-weight:400;text-transform:uppercase}.sub_tab_cont:focus{color:#000!important;background-color:#fff;border:#000 solid 1px}.tab_conetent{display:flex;justify-content:center;flex-wrap:inherit;font-size:16px;font-weight:600;text-transform:uppercase;align-items:center;flex-direction:column}.Video_container{display:flex;justify-content:space-evenly;align-items:center;padding:1vw 2vh;margin:3vw 0vh}.Video_Sub_container{display:flex;justify-content:center;flex-wrap:wrap;flex-direction:row;margin:3vw 0vh;line-height:36px}.video_cont,.img_moc_cont{width:30vw}.Video_Sub_Left_cont{font-family:Gilroy!important;font-weight:500;font-size:44px;padding:1vw;color:#0c0c0c}.Subs_container{display:flex;width:100vw;justify-content:center;flex-wrap:wrap;flex-direction:row;margin:3vw 0vh;font-size:38px;font-family:Gilroy;font-weight:400!important;color:#000;text-align:center}.Pozotxt{-webkit-text-stroke-width:1px;color:transparent;font-size:80px;font-weight:600;-webkit-text-stroke-color:rgb(255,255,255)}.Subs_Sub_Right_cont{display:flex;justify-content:center;flex-wrap:wrap;flex-direction:row;padding:0vw 0vh;margin:1.5vw 74vh}.try_btn{display:flex;flex-wrap:wrap;justify-content:center;position:relative;align-items:center;box-sizing:border-box;font-family:Gilroy;font-size:20px;font-weight:400;width:300px;height:55px;border-radius:50px;transition-duration:.6s;background-color:#52c41a;color:#fff}.try_btn:hover{border:.87069px solid #000000;background-color:#fff;color:#000;transition-duration:.6s;letter-spacing:1px;cursor:pointer}.try_btn{border:1px solid;overflow:hidden;position:relative}.try_btn span{z-index:20}.try_btn:after{background:#fff;content:"";height:155px;left:-75px;opacity:.2;position:absolute;top:-50px;transform:rotate(35deg);transition:all .55s cubic-bezier(.19,1,.22,1);width:50px;z-index:-10}.try_btn:hover:after{left:120%;transition:all .55s cubic-bezier(.19,1,.22,1)}.app_link_content{display:flex;justify-content:space-around;align-items:left;flex-wrap:wrap;flex-direction:row;margin:1vw 5vh}.app_link_conetent{display:flex;justify-content:space-evenly;flex-wrap:wrap;padding:.5vw 2vh;width:fit-content;flex-direction:row;border-radius:8px;row-gap:1rem;color:#000!important;font-size:14px!important;font-weight:400}.Support_container{display:flex;justify-content:space-around;margin:5vw 3vw;border-radius:20px}.Support_Sub_container{display:flex;justify-content:center;align-items:center}.Support_Sub_Left_cont{font-family:Gilroy!important;font-weight:500;font-size:26px;width:268px;color:#0c0c0c}.Support_cont{display:flex;flex-wrap:wrap;justify-content:center;width:100%}.img_support{width:100%}.appContainer2{display:flex;justify-content:center;align-items:center;width:100%;margin:24px 0;height:auto;line-height:20px}.playstorebtns{flex-direction:row;break-before:always;margin:0 0 3em;display:flex;flex-wrap:wrap;justify-content:space-evenly;position:relative;width:145px;height:49px;align-items:center;box-shadow:0 4px 15px #0000001a;border-radius:10px;transition-duration:.6s}.playstorebtns:hover{flex-direction:row;break-before:always;margin:0 0 3em;display:flex;flex-wrap:wrap;justify-content:space-evenly;position:relative;width:210px;height:49px;align-items:center;border:1px solid #000;border-radius:10px;transition-duration:.6s;cursor:pointer}.phone-btn{flex-direction:row;break-before:always;display:flex;flex-wrap:wrap;justify-content:center;position:relative;width:57px;height:32px;padding:0vw 2vh;align-items:center;box-shadow:0 4px 15px #0000001a;border-radius:10px}.card .card_image{width:150px;height:auto;border-radius:40px}.card .card_image img{width:inherit;height:inherit;border-radius:40px;object-fit:cover}.card .card_emoji{width:50px;height:auto;border-radius:40px}.card .card_emoji img{width:inherit;height:inherit;border-radius:40px;object-fit:cover}.smol-flexbox-grid{--min: 10ch;--gap: 5vw;display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--gap)}.smol-flexbox-grid>*{flex:1 1 var(--min);margin:2vh 0vw}body>ul{list-style:none;margin:0}body>ul:not([data-padding-unset]){padding:0}[class*=smol]:not([data-component])>*:not([data-unstyled]){display:grid;font-size:clamp(2.7rem,4vw,2.5rem);min-width:10vw;font-weight:700;text-align:center;background:rgba(255,255,255,.6);box-shadow:0 5.25331px 26.3077px #00000014;border-radius:13.1333px;transition:.4s}[class*=smol]:not([data-component])>*:not([data-unstyled]):not([data-text]){place-content:center;justify-content:normal}[class*=smol]:not([data-component])>*:not([data-unstyled])[data-text]{font-size:1.15rem;text-align:center}[class*=smol]:not([data-component])>*:not([data-unstyled]):hover{background:rgba(255,255,255,.6);cursor:pointer;border:#7d7d7d solid .1px;transition:.4s}[data-container-style]{outline:2px dotted #29344b}.publicHomeFtr{display:flex;justify-content:space-between;flex-direction:row;flex-wrap:wrap;row-gap:2rem;column-gap:2rem;padding:2rem 1rem;font-size:14px;position:relative;bottom:0;background-color:#e4e4e4;width:100%}.Public_Overall_Body .footer_container{background:#e8ecf1;color:#000;display:flex;justify-content:space-around;flex-wrap:wrap;row-gap:2rem;width:100%;bottom:0;position:relative;height:auto;font-family:Gilroy;font-weight:400;font-size:18px;line-height:32px}@media (max-width: 767px){.Spec-header{font-size:1.5rem;font-weight:500}.Valueofpozo_container{flex-wrap:wrap;padding:5rem 1rem;gap:2rem}.social-icons li.title{display:block;margin-right:0;font-weight:600}}.grad-header{font-family:var(--HEADING_FONT_FAMILY);font-weight:600;font-size:11vh;letter-spacing:2px;text-align:center;text-transform:capitalize;color:#902578;background-image:-webkit-linear-gradient(9deg,#902578,#33585d);-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-animation:hue 10s infinite linear}.cursor{width:1px;height:1px;border:5px solid #8f1e78;z-index:-1;border-radius:50%;position:absolute;transition-duration:.2s;transition-timing-function:ease-out;animation:cursor-animate .55s infinite alternate}.cursor:after{content:"";width:.2px;height:.2px;border:2px solid #8f1e78;border-radius:50%;position:absolute;animation:cursor-animate-2 .55s infinite alternate}.cursor--expand{animation:cursor-animate-3 .55s forwards;border:10px solid #8f1e78}.cursor--expand:after{border:10px solid #2e4f53}@keyframes cursor-animate{0%{transform:scale(1)}to{transform:scale(1.5)}}@keyframes cursor-animate-2{0%{transform:scale(1)}to{transform:scale(.3)}}@keyframes cursor-animate-3{0%{transform:scale(1)}50%{transform:scale(3)}to{transform:scale(1);opacity:0}}.footer-logo{cursor:pointer}.footer-contact-container{display:flex;flex-direction:column;row-gap:1rem;background-color:#e4e4e4}.footer-contact-text{font-size:16px;font-weight:600}.footer-content-text{font-size:16px}.footer-nav-text{font-size:14px;font-weight:600}.footer-nav-Smalltext{font-size:12px;font-weight:500}.footer-getstartednow,.footer-Quicklinks,.footer-Company{display:flex;flex-direction:column;row-gap:1rem}.footer-bigText{font-size:16px;font-weight:600;font-family:Gilroy}.footer-smallText{font-size:14px;font-weight:500;cursor:pointer;font-family:poppins}.footer-getstarter-quick-container,.footer-company-app-container{display:flex;flex-direction:column;row-gap:1rem}.footer-app-container{display:flex;flex-wrap:wrap;column-gap:.5rem}.footer-contact-div{display:flex;align-items:center;column-gap:.2rem}.btn-primary{text-decoration:none}.carosel-width{width:500px}.Public_home_Texts-new{width:100vw;display:flex;align-items:center;justify-content:space-between;padding:1rem 5rem;gap:1rem;position:relative}.Public_home-content{width:60vw;display:flex;flex-direction:column;gap:12px;align-items:flex-start}.Public_home-content .btn-primary{box-shadow:unset!important}.home-header-one{font-size:clamp(30px,3vw,40px);text-wrap:nowrap;font-family:Gilroy;font-weight:500;line-height:1.3}.home-header-two{color:#0000007a;font-size:clamp(28px,3vw,32px);font-family:Gilroy;line-height:1.4;font-weight:600;color:#902578;background-image:-webkit-linear-gradient(9deg,#902578,#33585d);-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-animation:hue 10s infinite linear}.home-header-three{color:#000000ce;font-size:clamp(14px,2vw,20px);width:80%;font-family:Poppins;line-height:1.6;font-weight:400;letter-spacing:.5px}.Public_home-video{width:35vw;border-radius:64%;position:relative}.landing_video{border-radius:40px;width:38vw}@media (max-width: 768px){.Public_home_Texts-new{flex-direction:column;padding:0rem 1rem!important}.Public_home-content{width:100vw!important;padding:0 1rem;align-items:center}.Public_home-video{width:100vw!important;margin-right:0!important}.landing_video{display:none!important}.home-header-one{font-size:clamp(22px,4vw,40px);text-align:center}.home-header-two{font-size:clamp(22px,3vw,33px);text-align:center}.home-header-three{font-size:clamp(14px,3vw,33px);text-align:center}}.vjs-theme-forest{--vjs-theme-forest--primary: #ffffff;--vjs-theme-forest--secondary: #000000}.vjs-theme-forest:hover .vjs-big-play-button,.vjs-theme-forest.vjs-big-play-button:focus{background-color:transparent;background:svg-load("icons/play-btn.svg",fill=#000000)}.vjs-theme-forest .vjs-big-play-button{width:88px;height:88px;background:none;background-repeat:no-repeat;background-position:center;background:svg-load("icons/play-btn.svg",fill=#fff);border:none;top:50%;left:50%;margin-top:-44px;margin-left:-44px;color:purple}@media (min-width: 280px) and (max-width: 768px){.video-js{height:max-content}}@media (min-width: 500px) and (max-width: 1279px){.video-js .vjs-tech{position:absolute;top:0;left:0;width:100vw;height:100%}}.vjs-theme-forest .vjs-big-play-button .vjs-icon-placeholder{display:none}.video-js{display:inline-block;vertical-align:top;box-sizing:border-box;color:#000;background-color:#fff;position:relative;padding:0;font-size:10px;width:100%;line-height:1;font-weight:400;font-style:normal;font-family:Arial,Helvetica,sans-serif;word-break:initial}.vjs-theme-forest .vjs-button>.vjs-icon-placeholder:before{line-height:1.55}.vjs-theme-forest .vjs-control:not(.vjs-disabled,.vjs-time-control):hover{color:var(--vjs-theme-forest--primary);text-shadow:var(--vjs-theme-forest--secondary) 1px 0 10px}.vjs-theme-forest .vjs-control-bar{background:none;margin-bottom:1em;padding-left:1em;padding-right:1em;width:100vw}.vjs-theme-forest .vjs-play-control{font-size:.8em}.vjs-theme-forest .vjs-play-control .vjs-icon-placeholder:before{background-color:var(--vjs-theme-forest--secondary);height:1.5em;width:1.5em;margin-top:.2em;border-radius:1em;color:var(--vjs-theme-forest--primary)}.vjs-theme-forest .vjs-play-control:hover .vjs-icon-placeholder:before{background-color:var(--vjs-theme-forest--primary);color:var(--vjs-theme-forest--secondary)}.vjs-theme-forest .vjs-mute-control{display:none}.vjs-theme-forest .vjs-volume-panel{margin-left:.5em;margin-right:.5em;padding-top:.3em}.vjs-theme-forest .vjs-volume-panel,.vjs-theme-forest .vjs-volume-panel:hover,.vjs-theme-forest .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-horizontal,.vjs-theme-forest .vjs-volume-panel:active .vjs-volume-control.vjs-volume-horizontal,.vjs-theme-forest .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.vjs-theme-forest .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.vjs-theme-forest .vjs-volume-bar.vjs-slider-horizontal{width:3em}.vjs-theme-forest .vjs-volume-level:before{font-size:1em}.vjs-theme-forest .vjs-volume-panel .vjs-volume-control{opacity:1;width:100%;height:100%}.vjs-theme-forest .vjs-volume-bar{background-color:transparent;margin:0}.vjs-theme-forest .vjs-slider-horizontal .vjs-volume-level{height:100%}.vjs-theme-forest .vjs-volume-bar.vjs-slider-horizontal{margin-top:0;margin-bottom:0;height:100%}.vjs-theme-forest .vjs-volume-bar:before{content:"";z-index:0;width:0;height:0;position:absolute;top:0;left:0;border-style:solid;border-width:0 0 2em 3em;border-color:transparent transparent var(--vjs-theme-forest--primary) transparent}.vjs-theme-forest .vjs-volume-level{overflow:hidden;background-color:transparent}.vjs-theme-forest .vjs-volume-level:before{content:"";z-index:1;width:0;height:0;position:absolute;top:0;left:0;border-style:solid;border-width:0 0 2em 3em;border-color:transparent transparent var(--vjs-theme-forest--secondary) transparent}.vjs-theme-forest .vjs-progress-control:hover .vjs-progress-holder{font-size:1em}.vjs-theme-forest .vjs-play-progress:before{display:none}.vjs-theme-forest .vjs-progress-holder{border-radius:.2em;height:.5em;margin:0}.vjs-theme-forest .vjs-play-progress,.vjs-theme-forest .vjs-load-progress,.vjs-theme-forest .vjs-load-progress div{border-radius:.2em}.slider-container{position:relative;overflow:hidden;width:100%}.slider-content{display:flex;will-change:transform;animation:scroll-left infinite linear;animation-duration:var(--scroll-speed)}.slider-content.paused{animation-play-state:paused}@keyframes scroll-left{0%{transform:translate(0)}to{transform:translate(-100%)}}.moduleAccessDiv{padding:30px 2px;display:flex;flex-direction:column;gap:1rem;--TABLE_HEADER_BACKGROUND_COLOR: #fafafa;--TABLE_HEADER_TEXT_COLOR: #000000;--TABLE_HEADER-FONT-SIZE: 14px;--TABLE_HEADER-FONT-WEIGHT: 500;--TABLE_HEADER_PADDING: 10PX;--TABLE_BODY_PADDING: 10px;--TABLE_BODY_BORDER-RADIUS: 10px;--TABLE_BODY_BACKGROUND: #fafafa;font-family:var(--PARA_FONT_FAMILY)}.hrClass{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #ccc7c7;font-family:var(--PARA_FONT_FAMILY)}.dropDownSelectors{display:flex;flex-wrap:wrap;flex-direction:column;gap:2rem}.dropDownSelectParentDiv{display:flex;flex-wrap:wrap;gap:2rem;font-family:var(--PARA_FONT_FAMILY)}.dropDownSelectChildDiv{display:flex;flex-wrap:wrap;flex-direction:row;gap:2rem}.moduleAccessSelectDrp{border:1px solid var(--TABLE-BORDER-COLOR)}.selectDrpHeading{font-weight:550}.moduleDropParent{background-color:var(--TABLE_BODY_BACKGROUND);height:inherit;flex-grow:1;justify-content:center;align-items:center}.userAccessDivP{display:flex;flex-wrap:wrap}.formDivModule{display:flex;flex-wrap:wrap;column-gap:3rem;row-gap:1.5rem;padding:1vw 0vh}.formDivModuleUser{display:flex;flex-wrap:wrap;column-gap:3rem;row-gap:1.5rem;margin-top:5px}.checkBoxClass{border:1px solid var(--TABLE-BORDER-COLOR);display:flex;gap:1rem;padding:VAR(--TABLE_BODY_PADDING);flex-wrap:wrap;background-color:var(--TABLE_BODY_BACKGROUND)}.roleButton{margin:5px}.radio_button{width:200px!important}.storeSelectDiv{display:flex;flex-direction:column;font-family:var(--PARA_FONT_FAMILY)}.moduleDropParent select{padding:5px;margin:33px 7px;font-family:var(--PARA_FONT_FAMILY)}.userAccessDiv{display:flex;flex-grow:1;font-family:var(--PARA_FONT_FAMILY)}.userAccess{display:flex;flex-direction:column;flex-grow:1;font-family:var(--PARA_FONT_FAMILY)}.userAccessBody{display:flex;flex-wrap:wrap;gap:10px;background-color:var(--TABLE_BODY_BACKGROUND);padding:10px;font-family:var(--PARA_FONT_FAMILY);text-align:center;font-weight:400}.BranchCardListDiv{display:flex;flex-wrap:wrap;gap:1rem}.closeMarkDivP{display:flex}.closeMark{flex-grow:1;width:100%;display:flex;justify-content:flex-end}.submitClass{display:flex;justify-content:flex-end;font-family:var(--PARA_FONT_FAMILY)}.accessBtn{display:flex;justify-content:center;align-items:center;padding:20px;font-family:var(--PARA_FONT_FAMILY)}.submitButton{margin-top:10px}.tableClass table{width:100%;font-family:var(--PARA_FONT_FAMILY)}.tableClass table th{border-bottom:1px solid black;line-height:1rem;padding:10px;font-family:var(--PARA_FONT_FAMILY)}.tableClass table td{border-bottom:1px solid lightgrey;line-height:1rem;padding:10px;font-family:var(--PARA_FONT_FAMILY)}.companyCard{padding:1vw 1vh;background-color:#000;color:#fff;text-align:center;text-transform:uppercase;display:flex;border:#000 solid 1px;flex-wrap:wrap;justify-content:flex-start;font-weight:400;border-radius:6px;cursor:pointer;font-family:arial,sans-serif}.companyCard:hover{border:#000 solid 1px;background-color:#fff;color:#000;text-align:center;display:flex;flex-wrap:wrap;justify-content:flex-start;border-radius:6px;cursor:pointer;transition-duration:.3s}.companyCard:focus{margin:1vw 1vh;padding:1vw 1vh;border:#000 solid 1px;background-color:#fff;color:#000;text-align:center;display:flex;flex-wrap:wrap;justify-content:center;border-radius:6px;cursor:pointer;transition-duration:.3s}.BranchCardList .ant-checkbox-group{display:flex;flex-direction:column;gap:12px}.BranchCard{margin:.7vw 1vh;padding:.7vw 3vh;border:#35b856 solid 1px;background-color:#35b856;color:#fff;text-align:center;display:flex;flex-wrap:wrap;justify-content:center;border-radius:6px;cursor:pointer;flex-direction:row;row-gap:2rem!important;transition-duration:.3s;font-family:arial,sans-serif;font-size:16px;font-weight:500}.BranchCard:hover{margin:.7vw 1vh;padding:.7vw 3vh;border:#35b856 solid 1px;background-color:#fff;color:#35b856;text-align:center;display:flex;flex-wrap:wrap;justify-content:center;border-radius:6px;cursor:pointer;transition-duration:.3s}.BranchCard:focus{margin:.7vw 1vh;padding:.7vw 3vh;border:#35b856 solid 1px;background-color:#fff;color:#35b856;text-align:center;display:flex;flex-wrap:wrap;justify-content:center;border-radius:6px;cursor:pointer;transition-duration:.3s}.BranchCard:checked{border:none;outline:2px solid deeppink}.BranchCardList{height:max-content;max-height:46vh;padding-bottom:2rem;overflow:scroll}.BranchCardList P{padding:10px 0}.homeApplication{background-repeat:no-repeat;background-size:contain;display:flex;flex-direction:column;flex-grow:1;height:100dvh;width:80vw}.applicationSearch{display:flex;justify-content:center;align-items:center;height:4rem;font-family:Poppins,sans-serif}.applicationSearch h1{font-size:24px;margin:10px 0;color:#000;font-weight:600}.applicationSearch .ant-input-search{width:50%!important;text-align:center}.applicationSearch .ant-input-group-addon{display:none}.applicationSearch ::placeholder{text-align:center;color:#000;font-weight:500}.applicationSearch .searchDiv .ant-input{border-radius:23px!important;padding:0}.application-list-container{min-height:100vh;background:#f8fafc;padding:0;overflow:auto;border-radius:12px;font-family:Poppins,sans-serif}.moreappsTitle{width:inherit;text-align:left;margin:8px 16px 16px}.moreappsTitle div{font-size:28px;color:#23378a;font-weight:500;-webkit-text-stroke-width:.1px}.moreappsTitle p{font-size:12.5px;color:#4a5565;font-weight:400}.LRScrollBTN{display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2;transition:opacity .3s ease}.LRScrollBTN:hover{opacity:.8}.LRScrollBTN svg{width:40px;color:#213088;padding:11px;height:40px;background-color:#d1d5db;display:flex;border-radius:8px;transition:background-color .3s ease}.LRScrollBTN svg:hover{background-color:#9ca3af;color:#fff}.category-filter-bar{background:white;margin:0 1rem;display:flex;align-items:center;gap:12px;position:relative}.category-filter-bar .category-filters{display:flex;gap:1rem;white-space:nowrap;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;flex:1;padding:8px 0;-ms-overflow-style:none;scrollbar-width:none}.category-filter-bar .category-filters::-webkit-scrollbar{display:none}.category-filter-bar .category-filters .category-filter-item{display:flex;flex-direction:row;align-items:center;gap:4px;padding:8px 16px;border-radius:12px;cursor:pointer;transition:all .3s ease;min-width:max-content;flex-shrink:0;font-family:Poppins,sans-serif;background-color:#e9edff;border:1px solid #dbe2ff}.category-filter-bar .category-filters .category-filter-item:hover{background:#f8f9ff;border-color:#e0e7ff}.category-filter-bar .category-filters .category-filter-item.active{background-color:#4b5ec7;color:#fff;border-color:#fff;box-shadow:0 8px 25px #667eea4d}.category-filter-bar .category-filters .category-filter-item .category-icon{font-size:1.3rem;display:flex}.category-filter-bar .category-filters .category-filter-item .category-name{font-size:14px;font-weight:400;text-align:center;line-height:1.2}.category-filter-bar .category-filters .category-filter-item .category-count{font-size:.8rem;background:rgba(255,255,255,.2);padding:6px;height:30px;text-align:center;width:30px;border-radius:8px;font-weight:500}.apps-section-header{margin:1rem 1rem 1.5rem}.apps-section-header .header-actions{display:flex;align-items:center;gap:1rem;flex-wrap:nowrap;flex-grow:1;justify-content:space-between}.apps-section-header .header-actions .searchBar{display:flex;align-items:center;gap:12px;width:100%;flex:1;background:#ffffff;border:1px solid #e5e7eb;border-radius:12px;padding:0 14px}.apps-section-header .header-actions .searchInput{height:48px;box-shadow:0 8px 24px #1018280f;font-size:14px;color:#111827;outline:none;border:none;width:100%;background-color:transparent;font-family:Poppins,sans-serif}.apps-section-header .header-actions .filterBtn{background:#ffffff;border:1px solid #e5e7eb;border-radius:12px;height:50px;padding:0 14px;display:inline-flex;align-items:center;font-family:Poppins,sans-serif;gap:8px;box-shadow:0 8px 24px #1018280f;cursor:pointer;color:#23378a;font-weight:400;transition:all .3s ease}.apps-section-header .header-actions .filterBtn:hover{background:#f8f9ff;border-color:#667eea}.sort-controls{display:flex;align-items:center;gap:.5rem}.sort-controls label{font-weight:400;color:#333;font-size:.9rem}.sort-controls select{padding:.5rem 1rem;border:2px solid #e0e0e0;border-radius:10px;background:white;font-size:.9rem;cursor:pointer;transition:all .3s ease}.sort-controls select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.view-controls{display:flex;gap:.5rem}.view-controls .view-btn{padding:6px 10px;border:2px solid #e0e0e0;background:white;border-radius:6px;cursor:pointer;font-size:18px;transition:all .3s ease}.view-controls .view-btn:hover{border-color:#fff;background:rgba(102,126,234,.1)}.view-controls .view-btn.active{background:#3d5ace;color:#fff;border-color:#fff}.applicationList{padding:0 1rem 2rem;min-height:calc(100dvh - 4rem);overflow-y:auto}.applicationList::-webkit-scrollbar{width:8px}.applicationList::-webkit-scrollbar-track{background:rgba(255,255,255,.1);border-radius:4px}.applicationList::-webkit-scrollbar-thumb{background:rgba(102,126,234,.3);border-radius:4px}.applicationList::-webkit-scrollbar-thumb:hover{background:rgba(102,126,234,.5)}.apps-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.apps-grid.list{grid-template-columns:1fr}.apps-grid.list .enterprise-card{display:flex;flex-direction:row;height:300px}.apps-grid.list .enterprise-card .card-header{width:300px;height:100%;flex-shrink:0}.apps-grid.list .enterprise-card .card-content{flex:1;display:flex;flex-direction:column;justify-content:space-between}.enterprise-card{background:white;border-radius:16px;overflow:hidden;cursor:pointer;transition:all .3s ease;font-family:Poppins,sans-serif;box-shadow:0 2px 4px #00000014;border:1px solid #eef0f3}.enterprise-card:hover{transform:translateY(-4px);box-shadow:0 4px 20px #00000014}.enterprise-card .card-header{position:relative;height:200px;background:#f5f7fb;overflow:hidden}.enterprise-card .card-header .header-bg-image{width:100%;height:100%;object-fit:cover;filter:brightness(.9)}.enterprise-card .card-header .header-actions{position:absolute;top:12px;right:12px;display:flex;flex-direction:column;gap:8px}.enterprise-card .card-header .header-actions .action-btn{width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.enterprise-card .card-header .header-actions .action-btn:hover{background:white;transform:scale(1.1)}.enterprise-card .card-header .header-actions .action-btn.favorite{color:#ff6b6b}.enterprise-card .card-header .header-actions .action-btn.favorite.favorited{background:#ff6b6b;color:#fff;border-color:#ff6b6b}.enterprise-card .card-content{padding:16px;height:250px;display:flex;flex-direction:column;justify-content:space-between}.enterprise-card .card-content .category-type{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.enterprise-card .card-content .category-type .category{color:#8b5cf6;font-size:12px;font-weight:500}.enterprise-card .card-content .category-type .type-indicator{display:flex;align-items:center;gap:6px;color:#8b5cf6;font-size:10px;font-weight:500}.enterprise-card .card-content .category-type .type-indicator .dot{width:6px;height:6px;background:#8b5cf6;border-radius:50%}.enterprise-card .card-content .app-title{font-size:18px;font-weight:500;color:#000;margin:0 0 8px;line-height:1.2}.enterprise-card .card-content .app-description{font-size:12px;color:#4a5565;line-height:1.5;margin:0 0 6px}.enterprise-card .card-content .rating-section{display:flex;align-items:center;gap:8px;margin-bottom:6px}.enterprise-card .card-content .rating-section .stars{display:flex;gap:2px}.enterprise-card .card-content .rating-section .stars .star{font-size:16px}.enterprise-card .card-content .rating-section .stars .star.filled{color:#fbbf24}.enterprise-card .card-content .rating-section .stars .star.half{color:#fbbf24;opacity:.7}.enterprise-card .card-content .rating-section .stars .star.empty{color:#d1d5db}.enterprise-card .card-content .rating-section .rating-text{font-size:12px;color:#4a5565}.enterprise-card .card-content .key-metrics{display:flex;gap:16px;justify-content:space-around;margin-bottom:16px;background-color:#ebf2fc;padding:10px;border-radius:8px}.enterprise-card .card-content .key-metrics .metric-item{display:flex;align-items:center;gap:8px}.enterprise-card .card-content .key-metrics .metric-item .metric-icon{color:#8b5cf6;font-size:16px}.enterprise-card .card-content .key-metrics .metric-item .metric-content{display:flex;flex-direction:column}.enterprise-card .card-content .key-metrics .metric-item .metric-content .metric-value{font-size:14px;font-weight:400;color:#000;line-height:1}.enterprise-card .card-content .key-metrics .metric-item .metric-content .metric-label{font-size:12px;color:#4a5565;line-height:1}.enterprise-card .card-content .feature-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.enterprise-card .card-content .feature-tags .feature-tag{padding:4px 12px;border:1px solid #e0e7ff;border-radius:20px;font-size:12px;color:#8b5cf6;background:#f8faff;font-weight:500}.enterprise-card .card-content .pricing-section1{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.enterprise-card .card-content .pricing-section1 .monthly-price{font-size:18px;font-weight:500;color:#000}.enterprise-card .card-content .pricing-section1 .annual-price{font-size:12px;color:#4a5565;text-align:right}.enterprise-card .card-content .cta-section1{display:flex;gap:12px;margin-bottom:12px;flex-direction:column}.enterprise-card .card-content .cta-section1 .primary-cta{flex:1;background-color:#7c3aed;color:#fff;border:none;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:400;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .3s ease;font-family:Poppins,sans-serif}.enterprise-card .card-content .cta-section1 .primary-cta:hover{transform:translateY(-1px)}.enterprise-card .card-content .cta-section1 .secondary-cta{width:44px;height:44px;border:1px solid #d1d5db;background:white;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease}.enterprise-card .card-content .cta-section1 .secondary-cta svg{font-size:14px}.enterprise-card .card-content .trial-info{display:flex;align-items:center;gap:6px;font-size:10px;color:#4a5565;text-align:center;font-weight:400;justify-content:center}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50vh;color:#667eea}.loading-container .loading-spinner{width:50px;height:50px;border:4px solid rgba(102,126,234,.3);border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}.loading-container p{font-size:1.2rem;font-weight:500}.no-results{text-align:center;color:#667eea;padding:4rem 2rem}.no-results .no-results-icon{font-size:4rem;margin-bottom:1rem;opacity:.7}.no-results h3{font-size:2rem;margin-bottom:1rem;font-weight:600}.no-results p{font-size:1.1rem;opacity:.8;max-width:500px;margin:0 auto}@media (max-width: 768px){.category-filter-bar{margin:.5rem;padding:.5rem}.category-filter-bar .category-filters{gap:.5rem}.category-filter-bar .category-filters .category-filter-item{min-width:100px;padding:.75rem}.category-filter-bar .category-filters .category-filter-item .category-name{font-size:.8rem}.apps-section-header{margin:.5rem}.apps-section-header .header-actions{flex-direction:column;gap:.5rem}.apps-section-header .header-actions .searchBar{width:100%}.apps-section-header .header-actions .filterBtn{width:100%;justify-content:center}.controls-section{margin:0 .5rem 1rem;flex-direction:column;gap:1rem;align-items:stretch}.controls-section .sort-controls,.controls-section .view-controls{justify-content:center}.apps-grid{grid-template-columns:1fr;gap:1rem}.apps-grid.list .enterprise-card{flex-direction:column;height:auto}.apps-grid.list .enterprise-card .card-header{width:100%;height:200px}.applicationList{padding:0 .5rem 1rem}.enterprise-card .card-content{padding:16px}.enterprise-card .card-content .app-title{font-size:20px}.enterprise-card .card-content .pricing-section1{flex-direction:column;align-items:flex-start;gap:4px}}@media (max-width: 480px){.category-filter-item{min-width:80px!important;padding:.5rem!important}.category-filter-item .category-name,.category-filter-item .category-count{font-size:.7rem!important}.enterprise-card .card-content{padding:12px}.enterprise-card .card-content .app-title{font-size:18px}.enterprise-card .card-content .monthly-price{font-size:20px}}.userAccount{margin:min(2.5rem,5dvw);background-color:#fff;display:flex;flex-grow:1;border-radius:var(--BORDER_RADIUS)}.optionSection{width:25%;border-radius:var(--BORDER_RADIUS);border-right:solid .5px #C9C9C9;display:flex;flex-direction:column;text-align:center;padding:0 10px}.optionSection .userAccountHeading{padding:1rem 0px;font-weight:600;font-size:1.4rem;font-family:var(--HEADING_FONT_FAMILY);height:100px}.optionSection .userAccountTab{font-size:.9rem;font-weight:500;padding:.5rem 0px;width:100%;font-family:var(--HEADING_FONT_FAMILY);cursor:pointer}.optionSection .userAccountTab:hover{background-color:#f4eaf2;color:#901d77}.userAccountCont{padding:max(2px,.7dvw);width:100%;overflow-y:auto}.userAccountSec{padding:max(2px,.7dvw);width:100%;height:100%;overflow-y:auto}.securityContentPage{display:flex;flex-wrap:wrap;width:100%;overflow-y:auto;column-gap:2rem;row-gap:2rem}.securityContentPage .userPage{padding:0}.securityContentPage .pageOverAllUser{flex-grow:1;height:fit-content;border-radius:var(--CARD_BORDER_RADIUS);border:solid .5px #A9ACAA;row-gap:2rem}.securityContentPage .formDiv{justify-content:center;align-items:center}.securityContentPage .formDivAnt,.securityContentPage .inputForm{flex-direction:column}.myProfileHeading{font-weight:600;font-size:1.4rem;padding-bottom:2rem;font-family:var(--HEADING_FONT_FAMILY)}.showData{border:solid 1px #A9ACAA;border-radius:var(--CARD_BORDER_RADIUS);display:flex;flex-wrap:wrap;padding:1rem;margin:1rem 0px;column-gap:min(0rem,4dvw);row-gap:2rem;justify-content:space-around}.showData .heading{color:#818181}.showData .userAccountField{text-align:center;margin:auto 0}.showData .userAccountButton{margin:auto 0}.showData .userAccountButton button{background-color:#fff;border:solid 1px #A9ACAA;padding:.5rem}.editData{border:solid 1px #A9ACAA;border-radius:var(--CARD_BORDER_RADIUS);display:flex;flex-wrap:wrap;padding:1rem;margin:1rem 0px;row-gap:2rem}.backClassUser{display:flex;justify-content:flex-end;flex-grow:1;color:#004ba9}.profileImage{width:max(200px,20%);border-radius:50%}.mobileViewClose{display:none;text-align:right;padding-right:1rem;padding-top:1rem}.menuIcon{display:none;padding-top:.5rem;padding-left:.5rem;font-size:20px}@media screen and (max-width: 450px){.optionSection{width:100%;font-size:30px}.optionSection .userAccountHeading{font-size:8dvw;font-weight:700}.optionSection .userAccountTab{font-size:6dvw}.userSectionClose{display:none}.userSectionOpen,.mobileViewClose{display:block}.showData{justify-content:center}.menuIcon{display:block}}.userAccountTabDiv{display:flex;flex-direction:column;text-align:left;margin-left:1rem}.ChangePW_Div{width:100%;padding:3vw 3vh;align-items:baseline}.backBtn{padding:2vw 3vh;align-items:baseline;display:flex;justify-content:space-between}.backBtn2{display:flex;justify-content:flex-end}.editBtn_text{padding:1.5vh 3vh}.edit_btn{width:80px;height:40px;border-radius:20px;color:#fff;font-family:var(--HEADING_FONT_FAMILY)!important;background-color:#000;cursor:pointer}.slick-slider{position:relative;display:block;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{position:relative;display:block;overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:none}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-track,.slick-slider .slick-list{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translateZ(0)}.slick-track{position:relative;top:0;left:0;display:block;margin-left:auto;margin-right:auto}.slick-track:before,.slick-track:after{display:table;content:""}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}.slick-loading .slick-list{background:#fff url(/assets/ajax-loader-e7b44c86.gif) center center no-repeat}@font-face{font-family:slick;font-weight:400;font-style:normal;src:url(data:application/vnd.ms-fontobject;base64,AAgAAGQHAAABAAIAAAAAAAIABQkAAAAAAAABAJABAAAAAExQAQAAgCAAAAAAAAAAAAAAAAEAAAAAAAAATxDE8AAAAAAAAAAAAAAAAAAAAAAAAAoAcwBsAGkAYwBrAAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAKAHMAbABpAGMAawAAAAAAAAEAAAANAIAAAwBQRkZUTW3RyK8AAAdIAAAAHEdERUYANAAGAAAHKAAAACBPUy8yT/b9sgAAAVgAAABWY21hcCIPRb0AAAHIAAABYmdhc3D//wADAAAHIAAAAAhnbHlmP5u2YAAAAzwAAAIsaGVhZAABMfsAAADcAAAANmhoZWED5QIFAAABFAAAACRobXR4BkoASgAAAbAAAAAWbG9jYQD2AaIAAAMsAAAAEG1heHAASwBHAAABOAAAACBuYW1lBSeBwgAABWgAAAFucG9zdC+zMgMAAAbYAAAARQABAAAAAQAA8MQQT18PPPUACwIAAAAAAM9xeH8AAAAAz3F4fwAlACUB2wHbAAAACAACAAAAAAAAAAEAAAHbAAAALgIAAAAAAAHbAAEAAAAAAAAAAAAAAAAAAAAEAAEAAAAHAEQAAgAAAAAAAgAAAAEAAQAAAEAAAAAAAAAAAQIAAZAABQAIAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAIABQkAAAAAAACAAAABAAAAIAAAAAAAAAAAUGZFZABAAGEhkgHg/+AALgHb/9sAAAABAAAAAAAAAgAAAAAAAAACAAAAAgAAJQAlACUAJQAAAAAAAwAAAAMAAAAcAAEAAAAAAFwAAwABAAAAHAAEAEAAAAAMAAgAAgAEAAAAYSAiIZAhkv//AAAAAABhICIhkCGS//8AAP+l3+PedN5xAAEAAAAAAAAAAAAAAAAAAAEGAAABAAAAAAAAAAECAAAAAgAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGAIwAsAEWAAIAJQAlAdsB2wAYACwAAD8BNjQvASYjIg8BBhUUHwEHBhUUHwEWMzI2FAcGBwYiJyYnJjQ3Njc2MhcWF/GCBgaCBQcIBR0GBldXBgYdBQgH7x0eMjB8MDIeHR0eMjB8MDIecYIGDgaCBQUeBQcJBFhYBAkHBR4F0nwwMh4dHR4yMHwwMh4dHR4yAAAAAgAlACUB2wHbABgALAAAJTc2NTQvATc2NTQvASYjIg8BBhQfARYzMjYUBwYHBiInJicmNDc2NzYyFxYXASgdBgZXVwYGHQUIBwWCBgaCBQcIuB0eMjB8MDIeHR0eMjB8MDIecR4FBwkEWFgECQcFHgUFggYOBoIF0nwwMh4dHR4yMHwwMh4dHR4yAAABACUAJQHbAdsAEwAAABQHBgcGIicmJyY0NzY3NjIXFhcB2x0eMjB8MDIeHR0eMjB8MDIeAT58MDIeHR0eMjB8MDIeHR0eMgABACUAJQHbAdsAQwAAARUUBisBIicmPwEmIyIHBgcGBwYUFxYXFhcWMzI3Njc2MzIfARYVFAcGBwYjIicmJyYnJjQ3Njc2NzYzMhcWFzc2FxYB2woIgAsGBQkoKjodHBwSFAwLCwwUEhwcHSIeIBMGAQQDJwMCISspNC8mLBobFBERFBsaLCYvKicpHSUIDAsBt4AICgsLCScnCwwUEhwcOhwcEhQMCw8OHAMDJwMDAgQnFBQRFBsaLCZeJiwaGxQRDxEcJQgEBgAAAAAAAAwAlgABAAAAAAABAAUADAABAAAAAAACAAcAIgABAAAAAAADACEAbgABAAAAAAAEAAUAnAABAAAAAAAFAAsAugABAAAAAAAGAAUA0gADAAEECQABAAoAAAADAAEECQACAA4AEgADAAEECQADAEIAKgADAAEECQAEAAoAkAADAAEECQAFABYAogADAAEECQAGAAoAxgBzAGwAaQBjAGsAAHNsaWNrAABSAGUAZwB1AGwAYQByAABSZWd1bGFyAABGAG8AbgB0AEYAbwByAGcAZQAgADIALgAwACAAOgAgAHMAbABpAGMAawAgADoAIAAxADQALQA0AC0AMgAwADEANAAARm9udEZvcmdlIDIuMCA6IHNsaWNrIDogMTQtNC0yMDE0AABzAGwAaQBjAGsAAHNsaWNrAABWAGUAcgBzAGkAbwBuACAAMQAuADAAAFZlcnNpb24gMS4wAABzAGwAaQBjAGsAAHNsaWNrAAAAAAIAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAABwAAAAEAAgECAQMAhwBECmFycm93cmlnaHQJYXJyb3dsZWZ0AAAAAAAAAf//AAIAAQAAAA4AAAAYAAAAAAACAAEAAwAGAAEABAAAAAIAAAAAAAEAAAAAzu7XsAAAAADPcXh/AAAAAM9xeH8=);src:url(data:application/vnd.ms-fontobject;base64,AAgAAGQHAAABAAIAAAAAAAIABQkAAAAAAAABAJABAAAAAExQAQAAgCAAAAAAAAAAAAAAAAEAAAAAAAAATxDE8AAAAAAAAAAAAAAAAAAAAAAAAAoAcwBsAGkAYwBrAAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAKAHMAbABpAGMAawAAAAAAAAEAAAANAIAAAwBQRkZUTW3RyK8AAAdIAAAAHEdERUYANAAGAAAHKAAAACBPUy8yT/b9sgAAAVgAAABWY21hcCIPRb0AAAHIAAABYmdhc3D//wADAAAHIAAAAAhnbHlmP5u2YAAAAzwAAAIsaGVhZAABMfsAAADcAAAANmhoZWED5QIFAAABFAAAACRobXR4BkoASgAAAbAAAAAWbG9jYQD2AaIAAAMsAAAAEG1heHAASwBHAAABOAAAACBuYW1lBSeBwgAABWgAAAFucG9zdC+zMgMAAAbYAAAARQABAAAAAQAA8MQQT18PPPUACwIAAAAAAM9xeH8AAAAAz3F4fwAlACUB2wHbAAAACAACAAAAAAAAAAEAAAHbAAAALgIAAAAAAAHbAAEAAAAAAAAAAAAAAAAAAAAEAAEAAAAHAEQAAgAAAAAAAgAAAAEAAQAAAEAAAAAAAAAAAQIAAZAABQAIAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAIABQkAAAAAAACAAAABAAAAIAAAAAAAAAAAUGZFZABAAGEhkgHg/+AALgHb/9sAAAABAAAAAAAAAgAAAAAAAAACAAAAAgAAJQAlACUAJQAAAAAAAwAAAAMAAAAcAAEAAAAAAFwAAwABAAAAHAAEAEAAAAAMAAgAAgAEAAAAYSAiIZAhkv//AAAAAABhICIhkCGS//8AAP+l3+PedN5xAAEAAAAAAAAAAAAAAAAAAAEGAAABAAAAAAAAAAECAAAAAgAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGAIwAsAEWAAIAJQAlAdsB2wAYACwAAD8BNjQvASYjIg8BBhUUHwEHBhUUHwEWMzI2FAcGBwYiJyYnJjQ3Njc2MhcWF/GCBgaCBQcIBR0GBldXBgYdBQgH7x0eMjB8MDIeHR0eMjB8MDIecYIGDgaCBQUeBQcJBFhYBAkHBR4F0nwwMh4dHR4yMHwwMh4dHR4yAAAAAgAlACUB2wHbABgALAAAJTc2NTQvATc2NTQvASYjIg8BBhQfARYzMjYUBwYHBiInJicmNDc2NzYyFxYXASgdBgZXVwYGHQUIBwWCBgaCBQcIuB0eMjB8MDIeHR0eMjB8MDIecR4FBwkEWFgECQcFHgUFggYOBoIF0nwwMh4dHR4yMHwwMh4dHR4yAAABACUAJQHbAdsAEwAAABQHBgcGIicmJyY0NzY3NjIXFhcB2x0eMjB8MDIeHR0eMjB8MDIeAT58MDIeHR0eMjB8MDIeHR0eMgABACUAJQHbAdsAQwAAARUUBisBIicmPwEmIyIHBgcGBwYUFxYXFhcWMzI3Njc2MzIfARYVFAcGBwYjIicmJyYnJjQ3Njc2NzYzMhcWFzc2FxYB2woIgAsGBQkoKjodHBwSFAwLCwwUEhwcHSIeIBMGAQQDJwMCISspNC8mLBobFBERFBsaLCYvKicpHSUIDAsBt4AICgsLCScnCwwUEhwcOhwcEhQMCw8OHAMDJwMDAgQnFBQRFBsaLCZeJiwaGxQRDxEcJQgEBgAAAAAAAAwAlgABAAAAAAABAAUADAABAAAAAAACAAcAIgABAAAAAAADACEAbgABAAAAAAAEAAUAnAABAAAAAAAFAAsAugABAAAAAAAGAAUA0gADAAEECQABAAoAAAADAAEECQACAA4AEgADAAEECQADAEIAKgADAAEECQAEAAoAkAADAAEECQAFABYAogADAAEECQAGAAoAxgBzAGwAaQBjAGsAAHNsaWNrAABSAGUAZwB1AGwAYQByAABSZWd1bGFyAABGAG8AbgB0AEYAbwByAGcAZQAgADIALgAwACAAOgAgAHMAbABpAGMAawAgADoAIAAxADQALQA0AC0AMgAwADEANAAARm9udEZvcmdlIDIuMCA6IHNsaWNrIDogMTQtNC0yMDE0AABzAGwAaQBjAGsAAHNsaWNrAABWAGUAcgBzAGkAbwBuACAAMQAuADAAAFZlcnNpb24gMS4wAABzAGwAaQBjAGsAAHNsaWNrAAAAAAIAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAABwAAAAEAAgECAQMAhwBECmFycm93cmlnaHQJYXJyb3dsZWZ0AAAAAAAAAf//AAIAAQAAAA4AAAAYAAAAAAACAAEAAwAGAAEABAAAAAIAAAAAAAEAAAAAzu7XsAAAAADPcXh/AAAAAM9xeH8=) format("embedded-opentype"),url(data:font/woff;base64,d09GRk9UVE8AAAVkAAsAAAAAB1wAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAABCAAAAi4AAAKbH/pWDkZGVE0AAAM4AAAAGgAAABxt0civR0RFRgAAA1QAAAAcAAAAIAAyAARPUy8yAAADcAAAAFIAAABgUBj/rmNtYXAAAAPEAAAAUAAAAWIiC0SwaGVhZAAABBQAAAAuAAAANgABMftoaGVhAAAERAAAABwAAAAkA+UCA2htdHgAAARgAAAADgAAAA4ESgBKbWF4cAAABHAAAAAGAAAABgAFUABuYW1lAAAEeAAAANwAAAFuBSeBwnBvc3QAAAVUAAAAEAAAACAAAwABeJw9ks9vEkEUx2cpWyeUoFYgNkHi2Wt7N3rVm3cTs3UVLC4LxIWEQvi1P3i7O1tYLJDAmlgKGEhQrsajf0j7J3jYTXrQWUrMJG+++b55n5e8NwwKBhHDMLv5kxT3ATEBxKBn3qOAl9zxHgb1MAPhHQgHkyF08Gr/L8B/Eb6zWnmCJ7AJVLubQOheArXvJ1A4EXi6j4I+Zg9F0QFKvsnlBCmXeve+sFEnb/nCptdtQ4QYhVFRAT1HrF8UQK/RL/SbmUbclsvGVFXRZKDHUE38cc4qpkbAAsuwiImvro+ufcfaOIQ6szlrmjRJDaKZKnbjN3GWKIbiIzRFUfCffuxxKOL+3LDlDVvx2TdxN84qZEsnhNBa6pgm2dAsnzbLsETdsmRFxUeHV4e+I2/ptN8TyqV8T3Dt29t7EYOuajVIw2y1Wy3M86w0zg/Fz2IvawmQAUHOVrPVfLkoScVynsqsTG0MGUs4z55nh3mnOJa+li+rl9WpPIcFfDubDeaDC+fLBdYN3QADzLauGfj4B6sZmq6CCpqmtSvF0qlUl2qf5AJIUCSlTqlb7lUG+LRfGzZGzZEyBgccMu6MuqPecNDvD4Y9Kjtj4gD+DsvKVMTcMdtqtZtmkzQstQvYje7Syep0PDSAhSOeHYXYWThEF//A/0YvYV1fSQtpKU5STtrhbQ444OtpKSWJIg3pOg8cBs7maTY1EZf07aq+hjWs7IWzdCYTGhb2CtZ47x+Uhx28AAB4nGNgYGBkAIJz765vANHnCyvqYTQAWnkHswAAeJxjYGRgYOADYgkGEGBiYARCFjAG8RgABHYAN3icY2BmYmCcwMDKwMHow5jGwMDgDqW/MkgytDAwMDGwcjKAQQMDAyOQUmCAgoA01xQGB4ZExUmMD/4/YNBjvP3/NgNEDQPjbbBKBQZGADfLDgsAAHicY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQzMCQqKClOUJz0/z9YHRLv/+L7D+8V3cuHmgAHjGwM6ELUByxUMIOZCmbgAAA5LQ8XeJxjYGRgYABiO68w73h+m68M3EwMIHC+sKIeTqsyqDLeZrwN5HIwgKUB/aYJUgAAeJxjYGRgYLzNwMCgx8QAAkA2IwMqYAIAMGIB7QIAAAACAAAlACUAJQAlAAAAAFAAAAUAAHicbY49asNAEIU/2ZJDfkiRIvXapUFCEqpcptABUrg3ZhEiQoKVfY9UqVLlGDlADpAT5e16IUWysMz3hjfzBrjjjQT/EjKpCy+4YhN5yZoxcirPe+SMWz4jr6S+5UzSa3VuwpTnBfc8RF7yxDZyKs9r5IxHPiKv1P9iZqDnyAvMQ39UecbScVb/gJO03Xk4CFom3XYK1clhMdQUlKo7/d9NF13RkIdfy+MV7TSe2sl11tRFaXYmJKpWTd7kdVnJ8veevZKc+n3I93t9Jnvr5n4aTVWU/0z9AI2qMkV4nGNgZkAGjAxoAAAAjgAF) format("woff"),url(data:font/ttf;base64,AAEAAAANAIAAAwBQRkZUTW3RyK8AAAdIAAAAHEdERUYANAAGAAAHKAAAACBPUy8yT/b9sgAAAVgAAABWY21hcCIPRb0AAAHIAAABYmdhc3D//wADAAAHIAAAAAhnbHlmP5u2YAAAAzwAAAIsaGVhZAABMfsAAADcAAAANmhoZWED5QIFAAABFAAAACRobXR4BkoASgAAAbAAAAAWbG9jYQD2AaIAAAMsAAAAEG1heHAASwBHAAABOAAAACBuYW1lBSeBwgAABWgAAAFucG9zdC+zMgMAAAbYAAAARQABAAAAAQAA8MQQT18PPPUACwIAAAAAAM9xeH8AAAAAz3F4fwAlACUB2wHbAAAACAACAAAAAAAAAAEAAAHbAAAALgIAAAAAAAHbAAEAAAAAAAAAAAAAAAAAAAAEAAEAAAAHAEQAAgAAAAAAAgAAAAEAAQAAAEAAAAAAAAAAAQIAAZAABQAIAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAIABQkAAAAAAACAAAABAAAAIAAAAAAAAAAAUGZFZABAAGEhkgHg/+AALgHb/9sAAAABAAAAAAAAAgAAAAAAAAACAAAAAgAAJQAlACUAJQAAAAAAAwAAAAMAAAAcAAEAAAAAAFwAAwABAAAAHAAEAEAAAAAMAAgAAgAEAAAAYSAiIZAhkv//AAAAAABhICIhkCGS//8AAP+l3+PedN5xAAEAAAAAAAAAAAAAAAAAAAEGAAABAAAAAAAAAAECAAAAAgAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGAIwAsAEWAAIAJQAlAdsB2wAYACwAAD8BNjQvASYjIg8BBhUUHwEHBhUUHwEWMzI2FAcGBwYiJyYnJjQ3Njc2MhcWF/GCBgaCBQcIBR0GBldXBgYdBQgH7x0eMjB8MDIeHR0eMjB8MDIecYIGDgaCBQUeBQcJBFhYBAkHBR4F0nwwMh4dHR4yMHwwMh4dHR4yAAAAAgAlACUB2wHbABgALAAAJTc2NTQvATc2NTQvASYjIg8BBhQfARYzMjYUBwYHBiInJicmNDc2NzYyFxYXASgdBgZXVwYGHQUIBwWCBgaCBQcIuB0eMjB8MDIeHR0eMjB8MDIecR4FBwkEWFgECQcFHgUFggYOBoIF0nwwMh4dHR4yMHwwMh4dHR4yAAABACUAJQHbAdsAEwAAABQHBgcGIicmJyY0NzY3NjIXFhcB2x0eMjB8MDIeHR0eMjB8MDIeAT58MDIeHR0eMjB8MDIeHR0eMgABACUAJQHbAdsAQwAAARUUBisBIicmPwEmIyIHBgcGBwYUFxYXFhcWMzI3Njc2MzIfARYVFAcGBwYjIicmJyYnJjQ3Njc2NzYzMhcWFzc2FxYB2woIgAsGBQkoKjodHBwSFAwLCwwUEhwcHSIeIBMGAQQDJwMCISspNC8mLBobFBERFBsaLCYvKicpHSUIDAsBt4AICgsLCScnCwwUEhwcOhwcEhQMCw8OHAMDJwMDAgQnFBQRFBsaLCZeJiwaGxQRDxEcJQgEBgAAAAAAAAwAlgABAAAAAAABAAUADAABAAAAAAACAAcAIgABAAAAAAADACEAbgABAAAAAAAEAAUAnAABAAAAAAAFAAsAugABAAAAAAAGAAUA0gADAAEECQABAAoAAAADAAEECQACAA4AEgADAAEECQADAEIAKgADAAEECQAEAAoAkAADAAEECQAFABYAogADAAEECQAGAAoAxgBzAGwAaQBjAGsAAHNsaWNrAABSAGUAZwB1AGwAYQByAABSZWd1bGFyAABGAG8AbgB0AEYAbwByAGcAZQAgADIALgAwACAAOgAgAHMAbABpAGMAawAgADoAIAAxADQALQA0AC0AMgAwADEANAAARm9udEZvcmdlIDIuMCA6IHNsaWNrIDogMTQtNC0yMDE0AABzAGwAaQBjAGsAAHNsaWNrAABWAGUAcgBzAGkAbwBuACAAMQAuADAAAFZlcnNpb24gMS4wAABzAGwAaQBjAGsAAHNsaWNrAAAAAAIAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAABwAAAAEAAgECAQMAhwBECmFycm93cmlnaHQJYXJyb3dsZWZ0AAAAAAAAAf//AAIAAQAAAA4AAAAYAAAAAAACAAEAAwAGAAEABAAAAAIAAAAAAAEAAAAAzu7XsAAAAADPcXh/AAAAAM9xeH8=) format("truetype"),url(/assets/slick-12459f22.svg#slick) format("svg")}.slick-prev,.slick-next{font-size:0;line-height:0;position:absolute;top:50%;display:block;width:20px;height:20px;padding:0;-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);transform:translateY(-50%);cursor:pointer;color:transparent;border:none;outline:none;background:transparent}.slick-prev:hover,.slick-prev:focus,.slick-next:hover,.slick-next:focus{color:transparent;outline:none;background:transparent}.slick-prev:hover:before,.slick-prev:focus:before,.slick-next:hover:before,.slick-next:focus:before{opacity:1}.slick-prev.slick-disabled:before,.slick-next.slick-disabled:before{opacity:.25}.slick-prev:before,.slick-next:before{font-family:slick;font-size:20px;line-height:1;opacity:.75;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-prev{left:-25px}[dir=rtl] .slick-prev{right:-25px;left:auto}.slick-prev:before{content:"←"}[dir=rtl] .slick-prev:before{content:"→"}.slick-next{right:-25px}[dir=rtl] .slick-next{right:auto;left:-25px}.slick-next:before{content:"→"}[dir=rtl] .slick-next:before{content:"←"}.slick-dotted.slick-slider{margin-bottom:30px}.slick-dots{position:absolute;bottom:-25px;display:block;width:100%;padding:0;margin:0;list-style:none;text-align:center}.slick-dots li{position:relative;display:inline-block;width:20px;height:20px;margin:0 5px;padding:0;cursor:pointer}.slick-dots li button{font-size:0;line-height:0;display:block;width:20px;height:20px;padding:5px;cursor:pointer;color:transparent;border:0;outline:none;background:transparent}.slick-dots li button:hover,.slick-dots li button:focus{outline:none}.slick-dots li button:hover:before,.slick-dots li button:focus:before{opacity:1}.slick-dots li button:before{font-family:slick;font-size:6px;line-height:20px;position:absolute;top:0;left:0;width:20px;height:20px;content:"•";text-align:center;opacity:.25;color:#000;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-dots li.slick-active button:before{opacity:.75;color:#000}:where(.css-dev-only-do-not-override-1fviqcj).ant-table-wrapper{clear:both;max-width:102%}:root{--INPUT_FIELD_WIDTH: min(60vw, 250px);--HEADING_COLOR: #000000;--HEADING_FONT_FAMILY: "Gilroy";--PARA_FONT_FAMILY: "Poppins";--PARA_COLOR: #3F3F3F;--PRIMARY_BUTTON_BG_COLOR: #8F1E78;--PRIMARY_BUTTON_COLOR: #FFFFFF;--PRIMARY_BUTTON_BORDER_RADIUS: 6px;--SECONDRY_BUTTON_BG_COLOR: white;--SECONDRY_BUTTON_COLOR: #000000;--SECONDRY_BUTTON_BORDER_RADIUS: 25.6853px;--THIRD_BUTTON_BG_COLOR: #060606;--THIRD_BUTTON_COLOR: #EFEFEF;--THIRD_BUTTON_BORDER_RADIUS: 6.53329px;--BOX_SHADOW_LEVEL1: 0px 4px 15px rgba(0, 0, 0, .1);--BOX_SHADOW_LEVEL2: 0px 4px 25px rgba(0, 0, 0, .2);--BOX_SHADOW_LEVEL3: 0px 5.25331px 26.3077px rgba(0, 0, 0, .08);--CARD_BG_COLOR: rgba(255, 255, 255, .6);--CARD_COLOR: #000000;--CARD_FONT_FAMILY: "Gilroy-Medium";--CARD_BORDER_RADIUS: 10px;--ANCHOR_FONT_FAMILY: "Manrope";--ANCHOR_COLOR: #314259;--BUTTON_FONT_FAMILY: "Gilroy-Medium";--BREAD_CRUMB_PADDING: 1rem;--TABLE_PAGE_PADDING: 1rem;--PAGE_BODY_BACKGROUND_COLOR: #E8ECF1;overflow-x:hidden}.appPage{width:100dvw;height:100dvh;overflow:hidden}.contentPage{display:flex;flex-direction:column;row-gap:1rem;height:100vh;overflow-y:auto;overflow-x:hidden}.uppermenu{font-style:normal;font-weight:600;font-size:15.49px;line-height:21px;color:#272727}.overview{display:flex;flex-wrap:wrap;flex-direction:row-reverse;column-gap:1rem}.overview-textblock{display:flex;flex-wrap:wrap;flex-direction:column;flex-grow:1;padding:47px 50px}.overviewblock{width:min(68vw,483px);font-family:var(--HEADING_FONT_FAMILY);font-style:normal;font-weight:500;font-size:max(1rem,2.5dvw);color:#000;line-height:1.5}.ant-menu-overflow-item .ant-menu-item .ant-menu-item-only-child{opacity:1;order:0;margin-left:7.68%}.overview-imgblock{width:min(37vw,569px);flex-grow:1}.overviewgrp{display:flex;flex-wrap:wrap;flex-direction:row}.overview-subtextblock{font-style:normal;font-weight:400;font-size:max(1rem,.5dvw);color:#2e2e2e;width:min(74vw,484px)}.overview-downloads{display:flex;flex-wrap:wrap;justify-content:flex-start;row-gap:1rem;column-gap:1rem;padding:37px 0}.overview-downloads-grp{width:min(84vw,205px);box-shadow:0 4px 15px #0000001a;border-radius:10px;border:0px;background:rgba(255,255,255,.5);display:flex;align-items:center;column-gap:.5rem;padding:9px 12px;font-size:.8rem;border:1px solid rgba(0,0,0,.048);transition-duration:.6s;cursor:pointer}.overview-downloads-grp:hover{border:1px solid black;transition-duration:.6s}.playstorebtn{width:200px;height:49px;border:0px;background:rgba(255,255,255,.5);box-shadow:0 4px 15px #0000001a;border-radius:10px;display:flex;align-items:center}.appstorebtn{width:166px;height:49px;border:0px;background:rgba(255,255,255,.5);box-shadow:0 4px 15px #0000001a;border-radius:10px;display:flex;align-items:center}.posplaystoebtn{width:191px;height:49px;border:0px;background:rgba(255,255,255,.5);box-shadow:0 4px 15px #0000001a;border-radius:10px;display:flex;align-items:center}.overview-downloads img{width:32px}.whatsappimg,.quickaddimg{display:flex;flex-wrap:wrap}.messageimg{display:flex;justify-content:end}.whatsapptext,.quickaddtext{align-items:center;color:#000;font-size:clamp(1rem,1dvw,2rem);font-style:normal;font-weight:400;justify-content:center;padding:0 14px;width:min(88vw,283px)}.featuresblock{display:flex;flex-wrap:wrap;justify-content:space-between}.featuresgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(500px,1fr));margin:0vw 10vh}.featuresimg{width:clamp(16rem,17vw,20dvw)}.pricing{background-color:#f5faff;padding:4vw 12vh;line-height:1.5;z-index:24;font-style:normal}.pricing h4{background:-webkit-linear-gradient(90deg,#33585D -602.16%,#5B506A -286.54%,#784072 29.28%,#892E76 277.79%,#902578 426.91%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.pricingtext{font-style:normal;font-weight:600;font-size:35.9294px;line-height:49px;color:#000}.pricingsubtext{font-style:normal;font-weight:400;font-size:16px;line-height:40px;letter-spacing:.01em;color:#0e0e0e}.pricingsubtext span{font-style:normal;font-weight:400;font-size:16px;line-height:15px;letter-spacing:.01em;color:#3b3b3b}.pricingtoggle{display:flex;flex-wrap:wrap;justify-content:space-between}.discountdiv{width:80px;height:16px;background:#FFE9BF;border-radius:4.27447px;font-family:VAR(--PARA_FONT_FAMILY);font-style:normal!important;font-weight:700;font-size:8.90514px;line-height:12px;border:0px;color:#000}.ant-switch.ant-switch-checked{background:#52C41A}.ant-switch.ant-switch-checked:hover:not(.ant-switch-disabled){background:#52C41A}.pricing .ant-switch:not(.ant-switch-checked){background:#FF4D4F}.pricing .ant-switch:not(.ant-switch-checked):hover:not(.ant-switch-disabled){background:#FF4D4F}.subtoggle{display:flex;flex-wrap:wrap;flex-direction:row;row-gap:1rem;column-gap:1rem}.monthtext{font-family:VAR(--PARA_FONT_FAMILY);font-style:normal;font-weight:600;font-size:10.0012px;line-height:14px;color:#000}.yeartext{font-family:VAR(--PARA_FONT_FAMILY);font-style:normal;font-weight:600;font-size:10.0012px;line-height:20px;color:#010101}.ant-slider-horizontal .ant-slider-rail{width:37%;height:4px}.ant-slider .ant-slider-handle:after{content:"";position:absolute;inset-block-start:0;inset-inline-start:0;width:10px;height:10px;background-color:#fff;box-shadow:0 0 0 2px #901d77!important;border-radius:50%;cursor:pointer;transition:inset-inline-start .2s,inset-block-start .2s,width .2s,height .2s,box-shadow .2s}.ant-slider .ant-slider-handle:focus:after{box-shadow:0 0 0 4px #901d77!important;width:12px;height:12px;inset-inline-start:-1px;inset-block-start:-1px}.ant-slider:hover .ant-slider-handle:after{box-shadow:0 0 0 2px #901d77!important}.ant-slider .ant-slider-track{position:absolute;background-color:#901d77!important;border-radius:2px;transition:background-color .2s}.sliderdiv{padding:25px 199px;margin:1vw -30vh;width:60vw}.pricingcardsdiv{margin:0vw 0vh;display:flex;flex-grow:1;gap:1rem;justify-content:center}.pricingcards{background:#FFFFFF;border-radius:11.1127px;flex-direction:column;width:220px;height:initial;transition-duration:.6s;border:rgba(39,39,39,.1019607843) solid 1px;padding-bottom:20px;position:relative}.pricingcards:hover{background:#FFFFFF;border:#272727 solid 1px;border-radius:11.1127px;width:220px;height:initial;transition-duration:.6s;box-shadow:#0003 0 18px 50px -10px;padding-bottom:20px}.pricingname{height:14.62px;font-style:normal;font-weight:400;font-size:13.7565px;line-height:19px;letter-spacing:.2em;color:#000;margin:25px}.gitfimg{width:70.37px;height:70.37px;margin:0 9px;transition-duration:.6s}.gitfimg:hover{width:75px;height:75px;margin:0 9px;transition-duration:.6s}.freebtn{box-sizing:border-box;margin:1.5vw 4vh;display:flex;justify-content:space-evenly;align-content:center;background:#35b856;color:#fff;font-size:16px;border:.5px solid #000000;border-radius:20px;transition-duration:.6s;border:0px;cursor:pointer}.freebtn:hover{box-sizing:border-box;margin:1.5vw 4vh;display:flex;justify-content:space-evenly;background:none!important;border:1px solid #000000!important;border-radius:20px;color:#000!important;border:0px;transition-duration:.6s}.btntext{margin:3vw 4vh;padding:.6vw 0vh;display:flex;justify-content:space-evenly;font-size:15px;background-color:#e8ecf1;border-radius:6px;align-items:center;font-family:VAR(--PARA_FONT_FAMILY);font-style:normal;line-height:19px;color:#000;cursor:pointer}.btntext:hover{margin:3vw 4vh;padding:.46vw vh;display:flex;border:solid 1px #000!important;justify-content:space-evenly;font-size:15px;border-radius:6px;align-items:center;font-family:VAR(--PARA_FONT_FAMILY);font-style:normal;color:#000;cursor:pointer}.heart_img{margin:-20vw 170vh}.priceadd{width:150px}.pricingcontent{margin:0 25px;font-style:normal;font-family:var(--HEADING_FONT_FAMILY);font-weight:500;font-size:clamp(2.5rem,1.5dvw,2rem);color:#161616}.slick-prev,.slick-next{background:rgba(0,0,0,.603);width:40px;height:40px;border-radius:10px}.slick-prev,.slick-next:hover{background:rgb(0,0,0);width:40px;height:40px;border-radius:10px}.pricingdiv{display:flex;flex-wrap:wrap;flex-direction:row;transition:cubic-bezier(.42,0,.58,1);margin-left:-3rem}.downloadsource{display:flex;flex-wrap:wrap;flex-direction:row;margin:12vw -1vh;row-gap:1rem}.downloaddiv{flex-wrap:wrap;flex-direction:column;row-gap:1rem;display:flex;margin:1vw 16vh}.downloadtext{font-style:normal;font-weight:400;font-size:clamp(1rem,1.5dvw,6rem);color:#000}.downloadsubtext{font-style:normal;font-weight:600;font-size:clamp(.5rem,.8dvw,1rem);color:#000;opacity:.7}.downloadsources{display:flex;flex-wrap:wrap;flex-grow:1;flex-direction:column;row-gap:1rem;background:rgba(240,240,240,.5);border-radius:18.3177px}.downloadsourcestext{font-style:normal;font-weight:500;color:#000;font-size:clamp(1.5rem,1.5dvw,2rem);padding:17px 48px}.faqs{display:flex;flex-wrap:wrap;flex-direction:row;margin:6vw 20vh;row-gap:1rem}.faqsdiv{display:flex;flex-wrap:wrap;flex-direction:column;row-gap:4rem;flex-grow:1;justify-content:space-evenly;align-items:left}.faqstext{font-style:normal;font-weight:500;font-size:23px;color:#000}.faqaddson{display:flex;flex-grow:1}.faqsimg{width:min(50vw,259px)}.downloadssrc{display:flex;flex-wrap:wrap;justify-content:flex-start;row-gap:1rem;column-gap:1rem;margin:0 43px}.contact{display:flex;flex-wrap:wrap;flex-direction:row;row-gap:1rem;justify-content:space-evenly}.contactimg{width:286px;height:244px;left:375px;top:2964px;border-radius:35.9316px 0 0 35.9316px}.contactmaintext{font-style:normal;font-weight:500;font-size:27.3037px;color:#000}.contactsubtext{font-style:normal;font-weight:400;font-size:12px;letter-spacing:.01em;color:#000}.contactgrpdiv{display:flex;flex-wrap:wrap;flex-direction:row;row-gap:1rem;column-gap:4rem}.contactgrpmobile{display:flex;flex-wrap:wrap;flex-direction:row;row-gap:1rem;text-align:left;justify-content:center}.contactgrpemail{display:flex;flex-wrap:wrap;flex-direction:row;row-gap:1rem}.contacthelpdiv{display:flex;flex-wrap:wrap;flex-direction:column;row-gap:3rem}.footer{background:#E8ECF1;border-radius:20px}.footerdiv{display:flex;flex-wrap:wrap;flex-direction:row;row-gap:1rem;justify-content:space-evenly;padding:60px 12px}.footerheadertext{width:160px;height:21px;left:122px;top:3397px;font-style:normal;font-weight:600;font-size:15px;line-height:3px;color:#000;opacity:.8}.footerimages{display:flex;flex-wrap:wrap;flex-direction:row;row-gap:1rem;justify-content:space-evenly}.footericons{width:20px;height:20px}.footertext{width:107px;height:26px;left:122px;top:3439px;font-style:normal;font-weight:600;font-size:12px;line-height:16px;color:#000;opacity:.7}.footerpolicy,.footercontact{display:flex;flex-wrap:wrap;row-gap:1rem;justify-content:space-evenly;font-style:normal;font-weight:500;font-size:11.4802px;line-height:16px;letter-spacing:.01em;color:#000;opacity:.8;padding:0 200px}.footercontact{padding:7px 200px}.globalgrp{display:flex;flex-wrap:wrap;flex-direction:row;row-gap:1rem}.Content__{margin-top:10rem}@media (min-width: 279px) and (max-width: 653px){.Pay_options-div{margin:1vw 0vh;padding:3vw 1vh!important;background-color:#e8ecf1;border-radius:8px}.vl{display:none}}@media (min-width: 375px) and (max-width: 499px){.Content__{margin-top:6rem!important}.Invoice-detail-cont{margin:1vw -12vh!important}.invoice-drop-items{margin:3vw -4vh!important}.invoice-4th-row{margin:1vw 4vh!important;padding:1vw 0vh!important;flex-direction:row!important;justify-content:space-between!important}.featuresgrid{margin:0vw 8vh}.Invoice-details-fields{height:max-content;margin:3vw 2vh;padding:1vw 0vh;display:flex;flex-wrap:wrap}.Invoice-details-pricedetails{margin:5vw 1vh!important}.pricedetails-Amtdetail{width:56vw!important;height:20vh!important}.pricing{background-color:#fff;padding:4vw 5vh}.pricingcardsdiv{padding:2vw 0vh}.pricedetails-div{justify-content:space-between!important;padding:2vw 1vh}.prcdPay{font-size:10px!important}.Invoice-Amtdetail-txt{line-height:27px!important}.vl{display:none}.faqstext{width:80vw;font-size:23px}.faqsimg{display:none!important}.faqs{margin:2vw 4vh;width:20vw!important}.faqaddson{margin:0vw -3vh;width:80vw!important}.Invoice-details-tittle,.Invoice-details-fields{margin:1vw 1vh!important}.Invoice-details-pricedetails{margin:1vw -6vh!important}.extra_small_nav{display:none!important}.downloaddiv{margin:1vw 4vh}.footer_container{padding:8vw 8vh!important;justify-content:space-between!important}.contactimg{display:none!important}.contactgrpdiv{margin:-2vw -9vh!important}.Pay_options-div{margin:1vw 0vh;padding:1vw 1vh!important;background-color:#e8ecf1;border-radius:8px}.payment-page-div{padding:1vw 2vh!important}.payment-page-cont{padding:1vw 0vh!important;margin:8vw 0vh!important}.payment-txt-cont{margin:0vw 3vh!important}.payment-Amtdetails{margin:3vw 2vh!important;padding:15vw 0vh!important;row-gap:3rem!important}}@media all and (max-width: 499px){.Uppernav,.extranav{display:none}.small_nav{width:60vh!important}.extra_small_div{font-size:14px!important;text-transform:uppercase}.faqsimg{display:none!important}.extra_small_nav{margin:0vw 0vh;width:70vw;display:flex;justify-content:space-around;font-size:13.2px}.collapsed-menu{width:80vh!important;margin:1vw 0vh!important}}@media all and (max-width: 899px){.Uppernav,.extranav{display:none}.extra_small_div{font-size:14px!important;color:#000;font-family:var(--PARA_FONT_FAMILY)}.sliderdiv{padding:2px 10px;margin:1vw 0vh;width:66vh}}@media (min-width: 280px) and (max-width: 653px){.Pay_options-div{margin:1vw 0vh;padding:1vw 1vh!important;background-color:#e8ecf1;border-radius:8px}.payment-page-div{padding:1vw 2vh!important}.payment-page-cont{padding:1vw 0vh!important;margin:8vw 0vh!important}.payment-txt-cont{margin:0vw 3vh!important}.payment-Amtdetails{margin:3vw 2vh!important;padding:15vw 0vh!important;row-gap:3rem!important}}@media (min-width: 500px) and (max-width: 1279px){.invoice-detail-bg{background:none!important}.Content__{margin-top:6vw!important}.overviewblock{font-size:30px}.overview-imgblock{display:none}.overview-downloads{justify-content:flex-start}.extra_small_nav{display:none}.downloaddiv{margin:2vw 6vh!important}.contactimg{display:none!important}.invoice-drop-items{margin:3vw -4vh!important}.invoice-4th-row{margin:1vw 4vh!important;padding:1vw 0vh!important;flex-direction:row!important;justify-content:space-between!important}.Invoice-details-fields{height:max-content;margin:3vw 2vh;padding:1vw 0vh;display:flex;flex-wrap:wrap}.Invoice-details-pricedetails{margin:5vw 1vh!important}.pricedetails-Amtdetail{width:56vw!important;height:20vh!important}.pricedetails-div{justify-content:space-between!important;padding:2vw 1vh}.prcdPay{font-size:10px!important}.Invoice-Amtdetail-txt{line-height:27px!important}.faqs{margin:6vw 4vh}.contactgrpdiv{margin:-2vw -9vh!important}.Pay_options-div{margin:1vw 0vh;padding:1vw 1vh!important;background-color:#e8ecf1;border-radius:8px}.payment-page-div{padding:1vw 2vh!important}.payment-page-cont{padding:1vw 0vh!important;margin:8vw 0vh!important}.payment-txt-cont{margin:0vw 3vh!important}.payment-Amtdetails{margin:3vw 2vh!important;padding:15vw 0vh!important;row-gap:3rem!important}}.small_nav{display:flex;transition:.1s ease-out;background-color:#fff;box-shadow:0 4px 150px #0000001a;width:100vw!important;height:auto}.Dept_side{margin:2vw 4vh;padding:2vw 4vh;width:40vw;height:min(40vw,700px);display:flex;flex-direction:column;flex-wrap:wrap;justify-content:space-between}.ant-menu-light.ant-menu-horizontal>.ant-menu-item{margin:0vw 1.4vh;font-size:2.6vh;font-family:var(--HEADING_FONT_FAMILY)!important}.Uppernav{position:fixed;margin-top:6em;z-index:12;width:100vw}.ftr-content{background:#E8ECF1;display:flex;flex-wrap:wrap;justify-content:space-around}.footer_container{background:#E8ECF1;color:#000;display:flex;justify-content:space-around;flex-wrap:wrap;row-gap:2rem;width:100%;height:auto;padding:3vw 15vh;margin:0px 0px 1.2rem;font-family:Gilroy;font-weight:400;font-size:18px;line-height:32px}:where(.css-dev-only-do-not-override-1fviqcj).ant-row{display:flex;flex-flow:row wrap;min-width:0}.freebtn.disabled .disabled-button-free{background-color:gray;width:150px;height:45px;border-radius:8px;color:#fff;text-align:center;font-weight:700;font-weight:500;font-size:14px;font-family:var(--HEADING_FONT_FAMILY);font-style:normal;justify-content:center}.freebtn.disabled{background-color:#fff;cursor:not-allowed}.freebtn.disabled:hover{background-color:#fff;cursor:not-allowed;border:1px solid #ffffff!important;color:#fff!important}.net-price-strike{font-weight:700;font-size:small;text-decoration:line-through;text-decoration-color:#ff4d4f!important}.divFeature{padding-left:2rem}.divFeatureDetails{margin-top:2rem}.pricingcardsFeature{display:flex;background:#FFFFFF;border-radius:11.1127px;flex-direction:column;width:220px;height:initial;transition-duration:.6s;border:rgba(39,39,39,.1019607843) solid 1px;padding-bottom:20px;position:relative;justify-content:space-between}.pricingFeaturesCards{display:flex;overflow:auto;width:80dvw;column-gap:.5rem}.appdropdown{width:100%!important}.appCheckbox{text-align:start}.appCheckboxText{font-size:12px!important;top:2px;left:12px;font-style:normal;color:#007eb5}.Pdf-body{background-color:#33585c1f;height:100%;margin:0vw 0vh;padding:5vw 20vh}.Pdf-Div{padding:3vw 10vh;background-color:#fff;border-radius:8px;position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:space-around;font-family:Poppins,sans-serif!important;line-height:2}.Pdf-head-div{padding:0vw 15vh;color:#2b2b2b}.Pdf-head{font-size:45px;font-weight:600;line-height:1;color:#000}.headlogo-img{width:70px}.Pdf-amt-digit{font-weight:600}.square{height:240px;width:240px;background-color:#f5f5f5;border-radius:5%;display:inline-block;position:relative;z-index:-1;margin-top:-18rem;margin-left:-2rem}.Pdf-Cont-Div{background-color:#fff;padding:0vw 2vh}.Pdf-cont{margin:0vw 0vh;padding:0vw 0vh;display:flex;row-gap:1rem;justify-content:space-evenly}.Pdf-amt-details{text-align:right}.Pdf-cont-txt{padding:0vw 10vh;width:400px;font-family:Poppins,sans-serif!important}.Pdf-cont-subhead{font-size:20px;font-weight:500;font-family:Poppins,sans-serif!important}.Pdf-cont-text{font-size:14px;font-family:Poppins,sans-serif!important}.Pdf-Table-Div{background-color:#fff;padding:3vw 0vh}table{border-collapse:collapse;margin:0;padding:0;width:100%;table-layout:fixed;font-family:Poppins,sans-serif!important}table caption{font-size:1.2em;margin:0 0 .95em;padding:1vw 3vh;font-family:Poppins,sans-serif!important;text-transform:uppercase;font-weight:600;letter-spacing:3px;background-color:#f5f5f5}table tr{padding:.35em}table th,table td{padding:1vw 1vh;text-align:center}table th{font-size:.85em;letter-spacing:.1em;text-transform:uppercase}.table-2div{text-align:right;display:flex;flex-wrap:wrap;flex-direction:column}.table-cont2{display:flex;justify-content:space-evenly}.Pdf-footer-div{background-color:#fff;padding:3vw 1vh;display:flex;flex-wrap:wrap;row-gap:2rem;justify-content:space-evenly}.Pdf-footer-subdiv{display:flex;flex-wrap:wrap;flex-direction:row;row-gap:2rem;align-items:center;width:300px;justify-content:space-around}.Pdf-footer-txt1{font-size:18px;width:500px;font-weight:600;line-height:2}.Pdf-footer-txt{font-size:13px;width:500px}.Pdf-footer-subdiv-txt-div{justify-content:space-evenly;font-size:15px}.Pdf-footer-subdiv-txt{display:flex;align-items:center;text-align:left;line-height:1.8;justify-content:start}.logo-img{padding:1vw 1vh}hr.new4{border:16px solid #2e4f53}.ftrtmplthdr{font-size:1.1rem;font-weight:600;color:#fff;letter-spacing:.01em;cursor:pointer;text-transform:capitalize}.ftrtmplthdrWithoutData{background-color:#d9d9d9;width:100px;height:15px;font-size:22px;cursor:pointer}.ftrtmpltlistwithoutData{background-color:#d9d9d9;width:80px;height:7px}.ftrlink{font-size:14px;text-decoration:none;color:#4b4b4b;cursor:pointer}.ftrlinkwithOutData{font-size:14px;font-weight:400;width:80px;color:#0f0303}.oftrlinkdiv{display:flex;flex-direction:column;font-size:14px;margin:1rem 0rem;row-gap:.5rem;gap:1rem;flex-wrap:wrap;align-items:center;cursor:pointer}.oftrlinkdiv3{display:flex;flex-direction:row;font-size:14px;margin:3rem 0rem;row-gap:.5rem;gap:12rem;flex-wrap:wrap;align-items:center;cursor:pointer}.oftrlinkdiv2{width:100%;display:flex;flex-direction:column;font-size:14px;margin:3rem 0rem;row-gap:.5rem;gap:1rem;align-items:center;cursor:pointer}.oftrlinkdiv1{display:flex;flex-direction:row;font-size:12px;margin:2rem 0rem;row-gap:.5rem;width:400px;flex-wrap:wrap;justify-content:center}.newdivstc{display:flex;flex-direction:row;column-gap:2rem;font-size:12px;row-gap:.5rem;width:400px;flex-wrap:wrap;justify-content:flex-start}.newdivstc2{display:flex;flex-direction:row;column-gap:2rem;font-size:12px;row-gap:.5rem;flex-wrap:wrap;justify-content:flex-start}.oftrlinkdiv2{display:flex;flex-direction:row;font-size:12px;margin:2rem 0rem;row-gap:.5rem;width:100%;flex-wrap:wrap;justify-content:center}.oftrlinks{display:flex;flex-direction:row;gap:1rem;flex-wrap:wrap;justify-content:start}.oftrlinks2{display:flex;flex-direction:row;gap:1rem;flex-wrap:wrap;width:25.9rem;justify-content:start}.eftr{display:flex;align-items:center}.footerForm .ant-space{flex-direction:column}.maindiv{display:flex;justify-content:space-between;background-color:#f3f3f3;flex-wrap:wrap}.maindivempData{background-color:#f3f3f3;padding:35px 6px}@media screen and (max-width: 550px){.oftrlinks2{width:auto!important}}.ShowError{border:1.5px solid #ff4d4f;width:15.78rem;height:53.5px;border-radius:6px}.ShowError .ant-input:hover{border-color:#00000080}.ShowError .ant-input:focus{border-color:#00000080}.ShowError .ant-input-focused{border-color:#00000080}.custom-radio-label input[type=radio]{display:none}.mailInpt{border-bottom:2px green solid;background:none;font-size:clamp(16px,2.5vw,20px);color:green;font-weight:600}.invoice-detail-bg .mailInpt .label{color:green!important}.NoError{border-radius:6px}.invoice-detail-bg{background-color:#f5faff;height:100vw}.invoice-detail-div{height:min(40vw,250px);align-items:center}.invoice-drop-items{border:1px solid #636363;background-color:#fff;overflow:auto;padding:1rem 0rem;align-items:center;align-content:center;display:flex;line-height:22px;flex-wrap:wrap;border-radius:20px;justify-content:center;font-family:var(--PARA_FONT_FAMILY)}.invoice-4th-row{height:39vh;margin:1vw 3vh;display:flex;flex-wrap:wrap;flex-direction:row;justify-content:space-evenly}.invoice-4th-row table{width:inherit!important}.Invoice-details-bg{padding:1vw 1vh;background-color:#fff;border-radius:8px}.Invoice-details-tittle{margin:1vw 9vh;padding:1vw 0vh;font-size:25px;font-family:Manrope;font-style:normal;font-weight:600;line-height:25px;letter-spacing:.01em;color:#004ba9}.Invoice-details-fields{height:max-content;margin:3vw 9vh;padding:1vw -1vh;display:flex;flex-wrap:wrap;column-gap:1rem;flex-direction:column;row-gap:1rem}.Invoice-details-pricedetails{margin:2vw 2vh;padding:2vw 2vh;border-radius:8px;background-color:#f8f8ff;flex-direction:column;display:flex;gap:1rem}.invoice-detail-bg .ant-radio-wrapper .ant-radio-checked .ant-radio-inner{background-color:var(--SELECTED_COLOR)!important;border-color:var(--SELECTED_COLOR)!important}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child{display:none!important}.invoice-detail-bg .primary_Button{display:flex;background-color:green!important;color:#fff}.invoice-detail-bg .ant-radio-group{row-gap:.8rem!important}.invoice-detail-bg .ant-radio-wrapper{padding:.5rem!important;box-shadow:#63636333 0 2px 8px}.pricedetails-details-tittle{padding:0rem 1rem;font-size:23px;font-family:var(--HEADING_FONT_FAMILY);font-weight:600;color:#004ba9}.pricedetails-details{display:flex;flex-wrap:wrap;row-gap:1rem;justify-content:space-between;height:max-content;column-gap:1rem;font-family:VAR(--PARA_FONT_FAMILY)}.pricedetails-Amtdetail{display:flex;flex-wrap:wrap;justify-content:space-around;padding:1rem 0rem;background-color:#fff;box-shadow:#64646f33 0 7px 29px;border-radius:15px}.featureAmt{width:100px;height:48px}.sbmt-btn{opacity:12%!important}.sbmt-btn1{background-color:#004ba9}.invoice-detail-bg .adduserinfo .ant-input{width:56%}.invoice-detail-bg .adduserinfo .NoError,.invoice-detail-bg .adduserinfo .ShowError{width:50%}.pricedetails-div{background-color:#f8f8ff}.pricedetails-div .example>p{color:#ff4d4f;font-size:12px;margin-top:26px}.Amtdetail-txt{font-size:14px;width:270px;line-height:10px;margin:.5rem 2vh;display:flex;flex-wrap:wrap;justify-content:space-between}.AmPay{font-size:16px;font-weight:600;text-transform:uppercase}.prcdPay{font-size:13px;color:#004ba9}.Invoice-detail-cont{margin:1vw 2vh}.small-font{font-size:15px}.Pay_options-div{margin:1vw 0vh;padding:1vw 6vh;background-color:#e8ecf1;border-radius:8px}.Pay_options{margin:1vw 0vh;padding:3vw 6vh;background-color:#fff;border-radius:6px}.Pay_options-fields{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;padding:0vw 0vh}.pay-btn{width:245px;height:45px;margin:2vw 0vh;padding:1vw 0vh;background-color:#901d77;color:#fff;font-family:var(--HEADING_FONT_FAMILY);letter-spacing:1px;border:none;display:flex;font-size:14px;justify-content:space-around;text-align:center;align-items:center;border-radius:6px;transition-duration:.6s}.pay-btn:focus{width:245px;height:45px;margin:2vw 0vh;padding:1vw 0vh;background-color:#fff;color:#000;font-family:var(--HEADING_FONT_FAMILY);letter-spacing:1px;border:black solid 1px;display:flex;justify-content:space-around;text-align:center;align-items:center;border-radius:6px;transition-duration:.6s}.switch-pay-btn{width:200px;height:45px;margin:2vw 0vh;padding:1vw 0vh;background-color:#000;color:#fff;font-family:var(--HEADING_FONT_FAMILY);letter-spacing:1px;border:black solid 1px;display:flex;justify-content:space-around;text-align:center;align-items:center;border-radius:26px;transition-duration:.6s}.Pay_options-imgfield{display:flex;flex-wrap:wrap;flex-direction:column;justify-content:center;text-align:center;align-items:center;padding:0vw 3vh}.Pay_options-inpfield{text-align:center;align-items:center;padding:0vw 8vh}.Pay_options-inpimgfield{margin:2vw 0vh}.tc-apply{font-size:12px;color:#000}.Invoice-cont{text-align:center;padding:0vw 0vh}.Invoice-content{margin:1vw 5vh;padding:0vw 0vh;text-align:left;font-size:18px;font-weight:500;font-family:var(--HEADING_FONT_FAMILY)}hr.new2{border-top:.1px dashed rgb(90,90,90)}hr.new3{border-top:1px dotted rgb(90,90,90)}.Invoice-cont-headcont{margin:.5vw 0vh}.Invoice-cont-head{font-size:24px;font-weight:600;color:#3a3a3a;font-family:var(--HEADING_FONT_FAMILY)}.Invoice-cont-sub{font-size:14px;color:#3a3a3a;font-family:var(--HEADING_FONT_FAMILY)}.success-img{width:50px}.Invoice-Amtdetails{width:50vh;padding:0vw 3vh;display:flex;flex-wrap:wrap;justify-content:space-around}.Invoice-Amtdetail-txt{font-size:14px;width:270px;line-height:8px;margin:.5rem 2vh;font-family:var(--PARA_FONT_FAMILY);display:flex;flex-wrap:wrap;justify-content:space-between}.Invoice-AmPay{font-size:18px;margin:1vw 0vh;font-weight:500;font-family:var(--PARA_FONT_FAMILY)}.Invoice-dwld-btn{margin:1vw 0vh;width:250px;height:45px;display:flex;flex-wrap:wrap;text-align:center;align-items:center;justify-content:space-evenly;border:#616161 solid .03px;background-color:#fff;color:#000;font-weight:500;border-radius:25px;font-size:16px;font-family:var(--HEADING_FONT_FAMILY);transition-duration:.6s}.Invoice-dwld-btn:focus{margin:1vw 0vh;width:250px;height:45px;display:flex;flex-wrap:wrap;text-align:center;align-items:center;justify-content:space-evenly;color:#000;font-weight:500;border-radius:25px;font-size:16px;font-family:var(--HEADING_FONT_FAMILY);transition-duration:.6s}.vl{border-left:.36px solid rgb(190,190,190);height:150px;position:absolute;left:40%}.mail-div{margin:1vw 3vh;padding:1vw 0vh;font-size:14px;text-align:center}.mail-inp-btn{padding:1vw 0vh;text-align:center}.mail-btn{width:100px;height:35px;background-color:#31af42;color:#fff;font-family:var(--PARA_FONT_FAMILY);border:none;border-radius:6px}.Upi-imgfield{margin:2vw 0vh;width:180px;display:flex;justify-content:space-around;align-items:center;text-align:center}.Upi-imgG{width:fit-content}.Upi-img{cursor:pointer;transition-duration:.6s;border:none;background:none;padding:3px}.Upi-img:hover{width:fit-content;cursor:pointer;border:#000 solid 1px;border-radius:6px;transition-duration:.6s}.Upi-img:focus{width:fit-content;cursor:pointer;border:#000 solid 1px;border-radius:6px;transition-duration:.6s}#activeData{width:fit-content;cursor:pointer;border:#000 solid 1px;border-radius:6px;transition-duration:.6s}@media screen and (min-width: 500px) and (max-width: 768px){.pricedetails-details{flex-wrap:wrap!important}.Invoice-PaymentProcess-UPI .ant-input-search{width:min(42vw,500px)!important}.Invoice-details-bg{margin:1vw -3vh!important;padding:2vw -1vh!important}}@media screen and (min-width: 280px) and (max-width: 499px){.pricedetails-details{flex-wrap:wrap!important}.Invoice-details-bg{margin:1vw 2vh}.Content__{margin-top:6rem!important}.Invoice-detail-cont{margin:1vw 1vh!important}.invoice-detail-div{margin:3vw 0vh!important}.invoice-drop-items{margin:3vw -4vh!important;justify-content:flex-start!important}.invoice-4th-row{margin:1vw 4vh!important;padding:1vw 0vh!important;flex-direction:row!important;justify-content:space-between!important}.featuresgrid{margin:0vw 8vh}.Invoice-details-fields{height:max-content;margin:3vw 2vh;padding:1vw 0vh;display:flex;flex-wrap:wrap}.pricing{background-color:#fff;padding:4vw 5vh}.pricingcardsdiv{padding:2vw 0vh}.pricedetails-div{justify-content:space-between!important;padding:2vw 1vh}.prcdPay{font-size:10px!important}.vl{display:none}.faqstext{width:80vw;font-size:23px}.faqsimg{display:none!important}.faqs{margin:2vw 4vh;width:20vw!important}.faqaddson{margin:0vw -3vh;width:80vw!important}.Invoice-details-tittle,.Invoice-details-fields{margin:1vw 1vh!important}.Invoice-PaymentOption-Div{width:150px!important}.Invoice-PaymentProcess-Div{width:62vw!important}.invoice-detail-bg .ant-radio-wrapper{width:36%!important}.Invoice-PaymentProcess-UPI-collapse{overflow-x:hidden}.invoice-detail-bg .primary_Button{width:180px!important}.Invoice-PaymentProcess-UPI-body{display:block!important;padding:1rem .5rem}.Invoice-PaymentProcess-UPI-body .OverallAMtCount{font-size:16px!important;font-weight:600}.extra_small_nav{display:none!important}.downloaddiv{margin:1vw 4vh}.footer_container{padding:8vw 8vh!important;justify-content:space-between!important}.contactimg{display:none!important}.contactgrpdiv{margin:-2vw -9vh!important}.Pay_options-div{margin:1vw 0vh;padding:1vw 1vh!important;background-color:#e8ecf1;border-radius:8px}.payment-page-div{padding:1vw 2vh!important}.payment-page-cont{padding:1vw 0vh!important;margin:8vw 0vh!important}.payment-txt-cont{margin:0vw 3vh!important}.payment-Amtdetails{margin:3vw 2vh!important;padding:15vw 0vh!important;row-gap:3rem!important}}@media (max-width: 500px){.faqsimg{display:none!important}}@media all and (max-width: 499px){.Uppernav,.extranav{display:none}.small_nav{width:60vh!important}.extra_small_div{font-size:14px!important;text-transform:uppercase}.faqsimg{display:none!important}.extra_small_nav{margin:0vw 0vh;width:70vw;display:flex;justify-content:space-around;font-size:13.2px}.collapsed-menu{width:80vh!important;margin:1vw 0vh!important}.ant-collapse{width:75vh!important}}@media (min-width: 280px) and (max-width: 653px){.Pay_options-div{margin:1vw 0vh;padding:1vw 1vh!important;background-color:#e8ecf1;border-radius:8px}.payment-page-div{padding:1vw 2vh!important}.payment-page-cont{padding:1vw 0vh!important;margin:8vw 0vh!important}.payment-txt-cont{margin:0vw 3vh!important}.payment-Amtdetails{margin:3vw 2vh!important;padding:15vw 0vh!important;row-gap:3rem!important}.submitbtn-position{right:5rem!important}}@media (min-width: 360px) and (max-width: 740px){.Pay_options-div{margin:1vw 0vh;padding:1vw 1vh!important;background-color:#e8ecf1;border-radius:8px}.payment-page-div{padding:1vw 2vh!important}.payment-page-cont{padding:1vw 0vh!important;margin:8vw 0vh!important}.payment-txt-cont{margin:0vw 3vh!important}.payment-Amtdetails{margin:3vw 2vh!important;padding:15vw 0vh!important;row-gap:3rem!important}}@media (min-width: 500px) and (max-width: 1279px){.invoice-detail-bg{background:none!important}.Content__{margin-top:6vw!important}.overviewblock{font-size:30px}.overview-imgblock{display:none}.overview-downloads{justify-content:flex-start}.extra_small_nav{display:none}.downloaddiv{margin:2vw 6vh!important}.contactimg{display:none!important}.invoice-detail-div{margin:3vw 0vh!important}.invoice-drop-items{margin:3vw -4vh!important;justify-content:flex-start!important}.invoice-4th-row{margin:1vw 4vh!important;padding:1vw 0vh!important;flex-direction:row!important;justify-content:space-between!important}.Invoice-details-fields{height:max-content;margin:3vw 2vh;padding:1vw 0vh;display:flex;flex-wrap:wrap}.invoice-detail-bg .primary_Button{width:max-content}.Amtdetail-txt{margin:.1rem 2vh}.Invoice-PaymentProcess-UPI-body{gap:0rem!important;flex-wrap:wrap}.pricedetails-div{justify-content:space-between!important;padding:2vw 1vh}.prcdPay{font-size:10px!important}.faqs{margin:6vw 4vh}.contactgrpdiv{margin:-2vw -9vh!important}.Pay_options-div{margin:1vw 0vh;padding:1vw 1vh!important;background-color:#e8ecf1;border-radius:8px}.payment-page-div{padding:1vw 2vh!important}.payment-page-cont{padding:1vw 0vh!important;margin:8vw 0vh!important}.payment-txt-cont{margin:0vw 3vh!important}.payment-Amtdetails{margin:3vw 2vh!important;padding:15vw 0vh!important;row-gap:3rem!important}}.small_nav{display:flex;transition:.1s ease-out;background-color:#fff;box-shadow:0 4px 150px #0000001a;height:auto}.toggle-button{cursor:pointer;font-size:3.3vh}.productcollapse .ant-collapse{width:100%}.qrcode{cursor:pointer;padding:10px;width:180px;background-color:#dbd1d1;border-radius:7px}.qrAdd{cursor:pointer;padding:5px;width:43px;background-color:#52c41a;border-radius:7px}.Qrcodediv,.subQrcode{display:flex;flex-wrap:wrap;flex-direction:row;gap:2rem}.subQrcodeAdddiv{display:flex;flex-wrap:wrap;flex-direction:row;gap:1rem}.scannerdiv{display:flex;flex-wrap:wrap;flex-direction:row;gap:.5rem}.ant-collapse{font-style:normal;font-size:15.2968px}.Dept_side{margin:2vw 4vh;padding:2vw 4vh;width:40vw;height:min(40vw,700px);display:flex;column-gap:1rem;flex-direction:column;flex-wrap:wrap;justify-content:space-between}.collapsed-menu{width:100vw;height:100vh;background-color:#00000054;transition:.1s ease-out;overflow:scroll;overflow-x:hidden}.anticon{flex-wrap:wrap;flex-direction:row;justify-content:flex-end;cursor:pointer}.ant-btn-default{display:none}.ant-modal .ant-modal-footer .ant-btn+.ant-btn:not(.ant-dropdown-trigger){display:none}.ant-menu-light.ant-menu-horizontal>.ant-menu-item{margin:0vw 1.4vh;font-size:16px;font-family:var(--HEADING_FONT_FAMILY)!important}.nav_right_items{display:flex;justify-content:space-around}.ant-menu-title-content{flex-direction:column;display:flex}.Uppernav{position:relative;margin-top:6em;width:100vw;z-index:6}.nav-btn{font-size:16px!important;height:54px;text-transform:uppercase;font-weight:550;border:none;color:#333;padding:4px 1px;border-radius:6px}.FreeAccBtn{width:220px;height:50px;display:flex;justify-content:center;border-radius:6px;text-transform:uppercase;background-color:#8f1e78;color:#fff;margin:.2vw 1vh;font-size:16px;align-items:center;align-content:center;text-align:center;text-decoration:none}.ftr_cont{margin:2vw -15vh}.ftr-content{background:#e8ecf1;display:flex;flex-wrap:wrap;justify-content:space-around}.invoice-1st-txt{font-family:Manrope;font-style:normal;font-weight:800;font-size:40px;color:#000}.invoice-2nd-txt{display:flex;justify-content:flex-start;font-family:Manrope;font-style:normal;font-weight:600;font-size:16px;letter-spacing:.01em;margin:.2vw 0vh;padding:.2vw 0vh;flex-wrap:wrap;row-gap:0rem}.invoice-toggle{display:flex}.small-font{font-size:13px}.ftr_cont{margin:2vw -14vh}.footer_container{background:#e8ecf1;color:#000;display:flex;justify-content:space-around;flex-wrap:wrap;row-gap:2rem;width:100%;height:auto;padding:3vw 15vh;margin:0px 0px 1.2rem;font-family:Gilroy;font-weight:400;font-size:18px;line-height:32px}.ft_sub_container{padding:3vw 1vh;font-family:Poppins;font-size:14px;text-align:center;text-decoration:none}.privacycol{text-decoration:none!important;color:#4f4f4f}.footer-links{padding-left:0;list-style:none;margin:1rem 0px}.footer-links li{display:block}.footer-links a{font-family:Poppins;font-style:normal;font-weight:400;font-size:14px;line-height:10px;color:#000;text-decoration:none;opacity:.9}.footer-links a:active,.footer-links a:focus,.footer-links a:hover{color:#c5176e;text-decoration:none}.footer-links.inline li{display:inline-block}.social-icons{padding-left:0;margin-bottom:0;list-style:none;margin:1rem 0px}.social-icons li{display:inline-block;margin-bottom:4px}.social-icons li.title{margin-right:15px;text-transform:uppercase;color:#96a2b2;font-weight:700;font-size:13px}.social-icons a{background-color:#eceeef;color:#000;font-size:16px;display:inline-block;line-height:44px;width:44px;height:44px;text-align:center;margin-right:8px;border-radius:100%;-webkit-transition:all .2s linear;-o-transition:all .2s linear;transition:all .2s linear}.social-icons a:active,.social-icons a:focus,.social-icons a:hover{color:#fff;background-color:#33cc38}.social-icons.size-sm a{line-height:34px;height:34px;width:34px;font-size:14px}.social-icons a.facebook:hover,.social-icons a.twitter:hover,.social-icons a.linkedin:hover,.social-icons a.dribbble:hover{background-color:#33cc38}@media (max-width: 767px){.social-icons li.title{display:block;margin-right:0;font-weight:600}}.Invoice-PaymentProcess-UPI .ant-row{display:flex;flex-flow:row wrap;min-width:0}.logodiv{width:230px;display:flex;justify-content:space-evenly;text-align:center;align-items:center;font-size:16px;font-weight:500;font-family:var(--HEADING_FONT_FAMILY)}.logoStyle{width:50px}.payment-page-div{width:100%;height:100vh;background-color:#f5faff;color:#000;margin:1vw 0vh;padding:1vw 10vh}.payment-page-cont{background-color:#fff;border-radius:8px;color:#000;margin:1vw 0vh;padding:1vw 10vh;font-size:35px;font-family:var(--HEADING_FONT_FAMILY)!important;font-weight:500}.payment-Amtdetails{margin:3vw 15vh;padding:3vw 0vh;display:flex;flex-wrap:wrap;justify-content:space-evenly;align-items:center!important;border-radius:18px;background-color:#f3f3f3}.payment-txt-cont{margin:0vw 15vh}.payment-sub-head{font-size:16px;color:#727272}.payment-logo-img{width:90px}.payment-pay-btn{margin:1vw 0vh;width:250px;height:50px;display:flex;flex-wrap:wrap;text-align:center;align-items:center;justify-content:space-evenly;border:none;text-transform:uppercase;background-color:#851764;color:#fff;font-weight:500;border-radius:6px;font-size:16px;font-family:var(--HEADING_FONT_FAMILY);transition-duration:.6s}.payment-Amtdetail-txt{display:flex;justify-content:space-around}.bg-img{position:absolute;z-index:-1!important}.freebtn.disabled .disabled-button-free{background-color:gray;width:150px;height:45px;border-radius:8px;color:#fff;text-align:center;font-weight:700;font-weight:500;font-size:14px;font-family:var(--HEADING_FONT_FAMILY);font-style:normal;cursor:not-allowed;pointer-events:none}.freebtn.disabled{background-color:#fff;cursor:not-allowed;pointer-events:none}.freebtn.disabled:hover{background-color:#fff;cursor:not-allowed;border:1px solid #ffffff!important;color:#fff!important;pointer-events:none}.net-price-strike{font-size:1.1rem!important;text-decoration:line-through;text-decoration-color:#ff4d4f!important}.net-price{color:#000}.right_align{width:100%;display:flex;justify-content:space-around}.divApplication{text-align:center;line-height:2px;width:10px;display:flex;justify-content:space-around}.PayPreFont{font-size:12px}.divAppname{width:12px}::-webkit-scrollbar{width:3px;height:3px}::-webkit-scrollbar-thumb{background:#c7c6c6;border-radius:16px;box-shadow:inset 2px 2px 2px #ffffff40,inset -2px -2px 2px #00000040}::-webkit-scrollbar-track{border-radius:25px;background:linear-gradient(90deg,#ffffff,#c9c9c9 1px,#ffffff 0,#ffffff)}.invoice-drop-items::-webkit-scrollbar{height:8px}.Invoice-PaymentOption-MasterDiv{display:flex;height:450px;box-shadow:#64646f33 0 7px 29px;border-radius:15px}.Invoice-PaymentOption-Div{width:230px;row-gap:.5rem;display:flex;flex-direction:column;overflow:scroll;position:relative}.Invoice-PaymentOption{position:sticky;background-color:#fff;top:-1rem;height:40px;padding:1.5rem 0rem;z-index:1}.OverallAMtCount{font-family:var(--HEADING_FONT_FAMILY);color:green;font-weight:600;font-size:23px}.Invoice-PaymentProcess-Div{width:45vw;overflow:scroll;background-color:#fff}.Invoice-PaymentOption{text-align:center;font-size:16px;font-weight:600}.paymentoptions{font-family:var(--HEADING_FONT_FAMILY);font-weight:600}.Invoice-PaymentOptions{display:flex;gap:.5rem;align-items:center;background-color:#fff;padding:.8rem;border-radius:8px}.Invoice-PaymentProcess-UPI{display:flex;flex-direction:column;align-items:center;padding:1rem}.Invoice-PaymentProcess-UPI .ant-input-search .ant-input-affix-wrapper{height:47px}.Invoice-PaymentProcess-UPI-heading{display:flex;align-items:center;color:#ffa940;font-size:14px}.Invoice-PaymentProcess-UPI-body{width:100%;display:flex;justify-content:center;gap:7rem;align-items:center}.Invoice-PaymentProcess-UPI-collapse{width:100%;height:300px;overflow-y:scroll;box-shadow:#00000026 0 2px 8px}.Invoice-PaymentProcess-UPI .ant-input-search{width:100%;box-shadow:#00000026 0 2px 8px}.Invoice-PaymentProcess-UPI .ant-input-group>.ant-input-affix-wrapper:not(:last-child) .ant-input{font-size:16px}.Invoice-PaymentProcess-UPI .ant-input-affix-wrapper>input.ant-input{padding-top:0rem!important}.Invoice-PaymentProcess-UPI .ant-collapse-item:last-child{width:100%}.noImage{width:150%;height:300px;background-color:#c2c2c2}.modalContainer{display:flex;padding:55px;column-gap:2rem;row-gap:2rem}.modalContainer2{display:flex;flex-direction:column;justify-content:center;row-gap:1rem;margin:45px}.left{width:40%;display:flex;justify-content:center;padding:15px 0 0}.right{display:flex;flex-direction:column;row-gap:1rem;padding:50px 0 0}.faqstext1{font-style:normal;font-weight:500;font-size:26px!important;color:#000}.h1faq{width:30rem;font-size:26px;font-family:Gilroy}@media (min-width: 220px) and (max-width: 499px){.preTitleData{padding:0 50px;width:20rem!important}.faqimgContainer{width:69%!important}}@media only screen and (min-width: 858px){.master1{width:50%}}@media only screen and (max-width: 859px){.modalContainer{flex-wrap:wrap}.master1{width:100%!important}.modalContainer2{padding:0rem!important}}@media only screen and (max-width: 280px){.modalContainer2{padding:10px!important}}@media only screen and (max-width: 576px){.h1faq{width:auto}.faqimgContainer{margin:auto!important;flex-direction:row!important}.faqCollapseContainer{justify-content:center;margin:auto}.modalContainer{padding:10px}}.range0{width:10vw;height:2vh;background-color:#d3d3d3}.swaiperimage{width:15rem}.swaiper-div-one{display:flex;flex-direction:column;row-gap:1rem}.skeletondiv2{background-color:#fff;width:28vw;height:17vh;display:flex;flex-direction:column;justify-content:space-around}.headingSkeleton2{width:20vw;height:1.5vh;background-color:#d3d3d3}.headingSkeleton3{width:15vw;height:1.5vh;background-color:#d3d3d3}.SkeletonDiv{display:flex;flex-direction:column;justify-content:space-evenly;float:left;background-color:#f3f3f3;width:15vw;height:20vh;padding:10px;margin-bottom:12px}.modalContainer{display:flex;flex-direction:row;justify-content:center}.secondfq{display:flex;flex-direction:column;gap:.5rem}.master-range8{border:.5px solid gray;padding:10px;width:60%;box-shadow:#00000026 1.95px 1.95px 2.6px}.Range9{width:10vw;height:1vh;background-color:#8f8d8d}.Heading_container{display:flex;flex-direction:column;gap:.2rem}.Rengegroup{display:flex;flex-direction:column;gap:.2rem;background-color:#e1e9ec;width:57%;padding:10px}.master-range1{border:.5px solid gray;padding:10px;width:100%;box-shadow:#00000026 1.95px 1.95px 2.6px}.Rengegroup1{display:flex;flex-direction:column;gap:.2rem;background-color:#e1e9ec;width:100%;padding:10px}.Skeleton-container{display:flex;flex-direction:column!important}.range10{margin:10px 0;width:10vw;height:2vh;background-color:#d3d3d3}.FaqempTitleData{background-color:#929292;width:5rem;height:.5rem}.Faq1EmptyBox{background-color:#929292;width:6rem;height:1rem;margin:5px}.preTitleData{width:24rem;font-family:Gilroy;font-size:22px;text-align:left;font-weight:600}.preTitleData2{font-family:Gilroy;font-size:22px;text-align:left;font-weight:600}.Faq1Box,.Faq2Box{font-size:16px;font-weight:400;padding:3px 40px}.FaqImageData{width:18rem!important;margin:1rem}.faqimgContainer{width:100%}@media (min-width: 250px) and (max-width: 859px){.FaqImageData{width:10rem!important;margin:.4rem}}.preTitleData{width:auto!important}.firstFaqList{padding:7px;border:1.5px solid #dbdbdb;border-left:none;border-radius:3px}.subfirstFaqList{background-color:#cac9c9;width:8rem;height:.2rem}.seconfFaqList{padding:10px;background-color:#f7fcff}.thirdfaqList{width:7rem;height:.3rem;background-color:#cac8c8;margin:4px auto}.faqCollapseContainer .ant-collapse{width:40rem!important;margin:1vw 1vh}@media only screen and (max-width: 1068px){.faqCollapseContainer .ant-collapse{width:auto!important}}.faqCollapseContainer{display:flex;flex-direction:column;justify-content:flex-start}.faqCollapseContainer .ant-collapse-content-box{background-color:#e9e9e9;border-radius:0 0 5px 5px}@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;overflow:clip;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0,-50%,0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translate(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, .25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}:root{--swiper-navigation-size: 44px}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size) / 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none!important}.swiper-button-prev svg,.swiper-button-next svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-prev svg,.swiper-rtl .swiper-button-next svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-lock{display:none}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.UserAvatar{display:flex;justify-content:center;align-items:flex-end;margin:2.5rem 0px}.sideNavePar{width:clamp(43px,9vw,2000px);overflow:auto;display:flex;flex-direction:column;align-items:center}.appPage{min-width:100vw;height:100vh;display:flex;overflow:hidden}.sidenavpaypreLogoDiv{display:flex;justify-content:center;align-items:center;margin:.5rem 0px}.PreviewNav1{display:flex;align-items:center;flex-direction:column;justify-content:space-evenly;height:inherit;width:6rem}.preVlink{display:flex;flex-direction:column;color:#000!important;row-gap:1rem;cursor:pointer}.nvlinkWOData{background-color:#9b9b9b;width:100px;height:15px;font-size:22px}.nvlinkWOData{font-size:14px;width:80px;text-decoration:none;color:#bababa}.rt-nav-list{display:none;list-style-type:none}.ant-menu-overflow{justify-content:flex-end}.ant-menu-light{background:rgba(255,255,255,0)!important;border-radius:12.9916px;padding-inline:0rem}.ant-menu-horizontal{border-bottom:none}.dispflex{display:flex;justify-content:space-evenly;align-items:center}.nav-offer{font-size:16px!important;cursor:pointer;text-transform:uppercase;font-weight:550;border:none;color:#333;padding:12px 0;border-radius:6px}.nav-offer:hover{border-radius:0;color:#0f67da;padding:12px 0}.divApplogo{padding:.5rem;display:flex}.divAppname{display:flex;width:min-content;align-items:center;flex-wrap:wrap}.toggleuppernav{display:none}.upmenuList{display:flex;font-size:14px;flex-direction:row;column-gap:2rem;font-weight:600}.user-nav-opt{flex-direction:column;display:flex;row-gap:.6rem;padding:.3rem}@media (min-width: 360px) and (max-width: 459px){.upmenuList{display:none!important}.scroluppernav{display:none}.toggleuppernav{display:flex;flex-direction:row;column-gap:2rem}.dispflex{justify-content:space-around}.toggle-container{display:none}.nav-toggle{position:absolute;top:5rem;z-index:1;text-align:right;background-color:#fff;height:auto;font-size:14px;font-weight:600;transition-duration:.6s}.rt-nav-list{padding:0rem 3rem;line-height:2rem;flex-direction:column;display:flex;transition-duration:.6s;box-shadow:0 4px 15px #0000001a!important;align-content:center}.rt-nav-list:hover{color:#c50909}.nav-user-fullview{position:absolute;top:10rem;right:0;z-index:-1;background-color:#fff;font-size:14px;font-weight:600}}@media (min-width: 460px) and (max-width: 767px){.scroluppernav{display:none}.Home-navbar{display:none!important}.toggleuppernav{display:flex;justify-content:space-around;flex-direction:row;column-gap:2rem}.dispflex{justify-content:space-around;column-gap:10rem}.nav-toggle{top:5rem;right:0;z-index:1;position:absolute;height:auto;font-size:14px;font-weight:600}.rt-nav-list{padding:0rem 3rem;width:100%;right:0;text-align:left;display:flex;flex-wrap:wrap;flex-direction:column;background-color:#fff;box-shadow:0 4px 15px #0000001a;line-height:2rem;align-content:center}.rt-list{cursor:pointer;width:100%;text-align:left;color:#000}.rt-list li{display:inline;margin:0 1rem;color:#000}.rt-list:hover{cursor:pointer;color:#009719!important}.usr-acc{cursor:pointer;width:100%;text-align:center}.usr-acc li{display:inline;margin:0 1rem;color:#000}.usr-acc:hover{cursor:pointer;color:#009719}}.divApplication{text-align:center;line-height:2px;display:flex;justify-content:space-around}.divAppname{display:flex;flex-direction:row}@media (min-width: 280px) and (max-width: 459px){.Home-navbar,.Uppernav,.extranav{display:none}.small_nav{width:0vh!important}.extra_small_div{font-size:14px!important;text-transform:uppercase}.faqsimg{display:none!important}.extra_small_nav{margin:0vw 0vh;width:70vw;display:flex;justify-content:space-around;font-size:13.2px}.collapsed-menu{width:80vh!important;margin:1vw 0vh!important}.ant-collapse{width:75vh!important}}@media all and (max-width: 899px){.nav-toggle{top:5rem;right:0;z-index:1;position:absolute;height:auto;font-size:14px;font-weight:600}.rt-nav-list{padding:0rem 3rem;width:100%;right:0;text-align:left;display:flex;flex-wrap:wrap;flex-direction:column;background-color:#fff;box-shadow:0 4px 15px #0000001a;line-height:2rem;align-content:center}.toggleuppernav{display:flex;flex-direction:row;column-gap:2rem}.upmenuList{display:none!important}.Home-navbar,.Uppernav,.extranav{display:none}.extra_small_div{font-size:14px!important;color:#000}}@media (min-width: 1422px) and (max-width: 1077px){.Home-navbar{opacity:12%!important}}*{margin:0;padding:0}.AppBg{background-color:var(--APP_BASED_BACKGROUND_COLOR)!important}.navclass nav{background-color:#fff!important}.user-nav-opt-fullview{color:#0000;display:flex;flex-direction:column;row-gap:.6rem;margin:.3rem}.honavlinkWOData{background-color:#9b9b9b;width:100px;height:15px;font-size:22px}.honavlinkWOData{font-size:14px;width:80px;text-decoration:none;color:#bababa}.honavPayPreFontwodata{background-color:#9b9b9b;width:100px;height:15px;font-size:22px}.honavPayPreFontwodata{font-size:14px;width:80px;text-decoration:none;color:#bababa}.NavBarForm{display:flex;flex-direction:column}.navclass .navbar{position:relative!important}.scroll .nav-links a{color:#000!important}.templatetoHome svg{border:none!important;padding:1px 5px 5px!important;display:flex!important}.Overview1ImagePreview{width:100%;position:relative}.Overview1ImageDiv{position:absolute;z-index:0;top:15%;width:50%;right:0%}.overviewmaindiv{display:flex;flex-wrap:wrap;flex-direction:column}.overviewmainDIV{display:flex;align-items:center;justify-content:space-between;width:100%}.overviewsubdiv{display:flex;flex-direction:row;gap:.5rem}.overview1subdiv{display:flex;flex-wrap:wrap;flex-direction:column;gap:1.6rem;flex-grow:1;padding:0 50px;justify-content:center}.overview1subdivdata{display:flex;flex-wrap:wrap;flex-direction:column;padding:3.5rem 0}.overviewmain{display:flex;flex-direction:row;justify-content:space-between}.overviewmainmodal{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:space-between}.overviewImg p{color:#00bfff}.overviewbtn{display:flex;justify-content:flex-end}.empTitleData{background-color:#929292;color:#333;border:0;height:10px;width:180px}.empSubTitleData{background-color:#ccc;color:#333;border:0;height:10px;width:80px}.empButtonTextData{background-color:#f97068;color:#333;border:0;height:20px;width:100px}.empLinkData{background-color:#ccc;color:#333;border:0;height:10px;width:30px;display:flex}.overviewpreTitleData{font-size:max(2.8rem,2.5dvw);font-weight:600;color:#000}.preSubTitleData{font-style:normal;font-weight:400;font-size:max(.8rem,1.3dvw);color:#2e2e2e;width:min(47vw,437px)}.preLinkData{width:min(60vw,165px);box-shadow:0 4px 15px #0000001a;border-radius:10px;border:0px;background:rgba(255,255,255,.5);display:flex;align-items:center;column-gap:.5rem;padding:7px 18px;font-size:.8rem;border:1px solid rgba(0,0,0,.048);transition-duration:.6s;cursor:pointer}.preButtonTextData{width:230px;height:45px;color:#fff;font-style:normal;font-weight:500;font-size:14px;border-radius:8px;display:flex;letter-spacing:.5px;justify-content:space-between;align-items:center;border:none;z-index:2}.preButtonTextData{overflow:hidden}.preButtonTextData span{z-index:20}.preButtonTextData:after{background:#fff;content:"";height:155px;left:-75px;opacity:.2;position:absolute;top:-50px;transform:rotate(35deg);transition:all .55s cubic-bezier(.19,1,.22,1);width:50px;z-index:-10}.preButtonTextData:hover:after{left:120%;transition:all .55s cubic-bezier(.19,1,.22,1)}.preButtonTextData:focus{background-color:#fff!important;font-weight:600;font-size:14px}.preButtonTextData:focus:hover{background-color:#fff!important;font-weight:600;font-size:14px}.RightsectionDiv{width:50%;flex-grow:1}@media screen and (max-width: 900px){.preBannerImageData,.RightsectionDiv{display:none}.overviewpreTitleData{font-weight:600;font-size:20px}.overview1subdiv{padding:10px 26px}.overviewsubdiv{flex-wrap:wrap}}.preAppLinkTextData{font-size:12px}@media screen and (max-width: 499px){.Hide-on-smallScreen1{display:none!important}.preLinkData{width:max-content!important}.overview1subdiv{padding:0 26px}}.gradient-header{color:#000;background-image:-webkit-linear-gradient(9deg,#000000,#4454b1);-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-animation:hue 3s infinite linear}@-webkit-keyframes hue{0%{-webkit-filter:hue-rotate(0deg)}to{-webkit-filter:hue-rotate(-360deg)}}.btn-shine{color:#000;font-weight:500;background-position:0;text-decoration:none;z-index:1}.VideoInput_input{display:none}.VideoInput_video{display:block;margin:0;height:85px;width:150px}.VideoInput_footer{background:#eee;width:100%;min-height:40px;line-height:40px;text-align:center}.overview2maindiv{display:flex;flex-wrap:wrap;flex-direction:column}.overview2subdiv{display:flex;flex-wrap:wrap;flex-direction:row;gap:.5rem}.overview2subdiv2{display:flex;flex-wrap:wrap;flex-direction:column;gap:.5rem;position:absolute;z-index:1;width:100%;height:95%}.overview2subdivwithout{display:flex;flex-wrap:wrap;flex-direction:column;gap:.5rem;z-index:1}.overview2subdivdata{display:flex;flex-wrap:wrap;flex-direction:column;gap:2rem;flex-grow:1;justify-content:center;align-items:center}.overview2main{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:space-between}.overview2main2{display:flex;flex-direction:row;justify-content:space-between}.overview2Img p{color:#00bfff}.overview2SubImg{display:flex;flex-wrap:wrap;flex-direction:row;gap:2rem}.overview2btn{display:flex;justify-content:flex-end}.ant-form input[type=file]{display:none}.emp2TitleData{background-color:#929292;color:#333;border:0;height:10px;width:180px}.emp2SubTitleData{background-color:#ccc;color:#333;border:0;height:10px;width:80px}.emp2ButtonTextData{background-color:#f97068;color:#333;border:0;height:20px;width:100px}.emp2LinkData{background-color:#ccc;color:#333;border:0;height:10px;width:30px;display:flex}.pre2TitleData{width:66vw;font-style:normal;font-weight:600;font-size:max(1rem,2.5dvw);color:#000;text-shadow:2px 1px 1px #0c0c0c;text-align:center;line-height:1.5}.pre2SubTitleData{font-style:normal;font-weight:400;font-size:max(.8rem,1.3dvw);color:#2e2e2e;width:min(55vw,800px);text-align:center}.pre2LinkData{width:min(60vw,155px);box-shadow:0 4px 15px #0000001a;border-radius:10px;border:0px;background:rgba(255,255,255,.5);display:flex;align-items:center;column-gap:.5rem;padding:4px 18px;font-size:.8rem;border:1px solid rgba(0,0,0,.048);transition-duration:.6s;cursor:pointer}.background-video-container{position:relative;width:100%;height:100vh;overflow:hidden}.background-video-container1{width:min(90vw,321px);height:231px;background-color:#e3e1e1}.background-video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}.overviewNodata{align-items:center;font-size:20px;display:flex;flex-wrap:wrap;flex-direction:column;gap:1rem}.RightsectionDiv2{width:50%;margin:auto;flex-grow:1}@media screen and (max-width: 900px){.pre2BannerImageData,.RightsectionDiv2{display:none}.pre2TitleData{font-weight:600;font-size:20px;width:88vw}}.btn-shine1{color:#000}@-moz-keyframes shine{0%{background-position:0}60%{background-position:180px}to{background-position:180px}}@-webkit-keyframes shine{0%{background-position:0}60%{background-position:180px}to{background-position:180px}}@-o-keyframes shine{0%{background-position:0}60%{background-position:180px}to{background-position:180px}}@keyframes shine{0%{background-position:0}60%{background-position:780px}to{background-position:1200px}}.hero-section{position:relative;height:100vh;width:100%;overflow:hidden}@media (max-width: 480px){.hero-section{height:auto;min-height:100vh}}.hero-section .video-background{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;filter:brightness(.8);-webkit-filter:brightness(.8)}.hero-section .overlay{position:absolute;top:0;right:0;bottom:0;left:0}.hero-section .content-wrapper{position:relative;height:100%;display:flex;align-items:center;justify-content:center}.hero-section .content-wrapper .container{width:100%;max-width:1200px;margin:0 auto;padding:0 1.5rem;display:flex;justify-content:center}.hero-section .hero-content{text-align:center;padding:4rem 0 2rem}.hero-section .hero-content h1{font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.2;font-weight:700;color:#fff;margin-bottom:1.5rem}.hero-section .hero-content h1 span{color:#f59e0b;display:inline-block}.hero-section .hero-content p{font-size:clamp(1rem,1vw,1.25rem);color:#e5e7eb;margin:0 auto 2.5rem;max-width:650px}.hero-section .hero-content .button-group{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.hero-section .hero-content .button-group .primary-button{background-color:#f59e0b;color:#fff;font-size:clamp(1rem,1vw,1.25rem);font-family:Inter,sans-serif;padding:1rem 2rem;border-radius:.5rem;display:flex;align-items:center;border:none!important;gap:.5rem;transition:all .3s ease}.hero-section .hero-content .button-group .primary-button:hover{background-color:#d97706;transform:translateY(-2px)}.hero-section .hero-content .button-group .primary-button .icon{width:1.25rem;height:1.25rem}.hero-section .hero-content .button-group .secondary-button{background-color:#ffffff1a;border:none!important;font-family:Inter,sans-serif;color:#fff;font-weight:500;padding:1rem 2rem;border-radius:.5rem;font-size:clamp(1rem,1vw,1.25rem);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .3s ease}.hero-section .hero-content .button-group .secondary-button:hover{background-color:#fff3;transform:translateY(-2px)}@media (max-width: 480px){.hero-section .hero-content .button-group{flex-direction:column;width:100%}.hero-section .hero-content .button-group .primary-button,.hero-section .hero-content .button-group .secondary-button{width:100%;justify-content:center}}.hero-section .hero-content .stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:4rem;max-width:800px;margin-left:auto;margin-right:auto}@media (max-width: 768px){.hero-section .hero-content .stats-grid{grid-template-columns:repeat(3,1fr);gap:1.5rem}}.hero-section .hero-content .stats-grid .stat-item{text-align:center}.hero-section .hero-content .stats-grid .stat-item .stat-value{font-size:clamp(1.875rem,3vw,2.25rem);font-weight:700;color:#f59e0b;margin-bottom:.5rem}.hero-section .hero-content .stats-grid .stat-item .stat-label{color:#fff;font-size:clamp(.875rem,1.5vw,.9rem)}.hero-section .scroll-indicator{position:absolute;bottom:2rem;left:50%;transform:translate(-50%)}@media (max-width: 768px){.hero-section .scroll-indicator{display:none}}.hero-section .scroll-indicator .scroll-box{width:1.5rem;height:2.5rem;border:2px solid white;border-radius:9999px;display:flex;justify-content:center}.hero-section .scroll-indicator .scroll-box .scroll-dot{width:.25rem;height:.5rem;background-color:#fff;border-radius:9999px;margin-top:.5rem}.features1Body{display:flex;column-gap:4rem;padding:min(2rem,5%);overflow:auto;background:#e8e8e8b2}.feature1mainImage{width:min(50%,10rem)}.feature1subImage{break-inside:avoid;width:2.4rem}.feature1Card{box-shadow:#959da533 0 8px 24px;padding:2rem;margin:2rem;display:flex;flex-direction:column;row-gap:1rem;border-radius:11px;width:22rem;background-color:#fff}.feature1SubCatP{display:flex;row-gap:1rem;column-gap:1rem;align-items:center}.feature1SubCat{display:flex;column-gap:.2rem;align-items:center}.feature1EmptyBox{display:flex;background-color:#929292;width:5rem;height:1rem}.feature1DesEmpty{width:min(10rem,60%)}.feature1SingleGrid{grid-template-columns:repeat(1,1fr)}@media screen and (max-width: 450px){.feature1Card{margin:0!important;padding:.5rem!important;transform:scale(1);width:14.5rem;justify-content:center}.feature1SubCatP{transform:scale(.7);justify-content:center}}.features1Body::-webkit-scrollbar{display:flex!important}.features1Body::-webkit-scrollbar{width:10px;height:4px;cursor:pointer}.features1Body::-webkit-scrollbar-track{background:#f1f1f1}.features1Body::-webkit-scrollbar-thumb{background:#888}.features1Body::-webkit-scrollbar-thumb:hover{background:#555}.overallfeaturediv{display:flex;flex-wrap:wrap;flex-direction:row;align-items:center;width:490px;gap:1rem}.feature-demo-div1{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-evenly;gap:.5rem;margin-top:18px}.feature-real-div1{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:20px}.feature-demo-img1{width:140px;height:100px;margin-top:10px}.feature-demo-range1{width:250px;height:15px;margin:30px 0 10px 10px;background-color:gray}.feature-demo-range2{width:220px;height:15px;background-color:gray}.feature-demo-master-div2{display:flex;margin-left:50px;gap:1rem}.feature-real-div2{display:flex;justify-content:space-evenly}.feature-demo-div2{display:flex;flex-direction:row;gap:1rem}.feature-real-img2{width:5vw;height:10vh}.feature-demo-img2{width:60px;height:40px}.feature-demo-lightgray-range{width:80px;height:10px;margin-top:15px;background-color:#d3d3d3;margin-bottom:10px}.feature-real-lightgray-range{width:100%;height:10px;margin-top:15px;background-color:#fff;margin-bottom:2rem;font-size:22px;font-weight:600}.feature-real-div3{display:flex;justify-content:space-evenly}.feature-demo-div3{display:flex;gap:1rem}.feature-real-img3{width:5vw;height:10vh}.feature-demo-img3{width:60px;height:40px}.feature-model1-div1{display:flex;flex-direction:row}.feature-model1-div1-input{margin-top:15px}.feature-model1-div1-img{margin:15px}.feature-model1-div2{display:flex;flex-direction:row;gap:1.5rem;margin-left:17px}.feature-model1-subdiv2{display:flex;flex-direction:row}.feature-model1-subdiv2-input{margin:1rem 0rem 0rem .5rem}.model1-submit{display:flex;flex-wrap:wrap;justify-content:right}.featureMaindiv{display:flex;flex-direction:row}.feature-demo-view-div1{display:flex;gap:15rem}.feature-demo-view-range1{width:450px;height:25px;margin-top:35px;background-color:gray;margin-bottom:10px}.feature-demo-view-range2{width:420px;height:25px;background-color:gray}.feature-demo-master-view-div2{display:flex;gap:5rem;margin:10rem 0rem 2rem 4rem}.feature-demo-view-div2,.feature-demo-view-div3{display:flex;gap:6rem}.feature-demo-view-sub-range{width:180px;height:20px;margin-top:15px;background-color:#d3d3d3;margin-bottom:10px}.model2-submit{margin:0rem 0rem 0rem 32rem}.feature-demo-rally-range1{width:450px;height:25px;margin-left:50px;margin-top:35px;background-color:#fff;margin-bottom:10px}.feature-rally-range1{width:100%;background-color:#fff;font-weight:600;font-size:19px;margin-left:20px}.ant-btn-dashed{border-color:green}.Add-button{margin:0rem 0rem 9rem 22rem;color:green;border:solid 1px #008000;border-radius:50%;padding:10px;position:absolute;bottom:170px;left:44px}@media (max-width: 768px){.feature-real-div2,.feature-real-div3{flex-wrap:wrap}.feature-demo-master-div2{display:block;gap:0rem;margin-left:0;flex-direction:column}.feature-demo-div1,.feature-demo-div2,.feature-demo-div3{display:block;gap:0rem}.feature-demo-img1{width:60px;height:40px}.feature-demo-img2,.feature-demo-img3{width:45px;height:35px}.feature-demo-range1{width:50px;height:15px}.feature-model1-subdiv2{flex-direction:column;margin-left:0rem}}@media (min-width: 768px) and (max-width: 991px){.feature-demo-master-div2{flex-wrap:wrap;flex-direction:column;margin-left:0}.feature-demo-div1,.feature-demo-div2,.feature-demo-div3{display:block;gap:0rem}.feature-demo-range1{width:100px;height:15px}.feature-model1-div2{flex-wrap:wrap;margin:-1rem 0rem 0rem}.Add-button{margin:0rem 0rem -.5rem 10rem}}@media (max-width: 542px){.feature-demo-master-div2{flex-wrap:wrap;margin-left:0}.feature-demo-div1,.feature-demo-div2,.feature-demo-div3{display:block;gap:0rem}.feature-demo-img1{width:60px;height:40px}.feature-demo-img2,.feature-demo-img3{width:45px;height:35px}.feature-model1-div2{gap:0rem;flex-wrap:wrap;margin:-1rem 0rem 0rem}.Add-button{margin:0rem 0rem -.5rem 10rem}.feature-demo-rally-range2{margin-left:40px}.feature-real-div2{flex-direction:column;margin-bottom:1rem;padding:0}.feature-real-div3{flex-direction:column;padding:0}.featureMaindiv{display:block}}@media (max-width: 375px){.feature-demo-master-div2{flex-wrap:wrap;flex-direction:column;margin-left:0}.feature-demo-div1,.feature-demo-div2,.feature-demo-div3{display:block;gap:0rem}.feature-model1-div2{gap:0rem;flex-wrap:wrap;margin:-1rem 0rem 0rem}.Add-button{margin:1rem 0rem -9rem 5rem}.ImageWithData{width:170px}}.ImageWithOutData{width:160px!important}.ImageWithData{width:250px}.SubImageWithData{width:60px;height:60px}.SubImageWithOutData{width:60px!important}.freebtn1fullpage{box-sizing:border-box;width:10rem;padding:.6rem;display:flex;justify-content:space-evenly;font-family:VAR(--PARA_FONT_FAMILY);align-items:center;background:#35b856;color:#fff;font-size:16px;border:1px solid #35b856!important;border-radius:11px;border:0px;line-height:19px;cursor:pointer}.freebtn1fullpage button{justify-content:center;height:33px}.freebtn1fullpage:hover{box-sizing:border-box;display:flex;justify-content:space-evenly;background:#fff!important;border:1px solid #35b856!important;border-radius:11px;color:#35b856!important;border:0px}.freebtn1fullpage.disabled{background-color:#d5ffdf;cursor:not-allowed;border:none!important;color:#35b856}.freebtn1fullpage.disabled:hover{background-color:#d5ffdf!important;cursor:not-allowed;border:none!important;color:#35b856}.PriceWOD{background-color:#ccc;width:100px;height:15px;text-align:center;position:relative}.btnWOD{background-color:#ccc;width:100px;height:15px;text-align:center}.btntextskeleton{background-color:#ccc;width:100px;height:15px;text-align:center;margin:1vw 2vh;padding:.46vw vh;display:flex;justify-content:space-evenly;font-size:15px;border-radius:6px;align-items:center;font-family:VAR(--PARA_FONT_FAMILY);font-style:normal}.btntextfullpage{padding:.6rem;display:flex;justify-content:center;column-gap:1rem;font-size:15px;width:8rem;background-color:#ff4848;border-radius:10px;align-items:center;font-family:VAR(--PARA_FONT_FAMILY);font-style:normal;line-height:19px;color:#fff;cursor:pointer;font-weight:500}.Pricing1Page .ant-switch:not(.ant-switch-checked){background:#ff4d4f!important}.Pricing1Page .ant-switch:not(.ant-switch-checked):hover:not(.ant-switch-disabled){background:#ff4d4f!important}.pricing1full{line-height:1.5;z-index:24;font-style:normal}.pricing1toggle{display:flex;flex-wrap:wrap;flex-direction:column;justify-content:space-between}.pricing1subtextwod{font-size:16px;width:40px;height:3px;text-decoration:none;background:#c7c7c7}.pricing1subtext{font-style:normal;font-weight:400;font-size:12px;line-height:40px;letter-spacing:.01em;color:#0e0e0e}.pricing1subtext span{font-style:normal;font-weight:400;font-size:16px;line-height:15px;letter-spacing:.01em;color:#3b3b3b}.pricing1toggle{display:flex;flex-wrap:wrap;justify-content:space-between}.Pricing1Page{padding:2rem;background-image:linear-gradient(to right bottom,#d7ebff,#c2dffd,#add3fb,#97c7f8,#81bbf6)}.Pricing1PageWOD{background-color:#fff;height:fit-content;width:500px}.pricing1name{height:14.62px;font-style:normal;font-weight:600;font-size:13.7565px;line-height:19px;letter-spacing:.2em;color:#000;margin:6px 25px}.pricing1content{margin:20px 0;font-style:normal;font-family:var(--HEADING_FONT_FAMILY);font-weight:500;font-size:clamp(2.5rem,1.5dvw,2rem);color:#161616}.DetailsWOD{background-color:#ccc;width:100px;margin:2px;height:10px;text-align:center;align-items:center}.pricingcardsdivWOD{margin:0vw 0vh;display:flex;flex-grow:1;gap:1rem;justify-content:flex-start;width:27rem}.pricing1cardsdiv{margin:0vw 0vh;display:flex;flex-grow:1;gap:1rem;justify-content:flex-start;overflow-x:scroll;transform:scale(.9)}.pricingcardstempWOD{margin:0vw 0vh;display:flex;flex-grow:1;gap:1rem;justify-content:flex-start;height:15rem;width:10rem}.pricing1div{display:flex;flex-wrap:wrap;flex-direction:row;transition:cubic-bezier(.42,0,.58,1)}.pricing1pricingcont{padding:0;margin:0;margin-top:1rem;box-sizing:border-box}.pricing11subtoggle{display:flex;flex-direction:row;row-gap:1rem;column-gap:.3rem;justify-content:center!important;align-items:center;width:9rem}.pricing1cardstemp{padding:1rem;background:#ffffff;border-radius:20.1127px;display:flex;flex-direction:column;width:270px;height:389px;transition-duration:.6s;border:rgba(39,39,39,.1019607843) solid 1px;position:relative}.pricing1cardstemp:hover{background:#ffffff;border-radius:20.1127px;width:270px;transition-duration:.6s}.netprice1{display:flex;flex-direction:column}.feature{height:30vh;overflow-y:auto;margin:1rem;display:flex;flex-direction:column;row-gap:1rem}.pricing1start{display:flex;justify-content:center;bottom:0;width:100%}.gitfimg1{width:70.37px;height:63.37px;margin:0 9px;transition-duration:.6s}.gitfimg1:hover{width:75px;height:75px;margin:0 9px;transition-duration:.6s}.Pricing1freeWOD{margin:0 25px;font-style:normal;font-family:var(--HEADING_FONT_FAMILY);font-weight:500;font-size:clamp(2.5rem,1.5dvw,2rem);color:#161616}@media (min-width: 279px) and (max-width: 653px){.Pricing1Page{padding:1rem .4rem}}@media (min-width: 279px) and (max-width: 499px){.pricing1cardstemp{transform:scale(.7)}.pricing1cardsdiv{gap:0}}.DetailWD{align-items:center;font-size:12px;flex-wrap:nowrap;text-wrap:nowrap}.curvearrow{width:30px}.subsavepercentage{font-family:Brush Script MT,cursive;color:#52c41a}.pricingtmplthdr{height:20px;font-size:16px}.pricingtmplthdrWithoutData{background-color:#d9d9d9;width:100px;height:15px;font-size:22px}.pricingtmpltlistwithoutData{background-color:#d9d9d9;width:80px;height:7px}.ftrlink{color:#94a3b8;font-size:1rem;text-decoration:none;transition:color .2s;font-weight:400;font-family:Inter}.ftrlinkwithOutData{font-size:14px;width:80px;text-decoration:none;color:#0f0303}.PricingPage{padding:3rem 2rem}.PricingHeader{letter-spacing:"25px"}.PricingHeaderwod{background-color:gray;width:100px;height:15px;font-size:22px;height:6px!important}.PricingHeaderwod{font-size:14px;width:80px;text-decoration:none;color:#b1b1b1}.pricingtextwod{background:rgb(204,204,204);width:100px;height:15px;font-size:22px;margin:.5rem 0rem}.pricingsubtextwod{font-size:16px;width:40px;height:3px;text-decoration:none;background:#c7c7c7}.pric-cards{background-color:#fff;display:flex;flex-direction:row;column-gap:2rem}.pricingfull{line-height:1.5;z-index:24;font-style:normal}.pricingcardswod{height:80px;background-color:#f97068}.pricingcarddisplay{display:block;gap:1rem;justify-content:center;overflow-x:scroll}.pricingcarddisplayWOD{display:block;gap:1rem;justify-content:center;background-color:#fff}.net-price-strike{font-size:small;text-decoration:line-through;text-decoration-color:#ff4d4f!important}.net-price{color:#000;font-size:50px}.pricesfullpage{display:flex;flex-direction:column;width:12.5vw;justify-content:space-evenly;align-items:center}.btntextfullpage{padding:.6rem;display:flex;justify-content:center;column-gap:1rem;font-size:15px;width:10rem;background-color:#ff4848;border-radius:10px;align-items:center;font-family:VAR(--PARA_FONT_FAMILY);font-style:normal;line-height:19px;color:#fff;cursor:pointer;font-weight:500}.no-border-icon{border:none!important}.btntextfullpage:hover{padding:.6rem;display:flex;justify-content:center;column-gap:1rem;font-size:15px;width:10rem;background-color:#ff4848;border-radius:10px;align-items:center;font-family:VAR(--PARA_FONT_FAMILY);font-style:normal;line-height:19px;color:#fff;cursor:pointer;font-weight:500}.pricingnamefullpage{margin-top:2vh;height:14.62px;font-style:normal;font-weight:600;font-size:13.7565px;line-height:19px;letter-spacing:.2em;color:#000}.priccards,.priccardsWOD{display:flex;flex-direction:column;align-items:center}.priccardswod{height:5rem;width:5rem}.pricamnt{color:#fff}.freepricamnt{color:#000}.pricpopcards{display:flex;flex-direction:column;row-gap:1rem;padding:1rem 0rem;align-items:center;color:#fff;border-radius:8px}.pricpopularcards{display:flex;flex-direction:column;row-gap:1rem;width:200px;align-items:center;color:#fff;border-radius:8px;padding:1rem 0rem}.pricprimecard{display:flex;flex-direction:column;row-gap:1rem;align-items:center;color:#000;border-radius:8px;padding:1rem 0rem}.priccarddetailwod{height:10px;background-color:#ccc}.pricactcarddetailwod{width:60px;height:10px;background-color:#fff}.priccardtitlewod{width:40px;height:4px;background-color:#ccc}.priccardacttitlewod{width:40px;height:4px;background-color:#fff}.priccardbtn{width:80px;height:20px;color:#000;background-color:#fff;width:150px;height:35px;border-radius:6px;border:none;transition-duration:.2s}.priccardbtn:hover{width:80px;height:20px;color:#000;background-color:#fff;width:160px;height:40px;border-radius:6;border:#000 solid 1px;transition-duration:.2s}.priccarddivwod{column-gap:2rem;flex-direction:column;row-gap:1rem;padding:5rem .5rem;display:flex;align-items:center;justify-content:center}.pricepopwod{column-gap:2rem;flex-direction:column;row-gap:1rem;padding:1rem .5rem;display:flex;align-items:center;height:15vh;justify-content:center}.priccardbtnwod,.priccardbtn2wod{width:60px;height:15px;background-color:#fff;border:none}.pricamtactdetailwod{width:60px;height:10px;background-color:#ffffff9d}.pricamtdetailwod{width:60px;height:10px;background-color:#0000009d}.pricingtext{font-family:var(--HEADING_FONT_FAMILY);font-weight:600!important;font-size:35.9294px;color:#000}.tablep2price1{width:72rem;height:16rem;table-layout:fixed;border-collapse:collapse;border:none!important}.tablep2price1 th,.tablep2price1 td{border:none!important;width:rem}.tablep2price1WOD{width:100%;height:8rem;border-spacing:0;table-layout:fixed}.tablep2price1WOD th{border:.2px solid rgb(204,204,204);padding:1vh 1vw;text-align:center}.tablep2price2{width:80vw;height:10rem;display:table;table-layout:fixed;text-align:center;border-collapse:collapse;border-radius:15px}.tablep2price2WOD{width:100%;border-spacing:0;table-layout:fixed}.tablep2price2WOD td{border:.2px solid rgb(204,204,204);border-collapse:collapse;padding:1vh 1vw}.priccardsWOD{display:flex;flex-direction:column;width:100px;align-items:center}.freebtnfullpage{box-sizing:border-box;width:10rem;padding:.6vw .6vh;display:flex;justify-content:space-evenly;font-family:VAR(--PARA_FONT_FAMILY);align-items:center;background:var(--SELECTED_COLOR);color:#fff;font-size:16px;border:.5px solid #000000;border-radius:6px;transition-duration:.6s;border:0px;line-height:19px;cursor:pointer}.freebtnfullpage:hover{box-sizing:border-box;margin:1.5vw 4vh;display:flex;justify-content:space-evenly;background:none!important;border:1px solid var(--SELECTED_COLOR)!important;border-radius:6px;color:var(--SELECTED_COLOR)!important;border:0px;transition-duration:.6s}.freebtnfullpage.disabled .disabled-button-free{background-color:gray;width:150px;height:45px;border-radius:8px;color:#441adf;text-align:center;font-weight:700;font-weight:500;font-size:14px;font-family:var(--HEADING_FONT_FAMILY);font-style:normal;justify-content:center}.freebtnfullpage.disabled{background-color:#fff;cursor:not-allowed}.freebtnfullpage.disabled:hover{background-color:#fff;cursor:not-allowed;border:1px solid #ffffff!important;color:#fff!important}.freetxt{font-family:VAR(--PARA_FONT_FAMILY);font-style:normal;margin:0px 3vh;display:flex;justify-content:space-around;align-items:center;color:#fff;width:13vw}ant-switch.ant-switch-checked{background:#41df51}.ant-switch.ant-switch-checked:hover:not(.ant-switch-disabled){background:#41df51}.PricingPage .ant-switch:not(.ant-switch-checked){background:#ff4d4f!important}.PricingPage .ant-switch:not(.ant-switch-checked):hover:not(.ant-switch-disabled){background:#ff4d4f!important}.pricingdivfullpage{display:flex;flex-wrap:wrap;flex-direction:row;transition:cubic-bezier(.42,0,.58,1);justify-content:normal;transition:.6s ease-out}.gitfimgfullpage{width:70.37px;height:63.37px;margin:0 9px;transition-duration:.6s}.gitfimgfullpage:hover{width:75px;height:75px;margin:0 9px;transition-duration:.6s}.pricingcardstemp{background:#ffffff;border-radius:11.1127px;display:flex;flex-direction:column;justify-content:center;width:220px;height:initial;transition-duration:.6s;border:rgba(39,39,39,.1019607843) solid 1px;padding-bottom:20px;position:relative}.pricingcardstemp:hover{background:#ffffff;border:#272727 solid 1px;border-radius:11.1127px;width:220px;height:initial;transition-duration:.6s;box-shadow:#0003 0 18px 50px -10px;padding-bottom:20px}.pricingnametemp{height:14.62px;font-style:normal;font-weight:400;font-size:13.7565px;line-height:19px;letter-spacing:.2em;color:#000;text-align:center}.featureheadingWOD{width:60px;height:10px;background-color:#ffffff9d}.Pricing2PageWOD{background-color:#fff;height:fit-content;width:600px}.tabledataWOD{background-color:#ccc;width:70px;height:15px;text-align:center;position:relative}.hovered{background-color:#fff6ee}.amtpaid{background-color:#ea4c89;border-radius:8px;border-style:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:Haas Grot Text R Web,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;font-weight:500;height:40px;line-height:20px;list-style:none;margin:0;outline:none;padding:10px 16px;text-align:center;text-decoration:none;transition:color .1s;vertical-align:baseline;user-select:none;-webkit-user-select:none;touch-action:manipulation}.pricingdivfullpage{width:100%;overflow:auto}.pricing2-th{width:14rem;height:11rem;display:flex;flex-direction:column;justify-content:center}.pricint2-featuresname{width:23.6rem}.pricint2-features-access{width:14rem}.pricing2-buttons-container{width:14rem;padding:10px}@media (min-width: 280px) and (max-width: 499px){.pricint2-featuresname{width:15.6rem}.PricingPage{padding:3rem .2rem}.pricing1subtoggle{width:15rem!important}.pricingdivfullpage{justify-content:normal!important}}@media (min-width: 500px) and (max-width: 768px){.PricingPage{padding:3rem .2rem}.pricingdivfullpage{justify-content:normal!important}}@media (min-width: 769px) and (max-width: 1164px){.pricingdivfullpage{justify-content:normal!important}}.Pricint2-freebtn{padding:10px 50px;background-color:var(--SELECTED_COLOR);border:1px solid var(--SELECTED_COLOR);border-radius:5px;color:#fff;font-size:16px;width:12rem;cursor:pointer;font-family:var(--SELECTED_FONT)}.Pricint2-freebtn:hover{color:var(--SELECTED_COLOR);background-color:#fff;border:1px solid var(--SELECTED_COLOR)}.Pricint2-freeAlreadyused{border:1px solid black;padding:10px 50px;background-color:#fff;border-radius:5px;color:#000;cursor:not-allowed;font-size:16px;width:12rem;font-family:var(--SELECTED_FONT)}.Pricint2-payablebtn{padding:10px 50px;background-color:var(--DEFAULT_SELECTED_COLOR);border:1px rgb(25,118,210) solid;border-radius:5px;font-size:16px;color:#fff;width:12rem;font-family:var(--SELECTED_FONT);cursor:pointer}.Pricint2-payablebtn:hover{background-color:#fff;color:#1976d2;border:1px rgb(25,118,210) solid}.pricing2-year-month{display:flex;border:1px solid rgb(182,182,182);border-radius:4px}.pricing1subtoggle{display:flex;flex-direction:row;column-gap:.3rem;align-items:center;width:23rem;justify-content:center!important}.pricingdivfullpage::-webkit-scrollbar{display:flex}.pricing-section{padding:5rem 0;background:#fff;font-family:Inter,sans-serif!important}.pricing-container{max-width:1200px;margin:0 auto;padding:0 1.5rem}.pricing-header{text-align:center;max-width:700px;margin:0 auto 4rem}.pricing-title{font-size:2.25rem;font-weight:700;color:#1a202c;margin-bottom:1rem}.pricing-subtitle{font-size:1.125rem;color:#718096;margin-bottom:2rem}.pricing-subtitle Button:disabled,.pricing-subtitle Button[disabled]{justify-content:center!important}@media screen and (max-width: 768px){.pricing-subtitle{font-size:1rem}}.pricing-toggle-wrapper{display:flex;justify-content:center;margin:0;margin-top:2rem}.pricing-toggle-bg{background:#f3f4f6;padding:.25rem;border-radius:.75rem;display:inline-flex}.pricing-toggle-btn{padding:.5rem 1rem;border-radius:.375rem;background:none;color:#4b5563;border:none;font-size:1rem;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s;font-family:Inter,sans-serif}.pricing-toggle-btn.active{background:#fff;color:#1a202c;box-shadow:0 2px 8px #0000000a}.pricing-save-badge{margin-left:.5rem;background:#d1fae5;color:#047857;font-size:.75rem;padding:.125rem .5rem;border-radius:9999px}.pricing-grid{display:grid;grid-template-columns:1fr;gap:2rem}@media (min-width: 768px){.pricing-grid{grid-template-columns:repeat(3,1fr)}}.pricing-card{border:1px solid #e5e7eb;border-radius:1rem;overflow:hidden;background:#fff;box-shadow:0 2px 8px #0000000a;position:relative;transition:transform .2s,box-shadow .2s}.pricing-card.popular{border:2px solid #f59e0b;box-shadow:0 4px 24px #00000026;transform:scale(1.05)}.pricing-popular-badge{position:absolute;top:0;right:0;background:#f59e0b;color:#fff;font-weight:500;padding:.25rem 1rem;border-bottom-left-radius:.5rem;font-size:.875rem}.pricing-card-content{padding:1.5rem;background:#fff}.pricing-plan-name{font-size:1.5rem;font-weight:700;text-transform:capitalize!important;color:#1a202c;margin-bottom:.5rem;font-family:Inter,sans-serif}.pricing-plan-desc{color:#718096;margin-bottom:1.5rem}.pricing-price-row{display:flex;align-items:baseline;margin-bottom:1.5rem}.pricing-price{font-size:2.25rem;font-weight:700;color:#1a202c;font-family:Inter,sans-serif}.pricing-per-month{color:#718096;margin-left:.5rem}.pricing-plan-btn{width:100%;padding:1rem 0;border-radius:.5rem;font-weight:500;background:#f3f4f6;color:#1a202c;border:none;margin-bottom:1.5rem;transition:background .2s,color .2s;cursor:pointer;font-family:Inter,sans-serif;font-size:17px}.pricing-plan-btn.popular{background:#f59e0b;color:#fff}.pricing-plan-btn:hover{background:#e5e7eb}.pricing-plan-btn.popular:hover{background:#d97706}.pricing-features-list{display:flex;flex-direction:column;gap:.75rem;height:45vh;overflow:scroll}.pricing-feature{display:flex;align-items:center;color:#374151}.pricing-feature-icon{width:21px;height:21px;margin-right:.75rem;flex-shrink:0}.pricing-feature-icon.included{color:#22c55e}.pricing-feature.not-included{color:#9ca3af}.pricing-feature-icon.not-included{color:#d1d5db}.pricing-footer{margin-top:4rem;text-align:center}.pricing-footer-text{color:#718096;margin-bottom:1rem}.pricing-footer-btn{background:#111827;color:#fff;font-weight:500;padding:1rem 2rem;border-radius:.5rem;border:none;transition:background .2s;cursor:pointer;font-family:Inter,sans-serif;font-size:16px}.pricing-footer-btn:hover{background:#1f2937}.mobile-only{display:inline-block}.pricingtext1{font-family:Inter,sans-serif!important;font-size:2.5rem;color:#111;padding:1rem 0;font-weight:700;text-transform:capitalize!important}.planslogan{font-family:Inter,sans-serif!important;font-size:1rem;color:#6b7280;text-align:left}@media (min-width: 768px){.mobile-only{display:none!important}}.footer-section{font-family:Inter,sans-serif!important;background:#0f172a;color:#94a3b8;padding:3rem 1rem 0;overflow-x:scroll;width:100VW}.footer-main{max-width:1200px;margin:0 auto;display:flex;flex-wrap:wrap;gap:2.5rem;justify-content:space-between;font-family:Inter,sans-serif!important}@media (max-width: 768px){.footer-main{flex-direction:column;gap:1rem}}.footer-brand-col{flex:1 1 260px;min-width:220px;max-width:290px}@media screen and (max-width: 768px){.footer-brand-col{flex:1 1 100%;max-width:none}}.footer-logo-row{display:flex;align-items:center;margin-bottom:1rem}.footer-logo svg{display:block}.footer-brand{margin-left:.5rem;font-size:1.5rem;font-weight:700;color:#fff;letter-spacing:.01em}.footer-desc{font-size:15px;margin-bottom:1.5rem;color:#cbd5e1d4;line-height:1.5}.footer-socials{display:flex;gap:1.25rem;margin-top:.5rem}.footer-social{color:#94a3b8;font-size:1.15rem;transition:color .2s;cursor:pointer}.footer-social:hover{color:#fff}.footer-links-col{flex:0;min-width:160px;margin-bottom:2rem}@media screen and (max-width: 768px){.footer-links-col{margin-bottom:1rem}}.footer-links-title{font-size:1.1rem;font-weight:600;color:#fff;margin-bottom:1.2rem;letter-spacing:.01em}.footer-links-list{list-style:none;padding:0;margin:0}.footer-links-list li{margin-bottom:.7rem}.footer-links-list a{color:#94a3b8;font-size:1rem;text-decoration:none;transition:color .2s;font-weight:400}.footer-links-list a:hover{color:#fff}.footer-contact-list{list-style:none;padding:0;font-size:1rem;margin-bottom:1.2rem}.footer-contact-list li{display:flex;align-items:center;margin-bottom:.7rem}.footer-contact-icon{margin-right:.7rem;color:#64748b;font-size:1.1rem}.footer-contact-btn{background:#f59e0b;color:#fff;font-weight:500;padding:.7rem 1.5rem;border-radius:.5rem;margin-top:.7rem;border:none;cursor:pointer;font-size:1rem;transition:background .2s;box-shadow:0 2px 8px #0000000a;white-space:nowrap;opacity:.9}.footer-contact-btn:hover{filter:brightness(1.1);-webkit-filter:brightness(1.1)}.footer-bottom{display:flex;flex-direction:column;align-items:center;border-top:1px solid #1e293b;font-size:.75rem;color:#64748b;width:100%;gap:.75rem;padding:3rem 4rem!important}@media screen and (max-width: 768px){.footer-bottom{padding:3rem 1rem 1rem!important}}.footer-copy{color:#64748b;font-size:.75rem;text-align:center}.footer-bottom-links{display:flex;gap:2.5rem;margin-top:.5rem;flex-wrap:wrap;justify-content:center}@media screen and (max-width: 768px){.footer-bottom-links{align-items:flex-start;gap:1rem}}.footer-bottom-links a{color:#64748b;font-size:.85rem;font-weight:400;transition:color .2s;text-decoration:none;letter-spacing:.01em}.footer-bottom-links a:hover{color:#cbd5e1}@media (min-width: 768px){.footer-main{flex-wrap:nowrap;gap:3.5rem}.footer-bottom{flex-direction:row;justify-content:space-between;align-items:center;padding-top:1.5rem;gap:0}.footer-copy{text-align:left}.footer-bottom-links{margin-top:0;justify-content:flex-end}}.Nav-templates{display:flex;margin:2rem 0rem;width:100%}.swatches-picker{width:min(61vw,250px)!important;height:240px!important}.swiper{width:100%;height:100%}.swiper-slide{text-align:center;font-size:18px;background:#fff;width:max-content!important;display:flex;justify-content:center;align-items:center}.swiper-slide img{display:block;width:100%;height:100%;object-fit:cover}.swiper{width:100%;height:max-content;margin:10px auto}.setscalesize{transform:scale(.9)}.themeselection{display:block;flex-direction:column;align-items:left;cursor:pointer;padding:1rem;font-size:22px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff}.themeselection .navbar{position:relative!important}.themeselection.selected{border:#424242 solid 1px;border-style:dashed;border-width:1.9px;background-color:#fff;box-shadow:10px 10px 10px #0000001a;padding:0rem 1rem;display:flex;flex-direction:column}.themeselection input{position:absolute;opacity:0;cursor:pointer}.checkmark{position:absolute;top:0;right:0;width:100%;height:100%;background-color:#fff;border-radius:1%;z-index:-1}.themeselection:hover input~.checkmark{background-color:#ccc}.themeselection input:checked~.checkmark{border:#424242 solid 1px;border-style:dashed;border-width:1.9px;box-shadow:10px 10px 10px #0000001a}.checkmark:after{content:"";position:absolute;display:none}.themeselection .checkmark:after{top:10px;left:10px;width:15px;height:15px;border-radius:50%}.selectionCard{background-color:#fff;border-radius:6px;display:flex;flex-direction:column;position:fixed;padding:1rem 2rem;bottom:0;right:0;margin:0rem .5rem;z-index:2}.selectionCard ul{list-style:none}.tempView{height:80vh;width:80vw;overflow-y:scroll;overflow-x:hidden}.sidenavTempOverall{display:flex;flex-direction:column!important;transition-duration:.6s}.tempOptions{display:flex;padding:1rem 0rem;flex-direction:row;font-size:18px;gap:1rem}.tempOptions svg{background-color:#141414;color:#fff;height:30px;width:30px;padding:5px;border-radius:5px;cursor:pointer}.pointerModal{pointer-events:none}.FloatSection_Update{height:60px;background-color:#fff;position:absolute;z-index:1;bottom:0;padding:0rem 5rem;display:flex;flex-direction:row;column-gap:2rem;align-items:flex-end;left:10rem}@media (min-width: 278px) and (max-width: 499px){.CategoryHorizontal-scroll-container{overflow:auto!important;width:57vw!important}.Nav-templates{margin:0!important}.tempOptions{font-size:22px!important}.themeselection{transform:scale(.6)!important;display:block;flex-direction:column;align-items:left;cursor:pointer;padding:1rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff}.themeselection.selected{transform:scale(.5)}}@media (min-width: 500px) and (max-width: 768px){.CategoryHorizontal-scroll-container{overflow:auto!important;width:57vw!important}.Nav-templates{margin:0!important}.themeselection{padding:1rem!important;transform:scale(.6)}.themeselection.selected{transform:scale(.5)}}.AppTemplateDIv{background-color:#f7f7f7;margin:2rem;padding:2rem}.Nav-templates{display:flex;margin:2rem 0rem;width:100%;flex-direction:column;align-items:flex-start}.Nav-templates .navbar{position:relative!important;background-color:#c1c1c1;border-radius:6px}.Nav-templates .tempOptions{align-items:center;justify-content:center;transform:scale(.8);display:flex}.Nav-templates .testimonial-section{transform:scale(.8);width:90vw}.Appsidenav .navbar{position:relative!important;z-index:0}.TemplateCard{margin:2rem 3rem;width:max-content;border-radius:3%}.tempUp{display:flex;width:66vw;flex-wrap:wrap;gap:1rem}.tempUp .field-DropDown{width:160px!important}.circleColor{width:27px;height:27px;border-radius:21.7741928101px;background-color:#ff4d4f}.fontsdiv{display:flex;flex-direction:row;gap:.5rem}.colorBtn{background-color:var(--PRIMARY_BUTTON_BG_COLOR);color:#fff;font-family:var(--HEADING_FONT_FAMILY);font-style:normal;border:4.8px solid var(--PRIMARY_BUTTON_BG_COLOR);border-radius:8px;width:30%;float:right;margin-top:18px}.colorDropdown .ant-select-single:not(.ant-select-customize-input) .ant-select-selector{height:54px}.plusOutlinedIcon{margin-top:16px}.fontInputs{display:flex;flex-wrap:wrap;gap:1rem}#app{height:100%}.append-buttons{text-align:center;margin-top:20px}.append-buttons button{display:inline-block;cursor:pointer;border:1px solid #007aff;color:#007aff;text-decoration:none;padding:4px 10px;border-radius:4px;margin:0 10px;font-size:13px}.swiper-wrapper{transform:translate3d(40px,0,0);padding:.2rem 0rem}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:15px!important;text-transform:none!important;letter-spacing:0;font-variant:initial;text-align:center!important;background-color:#fff;padding:.5rem .7rem;border-radius:50px}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:30px!important;height:30px!important;z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#000!important}.FloatSection{width:72%;height:60px;background-color:#fff;position:absolute;z-index:1;bottom:0;padding:0rem 5rem;display:flex;flex-direction:row;column-gap:2rem;align-items:center}h1{font-size:18px;font-family:var(--HEADING_FONT_FAMILY);font-weight:600}.selecteditem{display:flex!important;justify-content:space-between!important}.themeselection{transform:scale(.8);display:flex;align-items:center}.features3Body{display:flex;overflow:auto}.feature3mainImage{width:min(50%,10rem)}.feature3subImage{break-inside:avoid;width:2.4rem}.feature3Card{box-shadow:#959da533 0 8px 24px;padding:2rem;margin:1rem;display:flex;flex-direction:column;row-gap:1rem;border-radius:11px;width:18rem;background-color:#fff}.feature3SubCatP{display:flex;row-gap:1rem;column-gap:1rem;align-items:center}.feature3SubCat{display:flex;column-gap:.2rem;align-items:center}.formSubDiv{display:flex}.feature3EmptyBox{display:flex;background-color:#929292;width:5rem;height:1rem}.feature3DesEmpty{width:min(10rem,60%)}.feature3SingleGrid{grid-template-columns:repeat(1,1fr)}.featureButton{width:100%;display:flex;justify-content:flex-end}@media screen and (max-width: 450px){.feature3Card{margin:0!important;padding:.5rem!important;transform:scale(1);width:14.5rem;justify-content:center}.feature3SubCatP{transform:scale(.7);justify-content:center}}.features3Body::-webkit-scrollbar{display:flex!important}.features3Body::-webkit-scrollbar{width:10px;height:4px;cursor:pointer}.features3Body::-webkit-scrollbar-track{background:#f1f1f1}.features3Body::-webkit-scrollbar-thumb{background:#888}.features3Body::-webkit-scrollbar-thumb:hover{background:#555}.features3Body{display:flex;flex-wrap:wrap;transform:scale(.9);row-gap:1.3rem}.feature3Card:hover{transform:scale(.9)}.navbar{position:fixed;top:0;left:0;width:100%;z-index:1000;transition:all .3s ease;background-color:transparent;padding:1rem 0}.navbar.scroll{background-color:#fff;height:max-content;max-height:70px;box-shadow:0 2px 4px #0000001a;padding:.5rem 0}.navbar.scroll .logo{color:#000}.navbar.scroll .logo .icon{color:#f59e0b}.navbar.scroll .nav-links a{color:#4a5568;cursor:pointer}.navbar.scroll .nav-links a:active{transform:scale(.9);-webkit-transform:scale(.9);-moz-transform:scale(.9);-ms-transform:scale(.9);-o-transform:scale(.9)}.navbar.scroll .mobile-menu-button{color:#4a5568}.navbar .Navcontainer{max-width:98%;width:100%;margin:0 auto;padding:0 2rem;display:flex;align-items:center;font-family:inter;justify-content:space-between}@media (min-width: 768px){.navbar .Navcontainer{padding:0 3rem}}.navbar .logo{display:flex;align-items:center;gap:.5rem;font-size:1.5rem;font-weight:700;color:#fff;text-decoration:none}.navbar .logo img{width:55px!important;height:50px!important;object-fit:cover}.navbar .logo .icon{font-size:1.75rem;color:#fff}.navbar .nav-links{display:flex;gap:3.5rem;align-items:center;margin:0 4rem}@media (max-width: 768px){.navbar .nav-links{display:none}}.navbar .nav-links a{color:#fff;text-decoration:none;font-weight:500;transition:color .2s ease}.navbar .nav-links a:hover{color:#f59e0b}.navbar .auth-buttons{display:flex;gap:1.25rem;align-items:center;white-space:nowrap}@media (max-width: 768px){.navbar .auth-buttons{display:none}}.navbar .auth-buttons button{padding:.5rem 1.5rem;border-radius:.25rem;font-weight:500;transition:all .25s ease;cursor:pointer;font-family:Gilroy,sans-serif;letter-spacing:.3px;font-size:.95rem}.navbar .auth-buttons button.login{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.3);font-weight:500}.navbar .auth-buttons button.login:hover{border-color:#fff;background:rgba(255,255,255,.1)}.navbar .auth-buttons button.signup{background-color:#f59e0b;color:#fff;border:none;font-weight:600;padding:.5rem 1.5rem;box-shadow:0 2px 4px #f59e0b1a}.navbar .auth-buttons button.signup:hover{background-color:#ea580c;transform:translateY(-1px);box-shadow:0 4px 6px #f59e0b33}.navbar .auth-buttons button.signup:active{transform:translateY(0)}.navbar .mobile-menu-button{display:none;background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer;padding:.5rem;margin:-.5rem;transition:transform .2s ease}@media (max-width: 768px){.navbar .mobile-menu-button{display:flex;align-items:center;justify-content:center}}.navbar .mobile-menu-button:hover{transform:scale(1.1)}.navbar .mobile-menu-button:active{transform:scale(.95)}.navbar .mobile-menu{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background-color:#fff;padding:1rem;z-index:1001}.navbar .mobile-menu.open{display:flex;flex-direction:column}.navbar .mobile-menu .mobile-menu-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.navbar .mobile-menu .mobile-menu-header .close-button{background:none;border:none;font-size:1.5rem;color:#4a5568;cursor:pointer}.navbar .mobile-menu .mobile-nav-links{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:2rem}.navbar .mobile-menu .mobile-nav-links a{color:#4a5568;text-decoration:none;font-size:1.125rem}.navbar .mobile-menu .mobile-nav-links a:hover{color:#000}.navbar .mobile-menu .mobile-auth-buttons{display:flex;flex-direction:column;gap:1rem}.navbar .mobile-menu .mobile-auth-buttons button{width:100%;padding:.75rem;border-radius:.375rem;font-weight:500;font-size:1rem;cursor:pointer}.navbar .mobile-menu .mobile-auth-buttons button.login{background:transparent;color:#4a5568;border:1px solid #e2e8f0}.navbar .mobile-menu .mobile-auth-buttons button.login:hover{background-color:#f7fafc}.navbar .mobile-menu .mobile-auth-buttons button.signup{background-color:#f59e0b;color:#fff;border:none}.navbar .mobile-menu .mobile-auth-buttons button.signup:hover{background-color:#d97706}.faq-section{padding:5rem 1rem;background-color:#f8fafc;font-family:Inter,sans-serif}.faq-section .faq-container{max-width:768px;margin:0 auto}.faq-section .faq-header{text-align:center;margin-bottom:3rem}.faq-section .faq-header h2{font-size:2.25rem;font-weight:700;color:#1e293b;margin-bottom:1rem}@media (max-width: 640px){.faq-section .faq-header h2{font-size:1.875rem}}.faq-section .faq-header p{font-size:1.125rem;color:#64748b}.faq-section .faq-content{display:flex;flex-direction:column;gap:1rem}.faq-section .faq-item{background:white;border:1px solid #e2e8f0;border-radius:.5rem;overflow:hidden;transition:box-shadow .3s ease}.faq-section .faq-item.active{box-shadow:0 4px 12px #0000000d}.faq-section .faq-item.active .faq-button{border-bottom:1px solid #e2e8f0}.faq-section .faq-item.active .faq-answer{max-height:300px;padding:1.25rem}.faq-section .faq-item .faq-button{width:100%;display:flex;justify-content:space-between;align-items:center;padding:1.25rem;background:white;border:none;text-align:left;font-size:18px;font-weight:500;color:#1e293b;cursor:pointer;transition:background-color .2s;font-family:Inter,sans-serif}.faq-section .faq-item .faq-button:hover{background-color:#f8fafc}.faq-section .faq-item .faq-button .icon{flex-shrink:0;width:1.25rem;height:1.25rem;color:#64748b;transition:transform .3s ease}.faq-section .faq-answer{padding:0 1.25rem;transition:all .3s ease-in-out;background-color:#fff;max-height:0;overflow:hidden;transition:max-height .4s ease,padding .3s ease;font-size:16px;line-height:1.6;color:#475569;font-family:Inter,sans-serif}.faq-section .faq-answer p{color:#64748b;line-height:1.6;margin:0}.faq-section .faq-footer{text-align:center;margin-top:4rem;padding:2rem;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px #0000001a}.faq-section .faq-footer h3{font-size:1.25rem;font-weight:600;color:#1e293b;margin-bottom:.5rem}.faq-section .faq-footer p{color:#64748b;margin-bottom:1.5rem}.faq-section .faq-actions{display:flex;gap:1rem;justify-content:center}@media (max-width: 640px){.faq-section .faq-actions{flex-direction:column;gap:.75rem}}.faq-section .btn-primary{background:#f59e0b;color:#fff;padding:.75rem 1.5rem;border-radius:.375rem;font-weight:500;border:none;cursor:pointer;transition:background-color .2s}.faq-section .btn-primary:hover{background:#d97706}.faq-section .btn-secondary{background:white;color:#1e293b;padding:.75rem 1.5rem;border-radius:.375rem;font-weight:500;border:1px solid #e2e8f0;cursor:pointer;transition:background-color .2s,border-color .2s}.faq-section .btn-secondary:hover{background:#f8fafc;border-color:#cbd5e1}@keyframes pulse{0%{opacity:.6}50%{opacity:.8}to{opacity:.6}}.showcase-section{display:flex;align-items:center;justify-content:center;background:transparent;position:relative;perspective:1000px;overflow:hidden;padding:3rem;opacity:0;transform:scale(.95);transition:all .6s cubic-bezier(.4,0,.2,1)}.showcase-section.visible{opacity:1;transform:scale(1)}@media (max-width: 1024px){.showcase-section{flex-direction:column;padding:2rem;gap:3rem}}.showcase-section .showcase-image{max-width:90%;width:100%;margin:0 auto;display:flex;justify-content:center;align-items:center}.visible .showcase-section .showcase-image{opacity:1;transform:translate(0)}.showcase-section .showcase-image .image-container{width:100%;height:530px;border-radius:20px;overflow:hidden;box-shadow:0 10px 30px #0000001a}.showcase-section .showcase-image .image-container img{width:100%;height:100%;object-fit:cover;display:block;will-change:transform;backface-visibility:hidden}@media screen and (max-width: 768px){.showcase-section .showcase-image .image-container{height:200px}}.testimonial-preview{position:relative;padding:2rem;background-color:#fff;min-height:100vh}.testimonial-preview .tempOptions{position:fixed;right:2rem;bottom:2rem;display:flex;gap:1rem;z-index:1000}.testimonial-preview .tempOptions .icon{font-size:24px;padding:8px;background:#901D77;color:#fff;border-radius:50%;cursor:pointer;transition:transform .2s ease}.testimonial-preview .tempOptions .icon:hover{transform:scale(1.1)}.testimonial-section{padding:3rem 0;background-color:#fff;font-family:Inter,sans-serif}.testimonial-container{width:100%;max-width:1200px;margin:0 auto;padding:2rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3rem}.testimonial-header{text-align:center;margin-bottom:4rem;padding:1rem}.testimonial-header h2{font-size:2.5rem;font-weight:700;color:#1a1a1a;margin-bottom:1rem}.testimonial-header p{font-size:1.125rem;color:#4a5568}.testimonials-grid{display:flex;align-items:flex-start;justify-content:center;flex-wrap:nowrap;gap:2rem;margin-bottom:4rem}@media (max-width: 1024px){.testimonials-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.testimonials-grid{grid-template-columns:1fr;display:grid!important;padding:1rem}}.testimonial-card{background:#f8f8f8;border-radius:.75rem;padding:2rem;box-shadow:0 1px 3px #0000001a;display:flex;flex-direction:column;gap:1.5rem;width:30%}.testimonial-card:hover{box-shadow:0 4px 6px #0000001a;transform:translateY(-2px);transition:transform .2s,box-shadow .2s}@media (max-width: 768px){.testimonial-card{width:100%}}.stars{display:flex;gap:.25rem}.stars .star{color:#e5e7eb;font-size:1.25rem}.stars .star.filled{color:#f59e0b}.quote{color:#1f2937;font-size:1rem;line-height:1.625;margin:0}.user-info{display:flex;align-items:center;gap:1rem}.avatar{width:3rem;height:3rem;border-radius:50%;object-fit:cover}.user-details h4{font-weight:600;color:#1a1a1a;margin:0}.user-details p{color:#4a5568;font-size:.875rem;margin:0}.cta-banner{background:#f3f4f6;padding:2rem;border-radius:.75rem;text-align:center;margin-top:2rem;width:max-content;margin:1rem auto}.cta-banner p{font-size:1.125rem;color:#1f2937;margin-bottom:1rem}.cta-banner button{background:#2563eb;color:#fff;padding:.75rem 1.5rem;border-radius:.5rem;border:none;font-weight:500;font-family:Poppins,sans-serif;cursor:pointer;transition:background-color .2s}.cta-banner button:hover{filter:brightness(1.1);-webkit-filter:brightness(1.1)}@media screen and (max-width: 768px){.cta-banner{width:95%;padding:1.5rem}}.add-testimonial-btn{background:#2563eb;color:#fff;padding:.75rem 1.5rem;border-radius:.5rem;border:none;font-weight:500;cursor:pointer;transition:background-color .2s;margin-top:1rem}.add-testimonial-btn:hover{background:#1d4ed8}.ant-modal .ant-modal-content{border-radius:.75rem;padding:2rem}.ant-modal .ant-modal-header{border-bottom:none;padding:0;margin-bottom:2rem}.ant-modal .ant-modal-title{font-size:1.5rem;font-weight:600;color:#1a1a1a}.ant-modal .ant-form-item-label>label{font-weight:500;color:#1f2937}.ant-modal .ant-input,.ant-modal .ant-input-number{border-radius:.375rem;border-color:#e5e7eb;padding:.5rem .75rem}.ant-modal .ant-input:hover,.ant-modal .ant-input:focus,.ant-modal .ant-input-number:hover,.ant-modal .ant-input-number:focus{border-color:#2563eb;box-shadow:none}.ant-modal .ant-upload.ant-upload-select{border-radius:.375rem;border-color:#e5e7eb;background:#f9fafb}.ant-modal .ant-upload.ant-upload-select:hover{border-color:#2563eb}.ant-modal .form-buttons{margin-top:2rem;margin-bottom:0;text-align:right}.ant-modal .submit-btn{background:#2563eb;color:#fff;padding:.75rem 1.5rem;border-radius:.5rem;border:none;font-weight:500;cursor:pointer;transition:all .2s}.ant-modal .submit-btn:hover:not(:disabled){background:#1d4ed8}.ant-modal .submit-btn:disabled{background:#93c5fd;cursor:not-allowed;opacity:.7}.cta-section{background:#F59E0B;font-family:Inter,sans-serif;padding:5rem 1rem;color:#fff;text-align:center;position:relative}.cta-section:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(90deg,#F59E0B 0%,#D97706 100%);z-index:0}.cta-container{max-width:1200px;margin:0 auto;position:relative;z-index:1;padding:4rem 3rem}@media screen and (max-width: 768px){.cta-container{padding:3rem 1rem}}.cta-content{max-width:100%;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:Inter,sans-serif!important}.cta-title{font-size:2.5rem;font-weight:700;line-height:1.2;margin-bottom:1.5rem;color:#fff;text-align:center}@media (max-width: 768px){.cta-title{font-size:2rem;width:100%}}.cta-description{font-size:1.15rem;line-height:1.6;opacity:.95;width:70%;text-align:center;opacity:.8}@media (max-width: 768px){.cta-description{font-size:1rem;width:100%}}.stats-panel{background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:1rem;padding:2rem;margin:2rem auto;max-width:800px}@media screen and (max-width: 768px){.stats-panel{width:65%}}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}@media (max-width: 640px){.stats-grid{grid-template-columns:1fr;gap:1.5rem}}.stat-item{text-align:center}.stat-item .stat-value{font-size:2.5rem;font-weight:700;margin-bottom:.5rem;color:#fff}.stat-item .stat-label{font-size:1rem;opacity:.9}.cta-buttons{display:flex;gap:1rem;justify-content:center;margin-top:1.5rem}@media (max-width: 640px){.cta-buttons{flex-direction:column;align-items:center;width:100%}}.cta-buttons .btn-primary{background:white;color:#f59e0b;padding:.875rem 2rem;border-radius:.5rem;font-weight:600;font-size:1rem;border:none;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 6px #0000001a}.cta-buttons .btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 8px #00000026}.cta-buttons .btn-primary .arrow-icon{width:20px;height:20px}.cta-buttons .btn-secondary{background:rgba(255,255,255,.15);color:#fff;padding:.875rem 2rem;border-radius:.5rem;font-weight:600;font-size:1.125rem;border:2px solid rgba(255,255,255,.5);cursor:pointer;transition:background .2s,transform .2s}.cta-buttons .btn-secondary:hover{background:rgba(255,255,255,.25);transform:translateY(-2px)}.wheel{position:absolute;top:0;left:0;width:100%;height:100%;background-image:url(https://raw.githubusercontent.com/akaLaws/doodles/c08f1865c1b56cc896a2d1eae480574467512187/wheelnew.svg);background-repeat:no-repeat;background-size:contain;background-position:center;filter:invert(15%);opacity:.9;animation:spin 2s linear infinite}.appcontent{height:100vh;overflow:auto}.navBarHover .dispflex{background-color:#fff!important;justify-content:space-between;padding:0px 2rem}.navBarHover{z-index:999}@media screen and (max-width: 900px){.homeNavdiv{display:none}}.allTemplate .Home-navbar{width:auto}.allTemplateMain{display:flex;flex-direction:column;flex-grow:1;width:100%}.allTemplateMain .PozoappNavbar-Master{width:90vw!important}.allTemplateSubdiv{display:flex;flex-direction:row;gap:5rem}.allTemplateSubdiv .field-DropDown{width:160px!important}.coming-soon-sub-container{text-align:center;display:flex;flex-direction:column;justify-content:center;height:100%}.coming-soon-container{background-color:#ebfff8;height:100vh;overflow:hidden}.countdown{margin-top:20px}.countdown-timer{font-size:24px;font-weight:700}.PaymentHistory .ant-table-wrapper .ant-table-thead>tr>th,.PaymentHistory .ant-table-wrapper .ant-table-thead>tr>td{position:relative;color:#404040e0;font-weight:600;text-transform:uppercase;text-align:start;background:none;border-bottom:1px solid #f0f0f0;font-family:var(--HEADING_FONT_FAMILY);transition:background .2s ease;transition-duration:.6s;font-size:12px!important}.PaymentHistory{overflow:auto;width:100%;height:70vh!important}@media (max-width: 500px){.PaymentHistory{width:82%!important}}.PaymentHistory .ant-table-thead{position:sticky;top:0;background-color:#f3f3f3;z-index:1}.PaymentHistory .ant-pagination{position:sticky;bottom:0;margin:0!important;padding:.5rem;background-color:#fafafa}.searchAddDivPaymentHistory{display:flex;flex-wrap:wrap;justify-content:space-between;row-gap:1rem}.reportTable1{overflow:auto;width:80vw;height:55vh!important}.reportTable1 .ant-table-thead{position:sticky;top:0;background-color:#f3f3f3;z-index:1}.reportTable1 .ant-pagination{position:sticky;bottom:0;margin:0!important;padding:.5rem;background-color:#fafafa}.features-amountandcountdiv .example{width:130px!important}.features-amountandcountdiv .float-label{margin-bottom:0}.field-DropDown-tax{width:150px!important}.field-DropDown-Feat{width:200px!important}.CalcTable table td{padding:0;font-size:12px}.CalcTable table{width:50%}.feature-data-div{font-size:14px;font-family:Poppins;font-weight:400;color:red}.features-amountandcountdiv .ant-select-single{height:unset!important}.FeaturesformAddNew .searchAddDiv{height:5.5rem!important}.FailedPayment .ant-table-wrapper .ant-table-thead>tr>th,.FailedPayment .ant-table-wrapper .ant-table-thead>tr>td{position:relative;color:#404040e0;font-weight:600;text-transform:uppercase;text-align:start;background:none;border-bottom:1px solid #f0f0f0;font-family:var(--HEADING_FONT_FAMILY);transition:background .2s ease;transition-duration:.6s;font-size:10px!important}.FailedPayment .primary_Button{width:83px;height:45px;background-color:#4096ff!important;color:#fff;font-family:var(--HEADING_FONT_FAMILY);font-style:normal;font-weight:500;font-size:14px;border-radius:8px;display:flex;letter-spacing:.5px;justify-content:space-between;align-items:center;z-index:0}.FailedPayment{overflow:auto;width:100%;height:70vh!important}@media (max-width: 500px){.FailedPayment{width:82%!important}}.FailedPayment .ant-table-thead{position:sticky;top:0;background-color:#f3f3f3;z-index:1}.FailedPayment .ant-pagination{position:sticky;bottom:0;margin:0!important;padding:.5rem;background-color:#fafafa}.searchAddDivFailed{display:flex;flex-wrap:wrap;justify-content:space-between;row-gap:1rem}.component-add{font-size:25px;margin-bottom:40px}.component-table{display:flex;flex-direction:column;flex-wrap:wrap;height:300px;width:100%;overflow-y:scroll}.component-table .ant-table-wrapper table{width:100%}.component-table-new{display:flex;flex-direction:column;flex-wrap:wrap;height:400px;width:100%;overflow-y:scroll}.component-table-new .ant-table-wrapper table{width:100%}.component-table-new .ant-pagination{position:sticky;bottom:0;margin:0!important;padding:.5rem;background-color:#fafafa}body{font-family:Gilroy;line-height:1.5;color:#000;background-color:#fff;min-height:100vh;font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.app{min-height:100vh;display:flex;flex-direction:column}.header{background-color:#fff;border-bottom:1px solid #cccccc;padding:1rem 0;position:sticky;top:0;z-index:100}.header-content{max-width:1200px;margin:0 auto;padding:0 1rem;display:flex;justify-content:space-between;align-items:center}.logo{font-size:1.5rem;font-weight:600;color:#000;display:flex;align-items:center;gap:1rem}.logo svg{border:1px solid #000000;height:35px;width:35px;padding:8px;border-radius:100px;display:flex;cursor:pointer}.header-actions{display:flex;align-items:center;gap:.75rem}.flow-tv-btn{background-color:#e0e0e0;color:#000;border:1px solid #bbbbbb;padding:.5rem 1rem;border-radius:.375rem;font-size:.875rem;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .2s ease}.flow-tv-btn:hover{background-color:#d0d0d0;border-color:#aaa}.tv-icon{font-size:1rem}.help-btn,.menu-btn{background-color:transparent;color:#000;border:1px solid #bbbbbb;width:2.5rem;height:2.5rem;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1rem;transition:all .2s ease}.help-btn:hover,.menu-btn:hover{background-color:#e0e0e0;border-color:#aaa}.main{flex:1;padding:2rem 0}.faqcontainer{max-width:800px;margin:0 auto;padding:0 1rem}.main-title{font-size:2.5rem;font-weight:500;text-align:center;margin-bottom:3rem;color:#000}.info-cards{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:3rem}.info-card{background-color:#f0f0f0;border:1px solid #e0e0e0;border-radius:.5rem;padding:1.5rem;transition:border-color .2s ease;text-align:left}.info-card:hover{border-color:#d0d0d0}.info-card h3{font-size:1.55rem;font-weight:600;margin-bottom:1rem;color:#000;text-align:left}.info-card p{color:#333;line-height:1.6;font-size:1rem;text-align:left}.learn-more{color:#6366f1;text-decoration:none;transition:color .2s ease}.learn-more:hover{color:#8b5cf6;text-decoration:underline}.commonfaq-section,.more-section{margin-bottom:2rem}.commonfaq-item{border-bottom:1px solid #cccccc;margin-bottom:.5rem;transition:all .3s ease-in-out}.commonfaq-question{width:100%;background:none;border:none;color:#000;padding:1.5rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:1.4rem;font-weight:500;transition:color .2s ease;font-family:inherit;position:relative}.commonfaq-question:hover{color:#333}.commonfaq-question span:first-child{text-align:left;flex-grow:1}.commonfaq-icon{margin-left:auto;text-align:left}.commonfaq-icon{font-size:1.5rem;font-weight:300;transition:transform .3s ease;color:#000;min-width:24px;text-align:left;position:absolute;right:0}.commonfaq-answer{max-height:0;overflow:hidden;transition:max-height .3s ease-in-out,padding .3s ease}.commonfaq-answer.open{max-height:1000px;padding-bottom:1.5rem}.commonfaq-content{padding:1rem 2rem;text-align:left}.commonfaq-item.queActive{border:2px solid rgb(14,110,255)!important;background-color:#0e6eff11;border-radius:12px}.commonfaq-content p{color:#323232;font-size:1.1rem;font-style:normal;font-weight:400;line-height:1.8rem;margin-bottom:1rem;text-align:left}.commonfaq-content p:last-child{margin-bottom:0}.commonfaq-content ul{color:#333;line-height:1.6;font-size:1rem;margin:1rem auto;padding-left:0;list-style:none;text-align:left}.commonfaq-content li{margin-bottom:.5rem;text-align:left}.commonfaq-content li:before{content:"• ";color:#333;margin-right:.5rem}.commonfaq-content em{font-style:italic;color:#000}.commonfaqfooter{text-align:left;padding:2rem 0;border-top:1px solid #cccccc;margin-top:2rem}.commonfaqfooter p{color:#777;font-size:.875rem;text-align:left}@media (max-width: 768px){.header-content{padding:0 1rem}.logo{font-size:1.25rem}.flow-tv-btn{padding:.375rem .75rem;font-size:.8rem}.help-btn,.menu-btn{width:2.25rem;height:2.25rem;font-size:.875rem}.main-title{margin-bottom:2rem}.faqcontainer{padding:0 1rem}.info-card{padding:1.25rem}.info-card h3 p{font-size:1.2rem}.commonfaq-question{padding:1.25rem 0}.commonfaq-content{padding-right:1rem}}@media (max-width: 480px){.header-actions{gap:.5rem}.flow-tv-btn{padding:.25rem .5rem;font-size:.75rem}.tv-icon{font-size:.875rem}.help-btn,.menu-btn{width:2rem;height:2rem;font-size:.8rem}.main-title{font-size:1.75rem}.info-card{padding:1rem}.commonfaq-question{padding:1rem 0;font-size:.95rem}.commonfaq-answer.open{padding-bottom:1rem}}html{scroll-behavior:smooth}.commonfaq-question:focus,.flow-tv-btn:focus,.help-btn:focus,.menu-btn:focus{outline:none!important}.info-card,.commonfaq-item{opacity:1;transform:translateY(0);transition:opacity .3s ease,transform .3s ease}.commonfaq-item:hover .commonfaq-question{background-color:#00000005}.SignIn-Master{position:relative;width:100%;height:99vh;overflow:hidden;background-image:url(/assets/SignInBG-9c719ccc.webp);background-repeat:no-repeat;background-size:cover;background-position:top;padding:2rem 3rem;font-family:Wasted Vindey,sans-serif}@media (max-width: 768px){.SignIn-Master{padding:1rem}}@media (max-width: 600px){.SignIn-Master{display:flex;align-items:center;justify-content:center}}.SignIn-Master:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.062);z-index:1}.SignIn-Master>*{position:relative;z-index:2}.SignIn-Master .SignInMain{border:3px solid #fff;border-radius:22px;height:100%;width:100%;display:flex;align-items:center;justify-content:space-between}@media (max-width: 768px){.SignIn-Master .SignInMain{flex-direction:column;border:2px solid #ffffff}}@media (max-width: 600px){.SignIn-Master .SignInMain{height:80vh}}.SignIn-Master .SignInContent{width:50%;color:#fff;padding:2rem;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;height:100%}@media (max-width: 768px){.SignIn-Master .SignInContent{display:none}}.SignIn-Master .SignInContent img{cursor:pointer}.SignIn-Master .promotionText div{font-size:5vw;font-weight:300;line-height:.8;padding-bottom:6px;font-family:Wasted Vindey,sans-serif;font-style:normal}.SignIn-Master .promotionText p{font-size:12px;margin:1rem 1rem 3rem 0;font-weight:400;line-height:1.1;letter-spacing:.3px;font-family:NeueMontreal}@media (max-width: 768px){.SignIn-Master .promotionText p{margin:0}}.SignIn-Master .SignInInputs{width:50%;background-color:#fff;font-family:NeueMontreal;height:100%;border-radius:0 18px 18px 0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:2rem 5rem;overflow:auto;position:relative}@media (max-width: 768px){.SignIn-Master .SignInInputs{width:100%;overflow:auto;border-radius:18px;background-color:#ffffff25;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}}@media (max-width: 500px){.SignIn-Master .SignInInputs{padding:1rem}}.SignIn-Master .signinClose{position:absolute;right:1rem;top:1rem;cursor:pointer}.SignIn-Master .signinClose svg{font-size:20px;background-color:#000;font-weight:300;color:#fff;height:30px;width:30px;padding:7px;border-radius:50px}.SignIn-Master .inputsTitle{line-height:1.1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.SignIn-Master .inputsTitle div{font-size:2.5vw;font-weight:200;text-align:center;font-family:Wasted Vindey,sans-serif}@media (max-width: 768px){.SignIn-Master .inputsTitle div{font-size:7vw;white-space:nowrap;color:#fff}}.SignIn-Master .inputsTitle p{text-align:center;font-family:NeueMontreal;font-size:13px;color:#5b5b5b;font-weight:400}@media (max-width: 768px){.SignIn-Master .inputsTitle p{color:#cac8c8;font-size:12px}}.SignIn-Master .InputSigin{display:flex;flex-direction:column;gap:6px;width:100%;font-family:NeueMontreal;justify-content:center}.SignIn-Master .InputSigin label{text-align:left;font-family:NeueMontreal;font-size:14px;margin-top:2rem;letter-spacing:.2px}@media (max-width: 768px){.SignIn-Master .InputSigin label{color:#fff}}.SignIn-Master .InputSigin input{width:100%;border-bottom:1px solid #000!important;font-family:NeueMontreal;outline:none;border:none;padding:10px 0;background-color:transparent}@media (max-width: 768px){.SignIn-Master .InputSigin input{color:#fff;border-bottom:1px solid #ffffff!important}}.SignIn-Master .anotherWay{font-family:NeueMontreal;text-align:left;width:100%;margin-top:2rem;color:#000}@media (max-width: 768px){.SignIn-Master .anotherWay{color:#fff}}.SignIn-Master .anotherWay div{font-size:14px;font-family:NeueMontreal;font-weight:400;display:flex;align-items:center;gap:10px;cursor:pointer}.SignIn-Master .anotherWay .authOptions{margin-top:1rem;display:flex;gap:1rem}.SignIn-Master .anotherWay .authOptions label{display:flex;align-items:center;gap:.5rem;font-family:NeueMontreal;cursor:pointer;font-size:14px;letter-spacing:.2px}.SignIn-Master .anotherWay .authOptions label input[type=radio]{width:16px;height:16px;cursor:pointer;accent-color:#000}@media (max-width: 768px){.SignIn-Master .anotherWay .authOptions label input[type=radio]{accent-color:#adadad}}.SignIn-Master .NewSignInBTN{width:100%;display:flex;align-items:center;font-family:NeueMontreal;justify-content:space-between;margin-top:3rem;background-color:#000;border:none;outline:none;color:#fff;padding:4px;border-radius:50pc;font-size:15px;cursor:pointer}.SignIn-Master .NewSignInBTN .icon-container{position:relative;background-color:#fff;height:40px;width:40px;border-radius:50px;margin-left:2rem;overflow:hidden;display:flex;align-items:center;justify-content:center;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.SignIn-Master .NewSignInBTN:hover .icon-container{transform:scale(.9)}.SignIn-Master .NewSignInBTN .icon-main,.SignIn-Master .NewSignInBTN .icon-hover{position:absolute;color:#000;font-size:20px;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.SignIn-Master .NewSignInBTN .icon-main{transform:translate(0)}.SignIn-Master .NewSignInBTN .icon-hover{transform:translate(-35px,35px)}.SignIn-Master .NewSignInBTN:hover .icon-main{transform:translate(35px,-35px)}.SignIn-Master .NewSignInBTN:hover .icon-hover{transform:translate(0)}.SignIn-Master .TeermSignIn{margin:1rem 0;font-family:NeueMontreal;font-size:12px;color:#5b5b5b;text-transform:inherit}@media (max-width: 768px){.SignIn-Master .TeermSignIn{color:#cac8c8}}.SignIn-Master .whitelogoPng{display:none;width:100px}@media (max-width: 768px){.SignIn-Master .whitelogoPng{display:block;position:relative;bottom:4rem}}.SignIn-Master .timerDiv{width:100%;font-family:NeueMontreal;text-align:left;letter-spacing:.3px;font-size:16px}.feature-image-picker .panel-instruction{font-size:11px;margin:0 0 16px;line-height:1.4;color:#2e2e2e}.feature-image-picker .image-preview{margin-bottom:16px}.feature-image-picker .image-preview .preview-image{width:100%;height:120px;object-fit:cover;border-radius:12px;border:1px solid rgba(255,255,255,.2);transition:all .3s ease}.feature-image-picker .image-preview .preview-image:hover{transform:scale(1.02);box-shadow:0 4px 12px #0000001a}.feature-image-picker .upload-section{position:relative}.feature-image-picker .upload-section .file-input{position:absolute;opacity:0;width:0;height:0}.feature-image-picker .upload-section .upload-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px 16px;border:2px dashed #d1d5db;border-radius:12px;background:rgba(255,255,255,.5);color:#6b7280;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s ease}.feature-image-picker .upload-section .upload-button:hover:not(.loading){border-color:#667eea;background:rgba(102,126,234,.05);color:#667eea;transform:translateY(-1px)}.feature-image-picker .upload-section .upload-button.loading{cursor:not-allowed;opacity:.7}.feature-image-picker .upload-section .upload-button.loading .spinner{animation:spin 1s linear infinite}.outline-panel{position:fixed;right:32px;top:58px;max-height:70vh;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:0 8px 32px #0000001f;z-index:10;transition:all .3s ease;overflow:hidden;background-color:#ffffffe1;font-family:Poppins}.outline-panel--collapsed{width:50px}@media (max-width: 768px){.outline-panel--collapsed{width:40px}}.outline-panel--expanded{width:280px}@media (max-width: 768px){.outline-panel{top:110px;right:25px}}.outline-header{border-bottom:1px solid rgba(0,0,0,.1);background:linear-gradient(135deg,rgba(59,130,246,.08),rgba(99,102,241,.05))}.outline-header__content{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.outline-header__title{font-size:14px;font-weight:600;color:#1f2937;display:flex;align-items:center;gap:8px}.outline-header__badge{font-size:11px;background:linear-gradient(135deg,#3b82f6,#6366f1);color:#fff;padding:3px 8px;border-radius:12px;font-weight:600;box-shadow:0 2px 4px #3b82f64d}.outline-header__actions{display:flex;gap:4px}.outline-btn{border:none;font-size:12px;cursor:pointer;padding:6px 8px;border-radius:6px;transition:all .2s ease;font-weight:500}.outline-btn--search{background:rgba(59,130,246,.1);color:#3b82f6}.outline-btn--search.active{background:#3b82f6;color:#fff}.outline-btn--collapse{background:rgba(0,0,0,.1);font-size:14px}.outline-btn--expand{background:linear-gradient(135deg,#3b82f6,#6366f1);color:#fff;font-size:16px;padding:8px;width:100%;box-shadow:0 4px 12px #3b82f64d}.outline-search{width:100%;padding:8px 12px;border:1px solid rgba(59,130,246,.3);border-radius:8px;font-size:12px;background:white;outline:none}.outline-content{padding:16px;max-height:calc(70vh - 120px);overflow-y:auto}.outline-stats{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:linear-gradient(135deg,rgba(59,130,246,.05),rgba(99,102,241,.03));border-radius:8px;margin-bottom:12px;font-size:11px;color:#6b7280;font-weight:600;border:1px solid rgba(59,130,246,.1)}.outline-stats__item{display:flex;align-items:center;gap:4px}.outline-list{display:flex;flex-direction:column;gap:4px}.outline-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:none;font-size:13px;text-align:left;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px #0000000d;font-family:Poppins}.outline-item--header{background:linear-gradient(135deg,rgba(0,0,0,.03),rgba(0,0,0,.01));color:#1f2937;border:1px solid transparent}.outline-item--header.level-1{font-weight:500}.outline-item--header.level-2{margin-left:16px;font-weight:500}.outline-item--header.level-3{margin-left:32px;font-weight:500}.outline-item--header:hover{background:linear-gradient(135deg,rgba(59,130,246,.08),rgba(99,102,241,.03));transform:translate(6px) scale(1.02);box-shadow:0 4px 12px #3b82f626}.outline-item--bookmark{background:linear-gradient(135deg,rgba(59,130,246,.08),rgba(99,102,241,.03));color:#3b82f6;border:1px solid rgba(59,130,246,.3);font-weight:500}.outline-item--bookmark:hover{background:linear-gradient(135deg,rgba(59,130,246,.15),rgba(99,102,241,.08));transform:translate(6px) scale(1.02);box-shadow:0 4px 12px #3b82f626}.outline-item__icon{flex-shrink:0;display:flex;align-items:center}.outline-item__content{flex:1;min-width:0}.outline-item__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;line-height:1.4}.outline-item__description{font-size:11px;color:#6b7280;font-style:italic;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}.outline-item__url{font-size:10px;color:#3b82f6;display:block;margin-top:2px;text-decoration:underline}.outline-item__level{font-size:10px;color:#9ca3af;font-weight:600;flex-shrink:0;background:rgba(156,163,175,.1);padding:2px 6px;border-radius:8px}.outline-content::-webkit-scrollbar{width:4px}.outline-content::-webkit-scrollbar-track{background:transparent}.outline-content::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2);border-radius:2px}.outline-content::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.3)}.post-editor-page{min-height:100vh;background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);font-family:Poppins,sans-serif}.backfromblg{border:none;color:#fff;background-color:#616161;padding:9px;font-size:16px;border-radius:60pc;font-family:Poppins,sans-serif;cursor:pointer}.header-bar{font-family:Poppins,sans-serif;position:sticky;top:0;z-index:30;background:rgba(0,0,0,.9490196078);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid #e5e7eb;padding:10px 18px;display:flex;gap:16px;align-items:center;box-shadow:0 1px 2px #0000000d;transition:all .15s ease-in-out}.header-bar svg{display:flex}.header-bar .title-input{font-size:20px;font-weight:700;border:none;outline:none;flex:1;min-width:0;background:transparent;color:#e0e0e0;transition:all .15s ease-in-out}.header-bar .title-input:focus{color:#fff}.header-bar .title-input::placeholder{color:#9ca3af}.header-bar .status-controls{display:flex;align-items:center;gap:12px}.header-bar .save-button{padding:0 2px;border-radius:6px;border:none;background:rgba(102,126,234,0);color:#fff;font-size:13px;font-family:Poppins;font-weight:400;cursor:pointer;transition:all .15s ease-in-out;display:flex;align-items:center;gap:4px}.header-bar .save-button:hover:not(:disabled){transform:translateY(-1px)}.header-bar .save-button:disabled{background:#9ca3af;cursor:not-allowed}.header-bar .action-buttons{display:flex;align-items:center;gap:8px}.popularPost{display:flex;gap:4px;align-items:center}.status-chip{display:inline-flex;gap:6px;padding:3px 8px;border-radius:20px;font-size:11px;font-weight:400;transition:all .15s ease-in-out;box-shadow:0 1px 2px #0000000d;display:flex;align-items:center;gap:4px;background-color:#fff}.status-chip.published{color:#009e3a;border:1px solid #009e3a}.status-chip.draft{color:#92400e;border:1px solid #f59e0b}.status-chip .status-icon{font-size:8px}.status-select{padding:6px 10px;border-radius:8px;border:1px solid #d1d5db;background:#616161;font-size:13px;font-weight:400;cursor:pointer;transition:all .15s ease-in-out;outline:none;font-family:Poppins;display:flex;align-items:center;gap:4px;color:#fff}.status-select:focus{border-color:#2563eb}.save-status{display:flex;align-items:center;gap:12px}.save-status .save-indicator{display:flex;align-items:center;gap:8px}.save-status .save-indicator .save-label{font-size:12px;color:#6b7280;font-weight:500}.live-badge{font-size:11px;background:#059611;color:#fff;padding:4px 8px;border-radius:12px;font-weight:500;box-shadow:0 1px 2px #0000000d;display:flex;align-items:center;gap:4px}.live-badge svg{margin-top:-2px}.btn-primary{padding:8px 16px;border-radius:6px;font-family:Poppins;border:none;background:#5255c8!important;color:#fff!important;font-size:13px;font-weight:400;cursor:pointer;display:flex;align-items:center;gap:4px;transition:all .15s ease-in-out}.btn-primary:hover{background:#1d4ed8}.btn-secondary{padding:8px 16px;border-radius:6px;font-family:Poppins;border:1px solid #d1d5db;background:white;font-size:13px;font-weight:400;cursor:pointer;transition:all .15s ease-in-out;display:flex;align-items:center;gap:4px}.btn-secondary:hover{background:#f9fafb;border-color:#9ca3af}.btn-success{padding:8px 16px;border-radius:6px;font-family:Poppins;border:none;background:#059611;color:#fff;font-size:13px;font-weight:400;cursor:pointer;transition:all .15s ease-in-out;display:flex;align-items:center;gap:4px}.btn-danger{padding:8px 16px;border-radius:6px;font-family:Poppins;border:none;background:#d31f1f;color:#fff;font-size:13px;font-weight:400;cursor:pointer;transition:all .15s ease-in-out;box-shadow:0 1px 2px #0000000d;display:flex;align-items:center;gap:4px}.btn-danger:hover{background:#b91c1c}.toast{position:fixed;top:24px;right:24px;z-index:1000;background:#111827;color:#fff;padding:12px 20px;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;font-size:14px;font-weight:500;transition:all .15s ease-in-out;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid #374151}.toast.show{transform:translateY(0) scale(1);opacity:1}.toast.hide{transform:translateY(-10px) scale(.95);opacity:0}.toast .toast-content{display:flex;align-items:center;gap:8px}.toast .toast-content .toast-icon{font-size:16px}.editor-layout{display:grid;grid-template-columns:380px 1fr;gap:32px;padding:12px;max-width:1600px;margin:1rem auto;min-height:calc(100vh - 120px)}@media (max-width: 1200px){.editor-layout{grid-template-columns:320px 1fr;gap:24px;padding:24px}}@media (max-width: 1024px){.editor-layout{grid-template-columns:1fr;gap:20px;padding:20px}}.editor-main{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);border-radius:24px;box-shadow:0 20px 40px #00000014,inset 0 1px #ffffff80;overflow:hidden;border:1px solid rgba(255,255,255,.2);transition:all .3s cubic-bezier(.4,0,.2,1);min-height:500px}.editor-main:hover{box-shadow:0 25px 50px #0000001f,inset 0 1px #fff9;transform:translateY(-2px)}.editor-sidebar{display:flex;flex-direction:column;gap:20px;position:sticky;top:120px;align-self:start;max-height:calc(100vh - 140px);overflow-y:auto;padding:12px}@media (max-width: 1024px){.editor-sidebar{order:-1;position:static;max-height:none}}.editor-panel{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);border:1px solid rgba(255,255,255,.2);border-radius:20px;padding:24px;box-shadow:0 8px 32px #00000014,inset 0 1px #ffffff80;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative}.editor-panel:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(102,126,234,.3),transparent)}.editor-panel:hover{transform:translateY(-4px);box-shadow:0 12px 40px #0000001f,inset 0 1px #fff9}.editor-panel .panel-title{font-size:14px;color:#007bff;font-weight:400;display:flex;align-items:center;gap:4px;position:relative;font-family:Poppins}.seo-field{margin-bottom:20px}.seo-field .seo-field-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.seo-field .seo-field-header .seo-field-label{font-size:13px;color:#4a5568;font-weight:500}.seo-field .seo-field-header .seo-field-counter{display:flex;align-items:center;gap:8px}.seo-field .seo-field-header .seo-field-counter .progress-bar{width:40px;height:4px;background:#e2e8f0;border-radius:2px;overflow:hidden}.seo-field .seo-field-header .seo-field-counter .progress-bar .progress-fill{height:100%;background:#6b7280;transition:all .3s ease}.seo-field .seo-field-header .seo-field-counter .progress-bar .progress-fill.warning{background:#d97706}.seo-field .seo-field-header .seo-field-counter .progress-bar .progress-fill.danger{background:#dc2626}.seo-field .seo-field-header .seo-field-counter .counter-text{font-size:12px;font-weight:500;min-width:40px;text-align:right;color:#6b7280}.seo-field .seo-field-header .seo-field-counter .counter-text.warning{color:#d97706}.seo-field .seo-field-header .seo-field-counter .counter-text.danger{color:#dc2626}.seo-field .seo-field-input,.seo-field .seo-field-textarea{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s cubic-bezier(.4,0,.2,1);font-family:inherit;color:#2d3748}.seo-field .seo-field-input:focus,.seo-field .seo-field-textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 4px #667eea1a;transform:translateY(-1px);background:rgb(255,255,255)}.seo-field .seo-field-input:hover:not(:focus),.seo-field .seo-field-textarea:hover:not(:focus){border-color:#667eea4d;transform:translateY(-1px)}.seo-field .seo-field-input::placeholder,.seo-field .seo-field-textarea::placeholder{color:#a0aec0}.seo-field .seo-field-textarea{resize:vertical;min-height:80px;line-height:1.5}.slug-control .slug-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.slug-control .slug-header .slug-label{font-size:14px;color:#007bff;font-weight:400}.slug-control .slug-header .slug-toggle{padding:6px 12px;border-radius:8px;border:1px solid #d1d5db;background:white;font-size:12px;font-weight:500;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:4px;color:#4a5568}.slug-control .slug-header .slug-toggle.locked{background:#f3f4f6}.slug-control .slug-header .slug-toggle:hover{transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.slug-control .slug-input{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;font-family:monospace;transition:all .3s ease;background:white;color:#1f2937}.slug-control .slug-input.disabled{background:#f9fafb;color:#6b7280}.slug-control .slug-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 4px #667eea1a}.slug-control .slug-preview{font-size:12px;color:#6b7280;padding:8px;background:#f9fafb;border-radius:6px;border:1px solid #e5e7eb;font-family:monospace;margin-top:8px}.slug-control .slug-preview strong{color:#4a5568;font-weight:500}.metrics-card .metrics-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.metrics-card .metrics-grid .metric-item{text-align:center;padding:16px;background:rgba(102,126,234,.05);border-radius:12px;border:1px solid rgba(102,126,234,.1);transition:all .3s ease}.metrics-card .metrics-grid .metric-item .metric-value{font-size:24px;font-weight:700;margin-bottom:4px}.metrics-card .metrics-grid .metric-item .metric-value.primary{color:#2563eb}.metrics-card .metrics-grid .metric-item .metric-value.success{color:#059611}.metrics-card .metrics-grid .metric-item .metric-label{font-size:12px;color:#6b7280;font-weight:500}.video-tool__video video:hover .ce-toolbar__actions--opened{top:1vh!important;left:0!important}.seo-panel{display:grid;gap:12px}.ce-toolbar{left:86px!important}.codex-editor{border-radius:0;border:none}.codex-editor .ce-toolbar__plus{cursor:pointer!important;transition:all .3s cubic-bezier(.4,0,.2,1)!important;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%)!important;color:#fff!important;border-radius:12px!important;width:36px!important;height:36px!important;box-shadow:0 4px 15px #667eea66!important}.codex-editor .ce-toolbar__plus:hover{transform:scale(1.1) rotate(90deg)!important;box-shadow:0 8px 25px #667eea99!important}.codex-editor .ce-toolbar__actions{background:rgba(255,255,255,0)!important;-webkit-backdrop-filter:blur(20px) saturate(180%)!important;backdrop-filter:blur(20px) saturate(180%)!important;border-radius:16px!important;border:0px solid rgba(255,255,255,.2)!important;padding:0!important}.codex-editor .ce-toolbar__actions--opened{animation:slideIn .3s cubic-bezier(.4,0,.2,1)!important}.codex-editor .ce-toolbar__settings-btn{transition:all .3s cubic-bezier(.4,0,.2,1)!important;border-radius:8px!important;color:#667eea!important}.codex-editor .ce-toolbar__settings-btn:hover{background:rgba(102,126,234,.1)!important;transform:scale(1.1)!important}.codex-editor .ce-block--selected .ce-block__content{background:rgba(102,126,234,.1)!important;border-radius:12px!important;box-shadow:0 0 0 2px #667eea33!important}.codex-editor .ce-toolbar__content{max-width:none!important}.codex-editor .ce-popover{border-radius:16px!important;box-shadow:0 20px 40px #0003!important;-webkit-backdrop-filter:blur(20px) saturate(180%)!important;backdrop-filter:blur(20px) saturate(180%)!important;background:rgba(255,255,255,.95)!important;border:1px solid rgba(255,255,255,.2)!important}.codex-editor .ce-popover__item{transition:all .2s ease!important;border-radius:8px!important;margin:2px!important}.codex-editor .ce-popover__item:hover{background:rgba(102,126,234,.1)!important;transform:translate(4px)!important}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}@keyframes slideIn{0%{transform:translateY(-10px);opacity:0}to{transform:translateY(0);opacity:1}}.animate-spin{animation:spin 1s linear infinite}.animate-pulse{animation:pulse 2s infinite}@media (max-width: 768px){.header-bar{padding:12px 16px;flex-wrap:wrap;gap:12px}.header-bar .title-input{font-size:18px}.header-bar .action-buttons{order:3;width:100%;justify-content:space-between}.editor-layout{padding:12px;gap:12px}}.slug-instruction{font-size:12px;margin-bottom:4px}:root{--INPUT_FIELD_WIDTH: min(60vw, 250px);--HEADING_COLOR: #000000;--HEADING_FONT_FAMILY: "Gilroy";--PARA_FONT_FAMILY: "Poppins";--PARA_COLOR: #3F3F3F;--PRIMARY_BUTTON_BG_COLOR: #8F1E78;--PRIMARY_BUTTON_COLOR: #FFFFFF;--PRIMARY_BUTTON_BORDER_RADIUS: 6px;--SECONDRY_BUTTON_BG_COLOR: white;--SECONDRY_BUTTON_COLOR: #000000;--SECONDRY_BUTTON_BORDER_RADIUS: 25.6853px;--THIRD_BUTTON_BG_COLOR: #060606;--THIRD_BUTTON_COLOR: #EFEFEF;--THIRD_BUTTON_BORDER_RADIUS: 6.53329px;--BOX_SHADOW_LEVEL1: 0px 4px 15px rgba(0, 0, 0, .1);--BOX_SHADOW_LEVEL2: 0px 4px 25px rgba(0, 0, 0, .2);--BOX_SHADOW_LEVEL3: 0px 5.25331px 26.3077px rgba(0, 0, 0, .08);--CARD_BG_COLOR: rgba(255, 255, 255, .6);--CARD_COLOR: #000000;--CARD_FONT_FAMILY: "Gilroy-Medium";--CARD_BORDER_RADIUS: 10px;--ANCHOR_FONT_FAMILY: "Manrope";--ANCHOR_COLOR: #314259;--BUTTON_FONT_FAMILY: "Gilroy-Medium";--BREAD_CRUMB_PADDING: 1rem;--TABLE_PAGE_PADDING: 1rem;--PAGE_BODY_BACKGROUND_COLOR: #E8ECF1;--SELECTED_COLOR: #52C41A;--ERROR_COLOR: #FF4D4F;--DEFAULT_SELECTED_COLOR: #1292EE;overflow-x:hidden}*{padding:0;margin:0;box-sizing:border-box}p{font-family:VAR(--PARA_FONT_FAMILY)}button{font-family:var(--BUTTON_FONT_FAMILY)}header{font-family:VAR(--HEADING_FONT_FAMILY)}a{font-family:var(--ANCHOR_FONT_FAMILY)}.ant-collapse{font-style:normal;font-weight:600;font-size:15.2968px}.ant-collapse-large>.ant-collapse-item>.ant-collapse-header{padding:16px 24px;background:white}.ant-collapse-item-active>.ant-collapse-header{box-sizing:border-box;border-radius:6px}.Home-navbar{position:sticky;z-index:2;align-items:baseline;justify-content:space-evenly;align-items:center;display:flex;width:100vw;top:0rem;left:0rem;height:9vh;margin:0vw 0vh;font-size:23px;font-family:var(--HEADING_FONT_FAMILY);background-color:#ffffffa4;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 4px 150px #0000001a}.extra_small_nav{margin:0vw 0vh;width:70vw;display:flex;justify-content:space-around;font-size:13.2px}.extra_small_div{display:flex;flex-wrap:wrap;flex-direction:row;row-gap:0rem!important;justify-content:space-around;text-transform:uppercase;align-items:center!important}@media (min-width:279px) and (max-width: 999px){.toggle-container{display:flex!important;position:fixed!important}.extra_small_nav{display:none!important}.tgle-icons{display:flex;width:25%;justify-content:space-around}.small-nav{opacity:12%!important}.extranav{display:none}}@media (min-width: 390px) and (max-width: 498px){.collapsed-menu{padding:1vw 1vh}}@media all and (max-width: 499px){.Home-navbar,.extranav{display:none}.extra_small_div{font-size:14px!important;text-transform:uppercase}.extra_small_nav{margin:0vw 0vh;width:70vw;display:flex;justify-content:space-around;font-size:13.2px}}@media (max-width: 1024px){.Home-navbar{display:flex;height:50px;align-items:center;justify-content:space-between}}@media (min-width: 899px) and (max-width: 1072px){.Home-navbar{padding:3rem 0rem!important}.extranav{display:none}.extra_small_div{font-size:14px!important;color:#000;font-family:var(--PARA_FONT_FAMILY)}}@media (min-width: 500px) and (max-width: 600px){.extra_small_nav{display:none}}.menu-container{display:flex;justify-content:space-evenly;flex-direction:row;color:#000!important;row-gap:23rem}.toggle-container{display:none;top:0;flex-wrap:wrap;flex-direction:row;width:100vw;align-items:center;justify-content:space-between;position:fixed;z-index:23;background-color:#f7f7f7;box-shadow:0 4px 150px #0000001a}.tgle-icons{display:flex;width:25%;justify-content:space-around}.toggle-button{cursor:pointer;font-size:16px}.ant-collapse{margin:2vw 2vh}.Dept_side{margin:2vw 4vh;width:40vw;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:space-between}.Acc_btn{background-color:#000;width:45vw;height:7vh;align-items:center;font-size:14px;display:flex;border-radius:6px;justify-content:center;color:#fff;cursor:pointer}.collapsed-menu{background-color:#31313154;transition:.1s ease-out;overflow-y:scroll;overflow-x:hidden;width:100%;height:100vh;position:fixed;top:4rem;z-index:1;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.anticon{cursor:pointer}.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-inline-end:54px;text-align:initial;padding:.3vw;font-size:14px;color:#626262;font-weight:400;font-family:Poppins,sans-serif}.ant-menu-light.ant-menu-horizontal>.ant-menu-item{margin:1.5vw 1.4vh;font-size:2.6vh;font-family:var(--HEADING_FONT_FAMILY)!important}.ant-menu-light{border-radius:12.9916px;padding-inline:0rem}.nav_right_items{display:flex;justify-content:space-between}.ant-menu-title-content{flex-direction:column;display:flex;text-transform:uppercase}.ico{font-size:12px!important;align-items:center;margin:.4vw 0vh}.ico-menu{display:flex;text-align:center}.nav-btn{font-size:15px!important;height:54px;font-weight:510;letter-spacing:.1px;border:none;color:#11181c;padding:4px 0}.nav-btn:hover{font-size:15px!important;height:54px;letter-spacing:.1px;border:none;color:#0f67da;padding:4px 0}.FreeAccBtn{width:220px;height:45px;display:flex;justify-content:center;border-radius:6px;background-color:#8f1e78;color:#fff;font-weight:550;margin:.2vw 0vh;font-size:15px;align-items:center;align-content:center;text-align:center;transition-duration:.2s}.FreeAccBtn:hover{width:220px;height:45px;display:flex;justify-content:center;border-radius:6px;background-color:#fff;border:#8F1E78 solid 1.5px;color:#8f1e78;margin:.2vw 0vh;font-size:15px;align-items:center;align-content:center;text-align:center;text-decoration:none;transition-duration:.2s}.sml_icons{display:flex;align-items:space-around}::-webkit-scrollbar{width:2px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#999999}::-webkit-scrollbar{display:none}.ce-toolbar__plus.custom-cursor-on-hover{cursor:pointer!important;transition:all .2s ease}.ce-toolbar__plus.custom-cursor-on-hover:hover{transform:scale(1.1);background:#3b82f6!important;color:#fff!important}.ce-block--selected .ce-block__content{background:rgba(59,130,246,.1)!important;border-radius:8px}.codex-editor{border-radius:12px;border:1px solid #e5e7eb}.ce-toolbar__content{max-width:none!important}.ce-popover{border-radius:12px!important;box-shadow:0 10px 25px #00000026!important}.mapping-features-container{padding:2rem;background-color:#f8f9fa;font-family:sans-serif}.mapping-features-container .header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.mapping-features-container .header h1{font-size:1.8rem;font-weight:600}.mapping-features-container .header .config-btn{background-color:#435ebe;color:#fff;border:none;padding:.8rem 1.2rem;border-radius:5px;cursor:pointer;display:flex;align-items:center;font-size:1rem}.mapping-features-container .header .config-btn span{margin-right:.5rem}.mapping-features-container .form-group{margin-bottom:2rem}.mapping-features-container .form-group label{display:block;margin-bottom:.5rem;font-weight:500}.mapping-features-container .options-container{background-color:#eef2ff;padding:2rem;border-radius:8px}.mapping-features-container .options-container h2{font-size:1.5rem;margin-bottom:1.5rem;font-weight:600}.mapping-features-container .options-container .option-card{background-color:#fff;padding:1.5rem;border-radius:8px;margin-bottom:1.5rem;box-shadow:0 2px 4px #0000001a}.mapping-features-container .options-container .option-card .option-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.mapping-features-container .options-container .option-card .option-title h3{font-size:1.2rem;font-weight:500;text-transform:capitalize}.mapping-features-container .options-container .option-card .option-title h3 span{color:red}.mapping-features-container .options-container .option-card .option-title .option-actions{cursor:pointer}.mapping-features-container .options-container .option-card .checkbox-group .checkbox-item{display:flex;justify-content:space-between;align-items:center;margin-bottom:.8rem}.mapping-features-container .options-container .option-card .checkbox-group .checkbox-item label{display:flex;align-items:center;cursor:pointer}.mapping-features-container .options-container .option-card .checkbox-group .checkbox-item label input{margin-right:.5rem;width:18px;height:18px}.mapping-features-container .options-container .option-card .checkbox-group .checkbox-item .delete-btn{cursor:pointer}.mapping-features-container .options-container .option-card .add-new-option{display:flex;align-items:center;margin-top:1rem}.mapping-features-container .options-container .option-card .add-new-option input{flex-grow:1;margin-right:.5rem}.mapping-features-container .options-container .option-card .add-new-option .add-btn{background-color:#198754;color:#fff;border:none;padding:.5rem 1rem;border-radius:5px;cursor:pointer;font-size:1.5rem}.features-container{column-count:2;column-gap:1rem;padding:1rem}@media (max-width: 768px){.features-container{column-count:1}}.feature-group{break-inside:avoid;margin-bottom:1rem;background:#f5f5f5;padding:1rem;border-radius:8px;box-shadow:0 2px 5px #0000001a}.feature-group .feature-group-title{margin-bottom:15px;font-size:16px;font-weight:600;color:#333}.feature-group .checkbox-options{display:flex;flex-direction:row;flex-wrap:wrap}.feature-group .checkbox-options .ant-checkbox-wrapper{margin-bottom:10px;margin-right:15px}.inputFormMappingfeatures{display:flex;flex-direction:column;gap:0;width:100%}.prev-selected-fields{display:flex;align-items:flex-start;flex-wrap:wrap;width:100%;gap:10px;margin-top:22px}.prev-selected-fields .prev-selectedItems{display:flex;align-items:center;width:max-content;background-color:#fff;font-weight:400;font-size:13px;-webkit-text-stroke:.1px;border:1px solid #ddd;padding:4px 8px;border-radius:4px;margin-bottom:2px;gap:2px}.prev-selected-fields svg{display:flex;color:#f13633;cursor:pointer}.reportTableSub .ant-checkbox .ant-checkbox-inner:after{background:black;display:inline}.formDivappMenu{display:flex;flex-wrap:wrap;column-gap:2rem}.reportTable-appMenu{height:48vh!important;overflow:auto;width:80vw}.uder-details-tesimonial{display:flex;align-items:flex-start;width:100%;gap:2rem;font-family:Gilroy!important}.uder-details-tesimonial>div:nth-child(2){font-weight:500;font-size:16px;width:600px;padding:6px 4px}.uder-details-tesimonial>div:nth-child(1){padding:2px 25px;font-weight:500;width:140px;font-size:16px}.PozoTestimonial-Master{width:100vw;height:100vh;overflow:scroll;font-family:Poppins!important;background-color:#f0f9ff}.PozoTestimonial-Master .PozoTestimonial-Navbar{position:sticky!important;top:0!important;width:100%;z-index:999;padding:1rem;background-color:#fff;display:flex;align-items:center;justify-content:flex-start}.PozoTestimonial-Master .PozoTestimonial-Navbar svg{font-size:35px;border:1px solid #000;padding:6px;border-radius:10pc;cursor:pointer;transition:all .2s}.PozoTestimonial-Master .PozoTestimonial-Navbar svg:hover{background-color:#000;color:#fff}.PozoTestimonial-Master .PozoTestimonial-main{padding:1rem 2rem;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:Poppins!important}.PozoTestimonial-Master .PozoTestimonial-header{font-size:32px;margin:10px;font-weight:500;text-align:center}.PozoTestimonial-Master .PozoTestimonial-Subheader{font-size:18px;font-weight:400;word-spacing:3px;letter-spacing:.5px}.PozoTestimonial-Master .PozoTestimonial-Subheader span{font-size:18px;font-weight:700;letter-spacing:1.5px}.PozoTestimonial-Master .CustomerStories-main{width:100%;display:flex;flex-wrap:wrap;padding:3rem 0rem;gap:1rem;justify-content:flex-start;z-index:0}.PozoTestimonial-Master .CustomerStories{width:25vw;height:500px;box-shadow:#64646f33 0 7px 29px;border-radius:12px;display:flex;align-items:center;flex-direction:column;background-color:#fff;overflow:hidden}.PozoTestimonial-Master .CustomerStories:hover .CustomerStories-image{overflow:hidden}.PozoTestimonial-Master .CustomerStories:hover .CustomerStories-image img{transform:scale(1.04);transition:transform .3s ease-in-out}.PozoTestimonial-Master .CustomerStories-image img{transition:transform .5s ease-in-out}.PozoTestimonial-Master .CustomerStories-image img:hover{transform:scale(1.04)}.PozoTestimonial-Master .playicon-testimonial{transition:transform .3s ease-in-out}.PozoTestimonial-Master .CustomerStories-image:hover .playicon-testimonial{transform:scale(1.35);color:#fff}.PozoTestimonial-Master .CustomerStories-image{width:100%;position:relative}.PozoTestimonial-Master .CustomerStories-image{width:100%}.PozoTestimonial-Master .CustomerStories-image img{width:100%;border-top-left-radius:12px;border-top-right-radius:12px;height:220px;object-fit:scale-down;filter:brightness(.9)}.PozoTestimonial-Master .playicon-testimonial{color:#fff;position:absolute;left:0;font-size:52px;width:100%;top:5.5rem;cursor:pointer}.PozoTestimonial-Master .CustomerStories-shopDetails{display:flex;width:100%;align-items:center;justify-content:flex-start;gap:1rem;padding:4px 10px}.PozoTestimonial-Master .shopDetails-logo{width:80px;height:80px;display:flex;align-items:center;justify-content:center}.PozoTestimonial-Master .shopDetails-logo img{width:70%;object-fit:cover}.PozoTestimonial-Master .AllDetailsOfShop-main{display:flex;flex-direction:column;gap:3px;align-items:flex-start;text-align:left}.PozoTestimonial-Master .testimonial-adminName{font-size:22px;font-weight:600;letter-spacing:1px}.PozoTestimonial-Master .testimonial-ShopName{font-size:11px;font-weight:500;letter-spacing:.5px;text-transform:uppercase;white-space:nowrap;overflow:hidden;width:100%;text-overflow:ellipsis}.PozoTestimonial-Master .testimonial-AdminDestionation{font-size:10px;font-weight:500;letter-spacing:.5px;color:#e33333;text-transform:uppercase}.PozoTestimonial-Master .customer-reviewStores{padding:5px 26px}.PozoTestimonial-Master .customer-reviewStores .reviewStores-div{font-size:12px;text-align:left;width:98%;font-weight:400;word-spacing:2px;letter-spacing:.3px;font-family:Poppins;line-height:1.6;height:150px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:8;text-overflow:ellipsis}.PozoTestimonial-Master .customer-reviewStores p{color:#1292ee;cursor:pointer;font-size:14px;padding:4px 0}.PozoTestimonial-Master .ant-modal-content .reviewStores-div{font-size:12px;text-align:left;width:98%;font-weight:400;word-spacing:2px;letter-spacing:.3px;font-family:Poppins;line-height:1.6;height:130px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:8;text-overflow:ellipsis}.PozoTestimonial-Master .PozoTestimonial-Thnx{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:3rem 2rem;background-color:#d9d9d91a;gap:1rem}.PozoTestimonial-Master .thnx-header{font-size:clamp(24px,4vw,32px);font-weight:500;text-align:center}.PozoTestimonial-Master .thnx-content{width:70%;text-align:center;font-size:14px;font-weight:400}.PozoTestimonial-Master .btnof-newVideo{width:max-content;padding:10px 22px;background-color:#292929;display:flex;align-items:center;justify-content:space-between;gap:2rem;color:#fff;border-radius:50px;cursor:pointer;font-size:15px;font-weight:500}.reviewModal-testimonial .ant-modal-body{font-size:14px!important;font-family:poppins!important}@media (max-width: 768px){.CustomerStories-main{display:grid!important;grid-template-columns:repeat(2,1fr)}.CustomerStories{width:100%!important}.CustomerStories-story{width:95vw!important}}@media (max-width: 499px){.CustomerStories-main{display:grid!important;grid-template-columns:repeat(1,1fr)}.CustomerStories{width:100%!important}.CustomerStories-image img{height:210px!important}.PozoTestimonial-header{font-size:clamp(22px,3vw,32px)!important}.PozoTestimonial-Subheader{font-size:clamp(13px,3vw,18px)!important;margin-top:-9px}.TrustedCustomer-title{font-size:clamp(12px,2vw,16px);padding:5px 0}.CustomerStories-story{width:93vw!important}.thnx-content{width:80%!important;text-align:center;font-size:10px!important;font-weight:400;margin-top:-7px}}.versionManagementDropDown .ant-select-single{width:110px!important}.versionMangement{overflow:auto;width:80vw;height:60vh!important}.versionMangement .ant-checkbox .ant-checkbox-inner:after{background:black;display:inline}.versionMangement .ant-table-thead{position:sticky;top:0;background-color:#f3f3f3;z-index:1}.versionMangement .ant-pagination{position:sticky;bottom:0;margin:0!important;padding:.5rem;background-color:#fafafa}.purchase-info-model .reportTable{width:100%!important;height:max-content!important}.purchase-info-model .ant-table-cell{text-align:left!important}.purchase-info-model .ant-empty-normal{margin-block:0!important}.Planchanges{display:flex;padding:15px;gap:15px}.ModalOFpurchaseInfo .ant-modal-content{padding:30px!important}.ModalOFpurchaseInfo .ant-modal-title{font-size:20px}.PurchaseExtendModal{display:flex;flex-direction:column;gap:10px;height:max-content;max-height:80vh;overflow:scroll;padding-bottom:3rem}.appnameAndPlan{display:inline-flex;align-items:center;gap:10px;font-family:14px;font-family:Gilroy;font-weight:500}.appnameAndPlan>p:nth-child(1){display:inline-flex;align-items:center;gap:4px}.appnameAndPlan>p:nth-child(2){display:inline-flex;align-items:center;gap:4px;color:#000!important;font-weight:600;font-size:14px}.StyleType-Container{display:flex;align-items:center;gap:10px;font-size:14px;color:#000;width:max-content;background-color:#dadada;padding:4px;margin:0 0 10px;border-radius:6px;font-family:Poppins;font-weight:500}.StyleType-Container>div{cursor:pointer}.addfeatInput{display:flex;align-items:flex-start;gap:1rem}.addfeatInput .ant-form-item{margin-bottom:0!important}.purchase-info-model .reportTable .ant-table-thead{position:sticky;top:0;background-color:#bad4f9;z-index:1}.purchaseInfoBtn{background-color:#fff;padding:3px;border-radius:4px}.purchaseInfoBtn .status-button{padding:5px 12px;border:none;border-radius:4px;font-size:13px;cursor:pointer;transition:background .3s ease;font-family:Poppins;width:130px}.purchaseInfoBtn .active-btn{background-color:#007e1c;color:#fff}.purchaseInfoBtn .expired-btn{background-color:red;color:#fff}.purchaseInfoBtn .free-btn{background-color:#1292ee;color:#fff}.purchaseInfoBtn .all-btn{background-color:#0000008a;color:#fff}.purchaseInfoBtn .inactive-btn{background-color:unset;color:#000}.searchAddDiv1{display:flex;align-items:center;flex-wrap:wrap;white-space:nowrap}.purchaseInfoDD .ant-select-selector,.purchaseInfoDD .ant-select-single{width:160px!important}.purchaseInfoDD .ant-select-selector{height:40px!important}@media (max-width: 768px){.searchAddDiv1{height:11rem}}.Adminnewplan{width:10vw;height:6vh;background-color:#1292ee;border:none}.purchase-div .primary_Button{width:140px!important}.purchase-submit{display:flex;justify-content:flex-end;margin-right:60px}.reportTableticketdetails{width:80vw;overflow-x:scroll;scrollbar-width:thin!important}.reportTableticketdetails .ant-table table{width:100vw!important}.container{display:flex;align-items:center;justify-content:center;min-height:100vh;background-color:#f3f4f6;font-family:Arial,sans-serif}.Ticket{max-width:400px;width:100%;background:white;padding:20px;border-radius:10px}.heading{font-size:1.25rem;font-weight:600;color:#1f2937}.text{color:#4b5563;margin:5px 0;display:flex;align-items:center;gap:12px;white-space:nowrap}.finalONe{display:flex;padding-top:16px;align-items:center;gap:12px;font-size:16px;text-transform:capitalize;font-weight:600}.searchAddDiv1{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;white-space:nowrap}.textarea{width:300px;height:70px;padding:10px;border:1px solid #ccc;border-radius:5px;font-size:16px;resize:none}.attchementImage{width:100%;padding:10px}.imageopen{width:100%;padding:8px;display:flex;justify-content:space-between;align-items:center;background-color:#f3f4f6;margin-bottom:10px}.formDivAntTicketDetails{display:flex;flex-wrap:wrap;column-gap:1rem;row-gap:1.5rem;justify-content:flex-end;width:100%}.formDivAntTicketDetails .ant-select-selector,.formDivAntTicketDetails .ant-select.ant-select-in-form-item{width:200px!important}.formSearchticketdetails{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;width:100%}.nextButton{cursor:pointer;background:rgb(0,122,255);padding:6px 12px;border-radius:6px;font-weight:400;color:#fff;text-align:center;font-family:Poppins;width:max-content}.getotpuser{display:flex;cursor:pointer;flex-wrap:wrap;background:#52c41a;color:#fff;text-align:center;font-family:Poppins;border-radius:6px;padding:6px 12px;gap:10px;align-items:center;justify-content:space-between;width:max-content}.reportTableuserOTP{overflow:auto;width:80vw;height:60vh!important}.reportTableuserOTP .ant-table-pagination.ant-pagination{position:sticky!important;bottom:0!important;background-color:#fff!important;padding:10px 0!important}.appname-abstruct{display:flex;align-items:center;justify-content:center;box-shadow:5px 5px 10px #ebe3e3;padding:1rem;font-family:Poppins,sans-serif;font-size:14px;font-weight:500;width:max-content;height:2rem;background-color:#9bd624;border-radius:10px;cursor:pointer;border:2px solid red}.selected-row{background-color:#bae7ff!important}.reportTable-abstruct{overflow:auto!important;width:100%;height:30vh!important}.reportTable-abstruct .ant-table-thead{position:sticky;top:0;z-index:10}.reportTable-abstruct .ant-table-cell{padding:3px 8px!important}.reportTable-abstruct .ant-table-wrapper .ant-table{font-size:14px}.reportTable-abstruct .ant-table-pagination.ant-pagination{position:sticky;z-index:10;bottom:0;background-color:#fff;margin:0}.reportTable-abstruct .ant-pagination-options{display:none!important}.reportTable-abstruct .ant-table-thead>tr>th{background-color:#969ea9!important;color:#fff!important;text-align:center}.warehouse-form-items{display:flex;gap:10px;flex-wrap:wrap}.warehouse-add-with-map{display:block}.warehouse-add-without-map{display:flex;gap:10px;flex-wrap:wrap}@media (max-width: 768px){.MapDiv{display:none!important}}html,body{scroll-behavior:auto;-webkit-overflow-scrolling:touch}.HomePage-Master{scroll-behavior:auto;-webkit-overflow-scrolling:touch;width:100%;height:auto;overflow:hidden;position:relative;box-sizing:border-box;font-family:NeueMontreal}section{width:100%;will-change:transform,opacity;transform:translateZ(0);display:flex;flex-direction:column;justify-content:center}img,video{max-width:100%;height:auto;object-fit:cover;display:block}.headLineJoin{width:100%;text-align:center;font-size:14px;text-decoration:underline;font-weight:400;font-family:NeueMontreal;display:flex;justify-content:center;gap:1rem;align-items:center;display:none}.headLineJoin svg{cursor:pointer}.folatingWhatsapp{position:fixed;right:1rem;bottom:1rem;background-color:#fff;border-radius:50pc;height:50px;width:50px;display:flex;align-items:center;justify-content:center;color:#070;cursor:pointer;box-shadow:#64646f33 0 7px 29px;font-size:30px;transition:all .2s ease-in-out}.folatingWhatsapp:hover{background-color:#070;color:#fff}.backToTop{position:fixed;background-color:#fff;color:#000;height:50px;width:50px;border-radius:50pc;right:1rem;bottom:5rem;z-index:500;text-align:center;display:flex;align-items:center;justify-content:center;box-shadow:#64646f33 0 7px 29px;cursor:pointer;transition:all .2s ease-in-out}.backToTop:hover{background-color:#000;color:#fff}.Navbar-Master{padding:1rem 1.6rem;width:100%;display:flex;align-items:center;justify-content:space-between;font-family:NeueMontreal;color:#fff;z-index:1;position:relative;overflow:auto}.Navbar-Master .navbarOption{display:flex;align-items:center;gap:16px;position:relative}@media (max-width: 768px){.Navbar-Master .navbarOption{display:none}}.Navbar-Master .navbarOption p{font-family:NeueMontreal;font-size:14px;letter-spacing:.4px;display:flex;align-items:center;gap:3px;cursor:pointer}.Navbar-Master .navbarOption svg{margin-top:4px;display:flex}.Navbar-Master .signinBtnNavbar{display:flex;align-items:center;gap:16px;font-size:14px}@media (max-width: 768px){.Navbar-Master .signinBtnNavbar{display:none}}.Navbar-Master .signinBtnNavbar div{cursor:pointer}.Navbar-Master .signinBtnNavbar button{width:max-content;height:max-content;border:none;background-color:#000;color:#fff;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:2rem;padding:6px 6px 6px 16px;font-family:NeueMontreal;font-weight:400;font-size:14px;border-radius:50px;transition:all .2s ease}.Navbar-Master .signinBtnNavbar button .icon-container{position:relative;background-color:#fff;height:35px;width:35px;border-radius:50px;overflow:hidden;display:flex;align-items:center;justify-content:center;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.Navbar-Master .signinBtnNavbar button:hover .icon-container{transform:scale(.9)}.Navbar-Master .signinBtnNavbar button .icon-main,.Navbar-Master .signinBtnNavbar button .icon-hover{position:absolute;color:#000;font-size:16px;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.Navbar-Master .signinBtnNavbar button .icon-main{transform:translate(0)}.Navbar-Master .signinBtnNavbar button .icon-hover{transform:translate(-35px,35px)}.Navbar-Master .signinBtnNavbar button:hover .icon-main{transform:translate(35px,-35px)}.Navbar-Master .signinBtnNavbar button:hover .icon-hover{transform:translate(0)}.Navbar-Master .signinBtnNavbar sup{font-size:10px;background-color:#e68200;color:#fff;padding:1px 4px;border-radius:4px;letter-spacing:.5px}.Navbar-Master .appNameLeft{font-size:26px;font-weight:500;cursor:pointer;letter-spacing:.2px;-webkit-text-stroke:.2px}@media (max-width: 768px){.Navbar-Master .appNameLeft{z-index:50;position:relative}}.solutions-dropdown{background-color:#fff;border-radius:12px;padding:1rem;width:220px;animation:fadeInCompany .2s ease;box-shadow:#959da533 0 8px 24px;z-index:1001;white-space:nowrap}.solutions-dropdown.closing{animation:fadeOutCompany .3s ease}.solutions-dropdown .solutions-list{display:flex;flex-direction:column;gap:0}.solutions-dropdown .solutions-list .solution-item{font-family:NeueMontreal;font-weight:400;color:#000;padding-bottom:8px;font-size:15px;cursor:pointer;letter-spacing:.2px;transition:all .3s ease}.solutions-dropdown .solutions-list .solution-item:hover{color:#3588fd}.solutions-dropdown .solutions-list .solution-item.active{color:#1473f8;font-weight:500}.solutions-dropdown .solutions-list .solution-item span{display:block}.solutions-dropdown-mobile{padding:.5rem 0 .5rem 1.5rem;display:flex;flex-direction:column;gap:0;margin:.5rem 0;background:rgba(255,255,255,.03);border-radius:6px}.solutions-dropdown-mobile .solution-item-mobile{padding:.75rem 1rem;cursor:pointer;transition:color .2s;color:#e5e5e5;font-size:13px;letter-spacing:.3px;border-bottom:1px solid rgba(255,255,255,.05)}.solutions-dropdown-mobile .solution-item-mobile:last-child{border-bottom:none}.solutions-dropdown-mobile .solution-item-mobile:hover,.solutions-dropdown-mobile .solution-item-mobile:active{color:#1473f8}.IndustriesTypes{display:flex;align-items:flex-start;justify-content:space-between;width:80%;margin-bottom:0;gap:1rem;position:fixed;top:4rem;left:10%;background-color:#fff;padding:2rem;border-radius:12px;animation:fadeInIndustry .5s ease;height:85vh;max-height:calc(100vh - 5rem);box-shadow:#959da533 0 8px 24px;z-index:100;overflow:hidden;isolation:isolate;touch-action:none}.IndustriesTypes.closing{animation:fadeOutIndustry .4s ease}@media (max-width: 768px){.IndustriesTypes{flex-direction:column;display:none}}.IndustriesOne,.IndustriesTwo,.IndustriesThree{width:30%;font-family:NeueMontreal;height:100%;max-height:calc(85vh - 4rem);border-right:2px dashed #9e9e9e;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;padding-bottom:2rem;padding-right:1rem;overscroll-behavior:contain;touch-action:pan-y}.IndustriesOne::-webkit-scrollbar,.IndustriesTwo::-webkit-scrollbar,.IndustriesThree::-webkit-scrollbar{width:6px}.IndustriesOne::-webkit-scrollbar-track,.IndustriesTwo::-webkit-scrollbar-track,.IndustriesThree::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.IndustriesOne::-webkit-scrollbar-thumb,.IndustriesTwo::-webkit-scrollbar-thumb,.IndustriesThree::-webkit-scrollbar-thumb{background:#888;border-radius:10px}.IndustriesOne::-webkit-scrollbar-thumb:hover,.IndustriesTwo::-webkit-scrollbar-thumb:hover,.IndustriesThree::-webkit-scrollbar-thumb:hover{background:#555}@media (max-width: 768px){.IndustriesOne,.IndustriesTwo,.IndustriesThree{width:100%}.IndustriesOne br,.IndustriesTwo br,.IndustriesThree br{display:none}}.IndustriesOne .main-heading,.IndustriesTwo .main-heading,.IndustriesThree .main-heading{font-size:22px;color:#1f1f1f;font-family:NeueMontreal;font-weight:500;-webkit-text-stroke-width:.1px;margin-bottom:1rem}@media (max-width: 768px){.IndustriesOne .main-heading,.IndustriesTwo .main-heading,.IndustriesThree .main-heading{font-size:16px}}.IndustriesOne .sub-category,.IndustriesTwo .sub-category,.IndustriesThree .sub-category{font-size:13px;color:#555;font-family:NeueMontreal;font-weight:500;margin-top:1rem;margin-bottom:.4rem;padding:0;border:none;display:flex;align-items:center;gap:6px}.IndustriesOne .sub-category svg,.IndustriesTwo .sub-category svg,.IndustriesThree .sub-category svg{font-size:16px;color:#3588fd;flex-shrink:0}.IndustriesOne .sub-category:first-of-type,.IndustriesTwo .sub-category:first-of-type,.IndustriesThree .sub-category:first-of-type{margin-top:0}@media (max-width: 768px){.IndustriesOne .sub-category,.IndustriesTwo .sub-category,.IndustriesThree .sub-category{font-size:12px}.IndustriesOne .sub-category svg,.IndustriesTwo .sub-category svg,.IndustriesThree .sub-category svg{font-size:14px}}.IndustriesOne div:not(.main-heading):not(.sub-category),.IndustriesTwo div:not(.main-heading):not(.sub-category),.IndustriesThree div:not(.main-heading):not(.sub-category){font-size:22px;color:#1f1f1f;font-family:NeueMontreal;font-weight:500;-webkit-text-stroke-width:.1px;margin-bottom:1rem}@media (max-width: 768px){.IndustriesOne div:not(.main-heading):not(.sub-category),.IndustriesTwo div:not(.main-heading):not(.sub-category),.IndustriesThree div:not(.main-heading):not(.sub-category){font-size:16px}}.IndustriesOne p,.IndustriesTwo p,.IndustriesThree p{font-size:14px;color:#1f1f1f;cursor:pointer;font-family:NeueMontreal;font-weight:400;transition:all .3s ease;margin-bottom:2px;padding-left:22px}.IndustriesOne p:hover,.IndustriesTwo p:hover,.IndustriesThree p:hover{color:#3588fd}.IndustriesOne p span,.IndustriesTwo p span,.IndustriesThree p span{color:#fff;background-color:#ff7300f6;font-family:NeueMontreal;font-size:8px;padding:0 6px;font-weight:400;border-radius:2px}.responsiveMenuNavbar{font-family:NeueMontreal;color:#fff;font-size:14px;white-space:nowrap;z-index:100;position:relative;display:none}@media (max-width: 768px){.responsiveMenuNavbar{display:flex}}.responsiveMenuNavbar .NavbarMenuResponsive{background-color:#000;color:#fff;font-family:NeueMontreal;padding:0 1.6rem 2rem;position:fixed;width:100vw;height:calc(100vh - 8%);top:8%;left:0;display:flex;align-items:flex-start;justify-content:flex-start;flex-direction:column;overflow-y:auto;overflow-x:hidden;animation:fadeInMenu .4s ease;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#3588fd #1a1a1a}.responsiveMenuNavbar .NavbarMenuResponsive::-webkit-scrollbar{width:6px}.responsiveMenuNavbar .NavbarMenuResponsive::-webkit-scrollbar-track{background:#1a1a1a}.responsiveMenuNavbar .NavbarMenuResponsive::-webkit-scrollbar-thumb{background:#3588fd;border-radius:3px}.responsiveMenuNavbar .NavbarMenuResponsive::-webkit-scrollbar-thumb:hover{background:#2570d9}.responsiveMenuNavbar .NavbarMenuResponsive.closing{animation:fadeOutMenu .4s ease}@media (max-width: 1300px){.responsiveMenuNavbar .NavbarMenuResponsive{top:8%}}.responsiveMenuNavbar .ResNavHeader{width:100%;display:flex;font-family:NeueMontreal;align-items:center;justify-content:space-between}.responsiveMenuNavbar .ResNavHeaderClose{display:flex;align-items:center;font-family:NeueMontreal;gap:4px;cursor:pointer}.responsiveMenuNavbar .ResNavHeaderClose div{display:flex;align-items:center;gap:3px;font-size:14px}.responsiveMenuNavbar .ResnavbarOption{width:100%;font-family:NeueMontreal;margin-top:1rem;display:flex;flex-direction:column;gap:1rem;flex:1;overflow-y:visible}.responsiveMenuNavbar .ResnavbarOption .indusOpen{font-size:16px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-family:NeueMontreal;border-bottom:2px dashed #868686;padding-bottom:10px}@media (max-width: 768px){.responsiveMenuNavbar .ResnavbarOption .IndustriesTypes{position:relative;top:unset;left:unset;width:100%;background-color:#383838;color:#fff;overflow:auto;isolation:unset;touch-action:unset;height:70vh;box-shadow:unset!important}.responsiveMenuNavbar .ResnavbarOption .IndustriesOne,.responsiveMenuNavbar .ResnavbarOption .IndustriesTwo,.responsiveMenuNavbar .ResnavbarOption .IndustriesThree{border-right:none;height:max-content;max-height:40vh;margin-bottom:2rem}.responsiveMenuNavbar .ResnavbarOption .IndustriesOne>div,.responsiveMenuNavbar .ResnavbarOption .IndustriesOne>p,.responsiveMenuNavbar .ResnavbarOption .IndustriesTwo>div,.responsiveMenuNavbar .ResnavbarOption .IndustriesTwo>p,.responsiveMenuNavbar .ResnavbarOption .IndustriesThree>div,.responsiveMenuNavbar .ResnavbarOption .IndustriesThree>p{color:#fff}}.responsiveMenuNavbar .industryRes{background-color:#383838;color:#fff;display:flex;font-family:NeueMontreal;flex-direction:column;padding:1rem;border-radius:12px;height:max-content;max-height:70vh;overflow:auto;scrollbar-width:thin}.responsiveMenuNavbar .IndustriesOneRes div,.responsiveMenuNavbar .IndustriesTwoRes div,.responsiveMenuNavbar .IndustriesThreeRes div{font-family:NeueMontreal;font-size:16px;margin:10px 0}.responsiveMenuNavbar .IndustriesOneRes p,.responsiveMenuNavbar .IndustriesTwoRes p,.responsiveMenuNavbar .IndustriesThreeRes p{font-family:NeueMontreal;font-size:14px;margin-bottom:4px;color:#cecece;cursor:pointer}.responsiveMenuNavbar .IndustriesOneRes p:hover,.responsiveMenuNavbar .IndustriesTwoRes p:hover,.responsiveMenuNavbar .IndustriesThreeRes p:hover{color:#3588fd}.responsiveMenuNavbar .compnayListsRes p{font-size:14px;font-family:NeueMontreal;margin-bottom:4px;cursor:pointer;transition:all .2s}.responsiveMenuNavbar .compnayListsRes p:hover{color:#3588fd}.responsiveMenuNavbar .signinBtnNavbarRes{display:flex;flex-direction:column;align-items:flex-start;gap:16px;font-family:NeueMontreal;margin-top:3rem;margin-bottom:2rem;width:100%;padding-bottom:2rem}.responsiveMenuNavbar .signinBtnNavbarRes sup{font-size:10px;background-color:#e68200;color:#fff;padding:1px 4px;border-radius:4px;letter-spacing:.5px}.responsiveMenuNavbar .signinBtnNavbarRes div{cursor:pointer}.responsiveMenuNavbar .signinBtnNavbarRes button{width:100%;height:max-content;border:none;background-color:#fff;color:#000;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:6px 6px 6px 16px;font-family:NeueMontreal;font-weight:400;font-size:16px;border-radius:50px;transition:all .2s ease}.responsiveMenuNavbar .signinBtnNavbarRes button .icon-container{position:relative;background-color:#000;height:35px;width:35px;border-radius:50px;overflow:hidden;display:flex;align-items:center;justify-content:center;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.responsiveMenuNavbar .signinBtnNavbarRes button:hover .icon-container{transform:scale(.9)}.responsiveMenuNavbar .signinBtnNavbarRes button .icon-main,.responsiveMenuNavbar .signinBtnNavbarRes button .icon-hover{position:absolute;color:#fff;font-size:16px;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.responsiveMenuNavbar .signinBtnNavbarRes button .icon-main{transform:translate(0)}.responsiveMenuNavbar .signinBtnNavbarRes button .icon-hover{transform:translate(-35px,35px)}.responsiveMenuNavbar .signinBtnNavbarRes button:hover .icon-main{transform:translate(35px,-35px)}.responsiveMenuNavbar .signinBtnNavbarRes button:hover .icon-hover{transform:translate(0)}@keyframes fadeInMenu{0%{opacity:0;height:0vh}to{opacity:1;height:100vh}}@keyframes fadeOutMenu{0%{opacity:1;height:100vh}to{opacity:0;height:0vh}}@keyframes fadeInIndustry{0%{opacity:0;transform:translateY(-10px);height:0vh}to{opacity:1;transform:translateY(0);height:80vh}}@keyframes fadeOutIndustry{0%{opacity:1;height:80vh;transform:translateY(0)}to{opacity:0;height:0vh;transform:translateY(-10px)}}@keyframes fadeInCompany{0%{opacity:0;transform:translateY(-10px);height:0px}to{opacity:1;transform:translateY(0);height:250px}}@keyframes fadeOutCompany{0%{opacity:1;height:250px;transform:translateY(0)}to{opacity:0;height:0px;transform:translateY(-10px)}}@keyframes fadeInCompany{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeOutCompany{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes fadeInIndustry{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeOutIndustry{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}.mobile-sticky-footer{display:none;position:fixed;bottom:0;left:0;right:0;background:linear-gradient(135deg,#ffffff 0%,#f8f9fa 100%);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 -4px 20px #0000001f;padding:10px 1.25rem 4px;gap:1rem;z-index:999;border-top:1px solid rgba(0,0,0,.08)}@media (max-width: 768px){.mobile-sticky-footer{display:flex;align-items:center;justify-content:space-between}}.mobile-sticky-footer .mobile-sticky-btn{flex:1;padding:16px 1.75rem;background:linear-gradient(135deg,#000 0%,#1a1a1a 100%);color:#fff;border-radius:12px;font-size:15px;font-weight:500;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center;font-family:NeueMontreal,sans-serif;box-shadow:0 4px 12px #00000026;letter-spacing:.3px}.mobile-sticky-footer .mobile-sticky-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0003}.mobile-sticky-footer .mobile-sticky-btn:active{transform:scale(.98)}.mobile-sticky-footer .mobile-sticky-btn.whatsapp-btn{background:linear-gradient(135deg,#25d366 0%,#1ea952 100%);flex:0;min-width:60px;padding:16px;box-shadow:0 4px 12px #25d3664d}.mobile-sticky-footer .mobile-sticky-btn.whatsapp-btn:hover{box-shadow:0 6px 16px #25d36666}@keyframes fadeInMenu{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}@keyframes fadeOutMenu{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(100%)}}.compnayLists{position:fixed;left:40%;top:4rem;background-color:#fff;border-radius:12px;padding:1rem;width:220px;animation:fadeInCompany .2s ease;box-shadow:#959da533 0 8px 24px;z-index:10}.compnayLists.closing{animation:fadeOutCompany .3s ease}.compnayLists p{font-family:NeueMontreal;font-weight:400;color:#000;padding-bottom:8px;font-size:15px;cursor:pointer;letter-spacing:.2px;transition:all .3s ease}.compnayLists p:hover{color:#3588fd}.NavbarMenuResponsive .IndustriesTypes{display:block}.IndustriesList-Master{height:100vh;width:100vw;position:fixed;top:0;left:0;right:0;z-index:699}.OverView-Master{width:100vw;min-height:100vh;height:auto;background:#000;display:flex;flex-direction:column;font-family:NeueMontreal,sans-serif;color:#fff;position:relative;overflow:hidden}@media (max-width: 500px){.OverView-Master{height:max-content!important;padding-bottom:5rem}}.OverView-Master .bg-video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;filter:brightness(.6);z-index:0;pointer-events:none}@media (max-width: 1290px){.OverView-Master .bg-video{filter:brightness(.5)}}@media (max-width: 900px){.OverView-Master .bg-video{object-fit:cover;transform:scale(1.1)}}@media (max-width: 600px){.OverView-Master .bg-video{object-fit:cover;filter:brightness(.4)}}.OverView-Master .overviewSlogan{font-size:4.5vw;font-weight:500;width:80vw;line-height:1.2;margin:6.5rem 1.5rem 0;position:relative;z-index:2;letter-spacing:-.02em}@media (min-width: 1920px){.OverView-Master .overviewSlogan{font-size:4vw;margin-top:7rem}}@media (max-width: 1199px){.OverView-Master .overviewSlogan{font-size:6vw;margin-top:5rem}}@media (max-width: 900px){.OverView-Master .overviewSlogan{font-size:7vw;margin-top:4.5rem;line-height:1.3}}@media (max-width: 600px){.OverView-Master .overviewSlogan{font-size:8.5vw;margin-top:7rem;line-height:1.25}}@media (max-width: 400px){.OverView-Master .overviewSlogan{font-size:10vw;margin:3.5rem 1rem 0}}.OverView-Master .hero-left{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;margin:5.5rem 1.5rem 3rem;position:relative;z-index:2;gap:3rem}@media (min-width: 1920px){.OverView-Master .hero-left{max-width:1800px;margin:0 auto;margin-top:6rem;padding:0 2rem}}@media (max-width: 1199px){.OverView-Master .hero-left{margin-top:4rem;gap:2.5rem}}@media (max-width: 900px){.OverView-Master .hero-left{flex-direction:column;margin-top:3rem;gap:2.5rem;align-items:stretch}}@media (max-width: 600px){.OverView-Master .hero-left{margin:2rem 1rem 0;gap:2rem}}@media (max-width: 400px){.OverView-Master .hero-left{margin:1.5rem .8rem 0;gap:1.5rem}}.OverView-Master .feature-list{display:flex;flex-direction:column;gap:1.2rem;justify-content:flex-start;flex:1;min-height:fit-content}@media (max-width: 600px){.OverView-Master .feature-list{gap:1rem;padding:16px 0}}.OverView-Master .feature-item{display:flex;align-items:center;gap:10px;padding:0;border-radius:8px;transition:all .3s cubic-bezier(.4,0,.2,1)}.OverView-Master .feature-item img{filter:brightness(1.5);width:40px;height:40px;flex-shrink:0;transition:transform .3s ease}@media (min-width: 1920px){.OverView-Master .feature-item img{width:45px;height:45px}}@media (max-width: 900px){.OverView-Master .feature-item img{width:38px;height:38px}}@media (max-width: 600px){.OverView-Master .feature-item img{width:35px;height:35px}}@media (max-width: 400px){.OverView-Master .feature-item img{width:32px;height:32px}}.OverView-Master .feature-item:hover img{transform:scale(1.05)}.OverView-Master .feature-text{flex:1}.OverView-Master .feature-text h3{font-weight:400;font-size:16px;margin:0 0 2px;color:#fff;letter-spacing:-.01em}@media (min-width: 1920px){.OverView-Master .feature-text h3{font-size:18px}}@media (max-width: 1199px){.OverView-Master .feature-text h3{font-size:15px}}@media (max-width: 900px){.OverView-Master .feature-text h3{font-size:15px}}@media (max-width: 600px){.OverView-Master .feature-text h3{font-size:12px}}@media (max-width: 400px){.OverView-Master .feature-text h3{font-size:12px}}.OverView-Master .feature-text p{margin:0;font-size:14px;font-weight:400;font-family:NeueMontreal;color:#ffffffbf;line-height:1.4}@media (min-width: 1920px){.OverView-Master .feature-text p{font-size:15px}}@media (max-width: 1199px){.OverView-Master .feature-text p{font-size:13px}}@media (max-width: 900px){.OverView-Master .feature-text p{font-size:13px}}@media (max-width: 600px){.OverView-Master .feature-text p{font-size:10px}}@media (max-width: 400px){.OverView-Master .feature-text p{font-size:11px}}.OverView-Master .hero-right{display:flex;flex-direction:row;justify-content:center;align-items:flex-end;position:relative;flex:0 0 auto}@media (max-width: 900px){.OverView-Master .hero-right{width:100%}}.OverView-Master .ai-card{background:rgba(255,255,255,.12);backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);border-radius:20px;border:1px solid rgba(255,255,255,.18);padding:1.75rem;max-width:500px;margin-right:5rem;box-shadow:0 8px 32px #0000004d;position:relative;z-index:2;transition:all .4s cubic-bezier(.4,0,.2,1)}.OverView-Master .ai-card:hover{background:rgba(255,255,255,.15);border-color:#ffffff40;box-shadow:0 12px 40px #0006;transform:translateY(-5px)}@media (max-width: 900px){.OverView-Master .ai-card:hover{transform:none}}@media (min-width: 1920px){.OverView-Master .ai-card{max-width:600px;padding:2.5rem;margin-right:0;border-radius:24px}}@media (max-width: 1199px){.OverView-Master .ai-card{max-width:450px;margin-right:2rem;padding:1.8rem}}@media (max-width: 900px){.OverView-Master .ai-card{width:100%;max-width:100%;margin-right:0;padding:2rem}}@media (max-width: 600px){.OverView-Master .ai-card{padding:1.5rem;border-radius:16px;margin-top:0}}@media (max-width: 400px){.OverView-Master .ai-card{padding:1.2rem;border-radius:14px}}.OverView-Master .ai-card p{font-size:22px;font-family:NeueMontreal;line-height:1.35;margin:0 0 1.25rem;color:#fff;font-weight:400}@media (min-width: 1920px){.OverView-Master .ai-card p{font-size:28px;line-height:1.5}}@media (max-width: 1199px){.OverView-Master .ai-card p{font-size:22px;line-height:1.4}}@media (max-width: 900px){.OverView-Master .ai-card p{font-size:22px}}@media (max-width: 600px){.OverView-Master .ai-card p{font-size:20px;line-height:1.45;margin-bottom:1.2rem}}@media (max-width: 400px){.OverView-Master .ai-card p{font-size:18px;line-height:1.4;margin-bottom:1rem}}.OverView-Master .experience-btn{background:#ffffff;color:#000;border:none;border-radius:2rem;padding:6px 6px 6px 18px;font-weight:500;display:inline-flex;align-items:center;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);font-family:NeueMontreal;font-size:16px;outline:none;box-shadow:0 4px 12px #00000026}.OverView-Master .experience-btn:hover{background:#f5f5f5;box-shadow:0 6px 20px #00000040;transform:translateY(-2px)}.OverView-Master .experience-btn:active{transform:translateY(0)}@media (min-width: 1920px){.OverView-Master .experience-btn{font-size:18px;padding:8px 8px 8px 20px}}@media (max-width: 1199px){.OverView-Master .experience-btn{font-size:15px;padding:5px 5px 5px 16px}}@media (max-width: 600px){.OverView-Master .experience-btn{font-size:15px;padding:4px 4px 4px 14px}}@media (max-width: 400px){.OverView-Master .experience-btn{font-size:14px;padding:4px 4px 4px 12px}}.OverView-Master .experience-btn .icon-container{position:relative;background-color:#000;height:38px;width:38px;border-radius:50%;margin-left:2rem;overflow:hidden;display:flex;align-items:center;justify-content:center;transition:transform .4s cubic-bezier(.25,.46,.45,.94);flex-shrink:0}@media (min-width: 1920px){.OverView-Master .experience-btn .icon-container{height:42px;width:42px}}@media (max-width: 1199px){.OverView-Master .experience-btn .icon-container{height:36px;width:36px;margin-left:1.8rem}}@media (max-width: 600px){.OverView-Master .experience-btn .icon-container{height:34px;width:34px;margin-left:1.5rem}}@media (max-width: 400px){.OverView-Master .experience-btn .icon-container{height:32px;width:32px;margin-left:1.2rem}}.OverView-Master .experience-btn:hover .icon-container{transform:scale(.92)}.OverView-Master .experience-btn .icon-main,.OverView-Master .experience-btn .icon-hover{position:absolute;color:#fff;font-size:18px;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}@media (min-width: 1920px){.OverView-Master .experience-btn .icon-main,.OverView-Master .experience-btn .icon-hover{font-size:20px}}@media (max-width: 600px){.OverView-Master .experience-btn .icon-main,.OverView-Master .experience-btn .icon-hover{font-size:16px}}@media (max-width: 400px){.OverView-Master .experience-btn .icon-main,.OverView-Master .experience-btn .icon-hover{font-size:15px}}.OverView-Master .experience-btn .icon-main{transform:translate(0)}.OverView-Master .experience-btn .icon-hover{transform:translate(-40px,40px)}.OverView-Master .experience-btn:hover .icon-main{transform:translate(40px,-40px)}.OverView-Master .experience-btn:hover .icon-hover{transform:translate(0)}@media (min-width: 2560px){.OverView-Master .overviewSlogan{font-size:3.5vw;max-width:2000px;margin-left:auto;margin-right:auto}.OverView-Master .hero-left{max-width:2200px}}@media (min-width: 1920px) and (max-width: 2559px){.OverView-Master{height:110vh}.OverView-Master .hero-left{gap:4rem}}@media (min-width: 1200px) and (max-width: 1919px){.OverView-Master{height:110vh}.OverView-Master .overviewSlogan{margin-top:6rem}.OverView-Master .hero-left{margin-top:5rem}.OverView-Master .ai-card{margin-right:3rem}}@media (min-width: 901px) and (max-width: 1199px){.OverView-Master{height:115vh}}@media (max-width: 900px) and (min-width: 601px){.OverView-Master{height:auto;min-height:110vh;padding-bottom:3rem}.OverView-Master .overviewSlogan{text-align:left}.OverView-Master .feature-list{order:1}.OverView-Master .hero-right{order:2}}@media (max-width: 400px){.OverView-Master{height:auto!important;min-height:100vh;padding-bottom:1.5rem}}@media (max-width: 320px){.OverView-Master .overviewSlogan{font-size:11vw;margin:3rem .5rem 0}.OverView-Master .hero-left{margin:1rem .5rem 0}.OverView-Master .feature-item{gap:8px}.OverView-Master .feature-item img{width:30px;height:30px}.OverView-Master .feature-text h3{font-size:13px}.OverView-Master .feature-text p{font-size:11px}.OverView-Master .ai-card{padding:1rem}.OverView-Master .ai-card p{font-size:16px}.OverView-Master .experience-btn{font-size:13px;padding:3px 3px 3px 8px}.OverView-Master .experience-btn .icon-container{height:28px;width:28px;margin-left:1rem}}@media (max-height: 600px) and (orientation: landscape){.OverView-Master{height:auto;min-height:100vh;padding:2rem 0}.OverView-Master .overviewSlogan{margin-top:2rem;font-size:4vw}.OverView-Master .hero-left{margin-top:1.5rem;flex-direction:row;gap:2rem}.OverView-Master .ai-card{max-width:400px;padding:1.5rem}.OverView-Master .ai-card p{font-size:18px}}.split-line{overflow:hidden;display:block}.split-text-element{will-change:transform}.split-word,.split-char{display:inline-block;will-change:transform}.gsap-text-animation{will-change:transform,opacity}.gsap-text-animation *{will-change:transform}.split-mask{overflow:hidden;position:relative}.split-line{line-height:1.2}.split-animation{transform:translateZ(0);backface-visibility:hidden;perspective:1000px}.letter-writing .split-char{display:inline-block;transform-origin:center}.word-by-word .split-word{display:inline-block;margin-right:.2em}.drawing-effect .split-char{display:inline-block;transform-origin:left center;overflow:hidden}.typewriter-effect .split-char{display:inline-block;opacity:0}.wave-effect .split-char{display:inline-block;transform-origin:bottom center}.bounce-effect .split-word{display:inline-block;margin-right:.1em}.elastic-effect .split-char{display:inline-block;transform-origin:center}.magnetic-effect .split-char{display:inline-block;position:relative}.morphing-effect .split-char{display:inline-block;transform-origin:center}.gsap-text-animation{will-change:transform,opacity;transform:translateZ(0);backface-visibility:hidden}.gsap-text-animation *{will-change:transform,opacity}.gsap-text-animation.split-reveal,.gsap-text-animation.split-words,.gsap-text-animation.split-chars,.gsap-text-animation.split-lines{overflow:hidden}.split-word+.split-word{margin-left:.1em}.split-char+.split-char{margin-left:.02em}.animated-text{color:#fff;font-size:clamp(2rem,12rem,5vw);line-height:1.2;text-align:center;perspective:500px}.animated-text span{display:inline-block}*{margin:0;padding:0;box-sizing:border-box}.loader-wrapper{background-size:300%;background-position:center;animation:sky 30s ease-in-out infinite;width:100vw;height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1em}h3{font-weight:300}.spinner{position:relative;width:120px;height:120px}.wheel{position:absolute;top:0;left:0;width:100%;height:100%;background-image:url(https://raw.githubusercontent.com/akaLaws/doodles/c08f1865c1b56cc896a2d1eae480574467512187/wheelnew.svg);background-repeat:no-repeat;background-size:contain;background-position:center;filter:invert(15%);opacity:.9;animation:spin 2s linear infinite}.wheel:nth-of-type(2){opacity:.7;animation:spin-reverse 3s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spin-reverse{0%{transform:rotate(360deg) scaleX(-1)}to{transform:rotate(0) scaleX(-1)}}@keyframes sky{0%,to{background-position:center}25%{background-position:left}70%{background-position:bottom}90%{background-position:right}}.LiveSession-Master{width:100%;min-height:100vh;background:#fff;scroll-behavior:smooth;overflow:auto}.LiveSession-Master .Navbar-Master{color:#000;background-color:#fff;box-shadow:#110c2e26 0 2px 50px}.LiveSession-Master .navbarOption{display:none}.LiveSession-Master .ResNavHeaderClose{color:#000}.LiveSession-Master .LiveSession{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem;font-family:NeueMontreal;padding:7rem 3.5rem 3.5rem}@media (max-width: 768px){.LiveSession-Master .LiveSession{padding:1.5rem}}.LiveSession-Master .LiveSession .ls-left{flex:1.1;display:flex;flex-direction:column;font-family:NeueMontreal}.LiveSession-Master .LiveSession .ls-title{font-size:4.8vw;font-weight:500;line-height:1.2;font-family:NeueMontreal}@media (max-width: 768px){.LiveSession-Master .LiveSession .ls-title{font-size:8vw;margin-bottom:10px}}.LiveSession-Master .LiveSession .RocketImg{height:65px;width:65px}.LiveSession-Master .LiveSession .RocketImg img{height:100%;width:100%;margin-top:12px}.LiveSession-Master .LiveSession .ls-sub{font-size:2.5vw;line-height:1.2;color:#1e1e1e;font-family:NeueMontreal}.LiveSession-Master .LiveSession .register-btn{background:#d1242d;color:#fff;padding:4px 4px 4px 16px;border:none;border-radius:50pc;margin:1.5rem 0 2rem;font-family:NeueMontreal;width:max-content;font-size:16px;letter-spacing:.3px;font-weight:400;display:inline-flex;align-items:center;gap:2rem;cursor:pointer;position:relative}.LiveSession-Master .LiveSession .register-btn .icon-container{position:relative;background-color:#fff;height:40px;width:40px;border-radius:50px;margin-left:1rem;overflow:hidden;display:flex;align-items:center;justify-content:center;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.LiveSession-Master .LiveSession .register-btn:hover .icon-container{transform:scale(.9)}.LiveSession-Master .LiveSession .register-btn .icon-main,.LiveSession-Master .LiveSession .register-btn .icon-hover{position:absolute;color:#cc4a29;font-size:20px;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.LiveSession-Master .LiveSession .register-btn .icon-main{transform:translate(0)}.LiveSession-Master .LiveSession .register-btn .icon-hover{transform:translate(-35px,35px)}.LiveSession-Master .LiveSession .register-btn:hover .icon-main{transform:translate(35px,-35px)}.LiveSession-Master .LiveSession .register-btn:hover .icon-hover{transform:translate(0)}.LiveSession-Master .LiveSession .info-grid{display:flex;flex-wrap:wrap;font-family:NeueMontreal;margin-top:1rem}@media (max-width: 768px){.LiveSession-Master .LiveSession .info-grid{flex-direction:column}}.LiveSession-Master .LiveSession .info-grid .info-box{border:1px dotted #a9a9a9;padding:1rem 1.5rem;flex:1;font-family:NeueMontreal;min-width:140px}@media (max-width: 768px){.LiveSession-Master .LiveSession .info-grid .info-box{padding:1rem}}.LiveSession-Master .LiveSession .info-grid .info-box img{width:60px}.LiveSession-Master .LiveSession .info-grid .info-box h4{font-weight:400;font-family:NeueMontreal;font-size:16px;-webkit-text-stroke:.2px;color:#1e1e1e;margin-top:2rem}@media (max-width: 768px){.LiveSession-Master .LiveSession .info-grid .info-box h4{margin-top:1rem}}.LiveSession-Master .LiveSession .info-grid .info-box p{font-size:.95rem;text-wrap:nowrap;font-size:14px;font-family:NeueMontreal;color:#1e1e1e}.LiveSession-Master .LiveSession .agenda-wrap{display:flex;font-family:NeueMontreal;gap:2rem;flex-wrap:wrap;margin-top:3rem;justify-content:space-between}.LiveSession-Master .LiveSession .agenda-wrap h3{margin-bottom:1rem;font-family:NeueMontreal;font-size:22px;font-weight:400;color:#000}.LiveSession-Master .LiveSession .agenda-wrap div{font-family:NeueMontreal;color:#1e1e1e}.LiveSession-Master .LiveSession .agenda-wrap p{font-family:NeueMontreal;color:#1e1e1e;font-size:15px;gap:10px;align-items:center;display:flex;margin-bottom:8px}.LiveSession-Master .LiveSession .limited{font-family:NeueMontreal;margin-bottom:6rem;margin-top:4rem;font-size:22px;color:#1e1e1e}.LiveSession-Master .LiveSession .ls-right{flex:1;font-family:NeueMontreal;justify-content:flex-end;align-items:flex-end;display:flex}@media (max-width: 768px){.LiveSession-Master .LiveSession .ls-right{justify-content:center;align-items:center}}.LiveSession-Master .LiveSession .ls-right img{width:95%;border-radius:12px;object-fit:cover}@media (max-width: 768px){.LiveSession-Master .LiveSession .ls-right img{width:100%}}@media (max-width: 900px){.LiveSession-Master .LiveSession{flex-direction:column}.LiveSession-Master .LiveSession .ls-right{order:-1;margin-bottom:2rem}}.liveFooterMain{font-family:NeueMontreal;background-color:#010101;color:#fff;padding:3rem 1rem 1rem;display:flex;justify-content:space-between;gap:2rem;align-items:flex-start}@media (max-width: 768px){.liveFooterMain{flex-direction:column}}.liveFooterLeft .listTitle,.liveFooterRight .listTitle{font-family:NeueMontreal;font-size:18px;font-weight:400;letter-spacing:.2px}.liveFooterLeft .LiveFooterList,.liveFooterRight .LiveFooterList{gap:10px;align-items:center;display:flex}@media (max-width: 768px){.liveFooterLeft .LiveFooterList,.liveFooterRight .LiveFooterList{align-items:flex-start;flex-direction:column}}.liveFooterLeft .LiveFooterList p,.liveFooterLeft .LiveFooterList a,.liveFooterRight .LiveFooterList p,.liveFooterRight .LiveFooterList a{font-family:NeueMontreal;font-weight:400;letter-spacing:.32px;font-size:12px;margin-top:8px;cursor:pointer;color:#eee;transition:all .3s;text-decoration:none}.liveFooterLeft .LiveFooterList p:hover,.liveFooterLeft .LiveFooterList a:hover,.liveFooterRight .LiveFooterList p:hover,.liveFooterRight .LiveFooterList a:hover{color:#418df7}.liveFooterLeft span,.liveFooterRight span{margin-top:8px;font-family:NeueMontreal;gap:10px;align-items:center;display:flex;font-size:14px}.liveFooterLeft span svg,.liveFooterRight span svg{cursor:pointer;font-size:16px}.liveFooterRights{background-color:#010101;color:#fff;justify-content:space-between;align-items:center;font-family:NeueMontreal;display:flex;padding:1rem}.liveFooterRights div{color:#ebebeb;font-family:NeueMontreal;font-weight:400;letter-spacing:.3px;font-size:12px;gap:1rem;align-items:center;display:flex}.liveFooterRights span{color:#ebebeb;font-family:NeueMontreal;font-weight:400;letter-spacing:.3px;font-size:13px}.liveFooterRights p{font-family:NeueMontreal;font-weight:400;letter-spacing:.3px;font-size:12px;color:#565353}@media (max-width: 500px){.liveFooterRights p{font-size:8px;color:#9b9b9b}}@media (max-width: 768px){.liveFooterRights{text-align:center;justify-content:center;gap:1.5rem;align-items:center;flex-direction:column}}.ContactUs-Master{background-color:#fff;width:100%;overflow:auto;height:100%;font-family:NeueMontreal}.ContactUs-Master .Navbar-Master{color:#000;background-color:#fff;box-shadow:#110c2e26 0 2px 50px}.ContactUs-Master .IndustriesTypes,.ContactUs-Master .compnayLists{top:4rem}.ContactUs-Master .ResNavHeaderClose div{color:#000}.ContactUs-Master .appNameLeft{color:#000!important}.ContactUs-Master .appNameLeft.responsiveMenuOpen{color:#fff!important}.ContactUs-Master .navbarOption{color:#000}.ContactUs-Master .navbarOption .ResNavHeaderClose{color:#000!important}.ContactUs-Master .signinBtnNavbar{color:#000}.ContactUs-Master .contactHeader{width:100%;font-family:NeueMontreal;justify-content:space-between;align-items:flex-start;display:flex;gap:2rem;padding:8rem 3rem 2rem}@media (max-width: 768px){.ContactUs-Master .contactHeader{flex-direction:column;padding:7rem 1.5rem 1rem}}.ContactUs-Master .HeaderContactLeft{font-family:NeueMontreal;line-height:1.1;font-weight:500;color:#1e1e1e;font-size:4.5vw;width:40%}@media (max-width: 768px){.ContactUs-Master .HeaderContactLeft{width:100%;font-size:9vw}}.ContactUs-Master .HeaderContactRight{display:flex;align-items:flex-start;font-family:NeueMontreal;justify-content:center;width:60%;gap:2rem;flex-wrap:wrap}@media (max-width: 768px){.ContactUs-Master .HeaderContactRight{width:100%;justify-content:flex-start}}.ContactUs-Master .contactType{display:flex;align-items:flex-start;flex-direction:column;gap:10px}@media (max-width: 768px){.ContactUs-Master .contactType{width:100%}}.ContactUs-Master .contactType label,.ContactUs-Master .contactType p{font-weight:400;font-size:12px;font-family:NeueMontreal}.ContactUs-Master .contactType span{font-weight:400;font-size:10px;color:#1e1e1e;font-family:NeueMontreal}.ContactUs-Master .contactType div{display:flex;align-items:center;font-size:28px;font-weight:500;cursor:pointer;font-family:NeueMontreal;border-radius:8px;padding:6px 16px;justify-content:flex-start;background-color:#ededed;color:#010101;gap:10px}@media (max-width: 768px){.ContactUs-Master .contactType div{width:100%}}.ContactUs-Master .contactType div img{width:45px}@media (max-width: 768px){.ContactUs-Master .contactType div img{width:40px}}@media (max-width: 768px){.ContactUs-Master .contactType div{font-size:18px}}.ContactUs-Master .ContactUsCardMain{justify-content:flex-start;align-items:center;display:flex;font-family:NeueMontreal;flex-wrap:wrap;padding:2rem 3rem}@media (max-width: 768px){.ContactUs-Master .ContactUsCardMain{padding:2rem 1.5rem}}.ContactUs-Master .ContactUsCards{border:1px dotted #a9a9a9;padding:1.5rem;justify-content:flex-start;font-family:NeueMontreal;align-items:flex-start;display:flex;flex-direction:column;width:260px}@media (max-width: 768px){.ContactUs-Master .ContactUsCards{width:100%}}.ContactUs-Master .ContactUsCards img{width:70px}.ContactUs-Master .ContactUsCards div{font-weight:400;font-family:NeueMontreal;color:#1e1e1e;margin-top:1rem;font-size:18px;-webkit-text-stroke-width:.2px;margin-top:2rem}.ContactUs-Master .ContactUsCards p{font-weight:400;font-family:NeueMontreal;color:#1e1e1e;font-size:16px}.ContactUs-Master .MoreInfoContactForm{padding:2rem 3rem;align-items:center;gap:2rem;font-family:NeueMontreal;display:flex}@media (max-width: 768px){.ContactUs-Master .MoreInfoContactForm{flex-direction:column;padding:2rem 1.5rem}}.ContactUs-Master .MoreInfoDiv{width:45%;flex-direction:column;align-items:flex-start;display:flex;margin-top:4rem}@media (max-width: 768px){.ContactUs-Master .MoreInfoDiv{width:100%;margin-top:0}}.ContactUs-Master .MoreInfoDiv span{margin-bottom:1rem;font-weight:400;font-family:NeueMontreal;font-size:22px}.ContactUs-Master .MoreInfoDiv div{gap:10px;align-items:center;font-family:NeueMontreal;display:flex;margin-bottom:14px;font-size:14px}.ContactUs-Master .MoreInfoDiv div svg{font-size:22px}.ContactUs-Master .ContactFormDiv{align-items:center;font-family:NeueMontreal;display:flex;flex-direction:column;align-items:flex-start;width:55%;gap:1.58rem}.ContactUs-Master .ContactFormDiv span{margin-bottom:1rem;font-weight:400;font-family:NeueMontreal;font-size:22px}@media (max-width: 768px){.ContactUs-Master .ContactFormDiv{width:100%;justify-content:flex-start;align-items:flex-start}}.ContactUs-Master .contactmindInput{flex-direction:column;display:flex;width:60%}@media (max-width: 768px){.ContactUs-Master .contactmindInput{width:100%}}.ContactUs-Master .contactmindInput label{font-size:13px;font-weight:400;font-family:NeueMontreal}.ContactUs-Master .contactmindInput input{width:100%;padding:10px 0;border-bottom:1px solid #000!important;border:none;background-color:transparent;outline:none}.ContactUs-Master .contactmindBTN{width:60%;display:flex;align-items:center;font-family:NeueMontreal;justify-content:space-between;margin-top:3rem;background-color:#000;border:none;outline:none;color:#fff;padding:4px;border-radius:50pc;font-size:15px;cursor:pointer}@media (max-width: 500px){.ContactUs-Master .contactmindBTN{width:100%}}.ContactUs-Master .contactmindBTN .icon-container{position:relative;background-color:#fff;height:40px;width:40px;border-radius:50px;overflow:hidden;display:flex;align-items:center;justify-content:center;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.ContactUs-Master .contactmindBTN:hover .icon-container{transform:scale(.9)}.ContactUs-Master .contactmindBTN .icon-main,.ContactUs-Master .contactmindBTN .icon-hover{position:absolute;color:#000;font-size:20px;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.ContactUs-Master .contactmindBTN .icon-main{transform:translate(0)}.ContactUs-Master .contactmindBTN .icon-hover{transform:translate(-35px,35px)}.ContactUs-Master .contactmindBTN:hover .icon-main{transform:translate(35px,-35px)}.ContactUs-Master .contactmindBTN:hover .icon-hover{transform:translate(0)}.ContactUs-Master .LimitesContact{text-align:left;font-weight:500;font-family:NeueMontreal;font-size:20px;margin:3rem}@media (max-width: 500px){.ContactUs-Master .LimitesContact{padding:2.5rem 1rem;font-size:16px;margin:0;text-align:center;width:100%}}.BookDemo-Master{width:100%;height:100vh;background-color:#00000086;display:flex;align-items:center;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1001;font-family:NeueMontreal;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);animation:fadeIn .3s ease forwards}.BookDemo-Master.closing{animation:fadeOut .5s ease forwards}.BookDemo-Master .BookDemoMain{width:600px;font-family:NeueMontreal;background-color:#fff;border-radius:12px;padding:2rem;box-shadow:0 8px 20px #00000026;display:flex;flex-direction:column;gap:2rem;animation:slideInRightpage .5s ease forwards}.BookDemo-Master .BookDemoMain.closing{animation:slideInRightpage .5s ease forwards}@media (max-width: 768px){.BookDemo-Master .BookDemoMain{width:90vw;padding:1rem}}.closing .BookDemo-Master .BookDemoMain{animation:slideInRightpage .5s ease forwards}.BookDemo-Master .BookDemoMain .BookDemoHeader{display:flex;justify-content:space-between;align-items:flex-start;font-family:NeueMontreal}.BookDemo-Master .BookDemoMain .BookDemoHeader .BookDemoHeaderLeft{display:flex;flex-direction:column;gap:.3rem;font-family:NeueMontreal}.BookDemo-Master .BookDemoMain .BookDemoHeader .BookDemoHeaderLeft div{font-size:1.6rem;font-weight:500;color:#000}.BookDemo-Master .BookDemoMain .BookDemoHeader .BookDemoHeaderLeft p{font-size:.9rem;color:#1e1e1e;margin:0}.BookDemo-Master .BookDemoMain .BookDemoHeader .BookDemoHeaderRight{font-family:NeueMontreal;font-size:1.2rem;color:#fff;padding:8px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.BookDemo-Master .BookDemoMain .BookDemoHeader .BookDemoHeaderRight .icon-container{position:relative;background-color:#000;height:40px;width:40px;border-radius:50%;margin-left:2rem;overflow:hidden;display:flex;align-items:center;justify-content:center;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.BookDemo-Master .BookDemoMain .BookDemoHeader .BookDemoHeaderRight:hover .icon-container{transform:scale(.9)}.BookDemo-Master .BookDemoMain .BookDemoHeader .BookDemoHeaderRight .icon-main,.BookDemo-Master .BookDemoMain .BookDemoHeader .BookDemoHeaderRight .icon-hover{position:absolute;color:#fff;font-size:16px;transition:transform .4s cubic-bezier(.25,.46,.45,.94)}.BookDemo-Master .BookDemoMain .BookDemoHeader .BookDemoHeaderRight .icon-main{transform:translate(0)}.BookDemo-Master .BookDemoMain .BookDemoHeader .BookDemoHeaderRight .icon-hover{transform:translate(-35px)}.BookDemo-Master .BookDemoMain .BookDemoHeader .BookDemoHeaderRight:hover .icon-main{transform:translate(35px)}.BookDemo-Master .BookDemoMain .BookDemoHeader .BookDemoHeaderRight:hover .icon-hover{transform:translate(0)}.BookDemo-Master .BookDemoMain .DemoTypesMain{display:flex;gap:1rem;justify-content:flex-start;margin-top:1rem;flex-wrap:wrap;font-family:NeueMontreal}.BookDemo-Master .BookDemoMain .DemoTypesMain .DemoType{background:#f4f4f4;border-radius:8px;padding:.8rem 1rem;color:#000;font-family:NeueMontreal;display:flex;align-items:center;gap:.6rem;font-size:.95rem;font-weight:400;cursor:pointer;transition:background .2s ease;width:max-content;height:max-content;white-space:nowrap}.BookDemo-Master .BookDemoMain .DemoTypesMain .DemoType img{width:25px;height:25px}.BookDemo-Master .BookDemoMain .DemoTypesMain .DemoType:hover{background:#e6e6e6}.BookDemo-Master .BookDemoMain .demoChat{margin-top:5rem;display:flex;justify-content:flex-end;align-items:flex-end;gap:.6rem;font-size:.85rem;font-family:NeueMontreal;color:#333;flex-direction:column}.BookDemo-Master .BookDemoMain .demoChat img{width:35px;height:35px;cursor:pointer}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes slideInRight{0%{opacity:0}to{opacity:1}}@keyframes slideInRightpage{0%{opacity:1}to{opacity:1}}.PricingPozoApp-Master{background-color:#f6f6f6;width:100%;overflow-x:hidden;font-family:NeueMontreal;min-height:100vh;scroll-behavior:smooth}.PricingPozoApp-Master .backToTop{bottom:1rem!important}.PricingPozoApp-Master .Navbar-Master{color:#000;background-color:#fff;box-shadow:#110c2e26 0 2px 50px}.PricingPozoApp-Master .IndustriesTypes,.PricingPozoApp-Master .compnayLists{top:4rem}.PricingPozoApp-Master .appNameLeft{color:#000!important}.PricingPozoApp-Master .appNameLeft.responsiveMenuOpen{color:#fff!important}.PricingPozoApp-Master .navbarOption{color:#000}.PricingPozoApp-Master .ResNavHeaderClose{color:#000!important}.PricingPozoApp-Master .signinBtnNavbar{color:#000}.PricingPozoApp-Master .PricingPozoAppMain{padding:3rem 2rem;justify-content:center;font-family:NeueMontreal;width:100%;align-items:center;justify-content:flex-start;flex-direction:column;display:flex;text-align:center;background-size:cover;min-height:60vh;background-image:url(/assets/PricingBG-5d0803dc.webp);position:relative}.PricingPozoApp-Master .PricingPozoAppTitle{margin-top:5rem}.PricingPozoApp-Master .PricingPozoAppTitle div{font-family:NeueMontreal;font-size:5vw;line-height:1.1;color:#1e1e1e;font-weight:500;margin-bottom:1rem}.PricingPozoApp-Master .PricingPozoAppTitle p{font-family:NeueMontreal;color:#575757;font-size:16px;line-height:1.1;font-weight:500;margin-top:1rem}.PricingPozoApp-Master .PricingPozoAppTitle p span{font-family:NeueMontreal;color:#000;font-weight:500;margin-left:4px;transition:all .2s}.PricingPozoApp-Master .userReview{text-align:end;display:flex;font-family:NeueMontreal;gap:1rem;align-items:center;padding-right:2rem;width:100%;justify-content:flex-end;position:relative}.PricingPozoApp-Master .userReview svg{color:#ff6200;font-size:18px}.PricingPozoApp-Master .userReview img{width:100px}.PricingPozoApp-Master .userReview div{line-height:1.5;font-family:NeueMontreal}.PricingPozoApp-Master .userReview div p{font-size:14px;color:#1e1e1e;font-family:NeueMontreal;margin:0;display:flex;align-items:center;gap:.5rem;text-align:end;justify-content:flex-end}.PricingPozoApp-Master .pricingSection .planTabs{display:flex;justify-content:center;margin:2.5rem 2rem 0}@media (max-width: 600px){.PricingPozoApp-Master .pricingSection .planTabs{margin:2.5rem 0rem 0;white-space:nowrap}}.PricingPozoApp-Master .pricingSection .planTabs .tabGroup{display:flex;align-items:center;gap:1rem;border-radius:50px;position:relative;padding-bottom:2rem}.PricingPozoApp-Master .pricingSection .planTabs .tabGroup .tab{padding:.75rem 1.5rem;border:none;background:transparent;border-radius:25px;font-family:NeueMontreal;font-size:16px;cursor:pointer;transition:all .3s ease;border:1px solid #fff}.PricingPozoApp-Master .pricingSection .planTabs .tabGroup .tab.active{background:#d1242d;color:#fff;border-color:transparent}.PricingPozoApp-Master .pricingSection .planTabs .tabGroup .saveBadge{background:#fbbf24;color:#1e1e1ee8;font-family:NeueMontreal;padding:.5rem 1rem;border-radius:20px;font-size:12px;font-weight:400}@media (max-width: 500px){.PricingPozoApp-Master .pricingSection .planTabs .tabGroup .saveBadge{font-size:11px;padding:.3rem 1rem;font-weight:500}}.PricingPozoApp-Master .pricingSection .planTabs .tabGroup .saveArrow{position:relative;top:45px;right:150px}.PricingPozoApp-Master .pricingSection .planTabs .tabGroup .saveArrow img{width:80px}@keyframes bounce{0%,20%,50%,80%,to{transform:translateY(0)}40%{transform:translateY(-5px)}60%{transform:translateY(-3px)}}.PricingPozoApp-Master .pricingSection .pricingCards{font-family:NeueMontreal;gap:1rem;max-width:1300px;margin:0 auto;padding-top:3rem;display:flex;align-items:center;justify-content:center;position:relative}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCardsContainer{display:flex;gap:1rem;overflow-x:auto;scroll-behavior:smooth;padding:0 1rem;scrollbar-width:none;-ms-overflow-style:none}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCardsContainer::-webkit-scrollbar{display:none}@media (max-width: 768px){.PricingPozoApp-Master .pricingSection .pricingCards .pricingCardsContainer{padding:0!important}}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard{background:#fff;border-radius:20px;padding:1.5rem;font-family:NeueMontreal;box-shadow:0 10px 25px #0000001a;position:relative;transition:transform .3s ease;text-align:left;height:75vh;width:280px;white-space:nowrap;flex-shrink:0}@media (max-width: 768px){.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard{width:280px;height:65vh}}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard:hover{transform:translateY(-5px)}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard.left1{background:linear-gradient(135deg,#fff 0%,#fef2f2 100%)}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard.rightside{background:linear-gradient(135deg,#cde8fc 0%,#b3b5fd 100%)}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard.rightside.popular{border:none}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard.rightside button{background-color:#000!important}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard.popular{border:2px solid #ffc27b}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .popularTag{position:absolute;font-family:NeueMontreal;top:0;right:1rem;background:#e57627;color:#fff;padding:0 1rem;border-radius:0 0 16px 16px;height:22px;font-size:12px;font-weight:500}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .planName{font-size:30px;font-weight:500;font-family:NeueMontreal;color:#1e1e1e;text-align:center}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .descriptionplan{color:#6b7280;margin-bottom:.5rem;font-family:NeueMontreal;font-size:14px;text-align:left}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .price{margin-bottom:1rem;font-family:NeueMontreal;gap:0;justify-content:flex-start;align-items:center;display:flex;flex-direction:column}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .price .amount{font-size:38px;font-family:NeueMontreal;font-weight:600;color:#1e1e1e;display:block}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .price .period{color:#2e2e2e;font-family:NeueMontreal;font-size:12px}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .planButton{width:100%;padding:1rem;border:none;border-radius:50px;font-family:NeueMontreal;font-size:16px;font-weight:400;cursor:pointer;letter-spacing:.3px;transition:all .3s ease;margin-bottom:2rem;text-align:center;align-items:center;justify-content:center}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .planButton.red{background:#d1242d;color:#fff;font-family:NeueMontreal}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .planButton.red:hover{background:#dc2626}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .planButton.black{background:#1e1e1e;font-family:NeueMontreal;color:#fff}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .planButton.black:hover{background:#374151}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .features{font-family:NeueMontreal;height:35vh;overflow:auto;scrollbar-width:thin;width:250px}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .features h4{font-family:NeueMontreal;font-size:16px;font-weight:400;margin-bottom:.5rem;color:#1e1e1e}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .features p{font-family:NeueMontreal;color:#6b7280;font-size:14px;margin-bottom:1rem}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .features ul{list-style:none;padding:0;font-family:NeueMontreal}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .features ul li{display:flex;align-items:center;font-family:NeueMontreal;gap:.5rem;margin-bottom:.5rem;font-size:14px;color:#374151}.PricingPozoApp-Master .pricingSection .pricingCards .pricingCard .features ul li .checkIcon{color:#00bd19;font-size:18px}.PricingPozoApp-Master .addonsSection{padding:4rem 2rem 18rem;font-family:NeueMontreal}.PricingPozoApp-Master .addonsSection .addonsHeader{text-align:left;margin-bottom:3rem;font-family:NeueMontreal}.PricingPozoApp-Master .addonsSection .addonsHeader h2{font-size:5vw;font-weight:500;font-family:NeueMontreal;color:#1e1e1e}.PricingPozoApp-Master .addonsSection .addonsHeader p{font-family:NeueMontreal;color:#6b7280;font-size:16px}.PricingPozoApp-Master .addonsSection .planTabs{display:flex;font-family:NeueMontreal;justify-content:flex-start;margin-bottom:3rem}.PricingPozoApp-Master .addonsSection .planTabs .tabGroup{display:flex;font-family:NeueMontreal;align-items:center;gap:1rem;background:#f3f4f6;padding:.5rem;border-radius:50px}.PricingPozoApp-Master .addonsSection .planTabs .tabGroup .tab{padding:.75rem 1.5rem;border:none;font-family:NeueMontreal;background:transparent;border-radius:25px;font-size:14px;cursor:pointer;transition:all .3s ease;border:1px solid #cfcfcf}.PricingPozoApp-Master .addonsSection .planTabs .tabGroup .tab.active{background:#d1242d;color:#fff;border-color:transparent}.PricingPozoApp-Master .addonsSection .addonCards{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem;font-family:NeueMontreal;max-width:100%;margin:0}@media (max-width: 768px){.PricingPozoApp-Master .addonsSection .addonCards{display:grid}}.PricingPozoApp-Master .addonsSection .addonCards .addonCard{background:#fff;border-radius:20px;padding:1rem;font-family:NeueMontreal;box-shadow:0 1px 2px #0000001a;text-align:center;transition:transform .3s ease;text-align:left;height:220px;width:245px}@media (max-width: 500px){.PricingPozoApp-Master .addonsSection .addonCards .addonCard{width:100%}}@media (max-width: 768px){.PricingPozoApp-Master .addonsSection .addonCards .addonCard{width:100%}}.PricingPozoApp-Master .addonsSection .addonCards .addonCard:hover{transform:translateY(-2px)}.PricingPozoApp-Master .addonsSection .addonCards .addonCard .addonIcon{font-family:NeueMontreal;display:flex;align-items:center;justify-content:center;color:#fff;border-radius:50pc;font-size:24px}.PricingPozoApp-Master .addonsSection .addonCards .addonCard .addonIcon svg{width:50px;height:50px;border-radius:50pc;padding:16px}.PricingPozoApp-Master .addonsSection .addonCards .addonCard .addonPrice{font-family:NeueMontreal;line-height:1.2}.PricingPozoApp-Master .addonsSection .addonCards .addonCard .addonPrice .amount{font-size:24px;font-weight:600;font-family:NeueMontreal;color:#1e1e1e;display:block}.PricingPozoApp-Master .addonsSection .addonCards .addonCard .addonPrice .originalPrice{text-decoration:line-through;font-family:NeueMontreal;color:#9ca3af;font-size:16px;margin-right:.5rem}.PricingPozoApp-Master .addonsSection .addonCards .addonCard .addonPrice .period{color:#6b7280;font-family:NeueMontreal;font-size:14px}.PricingPozoApp-Master .addonsSection .addonCards .addonCard h4{font-size:16px;font-family:NeueMontreal;font-weight:400;color:#1e1e1e;-webkit-text-stroke-width:.2px}.PricingPozoApp-Master .addonsSection .addonCards .addonCard p{color:#6b7280;font-family:NeueMontreal;font-size:12px;height:75px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;text-overflow:ellipsis}.PricingPozoApp-Master .addonsSection .addonCards .addonCard .buyButton{width:max-content;padding:14px 20px;font-family:NeueMontreal;background:#1e1e1e;color:#fff;border:none;border-radius:50px;font-size:14px;font-weight:400;cursor:pointer;transition:all .3s ease}.PricingPozoApp-Master .addonsSection .addonCards .addonCard .buyButton:hover{background:#374151}.PricingPozoApp-Master .footer{background:#1e1e1e;color:#fff;padding:3rem 2rem 1rem;font-family:NeueMontreal}.PricingPozoApp-Master .footer .footerContent{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;max-width:1200px;font-family:NeueMontreal;margin:0 auto}.PricingPozoApp-Master .footer .footerContent .footerColumn h4{font-size:18px;font-weight:600;margin-bottom:1rem;font-family:NeueMontreal;color:#fff}.PricingPozoApp-Master .footer .footerContent .footerColumn ul{list-style:none;font-family:NeueMontreal;padding:0}.PricingPozoApp-Master .footer .footerContent .footerColumn ul li{margin-bottom:.5rem;font-family:NeueMontreal}.PricingPozoApp-Master .footer .footerContent .footerColumn ul li a{color:#d1d5db;text-decoration:none;font-family:NeueMontreal;font-size:14px;transition:color .3s ease}.PricingPozoApp-Master .footer .footerContent .footerColumn ul li a:hover{color:#fff}.PricingPozoApp-Master .footer .footerContent .footerColumn .socialIcons{display:flex;gap:1rem;font-size:24px;font-family:NeueMontreal}.PricingPozoApp-Master .footer .footerContent .footerColumn .socialIcons svg{cursor:pointer;transition:color .3s ease}.PricingPozoApp-Master .footer .footerContent .footerColumn .socialIcons svg:hover{color:#d1242d}.PricingPozoApp-Master .footer .footerBottom{border-top:1px solid #374151;margin-top:2rem;padding-top:2rem;font-family:NeueMontreal;text-align:center}.PricingPozoApp-Master .footer .footerBottom p{color:#9ca3af;font-size:14px;margin-bottom:.5rem}.PricingPozoApp-Master .addonCardMain{text-align:left;justify-content:space-between;font-family:NeueMontreal;align-items:flex-start;display:flex}.PricingPozoApp-Master .indusrtyDivs{justify-content:space-between;align-items:center;font-family:NeueMontreal;width:92vw;display:flex;gap:2rem;margin-top:1rem;position:relative;z-index:1}@media (max-width: 500px){.PricingPozoApp-Master .indusrtyDivs{width:95vw;gap:10px}}.PricingPozoApp-Master .indusrtyDivs svg{height:40px;width:43px;padding:12px 15px;color:#000;background-color:#f8a74b;cursor:pointer;border-radius:50pc;display:flex;font-weight:300;transition:all .2s ease}.PricingPozoApp-Master .indusrtyDivs svg:hover{background-color:#f59e0b;transform:scale(1.05)}.PricingPozoApp-Master .industiresPricingTab{gap:1rem;font-family:NeueMontreal;align-items:center;display:flex;justify-content:flex-start;width:100%;overflow:auto;scroll-behavior:smooth}.PricingPozoApp-Master .industiresPricingTab p{font-family:NeueMontreal;padding:8px 16px;background-color:#fff;border-radius:50pc;font-weight:400;cursor:pointer!important;color:#000;font-size:16px;white-space:nowrap;pointer-events:auto;-webkit-user-select:none;user-select:none;transition:all .2s ease}.PricingPozoApp-Master .industiresPricingTab p:hover{background-color:#f3f4f6;transform:translateY(-1px)}.PricingPozoApp-Master .industiresPricingTab p.active{background-color:#525252;font-weight:500;color:#fff}.PricingPozoApp-Master .industiresPricingTab p.active:hover{background-color:#404040}.PricingPozoApp-Master .indusrtyDivsSearch{position:relative;display:flex;align-items:center;width:max-content;font-family:NeueMontreal}.PricingPozoApp-Master .indusrtyDivsSearch .searchIcon{position:absolute;left:12px;color:#6b7280;font-size:16px}.PricingPozoApp-Master .indusrtyDivsSearch input{padding:12px 16px 12px 40px;border:1px solid #e5e7eb;border-radius:25px;background:#fff;font-size:14px;width:300px;outline:none}.PricingPozoApp-Master .indusrtyDivsSearch .animatedPlaceholder{position:absolute;left:40px;top:12px;font-size:14px;color:#9ca3af;pointer-events:none;transform-origin:center;animation:flipText 2s infinite ease-in-out;backface-visibility:hidden}@keyframes flipText{0%{transform:translateY(0) rotateX(0);opacity:1}40%{transform:translateY(-50%) rotateX(90deg);opacity:0}60%{transform:translateY(50%) rotateX(300deg);opacity:0}to{transform:translateY(0) rotateX(360deg);opacity:1}}@media (max-width: 768px){.PricingPozoApp-Master .PricingPozoAppMain{padding:2rem 1rem;min-height:50vh}.PricingPozoApp-Master .PricingPozoAppTitle div{font-size:8vw}.PricingPozoApp-Master .userReview{position:static;justify-content:center;margin-top:2rem}.PricingPozoApp-Master .userReview img{width:100px}.PricingPozoApp-Master .pricingSection{padding:2rem 1rem}.PricingPozoApp-Master .pricingSection .pricingCards{grid-template-columns:1fr;gap:.5rem;justify-content:space-between}.PricingPozoApp-Master .addonsSection{padding:2rem 1rem}.PricingPozoApp-Master .addonsSection .addonsHeader h2{font-size:2rem}.PricingPozoApp-Master .footer{padding:2rem 1rem 1rem}.PricingPozoApp-Master .footer .footerContent{grid-template-columns:1fr;text-align:center}}@media (max-width: 500px){.PricingPozoApp-Master .planTabs{margin:0!important}.PricingPozoApp-Master .pricingCard,.PricingPozoApp-Master .addonCard{padding:1.5rem}.PricingPozoApp-Master .addonCards{grid-template-columns:1fr;gap:1.5rem}}.PricingPozoApp-Master .pricingSection{width:100%;padding:2rem 0}.PricingPozoApp-Master .pricingscrolBTN{height:40px;width:40px;padding:12px 15px;color:#000;background-color:#fff;border-radius:50pc;display:flex;font-weight:300;cursor:pointer;box-shadow:0 2px 8px #0000001a;transition:all .2s ease;z-index:10}.PricingPozoApp-Master .pricingscrolBTN:hover{background:#f9fafb;transform:scale(1.05)}.PricingPozoApp-Master .pricingscrolBTN svg{color:#374151;font-size:18px}.cardCounter{text-align:center;margin-top:1rem;font-family:NeueMontreal;font-size:14px;color:#6b7280;font-weight:500}.solutions-page{min-height:100vh;background:#000;color:#fff;font-family:NeueMontreal,sans-serif;overflow-x:hidden}.solutions-hero{position:relative;min-height:70vh;display:flex;align-items:center;justify-content:flex-start;padding:140px 1.5rem 100px;overflow:hidden;background:#000}@media (max-width: 768px){.solutions-hero{min-height:60vh;padding:120px 1.5rem 80px}}@media (min-width: 1920px){.solutions-hero{max-width:1800px;margin:0 auto;padding:160px 2rem 120px}}.solutions-hero .solutions-hero-background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0}.solutions-hero .solutions-hero-background .gradient-orb{position:absolute;border-radius:50%;filter:blur(100px);opacity:.15;animation:float 20s ease-in-out infinite}.solutions-hero .solutions-hero-background .gradient-orb.orb-1{width:500px;height:500px;background:radial-gradient(circle,#667eea 0%,transparent 70%);top:-200px;left:-200px;animation-delay:0s}.solutions-hero .solutions-hero-background .gradient-orb.orb-2{width:400px;height:400px;background:radial-gradient(circle,#f093fb 0%,transparent 70%);bottom:-150px;right:-150px;animation-delay:8s}.solutions-hero .solutions-hero-content{position:relative;z-index:1;max-width:1200px;margin:0;width:100%}@media (min-width: 1920px){.solutions-hero .solutions-hero-content{max-width:1400px}}.solutions-hero .solutions-hero-content .hero-badge{display:inline-block;background:transparent;border:none;margin-bottom:1.5rem;font-size:13px;font-weight:400;letter-spacing:1px;color:#ffffff80;text-transform:uppercase;position:relative;padding:0;transition:color .3s ease}.solutions-hero .solutions-hero-content .hero-badge:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:0;height:1px;background:rgba(255,255,255,.3);transition:width .3s ease}.solutions-hero .solutions-hero-content .hero-badge:hover{color:#ffffffb3}.solutions-hero .solutions-hero-content .hero-badge:hover:before{width:20px}@media (max-width: 768px){.solutions-hero .solutions-hero-content .hero-badge{font-size:12px;margin-bottom:1.25rem;letter-spacing:.8px}}.solutions-hero .solutions-hero-content .hero-title{font-size:clamp(2.5rem,5.5vw,4.5rem);font-weight:500;line-height:1.15;margin:0 0 1.75rem;letter-spacing:-.03em;color:#fff;font-family:NeueMontreal,sans-serif;max-width:900px;position:relative}@media (min-width: 1920px){.solutions-hero .solutions-hero-content .hero-title{font-size:4.5vw;margin-bottom:2rem}}@media (max-width: 768px){.solutions-hero .solutions-hero-content .hero-title{margin-bottom:1.5rem;line-height:1.2}}.solutions-hero .solutions-hero-content .hero-title .gradient-text{color:#fff;display:block;margin-top:.75rem;position:relative}.solutions-hero .solutions-hero-content .hero-description{font-size:clamp(1rem,1.3vw,1.2rem);color:#ffffffbf;line-height:1.65;max-width:700px;margin:0;font-weight:400;letter-spacing:-.015em;position:relative}@media (min-width: 1920px){.solutions-hero .solutions-hero-content .hero-description{font-size:1.25rem;line-height:1.7}}@media (max-width: 768px){.solutions-hero .solutions-hero-content .hero-description{line-height:1.6}}.solutions-grid-section{position:relative;padding:120px 1.5rem;background:#000}@media (max-width: 768px){.solutions-grid-section{padding:100px 1.5rem}}@media (min-width: 1920px){.solutions-grid-section{padding:140px 2rem}}.solutions-grid-section .solutions-container{max-width:1200px;margin:0 auto}@media (min-width: 1920px){.solutions-grid-section .solutions-container{max-width:1400px}}.solutions-grid-section .solutions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:2.5rem}@media (min-width: 1920px){.solutions-grid-section .solutions-grid{gap:3rem}}@media (max-width: 768px){.solutions-grid-section .solutions-grid{grid-template-columns:1fr;gap:2rem}}@media (max-width: 600px){.solutions-grid-section .solutions-grid{gap:1.5rem}}.solutions-grid-section .solution-card{position:relative;background:transparent;border:none;border-radius:0;padding:0;cursor:pointer;overflow:visible;transition:all .3s cubic-bezier(.4,0,.2,1)}.solutions-grid-section .solution-card:before{content:"";position:absolute;left:-1rem;top:0;bottom:0;width:2px;background:rgba(255,255,255,.1);opacity:0;transition:opacity .3s ease}.solutions-grid-section .solution-card:hover{transform:translate(3px)}@media (max-width: 900px){.solutions-grid-section .solution-card:hover{transform:none}}.solutions-grid-section .solution-card:hover:before{opacity:1}.solutions-grid-section .solution-card:hover .card-content{background:rgba(255,255,255,.03);padding-left:.5rem}.solutions-grid-section .solution-card:hover .card-icon-wrapper .card-icon{transform:scale(1.08);color:#fffffff2}.solutions-grid-section .solution-card:hover .card-title,.solutions-grid-section .solution-card:hover .card-link{color:#fff}.solutions-grid-section .solution-card:hover .card-link .arrow-icon{transform:translate(5px)}.solutions-grid-section .solution-card .card-content{padding:0;height:100%;display:flex;flex-direction:column;gap:.875rem;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative}.solutions-grid-section .solution-card .card-content .card-image{width:100%;max-width:200px;height:auto;border-radius:40px;overflow:hidden;margin-bottom:1rem;background:transparent;transition:all .3s cubic-bezier(.4,0,.2,1);align-self:flex-start}@media (min-width: 1920px){.solutions-grid-section .solution-card .card-content .card-image{max-width:220px}}@media (max-width: 768px){.solutions-grid-section .solution-card .card-content .card-image{max-width:180px;margin-bottom:.875rem}}@media (max-width: 600px){.solutions-grid-section .solution-card .card-content .card-image{max-width:150px;margin-bottom:.75rem}}.solutions-grid-section .solution-card .card-content .card-image img{width:100%;height:auto;border-radius:40px;object-fit:cover;display:block;transition:transform .3s cubic-bezier(.4,0,.2,1)}.solutions-grid-section .solution-card .card-content:hover .card-image img{transform:scale(1.02)}.solutions-grid-section .solution-card .card-content .card-icon-wrapper{width:40px;height:40px;border-radius:0;background:transparent;display:flex;align-items:center;justify-content:flex-start;margin-bottom:.25rem;border:none;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative}@media (min-width: 1920px){.solutions-grid-section .solution-card .card-content .card-icon-wrapper{width:45px;height:45px}}@media (max-width: 600px){.solutions-grid-section .solution-card .card-content .card-icon-wrapper{width:35px;height:35px}}.solutions-grid-section .solution-card .card-content .card-icon-wrapper:after{content:"";position:absolute;left:0;top:0;width:100%;height:100%;border:1px solid rgba(255,255,255,.1);opacity:0;transition:opacity .3s ease}.solutions-grid-section .solution-card .card-content .card-icon-wrapper:hover:after{opacity:1}.solutions-grid-section .solution-card .card-content .card-icon-wrapper .card-icon{font-size:24px;color:#fff9;transition:all .3s cubic-bezier(.4,0,.2,1);filter:brightness(1.2);position:relative;z-index:1}@media (min-width: 1920px){.solutions-grid-section .solution-card .card-content .card-icon-wrapper .card-icon{font-size:26px}}@media (max-width: 600px){.solutions-grid-section .solution-card .card-content .card-icon-wrapper .card-icon{font-size:20px}}.solutions-grid-section .solution-card .card-content:hover .card-icon-wrapper .card-icon{color:#fffffff2}.solutions-grid-section .solution-card .card-content .card-title{font-size:clamp(1.1rem,1.8vw,1.5rem);font-weight:400;margin:0;color:#fffffff2;line-height:1.3;letter-spacing:-.015em;font-family:NeueMontreal,sans-serif;transition:color .3s ease}@media (min-width: 1920px){.solutions-grid-section .solution-card .card-content .card-title{font-size:1.6rem}}@media (max-width: 600px){.solutions-grid-section .solution-card .card-content .card-title{font-size:1rem}}.solutions-grid-section .solution-card .card-content .card-description{font-size:clamp(14px,1.1vw,15px);color:#ffffffb3;line-height:1.55;margin:0;font-weight:400;letter-spacing:-.01em;transition:color .3s ease}@media (min-width: 1920px){.solutions-grid-section .solution-card .card-content .card-description{font-size:16px;line-height:1.6}}@media (max-width: 600px){.solutions-grid-section .solution-card .card-content .card-description{font-size:13px;line-height:1.45}}.solutions-grid-section .solution-card .card-content .card-footer{margin-top:.875rem;padding-top:.5rem;border-top:1px solid rgba(255,255,255,.05);transition:border-color .3s ease}@media (max-width: 600px){.solutions-grid-section .solution-card .card-content .card-footer{margin-top:.75rem;padding-top:.375rem}}.solution-card:hover .solutions-grid-section .solution-card .card-content .card-footer{border-color:#ffffff1a}.solutions-grid-section .solution-card .card-content .card-footer .card-link{display:inline-flex;align-items:center;gap:.5rem;font-size:clamp(13px,1vw,14px);font-weight:400;color:#fff9;transition:all .3s cubic-bezier(.4,0,.2,1);font-family:NeueMontreal,sans-serif;position:relative}.solutions-grid-section .solution-card .card-content .card-footer .card-link:after{content:"";position:absolute;bottom:-2px;left:0;width:0;height:1px;background:rgba(255,255,255,.3);transition:width .3s ease}.solutions-grid-section .solution-card .card-content .card-footer .card-link:hover:after{width:100%}@media (max-width: 600px){.solutions-grid-section .solution-card .card-content .card-footer .card-link{font-size:12px}}.solutions-grid-section .solution-card .card-content .card-footer .card-link .arrow-icon{font-size:16px;transition:transform .3s cubic-bezier(.4,0,.2,1)}@media (max-width: 600px){.solutions-grid-section .solution-card .card-content .card-footer .card-link .arrow-icon{font-size:14px}}.solutions-cta{padding:120px 1.5rem;background:#000;text-align:left}@media (max-width: 768px){.solutions-cta{padding:100px 1.5rem}}@media (min-width: 1920px){.solutions-cta{padding:140px 2rem}}.solutions-cta .cta-content{max-width:800px;margin:0}@media (min-width: 1920px){.solutions-cta .cta-content{max-width:1000px}}.solutions-cta .cta-content h2{font-size:clamp(2rem,4vw,3rem);font-weight:500;margin:0 0 1.25rem;letter-spacing:-.03em;color:#fff;font-family:NeueMontreal,sans-serif;line-height:1.15;position:relative}@media (min-width: 1920px){.solutions-cta .cta-content h2{font-size:3.5rem;margin-bottom:1.5rem}}@media (max-width: 768px){.solutions-cta .cta-content h2{margin-bottom:1rem}}.solutions-cta .cta-content p{font-size:clamp(1rem,1.2vw,1.15rem);color:#ffffffb3;margin:0 0 3rem;line-height:1.65;font-weight:400;letter-spacing:-.015em;max-width:600px;position:relative}@media (min-width: 1920px){.solutions-cta .cta-content p{font-size:1.25rem;line-height:1.7;margin-bottom:3.5rem}}@media (max-width: 768px){.solutions-cta .cta-content p{margin-bottom:2.5rem;line-height:1.6}}.solutions-cta .cta-content .cta-buttons{display:flex;gap:1rem;flex-wrap:wrap}.solutions-cta .cta-content .cta-buttons button{padding:.875rem 1.75rem;border-radius:8px;font-size:15px;font-weight:400;font-family:NeueMontreal,sans-serif;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);border:none;outline:none}@media (min-width: 1920px){.solutions-cta .cta-content .cta-buttons button{padding:1rem 2rem;font-size:16px}}@media (max-width: 600px){.solutions-cta .cta-content .cta-buttons button{padding:.75rem 1.5rem;font-size:14px}}.solutions-cta .cta-content .cta-buttons button.cta-primary{background:#fff;color:#000;position:relative;overflow:hidden}.solutions-cta .cta-content .cta-buttons button.cta-primary:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(0,0,0,.1),transparent);transition:left .5s ease}.solutions-cta .cta-content .cta-buttons button.cta-primary:hover{background:rgba(255,255,255,.95);transform:translateY(-2px);box-shadow:0 4px 12px #fff3}.solutions-cta .cta-content .cta-buttons button.cta-primary:hover:before{left:100%}.solutions-cta .cta-content .cta-buttons button.cta-secondary{background:transparent;border:1px solid rgba(255,255,255,.3);color:#fff;position:relative}.solutions-cta .cta-content .cta-buttons button.cta-secondary:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(255,255,255,.05);opacity:0;transition:opacity .3s ease}.solutions-cta .cta-content .cta-buttons button.cta-secondary:hover{background:rgba(255,255,255,.05);border-color:#ffffff80;transform:translateY(-1px)}.solutions-cta .cta-content .cta-buttons button.cta-secondary:hover:before{opacity:1}.Footer-Master{width:100%;background-color:#010101;padding:2rem 1rem 1rem;display:flex;align-items:flex-start;justify-content:space-between;gap:4rem;font-family:NeueMontreal}@media (max-width: 1024px){.Footer-Master{gap:3rem;padding:2.5rem 2rem 2rem}}@media (max-width: 768px){.Footer-Master{flex-direction:column;align-items:flex-start;padding:2rem 1.5rem 1.5rem;gap:2.5rem}}.Footer-Master .footerLeft{display:flex;flex-direction:column;align-items:flex-start;color:#fff}.Footer-Master .logoDesc{display:flex;align-items:center;gap:4px}.Footer-Master .logoDesc div{text-align:left;font-size:23px!important}.Footer-Master .clutter{font-size:16px!important;text-align:left;margin-top:1rem}@media (max-width: 768px){.Footer-Master .clutter{margin-top:1rem}}.Footer-Master .inputOfFooter{margin-top:2rem;border:1px solid white;border-radius:50px;display:flex;align-items:center;padding:10px 16px;width:250px;justify-content:space-around}.Footer-Master .inputOfFooter input{background-color:#000;color:#fff;border:none;outline:none}.Footer-Master .inputOfFooter button{border:none;background-color:unset;color:#fff;font-size:20px}.Footer-Master .footerRight{color:#fff;display:flex;align-items:flex-start;gap:2rem;flex:1;max-width:1000px}@media (max-width: 768px){.Footer-Master .footerRight{flex-direction:column;gap:2rem;width:100%}}.Footer-Master .footerProducts{display:flex;flex-direction:column;gap:0;width:100%;max-width:1100px}.Footer-Master .footerProducts .products-top-bar{display:flex;align-items:center;gap:2rem;margin-bottom:1.5rem;flex-wrap:wrap}@media (max-width: 900px){.Footer-Master .footerProducts .products-top-bar{flex-direction:column;align-items:stretch;gap:1rem}}.Footer-Master .footerProducts .products-heading{font-size:18px;font-family:NeueMontreal;font-weight:500;color:#fff;flex-shrink:0}@media (max-width: 900px){.Footer-Master .footerProducts .products-heading{margin-bottom:0}}.Footer-Master .footerProducts .products-search-box{position:relative;display:flex;align-items:center;flex:1;max-width:350px}@media (max-width: 900px){.Footer-Master .footerProducts .products-search-box{max-width:100%}}.Footer-Master .footerProducts .products-search-box .products-search-icon{position:absolute;left:16px;font-size:18px;color:#ffffff80;pointer-events:none;z-index:1}.Footer-Master .footerProducts .products-search-box .products-search-input{width:100%;padding:10px 40px 10px 45px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:8px;color:#fff;font-family:NeueMontreal;font-size:14px;transition:all .3s ease;outline:none}.Footer-Master .footerProducts .products-search-box .products-search-input::placeholder{color:#ffffff80}.Footer-Master .footerProducts .products-search-box .products-search-input:focus{background:rgba(255,255,255,.15);border-color:#3588fd;box-shadow:0 0 0 3px #3588fd1a}.Footer-Master .footerProducts .products-search-box .products-search-clear{position:absolute;right:12px;background:none;border:none;color:#fff;font-size:18px;cursor:pointer;padding:4px 8px;transition:all .2s ease;opacity:.6}.Footer-Master .footerProducts .products-search-box .products-search-clear:hover{opacity:1;transform:scale(1.1)}.Footer-Master .footerProducts .products-search-results-count{font-size:12px;color:#888;margin-bottom:1rem;font-family:NeueMontreal}.Footer-Master .footerProducts .footer-search-results{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem 2rem;margin-top:1rem}@media (max-width: 1024px){.Footer-Master .footerProducts .footer-search-results{grid-template-columns:repeat(2,1fr)}}@media (max-width: 600px){.Footer-Master .footerProducts .footer-search-results{grid-template-columns:1fr}}.Footer-Master .footerProducts .footer-search-results .search-result-item{font-size:14px;font-family:NeueMontreal;font-weight:400;color:#fff;cursor:pointer;transition:all .25s ease;padding:8px 12px;border-radius:6px;background:rgba(53,136,253,.05);border:1px solid rgba(53,136,253,.1)}.Footer-Master .footerProducts .footer-search-results .search-result-item:hover{color:#3588fd;background:rgba(53,136,253,.15);border-color:#3588fd4d;transform:translate(3px)}.Footer-Master .footerProducts .footer-no-results{text-align:center;padding:2rem;color:#888;font-family:NeueMontreal;font-size:14px}.Footer-Master .footerProducts .footer-no-results p{margin:0;color:#888!important;cursor:default!important}.Footer-Master .footerProducts .footer-no-results p:hover{color:#888!important;transform:none!important}.Footer-Master .footerProducts .footer-navigation{display:flex;align-items:center;gap:.8rem;margin-left:auto;flex-shrink:0}@media (max-width: 900px){.Footer-Master .footerProducts .footer-navigation{margin-left:0;justify-content:center}}.Footer-Master .footerProducts .footer-navigation .footer-nav-btn{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:#fff;width:36px;height:36px;border-radius:6px;font-size:20px;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;font-weight:300}.Footer-Master .footerProducts .footer-navigation .footer-nav-btn:hover:not(:disabled){background:rgba(53,136,253,.2);border-color:#3588fd;transform:scale(1.05)}.Footer-Master .footerProducts .footer-navigation .footer-nav-btn:disabled{opacity:.3;cursor:not-allowed}.Footer-Master .footerProducts .footer-navigation .footer-page-indicator{font-size:12px;color:#888;font-family:NeueMontreal;min-width:60px;text-align:center}.Footer-Master .footerProducts .footer-columns-wrapper{display:flex;gap:4rem}@media (max-width: 1024px){.Footer-Master .footerProducts .footer-columns-wrapper{gap:3rem}}@media (max-width: 768px){.Footer-Master .footerProducts .footer-columns-wrapper{flex-direction:column;gap:2rem}}.Footer-Master .footerProducts .footer-column{flex:1;display:flex;flex-direction:column;gap:.2rem;min-width:0}.Footer-Master .footerProducts .footer-column .footer-category{font-size:11px;font-family:NeueMontreal;font-weight:500;color:#888;text-transform:uppercase;letter-spacing:.8px}.Footer-Master .footerProducts .footer-column .footer-category:first-child{margin-top:0}@media (max-width: 600px){.Footer-Master .footerProducts .footer-column .footer-category{font-size:10px}}.Footer-Master .footerProducts .footer-column p{font-size:13px;font-family:NeueMontreal;font-weight:400;color:#fff;cursor:pointer;transition:all .25s ease;line-height:1.9;padding:0;text-wrap:nowrap}.Footer-Master .footerProducts .footer-column p:hover{color:#3588fd;transform:translate(3px)}@media (max-width: 600px){.Footer-Master .footerProducts .footer-column p{font-size:13.5px;line-height:1.8}}.Footer-Master .footerContact{display:flex;flex-direction:column;gap:.5rem;min-width:100px}.Footer-Master .footerContact div{font-size:18px;font-family:NeueMontreal;font-weight:500;color:#fff;margin-bottom:.3rem}.Footer-Master .footerContact a{font-size:14px;font-family:NeueMontreal;font-weight:400;cursor:pointer;color:#fff;text-decoration:none;transition:all .25s ease;line-height:1.8}.Footer-Master .footerContact a:hover{color:#3588fd;transform:translate(3px)}.Footer-Master .footePhone{display:flex;flex-direction:column;gap:.5rem;min-width:100px}.Footer-Master .footePhone div{font-size:18px;font-family:NeueMontreal;font-weight:500;color:#fff;margin-bottom:.3rem}.Footer-Master .footePhone a{font-size:14px;font-family:NeueMontreal;font-weight:400;cursor:pointer;color:#fff;text-decoration:none;transition:all .25s ease;line-height:1.8;letter-spacing:.3px}.Footer-Master .footePhone a:hover{color:#3588fd;transform:translate(3px)}.policyDiv{background-color:#010101;padding:0 1rem .5rem;color:#fff;display:flex;justify-content:space-between}@media (max-width: 768px){.policyDiv{flex-direction:column;align-items:center;justify-content:center}}.policyDiv .FooterPolicy{display:flex;align-items:center;gap:16px;position:relative;z-index:10}.policyDiv .FooterPolicy p{font-size:12px;font-weight:400;letter-spacing:.2px;font-family:NeueMontreal;cursor:pointer;transition:color .3s ease}.policyDiv .FooterPolicy p:hover{color:#3588fd}.policyDiv .footerSocial{display:flex;align-items:flex-end;justify-content:flex-end;flex-direction:column;gap:1rem}@media (max-width: 768px){.policyDiv .footerSocial{flex-direction:column;align-items:center;justify-content:center;gap:10px}}.policyDiv .footerSocial div{font-size:14px;display:flex;align-items:center;gap:10px}.policyDiv .footerSocial svg{font-size:16px;cursor:pointer;color:#fff}.policyDiv .footerSocial p{font-size:14px;font-family:NeueMontreal;letter-spacing:.2px;font-weight:400;color:#565353}@media (max-width: 768px){.policyDiv .footerSocial p{text-align:center}}.footerPozoApp{background-color:#010101;font-weight:500;font-family:NeueMontreal;text-align:center}.footerPozoApp p{background:linear-gradient(180deg,rgba(143,143,143,.8196078431) 0%,rgba(11,11,11,.5098039216) 75%);font-size:clamp(2rem,22vw,25vw);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;color:transparent;line-height:1.1}.footerPozoApp div{position:unset!important}.solution-page{min-height:100vh;background:#000;color:#fff;font-family:NeueMontreal,Inter,-apple-system,BlinkMacSystemFont,sans-serif;overflow-x:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.solution-hero{position:relative;min-height:70vh;display:flex;align-items:center;justify-content:center;padding:140px 1.5rem 80px;overflow:hidden;background:#000}@media (max-width: 768px){.solution-hero{min-height:60vh;padding:120px 1.5rem 60px}}.solution-hero .hero-background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0}.solution-hero .hero-background .gradient-orb{position:absolute;border-radius:50%;filter:blur(100px);opacity:.15;animation:float 25s ease-in-out infinite}.solution-hero .hero-background .gradient-orb.orb-1{width:500px;height:500px;background:radial-gradient(circle,#667eea 0%,transparent 70%);top:-200px;left:-200px;animation-delay:0s}.solution-hero .hero-background .gradient-orb.orb-2{width:400px;height:400px;background:radial-gradient(circle,#f093fb 0%,transparent 70%);bottom:-150px;right:-150px;animation-delay:8s}.solution-hero .hero-content{position:relative;z-index:1;max-width:1200px;margin:0 auto;width:100%}.solution-hero .hero-content .hero-main{display:grid;grid-template-columns:1.2fr 1fr;gap:4rem;align-items:center;width:100%}@media (max-width: 968px){.solution-hero .hero-content .hero-main{grid-template-columns:1fr;gap:3rem}}.solution-hero .hero-content .hero-main .hero-text{display:flex;flex-direction:column;gap:2rem}.solution-hero .hero-content .hero-main .hero-image{display:flex;align-items:center;justify-content:center}.solution-hero .hero-content .hero-main .hero-image .hero-image-container{width:100%;max-width:500px;aspect-ratio:1;border-radius:16px;overflow:hidden;border:1px solid rgba(255,255,255,.05);transition:all .3s ease;background:rgba(255,255,255,.03)}.solution-hero .hero-content .hero-main .hero-image .hero-image-container:hover{border-color:#ffffff1a;transform:scale(1.02)}.solution-hero .hero-content .hero-main .hero-image .hero-image-container .hero-product-image{width:100%;height:100%;object-fit:cover;filter:brightness(1.1);transition:all .3s ease}.solution-hero .hero-content .hero-main .hero-image .hero-image-container:hover .hero-product-image{transform:scale(1.05);filter:brightness(1.2)}.solution-hero .hero-content .hero-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem 1rem;background:transparent;border:none;margin-bottom:1.5rem;font-size:13px;font-weight:400;letter-spacing:.3px;color:#fff9;text-transform:uppercase}.solution-hero .hero-content .hero-badge svg{font-size:16px}.solution-hero .hero-content .hero-title{font-size:clamp(2.5rem,6vw,5rem);font-weight:500;line-height:1.2;margin:0 0 1.5rem;letter-spacing:-.02em;color:#fff;font-family:NeueMontreal,sans-serif}.solution-hero .hero-content .hero-title .gradient-text{color:#fff;display:block;margin-top:.5rem}.solution-hero .hero-content .hero-description{font-size:clamp(1rem,1.4vw,1.25rem);color:#ffffffbf;line-height:1.6;max-width:700px;margin:0 0 2.5rem;font-weight:400;letter-spacing:-.01em}.solution-hero .hero-content .hero-cta{display:flex;gap:1rem;flex-wrap:wrap}.solution-hero .hero-content .hero-cta button{padding:.875rem 1.75rem;border-radius:8px;font-size:15px;font-weight:400;font-family:NeueMontreal,sans-serif;cursor:pointer;transition:all .3s ease;border:none;outline:none;display:inline-flex;align-items:center;gap:.5rem}.solution-hero .hero-content .hero-cta button.btn-primary{background:#fff;color:#000}.solution-hero .hero-content .hero-cta button.btn-primary:hover{background:rgba(255,255,255,.9);transform:translateY(-1px)}.solution-hero .hero-content .hero-cta button.btn-primary svg{transition:transform .3s ease;font-size:16px}.solution-hero .hero-content .hero-cta button.btn-primary:hover svg{transform:translate(3px)}.solution-hero .hero-content .hero-cta button.btn-secondary{background:transparent;border:1px solid rgba(255,255,255,.3);color:#fff}.solution-hero .hero-content .hero-cta button.btn-secondary:hover{background:rgba(255,255,255,.05);border-color:#ffffff80}.solution-features{padding:100px 1.5rem;background:#000}@media (max-width: 768px){.solution-features{padding:80px 1.5rem}}.solution-features .features-container{max-width:1200px;margin:0 auto}.solution-features .features-container .section-header{margin-bottom:3rem;text-align:left;max-width:600px}.solution-features .features-container .section-header h2{font-size:clamp(2rem,4vw,3rem);font-weight:500;margin:0 0 .75rem;letter-spacing:-.02em;color:#fff;font-family:NeueMontreal,sans-serif;line-height:1.2}.solution-features .features-container .section-header p{font-size:clamp(.95rem,1.2vw,1.1rem);color:#ffffff80;margin:0;font-weight:400;letter-spacing:-.01em;line-height:1.6}.solution-features .features-container .features-visual{margin-bottom:4rem;display:flex;justify-content:center;align-items:center}.solution-features .features-container .features-visual .features-image{width:100%;max-width:800px;margin:0 auto}.solution-features .features-container .features-visual .features-image .image-container{width:100%;aspect-ratio:16/9;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.05);transition:all .3s ease;background:rgba(255,255,255,.03)}.solution-features .features-container .features-visual .features-image .image-container:hover{border-color:#ffffff1a}.solution-features .features-container .features-visual .features-image .image-container .features-product-image{width:100%;height:100%;object-fit:cover;filter:brightness(1.1);transition:all .3s ease}.solution-features .features-container .features-visual .features-image .image-container:hover .features-product-image{transform:scale(1.05);filter:brightness(1.2)}.solution-features .features-container .features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}@media (max-width: 768px){.solution-features .features-container .features-grid{grid-template-columns:1fr;gap:1.25rem}}.solution-features .features-container .features-grid .feature-card{background:transparent;border:none;border-radius:0;padding:0;transition:all .3s ease;display:flex;flex-direction:column;gap:1rem;align-items:flex-start}.solution-features .features-container .features-grid .feature-card:hover{background:rgba(255,255,255,.03)}.solution-features .features-container .features-grid .feature-card .feature-icon{width:48px;height:48px;border-radius:0;background:transparent;display:flex;align-items:center;justify-content:flex-start;margin-bottom:0;border:none;flex-shrink:0}.solution-features .features-container .features-grid .feature-card .feature-icon svg{font-size:24px;color:#fff9;transition:color .3s ease}.solution-features .features-container .features-grid .feature-card:hover .feature-icon svg{color:#ffffffe6}.solution-features .features-container .features-grid .feature-card h3{font-size:1.1rem;font-weight:500;margin:0 0 .5rem;color:#fff;letter-spacing:-.01em;font-family:NeueMontreal,sans-serif;line-height:1.3}.solution-features .features-container .features-grid .feature-card p{font-size:14px;color:#ffffffbf;line-height:1.6;margin:0;font-weight:400;letter-spacing:-.01em}.solution-benefits{padding:100px 1.5rem;background:#000}@media (max-width: 768px){.solution-benefits{padding:80px 1.5rem}}.solution-benefits .benefits-container{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}@media (max-width: 968px){.solution-benefits .benefits-container{grid-template-columns:1fr;gap:3rem}}.solution-benefits .benefits-container .benefits-visual-image{display:flex;align-items:center;justify-content:center}.solution-benefits .benefits-container .benefits-visual-image .benefits-image-container{width:100%;max-width:500px;aspect-ratio:1;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.05);transition:all .3s ease;background:rgba(255,255,255,.03)}.solution-benefits .benefits-container .benefits-visual-image .benefits-image-container:hover{border-color:#ffffff1a;transform:scale(1.02)}.solution-benefits .benefits-container .benefits-visual-image .benefits-image-container .benefits-product-image{width:100%;height:100%;object-fit:cover;filter:brightness(1.1);transition:all .3s ease}.solution-benefits .benefits-container .benefits-visual-image .benefits-image-container:hover .benefits-product-image{transform:scale(1.05);filter:brightness(1.2)}.solution-benefits .benefits-container .benefits-content h2{font-size:clamp(2rem,4vw,3rem);font-weight:500;margin:0 0 2rem;letter-spacing:-.02em;color:#fff;font-family:NeueMontreal,sans-serif;line-height:1.2}.solution-benefits .benefits-container .benefits-content .benefits-list{display:flex;flex-direction:column;gap:1rem}.solution-benefits .benefits-container .benefits-content .benefits-list .benefit-item{display:flex;align-items:flex-start;gap:.875rem;padding:0;background:transparent;border:none;border-radius:0;transition:all .3s ease}.solution-benefits .benefits-container .benefits-content .benefits-list .benefit-item:hover{background:rgba(255,255,255,.03);padding-left:.25rem}.solution-benefits .benefits-container .benefits-content .benefits-list .benefit-item .check-icon{font-size:18px;color:#fff6;flex-shrink:0;margin-top:3px}.solution-benefits .benefits-container .benefits-content .benefits-list .benefit-item span{font-size:15px;color:#ffffffbf;line-height:1.6;font-weight:400;letter-spacing:-.01em}.solution-benefits .benefits-container .benefits-visual .visual-card{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border:none;border-radius:0;padding:0;text-align:left}.solution-benefits .benefits-container .benefits-visual .visual-card .visual-icon{font-size:48px;color:#ffffff1a;margin-bottom:2rem}.solution-benefits .benefits-container .benefits-visual .visual-card .visual-stats{display:flex;flex-direction:column;gap:2rem}.solution-benefits .benefits-container .benefits-visual .visual-card .visual-stats .stat .stat-value{font-size:2.5rem;font-weight:500;color:#fff;line-height:1;margin-bottom:.5rem;letter-spacing:-.02em}.solution-benefits .benefits-container .benefits-visual .visual-card .visual-stats .stat .stat-label{font-size:14px;color:#fff9;font-weight:400}.solution-use-cases{padding:100px 1.5rem;background:#000}@media (max-width: 768px){.solution-use-cases{padding:80px 1.5rem}}.solution-use-cases .use-cases-container{max-width:1200px;margin:0 auto}.solution-use-cases .use-cases-container .section-header{margin-bottom:4rem}.solution-use-cases .use-cases-container .section-header h2{font-size:clamp(2rem,4vw,3rem);font-weight:500;margin:0 0 .75rem;letter-spacing:-.02em;color:#fff;font-family:NeueMontreal,sans-serif;line-height:1.2}.solution-use-cases .use-cases-container .section-header p{font-size:clamp(.95rem,1.2vw,1.1rem);color:#fff9;margin:0;font-weight:400;letter-spacing:-.01em;line-height:1.5}.solution-use-cases .use-cases-container .use-cases-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;align-items:start}@media (max-width: 768px){.solution-use-cases .use-cases-container .use-cases-grid{grid-template-columns:1fr;gap:1.5rem}}.solution-use-cases .use-cases-container .use-cases-grid .use-case-card{background:transparent;border:none;border-radius:0;padding:0;transition:all .3s ease;display:flex;flex-direction:column;gap:1rem;align-items:flex-start}.solution-use-cases .use-cases-container .use-cases-grid .use-case-card:hover{background:rgba(255,255,255,.03)}.solution-use-cases .use-cases-container .use-cases-grid .use-case-card .use-case-icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;margin-bottom:0;border-radius:12px;background:rgba(255,255,255,.05);transition:all .3s ease;flex-shrink:0}.solution-use-cases .use-cases-container .use-cases-grid .use-case-card .use-case-icon svg{transition:all .3s ease}.solution-use-cases .use-cases-container .use-cases-grid .use-case-card:hover .use-case-icon{background:rgba(255,255,255,.1);transform:scale(1.1)}.solution-use-cases .use-cases-container .use-cases-grid .use-case-card:hover .use-case-icon svg{transform:scale(1.1)}.solution-use-cases .use-cases-container .use-cases-grid .use-case-card h3{font-size:1.25rem;font-weight:500;margin:0 0 .5rem;color:#fff;letter-spacing:-.01em;font-family:NeueMontreal,sans-serif;line-height:1.3}.solution-use-cases .use-cases-container .use-cases-grid .use-case-card p{font-size:14px;color:#ffffffb3;line-height:1.6;margin:0;font-weight:400;letter-spacing:-.01em}.solution-integrations{padding:100px 1.5rem;background:#000}@media (max-width: 768px){.solution-integrations{padding:80px 1.5rem}}.solution-integrations .integrations-container{max-width:1200px;margin:0 auto}.solution-integrations .integrations-container .section-header{margin-bottom:3rem;text-align:left}.solution-integrations .integrations-container .section-header h2{font-size:clamp(2rem,4vw,3rem);font-weight:500;margin:0 0 1rem;letter-spacing:-.02em;color:#fff;font-family:NeueMontreal,sans-serif;line-height:1.2}.solution-integrations .integrations-container .section-header p{font-size:clamp(.95rem,1.2vw,1.1rem);color:#fff9;margin:0;font-weight:400;letter-spacing:-.01em;line-height:1.6;max-width:700px}.solution-integrations .integrations-container .integrations-visual{margin-bottom:4rem;display:flex;justify-content:center;align-items:center}.solution-integrations .integrations-container .integrations-visual .integrations-image{width:100%;max-width:700px;margin:0 auto}.solution-integrations .integrations-container .integrations-visual .integrations-image .integrations-image-container{width:100%;aspect-ratio:16/9;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.05);transition:all .3s ease;background:rgba(255,255,255,.03)}.solution-integrations .integrations-container .integrations-visual .integrations-image .integrations-image-container:hover{border-color:#ffffff1a}.solution-integrations .integrations-container .integrations-visual .integrations-image .integrations-image-container .integrations-product-image{width:100%;height:100%;object-fit:cover;filter:brightness(1.1);transition:all .3s ease}.solution-integrations .integrations-container .integrations-visual .integrations-image .integrations-image-container:hover .integrations-product-image{transform:scale(1.05);filter:brightness(1.2)}.solution-integrations .integrations-container .integrations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;align-items:start}@media (max-width: 768px){.solution-integrations .integrations-container .integrations-grid{grid-template-columns:1fr;gap:1.5rem}}.solution-integrations .integrations-container .integrations-grid .integration-item{background:transparent;border:none;border-radius:0;padding:0;transition:all .3s ease;display:flex;flex-direction:column;gap:1rem;align-items:flex-start}.solution-integrations .integrations-container .integrations-grid .integration-item:hover{background:rgba(255,255,255,.03)}.solution-integrations .integrations-container .integrations-grid .integration-item .integration-icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;margin-bottom:0;border-radius:12px;background:rgba(255,255,255,.05);transition:all .3s ease;flex-shrink:0}.solution-integrations .integrations-container .integrations-grid .integration-item .integration-icon svg{transition:all .3s ease}.solution-integrations .integrations-container .integrations-grid .integration-item:hover .integration-icon{background:rgba(255,255,255,.1);transform:scale(1.1)}.solution-integrations .integrations-container .integrations-grid .integration-item:hover .integration-icon svg{transform:scale(1.1)}.solution-integrations .integrations-container .integrations-grid .integration-item h3{font-size:1.1rem;font-weight:500;margin:0 0 .5rem;color:#fff;letter-spacing:-.01em;font-family:NeueMontreal,sans-serif;line-height:1.3}.solution-integrations .integrations-container .integrations-grid .integration-item p{font-size:14px;color:#ffffffb3;line-height:1.6;margin:0;font-weight:400;letter-spacing:-.01em}.solution-faq{padding:100px 1.5rem;background:#000}@media (max-width: 768px){.solution-faq{padding:80px 1.5rem}}.solution-faq .faq-container{max-width:900px;margin:0 auto}.solution-faq .faq-container .section-header{margin-bottom:4rem;text-align:left}.solution-faq .faq-container .section-header h2{font-size:clamp(2rem,4vw,3rem);font-weight:500;margin:0 0 .75rem;letter-spacing:-.02em;color:#fff;font-family:NeueMontreal,sans-serif;line-height:1.2}.solution-faq .faq-container .section-header p{font-size:clamp(.95rem,1.2vw,1.1rem);color:#fff9;margin:0;font-weight:400;letter-spacing:-.01em;line-height:1.5}.solution-faq .faq-container .faq-list{display:flex;flex-direction:column;gap:.75rem}.solution-faq .faq-container .faq-list .faq-item{background:transparent;border:none;border-radius:0;border-bottom:1px solid rgba(255,255,255,.1);padding:0;transition:all .3s ease}.solution-faq .faq-container .faq-list .faq-item:last-child{border-bottom:none}.solution-faq .faq-container .faq-list .faq-item.open .faq-question h3{color:#fff}.solution-faq .faq-container .faq-list .faq-item.open .faq-question .faq-toggle{transform:rotate(45deg)}.solution-faq .faq-container .faq-list .faq-item.open .faq-answer{max-height:500px;opacity:1;padding-top:1rem}.solution-faq .faq-container .faq-list .faq-item .faq-question{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 0;cursor:pointer;transition:all .3s ease}.solution-faq .faq-container .faq-list .faq-item .faq-question:hover h3{color:#fff}.solution-faq .faq-container .faq-list .faq-item .faq-question h3{font-size:1.1rem;font-weight:500;margin:0;color:#ffffffe6;letter-spacing:-.01em;font-family:NeueMontreal,sans-serif;transition:color .3s ease;flex:1;text-align:left}.solution-faq .faq-container .faq-list .faq-item .faq-question .faq-toggle{font-size:24px;color:#fff9;font-weight:300;transition:all .3s ease;flex-shrink:0;margin-left:1rem;line-height:1}.solution-faq .faq-container .faq-list .faq-item .faq-answer{max-height:0;opacity:0;overflow:hidden;transition:all .3s ease;padding:0}.solution-faq .faq-container .faq-list .faq-item .faq-answer p{font-size:15px;color:#ffffffb3;line-height:1.6;margin:0;font-weight:400;letter-spacing:-.01em;padding-bottom:1.25rem}.solution-cta{padding:100px 1.5rem;background:#000;text-align:left}@media (max-width: 768px){.solution-cta{padding:80px 1.5rem}}.solution-cta .cta-content{max-width:800px;margin:0 auto}.solution-cta .cta-content h2{font-size:clamp(2rem,4vw,3rem);font-weight:500;margin:0 0 1rem;letter-spacing:-.02em;color:#fff;font-family:NeueMontreal,sans-serif;line-height:1.2}.solution-cta .cta-content p{font-size:clamp(1rem,1.2vw,1.1rem);color:#ffffffbf;margin:0 0 2rem;line-height:1.6;font-weight:400;letter-spacing:-.01em}.solution-cta .cta-content .cta-buttons{display:flex;gap:1rem;flex-wrap:wrap}.solution-cta .cta-content .cta-buttons button{padding:.875rem 1.75rem;border-radius:8px;font-size:15px;font-weight:400;font-family:NeueMontreal,sans-serif;cursor:pointer;transition:all .3s ease;border:none;outline:none}.solution-cta .cta-content .cta-buttons button.btn-primary{background:#fff;color:#000}.solution-cta .cta-content .cta-buttons button.btn-primary:hover{background:rgba(255,255,255,.9);transform:translateY(-1px)}.solution-cta .cta-content .cta-buttons button.btn-secondary{background:transparent;border:1px solid rgba(255,255,255,.3);color:#fff}.solution-cta .cta-content .cta-buttons button.btn-secondary:hover{background:rgba(255,255,255,.05);border-color:#ffffff80}@keyframes float{0%,to{transform:translate(0) scale(1)}33%{transform:translate(30px,-30px) scale(1.1)}66%{transform:translate(-20px,20px) scale(.9)}}.case-studies-page{min-height:100vh;background:#000;color:#fff;font-family:NeueMontreal,sans-serif}.case-studies-hero{padding:120px 2rem 80px;text-align:center;background:linear-gradient(135deg,#000 0%,#1a1a1a 100%)}@media (max-width: 768px){.case-studies-hero{padding:100px 1.5rem 60px}}.case-studies-hero .case-studies-hero-content{max-width:800px;margin:0 auto}.case-studies-hero .case-studies-hero-content h1{font-size:56px;font-weight:700;margin:0 0 1.5rem;background:linear-gradient(135deg,#fff 0%,#999 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}@media (max-width: 768px){.case-studies-hero .case-studies-hero-content h1{font-size:36px}}.case-studies-hero .case-studies-hero-content p{font-size:22px;color:#999;margin:0;line-height:1.5}@media (max-width: 768px){.case-studies-hero .case-studies-hero-content p{font-size:18px}}.case-studies-container{padding:120px 2rem;max-width:800px;margin:0 auto;text-align:center}@media (max-width: 768px){.case-studies-container{padding:80px 1.5rem}}.case-studies-container .coming-soon-message h2{font-size:48px;font-weight:600;margin:0 0 1.5rem;color:#fff}@media (max-width: 768px){.case-studies-container .coming-soon-message h2{font-size:32px}}.case-studies-container .coming-soon-message p{font-size:20px;color:#999;line-height:1.6;margin:0}@media (max-width: 768px){.case-studies-container .coming-soon-message p{font-size:18px}}.gateway-tabs{display:flex;gap:10px;margin-bottom:16px;font-family:Poppins,sans-serif}.gateway-tabs .tab-disabled{background-color:#f5f5f5;border-color:#d9d9d9;color:#999;cursor:not-allowed;pointer-events:none}.gateway-tabs .tab-disabled:hover{background-color:#f5f5f5;border-color:#d9d9d9;color:#999}.gateway-tabs button{padding:10px 20px;border:1px solid #d9d9d9;border-radius:6px;background-color:#f8f9fa;font-size:14px;color:#333;cursor:pointer;transition:all .2s ease-in-out;font-family:Poppins,sans-serif}.gateway-tabs button:hover{background-color:#e6f4ff;border-color:#1677ff;color:#1677ff}.gateway-tabs .btnActive{background-color:#1677ff;color:#fff;border-color:#1677ff}.formDivGatewayMaster{background:#fff;border:1px solid #f0f0f0;border-radius:10px;padding:16px}.formDivAnt{margin-top:12px}.formDivSGate{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:16px}.formNameHeader{display:flex;justify-content:space-between;align-items:center}.viewList{padding:5px 10px;background-color:#34c00a;border-radius:6px;font-weight:500;font-family:Poppins;font-size:15px;cursor:pointer}@media (max-width: 768px){.formDivS{grid-template-columns:1fr}}.instructions{background:#f8fbff;border:1px dashed #b3d4ff;color:#35507a;padding:10px 20px;border-radius:8px;margin-bottom:12px;width:100vh}.gateway-type{margin:8px 0 12px}.gateway-type p{margin:0 0 8px;font-weight:600}.type-buttons{display:inline-flex;gap:8px}.type-buttons button{font-family:Poppins;padding:6px 12px;border:1px solid #d0d7de;background:#fff;border-radius:20px;color:#334155;cursor:pointer;transition:all .2s ease-in-out}.type-buttons button:hover{border-color:#1677ff;color:#1677ff}.type-buttons .selected{background:#e6f4ff;border-color:#1677ff;color:#1677ff}.save-btn-primary{background:#1677ff;color:#fff;border:none;padding:10px 16px;border-radius:6px;cursor:pointer;transition:background .2s ease-in-out;font-family:Poppins}.save-btn-primary:disabled{opacity:.7;cursor:not-allowed}.save-btn-primary:hover:not(:disabled){background:#0f65da}.whatsapp-section{display:flex;flex-direction:column;min-height:360px}.whatsapp-section .formDivAnt{flex:1 1 auto;display:flex;flex-direction:column}.whatsapp-section .formDivAnt .ant-form-item:last-child{margin-top:auto}.empty-state{padding:16px;border-radius:8px;background:#f6ffed;border:1px solid #b7eb8f;color:#135200}.gateway-section{display:flex;flex-direction:column;min-height:360px}.gateway-section .formDivAnt{flex:1 1 auto;display:flex;flex-direction:column}.gateway-section .formDivAnt .ant-form-item:last-child{margin-top:auto}.actionDiv{display:flex;align-items:center;gap:10px}.gateway-tabs-list{display:flex;gap:12px}.gateway-tab-item{padding:8px 16px;border-radius:6px;background:#f5f5f5;cursor:pointer;font-weight:400;transition:all .3s ease}.gateway-tab-item:hover{background:#e6f7ff;color:#1890ff}.gateway-tab-item.active{background:#1890ff;color:#fff;font-weight:500;box-shadow:0 2px 6px #00000026}.admin-panel-container{display:flex;height:100vh;font-family:NeueMontreal,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,sans-serif;background:linear-gradient(135deg,#f5f7fa 0%,#e8eef5 100%);color:#1a202c;letter-spacing:-.01em}@media (max-width: 768px){.admin-panel-container{flex-direction:column}}.admin-panel-container .admin-panel-sidebar{width:290px;background:white;color:#1a202c;display:flex;flex-direction:column;box-shadow:2px 0 20px #00000014;position:relative;border-right:1px solid #e2e8f0}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-header{padding:18px 16px;border-bottom:1px solid #e2e8f0}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-header .admin-panel-logo{display:flex;align-items:center;gap:14px}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-header .admin-panel-logo svg{font-size:1.7rem;color:#5255c8}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-header .admin-panel-logo h1{margin:0;font-size:1.3rem;font-weight:700;color:#1e293b;letter-spacing:-.02em;font-family:Poppins,sans-serif}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav{flex:1;padding:12px 9px;overflow-y:auto;scrollbar-width:thin;scroll-behavior:smooth}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav::-webkit-scrollbar{width:4px}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav::-webkit-scrollbar-track{background:#f1f5f9}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav::-webkit-scrollbar-thumb:hover{background:#94a3b8}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav .admin-panel-nav-item{display:flex;align-items:center;padding:12px 16px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;margin:2px 0;border-radius:12px;background-color:#f8fafc}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav .admin-panel-nav-item:hover{background:#e8f4ff;transform:translate(2px)}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav .admin-panel-nav-item.active{background:#1e40af;box-shadow:0 2px 8px #1e40af26;transform:translate(0)}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav .admin-panel-nav-item.active .admin-panel-nav-icon{color:#fff;transform:scale(1.05)}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav .admin-panel-nav-item.active .admin-panel-nav-content .admin-panel-nav-title{color:#fff;font-weight:500}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav .admin-panel-nav-item.active .admin-panel-nav-content .admin-panel-nav-subtitle{color:#ffffffe6}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav .admin-panel-nav-item.active:after{content:"";position:absolute;right:12px;top:50%;transform:translateY(-50%);width:6px;height:6px;background:white;border-radius:50%;box-shadow:0 0 6px #fffc}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav .admin-panel-nav-item .admin-panel-nav-icon{font-size:1.35rem;color:#5255c8;margin-right:16px;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav .admin-panel-nav-item .admin-panel-nav-content{flex:1}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav .admin-panel-nav-item .admin-panel-nav-content .admin-panel-nav-title{display:block;font-size:.9375rem;font-weight:500;color:#374151;letter-spacing:-.01em;transition:all .3s ease;font-family:Poppins,sans-serif}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-nav .admin-panel-nav-item .admin-panel-nav-content .admin-panel-nav-subtitle{display:block;font-size:.75rem;color:#6b7280;font-weight:400;letter-spacing:.01em;transition:all .3s ease;font-family:NeueMontreal,sans-serif}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-footer{padding:24px 24px 14px;border-top:1px solid #e2e8f0}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-footer .admin-panel-user-profile{display:flex;align-items:center;padding:0;background:#f8fafc;border-radius:12px}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-footer .admin-panel-user-profile .admin-panel-user-avatar{width:40px;height:40px;background:#5255c8;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:500;font-size:.9rem;color:#fff;margin-right:12px}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-footer .admin-panel-user-profile .admin-panel-user-info{flex:1}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-footer .admin-panel-user-profile .admin-panel-user-info .admin-panel-user-name{display:block;font-size:.9rem;font-weight:600;color:#374151;font-family:Poppins,sans-serif}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-footer .admin-panel-user-profile .admin-panel-user-info .admin-panel-user-role{display:block;font-size:.8rem;color:#6b7280;font-family:NeueMontreal,sans-serif}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-footer .admin-panel-signout-btn{margin:16px 0 0;width:100%;transition:all .3s ease;display:flex;align-items:center;gap:10px;text-align:center;justify-content:center;padding:8px 12px;font-family:Poppins;border:none;background-color:#ced0ff;color:#1c22c5;border-radius:6px;border:1px solid #b9bbff;cursor:pointer}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-footer .admin-panel-signout-btn svg{display:flex}.admin-panel-container .admin-panel-sidebar .admin-panel-sidebar-footer .admin-panel-signout-btn:hover{color:#c91818}.admin-panel-container .admin-panel-main-content{flex:1;display:flex;flex-direction:column;overflow:hidden}.admin-panel-container .admin-panel-main-content .admin-panel-top-header{background:white;padding:10px 16px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.admin-panel-container .admin-panel-main-content .admin-panel-top-header .admin-panel-breadcrumbs{display:flex;align-items:center;gap:8px;font-size:.7rem;color:#64748b;font-family:Poppins,sans-serif}.admin-panel-container .admin-panel-main-content .admin-panel-top-header .admin-panel-breadcrumbs .admin-panel-breadcrumb-arrow{font-size:.75rem;color:#94a3b8;font-family:NeueMontreal,sans-serif}.admin-panel-container .admin-panel-main-content .admin-panel-top-header .admin-panel-breadcrumbs span:last-child{color:#1e293b;font-weight:500}.admin-panel-container .admin-panel-main-content .admin-panel-top-header .admin-panel-header-actions{display:flex;gap:12px}.admin-panel-container .admin-panel-main-content .admin-panel-top-header .admin-panel-header-actions button{background:transparent;border:1px solid #5255c8;color:#5255c8;padding:6px 12px;border-radius:6px;cursor:pointer;font-size:.775rem;font-family:NeueMontreal,sans-serif;display:flex;align-items:center;gap:8px;transition:all .2s ease}.admin-panel-container .admin-panel-main-content .admin-panel-top-header .admin-panel-header-actions button:hover{background:#f9fafb;border-color:#9ca3af}.admin-panel-container .admin-panel-main-content .admin-panel-main-header{background:white;padding:16px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 3px #00000005}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-header-left{display:flex;align-items:center;gap:20px}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-header-left .admin-panel-header-icon{width:50px;height:50px;background:linear-gradient(135deg,#1e40af 0%,#5470cc 100%);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.5rem;box-shadow:0 8px 20px #6366f140;position:relative}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-header-left .admin-panel-header-icon:before{content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;background:linear-gradient(135deg,#5255c8,#8b5cf6,#a855f7);border-radius:18px;z-index:-1;opacity:.3;filter:blur(8px)}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-header-left .admin-panel-header-content h1{margin:0;font-size:1.3rem;font-weight:800;color:#000;letter-spacing:-.03em;line-height:1.4;font-family:Poppins,sans-serif}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-header-left .admin-panel-header-content p{color:#64748b;font-size:.7rem;font-weight:400;letter-spacing:-.01em;font-family:Poppins,sans-serif}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-create-btn{background:linear-gradient(135deg,#5255c8 0%,#7c80f3 100%);color:#fff;border:none;padding:10px 16px;border-radius:8px;font-weight:400;font-size:14px;cursor:pointer;font-family:Poppins,sans-serif;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:10px;box-shadow:0 4px 12px #6366f140;position:relative;overflow:hidden}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-create-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-create-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px #6366f159}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-create-btn:hover:before{left:100%}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-create-btn:active{transform:translateY(0)}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation{background:white;padding:12px 20px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-buttons{display:flex;gap:8px}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-buttons .admin-panel-tab-btn{padding:8px 16px;border:none;background:transparent;color:#64748b;font-weight:500;cursor:pointer;border-radius:6px;transition:all .2s ease;font-family:Poppins,sans-serif}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-buttons .admin-panel-tab-btn.active{background:#f1f5f9;color:#1e293b}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-buttons .admin-panel-tab-btn:hover:not(.active){background:#f8fafc;color:#475569}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-controls{display:flex;align-items:center;gap:16px}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-controls .admin-panel-sort-dropdown{position:relative;display:flex;align-items:center}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-controls .admin-panel-sort-dropdown .admin-panel-dropdown-icon{position:absolute;right:12px;color:#64748b;font-size:.875rem;pointer-events:none;z-index:1;font-family:NeueMontreal,sans-serif}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-controls .admin-panel-sort-dropdown select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:white;border:1px solid #d1d5db;padding:8px 32px 8px 12px;border-radius:6px;font-size:.875rem;color:#374151;cursor:pointer;min-width:140px;font-family:NeueMontreal,sans-serif}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-controls .admin-panel-sort-dropdown select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-controls .admin-panel-view-toggle{display:flex;background:#f1f5f9;border-radius:6px;padding:2px}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-controls .admin-panel-view-toggle .admin-panel-view-btn{background:transparent;border:none;padding:8px;cursor:pointer;border-radius:4px;color:#64748b;transition:all .2s ease}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-controls .admin-panel-view-toggle .admin-panel-view-btn.active{background:white;color:#1e293b;box-shadow:0 1px 3px #0000001a}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-controls .admin-panel-view-toggle .admin-panel-view-btn:hover:not(.active){color:#475569}.admin-panel-container .admin-panel-main-content .admin-panel-content-area{flex:1;overflow-y:auto;background:#f8fafc}.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form{background:transparent;padding:0;border-radius:0;box-shadow:none;margin:0}.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .hero-section-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .offerings-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .ecosystem-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .trending-apps-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .faq-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .cta-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .footer-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .banner-section-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .hero-section-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .offerings-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .ecosystem-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .trending-apps-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .faq-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .cta-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .footer-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .banner-section-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .hero-section-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .offerings-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .ecosystem-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .trending-apps-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .faq-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .cta-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .footer-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .banner-section-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .hero-section-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .offerings-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .ecosystem-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .trending-apps-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .faq-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .cta-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .footer-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .banner-section-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .hero-section-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .offerings-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .ecosystem-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .trending-apps-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .faq-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .cta-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .footer-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .banner-section-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .hero-section-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .offerings-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .ecosystem-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .trending-apps-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .faq-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .cta-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .footer-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .banner-section-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .hero-section-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .offerings-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .ecosystem-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .trending-apps-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .faq-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .cta-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .footer-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .banner-section-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .hero-section-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .offerings-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .ecosystem-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .trending-apps-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .faq-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .cta-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .footer-header,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .banner-section-header{display:none}.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .hero-section-form .banner-content,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .offerings-form .banner-content,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .ecosystem-form .banner-content,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .trending-apps-form .banner-content,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .faq-form .banner-content,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .CTASectionFormMaster .banner-content,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .FooterFormMaster .banner-content,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-content-area .banner-section-form .banner-content{background:transparent;padding:0;border-radius:0;box-shadow:none;border:none}.admin-panel-container .admin-panel-main-content .admin-panel-placeholder-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:64px 32px;text-align:center}.admin-panel-container .admin-panel-main-content .admin-panel-placeholder-content .admin-panel-placeholder-icon{width:80px;height:80px;background:linear-gradient(135deg,#e2e8f0,#cbd5e1);border-radius:20px;display:flex;align-items:center;justify-content:center;color:#64748b;font-size:2rem;margin-bottom:32px}.admin-panel-container .admin-panel-main-content .admin-panel-placeholder-content h2{margin:0 0 16px;font-size:1.5rem;font-weight:600;color:#1e293b;font-family:Poppins,sans-serif}.admin-panel-container .admin-panel-main-content .admin-panel-placeholder-content p{margin:0;color:#64748b;font-size:1rem;font-family:Poppins,sans-serif}.admin-panel-container .admin-panel-main-content .admin-panel-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000;padding:32px}.admin-panel-container .admin-panel-main-content .admin-panel-create-modal{background:white;border-radius:12px;width:100%;max-width:600px;max-height:90vh;overflow:hidden;box-shadow:0 20px 60px #0003}.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-header{padding:24px 32px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;background:#f8fafc}.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-header h2{margin:0;font-size:1.25rem;font-weight:600;color:#1e293b;font-family:Poppins,sans-serif}.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-header .admin-panel-close-btn{background:none;border:none;font-size:1.5rem;color:#64748b;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s ease}.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-header .admin-panel-close-btn:hover{background:#e2e8f0;color:#374151}.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content{padding:32px;overflow-y:auto;max-height:calc(90vh - 80px)}.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .hero-section-form .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .hero-section-form .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .hero-section-form .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .hero-section-form .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .hero-section-form .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .hero-section-form .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .hero-section-form .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .hero-section-form .banner-content,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .offerings-form .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .offerings-form .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .offerings-form .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .offerings-form .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .offerings-form .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .offerings-form .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .offerings-form .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .offerings-form .banner-content,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .ecosystem-form .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .ecosystem-form .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .ecosystem-form .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .ecosystem-form .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .ecosystem-form .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .ecosystem-form .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .ecosystem-form .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .ecosystem-form .banner-content,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .trending-apps-form .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .trending-apps-form .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .trending-apps-form .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .trending-apps-form .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .trending-apps-form .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .trending-apps-form .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .trending-apps-form .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .trending-apps-form .banner-content,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .faq-form .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .faq-form .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .faq-form .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .faq-form .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .faq-form .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .faq-form .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .faq-form .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .faq-form .banner-content,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .CTASectionFormMaster .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .CTASectionFormMaster .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .CTASectionFormMaster .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .CTASectionFormMaster .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .CTASectionFormMaster .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .CTASectionFormMaster .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .CTASectionFormMaster .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .CTASectionFormMaster .banner-content,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .FooterFormMaster .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .FooterFormMaster .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .FooterFormMaster .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .FooterFormMaster .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .FooterFormMaster .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .FooterFormMaster .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .FooterFormMaster .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .FooterFormMaster .banner-content,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .banner-section-form .form-container,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .banner-section-form .offeringsContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .banner-section-form .ecosystemContent,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .banner-section-form .form-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .banner-section-form .faq-inputs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .banner-section-form .cta-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .banner-section-form .footer-form,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .banner-section-form .banner-content{background:transparent;padding:0;border:none;box-shadow:none}.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .hero-section-form .hero-data-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .hero-section-form .apps-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .hero-section-form .added-titles,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .hero-section-form .saved-posters,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .hero-section-form .added-banners,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .hero-section-form .added-faqs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .hero-section-form .admin-cards-container,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .offerings-form .hero-data-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .offerings-form .apps-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .offerings-form .added-titles,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .offerings-form .saved-posters,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .offerings-form .added-banners,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .offerings-form .added-faqs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .offerings-form .admin-cards-container,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .ecosystem-form .hero-data-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .ecosystem-form .apps-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .ecosystem-form .added-titles,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .ecosystem-form .saved-posters,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .ecosystem-form .added-banners,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .ecosystem-form .added-faqs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .ecosystem-form .admin-cards-container,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .trending-apps-form .hero-data-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .trending-apps-form .apps-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .trending-apps-form .added-titles,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .trending-apps-form .saved-posters,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .trending-apps-form .added-banners,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .trending-apps-form .added-faqs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .trending-apps-form .admin-cards-container,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .faq-form .hero-data-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .faq-form .apps-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .faq-form .added-titles,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .faq-form .saved-posters,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .faq-form .added-banners,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .faq-form .added-faqs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .faq-form .admin-cards-container,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .CTASectionFormMaster .hero-data-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .CTASectionFormMaster .apps-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .CTASectionFormMaster .added-titles,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .CTASectionFormMaster .saved-posters,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .CTASectionFormMaster .added-banners,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .CTASectionFormMaster .added-faqs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .CTASectionFormMaster .admin-cards-container,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .FooterFormMaster .hero-data-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .FooterFormMaster .apps-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .FooterFormMaster .added-titles,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .FooterFormMaster .saved-posters,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .FooterFormMaster .added-banners,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .FooterFormMaster .added-faqs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .FooterFormMaster .admin-cards-container,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .banner-section-form .hero-data-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .banner-section-form .apps-display,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .banner-section-form .added-titles,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .banner-section-form .saved-posters,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .banner-section-form .added-banners,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .banner-section-form .added-faqs,.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content .banner-section-form .admin-cards-container{display:none}.admin-panel-container .admin-panel-mobile-header{display:none;justify-content:space-between;align-items:center;padding:16px;background:white;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:100}.admin-panel-container .admin-panel-mobile-header .admin-panel-mobile-logo{display:flex;align-items:center;gap:8px;font-size:1.1rem;font-weight:600;color:#1e293b}.admin-panel-container .admin-panel-mobile-header .admin-panel-mobile-logo svg{color:#5255c8;font-size:1.2rem}.admin-panel-container .admin-panel-mobile-header .admin-panel-mobile-toggle{background:none;border:none;font-size:1.2rem;color:#5255c8;cursor:pointer;padding:6px;border-radius:6px;transition:all .2s ease}.admin-panel-container .admin-panel-mobile-header .admin-panel-mobile-toggle:hover{background:#edeeff;color:#3f45ff}.admin-panel-container .admin-panel-mobile-header .admin-panel-mobile-toggle svg{display:flex}.admin-panel-container .admin-panel-mobile-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:150}@media (max-width: 1024px){.admin-panel-container .admin-panel-sidebar{width:240px}.admin-panel-container .admin-panel-main-content .admin-panel-main-header,.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation,.admin-panel-container .admin-panel-main-content .admin-panel-top-header{padding:16px 24px}}@media (max-width: 768px){.admin-panel-container .admin-panel-mobile-header{display:flex}.admin-panel-container .admin-panel-mobile-overlay{display:block}.admin-panel-container .admin-panel-sidebar{position:fixed;top:0;left:-290px;width:290px;height:100vh;z-index:200;transition:left .3s ease;box-shadow:2px 0 20px #00000026}.admin-panel-container .admin-panel-sidebar.mobile-open{left:0}.admin-panel-container .admin-panel-main-content{width:100%}.admin-panel-container .admin-panel-main-content .admin-panel-top-header{padding:12px 16px}.admin-panel-container .admin-panel-main-content .admin-panel-top-header .admin-panel-breadcrumbs{font-size:.8rem}.admin-panel-container .admin-panel-main-content .admin-panel-main-header{flex-direction:column;gap:1rem;align-items:stretch;padding:16px}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-header-left{justify-content:center}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-header-left .admin-panel-header-content{text-align:center}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-header-left .admin-panel-header-content h1{font-size:1.1rem}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-header-left .admin-panel-header-content p{font-size:.8rem}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-create-btn{width:100%;justify-content:center}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation{flex-direction:column;gap:16px;align-items:stretch;padding:12px 16px}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-buttons{overflow-x:auto}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-buttons .admin-panel-tab-btn{white-space:nowrap;min-width:100px}.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation .admin-panel-tab-controls{justify-content:space-between;flex-wrap:wrap;gap:12px}.admin-panel-container .admin-panel-main-content .admin-panel-modal-overlay{padding:16px}.admin-panel-container .admin-panel-main-content .admin-panel-create-modal{max-height:95vh}.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-header{padding:16px 20px}.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-header h2{font-size:1.1rem}.admin-panel-container .admin-panel-main-content .admin-panel-create-modal .admin-panel-modal-content{padding:20px}}@media (max-width: 480px){.admin-panel-container .admin-panel-main-content .admin-panel-top-header,.admin-panel-container .admin-panel-main-content .admin-panel-main-header,.admin-panel-container .admin-panel-main-content .admin-panel-tab-navigation{padding:12px}.admin-panel-container .admin-panel-main-content .admin-panel-main-header .admin-panel-header-left .admin-panel-header-icon{width:40px;height:40px;font-size:1.2rem}.admin-panel-container .admin-panel-create-modal{margin:8px;max-height:calc(100vh - 16px)}.admin-panel-container .admin-panel-create-modal .admin-panel-modal-content{padding:16px}}.admin-panel-create-modal-form .form-group{margin-bottom:24px}.admin-panel-create-modal-form .form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151;font-size:.875rem;font-family:NeueMontreal,sans-serif}.admin-panel-create-modal-form .form-group input,.admin-panel-create-modal-form .form-group textarea,.admin-panel-create-modal-form .form-group select{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.admin-panel-create-modal-form .form-group input:focus,.admin-panel-create-modal-form .form-group textarea:focus,.admin-panel-create-modal-form .form-group select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.admin-panel-create-modal-form .form-group input.error,.admin-panel-create-modal-form .form-group textarea.error,.admin-panel-create-modal-form .form-group select.error{border-color:#ef4444}.admin-panel-create-modal-form .form-group input::placeholder,.admin-panel-create-modal-form .form-group textarea::placeholder,.admin-panel-create-modal-form .form-group select::placeholder{color:#9ca3af}.admin-panel-create-modal-form .form-group textarea{resize:vertical;min-height:100px}.admin-panel-create-modal-form .form-group .error-text{display:block;color:#ef4444;font-size:.75rem;margin-top:4px;font-family:NeueMontreal,sans-serif}.admin-panel-create-modal-form .form-group .image-mode-toggle{display:flex;margin-bottom:12px;background:#f3f4f6;border-radius:6px;padding:2px}.admin-panel-create-modal-form .form-group .image-mode-toggle .mode-btn{flex:1;padding:8px 16px;border:none;background:transparent;color:#6b7280;font-size:.875rem;font-weight:500;cursor:pointer;border-radius:4px;transition:all .2s ease}.admin-panel-create-modal-form .form-group .image-mode-toggle .mode-btn.active{background:white;color:#374151;box-shadow:0 1px 3px #0000001a}.admin-panel-create-modal-form .form-group .image-mode-toggle .mode-btn:hover:not(.active){color:#374151}.admin-panel-create-modal-form .form-actions{display:flex;gap:16px;margin-top:32px;padding-top:24px;border-top:1px solid #e5e7eb}.admin-panel-create-modal-form .form-actions button{flex:1;padding:12px 24px;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.admin-panel-create-modal-form .form-actions button.cancel-btn{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.admin-panel-create-modal-form .form-actions button.cancel-btn:hover{background:#e5e7eb}.admin-panel-create-modal-form .form-actions button.save-btn{background:#3b82f6;color:#fff;border:1px solid #3b82f6}.admin-panel-create-modal-form .form-actions button.save-btn:hover{background:#2563eb}.admin-panel-cards-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:28px;margin-top:24px}@media (max-width: 768px){.admin-panel-cards-container{grid-template-columns:1fr;gap:20px}}.admin-panel-card{background:white;border-radius:16px;overflow:hidden;box-shadow:0 1px 3px #0000000d,0 4px 12px #00000008;border:1px solid #e5e7eb;transition:all .4s cubic-bezier(.4,0,.2,1);position:relative}.admin-panel-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#5255c8,#8b5cf6,#a855f7);opacity:0;transition:opacity .3s ease}.admin-panel-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #00000014,0 16px 40px #0000000f;border-color:#d1d5db}.admin-panel-card:hover:before{opacity:1}.admin-panel-card .card-image{width:100%;height:180px;overflow:hidden;background:#f1f5f9}.admin-panel-card .card-image img{width:100%;height:100%;object-fit:cover}.admin-panel-card .card-content{padding:24px}.admin-panel-card .card-content .card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.admin-panel-card .card-content .card-header h3{margin:0;font-size:1.125rem;font-weight:700;color:#1e293b;line-height:1.4;letter-spacing:-.02em;font-family:Poppins,sans-serif}.admin-panel-card .card-content .card-header .status-badge{padding:6px 14px;border-radius:20px;font-size:.75rem;font-weight:600;white-space:nowrap;text-transform:uppercase;letter-spacing:.5px;font-family:NeueMontreal,sans-serif}.admin-panel-card .card-content .card-header .status-badge.active{background:linear-gradient(135deg,#dcfce7,#bbf7d0);color:#166534;box-shadow:0 2px 8px #16653426}.admin-panel-card .card-content .card-header .status-badge.inactive{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;box-shadow:0 2px 8px #92400e26}.admin-panel-card .card-content .card-description{color:#64748b;font-size:.9375rem;line-height:1.6;margin-bottom:20px;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-weight:400;font-family:Poppins,sans-serif}.admin-panel-card .card-content .card-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-top:12px;border-top:1px solid #f1f5f9}.admin-panel-card .card-content .card-meta .priority-badge{padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:500;font-family:NeueMontreal,sans-serif}.admin-panel-card .card-content .card-meta .priority-badge.high{background:#fee2e2;color:#991b1b}.admin-panel-card .card-content .card-meta .priority-badge.medium{background:#fef3c7;color:#92400e}.admin-panel-card .card-content .card-meta .priority-badge.low{background:#dcfce7;color:#166534}.admin-panel-card .card-content .card-meta .date{color:#94a3b8;font-size:.75rem;font-family:NeueMontreal,sans-serif}.admin-panel-card .card-content .card-actions{display:flex;gap:10px}.admin-panel-card .card-content .card-actions button{flex:1;padding:10px 16px;border:1.5px solid #e5e7eb;background:white;color:#475569;border-radius:10px;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);font-family:NeueMontreal,sans-serif;display:flex;align-items:center;justify-content:center;gap:6px}.admin-panel-card .card-content .card-actions button:hover{background:#f8fafc;border-color:#cbd5e1;transform:translateY(-1px)}.admin-panel-card .card-content .card-actions button.primary{background:linear-gradient(135deg,#5255c8,#8b5cf6);color:#fff;border-color:transparent;box-shadow:0 2px 8px #6366f140}.admin-panel-card .card-content .card-actions button.primary:hover{box-shadow:0 4px 12px #6366f159;transform:translateY(-2px)}.admin-panel-card .card-content .card-actions button.danger{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border-color:transparent;box-shadow:0 2px 8px #ef444440}.admin-panel-card .card-content .card-actions button.danger:hover{box-shadow:0 4px 12px #ef444459;transform:translateY(-2px)}.admin-panel-card .card-content .card-actions button:active{transform:translateY(0)}.backtohomefromAdminpanel{font-family:Poppins;font-size:12px;gap:4px;align-items:center;display:flex;cursor:pointer}.backtohomefromAdminpanel svg{display:flex}.banner-section-form-master{width:100%;height:100%;display:flex;flex-direction:column;font-family:NeueMontreal,-apple-system,BlinkMacSystemFont,sans-serif}.banner-section-form-master .banner-section-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0;padding:40px 40px 32px;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px #00000005}.banner-section-form-master .banner-section-form-header .banner-section-header-left{display:flex;align-items:center;gap:20px}.banner-section-form-master .banner-section-form-header .banner-section-header-left .banner-section-header-icon{width:50px;height:50px;background:linear-gradient(135deg,#8b5cf6 0%,#a855f7 50%,#c084fc 100%);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.5rem;box-shadow:0 4px 12px #8b5cf64d;border:1px solid rgba(255,255,255,.1)}.banner-section-form-master .banner-section-form-header .banner-section-header-left .banner-section-header-content{display:flex;flex-direction:column;align-items:flex-start}.banner-section-form-master .banner-section-form-header .banner-section-header-left .banner-section-header-content h2{font-size:2rem;font-weight:700;color:#1e293b;letter-spacing:-.03em;line-height:1.2;font-family:Poppins,sans-serif}.banner-section-form-master .banner-section-form-header .banner-section-header-left .banner-section-header-content p{margin:0;font-size:.9375rem;color:#64748b;font-weight:400;letter-spacing:-.01em;font-family:Poppins,sans-serif}.banner-section-form-master .banner-section-form-header .banner-section-create-btn{background:linear-gradient(135deg,#8b5cf6 0%,#a855f7 100%);color:#fff;border:none;padding:16px 32px;border-radius:12px;font-weight:600;font-size:.9375rem;cursor:pointer;font-family:Poppins,sans-serif;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:10px;box-shadow:0 4px 12px #8b5cf64d}.banner-section-form-master .banner-section-form-header .banner-section-create-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #8b5cf666}.banner-section-form-master .banner-section-tab-navigation{display:flex;justify-content:space-between;align-items:center;padding:16px 40px;border-bottom:1px solid #e5e7eb;background:#f8fafc}.banner-section-form-master .banner-section-tab-navigation .banner-section-tab-buttons{display:flex;gap:16px}.banner-section-form-master .banner-section-tab-navigation .banner-section-tab-buttons .banner-section-tab-btn{padding:8px 16px;border:none;background:transparent;color:#64748b;font-size:.875rem;font-weight:500;cursor:pointer;border-radius:8px;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.banner-section-form-master .banner-section-tab-navigation .banner-section-tab-buttons .banner-section-tab-btn.banner-section-active{background:#e2e8f0;color:#1e293b}.banner-section-form-master .banner-section-tab-navigation .banner-section-tab-buttons .banner-section-tab-btn:hover:not(.banner-section-active){background:#f1f5f9;color:#475569}.banner-section-form-master .banner-section-tab-navigation .banner-section-tab-controls{display:flex;align-items:center;gap:16px}.banner-section-form-master .banner-section-tab-navigation .banner-section-tab-controls .banner-section-sort-dropdown select{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;background:white;color:#374151;font-size:.875rem;font-family:NeueMontreal,sans-serif;cursor:pointer}.banner-section-form-master .banner-section-tab-navigation .banner-section-tab-controls .banner-section-sort-dropdown select:focus{outline:none;border-color:#3b82f6}.banner-section-form-master .banner-section-tab-navigation .banner-section-tab-controls .banner-section-view-toggle{display:flex;border:1px solid #d1d5db;border-radius:6px;overflow:hidden}.banner-section-form-master .banner-section-tab-navigation .banner-section-tab-controls .banner-section-view-toggle .banner-section-view-btn{padding:8px 12px;border:none;background:white;color:#64748b;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.banner-section-form-master .banner-section-tab-navigation .banner-section-tab-controls .banner-section-view-toggle .banner-section-view-btn.banner-section-active{background:#e2e8f0;color:#1e293b}.banner-section-form-master .banner-section-tab-navigation .banner-section-tab-controls .banner-section-view-toggle .banner-section-view-btn:hover:not(.banner-section-active){background:#f8fafc}.banner-section-form-master .banner-section-display{padding:32px}.banner-section-form-master .banner-section-display .banner-section-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}@media (max-width: 768px){.banner-section-form-master .banner-section-display .banner-section-grid{grid-template-columns:1fr;gap:16px}}.banner-section-form-master .banner-section-card{background:white;border-radius:16px;padding:24px;box-shadow:0 2px 8px #00000014;border:2px solid transparent;transition:all .3s cubic-bezier(.4,0,.2,1)}.banner-section-form-master .banner-section-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f;border-color:#e2e8f0}.banner-section-form-master .banner-section-card.banner-section-inactive{opacity:.7;border-color:#f6ad55}.banner-section-form-master .banner-section-card.banner-section-inactive .banner-section-status{color:#991b1b}.banner-section-form-master .banner-section-card .banner-section-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.banner-section-form-master .banner-section-card .banner-section-card-header h3{margin:0 16px 0 0;font-size:1.125rem;font-weight:700;color:#1e293b;line-height:1.4;letter-spacing:-.02em;font-family:Poppins,sans-serif;flex:1}.banner-section-form-master .banner-section-card .banner-section-card-header .banner-section-card-actions{display:flex;gap:8px;flex-wrap:wrap}.banner-section-form-master .banner-section-card .banner-section-card-header .banner-section-card-actions button{padding:6px 12px;border:none;border-radius:8px;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif;text-transform:uppercase;letter-spacing:.5px}.banner-section-form-master .banner-section-card .banner-section-card-header .banner-section-card-actions button.banner-section-edit-btn{background:#dbeafe;color:#1e40af}.banner-section-form-master .banner-section-card .banner-section-card-header .banner-section-card-actions button.banner-section-edit-btn:hover{background:#bfdbfe;transform:translateY(-1px)}.banner-section-form-master .banner-section-card .banner-section-card-header .banner-section-card-actions button.banner-section-delete-btn{background:#fee2e2;color:#991b1b}.banner-section-form-master .banner-section-card .banner-section-card-header .banner-section-card-actions button.banner-section-delete-btn:hover{background:#fecaca;transform:translateY(-1px)}.banner-section-form-master .banner-section-card .banner-section-card-header .banner-section-card-actions button.banner-section-status-btn.banner-section-activate{background:#dcfce7;color:#166534}.banner-section-form-master .banner-section-card .banner-section-card-header .banner-section-card-actions button.banner-section-status-btn.banner-section-activate:hover{background:#bbf7d0;transform:translateY(-1px)}.banner-section-form-master .banner-section-card .banner-section-card-header .banner-section-card-actions button.banner-section-status-btn.banner-section-deactivate{background:#fef3c7;color:#92400e}.banner-section-form-master .banner-section-card .banner-section-card-header .banner-section-card-actions button.banner-section-status-btn.banner-section-deactivate:hover{background:#fde68a;transform:translateY(-1px)}.banner-section-form-master .banner-section-card .banner-section-card-content p{margin:0 0 12px;font-size:.875rem;color:#64748b;line-height:1.5;font-family:NeueMontreal,sans-serif}.banner-section-form-master .banner-section-card .banner-section-card-content p strong{color:#374151;font-weight:600}.banner-section-form-master .banner-section-card .banner-section-card-content p.banner-section-created-date{font-size:.75rem;color:#94a3b8;margin-bottom:8px}.banner-section-form-master .banner-section-card .banner-section-card-content p.banner-section-status{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.banner-section-form-master .banner-section-card .banner-section-card-content p.banner-section-status.banner-section-active{color:#166534}.banner-section-form-master .banner-section-card .banner-section-card-content p.banner-section-status.banner-section-inactive{color:#991b1b}.banner-section-form-master .banner-section-card .banner-section-card-content p:last-child{margin-bottom:0}.banner-section-form-master .banner-section-placeholder-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 32px;text-align:center;background:transparent}.banner-section-form-master .banner-section-placeholder-content .banner-section-placeholder-icon{width:120px;height:120px;background:#f8fafc;border:2px solid #e2e8f0;border-radius:16px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:3.5rem;margin-bottom:40px;box-shadow:0 4px 12px #0000000d}.banner-section-form-master .banner-section-placeholder-content h2{margin:0 0 16px;font-size:1.75rem;font-weight:600;color:#1e293b;font-family:Poppins,sans-serif;letter-spacing:-.02em}.banner-section-form-master .banner-section-placeholder-content p{margin:0;color:#64748b;font-size:1rem;font-family:Poppins,sans-serif;line-height:1.5;max-width:400px}.banner-section-form-master .banner-section-form{padding:20px 0}.banner-section-form-master .banner-section-form .banner-section-form-group{margin-bottom:24px}.banner-section-form-master .banner-section-form .banner-section-form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151!important;font-size:.875rem;font-family:NeueMontreal,sans-serif}.banner-section-form-master .banner-section-form .banner-section-form-group input,.banner-section-form-master .banner-section-form .banner-section-form-group textarea{width:100%!important;padding:12px!important;border:1px solid #d1d5db!important;border-radius:6px!important;font-size:.875rem!important;transition:all .2s ease;font-family:NeueMontreal,sans-serif!important;box-sizing:border-box}.banner-section-form-master .banner-section-form .banner-section-form-group input:focus,.banner-section-form-master .banner-section-form .banner-section-form-group textarea:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.banner-section-form-master .banner-section-form .banner-section-form-group input::placeholder,.banner-section-form-master .banner-section-form .banner-section-form-group textarea::placeholder{color:#9ca3af!important}.banner-section-form-master .banner-section-form .banner-section-form-group textarea{resize:vertical;min-height:100px!important}.banner-section-form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:32px;padding-top:20px;border-top:1px solid #e5e7eb}.banner-section-form-actions button{padding:10px 20px;border:none;border-radius:8px;font-size:.875rem;font-weight:400;letter-spacing:.3px;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.banner-section-form-actions button.banner-section-save-btn{background:linear-gradient(135deg,#10b981 0%,#059669 100%);color:#fff;box-shadow:0 2px 8px #10b9814d}.banner-section-form-actions button.banner-section-save-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #10b98166}.banner-section-form-actions button.banner-section-cancel-btn{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.banner-section-form-actions button.banner-section-cancel-btn:hover{background:#e5e7eb;transform:translateY(-1px)}.banner-section-form-actions button.banner-section-clear-btn{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.banner-section-form-actions button.banner-section-clear-btn:hover{background:#fde68a;transform:translateY(-1px)}.ant-modal .banner-section-form{padding:20px 0}.ant-modal .banner-section-form .banner-section-form-group{margin-bottom:24px}.ant-modal .banner-section-form .banner-section-form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151!important;font-size:.875rem;font-family:NeueMontreal,sans-serif}.ant-modal .banner-section-form .banner-section-form-group input,.ant-modal .banner-section-form .banner-section-form-group textarea{width:100%!important;padding:12px!important;border:1px solid #d1d5db!important;border-radius:6px!important;font-size:.875rem!important;transition:all .2s ease;font-family:NeueMontreal,sans-serif!important;box-sizing:border-box}.ant-modal .banner-section-form .banner-section-form-group input:focus,.ant-modal .banner-section-form .banner-section-form-group textarea:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.ant-modal .banner-section-form .banner-section-form-group input::placeholder,.ant-modal .banner-section-form .banner-section-form-group textarea::placeholder{color:#9ca3af!important}.ant-modal .banner-section-form .banner-section-form-group textarea{resize:vertical;min-height:100px!important}@media (max-width: 768px){.banner-section-form-master .banner-section-display{padding:16px}.banner-section-form-master .banner-section-display h2{font-size:1.5rem;margin-bottom:24px}.banner-section-form-master .banner-section-card{padding:16px}.banner-section-form-master .banner-section-card .banner-section-card-header{flex-direction:column;align-items:flex-start;gap:12px}.banner-section-form-master .banner-section-card .banner-section-card-header h3{margin-right:0;margin-bottom:0}.banner-section-form-master .banner-section-card .banner-section-card-header .banner-section-card-actions{width:100%;justify-content:flex-start}.banner-section-form-master .banner-section-placeholder-content{margin:20px 0;padding:60px 16px}.banner-section-form-master .banner-section-placeholder-content .banner-section-placeholder-icon{width:100px;height:100px;font-size:3rem;margin-bottom:32px}.banner-section-form-master .banner-section-placeholder-content h2{font-size:1.5rem}.banner-section-form-master .banner-section-placeholder-content p{font-size:.875rem;max-width:300px}}.banner-section-form input.error,.banner-section-form textarea.error{border-color:#ef4444!important;box-shadow:0 0 0 3px #ef44441a!important}.banner-section-form .error-message{display:block;color:#ef4444;font-size:.75rem;margin-top:4px;font-family:NeueMontreal,sans-serif}.banner-section-card .ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-message .ant-popconfirm-message-text .ant-popconfirm-title{color:#991b1b}.cta-section-form-master{width:100%;height:100%;display:flex;flex-direction:column;font-family:NeueMontreal,-apple-system,BlinkMacSystemFont,sans-serif}.cta-section-form-master .cta-section-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0;padding:20px;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px #00000005}.cta-section-form-master .cta-section-form-header .cta-section-header-left{display:flex;align-items:center;gap:20px}.cta-section-form-master .cta-section-form-header .cta-section-header-left .cta-section-header-icon{width:45px;height:45px;background:linear-gradient(135deg,#5255c8 0%,#5e62d3 50%,#8d91fa 100%);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.3rem;box-shadow:0 4px 12px #f59e0b4d;border:1px solid rgba(255,255,255,.1)}.cta-section-form-master .cta-section-form-header .cta-section-header-left .cta-section-header-content{display:flex;flex-direction:column;align-items:flex-start}.cta-section-form-master .cta-section-form-header .cta-section-header-left .cta-section-header-content h2{font-size:1.5rem;font-weight:700;color:#1e293b;letter-spacing:-.03em;line-height:1.2;font-family:Poppins,sans-serif}.cta-section-form-master .cta-section-form-header .cta-section-header-left .cta-section-header-content p{margin:0;font-size:.7rem;color:#64748b;font-weight:400;letter-spacing:-.01em;font-family:Poppins,sans-serif}.cta-section-form-master .cta-section-form-header .cta-section-create-btn{background-color:#5255c8;color:#fff;border:none;padding:10px 16px;border-radius:8px;font-weight:400;font-size:14px;cursor:pointer;font-family:Poppins,sans-serif;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:10px}.cta-section-form-master .cta-section-form-header .cta-section-create-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #f59e0b66}.cta-section-form-master .cta-section-tab-navigation{display:flex;justify-content:space-between;align-items:center;padding:10px 20px;border-bottom:1px solid #e5e7eb;background:#f8fafc}.cta-section-form-master .cta-section-tab-navigation .cta-section-tab-buttons{display:flex;gap:16px}.cta-section-form-master .cta-section-tab-navigation .cta-section-tab-buttons .cta-section-tab-btn{padding:8px 16px;border:none;background:transparent;color:#64748b;font-size:.875rem;font-weight:500;cursor:pointer;border-radius:8px;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.cta-section-form-master .cta-section-tab-navigation .cta-section-tab-buttons .cta-section-tab-btn.cta-section-active{background:#e2e8f0;color:#1e293b}.cta-section-form-master .cta-section-tab-navigation .cta-section-tab-buttons .cta-section-tab-btn:hover:not(.cta-section-active){background:#f1f5f9;color:#475569}.cta-section-form-master .cta-section-tab-navigation .cta-section-tab-controls{display:flex;align-items:center;gap:16px}.cta-section-form-master .cta-section-tab-navigation .cta-section-tab-controls .cta-section-sort-dropdown select{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;background:white;color:#374151;font-size:.875rem;font-family:NeueMontreal,sans-serif;cursor:pointer}.cta-section-form-master .cta-section-tab-navigation .cta-section-tab-controls .cta-section-sort-dropdown select:focus{outline:none;border-color:#3b82f6}.cta-section-form-master .cta-section-tab-navigation .cta-section-tab-controls .cta-section-view-toggle{display:flex;border:1px solid #d1d5db;border-radius:6px;overflow:hidden}.cta-section-form-master .cta-section-tab-navigation .cta-section-tab-controls .cta-section-view-toggle .cta-section-view-btn{padding:8px 12px;border:none;background:white;color:#64748b;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.cta-section-form-master .cta-section-tab-navigation .cta-section-tab-controls .cta-section-view-toggle .cta-section-view-btn.cta-section-active{background:#e2e8f0;color:#1e293b}.cta-section-form-master .cta-section-tab-navigation .cta-section-tab-controls .cta-section-view-toggle .cta-section-view-btn:hover:not(.cta-section-active){background:#f8fafc}.cta-section-form-master .cta-section-display{padding:32px}.cta-section-form-master .cta-section-display .cta-section-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}@media (max-width: 768px){.cta-section-form-master .cta-section-display .cta-section-grid{grid-template-columns:1fr;gap:16px}}.cta-section-form-master .cta-section-card{background:white;border-radius:16px;padding:24px;box-shadow:0 2px 8px #00000014;border:2px solid transparent;transition:all .3s cubic-bezier(.4,0,.2,1)}.cta-section-form-master .cta-section-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f;border-color:#e2e8f0}.cta-section-form-master .cta-section-card.cta-section-inactive{opacity:.7;border-color:#fff}.cta-section-form-master .cta-section-card.cta-section-inactive .cta-section-status{color:#991b1b;margin-top:15px}.cta-section-form-master .cta-section-card .cta-section-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:6px}.cta-section-form-master .cta-section-card .cta-section-card-header h3{margin:0 16px 0 0;font-size:1rem;font-weight:700;color:#1e293b;line-height:1.4;letter-spacing:-.02em;font-family:Poppins,sans-serif;flex:1}.cta-section-form-master .cta-section-card .cta-section-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;align-items:flex-end;justify-content:flex-end}.cta-section-form-master .cta-section-card .cta-section-card-actions button{padding:2px 6px;border:none;border-radius:4px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:Poppins,sans-serif;text-transform:uppercase;letter-spacing:.5px;background-color:none;background:none}.cta-section-form-master .cta-section-card .cta-section-card-actions button.cta-section-edit-btn{color:#1e40af}.cta-section-form-master .cta-section-card .cta-section-card-actions button.cta-section-edit-btn:hover{background:#bfdbfe;transform:translateY(-1px)}.cta-section-form-master .cta-section-card .cta-section-card-actions button.cta-section-delete-btn{color:#991b1b!important}.cta-section-form-master .cta-section-card .cta-section-card-actions button.cta-section-delete-btn:hover{background:#fecaca!important;transform:translateY(-1px)}.cta-section-form-master .cta-section-card .cta-section-card-actions button.cta-section-status-btn.cta-section-activate{color:#166534}.cta-section-form-master .cta-section-card .cta-section-card-actions button.cta-section-status-btn.cta-section-activate:hover{background:#bbf7d0;transform:translateY(-1px)}.cta-section-form-master .cta-section-card .cta-section-card-actions button.cta-section-status-btn.cta-section-deactivate{color:#92400e}.cta-section-form-master .cta-section-card .cta-section-card-actions button.cta-section-status-btn.cta-section-deactivate:hover{background:#fde68a;transform:translateY(-1px)}.cta-section-form-master .cta-section-card .cta-section-card-content p{margin:0 0 12px;font-size:.875rem;color:#64748b;line-height:1.5;font-family:NeueMontreal,sans-serif}.cta-section-form-master .cta-section-card .cta-section-card-content p strong{color:#374151;font-weight:600}.cta-section-form-master .cta-section-card .cta-section-card-content p.cta-section-created-date{font-size:.75rem;color:#94a3b8;margin-bottom:8px}.cta-section-form-master .cta-section-card .cta-section-card-content p.cta-section-status{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.cta-section-form-master .cta-section-card .cta-section-card-content p.cta-section-status.cta-section-active{color:#166534;margin-top:15px}.cta-section-form-master .cta-section-card .cta-section-card-content p.cta-section-status.cta-section-inactive{color:#991b1b}.cta-section-form-master .cta-section-card .cta-section-card-content p:last-child{margin-bottom:0}.cta-section-form-master .cta-section-placeholder-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 32px;text-align:center;background:transparent}.cta-section-form-master .cta-section-placeholder-content .cta-section-placeholder-icon{width:120px;height:120px;background:#f8fafc;border:2px solid #e2e8f0;border-radius:16px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:3.5rem;margin-bottom:40px;box-shadow:0 4px 12px #0000000d}.cta-section-form-master .cta-section-placeholder-content h2{margin:0 0 16px;font-size:1.75rem;font-weight:600;color:#1e293b;font-family:Poppins,sans-serif;letter-spacing:-.02em}.cta-section-form-master .cta-section-placeholder-content p{margin:0;color:#64748b;font-size:1rem;font-family:Poppins,sans-serif;line-height:1.5;max-width:400px}.cta-section-form-master .cta-section-form{padding:20px 0}.cta-section-form-master .cta-section-form .cta-section-form-group{margin-bottom:24px}.cta-section-form-master .cta-section-form .cta-section-form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151!important;font-size:.875rem;font-family:NeueMontreal,sans-serif}.cta-section-form-master .cta-section-form .cta-section-form-group input{width:100%!important;padding:12px!important;border:1px solid #d1d5db!important;border-radius:6px!important;font-size:.875rem!important;transition:all .2s ease;font-family:NeueMontreal,sans-serif!important;box-sizing:border-box}.cta-section-form-master .cta-section-form .cta-section-form-group input:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.cta-section-form-master .cta-section-form .cta-section-form-group input::placeholder{color:#9ca3af!important}.cta-section-form-master .cta-section-form .cta-section-form-group input.error{border-color:#ef4444!important;box-shadow:0 0 0 3px #ef44441a!important}.cta-section-form-master .cta-section-form .cta-section-form-group .error-message{display:block;color:#ef4444;font-size:.75rem;margin-top:4px;font-family:NeueMontreal,sans-serif}.cta-section-form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:32px;padding-top:20px;border-top:1px solid #e5e7eb}.cta-section-form-actions button{padding:10px 20px;border:none;border-radius:8px;font-size:.875rem;font-weight:400;letter-spacing:.3px;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.cta-section-form-actions button.cta-section-save-btn{background:linear-gradient(135deg,#10b981 0%,#059669 100%);color:#fff;box-shadow:0 2px 8px #10b9814d}.cta-section-form-actions button.cta-section-save-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #10b98166}.cta-section-form-actions button.cta-section-cancel-btn{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.cta-section-form-actions button.cta-section-cancel-btn:hover{background:#e5e7eb;transform:translateY(-1px)}.cta-section-form-actions button.cta-section-clear-btn{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.cta-section-form-actions button.cta-section-clear-btn:hover{background:#fde68a;transform:translateY(-1px)}.ant-modal .cta-section-form{padding:20px 0}.ant-modal .cta-section-form .cta-section-form-group{margin-bottom:24px}.ant-modal .cta-section-form .cta-section-form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151!important;font-size:.875rem;font-family:NeueMontreal,sans-serif}.ant-modal .cta-section-form .cta-section-form-group input{width:100%!important;padding:12px!important;border:1px solid #d1d5db!important;border-radius:6px!important;font-size:.875rem!important;transition:all .2s ease;font-family:NeueMontreal,sans-serif!important;box-sizing:border-box}.ant-modal .cta-section-form .cta-section-form-group input:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.ant-modal .cta-section-form .cta-section-form-group input::placeholder{color:#9ca3af!important}.cta-section-card .ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-message .ant-popconfirm-message-text .ant-popconfirm-title{color:#991b1b}@media (max-width: 768px){.cta-section-form-master .cta-section-display{padding:16px}.cta-section-form-master .cta-section-display h2{font-size:1.5rem;margin-bottom:24px}.cta-section-form-master .cta-section-card{padding:16px}.cta-section-form-master .cta-section-card .cta-section-card-header{flex-direction:column;align-items:flex-start;gap:12px}.cta-section-form-master .cta-section-card .cta-section-card-header h3{margin-right:0;margin-bottom:0}.cta-section-form-master .cta-section-card .cta-section-card-header .cta-section-card-actions{width:100%;justify-content:flex-start}.cta-section-form-master .cta-section-placeholder-content{margin:20px 0;padding:60px 16px}.cta-section-form-master .cta-section-placeholder-content .cta-section-placeholder-icon{width:100px;height:100px;font-size:3rem;margin-bottom:32px}.cta-section-form-master .cta-section-placeholder-content h2{font-size:1.5rem}.cta-section-form-master .cta-section-placeholder-content p{font-size:.875rem;max-width:300px}}.ecosystem-section-form-master{width:100%;height:100%;display:flex;flex-direction:column;font-family:NeueMontreal,-apple-system,BlinkMacSystemFont,sans-serif}.ecosystem-section-form-master .ecosystem-section-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0;padding:40px 40px 32px;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px #00000005}.ecosystem-section-form-master .ecosystem-section-form-header .ecosystem-section-header-left{display:flex;align-items:center;gap:20px}.ecosystem-section-form-master .ecosystem-section-form-header .ecosystem-section-header-left .ecosystem-section-header-icon{width:50px;height:50px;background:linear-gradient(135deg,#8b5cf6 0%,#a855f7 50%,#c084fc 100%);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.5rem;box-shadow:0 4px 12px #8b5cf64d;border:1px solid rgba(255,255,255,.1)}.ecosystem-section-form-master .ecosystem-section-form-header .ecosystem-section-header-left .ecosystem-section-header-content{display:flex;flex-direction:column;align-items:flex-start}.ecosystem-section-form-master .ecosystem-section-form-header .ecosystem-section-header-left .ecosystem-section-header-content h2{font-size:2rem;font-weight:700;color:#1e293b;letter-spacing:-.03em;line-height:1.2;font-family:Poppins,sans-serif}.ecosystem-section-form-master .ecosystem-section-form-header .ecosystem-section-header-left .ecosystem-section-header-content p{margin:0;font-size:.9375rem;color:#64748b;font-weight:400;letter-spacing:-.01em;font-family:Poppins,sans-serif}.ecosystem-section-form-master .ecosystem-section-form-header .ecosystem-section-create-btn{background:linear-gradient(135deg,#8b5cf6 0%,#a855f7 100%);color:#fff;border:none;padding:16px 32px;border-radius:12px;font-weight:600;font-size:.9375rem;cursor:pointer;font-family:Poppins,sans-serif;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:10px;box-shadow:0 4px 12px #8b5cf64d}.ecosystem-section-form-master .ecosystem-section-form-header .ecosystem-section-create-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #8b5cf666}.ecosystem-section-form-master .ecosystem-section-tab-navigation{display:flex;justify-content:space-between;align-items:center;padding:16px 40px;border-bottom:1px solid #e5e7eb;background:#f8fafc}.ecosystem-section-form-master .ecosystem-section-tab-navigation .ecosystem-section-tab-buttons{display:flex;gap:16px}.ecosystem-section-form-master .ecosystem-section-tab-navigation .ecosystem-section-tab-buttons .ecosystem-section-tab-btn{padding:8px 16px;border:none;background:transparent;color:#64748b;font-size:.875rem;font-weight:500;cursor:pointer;border-radius:8px;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.ecosystem-section-form-master .ecosystem-section-tab-navigation .ecosystem-section-tab-buttons .ecosystem-section-tab-btn.ecosystem-section-active{background:#e2e8f0;color:#1e293b}.ecosystem-section-form-master .ecosystem-section-tab-navigation .ecosystem-section-tab-buttons .ecosystem-section-tab-btn:hover:not(.ecosystem-section-active){background:#f1f5f9;color:#475569}.ecosystem-section-form-master .ecosystem-section-tab-navigation .ecosystem-section-tab-controls{display:flex;align-items:center;gap:16px}.ecosystem-section-form-master .ecosystem-section-tab-navigation .ecosystem-section-tab-controls .ecosystem-section-sort-dropdown select{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;background:white;color:#374151;font-size:.875rem;font-family:NeueMontreal,sans-serif;cursor:pointer}.ecosystem-section-form-master .ecosystem-section-tab-navigation .ecosystem-section-tab-controls .ecosystem-section-sort-dropdown select:focus{outline:none;border-color:#3b82f6}.ecosystem-section-form-master .ecosystem-section-tab-navigation .ecosystem-section-tab-controls .ecosystem-section-view-toggle{display:flex;border:1px solid #d1d5db;border-radius:6px;overflow:hidden}.ecosystem-section-form-master .ecosystem-section-tab-navigation .ecosystem-section-tab-controls .ecosystem-section-view-toggle .ecosystem-section-view-btn{padding:8px 12px;border:none;background:white;color:#64748b;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.ecosystem-section-form-master .ecosystem-section-tab-navigation .ecosystem-section-tab-controls .ecosystem-section-view-toggle .ecosystem-section-view-btn.ecosystem-section-active{background:#e2e8f0;color:#1e293b}.ecosystem-section-form-master .ecosystem-section-tab-navigation .ecosystem-section-tab-controls .ecosystem-section-view-toggle .ecosystem-section-view-btn:hover:not(.ecosystem-section-active){background:#f8fafc}.ecosystem-section-form-master .ecosystem-section-display{padding:32px}.ecosystem-section-form-master .ecosystem-section-display .ecosystem-section-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}@media (max-width: 768px){.ecosystem-section-form-master .ecosystem-section-display .ecosystem-section-grid{grid-template-columns:1fr;gap:16px}}.ecosystem-section-form-master .ecosystem-section-card{background:white;border-radius:16px;padding:24px;box-shadow:0 2px 8px #00000014;border:2px solid transparent;transition:all .3s cubic-bezier(.4,0,.2,1)}.ecosystem-section-form-master .ecosystem-section-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f;border-color:#e2e8f0}.ecosystem-section-form-master .ecosystem-section-card.ecosystem-section-inactive{opacity:.7;border-color:#f6ad55}.ecosystem-section-form-master .ecosystem-section-card.ecosystem-section-inactive .ecosystem-section-status{color:#991b1b}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-header h3{margin:0 16px 0 0;font-size:1.125rem;font-weight:700;color:#1e293b;line-height:1.4;letter-spacing:-.02em;font-family:Poppins,sans-serif;flex:1}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-header .ecosystem-section-card-actions{display:flex;gap:8px;flex-wrap:wrap}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-header .ecosystem-section-card-actions button{padding:6px 12px;border:none;border-radius:8px;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif;text-transform:uppercase;letter-spacing:.5px}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-header .ecosystem-section-card-actions button.ecosystem-section-edit-btn{background:#dbeafe;color:#1e40af}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-header .ecosystem-section-card-actions button.ecosystem-section-edit-btn:hover{background:#bfdbfe;transform:translateY(-1px)}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-header .ecosystem-section-card-actions button.ecosystem-section-delete-btn{background:#fee2e2;color:#991b1b}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-header .ecosystem-section-card-actions button.ecosystem-section-delete-btn:hover{background:#fecaca;transform:translateY(-1px)}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-header .ecosystem-section-card-actions button.ecosystem-section-status-btn.ecosystem-section-activate{background:#dcfce7;color:#166534}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-header .ecosystem-section-card-actions button.ecosystem-section-status-btn.ecosystem-section-activate:hover{background:#bbf7d0;transform:translateY(-1px)}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-header .ecosystem-section-card-actions button.ecosystem-section-status-btn.ecosystem-section-deactivate{background:#fef3c7;color:#92400e}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-header .ecosystem-section-card-actions button.ecosystem-section-status-btn.ecosystem-section-deactivate:hover{background:#fde68a;transform:translateY(-1px)}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-content .ecosystem-section-poster-image{margin-bottom:16px;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-content .ecosystem-section-poster-image img{width:100%;height:200px;object-fit:cover;display:block}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-content p{margin:0 0 12px;font-size:.875rem;color:#64748b;line-height:1.5;font-family:NeueMontreal,sans-serif}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-content p strong{color:#374151;font-weight:600}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-content p.ecosystem-section-created-date{font-size:.75rem;color:#94a3b8;margin-bottom:8px}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-content p.ecosystem-section-status{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-content p.ecosystem-section-status.ecosystem-section-active{color:#166534}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-content p.ecosystem-section-status.ecosystem-section-inactive{color:#991b1b}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-content p:last-child{margin-bottom:0}.ecosystem-section-form-master .ecosystem-section-placeholder-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 32px;text-align:center;background:transparent}.ecosystem-section-form-master .ecosystem-section-placeholder-content .ecosystem-section-placeholder-icon{width:120px;height:120px;background:#f8fafc;border:2px solid #e2e8f0;border-radius:16px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:3.5rem;margin-bottom:40px;box-shadow:0 4px 12px #0000000d}.ecosystem-section-form-master .ecosystem-section-placeholder-content h2{margin:0 0 16px;font-size:1.75rem;font-weight:600;color:#1e293b;font-family:Poppins,sans-serif;letter-spacing:-.02em}.ecosystem-section-form-master .ecosystem-section-placeholder-content p{margin:0;color:#64748b;font-size:1rem;font-family:Poppins,sans-serif;line-height:1.5;max-width:400px}.ecosystem-section-form-master .ecosystem-section-form{padding:20px 0}.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-poster-section-title{font-size:1.125rem;font-weight:600;color:#1e293b;margin:24px 0 16px;padding-bottom:8px;border-bottom:1px solid #e5e7eb;font-family:Poppins,sans-serif}.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group{margin-bottom:24px}.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151!important;font-size:.875rem;font-family:NeueMontreal,sans-serif}.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group input,.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group textarea{width:100%!important;padding:12px!important;border:1px solid #d1d5db!important;border-radius:6px!important;font-size:.875rem!important;transition:all .2s ease;font-family:NeueMontreal,sans-serif!important;box-sizing:border-box}.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group input:focus,.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group textarea:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group input::placeholder,.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group textarea::placeholder{color:#9ca3af!important}.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group input.error,.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group textarea.error{border-color:#ef4444!important;box-shadow:0 0 0 3px #ef44441a!important}.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group textarea{resize:vertical;min-height:100px!important}.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group .ecosystem-section-file-input{cursor:pointer;background:white}.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group .ecosystem-section-file-input::-webkit-file-upload-button{background:linear-gradient(135deg,#8b5cf6 0%,#a855f7 100%);color:#fff;border:none;padding:8px 16px;border-radius:6px;cursor:pointer;font-weight:600;margin-right:12px;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group .ecosystem-section-file-input::-webkit-file-upload-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #8b5cf64d}.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group .ecosystem-section-image-preview{margin-top:12px;padding:12px;background:#f8fafc;border-radius:8px;border:2px solid #e2e8f0}.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group .ecosystem-section-image-preview img{max-width:100%;max-height:200px;border-radius:6px;object-fit:cover}.ecosystem-section-form-master .ecosystem-section-form .ecosystem-section-form-group .error-message{display:block;color:#ef4444;font-size:.75rem;margin-top:4px;font-family:NeueMontreal,sans-serif}.ecosystem-section-form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:32px;padding-top:20px;border-top:1px solid #e5e7eb}.ecosystem-section-form-actions button{padding:10px 20px;border:none;border-radius:8px;font-size:.875rem;font-weight:400;letter-spacing:.3px;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.ecosystem-section-form-actions button.ecosystem-section-save-btn{background:linear-gradient(135deg,#10b981 0%,#059669 100%);color:#fff;box-shadow:0 2px 8px #10b9814d}.ecosystem-section-form-actions button.ecosystem-section-save-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #10b98166}.ecosystem-section-form-actions button.ecosystem-section-cancel-btn{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.ecosystem-section-form-actions button.ecosystem-section-cancel-btn:hover{background:#e5e7eb;transform:translateY(-1px)}.ecosystem-section-form-actions button.ecosystem-section-clear-btn{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.ecosystem-section-form-actions button.ecosystem-section-clear-btn:hover{background:#fde68a;transform:translateY(-1px)}.ant-modal .ecosystem-section-form{padding:20px 0}.ant-modal .ecosystem-section-form .ecosystem-section-poster-section-title{font-size:1.125rem;font-weight:600;color:#1e293b;margin:24px 0 16px;padding-bottom:8px;border-bottom:1px solid #e5e7eb;font-family:Poppins,sans-serif}.ant-modal .ecosystem-section-form .ecosystem-section-form-group{margin-bottom:24px}.ant-modal .ecosystem-section-form .ecosystem-section-form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151!important;font-size:.875rem;font-family:NeueMontreal,sans-serif}.ant-modal .ecosystem-section-form .ecosystem-section-form-group input,.ant-modal .ecosystem-section-form .ecosystem-section-form-group textarea{width:100%!important;padding:12px!important;border:1px solid #d1d5db!important;border-radius:6px!important;font-size:.875rem!important;transition:all .2s ease;font-family:NeueMontreal,sans-serif!important;box-sizing:border-box}.ant-modal .ecosystem-section-form .ecosystem-section-form-group input:focus,.ant-modal .ecosystem-section-form .ecosystem-section-form-group textarea:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.ant-modal .ecosystem-section-form .ecosystem-section-form-group input::placeholder,.ant-modal .ecosystem-section-form .ecosystem-section-form-group textarea::placeholder{color:#9ca3af!important}.ant-modal .ecosystem-section-form .ecosystem-section-form-group textarea{resize:vertical;min-height:100px!important}@media (max-width: 768px){.ecosystem-section-form-master .ecosystem-section-display{padding:16px}.ecosystem-section-form-master .ecosystem-section-display h2{font-size:1.5rem;margin-bottom:24px}.ecosystem-section-form-master .ecosystem-section-card{padding:16px}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-header{flex-direction:column;align-items:flex-start;gap:12px}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-header h3{margin-right:0;margin-bottom:0}.ecosystem-section-form-master .ecosystem-section-card .ecosystem-section-card-header .ecosystem-section-card-actions{width:100%;justify-content:flex-start}.ecosystem-section-form-master .ecosystem-section-placeholder-content{margin:20px 0;padding:60px 16px}.ecosystem-section-form-master .ecosystem-section-placeholder-content .ecosystem-section-placeholder-icon{width:100px;height:100px;font-size:3rem;margin-bottom:32px}.ecosystem-section-form-master .ecosystem-section-placeholder-content h2{font-size:1.5rem}.ecosystem-section-form-master .ecosystem-section-placeholder-content p{font-size:.875rem;max-width:300px}}.faq-form-master{padding:24px;background:#f8f9fa;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.faq-form-header{display:flex;justify-content:space-between;align-items:center;background:white;padding:24px;border-radius:12px;box-shadow:0 2px 8px #0000000f;margin-bottom:24px}.faq-form-header .faq-header-left{display:flex;align-items:center;gap:16px}.faq-form-header .faq-header-left .faq-header-icon{width:48px;height:48px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px}.faq-form-header .faq-header-left .faq-header-content h2{margin:0 0 4px;font-size:24px;font-weight:600;color:#1a1a1a}.faq-form-header .faq-header-left .faq-header-content p{margin:0;color:#6b7280;font-size:14px}.faq-form-header .faq-create-btn{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:8px;transition:all .2s ease}.faq-form-header .faq-create-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.faq-form-header .faq-create-btn span{font-size:18px;font-weight:600}.faq-tab-navigation{display:flex;justify-content:space-between;align-items:center;background:white;padding:16px 24px;border-radius:12px;box-shadow:0 2px 8px #0000000f;margin-bottom:24px}.faq-tab-navigation .faq-tab-buttons{display:flex;gap:8px}.faq-tab-navigation .faq-tab-buttons .faq-tab-btn{padding:8px 16px;border:1px solid #e5e7eb;background:white;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;color:#6b7280;transition:all .2s ease}.faq-tab-navigation .faq-tab-buttons .faq-tab-btn.faq-active{background:#667eea;color:#fff;border-color:#667eea}.faq-tab-navigation .faq-tab-buttons .faq-tab-btn:hover:not(.faq-active){background:#f3f4f6}.faq-tab-navigation .faq-tab-controls{display:flex;align-items:center;gap:16px}.faq-tab-navigation .faq-tab-controls .faq-sort-dropdown select{padding:8px 12px;border:1px solid #e5e7eb;border-radius:6px;background:white;font-size:14px;cursor:pointer}.faq-tab-navigation .faq-tab-controls .faq-view-toggle{display:flex;gap:4px}.faq-tab-navigation .faq-tab-controls .faq-view-toggle .faq-view-btn{width:32px;height:32px;border:1px solid #e5e7eb;background:white;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.faq-tab-navigation .faq-tab-controls .faq-view-toggle .faq-view-btn.faq-active{background:#667eea;color:#fff;border-color:#667eea}.faq-tab-navigation .faq-tab-controls .faq-view-toggle .faq-view-btn:hover:not(.faq-active){background:#f3f4f6}.faq-display .faq-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:20px}.faq-card{background:white;border-radius:12px;box-shadow:0 2px 8px #0000000f;overflow:hidden;transition:all .2s ease}.faq-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #0000001a}.faq-card.faq-inactive{opacity:.6;background:#f9fafb}.faq-card .faq-card-header{padding:20px 20px 0;display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.faq-card .faq-card-header h3{margin:0;font-size:16px;font-weight:600;color:#1a1a1a;line-height:1.4;flex:1}.faq-card .faq-card-header .faq-card-actions{display:flex;gap:8px;flex-shrink:0}.faq-card .faq-card-header .faq-card-actions button{padding:6px 12px;border:none;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease}.faq-card .faq-card-header .faq-card-actions button.faq-edit-btn{background:#f0f9ff;color:#0369a1}.faq-card .faq-card-header .faq-card-actions button.faq-edit-btn:hover{background:#e0f2fe}.faq-card .faq-card-header .faq-card-actions button.faq-delete-btn{background:#fef2f2;color:#dc2626}.faq-card .faq-card-header .faq-card-actions button.faq-delete-btn:hover{background:#fee2e2}.faq-card .faq-card-header .faq-card-actions button.faq-status-btn.faq-deactivate{background:#fef3c7;color:#d97706}.faq-card .faq-card-header .faq-card-actions button.faq-status-btn.faq-deactivate:hover{background:#fde68a}.faq-card .faq-card-header .faq-card-actions button.faq-status-btn.faq-activate{background:#dcfce7;color:#16a34a}.faq-card .faq-card-header .faq-card-actions button.faq-status-btn.faq-activate:hover{background:#bbf7d0}.faq-card .faq-card-content{padding:16px 20px 20px}.faq-card .faq-card-content p{margin:0 0 12px;font-size:14px;line-height:1.5}.faq-card .faq-card-content p:last-child{margin-bottom:0}.faq-card .faq-card-content p strong{color:#374151}.faq-card .faq-card-content .faq-created-date{color:#6b7280;font-size:12px}.faq-card .faq-card-content .faq-status{font-size:12px;font-weight:500}.faq-card .faq-card-content .faq-status.faq-active{color:#16a34a}.faq-card .faq-card-content .faq-status.faq-inactive{color:#dc2626}.faq-placeholder-content{background:white;border-radius:12px;padding:60px 40px;text-align:center;box-shadow:0 2px 8px #0000000f}.faq-placeholder-content .faq-placeholder-icon{font-size:48px;margin-bottom:16px}.faq-placeholder-content h2{margin:0 0 8px;font-size:20px;font-weight:600;color:#1a1a1a}.faq-placeholder-content p{margin:0;color:#6b7280;font-size:14px}.faq-form .faq-form-group{margin-bottom:20px}.faq-form .faq-form-group label{display:block;margin-bottom:6px;font-weight:500;color:#374151;font-size:14px}.faq-form .faq-form-group input,.faq-form .faq-form-group textarea{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;transition:all .2s ease;box-sizing:border-box}.faq-form .faq-form-group input:focus,.faq-form .faq-form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.faq-form .faq-form-group input.error,.faq-form .faq-form-group textarea.error{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261a}.faq-form .faq-form-group input::placeholder,.faq-form .faq-form-group textarea::placeholder{color:#9ca3af}.faq-form .faq-form-group textarea{resize:vertical;min-height:80px}.faq-form .faq-form-group .error-message{display:block;margin-top:4px;font-size:12px;color:#dc2626}.faq-form .faq-form-actions{display:flex;gap:12px;margin-top:24px}.faq-form .faq-form-actions button{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.faq-form .faq-form-actions button.faq-save-btn{background:#667eea;color:#fff}.faq-form .faq-form-actions button.faq-save-btn:hover{background:#5a67d8}.faq-form .faq-form-actions button.faq-cancel-btn{background:#f3f4f6;color:#374151}.faq-form .faq-form-actions button.faq-cancel-btn:hover{background:#e5e7eb}.faq-form .faq-form-actions button.faq-clear-btn{background:#fef2f2;color:#dc2626}.faq-form .faq-form-actions button.faq-clear-btn:hover{background:#fee2e2}@media (max-width: 768px){.faq-form-master{padding:16px}.faq-form-header{flex-direction:column;gap:16px;text-align:center}.faq-form-header .faq-header-left{justify-content:center}.faq-tab-navigation{flex-direction:column;gap:16px}.faq-tab-navigation .faq-tab-buttons{justify-content:center}.faq-grid{grid-template-columns:1fr}.faq-card-header{flex-direction:column;align-items:flex-start;gap:12px}.faq-card-header .faq-card-actions{width:100%;justify-content:flex-end}}.FooterFormMaster{width:100%;max-width:1400px;margin:0 auto;padding:0;font-family:NeueMontreal,-apple-system,BlinkMacSystemFont,sans-serif;background:#ffffff;border-radius:20px;box-shadow:0 10px 40px #00000014}.FooterFormMaster .footer-header{background:linear-gradient(135deg,#2d3748 0%,#1a202c 100%);padding:2.5rem 2rem;border-radius:20px 20px 0 0;color:#fff;margin-bottom:0;box-shadow:0 4px 20px #2d37484d}.FooterFormMaster .footer-header h1{margin:0;font-size:2rem;font-weight:700;letter-spacing:-.5px}.FooterFormMaster .footer-form{padding:2.5rem}.FooterFormMaster .footer-form .input-group{margin-bottom:1.5rem}.FooterFormMaster .footer-form .input-group label{display:block;margin-bottom:.75rem;font-weight:600;color:#2d3748;font-size:.95rem}.FooterFormMaster .footer-form .input-group input{width:100%;padding:.875rem 1rem;border:2px solid #e2e8f0;border-radius:12px;font-size:.95rem;transition:all .3s ease;background:#f8fafc;font-family:inherit}.FooterFormMaster .footer-form .input-group input:focus{outline:none;border-color:#4a5568;background:#ffffff;box-shadow:0 0 0 4px #4a55681a}.FooterFormMaster .footer-form .input-group input::placeholder{color:#a0aec0}.FooterFormMaster .footer-form .form-buttons{display:flex;gap:1rem;margin-bottom:2rem;padding-bottom:2rem;border-bottom:2px solid #e2e8f0}.FooterFormMaster .footer-form .form-buttons button{flex:1;padding:.875rem 1.5rem;border:none;border-radius:12px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease}.FooterFormMaster .footer-form .form-buttons button.save-btn{background:linear-gradient(135deg,#2d3748,#1a202c);color:#fff;box-shadow:0 4px 12px #2d374833}.FooterFormMaster .footer-form .form-buttons button.save-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #2d37484d}.FooterFormMaster .footer-form .form-buttons button.clear-btn{background:#edf2f7;color:#4a5568;border:2px solid #cbd5e1}.FooterFormMaster .footer-form .form-buttons button.clear-btn:hover{background:#e2e8f0}.FooterFormMaster .footer-form .saved-numbers{margin-bottom:2.5rem}.FooterFormMaster .footer-form .saved-numbers h3{margin:0 0 1.5rem;font-size:1.5rem;font-weight:700;color:#2d3748}.FooterFormMaster .footer-form .saved-numbers .no-data{text-align:center;padding:3rem 2rem;background:linear-gradient(135deg,#f8fafc,#edf2f7);border-radius:12px;border:2px dashed #cbd5e1}.FooterFormMaster .footer-form .saved-numbers .no-data p{margin:0;color:#718096}.FooterFormMaster .footer-form .saved-numbers .numbers-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}@media (max-width: 768px){.FooterFormMaster .footer-form .saved-numbers .numbers-cards{grid-template-columns:1fr}}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card{background:linear-gradient(135deg,#ffffff,#f8fafc);border-radius:16px;overflow:hidden;box-shadow:0 2px 12px #00000014;border:2px solid transparent;transition:all .3s ease}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card.active{border-color:#48bb78}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card.inactive{border-color:#f6ad55;opacity:.85}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0000001f}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content{padding:1.5rem}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .number-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .number-header img{flex-shrink:0}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .number-header h4{margin:0;font-size:1.1rem;font-weight:600;color:#2d3748;flex:1;word-break:break-all}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .number-header .status-badge{padding:.375rem .875rem;border-radius:12px;font-size:.8rem;font-weight:600;flex-shrink:0}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .number-header .status-badge.active{background:#c6f6d5;color:#22543d}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .number-header .status-badge.inactive{background:#fed7d7;color:#742a2a}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .card-footer{display:flex;justify-content:space-between;align-items:center;padding-top:1rem;border-top:2px solid #e2e8f0;flex-wrap:wrap;gap:.75rem}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .card-footer .card-badge{font-size:.8rem;color:#718096;font-weight:500}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .card-footer .number-actions{display:flex;gap:.5rem;flex-wrap:wrap}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .card-footer .number-actions button{padding:.5rem 1rem;border:none;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s ease}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .card-footer .number-actions button.edit-btn{background:#4299e1;color:#fff}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .card-footer .number-actions button.edit-btn:hover{background:#3182ce;transform:translateY(-1px)}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .card-footer .number-actions button.delete-btn{background:#fc8181;color:#fff}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .card-footer .number-actions button.delete-btn:hover{background:#f56565;transform:translateY(-1px)}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .card-footer .number-actions button.toggle-btn{background:#f6ad55;color:#fff}.FooterFormMaster .footer-form .saved-numbers .numbers-cards .number-card .card-content .card-footer .number-actions button.toggle-btn:hover{background:#ed8936;transform:translateY(-1px)}.FooterFormMaster .footer-form .social-media-section{padding-top:2.5rem;border-top:3px solid #e2e8f0;margin-top:2.5rem}.hero-section-form-master{width:100%;height:100%;display:flex;flex-direction:column;font-family:NeueMontreal,-apple-system,BlinkMacSystemFont,sans-serif}.hero-section-form-master .hero-section-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0;padding:40px 40px 32px;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px #00000005}.hero-section-form-master .hero-section-form-header .hero-section-header-left{display:flex;align-items:center;gap:20px}.hero-section-form-master .hero-section-form-header .hero-section-header-left .hero-section-header-icon{width:50px;height:50px;background:linear-gradient(135deg,#8b5cf6 0%,#a855f7 50%,#c084fc 100%);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.5rem;box-shadow:0 4px 12px #8b5cf64d;border:1px solid rgba(255,255,255,.1)}.hero-section-form-master .hero-section-form-header .hero-section-header-left .hero-section-header-content{display:flex;flex-direction:column;align-items:flex-start}.hero-section-form-master .hero-section-form-header .hero-section-header-left .hero-section-header-content h2{font-size:2rem;font-weight:700;color:#1e293b;letter-spacing:-.03em;line-height:1.2;font-family:Poppins,sans-serif}.hero-section-form-master .hero-section-form-header .hero-section-header-left .hero-section-header-content p{margin:0;font-size:.9375rem;color:#64748b;font-weight:400;letter-spacing:-.01em;font-family:Poppins,sans-serif}.hero-section-form-master .hero-section-form-header .hero-section-create-btn{background:linear-gradient(135deg,#8b5cf6 0%,#a855f7 100%);color:#fff;border:none;padding:16px 32px;border-radius:12px;font-weight:600;font-size:.9375rem;cursor:pointer;font-family:Poppins,sans-serif;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:10px;box-shadow:0 4px 12px #8b5cf64d}.hero-section-form-master .hero-section-form-header .hero-section-create-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #8b5cf666}.hero-section-form-master .hero-section-tab-navigation{display:flex;justify-content:space-between;align-items:center;padding:16px 40px;border-bottom:1px solid #e5e7eb;background:#f8fafc}.hero-section-form-master .hero-section-tab-navigation .hero-section-tab-buttons{display:flex;gap:16px}.hero-section-form-master .hero-section-tab-navigation .hero-section-tab-buttons .hero-section-tab-btn{padding:8px 16px;border:none;background:transparent;color:#64748b;font-size:.875rem;font-weight:500;cursor:pointer;border-radius:8px;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.hero-section-form-master .hero-section-tab-navigation .hero-section-tab-buttons .hero-section-tab-btn.hero-section-active{background:#e2e8f0;color:#1e293b}.hero-section-form-master .hero-section-tab-navigation .hero-section-tab-buttons .hero-section-tab-btn:hover:not(.hero-section-active){background:#f1f5f9;color:#475569}.hero-section-form-master .hero-section-tab-navigation .hero-section-tab-controls{display:flex;align-items:center;gap:16px}.hero-section-form-master .hero-section-tab-navigation .hero-section-tab-controls .hero-section-sort-dropdown select{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;background:white;color:#374151;font-size:.875rem;font-family:NeueMontreal,sans-serif;cursor:pointer}.hero-section-form-master .hero-section-tab-navigation .hero-section-tab-controls .hero-section-sort-dropdown select:focus{outline:none;border-color:#3b82f6}.hero-section-form-master .hero-section-tab-navigation .hero-section-tab-controls .hero-section-view-toggle{display:flex;border:1px solid #d1d5db;border-radius:6px;overflow:hidden}.hero-section-form-master .hero-section-tab-navigation .hero-section-tab-controls .hero-section-view-toggle .hero-section-view-btn{padding:8px 12px;border:none;background:white;color:#64748b;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.hero-section-form-master .hero-section-tab-navigation .hero-section-tab-controls .hero-section-view-toggle .hero-section-view-btn.hero-section-active{background:#e2e8f0;color:#1e293b}.hero-section-form-master .hero-section-tab-navigation .hero-section-tab-controls .hero-section-view-toggle .hero-section-view-btn:hover:not(.hero-section-active){background:#f8fafc}.hero-section-form-master .hero-section-display{padding:32px}.hero-section-form-master .hero-section-display .hero-section-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}@media (max-width: 768px){.hero-section-form-master .hero-section-display .hero-section-grid{grid-template-columns:1fr;gap:16px}}.hero-section-form-master .hero-section-card{background:white;border-radius:16px;padding:24px;box-shadow:0 2px 8px #00000014;border:2px solid transparent;transition:all .3s cubic-bezier(.4,0,.2,1)}.hero-section-form-master .hero-section-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f;border-color:#e2e8f0}.hero-section-form-master .hero-section-card.hero-section-inactive{opacity:.7;border-color:#f6ad55}.hero-section-form-master .hero-section-card.hero-section-inactive .hero-section-status{color:#991b1b}.hero-section-form-master .hero-section-card .hero-section-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.hero-section-form-master .hero-section-card .hero-section-card-header h3{margin:0 16px 0 0;font-size:1.125rem;font-weight:700;color:#1e293b;line-height:1.4;letter-spacing:-.02em;font-family:Poppins,sans-serif;flex:1}.hero-section-form-master .hero-section-card .hero-section-card-header .hero-section-card-actions{display:flex;gap:8px;flex-wrap:wrap}.hero-section-form-master .hero-section-card .hero-section-card-header .hero-section-card-actions button{padding:6px 12px;border:none;border-radius:8px;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif;text-transform:uppercase;letter-spacing:.5px}.hero-section-form-master .hero-section-card .hero-section-card-header .hero-section-card-actions button.hero-section-edit-btn{background:#dbeafe;color:#1e40af}.hero-section-form-master .hero-section-card .hero-section-card-header .hero-section-card-actions button.hero-section-edit-btn:hover{background:#bfdbfe;transform:translateY(-1px)}.hero-section-form-master .hero-section-card .hero-section-card-header .hero-section-card-actions button.hero-section-delete-btn{background:#fee2e2!important;color:#991b1b!important;border:1px solid #fca5a5!important}.hero-section-form-master .hero-section-card .hero-section-card-header .hero-section-card-actions button.hero-section-delete-btn:hover{background:#fecaca!important;transform:translateY(-1px);box-shadow:0 2px 8px #991b1b33!important}.hero-section-form-master .hero-section-card .hero-section-card-header .hero-section-card-actions button.hero-section-status-btn.hero-section-activate{background:#dcfce7;color:#166534}.hero-section-form-master .hero-section-card .hero-section-card-header .hero-section-card-actions button.hero-section-status-btn.hero-section-activate:hover{background:#bbf7d0;transform:translateY(-1px)}.hero-section-form-master .hero-section-card .hero-section-card-header .hero-section-card-actions button.hero-section-status-btn.hero-section-deactivate{background:#fef3c7;color:#92400e}.hero-section-form-master .hero-section-card .hero-section-card-header .hero-section-card-actions button.hero-section-status-btn.hero-section-deactivate:hover{background:#fde68a;transform:translateY(-1px)}.hero-section-form-master .hero-section-card .hero-section-card-content p{margin:0 0 12px;font-size:.875rem;color:#64748b;line-height:1.5;font-family:NeueMontreal,sans-serif}.hero-section-form-master .hero-section-card .hero-section-card-content p strong{color:#374151;font-weight:600}.hero-section-form-master .hero-section-card .hero-section-card-content p.hero-section-created-date{font-size:.75rem;color:#94a3b8;margin-bottom:8px}.hero-section-form-master .hero-section-card .hero-section-card-content p.hero-section-status{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.hero-section-form-master .hero-section-card .hero-section-card-content p.hero-section-status.hero-section-active{color:#166534}.hero-section-form-master .hero-section-card .hero-section-card-content p.hero-section-status.hero-section-inactive{color:#991b1b}.hero-section-form-master .hero-section-card .hero-section-card-content p:last-child{margin-bottom:0}.hero-section-form-master .hero-section-card .hero-section-card-content .hero-section-subsections{margin-top:16px;padding-top:16px;border-top:1px solid #e5e7eb}.hero-section-form-master .hero-section-card .hero-section-card-content .hero-section-subsections strong{display:block;margin-bottom:12px;color:#374151;font-size:.875rem}.hero-section-form-master .hero-section-card .hero-section-card-content .hero-section-subsections .hero-section-subsection-item{background:#f8fafc;padding:12px;border-radius:8px;margin-bottom:8px;display:flex;gap:12px;align-items:flex-start}.hero-section-form-master .hero-section-card .hero-section-card-content .hero-section-subsections .hero-section-subsection-item:last-child{margin-bottom:0}.hero-section-form-master .hero-section-card .hero-section-card-content .hero-section-subsections .hero-section-subsection-item .hero-section-thumb{flex-shrink:0}.hero-section-form-master .hero-section-card .hero-section-card-content .hero-section-subsections .hero-section-subsection-item .hero-section-thumb img{width:50px;height:50px;object-fit:cover;border-radius:6px;border:2px solid #e2e8f0}.hero-section-form-master .hero-section-card .hero-section-card-content .hero-section-subsections .hero-section-subsection-item .hero-section-texts{flex:1}.hero-section-form-master .hero-section-card .hero-section-card-content .hero-section-subsections .hero-section-subsection-item .hero-section-texts .hero-section-heading{font-weight:600;color:#1e293b;font-size:.875rem;margin-bottom:4px}.hero-section-form-master .hero-section-card .hero-section-card-content .hero-section-subsections .hero-section-subsection-item .hero-section-texts .hero-section-subheading{color:#64748b;font-size:.75rem}.hero-section-form-master .hero-section-placeholder-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 32px;text-align:center;background:transparent}.hero-section-form-master .hero-section-placeholder-content .hero-section-placeholder-icon{width:120px;height:120px;background:#f8fafc;border:2px solid #e2e8f0;border-radius:16px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:3.5rem;margin-bottom:40px;box-shadow:0 4px 12px #0000000d}.hero-section-form-master .hero-section-placeholder-content h2{margin:0 0 16px;font-size:1.75rem;font-weight:600;color:#1e293b;font-family:Poppins,sans-serif;letter-spacing:-.02em}.hero-section-form-master .hero-section-placeholder-content p{margin:0;color:#64748b;font-size:1rem;font-family:Poppins,sans-serif;line-height:1.5;max-width:400px}.hero-section-form-master .hero-section-form{padding:20px 0}.hero-section-form-master .hero-section-form .hero-section-form-group{margin-bottom:24px}.hero-section-form-master .hero-section-form .hero-section-form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151!important;font-size:.875rem;font-family:NeueMontreal,sans-serif}.hero-section-form-master .hero-section-form .hero-section-form-group input,.hero-section-form-master .hero-section-form .hero-section-form-group textarea{width:100%!important;padding:12px!important;border:1px solid #d1d5db!important;border-radius:6px!important;font-size:.875rem!important;transition:all .2s ease;font-family:NeueMontreal,sans-serif!important;box-sizing:border-box}.hero-section-form-master .hero-section-form .hero-section-form-group input:focus,.hero-section-form-master .hero-section-form .hero-section-form-group textarea:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.hero-section-form-master .hero-section-form .hero-section-form-group input::placeholder,.hero-section-form-master .hero-section-form .hero-section-form-group textarea::placeholder{color:#9ca3af!important}.hero-section-form-master .hero-section-form .hero-section-form-group input.error,.hero-section-form-master .hero-section-form .hero-section-form-group textarea.error{border-color:#ef4444!important;box-shadow:0 0 0 3px #ef44441a!important}.hero-section-form-master .hero-section-form .hero-section-form-group textarea{resize:vertical;min-height:100px!important}.hero-section-form-master .hero-section-form .hero-section-form-group .hero-section-file-input{cursor:pointer;background:white}.hero-section-form-master .hero-section-form .hero-section-form-group .hero-section-file-input::-webkit-file-upload-button{background:linear-gradient(135deg,#8b5cf6 0%,#a855f7 100%);color:#fff;border:none;padding:8px 16px;border-radius:6px;cursor:pointer;font-weight:600;margin-right:12px;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.hero-section-form-master .hero-section-form .hero-section-form-group .hero-section-file-input::-webkit-file-upload-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #8b5cf64d}.hero-section-form-master .hero-section-form .hero-section-form-group .hero-section-image-preview{margin-top:12px;padding:12px;background:#f8fafc;border-radius:8px;border:2px solid #e2e8f0}.hero-section-form-master .hero-section-form .hero-section-form-group .hero-section-image-preview img{max-width:200px;max-height:150px;border-radius:6px;object-fit:cover}.hero-section-form-master .hero-section-form .hero-section-form-group .error-message{display:block;color:#ef4444;font-size:.75rem;margin-top:4px;font-family:NeueMontreal,sans-serif}.hero-section-form-master .hero-section-form .hero-section-subsections-container{margin:32px 0}.hero-section-form-master .hero-section-form .hero-section-subsections-container .hero-section-subsections-header{margin-bottom:20px;padding-bottom:16px;border-bottom:2px solid #e5e7eb}.hero-section-form-master .hero-section-form .hero-section-subsections-container .hero-section-subsections-header h3{margin:0 0 8px;font-size:1.125rem;font-weight:700;color:#1e293b;font-family:Poppins,sans-serif}.hero-section-form-master .hero-section-form .hero-section-subsections-container .hero-section-subsections-header p{margin:0;font-size:.875rem;color:#64748b;font-family:NeueMontreal,sans-serif}.hero-section-form-master .hero-section-form .hero-section-subsections-container .hero-section-subsection{background:linear-gradient(135deg,#f8fafc 0%,#edf2f7 100%);padding:20px;border-radius:12px;border:2px solid #e2e8f0;margin-bottom:16px;transition:all .3s ease}.hero-section-form-master .hero-section-form .hero-section-subsections-container .hero-section-subsection:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #00000014}.hero-section-form-master .hero-section-form .hero-section-subsections-container .hero-section-subsection .hero-section-subsection-number{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e2e8f0;font-weight:700;color:#1e293b;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px;font-family:Poppins,sans-serif}.hero-section-form-master .hero-section-form .hero-section-subsections-container .hero-section-subsection .hero-section-subsection-number .hero-section-remove-subsection-btn{background:#fee2e2;color:#991b1b;border:none;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;font-size:.875rem;font-family:NeueMontreal,sans-serif}.hero-section-form-master .hero-section-form .hero-section-subsections-container .hero-section-subsection .hero-section-subsection-number .hero-section-remove-subsection-btn:hover{background:#fecaca;transform:scale(1.1)}.hero-section-add-subsection-btn{background:linear-gradient(135deg,#10b981 0%,#059669 100%);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:.875rem;font-weight:400;letter-spacing:.3px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:8px;justify-content:center;width:100%;box-shadow:0 4px 12px #10b9814d;font-family:NeueMontreal,sans-serif}.hero-section-add-subsection-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #10b98166}.hero-section-add-subsection-btn:disabled{opacity:.5;cursor:not-allowed}.hero-section-form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:32px;padding-top:20px;border-top:1px solid #e5e7eb}.hero-section-form-actions button{padding:10px 20px;border:none;border-radius:8px;font-size:.875rem;font-weight:400;letter-spacing:.3px;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.hero-section-form-actions button.hero-section-save-btn{background:linear-gradient(135deg,#10b981 0%,#059669 100%);color:#fff;box-shadow:0 2px 8px #10b9814d}.hero-section-form-actions button.hero-section-save-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #10b98166}.hero-section-form-actions button.hero-section-cancel-btn{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.hero-section-form-actions button.hero-section-cancel-btn:hover{background:#e5e7eb;transform:translateY(-1px)}.hero-section-form-actions button.hero-section-clear-btn{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.hero-section-form-actions button.hero-section-clear-btn:hover{background:#fde68a;transform:translateY(-1px)}.ant-modal .hero-section-form{padding:20px 0}.ant-modal .hero-section-form .hero-section-form-group{margin-bottom:24px}.ant-modal .hero-section-form .hero-section-form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151!important;font-size:.875rem;font-family:NeueMontreal,sans-serif}.ant-modal .hero-section-form .hero-section-form-group input,.ant-modal .hero-section-form .hero-section-form-group textarea{width:100%!important;padding:12px!important;border:1px solid #d1d5db!important;border-radius:6px!important;font-size:.875rem!important;transition:all .2s ease;font-family:NeueMontreal,sans-serif!important;box-sizing:border-box}.ant-modal .hero-section-form .hero-section-form-group input:focus,.ant-modal .hero-section-form .hero-section-form-group textarea:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.ant-modal .hero-section-form .hero-section-form-group input::placeholder,.ant-modal .hero-section-form .hero-section-form-group textarea::placeholder{color:#9ca3af!important}.ant-modal .hero-section-form .hero-section-form-group textarea{resize:vertical;min-height:100px!important}.hero-section-card .ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-message .ant-popconfirm-message-text .ant-popconfirm-title{color:#991b1b}@media (max-width: 768px){.hero-section-form-master .hero-section-display{padding:16px}.hero-section-form-master .hero-section-display h2{font-size:1.5rem;margin-bottom:24px}.hero-section-form-master .hero-section-card{padding:16px}.hero-section-form-master .hero-section-card .hero-section-card-header{flex-direction:column;align-items:flex-start;gap:12px}.hero-section-form-master .hero-section-card .hero-section-card-header h3{margin-right:0;margin-bottom:0}.hero-section-form-master .hero-section-card .hero-section-card-header .hero-section-card-actions{width:100%;justify-content:flex-start}.hero-section-form-master .hero-section-placeholder-content{margin:20px 0;padding:60px 16px}.hero-section-form-master .hero-section-placeholder-content .hero-section-placeholder-icon{width:100px;height:100px;font-size:3rem;margin-bottom:32px}.hero-section-form-master .hero-section-placeholder-content h2{font-size:1.5rem}.hero-section-form-master .hero-section-placeholder-content p{font-size:.875rem;max-width:300px}}.OfferingsFormMaster{width:100%;height:100%;display:flex;flex-direction:column;font-family:NeueMontreal,-apple-system,BlinkMacSystemFont,sans-serif}.OfferingsFormMaster .ecosystem-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0;padding:40px 40px 32px;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px #00000005}.OfferingsFormMaster .ecosystem-form-header .ecosystem-header-left{display:flex;align-items:center;gap:20px}.OfferingsFormMaster .ecosystem-form-header .ecosystem-header-left .ecosystem-header-icon{width:50px;height:50px;background:linear-gradient(135deg,#8b5cf6 0%,#a855f7 50%,#c084fc 100%);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.5rem;box-shadow:0 4px 12px #8b5cf64d;border:1px solid rgba(255,255,255,.1)}.OfferingsFormMaster .ecosystem-form-header .ecosystem-header-left .ecosystem-header-content{display:flex;flex-direction:column;align-items:flex-start}.OfferingsFormMaster .ecosystem-form-header .ecosystem-header-left .ecosystem-header-content h2{font-size:2rem;font-weight:700;color:#1e293b;letter-spacing:-.03em;line-height:1.2;font-family:Poppins,sans-serif}.OfferingsFormMaster .ecosystem-form-header .ecosystem-header-left .ecosystem-header-content p{margin:0;font-size:.9375rem;color:#64748b;font-weight:400;letter-spacing:-.01em;font-family:Poppins,sans-serif}.OfferingsFormMaster .ecosystem-form-header .ecosystem-create-btn{background:linear-gradient(135deg,#8b5cf6 0%,#a855f7 100%);color:#fff;border:none;padding:16px 32px;border-radius:12px;font-weight:600;font-size:.9375rem;cursor:pointer;font-family:Poppins,sans-serif;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:10px;box-shadow:0 4px 12px #8b5cf64d}.OfferingsFormMaster .ecosystem-form-header .ecosystem-create-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #8b5cf666}.OfferingsFormMaster .ecosystem-tab-navigation{display:flex;justify-content:space-between;align-items:center;padding:16px 40px;border-bottom:1px solid #e5e7eb;background:#f8fafc}.OfferingsFormMaster .ecosystem-tab-navigation .ecosystem-tab-buttons{display:flex;gap:16px}.OfferingsFormMaster .ecosystem-tab-navigation .ecosystem-tab-buttons .ecosystem-tab-btn{padding:8px 16px;border:none;background:transparent;color:#64748b;font-size:.875rem;font-weight:500;cursor:pointer;border-radius:8px;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.OfferingsFormMaster .ecosystem-tab-navigation .ecosystem-tab-buttons .ecosystem-tab-btn.ecosystem-active{background:#e2e8f0;color:#1e293b}.OfferingsFormMaster .ecosystem-tab-navigation .ecosystem-tab-buttons .ecosystem-tab-btn:hover:not(.ecosystem-active){background:#f1f5f9;color:#475569}.OfferingsFormMaster .ecosystem-tab-navigation .ecosystem-tab-controls{display:flex;align-items:center;gap:16px}.OfferingsFormMaster .ecosystem-tab-navigation .ecosystem-tab-controls .ecosystem-sort-dropdown select{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;background:white;color:#374151;font-size:.875rem;font-family:NeueMontreal,sans-serif;cursor:pointer}.OfferingsFormMaster .ecosystem-tab-navigation .ecosystem-tab-controls .ecosystem-sort-dropdown select:focus{outline:none;border-color:#3b82f6}.OfferingsFormMaster .ecosystem-tab-navigation .ecosystem-tab-controls .ecosystem-view-toggle{display:flex;border:1px solid #d1d5db;border-radius:6px;overflow:hidden}.OfferingsFormMaster .ecosystem-tab-navigation .ecosystem-tab-controls .ecosystem-view-toggle .ecosystem-view-btn{padding:8px 12px;border:none;background:white;color:#64748b;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.OfferingsFormMaster .ecosystem-tab-navigation .ecosystem-tab-controls .ecosystem-view-toggle .ecosystem-view-btn.ecosystem-active{background:#e2e8f0;color:#1e293b}.OfferingsFormMaster .ecosystem-tab-navigation .ecosystem-tab-controls .ecosystem-view-toggle .ecosystem-view-btn:hover:not(.ecosystem-active){background:#f8fafc}.OfferingsFormMaster .ecosystem-display{padding:32px}.OfferingsFormMaster .ecosystem-display .ecosystem-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}@media (max-width: 768px){.OfferingsFormMaster .ecosystem-display .ecosystem-grid{grid-template-columns:1fr;gap:16px}}.OfferingsFormMaster .ecosystem-card{background:white;border-radius:16px;padding:24px;box-shadow:0 2px 8px #00000014;border:2px solid transparent;transition:all .3s cubic-bezier(.4,0,.2,1)}.OfferingsFormMaster .ecosystem-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f;border-color:#e2e8f0}.OfferingsFormMaster .ecosystem-card.ecosystem-inactive{opacity:.7;border-color:#f6ad55}.OfferingsFormMaster .ecosystem-card.ecosystem-inactive .ecosystem-status{color:#991b1b}.OfferingsFormMaster .ecosystem-card .ecosystem-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.OfferingsFormMaster .ecosystem-card .ecosystem-card-header h3{margin:0 16px 0 0;font-size:1.125rem;font-weight:700;color:#1e293b;line-height:1.4;letter-spacing:-.02em;font-family:Poppins,sans-serif;flex:1}.OfferingsFormMaster .ecosystem-card .ecosystem-card-header .ecosystem-card-actions{display:flex;gap:8px;flex-wrap:wrap}.OfferingsFormMaster .ecosystem-card .ecosystem-card-header .ecosystem-card-actions button{padding:6px 12px;border:none;border-radius:8px;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif;text-transform:uppercase;letter-spacing:.5px}.OfferingsFormMaster .ecosystem-card .ecosystem-card-header .ecosystem-card-actions button.ecosystem-edit-btn{background:#dbeafe;color:#1e40af}.OfferingsFormMaster .ecosystem-card .ecosystem-card-header .ecosystem-card-actions button.ecosystem-edit-btn:hover{background:#bfdbfe;transform:translateY(-1px)}.OfferingsFormMaster .ecosystem-card .ecosystem-card-header .ecosystem-card-actions button.ecosystem-delete-btn{background:#fee2e2;color:#991b1b}.OfferingsFormMaster .ecosystem-card .ecosystem-card-header .ecosystem-card-actions button.ecosystem-delete-btn:hover{background:#fecaca;transform:translateY(-1px)}.OfferingsFormMaster .ecosystem-card .ecosystem-card-header .ecosystem-card-actions button.ecosystem-status-btn.ecosystem-activate{background:#dcfce7;color:#166534}.OfferingsFormMaster .ecosystem-card .ecosystem-card-header .ecosystem-card-actions button.ecosystem-status-btn.ecosystem-activate:hover{background:#bbf7d0;transform:translateY(-1px)}.OfferingsFormMaster .ecosystem-card .ecosystem-card-header .ecosystem-card-actions button.ecosystem-status-btn.ecosystem-deactivate{background:#fef3c7;color:#92400e}.OfferingsFormMaster .ecosystem-card .ecosystem-card-header .ecosystem-card-actions button.ecosystem-status-btn.ecosystem-deactivate:hover{background:#fde68a;transform:translateY(-1px)}.OfferingsFormMaster .ecosystem-card .ecosystem-card-content .ecosystem-poster-image{margin-bottom:16px;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.OfferingsFormMaster .ecosystem-card .ecosystem-card-content .ecosystem-poster-image img{width:100%;height:200px;object-fit:cover;display:block}.OfferingsFormMaster .ecosystem-card .ecosystem-card-content p{margin:0 0 12px;font-size:.875rem;color:#64748b;line-height:1.5;font-family:NeueMontreal,sans-serif}.OfferingsFormMaster .ecosystem-card .ecosystem-card-content p strong{color:#374151;font-weight:600}.OfferingsFormMaster .ecosystem-card .ecosystem-card-content p.ecosystem-created-date{font-size:.75rem;color:#94a3b8;margin-bottom:8px}.OfferingsFormMaster .ecosystem-card .ecosystem-card-content p.ecosystem-status{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.OfferingsFormMaster .ecosystem-card .ecosystem-card-content p.ecosystem-status.ecosystem-active{color:#166534}.OfferingsFormMaster .ecosystem-card .ecosystem-card-content p.ecosystem-status.ecosystem-inactive{color:#991b1b}.OfferingsFormMaster .ecosystem-card .ecosystem-card-content p:last-child{margin-bottom:0}.OfferingsFormMaster .ecosystem-placeholder-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 32px;text-align:center;background:transparent}.OfferingsFormMaster .ecosystem-placeholder-content .ecosystem-placeholder-icon{width:120px;height:120px;background:#f8fafc;border:2px solid #e2e8f0;border-radius:16px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:3.5rem;margin-bottom:40px;box-shadow:0 4px 12px #0000000d}.OfferingsFormMaster .ecosystem-placeholder-content h2{margin:0 0 16px;font-size:1.75rem;font-weight:600;color:#1e293b;font-family:Poppins,sans-serif;letter-spacing:-.02em}.OfferingsFormMaster .ecosystem-placeholder-content p{margin:0;color:#64748b;font-size:1rem;font-family:Poppins,sans-serif;line-height:1.5;max-width:400px}.OfferingsFormMaster .ecosystem-form{padding:20px 0}.OfferingsFormMaster .ecosystem-form .poster-section-title{font-size:1.125rem;font-weight:600;color:#1e293b;margin:24px 0 16px;padding-bottom:8px;border-bottom:1px solid #e5e7eb;font-family:Poppins,sans-serif}.OfferingsFormMaster .ecosystem-form .ecosystem-form-group{margin-bottom:24px}.OfferingsFormMaster .ecosystem-form .ecosystem-form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151!important;font-size:.875rem;font-family:NeueMontreal,sans-serif}.OfferingsFormMaster .ecosystem-form .ecosystem-form-group input,.OfferingsFormMaster .ecosystem-form .ecosystem-form-group textarea{width:100%!important;padding:12px!important;border:1px solid #d1d5db!important;border-radius:6px!important;font-size:.875rem!important;transition:all .2s ease;font-family:NeueMontreal,sans-serif!important;box-sizing:border-box}.OfferingsFormMaster .ecosystem-form .ecosystem-form-group input:focus,.OfferingsFormMaster .ecosystem-form .ecosystem-form-group textarea:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.OfferingsFormMaster .ecosystem-form .ecosystem-form-group input::placeholder,.OfferingsFormMaster .ecosystem-form .ecosystem-form-group textarea::placeholder{color:#9ca3af!important}.OfferingsFormMaster .ecosystem-form .ecosystem-form-group input.error,.OfferingsFormMaster .ecosystem-form .ecosystem-form-group textarea.error{border-color:#ef4444!important;box-shadow:0 0 0 3px #ef44441a!important}.OfferingsFormMaster .ecosystem-form .ecosystem-form-group textarea{resize:vertical;min-height:100px!important}.OfferingsFormMaster .ecosystem-form .ecosystem-form-group .error-message{display:block;color:#ef4444;font-size:.75rem;margin-top:4px;font-family:NeueMontreal,sans-serif}.ant-modal .ecosystem-form{padding:20px 0}.ant-modal .ecosystem-form .poster-section-title{font-size:1.125rem;font-weight:600;color:#1e293b;margin:24px 0 16px;padding-bottom:8px;border-bottom:1px solid #e5e7eb;font-family:Poppins,sans-serif}.ant-modal .ecosystem-form .ecosystem-form-group{margin-bottom:24px}.ant-modal .ecosystem-form .ecosystem-form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151!important;font-size:.875rem;font-family:NeueMontreal,sans-serif}.ant-modal .ecosystem-form .ecosystem-form-group input,.ant-modal .ecosystem-form .ecosystem-form-group textarea{width:100%!important;padding:12px!important;border:1px solid #d1d5db!important;border-radius:6px!important;font-size:.875rem!important;transition:all .2s ease;font-family:NeueMontreal,sans-serif!important;box-sizing:border-box}.ant-modal .ecosystem-form .ecosystem-form-group input:focus,.ant-modal .ecosystem-form .ecosystem-form-group textarea:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.ant-modal .ecosystem-form .ecosystem-form-group input::placeholder,.ant-modal .ecosystem-form .ecosystem-form-group textarea::placeholder{color:#9ca3af!important}.ant-modal .ecosystem-form .ecosystem-form-group input.error,.ant-modal .ecosystem-form .ecosystem-form-group textarea.error{border-color:#ef4444!important;box-shadow:0 0 0 3px #ef44441a!important}.ant-modal .ecosystem-form .ecosystem-form-group textarea{resize:vertical;min-height:100px!important}.ant-modal .ecosystem-form .ecosystem-form-group .error-message{display:block;color:#ef4444;font-size:.75rem;margin-top:4px;font-family:NeueMontreal,sans-serif}@media (max-width: 768px){.OfferingsFormMaster .ecosystem-form-header{flex-direction:column;align-items:flex-start;gap:20px;padding:24px}.OfferingsFormMaster .ecosystem-form-header .ecosystem-header-left .ecosystem-header-content h2{font-size:1.5rem}.OfferingsFormMaster .ecosystem-tab-navigation{flex-direction:column;align-items:flex-start;gap:16px;padding:16px 24px}.OfferingsFormMaster .ecosystem-tab-navigation .ecosystem-tab-controls{width:100%;justify-content:space-between}.OfferingsFormMaster .ecosystem-display,.OfferingsFormMaster .ecosystem-card{padding:16px}.OfferingsFormMaster .ecosystem-card .ecosystem-card-header{flex-direction:column;align-items:flex-start;gap:12px}.OfferingsFormMaster .ecosystem-card .ecosystem-card-header h3{margin-right:0;margin-bottom:0}.OfferingsFormMaster .ecosystem-card .ecosystem-card-header .ecosystem-card-actions{width:100%;justify-content:flex-start}.OfferingsFormMaster .ecosystem-placeholder-content{padding:60px 16px}.OfferingsFormMaster .ecosystem-placeholder-content .ecosystem-placeholder-icon{width:100px;height:100px;font-size:3rem;margin-bottom:32px}.OfferingsFormMaster .ecosystem-placeholder-content h2{font-size:1.5rem}.OfferingsFormMaster .ecosystem-placeholder-content p{font-size:.875rem;max-width:300px}}.trending-apps-form-master{width:100%;height:100%;display:flex;flex-direction:column;font-family:NeueMontreal,-apple-system,BlinkMacSystemFont,sans-serif}.trending-apps-form-master .trending-apps-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0;padding:40px 40px 32px;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px #00000005}.trending-apps-form-master .trending-apps-form-header .trending-apps-header-left{display:flex;align-items:center;gap:20px}.trending-apps-form-master .trending-apps-form-header .trending-apps-header-left .trending-apps-header-icon{width:50px;height:50px;background:linear-gradient(135deg,#8b5cf6 0%,#a855f7 50%,#c084fc 100%);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.5rem;box-shadow:0 4px 12px #8b5cf64d;border:1px solid rgba(255,255,255,.1)}.trending-apps-form-master .trending-apps-form-header .trending-apps-header-left .trending-apps-header-content{display:flex;flex-direction:column;align-items:flex-start}.trending-apps-form-master .trending-apps-form-header .trending-apps-header-left .trending-apps-header-content h2{font-size:2rem;font-weight:700;color:#1e293b;letter-spacing:-.03em;line-height:1.2;font-family:Poppins,sans-serif}.trending-apps-form-master .trending-apps-form-header .trending-apps-header-left .trending-apps-header-content p{margin:0;font-size:.9375rem;color:#64748b;font-weight:400;letter-spacing:-.01em;font-family:Poppins,sans-serif}.trending-apps-form-master .trending-apps-form-header .trending-apps-create-btn{background:linear-gradient(135deg,#8b5cf6 0%,#a855f7 100%);color:#fff;border:none;padding:16px 32px;border-radius:12px;font-weight:600;font-size:.9375rem;cursor:pointer;font-family:Poppins,sans-serif;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:10px;box-shadow:0 4px 12px #8b5cf64d}.trending-apps-form-master .trending-apps-form-header .trending-apps-create-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #8b5cf666}.trending-apps-form-master .trending-apps-tab-navigation{display:flex;justify-content:space-between;align-items:center;padding:16px 40px;border-bottom:1px solid #e5e7eb;background:#f8fafc}.trending-apps-form-master .trending-apps-tab-navigation .trending-apps-tab-buttons{display:flex;gap:16px}.trending-apps-form-master .trending-apps-tab-navigation .trending-apps-tab-buttons .trending-apps-tab-btn{padding:8px 16px;border:none;background:transparent;color:#64748b;font-size:.875rem;font-weight:500;cursor:pointer;border-radius:8px;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.trending-apps-form-master .trending-apps-tab-navigation .trending-apps-tab-buttons .trending-apps-tab-btn.trending-apps-active{background:#e2e8f0;color:#1e293b}.trending-apps-form-master .trending-apps-tab-navigation .trending-apps-tab-buttons .trending-apps-tab-btn:hover:not(.trending-apps-active){background:#f1f5f9;color:#475569}.trending-apps-form-master .trending-apps-tab-navigation .trending-apps-tab-controls{display:flex;align-items:center;gap:16px}.trending-apps-form-master .trending-apps-tab-navigation .trending-apps-tab-controls .trending-apps-sort-dropdown select{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;background:white;color:#374151;font-size:.875rem;font-family:NeueMontreal,sans-serif;cursor:pointer}.trending-apps-form-master .trending-apps-tab-navigation .trending-apps-tab-controls .trending-apps-sort-dropdown select:focus{outline:none;border-color:#3b82f6}.trending-apps-form-master .trending-apps-tab-navigation .trending-apps-tab-controls .trending-apps-view-toggle{display:flex;border:1px solid #d1d5db;border-radius:6px;overflow:hidden}.trending-apps-form-master .trending-apps-tab-navigation .trending-apps-tab-controls .trending-apps-view-toggle .trending-apps-view-btn{padding:8px 12px;border:none;background:white;color:#64748b;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.trending-apps-form-master .trending-apps-tab-navigation .trending-apps-tab-controls .trending-apps-view-toggle .trending-apps-view-btn.trending-apps-active{background:#e2e8f0;color:#1e293b}.trending-apps-form-master .trending-apps-tab-navigation .trending-apps-tab-controls .trending-apps-view-toggle .trending-apps-view-btn:hover:not(.trending-apps-active){background:#f8fafc}.trending-apps-form-master .trending-apps-display{padding:32px}.trending-apps-form-master .trending-apps-display .trending-apps-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}@media (max-width: 768px){.trending-apps-form-master .trending-apps-display .trending-apps-grid{grid-template-columns:1fr;gap:16px}}.trending-apps-form-master .trending-apps-card{background:white;border-radius:16px;padding:24px;box-shadow:0 2px 8px #00000014;border:2px solid transparent;transition:all .3s cubic-bezier(.4,0,.2,1)}.trending-apps-form-master .trending-apps-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f;border-color:#e2e8f0}.trending-apps-form-master .trending-apps-card.trending-apps-inactive{opacity:.7;border-color:#f6ad55}.trending-apps-form-master .trending-apps-card.trending-apps-inactive .trending-apps-status{color:#991b1b}.trending-apps-form-master .trending-apps-card .trending-apps-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.trending-apps-form-master .trending-apps-card .trending-apps-card-header h3{margin:0 16px 0 0;font-size:1.125rem;font-weight:700;color:#1e293b;line-height:1.4;letter-spacing:-.02em;font-family:Poppins,sans-serif;flex:1}.trending-apps-form-master .trending-apps-card .trending-apps-card-header .trending-apps-card-actions{display:flex;gap:8px;flex-wrap:wrap}.trending-apps-form-master .trending-apps-card .trending-apps-card-header .trending-apps-card-actions button{padding:6px 12px;border:none;border-radius:8px;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif;text-transform:uppercase;letter-spacing:.5px}.trending-apps-form-master .trending-apps-card .trending-apps-card-header .trending-apps-card-actions button.trending-apps-edit-btn{background:#dbeafe;color:#1e40af}.trending-apps-form-master .trending-apps-card .trending-apps-card-header .trending-apps-card-actions button.trending-apps-edit-btn:hover{background:#bfdbfe;transform:translateY(-1px)}.trending-apps-form-master .trending-apps-card .trending-apps-card-header .trending-apps-card-actions button.trending-apps-delete-btn{background:#fee2e2!important;color:#991b1b!important;border:1px solid #fca5a5!important}.trending-apps-form-master .trending-apps-card .trending-apps-card-header .trending-apps-card-actions button.trending-apps-delete-btn:hover{background:#fecaca!important;transform:translateY(-1px);box-shadow:0 2px 8px #991b1b33!important}.trending-apps-form-master .trending-apps-card .trending-apps-card-header .trending-apps-card-actions button.trending-apps-status-btn.trending-apps-activate{background:#dcfce7;color:#166534}.trending-apps-form-master .trending-apps-card .trending-apps-card-header .trending-apps-card-actions button.trending-apps-status-btn.trending-apps-activate:hover{background:#bbf7d0;transform:translateY(-1px)}.trending-apps-form-master .trending-apps-card .trending-apps-card-header .trending-apps-card-actions button.trending-apps-status-btn.trending-apps-deactivate{background:#fef3c7;color:#92400e}.trending-apps-form-master .trending-apps-card .trending-apps-card-header .trending-apps-card-actions button.trending-apps-status-btn.trending-apps-deactivate:hover{background:#fde68a;transform:translateY(-1px)}.trending-apps-form-master .trending-apps-card .trending-apps-card-content p{margin:0 0 12px;font-size:.875rem;color:#64748b;line-height:1.5;font-family:NeueMontreal,sans-serif}.trending-apps-form-master .trending-apps-card .trending-apps-card-content p strong{color:#374151;font-weight:600}.trending-apps-form-master .trending-apps-card .trending-apps-card-content p.trending-apps-created-date{font-size:.75rem;color:#94a3b8;margin-bottom:8px}.trending-apps-form-master .trending-apps-card .trending-apps-card-content p.trending-apps-status{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.trending-apps-form-master .trending-apps-card .trending-apps-card-content p.trending-apps-status.trending-apps-active{color:#166534}.trending-apps-form-master .trending-apps-card .trending-apps-card-content p.trending-apps-status.trending-apps-inactive{color:#991b1b}.trending-apps-form-master .trending-apps-card .trending-apps-card-content p:last-child{margin-bottom:0}.trending-apps-form-master .trending-apps-card .trending-apps-card-content .trending-apps-industries-display{margin-top:16px;padding-top:16px;border-top:1px solid #e5e7eb}.trending-apps-form-master .trending-apps-card .trending-apps-card-content .trending-apps-industries-display strong{display:block;margin-bottom:12px;color:#374151;font-size:.875rem}.trending-apps-form-master .trending-apps-card .trending-apps-card-content .trending-apps-industries-display .trending-apps-industry-tags{display:flex;flex-wrap:wrap;gap:6px}.trending-apps-form-master .trending-apps-card .trending-apps-card-content .trending-apps-industries-display .trending-apps-industry-tags .trending-apps-industry-tag{background:#f1f5f9;color:#475569;padding:4px 8px;border-radius:6px;font-size:.75rem;font-weight:500;border:1px solid #e2e8f0}.trending-apps-form-master .trending-apps-placeholder-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 32px;text-align:center;background:transparent}.trending-apps-form-master .trending-apps-placeholder-content .trending-apps-placeholder-icon{width:120px;height:120px;background:#f8fafc;border:2px solid #e2e8f0;border-radius:16px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:3.5rem;margin-bottom:40px;box-shadow:0 4px 12px #0000000d}.trending-apps-form-master .trending-apps-placeholder-content h2{margin:0 0 16px;font-size:1.75rem;font-weight:600;color:#1e293b;font-family:Poppins,sans-serif;letter-spacing:-.02em}.trending-apps-form-master .trending-apps-placeholder-content p{margin:0;color:#64748b;font-size:1rem;font-family:Poppins,sans-serif;line-height:1.5;max-width:400px}.trending-apps-form-master .trending-apps-form{padding:20px 0}.trending-apps-form-master .trending-apps-form .trending-apps-form-group{margin-bottom:24px}.trending-apps-form-master .trending-apps-form .trending-apps-form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151!important;font-size:.875rem;font-family:NeueMontreal,sans-serif}.trending-apps-form-master .trending-apps-form .trending-apps-form-group input{width:100%!important;padding:12px!important;border:1px solid #d1d5db!important;border-radius:6px!important;font-size:.875rem!important;transition:all .2s ease;font-family:NeueMontreal,sans-serif!important;box-sizing:border-box}.trending-apps-form-master .trending-apps-form .trending-apps-form-group input:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.trending-apps-form-master .trending-apps-form .trending-apps-form-group input::placeholder{color:#9ca3af!important}.trending-apps-form-master .trending-apps-form .trending-apps-form-group input.error{border-color:#ef4444!important;box-shadow:0 0 0 3px #ef44441a!important}.trending-apps-form-master .trending-apps-form .trending-apps-form-group .trending-apps-industries-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;padding:16px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.trending-apps-form-master .trending-apps-form .trending-apps-form-group .trending-apps-industries-grid.error{border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.trending-apps-form-master .trending-apps-form .trending-apps-form-group .trending-apps-industries-grid .trending-apps-checkbox-item{display:flex;align-items:center;gap:8px;cursor:pointer;padding:8px;border-radius:6px;transition:all .2s ease}.trending-apps-form-master .trending-apps-form .trending-apps-form-group .trending-apps-industries-grid .trending-apps-checkbox-item:hover{background:#e2e8f0}.trending-apps-form-master .trending-apps-form .trending-apps-form-group .trending-apps-industries-grid .trending-apps-checkbox-item input[type=checkbox]{width:auto!important;margin:0;cursor:pointer}.trending-apps-form-master .trending-apps-form .trending-apps-form-group .trending-apps-industries-grid .trending-apps-checkbox-item span{font-size:.875rem;color:#374151;font-family:NeueMontreal,sans-serif}.trending-apps-form-master .trending-apps-form .trending-apps-form-group .error-message{display:block;color:#ef4444;font-size:.75rem;margin-top:4px;font-family:NeueMontreal,sans-serif}.trending-apps-form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:32px;padding-top:20px;border-top:1px solid #e5e7eb}.trending-apps-form-actions button{padding:10px 20px;border:none;border-radius:8px;font-size:.875rem;font-weight:400;letter-spacing:.3px;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.trending-apps-form-actions button.trending-apps-save-btn{background:linear-gradient(135deg,#10b981 0%,#059669 100%);color:#fff;box-shadow:0 2px 8px #10b9814d}.trending-apps-form-actions button.trending-apps-save-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #10b98166}.trending-apps-form-actions button.trending-apps-cancel-btn{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.trending-apps-form-actions button.trending-apps-cancel-btn:hover{background:#e5e7eb;transform:translateY(-1px)}.trending-apps-form-actions button.trending-apps-clear-btn{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.trending-apps-form-actions button.trending-apps-clear-btn:hover{background:#fde68a;transform:translateY(-1px)}.ant-modal .trending-apps-form{padding:20px 0}.ant-modal .trending-apps-form .trending-apps-form-group{margin-bottom:24px}.ant-modal .trending-apps-form .trending-apps-form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151!important;font-size:.875rem;font-family:NeueMontreal,sans-serif}.ant-modal .trending-apps-form .trending-apps-form-group input{width:100%!important;padding:12px!important;border:1px solid #d1d5db!important;border-radius:6px!important;font-size:.875rem!important;transition:all .2s ease;font-family:NeueMontreal,sans-serif!important;box-sizing:border-box}.ant-modal .trending-apps-form .trending-apps-form-group input:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.ant-modal .trending-apps-form .trending-apps-form-group input::placeholder{color:#9ca3af!important}.ant-popover.ant-popconfirm .ant-popover-inner{border-radius:12px!important;box-shadow:0 8px 32px #0000001f!important;border:1px solid #e5e7eb!important;overflow:hidden}.trending-apps-card .ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-message .ant-popconfirm-message-text .ant-popconfirm-title{color:#991b1b}@media (max-width: 768px){.trending-apps-form-master .trending-apps-display,.trending-apps-form-master .trending-apps-card{padding:16px}.trending-apps-form-master .trending-apps-card .trending-apps-card-header{flex-direction:column;align-items:flex-start;gap:12px}.trending-apps-form-master .trending-apps-card .trending-apps-card-header h3{margin-right:0;margin-bottom:0}.trending-apps-form-master .trending-apps-card .trending-apps-card-header .trending-apps-card-actions{width:100%;justify-content:flex-start}.trending-apps-form-master .trending-apps-placeholder-content{margin:20px 0;padding:60px 16px}.trending-apps-form-master .trending-apps-placeholder-content .trending-apps-placeholder-icon{width:100px;height:100px;font-size:3rem;margin-bottom:32px}.trending-apps-form-master .trending-apps-placeholder-content h2{font-size:1.5rem}.trending-apps-form-master .trending-apps-placeholder-content p{font-size:.875rem;max-width:300px}}.video-section-form-master{width:100%;height:100%;display:flex;flex-direction:column;font-family:NeueMontreal,-apple-system,BlinkMacSystemFont,sans-serif}.video-section-form-master .video-section-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0;padding:40px 40px 32px;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px #00000005}.video-section-form-master .video-section-form-header .video-section-header-left{display:flex;align-items:center;gap:20px}.video-section-form-master .video-section-form-header .video-section-header-left .video-section-header-icon{width:50px;height:50px;background:linear-gradient(135deg,#8b5cf6 0%,#a855f7 50%,#c084fc 100%);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.5rem;box-shadow:0 4px 12px #8b5cf64d;border:1px solid rgba(255,255,255,.1)}.video-section-form-master .video-section-form-header .video-section-header-left .video-section-header-content{display:flex;flex-direction:column;align-items:flex-start}.video-section-form-master .video-section-form-header .video-section-header-left .video-section-header-content h2{font-size:2rem;font-weight:700;color:#1e293b;letter-spacing:-.03em;line-height:1.2;font-family:Poppins,sans-serif}.video-section-form-master .video-section-form-header .video-section-header-left .video-section-header-content p{margin:0;font-size:.9375rem;color:#64748b;font-weight:400;letter-spacing:-.01em;font-family:Poppins,sans-serif}.video-section-form-master .video-section-form-header .video-section-create-btn{background:linear-gradient(135deg,#8b5cf6 0%,#a855f7 100%);color:#fff;border:none;padding:16px 32px;border-radius:12px;font-weight:600;font-size:.9375rem;cursor:pointer;font-family:Poppins,sans-serif;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:10px;box-shadow:0 4px 12px #8b5cf64d}.video-section-form-master .video-section-form-header .video-section-create-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #8b5cf666}.video-section-form-master .video-section-tab-navigation{display:flex;justify-content:space-between;align-items:center;padding:16px 40px;border-bottom:1px solid #e5e7eb;background:#f8fafc}.video-section-form-master .video-section-tab-navigation .video-section-tab-buttons{display:flex;gap:16px}.video-section-form-master .video-section-tab-navigation .video-section-tab-buttons .video-section-tab-btn{padding:8px 16px;border:none;background:transparent;color:#64748b;font-size:.875rem;font-weight:500;cursor:pointer;border-radius:8px;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.video-section-form-master .video-section-tab-navigation .video-section-tab-buttons .video-section-tab-btn.video-section-active{background:#e2e8f0;color:#1e293b}.video-section-form-master .video-section-tab-navigation .video-section-tab-buttons .video-section-tab-btn:hover:not(.video-section-active){background:#f1f5f9;color:#475569}.video-section-form-master .video-section-tab-navigation .video-section-tab-controls{display:flex;align-items:center;gap:16px}.video-section-form-master .video-section-tab-navigation .video-section-tab-controls .video-section-sort-dropdown select{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;background:white;color:#374151;font-size:.875rem;font-family:NeueMontreal,sans-serif;cursor:pointer}.video-section-form-master .video-section-tab-navigation .video-section-tab-controls .video-section-sort-dropdown select:focus{outline:none;border-color:#3b82f6}.video-section-form-master .video-section-tab-navigation .video-section-tab-controls .video-section-view-toggle{display:flex;border:1px solid #d1d5db;border-radius:6px;overflow:hidden}.video-section-form-master .video-section-tab-navigation .video-section-tab-controls .video-section-view-toggle .video-section-view-btn{padding:8px 12px;border:none;background:white;color:#64748b;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.video-section-form-master .video-section-tab-navigation .video-section-tab-controls .video-section-view-toggle .video-section-view-btn.video-section-active{background:#e2e8f0;color:#1e293b}.video-section-form-master .video-section-tab-navigation .video-section-tab-controls .video-section-view-toggle .video-section-view-btn:hover:not(.video-section-active){background:#f8fafc}.video-section-form-master .video-section-display{padding:32px}.video-section-form-master .video-section-display .video-section-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}@media (max-width: 768px){.video-section-form-master .video-section-display .video-section-grid{grid-template-columns:1fr;gap:16px}}.video-section-form-master .video-section-card{background:white;border-radius:16px;padding:24px;box-shadow:0 2px 8px #00000014;border:2px solid transparent;transition:all .3s cubic-bezier(.4,0,.2,1)}.video-section-form-master .video-section-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f;border-color:#e2e8f0}.video-section-form-master .video-section-card.video-section-inactive{opacity:.7;border-color:#f6ad55}.video-section-form-master .video-section-card.video-section-inactive .video-section-status{color:#991b1b}.video-section-form-master .video-section-card .video-section-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.video-section-form-master .video-section-card .video-section-card-header h3{margin:0 16px 0 0;font-size:1.125rem;font-weight:700;color:#1e293b;line-height:1.4;letter-spacing:-.02em;font-family:Poppins,sans-serif;flex:1}.video-section-form-master .video-section-card .video-section-card-header .video-section-card-actions{display:flex;gap:8px;flex-wrap:wrap}.video-section-form-master .video-section-card .video-section-card-header .video-section-card-actions button{padding:6px 12px;border:none;border-radius:8px;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif;text-transform:uppercase;letter-spacing:.5px}.video-section-form-master .video-section-card .video-section-card-header .video-section-card-actions button.video-section-edit-btn{background:#dbeafe;color:#1e40af}.video-section-form-master .video-section-card .video-section-card-header .video-section-card-actions button.video-section-edit-btn:hover{background:#bfdbfe;transform:translateY(-1px)}.video-section-form-master .video-section-card .video-section-card-header .video-section-card-actions button.video-section-delete-btn{background:#fee2e2;color:#991b1b}.video-section-form-master .video-section-card .video-section-card-header .video-section-card-actions button.video-section-delete-btn:hover{background:#fecaca;transform:translateY(-1px)}.video-section-form-master .video-section-card .video-section-card-header .video-section-card-actions button.video-section-status-btn.video-section-activate{background:#dcfce7;color:#166534}.video-section-form-master .video-section-card .video-section-card-header .video-section-card-actions button.video-section-status-btn.video-section-activate:hover{background:#bbf7d0;transform:translateY(-1px)}.video-section-form-master .video-section-card .video-section-card-header .video-section-card-actions button.video-section-status-btn.video-section-deactivate{background:#fef3c7;color:#92400e}.video-section-form-master .video-section-card .video-section-card-header .video-section-card-actions button.video-section-status-btn.video-section-deactivate:hover{background:#fde68a;transform:translateY(-1px)}.video-section-form-master .video-section-card .video-section-card-content .video-section-video-preview{margin-bottom:16px;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.video-section-form-master .video-section-card .video-section-card-content .video-section-video-preview video{width:100%;display:block}.video-section-form-master .video-section-card .video-section-card-content p{margin:0 0 12px;font-size:.875rem;color:#64748b;line-height:1.5;font-family:NeueMontreal,sans-serif}.video-section-form-master .video-section-card .video-section-card-content p strong{color:#374151;font-weight:600}.video-section-form-master .video-section-card .video-section-card-content p.video-section-created-date{font-size:.75rem;color:#94a3b8;margin-bottom:8px}.video-section-form-master .video-section-card .video-section-card-content p.video-section-status{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.video-section-form-master .video-section-card .video-section-card-content p.video-section-status.video-section-active{color:#166534}.video-section-form-master .video-section-card .video-section-card-content p.video-section-status.video-section-inactive{color:#991b1b}.video-section-form-master .video-section-card .video-section-card-content p:last-child{margin-bottom:0}.video-section-form-master .video-section-placeholder-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 32px;text-align:center;background:transparent}.video-section-form-master .video-section-placeholder-content .video-section-placeholder-icon{width:120px;height:120px;background:#f8fafc;border:2px solid #e2e8f0;border-radius:16px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:3.5rem;margin-bottom:40px;box-shadow:0 4px 12px #0000000d}.video-section-form-master .video-section-placeholder-content h2{margin:0 0 16px;font-size:1.75rem;font-weight:600;color:#1e293b;font-family:Poppins,sans-serif;letter-spacing:-.02em}.video-section-form-master .video-section-placeholder-content p{margin:0;color:#64748b;font-size:1rem;font-family:Poppins,sans-serif;line-height:1.5;max-width:400px}.video-section-form-master .video-section-form{padding:20px 0}.video-section-form-master .video-section-form .video-section-form-group{margin-bottom:24px}.video-section-form-master .video-section-form .video-section-form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151!important;font-size:.875rem;font-family:NeueMontreal,sans-serif}.video-section-form-master .video-section-form .video-section-form-group input{width:100%!important;padding:12px!important;border:1px solid #d1d5db!important;border-radius:6px!important;font-size:.875rem!important;transition:all .2s ease;font-family:NeueMontreal,sans-serif!important;box-sizing:border-box}.video-section-form-master .video-section-form .video-section-form-group input:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.video-section-form-master .video-section-form .video-section-form-group input::placeholder{color:#9ca3af!important}.video-section-form-master .video-section-form .video-section-form-group input.error{border-color:#ef4444!important;box-shadow:0 0 0 3px #ef44441a!important}.video-section-form-master .video-section-form .video-section-form-group .video-section-file-input{cursor:pointer;background:white}.video-section-form-master .video-section-form .video-section-form-group .video-section-file-input::-webkit-file-upload-button{background:linear-gradient(135deg,#8b5cf6 0%,#a855f7 100%);color:#fff;border:none;padding:8px 16px;border-radius:6px;cursor:pointer;font-weight:600;margin-right:12px;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.video-section-form-master .video-section-form .video-section-form-group .video-section-file-input::-webkit-file-upload-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #8b5cf64d}.video-section-form-master .video-section-form .video-section-form-group .video-section-video-preview{margin-top:12px;padding:12px;background:#f8fafc;border-radius:8px;border:2px solid #e2e8f0}.video-section-form-master .video-section-form .video-section-form-group .video-section-video-preview p{margin:0 0 8px;font-size:.875rem;color:#64748b;font-weight:500}.video-section-form-master .video-section-form .video-section-form-group .video-section-video-preview video{width:100%;border-radius:6px}.video-section-form-master .video-section-form .video-section-form-group .error-message{display:block;color:#ef4444;font-size:.75rem;margin-top:4px;font-family:NeueMontreal,sans-serif}.video-section-form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:32px;padding-top:20px;border-top:1px solid #e5e7eb}.video-section-form-actions button{padding:10px 20px;border:none;border-radius:8px;font-size:.875rem;font-weight:400;letter-spacing:.3px;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.video-section-form-actions button.video-section-save-btn{background:linear-gradient(135deg,#10b981 0%,#059669 100%);color:#fff;box-shadow:0 2px 8px #10b9814d}.video-section-form-actions button.video-section-save-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #10b98166}.video-section-form-actions button.video-section-cancel-btn{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.video-section-form-actions button.video-section-cancel-btn:hover{background:#e5e7eb;transform:translateY(-1px)}.video-section-form-actions button.video-section-clear-btn{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.video-section-form-actions button.video-section-clear-btn:hover{background:#fde68a;transform:translateY(-1px)}.ant-modal .video-section-form{padding:20px 0}.ant-modal .video-section-form .video-section-form-group{margin-bottom:24px}.ant-modal .video-section-form .video-section-form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151!important;font-size:.875rem;font-family:NeueMontreal,sans-serif}.ant-modal .video-section-form .video-section-form-group input{width:100%!important;padding:12px!important;border:1px solid #d1d5db!important;border-radius:6px!important;font-size:.875rem!important;transition:all .2s ease;font-family:NeueMontreal,sans-serif!important;box-sizing:border-box}.ant-modal .video-section-form .video-section-form-group input:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.ant-modal .video-section-form .video-section-form-group input::placeholder{color:#9ca3af!important}.ant-popover.ant-popconfirm .ant-popover-inner{border-radius:12px;box-shadow:0 8px 32px #0000001f;border:1px solid #e5e7eb;overflow:hidden}.ant-popover.ant-popconfirm .ant-popover-inner-content{padding:0}.ant-popover.ant-popconfirm .ant-popconfirm-inner-content{padding:20px}.ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-message{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-message .ant-popconfirm-message-icon{margin-top:2px}.ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-message .ant-popconfirm-message-icon .anticon{color:#f59e0b;font-size:18px}.ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-message .ant-popconfirm-message-text{flex:1}.ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-message .ant-popconfirm-message-text .ant-popconfirm-title{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:4px;font-family:Poppins,sans-serif}.ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-message .ant-popconfirm-message-text .ant-popconfirm-description{font-size:14px;color:#64748b;line-height:1.4;font-family:NeueMontreal,sans-serif}.ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-buttons{display:flex;gap:8px;justify-content:flex-end;margin-top:16px}.ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-buttons .ant-btn{border-radius:8px;font-weight:600;font-size:13px;height:36px;padding:0 16px;font-family:NeueMontreal,sans-serif;transition:all .2s ease}.ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-buttons .ant-btn.ant-btn-primary{background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);border:none;box-shadow:0 2px 8px #ef44444d}.ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-buttons .ant-btn.ant-btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 12px #ef444466;background:linear-gradient(135deg,#dc2626 0%,#b91c1c 100%)}.ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-buttons .ant-btn.ant-btn-primary:focus{box-shadow:0 0 0 3px #ef444433}.ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-buttons .ant-btn.ant-btn-default{background:#f8fafc;border:1px solid #e2e8f0;color:#475569}.ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-buttons .ant-btn.ant-btn-default:hover{background:#f1f5f9;border-color:#cbd5e1;color:#334155;transform:translateY(-1px)}.ant-popover.ant-popconfirm .ant-popconfirm-inner-content .ant-popconfirm-buttons .ant-btn.ant-btn-default:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.ant-popover.ant-popconfirm .ant-popover-arrow:before{background:white;border:1px solid #e5e7eb}@media (max-width: 768px){.video-section-form-master .video-section-display{padding:16px}.video-section-form-master .video-section-display h2{font-size:1.5rem;margin-bottom:24px}.video-section-form-master .video-section-card{padding:16px}.video-section-form-master .video-section-card .video-section-card-header{flex-direction:column;align-items:flex-start;gap:12px}.video-section-form-master .video-section-card .video-section-card-header h3{margin-right:0;margin-bottom:0}.video-section-form-master .video-section-card .video-section-card-header .video-section-card-actions{width:100%;justify-content:flex-start}.video-section-form-master .video-section-placeholder-content{margin:20px 0;padding:60px 16px}.video-section-form-master .video-section-placeholder-content .video-section-placeholder-icon{width:100px;height:100px;font-size:3rem;margin-bottom:32px}.video-section-form-master .video-section-placeholder-content h2{font-size:1.5rem}.video-section-form-master .video-section-placeholder-content p{font-size:.875rem;max-width:300px}}.blog-form-master{width:100%;height:100%;display:flex;flex-direction:column;font-family:NeueMontreal,-apple-system,BlinkMacSystemFont,sans-serif}.blog-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0;padding:16px;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px #00000005}@media (max-width: 500px){.blog-form-header{padding:10px}}.blog-form-header-content h2{font-size:1.5rem;font-weight:700;color:#1e293b;letter-spacing:-.03em;line-height:1.2;font-family:Poppins,sans-serif;margin:0 0 5px}@media (max-width: 600px){.blog-form-header-content h2{font-size:1.3rem}}.blog-form-header-content p{margin:0;font-size:.7rem;color:#64748b;font-weight:400;letter-spacing:-.01em;font-family:Poppins,sans-serif}@media (max-width: 600px){.blog-form-header-content p{font-size:.6rem}}.blog-form-create-btn{background-color:#5255c8;color:#fff;border:none;padding:10px 16px;border-radius:8px;font-weight:400;font-size:14px;cursor:pointer;font-family:Poppins,sans-serif;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:10px}.blog-form-create-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #5255c866}.blog-form-layout{display:flex;gap:30px;padding:2px;flex:1;align-items:flex-start;justify-content:center}.blog-form-left{width:60%}@media (max-width: 768px){.blog-form-left{width:100%}}.blog-form-right{flex:1}.blog-form-container{border-radius:16px;padding:20px;border:2px solid transparent;transition:all .3s cubic-bezier(.4,0,.2,1);margin-bottom:20px;border:1px solid rgba(0,0,0,.0784313725)}.blog-form-container:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000001f;border-color:#e2e8f0}.blog-form-container h3{margin:0 0 10px;font-size:1rem;font-weight:600;color:#1e293b;line-height:1.4;letter-spacing:-.02em;font-family:Poppins,sans-serif}.section-header{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:20px;gap:12px}.section-header h3{margin:0;font-size:.8rem;text-decoration:underline;font-weight:500;cursor:pointer;color:#1e40af;font-family:Poppins,sans-serif}.section-header div{margin:0;font-size:.8rem;text-decoration:underline;font-weight:500;cursor:pointer;color:#bd0a0a;font-family:Poppins,sans-serif}.add-btn{background:#000000;color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:Poppins,sans-serif;text-transform:uppercase;letter-spacing:.5px}.add-btn:hover{background:#333333;transform:translateY(-1px);box-shadow:0 4px 12px #0000004d}.section-buttons{display:flex;gap:12px;margin-top:20px}.remove-btn{background:#ef4444;color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:Poppins,sans-serif;text-transform:uppercase;letter-spacing:.5px}.remove-btn:hover{background:#dc2626;transform:translateY(-1px);box-shadow:0 4px 12px #ef44444d}.blog-form-field{margin-bottom:24px}.blog-form-field label{display:block;margin-bottom:4px;font-weight:500;color:#374151!important;font-size:.875rem;font-family:NeueMontreal,sans-serif}.blog-form-field input,.blog-form-field textarea,.blog-form-field select{width:100%!important;padding:12px!important;border:1px solid #d1d5db!important;border-radius:6px!important;font-size:.875rem!important;transition:all .2s ease;font-family:NeueMontreal,sans-serif!important;box-sizing:border-box}.blog-form-field input:focus,.blog-form-field textarea:focus,.blog-form-field select:focus{outline:none!important;border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.blog-form-field input::placeholder,.blog-form-field textarea::placeholder{color:#9ca3af!important}.blog-form-field textarea{resize:vertical;min-height:120px}.detail-section{padding:20px 0;margin-bottom:20px;border-radius:12px}.dynamic-inputs{display:flex;flex-direction:column;gap:20px}.dynamic-inputs textarea{height:4rem;border:1px solid #d1d5db!important;border-radius:8px}.input-group{margin-bottom:15px}.group-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.group-header label{margin:0;font-weight:600;color:#374151;font-size:.875rem;font-family:NeueMontreal,sans-serif}.input-wrapper{display:flex;align-items:flex-start;gap:10px;margin-bottom:15px;flex-wrap:wrap}.input-wrapper input,.input-wrapper textarea{flex:1;margin-bottom:0}.button-group{display:flex;gap:8px;align-items:flex-start}.button-group .add-btn{background:#5255c8;color:#fff;border:none;padding:8px 12px;border-radius:4px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:Poppins,sans-serif;min-width:60px;height:fit-content}.button-group .add-btn:hover{background:#059669;transform:translateY(-1px)}.button-group .remove-btn{background:#ef4444;color:#fff;border:none;padding:8px 12px;border-radius:4px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:Poppins,sans-serif;min-width:60px;height:fit-content}.button-group .remove-btn:hover{background:#dc2626;transform:translateY(-1px)}.preview-section{background:white;border-radius:16px;padding:24px;box-shadow:0 2px 8px #00000014;border:2px solid transparent;position:sticky;top:20px;transition:all .3s cubic-bezier(.4,0,.2,1)}.preview-section:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000001f;border-color:#e2e8f0}.preview-section h3{margin:0 0 20px;font-size:1rem;font-weight:700;color:#1e293b;font-family:Poppins,sans-serif}.preview-content{display:flex;flex-direction:column;gap:15px}.preview-content p{margin:0;font-size:.875rem;color:#64748b;line-height:1.5;font-family:NeueMontreal,sans-serif}.blog-form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:32px}.blog-form-btn-primary{background:linear-gradient(135deg,#5255c8 0%,#5255c8 100%);color:#fff;border:none;padding:10px 20px;border-radius:8px;font-size:.875rem;font-weight:400;letter-spacing:.3px;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif;box-shadow:0 2px 8px #10b9814d}.blog-form-btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 12px #10b98166}.blog-form-btn-secondary{background:#f3f4f6;color:#374151;border:1px solid #d1d5db;padding:10px 20px;border-radius:8px;font-size:.875rem;font-weight:400;letter-spacing:.3px;cursor:pointer;transition:all .2s ease;font-family:NeueMontreal,sans-serif}.blog-form-btn-secondary:hover{background:#e5e7eb;transform:translateY(-1px)}.blog-display{padding:32px}.blog-display .blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}@media (max-width: 768px){.blog-display .blog-grid{grid-template-columns:1fr;gap:16px}}.blog-card{background:white;border-radius:16px;padding:24px;box-shadow:0 2px 8px #00000014;border:2px solid transparent;transition:all .3s cubic-bezier(.4,0,.2,1)}.blog-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f;border-color:#e2e8f0}.blog-card.blog-inactive{opacity:.7;border-color:#fff}.blog-card.blog-inactive .blog-status{color:#991b1b;margin-top:15px}.blog-card .blog-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:6px}.blog-card .blog-card-header h3{margin:0 16px 0 0;font-size:1rem;font-weight:700;color:#1e293b;line-height:1.4;letter-spacing:-.02em;font-family:Poppins,sans-serif;flex:1}.blog-card .blog-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;align-items:center;justify-content:flex-end}.blog-card .blog-card-actions button{padding:2px 6px;border:none;border-radius:4px;font-size:.75rem;font-weight:400;cursor:pointer;transition:all .2s ease;font-family:Poppins,sans-serif;letter-spacing:.5px;background:none}.blog-card .blog-card-actions button.blog-edit-btn{color:#000}.blog-card .blog-card-actions button.blog-delete-btn{color:#000!important}.blog-card .blog-card-actions button.blog-status-btn.blog-activate{color:#009238}.blog-card .blog-card-actions button.blog-status-btn.blog-activate:hover{background:#bbf7d0;transform:translateY(-1px)}.blog-card .blog-card-actions button.blog-status-btn.blog-deactivate{color:#c00}.blog-card .blog-card-actions button.blog-status-btn.blog-deactivate:hover{transform:translateY(-1px)}.blog-card .blog-card-content p{margin:0 0 12px;font-size:.875rem;color:#64748b;line-height:1.5;font-family:NeueMontreal,sans-serif;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;height:max-content;max-height:80px}.blog-card .blog-card-content p strong{color:#374151;font-weight:600;margin-right:4px}.blog-card .blog-card-content p.blog-status{font-size:11px;font-family:Poppins;font-weight:400;letter-spacing:.5px;background-color:#166534;width:max-content;padding:0 6px;border-radius:3px}.blog-card .blog-card-content p.blog-status.blog-active{color:#fff;margin-top:15px}.blog-card .blog-card-content p.blog-status.blog-inactive{background-color:#c20000;color:#fff}.blog-card .blog-card-content p:last-child{margin-bottom:0}.blog-placeholder-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 32px;text-align:center;background:transparent}.blog-placeholder-content .blog-placeholder-icon{width:70px;height:70px;background:#f8fafc;border:2px solid #e2e8f0;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#363a3f;font-size:2.5rem;margin-bottom:40px;box-shadow:0 4px 12px #0000000d}.blog-placeholder-content h2{margin:0 0 16px;font-size:1.75rem;font-weight:600;color:#1e293b;font-family:Poppins,sans-serif;letter-spacing:-.02em}.blog-placeholder-content p{margin:0;color:#64748b;font-size:1rem;font-family:Poppins,sans-serif;line-height:1.5;max-width:400px}.blogFilter{display:flex;gap:16px;align-items:center;padding:10px;border-bottom:1px solid #e5e7eb;flex-wrap:wrap}.blogFilter .search-container{position:relative;flex:1;min-width:250px}.blogFilter .search-container .search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#9ca3af;font-size:16px}.blogFilter .search-container .search-input{width:100%;padding:10px 12px 10px 40px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;outline:none;transition:border-color .2s;font-family:NeueMontreal,sans-serif}.blogFilter .search-container .search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.blogFilter .search-container .search-input::placeholder{color:#9ca3af}.blogFilter .filter-buttons{display:flex;gap:8px;align-items:center}.blogFilter .filter-buttons .filter-label{font-size:14px;color:#6b7280;font-weight:500;font-family:Poppins,sans-serif}.blogFilter .filter-buttons .filter-btn{padding:6px 12px;border:1px solid #d1d5db;background:white;color:#374151;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:4px;font-family:Poppins,sans-serif}.blogFilter .filter-buttons .filter-btn.active{border-color:#3b82f6;background:#3b82f6;color:#fff}.blogFilter .filter-buttons .filter-btn:hover{transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.blogFilter .filter-buttons .filter-btn .count-badge{padding:2px 6px;border-radius:10px;font-size:10px;font-weight:600;background:#f3f4f6;color:#6b7280}.blogFilter .filter-buttons .filter-btn .count-badge.active{background:rgba(255,255,255,.2);color:#fff}@media (max-width: 768px){.blogFilter{flex-direction:column;align-items:stretch;gap:12px}.blogFilter .search-container{min-width:auto}.blogFilter .filter-buttons{justify-content:center;flex-wrap:wrap}}@media (max-width: 768px){.blog-form-layout{flex-direction:column;gap:20px;padding:16px}.blog-form-container{padding:16px}.section-header{flex-direction:column;align-items:flex-start;gap:12px}.blog-display{padding:6px}.blog-card{padding:16px}.blog-card .blog-card-header{flex-direction:column;align-items:flex-start;gap:12px}.blog-card .blog-card-header h3{margin-right:0;margin-bottom:0}.blog-card .blog-card-actions{width:100%;justify-content:flex-start}.blog-placeholder-content{padding:60px 16px}.blog-placeholder-content .blog-placeholder-icon{width:100px;height:100px;font-size:3rem;margin-bottom:32px}.blog-placeholder-content h2{font-size:1.5rem}.blog-placeholder-content p{font-size:.875rem;max-width:300px}.blog-form-actions{flex-direction:column;gap:8px}.blog-form-btn-primary,.blog-form-btn-secondary{width:100%;justify-content:center}}.seo-form-master{background:#f8f9fa;min-height:100vh;font-family:NeueMontreal,-apple-system,BlinkMacSystemFont,sans-serif;overflow:auto;margin-bottom:2rem}.seo-form-master .seo-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding:16px;background:white;border-bottom:1px solid rgba(0,0,0,.1019607843);width:100%}.seo-form-master .seo-form-header .seo-form-header-content h2{color:#2c3e50;font-size:24px;font-weight:600}.seo-form-master .seo-form-header .seo-form-header-content p{margin:0;color:#6c757d;font-size:13px}.seo-form-master .seo-form-layout{display:flex;gap:30px;align-items:flex-start;justify-content:center}.seo-form-master .seo-form-layout .seo-form-left{flex:1;max-width:800px}.seo-form-master .seo-form-layout .seo-form-left .seo-form-container{background:white;padding:20px;border-radius:12px;box-shadow:0 2px 8px #0000001a}.seo-form-master .seo-form-layout .seo-form-left .seo-form-container h3{margin:0 0 25px;color:#2c3e50;font-size:18px;font-weight:500;border-bottom:2px solid #e9ecef;padding-bottom:10px}.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-field{margin-bottom:20px}.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-field label{display:block;margin-bottom:8px;color:#495057;font-weight:500;font-size:14px}.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-field input,.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-field select,.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-field textarea{width:100%;padding:12px 16px;border:1px solid #e9ecef;border-radius:8px;font-size:14px;transition:all .3s ease;background:#fff}.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-field input:focus,.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-field select:focus,.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-field textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-field input::placeholder,.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-field select::placeholder,.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-field textarea::placeholder{color:#adb5bd}.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-field textarea{resize:vertical;min-height:100px}.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-field select{cursor:pointer;text-transform:capitalize!important}.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-actions{display:flex;gap:15px;margin-top:30px;padding-top:20px;border-top:1px solid #e9ecef;justify-content:center}.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-actions .seo-form-btn-primary,.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-actions .seo-form-btn-secondary{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;padding:10px 24px;border-radius:8px;font-size:14px;font-weight:400;cursor:pointer;font-family:NeueMontreal;transition:all .3s ease}.seo-form-master .seo-form-layout .seo-form-left .seo-form-container .seo-form-actions .seo-form-btn-secondary{background:#6c757d;color:#fff}.seo-form-master .seo-form-layout .seo-form-right{flex:1;display:flex;align-items:center;justify-content:center}.seo-form-master .seo-form-layout .seo-form-right .seo-placeholder-content{text-align:center;padding:60px 40px;background:white;border-radius:12px;box-shadow:0 2px 8px #0000001a;max-width:400px}.seo-form-master .seo-form-layout .seo-form-right .seo-placeholder-content .seo-placeholder-icon{font-size:64px;color:#667eea;margin-bottom:20px}.seo-form-master .seo-form-layout .seo-form-right .seo-placeholder-content h2{margin:0 0 15px;color:#2c3e50;font-size:24px;font-weight:600}.seo-form-master .seo-form-layout .seo-form-right .seo-placeholder-content p{margin:0;color:#6c757d;font-size:16px;line-height:1.5}@media (max-width: 768px){.seo-form-master .seo-form-header{flex-direction:column;gap:20px;text-align:center}.seo-form-master .seo-form-layout{gap:20px}.seo-form-master .seo-form-layout .seo-form-left{max-width:95%}.seo-form-master .seo-form-layout .seo-form-right .seo-placeholder-content{padding:40px 20px}.seo-form-master .seo-form-actions{flex-direction:column}.seo-form-master .seo-form-actions button{width:100%}}.pozo-blogs-page{padding:20px 0}.pozo-blogs-page .pozo-blog-page-title{margin-top:5rem;text-align:left;font-size:1.8rem;font-weight:600;color:#1a1a1a;margin-bottom:10px;max-width:100%;padding:0 108px}.pozo-blogs-page .pozo-blog-page-subtitle{text-align:left;font-size:1rem;font-weight:400;color:#666;margin-bottom:20px;max-width:100%;padding:0 108px;line-height:1.5}.pozo-blogs-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;padding:24px;max-width:1200px;margin:0 auto}.pozo-blog-card{background:#ffffff;border-radius:16px;box-shadow:0 4px 20px #00000014;overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;cursor:pointer;width:100%}.pozo-blog-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px #00000026}.pozo-blog-card:hover .pozo-blog-card-image img{transform:scale(1.02)}.pozo-blog-card .pozo-blog-card-image{position:relative;height:220px;overflow:hidden}.pozo-blog-card .pozo-blog-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.pozo-blog-card .pozo-blog-card-image .pozo-blog-card-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,rgba(74,144,226,.1) 0%,rgba(148,86,210,.1) 100%);opacity:0;transition:opacity .3s ease}.pozo-blog-card .pozo-blog-card-image:hover .pozo-blog-card-overlay{opacity:1}.pozo-blog-card .pozo-blog-card-content{padding:24px}.pozo-blog-card .pozo-blog-card-content .pozo-blog-tags-container{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:6px;font-size:12px;font-family:Poppins;font-weight:400;color:#525252}.pozo-blog-card .pozo-blog-card-content .pozo-blog-card-excerpt{color:#000;line-height:1.6;margin-bottom:20px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;height:80px}.pozo-blog-card .pozo-blog-card-content .pozo-blog-card-meta{display:flex;justify-content:space-between;align-items:center;padding-top:16px;border-top:1px solid #f0f0f0}.pozo-blog-card .pozo-blog-card-content .pozo-blog-card-meta .pozo-blog-date{font-size:12px;color:#505050;font-family:Poppins;font-weight:400}.pozo-blog-card .pozo-blog-card-content .pozo-blog-card-meta .pozo-blog-author-info{display:flex;flex-direction:column;gap:4px}.pozo-blog-card .pozo-blog-card-content .pozo-blog-card-meta .pozo-blog-author-info .pozo-blog-author{font-weight:600;color:#1a1a1a;font-size:.9rem}.pozo-blog-card .pozo-blog-card-content .pozo-blog-card-meta .pozo-blog-author-info .pozo-blog-date{color:#888;font-size:.2rem!important}.pozo-blog-card .pozo-blog-card-content .pozo-blog-card-meta .pozo-blog-read-time{background:#f8f9fa;color:#666;padding:6px 12px;border-radius:12px;font-size:.8rem;font-weight:500}.pozo-blog-card .pozo-blog-card-content .pozo-blog-publish-time{display:flex;justify-content:flex-end;padding-top:8px;border-top:1px solid #f0f0f0;margin-top:8px}.pozo-blog-card .pozo-blog-card-content .pozo-blog-publish-time .pozo-blog-read-time{background:#4a90e2;color:#fff;padding:6px 12px;border-radius:12px;font-size:.8rem;font-weight:500;display:none}@media (max-width: 768px){.pozo-blogs-page{padding:10px 0}.pozo-blogs-page .pozo-blog-page-title{font-size:2rem;margin-bottom:10px;padding:0 18px!important}.pozo-blogs-page .pozo-blog-page-subtitle{font-size:.9rem;margin-bottom:20px;padding:0 18px!important}.pozo-blogs-grid{grid-template-columns:1fr;gap:16px;padding:16px}.pozo-blog-card .pozo-blog-card-content{padding:16px}}.pozo-blog-master-card{width:100%}.pozo-blog-master-card .Navbar-Master,.pozo-blog-master-card .appNameLeft{color:#000!important}.pozo-blog-master-card .navbarOption>p:nth-child(2){display:none}.pozo-blog-empty-state{grid-column:1/-1;display:flex;align-items:center;justify-content:center;height:300px;text-align:center;background:linear-gradient(135deg,#f8f9fa 0%,#ffffff 100%);border-radius:16px;border:2px dashed #e0e0e0;margin:20px 0}.pozo-blog-empty-state p{color:#666;font-size:1.1rem;font-weight:500;margin:0;line-height:1.6}.pozo-no-blogs-message{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;background:linear-gradient(135deg,#f8f9fa 0%,#ffffff 100%);border-radius:16px;border:2px dashed #e0e0e0;margin:20px 0}.pozo-no-blogs-message .pozo-no-blogs-icon{font-size:4rem;opacity:.7}.pozo-no-blogs-message h3{color:#1a1a1a;font-size:1.5rem;font-weight:600;margin-bottom:12px}.pozo-no-blogs-message p{color:#c40000;font-size:1rem;line-height:1.6;margin:0}.drawer-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:999}.drawer{position:fixed;top:0;left:-300px;width:250px;height:100%;background:white;box-shadow:2px 0 10px #0000001a;transition:left .3s ease;z-index:1000}.drawer.open{left:0}.drawer .drawer-content{display:flex;flex-direction:column;padding:10px;margin-top:5rem}.drawer .drawer-content a{display:flex;align-items:center;gap:12px;text-decoration:none;color:#374151;padding:15px 20px;border-radius:8px;transition:background-color .2s;font-size:16px;font-weight:500}.drawer .drawer-content a:hover{background-color:#f3f4f6}.drawer .drawer-content a svg{font-size:20px}.BlogDetailMaster{width:100%;min-height:100vh;display:flex;justify-content:center;align-items:flex-start;padding:40px 16px;font-family:Poppins,sans-serif;flex-direction:column}.BlogDetailMaster .blog-detail-header{width:100%;max-width:950px;margin:0 auto 25px}.BlogDetailMaster .blog-detail-header .navbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;background:white;padding:6px 16px;border-radius:12px;box-shadow:0 2px 10px #0000001a}.BlogDetailMaster .blog-detail-header .navbar .navbar-left{display:flex;align-items:center;gap:-10px}.BlogDetailMaster .blog-detail-header .navbar .navbar-left .hamburger-menu{cursor:pointer;padding:8px;border-radius:4px;transition:background-color .2s}.BlogDetailMaster .blog-detail-header .navbar .navbar-left .hamburger-menu:hover{background-color:#0000001a}.BlogDetailMaster .blog-detail-header .navbar .navbar-left .Blognavbar-logo{display:flex;align-items:center}.BlogDetailMaster .blog-detail-header .navbar .navbar-left .Blognavbar-logo .logo-img{height:auto;width:6rem;filter:invert(1) brightness(0)}.BlogDetailMaster .blog-detail-header .navbar .navbar-nav{display:none}.BlogDetailMaster .blog-detail-content{border-radius:12px;padding:0 26px;margin:2rem 0;animation:fadeIn .6s ease-out;width:65%}.BlogDetailMaster .blog-detail-content .blog-header{text-align:left;margin-bottom:40px}.BlogDetailMaster .blog-detail-content .blog-header .blog-title{font-weight:600;line-height:1.5;color:#000;font-size:32px;font-family:Poppins;margin:0}.BlogDetailMaster .blog-detail-content .blog-header .blog-subtitle{font-size:14px;color:#333;margin:10px 0}.BlogDetailMaster .blog-detail-content .blog-header .blog-meta{display:flex;justify-content:flex-start;align-items:center;gap:24px;flex-wrap:wrap;font-size:14px;color:#6b7280;margin-top:1rem}.BlogDetailMaster .blog-detail-content .blog-header .blog-meta .meta-item{display:flex;align-items:center;gap:6px}.BlogDetailMaster .blog-detail-content .blog-header .blog-meta .meta-item svg{color:#9ca3af}.BlogDetailMaster .blog-detail-content .blog-header .blog-meta .status{padding:4px 10px;border-radius:20px;font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.6px}.BlogDetailMaster .blog-detail-content .blog-header .blog-meta .status.published{background:#daffe7;color:#065f46}.BlogDetailMaster .blog-detail-content .blog-header .blog-meta .status.draft{background:#fef3c7;color:#92400e}.BlogDetailMaster .blog-detail-content .blog-featured-image{text-align:center;margin-bottom:50px;display:flex;align-items:center;justify-content:center}.BlogDetailMaster .blog-detail-content .blog-featured-image img{width:90%;height:400px;border-radius:12px;box-shadow:0 6px 18px #0000001a;transition:transform .3s ease;cursor:pointer;object-fit:contain}.BlogDetailMaster .blog-detail-content .blog-featured-image img:hover{transform:scale(1.02)}.BlogDetailMaster .blog-detail-content .blog-poster{width:95%;border-radius:12px;box-shadow:0 4px 20px #00000014}.BlogDetailMaster .blog-detail-content .blog-body{margin:1rem 0}.BlogDetailMaster .blog-detail-content .blog-body .blog-section{margin:50px 0}.BlogDetailMaster .blog-detail-content .blog-body .blog-section .section-title{font-size:1.75rem;font-weight:600;color:#111827;border-left:5px solid #2563eb;padding-left:12px;margin-bottom:24px;transition:all .3s ease}.BlogDetailMaster .blog-detail-content .blog-body .blog-section .section-title:hover{color:#2563eb}.BlogDetailMaster .blog-detail-content .blog-body .blog-section .section-description{font-size:1.05rem;color:#374151;margin-bottom:24px;text-align:justify}.BlogDetailMaster .blog-detail-content .blog-body .blog-section .section-images{display:flex;align-items:center;justify-content:center;gap:20px;margin:34px 0}.BlogDetailMaster .blog-detail-content .blog-body .blog-section .section-images .section-image{width:80%;height:450px;object-fit:cover;border-radius:10px;box-shadow:0 3px 10px #0000001a;transition:transform .25s ease}.BlogDetailMaster .blog-detail-content .blog-body .blog-section .section-images .section-image:hover{transform:scale(1.03)}.BlogDetailMaster .blog-detail-content .blog-body .blog-section .section-videos{display:flex;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:24px;align-items:center;justify-content:center;margin:24px 0;width:100%}.BlogDetailMaster .blog-detail-content .blog-body .blog-section .section-videos .section-video{width:80%;height:450px;border-radius:10px;box-shadow:0 3px 10px #0000001a;object-fit:cover}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.BlogDetailMaster{padding:20px}.BlogDetailMaster .blog-detail-content{padding:28px 12px 0;width:100%;margin:0}.BlogDetailMaster .blog-detail-content .blog-header .blog-title{font-size:2rem}.BlogDetailMaster .blog-detail-content .blog-header .blog-subtitle{font-size:1rem}.BlogDetailMaster .blog-detail-content .blog-body{margin:0}.BlogDetailMaster .blog-detail-content .blog-body .blog-section .section-title{font-size:1.5rem}.BlogDetailMaster .blog-detail-content .blog-body .blog-section .section-description{font-size:1rem}}.blog-body{line-height:1.7;font-size:1rem;color:#333;padding:1rem 0;font-family:Poppins}.blog-body .blog-header-block{margin:2.2rem 0 16px 0rem;font-weight:600;line-height:1.5;color:#000;font-size:32px;font-family:Poppins}.blog-body .blog-paragraph{margin:1.5rem 0 1rem;text-align:justify;font-family:Poppins;color:#333;font-size:16px}.blog-body .blog-paragraph a{color:#2783da}.blog-body .blog-list{margin:2rem 0 2rem 1rem}.blog-body .blog-list.ordered{list-style-type:decimal}.blog-body .blog-list.unordered{list-style-type:disc}.blog-body .blog-list li{margin-bottom:.5rem;font-size:20px;font-weight:600;font-family:Poppins;color:#000}.blog-body .blog-image{margin:1.5rem 0}.blog-body .blog-image img{width:100%;border-radius:12px;margin:3rem 0 1rem}.blog-body .blog-image .caption{text-align:center;font-size:.85rem;color:#777;margin:1rem 0}.blog-body .blog-video{margin:1.5rem 0}.blog-body .blog-video .video-player{width:100%;border-radius:12px;margin:3rem 0 1rem}.blog-body .blog-video .caption{text-align:center;font-size:.85rem;color:#777;margin:1rem 0}.blog-detail-contentMain{display:flex;align-items:flex-start;width:100%;justify-content:space-between;gap:1rem}@media (max-width: 768px){.blog-detail-contentMain{flex-direction:column}}.blog-separator{margin:2rem 0}.shareBlog{position:relative;margin:2rem 0}.shareBlog .share-btn{display:flex;align-items:center;gap:8px;background:#1d4ed8;outline:none;color:#fff;border:none;padding:12px 20px;border-radius:8px;cursor:pointer;font-size:14px;font-weight:400;transition:all .3s ease;font-family:Poppins;margin:5rem 0 1rem}.shareBlog .share-btn:hover{transform:translateY(-2px)}.shareBlog .share-btn svg{font-size:16px}.shareBlog .share-options{position:absolute;top:-120px;left:0;background:white;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 10px 25px #00000026;padding:16px;min-width:250px;z-index:100;animation:slideDown .3s ease}.shareBlog .share-options .share-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #f3f4f6}.shareBlog .share-options .share-header span{font-weight:600;color:#374151;font-size:14px}.shareBlog .share-options .share-header button{background:none;border:none;cursor:pointer;border-radius:4px;color:#6b7280}.shareBlog .share-options .share-header button:hover{background:#f3f4f6}.shareBlog .share-options .share-buttons{display:flex;flex-direction:row;gap:16px;font-family:Poppins}.shareBlog .share-options .share-buttons button{display:flex;align-items:center;gap:12px;padding:2px;border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:400;font-family:Poppins;transition:all .2s ease;background-color:unset}.shareBlog .share-options .share-buttons button svg{font-size:18px}.shareBlog .share-options .share-buttons button.share-facebook{color:#1877f2}.shareBlog .share-options .share-buttons button.share-whatsapp{color:#25d366}.shareBlog .share-options .share-buttons button.share-twitter{color:#000}.shareBlog .share-options .share-buttons button.share-linkedin{color:#0077b5}.shareBlog .share-options .share-buttons button.share-telegram{color:#08c}.shareBlog .share-options .share-buttons button.share-instagram{color:#f03333}.shareBlog .share-options .share-buttons button.share-copy{background:#f2f9ff;color:#374151}.shareBlog .share-options .share-buttons button.share-copy:hover{background:#f3f4f6}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.blogdetailsNavbarText{font-weight:400;color:#000;font-family:Poppins;font-size:18px}.blog-extras{margin:2rem 0;width:30%;font-family:Poppins,sans-serif;position:sticky;top:5rem}.blog-extras .comments-section{background:#fff;border-radius:12px;padding:1rem 1.5rem;box-shadow:0 4px 20px #00000014;border:1px solid #f0f0f0}.blog-extras .comments-section h3{color:#2c3e50;margin-bottom:.5rem;font-size:1.4rem;font-weight:500;font-family:Poppins,sans-serif;letter-spacing:-.02em}.blog-extras .comments-section .comment-form .form-group{margin-bottom:.5rem}.blog-extras .comments-section .comment-form .form-group input,.blog-extras .comments-section .comment-form .form-group textarea{width:100%;padding:.385rem 1rem;border:1px solid #e8ecef;border-radius:8px;font-size:14px;transition:all .3s ease;font-family:Poppins,sans-serif;font-weight:400}.blog-extras .comments-section .comment-form .form-group input:focus,.blog-extras .comments-section .comment-form .form-group textarea:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.blog-extras .comments-section .comment-form .form-group input::placeholder,.blog-extras .comments-section .comment-form .form-group textarea::placeholder{color:#6c757d;font-family:Poppins,sans-serif;font-weight:300}.blog-extras .comments-section .comment-form .form-group textarea{resize:vertical;min-height:100px}.blog-extras .comments-section .comment-form .submit-btn{background:linear-gradient(190deg,#007bff,#007bff);color:#fff;border:none;padding:10px 16px;border-radius:8px;font-size:14px;font-weight:400;font-family:Poppins,sans-serif;cursor:pointer;transition:all .3s ease;width:100%}.blog-extras .comments-section .comment-form .submit-btn:hover{transform:translateY(-2px)}.blog-extras .comments-section .comment-form .submit-btn:active{transform:translateY(0)}.blog-extras .featured-posts{background:#fff;border-radius:12px;padding:1.5rem;margin-bottom:10px;box-shadow:0 4px 20px #00000014;border:1px solid #f0f0f0;margin-top:5px}.blog-extras .featured-posts h3{color:#2c3e50;margin-bottom:1.5rem;font-size:1.4rem;font-weight:400;font-family:Poppins,sans-serif;letter-spacing:-.02em}.blog-extras .featured-posts .featured-post-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f0f0f0;cursor:pointer;transition:all .3s ease}.blog-extras .featured-posts .featured-post-item:last-child{border-bottom:none}.blog-extras .featured-posts .featured-post-item:hover{background:#f8f9fa;border-radius:8px;padding:12px;margin:0 -12px}.blog-extras .featured-posts .featured-post-item img{width:60px;height:60px;border-radius:8px;object-fit:cover;flex-shrink:0}.blog-extras .featured-posts .featured-post-item .featured-post-content{flex:1}.blog-extras .featured-posts .featured-post-item .featured-post-content h4{margin:0 0 4px;font-size:14px;font-weight:500;color:#2c3e50;line-height:1.4;font-family:Poppins,sans-serif}.blog-extras .featured-posts .featured-post-item .featured-post-content span{font-size:12px;color:#6c757d;font-family:Poppins,sans-serif;font-weight:400}.blog-extras .social-section{border-radius:12px;padding:1rem;border:1px solid #f0f0f0;text-align:left}.blog-extras .social-section h3{color:#000;font-size:1.5rem;font-weight:600;font-family:Poppins,sans-serif;letter-spacing:-.02em}.blog-extras .social-section .social-links{display:flex;justify-content:flex-start}.blog-extras .social-section .social-links .social-link{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:50%;color:#000;text-decoration:none;transition:all .3s ease;font-size:1.25rem;background-color:#fff}.blog-extras .social-section .social-links .social-link:hover{transform:translateY(-3px)}@media (max-width: 768px){.blog-extras{margin:1rem auto;width:100%}.blog-extras .comments-section,.blog-extras .social-section{padding:1.5rem;margin-bottom:1.5rem}.blog-extras .social-links .social-link{width:45px;height:45px;font-size:1.1rem}}.privacy-policy-container{font-family:Poppins,sans-serif;color:#222;background:#f1f1f1;padding:40px;line-height:1.7}@media (max-width: 500px){.privacy-policy-container{padding:16px}}.privacy-policy-container h1,.privacy-policy-container h2,.privacy-policy-container h3,.privacy-policy-container h4{color:#111;font-weight:500;margin-bottom:10px}.privacy-policy-container p,.privacy-policy-container li{color:#444}.privacy-policy-container a{color:#007bff;text-decoration:none;transition:color .3s ease}.privacy-policy-container a:hover{color:#0056b3;text-decoration:underline}.privacy-header{background:linear-gradient(135deg,#007bff,#b8daff);color:#fff;border-radius:16px;padding:40px 30px;margin-bottom:40px;position:relative;overflow:hidden;box-shadow:0 10px 25px #00000014}.privacy-header .back-link{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-weight:500;font-size:15px;color:#fff;background:rgba(255,255,255,.15);padding:8px 14px;border-radius:30px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:all .3s ease;margin-bottom:16px}.privacy-header .back-link:hover{background:rgba(255,255,255,.25);transform:translate(-3px)}.privacy-header .back-link svg{font-size:18px}.privacy-header .header-content{text-align:center}.privacy-header .header-content .privacy-icon{font-size:40px;margin-bottom:12px;color:#fff}.privacy-header .header-content h1{font-size:2.2rem;margin-bottom:6px;letter-spacing:-.5px}.privacy-header .header-content p{font-size:.95rem;opacity:.9}.privacy-content{display:flex;flex-direction:column;gap:50px}.privacy-content .privacy-section{background:#fff;border-radius:14px;padding:30px 25px;box-shadow:0 4px 12px #0000000d;transition:transform .3s ease,box-shadow .3s ease}.privacy-content .privacy-section:hover{transform:translateY(-4px);box-shadow:0 8px 18px #00000014}.privacy-content .privacy-section h2{font-size:1.4rem;border-left:4px solid #007bff;padding-left:10px;margin-bottom:16px}.privacy-content .privacy-section h3{font-size:1.1rem;color:#007bff;margin-top:20px}.privacy-content .privacy-section ul{padding-left:22px;margin-top:10px}.privacy-content .privacy-section ul li{margin-bottom:8px;list-style:disc}.privacy-content .privacy-section p{margin-top:8px;margin-bottom:8px}.security-features{display:grid;gap:20px;margin:20px 0}@media (min-width: 768px){.security-features{grid-template-columns:repeat(3,1fr)}}.security-features .security-item{display:flex;gap:12px;background:#f8faff;border:1px solid #e5ecff;border-radius:10px;padding:18px 16px;transition:all .3s ease}.security-features .security-item svg{font-size:28px;color:#007bff;flex-shrink:0}.security-features .security-item h4{font-size:1rem;font-weight:500;color:#111;margin-bottom:4px}.security-features .security-item p{font-size:.9rem;color:#555;margin:0}.security-features .security-item:hover{background:#eef5ff;border-color:#cbd9ff;transform:translateY(-3px)}.contact-info{display:grid;gap:24px;margin-top:16px}@media (min-width: 768px){.contact-info{grid-template-columns:repeat(3,1fr)}}.contact-info .contact-item{background:#f9f9f9;border:1px solid #eaeaea;border-radius:10px;padding:18px;box-shadow:0 2px 5px #00000008;transition:all .3s ease}.contact-info .contact-item:hover{background:#fff;transform:translateY(-2px);border-color:#dcdcdc}.contact-info .contact-item h4{font-weight:500;color:#007bff;margin-bottom:8px}.contact-info .contact-item p{margin:4px 0;font-size:.95rem}.privacy-footer{text-align:center;margin-top:60px;padding-top:20px;border-top:1px solid #ddd}.privacy-footer p{font-size:.95rem;color:#555}.privacy-footer .footer-links{margin-top:12px}.privacy-footer .footer-links a{margin:0 8px;font-weight:500;color:#007bff}.privacy-footer .footer-links a:hover{color:#0056b3}.pozo-about-wrapper{font-family:NeueMontreal,sans-serif;color:#222;background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);line-height:1.6;overflow-x:hidden;min-height:100vh}.pozo-about-wrapper h1,.pozo-about-wrapper h2,.pozo-about-wrapper h3,.pozo-about-wrapper h4{color:#fff;font-weight:600;margin-bottom:1rem;-webkit-background-clip:text;background-clip:text}.pozo-about-wrapper p,.pozo-about-wrapper li{color:#444;margin-bottom:.8rem;font-weight:400}.pozo-about-wrapper a{color:#007bff;text-decoration:none;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative}.pozo-about-wrapper a:after{content:"";position:absolute;width:0;height:2px;bottom:-2px;left:0;background:linear-gradient(90deg,#007bff,#0056b3);transition:width .3s ease}.pozo-about-wrapper a:hover{color:#0056b3;transform:translateY(-1px)}.pozo-about-wrapper a:hover:after{width:100%}.pozo-about-banner{background:linear-gradient(135deg,#1f1f1f 0%,#4a4a4a 50%,#2c2c2c 100%);color:#fff;padding:4rem 2rem;text-align:center;position:relative;overflow:hidden}.pozo-about-banner:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 30% 20%,rgba(0,123,255,.1) 0%,transparent 50%),radial-gradient(circle at 70% 80%,rgba(0,86,179,.1) 0%,transparent 50%);pointer-events:none}@media (max-width: 768px){.pozo-about-banner{padding:2rem 1rem}}.pozo-about-banner .nav-back-btn{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-weight:500;font-size:15px;color:#fff;background:rgba(255,255,255,.15);padding:12px 20px;border-radius:50px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);transition:all .4s cubic-bezier(.4,0,.2,1);margin-bottom:2rem;position:relative;z-index:1}.pozo-about-banner .nav-back-btn:hover{background:rgba(255,255,255,.25);transform:translate(-5px) scale(1.05);box-shadow:0 8px 25px #0003}.pozo-about-banner .nav-back-btn svg{font-size:18px;transition:transform .3s ease}.pozo-about-banner .nav-back-btn:hover svg{transform:translate(-2px)}.pozo-about-banner .banner-info .pozo-brand-icon{font-size:2.5rem;margin-bottom:1rem;margin-right:10px;color:#fff}@media (max-width: 768px){.pozo-about-banner .banner-info .pozo-brand-icon{font-size:3rem}}.pozo-about-banner .banner-info h1{font-size:2.5rem;margin-bottom:1rem;letter-spacing:-1px;font-weight:600}@media (max-width: 768px){.pozo-about-banner .banner-info h1{font-size:2.5rem}}.pozo-about-banner .banner-info p{font-size:1.2rem;opacity:.9;max-width:600px;margin:0 auto}@media (max-width: 768px){.pozo-about-banner .banner-info p{font-size:1rem}}.pozo-about-main{max-width:1200px;margin:0 auto;padding:0 2rem}@media (max-width: 768px){.pozo-about-main{padding:0 1rem}}.intro-block{padding:4rem 0;text-align:center}.intro-block .intro-details{max-width:800px;margin:0 auto}.intro-block .intro-details h2{font-size:2.5rem;margin-bottom:2rem;color:#1f1f1f}@media (max-width: 768px){.intro-block .intro-details h2{font-size:2rem}}.intro-block .intro-details p{font-size:1.1rem;line-height:1.8;color:#555}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem;padding:4rem 0;margin:3rem 0}.metrics-grid .metric-card{text-align:center;background:linear-gradient(135deg,#fff 0%,#f8f9fa 100%);padding:2.5rem 1.5rem;border-radius:20px;box-shadow:0 10px 30px #00000014;border:1px solid rgba(0,123,255,.1);transition:all .4s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.metrics-grid .metric-card:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(0,123,255,.1),transparent);transition:left .6s ease}.metrics-grid .metric-card:hover{transform:translateY(-8px) scale(1.02);box-shadow:0 20px 40px #007bff26;border-color:#007bff}.metrics-grid .metric-card:hover:before{left:100%}.metrics-grid .metric-card .metric-value{font-size:3rem;font-weight:800;background:linear-gradient(135deg,#007bff,#0056b3);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:.5rem;position:relative}.metrics-grid .metric-card .metric-title{font-size:1.1rem;color:#555;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.purpose-block{padding:4rem 0;background:#fff;border-radius:20px;margin:3rem 0;box-shadow:0 10px 30px #0000000d}.purpose-block .purpose-layout{display:grid;grid-template-columns:2fr 1fr;gap:3rem;align-items:center;padding:0 3rem}@media (max-width: 768px){.purpose-block .purpose-layout{grid-template-columns:1fr;padding:0 2rem;text-align:center}}.purpose-block .purpose-layout .purpose-info h2{font-size:2.2rem;margin-bottom:1.5rem;color:#1f1f1f}.purpose-block .purpose-layout .purpose-info p{font-size:1.1rem;line-height:1.8;margin-bottom:2rem;color:#555}.purpose-block .purpose-layout .purpose-info .purpose-features{display:flex;flex-direction:column;gap:1rem}.purpose-block .purpose-layout .purpose-info .purpose-features .feature-point{display:flex;align-items:center;gap:1rem;font-weight:500;color:#333}.purpose-block .purpose-layout .purpose-info .purpose-features .feature-point svg{font-size:1.5rem;color:#007bff}.purpose-block .purpose-layout .purpose-graphic{display:flex;justify-content:center;align-items:center}.purpose-block .purpose-layout .purpose-graphic .graphic-circle{width:150px;height:150px;background:linear-gradient(135deg,#007bff,#0056b3);border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 15px 35px #007bff4d}.purpose-block .purpose-layout .purpose-graphic .graphic-circle svg{font-size:4rem;color:#fff}.principles-block{padding:4rem 0}.principles-block h2{text-align:center;font-size:2.5rem;margin-bottom:3rem;color:#1f1f1f}.principles-block .principles-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem}.principles-block .principles-layout .principle-item{background:#fff;padding:2.5rem 2rem;border-radius:16px;text-align:center;box-shadow:0 8px 25px #00000014;transition:all .3s ease;border:2px solid transparent}.principles-block .principles-layout .principle-item:hover{transform:translateY(-8px);box-shadow:0 20px 40px #0000001f;border-color:#007bff}.principles-block .principles-layout .principle-item .principle-badge{width:80px;height:80px;background:linear-gradient(135deg,#007bff,#0056b3);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem}.principles-block .principles-layout .principle-item .principle-badge svg{font-size:2rem;color:#fff}.principles-block .principles-layout .principle-item h3{font-size:1.4rem;margin-bottom:1rem;color:#1f1f1f}.principles-block .principles-layout .principle-item p{color:#666;line-height:1.6}.journey-block{padding:4rem 0;background:#fff;border-radius:20px;margin:3rem 0;box-shadow:0 10px 30px #0000000d}.journey-block .journey-details{padding:0 3rem}@media (max-width: 768px){.journey-block .journey-details{padding:0 2rem}}.journey-block .journey-details h2{text-align:center;font-size:2.5rem;margin-bottom:3rem;color:#1f1f1f}.journey-block .journey-details .journey-timeline{position:relative;padding-left:2rem}.journey-block .journey-details .journey-timeline:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(to bottom,#007bff,#0056b3);border-radius:2px}.journey-block .journey-details .journey-timeline .timeline-entry{position:relative;margin-bottom:3rem;padding-left:3rem}.journey-block .journey-details .journey-timeline .timeline-entry:before{content:"";position:absolute;left:-2.5rem;top:.5rem;width:12px;height:12px;background:#007bff;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 3px #007bff}.journey-block .journey-details .journey-timeline .timeline-entry .timeline-date{font-size:1.2rem;font-weight:700;color:#007bff;margin-bottom:.5rem}.journey-block .journey-details .journey-timeline .timeline-entry .timeline-info h4{font-size:1.3rem;margin-bottom:.5rem;color:#1f1f1f}.journey-block .journey-details .journey-timeline .timeline-entry .timeline-info p{color:#666;line-height:1.6}.team-section{padding:4rem 0}.team-section .team-content{text-align:center}.team-section .team-content h2{font-size:2.5rem;margin-bottom:1.5rem;color:#1f1f1f}.team-section .team-content p{font-size:1.1rem;color:#666;max-width:600px;margin:0 auto 3rem;line-height:1.7}.team-section .team-content .team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.team-section .team-content .team-grid .team-member{background:#fff;padding:2rem;border-radius:16px;box-shadow:0 8px 25px #00000014;transition:transform .3s ease}.team-section .team-content .team-grid .team-member:hover{transform:translateY(-5px)}.team-section .team-content .team-grid .team-member .member-avatar{width:80px;height:80px;background:linear-gradient(135deg,#007bff,#0056b3);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem}.team-section .team-content .team-grid .team-member .member-avatar svg{font-size:2rem;color:#fff}.team-section .team-content .team-grid .team-member h4{font-size:1.2rem;margin-bottom:.5rem;color:#1f1f1f}.team-section .team-content .team-grid .team-member p{color:#666;font-size:.95rem}.cta-section{padding:5rem 0;background:linear-gradient(135deg,#007bff 0%,#0056b3 50%,#004085 100%);color:#fff;text-align:center;margin:4rem 0 0;position:relative;overflow:hidden;border-radius:16px}.cta-section:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 30%,rgba(255,255,255,.1) 0%,transparent 50%),radial-gradient(circle at 80% 70%,rgba(255,255,255,.05) 0%,transparent 50%);pointer-events:none}.cta-section .cta-content{max-width:800px;margin:0 auto;padding:0 2rem;position:relative;z-index:1}.cta-section .cta-content h2{font-size:3rem;margin-bottom:1.5rem;font-weight:700;color:#fff;background:none;-webkit-text-fill-color:#fff}@media (max-width: 768px){.cta-section .cta-content h2{font-size:2.2rem}}.cta-section .cta-content p{font-size:1.3rem;margin-bottom:3rem;opacity:.9;line-height:1.6;color:#fff}@media (max-width: 768px){.cta-section .cta-content p{font-size:1.1rem}}.cta-section .cta-content .cta-buttons{display:flex;gap:1.5rem;justify-content:center;flex-wrap:wrap}.cta-section .cta-button{padding:15px 35px;border-radius:50px;font-weight:600;font-size:1.1rem;text-decoration:none;transition:all .4s cubic-bezier(.4,0,.2,1);cursor:pointer;border:2px solid transparent;position:relative;overflow:hidden}.cta-section .cta-button.primary{background:#fff;color:#007bff}.cta-section .cta-button.primary:hover{background:#f8f9fa;transform:translateY(-3px) scale(1.05);box-shadow:0 15px 35px #0003}.cta-section .cta-button.secondary{background:transparent;color:#fff;border-color:#ffffff80}.cta-section .cta-button.secondary:hover{background:rgba(255,255,255,.1);border-color:#fff;transform:translateY(-3px) scale(1.05);box-shadow:0 15px 35px #0003}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.fade-in{animation:fadeInUp .8s ease-out}.pulse-animation{animation:pulse 2s infinite}@media (max-width: 1024px){.pozo-about-main{padding:0 1.5rem}.purpose-layout,.journey-details{padding:0 2rem}}@media (max-width: 768px){.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.5rem}.principles-layout{grid-template-columns:1fr}.team-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.pozo-about-wrapper .metrics-grid{grid-template-columns:repeat(2,1fr);gap:1rem}.pozo-about-wrapper .purpose-block .purpose-layout .purpose-features{align-items:center}.pozo-about-wrapper .principles-block .principles-layout{grid-template-columns:1fr}.pozo-about-wrapper .journey-block .journey-details .journey-timeline{padding-left:1rem}.pozo-about-wrapper .journey-block .journey-details .journey-timeline .timeline-entry{padding-left:2rem}}@media (prefers-color-scheme: dark){.pozo-about-wrapper{background:linear-gradient(135deg,#1a1a1a 0%,#2d2d2d 100%);color:#e0e0e0}.pozo-about-wrapper .metric-card,.pozo-about-wrapper .principle-item,.pozo-about-wrapper .team-member,.pozo-about-wrapper .purpose-block,.pozo-about-wrapper .journey-block{background:linear-gradient(135deg,#2a2a2a 0%,#3a3a3a 100%);border-color:#ffffff1a}}.contact-section{padding:3rem 0}.contact-section .contact-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.contact-section .contact-info .contact-item{background:#fff;padding:2rem;border-radius:16px;box-shadow:0 8px 25px #00000014;transition:transform .3s ease}.contact-section .contact-info .contact-item:hover{transform:translateY(-3px)}.contact-section .contact-info .contact-item h4{font-size:1.3rem;color:#007bff;margin-bottom:1rem}.contact-section .contact-info .contact-item p{margin:.5rem 0;color:#666}.contact-section .contact-info .contact-item a{color:#007bff;font-weight:500}.split-line{overflow:hidden}@keyframes slideInLeft{0%{opacity:0;transform:translate(-50px)}to{opacity:1;transform:translate(0)}}@keyframes scaleIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}:root{--bg: #ffffff;--surface: #f8fafc;--text: #111827;--muted: #64748b;--border: #e5e7eb;--primary: #111827;--primary-contrast: #ffffff;--radius: 10px;--shadow: 0 10px 30px rgba(0,0,0,.08)}html,body{background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,sans-serif;line-height:1.6}h1,h2,h3{margin:.4rem 0 .6rem;font-weight:700}h1{font-size:1.75rem}h2{font-size:1.25rem}h3{font-size:1.1rem}small,.muted{color:var(--muted)}.container{max-width:1200px;margin:16px auto;padding:0 16px}.grid{display:grid;gap:16px}.two-pane{grid-template-columns:320px 1fr}@media (max-width: 980px){.two-pane{grid-template-columns:1fr}}.toolbar{position:sticky;top:0;z-index:20;background:var(--bg);border-bottom:1px solid var(--border);padding:10px 16px;display:flex;gap:12px;align-items:center}.toolbar .title-input{flex:1;border:none;outline:none;font-size:20px;font-weight:700;background:transparent}.card{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:12px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px}.input,.textarea,.select{width:100%;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text)}.textarea{min-height:90px}.input:focus,.textarea:focus,.select:focus{outline:2px solid #cbd5e1;outline-offset:2px}.btn{padding:8px 12px;border-radius:10px;border:1px solid var(--border);background:var(--bg);color:var(--text);transition:background .12s ease,transform 80ms ease,border-color .12s ease}.btn:hover{background:#f3f4f6}.btn:active{transform:translateY(1px)}.btn-primary{background:var(--primary);color:var(--primary-contrast);border-color:var(--primary)}.btn-primary:hover{filter:brightness(1.08)}.btn-ghost{background:transparent;border-color:var(--border)}.btn-outline{background:var(--bg);border-color:var(--border)}.chip{display:inline-block;padding:2px 8px;border-radius:999px;border:1px solid var(--border);font-size:12px;font-weight:600}.chip-success{background:#ecfdf5;border-color:#34d399;color:#065f46}.chip-neutral{background:#f1f5f9;border-color:var(--border);color:#334155}.toast{position:fixed;right:20px;bottom:20px;z-index:50;background:#111827;color:#fff;padding:10px 12px;border-radius:8px;box-shadow:var(--shadow);font-size:14px}#pozo-editor,#pozo-editor *{pointer-events:auto!important;-webkit-user-select:text!important;user-select:text!important}.preview-content img{display:block;max-width:100%;height:auto} diff --git a/dist1 (2)/assets/index-35672308.js b/dist1 (2)/assets/index-35672308.js new file mode 100644 index 0000000..e8cc494 --- /dev/null +++ b/dist1 (2)/assets/index-35672308.js @@ -0,0 +1,1761 @@ +var e,t,n=Object.defineProperty,i=(e,t,i)=>(((e,t,i)=>{t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i})(e,"symbol"!=typeof t?t+"":t,i),i);import{r as a,c as r,b as s,R as l,f as o,e as d,g as c}from"./vendor-c65bce76.js";import{_ as u,a as p,b as A,U as h,B as f,S as m,c as v,I as g,d as y,m as x,e as b,f as w,M as j,P as C,g as S,h as N,F as I,T as F,i as B,j as P,A as k,D as T,k as E,E as D,l as L,R as U,n as _,o as O,C as M,p as R,q as Q,r as H,s as V,t as z,u as q,v as W,W as Y,w as K,x as G,y as $,z as X,G as J,H as Z,J as ee,K as te,L as ne,N as ie,O as ae,Q as re,Y as se,V as le,X as oe,Z as de,$ as ce,a0 as ue,a1 as pe,a2 as Ae,a3 as he,a4 as fe,a5 as me,a6 as ve,a7 as ge,a8 as ye,a9 as xe,aa as be,ab as we,ac as je}from"./ui-2d515953.js";import{C as Ce,h as Se,a as Ne}from"./utils-faf49605.js";import{A as Ie,I as Fe,n as Be,G as Pe,P as ke,m as Te,d as Ee,a as De}from"./editor-e98c3426.js";function Le(e,t){for(var n=0;n<t.length;n++){const i=t[n];if("string"!=typeof i&&!Array.isArray(i))for(const t in i)if("default"!==t&&!(t in e)){const n=Object.getOwnPropertyDescriptor(i,t);n&&Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>i[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();var Ue={exports:{}},_e={},Oe=a,Me=Symbol.for("react.element"),Re=Symbol.for("react.fragment"),Qe=Object.prototype.hasOwnProperty,He=Oe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0};function ze(e,t,n){var i,a={},r=null,s=null;for(i in void 0!==n&&(r=""+n),void 0!==t.key&&(r=""+t.key),void 0!==t.ref&&(s=t.ref),t)Qe.call(t,i)&&!Ve.hasOwnProperty(i)&&(a[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===a[i]&&(a[i]=t[i]);return{$$typeof:Me,type:e,key:r,ref:s,props:a,_owner:He.current}}_e.Fragment=Re,_e.jsx=ze,_e.jsxs=ze,Ue.exports=_e;var qe,We,Ye=Ue.exports,Ke={},Ge=r; +/** + * @remix-run/router v1.23.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */ +function $e(){return $e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$e.apply(this,arguments)}Ke.createRoot=Ge.createRoot,Ke.hydrateRoot=Ge.hydrateRoot,(We=qe||(qe={})).Pop="POP",We.Push="PUSH",We.Replace="REPLACE";const Xe="popstate";function Je(e){return void 0===e&&(e={}),function(e,t,n,i){void 0===i&&(i={});let{window:a=document.defaultView,v5Compat:r=!1}=i,s=a.history,l=qe.Pop,o=null,d=c();null==d&&(d=0,s.replaceState($e({},s.state,{idx:d}),""));function c(){return(s.state||{idx:null}).idx}function u(){l=qe.Pop;let e=c(),t=null==e?null:e-d;d=e,o&&o({action:l,location:f.location,delta:t})}function p(e,t){l=qe.Push;let i=nt(f.location,e,t);n&&n(i,e),d=c()+1;let u=tt(i,d),p=f.createHref(i);try{s.pushState(u,"",p)}catch(A){if(A instanceof DOMException&&"DataCloneError"===A.name)throw A;a.location.assign(p)}r&&o&&o({action:l,location:f.location,delta:1})}function A(e,t){l=qe.Replace;let i=nt(f.location,e,t);n&&n(i,e),d=c();let a=tt(i,d),u=f.createHref(i);s.replaceState(a,"",u),r&&o&&o({action:l,location:f.location,delta:0})}function h(e){let t="null"!==a.location.origin?a.location.origin:a.location.href,n="string"==typeof e?e:it(e);return n=n.replace(/ $/,"%20"),Ze(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}let f={get action(){return l},get location(){return e(a,s)},listen(e){if(o)throw new Error("A history only accepts one active listener");return a.addEventListener(Xe,u),o=e,()=>{a.removeEventListener(Xe,u),o=null}},createHref:e=>t(a,e),createURL:h,encodeLocation(e){let t=h(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:p,replace:A,go:e=>s.go(e)};return f}((function(e,t){let{pathname:n,search:i,hash:a}=e.location;return nt("",{pathname:n,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:it(t)}),null,e)}function Ze(e,t){if(!1===e||null==e)throw new Error(t)}function et(e,t){if(!e)try{throw new Error(t)}catch(Ou){}}function tt(e,t){return{usr:e.state,key:e.key,idx:t}}function nt(e,t,n,i){return void 0===n&&(n=null),$e({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?at(t):t,{state:n,key:t&&t.key||i||Math.random().toString(36).substr(2,8)})}function it(e){let{pathname:t="/",search:n="",hash:i=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),i&&"#"!==i&&(t+="#"===i.charAt(0)?i:"#"+i),t}function at(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}var rt,st;function lt(e,t,n){return void 0===n&&(n="/"),function(e,t,n,i){let a="string"==typeof t?at(t):t,r=bt(a.pathname||"/",n);if(null==r)return null;let s=ot(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(s);let l=null;for(let o=0;null==l&&o<s.length;++o){let e=xt(r);l=gt(s[o],e,i)}return l}(e,t,n,!1)}function ot(e,t,n,i){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===i&&(i="");let a=(e,a,r)=>{let s={relativePath:void 0===r?e.path||"":r,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};s.relativePath.startsWith("/")&&(Ze(s.relativePath.startsWith(i),'Absolute route path "'+s.relativePath+'" nested under path "'+i+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),s.relativePath=s.relativePath.slice(i.length));let l=St([i,s.relativePath]),o=n.concat(s);e.children&&e.children.length>0&&(Ze(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),ot(e.children,t,o,l)),(null!=e.path||e.index)&&t.push({path:l,score:vt(l,e.index),routesMeta:o})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let i of dt(e.path))a(e,t,i);else a(e,t)})),t}function dt(e){let t=e.split("/");if(0===t.length)return[];let[n,...i]=t,a=n.endsWith("?"),r=n.replace(/\?$/,"");if(0===i.length)return a?[r,""]:[r];let s=dt(i.join("/")),l=[];return l.push(...s.map((e=>""===e?r:[r,e].join("/")))),a&&l.push(...s),l.map((t=>e.startsWith("/")&&""===t?"/":t))}(st=rt||(rt={})).data="data",st.deferred="deferred",st.redirect="redirect",st.error="error";const ct=/^:[\w-]+$/,ut=3,pt=2,At=1,ht=10,ft=-2,mt=e=>"*"===e;function vt(e,t){let n=e.split("/"),i=n.length;return n.some(mt)&&(i+=ft),t&&(i+=pt),n.filter((e=>!mt(e))).reduce(((e,t)=>e+(ct.test(t)?ut:""===t?At:ht)),i)}function gt(e,t,n){void 0===n&&(n=!1);let{routesMeta:i}=e,a={},r="/",s=[];for(let l=0;l<i.length;++l){let e=i[l],o=l===i.length-1,d="/"===r?t:t.slice(r.length)||"/",c=yt({path:e.relativePath,caseSensitive:e.caseSensitive,end:o},d),u=e.route;if(!c&&o&&n&&!i[i.length-1].route.index&&(c=yt({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},d)),!c)return null;Object.assign(a,c.params),s.push({params:a,pathname:St([r,c.pathname]),pathnameBase:Nt(St([r,c.pathnameBase])),route:u}),"/"!==c.pathnameBase&&(r=St([r,c.pathnameBase]))}return s}function yt(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,i]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);et("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let i=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(i.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(i.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");let r=new RegExp(a,t?void 0:"i");return[r,i]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let r=a[0],s=r.replace(/(.)\/+$/,"$1"),l=a.slice(1);return{params:i.reduce(((e,t,n)=>{let{paramName:i,isOptional:a}=t;if("*"===i){let e=l[n]||"";s=r.slice(0,r.length-e.length).replace(/(.)\/+$/,"$1")}const o=l[n];return e[i]=a&&!o?void 0:(o||"").replace(/%2F/g,"/"),e}),{}),pathname:r,pathnameBase:s,pattern:e}}function xt(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return et(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function bt(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&"/"!==i?null:e.slice(n)||"/"}function wt(e,t,n,i){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(i)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function jt(e,t){let n=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t?n.map(((e,t)=>t===n.length-1?e.pathname:e.pathnameBase)):n.map((e=>e.pathnameBase))}function Ct(e,t,n,i){let a;void 0===i&&(i=!1),"string"==typeof e?a=at(e):(a=$e({},e),Ze(!a.pathname||!a.pathname.includes("?"),wt("?","pathname","search",a)),Ze(!a.pathname||!a.pathname.includes("#"),wt("#","pathname","hash",a)),Ze(!a.search||!a.search.includes("#"),wt("#","search","hash",a)));let r,s=""===e||""===a.pathname,l=s?"/":a.pathname;if(null==l)r=n;else{let e=t.length-1;if(!i&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}r=e>=0?t[e]:"/"}let o=function(e,t){void 0===t&&(t="/");let{pathname:n,search:i="",hash:a=""}="string"==typeof e?at(e):e,r=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:r,search:It(i),hash:Ft(a)}}(a,r),d=l&&"/"!==l&&l.endsWith("/"),c=(s||"."===l)&&n.endsWith("/");return o.pathname.endsWith("/")||!d&&!c||(o.pathname+="/"),o}const St=e=>e.join("/").replace(/\/\/+/g,"/"),Nt=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),It=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Ft=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";const Bt=["post","put","patch","delete"];new Set(Bt);const Pt=["get",...Bt]; +/** + * React Router v6.30.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */ +function kt(){return kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},kt.apply(this,arguments)}new Set(Pt);const Tt=a.createContext(null),Et=a.createContext(null),Dt=a.createContext(null),Lt=a.createContext(null),Ut=a.createContext({outlet:null,matches:[],isDataRoute:!1}),_t=a.createContext(null);function Ot(){return null!=a.useContext(Lt)}function Mt(){return Ot()||Ze(!1),a.useContext(Lt).location}function Rt(e){a.useContext(Dt).static||a.useLayoutEffect(e)}function Qt(){let{isDataRoute:e}=a.useContext(Ut);return e?function(){let{router:e}=function(){let e=a.useContext(Tt);return e||Ze(!1),e}($t.UseNavigateStable),t=Jt(Xt.UseNavigateStable),n=a.useRef(!1);return Rt((()=>{n.current=!0})),a.useCallback((function(i,a){void 0===a&&(a={}),n.current&&("number"==typeof i?e.navigate(i):e.navigate(i,kt({fromRouteId:t},a)))}),[e,t])}():function(){Ot()||Ze(!1);let e=a.useContext(Tt),{basename:t,future:n,navigator:i}=a.useContext(Dt),{matches:r}=a.useContext(Ut),{pathname:s}=Mt(),l=JSON.stringify(jt(r,n.v7_relativeSplatPath)),o=a.useRef(!1);return Rt((()=>{o.current=!0})),a.useCallback((function(n,a){if(void 0===a&&(a={}),!o.current)return;if("number"==typeof n)return void i.go(n);let r=Ct(n,JSON.parse(l),s,"path"===a.relative);null==e&&"/"!==t&&(r.pathname="/"===r.pathname?t:St([t,r.pathname])),(a.replace?i.replace:i.push)(r,a.state,a)}),[t,i,l,s,e])}()}const Ht=a.createContext(null);function Vt(){let{matches:e}=a.useContext(Ut),t=e[e.length-1];return t?t.params:{}}function zt(e,t){let{relative:n}=void 0===t?{}:t,{future:i}=a.useContext(Dt),{matches:r}=a.useContext(Ut),{pathname:s}=Mt(),l=JSON.stringify(jt(r,i.v7_relativeSplatPath));return a.useMemo((()=>Ct(e,JSON.parse(l),s,"path"===n)),[e,l,s,n])}function qt(e,t){return function(e,t,n,i){Ot()||Ze(!1);let{navigator:r}=a.useContext(Dt),{matches:s}=a.useContext(Ut),l=s[s.length-1],o=l?l.params:{};!l||l.pathname;let d=l?l.pathnameBase:"/";l&&l.route;let c,u=Mt();if(t){var p;let e="string"==typeof t?at(t):t;"/"===d||(null==(p=e.pathname)?void 0:p.startsWith(d))||Ze(!1),c=e}else c=u;let A=c.pathname||"/",h=A;if("/"!==d){let e=d.replace(/^\//,"").split("/");h="/"+A.replace(/^\//,"").split("/").slice(e.length).join("/")}let f=lt(e,{pathname:h}),m=function(e,t,n,i){var r;void 0===t&&(t=[]);void 0===n&&(n=null);void 0===i&&(i=null);if(null==e){var s;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(s=i)&&s.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let l=e,o=null==(r=n)?void 0:r.errors;if(null!=o){let e=l.findIndex((e=>e.route.id&&void 0!==(null==o?void 0:o[e.route.id])));e>=0||Ze(!1),l=l.slice(0,Math.min(l.length,e+1))}let d=!1,c=-1;if(n&&i&&i.v7_partialHydration)for(let a=0;a<l.length;a++){let e=l[a];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(c=a),e.route.id){let{loaderData:t,errors:i}=n,a=e.route.loader&&void 0===t[e.route.id]&&(!i||void 0===i[e.route.id]);if(e.route.lazy||a){d=!0,l=c>=0?l.slice(0,c+1):[l[0]];break}}}return l.reduceRight(((e,i,r)=>{let s,u=!1,p=null,A=null;var h;n&&(s=o&&i.route.id?o[i.route.id]:void 0,p=i.route.errorElement||Yt,d&&(c<0&&0===r?(h="route-fallback",!1||Zt[h]||(Zt[h]=!0),u=!0,A=null):c===r&&(u=!0,A=i.route.hydrateFallbackElement||null)));let f=t.concat(l.slice(0,r+1)),m=()=>{let t;return t=s?p:u?A:i.route.Component?a.createElement(i.route.Component,null):i.route.element?i.route.element:e,a.createElement(Gt,{match:i,routeContext:{outlet:e,matches:f,isDataRoute:null!=n},children:t})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===r)?a.createElement(Kt,{location:n.location,revalidation:n.revalidation,component:p,error:s,children:m(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):m()}),null)}(f&&f.map((e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:St([d,r.encodeLocation?r.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:St([d,r.encodeLocation?r.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),s,n,i);if(t&&m)return a.createElement(Lt.Provider,{value:{location:kt({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:qe.Pop}},m);return m}(e,t)}function Wt(){let e=function(){var e;let t=a.useContext(_t),n=function(){let e=a.useContext(Et);return e||Ze(!1),e}(Xt.UseRouteError),i=Jt(Xt.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[i]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return a.createElement(a.Fragment,null,a.createElement("h2",null,"Unexpected Application Error!"),a.createElement("h3",{style:{fontStyle:"italic"}},t),n?a.createElement("pre",{style:i},n):null,null)}const Yt=a.createElement(Wt,null);class Kt extends a.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){}render(){return void 0!==this.state.error?a.createElement(Ut.Provider,{value:this.props.routeContext},a.createElement(_t.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Gt(e){let{routeContext:t,match:n,children:i}=e,r=a.useContext(Tt);return r&&r.static&&r.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=n.route.id),a.createElement(Ut.Provider,{value:t},i)}var $t=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}($t||{}),Xt=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Xt||{});function Jt(e){let t=function(){let e=a.useContext(Ut);return e||Ze(!1),e}(),n=t.matches[t.matches.length-1];return n.route.id||Ze(!1),n.route.id}const Zt={};function en(e){return function(e){let t=a.useContext(Ut).outlet;return t?a.createElement(Ht.Provider,{value:e},t):t}(e.context)}function tn(e){Ze(!1)}function nn(e){let{basename:t="/",children:n=null,location:i,navigationType:r=qe.Pop,navigator:s,static:l=!1,future:o}=e;Ot()&&Ze(!1);let d=t.replace(/^\/*/,"/"),c=a.useMemo((()=>({basename:d,navigator:s,static:l,future:kt({v7_relativeSplatPath:!1},o)})),[d,o,s,l]);"string"==typeof i&&(i=at(i));let{pathname:u="/",search:p="",hash:A="",state:h=null,key:f="default"}=i,m=a.useMemo((()=>{let e=bt(u,d);return null==e?null:{location:{pathname:e,search:p,hash:A,state:h,key:f},navigationType:r}}),[d,u,p,A,h,f,r]);return null==m?null:a.createElement(Dt.Provider,{value:c},a.createElement(Lt.Provider,{children:n,value:m}))}function an(e){let{children:t,location:n}=e;return qt(rn(t),n)}function rn(e,t){void 0===t&&(t=[]);let n=[];return a.Children.forEach(e,((e,i)=>{if(!a.isValidElement(e))return;let r=[...t,i];if(e.type===a.Fragment)return void n.push.apply(n,rn(e.props.children,r));e.type!==tn&&Ze(!1),e.props.index&&e.props.children&&Ze(!1);let s={id:e.props.id||r.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=rn(e.props.children,r)),n.push(s)})),n} +/** + * React Router DOM v6.30.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function sn(){return sn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},sn.apply(this,arguments)}function ln(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let i=e[n];return t.concat(Array.isArray(i)?i.map((e=>[n,e])):[[n,i]])}),[]))}new Promise((()=>{}));const on=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(Ou){}const dn=s.startTransition;function cn(e){let{basename:t,children:n,future:i,window:r}=e,s=a.useRef();null==s.current&&(s.current=Je({window:r,v5Compat:!0}));let l=s.current,[o,d]=a.useState({action:l.action,location:l.location}),{v7_startTransition:c}=i||{},u=a.useCallback((e=>{c&&dn?dn((()=>d(e))):d(e)}),[d,c]);return a.useLayoutEffect((()=>l.listen(u)),[l,u]),a.useEffect((()=>{return null==(e=i)||e.v7_startTransition,void 0===(null==e?void 0:e.v7_relativeSplatPath)&&(!t||t.v7_relativeSplatPath),void(t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation));var e,t}),[i]),a.createElement(nn,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:l,future:i})}const un="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,pn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,An=a.forwardRef((function(e,t){let n,{onClick:i,relative:r,reloadDocument:s,replace:l,state:o,target:d,to:c,preventScrollReset:u,viewTransition:p}=e,A=function(e,t){if(null==e)return{};var n,i,a={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,on),{basename:h}=a.useContext(Dt),f=!1;if("string"==typeof c&&pn.test(c)&&(n=c,un))try{let e=new URL(window.location.href),t=c.startsWith("//")?new URL(e.protocol+c):new URL(c),n=bt(t.pathname,h);t.origin===e.origin&&null!=n?c=n+t.search+t.hash:f=!0}catch(Ou){}let m=function(e,t){let{relative:n}=void 0===t?{}:t;Ot()||Ze(!1);let{basename:i,navigator:r}=a.useContext(Dt),{hash:s,pathname:l,search:o}=zt(e,{relative:n}),d=l;return"/"!==i&&(d="/"===l?i:St([i,l])),r.createHref({pathname:d,search:o,hash:s})}(c,{relative:r}),v=function(e,t){let{target:n,replace:i,state:r,preventScrollReset:s,relative:l,viewTransition:o}=void 0===t?{}:t,d=Qt(),c=Mt(),u=zt(e,{relative:l});return a.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==i?i:it(c)===it(u);d(e,{replace:n,state:r,preventScrollReset:s,relative:l,viewTransition:o})}}),[c,d,u,i,r,n,e,s,l,o])}(c,{replace:l,state:o,target:d,preventScrollReset:u,relative:r,viewTransition:p});return a.createElement("a",sn({},A,{href:n||m,onClick:f||s?i:function(e){i&&i(e),e.defaultPrevented||v(e)},ref:t,target:d}))}));var hn,fn,mn,vn;function gn(e){let t=a.useRef(ln(e)),n=a.useRef(!1),i=Mt(),r=a.useMemo((()=>function(e,t){let n=ln(e);return t&&t.forEach(((e,i)=>{n.has(i)||t.getAll(i).forEach((e=>{n.append(i,e)}))})),n}(i.search,n.current?null:t.current)),[i.search]),s=Qt(),l=a.useCallback(((e,t)=>{const i=ln("function"==typeof e?e(r):e);n.current=!0,s("?"+i,t)}),[s,r]);return[r,l]}(fn=hn||(hn={})).UseScrollRestoration="useScrollRestoration",fn.UseSubmit="useSubmit",fn.UseSubmitFetcher="useSubmitFetcher",fn.UseFetcher="useFetcher",fn.useViewTransitionState="useViewTransitionState",(vn=mn||(mn={})).UseFetcher="useFetcher",vn.UseFetchers="useFetchers",vn.UseScrollRestoration="useScrollRestoration";var yn={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},xn=l.createContext&&l.createContext(yn),bn=globalThis&&globalThis.__assign||function(){return bn=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},bn.apply(this,arguments)},wn=globalThis&&globalThis.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(i=Object.getOwnPropertySymbols(e);a<i.length;a++)t.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(e,i[a])&&(n[i[a]]=e[i[a]])}return n};function jn(e){return e&&e.map((function(e,t){return l.createElement(e.tag,bn({key:t},e.attr),jn(e.child))}))}function Cn(e){return function(t){return l.createElement(Sn,bn({attr:bn({},e.attr)},t),jn(e.child))}}function Sn(e){var t=function(t){var n,i=e.attr,a=e.size,r=e.title,s=wn(e,["attr","size","title"]),o=a||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),l.createElement("svg",bn({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,s,{className:n,style:bn(bn({color:e.color||t.color},t.style),e.style),height:o,width:o,xmlns:"http://www.w3.org/2000/svg"}),r&&l.createElement("title",null,r),e.children)};return void 0!==xn?l.createElement(xn.Consumer,null,(function(e){return t(e)})):t(yn)}function Nn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"}}]})(e)}function In(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}},{tag:"line",attr:{x1:"3",y1:"9",x2:"21",y2:"9"}},{tag:"line",attr:{x1:"9",y1:"21",x2:"9",y2:"9"}}]})(e)}function Fn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"3",y1:"12",x2:"21",y2:"12"}},{tag:"line",attr:{x1:"3",y1:"6",x2:"21",y2:"6"}},{tag:"line",attr:{x1:"3",y1:"18",x2:"21",y2:"18"}}]})(e)}function Bn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}},{tag:"polyline",attr:{points:"17 21 17 13 7 13 7 21"}},{tag:"polyline",attr:{points:"7 3 7 8 15 8"}}]})(e)}function Pn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"3"}},{tag:"path",attr:{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"}}]})(e)}function kn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}},{tag:"circle",attr:{cx:"8.5",cy:"7",r:"4"}},{tag:"polyline",attr:{points:"17 11 19 13 23 9"}}]})(e)}function Tn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"}}]})(e)}function En(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 002 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}}]})(e)}function Dn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"}}]})(e)}function Ln(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 3H4c-1.11 0-2 .89-2 2v12a2 2 0 002 2h4v2h8v-2h4c1.1 0 2-.9 2-2V5a2 2 0 00-2-2zm0 14H4V5h16v12z"}},{tag:"path",attr:{d:"M6 8.25h8v1.5H6zM16.5 9.75H18v-1.5h-1.5V7H15v4h1.5zM10 12.25h8v1.5h-8zM7.5 15H9v-4H7.5v1.25H6v1.5h1.5z"}}]})(e)}function Un(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"}}]})(e)}function _n(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-8 4c0 .55-.45 1-1 1s-1-.45-1-1V8h2v2zm2-6c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2zm4 6c0 .55-.45 1-1 1s-1-.45-1-1V8h2v2z"}}]})(e)}function On(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1.003 1.003 0 0020 4H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z"}}]})(e)}function Mn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 4H4v2h16V4zm1 10v-2l-1-5H4l-1 5v2h1v6h10v-6h4v6h2v-6h1zm-9 4H6v-4h6v4z"}}]})(e)}function Rn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 3v2h-2V3H8v2H6V3H4v18h2v-2h2v2h8v-2h2v2h2V3h-2zM8 17H6v-2h2v2zm0-4H6v-2h2v2zm0-4H6V7h2v2zm10 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V7h2v2z"}}]})(e)}function Qn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z"}}]})(e)}function Hn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"}}]})(e)}function Vn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM18 14H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"}}]})(e)}function zn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 6h18V4H4c-1.1 0-2 .9-2 2v11H0v3h14v-3H4V6zm19 2h-6c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm-1 9h-4v-7h4v7z"}}]})(e)}function qn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 9h4v11H4zM16 13h4v7h-4zM10 4h4v16h-4z"}}]})(e)}function Wn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}}]})(e)}function Yn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}}]})(e)}function Kn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.5 1h-8A2.5 2.5 0 005 3.5v17A2.5 2.5 0 007.5 23h8a2.5 2.5 0 002.5-2.5v-17A2.5 2.5 0 0015.5 1zm-4 21c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5-4H7V4h9v14z"}}]})(e)}function Gn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 2v11h3v9l7-12h-4l4-8z"}}]})(e)}function $n(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19.5 12c.93 0 1.78.28 2.5.76V8c0-1.1-.9-2-2-2h-6.29l-1.06-1.06 1.41-1.41-.71-.71-3.53 3.53.71.71 1.41-1.41L13 6.71V9c0 1.1-.9 2-2 2h-.54A5.98 5.98 0 0112 15c0 .34-.04.67-.09 1h3.14c.25-2.25 2.14-4 4.45-4z"}},{tag:"path",attr:{d:"M19.5 13c-1.93 0-3.5 1.57-3.5 3.5s1.57 3.5 3.5 3.5 3.5-1.57 3.5-3.5-1.57-3.5-3.5-3.5zm0 5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM4 9h5c0-1.1-.9-2-2-2H4c-.55 0-1 .45-1 1s.45 1 1 1zM9.83 13.82l-.18-.47.93-.35a4.92 4.92 0 00-2.31-2.43l-.4.89-.46-.21.4-.9C7.26 10.13 6.64 10 6 10c-.53 0-1.04.11-1.52.26l.34.91-.47.18-.35-.93a4.92 4.92 0 00-2.43 2.31l.89.4-.21.46-.9-.4C1.13 13.74 1 14.36 1 15c0 .53.11 1.04.26 1.52l.91-.34.18.47-.93.35a4.92 4.92 0 002.31 2.43l.4-.89.46.21-.4.9c.55.22 1.17.35 1.81.35.53 0 1.04-.11 1.52-.26l-.34-.91.47-.18.35.93a4.92 4.92 0 002.43-2.31l-.89-.4.21-.46.9.4c.22-.55.35-1.17.35-1.81 0-.53-.11-1.04-.26-1.52l-.91.34zm-2.68 3.95c-1.53.63-3.29-.09-3.92-1.62-.63-1.53.09-3.29 1.62-3.92 1.53-.63 3.29.09 3.92 1.62.64 1.53-.09 3.29-1.62 3.92z"}}]})(e)}function Xn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M22 10v12H2V10l7-3v2l5-2v3h8zm-4.8-1.5L18 2h3l.8 6.5h-4.6zM11 18h2v-4h-2v4zm-4 0h2v-4H7v4zm10-4h-2v4h2v-4z"}}]})(e)}function Jn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1.003 1.003 0 0020 4H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z"}}]})(e)}function Zn(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 3H5c-1.1 0-1.99.9-1.99 2L3 19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 11h-4v4h-4v-4H6v-4h4V6h4v4h4v4z"}}]})(e)}function ei(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21 5h-2.64l1.14-3.14L17.15 1l-1.46 4H3v2l2 6-2 6v2h18v-2l-2-6 2-6V5zm-5 9h-3v3h-2v-3H8v-2h3V9h2v3h3v2z"}}]})(e)}function ti(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zM6 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm13.5-9l1.96 2.5H17V9.5h2.5zm-1.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"}}]})(e)}function ni(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8.1 13.34l2.83-2.83L3.91 3.5a4.008 4.008 0 000 5.66l4.19 4.18zm6.78-1.81c1.53.71 3.68.21 5.27-1.38 1.91-1.91 2.28-4.65.81-6.12-1.46-1.46-4.2-1.1-6.12.81-1.59 1.59-2.09 3.74-1.38 5.27L3.7 19.87l1.41 1.41L12 14.41l6.88 6.88 1.41-1.41L13.41 13l1.47-1.47z"}}]})(e)}function ii(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 9H9V2H7v7H5V2H3v7c0 2.12 1.66 3.84 3.75 3.97V22h2.5v-9.03C11.34 12.84 13 11.12 13 9V2h-2v7zm5-3v8h2.5v8H21V2c-2.76 0-5 2.24-5 4z"}}]})(e)}function ai(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M22 21V7L12 3 2 7v14h5v-9h10v9h5zm-11-2H9v2h2v-2zm2-3h-2v2h2v-2zm2 3h-2v2h2v-2z"}}]})(e)}function ri(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}}]})(e)}function si(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}}]})(e)}function li(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}}]})(e)}function oi(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}}]})(e)}function di(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21.6 18.2L13 11.75v-.91a3.496 3.496 0 00-.18-6.75A3.51 3.51 0 008.5 7.5h2c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5c0 .84-.69 1.52-1.53 1.5-.54-.01-.97.45-.97.99v1.76L2.4 18.2c-.77.58-.36 1.8.6 1.8h18c.96 0 1.37-1.22.6-1.8zM6 18l6-4.5 6 4.5H6z"}}]})(e)}function ci(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0zm13.97 21.49c-.63.23-1.29.4-1.97.51.68-.12 1.33-.29 1.97-.51zM12 22z"}},{tag:"path",attr:{d:"M8.55 12zm10.43-1.61zM15.49 9.63c-.18-2.79-1.31-5.51-3.43-7.63a12.188 12.188 0 00-3.55 7.63c1.28.68 2.46 1.56 3.49 2.63 1.03-1.06 2.21-1.94 3.49-2.63zm-6.5 2.65c-.14-.1-.3-.19-.45-.29.15.11.31.19.45.29zm6.42-.25c-.13.09-.27.16-.4.26.13-.1.27-.17.4-.26zM12 15.45C9.85 12.17 6.18 10 2 10c0 5.32 3.36 9.82 8.03 11.49.63.23 1.29.4 1.97.51.68-.12 1.33-.29 1.97-.51C18.64 19.82 22 15.32 22 10c-4.18 0-7.85 2.17-10 5.45z"}}]})(e)}function ui(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21.9 8.89l-1.05-4.37c-.22-.9-1-1.52-1.91-1.52H5.05c-.9 0-1.69.63-1.9 1.52L2.1 8.89c-.24 1.02-.02 2.06.62 2.88.08.11.19.19.28.29V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6.94c.09-.09.2-.18.28-.28.64-.82.87-1.87.62-2.89zm-2.99-3.9l1.05 4.37c.1.42.01.84-.25 1.17-.14.18-.44.47-.94.47-.61 0-1.14-.49-1.21-1.14L16.98 5l1.93-.01zM13 5h1.96l.54 4.52c.05.39-.07.78-.33 1.07-.22.26-.54.41-.95.41-.67 0-1.22-.59-1.22-1.31V5zM8.49 9.52L9.04 5H11v4.69c0 .72-.55 1.31-1.29 1.31-.34 0-.65-.15-.89-.41a1.42 1.42 0 01-.33-1.07zm-4.45-.16L5.05 5h1.97l-.58 4.86c-.08.65-.6 1.14-1.21 1.14-.49 0-.8-.29-.93-.47-.27-.32-.36-.75-.26-1.17zM5 19v-6.03c.08.01.15.03.23.03.87 0 1.66-.36 2.24-.95.6.6 1.4.95 2.31.95.87 0 1.65-.36 2.23-.93.59.57 1.39.93 2.29.93.84 0 1.64-.35 2.24-.95.58.59 1.37.95 2.24.95.08 0 .15-.02.23-.03V19H5z"}}]})(e)}function pi(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 6a2 2 0 002-2c0-.38-.1-.73-.29-1.03L12 0l-1.71 2.97c-.19.3-.29.65-.29 1.03 0 1.1.9 2 2 2zm4.6 9.99l-1.07-1.07-1.08 1.07c-1.3 1.3-3.58 1.31-4.89 0l-1.07-1.07-1.09 1.07C6.75 16.64 5.88 17 4.96 17c-.73 0-1.4-.23-1.96-.61V21c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-4.61c-.56.38-1.23.61-1.96.61-.92 0-1.79-.36-2.44-1.01zM18 9h-5V7h-2v2H6c-1.66 0-3 1.34-3 3v1.54c0 1.08.88 1.96 1.96 1.96.52 0 1.02-.2 1.38-.57l2.14-2.13 2.13 2.13c.74.74 2.03.74 2.77 0l2.14-2.13 2.13 2.13c.37.37.86.57 1.38.57 1.08 0 1.96-.88 1.96-1.96V12C21 10.34 19.66 9 18 9z"}}]})(e)}function Ai(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"}}]})(e)}function hi(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M9.68 13.69L12 11.93l2.31 1.76-.88-2.85L15.75 9h-2.84L12 6.19 11.09 9H8.25l2.31 1.84-.88 2.85zM20 10c0-4.42-3.58-8-8-8s-8 3.58-8 8c0 2.03.76 3.87 2 5.28V23l6-2 6 2v-7.72A7.96 7.96 0 0020 10zm-8-6c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6 2.69-6 6-6z"}}]})(e)}function fi(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}]})(e)}function mi(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M17 8l-1.41 1.41L17.17 11H9v2h8.17l-1.58 1.58L17 16l4-4-4-4zM5 5h7V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h7v-2H5V5z"}}]})(e)}function vi(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M22 16v-2l-8.5-5V3.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5V9L2 14v2l8.5-2.5V19L8 20.5V22l4-1 4 1v-1.5L13.5 19v-5.5L22 16z"}},{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}}]})(e)}function gi(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19.93 8.35l-3.6 1.68L14 7.7V6.3l2.33-2.33 3.6 1.68c.38.18.82.01 1-.36.18-.38.01-.82-.36-1l-3.92-1.83a.993.993 0 00-1.13.2L13.78 4.4A.975.975 0 0013 4c-.55 0-1 .45-1 1v1H8.82C8.4 4.84 7.3 4 6 4 4.34 4 3 5.34 3 7c0 1.1.6 2.05 1.48 2.58L7.08 18H6c-1.1 0-2 .9-2 2v1h13v-1c0-1.1-.9-2-2-2h-1.62L8.41 8.77c.17-.24.31-.49.41-.77H12v1c0 .55.45 1 1 1 .32 0 .6-.16.78-.4l1.74 1.74c.3.3.75.38 1.13.2l3.92-1.83c.38-.18.54-.62.36-1a.753.753 0 00-1-.36zM6 8c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5.11 10H9.17l-2.46-8h.1l4.3 8z"}}]})(e)}function yi(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function xi(e){return!!e&&!!e[sa]}function bi(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===la}(e)||Array.isArray(e)||!!e[ra]||!!(null===(t=e.constructor)||void 0===t?void 0:t[ra])||Ii(e)||Fi(e))}function wi(e,t,n){void 0===n&&(n=!1),0===ji(e)?(n?Object.keys:oa)(e).forEach((function(i){n&&"symbol"==typeof i||t(i,e[i],e)})):e.forEach((function(n,i){return t(i,n,e)}))}function ji(e){var t=e[sa];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ii(e)?2:Fi(e)?3:0}function Ci(e,t){return 2===ji(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Si(e,t,n){var i=ji(e);2===i?e.set(t,n):3===i?e.add(n):e[t]=n}function Ni(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function Ii(e){return ta&&e instanceof Map}function Fi(e){return na&&e instanceof Set}function Bi(e){return e.o||e.t}function Pi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=da(e);delete t[sa];for(var n=oa(t),i=0;i<n.length;i++){var a=n[i],r=t[a];!1===r.writable&&(r.writable=!0,r.configurable=!0),(r.get||r.set)&&(t[a]={configurable:!0,writable:!0,enumerable:r.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function ki(e,t){return void 0===t&&(t=!1),Ei(e)||xi(e)||!bi(e)||(ji(e)>1&&(e.set=e.add=e.clear=e.delete=Ti),Object.freeze(e),t&&wi(e,(function(e,t){return ki(t,!0)}),!0)),e}function Ti(){yi(2)}function Ei(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function Di(e){var t=ca[e];return t||yi(18,e),t}function Li(){return Zi}function Ui(e,t){t&&(Di("Patches"),e.u=[],e.s=[],e.v=t)}function _i(e){Oi(e),e.p.forEach(Ri),e.p=null}function Oi(e){e===Zi&&(Zi=e.l)}function Mi(e){return Zi={p:[],l:Zi,h:e,m:!0,_:0}}function Ri(e){var t=e[sa];0===t.i||1===t.i?t.j():t.g=!0}function Qi(e,t){t._=t.p.length;var n=t.p[0],i=void 0!==e&&e!==n;return t.h.O||Di("ES5").S(t,e,i),i?(n[sa].P&&(_i(t),yi(4)),bi(e)&&(e=Hi(t,e),t.l||zi(t,e)),t.u&&Di("Patches").M(n[sa].t,e,t.u,t.s)):e=Hi(t,n,[]),_i(t),t.u&&t.v(t.u,t.s),e!==aa?e:void 0}function Hi(e,t,n){if(Ei(t))return t;var i=t[sa];if(!i)return wi(t,(function(a,r){return Vi(e,i,t,a,r,n)}),!0),t;if(i.A!==e)return t;if(!i.P)return zi(e,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var a=4===i.i||5===i.i?i.o=Pi(i.k):i.o,r=a,s=!1;3===i.i&&(r=new Set(a),a.clear(),s=!0),wi(r,(function(t,r){return Vi(e,i,a,t,r,n,s)})),zi(e,a,!1),n&&e.u&&Di("Patches").N(i,n,e.u,e.s)}return i.o}function Vi(e,t,n,i,a,r,s){if(xi(a)){var l=Hi(e,a,r&&t&&3!==t.i&&!Ci(t.R,i)?r.concat(i):void 0);if(Si(n,i,l),!xi(l))return;e.m=!1}else s&&n.add(a);if(bi(a)&&!Ei(a)){if(!e.h.D&&e._<1)return;Hi(e,a),t&&t.A.l||zi(e,a)}}function zi(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&ki(t,n)}function qi(e,t){var n=e[sa];return(n?Bi(n):e)[t]}function Wi(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Object.getPrototypeOf(n)}}function Yi(e){e.P||(e.P=!0,e.l&&Yi(e.l))}function Ki(e){e.o||(e.o=Pi(e.t))}function Gi(e,t,n){var i=Ii(t)?Di("MapSet").F(t,n):Fi(t)?Di("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),i={i:n?1:0,A:t?t.A:Li(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},a=i,r=ua;n&&(a=[i],r=pa);var s=Proxy.revocable(a,r),l=s.revoke,o=s.proxy;return i.k=o,i.j=l,o}(t,n):Di("ES5").J(t,n);return(n?n.A:Li()).p.push(i),i}function $i(e){return xi(e)||yi(22,e),function e(t){if(!bi(t))return t;var n,i=t[sa],a=ji(t);if(i){if(!i.P&&(i.i<4||!Di("ES5").K(i)))return i.t;i.I=!0,n=Xi(t,a),i.I=!1}else n=Xi(t,a);return wi(n,(function(t,a){i&&function(e,t){return 2===ji(e)?e.get(t):e[t]}(i.t,t)===a||Si(n,t,e(a))})),3===a?new Set(n):n}(e)}function Xi(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Pi(e)}var Ji,Zi,ea="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ta="undefined"!=typeof Map,na="undefined"!=typeof Set,ia="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,aa=ea?Symbol.for("immer-nothing"):((Ji={})["immer-nothing"]=!0,Ji),ra=ea?Symbol.for("immer-draftable"):"__$immer_draftable",sa=ea?Symbol.for("immer-state"):"__$immer_state",la=""+Object.prototype.constructor,oa="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,da=Object.getOwnPropertyDescriptors||function(e){var t={};return oa(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},ca={},ua={get:function(e,t){if(t===sa)return e;var n,i,a,r=Bi(e);if(!Ci(r,t))return n=e,(a=Wi(r,t))?"value"in a?a.value:null===(i=a.get)||void 0===i?void 0:i.call(n.k):void 0;var s=r[t];return e.I||!bi(s)?s:s===qi(e.t,t)?(Ki(e),e.o[t]=Gi(e.A.h,s,e)):s},has:function(e,t){return t in Bi(e)},ownKeys:function(e){return Reflect.ownKeys(Bi(e))},set:function(e,t,n){var i=Wi(Bi(e),t);if(null==i?void 0:i.set)return i.set.call(e.k,n),!0;if(!e.P){var a=qi(Bi(e),t),r=null==a?void 0:a[sa];if(r&&r.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(Ni(n,a)&&(void 0!==n||Ci(e.t,t)))return!0;Ki(e),Yi(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==qi(e.t,t)||t in e.t?(e.R[t]=!1,Ki(e),Yi(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=Bi(e),i=Reflect.getOwnPropertyDescriptor(n,t);return i?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:i.enumerable,value:n[t]}:i},defineProperty:function(){yi(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){yi(12)}},pa={};wi(ua,(function(e,t){pa[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),pa.deleteProperty=function(e,t){return pa.set.call(this,e,t,void 0)},pa.set=function(e,t,n){return ua.set.call(this,e[0],t,n,e[0])};var Aa=function(){function e(e){var t=this;this.O=ia,this.D=!0,this.produce=function(e,n,i){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var r=t;return function(e){var t=this;void 0===e&&(e=a);for(var i=arguments.length,s=Array(i>1?i-1:0),l=1;l<i;l++)s[l-1]=arguments[l];return r.produce(e,(function(e){var i;return(i=n).call.apply(i,[t,e].concat(s))}))}}var s;if("function"!=typeof n&&yi(6),void 0!==i&&"function"!=typeof i&&yi(7),bi(e)){var l=Mi(t),o=Gi(t,e,void 0),d=!0;try{s=n(o),d=!1}finally{d?_i(l):Oi(l)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(e){return Ui(l,i),Qi(e,l)}),(function(e){throw _i(l),e})):(Ui(l,i),Qi(s,l))}if(!e||"object"!=typeof e){if(void 0===(s=n(e))&&(s=e),s===aa&&(s=void 0),t.D&&ki(s,!0),i){var c=[],u=[];Di("Patches").M(e,s,c,u),i(c,u)}return s}yi(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var i=arguments.length,a=Array(i>1?i-1:0),r=1;r<i;r++)a[r-1]=arguments[r];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(a))}))};var i,a,r=t.produce(e,n,(function(e,t){i=e,a=t}));return"undefined"!=typeof Promise&&r instanceof Promise?r.then((function(e){return[e,i,a]})):[r,i,a]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){bi(e)||yi(8),xi(e)&&(e=$i(e));var t=Mi(this),n=Gi(this,e,void 0);return n[sa].C=!0,Oi(t),n},t.finishDraft=function(e,t){var n=(e&&e[sa]).A;return Ui(n,t),Qi(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!ia&&yi(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var i=t[n];if(0===i.path.length&&"replace"===i.op){e=i.value;break}}n>-1&&(t=t.slice(n+1));var a=Di("Patches").$;return xi(e)?a(e,t):this.produce(e,(function(e){return a(e,t)}))},e}(),ha=new Aa,fa=ha.produce;function ma(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}ha.produceWithPatches.bind(ha),ha.setAutoFreeze.bind(ha),ha.setUseProxies.bind(ha),ha.applyPatches.bind(ha),ha.createDraft.bind(ha),ha.finishDraft.bind(ha);var va="function"==typeof Symbol&&Symbol.observable||"@@observable",ga=function(){return Math.random().toString(36).substring(7).split("").join(".")},ya={INIT:"@@redux/INIT"+ga(),REPLACE:"@@redux/REPLACE"+ga(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ga()}};function xa(e,t,n){var i;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(ma(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(ma(1));return n(xa)(e,t)}if("function"!=typeof e)throw new Error(ma(2));var a=e,r=t,s=[],l=s,o=!1;function d(){l===s&&(l=s.slice())}function c(){if(o)throw new Error(ma(3));return r}function u(e){if("function"!=typeof e)throw new Error(ma(4));if(o)throw new Error(ma(5));var t=!0;return d(),l.push(e),function(){if(t){if(o)throw new Error(ma(6));t=!1,d();var n=l.indexOf(e);l.splice(n,1),s=null}}}function p(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(ma(7));if(void 0===e.type)throw new Error(ma(8));if(o)throw new Error(ma(9));try{o=!0,r=a(r,e)}finally{o=!1}for(var t=s=l,n=0;n<t.length;n++){(0,t[n])()}return e}return p({type:ya.INIT}),(i={dispatch:p,subscribe:u,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error(ma(10));a=e,p({type:ya.REPLACE})}})[va]=function(){var e,t=u;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(ma(11));function n(){e.next&&e.next(c())}return n(),{unsubscribe:t(n)}}})[va]=function(){return this},e},i}function ba(e){for(var t=Object.keys(e),n={},i=0;i<t.length;i++){var a=t[i];"function"==typeof e[a]&&(n[a]=e[a])}var r,s=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:ya.INIT}))throw new Error(ma(12));if(void 0===n(void 0,{type:ya.PROBE_UNKNOWN_ACTION()}))throw new Error(ma(13))}))}(n)}catch(Ou){r=Ou}return function(e,t){if(void 0===e&&(e={}),r)throw r;for(var i=!1,a={},l=0;l<s.length;l++){var o=s[l],d=n[o],c=e[o],u=d(c,t);if(void 0===u)throw t&&t.type,new Error(ma(14));a[o]=u,i=i||u!==c}return(i=i||s.length!==Object.keys(e).length)?a:e}}function wa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function ja(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),i=function(){throw new Error(ma(15))},a={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},r=t.map((function(e){return e(a)}));return i=wa.apply(void 0,r)(n.dispatch),u(u({},n),{},{dispatch:i})}}}function Ca(e){return function(t){var n=t.dispatch,i=t.getState;return function(t){return function(a){return"function"==typeof a?a(n,i,e):t(a)}}}}var Sa=Ca();Sa.withExtraArgument=Ca;const Na=Sa;var Ia,Fa=globalThis&&globalThis.__extends||(Ia=function(e,t){return(Ia=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ia(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ba=globalThis&&globalThis.__generator||function(e,t){var n,i,a,r,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(r){return function(l){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(a=2&r[0]?i.return:r[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,r[1])).done)return a;switch(i=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(a=s.trys,(a=a.length>0&&a[a.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!a||r[1]>a[0]&&r[1]<a[3])){s.label=r[1];break}if(6===r[0]&&s.label<a[1]){s.label=a[1],a=r;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(r);break}a[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(Ou){r=[6,Ou],i=0}finally{n=a=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,l])}}},Pa=globalThis&&globalThis.__spreadArray||function(e,t){for(var n=0,i=t.length,a=e.length;n<i;n++,a++)e[a]=t[n];return e},ka=Object.defineProperty,Ta=Object.defineProperties,Ea=Object.getOwnPropertyDescriptors,Da=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,Ua=Object.prototype.propertyIsEnumerable,_a=function(e,t,n){return t in e?ka(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},Oa=function(e,t){for(var n in t||(t={}))La.call(t,n)&&_a(e,n,t[n]);if(Da)for(var i=0,a=Da(t);i<a.length;i++){n=a[i];Ua.call(t,n)&&_a(e,n,t[n])}return e},Ma=function(e,t){return Ta(e,Ea(t))},Ra="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?wa:wa.apply(null,arguments)};function Qa(e,t){function n(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Oa(Oa({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}var Ha=function(e){function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var a=e.apply(this,n)||this;return Object.setPrototypeOf(a,t.prototype),a}return Fa(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,Pa([void 0],e[0].concat(this)))):new(t.bind.apply(t,Pa([void 0],e.concat(this))))},t}(Array),Va=function(e){function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var a=e.apply(this,n)||this;return Object.setPrototypeOf(a,t.prototype),a}return Fa(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,Pa([void 0],e[0].concat(this)))):new(t.bind.apply(t,Pa([void 0],e.concat(this))))},t}(Array);function za(e){return bi(e)?fa(e,(function(){})):e}function qa(){return function(e){return function(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t;e.immutableCheck,e.serializableCheck,e.actionCreatorCheck;var i=new Ha;n&&("boolean"==typeof n?i.push(Na):i.push(Na.withExtraArgument(n.extraArgument)));return i}(e)}}function Wa(e){var t,n={},i=[],a={addCase:function(e,t){var i="string"==typeof e?e:e.type;if(!i)throw new Error("`builder.addCase` cannot be called with an empty action type");if(i in n)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return n[i]=t,a},addMatcher:function(e,t){return i.push({matcher:e,reducer:t}),a},addDefaultCase:function(e){return t=e,a}};return e(a),[n,i,t]}function Ya(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,i="function"==typeof e.initialState?e.initialState:za(e.initialState),a=e.reducers||{},r=Object.keys(a),s={},l={},o={};function d(){var t="function"==typeof e.extraReducers?Wa(e.extraReducers):[e.extraReducers],n=t[0],a=void 0===n?{}:n,r=t[1],s=void 0===r?[]:r,o=t[2],d=void 0===o?void 0:o,c=Oa(Oa({},a),l);return function(e,t,n,i){void 0===n&&(n=[]);var a,r="function"==typeof t?Wa(t):[t,n,i],s=r[0],l=r[1],o=r[2];if("function"==typeof e)a=function(){return za(e())};else{var d=za(e);a=function(){return d}}function c(e,t){void 0===e&&(e=a());var n=Pa([s[t.type]],l.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[o]),n.reduce((function(e,n){if(n){var i;if(xi(e))return void 0===(i=n(e,t))?e:i;if(bi(e))return fa(e,(function(e){return n(e,t)}));if(void 0===(i=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return e}),e)}return c.getInitialState=a,c}(i,(function(e){for(var t in c)e.addCase(t,c[t]);for(var n=0,i=s;n<i.length;n++){var a=i[n];e.addMatcher(a.matcher,a.reducer)}d&&e.addDefaultCase(d)}))}return r.forEach((function(e){var n,i,r=a[e],d=t+"/"+e;"reducer"in r?(n=r.reducer,i=r.prepare):n=r,s[e]=n,l[d]=n,o[e]=i?Qa(d,i):Qa(d)})),{name:t,reducer:function(e,t){return n||(n=d()),n(e,t)},actions:o,caseReducers:s,getInitialState:function(){return n||(n=d()),n.getInitialState()}}}var Ka=["name","message","stack","code"],Ga=function(e,t){this.payload=e,this.meta=t},$a=function(e,t){this.payload=e,this.meta=t},Xa=function(e){if("object"==typeof e&&null!==e){for(var t={},n=0,i=Ka;n<i.length;n++){var a=i[n];"string"==typeof e[a]&&(t[a]=e[a])}return t}return{message:String(e)}},Ja=function(){function e(e,t,n){var i=Qa(e+"/fulfilled",(function(e,t,n,i){return{payload:e,meta:Ma(Oa({},i||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}})),a=Qa(e+"/pending",(function(e,t,n){return{payload:void 0,meta:Ma(Oa({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}})),r=Qa(e+"/rejected",(function(e,t,i,a,r){return{payload:a,error:(n&&n.serializeError||Xa)(e||"Rejected"),meta:Ma(Oa({},r||{}),{arg:i,requestId:t,rejectedWithValue:!!a,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}})),s="undefined"!=typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){},e}();return Object.assign((function(e){return function(l,o,d){var c,u=(null==n?void 0:n.idGenerator)?n.idGenerator(e):function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t}(),p=new s;function A(e){c=e,p.abort()}var h=function(){return s=this,h=null,f=function(){var s,h,f,m,v,g;return Ba(this,(function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),m=null==(s=null==n?void 0:n.condition)?void 0:s.call(n,e,{getState:o,extra:d}),null===(x=m)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,m];case 1:m=y.sent(),y.label=2;case 2:if(!1===m||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return v=new Promise((function(e,t){return p.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:c||"Aborted"})}))})),l(a(u,e,null==(h=null==n?void 0:n.getPendingMeta)?void 0:h.call(n,{requestId:u,arg:e},{getState:o,extra:d}))),[4,Promise.race([v,Promise.resolve(t(e,{dispatch:l,getState:o,extra:d,requestId:u,signal:p.signal,abort:A,rejectWithValue:function(e,t){return new Ga(e,t)},fulfillWithValue:function(e,t){return new $a(e,t)}})).then((function(t){if(t instanceof Ga)throw t;return t instanceof $a?i(t.payload,u,e,t.meta):i(t,u,e)}))])];case 3:return f=y.sent(),[3,5];case 4:return g=y.sent(),f=g instanceof Ga?r(null,u,e,g.payload,g.meta):r(g,u,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&r.match(f)&&f.meta.condition||l(f),[2,f]}var x}))},new Promise((function(e,t){var n=function(e){try{a(f.next(e))}catch(Ou){t(Ou)}},i=function(e){try{a(f.throw(e))}catch(Ou){t(Ou)}},a=function(t){return t.done?e(t.value):Promise.resolve(t.value).then(n,i)};a((f=f.apply(s,h)).next())}));var s,h,f}();return Object.assign(h,{abort:A,requestId:u,arg:e,unwrap:function(){return h.then(Za)}})}}),{pending:a,rejected:r,fulfilled:i,typePrefix:e})}return e.withTypes=function(){return e},e}();function Za(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var er="listenerMiddleware";Qa(er+"/add"),Qa(er+"/removeAll"),Qa(er+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function e(e,t){var n=s[e];return n?n.enumerable=t:s[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[sa];return ua.get(t,e)},set:function(t){var n=this[sa];ua.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var a=e[t][sa];if(!a.P)switch(a.i){case 5:i(a)&&Yi(a);break;case 4:n(a)&&Yi(a)}}}function n(e){for(var t=e.t,n=e.k,i=oa(n),a=i.length-1;a>=0;a--){var r=i[a];if(r!==sa){var s=t[r];if(void 0===s&&!Ci(t,r))return!0;var l=n[r],o=l&&l[sa];if(o?o.t!==s:!Ni(l,s))return!0}}var d=!!t[sa];return i.length!==oa(t).length+(d?0:1)}function i(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var i=0;i<t.length;i++)if(!t.hasOwnProperty(i))return!0;return!1}var a,r,s={};r={J:function(t,n){var i=Array.isArray(t),a=function(t,n){if(t){for(var i=Array(n.length),a=0;a<n.length;a++)Object.defineProperty(i,""+a,e(a,!0));return i}var r=da(n);delete r[sa];for(var s=oa(r),l=0;l<s.length;l++){var o=s[l];r[o]=e(o,t||!!r[o].enumerable)}return Object.create(Object.getPrototypeOf(n),r)}(i,t),r={i:i?5:4,A:n?n.A:Li(),P:!1,I:!1,R:{},l:n,t:t,k:a,o:null,g:!1,C:!1};return Object.defineProperty(a,sa,{value:r,writable:!0}),a},S:function(e,n,a){a?xi(n)&&n[sa].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[sa];if(n){var a=n.t,r=n.k,s=n.R,l=n.i;if(4===l)wi(r,(function(t){t!==sa&&(void 0!==a[t]||Ci(a,t)?s[t]||e(r[t]):(s[t]=!0,Yi(n)))})),wi(a,(function(e){void 0!==r[e]||Ci(r,e)||(s[e]=!1,Yi(n))}));else if(5===l){if(i(n)&&(Yi(n),s.length=!0),r.length<a.length)for(var o=r.length;o<a.length;o++)s[o]=!1;else for(var d=a.length;d<r.length;d++)s[d]=!0;for(var c=Math.min(r.length,a.length),u=0;u<c;u++)r.hasOwnProperty(u)||(s[u]=!0),void 0===s[u]&&e(r[u])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):i(e)}},ca[a="ES5"]||(ca[a]=r)}(); +/*! + * cookie + * Copyright(c) 2012-2014 Roman Shtylman + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ +var tr=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},i=t||{},a=e.split(";"),r=i.decode||ir,s=0;s<a.length;s++){var l=a[s],o=l.indexOf("=");if(!(o<0)){var d=l.substring(0,o).trim();if(null==n[d]){var c=l.substring(o+1,l.length).trim();'"'===c[0]&&(c=c.slice(1,-1)),n[d]=sr(c,r)}}}return n},nr=function(e,t,n){var i=n||{},a=i.encode||ar;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!rr.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!rr.test(r))throw new TypeError("argument val is invalid");var s=e+"="+r;if(null!=i.maxAge){var l=i.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(l)}if(i.domain){if(!rr.test(i.domain))throw new TypeError("option domain is invalid");s+="; Domain="+i.domain}if(i.path){if(!rr.test(i.path))throw new TypeError("option path is invalid");s+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw new TypeError("option expires is invalid");s+="; Expires="+i.expires.toUTCString()}i.httpOnly&&(s+="; HttpOnly");i.secure&&(s+="; Secure");if(i.sameSite){switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s},ir=decodeURIComponent,ar=encodeURIComponent,rr=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function sr(e,t){try{return t(e)}catch(Ou){return e}}function lr(e,t){void 0===t&&(t={});var n=function(e){if(e&&"j"===e[0]&&":"===e[1])return e.substr(2);return e}(e);if(function(e,t){return void 0===t&&(t=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!t}(n,t.doNotParse))try{return JSON.parse(n)}catch(Ou){}return e}var or=globalThis&&globalThis.__assign||function(){return or=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},or.apply(this,arguments)};const dr=function(){function e(e,t){var n=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(e,t){return"string"==typeof e?tr(e,t):"object"==typeof e&&null!==e?e:{}}(e,t),new Promise((function(){n.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie})).catch((function(){}))}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=tr(document.cookie,e))},e.prototype._emitChange=function(e){for(var t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)},e.prototype.get=function(e,t,n){return void 0===t&&(t={}),this._updateBrowserValues(n),lr(this.cookies[e],t)},e.prototype.getAll=function(e,t){void 0===e&&(e={}),this._updateBrowserValues(t);var n={};for(var i in this.cookies)n[i]=lr(this.cookies[i],e);return n},e.prototype.set=function(e,t,n){var i;"object"==typeof t&&(t=JSON.stringify(t)),this.cookies=or(or({},this.cookies),((i={})[e]=t,i)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=nr(e,t,n)),this._emitChange({name:e,value:t,options:n})},e.prototype.remove=function(e,t){var n=t=or(or({},t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=or({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=nr(e,"",n)),this._emitChange({name:e,value:void 0,options:t})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1)},e}();var cr={exports:{}};const ur={},pr=function(e,t,n){if(!t||0===t.length)return e();const i=document.getElementsByTagName("link");return Promise.all(t.map((e=>{if((e=function(e){return"/"+e}(e))in ur)return;ur[e]=!0;const t=e.endsWith(".css"),a=t?'[rel="stylesheet"]':"";if(!!n)for(let n=i.length-1;n>=0;n--){const a=i[n];if(a.href===e&&(!t||"stylesheet"===a.rel))return}else if(document.querySelector(`link[href="${e}"]${a}`))return;const r=document.createElement("link");return r.rel=t?"stylesheet":"modulepreload",t||(r.as="script",r.crossOrigin=""),r.href=e,document.head.appendChild(r),t?new Promise(((t,n)=>{r.addEventListener("load",t),r.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${e}`))))})):void 0}))).then((()=>e())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))};var Ar=Uint8Array,hr=Uint16Array,fr=Int32Array,mr=new Ar([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),vr=new Ar([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),gr=new Ar([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),yr=function(e,t){for(var n=new hr(31),i=0;i<31;++i)n[i]=t+=1<<e[i-1];var a=new fr(n[30]);for(i=1;i<30;++i)for(var r=n[i];r<n[i+1];++r)a[r]=r-n[i]<<5|i;return{b:n,r:a}},xr=yr(mr,2),br=xr.b,wr=xr.r;br[28]=258,wr[258]=28;for(var jr=yr(vr,0),Cr=jr.b,Sr=jr.r,Nr=new hr(32768),Ir=0;Ir<32768;++Ir){var Fr=(43690&Ir)>>1|(21845&Ir)<<1;Fr=(61680&(Fr=(52428&Fr)>>2|(13107&Fr)<<2))>>4|(3855&Fr)<<4,Nr[Ir]=((65280&Fr)>>8|(255&Fr)<<8)>>1}var Br=function(e,t,n){for(var i=e.length,a=0,r=new hr(t);a<i;++a)e[a]&&++r[e[a]-1];var s,l=new hr(t);for(a=1;a<t;++a)l[a]=l[a-1]+r[a-1]<<1;if(n){s=new hr(1<<t);var o=15-t;for(a=0;a<i;++a)if(e[a])for(var d=a<<4|e[a],c=t-e[a],u=l[e[a]-1]++<<c,p=u|(1<<c)-1;u<=p;++u)s[Nr[u]>>o]=d}else for(s=new hr(i),a=0;a<i;++a)e[a]&&(s[a]=Nr[l[e[a]-1]++]>>15-e[a]);return s},Pr=new Ar(288);for(Ir=0;Ir<144;++Ir)Pr[Ir]=8;for(Ir=144;Ir<256;++Ir)Pr[Ir]=9;for(Ir=256;Ir<280;++Ir)Pr[Ir]=7;for(Ir=280;Ir<288;++Ir)Pr[Ir]=8;var kr=new Ar(32);for(Ir=0;Ir<32;++Ir)kr[Ir]=5;var Tr=Br(Pr,9,0),Er=Br(Pr,9,1),Dr=Br(kr,5,0),Lr=Br(kr,5,1),Ur=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},_r=function(e,t,n){var i=t/8|0;return(e[i]|e[i+1]<<8)>>(7&t)&n},Or=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(7&t)},Mr=function(e){return(e+7)/8|0},Rr=function(e,t,n){return(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length),new Ar(e.subarray(t,n))},Qr=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Hr=function(e,t,n){var i=new Error(t||Qr[e]);if(i.code=e,Error.captureStackTrace&&Error.captureStackTrace(i,Hr),!n)throw i;return i},Vr=function(e,t,n){n<<=7&t;var i=t/8|0;e[i]|=n,e[i+1]|=n>>8},zr=function(e,t,n){n<<=7&t;var i=t/8|0;e[i]|=n,e[i+1]|=n>>8,e[i+2]|=n>>16},qr=function(e,t){for(var n=[],i=0;i<e.length;++i)e[i]&&n.push({s:i,f:e[i]});var a=n.length,r=n.slice();if(!a)return{t:Jr,l:0};if(1==a){var s=new Ar(n[0].s+1);return s[n[0].s]=1,{t:s,l:1}}n.sort((function(e,t){return e.f-t.f})),n.push({s:-1,f:25001});var l=n[0],o=n[1],d=0,c=1,u=2;for(n[0]={s:-1,f:l.f+o.f,l:l,r:o};c!=a-1;)l=n[n[d].f<n[u].f?d++:u++],o=n[d!=c&&n[d].f<n[u].f?d++:u++],n[c++]={s:-1,f:l.f+o.f,l:l,r:o};var p=r[0].s;for(i=1;i<a;++i)r[i].s>p&&(p=r[i].s);var A=new hr(p+1),h=Wr(n[c-1],A,0);if(h>t){i=0;var f=0,m=h-t,v=1<<m;for(r.sort((function(e,t){return A[t.s]-A[e.s]||e.f-t.f}));i<a;++i){var g=r[i].s;if(!(A[g]>t))break;f+=v-(1<<h-A[g]),A[g]=t}for(f>>=m;f>0;){var y=r[i].s;A[y]<t?f-=1<<t-A[y]++-1:++i}for(;i>=0&&f;--i){var x=r[i].s;A[x]==t&&(--A[x],++f)}h=t}return{t:new Ar(A),l:h}},Wr=function(e,t,n){return-1==e.s?Math.max(Wr(e.l,t,n+1),Wr(e.r,t,n+1)):t[e.s]=n},Yr=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new hr(++t),i=0,a=e[0],r=1,s=function(e){n[i++]=e},l=1;l<=t;++l)if(e[l]==a&&l!=t)++r;else{if(!a&&r>2){for(;r>138;r-=138)s(32754);r>2&&(s(r>10?r-11<<5|28690:r-3<<5|12305),r=0)}else if(r>3){for(s(a),--r;r>6;r-=6)s(8304);r>2&&(s(r-3<<5|8208),r=0)}for(;r--;)s(a);r=1,a=e[l]}return{c:n.subarray(0,i),n:t}},Kr=function(e,t){for(var n=0,i=0;i<t.length;++i)n+=e[i]*t[i];return n},Gr=function(e,t,n){var i=n.length,a=Mr(t+2);e[a]=255&i,e[a+1]=i>>8,e[a+2]=255^e[a],e[a+3]=255^e[a+1];for(var r=0;r<i;++r)e[a+r+4]=n[r];return 8*(a+4+i)},$r=function(e,t,n,i,a,r,s,l,o,d,c){Vr(t,c++,n),++a[256];for(var u=qr(a,15),p=u.t,A=u.l,h=qr(r,15),f=h.t,m=h.l,v=Yr(p),g=v.c,y=v.n,x=Yr(f),b=x.c,w=x.n,j=new hr(19),C=0;C<g.length;++C)++j[31&g[C]];for(C=0;C<b.length;++C)++j[31&b[C]];for(var S=qr(j,7),N=S.t,I=S.l,F=19;F>4&&!N[gr[F-1]];--F);var B,P,k,T,E=d+5<<3,D=Kr(a,Pr)+Kr(r,kr)+s,L=Kr(a,p)+Kr(r,f)+s+14+3*F+Kr(j,N)+2*j[16]+3*j[17]+7*j[18];if(o>=0&&E<=D&&E<=L)return Gr(t,c,e.subarray(o,o+d));if(Vr(t,c,1+(L<D)),c+=2,L<D){B=Br(p,A,0),P=p,k=Br(f,m,0),T=f;var U=Br(N,I,0);Vr(t,c,y-257),Vr(t,c+5,w-1),Vr(t,c+10,F-4),c+=14;for(C=0;C<F;++C)Vr(t,c+3*C,N[gr[C]]);c+=3*F;for(var _=[g,b],O=0;O<2;++O){var M=_[O];for(C=0;C<M.length;++C){var R=31&M[C];Vr(t,c,U[R]),c+=N[R],R>15&&(Vr(t,c,M[C]>>5&127),c+=M[C]>>12)}}}else B=Tr,P=Pr,k=Dr,T=kr;for(C=0;C<l;++C){var Q=i[C];if(Q>255){zr(t,c,B[(R=Q>>18&31)+257]),c+=P[R+257],R>7&&(Vr(t,c,Q>>23&31),c+=mr[R]);var H=31&Q;zr(t,c,k[H]),c+=T[H],H>3&&(zr(t,c,Q>>5&8191),c+=vr[H])}else zr(t,c,B[Q]),c+=P[Q]}return zr(t,c,B[256]),c+P[256]},Xr=new fr([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Jr=new Ar(0),Zr=function(){var e=1,t=0;return{p:function(n){for(var i=e,a=t,r=0|n.length,s=0;s!=r;){for(var l=Math.min(s+2655,r);s<l;++s)a+=i+=n[s];i=(65535&i)+15*(i>>16),a=(65535&a)+15*(a>>16)}e=i,t=a},d:function(){return(255&(e%=65521))<<24|(65280&e)<<8|(255&(t%=65521))<<8|t>>8}}},es=function(e,t,n,i,a){if(!a&&(a={l:1},t.dictionary)){var r=t.dictionary.subarray(-32768),s=new Ar(r.length+e.length);s.set(r),s.set(e,r.length),e=s,a.w=r.length}return function(e,t,n,i,a,r){var s=r.z||e.length,l=new Ar(i+s+5*(1+Math.ceil(s/7e3))+a),o=l.subarray(i,l.length-a),d=r.l,c=7&(r.r||0);if(t){c&&(o[0]=r.r>>3);for(var u=Xr[t-1],p=u>>13,A=8191&u,h=(1<<n)-1,f=r.p||new hr(32768),m=r.h||new hr(h+1),v=Math.ceil(n/3),g=2*v,y=function(t){return(e[t]^e[t+1]<<v^e[t+2]<<g)&h},x=new fr(25e3),b=new hr(288),w=new hr(32),j=0,C=0,S=r.i||0,N=0,I=r.w||0,F=0;S+2<s;++S){var B=y(S),P=32767&S,k=m[B];if(f[P]=k,m[B]=P,I<=S){var T=s-S;if((j>7e3||N>24576)&&(T>423||!d)){c=$r(e,o,0,x,b,w,C,N,F,S-F,c),N=j=C=0,F=S;for(var E=0;E<286;++E)b[E]=0;for(E=0;E<30;++E)w[E]=0}var D=2,L=0,U=A,_=P-k&32767;if(T>2&&B==y(S-_))for(var O=Math.min(p,T)-1,M=Math.min(32767,S),R=Math.min(258,T);_<=M&&--U&&P!=k;){if(e[S+D]==e[S+D-_]){for(var Q=0;Q<R&&e[S+Q]==e[S+Q-_];++Q);if(Q>D){if(D=Q,L=_,Q>O)break;var H=Math.min(_,Q-2),V=0;for(E=0;E<H;++E){var z=S-_+E&32767,q=z-f[z]&32767;q>V&&(V=q,k=z)}}}_+=(P=k)-(k=f[P])&32767}if(L){x[N++]=268435456|wr[D]<<18|Sr[L];var W=31&wr[D],Y=31&Sr[L];C+=mr[W]+vr[Y],++b[257+W],++w[Y],I=S+D,++j}else x[N++]=e[S],++b[e[S]]}}for(S=Math.max(S,I);S<s;++S)x[N++]=e[S],++b[e[S]];c=$r(e,o,d,x,b,w,C,N,F,S-F,c),d||(r.r=7&c|o[c/8|0]<<3,c-=7,r.h=m,r.p=f,r.i=S,r.w=I)}else{for(S=r.w||0;S<s+d;S+=65535){var K=S+65535;K>=s&&(o[c/8|0]=d,K=s),c=Gr(o,c+1,e.subarray(S,K))}r.i=s}return Rr(l,0,i+Mr(c)+a)}(e,null==t.level?6:t.level,null==t.mem?a.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,n,i,a)},ts=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8};function ns(e,t){t||(t={});var n=Zr();n.p(e);var i=es(e,t,t.dictionary?6:2,4);return function(e,t){var n=t.level,i=0==n?0:n<6?1:9==n?3:2;if(e[0]=120,e[1]=i<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var a=Zr();a.p(t.dictionary),ts(e,2,a.d())}}(i,t),ts(i,i.length-4,n.d()),i}function is(e,t){return function(e,t,n,i){var a=e.length,r=i?i.length:0;if(!a||t.f&&!t.l)return n||new Ar(0);var s=!n,l=s||2!=t.i,o=t.i;s&&(n=new Ar(3*a));var d=function(e){var t=n.length;if(e>t){var i=new Ar(Math.max(2*t,e));i.set(n),n=i}},c=t.f||0,u=t.p||0,p=t.b||0,A=t.l,h=t.d,f=t.m,m=t.n,v=8*a;do{if(!A){c=_r(e,u,1);var g=_r(e,u+1,3);if(u+=3,!g){var y=e[(P=Mr(u)+4)-4]|e[P-3]<<8,x=P+y;if(x>a){o&&Hr(0);break}l&&d(p+y),n.set(e.subarray(P,x),p),t.b=p+=y,t.p=u=8*x,t.f=c;continue}if(1==g)A=Er,h=Lr,f=9,m=5;else if(2==g){var b=_r(e,u,31)+257,w=_r(e,u+10,15)+4,j=b+_r(e,u+5,31)+1;u+=14;for(var C=new Ar(j),S=new Ar(19),N=0;N<w;++N)S[gr[N]]=_r(e,u+3*N,7);u+=3*w;var I=Ur(S),F=(1<<I)-1,B=Br(S,I,1);for(N=0;N<j;){var P,k=B[_r(e,u,F)];if(u+=15&k,(P=k>>4)<16)C[N++]=P;else{var T=0,E=0;for(16==P?(E=3+_r(e,u,3),u+=2,T=C[N-1]):17==P?(E=3+_r(e,u,7),u+=3):18==P&&(E=11+_r(e,u,127),u+=7);E--;)C[N++]=T}}var D=C.subarray(0,b),L=C.subarray(b);f=Ur(D),m=Ur(L),A=Br(D,f,1),h=Br(L,m,1)}else Hr(1);if(u>v){o&&Hr(0);break}}l&&d(p+131072);for(var U=(1<<f)-1,_=(1<<m)-1,O=u;;O=u){var M=(T=A[Or(e,u)&U])>>4;if((u+=15&T)>v){o&&Hr(0);break}if(T||Hr(2),M<256)n[p++]=M;else{if(256==M){O=u,A=null;break}var R=M-254;if(M>264){var Q=mr[N=M-257];R=_r(e,u,(1<<Q)-1)+br[N],u+=Q}var H=h[Or(e,u)&_],V=H>>4;if(H||Hr(3),u+=15&H,L=Cr[V],V>3&&(Q=vr[V],L+=Or(e,u)&(1<<Q)-1,u+=Q),u>v){o&&Hr(0);break}l&&d(p+131072);var z=p+R;if(p<L){var q=r-L,W=Math.min(L,z);for(q+p<0&&Hr(3);p<W;++p)n[p]=i[q+p]}for(;p<z;++p)n[p]=n[p-L]}}t.l=A,t.p=O,t.b=p,t.f=c,A&&(c=1,t.m=f,t.d=h,t.n=m)}while(!c);return p!=n.length&&s?Rr(n,0,p):n.subarray(0,p)}(e.subarray((n=e,i=t&&t.dictionary,(8!=(15&n[0])||n[0]>>4>7||(n[0]<<8|n[1])%31)&&Hr(6,"invalid zlib data"),(n[1]>>5&1)==+!i&&Hr(6,"invalid zlib data: "+(32&n[1]?"need":"unexpected")+" dictionary"),2+(n[1]>>3&4)),-4),{i:2},t&&t.out,t&&t.dictionary);var n,i}var as="undefined"!=typeof TextDecoder&&new TextDecoder;try{as.decode(Jr,{stream:!0})}catch(Ou){}function rs(e,t="utf8"){return new TextDecoder(t).decode(e)}const ss=new TextEncoder;const ls=(()=>{const e=new Uint8Array(4);return!((new Uint32Array(e.buffer)[0]=1)&e[0])})(),os={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class ds{constructor(e=8192,t={}){i(this,"buffer"),i(this,"byteLength"),i(this,"byteOffset"),i(this,"length"),i(this,"offset"),i(this,"lastWrittenByte"),i(this,"littleEndian"),i(this,"_data"),i(this,"_mark"),i(this,"_marks");let n=!1;"number"==typeof e?e=new ArrayBuffer(e):(n=!0,this.lastWrittenByte=e.byteLength);const a=t.offset?t.offset>>>0:0,r=e.byteLength-a;let s=a;(ArrayBuffer.isView(e)||e instanceof ds)&&(e.byteLength!==e.buffer.byteLength&&(s=e.byteOffset+a),e=e.buffer),this.lastWrittenByte=n?r:0,this.buffer=e,this.length=r,this.byteLength=r,this.byteOffset=s,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,s,r),this._mark=0,this._marks=[]}available(e=1){return this.offset+e<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(e=1){return this.offset+=e,this}back(e=1){return this.offset-=e,this}seek(e){return this.offset=e,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const e=this._marks.pop();if(void 0===e)throw new Error("Mark stack empty");return this.seek(e),this}rewind(){return this.offset=0,this}ensureAvailable(e=1){if(!this.available(e)){const t=2*(this.offset+e),n=new Uint8Array(t);n.set(new Uint8Array(this.buffer)),this.buffer=n.buffer,this.length=t,this.byteLength=t,this._data=new DataView(this.buffer)}return this}readBoolean(){return 0!==this.readUint8()}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(e=1){return this.readArray(e,"uint8")}readArray(e,t){const n=os[t].BYTES_PER_ELEMENT*e,i=this.byteOffset+this.offset,a=this.buffer.slice(i,i+n);if(this.littleEndian===ls&&"uint8"!==t&&"int8"!==t){const e=new Uint8Array(this.buffer.slice(i,i+n));e.reverse();const a=new os[t](e.buffer);return this.offset+=n,a.reverse(),a}const r=new os[t](a);return this.offset+=n,r}readInt16(){const e=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,e}readUint16(){const e=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,e}readInt32(){const e=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,e}readUint32(){const e=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat32(){const e=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat64(){const e=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,e}readBigInt64(){const e=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,e}readBigUint64(){const e=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,e}readChar(){return String.fromCharCode(this.readInt8())}readChars(e=1){let t="";for(let n=0;n<e;n++)t+=this.readChar();return t}readUtf8(e=1){return rs(this.readBytes(e))}decodeText(e=1,t="utf8"){return rs(this.readBytes(e),t)}writeBoolean(e){return this.writeUint8(e?255:0),this}writeInt8(e){return this.ensureAvailable(1),this._data.setInt8(this.offset++,e),this._updateLastWrittenByte(),this}writeUint8(e){return this.ensureAvailable(1),this._data.setUint8(this.offset++,e),this._updateLastWrittenByte(),this}writeByte(e){return this.writeUint8(e)}writeBytes(e){this.ensureAvailable(e.length);for(let t=0;t<e.length;t++)this._data.setUint8(this.offset++,e[t]);return this._updateLastWrittenByte(),this}writeInt16(e){return this.ensureAvailable(2),this._data.setInt16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(e){return this.ensureAvailable(2),this._data.setUint16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(e){return this.ensureAvailable(4),this._data.setInt32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(e){return this.ensureAvailable(4),this._data.setUint32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(e){return this.ensureAvailable(4),this._data.setFloat32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(e){return this.ensureAvailable(8),this._data.setFloat64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(e){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(e){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(e){return this.writeUint8(e.charCodeAt(0))}writeChars(e){for(let t=0;t<e.length;t++)this.writeUint8(e.charCodeAt(t));return this}writeUtf8(e){return this.writeBytes(function(e){return ss.encode(e)}(e))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}} +/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */function cs(e){let t=e.length;for(;--t>=0;)e[t]=0}const us=256,ps=286,As=30,hs=15,fs=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),ms=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),vs=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),gs=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ys=new Array(576);cs(ys);const xs=new Array(60);cs(xs);const bs=new Array(512);cs(bs);const ws=new Array(256);cs(ws);const js=new Array(29);cs(js);const Cs=new Array(As);function Ss(e,t,n,i,a){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=a,this.has_stree=e&&e.length}let Ns,Is,Fs;function Bs(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}cs(Cs);const Ps=e=>e<256?bs[e]:bs[256+(e>>>7)],ks=(e,t)=>{e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},Ts=(e,t,n)=>{e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,ks(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},Es=(e,t,n)=>{Ts(e,n[2*t],n[2*t+1])},Ds=(e,t)=>{let n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1},Ls=(e,t,n)=>{const i=new Array(16);let a,r,s=0;for(a=1;a<=hs;a++)s=s+n[a-1]<<1,i[a]=s;for(r=0;r<=t;r++){let t=e[2*r+1];0!==t&&(e[2*r]=Ds(i[t]++,t))}},Us=e=>{let t;for(t=0;t<ps;t++)e.dyn_ltree[2*t]=0;for(t=0;t<As;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},_s=e=>{e.bi_valid>8?ks(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},Os=(e,t,n,i)=>{const a=2*t,r=2*n;return e[a]<e[r]||e[a]===e[r]&&i[t]<=i[n]},Ms=(e,t,n)=>{const i=e.heap[n];let a=n<<1;for(;a<=e.heap_len&&(a<e.heap_len&&Os(t,e.heap[a+1],e.heap[a],e.depth)&&a++,!Os(t,i,e.heap[a],e.depth));)e.heap[n]=e.heap[a],n=a,a<<=1;e.heap[n]=i},Rs=(e,t,n)=>{let i,a,r,s,l=0;if(0!==e.sym_next)do{i=255&e.pending_buf[e.sym_buf+l++],i+=(255&e.pending_buf[e.sym_buf+l++])<<8,a=e.pending_buf[e.sym_buf+l++],0===i?Es(e,a,t):(r=ws[a],Es(e,r+us+1,t),s=fs[r],0!==s&&(a-=js[r],Ts(e,a,s)),i--,r=Ps(i),Es(e,r,n),s=ms[r],0!==s&&(i-=Cs[r],Ts(e,i,s)))}while(l<e.sym_next);Es(e,256,t)},Qs=(e,t)=>{const n=t.dyn_tree,i=t.stat_desc.static_tree,a=t.stat_desc.has_stree,r=t.stat_desc.elems;let s,l,o,d=-1;for(e.heap_len=0,e.heap_max=573,s=0;s<r;s++)0!==n[2*s]?(e.heap[++e.heap_len]=d=s,e.depth[s]=0):n[2*s+1]=0;for(;e.heap_len<2;)o=e.heap[++e.heap_len]=d<2?++d:0,n[2*o]=1,e.depth[o]=0,e.opt_len--,a&&(e.static_len-=i[2*o+1]);for(t.max_code=d,s=e.heap_len>>1;s>=1;s--)Ms(e,n,s);o=r;do{s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Ms(e,n,1),l=e.heap[1],e.heap[--e.heap_max]=s,e.heap[--e.heap_max]=l,n[2*o]=n[2*s]+n[2*l],e.depth[o]=(e.depth[s]>=e.depth[l]?e.depth[s]:e.depth[l])+1,n[2*s+1]=n[2*l+1]=o,e.heap[1]=o++,Ms(e,n,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],((e,t)=>{const n=t.dyn_tree,i=t.max_code,a=t.stat_desc.static_tree,r=t.stat_desc.has_stree,s=t.stat_desc.extra_bits,l=t.stat_desc.extra_base,o=t.stat_desc.max_length;let d,c,u,p,A,h,f=0;for(p=0;p<=hs;p++)e.bl_count[p]=0;for(n[2*e.heap[e.heap_max]+1]=0,d=e.heap_max+1;d<573;d++)c=e.heap[d],p=n[2*n[2*c+1]+1]+1,p>o&&(p=o,f++),n[2*c+1]=p,c>i||(e.bl_count[p]++,A=0,c>=l&&(A=s[c-l]),h=n[2*c],e.opt_len+=h*(p+A),r&&(e.static_len+=h*(a[2*c+1]+A)));if(0!==f){do{for(p=o-1;0===e.bl_count[p];)p--;e.bl_count[p]--,e.bl_count[p+1]+=2,e.bl_count[o]--,f-=2}while(f>0);for(p=o;0!==p;p--)for(c=e.bl_count[p];0!==c;)u=e.heap[--d],u>i||(n[2*u+1]!==p&&(e.opt_len+=(p-n[2*u+1])*n[2*u],n[2*u+1]=p),c--)}})(e,t),Ls(n,d,e.bl_count)},Hs=(e,t,n)=>{let i,a,r=-1,s=t[1],l=0,o=7,d=4;for(0===s&&(o=138,d=3),t[2*(n+1)+1]=65535,i=0;i<=n;i++)a=s,s=t[2*(i+1)+1],++l<o&&a===s||(l<d?e.bl_tree[2*a]+=l:0!==a?(a!==r&&e.bl_tree[2*a]++,e.bl_tree[32]++):l<=10?e.bl_tree[34]++:e.bl_tree[36]++,l=0,r=a,0===s?(o=138,d=3):a===s?(o=6,d=3):(o=7,d=4))},Vs=(e,t,n)=>{let i,a,r=-1,s=t[1],l=0,o=7,d=4;for(0===s&&(o=138,d=3),i=0;i<=n;i++)if(a=s,s=t[2*(i+1)+1],!(++l<o&&a===s)){if(l<d)do{Es(e,a,e.bl_tree)}while(0!==--l);else 0!==a?(a!==r&&(Es(e,a,e.bl_tree),l--),Es(e,16,e.bl_tree),Ts(e,l-3,2)):l<=10?(Es(e,17,e.bl_tree),Ts(e,l-3,3)):(Es(e,18,e.bl_tree),Ts(e,l-11,7));l=0,r=a,0===s?(o=138,d=3):a===s?(o=6,d=3):(o=7,d=4)}};let zs=!1;const qs=(e,t,n,i)=>{Ts(e,0+(i?1:0),3),_s(e),ks(e,n),ks(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n};var Ws=e=>{zs||((()=>{let e,t,n,i,a;const r=new Array(16);for(n=0,i=0;i<28;i++)for(js[i]=n,e=0;e<1<<fs[i];e++)ws[n++]=i;for(ws[n-1]=i,a=0,i=0;i<16;i++)for(Cs[i]=a,e=0;e<1<<ms[i];e++)bs[a++]=i;for(a>>=7;i<As;i++)for(Cs[i]=a<<7,e=0;e<1<<ms[i]-7;e++)bs[256+a++]=i;for(t=0;t<=hs;t++)r[t]=0;for(e=0;e<=143;)ys[2*e+1]=8,e++,r[8]++;for(;e<=255;)ys[2*e+1]=9,e++,r[9]++;for(;e<=279;)ys[2*e+1]=7,e++,r[7]++;for(;e<=287;)ys[2*e+1]=8,e++,r[8]++;for(Ls(ys,287,r),e=0;e<As;e++)xs[2*e+1]=5,xs[2*e]=Ds(e,5);Ns=new Ss(ys,fs,257,ps,hs),Is=new Ss(xs,ms,0,As,hs),Fs=new Ss(new Array(0),vs,0,19,7)})(),zs=!0),e.l_desc=new Bs(e.dyn_ltree,Ns),e.d_desc=new Bs(e.dyn_dtree,Is),e.bl_desc=new Bs(e.bl_tree,Fs),e.bi_buf=0,e.bi_valid=0,Us(e)},Ys=(e,t,n,i)=>{let a,r,s=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=(e=>{let t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<us;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0})(e)),Qs(e,e.l_desc),Qs(e,e.d_desc),s=(e=>{let t;for(Hs(e,e.dyn_ltree,e.l_desc.max_code),Hs(e,e.dyn_dtree,e.d_desc.max_code),Qs(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*gs[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t})(e),a=e.opt_len+3+7>>>3,r=e.static_len+3+7>>>3,r<=a&&(a=r)):a=r=n+5,n+4<=a&&-1!==t?qs(e,t,n,i):4===e.strategy||r===a?(Ts(e,2+(i?1:0),3),Rs(e,ys,xs)):(Ts(e,4+(i?1:0),3),((e,t,n,i)=>{let a;for(Ts(e,t-257,5),Ts(e,n-1,5),Ts(e,i-4,4),a=0;a<i;a++)Ts(e,e.bl_tree[2*gs[a]+1],3);Vs(e,e.dyn_ltree,t-1),Vs(e,e.dyn_dtree,n-1)})(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),Rs(e,e.dyn_ltree,e.dyn_dtree)),Us(e),i&&_s(e)},Ks={_tr_init:Ws,_tr_stored_block:qs,_tr_flush_block:Ys,_tr_tally:(e,t,n)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(ws[n]+us+1)]++,e.dyn_dtree[2*Ps(t)]++),e.sym_next===e.sym_end),_tr_align:e=>{Ts(e,2,3),Es(e,256,ys),(e=>{16===e.bi_valid?(ks(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)})(e)}};var Gs=(e,t,n,i)=>{let a=65535&e,r=e>>>16&65535,s=0;for(;0!==n;){s=n>2e3?2e3:n,n-=s;do{a=a+t[i++]|0,r=r+a|0}while(--s);a%=65521,r%=65521}return a|r<<16};const $s=new Uint32Array((()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t})());var Xs=(e,t,n,i)=>{const a=$s,r=i+n;e^=-1;for(let s=i;s<r;s++)e=e>>>8^a[255&(e^t[s])];return-1^e},Js={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Zs={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:el,_tr_stored_block:tl,_tr_flush_block:nl,_tr_tally:il,_tr_align:al}=Ks,{Z_NO_FLUSH:rl,Z_PARTIAL_FLUSH:sl,Z_FULL_FLUSH:ll,Z_FINISH:ol,Z_BLOCK:dl,Z_OK:cl,Z_STREAM_END:ul,Z_STREAM_ERROR:pl,Z_DATA_ERROR:Al,Z_BUF_ERROR:hl,Z_DEFAULT_COMPRESSION:fl,Z_FILTERED:ml,Z_HUFFMAN_ONLY:vl,Z_RLE:gl,Z_FIXED:yl,Z_DEFAULT_STRATEGY:xl,Z_UNKNOWN:bl,Z_DEFLATED:wl}=Zs,jl=258,Cl=262,Sl=42,Nl=113,Il=666,Fl=(e,t)=>(e.msg=Js[t],t),Bl=e=>2*e-(e>4?9:0),Pl=e=>{let t=e.length;for(;--t>=0;)e[t]=0},kl=e=>{let t,n,i,a=e.w_size;t=e.hash_size,i=t;do{n=e.head[--i],e.head[i]=n>=a?n-a:0}while(--t);t=a,i=t;do{n=e.prev[--i],e.prev[i]=n>=a?n-a:0}while(--t)};let Tl=(e,t,n)=>(t<<e.hash_shift^n)&e.hash_mask;const El=e=>{const t=e.state;let n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))},Dl=(e,t)=>{nl(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,El(e.strm)},Ll=(e,t)=>{e.pending_buf[e.pending++]=t},Ul=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},_l=(e,t,n,i)=>{let a=e.avail_in;return a>i&&(a=i),0===a?0:(e.avail_in-=a,t.set(e.input.subarray(e.next_in,e.next_in+a),n),1===e.state.wrap?e.adler=Gs(e.adler,t,a,n):2===e.state.wrap&&(e.adler=Xs(e.adler,t,a,n)),e.next_in+=a,e.total_in+=a,a)},Ol=(e,t)=>{let n,i,a=e.max_chain_length,r=e.strstart,s=e.prev_length,l=e.nice_match;const o=e.strstart>e.w_size-Cl?e.strstart-(e.w_size-Cl):0,d=e.window,c=e.w_mask,u=e.prev,p=e.strstart+jl;let A=d[r+s-1],h=d[r+s];e.prev_length>=e.good_match&&(a>>=2),l>e.lookahead&&(l=e.lookahead);do{if(n=t,d[n+s]===h&&d[n+s-1]===A&&d[n]===d[r]&&d[++n]===d[r+1]){r+=2,n++;do{}while(d[++r]===d[++n]&&d[++r]===d[++n]&&d[++r]===d[++n]&&d[++r]===d[++n]&&d[++r]===d[++n]&&d[++r]===d[++n]&&d[++r]===d[++n]&&d[++r]===d[++n]&&r<p);if(i=jl-(p-r),r=p-jl,i>s){if(e.match_start=t,s=i,i>=l)break;A=d[r+s-1],h=d[r+s]}}}while((t=u[t&c])>o&&0!==--a);return s<=e.lookahead?s:e.lookahead},Ml=e=>{const t=e.w_size;let n,i,a;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-Cl)&&(e.window.set(e.window.subarray(t,t+t-i),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),kl(e),i+=t),0===e.strm.avail_in)break;if(n=_l(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=n,e.lookahead+e.insert>=3)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=Tl(e,e.ins_h,e.window[a+1]);e.insert&&(e.ins_h=Tl(e,e.ins_h,e.window[a+3-1]),e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<Cl&&0!==e.strm.avail_in)},Rl=(e,t)=>{let n,i,a,r=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,s=0,l=e.strm.avail_in;do{if(n=65535,a=e.bi_valid+42>>3,e.strm.avail_out<a)break;if(a=e.strm.avail_out-a,i=e.strstart-e.block_start,n>i+e.strm.avail_in&&(n=i+e.strm.avail_in),n>a&&(n=a),n<r&&(0===n&&t!==ol||t===rl||n!==i+e.strm.avail_in))break;s=t===ol&&n===i+e.strm.avail_in?1:0,tl(e,0,0,s),e.pending_buf[e.pending-4]=n,e.pending_buf[e.pending-3]=n>>8,e.pending_buf[e.pending-2]=~n,e.pending_buf[e.pending-1]=~n>>8,El(e.strm),i&&(i>n&&(i=n),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+i),e.strm.next_out),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i,e.block_start+=i,n-=i),n&&(_l(e.strm,e.strm.output,e.strm.next_out,n),e.strm.next_out+=n,e.strm.avail_out-=n,e.strm.total_out+=n)}while(0===s);return l-=e.strm.avail_in,l&&(l>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=l&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-l,e.strm.next_in),e.strstart),e.strstart+=l,e.insert+=l>e.w_size-e.insert?e.w_size-e.insert:l),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),s?4:t!==rl&&t!==ol&&0===e.strm.avail_in&&e.strstart===e.block_start?2:(a=e.window_size-e.strstart,e.strm.avail_in>a&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,a+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),a>e.strm.avail_in&&(a=e.strm.avail_in),a&&(_l(e.strm,e.window,e.strstart,a),e.strstart+=a,e.insert+=a>e.w_size-e.insert?e.w_size-e.insert:a),e.high_water<e.strstart&&(e.high_water=e.strstart),a=e.bi_valid+42>>3,a=e.pending_buf_size-a>65535?65535:e.pending_buf_size-a,r=a>e.w_size?e.w_size:a,i=e.strstart-e.block_start,(i>=r||(i||t===ol)&&t!==rl&&0===e.strm.avail_in&&i<=a)&&(n=i>a?a:i,s=t===ol&&0===e.strm.avail_in&&n===i?1:0,tl(e,e.block_start,n,s),e.block_start+=n,El(e.strm)),s?3:1)},Ql=(e,t)=>{let n,i;for(;;){if(e.lookahead<Cl){if(Ml(e),e.lookahead<Cl&&t===rl)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=Tl(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-Cl&&(e.match_length=Ol(e,n)),e.match_length>=3)if(i=il(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=Tl(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=Tl(e,e.ins_h,e.window[e.strstart+1]);else i=il(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(Dl(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,t===ol?(Dl(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(Dl(e,!1),0===e.strm.avail_out)?1:2},Hl=(e,t)=>{let n,i,a;for(;;){if(e.lookahead<Cl){if(Ml(e),e.lookahead<Cl&&t===rl)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=Tl(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-Cl&&(e.match_length=Ol(e,n),e.match_length<=5&&(e.strategy===ml||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-3,i=il(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=a&&(e.ins_h=Tl(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,i&&(Dl(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if(i=il(e,0,e.window[e.strstart-1]),i&&Dl(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=il(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===ol?(Dl(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(Dl(e,!1),0===e.strm.avail_out)?1:2};function Vl(e,t,n,i,a){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=a}const zl=[new Vl(0,0,0,0,Rl),new Vl(4,4,8,4,Ql),new Vl(4,5,16,8,Ql),new Vl(4,6,32,32,Ql),new Vl(4,4,16,16,Hl),new Vl(8,16,32,32,Hl),new Vl(8,16,128,128,Hl),new Vl(8,32,128,256,Hl),new Vl(32,128,258,1024,Hl),new Vl(32,258,258,4096,Hl)];function ql(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=wl,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Pl(this.dyn_ltree),Pl(this.dyn_dtree),Pl(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Pl(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Pl(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Wl=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==Sl&&57!==t.status&&69!==t.status&&73!==t.status&&91!==t.status&&103!==t.status&&t.status!==Nl&&t.status!==Il?1:0},Yl=e=>{if(Wl(e))return Fl(e,pl);e.total_in=e.total_out=0,e.data_type=bl;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=2===t.wrap?57:t.wrap?Sl:Nl,e.adler=2===t.wrap?0:1,t.last_flush=-2,el(t),cl},Kl=e=>{const t=Yl(e);var n;return t===cl&&((n=e.state).window_size=2*n.w_size,Pl(n.head),n.max_lazy_match=zl[n.level].max_lazy,n.good_match=zl[n.level].good_length,n.nice_match=zl[n.level].nice_length,n.max_chain_length=zl[n.level].max_chain,n.strstart=0,n.block_start=0,n.lookahead=0,n.insert=0,n.match_length=n.prev_length=2,n.match_available=0,n.ins_h=0),t},Gl=(e,t,n,i,a,r)=>{if(!e)return pl;let s=1;if(t===fl&&(t=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),a<1||a>9||n!==wl||i<8||i>15||t<0||t>9||r<0||r>yl||8===i&&1!==s)return Fl(e,pl);8===i&&(i=9);const l=new ql;return e.state=l,l.strm=e,l.status=Sl,l.wrap=s,l.gzhead=null,l.w_bits=i,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=a+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new Uint8Array(2*l.w_size),l.head=new Uint16Array(l.hash_size),l.prev=new Uint16Array(l.w_size),l.lit_bufsize=1<<a+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new Uint8Array(l.pending_buf_size),l.sym_buf=l.lit_bufsize,l.sym_end=3*(l.lit_bufsize-1),l.level=t,l.strategy=r,l.method=n,Kl(e)};var $l=(e,t)=>{let n=t.length;if(Wl(e))return pl;const i=e.state,a=i.wrap;if(2===a||1===a&&i.status!==Sl||i.lookahead)return pl;if(1===a&&(e.adler=Gs(e.adler,t,n,0)),i.wrap=0,n>=i.w_size){0===a&&(Pl(i.head),i.strstart=0,i.block_start=0,i.insert=0);let e=new Uint8Array(i.w_size);e.set(t.subarray(n-i.w_size,n),0),t=e,n=i.w_size}const r=e.avail_in,s=e.next_in,l=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,Ml(i);i.lookahead>=3;){let e=i.strstart,t=i.lookahead-2;do{i.ins_h=Tl(i,i.ins_h,i.window[e+3-1]),i.prev[e&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=e,e++}while(--t);i.strstart=e,i.lookahead=2,Ml(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,e.next_in=s,e.input=l,e.avail_in=r,i.wrap=a,cl},Xl={deflateInit:(e,t)=>Gl(e,t,wl,15,8,xl),deflateInit2:Gl,deflateReset:Kl,deflateResetKeep:Yl,deflateSetHeader:(e,t)=>Wl(e)||2!==e.state.wrap?pl:(e.state.gzhead=t,cl),deflate:(e,t)=>{if(Wl(e)||t>dl||t<0)return e?Fl(e,pl):pl;const n=e.state;if(!e.output||0!==e.avail_in&&!e.input||n.status===Il&&t!==ol)return Fl(e,0===e.avail_out?hl:pl);const i=n.last_flush;if(n.last_flush=t,0!==n.pending){if(El(e),0===e.avail_out)return n.last_flush=-1,cl}else if(0===e.avail_in&&Bl(t)<=Bl(i)&&t!==ol)return Fl(e,hl);if(n.status===Il&&0!==e.avail_in)return Fl(e,hl);if(n.status===Sl&&0===n.wrap&&(n.status=Nl),n.status===Sl){let t=wl+(n.w_bits-8<<4)<<8,i=-1;if(i=n.strategy>=vl||n.level<2?0:n.level<6?1:6===n.level?2:3,t|=i<<6,0!==n.strstart&&(t|=32),t+=31-t%31,Ul(n,t),0!==n.strstart&&(Ul(n,e.adler>>>16),Ul(n,65535&e.adler)),e.adler=1,n.status=Nl,El(e),0!==n.pending)return n.last_flush=-1,cl}if(57===n.status)if(e.adler=0,Ll(n,31),Ll(n,139),Ll(n,8),n.gzhead)Ll(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),Ll(n,255&n.gzhead.time),Ll(n,n.gzhead.time>>8&255),Ll(n,n.gzhead.time>>16&255),Ll(n,n.gzhead.time>>24&255),Ll(n,9===n.level?2:n.strategy>=vl||n.level<2?4:0),Ll(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(Ll(n,255&n.gzhead.extra.length),Ll(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Xs(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69;else if(Ll(n,0),Ll(n,0),Ll(n,0),Ll(n,0),Ll(n,0),Ll(n,9===n.level?2:n.strategy>=vl||n.level<2?4:0),Ll(n,3),n.status=Nl,El(e),0!==n.pending)return n.last_flush=-1,cl;if(69===n.status){if(n.gzhead.extra){let t=n.pending,i=(65535&n.gzhead.extra.length)-n.gzindex;for(;n.pending+i>n.pending_buf_size;){let a=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+a),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>t&&(e.adler=Xs(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex+=a,El(e),0!==n.pending)return n.last_flush=-1,cl;t=0,i-=a}let a=new Uint8Array(n.gzhead.extra);n.pending_buf.set(a.subarray(n.gzindex,n.gzindex+i),n.pending),n.pending+=i,n.gzhead.hcrc&&n.pending>t&&(e.adler=Xs(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex=0}n.status=73}if(73===n.status){if(n.gzhead.name){let t,i=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>i&&(e.adler=Xs(e.adler,n.pending_buf,n.pending-i,i)),El(e),0!==n.pending)return n.last_flush=-1,cl;i=0}t=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,Ll(n,t)}while(0!==t);n.gzhead.hcrc&&n.pending>i&&(e.adler=Xs(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex=0}n.status=91}if(91===n.status){if(n.gzhead.comment){let t,i=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>i&&(e.adler=Xs(e.adler,n.pending_buf,n.pending-i,i)),El(e),0!==n.pending)return n.last_flush=-1,cl;i=0}t=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,Ll(n,t)}while(0!==t);n.gzhead.hcrc&&n.pending>i&&(e.adler=Xs(e.adler,n.pending_buf,n.pending-i,i))}n.status=103}if(103===n.status){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(El(e),0!==n.pending))return n.last_flush=-1,cl;Ll(n,255&e.adler),Ll(n,e.adler>>8&255),e.adler=0}if(n.status=Nl,El(e),0!==n.pending)return n.last_flush=-1,cl}if(0!==e.avail_in||0!==n.lookahead||t!==rl&&n.status!==Il){let i=0===n.level?Rl(n,t):n.strategy===vl?((e,t)=>{let n;for(;;){if(0===e.lookahead&&(Ml(e),0===e.lookahead)){if(t===rl)return 1;break}if(e.match_length=0,n=il(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(Dl(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===ol?(Dl(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(Dl(e,!1),0===e.strm.avail_out)?1:2})(n,t):n.strategy===gl?((e,t)=>{let n,i,a,r;const s=e.window;for(;;){if(e.lookahead<=jl){if(Ml(e),e.lookahead<=jl&&t===rl)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(a=e.strstart-1,i=s[a],i===s[++a]&&i===s[++a]&&i===s[++a])){r=e.strstart+jl;do{}while(i===s[++a]&&i===s[++a]&&i===s[++a]&&i===s[++a]&&i===s[++a]&&i===s[++a]&&i===s[++a]&&i===s[++a]&&a<r);e.match_length=jl-(r-a),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=il(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=il(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(Dl(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===ol?(Dl(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(Dl(e,!1),0===e.strm.avail_out)?1:2})(n,t):zl[n.level].func(n,t);if(3!==i&&4!==i||(n.status=Il),1===i||3===i)return 0===e.avail_out&&(n.last_flush=-1),cl;if(2===i&&(t===sl?al(n):t!==dl&&(tl(n,0,0,!1),t===ll&&(Pl(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),El(e),0===e.avail_out))return n.last_flush=-1,cl}return t!==ol?cl:n.wrap<=0?ul:(2===n.wrap?(Ll(n,255&e.adler),Ll(n,e.adler>>8&255),Ll(n,e.adler>>16&255),Ll(n,e.adler>>24&255),Ll(n,255&e.total_in),Ll(n,e.total_in>>8&255),Ll(n,e.total_in>>16&255),Ll(n,e.total_in>>24&255)):(Ul(n,e.adler>>>16),Ul(n,65535&e.adler)),El(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?cl:ul)},deflateEnd:e=>{if(Wl(e))return pl;const t=e.state.status;return e.state=null,t===Nl?Fl(e,Al):cl},deflateSetDictionary:$l,deflateInfo:"pako deflate (from Nodeca project)"};const Jl=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var Zl=function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(const t in n)Jl(n,t)&&(e[t]=n[t])}}return e},eo=e=>{let t=0;for(let i=0,a=e.length;i<a;i++)t+=e[i].length;const n=new Uint8Array(t);for(let i=0,a=0,r=e.length;i<r;i++){let t=e[i];n.set(t,a),a+=t.length}return n};let to=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(qfe){to=!1}const no=new Uint8Array(256);for(let Wfe=0;Wfe<256;Wfe++)no[Wfe]=Wfe>=252?6:Wfe>=248?5:Wfe>=240?4:Wfe>=224?3:Wfe>=192?2:1;no[254]=no[254]=1;var io=e=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);let t,n,i,a,r,s=e.length,l=0;for(a=0;a<s;a++)n=e.charCodeAt(a),55296==(64512&n)&&a+1<s&&(i=e.charCodeAt(a+1),56320==(64512&i)&&(n=65536+(n-55296<<10)+(i-56320),a++)),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(l),r=0,a=0;r<l;a++)n=e.charCodeAt(a),55296==(64512&n)&&a+1<s&&(i=e.charCodeAt(a+1),56320==(64512&i)&&(n=65536+(n-55296<<10)+(i-56320),a++)),n<128?t[r++]=n:n<2048?(t[r++]=192|n>>>6,t[r++]=128|63&n):n<65536?(t[r++]=224|n>>>12,t[r++]=128|n>>>6&63,t[r++]=128|63&n):(t[r++]=240|n>>>18,t[r++]=128|n>>>12&63,t[r++]=128|n>>>6&63,t[r++]=128|63&n);return t},ao=(e,t)=>{const n=t||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(e.subarray(0,t));let i,a;const r=new Array(2*n);for(a=0,i=0;i<n;){let t=e[i++];if(t<128){r[a++]=t;continue}let s=no[t];if(s>4)r[a++]=65533,i+=s-1;else{for(t&=2===s?31:3===s?15:7;s>1&&i<n;)t=t<<6|63&e[i++],s--;s>1?r[a++]=65533:t<65536?r[a++]=t:(t-=65536,r[a++]=55296|t>>10&1023,r[a++]=56320|1023&t)}}return((e,t)=>{if(t<65534&&e.subarray&&to)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n})(r,a)},ro=(e,t)=>{(t=t||e.length)>e.length&&(t=e.length);let n=t-1;for(;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+no[e[n]]>t?n:t};var so=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const lo=Object.prototype.toString,{Z_NO_FLUSH:oo,Z_SYNC_FLUSH:co,Z_FULL_FLUSH:uo,Z_FINISH:po,Z_OK:Ao,Z_STREAM_END:ho,Z_DEFAULT_COMPRESSION:fo,Z_DEFAULT_STRATEGY:mo,Z_DEFLATED:vo}=Zs;function go(e){this.options=Zl({level:fo,method:vo,chunkSize:16384,windowBits:15,memLevel:8,strategy:mo},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new so,this.strm.avail_out=0;let n=Xl.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==Ao)throw new Error(Js[n]);if(t.header&&Xl.deflateSetHeader(this.strm,t.header),t.dictionary){let e;if(e="string"==typeof t.dictionary?io(t.dictionary):"[object ArrayBuffer]"===lo.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,n=Xl.deflateSetDictionary(this.strm,e),n!==Ao)throw new Error(Js[n]);this._dict_set=!0}}go.prototype.push=function(e,t){const n=this.strm,i=this.options.chunkSize;let a,r;if(this.ended)return!1;for(r=t===~~t?t:!0===t?po:oo,"string"==typeof e?n.input=io(e):"[object ArrayBuffer]"===lo.call(e)?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;)if(0===n.avail_out&&(n.output=new Uint8Array(i),n.next_out=0,n.avail_out=i),(r===co||r===uo)&&n.avail_out<=6)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else{if(a=Xl.deflate(n,r),a===ho)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),a=Xl.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===Ao;if(0!==n.avail_out){if(r>0&&n.next_out>0)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else if(0===n.avail_in)break}else this.onData(n.output)}return!0},go.prototype.onData=function(e){this.chunks.push(e)},go.prototype.onEnd=function(e){e===Ao&&(this.result=eo(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};const yo=16209;var xo=function(e,t){let n,i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S;const N=e.state;n=e.next_in,C=e.input,i=n+(e.avail_in-5),a=e.next_out,S=e.output,r=a-(t-e.avail_out),s=a+(e.avail_out-257),l=N.dmax,o=N.wsize,d=N.whave,c=N.wnext,u=N.window,p=N.hold,A=N.bits,h=N.lencode,f=N.distcode,m=(1<<N.lenbits)-1,v=(1<<N.distbits)-1;e:do{A<15&&(p+=C[n++]<<A,A+=8,p+=C[n++]<<A,A+=8),g=h[p&m];t:for(;;){if(y=g>>>24,p>>>=y,A-=y,y=g>>>16&255,0===y)S[a++]=65535&g;else{if(!(16&y)){if(64&y){if(32&y){N.mode=16191;break e}e.msg="invalid literal/length code",N.mode=yo;break e}g=h[(65535&g)+(p&(1<<y)-1)];continue t}for(x=65535&g,y&=15,y&&(A<y&&(p+=C[n++]<<A,A+=8),x+=p&(1<<y)-1,p>>>=y,A-=y),A<15&&(p+=C[n++]<<A,A+=8,p+=C[n++]<<A,A+=8),g=f[p&v];;){if(y=g>>>24,p>>>=y,A-=y,y=g>>>16&255,16&y){if(b=65535&g,y&=15,A<y&&(p+=C[n++]<<A,A+=8,A<y&&(p+=C[n++]<<A,A+=8)),b+=p&(1<<y)-1,b>l){e.msg="invalid distance too far back",N.mode=yo;break e}if(p>>>=y,A-=y,y=a-r,b>y){if(y=b-y,y>d&&N.sane){e.msg="invalid distance too far back",N.mode=yo;break e}if(w=0,j=u,0===c){if(w+=o-y,y<x){x-=y;do{S[a++]=u[w++]}while(--y);w=a-b,j=S}}else if(c<y){if(w+=o+c-y,y-=c,y<x){x-=y;do{S[a++]=u[w++]}while(--y);if(w=0,c<x){y=c,x-=y;do{S[a++]=u[w++]}while(--y);w=a-b,j=S}}}else if(w+=c-y,y<x){x-=y;do{S[a++]=u[w++]}while(--y);w=a-b,j=S}for(;x>2;)S[a++]=j[w++],S[a++]=j[w++],S[a++]=j[w++],x-=3;x&&(S[a++]=j[w++],x>1&&(S[a++]=j[w++]))}else{w=a-b;do{S[a++]=S[w++],S[a++]=S[w++],S[a++]=S[w++],x-=3}while(x>2);x&&(S[a++]=S[w++],x>1&&(S[a++]=S[w++]))}break}if(64&y){e.msg="invalid distance code",N.mode=yo;break e}g=f[(65535&g)+(p&(1<<y)-1)]}}break}}while(n<i&&a<s);x=A>>3,n-=x,A-=x<<3,p&=(1<<A)-1,e.next_in=n,e.next_out=a,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=a<s?s-a+257:257-(a-s),N.hold=p,N.bits=A};const bo=15,wo=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),jo=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),Co=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),So=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var No=(e,t,n,i,a,r,s,l)=>{const o=l.bits;let d,c,u,p,A,h,f=0,m=0,v=0,g=0,y=0,x=0,b=0,w=0,j=0,C=0,S=null;const N=new Uint16Array(16),I=new Uint16Array(16);let F,B,P,k=null;for(f=0;f<=bo;f++)N[f]=0;for(m=0;m<i;m++)N[t[n+m]]++;for(y=o,g=bo;g>=1&&0===N[g];g--);if(y>g&&(y=g),0===g)return a[r++]=20971520,a[r++]=20971520,l.bits=1,0;for(v=1;v<g&&0===N[v];v++);for(y<v&&(y=v),w=1,f=1;f<=bo;f++)if(w<<=1,w-=N[f],w<0)return-1;if(w>0&&(0===e||1!==g))return-1;for(I[1]=0,f=1;f<bo;f++)I[f+1]=I[f]+N[f];for(m=0;m<i;m++)0!==t[n+m]&&(s[I[t[n+m]]++]=m);if(0===e?(S=k=s,h=20):1===e?(S=wo,k=jo,h=257):(S=Co,k=So,h=0),C=0,m=0,f=v,A=r,x=y,b=0,u=-1,j=1<<y,p=j-1,1===e&&j>852||2===e&&j>592)return 1;for(;;){F=f-b,s[m]+1<h?(B=0,P=s[m]):s[m]>=h?(B=k[s[m]-h],P=S[s[m]-h]):(B=96,P=0),d=1<<f-b,c=1<<x,v=c;do{c-=d,a[A+(C>>b)+c]=F<<24|B<<16|P}while(0!==c);for(d=1<<f-1;C&d;)d>>=1;if(0!==d?(C&=d-1,C+=d):C=0,m++,0===--N[f]){if(f===g)break;f=t[n+s[m]]}if(f>y&&(C&p)!==u){for(0===b&&(b=y),A+=v,x=f-b,w=1<<x;x+b<g&&(w-=N[x+b],!(w<=0));)x++,w<<=1;if(j+=1<<x,1===e&&j>852||2===e&&j>592)return 1;u=C&p,a[u]=y<<24|x<<16|A-r}}return 0!==C&&(a[A+C]=f-b<<24|64<<16),l.bits=y,0};const{Z_FINISH:Io,Z_BLOCK:Fo,Z_TREES:Bo,Z_OK:Po,Z_STREAM_END:ko,Z_NEED_DICT:To,Z_STREAM_ERROR:Eo,Z_DATA_ERROR:Do,Z_MEM_ERROR:Lo,Z_BUF_ERROR:Uo,Z_DEFLATED:_o}=Zs,Oo=16180,Mo=16190,Ro=16191,Qo=16192,Ho=16194,Vo=16199,zo=16200,qo=16206,Wo=16209,Yo=e=>(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24);function Ko(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Go=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.mode<Oo||t.mode>16211?1:0},$o=e=>{if(Go(e))return Eo;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=Oo,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,Po},Xo=e=>{if(Go(e))return Eo;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,$o(e)},Jo=(e,t)=>{let n;if(Go(e))return Eo;const i=e.state;return t<0?(n=0,t=-t):(n=5+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Eo:(null!==i.window&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,Xo(e))},Zo=(e,t)=>{if(!e)return Eo;const n=new Ko;e.state=n,n.strm=e,n.window=null,n.mode=Oo;const i=Jo(e,t);return i!==Po&&(e.state=null),i};let ed,td,nd=!0;const id=e=>{if(nd){ed=new Int32Array(512),td=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(No(1,e.lens,0,288,ed,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;No(2,e.lens,0,32,td,0,e.work,{bits:5}),nd=!1}e.lencode=ed,e.lenbits=9,e.distcode=td,e.distbits=5},ad=(e,t,n,i)=>{let a;const r=e.state;return null===r.window&&(r.wsize=1<<r.wbits,r.wnext=0,r.whave=0,r.window=new Uint8Array(r.wsize)),i>=r.wsize?(r.window.set(t.subarray(n-r.wsize,n),0),r.wnext=0,r.whave=r.wsize):(a=r.wsize-r.wnext,a>i&&(a=i),r.window.set(t.subarray(n-i,n-i+a),r.wnext),(i-=a)?(r.window.set(t.subarray(n-i,n),0),r.wnext=i,r.whave=r.wsize):(r.wnext+=a,r.wnext===r.wsize&&(r.wnext=0),r.whave<r.wsize&&(r.whave+=a))),0};var rd=(e,t)=>{let n,i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C=0;const S=new Uint8Array(4);let N,I;const F=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Go(e)||!e.output||!e.input&&0!==e.avail_in)return Eo;n=e.state,n.mode===Ro&&(n.mode=Qo),s=e.next_out,a=e.output,o=e.avail_out,r=e.next_in,i=e.input,l=e.avail_in,d=n.hold,c=n.bits,u=l,p=o,j=Po;e:for(;;)switch(n.mode){case Oo:if(0===n.wrap){n.mode=Qo;break}for(;c<16;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}if(2&n.wrap&&35615===d){0===n.wbits&&(n.wbits=15),n.check=0,S[0]=255&d,S[1]=d>>>8&255,n.check=Xs(n.check,S,2,0),d=0,c=0,n.mode=16181;break}if(n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&d)<<8)+(d>>8))%31){e.msg="incorrect header check",n.mode=Wo;break}if((15&d)!==_o){e.msg="unknown compression method",n.mode=Wo;break}if(d>>>=4,c-=4,w=8+(15&d),0===n.wbits&&(n.wbits=w),w>15||w>n.wbits){e.msg="invalid window size",n.mode=Wo;break}n.dmax=1<<n.wbits,n.flags=0,e.adler=n.check=1,n.mode=512&d?16189:Ro,d=0,c=0;break;case 16181:for(;c<16;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}if(n.flags=d,(255&n.flags)!==_o){e.msg="unknown compression method",n.mode=Wo;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=Wo;break}n.head&&(n.head.text=d>>8&1),512&n.flags&&4&n.wrap&&(S[0]=255&d,S[1]=d>>>8&255,n.check=Xs(n.check,S,2,0)),d=0,c=0,n.mode=16182;case 16182:for(;c<32;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}n.head&&(n.head.time=d),512&n.flags&&4&n.wrap&&(S[0]=255&d,S[1]=d>>>8&255,S[2]=d>>>16&255,S[3]=d>>>24&255,n.check=Xs(n.check,S,4,0)),d=0,c=0,n.mode=16183;case 16183:for(;c<16;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}n.head&&(n.head.xflags=255&d,n.head.os=d>>8),512&n.flags&&4&n.wrap&&(S[0]=255&d,S[1]=d>>>8&255,n.check=Xs(n.check,S,2,0)),d=0,c=0,n.mode=16184;case 16184:if(1024&n.flags){for(;c<16;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}n.length=d,n.head&&(n.head.extra_len=d),512&n.flags&&4&n.wrap&&(S[0]=255&d,S[1]=d>>>8&255,n.check=Xs(n.check,S,2,0)),d=0,c=0}else n.head&&(n.head.extra=null);n.mode=16185;case 16185:if(1024&n.flags&&(A=n.length,A>l&&(A=l),A&&(n.head&&(w=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(i.subarray(r,r+A),w)),512&n.flags&&4&n.wrap&&(n.check=Xs(n.check,i,A,r)),l-=A,r+=A,n.length-=A),n.length))break e;n.length=0,n.mode=16186;case 16186:if(2048&n.flags){if(0===l)break e;A=0;do{w=i[r+A++],n.head&&w&&n.length<65536&&(n.head.name+=String.fromCharCode(w))}while(w&&A<l);if(512&n.flags&&4&n.wrap&&(n.check=Xs(n.check,i,A,r)),l-=A,r+=A,w)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=16187;case 16187:if(4096&n.flags){if(0===l)break e;A=0;do{w=i[r+A++],n.head&&w&&n.length<65536&&(n.head.comment+=String.fromCharCode(w))}while(w&&A<l);if(512&n.flags&&4&n.wrap&&(n.check=Xs(n.check,i,A,r)),l-=A,r+=A,w)break e}else n.head&&(n.head.comment=null);n.mode=16188;case 16188:if(512&n.flags){for(;c<16;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}if(4&n.wrap&&d!==(65535&n.check)){e.msg="header crc mismatch",n.mode=Wo;break}d=0,c=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Ro;break;case 16189:for(;c<32;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}e.adler=n.check=Yo(d),d=0,c=0,n.mode=Mo;case Mo:if(0===n.havedict)return e.next_out=s,e.avail_out=o,e.next_in=r,e.avail_in=l,n.hold=d,n.bits=c,To;e.adler=n.check=1,n.mode=Ro;case Ro:if(t===Fo||t===Bo)break e;case Qo:if(n.last){d>>>=7&c,c-=7&c,n.mode=qo;break}for(;c<3;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}switch(n.last=1&d,d>>>=1,c-=1,3&d){case 0:n.mode=16193;break;case 1:if(id(n),n.mode=Vo,t===Bo){d>>>=2,c-=2;break e}break;case 2:n.mode=16196;break;case 3:e.msg="invalid block type",n.mode=Wo}d>>>=2,c-=2;break;case 16193:for(d>>>=7&c,c-=7&c;c<32;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}if((65535&d)!=(d>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Wo;break}if(n.length=65535&d,d=0,c=0,n.mode=Ho,t===Bo)break e;case Ho:n.mode=16195;case 16195:if(A=n.length,A){if(A>l&&(A=l),A>o&&(A=o),0===A)break e;a.set(i.subarray(r,r+A),s),l-=A,r+=A,o-=A,s+=A,n.length-=A;break}n.mode=Ro;break;case 16196:for(;c<14;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}if(n.nlen=257+(31&d),d>>>=5,c-=5,n.ndist=1+(31&d),d>>>=5,c-=5,n.ncode=4+(15&d),d>>>=4,c-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Wo;break}n.have=0,n.mode=16197;case 16197:for(;n.have<n.ncode;){for(;c<3;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}n.lens[F[n.have++]]=7&d,d>>>=3,c-=3}for(;n.have<19;)n.lens[F[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,N={bits:n.lenbits},j=No(0,n.lens,0,19,n.lencode,0,n.work,N),n.lenbits=N.bits,j){e.msg="invalid code lengths set",n.mode=Wo;break}n.have=0,n.mode=16198;case 16198:for(;n.have<n.nlen+n.ndist;){for(;C=n.lencode[d&(1<<n.lenbits)-1],m=C>>>24,v=C>>>16&255,g=65535&C,!(m<=c);){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}if(g<16)d>>>=m,c-=m,n.lens[n.have++]=g;else{if(16===g){for(I=m+2;c<I;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}if(d>>>=m,c-=m,0===n.have){e.msg="invalid bit length repeat",n.mode=Wo;break}w=n.lens[n.have-1],A=3+(3&d),d>>>=2,c-=2}else if(17===g){for(I=m+3;c<I;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}d>>>=m,c-=m,w=0,A=3+(7&d),d>>>=3,c-=3}else{for(I=m+7;c<I;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}d>>>=m,c-=m,w=0,A=11+(127&d),d>>>=7,c-=7}if(n.have+A>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Wo;break}for(;A--;)n.lens[n.have++]=w}}if(n.mode===Wo)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=Wo;break}if(n.lenbits=9,N={bits:n.lenbits},j=No(1,n.lens,0,n.nlen,n.lencode,0,n.work,N),n.lenbits=N.bits,j){e.msg="invalid literal/lengths set",n.mode=Wo;break}if(n.distbits=6,n.distcode=n.distdyn,N={bits:n.distbits},j=No(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,N),n.distbits=N.bits,j){e.msg="invalid distances set",n.mode=Wo;break}if(n.mode=Vo,t===Bo)break e;case Vo:n.mode=zo;case zo:if(l>=6&&o>=258){e.next_out=s,e.avail_out=o,e.next_in=r,e.avail_in=l,n.hold=d,n.bits=c,xo(e,p),s=e.next_out,a=e.output,o=e.avail_out,r=e.next_in,i=e.input,l=e.avail_in,d=n.hold,c=n.bits,n.mode===Ro&&(n.back=-1);break}for(n.back=0;C=n.lencode[d&(1<<n.lenbits)-1],m=C>>>24,v=C>>>16&255,g=65535&C,!(m<=c);){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}if(v&&!(240&v)){for(y=m,x=v,b=g;C=n.lencode[b+((d&(1<<y+x)-1)>>y)],m=C>>>24,v=C>>>16&255,g=65535&C,!(y+m<=c);){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}d>>>=y,c-=y,n.back+=y}if(d>>>=m,c-=m,n.back+=m,n.length=g,0===v){n.mode=16205;break}if(32&v){n.back=-1,n.mode=Ro;break}if(64&v){e.msg="invalid literal/length code",n.mode=Wo;break}n.extra=15&v,n.mode=16201;case 16201:if(n.extra){for(I=n.extra;c<I;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}n.length+=d&(1<<n.extra)-1,d>>>=n.extra,c-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=16202;case 16202:for(;C=n.distcode[d&(1<<n.distbits)-1],m=C>>>24,v=C>>>16&255,g=65535&C,!(m<=c);){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}if(!(240&v)){for(y=m,x=v,b=g;C=n.distcode[b+((d&(1<<y+x)-1)>>y)],m=C>>>24,v=C>>>16&255,g=65535&C,!(y+m<=c);){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}d>>>=y,c-=y,n.back+=y}if(d>>>=m,c-=m,n.back+=m,64&v){e.msg="invalid distance code",n.mode=Wo;break}n.offset=g,n.extra=15&v,n.mode=16203;case 16203:if(n.extra){for(I=n.extra;c<I;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}n.offset+=d&(1<<n.extra)-1,d>>>=n.extra,c-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Wo;break}n.mode=16204;case 16204:if(0===o)break e;if(A=p-o,n.offset>A){if(A=n.offset-A,A>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Wo;break}A>n.wnext?(A-=n.wnext,h=n.wsize-A):h=n.wnext-A,A>n.length&&(A=n.length),f=n.window}else f=a,h=s-n.offset,A=n.length;A>o&&(A=o),o-=A,n.length-=A;do{a[s++]=f[h++]}while(--A);0===n.length&&(n.mode=zo);break;case 16205:if(0===o)break e;a[s++]=n.length,o--,n.mode=zo;break;case qo:if(n.wrap){for(;c<32;){if(0===l)break e;l--,d|=i[r++]<<c,c+=8}if(p-=o,e.total_out+=p,n.total+=p,4&n.wrap&&p&&(e.adler=n.check=n.flags?Xs(n.check,a,p,s-p):Gs(n.check,a,p,s-p)),p=o,4&n.wrap&&(n.flags?d:Yo(d))!==n.check){e.msg="incorrect data check",n.mode=Wo;break}d=0,c=0}n.mode=16207;case 16207:if(n.wrap&&n.flags){for(;c<32;){if(0===l)break e;l--,d+=i[r++]<<c,c+=8}if(4&n.wrap&&d!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=Wo;break}d=0,c=0}n.mode=16208;case 16208:j=ko;break e;case Wo:j=Do;break e;case 16210:return Lo;default:return Eo}return e.next_out=s,e.avail_out=o,e.next_in=r,e.avail_in=l,n.hold=d,n.bits=c,(n.wsize||p!==e.avail_out&&n.mode<Wo&&(n.mode<qo||t!==Io))&&ad(e,e.output,e.next_out,p-e.avail_out),u-=e.avail_in,p-=e.avail_out,e.total_in+=u,e.total_out+=p,n.total+=p,4&n.wrap&&p&&(e.adler=n.check=n.flags?Xs(n.check,a,p,e.next_out-p):Gs(n.check,a,p,e.next_out-p)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Ro?128:0)+(n.mode===Vo||n.mode===Ho?256:0),(0===u&&0===p||t===Io)&&j===Po&&(j=Uo),j},sd={inflateReset:Xo,inflateReset2:Jo,inflateResetKeep:$o,inflateInit:e=>Zo(e,15),inflateInit2:Zo,inflate:rd,inflateEnd:e=>{if(Go(e))return Eo;let t=e.state;return t.window&&(t.window=null),e.state=null,Po},inflateGetHeader:(e,t)=>{if(Go(e))return Eo;const n=e.state;return 2&n.wrap?(n.head=t,t.done=!1,Po):Eo},inflateSetDictionary:(e,t)=>{const n=t.length;let i,a,r;return Go(e)?Eo:(i=e.state,0!==i.wrap&&i.mode!==Mo?Eo:i.mode===Mo&&(a=1,a=Gs(a,t,n,0),a!==i.check)?Do:(r=ad(e,t,n,n),r?(i.mode=16210,Lo):(i.havedict=1,Po)))},inflateInfo:"pako inflate (from Nodeca project)"};var ld=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const od=Object.prototype.toString,{Z_NO_FLUSH:dd,Z_FINISH:cd,Z_OK:ud,Z_STREAM_END:pd,Z_NEED_DICT:Ad,Z_STREAM_ERROR:hd,Z_DATA_ERROR:fd,Z_MEM_ERROR:md}=Zs;function vd(e){this.options=Zl({chunkSize:65536,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new so,this.strm.avail_out=0;let n=sd.inflateInit2(this.strm,t.windowBits);if(n!==ud)throw new Error(Js[n]);if(this.header=new ld,sd.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=io(t.dictionary):"[object ArrayBuffer]"===od.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=sd.inflateSetDictionary(this.strm,t.dictionary),n!==ud)))throw new Error(Js[n])}function gd(e,t){const n=new vd(t);if(n.push(e),n.err)throw n.msg||Js[n.err];return n.result}vd.prototype.push=function(e,t){const n=this.strm,i=this.options.chunkSize,a=this.options.dictionary;let r,s,l;if(this.ended)return!1;for(s=t===~~t?t:!0===t?cd:dd,"[object ArrayBuffer]"===od.call(e)?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){for(0===n.avail_out&&(n.output=new Uint8Array(i),n.next_out=0,n.avail_out=i),r=sd.inflate(n,s),r===Ad&&a&&(r=sd.inflateSetDictionary(n,a),r===ud?r=sd.inflate(n,s):r===fd&&(r=Ad));n.avail_in>0&&r===pd&&n.state.wrap>0&&0!==e[n.next_in];)sd.inflateReset(n),r=sd.inflate(n,s);switch(r){case hd:case fd:case Ad:case md:return this.onEnd(r),this.ended=!0,!1}if(l=n.avail_out,n.next_out&&(0===n.avail_out||r===pd))if("string"===this.options.to){let e=ro(n.output,n.next_out),t=n.next_out-e,a=ao(n.output,e);n.next_out=t,n.avail_out=i-t,t&&n.output.set(n.output.subarray(e,e+t),0),this.onData(a)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(r!==ud||0!==l){if(r===pd)return r=sd.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,!0;if(0===n.avail_in)break}}return!0},vd.prototype.onData=function(e){this.chunks.push(e)},vd.prototype.onEnd=function(e){e===ud&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=eo(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var yd={Inflate:vd,inflate:gd,inflateRaw:function(e,t){return(t=t||{}).raw=!0,gd(e,t)},ungzip:gd,constants:Zs};const{Inflate:xd,inflate:bd,inflateRaw:wd,ungzip:jd}=yd;var Cd=xd,Sd=bd;const Nd=[];for(let Wfe=0;Wfe<256;Wfe++){let e=Wfe;for(let t=0;t<8;t++)1&e?e=3988292384^e>>>1:e>>>=1;Nd[Wfe]=e}const Id=4294967295;function Fd(e,t){return(function(e,t,n){let i=e;for(let a=0;a<n;a++)i=Nd[255&(i^t[a])]^i>>>8;return i}(Id,e,t)^Id)>>>0}function Bd(e,t,n){const i=e.readUint32(),a=Fd(new Uint8Array(e.buffer,e.byteOffset+e.offset-t-4,t),t);if(a!==i)throw new Error(`CRC mismatch for chunk ${n}. Expected ${i}, found ${a}`)}function Pd(e,t,n){for(let i=0;i<n;i++)t[i]=e[i]}function kd(e,t,n,i){let a=0;for(;a<i;a++)t[a]=e[a];for(;a<n;a++)t[a]=e[a]+t[a-i]&255}function Td(e,t,n,i){let a=0;if(0===n.length)for(;a<i;a++)t[a]=e[a];else for(;a<i;a++)t[a]=e[a]+n[a]&255}function Ed(e,t,n,i,a){let r=0;if(0===n.length){for(;r<a;r++)t[r]=e[r];for(;r<i;r++)t[r]=e[r]+(t[r-a]>>1)&255}else{for(;r<a;r++)t[r]=e[r]+(n[r]>>1)&255;for(;r<i;r++)t[r]=e[r]+(t[r-a]+n[r]>>1)&255}}function Dd(e,t,n,i,a){let r=0;if(0===n.length){for(;r<a;r++)t[r]=e[r];for(;r<i;r++)t[r]=e[r]+t[r-a]&255}else{for(;r<a;r++)t[r]=e[r]+n[r]&255;for(;r<i;r++)t[r]=e[r]+Ld(t[r-a],n[r],n[r-a])&255}}function Ld(e,t,n){const i=e+t-n,a=Math.abs(i-e),r=Math.abs(i-t),s=Math.abs(i-n);return a<=r&&a<=s?e:r<=s?t:n}function Ud(e,t,n,i,a,r){switch(e){case 0:Pd(t,n,a);break;case 1:kd(t,n,a,r);break;case 2:Td(t,n,i,a);break;case 3:Ed(t,n,i,a,r);break;case 4:Dd(t,n,i,a,r);break;default:throw new Error(`Unsupported filter: ${e}`)}}const _d=new Uint16Array([255]),Od=255===new Uint8Array(_d.buffer)[0];const Md=new Uint16Array([255]),Rd=255===new Uint8Array(Md.buffer)[0],Qd=new Uint8Array(0);function Hd(e){const{data:t,width:n,height:i,channels:a,depth:r}=e,s=Math.ceil(r/8)*a,l=Math.ceil(r/8*a*n),o=new Uint8Array(i*l);let d,c,u=Qd,p=0;for(let h=0;h<i;h++){switch(d=t.subarray(p+1,p+1+l),c=o.subarray(h*l,(h+1)*l),t[p]){case 0:Pd(d,c,l);break;case 1:kd(d,c,l,s);break;case 2:Td(d,c,u,l);break;case 3:Ed(d,c,u,l,s);break;case 4:Dd(d,c,u,l,s);break;default:throw new Error(`Unsupported filter: ${t[p]}`)}u=c,p+=l+1}if(16===r){const e=new Uint16Array(o.buffer);if(Rd)for(let t=0;t<e.length;t++)e[t]=(255&(A=e[t]))<<8|A>>8&255;return e}return o;var A}const Vd=Uint8Array.of(137,80,78,71,13,10,26,10);function zd(e){if(!function(e){if(e.length<Vd.length)return!1;for(let t=0;t<Vd.length;t++)if(e[t]!==Vd[t])return!1;return!0}(e.readBytes(Vd.length)))throw new Error("wrong PNG signature")}const qd=new TextDecoder("latin1");function Wd(e){if(function(e){if(!Yd.test(e))throw new Error("invalid latin1 text")}(e),0===e.length||e.length>79)throw new Error("keyword length must be between 1 and 79")}const Yd=/^[\u0000-\u00FF]*$/;function Kd(e,t,n){const i=Gd(t);e[i]=function(e,t){return qd.decode(e.readBytes(t))}(t,n-i.length-1)}function Gd(e){for(e.mark();0!==e.readByte(););const t=e.offset;e.reset();const n=qd.decode(e.readBytes(t-e.offset-1));return e.skip(1),Wd(n),n}const $d=-1,Xd=0,Jd=2,Zd=3,ec=4,tc=6,nc=-1,ic=0,ac=-1,rc=0,sc=-1,lc=0,oc=1,dc=0,cc=1,uc=2,pc=0,Ac=1;class hc extends ds{constructor(e,t={}){super(e),i(this,"_checkCrc"),i(this,"_inflator"),i(this,"_png"),i(this,"_apng"),i(this,"_end"),i(this,"_hasPalette"),i(this,"_palette"),i(this,"_hasTransparency"),i(this,"_transparency"),i(this,"_compressionMethod"),i(this,"_filterMethod"),i(this,"_interlaceMethod"),i(this,"_colorType"),i(this,"_isAnimated"),i(this,"_numberOfFrames"),i(this,"_numberOfPlays"),i(this,"_frames"),i(this,"_writingDataChunks");const{checkCrc:n=!1}=t;this._checkCrc=n,this._inflator=new Cd,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=nc,this._filterMethod=ac,this._interlaceMethod=sc,this._colorType=$d,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(zd(this);!this._end;){const e=this.readUint32(),t=this.readChars(4);this.decodeChunk(e,t)}return this.decodeImage(),this._png}decodeApng(){for(zd(this);!this._end;){const e=this.readUint32(),t=this.readChars(4);this.decodeApngChunk(e,t)}return this.decodeApngImage(),this._apng}decodeChunk(e,t){const n=this.offset;switch(t){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(e);break;case"IDAT":this.decodeIDAT(e);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(e);break;case"iCCP":this.decodeiCCP(e);break;case"tEXt":Kd(this._png.text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e)}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?Bd(this,e+4,t):this.skip(4)}decodeApngChunk(e,t){const n=this.offset;switch("fdAT"!==t&&"IDAT"!==t&&this._writingDataChunks&&this.pushDataToFrame(),t){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);break;default:this.decodeChunk(e,t),this.offset=n+e}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?Bd(this,e+4,t):this.skip(4)}decodeIHDR(){const e=this._png;e.width=this.readUint32(),e.height=this.readUint32(),e.depth=function(e){if(1!==e&&2!==e&&4!==e&&8!==e&&16!==e)throw new Error(`invalid bit depth: ${e}`);return e}(this.readUint8());const t=this.readUint8();let n;switch(this._colorType=t,t){case Xd:n=1;break;case Jd:n=3;break;case Zd:n=1;break;case ec:n=2;break;case tc:n=4;break;default:throw new Error(`Unknown color type: ${t}`)}if(this._png.channels=n,this._compressionMethod=this.readUint8(),this._compressionMethod!==ic)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const e={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(e)}decodePLTE(e){if(e%3!=0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);const t=e/3;this._hasPalette=!0;const n=[];this._palette=n;for(let i=0;i<t;i++)n.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(e){this._writingDataChunks=!0;const t=e,n=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,n,t)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodeFDAT(e){this._writingDataChunks=!0;let t=e,n=this.offset+this.byteOffset;if(n+=4,t-=4,this._inflator.push(new Uint8Array(this.buffer,n,t)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodetRNS(e){switch(this._colorType){case Xd:case Jd:if(e%2!=0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${e}`);if(e/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let t=0;t<e/2;t++)this._transparency[t]=this.readUint16();break;case Zd:{if(e>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${e} vs ${this._palette.length})`);let t=0;for(;t<e;t++){const e=this.readByte();this._palette[t].push(e)}for(;t<this._palette.length;t++)this._palette[t].push(255);break}default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(e){const t=Gd(this),n=this.readUint8();if(n!==ic)throw new Error(`Unsupported iCCP compression method: ${n}`);const i=this.readBytes(e-t.length-2);this._png.iccEmbeddedProfile={name:t,profile:Sd(i)}}decodepHYs(){const e=this.readUint32(),t=this.readUint32(),n=this.readByte();this._png.resolution={x:e,y:t,unit:n}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let e=0;e<this._numberOfFrames;e++){const t={sequenceNumber:this._frames[e].sequenceNumber,delayNumber:this._frames[e].delayNumber,delayDenominator:this._frames[e].delayDenominator,data:8===this._apng.depth?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},n=this._frames.at(e);if(n){if(n.data=Hd({data:n.data,width:n.width,height:n.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),0===e||0===n.xOffset&&0===n.yOffset&&n.width===this._png.width&&n.height===this._png.height)t.data=n.data;else{const i=this._apng.frames.at(e-1);this.disposeFrame(n,i,t),this.addFrameDataToCanvas(t,n)}this._apng.frames.push(t)}}return this._apng}disposeFrame(e,t,n){switch(e.disposeOp){case dc:break;case cc:for(let t=0;t<this._png.height;t++)for(let i=0;i<this._png.width;i++){const a=(t*e.width+i)*this._png.channels;for(let e=0;e<this._png.channels;e++)n.data[a+e]=0}break;case uc:n.data.set(t.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(e,t){const n=1<<this._png.depth,i=(e,n)=>({index:((e+t.yOffset)*this._png.width+t.xOffset+n)*this._png.channels,frameIndex:(e*t.width+n)*this._png.channels});switch(t.blendOp){case pc:for(let n=0;n<t.height;n++)for(let a=0;a<t.width;a++){const{index:r,frameIndex:s}=i(n,a);for(let n=0;n<this._png.channels;n++)e.data[r+n]=t.data[s+n]}break;case Ac:for(let a=0;a<t.height;a++)for(let r=0;r<t.width;r++){const{index:s,frameIndex:l}=i(a,r);for(let i=0;i<this._png.channels;i++){const a=t.data[l+this._png.channels-1]/n,r=i%(this._png.channels-1)==0?1:t.data[l+i],o=Math.floor(a*r+(1-a)*e.data[s+i]);e.data[s+i]+=o}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){var e;if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const t=this._isAnimated?(null==(e=this._frames)?void 0:e.at(0)).data:this._inflator.result;if(this._filterMethod!==rc)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===lc)this._png.data=Hd({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else{if(this._interlaceMethod!==oc)throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._png.data=function(e){const{data:t,width:n,height:i,channels:a,depth:r}=e,s=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],l=Math.ceil(r/8)*a,o=new Uint8Array(i*n*l);let d=0;for(let u=0;u<7;u++){const e=s[u],a=Math.ceil((n-e.x)/e.xStep),r=Math.ceil((i-e.y)/e.yStep);if(a<=0||r<=0)continue;const c=a*l,p=new Uint8Array(c);for(let s=0;s<r;s++){const r=t[d++],u=t.subarray(d,d+c);d+=c;const A=new Uint8Array(c);Ud(r,u,A,p,c,l),p.set(A);for(let t=0;t<a;t++){const a=e.x+t*e.xStep,r=e.y+s*e.yStep;if(!(a>=n||r>=i))for(let e=0;e<l;e++)o[(r*n+a)*l+e]=A[t*l+e]}}}if(16===r){const e=new Uint16Array(o.buffer);if(Od)for(let t=0;t<e.length;t++)e[t]=(255&(c=e[t]))<<8|c>>8&255;return e}return o;var c}({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth})}this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const e=this._inflator.result,t=this._frames.at(-1);t?t.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:dc,blendOp:pc,data:e}),this._inflator=new Cd,this._writingDataChunks=!1}}var fc,mc;(mc=fc||(fc={}))[mc.UNKNOWN=0]="UNKNOWN",mc[mc.METRE=1]="METRE";var vc=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}();function gc(){vc.console&&"function"==typeof vc.console.log&&vc.console.log.apply(vc.console,arguments)}var yc={log:gc,warn:function(e){vc.console&&("function"==typeof vc.console.warn?vc.console.warn.apply(vc.console,arguments):gc.call(null,arguments))},error:function(e){vc.console&&("function"==typeof vc.console.error?vc.console.error.apply(vc.console,arguments):gc(e))}};function xc(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){jc(i.response,t,n)},i.onerror=function(){yc.error("could not download file")},i.send()}function bc(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(Zre){}return t.status>=200&&t.status<=299}function wc(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(Zre){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var jc=vc.saveAs||("object"!==("undefined"==typeof window?"undefined":p(window))||window!==vc?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var i=vc.URL||vc.webkitURL,a=document.createElement("a");t=t||e.name||"download",a.download=t,a.rel="noopener","string"==typeof e?(a.href=e,a.origin!==location.origin?bc(a.href)?xc(e,t,n):wc(a,a.target="_blank"):wc(a)):(a.href=i.createObjectURL(e),setTimeout((function(){i.revokeObjectURL(a.href)}),4e4),setTimeout((function(){wc(a)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download","string"==typeof e)if(bc(e))xc(e,t,n);else{var i=document.createElement("a");i.href=e,i.target="_blank",setTimeout((function(){wc(i)}))}else navigator.msSaveOrOpenBlob((a=e,void 0===(r=n)?r={autoBom:!1}:"object"!==p(r)&&(yc.warn("Deprecated: Expected third argument to be a object"),r={autoBom:!r}),r.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob([String.fromCharCode(65279),a],{type:a.type}):a),t);var a,r}:function(e,t,n,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return xc(e,t,n);var a="application/octet-stream"===e.type,r=/constructor/i.test(vc.HTMLElement)||vc.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||a&&r)&&"object"===("undefined"==typeof FileReader?"undefined":p(FileReader))){var l=new FileReader;l.onloadend=function(){var e=l.result;e=s?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location=e,i=null},l.readAsDataURL(e)}else{var o=vc.URL||vc.webkitURL,d=o.createObjectURL(e);i?i.location=d:location.href=d,i=null,setTimeout((function(){o.revokeObjectURL(d)}),4e4)}}); +/** + * A class to parse color values + * @author Stoyan Stefanov <sstoo@gmail.com> + * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} + * @license Use it if you like it + */function Cc(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],i=0;i<n.length;i++){var a=n[i].re,r=n[i].process,s=a.exec(e);s&&(t=r(s),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}var Sc=vc.atob.bind(vc),Nc=vc.btoa.bind(vc); +/** + * @license + * Joseph Myers does not specify a particular license for his work. + * + * Author: Joseph Myers + * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js + * + * Modified by: Owen Leong + */function Ic(e,t){var n=e[0],i=e[1],a=e[2],r=e[3];n=Bc(n,i,a,r,t[0],7,-680876936),r=Bc(r,n,i,a,t[1],12,-389564586),a=Bc(a,r,n,i,t[2],17,606105819),i=Bc(i,a,r,n,t[3],22,-1044525330),n=Bc(n,i,a,r,t[4],7,-176418897),r=Bc(r,n,i,a,t[5],12,1200080426),a=Bc(a,r,n,i,t[6],17,-1473231341),i=Bc(i,a,r,n,t[7],22,-45705983),n=Bc(n,i,a,r,t[8],7,1770035416),r=Bc(r,n,i,a,t[9],12,-1958414417),a=Bc(a,r,n,i,t[10],17,-42063),i=Bc(i,a,r,n,t[11],22,-1990404162),n=Bc(n,i,a,r,t[12],7,1804603682),r=Bc(r,n,i,a,t[13],12,-40341101),a=Bc(a,r,n,i,t[14],17,-1502002290),n=Pc(n,i=Bc(i,a,r,n,t[15],22,1236535329),a,r,t[1],5,-165796510),r=Pc(r,n,i,a,t[6],9,-1069501632),a=Pc(a,r,n,i,t[11],14,643717713),i=Pc(i,a,r,n,t[0],20,-373897302),n=Pc(n,i,a,r,t[5],5,-701558691),r=Pc(r,n,i,a,t[10],9,38016083),a=Pc(a,r,n,i,t[15],14,-660478335),i=Pc(i,a,r,n,t[4],20,-405537848),n=Pc(n,i,a,r,t[9],5,568446438),r=Pc(r,n,i,a,t[14],9,-1019803690),a=Pc(a,r,n,i,t[3],14,-187363961),i=Pc(i,a,r,n,t[8],20,1163531501),n=Pc(n,i,a,r,t[13],5,-1444681467),r=Pc(r,n,i,a,t[2],9,-51403784),a=Pc(a,r,n,i,t[7],14,1735328473),n=kc(n,i=Pc(i,a,r,n,t[12],20,-1926607734),a,r,t[5],4,-378558),r=kc(r,n,i,a,t[8],11,-2022574463),a=kc(a,r,n,i,t[11],16,1839030562),i=kc(i,a,r,n,t[14],23,-35309556),n=kc(n,i,a,r,t[1],4,-1530992060),r=kc(r,n,i,a,t[4],11,1272893353),a=kc(a,r,n,i,t[7],16,-155497632),i=kc(i,a,r,n,t[10],23,-1094730640),n=kc(n,i,a,r,t[13],4,681279174),r=kc(r,n,i,a,t[0],11,-358537222),a=kc(a,r,n,i,t[3],16,-722521979),i=kc(i,a,r,n,t[6],23,76029189),n=kc(n,i,a,r,t[9],4,-640364487),r=kc(r,n,i,a,t[12],11,-421815835),a=kc(a,r,n,i,t[15],16,530742520),n=Tc(n,i=kc(i,a,r,n,t[2],23,-995338651),a,r,t[0],6,-198630844),r=Tc(r,n,i,a,t[7],10,1126891415),a=Tc(a,r,n,i,t[14],15,-1416354905),i=Tc(i,a,r,n,t[5],21,-57434055),n=Tc(n,i,a,r,t[12],6,1700485571),r=Tc(r,n,i,a,t[3],10,-1894986606),a=Tc(a,r,n,i,t[10],15,-1051523),i=Tc(i,a,r,n,t[1],21,-2054922799),n=Tc(n,i,a,r,t[8],6,1873313359),r=Tc(r,n,i,a,t[15],10,-30611744),a=Tc(a,r,n,i,t[6],15,-1560198380),i=Tc(i,a,r,n,t[13],21,1309151649),n=Tc(n,i,a,r,t[4],6,-145523070),r=Tc(r,n,i,a,t[11],10,-1120210379),a=Tc(a,r,n,i,t[2],15,718787259),i=Tc(i,a,r,n,t[9],21,-343485551),e[0]=Rc(n,e[0]),e[1]=Rc(i,e[1]),e[2]=Rc(a,e[2]),e[3]=Rc(r,e[3])}function Fc(e,t,n,i,a,r){return t=Rc(Rc(t,e),Rc(i,r)),Rc(t<<a|t>>>32-a,n)}function Bc(e,t,n,i,a,r,s){return Fc(t&n|~t&i,e,t,a,r,s)}function Pc(e,t,n,i,a,r,s){return Fc(t&i|n&~i,e,t,a,r,s)}function kc(e,t,n,i,a,r,s){return Fc(t^n^i,e,t,a,r,s)}function Tc(e,t,n,i,a,r,s){return Fc(n^(t|~i),e,t,a,r,s)}function Ec(e){var t,n=e.length,i=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)Ic(i,Dc(e.substring(t-64,t)));e=e.substring(t-64);var a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)a[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(a[t>>2]|=128<<(t%4<<3),t>55)for(Ic(i,a),t=0;t<16;t++)a[t]=0;return a[14]=8*n,Ic(i,a),i}function Dc(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}var Lc="0123456789abcdef".split("");function Uc(e){for(var t="",n=0;n<4;n++)t+=Lc[e>>8*n+4&15]+Lc[e>>8*n&15];return t}function _c(e){return String.fromCharCode(255&e,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function Oc(e){return Ec(e).map(_c).join("")}var Mc="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=Uc(e[t]);return e.join("")}(Ec("hello"));function Rc(e,t){if(Mc){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295} +/** + * @license + * FPDF is released under a permissive license: there is no usage restriction. + * You may embed it freely in your application (commercial or not), with or + * without modifications. + * + * Reference: http://www.fpdf.org/en/script/script37.php + */function Qc(e,t){var n,i,a,r;if(e!==n){for(var s=(a=e,r=1+(256/e.length|0),new Array(r+1).join(a)),l=[],o=0;o<256;o++)l[o]=o;var d=0;for(o=0;o<256;o++){var c=l[o];d=(d+c+s.charCodeAt(o))%256,l[o]=l[d],l[d]=c}n=e,i=l}else l=i;var u=t.length,p=0,A=0,h="";for(o=0;o<u;o++)A=(A+(c=l[p=(p+1)%256]))%256,l[p]=l[A],l[A]=c,s=l[(l[p]+l[A])%256],h+=String.fromCharCode(t.charCodeAt(o)^s);return h} +/** + * @license + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + * Author: Owen Leong (@owenl131) + * Date: 15 Oct 2020 + * References: + * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt + * https://github.com/foliojs/pdfkit/blob/master/lib/security.js + * http://www.fpdf.org/en/script/script37.php + */var Hc={print:4,modify:8,copy:16,"annot-forms":32};function Vc(e,t,n,i){this.v=1,this.r=2;var a=192;e.forEach((function(e){if(void 0!==Hc.perm)throw new Error("Invalid permission: "+e);a+=Hc[e]})),this.padding="(¿N^NuŠAd\0NVÿú\b..\0¶Ðh>€/\f©þdSiz";var r=(t+this.padding).substr(0,32),s=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(r,s),this.P=-(1+(255^a)),this.encryptionKey=Oc(r+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(i)).substr(0,5),this.U=Qc(this.encryptionKey,this.padding)}function zc(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,i=0;i<n;i++){var a=e.charCodeAt(i);t+=a<33||35===a||37===a||40===a||41===a||47===a||60===a||62===a||91===a||93===a||123===a||125===a||a>126?"#"+("0"+a.toString(16)).slice(-2):e[i]}return t}function qc(e){if("object"!==p(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,n,i){if(i=i||!1,"string"!=typeof e||"function"!=typeof n||"boolean"!=typeof i)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var a=Math.random().toString(35);return t[e][a]=[n,!!i],a},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],0===Object.keys(t[n]).length&&delete t[n],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var i=Array.prototype.slice.call(arguments,1),a=[];for(var r in t[n]){var s=t[n][r];try{s[0].apply(e,i)}catch(ese){vc.console&&yc.error("jsPDF PubSub Error",ese.message,ese)}s[1]&&a.push(r)}a.length&&a.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function Wc(e){if(!(this instanceof Wc))return new Wc(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function Yc(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function Kc(e,t,n,i,a){if(!(this instanceof Kc))return new Kc(e,t,n,i,a);this.type="axial"===e?2:3,this.coords=t,this.colors=n,Yc.call(this,i,a)}function Gc(e,t,n,i,a){if(!(this instanceof Gc))return new Gc(e,t,n,i,a);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,Yc.call(this,i,a)}function $c(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",i=arguments[1],a=arguments[2],r=arguments[3],s=[],l=1,o=16,d="S",c=null;"object"===p(e=e||{})&&(n=e.orientation,i=e.unit||i,a=e.format||a,r=e.compress||e.compressPdf||r,null!==(c=e.encryption||null)&&(c.userPassword=c.userPassword||"",c.ownerPassword=c.ownerPassword||"",c.userPermissions=c.userPermissions||[]),l="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(o=e.floatPrecision),d=e.defaultPathOperation||"S"),s=e.filters||(!0===r?["FlateEncode"]:s),i=i||"mm",n=(""+(n||"P")).toLowerCase();var u=e.putOnlyUsedFonts||!1,A={},h={internal:{},__private__:{}};h.__private__.PubSub=qc;var f="1.3",m=h.__private__.getPdfVersion=function(){return f};h.__private__.setPdfVersion=function(e){f=e};var v={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};h.__private__.getPageFormats=function(){return v};var g=h.__private__.getPageFormat=function(e){return v[e]};a=a||"a4";var y="compat",x="advanced",b=y;function w(){this.saveGraphicsState(),J(new Te(Ae,0,0,-Ae,0,hn()*Ae).toString()+" cm"),this.setFontSize(this.getFontSize()/Ae),d="n",b=x}function j(){this.restoreGraphicsState(),d="S",b=y}var C=h.__private__.combineFontStyleAndFontWeight=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(e=400==t||"normal"===t?"italic"===e?"italic":"normal":700!=t&&"bold"!==t||"normal"!==e?(700==t?"bold":t)+""+e:"bold"),e};h.advancedAPI=function(e){var t=b===y;return t&&w.call(this),"function"!=typeof e||(e(this),t&&j.call(this)),this},h.compatAPI=function(e){var t=b===x;return t&&j.call(this),"function"!=typeof e||(e(this),t&&w.call(this)),this},h.isAdvancedAPI=function(){return b===x};var S,N=function(e){if(b!==x)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},I=h.roundToPrecision=h.__private__.roundToPrecision=function(e,n){var i=t||n;if(isNaN(e)||isNaN(i))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(i).replace(/0+$/,"")};S=h.hpf=h.__private__.hpf="number"==typeof o?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return I(e,o)}:"smart"===o?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return I(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return I(e,16)};var F=h.f2=h.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return I(e,2)},B=h.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return I(e,3)},P=h.scale=h.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return b===y?e*Ae:b===x?e:void 0},k=function(e){return P((t=e,b===y?hn()-t:b===x?t:void 0));var t};h.__private__.setPrecision=h.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var T,E="00000000000000000000000000000000",D=h.__private__.getFileId=function(){return E},L=h.__private__.setFileId=function(e){return E=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():E.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==c&&(yt=new Vc(c.userPermissions,c.userPassword,c.ownerPassword,E)),E};h.setFileId=function(e){return L(e),this},h.getFileId=function(){return D()};var U=h.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",i=Math.floor(Math.abs(t/60)),a=Math.abs(t%60),r=[n,Q(i),"'",Q(a),"'"].join("");return["D:",e.getFullYear(),Q(e.getMonth()+1),Q(e.getDate()),Q(e.getHours()),Q(e.getMinutes()),Q(e.getSeconds()),r].join("")},_=h.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),n=parseInt(e.substr(6,2),10)-1,i=parseInt(e.substr(8,2),10),a=parseInt(e.substr(10,2),10),r=parseInt(e.substr(12,2),10),s=parseInt(e.substr(14,2),10);return new Date(t,n,i,a,r,s,0)},O=h.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=U(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return T=t},M=h.__private__.getCreationDate=function(e){var t=T;return"jsDate"===e&&(t=_(T)),t};h.setCreationDate=function(e){return O(e),this},h.getCreationDate=function(e){return M(e)};var R,Q=h.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},H=h.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},V=0,z=[],q=[],W=0,Y=[],K=[],G=!1,$=q;h.__private__.setCustomOutputDestination=function(e){G=!0,$=e};var X=function(e){G||($=e)};h.__private__.resetCustomOutputDestination=function(){G=!1,$=q};var J=h.__private__.out=function(e){return e=e.toString(),W+=e.length+1,$.push(e),$},Z=h.__private__.write=function(e){return J(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},ee=h.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),i=new Uint8Array(n);t--;)i[t]=e.charCodeAt(t);return n},te=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];h.__private__.getStandardFonts=function(){return te};var ne=e.fontSize||16;h.__private__.setFontSize=h.setFontSize=function(e){return ne=b===x?e/Ae:e,this};var ie,ae=h.__private__.getFontSize=h.getFontSize=function(){return b===y?ne:ne*Ae},re=e.R2L||!1;h.__private__.setR2L=h.setR2L=function(e){return re=e,this},h.__private__.getR2L=h.getR2L=function(){return re};var se,le=h.__private__.setZoomMode=function(e){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))ie=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');ie=e}else ie=parseInt(e,10)};h.__private__.getZoomMode=function(){return ie};var oe,de=h.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');se=e};h.__private__.getPageMode=function(){return se};var ce=h.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');oe=e};h.__private__.getLayoutMode=function(){return oe},h.__private__.setDisplayMode=h.setDisplayMode=function(e,t,n){return le(e),ce(t),de(n),this};var ue={title:"",subject:"",author:"",keywords:"",creator:""};h.__private__.getDocumentProperty=function(e){if(-1===Object.keys(ue).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ue[e]},h.__private__.getDocumentProperties=function(){return ue},h.__private__.setDocumentProperties=h.setProperties=h.setDocumentProperties=function(e){for(var t in ue)ue.hasOwnProperty(t)&&e[t]&&(ue[t]=e[t]);return this},h.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(ue).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ue[e]=t};var pe,Ae,he,fe,me,ve={},ge={},ye=[],xe={},be={},we={},je={},Ce=null,Se=0,Ne=[],Ie=new qc(h),Fe=e.hotfixes||[],Be={},Pe={},ke=[],Te=function e(t,n,i,a,r,s){if(!(this instanceof e))return new e(t,n,i,a,r,s);isNaN(t)&&(t=1),isNaN(n)&&(n=0),isNaN(i)&&(i=0),isNaN(a)&&(a=1),isNaN(r)&&(r=0),isNaN(s)&&(s=0),this._matrix=[t,n,i,a,r,s]};Object.defineProperty(Te.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Te.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Te.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Te.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Te.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Te.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Te.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Te.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Te.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Te.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Te.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Te.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Te.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Te.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Te.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Te.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Te.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(S).join(e)},Te.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,n=e.sx*this.shy+e.shy*this.sy,i=e.shx*this.sx+e.sy*this.shx,a=e.shx*this.shy+e.sy*this.sy,r=e.tx*this.sx+e.ty*this.shx+this.tx,s=e.tx*this.shy+e.ty*this.sy+this.ty;return new Te(t,n,i,a,r,s)},Te.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,i=this.sy,a=this.tx,r=this.ty,s=Math.sqrt(e*e+t*t),l=(e/=s)*n+(t/=s)*i;n-=e*l,i-=t*l;var o=Math.sqrt(n*n+i*i);return l/=o,e*(i/=o)<t*(n/=o)&&(e=-e,t=-t,l=-l,s=-s),{scale:new Te(s,0,0,o,0,0),translate:new Te(1,0,0,1,a,r),rotate:new Te(e,t,-t,e,0,0),skew:new Te(1,0,l,1,0,0)}},Te.prototype.toString=function(e){return this.join(" ")},Te.prototype.inversed=function(){var e=this.sx,t=this.shy,n=this.shx,i=this.sy,a=this.tx,r=this.ty,s=1/(e*i-t*n),l=i*s,o=-t*s,d=-n*s,c=e*s;return new Te(l,o,d,c,-l*a-d*r,-o*a-c*r)},Te.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,n=e.x*this.shy+e.y*this.sy+this.ty;return new nn(t,n)},Te.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),n=this.applyToPoint(new nn(e.x+e.w,e.y+e.h));return new an(t.x,t.y,n.x-t.x,n.y-t.y)},Te.prototype.clone=function(){var e=this.sx,t=this.shy,n=this.shx,i=this.sy,a=this.tx,r=this.ty;return new Te(e,t,n,i,a,r)},h.Matrix=Te;var Ee=h.matrixMult=function(e,t){return t.multiply(e)},De=new Te(1,0,0,1,0,0);h.unitMatrix=h.identityMatrix=De;var Le=function(e,t){if(!be[e]){var n=(t instanceof Kc?"Sh":"P")+(Object.keys(xe).length+1).toString(10);t.id=n,be[e]=n,xe[n]=t,Ie.publish("addPattern",t)}};h.ShadingPattern=Kc,h.TilingPattern=Gc,h.addShadingPattern=function(e,t){return N("addShadingPattern()"),Le(e,t),this},h.beginTilingPattern=function(e){N("beginTilingPattern()"),sn(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},h.endTilingPattern=function(e,t){N("endTilingPattern()"),t.stream=K[R].join("\n"),Le(e,t),Ie.publish("endTilingPattern",t),ke.pop().restore()};var Ue,_e=h.__private__.newObject=function(){var e=Oe();return Me(e,!0),e},Oe=h.__private__.newObjectDeferred=function(){return V++,z[V]=function(){return W},V},Me=function(e,t){return t="boolean"==typeof t&&t,z[e]=W,t&&J(e+" 0 obj"),e},Re=h.__private__.newAdditionalObject=function(){var e={objId:Oe(),content:""};return Y.push(e),e},Qe=Oe(),He=Oe(),Ve=h.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var n=parseFloat(t[0]);t=[n,n,n,"r"]}for(var i="#",a=0;a<3;a++)i+=("0"+Math.floor(255*parseFloat(t[a])).toString(16)).slice(-2);return i},ze=h.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var n=e.ch1,i=e.ch2,a=e.ch3,r=e.ch4,s="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof n&&"#"!==n.charAt(0)){var l=new Cc(n);if(l.ok)n=l.toHex();else if(!/^\d*\.?\d*$/.test(n))throw new Error('Invalid color "'+n+'" passed to jsPDF.encodeColorString.')}if("string"==typeof n&&/^#[0-9A-Fa-f]{3}$/.test(n)&&(n="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var o=parseInt(n.substr(1),16);n=o>>16&255,i=o>>8&255,a=255&o}if(void 0===i||void 0===r&&n===i&&i===a)t="string"==typeof n?n+" "+s[0]:2===e.precision?F(n/255)+" "+s[0]:B(n/255)+" "+s[0];else if(void 0===r||"object"===p(r)){if(r&&!isNaN(r.a)&&0===r.a)return["1.","1.","1.",s[1]].join(" ");t="string"==typeof n?[n,i,a,s[1]].join(" "):2===e.precision?[F(n/255),F(i/255),F(a/255),s[1]].join(" "):[B(n/255),B(i/255),B(a/255),s[1]].join(" ")}else t="string"==typeof n?[n,i,a,r,s[2]].join(" "):2===e.precision?[F(n),F(i),F(a),F(r),s[2]].join(" "):[B(n),B(i),B(a),B(r),s[2]].join(" ");return t},qe=h.__private__.getFilters=function(){return s},We=h.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||qe(),i=e.alreadyAppliedFilters||[],a=e.addLength1||!1,r=t.length,s=e.objectId,l=function(e){return e};if(null!==c&&void 0===s)throw new Error("ObjectId must be passed to putStream for file encryption");null!==c&&(l=yt.encryptor(s,0));var o={};!0===n&&(n=["FlateEncode"]);var d=e.additionalKeyValues||[],u=(o=void 0!==$c.API.processDataByFilters?$c.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(i)?i.join(" "):i.toString());if(0!==o.data.length&&(d.push({key:"Length",value:o.data.length}),!0===a&&d.push({key:"Length1",value:r})),0!=u.length)if(u.split("/").length-1==1)d.push({key:"Filter",value:u});else{d.push({key:"Filter",value:"["+u+"]"});for(var p=0;p<d.length;p+=1)if("DecodeParms"===d[p].key){for(var A=[],h=0;h<o.reverseChain.split("/").length-1;h+=1)A.push("null");A.push(d[p].value),d[p].value="["+A.join(" ")+"]"}}J("<<");for(var f=0;f<d.length;f++)J("/"+d[f].key+" "+d[f].value);J(">>"),0!==o.data.length&&(J("stream"),J(l(o.data)),J("endstream"))},Ye=h.__private__.putPage=function(e){var t=e.number,n=e.data,i=e.objId,a=e.contentsObjId;Me(i,!0),J("<</Type /Page"),J("/Parent "+e.rootDictionaryObjId+" 0 R"),J("/Resources "+e.resourceDictionaryObjId+" 0 R"),J("/MediaBox ["+parseFloat(S(e.mediaBox.bottomLeftX))+" "+parseFloat(S(e.mediaBox.bottomLeftY))+" "+S(e.mediaBox.topRightX)+" "+S(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&J("/CropBox ["+S(e.cropBox.bottomLeftX)+" "+S(e.cropBox.bottomLeftY)+" "+S(e.cropBox.topRightX)+" "+S(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&J("/BleedBox ["+S(e.bleedBox.bottomLeftX)+" "+S(e.bleedBox.bottomLeftY)+" "+S(e.bleedBox.topRightX)+" "+S(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&J("/TrimBox ["+S(e.trimBox.bottomLeftX)+" "+S(e.trimBox.bottomLeftY)+" "+S(e.trimBox.topRightX)+" "+S(e.trimBox.topRightY)+"]"),null!==e.artBox&&J("/ArtBox ["+S(e.artBox.bottomLeftX)+" "+S(e.artBox.bottomLeftY)+" "+S(e.artBox.topRightX)+" "+S(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&J("/UserUnit "+e.userUnit),Ie.publish("putPage",{objId:i,pageContext:Ne[t],pageNumber:t,page:n}),J("/Contents "+a+" 0 R"),J(">>"),J("endobj");var r=n.join("\n");return b===x&&(r+="\nQ"),Me(a,!0),We({data:r,filters:qe(),objectId:a}),J("endobj"),i},Ke=h.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=Se;e++)Ne[e].objId=Oe(),Ne[e].contentsObjId=Oe();for(e=1;e<=Se;e++)n.push(Ye({number:e,data:K[e],objId:Ne[e].objId,contentsObjId:Ne[e].contentsObjId,mediaBox:Ne[e].mediaBox,cropBox:Ne[e].cropBox,bleedBox:Ne[e].bleedBox,trimBox:Ne[e].trimBox,artBox:Ne[e].artBox,userUnit:Ne[e].userUnit,rootDictionaryObjId:Qe,resourceDictionaryObjId:He}));Me(Qe,!0),J("<</Type /Pages");var i="/Kids [";for(t=0;t<Se;t++)i+=n[t]+" 0 R ";J(i+"]"),J("/Count "+Se),J(">>"),J("endobj"),Ie.publish("postPutPages")},Ge=function(e){Ie.publish("putFont",{font:e,out:J,newObject:_e,putStream:We}),!0!==e.isAlreadyPutted&&(e.objectNumber=_e(),J("<<"),J("/Type /Font"),J("/BaseFont /"+zc(e.postScriptName)),J("/Subtype /Type1"),"string"==typeof e.encoding&&J("/Encoding /"+e.encoding),J("/FirstChar 32"),J("/LastChar 255"),J(">>"),J("endobj"))},$e=function(e){e.objectNumber=_e();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[S(e.x),S(e.y),S(e.x+e.width),S(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var n=e.pages[1].join("\n");We({data:n,additionalKeyValues:t,objectId:e.objectNumber}),J("endobj")},Xe=function(e,t){t||(t=21);var n=_e(),i=function(e,t){var n,i=[],a=1/(t-1);for(n=0;n<1;n+=a)i.push(n);if(i.push(1),0!=e[0].offset){var r={offset:0,color:e[0].color};e.unshift(r)}if(1!=e[e.length-1].offset){var s={offset:1,color:e[e.length-1].color};e.push(s)}for(var l="",o=0,d=0;d<i.length;d++){for(n=i[d];n>e[o+1].offset;)o++;var c=e[o].offset,u=(n-c)/(e[o+1].offset-c),p=e[o].color,A=e[o+1].color;l+=H(Math.round((1-u)*p[0]+u*A[0]).toString(16))+H(Math.round((1-u)*p[1]+u*A[1]).toString(16))+H(Math.round((1-u)*p[2]+u*A[2]).toString(16))}return l.trim()}(e.colors,t),a=[];a.push({key:"FunctionType",value:"0"}),a.push({key:"Domain",value:"[0.0 1.0]"}),a.push({key:"Size",value:"["+t+"]"}),a.push({key:"BitsPerSample",value:"8"}),a.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),a.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),We({data:i,additionalKeyValues:a,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),J("endobj"),e.objectNumber=_e(),J("<< /ShadingType "+e.type),J("/ColorSpace /DeviceRGB");var r="/Coords ["+S(parseFloat(e.coords[0]))+" "+S(parseFloat(e.coords[1]))+" ";2===e.type?r+=S(parseFloat(e.coords[2]))+" "+S(parseFloat(e.coords[3])):r+=S(parseFloat(e.coords[2]))+" "+S(parseFloat(e.coords[3]))+" "+S(parseFloat(e.coords[4]))+" "+S(parseFloat(e.coords[5])),J(r+="]"),e.matrix&&J("/Matrix ["+e.matrix.toString()+"]"),J("/Function "+n+" 0 R"),J("/Extend [true true]"),J(">>"),J("endobj")},Je=function(e,t){var n=Oe(),i=_e();t.push({resourcesOid:n,objectOid:i}),e.objectNumber=i;var a=[];a.push({key:"Type",value:"/Pattern"}),a.push({key:"PatternType",value:"1"}),a.push({key:"PaintType",value:"1"}),a.push({key:"TilingType",value:"1"}),a.push({key:"BBox",value:"["+e.boundingBox.map(S).join(" ")+"]"}),a.push({key:"XStep",value:S(e.xStep)}),a.push({key:"YStep",value:S(e.yStep)}),a.push({key:"Resources",value:n+" 0 R"}),e.matrix&&a.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),We({data:e.stream,additionalKeyValues:a,objectId:e.objectNumber}),J("endobj")},Ze=function(e){for(var t in e.objectNumber=_e(),J("<<"),e)switch(t){case"opacity":J("/ca "+F(e[t]));break;case"stroke-opacity":J("/CA "+F(e[t]))}J(">>"),J("endobj")},et=function(e){Me(e.resourcesOid,!0),J("<<"),J("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var e in J("/Font <<"),ve)ve.hasOwnProperty(e)&&(!1===u||!0===u&&A.hasOwnProperty(e))&&J("/"+e+" "+ve[e].objectNumber+" 0 R");J(">>")}(),function(){if(Object.keys(xe).length>0){for(var e in J("/Shading <<"),xe)xe.hasOwnProperty(e)&&xe[e]instanceof Kc&&xe[e].objectNumber>=0&&J("/"+e+" "+xe[e].objectNumber+" 0 R");Ie.publish("putShadingPatternDict"),J(">>")}}(),function(e){if(Object.keys(xe).length>0){for(var t in J("/Pattern <<"),xe)xe.hasOwnProperty(t)&&xe[t]instanceof h.TilingPattern&&xe[t].objectNumber>=0&&xe[t].objectNumber<e&&J("/"+t+" "+xe[t].objectNumber+" 0 R");Ie.publish("putTilingPatternDict"),J(">>")}}(e.objectOid),function(){if(Object.keys(we).length>0){var e;for(e in J("/ExtGState <<"),we)we.hasOwnProperty(e)&&we[e].objectNumber>=0&&J("/"+e+" "+we[e].objectNumber+" 0 R");Ie.publish("putGStateDict"),J(">>")}}(),function(){for(var e in J("/XObject <<"),Be)Be.hasOwnProperty(e)&&Be[e].objectNumber>=0&&J("/"+e+" "+Be[e].objectNumber+" 0 R");Ie.publish("putXobjectDict"),J(">>")}(),J(">>"),J("endobj")},tt=function(e){ge[e.fontName]=ge[e.fontName]||{},ge[e.fontName][e.fontStyle]=e.id},nt=function(e,t,n,i,a){var r={id:"F"+(Object.keys(ve).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:n,encoding:i,isStandardFont:a||!1,metadata:{}};return Ie.publish("addFont",{font:r,instance:this}),ve[r.id]=r,tt(r),r.id},it=h.__private__.pdfEscape=h.pdfEscape=function(e,t){return function(e,t){var n,i,a,r,s,l,o,d,c;if(a=(t=t||{}).sourceEncoding||"Unicode",s=t.outputEncoding,(t.autoencode||s)&&ve[pe].metadata&&ve[pe].metadata[a]&&ve[pe].metadata[a].encoding&&(r=ve[pe].metadata[a].encoding,!s&&ve[pe].encoding&&(s=ve[pe].encoding),!s&&r.codePages&&(s=r.codePages[0]),"string"==typeof s&&(s=r[s]),s)){for(o=!1,l=[],n=0,i=e.length;n<i;n++)(d=s[e.charCodeAt(n)])?l.push(String.fromCharCode(d)):l.push(e[n]),l[n].charCodeAt(0)>>8&&(o=!0);e=l.join("")}for(n=e.length;void 0===o&&0!==n;)e.charCodeAt(n-1)>>8&&(o=!0),n--;if(!o)return e;for(l=t.noBOM?[]:[254,255],n=0,i=e.length;n<i;n++){if((c=(d=e.charCodeAt(n))>>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");l.push(c),l.push(d-(c<<8))}return String.fromCharCode.apply(void 0,l)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},at=h.__private__.beginPage=function(e){K[++Se]=[],Ne[Se]={objId:0,contentsObjId:0,userUnit:Number(l),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},lt(Se),X(K[R])},rt=function(e,t){var i,r,s;switch(n=t||n,"string"==typeof e&&(i=g(e.toLowerCase()),Array.isArray(i)&&(r=i[0],s=i[1])),Array.isArray(e)&&(r=e[0]*Ae,s=e[1]*Ae),isNaN(r)&&(r=a[0],s=a[1]),(r>14400||s>14400)&&(yc.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),r=Math.min(14400,r),s=Math.min(14400,s)),a=[r,s],n.substr(0,1)){case"l":s>r&&(a=[s,r]);break;case"p":r>s&&(a=[s,r])}at(a),Mt(_t),J(Yt),0!==Zt&&J(Zt+" J"),0!==en&&J(en+" j"),Ie.publish("addPage",{pageNumber:Se})},st=function(e){e>0&&e<=Se&&(K.splice(e,1),Ne.splice(e,1),Se--,R>Se&&(R=Se),this.setPage(R))},lt=function(e){e>0&&e<=Se&&(R=e)},ot=h.__private__.getNumberOfPages=h.getNumberOfPages=function(){return K.length-1},dt=function(e,t,n){var i,a=void 0;return n=n||{},e=void 0!==e?e:ve[pe].fontName,t=void 0!==t?t:ve[pe].fontStyle,i=e.toLowerCase(),void 0!==ge[i]&&void 0!==ge[i][t]?a=ge[i][t]:void 0!==ge[e]&&void 0!==ge[e][t]?a=ge[e][t]:!1===n.disableWarning&&yc.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),a||n.noFallback||null==(a=ge.times[t])&&(a=ge.times.normal),a},ct=h.__private__.putInfo=function(){var e=_e(),t=function(e){return e};for(var n in null!==c&&(t=yt.encryptor(e,0)),J("<<"),J("/Producer ("+it(t("jsPDF "+$c.version))+")"),ue)ue.hasOwnProperty(n)&&ue[n]&&J("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+it(t(ue[n]))+")");J("/CreationDate ("+it(t(T))+")"),J(">>"),J("endobj")},ut=h.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Qe;switch(_e(),J("<<"),J("/Type /Catalog"),J("/Pages "+t+" 0 R"),ie||(ie="fullwidth"),ie){case"fullwidth":J("/OpenAction [3 0 R /FitH null]");break;case"fullheight":J("/OpenAction [3 0 R /FitV null]");break;case"fullpage":J("/OpenAction [3 0 R /Fit]");break;case"original":J("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+ie;"%"===n.substr(n.length-1)&&(ie=parseInt(ie)/100),"number"==typeof ie&&J("/OpenAction [3 0 R /XYZ null null "+F(ie)+"]")}switch(oe||(oe="continuous"),oe){case"continuous":J("/PageLayout /OneColumn");break;case"single":J("/PageLayout /SinglePage");break;case"two":case"twoleft":J("/PageLayout /TwoColumnLeft");break;case"tworight":J("/PageLayout /TwoColumnRight")}se&&J("/PageMode /"+se),Ie.publish("putCatalog"),J(">>"),J("endobj")},pt=h.__private__.putTrailer=function(){J("trailer"),J("<<"),J("/Size "+(V+1)),J("/Root "+V+" 0 R"),J("/Info "+(V-1)+" 0 R"),null!==c&&J("/Encrypt "+yt.oid+" 0 R"),J("/ID [ <"+E+"> <"+E+"> ]"),J(">>")},At=h.__private__.putHeader=function(){J("%PDF-"+f),J("%ºß¬à")},ht=h.__private__.putXRef=function(){var e="0000000000";J("xref"),J("0 "+(V+1)),J("0000000000 65535 f ");for(var t=1;t<=V;t++)"function"==typeof z[t]?J((e+z[t]()).slice(-10)+" 00000 n "):void 0!==z[t]?J((e+z[t]).slice(-10)+" 00000 n "):J("0000000000 00000 n ")},ft=h.__private__.buildDocument=function(){var e;V=0,W=0,q=[],z=[],Y=[],Qe=Oe(),He=Oe(),X(q),Ie.publish("buildDocument"),At(),Ke(),function(){Ie.publish("putAdditionalObjects");for(var e=0;e<Y.length;e++){var t=Y[e];Me(t.objId,!0),J(t.content),J("endobj")}Ie.publish("postPutAdditionalObjects")}(),e=[],function(){for(var e in ve)ve.hasOwnProperty(e)&&(!1===u||!0===u&&A.hasOwnProperty(e))&&Ge(ve[e])}(),function(){var e;for(e in we)we.hasOwnProperty(e)&&Ze(we[e])}(),function(){for(var e in Be)Be.hasOwnProperty(e)&&$e(Be[e])}(),function(e){var t;for(t in xe)xe.hasOwnProperty(t)&&(xe[t]instanceof Kc?Xe(xe[t]):xe[t]instanceof Gc&&Je(xe[t],e))}(e),Ie.publish("putResources"),e.forEach(et),et({resourcesOid:He,objectOid:Number.MAX_SAFE_INTEGER}),Ie.publish("postPutResources"),null!==c&&(yt.oid=_e(),J("<<"),J("/Filter /Standard"),J("/V "+yt.v),J("/R "+yt.r),J("/U <"+yt.toHexString(yt.U)+">"),J("/O <"+yt.toHexString(yt.O)+">"),J("/P "+yt.P),J(">>"),J("endobj")),ct(),ut();var t=W;return ht(),pt(),J("startxref"),J(""+t),J("%%EOF"),X(K[R]),q.join("\n")},mt=h.__private__.getBlob=function(e){return new Blob([ee(e)],{type:"application/pdf"})},vt=h.output=h.__private__.output=((Ue=function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return ft();case"save":h.save(t.filename);break;case"arraybuffer":return ee(ft());case"blob":return mt(ft());case"bloburi":case"bloburl":if(void 0!==vc.URL&&"function"==typeof vc.URL.createObjectURL)return vc.URL&&vc.URL.createObjectURL(mt(ft()))||void 0;yc.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var n="",i=ft();try{n=Nc(i)}catch(A){n=Nc(unescape(encodeURIComponent(i)))}return"data:application/pdf;filename="+t.filename+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(vc)){var a="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",r=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(a=t.pdfObjectUrl,r="");var s='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+a+'"'+r+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",l=vc.open();return null!==l&&l.document.write(s),l}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(vc)){var o='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',d=vc.open();if(null!==d){d.document.write(o);var c=this;d.document.documentElement.querySelector("#pdfViewer").onload=function(){d.document.title=t.filename,d.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(c.output("bloburl"))}}return d}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(vc))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var u='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',p=vc.open();if(null!==p&&(p.document.write(u),p.document.title=t.filename),p||"undefined"==typeof safari)return p;break;case"datauri":case"dataurl":return vc.document.location.href=this.output("datauristring",t);default:return null}}).foo=function(){try{return Ue.apply(this,arguments)}catch(ise){var e=ise.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var t="Error in function "+e.split("\n")[0].split("<")[0]+": "+ise.message;if(!vc.console)throw new Error(t);vc.console.error(t,ise),vc.alert&&alert(t)}},Ue.foo.bar=Ue,Ue.foo),gt=function(e){return!0===Array.isArray(Fe)&&Fe.indexOf(e)>-1};switch(i){case"pt":Ae=1;break;case"mm":Ae=72/25.4;break;case"cm":Ae=72/2.54;break;case"in":Ae=72;break;case"px":Ae=1==gt("px_scaling")?.75:96/72;break;case"pc":case"em":Ae=12;break;case"ex":Ae=6;break;default:if("number"!=typeof i)throw new Error("Invalid unit: "+i);Ae=i}var yt=null;O(),L();var xt=h.__private__.getPageInfo=h.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Ne[e].objId,pageNumber:e,pageContext:Ne[e]}},bt=h.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in Ne)if(Ne[t].objId===e)break;return xt(t)},wt=h.__private__.getCurrentPageInfo=h.getCurrentPageInfo=function(){return{objId:Ne[R].objId,pageNumber:R,pageContext:Ne[R]}};h.addPage=function(){return rt.apply(this,arguments),this},h.setPage=function(){return lt.apply(this,arguments),X.call(this,K[R]),this},h.insertPage=function(e){return this.addPage(),this.movePage(R,e),this},h.movePage=function(e,t){var n,i;if(e>t){n=K[e],i=Ne[e];for(var a=e;a>t;a--)K[a]=K[a-1],Ne[a]=Ne[a-1];K[t]=n,Ne[t]=i,this.setPage(t)}else if(e<t){n=K[e],i=Ne[e];for(var r=e;r<t;r++)K[r]=K[r+1],Ne[r]=Ne[r+1];K[t]=n,Ne[t]=i,this.setPage(t)}return this},h.deletePage=function(){return st.apply(this,arguments),this},h.__private__.text=h.text=function(e,t,n,i,a){var r,s,l,o,d,c,u,h,f,m=(i=i||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof n||Array.isArray(n))){var v=n;n=t,t=e,e=v}if(arguments[3]instanceof Te==0?(l=arguments[4],o=arguments[5],"object"===p(u=arguments[3])&&null!==u||("string"==typeof l&&(o=l,l=null),"string"==typeof u&&(o=u,u=null),"number"==typeof u&&(l=u,u=null),i={flags:u,angle:l,align:o})):(N("The transform parameter of text() with a Matrix value"),f=a),isNaN(t)||isNaN(n)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return m;var g,y="",w="number"==typeof i.lineHeightFactor?i.lineHeightFactor:Ut,j=m.internal.scaleFactor;function C(e){return e=e.split("\t").join(Array(i.TabLen||9).join(" ")),it(e,u)}function I(e){for(var t,n=e.concat(),i=[],a=n.length;a--;)"string"==typeof(t=n.shift())?i.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?i.push(t[0]):i.push([t[0],t[1],t[2]]);return i}function F(e,t){var n;if("string"==typeof e)n=t(e)[0];else if(Array.isArray(e)){for(var i,a,r=e.concat(),s=[],l=r.length;l--;)"string"==typeof(i=r.shift())?s.push(t(i)[0]):Array.isArray(i)&&"string"==typeof i[0]&&(a=t(i[0],i[1],i[2]),s.push([a[0],a[1],a[2]]));n=s}return n}var B=!1,k=!0;if("string"==typeof e)B=!0;else if(Array.isArray(e)){var T=e.concat();s=[];for(var E,D=T.length;D--;)("string"!=typeof(E=T.shift())||Array.isArray(E)&&"string"!=typeof E[0])&&(k=!1);B=k}if(!1===B)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var L=ne/m.internal.scaleFactor,U=L*(w-1);switch(i.baseline){case"bottom":n-=U;break;case"top":n+=L-U;break;case"hanging":n+=L-2*U;break;case"middle":n+=L/2-U}if((c=i.maxWidth||0)>0&&("string"==typeof e?e=m.splitTextToSize(e,c):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(m.splitTextToSize(t,c))}),[]))),r={text:e,x:t,y:n,options:i,mutex:{pdfEscape:it,activeFontKey:pe,fonts:ve,activeFontSize:ne}},Ie.publish("preProcessText",r),e=r.text,l=(i=r.options).angle,f instanceof Te==0&&l&&"number"==typeof l){l*=Math.PI/180,0===i.rotationDirection&&(l=-l),b===x&&(l=-l);var _=Math.cos(l),O=Math.sin(l);f=new Te(_,O,-O,_,0,0)}else l&&l instanceof Te&&(f=l);b!==x||f||(f=De),void 0!==(d=i.charSpace||Xt)&&(y+=S(P(d))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(h=i.horizontalScale)&&(y+=S(100*h)+" Tz\n"),i.lang;var M=-1,R=void 0!==i.renderingMode?i.renderingMode:i.stroke,Q=m.internal.getCurrentPageInfo().pageContext;switch(R){case 0:case!1:case"fill":M=0;break;case 1:case!0:case"stroke":M=1;break;case 2:case"fillThenStroke":M=2;break;case 3:case"invisible":M=3;break;case 4:case"fillAndAddForClipping":M=4;break;case 5:case"strokeAndAddPathForClipping":M=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":M=6;break;case 7:case"addToPathForClipping":M=7}var H=void 0!==Q.usedRenderingMode?Q.usedRenderingMode:-1;-1!==M?y+=M+" Tr\n":-1!==H&&(y+="0 Tr\n"),-1!==M&&(Q.usedRenderingMode=M),o=i.align||"left";var V,z=ne*w,q=m.internal.pageSize.getWidth(),W=ve[pe];d=i.charSpace||Xt,c=i.maxWidth||0,u=Object.assign({autoencode:!0,noBOM:!0},i.flags);var Y=[],K=function(e){return m.getStringUnitWidth(e,{font:W,charSpace:d,fontSize:ne,doKerning:!1})*ne/j};if("[object Array]"===Object.prototype.toString.call(e)){var G;s=I(e),"left"!==o&&(V=s.map(K));var $,X=0;if("right"===o){t-=V[0],e=[],D=s.length;for(var Z=0;Z<D;Z++)0===Z?($=Vt(t),G=zt(n)):($=P(X-V[Z]),G=-z),e.push([s[Z],$,G]),X=V[Z]}else if("center"===o){t-=V[0]/2,e=[],D=s.length;for(var ee=0;ee<D;ee++)0===ee?($=Vt(t),G=zt(n)):($=P((X-V[ee])/2),G=-z),e.push([s[ee],$,G]),X=V[ee]}else if("left"===o){e=[],D=s.length;for(var te=0;te<D;te++)e.push(s[te])}else if("justify"===o&&"Identity-H"===W.encoding){e=[],D=s.length,c=0!==c?c:q;for(var ie=0,ae=0;ae<D;ae++)if(G=0===ae?zt(n):-z,$=0===ae?Vt(t):ie,ae<D-1){var se=P((c-V[ae])/(s[ae].split(" ").length-1)),le=s[ae].split(" ");e.push([le[0]+" ",$,G]),ie=0;for(var oe=1;oe<le.length;oe++){var de=(K(le[oe-1]+" "+le[oe])-K(le[oe]))*j+se;oe==le.length-1?e.push([le[oe],de,0]):e.push([le[oe]+" ",de,0]),ie-=de}}else e.push([s[ae],$,G]);e.push(["",ie,0])}else{if("justify"!==o)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(e=[],D=s.length,c=0!==c?c:q,ae=0;ae<D;ae++){G=0===ae?zt(n):-z,$=0===ae?Vt(t):0;var ce=s[ae].split(" ").length-1,ue=ce>0?(c-V[ae])/ce:0;ae<D-1?Y.push(S(P(ue))):Y.push(0),e.push([s[ae],$,G])}}}!0===("boolean"==typeof i.R2L?i.R2L:re)&&(e=F(e,(function(e,t,n){return[e.split("").reverse().join(""),t,n]}))),r={text:e,x:t,y:n,options:i,mutex:{pdfEscape:it,activeFontKey:pe,fonts:ve,activeFontSize:ne}},Ie.publish("postProcessText",r),e=r.text,g=r.mutex.isHex||!1;var Ae=ve[pe].encoding;"WinAnsiEncoding"!==Ae&&"StandardEncoding"!==Ae||(e=F(e,(function(e,t,n){return[C(e),t,n]}))),s=I(e),e=[];for(var he,fe,me,ge=Array.isArray(s[0])?1:0,ye="",xe=function(e,t,n){var a="";return n instanceof Te?(n="number"==typeof i.angle?Ee(n,new Te(1,0,0,1,e,t)):Ee(new Te(1,0,0,1,e,t),n),b===x&&(n=Ee(new Te(1,0,0,-1,0,0),n)),a=n.join(" ")+" Tm\n"):a=S(e)+" "+S(t)+" Td\n",a},be=0;be<s.length;be++){switch(ye="",ge){case 1:me=(g?"<":"(")+s[be][0]+(g?">":")"),he=parseFloat(s[be][1]),fe=parseFloat(s[be][2]);break;case 0:me=(g?"<":"(")+s[be]+(g?">":")"),he=Vt(t),fe=zt(n)}void 0!==Y&&void 0!==Y[be]&&(ye=Y[be]+" Tw\n"),0===be?e.push(ye+xe(he,fe,f)+me):0===ge?e.push(ye+me):1===ge&&e.push(ye+xe(he,fe,f)+me)}e=0===ge?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var we="BT\n/";return we+=pe+" "+ne+" Tf\n",we+=S(ne*w)+" TL\n",we+=Gt+"\n",we+=y,we+=e,J(we+="ET"),A[pe]=!0,m};var jt=h.__private__.clip=h.clip=function(e){return J("evenodd"===e?"W*":"W"),this};h.clipEvenOdd=function(){return jt("evenodd")},h.__private__.discardPath=h.discardPath=function(){return J("n"),this};var Ct=h.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};h.__private__.setDefaultPathOperation=h.setDefaultPathOperation=function(e){return Ct(e)&&(d=e),this};var St=h.__private__.getStyle=h.getStyle=function(e){var t=d;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},Nt=h.close=function(){return J("h"),this};h.stroke=function(){return J("S"),this},h.fill=function(e){return It("f",e),this},h.fillEvenOdd=function(e){return It("f*",e),this},h.fillStroke=function(e){return It("B",e),this},h.fillStrokeEvenOdd=function(e){return It("B*",e),this};var It=function(e,t){"object"===p(t)?Pt(t,e):J(e)},Ft=function(e){null===e||b===x&&void 0===e||(e=St(e),J(e))};function Bt(e,t,n,i,a){var r=new Gc(t||this.boundingBox,n||this.xStep,i||this.yStep,this.gState,a||this.matrix);r.stream=this.stream;var s=e+"$$"+this.cloneIndex+++"$$";return Le(s,r),r}var Pt=function(e,t){var n=be[e.key],i=xe[n];if(i instanceof Kc)J("q"),J(kt(t)),i.gState&&h.setGState(i.gState),J(e.matrix.toString()+" cm"),J("/"+n+" sh"),J("Q");else if(i instanceof Gc){var a=new Te(1,0,0,-1,0,hn());e.matrix&&(a=a.multiply(e.matrix||De),n=Bt.call(i,e.key,e.boundingBox,e.xStep,e.yStep,a).id),J("q"),J("/Pattern cs"),J("/"+n+" scn"),i.gState&&h.setGState(i.gState),J(t),J("Q")}},kt=function(e){switch(e){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Tt=h.moveTo=function(e,t){return J(S(P(e))+" "+S(k(t))+" m"),this},Et=h.lineTo=function(e,t){return J(S(P(e))+" "+S(k(t))+" l"),this},Dt=h.curveTo=function(e,t,n,i,a,r){return J([S(P(e)),S(k(t)),S(P(n)),S(k(i)),S(P(a)),S(k(r)),"c"].join(" ")),this};h.__private__.line=h.line=function(e,t,n,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||!Ct(a))throw new Error("Invalid arguments passed to jsPDF.line");return b===y?this.lines([[n-e,i-t]],e,t,[1,1],a||"S"):this.lines([[n-e,i-t]],e,t,[1,1]).stroke()},h.__private__.lines=h.lines=function(e,t,n,i,a,r){var s,l,o,d,c,u,p,A,h,f,m,v;if("number"==typeof e&&(v=n,n=t,t=e,e=v),i=i||[1,1],r=r||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(i)||!Ct(a)||"boolean"!=typeof r)throw new Error("Invalid arguments passed to jsPDF.lines");for(Tt(t,n),s=i[0],l=i[1],d=e.length,f=t,m=n,o=0;o<d;o++)2===(c=e[o]).length?(f=c[0]*s+f,m=c[1]*l+m,Et(f,m)):(u=c[0]*s+f,p=c[1]*l+m,A=c[2]*s+f,h=c[3]*l+m,f=c[4]*s+f,m=c[5]*l+m,Dt(u,p,A,h,f,m));return r&&Nt(),Ft(a),this},h.path=function(e){for(var t=0;t<e.length;t++){var n=e[t],i=n.c;switch(n.op){case"m":Tt(i[0],i[1]);break;case"l":Et(i[0],i[1]);break;case"c":Dt.apply(this,i);break;case"h":Nt()}}return this},h.__private__.rect=h.rect=function(e,t,n,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||!Ct(a))throw new Error("Invalid arguments passed to jsPDF.rect");return b===y&&(i=-i),J([S(P(e)),S(k(t)),S(P(n)),S(P(i)),"re"].join(" ")),Ft(a),this},h.__private__.triangle=h.triangle=function(e,t,n,i,a,r,s){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||isNaN(a)||isNaN(r)||!Ct(s))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-e,i-t],[a-n,r-i],[e-a,t-r]],e,t,[1,1],s,!0),this},h.__private__.roundedRect=h.roundedRect=function(e,t,n,i,a,r,s){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||isNaN(a)||isNaN(r)||!Ct(s))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var l=4/3*(Math.SQRT2-1);return a=Math.min(a,.5*n),r=Math.min(r,.5*i),this.lines([[n-2*a,0],[a*l,0,a,r-r*l,a,r],[0,i-2*r],[0,r*l,-a*l,r,-a,r],[2*a-n,0],[-a*l,0,-a,-r*l,-a,-r],[0,2*r-i],[0,-r*l,a*l,-r,a,-r]],e+a,t,[1,1],s,!0),this},h.__private__.ellipse=h.ellipse=function(e,t,n,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||!Ct(a))throw new Error("Invalid arguments passed to jsPDF.ellipse");var r=4/3*(Math.SQRT2-1)*n,s=4/3*(Math.SQRT2-1)*i;return Tt(e+n,t),Dt(e+n,t-s,e+r,t-i,e,t-i),Dt(e-r,t-i,e-n,t-s,e-n,t),Dt(e-n,t+s,e-r,t+i,e,t+i),Dt(e+r,t+i,e+n,t+s,e+n,t),Ft(a),this},h.__private__.circle=h.circle=function(e,t,n,i){if(isNaN(e)||isNaN(t)||isNaN(n)||!Ct(i))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,n,n,i)},h.setFont=function(e,t,n){return n&&(t=C(t,n)),pe=dt(e,t,{disableWarning:!1}),this};var Lt=h.__private__.getFont=h.getFont=function(){return ve[dt.apply(h,arguments)]};h.__private__.getFontList=h.getFontList=function(){var e,t,n={};for(e in ge)if(ge.hasOwnProperty(e))for(t in n[e]=[],ge[e])ge[e].hasOwnProperty(t)&&n[e].push(t);return n},h.addFont=function(e,t,n,i,a){var r=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==r.indexOf(arguments[3])?a=arguments[3]:arguments[3]&&-1==r.indexOf(arguments[3])&&(n=C(n,i)),nt.call(this,e,t,n,a=a||"Identity-H")};var Ut,_t=e.lineWidth||.200025,Ot=h.__private__.getLineWidth=h.getLineWidth=function(){return _t},Mt=h.__private__.setLineWidth=h.setLineWidth=function(e){return _t=e,J(S(P(e))+" w"),this};h.__private__.setLineDash=$c.API.setLineDash=$c.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map((function(e){return S(P(e))})).join(" "),t=S(P(t)),J("["+e+"] "+t+" d"),this};var Rt=h.__private__.getLineHeight=h.getLineHeight=function(){return ne*Ut};h.__private__.getLineHeight=h.getLineHeight=function(){return ne*Ut};var Qt=h.__private__.setLineHeightFactor=h.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(Ut=e),this},Ht=h.__private__.getLineHeightFactor=h.getLineHeightFactor=function(){return Ut};Qt(e.lineHeight);var Vt=h.__private__.getHorizontalCoordinate=function(e){return P(e)},zt=h.__private__.getVerticalCoordinate=function(e){return b===x?e:Ne[R].mediaBox.topRightY-Ne[R].mediaBox.bottomLeftY-P(e)},qt=h.__private__.getHorizontalCoordinateString=h.getHorizontalCoordinateString=function(e){return S(Vt(e))},Wt=h.__private__.getVerticalCoordinateString=h.getVerticalCoordinateString=function(e){return S(zt(e))},Yt=e.strokeColor||"0 G";h.__private__.getStrokeColor=h.getDrawColor=function(){return Ve(Yt)},h.__private__.setStrokeColor=h.setDrawColor=function(e,t,n,i){return Yt=ze({ch1:e,ch2:t,ch3:n,ch4:i,pdfColorType:"draw",precision:2}),J(Yt),this};var Kt=e.fillColor||"0 g";h.__private__.getFillColor=h.getFillColor=function(){return Ve(Kt)},h.__private__.setFillColor=h.setFillColor=function(e,t,n,i){return Kt=ze({ch1:e,ch2:t,ch3:n,ch4:i,pdfColorType:"fill",precision:2}),J(Kt),this};var Gt=e.textColor||"0 g",$t=h.__private__.getTextColor=h.getTextColor=function(){return Ve(Gt)};h.__private__.setTextColor=h.setTextColor=function(e,t,n,i){return Gt=ze({ch1:e,ch2:t,ch3:n,ch4:i,pdfColorType:"text",precision:3}),this};var Xt=e.charSpace,Jt=h.__private__.getCharSpace=h.getCharSpace=function(){return parseFloat(Xt||0)};h.__private__.setCharSpace=h.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Xt=e,this};var Zt=0;h.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},h.__private__.setLineCap=h.setLineCap=function(e){var t=h.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Zt=t,J(t+" J"),this};var en=0;h.__private__.setLineJoin=h.setLineJoin=function(e){var t=h.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return en=t,J(t+" j"),this},h.__private__.setLineMiterLimit=h.__private__.setMiterLimit=h.setLineMiterLimit=h.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return J(S(P(e))+" M"),this},h.GState=Wc,h.setGState=function(e){(e="string"==typeof e?we[je[e]]:tn(null,e)).equals(Ce)||(J("/"+e.id+" gs"),Ce=e)};var tn=function(e,t){if(!e||!je[e]){var n=!1;for(var i in we)if(we.hasOwnProperty(i)&&we[i].equals(t)){n=!0;break}if(n)t=we[i];else{var a="GS"+(Object.keys(we).length+1).toString(10);we[a]=t,t.id=a}return e&&(je[e]=t.id),Ie.publish("addGState",t),t}};h.addGState=function(e,t){return tn(e,t),this},h.saveGraphicsState=function(){return J("q"),ye.push({key:pe,size:ne,color:Gt}),this},h.restoreGraphicsState=function(){J("Q");var e=ye.pop();return pe=e.key,ne=e.size,Gt=e.color,Ce=null,this},h.setCurrentTransformationMatrix=function(e){return J(e.toString()+" cm"),this},h.comment=function(e){return J("#"+e),this};var nn=function(e,t){var n=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var i=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}});var a="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return a},set:function(e){a=e.toString()}}),this},an=function(e,t,n,i){nn.call(this,e,t),this.type="rect";var a=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return a},set:function(e){isNaN(e)||(a=parseFloat(e))}});var r=i||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}}),this},rn=function(){this.page=Se,this.currentPage=R,this.pages=K.slice(0),this.pagesContext=Ne.slice(0),this.x=he,this.y=fe,this.matrix=me,this.width=on(R),this.height=cn(R),this.outputDestination=$,this.id="",this.objectNumber=-1};rn.prototype.restore=function(){Se=this.page,R=this.currentPage,Ne=this.pagesContext,K=this.pages,he=this.x,fe=this.y,me=this.matrix,dn(R,this.width),un(R,this.height),$=this.outputDestination};var sn=function(e,t,n,i,a){ke.push(new rn),Se=R=0,K=[],he=e,fe=t,me=a,at([n,i])};for(var ln in h.beginFormObject=function(e,t,n,i,a){return sn(e,t,n,i,a),this},h.endFormObject=function(e){return function(e){if(Pe[e])ke.pop().restore();else{var t=new rn,n="Xo"+(Object.keys(Be).length+1).toString(10);t.id=n,Pe[e]=n,Be[n]=t,Ie.publish("addFormObject",t),ke.pop().restore()}}(e),this},h.doFormObject=function(e,t){var n=Be[Pe[e]];return J("q"),J(t.toString()+" cm"),J("/"+n.id+" Do"),J("Q"),this},h.getFormObject=function(e){var t=Be[Pe[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},h.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(jc(mt(ft()),e),"function"==typeof jc.unload&&vc.setTimeout&&setTimeout(jc.unload,911),this):new Promise((function(t,n){try{var i=jc(mt(ft()),e);"function"==typeof jc.unload&&vc.setTimeout&&setTimeout(jc.unload,911),t(i)}catch(a){n(a.message)}}))},$c.API)$c.API.hasOwnProperty(ln)&&("events"===ln&&$c.API.events.length?function(e,t){var n,i,a;for(a=t.length-1;-1!==a;a--)n=t[a][0],i=t[a][1],e.subscribe.apply(e,[n].concat("function"==typeof i?[i]:i))}(Ie,$c.API.events):h[ln]=$c.API[ln]);function on(e){return Ne[e].mediaBox.topRightX-Ne[e].mediaBox.bottomLeftX}function dn(e,t){Ne[e].mediaBox.topRightX=t+Ne[e].mediaBox.bottomLeftX}function cn(e){return Ne[e].mediaBox.topRightY-Ne[e].mediaBox.bottomLeftY}function un(e,t){Ne[e].mediaBox.topRightY=t+Ne[e].mediaBox.bottomLeftY}var pn=h.getPageWidth=function(e){return on(e=e||R)/Ae},An=h.setPageWidth=function(e,t){dn(e,t*Ae)},hn=h.getPageHeight=function(e){return cn(e=e||R)/Ae},fn=h.setPageHeight=function(e,t){un(e,t*Ae)};return h.internal={pdfEscape:it,getStyle:St,getFont:Lt,getFontSize:ae,getCharSpace:Jt,getTextColor:$t,getLineHeight:Rt,getLineHeightFactor:Ht,getLineWidth:Ot,write:Z,getHorizontalCoordinate:Vt,getVerticalCoordinate:zt,getCoordinateString:qt,getVerticalCoordinateString:Wt,collections:{},newObject:_e,newAdditionalObject:Re,newObjectDeferred:Oe,newObjectDeferredBegin:Me,getFilters:qe,putStream:We,events:Ie,scaleFactor:Ae,pageSize:{getWidth:function(){return pn(R)},setWidth:function(e){An(R,e)},getHeight:function(){return hn(R)},setHeight:function(e){fn(R,e)}},encryptionOptions:c,encryption:yt,getEncryptor:function(e){return null!==c?yt.encryptor(e,0):function(e){return e}},output:vt,getNumberOfPages:ot,pages:K,out:J,f2:F,f3:B,getPageInfo:xt,getPageInfoByObjId:bt,getCurrentPageInfo:wt,getPDFVersion:m,Point:nn,Rectangle:an,Matrix:Te,hasHotfix:gt},Object.defineProperty(h.internal.pageSize,"width",{get:function(){return pn(R)},set:function(e){An(R,e)},enumerable:!0,configurable:!0}),Object.defineProperty(h.internal.pageSize,"height",{get:function(){return hn(R)},set:function(e){fn(R,e)},enumerable:!0,configurable:!0}),function(e){for(var t=0,n=te.length;t<n;t++){var i=nt.call(this,e[t][0],e[t][1],e[t][2],te[t][3],!0);!1===u&&(A[i]=!0);var a=e[t][0].split("-");tt({id:i,fontName:a[0],fontStyle:a[1]||""})}Ie.publish("addFonts",{fonts:ve,dictionary:ge})}.call(h,te),pe="F1",rt(a,n),Ie.publish("initialized"),h}Vc.prototype.lsbFirstWord=function(e){return String.fromCharCode(255&e,e>>8&255,e>>16&255,e>>24&255)},Vc.prototype.toHexString=function(e){return e.split("").map((function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)})).join("")},Vc.prototype.hexToBytes=function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(String.fromCharCode(parseInt(e.substr(n,2),16)));return t.join("")},Vc.prototype.processOwnerPassword=function(e,t){return Qc(Oc(t).substr(0,5),e)},Vc.prototype.encryptor=function(e,t){var n=Oc(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return Qc(n,e)}},Wc.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||p(e)!==p(this))return!1;var i=0;for(t in this)if(!(n.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;i++}for(t in e)e.hasOwnProperty(t)&&n.indexOf(t)<0&&i--;return 0===i},$c.API={events:[]},$c.version="3.0.3";var Xc=$c.API,Jc=1,Zc=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},eu=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},tu=function(e){return e.toFixed(2)},nu=function(e){return e.toFixed(5)};Xc.__acroform__={};var iu=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},au=function(e){return e*Jc},ru=function(e){var t=new bu,n=Lu.internal.getHeight(e)||0,i=Lu.internal.getWidth(e)||0;return t.BBox=[0,0,Number(tu(i)),Number(tu(n))],t},su=Xc.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},lu=Xc.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},ou=Xc.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return e&1<<t?1:0},du=Xc.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return ou(e,t-1)},cu=Xc.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return su(e,t-1)},uu=Xc.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return lu(e,t-1)},pu=Xc.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,i=t.internal.getVerticalCoordinate,a=e[0],r=e[1],s=e[2],l=e[3],o={};return o.lowerLeft_X=n(a)||0,o.lowerLeft_Y=i(r+l)||0,o.upperRight_X=n(a+s)||0,o.upperRight_Y=i(r)||0,[Number(tu(o.lowerLeft_X)),Number(tu(o.lowerLeft_Y)),Number(tu(o.upperRight_X)),Number(tu(o.upperRight_Y))]},Au=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,i=hu(e,n),a=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+a+" "+tu(i.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(i.text),t.push("ET"),t.push("Q"),t.push("EMC");var r=ru(e);return r.scope=e.scope,r.stream=t.join("\n"),r}},hu=function(e,t){var n=0===e.fontSize?e.maxFontSize:e.fontSize,i={text:"",fontSize:""},a=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");a=e.multiline?a.map((function(e){return e.split("\n")})):a.map((function(e){return[e]}));var r=n,s=Lu.internal.getHeight(e)||0;s=s<0?-s:s;var l=Lu.internal.getWidth(e)||0;l=l<0?-l:l;var o=function(t,n,i){if(t+1<a.length){var r=n+" "+a[t+1][0];return fu(r,e,i).width<=l-4}return!1};r++;e:for(;r>0;){t="",r--;var d,c,u=fu("3",e,r).height,p=e.multiline?s-r:(s-u)/2,A=p+=2,h=0,f=0,m=0;if(r<=0){t="(...) Tj\n",t+="% Width of Text: "+fu(t,e,r=12).width+", FieldWidth:"+l+"\n";break}for(var v="",g=0,y=0;y<a.length;y++)if(a.hasOwnProperty(y)){var x=!1;if(1!==a[y].length&&m!==a[y].length-1){if((u+2)*(g+2)+2>s)continue e;v+=a[y][m],x=!0,f=y,y--}else{v=" "==(v+=a[y][m]+" ").substr(v.length-1)?v.substr(0,v.length-1):v;var b=parseInt(y),w=o(b,v,r),j=y>=a.length-1;if(w&&!j){v+=" ",m=0;continue}if(w||j){if(j)f=b;else if(e.multiline&&(u+2)*(g+2)+2>s)continue e}else{if(!e.multiline)continue e;if((u+2)*(g+2)+2>s)continue e;f=b}}for(var C="",S=h;S<=f;S++){var N=a[S];if(e.multiline){if(S===f){C+=N[m]+" ",m=(m+1)%N.length;continue}if(S===h){C+=N[N.length-1]+" ";continue}}C+=N[0]+" "}switch(C=" "==C.substr(C.length-1)?C.substr(0,C.length-1):C,c=fu(C,e,r).width,e.textAlign){case"right":d=l-c-2;break;case"center":d=(l-c)/2;break;default:d=2}t+=tu(d)+" "+tu(A)+" Td\n",t+="("+Zc(C)+") Tj\n",t+=-tu(d)+" 0 Td\n",A=-(r+2),c=0,h=x?f:f+1,g++,v=""}break}return i.text=t,i.fontSize=r,i},fu=function(e,t,n){var i=t.scope.internal.getFont(t.fontName,t.fontStyle),a=t.scope.getStringUnitWidth(e,{font:i,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:i,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:a}},mu={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},vu=function(e,t){var n={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find((function(e){return e.type===n.type&&e.object===n.object}))&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},gu=Xc.__acroform__.arrayToPdfArray=function(e,t,n){var i=function(e){return e};if(Array.isArray(e)){for(var a="[",r=0;r<e.length;r++)switch(0!==r&&(a+=" "),p(e[r])){case"boolean":case"number":case"object":a+=e[r].toString();break;case"string":"/"!==e[r].substr(0,1)?(void 0!==t&&n&&(i=n.internal.getEncryptor(t)),a+="("+Zc(i(e[r].toString()))+")"):a+=e[r].toString()}return a+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},yu=function(e,t,n){var i=function(e){return e};return void 0!==t&&n&&(i=n.internal.getEncryptor(t)),(e=e||"").toString(),"("+Zc(i(e))+")"},xu=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};xu.prototype.toString=function(){return this.objId+" 0 R"},xu.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},xu.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter((function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)}));for(var n in t)if(!1===Object.getOwnPropertyDescriptor(this,t[n]).configurable){var i=t[n],a=this[i];a&&(Array.isArray(a)?e.push({key:i,value:gu(a,this.objId,this.scope)}):a instanceof xu?(a.scope=this.scope,e.push({key:i,value:a.objId+" 0 R"})):"function"!=typeof a&&e.push({key:i,value:a}))}return e};var bu=function(){xu.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};iu(bu,xu);var wu=function(){xu.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Zc(t(e))+")"}},set:function(t){e=t}})};iu(wu,xu);var ju=function e(){xu.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(t,3))},set:function(e){!0===Boolean(e)?this.F=cu(t,3):this.F=uu(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');n=e}});var i=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==i.length)return i},set:function(e){i=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[0])?0:i[0]},set:function(e){i[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[1])?0:i[1]},set:function(e){i[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[2])?0:i[2]},set:function(e){i[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[3])?0:i[3]},set:function(e){i[3]=e}});var a="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return a},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":a=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var r=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!r||r.length<1){if(this instanceof ku)return;r="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Zc(t(r))+")"},set:function(e){r=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return r},set:function(e){r=e}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var l="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var o=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return o},set:function(e){o=e}});var d=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===d?50/Jc:d},set:function(e){d=e}});var c="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return c},set:function(e){c=e}});var u="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!u||this instanceof ku||this instanceof Eu))return yu(u,this.objId,this.scope)},set:function(e){e=e.toString(),u=e}});var p=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof Fu==0?yu(p,this.objId,this.scope):p},set:function(e){e=e.toString(),p=this instanceof Fu==0?"("===e.substr(0,1)?eu(e.substr(1,e.length-2)):eu(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Fu==1?eu(p.substr(1,p.length-1)):p},set:function(e){e=e.toString(),p=this instanceof Fu==1?"/"+e:e}});var A=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(A)return A},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(A)return this instanceof Fu==0?yu(A,this.objId,this.scope):A},set:function(e){e=e.toString(),A=this instanceof Fu==0?"("===e.substr(0,1)?eu(e.substr(1,e.length-2)):eu(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Fu==1?eu(A.substr(1,A.length-1)):A},set:function(e){e=e.toString(),A=this instanceof Fu==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var h,f=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return f},set:function(e){e=Boolean(e),f=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(h)return h},set:function(e){h=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,1):this.Ff=uu(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,2):this.Ff=uu(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,3):this.Ff=uu(this.Ff,3)}});var m=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==m)return m},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');m=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(m){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:m=2;break;case"center":case 1:m=1;break;default:m=0}}})};iu(ju,xu);var Cu=function(){ju.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return gu(t,this.objId,this.scope)},set:function(e){var n,i;i=[],"string"==typeof(n=e)&&(i=function(e,t,n){n||(n=1);for(var i,a=[];i=t.exec(e);)a.push(i[n]);return a}(n,/\((.*?)\)/g)),t=i}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,n){for(n=n||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,18):this.Ff=uu(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=cu(this.Ff,19):this.Ff=uu(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=cu(this.Ff,20),t.sort()):this.Ff=uu(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,22):this.Ff=uu(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,23):this.Ff=uu(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,27):this.Ff=uu(this.Ff,27)}}),this.hasAppearanceStream=!1};iu(Cu,ju);var Su=function(){Cu.call(this),this.fontName="helvetica",this.combo=!1};iu(Su,Cu);var Nu=function(){Su.call(this),this.combo=!0};iu(Nu,Su);var Iu=function(){Nu.call(this),this.edit=!0};iu(Iu,Nu);var Fu=function(){ju.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,15):this.Ff=uu(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,16):this.Ff=uu(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,17):this.Ff=uu(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,26):this.Ff=uu(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var n,i=[];for(n in i.push("<<"),t)i.push("/"+n+" ("+Zc(e(t[n]))+")");return i.push(">>"),i.join("\n")}},set:function(e){"object"===p(e)&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};iu(Fu,ju);var Bu=function(){Fu.call(this),this.pushButton=!0};iu(Bu,Fu);var Pu=function(){Fu.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};iu(Pu,Fu);var ku=function(){var e,t;ju.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var n,i={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,n=[];for(t in n.push("<<"),i)n.push("/"+t+" ("+Zc(e(i[t]))+")");return n.push(">>"),n.join("\n")},set:function(e){"object"===p(e)&&(i=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return i.CA||""},set:function(e){"string"==typeof e&&(i.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Lu.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};iu(ku,ju),Pu.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},Pu.prototype.createOption=function(e){var t=new ku;return t.Parent=this,t.optionName=e,this.Kids.push(t),Uu.call(this.scope,t),t};var Tu=function(){Fu.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Lu.CheckBox.createAppearanceStream()};iu(Tu,Fu);var Eu=function(){ju.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,13):this.Ff=uu(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,21):this.Ff=uu(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,23):this.Ff=uu(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,24):this.Ff=uu(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,25):this.Ff=uu(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,26):this.Ff=uu(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};iu(Eu,ju);var Du=function(){Eu.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(du(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=cu(this.Ff,14):this.Ff=uu(this.Ff,14)}}),this.password=!0};iu(Du,Eu);var Lu={CheckBox:{createAppearanceStream:function(){return{N:{On:Lu.CheckBox.YesNormal},D:{On:Lu.CheckBox.YesPushDown,Off:Lu.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=ru(e);t.scope=e.scope;var n=[],i=e.scope.internal.getFont(e.fontName,e.fontStyle).id,a=e.scope.__private__.encodeColorString(e.color),r=hu(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+tu(Lu.internal.getWidth(e))+" "+tu(Lu.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+i+" "+tu(r.fontSize)+" Tf "+a),n.push("BT"),n.push(r.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join("\n"),t},YesNormal:function(e){var t=ru(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),a=[],r=Lu.internal.getHeight(e),s=Lu.internal.getWidth(e),l=hu(e,e.caption);return a.push("1 g"),a.push("0 0 "+tu(s)+" "+tu(r)+" re"),a.push("f"),a.push("q"),a.push("0 0 1 rg"),a.push("0 0 "+tu(s-1)+" "+tu(r-1)+" re"),a.push("W"),a.push("n"),a.push("0 g"),a.push("BT"),a.push("/"+n+" "+tu(l.fontSize)+" Tf "+i),a.push(l.text),a.push("ET"),a.push("Q"),t.stream=a.join("\n"),t},OffPushDown:function(e){var t=ru(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+tu(Lu.internal.getWidth(e))+" "+tu(Lu.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:Lu.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=Lu.RadioButton.Circle.YesNormal,t.D[e]=Lu.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=ru(e);t.scope=e.scope;var n=[],i=Lu.internal.getWidth(e)<=Lu.internal.getHeight(e)?Lu.internal.getWidth(e)/4:Lu.internal.getHeight(e)/4;i=Number((.9*i).toFixed(5));var a=Lu.internal.Bezier_C,r=Number((i*a).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+nu(Lu.internal.getWidth(e)/2)+" "+nu(Lu.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+r+" "+r+" "+i+" 0 "+i+" c"),n.push("-"+r+" "+i+" -"+i+" "+r+" -"+i+" 0 c"),n.push("-"+i+" -"+r+" -"+r+" -"+i+" 0 -"+i+" c"),n.push(r+" -"+i+" "+i+" -"+r+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=ru(e);t.scope=e.scope;var n=[],i=Lu.internal.getWidth(e)<=Lu.internal.getHeight(e)?Lu.internal.getWidth(e)/4:Lu.internal.getHeight(e)/4;i=Number((.9*i).toFixed(5));var a=Number((2*i).toFixed(5)),r=Number((a*Lu.internal.Bezier_C).toFixed(5)),s=Number((i*Lu.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+nu(Lu.internal.getWidth(e)/2)+" "+nu(Lu.internal.getHeight(e)/2)+" cm"),n.push(a+" 0 m"),n.push(a+" "+r+" "+r+" "+a+" 0 "+a+" c"),n.push("-"+r+" "+a+" -"+a+" "+r+" -"+a+" 0 c"),n.push("-"+a+" -"+r+" -"+r+" -"+a+" 0 -"+a+" c"),n.push(r+" -"+a+" "+a+" -"+r+" "+a+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+nu(Lu.internal.getWidth(e)/2)+" "+nu(Lu.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+s+" "+s+" "+i+" 0 "+i+" c"),n.push("-"+s+" "+i+" -"+i+" "+s+" -"+i+" 0 c"),n.push("-"+i+" -"+s+" -"+s+" -"+i+" 0 -"+i+" c"),n.push(s+" -"+i+" "+i+" -"+s+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=ru(e);t.scope=e.scope;var n=[],i=Lu.internal.getWidth(e)<=Lu.internal.getHeight(e)?Lu.internal.getWidth(e)/4:Lu.internal.getHeight(e)/4;i=Number((.9*i).toFixed(5));var a=Number((2*i).toFixed(5)),r=Number((a*Lu.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+nu(Lu.internal.getWidth(e)/2)+" "+nu(Lu.internal.getHeight(e)/2)+" cm"),n.push(a+" 0 m"),n.push(a+" "+r+" "+r+" "+a+" 0 "+a+" c"),n.push("-"+r+" "+a+" -"+a+" "+r+" -"+a+" 0 c"),n.push("-"+a+" -"+r+" -"+r+" -"+a+" 0 -"+a+" c"),n.push(r+" -"+a+" "+a+" -"+r+" "+a+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:Lu.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=Lu.RadioButton.Cross.YesNormal,t.D[e]=Lu.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=ru(e);t.scope=e.scope;var n=[],i=Lu.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+tu(Lu.internal.getWidth(e)-2)+" "+tu(Lu.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(tu(i.x1.x)+" "+tu(i.x1.y)+" m"),n.push(tu(i.x2.x)+" "+tu(i.x2.y)+" l"),n.push(tu(i.x4.x)+" "+tu(i.x4.y)+" m"),n.push(tu(i.x3.x)+" "+tu(i.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=ru(e);t.scope=e.scope;var n=Lu.internal.calculateCross(e),i=[];return i.push("0.749023 g"),i.push("0 0 "+tu(Lu.internal.getWidth(e))+" "+tu(Lu.internal.getHeight(e))+" re"),i.push("f"),i.push("q"),i.push("1 1 "+tu(Lu.internal.getWidth(e)-2)+" "+tu(Lu.internal.getHeight(e)-2)+" re"),i.push("W"),i.push("n"),i.push(tu(n.x1.x)+" "+tu(n.x1.y)+" m"),i.push(tu(n.x2.x)+" "+tu(n.x2.y)+" l"),i.push(tu(n.x4.x)+" "+tu(n.x4.y)+" m"),i.push(tu(n.x3.x)+" "+tu(n.x3.y)+" l"),i.push("s"),i.push("Q"),t.stream=i.join("\n"),t},OffPushDown:function(e){var t=ru(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+tu(Lu.internal.getWidth(e))+" "+tu(Lu.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};Lu.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=Lu.internal.getWidth(e),n=Lu.internal.getHeight(e),i=Math.min(t,n);return{x1:{x:(t-i)/2,y:(n-i)/2+i},x2:{x:(t-i)/2+i,y:(n-i)/2},x3:{x:(t-i)/2,y:(n-i)/2},x4:{x:(t-i)/2+i,y:(n-i)/2+i}}}},Lu.internal.getWidth=function(e){var t=0;return"object"===p(e)&&(t=au(e.Rect[2])),t},Lu.internal.getHeight=function(e){var t=0;return"object"===p(e)&&(t=au(e.Rect[3])),t};var Uu=Xc.addField=function(e){if(function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(ju.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(mu)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Jc=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new wu,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",(function(){var t;(t=e).internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0})),e.internal.events.subscribe("buildDocument",(function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];i.objId=void 0,i.hasAnnotation&&vu(i,e)}}(e)})),e.internal.events.subscribe("putCatalog",(function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)})),e.internal.events.subscribe("postPutPages",(function(t){!function(e,t){var n=!e;for(var i in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(i)){var a=e[i],r=[],s=a.Rect;if(a.Rect&&(a.Rect=pu(a.Rect,t)),t.internal.newObjectDeferredBegin(a.objId,!0),a.DA=Lu.createDefaultAppearanceStream(a),"object"===p(a)&&"function"==typeof a.getKeyValueListForStream&&(r=a.getKeyValueListForStream()),a.Rect=s,a.hasAppearanceStream&&!a.appearanceStreamContent){var l=Au(a);r.push({key:"AP",value:"<</N "+l+">>"}),t.internal.acroformPlugin.xForms.push(l)}if(a.appearanceStreamContent){var o="";for(var d in a.appearanceStreamContent)if(a.appearanceStreamContent.hasOwnProperty(d)){var c=a.appearanceStreamContent[d];if(o+="/"+d+" ",o+="<<",Object.keys(c).length>=1||Array.isArray(c)){for(var i in c)if(c.hasOwnProperty(i)){var u=c[i];"function"==typeof u&&(u=u.call(t,a)),o+="/"+i+" "+u+" ",t.internal.acroformPlugin.xForms.indexOf(u)>=0||t.internal.acroformPlugin.xForms.push(u)}}else"function"==typeof(u=c)&&(u=u.call(t,a)),o+="/"+i+" "+u,t.internal.acroformPlugin.xForms.indexOf(u)>=0||t.internal.acroformPlugin.xForms.push(u);o+=">>"}r.push({key:"AP",value:"<<\n"+o+">>"})}t.internal.putStream({additionalKeyValues:r,objectId:a.objId}),t.internal.out("endobj")}n&&function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var i=n,a=e[n];t.internal.newObjectDeferredBegin(a.objId,!0),"object"===p(a)&&"function"==typeof a.putStream&&a.putStream(),delete e[i]}}(t.internal.acroformPlugin.xForms,t)}(t,e)})),e.internal.acroformPlugin.isInitialized=!0}}(this,e),!(e instanceof ju))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};Xc.AcroFormChoiceField=Cu,Xc.AcroFormListBox=Su,Xc.AcroFormComboBox=Nu,Xc.AcroFormEditBox=Iu,Xc.AcroFormButton=Fu,Xc.AcroFormPushButton=Bu,Xc.AcroFormRadioButton=Pu,Xc.AcroFormCheckBox=Tu,Xc.AcroFormTextField=Eu,Xc.AcroFormPasswordField=Du,Xc.AcroFormAppearance=Lu,Xc.AcroForm={ChoiceField:Cu,ListBox:Su,ComboBox:Nu,EditBox:Iu,Button:Fu,PushButton:Bu,RadioButton:Pu,CheckBox:Tu,TextField:Eu,PasswordField:Du,Appearance:Lu},$c.AcroForm={ChoiceField:Cu,ListBox:Su,ComboBox:Nu,EditBox:Iu,Button:Fu,PushButton:Bu,RadioButton:Pu,CheckBox:Tu,TextField:Eu,PasswordField:Du,Appearance:Lu};var _u,Ou,Mu=$c.AcroForm;function Ru(e){return e.reduce((function(e,t,n){return e[t]=n,e}),{})}!function(e){var t="addImage_";e.__addimage__={};var n="UNKNOWN",i={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},a=e.__addimage__.getImageFileTypeByImageData=function(e,t){var a,r,s,l,o,d=n;if("RGBA"===(t=t||n)||void 0!==e.data&&e.data instanceof Uint8ClampedArray&&"height"in e&&"width"in e)return"RGBA";if(j(e))for(o in i)for(s=i[o],a=0;a<s.length;a+=1){for(l=!0,r=0;r<s[a].length;r+=1)if(void 0!==s[a][r]&&s[a][r]!==e[r]){l=!1;break}if(!0===l){d=o;break}}else for(o in i)for(s=i[o],a=0;a<s.length;a+=1){for(l=!0,r=0;r<s[a].length;r+=1)if(void 0!==s[a][r]&&s[a][r]!==e.charCodeAt(r)){l=!1;break}if(!0===l){d=o;break}}return d===n&&t!==n&&(d=t),d},r=function e(t){for(var n=this.internal.write,i=this.internal.putStream,a=(0,this.internal.getFilters)();-1!==a.indexOf("FlateEncode");)a.splice(a.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var r=[];if(r.push({key:"Type",value:"/XObject"}),r.push({key:"Subtype",value:"/Image"}),r.push({key:"Width",value:t.width}),r.push({key:"Height",value:t.height}),t.colorSpace===g.INDEXED?r.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(r.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===g.DEVICE_CMYK&&r.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),r.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&r.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)&&t.transparency.length>0){for(var s="",l=0,o=t.transparency.length;l<o;l++)s+=t.transparency[l]+" "+t.transparency[l]+" ";r.push({key:"Mask",value:"["+s+"]"})}void 0!==t.sMask&&r.push({key:"SMask",value:t.objectId+1+" 0 R"});var d=void 0!==t.filter?["/"+t.filter]:void 0;if(i({data:t.data,additionalKeyValues:r,alreadyAppliedFilters:d,objectId:t.objectId}),n("endobj"),"sMask"in t&&void 0!==t.sMask){var c,u=null!==(c=t.sMaskBitsPerComponent)&&void 0!==c?c:t.bitsPerComponent,p={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:u,data:t.sMask};"filter"in t&&(p.decodeParameters="/Predictor ".concat(t.predictor," /Colors 1 /BitsPerComponent ").concat(u," /Columns ").concat(t.width),p.filter=t.filter),e.call(this,p)}if(t.colorSpace===g.INDEXED){var A=this.internal.newObject();i({data:S(new Uint8Array(t.palette)),objectId:A}),n("endobj")}},s=function(){var e=this.internal.collections[t+"images"];for(var n in e)r.call(this,e[n])},l=function(){var e,n=this.internal.collections[t+"images"],i=this.internal.write;for(var a in n)i("/I"+(e=n[a]).index,e.objectId,"0","R")},o=function(){this.internal.collections[t+"images"]||(this.internal.collections[t+"images"]={},this.internal.events.subscribe("putResources",s),this.internal.events.subscribe("putXobjectDict",l))},d=function(){var e=this.internal.collections[t+"images"];return o.call(this),e},c=function(){return Object.keys(this.internal.collections[t+"images"]).length},u=function(t){return"function"==typeof e["process"+t.toUpperCase()]},A=function(e){return"object"===p(e)&&1===e.nodeType},h=function(t,n){if("IMG"===t.nodeName&&t.hasAttribute("src")){var i=""+t.getAttribute("src");if(0===i.indexOf("data:image/"))return Sc(unescape(i).split("base64,").pop());var a=e.loadFile(i,!0);if(void 0!==a)return a}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw new Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);var r;switch(n){case"PNG":r="image/png";break;case"WEBP":r="image/webp";break;default:r="image/jpeg"}return Sc(t.toDataURL(r,1).split("base64,").pop())}},f=function(e){var n=this.internal.collections[t+"images"];if(n)for(var i in n)if(e===n[i].alias)return n[i]},m=function(e,t,n){return e||t||(e=-96,t=-96),e<0&&(e=-1*n.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.height*72/t/this.internal.scaleFactor),0===e&&(e=t*n.width/n.height),0===t&&(t=e*n.height/n.width),[e,t]},v=function(e,t,n,i,a,r){var s=m.call(this,n,i,a),l=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString,c=d.call(this);if(n=s[0],i=s[1],c[a.index]=a,r){r*=Math.PI/180;var u=Math.cos(r),p=Math.sin(r),A=function(e){return e.toFixed(4)},h=[A(u),A(p),A(-1*p),A(u),0,0,"cm"]}this.internal.write("q"),r?(this.internal.write([1,"0","0",1,l(e),o(t+i),"cm"].join(" ")),this.internal.write(h.join(" ")),this.internal.write([l(n),"0","0",l(i),"0","0","cm"].join(" "))):this.internal.write([l(n),"0","0",l(i),l(e),o(t+i),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+a.index+" Do"),this.internal.write("Q")},g=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var y=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},x=e.__addimage__.sHashCode=function(e){var t,n,i=0;if("string"==typeof e)for(n=e.length,t=0;t<n;t++)i=(i<<5)-i+e.charCodeAt(t),i|=0;else if(j(e))for(n=e.byteLength/2,t=0;t<n;t++)i=(i<<5)-i+e[t],i|=0;return i},b=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},w=e.__addimage__.extractImageFromDataUrl=function(e){if(null==e)return null;if(!(e=e.trim()).startsWith("data:"))return null;var t=e.indexOf(",");return t<0?null:e.substring(0,t).trim().endsWith("base64")?e.substring(t+1):null};e.__addimage__.isArrayBuffer=function(e){return e instanceof ArrayBuffer};var j=e.__addimage__.isArrayBufferView=function(e){return e instanceof Int8Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array},C=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,n=new Uint8Array(t),i=0;i<t;i++)n[i]=e.charCodeAt(i);return n},S=e.__addimage__.arrayBufferToBinaryString=function(e){for(var t="",n=j(e)?e:new Uint8Array(e),i=0;i<n.length;i+=8192)t+=String.fromCharCode.apply(null,n.subarray(i,i+8192));return t};e.addImage=function(){var e,t,i,a,r,s,l,d,c;if("number"==typeof arguments[1]?(t=n,i=arguments[1],a=arguments[2],r=arguments[3],s=arguments[4],l=arguments[5],d=arguments[6],c=arguments[7]):(t=arguments[1],i=arguments[2],a=arguments[3],r=arguments[4],s=arguments[5],l=arguments[6],d=arguments[7],c=arguments[8]),"object"===p(e=arguments[0])&&!A(e)&&"imageData"in e){var u=e;e=u.imageData,t=u.format||t||n,i=u.x||i||0,a=u.y||a||0,r=u.w||u.width||r,s=u.h||u.height||s,l=u.alias||l,d=u.compression||d,c=u.rotation||u.angle||c}var h=this.internal.getFilters();if(void 0===d&&-1!==h.indexOf("FlateEncode")&&(d="SLOW"),isNaN(i)||isNaN(a))throw new Error("Invalid coordinates passed to jsPDF.addImage");o.call(this);var f=N.call(this,e,t,l,d);return v.call(this,i,a,r,s,f,c),this};var N=function(t,i,r,s){var l,o,d,p;if("string"==typeof t&&a(t)===n){t=unescape(t);var m=I(t,!1);(""!==m||void 0!==(m=e.loadFile(t,!0)))&&(t=m)}if(A(t)&&(t=h(t,i)),i=a(t,i),!u(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if((null==(d=r)||0===d.length)&&(r="string"==typeof(p=t)||j(p)?x(p):j(p.data)?x(p.data):null),(l=f.call(this,r))||(t instanceof Uint8Array||"RGBA"===i||(o=t,t=C(t)),l=this["process"+i.toUpperCase()](t,c.call(this),r,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:y.NONE}(s),o)),!l)throw new Error("An unknown error occurred whilst processing the image.");return l},I=e.__addimage__.convertBase64ToBinaryString=function(e,t){t="boolean"!=typeof t||t;var n,i="";if("string"==typeof e){var a;n=null!==(a=w(e))&&void 0!==a?a:e;try{i=Sc(n)}catch(r){if(t)throw b(n)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+r.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return i};e.getImageProperties=function(t){var i,r,s="";if(A(t)&&(t=h(t)),"string"==typeof t&&a(t)===n&&(""===(s=I(t,!1))&&(s=e.loadFile(t)||""),t=s),r=a(t),!u(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if(t instanceof Uint8Array||(t=C(t)),!(i=this["process"+r.toUpperCase()](t)))throw new Error("An unknown error occurred whilst processing the image");return i.fileType=r,i}}($c.API), +/** + * @license + * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +_u=$c.API,Ou=function(e){if(void 0!==e&&""!=e)return!0},$c.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),_u.events.push(["putPage",function(e){for(var t,n,i,a=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(e.objId),l=e.pageContext.annotations,o=!1,d=0;d<l.length&&!o;d++)switch((t=l[d]).type){case"link":(Ou(t.options.url)||Ou(t.options.pageNumber))&&(o=!0);break;case"reference":case"text":case"freetext":o=!0}if(0!=o){this.internal.write("/Annots [");for(var c=0;c<l.length;c++){t=l[c];var u=this.internal.pdfEscape,p=this.internal.getEncryptor(e.objId);switch(t.type){case"reference":this.internal.write(" "+t.object.objId+" 0 R ");break;case"text":var A=this.internal.newAdditionalObject(),h=this.internal.newAdditionalObject(),f=this.internal.getEncryptor(A.objId),m=t.title||"Note";i="<</Type /Annot /Subtype /Text "+(n="/Rect ["+a(t.bounds.x)+" "+r(t.bounds.y+t.bounds.h)+" "+a(t.bounds.x+t.bounds.w)+" "+r(t.bounds.y)+"] ")+"/Contents ("+u(f(t.contents))+")",i+=" /Popup "+h.objId+" 0 R",i+=" /P "+s.objId+" 0 R",i+=" /T ("+u(f(m))+") >>",A.content=i;var v=A.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+a(t.bounds.x+30)+" "+r(t.bounds.y+t.bounds.h)+" "+a(t.bounds.x+t.bounds.w+30)+" "+r(t.bounds.y)+"] ")+" /Parent "+v,t.open&&(i+=" /Open true"),i+=" >>",h.content=i,this.internal.write(A.objId,"0 R",h.objId,"0 R");break;case"freetext":n="/Rect ["+a(t.bounds.x)+" "+r(t.bounds.y)+" "+a(t.bounds.x+t.bounds.w)+" "+r(t.bounds.y+t.bounds.h)+"] ";var g=t.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+u(p(t.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+g+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(t.options.name){var y=this.annotations._nameMap[t.options.name];t.options.pageNumber=y.page,t.options.top=y.y}else t.options.top||(t.options.top=0);if(n="/Rect ["+t.finalBounds.x+" "+t.finalBounds.y+" "+t.finalBounds.w+" "+t.finalBounds.h+"] ",i="",t.options.url)i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+u(p(t.options.url))+") >>";else if(t.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(t.options.pageNumber).objId+" 0 R",t.options.magFactor=t.options.magFactor||"XYZ",t.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+t.options.top+"]";break;case"FitV":t.options.left=t.options.left||0,i+=" /FitV "+t.options.left+"]";break;default:var x=r(t.options.top);t.options.left=t.options.left||0,void 0===t.options.zoom&&(t.options.zoom=0),i+=" /XYZ "+t.options.left+" "+x+" "+t.options.zoom+"]"}""!=i&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),_u.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},_u.link=function(e,t,n,i,a){var r=this.internal.getCurrentPageInfo(),s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString;r.pageContext.annotations.push({finalBounds:{x:s(e),y:l(t),w:s(e+n),h:l(t+i)},options:a,type:"link"})},_u.textWithLink=function(e,t,n,i){var a,r,s=this.getTextWidth(e),l=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==i.maxWidth){r=i.maxWidth;var o=this.splitTextToSize(e,r).length;a=Math.ceil(l*o)}else r=s,a=l;return this.text(e,t,n,i),n+=.2*l,"center"===i.align&&(t-=s/2),"right"===i.align&&(t-=s),this.link(t,n-l,r,a,i),s},_u.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}, +/** + * @license + * Copyright (c) 2017 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},i={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},a=[1570,1571,1573,1575];e.__arabicParser__={};var r=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},s=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},l=e.__arabicParser__.isArabicEndLetter=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length<=2},o=e.__arabicParser__.isArabicAlfLetter=function(e){return s(e)&&a.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length>=1};var d=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length>=3};var c=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return s(e)&&r(e)&&4==t[e.charCodeAt(0)].length},u=e.__arabicParser__.resolveLigatures=function(e){var t=0,i=n,a="",r=0;for(t=0;t<e.length;t+=1)void 0!==i[e.charCodeAt(t)]?(r++,"number"==typeof(i=i[e.charCodeAt(t)])&&(a+=String.fromCharCode(i),i=n,r=0),t===e.length-1&&(i=n,a+=e.charAt(t-(r-1)),t-=r-1,r=0)):(i=n,a+=e.charAt(t-r),t-=r,r=0);return a};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==i[e.charCodeAt(0)]};var p=e.__arabicParser__.getCorrectForm=function(e,t,n){return s(e)?!1===r(e)?-1:!d(e)||!s(t)&&!s(n)||!s(n)&&l(t)||l(e)&&!s(t)||l(e)&&o(t)||l(e)&&l(t)?0:c(e)&&s(t)&&!l(t)&&s(n)&&d(n)?3:l(e)||!s(n)?1:2:-1},A=function(e){var n=0,i=0,a=0,r="",l="",o="",d=(e=e||"").split("\\s+"),c=[];for(n=0;n<d.length;n+=1){for(c.push(""),i=0;i<d[n].length;i+=1)r=d[n][i],l=d[n][i-1],o=d[n][i+1],s(r)?(a=p(r,l,o),c[n]+=-1!==a?String.fromCharCode(t[r.charCodeAt(0)][a]):r):c[n]+=r;c[n]=u(c[n])}return c.join(" ")},h=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,n=[];if(Array.isArray(t)){var i=0;for(n=[],i=0;i<t.length;i+=1)Array.isArray(t[i])?n.push([A(t[i][0]),t[i][1],t[i][2]]):n.push([A(t[i])]);e=n}else e=A(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",h])}($c.API),$c.API.autoPrint=function(e){var t;return(e=e||{}).variant=e.variant||"non-conform","javascript"===e.variant?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+t+" 0 R")}))),this}, +/** + * @license + * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var i=[];Object.defineProperty(this,"childNodes",{get:function(){return i},set:function(e){i=e}});var a={};Object.defineProperty(this,"style",{get:function(){return a},set:function(e){a=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}($c.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,i=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new r,this.internal.__cell__.pages=1},r=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var i=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var a=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return a},set:function(e){a=e}});var r=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var s=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return s},set:function(e){s=e}}),this};r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},r.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return i.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){i.call(this);var n=(t=t||{}).fontSize||this.getFontSize(),a=t.font||this.getFont(),r=t.scaleFactor||this.internal.scaleFactor,s=0,l=0,o=0,d=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var c=t.maxWidth;c>0?"string"==typeof e?e=this.splitTextToSize(e,c):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(d.splitTextToSize(t,c))}),[])):e=Array.isArray(e)?e:[e];for(var u=0;u<e.length;u++)s<(o=this.getStringUnitWidth(e[u],{font:a})*n)&&(s=o);return 0!==s&&(l=e.length),{w:s/=r,h:Math.max((l*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/r,0)}},e.cellAddPage=function(){i.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new r(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=e.cell=function(){var e;e=arguments[0]instanceof r?arguments[0]:new r(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),i.call(this);var a=this.internal.__cell__.lastCell,s=this.internal.__cell__.padding,l=this.internal.__cell__.margins||t,o=this.internal.__cell__.tableHeaderRow,d=this.internal.__cell__.printHeaders;return void 0!==a.lineNumber&&(a.lineNumber===e.lineNumber?(e.x=(a.x||0)+(a.width||0),e.y=a.y||0):a.y+a.height+e.height+l.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=l.top,d&&o&&(this.printHeaderRow(e.lineNumber,!0),e.y+=o[0].height)):e.y=a.y+a.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===n?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-s,e.y+s,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+s,{align:"center",baseline:"top",maxWidth:e.width-s-s}):this.text(e.text,e.x+s,e.y+s,{align:"left",baseline:"top",maxWidth:e.width-s-s})),this.internal.__cell__.lastCell=e,this};e.table=function(e,n,o,d,c){if(i.call(this),!o)throw new Error("No data for PDF table.");var u,A,h,f,m=[],v=[],g=[],y={},x={},b=[],w=[],j=(c=c||{}).autoSize||!1,C=!1!==c.printHeaders,S=c.css&&void 0!==c.css["font-size"]?16*c.css["font-size"]:c.fontSize||12,N=c.margins||Object.assign({width:this.getPageWidth()},t),I="number"==typeof c.padding?c.padding:3,F=c.headerBackgroundColor||"#c8c8c8",B=c.headerTextColor||"#000";if(a.call(this),this.internal.__cell__.printHeaders=C,this.internal.__cell__.margins=N,this.internal.__cell__.table_font_size=S,this.internal.__cell__.padding=I,this.internal.__cell__.headerBackgroundColor=F,this.internal.__cell__.headerTextColor=B,this.setFontSize(S),null==d)v=m=Object.keys(o[0]),g=m.map((function(){return"left"}));else if(Array.isArray(d)&&"object"===p(d[0]))for(m=d.map((function(e){return e.name})),v=d.map((function(e){return e.prompt||e.name||""})),g=d.map((function(e){return e.align||"left"})),u=0;u<d.length;u+=1)x[d[u].name]=.7499990551181103*d[u].width;else Array.isArray(d)&&"string"==typeof d[0]&&(v=m=d,g=m.map((function(){return"left"})));if(j||Array.isArray(d)&&"string"==typeof d[0])for(u=0;u<m.length;u+=1){for(y[f=m[u]]=o.map((function(e){return e[f]})),this.setFont(void 0,"bold"),b.push(this.getTextDimensions(v[u],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),A=y[f],this.setFont(void 0,"normal"),h=0;h<A.length;h+=1)b.push(this.getTextDimensions(A[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);x[f]=Math.max.apply(null,b)+I+I,b=[]}if(C){var P={};for(u=0;u<m.length;u+=1)P[m[u]]={},P[m[u]].text=v[u],P[m[u]].align=g[u];var k=l.call(this,P,x);w=m.map((function(t){return new r(e,n,x[t],k,P[t].text,void 0,P[t].align)})),this.setTableHeaderRow(w),this.printHeaderRow(1,!1)}var T=d.reduce((function(e,t){return e[t.name]=t.align,e}),{});for(u=0;u<o.length;u+=1){"rowStart"in c&&c.rowStart instanceof Function&&c.rowStart({row:u,data:o[u]},this);var E=l.call(this,o[u],x);for(h=0;h<m.length;h+=1){var D=o[u][m[h]];"cellStart"in c&&c.cellStart instanceof Function&&c.cellStart({row:u,col:h,data:D},this),s.call(this,new r(e,n,x[m[h]],E,D,u+2,T[m[h]]))}}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=n,this};var l=function(e,t){var n=this.internal.__cell__.padding,i=this.internal.__cell__.table_font_size,a=this.internal.scaleFactor;return Object.keys(e).map((function(i){var a=e[i];return this.splitTextToSize(a.hasOwnProperty("text")?a.text:a,t[i]-n-n)}),this).map((function(e){return this.getLineHeightFactor()*e.length*i/a+n+n}),this).reduce((function(e,t){return Math.max(e,t)}),0)};e.setTableHeaderRow=function(e){i.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(i.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var a;if(n=!0,"function"==typeof this.internal.__cell__.headerFunction){var l=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new r(l[0],l[1],l[2],l[3],void 0,-1)}this.setFont(void 0,"bold");for(var o=[],d=0;d<this.internal.__cell__.tableHeaderRow.length;d+=1){a=this.internal.__cell__.tableHeaderRow[d].clone(),t&&(a.y=this.internal.__cell__.margins.top||0,o.push(a)),a.lineNumber=e;var c=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,a),this.setTextColor(c)}o.length>0&&this.setTableHeaderRow(o),this.setFont(void 0,"normal"),n=!1}}($c.API);var Qu={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Hu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Vu=Ru(Hu),zu=[100,200,300,400,500,600,700,800,900],qu=Ru(zu);function Wu(e){var t,n=e.family.replace(/"|'/g,"").toLowerCase(),i=(t=e.style,Qu[t=t||"normal"]?t:"normal"),a=function(e){return e?"number"==typeof e?e>=100&&e<=900&&e%100==0?e:400:/^\d00$/.test(e)?parseInt(e):"bold"===e?700:400:400}(e.weight),r=function(e){return"number"==typeof Vu[e=e||"normal"]?e:"normal"}(e.stretch);return{family:n,style:i,weight:a,stretch:r,src:e.src||[],ref:e.ref||{name:n,style:[r,i,a].join(" ")}}}function Yu(e,t,n,i){var a;for(a=n;a>=0&&a<t.length;a+=i)if(e[t[a]])return e[t[a]];for(a=n;a>=0&&a<t.length;a-=i)if(e[t[a]])return e[t[a]]}var Ku={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Gu={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function $u(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function Xu(e){return e.trimLeft()}function Ju(e,t){for(var n=0;n<e.length;){if(e.charAt(n)===t)return[e.substring(0,n),e.substring(n+1)];n+=1}return null}function Zu(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var ep,tp,np,ip,ap,rp,sp,lp,op=["times"];function dp(e,t,n,i,a){var r=4,s=pp;switch(a){case $c.API.image_compression.FAST:r=1,s=up;break;case $c.API.image_compression.MEDIUM:r=6,s=Ap;break;case $c.API.image_compression.SLOW:r=9,s=hp}e=function(e,t,n,i){for(var a,r=e.length/t,s=new Uint8Array(e.length+r),l=[cp,up,pp,Ap,hp],o=0;o<r;o+=1){var d=o*t,c=e.subarray(d,d+t);if(i)s.set(i(c,n,a),d+o);else{for(var u=l.length,p=[],A=0;A<u;A+=1)p[A]=l[A](c,n,a);var h=mp(p.concat());s.set(p[h],d+o)}a=c}return s}(e,t,Math.ceil(n*i/8),s);var l=ns(e,{level:r});return $c.API.__addimage__.arrayBufferToBinaryString(l)}function cp(e){var t=Array.apply([],e);return t.unshift(0),t}function up(e,t){var n=e.length,i=[];i[0]=1;for(var a=0;a<n;a+=1){var r=e[a-t]||0;i[a+1]=e[a]-r+256&255}return i}function pp(e,t,n){var i=e.length,a=[];a[0]=2;for(var r=0;r<i;r+=1){var s=n&&n[r]||0;a[r+1]=e[r]-s+256&255}return a}function Ap(e,t,n){var i=e.length,a=[];a[0]=3;for(var r=0;r<i;r+=1){var s=e[r-t]||0,l=n&&n[r]||0;a[r+1]=e[r]+256-(s+l>>>1)&255}return a}function hp(e,t,n){var i=e.length,a=[];a[0]=4;for(var r=0;r<i;r+=1){var s=fp(e[r-t]||0,n&&n[r]||0,n&&n[r-t]||0);a[r+1]=e[r]-s+256&255}return a}function fp(e,t,n){if(e===t&&t===n)return e;var i=Math.abs(t-n),a=Math.abs(e-n),r=Math.abs(e+t-n-n);return i<=a&&i<=r?e:a<=r?t:n}function mp(e){var t=e.map((function(e){return e.reduce((function(e,t){return e+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))}function vp(e,t,n){var i=t*n,a=Math.floor(i/8),r=16-(i-8*a+n),s=(1<<n)-1;return yp(e,a)>>r&s}function gp(e,t,n,i){var a=n*i,r=Math.floor(a/8),s=16-(a-8*r+i),l=(1<<i)-1,o=(t&l)<<s;!function(e,t,n){if(t+1<e.byteLength)e.setUint16(t,n,!1);else{var i=n>>8&255;e.setUint8(t,i)}}(e,r,yp(e,r)&~(l<<s)&65535|o)}function yp(e,t){return t+1<e.byteLength?e.getUint16(t,!1):e.getUint8(t)<<8}function xp(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,i=e[t++]|e[t++]<<8,a=e[t++],r=a>>7,s=1<<1+(7&a);e[t++],e[t++];var l=null,o=null;r&&(l=t,o=s,t+=3*s);var d=!0,c=[],u=0,p=null,A=0,h=null;for(this.width=n,this.height=i;d&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,h=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((I=e[t++])>=0))throw Error("Invalid block size");if(0===I)break;t+=I}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var f=e[t++];u=e[t++]|e[t++]<<8,p=e[t++],1&f||(p=null),A=f>>2&7,t++;break;case 254:for(;;){if(!((I=e[t++])>=0))throw Error("Invalid block size");if(0===I)break;t+=I}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var m=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,g=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,x=e[t++],b=x>>6&1,w=1<<1+(7&x),j=l,C=o,S=!1;x>>7&&(S=!0,j=t,C=w,t+=3*w);var N=t;for(t++;;){var I;if(!((I=e[t++])>=0))throw Error("Invalid block size");if(0===I)break;t+=I}c.push({x:m,y:v,width:g,height:y,has_local_palette:S,palette_offset:j,palette_size:C,data_offset:N,data_length:t-N,transparent_index:p,interlaced:!!b,delay:u,disposal:A});break;case 59:d=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return c.length},this.loopCount=function(){return h},this.frameInfo=function(e){if(e<0||e>=c.length)throw new Error("Frame index out of range.");return c[e]},this.decodeAndBlitFrameBGRA=function(t,i){var a=this.frameInfo(t),r=a.width*a.height,s=new Uint8Array(r);bp(e,a.data_offset,s,r);var l=a.palette_offset,o=a.transparent_index;null===o&&(o=256);var d=a.width,c=n-d,u=d,p=4*(a.y*n+a.x),A=4*((a.y+a.height)*n+a.x),h=p,f=4*c;!0===a.interlaced&&(f+=4*n*7);for(var m=8,v=0,g=s.length;v<g;++v){var y=s[v];if(0===u&&(u=d,(h+=f)>=A&&(f=4*c+4*n*(m-1),h=p+(d+c)*(m<<1),m>>=1)),y===o)h+=4;else{var x=e[l+3*y],b=e[l+3*y+1],w=e[l+3*y+2];i[h++]=w,i[h++]=b,i[h++]=x,i[h++]=255}--u}},this.decodeAndBlitFrameRGBA=function(t,i){var a=this.frameInfo(t),r=a.width*a.height,s=new Uint8Array(r);bp(e,a.data_offset,s,r);var l=a.palette_offset,o=a.transparent_index;null===o&&(o=256);var d=a.width,c=n-d,u=d,p=4*(a.y*n+a.x),A=4*((a.y+a.height)*n+a.x),h=p,f=4*c;!0===a.interlaced&&(f+=4*n*7);for(var m=8,v=0,g=s.length;v<g;++v){var y=s[v];if(0===u&&(u=d,(h+=f)>=A&&(f=4*c+4*n*(m-1),h=p+(d+c)*(m<<1),m>>=1)),y===o)h+=4;else{var x=e[l+3*y],b=e[l+3*y+1],w=e[l+3*y+2];i[h++]=x,i[h++]=b,i[h++]=w,i[h++]=255}--u}}}function bp(e,t,n,i){for(var a=e[t++],r=1<<a,s=r+1,l=s+1,o=a+1,d=(1<<o)-1,c=0,u=0,p=0,A=e[t++],h=new Int32Array(4096),f=null;;){for(;c<16&&0!==A;)u|=e[t++]<<c,c+=8,1===A?A=e[t++]:--A;if(c<o)break;var m=u&d;if(u>>=o,c-=o,m!==r){if(m===s)break;for(var v=m<l?m:f,g=0,y=v;y>r;)y=h[y]>>8,++g;var x=y;if(p+g+(v!==m?1:0)>i)return void yc.log("Warning, gif stream longer than expected.");n[p++]=x;var b=p+=g;for(v!==m&&(n[p++]=x),y=v;g--;)y=h[y],n[--b]=255&y,y>>=8;null!==f&&l<4096&&(h[l++]=f<<8|x,l>=d+1&&o<12&&(++o,d=d<<1|1)),f=m}else l=s+1,d=(1<<(o=a+1))-1,f=null}return p!==i&&yc.log("Warning, gif stream shorter than expected."),n +/** + * @license + Copyright (c) 2008, Adobe Systems Incorporated + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of Adobe Systems Incorporated nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/}function wp(e){var t,n,i,a,r,s=Math.floor,l=new Array(64),o=new Array(64),d=new Array(64),c=new Array(64),u=new Array(65535),p=new Array(65535),A=new Array(64),h=new Array(64),f=[],m=0,v=7,g=new Array(64),y=new Array(64),x=new Array(64),b=new Array(256),w=new Array(2048),j=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],C=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],S=[0,1,2,3,4,5,6,7,8,9,10,11],N=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],I=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],F=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],B=[0,1,2,3,4,5,6,7,8,9,10,11],P=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],k=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function T(e,t){for(var n=0,i=0,a=new Array,r=1;r<=16;r++){for(var s=1;s<=e[r];s++)a[t[i]]=[],a[t[i]][0]=n,a[t[i]][1]=r,i++,n++;n*=2}return a}function E(e){for(var t=e[0],n=e[1]-1;n>=0;)t&1<<n&&(m|=1<<v),n--,--v<0&&(255==m?(D(255),D(0)):D(m),v=7,m=0)}function D(e){f.push(e)}function L(e){D(e>>8&255),D(255&e)}function U(e,t,n,i,a){for(var r,s=a[0],l=a[240],o=function(e,t){var n,i,a,r,s,l,o,d,c,u,p=0;for(c=0;c<8;++c){n=e[p],i=e[p+1],a=e[p+2],r=e[p+3],s=e[p+4],l=e[p+5],o=e[p+6];var h=n+(d=e[p+7]),f=n-d,m=i+o,v=i-o,g=a+l,y=a-l,x=r+s,b=r-s,w=h+x,j=h-x,C=m+g,S=m-g;e[p]=w+C,e[p+4]=w-C;var N=.707106781*(S+j);e[p+2]=j+N,e[p+6]=j-N;var I=.382683433*((w=b+y)-(S=v+f)),F=.5411961*w+I,B=1.306562965*S+I,P=.707106781*(C=y+v),k=f+P,T=f-P;e[p+5]=T+F,e[p+3]=T-F,e[p+1]=k+B,e[p+7]=k-B,p+=8}for(p=0,c=0;c<8;++c){n=e[p],i=e[p+8],a=e[p+16],r=e[p+24],s=e[p+32],l=e[p+40],o=e[p+48];var E=n+(d=e[p+56]),D=n-d,L=i+o,U=i-o,_=a+l,O=a-l,M=r+s,R=r-s,Q=E+M,H=E-M,V=L+_,z=L-_;e[p]=Q+V,e[p+32]=Q-V;var q=.707106781*(z+H);e[p+16]=H+q,e[p+48]=H-q;var W=.382683433*((Q=R+O)-(z=U+D)),Y=.5411961*Q+W,K=1.306562965*z+W,G=.707106781*(V=O+U),$=D+G,X=D-G;e[p+40]=X+Y,e[p+24]=X-Y,e[p+8]=$+K,e[p+56]=$-K,p++}for(c=0;c<64;++c)u=e[c]*t[c],A[c]=u>0?u+.5|0:u-.5|0;return A}(e,t),d=0;d<64;++d)h[j[d]]=o[d];var c=h[0]-n;n=h[0],0==c?E(i[0]):(E(i[p[r=32767+c]]),E(u[r]));for(var f=63;f>0&&0==h[f];)f--;if(0==f)return E(s),n;for(var m,v=1;v<=f;){for(var g=v;0==h[v]&&v<=f;)++v;var y=v-g;if(y>=16){m=y>>4;for(var x=1;x<=m;++x)E(l);y&=15}r=32767+h[v],E(a[(y<<4)+p[r]]),E(u[r]),v++}return 63!=f&&E(s),n}function _(e){e=Math.min(Math.max(e,1),100),r!=e&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],n=0;n<64;n++){var i=s((t[n]*e+50)/100);i=Math.min(Math.max(i,1),255),l[j[n]]=i}for(var a=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],r=0;r<64;r++){var u=s((a[r]*e+50)/100);u=Math.min(Math.max(u,1),255),o[j[r]]=u}for(var p=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],A=0,h=0;h<8;h++)for(var f=0;f<8;f++)d[A]=1/(l[j[A]]*p[h]*p[f]*8),c[A]=1/(o[j[A]]*p[h]*p[f]*8),A++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),r=e)}this.encode=function(e,r){var s,u;r&&_(r),f=new Array,m=0,v=7,L(65496),L(65504),L(16),D(74),D(70),D(73),D(70),D(0),D(1),D(1),D(0),L(1),L(1),D(0),D(0),function(){L(65499),L(132),D(0);for(var e=0;e<64;e++)D(l[e]);D(1);for(var t=0;t<64;t++)D(o[t])}(),s=e.width,u=e.height,L(65472),L(17),D(8),L(u),L(s),D(3),D(1),D(17),D(0),D(2),D(17),D(1),D(3),D(17),D(1),function(){L(65476),L(418),D(0);for(var e=0;e<16;e++)D(C[e+1]);for(var t=0;t<=11;t++)D(S[t]);D(16);for(var n=0;n<16;n++)D(N[n+1]);for(var i=0;i<=161;i++)D(I[i]);D(1);for(var a=0;a<16;a++)D(F[a+1]);for(var r=0;r<=11;r++)D(B[r]);D(17);for(var s=0;s<16;s++)D(P[s+1]);for(var l=0;l<=161;l++)D(k[l])}(),L(65498),L(12),D(3),D(1),D(0),D(2),D(17),D(3),D(17),D(0),D(63),D(0);var p=0,A=0,h=0;m=0,v=7,this.encode.displayName="_encode_";for(var b,j,T,O,M,R,Q,H,V,z=e.data,q=e.width,W=e.height,Y=4*q,K=0;K<W;){for(b=0;b<Y;){for(M=Y*K+b,Q=-1,H=0,V=0;V<64;V++)R=M+(H=V>>3)*Y+(Q=4*(7&V)),K+H>=W&&(R-=Y*(K+1+H-W)),b+Q>=Y&&(R-=b+Q-Y+4),j=z[R++],T=z[R++],O=z[R++],g[V]=(w[j]+w[T+256|0]+w[O+512|0]>>16)-128,y[V]=(w[j+768|0]+w[T+1024|0]+w[O+1280|0]>>16)-128,x[V]=(w[j+1280|0]+w[T+1536|0]+w[O+1792|0]>>16)-128;p=U(g,d,p,t,i),A=U(y,c,A,n,a),h=U(x,c,h,n,a),b+=32}K+=8}if(v>=0){var G=[];G[1]=v+1,G[0]=(1<<v+1)-1,E(G)}return L(65497),new Uint8Array(f)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)b[t]=e(t)}(),t=T(C,S),n=T(F,B),i=T(N,I),a=T(P,k),function(){for(var e=1,t=2,n=1;n<=15;n++){for(var i=e;i<t;i++)p[32767+i]=n,u[32767+i]=[],u[32767+i][1]=n,u[32767+i][0]=i;for(var a=-(t-1);a<=-e;a++)p[32767+a]=n,u[32767+a]=[],u[32767+a][1]=n,u[32767+a][0]=t-1+a;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)w[e]=19595*e,w[e+256|0]=38470*e,w[e+512|0]=7471*e+32768,w[e+768|0]=-11059*e,w[e+1024|0]=-21709*e,w[e+1280|0]=32768*e+8421375,w[e+1536|0]=-27439*e,w[e+1792|0]=-5329*e}(),_(e)} +/** + * @license + * Copyright (c) 2017 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */function jp(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Cp(e){function t(e){if(!e)throw Error("assert :P")}function n(e,t,n){for(var i=0;4>i;i++)if(e[t+i]!=n.charCodeAt(i))return!0;return!1}function i(e,t,n,i,a){for(var r=0;r<a;r++)e[t+r]=n[i+r]}function a(e,t,n,i){for(var a=0;a<i;a++)e[t+a]=n}function r(e){return new Int32Array(e)}function s(e,t){for(var n=[],i=0;i<e;i++)n.push(new t);return n}function l(e,t){var n=[];return function e(n,i,a){for(var r=a[i],s=0;s<r&&(n.push(a.length>i+1?[]:new t),!(a.length<i+1));s++)e(n[s],i+1,a)}(n,0,e),n}var o=function(){var e=this;function o(e,t){for(var n=1<<t-1>>>0;e&n;)n>>>=1;return n?(e&n-1)+n:e}function d(e,n,i,a,r){t(!(a%i));do{e[n+(a-=i)]=r}while(0<a)}function c(e,n,i,a,s){if(t(2328>=s),512>=s)var l=r(512);else if(null==(l=r(s)))return 0;return function(e,n,i,a,s,l){var c,p,A=n,h=1<<i,f=r(16),m=r(16);for(t(0!=s),t(null!=a),t(null!=e),t(0<i),p=0;p<s;++p){if(15<a[p])return 0;++f[a[p]]}if(f[0]==s)return 0;for(m[1]=0,c=1;15>c;++c){if(f[c]>1<<c)return 0;m[c+1]=m[c]+f[c]}for(p=0;p<s;++p)c=a[p],0<a[p]&&(l[m[c]++]=p);if(1==m[15])return(a=new u).g=0,a.value=l[0],d(e,A,1,h,a),h;var v,g=-1,y=h-1,x=0,b=1,w=1,j=1<<i;for(p=0,c=1,s=2;c<=i;++c,s<<=1){if(b+=w<<=1,0>(w-=f[c]))return 0;for(;0<f[c];--f[c])(a=new u).g=c,a.value=l[p++],d(e,A+x,s,j,a),x=o(x,c)}for(c=i+1,s=2;15>=c;++c,s<<=1){if(b+=w<<=1,0>(w-=f[c]))return 0;for(;0<f[c];--f[c]){if(a=new u,(x&y)!=g){for(A+=j,v=1<<(g=c)-i;15>g&&!(0>=(v-=f[g]));)++g,v<<=1;h+=j=1<<(v=g-i),e[n+(g=x&y)].g=v+i,e[n+g].value=A-n-g}a.g=c-i,a.value=l[p++],d(e,A+(x>>i),s,j,a),x=o(x,c)}}return b!=2*m[15]-1?0:h}(e,n,i,a,s,l)}function u(){this.value=this.g=0}function p(){this.value=this.g=0}function A(){this.G=s(5,u),this.H=r(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(On,p)}function h(e,n,i,a){t(null!=e),t(null!=n),t(2147483648>a),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=n,e.pa=i,e.Jd=n,e.Yc=i+a,e.Zc=4<=a?i+a-4+1:i,N(e)}function f(e,t){for(var n=0;0<t--;)n|=F(e,128)<<t;return n}function m(e,t){var n=f(e,t);return I(e)?-n:n}function v(e,n,i,a){var r,s=0;for(t(null!=e),t(null!=n),t(4294967288>a),e.Sb=a,e.Ra=0,e.u=0,e.h=0,4<a&&(a=4),r=0;r<a;++r)s+=n[i+r]<<8*r;e.Ra=s,e.bb=a,e.oa=n,e.pa=i}function g(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Qn-8>>>0,++e.bb,e.u-=8;j(e)&&(e.h=1,e.u=0)}function y(e,n){if(t(0<=n),!e.h&&n<=Rn){var i=w(e)&Mn[n];return e.u+=n,g(e),i}return e.h=1,e.u=0}function x(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function b(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function w(e){return e.Ra>>>(e.u&Qn-1)>>>0}function j(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Qn}function C(e,t){e.u=t,e.h=j(e)}function S(e){e.u>=Hn&&(t(e.u>=Hn),g(e))}function N(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function I(e){return f(e,1)}function F(e,t){var n=e.Ca;0>e.b&&N(e);var i=e.b,a=n*t>>>8,r=(e.I>>>i>a)+0;for(r?(n-=a,e.I-=a+1<<i>>>0):n=a+1,i=n,a=0;256<=i;)a+=8,i>>=8;return i=7^a+Vn[i],e.b-=i,e.Ca=(n<<i)-1,r}function B(e,t,n){e[t+0]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n}function P(e,t){return e[t+0]|e[t+1]<<8}function k(e,t){return P(e,t)|e[t+2]<<16}function T(e,t){return P(e,t)|P(e,t+2)<<16}function E(e,n){var i=1<<n;return t(null!=e),t(0<n),e.X=r(i),null==e.X?0:(e.Mb=32-n,e.Xa=n,1)}function D(e,n){t(null!=e),t(null!=n),t(e.Xa==n.Xa),i(n.X,0,e.X,0,1<<n.Xa)}function L(){this.X=[],this.Xa=this.Mb=0}function U(e,n,i,a){t(null!=i),t(null!=a);var r=i[0],s=a[0];return 0==r&&(r=(e*s+n/2)/n),0==s&&(s=(n*r+e/2)/e),0>=r||0>=s?0:(i[0]=r,a[0]=s,1)}function _(e,t){return e+(1<<t)-1>>>t}function O(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function M(t,n){e[n]=function(n,i,a,r,s,l,o){var d;for(d=0;d<s;++d){var c=e[t](l[o+d-1],a,r+d);l[o+d]=O(n[i+d],c)}}}function R(){this.ud=this.hd=this.jd=0}function Q(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function H(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function V(e,t){return H(e+(e-t+.5>>1))}function z(e,t,n){return Math.abs(t-n)-Math.abs(e-n)}function q(e,t,n,i,a,r,s){for(i=r[s-1],n=0;n<a;++n)r[s+n]=i=O(e[t+n],i)}function W(e,t,n,i,a){var r;for(r=0;r<n;++r){var s=e[t+r],l=s>>8&255,o=16711935&(o=(o=16711935&s)+((l<<16)+l));i[a+r]=(4278255360&s)+o>>>0}}function Y(e,t){t.jd=255&e,t.hd=e>>8&255,t.ud=e>>16&255}function K(e,t,n,i,a,r){var s;for(s=0;s<i;++s){var l=t[n+s],o=l>>>8,d=l,c=255&(c=(c=l>>>16)+((e.jd<<24>>24)*(o<<24>>24)>>>5));d=255&(d=(d+=(e.hd<<24>>24)*(o<<24>>24)>>>5)+((e.ud<<24>>24)*(c<<24>>24)>>>5)),a[r+s]=(4278255360&l)+(c<<16)+d}}function G(t,n,i,a,r){e[n]=function(e,t,n,i,s,l,o,d,c){for(i=o;i<d;++i)for(o=0;o<c;++o)s[l++]=r(n[a(e[t++])])},e[t]=function(t,n,s,l,o,d,c){var u=8>>t.b,p=t.Ea,A=t.K[0],h=t.w;if(8>u)for(t=(1<<t.b)-1,h=(1<<u)-1;n<s;++n){var f,m=0;for(f=0;f<p;++f)f&t||(m=a(l[o++])),d[c++]=r(A[m&h]),m>>=u}else e["VP8LMapColor"+i](l,o,A,h,d,c,n,s,p)}}function $(e,t,n,i,a){for(n=t+n;t<n;){var r=e[t++];i[a++]=r>>16&255,i[a++]=r>>8&255,i[a++]=255&r}}function X(e,t,n,i,a){for(n=t+n;t<n;){var r=e[t++];i[a++]=r>>16&255,i[a++]=r>>8&255,i[a++]=255&r,i[a++]=r>>24&255}}function J(e,t,n,i,a){for(n=t+n;t<n;){var r=(s=e[t++])>>16&240|s>>12&15,s=240&s|s>>28&15;i[a++]=r,i[a++]=s}}function Z(e,t,n,i,a){for(n=t+n;t<n;){var r=(s=e[t++])>>16&248|s>>13&7,s=s>>5&224|s>>3&31;i[a++]=r,i[a++]=s}}function ee(e,t,n,i,a){for(n=t+n;t<n;){var r=e[t++];i[a++]=255&r,i[a++]=r>>8&255,i[a++]=r>>16&255}}function te(e,t,n,a,r,s){if(0==s)for(n=t+n;t<n;)B(a,((s=e[t++])[0]>>24|s[1]>>8&65280|s[2]<<8&16711680|s[3]<<24)>>>0),r+=32;else i(a,r,e,t,n)}function ne(t,n){e[n][0]=e[t+"0"],e[n][1]=e[t+"1"],e[n][2]=e[t+"2"],e[n][3]=e[t+"3"],e[n][4]=e[t+"4"],e[n][5]=e[t+"5"],e[n][6]=e[t+"6"],e[n][7]=e[t+"7"],e[n][8]=e[t+"8"],e[n][9]=e[t+"9"],e[n][10]=e[t+"10"],e[n][11]=e[t+"11"],e[n][12]=e[t+"12"],e[n][13]=e[t+"13"],e[n][14]=e[t+"0"],e[n][15]=e[t+"0"]}function ie(e){return e==Hi||e==Vi||e==zi||e==qi}function ae(){this.eb=[],this.size=this.A=this.fb=0}function re(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function se(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ae,this.f.kb=new re,this.sd=null}function le(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function oe(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function de(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ce(e,t){var n=e.T,a=t.ba.f.RGBA,r=a.eb,s=a.fb+e.ka*a.A,l=ma[t.ba.S],o=e.y,d=e.O,c=e.f,u=e.N,p=e.ea,A=e.W,h=t.cc,f=t.dc,m=t.Mc,v=t.Nc,g=e.ka,y=e.ka+e.T,x=e.U,b=x+1>>1;for(0==g?l(o,d,null,null,c,u,p,A,c,u,p,A,r,s,null,null,x):(l(t.ec,t.fc,o,d,h,f,m,v,c,u,p,A,r,s-a.A,r,s,x),++n);g+2<y;g+=2)h=c,f=u,m=p,v=A,u+=e.Rc,A+=e.Rc,s+=2*a.A,l(o,(d+=2*e.fa)-e.fa,o,d,h,f,m,v,c,u,p,A,r,s-a.A,r,s,x);return d+=e.fa,e.j+y<e.o?(i(t.ec,t.fc,o,d,x),i(t.cc,t.dc,c,u,b),i(t.Mc,t.Nc,p,A,b),n--):1&y||l(o,d,null,null,c,u,p,A,c,u,p,A,r,s+a.A,null,null,x),n}function ue(e,n,i){var a=e.F,r=[e.J];if(null!=a){var s=e.U,l=n.ba.S,o=l==Mi||l==zi;n=n.ba.f.RGBA;var d=[0],c=e.ka;d[0]=e.T,e.Kb&&(0==c?--d[0]:(--c,r[0]-=e.width),e.j+e.ka+e.T==e.o&&(d[0]=e.o-e.j-c));var u=n.eb;c=n.fb+c*n.A,e=Ci(a,r[0],e.width,s,d,u,c+(o?0:3),n.A),t(i==d),e&&ie(l)&&wi(u,c,o,s,d,n.A)}return 0}function pe(e){var t=e.ma,n=t.ba.S,i=11>n,a=n==Ui||n==Oi||n==Mi||n==Ri||12==n||ie(n);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!Ln(t.Oa,e,a?11:12))return 0;if(a&&ie(n)&&gn(),e.da)alert("todo:use_scaling");else{if(i){if(t.Ib=de,e.Kb){if(n=e.U+1>>1,t.memory=r(e.U+2*n),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+n,t.Ib=ce,gn()}}else alert("todo:EmitYUV");a&&(t.Jb=ue,i&&mn())}if(i&&!Pa){for(e=0;256>e;++e)ka[e]=89858*(e-128)+Sa>>Ca,Da[e]=-22014*(e-128)+Sa,Ea[e]=-45773*(e-128),Ta[e]=113618*(e-128)+Sa>>Ca;for(e=Na;e<Ia;++e)t=76283*(e-16)+Sa>>Ca,La[e-Na]=qe(t,255),Ua[e-Na]=qe(t+8>>4,15);Pa=1}return 1}function Ae(e){var n=e.ma,i=e.U,a=e.T;return t(!(1&e.ka)),0>=i||0>=a?0:(i=n.Ib(e,n),null!=n.Jb&&n.Jb(e,n,i),n.Dc+=i,1)}function he(e){e.ma.memory=null}function fe(e,t,n,i){return 47!=y(e,8)?0:(t[0]=y(e,14)+1,n[0]=y(e,14)+1,i[0]=y(e,1),0!=y(e,3)?0:!e.h)}function me(e,t){if(4>e)return e+1;var n=e-2>>1;return(2+(1&e)<<n)+y(t,n)+1}function ve(e,t){return 120<t?t-120:1<=(n=((n=Xi[t-1])>>4)*e+(8-(15&n)))?n:1;var n}function ge(e,t,n){var i=w(n),a=e[t+=255&i].g-8;return 0<a&&(C(n,n.u+8),i=w(n),t+=e[t].value,t+=i&(1<<a)-1),C(n,n.u+e[t].g),e[t].value}function ye(e,n,i){return i.g+=e.g,i.value+=e.value<<n>>>0,t(8>=i.g),e.g}function xe(e,n,i){var a=e.xc;return t((n=0==a?0:e.vc[e.md*(i>>a)+(n>>a)])<e.Wb),e.Ya[n]}function be(e,n,a,r){var s=e.ab,l=e.c*n,o=e.C;n=o+n;var d=a,c=r;for(r=e.Ta,a=e.Ua;0<s--;){var u=e.gc[s],p=o,A=n,h=d,f=c,m=(c=r,d=a,u.Ea);switch(t(p<A),t(A<=u.nc),u.hc){case 2:Wn(h,f,(A-p)*m,c,d);break;case 0:var v=p,g=A,y=c,x=d,b=(N=u).Ea;0==v&&(zn(h,f,null,null,1,y,x),q(h,f+1,0,0,b-1,y,x+1),f+=b,x+=b,++v);for(var w=1<<N.b,j=w-1,C=_(b,N.b),S=N.K,N=N.w+(v>>N.b)*C;v<g;){var I=S,F=N,B=1;for(qn(h,f,y,x-b,1,y,x);B<b;){var P=(B&~j)+w;P>b&&(P=b),(0,Xn[I[F++]>>8&15])(h,f+ +B,y,x+B-b,P-B,y,x+B),B=P}f+=b,x+=b,++v&j||(N+=C)}A!=u.nc&&i(c,d-m,c,d+(A-p-1)*m,m);break;case 1:for(m=h,g=f,b=(h=u.Ea)-(x=h&~(y=(f=1<<u.b)-1)),v=_(h,u.b),w=u.K,u=u.w+(p>>u.b)*v;p<A;){for(j=w,C=u,S=new R,N=g+x,I=g+h;g<N;)Y(j[C++],S),Jn(S,m,g,f,c,d),g+=f,d+=f;g<I&&(Y(j[C++],S),Jn(S,m,g,b,c,d),g+=b,d+=b),++p&y||(u+=v)}break;case 3:if(h==c&&f==d&&0<u.b){for(g=c,h=m=d+(A-p)*m-(x=(A-p)*_(u.Ea,u.b)),f=c,y=d,v=[],x=(b=x)-1;0<=x;--x)v[x]=f[y+x];for(x=b-1;0<=x;--x)g[h+x]=v[x];Yn(u,p,A,c,m,c,d)}else Yn(u,p,A,h,f,c,d)}d=r,c=a}c!=a&&i(r,a,d,c,l)}function we(e,n){var i=e.V,a=e.Ba+e.c*e.C,r=n-e.C;if(t(n<=e.l.o),t(16>=r),0<r){var s=e.l,l=e.Ta,o=e.Ua,d=s.width;if(be(e,r,i,a),r=o=[o],t((i=e.C)<(a=n)),t(s.v<s.va),a>s.o&&(a=s.o),i<s.j){var c=s.j-i;i=s.j,r[0]+=c*d}if(i>=a?i=0:(r[0]+=4*s.v,s.ka=i-s.j,s.U=s.va-s.v,s.T=a-i,i=1),i){if(o=o[0],11>(i=e.ca).S){var u=i.f.RGBA,p=(a=i.S,r=s.U,s=s.T,c=u.eb,u.A),A=s;for(u=u.fb+e.Ma*u.A;0<A--;){var h=l,f=o,m=r,v=c,g=u;switch(a){case Li:Zn(h,f,m,v,g);break;case Ui:ei(h,f,m,v,g);break;case Hi:ei(h,f,m,v,g),wi(v,g,0,m,1,0);break;case _i:ii(h,f,m,v,g);break;case Oi:te(h,f,m,v,g,1);break;case Vi:te(h,f,m,v,g,1),wi(v,g,0,m,1,0);break;case Mi:te(h,f,m,v,g,0);break;case zi:te(h,f,m,v,g,0),wi(v,g,1,m,1,0);break;case Ri:ti(h,f,m,v,g);break;case qi:ti(h,f,m,v,g),ji(v,g,m,1,0);break;case Qi:ni(h,f,m,v,g);break;default:t(0)}o+=d,u+=p}e.Ma+=s}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=i.height)}}e.C=n,t(e.C<=e.i)}function je(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var n=e.Ya[t].G,i=e.Ya[t].H;if(0<n[1][i[1]+0].g||0<n[2][i[2]+0].g||0<n[3][i[3]+0].g)return 0}return 1}function Ce(e,n,i,a,r,s){if(0!=e.Z){var l=e.qd,o=e.rd;for(t(null!=fa[e.Z]);n<i;++n)fa[e.Z](l,o,a,r,a,r,s),l=a,o=r,r+=s;e.qd=l,e.rd=o}}function Se(e,n){var i=e.l.ma,a=0==i.Z||1==i.Z?e.l.j:e.C;if(a=e.C<a?a:e.C,t(n<=e.l.o),n>a){var r=e.l.width,s=i.ca,l=i.tb+r*a,o=e.V,d=e.Ba+e.c*a,c=e.gc;t(1==e.ab),t(3==c[0].hc),Gn(c[0],a,n,o,d,s,l),Ce(i,a,n,s,l,r)}e.C=e.Ma=n}function Ne(e,n,i,a,r,s,l){var o=e.$/a,d=e.$%a,c=e.m,u=e.s,p=i+e.$,A=p;r=i+a*r;var h=i+a*s,f=280+u.ua,m=e.Pb?o:16777216,v=0<u.ua?u.Wa:null,g=u.wc,y=p<h?xe(u,d,o):null;t(e.C<s),t(h<=r);var x=!1;e:for(;;){for(;x||p<h;){var b=0;if(o>=m){var N=p-i;t((m=e).Pb),m.wd=m.m,m.xd=N,0<m.s.ua&&D(m.s.Wa,m.s.vb),m=o+Zi}if(d&g||(y=xe(u,d,o)),t(null!=y),y.Qb&&(n[p]=y.qb,x=!0),!x)if(S(c),y.jc){b=c,N=n;var I=p,F=y.pd[w(b)&On-1];t(y.jc),256>F.g?(C(b,b.u+F.g),N[I]=F.value,b=0):(C(b,b.u+F.g-256),t(256<=F.value),b=F.value),0==b&&(x=!0)}else b=ge(y.G[0],y.H[0],c);if(c.h)break;if(x||256>b){if(!x)if(y.nd)n[p]=(y.qb|b<<8)>>>0;else{if(S(c),x=ge(y.G[1],y.H[1],c),S(c),N=ge(y.G[2],y.H[2],c),I=ge(y.G[3],y.H[3],c),c.h)break;n[p]=(I<<24|x<<16|b<<8|N)>>>0}if(x=!1,++p,++d>=a&&(d=0,++o,null!=l&&o<=s&&!(o%16)&&l(e,o),null!=v))for(;A<p;)b=n[A++],v.X[(506832829*b&4294967295)>>>v.Mb]=b}else if(280>b){if(b=me(b-256,c),N=ge(y.G[4],y.H[4],c),S(c),N=ve(a,N=me(N,c)),c.h)break;if(p-i<N||r-p<b)break e;for(I=0;I<b;++I)n[p+I]=n[p+I-N];for(p+=b,d+=b;d>=a;)d-=a,++o,null!=l&&o<=s&&!(o%16)&&l(e,o);if(t(p<=r),d&g&&(y=xe(u,d,o)),null!=v)for(;A<p;)b=n[A++],v.X[(506832829*b&4294967295)>>>v.Mb]=b}else{if(!(b<f))break e;for(x=b-280,t(null!=v);A<p;)b=n[A++],v.X[(506832829*b&4294967295)>>>v.Mb]=b;b=p,t(!(x>>>(N=v).Xa)),n[b]=N.X[x],x=!0}x||t(c.h==j(c))}if(e.Pb&&c.h&&p<r)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&D(e.s.vb,e.s.Wa);else{if(c.h)break e;null!=l&&l(e,o>s?s:o),e.a=0,e.$=p-i}return 1}return e.a=3,0}function Ie(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var n=e.Wa;null!=n&&(n.X=null),e.vb=null,t(null!=e)}function Fe(){var t=new sn;return null==t?null:(t.a=0,t.xb=ha,ne("Predictor","VP8LPredictors"),ne("Predictor","VP8LPredictors_C"),ne("PredictorAdd","VP8LPredictorsAdd"),ne("PredictorAdd","VP8LPredictorsAdd_C"),Wn=W,Jn=K,Zn=$,ei=X,ti=J,ni=Z,ii=ee,e.VP8LMapColor32b=Kn,e.VP8LMapColor8b=$n,t)}function Be(e,n,i,l,o){var d=1,p=[e],h=[n],f=l.m,m=l.s,v=null,g=0;e:for(;;){if(i)for(;d&&y(f,1);){var x=p,b=h,j=l,N=1,I=j.m,F=j.gc[j.ab],B=y(I,2);if(j.Oc&1<<B)d=0;else{switch(j.Oc|=1<<B,F.hc=B,F.Ea=x[0],F.nc=b[0],F.K=[null],++j.ab,t(4>=j.ab),B){case 0:case 1:F.b=y(I,3)+2,N=Be(_(F.Ea,F.b),_(F.nc,F.b),0,j,F.K),F.K=F.K[0];break;case 3:var P,k=y(I,8)+1,T=16<k?0:4<k?1:2<k?2:3;if(x[0]=_(F.Ea,T),F.b=T,P=N=Be(k,1,0,j,F.K)){var D,L=k,U=F,M=1<<(8>>U.b),R=r(M);if(null==R)P=0;else{var Q=U.K[0],H=U.w;for(R[0]=U.K[0][0],D=1;D<1*L;++D)R[D]=O(Q[H+D],R[D-1]);for(;D<4*M;++D)R[D]=0;U.K[0]=null,U.K[0]=R,P=1}}N=P;break;case 2:break;default:t(0)}d=N}}if(p=p[0],h=h[0],d&&y(f,1)&&!(d=1<=(g=y(f,4))&&11>=g)){l.a=3;break e}var V;if(V=d)t:{var z,q,W,Y=l,K=p,G=h,$=g,X=i,J=Y.m,Z=Y.s,ee=[null],te=1,ne=0,ie=Ji[$];n:for(;;){if(X&&y(J,1)){var ae=y(J,3)+2,re=_(K,ae),se=_(G,ae),le=re*se;if(!Be(re,se,0,Y,ee))break n;for(ee=ee[0],Z.xc=ae,z=0;z<le;++z){var oe=ee[z]>>8&65535;ee[z]=oe,oe>=te&&(te=oe+1)}}if(J.h)break n;for(q=0;5>q;++q){var de=Ki[q];!q&&0<$&&(de+=1<<$),ne<de&&(ne=de)}var ce=s(te*ie,u),ue=te,pe=s(ue,A);if(null==pe)var Ae=null;else t(65536>=ue),Ae=pe;var he=r(ne);if(null==Ae||null==he||null==ce){Y.a=1;break n}var fe=ce;for(z=W=0;z<te;++z){var me=Ae[z],ve=me.G,ge=me.H,xe=0,be=1,we=0;for(q=0;5>q;++q){de=Ki[q],ve[q]=fe,ge[q]=W,!q&&0<$&&(de+=1<<$);i:{var je,Ce=de,Se=Y,Fe=he,Pe=fe,ke=W,Te=0,Ee=Se.m,De=y(Ee,1);if(a(Fe,0,0,Ce),De){var Le=y(Ee,1)+1,Ue=y(Ee,1),_e=y(Ee,0==Ue?1:8);Fe[_e]=1,2==Le&&(Fe[_e=y(Ee,8)]=1);var Oe=1}else{var Me=r(19),Re=y(Ee,4)+4;if(19<Re){Se.a=3;var Qe=0;break i}for(je=0;je<Re;++je)Me[$i[je]]=y(Ee,3);var He=void 0,Ve=void 0,ze=Se,qe=Me,We=Ce,Ye=Fe,Ke=0,Ge=ze.m,$e=8,Xe=s(128,u);a:for(;c(Xe,0,7,qe,19);){if(y(Ge,1)){var Je=2+2*y(Ge,3);if((He=2+y(Ge,Je))>We)break a}else He=We;for(Ve=0;Ve<We&&He--;){S(Ge);var Ze=Xe[0+(127&w(Ge))];C(Ge,Ge.u+Ze.g);var et=Ze.value;if(16>et)Ye[Ve++]=et,0!=et&&($e=et);else{var tt=16==et,nt=et-16,it=Yi[nt],at=y(Ge,Wi[nt])+it;if(Ve+at>We)break a;for(var rt=tt?$e:0;0<at--;)Ye[Ve++]=rt}}Ke=1;break a}Ke||(ze.a=3),Oe=Ke}(Oe=Oe&&!Ee.h)&&(Te=c(Pe,ke,8,Fe,Ce)),Oe&&0!=Te?Qe=Te:(Se.a=3,Qe=0)}if(0==Qe)break n;if(be&&1==Gi[q]&&(be=0==fe[W].g),xe+=fe[W].g,W+=Qe,3>=q){var st,lt=he[0];for(st=1;st<de;++st)he[st]>lt&&(lt=he[st]);we+=lt}}if(me.nd=be,me.Qb=0,be&&(me.qb=(ve[3][ge[3]+0].value<<24|ve[1][ge[1]+0].value<<16|ve[2][ge[2]+0].value)>>>0,0==xe&&256>ve[0][ge[0]+0].value&&(me.Qb=1,me.qb+=ve[0][ge[0]+0].value<<8)),me.jc=!me.Qb&&6>we,me.jc){var ot,dt=me;for(ot=0;ot<On;++ot){var ct=ot,ut=dt.pd[ct],pt=dt.G[0][dt.H[0]+ct];256<=pt.value?(ut.g=pt.g+256,ut.value=pt.value):(ut.g=0,ut.value=0,ct>>=ye(pt,8,ut),ct>>=ye(dt.G[1][dt.H[1]+ct],16,ut),ct>>=ye(dt.G[2][dt.H[2]+ct],0,ut),ye(dt.G[3][dt.H[3]+ct],24,ut))}}}Z.vc=ee,Z.Wb=te,Z.Ya=Ae,Z.yc=ce,V=1;break t}V=0}if(!(d=V)){l.a=3;break e}if(0<g){if(m.ua=1<<g,!E(m.Wa,g)){l.a=1,d=0;break e}}else m.ua=0;var At=l,ht=p,ft=h,mt=At.s,vt=mt.xc;if(At.c=ht,At.i=ft,mt.md=_(ht,vt),mt.wc=0==vt?-1:(1<<vt)-1,i){l.xb=Aa;break e}if(null==(v=r(p*h))){l.a=1,d=0;break e}d=(d=Ne(l,v,0,p,h,h,null))&&!f.h;break e}return d?(null!=o?o[0]=v:(t(null==v),t(i)),l.$=0,i||Ie(m)):Ie(m),d}function Pe(e,n){var i=e.c*e.i,a=i+n+16*n;return t(e.c<=n),e.V=r(a),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+i+n,1)}function ke(e,n){var i=e.C,a=n-i,r=e.V,s=e.Ba+e.c*i;for(t(n<=e.l.o);0<a;){var l=16<a?16:a,o=e.l.ma,d=e.l.width,c=d*l,u=o.ca,p=o.tb+d*i,A=e.Ta,h=e.Ua;be(e,l,r,s),Si(A,h,u,p,c),Ce(o,i,i+l,u,p,d),a-=l,r+=l*e.c,i+=l}t(i==n),e.C=e.Ma=n}function Te(){this.ub=this.yd=this.td=this.Rb=0}function Ee(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function De(){this.Fb=this.Bb=this.Cb=0,this.Zb=r(4),this.Lb=r(4)}function Le(){var e;this.Yb=(function e(t,n,i){for(var a=i[n],r=0;r<a&&(t.push(i.length>n+1?[]:0),!(i.length<n+1));r++)e(t[r],n+1,i)}(e=[],0,[3,11]),e)}function Ue(){this.jb=r(3),this.Wc=l([4,8],Le),this.Xc=l([4,17],Le)}function _e(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new r(4),this.od=new r(4)}function Oe(){this.ld=this.La=this.dd=this.tc=0}function Me(){this.Na=this.la=0}function Re(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Qe(){this.ad=r(384),this.Za=0,this.Ob=r(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function He(){this.uc=this.M=this.Nb=0,this.wa=Array(new Oe),this.Y=0,this.ya=Array(new Qe),this.aa=0,this.l=new We}function Ve(){this.y=r(16),this.f=r(8),this.ea=r(8)}function ze(){this.cb=this.a=0,this.sc="",this.m=new x,this.Od=new Te,this.Kc=new Ee,this.ed=new _e,this.Qa=new De,this.Ic=this.$c=this.Aa=0,this.D=new He,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,x),this.ia=0,this.pb=s(4,Re),this.Pa=new Ue,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ve),this.Hd=0,this.rb=Array(new Me),this.sb=0,this.wa=Array(new Oe),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Qe),this.L=this.aa=0,this.gd=l([4,2],Oe),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function qe(e,t){return 0>e?0:e>t?t:e}function We(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Ye(){var e=new ze;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,na||(na=Xe)),e}function Ke(e,t,n){return 0==e.a&&(e.a=t,e.sc=n,e.cb=0),0}function Ge(e,t,n){return 3<=n&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function $e(e,n){if(null==e)return 0;if(e.a=0,e.sc="OK",null==n)return Ke(e,2,"null VP8Io passed to VP8GetHeaders()");var i=n.data,r=n.w,s=n.ha;if(4>s)return Ke(e,7,"Truncated header.");var l=i[r+0]|i[r+1]<<8|i[r+2]<<16,o=e.Od;if(o.Rb=!(1&l),o.td=l>>1&7,o.yd=l>>4&1,o.ub=l>>5,3<o.td)return Ke(e,3,"Incorrect keyframe parameters.");if(!o.yd)return Ke(e,4,"Frame not displayable.");r+=3,s-=3;var d=e.Kc;if(o.Rb){if(7>s)return Ke(e,7,"cannot parse picture header");if(!Ge(i,r,s))return Ke(e,3,"Bad code word");d.c=16383&(i[r+4]<<8|i[r+3]),d.Td=i[r+4]>>6,d.i=16383&(i[r+6]<<8|i[r+5]),d.Ud=i[r+6]>>6,r+=7,s-=7,e.za=d.c+15>>4,e.Ub=d.i+15>>4,n.width=d.c,n.height=d.i,n.Da=0,n.j=0,n.v=0,n.va=n.width,n.o=n.height,n.da=0,n.ib=n.width,n.hb=n.height,n.U=n.width,n.T=n.height,a((l=e.Pa).jb,0,255,l.jb.length),t(null!=(l=e.Qa)),l.Cb=0,l.Bb=0,l.Fb=1,a(l.Zb,0,0,l.Zb.length),a(l.Lb,0,0,l.Lb)}if(o.ub>s)return Ke(e,7,"bad partition length");h(l=e.m,i,r,o.ub),r+=o.ub,s-=o.ub,o.Rb&&(d.Ld=I(l),d.Kd=I(l)),d=e.Qa;var c,u=e.Pa;if(t(null!=l),t(null!=d),d.Cb=I(l),d.Cb){if(d.Bb=I(l),I(l)){for(d.Fb=I(l),c=0;4>c;++c)d.Zb[c]=I(l)?m(l,7):0;for(c=0;4>c;++c)d.Lb[c]=I(l)?m(l,6):0}if(d.Bb)for(c=0;3>c;++c)u.jb[c]=I(l)?f(l,8):255}else d.Bb=0;if(l.Ka)return Ke(e,3,"cannot parse segment header");if((d=e.ed).zd=I(l),d.Tb=f(l,6),d.wb=f(l,3),d.Pc=I(l),d.Pc&&I(l)){for(u=0;4>u;++u)I(l)&&(d.vd[u]=m(l,6));for(u=0;4>u;++u)I(l)&&(d.od[u]=m(l,6))}if(e.L=0==d.Tb?0:d.zd?1:2,l.Ka)return Ke(e,3,"cannot parse filter header");var p=s;if(s=c=r,r=c+p,d=p,e.Xb=(1<<f(e.m,2))-1,p<3*(u=e.Xb))i=7;else{for(c+=3*u,d-=3*u,p=0;p<u;++p){var A=i[s+0]|i[s+1]<<8|i[s+2]<<16;A>d&&(A=d),h(e.Jc[+p],i,c,A),c+=A,d-=A,s+=3}h(e.Jc[+u],i,c,d),i=c<r?0:5}if(0!=i)return Ke(e,i,"cannot parse partitions");for(i=f(c=e.m,7),s=I(c)?m(c,4):0,r=I(c)?m(c,4):0,d=I(c)?m(c,4):0,u=I(c)?m(c,4):0,c=I(c)?m(c,4):0,p=e.Qa,A=0;4>A;++A){if(p.Cb){var v=p.Zb[A];p.Fb||(v+=i)}else{if(0<A){e.pb[A]=e.pb[0];continue}v=i}var g=e.pb[A];g.Sc[0]=ea[qe(v+s,127)],g.Sc[1]=ta[qe(v+0,127)],g.Eb[0]=2*ea[qe(v+r,127)],g.Eb[1]=101581*ta[qe(v+d,127)]>>16,8>g.Eb[1]&&(g.Eb[1]=8),g.Qc[0]=ea[qe(v+u,117)],g.Qc[1]=ta[qe(v+c,127)],g.lc=v+c}if(!o.Rb)return Ke(e,4,"Not a key frame.");for(I(l),o=e.Pa,i=0;4>i;++i){for(s=0;8>s;++s)for(r=0;3>r;++r)for(d=0;11>d;++d)u=F(l,oa[i][s][r][d])?f(l,8):sa[i][s][r][d],o.Wc[i][s].Yb[r][d]=u;for(s=0;17>s;++s)o.Xc[i][s]=o.Wc[i][da[s]]}return e.kc=I(l),e.kc&&(e.Bd=f(l,8)),e.cb=1}function Xe(e,t,n,i,a,r,s){var l=t[a].Yb[n];for(n=0;16>a;++a){if(!F(e,l[n+0]))return a;for(;!F(e,l[n+1]);)if(l=t[++a].Yb[0],n=0,16==a)return 16;var o=t[a+1].Yb;if(F(e,l[n+2])){var d=e,c=0;if(F(d,(p=l)[(u=n)+3]))if(F(d,p[u+6])){for(l=0,u=2*(c=F(d,p[u+8]))+(p=F(d,p[u+9+c])),c=0,p=ia[u];p[l];++l)c+=c+F(d,p[l]);c+=3+(8<<u)}else F(d,p[u+7])?(c=7+2*F(d,165),c+=F(d,145)):c=5+F(d,159);else c=F(d,p[u+4])?3+F(d,p[u+5]):2;l=o[2]}else c=1,l=o[1];o=s+aa[a],0>(d=e).b&&N(d);var u,p=d.b,A=(u=d.Ca>>1)-(d.I>>p)>>31;--d.b,d.Ca+=A,d.Ca|=1,d.I-=(u+1&A)<<p,r[o]=((c^A)-A)*i[(0<a)+0]}return 16}function Je(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,a(e.zc,0,0,e.zc.length),e.ja=0}function Ze(e,t,n,i,a){a=e[t+n+32*i]+(a>>3),e[t+n+32*i]=-256&a?0>a?0:255:a}function et(e,t,n,i,a,r){Ze(e,t,0,n,i+a),Ze(e,t,1,n,i+r),Ze(e,t,2,n,i-r),Ze(e,t,3,n,i-a)}function tt(e){return(20091*e>>16)+e}function nt(e,t,n,i){var a,s=0,l=r(16);for(a=0;4>a;++a){var o=e[t+0]+e[t+8],d=e[t+0]-e[t+8],c=(35468*e[t+4]>>16)-tt(e[t+12]),u=tt(e[t+4])+(35468*e[t+12]>>16);l[s+0]=o+u,l[s+1]=d+c,l[s+2]=d-c,l[s+3]=o-u,s+=4,t++}for(a=s=0;4>a;++a)o=(e=l[s+0]+4)+l[s+8],d=e-l[s+8],c=(35468*l[s+4]>>16)-tt(l[s+12]),Ze(n,i,0,0,o+(u=tt(l[s+4])+(35468*l[s+12]>>16))),Ze(n,i,1,0,d+c),Ze(n,i,2,0,d-c),Ze(n,i,3,0,o-u),s++,i+=32}function it(e,t,n,i){var a=e[t+0]+4,r=35468*e[t+4]>>16,s=tt(e[t+4]),l=35468*e[t+1]>>16;et(n,i,0,a+s,e=tt(e[t+1]),l),et(n,i,1,a+r,e,l),et(n,i,2,a-r,e,l),et(n,i,3,a-s,e,l)}function at(e,t,n,i,a){nt(e,t,n,i),a&&nt(e,t+16,n,i+4)}function rt(e,t,n,i){ri(e,t+0,n,i,1),ri(e,t+32,n,i+128,1)}function st(e,t,n,i){var a;for(e=e[t+0]+4,a=0;4>a;++a)for(t=0;4>t;++t)Ze(n,i,t,a,e)}function lt(e,t,n,i){e[t+0]&&oi(e,t+0,n,i),e[t+16]&&oi(e,t+16,n,i+4),e[t+32]&&oi(e,t+32,n,i+128),e[t+48]&&oi(e,t+48,n,i+128+4)}function ot(e,t,n,i){var a,s=r(16);for(a=0;4>a;++a){var l=e[t+0+a]+e[t+12+a],o=e[t+4+a]+e[t+8+a],d=e[t+4+a]-e[t+8+a],c=e[t+0+a]-e[t+12+a];s[0+a]=l+o,s[8+a]=l-o,s[4+a]=c+d,s[12+a]=c-d}for(a=0;4>a;++a)l=(e=s[0+4*a]+3)+s[3+4*a],o=s[1+4*a]+s[2+4*a],d=s[1+4*a]-s[2+4*a],c=e-s[3+4*a],n[i+0]=l+o>>3,n[i+16]=c+d>>3,n[i+32]=l-o>>3,n[i+48]=c-d>>3,i+=64}function dt(e,t,n){var i,a=t-32,r=Ei,s=255-e[a-1];for(i=0;i<n;++i){var l,o=r,d=s+e[t-1];for(l=0;l<n;++l)e[t+l]=o[d+e[a+l]];t+=32}}function ct(e,t){dt(e,t,4)}function ut(e,t){dt(e,t,8)}function pt(e,t){dt(e,t,16)}function At(e,t){var n;for(n=0;16>n;++n)i(e,t+32*n,e,t-32,16)}function ht(e,t){var n;for(n=16;0<n;--n)a(e,t,e[t-1],16),t+=32}function ft(e,t,n){var i;for(i=0;16>i;++i)a(t,n+32*i,e,16)}function mt(e,t){var n,i=16;for(n=0;16>n;++n)i+=e[t-1+32*n]+e[t+n-32];ft(i>>5,e,t)}function vt(e,t){var n,i=8;for(n=0;16>n;++n)i+=e[t-1+32*n];ft(i>>4,e,t)}function gt(e,t){var n,i=8;for(n=0;16>n;++n)i+=e[t+n-32];ft(i>>4,e,t)}function yt(e,t){ft(128,e,t)}function xt(e,t,n){return e+2*t+n+2>>2}function bt(e,t){var n,a=t-32;for(a=new Uint8Array([xt(e[a-1],e[a+0],e[a+1]),xt(e[a+0],e[a+1],e[a+2]),xt(e[a+1],e[a+2],e[a+3]),xt(e[a+2],e[a+3],e[a+4])]),n=0;4>n;++n)i(e,t+32*n,a,0,a.length)}function wt(e,t){var n=e[t-1],i=e[t-1+32],a=e[t-1+64],r=e[t-1+96];B(e,t+0,16843009*xt(e[t-1-32],n,i)),B(e,t+32,16843009*xt(n,i,a)),B(e,t+64,16843009*xt(i,a,r)),B(e,t+96,16843009*xt(a,r,r))}function jt(e,t){var n,i=4;for(n=0;4>n;++n)i+=e[t+n-32]+e[t-1+32*n];for(i>>=3,n=0;4>n;++n)a(e,t+32*n,i,4)}function Ct(e,t){var n=e[t-1+0],i=e[t-1+32],a=e[t-1+64],r=e[t-1-32],s=e[t+0-32],l=e[t+1-32],o=e[t+2-32],d=e[t+3-32];e[t+0+96]=xt(i,a,e[t-1+96]),e[t+1+96]=e[t+0+64]=xt(n,i,a),e[t+2+96]=e[t+1+64]=e[t+0+32]=xt(r,n,i),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=xt(s,r,n),e[t+3+64]=e[t+2+32]=e[t+1+0]=xt(l,s,r),e[t+3+32]=e[t+2+0]=xt(o,l,s),e[t+3+0]=xt(d,o,l)}function St(e,t){var n=e[t+1-32],i=e[t+2-32],a=e[t+3-32],r=e[t+4-32],s=e[t+5-32],l=e[t+6-32],o=e[t+7-32];e[t+0+0]=xt(e[t+0-32],n,i),e[t+1+0]=e[t+0+32]=xt(n,i,a),e[t+2+0]=e[t+1+32]=e[t+0+64]=xt(i,a,r),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=xt(a,r,s),e[t+3+32]=e[t+2+64]=e[t+1+96]=xt(r,s,l),e[t+3+64]=e[t+2+96]=xt(s,l,o),e[t+3+96]=xt(l,o,o)}function Nt(e,t){var n=e[t-1+0],i=e[t-1+32],a=e[t-1+64],r=e[t-1-32],s=e[t+0-32],l=e[t+1-32],o=e[t+2-32],d=e[t+3-32];e[t+0+0]=e[t+1+64]=r+s+1>>1,e[t+1+0]=e[t+2+64]=s+l+1>>1,e[t+2+0]=e[t+3+64]=l+o+1>>1,e[t+3+0]=o+d+1>>1,e[t+0+96]=xt(a,i,n),e[t+0+64]=xt(i,n,r),e[t+0+32]=e[t+1+96]=xt(n,r,s),e[t+1+32]=e[t+2+96]=xt(r,s,l),e[t+2+32]=e[t+3+96]=xt(s,l,o),e[t+3+32]=xt(l,o,d)}function It(e,t){var n=e[t+0-32],i=e[t+1-32],a=e[t+2-32],r=e[t+3-32],s=e[t+4-32],l=e[t+5-32],o=e[t+6-32],d=e[t+7-32];e[t+0+0]=n+i+1>>1,e[t+1+0]=e[t+0+64]=i+a+1>>1,e[t+2+0]=e[t+1+64]=a+r+1>>1,e[t+3+0]=e[t+2+64]=r+s+1>>1,e[t+0+32]=xt(n,i,a),e[t+1+32]=e[t+0+96]=xt(i,a,r),e[t+2+32]=e[t+1+96]=xt(a,r,s),e[t+3+32]=e[t+2+96]=xt(r,s,l),e[t+3+64]=xt(s,l,o),e[t+3+96]=xt(l,o,d)}function Ft(e,t){var n=e[t-1+0],i=e[t-1+32],a=e[t-1+64],r=e[t-1+96];e[t+0+0]=n+i+1>>1,e[t+2+0]=e[t+0+32]=i+a+1>>1,e[t+2+32]=e[t+0+64]=a+r+1>>1,e[t+1+0]=xt(n,i,a),e[t+3+0]=e[t+1+32]=xt(i,a,r),e[t+3+32]=e[t+1+64]=xt(a,r,r),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=r}function Bt(e,t){var n=e[t-1+0],i=e[t-1+32],a=e[t-1+64],r=e[t-1+96],s=e[t-1-32],l=e[t+0-32],o=e[t+1-32],d=e[t+2-32];e[t+0+0]=e[t+2+32]=n+s+1>>1,e[t+0+32]=e[t+2+64]=i+n+1>>1,e[t+0+64]=e[t+2+96]=a+i+1>>1,e[t+0+96]=r+a+1>>1,e[t+3+0]=xt(l,o,d),e[t+2+0]=xt(s,l,o),e[t+1+0]=e[t+3+32]=xt(n,s,l),e[t+1+32]=e[t+3+64]=xt(i,n,s),e[t+1+64]=e[t+3+96]=xt(a,i,n),e[t+1+96]=xt(r,a,i)}function Pt(e,t){var n;for(n=0;8>n;++n)i(e,t+32*n,e,t-32,8)}function kt(e,t){var n;for(n=0;8>n;++n)a(e,t,e[t-1],8),t+=32}function Tt(e,t,n){var i;for(i=0;8>i;++i)a(t,n+32*i,e,8)}function Et(e,t){var n,i=8;for(n=0;8>n;++n)i+=e[t+n-32]+e[t-1+32*n];Tt(i>>4,e,t)}function Dt(e,t){var n,i=4;for(n=0;8>n;++n)i+=e[t+n-32];Tt(i>>3,e,t)}function Lt(e,t){var n,i=4;for(n=0;8>n;++n)i+=e[t-1+32*n];Tt(i>>3,e,t)}function Ut(e,t){Tt(128,e,t)}function _t(e,t,n){var i=e[t-n],a=e[t+0],r=3*(a-i)+ki[1020+e[t-2*n]-e[t+n]],s=Ti[112+(r+4>>3)];e[t-n]=Ei[255+i+Ti[112+(r+3>>3)]],e[t+0]=Ei[255+a-s]}function Ot(e,t,n,i){var a=e[t+0],r=e[t+n];return Di[255+e[t-2*n]-e[t-n]]>i||Di[255+r-a]>i}function Mt(e,t,n,i){return 4*Di[255+e[t-n]-e[t+0]]+Di[255+e[t-2*n]-e[t+n]]<=i}function Rt(e,t,n,i,a){var r=e[t-3*n],s=e[t-2*n],l=e[t-n],o=e[t+0],d=e[t+n],c=e[t+2*n],u=e[t+3*n];return 4*Di[255+l-o]+Di[255+s-d]>i?0:Di[255+e[t-4*n]-r]<=a&&Di[255+r-s]<=a&&Di[255+s-l]<=a&&Di[255+u-c]<=a&&Di[255+c-d]<=a&&Di[255+d-o]<=a}function Qt(e,t,n,i){var a=2*i+1;for(i=0;16>i;++i)Mt(e,t+i,n,a)&&_t(e,t+i,n)}function Ht(e,t,n,i){var a=2*i+1;for(i=0;16>i;++i)Mt(e,t+i*n,1,a)&&_t(e,t+i*n,1)}function Vt(e,t,n,i){var a;for(a=3;0<a;--a)Qt(e,t+=4*n,n,i)}function zt(e,t,n,i){var a;for(a=3;0<a;--a)Ht(e,t+=4,n,i)}function qt(e,t,n,i,a,r,s,l){for(r=2*r+1;0<a--;){if(Rt(e,t,n,r,s))if(Ot(e,t,n,l))_t(e,t,n);else{var o=e,d=t,c=n,u=o[d-2*c],p=o[d-c],A=o[d+0],h=o[d+c],f=o[d+2*c],m=27*(g=ki[1020+3*(A-p)+ki[1020+u-h]])+63>>7,v=18*g+63>>7,g=9*g+63>>7;o[d-3*c]=Ei[255+o[d-3*c]+g],o[d-2*c]=Ei[255+u+v],o[d-c]=Ei[255+p+m],o[d+0]=Ei[255+A-m],o[d+c]=Ei[255+h-v],o[d+2*c]=Ei[255+f-g]}t+=i}}function Wt(e,t,n,i,a,r,s,l){for(r=2*r+1;0<a--;){if(Rt(e,t,n,r,s))if(Ot(e,t,n,l))_t(e,t,n);else{var o=e,d=t,c=n,u=o[d-c],p=o[d+0],A=o[d+c],h=Ti[112+(4+(f=3*(p-u))>>3)],f=Ti[112+(f+3>>3)],m=h+1>>1;o[d-2*c]=Ei[255+o[d-2*c]+m],o[d-c]=Ei[255+u+f],o[d+0]=Ei[255+p-h],o[d+c]=Ei[255+A-m]}t+=i}}function Yt(e,t,n,i,a,r){qt(e,t,n,1,16,i,a,r)}function Kt(e,t,n,i,a,r){qt(e,t,1,n,16,i,a,r)}function Gt(e,t,n,i,a,r){var s;for(s=3;0<s;--s)Wt(e,t+=4*n,n,1,16,i,a,r)}function $t(e,t,n,i,a,r){var s;for(s=3;0<s;--s)Wt(e,t+=4,1,n,16,i,a,r)}function Xt(e,t,n,i,a,r,s,l){qt(e,t,a,1,8,r,s,l),qt(n,i,a,1,8,r,s,l)}function Jt(e,t,n,i,a,r,s,l){qt(e,t,1,a,8,r,s,l),qt(n,i,1,a,8,r,s,l)}function Zt(e,t,n,i,a,r,s,l){Wt(e,t+4*a,a,1,8,r,s,l),Wt(n,i+4*a,a,1,8,r,s,l)}function en(e,t,n,i,a,r,s,l){Wt(e,t+4,1,a,8,r,s,l),Wt(n,i+4,1,a,8,r,s,l)}function tn(){this.ba=new se,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new oe,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function nn(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function an(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function rn(){this.ua=0,this.Wa=new L,this.vb=new L,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new A,this.yc=new u}function sn(){this.xb=this.a=0,this.l=new We,this.ca=new se,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new b,this.Pb=0,this.wd=new b,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new rn,this.ab=0,this.gc=s(4,an),this.Oc=0}function ln(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new We,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function on(e,t,n,i,a,r,s){for(e=null==e?0:e[t+0],t=0;t<s;++t)a[r+t]=e+n[i+t]&255,e=a[r+t]}function dn(e,t,n,i,a,r,s){var l;if(null==e)on(null,null,n,i,a,r,s);else for(l=0;l<s;++l)a[r+l]=e[t+l]+n[i+l]&255}function cn(e,t,n,i,a,r,s){if(null==e)on(null,null,n,i,a,r,s);else{var l,o=e[t+0],d=o,c=o;for(l=0;l<s;++l)d=c+(o=e[t+l])-d,c=n[i+l]+(-256&d?0>d?0:255:d)&255,d=o,a[r+l]=c}}function un(e,n,a,s){var l=n.width,o=n.o;if(t(null!=e&&null!=n),0>a||0>=s||a+s>o)return null;if(!e.Cc){if(null==e.ga){var d;if(e.ga=new ln,(d=null==e.ga)||(d=n.width*n.o,t(0==e.Gb.length),e.Gb=r(d),e.Uc=0,null==e.Gb?d=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,d=1),d=!d),!d){d=e.ga;var c=e.Fa,u=e.P,p=e.qc,A=e.mb,h=e.nb,f=u+1,m=p-1,g=d.l;if(t(null!=c&&null!=A&&null!=n),fa[0]=null,fa[1]=on,fa[2]=dn,fa[3]=cn,d.ca=A,d.tb=h,d.c=n.width,d.i=n.height,t(0<d.c&&0<d.i),1>=p)n=0;else if(d.$a=3&c[u+0],d.Z=c[u+0]>>2&3,d.Lc=c[u+0]>>4&3,u=c[u+0]>>6&3,0>d.$a||1<d.$a||4<=d.Z||1<d.Lc||u)n=0;else if(g.put=Ae,g.ac=pe,g.bc=he,g.ma=d,g.width=n.width,g.height=n.height,g.Da=n.Da,g.v=n.v,g.va=n.va,g.j=n.j,g.o=n.o,d.$a)e:{t(1==d.$a),n=Fe();t:for(;;){if(null==n){n=0;break e}if(t(null!=d),d.mc=n,n.c=d.c,n.i=d.i,n.l=d.l,n.l.ma=d,n.l.width=d.c,n.l.height=d.i,n.a=0,v(n.m,c,f,m),!Be(d.c,d.i,1,n,null))break t;if(1==n.ab&&3==n.gc[0].hc&&je(n.s)?(d.ic=1,c=n.c*n.i,n.Ta=null,n.Ua=0,n.V=r(c),n.Ba=0,null==n.V?(n.a=1,n=0):n=1):(d.ic=0,n=Pe(n,d.c)),!n)break t;n=1;break e}d.mc=null,n=0}else n=m>=d.c*d.i;d=!n}if(d)return null;1!=e.ga.Lc?e.Ga=0:s=o-a}t(null!=e.ga),t(a+s<=o);e:{if(n=(c=e.ga).c,o=c.l.o,0==c.$a){if(f=e.rc,m=e.Vc,g=e.Fa,u=e.P+1+a*n,p=e.mb,A=e.nb+a*n,t(u<=e.P+e.qc),0!=c.Z)for(t(null!=fa[c.Z]),d=0;d<s;++d)fa[c.Z](f,m,g,u,p,A,n),f=p,m=A,A+=n,u+=n;else for(d=0;d<s;++d)i(p,A,g,u,n),f=p,m=A,A+=n,u+=n;e.rc=f,e.Vc=m}else{if(t(null!=c.mc),n=a+s,t(null!=(d=c.mc)),t(n<=d.i),d.C>=n)n=1;else if(c.ic||mn(),c.ic){c=d.V,f=d.Ba,m=d.c;var y=d.i,x=(g=1,u=d.$/m,p=d.$%m,A=d.m,h=d.s,d.$),b=m*y,w=m*n,C=h.wc,N=x<w?xe(h,p,u):null;t(x<=b),t(n<=y),t(je(h));t:for(;;){for(;!A.h&&x<w;){if(p&C||(N=xe(h,p,u)),t(null!=N),S(A),256>(y=ge(N.G[0],N.H[0],A)))c[f+x]=y,++x,++p>=m&&(p=0,++u<=n&&!(u%16)&&Se(d,u));else{if(!(280>y)){g=0;break t}y=me(y-256,A);var I,F=ge(N.G[4],N.H[4],A);if(S(A),!(x>=(F=ve(m,F=me(F,A)))&&b-x>=y)){g=0;break t}for(I=0;I<y;++I)c[f+x+I]=c[f+x+I-F];for(x+=y,p+=y;p>=m;)p-=m,++u<=n&&!(u%16)&&Se(d,u);x<w&&p&C&&(N=xe(h,p,u))}t(A.h==j(A))}Se(d,u>n?n:u);break t}!g||A.h&&x<b?(g=0,d.a=A.h?5:3):d.$=x,n=g}else n=Ne(d,d.V,d.Ba,d.c,d.i,n,ke);if(!n){s=0;break e}}a+s>=o&&(e.Cc=1),s=1}if(!s)return null;if(e.Cc&&(null!=(s=e.ga)&&(s.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+a*l}function pn(e,t,n,i,a,r){for(;0<a--;){var s,l=e,o=t+(n?1:0),d=e,c=t+(n?0:3);for(s=0;s<i;++s){var u=d[c+4*s];255!=u&&(u*=32897,l[o+4*s+0]=l[o+4*s+0]*u>>23,l[o+4*s+1]=l[o+4*s+1]*u>>23,l[o+4*s+2]=l[o+4*s+2]*u>>23)}t+=r}}function An(e,t,n,i,a){for(;0<i--;){var r;for(r=0;r<n;++r){var s=e[t+2*r+0],l=15&(d=e[t+2*r+1]),o=4369*l,d=(240&d|d>>4)*o>>16;e[t+2*r+0]=(240&s|s>>4)*o>>16&240|(15&s|s<<4)*o>>16>>4&15,e[t+2*r+1]=240&d|l}t+=a}}function hn(e,t,n,i,a,r,s,l){var o,d,c=255;for(d=0;d<a;++d){for(o=0;o<i;++o){var u=e[t+o];r[s+4*o]=u,c&=u}t+=n,s+=l}return 255!=c}function fn(e,t,n,i,a){var r;for(r=0;r<a;++r)n[i+r]=e[t+r]>>8}function mn(){wi=pn,ji=An,Ci=hn,Si=fn}function vn(n,i,a){e[n]=function(e,n,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y){var x,b=y-1>>1,w=l[o+0]|d[c+0]<<16,j=u[p+0]|A[h+0]<<16;t(null!=e);var C=3*w+j+131074>>2;for(i(e[n+0],255&C,C>>16,f,m),null!=r&&(C=3*j+w+131074>>2,i(r[s+0],255&C,C>>16,v,g)),x=1;x<=b;++x){var S=l[o+x]|d[c+x]<<16,N=u[p+x]|A[h+x]<<16,I=w+S+j+N+524296,F=I+2*(S+j)>>3;C=F+w>>1,w=(I=I+2*(w+N)>>3)+S>>1,i(e[n+2*x-1],255&C,C>>16,f,m+(2*x-1)*a),i(e[n+2*x-0],255&w,w>>16,f,m+(2*x-0)*a),null!=r&&(C=I+j>>1,w=F+N>>1,i(r[s+2*x-1],255&C,C>>16,v,g+(2*x-1)*a),i(r[s+2*x+0],255&w,w>>16,v,g+(2*x+0)*a)),w=S,j=N}1&y||(C=3*w+j+131074>>2,i(e[n+y-1],255&C,C>>16,f,m+(y-1)*a),null!=r&&(C=3*j+w+131074>>2,i(r[s+y-1],255&C,C>>16,v,g+(y-1)*a)))}}function gn(){ma[Li]=va,ma[Ui]=ya,ma[_i]=ga,ma[Oi]=xa,ma[Mi]=ba,ma[Ri]=wa,ma[Qi]=ja,ma[Hi]=ya,ma[Vi]=xa,ma[zi]=ba,ma[qi]=wa}function yn(e){return e&~Ba?0>e?0:255:e>>Fa}function xn(e,t){return yn((19077*e>>8)+(26149*t>>8)-14234)}function bn(e,t,n){return yn((19077*e>>8)-(6419*t>>8)-(13320*n>>8)+8708)}function wn(e,t){return yn((19077*e>>8)+(33050*t>>8)-17685)}function jn(e,t,n,i,a){i[a+0]=xn(e,n),i[a+1]=bn(e,t,n),i[a+2]=wn(e,t)}function Cn(e,t,n,i,a){i[a+0]=wn(e,t),i[a+1]=bn(e,t,n),i[a+2]=xn(e,n)}function Sn(e,t,n,i,a){var r=bn(e,t,n);t=r<<3&224|wn(e,t)>>3,i[a+0]=248&xn(e,n)|r>>5,i[a+1]=t}function Nn(e,t,n,i,a){var r=240&wn(e,t)|15;i[a+0]=240&xn(e,n)|bn(e,t,n)>>4,i[a+1]=r}function In(e,t,n,i,a){i[a+0]=255,jn(e,t,n,i,a+1)}function Fn(e,t,n,i,a){Cn(e,t,n,i,a),i[a+3]=255}function Bn(e,t,n,i,a){jn(e,t,n,i,a),i[a+3]=255}function qe(e,t){return 0>e?0:e>t?t:e}function Pn(t,n,i){e[t]=function(e,t,a,r,s,l,o,d,c){for(var u=d+(-2&c)*i;d!=u;)n(e[t+0],a[r+0],s[l+0],o,d),n(e[t+1],a[r+0],s[l+0],o,d+i),t+=2,++r,++l,d+=2*i;1&c&&n(e[t+0],a[r+0],s[l+0],o,d)}}function kn(e,t,n){return 0==n?0==e?0==t?6:5:0==t?4:0:n}function Tn(e,t,n,i,a){switch(e>>>30){case 3:ri(t,n,i,a,0);break;case 2:si(t,n,i,a);break;case 1:oi(t,n,i,a)}}function En(e,t){var n,r,s=t.M,l=t.Nb,o=e.oc,d=e.pc+40,c=e.oc,u=e.pc+584,p=e.oc,A=e.pc+600;for(n=0;16>n;++n)o[d+32*n-1]=129;for(n=0;8>n;++n)c[u+32*n-1]=129,p[A+32*n-1]=129;for(0<s?o[d-1-32]=c[u-1-32]=p[A-1-32]=129:(a(o,d-32-1,127,21),a(c,u-32-1,127,9),a(p,A-32-1,127,9)),r=0;r<e.za;++r){var h=t.ya[t.aa+r];if(0<r){for(n=-1;16>n;++n)i(o,d+32*n-4,o,d+32*n+12,4);for(n=-1;8>n;++n)i(c,u+32*n-4,c,u+32*n+4,4),i(p,A+32*n-4,p,A+32*n+4,4)}var f=e.Gd,m=e.Hd+r,v=h.ad,g=h.Hc;if(0<s&&(i(o,d-32,f[m].y,0,16),i(c,u-32,f[m].f,0,8),i(p,A-32,f[m].ea,0,8)),h.Za){var y=o,x=d-32+16;for(0<s&&(r>=e.za-1?a(y,x,f[m].y[15],4):i(y,x,f[m+1].y,0,4)),n=0;4>n;n++)y[x+128+n]=y[x+256+n]=y[x+384+n]=y[x+0+n];for(n=0;16>n;++n,g<<=2)y=o,x=d+_a[n],ua[h.Ob[n]](y,x),Tn(g,v,16*+n,y,x)}else if(y=kn(r,s,h.Ob[0]),ca[y](o,d),0!=g)for(n=0;16>n;++n,g<<=2)Tn(g,v,16*+n,o,d+_a[n]);for(n=h.Gc,y=kn(r,s,h.Dd),pa[y](c,u),pa[y](p,A),g=v,y=c,x=u,255&(h=0|n)&&(170&h?li(g,256,y,x):di(g,256,y,x)),h=p,g=A,255&(n>>=8)&&(170&n?li(v,320,h,g):di(v,320,h,g)),s<e.Ub-1&&(i(f[m].y,0,o,d+480,16),i(f[m].f,0,c,u+224,8),i(f[m].ea,0,p,A+224,8)),n=8*l*e.B,f=e.sa,m=e.ta+16*r+16*l*e.R,v=e.qa,h=e.ra+8*r+n,g=e.Ha,y=e.Ia+8*r+n,n=0;16>n;++n)i(f,m+n*e.R,o,d+32*n,16);for(n=0;8>n;++n)i(v,h+n*e.B,c,u+32*n,8),i(g,y+n*e.B,p,A+32*n,8)}}function Dn(e,i,a,r,s,l,o,d,c){var u=[0],p=[0],A=0,h=null!=c?c.kd:0,f=null!=c?c:new nn;if(null==e||12>a)return 7;f.data=e,f.w=i,f.ha=a,i=[i],a=[a],f.gb=[f.gb];e:{var m=i,g=a,y=f.gb;if(t(null!=e),t(null!=g),t(null!=y),y[0]=0,12<=g[0]&&!n(e,m[0],"RIFF")){if(n(e,m[0]+8,"WEBP")){y=3;break e}var x=T(e,m[0]+4);if(12>x||4294967286<x){y=3;break e}if(h&&x>g[0]-8){y=7;break e}y[0]=x,m[0]+=12,g[0]-=12}y=0}if(0!=y)return y;for(x=0<f.gb[0],a=a[0];;){e:{var w=e;g=i,y=a;var j=u,C=p,S=m=[0];if((F=A=[A])[0]=0,8>y[0])y=7;else{if(!n(w,g[0],"VP8X")){if(10!=T(w,g[0]+4)){y=3;break e}if(18>y[0]){y=7;break e}var N=T(w,g[0]+8),I=1+k(w,g[0]+12);if(2147483648<=I*(w=1+k(w,g[0]+15))){y=3;break e}null!=S&&(S[0]=N),null!=j&&(j[0]=I),null!=C&&(C[0]=w),g[0]+=18,y[0]-=18,F[0]=1}y=0}}if(A=A[0],m=m[0],0!=y)return y;if(g=!!(2&m),!x&&A)return 3;if(null!=l&&(l[0]=!!(16&m)),null!=o&&(o[0]=g),null!=d&&(d[0]=0),o=u[0],m=p[0],A&&g&&null==c){y=0;break}if(4>a){y=7;break}if(x&&A||!x&&!A&&!n(e,i[0],"ALPH")){a=[a],f.na=[f.na],f.P=[f.P],f.Sa=[f.Sa];e:{N=e,y=i,x=a;var F=f.gb;j=f.na,C=f.P,S=f.Sa,I=22,t(null!=N),t(null!=x),w=y[0];var B=x[0];for(t(null!=j),t(null!=S),j[0]=null,C[0]=null,S[0]=0;;){if(y[0]=w,x[0]=B,8>B){y=7;break e}var P=T(N,w+4);if(4294967286<P){y=3;break e}var E=8+P+1&-2;if(I+=E,0<F&&I>F){y=3;break e}if(!n(N,w,"VP8 ")||!n(N,w,"VP8L")){y=0;break e}if(B[0]<E){y=7;break e}n(N,w,"ALPH")||(j[0]=N,C[0]=w+8,S[0]=P),w+=E,B-=E}}if(a=a[0],f.na=f.na[0],f.P=f.P[0],f.Sa=f.Sa[0],0!=y)break}a=[a],f.Ja=[f.Ja],f.xa=[f.xa];e:if(F=e,y=i,x=a,j=f.gb[0],C=f.Ja,S=f.xa,N=y[0],w=!n(F,N,"VP8 "),I=!n(F,N,"VP8L"),t(null!=F),t(null!=x),t(null!=C),t(null!=S),8>x[0])y=7;else{if(w||I){if(F=T(F,N+4),12<=j&&F>j-12){y=3;break e}if(h&&F>x[0]-8){y=7;break e}C[0]=F,y[0]+=8,x[0]-=8,S[0]=I}else S[0]=5<=x[0]&&47==F[N+0]&&!(F[N+4]>>5),C[0]=x[0];y=0}if(a=a[0],f.Ja=f.Ja[0],f.xa=f.xa[0],i=i[0],0!=y)break;if(4294967286<f.Ja)return 3;if(null==d||g||(d[0]=f.xa?2:1),o=[o],m=[m],f.xa){if(5>a){y=7;break}d=o,h=m,g=l,null==e||5>a?e=0:5<=a&&47==e[i+0]&&!(e[i+4]>>5)?(x=[0],F=[0],j=[0],v(C=new b,e,i,a),fe(C,x,F,j)?(null!=d&&(d[0]=x[0]),null!=h&&(h[0]=F[0]),null!=g&&(g[0]=j[0]),e=1):e=0):e=0}else{if(10>a){y=7;break}d=m,null==e||10>a||!Ge(e,i+3,a-3)?e=0:(h=e[i+0]|e[i+1]<<8|e[i+2]<<16,g=16383&(e[i+7]<<8|e[i+6]),e=16383&(e[i+9]<<8|e[i+8]),1&h||3<(h>>1&7)||!(h>>4&1)||h>>5>=f.Ja||!g||!e?e=0:(o&&(o[0]=g),d&&(d[0]=e),e=1))}if(!e)return 3;if(o=o[0],m=m[0],A&&(u[0]!=o||p[0]!=m))return 3;null!=c&&(c[0]=f,c.offset=i-c.w,t(4294967286>i-c.w),t(c.offset==c.ha-a));break}return 0==y||7==y&&A&&null==c?(null!=l&&(l[0]|=null!=f.na&&0<f.na.length),null!=r&&(r[0]=o),null!=s&&(s[0]=m),0):y}function Ln(e,t,n){var i=t.width,a=t.height,r=0,s=0,l=i,o=a;if(t.Da=null!=e&&0<e.Da,t.Da&&(l=e.cd,o=e.bd,r=e.v,s=e.j,11>n||(r&=-2,s&=-2),0>r||0>s||0>=l||0>=o||r+l>i||s+o>a))return 0;if(t.v=r,t.j=s,t.va=r+l,t.o=s+o,t.U=l,t.T=o,t.da=null!=e&&0<e.da,t.da){if(!U(l,o,n=[e.ib],r=[e.hb]))return 0;t.ib=n[0],t.hb=r[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*i/4&&t.hb<3*a/4,t.Kb=0),1}function Un(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function _n(e,t,n,i){if(null==i||0>=e||0>=t)return 2;if(null!=n){if(n.Da){var a=n.cd,s=n.bd,l=-2&n.v,o=-2&n.j;if(0>l||0>o||0>=a||0>=s||l+a>e||o+s>t)return 2;e=a,t=s}if(n.da){if(!U(e,t,a=[n.ib],s=[n.hb]))return 2;e=a[0],t=s[0]}}i.width=e,i.height=t;e:{var d=i.width,c=i.height;if(e=i.S,0>=d||0>=c||!(e>=Li&&13>e))e=2;else{if(0>=i.Rd&&null==i.sd){l=s=a=t=0;var u=(o=d*Ra[e])*c;if(11>e||(s=(c+1)/2*(t=(d+1)/2),12==e&&(l=(a=d)*c)),null==(c=r(u+2*s+l))){e=1;break e}i.sd=c,11>e?((d=i.f.RGBA).eb=c,d.fb=0,d.A=o,d.size=u):((d=i.f.kb).y=c,d.O=0,d.fa=o,d.Fd=u,d.f=c,d.N=0+u,d.Ab=t,d.Cd=s,d.ea=c,d.W=0+u+s,d.Db=t,d.Ed=s,12==e&&(d.F=c,d.J=0+u+2*s),d.Tc=l,d.lb=a)}if(t=1,a=i.S,s=i.width,l=i.height,a>=Li&&13>a)if(11>a)e=i.f.RGBA,t&=(o=Math.abs(e.A))*(l-1)+s<=e.size,t&=o>=s*Ra[a],t&=null!=e.eb;else{e=i.f.kb,o=(s+1)/2,u=(l+1)/2,d=Math.abs(e.fa),c=Math.abs(e.Ab);var p=Math.abs(e.Db),A=Math.abs(e.lb),h=A*(l-1)+s;t&=d*(l-1)+s<=e.Fd,t&=c*(u-1)+o<=e.Cd,t=(t&=p*(u-1)+o<=e.Ed)&d>=s&c>=o&p>=o,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==a&&(t&=A>=s,t&=h<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=n&&n.fd&&(e=Un(i)),e}var On=64,Mn=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Rn=24,Qn=32,Hn=8,Vn=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];M("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,n){return t[n+0]},e.Predictor3=function(e,t,n){return t[n+1]},e.Predictor4=function(e,t,n){return t[n-1]},e.Predictor5=function(e,t,n){return Q(Q(e,t[n+1]),t[n+0])},e.Predictor6=function(e,t,n){return Q(e,t[n-1])},e.Predictor7=function(e,t,n){return Q(e,t[n+0])},e.Predictor8=function(e,t,n){return Q(t[n-1],t[n+0])},e.Predictor9=function(e,t,n){return Q(t[n+0],t[n+1])},e.Predictor10=function(e,t,n){return Q(Q(e,t[n-1]),Q(t[n+0],t[n+1]))},e.Predictor11=function(e,t,n){var i=t[n+0];return 0>=z(i>>24&255,e>>24&255,(t=t[n-1])>>24&255)+z(i>>16&255,e>>16&255,t>>16&255)+z(i>>8&255,e>>8&255,t>>8&255)+z(255&i,255&e,255&t)?i:e},e.Predictor12=function(e,t,n){var i=t[n+0];return(H((e>>24&255)+(i>>24&255)-((t=t[n-1])>>24&255))<<24|H((e>>16&255)+(i>>16&255)-(t>>16&255))<<16|H((e>>8&255)+(i>>8&255)-(t>>8&255))<<8|H((255&e)+(255&i)-(255&t)))>>>0},e.Predictor13=function(e,t,n){var i=t[n-1];return(V((e=Q(e,t[n+0]))>>24&255,i>>24&255)<<24|V(e>>16&255,i>>16&255)<<16|V(e>>8&255,i>>8&255)<<8|V(255&e,255&i))>>>0};var zn=e.PredictorAdd0;e.PredictorAdd1=q,M("Predictor2","PredictorAdd2"),M("Predictor3","PredictorAdd3"),M("Predictor4","PredictorAdd4"),M("Predictor5","PredictorAdd5"),M("Predictor6","PredictorAdd6"),M("Predictor7","PredictorAdd7"),M("Predictor8","PredictorAdd8"),M("Predictor9","PredictorAdd9"),M("Predictor10","PredictorAdd10"),M("Predictor11","PredictorAdd11"),M("Predictor12","PredictorAdd12"),M("Predictor13","PredictorAdd13");var qn=e.PredictorAdd2;G("ColorIndexInverseTransform","MapARGB","32b",(function(e){return e>>8&255}),(function(e){return e})),G("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(e){return e}),(function(e){return e>>8&255}));var Wn,Yn=e.ColorIndexInverseTransform,Kn=e.MapARGB,Gn=e.VP8LColorIndexInverseTransformAlpha,$n=e.MapAlpha,Xn=e.VP8LPredictorsAdd=[];Xn.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var Jn,Zn,ei,ti,ni,ii,ai,ri,si,li,oi,di,ci,ui,pi,Ai,hi,fi,mi,vi,gi,yi,xi,bi,wi,ji,Ci,Si,Ni=r(511),Ii=r(2041),Fi=r(225),Bi=r(767),Pi=0,ki=Ii,Ti=Fi,Ei=Bi,Di=Ni,Li=0,Ui=1,_i=2,Oi=3,Mi=4,Ri=5,Qi=6,Hi=7,Vi=8,zi=9,qi=10,Wi=[2,3,7],Yi=[3,3,11],Ki=[280,256,256,256,40],Gi=[0,1,1,1,0],$i=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Xi=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Ji=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Zi=8,ea=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ta=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],na=null,ia=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],aa=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],ra=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sa=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],la=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],oa=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],da=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],ca=[],ua=[],pa=[],Aa=1,ha=2,fa=[],ma=[];vn("UpsampleRgbLinePair",jn,3),vn("UpsampleBgrLinePair",Cn,3),vn("UpsampleRgbaLinePair",Bn,4),vn("UpsampleBgraLinePair",Fn,4),vn("UpsampleArgbLinePair",In,4),vn("UpsampleRgba4444LinePair",Nn,2),vn("UpsampleRgb565LinePair",Sn,2);var va=e.UpsampleRgbLinePair,ga=e.UpsampleBgrLinePair,ya=e.UpsampleRgbaLinePair,xa=e.UpsampleBgraLinePair,ba=e.UpsampleArgbLinePair,wa=e.UpsampleRgba4444LinePair,ja=e.UpsampleRgb565LinePair,Ca=16,Sa=1<<Ca-1,Na=-227,Ia=482,Fa=6,Ba=(256<<Fa)-1,Pa=0,ka=r(256),Ta=r(256),Ea=r(256),Da=r(256),La=r(Ia-Na),Ua=r(Ia-Na);Pn("YuvToRgbRow",jn,3),Pn("YuvToBgrRow",Cn,3),Pn("YuvToRgbaRow",Bn,4),Pn("YuvToBgraRow",Fn,4),Pn("YuvToArgbRow",In,4),Pn("YuvToRgba4444Row",Nn,2),Pn("YuvToRgb565Row",Sn,2);var _a=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Oa=[0,2,8],Ma=[8,7,6,4,4,2,2,2,1,1,1,1];this.WebPDecodeRGBA=function(e,n,l,o,d){var c=Ui,u=new tn,p=new se;u.ba=p,p.S=c,p.width=[p.width],p.height=[p.height];var A=p.width,h=p.height,f=new le;if(null==f||null==e)var m=2;else t(null!=f),m=Dn(e,n,l,f.width,f.height,f.Pd,f.Qd,f.format,null);if(0!=m?A=0:(null!=A&&(A[0]=f.width[0]),null!=h&&(h[0]=f.height[0]),A=1),A){p.width=p.width[0],p.height=p.height[0],null!=o&&(o[0]=p.width),null!=d&&(d[0]=p.height);e:{if(o=new We,(d=new nn).data=e,d.w=n,d.ha=l,d.kd=1,n=[0],t(null!=d),(0==(e=Dn(d.data,d.w,d.ha,null,null,null,n,null,d))||7==e)&&n[0]&&(e=4),0==(n=e)){if(t(null!=u),o.data=d.data,o.w=d.w+d.offset,o.ha=d.ha-d.offset,o.put=Ae,o.ac=pe,o.bc=he,o.ma=u,d.xa){if(null==(e=Fe())){u=1;break e}if(function(e,n){var i=[0],a=[0],r=[0];t:for(;;){if(null==e)return 0;if(null==n)return e.a=2,0;if(e.l=n,e.a=0,v(e.m,n.data,n.w,n.ha),!fe(e.m,i,a,r)){e.a=3;break t}if(e.xb=ha,n.width=i[0],n.height=a[0],!Be(i[0],a[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,o)){if(o=0==(n=_n(o.width,o.height,u.Oa,u.ba))){t:{o=e;n:for(;;){if(null==o){o=0;break t}if(t(null!=o.s.yc),t(null!=o.s.Ya),t(0<o.s.Wb),t(null!=(l=o.l)),t(null!=(d=l.ma)),0!=o.xb){if(o.ca=d.ba,o.tb=d.tb,t(null!=o.ca),!Ln(d.Oa,l,Oi)){o.a=2;break n}if(!Pe(o,l.width))break n;if(l.da)break n;if((l.da||ie(o.ca.S))&&mn(),11>o.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=o.ca.f.kb.F&&mn()),o.Pb&&0<o.s.ua&&null==o.s.vb.X&&!E(o.s.vb,o.s.Wa.Xa)){o.a=1;break n}o.xb=0}if(!Ne(o,o.V,o.Ba,o.c,o.i,l.o,we))break n;d.Dc=o.Ma,o=1;break t}t(0!=o.a),o=0}o=!o}o&&(n=e.a)}else n=e.a}else{if(null==(e=new Ye)){u=1;break e}if(e.Fa=d.na,e.P=d.P,e.qc=d.Sa,$e(e,o)){if(0==(n=_n(o.width,o.height,u.Oa,u.ba))){if(e.Aa=0,l=u.Oa,t(null!=(d=e)),null!=l){if(0<(A=0>(A=l.Md)?0:100<A?255:255*A/100)){for(h=f=0;4>h;++h)12>(m=d.pb[h]).lc&&(m.ia=A*Ma[0>m.lc?0:m.lc]>>3),f|=m.ia;f&&(alert("todo:VP8InitRandom"),d.ia=1)}d.Ga=l.Id,100<d.Ga?d.Ga=100:0>d.Ga&&(d.Ga=0)}(function(e,n){if(null==e)return 0;if(null==n)return Ke(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!$e(e,n))return 0;if(t(e.cb),null==n.ac||n.ac(n)){n.ob&&(e.L=0);var l=Oa[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=n.v-l>>4,e.zb=n.j-l>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=n.o+15+l>>4,e.Hb=n.va+15+l>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var o=e.ed;for(l=0;4>l;++l){var d;if(e.Qa.Cb){var c=e.Qa.Lb[l];e.Qa.Fb||(c+=o.Tb)}else c=o.Tb;for(d=0;1>=d;++d){var u=e.gd[l][d],p=c;if(o.Pc&&(p+=o.vd[0],d&&(p+=o.od[0])),0<(p=0>p?0:63<p?63:p)){var A=p;0<o.wb&&(A=4<o.wb?A>>2:A>>1)>9-o.wb&&(A=9-o.wb),1>A&&(A=1),u.dd=A,u.tc=2*p+A,u.ld=40<=p?2:15<=p?1:0}else u.tc=0;u.La=d}}}l=0}else Ke(e,6,"Frame setup failed"),l=e.a;if(l=0==l){if(l){e.$c=0,0<e.Aa||(e.Ic=1);t:{l=e.Ic,o=4*(A=e.za);var h=32*A,f=A+1,m=0<e.L?A*(0<e.Aa?2:1):0,v=(2==e.Aa?2:1)*A;if((u=o+832+(d=3*(16*l+Oa[e.L])/2*h)+(c=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=u)l=0;else{if(u>e.Vb){if(e.Vb=0,e.Ec=r(u),e.Fc=0,null==e.Ec){l=Ke(e,1,"no memory during frame initialization.");break t}e.Vb=u}u=e.Ec,p=e.Fc,e.Ac=u,e.Bc=p,p+=o,e.Gd=s(h,Ve),e.Hd=0,e.rb=s(f+1,Me),e.sb=1,e.wa=m?s(m,Oe):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=A),t(!0),e.oc=u,e.pc=p,p+=832,e.ya=s(v,Qe),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=A),e.R=16*A,e.B=8*A,A=(h=Oa[e.L])*e.R,h=h/2*e.B,e.sa=u,e.ta=p+A,e.qa=e.sa,e.ra=e.ta+16*l*e.R+h,e.Ha=e.qa,e.Ia=e.ra+8*l*e.B+h,e.$c=0,p+=d,e.mb=c?u:null,e.nb=c?p:null,t(p+c<=e.Fc+e.Vb),Je(e),a(e.Ac,e.Bc,0,o),l=1}}if(l){if(n.ka=0,n.y=e.sa,n.O=e.ta,n.f=e.qa,n.N=e.ra,n.ea=e.Ha,n.Vd=e.Ia,n.fa=e.R,n.Rc=e.B,n.F=null,n.J=0,!Pi){for(l=-255;255>=l;++l)Ni[255+l]=0>l?-l:l;for(l=-1020;1020>=l;++l)Ii[1020+l]=-128>l?-128:127<l?127:l;for(l=-112;112>=l;++l)Fi[112+l]=-16>l?-16:15<l?15:l;for(l=-255;510>=l;++l)Bi[255+l]=0>l?0:255<l?255:l;Pi=1}ai=ot,ri=at,li=rt,oi=st,di=lt,si=it,ci=Yt,ui=Kt,pi=Xt,Ai=Jt,hi=Gt,fi=$t,mi=Zt,vi=en,gi=Qt,yi=Ht,xi=Vt,bi=zt,ua[0]=jt,ua[1]=ct,ua[2]=bt,ua[3]=wt,ua[4]=Ct,ua[5]=Nt,ua[6]=St,ua[7]=It,ua[8]=Bt,ua[9]=Ft,ca[0]=mt,ca[1]=pt,ca[2]=At,ca[3]=ht,ca[4]=vt,ca[5]=gt,ca[6]=yt,pa[0]=Et,pa[1]=ut,pa[2]=Pt,pa[3]=kt,pa[4]=Lt,pa[5]=Dt,pa[6]=Ut,l=1}else l=0}l&&(l=function(e,n){for(e.M=0;e.M<e.Va;++e.M){var s,l=e.Jc[e.M&e.Xb],o=e.m,d=e;for(s=0;s<d.za;++s){var c=o,u=d,p=u.Ac,A=u.Bc+4*s,h=u.zc,f=u.ya[u.aa+s];if(u.Qa.Bb?f.$b=F(c,u.Pa.jb[0])?2+F(c,u.Pa.jb[2]):F(c,u.Pa.jb[1]):f.$b=0,u.kc&&(f.Ad=F(c,u.Bd)),f.Za=!F(c,145)+0,f.Za){var m=f.Ob,v=0;for(u=0;4>u;++u){var g,y=h[0+u];for(g=0;4>g;++g){y=la[p[A+g]][y];for(var x=ra[F(c,y[0])];0<x;)x=ra[2*x+F(c,y[x])];y=-x,p[A+g]=y}i(m,v,p,A,4),v+=4,h[0+u]=y}}else y=F(c,156)?F(c,128)?1:3:F(c,163)?2:0,f.Ob[0]=y,a(p,A,y,4),a(h,0,y,4);f.Dd=F(c,142)?F(c,114)?F(c,183)?1:3:2:0}if(d.m.Ka)return Ke(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(d=l,c=(o=e).rb[o.sb-1],p=o.rb[o.sb+o.ja],s=o.ya[o.aa+o.ja],A=o.kc?s.Ad:0)c.la=p.la=0,s.Za||(c.Na=p.Na=0),s.Hc=0,s.Gc=0,s.ia=0;else{var b,w;if(c=p,p=d,A=o.Pa.Xc,h=o.ya[o.aa+o.ja],f=o.pb[h.$b],u=h.ad,m=0,v=o.rb[o.sb-1],y=g=0,a(u,m,0,384),h.Za)var j=0,C=A[3];else{x=r(16);var S=c.Na+v.Na;if(S=na(p,A[1],S,f.Eb,0,x,0),c.Na=v.Na=(0<S)+0,1<S)ai(x,0,u,m);else{var N=x[0]+3>>3;for(x=0;256>x;x+=16)u[m+x]=N}j=1,C=A[0]}var I=15&c.la,B=15&v.la;for(x=0;4>x;++x){var P=1&B;for(N=w=0;4>N;++N)I=I>>1|(P=(S=na(p,C,S=P+(1&I),f.Sc,j,u,m))>j)<<7,w=w<<2|(3<S?3:1<S?2:0!=u[m+0]),m+=16;I>>=4,B=B>>1|P<<7,g=(g<<8|w)>>>0}for(C=I,j=B>>4,b=0;4>b;b+=2){for(w=0,I=c.la>>4+b,B=v.la>>4+b,x=0;2>x;++x){for(P=1&B,N=0;2>N;++N)S=P+(1&I),I=I>>1|(P=0<(S=na(p,A[2],S,f.Qc,0,u,m)))<<3,w=w<<2|(3<S?3:1<S?2:0!=u[m+0]),m+=16;I>>=2,B=B>>1|P<<5}y|=w<<4*b,C|=I<<4<<b,j|=(240&B)<<b}c.la=C,v.la=j,h.Hc=g,h.Gc=y,h.ia=43690&y?0:f.ia,A=!(g|y)}if(0<o.L&&(o.wa[o.Y+o.ja]=o.gd[s.$b][s.Za],o.wa[o.Y+o.ja].La|=!A),d.Ka)return Ke(e,7,"Premature end-of-file encountered.")}if(Je(e),o=n,d=1,s=(l=e).D,c=0<l.L&&l.M>=l.zb&&l.M<=l.Va,0==l.Aa)t:{if(s.M=l.M,s.uc=c,En(l,s),d=1,s=(w=l.D).Nb,c=(y=Oa[l.L])*l.R,p=y/2*l.B,x=16*s*l.R,N=8*s*l.B,A=l.sa,h=l.ta-c+x,f=l.qa,u=l.ra-p+N,m=l.Ha,v=l.Ia-p+N,B=0==(I=w.M),g=I>=l.Va-1,2==l.Aa&&En(l,w),w.uc)for(P=(S=l).D.M,t(S.D.uc),w=S.yb;w<S.Hb;++w){j=w,C=P;var k=(T=(Q=S).D).Nb;b=Q.R;var T=T.wa[T.Y+j],E=Q.sa,D=Q.ta+16*k*b+16*j,L=T.dd,U=T.tc;if(0!=U)if(t(3<=U),1==Q.L)0<j&&yi(E,D,b,U+4),T.La&&bi(E,D,b,U),0<C&&gi(E,D,b,U+4),T.La&&xi(E,D,b,U);else{var _=Q.B,O=Q.qa,M=Q.ra+8*k*_+8*j,R=Q.Ha,Q=Q.Ia+8*k*_+8*j;k=T.ld,0<j&&(ui(E,D,b,U+4,L,k),Ai(O,M,R,Q,_,U+4,L,k)),T.La&&(fi(E,D,b,U,L,k),vi(O,M,R,Q,_,U,L,k)),0<C&&(ci(E,D,b,U+4,L,k),pi(O,M,R,Q,_,U+4,L,k)),T.La&&(hi(E,D,b,U,L,k),mi(O,M,R,Q,_,U,L,k))}}if(l.ia&&alert("todo:DitherRow"),null!=o.put){if(w=16*I,I=16*(I+1),B?(o.y=l.sa,o.O=l.ta+x,o.f=l.qa,o.N=l.ra+N,o.ea=l.Ha,o.W=l.Ia+N):(w-=y,o.y=A,o.O=h,o.f=f,o.N=u,o.ea=m,o.W=v),g||(I-=y),I>o.o&&(I=o.o),o.F=null,o.J=null,null!=l.Fa&&0<l.Fa.length&&w<I&&(o.J=un(l,o,w,I-w),o.F=l.mb,null==o.F&&0==o.F.length)){d=Ke(l,3,"Could not decode alpha data.");break t}w<o.j&&(y=o.j-w,w=o.j,t(!(1&y)),o.O+=l.R*y,o.N+=l.B*(y>>1),o.W+=l.B*(y>>1),null!=o.F&&(o.J+=o.width*y)),w<I&&(o.O+=o.v,o.N+=o.v>>1,o.W+=o.v>>1,null!=o.F&&(o.J+=o.v),o.ka=w-o.j,o.U=o.va-o.v,o.T=I-w,d=o.put(o))}s+1!=l.Ic||g||(i(l.sa,l.ta-c,A,h+16*l.R,c),i(l.qa,l.ra-p,f,u+8*l.B,p),i(l.Ha,l.Ia-p,m,v+8*l.B,p))}if(!d)return Ke(e,6,"Output aborted.")}return 1}(e,n)),null!=n.bc&&n.bc(n),l&=1}return l?(e.cb=0,l):0})(e,o)||(n=e.a)}}else n=e.a}0==n&&null!=u.Oa&&u.Oa.fd&&(n=Un(u.ba))}u=n}c=0!=u?null:11>c?p.f.RGBA.eb:p.f.kb.y}else c=null;return c};var Ra=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function d(e,t){for(var n="",i=0;i<4;i++)n+=String.fromCharCode(e[t++]);return n}function c(e,t){return e[t+0]|e[t+1]<<8}function u(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16)>>>0}function p(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new o;var A=[0],h=[0],f=[],m=new o,v=e,g=function(e,t){var n={},i=0,a=!1,r=0,s=0;if(n.frames=[],! +/** @license + * Copyright (c) 2017 Dominik Homberger + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + https://webpjs.appspot.com + WebPRiffParser dominikhlbg@gmail.com + */ +function(e,t){for(var n=0;n<4;n++)if(e[t+n]!="RIFF".charCodeAt(n))return!0;return!1}(e,t)){for(p(e,t+=4),t+=8;t<e.length;){var l=d(e,t),o=p(e,t+=4);t+=4;var A=o+(1&o);switch(l){case"VP8 ":case"VP8L":void 0===n.frames[i]&&(n.frames[i]={}),(m=n.frames[i]).src_off=a?s:t-8,m.src_size=r+o+8,i++,a&&(a=!1,r=0,s=0);break;case"VP8X":(m=n.header={}).feature_flags=e[t];var h=t+4;m.canvas_width=1+u(e,h),h+=3,m.canvas_height=1+u(e,h),h+=3;break;case"ALPH":a=!0,r=A+8,s=t-8;break;case"ANIM":(m=n.header).bgcolor=p(e,t),h=t+4,m.loop_count=c(e,h),h+=2;break;case"ANMF":var f,m;(m=n.frames[i]={}).offset_x=2*u(e,t),t+=3,m.offset_y=2*u(e,t),t+=3,m.width=1+u(e,t),t+=3,m.height=1+u(e,t),t+=3,m.duration=u(e,t),t+=3,f=e[t++],m.dispose=1&f,m.blend=f>>1&1}"ANMF"!=l&&(t+=A)}return n}}(v,0);g.response=v,g.rgbaoutput=!0,g.dataurl=!1;var y=g.header?g.header:null,x=g.frames?g.frames:null;if(y){y.loop_counter=y.loop_count,A=[y.canvas_height],h=[y.canvas_width];for(var b=0;b<x.length&&0!=x[b].blend;b++);}var w=x[0],j=m.WebPDecodeRGBA(v,w.src_off,w.src_size,h,A);w.rgba=j,w.imgwidth=h[0],w.imgheight=A[0];for(var C=0;C<h[0]*A[0]*4;C++)f[C]=j[C];return this.width=h,this.height=A,this.data=f,this}!function(e){var t,n,i,a,r,s,l,o,d,c=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new o,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new s,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new s,this.lineDashOffset=e.lineDashOffset||0,this.lineDash=e.lineDash||[],this.margin=e.margin||[0,0,0,0],this.prevPageLastElemOffset=e.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new u(this),t=this.internal.f2,n=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,a=this.internal.getHorizontalCoordinate,r=this.internal.getVerticalCoordinate,s=this.internal.Point,l=this.internal.Rectangle,o=this.internal.Matrix,d=new c}]);var u=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var n=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var i=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return i},set:function(e){i=Boolean(e)}});var a=0;Object.defineProperty(this,"posX",{get:function(){return a},set:function(e){isNaN(e)||(a=e)}});var r=0;Object.defineProperty(this,"posY",{get:function(){return r},set:function(e){isNaN(e)||(r=e)}}),Object.defineProperty(this,"margin",{get:function(){return d.margin},set:function(e){var t;"number"==typeof e?t=[e,e,e,e]:((t=new Array(4))[0]=e[0],t[1]=e.length>=2?e[1]:t[0],t[2]=e.length>=3?e[2]:t[0],t[3]=e.length>=4?e[3]:t[1]),d.margin=t}});var s=!1;Object.defineProperty(this,"autoPaging",{get:function(){return s},set:function(e){s=e}});var l=0;Object.defineProperty(this,"lastBreak",{get:function(){return l},set:function(e){l=e}});var o=[];Object.defineProperty(this,"pageBreaks",{get:function(){return o},set:function(e){o=e}}),Object.defineProperty(this,"ctx",{get:function(){return d},set:function(e){e instanceof c&&(d=e)}}),Object.defineProperty(this,"path",{get:function(){return d.path},set:function(e){d.path=e}});var u=[];Object.defineProperty(this,"ctxStack",{get:function(){return u},set:function(e){u=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=A(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=A(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var p=null,h=null;Object.defineProperty(this,"fontFaces",{get:function(){return h},set:function(e){p=null,h=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(e))){var n=t[1];t[2];var i=t[3],a=t[4];t[5];var r=t[6],s=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(a)[2];a="px"===s?Math.floor(parseFloat(a)*this.pdf.internal.scaleFactor):"em"===s?Math.floor(parseFloat(a)*this.pdf.getFontSize()):Math.floor(parseFloat(a)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(a);var l=function(e){var t,n,i=[],a=e.trim();if(""===a)return op;if(a in Gu)return[Gu[a]];for(;""!==a;){switch(n=null,t=(a=Xu(a)).charAt(0)){case'"':case"'":n=Ju(a.substring(1),t);break;default:n=Zu(a)}if(null===n)return op;if(i.push(n[0]),""!==(a=Xu(n[1]))&&","!==a.charAt(0))return op;a=a.replace(/^,/,"")}return i}(r);if(this.fontFaces){var o=function(e,t,n){for(var i=(n=n||{}).defaultFontFamily||"times",a=Object.assign({},Ku,n.genericFontFamilies||{}),r=null,s=null,l=0;l<t.length;++l)if(a[(r=Wu(t[l])).family]&&(r.family=a[r.family]),e.hasOwnProperty(r.family)){s=e[r.family];break}if(!(s=s||e[i]))throw new Error("Could not find a font-family for the rule '"+$u(r)+"' and default family '"+i+"'.");if(s=function(e,t){if(t[e])return t[e];var n=Vu[e],i=n<=Vu.normal?-1:1,a=Yu(t,Hu,n,i);if(!a)throw new Error("Could not find a matching font-stretch value for "+e);return a}(r.stretch,s),s=function(e,t){if(t[e])return t[e];for(var n=Qu[e],i=0;i<n.length;++i)if(t[n[i]])return t[n[i]];throw new Error("Could not find a matching font-style for "+e)}(r.style,s),!(s=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var n=qu[e],i=Yu(t,zu,n,e<400?-1:1);if(!i)throw new Error("Could not find a matching font-weight for value "+e);return i}(r.weight,s)))throw new Error("Failed to resolve a font for the rule '"+$u(r)+"'.");return s}(function(e,t){if(null===p){var n=(i=e.getFontList(),a=[],Object.keys(i).forEach((function(e){i[e].forEach((function(t){var n=null;switch(t){case"bold":n={family:e,weight:"bold"};break;case"italic":n={family:e,style:"italic"};break;case"bolditalic":n={family:e,weight:"bold",style:"italic"};break;case"":case"normal":n={family:e}}null!==n&&(n.ref={name:e,style:t},a.push(n))}))})),a);p=function(e){for(var t={},n=0;n<e.length;++n){var i=Wu(e[n]),a=i.family,r=i.stretch,s=i.style,l=i.weight;t[a]=t[a]||{},t[a][r]=t[a][r]||{},t[a][r][s]=t[a][r][s]||{},t[a][r][s][l]=i}return t}(n.concat(t))}var i,a;return p}(this.pdf,this.fontFaces),l.map((function(e){return{family:e,stretch:"normal",weight:i,style:n}})));this.pdf.setFont(o.ref.name,o.ref.style)}else{var d="";("bold"===i||parseInt(i,10)>=700||"bold"===n)&&(d="bold"),"italic"===n&&(d+="italic"),0===d.length&&(d="normal");for(var c="",u={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},A=0;A<l.length;A++){if(void 0!==this.pdf.internal.getFont(l[A],d,{noFallback:!0,disableWarning:!0})){c=l[A];break}if("bolditalic"===d&&void 0!==this.pdf.internal.getFont(l[A],"bold",{noFallback:!0,disableWarning:!0}))c=l[A],d="bold";else if(void 0!==this.pdf.internal.getFont(l[A],"normal",{noFallback:!0,disableWarning:!0})){c=l[A],d="normal";break}}if(""===c)for(var h=0;h<l.length;h++)if(u[l[h]]){c=u[l[h]];break}c=""===c?"Times":c,this.pdf.setFont(c,d)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(e){this.ctx.lineDashOffset=e,O.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(e){this.ctx.lineDash=e,O.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};u.prototype.setLineDash=function(e){this.lineDash=e},u.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},u.prototype.fill=function(){b.call(this,"fill",!1)},u.prototype.stroke=function(){b.call(this,"stroke",!1)},u.prototype.beginPath=function(){this.path=[{type:"begin"}]},u.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw yc.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var n=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(e,t)},u.prototype.closePath=function(){var e=new s(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===p(this.path[t+1])&&"number"==typeof this.path[t+1].x){e=new s(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(e.x,e.y)},u.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw yc.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var n=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(n.x,n.y)},u.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),b.call(this,null,!0)},u.prototype.quadraticCurveTo=function(e,t,n,i){if(isNaN(n)||isNaN(i)||isNaN(e)||isNaN(t))throw yc.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var a=this.ctx.transform.applyToPoint(new s(n,i)),r=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"qct",x1:r.x,y1:r.y,x:a.x,y:a.y}),this.ctx.lastPoint=new s(a.x,a.y)},u.prototype.bezierCurveTo=function(e,t,n,i,a,r){if(isNaN(a)||isNaN(r)||isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i))throw yc.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var l=this.ctx.transform.applyToPoint(new s(a,r)),o=this.ctx.transform.applyToPoint(new s(e,t)),d=this.ctx.transform.applyToPoint(new s(n,i));this.path.push({type:"bct",x1:o.x,y1:o.y,x2:d.x,y2:d.y,x:l.x,y:l.y}),this.ctx.lastPoint=new s(l.x,l.y)},u.prototype.arc=function(e,t,n,i,a,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||isNaN(a))throw yc.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(r=Boolean(r),!this.ctx.transform.isIdentity){var l=this.ctx.transform.applyToPoint(new s(e,t));e=l.x,t=l.y;var o=this.ctx.transform.applyToPoint(new s(0,n)),d=this.ctx.transform.applyToPoint(new s(0,0));n=Math.sqrt(Math.pow(o.x-d.x,2)+Math.pow(o.y-d.y,2))}Math.abs(a-i)>=2*Math.PI&&(i=0,a=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:n,startAngle:i,endAngle:a,counterclockwise:r})},u.prototype.arcTo=function(e,t,n,i,a){throw new Error("arcTo not implemented.")},u.prototype.rect=function(e,t,n,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i))throw yc.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+i),this.lineTo(e,t+i),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},u.prototype.fillRect=function(e,t,n,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i))throw yc.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!h.call(this)){var a={};"butt"!==this.lineCap&&(a.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(a.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,n,i),this.fill(),a.hasOwnProperty("lineCap")&&(this.lineCap=a.lineCap),a.hasOwnProperty("lineJoin")&&(this.lineJoin=a.lineJoin)}},u.prototype.strokeRect=function(e,t,n,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i))throw yc.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");f.call(this)||(this.beginPath(),this.rect(e,t,n,i),this.stroke())},u.prototype.clearRect=function(e,t,n,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i))throw yc.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,n,i))},u.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var i=new c(this.ctx);this.ctxStack.push(this.ctx),this.ctx=i}},u.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},u.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var A=function(e){var t,n,i,a;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,n=0,i=0,a=0;else{var r=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==r)t=parseInt(r[1]),n=parseInt(r[2]),i=parseInt(r[3]),a=1;else if(null!==(r=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(r[1]),n=parseInt(r[2]),i=parseInt(r[3]),a=parseFloat(r[4]);else{if(a=1,"string"==typeof e&&"#"!==e.charAt(0)){var s=new Cc(e);e=s.ok?s.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,n=e.substring(2,3),n+=n,i=e.substring(3,4),i+=i):(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7)),t=parseInt(t,16),n=parseInt(n,16),i=parseInt(i,16)}}return{r:t,g:n,b:i,a:a,style:e}},h=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},f=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};u.prototype.fillText=function(e,t,n,i){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw yc.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(i=isNaN(i)?void 0:i,!h.call(this)){var a=L(this.ctx.transform.rotation),r=this.ctx.transform.scaleX;B.call(this,{text:e,x:t,y:n,scale:r,angle:a,align:this.textAlign,maxWidth:i})}},u.prototype.strokeText=function(e,t,n,i){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw yc.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!f.call(this)){i=isNaN(i)?void 0:i;var a=L(this.ctx.transform.rotation),r=this.ctx.transform.scaleX;B.call(this,{text:e,x:t,y:n,scale:r,renderingMode:"stroke",angle:a,align:this.textAlign,maxWidth:i})}},u.prototype.measureText=function(e){if("string"!=typeof e)throw yc.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,n=this.pdf.internal.scaleFactor,i=t.internal.getFontSize(),a=t.getStringUnitWidth(e)*i/t.internal.scaleFactor;return new function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:a*=Math.round(96*n/72*1e4)/1e4})},u.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw yc.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new o(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},u.prototype.rotate=function(e){if(isNaN(e))throw yc.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new o(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},u.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw yc.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var n=new o(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(n)},u.prototype.transform=function(e,t,n,i,a,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||isNaN(a)||isNaN(r))throw yc.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var s=new o(e,t,n,i,a,r);this.ctx.transform=this.ctx.transform.multiply(s)},u.prototype.setTransform=function(e,t,n,i,a,r){e=isNaN(e)?1:e,t=isNaN(t)?0:t,n=isNaN(n)?0:n,i=isNaN(i)?1:i,a=isNaN(a)?0:a,r=isNaN(r)?0:r,this.ctx.transform=new o(e,t,n,i,a,r)};var m=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};u.prototype.drawImage=function(e,t,n,i,a,r,s,d,c){var u=this.pdf.getImageProperties(e),p=1,A=1,h=1,f=1;void 0!==i&&void 0!==d&&(h=d/i,f=c/a,p=u.width/i*d/i,A=u.height/a*c/a),void 0===r&&(r=t,s=n,t=0,n=0),void 0!==i&&void 0===d&&(d=i,c=a),void 0===i&&void 0===d&&(d=u.width,c=u.height);for(var g,b=this.ctx.transform.decompose(),j=L(b.rotate.shx),C=new o,S=(C=(C=(C=C.multiply(b.translate)).multiply(b.skew)).multiply(b.scale)).applyToRectangle(new l(r-t*h,s-n*f,i*p,a*A)),N=v.call(this,S),I=[],F=0;F<N.length;F+=1)-1===I.indexOf(N[F])&&I.push(N[F]);if(x(I),this.autoPaging)for(var B=I[0],P=I[I.length-1],k=B;k<P+1;k++){this.pdf.setPage(k);var T=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],E=1===k?this.posY+this.margin[0]:this.margin[0],D=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],U=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],_=1===k?0:D+(k-2)*U;if(0!==this.ctx.clip_path.length){var O=this.path;g=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(g,this.posX+this.margin[3],-_+E+this.ctx.prevPageLastElemOffset),w.call(this,"fill",!0),this.path=O}var M=JSON.parse(JSON.stringify(S));M=y([M],this.posX+this.margin[3],-_+E+this.ctx.prevPageLastElemOffset)[0];var R=(k>B||k<P)&&m.call(this);R&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],T,U,null).clip().discardPath()),this.pdf.addImage(e,"JPEG",M.x,M.y,M.w,M.h,null,null,j),R&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(e,"JPEG",S.x,S.y,S.w,S.h,null,null,j)};var v=function(e,t,n){var i=[];t=t||this.pdf.internal.pageSize.width,n=n||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var a=this.posY+this.ctx.prevPageLastElemOffset;switch(e.type){default:case"mt":case"lt":i.push(Math.floor((e.y+a)/n)+1);break;case"arc":i.push(Math.floor((e.y+a-e.radius)/n)+1),i.push(Math.floor((e.y+a+e.radius)/n)+1);break;case"qct":var r=U(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);i.push(Math.floor((r.y+a)/n)+1),i.push(Math.floor((r.y+r.h+a)/n)+1);break;case"bct":var s=_(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);i.push(Math.floor((s.y+a)/n)+1),i.push(Math.floor((s.y+s.h+a)/n)+1);break;case"rect":i.push(Math.floor((e.y+a)/n)+1),i.push(Math.floor((e.y+e.h+a)/n)+1)}for(var l=0;l<i.length;l+=1)for(;this.pdf.internal.getNumberOfPages()<i[l];)g.call(this);return i},g=function(){var e=this.fillStyle,t=this.strokeStyle,n=this.font,i=this.lineCap,a=this.lineWidth,r=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=n,this.lineCap=i,this.lineWidth=a,this.lineJoin=r},y=function(e,t,n){for(var i=0;i<e.length;i++)switch(e[i].type){case"bct":e[i].x2+=t,e[i].y2+=n;case"qct":e[i].x1+=t,e[i].y1+=n;default:e[i].x+=t,e[i].y+=n}return e},x=function(e){return e.sort((function(e,t){return e-t}))},b=function(e,t){for(var n,i,a=this.fillStyle,r=this.strokeStyle,s=this.lineCap,l=this.lineWidth,o=Math.abs(l*this.ctx.transform.scaleX),d=this.lineJoin,c=JSON.parse(JSON.stringify(this.path)),u=JSON.parse(JSON.stringify(this.path)),p=[],A=0;A<u.length;A++)if(void 0!==u[A].x)for(var h=v.call(this,u[A]),f=0;f<h.length;f+=1)-1===p.indexOf(h[f])&&p.push(h[f]);for(var b=0;b<p.length;b++)for(;this.pdf.internal.getNumberOfPages()<p[b];)g.call(this);if(x(p),this.autoPaging)for(var j=p[0],C=p[p.length-1],S=j;S<C+1;S++){this.pdf.setPage(S),this.fillStyle=a,this.strokeStyle=r,this.lineCap=s,this.lineWidth=o,this.lineJoin=d;var N=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],I=1===S?this.posY+this.margin[0]:this.margin[0],F=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],B=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],P=1===S?0:F+(S-2)*B;if(0!==this.ctx.clip_path.length){var k=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(n,this.posX+this.margin[3],-P+I+this.ctx.prevPageLastElemOffset),w.call(this,e,!0),this.path=k}if(i=JSON.parse(JSON.stringify(c)),this.path=y(i,this.posX+this.margin[3],-P+I+this.ctx.prevPageLastElemOffset),!1===t||0===S){var T=(S>j||S<C)&&m.call(this);T&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],N,B,null).clip().discardPath()),w.call(this,e,t),T&&this.pdf.restoreGraphicsState()}this.lineWidth=l}else this.lineWidth=o,w.call(this,e,t),this.lineWidth=l;this.path=c},w=function(e,t){if(("stroke"!==e||t||!f.call(this))&&("stroke"===e||t||!h.call(this))){for(var n,i,a=[],r=this.path,s=0;s<r.length;s++){var l=r[s];switch(l.type){case"begin":a.push({begin:!0});break;case"close":a.push({close:!0});break;case"mt":a.push({start:l,deltas:[],abs:[]});break;case"lt":var o=a.length;if(r[s-1]&&!isNaN(r[s-1].x)&&(n=[l.x-r[s-1].x,l.y-r[s-1].y],o>0))for(;o>=0;o--)if(!0!==a[o-1].close&&!0!==a[o-1].begin){a[o-1].deltas.push(n),a[o-1].abs.push(l);break}break;case"bct":n=[l.x1-r[s-1].x,l.y1-r[s-1].y,l.x2-r[s-1].x,l.y2-r[s-1].y,l.x-r[s-1].x,l.y-r[s-1].y],a[a.length-1].deltas.push(n);break;case"qct":var d=r[s-1].x+2/3*(l.x1-r[s-1].x),c=r[s-1].y+2/3*(l.y1-r[s-1].y),u=l.x+2/3*(l.x1-l.x),p=l.y+2/3*(l.y1-l.y),A=l.x,m=l.y;n=[d-r[s-1].x,c-r[s-1].y,u-r[s-1].x,p-r[s-1].y,A-r[s-1].x,m-r[s-1].y],a[a.length-1].deltas.push(n);break;case"arc":a.push({deltas:[],abs:[],arc:!0}),Array.isArray(a[a.length-1].abs)&&a[a.length-1].abs.push(l)}}i=t?null:"stroke"===e?"stroke":"fill";for(var v=!1,g=0;g<a.length;g++)if(a[g].arc)for(var y=a[g].abs,x=0;x<y.length;x++){var b=y[x];"arc"===b.type?S.call(this,b.x,b.y,b.radius,b.startAngle,b.endAngle,b.counterclockwise,void 0,t,!v):P.call(this,b.x,b.y),v=!0}else if(!0===a[g].close)this.pdf.internal.out("h"),v=!1;else if(!0!==a[g].begin){var w=a[g].start.x,j=a[g].start.y;k.call(this,a[g].deltas,w,j),v=!0}i&&N.call(this,i),t&&I.call(this)}},j=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-n;case"top":return e+t-n;case"hanging":return e+t-2*n;case"middle":return e+t/2-n;default:return e}},C=function(e){return e+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};u.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},u.prototype.createPattern=function(){return this.createLinearGradient()},u.prototype.createRadialGradient=function(){return this.createLinearGradient()};var S=function(e,t,n,i,a,r,s,l,o){for(var d=E.call(this,n,i,a,r),c=0;c<d.length;c++){var u=d[c];0===c&&(o?F.call(this,u.x1+e,u.y1+t):P.call(this,u.x1+e,u.y1+t)),T.call(this,e,t,u.x2,u.y2,u.x3,u.y3,u.x4,u.y4)}l?I.call(this):N.call(this,s)},N=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},I=function(){this.pdf.clip(),this.pdf.discardPath()},F=function(e,t){this.pdf.internal.out(n(e)+" "+i(t)+" m")},B=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;default:t="left"}var n=this.pdf.getTextDimensions(e.text),i=j.call(this,e.y),a=C.call(this,i)-n.h,r=this.ctx.transform.applyToPoint(new s(e.x,i)),d=this.ctx.transform.decompose(),c=new o;c=(c=(c=c.multiply(d.translate)).multiply(d.skew)).multiply(d.scale);for(var u,p,A,h=this.ctx.transform.applyToRectangle(new l(e.x,i,n.w,n.h)),f=c.applyToRectangle(new l(e.x,a,n.w,n.h)),g=v.call(this,f),b=[],S=0;S<g.length;S+=1)-1===b.indexOf(g[S])&&b.push(g[S]);if(x(b),this.autoPaging)for(var N=b[0],I=b[b.length-1],F=N;F<I+1;F++){this.pdf.setPage(F);var B=1===F?this.posY+this.margin[0]:this.margin[0],P=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],k=this.pdf.internal.pageSize.height-this.margin[2],T=k-this.margin[0],E=this.pdf.internal.pageSize.width-this.margin[1],D=E-this.margin[3],L=1===F?0:P+(F-2)*T;if(0!==this.ctx.clip_path.length){var U=this.path;u=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(u,this.posX+this.margin[3],-1*L+B),w.call(this,"fill",!0),this.path=U}var _=y([JSON.parse(JSON.stringify(f))],this.posX+this.margin[3],-L+B+this.ctx.prevPageLastElemOffset)[0];e.scale>=.01&&(p=this.pdf.internal.getFontSize(),this.pdf.setFontSize(p*e.scale),A=this.lineWidth,this.lineWidth=A*e.scale);var O="text"!==this.autoPaging;if(O||_.y+_.h<=k){if(O||_.y>=B&&_.x<=E){var M=O?e.text:this.pdf.splitTextToSize(e.text,e.maxWidth||E-_.x)[0],R=y([JSON.parse(JSON.stringify(h))],this.posX+this.margin[3],-L+B+this.ctx.prevPageLastElemOffset)[0],Q=O&&(F>N||F<I)&&m.call(this);Q&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],D,T,null).clip().discardPath()),this.pdf.text(M,R.x,R.y,{angle:e.angle,align:t,renderingMode:e.renderingMode}),Q&&this.pdf.restoreGraphicsState()}}else _.y<k&&(this.ctx.prevPageLastElemOffset+=k-_.y);e.scale>=.01&&(this.pdf.setFontSize(p),this.lineWidth=A)}else e.scale>=.01&&(p=this.pdf.internal.getFontSize(),this.pdf.setFontSize(p*e.scale),A=this.lineWidth,this.lineWidth=A*e.scale),this.pdf.text(e.text,r.x+this.posX,r.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(p),this.lineWidth=A)},P=function(e,t,a,r){a=a||0,r=r||0,this.pdf.internal.out(n(e+a)+" "+i(t+r)+" l")},k=function(e,t,n){return this.pdf.lines(e,t,n,null,null)},T=function(e,n,i,s,l,o,d,c){this.pdf.internal.out([t(a(i+e)),t(r(s+n)),t(a(l+e)),t(r(o+n)),t(a(d+e)),t(r(c+n)),"c"].join(" "))},E=function(e,t,n,i){for(var a=2*Math.PI,r=Math.PI/2;t>n;)t-=a;var s=Math.abs(n-t);s<a&&i&&(s=a-s);for(var l=[],o=i?-1:1,d=t;s>1e-5;){var c=d+o*Math.min(s,r);l.push(D.call(this,e,d,c)),s-=Math.abs(c-d),d=c}return l},D=function(e,t,n){var i=(n-t)/2,a=e*Math.cos(i),r=e*Math.sin(i),s=a,l=-r,o=s*s+l*l,d=o+s*a+l*r,c=4/3*(Math.sqrt(2*o*d)-d)/(s*r-l*a),u=s-c*l,p=l+c*s,A=u,h=-p,f=i+t,m=Math.cos(f),v=Math.sin(f);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:u*m-p*v,y2:u*v+p*m,x3:A*m-h*v,y3:A*v+h*m,x4:e*Math.cos(n),y4:e*Math.sin(n)}},L=function(e){return 180*e/Math.PI},U=function(e,t,n,i,a,r){var s=e+.5*(n-e),o=t+.5*(i-t),d=a+.5*(n-a),c=r+.5*(i-r),u=Math.min(e,a,s,d),p=Math.max(e,a,s,d),A=Math.min(t,r,o,c),h=Math.max(t,r,o,c);return new l(u,A,p-u,h-A)},_=function(e,t,n,i,a,r,s,o){var d,c,u,p,A,h,f,m,v,g,y,x,b,w,j=n-e,C=i-t,S=a-n,N=r-i,I=s-a,F=o-r;for(c=0;c<41;c++)v=(f=(u=e+(d=c/40)*j)+d*((A=n+d*S)-u))+d*(A+d*(a+d*I-A)-f),g=(m=(p=t+d*C)+d*((h=i+d*N)-p))+d*(h+d*(r+d*F-h)-m),0==c?(y=v,x=g,b=v,w=g):(y=Math.min(y,v),x=Math.min(x,g),b=Math.max(b,v),w=Math.max(w,g));return new l(Math.round(y),Math.round(x),Math.round(b-y),Math.round(w-x))},O=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var e,t,n=(e=this.ctx.lineDash,t=this.ctx.lineDashOffset,JSON.stringify({lineDash:e,lineDashOffset:t}));this.prevLineDash!==n&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=n)}}}($c.API), +/** + * @license + * jsPDF filters PlugIn + * Copyright (c) 2014 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){var t=function(e){var t,n,i,a,r,s,l,o,d,c;for(n=[],i=0,a=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;a>i;i+=4)0!==(r=(e.charCodeAt(i)<<24)+(e.charCodeAt(i+1)<<16)+(e.charCodeAt(i+2)<<8)+e.charCodeAt(i+3))?(s=(r=((r=((r=((r=(r-(c=r%85))/85)-(d=r%85))/85)-(o=r%85))/85)-(l=r%85))/85)%85,n.push(s+33,l+33,o+33,d+33,c+33)):n.push(122);return function(e,t){for(var n=t;n>0;n--)e.pop()}(n,t.length),String.fromCharCode.apply(String,n)+"~>"},n=function(e){var t,n,i,a,r,s=String,l="length",o=255,d="charCodeAt",c="slice",u="replace";for(e[c](-2),e=e[c](0,-2)[u](/\s/g,"")[u]("z","!!!!!"),i=[],a=0,r=(e+=t="uuuuu"[c](e[l]%5||5))[l];r>a;a+=5)n=52200625*(e[d](a)-33)+614125*(e[d](a+1)-33)+7225*(e[d](a+2)-33)+85*(e[d](a+3)-33)+(e[d](a+4)-33),i.push(o&n>>24,o&n>>16,o&n>>8,o&n);return function(e,t){for(var n=t;n>0;n--)e.pop()}(i,t[l]),s.fromCharCode.apply(s,i)},i=function(e){return e.split("").map((function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)})).join("")+">"},a=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",i=0;i<e.length;i+=2)n+=String.fromCharCode("0x"+(e[i]+e[i+1]));return n},r=function(e){for(var t=new Uint8Array(e.length),n=e.length;n--;)t[n]=e.charCodeAt(n);return(t=ns(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,s){var l=0,o=e||"",d=[];for("string"==typeof(s=s||[])&&(s=[s]),l=0;l<s.length;l+=1)switch(s[l]){case"ASCII85Decode":case"/ASCII85Decode":o=n(o),d.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":o=t(o),d.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":o=a(o),d.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":o=i(o),d.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":o=r(o),d.push("/FlateDecode");break;default:throw new Error('The filter: "'+s[l]+'" is not implemented')}return{data:o,reverseChain:d.reverse().join(" ")}}}($c.API), +/** + * @license + * jsPDF fileloading PlugIn + * Copyright (c) 2018 Aras Abbasi (aras.abbasi@gmail.com) + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){e.loadFile=function(e,t,n){return function(e,t,n){t=!1!==t,n="function"==typeof n?n:function(){};var i=void 0;try{i=function(e,t,n){var i=new XMLHttpRequest,a=0,r=function(e){var t=e.length,n=[],i=String.fromCharCode;for(a=0;a<t;a+=1)n.push(i(255&e.charCodeAt(a)));return n.join("")};if(i.open("GET",e,!t),i.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(i.onload=function(){200===i.status?n(r(this.responseText)):n(void 0)}),i.send(null),t&&200===i.status)return r(i.responseText)}(e,t,n)}catch(a){}return i}(e,t,n)},e.loadImageFile=e.loadFile}($c.API),function(e){function t(){return(vc.html2canvas?Promise.resolve(vc.html2canvas):pr((()=>Promise.resolve().then((()=>T9))),void 0)).catch((function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))})).then((function(e){return e.default?e.default:e}))}function n(){return(vc.DOMPurify?Promise.resolve(vc.DOMPurify):pr((()=>import("./purify.es-5860e1d7.js")),[])).catch((function(e){return Promise.reject(new Error("Could not load dompurify: "+e))})).then((function(e){return e.default?e.default:e}))}var i=function(e){var t=p(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},a=function(e,t){var n=document.createElement(e);for(var i in t.className&&(n.className=t.className),t.innerHTML&&t.dompurify&&(n.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)n.style[i]=t.style[i];return n},r=function e(t,n){for(var i=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),a=t.firstChild;a;a=a.nextSibling)!0!==n&&1===a.nodeType&&"SCRIPT"===a.nodeName||i.appendChild(e(a,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(i.width=t.width,i.height=t.height,i.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(i.value=t.value),i.addEventListener("load",(function(){i.scrollTop=t.scrollTop,i.scrollLeft=t.scrollLeft}),!0)),i},s=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),i=e.convert(Promise.resolve(),n);return(i=i.setProgress(1,e,1,[e])).set(t)};(s.prototype=Object.create(Promise.prototype)).constructor=s,s.convert=function(e,t){return e.__proto__=t||s.prototype,e},s.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},s.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch(i(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(n).then((function(t){return this.set({src:a("div",{innerHTML:e,dompurify:t})})}));case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},s.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},s.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=r(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=a("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=a("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(a("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},s.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},s.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=this.opt.jsPDF,n=this.opt.fontFaces,i="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,a=Object.assign({async:!0,allowTaint:!0,scale:i,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete a.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=n,n)for(var r=0;r<n.length;++r){var s=n[r],l=s.src.find((function(e){return"truetype"===e.format}));l&&t.addFont(l.url,s.ref.name,s.ref.style)}return a.windowHeight=a.windowHeight||0,a.windowHeight=0==a.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):a.windowHeight,t.context2d.save(!0),e(this.prop.container,a)})).then((function(e){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},s.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},s.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},s.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},s.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},s.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}}))},s.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},s.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},s.prototype.set=function(e){if("object"!==i(e))return this;var t=Object.keys(e||{}).map((function(t){if(t in s.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},s.prototype.get=function(e,t){return this.then((function(){var n=e in s.template.prop?this.prop[e]:this.opt[e];return t?t(n):n}))},s.prototype.setMargin=function(e){return this.then((function(){switch(i(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},s.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then((function(){(e=e||$c.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},s.prototype.setProgress=function(e,t,n,i){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=i&&(this.progress.stack=i),this.progress.ratio=this.progress.val/this.progress.state,this},s.prototype.updateProgress=function(e,t,n,i){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,i?this.progress.stack.concat(i):null)},s.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,(function(e,t){return n.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,(function(t){return n.updateProgress(null,e),t})).then(e,t).then((function(e){return n.updateProgress(1),e}))}))},s.prototype.thenCore=function(e,t,n){n=n||Promise.prototype.then;var i=this;e&&(e=e.bind(i)),t&&(t=t.bind(i));var a=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?i:s.convert(Object.assign({},i),Promise.prototype),r=n.call(a,e,t);return s.convert(r,i.__proto__)},s.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},s.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},s.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return s.convert(t,this)},s.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},s.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},s.prototype.using=s.prototype.set,s.prototype.saveAs=s.prototype.save,s.prototype.export=s.prototype.output,s.prototype.run=s.prototype.then,$c.getPageSize=function(e,t,n){if("object"===p(e)){var i=e;e=i.orientation,t=i.unit||t,n=i.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var a,r=(""+n).toLowerCase(),s={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":a=1;break;case"mm":a=72/25.4;break;case"cm":a=72/2.54;break;case"in":a=72;break;case"px":a=.75;break;case"pc":case"em":a=12;break;case"ex":a=6;break;default:throw"Invalid unit: "+t}var l,o=0,d=0;if(s.hasOwnProperty(r))o=s[r][1]/a,d=s[r][0]/a;else try{o=n[1],d=n[0]}catch(c){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e)e="p",d>o&&(l=d,d=o,o=l);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",o>d&&(l=d,d=o,o=l)}return{width:d,height:o,unit:t,k:a,orientation:e}},e.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(Wu):null;var n=new s(t);return t.worker?n:n.from(e).doCallback()}}($c.API),$c.API.addJS=function(e){return np=e,this.internal.events.subscribe("postPutResources",(function(){ep=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(ep+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),tp=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+np+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==ep&&void 0!==tp&&this.internal.out("/Names <</JavaScript "+ep+" 0 R>>")})),this}, +/** + * @license + * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){var t;e.events.push(["postPutResources",function(){var e=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=e.outline.render().split(/\r\n/),a=0;a<i.length;a++){var r=i[a],s=n.exec(r);if(null!=s){var l=s[1];e.internal.newObjectDeferredBegin(l,!1)}e.internal.write(r)}if(this.outline.createNamedDestinations){var o=this.internal.pages.length,d=[];for(a=0;a<o;a++){var c=e.internal.newObject();d.push(c);var u=e.internal.getPageInfo(a+1);e.internal.write("<< /D["+u.objId+" 0 R /XYZ null null null]>> endobj")}var p=e.internal.newObject();for(e.internal.write("<< /Names [ "),a=0;a<d.length;a++)e.internal.write("(page_"+(a+1)+")"+d[a]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+p+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,n){var i={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(i),i},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,i=0;i<t.children.length;i++){var a=t.children[i];this.objStart(a),this.line("/Title "+this.makeString(a.title)),this.line("/Parent "+this.makeRef(t)),i>0&&this.line("/Prev "+this.makeRef(t.children[i-1])),i<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[i+1])),a.children.length>0&&(this.line("/First "+this.makeRef(a.children[0])),this.line("/Last "+this.makeRef(a.children[a.children.length-1])));var r=this.count=this.count_r({count:0},a);if(r>0&&this.line("/Count "+r),a.options&&a.options.pageNumber){var s=e.internal.getPageInfo(a.options.pageNumber);this.line("/Dest ["+s.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var l=0;l<t.children.length;l++)this.renderItems(t.children[l])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}])}($c.API), +/** + * @license + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,n,i,a,r,s){var l,o=this.decode.DCT_DECODE,d=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=r||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(l=function(e){for(var n,i=256*e.charCodeAt(4)+e.charCodeAt(5),a=e.length,r={width:0,height:0,numcomponents:1},s=4;s<a;s+=2){if(s+=i,-1!==t.indexOf(e.charCodeAt(s+1))){n=256*e.charCodeAt(s+5)+e.charCodeAt(s+6),r={width:256*e.charCodeAt(s+7)+e.charCodeAt(s+8),height:n,numcomponents:e.charCodeAt(s+9)};break}i=256*e.charCodeAt(s+2)+e.charCodeAt(s+3)}return r}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}d={data:e,width:l.width,height:l.height,colorSpace:s,bitsPerComponent:8,filter:o,index:n,alias:i}}return d}}($c.API),$c.API.processPNG=function(e,t,n,i){if(this.__addimage__.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.__addimage__.isArrayBufferView(e)){var a,r=new hc(e,{checkCrc:!0}).decode(),s=r.width,l=r.height,o=r.channels,d=r.palette,c=r.depth;a=d&&1===o?function(e){for(var t=e.width,n=e.height,i=e.data,a=e.palette,r=e.depth,s=!1,l=[],o=[],d=void 0,c=!1,u=0,p=0;p<a.length;p++){var h=A(a[p],4),f=h[0],m=h[1],v=h[2],g=h[3];l.push(f,m,v),null!=g&&(0===g?(u++,o.length<1&&o.push(p)):g<255&&(c=!0))}if(c||u>1){s=!0,o=void 0;var y=t*n;d=new Uint8Array(y);for(var x=new DataView(i.buffer),b=0;b<y;b++){var w=vp(x,b,r),j=A(a[w],4)[3];d[b]=j}}else 0===u&&(o=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:s?8:void 0,colorBytes:i,alphaBytes:d,needSMask:s,palette:l,mask:o}}(r):2===o||4===o?function(e){for(var t=e.data,n=e.width,i=e.height,a=e.channels,r=e.depth,s=2===a?"DeviceGray":"DeviceRGB",l=a-1,o=n*i,d=l,c=o*d,u=1*o,p=Math.ceil(c*r/8),A=Math.ceil(u*r/8),h=new Uint8Array(p),f=new Uint8Array(A),m=new DataView(t.buffer),v=new DataView(h.buffer),g=new DataView(f.buffer),y=!1,x=0;x<o;x++){for(var b=x*a,w=0;w<d;w++)gp(v,vp(m,b+w,r),x*d+w,r);var j=vp(m,b+d,r);j<(1<<r)-1&&(y=!0),gp(g,j,1*x,r)}return{colorSpace:s,colorsPerPixel:l,sMaskBitsPerComponent:y?r:void 0,colorBytes:h,alphaBytes:f,needSMask:y}}(r):function(e){var t=e.data,n=1===e.channels?"DeviceGray":"DeviceRGB";return{colorSpace:n,colorsPerPixel:"DeviceGray"===n?1:3,colorBytes:t instanceof Uint16Array?function(e){for(var t=e.length,n=new Uint8Array(2*t),i=new DataView(n.buffer,n.byteOffset,n.byteLength),a=0;a<t;a++)i.setUint16(2*a,e[a],!1);return n}(t):t,needSMask:!1}}(r);var u,p,h,f=a,m=f.colorSpace,v=f.colorsPerPixel,g=f.sMaskBitsPerComponent,y=f.colorBytes,x=f.alphaBytes,b=f.needSMask,w=f.palette,j=f.mask,C=null;return i!==$c.API.image_compression.NONE?(C=function(e){var t;switch(e){case $c.API.image_compression.FAST:t=11;break;case $c.API.image_compression.MEDIUM:t=13;break;case $c.API.image_compression.SLOW:t=14;break;default:t=12}return t}(i),u=this.decode.FLATE_DECODE,p="/Predictor ".concat(C," /Colors ").concat(v," /BitsPerComponent ").concat(c," /Columns ").concat(s),e=dp(y,Math.ceil(s*v*c/8),v,c,i),b&&(h=dp(x,Math.ceil(s*g/8),1,g,i))):(u=void 0,p=void 0,e=y,b&&(h=x)),(this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e))&&(e=this.__addimage__.arrayBufferToBinaryString(e)),(h&&this.__addimage__.isArrayBuffer(h)||this.__addimage__.isArrayBufferView(h))&&(h=this.__addimage__.arrayBufferToBinaryString(h)),{alias:n,data:e,index:t,filter:u,decodeParameters:p,transparency:j,palette:w,sMask:h,predictor:C,width:s,height:l,bitsPerComponent:c,sMaskBitsPerComponent:g,colorSpace:m}}},function(e){e.processGIF89A=function(t,n,i,a){var r=new xp(t),s=r.width,l=r.height,o=[];r.decodeAndBlitFrameRGBA(0,o);var d={data:o,width:s,height:l},c=new wp(100).encode(d,100);return e.processJPEG.call(this,c,n,i,a)},e.processGIF87A=e.processGIF89A}($c.API),jp.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:a,green:i,blue:n,quad:r}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},jp.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(Zre){yc.log("bit decode error:"+Zre)}},jp.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;for(e=this.height-1;e>=0;e--){for(var i=this.bottom_up?e:this.height-1-e,a=0;a<t;a++)for(var r=this.datav.getUint8(this.pos++,!0),s=i*this.width*4+8*a*4,l=0;l<8&&8*a+l<this.width;l++){var o=this.palette[r>>7-l&1];this.data[s+4*l]=o.blue,this.data[s+4*l+1]=o.green,this.data[s+4*l+2]=o.red,this.data[s+4*l+3]=255}0!==n&&(this.pos+=4-n)}},jp.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,a=0;a<e;a++){var r=this.datav.getUint8(this.pos++,!0),s=i*this.width*4+2*a*4,l=r>>4,o=15&r,d=this.palette[l];if(this.data[s]=d.blue,this.data[s+1]=d.green,this.data[s+2]=d.red,this.data[s+3]=255,2*a+1>=this.width)break;d=this.palette[o],this.data[s+4]=d.blue,this.data[s+4+1]=d.green,this.data[s+4+2]=d.red,this.data[s+4+3]=255}0!==t&&(this.pos+=4-t)}},jp.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i<this.width;i++){var a=this.datav.getUint8(this.pos++,!0),r=n*this.width*4+4*i;if(a<this.palette.length){var s=this.palette[a];this.data[r]=s.red,this.data[r+1]=s.green,this.data[r+2]=s.blue,this.data[r+3]=255}else this.data[r]=255,this.data[r+1]=255,this.data[r+2]=255,this.data[r+3]=255}0!==e&&(this.pos+=4-e)}},jp.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,a=0;a<this.width;a++){var r=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(r&t)/t*255|0,l=(r>>5&t)/t*255|0,o=(r>>10&t)/t*255|0,d=r>>15?255:0,c=i*this.width*4+4*a;this.data[c]=o,this.data[c+1]=l,this.data[c+2]=s,this.data[c+3]=d}this.pos+=e}},jp.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),i=this.height-1;i>=0;i--){for(var a=this.bottom_up?i:this.height-1-i,r=0;r<this.width;r++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var l=(s&t)/t*255|0,o=(s>>5&n)/n*255|0,d=(s>>11)/t*255|0,c=a*this.width*4+4*r;this.data[c]=d,this.data[c+1]=o,this.data[c+2]=l,this.data[c+3]=255}this.pos+=e}},jp.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=r,this.data[s+1]=a,this.data[s+2]=i,this.data[s+3]=255}this.pos+=this.width%4}},jp.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),l=t*this.width*4+4*n;this.data[l]=r,this.data[l+1]=a,this.data[l+2]=i,this.data[l+3]=s}},jp.prototype.getData=function(){return this.data}, +/** + * @license + * Copyright (c) 2018 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){e.processBMP=function(t,n,i,a){var r=new jp(t,!1),s=r.width,l=r.height,o={data:r.getData(),width:s,height:l},d=new wp(100).encode(o,100);return e.processJPEG.call(this,d,n,i,a)}}($c.API),Cp.prototype.getData=function(){return this.data}, +/** + * @license + * Copyright (c) 2019 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){e.processWEBP=function(t,n,i,a){var r=new Cp(t),s=r.width,l=r.height,o={data:r.getData(),width:s,height:l},d=new wp(100).encode(o,100);return e.processJPEG.call(this,d,n,i,a)}}($c.API),$c.API.processRGBA=function(e,t,n){for(var i=e.data,a=i.length,r=new Uint8Array(a/4*3),s=new Uint8Array(a/4),l=0,o=0,d=0;d<a;d+=4){var c=i[d],u=i[d+1],p=i[d+2],A=i[d+3];r[l++]=c,r[l++]=u,r[l++]=p,s[o++]=A}var h=this.__addimage__.arrayBufferToBinaryString(r);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:h,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},$c.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this},ip=$c.API,ap=ip.getCharWidthsArray=function(e,t){var n,i,a=(t=t||{}).font||this.internal.getFont(),r=t.fontSize||this.internal.getFontSize(),s=t.charSpace||this.internal.getCharSpace(),l=t.widths?t.widths:a.metadata.Unicode.widths,o=l.fof?l.fof:1,d=t.kerning?t.kerning:a.metadata.Unicode.kerning,c=d.fof?d.fof:1,u=!1!==t.doKerning,A=0,h=e.length,f=0,m=l[0]||o,v=[];for(n=0;n<h;n++)i=e.charCodeAt(n),"function"==typeof a.metadata.widthOfString?v.push((a.metadata.widthOfGlyph(a.metadata.characterToGlyph(i))+s*(1e3/r)||0)/1e3):(A=u&&"object"===p(d[i])&&!isNaN(parseInt(d[i][f],10))?d[i][f]/c:0,v.push((l[i]||m)/o+A)),f=i;return v},rp=ip.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),i=t.font||this.internal.getFont(),a=t.charSpace||this.internal.getCharSpace();return ip.processArabic&&(e=ip.processArabic(e)),"function"==typeof i.metadata.widthOfString?i.metadata.widthOfString(e,n,a)/n:ap.apply(this,arguments).reduce((function(e,t){return e+t}),0)},sp=function(e,t,n,i){for(var a=[],r=0,s=e.length,l=0;r!==s&&l+t[r]<n;)l+=t[r],r++;a.push(e.slice(0,r));var o=r;for(l=0;r!==s;)l+t[r]>i&&(a.push(e.slice(o,r)),l=0,o=r),l+=t[r],r++;return o!==r&&a.push(e.slice(o,r)),a},lp=function(e,t,n){n||(n={});var i,a,r,s,l,o,d,c=[],u=[c],p=n.textIndent||0,A=0,h=0,f=e.split(" "),m=ap.apply(this,[" ",n])[0];if(o=-1===n.lineIndent?f[0].length+2:n.lineIndent||0){var v=Array(o).join(" "),g=[];f.map((function(e){(e=e.split(/\s*\n/)).length>1?g=g.concat(e.map((function(e,t){return(t&&e.length?"\n":"")+e}))):g.push(e[0])})),f=g,o=rp.apply(this,[v,n])}for(r=0,s=f.length;r<s;r++){var y=0;if(i=f[r],o&&"\n"==i[0]&&(i=i.substr(1),y=1),p+A+(h=(a=ap.apply(this,[i,n])).reduce((function(e,t){return e+t}),0))>t||y){if(h>t){for(l=sp.apply(this,[i,a,t-(p+A),t]),c.push(l.shift()),c=[l.pop()];l.length;)u.push([l.shift()]);h=a.slice(i.length-(c[0]?c[0].length:0)).reduce((function(e,t){return e+t}),0)}else c=[i];u.push(c),p=h+o,A=m}else c.push(i),p+=A+h,A=m}return d=o?function(e,t){return(t?v:"")+e.join(" ")}:function(e){return e.join(" ")},u.map(d)},ip.splitTextToSize=function(e,t,n){var i,a=(n=n||{}).fontSize||this.internal.getFontSize(),r=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle),n="Unicode";return t.metadata[n]?{widths:t.metadata[n].widths||{0:1},kerning:t.metadata[n].kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,n);i=Array.isArray(e)?e:String(e).split(/\r?\n/);var s=1*this.internal.scaleFactor*t/a;r.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/a:0,r.lineIndent=n.lineIndent;var l,o,d=[];for(l=0,o=i.length;l<o;l++)d=d.concat(lp.apply(this,[i[l],s,r]));return d},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="0123456789abcdef",n="klmnopqrstuvwxyz",i={},a={},r=0;r<16;r++)i[n[r]]=t[r],a[t[r]]=n[r];var s=function(e){return"0x"+parseInt(e,10).toString(16)},l=e.__fontmetrics__.compress=function(e){var t,n,i,r,o=["{"];for(var d in e){if(t=e[d],isNaN(parseInt(d,10))?n="'"+d+"'":(d=parseInt(d,10),n=(n=s(d).slice(2)).slice(0,-1)+a[n.slice(-1)]),"number"==typeof t)t<0?(i=s(t).slice(3),r="-"):(i=s(t).slice(2),r=""),i=r+i.slice(0,-1)+a[i.slice(-1)];else{if("object"!==p(t))throw new Error("Don't know what to do with value type "+p(t)+".");i=l(t)}o.push(n+i)}return o.push("}"),o.join("")},o=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,n,a,r,s={},l=1,o=s,d=[],c="",u="",p=e.length-1,A=1;A<p;A+=1)"'"==(r=e[A])?t?(a=t.join(""),t=void 0):t=[]:t?t.push(r):"{"==r?(d.push([o,a]),o={},a=void 0):"}"==r?((n=d.pop())[0][n[1]]=o,a=void 0,o=n[0]):"-"==r?l=-1:void 0===a?i.hasOwnProperty(r)?(c+=i[r],a=parseInt(c,16)*l,l=1,c=""):c+=r:i.hasOwnProperty(r)?(u+=i[r],o[a]=parseInt(u,16)*l,l=1,a=void 0,u=""):u+=r;return s},d={codePages:["WinAnsiEncoding"],WinAnsiEncoding:o("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},c={Unicode:{Courier:d,"Courier-Bold":d,"Courier-BoldOblique":d,"Courier-Oblique":d,Helvetica:d,"Helvetica-Bold":d,"Helvetica-BoldOblique":d,"Helvetica-Oblique":d,"Times-Roman":d,"Times-Bold":d,"Times-BoldItalic":d,"Times-Italic":d}},u={Unicode:{"Courier-Oblique":o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":o("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":o("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":o("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:o("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:o("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":o("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:o("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":o("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":o("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":o("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":o("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(e){var t=e.font,n=u.Unicode[t.postScriptName];n&&(t.metadata.Unicode={},t.metadata.Unicode.widths=n.widths,t.metadata.Unicode.kerning=n.kerning);var i=c.Unicode[t.postScriptName];i&&(t.metadata.Unicode.encoding=i,t.encoding=i.codePages[0])}])}($c.API), +/** + * @license + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){var t=function(e){for(var t=e.length,n=new Uint8Array(t),i=0;i<t;i++)n[i]=e.charCodeAt(i);return n};e.API.events.push(["addFont",function(n){var i,a,r=void 0,s=n.font,l=n.instance;if(!s.isStandardFont){if(void 0===l)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");if("string"!=typeof(r=!1===l.existsFileInVFS(s.postScriptName)?l.loadFile(s.postScriptName):l.getFileFromVFS(s.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");i=s,a=/^\x00\x01\x00\x00/.test(a=r)?t(a):t(Sc(a)),i.metadata=e.API.TTFFont.open(a),i.metadata.Unicode=i.metadata.Unicode||{encoding:{},kerning:{},widths:[]},i.metadata.glyIdsUsed=[0]}}])}($c),$c.API.addSvgAsImage=function(e,t,n,i,a,r,s,l){if(isNaN(t)||isNaN(n))throw yc.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(a))throw yc.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var o=document.createElement("canvas");o.width=i,o.height=a;var d=o.getContext("2d");d.fillStyle="#fff",d.fillRect(0,0,o.width,o.height);var c={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},u=this;return(vc.canvg?Promise.resolve(vc.canvg):pr((()=>import("./index.es-7ba97c1a.js")),["assets/index.es-7ba97c1a.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js"])).catch((function(e){return Promise.reject(new Error("Could not load canvg: "+e))})).then((function(e){return e.default?e.default:e})).then((function(t){return t.fromString(d,e,c)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(e){return e.render(c)})).then((function(){u.addImage(o.toDataURL("image/jpeg",1),t,n,i,a,s,l)}))},$c.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var i=1;i<=this.internal.getNumberOfPages();i++)for(var a=0;a<this.internal.pages[i].length;a++)this.internal.pages[i][a]=this.internal.pages[i][a].replace(t,n);return this},$c.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var i,a,r,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},l=Object.keys(s),o=[],d=0,c=0,u=0;function A(e,t){var n,i=!1;for(n=0;n<e.length;n+=1)e[n]===t&&(i=!0);return i}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var h=l.length;for(u=0;u<h;u+=1)n[l[u]].value=n[l[u]].defaultValue,n[l[u]].explicitSet=!1}if("object"===p(e))for(a in e)if(r=e[a],A(l,a)&&void 0!==r){if("boolean"===n[a].type&&"boolean"==typeof r)n[a].value=r;else if("name"===n[a].type&&A(n[a].valueSet,r))n[a].value=r;else if("integer"===n[a].type&&Number.isInteger(r))n[a].value=r;else if("array"===n[a].type){for(d=0;d<r.length;d+=1)if(i=!0,1===r[d].length&&"number"==typeof r[d][0])o.push(String(r[d]-1));else if(r[d].length>1){for(c=0;c<r[d].length;c+=1)"number"!=typeof r[d][c]&&(i=!1);!0===i&&o.push([r[d][0]-1,r[d][1]-1].join(" "))}n[a].value="["+o.join(" ")+"]"}else n[a].value=n[a].defaultValue;n[a].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var e,t=[];for(e in n)!0===n[e].explicitSet&&("name"===n[e].type?t.push("/"+e+" /"+n[e].value):t.push("/"+e+" "+n[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this}, +/** ==================================================================== + * @license + * jsPDF XMP metadata plugin + * Copyright (c) 2016 Jussi Utunen, u-jussi@suomi24.fi + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * ==================================================================== + */ +function(e){var t=function(){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),n=unescape(encodeURIComponent(e)),i=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),a=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),r=unescape(encodeURIComponent("</x:xmpmeta>")),s=n.length+i.length+a.length+t.length+r.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+s+" >>"),this.internal.write("stream"),this.internal.write(t+n+i+a+r),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,i){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:i||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}($c.API),function(e){var t=e.API,n=t.pdfEscape16=function(e,t){for(var n,i=t.metadata.Unicode.widths,a=["","0","00","000","0000"],r=[""],s=0,l=e.length;s<l;++s){if(n=t.metadata.characterToGlyph(e.charCodeAt(s)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(s),-1==i.indexOf(n)&&(i.push(n),i.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"==n)return r.join("");n=n.toString(16),r.push(a[4-n.length],n)}return r.join("")},i=function(e){var t,n,i,a,r,s,l;for(r="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",i=[],s=0,l=(n=Object.keys(e).sort((function(e,t){return e-t}))).length;s<l;s++)t=n[s],i.length>=100&&(r+="\n"+i.length+" beginbfchar\n"+i.join("\n")+"\nendbfchar",i=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(a=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),i.push("<"+t+"><"+a+">"));return i.length&&(r+="\n"+i.length+" beginbfchar\n"+i.join("\n")+"\nendbfchar\n"),r+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var n=t.font,a=t.out,r=t.newObject,s=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"Identity-H"===n.encoding){for(var l=n.metadata.Unicode.widths,o=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),d="",c=0;c<o.length;c++)d+=String.fromCharCode(o[c]);var u=r();s({data:d,addLength1:!0,objectId:u}),a("endobj");var p=r();s({data:i(n.metadata.toUnicode),addLength1:!0,objectId:p}),a("endobj");var A=r();a("<<"),a("/Type /FontDescriptor"),a("/FontName /"+zc(n.fontName)),a("/FontFile2 "+u+" 0 R"),a("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),a("/Flags "+n.metadata.flags),a("/StemV "+n.metadata.stemV),a("/ItalicAngle "+n.metadata.italicAngle),a("/Ascent "+n.metadata.ascender),a("/Descent "+n.metadata.decender),a("/CapHeight "+n.metadata.capHeight),a(">>"),a("endobj");var h=r();a("<<"),a("/Type /Font"),a("/BaseFont /"+zc(n.fontName)),a("/FontDescriptor "+A+" 0 R"),a("/W "+e.API.PDFObject.convert(l)),a("/CIDToGIDMap /Identity"),a("/DW 1000"),a("/Subtype /CIDFontType2"),a("/CIDSystemInfo"),a("<<"),a("/Supplement 0"),a("/Registry (Adobe)"),a("/Ordering ("+n.encoding+")"),a(">>"),a(">>"),a("endobj"),n.objectNumber=r(),a("<<"),a("/Type /Font"),a("/Subtype /Type0"),a("/ToUnicode "+p+" 0 R"),a("/BaseFont /"+zc(n.fontName)),a("/Encoding /"+n.encoding),a("/DescendantFonts ["+h+" 0 R]"),a(">>"),a("endobj"),n.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var n=t.font,a=t.out,r=t.newObject,s=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var l=n.metadata.rawData,o="",d=0;d<l.length;d++)o+=String.fromCharCode(l[d]);var c=r();s({data:o,addLength1:!0,objectId:c}),a("endobj");var u=r();s({data:i(n.metadata.toUnicode),addLength1:!0,objectId:u}),a("endobj");var p=r();a("<<"),a("/Descent "+n.metadata.decender),a("/CapHeight "+n.metadata.capHeight),a("/StemV "+n.metadata.stemV),a("/Type /FontDescriptor"),a("/FontFile2 "+c+" 0 R"),a("/Flags 96"),a("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),a("/FontName /"+zc(n.fontName)),a("/ItalicAngle "+n.metadata.italicAngle),a("/Ascent "+n.metadata.ascender),a(">>"),a("endobj"),n.objectNumber=r();for(var A=0;A<n.metadata.hmtx.widths.length;A++)n.metadata.hmtx.widths[A]=parseInt(n.metadata.hmtx.widths[A]*(1e3/n.metadata.head.unitsPerEm));a("<</Subtype/TrueType/Type/Font/ToUnicode "+u+" 0 R/BaseFont/"+zc(n.fontName)+"/FontDescriptor "+p+" 0 R/Encoding/"+n.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(n.metadata.hmtx.widths)+">>"),a("endobj"),n.isAlreadyPutted=!0}}(t)}]);var a=function(e){var t,i=e.text||"",a=e.x,r=e.y,s=e.options||{},l=e.mutex||{},o=l.pdfEscape,d=l.activeFontKey,c=l.fonts,u=d,p="",A=0,h="",f=c[u].encoding;if("Identity-H"!==c[u].encoding)return{text:i,x:a,y:r,options:s,mutex:l};for(h=i,u=d,Array.isArray(i)&&(h=i[0]),A=0;A<h.length;A+=1)c[u].metadata.hasOwnProperty("cmap")&&(t=c[u].metadata.cmap.unicode.codeMap[h[A].charCodeAt(0)]),t||h[A].charCodeAt(0)<256&&c[u].metadata.hasOwnProperty("Unicode")?p+=h[A]:p+="";var m="";return parseInt(u.slice(1))<14||"WinAnsiEncoding"===f?m=o(p,u).split("").map((function(e){return e.charCodeAt(0).toString(16)})).join(""):"Identity-H"===f&&(m=n(p,c[u])),l.isHex=!0,{text:m,x:a,y:r,options:s,mutex:l}};t.events.push(["postProcessText",function(e){var t=e.text||"",n=[],i={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var r=0;for(r=0;r<t.length;r+=1)Array.isArray(t[r])&&3===t[r].length?n.push([a(Object.assign({},i,{text:t[r][0]})).text,t[r][1],t[r][2]]):n.push(a(Object.assign({},i,{text:t[r]})).text);e.text=n}else e.text=a(Object.assign({},i,{text:t})).text}])}($c), +/** + * @license + * jsPDF virtual FileSystem functionality + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,n){return t.call(this),this.internal.vFS[e]=n,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}($c.API), +/** + * @license + * Unicode Bidi Engine based on the work of Alex Shensis (@asthensis) + * MIT License + */ +function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,i,a,r,s,l,o,d=t,c=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],u=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],p={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},A={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},h=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],f=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),m=!1,v=0;this.__bidiEngine__={};var g=function(e){var t=e.charCodeAt(),n=t>>8,i=A[n];return void 0!==i?d[256*i+(255&t)]:252===n||253===n?"AL":f.test(n)?"L":8===n?"R":"N"},y=function(e){for(var t,n=0;n<e.length;n++){if("L"===(t=g(e.charAt(n))))return!1;if("R"===t)return!0}return!1},x=function(e,t,s,l){var o,d,c,u,p=t[l];switch(p){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"N":case"AN":break;case"EN":m&&(p="AN");break;case"AL":m=!0,p="R";break;case"WS":case"BN":p="N";break;case"CS":l<1||l+1>=t.length||"EN"!==(o=s[l-1])&&"AN"!==o||"EN"!==(d=t[l+1])&&"AN"!==d?p="N":m&&(d="AN"),p=d===o?d:"N";break;case"ES":p="EN"===(o=l>0?s[l-1]:"B")&&l+1<t.length&&"EN"===t[l+1]?"EN":"N";break;case"ET":if(l>0&&"EN"===s[l-1]){p="EN";break}if(m){p="N";break}for(c=l+1,u=t.length;c<u&&"ET"===t[c];)c++;p=c<u&&"EN"===t[c]?"EN":"N";break;case"NSM":if(a&&!r){for(u=t.length,c=l+1;c<u&&"NSM"===t[c];)c++;if(c<u){var A=e[l],h=A>=1425&&A<=2303||64286===A;if(o=t[c],h&&("R"===o||"AL"===o)){p="R";break}}}p=l<1||"B"===(o=t[l-1])?"N":s[l-1];break;case"B":m=!1,n=!0,p=v;break;case"S":i=!0,p="N"}return p},b=function(e,t,n){var i=e.split("");return n&&w(i,n,{hiLevel:v}),i.reverse(),t&&t.reverse(),i.join("")},w=function(e,t,a){var r,s,l,o,d,A=-1,h=e.length,f=0,y=[],b=v?u:c,w=[];for(m=!1,n=!1,i=!1,s=0;s<h;s++)w[s]=g(e[s]);for(l=0;l<h;l++){if(d=f,y[l]=x(e,w,y,l),r=240&(f=b[d][p[y[l]]]),f&=15,t[l]=o=b[f][5],r>0)if(16===r){for(s=A;s<l;s++)t[s]=1;A=-1}else A=-1;if(b[f][6])-1===A&&(A=l);else if(A>-1){for(s=A;s<l;s++)t[s]=o;A=-1}"B"===w[l]&&(t[l]=0),a.hiLevel|=o}i&&function(e,t,n){for(var i=0;i<n;i++)if("S"===e[i]){t[i]=v;for(var a=i-1;a>=0&&"WS"===e[a];a--)t[a]=v}}(w,t,h)},j=function(e,t,i,a,r){if(!(r.hiLevel<e)){if(1===e&&1===v&&!n)return t.reverse(),void(i&&i.reverse());for(var s,l,o,d,c=t.length,u=0;u<c;){if(a[u]>=e){for(o=u+1;o<c&&a[o]>=e;)o++;for(d=u,l=o-1;d<l;d++,l--)s=t[d],t[d]=t[l],t[l]=s,i&&(s=i[d],i[d]=i[l],i[l]=s);u=o}u++}}},C=function(e,t,n){var i=e.split(""),a={hiLevel:v};return n||(n=[]),w(i,n,a),function(e,t,n){if(0!==n.hiLevel&&o)for(var i,a=0;a<e.length;a++)1===t[a]&&(i=h.indexOf(e[a]))>=0&&(e[a]=h[i+1])}(i,n,a),j(2,i,t,n,a),j(1,i,t,n,a),i.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===r&&(r=y(e)),void 0===l&&(l=y(e))}(e,t),a||!s||l)if(a&&s&&r^l)v=r?1:0,e=b(e,t,n);else if(!a&&s&&l)v=r?1:0,e=C(e,t,n),e=b(e,t);else if(!a||r||s||l){if(a&&!s&&r^l)e=b(e,t),r?(v=0,e=C(e,t,n)):(v=1,e=C(e,t,n),e=b(e,t));else if(a&&r&&!s&&l)v=1,e=C(e,t,n),e=b(e,t);else if(!a&&!s&&r^l){var i=o;r?(v=1,e=C(e,t,n),v=0,o=!1,e=C(e,t,n),o=i):(v=0,e=C(e,t,n),e=b(e,t),v=1,o=!1,e=C(e,t,n),o=i,e=b(e,t))}}else v=0,e=C(e,t,n);else v=r?1:0,e=C(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(a=e.isInputVisual,s=e.isOutputVisual,r=e.isInputRtl,l=e.isOutputRtl,o=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text;e.x,e.y;var i=e.options||{};e.mutex,i.lang;var a=[];if(i.isInputVisual="boolean"!=typeof i.isInputVisual||i.isInputVisual,n.setOptions(i),"[object Array]"===Object.prototype.toString.call(t)){var r=0;for(a=[],r=0;r<t.length;r+=1)"[object Array]"===Object.prototype.toString.call(t[r])?a.push([n.doBidiReorder(t[r][0]),t[r][1],t[r][2]]):a.push([n.doBidiReorder(t[r])]);e.text=a}else e.text=n.doBidiReorder(t);n.setOptions({isInputVisual:!0})}])}($c),$c.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new Np(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new qp(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new Ip(this.contents),this.head=new Pp(this),this.name=new _p(this),this.cmap=new Tp(this),this.toUnicode={},this.hhea=new Ep(this),this.maxp=new Op(this),this.hmtx=new Mp(this),this.post=new Lp(this),this.os2=new Dp(this),this.loca=new zp(this),this.glyf=new Qp(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,n,i,a;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,i,a;for(a=[],t=0,n=(i=this.bbox).length;t<n;t++)e=i[t],a.push(Math.round(e*this.scaleFactor));return a}.call(this),this.stemV=0,this.post.exists?(n=255&(i=this.post.italic_angle),32768&(t=i>>16)&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(a=this.familyClass)||2===a||3===a||4===a||5===a||7===a,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var i,a,r,s;for(r=0,a=0,s=(e=""+e).length;0<=s?a<s:a>s;a=0<=s?++a:--a)i=e.charCodeAt(a),r+=this.widthOfGlyph(this.characterToGlyph(i))+n*(1e3/t)||0;return r*(t/1e3)},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var Sp,Np=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.join("")},e.prototype.writeString=function(e){var t,n,i;for(i=[],t=0,n=e.length;0<=n?t<n:t>n;t=0<=n?++t:--t)i.push(this.writeByte(e.charCodeAt(t)));return i},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,i,a,r,s,l;return e=this.readByte(),t=this.readByte(),n=this.readByte(),i=this.readByte(),a=this.readByte(),r=this.readByte(),s=this.readByte(),l=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^i)+16777216*(255^a)+65536*(255^r)+256*(255^s)+(255^l)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*i+16777216*a+65536*r+256*s+l},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,i,a;for(a=[],n=0,i=e.length;n<i;n++)t=e[n],a.push(this.writeByte(t));return a},e}(),Ip=function(){var e;function t(e){var t,n,i;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,i=this.tableCount;0<=i?n<i:n>i;n=0<=i?++n:--n)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var n,i,a,r,s,l,o,d,c,u,p,A,h;for(h in p=Object.keys(t).length,l=Math.log(2),c=16*Math.floor(Math.log(p)/l),r=Math.floor(c/l),d=16*p-c,(i=new Np).writeInt(this.scalarType),i.writeShort(p),i.writeShort(c),i.writeShort(r),i.writeShort(d),a=16*p,o=i.pos+a,s=null,A=[],t)for(u=t[h],i.writeString(h),i.writeInt(e(u)),i.writeInt(o),i.writeInt(u.length),A=A.concat(u),"head"===h&&(s=o),o+=u.length;o%4;)A.push(0),o++;return i.write(A),n=2981146554-e(i.data),i.pos=s+8,i.writeUInt32(n),i.data},e=function(e){var t,n,i,a;for(e=Rp.call(e);e.length%4;)e.push(0);for(i=new Np(e),n=0,t=0,a=e.length;t<a;t=t+=4)n+=i.readUInt32();return 4294967295&n},t}(),Fp={}.hasOwnProperty,Bp=function(e,t){for(var n in t)Fp.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e};Sp=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var Pp=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bp(e,Sp),e.prototype.tag="head",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},e.prototype.encode=function(e){var t;return(t=new Np).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},e}(),kp=function(){function e(e,t){var n,i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),c=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(l=0;l<256;++l)this.codeMap[l]=e.readByte();break;case 4:for(p=e.readUInt16(),u=p/2,e.pos+=6,a=function(){var t,n;for(n=[],l=t=0;0<=u?t<u:t>u;l=0<=u?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,h=function(){var t,n;for(n=[],l=t=0;0<=u?t<u:t>u;l=0<=u?++t:--t)n.push(e.readUInt16());return n}(),o=function(){var t,n;for(n=[],l=t=0;0<=u?t<u:t>u;l=0<=u?++t:--t)n.push(e.readUInt16());return n}(),d=function(){var t,n;for(n=[],l=t=0;0<=u?t<u:t>u;l=0<=u?++t:--t)n.push(e.readUInt16());return n}(),i=(this.length-e.pos+this.offset)/2,s=function(){var t,n;for(n=[],l=t=0;0<=i?t<i:t>i;l=0<=i?++t:--t)n.push(e.readUInt16());return n}(),l=m=0,g=a.length;m<g;l=++m)for(f=a[l],n=v=A=h[l];A<=f?v<=f:v>=f;n=A<=f?++v:--v)0===d[l]?r=n+o[l]:0!==(r=s[d[l]/2+(n-A)-(u-l)]||0)&&(r+=o[l]),this.codeMap[n]=65535&r}e.pos=c}return e.encode=function(e,t){var n,i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P,k,T,E,D,L,U,_,O,M,R,Q,H,V,z,q,W,Y;switch(B=new Np,r=Object.keys(e).sort((function(e,t){return e-t})),t){case"macroman":for(h=0,f=function(){var e=[];for(A=0;A<256;++A)e.push(0);return e}(),v={0:0},a={},P=0,D=r.length;P<D;P++)null==v[z=e[i=r[P]]]&&(v[z]=++h),a[i]={old:e[i],new:v[e[i]]},f[i]=v[e[i]];return B.writeUInt16(1),B.writeUInt16(0),B.writeUInt32(12),B.writeUInt16(0),B.writeUInt16(262),B.writeUInt16(0),B.write(f),{charMap:a,subtable:B.data,maxGlyphID:h+1};case"unicode":for(I=[],c=[],g=0,v={},n={},m=o=null,k=0,L=r.length;k<L;k++)null==v[x=e[i=r[k]]]&&(v[x]=++g),n[i]={old:x,new:v[x]},s=v[x]-i,null!=m&&s===o||(m&&c.push(m),I.push(i),o=s),m=i;for(m&&c.push(m),c.push(65535),I.push(65535),S=2*(C=I.length),j=2*Math.pow(Math.log(C)/Math.LN2,2),u=Math.log(j/2)/Math.LN2,w=2*C-j,l=[],b=[],p=[],A=T=0,U=I.length;T<U;A=++T){if(N=I[A],d=c[A],65535===N){l.push(0),b.push(0);break}if(N-(F=n[N].new)>=32768)for(l.push(0),b.push(2*(p.length+C-A)),i=E=N;N<=d?E<=d:E>=d;i=N<=d?++E:--E)p.push(n[i].new);else l.push(F-N),b.push(0)}for(B.writeUInt16(3),B.writeUInt16(1),B.writeUInt32(12),B.writeUInt16(4),B.writeUInt16(16+8*C+2*p.length),B.writeUInt16(0),B.writeUInt16(S),B.writeUInt16(j),B.writeUInt16(u),B.writeUInt16(w),H=0,_=c.length;H<_;H++)i=c[H],B.writeUInt16(i);for(B.writeUInt16(0),V=0,O=I.length;V<O;V++)i=I[V],B.writeUInt16(i);for(q=0,M=l.length;q<M;q++)s=l[q],B.writeUInt16(s);for(W=0,R=b.length;W<R;W++)y=b[W],B.writeUInt16(y);for(Y=0,Q=p.length;Y<Q;Y++)h=p[Y],B.writeUInt16(h);return{charMap:n,subtable:B.data,maxGlyphID:g+1}}},e}(),Tp=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bp(e,Sp),e.prototype.tag="cmap",e.prototype.parse=function(e){var t,n,i;for(e.pos=this.offset,this.version=e.readUInt16(),i=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=i?n<i:n>i;n=0<=i?++n:--n)t=new kp(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},e.encode=function(e,t){var n,i;return null==t&&(t="macroman"),n=kp.encode(e,t),(i=new Np).writeUInt16(0),i.writeUInt16(1),n.table=i.data.concat(n.subtable),n},e}(),Ep=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bp(e,Sp),e.prototype.tag="hhea",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},e}(),Dp=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bp(e,Sp),e.prototype.tag="OS/2",e.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;t=++t)n.push(e.readInt());return n}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},e}(),Lp=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bp(e,Sp),e.prototype.tag="post",e.prototype.parse=function(e){var t,n,i;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var a;for(n=e.readUInt16(),this.glyphNameIndex=[],a=0;0<=n?a<n:a>n;a=0<=n?++a:--a)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],i=[];e.pos<this.offset+this.length;)t=e.readByte(),i.push(this.names.push(e.readString(t)));return i;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 262144:return this.map=function(){var t,n,i;for(i=[],a=t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:t>n;a=0<=n?++t:--t)i.push(e.readUInt32());return i}.call(this)}},e}(),Up=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},_p=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bp(e,Sp),e.prototype.tag="name",e.prototype.parse=function(e){var t,n,i,a,r,s,l,o,d,c,u;for(e.pos=this.offset,e.readShort(),t=e.readShort(),s=e.readShort(),n=[],a=0;0<=t?a<t:a>t;a=0<=t?++a:--a)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+s+e.readShort()});for(l={},a=d=0,c=n.length;d<c;a=++d)i=n[a],e.pos=i.offset,o=e.readString(i.length),r=new Up(o,i),null==l[u=i.nameID]&&(l[u]=[]),l[i.nameID].push(r);this.strings=l,this.copyright=l[0],this.fontFamily=l[1],this.fontSubfamily=l[2],this.uniqueSubfamily=l[3],this.fontName=l[4],this.version=l[5];try{this.postscriptName=l[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(p){this.postscriptName=l[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=l[7],this.manufacturer=l[8],this.designer=l[9],this.description=l[10],this.vendorUrl=l[11],this.designerUrl=l[12],this.license=l[13],this.licenseUrl=l[14],this.preferredFamily=l[15],this.preferredSubfamily=l[17],this.compatibleFull=l[18],this.sampleText=l[19]},e}(),Op=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bp(e,Sp),e.prototype.tag="maxp",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},e}(),Mp=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bp(e,Sp),e.prototype.tag="hmtx",e.prototype.parse=function(e){var t,n,i,a,r,s,l;for(e.pos=this.offset,this.metrics=[],t=0,s=this.file.hhea.numberOfMetrics;0<=s?t<s:t>s;t=0<=s?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(i=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,a;for(a=[],t=n=0;0<=i?n<i:n>i;t=0<=i?++n:--n)a.push(e.readInt16());return a}(),this.widths=function(){var e,t,n,i;for(i=[],e=0,t=(n=this.metrics).length;e<t;e++)a=n[e],i.push(a.advance);return i}.call(this),n=this.widths[this.widths.length-1],l=[],t=r=0;0<=i?r<i:r>i;t=0<=i?++r:--r)l.push(this.widths.push(n));return l},e.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},e}(),Rp=[].slice,Qp=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bp(e,Sp),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(e){var t,n,i,a,r,s,l,o,d,c;return e in this.cache?this.cache[e]:(a=this.file.loca,t=this.file.contents,n=a.indexOf(e),0===(i=a.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,r=(s=new Np(t.read(i))).readShort(),o=s.readShort(),c=s.readShort(),l=s.readShort(),d=s.readShort(),this.cache[e]=-1===r?new Vp(s,o,c,l,d):new Hp(s,r,o,c,l,d),this.cache[e]))},e.prototype.encode=function(e,t,n){var i,a,r,s,l;for(r=[],a=[],s=0,l=t.length;s<l;s++)i=e[t[s]],a.push(r.length),i&&(r=r.concat(i.encode(n)));return a.push(r.length),{table:r,offsets:a}},e}(),Hp=function(){function e(e,t,n,i,a,r){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=i,this.xMax=a,this.yMax=r,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),Vp=function(){function e(e,t,n,i,a){var r,s;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=i,this.yMax=a,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],r=this.raw;s=r.readShort(),this.glyphOffsets.push(r.pos),this.glyphIDs.push(r.readUInt16()),32&s;)r.pos+=1&s?4:2,128&s?r.pos+=8:64&s?r.pos+=4:8&s&&(r.pos+=2)}return e.prototype.encode=function(){var e,t,n;for(t=new Np(Rp.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),zp=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Bp(e,Sp),e.prototype.tag="loca",e.prototype.parse=function(e){var t,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,i;for(i=[],n=0,t=this.length;n<t;n+=2)i.push(2*e.readUInt16());return i}.call(this):function(){var t,i;for(i=[],n=0,t=this.length;n<t;n+=4)i.push(e.readUInt32());return i}.call(this)},e.prototype.indexOf=function(e){return this.offsets[e]},e.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},e.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),i=0,a=0,r=0;r<n.length;++r)if(n[r]=i,a<t.length&&t[a]==r){++a,n[r]=i;var s=this.offsets[r],l=this.offsets[r+1]-s;l>0&&(i+=l)}for(var o=new Array(4*n.length),d=0;d<n.length;++d)o[4*d+3]=255&n[d],o[4*d+2]=(65280&n[d])>>8,o[4*d+1]=(16711680&n[d])>>16,o[4*d]=(4278190080&n[d])>>24;return o},e}(),qp=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,i,a;for(t in i=this.font.cmap.tables[0].codeMap,e={},a=this.subset)n=a[t],e[t]=i[n];return e},e.prototype.glyphsFor=function(e){var t,n,i,a,r,s,l;for(i={},r=0,s=e.length;r<s;r++)i[a=e[r]]=this.font.glyf.glyphFor(a);for(a in t=[],i)(null!=(n=i[a])?n.compound:void 0)&&t.push.apply(t,n.glyphIDs);if(t.length>0)for(a in l=this.glyphsFor(t))n=l[a],i[a]=n;return i},e.prototype.encode=function(e,t){var n,i,a,r,s,l,o,d,c,u,p,A,h,f,m;for(i in n=Tp.encode(this.generateCmap(),"unicode"),r=this.glyphsFor(e),p={0:0},m=n.charMap)p[(l=m[i]).old]=l.new;for(A in u=n.maxGlyphID,r)A in p||(p[A]=u++);return d=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(p),c=Object.keys(d).sort((function(e,t){return e-t})),h=function(){var e,t,n;for(n=[],e=0,t=c.length;e<t;e++)s=c[e],n.push(d[s]);return n}(),a=this.font.glyf.encode(r,h,p),o=this.font.loca.encode(a.offsets,h),f={cmap:this.font.cmap.raw(),glyf:a.table,loca:o,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(f["OS/2"]=this.font.os2.raw()),this.font.directory.encode(f)},e}();$c.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(n){var i,a,r,s;if(Array.isArray(n))return"["+function(){var e,a,r;for(r=[],e=0,a=n.length;e<a;e++)i=n[e],r.push(t.convert(i));return r}().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n?n.isString:void 0)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(n)){for(a in r=["<<"],n)s=n[a],r.push("/"+a+" "+t.convert(s));return r.push(">>"),r.join("\n")}return""+n},t}();const Wp=Object.freeze(Object.defineProperty({__proto__:null,AcroForm:Mu,AcroFormAppearance:Lu,AcroFormButton:Fu,AcroFormCheckBox:Tu,AcroFormChoiceField:Cu,AcroFormComboBox:Nu,AcroFormEditBox:Iu,AcroFormListBox:Su,AcroFormPasswordField:Du,AcroFormPushButton:Bu,AcroFormRadioButton:Pu,AcroFormTextField:Eu,GState:Wc,ShadingPattern:Kc,TilingPattern:Gc,default:$c,jsPDF:$c},Symbol.toStringTag,{value:"Module"}));var Yp,Kp,Gp={exports:{}}; +/*! + * html2canvas 1.4.1 <https://html2canvas.hertzen.com> + * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com> + * Released under MIT License + */function $p(){return Yp||(Yp=1,Gp.exports=function(){ +/*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** */ +var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};function t(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var n=function(){return n=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},n.apply(this,arguments)};function i(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{o(i.next(e))}catch(t){r(t)}}function l(e){try{o(i.throw(e))}catch(t){r(t)}}function o(e){e.done?n(e.value):a(e.value).then(s,l)}o((i=i.apply(e,t||[])).next())}))}function a(e,t){var n,i,a,r,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(e){return function(t){return o([e,t])}}function o(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(a=2&r[0]?i.return:r[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,r[1])).done)return a;switch(i=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!((a=(a=s.trys).length>0&&a[a.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!a||r[1]>a[0]&&r[1]<a[3])){s.label=r[1];break}if(6===r[0]&&s.label<a[1]){s.label=a[1],a=r;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(r);break}a[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(l){r=[6,l],i=0}finally{n=a=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}}for(var r=function(){function e(e,t,n,i){this.left=e,this.top=t,this.width=n,this.height=i}return e.prototype.add=function(t,n,i,a){return new e(this.left+t,this.top+n,this.width+i,this.height+a)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var i=Array.from(n).find((function(e){return 0!==e.width}));return i?new e(i.left+t.windowBounds.left,i.top+t.windowBounds.top,i.width,i.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),s=function(e,t){return r.fromClientRect(e,t.getBoundingClientRect())},l=function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var i=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),a=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new r(0,0,i,a)},o=function(e){for(var t=[],n=0,i=e.length;n<i;){var a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<i){var r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&a)<<10)+(1023&r)+65536):(t.push(a),n--)}else t.push(a)}return t},d=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var i=[],a=-1,r="";++a<n;){var s=e[a];s<=65535?i.push(s):(s-=65536,i.push(55296+(s>>10),s%1024+56320)),(a+1===n||i.length>16384)&&(r+=String.fromCharCode.apply(String,i),i.length=0)}return r},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="undefined"==typeof Uint8Array?[]:new Uint8Array(256),p=0;p<c.length;p++)u[c.charCodeAt(p)]=p;for(var A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h="undefined"==typeof Uint8Array?[]:new Uint8Array(256),f=0;f<A.length;f++)h[A.charCodeAt(f)]=f;for(var m=function(e){var t,n,i,a,r,s=.75*e.length,l=e.length,o=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var d="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),c=Array.isArray(d)?d:new Uint8Array(d);for(t=0;t<l;t+=4)n=h[e.charCodeAt(t)],i=h[e.charCodeAt(t+1)],a=h[e.charCodeAt(t+2)],r=h[e.charCodeAt(t+3)],c[o++]=n<<2|i>>4,c[o++]=(15&i)<<4|a>>2,c[o++]=(3&a)<<6|63&r;return d},v=function(e){for(var t=e.length,n=[],i=0;i<t;i+=2)n.push(e[i+1]<<8|e[i]);return n},g=function(e){for(var t=e.length,n=[],i=0;i<t;i+=4)n.push(e[i+3]<<24|e[i+2]<<16|e[i+1]<<8|e[i]);return n},y=5,x=11,b=2,w=65536>>y,j=(1<<y)-1,C=w+(1024>>y)+32,S=65536>>x,N=(1<<x-y)-1,I=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},F=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},B=function(e,t){var n=m(e),i=Array.isArray(n)?g(n):new Uint32Array(n),a=Array.isArray(n)?v(n):new Uint16Array(n),r=24,s=I(a,r/2,i[4]/2),l=2===i[5]?I(a,(r+i[4])/2):F(i,Math.ceil((r+i[4])/4));return new P(i[0],i[1],i[2],i[3],s,l)},P=function(){function e(e,t,n,i,a,r){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=i,this.index=a,this.data=r}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>y])<<b)+(e&j),this.data[t];if(e<=65535)return t=((t=this.index[w+(e-55296>>y)])<<b)+(e&j),this.data[t];if(e<this.highStart)return t=C-S+(e>>x),t=this.index[t],t+=e>>y&N,t=((t=this.index[t])<<b)+(e&j),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",T="undefined"==typeof Uint8Array?[]:new Uint8Array(256),E=0;E<k.length;E++)T[k.charCodeAt(E)]=E;var D=50,L=1,U=2,_=3,O=4,M=5,R=7,Q=8,H=9,V=10,z=11,q=12,W=13,Y=14,K=15,G=16,$=17,X=18,J=19,Z=20,ee=21,te=22,ne=23,ie=24,ae=25,re=26,se=27,le=28,oe=29,de=30,ce=31,ue=32,pe=33,Ae=34,he=35,fe=36,me=37,ve=38,ge=39,ye=40,xe=41,be=42,we=43,je=[9001,65288],Ce="!",Se="×",Ne="÷",Ie=B("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),Fe=[de,fe],Be=[L,U,_,M],Pe=[V,Q],ke=[se,re],Te=Be.concat(Pe),Ee=[ve,ge,ye,Ae,he],De=[K,W],Le=function(e,t){void 0===t&&(t="strict");var n=[],i=[],a=[];return e.forEach((function(e,r){var s=Ie.get(e);if(s>D?(a.push(!0),s-=D):a.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return i.push(r),n.push(G);if(s===O||s===z){if(0===r)return i.push(r),n.push(de);var l=n[r-1];return-1===Te.indexOf(l)?(i.push(i[r-1]),n.push(l)):(i.push(r),n.push(de))}return i.push(r),s===ce?n.push("strict"===t?ee:me):s===be||s===oe?n.push(de):s===we?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(me):n.push(de):void n.push(s)})),[i,n,a]},Ue=function(e,t,n,i){var a=i[n];if(Array.isArray(e)?-1!==e.indexOf(a):e===a)for(var r=n;r<=i.length;){if((o=i[++r])===t)return!0;if(o!==V)break}if(a===V)for(r=n;r>0;){var s=i[--r];if(Array.isArray(e)?-1!==e.indexOf(s):e===s)for(var l=n;l<=i.length;){var o;if((o=i[++l])===t)return!0;if(o!==V)break}if(s!==V)break}return!1},_e=function(e,t){for(var n=e;n>=0;){var i=t[n];if(i!==V)return i;n--}return 0},Oe=function(e,t,n,i,a){if(0===n[i])return Se;var r=i-1;if(Array.isArray(a)&&!0===a[r])return Se;var s=r-1,l=r+1,o=t[r],d=s>=0?t[s]:0,c=t[l];if(o===U&&c===_)return Se;if(-1!==Be.indexOf(o))return Ce;if(-1!==Be.indexOf(c))return Se;if(-1!==Pe.indexOf(c))return Se;if(_e(r,t)===Q)return Ne;if(Ie.get(e[r])===z)return Se;if((o===ue||o===pe)&&Ie.get(e[l])===z)return Se;if(o===R||c===R)return Se;if(o===H)return Se;if(-1===[V,W,K].indexOf(o)&&c===H)return Se;if(-1!==[$,X,J,ie,le].indexOf(c))return Se;if(_e(r,t)===te)return Se;if(Ue(ne,te,r,t))return Se;if(Ue([$,X],ee,r,t))return Se;if(Ue(q,q,r,t))return Se;if(o===V)return Ne;if(o===ne||c===ne)return Se;if(c===G||o===G)return Ne;if(-1!==[W,K,ee].indexOf(c)||o===Y)return Se;if(d===fe&&-1!==De.indexOf(o))return Se;if(o===le&&c===fe)return Se;if(c===Z)return Se;if(-1!==Fe.indexOf(c)&&o===ae||-1!==Fe.indexOf(o)&&c===ae)return Se;if(o===se&&-1!==[me,ue,pe].indexOf(c)||-1!==[me,ue,pe].indexOf(o)&&c===re)return Se;if(-1!==Fe.indexOf(o)&&-1!==ke.indexOf(c)||-1!==ke.indexOf(o)&&-1!==Fe.indexOf(c))return Se;if(-1!==[se,re].indexOf(o)&&(c===ae||-1!==[te,K].indexOf(c)&&t[l+1]===ae)||-1!==[te,K].indexOf(o)&&c===ae||o===ae&&-1!==[ae,le,ie].indexOf(c))return Se;if(-1!==[ae,le,ie,$,X].indexOf(c))for(var u=r;u>=0;){if((p=t[u])===ae)return Se;if(-1===[le,ie].indexOf(p))break;u--}if(-1!==[se,re].indexOf(c))for(u=-1!==[$,X].indexOf(o)?s:r;u>=0;){var p;if((p=t[u])===ae)return Se;if(-1===[le,ie].indexOf(p))break;u--}if(ve===o&&-1!==[ve,ge,Ae,he].indexOf(c)||-1!==[ge,Ae].indexOf(o)&&-1!==[ge,ye].indexOf(c)||-1!==[ye,he].indexOf(o)&&c===ye)return Se;if(-1!==Ee.indexOf(o)&&-1!==[Z,re].indexOf(c)||-1!==Ee.indexOf(c)&&o===se)return Se;if(-1!==Fe.indexOf(o)&&-1!==Fe.indexOf(c))return Se;if(o===ie&&-1!==Fe.indexOf(c))return Se;if(-1!==Fe.concat(ae).indexOf(o)&&c===te&&-1===je.indexOf(e[l])||-1!==Fe.concat(ae).indexOf(c)&&o===X)return Se;if(o===xe&&c===xe){for(var A=n[r],h=1;A>0&&t[--A]===xe;)h++;if(h%2!=0)return Se}return o===ue&&c===pe?Se:Ne},Me=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=Le(e,t.lineBreak),i=n[0],a=n[1],r=n[2];return"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(a=a.map((function(e){return-1!==[ae,de,be].indexOf(e)?me:e}))),[i,a,"keep-all"===t.wordBreak?r.map((function(t,n){return t&&e[n]>=19968&&e[n]<=40959})):void 0]},Re=function(){function e(e,t,n,i){this.codePoints=e,this.required=t===Ce,this.start=n,this.end=i}return e.prototype.slice=function(){return d.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),Qe=function(e,t){var n=o(e),i=Me(n,t),a=i[0],r=i[1],s=i[2],l=n.length,d=0,c=0;return{next:function(){if(c>=l)return{done:!0,value:null};for(var e=Se;c<l&&(e=Oe(n,r,a,++c,s))===Se;);if(e!==Se||c===l){var t=new Re(n,e,d,c);return d=c,{value:t,done:!1}}return{done:!0,value:null}}}},He=1,Ve=2,ze=4,qe=8,We=10,Ye=47,Ke=92,Ge=9,$e=32,Xe=34,Je=61,Ze=35,et=36,tt=37,nt=39,it=40,at=41,rt=95,st=45,lt=33,ot=60,dt=62,ct=64,ut=91,pt=93,At=61,ht=123,ft=63,mt=125,vt=124,gt=126,yt=128,xt=65533,bt=42,wt=43,jt=44,Ct=58,St=59,Nt=46,It=0,Ft=8,Bt=11,Pt=14,kt=31,Tt=127,Et=-1,Dt=48,Lt=97,Ut=101,_t=102,Ot=117,Mt=122,Rt=65,Qt=69,Ht=70,Vt=85,zt=90,qt=function(e){return e>=Dt&&e<=57},Wt=function(e){return e>=55296&&e<=57343},Yt=function(e){return qt(e)||e>=Rt&&e<=Ht||e>=Lt&&e<=_t},Kt=function(e){return e>=Lt&&e<=Mt},Gt=function(e){return e>=Rt&&e<=zt},$t=function(e){return Kt(e)||Gt(e)},Xt=function(e){return e>=yt},Jt=function(e){return e===We||e===Ge||e===$e},Zt=function(e){return $t(e)||Xt(e)||e===rt},en=function(e){return Zt(e)||qt(e)||e===st},tn=function(e){return e>=It&&e<=Ft||e===Bt||e>=Pt&&e<=kt||e===Tt},nn=function(e,t){return e===Ke&&t!==We},an=function(e,t,n){return e===st?Zt(t)||nn(t,n):!!Zt(e)||!(e!==Ke||!nn(e,t))},rn=function(e,t,n){return e===wt||e===st?!!qt(t)||t===Nt&&qt(n):qt(e===Nt?t:e)},sn=function(e){var t=0,n=1;e[t]!==wt&&e[t]!==st||(e[t]===st&&(n=-1),t++);for(var i=[];qt(e[t]);)i.push(e[t++]);var a=i.length?parseInt(d.apply(void 0,i),10):0;e[t]===Nt&&t++;for(var r=[];qt(e[t]);)r.push(e[t++]);var s=r.length,l=s?parseInt(d.apply(void 0,r),10):0;e[t]!==Qt&&e[t]!==Ut||t++;var o=1;e[t]!==wt&&e[t]!==st||(e[t]===st&&(o=-1),t++);for(var c=[];qt(e[t]);)c.push(e[t++]);var u=c.length?parseInt(d.apply(void 0,c),10):0;return n*(a+l*Math.pow(10,-s))*Math.pow(10,o*u)},ln={type:2},on={type:3},dn={type:4},cn={type:13},un={type:8},pn={type:21},An={type:9},hn={type:10},fn={type:11},mn={type:12},vn={type:14},gn={type:23},yn={type:1},xn={type:25},bn={type:24},wn={type:26},jn={type:27},Cn={type:28},Sn={type:29},Nn={type:31},In={type:32},Fn=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(o(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==In;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Xe:return this.consumeStringToken(Xe);case Ze:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),i=this.peekCodePoint(2);if(en(t)||nn(n,i)){var a=an(t,n,i)?Ve:He;return{type:5,value:this.consumeName(),flags:a}}break;case et:if(this.peekCodePoint(0)===Je)return this.consumeCodePoint(),cn;break;case nt:return this.consumeStringToken(nt);case it:return ln;case at:return on;case bt:if(this.peekCodePoint(0)===Je)return this.consumeCodePoint(),vn;break;case wt:if(rn(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case jt:return dn;case st:var r=e,s=this.peekCodePoint(0),l=this.peekCodePoint(1);if(rn(r,s,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(an(r,s,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(s===st&&l===dt)return this.consumeCodePoint(),this.consumeCodePoint(),bn;break;case Nt:if(rn(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Ye:if(this.peekCodePoint(0)===bt)for(this.consumeCodePoint();;){var o=this.consumeCodePoint();if(o===bt&&(o=this.consumeCodePoint())===Ye)return this.consumeToken();if(o===Et)return this.consumeToken()}break;case Ct:return wn;case St:return jn;case ot:if(this.peekCodePoint(0)===lt&&this.peekCodePoint(1)===st&&this.peekCodePoint(2)===st)return this.consumeCodePoint(),this.consumeCodePoint(),xn;break;case ct:var c=this.peekCodePoint(0),u=this.peekCodePoint(1),p=this.peekCodePoint(2);if(an(c,u,p))return{type:7,value:this.consumeName()};break;case ut:return Cn;case Ke:if(nn(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case pt:return Sn;case At:if(this.peekCodePoint(0)===Je)return this.consumeCodePoint(),un;break;case ht:return fn;case mt:return mn;case Ot:case Vt:var A=this.peekCodePoint(0),h=this.peekCodePoint(1);return A!==wt||!Yt(h)&&h!==ft||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case vt:if(this.peekCodePoint(0)===Je)return this.consumeCodePoint(),An;if(this.peekCodePoint(0)===vt)return this.consumeCodePoint(),pn;break;case gt:if(this.peekCodePoint(0)===Je)return this.consumeCodePoint(),hn;break;case Et:return In}return Jt(e)?(this.consumeWhiteSpace(),Nn):qt(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):Zt(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:d(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return void 0===e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();Yt(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;t===ft&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(d.apply(void 0,e.map((function(e){return e===ft?Dt:e}))),16),end:parseInt(d.apply(void 0,e.map((function(e){return e===ft?Ht:e}))),16)};var i=parseInt(d.apply(void 0,e),16);if(this.peekCodePoint(0)===st&&Yt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var a=[];Yt(t)&&a.length<6;)a.push(t),t=this.consumeCodePoint();return{type:30,start:i,end:parseInt(d.apply(void 0,a),16)}}return{type:30,start:i,end:i}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&this.peekCodePoint(0)===it?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===it?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Et)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===nt||t===Xe){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Et||this.peekCodePoint(0)===at)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),gn)}for(;;){var i=this.consumeCodePoint();if(i===Et||i===at)return{type:22,value:d.apply(void 0,e)};if(Jt(i))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Et||this.peekCodePoint(0)===at?(this.consumeCodePoint(),{type:22,value:d.apply(void 0,e)}):(this.consumeBadUrlRemnants(),gn);if(i===Xe||i===nt||i===it||tn(i))return this.consumeBadUrlRemnants(),gn;if(i===Ke){if(!nn(i,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),gn;e.push(this.consumeEscapedCodePoint())}else e.push(i)}},e.prototype.consumeWhiteSpace=function(){for(;Jt(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===at||e===Et)return;nn(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t=5e4,n="";e>0;){var i=Math.min(t,e);n+=d.apply(void 0,this._value.splice(0,i)),e-=i}return this._value.shift(),n},e.prototype.consumeStringToken=function(e){for(var t="",n=0;;){var i=this._value[n];if(i===Et||void 0===i||i===e)return{type:0,value:t+=this.consumeStringSlice(n)};if(i===We)return this._value.splice(0,n),yn;if(i===Ke){var a=this._value[n+1];a!==Et&&void 0!==a&&(a===We?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):nn(i,a)&&(t+=this.consumeStringSlice(n),t+=d(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=ze,n=this.peekCodePoint(0);for(n!==wt&&n!==st||e.push(this.consumeCodePoint());qt(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var i=this.peekCodePoint(1);if(n===Nt&&qt(i))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=qe;qt(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),i=this.peekCodePoint(1);var a=this.peekCodePoint(2);if((n===Qt||n===Ut)&&((i===wt||i===st)&&qt(a)||qt(i)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=qe;qt(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[sn(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],i=this.peekCodePoint(0),a=this.peekCodePoint(1),r=this.peekCodePoint(2);return an(i,a,r)?{type:15,number:t,flags:n,unit:this.consumeName()}:i===tt?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Yt(e)){for(var t=d(e);Yt(this.peekCodePoint(0))&&t.length<6;)t+=d(this.consumeCodePoint());Jt(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||Wt(n)||n>1114111?xt:n}return e===Et?xt:e},e.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(en(t))e+=d(t);else{if(!nn(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=d(this.consumeEscapedCodePoint())}}},e}(),Bn=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new Fn;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(32===n.type||On(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return void 0===e?In:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),Pn=function(e){return 15===e.type},kn=function(e){return 17===e.type},Tn=function(e){return 20===e.type},En=function(e){return 0===e.type},Dn=function(e,t){return Tn(e)&&e.value===t},Ln=function(e){return 31!==e.type},Un=function(e){return 31!==e.type&&4!==e.type},_n=function(e){var t=[],n=[];return e.forEach((function(e){if(4===e.type){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(n),void(n=[])}31!==e.type&&n.push(e)})),n.length&&t.push(n),t},On=function(e,t){return 11===t&&12===e.type||28===t&&29===e.type||2===t&&3===e.type},Mn=function(e){return 17===e.type||15===e.type},Rn=function(e){return 16===e.type||Mn(e)},Qn=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},Hn={type:17,number:0,flags:ze},Vn={type:16,number:50,flags:ze},zn={type:16,number:100,flags:ze},qn=function(e,t,n){var i=e[0],a=e[1];return[Wn(i,t),Wn(void 0!==a?a:i,n)]},Wn=function(e,t){if(16===e.type)return e.number/100*t;if(Pn(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},Yn="deg",Kn="grad",Gn="rad",$n="turn",Xn={name:"angle",parse:function(e,t){if(15===t.type)switch(t.unit){case Yn:return Math.PI*t.number/180;case Kn:return Math.PI/200*t.number;case Gn:return t.number;case $n:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")}},Jn=function(e){return 15===e.type&&(e.unit===Yn||e.unit===Kn||e.unit===Gn||e.unit===$n)},Zn=function(e){switch(e.filter(Tn).map((function(e){return e.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Hn,Hn];case"to top":case"bottom":return ei(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Hn,zn];case"to right":case"left":return ei(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[zn,zn];case"to bottom":case"top":return ei(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[zn,Hn];case"to left":case"right":return ei(270)}return 0},ei=function(e){return Math.PI*e/180},ti={name:"color",parse:function(e,t){if(18===t.type){var n=di[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var i=t.value.substring(0,1),a=t.value.substring(1,2),r=t.value.substring(2,3);return ai(parseInt(i+i,16),parseInt(a+a,16),parseInt(r+r,16),1)}if(4===t.value.length){i=t.value.substring(0,1),a=t.value.substring(1,2),r=t.value.substring(2,3);var s=t.value.substring(3,4);return ai(parseInt(i+i,16),parseInt(a+a,16),parseInt(r+r,16),parseInt(s+s,16)/255)}if(6===t.value.length)return i=t.value.substring(0,2),a=t.value.substring(2,4),r=t.value.substring(4,6),ai(parseInt(i,16),parseInt(a,16),parseInt(r,16),1);if(8===t.value.length)return i=t.value.substring(0,2),a=t.value.substring(2,4),r=t.value.substring(4,6),s=t.value.substring(6,8),ai(parseInt(i,16),parseInt(a,16),parseInt(r,16),parseInt(s,16)/255)}if(20===t.type){var l=ui[t.value.toUpperCase()];if(void 0!==l)return l}return ui.TRANSPARENT}},ni=function(e){return!(255&e)},ii=function(e){var t=255&e,n=255&e>>8,i=255&e>>16,a=255&e>>24;return t<255?"rgba("+a+","+i+","+n+","+t/255+")":"rgb("+a+","+i+","+n+")"},ai=function(e,t,n,i){return(e<<24|t<<16|n<<8|Math.round(255*i))>>>0},ri=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},si=function(e,t){var n=t.filter(Un);if(3===n.length){var i=n.map(ri),a=i[0],r=i[1],s=i[2];return ai(a,r,s,1)}if(4===n.length){var l=n.map(ri),o=(a=l[0],r=l[1],s=l[2],l[3]);return ai(a,r,s,o)}return 0};function li(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var oi=function(e,t){var n=t.filter(Un),i=n[0],a=n[1],r=n[2],s=n[3],l=(17===i.type?ei(i.number):Xn.parse(e,i))/(2*Math.PI),o=Rn(a)?a.number/100:0,d=Rn(r)?r.number/100:0,c=void 0!==s&&Rn(s)?Wn(s,1):1;if(0===o)return ai(255*d,255*d,255*d,1);var u=d<=.5?d*(o+1):d+o-d*o,p=2*d-u,A=li(p,u,l+1/3),h=li(p,u,l),f=li(p,u,l-1/3);return ai(255*A,255*h,255*f,c)},di={hsl:oi,hsla:oi,rgb:si,rgba:si},ci=function(e,t){return ti.parse(e,Bn.create(t).parseComponentValue())},ui={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},pi={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(Tn(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Ai={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},hi=function(e,t){var n=ti.parse(e,t[0]),i=t[1];return i&&Rn(i)?{color:n,stop:i}:{color:n,stop:null}},fi=function(e,t){var n=e[0],i=e[e.length-1];null===n.stop&&(n.stop=Hn),null===i.stop&&(i.stop=zn);for(var a=[],r=0,s=0;s<e.length;s++){var l=e[s].stop;if(null!==l){var o=Wn(l,t);o>r?a.push(o):a.push(r),r=o}else a.push(null)}var d=null;for(s=0;s<a.length;s++){var c=a[s];if(null===c)null===d&&(d=s);else if(null!==d){for(var u=s-d,p=(c-a[d-1])/(u+1),A=1;A<=u;A++)a[d+A-1]=p*A;d=null}}return e.map((function(e,n){return{color:e.color,stop:Math.max(Math.min(1,a[n]/t),0)}}))},mi=function(e,t,n){var i=t/2,a=n/2,r=Wn(e[0],t)-i,s=a-Wn(e[1],n);return(Math.atan2(s,r)+2*Math.PI)%(2*Math.PI)},vi=function(e,t,n){var i="number"==typeof e?e:mi(e,t,n),a=Math.abs(t*Math.sin(i))+Math.abs(n*Math.cos(i)),r=t/2,s=n/2,l=a/2,o=Math.sin(i-Math.PI/2)*l,d=Math.cos(i-Math.PI/2)*l;return[a,r-d,r+d,s-o,s+o]},gi=function(e,t){return Math.sqrt(e*e+t*t)},yi=function(e,t,n,i,a){return[[0,0],[0,t],[e,0],[e,t]].reduce((function(e,t){var r=t[0],s=t[1],l=gi(n-r,i-s);return(a?l<e.optimumDistance:l>e.optimumDistance)?{optimumCorner:t,optimumDistance:l}:e}),{optimumDistance:a?1/0:-1/0,optimumCorner:null}).optimumCorner},xi=function(e,t,n,i,a){var r=0,s=0;switch(e.size){case 0:0===e.shape?r=s=Math.min(Math.abs(t),Math.abs(t-i),Math.abs(n),Math.abs(n-a)):1===e.shape&&(r=Math.min(Math.abs(t),Math.abs(t-i)),s=Math.min(Math.abs(n),Math.abs(n-a)));break;case 2:if(0===e.shape)r=s=Math.min(gi(t,n),gi(t,n-a),gi(t-i,n),gi(t-i,n-a));else if(1===e.shape){var l=Math.min(Math.abs(n),Math.abs(n-a))/Math.min(Math.abs(t),Math.abs(t-i)),o=yi(i,a,t,n,!0),d=o[0],c=o[1];s=l*(r=gi(d-t,(c-n)/l))}break;case 1:0===e.shape?r=s=Math.max(Math.abs(t),Math.abs(t-i),Math.abs(n),Math.abs(n-a)):1===e.shape&&(r=Math.max(Math.abs(t),Math.abs(t-i)),s=Math.max(Math.abs(n),Math.abs(n-a)));break;case 3:if(0===e.shape)r=s=Math.max(gi(t,n),gi(t,n-a),gi(t-i,n),gi(t-i,n-a));else if(1===e.shape){l=Math.max(Math.abs(n),Math.abs(n-a))/Math.max(Math.abs(t),Math.abs(t-i));var u=yi(i,a,t,n,!1);d=u[0],c=u[1],s=l*(r=gi(d-t,(c-n)/l))}}return Array.isArray(e.size)&&(r=Wn(e.size[0],i),s=2===e.size.length?Wn(e.size[1],a):r),[r,s]},bi=function(e,t){var n=ei(180),i=[];return _n(t).forEach((function(t,a){if(0===a){var r=t[0];if(20===r.type&&-1!==["top","left","right","bottom"].indexOf(r.value))return void(n=Zn(t));if(Jn(r))return void(n=(Xn.parse(e,r)+ei(270))%ei(360))}var s=hi(e,t);i.push(s)})),{angle:n,stops:i,type:1}},wi="closest-side",ji="farthest-side",Ci="closest-corner",Si="farthest-corner",Ni="circle",Ii="ellipse",Fi="cover",Bi="contain",Pi=function(e,t){var n=0,i=3,a=[],r=[];return _n(t).forEach((function(t,s){var l=!0;if(0===s?l=t.reduce((function(e,t){if(Tn(t))switch(t.value){case"center":return r.push(Vn),!1;case"top":case"left":return r.push(Hn),!1;case"right":case"bottom":return r.push(zn),!1}else if(Rn(t)||Mn(t))return r.push(t),!1;return e}),l):1===s&&(l=t.reduce((function(e,t){if(Tn(t))switch(t.value){case Ni:return n=0,!1;case Ii:return n=1,!1;case Bi:case wi:return i=0,!1;case ji:return i=1,!1;case Ci:return i=2,!1;case Fi:case Si:return i=3,!1}else if(Mn(t)||Rn(t))return Array.isArray(i)||(i=[]),i.push(t),!1;return e}),l)),l){var o=hi(e,t);a.push(o)}})),{size:i,shape:n,stops:a,position:r,type:2}},ki=function(e){return 1===e.type},Ti=function(e){return 2===e.type},Ei={name:"image",parse:function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var i=_i[t.name];if(void 0===i)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return i(e,t.values)}throw new Error("Unsupported image type "+t.type)}};function Di(e){return!(20===e.type&&"none"===e.value||18===e.type&&!_i[e.name])}var Li,Ui,_i={"linear-gradient":function(e,t){var n=ei(180),i=[];return _n(t).forEach((function(t,a){if(0===a){var r=t[0];if(20===r.type&&"to"===r.value)return void(n=Zn(t));if(Jn(r))return void(n=Xn.parse(e,r))}var s=hi(e,t);i.push(s)})),{angle:n,stops:i,type:1}},"-moz-linear-gradient":bi,"-ms-linear-gradient":bi,"-o-linear-gradient":bi,"-webkit-linear-gradient":bi,"radial-gradient":function(e,t){var n=0,i=3,a=[],r=[];return _n(t).forEach((function(t,s){var l=!0;if(0===s){var o=!1;l=t.reduce((function(e,t){if(o)if(Tn(t))switch(t.value){case"center":return r.push(Vn),e;case"top":case"left":return r.push(Hn),e;case"right":case"bottom":return r.push(zn),e}else(Rn(t)||Mn(t))&&r.push(t);else if(Tn(t))switch(t.value){case Ni:return n=0,!1;case Ii:return n=1,!1;case"at":return o=!0,!1;case wi:return i=0,!1;case Fi:case ji:return i=1,!1;case Bi:case Ci:return i=2,!1;case Si:return i=3,!1}else if(Mn(t)||Rn(t))return Array.isArray(i)||(i=[]),i.push(t),!1;return e}),l)}if(l){var d=hi(e,t);a.push(d)}})),{size:i,shape:n,stops:a,position:r,type:2}},"-moz-radial-gradient":Pi,"-ms-radial-gradient":Pi,"-o-radial-gradient":Pi,"-webkit-radial-gradient":Pi,"-webkit-gradient":function(e,t){var n=ei(180),i=[],a=1,r=0,s=3,l=[];return _n(t).forEach((function(t,n){var r=t[0];if(0===n){if(Tn(r)&&"linear"===r.value)return void(a=1);if(Tn(r)&&"radial"===r.value)return void(a=2)}if(18===r.type)if("from"===r.name){var s=ti.parse(e,r.values[0]);i.push({stop:Hn,color:s})}else if("to"===r.name)s=ti.parse(e,r.values[0]),i.push({stop:zn,color:s});else if("color-stop"===r.name){var l=r.values.filter(Un);if(2===l.length){s=ti.parse(e,l[1]);var o=l[0];kn(o)&&i.push({stop:{type:16,number:100*o.number,flags:o.flags},color:s})}}})),1===a?{angle:(n+ei(180))%ei(360),stops:i,type:a}:{size:s,shape:r,stops:i,position:l,type:a}}},Oi={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t.filter((function(e){return Un(e)&&Di(e)})).map((function(t){return Ei.parse(e,t)}))}},Mi={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(Tn(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Ri={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return _n(t).map((function(e){return e.filter(Rn)})).map(Qn)}},Qi={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return _n(t).map((function(e){return e.filter(Tn).map((function(e){return e.value})).join(" ")})).map(Hi)}},Hi=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};(Ui=Li||(Li={})).AUTO="auto",Ui.CONTAIN="contain",Ui.COVER="cover";var Vi,zi,qi={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return _n(t).map((function(e){return e.filter(Wi)}))}},Wi=function(e){return Tn(e)||Rn(e)},Yi=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Ki=Yi("top"),Gi=Yi("right"),$i=Yi("bottom"),Xi=Yi("left"),Ji=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Qn(t.filter(Rn))}}},Zi=Ji("top-left"),ea=Ji("top-right"),ta=Ji("bottom-right"),na=Ji("bottom-left"),ia=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},aa=ia("top"),ra=ia("right"),sa=ia("bottom"),la=ia("left"),oa=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Pn(t)?t.number:0}}},da=oa("top"),ca=oa("right"),ua=oa("bottom"),pa=oa("left"),Aa={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ha={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){return"rtl"===t?1:0}},fa={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(Tn).reduce((function(e,t){return e|ma(t.value)}),0)}},ma=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},va={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},ga={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};(zi=Vi||(Vi={})).NORMAL="normal",zi.STRICT="strict";var ya,xa,ba={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"strict"===t?Vi.STRICT:Vi.NORMAL}},wa={name:"line-height",initialValue:"normal",prefix:!1,type:4},ja=function(e,t){return Tn(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:Rn(e)?Wn(e,t):t},Ca={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return 20===t.type&&"none"===t.value?null:Ei.parse(e,t)}},Sa={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){return"inside"===t?0:1}},Na={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Ia=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},Fa=Ia("top"),Ba=Ia("right"),Pa=Ia("bottom"),ka=Ia("left"),Ta={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(Tn).map((function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}}))}},Ea={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"break-word"===t?"break-word":"normal"}},Da=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},La=Da("top"),Ua=Da("right"),_a=Da("bottom"),Oa=Da("left"),Ma={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Ra={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Qa={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Dn(t[0],"none")?[]:_n(t).map((function(t){for(var n={color:ui.TRANSPARENT,offsetX:Hn,offsetY:Hn,blur:Hn},i=0,a=0;a<t.length;a++){var r=t[a];Mn(r)?(0===i?n.offsetX=r:1===i?n.offsetY=r:n.blur=r,i++):n.color=ti.parse(e,r)}return n}))}},Ha={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Va={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,t){if(20===t.type&&"none"===t.value)return null;if(18===t.type){var n=za[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},za={matrix:function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number}));return 6===t.length?t:null},matrix3d:function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number})),n=t[0],i=t[1];t[2],t[3];var a=t[4],r=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var s=t[12],l=t[13];return t[14],t[15],16===t.length?[n,i,a,r,s,l]:null}},qa={type:16,number:50,flags:ze},Wa=[qa,qa],Ya={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var n=t.filter(Rn);return 2!==n.length?Wa:[n[0],n[1]]}},Ka={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;default:return 0}}};(xa=ya||(ya={})).NORMAL="normal",xa.BREAK_ALL="break-all",xa.KEEP_ALL="keep-all";for(var Ga={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return ya.BREAK_ALL;case"keep-all":return ya.KEEP_ALL;default:return ya.NORMAL}}},$a={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(kn(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},Xa={name:"time",parse:function(e,t){if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},Ja={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return kn(t)?t.number:1}},Za={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},er={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter(Tn).map((function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(e){return 0!==e}))}},tr={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var n=[],i=[];return t.forEach((function(e){switch(e.type){case 20:case 0:n.push(e.value);break;case 17:n.push(e.number.toString());break;case 4:i.push(n.join(" ")),n.length=0}})),n.length&&i.push(n.join(" ")),i.map((function(e){return-1===e.indexOf(" ")?e:"'"+e+"'"}))}},nr={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},ir={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){return kn(t)?t.number:Tn(t)&&"bold"===t.value?700:400}},ar={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter(Tn).map((function(e){return e.value}))}},rr={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},sr=function(e,t){return 0!==(e&t)},lr={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t}},or={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;for(var i=[],a=t.filter(Ln),r=0;r<a.length;r++){var s=a[r],l=a[r+1];if(20===s.type){var o=l&&kn(l)?l.number:1;i.push({counter:s.value,increment:o})}}return i}},dr={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var n=[],i=t.filter(Ln),a=0;a<i.length;a++){var r=i[a],s=i[a+1];if(Tn(r)&&"none"!==r.value){var l=s&&kn(s)?s.number:0;n.push({counter:r.value,reset:l})}}return n}},cr={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(Pn).map((function(t){return Xa.parse(e,t)}))}},ur={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;var i=[],a=t.filter(En);if(a.length%2!=0)return null;for(var r=0;r<a.length;r+=2){var s=a[r].value,l=a[r+1].value;i.push({open:s,close:l})}return i}},pr=function(e,t,n){if(!e)return"";var i=e[Math.min(t,e.length-1)];return i?n?i.open:i.close:""},Ar={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Dn(t[0],"none")?[]:_n(t).map((function(t){for(var n={color:255,offsetX:Hn,offsetY:Hn,blur:Hn,spread:Hn,inset:!1},i=0,a=0;a<t.length;a++){var r=t[a];Dn(r,"inset")?n.inset=!0:Mn(r)?(0===i?n.offsetX=r:1===i?n.offsetY=r:2===i?n.blur=r:n.spread=r,i++):n.color=ti.parse(e,r)}return n}))}},hr={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var n=[0,1,2],i=[];return t.filter(Tn).forEach((function(e){switch(e.value){case"stroke":i.push(1);break;case"fill":i.push(0);break;case"markers":i.push(2)}})),n.forEach((function(e){-1===i.indexOf(e)&&i.push(e)})),i}},fr={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},mr={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Pn(t)?t.number:0}},vr=function(){function e(e,t){var n,i;this.animationDuration=xr(e,cr,t.animationDuration),this.backgroundClip=xr(e,pi,t.backgroundClip),this.backgroundColor=xr(e,Ai,t.backgroundColor),this.backgroundImage=xr(e,Oi,t.backgroundImage),this.backgroundOrigin=xr(e,Mi,t.backgroundOrigin),this.backgroundPosition=xr(e,Ri,t.backgroundPosition),this.backgroundRepeat=xr(e,Qi,t.backgroundRepeat),this.backgroundSize=xr(e,qi,t.backgroundSize),this.borderTopColor=xr(e,Ki,t.borderTopColor),this.borderRightColor=xr(e,Gi,t.borderRightColor),this.borderBottomColor=xr(e,$i,t.borderBottomColor),this.borderLeftColor=xr(e,Xi,t.borderLeftColor),this.borderTopLeftRadius=xr(e,Zi,t.borderTopLeftRadius),this.borderTopRightRadius=xr(e,ea,t.borderTopRightRadius),this.borderBottomRightRadius=xr(e,ta,t.borderBottomRightRadius),this.borderBottomLeftRadius=xr(e,na,t.borderBottomLeftRadius),this.borderTopStyle=xr(e,aa,t.borderTopStyle),this.borderRightStyle=xr(e,ra,t.borderRightStyle),this.borderBottomStyle=xr(e,sa,t.borderBottomStyle),this.borderLeftStyle=xr(e,la,t.borderLeftStyle),this.borderTopWidth=xr(e,da,t.borderTopWidth),this.borderRightWidth=xr(e,ca,t.borderRightWidth),this.borderBottomWidth=xr(e,ua,t.borderBottomWidth),this.borderLeftWidth=xr(e,pa,t.borderLeftWidth),this.boxShadow=xr(e,Ar,t.boxShadow),this.color=xr(e,Aa,t.color),this.direction=xr(e,ha,t.direction),this.display=xr(e,fa,t.display),this.float=xr(e,va,t.cssFloat),this.fontFamily=xr(e,tr,t.fontFamily),this.fontSize=xr(e,nr,t.fontSize),this.fontStyle=xr(e,rr,t.fontStyle),this.fontVariant=xr(e,ar,t.fontVariant),this.fontWeight=xr(e,ir,t.fontWeight),this.letterSpacing=xr(e,ga,t.letterSpacing),this.lineBreak=xr(e,ba,t.lineBreak),this.lineHeight=xr(e,wa,t.lineHeight),this.listStyleImage=xr(e,Ca,t.listStyleImage),this.listStylePosition=xr(e,Sa,t.listStylePosition),this.listStyleType=xr(e,Na,t.listStyleType),this.marginTop=xr(e,Fa,t.marginTop),this.marginRight=xr(e,Ba,t.marginRight),this.marginBottom=xr(e,Pa,t.marginBottom),this.marginLeft=xr(e,ka,t.marginLeft),this.opacity=xr(e,Ja,t.opacity);var a=xr(e,Ta,t.overflow);this.overflowX=a[0],this.overflowY=a[a.length>1?1:0],this.overflowWrap=xr(e,Ea,t.overflowWrap),this.paddingTop=xr(e,La,t.paddingTop),this.paddingRight=xr(e,Ua,t.paddingRight),this.paddingBottom=xr(e,_a,t.paddingBottom),this.paddingLeft=xr(e,Oa,t.paddingLeft),this.paintOrder=xr(e,hr,t.paintOrder),this.position=xr(e,Ra,t.position),this.textAlign=xr(e,Ma,t.textAlign),this.textDecorationColor=xr(e,Za,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=xr(e,er,null!==(i=t.textDecorationLine)&&void 0!==i?i:t.textDecoration),this.textShadow=xr(e,Qa,t.textShadow),this.textTransform=xr(e,Ha,t.textTransform),this.transform=xr(e,Va,t.transform),this.transformOrigin=xr(e,Ya,t.transformOrigin),this.visibility=xr(e,Ka,t.visibility),this.webkitTextStrokeColor=xr(e,fr,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=xr(e,mr,t.webkitTextStrokeWidth),this.wordBreak=xr(e,Ga,t.wordBreak),this.zIndex=xr(e,$a,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return ni(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return sr(this.display,4)||sr(this.display,33554432)||sr(this.display,268435456)||sr(this.display,536870912)||sr(this.display,67108864)||sr(this.display,134217728)},e}(),gr=function(){function e(e,t){this.content=xr(e,lr,t.content),this.quotes=xr(e,ur,t.quotes)}return e}(),yr=function(){function e(e,t){this.counterIncrement=xr(e,or,t.counterIncrement),this.counterReset=xr(e,dr,t.counterReset)}return e}(),xr=function(e,t,n){var i=new Fn,a=null!=n?n.toString():t.initialValue;i.write(a);var r=new Bn(i.read());switch(t.type){case 2:var s=r.parseComponentValue();return t.parse(e,Tn(s)?s.value:t.initialValue);case 0:return t.parse(e,r.parseComponentValue());case 1:return t.parse(e,r.parseComponentValues());case 4:return r.parseComponentValue();case 3:switch(t.format){case"angle":return Xn.parse(e,r.parseComponentValue());case"color":return ti.parse(e,r.parseComponentValue());case"image":return Ei.parse(e,r.parseComponentValue());case"length":var l=r.parseComponentValue();return Mn(l)?l:Hn;case"length-percentage":var o=r.parseComponentValue();return Rn(o)?o:Hn;case"time":return Xa.parse(e,r.parseComponentValue())}}},br="data-html2canvas-debug",wr=function(e){switch(e.getAttribute(br)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},jr=function(e,t){var n=wr(e);return 1===n||t===n},Cr=function(){function e(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,jr(t,3),this.styles=new vr(e,window.getComputedStyle(t,null)),pl(t)&&(this.styles.animationDuration.some((function(e){return e>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=s(this.context,t),jr(t,4)&&(this.flags|=16)}return e}(),Sr="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Nr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ir="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Fr=0;Fr<Nr.length;Fr++)Ir[Nr.charCodeAt(Fr)]=Fr;for(var Br=function(e){var t,n,i,a,r,s=.75*e.length,l=e.length,o=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var d="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),c=Array.isArray(d)?d:new Uint8Array(d);for(t=0;t<l;t+=4)n=Ir[e.charCodeAt(t)],i=Ir[e.charCodeAt(t+1)],a=Ir[e.charCodeAt(t+2)],r=Ir[e.charCodeAt(t+3)],c[o++]=n<<2|i>>4,c[o++]=(15&i)<<4|a>>2,c[o++]=(3&a)<<6|63&r;return d},Pr=function(e){for(var t=e.length,n=[],i=0;i<t;i+=2)n.push(e[i+1]<<8|e[i]);return n},kr=function(e){for(var t=e.length,n=[],i=0;i<t;i+=4)n.push(e[i+3]<<24|e[i+2]<<16|e[i+1]<<8|e[i]);return n},Tr=5,Er=11,Dr=2,Lr=65536>>Tr,Ur=(1<<Tr)-1,_r=Lr+(1024>>Tr)+32,Or=65536>>Er,Mr=(1<<Er-Tr)-1,Rr=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},Qr=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},Hr=function(e,t){var n=Br(e),i=Array.isArray(n)?kr(n):new Uint32Array(n),a=Array.isArray(n)?Pr(n):new Uint16Array(n),r=24,s=Rr(a,r/2,i[4]/2),l=2===i[5]?Rr(a,(r+i[4])/2):Qr(i,Math.ceil((r+i[4])/4));return new Vr(i[0],i[1],i[2],i[3],s,l)},Vr=function(){function e(e,t,n,i,a,r){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=i,this.index=a,this.data=r}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>Tr])<<Dr)+(e&Ur),this.data[t];if(e<=65535)return t=((t=this.index[Lr+(e-55296>>Tr)])<<Dr)+(e&Ur),this.data[t];if(e<this.highStart)return t=_r-Or+(e>>Er),t=this.index[t],t+=e>>Tr&Mr,t=((t=this.index[t])<<Dr)+(e&Ur),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),zr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qr="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Wr=0;Wr<zr.length;Wr++)qr[zr.charCodeAt(Wr)]=Wr;var Yr,Kr,Gr=1,$r=2,Xr=3,Jr=4,Zr=5,es=7,ts=8,ns=9,is=10,as=11,rs=12,ss=13,ls=14,os=15,ds=function(e){for(var t=[],n=0,i=e.length;n<i;){var a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<i){var r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&a)<<10)+(1023&r)+65536):(t.push(a),n--)}else t.push(a)}return t},cs=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var i=[],a=-1,r="";++a<n;){var s=e[a];s<=65535?i.push(s):(s-=65536,i.push(55296+(s>>10),s%1024+56320)),(a+1===n||i.length>16384)&&(r+=String.fromCharCode.apply(String,i),i.length=0)}return r},us=Hr(Sr),ps="×",As="÷",hs=function(e){return us.get(e)},fs=function(e,t,n){var i=n-2,a=t[i],r=t[n-1],s=t[n];if(r===$r&&s===Xr)return ps;if(r===$r||r===Xr||r===Jr)return As;if(s===$r||s===Xr||s===Jr)return As;if(r===ts&&-1!==[ts,ns,as,rs].indexOf(s))return ps;if(!(r!==as&&r!==ns||s!==ns&&s!==is))return ps;if((r===rs||r===is)&&s===is)return ps;if(s===ss||s===Zr)return ps;if(s===es)return ps;if(r===Gr)return ps;if(r===ss&&s===ls){for(;a===Zr;)a=t[--i];if(a===ls)return ps}if(r===os&&s===os){for(var l=0;a===os;)l++,a=t[--i];if(l%2==0)return ps}return As},ms=function(e){var t=ds(e),n=t.length,i=0,a=0,r=t.map(hs);return{next:function(){if(i>=n)return{done:!0,value:null};for(var e=ps;i<n&&(e=fs(t,r,++i))===ps;);if(e!==ps||i===n){var s=cs.apply(null,t.slice(a,i));return a=i,{value:s,done:!1}}return{done:!0,value:null}}}},vs=function(e){for(var t,n=ms(e),i=[];!(t=n.next()).done;)t.value&&i.push(t.value.slice());return i},gs=function(e){var t=123;if(e.createRange){var n=e.createRange();if(n.getBoundingClientRect){var i=e.createElement("boundtest");i.style.height=t+"px",i.style.display="block",e.body.appendChild(i),n.selectNode(i);var a=n.getBoundingClientRect(),r=Math.round(a.height);if(e.body.removeChild(i),r===t)return!0}}return!1},ys=function(e){var t=e.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",e.body.appendChild(t);var n=e.createRange();t.innerHTML="function"==typeof"".repeat?"👨".repeat(10):"";var i=t.firstChild,a=o(i.data).map((function(e){return d(e)})),r=0,s={},l=a.every((function(e,t){n.setStart(i,r),n.setEnd(i,r+e.length);var a=n.getBoundingClientRect();r+=e.length;var l=a.x>s.x||a.y>s.y;return s=a,0===t||l}));return e.body.removeChild(t),l},xs=function(){return void 0!==(new Image).crossOrigin},bs=function(){return"string"==typeof(new XMLHttpRequest).responseType},ws=function(e){var t=new Image,n=e.createElement("canvas"),i=n.getContext("2d");if(!i)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{i.drawImage(t,0,0),n.toDataURL()}catch(a){return!1}return!0},js=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},Cs=function(e){var t=e.createElement("canvas"),n=100;t.width=n,t.height=n;var i=t.getContext("2d");if(!i)return Promise.reject(!1);i.fillStyle="rgb(0, 255, 0)",i.fillRect(0,0,n,n);var a=new Image,r=t.toDataURL();a.src=r;var s=Ss(n,n,0,0,a);return i.fillStyle="red",i.fillRect(0,0,n,n),Ns(s).then((function(t){i.drawImage(t,0,0);var a=i.getImageData(0,0,n,n).data;i.fillStyle="red",i.fillRect(0,0,n,n);var s=e.createElement("div");return s.style.backgroundImage="url("+r+")",s.style.height=n+"px",js(a)?Ns(Ss(n,n,0,0,s)):Promise.reject(!1)})).then((function(e){return i.drawImage(e,0,0),js(i.getImageData(0,0,n,n).data)})).catch((function(){return!1}))},Ss=function(e,t,n,i,a){var r="http://www.w3.org/2000/svg",s=document.createElementNS(r,"svg"),l=document.createElementNS(r,"foreignObject");return s.setAttributeNS(null,"width",e.toString()),s.setAttributeNS(null,"height",t.toString()),l.setAttributeNS(null,"width","100%"),l.setAttributeNS(null,"height","100%"),l.setAttributeNS(null,"x",n.toString()),l.setAttributeNS(null,"y",i.toString()),l.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(l),l.appendChild(a),s},Ns=function(e){return new Promise((function(t,n){var i=new Image;i.onload=function(){return t(i)},i.onerror=n,i.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},Is={get SUPPORT_RANGE_BOUNDS(){var e=gs(document);return Object.defineProperty(Is,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=Is.SUPPORT_RANGE_BOUNDS&&ys(document);return Object.defineProperty(Is,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=ws(document);return Object.defineProperty(Is,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"==typeof Array.from&&"function"==typeof window.fetch?Cs(document):Promise.resolve(!1);return Object.defineProperty(Is,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=xs();return Object.defineProperty(Is,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=bs();return Object.defineProperty(Is,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Is,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(Is,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Fs=function(){function e(e,t){this.text=e,this.bounds=t}return e}(),Bs=function(e,t,n,i){var a=Ds(t,n),s=[],l=0;return a.forEach((function(t){if(n.textDecorationLine.length||t.trim().length>0)if(Is.SUPPORT_RANGE_BOUNDS){var a=ks(i,l,t.length).getClientRects();if(a.length>1){var o=Ts(t),d=0;o.forEach((function(t){s.push(new Fs(t,r.fromDOMRectList(e,ks(i,d+l,t.length).getClientRects()))),d+=t.length}))}else s.push(new Fs(t,r.fromDOMRectList(e,a)))}else{var c=i.splitText(t.length);s.push(new Fs(t,Ps(e,i))),i=c}else Is.SUPPORT_RANGE_BOUNDS||(i=i.splitText(t.length));l+=t.length})),s},Ps=function(e,t){var n=t.ownerDocument;if(n){var i=n.createElement("html2canvaswrapper");i.appendChild(t.cloneNode(!0));var a=t.parentNode;if(a){a.replaceChild(i,t);var l=s(e,i);return i.firstChild&&a.replaceChild(i.firstChild,i),l}}return r.EMPTY},ks=function(e,t,n){var i=e.ownerDocument;if(!i)throw new Error("Node has no owner document");var a=i.createRange();return a.setStart(e,t),a.setEnd(e,t+n),a},Ts=function(e){if(Is.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map((function(e){return e.segment}))}return vs(e)},Es=function(e,t){if(Is.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(e)).map((function(e){return e.segment}))}return Us(e,t)},Ds=function(e,t){return 0!==t.letterSpacing?Ts(e):Es(e,t)},Ls=[32,160,4961,65792,65793,4153,4241],Us=function(e,t){for(var n,i=Qe(e,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),a=[],r=function(){if(n.value){var e=n.value.slice(),t=o(e),i="";t.forEach((function(e){-1===Ls.indexOf(e)?i+=d(e):(i.length&&a.push(i),a.push(d(e)),i="")})),i.length&&a.push(i)}};!(n=i.next()).done;)r();return a},_s=function(){function e(e,t,n){this.text=Os(t.data,n.textTransform),this.textBounds=Bs(e,this.text,n,t)}return e}(),Os=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(Ms,Rs);case 2:return e.toUpperCase();default:return e}},Ms=/(^|\s|:|-|\(|\))([a-z])/g,Rs=function(e,t,n){return e.length>0?t+n.toUpperCase():e},Qs=function(e){function n(t,n){var i=e.call(this,t,n)||this;return i.src=n.currentSrc||n.src,i.intrinsicWidth=n.naturalWidth,i.intrinsicHeight=n.naturalHeight,i.context.cache.addImage(i.src),i}return t(n,e),n}(Cr),Hs=function(e){function n(t,n){var i=e.call(this,t,n)||this;return i.canvas=n,i.intrinsicWidth=n.width,i.intrinsicHeight=n.height,i}return t(n,e),n}(Cr),Vs=function(e){function n(t,n){var i=e.call(this,t,n)||this,a=new XMLSerializer,r=s(t,n);return n.setAttribute("width",r.width+"px"),n.setAttribute("height",r.height+"px"),i.svg="data:image/svg+xml,"+encodeURIComponent(a.serializeToString(n)),i.intrinsicWidth=n.width.baseVal.value,i.intrinsicHeight=n.height.baseVal.value,i.context.cache.addImage(i.svg),i}return t(n,e),n}(Cr),zs=function(e){function n(t,n){var i=e.call(this,t,n)||this;return i.value=n.value,i}return t(n,e),n}(Cr),qs=function(e){function n(t,n){var i=e.call(this,t,n)||this;return i.start=n.start,i.reversed="boolean"==typeof n.reversed&&!0===n.reversed,i}return t(n,e),n}(Cr),Ws=[{type:15,flags:0,unit:"px",number:3}],Ys=[{type:16,flags:0,number:50}],Ks=function(e){return e.width>e.height?new r(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new r(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},Gs=function(e){var t=e.type===Js?new Array(e.value.length+1).join("•"):e.value;return 0===t.length?e.placeholder||"":t},$s="checkbox",Xs="radio",Js="password",Zs=707406591,el=function(e){function n(t,n){var i=e.call(this,t,n)||this;switch(i.type=n.type.toLowerCase(),i.checked=n.checked,i.value=Gs(n),i.type!==$s&&i.type!==Xs||(i.styles.backgroundColor=3739148031,i.styles.borderTopColor=i.styles.borderRightColor=i.styles.borderBottomColor=i.styles.borderLeftColor=2779096575,i.styles.borderTopWidth=i.styles.borderRightWidth=i.styles.borderBottomWidth=i.styles.borderLeftWidth=1,i.styles.borderTopStyle=i.styles.borderRightStyle=i.styles.borderBottomStyle=i.styles.borderLeftStyle=1,i.styles.backgroundClip=[0],i.styles.backgroundOrigin=[0],i.bounds=Ks(i.bounds)),i.type){case $s:i.styles.borderTopRightRadius=i.styles.borderTopLeftRadius=i.styles.borderBottomRightRadius=i.styles.borderBottomLeftRadius=Ws;break;case Xs:i.styles.borderTopRightRadius=i.styles.borderTopLeftRadius=i.styles.borderBottomRightRadius=i.styles.borderBottomLeftRadius=Ys}return i}return t(n,e),n}(Cr),tl=function(e){function n(t,n){var i=e.call(this,t,n)||this,a=n.options[n.selectedIndex||0];return i.value=a&&a.text||"",i}return t(n,e),n}(Cr),nl=function(e){function n(t,n){var i=e.call(this,t,n)||this;return i.value=n.value,i}return t(n,e),n}(Cr),il=function(e){function n(t,n){var i=e.call(this,t,n)||this;i.src=n.src,i.width=parseInt(n.width,10)||0,i.height=parseInt(n.height,10)||0,i.backgroundColor=i.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){i.tree=ll(t,n.contentWindow.document.documentElement);var a=n.contentWindow.document.documentElement?ci(t,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):ui.TRANSPARENT,r=n.contentWindow.document.body?ci(t,getComputedStyle(n.contentWindow.document.body).backgroundColor):ui.TRANSPARENT;i.backgroundColor=ni(a)?ni(r)?i.styles.backgroundColor:r:a}}catch(s){}return i}return t(n,e),n}(Cr),al=["OL","UL","MENU"],rl=function(e,t,n,i){for(var a=t.firstChild,r=void 0;a;a=r)if(r=a.nextSibling,cl(a)&&a.data.trim().length>0)n.textNodes.push(new _s(e,a,n.styles));else if(ul(a))if(Fl(a)&&a.assignedNodes)a.assignedNodes().forEach((function(t){return rl(e,t,n,i)}));else{var s=sl(e,a);s.styles.isVisible()&&(ol(a,s,i)?s.flags|=4:dl(s.styles)&&(s.flags|=2),-1!==al.indexOf(a.tagName)&&(s.flags|=8),n.elements.push(s),a.slot,a.shadowRoot?rl(e,a.shadowRoot,s,i):Nl(a)||gl(a)||Il(a)||rl(e,a,s,i))}},sl=function(e,t){return wl(t)?new Qs(e,t):xl(t)?new Hs(e,t):gl(t)?new Vs(e,t):hl(t)?new zs(e,t):fl(t)?new qs(e,t):ml(t)?new el(e,t):Il(t)?new tl(e,t):Nl(t)?new nl(e,t):jl(t)?new il(e,t):new Cr(e,t)},ll=function(e,t){var n=sl(e,t);return n.flags|=4,rl(e,t,n,n),n},ol=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||yl(e)&&n.styles.isTransparent()},dl=function(e){return e.isPositioned()||e.isFloating()},cl=function(e){return e.nodeType===Node.TEXT_NODE},ul=function(e){return e.nodeType===Node.ELEMENT_NODE},pl=function(e){return ul(e)&&void 0!==e.style&&!Al(e)},Al=function(e){return"object"==typeof e.className},hl=function(e){return"LI"===e.tagName},fl=function(e){return"OL"===e.tagName},ml=function(e){return"INPUT"===e.tagName},vl=function(e){return"HTML"===e.tagName},gl=function(e){return"svg"===e.tagName},yl=function(e){return"BODY"===e.tagName},xl=function(e){return"CANVAS"===e.tagName},bl=function(e){return"VIDEO"===e.tagName},wl=function(e){return"IMG"===e.tagName},jl=function(e){return"IFRAME"===e.tagName},Cl=function(e){return"STYLE"===e.tagName},Sl=function(e){return"SCRIPT"===e.tagName},Nl=function(e){return"TEXTAREA"===e.tagName},Il=function(e){return"SELECT"===e.tagName},Fl=function(e){return"SLOT"===e.tagName},Bl=function(e){return e.tagName.indexOf("-")>0},Pl=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach((function(e){return t.counters[e].pop()}))},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,i=e.counterReset,a=!0;null!==n&&n.forEach((function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(a=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)}));var r=[];return a&&i.forEach((function(e){var n=t.counters[e.counter];r.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)})),r},e}(),kl={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Tl={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},El={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Dl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Ll=function(e,t,n,i,a,r){return e<t||e>n?Kl(e,a,r.length>0):i.integers.reduce((function(t,n,a){for(;e>=n;)e-=n,t+=i.values[a];return t}),"")+r},Ul=function(e,t,n,i){var a="";do{n||e--,a=i(e)+a,e/=t}while(e*t>=t);return a},_l=function(e,t,n,i,a){var r=n-t+1;return(e<0?"-":"")+(Ul(Math.abs(e),r,i,(function(e){return d(Math.floor(e%r)+t)}))+a)},Ol=function(e,t,n){void 0===n&&(n=". ");var i=t.length;return Ul(Math.abs(e),i,!1,(function(e){return t[Math.floor(e%i)]}))+n},Ml=1,Rl=2,Ql=4,Hl=8,Vl=function(e,t,n,i,a,r){if(e<-9999||e>9999)return Kl(e,4,a.length>0);var s=Math.abs(e),l=a;if(0===s)return t[0]+l;for(var o=0;s>0&&o<=4;o++){var d=s%10;0===d&&sr(r,Ml)&&""!==l?l=t[d]+l:d>1||1===d&&0===o||1===d&&1===o&&sr(r,Rl)||1===d&&1===o&&sr(r,Ql)&&e>100||1===d&&o>1&&sr(r,Hl)?l=t[d]+(o>0?n[o-1]:"")+l:1===d&&o>0&&(l=n[o-1]+l),s=Math.floor(s/10)}return(e<0?i:"")+l},zl="十百千萬",ql="拾佰仟萬",Wl="マイナス",Yl="마이너스",Kl=function(e,t,n){var i=n?". ":"",a=n?"、":"",r=n?", ":"",s=n?" ":"";switch(t){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var l=_l(e,48,57,!0,i);return l.length<4?"0"+l:l;case 4:return Ol(e,"〇一二三四五六七八九",a);case 6:return Ll(e,1,3999,kl,3,i).toLowerCase();case 7:return Ll(e,1,3999,kl,3,i);case 8:return _l(e,945,969,!1,i);case 9:return _l(e,97,122,!1,i);case 10:return _l(e,65,90,!1,i);case 11:return _l(e,1632,1641,!0,i);case 12:case 49:return Ll(e,1,9999,Tl,3,i);case 35:return Ll(e,1,9999,Tl,3,i).toLowerCase();case 13:return _l(e,2534,2543,!0,i);case 14:case 30:return _l(e,6112,6121,!0,i);case 15:return Ol(e,"子丑寅卯辰巳午未申酉戌亥",a);case 16:return Ol(e,"甲乙丙丁戊己庚辛壬癸",a);case 17:case 48:return Vl(e,"零一二三四五六七八九",zl,"負",a,Rl|Ql|Hl);case 47:return Vl(e,"零壹貳參肆伍陸柒捌玖",ql,"負",a,Ml|Rl|Ql|Hl);case 42:return Vl(e,"零一二三四五六七八九",zl,"负",a,Rl|Ql|Hl);case 41:return Vl(e,"零壹贰叁肆伍陆柒捌玖",ql,"负",a,Ml|Rl|Ql|Hl);case 26:return Vl(e,"〇一二三四五六七八九","十百千万",Wl,a,0);case 25:return Vl(e,"零壱弐参四伍六七八九","拾百千万",Wl,a,Ml|Rl|Ql);case 31:return Vl(e,"영일이삼사오육칠팔구","십백천만",Yl,r,Ml|Rl|Ql);case 33:return Vl(e,"零一二三四五六七八九","十百千萬",Yl,r,0);case 32:return Vl(e,"零壹貳參四五六七八九","拾百千",Yl,r,Ml|Rl|Ql);case 18:return _l(e,2406,2415,!0,i);case 20:return Ll(e,1,19999,Dl,3,i);case 21:return _l(e,2790,2799,!0,i);case 22:return _l(e,2662,2671,!0,i);case 22:return Ll(e,1,10999,El,3,i);case 23:return Ol(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Ol(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return _l(e,3302,3311,!0,i);case 28:return Ol(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",a);case 29:return Ol(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",a);case 34:return _l(e,3792,3801,!0,i);case 37:return _l(e,6160,6169,!0,i);case 38:return _l(e,4160,4169,!0,i);case 39:return _l(e,2918,2927,!0,i);case 40:return _l(e,1776,1785,!0,i);case 43:return _l(e,3046,3055,!0,i);case 44:return _l(e,3174,3183,!0,i);case 45:return _l(e,3664,3673,!0,i);case 46:return _l(e,3872,3881,!0,i);default:return _l(e,48,57,!0,i)}},Gl="data-html2canvas-ignore",$l=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new Pl,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var n=this,r=Zl(e,t);if(!r.contentWindow)return Promise.reject("Unable to find iframe window");var s=e.defaultView.pageXOffset,l=e.defaultView.pageYOffset,o=r.contentWindow,d=o.document,c=no(r).then((function(){return i(n,void 0,void 0,(function(){var e,n;return a(this,(function(i){switch(i.label){case 0:return this.scrolledElements.forEach(lo),o&&(o.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||o.scrollY===t.top&&o.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-t.left,o.scrollY-t.top,0,0))),e=this.options.onclone,void 0===(n=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:d.fonts&&d.fonts.ready?[4,d.fonts.ready]:[3,2];case 1:i.sent(),i.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,to(d)]:[3,4];case 3:i.sent(),i.label=4;case 4:return"function"==typeof e?[2,Promise.resolve().then((function(){return e(d,n)})).then((function(){return r}))]:[2,r]}}))}))}));return d.open(),d.write(ro(document.doctype)+"<html></html>"),so(this.referenceElement.ownerDocument,s,l),d.replaceChild(d.adoptNode(this.documentElement),d.documentElement),d.close(),c},e.prototype.createElementClone=function(e){if(jr(e,2),xl(e))return this.createCanvasClone(e);if(bl(e))return this.createVideoClone(e);if(Cl(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return wl(t)&&(wl(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),Bl(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return ao(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce((function(e,t){return t&&"string"==typeof t.cssText?e+t.cssText:e}),""),i=e.cloneNode(!1);return i.textContent=n,i}}catch(a){if(this.context.logger.error("Unable to access cssRules property",a),"SecurityError"!==a.name)throw a}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch(o){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var i=e.cloneNode(!1);try{i.width=e.width,i.height=e.height;var a=e.getContext("2d"),r=i.getContext("2d");if(r)if(!this.options.allowTaint&&a)r.putImageData(a.getImageData(0,0,e.width,e.height),0,0);else{var s=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(s){var l=s.getContextAttributes();!1===(null==l?void 0:l.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}r.drawImage(e,0,0)}return i}catch(o){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return i},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext("2d");try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(a){this.context.logger.info("Unable to clone video as it is tainted",e)}var i=e.ownerDocument.createElement("canvas");return i.width=e.offsetWidth,i.height=e.offsetHeight,i},e.prototype.appendChildNode=function(e,t,n){ul(t)&&(Sl(t)||t.hasAttribute(Gl)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&ul(t)&&Cl(t)||e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var i=this,a=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;a;a=a.nextSibling)if(ul(a)&&Fl(a)&&"function"==typeof a.assignedNodes){var r=a.assignedNodes();r.length&&r.forEach((function(e){return i.appendChildNode(t,e,n)}))}else this.appendChildNode(t,a,n)},e.prototype.cloneNode=function(e,t){if(cl(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&ul(e)&&(pl(e)||Al(e))){var i=this.createElementClone(e);i.style.transitionProperty="none";var a=n.getComputedStyle(e),r=n.getComputedStyle(e,":before"),s=n.getComputedStyle(e,":after");this.referenceElement===e&&pl(i)&&(this.clonedReferenceElement=i),yl(i)&&ho(i);var l=this.counters.parse(new yr(this.context,a)),o=this.resolvePseudoContent(e,i,r,Yr.BEFORE);Bl(e)&&(t=!0),bl(e)||this.cloneChildNodes(e,i,t),o&&i.insertBefore(o,i.firstChild);var d=this.resolvePseudoContent(e,i,s,Yr.AFTER);return d&&i.appendChild(d),this.counters.pop(l),(a&&(this.options.copyStyles||Al(e))&&!jl(e)||t)&&ao(a,i),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([i,e.scrollLeft,e.scrollTop]),(Nl(e)||Il(e))&&(Nl(i)||Il(i))&&(i.value=e.value),i}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,i){var a=this;if(n){var r=n.content,s=t.ownerDocument;if(s&&r&&"none"!==r&&"-moz-alt-content"!==r&&"none"!==n.display){this.counters.parse(new yr(this.context,n));var l=new gr(this.context,n),o=s.createElement("html2canvaspseudoelement");ao(n,o),l.content.forEach((function(t){if(0===t.type)o.appendChild(s.createTextNode(t.value));else if(22===t.type){var n=s.createElement("img");n.src=t.value,n.style.opacity="1",o.appendChild(n)}else if(18===t.type){if("attr"===t.name){var i=t.values.filter(Tn);i.length&&o.appendChild(s.createTextNode(e.getAttribute(i[0].value)||""))}else if("counter"===t.name){var r=t.values.filter(Un),d=r[0],c=r[1];if(d&&Tn(d)){var u=a.counters.getCounterValue(d.value),p=c&&Tn(c)?Na.parse(a.context,c.value):3;o.appendChild(s.createTextNode(Kl(u,p,!1)))}}else if("counters"===t.name){var A=t.values.filter(Un),h=(d=A[0],A[1]);if(c=A[2],d&&Tn(d)){var f=a.counters.getCounterValues(d.value),m=c&&Tn(c)?Na.parse(a.context,c.value):3,v=h&&0===h.type?h.value:"",g=f.map((function(e){return Kl(e,m,!1)})).join(v);o.appendChild(s.createTextNode(g))}}}else if(20===t.type)switch(t.value){case"open-quote":o.appendChild(s.createTextNode(pr(l.quotes,a.quoteDepth++,!0)));break;case"close-quote":o.appendChild(s.createTextNode(pr(l.quotes,--a.quoteDepth,!1)));break;default:o.appendChild(s.createTextNode(t.value))}})),o.className=uo+" "+po;var d=i===Yr.BEFORE?" "+uo:" "+po;return Al(t)?t.className.baseValue+=d:t.className+=d,o}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();(Kr=Yr||(Yr={}))[Kr.BEFORE=0]="BEFORE",Kr[Kr.AFTER=1]="AFTER";var Xl,Jl,Zl=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute(Gl,"true"),e.body.appendChild(n),n},eo=function(e){return new Promise((function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()}))},to=function(e){return Promise.all([].slice.call(e.images,0).map(eo))},no=function(e){return new Promise((function(t,n){var i=e.contentWindow;if(!i)return n("No window assigned for iframe");var a=i.document;i.onload=e.onload=function(){i.onload=e.onload=null;var n=setInterval((function(){a.body.childNodes.length>0&&"complete"===a.readyState&&(clearInterval(n),t(e))}),50)}}))},io=["all","d","content"],ao=function(e,t){for(var n=e.length-1;n>=0;n--){var i=e.item(n);-1===io.indexOf(i)&&t.style.setProperty(i,e.getPropertyValue(i))}return t},ro=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},so=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},lo=function(e){var t=e[0],n=e[1],i=e[2];t.scrollLeft=n,t.scrollTop=i},oo=":before",co=":after",uo="___html2canvas___pseudoelement_before",po="___html2canvas___pseudoelement_after",Ao='{\n content: "" !important;\n display: none !important;\n}',ho=function(e){fo(e,"."+uo+oo+Ao+"\n ."+po+co+Ao)},fo=function(e,t){var n=e.ownerDocument;if(n){var i=n.createElement("style");i.textContent=t,e.appendChild(i)}},mo=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),vo=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:Co(e)||bo(e)?((this._cache[e]=this.loadImage(e)).catch((function(){})),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return i(this,void 0,void 0,(function(){var t,n,i,r,s=this;return a(this,(function(a){switch(a.label){case 0:return t=mo.isSameOrigin(e),n=!wo(e)&&!0===this._options.useCORS&&Is.SUPPORT_CORS_IMAGES&&!t,i=!wo(e)&&!t&&!Co(e)&&"string"==typeof this._options.proxy&&Is.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||wo(e)||Co(e)||i||n?(r=e,i?[4,this.proxy(r)]:[3,2]):[2];case 1:r=a.sent(),a.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise((function(e,t){var i=new Image;i.onload=function(){return e(i)},i.onerror=t,(jo(r)||n)&&(i.crossOrigin="anonymous"),i.src=r,!0===i.complete&&setTimeout((function(){return e(i)}),500),s._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+s._options.imageTimeout+"ms) loading image")}),s._options.imageTimeout)}))];case 3:return[2,a.sent()]}}))}))},e.prototype.has=function(e){return void 0!==this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var i=e.substring(0,256);return new Promise((function(a,r){var s=Is.SUPPORT_RESPONSE_TYPE?"blob":"text",l=new XMLHttpRequest;l.onload=function(){if(200===l.status)if("text"===s)a(l.response);else{var e=new FileReader;e.addEventListener("load",(function(){return a(e.result)}),!1),e.addEventListener("error",(function(e){return r(e)}),!1),e.readAsDataURL(l.response)}else r("Failed to proxy resource "+i+" with status code "+l.status)},l.onerror=r;var o=n.indexOf("?")>-1?"&":"?";if(l.open("GET",""+n+o+"url="+encodeURIComponent(e)+"&responseType="+s),"text"!==s&&l instanceof XMLHttpRequest&&(l.responseType=s),t._options.imageTimeout){var d=t._options.imageTimeout;l.timeout=d,l.ontimeout=function(){return r("Timed out ("+d+"ms) proxying "+i)}}l.send()}))},e}(),go=/^data:image\/svg\+xml/i,yo=/^data:image\/.*;base64,/i,xo=/^data:image\/.*/i,bo=function(e){return Is.SUPPORT_SVG_DRAWING||!So(e)},wo=function(e){return xo.test(e)},jo=function(e){return yo.test(e)},Co=function(e){return"blob"===e.substr(0,4)},So=function(e){return"svg"===e.substr(-3).toLowerCase()||go.test(e)},No=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),Io=function(e,t,n){return new No(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},Fo=function(){function e(e,t,n,i){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=i}return e.prototype.subdivide=function(t,n){var i=Io(this.start,this.startControl,t),a=Io(this.startControl,this.endControl,t),r=Io(this.endControl,this.end,t),s=Io(i,a,t),l=Io(a,r,t),o=Io(s,l,t);return n?new e(this.start,i,s,o):new e(o,l,r,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),Bo=function(e){return 1===e.type},Po=function(){function e(e){var t=e.styles,n=e.bounds,i=qn(t.borderTopLeftRadius,n.width,n.height),a=i[0],r=i[1],s=qn(t.borderTopRightRadius,n.width,n.height),l=s[0],o=s[1],d=qn(t.borderBottomRightRadius,n.width,n.height),c=d[0],u=d[1],p=qn(t.borderBottomLeftRadius,n.width,n.height),A=p[0],h=p[1],f=[];f.push((a+l)/n.width),f.push((A+c)/n.width),f.push((r+h)/n.height),f.push((o+u)/n.height);var m=Math.max.apply(Math,f);m>1&&(a/=m,r/=m,l/=m,o/=m,c/=m,u/=m,A/=m,h/=m);var v=n.width-l,g=n.height-u,y=n.width-c,x=n.height-h,b=t.borderTopWidth,w=t.borderRightWidth,j=t.borderBottomWidth,C=t.borderLeftWidth,S=Wn(t.paddingTop,e.bounds.width),N=Wn(t.paddingRight,e.bounds.width),I=Wn(t.paddingBottom,e.bounds.width),F=Wn(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=a>0||r>0?ko(n.left+C/3,n.top+b/3,a-C/3,r-b/3,Xl.TOP_LEFT):new No(n.left+C/3,n.top+b/3),this.topRightBorderDoubleOuterBox=a>0||r>0?ko(n.left+v,n.top+b/3,l-w/3,o-b/3,Xl.TOP_RIGHT):new No(n.left+n.width-w/3,n.top+b/3),this.bottomRightBorderDoubleOuterBox=c>0||u>0?ko(n.left+y,n.top+g,c-w/3,u-j/3,Xl.BOTTOM_RIGHT):new No(n.left+n.width-w/3,n.top+n.height-j/3),this.bottomLeftBorderDoubleOuterBox=A>0||h>0?ko(n.left+C/3,n.top+x,A-C/3,h-j/3,Xl.BOTTOM_LEFT):new No(n.left+C/3,n.top+n.height-j/3),this.topLeftBorderDoubleInnerBox=a>0||r>0?ko(n.left+2*C/3,n.top+2*b/3,a-2*C/3,r-2*b/3,Xl.TOP_LEFT):new No(n.left+2*C/3,n.top+2*b/3),this.topRightBorderDoubleInnerBox=a>0||r>0?ko(n.left+v,n.top+2*b/3,l-2*w/3,o-2*b/3,Xl.TOP_RIGHT):new No(n.left+n.width-2*w/3,n.top+2*b/3),this.bottomRightBorderDoubleInnerBox=c>0||u>0?ko(n.left+y,n.top+g,c-2*w/3,u-2*j/3,Xl.BOTTOM_RIGHT):new No(n.left+n.width-2*w/3,n.top+n.height-2*j/3),this.bottomLeftBorderDoubleInnerBox=A>0||h>0?ko(n.left+2*C/3,n.top+x,A-2*C/3,h-2*j/3,Xl.BOTTOM_LEFT):new No(n.left+2*C/3,n.top+n.height-2*j/3),this.topLeftBorderStroke=a>0||r>0?ko(n.left+C/2,n.top+b/2,a-C/2,r-b/2,Xl.TOP_LEFT):new No(n.left+C/2,n.top+b/2),this.topRightBorderStroke=a>0||r>0?ko(n.left+v,n.top+b/2,l-w/2,o-b/2,Xl.TOP_RIGHT):new No(n.left+n.width-w/2,n.top+b/2),this.bottomRightBorderStroke=c>0||u>0?ko(n.left+y,n.top+g,c-w/2,u-j/2,Xl.BOTTOM_RIGHT):new No(n.left+n.width-w/2,n.top+n.height-j/2),this.bottomLeftBorderStroke=A>0||h>0?ko(n.left+C/2,n.top+x,A-C/2,h-j/2,Xl.BOTTOM_LEFT):new No(n.left+C/2,n.top+n.height-j/2),this.topLeftBorderBox=a>0||r>0?ko(n.left,n.top,a,r,Xl.TOP_LEFT):new No(n.left,n.top),this.topRightBorderBox=l>0||o>0?ko(n.left+v,n.top,l,o,Xl.TOP_RIGHT):new No(n.left+n.width,n.top),this.bottomRightBorderBox=c>0||u>0?ko(n.left+y,n.top+g,c,u,Xl.BOTTOM_RIGHT):new No(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=A>0||h>0?ko(n.left,n.top+x,A,h,Xl.BOTTOM_LEFT):new No(n.left,n.top+n.height),this.topLeftPaddingBox=a>0||r>0?ko(n.left+C,n.top+b,Math.max(0,a-C),Math.max(0,r-b),Xl.TOP_LEFT):new No(n.left+C,n.top+b),this.topRightPaddingBox=l>0||o>0?ko(n.left+Math.min(v,n.width-w),n.top+b,v>n.width+w?0:Math.max(0,l-w),Math.max(0,o-b),Xl.TOP_RIGHT):new No(n.left+n.width-w,n.top+b),this.bottomRightPaddingBox=c>0||u>0?ko(n.left+Math.min(y,n.width-C),n.top+Math.min(g,n.height-j),Math.max(0,c-w),Math.max(0,u-j),Xl.BOTTOM_RIGHT):new No(n.left+n.width-w,n.top+n.height-j),this.bottomLeftPaddingBox=A>0||h>0?ko(n.left+C,n.top+Math.min(x,n.height-j),Math.max(0,A-C),Math.max(0,h-j),Xl.BOTTOM_LEFT):new No(n.left+C,n.top+n.height-j),this.topLeftContentBox=a>0||r>0?ko(n.left+C+F,n.top+b+S,Math.max(0,a-(C+F)),Math.max(0,r-(b+S)),Xl.TOP_LEFT):new No(n.left+C+F,n.top+b+S),this.topRightContentBox=l>0||o>0?ko(n.left+Math.min(v,n.width+C+F),n.top+b+S,v>n.width+C+F?0:l-C+F,o-(b+S),Xl.TOP_RIGHT):new No(n.left+n.width-(w+N),n.top+b+S),this.bottomRightContentBox=c>0||u>0?ko(n.left+Math.min(y,n.width-(C+F)),n.top+Math.min(g,n.height+b+S),Math.max(0,c-(w+N)),u-(j+I),Xl.BOTTOM_RIGHT):new No(n.left+n.width-(w+N),n.top+n.height-(j+I)),this.bottomLeftContentBox=A>0||h>0?ko(n.left+C+F,n.top+x,Math.max(0,A-(C+F)),h-(j+I),Xl.BOTTOM_LEFT):new No(n.left+C+F,n.top+n.height-(j+I))}return e}();(Jl=Xl||(Xl={}))[Jl.TOP_LEFT=0]="TOP_LEFT",Jl[Jl.TOP_RIGHT=1]="TOP_RIGHT",Jl[Jl.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",Jl[Jl.BOTTOM_LEFT=3]="BOTTOM_LEFT";var ko=function(e,t,n,i,a){var r=(Math.sqrt(2)-1)/3*4,s=n*r,l=i*r,o=e+n,d=t+i;switch(a){case Xl.TOP_LEFT:return new Fo(new No(e,d),new No(e,d-l),new No(o-s,t),new No(o,t));case Xl.TOP_RIGHT:return new Fo(new No(e,t),new No(e+s,t),new No(o,d-l),new No(o,d));case Xl.BOTTOM_RIGHT:return new Fo(new No(o,t),new No(o,t+l),new No(e+s,d),new No(e,d));case Xl.BOTTOM_LEFT:default:return new Fo(new No(o,d),new No(o-s,d),new No(e,t+l),new No(e,t))}},To=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},Eo=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},Do=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},Lo=function(){function e(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6}return e}(),Uo=function(){function e(e,t){this.path=e,this.target=t,this.type=1}return e}(),_o=function(){function e(e){this.opacity=e,this.type=2,this.target=6}return e}(),Oo=function(e){return 0===e.type},Mo=function(e){return 1===e.type},Ro=function(e){return 2===e.type},Qo=function(e,t){return e.length===t.length&&e.some((function(e,n){return e===t[n]}))},Ho=function(e,t,n,i,a){return e.map((function(e,r){switch(r){case 0:return e.add(t,n);case 1:return e.add(t+i,n);case 2:return e.add(t+i,n+a);case 3:return e.add(t,n+a)}return e}))},Vo=function(){function e(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),zo=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new Po(this.container),this.container.styles.opacity<1&&this.effects.push(new _o(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,i=this.container.bounds.top+this.container.styles.transformOrigin[1].number,a=this.container.styles.transform;this.effects.push(new Lo(n,i,a))}if(0!==this.container.styles.overflowX){var r=To(this.curves),s=Do(this.curves);Qo(r,s)?this.effects.push(new Uo(r,6)):(this.effects.push(new Uo(r,2)),this.effects.push(new Uo(s,4)))}}return e.prototype.getEffects=function(e){for(var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,i=this.effects.slice(0);n;){var a=n.effects.filter((function(e){return!Mo(e)}));if(t||0!==n.container.styles.position||!n.parent){if(i.unshift.apply(i,a),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var r=To(n.curves),s=Do(n.curves);Qo(r,s)||i.unshift(new Uo(s,6))}}else i.unshift.apply(i,a);n=n.parent}return i.filter((function(t){return sr(t.target,e)}))},e}(),qo=function(e,t,n,i){e.container.elements.forEach((function(a){var r=sr(a.flags,4),s=sr(a.flags,2),l=new zo(a,e);sr(a.styles.display,2048)&&i.push(l);var o=sr(a.flags,8)?[]:i;if(r||s){var d=r||a.styles.isPositioned()?n:t,c=new Vo(l);if(a.styles.isPositioned()||a.styles.opacity<1||a.styles.isTransformed()){var u=a.styles.zIndex.order;if(u<0){var p=0;d.negativeZIndex.some((function(e,t){return u>e.element.container.styles.zIndex.order?(p=t,!1):p>0})),d.negativeZIndex.splice(p,0,c)}else if(u>0){var A=0;d.positiveZIndex.some((function(e,t){return u>=e.element.container.styles.zIndex.order?(A=t+1,!1):A>0})),d.positiveZIndex.splice(A,0,c)}else d.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else a.styles.isFloating()?d.nonPositionedFloats.push(c):d.nonPositionedInlineLevel.push(c);qo(l,c,r?c:n,o)}else a.styles.isInlineLevel()?t.inlineLevel.push(l):t.nonInlineLevel.push(l),qo(l,t,n,o);sr(a.flags,8)&&Wo(a,o)}))},Wo=function(e,t){for(var n=e instanceof qs?e.start:1,i=e instanceof qs&&e.reversed,a=0;a<t.length;a++){var r=t[a];r.container instanceof zs&&"number"==typeof r.container.value&&0!==r.container.value&&(n=r.container.value),r.listValue=Kl(n,r.container.styles.listStyleType,!0),n+=i?-1:1}},Yo=function(e){var t=new zo(e,null),n=new Vo(t),i=[];return qo(t,n,n,i),Wo(t.container,i),n},Ko=function(e,t){switch(t){case 0:return Zo(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return Zo(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return Zo(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return Zo(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Go=function(e,t){switch(t){case 0:return Zo(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return Zo(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return Zo(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return Zo(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},$o=function(e,t){switch(t){case 0:return Zo(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return Zo(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return Zo(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return Zo(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},Xo=function(e,t){switch(t){case 0:return Jo(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Jo(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Jo(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return Jo(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},Jo=function(e,t){var n=[];return Bo(e)?n.push(e.subdivide(.5,!1)):n.push(e),Bo(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},Zo=function(e,t,n,i){var a=[];return Bo(e)?a.push(e.subdivide(.5,!1)):a.push(e),Bo(n)?a.push(n.subdivide(.5,!0)):a.push(n),Bo(i)?a.push(i.subdivide(.5,!0).reverse()):a.push(i),Bo(t)?a.push(t.subdivide(.5,!1).reverse()):a.push(t),a},ed=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},td=function(e){var t=e.styles,n=e.bounds,i=Wn(t.paddingLeft,n.width),a=Wn(t.paddingRight,n.width),r=Wn(t.paddingTop,n.width),s=Wn(t.paddingBottom,n.width);return n.add(i+t.borderLeftWidth,r+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+i+a),-(t.borderTopWidth+t.borderBottomWidth+r+s))},nd=function(e,t){return 0===e?t.bounds:2===e?td(t):ed(t)},id=function(e,t){return 0===e?t.bounds:2===e?td(t):ed(t)},ad=function(e,t,n){var i=nd(od(e.styles.backgroundOrigin,t),e),a=id(od(e.styles.backgroundClip,t),e),r=ld(od(e.styles.backgroundSize,t),n,i),s=r[0],l=r[1],o=qn(od(e.styles.backgroundPosition,t),i.width-s,i.height-l);return[dd(od(e.styles.backgroundRepeat,t),o,r,i,a),Math.round(i.left+o[0]),Math.round(i.top+o[1]),s,l]},rd=function(e){return Tn(e)&&e.value===Li.AUTO},sd=function(e){return"number"==typeof e},ld=function(e,t,n){var i=t[0],a=t[1],r=t[2],s=e[0],l=e[1];if(!s)return[0,0];if(Rn(s)&&l&&Rn(l))return[Wn(s,n.width),Wn(l,n.height)];var o=sd(r);if(Tn(s)&&(s.value===Li.CONTAIN||s.value===Li.COVER))return sd(r)?n.width/n.height<r!=(s.value===Li.COVER)?[n.width,n.width/r]:[n.height*r,n.height]:[n.width,n.height];var d=sd(i),c=sd(a),u=d||c;if(rd(s)&&(!l||rd(l)))return d&&c?[i,a]:o||u?u&&o?[d?i:a*r,c?a:i/r]:[d?i:n.width,c?a:n.height]:[n.width,n.height];if(o){var p=0,A=0;return Rn(s)?p=Wn(s,n.width):Rn(l)&&(A=Wn(l,n.height)),rd(s)?p=A*r:l&&!rd(l)||(A=p/r),[p,A]}var h=null,f=null;if(Rn(s)?h=Wn(s,n.width):l&&Rn(l)&&(f=Wn(l,n.height)),null===h||l&&!rd(l)||(f=d&&c?h/i*a:n.height),null!==f&&rd(s)&&(h=d&&c?f/a*i:n.width),null!==h&&null!==f)return[h,f];throw new Error("Unable to calculate background-size for element")},od=function(e,t){var n=e[t];return void 0===n?e[0]:n},dd=function(e,t,n,i,a){var r=t[0],s=t[1],l=n[0],o=n[1];switch(e){case 2:return[new No(Math.round(i.left),Math.round(i.top+s)),new No(Math.round(i.left+i.width),Math.round(i.top+s)),new No(Math.round(i.left+i.width),Math.round(o+i.top+s)),new No(Math.round(i.left),Math.round(o+i.top+s))];case 3:return[new No(Math.round(i.left+r),Math.round(i.top)),new No(Math.round(i.left+r+l),Math.round(i.top)),new No(Math.round(i.left+r+l),Math.round(i.height+i.top)),new No(Math.round(i.left+r),Math.round(i.height+i.top))];case 1:return[new No(Math.round(i.left+r),Math.round(i.top+s)),new No(Math.round(i.left+r+l),Math.round(i.top+s)),new No(Math.round(i.left+r+l),Math.round(i.top+s+o)),new No(Math.round(i.left+r),Math.round(i.top+s+o))];default:return[new No(Math.round(a.left),Math.round(a.top)),new No(Math.round(a.left+a.width),Math.round(a.top)),new No(Math.round(a.left+a.width),Math.round(a.height+a.top)),new No(Math.round(a.left),Math.round(a.height+a.top))]}},cd="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",ud="Hidden Text",pd=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement("div"),i=this._document.createElement("img"),a=this._document.createElement("span"),r=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",r.appendChild(n),i.src=cd,i.width=1,i.height=1,i.style.margin="0",i.style.padding="0",i.style.verticalAlign="baseline",a.style.fontFamily=e,a.style.fontSize=t,a.style.margin="0",a.style.padding="0",a.appendChild(this._document.createTextNode(ud)),n.appendChild(a),n.appendChild(i);var s=i.offsetTop-a.offsetTop+2;n.removeChild(a),n.appendChild(this._document.createTextNode(ud)),n.style.lineHeight="normal",i.style.verticalAlign="super";var l=i.offsetTop-n.offsetTop+2;return r.removeChild(n),{baseline:s,middle:l}},e.prototype.getMetrics=function(e,t){var n=e+" "+t;return void 0===this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),Ad=function(){function e(e,t){this.context=e,this.options=t}return e}(),hd=1e4,fd=function(e){function n(t,n){var i=e.call(this,t,n)||this;return i._activeEffects=[],i.canvas=n.canvas?n.canvas:document.createElement("canvas"),i.ctx=i.canvas.getContext("2d"),n.canvas||(i.canvas.width=Math.floor(n.width*n.scale),i.canvas.height=Math.floor(n.height*n.scale),i.canvas.style.width=n.width+"px",i.canvas.style.height=n.height+"px"),i.fontMetrics=new pd(document),i.ctx.scale(i.options.scale,i.options.scale),i.ctx.translate(-n.x,-n.y),i.ctx.textBaseline="bottom",i._activeEffects=[],i.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),i}return t(n,e),n.prototype.applyEffects=function(e){for(var t=this;this._activeEffects.length;)this.popEffect();e.forEach((function(e){return t.applyEffect(e)}))},n.prototype.applyEffect=function(e){this.ctx.save(),Ro(e)&&(this.ctx.globalAlpha=e.opacity),Oo(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),Mo(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},n.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},n.prototype.renderStack=function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return e.element.container.styles.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},n.prototype.renderNode=function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return sr(e.container.flags,16),e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},n.prototype.renderTextWithLetterSpacing=function(e,t,n){var i=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n):Ts(e.text).reduce((function(t,a){return i.ctx.fillText(a,t,e.bounds.top+n),t+i.ctx.measureText(a).width}),e.bounds.left)},n.prototype.createFontStyle=function(e){var t=e.fontVariant.filter((function(e){return"normal"===e||"small-caps"===e})).join(""),n=xd(e.fontFamily).join(", "),i=Pn(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,i,n].join(" "),n,i]},n.prototype.renderTextNode=function(e,t){return i(this,void 0,void 0,(function(){var n,i,r,s,l,o,d,c,u=this;return a(this,(function(a){return n=this.createFontStyle(t),i=n[0],r=n[1],s=n[2],this.ctx.font=i,this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",l=this.fontMetrics.getMetrics(r,s),o=l.baseline,d=l.middle,c=t.paintOrder,e.textBounds.forEach((function(e){c.forEach((function(n){switch(n){case 0:u.ctx.fillStyle=ii(t.color),u.renderTextWithLetterSpacing(e,t.letterSpacing,o);var i=t.textShadow;i.length&&e.text.trim().length&&(i.slice(0).reverse().forEach((function(n){u.ctx.shadowColor=ii(n.color),u.ctx.shadowOffsetX=n.offsetX.number*u.options.scale,u.ctx.shadowOffsetY=n.offsetY.number*u.options.scale,u.ctx.shadowBlur=n.blur.number,u.renderTextWithLetterSpacing(e,t.letterSpacing,o)})),u.ctx.shadowColor="",u.ctx.shadowOffsetX=0,u.ctx.shadowOffsetY=0,u.ctx.shadowBlur=0),t.textDecorationLine.length&&(u.ctx.fillStyle=ii(t.textDecorationColor||t.color),t.textDecorationLine.forEach((function(t){switch(t){case 1:u.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+o),e.bounds.width,1);break;case 2:u.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:u.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+d),e.bounds.width,1)}})));break;case 1:t.webkitTextStrokeWidth&&e.text.trim().length&&(u.ctx.strokeStyle=ii(t.webkitTextStrokeColor),u.ctx.lineWidth=t.webkitTextStrokeWidth,u.ctx.lineJoin=window.chrome?"miter":"round",u.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+o)),u.ctx.strokeStyle="",u.ctx.lineWidth=0,u.ctx.lineJoin="miter"}}))})),[2]}))}))},n.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var i=td(e),a=Do(t);this.path(a),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(e){return i(this,void 0,void 0,(function(){var t,i,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b;return a(this,(function(a){switch(a.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,i=e.curves,s=t.styles,l=0,o=t.textNodes,a.label=1;case 1:return l<o.length?(d=o[l],[4,this.renderTextNode(d,s)]):[3,4];case 2:a.sent(),a.label=3;case 3:return l++,[3,1];case 4:if(!(t instanceof Qs))return[3,8];a.label=5;case 5:return a.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return g=a.sent(),this.renderReplacedElement(t,i,g),[3,8];case 7:return a.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof Hs&&this.renderReplacedElement(t,i,t.canvas),!(t instanceof Vs))return[3,12];a.label=9;case 9:return a.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return g=a.sent(),this.renderReplacedElement(t,i,g),[3,12];case 11:return a.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof il&&t.tree?[4,new n(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}).render(t.tree)]:[3,14];case 13:c=a.sent(),t.width&&t.height&&this.ctx.drawImage(c,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),a.label=14;case 14:if(t instanceof el&&(u=Math.min(t.bounds.width,t.bounds.height),t.type===$s?t.checked&&(this.ctx.save(),this.path([new No(t.bounds.left+.39363*u,t.bounds.top+.79*u),new No(t.bounds.left+.16*u,t.bounds.top+.5549*u),new No(t.bounds.left+.27347*u,t.bounds.top+.44071*u),new No(t.bounds.left+.39694*u,t.bounds.top+.5649*u),new No(t.bounds.left+.72983*u,t.bounds.top+.23*u),new No(t.bounds.left+.84*u,t.bounds.top+.34085*u),new No(t.bounds.left+.39363*u,t.bounds.top+.79*u)]),this.ctx.fillStyle=ii(Zs),this.ctx.fill(),this.ctx.restore()):t.type===Xs&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+u/2,t.bounds.top+u/2,u/4,0,2*Math.PI,!0),this.ctx.fillStyle=ii(Zs),this.ctx.fill(),this.ctx.restore())),md(t)&&t.value.length){switch(p=this.createFontStyle(s),x=p[0],A=p[1],h=this.fontMetrics.getMetrics(x,A).baseline,this.ctx.font=x,this.ctx.fillStyle=ii(s.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=gd(t.styles.textAlign),b=td(t),f=0,t.styles.textAlign){case 1:f+=b.width/2;break;case 2:f+=b.width}m=b.add(f,0,0,-b.height/2+1),this.ctx.save(),this.path([new No(b.left,b.top),new No(b.left+b.width,b.top),new No(b.left+b.width,b.top+b.height),new No(b.left,b.top+b.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Fs(t.value,m),s.letterSpacing,h),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!sr(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(0!==(v=t.styles.listStyleImage).type)return[3,18];g=void 0,y=v.url,a.label=15;case 15:return a.trys.push([15,17,,18]),[4,this.context.cache.match(y)];case 16:return g=a.sent(),this.ctx.drawImage(g,t.bounds.left-(g.width+10),t.bounds.top),[3,18];case 17:return a.sent(),this.context.logger.error("Error loading list-style-image "+y),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==t.styles.listStyleType&&(x=this.createFontStyle(s)[0],this.ctx.font=x,this.ctx.fillStyle=ii(s.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",b=new r(t.bounds.left,t.bounds.top+Wn(t.styles.paddingTop,t.bounds.width),t.bounds.width,ja(s.lineHeight,s.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Fs(e.listValue,b),s.letterSpacing,ja(s.lineHeight,s.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),a.label=20;case 20:return[2]}}))}))},n.prototype.renderStackContent=function(e){return i(this,void 0,void 0,(function(){var t,n,i,r,s,l,o,d,c,u,p,A,h,f,m;return a(this,(function(a){switch(a.label){case 0:return sr(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:a.sent(),t=0,n=e.negativeZIndex,a.label=2;case 2:return t<n.length?(m=n[t],[4,this.renderStack(m)]):[3,5];case 3:a.sent(),a.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:a.sent(),i=0,r=e.nonInlineLevel,a.label=7;case 7:return i<r.length?(m=r[i],[4,this.renderNode(m)]):[3,10];case 8:a.sent(),a.label=9;case 9:return i++,[3,7];case 10:s=0,l=e.nonPositionedFloats,a.label=11;case 11:return s<l.length?(m=l[s],[4,this.renderStack(m)]):[3,14];case 12:a.sent(),a.label=13;case 13:return s++,[3,11];case 14:o=0,d=e.nonPositionedInlineLevel,a.label=15;case 15:return o<d.length?(m=d[o],[4,this.renderStack(m)]):[3,18];case 16:a.sent(),a.label=17;case 17:return o++,[3,15];case 18:c=0,u=e.inlineLevel,a.label=19;case 19:return c<u.length?(m=u[c],[4,this.renderNode(m)]):[3,22];case 20:a.sent(),a.label=21;case 21:return c++,[3,19];case 22:p=0,A=e.zeroOrAutoZIndexOrTransformedOrOpacity,a.label=23;case 23:return p<A.length?(m=A[p],[4,this.renderStack(m)]):[3,26];case 24:a.sent(),a.label=25;case 25:return p++,[3,23];case 26:h=0,f=e.positiveZIndex,a.label=27;case 27:return h<f.length?(m=f[h],[4,this.renderStack(m)]):[3,30];case 28:a.sent(),a.label=29;case 29:return h++,[3,27];case 30:return[2]}}))}))},n.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},n.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},n.prototype.formatPath=function(e){var t=this;e.forEach((function(e,n){var i=Bo(e)?e.start:e;0===n?t.ctx.moveTo(i.x,i.y):t.ctx.lineTo(i.x,i.y),Bo(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)}))},n.prototype.renderRepeat=function(e,t,n,i){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,i),this.ctx.fill(),this.ctx.translate(-n,-i)},n.prototype.resizeImage=function(e,t,n){var i;if(e.width===t&&e.height===n)return e;var a=(null!==(i=this.canvas.ownerDocument)&&void 0!==i?i:document).createElement("canvas");return a.width=Math.max(1,t),a.height=Math.max(1,n),a.getContext("2d").drawImage(e,0,0,e.width,e.height,0,0,t,n),a},n.prototype.renderBackgroundImage=function(e){return i(this,void 0,void 0,(function(){var t,n,i,r,s,l;return a(this,(function(o){switch(o.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P,k,T,E,D,L;return a(this,(function(a){switch(a.label){case 0:if(0!==n.type)return[3,5];r=void 0,s=n.url,a.label=1;case 1:return a.trys.push([1,3,,4]),[4,i.context.cache.match(s)];case 2:return r=a.sent(),[3,4];case 3:return a.sent(),i.context.logger.error("Error loading background-image "+s),[3,4];case 4:return r&&(l=ad(e,t,[r.width,r.height,r.width/r.height]),x=l[0],N=l[1],I=l[2],j=l[3],C=l[4],g=i.ctx.createPattern(i.resizeImage(r,j,C),"repeat"),i.renderRepeat(x,g,N,I)),[3,6];case 5:ki(n)?(o=ad(e,t,[null,null,null]),x=o[0],N=o[1],I=o[2],j=o[3],C=o[4],d=vi(n.angle,j,C),c=d[0],u=d[1],p=d[2],A=d[3],h=d[4],(f=document.createElement("canvas")).width=j,f.height=C,m=f.getContext("2d"),v=m.createLinearGradient(u,A,p,h),fi(n.stops,c).forEach((function(e){return v.addColorStop(e.stop,ii(e.color))})),m.fillStyle=v,m.fillRect(0,0,j,C),j>0&&C>0&&(g=i.ctx.createPattern(f,"repeat"),i.renderRepeat(x,g,N,I))):Ti(n)&&(y=ad(e,t,[null,null,null]),x=y[0],b=y[1],w=y[2],j=y[3],C=y[4],S=0===n.position.length?[Vn]:n.position,N=Wn(S[0],j),I=Wn(S[S.length-1],C),F=xi(n,N,I,j,C),B=F[0],P=F[1],B>0&&P>0&&(k=i.ctx.createRadialGradient(b+N,w+I,0,b+N,w+I,B),fi(n.stops,2*B).forEach((function(e){return k.addColorStop(e.stop,ii(e.color))})),i.path(x),i.ctx.fillStyle=k,B!==P?(T=e.bounds.left+.5*e.bounds.width,E=e.bounds.top+.5*e.bounds.height,L=1/(D=P/B),i.ctx.save(),i.ctx.translate(T,E),i.ctx.transform(1,0,0,D,0,0),i.ctx.translate(-T,-E),i.ctx.fillRect(b,L*(w-E)+E,j,C*L),i.ctx.restore()):i.ctx.fill())),a.label=6;case 6:return t--,[2]}}))},i=this,r=0,s=e.styles.backgroundImage.slice(0).reverse(),o.label=1;case 1:return r<s.length?(l=s[r],[5,n(l)]):[3,4];case 2:o.sent(),o.label=3;case 3:return r++,[3,1];case 4:return[2]}}))}))},n.prototype.renderSolidBorder=function(e,t,n){return i(this,void 0,void 0,(function(){return a(this,(function(i){return this.path(Ko(n,t)),this.ctx.fillStyle=ii(e),this.ctx.fill(),[2]}))}))},n.prototype.renderDoubleBorder=function(e,t,n,r){return i(this,void 0,void 0,(function(){var i,s;return a(this,(function(a){switch(a.label){case 0:return t<3?[4,this.renderSolidBorder(e,n,r)]:[3,2];case 1:return a.sent(),[2];case 2:return i=Go(r,n),this.path(i),this.ctx.fillStyle=ii(e),this.ctx.fill(),s=$o(r,n),this.path(s),this.ctx.fill(),[2]}}))}))},n.prototype.renderNodeBackgroundAndBorders=function(e){return i(this,void 0,void 0,(function(){var t,n,i,r,s,l,o,d,c=this;return a(this,(function(a){switch(a.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,n=!ni(t.backgroundColor)||t.backgroundImage.length,i=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],r=vd(od(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(r),this.ctx.clip(),ni(t.backgroundColor)||(this.ctx.fillStyle=ii(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:a.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach((function(t){c.ctx.save();var n=To(e.curves),i=t.inset?0:hd,a=Ho(n,-i+(t.inset?1:-1)*t.spread.number,(t.inset?1:-1)*t.spread.number,t.spread.number*(t.inset?-2:2),t.spread.number*(t.inset?-2:2));t.inset?(c.path(n),c.ctx.clip(),c.mask(a)):(c.mask(n),c.ctx.clip(),c.path(a)),c.ctx.shadowOffsetX=t.offsetX.number+i,c.ctx.shadowOffsetY=t.offsetY.number,c.ctx.shadowColor=ii(t.color),c.ctx.shadowBlur=t.blur.number,c.ctx.fillStyle=t.inset?ii(t.color):"rgba(0,0,0,1)",c.ctx.fill(),c.ctx.restore()})),a.label=2;case 2:s=0,l=0,o=i,a.label=3;case 3:return l<o.length?0!==(d=o[l]).style&&!ni(d.color)&&d.width>0?2!==d.style?[3,5]:[4,this.renderDashedDottedBorder(d.color,d.width,s,e.curves,2)]:[3,11]:[3,13];case 4:return a.sent(),[3,11];case 5:return 3!==d.style?[3,7]:[4,this.renderDashedDottedBorder(d.color,d.width,s,e.curves,3)];case 6:return a.sent(),[3,11];case 7:return 4!==d.style?[3,9]:[4,this.renderDoubleBorder(d.color,d.width,s,e.curves)];case 8:return a.sent(),[3,11];case 9:return[4,this.renderSolidBorder(d.color,s,e.curves)];case 10:a.sent(),a.label=11;case 11:s++,a.label=12;case 12:return l++,[3,3];case 13:return[2]}}))}))},n.prototype.renderDashedDottedBorder=function(e,t,n,r,s){return i(this,void 0,void 0,(function(){var i,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b;return a(this,(function(a){return this.ctx.save(),i=Xo(r,n),l=Ko(r,n),2===s&&(this.path(l),this.ctx.clip()),Bo(l[0])?(o=l[0].start.x,d=l[0].start.y):(o=l[0].x,d=l[0].y),Bo(l[1])?(c=l[1].end.x,u=l[1].end.y):(c=l[1].x,u=l[1].y),p=0===n||2===n?Math.abs(o-c):Math.abs(d-u),this.ctx.beginPath(),3===s?this.formatPath(i):this.formatPath(l.slice(0,2)),A=t<3?3*t:2*t,h=t<3?2*t:t,3===s&&(A=t,h=t),f=!0,p<=2*A?f=!1:p<=2*A+h?(A*=m=p/(2*A+h),h*=m):(v=Math.floor((p+h)/(A+h)),g=(p-v*A)/(v-1),h=(y=(p-(v+1)*A)/v)<=0||Math.abs(h-g)<Math.abs(h-y)?g:y),f&&(3===s?this.ctx.setLineDash([0,A+h]):this.ctx.setLineDash([A,h])),3===s?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=ii(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===s&&(Bo(l[0])&&(x=l[3],b=l[0],this.ctx.beginPath(),this.formatPath([new No(x.end.x,x.end.y),new No(b.start.x,b.start.y)]),this.ctx.stroke()),Bo(l[1])&&(x=l[1],b=l[2],this.ctx.beginPath(),this.formatPath([new No(x.end.x,x.end.y),new No(b.start.x,b.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},n.prototype.render=function(e){return i(this,void 0,void 0,(function(){var t;return a(this,(function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=ii(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=Yo(e),[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}}))}))},n}(Ad),md=function(e){return e instanceof nl||e instanceof tl||e instanceof el&&e.type!==Xs&&e.type!==$s},vd=function(e,t){switch(e){case 0:return To(t);case 2:return Eo(t);default:return Do(t)}},gd=function(e){switch(e){case 1:return"center";case 2:return"right";default:return"left"}},yd=["-apple-system","system-ui"],xd=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter((function(e){return-1===yd.indexOf(e)})):e},bd=function(e){function n(t,n){var i=e.call(this,t,n)||this;return i.canvas=n.canvas?n.canvas:document.createElement("canvas"),i.ctx=i.canvas.getContext("2d"),i.options=n,i.canvas.width=Math.floor(n.width*n.scale),i.canvas.height=Math.floor(n.height*n.scale),i.canvas.style.width=n.width+"px",i.canvas.style.height=n.height+"px",i.ctx.scale(i.options.scale,i.options.scale),i.ctx.translate(-n.x,-n.y),i.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),i}return t(n,e),n.prototype.render=function(e){return i(this,void 0,void 0,(function(){var t,n;return a(this,(function(i){switch(i.label){case 0:return t=Ss(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,wd(t)];case 1:return n=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=ii(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},n}(Ad),wd=function(e){return new Promise((function(t,n){var i=new Image;i.onload=function(){t(i)},i.onerror=n,i.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},jd=function(){function e(e){var t=e.id,n=e.enabled;this.id=t,this.enabled=n,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug||this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&"undefined"!=typeof window&&window.console&&console.info},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn||this.info.apply(this,e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error||this.info.apply(this,e))},e.instances={},e}(),Cd=function(){function e(t,n){var i;this.windowBounds=n,this.instanceName="#"+e.instanceCount++,this.logger=new jd({id:this.instanceName,enabled:t.logging}),this.cache=null!==(i=t.cache)&&void 0!==i?i:new vo(this,t)}return e.instanceCount=1,e}(),Sd=function(e,t){return void 0===t&&(t={}),Nd(e,t)};"undefined"!=typeof window&&mo.setContext(window);var Nd=function(e,t){return i(void 0,void 0,void 0,(function(){var i,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P,k,T,E,D,L,U,_,O,M,R,Q,H,V,z;return a(this,(function(a){switch(a.label){case 0:if(!e||"object"!=typeof e)return[2,Promise.reject("Invalid element provided as first argument")];if(!(i=e.ownerDocument))throw new Error("Element is not attached to a Document");if(!(o=i.defaultView))throw new Error("Document is not attached to a Window");return d={allowTaint:null!==(F=t.allowTaint)&&void 0!==F&&F,imageTimeout:null!==(B=t.imageTimeout)&&void 0!==B?B:15e3,proxy:t.proxy,useCORS:null!==(P=t.useCORS)&&void 0!==P&&P},c=n({logging:null===(k=t.logging)||void 0===k||k,cache:t.cache},d),u={windowWidth:null!==(T=t.windowWidth)&&void 0!==T?T:o.innerWidth,windowHeight:null!==(E=t.windowHeight)&&void 0!==E?E:o.innerHeight,scrollX:null!==(D=t.scrollX)&&void 0!==D?D:o.pageXOffset,scrollY:null!==(L=t.scrollY)&&void 0!==L?L:o.pageYOffset},p=new r(u.scrollX,u.scrollY,u.windowWidth,u.windowHeight),A=new Cd(c,p),h=null!==(U=t.foreignObjectRendering)&&void 0!==U&&U,f={allowTaint:null!==(_=t.allowTaint)&&void 0!==_&&_,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:h,copyStyles:h},A.logger.debug("Starting document clone with size "+p.width+"x"+p.height+" scrolled to "+-p.left+","+-p.top),m=new $l(A,e,f),(v=m.clonedReferenceElement)?[4,m.toIFrame(i,p)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return g=a.sent(),y=yl(v)||vl(v)?l(v.ownerDocument):s(A,v),x=y.width,b=y.height,w=y.left,j=y.top,C=Id(A,v,t.backgroundColor),S={canvas:t.canvas,backgroundColor:C,scale:null!==(M=null!==(O=t.scale)&&void 0!==O?O:o.devicePixelRatio)&&void 0!==M?M:1,x:(null!==(R=t.x)&&void 0!==R?R:0)+w,y:(null!==(Q=t.y)&&void 0!==Q?Q:0)+j,width:null!==(H=t.width)&&void 0!==H?H:Math.ceil(x),height:null!==(V=t.height)&&void 0!==V?V:Math.ceil(b)},h?(A.logger.debug("Document cloned, using foreign object rendering"),[4,new bd(A,S).render(v)]):[3,3];case 2:return N=a.sent(),[3,5];case 3:return A.logger.debug("Document cloned, element located at "+w+","+j+" with size "+x+"x"+b+" using computed rendering"),A.logger.debug("Starting DOM parsing"),I=ll(A,v),C===I.styles.backgroundColor&&(I.styles.backgroundColor=ui.TRANSPARENT),A.logger.debug("Starting renderer for element at "+S.x+","+S.y+" with size "+S.width+"x"+S.height),[4,new fd(A,S).render(I)];case 4:N=a.sent(),a.label=5;case 5:return(null===(z=t.removeContainer)||void 0===z||z)&&($l.destroy(g)||A.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),A.logger.debug("Finished rendering"),[2,N]}}))}))},Id=function(e,t,n){var i=t.ownerDocument,a=i.documentElement?ci(e,getComputedStyle(i.documentElement).backgroundColor):ui.TRANSPARENT,r=i.body?ci(e,getComputedStyle(i.body).backgroundColor):ui.TRANSPARENT,s="string"==typeof n?ci(e,n):null===n?ui.TRANSPARENT:4294967295;return t===i.documentElement?ni(a)?ni(r)?s:r:a:s};return Sd}()),Gp.exports} +/*! + * html2pdf.js v0.10.3 + * Copyright (c) 2025 Erik Koopmans + * Released under the MIT License. + */self,Kp=function(e,t){return function(){var n={"./src/plugin/hyperlinks.js": +/*!**********************************!*\ + !*** ./src/plugin/hyperlinks.js ***! + \**********************************/function(e,t,n){n.r(t),n( +/*! core-js/modules/web.dom-collections.for-each.js */ +"./node_modules/core-js/modules/web.dom-collections.for-each.js"),n( +/*! core-js/modules/es.string.link.js */ +"./node_modules/core-js/modules/es.string.link.js");var i=n( +/*! ../worker.js */ +"./src/worker.js"),a=n( +/*! ../utils.js */ +"./src/utils.js"),r=[],s={toContainer:i.default.prototype.toContainer,toPdf:i.default.prototype.toPdf};i.default.prototype.toContainer=function(){return s.toContainer.call(this).then((function(){if(this.opt.enableLinks){var e=this.prop.container,t=e.querySelectorAll("a"),n=(0,a.unitConvert)(e.getBoundingClientRect(),this.prop.pageSize.k);r=[],Array.prototype.forEach.call(t,(function(e){for(var t=e.getClientRects(),i=0;i<t.length;i++){var s=(0,a.unitConvert)(t[i],this.prop.pageSize.k);s.left-=n.left,s.top-=n.top;var l=Math.floor(s.top/this.prop.pageSize.inner.height)+1,o=this.opt.margin[0]+s.top%this.prop.pageSize.inner.height,d=this.opt.margin[1]+s.left;r.push({page:l,top:o,left:d,clientRect:s,link:e})}}),this)}}))},i.default.prototype.toPdf=function(){return s.toPdf.call(this).then((function(){if(this.opt.enableLinks){r.forEach((function(e){this.prop.pdf.setPage(e.page),this.prop.pdf.link(e.left,e.top,e.clientRect.width,e.clientRect.height,{url:e.link.href})}),this);var e=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(e)}}))}},"./src/plugin/jspdf-plugin.js": +/*!************************************!*\ + !*** ./src/plugin/jspdf-plugin.js ***! + \************************************/function(e,t,n){n.r(t),n( +/*! core-js/modules/es.symbol.js */ +"./node_modules/core-js/modules/es.symbol.js"),n( +/*! core-js/modules/es.symbol.description.js */ +"./node_modules/core-js/modules/es.symbol.description.js"),n( +/*! core-js/modules/es.object.to-string.js */ +"./node_modules/core-js/modules/es.object.to-string.js"),n( +/*! core-js/modules/es.symbol.iterator.js */ +"./node_modules/core-js/modules/es.symbol.iterator.js"),n( +/*! core-js/modules/es.array.iterator.js */ +"./node_modules/core-js/modules/es.array.iterator.js"),n( +/*! core-js/modules/es.string.iterator.js */ +"./node_modules/core-js/modules/es.string.iterator.js"),n( +/*! core-js/modules/web.dom-collections.iterator.js */ +"./node_modules/core-js/modules/web.dom-collections.iterator.js");var i=n( +/*! jspdf */ +"jspdf");function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}i.jsPDF.getPageSize=function(e,t,n){if("object"===a(e)){var i=e;e=i.orientation,t=i.unit||t,n=i.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var r=(""+n).toLowerCase(),s={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":var l=1;break;case"mm":l=72/25.4;break;case"cm":l=72/2.54;break;case"in":l=72;break;case"px":l=.75;break;case"pc":case"em":l=12;break;case"ex":l=6;break;default:throw"Invalid unit: "+t}if(s.hasOwnProperty(r))var o=s[r][1]/l,d=s[r][0]/l;else try{o=n[1],d=n[0]}catch(u){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e){if(e="p",d>o){var c=d;d=o,o=c}}else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",o>d&&(c=d,d=o,o=c)}return{width:d,height:o,unit:t,k:l}},t.default=i.jsPDF},"./src/plugin/pagebreaks.js": +/*!**********************************!*\ + !*** ./src/plugin/pagebreaks.js ***! + \**********************************/function(e,t,n){n.r(t),n( +/*! core-js/modules/es.array.concat.js */ +"./node_modules/core-js/modules/es.array.concat.js"),n( +/*! core-js/modules/es.array.slice.js */ +"./node_modules/core-js/modules/es.array.slice.js"),n( +/*! core-js/modules/es.array.join.js */ +"./node_modules/core-js/modules/es.array.join.js"),n( +/*! core-js/modules/web.dom-collections.for-each.js */ +"./node_modules/core-js/modules/web.dom-collections.for-each.js"),n( +/*! core-js/modules/es.object.keys.js */ +"./node_modules/core-js/modules/es.object.keys.js");var i=n( +/*! ../worker.js */ +"./src/worker.js"),a=n( +/*! ../utils.js */ +"./src/utils.js"),r={toContainer:i.default.prototype.toContainer};i.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},i.default.prototype.toContainer=function(){return r.toContainer.call(this).then((function(){var e=this.prop.container,t=this.prop.pageSize.inner.px.height,n=[].concat(this.opt.pagebreak.mode),i={avoidAll:-1!==n.indexOf("avoid-all"),css:-1!==n.indexOf("css"),legacy:-1!==n.indexOf("legacy")},r={},s=this;["before","after","avoid"].forEach((function(t){var n=i.avoidAll&&"avoid"===t;r[t]=n?[]:[].concat(s.opt.pagebreak[t]||[]),r[t].length>0&&(r[t]=Array.prototype.slice.call(e.querySelectorAll(r[t].join(", "))))}));var l=e.querySelectorAll(".html2pdf__page-break");l=Array.prototype.slice.call(l);var o=e.querySelectorAll("*");Array.prototype.forEach.call(o,(function(e){var n={before:!1,after:i.legacy&&-1!==l.indexOf(e),avoid:i.avoidAll};if(i.css){var s=window.getComputedStyle(e),o=["always","page","left","right"];n={before:n.before||-1!==o.indexOf(s.breakBefore||s.pageBreakBefore),after:n.after||-1!==o.indexOf(s.breakAfter||s.pageBreakAfter),avoid:n.avoid||-1!==["avoid","avoid-page"].indexOf(s.breakInside||s.pageBreakInside)}}Object.keys(n).forEach((function(t){n[t]=n[t]||-1!==r[t].indexOf(e)}));var d=e.getBoundingClientRect();if(n.avoid&&!n.before){var c=Math.floor(d.top/t),u=Math.floor(d.bottom/t),p=Math.abs(d.bottom-d.top)/t;u!==c&&p<=1&&(n.before=!0)}if(n.before){var A=(0,a.createElement)("div",{style:{display:"block",height:t-d.top%t+"px"}});e.parentNode.insertBefore(A,e)}n.after&&(A=(0,a.createElement)("div",{style:{display:"block",height:t-d.bottom%t+"px"}}),e.parentNode.insertBefore(A,e.nextSibling))}))}))}},"./src/utils.js": +/*!**********************!*\ + !*** ./src/utils.js ***! + \**********************/function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.r(t),n.d(t,{objType:function(){return a},createElement:function(){return r},cloneNode:function(){return s},unitConvert:function(){return l},toPx:function(){return o}}),n( +/*! core-js/modules/es.number.constructor.js */ +"./node_modules/core-js/modules/es.number.constructor.js"),n( +/*! core-js/modules/es.symbol.js */ +"./node_modules/core-js/modules/es.symbol.js"),n( +/*! core-js/modules/es.symbol.description.js */ +"./node_modules/core-js/modules/es.symbol.description.js"),n( +/*! core-js/modules/es.object.to-string.js */ +"./node_modules/core-js/modules/es.object.to-string.js"),n( +/*! core-js/modules/es.symbol.iterator.js */ +"./node_modules/core-js/modules/es.symbol.iterator.js"),n( +/*! core-js/modules/es.array.iterator.js */ +"./node_modules/core-js/modules/es.array.iterator.js"),n( +/*! core-js/modules/es.string.iterator.js */ +"./node_modules/core-js/modules/es.string.iterator.js"),n( +/*! core-js/modules/web.dom-collections.iterator.js */ +"./node_modules/core-js/modules/web.dom-collections.iterator.js");var a=function(e){var t=i(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},r=function(e,t){var n=document.createElement(e);if(t.className&&(n.className=t.className),t.innerHTML){n.innerHTML=t.innerHTML;for(var i=n.getElementsByTagName("script"),a=i.length;a-- >0;null)i[a].parentNode.removeChild(i[a])}for(var r in t.style)n.style[r]=t.style[r];return n},s=function e(t,n){for(var i=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),a=t.firstChild;a;a=a.nextSibling)!0!==n&&1===a.nodeType&&"SCRIPT"===a.nodeName||i.appendChild(e(a,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(i.width=t.width,i.height=t.height,i.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(i.value=t.value),i.addEventListener("load",(function(){i.scrollTop=t.scrollTop,i.scrollLeft=t.scrollLeft}),!0)),i},l=function(e,t){if("number"===a(e))return 72*e/96/t;var n={};for(var i in e)n[i]=72*e[i]/96/t;return n},o=function(e,t){return Math.floor(e*t/72*96)}},"./src/worker.js": +/*!***********************!*\ + !*** ./src/worker.js ***! + \***********************/function(e,t,n){n.r(t),n( +/*! core-js/modules/es.object.assign.js */ +"./node_modules/core-js/modules/es.object.assign.js"),n( +/*! core-js/modules/es.array.map.js */ +"./node_modules/core-js/modules/es.array.map.js"),n( +/*! core-js/modules/es.object.keys.js */ +"./node_modules/core-js/modules/es.object.keys.js"),n( +/*! core-js/modules/es.array.concat.js */ +"./node_modules/core-js/modules/es.array.concat.js"),n( +/*! core-js/modules/es.object.to-string.js */ +"./node_modules/core-js/modules/es.object.to-string.js"),n( +/*! core-js/modules/es.regexp.to-string.js */ +"./node_modules/core-js/modules/es.regexp.to-string.js"),n( +/*! core-js/modules/es.function.name.js */ +"./node_modules/core-js/modules/es.function.name.js"),n( +/*! core-js/modules/web.dom-collections.for-each.js */ +"./node_modules/core-js/modules/web.dom-collections.for-each.js");var i=n( +/*! jspdf */ +"jspdf"),a=n( +/*! html2canvas */ +"html2canvas"),r=n( +/*! ./utils.js */ +"./src/utils.js"),s=n( +/*! es6-promise */ +"./node_modules/es6-promise/dist/es6-promise.js"),l=n.n(s)().Promise,o=function e(t){var n=Object.assign(e.convert(l.resolve()),JSON.parse(JSON.stringify(e.template))),i=e.convert(l.resolve(),n);return i=(i=i.setProgress(1,e,1,[e])).set(t)};(o.prototype=Object.create(l.prototype)).constructor=o,o.convert=function(e,t){return e.__proto__=t||o.prototype,e},o.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},o.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch((0,r.objType)(e)){case"string":return"string";case"element":return e.nodeName.toLowerCase&&"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.set({src:(0,r.createElement)("div",{innerHTML:e})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},o.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},o.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},t={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};e.opacity=0;var n=(0,r.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,r.createElement)("div",{className:"html2pdf__overlay",style:e}),this.prop.container=(0,r.createElement)("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(n),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)}))},o.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then((function(){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,a(this.prop.container,e)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},o.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},o.prototype.toPdf=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e=this.prop.canvas,t=this.opt,n=e.height,a=Math.floor(e.width*this.prop.pageSize.inner.ratio),r=Math.ceil(n/a),s=this.prop.pageSize.inner.height,l=document.createElement("canvas"),o=l.getContext("2d");l.width=e.width,l.height=a,this.prop.pdf=this.prop.pdf||new i.jsPDF(t.jsPDF);for(var d=0;d<r;d++){d===r-1&&n%a!==0&&(l.height=n%a,s=l.height*this.prop.pageSize.inner.width/l.width);var c=l.width,u=l.height;o.fillStyle="white",o.fillRect(0,0,c,u),o.drawImage(e,0,d*a,c,u,0,0,c,u),d&&this.prop.pdf.addPage();var p=l.toDataURL("image/"+t.image.type,t.image.quality);this.prop.pdf.addImage(p,t.image.type,t.margin[1],t.margin[0],this.prop.pageSize.inner.width,s)}}))},o.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},o.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},o.prototype.outputImg=function(e,t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}}))},o.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},o.prototype.set=function(e){if("object"!==(0,r.objType)(e))return this;var t=Object.keys(e||{}).map((function(t){switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return t in o.template.prop?function(){this.prop[t]=e[t]}:function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},o.prototype.get=function(e,t){return this.then((function(){var n=e in o.template.prop?this.prop[e]:this.opt[e];return t?t(n):n}))},o.prototype.setMargin=function(e){return this.then((function(){switch((0,r.objType)(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},o.prototype.setPageSize=function(e){return this.then((function(){(e=e||i.jsPDF.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:(0,r.toPx)(e.inner.width,e.k),height:(0,r.toPx)(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},o.prototype.setProgress=function(e,t,n,i){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=i&&(this.progress.stack=i),this.progress.ratio=this.progress.val/this.progress.state,this},o.prototype.updateProgress=function(e,t,n,i){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,i?this.progress.stack.concat(i):null)},o.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,(function(e,t){return n.updateProgress(null,null,1,[e]),l.prototype.then.call(this,(function(t){return n.updateProgress(null,e),t})).then(e,t).then((function(e){return n.updateProgress(1),e}))}))},o.prototype.thenCore=function(e,t,n){n=n||l.prototype.then;var i=this;e&&(e=e.bind(i)),t&&(t=t.bind(i));var a=-1!==l.toString().indexOf("[native code]")&&"Promise"===l.name?i:o.convert(Object.assign({},i),l.prototype),r=n.call(a,e,t);return o.convert(r,i.__proto__)},o.prototype.thenExternal=function(e,t){return l.prototype.then.call(this,e,t)},o.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},o.prototype.catch=function(e){e&&(e=e.bind(this));var t=l.prototype.catch.call(this,e);return o.convert(t,this)},o.prototype.catchExternal=function(e){return l.prototype.catch.call(this,e)},o.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},o.prototype.using=o.prototype.set,o.prototype.saveAs=o.prototype.save,o.prototype.export=o.prototype.output,o.prototype.run=o.prototype.then,t.default=o},"./node_modules/core-js/internals/a-function.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/a-function.js ***! + \******************************************************/function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"./node_modules/core-js/internals/a-possible-prototype.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/internals/a-possible-prototype.js ***! + \****************************************************************/function(e,t,n){var i=n( +/*! ../internals/is-object */ +"./node_modules/core-js/internals/is-object.js");e.exports=function(e){if(!i(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"./node_modules/core-js/internals/add-to-unscopables.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/internals/add-to-unscopables.js ***! + \**************************************************************/function(e,t,n){var i=n( +/*! ../internals/well-known-symbol */ +"./node_modules/core-js/internals/well-known-symbol.js"),a=n( +/*! ../internals/object-create */ +"./node_modules/core-js/internals/object-create.js"),r=n( +/*! ../internals/object-define-property */ +"./node_modules/core-js/internals/object-define-property.js"),s=i("unscopables"),l=Array.prototype;null==l[s]&&r.f(l,s,{configurable:!0,value:a(null)}),e.exports=function(e){l[s][e]=!0}},"./node_modules/core-js/internals/an-object.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/an-object.js ***! + \*****************************************************/function(e,t,n){var i=n( +/*! ../internals/is-object */ +"./node_modules/core-js/internals/is-object.js");e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},"./node_modules/core-js/internals/array-for-each.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/array-for-each.js ***! + \**********************************************************/function(e,t,n){var i=n( +/*! ../internals/array-iteration */ +"./node_modules/core-js/internals/array-iteration.js").forEach,a=n( +/*! ../internals/array-method-is-strict */ +"./node_modules/core-js/internals/array-method-is-strict.js")("forEach");e.exports=a?[].forEach:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/array-includes.js ***! + \**********************************************************/function(e,t,n){var i=n( +/*! ../internals/to-indexed-object */ +"./node_modules/core-js/internals/to-indexed-object.js"),a=n( +/*! ../internals/to-length */ +"./node_modules/core-js/internals/to-length.js"),r=n( +/*! ../internals/to-absolute-index */ +"./node_modules/core-js/internals/to-absolute-index.js"),s=function(e){return function(t,n,s){var l,o=i(t),d=a(o.length),c=r(s,d);if(e&&n!=n){for(;d>c;)if((l=o[c++])!=l)return!0}else for(;d>c;c++)if((e||c in o)&&o[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},"./node_modules/core-js/internals/array-iteration.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/internals/array-iteration.js ***! + \***********************************************************/function(e,t,n){var i=n( +/*! ../internals/function-bind-context */ +"./node_modules/core-js/internals/function-bind-context.js"),a=n( +/*! ../internals/indexed-object */ +"./node_modules/core-js/internals/indexed-object.js"),r=n( +/*! ../internals/to-object */ +"./node_modules/core-js/internals/to-object.js"),s=n( +/*! ../internals/to-length */ +"./node_modules/core-js/internals/to-length.js"),l=n( +/*! ../internals/array-species-create */ +"./node_modules/core-js/internals/array-species-create.js"),o=[].push,d=function(e){var t=1==e,n=2==e,d=3==e,c=4==e,u=6==e,p=7==e,A=5==e||u;return function(h,f,m,v){for(var g,y,x=r(h),b=a(x),w=i(f,m,3),j=s(b.length),C=0,S=v||l,N=t?S(h,j):n||p?S(h,0):void 0;j>C;C++)if((A||C in b)&&(y=w(g=b[C],C,x),e))if(t)N[C]=y;else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return C;case 2:o.call(N,g)}else switch(e){case 4:return!1;case 7:o.call(N,g)}return u?-1:d||c?c:N}};e.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6),filterReject:d(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js": +/*!****************************************************************************!*\ + !*** ./node_modules/core-js/internals/array-method-has-species-support.js ***! + \****************************************************************************/function(e,t,n){var i=n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js"),a=n( +/*! ../internals/well-known-symbol */ +"./node_modules/core-js/internals/well-known-symbol.js"),r=n( +/*! ../internals/engine-v8-version */ +"./node_modules/core-js/internals/engine-v8-version.js"),s=a("species");e.exports=function(e){return r>=51||!i((function(){var t=[];return(t.constructor={})[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"./node_modules/core-js/internals/array-method-is-strict.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/internals/array-method-is-strict.js ***! + \******************************************************************/function(e,t,n){var i=n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js");e.exports=function(e,t){var n=[][e];return!!n&&i((function(){n.call(null,t||function(){throw 1},1)}))}},"./node_modules/core-js/internals/array-species-constructor.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/internals/array-species-constructor.js ***! + \*********************************************************************/function(e,t,n){var i=n( +/*! ../internals/is-object */ +"./node_modules/core-js/internals/is-object.js"),a=n( +/*! ../internals/is-array */ +"./node_modules/core-js/internals/is-array.js"),r=n( +/*! ../internals/well-known-symbol */ +"./node_modules/core-js/internals/well-known-symbol.js")("species");e.exports=function(e){var t;return a(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!a(t.prototype)?i(t)&&null===(t=t[r])&&(t=void 0):t=void 0),void 0===t?Array:t}},"./node_modules/core-js/internals/array-species-create.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/internals/array-species-create.js ***! + \****************************************************************/function(e,t,n){var i=n( +/*! ../internals/array-species-constructor */ +"./node_modules/core-js/internals/array-species-constructor.js");e.exports=function(e,t){return new(i(e))(0===t?0:t)}},"./node_modules/core-js/internals/classof-raw.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/classof-raw.js ***! + \*******************************************************/function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},"./node_modules/core-js/internals/classof.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/internals/classof.js ***! + \***************************************************/function(e,t,n){var i=n( +/*! ../internals/to-string-tag-support */ +"./node_modules/core-js/internals/to-string-tag-support.js"),a=n( +/*! ../internals/classof-raw */ +"./node_modules/core-js/internals/classof-raw.js"),r=n( +/*! ../internals/well-known-symbol */ +"./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),s="Arguments"==a(function(){return arguments}());e.exports=i?a:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),r))?n:s?a(t):"Object"==(i=a(t))&&"function"==typeof t.callee?"Arguments":i}},"./node_modules/core-js/internals/copy-constructor-properties.js": +/*!***********************************************************************!*\ + !*** ./node_modules/core-js/internals/copy-constructor-properties.js ***! + \***********************************************************************/function(e,t,n){var i=n( +/*! ../internals/has */ +"./node_modules/core-js/internals/has.js"),a=n( +/*! ../internals/own-keys */ +"./node_modules/core-js/internals/own-keys.js"),r=n( +/*! ../internals/object-get-own-property-descriptor */ +"./node_modules/core-js/internals/object-get-own-property-descriptor.js"),s=n( +/*! ../internals/object-define-property */ +"./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t){for(var n=a(t),l=s.f,o=r.f,d=0;d<n.length;d++){var c=n[d];i(e,c)||l(e,c,o(t,c))}}},"./node_modules/core-js/internals/correct-prototype-getter.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/internals/correct-prototype-getter.js ***! + \********************************************************************/function(e,t,n){var i=n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js");e.exports=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},"./node_modules/core-js/internals/create-html.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/create-html.js ***! + \*******************************************************/function(e,t,n){var i=n( +/*! ../internals/require-object-coercible */ +"./node_modules/core-js/internals/require-object-coercible.js"),a=n( +/*! ../internals/to-string */ +"./node_modules/core-js/internals/to-string.js"),r=/"/g;e.exports=function(e,t,n,s){var l=a(i(e)),o="<"+t;return""!==n&&(o+=" "+n+'="'+a(s).replace(r,""")+'"'),o+">"+l+"</"+t+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js": +/*!***********************************************************************!*\ + !*** ./node_modules/core-js/internals/create-iterator-constructor.js ***! + \***********************************************************************/function(e,t,n){var i=n( +/*! ../internals/iterators-core */ +"./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,a=n( +/*! ../internals/object-create */ +"./node_modules/core-js/internals/object-create.js"),r=n( +/*! ../internals/create-property-descriptor */ +"./node_modules/core-js/internals/create-property-descriptor.js"),s=n( +/*! ../internals/set-to-string-tag */ +"./node_modules/core-js/internals/set-to-string-tag.js"),l=n( +/*! ../internals/iterators */ +"./node_modules/core-js/internals/iterators.js"),o=function(){return this};e.exports=function(e,t,n){var d=t+" Iterator";return e.prototype=a(i,{next:r(1,n)}),s(e,d,!1,!0),l[d]=o,e}},"./node_modules/core-js/internals/create-non-enumerable-property.js": +/*!**************************************************************************!*\ + !*** ./node_modules/core-js/internals/create-non-enumerable-property.js ***! + \**************************************************************************/function(e,t,n){var i=n( +/*! ../internals/descriptors */ +"./node_modules/core-js/internals/descriptors.js"),a=n( +/*! ../internals/object-define-property */ +"./node_modules/core-js/internals/object-define-property.js"),r=n( +/*! ../internals/create-property-descriptor */ +"./node_modules/core-js/internals/create-property-descriptor.js");e.exports=i?function(e,t,n){return a.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"./node_modules/core-js/internals/create-property-descriptor.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/internals/create-property-descriptor.js ***! + \**********************************************************************/function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"./node_modules/core-js/internals/create-property.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/internals/create-property.js ***! + \***********************************************************/function(e,t,n){var i=n( +/*! ../internals/to-property-key */ +"./node_modules/core-js/internals/to-property-key.js"),a=n( +/*! ../internals/object-define-property */ +"./node_modules/core-js/internals/object-define-property.js"),r=n( +/*! ../internals/create-property-descriptor */ +"./node_modules/core-js/internals/create-property-descriptor.js");e.exports=function(e,t,n){var s=i(t);s in e?a.f(e,s,r(0,n)):e[s]=n}},"./node_modules/core-js/internals/define-iterator.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/internals/define-iterator.js ***! + \***********************************************************/function(e,t,n){var i=n( +/*! ../internals/export */ +"./node_modules/core-js/internals/export.js"),a=n( +/*! ../internals/create-iterator-constructor */ +"./node_modules/core-js/internals/create-iterator-constructor.js"),r=n( +/*! ../internals/object-get-prototype-of */ +"./node_modules/core-js/internals/object-get-prototype-of.js"),s=n( +/*! ../internals/object-set-prototype-of */ +"./node_modules/core-js/internals/object-set-prototype-of.js"),l=n( +/*! ../internals/set-to-string-tag */ +"./node_modules/core-js/internals/set-to-string-tag.js"),o=n( +/*! ../internals/create-non-enumerable-property */ +"./node_modules/core-js/internals/create-non-enumerable-property.js"),d=n( +/*! ../internals/redefine */ +"./node_modules/core-js/internals/redefine.js"),c=n( +/*! ../internals/well-known-symbol */ +"./node_modules/core-js/internals/well-known-symbol.js"),u=n( +/*! ../internals/is-pure */ +"./node_modules/core-js/internals/is-pure.js"),p=n( +/*! ../internals/iterators */ +"./node_modules/core-js/internals/iterators.js"),A=n( +/*! ../internals/iterators-core */ +"./node_modules/core-js/internals/iterators-core.js"),h=A.IteratorPrototype,f=A.BUGGY_SAFARI_ITERATORS,m=c("iterator"),v="keys",g="values",y="entries",x=function(){return this};e.exports=function(e,t,n,c,A,b,w){a(n,t,c);var j,C,S,N=function(e){if(e===A&&k)return k;if(!f&&e in B)return B[e];switch(e){case v:case g:case y:return function(){return new n(this,e)}}return function(){return new n(this)}},I=t+" Iterator",F=!1,B=e.prototype,P=B[m]||B["@@iterator"]||A&&B[A],k=!f&&P||N(A),T="Array"==t&&B.entries||P;if(T&&(j=r(T.call(new e)),h!==Object.prototype&&j.next&&(u||r(j)===h||(s?s(j,h):"function"!=typeof j[m]&&o(j,m,x)),l(j,I,!0,!0),u&&(p[I]=x))),A==g&&P&&P.name!==g&&(F=!0,k=function(){return P.call(this)}),u&&!w||B[m]===k||o(B,m,k),p[t]=k,A)if(C={values:N(g),keys:b?k:N(v),entries:N(y)},w)for(S in C)(f||F||!(S in B))&&d(B,S,C[S]);else i({target:t,proto:!0,forced:f||F},C);return C}},"./node_modules/core-js/internals/define-well-known-symbol.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/internals/define-well-known-symbol.js ***! + \********************************************************************/function(e,t,n){var i=n( +/*! ../internals/path */ +"./node_modules/core-js/internals/path.js"),a=n( +/*! ../internals/has */ +"./node_modules/core-js/internals/has.js"),r=n( +/*! ../internals/well-known-symbol-wrapped */ +"./node_modules/core-js/internals/well-known-symbol-wrapped.js"),s=n( +/*! ../internals/object-define-property */ +"./node_modules/core-js/internals/object-define-property.js").f;e.exports=function(e){var t=i.Symbol||(i.Symbol={});a(t,e)||s(t,e,{value:r.f(e)})}},"./node_modules/core-js/internals/descriptors.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/descriptors.js ***! + \*******************************************************/function(e,t,n){var i=n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js");e.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"./node_modules/core-js/internals/document-create-element.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/internals/document-create-element.js ***! + \*******************************************************************/function(e,t,n){var i=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js"),a=n( +/*! ../internals/is-object */ +"./node_modules/core-js/internals/is-object.js"),r=i.document,s=a(r)&&a(r.createElement);e.exports=function(e){return s?r.createElement(e):{}}},"./node_modules/core-js/internals/dom-iterables.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/dom-iterables.js ***! + \*********************************************************/function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/engine-user-agent.js ***! + \*************************************************************/function(e,t,n){var i=n( +/*! ../internals/get-built-in */ +"./node_modules/core-js/internals/get-built-in.js");e.exports=i("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/engine-v8-version.js ***! + \*************************************************************/function(e,t,n){var i,a,r=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js"),s=n( +/*! ../internals/engine-user-agent */ +"./node_modules/core-js/internals/engine-user-agent.js"),l=r.process,o=r.Deno,d=l&&l.versions||o&&o.version,c=d&&d.v8;c?a=(i=c.split("."))[0]<4?1:i[0]+i[1]:s&&(!(i=s.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/))&&(a=i[1]),e.exports=a&&+a},"./node_modules/core-js/internals/enum-bug-keys.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/enum-bug-keys.js ***! + \*********************************************************/function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/internals/export.js ***! + \**************************************************/function(e,t,n){var i=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js"),a=n( +/*! ../internals/object-get-own-property-descriptor */ +"./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,r=n( +/*! ../internals/create-non-enumerable-property */ +"./node_modules/core-js/internals/create-non-enumerable-property.js"),s=n( +/*! ../internals/redefine */ +"./node_modules/core-js/internals/redefine.js"),l=n( +/*! ../internals/set-global */ +"./node_modules/core-js/internals/set-global.js"),o=n( +/*! ../internals/copy-constructor-properties */ +"./node_modules/core-js/internals/copy-constructor-properties.js"),d=n( +/*! ../internals/is-forced */ +"./node_modules/core-js/internals/is-forced.js");e.exports=function(e,t){var n,c,u,p,A,h=e.target,f=e.global,m=e.stat;if(n=f?i:m?i[h]||l(h,{}):(i[h]||{}).prototype)for(c in t){if(p=t[c],u=e.noTargetGet?(A=a(n,c))&&A.value:n[c],!d(f?c:h+(m?".":"#")+c,e.forced)&&void 0!==u){if(typeof p==typeof u)continue;o(p,u)}(e.sham||u&&u.sham)&&r(p,"sham",!0),s(n,c,p,e)}}},"./node_modules/core-js/internals/fails.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/internals/fails.js ***! + \*************************************************/function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"./node_modules/core-js/internals/function-bind-context.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/internals/function-bind-context.js ***! + \*****************************************************************/function(e,t,n){var i=n( +/*! ../internals/a-function */ +"./node_modules/core-js/internals/a-function.js");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,a){return e.call(t,n,i,a)}}return function(){return e.apply(t,arguments)}}},"./node_modules/core-js/internals/get-built-in.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/internals/get-built-in.js ***! + \********************************************************/function(e,t,n){var i=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js");e.exports=function(e,t){return arguments.length<2?"function"==typeof(n=i[e])?n:void 0:i[e]&&i[e][t];var n}},"./node_modules/core-js/internals/global.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/internals/global.js ***! + \**************************************************/function(e){var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof d&&d)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/internals/has.js ***! + \***********************************************/function(e,t,n){var i=n( +/*! ../internals/to-object */ +"./node_modules/core-js/internals/to-object.js"),a={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return a.call(i(e),t)}},"./node_modules/core-js/internals/hidden-keys.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/hidden-keys.js ***! + \*******************************************************/function(e){e.exports={}},"./node_modules/core-js/internals/html.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/internals/html.js ***! + \************************************************/function(e,t,n){var i=n( +/*! ../internals/get-built-in */ +"./node_modules/core-js/internals/get-built-in.js");e.exports=i("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/ie8-dom-define.js ***! + \**********************************************************/function(e,t,n){var i=n( +/*! ../internals/descriptors */ +"./node_modules/core-js/internals/descriptors.js"),a=n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js"),r=n( +/*! ../internals/document-create-element */ +"./node_modules/core-js/internals/document-create-element.js");e.exports=!i&&!a((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},"./node_modules/core-js/internals/indexed-object.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/indexed-object.js ***! + \**********************************************************/function(e,t,n){var i=n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js"),a=n( +/*! ../internals/classof-raw */ +"./node_modules/core-js/internals/classof-raw.js"),r="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?r.call(e,""):Object(e)}:Object},"./node_modules/core-js/internals/inherit-if-required.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/internals/inherit-if-required.js ***! + \***************************************************************/function(e,t,n){var i=n( +/*! ../internals/is-object */ +"./node_modules/core-js/internals/is-object.js"),a=n( +/*! ../internals/object-set-prototype-of */ +"./node_modules/core-js/internals/object-set-prototype-of.js");e.exports=function(e,t,n){var r,s;return a&&"function"==typeof(r=t.constructor)&&r!==n&&i(s=r.prototype)&&s!==n.prototype&&a(e,s),e}},"./node_modules/core-js/internals/inspect-source.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/inspect-source.js ***! + \**********************************************************/function(e,t,n){var i=n( +/*! ../internals/shared-store */ +"./node_modules/core-js/internals/shared-store.js"),a=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(e){return a.call(e)}),e.exports=i.inspectSource},"./node_modules/core-js/internals/internal-state.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/internal-state.js ***! + \**********************************************************/function(e,t,n){var i,a,r,s=n( +/*! ../internals/native-weak-map */ +"./node_modules/core-js/internals/native-weak-map.js"),l=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js"),o=n( +/*! ../internals/is-object */ +"./node_modules/core-js/internals/is-object.js"),d=n( +/*! ../internals/create-non-enumerable-property */ +"./node_modules/core-js/internals/create-non-enumerable-property.js"),c=n( +/*! ../internals/has */ +"./node_modules/core-js/internals/has.js"),u=n( +/*! ../internals/shared-store */ +"./node_modules/core-js/internals/shared-store.js"),p=n( +/*! ../internals/shared-key */ +"./node_modules/core-js/internals/shared-key.js"),A=n( +/*! ../internals/hidden-keys */ +"./node_modules/core-js/internals/hidden-keys.js"),h="Object already initialized",f=l.WeakMap;if(s||u.state){var m=u.state||(u.state=new f),v=m.get,g=m.has,y=m.set;i=function(e,t){if(g.call(m,e))throw new TypeError(h);return t.facade=e,y.call(m,e,t),t},a=function(e){return v.call(m,e)||{}},r=function(e){return g.call(m,e)}}else{var x=p("state");A[x]=!0,i=function(e,t){if(c(e,x))throw new TypeError(h);return t.facade=e,d(e,x,t),t},a=function(e){return c(e,x)?e[x]:{}},r=function(e){return c(e,x)}}e.exports={set:i,get:a,has:r,enforce:function(e){return r(e)?a(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!o(t)||(n=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},"./node_modules/core-js/internals/is-array.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/internals/is-array.js ***! + \****************************************************/function(e,t,n){var i=n( +/*! ../internals/classof-raw */ +"./node_modules/core-js/internals/classof-raw.js");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"./node_modules/core-js/internals/is-forced.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/is-forced.js ***! + \*****************************************************/function(e,t,n){var i=n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js"),a=/#|\.prototype\./,r=function(e,t){var n=l[s(e)];return n==d||n!=o&&("function"==typeof t?i(t):!!t)},s=r.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=r.data={},o=r.NATIVE="N",d=r.POLYFILL="P";e.exports=r},"./node_modules/core-js/internals/is-object.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/is-object.js ***! + \*****************************************************/function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"./node_modules/core-js/internals/is-pure.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/internals/is-pure.js ***! + \***************************************************/function(e){e.exports=!1},"./node_modules/core-js/internals/is-symbol.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/is-symbol.js ***! + \*****************************************************/function(e,t,n){var i=n( +/*! ../internals/get-built-in */ +"./node_modules/core-js/internals/get-built-in.js"),a=n( +/*! ../internals/use-symbol-as-uid */ +"./node_modules/core-js/internals/use-symbol-as-uid.js");e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return"function"==typeof t&&Object(e)instanceof t}},"./node_modules/core-js/internals/iterators-core.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/internals/iterators-core.js ***! + \**********************************************************/function(e,t,n){var i,a,r,s=n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js"),l=n( +/*! ../internals/object-get-prototype-of */ +"./node_modules/core-js/internals/object-get-prototype-of.js"),o=n( +/*! ../internals/create-non-enumerable-property */ +"./node_modules/core-js/internals/create-non-enumerable-property.js"),d=n( +/*! ../internals/has */ +"./node_modules/core-js/internals/has.js"),c=n( +/*! ../internals/well-known-symbol */ +"./node_modules/core-js/internals/well-known-symbol.js"),u=n( +/*! ../internals/is-pure */ +"./node_modules/core-js/internals/is-pure.js"),p=c("iterator"),A=!1;[].keys&&("next"in(r=[].keys())?(a=l(l(r)))!==Object.prototype&&(i=a):A=!0);var h=null==i||s((function(){var e={};return i[p].call(e)!==e}));h&&(i={}),u&&!h||d(i,p)||o(i,p,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:A}},"./node_modules/core-js/internals/iterators.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/iterators.js ***! + \*****************************************************/function(e){e.exports={}},"./node_modules/core-js/internals/native-symbol.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/native-symbol.js ***! + \*********************************************************/function(e,t,n){var i=n( +/*! ../internals/engine-v8-version */ +"./node_modules/core-js/internals/engine-v8-version.js"),a=n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js");e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},"./node_modules/core-js/internals/native-weak-map.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/internals/native-weak-map.js ***! + \***********************************************************/function(e,t,n){var i=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js"),a=n( +/*! ../internals/inspect-source */ +"./node_modules/core-js/internals/inspect-source.js"),r=i.WeakMap;e.exports="function"==typeof r&&/native code/.test(a(r))},"./node_modules/core-js/internals/object-assign.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/object-assign.js ***! + \*********************************************************/function(e,t,n){var i=n( +/*! ../internals/descriptors */ +"./node_modules/core-js/internals/descriptors.js"),a=n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js"),r=n( +/*! ../internals/object-keys */ +"./node_modules/core-js/internals/object-keys.js"),s=n( +/*! ../internals/object-get-own-property-symbols */ +"./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=n( +/*! ../internals/object-property-is-enumerable */ +"./node_modules/core-js/internals/object-property-is-enumerable.js"),o=n( +/*! ../internals/to-object */ +"./node_modules/core-js/internals/to-object.js"),d=n( +/*! ../internals/indexed-object */ +"./node_modules/core-js/internals/indexed-object.js"),c=Object.assign,u=Object.defineProperty;e.exports=!c||a((function(){if(i&&1!==c({b:1},c(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),a="abcdefghijklmnopqrst";return e[n]=7,a.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||r(c({},t)).join("")!=a}))?function(e,t){for(var n=o(e),a=arguments.length,c=1,u=s.f,p=l.f;a>c;)for(var A,h=d(arguments[c++]),f=u?r(h).concat(u(h)):r(h),m=f.length,v=0;m>v;)A=f[v++],i&&!p.call(h,A)||(n[A]=h[A]);return n}:c},"./node_modules/core-js/internals/object-create.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/internals/object-create.js ***! + \*********************************************************/function(e,t,n){var i,a=n( +/*! ../internals/an-object */ +"./node_modules/core-js/internals/an-object.js"),r=n( +/*! ../internals/object-define-properties */ +"./node_modules/core-js/internals/object-define-properties.js"),s=n( +/*! ../internals/enum-bug-keys */ +"./node_modules/core-js/internals/enum-bug-keys.js"),l=n( +/*! ../internals/hidden-keys */ +"./node_modules/core-js/internals/hidden-keys.js"),o=n( +/*! ../internals/html */ +"./node_modules/core-js/internals/html.js"),d=n( +/*! ../internals/document-create-element */ +"./node_modules/core-js/internals/document-create-element.js"),c=n( +/*! ../internals/shared-key */ +"./node_modules/core-js/internals/shared-key.js"),u="prototype",p="script",A=c("IE_PROTO"),h=function(){},f=function(e){return"<"+p+">"+e+"</"+p+">"},m=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}v=document.domain&&i?m(i):function(){var e,t=d("iframe"),n="java"+p+":";if(t.style)return t.style.display="none",o.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F}()||m(i);for(var e=s.length;e--;)delete v[u][s[e]];return v()};l[A]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h[u]=a(e),n=new h,h[u]=null,n[A]=e):n=v(),void 0===t?n:r(n,t)}},"./node_modules/core-js/internals/object-define-properties.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/internals/object-define-properties.js ***! + \********************************************************************/function(e,t,n){var i=n( +/*! ../internals/descriptors */ +"./node_modules/core-js/internals/descriptors.js"),a=n( +/*! ../internals/object-define-property */ +"./node_modules/core-js/internals/object-define-property.js"),r=n( +/*! ../internals/an-object */ +"./node_modules/core-js/internals/an-object.js"),s=n( +/*! ../internals/object-keys */ +"./node_modules/core-js/internals/object-keys.js");e.exports=i?Object.defineProperties:function(e,t){r(e);for(var n,i=s(t),l=i.length,o=0;l>o;)a.f(e,n=i[o++],t[n]);return e}},"./node_modules/core-js/internals/object-define-property.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/internals/object-define-property.js ***! + \******************************************************************/function(e,t,n){var i=n( +/*! ../internals/descriptors */ +"./node_modules/core-js/internals/descriptors.js"),a=n( +/*! ../internals/ie8-dom-define */ +"./node_modules/core-js/internals/ie8-dom-define.js"),r=n( +/*! ../internals/an-object */ +"./node_modules/core-js/internals/an-object.js"),s=n( +/*! ../internals/to-property-key */ +"./node_modules/core-js/internals/to-property-key.js"),l=Object.defineProperty;t.f=i?l:function(e,t,n){if(r(e),t=s(t),r(n),a)try{return l(e,t,n)}catch(i){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js": +/*!******************************************************************************!*\ + !*** ./node_modules/core-js/internals/object-get-own-property-descriptor.js ***! + \******************************************************************************/function(e,t,n){var i=n( +/*! ../internals/descriptors */ +"./node_modules/core-js/internals/descriptors.js"),a=n( +/*! ../internals/object-property-is-enumerable */ +"./node_modules/core-js/internals/object-property-is-enumerable.js"),r=n( +/*! ../internals/create-property-descriptor */ +"./node_modules/core-js/internals/create-property-descriptor.js"),s=n( +/*! ../internals/to-indexed-object */ +"./node_modules/core-js/internals/to-indexed-object.js"),l=n( +/*! ../internals/to-property-key */ +"./node_modules/core-js/internals/to-property-key.js"),o=n( +/*! ../internals/has */ +"./node_modules/core-js/internals/has.js"),d=n( +/*! ../internals/ie8-dom-define */ +"./node_modules/core-js/internals/ie8-dom-define.js"),c=Object.getOwnPropertyDescriptor;t.f=i?c:function(e,t){if(e=s(e),t=l(t),d)try{return c(e,t)}catch(n){}if(o(e,t))return r(!a.f.call(e,t),e[t])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/core-js/internals/object-get-own-property-names-external.js ***! + \**********************************************************************************/function(e,t,n){var i=n( +/*! ../internals/to-indexed-object */ +"./node_modules/core-js/internals/to-indexed-object.js"),a=n( +/*! ../internals/object-get-own-property-names */ +"./node_modules/core-js/internals/object-get-own-property-names.js").f,r={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"[object Window]"==r.call(e)?function(e){try{return a(e)}catch(t){return s.slice()}}(e):a(i(e))}},"./node_modules/core-js/internals/object-get-own-property-names.js": +/*!*************************************************************************!*\ + !*** ./node_modules/core-js/internals/object-get-own-property-names.js ***! + \*************************************************************************/function(e,t,n){var i=n( +/*! ../internals/object-keys-internal */ +"./node_modules/core-js/internals/object-keys-internal.js"),a=n( +/*! ../internals/enum-bug-keys */ +"./node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js": +/*!***************************************************************************!*\ + !*** ./node_modules/core-js/internals/object-get-own-property-symbols.js ***! + \***************************************************************************/function(e,t){t.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/internals/object-get-prototype-of.js ***! + \*******************************************************************/function(e,t,n){var i=n( +/*! ../internals/has */ +"./node_modules/core-js/internals/has.js"),a=n( +/*! ../internals/to-object */ +"./node_modules/core-js/internals/to-object.js"),r=n( +/*! ../internals/shared-key */ +"./node_modules/core-js/internals/shared-key.js"),s=n( +/*! ../internals/correct-prototype-getter */ +"./node_modules/core-js/internals/correct-prototype-getter.js"),l=r("IE_PROTO"),o=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){return e=a(e),i(e,l)?e[l]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},"./node_modules/core-js/internals/object-keys-internal.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/internals/object-keys-internal.js ***! + \****************************************************************/function(e,t,n){var i=n( +/*! ../internals/has */ +"./node_modules/core-js/internals/has.js"),a=n( +/*! ../internals/to-indexed-object */ +"./node_modules/core-js/internals/to-indexed-object.js"),r=n( +/*! ../internals/array-includes */ +"./node_modules/core-js/internals/array-includes.js").indexOf,s=n( +/*! ../internals/hidden-keys */ +"./node_modules/core-js/internals/hidden-keys.js");e.exports=function(e,t){var n,l=a(e),o=0,d=[];for(n in l)!i(s,n)&&i(l,n)&&d.push(n);for(;t.length>o;)i(l,n=t[o++])&&(~r(d,n)||d.push(n));return d}},"./node_modules/core-js/internals/object-keys.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/object-keys.js ***! + \*******************************************************/function(e,t,n){var i=n( +/*! ../internals/object-keys-internal */ +"./node_modules/core-js/internals/object-keys-internal.js"),a=n( +/*! ../internals/enum-bug-keys */ +"./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(e){return i(e,a)}},"./node_modules/core-js/internals/object-property-is-enumerable.js": +/*!*************************************************************************!*\ + !*** ./node_modules/core-js/internals/object-property-is-enumerable.js ***! + \*************************************************************************/function(e,t){var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!n.call({1:2},1);t.f=a?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},"./node_modules/core-js/internals/object-set-prototype-of.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/internals/object-set-prototype-of.js ***! + \*******************************************************************/function(e,t,n){var i=n( +/*! ../internals/an-object */ +"./node_modules/core-js/internals/an-object.js"),a=n( +/*! ../internals/a-possible-prototype */ +"./node_modules/core-js/internals/a-possible-prototype.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(r){}return function(n,r){return i(n),a(r),t?e.call(n,r):n.__proto__=r,n}}():void 0)},"./node_modules/core-js/internals/object-to-string.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/internals/object-to-string.js ***! + \************************************************************/function(e,t,n){var i=n( +/*! ../internals/to-string-tag-support */ +"./node_modules/core-js/internals/to-string-tag-support.js"),a=n( +/*! ../internals/classof */ +"./node_modules/core-js/internals/classof.js");e.exports=i?{}.toString:function(){return"[object "+a(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/internals/ordinary-to-primitive.js ***! + \*****************************************************************/function(e,t,n){var i=n( +/*! ../internals/is-object */ +"./node_modules/core-js/internals/is-object.js");e.exports=function(e,t){var n,a;if("string"===t&&"function"==typeof(n=e.toString)&&!i(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!i(a=n.call(e)))return a;if("string"!==t&&"function"==typeof(n=e.toString)&&!i(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/internals/own-keys.js ***! + \****************************************************/function(e,t,n){var i=n( +/*! ../internals/get-built-in */ +"./node_modules/core-js/internals/get-built-in.js"),a=n( +/*! ../internals/object-get-own-property-names */ +"./node_modules/core-js/internals/object-get-own-property-names.js"),r=n( +/*! ../internals/object-get-own-property-symbols */ +"./node_modules/core-js/internals/object-get-own-property-symbols.js"),s=n( +/*! ../internals/an-object */ +"./node_modules/core-js/internals/an-object.js");e.exports=i("Reflect","ownKeys")||function(e){var t=a.f(s(e)),n=r.f;return n?t.concat(n(e)):t}},"./node_modules/core-js/internals/path.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/internals/path.js ***! + \************************************************/function(e,t,n){var i=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js");e.exports=i},"./node_modules/core-js/internals/redefine.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/internals/redefine.js ***! + \****************************************************/function(e,t,n){var i=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js"),a=n( +/*! ../internals/create-non-enumerable-property */ +"./node_modules/core-js/internals/create-non-enumerable-property.js"),r=n( +/*! ../internals/has */ +"./node_modules/core-js/internals/has.js"),s=n( +/*! ../internals/set-global */ +"./node_modules/core-js/internals/set-global.js"),l=n( +/*! ../internals/inspect-source */ +"./node_modules/core-js/internals/inspect-source.js"),o=n( +/*! ../internals/internal-state */ +"./node_modules/core-js/internals/internal-state.js"),d=o.get,c=o.enforce,u=String(String).split("String");(e.exports=function(e,t,n,l){var o,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,A=!!l&&!!l.noTargetGet;"function"==typeof n&&("string"!=typeof t||r(n,"name")||a(n,"name",t),(o=c(n)).source||(o.source=u.join("string"==typeof t?t:""))),e!==i?(d?!A&&e[t]&&(p=!0):delete e[t],p?e[t]=n:a(e,t,n)):p?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&d(this).source||l(this)}))},"./node_modules/core-js/internals/regexp-flags.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/internals/regexp-flags.js ***! + \********************************************************/function(e,t,n){var i=n( +/*! ../internals/an-object */ +"./node_modules/core-js/internals/an-object.js");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"./node_modules/core-js/internals/require-object-coercible.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/internals/require-object-coercible.js ***! + \********************************************************************/function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/internals/set-global.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/set-global.js ***! + \******************************************************/function(e,t,n){var i=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js");e.exports=function(e,t){try{Object.defineProperty(i,e,{value:t,configurable:!0,writable:!0})}catch(n){i[e]=t}return t}},"./node_modules/core-js/internals/set-to-string-tag.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/set-to-string-tag.js ***! + \*************************************************************/function(e,t,n){var i=n( +/*! ../internals/object-define-property */ +"./node_modules/core-js/internals/object-define-property.js").f,a=n( +/*! ../internals/has */ +"./node_modules/core-js/internals/has.js"),r=n( +/*! ../internals/well-known-symbol */ +"./node_modules/core-js/internals/well-known-symbol.js")("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,r)&&i(e,r,{configurable:!0,value:t})}},"./node_modules/core-js/internals/shared-key.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/shared-key.js ***! + \******************************************************/function(e,t,n){var i=n( +/*! ../internals/shared */ +"./node_modules/core-js/internals/shared.js"),a=n( +/*! ../internals/uid */ +"./node_modules/core-js/internals/uid.js"),r=i("keys");e.exports=function(e){return r[e]||(r[e]=a(e))}},"./node_modules/core-js/internals/shared-store.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/internals/shared-store.js ***! + \********************************************************/function(e,t,n){var i=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js"),a=n( +/*! ../internals/set-global */ +"./node_modules/core-js/internals/set-global.js"),r="__core-js_shared__",s=i[r]||a(r,{});e.exports=s},"./node_modules/core-js/internals/shared.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/internals/shared.js ***! + \**************************************************/function(e,t,n){var i=n( +/*! ../internals/is-pure */ +"./node_modules/core-js/internals/is-pure.js"),a=n( +/*! ../internals/shared-store */ +"./node_modules/core-js/internals/shared-store.js");(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.16.0",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/internals/string-html-forced.js ***! + \**************************************************************/function(e,t,n){var i=n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js");e.exports=function(e){return i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},"./node_modules/core-js/internals/string-multibyte.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/internals/string-multibyte.js ***! + \************************************************************/function(e,t,n){var i=n( +/*! ../internals/to-integer */ +"./node_modules/core-js/internals/to-integer.js"),a=n( +/*! ../internals/to-string */ +"./node_modules/core-js/internals/to-string.js"),r=n( +/*! ../internals/require-object-coercible */ +"./node_modules/core-js/internals/require-object-coercible.js"),s=function(e){return function(t,n){var s,l,o=a(r(t)),d=i(n),c=o.length;return d<0||d>=c?e?"":void 0:(s=o.charCodeAt(d))<55296||s>56319||d+1===c||(l=o.charCodeAt(d+1))<56320||l>57343?e?o.charAt(d):s:e?o.slice(d,d+2):l-56320+(s-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},"./node_modules/core-js/internals/string-trim.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/string-trim.js ***! + \*******************************************************/function(e,t,n){var i=n( +/*! ../internals/require-object-coercible */ +"./node_modules/core-js/internals/require-object-coercible.js"),a=n( +/*! ../internals/to-string */ +"./node_modules/core-js/internals/to-string.js"),r="["+n( +/*! ../internals/whitespaces */ +"./node_modules/core-js/internals/whitespaces.js")+"]",s=RegExp("^"+r+r+"*"),l=RegExp(r+r+"*$"),o=function(e){return function(t){var n=a(i(t));return 1&e&&(n=n.replace(s,"")),2&e&&(n=n.replace(l,"")),n}};e.exports={start:o(1),end:o(2),trim:o(3)}},"./node_modules/core-js/internals/to-absolute-index.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/to-absolute-index.js ***! + \*************************************************************/function(e,t,n){var i=n( +/*! ../internals/to-integer */ +"./node_modules/core-js/internals/to-integer.js"),a=Math.max,r=Math.min;e.exports=function(e,t){var n=i(e);return n<0?a(n+t,0):r(n,t)}},"./node_modules/core-js/internals/to-indexed-object.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/to-indexed-object.js ***! + \*************************************************************/function(e,t,n){var i=n( +/*! ../internals/indexed-object */ +"./node_modules/core-js/internals/indexed-object.js"),a=n( +/*! ../internals/require-object-coercible */ +"./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return i(a(e))}},"./node_modules/core-js/internals/to-integer.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/internals/to-integer.js ***! + \******************************************************/function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},"./node_modules/core-js/internals/to-length.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/to-length.js ***! + \*****************************************************/function(e,t,n){var i=n( +/*! ../internals/to-integer */ +"./node_modules/core-js/internals/to-integer.js"),a=Math.min;e.exports=function(e){return e>0?a(i(e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/to-object.js ***! + \*****************************************************/function(e,t,n){var i=n( +/*! ../internals/require-object-coercible */ +"./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return Object(i(e))}},"./node_modules/core-js/internals/to-primitive.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/internals/to-primitive.js ***! + \********************************************************/function(e,t,n){var i=n( +/*! ../internals/is-object */ +"./node_modules/core-js/internals/is-object.js"),a=n( +/*! ../internals/is-symbol */ +"./node_modules/core-js/internals/is-symbol.js"),r=n( +/*! ../internals/ordinary-to-primitive */ +"./node_modules/core-js/internals/ordinary-to-primitive.js"),s=n( +/*! ../internals/well-known-symbol */ +"./node_modules/core-js/internals/well-known-symbol.js")("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var n,l=e[s];if(void 0!==l){if(void 0===t&&(t="default"),n=l.call(e,t),!i(n)||a(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),r(e,t)}},"./node_modules/core-js/internals/to-property-key.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/internals/to-property-key.js ***! + \***********************************************************/function(e,t,n){var i=n( +/*! ../internals/to-primitive */ +"./node_modules/core-js/internals/to-primitive.js"),a=n( +/*! ../internals/is-symbol */ +"./node_modules/core-js/internals/is-symbol.js");e.exports=function(e){var t=i(e,"string");return a(t)?t:String(t)}},"./node_modules/core-js/internals/to-string-tag-support.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/internals/to-string-tag-support.js ***! + \*****************************************************************/function(e,t,n){var i={};i[n( +/*! ../internals/well-known-symbol */ +"./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",e.exports="[object z]"===String(i)},"./node_modules/core-js/internals/to-string.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/internals/to-string.js ***! + \*****************************************************/function(e,t,n){var i=n( +/*! ../internals/is-symbol */ +"./node_modules/core-js/internals/is-symbol.js");e.exports=function(e){if(i(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},"./node_modules/core-js/internals/uid.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/internals/uid.js ***! + \***********************************************/function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/use-symbol-as-uid.js ***! + \*************************************************************/function(e,t,n){var i=n( +/*! ../internals/native-symbol */ +"./node_modules/core-js/internals/native-symbol.js");e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"./node_modules/core-js/internals/well-known-symbol-wrapped.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/internals/well-known-symbol-wrapped.js ***! + \*********************************************************************/function(e,t,n){var i=n( +/*! ../internals/well-known-symbol */ +"./node_modules/core-js/internals/well-known-symbol.js");t.f=i},"./node_modules/core-js/internals/well-known-symbol.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/internals/well-known-symbol.js ***! + \*************************************************************/function(e,t,n){var i=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js"),a=n( +/*! ../internals/shared */ +"./node_modules/core-js/internals/shared.js"),r=n( +/*! ../internals/has */ +"./node_modules/core-js/internals/has.js"),s=n( +/*! ../internals/uid */ +"./node_modules/core-js/internals/uid.js"),l=n( +/*! ../internals/native-symbol */ +"./node_modules/core-js/internals/native-symbol.js"),o=n( +/*! ../internals/use-symbol-as-uid */ +"./node_modules/core-js/internals/use-symbol-as-uid.js"),d=a("wks"),c=i.Symbol,u=o?c:c&&c.withoutSetter||s;e.exports=function(e){return r(d,e)&&(l||"string"==typeof d[e])||(l&&r(c,e)?d[e]=c[e]:d[e]=u("Symbol."+e)),d[e]}},"./node_modules/core-js/internals/whitespaces.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/internals/whitespaces.js ***! + \*******************************************************/function(e){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"./node_modules/core-js/modules/es.array.concat.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.concat.js ***! + \*********************************************************/function(e,t,n){var i=n( +/*! ../internals/export */ +"./node_modules/core-js/internals/export.js"),a=n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js"),r=n( +/*! ../internals/is-array */ +"./node_modules/core-js/internals/is-array.js"),s=n( +/*! ../internals/is-object */ +"./node_modules/core-js/internals/is-object.js"),l=n( +/*! ../internals/to-object */ +"./node_modules/core-js/internals/to-object.js"),o=n( +/*! ../internals/to-length */ +"./node_modules/core-js/internals/to-length.js"),d=n( +/*! ../internals/create-property */ +"./node_modules/core-js/internals/create-property.js"),c=n( +/*! ../internals/array-species-create */ +"./node_modules/core-js/internals/array-species-create.js"),u=n( +/*! ../internals/array-method-has-species-support */ +"./node_modules/core-js/internals/array-method-has-species-support.js"),p=n( +/*! ../internals/well-known-symbol */ +"./node_modules/core-js/internals/well-known-symbol.js"),A=n( +/*! ../internals/engine-v8-version */ +"./node_modules/core-js/internals/engine-v8-version.js"),h=p("isConcatSpreadable"),f=9007199254740991,m="Maximum allowed index exceeded",v=A>=51||!a((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),g=u("concat"),y=function(e){if(!s(e))return!1;var t=e[h];return void 0!==t?!!t:r(e)};i({target:"Array",proto:!0,forced:!v||!g},{concat:function(e){var t,n,i,a,r,s=l(this),u=c(s,0),p=0;for(t=-1,i=arguments.length;t<i;t++)if(y(r=-1===t?s:arguments[t])){if(p+(a=o(r.length))>f)throw TypeError(m);for(n=0;n<a;n++,p++)n in r&&d(u,p,r[n])}else{if(p>=f)throw TypeError(m);d(u,p++,r)}return u.length=p,u}})},"./node_modules/core-js/modules/es.array.iterator.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.iterator.js ***! + \***********************************************************/function(e,t,n){var i=n( +/*! ../internals/to-indexed-object */ +"./node_modules/core-js/internals/to-indexed-object.js"),a=n( +/*! ../internals/add-to-unscopables */ +"./node_modules/core-js/internals/add-to-unscopables.js"),r=n( +/*! ../internals/iterators */ +"./node_modules/core-js/internals/iterators.js"),s=n( +/*! ../internals/internal-state */ +"./node_modules/core-js/internals/internal-state.js"),l=n( +/*! ../internals/define-iterator */ +"./node_modules/core-js/internals/define-iterator.js"),o="Array Iterator",d=s.set,c=s.getterFor(o);e.exports=l(Array,"Array",(function(e,t){d(this,{type:o,target:i(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values"),r.Arguments=r.Array,a("keys"),a("values"),a("entries")},"./node_modules/core-js/modules/es.array.join.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.join.js ***! + \*******************************************************/function(e,t,n){var i=n( +/*! ../internals/export */ +"./node_modules/core-js/internals/export.js"),a=n( +/*! ../internals/indexed-object */ +"./node_modules/core-js/internals/indexed-object.js"),r=n( +/*! ../internals/to-indexed-object */ +"./node_modules/core-js/internals/to-indexed-object.js"),s=n( +/*! ../internals/array-method-is-strict */ +"./node_modules/core-js/internals/array-method-is-strict.js"),l=[].join,o=a!=Object,d=s("join",",");i({target:"Array",proto:!0,forced:o||!d},{join:function(e){return l.call(r(this),void 0===e?",":e)}})},"./node_modules/core-js/modules/es.array.map.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.map.js ***! + \******************************************************/function(e,t,n){var i=n( +/*! ../internals/export */ +"./node_modules/core-js/internals/export.js"),a=n( +/*! ../internals/array-iteration */ +"./node_modules/core-js/internals/array-iteration.js").map;i({target:"Array",proto:!0,forced:!n( +/*! ../internals/array-method-has-species-support */ +"./node_modules/core-js/internals/array-method-has-species-support.js")("map")},{map:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.array.slice.js ***! + \********************************************************/function(e,t,n){var i=n( +/*! ../internals/export */ +"./node_modules/core-js/internals/export.js"),a=n( +/*! ../internals/is-object */ +"./node_modules/core-js/internals/is-object.js"),r=n( +/*! ../internals/is-array */ +"./node_modules/core-js/internals/is-array.js"),s=n( +/*! ../internals/to-absolute-index */ +"./node_modules/core-js/internals/to-absolute-index.js"),l=n( +/*! ../internals/to-length */ +"./node_modules/core-js/internals/to-length.js"),o=n( +/*! ../internals/to-indexed-object */ +"./node_modules/core-js/internals/to-indexed-object.js"),d=n( +/*! ../internals/create-property */ +"./node_modules/core-js/internals/create-property.js"),c=n( +/*! ../internals/well-known-symbol */ +"./node_modules/core-js/internals/well-known-symbol.js"),u=n( +/*! ../internals/array-method-has-species-support */ +"./node_modules/core-js/internals/array-method-has-species-support.js")("slice"),p=c("species"),A=[].slice,h=Math.max;i({target:"Array",proto:!0,forced:!u},{slice:function(e,t){var n,i,c,u=o(this),f=l(u.length),m=s(e,f),v=s(void 0===t?f:t,f);if(r(u)&&("function"!=typeof(n=u.constructor)||n!==Array&&!r(n.prototype)?a(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return A.call(u,m,v);for(i=new(void 0===n?Array:n)(h(v-m,0)),c=0;m<v;m++,c++)m in u&&d(i,c,u[m]);return i.length=c,i}})},"./node_modules/core-js/modules/es.function.name.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.function.name.js ***! + \**********************************************************/function(e,t,n){var i=n( +/*! ../internals/descriptors */ +"./node_modules/core-js/internals/descriptors.js"),a=n( +/*! ../internals/object-define-property */ +"./node_modules/core-js/internals/object-define-property.js").f,r=Function.prototype,s=r.toString,l=/^\s*function ([^ (]*)/,o="name";i&&!(o in r)&&a(r,o,{configurable:!0,get:function(){try{return s.call(this).match(l)[1]}catch(e){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.number.constructor.js ***! + \***************************************************************/function(e,t,n){var i=n( +/*! ../internals/descriptors */ +"./node_modules/core-js/internals/descriptors.js"),a=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js"),r=n( +/*! ../internals/is-forced */ +"./node_modules/core-js/internals/is-forced.js"),s=n( +/*! ../internals/redefine */ +"./node_modules/core-js/internals/redefine.js"),l=n( +/*! ../internals/has */ +"./node_modules/core-js/internals/has.js"),o=n( +/*! ../internals/classof-raw */ +"./node_modules/core-js/internals/classof-raw.js"),d=n( +/*! ../internals/inherit-if-required */ +"./node_modules/core-js/internals/inherit-if-required.js"),c=n( +/*! ../internals/is-symbol */ +"./node_modules/core-js/internals/is-symbol.js"),u=n( +/*! ../internals/to-primitive */ +"./node_modules/core-js/internals/to-primitive.js"),p=n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js"),A=n( +/*! ../internals/object-create */ +"./node_modules/core-js/internals/object-create.js"),h=n( +/*! ../internals/object-get-own-property-names */ +"./node_modules/core-js/internals/object-get-own-property-names.js").f,f=n( +/*! ../internals/object-get-own-property-descriptor */ +"./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,m=n( +/*! ../internals/object-define-property */ +"./node_modules/core-js/internals/object-define-property.js").f,v=n( +/*! ../internals/string-trim */ +"./node_modules/core-js/internals/string-trim.js").trim,g="Number",y=a[g],x=y.prototype,b=o(A(x))==g,w=function(e){if(c(e))throw TypeError("Cannot convert a Symbol value to a number");var t,n,i,a,r,s,l,o,d=u(e,"number");if("string"==typeof d&&d.length>2)if(43===(t=(d=v(d)).charCodeAt(0))||45===t){if(88===(n=d.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(d.charCodeAt(1)){case 66:case 98:i=2,a=49;break;case 79:case 111:i=8,a=55;break;default:return+d}for(s=(r=d.slice(2)).length,l=0;l<s;l++)if((o=r.charCodeAt(l))<48||o>a)return NaN;return parseInt(r,i)}return+d};if(r(g,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var j,C=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof C&&(b?p((function(){x.valueOf.call(n)})):o(n)!=g)?d(new y(w(t)),n,C):w(t)},S=i?h(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),N=0;S.length>N;N++)l(y,j=S[N])&&!l(C,j)&&m(C,j,f(y,j));C.prototype=x,x.constructor=C,s(a,g,C)}},"./node_modules/core-js/modules/es.object.assign.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.assign.js ***! + \**********************************************************/function(e,t,n){var i=n( +/*! ../internals/export */ +"./node_modules/core-js/internals/export.js"),a=n( +/*! ../internals/object-assign */ +"./node_modules/core-js/internals/object-assign.js");i({target:"Object",stat:!0,forced:Object.assign!==a},{assign:a})},"./node_modules/core-js/modules/es.object.keys.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.keys.js ***! + \********************************************************/function(e,t,n){var i=n( +/*! ../internals/export */ +"./node_modules/core-js/internals/export.js"),a=n( +/*! ../internals/to-object */ +"./node_modules/core-js/internals/to-object.js"),r=n( +/*! ../internals/object-keys */ +"./node_modules/core-js/internals/object-keys.js");i({target:"Object",stat:!0,forced:n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js")((function(){r(1)}))},{keys:function(e){return r(a(e))}})},"./node_modules/core-js/modules/es.object.to-string.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.object.to-string.js ***! + \*************************************************************/function(e,t,n){var i=n( +/*! ../internals/to-string-tag-support */ +"./node_modules/core-js/internals/to-string-tag-support.js"),a=n( +/*! ../internals/redefine */ +"./node_modules/core-js/internals/redefine.js"),r=n( +/*! ../internals/object-to-string */ +"./node_modules/core-js/internals/object-to-string.js");i||a(Object.prototype,"toString",r,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es.regexp.to-string.js ***! + \*************************************************************/function(e,t,n){var i=n( +/*! ../internals/redefine */ +"./node_modules/core-js/internals/redefine.js"),a=n( +/*! ../internals/an-object */ +"./node_modules/core-js/internals/an-object.js"),r=n( +/*! ../internals/to-string */ +"./node_modules/core-js/internals/to-string.js"),s=n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js"),l=n( +/*! ../internals/regexp-flags */ +"./node_modules/core-js/internals/regexp-flags.js"),o="toString",d=RegExp.prototype,c=d[o],u=s((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),p=c.name!=o;(u||p)&&i(RegExp.prototype,o,(function(){var e=a(this),t=r(e.source),n=e.flags;return"/"+t+"/"+r(void 0===n&&e instanceof RegExp&&!("flags"in d)?l.call(e):n)}),{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.iterator.js ***! + \************************************************************/function(e,t,n){var i=n( +/*! ../internals/string-multibyte */ +"./node_modules/core-js/internals/string-multibyte.js").charAt,a=n( +/*! ../internals/to-string */ +"./node_modules/core-js/internals/to-string.js"),r=n( +/*! ../internals/internal-state */ +"./node_modules/core-js/internals/internal-state.js"),s=n( +/*! ../internals/define-iterator */ +"./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",o=r.set,d=r.getterFor(l);s(String,"String",(function(e){o(this,{type:l,string:a(e),index:0})}),(function(){var e,t=d(this),n=t.string,a=t.index;return a>=n.length?{value:void 0,done:!0}:(e=i(n,a),t.index+=e.length,{value:e,done:!1})}))},"./node_modules/core-js/modules/es.string.link.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es.string.link.js ***! + \********************************************************/function(e,t,n){var i=n( +/*! ../internals/export */ +"./node_modules/core-js/internals/export.js"),a=n( +/*! ../internals/create-html */ +"./node_modules/core-js/internals/create-html.js");i({target:"String",proto:!0,forced:n( +/*! ../internals/string-html-forced */ +"./node_modules/core-js/internals/string-html-forced.js")("link")},{link:function(e){return a(this,"a","href",e)}})},"./node_modules/core-js/modules/es.symbol.description.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.description.js ***! + \***************************************************************/function(e,t,n){var i=n( +/*! ../internals/export */ +"./node_modules/core-js/internals/export.js"),a=n( +/*! ../internals/descriptors */ +"./node_modules/core-js/internals/descriptors.js"),r=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js"),s=n( +/*! ../internals/has */ +"./node_modules/core-js/internals/has.js"),l=n( +/*! ../internals/is-object */ +"./node_modules/core-js/internals/is-object.js"),o=n( +/*! ../internals/object-define-property */ +"./node_modules/core-js/internals/object-define-property.js").f,d=n( +/*! ../internals/copy-constructor-properties */ +"./node_modules/core-js/internals/copy-constructor-properties.js"),c=r.Symbol;if(a&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var u={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new c(e):void 0===e?c():c(e);return""===e&&(u[t]=!0),t};d(p,c);var A=p.prototype=c.prototype;A.constructor=p;var h=A.toString,f="Symbol(test)"==String(c("test")),m=/^Symbol\((.*)\)[^)]+$/;o(A,"description",{configurable:!0,get:function(){var e=l(this)?this.valueOf():this,t=h.call(e);if(s(u,e))return"";var n=f?t.slice(7,-1):t.replace(m,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:p})}},"./node_modules/core-js/modules/es.symbol.iterator.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.iterator.js ***! + \************************************************************/function(e,t,n){n( +/*! ../internals/define-well-known-symbol */ +"./node_modules/core-js/internals/define-well-known-symbol.js")("iterator")},"./node_modules/core-js/modules/es.symbol.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/modules/es.symbol.js ***! + \***************************************************/function(e,t,n){var i=n( +/*! ../internals/export */ +"./node_modules/core-js/internals/export.js"),a=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js"),r=n( +/*! ../internals/get-built-in */ +"./node_modules/core-js/internals/get-built-in.js"),s=n( +/*! ../internals/is-pure */ +"./node_modules/core-js/internals/is-pure.js"),l=n( +/*! ../internals/descriptors */ +"./node_modules/core-js/internals/descriptors.js"),o=n( +/*! ../internals/native-symbol */ +"./node_modules/core-js/internals/native-symbol.js"),d=n( +/*! ../internals/fails */ +"./node_modules/core-js/internals/fails.js"),c=n( +/*! ../internals/has */ +"./node_modules/core-js/internals/has.js"),u=n( +/*! ../internals/is-array */ +"./node_modules/core-js/internals/is-array.js"),p=n( +/*! ../internals/is-object */ +"./node_modules/core-js/internals/is-object.js"),A=n( +/*! ../internals/is-symbol */ +"./node_modules/core-js/internals/is-symbol.js"),h=n( +/*! ../internals/an-object */ +"./node_modules/core-js/internals/an-object.js"),f=n( +/*! ../internals/to-object */ +"./node_modules/core-js/internals/to-object.js"),m=n( +/*! ../internals/to-indexed-object */ +"./node_modules/core-js/internals/to-indexed-object.js"),v=n( +/*! ../internals/to-property-key */ +"./node_modules/core-js/internals/to-property-key.js"),g=n( +/*! ../internals/to-string */ +"./node_modules/core-js/internals/to-string.js"),y=n( +/*! ../internals/create-property-descriptor */ +"./node_modules/core-js/internals/create-property-descriptor.js"),x=n( +/*! ../internals/object-create */ +"./node_modules/core-js/internals/object-create.js"),b=n( +/*! ../internals/object-keys */ +"./node_modules/core-js/internals/object-keys.js"),w=n( +/*! ../internals/object-get-own-property-names */ +"./node_modules/core-js/internals/object-get-own-property-names.js"),j=n( +/*! ../internals/object-get-own-property-names-external */ +"./node_modules/core-js/internals/object-get-own-property-names-external.js"),C=n( +/*! ../internals/object-get-own-property-symbols */ +"./node_modules/core-js/internals/object-get-own-property-symbols.js"),S=n( +/*! ../internals/object-get-own-property-descriptor */ +"./node_modules/core-js/internals/object-get-own-property-descriptor.js"),N=n( +/*! ../internals/object-define-property */ +"./node_modules/core-js/internals/object-define-property.js"),I=n( +/*! ../internals/object-property-is-enumerable */ +"./node_modules/core-js/internals/object-property-is-enumerable.js"),F=n( +/*! ../internals/create-non-enumerable-property */ +"./node_modules/core-js/internals/create-non-enumerable-property.js"),B=n( +/*! ../internals/redefine */ +"./node_modules/core-js/internals/redefine.js"),P=n( +/*! ../internals/shared */ +"./node_modules/core-js/internals/shared.js"),k=n( +/*! ../internals/shared-key */ +"./node_modules/core-js/internals/shared-key.js"),T=n( +/*! ../internals/hidden-keys */ +"./node_modules/core-js/internals/hidden-keys.js"),E=n( +/*! ../internals/uid */ +"./node_modules/core-js/internals/uid.js"),D=n( +/*! ../internals/well-known-symbol */ +"./node_modules/core-js/internals/well-known-symbol.js"),L=n( +/*! ../internals/well-known-symbol-wrapped */ +"./node_modules/core-js/internals/well-known-symbol-wrapped.js"),U=n( +/*! ../internals/define-well-known-symbol */ +"./node_modules/core-js/internals/define-well-known-symbol.js"),_=n( +/*! ../internals/set-to-string-tag */ +"./node_modules/core-js/internals/set-to-string-tag.js"),O=n( +/*! ../internals/internal-state */ +"./node_modules/core-js/internals/internal-state.js"),M=n( +/*! ../internals/array-iteration */ +"./node_modules/core-js/internals/array-iteration.js").forEach,R=k("hidden"),Q="Symbol",H="prototype",V=D("toPrimitive"),z=O.set,q=O.getterFor(Q),W=Object[H],Y=a.Symbol,K=r("JSON","stringify"),G=S.f,$=N.f,X=j.f,J=I.f,Z=P("symbols"),ee=P("op-symbols"),te=P("string-to-symbol-registry"),ne=P("symbol-to-string-registry"),ie=P("wks"),ae=a.QObject,re=!ae||!ae[H]||!ae[H].findChild,se=l&&d((function(){return 7!=x($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=G(W,t);i&&delete W[t],$(e,t,n),i&&e!==W&&$(W,t,i)}:$,le=function(e,t){var n=Z[e]=x(Y[H]);return z(n,{type:Q,tag:e,description:t}),l||(n.description=t),n},oe=function(e,t,n){e===W&&oe(ee,t,n),h(e);var i=v(t);return h(n),c(Z,i)?(n.enumerable?(c(e,R)&&e[R][i]&&(e[R][i]=!1),n=x(n,{enumerable:y(0,!1)})):(c(e,R)||$(e,R,y(1,{})),e[R][i]=!0),se(e,i,n)):$(e,i,n)},de=function(e,t){h(e);var n=m(t),i=b(n).concat(Ae(n));return M(i,(function(t){l&&!ce.call(n,t)||oe(e,t,n[t])})),e},ce=function(e){var t=v(e),n=J.call(this,t);return!(this===W&&c(Z,t)&&!c(ee,t))&&(!(n||!c(this,t)||!c(Z,t)||c(this,R)&&this[R][t])||n)},ue=function(e,t){var n=m(e),i=v(t);if(n!==W||!c(Z,i)||c(ee,i)){var a=G(n,i);return!a||!c(Z,i)||c(n,R)&&n[R][i]||(a.enumerable=!0),a}},pe=function(e){var t=X(m(e)),n=[];return M(t,(function(e){c(Z,e)||c(T,e)||n.push(e)})),n},Ae=function(e){var t=e===W,n=X(t?ee:m(e)),i=[];return M(n,(function(e){!c(Z,e)||t&&!c(W,e)||i.push(Z[e])})),i};o||(Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=E(e),n=function(e){this===W&&n.call(ee,e),c(this,R)&&c(this[R],t)&&(this[R][t]=!1),se(this,t,y(1,e))};return l&&re&&se(W,t,{configurable:!0,set:n}),le(t,e)},B(Y[H],"toString",(function(){return q(this).tag})),B(Y,"withoutSetter",(function(e){return le(E(e),e)})),I.f=ce,N.f=oe,S.f=ue,w.f=j.f=pe,C.f=Ae,L.f=function(e){return le(D(e),e)},l&&($(Y[H],"description",{configurable:!0,get:function(){return q(this).description}}),s||B(W,"propertyIsEnumerable",ce,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!o,sham:!o},{Symbol:Y}),M(b(ie),(function(e){U(e)})),i({target:Q,stat:!0,forced:!o},{for:function(e){var t=g(e);if(c(te,t))return te[t];var n=Y(t);return te[t]=n,ne[n]=t,n},keyFor:function(e){if(!A(e))throw TypeError(e+" is not a symbol");if(c(ne,e))return ne[e]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),i({target:"Object",stat:!0,forced:!o,sham:!l},{create:function(e,t){return void 0===t?x(e):de(x(e),t)},defineProperty:oe,defineProperties:de,getOwnPropertyDescriptor:ue}),i({target:"Object",stat:!0,forced:!o},{getOwnPropertyNames:pe,getOwnPropertySymbols:Ae}),i({target:"Object",stat:!0,forced:d((function(){C.f(1)}))},{getOwnPropertySymbols:function(e){return C.f(f(e))}}),K&&i({target:"JSON",stat:!0,forced:!o||d((function(){var e=Y();return"[null]"!=K([e])||"{}"!=K({a:e})||"{}"!=K(Object(e))}))},{stringify:function(e,t,n){for(var i,a=[e],r=1;arguments.length>r;)a.push(arguments[r++]);if(i=t,(p(t)||void 0!==e)&&!A(e))return u(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!A(t))return t}),a[1]=t,K.apply(null,a)}}),Y[H][V]||F(Y[H],V,Y[H].valueOf),_(Y,Q),T[R]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/modules/web.dom-collections.for-each.js ***! + \**********************************************************************/function(e,t,n){var i=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js"),a=n( +/*! ../internals/dom-iterables */ +"./node_modules/core-js/internals/dom-iterables.js"),r=n( +/*! ../internals/array-for-each */ +"./node_modules/core-js/internals/array-for-each.js"),s=n( +/*! ../internals/create-non-enumerable-property */ +"./node_modules/core-js/internals/create-non-enumerable-property.js");for(var l in a){var o=i[l],d=o&&o.prototype;if(d&&d.forEach!==r)try{s(d,"forEach",r)}catch(c){d.forEach=r}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/modules/web.dom-collections.iterator.js ***! + \**********************************************************************/function(e,t,n){var i=n( +/*! ../internals/global */ +"./node_modules/core-js/internals/global.js"),a=n( +/*! ../internals/dom-iterables */ +"./node_modules/core-js/internals/dom-iterables.js"),r=n( +/*! ../modules/es.array.iterator */ +"./node_modules/core-js/modules/es.array.iterator.js"),s=n( +/*! ../internals/create-non-enumerable-property */ +"./node_modules/core-js/internals/create-non-enumerable-property.js"),l=n( +/*! ../internals/well-known-symbol */ +"./node_modules/core-js/internals/well-known-symbol.js"),o=l("iterator"),d=l("toStringTag"),c=r.values;for(var u in a){var p=i[u],A=p&&p.prototype;if(A){if(A[o]!==c)try{s(A,o,c)}catch(f){A[o]=c}if(A[d]||s(A,d,u),a[u])for(var h in r)if(A[h]!==r[h])try{s(A,h,r[h])}catch(f){A[h]=r[h]}}}},"./node_modules/es6-promise/dist/es6-promise.js": +/*!******************************************************!*\ + !*** ./node_modules/es6-promise/dist/es6-promise.js ***! + \******************************************************/function(e){ +/*! + * @overview es6-promise - a tiny implementation of Promises/A+. + * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) + * @license Licensed under MIT license + * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE + * @version v4.2.8+1e68dce6 + */ +e.exports=function(){function e(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function t(e){return"function"==typeof e}var n=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},i=0,a=void 0,r=void 0,s=function(e,t){x[i]=e,x[i+1]=t,2===(i+=2)&&(r?r(b):j())};function l(e){r=e}function o(e){s=e}var c="undefined"!=typeof window?window:void 0,u=c||{},p=u.MutationObserver||u.WebKitMutationObserver,A="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),h="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){return function(){return process.nextTick(b)}}function m(){return void 0!==a?function(){a(b)}:y()}function v(){var e=0,t=new p(b),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function g(){var e=new MessageChannel;return e.port1.onmessage=b,function(){return e.port2.postMessage(0)}}function y(){var e=setTimeout;return function(){return e(b,1)}}var x=new Array(1e3);function b(){for(var e=0;e<i;e+=2)(0,x[e])(x[e+1]),x[e]=void 0,x[e+1]=void 0;i=0}function w(){try{var e=Function("return this")().require("vertx");return a=e.runOnLoop||e.runOnContext,m()}catch(Ou){return y()}}var j=void 0;function C(e,t){var n=this,i=new this.constructor(I);void 0===i[N]&&Y(i);var a=n._state;if(a){var r=arguments[a-1];s((function(){return V(a,i,r,n._result)}))}else Q(n,i,e,t);return i}function S(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(I);return _(n,e),n}j=A?f():p?v():h?g():void 0===c?w():y();var N=Math.random().toString(36).substring(2);function I(){}var F=void 0,B=1,P=2;function k(){return new TypeError("You cannot resolve a promise with itself")}function T(){return new TypeError("A promises callback cannot return that same promise.")}function E(e,t,n,i){try{e.call(t,n,i)}catch(Ou){return Ou}}function D(e,t,n){s((function(e){var i=!1,a=E(n,t,(function(n){i||(i=!0,t!==n?_(e,n):M(e,n))}),(function(t){i||(i=!0,R(e,t))}),"Settle: "+(e._label||" unknown promise"));!i&&a&&(i=!0,R(e,a))}),e)}function L(e,t){t._state===B?M(e,t._result):t._state===P?R(e,t._result):Q(t,void 0,(function(t){return _(e,t)}),(function(t){return R(e,t)}))}function U(e,n,i){n.constructor===e.constructor&&i===C&&n.constructor.resolve===S?L(e,n):void 0===i?M(e,n):t(i)?D(e,n,i):M(e,n)}function _(t,n){if(t===n)R(t,k());else if(e(n)){var i=void 0;try{i=n.then}catch(a){return void R(t,a)}U(t,n,i)}else M(t,n)}function O(e){e._onerror&&e._onerror(e._result),H(e)}function M(e,t){e._state===F&&(e._result=t,e._state=B,0!==e._subscribers.length&&s(H,e))}function R(e,t){e._state===F&&(e._state=P,e._result=t,s(O,e))}function Q(e,t,n,i){var a=e._subscribers,r=a.length;e._onerror=null,a[r]=t,a[r+B]=n,a[r+P]=i,0===r&&e._state&&s(H,e)}function H(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var i=void 0,a=void 0,r=e._result,s=0;s<t.length;s+=3)i=t[s],a=t[s+n],i?V(n,i,a,r):a(r);e._subscribers.length=0}}function V(e,n,i,a){var r=t(i),s=void 0,l=void 0,o=!0;if(r){try{s=i(a)}catch(Ou){o=!1,l=Ou}if(n===s)return void R(n,T())}else s=a;n._state!==F||(r&&o?_(n,s):!1===o?R(n,l):e===B?M(n,s):e===P&&R(n,s))}function z(e,t){try{t((function(t){_(e,t)}),(function(t){R(e,t)}))}catch(Ou){R(e,Ou)}}var q=0;function W(){return q++}function Y(e){e[N]=q++,e._state=void 0,e._result=void 0,e._subscribers=[]}function K(){return new Error("Array Methods must be provided an Array")}var G=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(I),this.promise[N]||Y(this.promise),n(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?M(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&M(this.promise,this._result))):R(this.promise,K())}return e.prototype._enumerate=function(e){for(var t=0;this._state===F&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,i=n.resolve;if(i===S){var a=void 0,r=void 0,s=!1;try{a=e.then}catch(Ou){s=!0,r=Ou}if(a===C&&e._state!==F)this._settledAt(e._state,t,e._result);else if("function"!=typeof a)this._remaining--,this._result[t]=e;else if(n===te){var l=new n(I);s?R(l,r):U(l,e,a),this._willSettleAt(l,t)}else this._willSettleAt(new n((function(t){return t(e)})),t)}else this._willSettleAt(i(e),t)},e.prototype._settledAt=function(e,t,n){var i=this.promise;i._state===F&&(this._remaining--,e===P?R(i,n):this._result[t]=n),0===this._remaining&&M(i,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;Q(e,void 0,(function(e){return n._settledAt(B,t,e)}),(function(e){return n._settledAt(P,t,e)}))},e}();function $(e){return new G(this,e).promise}function X(e){var t=this;return n(e)?new t((function(n,i){for(var a=e.length,r=0;r<a;r++)t.resolve(e[r]).then(n,i)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))}function J(e){var t=new this(I);return R(t,e),t}function Z(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function ee(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var te=function(){function e(t){this[N]=W(),this._result=this._state=void 0,this._subscribers=[],I!==t&&("function"!=typeof t&&Z(),this instanceof e?z(this,t):ee())}return e.prototype.catch=function(e){return this.then(null,e)},e.prototype.finally=function(e){var n=this,i=n.constructor;return t(e)?n.then((function(t){return i.resolve(e()).then((function(){return t}))}),(function(t){return i.resolve(e()).then((function(){throw t}))})):n.then(e,e)},e}();function ne(){var e=void 0;if(void 0!==d)e=d;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(Ou){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(Ou){}if("[object Promise]"===n&&!t.cast)return}e.Promise=te}return te.prototype.then=C,te.all=$,te.race=X,te.resolve=S,te.reject=J,te._setScheduler=l,te._setAsap=o,te._asap=s,te.polyfill=ne,te.Promise=te,te}()},html2canvas: +/*!******************************!*\ + !*** external "html2canvas" ***! + \******************************/function(e){e.exports=t},jspdf: +/*!************************!*\ + !*** external "jspdf" ***! + \************************/function(t){t.exports=e}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e].call(r.exports,r,r.exports,a),r.exports}a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return function(){ +/*!**********************!*\ + !*** ./src/index.js ***! + \**********************/ +a.r(r);var e=a( +/*! ./worker.js */ +"./src/worker.js");a( +/*! ./plugin/jspdf-plugin.js */ +"./src/plugin/jspdf-plugin.js"),a( +/*! ./plugin/pagebreaks.js */ +"./src/plugin/pagebreaks.js"),a( +/*! ./plugin/hyperlinks.js */ +"./src/plugin/hyperlinks.js");var t=function e(t,n){var i=new e.Worker(n);return t?i.from(t).save():i};t.Worker=e.default,r.default=t}(),r=r.default}()};const Xp=c(cr.exports=Kp(o(Wp),$p()));new dr;const Jp="3a939a2eed2cca4b64cd47f51b23b135b2b9b765273f695d47682ea803c8429d";function Zp(e){return Se(e,["YYYY-MM-DDTHH:mm:ss"]).format("DD-MM-YYYY HH:mm:ss")}function eA(e){return Se(e,["YYYY-MM-DDTHH:mm:ss.SSS","YYYY-MM-DDTHH:mm:ss"]).format("DD-MMM-YYYY hh:mm A")}function tA(e){if(!e)return"";const t=new Date(e);if(isNaN(t))return"";return`${t.getDate()}-${t.toLocaleString("en-US",{month:"short"})}-${t.getFullYear()}`}const nA=(e,t)=>{const n=Ce.AES.encrypt(JSON.stringify(t),Jp).toString();n&&sessionStorage.setItem(e,n)},iA=e=>{const t=sessionStorage.getItem(e);if(t){const e=Ce.AES.decrypt(t,Jp).toString(Ce.enc.Utf8);return JSON.parse(e)}},aA=e=>{if(!e)return null;{e=e.replace(/-/g,"+").replace(/_/g,"/");const t=Ce.AES.decrypt(e,"f2ef79b8b2d4fc1cc569726a5a753552257b4ff2872d6a71cf3119bce3f07c1b").toString(Ce.enc.Utf8);if(t)return JSON.parse(t)}},rA=()=>{sessionStorage.clear()};async function sA(e,t){var n=document.getElementById(e);if(n){var i=document.getElementById("ifmcontentstoprint").contentWindow;return i.document.open(),i.document.write(t),i.document.write(n.innerHTML),i.document.close(),i.focus(),i.print(),!0}}const lA=e=>{const t=/<[^>]*>/g.test(e),n=/\b(select|update|delete|insert|drop|truncate|exec|union|--|\*|;)\b/i.test(e);return t?Promise.reject(new Error("HTML tags are not allowed")):n?Promise.reject(new Error("SQL keywords like SELECT, DELETE are not allowed")):Promise.resolve()},oA="https://www.pozo.dev/pozo-common-api",dA=Ne.create({baseURL:oA}),cA=Ne.create({baseURL:"https://www.pozo.dev/pozo-retail-api"}),uA=Ne.create({baseURL:"https://www.pozo.dev/pozo-sms-email-template-api"}),pA=async e=>{const t=await new Promise((e=>{let t=sessionStorage.getItem("auth");if(t)e(t);else{const n=setInterval((()=>{t=sessionStorage.getItem("auth"),t&&(clearInterval(n),e(t))}),100)}}));t&&(e.headers.Authorization=`Bearer ${t}`);let n=sessionStorage.getItem("MobileNo"),i=sessionStorage.getItem("SessionId")?(e=>{if(!e)return null;{e=e.replace(/-/g,"+").replace(/_/g,"/");const t=Ce.AES.decrypt(e,Jp).toString(Ce.enc.Utf8);if(t)return JSON.parse(t)}})(n):"1000000001";return e.headers.Mobileno=null!=i&&null!=i?i:"1000000001",e};dA.interceptors.request.use(pA,(e=>Promise.reject(e))),uA.interceptors.request.use(pA,(e=>Promise.reject(e))),cA.interceptors.request.use(pA,(e=>Promise.reject(e)));const AA=async e=>(e.response&&401===e.response.status&&(!function(e){const t=document.createElement("div");t.innerText=e,t.style.cssText="\n position: fixed;\n top: 10%;\n left: 50%;\n transform: translate(-50%, -50%);\n background-color: #f03e3e;\n color: white;\n padding: 15px 30px;\n border-radius: 8px;\n font-family: Arial, sans-serif;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n z-index: 1000;\n opacity: 0;\n transition: opacity 0.3s ease;\n ",document.body.appendChild(t),setTimeout((()=>{t.style.opacity=1}),10),setTimeout((()=>{t.style.opacity=0,setTimeout((()=>t.remove()),300)}),2e3)}("Your session has expired. Please log in again to continue."),setTimeout((()=>{if(iA("UserId")){const e="N";fetch(`${oA}/Logout`,{method:"PUT",headers:{"Content-Type":"application/json",Authorization:sessionStorage.getItem("auth")?sessionStorage.getItem("auth"):"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",Mobileno:iA("MobileNo")?iA("MobileNo"):"1000000001"},body:JSON.stringify({UserId:iA("UserId"),Generate:e,RequestMode:"DW"})}).then((e=>{if(!e.ok)throw new Error(`Error: ${e.status}`);return e.json()})).then((e=>{1===(null==e?void 0:e.statusCode)&&(rA(),window.location.href="/")})).catch((e=>{}))}}),2e3)),Promise.reject(e));dA.interceptors.response.use((e=>e),AA),uA.interceptors.response.use((e=>e),AA),cA.interceptors.response.use((e=>e),AA);const hA=cA,fA=dA,mA=uA,vA="https://www.pozo.dev/pozo-common-api",gA={selectedRole:"Admin"===iA("UserType")?"Branch Admin":"Sadmin",selectedStore:null,selectedAppName:null,selectedBranch:null,selectedApp:null,selectedUser:null,selectedEmpdesig:null,allModules:[],branchData:[],appData:[],userData:[],AdminData:[],EmpDesigData:[],selectedUserData:{},selectedModuleBranch:[],UserId:null,AppAccess:{},CompAccess:{},BranchAccess:{},AppListData:{},CmpListData:{},BranchListData:{},PostDataValue:[]},yA=Ja("moduleAccess/getBranchDropModule",(async({storeId:e})=>{if(null!=e&&null!=e)return await fA.get(`/branch?CompId=${e}`)})),xA=Ja("moduleAccess/getSadminUser",(async()=>await fA.get("/login?Type=Super Admin User"))),bA=Ja("moduleAccess/getStoreAdmin",(async({storeId:e})=>{if(null!=e&&null!=e)return await Ne.get(`${vA}/company?UserId=${e}`)})),wA=Ja("moduleAccess/gettingAdminDropDown",(async()=>await fA.get("/user?UserType=A"))),jA=Ja("moduleAccess/getBranchUser",(async({BranchId:e})=>{if(null!=e&&null!=e)return await fA.get(`/login?BranchId=${e}&Type=E`)}));Ja("moduleAccess/getAllModule",(async()=>await fA.get("/configMaster?TypeName=Sub Module")));const CA=Ja("moduleAccess/getAllModule",(async e=>null!=e&&null!=e?await fA.get(`/userAppMap?UserId=${e}&Type=A`):await fA.get("/configMaster?ActiveStatus=A&TypeName=Sub Module"))),SA=Ja("moduleAccess/getUserCount",(async({AppId:e,UserId:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await fA.get(`/userAppMap?UserId=${t}&AppId=${e}`)})),NA=Ja("moduleAccess/getUserData",(async({userId:e,BranchId:t})=>null!=e&&null!=e&&null!=t&&null!=t?await fA.get(`/login?UserId=${e}&BranchId=${t}`):await fA.get(`/login?UserId=${e}`))),IA=Ja("moduleAccess/getAppDetails",(async({UserId:e})=>{if(null!=e&&null!=e)return await fA.get(`/appAccess?UserId=${e}&Type=AD`)}));Ja("moduleAccess/getCompDetails",(async({UserId:e})=>{if(null!=e&&null!=e)return await fA.get(`/appAccess?UserId=${e}`)}));const FA=Ja("moduleAccess/getUserAppDetails",(async({UserId:e,AppId:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await fA.get(`/appAccess?UserId=${e}&AppId=${t}`)})),BA=Ja("moduleAccess/postGateWayMaster",(async e=>{if(e)return await fA.post("/GatewayConfigMaster",e)})),PA=Ja("moduleAccess/putGateWayMaster",(async e=>{if(e)return await fA.put("/GatewayConfigMaster",e)})),kA=Ja("moduleAccess/getGateWayConfigData",(async e=>{const{ServiceType:t}=e;if(null!==t||void 0!==t)return await fA.get(`/GatewayConfigMaster?ServiceType=${t}&Type=S`)})),TA=Ja("moduleAccess/getActiveUserAppDetails",(async({UserId:e,AppId:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await fA.get(`/appAccess?UserId=${e}&AppId=${t}&ActiveStatus=A`)})),EA=Ja("moduleAccess/getUserAppStoreDetails",(async({StoreId:e,UserId:t,AppId:n})=>{if(null!=e&&null!=e&&null!=t&&null!=t&&null!=n&&null!=n)return await fA.get(`/appAccess?UserId=${t}&AppId=${n}&CompId=${e}`)})),DA=Ja("moduleAccess/getActiveUserAppStoreDetails",(async({StoreId:e,UserId:t,AppId:n})=>{if(null!=e&&null!=e&&null!=t&&null!=t&&null!=n&&null!=n)return await fA.get(`/appAccess?UserId=${t}&AppId=${n}&CompId=${e}&ActiveStatus=A`)})),LA=Ja("moduleAccess/getCmpDetails",(async({AppId:e,UserId:t})=>null!=t&&null!=t&&null!=e&&null!=e?await fA.get(`/appAccess?AppId=${e}&UserId=${t}`):null!=e&&null!=e?await fA.get(`/appAccess?AppId=${e}`):void 0)),UA=Ja("moduleAccess/getDesigDetails",(async({AppName:e,CompId:t,BranchId:n})=>{if(null!=e&&null!=e&&null!=t&&null!=t&&null!=n&&null!=n)return await fA.get(`/designation?AppName=${e}&CompId=${t}&BranchId=${n}`)})),_A=Ja("moduleAccess/getAppDesigDetails",(async({AppId:e})=>{if(null!=e&&null!=e)return await fA.get(`/appAccess?AppId=${e}`)})),OA=Ja("moduleAccess/getDesigUserDetails",(async({AppName:e,EmpDesig:t,CompId:n,BranchId:i})=>{if(null!=e&&null!=e&&null!=t&&null!=t&&null!=n&&null!=n&&null!=i&&null!=i)return await fA.get(`/designation?AppName=${e}&EmpDesig=${t}&CompId=${n}&BranchId=${i}`)})),MA=Ja("moduleAccess/getBranchDetails",(async({CompId:e,AppId:t,UserId:n})=>null!=t&&null!=t&&null!=n&&null!=n&&null!=e&&null!=e?await fA.get(`/appAccess?CompId=${e}&AppId=${t}&UserId=${n}`):null!=t&&null!=t&&null!=e&&null!=e?await fA.get(`/appAccess?CompId=${e}&AppId=${t}`):void 0)),RA=Ja("moduleAccess/getBranchBasedOnStoreAndType",(async({storeId:e,BranchType:t,UserId:n})=>null!=t&&null!=t&&null!=n&&null!=n?await Ne.get(`${vA}/application?SubId=${t}&UserId=${n}`):null!=t&&null!=t?await Ne.get(`${vA}/application?SubId=${t}`):void 0)),QA=Ja("moduleAccess/getBranchBasedOnStoreAndType",(async({BranchType:e,UserId:t,Type:n,BranchId:i})=>null!=t&&null!=t&&null!=e&&null!=e&&null!=n&&null!=n?await Ne.get(`${vA}/application?SubId=${e}&UserId=${t}&Type=${n}`):null!=t&&null!=t&&null!=e&&null!=e&&null!=i&&null!=i?await Ne.get(`${vA}/application?SubId=${e}&UserId=${t}&BranchId=${i}`):null!=t&&null!=t&&null!=e&&null!=e?await Ne.get(`${vA}/application?SubId=${e}&UserId=${t}`):await Ne.get(`${vA}/application?SubId=${e}`))),HA=Ja("moduleAccess/postModuleRights",(async e=>await fA.post("/appAccess",e))),VA=Ja("moduleAccess/postBranchModuleRights",(async e=>await fA.post("/appAccessBranch",e))),zA=Ja("moduleAccess/deleteModuleRights",(async e=>await fA.delete("/appAccess",{params:e}))),qA=Ja("moduleAccess/deleteBranchModuleRights",(async e=>await fA.delete("/appAccessBranch",{params:e}))),WA=Ja("moduleAccess/getstoreData",(async e=>{if(null!=e&&null!=e)return await Ne.get(`${vA}/company?UserId=${e}`)})),YA=Ya({name:"moduleAccess",initialState:gA,reducers:{changeRole:(e,t)=>{const{id:n}=null==t?void 0:t.payload;e.selectedRole=n,e.UserId=null,e.selectedUser=null,e.AppListData={},e.CmpListData={},e.BranchListData={}},changeIntialRole:(e,t)=>{e.selectedRole="Admin"===iA("UserType")?"Branch Admin":"Sadmin"},AddAppList:(e,t)=>{const{AppList:n}=null==t?void 0:t.payload;e.AppListData=n},changeUserId:(e,t)=>{e.UserId=null==t?void 0:t.payload},changeAppAccess:(e,t)=>{e.AppAccess=null==t?void 0:t.payload},changePostData:(e,t)=>{e.PostDataValue=null==t?void 0:t.payload},changeCompAccess:(e,t)=>{e.CompAccess=null==t?void 0:t.payload},changeBranchAccess:(e,t)=>{e.BranchAccess=null==t?void 0:t.payload},changeStore:(e,t)=>{const{storeId:n}=null==t?void 0:t.payload;e.selectedStore=n},changeAppName:(e,t)=>{const{AppName:n}=null==t?void 0:t.payload;e.selectedAppName=n},changeBranch:(e,t)=>{const{BranchId:n}=null==t?void 0:t.payload;e.selectedBranch=n},changeApp:(e,t)=>{const{AppId:n}=null==t?void 0:t.payload;e.selectedApp=n},changeUser:(e,t)=>{const{userId:n}=null==t?void 0:t.payload;e.selectedUser=n},changeEmpDesig:(e,t)=>{const{EmpDesig:n}=null==t?void 0:t.payload;e.selectedEmpdesig=n},emptyUserData:(e,t)=>{e.userData=[],e.EmpDesigData=[]},emptySelectedModule:(e,t)=>{e.selectedModuleBranch=[]},emptyDataList:(e,t)=>{e.AppListData={},e.CmpListData={},e.BranchListData={}},emptySelectedModuleBranch:(e,t)=>{e.AppListData={},e.CmpListData={},e.BranchListData={},e.allModules=[],e.selectedModuleBranch=[]},emptyModuleBranch:(e,t)=>{e.AppListData={},e.CmpListData={},e.BranchListData={},e.selectedModuleBranch=[]},emptyPostData:(e,t)=>{e.selectedUser=null,e.selectedApp=null,e.selectedBranch=null,e.selectedStore=null,e.selectedAppName=null,e.selectedEmpdesig=null,e.UserId=null,e.userData=[],e.EmpDesigData=[],e.selectedUserData={},e.selectedModuleBranch=[],e.AppListData={},e.CmpListData={},e.BranchListData={},e.appData=[],e.branchData=[],e.AppAccess={},e.CompAccess={},e.BranchAccess={},e.PostDataValue=[]},emptySelectedIds:(e,t)=>{e.selectedApp=null,e.selectedBranch=null,e.selectedStore=null,e.selectedEmpdesig=null,e.selectedUser=null,e.UserId=null},getSelectedBranch:(e,t)=>{var n;e.selectedModuleBranch=null==(n=e.selectedUserData[0])?void 0:n.ModuleDetails},updateModuleAccessByModuleTypeId:(e,t)=>{const{AppId:n}=null==t?void 0:t.payload;e.selectedModuleBranch=e.selectedModuleBranch.filter((e=>parseInt(e.AppId)!=parseInt(n)))},addModuleAccess:(e,t)=>{e.selectedModuleBranch.push(null==t?void 0:t.payload)},updateModuleAccessByBranchId:(e,t)=>{const{BranchId:n}=null==t?void 0:t.payload;e.selectedModuleBranch=e.selectedModuleBranch.filter((e=>e.AppId!=n))},removeAppList:(e,t)=>{var n;const{subCat:i}=null==t?void 0:t.payload;null==(n=e.AppListData[i])||n.map((t=>{var n;null==(n=e.CmpListData[t.AppName])||n.map((n=>{delete e.BranchListData[`${null==t?void 0:t.AppName}-${null==n?void 0:n.CompName}`]})),delete e.CmpListData[t.AppName]})),delete e.AppListData[i]},removeCmpList:(e,t)=>{var n;const{AppName:i}=null==t?void 0:t.payload;null==(n=e.CmpListData[i])||n.map((t=>{delete e.BranchListData[`${i}-${null==t?void 0:t.CompName}`]})),delete e.CmpListData[i]},removeBranchList:(e,t)=>{const{CompName:n}=null==t?void 0:t.payload;delete e.BranchListData[n]},removeBranchAccess:(e,t)=>{const{branchAccessData:n}=null==t?void 0:t.payload;delete e.BranchAccess[n]},removeCompanyAccess:(e,t)=>{const{companyAccessData:n}=null==t?void 0:t.payload;delete e.CompAccess[n]},removeAppAccess:(e,t)=>{const{appAccessData:n}=null==t?void 0:t.payload;delete e.AppAccess[n]},removePostDataValue:(e,t)=>{const n=null==t?void 0:t.payload;n.CompId&&n.AppId?e.PostDataValue.map(((t,i)=>{(null==t?void 0:t.AppId)==n.AppId&&(null==t?void 0:t.CompId)==n.CompId&&delete e.PostDataValue[i]})):n.AppId?e.PostDataValue.map(((t,i)=>{(null==t?void 0:t.AppId)==n.AppId&&delete e.PostDataValue[i]})):n.CompId&&n.BranchId&&e.PostDataValue.map(((t,i)=>{(null==t?void 0:t.BranchId)==n.BranchId&&(null==t?void 0:t.CompId)==n.CompId&&delete e.PostDataValue[i]}))}},extraReducers:e=>{e.addCase(yA.fulfilled,((e,t)=>{var n,i,a,r;1===(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?e.branchData=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data:e.branchData=[]})),e.addCase(IA.fulfilled,((e,t)=>{var n,i,a,r;1===(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?e.appData=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data:e.appData=[]})),e.addCase(wA.fulfilled,((e,t)=>{var n,i,a,r;1===(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?e.AdminData=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data:e.AdminData=[]})),e.addCase(OA.fulfilled,((e,t)=>{var n,i,a,r;1===(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?e.EmpDesigData=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data:e.EmpDesigData=[]})),e.addCase(xA.fulfilled,((e,t)=>{var n,i,a,r;1===(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?e.userData=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data:e.userData=[]})),e.addCase(CA.fulfilled,((e,t)=>{var n,i,a,r;1===(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?e.allModules=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data:e.allModules=[]})),e.addCase(bA.fulfilled,((e,t)=>{var n,i,a,r;1===(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?e.userData=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data:e.userData=[]})),e.addCase(jA.fulfilled,((e,t)=>{var n,i,a,r;1===(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?e.userData=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data:e.userData=[]})),e.addCase(NA.fulfilled,((e,t)=>{var n,i,a,r,s,l,o,d,c,u;1===(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?(e.selectedUserData=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data,e.selectedModuleBranch=(null==(o=null==(l=null==(s=null==t?void 0:t.payload)?void 0:s.data)?void 0:l.data[0])?void 0:o.ModuleDetails)?null==(u=null==(c=null==(d=null==t?void 0:t.payload)?void 0:d.data)?void 0:c.data[0])?void 0:u.ModuleDetails:[]):(e.selectedUserData={},e.selectedModuleBranch=[])})),e.addCase(RA.fulfilled,((e,t)=>{var n,i,a,r,s,l;(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)&&(e.AppListData[null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data[0].SubCategoryName]=null==(l=null==(s=null==t?void 0:t.payload)?void 0:s.data)?void 0:l.data)})),e.addCase(LA.fulfilled,((e,t)=>{var n,i,a,r,s,l;(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)&&(e.CmpListData[null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data[0].AppName]=null==(l=null==(s=null==t?void 0:t.payload)?void 0:s.data)?void 0:l.data)})),e.addCase(MA.fulfilled,((e,t)=>{var n,i,a,r,s,l,o,d;(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)&&(e.BranchListData[`${null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data[0].AppName}-${null==(l=null==(s=null==t?void 0:t.payload)?void 0:s.data)?void 0:l.data[0].CompName}`]=null==(d=null==(o=null==t?void 0:t.payload)?void 0:o.data)?void 0:d.data)}))}}),{changeRole:KA,changeAppName:GA,changeStore:$A,changeBranch:XA,changeApp:JA,changeUser:ZA,changeEmpDesig:eh,emptyUserData:th,emptySelectedModule:nh,emptyPostData:ih,changeIntialRole:ah,emptySelectedModuleBranch:rh,emptyModuleBranch:sh,emptyDataList:lh,emptySelectedIds:oh,updateModuleAccessByModuleTypeId:dh,addModuleAccess:ch,updateModuleAccessByBranchId:uh,changeUserId:ph,changeAppAccess:Ah,changePostData:hh,changeCompAccess:fh,changeBranchAccess:mh,AddAppList:vh,removeAppList:gh,removeCmpList:yh,removeBranchList:xh,removePostDataValue:bh,removeBranchAccess:wh,removeCompanyAccess:jh,removeAppAccess:Ch}=YA.actions,Sh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.selectedRole},Nh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.selectedStore},Ih=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.selectedAppName},Fh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.selectedEmpdesig},Bh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.selectedBranch},Ph=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.selectedApp},kh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.selectedUser},Th=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.appData},Eh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.userData},Dh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.allModules},Lh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.selectedUserData},Uh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.selectedModuleBranch},_h=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.AdminData},Oh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.EmpDesigData},Mh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.UserId},Rh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.AppAccess},Qh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.CompAccess},Hh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.BranchAccess},Vh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.AppListData},zh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.CmpListData},qh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.BranchListData},Wh=e=>{var t;return null==(t=e.moduleAccess)?void 0:t.PostDataValue},Yh=YA.reducer,Kh=Ya({name:"centerPage",initialState:{breadCrumb:[]},reducers:{changeBreadCrumb:(e,t)=>{const{items:n}=null==t?void 0:t.payload;e.breadCrumb=n},emptyBreadCrumb:(e,t)=>{e.breadCrumb=[]}}}),{changeBreadCrumb:Gh,emptyBreadCrumb:$h}=Kh.actions,Xh=e=>{var t;return null==(t=e.centerPage)?void 0:t.breadCrumb},Jh=Kh.reducer;var Zh={exports:{}},ef={},tf=a;var nf="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},af=tf.useState,rf=tf.useEffect,sf=tf.useLayoutEffect,lf=tf.useDebugValue;function of(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nf(e,n)}catch(i){return!0}}var df="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),i=af({inst:{value:n,getSnapshot:t}}),a=i[0].inst,r=i[1];return sf((function(){a.value=n,a.getSnapshot=t,of(a)&&r({inst:a})}),[e,n,t]),rf((function(){return of(a)&&r({inst:a}),e((function(){of(a)&&r({inst:a})}))}),[e]),lf(n),n};ef.useSyncExternalStore=void 0!==tf.useSyncExternalStore?tf.useSyncExternalStore:df,Zh.exports=ef;var cf=Zh.exports,uf={exports:{}},pf={},Af=a,hf=cf;var ff="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},mf=hf.useSyncExternalStore,vf=Af.useRef,gf=Af.useEffect,yf=Af.useMemo,xf=Af.useDebugValue;pf.useSyncExternalStoreWithSelector=function(e,t,n,i,a){var r=vf(null);if(null===r.current){var s={hasValue:!1,value:null};r.current=s}else s=r.current;r=yf((function(){function e(e){if(!o){if(o=!0,r=e,e=i(e),void 0!==a&&s.hasValue){var t=s.value;if(a(t,e))return l=t}return l=e}if(t=l,ff(r,e))return t;var n=i(e);return void 0!==a&&a(t,n)?(r=e,t):(r=e,l=n)}var r,l,o=!1,d=void 0===n?null:n;return[function(){return e(t())},null===d?void 0:function(){return e(d())}]}),[t,n,i,a]);var l=mf(e,r[0],r[1]);return gf((function(){s.hasValue=!0,s.value=l}),[l]),xf(l),l},uf.exports=pf;var bf=uf.exports;let wf=function(e){e()};const jf=Symbol.for("react-redux-context"),Cf="undefined"!=typeof globalThis?globalThis:{};function Sf(){var e;if(!a.createContext)return{};const t=null!=(e=Cf[jf])?e:Cf[jf]=new Map;let n=t.get(a.createContext);return n||(n=a.createContext(null),t.set(a.createContext,n)),n}const Nf=Sf();function If(e=Nf){return function(){return a.useContext(e)}}const Ff=If();let Bf=()=>{throw new Error("uSES not initialized!")};const Pf=(e,t)=>e===t;function kf(e=Nf){const t=e===Nf?Ff:If(e);return function(e,n={}){const{equalityFn:i=Pf,stabilityCheck:r,noopCheck:s}="function"==typeof n?{equalityFn:n}:n,{store:l,subscription:o,getServerState:d,stabilityCheck:c,noopCheck:u}=t();a.useRef(!0);const p=a.useCallback({[e.name]:t=>e(t)}[e.name],[e,c,r]),A=Bf(o.addNestedSub,l.getState,d||l.getState,p,i);return a.useDebugValue(A),A}}const Tf=kf();var Ef={exports:{}},Df={},Lf="function"==typeof Symbol&&Symbol.for,Uf=Lf?Symbol.for("react.element"):60103,_f=Lf?Symbol.for("react.portal"):60106,Of=Lf?Symbol.for("react.fragment"):60107,Mf=Lf?Symbol.for("react.strict_mode"):60108,Rf=Lf?Symbol.for("react.profiler"):60114,Qf=Lf?Symbol.for("react.provider"):60109,Hf=Lf?Symbol.for("react.context"):60110,Vf=Lf?Symbol.for("react.async_mode"):60111,zf=Lf?Symbol.for("react.concurrent_mode"):60111,qf=Lf?Symbol.for("react.forward_ref"):60112,Wf=Lf?Symbol.for("react.suspense"):60113,Yf=Lf?Symbol.for("react.suspense_list"):60120,Kf=Lf?Symbol.for("react.memo"):60115,Gf=Lf?Symbol.for("react.lazy"):60116,$f=Lf?Symbol.for("react.block"):60121,Xf=Lf?Symbol.for("react.fundamental"):60117,Jf=Lf?Symbol.for("react.responder"):60118,Zf=Lf?Symbol.for("react.scope"):60119;function em(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Uf:switch(e=e.type){case Vf:case zf:case Of:case Rf:case Mf:case Wf:return e;default:switch(e=e&&e.$$typeof){case Hf:case qf:case Gf:case Kf:case Qf:return e;default:return t}}case _f:return t}}}function tm(e){return em(e)===zf}Df.AsyncMode=Vf,Df.ConcurrentMode=zf,Df.ContextConsumer=Hf,Df.ContextProvider=Qf,Df.Element=Uf,Df.ForwardRef=qf,Df.Fragment=Of,Df.Lazy=Gf,Df.Memo=Kf,Df.Portal=_f,Df.Profiler=Rf,Df.StrictMode=Mf,Df.Suspense=Wf,Df.isAsyncMode=function(e){return tm(e)||em(e)===Vf},Df.isConcurrentMode=tm,Df.isContextConsumer=function(e){return em(e)===Hf},Df.isContextProvider=function(e){return em(e)===Qf},Df.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Uf},Df.isForwardRef=function(e){return em(e)===qf},Df.isFragment=function(e){return em(e)===Of},Df.isLazy=function(e){return em(e)===Gf},Df.isMemo=function(e){return em(e)===Kf},Df.isPortal=function(e){return em(e)===_f},Df.isProfiler=function(e){return em(e)===Rf},Df.isStrictMode=function(e){return em(e)===Mf},Df.isSuspense=function(e){return em(e)===Wf},Df.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Of||e===zf||e===Rf||e===Mf||e===Wf||e===Yf||"object"==typeof e&&null!==e&&(e.$$typeof===Gf||e.$$typeof===Kf||e.$$typeof===Qf||e.$$typeof===Hf||e.$$typeof===qf||e.$$typeof===Xf||e.$$typeof===Jf||e.$$typeof===Zf||e.$$typeof===$f)},Df.typeOf=em,Ef.exports=Df;var nm=Ef.exports,im={};function am(){const e=wf;let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let i=!0,a=n={callback:e,next:null,prev:n};return a.prev?a.prev.next=a:t=a,function(){i&&null!==t&&(i=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}im[nm.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},im[nm.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};const rm={notify(){},get:()=>[]};const sm=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement)?a.useLayoutEffect:a.useEffect;function lm({store:e,context:t,children:n,serverState:i,stabilityCheck:r="once",noopCheck:s="once"}){const l=a.useMemo((()=>{const t=function(e,t){let n,i=rm,a=0,r=!1;function s(){d.onStateChange&&d.onStateChange()}function l(){a++,n||(n=t?t.addNestedSub(s):e.subscribe(s),i=am())}function o(){a--,n&&0===a&&(n(),n=void 0,i.clear(),i=rm)}const d={addNestedSub:function(e){l();const t=i.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),o())}},notifyNestedSubs:function(){i.notify()},handleChangeWrapper:s,isSubscribed:function(){return r},trySubscribe:function(){r||(r=!0,l())},tryUnsubscribe:function(){r&&(r=!1,o())},getListeners:()=>i};return d}(e);return{store:e,subscription:t,getServerState:i?()=>i:void 0,stabilityCheck:r,noopCheck:s}}),[e,i,r,s]),o=a.useMemo((()=>e.getState()),[e]);sm((()=>{const{subscription:t}=l;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),o!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[l,o]);const d=t||Nf;return a.createElement(d.Provider,{value:l},n)}function om(e=Nf){const t=e===Nf?Ff:If(e);return function(){const{store:e}=t();return e}}const dm=om();function cm(e=Nf){const t=e===Nf?dm:om(e);return function(){return t().dispatch}}const um=cm();var pm,Am;pm=bf.useSyncExternalStoreWithSelector,Bf=pm,Am=r.unstable_batchedUpdates,wf=Am;const hm="https://www.pozo.dev/pozo-common-api",fm=Ja("signInPage/GenerateLogout",(async({UserId:e,status:t})=>{if(null!=e&&null!=e)return await fA.put("/Logout",{UserId:e,Generate:t,RequestMode:"DW"})})),mm=Ja("signInPage/checkSession",(async({UserId:e,SessionId:t})=>{if(null!=e&&null!=e)return await fA.get(`/UserSessionId?UserId=${e}&SessionId=${t}`)})),vm=Ja("signInPage/getUserData",(async({MobileNo:e,deviceId:t})=>{if(null!=e&&null!=e)return await fA.get(`/user?MobileNo=${e}&deviceId=${t}`)})),gm=Ja("signInPage/verifyUserLogin",(async({MobileNo:e,Password:t,IP:n,Browser:i,Version:a,OS:r,LoginType:s,AnotherWindow:l,deviceId:o,SessionId:d})=>{if(null!=e&&null!=e&&null!=t&&null!=t&&null!=l)return await fA.get(`/login?UserName=${e}&Password=${t}&IP=${n}&Browser=${i}&Version=${a}&OS=${r}&LoginType=${s}&AnotherWindow=${l}&RequestMode=DW&deviceId=${o}&SessionId=${d}`)})),ym=Ja("signInPage/verifyUserLogin",(async({MobileNo:e,Pin:t,IP:n,Browser:i,Version:a,OS:r,LoginType:s,AnotherWindow:l,deviceId:o,SessionId:d})=>{if(null!=e&&null!=e&&null!=t&&null!=t&&null!=l)return await fA.get(`/login?UserName=${e}&Pin=${t}&IP=${n}&Browser=${i}&Version=${a}&OS=${r}&LoginType=${s}&AnotherWindow=${l}&RequestMode=DW&deviceId=${o}&SessionId=${d}`)})),xm=Ja("signInPage/verifyOTP",(async({MobileNo:e})=>await fA.post("/verifyOTP",{UserName:e}))),bm=Ja("signInPage/sendOtpMobileNo",(async({MobileNo:e})=>await fA.post("/verifyOTP/getOTP",{UserName:e,Type:"N"}))),wm=Ja("signInPage/setUser",(async({MobileNo:e,deviceId:t})=>await fA.post("/verifyOTP/setUser",{UserName:e,Type:"N",RequestMode:"DW",deviceId:t}))),jm=Ja("signInPage/AccessTokenByOTP",(async({MobileNo:e,OTP:t,IP:n,Browser:i,Version:a,OS:r,LoginType:s,deviceId:l,SessionId:o})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await fA.get(`/AccessTokenByOTP?userName=${e}&OTP=${t}&IP=${n}&Browser=${i}&Version=${a}&OS=${r}&LoginType=${s}&RequestMode=DW&deviceId=${l}&SessionId=${o}`)})),Cm=Ja("homePage/getAppAccess",(async({UserId:e})=>{if(null!=e&&null!=e)return await fA.get(`/appAccess?UserId=${e}&Type=UC`)})),Sm=Ja("signInPage/getuserAppMap",(async({UserId:e})=>{if(null!=e&&null!=e)return await fA.get(`/userAppMap?UserId=${e}`)})),Nm=Ja("AppName/getAppName",(async({AppId:e})=>{if(null!=e&&null!=e)return await Ne.get(`${hm}/application?AppId=${e}`)})),Im=Ja("AuthorizedSession/getAuthorizedSession",(async({UserId:e,SessionId:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await Ne.get(`${hm}/AuthorizedSession?UserId=${e}&SessionId=${t}`)})),Fm=Ya({name:"signInPage",initialState:{UserData:[]},extraReducers:e=>{e.addCase(vm.fulfilled,((e,t)=>{var n,i,a,r;1===(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?e.UserData=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data:e.UserData=[]}))}}).reducer,Bm="/assets/PozoAppLogo-728641d3.svg";function Pm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"}}]})(e)}function km(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"}}]})(e)}function Tm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"}}]})(e)}function Em(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"}}]})(e)}function Dm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm121.8 169.9l-40.7 191.8c-3 13.6-11.1 16.9-22.4 10.5l-62-45.7-29.9 28.8c-3.3 3.3-6.1 6.1-12.5 6.1l4.4-63.1 114.9-103.8c5-4.4-1.1-6.9-7.7-2.5l-142 89.4-61.2-19.1c-13.3-4.2-13.6-13.3 2.8-19.7l239.1-92.2c11.1-4 20.8 2.7 17.2 19.5z"}}]})(e)}function Lm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(e)}function Um(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"}}]})(e)}function _m(e){return Cn({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"}}]})(e)}function Om(e){return Cn({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"}}]})(e)}function Mm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z"}}]})(e)}function Rm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"}}]})(e)}function Qm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M0 448V64h18v384H0zm26.857-.273V64H36v383.727h-9.143zm27.143 0V64h8.857v383.727H54zm44.857 0V64h8.857v383.727h-8.857zm36 0V64h17.714v383.727h-17.714zm44.857 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm35.715 0V64h18v383.727h-18zm44.857 0V64h18v383.727h-18zm35.999 0V64h18.001v383.727h-18.001zm36.001 0V64h18.001v383.727h-18.001zm26.857 0V64h18v383.727h-18zm45.143 0V64h26.857v383.727h-26.857zm35.714 0V64h9.143v383.727H476zm18 .273V64h18v384h-18z"}}]})(e)}function Hm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}}]})(e)}function Vm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"}}]})(e)}function zm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M560 288h-80v96l-32-21.3-32 21.3v-96h-80c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h224c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16zm-384-64h224c8.8 0 16-7.2 16-16V16c0-8.8-7.2-16-16-16h-80v96l-32-21.3L256 96V0h-80c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16zm64 64h-80v96l-32-21.3L96 384v-96H16c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h224c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16z"}}]})(e)}function qm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M512 144v288c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48h88l12.3-32.9c7-18.7 24.9-31.1 44.9-31.1h125.5c20 0 37.9 12.4 44.9 31.1L376 96h88c26.5 0 48 21.5 48 48zM376 288c0-66.2-53.8-120-120-120s-120 53.8-120 120 53.8 120 120 120 120-53.8 120-120zm-32 0c0 48.5-39.5 88-88 88s-88-39.5-88-88 39.5-88 88-88 88 39.5 88 88z"}}]})(e)}function Wm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 192 512"},child:[{tag:"path",attr:{d:"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z"}}]})(e)}function Ym(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M511.1 378.8l-26.7-160c-2.6-15.4-15.9-26.7-31.6-26.7H208v-64h96c8.8 0 16-7.2 16-16V16c0-8.8-7.2-16-16-16H48c-8.8 0-16 7.2-16 16v96c0 8.8 7.2 16 16 16h96v64H59.1c-15.6 0-29 11.3-31.6 26.7L.8 378.7c-.6 3.5-.9 7-.9 10.5V480c0 17.7 14.3 32 32 32h448c17.7 0 32-14.3 32-32v-90.7c.1-3.5-.2-7-.8-10.5zM280 248c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16h-16c-8.8 0-16-7.2-16-16v-16zm-32 64h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16h-16c-8.8 0-16-7.2-16-16v-16c0-8.8 7.2-16 16-16zm-32-80c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16h-16c-8.8 0-16-7.2-16-16v-16c0-8.8 7.2-16 16-16h16zM80 80V48h192v32H80zm40 200h-16c-8.8 0-16-7.2-16-16v-16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16zm16 64v-16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16h-16c-8.8 0-16-7.2-16-16zm216 112c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h176c4.4 0 8 3.6 8 8v16zm24-112c0 8.8-7.2 16-16 16h-16c-8.8 0-16-7.2-16-16v-16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16zm48-80c0 8.8-7.2 16-16 16h-16c-8.8 0-16-7.2-16-16v-16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16z"}}]})(e)}function Km(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M332.8 320h38.4c6.4 0 12.8-6.4 12.8-12.8V172.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V76.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-288 0h38.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zM496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"}}]})(e)}function Gm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM464 96H345.94c-21.38 0-32.09 25.85-16.97 40.97l32.4 32.4L288 242.75l-73.37-73.37c-12.5-12.5-32.76-12.5-45.25 0l-68.69 68.69c-6.25 6.25-6.25 16.38 0 22.63l22.62 22.62c6.25 6.25 16.38 6.25 22.63 0L192 237.25l73.37 73.37c12.5 12.5 32.76 12.5 45.25 0l96-96 32.4 32.4c15.12 15.12 40.97 4.41 40.97-16.97V112c.01-8.84-7.15-16-15.99-16z"}}]})(e)}function $m(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"}}]})(e)}function Xm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}}]})(e)}function Jm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"}}]})(e)}function Zm(e){return Cn({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"}}]})(e)}function ev(e){return Cn({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"}}]})(e)}function tv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"}}]})(e)}function nv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"}}]})(e)}function iv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8Zm92.49,313h0l-20,25a16,16,0,0,1-22.49,2.5h0l-67-49.72a40,40,0,0,1-15-31.23V112a16,16,0,0,1,16-16h32a16,16,0,0,1,16,16V256l58,42.5A16,16,0,0,1,348.49,321Z"}}]})(e)}function av(e){return Cn({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4z"}}]})(e)}function rv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 0-70.2l42.6-24.6c4.9-2.8 7.1-8.6 5.5-14-11.1-35.6-30-67.8-54.7-94.6-3.8-4.1-10-5.1-14.8-2.3L380.8 110c-17.9-15.4-38.5-27.3-60.8-35.1V25.8c0-5.6-3.9-10.5-9.4-11.7-36.7-8.2-74.3-7.8-109.2 0-5.5 1.2-9.4 6.1-9.4 11.7V75c-22.2 7.9-42.8 19.8-60.8 35.1L88.7 85.5c-4.9-2.8-11-1.9-14.8 2.3-24.7 26.7-43.6 58.9-54.7 94.6-1.7 5.4.6 11.2 5.5 14L67.3 221c-4.3 23.2-4.3 47 0 70.2l-42.6 24.6c-4.9 2.8-7.1 8.6-5.5 14 11.1 35.6 30 67.8 54.7 94.6 3.8 4.1 10 5.1 14.8 2.3l42.6-24.6c17.9 15.4 38.5 27.3 60.8 35.1v49.2c0 5.6 3.9 10.5 9.4 11.7 36.7 8.2 74.3 7.8 109.2 0 5.5-1.2 9.4-6.1 9.4-11.7v-49.2c22.2-7.9 42.8-19.8 60.8-35.1l42.6 24.6c4.9 2.8 11 1.9 14.8-2.3 24.7-26.7 43.6-58.9 54.7-94.6 1.5-5.5-.7-11.3-5.6-14.1zM256 336c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"}}]})(e)}function sv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"}}]})(e)}function lv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M0 432c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V256H0v176zm192-68c0-6.6 5.4-12 12-12h136c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-40zm-128 0c0-6.6 5.4-12 12-12h72c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM576 80v48H0V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48z"}}]})(e)}function ov(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z"}}]})(e)}function dv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M528 0H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h192l-16 48h-72c-13.3 0-24 10.7-24 24s10.7 24 24 24h272c13.3 0 24-10.7 24-24s-10.7-24-24-24h-72l-16-48h192c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm-16 352H64V64h448v288z"}}]})(e)}function cv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z"}}]})(e)}function uv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"}}]})(e)}function pv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm64 236c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-64c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-72v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm96-114.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"}}]})(e)}function Av(e){return Cn({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M288 256H96v64h192v-64zm89-151L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zm-153 31V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zM64 72c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8V72zm0 64c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8v-16zm256 304c0 4.42-3.58 8-8 8h-80c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16zm0-200v96c0 8.84-7.16 16-16 16H80c-8.84 0-16-7.16-16-16v-96c0-8.84 7.16-16 16-16h224c8.84 0 16 7.16 16 16z"}}]})(e)}function hv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M432 416h-23.41L277.88 53.69A32 32 0 0 0 247.58 32h-47.16a32 32 0 0 0-30.3 21.69L39.41 416H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-19.58l23.3-64h152.56l23.3 64H304a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM176.85 272L224 142.51 271.15 272z"}}]})(e)}function fv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z"}}]})(e)}function mv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M448 96v320h32a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16H320a16 16 0 0 1-16-16v-32a16 16 0 0 1 16-16h32V288H160v128h32a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16H32a16 16 0 0 1-16-16v-32a16 16 0 0 1 16-16h32V96H32a16 16 0 0 1-16-16V48a16 16 0 0 1 16-16h160a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16h-32v128h192V96h-32a16 16 0 0 1-16-16V48a16 16 0 0 1 16-16h160a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16z"}}]})(e)}function vv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M360 64c13.255 0 24-10.745 24-24V24c0-13.255-10.745-24-24-24H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24 0 90.965 51.016 167.734 120.842 192C75.016 280.266 24 357.035 24 448c-13.255 0-24 10.745-24 24v16c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24v-16c0-13.255-10.745-24-24-24 0-90.965-51.016-167.734-120.842-192C308.984 231.734 360 154.965 360 64z"}}]})(e)}function gv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"}}]})(e)}function yv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M96.06 454.35c.01 6.29 1.87 12.45 5.36 17.69l17.09 25.69a31.99 31.99 0 0 0 26.64 14.28h61.71a31.99 31.99 0 0 0 26.64-14.28l17.09-25.69a31.989 31.989 0 0 0 5.36-17.69l.04-38.35H96.01l.05 38.35zM0 176c0 44.37 16.45 84.85 43.56 115.78 16.52 18.85 42.36 58.23 52.21 91.45.04.26.07.52.11.78h160.24c.04-.26.07-.51.11-.78 9.85-33.22 35.69-72.6 52.21-91.45C335.55 260.85 352 220.37 352 176 352 78.61 272.91-.3 175.45 0 73.44.31 0 82.97 0 176zm176-80c-44.11 0-80 35.89-80 80 0 8.84-7.16 16-16 16s-16-7.16-16-16c0-61.76 50.24-112 112-112 8.84 0 16 7.16 16 16s-7.16 16-16 16z"}}]})(e)}function xv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"}}]})(e)}function bv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"}}]})(e)}function wv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"}}]})(e)}function jv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M288 0c-69.59 0-126 56.41-126 126 0 56.26 82.35 158.8 113.9 196.02 6.39 7.54 17.82 7.54 24.2 0C331.65 284.8 414 182.26 414 126 414 56.41 357.59 0 288 0zm0 168c-23.2 0-42-18.8-42-42s18.8-42 42-42 42 18.8 42 42-18.8 42-42 42zM20.12 215.95A32.006 32.006 0 0 0 0 245.66v250.32c0 11.32 11.43 19.06 21.94 14.86L160 448V214.92c-8.84-15.98-16.07-31.54-21.25-46.42L20.12 215.95zM288 359.67c-14.07 0-27.38-6.18-36.51-16.96-19.66-23.2-40.57-49.62-59.49-76.72v182l192 64V266c-18.92 27.09-39.82 53.52-59.49 76.72-9.13 10.77-22.44 16.95-36.51 16.95zm266.06-198.51L416 224v288l139.88-55.95A31.996 31.996 0 0 0 576 426.34V176.02c0-11.32-11.43-19.06-21.94-14.86z"}}]})(e)}function Cv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M272 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h224c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM160 480c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm112-108c0 6.6-5.4 12-12 12H60c-6.6 0-12-5.4-12-12V60c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v312z"}}]})(e)}function Sv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M290.74 93.24l128.02 128.02-277.99 277.99-114.14 12.6C11.35 513.54-1.56 500.62.14 485.34l12.7-114.22 277.9-277.88zm207.2-19.06l-60.11-60.11c-18.75-18.75-49.16-18.75-67.91 0l-56.55 56.55 128.02 128.02 56.55-56.55c18.75-18.76 18.75-49.16 0-67.91z"}}]})(e)}function Nv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z"}}]})(e)}function Iv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"}}]})(e)}function Fv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M505.12019,19.09375c-1.18945-5.53125-6.65819-11-12.207-12.1875C460.716,0,435.507,0,410.40747,0,307.17523,0,245.26909,55.20312,199.05238,128H94.83772c-16.34763.01562-35.55658,11.875-42.88664,26.48438L2.51562,253.29688A28.4,28.4,0,0,0,0,264a24.00867,24.00867,0,0,0,24.00582,24H127.81618l-22.47457,22.46875c-11.36521,11.36133-12.99607,32.25781,0,45.25L156.24582,406.625c11.15623,11.1875,32.15619,13.15625,45.27726,0l22.47457-22.46875V488a24.00867,24.00867,0,0,0,24.00581,24,28.55934,28.55934,0,0,0,10.707-2.51562l98.72834-49.39063c14.62888-7.29687,26.50776-26.5,26.50776-42.85937V312.79688c72.59753-46.3125,128.03493-108.40626,128.03493-211.09376C512.07526,76.5,512.07526,51.29688,505.12019,19.09375ZM384.04033,168A40,40,0,1,1,424.05,128,40.02322,40.02322,0,0,1,384.04033,168Z"}}]})(e)}function Bv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"}}]})(e)}function Pv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M466.5 83.7l-192-80a48.15 48.15 0 0 0-36.9 0l-192 80C27.7 91.1 16 108.6 16 128c0 198.5 114.5 335.7 221.5 380.3 11.8 4.9 25.1 4.9 36.9 0C360.1 472.6 496 349.3 496 128c0-19.4-11.7-36.9-29.5-44.3zM256.1 446.3l-.1-381 175.9 73.3c-3.3 151.4-82.1 261.1-175.8 307.7z"}}]})(e)}function kv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M497 273L329 441c-15 15-41 4.5-41-17v-96H152c-13.3 0-24-10.7-24-24v-96c0-13.3 10.7-24 24-24h136V88c0-21.4 25.9-32 41-17l168 168c9.3 9.4 9.3 24.6 0 34zM192 436v-40c0-6.6-5.4-12-12-12H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h84c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84c6.6 0 12-5.4 12-12z"}}]})(e)}function Tv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"}}]})(e)}function Ev(e){return Cn({tag:"svg",attr:{viewBox:"0 0 616 512"},child:[{tag:"path",attr:{d:"M602 118.6L537.1 15C531.3 5.7 521 0 510 0H106C95 0 84.7 5.7 78.9 15L14 118.6c-33.5 53.5-3.8 127.9 58.8 136.4 4.5.6 9.1.9 13.7.9 29.6 0 55.8-13 73.8-33.1 18 20.1 44.3 33.1 73.8 33.1 29.6 0 55.8-13 73.8-33.1 18 20.1 44.3 33.1 73.8 33.1 29.6 0 55.8-13 73.8-33.1 18.1 20.1 44.3 33.1 73.8 33.1 4.7 0 9.2-.3 13.7-.9 62.8-8.4 92.6-82.8 59-136.4zM529.5 288c-10 0-19.9-1.5-29.5-3.8V384H116v-99.8c-9.6 2.2-19.5 3.8-29.5 3.8-6 0-12.1-.4-18-1.2-5.6-.8-11.1-2.1-16.4-3.6V480c0 17.7 14.3 32 32 32h448c17.7 0 32-14.3 32-32V283.2c-5.4 1.6-10.8 2.9-16.4 3.6-6.1.8-12.1 1.2-18.2 1.2z"}}]})(e)}function Dv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM224 480c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm176-108c0 6.6-5.4 12-12 12H60c-6.6 0-12-5.4-12-12V60c0-6.6 5.4-12 12-12h328c6.6 0 12 5.4 12 12v312z"}}]})(e)}function Lv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M149.333 56v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24zm181.334 240v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm32-240v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24zm-32 80V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm-205.334 56H24c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24zM0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zm386.667-56H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zm0 160H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zM181.333 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24z"}}]})(e)}function Uv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"}}]})(e)}function _v(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 256H152V152.9c0-39.6 31.7-72.5 71.3-72.9 40-.4 72.7 32.1 72.7 72v16c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24v-16C376 68 307.5-.3 223.5 0 139.5.3 72 69.5 72 153.5V256H48c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z"}}]})(e)}function Ov(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 288c79.5 0 144-64.5 144-144S335.5 0 256 0 112 64.5 112 144s64.5 144 144 144zm128 32h-55.1c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16H128C57.3 320 0 377.3 0 448v16c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48v-16c0-70.7-57.3-128-128-128z"}}]})(e)}function Mv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"}}]})(e)}function Rv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M448 64h-25.98C438.44 92.28 448 125.01 448 160c0 105.87-86.13 192-192 192S64 265.87 64 160c0-34.99 9.56-67.72 25.98-96H64C28.71 64 0 92.71 0 128v320c0 35.29 28.71 64 64 64h384c35.29 0 64-28.71 64-64V128c0-35.29-28.71-64-64-64zM256 320c88.37 0 160-71.63 160-160S344.37 0 256 0 96 71.63 96 160s71.63 160 160 160zm-.3-151.94l33.58-78.36c3.5-8.17 12.94-11.92 21.03-8.41 8.12 3.48 11.88 12.89 8.41 21l-33.67 78.55C291.73 188 296 197.45 296 208c0 22.09-17.91 40-40 40s-40-17.91-40-40c0-21.98 17.76-39.77 39.7-39.94z"}}]})(e)}function Qv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M634.91 154.88C457.74-8.99 182.19-8.93 5.09 154.88c-6.66 6.16-6.79 16.59-.35 22.98l34.24 33.97c6.14 6.1 16.02 6.23 22.4.38 145.92-133.68 371.3-133.71 517.25 0 6.38 5.85 16.26 5.71 22.4-.38l34.24-33.97c6.43-6.39 6.3-16.82-.36-22.98zM320 352c-35.35 0-64 28.65-64 64s28.65 64 64 64 64-28.65 64-64-28.65-64-64-64zm202.67-83.59c-115.26-101.93-290.21-101.82-405.34 0-6.9 6.1-7.12 16.69-.57 23.15l34.44 33.99c6 5.92 15.66 6.32 22.05.8 83.95-72.57 209.74-72.41 293.49 0 6.39 5.52 16.05 5.13 22.05-.8l34.44-33.99c6.56-6.46 6.33-17.06-.56-23.15z"}}]})(e)}function Hv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 104c-53 0-96 43-96 96s43 96 96 96 96-43 96-96-43-96-96-96zm0 144c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-240C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-49.7 0-95.1-18.3-130.1-48.4 14.9-23 40.4-38.6 69.6-39.5 20.8 6.4 40.6 9.6 60.5 9.6s39.7-3.1 60.5-9.6c29.2 1 54.7 16.5 69.6 39.5-35 30.1-80.4 48.4-130.1 48.4zm162.7-84.1c-24.4-31.4-62.1-51.9-105.1-51.9-10.2 0-26 9.6-57.6 9.6-31.5 0-47.4-9.6-57.6-9.6-42.9 0-80.6 20.5-105.1 51.9C61.9 339.2 48 299.2 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 43.2-13.9 83.2-37.3 115.9z"}}]})(e)}const Vv=({items:e=[],mode:t="vertical",style:n={},onClick:i,collapse:r=!1,selectedKey:s,isBottomMenu:l=!1})=>{const[o,d]=a.useState([]),[c,u]=a.useState(""),[p,A]=a.useState({}),[h,f]=a.useState(window.innerWidth<=768),m=a.useRef();a.useEffect((()=>{void 0!==s&&u(s)}),[s]),a.useEffect((()=>{const e=e=>{m.current&&!m.current.contains(e.target)&&(d([]),A({}))},t=()=>{f(window.innerWidth<=768),o.length>0&&(d([]),A({}))},n=()=>{if(o.length>0){const e={};o.forEach((t=>{const n=document.querySelector(`[data-menu-key="${t}"]`);if(n){const i=t.split("-").length-1;e[t]=v(n,i)}})),A((t=>({...t,...e})))}};return document.addEventListener("mousedown",e),window.addEventListener("resize",t),window.addEventListener("scroll",n,!0),()=>{document.removeEventListener("mousedown",e),window.removeEventListener("resize",t),window.removeEventListener("scroll",n,!0)}}),[o]);const v=(e,t=0)=>{var n;const i=e.getBoundingClientRect(),a=window.innerWidth,r=window.innerHeight,s=window.pageXOffset||document.documentElement.scrollLeft,o=window.pageYOffset||document.documentElement.scrollTop,d=h?Math.min(280,a-20):t>0?220:250,c=Math.min(h?.5*r:400,.6*r),u=h?2:4,A=h?10:8,f=a-i.right,m=i.left,v=d+u+A;let g={top:i.top+o,left:i.right+u+s,direction:"right",verticalDirection:"down"};if(0===t)f>=v?(g.left=i.right+u+s,g.direction="right"):m>=v?(g.left=i.left-d-u+s,g.direction="left"):f>=m?(g.left=a-d-A+s,g.direction="right-edge"):(g.left=A+s,g.direction="left-edge");else{const e=Object.keys(p);(e.length>0&&(null==(n=p[e[t-1]])?void 0:n.direction)||"right").includes("right")?f>=v?(g.left=i.right+u+s,g.direction="right"):(g.left=i.left-d-u+s,g.direction="left"):m>=v?(g.left=i.left-d-u+s,g.direction="left"):(g.left=i.right+u+s,g.direction="right")}const y=r-i.bottom,x=i.top;return l&&0===t?x>=c+A?(g.top=i.top-c-u+o,g.verticalDirection="up"):(g.top=i.bottom+u+o,g.verticalDirection="down"):y>=c+A?(g.top=i.top+o,g.verticalDirection="down"):x>=c+A?(g.top=i.bottom-c+o,g.verticalDirection="up"):(g.top=Math.max(A,(r-c)/2)+o,g.verticalDirection="center"),g.left=Math.max(A+s,Math.min(g.left,a-d-A+s)),g.top=Math.max(A+o,Math.min(g.top,r-c-A+o)),g.width=d,g.height=c,g},g=a.useRef({}),y=a.useRef({}),[x,b]=a.useState({}),w=(e,t=[],n=0)=>e.map((e=>{var a;if(!e)return null;const s=e.children&&e.children.length>0,l=(p=e.key,c===p);var p;const h=(e=>o.includes(e))(e.key),f=((e,t=[])=>{if(!e.children)return!1;const n=(e,t)=>e.some((e=>{const i=[...t,e.key];return e.key===c||!!e.children&&n(e.children,i)}));return n(e.children,[...t,e.key])})(e,t),m=[...t,e.key];return Ye.jsxs("div",{className:"pozo-menu-item-wrapper",ref:t=>{t&&(g.current[e.key]=t)},children:[Ye.jsxs("div",{className:`pozo-menu-item ${l?"selected":""} ${h?"open":""} ${f?"active-path":""} ${s?"has-children":""} ${"group"===e.type?"group-item":""}`,onClick:n=>((e,t,n=[])=>{if(t.stopPropagation(),e.children&&e.children.length>0){const i=e.key;if(o.includes(i))d((e=>e.filter((e=>!e.startsWith(i)&&e!==i)))),A((e=>{const t={...e};return Object.keys(t).forEach((e=>{(e.startsWith(i)||e===i)&&delete t[e]})),t}));else{const e=[...n,i],a=o.filter((t=>e.some((e=>t===e))||e.every(((e,n)=>{const i=t.split("-"),a=e.split("-");return n<i.length&&i[n]===a[n]}))));a.push(i);const r=v(t.currentTarget,n.length);A((e=>{const t={};return a.forEach((n=>{e[n]&&(t[n]=e[n])})),t[i]=r,t})),d(a)}}else u(e.key),d([]),A({}),i&&i({key:e.key,keyPath:[...n,e.key],item:e,domEvent:t})})(e,n,t),"data-menu-key":e.key,style:{justifyContent:"flex-start"},children:[e.icon&&Ye.jsx("span",{className:"pozo-menu-icon",style:{fontSize:r?"1.3rem":""},children:e.icon}),!r&&Ye.jsx("span",{className:"pozo-menu-label",children:e.label}),s&&!r&&Ye.jsx("span",{className:"pozo-menu-arrow",children:Ye.jsx(Wm,{})})]}),s&&h&&!r&&Ye.jsx("div",{ref:t=>{t&&(y.current[e.key]=t)},className:"pozo-dropdown-submenu "+(n>0?"nested-submenu":""),style:{position:"fixed",top:(()=>{var t,n,i;const a=(null==(t=x[e.key])?void 0:t.top)||0,r=(null==(i=null==(n=y.current[e.key])?void 0:n.getBoundingClientRect())?void 0:i.height)||0,s=window.innerHeight;return a+r>s?Math.max(8,s-r-8):a})(),left:(null==(a=x[e.key])?void 0:a.left)+5||0,width:220,maxHeight:400,zIndex:1e3+n},children:Ye.jsx("div",{className:"pozo-submenu-content",children:w(e.children,m,n+1)})})]},e.key)}));return a.useEffect((()=>{const e={};for(const[t,n]of Object.entries(g.current))if(n&&"function"==typeof n.getBoundingClientRect){const i=n.getBoundingClientRect();e[t]={top:i.top+window.scrollY,left:i.right+window.scrollX}}Object.entries(y.current).forEach((([e,t])=>{if(t){t.getBoundingClientRect().height}})),b(e)}),[e,o]),Ye.jsx("div",{className:`pozo-menu pozo-menu-${t}`,style:n,children:Ye.jsx("div",{className:"pozo-menu-content",ref:m,children:w(e)})})},zv="/home/",qv=(e,t,n,i)=>({key:t,icon:n,children:i,label:e}),Wv=(e,t,n,i)=>({key:t,icon:n,children:i,label:e}),Yv=({mode:e,theme:t,items:n})=>{const i=um(),r=Qt(),s=Mt(),l=a.useRef(null),[o,d]=a.useState(!0),[c,u]=a.useState(""),p=()=>{d((e=>!e))},A=async()=>{var e;const t=iA("UserId"),n=await i(fm({UserId:t,status:"N"})).unwrap();1===(null==(e=null==n?void 0:n.data)?void 0:e.statusCode)&&(rA(),r(`${zv}`)),d(!1)},f=a.useCallback((e=>{e===`${zv}setting`&&i($h()),i(ih()),i(ah()),u(e),r(e,{state:{AppName:e}}),d(!1)}),[i,r,zv]),m=a.useCallback((e=>{const{key:t}=e;"logout"===t?A():(f(t),o&&p())}),[A,f,o]),v=(null==n?void 0:n.filter((e=>{var t,n;const i=null==(t=e.key)?void 0:t.toLowerCase(),a=null==(n=e.label)?void 0:n.toLowerCase();return"my profile"!==i&&"profile"!==i&&"my-profile"!==i&&"my profile"!==a&&"profile"!==a})))||[];return a.useEffect((()=>{const e=s.pathname;u(e)}),[s.pathname]),Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{className:"pozo-sidebar "+(o?"":"pozo-sidebar--collapsed"),ref:l,children:[Ye.jsxs("div",{className:"pozo-sidebar__header",children:[Ye.jsx("div",{className:"pozo-sidebar__hamburger-menu",children:Ye.jsx(Fn,{size:30,onClick:p})}),Ye.jsx("div",{className:"pozo-sidebar__logo-container",onClick:()=>r(`${zv}`),children:Ye.jsx("img",{src:Bm,alt:"Pozo Logo",width:"80px",height:"45px",style:{filter:"brightness(10)"}})})]}),Ye.jsxs("div",{className:"pozo-sidebar__menu-container",style:{display:"flex",flexDirection:"column",height:"calc(100vh - 120px)"},children:[Ye.jsx("div",{style:{flex:1,overflowY:"auto"},children:Ye.jsx(Vv,{items:v,mode:"vertical",collapse:!o,selectedKey:c,onClick:m,style:{width:"100%",height:"100%"},isBottomMenu:!1})}),Ye.jsx("div",{className:"pozo-sidebar__bottom-section",style:{padding:"10px 0",marginTop:"auto"},children:Ye.jsx(Vv,{items:[{key:`${zv}landing-page/user-account`,label:"My Profile",icon:Ye.jsx(h,{})},{key:"logout",label:"Sign Out",icon:Ye.jsx(mi,{})}],mode:"vertical",collapse:!o,selectedKey:c,onClick:m,style:{width:"100%"},isBottomMenu:!0})})]})]})})},Kv=()=>{const e=Tf(Xh),t=iA("MobileNo"),n=iA("userName"),i=iA("UserType");return Ye.jsxs("div",{className:"centerPageSub",children:[Ye.jsxs("div",{className:"breadCrumbClass",children:[Ye.jsx("div",{children:(null==e?void 0:e.length)>0&&Ye.jsx(f,{className:"crumb",items:null==e?void 0:e.map((e=>({title:e.link&&e.link!==location.pathname?Ye.jsx(An,{to:e.link,children:e.name}):Ye.jsx("span",{children:e.name})})))})}),Ye.jsxs("div",{className:"tooltip",children:[Ye.jsx("p",{"data-letters":n?(null==n?void 0:n.slice(0,1))+(null==n?void 0:n.slice(-1)):"GU",style:{textTransform:"uppercase",fontFamily:"Gilroy"}}),Ye.jsxs("span",{style:{display:"flex",flexDirection:"column",fontFamily:"Gilroy",padding:"5px",gap:"5px"},className:"tooltiptext",children:[Ye.jsxs("span",{children:[" ",n||(t||"Guest")]})," ",Ye.jsx("span",{children:i})]})]})]}),Ye.jsx("div",{className:"content",children:Ye.jsx(en,{})})]})};function Gv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m10 15.586-3.293-3.293-1.414 1.414L10 18.414l9.707-9.707-1.414-1.414z"}}]})(e)}function $v(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M3 13h1v7c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2v-7h1a1 1 0 0 0 .707-1.707l-9-9a.999.999 0 0 0-1.414 0l-9 9A1 1 0 0 0 3 13zm9-8.586 6 6V15l.001 5H6v-9.586l6-6z"}},{tag:"path",attr:{d:"M12 18c3.703 0 4.901-3.539 4.95-3.689l-1.9-.621c-.008.023-.781 2.31-3.05 2.31-2.238 0-3.02-2.221-3.051-2.316l-1.899.627C7.099 14.461 8.297 18 12 18z"}}]})(e)}function Xv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M4 5h13v7h2V5c0-1.103-.897-2-2-2H4c-1.103 0-2 .897-2 2v12c0 1.103.897 2 2 2h8v-2H4V5z"}},{tag:"path",attr:{d:"m8 11-3 4h11l-4-6-3 4z"}},{tag:"path",attr:{d:"M19 14h-2v3h-3v2h3v3h2v-3h3v-2h-3z"}}]})(e)}function Jv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M10 18a7.952 7.952 0 0 0 4.897-1.688l4.396 4.396 1.414-1.414-4.396-4.396A7.952 7.952 0 0 0 18 10c0-4.411-3.589-8-8-8s-8 3.589-8 8 3.589 8 8 8zm0-14c3.309 0 6 2.691 6 6s-2.691 6-6 6-6-2.691-6-6 2.691-6 6-6z"}}]})(e)}function Zv(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M7.82843 10.9999H20V12.9999H7.82843L13.1924 18.3638L11.7782 19.778L4 11.9999L11.7782 4.22168L13.1924 5.63589L7.82843 10.9999Z"}}]})(e)}function eg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M16.0037 9.41421L7.39712 18.0208L5.98291 16.6066L14.5895 8H7.00373V6H18.0037V17H16.0037V9.41421Z"}}]})(e)}function tg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M21 19.9997C21 20.552 20.5523 20.9997 20 20.9997H4C3.44772 20.9997 3 20.552 3 19.9997V9.48882C3 9.18023 3.14247 8.88893 3.38606 8.69947L11.3861 2.47725C11.7472 2.19639 12.2528 2.19639 12.6139 2.47725L20.6139 8.69947C20.8575 8.88893 21 9.18023 21 9.48882V19.9997ZM19 18.9997V9.97791L12 4.53346L5 9.97791V18.9997H19Z"}}]})(e)}function ng(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M17 15.2454V22.1169C17 22.393 16.7761 22.617 16.5 22.617C16.4094 22.617 16.3205 22.5923 16.2428 22.5457L12 20L7.75725 22.5457C7.52046 22.6877 7.21333 22.6109 7.07125 22.3742C7.02463 22.2964 7 22.2075 7 22.1169V15.2454C5.17107 13.7793 4 11.5264 4 9C4 4.58172 7.58172 1 12 1C16.4183 1 20 4.58172 20 9C20 11.5264 18.8289 13.7793 17 15.2454ZM9 16.4185V19.4676L12 17.6676L15 19.4676V16.4185C14.0736 16.7935 13.0609 17 12 17C10.9391 17 9.92643 16.7935 9 16.4185ZM12 15C15.3137 15 18 12.3137 18 9C18 5.68629 15.3137 3 12 3C8.68629 3 6 5.68629 6 9C6 12.3137 8.68629 15 12 15Z"}}]})(e)}function ig(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z"}}]})(e)}function ag(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z"}}]})(e)}function rg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M10.007 2.10377C8.60544 1.65006 7.08181 2.28116 6.41156 3.59306L5.60578 5.17023C5.51004 5.35763 5.35763 5.51004 5.17023 5.60578L3.59306 6.41156C2.28116 7.08181 1.65006 8.60544 2.10377 10.007L2.64923 11.692C2.71404 11.8922 2.71404 12.1078 2.64923 12.308L2.10377 13.993C1.65006 15.3946 2.28116 16.9182 3.59306 17.5885L5.17023 18.3942C5.35763 18.49 5.51004 18.6424 5.60578 18.8298L6.41156 20.407C7.08181 21.7189 8.60544 22.35 10.007 21.8963L11.692 21.3508C11.8922 21.286 12.1078 21.286 12.308 21.3508L13.993 21.8963C15.3946 22.35 16.9182 21.7189 17.5885 20.407L18.3942 18.8298C18.49 18.6424 18.6424 18.49 18.8298 18.3942L20.407 17.5885C21.7189 16.9182 22.35 15.3946 21.8963 13.993L21.3508 12.308C21.286 12.1078 21.286 11.8922 21.3508 11.692L21.8963 10.007C22.35 8.60544 21.7189 7.08181 20.407 6.41156L18.8298 5.60578C18.6424 5.51004 18.49 5.35763 18.3942 5.17023L17.5885 3.59306C16.9182 2.28116 15.3946 1.65006 13.993 2.10377L12.308 2.64923C12.1078 2.71403 11.8922 2.71404 11.692 2.64923L10.007 2.10377ZM6.75977 11.7573L8.17399 10.343L11.0024 13.1715L16.6593 7.51465L18.0735 8.92886L11.0024 15.9999L6.75977 11.7573Z"}}]})(e)}function sg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z"}}]})(e)}function lg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM7 6H11V10H7V6ZM7 12H17V14H7V12ZM7 16H17V18H7V16ZM13 7H17V9H13V7Z"}}]})(e)}function og(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.0049 2L18.3032 4.28071C18.7206 4.41117 19.0049 4.79781 19.0049 5.23519V7H21.0049C21.5572 7 22.0049 7.44772 22.0049 8V16C22.0049 16.5523 21.5572 17 21.0049 17L17.7848 17.0011C17.3982 17.5108 16.9276 17.9618 16.3849 18.3318L11.0049 22L5.62486 18.3318C3.98563 17.2141 3.00488 15.3584 3.00488 13.3744V5.23519C3.00488 4.79781 3.28913 4.41117 3.70661 4.28071L11.0049 2ZM11.0049 4.094L5.00488 5.97V13.3744C5.00488 14.6193 5.58406 15.7884 6.56329 16.5428L6.75154 16.6793L11.0049 19.579L14.7869 17H10.0049C9.4526 17 9.00488 16.5523 9.00488 16V8C9.00488 7.44772 9.4526 7 10.0049 7H17.0049V5.97L11.0049 4.094ZM11.0049 12V15H20.0049V12H11.0049ZM11.0049 10H20.0049V9H11.0049V10Z"}}]})(e)}function dg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12.001 4.52853C14.35 2.42 17.98 2.49 20.2426 4.75736C22.5053 7.02472 22.583 10.637 20.4786 12.993L11.9999 21.485L3.52138 12.993C1.41705 10.637 1.49571 7.01901 3.75736 4.75736C6.02157 2.49315 9.64519 2.41687 12.001 4.52853ZM18.827 6.1701C17.3279 4.66794 14.9076 4.60701 13.337 6.01687L12.0019 7.21524L10.6661 6.01781C9.09098 4.60597 6.67506 4.66808 5.17157 6.17157C3.68183 7.66131 3.60704 10.0473 4.97993 11.6232L11.9999 18.6543L19.0201 11.6232C20.3935 10.0467 20.319 7.66525 18.827 6.1701Z"}}]})(e)}function cg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M13.0281 2.00098C14.1535 2.00284 14.7238 2.00879 15.2166 2.02346L15.4107 2.02981C15.6349 2.03778 15.8561 2.04778 16.1228 2.06028C17.1869 2.10944 17.9128 2.27778 18.5503 2.52528C19.2094 2.77944 19.7661 3.12278 20.3219 3.67861C20.8769 4.23444 21.2203 4.79278 21.4753 5.45028C21.7219 6.08694 21.8903 6.81361 21.9403 7.87778C21.9522 8.14444 21.9618 8.36564 21.9697 8.58989L21.976 8.78397C21.9906 9.27672 21.9973 9.8471 21.9994 10.9725L22.0002 11.7182C22.0003 11.8093 22.0003 11.9033 22.0003 12.0003L22.0002 12.2824L21.9996 13.0281C21.9977 14.1535 21.9918 14.7238 21.9771 15.2166L21.9707 15.4107C21.9628 15.6349 21.9528 15.8561 21.9403 16.1228C21.8911 17.1869 21.7219 17.9128 21.4753 18.5503C21.2211 19.2094 20.8769 19.7661 20.3219 20.3219C19.7661 20.8769 19.2069 21.2203 18.5503 21.4753C17.9128 21.7219 17.1869 21.8903 16.1228 21.9403C15.8561 21.9522 15.6349 21.9618 15.4107 21.9697L15.2166 21.976C14.7238 21.9906 14.1535 21.9973 13.0281 21.9994L12.2824 22.0002C12.1913 22.0003 12.0973 22.0003 12.0003 22.0003L11.7182 22.0002L10.9725 21.9996C9.8471 21.9977 9.27672 21.9918 8.78397 21.9771L8.58989 21.9707C8.36564 21.9628 8.14444 21.9528 7.87778 21.9403C6.81361 21.8911 6.08861 21.7219 5.45028 21.4753C4.79194 21.2211 4.23444 20.8769 3.67861 20.3219C3.12278 19.7661 2.78028 19.2069 2.52528 18.5503C2.27778 17.9128 2.11028 17.1869 2.06028 16.1228C2.0484 15.8561 2.03871 15.6349 2.03086 15.4107L2.02457 15.2166C2.00994 14.7238 2.00327 14.1535 2.00111 13.0281L2.00098 10.9725C2.00284 9.8471 2.00879 9.27672 2.02346 8.78397L2.02981 8.58989C2.03778 8.36564 2.04778 8.14444 2.06028 7.87778C2.10944 6.81278 2.27778 6.08778 2.52528 5.45028C2.77944 4.79194 3.12278 4.23444 3.67861 3.67861C4.23444 3.12278 4.79278 2.78028 5.45028 2.52528C6.08778 2.27778 6.81278 2.11028 7.87778 2.06028C8.14444 2.0484 8.36564 2.03871 8.58989 2.03086L8.78397 2.02457C9.27672 2.00994 9.8471 2.00327 10.9725 2.00111L13.0281 2.00098ZM12.0003 7.00028C9.23738 7.00028 7.00028 9.23981 7.00028 12.0003C7.00028 14.7632 9.23981 17.0003 12.0003 17.0003C14.7632 17.0003 17.0003 14.7607 17.0003 12.0003C17.0003 9.23738 14.7607 7.00028 12.0003 7.00028ZM12.0003 9.00028C13.6572 9.00028 15.0003 10.3429 15.0003 12.0003C15.0003 13.6572 13.6576 15.0003 12.0003 15.0003C10.3434 15.0003 9.00028 13.6576 9.00028 12.0003C9.00028 10.3434 10.3429 9.00028 12.0003 9.00028ZM17.2503 5.50028C16.561 5.50028 16.0003 6.06018 16.0003 6.74943C16.0003 7.43867 16.5602 7.99944 17.2503 7.99944C17.9395 7.99944 18.5003 7.43954 18.5003 6.74943C18.5003 6.06018 17.9386 5.49941 17.2503 5.50028Z"}}]})(e)}function ug(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M18.2048 2.25H21.5128L14.2858 10.51L22.7878 21.75H16.1308L10.9168 14.933L4.95084 21.75H1.64084L9.37084 12.915L1.21484 2.25H8.04084L12.7538 8.481L18.2048 2.25ZM17.0438 19.77H18.8768L7.04484 4.126H5.07784L17.0438 19.77Z"}}]})(e)}function pg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12.001 2C17.5238 2 22.001 6.47715 22.001 12C22.001 17.5228 17.5238 22 12.001 22C10.1671 22 8.44851 21.5064 6.97086 20.6447L2.00516 22L3.35712 17.0315C2.49494 15.5536 2.00098 13.8345 2.00098 12C2.00098 6.47715 6.47813 2 12.001 2ZM8.59339 7.30019L8.39232 7.30833C8.26293 7.31742 8.13607 7.34902 8.02057 7.40811C7.93392 7.45244 7.85348 7.51651 7.72709 7.63586C7.60774 7.74855 7.53857 7.84697 7.46569 7.94186C7.09599 8.4232 6.89729 9.01405 6.90098 9.62098C6.90299 10.1116 7.03043 10.5884 7.23169 11.0336C7.63982 11.9364 8.31288 12.8908 9.20194 13.7759C9.4155 13.9885 9.62473 14.2034 9.85034 14.402C10.9538 15.3736 12.2688 16.0742 13.6907 16.4482C13.6907 16.4482 14.2507 16.5342 14.2589 16.5347C14.4444 16.5447 14.6296 16.5313 14.8153 16.5218C15.1066 16.5068 15.391 16.428 15.6484 16.2909C15.8139 16.2028 15.8922 16.159 16.0311 16.0714C16.0311 16.0714 16.0737 16.0426 16.1559 15.9814C16.2909 15.8808 16.3743 15.81 16.4866 15.6934C16.5694 15.6074 16.6406 15.5058 16.6956 15.3913C16.7738 15.2281 16.8525 14.9166 16.8838 14.6579C16.9077 14.4603 16.9005 14.3523 16.8979 14.2854C16.8936 14.1778 16.8047 14.0671 16.7073 14.0201L16.1258 13.7587C16.1258 13.7587 15.2563 13.3803 14.7245 13.1377C14.6691 13.1124 14.6085 13.1007 14.5476 13.097C14.4142 13.0888 14.2647 13.1236 14.1696 13.2238C14.1646 13.2218 14.0984 13.279 13.3749 14.1555C13.335 14.2032 13.2415 14.3069 13.0798 14.2972C13.0554 14.2955 13.0311 14.292 13.0074 14.2858C12.9419 14.2685 12.8781 14.2457 12.8157 14.2193C12.692 14.1668 12.6486 14.1469 12.5641 14.1105C11.9868 13.8583 11.457 13.5209 10.9887 13.108C10.8631 12.9974 10.7463 12.8783 10.6259 12.7616C10.2057 12.3543 9.86169 11.9211 9.60577 11.4938C9.5918 11.4705 9.57027 11.4368 9.54708 11.3991C9.50521 11.331 9.45903 11.25 9.44455 11.1944C9.40738 11.0473 9.50599 10.9291 9.50599 10.9291C9.50599 10.9291 9.74939 10.663 9.86248 10.5183C9.97128 10.379 10.0652 10.2428 10.125 10.1457C10.2428 9.95633 10.2801 9.76062 10.2182 9.60963C9.93764 8.92565 9.64818 8.24536 9.34986 7.56894C9.29098 7.43545 9.11585 7.33846 8.95659 7.32007C8.90265 7.31384 8.84875 7.30758 8.79459 7.30402C8.66053 7.29748 8.5262 7.29892 8.39232 7.30833L8.59339 7.30019Z"}}]})(e)}function Ag(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M4.99958 12.9998C4.99958 7.91186 7.90222 3.56348 11.9996 1.81787C16.0969 3.56348 18.9996 7.91186 18.9996 12.9998C18.9996 13.8227 18.9236 14.6263 18.779 15.4026L20.7194 17.2352C20.8845 17.3911 20.9238 17.6388 20.815 17.8381L18.3196 22.4132C18.1873 22.6556 17.8836 22.7449 17.6412 22.6127C17.5993 22.5898 17.5608 22.5611 17.5271 22.5273L15.2925 20.2927C15.1049 20.1052 14.8506 19.9998 14.5854 19.9998H9.41379C9.14857 19.9998 8.89422 20.1052 8.70668 20.2927L6.47209 22.5273C6.27683 22.7226 5.96025 22.7226 5.76498 22.5273C5.73122 22.4935 5.70246 22.4551 5.67959 22.4132L3.18412 17.8381C3.07537 17.6388 3.11464 17.3911 3.27975 17.2352L5.22014 15.4026C5.07551 14.6263 4.99958 13.8227 4.99958 12.9998ZM6.47542 19.6955L7.29247 18.8785C7.85508 18.3159 8.61814 17.9998 9.41379 17.9998H14.5854C15.381 17.9998 16.1441 18.3159 16.7067 18.8785L17.5237 19.6955L18.5056 17.8954L17.4058 16.8566C16.9117 16.39 16.6884 15.7044 16.8128 15.0363C16.9366 14.3721 16.9996 13.691 16.9996 12.9998C16.9996 9.13025 15.0045 5.69953 11.9996 4.04021C8.99462 5.69953 6.99958 9.13025 6.99958 12.9998C6.99958 13.691 7.06255 14.3721 7.18631 15.0363C7.31078 15.7044 7.08746 16.39 6.59338 16.8566L5.49353 17.8954L6.47542 19.6955ZM11.9996 12.9998C10.895 12.9998 9.99958 12.1044 9.99958 10.9998C9.99958 9.89525 10.895 8.99982 11.9996 8.99982C13.1041 8.99982 13.9996 9.89525 13.9996 10.9998C13.9996 12.1044 13.1041 12.9998 11.9996 12.9998Z"}}]})(e)}function hg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z"}}]})(e)}function fg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M19.376 12.4158L8.77735 19.4816C8.54759 19.6348 8.23715 19.5727 8.08397 19.3429C8.02922 19.2608 8 19.1643 8 19.0656V4.93408C8 4.65794 8.22386 4.43408 8.5 4.43408C8.59871 4.43408 8.69522 4.4633 8.77735 4.51806L19.376 11.5838C19.6057 11.737 19.6678 12.0474 19.5146 12.2772C19.478 12.3321 19.4309 12.3792 19.376 12.4158Z"}}]})(e)}function mg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z"}}]})(e)}function vg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M9.97308 18H11V13H13V18H14.0269C14.1589 16.7984 14.7721 15.8065 15.7676 14.7226C15.8797 14.6006 16.5988 13.8564 16.6841 13.7501C17.5318 12.6931 18 11.385 18 10C18 6.68629 15.3137 4 12 4C8.68629 4 6 6.68629 6 10C6 11.3843 6.46774 12.6917 7.31462 13.7484C7.40004 13.855 8.12081 14.6012 8.23154 14.7218C9.22766 15.8064 9.84103 16.7984 9.97308 18ZM10 20V21H14V20H10ZM5.75395 14.9992C4.65645 13.6297 4 11.8915 4 10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10C20 11.8925 19.3428 13.6315 18.2443 15.0014C17.624 15.7748 16 17 16 18.5V21C16 22.1046 15.1046 23 14 23H10C8.89543 23 8 22.1046 8 21V18.5C8 17 6.37458 15.7736 5.75395 14.9992Z"}}]})(e)}function gg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12.0007 10.5865L16.9504 5.63672L18.3646 7.05093L13.4149 12.0007L18.3646 16.9504L16.9504 18.3646L12.0007 13.4149L7.05093 18.3646L5.63672 16.9504L10.5865 12.0007L5.63672 7.05093L7.05093 5.63672L12.0007 10.5865Z"}}]})(e)}function yg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M3 19H21V21H3V19ZM13 13.1716L19.0711 7.1005L20.4853 8.51472L12 17L3.51472 8.51472L4.92893 7.1005L11 13.1716V2H13V13.1716Z"}}]})(e)}function xg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z"}}]})(e)}function bg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM13 13.3551V14H11V12.5C11 11.9477 11.4477 11.5 12 11.5C12.8284 11.5 13.5 10.8284 13.5 10C13.5 9.17157 12.8284 8.5 12 8.5C11.2723 8.5 10.6656 9.01823 10.5288 9.70577L8.56731 9.31346C8.88637 7.70919 10.302 6.5 12 6.5C13.933 6.5 15.5 8.067 15.5 10C15.5 11.5855 14.4457 12.9248 13 13.3551Z"}}]})(e)}function wg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z"}}]})(e)}function jg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z"}}]})(e)}function Cg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M13.1202 17.0228L8.92129 14.7324C8.19135 15.5125 7.15261 16 6 16C3.79086 16 2 14.2091 2 12C2 9.79086 3.79086 8 6 8C7.15255 8 8.19125 8.48746 8.92118 9.26746L13.1202 6.97713C13.0417 6.66441 13 6.33707 13 6C13 3.79086 14.7909 2 17 2C19.2091 2 21 3.79086 21 6C21 8.20914 19.2091 10 17 10C15.8474 10 14.8087 9.51251 14.0787 8.73246L9.87977 11.0228C9.9583 11.3355 10 11.6629 10 12C10 12.3371 9.95831 12.6644 9.87981 12.9771L14.0788 15.2675C14.8087 14.4875 15.8474 14 17 14C19.2091 14 21 15.7909 21 18C21 20.2091 19.2091 22 17 22C14.7909 22 13 20.2091 13 18C13 17.6629 13.0417 17.3355 13.1202 17.0228ZM6 14C7.10457 14 8 13.1046 8 12C8 10.8954 7.10457 10 6 10C4.89543 10 4 10.8954 4 12C4 13.1046 4.89543 14 6 14ZM17 8C18.1046 8 19 7.10457 19 6C19 4.89543 18.1046 4 17 4C15.8954 4 15 4.89543 15 6C15 7.10457 15.8954 8 17 8ZM17 20C18.1046 20 19 19.1046 19 18C19 16.8954 18.1046 16 17 16C15.8954 16 15 16.8954 15 18C15 19.1046 15.8954 20 17 20Z"}}]})(e)}function Sg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 1L20.2169 2.82598C20.6745 2.92766 21 3.33347 21 3.80217V13.7889C21 15.795 19.9974 17.6684 18.3282 18.7812L12 23L5.6718 18.7812C4.00261 17.6684 3 15.795 3 13.7889V3.80217C3 3.33347 3.32553 2.92766 3.78307 2.82598L12 1ZM12 3.04879L5 4.60434V13.7889C5 15.1263 5.6684 16.3752 6.7812 17.1171L12 20.5963L17.2188 17.1171C18.3316 16.3752 19 15.1263 19 13.7889V4.60434L12 3.04879ZM16.4524 8.22183L17.8666 9.63604L11.5026 16L7.25999 11.7574L8.67421 10.3431L11.5019 13.1709L16.4524 8.22183Z"}}]})(e)}function Ng(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 11C14.7614 11 17 13.2386 17 16V22H15V16C15 14.4023 13.7511 13.0963 12.1763 13.0051L12 13C10.4023 13 9.09634 14.2489 9.00509 15.8237L9 16V22H7V16C7 13.2386 9.23858 11 12 11ZM5.5 14C5.77885 14 6.05009 14.0326 6.3101 14.0942C6.14202 14.594 6.03873 15.122 6.00896 15.6693L6 16L6.0007 16.0856C5.88757 16.0456 5.76821 16.0187 5.64446 16.0069L5.5 16C4.7203 16 4.07955 16.5949 4.00687 17.3555L4 17.5V22H2V17.5C2 15.567 3.567 14 5.5 14ZM18.5 14C20.433 14 22 15.567 22 17.5V22H20V17.5C20 16.7203 19.4051 16.0796 18.6445 16.0069L18.5 16C18.3248 16 18.1566 16.03 18.0003 16.0852L18 16C18 15.3343 17.8916 14.694 17.6915 14.0956C17.9499 14.0326 18.2211 14 18.5 14ZM5.5 8C6.88071 8 8 9.11929 8 10.5C8 11.8807 6.88071 13 5.5 13C4.11929 13 3 11.8807 3 10.5C3 9.11929 4.11929 8 5.5 8ZM18.5 8C19.8807 8 21 9.11929 21 10.5C21 11.8807 19.8807 13 18.5 13C17.1193 13 16 11.8807 16 10.5C16 9.11929 17.1193 8 18.5 8ZM5.5 10C5.22386 10 5 10.2239 5 10.5C5 10.7761 5.22386 11 5.5 11C5.77614 11 6 10.7761 6 10.5C6 10.2239 5.77614 10 5.5 10ZM18.5 10C18.2239 10 18 10.2239 18 10.5C18 10.7761 18.2239 11 18.5 11C18.7761 11 19 10.7761 19 10.5C19 10.2239 18.7761 10 18.5 10ZM12 2C14.2091 2 16 3.79086 16 6C16 8.20914 14.2091 10 12 10C9.79086 10 8 8.20914 8 6C8 3.79086 9.79086 2 12 2ZM12 4C10.8954 4 10 4.89543 10 6C10 7.10457 10.8954 8 12 8C13.1046 8 14 7.10457 14 6C14 4.89543 13.1046 4 12 4Z"}}]})(e)}function Ig(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z"}}]})(e)}function Fg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z"}}]})(e)}const Bg=Ja("homePage/getPurchasedApp",(async({UserId:e})=>{if(null!=e&&null!=e)return await fA.get(`/userAppMap?UserId=${e}`)}));Ja("homePage/getPurchasedAppFeatures",(async({UserId:e,AppId:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await fA.get(`/userAppMap?UserId=${e}&AppId=${t}&Type=IE`)}));const Pg=Ja("homePage/getAllPurchasedDetails",(async()=>await fA.get("/userAppMap"))),kg=Ja("homePage/getAllFailedPurchasedDetails",(async()=>await fA.get("/userAppMap?paymentStatus=F"))),Tg=Ja("homePage/getAllFailedPurchasedDetailsFilter",(async e=>{let t;return null!=(null==e?void 0:e.Year)&&null!=(null==e?void 0:e.Year)&&(t=`userAppMap?paymentStatus=F&year=${null==e?void 0:e.Year}`),null!=(null==e?void 0:e.Month)&&null!=(null==e?void 0:e.Month)&&(t=`userAppMap?paymentStatus=F&monthYear=${null==e?void 0:e.Month}`),null!=(null==e?void 0:e.Fromdate)&&null!=(null==e?void 0:e.Fromdate)&&null!=(null==e?void 0:e.Todate)&&null!=(null==e?void 0:e.Todate)&&(t=`userAppMap?paymentStatus=F&fromDate=${null==e?void 0:e.Fromdate}&toDate=${null==e?void 0:e.Todate}`),await fA.get(`/${t}`)})),Eg=Ja("homePage/getAllPurchasedDetailsFilter",(async e=>{let t;return null!=(null==e?void 0:e.Year)&&null!=(null==e?void 0:e.Year)&&(t=`userAppMap?year=${null==e?void 0:e.Year}`),null!=(null==e?void 0:e.Month)&&null!=(null==e?void 0:e.Month)&&(t=`userAppMap?monthYear=${null==e?void 0:e.Month}`),null!=(null==e?void 0:e.Fromdate)&&null!=(null==e?void 0:e.Fromdate)&&null!=(null==e?void 0:e.Todate)&&null!=(null==e?void 0:e.Todate)&&(t=`userAppMap?fromDate=${null==e?void 0:e.Fromdate}&toDate=${null==e?void 0:e.Todate}`),await fA.get(`/${t}`)})),Dg=Ja("homePage/getTypePurchasedApp",(async({UserId:e})=>{if(null!=e&&null!=e)return await fA.get(`/userAppMap?UserId=${e}&Type=P`)})),Lg=Ja("homePage/getAppAccess",(async({UserId:e})=>{if(null!=e&&null!=e)return await fA.get(`/appAccess?UserId=${e}`)})),Ug=Ja("putDeafaulBranch/putDeafaulBranch",(async e=>await fA.put("/appAccess",e))),_g=Ja("getDeafaul/getDeafaulBranch",(async e=>{if(null!=e.UserId&&null!=e.UserId&&null!=e.AppId&&null!=e.AppId)return await fA.get(`/appAccess?UserId=${e.UserId}&AppId=${e.AppId}&Type=DB`)})),Og=Ja("homePage/getPurchasedAppFilter",(async e=>{let t;return null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)&&(null!=(null==e?void 0:e.Year)&&null!=(null==e?void 0:e.Year)&&(t=`userAppMap?UserId=${null==e?void 0:e.UserId}&year=${null==e?void 0:e.Year}&Type=P`),null!=(null==e?void 0:e.Month)&&null!=(null==e?void 0:e.Month)&&(t=`userAppMap?UserId=${null==e?void 0:e.UserId}&monthYear=${null==e?void 0:e.Month}&Type=P`),null!=(null==e?void 0:e.Fromdate)&&null!=(null==e?void 0:e.Fromdate)&&null!=(null==e?void 0:e.Todate)&&null!=(null==e?void 0:e.Todate)&&(t=`userAppMap?UserId=${null==e?void 0:e.UserId}&fromDate=${null==e?void 0:e.Fromdate}&toDate=${null==e?void 0:e.Todate}&Type=P`)),await fA.get(`/${t}`)})),Mg=Ya({name:"homePage",initialState:{purchasedApp:[],purchasedTypeApp:[],AppAccess:[],failedpurchasedTypeApp:[],purchasedTypeAppFilter:[]},extraReducers:e=>{e.addCase(Bg.fulfilled,((e,t)=>{var n,i,a,r;(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?e.purchasedApp=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data:e.purchasedApp=[]})),e.addCase(Dg.fulfilled,((e,t)=>{var n,i,a,r,s,l;(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?(e.purchasedTypeApp=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data,e.purchasedTypeAppFilter=null==(l=null==(s=null==t?void 0:t.payload)?void 0:s.data)?void 0:l.data):(e.purchasedTypeApp=[],e.purchasedTypeAppFilter=[])})),e.addCase(Pg.fulfilled,((e,t)=>{var n,i,a,r,s,l;(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?(e.purchasedTypeApp=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data,e.purchasedTypeAppFilter=null==(l=null==(s=null==t?void 0:t.payload)?void 0:s.data)?void 0:l.data):(e.purchasedTypeApp=[],e.purchasedTypeAppFilter=[])})),e.addCase(Eg.fulfilled,((e,t)=>{var n,i,a,r;(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?e.purchasedTypeAppFilter=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data:e.purchasedTypeAppFilter=[]})),e.addCase(Og.fulfilled,((e,t)=>{var n,i,a,r;(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?e.purchasedTypeAppFilter=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data:e.purchasedTypeAppFilter=[]})),e.addCase(kg.fulfilled,((e,t)=>{var n,i,a,r;(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?e.failedpurchasedTypeApp=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data:e.failedpurchasedTypeApp=[]})),e.addCase(Tg.fulfilled,((e,t)=>{var n,i,a,r;(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?e.failedpurchasedTypeApp=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data:e.failedpurchasedTypeApp=[]})),e.addCase(Lg.fulfilled,((e,t)=>{var n,i,a,r;(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)?e.AppAccess=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data:e.AppAccess=[]}))}}),Rg=e=>e.homePage.failedpurchasedTypeApp,Qg=e=>e.homePage.purchasedTypeAppFilter,Hg=Mg.reducer,Vg=Ja("superAdminAccess/postSuperAdminUserAccess",(async e=>await fA.post("/SuperAdminUserAccess",e))),zg=Ja("superAdminAccess/getSuperAdminUserAccess",(async({UserId:e})=>await fA.get(`/SuperAdminUserAccess?userId=${e}`))),qg=Ja("superAdminAccess/getSuperAllAdminUserAccess",(async()=>await fA.get("/SuperAdminUserAccess"))),Wg=Ja("superAdminAccess/putSuperAdminUserAccessData",(async e=>await fA.put("/SuperAdminUserAccess",e))),Yg=Ja("moduleAccess/getSadminUser",(async({UserType:e="Super Admin User"})=>await fA.get(`/login?Type=${e}`))),Kg=Ya({name:"superAdminUserAccess",initialState:{SuperAdminUserAccessData:[],loading:!1,error:null},extraReducers:e=>{e.addCase(zg.fulfilled,((e,t)=>{var n,i,a,r,s;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.SuperAdminUserAccessData=(null==(s=null==(r=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data)?void 0:r[0])?void 0:s.SuperAdminUserAccessDetails)||[]:e.SuperAdminUserAccessData=[],e.loading=!1}))}}),Gg=e=>{var t;return null==(t=null==e?void 0:e.superAdminUserAccess)?void 0:t.SuperAdminUserAccessData},$g=Kg.reducer;function Xg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M80 176a16 16 0 00-16 16v216c0 30.24 25.76 56 56 56h272c30.24 0 56-24.51 56-54.75V192a16 16 0 00-16-16zm80 0v-32a96 96 0 0196-96h0a96 96 0 0196 96v32"}},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M160 224v16a96 96 0 0096 96h0a96 96 0 0096-96v-16"}}]})(e)}function Jg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M461.93 261.05c-2-4.76-6.71-7.83-11.67-9.49l-187.18-74.48a23.78 23.78 0 00-14.17 0l-187 74.52c-5 1.56-9.83 4.77-11.81 9.53s-2.94 9.37-1 15.08l46.53 119.15a7.46 7.46 0 007.47 4.64c26.69-1.68 50.31-15.23 68.38-32.5a7.66 7.66 0 0110.49 0C201.29 386 227 400 256 400s54.56-14 73.88-32.54a7.67 7.67 0 0110.5 0c18.07 17.28 41.69 30.86 68.38 32.54a7.45 7.45 0 007.46-4.61l46.7-119.16c1.98-4.78.99-10.41-.99-15.18z"}},{tag:"path",attr:{d:"M416 473.14a6.84 6.84 0 00-3.56-6c-27.08-14.55-51.77-36.82-62.63-48a10.05 10.05 0 00-12.72-1.51c-50.33 32.42-111.61 32.44-161.95.05a10.09 10.09 0 00-12.82 1.56c-10.77 11.28-35.19 33.3-62.43 47.75a7.15 7.15 0 00-3.89 5.73 6.73 6.73 0 007.92 7.15c20.85-4.18 41-13.68 60.2-23.83a8.71 8.71 0 018-.06A185.14 185.14 0 00340 456a8.82 8.82 0 018.09.06c19.1 10 39.22 19.59 60 23.8a6.72 6.72 0 007.95-6.71z"}},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M320 96V72a24.07 24.07 0 00-24-24h-80a24.07 24.07 0 00-24 24v24m224 137v-89a48.14 48.14 0 00-48-48H144a48.14 48.14 0 00-48 48v92m160-52.4v212.85"}}]})(e)}function Zg(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"M328 112L184 256l144 144"}}]})(e)}function ey(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"}}]})(e)}function ty(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"64"}},{tag:"path",attr:{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 00-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 00-.1-34.76zM256 352a96 96 0 1196-96 96.11 96.11 0 01-96 96z"}}]})(e)}function ny(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"rect",attr:{width:"256",height:"480",x:"128",y:"16",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",rx:"48",ry:"48"}},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M176 16h24a8 8 0 018 8h0a16 16 0 0016 16h64a16 16 0 0016-16h0a8 8 0 018-8h24"}}]})(e)}function iy(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M366.05 146a46.7 46.7 0 01-2.42-63.42 3.87 3.87 0 00-.22-5.26l-44.13-44.18a3.89 3.89 0 00-5.5 0l-70.34 70.34a23.62 23.62 0 00-5.71 9.24h0a23.66 23.66 0 01-14.95 15h0a23.7 23.7 0 00-9.25 5.71L33.14 313.78a3.89 3.89 0 000 5.5l44.13 44.13a3.87 3.87 0 005.26.22 46.69 46.69 0 0165.84 65.84 3.87 3.87 0 00.22 5.26l44.13 44.13a3.89 3.89 0 005.5 0l180.4-180.39a23.7 23.7 0 005.71-9.25h0a23.66 23.66 0 0114.95-15h0a23.62 23.62 0 009.24-5.71l70.34-70.34a3.89 3.89 0 000-5.5l-44.13-44.13a3.87 3.87 0 00-5.26-.22 46.7 46.7 0 01-63.42-2.32z"}},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M250.5 140.44l-16.51-16.51m60.53 60.53l-11.01-11m55.03 55.03l-11-11.01m60.53 60.53l-16.51-16.51"}}]})(e)}function ay(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64z"}},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 128v144h96"}}]})(e)}function ry(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M85.57 446.25h340.86a32 32 0 0028.17-47.17L284.18 82.58c-12.09-22.44-44.27-22.44-56.36 0L57.4 399.08a32 32 0 0028.17 47.17z"}},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M250.26 195.39l5.74 122 5.73-121.95a5.74 5.74 0 00-5.79-6h0a5.74 5.74 0 00-5.68 5.95z"}},{tag:"path",attr:{d:"M256 397.25a20 20 0 1120-20 20 20 0 01-20 20z"}}]})(e)}const sy=iA("UserType"),ly=Ja("branch/getBranchData",(async()=>await fA.get("/branch"))),oy=Ja("branch/getBranchData",(async({CompId:e,AppId:t})=>await fA.get(`/branch?compId=${e}&appId=${t}`))),dy=Ja("branch/postBranchData",(async e=>await fA.post("/branch",e))),cy=Ja("branch/putBranchData",(async e=>await fA.put("/branch",e))),uy=Ja("branch/deleteBranchData",(async e=>await fA.delete("/branch",{params:e}))),py=Ja("branch/getActiveBranchData",(async()=>await fA.get("/branch?ActiveStatus=A"))),Ay=Ja("branch/getActiveAdminData",(async()=>await fA.get("/user?UserType=A"))),hy=Ja("login/getAdminNames",(async()=>await fA.get("/login?Type=Admin"))),fy=Ja("branch/getBranchAdminUsers",(async e=>{if(null!=e&&null!=e)return await fA.get(`/branch?UserId=${e}`)})),my=Ja("branch/getBranchAdminUsers",(async e=>null!=e&&null!=e?await fA.get(`/branch?UserId=${e}&Type=W`):await fA.get("/branch?Type=W"))),vy=Ja("userAppMap/getBranchApplications",(async e=>null!=e&&null!=e?await fA.get(`/userAppMap?UserId=${e}`):await fA.get("/userAppMap"))),gy=Ja("appAccess/getApplicationCompany",(async e=>{if(null!=e&&null!=e)return await fA.get(`/appAccess?AppId=${e}`)})),yy=Ja("appAccess/getUserAppCompany",(async e=>{if(null!=e.UserId&&null!=e.UserId&&null!=e.AppId&&null!=e.AppId)return await fA.get(`/appAccess?UserId=${e.UserId}&AppId=${e.AppId}`)})),xy=Ja("appAccess/checkTrialBranch",(async e=>{if(null!=e.UserId&&null!=e.UserId&&null!=e.AppId&&null!=e.AppId)return await fA.get(`/appAccess?UserId=${e.UserId}&AppId=${e.AppId}&Type=T`)})),by=Ja("branch/getCompanyDataBasedOnApp",(async({UserId:e,AppId:t,CompId:n})=>{if(null!=e&&null!=e&&null!=t&&null!=t&&null!=n&&null!=n)return await fA.get(`/appAccess?UserId=${e}&AppId=${t}&CompId=${n}`)})),wy=Ja("branch/getCompanyDataBasedOnApp",(async({UserId:e,AppId:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await fA.get(`/appAccess?UserId=${e}&AppId=${t}`)})),jy=Ja("branch/getActiveAppData",(async e=>{if(null!=e&&null!=e)return await fA.get(`/appAccess?UserId=${e}&Type=AD&ActiveStatus=A`)}));Ja("branch/getActiveAdminData",(async()=>await fA.get("/user?UserType=NA")));const Cy=Ja("branch/getUseridbasedbranchdata",(async({UserId:e})=>{if(null!=e&&null!=e)return await fA.get(`/appAccess?UserId=${e}`)}));Ja("wareHouse/postWarehouseData",(async e=>await fA.post("/warehouse",e)));const Sy=Ya({name:"branch",initialState:{branchData:[],branchActiveData:[],AdminNames:[],BranchAdminUsers:[],BranchApplicationNames:[],ApplicationCompany:[],UserAppCompany:[],BranchCounts:[],AppPreferences:[]},reducers:{companyname:(e,t)=>{e.UserAppCompany=[]}},extraReducers:e=>{e.addCase(Ny.fulfilled,((e,t)=>{var n,i;if(200===(null==(n=null==t?void 0:t.payload)?void 0:n.status)){const{data:n}=null==t?void 0:t.payload;(null==(i=null==n?void 0:n.data)?void 0:i.length)>0?e.AppPreferences=null==n?void 0:n.data:e.AppPreferences=[]}})),e.addCase(ly.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.branchData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.branchData=[]})),e.addCase(py.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.branchActiveData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.branchActiveData=[]})),e.addCase(hy.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.AdminNames=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.AdminNames=[]})),e.addCase(fy.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.BranchAdminUsers=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.BranchAdminUsers=[]})),e.addCase(vy.fulfilled,((e,t)=>{var n,i,a,r,s,l;if(null==(n=null==t?void 0:t.payload)?void 0:n.status)if("Admin"===sy||"Admin User"===sy){let n=new Date,s=null==(r=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data)?void 0:r.filter((e=>new Date(e.ValidityEnd)>=n));e.BranchApplicationNames=s}else e.BranchApplicationNames=null==(l=null==(s=null==t?void 0:t.payload)?void 0:s.data)?void 0:l.data;else e.BranchApplicationNames=[]})),e.addCase(gy.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?(e.ApplicationCompany=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data,e.UserAppCompany=[]):(e.ApplicationCompany=[],e.UserAppCompany=[])})),e.addCase(yy.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.UserAppCompany=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.UserAppCompany=[]})),e.addCase(xy.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.BranchCounts=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.BranchCounts=[]}))}}),Ny=Ja("/getAppPreference",(async e=>{if(null!=e&&null!=e)return await fA.get(`/ApplicationPreferenceMapping?AppId=${e}`)})),{companyname:Iy}=Sy.actions,Fy=e=>{var t;return null==(t=e.branchPage)?void 0:t.branchData},By=e=>{var t;return null==(t=e.branchPage)?void 0:t.BranchAdminUsers},Py=e=>{var t;return null==(t=e.branchPage)?void 0:t.BranchApplicationNames},ky=e=>{var t;return null==(t=e.branchPage)?void 0:t.UserAppCompany},Ty=e=>{var t;return null==(t=e.branchPage)?void 0:t.AppPreferences},Ey=Sy.reducer,Dy="/",Ly=()=>{var e;const t=um(),[n,i]=a.useState([]),r=iA("UserId"),s=iA("UserType");a.useState([]);const[l,o]=a.useState([]),[d,c]=a.useState([]),[u,p]=a.useState([]),[A,h]=a.useState([]),[f,m]=a.useState([]),[v,g]=a.useState([]),[y,x]=a.useState([]),[b,w]=a.useState([]),[j,C]=a.useState(!1),[S,N]=a.useState(!1),I=Tf(Py);a.useEffect((()=>{_(),"Admin"===s?t(vy(r)).unwrap():"Admin"!=s&&t(vy()).unwrap()}),[]),a.useEffect((()=>{const e=(null==u?void 0:u.length)>0?[Wv("Application Info",`${Dy}setting/submenu`,null,u)]:[],t=(null==A?void 0:A.length)>0?[Wv("Kisok Device",`${Dy}setting/Kisok`,null,A)]:[],n=y.length>0?[Wv("Payment Gateway",`${Dy}setting/payment`,null,y)]:[],i=v.length>0?[Wv("Payment Device",`${Dy}setting/Device`,null,v)]:[],a=f.length>0?[Wv("App Version",`${Dy}setting/app-version`,null,f)]:[];o((r=>[...r,...e,...n,...t,...i,...a]))}),[y]),a.useEffect((function(){N(null==I?void 0:I.some((e=>{var t;return null==(t=null==e?void 0:e.FeatAddonDetails)?void 0:t.some((e=>"Warehouse"==(null==e?void 0:e.FeatAddonName)))})),"ApplicationNames")}),[I]);const F=[Wv("Config Type",`${Dy}setting/config-type`),Wv("Config Master",`${Dy}setting/config-master `),Wv("App Setup",`${Dy}setting/application-preference-mapping`),Wv("Company",`${Dy}setting/company-master`),Wv("Branch",`${Dy}setting/branch-master`),Wv("Warehouse",`${Dy}setting/warehouse-master`),Wv("Tax",`${Dy}setting/admin-tax`),Wv("Testimonials",`${Dy}setting/testimonials`),Wv("Carousel",`${Dy}setting/carousel`),Wv("Currency",`${Dy}setting/currency`),Wv("Message Template",`${Dy}setting/message-template`),Wv("Purchase Info",`${Dy}setting/purchaseinfo`),Wv("User App Info",`${Dy}setting/abstract`),Wv("Activation Key Generation",`${Dy}setting/activationkey-generation`),Wv("SMS-Assigned-Details",`${Dy}setting/sms-assigned-detail`),Wv("Gateway Master Configuration",`${Dy}setting/gateway-master-configuration/list`)],B=[Wv("Add User",`${Dy}setting/user-master`),Wv("Common Menu Access",`${Dy}setting/super-admin-user-menu-access`),Wv("User Access",`${Dy}setting/app-access`),Wv("Application Menu Access",`${Dy}setting/app-menu-access`),Wv("Signin Details",`${Dy}setting/signin-details`),Wv("User OTP",`${Dy}setting/user-otp`)],P=[Wv("Payment History",`${Dy}setting/payment/payment-history`),Wv("Failed Payment History",`${Dy}setting/payment/failed-payment-history`)],k=[Wv("Payment Device Config",`${Dy}setting/payment-device-config`)],T=[Wv("Application",`${Dy}setting/application-master`),Wv("Application Menu",`${Dy}setting/app-menu`),Wv("Pricing Type",`${Dy}setting/pricing`),Wv("Feature Mapping",`${Dy}setting/feature-mapping`),Wv("Feature Pricing",`${Dy}setting/featurepricing`),Wv("Feature",`${Dy}setting/feature-master`),Wv("Application Image",`${Dy}setting/application-image`)],E=[Wv("Device Information",`${Dy}setting/device-information`),Wv("Device Allocation",`${Dy}setting/device-allocation`)],D=[Wv("Updated Version",`${Dy}setting/updated-version`),Wv("Version Management",`${Dy}setting/version-management`)],L=[Wv("Payment Gateway Config",`${Dy}setting/payment-gateway-config`),Wv("Payment Data",`${Dy}setting/payment-data`),Wv("Payment Method",`${Dy}setting/payment-method`),Wv("Payment Details",`${Dy}setting/payment-Details`)],U=(e,t)=>null==e?void 0:e.filter((e=>null==t?void 0:t.find((t=>(null==t?void 0:t.ConfigName)===(null==e?void 0:e.label)&&"Y"===(null==t?void 0:t.ReadAccess))))),_=async()=>{var e,n,a,l,d,u,A,f;let v;if(v="Employee"==s?await t(Lg({UserId:r})).unwrap():await t(Bg({UserId:r})).unwrap(),i(null==(e=null==v?void 0:v.data)?void 0:e.data),"Super Admin User"===s){let e=await t(zg({UserId:r})).unwrap();if(1===(null==(n=null==e?void 0:e.data)?void 0:n.statusCode)){(async e=>{const t=[{items:F,setter:o},{items:B,setter:w},{items:P,setter:c},{items:T,setter:p},{items:E,setter:h},{items:k,setter:g},{items:D,setter:m}];null==t||t.forEach((({items:t,setter:n})=>{n(U(t,e))}));const n=U(L,e);x([...n.slice(0,2),...n.slice(2)])})(null==(d=null==(l=null==(a=null==e?void 0:e.data)?void 0:a.data)?void 0:l[0])?void 0:d.SuperAdminUserAccessDetails);let t=null==(f=null==(A=null==(u=null==e?void 0:e.data)?void 0:u.data)?void 0:A[0])?void 0:f.SuperAdminUserAccessDetails;C(null==t?void 0:t.find((e=>"Templates"===e.ConfigName&&"Y"===(null==e?void 0:e.ReadAccess))))}}},O=[I.length>0&&qv("My Apps",`${Dy}landing-page/home`,Ye.jsx($v,{className:"iconsize"}))];return"Super Admin"===s?O.push(qv("Master",`${Dy}setting`,Ye.jsx(Ln,{}),[Wv("Config Type",`${Dy}setting/config-type`),Wv("Config Master",`${Dy}setting/config-master`),Wv("App Setup",`${Dy}setting/application-preference-mapping`),Wv("Tax",`${Dy}setting/admin-tax`),Wv("Currency",`${Dy}setting/currency`),Wv("Application Info",`${Dy}setting/submenu`,null,[Wv("Application",`${Dy}setting/application-master`),Wv("Pricing Type",`${Dy}setting/pricing`),Wv("Feature",`${Dy}setting/feature-master`),Wv("Feature Mapping",`${Dy}setting/feature-mapping`),Wv("Feature Pricing",`${Dy}setting/featurepricing`),Wv("Application Image",`${Dy}setting/application-image`),Wv("Application Menu",`${Dy}setting/app-menu`)]),Wv("Company",`${Dy}setting/company-master`),Wv("Branch",`${Dy}setting/branch-master`),Wv("Warehouse",`${Dy}setting/warehouse-master`),Wv("Carousel",`${Dy}setting/carousel`),Wv("Message Template",`${Dy}setting/message-template`),Wv("Kisok Device",`${Dy}setting/Kisok`,null,[Wv("Device Information",`${Dy}setting/device-information`),Wv("Device Allocation",`${Dy}setting/device-allocation`)]),Wv("Payment Gateway",`${Dy}setting/payment`,null,[Wv("Payment Gateway Config",`${Dy}setting/payment-gateway-config`),Wv("Payment Data",`${Dy}setting/payment-data`),Wv("Payment Method",`${Dy}setting/payment-method`),Wv("Payment Details",`${Dy}setting/payment-Details`)]),Wv("Payment Device","",null,[Wv("Payment Device Config",`${Dy}setting/payment-device-config`)]),Wv("Testimonials",`${Dy}setting/testimonials`),Wv("App Version",`${Dy}setting/app-version`,null,[Wv("Updated Version",`${Dy}setting/updated-version`),Wv("Version Management",`${Dy}setting/version-management`)]),Wv("Referral Setting",`${Dy}setting/referral-setting`),Wv("Employee Referrer",`${Dy}setting/reffered-employee`),Wv("Purchase Info",`${Dy}setting/purchaseinfo`),Wv("Site Visit Records ",`${Dy}setting/SiteVisitRecords`),Wv("User App Info",`${Dy}setting/abstract`),Wv("Activation Key Generation",`${Dy}setting/activationkey-generation`),Wv("SMS-Assigned-Details",`${Dy}setting/sms-assigned-detail`),Wv("Gateway Master Configuration",`${Dy}setting/gateway-master-configuration/list`)]),qv("User ",`${Dy}setting/user`,Ye.jsx(kn,{}),[Wv("Add User",`${Dy}setting/user-master`),Wv("User Access",`${Dy}setting/app-access`),Wv("Common Menu Access",`${Dy}setting/super-admin-user-menu-access`),Wv("Application Menu Access",`${Dy}setting/app-menu-access`),Wv("Signin Details",`${Dy}setting/signin-details`),Wv("User OTP",`${Dy}setting/user-otp`)]),qv("My Profile",`${Dy}landing-page/user-account`,Ye.jsx(Ig,{})),qv("Tickets",`${Dy}setting/tickets-details`,Ye.jsx(iy,{})),qv("Payment",`${Dy}`,Ye.jsx(Un,{}),[Wv("Payment History",`${Dy}setting/payment/payment-history`),Wv("Failed Payment History",`${Dy}setting/payment/failed-payment-history`)]),qv("Themes / Templates",`${Dy}setting/themes`,Ye.jsx(In,{})),qv("Admin Panel",`${Dy}adminpanel`,Ye.jsx(In,{}))):"Super Admin User"===s?O.push((null==l?void 0:l.length)>0&&qv("Master",`${Dy}setting`,Ye.jsx(Ln,{}),l),(null==b?void 0:b.length)>0&&qv("User ",`${Dy}setting/user`,Ye.jsx(kn,{}),b),qv("My Profile",`${Dy}landing-page/user-account`,Ye.jsx(Ig,{})),qv("Tickets",`${Dy}setting/tickets-details`,Ye.jsx(iy,{})),(null==d?void 0:d.length)>0&&qv("Payment",`${Dy}`,Ye.jsx(Un,{}),d),j&&qv("Themes / Templates",`${Dy}setting/themes`,Ye.jsx(In,{}))):"Admin"===s||"Admin User"===s?O.push(I.length>0?qv("Master",`${Dy}setting`,Ye.jsx(Ln,{}),[Wv("Company",`${Dy}setting/company-master`),Wv("Branch",`${Dy}setting/branch-master`),S&&Wv("Warehouse",`${Dy}setting/warehouse-master`),I.length>0?qv("User ",`${Dy}setting/user`,"",[Wv("Add User",`${Dy}setting/user-master`),Wv("User Access",`${Dy}setting/app-access`)]):""]):"",qv("Buy ",`${Dy}setting/Buy`,Ye.jsx(Xg,{}),[Wv("More Apps",`${Dy}landing-page/apps`),Wv("Addon Features",`${Dy}setting/feat-addon`)]),I.length>0?qv("Payment History",`${Dy}setting/payment/payment-history`,Ye.jsx(Un,{})):"",qv("My Profile",`${Dy}landing-page/user-account`,Ye.jsx(Ig,{}),null)):"Employee"===s?O.push(qv("Master",`${Dy}setting`,Ye.jsx(Pn,{}),["Free"!==(null==(e=null==n?void 0:n[0])?void 0:e.PricingName)&&Wv("Feature Addon",`${Dy}setting/feat-addon`)]),qv("My Profile",`${Dy}landing-page/user-account`,Ye.jsx(Ig,{}))):"Marketing"===s&&(null==O||O.splice(0,1),null==O||O.push(qv("Admin Panel",`${Dy}adminpanel`,Ye.jsx(In,{})))),Ye.jsxs("div",{className:"appPage",children:[Ye.jsx("div",{className:"sideNaveParent",children:Ye.jsx(Yv,{items:O,mode:"vertical",theme:"light"})}),Ye.jsx("div",{className:"centerPage",children:Ye.jsx(Kv,{})})]})},Uy=e=>{const[t,n]=a.useState(!1),{children:i,label:r,value:s,isOnChange:l}=e,o=t||s&&0!==s.length||l?"label label-float":"label";return Ye.jsxs("div",{className:"float-label",onBlur:()=>n(!1),onFocus:()=>n(!0),children:[i,Ye.jsx("label",{className:o,children:r})]})},_y=({options:e,onChangeFunction:t,isOnchanges:n,className:i,defaultValue:r,searchKeys:s=["label"],disabled:l,...o})=>{const[d,c]=a.useState(""),[u,p]=a.useState(n),{field:A,onChange:h,label:f,onBlur:g,forwardedRef:y,required:x,valueData:b,labelChange:w,...j}=o;return Ye.jsx(Uy,{label:f,value:d,isOnChange:null!=b||u,children:Ye.jsx(m,{showSearch:!0,style:{width:250},defaultValue:r||null,optionFilterProp:"children",filterOption:w?null:(e,t)=>s.some((n=>((null==t?void 0:t[n])??"").toString().toLowerCase().includes(e.toLowerCase()))),filterSort:w?null:(e,t)=>{var n,i;return null==(i=null==(n=(null==e?void 0:e.label)??"")?void 0:n.toLowerCase())?void 0:i.localeCompare(((null==t?void 0:t.label)??"").toLowerCase())},value:b,onChange:e=>t(e),onSelect:e=>(async()=>{await p(!0)})(),options:e,className:v(` ${i}`),disabled:!!l})})},Oy=({fieldState:e,fieldApi:t,...n})=>{const{value:i}=e,[r,s]=a.useState(""),{field:l,onChange:o,isOnChange:d,onBlur:c,label:u,forwardedRef:p,required:A,...h}=n;return Ye.jsx("div",{className:"example",children:Ye.jsx(Uy,{label:u,value:r,isOnChange:d,children:Ye.jsx(g,{...h,spellCheck:!1,id:l,ref:p,defaultValue:null==i?void 0:i.toString(),required:A,onChange:e=>{var t;s(null==(t=null==e?void 0:e.target)?void 0:t.value),o&&o(e)},onBlur:e=>{c&&c(e)}})})})},My=({fieldState:e,fieldApi:t,...n})=>{const{value:i}=e,[r,s]=a.useState(""),{TextArea:l}=g,{field:o,onChange:d,isOnChange:c,onBlur:u,label:p,forwardedRef:A,required:h,width:f=!1,...m}=n;return Ye.jsx("div",{className:f?"":"example",style:{width:f?"100%":"auto"},children:Ye.jsx(Uy,{label:p,value:r,isOnChange:c,children:Ye.jsx(l,{...m,id:o,ref:A,defaultValue:null==i?void 0:i.toString(),required:h,onChange:e=>{var t;s(null==(t=null==e?void 0:e.target)?void 0:t.value),d&&d(e)},onBlur:e=>{u&&u(e)}})})})},Ry=({buttonText:e,color:t,handleSubmit:n,icon:i,disabled:a})=>Ye.jsxs(y,{type:"primary",htmlType:"submit",className:"primary_Button",onClick:n,color:t,disabled:a||!1,children:[e,i]}),Qy=({messageType:e,messageData:t,duration:n,onComplete:i})=>{const[r,s]=x.useMessage();return a.useEffect((()=>{e&&r.open({type:e,content:t,duration:n||2}).then((()=>{i&&i()}))}),[e]),Ye.jsx(Ye.Fragment,{children:s})},Hy=({style:e,defaultChecked:t,functionName:n,...i})=>Ye.jsx(b,{defaultChecked:t,onChange:n}),Vy="https://www.pozo.dev/pozo-common-image-api",zy=Ja("upload/uploadImage",(async e=>{let t=new FormData;return t.append("file",e),await fA.post(`${Vy}/upload`,t)})),qy=Ja("upload/ApkUpload",(async e=>{let t=new FormData;return t.append("file",e),await fA.post(`${Vy}/upload/ApkUpload`,t)})),Wy=["image/jpeg","image/png","image/webp","image/svg+xml","image/gif","image/avif"],Yy=({singleImage:e,updateImageUrl:t,ImageLink:n})=>{const i=um(),[r,s]=a.useState(!1),[l,o]=a.useState(""),[d,c]=a.useState(""),[u,p]=a.useState([]);a.useEffect((()=>{p(""!=n&&null!=n?[{url:n}]:[])}),[n]);const A=Ye.jsxs("div",{children:[Ye.jsx(C,{}),Ye.jsx("div",{style:{marginTop:8},children:"Upload"})]});return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(w,{action:"https://run.mocky.io/v3/435e224c-44fb-4773-9faf-380c5e6a2188",listType:"picture-circle",fileList:u,onPreview:async e=>{e.url||e.preview||(e.preview=await(e=>new Promise(((t,n)=>{const i=new FileReader;i.readAsDataURL(e),i.onload=()=>t(i.result),i.onerror=e=>n(e)})))(e.originFileObj)),o(e.url||e.preview),s(!0),c(e.name||e.url.substring(e.url.lastIndexOf("/")+1))},onChange:async({fileList:e})=>{var n,a,r;if(e.length>0){let s=await i(zy(e[0].originFileObj)).unwrap();(null==(n=null==s?void 0:s.data)?void 0:n.status)&&(t(null==(a=null==s?void 0:s.data)?void 0:a.image),p([{url:null==(r=null==s?void 0:s.data)?void 0:r.image}]))}else t(""),p(e)},beforeUpload:e=>{const t=Wy.includes(e.type);return t||j.error({title:"Invalid File Type",content:"Only JPG, JPEG, PNG, WEBP, SVG, GIF, and AVIF files are allowed."}),t||w.LIST_IGNORE},children:e&&0==u.length||!e&&u.length<=8?A:null}),Ye.jsx(j,{open:r,title:"",footer:null,onCancel:()=>s(!1),children:Ye.jsx("img",{alt:"example",style:{width:"100%"},src:l})})]})};var Ky,Gy,$y={},Xy={},Jy={},Zy={exports:{}};function ex(){return Ky||(Ky=1,e=Zy,t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports="object"===("undefined"==typeof self?"undefined":t(self))&&self.self===self&&self||"object"===(void 0===d?"undefined":t(d))&&d.global===d&&d||void 0),Zy.exports;var e,t}function tx(){return Gy||(Gy=1,function(e,t){Object.defineProperty(e,"__esModule",{value:!0});var n=0,i=void 0!==t&&t._scriptMap||new Map,a=e.ScriptCache=function(e){return e._scriptMap=e._scriptMap||i,function(a){var r={_onLoad:function(e){return function(t){var n=!0;function a(){n=!1}var r=i.get(e);return r&&r.promise.then((function(){return n&&(r.error?t(r.error):t(null,r)),r})).catch((function(e){return t(e)})),a}},_scriptTag:function(a,r){if(!i.has(a)){if("undefined"==typeof document)return null;var s=document.createElement("script"),l={loaded:!1,error:!1,promise:new Promise((function(l,o){var d=document.getElementsByTagName("body")[0];s.type="text/javascript",s.async=!1;var c="loaderCB"+n+++Date.now(),u=function(e){return function(t){var n=i.get(a);"loaded"===e?(n.resolved=!0,l(r)):"error"===e&&(n.errored=!0,o(t)),n.loaded=!0,p()}},p=function(){e[c]&&"function"==typeof e[c]&&(e[c]=null,delete e[c])};return s.onload=u("loaded"),s.onerror=u("error"),s.onreadystatechange=function(){u(s.readyState)},r.match(/callback=CALLBACK_NAME/)?(r=r.replace(/(callback=)[^\&]+/,"$1"+c),t[c]=s.onload):s.addEventListener("load",s.onload),s.addEventListener("error",s.onerror),s.src=r,d.appendChild(s),s})),tag:s};i.set(a,l)}return i.get(a).tag}};return Object.keys(a).forEach((function(e){var n=a[e],i=t._scriptMap.has(e)?t._scriptMap.get(e).tag:r._scriptTag(e,n);r[e]={tag:i,onLoad:r._onLoad(e)}})),r}}(t);e.default=a}(Jy,ex())),Jy}var nx,ix,ax={};function rx(){return nx||(nx=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=e.GoogleApi=function(e){if(!(e=e||{}).hasOwnProperty("apiKey"))throw new Error("You must pass an apiKey to use GoogleApi");var t,n,i=e.apiKey,a=e.libraries||["places"],r=e.client,s=e.url||"https://maps.googleapis.com/maps/api/js",l=e.version||"3.31",o=null,d=e.language,c=e.region||null;return t=s,n={key:i,callback:"CALLBACK_NAME",libraries:a.join(","),client:r,v:l,channel:o,language:d,region:c,onerror:"ERROR_FUNCTION"},t+"?"+Object.keys(n).filter((function(e){return!!n[e]})).map((function(e){return e+"="+n[e]})).join("&")};e.default=t}(ax)),ax}function sx(){return ix||(ix=1,function(e,t,n,i,a){Object.defineProperty(e,"__esModule",{value:!0}),e.wrapper=void 0;var r=l(t);l(n);var s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var d=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){return JSON.stringify(e)},A=function(e,t){return e===t||p(e)===p(t)},h=function(e){var t=(e=e||{}).apiKey,n=e.libraries||["places"],a=e.version||"3",r=e.language||"en",l=e.url,o=e.client,d=e.region;return(0,i.ScriptCache)({google:(0,s.default)({apiKey:t,language:r,libraries:n,version:a,url:l,client:o,region:d})})},f=function(e){return r.default.createElement("div",null,"Loading...")},m=e.wrapper=function(e){return function(t){return function(n){function i(t,n){o(this,i);var a=c(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,t,n)),s="function"==typeof e?e(t):e;return a.initialize(s),a.state={loaded:!1,map:null,google:null,options:s},a.mapRef=r.default.createRef(),a}return u(i,n),d(i,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){if("function"==typeof e){var n=this.state.options,i="function"==typeof e?e(t):e;A(i,n)||(this.initialize(i),this.setState({options:i,loaded:!1,google:null}))}}},{key:"componentWillUnmount",value:function(){this.unregisterLoadHandler&&this.unregisterLoadHandler()}},{key:"initialize",value:function(e){this.unregisterLoadHandler&&(this.unregisterLoadHandler(),this.unregisterLoadHandler=null);var t=e.createCache||h;this.scriptCache=t(e),this.unregisterLoadHandler=this.scriptCache.google.onLoad(this.onLoad.bind(this)),this.LoadingContainer=e.LoadingContainer||f}},{key:"onLoad",value:function(e,t){this._gapi=window.google,this.setState({loaded:!0,google:this._gapi})}},{key:"render",value:function(){var e=this.LoadingContainer;if(!this.state.loaded)return r.default.createElement(e,null);var n=Object.assign({},this.props,{loaded:this.state.loaded,google:window.google});return r.default.createElement("div",null,r.default.createElement(t,n),r.default.createElement("div",{ref:this.mapRef}))}}]),i}(r.default.Component)}};e.default=m}(Xy,a,r,tx(),rx())),Xy}var lx,ox,dx,cx,ux,px={},Ax={exports:{}};function hx(){if(cx)return dx;cx=1;var e=ox?lx:(ox=1,lx="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function t(){}function n(){}return n.resetWarningCache=t,dx=function(){function i(t,n,i,a,r,s){if(s!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function a(){return i}i.isRequired=i;var r={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:a,element:i,elementType:i,instanceOf:a,node:i,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:t};return r.PropTypes=r,r}}function fx(){return ux||(ux=1,Ax.exports=hx()()),Ax.exports}var mx,vx,gx={};function yx(){return mx||(mx=1,e=gx,Object.defineProperty(e,"__esModule",{value:!0}),e.camelize=function(e){return e.split("_").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}),gx;var e}function xx(){return vx||(vx=1,function(e,t,n,i){Object.defineProperty(e,"__esModule",{value:!0}),e.Marker=void 0;var a=s(t),r=s(n);function s(e){return e&&e.__esModule?e:{default:e}}var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function o(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var c=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var A=["click","dblclick","dragend","mousedown","mouseout","mouseover","mouseup","recenter"],h=function(){var e={},t=new Promise((function(t,n){e.resolve=t,e.reject=n}));return e.then=t.then.bind(t),e.catch=t.catch.bind(t),e.promise=t,e},f=e.Marker=function(e){function t(){return d(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return p(t,e),c(t,[{key:"componentDidMount",value:function(){this.markerPromise=h(),this.renderMarker()}},{key:"componentDidUpdate",value:function(e){this.props.map===e.map&&this.props.position===e.position&&this.props.icon===e.icon||(this.marker&&this.marker.setMap(null),this.renderMarker())}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.setMap(null)}},{key:"renderMarker",value:function(){var e=this,t=this.props,n=t.map,i=t.google,a=t.position,r=t.mapCenter,s=t.icon,d=t.label,c=t.draggable,u=t.title,p=o(t,["map","google","position","mapCenter","icon","label","draggable","title"]);if(!i)return null;var h=a||r;h instanceof i.maps.LatLng||(h=new i.maps.LatLng(h.lat,h.lng));var f=l({map:n,position:h,icon:s,label:d,title:u,draggable:c},p);this.marker=new i.maps.Marker(f),A.forEach((function(t){e.marker.addListener(t,e.handleEvent(t))})),this.markerPromise.resolve(this.marker)}},{key:"getMarker",value:function(){return this.markerPromise}},{key:"handleEvent",value:function(e){var t=this;return function(n){var a="on"+(0,i.camelize)(e);t.props[a]&&t.props[a](t.props,t.marker,n)}}},{key:"render",value:function(){return null}}]),t}(a.default.Component);f.propTypes={position:r.default.object,map:r.default.object},A.forEach((function(e){return f.propTypes[e]=r.default.func})),f.defaultProps={name:"Marker"},e.default=f}(px,a,fx(),yx())),px}var bx,wx={},jx={},Cx={};function Sx(){if(bx)return Cx;bx=1;var e=a;function t(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=Object.prototype.hasOwnProperty,i=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,r={},s={};function l(e){return!!n.call(s,e)||!n.call(r,e)&&(i.test(e)?s[e]=!0:(r[e]=!0,!1))}function o(e,t,n,i,a,r,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=s}var d={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){d[e]=new o(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];d[t]=new o(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){d[e]=new o(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){d[e]=new o(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){d[e]=new o(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){d[e]=new o(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){d[e]=new o(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){d[e]=new o(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){d[e]=new o(e,5,!1,e.toLowerCase(),null,!1,!1)}));var c=/[\-:]([a-z])/g;function u(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(c,u);d[t]=new o(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(c,u);d[t]=new o(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(c,u);d[t]=new o(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){d[e]=new o(e,1,!1,e.toLowerCase(),null,!1,!1)})),d.xlinkHref=new o("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){d[e]=new o(e,1,!1,e.toLowerCase(),null,!0,!0)}));var p={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},A=["Webkit","ms","Moz","O"];Object.keys(p).forEach((function(e){A.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),p[t]=p[e]}))}));var h=/["'&<>]/;function f(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=h.exec(e);if(t){var n,i="",a=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}a!==n&&(i+=e.substring(a,n)),a=n+1,i+=t}e=a!==n?i+e.substring(a,n):i}return e}var m=/([A-Z])/g,v=/^ms-/,g=Array.isArray;function y(e,t){return{insertionMode:e,selectedValue:t}}var x=new Map;function b(e,i,a){if("object"!=typeof a)throw Error(t(62));for(var r in i=!0,a)if(n.call(a,r)){var s=a[r];if(null!=s&&"boolean"!=typeof s&&""!==s){if(0===r.indexOf("--")){var l=f(r);s=f((""+s).trim())}else{l=r;var o=x.get(l);void 0!==o||(o=f(l.replace(m,"-$1").toLowerCase().replace(v,"-ms-")),x.set(l,o)),l=o,s="number"==typeof s?0===s||n.call(p,r)?""+s:s+"px":f((""+s).trim())}i?(i=!1,e.push(' style="',l,":",s)):e.push(";",l,":",s)}}i||e.push('"')}function w(e,t,n,i){switch(n){case"style":return void b(e,t,i);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])if(null!==(t=d.hasOwnProperty(n)?d[n]:null)){switch(typeof i){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=t.attributeName,t.type){case 3:i&&e.push(" ",n,'=""');break;case 4:!0===i?e.push(" ",n,'=""'):!1!==i&&e.push(" ",n,'="',f(i),'"');break;case 5:isNaN(i)||e.push(" ",n,'="',f(i),'"');break;case 6:!isNaN(i)&&1<=i&&e.push(" ",n,'="',f(i),'"');break;default:t.sanitizeURL&&(i=""+i),e.push(" ",n,'="',f(i),'"')}}else if(l(n)){switch(typeof i){case"function":case"symbol":return;case"boolean":if("data-"!==(t=n.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push(" ",n,'="',f(i),'"')}}function j(e,n,i){if(null!=n){if(null!=i)throw Error(t(60));if("object"!=typeof n||!("__html"in n))throw Error(t(61));null!=(n=n.__html)&&e.push(""+n)}}function C(e,t,i,a){e.push(I(i));var r,s=i=null;for(r in t)if(n.call(t,r)){var l=t[r];if(null!=l)switch(r){case"children":i=l;break;case"dangerouslySetInnerHTML":s=l;break;default:w(e,a,r,l)}}return e.push(">"),j(e,s,i),"string"==typeof i?(e.push(f(i)),null):i}var S=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,N=new Map;function I(e){var n=N.get(e);if(void 0===n){if(!S.test(e))throw Error(t(65,e));n="<"+e,N.set(e,n)}return n}function F(i,a,r,s,o){switch(a){case"select":i.push(I("select"));var d=null,c=null;for(h in r)if(n.call(r,h)){var u=r[h];if(null!=u)switch(h){case"children":d=u;break;case"dangerouslySetInnerHTML":c=u;break;case"defaultValue":case"value":break;default:w(i,s,h,u)}}return i.push(">"),j(i,c,d),d;case"option":c=o.selectedValue,i.push(I("option"));var p=u=null,A=null,h=null;for(d in r)if(n.call(r,d)){var m=r[d];if(null!=m)switch(d){case"children":u=m;break;case"selected":A=m;break;case"dangerouslySetInnerHTML":h=m;break;case"value":p=m;default:w(i,s,d,m)}}if(null!=c)if(r=null!==p?""+p:function(t){var n="";return e.Children.forEach(t,(function(e){null!=e&&(n+=e)})),n}(u),g(c)){for(s=0;s<c.length;s++)if(""+c[s]===r){i.push(' selected=""');break}}else""+c===r&&i.push(' selected=""');else A&&i.push(' selected=""');return i.push(">"),j(i,h,u),u;case"textarea":for(u in i.push(I("textarea")),h=c=d=null,r)if(n.call(r,u)&&null!=(p=r[u]))switch(u){case"children":h=p;break;case"value":d=p;break;case"defaultValue":c=p;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:w(i,s,u,p)}if(null===d&&null!==c&&(d=c),i.push(">"),null!=h){if(null!=d)throw Error(t(92));if(g(h)&&1<h.length)throw Error(t(93));d=""+h}return"string"==typeof d&&"\n"===d[0]&&i.push("\n"),null!==d&&i.push(f(""+d)),null;case"input":for(c in i.push(I("input")),p=h=u=d=null,r)if(n.call(r,c)&&null!=(A=r[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":p=A;break;case"defaultValue":u=A;break;case"checked":h=A;break;case"value":d=A;break;default:w(i,s,c,A)}return null!==h?w(i,s,"checked",h):null!==p&&w(i,s,"checked",p),null!==d?w(i,s,"value",d):null!==u&&w(i,s,"value",u),i.push("/>"),null;case"menuitem":for(var v in i.push(I("menuitem")),r)if(n.call(r,v)&&null!=(d=r[v]))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:w(i,s,v,d)}return i.push(">"),null;case"title":for(m in i.push(I("title")),d=null,r)if(n.call(r,m)&&null!=(c=r[m]))switch(m){case"children":d=c;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:w(i,s,m,c)}return i.push(">"),d;case"listing":case"pre":for(p in i.push(I(a)),c=d=null,r)if(n.call(r,p)&&null!=(u=r[p]))switch(p){case"children":d=u;break;case"dangerouslySetInnerHTML":c=u;break;default:w(i,s,p,u)}if(i.push(">"),null!=c){if(null!=d)throw Error(t(60));if("object"!=typeof c||!("__html"in c))throw Error(t(61));null!=(r=c.__html)&&("string"==typeof r&&0<r.length&&"\n"===r[0]?i.push("\n",r):i.push(""+r))}return"string"==typeof d&&"\n"===d[0]&&i.push("\n"),d;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var y in i.push(I(a)),r)if(n.call(r,y)&&null!=(d=r[y]))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,a));default:w(i,s,y,d)}return i.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return C(i,r,a,s);case"html":return 0===o.insertionMode&&i.push("<!DOCTYPE html>"),C(i,r,a,s);default:if(-1===a.indexOf("-")&&"string"!=typeof r.is)return C(i,r,a,s);for(A in i.push(I(a)),c=d=null,r)if(n.call(r,A)&&null!=(u=r[A]))switch(A){case"children":d=u;break;case"dangerouslySetInnerHTML":c=u;break;case"style":b(i,s,u);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:l(A)&&"function"!=typeof u&&"symbol"!=typeof u&&i.push(" ",A,'="',f(u),'"')}return i.push(">"),j(i,c,d),d}}function B(e,n,i){if(e.push('\x3c!--$?--\x3e<template id="'),null===i)throw Error(t(395));return e.push(i),e.push('"></template>')}var P=/[<\u2028\u2029]/g;function k(e){return JSON.stringify(e).replace(P,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}function T(e,t,n,i){return n.generateStaticMarkup?(e.push(f(t)),!1):(""===t?e=i:(i&&e.push("\x3c!-- --\x3e"),e.push(f(t)),e=!0),e)}var E=Object.assign,D=Symbol.for("react.element"),L=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),M=Symbol.for("react.provider"),R=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),V=Symbol.for("react.suspense_list"),z=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),W=Symbol.for("react.scope"),Y=Symbol.for("react.debug_trace_mode"),K=Symbol.for("react.legacy_hidden"),G=Symbol.for("react.default_value"),$=Symbol.iterator;function X(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case U:return"Fragment";case L:return"Portal";case O:return"Profiler";case _:return"StrictMode";case H:return"Suspense";case V:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case R:return(e.displayName||"Context")+".Consumer";case M:return(e._context.displayName||"Context")+".Provider";case Q:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case z:return null!==(t=e.displayName||null)?t:X(e.type)||"Memo";case q:t=e._payload,e=e._init;try{return X(e(t))}catch(ese){}}return null}var J={};function Z(e,t){if(!(e=e.contextTypes))return J;var n,i={};for(n in e)i[n]=t[n];return i}var ee=null;function te(e,n){if(e!==n){e.context._currentValue2=e.parentValue,e=e.parent;var i=n.parent;if(null===e){if(null!==i)throw Error(t(401))}else{if(null===i)throw Error(t(401));te(e,i)}n.context._currentValue2=n.value}}function ne(e){e.context._currentValue2=e.parentValue,null!==(e=e.parent)&&ne(e)}function ie(e){var t=e.parent;null!==t&&ie(t),e.context._currentValue2=e.value}function ae(e,n){if(e.context._currentValue2=e.parentValue,null===(e=e.parent))throw Error(t(402));e.depth===n.depth?te(e,n):ae(e,n)}function re(e,n){var i=n.parent;if(null===i)throw Error(t(402));e.depth===i.depth?te(e,i):re(e,i),n.context._currentValue2=n.value}function se(e){var t=ee;t!==e&&(null===t?ie(e):null===e?ne(t):t.depth===e.depth?te(t,e):t.depth>e.depth?ae(t,e):re(t,e),ee=e)}var le={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function oe(e,t,n,i){var a=void 0!==e.state?e.state:null;e.updater=le,e.props=n,e.state=a;var r={queue:[],replace:!1};e._reactInternals=r;var s=t.contextType;if(e.context="object"==typeof s&&null!==s?s._currentValue2:i,"function"==typeof(s=t.getDerivedStateFromProps)&&(a=null==(s=s(n,a))?a:E({},a,s),e.state=a),"function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate&&("function"==typeof e.UNSAFE_componentWillMount||"function"==typeof e.componentWillMount))if(t=e.state,"function"==typeof e.componentWillMount&&e.componentWillMount(),"function"==typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&le.enqueueReplaceState(e,e.state,null),null!==r.queue&&0<r.queue.length)if(t=r.queue,s=r.replace,r.queue=null,r.replace=!1,s&&1===t.length)e.state=t[0];else{for(r=s?t[0]:e.state,a=!0,s=s?1:0;s<t.length;s++){var l=t[s];null!=(l="function"==typeof l?l.call(e,r,n,i):l)&&(a?(a=!1,r=E({},r,l)):E(r,l))}e.state=r}else r.queue=null}var de={id:1,overflow:""};function ce(e,t,n){var i=e.id;e=e.overflow;var a=32-ue(i)-1;i&=~(1<<a),n+=1;var r=32-ue(t)+a;if(30<r){var s=a-a%5;return r=(i&(1<<s)-1).toString(32),i>>=s,a-=s,{id:1<<32-ue(t)+a|n<<a|i,overflow:r+e}}return{id:1<<r|n<<a|i,overflow:e}}var ue=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(pe(e)/Ae|0)|0},pe=Math.log,Ae=Math.LN2;var he="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},fe=null,me=null,ve=null,ge=null,ye=!1,xe=!1,be=0,we=null,je=0;function Ce(){if(null===fe)throw Error(t(321));return fe}function Se(){if(0<je)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Ne(){return null===ge?null===ve?(ye=!1,ve=ge=Se()):(ye=!0,ge=ve):null===ge.next?(ye=!1,ge=ge.next=Se()):(ye=!0,ge=ge.next),ge}function Ie(){me=fe=null,xe=!1,ve=null,je=0,ge=we=null}function Fe(e,t){return"function"==typeof t?t(e):t}function Be(e,t,n){if(fe=Ce(),ge=Ne(),ye){var i=ge.queue;if(t=i.dispatch,null!==we&&void 0!==(n=we.get(i))){we.delete(i),i=ge.memoizedState;do{i=e(i,n.action),n=n.next}while(null!==n);return ge.memoizedState=i,[i,t]}return[ge.memoizedState,t]}return e=e===Fe?"function"==typeof t?t():t:void 0!==n?n(t):t,ge.memoizedState=e,e=(e=ge.queue={last:null,dispatch:null}).dispatch=ke.bind(null,fe,e),[ge.memoizedState,e]}function Pe(e,t){if(fe=Ce(),t=void 0===t?null:t,null!==(ge=Ne())){var n=ge.memoizedState;if(null!==n&&null!==t){var i=n[1];e:if(null===i)i=!1;else{for(var a=0;a<i.length&&a<t.length;a++)if(!he(t[a],i[a])){i=!1;break e}i=!0}if(i)return n[0]}}return e=e(),ge.memoizedState=[e,t],e}function ke(e,n,i){if(25<=je)throw Error(t(301));if(e===fe)if(xe=!0,e={action:i,next:null},null===we&&(we=new Map),void 0===(i=we.get(n)))we.set(n,e);else{for(n=i;null!==n.next;)n=n.next;n.next=e}}function Te(){throw Error(t(394))}function Ee(){}var De={readContext:function(e){return e._currentValue2},useContext:function(e){return Ce(),e._currentValue2},useMemo:Pe,useReducer:Be,useRef:function(e){fe=Ce();var t=(ge=Ne()).memoizedState;return null===t?(e={current:e},ge.memoizedState=e):t},useState:function(e){return Be(Fe,e)},useInsertionEffect:Ee,useLayoutEffect:function(){},useCallback:function(e,t){return Pe((function(){return e}),t)},useImperativeHandle:Ee,useEffect:Ee,useDebugValue:Ee,useDeferredValue:function(e){return Ce(),e},useTransition:function(){return Ce(),[!1,Te]},useId:function(){var e=me.treeContext,n=e.overflow;e=((e=e.id)&~(1<<32-ue(e)-1)).toString(32)+n;var i=Le;if(null===i)throw Error(t(404));return n=be++,e=":"+i.idPrefix+"R"+e,0<n&&(e+="H"+n.toString(32)),e+":"},useMutableSource:function(e,t){return Ce(),t(e._source)},useSyncExternalStore:function(e,n,i){if(void 0===i)throw Error(t(407));return i()}},Le=null,Ue=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function _e(e){return null}function Oe(){}function Me(e,t,n,i,a,r,s,l){e.allPendingTasks++,null===n?e.pendingRootTasks++:n.pendingTasks++;var o={node:t,ping:function(){var t=e.pingedTasks;t.push(o),1===t.length&&et(e)},blockedBoundary:n,blockedSegment:i,abortSet:a,legacyContext:r,context:s,treeContext:l};return a.add(o),o}function Re(e,t,n,i,a,r){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:i,boundary:n,lastPushedText:a,textEmbedded:r}}function Qe(e,t){if(null!=(e=e.onError(t))&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function He(e,t){var n=e.onShellError;n(t),(n=e.onFatalError)(t),null!==e.destination?(e.status=2,e.destination.destroy(t)):(e.status=1,e.fatalError=t)}function Ve(e,t,n,i,a){for(fe={},me=t,be=0,e=n(i,a);xe;)xe=!1,be=0,je+=1,ge=null,e=n(i,a);return Ie(),e}function ze(e,n,i,a){var r=i.render(),s=a.childContextTypes;if(null!=s){var l=n.legacyContext;if("function"!=typeof i.getChildContext)a=l;else{for(var o in i=i.getChildContext())if(!(o in s))throw Error(t(108,X(a)||"Unknown",o));a=E({},l,i)}n.legacyContext=a,Ye(e,n,r),n.legacyContext=l}else Ye(e,n,r)}function qe(e,t){if(e&&e.defaultProps){for(var n in t=E({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function We(e,n,i,a,r){if("function"==typeof i)if(i.prototype&&i.prototype.isReactComponent){r=Z(i,n.legacyContext);var s=i.contextType;oe(s=new i(a,"object"==typeof s&&null!==s?s._currentValue2:r),i,a,r),ze(e,n,s,i)}else{r=Ve(e,n,i,a,s=Z(i,n.legacyContext));var l=0!==be;if("object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof)oe(r,i,a,s),ze(e,n,r,i);else if(l){a=n.treeContext,n.treeContext=ce(a,1,0);try{Ye(e,n,r)}finally{n.treeContext=a}}else Ye(e,n,r)}else{if("string"!=typeof i){switch(i){case K:case Y:case _:case O:case U:case V:return void Ye(e,n,a.children);case W:throw Error(t(343));case H:e:{i=n.blockedBoundary,r=n.blockedSegment,s=a.fallback,a=a.children;var o={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l=new Set,errorDigest:null},d=Re(0,r.chunks.length,o,r.formatContext,!1,!1);r.children.push(d),r.lastPushedText=!1;var c=Re(0,0,null,r.formatContext,!1,!1);c.parentFlushed=!0,n.blockedBoundary=o,n.blockedSegment=c;try{if(Ge(e,n,a),e.responseState.generateStaticMarkup||c.lastPushedText&&c.textEmbedded&&c.chunks.push("\x3c!-- --\x3e"),c.status=1,Je(o,c),0===o.pendingTasks)break e}catch(Zre){c.status=4,o.forceClientRender=!0,o.errorDigest=Qe(e,Zre)}finally{n.blockedBoundary=i,n.blockedSegment=r}n=Me(e,s,i,d,l,n.legacyContext,n.context,n.treeContext),e.pingedTasks.push(n)}return}if("object"==typeof i&&null!==i)switch(i.$$typeof){case Q:if(a=Ve(e,n,i.render,a,r),0!==be){i=n.treeContext,n.treeContext=ce(i,1,0);try{Ye(e,n,a)}finally{n.treeContext=i}}else Ye(e,n,a);return;case z:return void We(e,n,i=i.type,a=qe(i,a),r);case M:if(r=a.children,i=i._context,a=a.value,s=i._currentValue2,i._currentValue2=a,ee=a={parent:l=ee,depth:null===l?0:l.depth+1,context:i,parentValue:s,value:a},n.context=a,Ye(e,n,r),null===(e=ee))throw Error(t(403));return a=e.parentValue,e.context._currentValue2=a===G?e.context._defaultValue:a,e=ee=e.parent,void(n.context=e);case R:return void Ye(e,n,a=(a=a.children)(i._currentValue2));case q:return void We(e,n,i=(r=i._init)(i._payload),a=qe(i,a),void 0)}throw Error(t(130,null==i?i:typeof i,""))}switch(s=F((r=n.blockedSegment).chunks,i,a,e.responseState,r.formatContext),r.lastPushedText=!1,l=r.formatContext,r.formatContext=function(e,t,n){switch(t){case"select":return y(1,null!=n.value?n.value:n.defaultValue);case"svg":return y(2,null);case"math":return y(3,null);case"foreignObject":return y(1,null);case"table":return y(4,null);case"thead":case"tbody":case"tfoot":return y(5,null);case"colgroup":return y(7,null);case"tr":return y(6,null)}return 4<=e.insertionMode||0===e.insertionMode?y(1,null):e}(l,i,a),Ge(e,n,s),r.formatContext=l,i){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:r.chunks.push("</",i,">")}r.lastPushedText=!1}}function Ye(e,n,i){if(n.node=i,"object"==typeof i&&null!==i){switch(i.$$typeof){case D:return void We(e,n,i.type,i.props,i.ref);case L:throw Error(t(257));case q:var a=i._init;return void Ye(e,n,i=a(i._payload))}if(g(i))return void Ke(e,n,i);if(null===i||"object"!=typeof i?a=null:a="function"==typeof(a=$&&i[$]||i["@@iterator"])?a:null,a&&(a=a.call(i))){if(!(i=a.next()).done){var r=[];do{r.push(i.value),i=a.next()}while(!i.done);Ke(e,n,r)}return}throw e=Object.prototype.toString.call(i),Error(t(31,"[object Object]"===e?"object with keys {"+Object.keys(i).join(", ")+"}":e))}"string"==typeof i?(a=n.blockedSegment).lastPushedText=T(n.blockedSegment.chunks,i,e.responseState,a.lastPushedText):"number"==typeof i&&((a=n.blockedSegment).lastPushedText=T(n.blockedSegment.chunks,""+i,e.responseState,a.lastPushedText))}function Ke(e,t,n){for(var i=n.length,a=0;a<i;a++){var r=t.treeContext;t.treeContext=ce(r,i,a);try{Ge(e,t,n[a])}finally{t.treeContext=r}}}function Ge(e,t,n){var i=t.blockedSegment.formatContext,a=t.legacyContext,r=t.context;try{return Ye(e,t,n)}catch(o){if(Ie(),"object"!=typeof o||null===o||"function"!=typeof o.then)throw t.blockedSegment.formatContext=i,t.legacyContext=a,t.context=r,se(r),o;n=o;var s=t.blockedSegment,l=Re(0,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(l),s.lastPushedText=!1,e=Me(e,t.node,t.blockedBoundary,l,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=i,t.legacyContext=a,t.context=r,se(r)}}function $e(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,Ze(this,t,e)}function Xe(e,n,i){var a=e.blockedBoundary;e.blockedSegment.status=3,null===a?(n.allPendingTasks--,2!==n.status&&(n.status=2,null!==n.destination&&n.destination.push(null))):(a.pendingTasks--,a.forceClientRender||(a.forceClientRender=!0,e=void 0===i?Error(t(432)):i,a.errorDigest=n.onError(e),a.parentFlushed&&n.clientRenderedBoundaries.push(a)),a.fallbackAbortableTasks.forEach((function(e){return Xe(e,n,i)})),a.fallbackAbortableTasks.clear(),n.allPendingTasks--,0===n.allPendingTasks&&(a=n.onAllReady)())}function Je(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&Je(e,n)}else e.completedSegments.push(t)}function Ze(e,n,i){if(null===n){if(i.parentFlushed){if(null!==e.completedRootSegment)throw Error(t(389));e.completedRootSegment=i}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=Oe,(n=e.onShellReady)())}else n.pendingTasks--,n.forceClientRender||(0===n.pendingTasks?(i.parentFlushed&&1===i.status&&Je(n,i),n.parentFlushed&&e.completedBoundaries.push(n),n.fallbackAbortableTasks.forEach($e,e),n.fallbackAbortableTasks.clear()):i.parentFlushed&&1===i.status&&(Je(n,i),1===n.completedSegments.length&&n.parentFlushed&&e.partialBoundaries.push(n)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function et(e){if(2!==e.status){var t=ee,n=Ue.current;Ue.current=De;var i=Le;Le=e.responseState;try{var a,r=e.pingedTasks;for(a=0;a<r.length;a++){var s=r[a],l=e,o=s.blockedSegment;if(0===o.status){se(s.context);try{Ye(l,s,s.node),l.responseState.generateStaticMarkup||o.lastPushedText&&o.textEmbedded&&o.chunks.push("\x3c!-- --\x3e"),s.abortSet.delete(s),o.status=1,Ze(l,s.blockedBoundary,o)}catch(A){if(Ie(),"object"==typeof A&&null!==A&&"function"==typeof A.then){var d=s.ping;A.then(d,d)}else{s.abortSet.delete(s),o.status=4;var c=s.blockedBoundary,u=A,p=Qe(l,u);if(null===c?He(l,u):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=p,c.parentFlushed&&l.clientRenderedBoundaries.push(c))),l.allPendingTasks--,0===l.allPendingTasks)(0,l.onAllReady)()}}}}r.splice(0,a),null!==e.destination&&st(e,e.destination)}catch(A){Qe(e,A),He(e,A)}finally{Le=i,Ue.current=n,n===De&&se(t)}}}function tt(e,n,i){switch(i.parentFlushed=!0,i.status){case 0:var a=i.id=e.nextSegmentId++;return i.lastPushedText=!1,i.textEmbedded=!1,e=e.responseState,n.push('<template id="'),n.push(e.placeholderPrefix),e=a.toString(16),n.push(e),n.push('"></template>');case 1:i.status=2;var r=!0;a=i.chunks;var s=0;i=i.children;for(var l=0;l<i.length;l++){for(r=i[l];s<r.index;s++)n.push(a[s]);r=nt(e,n,r)}for(;s<a.length-1;s++)n.push(a[s]);return s<a.length&&(r=n.push(a[s])),r;default:throw Error(t(390))}}function nt(e,n,i){var a=i.boundary;if(null===a)return tt(e,n,i);if(a.parentFlushed=!0,a.forceClientRender)return e.responseState.generateStaticMarkup||(a=a.errorDigest,n.push("\x3c!--$!--\x3e"),n.push("<template"),a&&(n.push(' data-dgst="'),a=f(a),n.push(a),n.push('"')),n.push("></template>")),tt(e,n,i),e=!!e.responseState.generateStaticMarkup||n.push("\x3c!--/$--\x3e");if(0<a.pendingTasks){a.rootSegmentID=e.nextSegmentId++,0<a.completedSegments.length&&e.partialBoundaries.push(a);var r=e.responseState,s=r.nextSuspenseID++;return r=r.boundaryPrefix+s.toString(16),a=a.id=r,B(n,e.responseState,a),tt(e,n,i),n.push("\x3c!--/$--\x3e")}if(a.byteSize>e.progressiveChunkSize)return a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),B(n,e.responseState,a.id),tt(e,n,i),n.push("\x3c!--/$--\x3e");if(e.responseState.generateStaticMarkup||n.push("\x3c!--$--\x3e"),1!==(i=a.completedSegments).length)throw Error(t(391));return nt(e,n,i[0]),e=!!e.responseState.generateStaticMarkup||n.push("\x3c!--/$--\x3e")}function it(e,n,i){return function(e,n,i,a){switch(i.insertionMode){case 0:case 1:return e.push('<div hidden id="'),e.push(n.segmentPrefix),n=a.toString(16),e.push(n),e.push('">');case 2:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(n.segmentPrefix),n=a.toString(16),e.push(n),e.push('">');case 3:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(n.segmentPrefix),n=a.toString(16),e.push(n),e.push('">');case 4:return e.push('<table hidden id="'),e.push(n.segmentPrefix),n=a.toString(16),e.push(n),e.push('">');case 5:return e.push('<table hidden><tbody id="'),e.push(n.segmentPrefix),n=a.toString(16),e.push(n),e.push('">');case 6:return e.push('<table hidden><tr id="'),e.push(n.segmentPrefix),n=a.toString(16),e.push(n),e.push('">');case 7:return e.push('<table hidden><colgroup id="'),e.push(n.segmentPrefix),n=a.toString(16),e.push(n),e.push('">');default:throw Error(t(397))}}(n,e.responseState,i.formatContext,i.id),nt(e,n,i),function(e,n){switch(n.insertionMode){case 0:case 1:return e.push("</div>");case 2:return e.push("</svg>");case 3:return e.push("</math>");case 4:return e.push("</table>");case 5:return e.push("</tbody></table>");case 6:return e.push("</tr></table>");case 7:return e.push("</colgroup></table>");default:throw Error(t(397))}}(n,i.formatContext)}function at(e,n,i){for(var a=i.completedSegments,r=0;r<a.length;r++)rt(e,n,i,a[r]);if(a.length=0,e=e.responseState,a=i.id,i=i.rootSegmentID,n.push(e.startInlineScript),e.sentCompleteBoundaryFunction?n.push('$RC("'):(e.sentCompleteBoundaryFunction=!0,n.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),null===a)throw Error(t(395));return i=i.toString(16),n.push(a),n.push('","'),n.push(e.segmentPrefix),n.push(i),n.push('")<\/script>')}function rt(e,n,i,a){if(2===a.status)return!0;var r=a.id;if(-1===r){if(-1===(a.id=i.rootSegmentID))throw Error(t(392));return it(e,n,a)}return it(e,n,a),e=e.responseState,n.push(e.startInlineScript),e.sentCompleteSegmentFunction?n.push('$RS("'):(e.sentCompleteSegmentFunction=!0,n.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),n.push(e.segmentPrefix),r=r.toString(16),n.push(r),n.push('","'),n.push(e.placeholderPrefix),n.push(r),n.push('")<\/script>')}function st(e,n){try{var i=e.completedRootSegment;if(null!==i&&0===e.pendingRootTasks){nt(e,n,i),e.completedRootSegment=null;var a=e.responseState.bootstrapChunks;for(i=0;i<a.length-1;i++)n.push(a[i]);i<a.length&&n.push(a[i])}var r,s=e.clientRenderedBoundaries;for(r=0;r<s.length;r++){var l=s[r];a=n;var o=e.responseState,d=l.id,c=l.errorDigest,u=l.errorMessage,p=l.errorComponentStack;if(a.push(o.startInlineScript),o.sentClientRenderFunction?a.push('$RX("'):(o.sentClientRenderFunction=!0,a.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),null===d)throw Error(t(395));if(a.push(d),a.push('"'),c||u||p){a.push(",");var A=k(c||"");a.push(A)}if(u||p){a.push(",");var h=k(u||"");a.push(h)}if(p){a.push(",");var f=k(p);a.push(f)}if(!a.push(")<\/script>"))return e.destination=null,r++,void s.splice(0,r)}s.splice(0,r);var m=e.completedBoundaries;for(r=0;r<m.length;r++)if(!at(e,n,m[r]))return e.destination=null,r++,void m.splice(0,r);m.splice(0,r);var v=e.partialBoundaries;for(r=0;r<v.length;r++){var g=v[r];e:{s=e,l=n;var y=g.completedSegments;for(o=0;o<y.length;o++)if(!rt(s,l,g,y[o])){o++,y.splice(0,o);var x=!1;break e}y.splice(0,o),x=!0}if(!x)return e.destination=null,r++,void v.splice(0,r)}v.splice(0,r);var b=e.completedBoundaries;for(r=0;r<b.length;r++)if(!at(e,n,b[r]))return e.destination=null,r++,void b.splice(0,r);b.splice(0,r)}finally{0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&n.push(null)}}function lt(e,t){try{var n=e.abortableTasks;n.forEach((function(n){return Xe(n,e,t)})),n.clear(),null!==e.destination&&st(e,e.destination)}catch(i){Qe(e,i),He(e,i)}}function ot(){}function dt(e,n,i,a){var r=!1,s=null,l="",o={push:function(e){return null!==e&&(l+=e),!0},destroy:function(e){r=!0,s=e}},d=!1;if(e=function(e,t,n,i,a,r,s,l,o){var d=[],c=new Set;return(n=Re(t={destination:null,responseState:t,progressiveChunkSize:void 0===i?12800:i,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:c,pingedTasks:d,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===a?_e:a,onAllReady:void 0===r?Oe:r,onShellReady:void 0===s?Oe:s,onShellError:void 0===l?Oe:l,onFatalError:void 0===o?Oe:o},0,null,n,!1,!1)).parentFlushed=!0,e=Me(t,e,null,n,c,J,null,de),d.push(e),t}(e,function(e,t){return{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:(t=void 0===t?"":t)+"P:",segmentPrefix:t+"S:",boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:e}}(i,n?n.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,ot,void 0,(function(){d=!0}),void 0,void 0),et(e),lt(e,a),1===e.status)e.status=2,o.destroy(e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=o;try{st(e,o)}catch(c){Qe(e,c),He(e,c)}}if(r)throw s;if(!d)throw Error(t(426));return l}return Cx.renderToNodeStream=function(){throw Error(t(207))},Cx.renderToStaticMarkup=function(e,t){return dt(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Cx.renderToStaticNodeStream=function(){throw Error(t(208))},Cx.renderToString=function(e,t){return dt(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Cx.version="18.3.1",Cx}var Nx,Ix,Fx,Bx={}; +/** + * @license React + * react-dom-server.browser.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */function Px(){if(Nx)return Bx;Nx=1;var e=a;function t(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,i=0;function r(e,t){if(0!==t.length)if(512<t.length)0<i&&(e.enqueue(new Uint8Array(n.buffer,0,i)),n=new Uint8Array(512),i=0),e.enqueue(t);else{var a=n.length-i;a<t.length&&(0===a?e.enqueue(n):(n.set(t.subarray(0,a),i),e.enqueue(n),t=t.subarray(a)),n=new Uint8Array(512),i=0),n.set(t,i),i+=t.length}}function s(e,t){return r(e,t),!0}function l(e){n&&0<i&&(e.enqueue(new Uint8Array(n.buffer,0,i)),n=null,i=0)}var o=new TextEncoder;function d(e){return o.encode(e)}function c(e){return o.encode(e)}function u(e,t){"function"==typeof e.error?e.error(t):e.close()}var p=Object.prototype.hasOwnProperty,A=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},f={};function m(e){return!!p.call(f,e)||!p.call(h,e)&&(A.test(e)?f[e]=!0:(h[e]=!0,!1))}function v(e,t,n,i,a,r,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=s}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,x);g[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,x);g[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,x);g[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var b={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},w=["Webkit","ms","Moz","O"];Object.keys(b).forEach((function(e){w.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),b[t]=b[e]}))}));var j=/["'&<>]/;function C(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=j.exec(e);if(t){var n,i="",a=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}a!==n&&(i+=e.substring(a,n)),a=n+1,i+=t}e=a!==n?i+e.substring(a,n):i}return e}var S=/([A-Z])/g,N=/^ms-/,I=Array.isArray,F=c("<script>"),B=c("<\/script>"),P=c('<script src="'),k=c('<script type="module" src="'),T=c('" async=""><\/script>'),E=/(<\/|<)(s)(cript)/gi;function D(e,t,n,i){return t+("s"===n?"\\u0073":"\\u0053")+i}function L(e,t){return{insertionMode:e,selectedValue:t}}var U=c("\x3c!-- --\x3e");function _(e,t,n,i){return""===t?i:(i&&e.push(U),e.push(d(C(t))),!0)}var O=new Map,M=c(' style="'),R=c(":"),Q=c(";");function H(e,n,i){if("object"!=typeof i)throw Error(t(62));for(var a in n=!0,i)if(p.call(i,a)){var r=i[a];if(null!=r&&"boolean"!=typeof r&&""!==r){if(0===a.indexOf("--")){var s=d(C(a));r=d(C((""+r).trim()))}else{s=a;var l=O.get(s);void 0!==l||(l=c(C(s.replace(S,"-$1").toLowerCase().replace(N,"-ms-"))),O.set(s,l)),s=l,r="number"==typeof r?0===r||p.call(b,a)?d(""+r):d(r+"px"):d(C((""+r).trim()))}n?(n=!1,e.push(M,s,R,r)):e.push(Q,s,R,r)}}n||e.push(q)}var V=c(" "),z=c('="'),q=c('"'),W=c('=""');function Y(e,t,n,i){switch(n){case"style":return void H(e,t,i);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])if(null!==(t=g.hasOwnProperty(n)?g[n]:null)){switch(typeof i){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=d(t.attributeName),t.type){case 3:i&&e.push(V,n,W);break;case 4:!0===i?e.push(V,n,W):!1!==i&&e.push(V,n,z,d(C(i)),q);break;case 5:isNaN(i)||e.push(V,n,z,d(C(i)),q);break;case 6:!isNaN(i)&&1<=i&&e.push(V,n,z,d(C(i)),q);break;default:t.sanitizeURL&&(i=""+i),e.push(V,n,z,d(C(i)),q)}}else if(m(n)){switch(typeof i){case"function":case"symbol":return;case"boolean":if("data-"!==(t=n.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push(V,d(n),z,d(C(i)),q)}}var K=c(">"),G=c("/>");function $(e,n,i){if(null!=n){if(null!=i)throw Error(t(60));if("object"!=typeof n||!("__html"in n))throw Error(t(61));null!=(n=n.__html)&&e.push(d(""+n))}}var X=c(' selected=""');function J(e,t,n,i){e.push(ne(n));var a,r=n=null;for(a in t)if(p.call(t,a)){var s=t[a];if(null!=s)switch(a){case"children":n=s;break;case"dangerouslySetInnerHTML":r=s;break;default:Y(e,i,a,s)}}return e.push(K),$(e,r,n),"string"==typeof n?(e.push(d(C(n))),null):n}var Z=c("\n"),ee=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,te=new Map;function ne(e){var n=te.get(e);if(void 0===n){if(!ee.test(e))throw Error(t(65,e));n=c("<"+e),te.set(e,n)}return n}var ie=c("<!DOCTYPE html>");function ae(n,i,a,r,s){switch(i){case"select":n.push(ne("select"));var l=null,o=null;for(h in a)if(p.call(a,h)){var c=a[h];if(null!=c)switch(h){case"children":l=c;break;case"dangerouslySetInnerHTML":o=c;break;case"defaultValue":case"value":break;default:Y(n,r,h,c)}}return n.push(K),$(n,o,l),l;case"option":o=s.selectedValue,n.push(ne("option"));var u=c=null,A=null,h=null;for(l in a)if(p.call(a,l)){var f=a[l];if(null!=f)switch(l){case"children":c=f;break;case"selected":A=f;break;case"dangerouslySetInnerHTML":h=f;break;case"value":u=f;default:Y(n,r,l,f)}}if(null!=o)if(a=null!==u?""+u:function(t){var n="";return e.Children.forEach(t,(function(e){null!=e&&(n+=e)})),n}(c),I(o)){for(r=0;r<o.length;r++)if(""+o[r]===a){n.push(X);break}}else""+o===a&&n.push(X);else A&&n.push(X);return n.push(K),$(n,h,c),c;case"textarea":for(c in n.push(ne("textarea")),h=o=l=null,a)if(p.call(a,c)&&null!=(u=a[c]))switch(c){case"children":h=u;break;case"value":l=u;break;case"defaultValue":o=u;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:Y(n,r,c,u)}if(null===l&&null!==o&&(l=o),n.push(K),null!=h){if(null!=l)throw Error(t(92));if(I(h)&&1<h.length)throw Error(t(93));l=""+h}return"string"==typeof l&&"\n"===l[0]&&n.push(Z),null!==l&&n.push(d(C(""+l))),null;case"input":for(o in n.push(ne("input")),u=h=c=l=null,a)if(p.call(a,o)&&null!=(A=a[o]))switch(o){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":u=A;break;case"defaultValue":c=A;break;case"checked":h=A;break;case"value":l=A;break;default:Y(n,r,o,A)}return null!==h?Y(n,r,"checked",h):null!==u&&Y(n,r,"checked",u),null!==l?Y(n,r,"value",l):null!==c&&Y(n,r,"value",c),n.push(G),null;case"menuitem":for(var v in n.push(ne("menuitem")),a)if(p.call(a,v)&&null!=(l=a[v]))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:Y(n,r,v,l)}return n.push(K),null;case"title":for(f in n.push(ne("title")),l=null,a)if(p.call(a,f)&&null!=(o=a[f]))switch(f){case"children":l=o;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:Y(n,r,f,o)}return n.push(K),l;case"listing":case"pre":for(u in n.push(ne(i)),o=l=null,a)if(p.call(a,u)&&null!=(c=a[u]))switch(u){case"children":l=c;break;case"dangerouslySetInnerHTML":o=c;break;default:Y(n,r,u,c)}if(n.push(K),null!=o){if(null!=l)throw Error(t(60));if("object"!=typeof o||!("__html"in o))throw Error(t(61));null!=(a=o.__html)&&("string"==typeof a&&0<a.length&&"\n"===a[0]?n.push(Z,d(a)):n.push(d(""+a)))}return"string"==typeof l&&"\n"===l[0]&&n.push(Z),l;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var g in n.push(ne(i)),a)if(p.call(a,g)&&null!=(l=a[g]))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,i));default:Y(n,r,g,l)}return n.push(G),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return J(n,a,i,r);case"html":return 0===s.insertionMode&&n.push(ie),J(n,a,i,r);default:if(-1===i.indexOf("-")&&"string"!=typeof a.is)return J(n,a,i,r);for(A in n.push(ne(i)),o=l=null,a)if(p.call(a,A)&&null!=(c=a[A]))switch(A){case"children":l=c;break;case"dangerouslySetInnerHTML":o=c;break;case"style":H(n,r,c);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:m(A)&&"function"!=typeof c&&"symbol"!=typeof c&&n.push(V,d(A),z,d(C(c)),q)}return n.push(K),$(n,o,l),l}}var re=c("</"),se=c(">"),le=c('<template id="'),oe=c('"></template>'),de=c("\x3c!--$--\x3e"),ce=c('\x3c!--$?--\x3e<template id="'),ue=c('"></template>'),pe=c("\x3c!--$!--\x3e"),Ae=c("\x3c!--/$--\x3e"),he=c("<template"),fe=c('"'),me=c(' data-dgst="');c(' data-msg="'),c(' data-stck="');var ve=c("></template>");function ge(e,n,i){if(r(e,ce),null===i)throw Error(t(395));return r(e,i),s(e,ue)}var ye=c('<div hidden id="'),xe=c('">'),be=c("</div>"),we=c('<svg aria-hidden="true" style="display:none" id="'),je=c('">'),Ce=c("</svg>"),Se=c('<math aria-hidden="true" style="display:none" id="'),Ne=c('">'),Ie=c("</math>"),Fe=c('<table hidden id="'),Be=c('">'),Pe=c("</table>"),ke=c('<table hidden><tbody id="'),Te=c('">'),Ee=c("</tbody></table>"),De=c('<table hidden><tr id="'),Le=c('">'),Ue=c("</tr></table>"),_e=c('<table hidden><colgroup id="'),Oe=c('">'),Me=c("</colgroup></table>");var Re=c('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Qe=c('$RS("'),He=c('","'),Ve=c('")<\/script>'),ze=c('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),qe=c('$RC("'),We=c('","'),Ye=c('")<\/script>'),Ke=c('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Ge=c('$RX("'),$e=c('"'),Xe=c(")<\/script>"),Je=c(","),Ze=/[<\u2028\u2029]/g;function et(e){return JSON.stringify(e).replace(Ze,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}var tt=Object.assign,nt=Symbol.for("react.element"),it=Symbol.for("react.portal"),at=Symbol.for("react.fragment"),rt=Symbol.for("react.strict_mode"),st=Symbol.for("react.profiler"),lt=Symbol.for("react.provider"),ot=Symbol.for("react.context"),dt=Symbol.for("react.forward_ref"),ct=Symbol.for("react.suspense"),ut=Symbol.for("react.suspense_list"),pt=Symbol.for("react.memo"),At=Symbol.for("react.lazy"),ht=Symbol.for("react.scope"),ft=Symbol.for("react.debug_trace_mode"),mt=Symbol.for("react.legacy_hidden"),vt=Symbol.for("react.default_value"),gt=Symbol.iterator;function yt(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case at:return"Fragment";case it:return"Portal";case st:return"Profiler";case rt:return"StrictMode";case ct:return"Suspense";case ut:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ot:return(e.displayName||"Context")+".Consumer";case lt:return(e._context.displayName||"Context")+".Provider";case dt:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case pt:return null!==(t=e.displayName||null)?t:yt(e.type)||"Memo";case At:t=e._payload,e=e._init;try{return yt(e(t))}catch(ese){}}return null}var xt={};function bt(e,t){if(!(e=e.contextTypes))return xt;var n,i={};for(n in e)i[n]=t[n];return i}var wt=null;function jt(e,n){if(e!==n){e.context._currentValue=e.parentValue,e=e.parent;var i=n.parent;if(null===e){if(null!==i)throw Error(t(401))}else{if(null===i)throw Error(t(401));jt(e,i)}n.context._currentValue=n.value}}function Ct(e){e.context._currentValue=e.parentValue,null!==(e=e.parent)&&Ct(e)}function St(e){var t=e.parent;null!==t&&St(t),e.context._currentValue=e.value}function Nt(e,n){if(e.context._currentValue=e.parentValue,null===(e=e.parent))throw Error(t(402));e.depth===n.depth?jt(e,n):Nt(e,n)}function It(e,n){var i=n.parent;if(null===i)throw Error(t(402));e.depth===i.depth?jt(e,i):It(e,i),n.context._currentValue=n.value}function Ft(e){var t=wt;t!==e&&(null===t?St(e):null===e?Ct(t):t.depth===e.depth?jt(t,e):t.depth>e.depth?Nt(t,e):It(t,e),wt=e)}var Bt={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function Pt(e,t,n,i){var a=void 0!==e.state?e.state:null;e.updater=Bt,e.props=n,e.state=a;var r={queue:[],replace:!1};e._reactInternals=r;var s=t.contextType;if(e.context="object"==typeof s&&null!==s?s._currentValue:i,"function"==typeof(s=t.getDerivedStateFromProps)&&(a=null==(s=s(n,a))?a:tt({},a,s),e.state=a),"function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate&&("function"==typeof e.UNSAFE_componentWillMount||"function"==typeof e.componentWillMount))if(t=e.state,"function"==typeof e.componentWillMount&&e.componentWillMount(),"function"==typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&Bt.enqueueReplaceState(e,e.state,null),null!==r.queue&&0<r.queue.length)if(t=r.queue,s=r.replace,r.queue=null,r.replace=!1,s&&1===t.length)e.state=t[0];else{for(r=s?t[0]:e.state,a=!0,s=s?1:0;s<t.length;s++){var l=t[s];null!=(l="function"==typeof l?l.call(e,r,n,i):l)&&(a?(a=!1,r=tt({},r,l)):tt(r,l))}e.state=r}else r.queue=null}var kt={id:1,overflow:""};function Tt(e,t,n){var i=e.id;e=e.overflow;var a=32-Et(i)-1;i&=~(1<<a),n+=1;var r=32-Et(t)+a;if(30<r){var s=a-a%5;return r=(i&(1<<s)-1).toString(32),i>>=s,a-=s,{id:1<<32-Et(t)+a|n<<a|i,overflow:r+e}}return{id:1<<r|n<<a|i,overflow:e}}var Et=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(Dt(e)/Lt|0)|0},Dt=Math.log,Lt=Math.LN2;var Ut="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},_t=null,Ot=null,Mt=null,Rt=null,Qt=!1,Ht=!1,Vt=0,zt=null,qt=0;function Wt(){if(null===_t)throw Error(t(321));return _t}function Yt(){if(0<qt)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Kt(){return null===Rt?null===Mt?(Qt=!1,Mt=Rt=Yt()):(Qt=!0,Rt=Mt):null===Rt.next?(Qt=!1,Rt=Rt.next=Yt()):(Qt=!0,Rt=Rt.next),Rt}function Gt(){Ot=_t=null,Ht=!1,Mt=null,qt=0,Rt=zt=null}function $t(e,t){return"function"==typeof t?t(e):t}function Xt(e,t,n){if(_t=Wt(),Rt=Kt(),Qt){var i=Rt.queue;if(t=i.dispatch,null!==zt&&void 0!==(n=zt.get(i))){zt.delete(i),i=Rt.memoizedState;do{i=e(i,n.action),n=n.next}while(null!==n);return Rt.memoizedState=i,[i,t]}return[Rt.memoizedState,t]}return e=e===$t?"function"==typeof t?t():t:void 0!==n?n(t):t,Rt.memoizedState=e,e=(e=Rt.queue={last:null,dispatch:null}).dispatch=Zt.bind(null,_t,e),[Rt.memoizedState,e]}function Jt(e,t){if(_t=Wt(),t=void 0===t?null:t,null!==(Rt=Kt())){var n=Rt.memoizedState;if(null!==n&&null!==t){var i=n[1];e:if(null===i)i=!1;else{for(var a=0;a<i.length&&a<t.length;a++)if(!Ut(t[a],i[a])){i=!1;break e}i=!0}if(i)return n[0]}}return e=e(),Rt.memoizedState=[e,t],e}function Zt(e,n,i){if(25<=qt)throw Error(t(301));if(e===_t)if(Ht=!0,e={action:i,next:null},null===zt&&(zt=new Map),void 0===(i=zt.get(n)))zt.set(n,e);else{for(n=i;null!==n.next;)n=n.next;n.next=e}}function en(){throw Error(t(394))}function tn(){}var nn={readContext:function(e){return e._currentValue},useContext:function(e){return Wt(),e._currentValue},useMemo:Jt,useReducer:Xt,useRef:function(e){_t=Wt();var t=(Rt=Kt()).memoizedState;return null===t?(e={current:e},Rt.memoizedState=e):t},useState:function(e){return Xt($t,e)},useInsertionEffect:tn,useLayoutEffect:function(){},useCallback:function(e,t){return Jt((function(){return e}),t)},useImperativeHandle:tn,useEffect:tn,useDebugValue:tn,useDeferredValue:function(e){return Wt(),e},useTransition:function(){return Wt(),[!1,en]},useId:function(){var e=Ot.treeContext,n=e.overflow;e=((e=e.id)&~(1<<32-Et(e)-1)).toString(32)+n;var i=an;if(null===i)throw Error(t(404));return n=Vt++,e=":"+i.idPrefix+"R"+e,0<n&&(e+="H"+n.toString(32)),e+":"},useMutableSource:function(e,t){return Wt(),t(e._source)},useSyncExternalStore:function(e,n,i){if(void 0===i)throw Error(t(407));return i()}},an=null,rn=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function sn(e){return null}function ln(){}function on(e,t,n,i,a,r,s,l){e.allPendingTasks++,null===n?e.pendingRootTasks++:n.pendingTasks++;var o={node:t,ping:function(){var t=e.pingedTasks;t.push(o),1===t.length&&jn(e)},blockedBoundary:n,blockedSegment:i,abortSet:a,legacyContext:r,context:s,treeContext:l};return a.add(o),o}function dn(e,t,n,i,a,r){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:i,boundary:n,lastPushedText:a,textEmbedded:r}}function cn(e,t){if(null!=(e=e.onError(t))&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function un(e,t){var n=e.onShellError;n(t),(n=e.onFatalError)(t),null!==e.destination?(e.status=2,u(e.destination,t)):(e.status=1,e.fatalError=t)}function pn(e,t,n,i,a){for(_t={},Ot=t,Vt=0,e=n(i,a);Ht;)Ht=!1,Vt=0,qt+=1,Rt=null,e=n(i,a);return Gt(),e}function An(e,n,i,a){var r=i.render(),s=a.childContextTypes;if(null!=s){var l=n.legacyContext;if("function"!=typeof i.getChildContext)a=l;else{for(var o in i=i.getChildContext())if(!(o in s))throw Error(t(108,yt(a)||"Unknown",o));a=tt({},l,i)}n.legacyContext=a,mn(e,n,r),n.legacyContext=l}else mn(e,n,r)}function hn(e,t){if(e&&e.defaultProps){for(var n in t=tt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function fn(e,n,i,a,r){if("function"==typeof i)if(i.prototype&&i.prototype.isReactComponent){r=bt(i,n.legacyContext);var s=i.contextType;Pt(s=new i(a,"object"==typeof s&&null!==s?s._currentValue:r),i,a,r),An(e,n,s,i)}else{r=pn(e,n,i,a,s=bt(i,n.legacyContext));var l=0!==Vt;if("object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof)Pt(r,i,a,s),An(e,n,r,i);else if(l){a=n.treeContext,n.treeContext=Tt(a,1,0);try{mn(e,n,r)}finally{n.treeContext=a}}else mn(e,n,r)}else{if("string"!=typeof i){switch(i){case mt:case ft:case rt:case st:case at:case ut:return void mn(e,n,a.children);case ht:throw Error(t(343));case ct:e:{i=n.blockedBoundary,r=n.blockedSegment,s=a.fallback,a=a.children;var o={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l=new Set,errorDigest:null},c=dn(0,r.chunks.length,o,r.formatContext,!1,!1);r.children.push(c),r.lastPushedText=!1;var u=dn(0,0,null,r.formatContext,!1,!1);u.parentFlushed=!0,n.blockedBoundary=o,n.blockedSegment=u;try{if(gn(e,n,a),u.lastPushedText&&u.textEmbedded&&u.chunks.push(U),u.status=1,bn(o,u),0===o.pendingTasks)break e}catch(p){u.status=4,o.forceClientRender=!0,o.errorDigest=cn(e,p)}finally{n.blockedBoundary=i,n.blockedSegment=r}n=on(e,s,i,c,l,n.legacyContext,n.context,n.treeContext),e.pingedTasks.push(n)}return}if("object"==typeof i&&null!==i)switch(i.$$typeof){case dt:if(a=pn(e,n,i.render,a,r),0!==Vt){i=n.treeContext,n.treeContext=Tt(i,1,0);try{mn(e,n,a)}finally{n.treeContext=i}}else mn(e,n,a);return;case pt:return void fn(e,n,i=i.type,a=hn(i,a),r);case lt:if(r=a.children,i=i._context,a=a.value,s=i._currentValue,i._currentValue=a,wt=a={parent:l=wt,depth:null===l?0:l.depth+1,context:i,parentValue:s,value:a},n.context=a,mn(e,n,r),null===(e=wt))throw Error(t(403));return a=e.parentValue,e.context._currentValue=a===vt?e.context._defaultValue:a,e=wt=e.parent,void(n.context=e);case ot:return void mn(e,n,a=(a=a.children)(i._currentValue));case At:return void fn(e,n,i=(r=i._init)(i._payload),a=hn(i,a),void 0)}throw Error(t(130,null==i?i:typeof i,""))}switch(s=ae((r=n.blockedSegment).chunks,i,a,e.responseState,r.formatContext),r.lastPushedText=!1,l=r.formatContext,r.formatContext=function(e,t,n){switch(t){case"select":return L(1,null!=n.value?n.value:n.defaultValue);case"svg":return L(2,null);case"math":return L(3,null);case"foreignObject":return L(1,null);case"table":return L(4,null);case"thead":case"tbody":case"tfoot":return L(5,null);case"colgroup":return L(7,null);case"tr":return L(6,null)}return 4<=e.insertionMode||0===e.insertionMode?L(1,null):e}(l,i,a),gn(e,n,s),r.formatContext=l,i){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:r.chunks.push(re,d(i),se)}r.lastPushedText=!1}}function mn(e,n,i){if(n.node=i,"object"==typeof i&&null!==i){switch(i.$$typeof){case nt:return void fn(e,n,i.type,i.props,i.ref);case it:throw Error(t(257));case At:var a=i._init;return void mn(e,n,i=a(i._payload))}if(I(i))return void vn(e,n,i);if(null===i||"object"!=typeof i?a=null:a="function"==typeof(a=gt&&i[gt]||i["@@iterator"])?a:null,a&&(a=a.call(i))){if(!(i=a.next()).done){var r=[];do{r.push(i.value),i=a.next()}while(!i.done);vn(e,n,r)}return}throw e=Object.prototype.toString.call(i),Error(t(31,"[object Object]"===e?"object with keys {"+Object.keys(i).join(", ")+"}":e))}"string"==typeof i?(a=n.blockedSegment).lastPushedText=_(n.blockedSegment.chunks,i,e.responseState,a.lastPushedText):"number"==typeof i&&((a=n.blockedSegment).lastPushedText=_(n.blockedSegment.chunks,""+i,e.responseState,a.lastPushedText))}function vn(e,t,n){for(var i=n.length,a=0;a<i;a++){var r=t.treeContext;t.treeContext=Tt(r,i,a);try{gn(e,t,n[a])}finally{t.treeContext=r}}}function gn(e,t,n){var i=t.blockedSegment.formatContext,a=t.legacyContext,r=t.context;try{return mn(e,t,n)}catch(o){if(Gt(),"object"!=typeof o||null===o||"function"!=typeof o.then)throw t.blockedSegment.formatContext=i,t.legacyContext=a,t.context=r,Ft(r),o;n=o;var s=t.blockedSegment,l=dn(0,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(l),s.lastPushedText=!1,e=on(e,t.node,t.blockedBoundary,l,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=i,t.legacyContext=a,t.context=r,Ft(r)}}function yn(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,wn(this,t,e)}function xn(e,n,i){var a=e.blockedBoundary;e.blockedSegment.status=3,null===a?(n.allPendingTasks--,2!==n.status&&(n.status=2,null!==n.destination&&n.destination.close())):(a.pendingTasks--,a.forceClientRender||(a.forceClientRender=!0,e=void 0===i?Error(t(432)):i,a.errorDigest=n.onError(e),a.parentFlushed&&n.clientRenderedBoundaries.push(a)),a.fallbackAbortableTasks.forEach((function(e){return xn(e,n,i)})),a.fallbackAbortableTasks.clear(),n.allPendingTasks--,0===n.allPendingTasks&&(a=n.onAllReady)())}function bn(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&bn(e,n)}else e.completedSegments.push(t)}function wn(e,n,i){if(null===n){if(i.parentFlushed){if(null!==e.completedRootSegment)throw Error(t(389));e.completedRootSegment=i}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=ln,(n=e.onShellReady)())}else n.pendingTasks--,n.forceClientRender||(0===n.pendingTasks?(i.parentFlushed&&1===i.status&&bn(n,i),n.parentFlushed&&e.completedBoundaries.push(n),n.fallbackAbortableTasks.forEach(yn,e),n.fallbackAbortableTasks.clear()):i.parentFlushed&&1===i.status&&(bn(n,i),1===n.completedSegments.length&&n.parentFlushed&&e.partialBoundaries.push(n)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function jn(e){if(2!==e.status){var t=wt,n=rn.current;rn.current=nn;var i=an;an=e.responseState;try{var a,r=e.pingedTasks;for(a=0;a<r.length;a++){var s=r[a],l=e,o=s.blockedSegment;if(0===o.status){Ft(s.context);try{mn(l,s,s.node),o.lastPushedText&&o.textEmbedded&&o.chunks.push(U),s.abortSet.delete(s),o.status=1,wn(l,s.blockedBoundary,o)}catch(A){if(Gt(),"object"==typeof A&&null!==A&&"function"==typeof A.then){var d=s.ping;A.then(d,d)}else{s.abortSet.delete(s),o.status=4;var c=s.blockedBoundary,u=A,p=cn(l,u);if(null===c?un(l,u):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=p,c.parentFlushed&&l.clientRenderedBoundaries.push(c))),l.allPendingTasks--,0===l.allPendingTasks)(0,l.onAllReady)()}}}}r.splice(0,a),null!==e.destination&&Bn(e,e.destination)}catch(A){cn(e,A),un(e,A)}finally{an=i,rn.current=n,n===nn&&Ft(t)}}}function Cn(e,n,i){switch(i.parentFlushed=!0,i.status){case 0:var a=i.id=e.nextSegmentId++;return i.lastPushedText=!1,i.textEmbedded=!1,e=e.responseState,r(n,le),r(n,e.placeholderPrefix),r(n,e=d(a.toString(16))),s(n,oe);case 1:i.status=2;var l=!0;a=i.chunks;var o=0;i=i.children;for(var c=0;c<i.length;c++){for(l=i[c];o<l.index;o++)r(n,a[o]);l=Sn(e,n,l)}for(;o<a.length-1;o++)r(n,a[o]);return o<a.length&&(l=s(n,a[o])),l;default:throw Error(t(390))}}function Sn(e,n,i){var a=i.boundary;if(null===a)return Cn(e,n,i);if(a.parentFlushed=!0,a.forceClientRender)a=a.errorDigest,s(n,pe),r(n,he),a&&(r(n,me),r(n,d(C(a))),r(n,fe)),s(n,ve),Cn(e,n,i);else if(0<a.pendingTasks){a.rootSegmentID=e.nextSegmentId++,0<a.completedSegments.length&&e.partialBoundaries.push(a);var l=e.responseState,o=l.nextSuspenseID++;l=c(l.boundaryPrefix+o.toString(16)),a=a.id=l,ge(n,e.responseState,a),Cn(e,n,i)}else if(a.byteSize>e.progressiveChunkSize)a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),ge(n,e.responseState,a.id),Cn(e,n,i);else{if(s(n,de),1!==(i=a.completedSegments).length)throw Error(t(391));Sn(e,n,i[0])}return s(n,Ae)}function Nn(e,n,i){return function(e,n,i,a){switch(i.insertionMode){case 0:case 1:return r(e,ye),r(e,n.segmentPrefix),r(e,d(a.toString(16))),s(e,xe);case 2:return r(e,we),r(e,n.segmentPrefix),r(e,d(a.toString(16))),s(e,je);case 3:return r(e,Se),r(e,n.segmentPrefix),r(e,d(a.toString(16))),s(e,Ne);case 4:return r(e,Fe),r(e,n.segmentPrefix),r(e,d(a.toString(16))),s(e,Be);case 5:return r(e,ke),r(e,n.segmentPrefix),r(e,d(a.toString(16))),s(e,Te);case 6:return r(e,De),r(e,n.segmentPrefix),r(e,d(a.toString(16))),s(e,Le);case 7:return r(e,_e),r(e,n.segmentPrefix),r(e,d(a.toString(16))),s(e,Oe);default:throw Error(t(397))}}(n,e.responseState,i.formatContext,i.id),Sn(e,n,i),function(e,n){switch(n.insertionMode){case 0:case 1:return s(e,be);case 2:return s(e,Ce);case 3:return s(e,Ie);case 4:return s(e,Pe);case 5:return s(e,Ee);case 6:return s(e,Ue);case 7:return s(e,Me);default:throw Error(t(397))}}(n,i.formatContext)}function In(e,n,i){for(var a=i.completedSegments,l=0;l<a.length;l++)Fn(e,n,i,a[l]);if(a.length=0,e=e.responseState,a=i.id,i=i.rootSegmentID,r(n,e.startInlineScript),e.sentCompleteBoundaryFunction?r(n,qe):(e.sentCompleteBoundaryFunction=!0,r(n,ze)),null===a)throw Error(t(395));return i=d(i.toString(16)),r(n,a),r(n,We),r(n,e.segmentPrefix),r(n,i),s(n,Ye)}function Fn(e,n,i,a){if(2===a.status)return!0;var l=a.id;if(-1===l){if(-1===(a.id=i.rootSegmentID))throw Error(t(392));return Nn(e,n,a)}return Nn(e,n,a),r(n,(e=e.responseState).startInlineScript),e.sentCompleteSegmentFunction?r(n,Qe):(e.sentCompleteSegmentFunction=!0,r(n,Re)),r(n,e.segmentPrefix),r(n,l=d(l.toString(16))),r(n,He),r(n,e.placeholderPrefix),r(n,l),s(n,Ve)}function Bn(e,a){n=new Uint8Array(512),i=0;try{var o=e.completedRootSegment;if(null!==o&&0===e.pendingRootTasks){Sn(e,a,o),e.completedRootSegment=null;var c=e.responseState.bootstrapChunks;for(o=0;o<c.length-1;o++)r(a,c[o]);o<c.length&&s(a,c[o])}var u,p=e.clientRenderedBoundaries;for(u=0;u<p.length;u++){var A=p[u];c=a;var h=e.responseState,f=A.id,m=A.errorDigest,v=A.errorMessage,g=A.errorComponentStack;if(r(c,h.startInlineScript),h.sentClientRenderFunction?r(c,Ge):(h.sentClientRenderFunction=!0,r(c,Ke)),null===f)throw Error(t(395));r(c,f),r(c,$e),(m||v||g)&&(r(c,Je),r(c,d(et(m||"")))),(v||g)&&(r(c,Je),r(c,d(et(v||"")))),g&&(r(c,Je),r(c,d(et(g)))),s(c,Xe)}p.splice(0,u);var y=e.completedBoundaries;for(u=0;u<y.length;u++)In(e,a,y[u]);y.splice(0,u),l(a),n=new Uint8Array(512),i=0;var x=e.partialBoundaries;for(u=0;u<x.length;u++){var b=x[u];e:{p=e,A=a;var w=b.completedSegments;for(h=0;h<w.length;h++)if(!Fn(p,A,b,w[h])){h++,w.splice(0,h);var j=!1;break e}w.splice(0,h),j=!0}if(!j)return e.destination=null,u++,void x.splice(0,u)}x.splice(0,u);var C=e.completedBoundaries;for(u=0;u<C.length;u++)In(e,a,C[u]);C.splice(0,u)}finally{l(a),0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&a.close()}}function Pn(e,t){try{var n=e.abortableTasks;n.forEach((function(n){return xn(n,e,t)})),n.clear(),null!==e.destination&&Bn(e,e.destination)}catch(i){cn(e,i),un(e,i)}}return Bx.renderToReadableStream=function(e,t){return new Promise((function(n,i){var a,r,s=new Promise((function(e,t){r=e,a=t})),l=function(e,t,n,i,a,r,s,l,o){var d=[],c=new Set;return(n=dn(t={destination:null,responseState:t,progressiveChunkSize:void 0===i?12800:i,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:c,pingedTasks:d,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===a?sn:a,onAllReady:void 0===r?ln:r,onShellReady:void 0===s?ln:s,onShellError:void 0===l?ln:l,onFatalError:void 0===o?ln:o},0,null,n,!1,!1)).parentFlushed=!0,e=on(t,e,null,n,c,xt,null,kt),d.push(e),t}(e,function(e,t,n,i,a){e=void 0===e?"":e,t=void 0===t?F:c('<script nonce="'+C(t)+'">');var r=[];if(void 0!==n&&r.push(t,d((""+n).replace(E,D)),B),void 0!==i)for(n=0;n<i.length;n++)r.push(P,d(C(i[n])),T);if(void 0!==a)for(i=0;i<a.length;i++)r.push(k,d(C(a[i])),T);return{bootstrapChunks:r,startInlineScript:t,placeholderPrefix:c(e+"P:"),segmentPrefix:c(e+"S:"),boundaryPrefix:e+"B:",idPrefix:e,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),function(e){return L("http://www.w3.org/2000/svg"===e?2:"http://www.w3.org/1998/Math/MathML"===e?3:0,null)}(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,r,(function(){var e=new ReadableStream({type:"bytes",pull:function(e){if(1===l.status)l.status=2,u(e,l.fatalError);else if(2!==l.status&&null===l.destination){l.destination=e;try{Bn(l,e)}catch(t){cn(l,t),un(l,t)}}},cancel:function(){Pn(l)}},{highWaterMark:0});e.allReady=s,n(e)}),(function(e){s.catch((function(){})),i(e)}),a);if(t&&t.signal){var o=t.signal,p=function(){Pn(l,o.reason),o.removeEventListener("abort",p)};o.addEventListener("abort",p)}jn(l)}))},Bx.version="18.3.1",Bx}function kx(){return Fx||(Fx=1,function(e,t,n,i,a){Object.defineProperty(e,"__esModule",{value:!0}),e.InfoWindow=void 0;var r=o(t),s=o(n);o(i);var l=o(a);function o(e){return e&&e.__esModule?e:{default:e}}var d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function c(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var p=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function A(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=e.InfoWindow=function(e){function t(){return u(this,t),A(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),p(t,[{key:"componentDidMount",value:function(){this.renderInfoWindow()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.google,i=t.map;n&&i&&(i!==e.map&&this.renderInfoWindow(),this.props.position!==e.position&&this.updatePosition(),this.props.children!==e.children&&this.updateContent(),this.props.visible===e.visible&&this.props.marker===e.marker&&this.props.position===e.position||(this.props.visible?this.openWindow():this.closeWindow()))}},{key:"renderInfoWindow",value:function(){var e=this.props;e.map;var t=e.google;e.mapCenter;var n=c(e,["map","google","mapCenter"]);if(t&&t.maps){var i=this.infowindow=new t.maps.InfoWindow(d({content:""},n));t.maps.event.addListener(i,"closeclick",this.onClose.bind(this)),t.maps.event.addListener(i,"domready",this.onOpen.bind(this))}}},{key:"onOpen",value:function(){this.props.onOpen&&this.props.onOpen()}},{key:"onClose",value:function(){this.props.onClose&&this.props.onClose()}},{key:"openWindow",value:function(){this.infowindow.open(this.props.map,this.props.marker)}},{key:"updatePosition",value:function(){var e=this.props.position;e instanceof google.maps.LatLng||(e=e&&new google.maps.LatLng(e.lat,e.lng)),this.infowindow.setPosition(e)}},{key:"updateContent",value:function(){var e=this.renderChildren();this.infowindow.setContent(e)}},{key:"closeWindow",value:function(){this.infowindow.close()}},{key:"renderChildren",value:function(){var e=this.props.children;return l.default.renderToString(e)}},{key:"render",value:function(){return null}}]),t}(r.default.Component);f.propTypes={children:s.default.element.isRequired,map:s.default.object,marker:s.default.object,position:s.default.object,visible:s.default.bool,onClose:s.default.func,onOpen:s.default.func},f.defaultProps={visible:!1},e.default=f}(wx,a,fx(),r,(Ix||(Ix=1,e=Sx(),t=Px(),jx.version=e.version,jx.renderToString=e.renderToString,jx.renderToStaticMarkup=e.renderToStaticMarkup,jx.renderToNodeStream=e.renderToNodeStream,jx.renderToStaticNodeStream=e.renderToStaticNodeStream,jx.renderToReadableStream=t.renderToReadableStream),jx))),wx;var e,t}var Tx,Ex={};function Dx(){return Tx||(Tx=1,function(e,t,n,i){Object.defineProperty(e,"__esModule",{value:!0}),e.HeatMap=void 0;var a=s(t),r=s(n);function s(e){return e&&e.__esModule?e:{default:e}}var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function o(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var c=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var A=["click","mouseover","recenter"],h=function(){var e={},t=new Promise((function(t,n){e.resolve=t,e.reject=n}));return e.then=t.then.bind(t),e.catch=t.catch.bind(t),e.promise=t,e},f=e.HeatMap=function(e){function t(){return d(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return p(t,e),c(t,[{key:"componentDidMount",value:function(){this.heatMapPromise=h(),this.renderHeatMap()}},{key:"componentDidUpdate",value:function(e){this.props.map===e.map&&this.props.position===e.position||this.heatMap&&(this.heatMap.setMap(null),this.renderHeatMap())}},{key:"componentWillUnmount",value:function(){this.heatMap&&this.heatMap.setMap(null)}},{key:"renderHeatMap",value:function(){var e=this,t=this.props,n=t.map,i=t.google,a=t.positions;t.mapCenter,t.icon;var r=t.gradient,s=t.radius,d=void 0===s?20:s,c=t.opacity,u=void 0===c?.2:c,p=o(t,["map","google","positions","mapCenter","icon","gradient","radius","opacity"]);if(!i)return null;var h=a.map((function(e){return{location:new i.maps.LatLng(e.lat,e.lng),weight:e.weight}})),f=l({map:n,gradient:r,radius:d,opacity:u,data:h},p);this.heatMap=new i.maps.visualization.HeatmapLayer(f),this.heatMap.set("radius",void 0===d?20:d),this.heatMap.set("opacity",void 0===u?.2:u),A.forEach((function(t){e.heatMap.addListener(t,e.handleEvent(t))})),this.heatMapPromise.resolve(this.heatMap)}},{key:"getHeatMap",value:function(){return this.heatMapPromise}},{key:"handleEvent",value:function(e){var t=this;return function(n){var a="on"+(0,i.camelize)(e);t.props[a]&&t.props[a](t.props,t.heatMap,n)}}},{key:"render",value:function(){return null}}]),t}(a.default.Component);f.propTypes={position:r.default.object,map:r.default.object,icon:r.default.string},A.forEach((function(e){return f.propTypes[e]=r.default.func})),f.defaultProps={name:"HeatMap"},e.default=f}(Ex,a,fx(),yx())),Ex}var Lx,Ux,_x={},Ox={};function Mx(){return Lx||(Lx=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.arePathsEqual=function(e,t){if(e===t)return!0;if(!Array.isArray(e)||!Array.isArray(t))return!1;if(e.length!==t.length)return!1;for(var i=0;i<e.length;++i)if(e[i]!==t[i]){if(!n(e[i])||!n(t[i]))return!1;if(t[i].lat!==e[i].lat||t[i].lng!==e[i].lng)return!1}return!0};var n=function(e){return null!==e&&"object"===(void 0===e?"undefined":t(e))&&e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")}}(Ox)),Ox}function Rx(){return Ux||(Ux=1,function(e,t,n,i,a){Object.defineProperty(e,"__esModule",{value:!0}),e.Polygon=void 0;var r=l(t),s=l(n);function l(e){return e&&e.__esModule?e:{default:e}}var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function d(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function A(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=["click","mouseout","mouseover"],f=function(){var e={},t=new Promise((function(t,n){e.resolve=t,e.reject=n}));return e.then=t.then.bind(t),e.catch=t.catch.bind(t),e.promise=t,e},m=e.Polygon=function(e){function t(){return c(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return A(t,e),u(t,[{key:"componentDidMount",value:function(){this.polygonPromise=f(),this.renderPolygon()}},{key:"componentDidUpdate",value:function(e){this.props.map===e.map&&(0,i.arePathsEqual)(this.props.paths,e.paths)||(this.polygon&&this.polygon.setMap(null),this.renderPolygon())}},{key:"componentWillUnmount",value:function(){this.polygon&&this.polygon.setMap(null)}},{key:"renderPolygon",value:function(){var e=this,t=this.props,n=t.map,i=t.google,a=t.paths,r=t.strokeColor,s=t.strokeOpacity,l=t.strokeWeight,c=t.fillColor,u=t.fillOpacity,p=d(t,["map","google","paths","strokeColor","strokeOpacity","strokeWeight","fillColor","fillOpacity"]);if(!i)return null;var A=o({map:n,paths:a,strokeColor:r,strokeOpacity:s,strokeWeight:l,fillColor:c,fillOpacity:u},p);this.polygon=new i.maps.Polygon(A),h.forEach((function(t){e.polygon.addListener(t,e.handleEvent(t))})),this.polygonPromise.resolve(this.polygon)}},{key:"getPolygon",value:function(){return this.polygonPromise}},{key:"handleEvent",value:function(e){var t=this;return function(n){var i="on"+(0,a.camelize)(e);t.props[i]&&t.props[i](t.props,t.polygon,n)}}},{key:"render",value:function(){return null}}]),t}(r.default.Component);m.propTypes={paths:s.default.array,strokeColor:s.default.string,strokeOpacity:s.default.number,strokeWeight:s.default.number,fillColor:s.default.string,fillOpacity:s.default.number},h.forEach((function(e){return m.propTypes[e]=s.default.func})),m.defaultProps={name:"Polygon"},e.default=m}(_x,a,fx(),Mx(),yx())),_x}var Qx,Hx={};function Vx(){return Qx||(Qx=1,function(e,t,n,i,a){Object.defineProperty(e,"__esModule",{value:!0}),e.Polyline=void 0;var r=l(t),s=l(n);function l(e){return e&&e.__esModule?e:{default:e}}var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function d(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function A(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=["click","mouseout","mouseover"],f=function(){var e={},t=new Promise((function(t,n){e.resolve=t,e.reject=n}));return e.then=t.then.bind(t),e.catch=t.catch.bind(t),e.promise=t,e},m=e.Polyline=function(e){function t(){return c(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return A(t,e),u(t,[{key:"componentDidMount",value:function(){this.polylinePromise=f(),this.renderPolyline()}},{key:"componentDidUpdate",value:function(e){this.props.map===e.map&&(0,i.arePathsEqual)(this.props.path,e.path)||(this.polyline&&this.polyline.setMap(null),this.renderPolyline())}},{key:"componentWillUnmount",value:function(){this.polyline&&this.polyline.setMap(null)}},{key:"renderPolyline",value:function(){var e=this,t=this.props,n=t.map,i=t.google,a=t.path,r=t.strokeColor,s=t.strokeOpacity,l=t.strokeWeight,c=d(t,["map","google","path","strokeColor","strokeOpacity","strokeWeight"]);if(!i)return null;var u=o({map:n,path:a,strokeColor:r,strokeOpacity:s,strokeWeight:l},c);this.polyline=new i.maps.Polyline(u),h.forEach((function(t){e.polyline.addListener(t,e.handleEvent(t))})),this.polylinePromise.resolve(this.polyline)}},{key:"getPolyline",value:function(){return this.polylinePromise}},{key:"handleEvent",value:function(e){var t=this;return function(n){var i="on"+(0,a.camelize)(e);t.props[i]&&t.props[i](t.props,t.polyline,n)}}},{key:"render",value:function(){return null}}]),t}(r.default.Component);m.propTypes={path:s.default.array,strokeColor:s.default.string,strokeOpacity:s.default.number,strokeWeight:s.default.number},h.forEach((function(e){return m.propTypes[e]=s.default.func})),m.defaultProps={name:"Polyline"},e.default=m}(Hx,a,fx(),Mx(),yx())),Hx}var zx,qx={};function Wx(){return zx||(zx=1,function(e,t,n,i,a){Object.defineProperty(e,"__esModule",{value:!0}),e.Circle=void 0;var r=l(t),s=l(n);function l(e){return e&&e.__esModule?e:{default:e}}var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function d(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function A(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=["click","mouseout","mouseover"],f=function(){var e={},t=new Promise((function(t,n){e.resolve=t,e.reject=n}));return e.then=t.then.bind(t),e.catch=t.catch.bind(t),e.promise=t,e},m=e.Circle=function(e){function t(){var e,n,i;c(this,t);for(var a=arguments.length,r=Array(a),s=0;s<a;s++)r[s]=arguments[s];return n=i=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r))),i.centerChanged=function(e){var t=i.props.center,n=t.lat,a=t.lng;return n!==e.lat||a!==e.lng},i.propsChanged=function(e){return!!i.centerChanged(e.center)||Object.keys(t.propTypes).some((function(t){return i.props[t]!==e[t]}))},i.destroyCircle=function(){i.circle&&i.circle.setMap(null)},p(i,n)}return A(t,e),u(t,[{key:"componentDidMount",value:function(){this.circlePromise=f(),this.renderCircle()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.path,a=t.map;!this.propsChanged(e)&&a===e.map&&(0,i.arePathsEqual)(n,e.path)||(this.destroyCircle(),this.renderCircle())}},{key:"componentWillUnmount",value:function(){this.destroyCircle()}},{key:"renderCircle",value:function(){var e=this,t=this.props,n=t.map,i=t.google,a=t.center,r=t.radius,s=t.strokeColor,l=t.strokeOpacity,c=t.strokeWeight,u=t.fillColor,p=t.fillOpacity,A=t.draggable,f=t.visible,m=d(t,["map","google","center","radius","strokeColor","strokeOpacity","strokeWeight","fillColor","fillOpacity","draggable","visible"]);if(!i)return null;var v=o({},m,{map:n,center:a,radius:r,draggable:A,visible:f,options:{strokeColor:s,strokeOpacity:l,strokeWeight:c,fillColor:u,fillOpacity:p}});this.circle=new i.maps.Circle(v),h.forEach((function(t){e.circle.addListener(t,e.handleEvent(t))})),this.circlePromise.resolve(this.circle)}},{key:"getCircle",value:function(){return this.circlePromise}},{key:"handleEvent",value:function(e){var t=this;return function(n){var i="on"+(0,a.camelize)(e);t.props[i]&&t.props[i](t.props,t.circle,n)}}},{key:"render",value:function(){return null}}]),t}(r.default.Component);m.propTypes={center:s.default.object,radius:s.default.number,strokeColor:s.default.string,strokeOpacity:s.default.number,strokeWeight:s.default.number,fillColor:s.default.string,fillOpacity:s.default.number,draggable:s.default.bool,visible:s.default.bool},h.forEach((function(e){return m.propTypes[e]=s.default.func})),m.defaultProps={name:"Circle"},e.default=m}(qx,a,fx(),Mx(),yx())),qx}var Yx,Kx,Gx={},$x={};function Xx(){return Yx||(Yx=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.areBoundsEqual=function(e,t){if(e===t)return!0;if(!(e instanceof Object&&t instanceof Object))return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;if(!n(e)||!n(t))return!1;var i=!0,a=!1,r=void 0;try{for(var s,l=Object.keys(e)[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var o=s.value;if(e[o]!==t[o])return!1}}catch(d){a=!0,r=d}finally{try{!i&&l.return&&l.return()}finally{if(a)throw r}}return!0};var n=function(e){return null!==e&&"object"===(void 0===e?"undefined":t(e))&&e.hasOwnProperty("north")&&e.hasOwnProperty("south")&&e.hasOwnProperty("east")&&e.hasOwnProperty("west")}}($x)),$x}function Jx(){return Kx||(Kx=1,function(e,t,n,i,a){Object.defineProperty(e,"__esModule",{value:!0}),e.Rectangle=void 0;var r=l(t),s=l(n);function l(e){return e&&e.__esModule?e:{default:e}}var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function d(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function A(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=["click","mouseout","mouseover"],f=function(){var e={},t=new Promise((function(t,n){e.resolve=t,e.reject=n}));return e.then=t.then.bind(t),e.catch=t.catch.bind(t),e.promise=t,e},m=e.Rectangle=function(e){function t(){return c(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return A(t,e),u(t,[{key:"componentDidMount",value:function(){this.rectanglePromise=f(),this.renderRectangle()}},{key:"componentDidUpdate",value:function(e){this.props.map===e.map&&(0,i.areBoundsEqual)(this.props.bounds,e.bounds)||(this.rectangle&&this.rectangle.setMap(null),this.renderRectangle())}},{key:"componentWillUnmount",value:function(){this.rectangle&&this.rectangle.setMap(null)}},{key:"renderRectangle",value:function(){var e=this,t=this.props,n=t.map,i=t.google,a=t.bounds,r=t.strokeColor,s=t.strokeOpacity,l=t.strokeWeight,c=t.fillColor,u=t.fillOpacity,p=d(t,["map","google","bounds","strokeColor","strokeOpacity","strokeWeight","fillColor","fillOpacity"]);if(!i)return null;var A=o({map:n,bounds:a,strokeColor:r,strokeOpacity:s,strokeWeight:l,fillColor:c,fillOpacity:u},p);this.rectangle=new i.maps.Rectangle(A),h.forEach((function(t){e.rectangle.addListener(t,e.handleEvent(t))})),this.rectanglePromise.resolve(this.rectangle)}},{key:"getRectangle",value:function(){return this.rectanglePromise}},{key:"handleEvent",value:function(e){var t=this;return function(n){var i="on"+(0,a.camelize)(e);t.props[i]&&t.props[i](t.props,t.rectangle,n)}}},{key:"render",value:function(){return null}}]),t}(r.default.Component);m.propTypes={bounds:s.default.object,strokeColor:s.default.string,strokeOpacity:s.default.number,strokeWeight:s.default.number,fillColor:s.default.string,fillOpacity:s.default.number},h.forEach((function(e){return m.propTypes[e]=s.default.func})),m.defaultProps={name:"Rectangle"},e.default=m}(Gx,a,fx(),Xx(),yx())),Gx}var Zx,eb={};function tb(){return Zx||(Zx=1,e=eb,Object.defineProperty(e,"__esModule",{value:!0}),e.makeCancelable=function(e){var t=!1;return{promise:new Promise((function(n,i){e.then((function(e){return t?i({isCanceled:!0}):n(e)})),e.catch((function(e){return i(t?{isCanceled:!0}:e)}))})),cancel:function(){t=!0}}}),eb;var e}!function(e,t,n,i,a,r,s,l,o,d,c,u,p,A){Object.defineProperty(e,"__esModule",{value:!0}),e.Map=e.Rectangle=e.Circle=e.Polyline=e.Polygon=e.HeatMap=e.InfoWindow=e.Marker=e.GoogleApiWrapper=void 0,Object.defineProperty(e,"GoogleApiWrapper",{enumerable:!0,get:function(){return t.wrapper}}),Object.defineProperty(e,"Marker",{enumerable:!0,get:function(){return n.Marker}}),Object.defineProperty(e,"InfoWindow",{enumerable:!0,get:function(){return i.InfoWindow}}),Object.defineProperty(e,"HeatMap",{enumerable:!0,get:function(){return a.HeatMap}}),Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return r.Polygon}}),Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return s.Polyline}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return l.Circle}}),Object.defineProperty(e,"Rectangle",{enumerable:!0,get:function(){return o.Rectangle}});var h=v(d),f=v(c),m=v(u);function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var y=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function x(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function b(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var w={container:{position:"absolute",width:"100%",height:"100%"},map:{position:"absolute",left:0,right:0,bottom:0,top:0}},j=["ready","click","dragend","recenter","bounds_changed","center_changed","dblclick","dragstart","heading_change","idle","maptypeid_changed","mousemove","mouseout","mouseover","projection_changed","resize","rightclick","tilesloaded","tilt_changed","zoom_changed"],C=e.Map=function(e){function t(e){g(this,t);var n=x(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));if(!e.hasOwnProperty("google"))throw new Error("You must include a `google` prop");return n.listeners={},n.state={currentLocation:{lat:n.props.initialCenter.lat,lng:n.props.initialCenter.lng}},n.mapRef=h.default.createRef(),n}return b(t,e),y(t,[{key:"componentDidMount",value:function(){var e=this;this.props.centerAroundCurrentLocation&&navigator&&navigator.geolocation&&(this.geoPromise=(0,A.makeCancelable)(new Promise((function(e,t){navigator.geolocation.getCurrentPosition(e,t)}))),this.geoPromise.promise.then((function(t){var n=t.coords;e.setState({currentLocation:{lat:n.latitude,lng:n.longitude}})})).catch((function(e){return e}))),this.loadMap()}},{key:"componentDidUpdate",value:function(e,t){e.google!==this.props.google&&this.loadMap(),this.props.visible!==e.visible&&this.restyleMap(),this.props.zoom!==e.zoom&&this.map.setZoom(this.props.zoom),this.props.center!==e.center&&this.setState({currentLocation:this.props.center}),t.currentLocation!==this.state.currentLocation&&this.recenterMap(),this.props.bounds&&this.props.bounds!==e.bounds&&this.map.fitBounds(this.props.bounds)}},{key:"componentWillUnmount",value:function(){var e=this,t=this.props.google;this.geoPromise&&this.geoPromise.cancel(),Object.keys(this.listeners).forEach((function(n){t.maps.event.removeListener(e.listeners[n])}))}},{key:"loadMap",value:function(){var e=this;if(this.props&&this.props.google){var t=this.props.google.maps,n=this.mapRef.current,i=m.default.findDOMNode(n),a=this.state.currentLocation,r=new t.LatLng(a.lat,a.lng),s=this.props.google.maps.MapTypeId||{},l=String(this.props.mapType).toUpperCase(),o=Object.assign({},{mapTypeId:s[l],center:r,zoom:this.props.zoom,maxZoom:this.props.maxZoom,minZoom:this.props.minZoom,clickableIcons:!!this.props.clickableIcons,disableDefaultUI:this.props.disableDefaultUI,zoomControl:this.props.zoomControl,zoomControlOptions:this.props.zoomControlOptions,mapTypeControl:this.props.mapTypeControl,mapTypeControlOptions:this.props.mapTypeControlOptions,scaleControl:this.props.scaleControl,streetViewControl:this.props.streetViewControl,streetViewControlOptions:this.props.streetViewControlOptions,panControl:this.props.panControl,rotateControl:this.props.rotateControl,fullscreenControl:this.props.fullscreenControl,scrollwheel:this.props.scrollwheel,draggable:this.props.draggable,draggableCursor:this.props.draggableCursor,keyboardShortcuts:this.props.keyboardShortcuts,disableDoubleClickZoom:this.props.disableDoubleClickZoom,noClear:this.props.noClear,styles:this.props.styles,gestureHandling:this.props.gestureHandling});Object.keys(o).forEach((function(e){null===o[e]&&delete o[e]})),this.map=new t.Map(i,o),j.forEach((function(t){e.listeners[t]=e.map.addListener(t,e.handleEvent(t))})),t.event.trigger(this.map,"ready"),this.forceUpdate()}}},{key:"handleEvent",value:function(e){var t=this,n=void 0,i="on"+(0,p.camelize)(e);return function(e){n&&(clearTimeout(n),n=null),n=setTimeout((function(){t.props[i]&&t.props[i](t.props,t.map,e)}),0)}}},{key:"recenterMap",value:function(){var e=this.map,t=this.props.google;if(t){var n=t.maps;if(e){var i=this.state.currentLocation;i instanceof t.maps.LatLng||(i=new t.maps.LatLng(i.lat,i.lng)),e.setCenter(i),n.event.trigger(e,"recenter")}}}},{key:"restyleMap",value:function(){this.map&&this.props.google.maps.event.trigger(this.map,"resize")}},{key:"renderChildren",value:function(){var e=this,t=this.props.children;if(t)return h.default.Children.map(t,(function(t){if(t)return h.default.cloneElement(t,{map:e.map,google:e.props.google,mapCenter:e.state.currentLocation})}))}},{key:"render",value:function(){var e=Object.assign({},w.map,this.props.style,{display:this.props.visible?"inherit":"none"}),t=Object.assign({},w.container,this.props.containerStyle);return h.default.createElement("div",{style:t,className:this.props.className},h.default.createElement("div",{style:e,ref:this.mapRef},"Loading map..."),this.renderChildren())}}]),t}(h.default.Component);C.propTypes={google:f.default.object,zoom:f.default.number,centerAroundCurrentLocation:f.default.bool,center:f.default.object,initialCenter:f.default.object,className:f.default.string,style:f.default.object,containerStyle:f.default.object,visible:f.default.bool,mapType:f.default.string,maxZoom:f.default.number,minZoom:f.default.number,clickableIcons:f.default.bool,disableDefaultUI:f.default.bool,zoomControl:f.default.bool,zoomControlOptions:f.default.object,mapTypeControl:f.default.bool,mapTypeControlOptions:f.default.bool,scaleControl:f.default.bool,streetViewControl:f.default.bool,streetViewControlOptions:f.default.object,panControl:f.default.bool,rotateControl:f.default.bool,fullscreenControl:f.default.bool,scrollwheel:f.default.bool,draggable:f.default.bool,draggableCursor:f.default.string,keyboardShortcuts:f.default.bool,disableDoubleClickZoom:f.default.bool,noClear:f.default.bool,styles:f.default.array,gestureHandling:f.default.string,bounds:f.default.object},j.forEach((function(e){return C.propTypes[(0,p.camelize)(e)]=f.default.func})),C.defaultProps={zoom:14,initialCenter:{lat:37.774929,lng:-122.419416},center:{},centerAroundCurrentLocation:!1,style:{},containerStyle:{},visible:!0},e.default=C}($y,sx(),xx(),kx(),Dx(),Rx(),Vx(),Wx(),Jx(),a,fx(),r,yx(),tb());class nb extends a.Component{constructor(e){super(e),i(this,"addMarker",((e,t)=>{this.setState({fields:{location:{lat:e.lat(),lng:e.lng()}}}),t.panTo(e),this.props.onMarkerClick(e)})),this.state={fields:e.prevlca?{location:e.prevlca}:{location:{}},currentLocation:!!e.prevlca&&e.prevlca}}async componentDidMount(){if(0===Object.keys(this.state.fields.location).length){const{lat:e,lng:t}=await this.getcurrentLocation();this.setState((n=>({fields:{...n.fields,location:{lat:e,lng:t}},currentLocation:{lat:e,lng:t}})))}}getcurrentLocation(){return navigator&&navigator.geolocation?new Promise(((e,t)=>{navigator.geolocation.getCurrentPosition((t=>{const n=t.coords;e({lat:n.latitude,lng:n.longitude})}))})):{lat:0,lng:0}}render(){const{lat:e=0,lng:t=0}=this.state.fields.location;return Ye.jsx("div",{children:Ye.jsx($y.Map,{google:this.props.google,style:{width:"100%",height:"100%"},initialCenter:{lat:e||0,lng:t||0},center:{lat:e||0,lng:t||0},zoom:14,mapTypeId:"roadmap",onClick:(e,t,n)=>{this.addMarker(n.latLng,t)},children:Ye.jsx($y.Marker,{tooltip:!0,name:"Your Position",position:this.state.fields.location,onClick:this.props.onMarkerClick})})})}}const ib=$y.GoogleApiWrapper({apiKey:"AIzaSyB6w_WDy6psJ5HPX15Me1-o6CkS5jTYWnE"})(nb),ab=({title:e})=>Ye.jsxs("h1",{className:"formHeader",children:[" ",e]}),rb="https://www.pozo.dev/pozo-common-api",sb=iA("UserType"),lb=Ja("company/getCompanyData",(async()=>await Ne.get(`${rb}/company`))),ob=Ja("company/getCompanyDataUsingAppId",(async e=>await Ne.get(`${rb}/company?appId=${e}&Type=A`))),db=Ja("company/getUserRoles",(async()=>await fA.get("/configMaster?ActiveStatus=A&TypeName=User Role"))),cb=Ja("company/getActiveCompanyData",(async e=>null!=e&&null!=e?await Ne.get(`${rb}/company?UserId=${e}`):await Ne.get(`${rb}/company?ActiveStatus=A`))),ub=Ja("company/postCompanyData",(async e=>await fA.post("/company",e))),pb=Ja("company/putCompanyData",(async e=>await fA.put("/company",e))),Ab=Ja("company/deleteCompanyData",(async e=>await fA.delete("/company",{params:e}))),hb=Ja("login/getAdminNames",(async()=>await fA.get("/login?Type=Admin"))),fb=Ja("company/getAdminUsers",(async e=>{if(null!=e&&null!=e)return await Ne.get(`${rb}/company?UserId=${e}`)})),mb=Ja("userAppMap/getApplications",(async e=>null!=e&&null!=e?await fA.get(`/userAppMap?UserId=${e}`):await fA.get("/userAppMap"))),vb=Ja("userAppMap/checkTrialCompany",(async e=>{if(null!=e.AppId&&null!=e.AppId&&null!=e.UserId&&null!=e.UserId)return await fA.get(`/userAppMap?AppId=${e.AppId}&UserId=${e.UserId}`)})),gb=Ja("Gst/gstNumberDetail",(async e=>await hA.get(`/Gst?gstNo=${e}`))),yb=Ya({name:"company",initialState:{companyData:[],companyActiveData:[],AdminNames:[],AdminUsers:[],ApplicationNames:[],CompanyCounts:[]},extraReducers:e=>{e.addCase(lb.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.companyData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.companyData=[]})),e.addCase(cb.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.companyActiveData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.companyActiveData=[]})),e.addCase(hb.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.AdminNames=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.AdminNames=[]})),e.addCase(fb.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.AdminUsers=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.AdminUsers=[]})),e.addCase(mb.fulfilled,((e,t)=>{var n,i,a,r,s,l;if(null==(n=null==t?void 0:t.payload)?void 0:n.status)if("Admin"===sb||"Admin User"===sb){let n=new Date,s=null==(r=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data)?void 0:r.filter((e=>new Date(e.ValidityEnd)>=n));e.ApplicationNames=s}else e.ApplicationNames=null==(l=null==(s=null==t?void 0:t.payload)?void 0:s.data)?void 0:l.data;else e.ApplicationNames=[]})),e.addCase(vb.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.CompanyCounts=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.CompanyCounts=[]}))}}),xb=e=>{var t;return null==(t=e.companyPage)?void 0:t.companyData},bb=e=>{var t;return null==(t=e.companyPage)?void 0:t.companyActiveData},wb=e=>{var t;return null==(t=e.companyPage)?void 0:t.AdminNames},jb=e=>{var t;return null==(t=e.companyPage)?void 0:t.AdminUsers},Cb=e=>{var t;return null==(t=e.companyPage)?void 0:t.ApplicationNames},Sb=yb.reducer,Nb="https://www.pozo.dev/pozo-common-api",Ib=Ja("application/getApplicationData",(async()=>await Ne.get(`${Nb}/application`))),Fb=Ja("application/getActiveApplicationData",(async()=>await Ne.get(`${Nb}/application?ActiveStatus=A`))),Bb=Ja("application/postApplicationData",(async e=>await fA.post("/application",e))),Pb=Ja("application/putApplicationData",(async e=>await fA.put("/application",e))),kb=Ja("application/deleteApplicationData",(async e=>await fA.delete("/application",{params:e}))),Tb=Ja("configMaster/getCategoryData",(async()=>await fA.get("/configMaster?ActiveStatus=A&TypeName=Module"))),Eb=Ja("configMaster/getSubCategoryData",(async()=>await fA.get("/configMaster?ActiveStatus=A&TypeName=Sub Module"))),Db=Ja("configMaster/getSubCategoryData",(async()=>await fA.get("/configMaster?ActiveStatus=A&TypeName=Master Access"))),Lb=Ya({name:"application",initialState:{applicationData:[],applicationActiveData:[],categoryData:[],subCategoryData:[]},extraReducers:e=>{e.addCase(Ib.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.applicationData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.applicationData=[]})),e.addCase(Fb.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.applicationActiveData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.applicationActiveData=[]})),e.addCase(Tb.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.categoryData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.categoryData=[]})),e.addCase(Eb.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.subCategoryData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.subCategoryData=[]}))}}),Ub=e=>{var t;return null==(t=e.applicationPage)?void 0:t.applicationData},_b=e=>{var t;return null==(t=e.applicationPage)?void 0:t.applicationActiveData},Ob=e=>{var t;return null==(t=e.applicationPage)?void 0:t.categoryData},Mb=e=>{var t;return null==(t=e.applicationPage)?void 0:t.subCategoryData},Rb=Lb.reducer;S.extend(N);const Qb="/home/",Hb=({formType:e})=>{var t,n,i,r,s,l,o;const d=Qt(),c=um(),u=Mt(),p=a.useRef(null),A=null==u?void 0:u.state,h=null==A?void 0:A.editstate,{RangePicker:f}=T,[m,v]=a.useState(null),[g,y]=a.useState(null),[x,b]=a.useState(!1),[w,j]=a.useState(!1),[C,N]=a.useState(""),[E,D]=a.useState(null),[L,U]=a.useState(null),[_,O]=a.useState(null),[M,R]=a.useState(null),[Q,H]=a.useState(null),[V,z]=a.useState(null),[q,W]=a.useState(null),[Y,K]=a.useState(null),[G,$]=a.useState(null),[X,J]=a.useState(),[Z,ee]=a.useState(!1),[te,ne]=a.useState(null),[ie,ae]=a.useState(null),[re,se]=a.useState(!0),[le,oe]=a.useState([]),[de,ce]=a.useState("Date"),[ue,pe]=a.useState([]),[Ae,he]=a.useState([]),[fe,me]=a.useState(null),[ve,ge]=a.useState(!1),ye=iA("UserType"),xe=iA("UserId"),be=Tf(wb),we=Tf(Cb),je=Tf(Gg),[Ce,Se]=a.useState({}),Ne=[{name:"Financial Year"},{name:"Calender Year"},{name:"Date"}];a.useEffect((()=>{if("Financial Year"!==de||h){if("Calender Year"===de&&!h){const e=Fe("DD-MM-YYYY");let[t,n]=e.split(" - ");ne(S(t,"DD-MM-YYYY").format("YYYY-MM-DD")),ae(S(n,"DD-MM-YYYY").format("YYYY-MM-DD"))}}else{const e=Ie("DD-MM-YYYY");let[t,n]=e.split(" - ");ne(S(t,"DD-MM-YYYY").format("YYYY-MM-DD")),ae(S(n,"DD-MM-YYYY").format("YYYY-MM-DD"))}}),[de,h]);const Ie=(e="DD-MM-YYYY")=>{const t=S(),n=t.year();let i,a;return t.month()+1>=4?(i=S(`${n}-04-01`),a=S(`${n+1}-03-31`)):(i=S(n-1+"-04-01"),a=S(`${n}-03-31`)),`${i.format(e)} - ${a.format(e)}`},Fe=(e="DD-MM-YYYY")=>{const t=S().year(),n=S(`${t}-01-01`),i=S(`${t}-12-31`);return`${n.format(e)} - ${i.format(e)}`},Be=[{name:"Home",link:`${Qb}landing-page/home`},{name:"Company",link:`${Qb}setting/company-master`},{name:h?"Edit":"New",link:null}];a.useEffect((()=>{var t,n,i;null==(t=p.current)||t.setFieldsValue({FinancialYear:"Date"}),c(Gh({items:Be})),"edit"===e&&h&&(h.Latitude=h.Latitude?h.Latitude:null,h.Longitude=h.Longitude?h.Longitude:null,se(!1),null!=(null==h?void 0:h.AddId)&&0!=(null==h?void 0:h.AddId)&&b(!0),N(null==h?void 0:h.CompLogo),(null==h?void 0:h.Zip)&&j(!0),D(null==h?void 0:h.UserId),U(null==h?void 0:h.AppId),me(null==h?void 0:h.BusinessCategory),ee("Y"==(null==h?void 0:h.FYStatus)),null==(n=p.current)||n.setFieldsValue({BusinessType:null==h?void 0:h.BusinessCategory}),K(null==h?void 0:h.BusiBrief),null==(i=p.current)||i.setFieldsValue({BusiBrief:null==h?void 0:h.BusiBrief})),c(hb()).unwrap(),"Admin"===ye?c(mb(xe)).unwrap():"Super Admin"===ye&&c(mb()).unwrap(),(async()=>{var e,t;let n=await c(Fb()).unwrap();1===(null==(e=null==n?void 0:n.data)?void 0:e.statusCode)?he(null==(t=null==n?void 0:n.data)?void 0:t.data):he()})()}),[]),a.useEffect((()=>{var e,t,n;if(E){const i=null==we?void 0:we.filter((e=>e.UserId===E)),a=Array.from(null==i?void 0:i.reduce(((e,t)=>{if("Active"===t.Status){const n=`${t.AppId}-${t.AppName}`;e.has(n)||e.set(n,t)}return e}),new Map).values());if(oe(a),1===(null==a?void 0:a.length)){ge(!0);const t=a[0].AppId;U(t),me(null==(e=a[0])?void 0:e.BusinessCategory),O(a[0].AppName),Te(a[0].AppId)}else oe(a),h&&(U(null==h?void 0:h.AppId),me(null==h?void 0:h.BusinessCategory),O(null==h?void 0:h.AppName),null==(t=p.current)||t.setFieldsValue({AppId:null==h?void 0:h.AppId}),null==(n=p.current)||n.setFieldsValue({BusinessType:null==h?void 0:h.BusinessCategory}),Te(null==h?void 0:h.AppId))}else oe([])}),[E,we]),a.useEffect((()=>{if("Admin"===ye){if(1===we.length){const e=we[0].AppId;U(e),ge(!0),O(we[0].AppName),Te(e)}}else c(hb()).unwrap()}),[ye,we,xe]);const Pe=a.useCallback((()=>{y(null),v(null)}),[]),ke=e=>{var t;e?b(!0):(b(!1),h||(R(null),H(null),null==(t=p.current)||t.setFieldsValue({City:null,Dist:null,State:null,Zip:null,Latitude:null,Longitude:null})))},Te=async e=>{var t,n,i,a,r,s,l,o,u,A,f,m,v,g,y,x,b,w,j,C,S;let N=("Super Admin"===ye||"Super Admin User"===ye?le:we).filter((t=>t.AppId==e));"Payroll"==(null==(t=null==N?void 0:N[0])?void 0:t.AppName)&&O(null==(n=null==N?void 0:N[0])?void 0:n.AppName);var I=[];if(1!=(null==(i=(I="Admin"===ye?await c(vb({UserId:xe,AppId:e})).unwrap():await c(vb({UserId:E,AppId:e})).unwrap()).data)?void 0:i.statusCode)||h)se(!1);else{const t=null==(a=I.data)?void 0:a.data[0],n=null==(s=null==(r=I.data)?void 0:r.data)?void 0:s.length,i=t.MobileNo;if(null==(l=p.current)||l.setFieldsValue({CompMobile:i}),$(i),t)if("FREE"!=t.PricingName.toUpperCase()&&0==t.CompanyCount)await U(e),null==(o=p.current)||o.setFieldsValue({AppId:e}),se(!1);else if("FREE"==t.PricingName.toUpperCase()&&t.CompanyCount>=1)n>1?se(!0):setTimeout((function(){d(`${Qb}setting/company-master/`,{state:{Notiffy:{messageType:"error",messageData:"Your Trial Period is Expired Please Choose Extend Pack To Add Company "}}},700)}));else if("FREE"!=t.PricingName.toUpperCase()){let n=null==(u=null==t?void 0:t.FeatureDetails)?void 0:u.filter((e=>"Company"===e.FeatName?e.FeatConstraint:0));(n.length>0?null==(A=n[0])?void 0:A.FeatConstraint:0)>t.CompanyCount?(await U(e),null==(f=p.current)||f.setFieldsValue({AppId:e}),se(!1)):setTimeout((function(){d(`${Qb}setting/company-master/`,{state:{Notiffy:{messageType:"error",messageData:"Your Feature Constraint is Completed! "}}},700)}))}else se(!1),await U(e),null==(m=p.current)||m.setFieldsValue({AppId:e});else se(!1),await U(e),null==(v=p.current)||v.setFieldsValue({AppId:e})}let F=(null==(x=null==(y=null==(g=null==I?void 0:I.data)?void 0:g.data)?void 0:y[0])?void 0:x.BranchCount)<(null==(S=null==(C=null==(j=null==(w=null==(b=null==I?void 0:I.data)?void 0:b.data)?void 0:w[0])?void 0:j.FeatureDetails)?void 0:C.find((e=>"Branch"===e.FeatName)))?void 0:S.FeatConstraint)?"Y":"N";J(F)};const Ee=async(e,t)=>{var n,i,a,r,s;pe(e);const l=(null==(n=null==e?void 0:e[0])?void 0:n.format("YYYY-MM-DD"))||null,o=(null==(i=null==e?void 0:e[1])?void 0:i.format("YYYY-MM-DD"))||null;if(t[0]){const[n,i]=t[0].split("-"),s=`${null==(a=null==e?void 0:e[0])?void 0:a.year()}-${i}-${n}`;ne(l),null==(r=p.current)||r.setFieldsValue({DateFormat:s})}else ne(null);t[1]?(t[1].split("-"),null==(s=null==e?void 0:e[1])||s.year(),ae(o)):ae(null)};return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:m,messageData:g,onComplete:Pe}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Company"})}),Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{ref:p,className:"formDivAnt",onFinish:async t=>{var n,i,a;if((null==t?void 0:t.Zip)&&null!==(null==t?void 0:t.Zip)&&!w)return v("error"),void y("Invalid ZipCode");let r=t;r.CompLogo=C,r.CreatedBy=iA("UserId"),r.UserId=t.UserId||iA("UserId"),r.Branch=X,r.FYStatus=Z?"Y":"N",r.FYStartsFrom=te,r.FYType=Z?null==t?void 0:t.FinancialYear:null,r.FYEnds=ie,r.BusinessCategory=fe;let s={};if("add"===e)try{s=await c(ub(r)).unwrap()}catch(l){"Request failed with status code 422"==l.message&&(s={data:{statusCode:0,response:"Please Give Required Fields",data:[]}})}else if("edit"===e){h&&x&&(r.CompAddId=null==h?void 0:h.CompAddId,r.AddId=null!=(null==h?void 0:h.AddId)?null==h?void 0:h.AddId:0),h&&!x&&(r.CompAddId=null==h?void 0:h.CompAddId,r.AddId=null!=(null==h?void 0:h.AddId)?null==h?void 0:h.AddId:0,r.Address1=null==h?void 0:h.Address1,r.Address2=null==h?void 0:h.Address2,r.Zip=null==h?void 0:h.Zip,r.City=null==h?void 0:h.City,r.Dist=null==h?void 0:h.Dist,r.State=null==h?void 0:h.State,r.Latitude=null==h?void 0:h.Latitude,r.Longitude=null==h?void 0:h.Longitude,r.UserId=null==h?void 0:h.UserId,r.BusinessCategory=null==h?void 0:h.BusinessCategory),r.CompId=null==h?void 0:h.CompId,r.UpdatedBy=iA("UserId");try{s=await c(pb(r)).unwrap()}catch(l){"Request failed with status code 422"==l.message&&(s={data:{statusCode:0,response:"Please Give Required Fields",data:[]}})}}1==(null==(n=null==s?void 0:s.data)?void 0:n.statusCode)?d(`${Qb}setting/company-master/`,{state:{Notiffy:{messageType:"success",messageData:null==(i=null==s?void 0:s.data)?void 0:i.response}}}):(v("error"),y(null==(a=null==s?void 0:s.data)?void 0:a.response))},initialValues:h,children:[Ye.jsxs("div",{className:"formDivS",children:[Ye.jsxs("div",{className:"inputForm",children:["Super Admin"===ye||"Super Admin User"===ye?Ye.jsx(I.Item,{name:"UserId",rules:[{required:!0,message:"Please Select Admin Name "}],children:Ye.jsx(_y,{options:null==be?void 0:be.map((e=>({value:e.UserId,label:""!=e.UserName&&null!=e.UserName&&null!=e.UserName?null==e?void 0:e.UserName:e.MobileNo}))),placeholder:"UserId",label:"Admin Name",className:"field-DropDown",isOnchanges:!("edit"!=e&&!E),onChangeFunction:async e=>{var t;null==(t=p.current)||t.setFieldsValue({UserId:e}),U(null),O(null),await D(e)},valueData:E,disabled:"edit"==e})}):null,"Super Admin"===ye||"Super Admin User"===ye?Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application "}],children:Ye.jsx(_y,{options:null==le?void 0:le.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"AppId",label:Ye.jsx("label",{className:"required",children:"Application "}),className:"field-DropDown",isOnchanges:!("edit"!=e&&!L),onChangeFunction:Te,valueData:L,disabled:!("edit"!=e&&!ve)})}):Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application "}],children:Ye.jsx(_y,{options:null==we?void 0:we.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"AppId",label:Ye.jsx("label",{className:"required",children:"Application"}),className:"field-DropDown",isOnchanges:!!L,onChangeFunction:Te,valueData:L,disabled:!("edit"!=e&&!ve)})}),"Payroll"==_&&L&&Ye.jsx(I.Item,{name:"BusinessType",rules:[{required:!0,message:"Please Select Business Type "}],children:Ye.jsx(_y,{options:null==Ae?void 0:Ae.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"AppId",label:Ye.jsx("label",{className:"required",children:"Business Type"}),className:"field-DropDown",onChangeFunction:e=>{var t;null==(t=p.current)||t.setFieldsValue({BusinessType:e}),me(e)},valueData:fe})}),Ye.jsxs(I.Item,{name:"CompGSTIN",rules:[{pattern:/^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Za-z]{1}[Z]{1}[0-9A-Za-z]{1}$/,message:"Please Enter Valid GST"}],children:[void 0,Ye.jsx(Oy,{field:"CompGSTIN",autoComplete:"off",label:"GST",fieldState:!0,fieldApi:!0,value:null==(t=null==Ce?void 0:Ce[0])?void 0:t.CompLegalName,isOnChange:"edit"==e,onChange:e=>(async e=>{var t,n,i,a,r,s,l,o,d,u,A;if(!e||15!==e.length)return null==(t=p.current)||t.resetFields(["CompName"]),z(null),Se([]),void p.current.resetFields([{name:"CompGSTIN",errors:["GSTIN not found or invalid."]}]);try{const t=await c(gb(e)).unwrap();if(1===(null==(n=null==t?void 0:t.data)?void 0:n.statusCode)){const e=null==(i=null==t?void 0:t.data)?void 0:i.data,n=null==(r=null==(a=null==e?void 0:e.enrichment_details)?void 0:a.online_provider)?void 0:r.details;if(n){const e=(null==(s=n.legal_name)?void 0:s.value)||"",t=(null==(l=n.registration_date)?void 0:l.value)||"",i=(null==(o=n.status)?void 0:o.value)||"";Se([{CompLegalName:e,CompRegDate:t,CompStatus:i}]),p.current.setFields([{name:"CompGSTIN",errors:[]}]),null==(d=p.current)||d.setFieldsValue({CompName:e}),W(e)}else Se([]),p.current.setFields([{name:"CompGSTIN",errors:["GSTIN not found or invalid."]}])}else Se([]),null==(u=p.current)||u.resetFields(["CompName"]),z(null),p.current.setFields([{name:"CompGSTIN",errors:["No GST Details found"]}])}catch(h){Se([]),null==(A=p.current)||A.resetFields(["CompName"]),z(null),p.current.setFields({name:"CompGSTIN",errors:["Error fetching GST details. Try again later."]})}})(e.target.value)})]}),Ye.jsx("div",{children:(null==Ce?void 0:Ce.length)>0&&Ye.jsxs("div",{className:"gstDetails",style:{backgroundColor:"#e2e2e2ff",padding:"16px",marginBottom:"6px",borderRadius:"6px",display:"flex",flexDirection:"column",gap:"5px"},children:[Ye.jsxs("p",{children:[" ",Ye.jsx("strong",{style:{color:"#494949"},children:"Reg Name : "})," ",null==(n=null==Ce?void 0:Ce[0])?void 0:n.CompLegalName]}),Ye.jsxs("p",{children:[" ",Ye.jsx("strong",{style:{color:"#494949"},children:" Reg Date : "}),(null==(i=null==Ce?void 0:Ce[0])?void 0:i.CompRegDate)&&eA(null==(r=null==Ce?void 0:Ce[0])?void 0:r.CompRegDate)]}),Ye.jsxs("p",{children:[" ",Ye.jsx("strong",{style:{color:"#494949"},children:" Reg Status : "}),null==(s=null==Ce?void 0:Ce[0])?void 0:s.CompStatus]})]})}),Ye.jsx(I.Item,{name:"CompName",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Company "},{validator:async(e,t)=>(await lA(t),t&&t.length>50?Promise.reject("Company should not exceed 50 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"CompName",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Company"}),fieldState:!0,fieldApi:!0,isOnChange:!("edit"!=e&&!q),onChange:e=>{var t,n;const i=function(e){const t=e.split(" ");let n="";for(let i=0;i<t.length;i++){const e=t[i];e.length>0&&(n+=e.substring(0,2))}return n.toUpperCase()}(null==(t=null==e?void 0:e.target)?void 0:t.value);(null==i?void 0:i.length)<5&&(null==(n=p.current)||n.setFieldsValue({CompShName:i}),z(i))}})}),Ye.jsx(I.Item,{name:"CompShName",rules:[{required:!0,pattern:/^[^\s]{1,4}$/,message:"Please Enter Short Name"},{validator:async(e,t)=>(await lA(t),t&&t.length<=4?Promise.resolve():Promise.reject("Short Name should not exceed 4 characters"))}],children:Ye.jsx(Oy,{field:"CompShName",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Short Name"}),fieldState:!0,fieldApi:!0,isOnChange:!("edit"!=e&&!V)})}),Ye.jsx(I.Item,{name:"Proprietor",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Proprietor"},{validator:async(e,t)=>(await lA(t),t&&t.length>20?Promise.reject("Proprietor should not exceed 20 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"Proprietor",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Proprietor"}),fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"CompMobile",rules:[{pattern:/^[0-9]{10}$/,message:"Enter a Valid MobileNo"},{pattern:/^[6-9]\d{9}$/,message:"Enter a valid 10-digit mobile number starting with 6-9"}],children:Ye.jsx(Oy,{field:"CompMobile",autoComplete:"off",label:"Mobile",maxlength:"10",fieldState:!0,fieldApi:!0,isOnChange:!("edit"!=e&&!G),inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")})}),Ye.jsx(I.Item,{name:"CompEmail",rules:[{pattern:/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/,message:"Enter a valid email address"}],children:Ye.jsx(Oy,{field:"CompEmail",label:"Email",fieldState:!0,fieldApi:!0,isOnChange:"edit"==e,autoComplete:"off"})}),Ye.jsx(I.Item,{name:"CompRegnNo",rules:[{pattern:/^[LU]\d{5}[A-Z]{2}\d{4}(PTC|PLC|OPC|GAP|FTC|FLC|NPL|ULL|SGC|SEC)\d{6}$/,message:"Please enter a valid Registration No (CIN)"},{validator:async(e,t)=>(await lA(t),t&&t.length>35?Promise.reject("Registration No should not exceed 35 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"CompRegnNo",autoComplete:"off",label:"Registration No",fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"CompPOC",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Point of Contact"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"CompPOC",autoComplete:"off",label:"Point of Contact",fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"BusiBrief",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Description"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsxs("div",{className:"busi-desc",style:{display:"flex",alignItems:"flex-start",position:"relative"},children:[Ye.jsx(My,{field:"BusiBrief",autoComplete:"off",fieldState:!0,label:"Description",fieldApi:!0,isOnChange:"edit"===e,value:Y,onChange:e=>{var t,n,i;K(null==(t=null==e?void 0:e.target)?void 0:t.value),null==(i=null==p?void 0:p.current)||i.setFieldsValue({BusiBrief:null==(n=null==e?void 0:e.target)?void 0:n.value})}}),Ye.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",position:"absolute",right:"10px",top:"10px"},children:Ye.jsx(F,{title:"Example: Describe the business objective or purpose in 2-3 sentences.",children:Ye.jsx(B,{style:{marginLeft:8,color:"#1890ff",cursor:"pointer"}})})})]})}),!x&&Ye.jsxs("div",{className:"formAddressDiv",children:[Ye.jsxs(I.Item,{name:"Address",children:[Ye.jsx("p",{children:" Address Details"}),Ye.jsx("br",{})]}),Ye.jsx(Hy,{defaultChecked:!1,functionName:ke})]}),!h&&Ye.jsxs("div",{className:"formAddressDiv",children:[Ye.jsxs(I.Item,{name:"FinancialYear",children:[Ye.jsx("p",{children:" Financial Year"}),Ye.jsx("br",{})]}),Ye.jsx(Hy,{defaultChecked:!(!Z||"Date"!=de),functionName:e=>{ee(!!e)}}),Z&&Ye.jsx(_y,{options:null==Ne?void 0:Ne.map((e=>({value:null==e?void 0:e.name,label:null==e?void 0:e.name}))),placeholder:"AppId",label:Ye.jsx("label",{children:"Calender Format"}),className:"field-DropDown",isOnchanges:de.length>0,onChangeFunction:async e=>{var t;ce(e),ee(!0),null==(t=p.current)||t.setFieldsValue({FinancialYear:e})},valueData:de})]}),!h&&"Date"==de&&Z&&Ye.jsx(I.Item,{name:"DateFormat",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Select Date"}],children:Ye.jsx(P,{direction:"vertical",children:Ye.jsx(f,{value:ue,onCalendarChange:Ee,onChange:Ee,disabledDate:e=>{if(!ue||!ue[0])return!1;const t=ue[0].endOf("month");return e.isSameOrBefore(t,"day")},format:"DD-MMM"})})}),!h&&"Financial Year"==de&&Z&&Ie("DD-MMM"),!h&&"Calender Year"==de&&Z&&Fe("DD-MMM"),Ye.jsxs("div",{className:"upload_btn",children:[Ye.jsx("p",{children:"Upload Logo"}),Ye.jsx(Yy,{singleImage:!0,updateImageUrl:e=>{N(e)},ImageLink:"edit"==e?null==h?void 0:h.CompLogo:""})]}),!x&&Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),disabled:"Super Admin"!==ye&&(re||"N"===(null==(l=null==je?void 0:je.find((e=>"Company"===(null==e?void 0:e.ConfigName))))?void 0:l.AddAccess)),htmlType:!0})})]}),x&&Ye.jsxs("div",{className:"formAddressDiv",children:[Ye.jsxs(I.Item,{name:"Address",children:[Ye.jsx("p",{children:" Address Details"}),Ye.jsx("br",{})]}),Ye.jsx(Hy,{defaultChecked:!0,functionName:ke})]}),Ye.jsxs("div",{className:"subinputForm",children:[x?Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{children:[Ye.jsx(I.Item,{name:"Address1",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Address1"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Address1",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Address Line1"}),fieldState:!0,fieldApi:!0,isOnChange:!!(null==h?void 0:h.Address1)})}),Ye.jsx(I.Item,{name:"Address2",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Address2"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Address2",autoComplete:"off",label:"Address Line2",fieldState:!0,fieldApi:!0,isOnChange:!!(null==h?void 0:h.Address2)})}),Ye.jsx(I.Item,{name:"Zip",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Zipcode"},{validator:(e,t)=>/(^\d{6}$)|(^\d{5}-\d{4}$)/.test(t)?Promise.resolve():Promise.reject()}],children:Ye.jsx(Oy,{field:"Zip",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Zipcode"}),maxLength:"6",fieldState:!0,fieldApi:!0,isOnChange:!!(null==h?void 0:h.Zip),onChange:async e=>{var t,n;if((null==(t=null==e?void 0:e.target)?void 0:t.value.length)<6)return j(!1),!1;await(async e=>{var t;let n="";await fetch(`https://api.postalpincode.in/pincode/${e}`).then((e=>e.text())).then((e=>n=JSON.parse(e))),"Success"===n[0].Status?(j(!0),null==(t=p.current)||t.setFieldsValue({City:n[0].PostOffice[0].Block,Dist:n[0].PostOffice[0].District,State:n[0].PostOffice[0].State})):j(!1)})(null==(n=null==e?void 0:e.target)?void 0:n.value)},inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")})}),w?Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(I.Item,{name:"City",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"City",disabled:!0,isOnChange:!0,label:"City",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{name:"Dist",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Dist",disabled:!0,isOnChange:!0,label:"District",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{name:"State",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"State",disabled:!0,isOnChange:!0,label:"State",fieldState:!0,fieldApi:!0})})]}):"",Ye.jsx(I.Item,{name:"Latitude",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Latitude"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Latitude",label:"Latitude",autoComplete:"off",isOnChange:!(!M&&!(null==h?void 0:h.Latitude)),fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{name:"Longitude",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Longitude"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Longitude",label:"Longitude",autoComplete:"off",isOnChange:!(!Q&&!(null==h?void 0:h.Longitude)),fieldState:!0,fieldApi:!0})})]})}):"",x?Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"MapDiv",children:Ye.jsx(ib,{onMarkerClick:async e=>{var t;R("function"==typeof e.lat?e.lat():M),H("function"==typeof e.lng?e.lng():Q),null==(t=p.current)||t.setFieldsValue({Latitude:"function"==typeof e.lat?e.lat():M,Longitude:"function"==typeof e.lng?e.lng():Q})},prevlca:h?{lat:h.Latitude,lng:h.Longitude}:null})})}):""]})]}),x&&Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0,disabled:"Super Admin"!==ye&&(re||"N"===(null==(o=null==je?void 0:je.find((e=>"Company"===(null==e?void 0:e.ConfigName))))?void 0:o.AddAccess))})})]})})]})})})},Vb=({columns:e,data:t,onChange:n,pagination:i,rowSelection:a})=>Ye.jsx(Ye.Fragment,{children:Ye.jsx(E,{columns:e,dataSource:t,onChange:n,rowSelection:a||null,pagination:!!i&&{onChange:i,defaultPageSize:10,showSizeChanger:!1,hideOnSinglePage:!0}})}),zb=({placeholder:e,onSearch:t,onSearchChange:n,prefix:i,value:a})=>Ye.jsx(g.Search,{className:"searchDiv",spellCheck:!1,placeholder:e,onSearch:t,onChange:n,prefix:i,value:a&&a}),qb="https://www.pozo.dev/pozo-common-api",Wb=Ja("pricingAppFeatMap/getPricingType",(async({toggleValue:e,AppId:t,UserId:n})=>{if(null!=e&&null!=e&&null!=t&&null!=t&&null!=n&&null!=n)return await Ne.get(`${qb}/pricingAppFeatMap?Type=${e}&AppId=${t}&UserId=${n}`)})),Yb=Ja("pricingAppFeatMap/getPricingType",(async({toggleValue:e,AppId:t,UserId:n})=>{if(null!=e&&null!=e&&null!=t&&null!=t&&null!=n&&null!=n)return await Ne.get(`${qb}/pricingAppFeatMap?Type=${e}&AppId=${t}&UserId=${n}`)})),Kb=Ja("pricingType/getPricingTypeAppId",(async({toggleValue:e,AppId:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await fA.get(`/pricingType?Type=${e}&AppId=${t}`)})),Gb=Ja("userAppMap/postFreeOption",(async e=>await fA.post("/userAppMap/FreeOption",e))),$b=Ja("getUserDetail/getUserDetails",(async e=>{if(null!=e&&null!=e)return await fA.get(`/user?UserId=${e}`)})),Xb=Ja("SendPaymentLink/SendPaymentLink",(async({MobileNo:e,url:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await fA.post("/verifyOTP/SendPaymentLink",{MobileNo:e,MessageHeader:"PaymentLink",Link:t})})),Jb=Ja("SendPaymentLink/SendPaymentLink",(async e=>{if(null!=e&&null!=e)return await fA.get(`/userAppMap?UniqueId=${e}&PaymentStatus=S`)})),Zb=Ja("UpdatePayment/UpdatePayment",(async e=>await fA.put("/userAppMap/paymentStatus",e))),ew=Ja("getPaymentUpiDeatils/getPaymentUpiDeatils",(async()=>await fA.get("/paymentUpiDetails?activeStatus=A&type=I"))),tw=Ja("getPaymentUpiDeatils/getPaymentModeDeatils",(async e=>{if(null!=e&&null!=e)return await fA.get(`/paymentUpiDetails?PaymentUPIDetailsId=${e}`)})),nw=Ja("getUserMappDetails/getUserMappDetails",(async e=>{if(null!=e&&null!=e)return await fA.get(`/userAppMap?UniqueId=${e}`)})),iw=Ja("sharePdfDocument/sharePdfDocument",(async({data:e})=>await fA.post("/userAppMap/send-invoicedetail",e))),aw=Ja("postEmailApi/SMS",(async e=>await mA.post("/SMS",e))),rw=Ja("pricingAppFeatureMap/getPricingFeatures",(async({toggleValue:e,AppId:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await Ne.get(`${qb}/pricingAppFeatMap?AppId=${t}&Type=${e}`)})),sw=Ja("pricingAppFeatureMap/getPurchasedPlan",(async({UserId:e,AppId:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await Ne.get(`${qb}/pricingAppFeatMap?AppId=${t}&UserId=${e}`)})),lw=Ja("homePage/PlanChanges",(async({UserId:e,AppId:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await fA.get(`/userAppMap/PlanChange?AppId=${t}&UserId=${e}`)})),ow=Ja("getUsedplandata",(async e=>{if(null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.type)&&null!=(null==e?void 0:e.type))return await fA.get(`/UserAppMap?AppId=${null==e?void 0:e.AppId}&UserId=${null==e?void 0:e.UserId}&type=${null==e?void 0:e.type}`)})),dw=Ja("userAppMap/UserBasedConstraint",(async e=>{if(null!=e&&null!=e)return await fA.get(`/userAppMap/UserBasedConstraint?UserId=${e}`)})),cw=Ya({name:"pricingType",initialState:{PricingType:[],PricingTypeFeat:[],Adminplanschanges:!1,NewPlandata:[]},reducers:{ChangeAdminplanschanges:(e,t)=>{e.Adminplanschanges=null==t?void 0:t.payload},changeNewPlandata:(e,t)=>{e.NewPlandata=null==t?void 0:t.payload}},extraReducers:e=>{e.addCase(Wb.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.PricingType=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.PricingType=[]})),e.addCase(Kb.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.PricingType=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.PricingType=[]})),e.addCase(rw.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.PricingTypeFeat=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.PricingTypeFeat=[]}))}}),{ChangeAdminplanschanges:uw,changeNewPlandata:pw}=cw.actions,Aw=e=>{var t;return null==(t=e.pricingType)?void 0:t.Adminplanschanges},hw=e=>{var t;return null==(t=e.pricingType)?void 0:t.NewPlandata},fw=cw.reducer,mw="/home/",vw=({fieldState:e,fieldApi:t,...n})=>{const{value:i}=e,{required:a,field:r,onChange:s,onBlur:l,canSelectPast:o,initialValue:d,forwardedRef:c,min:u,className:p,content:A,faClass:h,icon:f,...m}=n;return Ye.jsx(P,{direction:"vertical",children:Ye.jsx(T,{...m,id:r,type:"date",ref:c,required:a,value:i,disabledDate:o?"":e=>{var t=new Date;return t.setDate(t.getDate()+1),e.valueOf()<=t.setDate(t.getDate()-2)},format:"DD-MM-YYYY",className:v(`form-control ${p}`,{"is-invalid":e.error}),onChange:s})})},gw=({open:e,placement:t,title:n,children:i,onClose:a})=>Ye.jsx(Ye.Fragment,{children:Ye.jsx(_,{title:n,placement:t,onClose:a,open:e,children:i},t)}),yw=Ja("tax/adminTax",(async()=>await fA.get("/adminTax?ActiveStatus=A"))),xw=Ja("tax/postFeature",(async e=>await fA.post("/adminTax",e)));Ja("tax/deleteTax",(async e=>await fA.delete(`/adminTax?TaxId=${null==e?void 0:e.TaxId}&ActiveStatus=${null==e?void 0:e.ActiveStatus}&UpdatedBy=${null==e?void 0:e.UpdatedBy}`)));Ya({name:"tax",initialState:{taxData:[]},extraReducers:e=>{e.addCase(yw.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.taxData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.taxData=[]}))}});const bw=[{name:"Home",link:"/landing-page/home"}];S.extend(N);const ww=({label:e,isOnChange:t,onChange:n,valueData:i})=>Ye.jsx("div",{className:"example",children:Ye.jsx(Uy,{label:e,isOnChange:t,children:Ye.jsx(O,{className:"TimePickerDiv",use12Hours:!0,format:"h:mm a",onChange:n,value:null!=i?S(i,"HH:mm:ss"):""})})});var jw={exports:{}};const Cw=c(jw.exports=function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}),Sw=({style:e,defaultChecked:t,functionName:n,disabled:i,...a})=>Ye.jsx(b,{style:e,checked:t,onChange:n,disabled:i,...a});function Nw(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function Iw(e){const t=[{},{}];return null==e||e.values.forEach(((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()})),t}function Fw(e,t,n,i){if("function"==typeof t){const[a,r]=Iw(i);t=t(void 0!==n?n:e.custom,a,r)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[a,r]=Iw(i);t=t(void 0!==n?n:e.custom,a,r)}return t}function Bw(e,t,n){const i=e.getProps();return Fw(i,t,void 0!==n?n:i.custom,e)}function Pw(e,t){-1===e.indexOf(t)&&e.push(t)}function kw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Tw=(e,t,n)=>n>t?t:n<e?e:n;const Ew={},Dw=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Lw(e){return"object"==typeof e&&null!==e}const Uw=e=>/^0[^.\s]+$/u.test(e);function _w(e){let t;return()=>(void 0===t&&(t=e()),t)}const Ow=e=>e,Mw=(e,t)=>n=>t(e(n)),Rw=(...e)=>e.reduce(Mw),Qw=(e,t,n)=>{const i=t-e;return 0===i?1:(n-e)/i};class Hw{constructor(){this.subscriptions=[]}add(e){return Pw(this.subscriptions,e),()=>kw(this.subscriptions,e)}notify(e,t,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](e,t,n);else for(let a=0;a<i;a++){const i=this.subscriptions[a];i&&i(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Vw=e=>1e3*e,zw=e=>e/1e3;function qw(e,t){return t?e*(1e3/t):0}const Ww=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Yw(e,t,n,i){if(e===t&&n===i)return Ow;const a=t=>function(e,t,n,i,a){let r,s,l=0;do{s=t+(n-t)/2,r=Ww(s,i,a)-e,r>0?n=s:t=s}while(Math.abs(r)>1e-7&&++l<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:Ww(a(e),t,i)}const Kw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Gw=e=>t=>1-e(1-t),$w=Yw(.33,1.53,.69,.99),Xw=Gw($w),Jw=Kw(Xw),Zw=e=>(e*=2)<1?.5*Xw(e):.5*(2-Math.pow(2,-10*(e-1))),ej=e=>1-Math.sin(Math.acos(e)),tj=Gw(ej),nj=Kw(ej),ij=Yw(.42,0,1,1),aj=Yw(0,0,.58,1),rj=Yw(.42,0,.58,1),sj=e=>Array.isArray(e)&&"number"==typeof e[0],lj={linear:Ow,easeIn:ij,easeInOut:rj,easeOut:aj,circIn:ej,circInOut:nj,circOut:tj,backIn:Xw,backInOut:Jw,backOut:$w,anticipate:Zw},oj=e=>{if(sj(e)){e.length;const[t,n,i,a]=e;return Yw(t,n,i,a)}return"string"==typeof e?lj[e]:e},dj=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],cj={value:null,addProjectionMetrics:null};function uj(e,t){let n=!1,i=!0;const a={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=dj.reduce(((e,n)=>(e[n]=function(e,t){let n=new Set,i=new Set,a=!1,r=!1;const s=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1},o=0;function d(t){s.has(t)&&(c.schedule(t),e()),o++,t(l)}const c={schedule:(e,t=!1,r=!1)=>{const l=r&&a?n:i;return t&&s.add(e),l.has(e)||l.add(e),e},cancel:e=>{i.delete(e),s.delete(e)},process:e=>{l=e,a?r=!0:(a=!0,[n,i]=[i,n],n.forEach(d),t&&cj.value&&cj.value.frameloop[t].push(o),o=0,n.clear(),a=!1,r&&(r=!1,c.process(e)))}};return c}(r,t?n:void 0),e)),{}),{setup:l,read:o,resolveKeyframes:d,preUpdate:c,update:u,preRender:p,render:A,postRender:h}=s,f=()=>{const r=Ew.useManualTiming?a.timestamp:performance.now();n=!1,Ew.useManualTiming||(a.delta=i?1e3/60:Math.max(Math.min(r-a.timestamp,40),1)),a.timestamp=r,a.isProcessing=!0,l.process(a),o.process(a),d.process(a),c.process(a),u.process(a),p.process(a),A.process(a),h.process(a),a.isProcessing=!1,n&&t&&(i=!1,e(f))};return{schedule:dj.reduce(((t,r)=>{const l=s[r];return t[r]=(t,r=!1,s=!1)=>(n||(n=!0,i=!0,a.isProcessing||e(f)),l.schedule(t,r,s)),t}),{}),cancel:e=>{for(let t=0;t<dj.length;t++)s[dj[t]].cancel(e)},state:a,steps:s}}const{schedule:pj,cancel:Aj,state:hj,steps:fj}=uj("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Ow,!0);let mj;function vj(){mj=void 0}const gj={now:()=>(void 0===mj&&gj.set(hj.isProcessing||Ew.useManualTiming?hj.timestamp:performance.now()),mj),set:e=>{mj=e,queueMicrotask(vj)}},yj=e=>t=>"string"==typeof t&&t.startsWith(e),xj=yj("--"),bj=yj("var(--"),wj=e=>!!bj(e)&&jj.test(e.split("/*")[0].trim()),jj=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Cj={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Sj={...Cj,transform:e=>Tw(0,1,e)},Nj={...Cj,default:1},Ij=e=>Math.round(1e5*e)/1e5,Fj=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const Bj=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Pj=(e,t)=>n=>Boolean("string"==typeof n&&Bj.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),kj=(e,t,n)=>i=>{if("string"!=typeof i)return i;const[a,r,s,l]=i.match(Fj);return{[e]:parseFloat(a),[t]:parseFloat(r),[n]:parseFloat(s),alpha:void 0!==l?parseFloat(l):1}},Tj={...Cj,transform:e=>Math.round((e=>Tw(0,255,e))(e))},Ej={test:Pj("rgb","red"),parse:kj("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+Tj.transform(e)+", "+Tj.transform(t)+", "+Tj.transform(n)+", "+Ij(Sj.transform(i))+")"};const Dj={test:Pj("#"),parse:function(e){let t="",n="",i="",a="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),a=e.substring(4,5),t+=t,n+=n,i+=i,a+=a),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:a?parseInt(a,16)/255:1}},transform:Ej.transform},Lj=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Uj=Lj("deg"),_j=Lj("%"),Oj=Lj("px"),Mj=Lj("vh"),Rj=Lj("vw"),Qj=(()=>({..._j,parse:e=>_j.parse(e)/100,transform:e=>_j.transform(100*e)}))(),Hj={test:Pj("hsl","hue"),parse:kj("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+_j.transform(Ij(t))+", "+_j.transform(Ij(n))+", "+Ij(Sj.transform(i))+")"},Vj={test:e=>Ej.test(e)||Dj.test(e)||Hj.test(e),parse:e=>Ej.test(e)?Ej.parse(e):Hj.test(e)?Hj.parse(e):Dj.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?Ej.transform(e):Hj.transform(e)},zj=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const qj="number",Wj="color",Yj=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Kj(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},a=[];let r=0;const s=t.replace(Yj,(e=>(Vj.test(e)?(i.color.push(r),a.push(Wj),n.push(Vj.parse(e))):e.startsWith("var(")?(i.var.push(r),a.push("var"),n.push(e)):(i.number.push(r),a.push(qj),n.push(parseFloat(e))),++r,"${}"))).split("${}");return{values:n,split:s,indexes:i,types:a}}function Gj(e){return Kj(e).values}function $j(e){const{split:t,types:n}=Kj(e),i=t.length;return e=>{let a="";for(let r=0;r<i;r++)if(a+=t[r],void 0!==e[r]){const t=n[r];a+=t===qj?Ij(e[r]):t===Wj?Vj.transform(e[r]):e[r]}return a}}const Xj=e=>"number"==typeof e?0:e;const Jj={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null==(t=e.match(Fj))?void 0:t.length)||0)+((null==(n=e.match(zj))?void 0:n.length)||0)>0},parse:Gj,createTransformer:$j,getAnimatableNone:function(e){const t=Gj(e);return $j(e)(t.map(Xj))}};function Zj(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function eC(e,t){return n=>n>0?t:e}const tC=(e,t,n)=>e+(t-e)*n,nC=(e,t,n)=>{const i=e*e,a=n*(t*t-i)+i;return a<0?0:Math.sqrt(a)},iC=[Dj,Ej,Hj];function aC(e){const t=(n=e,iC.find((e=>e.test(n))));var n;if(!Boolean(t))return!1;let i=t.parse(e);return t===Hj&&(i=function({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,n/=100;let a=0,r=0,s=0;if(t/=100){const i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;a=Zj(l,i,e+1/3),r=Zj(l,i,e),s=Zj(l,i,e-1/3)}else a=r=s=n;return{red:Math.round(255*a),green:Math.round(255*r),blue:Math.round(255*s),alpha:i}}(i)),i}const rC=(e,t)=>{const n=aC(e),i=aC(t);if(!n||!i)return eC(e,t);const a={...n};return e=>(a.red=nC(n.red,i.red,e),a.green=nC(n.green,i.green,e),a.blue=nC(n.blue,i.blue,e),a.alpha=tC(n.alpha,i.alpha,e),Ej.transform(a))},sC=new Set(["none","hidden"]);function lC(e,t){return n=>tC(e,t,n)}function oC(e){return"number"==typeof e?lC:"string"==typeof e?wj(e)?eC:Vj.test(e)?rC:uC:Array.isArray(e)?dC:"object"==typeof e?Vj.test(e)?rC:cC:eC}function dC(e,t){const n=[...e],i=n.length,a=e.map(((e,n)=>oC(e)(e,t[n])));return e=>{for(let t=0;t<i;t++)n[t]=a[t](e);return n}}function cC(e,t){const n={...e,...t},i={};for(const a in n)void 0!==e[a]&&void 0!==t[a]&&(i[a]=oC(e[a])(e[a],t[a]));return e=>{for(const t in i)n[t]=i[t](e);return n}}const uC=(e,t)=>{const n=Jj.createTransformer(t),i=Kj(e),a=Kj(t);return i.indexes.var.length===a.indexes.var.length&&i.indexes.color.length===a.indexes.color.length&&i.indexes.number.length>=a.indexes.number.length?sC.has(e)&&!a.values.length||sC.has(t)&&!i.values.length?function(e,t){return sC.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):Rw(dC(function(e,t){const n=[],i={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const r=t.types[a],s=e.indexes[r][i[r]],l=e.values[s]??0;n[a]=l,i[r]++}return n}(i,a),a.values),n):eC(e,t)};function pC(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return tC(e,t,n);return oC(e)(e,t)}const AC=e=>{const t=({timestamp:t})=>e(t);return{start:(e=!0)=>pj.update(t,e),stop:()=>Aj(t),now:()=>hj.isProcessing?hj.timestamp:gj.now()}},hC=(e,t,n=10)=>{let i="";const a=Math.max(Math.round(t/n),2);for(let r=0;r<a;r++)i+=Math.round(1e4*e(r/(a-1)))/1e4+", ";return`linear(${i.substring(0,i.length-2)})`},fC=2e4;function mC(e){let t=0;let n=e.next(t);for(;!n.done&&t<fC;)t+=50,n=e.next(t);return t>=fC?1/0:t}function vC(e,t,n){const i=Math.max(t-5,0);return qw(n-e(i),t-i)}const gC=100,yC=10,xC=1,bC=0,wC=800,jC=.3,CC=.3,SC={granular:.01,default:2},NC={granular:.005,default:.5},IC=.01,FC=10,BC=.05,PC=1,kC=.001;function TC({duration:e=wC,bounce:t=jC,velocity:n=bC,mass:i=xC}){let a,r,s=1-t;s=Tw(BC,PC,s),e=Tw(IC,FC,zw(e)),s<1?(a=t=>{const i=t*s,a=i*e,r=i-n,l=DC(t,s),o=Math.exp(-a);return kC-r/l*o},r=t=>{const i=t*s*e,r=i*n+n,l=Math.pow(s,2)*Math.pow(t,2)*e,o=Math.exp(-i),d=DC(Math.pow(t,2),s);return(-a(t)+kC>0?-1:1)*((r-l)*o)/d}):(a=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,r=t=>Math.exp(-t*e)*(e*e*(n-t)));const l=function(e,t,n){let i=n;for(let a=1;a<EC;a++)i-=e(i)/t(i);return i}(a,r,5/e);if(e=Vw(e),isNaN(l))return{stiffness:gC,damping:yC,duration:e};{const t=Math.pow(l,2)*i;return{stiffness:t,damping:2*s*Math.sqrt(i*t),duration:e}}}const EC=12;function DC(e,t){return e*Math.sqrt(1-t*t)}const LC=["duration","bounce"],UC=["stiffness","damping","mass"];function _C(e,t){return t.some((t=>void 0!==e[t]))}function OC(e=CC,t=jC){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:i,restDelta:a}=n;const r=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],l={done:!1,value:r},{stiffness:o,damping:d,mass:c,duration:u,velocity:p,isResolvedFromDuration:A}=function(e){let t={velocity:bC,stiffness:gC,damping:yC,mass:xC,isResolvedFromDuration:!1,...e};if(!_C(e,UC)&&_C(e,LC))if(e.visualDuration){const n=e.visualDuration,i=2*Math.PI/(1.2*n),a=i*i,r=2*Tw(.05,1,1-(e.bounce||0))*Math.sqrt(a);t={...t,mass:xC,stiffness:a,damping:r}}else{const n=TC(e);t={...t,...n,mass:xC},t.isResolvedFromDuration=!0}return t}({...n,velocity:-zw(n.velocity||0)}),h=p||0,f=d/(2*Math.sqrt(o*c)),m=s-r,v=zw(Math.sqrt(o/c)),g=Math.abs(m)<5;let y;if(i||(i=g?SC.granular:SC.default),a||(a=g?NC.granular:NC.default),f<1){const e=DC(v,f);y=t=>{const n=Math.exp(-f*v*t);return s-n*((h+f*v*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===f)y=e=>s-Math.exp(-v*e)*(m+(h+v*m)*e);else{const e=v*Math.sqrt(f*f-1);y=t=>{const n=Math.exp(-f*v*t),i=Math.min(e*t,300);return s-n*((h+f*v*m)*Math.sinh(i)+e*m*Math.cosh(i))/e}}const x={calculatedDuration:A&&u||null,next:e=>{const t=y(e);if(A)l.done=e>=u;else{let n=0===e?h:0;f<1&&(n=0===e?Vw(h):vC(y,e,t));const r=Math.abs(n)<=i,o=Math.abs(s-t)<=a;l.done=r&&o}return l.value=l.done?s:t,l},toString:()=>{const e=Math.min(mC(x),fC),t=hC((t=>x.next(e*t).value),e,30);return e+"ms "+t},toTransition:()=>{}};return x}function MC({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:a=10,bounceStiffness:r=500,modifyTarget:s,min:l,max:o,restDelta:d=.5,restSpeed:c}){const u=e[0],p={done:!1,value:u},A=e=>void 0===l?o:void 0===o||Math.abs(l-e)<Math.abs(o-e)?l:o;let h=n*t;const f=u+h,m=void 0===s?f:s(f);m!==f&&(h=m-u);const v=e=>-h*Math.exp(-e/i),g=e=>m+v(e),y=e=>{const t=v(e),n=g(e);p.done=Math.abs(t)<=d,p.value=p.done?m:n};let x,b;const w=e=>{var t;(t=p.value,void 0!==l&&t<l||void 0!==o&&t>o)&&(x=e,b=OC({keyframes:[p.value,A(p.value)],velocity:vC(g,e,p.value),damping:a,stiffness:r,restDelta:d,restSpeed:c}))};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return b||void 0!==x||(t=!0,y(e),w(e)),void 0!==x&&e>=x?b.next(e-x):(!t&&y(e),p)}}}function RC(e,t,{clamp:n=!0,ease:i,mixer:a}={}){const r=e.length;if(t.length,1===r)return()=>t[0];if(2===r&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=function(e,t,n){const i=[],a=n||Ew.mix||pC,r=e.length-1;for(let s=0;s<r;s++){let n=a(e[s],e[s+1]);if(t){const e=Array.isArray(t)?t[s]||Ow:t;n=Rw(e,n)}i.push(n)}return i}(t,i,a),o=l.length,d=n=>{if(s&&n<e[0])return t[0];let i=0;if(o>1)for(;i<e.length-2&&!(n<e[i+1]);i++);const a=Qw(e[i],e[i+1],n);return l[i](a)};return n?t=>d(Tw(e[0],e[r-1],t)):d}function QC(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const a=Qw(0,t,i);e.push(tC(n,1,a))}}(t,e.length-1),t}function HC({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const a=(e=>Array.isArray(e)&&"number"!=typeof e[0])(i)?i.map(oj):oj(i),r={done:!1,value:t[0]},s=function(e,t){return e.map((e=>e*t))}(n&&n.length===t.length?n:QC(t),e),l=RC(s,t,{ease:Array.isArray(a)?a:(o=t,d=a,o.map((()=>d||rj)).splice(0,o.length-1))});var o,d;return{calculatedDuration:e,next:t=>(r.value=l(t),r.done=t>=e,r)}}OC.applyToOptions=e=>{const t=function(e,t=100,n){const i=n({...e,keyframes:[0,t]}),a=Math.min(mC(i),fC);return{type:"keyframes",ease:e=>i.next(a*e).value/t,duration:zw(a)}}(e,100,OC);return e.ease=t.ease,e.duration=Vw(t.duration),e.type="keyframes",e};const VC=e=>null!==e;function zC(e,{repeat:t,repeatType:n="loop"},i,a=1){const r=e.filter(VC),s=a<0||t&&"loop"!==n&&t%2==1?0:r.length-1;return s&&void 0!==i?i:r[s]}const qC={decay:MC,inertia:MC,tween:HC,keyframes:HC,spring:OC};function WC(e){"string"==typeof e.type&&(e.type=qC[e.type])}class YC{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise((e=>{this.resolve=e}))}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}const KC=e=>e/100;class GC extends YC{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var e,t;const{motionValue:n}=this.options;n&&n.updatedAt!==gj.now()&&this.tick(gj.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),null==(t=(e=this.options).onStop)||t.call(e))},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){const{options:e}=this;WC(e);const{type:t=HC,repeat:n=0,repeatDelay:i=0,repeatType:a,velocity:r=0}=e;let{keyframes:s}=e;const l=t||HC;l!==HC&&"number"!=typeof s[0]&&(this.mixKeyframes=Rw(KC,pC(s[0],s[1])),s=[0,100]);const o=l({...e,keyframes:s});"mirror"===a&&(this.mirroredGenerator=l({...e,keyframes:[...s].reverse(),velocity:-r})),null===o.calculatedDuration&&(o.calculatedDuration=mC(o));const{calculatedDuration:d}=o;this.calculatedDuration=d,this.resolvedDuration=d+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=o}updateTime(e){const t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){const{generator:n,totalDuration:i,mixKeyframes:a,mirroredGenerator:r,resolvedDuration:s,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);const{delay:o=0,keyframes:d,repeat:c,repeatType:u,repeatDelay:p,type:A,onUpdate:h,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);const m=this.currentTime-o*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?m<0:m>i;this.currentTime=Math.max(m,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let g=this.currentTime,y=n;if(c){const e=Math.min(this.currentTime,i)/s;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,c+1);Boolean(t%2)&&("reverse"===u?(n=1-n,p&&(n-=p/s)):"mirror"===u&&(y=r)),g=Tw(0,1,n)*s}const x=v?{done:!1,value:d[0]}:y.next(g);a&&(x.value=a(x.value));let{done:b}=x;v||null===l||(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const w=null===this.holdTime&&("finished"===this.state||"running"===this.state&&b);return w&&A!==MC&&(x.value=zC(d,this.options,f,this.speed)),h&&h(x.value),w&&this.finish(),x}then(e,t){return this.finished.then(e,t)}get duration(){return zw(this.calculatedDuration)}get time(){return zw(this.currentTime)}set time(e){var t;e=Vw(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),null==(t=this.driver)||t.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(gj.now());const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=zw(this.currentTime))}play(){var e,t;if(this.isStopped)return;const{driver:n=AC,startTime:i}=this.options;this.driver||(this.driver=n((e=>this.tick(e)))),null==(t=(e=this.options).onPlay)||t.call(e);const a=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=a):null!==this.holdTime?this.startTime=a-this.holdTime:this.startTime||(this.startTime=i??a),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(gj.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){var e,t;this.notifyFinished(),this.teardown(),this.state="finished",null==(t=(e=this.options).onComplete)||t.call(e)}cancel(){var e,t;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),null==(t=(e=this.options).onCancel)||t.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var t;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),null==(t=this.driver)||t.stop(),e.observe(this)}}const $C=e=>180*e/Math.PI,XC=e=>{const t=$C(Math.atan2(e[1],e[0]));return ZC(t)},JC={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:XC,rotateZ:XC,skewX:e=>$C(Math.atan(e[1])),skewY:e=>$C(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ZC=e=>((e%=360)<0&&(e+=360),e),eS=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),tS=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),nS={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:eS,scaleY:tS,scale:e=>(eS(e)+tS(e))/2,rotateX:e=>ZC($C(Math.atan2(e[6],e[5]))),rotateY:e=>ZC($C(Math.atan2(-e[2],e[0]))),rotateZ:XC,rotate:XC,skewX:e=>$C(Math.atan(e[4])),skewY:e=>$C(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function iS(e){return e.includes("scale")?1:0}function aS(e,t){if(!e||"none"===e)return iS(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,a;if(n)i=nS,a=n;else{const t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=JC,a=t}if(!a)return iS(t);const r=i[t],s=a[1].split(",").map(rS);return"function"==typeof r?r(s):s[r]}function rS(e){return parseFloat(e.trim())}const sS=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],lS=(()=>new Set(sS))(),oS=e=>e===Cj||e===Oj,dS=new Set(["x","y","z"]),cS=sS.filter((e=>!dS.has(e)));const uS={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>aS(t,"x"),y:(e,{transform:t})=>aS(t,"y")};uS.translateX=uS.x,uS.translateY=uS.y;const pS=new Set;let AS=!1,hS=!1,fS=!1;function mS(){if(hS){const e=Array.from(pS).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),n=new Map;t.forEach((e=>{const t=function(e){const t=[];return cS.forEach((n=>{const i=e.getValue(n);void 0!==i&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))})),t}(e);t.length&&(n.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const t=n.get(e);t&&t.forEach((([t,n])=>{var i;null==(i=e.getValue(t))||i.set(n)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}hS=!1,AS=!1,pS.forEach((e=>e.complete(fS))),pS.clear()}function vS(){pS.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(hS=!0)}))}class gS{constructor(e,t,n,i,a,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=i,this.element=a,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(pS.add(this),AS||(AS=!0,pj.read(vS),pj.resolveKeyframes(mS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:i}=this;if(null===e[0]){const a=null==i?void 0:i.get(),r=e[e.length-1];if(void 0!==a)e[0]=a;else if(n&&t){const i=n.readValue(t,r);null!=i&&(e[0]=i)}void 0===e[0]&&(e[0]=r),i&&void 0===a&&i.set(e[0])}!function(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),pS.delete(this)}cancel(){"scheduled"===this.state&&(pS.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}const yS=_w((()=>void 0!==window.ScrollTimeline)),xS={};function bS(e,t){const n=_w(e);return()=>xS[t]??n()}const wS=bS((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(Ou){return!1}return!0}),"linearEasing"),jS=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,CS={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:jS([0,.65,.55,1]),circOut:jS([.55,0,1,.45]),backIn:jS([.31,.01,.66,-.59]),backOut:jS([.33,1.53,.69,.99])};function SS(e,t){return e?"function"==typeof e?wS()?hC(e,t):"ease-out":sj(e)?jS(e):Array.isArray(e)?e.map((e=>SS(e,t)||CS.easeOut)):CS[e]:void 0}function NS(e,t,n,{delay:i=0,duration:a=300,repeat:r=0,repeatType:s="loop",ease:l="easeOut",times:o}={},d=void 0){const c={[t]:n};o&&(c.offset=o);const u=SS(l,a);Array.isArray(u)&&(c.easing=u);const p={delay:i,duration:a,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:r+1,direction:"reverse"===s?"alternate":"normal"};d&&(p.pseudoElement=d);return e.animate(c,p)}function IS(e){return"function"==typeof e&&"applyToOptions"in e}class FS extends YC{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:t,name:n,keyframes:i,pseudoElement:a,allowFlatten:r=!1,finalKeyframe:s,onComplete:l}=e;this.isPseudoElement=Boolean(a),this.allowFlatten=r,this.options=e,e.type;const o=function({type:e,...t}){return IS(e)&&wS()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=NS(t,n,i,o,a),!1===o.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){const e=zC(i,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(e):function(e,t,n){(e=>e.startsWith("--"))(t)?e.style.setProperty(t,n):e.style[t]=n}(t,n,e),this.animation.cancel()}null==l||l(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,t;null==(t=(e=this.animation).finish)||t.call(e)}cancel(){try{this.animation.cancel()}catch(Ou){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var e,t;this.isPseudoElement||null==(t=(e=this.animation).commitStyles)||t.call(e)}get duration(){var e,t;const n=(null==(t=null==(e=this.animation.effect)?void 0:e.getComputedTiming)?void 0:t.call(e).duration)||0;return zw(Number(n))}get time(){return zw(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=Vw(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){var n;return this.allowFlatten&&(null==(n=this.animation.effect)||n.updateTiming({easing:"linear"})),this.animation.onfinish=null,e&&yS()?(this.animation.timeline=e,Ow):t(this)}}const BS={anticipate:Zw,backInOut:Jw,circInOut:nj};function PS(e){"string"==typeof e.ease&&e.ease in BS&&(e.ease=BS[e.ease])}class kS extends FS{constructor(e){PS(e),WC(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:t,onUpdate:n,onComplete:i,element:a,...r}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);const s=new GC({...r,autoplay:!1}),l=Vw(this.finishedTime??this.time);t.setWithVelocity(s.sample(l-10).value,s.sample(l).value,10),s.stop()}}const TS=(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!Jj.test(e)&&"0"!==e||e.startsWith("url(")));function ES(e){return Lw(e)&&"offsetHeight"in e}const DS=new Set(["opacity","clipPath","filter","transform"]),LS=_w((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));class US extends YC{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:r="loop",keyframes:s,name:l,motionValue:o,element:d,...c}){var u;super(),this.stop=()=>{var e,t;this._animation&&(this._animation.stop(),null==(e=this.stopTimeline)||e.call(this)),null==(t=this.keyframeResolver)||t.cancel()},this.createdAt=gj.now();const p={autoplay:e,delay:t,type:n,repeat:i,repeatDelay:a,repeatType:r,name:l,motionValue:o,element:d,...c},A=(null==d?void 0:d.KeyframeResolver)||gS;this.keyframeResolver=new A(s,((e,t,n)=>this.onKeyframesResolved(e,t,p,!n)),l,o,d),null==(u=this.keyframeResolver)||u.scheduleResolve()}onKeyframesResolved(e,t,n,i){this.keyframeResolver=void 0;const{name:a,type:r,velocity:s,delay:l,isHandoff:o,onUpdate:d}=n;this.resolvedAt=gj.now(),function(e,t,n,i){const a=e[0];if(null===a)return!1;if("display"===t||"visibility"===t)return!0;const r=e[e.length-1],s=TS(a,t),l=TS(r,t);return!(!s||!l)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||IS(n))&&i)}(e,a,r,s)||(!Ew.instantAnimations&&l||null==d||d(zC(e,n,t)),e[0]=e[e.length-1],n.duration=0,n.repeat=0);const c={startTime:i?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},u=!o&&function(e){var t;const{motionValue:n,name:i,repeatDelay:a,repeatType:r,damping:s,type:l}=e;if(!ES(null==(t=null==n?void 0:n.owner)?void 0:t.current))return!1;const{onUpdate:o,transformTemplate:d}=n.owner.getProps();return LS()&&i&&DS.has(i)&&("transform"!==i||!d)&&!o&&!a&&"mirror"!==r&&0!==s&&"inertia"!==l}(c)?new kS({...c,element:c.motionValue.owner.current}):new GC(c);u.finished.then((()=>this.notifyFinished())).catch(Ow),this.pendingTimeline&&(this.stopTimeline=u.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=u}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then((()=>{}))}get animation(){var e;return this._animation||(null==(e=this.keyframeResolver)||e.resume(),fS=!0,vS(),mS(),fS=!1),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),null==(e=this.keyframeResolver)||e.cancel()}}const _S=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function OS(e,t,n=1){const[i,a]=function(e){const t=_S.exec(e);if(!t)return[,];const[,n,i,a]=t;return[`--${n??i}`,a]}(e);if(!i)return;const r=window.getComputedStyle(t).getPropertyValue(i);if(r){const e=r.trim();return Dw(e)?parseFloat(e):e}return wj(a)?OS(a,t,n+1):a}function MS(e,t){return(null==e?void 0:e[t])??(null==e?void 0:e.default)??e}const RS=new Set(["width","height","top","left","right","bottom",...sS]),QS=e=>t=>t.test(e),HS=[Cj,Oj,_j,Uj,Rj,Mj,{test:e=>"auto"===e,parse:e=>e}],VS=e=>HS.find(QS(e));const zS=new Set(["brightness","contrast","saturate","opacity"]);function qS(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[i]=n.match(Fj)||[];if(!i)return e;const a=n.replace(i,"");let r=zS.has(t)?1:0;return i!==n&&(r*=100),t+"("+r+a+")"}const WS=/\b([a-z-]*)\(.*?\)/gu,YS={...Jj,getAnimatableNone:e=>{const t=e.match(WS);return t?t.map(qS).join(" "):e}},KS={...Cj,transform:Math.round},GS={borderWidth:Oj,borderTopWidth:Oj,borderRightWidth:Oj,borderBottomWidth:Oj,borderLeftWidth:Oj,borderRadius:Oj,radius:Oj,borderTopLeftRadius:Oj,borderTopRightRadius:Oj,borderBottomRightRadius:Oj,borderBottomLeftRadius:Oj,width:Oj,maxWidth:Oj,height:Oj,maxHeight:Oj,top:Oj,right:Oj,bottom:Oj,left:Oj,padding:Oj,paddingTop:Oj,paddingRight:Oj,paddingBottom:Oj,paddingLeft:Oj,margin:Oj,marginTop:Oj,marginRight:Oj,marginBottom:Oj,marginLeft:Oj,backgroundPositionX:Oj,backgroundPositionY:Oj,...{rotate:Uj,rotateX:Uj,rotateY:Uj,rotateZ:Uj,scale:Nj,scaleX:Nj,scaleY:Nj,scaleZ:Nj,skew:Uj,skewX:Uj,skewY:Uj,distance:Oj,translateX:Oj,translateY:Oj,translateZ:Oj,x:Oj,y:Oj,z:Oj,perspective:Oj,transformPerspective:Oj,opacity:Sj,originX:Qj,originY:Qj,originZ:Oj},zIndex:KS,fillOpacity:Sj,strokeOpacity:Sj,numOctaves:KS},$S={...GS,color:Vj,backgroundColor:Vj,outlineColor:Vj,fill:Vj,stroke:Vj,borderColor:Vj,borderTopColor:Vj,borderRightColor:Vj,borderBottomColor:Vj,borderLeftColor:Vj,filter:YS,WebkitFilter:YS},XS=e=>$S[e];function JS(e,t){let n=XS(e);return n!==YS&&(n=Jj),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ZS=new Set(["auto","none","0"]);class eN extends gS{constructor(e,t,n,i,a){super(e,t,n,i,a,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let l=0;l<e.length;l++){let n=e[l];if("string"==typeof n&&(n=n.trim(),wj(n))){const i=OS(n,t.current);void 0!==i&&(e[l]=i),l===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!RS.has(n)||2!==e.length)return;const[i,a]=e,r=VS(i),s=VS(a);if(r!==s)if(oS(r)&&oS(s))for(let l=0;l<e.length;l++){const t=e[l];"string"==typeof t&&(e[l]=parseFloat(t))}else uS[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let a=0;a<e.length;a++)(null===e[a]||("number"==typeof(i=e[a])?0===i:null===i||"none"===i||"0"===i||Uw(i)))&&n.push(a);var i;n.length&&function(e,t,n){let i,a=0;for(;a<e.length&&!i;){const t=e[a];"string"==typeof t&&!ZS.has(t)&&Kj(t).values.length&&(i=e[a]),a++}if(i&&n)for(const r of t)e[r]=JS(n,i)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=uS[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const i=t[t.length-1];void 0!==i&&e.getValue(n,i).jump(i,!1)}measureEndState(){var e;const{element:t,name:n,unresolvedKeyframes:i}=this;if(!t||!t.current)return;const a=t.getValue(n);a&&a.jump(this.measuredOrigin,!1);const r=i.length-1,s=i[r];i[r]=uS[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null==(e=this.removedTransforms)?void 0:e.length)&&this.removedTransforms.forEach((([e,n])=>{t.getValue(e).set(n)})),this.resolveNoneKeyframes()}}function tN(e,t,n){if(e instanceof EventTarget)return[e];if("string"==typeof e){let i=document;t&&(i=t.current);const a=(null==n?void 0:n[e])??i.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}const nN=(e,t)=>t&&"number"==typeof e?t.transform(e):e;class iN{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{var n,i;const a=gj.now();if(this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(null==(n=this.events.change)||n.notify(this.current),this.dependents))for(const r of this.dependents)r.dirty();t&&(null==(i=this.events.renderRequest)||i.notify(this.current))},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=gj.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Hw);const n=this.events[e].add(t);return"change"===e?()=>{n(),pj.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;null==(e=this.events.change)||e.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=gj.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return qw(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var e,t;null==(e=this.dependents)||e.clear(),null==(t=this.events.destroy)||t.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function aN(e,t){return new iN(e,t)}const{schedule:rN,cancel:sN}=uj(queueMicrotask,!1),lN={x:!1,y:!1};function oN(){return lN.x||lN.y}function dN(e,t){const n=tN(e),i=new AbortController;return[n,{passive:!0,...t,signal:i.signal},()=>i.abort()]}function cN(e){return!("touch"===e.pointerType||oN())}const uN=(e,t)=>!!t&&(e===t||uN(e,t.parentElement)),pN=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,AN=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const hN=new WeakSet;function fN(e){return t=>{"Enter"===t.key&&e(t)}}function mN(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function vN(e){return pN(e)&&!oN()}function gN(e,t,n={}){const[i,a,r]=dN(e,n),s=e=>{const i=e.currentTarget;if(!vN(e))return;hN.add(i);const r=t(i,e),s=(e,t)=>{window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",o),hN.has(i)&&hN.delete(i),vN(e)&&"function"==typeof r&&r(e,{success:t})},l=e=>{s(e,i===window||i===document||n.useGlobalTarget||uN(i,e.target))},o=e=>{s(e,!1)};window.addEventListener("pointerup",l,a),window.addEventListener("pointercancel",o,a)};return i.forEach((e=>{var t;(n.useGlobalTarget?window:e).addEventListener("pointerdown",s,a),ES(e)&&(e.addEventListener("focus",(e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const i=fN((()=>{if(hN.has(n))return;mN(n,"down");const e=fN((()=>{mN(n,"up")}));n.addEventListener("keyup",e,t),n.addEventListener("blur",(()=>mN(n,"cancel")),t)}));n.addEventListener("keydown",i,t),n.addEventListener("blur",(()=>n.removeEventListener("keydown",i)),t)})(e,a))),t=e,AN.has(t.tagName)||-1!==t.tabIndex||e.hasAttribute("tabindex")||(e.tabIndex=0))})),r}function yN(e){return Lw(e)&&"ownerSVGElement"in e}const xN=e=>Boolean(e&&e.getVelocity),bN=[...HS,Vj,Jj],wN=e=>Array.isArray(e);function jN(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,aN(n))}function CN(e,t){const n=Bw(e,t);let{transitionEnd:i={},transition:a={},...r}=n||{};r={...r,...i};for(const l in r){jN(e,l,(s=r[l],wN(s)?s[s.length-1]||0:s))}var s}function SN(e,t){const n=e.getValue("willChange");if(i=n,Boolean(xN(i)&&i.add))return n.add(t);if(!n&&Ew.WillChange){const n=new Ew.WillChange("auto");e.addValue("willChange",n),n.add(t)}var i}const NN=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),IN="data-"+NN("framerAppearId");function FN(e){return e.props[IN]}const BN=e=>null!==e;const PN={type:"spring",stiffness:500,damping:25,restSpeed:10},kN={type:"keyframes",duration:.8},TN={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},EN=(e,{keyframes:t})=>t.length>2?kN:lS.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:PN:TN;const DN=(e,t,n,i={},a,r)=>s=>{const l=MS(i,e)||{},o=l.delay||i.delay||0;let{elapsed:d=0}=i;d-=Vw(o);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-d,onUpdate:e=>{t.set(e),l.onUpdate&&l.onUpdate(e)},onComplete:()=>{s(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:r?void 0:a};(function({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:a,repeat:r,repeatType:s,repeatDelay:l,from:o,elapsed:d,...c}){return!!Object.keys(c).length})(l)||Object.assign(c,EN(e,c)),c.duration&&(c.duration=Vw(c.duration)),c.repeatDelay&&(c.repeatDelay=Vw(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let u=!1;if((!1===c.type||0===c.duration&&!c.repeatDelay)&&(c.duration=0,0===c.delay&&(u=!0)),(Ew.instantAnimations||Ew.skipAnimations)&&(u=!0,c.duration=0,c.delay=0),c.allowFlatten=!l.type&&!l.ease,u&&!r&&void 0!==t.get()){const e=function(e,{repeat:t,repeatType:n="loop"},i){const a=e.filter(BN),r=t&&"loop"!==n&&t%2==1?0:a.length-1;return r&&void 0!==i?i:a[r]}(c.keyframes,l);if(void 0!==e)return void pj.update((()=>{c.onUpdate(e),c.onComplete()}))}return l.isSync?new GC(c):new US(c)};function LN({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}function UN(e,t,{delay:n=0,transitionOverride:i,type:a}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...l}=t;i&&(r=i);const o=[],d=a&&e.animationState&&e.animationState.getState()[a];for(const c in l){const t=e.getValue(c,e.latestValues[c]??null),i=l[c];if(void 0===i||d&&LN(d,c))continue;const a={delay:n,...MS(r||{},c)},s=t.get();if(void 0!==s&&!t.isAnimating&&!Array.isArray(i)&&i===s&&!a.velocity)continue;let u=!1;if(window.MotionHandoffAnimation){const t=FN(e);if(t){const e=window.MotionHandoffAnimation(t,c,pj);null!==e&&(a.startTime=e,u=!0)}}SN(e,c),t.start(DN(c,t,i,e.shouldReduceMotion&&RS.has(c)?{type:!1}:a,e,u));const p=t.animation;p&&o.push(p)}return s&&Promise.all(o).then((()=>{pj.update((()=>{s&&CN(e,s)}))})),o}function _N(e,t,n={}){var i;const a=Bw(e,t,"exit"===n.type?null==(i=e.presenceContext)?void 0:i.custom:void 0);let{transition:r=e.getDefaultTransition()||{}}=a||{};n.transitionOverride&&(r=n.transitionOverride);const s=a?()=>Promise.all(UN(e,a,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(i=0)=>{const{delayChildren:a=0,staggerChildren:s,staggerDirection:l}=r;return function(e,t,n=0,i=0,a=1,r){const s=[],l=(e.variantChildren.size-1)*i,o=1===a?(e=0)=>e*i:(e=0)=>l-e*i;return Array.from(e.variantChildren).sort(ON).forEach(((e,i)=>{e.notify("AnimationStart",t),s.push(_N(e,t,{...r,delay:n+o(i)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(s)}(e,t,a+i,s,l,n)}:()=>Promise.resolve(),{when:o}=r;if(o){const[e,t]="beforeChildren"===o?[s,l]:[l,s];return e().then((()=>t()))}return Promise.all([s(),l(n.delay)])}function ON(e,t){return e.sortNodePosition(t)}function MN(e,t,n={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t)){const a=t.map((t=>_N(e,t,n)));i=Promise.all(a)}else if("string"==typeof t)i=_N(e,t,n);else{const a="function"==typeof t?Bw(e,t,n.custom):t;i=Promise.all(UN(e,a,n))}return i.then((()=>{e.notify("AnimationComplete",t)}))}function RN(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function QN(e){return"string"==typeof e||Array.isArray(e)}const HN=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],VN=["initial",...HN],zN=VN.length;function qN(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&qN(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<zN;n++){const i=VN[n],a=e.props[i];(QN(a)||!1===a)&&(t[i]=a)}return t}const WN=[...HN].reverse(),YN=HN.length;function KN(e){let t=function(e){return t=>Promise.all(t.map((({animation:t,options:n})=>MN(e,t,n))))}(e),n=XN(),i=!0;const a=t=>(n,i)=>{var a;const r=Bw(e,i,"exit"===t?null==(a=e.presenceContext)?void 0:a.custom:void 0);if(r){const{transition:e,transitionEnd:t,...i}=r;n={...n,...i,...t}}return n};function r(r){const{props:s}=e,l=qN(e.parent)||{},o=[],d=new Set;let c={},u=1/0;for(let t=0;t<YN;t++){const p=WN[t],A=n[p],h=void 0!==s[p]?s[p]:l[p],f=QN(h),m=p===r?A.isActive:null;!1===m&&(u=t);let v=h===l[p]&&h!==s[p]&&f;if(v&&i&&e.manuallyAnimateOnMount&&(v=!1),A.protectedKeys={...c},!A.isActive&&null===m||!h&&!A.prevProp||Nw(h)||"boolean"==typeof h)continue;const g=GN(A.prevProp,h);let y=g||p===r&&A.isActive&&!v&&f||t>u&&f,x=!1;const b=Array.isArray(h)?h:[h];let w=b.reduce(a(p),{});!1===m&&(w={});const{prevResolvedValues:j={}}=A,C={...j,...w},S=t=>{y=!0,d.has(t)&&(x=!0,d.delete(t)),A.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in C){const t=w[e],n=j[e];if(c.hasOwnProperty(e))continue;let i=!1;i=wN(t)&&wN(n)?!RN(t,n):t!==n,i?null!=t?S(e):d.add(e):void 0!==t&&d.has(e)?S(e):A.protectedKeys[e]=!0}A.prevProp=h,A.prevResolvedValues=w,A.isActive&&(c={...c,...w}),i&&e.blockInitialAnimation&&(y=!1);y&&(!(v&&g)||x)&&o.push(...b.map((e=>({animation:e,options:{type:p}}))))}if(d.size){const t={};if("boolean"!=typeof s.initial){const n=Bw(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}d.forEach((n=>{const i=e.getBaseTarget(n),a=e.getValue(n);a&&(a.liveStyle=!0),t[n]=i??null})),o.push({animation:t})}let p=Boolean(o.length);return!i||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(p=!1),i=!1,p?t(o):Promise.resolve()}return{animateChanges:r,setActive:function(t,i){var a;if(n[t].isActive===i)return Promise.resolve();null==(a=e.variantChildren)||a.forEach((e=>{var n;return null==(n=e.animationState)?void 0:n.setActive(t,i)})),n[t].isActive=i;const s=r(t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=XN(),i=!0}}}function GN(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!RN(t,e)}function $N(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function XN(){return{animate:$N(!0),whileInView:$N(),whileHover:$N(),whileTap:$N(),whileDrag:$N(),whileFocus:$N(),exit:$N()}}class JN{constructor(e){this.isMounted=!1,this.node=e}update(){}}let ZN=0;const eI={animation:{Feature:class extends JN{constructor(e){super(e),e.animationState||(e.animationState=KN(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Nw(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null==(e=this.unmountControls)||e.call(this)}}},exit:{Feature:class extends JN{constructor(){super(...arguments),this.id=ZN++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const i=this.node.animationState.setActive("exit",!e);t&&!e&&i.then((()=>{t(this.id)}))}mount(){const{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function tI(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}function nI(e){return{point:{x:e.pageX,y:e.pageY}}}function iI(e,t,n,i){return tI(e,t,(e=>t=>pN(t)&&e(t,nI(t)))(n),i)}function aI({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function rI(e){return e.max-e.min}function sI(e,t,n,i=.5){e.origin=i,e.originPoint=tC(t.min,t.max,e.origin),e.scale=rI(n)/rI(t),e.translate=tC(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function lI(e,t,n,i){sI(e.x,t.x,n.x,i?i.originX:void 0),sI(e.y,t.y,n.y,i?i.originY:void 0)}function oI(e,t,n){e.min=n.min+t.min,e.max=e.min+rI(t)}function dI(e,t,n){e.min=t.min-n.min,e.max=e.min+rI(t)}function cI(e,t,n){dI(e.x,t.x,n.x),dI(e.y,t.y,n.y)}const uI=()=>({x:{min:0,max:0},y:{min:0,max:0}});function pI(e){return[e("x"),e("y")]}function AI(e){return void 0===e||1===e}function hI({scale:e,scaleX:t,scaleY:n}){return!AI(e)||!AI(t)||!AI(n)}function fI(e){return hI(e)||mI(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function mI(e){return vI(e.x)||vI(e.y)}function vI(e){return e&&"0%"!==e}function gI(e,t,n){return n+t*(e-n)}function yI(e,t,n,i,a){return void 0!==a&&(e=gI(e,a,i)),gI(e,n,i)+t}function xI(e,t=0,n=1,i,a){e.min=yI(e.min,t,n,i,a),e.max=yI(e.max,t,n,i,a)}function bI(e,{x:t,y:n}){xI(e.x,t.translate,t.scale,t.originPoint),xI(e.y,n.translate,n.scale,n.originPoint)}const wI=.999999999999,jI=1.0000000000001;function CI(e,t){e.min=e.min+t,e.max=e.max+t}function SI(e,t,n,i,a=.5){xI(e,t,n,tC(e.min,e.max,a),i)}function NI(e,t){SI(e.x,t.x,t.scaleX,t.scale,t.originX),SI(e.y,t.y,t.scaleY,t.scale,t.originY)}function II(e,t){return aI(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(e.getBoundingClientRect(),t))}const FI=({current:e})=>e?e.ownerDocument.defaultView:null;function BI(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}const PI=(e,t)=>Math.abs(e-t);class kI{constructor(e,t,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:a=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=DI(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=PI(e.x,t.x),i=PI(e.y,t.y);return Math.sqrt(n**2+i**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:i}=e,{timestamp:a}=hj;this.history.push({...i,timestamp:a});const{onStart:r,onMove:s}=this.handlers;t||(r&&r(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=TI(t,this.transformPagePoint),pj.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:i,resumeAnimation:a}=this.handlers;if(this.dragSnapToOrigin&&a&&a(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const r=DI("pointercancel"===e.type?this.lastMoveEventInfo:TI(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,r),i&&i(e,r)},!pN(e))return;this.dragSnapToOrigin=a,this.handlers=t,this.transformPagePoint=n,this.contextWindow=i||window;const r=TI(nI(e),this.transformPagePoint),{point:s}=r,{timestamp:l}=hj;this.history=[{...s,timestamp:l}];const{onSessionStart:o}=t;o&&o(e,DI(r,this.history)),this.removeListeners=Rw(iI(this.contextWindow,"pointermove",this.handlePointerMove),iI(this.contextWindow,"pointerup",this.handlePointerUp),iI(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Aj(this.updatePoint)}}function TI(e,t){return t?{point:t(e.point)}:e}function EI(e,t){return{x:e.x-t.x,y:e.y-t.y}}function DI({point:e},t){return{point:e,delta:EI(e,UI(t)),offset:EI(e,LI(t)),velocity:_I(t,.1)}}function LI(e){return e[0]}function UI(e){return e[e.length-1]}function _I(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const a=UI(e);for(;n>=0&&(i=e[n],!(a.timestamp-i.timestamp>Vw(t)));)n--;if(!i)return{x:0,y:0};const r=zw(a.timestamp-i.timestamp);if(0===r)return{x:0,y:0};const s={x:(a.x-i.x)/r,y:(a.y-i.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function OI(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function MI(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}const RI=.35;function QI(e,t,n){return{min:HI(e,t),max:HI(e,n)}}function HI(e,t){return"number"==typeof e?e:e[t]||0}const VI=new WeakMap;class zI{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:i}=this.getProps();this.panSession=new kI(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(nI(e).point)},onStart:(e,t)=>{const{drag:n,dragPropagation:i,onDragStart:a}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(r=n)||"y"===r?lN[r]?null:(lN[r]=!0,()=>{lN[r]=!1}):lN.x||lN.y?null:(lN.x=lN.y=!0,()=>{lN.x=lN.y=!1}),!this.openDragLock))return;var r;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),pI((e=>{let t=this.getAxisMotionValue(e).get()||0;if(_j.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[e];if(i){t=rI(i)*(parseFloat(t)/100)}}}this.originPoint[e]=t})),a&&pj.postRender((()=>a(e,t))),SN(this.visualElement,"transform");const{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:a,onDrag:r}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:s}=t;if(i&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&a&&a(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),r&&r(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>pI((e=>{var t;return"paused"===this.getAnimationState(e)&&(null==(t=this.getAxisMotionValue(e).animation)?void 0:t.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:FI(this.visualElement)})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=t;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&pj.postRender((()=>a(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:i}=this.getProps();if(!n||!qI(e,i,this.currentDirection))return;const a=this.getAxisMotionValue(e);let r=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(r=function(e,{min:t,max:n},i){return void 0!==t&&e<t?e=i?tC(t,e,i.min):Math.max(e,t):void 0!==n&&e>n&&(e=i?tC(n,e,i.max):Math.min(e,n)),e}(r,this.constraints[e],this.elastic[e])),a.set(r)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(e=this.visualElement.projection)?void 0:e.layout,a=this.constraints;t&&BI(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!i)&&function(e,{top:t,left:n,bottom:i,right:a}){return{x:OI(e.x,n,a),y:OI(e.y,t,i)}}(i.layoutBox,t),this.elastic=function(e=RI){return!1===e?e=0:!0===e&&(e=RI),{x:QI(e,"left","right"),y:QI(e,"top","bottom")}}(n),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&pI((e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(i.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!BI(e))return!1;const n=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=function(e,t,n){const i=II(e,n),{scroll:a}=t;return a&&(CI(i.x,a.offset.x),CI(i.y,a.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let r=function(e,t){return{x:MI(e.x,t.x),y:MI(e.y,t.y)}}(i.layout.layoutBox,a);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(r));this.hasMutatedConstraints=!!e,e&&(r=aI(e))}return r}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:i,dragTransition:a,dragSnapToOrigin:r,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},o=pI((s=>{if(!qI(s,t,this.currentDirection))return;let o=l&&l[s]||{};r&&(o={min:0,max:0});const d=i?200:1e6,c=i?40:1e7,u={type:"inertia",velocity:n?e[s]:0,bounceStiffness:d,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...a,...o};return this.startAxisValueAnimation(s,u)}));return Promise.all(o).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return SN(this.visualElement,e),n.start(DN(e,n,0,t,this.visualElement,!1))}stopAnimation(){pI((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){pI((e=>{var t;return null==(t=this.getAxisMotionValue(e).animation)?void 0:t.pause()}))}getAnimationState(e){var t;return null==(t=this.getAxisMotionValue(e).animation)?void 0:t.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps(),i=n[t];return i||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){pI((t=>{const{drag:n}=this.getProps();if(!qI(t,n,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(t);if(i&&i.layout){const{min:n,max:r}=i.layout.layoutBox[t];a.set(e[t]-tC(n,r,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!BI(t)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};pI((e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();i[e]=function(e,t){let n=.5;const i=rI(e),a=rI(t);return a>i?n=Qw(t.min,t.max-i,e.min):i>a&&(n=Qw(e.min,e.max-a,t.min)),Tw(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),pI((t=>{if(!qI(t,e,null))return;const n=this.getAxisMotionValue(t),{min:a,max:r}=this.constraints[t];n.set(tC(a,r,i[t]))}))}addListeners(){if(!this.visualElement.current)return;VI.set(this.visualElement,this);const e=iI(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();BI(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),pj.read(t);const a=tI(window,"resize",(()=>this.scalePositionWithinConstraints())),r=n.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(pI((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{a(),e(),i(),r&&r()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:r=RI,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:i,dragConstraints:a,dragElastic:r,dragMomentum:s}}}function qI(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const WI=e=>(t,n)=>{e&&pj.postRender((()=>e(t,n)))};const YI=a.createContext(null);const KI=a.createContext({}),GI=a.createContext({}),$I={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function XI(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const JI={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Oj.test(e))return e;e=parseFloat(e)}return`${XI(e,t.target.x)}% ${XI(e,t.target.y)}%`}},ZI={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,a=Jj.parse(e);if(a.length>5)return i;const r=Jj.createTransformer(e),s="number"!=typeof a[0]?1:0,l=n.x.scale*t.x,o=n.y.scale*t.y;a[0+s]/=l,a[1+s]/=o;const d=tC(l,o,.5);return"number"==typeof a[2+s]&&(a[2+s]/=d),"number"==typeof a[3+s]&&(a[3+s]/=d),r(a)}},eF={};class tF extends a.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:i}=this.props,{projection:a}=e;!function(e){for(const t in e)eF[t]=e[t],xj(t)&&(eF[t].isCSSVariable=!0)}(iF),a&&(t.group&&t.group.add(a),n&&n.register&&i&&n.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",(()=>{this.safeToRemove()})),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),$I.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:i,isPresent:a}=this.props,{projection:r}=n;return r?(r.isPresent=a,i||e.layoutDependency!==t||void 0===t||e.isPresent!==a?r.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?r.promote():r.relegate()||pj.postRender((()=>{const e=r.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),rN.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function nF(e){const[t,n]=function(e=!0){const t=a.useContext(YI);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:i,register:r}=t,s=a.useId();a.useEffect((()=>{if(e)return r(s)}),[e]);const l=a.useCallback((()=>e&&i&&i(s)),[s,i,e]);return!n&&i?[!1,l]:[!0]}(),i=a.useContext(KI);return Ye.jsx(tF,{...e,layoutGroup:i,switchLayoutGroup:a.useContext(GI),isPresent:t,safeToRemove:n})}const iF={borderRadius:{...JI,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:JI,borderTopRightRadius:JI,borderBottomLeftRadius:JI,borderBottomRightRadius:JI,boxShadow:ZI};const aF=(e,t)=>e.depth-t.depth;class rF{constructor(){this.children=[],this.isDirty=!1}add(e){Pw(this.children,e),this.isDirty=!0}remove(e){kw(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(aF),this.isDirty=!1,this.children.forEach(e)}}function sF(e){return xN(e)?e.get():e}const lF=["TopLeft","TopRight","BottomLeft","BottomRight"],oF=lF.length,dF=e=>"string"==typeof e?parseFloat(e):e,cF=e=>"number"==typeof e||Oj.test(e);function uF(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const pF=hF(0,.5,tj),AF=hF(.5,.95,Ow);function hF(e,t,n){return i=>i<e?0:i>t?1:n(Qw(e,t,i))}function fF(e,t){e.min=t.min,e.max=t.max}function mF(e,t){fF(e.x,t.x),fF(e.y,t.y)}function vF(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function gF(e,t,n,i,a){return e=gI(e-=t,1/n,i),void 0!==a&&(e=gI(e,1/a,i)),e}function yF(e,t,[n,i,a],r,s){!function(e,t=0,n=1,i=.5,a,r=e,s=e){_j.test(t)&&(t=parseFloat(t),t=tC(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let l=tC(r.min,r.max,i);e===r&&(l-=t),e.min=gF(e.min,t,n,l,a),e.max=gF(e.max,t,n,l,a)}(e,t[n],t[i],t[a],t.scale,r,s)}const xF=["x","scaleX","originX"],bF=["y","scaleY","originY"];function wF(e,t,n,i){yF(e.x,t,xF,n?n.x:void 0,i?i.x:void 0),yF(e.y,t,bF,n?n.y:void 0,i?i.y:void 0)}function jF(e){return 0===e.translate&&1===e.scale}function CF(e){return jF(e.x)&&jF(e.y)}function SF(e,t){return e.min===t.min&&e.max===t.max}function NF(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function IF(e,t){return NF(e.x,t.x)&&NF(e.y,t.y)}function FF(e){return rI(e.x)/rI(e.y)}function BF(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class PF{constructor(){this.members=[]}add(e){Pw(this.members,e),e.scheduleRender()}remove(e){if(kw(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let i=t;i>=0;i--){const e=this.members[i];if(!1!==e.isPresent){n=e;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const kF=["","X","Y","Z"],TF={visibility:"hidden"};let EF=0;function DF(e,t,n,i){const{latestValues:a}=t;a[e]&&(n[e]=a[e],t.setStaticValue(e,0),i&&(i[e]=0))}function LF(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=FN(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",pj,!(t||i))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&LF(i)}function UF({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:a}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=EF++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(MF),this.nodes.forEach(WF),this.nodes.forEach(YF),this.nodes.forEach(RF)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rF)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Hw),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;var n;this.isSVG=yN(t)&&!(yN(n=t)&&"svg"===n.tagName),this.instance=t;const{layoutId:i,layout:a,visualElement:r}=this.options;if(r&&!r.current&&r.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(a||i)&&(this.isLayoutDirty=!0),e){let n;const i=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=gj.now(),i=({timestamp:a})=>{const r=a-n;r>=t&&(Aj(i),e(r-t))};return pj.setup(i,!0),()=>Aj(i)}(i,250),$I.hasAnimatedSinceResize&&($I.hasAnimatedSinceResize=!1,this.nodes.forEach(qF))}))}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||a)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const a=this.options.transition||r.getDefaultTransition()||ZF,{onLayoutAnimationStart:s,onLayoutAnimationComplete:l}=r.getProps(),o=!this.targetLayout||!IF(this.targetLayout,i),d=!t&&n;if(this.options.layoutRoot||this.resumeFrom||d||t&&(o||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const t={...MS(a,"layout"),onPlay:s,onComplete:l};(r.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,d)}else t||qF(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Aj(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(KF),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&LF(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let a=0;a<this.path.length;a++){const e=this.path[a];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(HF);this.isUpdating||this.nodes.forEach(VF),this.isUpdating=!1,this.nodes.forEach(zF),this.nodes.forEach(_F),this.nodes.forEach(OF),this.clearAllSnapshots();const e=gj.now();hj.delta=Tw(0,1e3/60,e-hj.timestamp),hj.timestamp=e,hj.isProcessing=!0,fj.update.process(hj),fj.preRender.process(hj),fj.render.process(hj),hj.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,rN.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(QF),this.sharedNodes.forEach(GF)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,pj.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){pj.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||rI(this.snapshot.measuredBox.x)||rI(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++){this.path[n].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){const t=i(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!a)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!CF(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,r=i!==this.prevTransformTemplateValue;e&&this.instance&&(t||fI(this.latestValues)||r)&&(a(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var i;return e&&(n=this.removeTransform(n)),nB((i=n).x),nB(i.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const n=t.measureViewportBox();if(!((null==(e=this.scroll)?void 0:e.wasRoot)||this.path.some(aB))){const{scroll:e}=this.root;e&&(CI(n.x,e.offset.x),CI(n.y,e.offset.y))}return n}removeElementScroll(e){var t;const n={x:{min:0,max:0},y:{min:0,max:0}};if(mF(n,e),null==(t=this.scroll)?void 0:t.wasRoot)return n;for(let i=0;i<this.path.length;i++){const t=this.path[i],{scroll:a,options:r}=t;t!==this.root&&a&&r.layoutScroll&&(a.wasRoot&&mF(n,e),CI(n.x,a.offset.x),CI(n.y,a.offset.y))}return n}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};mF(n,e);for(let i=0;i<this.path.length;i++){const e=this.path[i];!t&&e.options.layoutScroll&&e.scroll&&e!==e.root&&NI(n,{x:-e.scroll.offset.x,y:-e.scroll.offset.y}),fI(e.latestValues)&&NI(n,e.latestValues)}return fI(this.latestValues)&&NI(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};mF(t,e);for(let n=0;n<this.path.length;n++){const e=this.path[n];if(!e.instance)continue;if(!fI(e.latestValues))continue;hI(e.latestValues)&&e.updateSnapshot();const i={x:{min:0,max:0},y:{min:0,max:0}};mF(i,e.measurePageBox()),wF(t,e.latestValues,e.snapshot?e.snapshot.layoutBox:void 0,i)}return fI(this.latestValues)&&wF(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==hj.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const i=Boolean(this.resumingFrom)||this!==n;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:a,layoutId:r}=this.options;if(this.layout&&(a||r)){if(this.resolvedRelativeTargetAt=hj.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},cI(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),mF(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}var s,l,o;if(this.relativeTarget||this.targetDelta)if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,l=this.relativeTarget,o=this.relativeParent.target,oI(s.x,l.x,o.x),oI(s.y,l.y,o.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):mF(this.target,this.layout.layoutBox),bI(this.target,this.targetDelta)):mF(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},cI(this.relativeTargetOrigin,this.target,e.target),mF(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(this.parent&&!hI(this.parent.latestValues)&&!mI(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let i=!0;if((this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===hj.timestamp&&(i=!1),i)return;const{layout:a,layoutId:r}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!a&&!r)return;mF(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,l=this.treeScale.y;!function(e,t,n,i=!1){const a=n.length;if(!a)return;let r,s;t.x=t.y=1;for(let l=0;l<a;l++){r=n[l],s=r.projectionDelta;const{visualElement:a}=r.options;a&&a.props.style&&"contents"===a.props.style.display||(i&&r.options.layoutScroll&&r.scroll&&r!==r.root&&NI(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,bI(e,s)),i&&fI(r.latestValues)&&NI(e,r.latestValues))}t.x<jI&&t.x>wI&&(t.x=1),t.y<jI&&t.y>wI&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:o}=t;o?(this.projectionDelta&&this.prevProjectionDelta?(vF(this.prevProjectionDelta.x,this.projectionDelta.x),vF(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),lI(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===s&&this.treeScale.y===l&&BF(this.projectionDelta.x,this.prevProjectionDelta.x)&&BF(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null==(t=this.options.visualElement)||t.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1){const n=this.snapshot,i=n?n.latestValues:{},a={...this.latestValues},r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),o=this.getStack(),d=!o||o.members.length<=1,c=Boolean(l&&!d&&!0===this.options.crossfade&&!this.path.some(JF));let u;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var o,p,A,h,f,m;$F(r.x,e.x,n),$F(r.y,e.y,n),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(cI(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),A=this.relativeTarget,h=this.relativeTargetOrigin,f=s,m=n,XF(A.x,h.x,f.x,m),XF(A.y,h.y,f.y,m),u&&(o=this.relativeTarget,p=u,SF(o.x,p.x)&&SF(o.y,p.y))&&(this.isProjectionDirty=!1),u||(u={x:{min:0,max:0},y:{min:0,max:0}}),mF(u,this.relativeTarget)),l&&(this.animationValues=a,function(e,t,n,i,a,r){a?(e.opacity=tC(0,n.opacity??1,pF(i)),e.opacityExit=tC(t.opacity??1,0,AF(i))):r&&(e.opacity=tC(t.opacity??1,n.opacity??1,i));for(let s=0;s<oF;s++){const a=`border${lF[s]}Radius`;let r=uF(t,a),l=uF(n,a);void 0===r&&void 0===l||(r||(r=0),l||(l=0),0===r||0===l||cF(r)===cF(l)?(e[a]=Math.max(tC(dF(r),dF(l),i),0),(_j.test(l)||_j.test(r))&&(e[a]+="%")):e[a]=l)}(t.rotate||n.rotate)&&(e.rotate=tC(t.rotate||0,n.rotate||0,i))}(a,i,this.latestValues,n,c,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){var t,n,i;this.notifyListeners("animationStart"),null==(t=this.currentAnimation)||t.stop(),null==(i=null==(n=this.resumingFrom)?void 0:n.currentAnimation)||i.stop(),this.pendingAnimation&&(Aj(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=pj.update((()=>{$I.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=aN(0)),this.currentAnimation=function(e,t,n){const i=xN(e)?e:aN(e);return i.start(DN("",i,t,n)),i.animation}(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:i,latestValues:a}=e;if(t&&n&&i){if(this!==e&&this.layout&&i&&iB(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=rI(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const i=rI(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+i}mF(t,n),NI(t,a),lI(this.projectionDeltaWithTransform,this.layoutCorrected,t,a)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new PF);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null==(e=this.getStack())?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null==(e=this.getStack())?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const i={};n.z&&DF("z",e,i,this.animationValues);for(let a=0;a<kF.length;a++)DF(`rotate${kF[a]}`,e,i,this.animationValues),DF(`skew${kF[a]}`,e,i,this.animationValues);e.render();for(const a in i)e.setStaticValue(a,i[a]),this.animationValues&&(this.animationValues[a]=i[a]);e.scheduleRender()}getProjectionStyles(e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return TF;const t={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.opacity="",t.pointerEvents=sF(null==e?void 0:e.pointerEvents)||"",t.transform=n?n(this.latestValues,""):"none",t;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=sF(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!fI(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1),t}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),t.transform=function(e,t,n){let i="";const a=e.x.translate/t.x,r=e.y.translate/t.y,s=(null==n?void 0:n.z)||0;if((a||r||s)&&(i=`translate3d(${a}px, ${r}px, ${s}px) `),1===t.x&&1===t.y||(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:a,rotateY:r,skewX:s,skewY:l}=n;e&&(i=`perspective(${e}px) ${i}`),t&&(i+=`rotate(${t}deg) `),a&&(i+=`rotateX(${a}deg) `),r&&(i+=`rotateY(${r}deg) `),s&&(i+=`skewX(${s}deg) `),l&&(i+=`skewY(${l}deg) `)}const l=e.x.scale*t.x,o=e.y.scale*t.y;return 1===l&&1===o||(i+=`scale(${l}, ${o})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,a),n&&(t.transform=n(a,t.transform));const{x:r,y:s}=this.projectionDelta;t.transformOrigin=`${100*r.origin}% ${100*s.origin}% 0`,i.animationValues?t.opacity=i===this?a.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:t.opacity=i===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const l in eF){if(void 0===a[l])continue;const{correct:e,applyTo:n,isCSSVariable:r}=eF[l],s="none"===t.transform?a[l]:e(a[l],i);if(n){const e=n.length;for(let i=0;i<e;i++)t[n[i]]=s}else r?this.options.visualElement.renderState.vars[l]=s:t[l]=s}return this.options.layoutId&&(t.pointerEvents=i===this?sF(null==e?void 0:e.pointerEvents)||"":"none"),t}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((e=>{var t;return null==(t=e.currentAnimation)?void 0:t.stop()})),this.root.nodes.forEach(HF),this.root.sharedNodes.clear()}}}function _F(e){e.updateLayout()}function OF(e){var t;const n=(null==(t=e.resumeFrom)?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:i}=e.layout,{animationType:a}=e.options,r=n.source!==e.layout.source;"size"===a?pI((e=>{const i=r?n.measuredBox[e]:n.layoutBox[e],a=rI(i);i.min=t[e].min,i.max=i.min+a})):iB(a,n.layoutBox,t)&&pI((i=>{const a=r?n.measuredBox[i]:n.layoutBox[i],s=rI(t[i]);a.max=a.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+s)}));const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};lI(s,t,n.layoutBox);const l={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};r?lI(l,e.applyTransform(i,!0),n.measuredBox):lI(l,t,n.layoutBox);const o=!CF(s);let d=!1;if(!e.resumeFrom){const i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:a,layout:r}=i;if(a&&r){const s={x:{min:0,max:0},y:{min:0,max:0}};cI(s,n.layoutBox,a.layoutBox);const l={x:{min:0,max:0},y:{min:0,max:0}};cI(l,t,r.layoutBox),IF(s,l)||(d=!0),i.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=s,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:l,layoutDelta:s,hasLayoutChanged:o,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function MF(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function RF(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function QF(e){e.clearSnapshot()}function HF(e){e.clearMeasurements()}function VF(e){e.isLayoutDirty=!1}function zF(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function qF(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function WF(e){e.resolveTargetDelta()}function YF(e){e.calcProjection()}function KF(e){e.resetSkewAndRotation()}function GF(e){e.removeLeadSnapshot()}function $F(e,t,n){e.translate=tC(t.translate,0,n),e.scale=tC(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function XF(e,t,n,i){e.min=tC(t.min,n.min,i),e.max=tC(t.max,n.max,i)}function JF(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const ZF={duration:.45,ease:[.4,0,.1,1]},eB=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),tB=eB("applewebkit/")&&!eB("chrome/")?Math.round:Ow;function nB(e){e.min=tB(e.min),e.max=tB(e.max)}function iB(e,t,n){return"position"===e||"preserve-aspect"===e&&(i=FF(t),a=FF(n),r=.2,!(Math.abs(i-a)<=r));var i,a,r}function aB(e){var t;return e!==e.root&&(null==(t=e.scroll)?void 0:t.wasRoot)}const rB=UF({attachResizeListener:(e,t)=>tI(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),sB={current:void 0},lB=UF({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!sB.current){const e=new rB({});e.mount(window),e.setOptions({layoutScroll:!0}),sB.current=e}return sB.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),oB={pan:{Feature:class extends JN{constructor(){super(...arguments),this.removePointerDownListener=Ow}onPointerDown(e){this.session=new kI(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:FI(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:WI(e),onStart:WI(t),onMove:n,onEnd:(e,t)=>{delete this.session,i&&pj.postRender((()=>i(e,t)))}}}mount(){this.removePointerDownListener=iI(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends JN{constructor(e){super(e),this.removeGroupControls=Ow,this.removeListeners=Ow,this.controls=new zI(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ow}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:lB,MeasureLayout:nF}};function dB(e,t,n){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover","Start"===n);const a=i["onHover"+n];a&&pj.postRender((()=>a(t,nI(t))))}function cB(e,t,n){const{props:i}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap","Start"===n);const a=i["onTap"+("End"===n?"":n)];a&&pj.postRender((()=>a(t,nI(t))))}const uB=new WeakMap,pB=new WeakMap,AB=e=>{const t=uB.get(e.target);t&&t(e)},hB=e=>{e.forEach(AB)};function fB(e,t,n){const i=function({root:e,...t}){const n=e||document;pB.has(n)||pB.set(n,{});const i=pB.get(n),a=JSON.stringify(t);return i[a]||(i[a]=new IntersectionObserver(hB,{root:e,...t})),i[a]}(t);return uB.set(e,n),i.observe(e),()=>{uB.delete(e),i.unobserve(e)}}const mB={some:0,all:1};const vB={inView:{Feature:class extends JN{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:i="some",once:a}=e,r={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:mB[i]};return fB(this.node.current,r,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,a&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),r=t?n:i;r&&r(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends JN{mount(){const{current:e}=this.node;e&&(this.unmount=gN(e,((e,t)=>(cB(this.node,t,"Start"),(e,{success:t})=>cB(this.node,e,t?"End":"Cancel"))),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends JN{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(Ou){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Rw(tI(this.node.current,"focus",(()=>this.onFocus())),tI(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends JN{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){const[i,a,r]=dN(e,n),s=e=>{if(!cN(e))return;const{target:n}=e,i=t(n,e);if("function"!=typeof i||!n)return;const r=e=>{cN(e)&&(i(e),n.removeEventListener("pointerleave",r))};n.addEventListener("pointerleave",r,a)};return i.forEach((e=>{e.addEventListener("pointerenter",s,a)})),r}(e,((e,t)=>(dB(this.node,t,"Start"),e=>dB(this.node,e,"End")))))}unmount(){}}}},gB={layout:{ProjectionNode:lB,MeasureLayout:nF}},yB=a.createContext({strict:!1}),xB=a.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),bB=a.createContext({});function wB(e){return Nw(e.animate)||VN.some((t=>QN(e[t])))}function jB(e){return Boolean(wB(e)||e.variants)}function CB(e){const{initial:t,animate:n}=function(e,t){if(wB(e)){const{initial:t,animate:n}=e;return{initial:!1===t||QN(t)?t:void 0,animate:QN(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,a.useContext(bB));return a.useMemo((()=>({initial:t,animate:n})),[SB(t),SB(n)])}function SB(e){return Array.isArray(e)?e.join(" "):e}const NB="undefined"!=typeof window,IB={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},FB={};for(const Wfe in IB)FB[Wfe]={isEnabled:e=>IB[Wfe].some((t=>!!e[t]))};const BB=Symbol.for("motionComponentSymbol");function PB(e,t,n){return a.useCallback((i=>{i&&e.onMount&&e.onMount(i),t&&(i?t.mount(i):t.unmount()),n&&("function"==typeof n?n(i):BI(n)&&(n.current=i))}),[t])}const kB=NB?a.useLayoutEffect:a.useEffect;function TB(e,t,n,i,r){var s,l;const{visualElement:o}=a.useContext(bB),d=a.useContext(yB),c=a.useContext(YI),u=a.useContext(xB).reducedMotion,p=a.useRef(null);i=i||d.renderer,!p.current&&i&&(p.current=i(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:u}));const A=p.current,h=a.useContext(GI);!A||A.projection||!r||"html"!==A.type&&"svg"!==A.type||function(e,t,n,i){const{layoutId:a,layout:r,drag:s,dragConstraints:l,layoutScroll:o,layoutRoot:d,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:EB(e.parent)),e.projection.setOptions({layoutId:a,layout:r,alwaysMeasureLayout:Boolean(s)||l&&BI(l),visualElement:e,animationType:"string"==typeof r?r:"both",initialPromotionConfig:i,crossfade:c,layoutScroll:o,layoutRoot:d})}(p.current,n,r,h);const f=a.useRef(!1);a.useInsertionEffect((()=>{A&&f.current&&A.update(n,c)}));const m=n[IN],v=a.useRef(Boolean(m)&&!(null==(s=window.MotionHandoffIsComplete)?void 0:s.call(window,m))&&(null==(l=window.MotionHasOptimisedAnimation)?void 0:l.call(window,m)));return kB((()=>{A&&(f.current=!0,window.MotionIsMounted=!0,A.updateFeatures(),rN.render(A.render),v.current&&A.animationState&&A.animationState.animateChanges())})),a.useEffect((()=>{A&&(!v.current&&A.animationState&&A.animationState.animateChanges(),v.current&&(queueMicrotask((()=>{var e;null==(e=window.MotionHandoffMarkAsComplete)||e.call(window,m)})),v.current=!1))})),A}function EB(e){if(e)return!1!==e.options.allowProjection?e.projection:EB(e.parent)}function DB({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:r}){function s(e,s){let l;const o={...a.useContext(xB),...e,layoutId:LB(e)},{isStatic:d}=o,c=CB(e),u=i(e,d);if(!d&&NB){a.useContext(yB).strict;const e=function(e){const{drag:t,layout:n}=FB;if(!t&&!n)return{};const i={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(o);l=e.MeasureLayout,c.visualElement=TB(r,u,o,t,e.ProjectionNode)}return Ye.jsxs(bB.Provider,{value:c,children:[l&&c.visualElement?Ye.jsx(l,{visualElement:c.visualElement,...o}):null,n(r,e,PB(u,c.visualElement,s),u,d,c.visualElement)]})}e&&function(e){for(const t in e)FB[t]={...FB[t],...e[t]}}(e),s.displayName=`motion.${"string"==typeof r?r:`create(${r.displayName??r.name??""})`}`;const l=a.forwardRef(s);return l[BB]=r,l}function LB({layoutId:e}){const t=a.useContext(KI).id;return t&&void 0!==e?t+"-"+e:e}function UB(e,{layout:t,layoutId:n}){return lS.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!eF[e]||"opacity"===e)}const _B={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},OB=sS.length;function MB(e,t,n){const{style:i,vars:a,transformOrigin:r}=e;let s=!1,l=!1;for(const o in t){const e=t[o];if(lS.has(o))s=!0;else if(xj(o))a[o]=e;else{const t=nN(e,GS[o]);o.startsWith("origin")?(l=!0,r[o]=t):i[o]=t}}if(t.transform||(s||n?i.transform=function(e,t,n){let i="",a=!0;for(let r=0;r<OB;r++){const s=sS[r],l=e[s];if(void 0===l)continue;let o=!0;if(o="number"==typeof l?l===(s.startsWith("scale")?1:0):0===parseFloat(l),!o||n){const e=nN(l,GS[s]);o||(a=!1,i+=`${_B[s]||s}(${e}) `),n&&(t[s]=e)}}return i=i.trim(),n?i=n(t,a?"":i):a&&(i="none"),i}(t,e.transform,n):i.transform&&(i.transform="none")),l){const{originX:e="50%",originY:t="50%",originZ:n=0}=r;i.transformOrigin=`${e} ${t} ${n}`}}const RB=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function QB(e,t,n){for(const i in t)xN(t[i])||UB(i,n)||(e[i]=t[i])}function HB(e,t){const n={};return QB(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return a.useMemo((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return MB(n,t,e),Object.assign({},n.vars,n.style)}),[t])}(e,t)),n}function VB(e,t){const n={},i=HB(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}const zB={offset:"stroke-dashoffset",array:"stroke-dasharray"},qB={offset:"strokeDashoffset",array:"strokeDasharray"};function WB(e,{attrX:t,attrY:n,attrScale:i,pathLength:a,pathSpacing:r=1,pathOffset:s=0,...l},o,d,c){if(MB(e,l,d),o)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:u,style:p}=e;u.transform&&(p.transform=u.transform,delete u.transform),(p.transform||u.transformOrigin)&&(p.transformOrigin=u.transformOrigin??"50% 50%",delete u.transformOrigin),p.transform&&(p.transformBox=(null==c?void 0:c.transformBox)??"fill-box",delete u.transformBox),void 0!==t&&(u.x=t),void 0!==n&&(u.y=n),void 0!==i&&(u.scale=i),void 0!==a&&function(e,t,n=1,i=0,a=!0){e.pathLength=1;const r=a?zB:qB;e[r.offset]=Oj.transform(-i);const s=Oj.transform(t),l=Oj.transform(n);e[r.array]=`${s} ${l}`}(u,a,r,s,!1)}const YB=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),KB=e=>"string"==typeof e&&"svg"===e.toLowerCase();function GB(e,t,n,i){const r=a.useMemo((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return WB(n,t,KB(i),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}}),[t]);if(e.style){const t={};QB(t,e.style,e),r.style={...t,...r.style}}return r}const $B=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function XB(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||$B.has(e)}let JB=e=>!XB(e);try{(ZB=require("@emotion/is-prop-valid").default)&&(JB=e=>e.startsWith("on")?!XB(e):ZB(e))}catch{}var ZB;const eP=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function tP(e){return"string"==typeof e&&!e.includes("-")&&!!(eP.indexOf(e)>-1||/[A-Z]/u.test(e))}function nP(e=!1){return(t,n,i,{latestValues:r},s)=>{const l=(tP(t)?GB:VB)(n,r,s,t),o=function(e,t,n){const i={};for(const a in e)"values"===a&&"object"==typeof e.values||(JB(a)||!0===n&&XB(a)||!t&&!XB(a)||e.draggable&&a.startsWith("onDrag"))&&(i[a]=e[a]);return i}(n,"string"==typeof t,e),d=t!==a.Fragment?{...o,...l,ref:i}:{},{children:c}=n,u=a.useMemo((()=>xN(c)?c.get():c),[c]);return a.createElement(t,{...d,children:u})}}function iP(e){const t=a.useRef(null);return null===t.current&&(t.current=e()),t.current}const aP=e=>(t,n)=>{const i=a.useContext(bB),r=a.useContext(YI),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t},n,i,a){return{latestValues:rP(n,i,a,e),renderState:t()}}(e,t,i,r);return n?s():iP(s)};function rP(e,t,n,i){const a={},r=i(e,{});for(const p in r)a[p]=sF(r[p]);let{initial:s,animate:l}=e;const o=wB(e),d=jB(e);t&&d&&!o&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===l&&(l=t.animate));let c=!!n&&!1===n.initial;c=c||!1===s;const u=c?l:s;if(u&&"boolean"!=typeof u&&!Nw(u)){const t=Array.isArray(u)?u:[u];for(let n=0;n<t.length;n++){const i=Fw(e,t[n]);if(i){const{transitionEnd:e,transition:t,...n}=i;for(const i in n){let e=n[i];if(Array.isArray(e)){e=e[c?e.length-1:0]}null!==e&&(a[i]=e)}for(const i in e)a[i]=e[i]}}}return a}function sP(e,t,n){var i;const{style:a}=e,r={};for(const s in a)(xN(a[s])||t.style&&xN(t.style[s])||UB(s,e)||void 0!==(null==(i=null==n?void 0:n.getValue(s))?void 0:i.liveStyle))&&(r[s]=a[s]);return r}const lP={useVisualState:aP({scrapeMotionValuesFromProps:sP,createRenderState:RB})};function oP(e,t,n){const i=sP(e,t,n);for(const a in e)if(xN(e[a])||xN(t[a])){i[-1!==sS.indexOf(a)?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a]=e[a]}return i}const dP={useVisualState:aP({scrapeMotionValuesFromProps:oP,createRenderState:YB})};function cP(e,t){return function(n,{forwardMotionProps:i}={forwardMotionProps:!1}){return DB({...tP(n)?dP:lP,preloadedFeatures:e,useRender:nP(i),createVisualElement:t,Component:n})}}const uP={current:null},pP={current:!1};const AP=new WeakMap;const hP=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class fP{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:a,visualState:r},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=gS,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=gj.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,pj.render(this.render,!1,!0))};const{latestValues:l,renderState:o}=r;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=o,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.blockInitialAnimation=Boolean(a),this.isControllingVariants=wB(t),this.isVariantNode=jB(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:d,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(const u in c){const e=c[u];void 0!==l[u]&&xN(e)&&e.set(l[u],!1)}}mount(e){this.current=e,AP.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),pP.current||function(){if(pP.current=!0,NB)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>uP.current=e.matches;e.addListener(t),t()}else uP.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||uP.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Aj(this.notifyUpdate),Aj(this.render),this.valueSubscriptions.forEach((e=>e())),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=lS.has(e);n&&this.onBindTransform&&this.onBindTransform();const i=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&pj.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)})),a=t.on("renderRequest",this.scheduleRender);let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,(()=>{i(),a(),r&&r(),t.owner&&t.stop()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in FB){const t=FB[e];if(!t)continue;const{isEnabled:n,Feature:i}=t;if(!this.features[e]&&i&&n(this.props)&&(this.features[e]=new i(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let n=0;n<hP.length;n++){const t=hP[n];this.propEventSubscriptions[t]&&(this.propEventSubscriptions[t](),delete this.propEventSubscriptions[t]);const i=e["on"+t];i&&(this.propEventSubscriptions[t]=this.on(t,i))}this.prevMotionValues=function(e,t,n){for(const i in t){const a=t[i],r=n[i];if(xN(a))e.addValue(i,a);else if(xN(r))e.addValue(i,aN(a,{owner:e}));else if(r!==a)if(e.hasValue(i)){const t=e.getValue(i);!0===t.liveStyle?t.jump(a):t.hasAnimated||t.set(a)}else{const t=e.getStaticValue(i);e.addValue(i,aN(void 0!==t?t:a,{owner:e}))}}for(const i in n)void 0===t[i]&&e.removeValue(i);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=aN(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var i;return null!=n&&("string"==typeof n&&(Dw(n)||Uw(n))?n=parseFloat(n):(i=n,!bN.find(QS(i))&&Jj.test(t)&&(n=JS(e,t))),this.setBaseTarget(e,xN(n)?n.get():n)),xN(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props;let i;if("string"==typeof n||"object"==typeof n){const a=Fw(this.props,n,null==(t=this.presenceContext)?void 0:t.custom);a&&(i=a[e])}if(n&&void 0!==i)return i;const a=this.getBaseTargetFromProps(this.props,e);return void 0===a||xN(a)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:a}on(e,t){return this.events[e]||(this.events[e]=new Hw),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class mP extends fP{constructor(){super(...arguments),this.KeyframeResolver=eN}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;xN(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}}function vP(e,{style:t,vars:n},i,a){Object.assign(e.style,t,a&&a.getProjectionStyles(i));for(const r in n)e.style.setProperty(r,n[r])}class gP extends mP{constructor(){super(...arguments),this.type="html",this.renderInstance=vP}readValueFromInstance(e,t){var n,i;if(lS.has(t))return(null==(n=this.projection)?void 0:n.isProjecting)?iS(t):((e,t)=>{const{transform:n="none"}=getComputedStyle(e);return aS(n,t)})(e,t);{const n=(i=e,window.getComputedStyle(i)),a=(xj(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof a?a.trim():a}}measureInstanceViewportBox(e,{transformPagePoint:t}){return II(e,t)}build(e,t,n){MB(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return sP(e,t,n)}}const yP=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);class xP extends mP{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=uI}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(lS.has(t)){const e=XS(t);return e&&e.default||0}return t=yP.has(t)?t:NN(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return oP(e,t,n)}build(e,t,n){WB(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,i){!function(e,t,n,i){vP(e,t,void 0,i);for(const a in t.attrs)e.setAttribute(yP.has(a)?a:NN(a),t.attrs[a])}(e,t,0,i)}mount(e){this.isSVGTag=KB(e.tagName),super.mount(e)}}const bP=cP({...eI,...vB,...oB,...gB},((e,t)=>tP(e)?new xP(t):new gP(t,{allowProjection:e!==a.Fragment})));S.extend(N),S.extend(Cw);const wP="/home/",jP=({formType:e})=>{var t,n,i,r,s;const l=Qt(),o=um(),d=Mt(),c=a.useRef(null),u=null==d?void 0:d.state,p=null==u?void 0:u.editstate,{RangePicker:A}=T,[h,f]=a.useState([null,null]),m=Tf(ky),v=Tf(wb),g=Tf(Py),y=iA("UserType"),x=iA("UserId"),b=Tf(Gg),[w,j]=a.useState(null),[C,N]=a.useState(null),[B,E]=a.useState([]),[D,L]=a.useState(!0),[U,_]=a.useState(!1),[O,M]=a.useState(null),[R,Q]=a.useState(null),[H,V]=a.useState(),[z,q]=a.useState(),[W,Y]=a.useState(null),[K,G]=a.useState(null),[$,X]=a.useState(null),[J,Z]=a.useState(null),[ee,te]=a.useState("N"),[ne,ie]=a.useState(null),[ae,re]=a.useState(null),[se,le]=a.useState(!1),[oe,de]=a.useState(!1),[ce,ue]=a.useState(""),[pe,Ae]=a.useState(!1),he=Tf(Ty),fe=null==(t=null==he?void 0:he.find((e=>(null==e?void 0:e.AppId)===W)))?void 0:t.PreferenceDetails,me=null==(n=null==fe?void 0:fe.find((e=>"License Type"===(null==e?void 0:e.PreferredCatName))))?void 0:n.PreferenceCatDetails,ve=null==me?void 0:me.find((e=>"Y"===(null==e?void 0:e.PreferredStatus))),ge=null==ve?void 0:ve.PreferredSubCatName,ye=[{name:"Financial Year"},{name:"Calender Year"},{name:"Date"}],xe=[{name:"Home",link:`${wP}landing-page/home`},{name:"Branch",link:`${wP}setting/branch-master/`},{name:p?"Edit":"New",link:null}];a.useEffect((()=>{be()}),[W]),a.useEffect((()=>{if("Financial Year"!==ce||p){if("Calender Year"===ce&&!p){const e=ke("DD-MM-YYYY");let[t,n]=e.split(" - ");ie(S(t,"DD-MM-YYYY").format("YYYY-MM-DD")),re(S(n,"DD-MM-YYYY").format("YYYY-MM-DD"))}}else{const e=Pe("DD-MM-YYYY");let[t,n]=e.split(" - ");ie(S(t,"DD-MM-YYYY").format("YYYY-MM-DD")),re(S(n,"DD-MM-YYYY").format("YYYY-MM-DD"))}}),[ce,p]),a.useEffect((()=>{var e,t,n,i,a,r,s,l,d;if(o(Gh({items:xe})),o(hb()).unwrap(),"Admin"===y?o(vy(x)).unwrap():"Super Admin"===y&&o(vy()).unwrap(),p){p.Latitude=p.Latitude?p.Latitude:null,p.Longitude=p.Longitude?p.Longitude:null,L(!1),Te(null==p?void 0:p.FYType),null==(e=c.current)||e.setFieldsValue({FinancialYear:null==p?void 0:p.FYType}),null==(t=c.current)||t.setFieldsValue({FYStatus:"Y"==(null==p?void 0:p.FYStatus)?null==p?void 0:p.FYStatus:null}),null==(n=c.current)||n.setFieldsValue({FYStartsFrom:null==p?void 0:p.FYStartsFrom}),null==(i=c.current)||i.setFieldsValue({FYEnds:null==p?void 0:p.FYEnds}),null==(a=c.current)||a.setFieldsValue({Latitude:p.Latitude}),null==(r=c.current)||r.setFieldsValue({Longitude:p.Longitude}),null==(s=c.current)||s.setFieldsValue({DateFormat:[S(Ee(null==p?void 0:p.FYStartsFrom),"YYYY-MM-DD"),S(Ee(null==p?void 0:p.FYEnds),"YYYY-MM-DD")]}),V(p.WorkingFrom),q(p.WorkingTo),null==(l=c.current)||l.setFieldsValue({WorkingFrom:p.WorkingFrom,WorkingTo:p.WorkingTo,CompId:p.CompId}),M(null==p?void 0:p.CompId),(null==p?void 0:p.Zip)&&_(!0),Q(null==p?void 0:p.UserId),te("Y"==(null==p?void 0:p.FYStatus)),null==(d=c.current)||d.setFieldsValue({CalenderFormat:(null==p?void 0:p.FYType)?null==p?void 0:p.FYType:null});let u=(null==p?void 0:p.FYStartsFrom)?S(null==p?void 0:p.FYStartsFrom):null,A=(null==p?void 0:p.FYEnds)?S(null==p?void 0:p.FYEnds):null;f([u,A]),o(gy(null==p?void 0:p.AppId)).unwrap(),o(yy({UserId:null==p?void 0:p.UserId,AppId:null==p?void 0:p.AppId})).unwrap()}}),[]),a.useEffect((()=>{var e,t;if(R){const n=null==g?void 0:g.filter((e=>e.UserId===R)),i=Array.from(null==n?void 0:n.reduce(((e,t)=>{if("Active"===t.Status){const n=`${t.AppId}-${t.AppName}`;e.has(n)||e.set(n,t)}return e}),new Map).values());if(E(i),1===(null==i?void 0:i.length)){const t=i[0].AppId;Y(t),le(!0),de(!1),null==(e=c.current)||e.setFieldsValue({AppId:t}),o(yy({UserId:R,AppId:t})).unwrap()}else E(i),p&&(Y(null==p?void 0:p.AppId),de(!1),null==(t=c.current)||t.setFieldsValue({AppId:null==p?void 0:p.AppId}),o(yy({UserId:R,AppId:null==p?void 0:p.AppId})).unwrap())}else E([])}),[R,g]),a.useEffect((()=>{var e;if(W){const t=m.filter((e=>e.AppId===W));if(1===t.length){const e=t[0].CompId;M(e),de(!0),we(e)}else M(null),null==(e=c.current)||e.resetFields(["CompId"])}}),[W,m]),a.useEffect((()=>{var e,t;if("Admin"===y){if(1===g.length){const n=null==(e=g[0])?void 0:e.AppId;Y(n),le(!0),de(!1),o(yy({UserId:x,AppId:n})).unwrap(),null==(t=c.current)||t.setFieldsValue({AppId:n})}}else o(hb()).unwrap()}),[y,g,x]);const be=async()=>{o(Ny({SelectedApplication:W}))},we=async e=>{var t,n,i,a,r,s,d,u,A,h,f=[];if(1!=(null==(t=(f="Admin"===y?await o(xy({UserId:x,AppId:W,CompId:e})).unwrap():await o(xy({UserId:R,AppId:W,CompId:e})).unwrap()).data)?void 0:t.statusCode)||p)f=[],await M(e);else{const t=null==(n=f.data)?void 0:n.data[0],p=null==(a=null==(i=f.data)?void 0:i.data)?void 0:a.length;if(t)if("FREE"!=t.PricingName.toUpperCase()&&0==t.BranchCount)await M(e),null==(r=c.current)||r.setFieldsValue({CompId:e}),L(!1);else if("FREE"==t.PricingName.toUpperCase()&&t.BranchCount>=1)p>1?L(!0):(L(!0),o(Iy({id:e})),setTimeout((function(){l(`${wP}setting/branch-master/`,{state:{Notiffy:{messageType:"error",messageData:"Your Trial Period is Expired Please Choose Extend Pack To Add Branch "}}},700)})));else if("FREE"!=t.PricingName.toUpperCase()){let n=null==(s=null==t?void 0:t.FeatureDetails)?void 0:s.filter((e=>"Branch"===e.FeatName?e.FeatConstraint:0));(n.length>0?null==(d=n[0])?void 0:d.FeatConstraint:0)>t.BranchCount?(L(!1),await M(e),null==(u=c.current)||u.setFieldsValue({CompId:e})):(L(!0),o(Iy({id:e})),setTimeout((function(){l(`${wP}setting/branch-master/`,{state:{Notiffy:{messageType:"error",messageData:"Your Feature Constraint is Completed! "}}},700)})))}else await M(e),null==(A=c.current)||A.setFieldsValue({CompId:e}),L(!1);else await M(e),null==(h=c.current)||h.setFieldsValue({CompId:e}),L(!1)}},je=a.useCallback((()=>{N(null),j(null)}),[]);function Ce(e){return(null==e?void 0:e.includes("T"))?null==e?void 0:e.split("T")[0]:e}const Ne=async e=>{var t,n;if((null==(t=null==e?void 0:e.target)?void 0:t.value.length)<6)return _(!1),!1;await(async e=>{var t;let n="";await fetch(`https://api.postalpincode.in/pincode/${e}`).then((e=>e.text())).then((e=>n=JSON.parse(e))),"Success"===n[0].Status?(_(!0),null==(t=c.current)||t.setFieldsValue({City:n[0].PostOffice[0].Block,Dist:n[0].PostOffice[0].District,State:n[0].PostOffice[0].State})):_(!1)})(null==(n=null==e?void 0:e.target)?void 0:n.value)},Ie=e=>{Ae(e)},Fe=async e=>{var t,n,i,a,r;null==(t=c.current)||t.setFieldsValue({AppId:e}),await Y(e),le(!1),de(!1);var s=[];if(1==(null==(n=(s="Admin"===y?await o(xy({UserId:x,AppId:e,CompId:e})).unwrap():await o(xy({UserId:R,AppId:e,CompId:e})).unwrap()).data)?void 0:n.statusCode)){const t=null==(i=s.data)?void 0:i.data[0],n=null==(r=null==(a=s.data)?void 0:a.data)?void 0:r.length;t&&("FREE"!=t.PricingName.toUpperCase()&&0==t.BranchCount||"FREE"==t.PricingName.toUpperCase()&&t.BranchCount>=1&&(n>1?L(!0):(L(!1),o(Iy({id:e})),setTimeout((function(){l(`${wP}setting/branch-master/`,{state:{Notiffy:{messageType:"error",messageData:"Your Trial Period is Expired Please Choose Extend Pack To Add Branch "}}},700)})))))}else Trial=[];"Admin"==y?o(yy({UserId:x,AppId:e})).unwrap():o(yy({UserId:R,AppId:e})).unwrap()};const Be=(e,t)=>{var n,i;f(e);const[a,r]=t,s=a?S(a,"MMM-DD").format("YYYY-MM-DD"):null,l=r?S(r,"MMM-DD").format("YYYY-MM-DD"):null;ie(s),re(l),s&&l?null==(n=c.current)||n.setFieldsValue({DateFormat:[S(s),S(l)]}):null==(i=c.current)||i.setFieldsValue({DateFormat:[]})},Pe=(e="DD-MM-YYYY")=>{const t=S(),n=t.year();let i,a;return t.month()+1>=4?(i=S(`${n}-04-01`),a=S(`${n+1}-03-31`)):(i=S(n-1+"-04-01"),a=S(`${n}-03-31`)),`${i.format(e)} - ${a.format(e)}`},ke=(e="DD-MM-YYYY")=>{const t=S().year(),n=S(`${t}-01-01`),i=S(`${t}-12-31`);return`${n.format(e)} - ${i.format(e)}`},Te=async e=>{var t;ue(e),te(!0),null==(t=c.current)||t.setFieldsValue({CalenderFormat:e})},Ee=e=>null==e?void 0:e.split("T")[0];return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:w,messageData:C,onComplete:je}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Branch"})}),Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{ref:c,className:"formDivAnt branchformDivS",onFinish:async t=>{var n,i,a;if(!U)return j("error"),void N("Invalid ZipCode");let r=t;r.UserId=t.UserId||iA("UserId"),r.AppId=t.AppId,r.WorkingFrom=H?H.format("HH:mm:ss"):null,r.WorkingTo=z?z.format("HH:mm:ss"):null,r.FYStatus=ee?ee?"Y":"N":null==p?void 0:p.FYStatus,r.FYStartsFrom=Ce(ne||(null==p?void 0:p.FYStartsFrom)),r.FYEnds=Ce(ae||(null==p?void 0:p.FYEnds)),r.FYType=ce||(null==t?void 0:t.FYType),r.CreatedBy=iA("UserId");let s={};if("add"===e)try{s=await o(dy(r)).unwrap()}catch(d){}else if("edit"===e){r.BrId=null==p?void 0:p.BrId,r.AddId=null==p?void 0:p.AddId,r.UpdatedBy=iA("UserId");try{s=await o(cy(r)).unwrap()}catch(d){}}1==(null==(n=null==s?void 0:s.data)?void 0:n.statusCode)?l(`${wP}setting/branch-master/`,{state:{Notiffy:{messageType:"success",messageData:null==(i=null==s?void 0:s.data)?void 0:i.response}}}):(j("error"),N(null==(a=null==s?void 0:s.data)?void 0:a.response))},initialValues:p,children:[Ye.jsxs("div",{className:"formDivS branchformDivAnt",children:[Ye.jsxs("div",{className:"inputForm branchForms",children:["Super Admin"===y||"Super Admin User"===y?Ye.jsx(I.Item,{name:"UserId",rules:[{required:!0,message:"Please Select Admin"}],children:Ye.jsx(_y,{options:null==v?void 0:v.map((e=>({value:e.UserId,label:""!=e.UserName&&null!=e.UserName&&null!=e.UserName?null==e?void 0:e.UserName:e.MobileNo}))),placeholder:"UserId",label:"Admin",className:"field-DropDown",isOnchanges:!("edit"!=e&&!R),onChangeFunction:async e=>{var t,n;null==(t=c.current)||t.setFieldsValue({UserId:e}),o(Iy({id:e})),Y(null),M(null),le(!1),de(!1),null==(n=c.current)||n.resetFields(["AppId"]),await Q(e)},valueData:R,disabled:"edit"==e})}):null,"Super Admin"===y||"Super Admin User"===y?Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application"}],children:Ye.jsx(_y,{options:null==B?void 0:B.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"AppId",label:"Application",className:"field-DropDown",isOnchanges:!("edit"!=e&&!W),onChangeFunction:Fe,valueData:W,disabled:!("edit"!=e&&!se)})}):Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application"}],style:{display:se||"edit"==e?"none":""},children:Ye.jsx(_y,{options:null==g?void 0:g.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"AppId",label:Ye.jsx("label",{className:"required",children:"Application"}),className:"field-DropDown",isOnchanges:!("edit"!=e&&!W),onChangeFunction:Fe,valueData:W,disabled:!("edit"!=e&&!se)})}),Ye.jsxs("div",{style:{lineHeight:"1.6"},children:[se||"edit"==e&&Ye.jsxs("p",{children:[Ye.jsx("strong",{children:"Application :"})," ",null==(i=null==g?void 0:g.find((e=>e.AppId===W)))?void 0:i.AppName]}),oe&&O&&Ye.jsxs("p",{children:[Ye.jsx("strong",{children:"Company :"})," ",null==(r=null==m?void 0:m.find((e=>e.CompId===O)))?void 0:r.CompName]})]})]}),Ye.jsx(I.Item,{name:"CompId",rules:[{required:!0,message:"Please Select Company"}],style:{display:oe?"none":""},children:Ye.jsx(_y,{options:null==m?void 0:m.map((e=>({value:e.CompId,label:e.CompName}))),placeholder:"CompId",label:Ye.jsx("label",{className:"required",children:"Company"}),className:"field-DropDown",isOnchanges:!("edit"!=e&&!O),onChangeFunction:we,valueData:O,disabled:!("edit"!=e&&!oe)})}),Ye.jsx(I.Item,{name:"BrName",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Branch"},{validator:async(e,t)=>(await lA(t),t&&t.length>50?Promise.reject("Branch should not exceed 50 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"BrName",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Branch"}),fieldState:!0,fieldApi:!0,isOnChange:"edit"==e,onChange:e=>{var t,n;const i=function(e){const t=e.split(" ");let n="";for(let i=0;i<t.length;i++){const e=t[i];e.length>0&&(n+=e.substring(0,2))}return n.toUpperCase()}(null==(t=null==e?void 0:e.target)?void 0:t.value);(null==i?void 0:i.length)<5&&(null==(n=c.current)||n.setFieldsValue({BrShName:i}),Z(i))}})}),Ye.jsx(I.Item,{name:"AppSpecificName",rules:[{required:!1,pattern:/^(?!\s*$).+/,message:"Please Enter App Specific Name"},{validator:async(e,t)=>t&&(await lA(t),t.length>30)?Promise.reject("App Specific Name should not exceed 30 characters"):Promise.resolve()}],children:Ye.jsx(Oy,{field:"AppSpecificName",autoComplete:"off",label:"AppSpecific Name",fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"BrShName",rules:[{required:!0,pattern:/^[^\s]{1,4}$/,message:"Please Enter Short Name"},{validator:async(e,t)=>(await lA(t),t&&t.length<=4?Promise.resolve():Promise.reject("Short Name should not exceed 4 characters"))}],children:Ye.jsx(Oy,{field:"BrShName",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Short Name"}),fieldState:!0,fieldApi:!0,isOnChange:!("edit"!=e&&!J)})}),Ye.jsx(I.Item,{name:"BrMobile",rules:[{pattern:/^[0-9]{10}$/,message:"Enter a Valid MobileNo"},{pattern:/^[6-9]\d{9}$/,message:"Enter a valid 10-digit mobile number starting with 6-9"}],children:Ye.jsx(Oy,{field:"BrMobile",label:"Mobile",fieldState:!0,fieldApi:!0,maxLength:"10",autoComplete:"nope",isOnChange:"edit"==e,inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")})}),Ye.jsx(I.Item,{name:"BrMobile2",rules:[{pattern:/^[0-9]{10}$/,message:"Enter a Valid MobileNo"}],children:Ye.jsx(Oy,{field:"BrMobile2",label:"Mobile2",fieldState:!0,fieldApi:!0,maxLength:"10",autoComplete:"nope",isOnChange:"edit"==e,inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")})}),Ye.jsx(I.Item,{name:"BrEmail",rules:[{pattern:/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/,message:"Enter a valid email address"}],children:Ye.jsx(Oy,{field:"BrEmail",autoComplete:"nope",label:"Email",fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"BrRegnNo",rules:[{pattern:/^[LU]\d{5}[A-Z]{2}\d{4}(PTC|PLC|OPC|GAP|FTC|FLC|NPL|ULL|SGC|SEC)\d{6}$/,message:"Please enter a valid Registration No"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"BrRegnNo",autoComplete:"off",label:"Registration No",fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"BrGSTIN",rules:[{pattern:/^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Za-z]{1}[Z]{1}[0-9A-Za-z]{1}$/,message:"Enter a valid GSTIN"}],children:Ye.jsx(Oy,{field:"BrGSTIN",autoComplete:"off",label:"GST",fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),W&&ge&&Ye.jsx(I.Item,{name:"BrFSSAI",rules:[{pattern:/^[0-9]{14}$/,message:"Enter a valid FSSAI number"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"BrFSSAI",autoComplete:"off",label:ge,maxLength:"14",fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"BrInCharge",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Incharge"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"BrInCharge",autoComplete:"off",label:"Incharge",fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"WorkingFrom",children:Ye.jsx(ww,{label:"Working From",isOnChange:!0,onChange:e=>{V(e)},valueData:H})}),Ye.jsx(I.Item,{name:"WorkingTo",rules:[{validator:(e,t)=>{if(!t||!H)return Promise.resolve();const n=Se(H.$d);return Se(t.$d).isSameOrBefore(n)?Promise.reject(new Error("Working To should be greater than Working From")):Promise.resolve()}}],children:Ye.jsx(ww,{label:"Working To",isOnChange:!0,onChange:e=>{q(e)},valueData:z})}),Ye.jsxs("div",{className:"formAddressDiv",children:[Ye.jsxs(I.Item,{rules:[{required:"Y"==ee&&"Date"==ce,pattern:/^(?!\s*$).+/,message:"Please Swich financial Year"}],name:"FinancialYear",children:[Ye.jsx("p",{children:" Financial Year"}),Ye.jsx("br",{})]}),Ye.jsx("div",{className:"financial-switch",children:Ye.jsx(Sw,{defaultChecked:ee,functionName:e=>{var t;e?(te(!0),null==p&&(null==(t=c.current)||t.setFieldsValue({DateFormat:[]}),ie(null),re(null))):te(!1)},disabled:!!(null==p?void 0:p.FYType)})}),ee&&Ye.jsx(I.Item,{name:"CalenderFormat",rules:[{required:ee,pattern:/^(?!\s*$).+/,message:"Please Select Format"}],children:Ye.jsx(_y,{options:null==ye?void 0:ye.map((e=>({value:null==e?void 0:e.name,label:null==e?void 0:e.name}))),placeholder:"AppId",label:Ye.jsx("label",{children:"Calender Format"}),className:"field-DropDown",isOnchanges:(null==ce?void 0:ce.length)>0,onChangeFunction:Te,valueData:ce,disabled:!!(null==p?void 0:p.FYType)})})]}),("Date"==ce&&ee||"Date"==(null==p?void 0:p.FYType)&&ee&&"Y"==(null==p?void 0:p.FYStatus))&&Ye.jsx(I.Item,{name:"DateFormat",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Select Date"}],children:Ye.jsx(P,{direction:"vertical",children:Ye.jsx(A,{value:h,onCalendarChange:Be,onChange:Be,disabled:!(!(null==p?void 0:p.FYStartsFrom)||!(null==p?void 0:p.FYEnds)),format:"MMM-DD",defaultValue:"Date"===(null==p?void 0:p.FYType)?[S(Ee((null==p?void 0:p.FYStartsFrom)??""),"YYYY-MM-DD"),S(Ee((null==p?void 0:p.FYEnds)??""),"YYYY-MM-DD")]:[],disabledDate:e=>{if(!h||!h[0])return!1;const t=h[0].endOf("month");return e.isSameOrBefore(t,"day")}})})}),Ye.jsx(I.Item,{name:"FYStartsFrom",rules:[{pattern:/^(?!\s*$).+/,message:"Please Select Date"}],children:Ye.jsx("p",{style:{fontWeight:600},children:("Financial Year"==ce&&ee||"Financial Year"==(null==p?void 0:p.FYType)&&ee)&&Pe("DD-MMM")})}),Ye.jsx(I.Item,{name:"FYEnds",rules:[{pattern:/^(?!\s*$).+/,message:"Please Select Date"}],children:Ye.jsx("p",{style:{fontWeight:600},children:("Calender Year"==ce&&ee||"Calender Year"==(null==p?void 0:p.FYType)&&ee)&&ke("DD-MMM")})}),Ye.jsx(I.Item,{name:"FYStatus",rules:[{pattern:/^(?!\s*$).+/,message:"Please Select Date"}]}),!pe&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"subinputForm subinputForm2",children:[Ye.jsx(I.Item,{name:"Address1",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Address1"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Address1",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Address Line1"}),fieldState:!0,fieldApi:!0,isOnChange:!!(null==p?void 0:p.Address1)})}),Ye.jsx(I.Item,{name:"Address2",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Address2"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Address2",autoComplete:"off",label:"Address Line2",fieldState:!0,fieldApi:!0,isOnChange:!!(null==p?void 0:p.Address2)})}),Ye.jsx(I.Item,{name:"Zip",rules:[{required:"edit"!=e,validator:(e,t)=>t?/^\d{6}$/.test(t)?Promise.resolve():Promise.reject("Zipcode must be exactly 6 digits"):Promise.reject("Please enter Zipcode")}],children:Ye.jsx(Oy,{field:"Zip",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Zipcode"}),maxLength:"6",fieldState:!0,fieldApi:!0,isOnChange:!!(null==p?void 0:p.Zip),onChange:Ne,inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")})})]}),Ye.jsxs("div",{className:"subinputForm subinputForm2",children:[U?Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(I.Item,{name:"City",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"City",disabled:!0,isOnChange:!0,label:"City",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{name:"Dist",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Dist",disabled:!0,isOnChange:!0,label:"District",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{name:"State",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"State",disabled:!0,isOnChange:!0,label:"State",fieldState:!0,fieldApi:!0})})]}):"",Ye.jsx(I.Item,{name:"Latitude",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Latitude"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Latitude",label:"Latitude",isOnChange:!(!K&&!(null==p?void 0:p.Latitude)),fieldState:!0,fieldApi:!0,autoComplete:"off",suffix:Ye.jsx(F,{title:pe?"Close Map":"View Map",children:Ye.jsx(jv,{style:{color:"#1677ff",fontSize:"18px",cursor:"pointer"},onClick:()=>Ie(!pe)})})})}),Ye.jsx(I.Item,{name:"Longitude",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Longitude"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Longitude",label:"Longitude",isOnChange:!(!$&&!(null==p?void 0:p.Longitude)),fieldState:!0,fieldApi:!0,autoComplete:"off"})})]})]})]}),pe&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("div",{className:"formAddressDiv",children:Ye.jsx("p",{children:" Address Details"})}),Ye.jsxs("div",{className:"subinputForm subinputForm2",children:[Ye.jsxs("div",{children:[Ye.jsx(I.Item,{name:"Address1",rules:[{required:"edit"!=e,pattern:/^(?!\s*$).+/,message:"Please Enter Address1"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Address1",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Address Line1"}),fieldState:!0,fieldApi:!0,isOnChange:!!(null==p?void 0:p.Address1)})}),Ye.jsx(I.Item,{name:"Address2",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Address2"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Address2",autoComplete:"off",label:"Address Line2",fieldState:!0,fieldApi:!0,isOnChange:!!(null==p?void 0:p.Address2)})}),Ye.jsx(I.Item,{name:"Zip",rules:[{required:"edit"!=e,validator:(e,t)=>t?/^\d{6}$/.test(t)?Promise.resolve():Promise.reject("Zipcode must be exactly 6 digits"):Promise.reject("Please enter Zipcode")}],children:Ye.jsx(Oy,{field:"Zip",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Zipcode"}),maxLength:"6",fieldState:!0,fieldApi:!0,isOnChange:!!(null==p?void 0:p.Zip),onChange:Ne,inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")})}),U?Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(I.Item,{name:"City",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"City",disabled:!0,isOnChange:!0,label:"City",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{name:"Dist",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Dist",disabled:!0,isOnChange:!0,label:"District",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{name:"State",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"State",disabled:!0,isOnChange:!0,label:"State",fieldState:!0,fieldApi:!0})})]}):"",Ye.jsx(I.Item,{name:"Latitude",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Latitude"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Latitude",label:"Latitude",isOnChange:!(!K&&!(null==p?void 0:p.Latitude)),fieldState:!0,fieldApi:!0,autoComplete:"off",suffix:Ye.jsx(F,{title:pe?"Close Map":"View Map",children:Ye.jsx(jv,{style:{color:"#1677ff",fontSize:"18px",cursor:"pointer"},onClick:()=>Ie(!pe)})})})}),Ye.jsx(I.Item,{name:"Longitude",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Longitude"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Longitude",label:"Longitude",isOnChange:!(!$&&!(null==p?void 0:p.Longitude)),fieldState:!0,fieldApi:!0,autoComplete:"off"})})]}),Ye.jsx("div",{className:"MapDiv",children:Ye.jsx(ib,{onMarkerClick:async e=>{var t;G("function"==typeof e.lat?e.lat():K),X("function"==typeof e.lng?e.lng():$),null==(t=c.current)||t.setFieldsValue({Latitude:"function"==typeof e.lat?e.lat():K,Longitude:"function"==typeof e.lng?e.lng():$})},prevlca:p?{lat:p.Latitude,lng:p.Longitude}:null})})]})]})]}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0,disabled:"Super Admin"!==y&&(D||"N"===(null==(s=null==b?void 0:b.find((e=>"Branch"===(null==e?void 0:e.ConfigName))))?void 0:s.AddAccess))})})]})})]})})})},CP="/home/",SP=({open:e,title:t,handleCancel:n,children:i,footer:r,handleSubmit:s,width:l,destroyOnClose:o,buttonText:d,maskTransitionName:c,transitionName:u,className:p})=>(a.useEffect((()=>{const t=t=>{"Escape"===t.key&&e&&n()};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)}),[e,n]),Ye.jsx(Ye.Fragment,{children:Ye.jsx(j,{destroyOnClose:o||!1,open:e,title:t,top:0,width:l||700,maskTransitionName:c,transitionName:u,className:p,centered:!0,closeIcon:Ye.jsx(M,{onClick:n}),onCancel:n,footer:r?[Ye.jsx(Ry,{buttonText:d||"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),handleSubmit:s,children:d})]:r,maskClosable:!0,children:i})})),NP="https://www.pozo.dev/pozo-common-api",IP=Ja("application/getBannerImage",(async()=>await Ne.get(`${NP}/application?ActiveStatus=A`))),FP=Ja("application/getApplication",(async()=>await Ne.get(`${NP}/application?Type=A`))),BP=Ja("application/getApplication",(async()=>await Ne.get(`${NP}/application`))),PP=Ja("application/getApplicationCategory",(async e=>{if(null!=e&&null!=e)return await Ne.get(`${NP}/application?CateId=${e}`)})),kP=Ja("application/getApplicationSubCategory",(async e=>{if(null!=e&&null!=e)return await Ne.get(`${NP}/application?SubId=${e}`)})),TP=Ja("application/onlineimages",(async e=>{if(null!=e&&null!=e)return await fA.get(`/Image?Name=${e}`)})),EP=Ja("upload/uploadImage",(async e=>{let t=new FormData;return t.append("file",e),await fA.post("https://www.pozo.dev/pozo-common-image-api/upload",t)})),DP=Ya({name:"bannerImage",initialState:{BannerImage:[],Applications:[],ApplicationCategory:[],ApplicationSubCategory:[]},extraReducers:e=>{e.addCase(IP.fulfilled,((e,t)=>{var n,i;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.BannerImage=null==(i=null==t?void 0:t.payload)?void 0:i.data:e.BannerImage=null})),e.addCase(FP.fulfilled,((e,t)=>{var n,i;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.Applications=null==(i=null==t?void 0:t.payload)?void 0:i.data:e.Applications=null})),e.addCase(PP.fulfilled,((e,t)=>{var n,i;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.ApplicationCategory=null==(i=null==t?void 0:t.payload)?void 0:i.data:e.ApplicationCategory=null})),e.addCase(kP.fulfilled,((e,t)=>{var n,i;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.ApplicationSubCategory=null==(i=null==t?void 0:t.payload)?void 0:i.data:e.ApplicationSubCategory=null}))}}).reducer,LP="/home/",UP="/apps/retail/app-page/home",_P=({formType:e})=>{var t,n,i,r,s;const l=Qt(),o=um(),d=Mt(),c=a.useRef(null),u=null==d?void 0:d.state,p=null==u?void 0:u.editstate,A=Tf(Ob),h=Tf(Mb),[f,m]=a.useState(null),[v,g]=a.useState(null),[y,x]=a.useState(null),[w,j]=a.useState(null),[C,S]=a.useState(""),[N,P]=a.useState(!1),[T,E]=a.useState(),[D,L]=a.useState(),[U,_]=a.useState(),O=[{name:"Home",link:`${LP}landing-page/home`},{name:"Application",link:`${LP}setting/application-master/`},{name:p?"Edit":"New",link:null}];a.useEffect((()=>{var e;o(Gh({items:O})),o(Tb()).unwrap(),o(Eb()).unwrap(),M(),p&&(S(null==p?void 0:p.AppLogo),null==(e=c.current)||e.setFieldsValue({CateId:p.CateId,SubCateId:p.SubCateId}),x(p.CateId),j(p.SubCateId))}),[]);const M=async()=>{var e,t,n;let i=null==(e=null==c?void 0:c.current)?void 0:e.getFieldsValue().AppName;if(null!=i){let e=await o(TP(null==(t=null==c?void 0:c.current)?void 0:t.getFieldsValue().AppName)).unwrap();E(null==(n=null==e?void 0:e.data)?void 0:n.data)}},R=a.useCallback((()=>{g(null),m(null)}),[]),[Q,H]=a.useState(!1);return"edit"==e&&"I"!==(null==p?void 0:p.AppUrlType)&&(null==(t=null==c?void 0:c.current)||t.setFieldsValue({AppURL:null==p?void 0:p.AppUrl})),Ye.jsxs("div",{className:"pageOverAll",children:[Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:f,messageData:v,onComplete:R}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Application"})}),Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{ref:c,className:"formDivAnt",onFinish:async t=>{var n,i,a,r,s;let d={};d.AppDescription=t.AppDescription,d.AppId=t.AppId,d.AppURLType=y==(null==(n=null==A?void 0:A.filter((e=>"Retail"==(null==e?void 0:e.ConfigName)))[0])?void 0:n.ConfigId)?"I":"E",d.AppLogo=C,d.AppName=t.AppName,d.AppURL=y==(null==(i=null==A?void 0:A.filter((e=>"Retail"==(null==e?void 0:e.ConfigName)))[0])?void 0:i.ConfigId)&&Q?UP:t.AppURL,d.CateId=t.CateId,d.CreatedBy=iA("UserId"),d.SubCateId=t.SubCateId,d.UpdatedBy=t.UpdatedBy;let c={};if("add"===e)try{c=await o(Bb(d)).unwrap()}catch(u){"Request failed with status code 422"==u.message&&(c={data:{statusCode:0,response:"Please Give Required Fields",data:[]}})}else if("edit"===e){d.AppId=null==p?void 0:p.AppId,d.UpdatedBy=iA("UserId");try{c=await o(Pb(d)).unwrap()}catch(u){"Request failed with status code 422"==u.message&&(c={data:{statusCode:0,response:"Please Give Required Fields",data:[]}})}}1==(null==(a=null==c?void 0:c.data)?void 0:a.statusCode)?l(`${LP}setting/application-master/`,{state:{Notiffy:{messageType:"success",messageData:null==(r=null==c?void 0:c.data)?void 0:r.response}}}):(m("error"),g(null==(s=null==c?void 0:c.data)?void 0:s.response))},initialValues:p,children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"AppName",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Application Name"},{validator:async(e,t)=>(await lA(t),t&&!/^.{1,50}$/.test(t)?Promise.reject("Application Name must be 1 to 50 characters."):Promise.resolve())}],children:Ye.jsx(Oy,{field:"AppName",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Application Name "}),fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"CateId",rules:[{required:!0,message:"Please Select Module"}],children:Ye.jsx(_y,{options:null==A?void 0:A.map((e=>({value:e.ConfigId,label:e.ConfigName}))),label:Ye.jsx("label",{className:"required",children:"Module"}),onChangeFunction:async e=>{var t;null==(t=c.current)||t.setFieldsValue({CateId:e}),await x(e)},optionsNames:{value:"ConfigId",label:"ConfigName"},className:"field-DropDown",isOnchanges:!("edit"!=e&&!y),valueData:y,disabled:"edit"==e})}),Ye.jsx(I.Item,{name:"SubCateId",rules:[{required:!0,message:"Please Select Sub Module "}],children:Ye.jsx(_y,{options:null==h?void 0:h.map((e=>({value:e.ConfigId,label:e.ConfigName}))),label:Ye.jsx("label",{className:"required",children:"Sub Module"}),onChangeFunction:async e=>{var t;null==(t=c.current)||t.setFieldsValue({SubCateId:e}),await j(e)},optionsNames:{value:"ConfigId",label:"ConfigName"},className:"field-DropDown",isOnchanges:!("edit"!=e&&!w),valueData:w,disabled:"edit"==e})}),Ye.jsx(I.Item,{name:"AppDescription",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Application Description"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(My,{field:"AppDescription",autoComplete:"off",label:"Description",fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsxs("div",{className:"upload_btn",children:[Ye.jsx("p",{children:"Upload Logo"}),Ye.jsx(Yy,{singleImage:!0,updateImageUrl:S,ImageLink:U||((null==p?void 0:p.AppLogo)?null==p?void 0:p.AppLogo:"")}),Ye.jsx("button",{type:"button",style:{width:"6.5rem",backgroundColor:"#dbd1d1",color:"#000000",border:"0.5px solid gray",borderRadius:"3px",padding:"3px"},onClick:()=>{var e;let t=null==(e=null==c?void 0:c.current)?void 0:e.getFieldsValue().AppName;null!=t?(M(),P(!0)):(m("error"),g("Eneter Application Name"))},children:"Browse Image"})]}),null==y?"":y==(null==(i=null==(n=null==A?void 0:A.filter((e=>"Retail"==(null==e?void 0:e.ConfigName))))?void 0:n[0])?void 0:i.ConfigId)?Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{children:["Retail URL : ",Ye.jsx(b,{onChange:e=>{H(e)}})," "]}),Q?Ye.jsxs("div",{style:{display:"flex",gap:"0.5rem"},children:[Ye.jsx("p",{children:"URL:"}),Ye.jsxs("p",{style:{color:"#1292EE"},children:["https://pozo.app",UP]})]}):Ye.jsx(I.Item,{name:"AppURL",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"BrMobile",label:"App URL",fieldState:!0,fieldApi:!0,autoComplete:"nope",isOnChange:"edit"==e&&(null==(r=null==p?void 0:p.AppUrl)?void 0:r.length)>0,suffix:Ye.jsx(F,{title:"/apps/yourApplication",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]}):Ye.jsx(I.Item,{name:"AppURL",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],className:"appUrlInput",children:Ye.jsx(Oy,{field:"BrMobile",label:"App URL",fieldState:!0,fieldApi:!0,autoComplete:"nope",isOnChange:"edit"==e&&(null==(s=null==p?void 0:p.AppUrl)?void 0:s.length)>0,suffix:Ye.jsx(F,{title:"/apps/yourApplication",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]})}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{})})})]})})]})}),Ye.jsx(SP,{title:"ONLINE LOGO IMAGE UPLOADER",width:800,open:N,footer:!0,buttonText:"Submit",children:Ye.jsx(I,{className:"",children:Ye.jsx("div",{className:"productonlineImg",children:null==T?void 0:T.map(((e,t)=>Ye.jsx("div",{className:"singleimg "+(D===e?"selected":""),onClick:()=>L(e),children:Ye.jsx("img",{src:e.image,alt:"no image",width:120,height:100})},t)))})}),handleSubmit:async()=>{var e,t,n;let i=await fetch(D.image),a=await i.blob(),r=new File([a],"image.jpg",{type:"image/jpeg"}),s=await o(EP(r)).unwrap();(null==(e=null==s?void 0:s.data)?void 0:e.status)&&(_(null==(t=null==s?void 0:s.data)?void 0:t.image),S(null==(n=null==s?void 0:s.data)?void 0:n.image)),P(!1)},handleCancel:()=>{P(!1)}})]})},OP="/home/",MP=Ja("configMaster/getAllSetupHeaderName",(async e=>{if(null!=e&&null!=e)return await fA.get(`/configMaster?TypeName=${e}&ActiveStatus=A`)})),RP=Ja("configMaster/getConfiguration",(async()=>await fA.get("/configMaster"))),QP=Ja("configMaster/getActiveConfigNames",(async()=>await fA.get("/configMaster?ActiveStatus=A"))),HP=Ja("configMaster/getConfigNames",(async({TypeName:e})=>{if(null!=e&&null!=e)return await fA.get(`/configMaster?TypeName=${e}`)})),VP=Ja("configMaster/getConfigNames",(async({TypeName:e})=>{if(null!=e&&null!=e)return await fA.get(`/configMaster?TypeName=${e}&ActiveStatus=A`)})),zP=Ja("configMaster/deleteConfiguration",(async e=>await fA.delete("/configMaster",{params:e}))),qP=Ja("configMaster/postConfiguration",(async e=>await fA.post("/configMaster",e))),WP=Ja("configMaster/putConfiguration",(async e=>await fA.put("/configMaster",e))),YP=Ja("configMaster/postBulkConfiguration",(async e=>await fA.post("/configMaster/BulkUpload",e))),KP=Ya({name:"configmaster",initialState:{configData:[],ActiveConfigNames:[]},extraReducers:e=>{e.addCase(RP.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.configData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.configData=[]})),e.addCase(QP.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.ActiveConfigNames=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.ActiveConfigNames=[]}))}}),GP=e=>{var t;return null==(t=e.configmasterPage)?void 0:t.configData},$P=KP.reducer,XP=Ja("configType/getConfigurationType",(async()=>await fA.get("/configType"))),JP=Ja("configType/postConfigurationType",(async e=>await fA.post("/configType",e))),ZP=Ja("configType/putConfigurationType",(async e=>await fA.put("/configType",e))),ek=Ja("configType/deleteConfigTypeData",(async e=>await fA.delete("/configType",{params:e}))),tk=Ja("configType/getActiveConfigTypeNames",(async()=>await fA.get("/configType?ActiveStatus=A"))),nk=Ja("configType/getActiveConfigTypeNames",(async e=>await fA.get(`/configMaster?typeName=${null==e?void 0:e.typeName}`))),ik=Ja("Postplanextend",(async e=>await fA.post("/UserAppMap",e))),ak=Ya({name:"configType",initialState:{configTypeData:[],configTypeActiveData:[]},extraReducers:e=>{e.addCase(XP.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.configTypeData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.configTypeData=[]})),e.addCase(tk.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.configTypeActiveData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.configTypeActiveData=[]}))}}),rk=e=>{var t;return null==(t=e.configtypePage)?void 0:t.configTypeData},sk=e=>{var t;return null==(t=e.configtypePage)?void 0:t.configTypeActiveData},lk=ak.reducer,ok=Ya({name:"excelupload",initialState:{excelFile:null,excelFileError:null,excelData:null,fileInputRef:" "},reducers:{emptyExcelData:(e,t)=>{e.excelFile=null,e.excelFileError=null,e.excelData=null,e.fileInputRef=" "},uploadExcel:(e,t)=>{const{file:n,jsonData:i}=null==t?void 0:t.payload;e.excelFile=n,e.excelData=i}}}),{emptyExcelData:dk,uploadExcel:ck}=ok.actions,uk=ok.reducer,pk=[{name:"Home",link:"/landing-page/home"}],Ak=[{name:"Home",link:"/landing-page/home"}],hk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABZCAYAAADxYTB8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA5wSURBVHgB7Z3361RHF8ZHY3o0iaYnikkglTQCaZAEAgnBAiqIIqj4iw3BP0VQUey9YO+99967sffee3v9zMuznL3u7nfr3XYfXXa/d2+dZ06Zc87M1rp+/foTF6HiUdtFqApERFcJIqKrBBHRVYI6yb64ceOGO3jwoLty5Yp7+PChe/z4sYtQmqhVq5Z7+eWXXePGjV2jRo3830E8Q/STJ0/c9u3b3Zw5c9zFixdd7dqR0Jc6JIQvvPCC++yzz1yLFi1c/fr14/apZYdX9IRt27a58ePHu/v373uSIT5CaQOO4E6S/NZbb7nu3bu7unXrxvaJk+hHjx656dOne5I56MMPP3S//vqrq1OnjotQ2rh06ZJbvXq1u3nzpv+8du1a9/fff8fIj2MQm/xUwv3nhg0buq5du7oXX3zR7xxJdunCSvKECRO8wG7cuNETLcQZYGyyDsSwv/LKK+65555zEUofCOLXX3/tXnrpJW+zb9++Hfd9neDOesc+420n8uAilB7gCc6s82y5S+lSR+q6cpDSy4qkuTxgBdJ63xbRILlKEBFdJYiIrhLUSHTkkFUGEhIdDJBEZJc/ItVdJQg1iC1NwaD+3r177vz58+7OnTt+O1G4Bg0a+AxMhPwjXKKf/rt957YPvpMlO3v2rN9OyI7Eyfvvv+9++OEH9+OPP8ZlXiLkjtCIRmr/O/SfGz16tLt27Vp8eO6phEP2iRMn3OnTp92SJUtcx44d3aeffuoi5Aeh2ej9+/e7wYMH+zRasoib8t8E5IcPH+6PiaJz+UHBiYa4q1evunHjxmVUknT37l1/DBk1jok8/9wQCtEkwW/dupXRcUgykr1161ZXalBFRzl1vlCIXrlyZezvTFXxunXrSqJuTckCRgs4kRRp8P7gwYOyIL3gztiFCxd8Y1iyMmkU1D7OW7169VwxgW8xc+ZMt3fvXq9pZIIYHfz222/uzz//9NU4pYqCE40E0OMpb8mm53MMjfz666+7YuHUqVNuyJAh/j7sfQHKoufPn+82bdrkRwrU2ZUiCq4T6eWQDLLxoOkYxQyinDt3LjYklBTbag6pdOrfGVVIldtXKaDgRFNfTB0ThGUzCQCS33zzTRc2IAjSpkyZ4s1P0oS+IRyJHzVqVElOdghFor/99ts4KUjnJfzyyy9FK1Bcvny5O3ToUOxvddZkL7B79263atUqV2oIxZ396aefsnJUnn/+effzzz8XxeuG4Llz52Z0jOL48+bN83a9lBDK8Orjjz92TZo0ychmsV/Tpk3de++9F/rQ5fLly27kyJFZ+xQ4oGPHjvWxg1IZdoUmKsz4+Pfff2Oet6Jdwby3OkPz5s39sAWE6dBwDxTBQ1LQ3GRyH2Tmpk2b5u18KZAdWlKDhvrnn3/cF1984Rvg8OHD3htXA4pkEhnNmjXzmaywPVaut3DhQh9jT0RsJoTRkTds2OA+//xz9/333xd9IkSoaUp69wcffOC6devmAyFHjx71wxcaFGIbNWzk6tarG7PJYUsC0a5ly5b5lKmdzJAtIBftgOkKzm4MG0WbPffGG2/4nm7VdTGHJQQ+Zs2aFRsHg1w7mgJF2PuePXsWdUxdlCBysoBCsQIMssvkwguBkydPutmzZ1cf0RaW3GIRzbiXGHahQEdaunRpUTNxoRMtTzvVKyxgQ8+cOeMdMGCDHzXdB/uwnITiA6k6qDowTihDt2KgaqtAaXiGUMSxKXLI5Dj8C5IXEE1WDUcSB66mDkLWa9iwYX6hgbBRtURDCqs74PVnAtKSSLEqXyANKaWCNZ3RAjnsFStWhO6bVC3RVKGyKkAm4VWIpSyZTBVpU0imPIptSCsSDmpS45gKYuKJgkaFQsGIzjZbFQawy9hLBWrSbWiex0bKqEmHaH2HzU9HMrke12dIFxYKQjQPwniURuC9lMA9seoSJGXqAEIkUozq5njVnpN80QoR6YKA0aRJk+LG7cFhZz7VeV6JtjdM4/HgpbJOmQhFbTJeTkfbkAu3nYBnQQpfe+01Ty7nePXVV30eGoeOZEYmINS6YMGC2P0VEgWTaCGZHUr1YOk8dDrHB99ZKI8cczrnhkAkGEItkGhSkNIIEI99hmR7vXSGjGwn5HrkyJG4dioE6XkJgUp6ZZdtiY1VP6gpvldWiCEJnzlWtWVsp4Ht2maEEdUAtpwHEmy4kvNIfXIOzQDheIZSRKdU1hTXCE+vhTpmf76HPIVkkV6dUyXI7APROF+yzbo/tICGWnQKPqsUKljyrGMnTpzo2rdv7+Phev58e+E5S7TssRqGRlAhoFXlPLSyVdoGIFjkqyfLttseLrK1nxpXsN8DSYjemQwQvA4QyRAHwSKK+0Qd42Gz9ho1Y7YaFa+be+dvnQ+brY7CseoI/M2x0hLan47KMaQ0KVbQBAcJTT4lO2eJtiqHRpSUAt2oGtgST0MQA2ZcyTj0nXfecR999JF7991347JHenhLsl0ai8ZiGx0JkqwnLelfv36997QBDW3tM2QgaQyROC8Sq2tS68Z2q5IhPphPV5SMe+D8BFTYhu2mE1HzpmP5DkeM/Tg/HQCyaYctW7b40ik6UNBk5IqciZZ06cHV2PK2bZ2VSNq1a5fPFNGokMqLRqJR6fXt2rVzb7/9tj+ec6sunM+8rNNjVbU8YlV50FgHDhzwC9hybgiFEDsSkJnhWF5WKwCO0Xap5ER5as6jsmQkmGvTFlyPJRshlWfj2tyrTAimgW3sj1SzOi+dPpnqzlbK8+KMSW0HbbO9Wd3gokWLfJkNjSE1xnFSnzRsr169YgkAqwVktyWRUun+QUwBg8a5XAOSdW/6zsL6FakqSSAJMpBIPZttdPkXOqfVQID7VCdJ1FY8O51x8uTJsZBsPtV3zkRz05IQPQQSIDKs6sXjZW60zT8rZ8vDQTyqjPPxwFRoSAJoGD7LFgPrpOn6AtdlZoUtugfBEYE0hTUv9v40xKKTWQL0HvSW7f2k8qKtj6LzoNrx6ClKlL+Tr7XSc1bdNECw8a2NlrrF44U4bRfBSApSLNtOrwYQQCyaxqUS1EqHVLmkKJEEMmdr586dXnXaY/XOdQGOlsbC+l4OprxwpFgSZ9fYTESwlWYhUSzBOot6do3NsdUURfLcul+eI5eYRM4SHXSyrIrSMAHJwi6jnq3a1ThUBfo0Jg3Juxwb7BbOlFXbuqa2WZXNOyVBmzdvjgt4WMnTfkgT5MkGW80gr5lt6ogawul8WmBVQ0WthKz74XjVitlOL8KszyCzpf0XL17svfFEmiIb5MVG6wGs7QE8PDMdmE2JxCgJYHs7x2gmBA1Fw9OAcpD4HjuLbZc9RgLVoAo/qnE1rxoHiG1y3DgX3q0dttERaOBkES1GA1yTa3A8nVCNrVJe3rm+OgP7qMPzGY1hx9ncn20nxbvl4ev+uC/ajv3l4IJsyc5ZdesGRLZA4xEIUIZIkp6sGjJRY9sxMZLNef7666/Y9QSRxn5oD9vYkh6NzXVOGlCfFVgJQn6B9UF0PfkidptsuK4ZnIfF90GHUG1jAzn6nlAtlSmtW7fO2SnLawhUN0MDkJ2xNtnuk+oVPJ9Vp8xaRLqDiRI5TpQEYZuT3Veic2ejEhMNr9JxyJJtS3U8JgibnWukLK9VoKraICuDIxR0StJp0FT70OtZyAai+YEQ62QRfMFbtcOlJwEHLBFB2SKTc+VyHTQRKpxfRKC4IVvC8yrRqN8xY8a4HTt25KxqUgHJpTNZdS+HSgiSXM7g2WhXG4TKFHkjGrtI/TKRqEIDiV2zZo0PvCiL9Mknn/jfAGEoJKku1cKHbKBlubJFXoimp0Hyvn37QpEgOTeYB0k21yV8SPiUsGI+hiSlBhyzbJfkyplohk2DBg3yc6mCkaVcHYhU0Did2i86mTxtJLtTp04+5hwMU5YrbBkyKjybWZo5Ec1wAZJJnIcNK7EU37PSgKJyzHVifhfOS7p12uUCTBUlyo8fZfZcWRNNr+rTp0/RJ3wrEUE0rHfv3r4haAAyQN26/p9sUElqnGedv2B+RjM0syKaaA6STIgu03nD+YaNd9PpBg4cGFPj9RvUdz169PAzOLVvJYAOi2O2Z8+etI+pnexEyTIuZJf69esXk+RiOj2Jrs3CsZBNCBRgqzt37uwaN24cah11ISHfY8aMGT7Emk4HTirRiRqDWQ19+/b1semaolphINm16YRDhw71aT+AF05NFl55qVSl5grIpTPLN6kJaUk0J4VcvFskuhwai3Fn//79Y1NhGV8j2Thqttyo3HHs2DGfNKqJkxoZo1GQZNShFlIvB/Dg9PgRI0bEsmNkvbp06eK+/PLLmBRUghqnLAuTlUqF10j08ePH3YABA4o23TMXYJMhm07Kc0AqqcQ2bdrEVluoBEAwE/mD1TQWKYlGkhmgW4NfTqFF3TPmhumqBHUgF5vNup3fffddWXvilgtM1NSpU5Nyk/TnkCiPZQglh6acwcPTWVmrkzGocsIdOnTwv+Gh2Hg52204I3CkQoggEhLNjhh5/SxCOXuqNhSLXUaymbKq7W3btvXrmVXKGDtZ6LloqxKFCVsFolQqUSXWPKMTt2zZ0n/HLwVUKhKKaqIS1kqACiEgm/GnrR1v1aqV+/3338tSslNVqAhJdXImC7eUC/QcmldFPpuaNoA3zip/dr9ygSVXnAU7bJzqVvmsen4lQ3VmFDAyzv7qq69iif1KePbg3K04olmHMzgJrdKBg0YNNa9C59DDAoLKBACLONVNIb3UV6UjUZFEpWgxTNMff/wRv83+gTRTikPFYTWgEklGZWsVZYtaTwMJz3ge5JspvmMpCOyX37HCbXa5A/+KMirma33zzTfPfJ+QaO91Pv3/4OGD2G88VYrnXYmAGySZpI1dEsQiIdERygtBIUykfat25cBqQ1WEQCsdOZUSRagsRERXCf4HHFsSeoUuigYAAAAASUVORK5CYII=",fk=({fieldState:e,style:t,...n})=>{const{disabled:i=!1,field:r,onBlur:s,initialValue:l,forwardedRef:o,className:d,onSelectFuntion:c,content:u,Header:p,defaultSelect:A,...h}=n,[f,m]=a.useState(A);return Ye.jsxs("div",{children:[Ye.jsx("p",{style:{paddingBottom:"10px",fontWeight:"500"},children:p}),Ye.jsx(H.Group,{disabled:i,onChange:e=>{var t,n;m(null==(t=null==e?void 0:e.target)?void 0:t.value),c&&c(null==(n=null==e?void 0:e.target)?void 0:n.value)},value:f,options:u,children:null==u?void 0:u.map(((e,t)=>Ye.jsx(H,{value:e.value,children:e.label},t)))})]})},mk=Ja("applicationImage/getApplicationImageData",(async()=>await fA.get("/appImage"))),vk=Ja("applicationImage/postApplicationImageData",(async e=>await fA.post("/appImage",e))),gk=Ja("applicationImage/putApplicationImageData",(async e=>await fA.put("/appImage",e))),yk=Ja("applicationImage/deleteApplicationImageData",(async e=>await fA.delete("/appImage",{params:e}))),xk=Ya({name:"applicationImage",initialState:{applicationImageData:[]},extraReducers:e=>{e.addCase(mk.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.applicationImageData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.applicationImageData=[]}))}}),bk=e=>{var t;return null==(t=e.applicationImagePage)?void 0:t.applicationImageData},wk=xk.reducer,jk="https://www.pozo.dev/pozo-common-api",Ck=Ja("featureMapping/application",(async()=>await Ne.get(`${jk}/application`))),Sk=Ja("featureMapping/pricingAppFeatMap",(async()=>await Ne.get(`${jk}/pricingAppFeatMap`))),Nk=Ja("featureMapping/getPricingType",(async e=>{if(null!=e&&null!=e)return await fA.get(`/pricingType?AppId=${e}`)})),Ik=Ja("featureMapping/getFeatureList",(async e=>{if(null!=e&&null!=e)return await fA.get(`/feature?AppId=${e}`)})),Fk=Ja("featureMapping/postFeatureMapping",(async e=>await fA.post("/pricingAppFeatMap",e)));Ja("featureMapping/putFeatureMapping",(async e=>await fA.put("/pricingAppFeatMap",e)));const Bk=Ja("featureMapping/deleteFeatureMapping",(async e=>{if((null==e?void 0:e.AppId)&&(null==e?void 0:e.PricingId)&&(null==e?void 0:e.ActiveStatus)&&(null==e?void 0:e.UpdatedBy))return await fA.delete(`/pricingAppFeatMap?AppId=${null==e?void 0:e.AppId}&PricingId=${null==e?void 0:e.PricingId}&ActiveStatus=${null==e?void 0:e.ActiveStatus}&UpdatedBy=${null==e?void 0:e.UpdatedBy}`)}));Ya({name:"featureMapping",initialState:{featureData:[]},extraReducers:e=>{e.addCase(Ck.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.featureData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.featureData=[]}))}});const Pk="/",kk=[{name:"Home",link:`${Pk}landing-page/home`},{name:"FeatureMapping",link:`${Pk}setting/feature-mapping`}],Tk="/",Ek=({formType:e})=>{var t,n;const i=a.useRef(null),r=um(),s=Qt(),l=Mt(),o=null==l?void 0:l.state,d=null==o?void 0:o.editstate,[c,u]=a.useState(d?null==d?void 0:d.FeatDetails:[]),[p,A]=a.useState(null),[h,f]=a.useState(null),[m,v]=a.useState([]),[g,y]=a.useState([]),[x,b]=a.useState([]),[w,j]=a.useState([]),[C,S]=a.useState(d?d.AppId:null),[N,F]=a.useState(d?d.PricingId:null),[B,P]=a.useState(d?null==(t=d.FeatDetails)?void 0:t.map((e=>e.FeatId)):[]),T=[{name:"Home",link:`${Tk}landing-page/home`},{name:"FeatureMapping",link:`${Tk}setting/feature-mapping`},{name:d?"Edit":"New",link:null}];a.useEffect((()=>{C&&D(C)}),[C]);a.useEffect((()=>{var t,n;try{!async function(){var e,t,n;const i=await r(Ck()).unwrap();if(1===(null==(e=i.data)?void 0:e.statusCode)){let e=null==(n=null==(t=i.data)?void 0:t.data)?void 0:n.filter((e=>"A"===e.ActiveStatus));v(e)}}(),"edit"===e&&(d?(E(d.AppId),L(d.PricingId),j(d?null==(t=d.FeatDetails)?void 0:t.map((e=>e.FeatId)):[]),null==(n=i.current)||n.setFieldsValue(d)):s(`${Tk}setting/feature-mapping/`))}catch(a){}}),[]),a.useEffect((()=>{r(Gh({items:T}))}),[]);const E=async e=>{var t,n,a,s;null==(t=i.current)||t.setFieldsValue({AppName:e}),S(e);const l=await r(Nk(e)).unwrap();if(1===(null==(n=l.data)?void 0:n.statusCode)){let e=null==(s=null==(a=l.data)?void 0:a.data)?void 0:s.filter((e=>"A"===e.ActiveStatus));y(e)}},D=async e=>{var t,n,i;const a=await r(Ik(e)).unwrap();if(1===(null==(t=a.data)?void 0:t.statusCode)){let e=null==(i=null==(n=a.data)?void 0:n.data)?void 0:i.filter((e=>"A"===e.ActiveStatus));b(e)}else b([])},L=async e=>{var t;null==(t=i.current)||t.setFieldsValue({PriceName:e}),F(e)},U=null==(n=null==x?void 0:x.filter((e=>null==B?void 0:B.includes(e.FeatId))))?void 0:n.map((e=>e.FeatName));return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:p,messageData:h}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Feature Mapping"})}),Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{ref:i,className:"formDivAnt",onFinish:async t=>{var n,i,a;let l=t;l.CreatedBy=iA("UserId");let o={};"add"===e?(l.AppId=t.AppName,l.PricingId=t.PriceName,l.FeatDetails=c,o=await r(Fk(l)).unwrap()):"edit"===e&&(d&&(l.AppId=C,l.PricingId=t.PriceName,l.FeatDetails=c),l.UpdatedBy=iA("UserId"),o=await r(Fk(l)).unwrap()),1==(null==(n=null==o?void 0:o.data)?void 0:n.statusCode)?s(`${Tk}setting/feature-mapping/`,{state:{Notiffy:{messageType:"success",messageData:null==(i=null==o?void 0:o.data)?void 0:i.response}}}):(A("error"),f(null==(a=null==o?void 0:o.data)?void 0:a.response))},initialValues:{...d},children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"AppName",children:Ye.jsx(_y,{options:null==m?void 0:m.map((e=>({value:e.AppId,label:e.AppName}))),label:"App Name",id:"AppName",onChangeFunction:e=>E(e),valueData:C,isOnchanges:"edit"==e,optionsNames:{value:"AppId",label:"AppName"},className:"field-DropDown"})}),Ye.jsx(I.Item,{name:"PriceName",children:Ye.jsx(_y,{options:null==g?void 0:g.map((e=>({value:e.PricingId,label:e.PricingName+" ("+(e.NoOfDays>35?"Yearly":"Monthly")+")"}))),label:"Price Name",id:"PriceName",onChangeFunction:e=>L(e),valueData:N,isOnchanges:"edit"==e,optionsNames:{value:"PricingId",label:"PricingName"},className:"field-DropDown"})})]})}),x.length>0?Ye.jsxs("div",{style:{display:"flex",flexWrap:"wrap",width:"100%"},children:[Ye.jsx("div",{style:{paddingBottom:"10px",fontWeight:"500"},children:Ye.jsx("p",{children:"Feature List"})}),Ye.jsx(V.Group,{style:{width:"100%"},onChange:e=>{j(e);const t=e;P(t);const n=t.map((e=>({FeatId:e})));u(n)},value:B,children:Ye.jsx(R,{children:null==x?void 0:x.map(((e,t)=>1==e.CoreAddon?Ye.jsx(Q,{span:10,children:Ye.jsxs(V,{style:{padding:"12px"},value:e.FeatId,disabled:(null==U?void 0:U.includes(e.FeatName))&&!B.includes(e.FeatId),children:[e.FeatName," - ",e.FeatConstraint]},e.FeatId)}):null))})})]}):null,w.length>0?Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{})})}):null]})})]})})})},Dk=Ja("appMenu/getAppMenu",(async e=>{if(null!=e&&null!=e)return await fA.get(`/appMenu?AppId=${e}`)})),Lk=Ja("appMenu/getLevelOneMenu",(async({AppId:e,Level:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await fA.get(`/appMenu?AppId=${e}&Level=${t}`)})),Uk=Ja("appMenu/getLevelTwoMenu",(async({AppId:e,Level:t,Level1Id:n})=>{if(null!=e&&null!=e&&null!=t&&null!=t&&null!=n&&null!=n)return await fA.get(`/appMenu?AppId=${e}&Level=${t}&Level1Id=${n}`)})),_k=Ja("appMenu/getLevelThreeMenu",(async({AppId:e,Level:t,Level1Id:n,Level2Id:i})=>{if(null!=e&&null!=e&&null!=t&&null!=t&&null!=n&&null!=n&&null!=i&&null!=i)return await fA.get(`/appMenu?AppId=${e}&Level=${t}&Level1Id=${n}&Level2Id=${i}`)})),Ok=Ja("appMenu/getAppMenuList",(async()=>await fA.get("/appMenu"))),Mk=Ja("appMenu/application",(async()=>await Ne.get("https://www.pozo.dev/pozo-common-api/application"))),Rk=Ja("appMenu/postCompanyData",(async e=>await fA.post("/appMenu",e))),Qk=Ja("appMenu/putCompanyData",(async e=>await fA.put("/appMenu",e))),Hk=Ja("appMenu/deleteCompanyData",(async e=>{if((null==e?void 0:e.MenuId)&&(null==e?void 0:e.ActiveStatus)&&(null==e?void 0:e.UpdatedBy))return await fA.delete(`/appMenu?MenuId=${null==e?void 0:e.MenuId}&ActiveStatus=${null==e?void 0:e.ActiveStatus}&UpdatedBy=${null==e?void 0:e.UpdatedBy}`)}));Ya({name:"appMenu",initialState:{appData:[],appListData:[]},extraReducers:e=>{e.addCase(Dk.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.appData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.appData=[]})),e.addCase(Ok.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.appListData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.appListData=[]}))}});const Vk="/",zk=[{name:"Home",link:`${Vk}landing-page/home`},{name:"ApplicationMenu",link:`${Vk}setting/app-menu`}],qk="/",Wk=({formType:e})=>{const t=a.useRef(null),n=um(),i=Qt(),r=Mt(),s=null==r?void 0:r.state,l=null==s?void 0:s.editstate,[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState([]),[h,f]=a.useState(l?l.AppId:null),[m,v]=a.useState(l&&"0"!=l.Level1Id?l.Level1Id:null),[g,y]=a.useState(l&&"0"!=l.Level2Id?l.Level2Id:null),[x,b]=a.useState(l&&"0"!=l.Level3Id?l.Level3Id:null),[w,j]=a.useState([]),[C,S]=a.useState([]),[N,F]=a.useState([]),[B,P]=a.useState(l?l.Level:"1"),T=[{name:"Home",link:`${qk}landing-page/home`},{name:"ApplicationMenu",link:`${qk}setting/app-menu`},{name:l?"Edit":"New",link:null}];a.useEffect((()=>{try{!async function(){var e,t,i;const a=await n(Mk()).unwrap();if(1===(null==(e=a.data)?void 0:e.statusCode)){let e=null==(i=null==(t=a.data)?void 0:t.data)?void 0:i.filter((e=>"A"===e.ActiveStatus));A(e)}}(),"edit"===e&&(l?(E(l.AppId),"1"!==l.Level&&_(),0!=l.Level1Id&&D(l.Level1Id),0!=l.Level2Id&&L(l.Level2Id),0!=l.Level3Id&&U(l.Level3Id)):i(`${qk}setting/app-menu`))}catch(t){}}),[]),a.useEffect((()=>{n(Gh({items:T}))}),[]);const E=async e=>{var n;null==(n=t.current)||n.setFieldsValue({AppName:e}),await f(e)},D=async e=>{var i,a,r,s;null==(i=t.current)||i.setFieldsValue({LevelOne:e}),await v(e);const l=await n(Uk({AppId:h,Level:"2",Level1Id:e})).unwrap();if(1===(null==(a=null==l?void 0:l.data)?void 0:a.statusCode)){let e=null==(s=null==(r=null==l?void 0:l.data)?void 0:r.data)?void 0:s.filter((e=>"A"===e.ActiveStatus));S(e)}},L=async e=>{var i,a,r,s;null==(i=t.current)||i.setFieldsValue({LevelTwo:e}),await y(e);const l=await n(_k({AppId:h,Level:"3",Level1Id:m,Level2Id:e})).unwrap();if(1===(null==(a=null==l?void 0:l.data)?void 0:a.statusCode)){let e=null==(s=null==(r=null==l?void 0:l.data)?void 0:r.data)?void 0:s.filter((e=>"A"===e.ActiveStatus));F(e)}},U=async e=>{var n;null==(n=t.current)||n.setFieldsValue({LevelThree:e}),await b(e)},_=async()=>{var e,t,i;const a=await n(Lk({AppId:h,Level:"1"})).unwrap();if(1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)){let e=null==(i=null==(t=null==a?void 0:a.data)?void 0:t.data)?void 0:i.filter((e=>"A"===e.ActiveStatus));j(e)}};return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:o,messageData:c}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Application Menu"})}),Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{ref:t,className:"formDivAnt",onFinish:async t=>{var a,r,s;let o=t;o.CreatedBy=iA("UserId"),o.AppId=t.AppName,o.Level=B,o.Level1Id=t.LevelOne||0,o.Level2Id=t.LevelTwo||0,o.Level3Id=t.LevelThree||0;let c={};"add"===e?c=await n(Rk(o)).unwrap():"edit"===e&&(l&&(o.MenuId=null==l?void 0:l.MenuId),o.UpdatedBy=iA("UserId"),c=await n(Qk(o)).unwrap()),1==(null==(a=null==c?void 0:c.data)?void 0:a.statusCode)?i(`${qk}setting/app-menu/`,{state:{Notiffy:{messageType:"success",messageData:null==(r=null==c?void 0:c.data)?void 0:r.response}}}):(d("error"),u(null==(s=null==c?void 0:c.data)?void 0:s.response))},initialValues:{...l},children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"AppName",rules:[{required:!0,message:"Please Select App Name "}],children:Ye.jsx(_y,{options:null==p?void 0:p.map((e=>({value:e.AppId,label:e.AppName}))),label:Ye.jsx("label",{className:"required",children:"App Name"}),id:"AppName",field:"AppName",fieldState:!0,fieldApi:!0,onChangeFunction:e=>E(e),isOnchanges:"edit"==e,valueData:h,className:"field-DropDown",disabled:!!(null==l?void 0:l.AppId)})}),Ye.jsx(fk,{content:[{value:"1",label:"Level one",disabled:!!l},{value:"2",label:"Level Two",disabled:!!l},{value:"3",label:"Level Three",disabled:!!l},{value:"4",label:"Level Four",disabled:!!l}],fieldState:!0,defaultSelect:B,Header:"Select Level",onSelectFuntion:e=>(async e=>{P(e),"1"!==e&&null!=h&&null!=h&&_()})(e)}),"2"===B||"3"===B||"4"===B?Ye.jsx(I.Item,{name:"LevelOne",rules:[{required:!0,message:"Select Level One Menu Name "}],children:Ye.jsx(_y,{options:null==w?void 0:w.map((e=>({value:e.MenuId,label:e.MenuName}))),label:Ye.jsx("label",{className:"required",children:"Level One Menu"}),id:"LevelOne",onChangeFunction:e=>(async e=>{S([]),y(null),F([]),b(null),D(e)})(e),optionsNames:{value:"MenuId",label:"MenuName"},className:"field-DropDown",isOnchanges:!("edit"!=e&&!m),valueData:m,disabled:!!(null==l?void 0:l.Level1Id)})}):null,"3"===B||"4"===B?Ye.jsx(I.Item,{name:"LevelTwo",rules:[{required:!0,message:"Select Level Two Menu Name "}],children:Ye.jsx(_y,{options:null==C?void 0:C.map((e=>({value:e.MenuId,label:e.MenuName}))),label:Ye.jsx("label",{className:"required",children:"Level Two Menu"}),id:"LevelTwo",onChangeFunction:e=>(async e=>{F([]),b(null),L(e)})(e),isOnchanges:!("edit"!=e&&!m),optionsNames:{value:"MenuId",label:"MenuName"},className:"field-DropDown",valueData:g,disabled:!!(null==l?void 0:l.Level2Id)})}):null,"4"===B?Ye.jsx(I.Item,{name:"LevelThree",rules:[{required:!0,message:"Select Level Three Menu Name "}],children:Ye.jsx(_y,{options:null==N?void 0:N.map((e=>({value:e.MenuId,label:e.MenuName}))),label:Ye.jsx("label",{className:"required",children:"Level Three Menu"}),id:"LevelThree",onChangeFunction:e=>U(e),isOnchanges:!("edit"!=e&&!g),optionsNames:{value:"MenuId",label:"MenuName"},className:"field-DropDown",valueData:x,disabled:!!(null==l?void 0:l.Level3Id)})}):null,Ye.jsx(I.Item,{name:"MenuName",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Menu Name"},{validator:async(e,t)=>(await lA(t),t&&t.length>50?Promise.reject("Menu Name should not exceed 50 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"MenuName",name:"MenuName",label:Ye.jsx("label",{className:"required",children:"Menu Name"}),fieldState:!0,fieldApi:!0,id:"error2",autocomplete:"off",isOnChange:"edit"==e})})]})}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{})})})]})})]})})})},Yk=Ja("priceType/pricingType",(async e=>await fA.get("/pricingType"))),Kk=Ja("priceType/getPricingTypeForm",(async e=>{if(null!=(null==e?void 0:e.appId)&&null!=(null==e?void 0:e.appId)&&null!=(null==e?void 0:e.pricingName)&&null!=(null==e?void 0:e.pricingName))return await fA.get(`/PricingType?appId=${null==e?void 0:e.appId}&pricingName=${null==e?void 0:e.pricingName}`)})),Gk=Ja("priceType/getPricingTag",(async()=>await fA.get("/configMaster?TypeName=Pricing Type"))),$k=Ja("priceType/getTaxdata",(async()=>await fA.get("/adminTax?ActiveStatus=A"))),Xk=Ja("priceType/getCurrData",(async()=>await fA.get("/currency?ActiveStatus=A"))),Jk=Ja("priceType/postPriceType",(async e=>await fA.post("/pricingType",e)));Ja("priceType/putPriceType",(async e=>await fA.put("/pricingType",e)));const Zk=Ja("priceType/deletePriceType",(async e=>await fA.delete(`/pricingType?PricingId=${null==e?void 0:e.PricingId}&ActiveStatus=${null==e?void 0:e.ActiveStatus}&UpdatedBy=${null==e?void 0:e.UpdatedBy}`))),eT=Ja("postPlanChange/userAppMap",(async e=>await fA.post("/userAppMap/PlanChange",e))),tT=Ja("putplanchange/userAppMap",(async e=>await fA.put("/userAppMap/PlanChange",e)));Ja("getUserCredit/userAppMap",(async e=>{if(null!=e&&null!=e)return await fA.get(`/userAppMap/UserCredit?request.userId=${e}`)}));const nT=Ja("feature/getFeatureonType",(async e=>await fA.get("/FeatureAddon"))),iT=Ja("feature/getFeatureonType",(async e=>await fA.put("/FeatureAddon",e))),aT=Ja("feature/getFeatureonType",(async e=>{if(null!=e&&null!=e)return await fA.get(`/FeatureAddon?request.appId=${e}`)})),rT=Ja("feature/deleteFeatureonType",(async e=>await fA.delete(`/FeatureAddon?request.appId=${null==e?void 0:e.appId}&request.updatedBy=${null==e?void 0:e.updatedBy}&request.activeStatus=${null==e?void 0:e.activeStatus}`))),sT=Ja("feature/PostFeatureonType",(async e=>await fA.post("/FeatureAddon",e))),lT=Ja("feature/PostOnlineUserTracking",(async e=>await fA.post("/OnlineUserTracking",e)));Ya({name:"priceType",initialState:{priceData:[]},extraReducers:e=>{e.addCase(Yk.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.priceData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.priceData=[]}))}});const oT=[{name:"Home",link:"/landing-page/home"},{name:"PricingType",link:"/setting/pricing"}],dT="/",cT=({formType:e})=>{const t=a.useRef(null),n=um(),i=Qt(),r=Mt(),s=null==r?void 0:r.state,l=null==s?void 0:s.editstate,[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState([]),[h,f]=a.useState([]),[m,v]=a.useState([]),[g,y]=a.useState([]),[x,b]=a.useState([]),[w,j]=a.useState(null),[C,S]=a.useState(null),[N,F]=a.useState(null),[B,P]=a.useState(null),[T,E]=a.useState(!1),[D,L]=a.useState(!1),[U,_]=a.useState(!1),[O,M]=a.useState(!1),[R,Q]=a.useState(),[H,z]=a.useState(),[q,W]=a.useState(l?l.AppId:null),[Y,K]=a.useState(l&&0!=l.PriceTag?l.PriceTag:null),[G,$]=a.useState(l&&0!=l.PriceTag?l.PriceTag:null),[X,J]=a.useState(l&&0!=l.TaxId?l.TaxId:null),[Z,ee]=a.useState(l&&0!=l.CurrId?l.CurrId:null),[te,ne]=a.useState(l&&0!=l.CurrId?l.CurrId:null),ie=a.useCallback((()=>{u(null),d(null)}),[]),ae=[{name:"Home",link:`${dT}landing-page/home`},{name:"PricingType",link:`${dT}setting/pricing`},{name:l?"Edit":"New",link:null}];a.useEffect((()=>{var a;try{!async function(){var e,t,i;const a=await n(Mk()).unwrap();if(1===(null==(e=a.data)?void 0:e.statusCode)){let e=null==(i=null==(t=a.data)?void 0:t.data)?void 0:i.filter((e=>"A"===e.ActiveStatus));A(e)}}(),"edit"===e&&(l?(re(l.AppId),pe(l.PriceTag),se(l.TaxId),oe(l.CurrId),null==(a=t.current)||a.setFieldsValue(l)):i(`${dT}setting/app-menu/`))}catch(r){}}),[]),a.useEffect((()=>{n(Gh({items:ae}))}),[]);const re=async e=>{var i,a,r,s;null==(i=t.current)||i.setFieldsValue({AppName:e}),W(e);const l=await n($k()).unwrap();if(1===(null==(a=l.data)?void 0:a.statusCode)){let e=null==(s=null==(r=l.data)?void 0:r.data)?void 0:s.filter((e=>"A"===e.ActiveStatus));v(e)}},se=async e=>{var i,a,r,s,l,o,d,c,u,p,A,h,v,g,x,w,C,N,I,B,k,T,E;const D=await n(Gk()).unwrap();if(1===(null==(i=D.data)?void 0:i.statusCode)){let e=null==(r=null==(a=D.data)?void 0:a.data)?void 0:r.filter((e=>"A"===e.ActiveStatus));f(e)}await J(e),null==(s=t.current)||s.setFieldsValue({Tax:e});let L=m.filter((t=>t.TaxId===parseInt(e)));const U=(null==(o=null==(l=t.current)?void 0:l.getFieldsValue())?void 0:o.NetPrice)?Math.round((null==(c=null==(d=t.current)?void 0:d.getFieldsValue())?void 0:c.NetPrice)/118*(null==(u=L[0])?void 0:u.TaxPercentage),2):0,_=parseInt(null==(A=null==(p=t.current)?void 0:p.getFieldsValue())?void 0:A.NetPrice)-parseInt(U);null==(h=t.current)||h.setFieldsValue({TaxAmount:U,Price:_||0}),j(_||0),F(U);const O=(null==(g=null==(v=t.current)?void 0:v.getFieldsValue())?void 0:g.NetPrice2)?Math.round((null==(w=null==(x=t.current)?void 0:x.getFieldsValue())?void 0:w.NetPrice2)/118*(null==(C=L[0])?void 0:C.TaxPercentage),2):0,M=parseInt(null==(I=null==(N=t.current)?void 0:N.getFieldsValue())?void 0:I.NetPrice2)-parseInt(U);null==(B=t.current)||B.setFieldsValue({TaxAmount2:O,Price2:M||0}),S(M||0),P(O);const R=await n(Xk()).unwrap();if(1===(null==(k=R.data)?void 0:k.statusCode)){let e=null==(E=null==(T=R.data)?void 0:T.data)?void 0:E.filter((e=>"A"===e.ActiveStatus));y(e),b(e)}},le=(e,t)=>t?e.TaxPercentage+" %":e.TaxName+" - "+e.TaxPercentage+" % ",oe=async e=>{var n;null==(n=t.current)||n.setFieldsValue({CurrId:e}),ee(e)},de=async e=>{var n;null==(n=t.current)||n.setFieldsValue({CurrId2:e}),ne(e)},ce=async()=>{var e,n,i,a,r;const s=null==(n=null==(e=t.current)?void 0:e.getFieldsValue())?void 0:n.Tax,l=m.find((e=>e.TaxId===s))||{TaxPercentage:0},o=parseInt((null==(a=null==(i=t.current)?void 0:i.getFieldsValue())?void 0:a.NetPrice)||0),d=Math.round(o/118*l.TaxPercentage,2);null==(r=t.current)||r.setFieldsValue({TaxAmount:d,Price:o-d}),j(o-d),F(d)},ue=async()=>{var e,n,i,a,r;const s=null==(n=null==(e=t.current)?void 0:e.getFieldsValue())?void 0:n.Tax,l=s&&m.find((e=>e.TaxId===s))||{TaxPercentage:0},o=parseInt((null==(a=null==(i=t.current)?void 0:i.getFieldsValue())?void 0:a.NetPrice2)||0),d=Math.round(o/118*l.TaxPercentage,2);null==(r=t.current)||r.setFieldsValue({TaxAmount2:d,Price2:o-d}),j(o-d),F(d)},pe=async e=>{var n;null==(n=t.current)||n.setFieldsValue({PriceTag:e}),K(e)},Ae=async e=>{var n;null==(n=t.current)||n.setFieldsValue({PriceTag2:e}),$(e)};return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:o,messageData:c,onComplete:ie}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Pricing Type"})}),Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{ref:t,className:"formDivAnt",onFinish:async e=>{var t,a,r;let s={};if(s.CreatedBy=iA("UserId"),s.AppId=e.AppName,s.PricingName=e.PricingName,1==T&&0==D?s.PricingDetails=[{Price:e.Price,DisplayPrice:e.DisplayPrice,PriceTag:e.PriceTag,TaxId:e.Tax,TaxAmount:e.TaxAmount,NetPrice:e.NetPrice,CurrId:e.CurrId,NoOfDays:`${e.NoOfDays}`,PricingId:void 0===R?null:R}]:1==D&&0==T?s.PricingDetails=[{Price:e.Price2,DisplayPrice:e.DisplayPrice2,PriceTag:e.PriceTag2,TaxId:e.Tax,TaxAmount:e.TaxAmount2,NetPrice:e.NetPrice2,CurrId:e.CurrId2,NoOfDays:"365",PricingId:void 0===H?null:H}]:1==T&&1==D?s.PricingDetails=[{Price:e.Price,DisplayPrice:e.DisplayPrice,PriceTag:e.PriceTag,TaxId:e.Tax,TaxAmount:e.TaxAmount,NetPrice:e.NetPrice,CurrId:e.CurrId,NoOfDays:`${e.NoOfDays}`,PricingId:void 0===R?null:R},{Price:e.Price2,DisplayPrice:e.DisplayPrice2,PriceTag:e.PriceTag2,TaxId:e.Tax,TaxAmount:e.TaxAmount2,NetPrice:e.NetPrice2,CurrId:e.CurrId2,NoOfDays:"365",PricingId:void 0===H?null:H}]:!1===T&&!1===T&&(d("error"),u("Please Select any Plan")),1==T&&0==D||1==D&&0==T||1==T&&1==D){let e=await n(Jk(s)).unwrap();1==(null==(t=null==e?void 0:e.data)?void 0:t.statusCode)?i(`${dT}setting/pricing/`,{state:{Notiffy:{messageType:"success",messageData:null==(a=null==e?void 0:e.data)?void 0:a.response}}}):(d("error"),u(null==(r=null==e?void 0:e.data)?void 0:r.response))}},initialValues:{...l},children:[Ye.jsxs("div",{className:"formDivS",children:[Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"AppName",rules:[{required:!0,message:"Please Select App Name "}],children:Ye.jsx(_y,{options:null==p?void 0:p.map((e=>({value:e.AppId,label:e.AppName}))),label:Ye.jsx("label",{className:"required",children:"App Name"}),id:"AppName",field:"AppName",fieldState:!0,fieldApi:!0,onChangeFunction:e=>re(e),isOnchanges:"edit"==e,valueData:q,optionsNames:{value:"AppId",label:"AppName"},className:"field-DropDown"})}),Ye.jsx(I.Item,{name:"PricingName",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Pricing Name "},{validator:async(e,t)=>(await lA(t),t&&t.length>25?Promise.reject("Pricing Name should not exceed 25 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"PricingName",name:"PricingName",label:Ye.jsx("label",{className:"required",children:"Pricing Name"}),fieldState:!0,fieldApi:!0,id:"error2",autocomplete:"off",onChange:e=>(async()=>{var e,i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P,k,T,D,U,O,R,H,V,W,Y,G,X,J,Z,te,ie,ae,re,le,he,fe,me,ve,ge,ye,xe,be,we,je,Ce,Se,Ne,Ie,Fe,Be,Pe,ke,Te,Ee,De,Le,Ue,_e,Oe,Me,Re,Qe,He,Ve,ze,qe,We;let Ye=null==(e=null==t?void 0:t.current)?void 0:e.getFieldsValue().PricingName;if(Ye.length>2&&null!=q){let e={appId:q,pricingName:null==(i=null==t?void 0:t.current)?void 0:i.getFieldsValue().PricingName},Oe=await n(Kk(e)).unwrap();if(1==(null==(a=null==Oe?void 0:Oe.data)?void 0:a.statusCode)){let e=null==(s=null==(r=null==Oe?void 0:Oe.data)?void 0:r.data)?void 0:s[0];if(se(null==(o=null==(l=null==e?void 0:e.PricingDetails)?void 0:l[0])?void 0:o.TaxId),1==(null==e?void 0:e.PricingDetails.length)&&365!==(null==(c=null==(d=null==e?void 0:e.PricingDetails)?void 0:d[0])?void 0:c.NoOfDays))Q(null==(p=null==(u=null==e?void 0:e.PricingDetails)?void 0:u[0])?void 0:p.PricingId),_(!0),E(!0),ce(),pe(null==(h=null==(A=null==e?void 0:e.PricingDetails)?void 0:A[0])?void 0:h.PriceTag),oe(null==(m=null==(f=null==e?void 0:e.PricingDetails)?void 0:f[0])?void 0:m.CurrId),null==(y=t.current)||y.setFieldsValue({NetPrice:null==(g=null==(v=null==e?void 0:e.PricingDetails)?void 0:v[0])?void 0:g.NetPrice}),null==(w=t.current)||w.setFieldsValue({DisplayPrice:null==(b=null==(x=null==e?void 0:e.PricingDetails)?void 0:x[0])?void 0:b.DisplayPrice}),null==(S=t.current)||S.setFieldsValue({Price:null==(C=null==(j=null==e?void 0:e.PricingDetails)?void 0:j[0])?void 0:C.Price}),null==(F=t.current)||F.setFieldsValue({TaxAmount:null==(I=null==(N=null==e?void 0:e.PricingDetails)?void 0:N[0])?void 0:I.TaxAmount}),null==(k=t.current)||k.setFieldsValue({NoOfDays:null==(P=null==(B=null==e?void 0:e.PricingDetails)?void 0:B[0])?void 0:P.NoOfDays});else if(1==(null==e?void 0:e.PricingDetails.length)&&365===(null==(D=null==(T=null==e?void 0:e.PricingDetails)?void 0:T[0])?void 0:D.NoOfDays))z(null==(O=null==(U=null==e?void 0:e.PricingDetails)?void 0:U[0])?void 0:O.PricingId),M(!0),L(!0),ue(),Ae(null==(H=null==(R=null==e?void 0:e.PricingDetails)?void 0:R[0])?void 0:H.PriceTag),de(null==(W=null==(V=null==e?void 0:e.PricingDetails)?void 0:V[0])?void 0:W.CurrId),null==(X=t.current)||X.setFieldsValue({NetPrice2:null==(G=null==(Y=null==e?void 0:e.PricingDetails)?void 0:Y[0])?void 0:G.NetPrice}),null==(te=t.current)||te.setFieldsValue({DisplayPrice2:null==(Z=null==(J=null==e?void 0:e.PricingDetails)?void 0:J[0])?void 0:Z.DisplayPrice}),null==(re=t.current)||re.setFieldsValue({Price2:null==(ae=null==(ie=null==e?void 0:e.PricingDetails)?void 0:ie[0])?void 0:ae.Price}),null==(fe=t.current)||fe.setFieldsValue({TaxAmount2:null==(he=null==(le=null==e?void 0:e.PricingDetails)?void 0:le[0])?void 0:he.TaxAmount});else if(2==(null==e?void 0:e.PricingDetails.length)){const n=null==(ve=null==(me=null==e?void 0:e.PricingDetails)?void 0:me.filter((e=>365!==e.NoOfDays)))?void 0:ve[0],i=null==(ye=null==(ge=null==e?void 0:e.PricingDetails)?void 0:ge.filter((e=>365===e.NoOfDays)))?void 0:ye[0];Q(null==n?void 0:n.PricingId),z(null==i?void 0:i.PricingId),_(!0),M(!0),E(!0),L(!0),ce(),ue(),pe(null==n?void 0:n.PriceTag),Ae(null==i?void 0:i.PriceTag),oe(n.CurrId),de(null==i?void 0:i.CurrId),null==(xe=t.current)||xe.setFieldsValue({NetPrice:null==n?void 0:n.NetPrice}),null==(be=t.current)||be.setFieldsValue({DisplayPrice:null==n?void 0:n.DisplayPrice}),null==(we=t.current)||we.setFieldsValue({Price:null==n?void 0:n.Price}),null==(je=t.current)||je.setFieldsValue({TaxAmount:null==n?void 0:n.TaxAmount}),null==(Ce=t.current)||Ce.setFieldsValue({NoOfDays:null==n?void 0:n.NoOfDays}),null==(Se=t.current)||Se.setFieldsValue({NetPrice2:null==i?void 0:i.NetPrice}),null==(Ne=t.current)||Ne.setFieldsValue({DisplayPrice2:null==i?void 0:i.DisplayPrice}),null==(Ie=t.current)||Ie.setFieldsValue({Price2:null==i?void 0:i.Price}),null==(Fe=t.current)||Fe.setFieldsValue({TaxAmount2:null==i?void 0:i.TaxAmount})}}else null==(Be=t.current)||Be.setFieldsValue({NetPrice:null}),null==(Pe=t.current)||Pe.setFieldsValue({DisplayPrice:null}),null==(ke=t.current)||ke.setFieldsValue({Price:null}),null==(Te=t.current)||Te.setFieldsValue({TaxAmount:null}),null==(Ee=t.current)||Ee.setFieldsValue({NoOfDays:null}),null==(De=t.current)||De.setFieldsValue({NetPrice2:null}),null==(Le=t.current)||Le.setFieldsValue({DisplayPrice2:null}),null==(Ue=t.current)||Ue.setFieldsValue({Price2:null}),null==(_e=t.current)||_e.setFieldsValue({TaxAmount2:null}),Q(void 0),z(void 0),K(null),$(null),ee(null),ne(null),E(!1),L(!1),M(!1),_(!1)}else 2==Ye.length&&Ye.length<3&&(null==(Oe=t.current)||Oe.setFieldsValue({NetPrice:null}),null==(Me=t.current)||Me.setFieldsValue({DisplayPrice:null}),null==(Re=t.current)||Re.setFieldsValue({Price:null}),null==(Qe=t.current)||Qe.setFieldsValue({TaxAmount:null}),null==(He=t.current)||He.setFieldsValue({NoOfDays:null}),null==(Ve=t.current)||Ve.setFieldsValue({NetPrice2:null}),null==(ze=t.current)||ze.setFieldsValue({DisplayPrice2:null}),null==(qe=t.current)||qe.setFieldsValue({Price2:null}),null==(We=t.current)||We.setFieldsValue({TaxAmount2:null}),K(null),$(null),ee(null),ne(null),E(!1),L(!1))})(),isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"Tax",rules:[{required:!0,message:"Please Select Tax "}],children:Ye.jsx(_y,{options:null==m?void 0:m.map((e=>({value:e.TaxId,label:le(e,X===e.TaxId)}))),label:Ye.jsx("label",{className:"required",children:"Tax"}),id:"Tax",field:"Tax",fieldState:!0,fieldApi:!0,onChangeFunction:e=>se(e),isOnchanges:"edit"==e,valueData:X,optionsNames:{value:"TaxId",label:"TaxName"},className:"field-DropDown"})})]}),Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx("div",{style:{width:"100%"},children:Ye.jsx(V,{style:{padding:"0px 0px 62px 0px"},value:"Monthly",checked:T,onChange:()=>{E(!0!==T)},children:"Monthly"})}),Ye.jsx(I.Item,{name:"NetPrice",rules:[1==T?{required:!0,validator:(e,t)=>t>=0&&null!=t&&null!=t?Promise.resolve():Promise.reject("Please Enter Valid Net Price ")}:{required:!1}],children:Ye.jsx(Oy,{field:"NetPrice",name:"Net Price",type:"number",label:Ye.jsx("label",{className:"required",children:"Net Price"}),fieldState:!0,fieldApi:!0,onChange:ce,id:"error2",autocomplete:"off",isOnChange:1==U})}),Ye.jsx(I.Item,{name:"DisplayPrice",rules:[1==T?{required:!0,validator:(e,t)=>t>=0&&null!=t&&null!=t?Promise.resolve():Promise.reject("Enter Valid Display Price ")}:{required:!1}],children:Ye.jsx(Oy,{field:"DisplayPrice",name:"DisplayPrice",type:"number",label:Ye.jsx("label",{className:"required",children:"Display Price"}),fieldState:!0,fieldApi:!0,id:"error2",autocomplete:"off",isOnChange:1==U})}),Ye.jsx(I.Item,{name:"PriceTag",rules:[1==T?{required:!0,validator:(e,t)=>t>=0&&null!=t&&null!=t&&null!=Y?Promise.resolve():Promise.reject("Select Price Tag ")}:{required:!1}],children:Ye.jsx(_y,{options:null==h?void 0:h.map((e=>({value:e.ConfigId,label:e.ConfigName}))),label:Ye.jsx("lable",{className:"required",children:"Price Tag"}),id:"PriceTag",field:"PriceTag",fieldState:!0,fieldApi:!0,onChangeFunction:e=>pe(e),isOnChange:1==U,valueData:Y,optionsNames:{value:"ConfigId",label:"ConfigName"},className:"field-DropDown"})}),Ye.jsx(I.Item,{name:"Price",rules:[1==T?{required:!0,validator:(e,t)=>t>=0&&null!=t&&null!=t?Promise.resolve():Promise.reject(" Valid Price is Required ")}:{required:!1}],children:Ye.jsx(Oy,{field:"Price",name:"Price",type:"number",label:Ye.jsx("label",{className:"required",children:"Price"}),fieldState:!0,fieldApi:!0,id:"error2",autocomplete:"off",isOnChange:null!=w,disabled:!0})}),Ye.jsx(I.Item,{name:"TaxAmount",rules:[1==T?{required:!0,validator:(e,t)=>t>=0&&null!=t&&null!=t?Promise.resolve():Promise.reject("Valid Tax Amount is Required ")}:{required:!1}],children:Ye.jsx(Oy,{field:"TaxAmount",name:"Tax Amount",type:"number",label:Ye.jsx("label",{className:"required",children:"Tax Amount"}),fieldState:!0,fieldApi:!0,disabled:!0,id:"error2",autocomplete:"off",isOnChange:null!=N})}),Ye.jsx(I.Item,{name:"CurrId",rules:[1==T?{required:!0,validator:(e,t)=>t>=0&&null!=t&&null!=t&&null!=Z?Promise.resolve():Promise.reject("Select Valid Currency ")}:{required:!1}],children:Ye.jsx(_y,{options:null==g?void 0:g.map((e=>({value:e.CurrId,label:e.CurrName}))),label:Ye.jsx("label",{className:"required",children:"Currency"}),id:"CurrId",field:"CurrId",fieldState:!0,fieldApi:!0,onChangeFunction:e=>oe(e),isOnChange:1==U,valueData:Z,optionsNames:{value:"CurrId",label:"CurrName"},className:"field-DropDown"})}),Ye.jsx(I.Item,{name:"NoOfDays",rules:[1==T?{required:!0,validator:(e,t)=>t>0&&t<365?Promise.resolve():t<=0?Promise.reject("Please enter a number of days more than 0."):Promise.reject("Please enter a number of days less than 365.")}:{required:!1}],children:Ye.jsx(Oy,{field:"NoOfDays",name:"NoOfDays",type:"number",label:Ye.jsx("label",{className:"required",children:"No of Days"}),fieldState:!0,fieldApi:!0,id:"error2",autocomplete:"off",isOnChange:1==U})})]}),Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx("div",{style:{width:"100%"},children:Ye.jsx(V,{style:{padding:"0px 0px 62px 0px",width:"100%"},value:"Yearly",checked:D,onChange:()=>{L(!0!==D)},children:"Yearly"})}),Ye.jsx(I.Item,{name:"NetPrice2",rules:[1==D?{required:!0,validator:(e,t)=>t>=0&&null!=t&&null!=t?Promise.resolve():Promise.reject("Please Enter Valid Net Price ")}:{required:!1}],children:Ye.jsx(Oy,{field:"NetPrice2",name:"Net Price2",type:"number",label:Ye.jsx("label",{className:"required",children:"Net Price"}),fieldState:!0,fieldApi:!0,onChange:ue,id:"error2",autocomplete:"off",isOnChange:1==O})}),Ye.jsx(I.Item,{name:"DisplayPrice2",rules:[1==D?{required:!0,validator:(e,t)=>t>=0&&null!=t&&null!=t?Promise.resolve():Promise.reject("Enter Valid Display Price ")}:{required:!1}],children:Ye.jsx(Oy,{field:"DisplayPrice",name:"DisplayPrice",type:"number",label:Ye.jsx("label",{className:"required",children:"Display Price"}),fieldState:!0,fieldApi:!0,id:"error2",autocomplete:"off",isOnChange:1==O})}),Ye.jsx(I.Item,{name:"PriceTag2",rules:[1==D?{required:!0,validator:(e,t)=>t>=0&&null!=t&&null!=t&&null!=G?Promise.resolve():Promise.reject("Select Price Tag")}:{required:!1}],children:Ye.jsx(_y,{options:null==h?void 0:h.map((e=>({value:e.ConfigId,label:e.ConfigName}))),label:Ye.jsx("label",{className:"required",children:"Price Tag"}),id:"PriceTag",field:"PriceTag",fieldState:!0,fieldApi:!0,onChangeFunction:e=>Ae(e),isOnChange:1==O,valueData:G,optionsNames:{value:"ConfigId",label:"ConfigName"},className:"field-DropDown"})}),Ye.jsx(I.Item,{name:"Price2",rules:[1==D?{required:!0,validator:(e,t)=>t>=0&&null!=t&&null!=t?Promise.resolve():Promise.reject(" Valid Price is Required ")}:{required:!1}],children:Ye.jsx(Oy,{field:"Price",name:"Price",type:"number",label:Ye.jsx("label",{className:"required",children:"Price"}),fieldState:!0,fieldApi:!0,id:"error2",autocomplete:"off",isOnChange:null!=C,disabled:!0})}),Ye.jsx(I.Item,{name:"TaxAmount2",rules:[1==D?{required:!0,validator:(e,t)=>t>=0&&null!=t&&null!=t?Promise.resolve():Promise.reject("Valid Tax Amount is Required ")}:{required:!1}],children:Ye.jsx(Oy,{field:"TaxAmount",name:"Tax Amount",type:"number",label:Ye.jsx("label",{className:"required",children:"Tax Amount"}),fieldState:!0,fieldApi:!0,disabled:!0,id:"error2",autocomplete:"off",isOnChange:null!=B})}),Ye.jsx(I.Item,{name:"CurrId2",rules:[1==D?{required:!0,validator:(e,t)=>t>=0&&null!=t&&null!=t&&null!=te?Promise.resolve():Promise.reject("Selcet the Currency")}:{required:!1}],children:Ye.jsx(_y,{options:null==x?void 0:x.map((e=>({value:e.CurrId,label:e.CurrName}))),label:Ye.jsx("label",{className:"required",children:"Currency"}),id:"CurrId",field:"CurrId",fieldState:!0,fieldApi:!0,onChangeFunction:e=>de(e),isOnChange:1==O,valueData:te,optionsNames:{value:"CurrId",label:"CurrName"},className:"field-DropDown"})})]})]}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{})})})]})})]})})})},uT=Ja("carousel/getCarouselData",(async()=>await fA.get("/carousel"))),pT=Ja("carousel/deleteCarouselData",(async e=>await fA.delete("/carousel",{params:e}))),AT=Ja("carousel/postCarouselData",(async e=>await fA.post("/carousel",e))),hT=Ja("carousel/putCarouselData",(async e=>await fA.put("/carousel",e))),fT=Ja("configMaster/getConfigNames",(async()=>await fA.get("/configMaster?ActiveStatus=A&TypeName=Screen Name"))),mT=Ya({name:"carousel",initialState:{carouselData:[],ConfigNames:[]},extraReducers:e=>{e.addCase(uT.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.carouselData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.carouselData=[]})),e.addCase(fT.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.ConfigNames=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.ConfigNames=[]}))}}),vT=e=>{var t;return null==(t=e.carouselPage)?void 0:t.carouselData},gT=e=>{var t;return null==(t=e.carouselPage)?void 0:t.ConfigNames},yT=mT.reducer,xT=[{name:"Home",link:"/landing-page/home"}],bT=Ja("feature/featureCategory",(async()=>await fA.get("/configMaster?TypeName=Feature Category"))),wT=Ja("feature/FeatureType",(async()=>await fA.get("/configMaster?TypeName=Feature Type"))),jT=Ja("feature/getFeature",(async()=>await fA.get("/feature"))),CT=Ja("feature/getFeature",(async e=>{if(null!=e&&null!=e)return await fA.get(`/feature?appId=${e}&activeStatus=A`)})),ST=Ja("feature/getUserData",(async()=>Ne.get("https://www.pozo.dev/pozo-common-api/application?activeStatus=A"))),NT=Ja("feature/postFeature",(async e=>await fA.post("/feature",e))),IT=Ja("feature/putFeature",(async e=>await fA.put("/feature",e))),FT=Ja("feature/deleteFeature",(async e=>{if((null==e?void 0:e.FeatId)&&(null==e?void 0:e.ActiveStatus)&&(null==e?void 0:e.UpdatedBy))return await fA.delete(`/feature?FeatId=${null==e?void 0:e.FeatId}&ActiveStatus=${null==e?void 0:e.ActiveStatus}&UpdatedBy=${null==e?void 0:e.UpdatedBy}`)})),BT=Ja("feature/postFeatureAddon",(async e=>await fA.post("/UAMFeatAddon",e))),PT=Ja("feature/NewGetFeatAddon",(async e=>{if(null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId))return fA.get(`/UserAppMap?userId=${null==e?void 0:e.UserId}&type=IE`)}));Ya({name:"feature",initialState:{featureData:[],featureDataDetails:[]},extraReducers:e=>{e.addCase(jT.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.featureData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.featureData=[]})),e.addCase(CT.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.featureDataDetails=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.featureDataDetails=[]}))}});const kT="/",TT=[{name:"Home",link:`${kT}landing-page/home`},{name:"Feature",link:`${kT}setting/feature-master`}],ET="/",DT=({formType:e})=>{const t=a.useRef(null),n=um(),i=Qt(),r=Mt(),s=null==r?void 0:r.state,l=null==s?void 0:s.editstate,[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState([]),[h,f]=a.useState([]),[m,v]=a.useState(l&&0!=l.CoreAddon?l.CoreAddon:"2"),[g,y]=a.useState(l?l.AppId:null),[x,b]=a.useState(),[w,j]=a.useState(l?l.FeatIcon:null);a.useState();const[C,S]=a.useState(l?l.FeatType:null),[N,F]=a.useState(l&&0!=l.FeatCat?l.FeatCat:null),B=[{name:"Home",link:`${ET}landing-page/home`},{name:"Feature",link:`${ET}setting/feature-master/`},{name:l?"Edit":"New",link:null}];a.useEffect((()=>{var a;(async()=>{var e,t,i;const a=await n(bT()).unwrap();if(1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)){let e=null==(i=null==(t=null==a?void 0:a.data)?void 0:t.data)?void 0:i.filter((e=>"A"===e.ActiveStatus));A(e)}})(),P(),"edit"===e&&(l?(T(l.FeatCat),E(l.FeatType),null==(a=t.current)||a.setFieldsValue(l)):i(`${ET}setting/feature-master/`)),n(Gh({items:B}))}),[]);const P=async()=>{var e,t;let i=await n(ST()).unwrap();(null==(e=i.data)?void 0:e.statusCode)&&b(null==(t=null==i?void 0:i.data)?void 0:t.data)},T=async e=>{var i,a,r,s;null==(i=t.current)||i.setFieldsValue({FeatCat:e}),F(e);const l=await n(wT()).unwrap();if(1===(null==(a=l.data)?void 0:a.statusCode)){let e=null==(s=null==(r=l.data)?void 0:r.data)?void 0:s.filter((e=>"A"===e.ActiveStatus));f(e)}},E=async e=>{var n;null==(n=t.current)||n.setFieldsValue({FeatType:e}),S(e)};return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:o,messageData:c}),Ye.jsxs("div",{className:"formName",children:[Ye.jsx(ab,{title:"Feature"}),Ye.jsx("p",{className:"formdes"})]}),Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{ref:t,className:"formDivAnt",onFinish:async t=>{var a,r,s;let o=t;o.CreatedBy=iA("UserId");let c={};"add"===e?(o.FeatId=t.FeatId,o.CoreAddon=t.CoreAddon?t.CoreAddon:m,o.FeatIcon=w,c=await n(NT(o)).unwrap()):"edit"===e&&(l&&(o.FeatId=l.FeatId,o.FeatIcon=w),o.UpdatedBy=iA("UserId"),c=await n(IT(o)).unwrap()),1==(null==(a=null==c?void 0:c.data)?void 0:a.statusCode)?i(`${ET}setting/feature-master/`,{state:{Notiffy:{messageType:"success",messageData:null==(r=null==c?void 0:c.data)?void 0:r.response}}}):(d("error"),u(null==(s=null==c?void 0:c.data)?void 0:s.response))},children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select App Name"}],children:Ye.jsx(_y,{options:null==x?void 0:x.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"App Name",label:Ye.jsx("label",{className:"required",children:"App Name"}),optionsNames:{value:"ConfigId",label:"ConfigName"},className:"field-DropDown",onChangeFunction:e=>(async e=>{var n;null==(n=t.current)||n.setFieldsValue({AppId:e}),y(e)})(e),isOnchanges:"edit"==e,valueData:g})}),Ye.jsx(I.Item,{name:"FeatCat",rules:[{required:!0,message:"Please Select Feature Category"}],children:Ye.jsx(_y,{options:null==p?void 0:p.map((e=>({value:e.ConfigId,label:e.ConfigName}))),placeholder:"FeatCat",label:Ye.jsx("label",{className:"required",children:"Feature Category"}),optionsNames:{value:"ConfigId",label:"ConfigName"},className:"field-DropDown",onChangeFunction:e=>T(e),isOnchanges:"edit"==e,valueData:N})}),Ye.jsx(I.Item,{name:"FeatName",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Feature Name"},{validator:async(e,t)=>(await lA(t),t&&t.length>30?Promise.reject("Feature Name should not exceed 30 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"FeatName",name:"test",label:Ye.jsx("label",{className:"required",children:"Feature Name"}),fieldState:!0,fieldApi:!0,id:"error2",autocomplete:"off",isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"FeatType",rules:[{required:!0,message:"Please Select Feature Type"}],children:Ye.jsx(_y,{options:null==h?void 0:h.map((e=>({value:e.ConfigId,label:e.ConfigName}))),placeholder:"Feat Type",label:Ye.jsx("label",{className:"required",children:"Feature Type"}),optionsNames:{value:"ConfigId",label:"ConfigName"},className:"field-DropDown",onChangeFunction:e=>E(e),isOnchanges:"edit"==e,valueData:C})}),Ye.jsx(I.Item,{name:"FeatConstraint",rules:[{validator:(e,t)=>!t||t<0?Promise.reject("Please Enter a Valid Feature Constraint"):/^\d{1,16}$/.test(t)?Promise.resolve():Promise.reject("Enter a valid number (max 16 digits)")}],children:Ye.jsx(Oy,{field:"FeatConstraint",name:"Feature Constraint",type:"number",label:Ye.jsx("label",{className:"required",children:"Feature Constraint"}),fieldState:!0,fieldApi:!0,id:"error2",autocomplete:"off",isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"FeatDescription",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Description"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(My,{field:"FeatDescription",name:"test",label:Ye.jsx("label",{className:"required",children:"Feature Description"}),className:"Input",fieldState:!0,fieldApi:!0,autocomplete:"off",isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"CoreAddon",children:Ye.jsx("li",{className:"drp_btn",children:Ye.jsx(fk,{content:[{value:"1",label:"Core"},{value:"2",label:"Add-on"},{value:"3",label:"Package"}],fieldState:!0,defaultSelect:m,Header:"Select Core/Addon/Package"})})}),Ye.jsxs("div",{className:"upload_btn",children:[Ye.jsx("p",{children:"Upload Icon"}),Ye.jsx(Yy,{singleImage:!0,updateImageUrl:j,ImageLink:(null==l?void 0:l.FeatIcon)?null==l?void 0:l.FeatIcon:""})]})]})}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{})})})]})})]})})})},LT=Ja("user/getFilterUserDataBasedOnLocation",(async e=>await fA.get(`/User/UserLocation?branchId=${e.branchId}&latitude=${e.latitude}&longitude=${e.longitude}`))),UT=Ja("user/getUserData",(async()=>await fA.get("/user?UserType=E"))),_T=Ja("user/getAllUserData",(async e=>await fA.get(`/user?UserType=${e}`))),OT=Ja("user/getUserData",(async e=>{if(null!=e&&null!=e)return await fA.get(`/user?UserType=A&UserId=${e}`)})),MT=Ja("user/getBasedAdminUserData",(async e=>{if(null!=e&&null!=e)return await fA.get(`/user?UserType=A&UserId=${e}`)})),RT=Ja("user/postUserData",(async e=>await fA.post("/user",e))),QT=Ja("user/putUserData",(async e=>await fA.put("/user",e))),HT=Ja("user/deleteUserData",(async e=>await fA.delete("/user",{params:e}))),VT=Ja("user/putResetUserData",(async e=>await fA.put("/User/ResetPinPassword",e))),zT=Ja("user/postResetPinPasswordSms",(async e=>await mA.post("/ResetPinPasswordSms",e))),qT=Ja("user/postResetPinPasswordEmail",(async e=>await mA.post("/ResetPinPasswordEmail",e))),WT=Ja("sendSms/sendSms",(async e=>await mA.post("/OTPSms",e))),YT=Ja("OTPEmail/OTPEmail",(async e=>await mA.post("/OTPEmail",e))),KT=Ja("UserExistCheck/checkUserExistsAsEmployeeInOther",(async e=>{if((null==e?void 0:e.MobileNo)&&(null==e?void 0:e.BranchId))return await fA.get(`/UserRelievInfo?mobileNo=${null==e?void 0:e.MobileNo}&BranchId=${null==e?void 0:e.BranchId}`)})),GT=Ja("postReleiveRequest/postReleiveRequest",(async e=>{if(e)return await fA.post("/UserRelievInfo",e)})),$T=Ja("getupiotp",(async e=>{if(null!=(null==e?void 0:e.MobileNo)&&null!=(null==e?void 0:e.MobileNo)&&null!=(null==e?void 0:e.OTP)&&null!=(null==e?void 0:e.OTP))return await hA.get(`/upiVerify?MobileNo=${null==e?void 0:e.MobileNo}&OTP=${null==e?void 0:e.OTP}`)})),XT=Ja("sendupiotp",(async e=>await hA.post("/upiVerify",e))),JT=Ya({name:"user",initialState:{userData:[]},extraReducers:e=>{e.addCase(UT.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.userData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.userData=[]}))}}),ZT=e=>{var t;return null==(t=e.userPage)?void 0:t.userData},eE=JT.reducer,tE=({mobileNo:e,open:t,onClose:n,userId:i,ChangeMobileFun:r,SuccessOtp:s,close:l})=>{const o=um(),[d,c]=a.useState({otp1:"",otp2:"",otp3:"",otp4:""}),[u,p]=a.useState(!1),[A,h]=a.useState(!1),[f,m]=a.useState(null),[v,g]=a.useState(!0),[y,x]=a.useState(null),[b,w]=a.useState(null);a.useEffect((()=>{if(0===f&&(g(!1),m(null)),!f)return;const e=setInterval((()=>{m(f-1)}),1e3);return()=>clearInterval(e)}),[f]);a.useEffect((()=>{j()}),[d]);const j=async()=>{var t;const n=Object.values(d).join("");if(4===n.length){let i={MobileNo:e,OTP:n},a=await o($T(i)).unwrap();1===(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)?(x("success"),w("Mobile number verified successfully"),c({otp1:"",otp2:"",otp3:"",otp4:""}),m(null),h(!1),p(!1),s()):(x("error"),w("Please enter correct OTP"))}},C=e=>{var t,n;if("Backspace"===e.key||"Delete"===e.key){const n=e.target.tabIndex-2;n>=0&&(null==(t=e.target.form.elements[n])||t.focus())}else{const t=e.target.tabIndex;t<4&&(null==(n=e.target.form.elements[t])||n.focus())}},S=async()=>{var t;const n={MobileNo:e,CreatedBy:i};try{let e=await o(XT(n)).unwrap();1===(null==(t=null==e?void 0:e.data)?void 0:t.statusCode)&&(h(!0),p(!0),m(30))}catch(a){}},N=a.useCallback((()=>{w(null),x(null)}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:y,messageData:b,onComplete:N}),Ye.jsxs(SP,{title:Ye.jsx("div",{className:"EditQuantity-title",children:"Verify Mobile"}),open:t,width:300,footer:null,handleCancel:()=>{l(!1)},children:[Ye.jsxs("div",{style:{textAlign:"center",marginBottom:"1rem"},children:[Ye.jsxs("p",{style:{fontSize:"16px",fontWeight:"500",marginBottom:"8px"},children:[Ye.jsx("span",{style:{color:"#1890ff"},children:e}),Ye.jsx("span",{style:{padding:"18px 5px",backgroundColor:"#f0f0f0",cursor:"pointer"},onClick:()=>{c({otp1:"",otp2:"",otp3:"",otp4:""}),m(null),h(!1),p(!1),r()},children:"✏️"})]}),Ye.jsx("div",{style:{display:"flex",justifyContent:"center",gap:"10px",flexWrap:"wrap"},children:!A&&Ye.jsx("button",{onClick:S,style:{padding:"6px 12px",backgroundColor:"#1890ff",color:"#fff",border:"none",borderRadius:"4px",cursor:"pointer"},children:"🔄 Send OTP"})})]}),u&&Ye.jsx(I,{className:"otpWrapper",children:Ye.jsx("div",{className:"otpModule",children:["otp1","otp2","otp3","otp4"].map(((e,t)=>Ye.jsx("input",{name:e,type:"text",className:"otpModuleInput",autoComplete:"one-time-code",inputMode:"numeric",pattern:"[0-9]*",value:d[e],onChange:t=>{const n=t.target.value;/^\d?$/.test(n)&&((e,t)=>{c((n=>({...n,[e]:t.target.value})))})(e,t)},tabIndex:t+1,maxLength:"1",onKeyUp:C},e)))})}),Ye.jsx("div",{className:"timersecdiv",children:A&&null!=f?Ye.jsxs("div",{className:"timersecsubdiv",children:[Ye.jsx(z,{}),Ye.jsxs("div",{style:{color:f<=10?"#FF4D4F":"#52C41A"},children:["0 : ",f<10?"0"+f:f]})]}):A?Ye.jsx(Ry,{buttonText:"Resend OTP",style:{width:"5rem"},handleSubmit:S,icon:Ye.jsx(k,{})}):""})]})]})},nE="/",iE=({formType:e})=>{var t,n,i,r;const s=Qt(),l=Mt(),o=null==l?void 0:l.state,d=null==o?void 0:o.editstate,c=a.useRef(null),u=a.useRef(null),p=um(),[A,h]=a.useState(null),[f,m]=a.useState(null),[v,y]=a.useState(!1),[x,b]=a.useState(iA("UserType")?iA("UserType"):null),[w,j]=a.useState(iA("UserId")?iA("UserId"):null),[C,S]=a.useState(),[N,B]=a.useState(null),[P,T]=a.useState(),[E,D]=a.useState(null),[L,U]=a.useState(!1),[_,O]=a.useState(""),[M,R]=a.useState([]),[Q,H]=a.useState([]),[V,z]=a.useState(null),[Y,K]=a.useState([]),[G,$]=a.useState([]),[X,J]=a.useState([]),[Z,ee]=a.useState([]),[te,ne]=a.useState([]),[ie,ae]=a.useState(!0),re=Tf(Gg),[se,le]=a.useState(!1),[oe,de]=a.useState(null),[ce,ue]=a.useState(null),[pe,Ae]=a.useState(!1),[he,fe]=a.useState(null),[me,ve]=a.useState(null),[ge,ye]=a.useState(!1),[xe,be]=a.useState(!1),[we,je]=a.useState(!1),[Ce,Se]=a.useState(!1),[Ne,Ie]=a.useState(!1),[Fe,Be]=a.useState(!1);let Pe;Pe="edit"!=e&&"Super Admin User"==x||("Super Admin User"!=x||"add"==e);const ke=[{name:"Home",link:`${nE}landing-page/home`},{name:"UserCreation",link:`${nE}setting/user-master/`},{name:d?"Edit":"New",link:null}];a.useEffect((()=>{null!=N&&null!=E&&"edit"!=e&&Oe(N,E)}),[G]);const Te=async()=>{var e,t,n;const i=await p(db()).unwrap();if(1===(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)){let e=null==(n=null==(t=null==i?void 0:i.data)?void 0:t.data)?void 0:n.filter((e=>"Super Admin"!=e.ConfigName&&"Public"!=e.ConfigName));H(e)}};a.useEffect((()=>{p(Gh({items:ke})),"Super Admin"===x?Te():(Te(),p(cb(w)).unwrap(),p(py()).unwrap()),d&&((null==d?void 0:d.Zip)&&le(!0),z(null==d?void 0:d.UserTypeName),O(null==d?void 0:d.UserImage),S(d.CompId),T(d.BranchId),ae(!1),de(0),ue(0))}),[]),a.useEffect((()=>{"Admin"===x&&Ue(w)}),[]),a.useEffect((()=>{if(C){const e=Z.filter((e=>e.CompId===C));R(e)}else R([])}),[C]);const Ee=a.useCallback((()=>{m(null),h(null)}),[]),De=async(e,t,n)=>{var i,a,r,s,l,o,d,u,A,h,f,m,v;S(e),null==(i=c.current)||i.setFieldsValue({CompId:e});let g=await p(by({UserId:n,AppId:t,CompId:e})).unwrap();1===(null==(a=null==g?void 0:g.data)?void 0:a.statusCode)?(await ee(null==(s=null==(r=null==g?void 0:g.data)?void 0:r.data)?void 0:s.filter((e=>"D"!==e.ActiveStatus))),0==(null==(o=null==(l=null==g?void 0:g.data)?void 0:l.data)?void 0:o.filter((e=>"D"!==e.ActiveStatus)).length)&&(null==(d=null==c?void 0:c.current)||d.setFieldsValue({BranchId:null})),1===(null==(A=null==(u=null==g?void 0:g.data)?void 0:u.data)?void 0:A.length)&&(0==(null==(f=null==(h=null==g?void 0:g.data)?void 0:h.data)?void 0:f.filter((e=>"D"!==e.ActiveStatus)).length)?await Le():(je(!0),await Le(null==(v=null==(m=null==g?void 0:g.data)?void 0:m.data[0])?void 0:v.BrId)))):ee([])},Le=async e=>{var t;null==(t=c.current)||t.setFieldsValue({BranchId:e}),await T(e)},Ue=async e=>{var t,n,i,a,r,s,l;D(null),J([]),ee([]),S(),T(),null==(t=c.current)||t.setFieldsValue({AdminId:e}),B(e);let o=await p(jy(e)).unwrap();1===(null==(n=null==o?void 0:o.data)?void 0:n.statusCode)?(await $(null==(i=null==o?void 0:o.data)?void 0:i.data),1===(null==(r=null==(a=null==o?void 0:o.data)?void 0:a.data)?void 0:r.length)&&(ye(!0),await _e(e,null==(l=null==(s=null==o?void 0:o.data)?void 0:s.data[0])?void 0:l.AppId))):$([])},_e=async(e,t)=>{var n,i,a,r,s,l,o,d;await D(t),null==(n=c.current)||n.setFieldsValue({AppId:t});let u=await p(wy({UserId:e,AppId:t})).unwrap();1===(null==(i=null==u?void 0:u.data)?void 0:i.statusCode)?(await J(null==(r=null==(a=null==u?void 0:u.data)?void 0:a.data)?void 0:r.filter((e=>"D"!==e.ActiveStatus))),1===(null==(l=null==(s=null==u?void 0:u.data)?void 0:s.data)?void 0:l.length)&&(be(!0),await De(null==(d=null==(o=null==u?void 0:u.data)?void 0:o.data[0])?void 0:d.CompId,t,e))):J([])},Oe=async(t,n)=>{var i,a,r,l,o,d,c=[];if(1==(null==(i=null==(c="Admin"===x||"Admin User"===x?await p(vb({UserId:t,AppId:n})).unwrap():await p(vb({UserId:N,AppId:n})).unwrap())?void 0:c.data)?void 0:i.statusCode)&&"edit"!=e){const e=null==(a=c.data)?void 0:a.data[0],t=null==(l=null==(r=c.data)?void 0:r.data)?void 0:l.length;let n=null==(o=null==e?void 0:e.FeatureDetails)?void 0:o.filter((e=>"User"===e.FeatName?e.FeatConstraint:0)),i=n.length>0?null==(d=n[0])?void 0:d.FeatConstraint:0;e?"FREE"==e.PricingName.toUpperCase()&&e.UserCount+1>=1?t>1?ae(!0):(ae(!0),setTimeout((function(){s(`${nE}setting/user-master/`,{state:{Notiffy:{messageType:"error",messageData:"Your Trial Period is Expired Please Choose Extend Pack To Add User"}}},700)}))):"FREE"!=e.PricingName.toUpperCase()?(ae(!1),i<=e.UserCount+1&&(ae(!0),setTimeout((function(){s(`${nE}setting/user-master/`,{state:{Notiffy:{messageType:"error",messageData:"Your Feature Constraint is Completed!"}}},700)})))):ae(!1):ae(!1)}else ne([]),setTimeout((function(){s(`${nE}setting/user-master/`,{state:{Notiffy:{messageType:"error",messageData:"Your Trial Period is Expired Please Choose Extend Pack To Add User"}}},700)}))},Me=async e=>{var t;let n="";await fetch(`https://api.postalpincode.in/pincode/${e}`).then((e=>e.text())).then((e=>n=JSON.parse(e))),"Success"===n[0].Status?(le(!0),null==(t=c.current)||t.setFieldsValue({City:n[0].PostOffice[0].Block,Dist:n[0].PostOffice[0].District,State:n[0].PostOffice[0].State})):"Error"===n[0].Status&&(m(n[0].Message),h("error"),le(!1))};return Ye.jsxs("div",{className:"pageOverAll",children:[Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:A,messageData:f,onComplete:Ee}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"User Creation"})}),Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{ref:c,className:"formDivAnt",onFinish:async t=>{var n,i,a;if(!se)return h("error"),void m("Invalid ZipCode");let r={Password:null==d?void 0:d.Password,Pin:null==d?void 0:d.Pin},l=d&&"Super Admin User"==x?{...t,...r}:t,o=Q.filter((e=>"Employee"===e.ConfigName));l.UserImage=_,l.UserType=(null==t?void 0:t.UserType)?null==t?void 0:t.UserType:o.length>0?o[0].ConfigId:null,l.CreatedBy=iA("UserId");let c={};"add"===e?c=await p(RT(l)).unwrap():"edit"===e&&(d&&(l.CompId=null==d?void 0:d.CompId,l.BranchId=null==d?void 0:d.BranchId,l.AddId=(null==d?void 0:d.AddId)||0),l.UserId=null==d?void 0:d.UserId,l.UpdatedBy=iA("UserId"),c=await p(QT(l)).unwrap()),1==(null==(n=null==c?void 0:c.data)?void 0:n.statusCode)?s(`${nE}setting/user-master/`,{state:{Notiffy:{messageType:"success",messageData:null==(i=null==c?void 0:c.data)?void 0:i.response}}}):(h("error"),m(null==(a=null==c?void 0:c.data)?void 0:a.response))},initialValues:{...d,UserImage:null==d?void 0:d.UserImage},children:[Ye.jsxs("div",{className:"formDivS",children:[Ye.jsxs("div",{className:"inputForm",children:["Super Admin"===x||"Super Admin User"===x?Ye.jsx(I.Item,{name:"UserType",rules:[{required:!0,message:"Please Select User Type"}],children:Ye.jsx(_y,{options:null==Q?void 0:Q.map((e=>({value:e.ConfigId,label:e.ConfigName}))),placeholder:"User Type",label:"User Type",className:"field-DropDown",isOnchanges:!("edit"!=e&&!V),onChangeFunction:async e=>{var t,n,i,a,r,s,l,o;null==(t=c.current)||t.setFieldsValue({UserType:e});let d=Q.filter((t=>(null==t?void 0:t.ConfigId)===e));z(d.length>0?null==(n=d[0])?void 0:n.ConfigName:null);let u=await p(Ay()).unwrap();1===(null==(i=null==u?void 0:u.data)?void 0:i.statusCode)&&(K(null==(a=null==u?void 0:u.data)?void 0:a.data),1===(null==(s=null==(r=null==u?void 0:u.data)?void 0:r.data)?void 0:s.length)&&Ue(null==(o=null==(l=null==u?void 0:u.data)?void 0:l.data[0])?void 0:o.UserId))},valueData:V,disabled:"edit"==e})}):null,"Super Admin"!==x&&"Super Admin User"!==x||"Super Admin User"==V||"Admin"==V||"Marketing"==V||"edit"==e?null:Ye.jsx(I.Item,{name:"AdminId",rules:[{required:!0,message:"Please Select Admin"}],children:Ye.jsx(_y,{options:null==Y?void 0:Y.map((e=>({value:e.UserId,label:""!=e.UserName&&null!=e.UserName&&null!=e.UserName?e.UserName:e.MobileNo}))),placeholder:"Admin",label:"Admin",className:"field-DropDown",isOnchanges:!!N,onChangeFunction:Ue,valueData:N,disabled:"edit"==e})}),"Super Admin User"!=V&&"Admin"!=V&&"Marketing"!=V&&"edit"!=e?Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(I.Item,{name:"AppId",style:{display:ge||"edit"==e?"none":""},rules:[{required:!0,message:"Please Select Application"}],children:Ye.jsx(_y,{options:null==G?void 0:G.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"Application",label:Ye.jsx("label",{className:"required",children:"Application"}),className:"field-DropDown",isOnchanges:!!E,onChangeFunction:async e=>{var t,n,i,a,r,s,l,o,d;await D(e),null==(t=c.current)||t.setFieldsValue({AppId:e}),Oe(w,e);let u=await p(wy({UserId:N,AppId:e})).unwrap();1===(null==(n=null==u?void 0:u.data)?void 0:n.statusCode)?(await J(null==(a=null==(i=null==u?void 0:u.data)?void 0:i.data)?void 0:a.filter((e=>"D"!==e.ActiveStatus))),1===(null==(s=null==(r=null==u?void 0:u.data)?void 0:r.data)?void 0:s.length)?(be(!0),await De(null==(o=null==(l=null==u?void 0:u.data)?void 0:l.data[0])?void 0:o.CompId,e,N)):(be(!1),S(null),null==(d=null==c?void 0:c.current)||d.setFieldsValue({CompId:null}))):J([])},valueData:E,disabled:!("edit"!=e&&!ge)})}),Ye.jsxs("div",{style:{lineHeight:"1.6"},children:[ge||"edit"==e&&Ye.jsxs("p",{children:[Ye.jsx("strong",{children:"Application :"})," ",null==(t=null==G?void 0:G.find((e=>e.AppId===E)))?void 0:t.AppName]}),xe&&C&&Ye.jsxs("p",{children:[Ye.jsx("strong",{children:"Company :"})," ",null==(n=null==X?void 0:X.find((e=>e.CompId===C)))?void 0:n.CompName]}),we&&P&&Ye.jsxs("p",{children:[Ye.jsx("strong",{children:"Branch :"})," ",null==(i=null==Z?void 0:Z.find((e=>e.BrId===P)))?void 0:i.BrName]})]})]}):null,"Super Admin User"!=V&&"Admin"!=V&&"Marketing"!=V&&"edit"!=e?Ye.jsx(I.Item,{name:"CompId",style:{display:xe||"edit"==e?"none":""},rules:[{required:!0,message:"Please Select Company"}],children:Ye.jsx(_y,{options:null==X?void 0:X.map((e=>({value:e.CompId,label:e.CompName}))),placeholder:"CompId",label:Ye.jsx("label",{className:"required",children:"Company"}),className:"field-DropDown",isOnchanges:!!C,onChangeFunction:async e=>{var t,n,i,a,r,s,l,o,d,u,A,h,f,m;S(e),null==(t=c.current)||t.setFieldsValue({CompId:e});let v=await p(by({UserId:N,AppId:E,CompId:e})).unwrap();1===(null==(n=null==v?void 0:v.data)?void 0:n.statusCode)?(await ee(null==(a=null==(i=null==v?void 0:v.data)?void 0:i.data)?void 0:a.filter((e=>"D"!==e.ActiveStatus))),0==(null==(s=null==(r=null==v?void 0:v.data)?void 0:r.data)?void 0:s.filter((e=>"D"!==e.ActiveStatus)).length)&&(null==(l=null==c?void 0:c.current)||l.setFieldsValue({BranchId:null})),1===(null==(d=null==(o=null==v?void 0:v.data)?void 0:o.data)?void 0:d.length)?0==(null==(A=null==(u=null==v?void 0:v.data)?void 0:u.data)?void 0:A.filter((e=>"D"!==e.ActiveStatus)).length)?await Le():(je(!0),await Le(null==(f=null==(h=null==v?void 0:v.data)?void 0:h.data[0])?void 0:f.BrId)):(je(!1),null==(m=null==c?void 0:c.current)||m.setFieldsValue({BranchId:null}),T())):(ee([]),T(),je(!1))},valueData:C,disabled:!("edit"!=e&&!xe)})}):null,"Super Admin User"!=V&&"Admin"!=V&&"Marketing"!=V&&"edit"!=e?Ye.jsx(I.Item,{name:"BranchId",style:{display:we||"edit"==e?"none":""},rules:[{required:!0,message:"Please Select Branch"}],children:Ye.jsx(_y,{options:null==Z?void 0:Z.map((e=>({value:e.BrId,label:e.BrName}))),placeholder:"BranchId",label:Ye.jsx("label",{className:"required",children:"Branch"}),className:"field-DropDown",isOnchanges:!!P,onChangeFunction:Le,valueData:P,disabled:!("edit"!=e&&!we)})}):null,Ye.jsx(I.Item,{name:"MobileNo",rules:[{required:!0,message:"Please Enter Mobile Number"},{pattern:/^\d{10}$/,message:"Please Enter a Valid Mobile Number"},{pattern:/^[6-9]\d{9}$/,message:"Enter a valid 10-digit mobile number starting with 6-9"},{validator:(e,t,n)=>{t&&t.length,n()}}],children:Ye.jsx(Ye.Fragment,{children:Ye.jsx(Oy,{disabled:!(P&&C&&E||"Super Admin User"===V||"Admin"===V||"Marketing"==V),field:"MobileNo",label:Ye.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"129px"},children:[Ye.jsx("label",{className:"required",style:{marginBottom:0,fontSize:"12px"},children:"Mobile Number"}),Fe&&Ye.jsx("span",{className:"otp-verified-icon",style:{color:"#52c41a",fontSize:"20px",lineHeight:1,display:"flex",alignItems:"center"},children:Ye.jsx(rg,{})})]}),fieldState:!0,maxLength:"10",fieldApi:!0,autoComplete:"off",inputMode:"numeric",isOnChange:"edit"===e,onInput:async e=>{var t,n,i,a;if(Be(!1),e.target.value=null==(n=null==(t=null==e?void 0:e.target)?void 0:t.value)?void 0:n.replace(/[^0-9]/g,""),10===(null==(i=e.target.value)?void 0:i.length))try{const{data:t}=await p(KT({MobileNo:e.target.value,BranchId:P})).unwrap();void 0!==(null==t?void 0:t.data)&&null!==(null==t?void 0:t.data)&&(null==t?void 0:t.data.length)>0&&1===(null==t?void 0:t.statusCode)&&E&&P&&C?(Ae(!0),fe(t.data[0]),ve("Please Releive the User"),null==(a=null==u?void 0:u.current)||a.setFieldsValue({requestMessage:"Please Releive the User"})):2===(null==t?void 0:t.statusCode)?(h("error"),m(null==t?void 0:t.response)):(Ie(!0),Se(e.target.value))}catch(r){}}})})}),Ye.jsx(I.Item,{name:"MailId",rules:[{validator:(e,t,n)=>{!t||/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(t)?n():n("Please enter a valid Mail Id")}}],children:Ye.jsx(Oy,{field:"MailId",label:"MailId",fieldState:!0,fieldApi:!0,autocomplete:"off",isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"UserName",rules:[{required:!0,message:"Please Enter User Name"},{pattern:/^(?!\s*$).+/,message:"Please Enter User Name"},{validator:async(e,t)=>(await lA(t),t&&t.length>30?Promise.reject("User Name should not exceed 30 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"UserName",label:Ye.jsx("label",{className:"required",children:"User Name"}),fieldState:!0,fieldApi:!0,autocomplete:"off",isOnChange:"edit"==e})}),Pe&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(I.Item,{name:"Password",rules:[{pattern:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/,message:"Password must be at least 8 characters and include uppercase, lowercase, number, and special character"}],className:"user-password userPin",children:Ye.jsx(g.Password,{field:"Password",fieldState:!0,fieldApi:!0,autocomplete:"off",iconRender:e=>e?Ye.jsx(q,{}):Ye.jsx(W,{}),onIconClick:()=>{U(!L)},visibilityToggle:!0,addonBefore:Ye.jsx("label",{children:"Password"}),isOnChange:"edit"==e,style:{width:"250px"}})}),Ye.jsx(I.Item,{name:"Pin",rules:[{required:!0,message:"Pin number must be a 4-digit number",pattern:/^[0-9]{4}$/}],className:"userPin",children:Ye.jsx(g.Password,{maxLength:4,autoComplete:"off",inputMode:"numeric",iconRender:e=>e?Ye.jsx(q,{}):Ye.jsx(W,{}),placeholder:"Enter 4-digit PIN",style:{width:"250px"},addonBefore:Ye.jsx("label",{className:"required",children:"Pin"}),onKeyPress:e=>{/[0-9]/.test(e.key)||e.preventDefault()}})})]}),Ye.jsxs("div",{className:"upload_btn",children:[Ye.jsx("p",{children:"Upload Profile"}),Ye.jsx(Yy,{singleImage:!0,updateImageUrl:e=>{O(e)},ImageLink:"edit"==e?_:null})]})]}),Ye.jsx("div",{className:"formAddressDiv",children:Ye.jsx("p",{children:" Address Details"})}),Ye.jsxs("div",{className:"subinputForm",children:[Ye.jsxs("div",{className:v?"showMap22":"showMap11",children:[Ye.jsx(I.Item,{name:"Address1",rules:[{required:"edit"!=e,pattern:/^(?!\s*$).+/,message:"Please Enter Address1"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Address1",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Address Line1"}),fieldState:!0,fieldApi:!0,isOnChange:!!(null==d?void 0:d.Address1)})}),Ye.jsx(I.Item,{name:"Address2",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Address2"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Address2",autoComplete:"off",label:"Address Line2",fieldState:!0,fieldApi:!0,isOnChange:!!(null==d?void 0:d.Address2)})}),Ye.jsx(I.Item,{name:"Zip",rules:[{required:"edit"!=e,validator:(e,t)=>t?/^\d{6}$/.test(t)?Promise.resolve():Promise.reject("Zipcode must be exactly 6 digits"):Promise.reject("Please enter Zipcode")}],children:Ye.jsx(Oy,{field:"Zip",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Zipcode"}),maxLength:"6",fieldState:!0,fieldApi:!0,isOnChange:!!(null==d?void 0:d.Zip),onChange:async e=>{var t,n;if((null==(t=null==e?void 0:e.target)?void 0:t.value.length)<6)return le(!1),!1;await Me(null==(n=null==e?void 0:e.target)?void 0:n.value)},inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")})}),se?Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(I.Item,{name:"City",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"City",disabled:!0,isOnChange:!0,label:"City",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{name:"Dist",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Dist",disabled:!0,isOnChange:!0,label:"District",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{name:"State",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"State",disabled:!0,isOnChange:!0,label:"State",fieldState:!0,fieldApi:!0})})]}):"",Ye.jsx(I.Item,{name:"Latitude",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Latitude"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Latitude",label:"Latitude",isOnChange:!(!oe&&0!=(null==d?void 0:d.Latitude)&&!(null==d?void 0:d.Latitude)),fieldState:!0,fieldApi:!0,autoComplete:"off",suffix:Ye.jsx(F,{title:"View Map",children:Ye.jsx(jv,{style:{color:"#1677ff",fontSize:"18px",cursor:"pointer"},onClick:()=>(e=>{y(e)})(!v)})})})}),Ye.jsx(I.Item,{name:"Longitude",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Longitude"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Longitude",label:"Longitude",isOnChange:!(!ce&&0!=(null==d?void 0:d.Longitude)&&!(null==d?void 0:d.Longitude)),fieldState:!0,fieldApi:!0,autoComplete:"off"})})]}),v&&Ye.jsx("div",{className:"MapDiv",children:Ye.jsx(ib,{onMarkerClick:async e=>{var t;de("function"==typeof e.lat?e.lat():oe),ue("function"==typeof e.lng?e.lng():ce),null==(t=c.current)||t.setFieldsValue({Latitude:"function"==typeof e.lat?e.lat():oe,Longitude:"function"==typeof e.lng?e.lng():ce})},prevlca:d?{lat:d.Latitude,lng:d.Longitude}:null})})]})]}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0,disabled:"Super Admin"!==x&&(ie||"N"===(null==(r=null==re?void 0:re.find((e=>"User Creation"===(null==e?void 0:e.ConfigName))))?void 0:r.AddAccess))})})]})}),pe&&E&&P&&C&&Ye.jsx(SP,{open:pe,handleCancel:()=>{Ae(!1),fe()},children:Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("h1",{children:"User Already Registered"}),Ye.jsxs("div",{className:"relieve-request-info",children:[Ye.jsxs("div",{style:{backgroundColor:"#fff3cd",textAlign:"left",border:"2px solid rgb(219 177 41)",padding:"16px",margin:"2rem 0",borderRadius:"16px",display:"flex",alignItems:"flex-start",gap:"10px"},children:[Ye.jsx(xg,{color:"rgb(209 162 11)",size:35,strokeWidth:.1}),Ye.jsx("p",{children:"This user is already registered with another company. You can send a relieving request to the concerned company to transfer the user."})]}),Ye.jsxs("div",{style:{marginBottom:"1rem"},children:[Ye.jsx("h2",{children:"User Information"}),Ye.jsxs("div",{children:[Ye.jsx("strong",{children:"Mobile No:"})," ",null==he?void 0:he.UserMobileNo]}),Ye.jsxs("div",{children:[Ye.jsx("strong",{children:"User Name:"})," ",null==he?void 0:he.UserName]})]}),Ye.jsxs("div",{style:{marginBottom:"1rem"},children:[Ye.jsx("h2",{children:"Company Contact Information"}),Ye.jsxs("div",{children:[Ye.jsx("strong",{children:"Company Name:"})," ",null==he?void 0:he.CompanyName]}),(null==he?void 0:he.AdminUserName)&&Ye.jsxs("div",{children:[Ye.jsx("strong",{children:"Proprietor:"})," ",null==he?void 0:he.AdminUserName]}),(null==he?void 0:he.AdminMobileNo)&&Ye.jsxs("div",{children:[Ye.jsx("strong",{children:"Proprietor Mobile No:"})," ",Ye.jsx("span",{style:{color:"green"},children:null==he?void 0:he.AdminMobileNo})]})]}),Ye.jsx("div",{className:"errorbyWho",children:Ye.jsxs(I,{ref:u,onFinish:async()=>{const e={AppId:E,CompId:C,BranchId:P,Message:me,UserId:null==he?void 0:he.UserId,AdminUserId:null==he?void 0:he.AdminUserId,CreatedBy:w},{data:t}=await p(GT(e)).unwrap();1===(null==t?void 0:t.statusCode)?(h("success"),m("Releive Request Sent Successfuly")):(h("error"),m("Error Sending Releive Request...")),Ae(!1),fe(),s(`${nE}setting/user-master/`,{state:{Notiffy:{messageType:1===(null==t?void 0:t.statusCode)||2===(null==t?void 0:t.statusCode)?"success":"error",messageData:1===(null==t?void 0:t.statusCode)?"Releive Request Sent Successfuly":2===(null==t?void 0:t.statusCode)?"User Relieve Info Already Exists":"Error Sending Releive Request..."}}},700)},children:[Ye.jsx(I.Item,{name:"requestMessage",children:Ye.jsx(My,{fieldState:{value:me}})}),Ye.jsx("div",{className:"userformModalBTn",style:{marginTop:"1rem"},children:Ye.jsx(Ry,{buttonText:"Send Relieving Request",color:"901D77",icon:Ye.jsx(k,{})})})]})})]})]})})]})}),Ye.jsx(tE,{open:Ne,close:Ie,mobileNo:Ce,userId:w,ChangeMobileFun:()=>{var e;null==(e=c.current)||e.setFieldsValue({MobileNo:""}),Ie(!1),Se("")},SuccessOtp:()=>{Se(!1),Ie(!1),Se(""),Be(!0)}})]})},aE="/";let rE=[{value:"Super Admin User",label:"Super Admin User"},{value:"Admin",label:"Admin"},{value:"Employee",label:"Employee"},{value:"Marketing",label:"Marketing"}],sE=[{value:"Pin",label:"Pin"},{value:"Password",label:"Password"}];const lE=[{name:"Home",link:`${aE}landing-page/home`},{name:"UserCreation",link:`${aE}setting/user-master`}];function oE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none"},child:[{tag:"path",attr:{d:"M20.2739 9.86883L16.8325 4.95392L18.4708 3.80676L21.9122 8.72167L20.2739 9.86883Z",fill:"currentColor"}},{tag:"path",attr:{d:"M18.3901 12.4086L16.6694 9.95121L8.47783 15.687L10.1985 18.1444L8.56023 19.2916L3.97162 12.7383L5.60992 11.5912L7.33068 14.0487L15.5222 8.31291L13.8015 5.8554L15.4398 4.70825L20.0284 11.2615L18.3901 12.4086Z",fill:"currentColor"}},{tag:"path",attr:{d:"M20.7651 7.08331L22.4034 5.93616L21.2562 4.29785L19.6179 5.445L20.7651 7.08331Z",fill:"currentColor"}},{tag:"path",attr:{d:"M7.16753 19.046L3.72607 14.131L2.08777 15.2782L5.52923 20.1931L7.16753 19.046Z",fill:"currentColor"}},{tag:"path",attr:{d:"M4.38208 18.5549L2.74377 19.702L1.59662 18.0637L3.23492 16.9166L4.38208 18.5549Z",fill:"currentColor"}}]})(e)}function dE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none"},child:[{tag:"path",attr:{d:"M7 14C8.10457 14 9 13.1046 9 12C9 10.8954 8.10457 10 7 10C5.89543 10 5 10.8954 5 12C5 13.1046 5.89543 14 7 14Z",fill:"currentColor"}},{tag:"path",attr:{d:"M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z",fill:"currentColor"}},{tag:"path",attr:{d:"M17 14C18.1046 14 19 13.1046 19 12C19 10.8954 18.1046 10 17 10C15.8954 10 15 10.8954 15 12C15 13.1046 15.8954 14 17 14Z",fill:"currentColor"}},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",fill:"currentColor"}}]})(e)}const cE="/assets/PozomindLogoTechnologies-671f98c6.png",uE=({printingdata:e,CompanyName:t,zipcode:n,address:i,City:a})=>{var r,s,l,o,d,c;const u=Se(null==e?void 0:e.ValidityStart),p=Se(null==e?void 0:e.ValidityEnd).diff(u,"days")>30?"Yearly":"Monthly",A=e=>{const t=new Date(e);return`${String(t.getDate()).padStart(2,"0")}/${String(t.getMonth()+1).padStart(2,"0")}/${t.getFullYear()}`};return Ye.jsxs("div",{className:"pdf-body",id:"Pdfbody",children:[Ye.jsxs("div",{className:"pdf-header",children:[Ye.jsx("img",{src:cE,width:"50",height:"110",alt:"Logo",className:"pdf-logo"}),Ye.jsxs("div",{className:"pdf-title-block",children:[Ye.jsx("p",{className:"pdf-title",children:"Invoice"}),Ye.jsx("p",{className:"pdf-subtitle",children:"Pozomind Technologies Private Limited"})]})]}),Ye.jsxs("div",{className:"pdf-amount-section",children:[Ye.jsxs("p",{children:["Invoice Number:",Ye.jsx("span",{className:"pdf-value",children:(null==e?void 0:e.UniqueId)||""})]}),Ye.jsxs("p",{children:["Amount:",Ye.jsxs("span",{className:"pdf-value",children:["₹ ",(null==e?void 0:e.NetPrice)||0]})]})]}),Ye.jsxs("div",{className:"pdf-amount-section",children:[Ye.jsxs("p",{children:["Payment Method:",Ye.jsx("span",{className:"pdf-value",children:(null==e?void 0:e.PaymentModeName)||""})]}),Ye.jsxs("p",{children:["Date:",Ye.jsx("span",{className:"pdf-value",children:e?"I"===e.Type?tA(null==(r=null==e?void 0:e.PurDate)?void 0:r.split("T")[0]):tA(e.PurDate):""})]})]}),Ye.jsxs("div",{className:"pdf-billing-section",children:[Ye.jsxs("div",{className:"pdf-bill-from",children:[Ye.jsx("p",{className:"pdf-section-title",children:"Billed From"}),Ye.jsx("p",{className:"pdf-section-text",children:"Pozo"}),Ye.jsx("p",{className:"pdf-section-text",children:"Phone: 7324000011"})]}),Ye.jsxs("div",{className:"pdf-bill-to",children:[Ye.jsx("p",{className:"pdf-section-title",children:"Billed To"}),Ye.jsx("p",{className:"pdf-section-text",children:e?e.UserName||e.MobileNo:""}),Ye.jsxs("p",{className:"pdf-section-text",children:[t||""," ",i||""," ",a||""," ",n||""]}),Ye.jsxs("p",{className:"pdf-section-text",children:["Phone: ",(null==e?void 0:e.MobileNo)||""]})]})]}),Ye.jsx("hr",{className:"pdf-divider"}),Ye.jsxs("div",{className:"pdf-table-wrapper",children:[Ye.jsx("div",{className:"pdf-table-heading",children:"Statement Summary"}),"I"===(null==e?void 0:e.Type)&&Ye.jsx("div",{className:"pdf-table-subheading",children:`${e.AppName} (${e.PricingName})`}),Ye.jsxs("table",{className:"pdf-table",children:[Ye.jsx("thead",{children:Ye.jsxs("tr",{children:["I"!==(null==e?void 0:e.Type)&&Ye.jsx("th",{children:"Description"}),"I"!==(null==e?void 0:e.Type)&&Ye.jsx("th",{children:"Plan Type"}),"I"!==(null==e?void 0:e.Type)&&Ye.jsx("th",{children:"Duration"}),Ye.jsx("th",{children:"Purchase Date"}),Ye.jsx("th",{children:"Period"}),(null==(s=null==e?void 0:e.FeatAddonDetails)?void 0:s.length)>0&&Ye.jsx("th",{children:"Feature-Addon"}),Ye.jsx("th",{children:"Amount"})]})}),Ye.jsx("tbody",{children:Ye.jsxs("tr",{children:["I"!==(null==e?void 0:e.Type)&&Ye.jsx("td",{children:null==e?void 0:e.AppName}),"I"!==(null==e?void 0:e.Type)&&Ye.jsx("td",{children:null==e?void 0:e.PricingName}),"I"!==(null==e?void 0:e.Type)&&Ye.jsx("td",{children:p}),Ye.jsx("td",{children:e?"I"===e.Type?A(null==(l=null==e?void 0:e.PurDate)?void 0:l.split("T")[0]):A(e.PurDate):""}),Ye.jsxs("td",{children:[e?"I"===e.Type?A(null==(o=null==e?void 0:e.PurDate)?void 0:o.split("T")[0]):A(e.PurDate):""," ","- ",e?A(e.ValidityEnd):""]}),(null==(d=null==e?void 0:e.FeatAddonDetails)?void 0:d.length)>0&&Ye.jsx("td",{children:Ye.jsx("ul",{className:"pdf-addon-list",children:null==(c=null==e?void 0:e.FeatAddonDetails)?void 0:c.map(((e,t)=>Ye.jsxs("li",{children:[e.FeatAddonName," - ",e.Count," - ₹",e.NetPrice]},t)))})}),Ye.jsxs("td",{children:["₹",Math.abs(((null==e?void 0:e.NetPrice)||0)-((null==e?void 0:e.CommissionAmount)||0))]})]})})]})]}),Ye.jsx("hr",{className:"pdf-divider"}),Ye.jsx("div",{className:"pdf-table-wrapper",children:Ye.jsx("table",{className:"pdf-table",children:Ye.jsxs("tbody",{children:[Ye.jsxs("tr",{children:[Ye.jsx("th",{}),Ye.jsx("th",{}),Ye.jsx("th",{children:"Sub Total"}),Ye.jsxs("td",{children:["₹",Math.abs(((null==e?void 0:e.Price)||0)-((null==e?void 0:e.CommissionAmount)||0))]})]}),Ye.jsxs("tr",{children:[Ye.jsx("th",{}),Ye.jsx("th",{}),Ye.jsx("th",{children:"Commission Amount"}),Ye.jsxs("td",{children:["₹",(null==e?void 0:e.CommissionAmount)||0]})]}),Ye.jsxs("tr",{children:[Ye.jsx("td",{}),Ye.jsx("td",{}),Ye.jsx("th",{children:"Tax"}),Ye.jsxs("td",{children:["₹",(null==e?void 0:e.TaxAmount)||0]})]}),Ye.jsxs("tr",{children:[Ye.jsx("th",{}),Ye.jsx("th",{}),Ye.jsx("th",{children:"Total"}),Ye.jsxs("td",{children:["₹",Math.abs(((null==e?void 0:e.NetPrice)||0)-((null==e?void 0:e.CommissionAmount)||0))]})]})]})})}),Ye.jsx("hr",{className:"pdf-divider"})]})};function pE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"}}]})(e)}function AE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"}}]})(e)}function hE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"}}]})(e)}function fE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"}}]})(e)}function mE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"}}]})(e)}function vE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M384 160c-17.7 0-32-14.3-32-32s14.3-32 32-32H544c17.7 0 32 14.3 32 32V288c0 17.7-14.3 32-32 32s-32-14.3-32-32V205.3L342.6 374.6c-12.5 12.5-32.8 12.5-45.3 0L192 269.3 54.6 406.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160c12.5-12.5 32.8-12.5 45.3 0L320 306.7 466.7 160H384z"}}]})(e)}function gE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"}}]})(e)}function yE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"}}]})(e)}function xE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"}}]})(e)}function bE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"}}]})(e)}function wE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"}}]})(e)}function jE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"}}]})(e)}function CE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M352 224c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96c0 4 .2 8 .7 11.9l-94.1 47C145.4 170.2 121.9 160 96 160c-53 0-96 43-96 96s43 96 96 96c25.9 0 49.4-10.2 66.6-26.9l94.1 47c-.5 3.9-.7 7.8-.7 11.9c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-25.9 0-49.4 10.2-66.6 26.9l-94.1-47c.5-3.9 .7-7.8 .7-11.9s-.2-8-.7-11.9l94.1-47C302.6 213.8 326.1 224 352 224z"}}]})(e)}function SE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"}}]})(e)}const NE=Ja("getPricingType/getPricingType",(async e=>{if(null!=e&&null!=e)return await fA.get(`/pricingType?PricingId=${e}`)})),IE=Ja("postInvoice/userAppMap",(async e=>await fA.post("/userAppMap",e))),FE=Ja("postCCAvenuePaymentDetails/payment",(async e=>await fA.post("/ccavenuePaymentDetails",e))),BE=Ja("getccavenuePaymentDetails",(async()=>await fA.get("/ccavenuePaymentDetails?activeStatus=A"))),PE=Ja("getPaymentMethod/getPaymentMethod",(async()=>await fA.get("/ccavenuePaymentDetails"))),kE=Ja("getallplanDtl",(async e=>{if(null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId))return await fA.get(`/AllDetailPlanMod?AppId=${null==e?void 0:e.AppId}&UserId=${null==e?void 0:e.UserId}`)})),TE=Ja("postDowngrade",(async e=>await fA.post("/ModifySubcription",e))),EE=Ja("putFeaturechange",(async e=>await fA.put("/ModifySubcription",e))),DE=Ja("getUsedplandata",(async e=>{if(null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.type)&&null!=(null==e?void 0:e.type))return await fA.get(`/UserAppMap?AppId=${null==e?void 0:e.AppId}&UserId=${null==e?void 0:e.UserId}&type=${null==e?void 0:e.type}`)})),LE=Ja("putPaymentMethod/putPaymentMethod",(async e=>await fA.put("/PaymentSuccess",e))),UE=Ja("postEmailApi/Email",(async e=>await mA.post("/Email",e))),_E=Ja("getEmployeRefferal",(async e=>{if(null!=e.AppId&&null!=e.AppId&&null!=e.UserId&&null!=e.UserId&&null!=e.Type&&null!=e.Type)return await fA.get(`/UserAppMap?AppId=${e.AppId}&UserId=${e.UserId}&Type=${e.Type}`)})),OE=Ja("getReferaluserdata",(async e=>await fA.get(`/ReferralSetup?referralCode=${e.referralCode}`))),ME=Ja("appAccess/getActiveAppCompanyData",(async e=>null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)?await fA.get(`/appAccess?AppId=${null==e?void 0:e.AppId}&UserId=${null==e?void 0:e.UserId}&ActiveStatus=A`):null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.AppId)?await fA.get(`/appAccess?AppId=${null==e?void 0:e.AppId}`):void 0)),RE=Ja("appAccess/getActiveAppBranchData",(async e=>{if(null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.CompId)&&null!=(null==e?void 0:e.CompId))return await fA.get(`/appAccess?AppId=${null==e?void 0:e.AppId}&UserId=${null==e?void 0:e.UserId}&CompId=${null==e?void 0:e.CompId}&ActiveStatus=A`)})),QE=Ja("appAccess/getCompanyData",(async({CompId:e})=>{if(null!=e&&null!=e)return await Ne.get(`https://www.pozo.dev/pozo-common-api/company?CompId=${e}`)})),HE=Ja("getfeatconstrains",(async e=>{if(null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UniqueId)&&null!=(null==e?void 0:e.UniqueId)&&null!=(null==e?void 0:e.PricingId)&&null!=(null==e?void 0:e.PricingId))return await fA.get(`/UserAppMap?AppId=${null==e?void 0:e.AppId}&UserId=${null==e?void 0:e.UserId}&UniqueId=${null==e?void 0:e.UniqueId}&PricingId=${null==e?void 0:e.PricingId}`)})),VE=Ja("getallplanDtl",(async e=>{if(null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId))return await fA.get(`/AllDetailPlanMod?AppId=${null==e?void 0:e.AppId}&UserId=${null==e?void 0:e.UserId}`)})),zE=Ja("postDowngrade",(async e=>await fA.post("/ModifySubcription",e))),qE=Ja("putFeaturechange",(async e=>await fA.put("/ModifySubcription",e))),WE=Ja("appAccess/getAppCompanyData",(async e=>null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.CompId)&&null!=(null==e?void 0:e.CompId)&&null!=(null==e?void 0:e.BrId)?await fA.get(`/appAccess?AppId=${null==e?void 0:e.AppId}&UserId=${null==e?void 0:e.UserId}&CompId=${null==e?void 0:e.CompId}&BrId=${null==e?void 0:e.BrId} `):null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.CompId)&&null!=(null==e?void 0:e.CompId)?await fA.get(`/appAccess?AppId=${null==e?void 0:e.AppId}&UserId=${null==e?void 0:e.UserId}&CompId=${null==e?void 0:e.CompId}`):null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.Type)?await fA.get(`/appAccess?AppId=${null==e?void 0:e.AppId}&UserId=${null==e?void 0:e.UserId}&Type=A`):null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)?await fA.get(`/appAccess?userId=${null==e?void 0:e.UserId}`):void 0)),YE=Ja("appAccess/getAppCompanyData",(async e=>{if(null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.CompId)&&null!=(null==e?void 0:e.CompId)&&null!=(null==e?void 0:e.BrId))return await fA.get(`/appAccess?AppId=${null==e?void 0:e.AppId}&CompId=${null==e?void 0:e.CompId}&BranchId=${null==e?void 0:e.BrId}`)})),KE=Ya({name:"appAccess",initialState:{appCompanyData:[],appBranchData:[]},extraReducers:e=>{e.addCase(ME.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.appCompanyData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.appCompanyData=[]})),e.addCase(RE.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.appBranchData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.appBranchData=[]}))}}),GE=e=>{var t;return null==(t=e.appAccessPage)?void 0:t.appCompanyData},$E=e=>{var t;return null==(t=e.appAccessPage)?void 0:t.appBranchData},XE=KE.reducer;function JE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M217.9 256L345 129c9.4-9.4 9.4-24.6 0-33.9-9.4-9.4-24.6-9.3-34 0L167 239c-9.1 9.1-9.3 23.7-.7 33.1L310.9 417c4.7 4.7 10.9 7 17 7s12.3-2.3 17-7c9.4-9.4 9.4-24.6 0-33.9L217.9 256z"}}]})(e)}function ZE(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M436.9 364.8c-14.7-14.7-50-36.8-67.4-45.1-20.2-9.7-27.6-9.5-41.9.8-11.9 8.6-19.6 16.6-33.3 13.6-13.7-2.9-40.7-23.4-66.9-49.5-26.2-26.2-46.6-53.2-49.5-66.9-2.9-13.8 5.1-21.4 13.6-33.3 10.3-14.3 10.6-21.7.8-41.9C184 125 162 89.8 147.2 75.1c-14.7-14.7-18-11.5-26.1-8.6 0 0-12 4.8-23.9 12.7-14.7 9.8-22.9 18-28.7 30.3-5.7 12.3-12.3 35.2 21.3 95 27.1 48.3 53.7 84.9 93.2 124.3l.1.1.1.1c39.5 39.5 76 66.1 124.3 93.2 59.8 33.6 82.7 27 95 21.3 12.3-5.7 20.5-13.9 30.3-28.7 7.9-11.9 12.7-23.9 12.7-23.9 2.9-8.1 6.2-11.4-8.6-26.1z"}}]})(e)}function eD(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M278.6 256l68.2-68.2c6.2-6.2 6.2-16.4 0-22.6-6.2-6.2-16.4-6.2-22.6 0L256 233.4l-68.2-68.2c-6.2-6.2-16.4-6.2-22.6 0-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3l68.2 68.2-68.2 68.2c-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3 6.2 6.2 16.4 6.2 22.6 0l68.2-68.2 68.2 68.2c6.2 6.2 16.4 6.2 22.6 0 6.2-6.2 6.2-16.4 0-22.6L278.6 256z"}}]})(e)}function tD(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M443.5 420.2L336.7 312.4c20.9-26.2 33.5-59.4 33.5-95.5 0-84.5-68.5-153-153.1-153S64 132.5 64 217s68.5 153 153.1 153c36.6 0 70.1-12.8 96.5-34.2l106.1 107.1c3.2 3.4 7.6 5.1 11.9 5.1 4.1 0 8.2-1.5 11.3-4.5 6.6-6.3 6.8-16.7.6-23.3zm-226.4-83.1c-32.1 0-62.3-12.5-85-35.2-22.7-22.7-35.2-52.9-35.2-84.9 0-32.1 12.5-62.3 35.2-84.9 22.7-22.7 52.9-35.2 85-35.2s62.3 12.5 85 35.2c22.7 22.7 35.2 52.9 35.2 84.9 0 32.1-12.5 62.3-35.2 84.9-22.7 22.7-52.9 35.2-85 35.2z"}}]})(e)}function nD(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 456c-110.3 0-200-89.7-200-200 0-54.8 21.7-105.9 61.2-144 6.4-6.2 16.6-6 22.7.4 6.2 6.4 6 16.6-.4 22.7-33.1 32-51.3 74.9-51.3 120.9 0 92.5 75.3 167.8 167.8 167.8S423.8 348.5 423.8 256c0-87.1-66.7-159-151.8-167.1v62.6c0 8.9-7.2 16.1-16.1 16.1s-16.1-7.2-16.1-16.1V72.1c0-8.9 7.2-16.1 16.1-16.1 110.3 0 200 89.7 200 200S366.3 456 256 456z"}},{tag:"path",attr:{d:"M175.9 161.9l99.5 71.5c13.5 9.7 16.7 28.5 7 42s-28.5 16.7-42 7c-2.8-2-5.2-4.4-7-7l-71.5-99.5c-3.2-4.5-2.2-10.8 2.3-14 3.6-2.6 8.3-2.4 11.7 0z"}}]})(e)}function iD(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M416 277.333H277.333V416h-42.666V277.333H96v-42.666h138.667V96h42.666v138.667H416v42.666z"}}]})(e)}function aD(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 372.686L380.83 448l-33.021-142.066L458 210.409l-145.267-12.475L256 64l-56.743 133.934L54 210.409l110.192 95.525L131.161 448z"}}]})(e)}const rD="/home/",sD=()=>{var e,t,n,i,r,s,l,o,d,c,u,p;const A=um(),h=Qt(),[f]=I.useForm(),[m,v]=a.useState([]),[g,y]=a.useState([]),[x,b]=a.useState(!1),[w,j]=a.useState(!1),[C,S]=a.useState(!1),[N,F]=a.useState(null),[B,P]=a.useState(null),[k,T]=a.useState(null),D=iA("UserId"),L=new Date,U=`${L.getFullYear()}-${String(L.getMonth()+1).padStart(2,"0")}-${String(L.getDate()).padStart(2,"0")}T${String(L.getHours()).padStart(2,"0")}:${String(L.getMinutes()).padStart(2,"0")}:${String(L.getSeconds()).padStart(2,"0")}`,_=Tf(GE),O=Tf($E),[M,H]=a.useState("list"),z=iA("UserType")?iA("UserType"):null,[q,W]=a.useState(!1),[Y,K]=a.useState(null),[G,$]=a.useState("Company"),[X,J]=a.useState(),[Z,ee]=a.useState(),[te,ne]=a.useState(),[ie,ae]=a.useState(),[re,se]=a.useState([]),[le,oe]=a.useState([]),[de,ce]=a.useState([]),[ue,pe]=a.useState([]),[Ae,he]=a.useState([]),[fe,me]=a.useState(),[ve,ge]=a.useState(1),ye=a.useCallback(((e,t)=>{b(!1),j(!1),(null==e?void 0:e.AppName)&&!1===t&&(nA("AppId",N.AppId),nA("AppName",N.AppName),h(`${N.AppUrl}`),window.location.reload()),f.resetFields()}),[N]);a.useEffect((()=>{1===(null==_?void 0:_.length)&&("Super Admin User"!=z||"Super Admin"!=z)&&(null==N?void 0:N.RemainingDays)>0&&Be(_[0].CompId)}),[_]),a.useEffect((()=>{1===(null==O?void 0:O.length)&&Pe(O[0].BrId)}),[O]),a.useEffect((()=>{!async function(){var e,t,n,i;let a;if("Employee"===z||"Super Admin User"===z?a=await A(Lg({UserId:D})).unwrap():"Super Admin"===z?a=await A(Fb()).unwrap():(a=await A(Bg({UserId:D})).unwrap(),await A(Dg({UserId:D})).unwrap()),null==(e=null==a?void 0:a.data)?void 0:e.statusCode)if("Employee"===z||"Super Admin User"===z){const e=(null==(n=null==(t=null==a?void 0:a.data)?void 0:t.data)?void 0:n.filter((e=>"A"===(null==e?void 0:e.ActiveStatus))))||[];v(e),y(e)}else{const e=(null==(i=null==a?void 0:a.data)?void 0:i.data)||[];v(e),y(e)}}()}),[]);let xe=null==(e=null==Y?void 0:Y[0])?void 0:e.CompanyCount,be=null==(t=null==Y?void 0:Y[0])?void 0:t.BranchCount,we=null==(n=null==Y?void 0:Y[0])?void 0:n.UserCount;var je=null==(s=null==(r=null==(i=null==Y?void 0:Y[0])?void 0:i.FeatureDetails)?void 0:r.find((e=>"Company"===e.FeatName)))?void 0:s.FeatConstraint,Ce=null==(d=null==(o=null==(l=null==Y?void 0:Y[0])?void 0:l.FeatureDetails)?void 0:o.find((e=>"Branch"===e.FeatName)))?void 0:d.FeatConstraint,Ne=null==(p=null==(u=null==(c=null==Y?void 0:Y[0])?void 0:c.FeatureDetails)?void 0:u.find((e=>"User"===e.FeatName)))?void 0:p.FeatConstraint;const Ie=(e,t,n)=>{const i=null==e?void 0:e.some((e=>{var t;return null==(t=e.BranchDetails)?void 0:t.some((e=>"A"===e.ActiveStatus))}));0===(null==e?void 0:e.length)&&"Admin"===z&&t>=U?(b(!1),P("warning"),T("Please create an company to further process"),setTimeout((()=>{h(`${rD}setting/company-master/new`)}),500)):i?b(!n):(b(!1),P("warning"),T("Please create or Activate a branch to further process"),setTimeout((()=>{h(`${rD}setting/branch-master`)}),500))},Fe=a.useCallback((async e=>{var t,n,i,a,r,s,l,o,d,c,u,p,f,m,v,g,y,x,w,j,C,S;let N=await A(wy({AppId:null==e?void 0:e.AppId,UserId:D})).unwrap(),I=null==(t=null==N?void 0:N.data)?void 0:t.data;if((null==I?void 0:I.some((e=>{var t;return null==(t=e.BranchDetails)?void 0:t.some((e=>"A"===e.ActiveStatus))})))||"Super Admin"==z||"Super Admin User"==z){me(null==e?void 0:e.UniqueId);let t=[],b={AppId:null==e?void 0:e.AppId,UserId:"Employee"===z?null==e?void 0:e.AdminId:null==e?void 0:e.UserId,UniqueId:null==e?void 0:e.UniqueId,PricingId:null==e?void 0:e.PricingId},N=await A(HE(b)).unwrap();null==(n=null==N?void 0:N.data)||n.statusCode,K(null==(i=null==N?void 0:N.data)?void 0:i.data),t=null==(a=null==N?void 0:N.data)?void 0:a.data;let I={AppId:null==e?void 0:e.AppId,UserId:"Employee"===z?null==e?void 0:e.AdminId:D},P=await A(VE(I)).unwrap(),T=0==(null==(r=null==P?void 0:P.data)?void 0:r.statusCode);if(ae(T),1==(null==(s=null==P?void 0:P.data)?void 0:s.statusCode)){const e=null==(l=null==P?void 0:P.data)?void 0:l.data;let t=[],n=[],i=[];null==(o=null==e?void 0:e.CompanyDetails)||o.map(((e,n)=>{t.push({...e,key:n})})),null==(d=null==e?void 0:e.BranchDetails)||d.map(((e,t)=>{n.push({...e,key:t})})),null==(c=null==e?void 0:e.UserDetails)||c.map(((e,t)=>{i.push({...e,key:t})})),ee(n),J(t),ne(i)}let L=null==(u=null==t?void 0:t[0])?void 0:u.CompanyCount,U=null==(p=null==t?void 0:t[0])?void 0:p.BranchCount,_=null==(f=null==t?void 0:t[0])?void 0:f.UserCount;var B=null==(g=null==(v=null==(m=null==t?void 0:t[0])?void 0:m.FeatureDetails)?void 0:v.find((e=>"Company"===e.FeatName)))?void 0:g.FeatConstraint,k=null==(w=null==(x=null==(y=null==t?void 0:t[0])?void 0:y.FeatureDetails)?void 0:x.find((e=>"Branch"===e.FeatName)))?void 0:w.FeatConstraint,E=null==(S=null==(C=null==(j=null==t?void 0:t[0])?void 0:j.FeatureDetails)?void 0:C.find((e=>"User"===e.FeatName)))?void 0:S.FeatConstraint;let O=B<L||k<U||E<_;(async(e,t,n,i)=>{var a,r,s,l,o,d,c,u,p;F(n);let f=await A(_g({AppId:e,UserId:D})).unwrap();if("1"==(null==(a=f.data)?void 0:a.statusCode))nA("AppId",e),nA("AppName",t),nA("CompId",null==(l=null==(s=null==(r=null==f?void 0:f.data)?void 0:r.data)?void 0:s[0])?void 0:l.CompId),nA("BranchId",null==(c=null==(d=null==(o=null==f?void 0:f.data)?void 0:o.data)?void 0:d[0])?void 0:c.BranchId),("Super Admin"!=z||"Super Admin User"!=z)&&n.ValidityEnd,h(`${n.AppUrl}`),window.location.reload();else{if("Admin"===z||"Employee"===z||"Super Admin User"===z){const t=await A(ME({AppId:e,UserId:D})).unwrap();await Ie(null==(u=null==t?void 0:t.data)?void 0:u.data,n.ValidityEnd,i)}else{const t=await A(ME({AppId:e})).unwrap();await Ie(null==(p=null==t?void 0:t.data)?void 0:p.data,n.ValidityEnd,i)}(null==n?void 0:n.RemainingDays)<0&&"Super Admin User"!==z&&"Super Admin"!==z&&(h(`${rD}${t}`,{state:{AppName:t,AdminId:(null==n?void 0:n.AdminId)?null==n?void 0:n.AdminId:D}}),nA("AppId",e),nA("AppName",t))}})(e.AppId,e.AppName,e,O)}else b(!1),P("warning"),T("Please create or Activate a branch to further process"),setTimeout((()=>{h(`${rD}setting/branch-master`)}),500)}),[]),Be=async e=>{"Employee"===z?(A(RE({AppId:N.AppId,UserId:D,CompId:e})).unwrap(),j(!0)):(nA("CompId",e),ye(N,q))},Pe=async e=>{var t;if(!1===C)N&&N.AppName&&(nA("CompId",N.CompId),nA("AppId",N.AppId),nA("AppName",N.AppName),nA("BranchId",e),h(`${N.AppUrl}`),window.location.reload());else if(N&&N.AppName){nA("CompId",N.CompId),nA("BranchId",e),nA("AppId",N.AppId),nA("AppName",N.AppName);let n=await A(Ug({CompId:N.CompId,BranchId:e,UserId:D,DefaultBranch:"Y"})).unwrap();1==(null==(t=null==n?void 0:n.data)?void 0:t.statusCode)&&(h(`${N.AppUrl}`),window.location.reload())}},ke=m.length,Te=m.filter((e=>(null==e?void 0:e.RemainingDays)>0)).length,Ee=m.filter((e=>(null==e?void 0:e.RemainingDays)<=0)).length;new Set(m.map((e=>e.AppName)));const De=null==m?void 0:m.map((e=>{var t,n,i,a,r,s,l=Se(e.ValidityStart);Se(e.ValidityEnd).diff(l,"days");return"Admin"!=z&&"Employee"!=z||((null==e?void 0:e.RemainingDays)<=5&&(null==e?void 0:e.RemainingDays)>0&&(null==e||e.RemainingDays,e.PricingName,e.PricingName,null==e||e.PricingName,e.PricingName,e.PricingName,tA(e.ValidityStart),tA(e.ValidityEnd),null==e||e.RemainingDays),(null==e?void 0:e.RemainingDays)<0&&(e.PricingName,e.PricingName,null==e||e.PricingName,e.PricingName,e.PricingName,tA(e.ValidityStart),tA(e.ValidityEnd)),0==(null==e?void 0:e.RemainingDays)&&(e.PricingName,e.PricingName,null==e||e.PricingName,e.PricingName,e.PricingName,tA(e.ValidityStart),tA(e.ValidityEnd)),(null==e?void 0:e.RemainingDays)>5&&(e.PricingName,e.PricingName,null==e||e.PricingName,e.PricingName,e.PricingName,tA(e.ValidityStart),tA(e.ValidityEnd),null==e||e.RemainingDays)),Ye.jsxs(Ye.Fragment,{children:["grid"===M&&Ye.jsxs("div",{className:`marketCard ${M}`,onClick:()=>Fe(e),children:[Ye.jsxs("div",{className:"marketCard-header",children:[Ye.jsx("img",{src:(null==(n=null==(t=null==e?void 0:e.ImageLink)?void 0:t[0])?void 0:n.ImageLink)||(null==e?void 0:e.AppLogo)||hk,alt:e.AppName,className:"bgImage"}),Ye.jsx("img",{src:(null==(a=null==(i=null==e?void 0:e.ImageLink)?void 0:i[0])?void 0:a.ImageLink)||(null==e?void 0:e.AppLogo)||hk,alt:e.AppName,className:"overlayImage"})]}),Ye.jsxs("div",{className:"marketCard-body",children:[Ye.jsxs("div",{className:"topline",children:[Ye.jsx("div",{className:"title",children:null==e?void 0:e.AppName}),Ye.jsxs("div",{className:"corner",children:[(null==e?void 0:e.RemainingDays)>5&&Ye.jsx("span",{className:"pill active",children:"Active"}),(null==e?void 0:e.RemainingDays)<=5&&(null==e?void 0:e.RemainingDays)>0&&Ye.jsx("span",{className:"pill expiring",children:"Expiring"}),(null==e?void 0:e.RemainingDays)<=0&&Ye.jsx("span",{className:"pill expired",children:"Expired"})]})]}),Ye.jsx("div",{className:"subtitle",children:`All-in-one ${null==e?void 0:e.AppName} solution to run your business`}),Ye.jsxs("div",{className:"metrics",children:[Ye.jsxs("div",{className:"card1",children:[Ye.jsx("div",{className:"k",children:"Days Remaining"}),Ye.jsx("div",{className:"v",style:{color:(null==e?void 0:e.RemainingDays)>0?"green":"red"},children:(null==e?void 0:e.RemainingDays)>0?`${null==e?void 0:e.RemainingDays}`:"0"})]}),Ye.jsxs("div",{className:"meta",children:[Ye.jsxs("div",{className:"priceRow",children:[Ye.jsxs("div",{className:"price",children:["₹",(null==e?void 0:e.NetPrice)||(null==e?void 0:e.Price)]}),Ye.jsxs("div",{className:"item1",children:[tA(e.ValidityStart)," - ",tA(e.ValidityEnd)]})]}),Ye.jsxs("div",{className:"item",children:["Plan",Ye.jsxs("div",{children:[" ",null==e?void 0:e.PricingName]})]})]})]}),Ye.jsxs("button",{className:"cta",children:["Start Billing ",Ye.jsx(mE,{})]})]})]},e.UniqueId),"list"===M&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"marketCardListMain",children:Ye.jsxs("div",{className:"cardlistmarket",onClick:()=>Fe(e),children:[Ye.jsx("div",{className:"listAppName",children:null==e?void 0:e.AppName}),Ye.jsx("div",{className:"listAppImg",children:Ye.jsx("img",{src:(null==(s=null==(r=null==e?void 0:e.ImageLink)?void 0:r[0])?void 0:s.ImageLink)||(null==e?void 0:e.AppLogo)||hk,alt:""})}),Ye.jsxs("div",{className:"listAppPrice",children:["₹",(null==e?void 0:e.NetPrice)||(null==e?void 0:e.Price)," ",Ye.jsxs("span",{children:[" / ",null==e?void 0:e.PricingName]})]}),Ye.jsx("div",{className:"listAppStatus",children:(null==e?void 0:e.RemainingDays)>5?"Active":(null==e?void 0:e.RemainingDays)<=5&&(null==e?void 0:e.RemainingDays)>0?"Expiring":"Expired"}),Ye.jsxs("div",{className:"cardAppDetails",children:[Ye.jsxs("div",{children:[Ye.jsx("div",{className:"listAppName1",children:null==e?void 0:e.AppName}),Ye.jsxs("div",{className:"listAppPrice1",children:["₹",(null==e?void 0:e.NetPrice)||(null==e?void 0:e.Price)," ",Ye.jsx("span",{children:" "})]}),Ye.jsxs("div",{className:"listAppPlan",children:["Plan : ",null==e?void 0:e.PricingName]})]}),Ye.jsx("button",{className:"listAppBtn",onClick:()=>Fe(e),children:"Start Billing"})]})]})})})]})})),Le=a.useCallback((()=>{T(null),P(null)}),[]);a.useEffect((()=>{(je<xe||Ce<be||Ne<we)&&W(!0)}),[Y]),a.useEffect((()=>{let e=null==Z?void 0:Z.filter((e=>null==ue?void 0:ue.includes(e.CompId))),t=null==e?void 0:e.map((e=>e.key));oe(t);let n=null==te?void 0:te.filter((e=>null==ue?void 0:ue.includes(e.CompId))),i=null==n?void 0:n.map((e=>e.key));ce(i)}),[ue]),a.useEffect((()=>{let e=null==te?void 0:te.filter((e=>null==Ae?void 0:Ae.includes(e.BranchId))),t=null==e?void 0:e.map((e=>e.key));ce(t)}),[Ae]);var Ue=null==X?void 0:X.length,_e=null==Z?void 0:Z.length,Oe=(null==te?void 0:te.length)+1,Me=Ue-je,Re=_e-Ce,Qe=Oe-Ne;const He=[{title:" ",width:"20px",align:"center",key:"CompName",render:(e,t,n)=>Ye.jsx(V,{onChange:e=>{((e,t,n)=>{if(t.target.checked){se([...re,n]);let t=e.CompId;pe([...ue,t])}else{let t=null==re?void 0:re.filter((e=>e!=n));se(t);let i=null==ue?void 0:ue.filter((t=>t!=e.CompId));pe(i)}})(t,e,n)},checked:re.includes(n),disabled:re.length==Me&&!re.includes(n)})},{title:"SI.NO",key:"sno",align:"center",width:"60px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(ve-1)+n+1})},{title:"Company Name",dataIndex:"CompName",key:"CompName",editable:!0},{title:"Active Status",dataIndex:"ActiveStatus",key:"ActiveStatus",editable:!0}],Ve=[{title:" ",width:"20px",align:"center",key:"CompName",render:(e,t,n)=>Ye.jsx(V,{onChange:e=>{((e,t,n)=>{if(t.target.checked){oe((e=>(e||(e=[]),[...e,n])));let t=e.BrId;he((e=>(e||(e=[]),[...e,t])))}else oe((e=>(e||(e=[]),e.filter((e=>e!==n))))),he((t=>(t||(t=[]),t.filter((t=>t!==e.BrId)))))})(t,e,n)},checked:null==le?void 0:le.includes(n),disabled:(null==le?void 0:le.length)==Re&&!(null==le?void 0:le.includes(n))||(null==ue?void 0:ue.includes(null==t?void 0:t.CompId))})},{title:"SI.NO",key:"sno",align:"center",width:"60px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(ve-1)+n+1})},{title:"Company Name",dataIndex:"CompName",key:"CompName",editable:!0},{title:"Branch Name",dataIndex:"BrName",key:"BrName",editable:!0},{title:"Branch Address",dataIndex:"Address1",key:"Address1",editable:!0},{title:"Active Status",dataIndex:"ActiveStatus",key:"ActiveStatus",editable:!0}],ze=[{title:" ",width:"20px",align:"center",key:"CompName",render:(e,t,n)=>Ye.jsx(V,{onChange:e=>{((e,t,n)=>{t&&t.target&&void 0!==t.target.checked&&(t.target.checked?0===(null==de?void 0:de.length)?ce([n]):ce((e=>Array.isArray(e)?[...e,n]:[n])):ce((e=>Array.isArray(e)?e.filter((e=>e!==n)):[])))})(0,e,n)},checked:null==de?void 0:de.includes(n),disabled:(null==de?void 0:de.length)===Qe&&!(null==de?void 0:de.includes(n))||(null==Ae?void 0:Ae.includes(null==t?void 0:t.BranchId))||(null==ue?void 0:ue.includes(null==t?void 0:t.CompId))})},{title:"SI.NO",key:"sno",align:"center",width:"60px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(ve-1)+n+1})},{title:"Company Name",dataIndex:"CompName",key:"CompName",editable:!0},{title:"Branch Name",dataIndex:"BrName",key:"BrName",editable:!0},{title:"Branch Address",dataIndex:"Address1",key:"Address1",editable:!0},{title:"User Name / User Mobile.No",dataIndex:"UserName",key:"UserName",editable:!0,render:(e,t)=>Ye.jsx("span",{children:t.UserName?null==t?void 0:t.UserName:null==t?void 0:t.MobileNo})},{title:"Active Status",dataIndex:"ActiveStatus",key:"ActiveStatus",editable:!0}],qe=[{value:"Company",label:"Company"},{value:"Branch",label:"Branch"},{value:"User",label:"User"}].filter((e=>"Company"===e.value?0==!Me&&Ue>xe-je:"Branch"===e.value?(0!==Re||Re<0)&&Re>0:"User"!==e.value||0==!Qe&&Oe>Ne-we&&Qe>0));return Ye.jsxs("div",{className:"appListComponent",children:[Ye.jsxs("div",{className:"stats-grid1",children:[Ye.jsx("div",{className:"stat-card total-apps",children:Ye.jsx("div",{className:"stat-content",children:Ye.jsxs("div",{className:"stat-info",children:[Ye.jsxs("div",{className:"numberIcon",children:[Ye.jsx("div",{className:"stat-number",children:ke}),Ye.jsx("div",{className:"stat-icon",children:Ye.jsx(iD,{})})]}),Ye.jsx("div",{className:"stat-label",children:"Total Applications"}),Ye.jsx("div",{className:"stat-subtitle",children:"All registered apps"})]})})}),Ye.jsx("div",{className:"stat-card active-apps",children:Ye.jsx("div",{className:"stat-content",children:Ye.jsxs("div",{className:"stat-info",children:[Ye.jsxs("div",{className:"numberIcon",children:[Ye.jsx("div",{className:"stat-number",children:Te}),Ye.jsx("div",{className:"stat-icon",children:Ye.jsx(vi,{})})]}),Ye.jsx("div",{className:"stat-label",children:"Active Applications"}),Ye.jsx("div",{className:"stat-subtitle",children:"Currently operational"})]})})}),Ee.length>0&&Ye.jsx("div",{className:"stat-card expired-apps",children:Ye.jsx("div",{className:"stat-content",children:Ye.jsxs("div",{className:"stat-info",children:[Ye.jsxs("div",{className:"numberIcon",children:[Ye.jsx("div",{className:"stat-number",children:Ee}),Ye.jsx("div",{className:"stat-icon",children:Ye.jsx(ry,{})})]}),Ye.jsx("div",{className:"stat-label",children:"Expired Applications"}),Ye.jsx("div",{className:"stat-subtitle",children:"Temporarily suspended"})]})})})]}),(null==m?void 0:m.length)>1&&Ye.jsx("div",{className:"apps-section-header",style:{margin:"0"},children:Ye.jsxs("div",{className:"header-actions",style:{width:"100%",justifyContent:"space-between"},children:[Ye.jsxs("div",{className:"searchBar",children:[Ye.jsx(tD,{size:20,color:"#919191"}),Ye.jsx("input",{className:"searchInput",placeholder:" Search your purchased apps",onChange:e=>{var t;const n=null==(t=e.target.value)?void 0:t.toLowerCase();if(!n)return void v(g);const i=g.filter((e=>`${e.AppName} ${e.PricingName}`.toLowerCase().includes(n)));v(i)}})]}),Ye.jsxs("button",{className:"filterBtn",children:[" ",Ye.jsx(Nn,{size:16})," Advanced Filters"]}),Ye.jsxs("div",{className:"view-controls",children:[Ye.jsx("button",{className:"view-btn "+("list"===M?"active":""),onClick:()=>H("list"),children:"☰"}),Ye.jsx("button",{className:"view-btn "+("grid"===M?"active":""),onClick:()=>H("grid"),children:"⊞"})]})]})}),Ye.jsxs("div",{className:"appListComponentSub",children:[Ye.jsx(Qy,{messageType:B,messageData:k,onComplete:Le}),m.length>0&&De,Ye.jsx(SP,{open:x,title:"Company Name",footer:!1,children:Ye.jsx(I,{form:f,children:Ye.jsxs(R,{gutter:[24,24],children:[w?Ye.jsx(Q,{className:"appCheckbox",span:24,children:Ye.jsx(V,{className:"appCheckboxText",onChange:e=>{S(e.target.checked)},children:"Default Branch"})}):null,Ye.jsx(Q,{className:"gutter-row",span:12,children:Ye.jsx(I.Item,{name:"CompanyName",rules:[{required:!0}],children:Ye.jsx(_y,{options:null==_?void 0:_.map((e=>({value:e.CompId,label:e.CompName}))),defaultValue:"Select",label:"Company Name",className:"field-DropDown appdropdown",isOnchanges:!0,onChangeFunction:Be})})}),w?Ye.jsx(Q,{className:"gutter-row",span:12,children:Ye.jsx(I.Item,{name:"BranchName",rules:[{required:!0}],children:Ye.jsx(_y,{options:null==O?void 0:O.map((e=>({value:e.BrId,label:e.BrName}))),defaultValue:"Select",label:"Branch Name",className:"field-DropDown appdropdown",isOnchanges:!0,onChangeFunction:Pe})})}):null]})}),handleCancel:()=>{f.resetFields(),b(!1),j(!1)}}),Ye.jsx(SP,{open:q,title:Ye.jsx("h3",{children:"Deactivation Of Features For Your Current plan"}),footer:!0,children:Ye.jsxs("div",{style:{display:"flex",rowGap:"1rem",flexDirection:"column"},children:[Ye.jsx("hr",{}),Ye.jsxs("div",{children:[Ue>xe-je&&0==!Me&&Ye.jsxs("div",{children:[Ye.jsxs("h4",{children:["Number of Company's Of Your Previous Plan :",Ue," "]}),Ye.jsxs("p",{children:["Your Eligible Company's For This Current Plan is :"," ",je," & Deactivate : ",Me," ","Company's"]})]}),_e>be-Ce&&0!=Re&&Ce!==be&&Re>0&&Ye.jsxs("div",{children:[Ye.jsxs("h4",{children:["Number of Branches Of Your Previous Plan:"," ",_e]}),Ye.jsxs("p",{children:["Your Eligible Branches For This Current Plan is:"," ",Ce]}),Re>0&&Ye.jsxs("p",{children:["Deactivate: ",Re," Branch's"]})]}),Ne<we&&Oe>Ne-we&&Qe>0&&Ye.jsxs("div",{children:[Ye.jsxs("h4",{children:["Number of User's Of Your Previous Plan :",Oe," & Incuding Admin : 1"]}),Ye.jsxs("p",{children:["Your Eligible User's For This Current Plan is :"," ",Ne," "]}),Qe>0&&Ye.jsxs("p",{children:["Deactivate: ",Qe," User's"]})]}),Ye.jsx("div",{children:Ye.jsx(fk,{content:qe,defaultSelect:G,onSelectFuntion:e=>{(e=>{$(e)})(e)}})}),Ye.jsxs("div",{children:["Company"===G&&Ue-je!==0&&Ue>0&&Ye.jsx(E,{columns:He,dataSource:X}),"Branch"===G&&_e-Ce!==0&&Ce!==be&&Re>0&&Ye.jsx(E,{columns:Ve,dataSource:Z}),"User"===G&&Qe>0&&Ye.jsx(E,{columns:ze,dataSource:te})]})]}),Ye.jsx("hr",{})]}),handleCancel:()=>{W(!1)},handleSubmit:()=>(async()=>{var e;let t=[],n=[],i=[];if(null==de||de.map((e=>{var t,n,a,r,s,l,o,d;return i.push({UserId:null==(n=null==(t=null==te?void 0:te.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:n.UserId,CompId:null==(r=null==(a=null==te?void 0:te.filter(((t,n)=>n===e)))?void 0:a[0])?void 0:r.CompId,BranchId:null==(l=null==(s=null==te?void 0:te.filter(((t,n)=>n===e)))?void 0:s[0])?void 0:l.BranchId,AppId:null==(d=null==(o=null==te?void 0:te.filter(((t,n)=>n===e)))?void 0:o[0])?void 0:d.AppId})})),null==le||le.map((e=>{var t,i,a,r;return n.push({BranchId:null==(i=null==(t=null==Z?void 0:Z.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:i.BrId,CompId:null==(r=null==(a=null==Z?void 0:Z.filter(((t,n)=>n===e)))?void 0:a[0])?void 0:r.CompId})})),null==re||re.map((e=>{var n,i;return t.push({CompId:null==(i=null==(n=null==X?void 0:X.filter(((t,n)=>n===e)))?void 0:n[0])?void 0:i.CompId})})),Me===(null==re?void 0:re.length)&&Re>0&&Re===(null==le?void 0:le.length)&&Qe<=(null==de?void 0:de.length)||Re===(null==le?void 0:le.length)&&Qe<=(null==de?void 0:de.length)||Me===(null==re?void 0:re.length)&&Qe<=(null==de?void 0:de.length)||Qe<=(null==de?void 0:de.length)||ie){let a={UniqueId:fe,PostData:[{User:null==i?void 0:i.map((e=>({UserId:e.UserId,CompId:e.CompId,BranchId:e.BranchId,AppId:e.AppId}))),Company:null==t?void 0:t.map((e=>({CompId:e.CompId}))),Branch:null==n?void 0:n.map((e=>({BranchId:e.BranchId,CompId:e.CompId})))}]},r=await A(zE(a)).unwrap();null==(e=null==r?void 0:r.data)||e.statusCode;{W(!1);let e={UniqueId:fe};await A(qE(e)).unwrap()}}else P("error"),T("Deactive features")})(),buttonText:"SAVE"})]})]})},lD=()=>Ye.jsxs("div",{style:{width:"100%"},children:[Ye.jsx("div",{className:"homeAppHeadder",children:Ye.jsxs("div",{children:[Ye.jsx("div",{style:{fontSize:"24px",fontWeight:"600"},children:"My Apps"}),Ye.jsx("p",{children:"Quickly access and manage all your active business applications from one screen"})]})}),Ye.jsx("div",{className:"appList",children:Ye.jsx(sD,{})})]}),oD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJ3SURBVHgBrVVJTFNRFD0tEgbLWDYsCJRKTZEFg8OCFaBxK1LYq5EFRkIMJlCk1YUUMZjQJo4ry8aURnCjJoK7Yl04QFkUa40tiR2gTaudjVz//7G1P4FfSDjJTd579+TkDefeJ0qkfhMOEOK9kDyeH9BoxjFrNB6M4JWBAWxtbmF0ZATLFsv+BP1+P3pVKoRCIW7+MxyGz+tFKpVCVZUUKyufM1yzeQ6TOp2w4PXhYchkdSgvL8eTx4+gaGjAYYkEJSUSnDh5Cvemp3H2zGm4XC60tR2HQT+DpcXF/wLso6Tj+cILqq2tpWg8QbrJO9x4+Z2VsjlsblQ9xuU8Xh89Nc5SS2srxZMpLs8T7FGp6P6Dh7Tu+Ep5eXlk/+LgiWXH5f5+unDxEsUSSZLL5fRm6S1fkE0wx6TVtTWa0RvoXHf3rmJsOJzfqLS0lNvZ1cFB0mi13HrmDgOBAPcQCsVRfPr4Ae3t7RBCTU0N8vPz4XQ6UV1dDa/Hy60fShOkUilevnrNjf9sb6OgoBC5UFhUhFgshh5VL8KMG3iCYrEYnV1dGbJIlFMPaQrzQJm1HY3NHp21Si6UlZXh17+dCQrabDYolUrkgrKxEasMV1Bw3W5HMpFAc3MLcqGjoxML8/PCgnenptDb18fcYe5LZHlsKVqy6zvbW89MJmLsQN/dG4IezA69wUDHmprI59/k5qJ0P4xGozgir0c8FkdxcRH2g2AwiFG1GtqbtyDKbrCsuSORCI98bWgIUqbLjN0Yx4bbjZ7z3TDNmVEnk/F4lZWVTAMp4R955xJzUj1TqxUVFSSRSOj2xIQgX7TXL+C91YoGhYLbiRD+Auje5m7p1IqqAAAAAElFTkSuQmCC",dD=Ja("logs/getlogData",(async e=>null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.Type)&&null!=(null==e?void 0:e.Type)?await fA.get(`/NotificationLogs?UserId=${null==e?void 0:e.UserId}&Type=${null==e?void 0:e.Type}`):null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)?await fA.get(`/NotificationLogs?UserId=${null==e?void 0:e.UserId}`):await fA.get("/NotificationLogs"))),cD=Ja("logs/getlogTypeData",(async e=>null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.Type)&&null!=(null==e?void 0:e.Type)?await fA.get(`/NotificationLogs?UserId=${null==e?void 0:e.UserId}&Type=${null==e?void 0:e.Type}`):null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)?await fA.get(`/NotificationLogs?UserId=${null==e?void 0:e.UserId}`):await fA.get("/NotificationLogs"))),uD=Ya({name:"logs",initialState:{logData:[],logTypeData:[]},extraReducers:e=>{e.addCase(dD.fulfilled,((e,t)=>{var n,i;t.payload.status?e.logData=null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.data:e.logData=[]})),e.addCase(cD.fulfilled,((e,t)=>{var n,i;t.payload.status?e.logTypeData=null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.data:e.logTypeData=[]}))}}),pD=e=>{var t;return null==(t=e.logs)?void 0:t.logData},AD=e=>{var t;return null==(t=e.logs)?void 0:t.logTypeData},hD=uD.reducer,fD=({showViewMore:e})=>{var t;const n=um(),i=iA("UserType")?iA("UserType"):null,r=iA("UserId")?iA("UserId"):null,s=Tf(pD);return e(s),a.useEffect((()=>{"Admin"===i||"Admin User"===i?n(dD({UserId:r})).unwrap():"Employee"===i?n(dD({UserId:r,Type:"E"})).unwrap():"Super Admin"!==i&&"Super Admin User"!==i||n(dD()).unwrap()}),[i,r]),Ye.jsx("div",{className:"homeNotification",children:Ye.jsx("ul",{children:null==(t=null==s?void 0:s.slice(0,5))?void 0:t.map(((e,t)=>Ye.jsx("li",{style:{marginBottom:"8px"},children:e.Message},t)))})})},mD=()=>{const e=Qt(),[t,n]=a.useState();return Ye.jsxs("div",{children:[Ye.jsxs("div",{className:"homeAppHeadder",children:[Ye.jsx("div",{className:"homePageAppIcon",children:Ye.jsx("img",{src:oD})}),Ye.jsx("div",{children:Ye.jsx("h2",{children:"Notifications"})})]}),Ye.jsx("div",{children:Ye.jsx(fD,{showViewMore:e=>{n(e)}})}),(null==t?void 0:t.length)>=5&&Ye.jsx("div",{children:Ye.jsx("p",{className:"viewdiv",onClick:()=>{e("/home/landing-page/user-account/",{state:{Notiffy:{logs:!0}}})},children:"view more"})})]})},vD=Ja("userAccount/getUserData",(async({userId:e})=>{if(null!=e&&null!=e)return fA.get(`/user?UserId=${e}`)})),gD=Ja("userAccount/updateUserData",(async e=>fA.put("/user/updateUserProfile",e))),yD=Ja("password/putPriceType",(async e=>await fA.put("/user/setPassword",e))),xD=Ja("password/putPriceType",(async e=>await fA.put("/user/setPin",e))),bD=Ja("password/getPassword",(async e=>{if(null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.ActiveStatus)&&null!=(null==e?void 0:e.ActiveStatus))return await fA.get(`/user?UserId=${null==e?void 0:e.UserId}&ActiveStatus=${null==e?void 0:e.ActiveStatus}`)})),wD=Ja("referral/postReferralSetup",(async e=>await fA.post("/ReferralSetup",e))),jD={userData:[]},CD=Ya({name:"userAccount",initialState:jD,reducers:{changeUserData:(e,t)=>{const{userData:n}=null==t?void 0:t.payload;e.userData={...e.userData,...n}}},extraReducers:e=>{e.addCase(vD.fulfilled,((e,t)=>{var n,i,a,r;(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)&&(e.userData=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data[0])}))}}),SD=e=>e.userAccount?e.userAccount.userData:jD.userData,{changeUserData:ND}=CD.actions,ID=CD.reducer,FD=({formType:e,pinUpdate:t})=>{const n=a.useRef(null),i=um(),[r,s]=a.useState(!0),[l,o]=a.useState(null),[d,c]=a.useState(null),u=a.useCallback((()=>{c(null),o(null)}),[]);return Ye.jsx("div",{className:"",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:l,messageData:d,onComplete:u}),Ye.jsx("div",{className:"formedit"}),r?null:Ye.jsx("div",{className:"ChangePW_Div",children:Ye.jsxs(R,{children:[Ye.jsx(Q,{flex:"1 1 200px",children:Ye.jsx("p",{className:"editBtn_text",children:" Set / Change PIN "})}),Ye.jsx(Q,{flex:"1 1 100px",children:Ye.jsxs("button",{className:"edit_btn",onClick:()=>(async()=>{s(!0)})(),children:["Edit ",Ye.jsx(D,{})," "]})})]})}),r?Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{ref:n,className:"formDivAnt",onFinish:async e=>{var n,a;if(iA("UserId")){let r=e,s={};r.Pin=e.NewPin,r.UpdatedBy=iA("UserId"),r.UserId=iA("UserId"),s=await i(xD(r)).unwrap(),1==(null==(n=null==s?void 0:s.data)?void 0:n.statusCode)?t(!1):(o("error"),c(null==(a=null==s?void 0:s.data)?void 0:a.response))}else o("error"),c("Not valid user")},children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsx("div",{className:"inputForm",children:Ye.jsx(I.Item,{name:"NewPin",rules:[{required:!0,message:"Please Enter your New Pin!"},{validator:async(e,t)=>(await lA(t),t&&t.length>4?Promise.reject("Pin should not exceed 4 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"NewPin",name:"NewPin",label:"New Pin",fieldState:!0,fieldApi:!0,maxlength:"4",id:"error2",autocomplete:"off",isOnChange:"edit"==e})})})}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{})})})]})})}):null]})})})},BD=Ja("application/getApplicationData",(async({userId:e})=>{if(null!=e&&null!=e)return Ne.get(`https://www.pozo.dev/pozo-common-api/application?UserId=${e}&Type=H`)})),PD=Ja("application/getApplicationData",(async({userId:e})=>{if(null!=e&&null!=e)return fA.get(`/user?UserId=${e}&ActiveStatus=A`)})),kD=Ya({name:"applications",initialState:{allApplications:[]}}).reducer,TD="/assets/payprelogo1-a005f871.svg",ED="/home/";function DD(e){return Cn({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"}}]})(e)}function LD(e){return Cn({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}}]})(e)}function UD(e){return Cn({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"}}]})(e)}function _D(e){return Cn({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",clipRule:"evenodd"}}]})(e)}function OD(e){return Cn({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"}}]})(e)}function MD(e){return Cn({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}}]})(e)}function RD(e){return Cn({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 5a2 2 0 012-2h10a2 2 0 012 2v16l-7-3.5L5 21V5z"}}]})(e)}function QD(e){return Cn({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"}}]})(e)}function HD(e){return Cn({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19l-7-7 7-7"}}]})(e)}function VD(e){return Cn({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"}}]})(e)}function zD(e){return Cn({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}}]})(e)}function qD(e){return Cn({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 10V3L4 14h7v7l9-11h-7z"}}]})(e)}function WD(e){return Cn({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 19v-8.93a2 2 0 01.89-1.664l7-4.666a2 2 0 012.22 0l7 4.666A2 2 0 0121 10.07V19M3 19a2 2 0 002 2h14a2 2 0 002-2M3 19l6.75-4.5M21 19l-6.75-4.5M3 10l6.75 4.5M21 10l-6.75 4.5m0 0l-1.14.76a2 2 0 01-2.22 0l-1.14-.76"}}]})(e)}function YD(e){return Cn({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"}}]})(e)}function KD(e){return Cn({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"}}]})(e)}function GD(e){return Cn({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.121 17.804A13.937 13.937 0 0112 16c2.5 0 4.847.655 6.879 1.804M15 10a3 3 0 11-6 0 3 3 0 016 0zm6 2a9 9 0 11-18 0 9 9 0 0118 0z"}}]})(e)}function $D(e){return Cn({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 10h16M4 14h16M4 18h16"}}]})(e)}function XD(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M5 12h14"}},{tag:"path",attr:{d:"m12 5 7 7-7 7"}}]})(e)}function JD(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 6 9 17 4 12"}}]})(e)}function ZD(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"path",attr:{d:"m10 8 4 4-4 4"}}]})(e)}function eL(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"m9 9 5 12 1.774-5.226L21 14 9 9z"}},{tag:"path",attr:{d:"m16.071 16.071 4.243 4.243"}},{tag:"path",attr:{d:"m7.188 2.239.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656-2.12 2.122"}}]})(e)}function tL(e){return Cn({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M176,24H80A56.06,56.06,0,0,0,24,80v96a56.06,56.06,0,0,0,56,56h96a56.06,56.06,0,0,0,56-56V80A56.06,56.06,0,0,0,176,24ZM128,176a48,48,0,1,1,48-48A48.05,48.05,0,0,1,128,176Zm60-96a12,12,0,1,1,12-12A12,12,0,0,1,188,80Zm-28,48a32,32,0,1,1-32-32A32,32,0,0,1,160,128Z"}}]})(e)}function nL(e){return Cn({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M222.14,58.87A8,8,0,0,0,216,56H54.68L49.79,29.14A16,16,0,0,0,34.05,16H16a8,8,0,0,0,0,16h18L59.56,172.29a24,24,0,0,0,5.33,11.27,28,28,0,1,0,44.4,8.44h45.42A27.75,27.75,0,0,0,152,204a28,28,0,1,0,28-28H83.17a8,8,0,0,1-7.87-6.57L72.13,152h116a24,24,0,0,0,23.61-19.71l12.16-66.86A8,8,0,0,0,222.14,58.87ZM96,204a12,12,0,1,1-12-12A12,12,0,0,1,96,204Zm96,0a12,12,0,1,1-12-12A12,12,0,0,1,192,204Zm4-74.57A8,8,0,0,1,188.1,136H69.22L57.59,72H206.41Z"}}]})(e)}const iL="https://www.pozo.dev/pozo-common-api",aL=Ja("publicHome/pricingType",(async()=>await Ne.get(`${iL}/application?Type=A`))),rL=Ja("publicHome/getMainModuleData",(async({TypeName:e})=>{if(null!=e&&null!=e)return await fA.get(`/configMaster?TypeName=${e}`)})),sL=Ja("publicHome/getModuleData",(async({AlphaNumFId:e})=>{if(null!=e&&null!=e)return await fA.get(`/configMaster?AlphaNumFId=${e}`)})),lL=Ja("publicHome/getSubCategoryData",(async e=>{if(null!=e&&null!=e)return await Ne.get(`${iL}/application?CateId=${e}`)})),oL=Ja("publicHome/getApplicationData",(async e=>{if(null!=e&&null!=e)return await Ne.get(`${iL}/application?SubId=${e}`)})),dL=Ja("publicHome/getApplicationData",(async()=>await Ne.get(`${iL}/application`)));Ja("publicHome/getApplicationData",(async()=>await Ne.get(`${iL}/application?Type=D`))),Ja("application/postApplicationData",(async e=>await fA.post("/application",e)));const cL=Ja("publicHome/PostToken",(async e=>{const t=new URLSearchParams;for(const i in e)t.append(i,e[i]);try{const t=await Ne.post("https://www.pozo.dev/JwtToken/jwtTokenGenerator",e,{headers:{"Content-Type":"application/json",Accept:"application/json"}}),{token:n}=null==t?void 0:t.data;sessionStorage.getItem("auth")||sessionStorage.setItem("auth",n)}catch(n){}}));Ya({name:"publicHome",initialState:{homeData:[]},extraReducers:e=>{e.addCase(aL.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.homeData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.homeData=[]}))}});const uL="/",pL=()=>{const e=a.useRef(null),t=iA("UserId"),n=Qt(),i=um(),r=Mt(),[s,l]=a.useState(),[o,d]=a.useState(),[c,u]=a.useState(),[p,A]=a.useState(),[h,f]=a.useState(),[m,v]=a.useState(),[g,y]=a.useState(!1),[x,b]=a.useState(!1),[w,j]=a.useState(),[C,S]=a.useState(!1);a.useEffect((()=>{N()}),[]);const N=async()=>{var e,t,n,a,r;const s=await i(rL({TypeName:"Main Module"})).unwrap();1===(null==(e=null==s?void 0:s.data)?void 0:e.statusCode)&&l((null==(n=null==(t=null==s?void 0:s.data)?void 0:t.data)?void 0:n.length)>0?null==(r=null==(a=null==s?void 0:s.data)?void 0:a.data)?void 0:r.filter((e=>"A"===e.ActiveStatus)):[])},I=async(e,t)=>{nA("AppId",t),nA("AppName",e),n(`${uL+e}`),window.location.reload()},B=async t=>{var n,a,r,s;const l=await i(sL({AlphaNumFId:t})).unwrap();if(1===(null==(n=null==l?void 0:l.data)?void 0:n.statusCode)){let e=null==(r=null==(a=null==l?void 0:l.data)?void 0:a.data)?void 0:r.filter((e=>"A"===e.ActiveStatus));d(e),P(null==(s=null==e?void 0:e[0])?void 0:s.ConfigId),j(t)}else u(void 0),A([]),f(void 0),v([]),j(void 0);e.current&&clearTimeout(e.current),b(!0)},P=async e=>{var t,n,a,r,s;u((t=>g&&t===e?void 0:e));const l=await i(lL(e)).unwrap();if(1===(null==(t=null==l?void 0:l.data)?void 0:t.statusCode)){let e=null==(a=null==(n=null==l?void 0:l.data)?void 0:n.data)?void 0:a.filter((e=>"A"===e.ActiveStatus));A(e),k(null==(s=null==(r=null==l?void 0:l.data)?void 0:r.data[0])?void 0:s.SubCateId)}else A([]),f(void 0),v([])},k=async e=>{var t,n,a;f((t=>g&&t===e?void 0:e));const r=await i(oL(e)).unwrap();if(1===(null==(t=null==r?void 0:r.data)?void 0:t.statusCode)){let e=null==(a=null==(n=null==r?void 0:r.data)?void 0:n.data)?void 0:a.filter((e=>"A"===e.ActiveStatus));v(e)}else v([])},T=()=>{e.current=setTimeout((()=>{b(!1)}),100)},E=async()=>{let e={username:"1000000001",password:"1234"};try{await i(cL(e)).unwrap()}catch(t){}};return Ye.jsxs("div",{className:"PozoappNavbar-Master",children:[Ye.jsxs("div",{className:"PozoappNavbar-logo-and-field",children:[Ye.jsxs("div",{className:"PozoappNavbar-responsive-Toogle",children:[Ye.jsxs("div",{onClick:()=>{y(!g)},className:"responsive-Toogle-BTN",children:[!g&&Ye.jsx(li,{size:24}),g&&Ye.jsx(ey,{size:24})]}),Ye.jsx("div",{className:"PozoappNavbar-overlay "+(g?"open":""),children:Ye.jsx("div",{className:"PozoappNavbar-responsive-content "+(g?"open":""),children:Ye.jsxs("div",{className:"responsive-content",children:[null==s?void 0:s.map(((e,t)=>Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("p",{className:"PozoappNavbar-industry",onClick:()=>{B(e.ConfigId)},children:[e.ConfigName,e.ConfigId===w?Ye.jsx(Wn,{}):Ye.jsx(si,{})]},t),w===e.ConfigId&&Ye.jsx(Ye.Fragment,{children:null==o?void 0:o.map(((e,t)=>Ye.jsx("div",{className:"PozoappNavbar-industry-list",children:Ye.jsxs("div",{className:"Catlistofindustry",children:[Ye.jsxs("div",{className:"Catlistofindustry1",onClick:()=>{P(e.ConfigId)},children:[c===e.ConfigId?Ye.jsx(Wn,{}):Ye.jsx(si,{}),e.ConfigName]}),c===e.ConfigId&&(null==p?void 0:p.length)>0?null==p?void 0:p.map(((e,t)=>Ye.jsxs("div",{className:"subCatlistofindustry",children:[Ye.jsxs("div",{onClick:()=>k(e.SubCateId),className:"industrycatmain",children:[e.SubCategoryName,h==e.SubCateId?Ye.jsx(Wn,{}):Ye.jsx(si,{})]}),h===e.SubCateId&&(null==m?void 0:m.length)>0&&(null==m?void 0:m.map(((e,t)=>Ye.jsx("div",{className:"subCatlist-in",onClick:()=>{var t;return I(null==(t=null==e?void 0:e.AppName)?void 0:t.toLowerCase(),null==e?void 0:e.AppId)},children:e.AppName},t))))]},t))):Ye.jsx("div",{})]})},t)))})]}))),Ye.jsx("div",{className:"Testimonial-responsive",onClick:()=>{n(`${uL}testimonials`)},children:"Testimonials"})]})})})]}),Ye.jsx("div",{className:"pozologo-image",children:Ye.jsx("img",{src:Bm,alt:"pozologo",onClick:()=>{n(`${uL}`)}})}),Ye.jsxs("div",{className:"logo-and-fields",children:[null==s?void 0:s.map(((e,t)=>Ye.jsx("div",{className:"Industries-main",onMouseEnter:()=>{B(e.ConfigId)},onMouseLeave:T,children:e.ConfigName},t))),x&&Ye.jsxs("div",{className:"Industries-content "+(x?"show":""),onMouseEnter:()=>{B(w)},onMouseLeave:T,children:[Ye.jsx("div",{className:"Industries-cat",children:null==o?void 0:o.map(((e,t)=>Ye.jsxs("div",{style:{backgroundColor:c===e.ConfigId&&"#902578",color:c===e.ConfigId&&"#fff",fontWeight:c===e.ConfigId&&"500"},className:"Industries-cat-list "+(c===e.catData?"active":""),onClick:()=>P(e.ConfigId),children:[e.ConfigName,c===e.ConfigId&&Ye.jsx(XD,{size:18})]},t)))}),(null==o?void 0:o.length)>0&&Ye.jsx("div",{className:"Industries-SubCat",children:(null==p?void 0:p.length)>0?null==p?void 0:p.map(((e,t)=>Ye.jsxs("div",{style:{backgroundColor:h===e.SubCateId&&"#902578",color:h===e.SubCateId&&"#fff",fontWeight:h===e.SubCateId&&"500"},className:"Industries-SubCat-list "+(h===e.SubCateId?"active":""),onClick:()=>k(e.SubCateId),children:[e.SubCategoryName,h===e.SubCateId&&Ye.jsx(XD,{size:18})]},t))):Ye.jsx(X,{})}),(null==o?void 0:o.length)>0&&(null==p?void 0:p.length)>0&&Ye.jsx("div",{className:"Industries-Info",children:h?h&&(null==m?void 0:m.length)>0?null==m?void 0:m.map(((e,t)=>Ye.jsx("div",{className:"IndustriesInfoData-Restaurant",onClick:()=>{var t;return I(null==(t=null==e?void 0:e.AppName)?void 0:t.toLowerCase(),null==e?void 0:e.AppId)},children:Ye.jsxs("div",{className:"InfoData-Restaurant",children:[Ye.jsx("div",{children:Ye.jsx("img",{src:e.AppLogo,alt:e.AppName})}),Ye.jsxs("div",{children:[Ye.jsx("p",{children:e.AppName}),Ye.jsx(F,{className:"AppDescription-tooltip",placement:"bottom",title:Ye.jsxs("span",{style:{color:"#000",fontSize:"14px"},children:[e.AppDescription," "]}),color:"#fff",children:Ye.jsx("p",{children:e.AppDescription})})]})]})},t))):Ye.jsx(X,{}):Ye.jsx("div",{children:"Select a subcategory to view more information"})})]}),("/"==(null==r?void 0:r.pathname)||"/home/"==(null==r?void 0:r.pathname))&&Ye.jsx("div",{className:"offering-main",onClick:()=>{const e=document.getElementById("Offers");e&&e.scrollIntoView({behavior:"smooth"})},children:"Offerings"}),Ye.jsx("div",{className:"Testimonial-PozoNavbar",onClick:()=>{n(`${uL}testimonials`)},children:"Testimonials"})]})]}),Ye.jsx("div",{className:"PozoappNavbar-signin-and-field",children:Ye.jsxs("div",{className:"signin-and-fields",children:[Ye.jsx("a",{className:"pozo-store-btn",href:"https://pozo.app/apps/retail-public/app-page",children:"POZO STORE"}),Ye.jsx("a",{className:"pozo-store-btn1",href:"https://pozo.app/apps/retail-public/app-page",children:Ye.jsx(nL,{})}),t?Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{className:"signin-responsive",children:[Ye.jsx("div",{onClick:()=>{S((e=>!e))},children:Ye.jsx(GD,{})}),C&&Ye.jsxs("div",{className:"signin-responsive-option",children:[Ye.jsx("div",{onClick:()=>{n(`${uL}landing-page/user-account`)},children:"My Account"}),Ye.jsx("div",{onClick:async()=>{var e;const a=t,r=await i(fm({UserId:a,status:"N"})).unwrap();1===(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)&&(rA(),n(`${uL}`),sessionStorage.getItem("auth")||E())},children:"Sign Out"})]})]})}):Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{className:"PozoappNavbar-signin",onClick:()=>{n(`${uL}signin`)},children:[Ye.jsx(GD,{}),"SIGN IN"]})})]})})]})};var AL="undefined"!=typeof Element,hL="function"==typeof Map,fL="function"==typeof Set,mL="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function vL(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,i,a,r;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(i=n;0!==i--;)if(!vL(e[i],t[i]))return!1;return!0}if(hL&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(r=e.entries();!(i=r.next()).done;)if(!t.has(i.value[0]))return!1;for(r=e.entries();!(i=r.next()).done;)if(!vL(i.value[1],t.get(i.value[0])))return!1;return!0}if(fL&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(r=e.entries();!(i=r.next()).done;)if(!t.has(i.value[0]))return!1;return!0}if(mL&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(i=n;0!==i--;)if(e[i]!==t[i])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((n=(a=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(i=n;0!==i--;)if(!Object.prototype.hasOwnProperty.call(t,a[i]))return!1;if(AL&&e instanceof Element)return!1;for(i=n;0!==i--;)if(("_owner"!==a[i]&&"__v"!==a[i]&&"__o"!==a[i]||!e.$$typeof)&&!vL(e[a[i]],t[a[i]]))return!1;return!0}return e!=e&&t!=t}const gL=c((function(e,t){try{return vL(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return!1;throw n}}));var yL=function(e,t,n,i,a,r,s,l){if(!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,i,a,r,s,l],c=0;(o=new Error(t.replace(/%s/g,(function(){return d[c++]})))).name="Invariant Violation"}throw o.framesToPop=1,o}};const xL=c(yL);const bL=c((function(e,t,n,i){var a=n?n.call(i,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var r=Object.keys(e),s=Object.keys(t);if(r.length!==s.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),o=0;o<r.length;o++){var d=r[o];if(!l(d))return!1;var c=e[d],u=t[d];if(!1===(a=n?n.call(i,c,u,d):void 0)||void 0===a&&c!==u)return!1}return!0}));var wL=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(wL||{}),jL={rel:["amphtml","canonical","alternate"]},CL={type:["application/ld+json"]},SL={charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},NL=Object.values(wL),IL={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},FL=Object.entries(IL).reduce(((e,[t,n])=>(e[n]=t,e)),{}),BL="data-rh",PL="defaultTitle",kL="defer",TL="encodeSpecialCharacters",EL="onChangeClientState",DL="titleTemplate",LL="prioritizeSeoTags",UL=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const i=e[n];if(Object.prototype.hasOwnProperty.call(i,t))return i[t]}return null},_L=e=>{let t=UL(e,"title");const n=UL(e,DL);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(()=>t));const i=UL(e,PL);return t||i||void 0},OL=e=>UL(e,EL)||(()=>{}),ML=(e,t)=>t.filter((t=>void 0!==t[e])).map((t=>t[e])).reduce(((e,t)=>({...e,...t})),{}),RL=(e,t)=>t.filter((e=>void 0!==e.base)).map((e=>e.base)).reverse().reduce(((t,n)=>{if(!t.length){const i=Object.keys(n);for(let a=0;a<i.length;a+=1){const r=i[a].toLowerCase();if(-1!==e.indexOf(r)&&n[r])return t.concat(n)}}return t}),[]),QL=(e,t,n)=>{const i={};return n.filter((t=>!!Array.isArray(t[e])||(void 0!==t[e]&&(t[e],console&&console.warn),!1))).map((t=>t[e])).reverse().reduce(((e,n)=>{const a={};n.filter((e=>{let n;const r=Object.keys(e);for(let i=0;i<r.length;i+=1){const a=r[i],s=a.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(a)||"innerHTML"!==a&&"cssText"!==a&&"itemprop"!==a||(n=a)}if(!n||!e[n])return!1;const s=e[n].toLowerCase();return i[n]||(i[n]={}),a[n]||(a[n]={}),!i[n][s]&&(a[n][s]=!0,!0)})).reverse().forEach((t=>e.push(t)));const r=Object.keys(a);for(let t=0;t<r.length;t+=1){const e=r[t],n={...i[e],...a[e]};i[e]=n}return e}),[]).reverse()},HL=(e,t)=>{if(Array.isArray(e)&&e.length)for(let n=0;n<e.length;n+=1){if(e[n][t])return!0}return!1},VL=e=>Array.isArray(e)?e.join(""):e,zL=(e,t)=>Array.isArray(e)?e.reduce(((e,n)=>(((e,t)=>{const n=Object.keys(e);for(let i=0;i<n.length;i+=1)if(t[n[i]]&&t[n[i]].includes(e[n[i]]))return!0;return!1})(n,t)?e.priority.push(n):e.default.push(n),e)),{priority:[],default:[]}):{default:e,priority:[]},qL=(e,t)=>({...e,[t]:void 0}),WL=["noscript","script","style"],YL=(e,t=!0)=>!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),KL=e=>Object.keys(e).reduce(((t,n)=>{const i=void 0!==e[n]?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${i}`:i}),""),GL=(e,t={})=>Object.keys(e).reduce(((t,n)=>(t[IL[n]||n]=e[n],t)),t),$L=(e,t)=>t.map(((t,n)=>{const i={key:n,[BL]:!0};return Object.keys(t).forEach((e=>{const n=IL[e]||e;if("innerHTML"===n||"cssText"===n){const e=t.innerHTML||t.cssText;i.dangerouslySetInnerHTML={__html:e}}else i[n]=t[e]})),l.createElement(e,i)})),XL=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>((e,t,n)=>{const i=GL(n,{key:t,[BL]:!0});return[l.createElement("title",i,t)]})(0,t.title,t.titleAttributes),toString:()=>((e,t,n,i)=>{const a=KL(n),r=VL(t);return a?`<${e} ${BL}="true" ${a}>${YL(r,i)}</${e}>`:`<${e} ${BL}="true">${YL(r,i)}</${e}>`})(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>GL(t),toString:()=>KL(t)};default:return{toComponent:()=>$L(e,t),toString:()=>((e,t,n=!0)=>t.reduce(((t,i)=>{const a=i,r=Object.keys(a).filter((e=>!("innerHTML"===e||"cssText"===e))).reduce(((e,t)=>{const i=void 0===a[t]?t:`${t}="${YL(a[t],n)}"`;return e?`${e} ${i}`:i}),""),s=a.innerHTML||a.cssText||"",l=-1===WL.indexOf(e);return`${t}<${e} ${BL}="true" ${r}${l?"/>":`>${s}</${e}>`}`}),""))(e,t,n)}}},JL=e=>{const{baseTag:t,bodyAttributes:n,encode:i=!0,htmlAttributes:a,noscriptTags:r,styleTags:s,title:l="",titleAttributes:o,prioritizeSeoTags:d}=e;let{linkTags:c,metaTags:u,scriptTags:p}=e,A={toComponent:()=>{},toString:()=>""};return d&&({priorityMethods:A,linkTags:c,metaTags:u,scriptTags:p}=(({metaTags:e,linkTags:t,scriptTags:n,encode:i})=>{const a=zL(e,SL),r=zL(t,jL),s=zL(n,CL);return{priorityMethods:{toComponent:()=>[...$L("meta",a.priority),...$L("link",r.priority),...$L("script",s.priority)],toString:()=>`${XL("meta",a.priority,i)} ${XL("link",r.priority,i)} ${XL("script",s.priority,i)}`},metaTags:a.default,linkTags:r.default,scriptTags:s.default}})(e)),{priority:A,base:XL("base",t,i),bodyAttributes:XL("bodyAttributes",n,i),htmlAttributes:XL("htmlAttributes",a,i),link:XL("link",c,i),meta:XL("meta",u,i),noscript:XL("noscript",r,i),script:XL("script",p,i),style:XL("style",s,i),title:XL("title",{title:l,titleAttributes:o},i)}},ZL=[],eU=!("undefined"==typeof window||!window.document||!window.document.createElement),tU=class{constructor(e,t){i(this,"instances",[]),i(this,"canUseDOM",eU),i(this,"context"),i(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?ZL:this.instances,add:e=>{(this.canUseDOM?ZL:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?ZL:this.instances).indexOf(e);(this.canUseDOM?ZL:this.instances).splice(t,1)}}}),this.context=e,this.canUseDOM=t||!1,t||(e.helmet=JL({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},nU=l.createContext({}),iU=(e=class extends a.Component{constructor(t){super(t),i(this,"helmetData"),this.helmetData=new tU(this.props.context||{},e.canUseDOM)}render(){return l.createElement(nU.Provider,{value:this.helmetData.value},this.props.children)}},i(e,"canUseDOM",eU),e),aU=(e,t)=>{const n=document.head||document.querySelector("head"),i=n.querySelectorAll(`${e}[${BL}]`),a=[].slice.call(i),r=[];let s;return t&&t.length&&t.forEach((t=>{const n=document.createElement(e);for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e))if("innerHTML"===e)n.innerHTML=t.innerHTML;else if("cssText"===e)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{const i=e,a=void 0===t[i]?"":t[i];n.setAttribute(e,a)}n.setAttribute(BL,"true"),a.some(((e,t)=>(s=t,n.isEqualNode(e))))?a.splice(s,1):r.push(n)})),a.forEach((e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),r.forEach((e=>n.appendChild(e))),{oldTags:a,newTags:r}},rU=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const i=n.getAttribute(BL),a=i?i.split(","):[],r=[...a],s=Object.keys(t);for(const l of s){const e=t[l]||"";n.getAttribute(l)!==e&&n.setAttribute(l,e),-1===a.indexOf(l)&&a.push(l);const i=r.indexOf(l);-1!==i&&r.splice(i,1)}for(let l=r.length-1;l>=0;l-=1)n.removeAttribute(r[l]);a.length===r.length?n.removeAttribute(BL):n.getAttribute(BL)!==s.join(",")&&n.setAttribute(BL,s.join(","))},sU=(e,t)=>{const{baseTag:n,bodyAttributes:i,htmlAttributes:a,linkTags:r,metaTags:s,noscriptTags:l,onChangeClientState:o,scriptTags:d,styleTags:c,title:u,titleAttributes:p}=e;rU("body",i),rU("html",a),((e,t)=>{void 0!==e&&document.title!==e&&(document.title=VL(e)),rU("title",t)})(u,p);const A={baseTag:aU("base",n),linkTags:aU("link",r),metaTags:aU("meta",s),noscriptTags:aU("noscript",l),scriptTags:aU("script",d),styleTags:aU("style",c)},h={},f={};Object.keys(A).forEach((e=>{const{newTags:t,oldTags:n}=A[e];t.length&&(h[e]=t),n.length&&(f[e]=A[e].oldTags)})),t&&t(),o(e,h,f)},lU=null,oU=e=>{lU&&cancelAnimationFrame(lU),e.defer?lU=requestAnimationFrame((()=>{sU(e,(()=>{lU=null}))})):(sU(e),lU=null)},dU=class extends a.Component{constructor(){super(...arguments),i(this,"rendered",!1)}shouldComponentUpdate(e){return!bL(e,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:e}=this.props.context;e.remove(this),this.emitChange()}emitChange(){const{helmetInstances:e,setHelmet:t}=this.props.context;let n=null;const i=(a=e.get().map((e=>{const t={...e.props};return delete t.context,t})),{baseTag:RL(["href"],a),bodyAttributes:ML("bodyAttributes",a),defer:UL(a,kL),encode:UL(a,TL),htmlAttributes:ML("htmlAttributes",a),linkTags:QL("link",["rel","href"],a),metaTags:QL("meta",["name","charset","http-equiv","property","itemprop"],a),noscriptTags:QL("noscript",["innerHTML"],a),onChangeClientState:OL(a),scriptTags:QL("script",["src","innerHTML"],a),styleTags:QL("style",["cssText"],a),title:_L(a),titleAttributes:ML("titleAttributes",a),prioritizeSeoTags:HL(a,LL)});var a;iU.canUseDOM?oU(i):JL&&(n=JL(i)),t(n)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:e}=this.props.context;e.add(this),this.emitChange()}render(){return this.init(),null}},cU=(t=class extends a.Component{shouldComponentUpdate(e){return!gL(qL(this.props,"helmetData"),qL(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,i){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,i)}]}}mapObjectTypeChildren(e,t,n,i){switch(e.type){case"title":return{...t,[e.type]:i,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach((t=>{n={...n,[t]:e[t]}})),n}warnOnInvalidChildren(e,t){return xL(NL.some((t=>e.type===t)),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${NL.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),xL(!t||"string"==typeof t||Array.isArray(t)&&!t.some((e=>"string"!=typeof e)),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return l.Children.forEach(e,(e=>{if(!e||!e.props)return;const{children:i,...a}=e.props,r=Object.keys(a).reduce(((e,t)=>(e[FL[t]||t]=a[t],e)),{});let{type:s}=e;switch("symbol"==typeof s?s=s.toString():this.warnOnInvalidChildren(e,i),s){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(e,n,r,i);break;default:t=this.mapObjectTypeChildren(e,t,r,i)}})),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:i}=t;if(e&&(n=this.mapChildrenToProps(e,n)),i&&!(i instanceof tU)){i=new tU(i.context,!0),delete n.helmetData}return i?l.createElement(dU,{...n,context:i.value}):l.createElement(nU.Consumer,null,(e=>l.createElement(dU,{...n,context:e})))}},i(t,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),t);const uU="https://www.pozo.app/",pU="POZO",AU="@PozoApp",hU="en_US",fU="/og/home.jpg",mU="PozoApp delivers AI-powered POS and SaaS solutions for MSMEs and enterprises. Complete business management with billing, inventory, and analytics.",vU="2019",gU="https://www.pozo.app/static/brand/logo.png",yU=(e="",t=160)=>{const n=String(e).trim();if(n.length<=t)return n;const i=n.slice(0,t);return i.slice(0,i.lastIndexOf(" "))||i},xU=e=>e?/^https?:\/\//i.test(e)?e:`${uU}${e.startsWith("/")?"":"/"}${e}`:uU;function bU({title:e,description:t,keywords:n,url:i,image:a,type:r="website",noindex:s=!1,publishedTime:l,modifiedTime:o,siteName:d=pU,twitterHandle:c=AU,locale:u=hU,customJsonLd:p=null}){const A=yU(e||d,60),h=yU(t||mU,160),f=xU(i||"/"),m=xU(a||fU),v=s?"noindex,nofollow":"index,follow",g="article"===r?{"@context":"https://schema.org","@type":"Article",headline:A,description:h,image:m,datePublished:l||void 0,dateModified:o||l||void 0,mainEntityOfPage:f,author:{"@type":"Organization",name:d},publisher:{"@type":"Organization",name:d,logo:{"@type":"ImageObject",url:xU("/logo.png")}}}:null,y={"@context":"https://schema.org","@type":"WebSite",url:uU,name:d,potentialAction:{"@type":"SearchAction",target:`${uU}/search?q={search_term_string}`,"query-input":"required name=search_term_string"}},x={"@context":"https://schema.org","@type":"Organization",name:d,url:uU,logo:gU,foundingDate:vU,description:h,contactPoint:{"@type":"ContactPoint",telephone:"+91-7324000012",contactType:"customer service"},sameAs:["https://www.facebook.com/pozoapp","https://www.twitter.com/pozoapp"]};return Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs(cU,{children:[Ye.jsx("title",{children:A}),Ye.jsx("meta",{name:"description",content:h}),n&&Ye.jsx("meta",{name:"keywords",content:n}),Ye.jsx("meta",{name:"robots",content:v}),Ye.jsx("link",{rel:"canonical",href:f}),Ye.jsx("meta",{property:"og:site_name",content:d}),Ye.jsx("meta",{property:"og:locale",content:u}),Ye.jsx("meta",{property:"og:type",content:r}),Ye.jsx("meta",{property:"og:title",content:A}),Ye.jsx("meta",{property:"og:description",content:h}),Ye.jsx("meta",{property:"og:url",content:f}),m&&Ye.jsx("meta",{property:"og:image",content:m}),"article"===r&&l&&Ye.jsx("meta",{property:"article:published_time",content:l}),"article"===r&&o&&Ye.jsx("meta",{property:"article:modified_time",content:o}),Ye.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),!!c&&Ye.jsx("meta",{name:"twitter:site",content:c}),Ye.jsx("meta",{name:"twitter:title",content:A}),Ye.jsx("meta",{name:"twitter:description",content:h}),m&&Ye.jsx("meta",{name:"twitter:image",content:m})]}),Ye.jsx("script",{type:"application/ld+json",children:JSON.stringify(y)}),Ye.jsx("script",{type:"application/ld+json",children:JSON.stringify(x)}),g&&Ye.jsx("script",{type:"application/ld+json",children:JSON.stringify(g)}),p&&Array.isArray(p)?p.map(((e,t)=>Ye.jsx("script",{type:"application/ld+json",children:JSON.stringify(e)},t))):p?Ye.jsx("script",{type:"application/ld+json",children:JSON.stringify(p)}):null]})}const wU=Ja("Seo/postSeo",(async e=>await fA.post("/Seo",e))),jU=Ja("Seo/putSeo",(async e=>await fA.put("/Seo",e))),CU=Ja("Seo/getSeo",(async({PageId:e})=>await fA.get(`/Seo?pageId=${e}`)));Ja("Seo/getSeoByTitle",(async({MetaTitle:e})=>await fA.get(`/Seo?metaTitle=${e}`)));const SU=Ja("Seo/getAllSeo",(async()=>await fA.get("/Seo"))),NU=Ya({name:"seo",initialState:{seoData:[],loading:!1,error:null},reducers:{},extraReducers:e=>{e.addCase(CU.pending,(e=>{e.loading=!0})).addCase(CU.fulfilled,((e,t)=>{var n,i;e.loading=!1,e.seoData=(null==(i=null==(n=t.payload)?void 0:n.data)?void 0:i.data)||[]})).addCase(CU.rejected,((e,t)=>{e.loading=!1,e.error=t.error.message})).addCase(wU.fulfilled,((e,t)=>{e.loading=!1})).addCase(jU.fulfilled,((e,t)=>{e.loading=!1}))}}).reducer;function IU(e){return Cn({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8z"}}]})(e)}function FU(e){return Cn({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"}}]})(e)}function BU(e){return Cn({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M12.146.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-10 10a.5.5 0 0 1-.168.11l-5 2a.5.5 0 0 1-.65-.65l2-5a.5.5 0 0 1 .11-.168l10-10zM11.207 2.5 13.5 4.793 14.793 3.5 12.5 1.207 11.207 2.5zm1.586 3L10.5 3.207 4 9.707V10h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.293l6.5-6.5zm-9.761 5.175-.106.106-1.528 3.821 3.821-1.528.106-.106A.5.5 0 0 1 5 12.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.468-.325z"}}]})(e)}function PU(e){return Cn({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M11 8h2V6h-2v2Z"}},{tag:"path",attr:{d:"M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm8.5.5a.5.5 0 0 0-1 0v7a.5.5 0 0 0 1 0v-7ZM2 5.5a.5.5 0 0 0 .5.5H6a.5.5 0 0 0 0-1H2.5a.5.5 0 0 0-.5.5ZM2.5 7a.5.5 0 0 0 0 1H6a.5.5 0 0 0 0-1H2.5ZM2 9.5a.5.5 0 0 0 .5.5H6a.5.5 0 0 0 0-1H2.5a.5.5 0 0 0-.5.5Zm8-4v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5Z"}}]})(e)}const kU=()=>{const[e,t]=a.useState(!1),[n,i]=a.useState(1),r=a.useRef(null);return Ye.jsx("div",{children:Ye.jsxs("video",{ref:r,id:"my-video",className:"video-js vjs-theme-forest",preload:"auto",width:"1366",height:"574",poster:"/assets/thumb-f7e04ff1.png","data-setup":"{}",onClick:()=>{const e=r.current;e&&(e.paused?(e.play(),t(!0)):(e.pause(),t(!1)))},onWheel:e=>{e.preventDefault();const t=r.current;if(t){const a=Math.sign(e.deltaY),r=Math.max(0,Math.min(n+.1*a,1));i(r),t.volume=r}},onDoubleClick:()=>{const e=r.current;e&&(document.fullscreenElement?document.exitFullscreen():e.requestFullscreen().catch((e=>{})))},children:[Ye.jsx("source",{src:"/assets/PozoMind-280b6496.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]})})};const TU=c(fx()),EU=({children:e,scrollSpeed:t})=>{const[n,i]=a.useState(!1),r=a.useRef(null),s=a.useRef(null);return a.useEffect((()=>{if(s.current&&r.current){const e=s.current.scrollWidth;r.current.style.setProperty("--content-width",`${e}px`)}}),[e]),Ye.jsx("div",{ref:r,className:"slider-container",onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:Ye.jsxs("div",{ref:s,className:"slider-content "+(n?"paused":""),style:{animationDuration:`${t}s`},children:[e,e,e," "]})})};EU.propTypes={children:TU.node.isRequired,scrollSpeed:TU.number},EU.defaultProps={scrollSpeed:10};var DU={exports:{}};DU.exports=function(e){function t(i){if(n[i])return n[i].exports;var a=n[i]={exports:{},id:i,loaded:!1};return e[i].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){function i(e){return e&&e.__esModule?e:{default:e}}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r=(i(n(1)),n(6)),s=i(r),l=i(n(7)),o=i(n(8)),d=i(n(9)),c=i(n(10)),u=i(n(11)),p=i(n(14)),A=[],h=!1,f={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},m=function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(h=!0),h)return A=(0,u.default)(A,f),(0,c.default)(A,f.once),A},v=function(){A=(0,p.default)(),m()},g=function(){A.forEach((function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")}))},y=function(e){return!0===e||"mobile"===e&&d.default.mobile()||"phone"===e&&d.default.phone()||"tablet"===e&&d.default.tablet()||"function"==typeof e&&!0===e()},x=function(e){f=a(f,e),A=(0,p.default)();var t=document.all&&!window.atob;return y(f.disable)||t?g():(f.disableMutationObserver||o.default.isSupported()||(f.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",f.easing),document.querySelector("body").setAttribute("data-aos-duration",f.duration),document.querySelector("body").setAttribute("data-aos-delay",f.delay),"DOMContentLoaded"===f.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?m(!0):"load"===f.startEvent?window.addEventListener(f.startEvent,(function(){m(!0)})):document.addEventListener(f.startEvent,(function(){m(!0)})),window.addEventListener("resize",(0,l.default)(m,f.debounceDelay,!0)),window.addEventListener("orientationchange",(0,l.default)(m,f.debounceDelay,!0)),window.addEventListener("scroll",(0,s.default)((function(){(0,c.default)(A,f.once)}),f.throttleDelay)),f.disableMutationObserver||o.default.ready("[data-aos]",v),A)};e.exports={init:x,refresh:m,refreshHard:v}},function(e,t){},,,,,function(e,t){(function(t){function n(e,t,n){function i(t){var n=f,i=m;return f=m=void 0,C=t,g=e.apply(i,n)}function r(e){return C=e,y=setTimeout(c,t),S?i(e):g}function s(e){var n=t-(e-x);return N?w(n,v-(e-C)):n}function o(e){var n=e-x;return void 0===x||n>=t||n<0||N&&e-C>=v}function c(){var e=j();return o(e)?u(e):void(y=setTimeout(c,s(e)))}function u(e){return y=void 0,I&&f?i(e):(f=m=void 0,g)}function p(){void 0!==y&&clearTimeout(y),C=0,f=x=m=y=void 0}function A(){return void 0===y?g:u(j())}function h(){var e=j(),n=o(e);if(f=arguments,m=this,x=e,n){if(void 0===y)return r(x);if(N)return y=setTimeout(c,t),i(x)}return void 0===y&&(y=setTimeout(c,t)),g}var f,m,v,g,y,x,C=0,S=!1,N=!1,I=!0;if("function"!=typeof e)throw new TypeError(d);return t=l(t)||0,a(n)&&(S=!!n.leading,v=(N="maxWait"in n)?b(l(n.maxWait)||0,t):v,I="trailing"in n?!!n.trailing:I),h.cancel=p,h.flush=A,h}function i(e,t,i){var r=!0,s=!0;if("function"!=typeof e)throw new TypeError(d);return a(i)&&(r="leading"in i?!!i.leading:r,s="trailing"in i?!!i.trailing:s),n(e,t,{leading:r,maxWait:t,trailing:s})}function a(e){var t=void 0===e?"undefined":o(e);return!!e&&("object"==t||"function"==t)}function r(e){return!!e&&"object"==(void 0===e?"undefined":o(e))}function s(e){return"symbol"==(void 0===e?"undefined":o(e))||r(e)&&x.call(e)==u}function l(e){if("number"==typeof e)return e;if(s(e))return c;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(p,"");var n=h.test(e);return n||f.test(e)?m(e.slice(2),n?2:8):A.test(e)?c:+e}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d="Expected a function",c=NaN,u="[object Symbol]",p=/^\s+|\s+$/g,A=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,f=/^0o[0-7]+$/i,m=parseInt,v="object"==(void 0===t?"undefined":o(t))&&t&&t.Object===Object&&t,g="object"==("undefined"==typeof self?"undefined":o(self))&&self&&self.Object===Object&&self,y=v||g||Function("return this")(),x=Object.prototype.toString,b=Math.max,w=Math.min,j=function(){return y.Date.now()};e.exports=i}).call(t,function(){return this}())},function(e,t){(function(t){function n(e,t,n){function a(t){var n=f,i=m;return f=m=void 0,C=t,g=e.apply(i,n)}function r(e){return C=e,y=setTimeout(c,t),S?a(e):g}function l(e){var n=t-(e-j);return N?b(n,v-(e-C)):n}function d(e){var n=e-j;return void 0===j||n>=t||n<0||N&&e-C>=v}function c(){var e=w();return d(e)?u(e):void(y=setTimeout(c,l(e)))}function u(e){return y=void 0,I&&f?a(e):(f=m=void 0,g)}function p(){void 0!==y&&clearTimeout(y),C=0,f=j=m=y=void 0}function A(){return void 0===y?g:u(w())}function h(){var e=w(),n=d(e);if(f=arguments,m=this,j=e,n){if(void 0===y)return r(j);if(N)return y=setTimeout(c,t),a(j)}return void 0===y&&(y=setTimeout(c,t)),g}var f,m,v,g,y,j,C=0,S=!1,N=!1,I=!0;if("function"!=typeof e)throw new TypeError(o);return t=s(t)||0,i(n)&&(S=!!n.leading,v=(N="maxWait"in n)?x(s(n.maxWait)||0,t):v,I="trailing"in n?!!n.trailing:I),h.cancel=p,h.flush=A,h}function i(e){var t=void 0===e?"undefined":l(e);return!!e&&("object"==t||"function"==t)}function a(e){return!!e&&"object"==(void 0===e?"undefined":l(e))}function r(e){return"symbol"==(void 0===e?"undefined":l(e))||a(e)&&y.call(e)==c}function s(e){if("number"==typeof e)return e;if(r(e))return d;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var n=A.test(e);return n||h.test(e)?f(e.slice(2),n?2:8):p.test(e)?d:+e}var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o="Expected a function",d=NaN,c="[object Symbol]",u=/^\s+|\s+$/g,p=/^[-+]0x[0-9a-f]+$/i,A=/^0b[01]+$/i,h=/^0o[0-7]+$/i,f=parseInt,m="object"==(void 0===t?"undefined":l(t))&&t&&t.Object===Object&&t,v="object"==("undefined"==typeof self?"undefined":l(self))&&self&&self.Object===Object&&self,g=m||v||Function("return this")(),y=Object.prototype.toString,x=Math.max,b=Math.min,w=function(){return g.Date.now()};e.exports=n}).call(t,function(){return this}())},function(e,t){function n(e){var t=void 0,i=void 0;for(t=0;t<e.length;t+=1){if((i=e[t]).dataset&&i.dataset.aos)return!0;if(i.children&&n(i.children))return!0}return!1}function i(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function a(){return!!i()}function r(e,t){var n=window.document,a=new(i())(s);l=t,a.observe(n.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function s(e){e&&e.forEach((function(e){var t=Array.prototype.slice.call(e.addedNodes),i=Array.prototype.slice.call(e.removedNodes);if(n(t.concat(i)))return l()}))}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){};t.default={isSupported:a,ready:r}},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,s=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,l=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,o=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,d=function(){function e(){n(this,e)}return a(e,[{key:"phone",value:function(){var e=i();return!(!r.test(e)&&!s.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=i();return!(!l.test(e)&&!o.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),e}();t.default=new d},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,n){var i=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):void 0!==i&&("false"===i||!n&&"true"!==i)&&e.node.classList.remove("aos-animate")},i=function(e,t){var i=window.pageYOffset,a=window.innerHeight;e.forEach((function(e,r){n(e,a+i,t)}))};t.default=i},function(e,t,n){function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(12)),r=function(e,t){return e.forEach((function(e,n){e.node.classList.add("aos-init"),e.position=(0,a.default)(e.node,t.offset)})),e};t.default=r},function(e,t,n){function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(13)),r=function(e,t){var n=0,i=0,r=window.innerHeight,s={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(s.offset&&!isNaN(s.offset)&&(i=parseInt(s.offset)),s.anchor&&document.querySelectorAll(s.anchor)&&(e=document.querySelectorAll(s.anchor)[0]),n=(0,a.default)(e).top,s.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=r/2;break;case"bottom-center":n+=r/2+e.offsetHeight;break;case"center-center":n+=r/2+e.offsetHeight/2;break;case"top-top":n+=r;break;case"bottom-top":n+=e.offsetHeight+r;break;case"center-top":n+=e.offsetHeight/2+r}return s.anchorPlacement||s.offset||isNaN(t)||(i=t),n+i};t.default=r},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,left:t}};t.default=n},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,(function(e){return{node:e}}))};t.default=n}]);const LU=c(DU.exports);function UU(e){return Cn({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M8 8.707l3.646 3.647.708-.707L8.707 8l3.647-3.646-.707-.708L8 7.293 4.354 3.646l-.707.708L7.293 8l-3.646 3.646.707.708L8 8.707z"}}]})(e)}function _U(e){return Cn({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M4 15v-1c2 0 2-.6 2-1H1.5l-.5-.5v-10l.5-.5h13l.5.5v9.24l-1-1V3H2v9h5.73l-.5.5 2.5 2.5H4zm7.86 0l2.5-2.5-.71-.7L12 13.45V7h-1v6.44l-1.64-1.65-.71.71 2.5 2.5h.71z"}}]})(e)}function OU(e){return Cn({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M14.773 3.485l-.78-.184-2.108 2.096-1.194-1.216 2.056-2.157-.18-.792a4.42 4.42 0 0 0-1.347-.228 3.64 3.64 0 0 0-1.457.28 3.824 3.824 0 0 0-1.186.84 3.736 3.736 0 0 0-.875 1.265 3.938 3.938 0 0 0 0 2.966 335.341 335.341 0 0 0-6.173 6.234c-.21.275-.31.618-.284.963a1.403 1.403 0 0 0 .464.967c.124.135.272.247.437.328.17.075.353.118.538.127.316-.006.619-.126.854-.337 1.548-1.457 4.514-4.45 6.199-6.204.457.194.948.294 1.444.293a3.736 3.736 0 0 0 2.677-1.133 3.885 3.885 0 0 0 1.111-2.73 4.211 4.211 0 0 0-.196-1.378zM2.933 13.928a.31.31 0 0 1-.135.07.437.437 0 0 1-.149 0 .346.346 0 0 1-.144-.057.336.336 0 0 1-.114-.11c-.14-.143-.271-.415-.14-.568 1.37-1.457 4.191-4.305 5.955-6.046.1.132.21.258.328.376.118.123.245.237.38.341-1.706 1.75-4.488 4.564-5.98 5.994zm11.118-9.065c.002.765-.296 1.5-.832 2.048a2.861 2.861 0 0 1-4.007 0 2.992 2.992 0 0 1-.635-3.137A2.748 2.748 0 0 1 10.14 2.18a2.76 2.76 0 0 1 1.072-.214h.254L9.649 3.839v.696l1.895 1.886h.66l1.847-1.816v.258zM3.24 6.688h1.531l.705.717.678-.674-.665-.678V6.01l.057-1.649-.22-.437-2.86-1.882-.591.066-.831.849-.066.599 1.838 2.918.424.215zm-.945-3.632L4.609 4.58 4.57 5.703H3.494L2.002 3.341l.293-.285zm7.105 6.96l.674-.673 3.106 3.185a1.479 1.479 0 0 1 0 2.039 1.404 1.404 0 0 1-1.549.315 1.31 1.31 0 0 1-.437-.315l-3.142-3.203.679-.678 3.132 3.194a.402.402 0 0 0 .153.105.477.477 0 0 0 .359 0 .403.403 0 0 0 .153-.105.436.436 0 0 0 .1-.153.525.525 0 0 0 .036-.184.547.547 0 0 0-.035-.184.436.436 0 0 0-.1-.153L9.4 10.016z"}}]})(e)}const MU={height:"400px",color:"#fff",lineHeight:"160px",textAlign:"center"},RU="/home/",QU={height:"400px",color:"#fff",lineHeight:"160px",textAlign:"center"},HU=()=>Ye.jsxs(J,{autoplay:!0,children:[Ye.jsx("div",{children:Ye.jsxs("h3",{style:QU,children:[" ",Ye.jsx("img",{src:"/assets/img1-b3c2ba2f.png",style:{width:"100%"},alt:"BusinessImg"})," "]})}),Ye.jsx("div",{children:Ye.jsxs("h3",{style:QU,children:[" ",Ye.jsx("img",{src:"/assets/img2-1775404b.png",style:{width:"100%"},alt:"BusinessImg"})," "]})}),Ye.jsx("div",{children:Ye.jsxs("h3",{style:QU,children:[" ",Ye.jsx("img",{src:"/assets/img4-876e4254.png",style:{width:"100%"},alt:"BusinessImg"})," "]})}),Ye.jsx("div",{children:Ye.jsxs("h3",{style:QU,children:[" ",Ye.jsx("img",{src:"/assets/img3-6a4293a6.png",style:{width:"100%"},alt:"BusinessImg"})]})})]}),VU={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},zU={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},qU={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},WU={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},YU={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"};class KU{static getFirstMatch(e,t){const n=t.match(e);return n&&n.length>0&&n[1]||""}static getSecondMatch(e,t){const n=t.match(e);return n&&n.length>1&&n[2]||""}static matchAndReturnConst(e,t,n){if(e.test(t))return n}static getWindowsVersionName(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}static getMacOSVersionName(e){const t=e.split(".").splice(0,2).map((e=>parseInt(e,10)||0));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}}static getAndroidVersionName(e){const t=e.split(".").splice(0,2).map((e=>parseInt(e,10)||0));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0}static getVersionPrecision(e){return e.split(".").length}static compareVersions(e,t,n=!1){const i=KU.getVersionPrecision(e),a=KU.getVersionPrecision(t);let r=Math.max(i,a),s=0;const l=KU.map([e,t],(e=>{const t=r-KU.getVersionPrecision(e),n=e+new Array(t+1).join(".0");return KU.map(n.split("."),(e=>new Array(20-e.length).join("0")+e)).reverse()}));for(n&&(s=r-Math.min(i,a)),r-=1;r>=s;){if(l[0][r]>l[1][r])return 1;if(l[0][r]===l[1][r]){if(r===s)return 0;r-=1}else if(l[0][r]<l[1][r])return-1}}static map(e,t){const n=[];let i;if(Array.prototype.map)return Array.prototype.map.call(e,t);for(i=0;i<e.length;i+=1)n.push(t(e[i]));return n}static find(e,t){let n,i;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(n=0,i=e.length;n<i;n+=1){const i=e[n];if(t(i,n))return i}}static assign(e,...t){const n=e;let i,a;if(Object.assign)return Object.assign(e,...t);for(i=0,a=t.length;i<a;i+=1){const e=t[i];if("object"==typeof e&&null!==e){Object.keys(e).forEach((t=>{n[t]=e[t]}))}}return e}static getBrowserAlias(e){return VU[e]}static getBrowserTypeByAlias(e){return zU[e]||""}}const GU=/version\/(\d+(\.?_?\d+)+)/i,$U=[{test:[/googlebot/i],describe(e){const t={name:"Googlebot"},n=KU.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||KU.getFirstMatch(GU,e);return n&&(t.version=n),t}},{test:[/opera/i],describe(e){const t={name:"Opera"},n=KU.getFirstMatch(GU,e)||KU.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe(e){const t={name:"Opera"},n=KU.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||KU.getFirstMatch(GU,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe(e){const t={name:"Samsung Internet for Android"},n=KU.getFirstMatch(GU,e)||KU.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe(e){const t={name:"NAVER Whale Browser"},n=KU.getFirstMatch(GU,e)||KU.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe(e){const t={name:"MZ Browser"},n=KU.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||KU.getFirstMatch(GU,e);return n&&(t.version=n),t}},{test:[/focus/i],describe(e){const t={name:"Focus"},n=KU.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||KU.getFirstMatch(GU,e);return n&&(t.version=n),t}},{test:[/swing/i],describe(e){const t={name:"Swing"},n=KU.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||KU.getFirstMatch(GU,e);return n&&(t.version=n),t}},{test:[/coast/i],describe(e){const t={name:"Opera Coast"},n=KU.getFirstMatch(GU,e)||KU.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe(e){const t={name:"Opera Touch"},n=KU.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||KU.getFirstMatch(GU,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe(e){const t={name:"Yandex Browser"},n=KU.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||KU.getFirstMatch(GU,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe(e){const t={name:"UC Browser"},n=KU.getFirstMatch(GU,e)||KU.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe(e){const t={name:"Maxthon"},n=KU.getFirstMatch(GU,e)||KU.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe(e){const t={name:"Epiphany"},n=KU.getFirstMatch(GU,e)||KU.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe(e){const t={name:"Puffin"},n=KU.getFirstMatch(GU,e)||KU.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe(e){const t={name:"Sleipnir"},n=KU.getFirstMatch(GU,e)||KU.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe(e){const t={name:"K-Meleon"},n=KU.getFirstMatch(GU,e)||KU.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe(e){const t={name:"WeChat"},n=KU.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||KU.getFirstMatch(GU,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe(e){const t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=KU.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||KU.getFirstMatch(GU,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe(e){const t={name:"Internet Explorer"},n=KU.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe(e){const t={name:"Microsoft Edge"},n=KU.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe(e){const t={name:"Microsoft Edge"},n=KU.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe(e){const t={name:"Vivaldi"},n=KU.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe(e){const t={name:"SeaMonkey"},n=KU.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe(e){const t={name:"Sailfish"},n=KU.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe(e){const t={name:"Amazon Silk"},n=KU.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe(e){const t={name:"PhantomJS"},n=KU.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe(e){const t={name:"SlimerJS"},n=KU.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t={name:"BlackBerry"},n=KU.getFirstMatch(GU,e)||KU.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe(e){const t={name:"WebOS Browser"},n=KU.getFirstMatch(GU,e)||KU.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe(e){const t={name:"Bada"},n=KU.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe(e){const t={name:"Tizen"},n=KU.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||KU.getFirstMatch(GU,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe(e){const t={name:"QupZilla"},n=KU.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||KU.getFirstMatch(GU,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe(e){const t={name:"Firefox"},n=KU.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe(e){const t={name:"Electron"},n=KU.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe(e){const t={name:"Miui"},n=KU.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe(e){const t={name:"Chromium"},n=KU.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||KU.getFirstMatch(GU,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe(e){const t={name:"Chrome"},n=KU.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe(e){const t={name:"Google Search"},n=KU.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t={name:"Android Browser"},n=KU.getFirstMatch(GU,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe(e){const t={name:"PlayStation 4"},n=KU.getFirstMatch(GU,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe(e){const t={name:"Safari"},n=KU.getFirstMatch(GU,e);return n&&(t.version=n),t}},{test:[/.*/i],describe(e){const t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:KU.getFirstMatch(t,e),version:KU.getSecondMatch(t,e)}}}],XU=[{test:[/Roku\/DVP/],describe(e){const t=KU.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:WU.Roku,version:t}}},{test:[/windows phone/i],describe(e){const t=KU.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:WU.WindowsPhone,version:t}}},{test:[/windows /i],describe(e){const t=KU.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=KU.getWindowsVersionName(t);return{name:WU.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(e){const t={name:WU.iOS},n=KU.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe(e){const t=KU.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=KU.getMacOSVersionName(t),i={name:WU.MacOS,version:t};return n&&(i.versionName=n),i}},{test:[/(ipod|iphone|ipad)/i],describe(e){const t=KU.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:WU.iOS,version:t}}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t=KU.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=KU.getAndroidVersionName(t),i={name:WU.Android,version:t};return n&&(i.versionName=n),i}},{test:[/(web|hpw)[o0]s/i],describe(e){const t=KU.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:WU.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t=KU.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||KU.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||KU.getFirstMatch(/\bbb(\d+)/i,e);return{name:WU.BlackBerry,version:t}}},{test:[/bada/i],describe(e){const t=KU.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:WU.Bada,version:t}}},{test:[/tizen/i],describe(e){const t=KU.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:WU.Tizen,version:t}}},{test:[/linux/i],describe:()=>({name:WU.Linux})},{test:[/CrOS/],describe:()=>({name:WU.ChromeOS})},{test:[/PlayStation 4/],describe(e){const t=KU.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:WU.PlayStation4,version:t}}}],JU=[{test:[/googlebot/i],describe:()=>({type:"bot",vendor:"Google"})},{test:[/huawei/i],describe(e){const t=KU.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:qU.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:()=>({type:qU.tablet,vendor:"Nexus"})},{test:[/ipad/i],describe:()=>({type:qU.tablet,vendor:"Apple",model:"iPad"})},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:()=>({type:qU.tablet,vendor:"Apple",model:"iPad"})},{test:[/kftt build/i],describe:()=>({type:qU.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"})},{test:[/silk/i],describe:()=>({type:qU.tablet,vendor:"Amazon"})},{test:[/tablet(?! pc)/i],describe:()=>({type:qU.tablet})},{test(e){const t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe(e){const t=KU.getFirstMatch(/(ipod|iphone)/i,e);return{type:qU.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:()=>({type:qU.mobile,vendor:"Nexus"})},{test:[/[^-]mobi/i],describe:()=>({type:qU.mobile})},{test:e=>"blackberry"===e.getBrowserName(!0),describe:()=>({type:qU.mobile,vendor:"BlackBerry"})},{test:e=>"bada"===e.getBrowserName(!0),describe:()=>({type:qU.mobile})},{test:e=>"windows phone"===e.getBrowserName(),describe:()=>({type:qU.mobile,vendor:"Microsoft"})},{test(e){const t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:()=>({type:qU.tablet})},{test:e=>"android"===e.getOSName(!0),describe:()=>({type:qU.mobile})},{test:e=>"macos"===e.getOSName(!0),describe:()=>({type:qU.desktop,vendor:"Apple"})},{test:e=>"windows"===e.getOSName(!0),describe:()=>({type:qU.desktop})},{test:e=>"linux"===e.getOSName(!0),describe:()=>({type:qU.desktop})},{test:e=>"playstation 4"===e.getOSName(!0),describe:()=>({type:qU.tv})},{test:e=>"roku"===e.getOSName(!0),describe:()=>({type:qU.tv})}],ZU=[{test:e=>"microsoft edge"===e.getBrowserName(!0),describe(e){if(/\sedg\//i.test(e))return{name:YU.Blink};const t=KU.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:YU.EdgeHTML,version:t}}},{test:[/trident/i],describe(e){const t={name:YU.Trident},n=KU.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:e=>e.test(/presto/i),describe(e){const t={name:YU.Presto},n=KU.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe(e){const t={name:YU.Gecko},n=KU.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:()=>({name:YU.Blink})},{test:[/(apple)?webkit/i],describe(e){const t={name:YU.WebKit},n=KU.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];class e_{constructor(e,t=!1){if(null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}getUA(){return this._ua}test(e){return e.test(this._ua)}parseBrowser(){this.parsedResult.browser={};const e=KU.find($U,(e=>{if("function"==typeof e.test)return e.test(this);if(e.test instanceof Array)return e.test.some((e=>this.test(e)));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.browser=e.describe(this.getUA())),this.parsedResult.browser}getBrowser(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()}getBrowserName(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""}getBrowserVersion(){return this.getBrowser().version}getOS(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()}parseOS(){this.parsedResult.os={};const e=KU.find(XU,(e=>{if("function"==typeof e.test)return e.test(this);if(e.test instanceof Array)return e.test.some((e=>this.test(e)));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.os=e.describe(this.getUA())),this.parsedResult.os}getOSName(e){const{name:t}=this.getOS();return e?String(t).toLowerCase()||"":t||""}getOSVersion(){return this.getOS().version}getPlatform(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()}getPlatformType(e=!1){const{type:t}=this.getPlatform();return e?String(t).toLowerCase()||"":t||""}parsePlatform(){this.parsedResult.platform={};const e=KU.find(JU,(e=>{if("function"==typeof e.test)return e.test(this);if(e.test instanceof Array)return e.test.some((e=>this.test(e)));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.platform=e.describe(this.getUA())),this.parsedResult.platform}getEngine(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()}getEngineName(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""}parseEngine(){this.parsedResult.engine={};const e=KU.find(ZU,(e=>{if("function"==typeof e.test)return e.test(this);if(e.test instanceof Array)return e.test.some((e=>this.test(e)));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.engine=e.describe(this.getUA())),this.parsedResult.engine}parse(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this}getResult(){return KU.assign({},this.parsedResult)}satisfies(e){const t={};let n=0;const i={};let a=0;if(Object.keys(e).forEach((r=>{const s=e[r];"string"==typeof s?(i[r]=s,a+=1):"object"==typeof s&&(t[r]=s,n+=1)})),n>0){const e=Object.keys(t),n=KU.find(e,(e=>this.isOS(e)));if(n){const e=this.satisfies(t[n]);if(void 0!==e)return e}const i=KU.find(e,(e=>this.isPlatform(e)));if(i){const e=this.satisfies(t[i]);if(void 0!==e)return e}}if(a>0){const e=Object.keys(i),t=KU.find(e,(e=>this.isBrowser(e,!0)));if(void 0!==t)return this.compareVersion(i[t])}}isBrowser(e,t=!1){const n=this.getBrowserName().toLowerCase();let i=e.toLowerCase();const a=KU.getBrowserTypeByAlias(i);return t&&a&&(i=a.toLowerCase()),i===n}compareVersion(e){let t=[0],n=e,i=!1;const a=this.getBrowserVersion();if("string"==typeof a)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(i=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(i=!0,n=e.substr(1)),t.indexOf(KU.compareVersions(a,n,i))>-1}isOS(e){return this.getOSName(!0)===String(e).toLowerCase()}isPlatform(e){return this.getPlatformType(!0)===String(e).toLowerCase()}isEngine(e){return this.getEngineName(!0)===String(e).toLowerCase()}is(e,t=!1){return this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)}some(e=[]){return e.some((e=>this.is(e)))}} +/*! + * Bowser - a browser detector + * https://github.com/lancedikson/bowser + * MIT License | (c) Dustin Diaz 2012-2015 + * MIT License | (c) Denis Demchenko 2015-2019 + */class t_{static getParser(e,t=!1){if("string"!=typeof e)throw new Error("UserAgent should be a string");return new e_(e,t)}static parse(e){return new e_(e).getResult()}static get BROWSER_MAP(){return zU}static get ENGINE_MAP(){return YU}static get OS_MAP(){return WU}static get PLATFORMS_MAP(){return qU}}const n_=Ja("theme/getAllApplications",(async()=>Ne.get("https://www.pozo.dev/pozo-common-api/application?ActiveStatus=A"))),i_=Ja("theme/getColors",(async()=>fA.get("/color?ActiveStatus=A"))),a_=Ja("theme/getFonts",(async()=>fA.get("/font?ActiveStatus=A"))),r_=Ja("theme/getTemplate",(async e=>{if(null!=e&&null!=e)return fA.get(`/template?AppName=${e}`)})),s_=Ja("theme/postColorData",(async e=>await fA.post("/color",e))),l_=Ja("theme/postFontData",(async e=>await fA.post("/font",e))),o_=Ja("Component/component",(async()=>await fA.get("/component"))),d_=Ja("theme/postOverAllData",(async e=>await fA.post("/template",e))),c_=Ja("theme/putOverAllData",(async e=>await fA.put("/template",e))),u_=Ya({name:"theme",initialState:{allApplications:[],allColors:[],allFonts:[],CurrentColor:{darkColor:"#37943C",lightColor:"#b2eb9b"},CurrentText:{head:"Gilroy",para:"Poppins"},OverviewData:[],Overview1Img:"",Overview2Img:"",Overview2Video:null,FaqDetails:[],navList1:[],SelectedApplication:null,AppName:"",FeatureList:[],FooterDetails:[],templateData:[],colorId:null,fontId:null,PricingData:[],PageAppId:"",showCaseDetails:[],appViewDetails:[],testimonialDetails:[],CtaData:[]},reducers:{changeShowCaseDetails:(e,t)=>{e.showCaseDetails=null==t?void 0:t.payload},changeAppViewDetails:(e,t)=>{e.appViewDetails=null==t?void 0:t.payload},changeTestimonialDetails:(e,t)=>{e.testimonialDetails=null==t?void 0:t.payload},changeCurrentColor:(e,t)=>{const{color:n}=null==t?void 0:t.payload;e.CurrentColor=n},changeCurrentText:(e,t)=>{const{text:n}=null==t?void 0:t.payload;e.CurrentText=n},changeOverviewData:(e,t)=>{const{postData:n}=null==t?void 0:t.payload;e.OverviewData=n},changeOverview1Img:(e,t)=>{const{overview1Img:n}=null==t?void 0:t.payload;e.Overview1Img=n},changeOverview2Img:(e,t)=>{const{overview2Img:n}=null==t?void 0:t.payload;e.Overview2Img=n},changeOverview2Video:(e,t)=>{const{overview2Video:n}=null==t?void 0:t.payload;e.Overview2Video=n},changeFaqDetails:(e,t)=>{const n=null==t?void 0:t.payload;e.FaqDetails=n},changeNavList1:(e,t)=>{const n=null==t?void 0:t.payload;e.navList1=n},changeSelectedApplication:(e,t)=>{const n=null==t?void 0:t.payload;e.SelectedApplication=n},changeFeatureList:(e,t)=>{const{featureList:n}=null==t?void 0:t.payload;e.FeatureList=n},changeFooterDetails:(e,t)=>{e.FooterDetails=null==t?void 0:t.payload},changeCtaDetails:(e,t)=>{e.CtaData=null==t?void 0:t.payload},changePricingData:(e,t)=>{const{postData:n}=null==t?void 0:t.payload;e.PricingData=n},changePageAppId:(e,t)=>{e.PageAppId=null==t?void 0:t.payload},emptyTemplateData:(e,t)=>{e.SelectedApplication=null,e.AppName="",e.templateData=[]},emptyPostData:(e,t)=>{e.navList1=[],e.OverviewData=[],e.FeatureList=[],e.PricingData=[],e.FaqDetails=[],e.FooterDetails=[],e.CurrentColor={darkColor:"#37943C",lightColor:"#b2eb9b"},e.CurrentText={head:"Gilroy",para:"Poppins"},e.Overview1Img="",e.Overview2Img="",e.Overview2Video=null}},extraReducers:e=>{e.addCase(n_.fulfilled,((e,t)=>{var n,i,a,r;1==(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)&&(e.allApplications=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data)})),e.addCase(i_.fulfilled,((e,t)=>{var n,i,a,r;1==(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)&&(e.allColors=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data)})),e.addCase(a_.fulfilled,((e,t)=>{var n,i,a,r;1==(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)&&(e.allFonts=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data)})),e.addCase(r_.fulfilled,((e,t)=>{var n,i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P;if(1==(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)){let n={};e.SelectedApplication={AppId:null==(s=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data[0])?void 0:s.AppId},e.AppName=null==(d=null==(o=null==(l=null==t?void 0:t.payload)?void 0:l.data)?void 0:o.data[0])?void 0:d.AppName,e.CurrentColor={darkColor:null==(p=null==(u=null==(c=null==t?void 0:t.payload)?void 0:c.data)?void 0:u.data[0])?void 0:p.DarkColor,lightColor:null==(f=null==(h=null==(A=null==t?void 0:t.payload)?void 0:A.data)?void 0:h.data[0])?void 0:f.LightColor},e.CurrentText={head:null==(g=null==(v=null==(m=null==t?void 0:t.payload)?void 0:m.data)?void 0:v.data[0])?void 0:g.HeadFont,para:null==(b=null==(x=null==(y=null==t?void 0:t.payload)?void 0:y.data)?void 0:x.data[0])?void 0:b.ParaFont},e.fontId=null==(C=null==(j=null==(w=null==t?void 0:t.payload)?void 0:w.data)?void 0:j.data[0])?void 0:C.FontId,e.colorId=null==(I=null==(N=null==(S=null==t?void 0:t.payload)?void 0:S.data)?void 0:N.data[0])?void 0:I.ColorId;for(let e of null==(P=null==(B=null==(F=null==t?void 0:t.payload)?void 0:F.data)?void 0:B.data[0])?void 0:P.ComponentDetails)n[e.SectionName]=[e.ComponentName,e.FieldDetails];e.templateData=n}else e.templateData={}}))}}),{changeCurrentColor:p_,changeCurrentText:A_,changeOverviewData:h_,changeOverview1Img:f_,changeOverview2Img:m_,changeOverview2Video:v_,changeFaqDetails:g_,changeNavList1:y_,changeSelectedApplication:x_,changeFeatureList:b_,changeFooterDetails:w_,changeCtaDetails:j_,changePricingData:C_,changePageAppId:S_,emptyTemplateData:N_,emptyPostData:I_,changeShowCaseDetails:F_,changeAppViewDetails:B_,changeTestimonialDetails:P_}=u_.actions,k_=e=>{var t;return null==(t=e.theme)?void 0:t.showCaseDetails},T_=e=>{var t;return null==(t=e.theme)?void 0:t.appViewDetails},E_=e=>{var t;return null==(t=e.theme)?void 0:t.testimonialDetails},D_=e=>{var t;return null==(t=e.theme)?void 0:t.CurrentColor},L_=e=>{var t;return null==(t=e.theme)?void 0:t.CurrentText},U_=e=>{var t;return null==(t=e.theme)?void 0:t.allApplications},__=e=>{var t;return null==(t=e.theme)?void 0:t.allColors},O_=e=>{var t;return null==(t=e.theme)?void 0:t.allFonts},M_=e=>{var t;return null==(t=e.theme)?void 0:t.OverviewData},R_=e=>{var t;return null==(t=e.theme)?void 0:t.Overview1Img},Q_=e=>{var t;return null==(t=e.theme)?void 0:t.Overview2Img},H_=e=>{var t;return null==(t=e.theme)?void 0:t.Overview2Video},V_=e=>{var t;return null==(t=e.theme)?void 0:t.navList1},z_=e=>{var t;return null==(t=null==e?void 0:e.theme)?void 0:t.FaqDetails},q_=e=>{var t;return null==(t=null==e?void 0:e.theme)?void 0:t.SelectedApplication},W_=e=>{var t;return null==(t=null==e?void 0:e.theme)?void 0:t.AppName},Y_=e=>{var t;return null==(t=null==e?void 0:e.theme)?void 0:t.fontId},K_=e=>{var t;return null==(t=null==e?void 0:e.theme)?void 0:t.colorId},G_=e=>{var t;return null==(t=null==e?void 0:e.theme)?void 0:t.FeatureList},$_=e=>{var t;return null==(t=null==e?void 0:e.theme)?void 0:t.FooterDetails},X_=e=>{var t;return null==(t=null==e?void 0:e.theme)?void 0:t.PageAppId},J_=e=>e.theme.PricingData,Z_=e=>e.theme.templateData,eO=e=>e.theme.CtaData,tO=u_.reducer,nO=[];for(let Wfe=0;Wfe<256;++Wfe)nO.push((Wfe+256).toString(16).slice(1));let iO;const aO=new Uint8Array(16);const rO={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function sO(e,t,n){var i;if(rO.randomUUID&&!t&&!e)return rO.randomUUID();const a=(e=e||{}).random??(null==(i=e.rng)?void 0:i.call(e))??function(){if(!iO){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");iO=crypto.getRandomValues.bind(crypto)}return iO(aO)}();if(a.length<16)throw new Error("Random bytes length must be >= 16");if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){if((n=n||0)<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=a[e];return t}return function(e,t=0){return(nO[e[t+0]]+nO[e[t+1]]+nO[e[t+2]]+nO[e[t+3]]+"-"+nO[e[t+4]]+nO[e[t+5]]+"-"+nO[e[t+6]]+nO[e[t+7]]+"-"+nO[e[t+8]]+nO[e[t+9]]+"-"+nO[e[t+10]]+nO[e[t+11]]+nO[e[t+12]]+nO[e[t+13]]+nO[e[t+14]]+nO[e[t+15]]).toLowerCase()}(a)}const lO=Ja("Emp/getEmpRelieve",(async({CompId:e,UserId:t,AppId:n,BranchId:i})=>{if(null!=e&&null!=e&&null!=t&&null!=t&&null!=n&&null!=n&&null!=i&&null!=i)return await hA.get(`/EmployeeRelieveInfo?appId=${n}&compId=${e}&branchId=${i}&userId=${t}`)})),oO=Ja("Emp/getEmpRelieve",(async({uniqueId:e,updatedBy:t,activeStatus:n})=>{if(null!=e&&null!=e&&null!=t&&null!=t&&null!=n&&null!=n)return await hA.delete(`/EmployeeRelieveInfo?uniqueId=${e}&updatedBy=${t}&activeStatus=${n}`)})),dO=Ja("Emp/postEmpRelieve",(async e=>await hA.post("/EmployeeRelieveInfo",e))),cO=Ja("Emp/putEmpRelieve",(async e=>await hA.put("/EmployeeRelieveInfo",e)));S.extend(N);const uO=({onChange:e,canSelectPast:t,valueData:n,disabled:i,cancelFuture:a,minDate:r,dontallowfeature:s})=>{const l=e=>!!r&&(e&&e<S(r,"YYYY-MM-DDTHH:mm:ss").startOf("day"));return Ye.jsx(P,{direction:"vertical",children:Ye.jsx(T,{format:"DD-MM-YYYY",value:n?S(n,"YYYY-MM-DDTHH:mm:ss"):"",disabledDate:e=>s?e&&e>S().endOf("day"):t?a&&(e=>e&&e>S().endOf("day"))(e)||l(e):(e=>{var t=new Date;return t.setDate(t.getDate()+1),e.valueOf()<=t.setDate(t.getDate()-2)})(e)||l(e),disabled:i,onChange:e,inputReadOnly:!0})})},pO=({data:e})=>{const{CompId:t,UserId:n,AppId:i,BranchId:r}=e||{},s=um(),[l]=I.useForm(),[o,d]=a.useState({type:"",data:""}),[c,u]=a.useState(""),[p,A]=a.useState(""),[h,f]=a.useState({uniqueId:null,type:!1}),[m,v]=a.useState([]),g=a.useCallback((()=>{d({type:"",data:""})}),[]);a.useEffect((()=>{try{x()}catch(e){}}),[]);const x=async()=>{var e,a,o,d,c,p,h;const m=await s(lO({CompId:t,UserId:n,AppId:i,BranchId:r})).unwrap();if(1===(null==(e=null==m?void 0:m.data)?void 0:e.statusCode)){const e=null==(a=null==m?void 0:m.data)?void 0:a.data;if(v(e),(null==e?void 0:e.length)>0){f({uniqueId:null==(o=e[0])?void 0:o.UniqueId,type:!0});const t=(null==(d=e[0])?void 0:d.RelieveDate)?Se(null==(c=e[0])?void 0:c.RelieveDate,["YYYY-MM-DD"]).format("YYYY-MM-DDTHH:mm:ss"):null;l.setFieldsValue({RelieveDate:t,RelieveReason:(null==(p=e[0])?void 0:p.RelieveReason)||""}),u(t),A((null==(h=e[0])?void 0:h.RelieveReason)||"")}}};return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:o.type,messageData:o.data,onComplete:g}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{style:{display:"flex"},children:Ye.jsx(ab,{title:"Relieve Request"})}),Ye.jsx("div",{className:"reportTable",children:Ye.jsxs(I,{form:l,name:"relieveRequest",layout:"vertical",onFinish:async e=>{var a,l,o,c,u;try{let p={};const A=e.RelieveDate?S(e.RelieveDate).format("YYYY-MM-DD"):null,f={AppId:i,CompId:t,BranchId:r,UserId:n,RelieveDate:A,RelieveReason:e.RelieveReason};p=(null==h?void 0:h.type)?await(null==(a=s(cO({...f,UniqueId:null==h?void 0:h.uniqueId,UpdatedBy:n})))?void 0:a.unwrap()):await(null==(l=s(dO({...f,CreatedBy:n})))?void 0:l.unwrap()),1===(null==(o=null==p?void 0:p.data)?void 0:o.statusCode)?(d({type:"success",data:null==(c=null==p?void 0:p.data)?void 0:c.response}),x()):d({type:"error",data:null==(u=null==p?void 0:p.data)?void 0:u.response})}catch(p){d({type:"error",data:"Failed to submit relieve request. Please try again."})}},onFinishFailed:e=>{d({type:"error",data:"Please fill in all required fields correctly."})},children:[(null==h?void 0:h.type)?Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"1rem",fontSize:"16px",fontWeight:500},children:[Ye.jsxs("p",{children:[" RelieveStatus :",Ye.jsx("span",{style:{color:"N"===(null==m?void 0:m[0].RelieveStatus)?"red":"inherit",fontWeight:400},children:"N"===(null==m?void 0:m[0].RelieveStatus)?"Your Relieve Status is Pending":""})]}),Ye.jsxs("p",{children:["RelieveDate : ",new Date(m[0].RelieveDate).toLocaleDateString("en-GB",{day:"2-digit",month:"2-digit",year:"numeric"})]}),Ye.jsxs("p",{children:["RelieveReason : ",null==m?void 0:m[0].RelieveReason]})]}):Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(I.Item,{label:Ye.jsx("span",{style:{fontWeight:"500",color:"#333"},children:"Relieve Date"}),name:"RelieveDate",rules:[{required:!0,message:"Please select relieve date!"}],style:{marginBottom:"25px"},children:Ye.jsx(uO,{valueData:c,canSelectPast:!1,onChange:async(e,t)=>{if(t){const e=Se(t,["DD-MM-YYYY"]).format("YYYY-MM-DDTHH:mm:ss");null==l||l.setFieldsValue({RelieveDate:e}),u(e)}else null==l||l.setFieldsValue({RelieveDate:null}),u(null)}})}),Ye.jsx("div",{style:{width:"500px"},children:Ye.jsx(I.Item,{name:"RelieveReason",rules:[{required:!0,message:"Please provide reason for relieve!"},{min:10,message:"Reason must be at least 10 characters long!"}],style:{marginBottom:"30px"},children:Ye.jsx(My,{label:Ye.jsx("label",{className:"required",children:"Please provide your reason for Relieve..."}),onChange:e=>{l.setFieldsValue({RelieveReason:e.target.value}),A(e.target.value)},fieldState:p,isOnChange:null==h?void 0:h.type,maxLength:250,showCount:!0,width:!0})})})]}),Ye.jsxs("div",{style:{display:"flex",gap:"0.5rem"},children:[(null==h?void 0:h.type)&&Ye.jsx(I.Item,{style:{marginBottom:0},children:Ye.jsx(y,{type:"default",onClick:async()=>{var e,t,i;try{const a=await s(oO({uniqueId:null==h?void 0:h.uniqueId,updatedBy:n,activeStatus:"D"})).unwrap();1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)?(d({type:"success",data:null==(t=null==a?void 0:a.data)?void 0:t.response}),l.resetFields(),u(""),A(""),f(!1)):d({type:"error",data:null==(i=null==a?void 0:a.data)?void 0:i.response})}catch(a){d({type:"error",data:"Failed to delete relieve request."})}},style:{width:"170px",height:"45px",backgroundColor:"#f5222d",color:"#fff",fontFamily:"var(--HEADING_FONT_FAMILY)",fontStyle:"normal",fontWeight:500,fontSize:"14px",borderRadius:"8px",display:"flex",letterSpacing:"0.5px",justifyContent:"space-between",alignItems:"center",zIndex:2,padding:"0 16px",border:"none"},children:"DELETE REQUEST"})}),Ye.jsx(I.Item,{style:{marginBottom:0},children:Ye.jsx(Ry,{buttonText:"SUBMIT REQUEST",color:"901D77"})})]})]})})]})]})})},AO="/",hO=({getUserRole:e})=>{const t=um(),[n,i]=a.useState(Tf(Sh));return Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"moduleAccessSelectDrp",children:Ye.jsx(fk,{content:"Admin"==iA("UserType")?[{value:"Branch Admin",label:"Employee"}]:[{value:"Sadmin",label:"Super Admin User"},{value:"Company Admin",label:"Admin"},{value:"Branch Admin",label:"Employee"}],fieldState:!0,defaultSelect:n,Header:"Roles",onSelectFuntion:n=>(async n=>{i(n),e(n),t(ih()),t(KA({id:n}))})(n)})})})},fO=({UserId:e,AppId:t})=>{const n=um(),i=Tf(Nh),r=Tf(Sh),[s,l]=a.useState(null),[o,d]=a.useState([]);a.useEffect((()=>{try{null==i&&l(null)}catch(e){}}),[i]),a.useEffect((()=>{try{null!=e&&null!=e&&null!=t&&null!=t&&async function(){var i,a;const r=await n(FA({UserId:e,AppId:t})).unwrap();1===(null==(i=r.data)?void 0:i.statusCode)?await d(null==(a=r.data)?void 0:a.data):await d([])}()}catch(i){}}),[e,t]),a.useEffect((()=>{var e,t;1===o.length?(l(null==(e=o[0])?void 0:e.CompId),n($A({storeId:null==(t=o[0])?void 0:t.CompId}))):l(null)}),[o]);return Ye.jsx("div",{className:"moduleAccessSelectDrp storeSelectDiv",children:Ye.jsx(_y,{options:null==o?void 0:o.map((e=>({value:e.CompId,label:e.CompName}))),label:"Company Name",id:"StoreName",field:"CompName",fieldState:!0,fieldApi:!0,onChangeFunction:e=>(e=>{l(e),n($A({storeId:e})),"Branch Admin"==r&&(n(ZA({userId:null})),n(eh({EmpDesig:null})),n(th()),n(lh()))})(e),className:"field-DropDown",valueData:s,isOnchanges:!!s})})},mO=({AppId:e})=>{const t=um(),[n,i]=a.useState([]),r=Tf(Nh),s=Tf(Bh),l=Tf(Sh),[o,d]=a.useState(null),[c]=I.useForm();a.useEffect((()=>{try{null!=e&&null!=e&&async function(){var n,a,l,o,d,c,u;let p=await t(_A({AppId:e})).unwrap();if(1===(null==(n=p.data)?void 0:n.statusCode)){t(GA({AppName:null==(l=null==(a=null==p?void 0:p.data)?void 0:a.data[0])?void 0:l.AppName}));let e=await t(UA({AppName:null==(d=null==(o=null==p?void 0:p.data)?void 0:o.data[0])?void 0:d.AppName,CompId:r,BranchId:s})).unwrap();1===(null==(c=null==e?void 0:e.data)?void 0:c.statusCode)?await i(null==(u=e.data)?void 0:u.data):await i([])}}()}catch(n){}}),[s]),a.useEffect((()=>{var e,i;1===n.length?(d(null==(e=n[0])?void 0:e.EmpDesig),t(eh({EmpDesig:null==(i=n[0])?void 0:i.EmpDesig}))):(d(null),t(eh({EmpDesig:null})))}),[n]);return Ye.jsx(I,{form:c,children:Ye.jsx("div",{className:"moduleAccessSelectDrp",children:Ye.jsx(I.Item,{name:"EmpDesig",children:Ye.jsx(_y,{options:null==n?void 0:n.map((e=>({value:e.EmpDesig,label:e.DesignationName}))),label:"Designation",id:"Designation",field:"Designation",fieldState:!0,fieldApi:!0,onChangeFunction:e=>(async e=>{d(e),t(eh({EmpDesig:e})),"Branch Admin"==l&&(t(ZA({userId:null})),t(th()))})(e),className:"field-DropDown",valueData:o,isOnchanges:!!o})})})})},vO=({UserId:e})=>{const t=um(),n=Tf(Th),i=Tf(Ph),r=Tf(Sh),[s,l]=a.useState(null);a.useEffect((()=>{try{null!=e&&t(IA({UserId:e})).unwrap()}catch(n){}}),[e]),a.useEffect((()=>{try{null==i&&l(null)}catch(e){}}),[i]),a.useEffect((()=>{var e,i;1===n.length?(l(null==(e=n[0])?void 0:e.AppId),t(JA({AppId:null==(i=n[0])?void 0:i.AppId}))):l(null)}),[n]);return Ye.jsx("div",{className:"moduleAccessSelectDrp",children:Ye.jsx(_y,{options:null==n?void 0:n.map((e=>({value:e.AppId,label:e.AppName}))),label:"App Name",id:"AppName",field:"AppName",fieldState:!0,fieldApi:!0,onChangeFunction:e=>(e=>{l(e),t(JA({AppId:e})),t($A({storeId:null})),t(XA({BranchId:null})),"Company Admin"!=r&&"Branch Admin"!=r||(t(sh()),t(ZA({userId:null})),"Branch Admin"==r&&t(eh({EmpDesig:null})))})(e),className:"field-DropDown",valueData:s,isOnchanges:!!s})})},gO=({disabled:e})=>{const t=um(),n=Tf(Sh),i=Tf(Dh),r=Tf(kh),s=Tf(Lh),l=Tf(Uh),[o,d]=a.useState([]),c=Tf(Mh),u=Tf(Bh),p=Tf(Eh);a.useEffect((()=>{try{!c||"Branch Admin"!=n&&"Company Admin"!=n?t(CA()).unwrap():t(CA(c)).unwrap()}catch(e){}}),[c]),a.useEffect((()=>{try{"Admin"===iA("UserType")&&t(CA(iA("UserId"))).unwrap(),"Company Admin"==n&&u?t(NA({userId:"Admin"===iA("UserType")?iA("UserId"):c,BranchId:u})).unwrap():"Branch Admin"!=n&&"Sadmin"!=n||!r||t(NA({userId:r})).unwrap()}catch(e){}}),[u]),a.useEffect((()=>{try{null!=r&&"Admin"!==iA("UserType")?"Company Admin"==n&&u?t(NA({userId:r,BranchId:u})).unwrap():"Branch Admin"!=n&&"Sadmin"!=n||t(NA({userId:r})).unwrap():null!=r&&"Admin"===iA("UserType")&&"Company Admin"==n&&u?t(NA({userId:iA("UserId"),BranchId:u})).unwrap():null==r||"Admin"!==iA("UserType")||"Branch Admin"!=n&&" Sadmin"!=n?null==r&&"Branch Admin"==n&&d([]):t(NA({userId:r})).unwrap()}catch(e){}}),[r]),a.useEffect((()=>{try{async function i(){let e={};const i=await Promise.all([...null==l?void 0:l.map((async i=>{var a,r;if("Company Admin"==n&&u){let n=await t(QA({BranchType:i.SubCateId,UserId:"Admin"===iA("UserType")?iA("UserId"):c,BranchId:u})).unwrap(),s=null==(r=null==(a=null==n?void 0:n.data)?void 0:a.data)?void 0:r.filter((e=>"Y"==e.AppAccess)).map((e=>e.AppId));e[i.ConfigName]=s}return i.SubCateId}))]);t(Ah(e)),d(i)}"Company Admin"==n&&i()}catch(e){}}),[l]),a.useEffect((()=>{try{async function i(){let e={};const i=await Promise.all([...null==l?void 0:l.map((async i=>{var a,s;if("Company Admin"!=n&&r){let l;l=await t(QA({BranchType:i.SubCateId,UserId:r,Type:"Branch Admin"==n?"B":"S"})).unwrap();let o=null==(s=null==(a=null==l?void 0:l.data)?void 0:a.data)?void 0:s.filter((e=>"Y"==e.AppAccess)).map((e=>e.AppId));e[i.ConfigName]=o}return i.SubCateId}))]);t(Ah(e)),d(null!=r?i:[])}"Company Admin"!=n&&i()}catch(e){}}),[s]),a.useEffect((()=>{try{d([])}catch(e){}}),[n]),a.useEffect((()=>{0==p.length&&"Branch Admin"==n&&d([])}),[p]);const A=null==i?void 0:i.map(((e,i)=>(r&&(null==l||l.filter((t=>t.ConfigName==e.ConfigName))),Ye.jsx("div",{children:Ye.jsx(R,{children:Ye.jsx(Q,{span:10,children:Ye.jsx(V,{style:{padding:"5px",width:"max-content"},onChange:i=>(async(e,i)=>{var a,s,l;try{let o;e.target.checked?o=r&&"Company Admin"==n?await t(QA({UserId:r,BranchType:null==(a=null==e?void 0:e.target)?void 0:a.value,BranchId:u})).unwrap():("Admin"==iA("UserType")?iA("UserId"):c)&&"Branch Admin"==n?await t(QA({UserId:"Admin"==iA("UserType")?iA("UserId"):c,BranchType:null==(s=null==e?void 0:e.target)?void 0:s.value,Type:"B"})).unwrap():await t(QA({BranchType:null==(l=null==e?void 0:e.target)?void 0:l.value})).unwrap():(t(gh({subCat:i})),t(Ch({appAccessData:i})))}catch(o){}})(i,e.ConfigName),value:e.ConfigId,disabled:"Company Admin"==n&&(o.length>0&&!o.includes(e.ConfigId)),children:e.ConfigName},e.ConfigId)})})}))));return Ye.jsx("div",{className:"userAccessDiv",children:Ye.jsxs("div",{className:"userAccess",children:[Ye.jsx("div",{className:"userAccessHeader selectDrpHeading",children:"Category"}),Ye.jsx("div",{className:"userAccessBody ",style:e?{pointerEvents:"none",opacity:"0.4"}:{},children:Ye.jsx(V.Group,{style:{width:"100%"},onChange:e=>(async e=>{d(e)})(e),value:o,children:(null==i?void 0:i.length)>0&&A})})]})})},yO=({userIdValue:e})=>{const t=um(),n=Tf(Eh),i=Tf(Sh),[r,s]=a.useState(null),l=Tf(Oh),o=Tf(Fh),d=Tf(Nh),c=Tf(Bh),u=Tf(Ih),[p]=I.useForm();0==n.length&&"Sadmin"==i&&p.resetFields(),0==l.length&&"Branch Admin"==i&&p.resetFields(),a.useEffect((()=>{null!=o&&null!=o&&t(OA({AppName:u,EmpDesig:o,CompId:d,BranchId:c})).unwrap()}),[o]),a.useEffect((()=>{var a,r,l;1===n.length?"Sadmin"==i&&(e(null==(a=n[0])?void 0:a.UserId),s(null==(r=n[0])?void 0:r.UserId),t(ZA({userId:null==(l=n[0])?void 0:l.UserId}))):0==n.length&&"Sadmin"==i&&(s(null),t(ZA({userId:null})),t(sh()))}),[n]),a.useEffect((()=>{var n,a,r;1===l.length?"Branch Admin"==i&&(e(null==(n=l[0])?void 0:n.UserId),s(null==(a=l[0])?void 0:a.UserId),t(ZA({userId:null==(r=l[0])?void 0:r.UserId}))):0==l.length&&"Branch Admin"==i&&(s(null),t(ZA({userId:null})),t(sh()))}),[l]);return Ye.jsx(I,{form:p,children:Ye.jsx("div",{className:"moduleAccessSelectDrp",children:Ye.jsx(I.Item,{name:"UserName",children:Ye.jsx(_y,{options:null!=o&&null!=o?null==l?void 0:l.map((e=>({value:e.UserId,label:""!=e.UserName&&null!=e.UserName&&null!=e.UserName?e.UserName:e.MobileNo}))):null==n?void 0:n.map((e=>({value:e.UserId,label:""!=e.UserName&&null!=e.UserName&&null!=e.UserName?e.UserName:e.MobileNo}))),label:"User Name",id:"UserName",field:"UserName",fieldState:!0,fieldApi:!0,valueData:r,isOnchanges:!!r,onChangeFunction:n=>(n=>{e(n),s(n),t(ZA({userId:n})),t(lh())})(n),className:"field-DropDown"})})})})},xO=({storeId:e,UserId:t,AppId:n})=>{const i=um(),[r,s]=a.useState([]),[l,o]=a.useState(null),d=Tf(Sh),[c]=I.useForm();a.useEffect((()=>{try{null!=e&&null!=t&&null!=n?async function(){var a,r;const l=await i(EA({StoreId:e,UserId:t,AppId:n})).unwrap();1===(null==(a=l.data)?void 0:a.statusCode)?await s(null==(r=l.data)?void 0:r.data):await s([])}():null!=e&&async function(e){var t,n;const a=await i(yA({storeId:e})).unwrap();1===(null==(t=a.data)?void 0:t.statusCode)?await s(null==(n=a.data)?void 0:n.data):await s([])}(e)}catch(a){}}),[e]),a.useEffect((()=>{var e,t;1===r.length?(o(null==(e=r[0])?void 0:e.BrId),i(XA({BranchId:null==(t=r[0])?void 0:t.BrId}))):o(null)}),[r]);return Ye.jsx(I,{form:c,children:Ye.jsx("div",{className:"moduleAccessSelectDrp",children:Ye.jsx(I.Item,{name:"BranchName",children:Ye.jsx(_y,{options:null==r?void 0:r.map((e=>({value:e.BrId,label:e.BrName}))),label:"Branch Name",onChangeFunction:e=>(e=>{o(e),i(XA({BranchId:e})),"Branch Admin"==d&&(i(ZA({userId:null})),i(th()),i(lh()))})(e),className:"field-DropDown",valueData:l,isOnchanges:!!l})})})})},bO=({})=>{var e;const{Panel:t}=ee,n=um(),i=Tf(Sh),r=Tf(Mh),s=Tf(zh),l=Tf(Qh),o=Tf(kh),d=Tf(Wh),[c,u]=a.useState({}),[p,A]=a.useState("");a.useEffect((()=>{0==(null==d?void 0:d.length)&&A("")}),[d]),a.useEffect((()=>{try{async function t(){var e;let t={},a=await(null==(e=Object.keys(l))?void 0:e.reduce((async(e,a)=>{var d;if(t[a]=l[a].map((e=>e.CompId)),null!=s[a]){let t=await(null==(d=l[a])?void 0:d.reduce((async(e,t)=>{var a,s,l,d,c,u;"Sadmin"==i?await n(MA({CompId:t.CompId,AppId:t.AppId})).unwrap():await n(MA({CompId:t.CompId,AppId:t.AppId,UserId:"Admin"==iA("UserType")?iA("UserId"):r})).unwrap();let p=await n(DA({UserId:o,AppId:t.AppId,StoreId:t.CompId})).unwrap();return{...await e,[`${null==(s=null==(a=null==p?void 0:p.data)?void 0:a.data[0])?void 0:s.AppName}-${null==(d=null==(l=null==p?void 0:p.data)?void 0:l.data[0])?void 0:d.CompName}`]:null==(u=null==(c=null==p?void 0:p.data)?void 0:c.data)?void 0:u.map((e=>({CompId:e.CompId,AppId:e.AppId,BranchId:e.BrId})))}}),{}));return{...await e,...await t}}return await e}),{}));n(mh(a)),u(t)}"Company Admin"!=i&&t()}catch(e){}}),[l,s]);return Ye.jsx("div",{className:"userAccessDiv",children:Ye.jsxs("div",{className:"userAccess",children:[Ye.jsxs("div",{style:{display:"flex",justifyContent:"space-between",width:"97%"},children:[Ye.jsx("div",{className:"userAccessHeader selectDrpHeading",children:" Company "}),Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{A(e)},onSearchChange:e=>{var t;A(null==(t=null==e?void 0:e.target)?void 0:t.value)},value:p})})]}),Ye.jsx(ee,{defaultActiveKey:"1",children:Ye.jsx(t,{header:"Hide / Show",children:Ye.jsxs("div",{className:"userAccessBody ",children:[0===Object.keys(s).length&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("p",{style:{color:"gray"},children:" No Companys Found "})}),null==(e=Object.keys(s))?void 0:e.map((e=>{var t,a,o,A;return Ye.jsxs("div",{className:"BranchCardList",children:[Ye.jsxs("p",{children:[" ",e]}),Ye.jsx(V.Group,{value:c[e],onChange:t=>(async(e,t)=>{let n={[t]:e};u({...c,...n})})(t,e),children:null==(A=null==(o=null==(a=null==(t=Object.values(s))?void 0:t.flat())?void 0:a.filter((e=>{var t,n;return null==(n=null==(t=null==e?void 0:e.CompName)?void 0:t.toLowerCase())?void 0:n.includes(null==p?void 0:p.toLowerCase())})))?void 0:o.filter((e=>"A"===e.ActiveStatus)))?void 0:A.map((t=>(null==t?void 0:t.AppName)===e?Ye.jsx(V,{className:"companyCard",value:null==t?void 0:t.CompId,onChange:e=>(async(e,t,a,s,o,c)=>{var u;try{if(e.target.checked){let e;e="Sadmin"==i?await n(MA({CompId:a,AppId:s})).unwrap():await n(MA({CompId:a,AppId:s,UserId:"Admin"==iA("UserType")?iA("UserId"):r})).unwrap(),n(hh([...d,{AppId:s,CompId:a,BranchId:c}]));const t={...l,[o]:[...l[o]||[],{CompId:a,AppId:s}]};n(fh(t))}else{n(bh({CompId:a,AppId:s})),n(wh({branchAccessData:`${o}-${t}`})),n(xh({CompName:`${o}-${t}`}));const e={...l,[o]:(null==(u=l[o])?void 0:u.filter((e=>!(e.CompId===a&&e.AppId===s))))||[]};n(fh(e))}}catch(p){}})(e,null==t?void 0:t.CompName,null==t?void 0:t.CompId,null==t?void 0:t.AppId,null==t?void 0:t.AppName,null==t?void 0:t.BranchId),children:null==t?void 0:t.CompName},null==t?void 0:t.CompId):null))})]})}))]})},"1")})]})})},wO=()=>{var e,t,n,i;const r=um(),s=Tf(Qh),l=Tf(qh),o=Tf(Hh),d=Tf(Wh),c=Tf(kh),u=Tf(Mh),p=Tf(Ph),A=Tf(Sh),[h,f]=a.useState({}),[m,v]=a.useState(null),[g,y]=a.useState(null),[x,b]=a.useState(""),w=a.useRef({});a.useEffect((()=>{0==(null==d?void 0:d.length)&&b("")}),[d]),a.useEffect((()=>{try{!async function(){var e,t,n,i,a,s,l,o,d,c;if("Branch Admin"==A&&null!=u&&null!=u&&null!=p&&null!=p){let A=await r(SA({UserId:u,AppId:p})).unwrap();1===(null==(e=null==A?void 0:A.data)?void 0:e.statusCode)&&(w.current.UserCount=null==(n=null==(t=null==A?void 0:A.data)?void 0:t.data[0])?void 0:n.UserCount,w.current.UserCountVal=null==(a=null==(i=null==A?void 0:A.data)?void 0:i.data[0])?void 0:a.UserCount,w.current.FeatUserCount=null==(c=null==(d=null==(o=null==(l=null==(s=null==A?void 0:A.data)?void 0:s.data[0])?void 0:l.FeatureDetails)?void 0:o.filter((e=>"User"===e.FeatName)))?void 0:d[0])?void 0:c.FeatConstraint)}}()}catch(e){}}),[c,s]),a.useEffect((()=>{try{async function t(){var e;let t={},n=[];null==(e=Object.keys(o))||e.map((e=>{var i;t[e]=null==(i=o[e])?void 0:i.map((e=>(n.push({BranchId:e.BranchId,CompId:e.CompId,AppId:e.AppId}),e.BranchId)))})),r(hh([...n])),f(t)}t()}catch(e){}}),[o]);const j=a.useCallback((()=>{y(null),v(null)}),[]);return Ye.jsxs("div",{className:"userAccessDiv",children:[Ye.jsx(Qy,{messageType:m,messageData:g,onComplete:j,duration:"5"}),Ye.jsxs("div",{className:"userAccess",children:[Ye.jsxs("div",{style:{display:"flex",justifyContent:"space-between",width:"97%"},children:[Ye.jsx("div",{className:"userAccessHeader selectDrpHeading",children:" Branches "}),Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{b(e)},onSearchChange:e=>{var t;b(null==(t=null==e?void 0:e.target)?void 0:t.value)},value:x})})]}),Ye.jsx("div",{className:"userAccessBody ",children:Ye.jsxs("div",{className:"BranchCardListDiv",children:[0===(null==(e=Object.keys(l))?void 0:e.length)&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("p",{style:{color:"gray"},children:" No Branches Found "})}),null==(i=null==(n=null==(t=Object.keys(l))?void 0:t.flat())?void 0:n.filter((e=>{var t;return null==(t=null==e?void 0:e.toLowerCase())?void 0:t.includes(null==x?void 0:x.toLocaleLowerCase())})))?void 0:i.map((e=>{var t,n,i,a;return Ye.jsxs("div",{className:"BranchCardList",children:[Ye.jsxs("p",{children:[" ",e]}),Ye.jsx(V.Group,{value:h[e],onChange:t=>(async(e,t)=>{if("Sadmin"==A){let n={[t]:e};f({...h,...n})}else if("Branch Admin"==A)if(!h.hasOwnProperty(t)||h[t].length<e.length)if(w.current.UserCount+1<=w.current.FeatUserCount){w.current.UserCount=w.current.UserCount+1;let n={[t]:e};f({...h,...n})}else v("warning"),y("The user access limit has been exceeded. To continue using the service, please consider extending your package");else if(w.current.UserCount=w.current.UserCount-1,w.current.UserCount<=w.current.FeatUserCount){let n={[t]:e};f({...h,...n})}})(t,e),children:null==(a=null==(i=null==(n=null==(t=l[e])?void 0:t.flat())?void 0:n.filter((e=>{var t,n;return null==(n=null==(t=e.BrName)?void 0:t.toLowerCase())?void 0:n.includes(null==x?void 0:x.toLocaleLowerCase())})))?void 0:i.filter((e=>"A"===e.ActiveStatus)))?void 0:a.map((t=>Ye.jsx(V,{className:"BranchCard",value:null==t?void 0:t.BrId,onChange:n=>(async(e,t,n,i,a,s)=>{var l;if(e.target.checked){let e=d.filter((function(e){return null!=e&&null!=e}));"Sadmin"==A?r(hh([...e,{BranchId:t,CompId:n,AppId:i}])):"Branch Admin"==A&&w.current.UserCountVal+1<=w.current.FeatUserCount&&(w.current.UserCountVal=w.current.UserCountVal+1,r(hh([...e,{BranchId:t,CompId:n,AppId:i}])));const a={...o,[s]:[...o[s]||[],{CompId:n,AppId:i,BranchId:t}]};r(mh(a))}else{r(bh({CompId:n,BranchId:t})),"Branch Admin"==A&&(w.current.UserCountVal=w.current.UserCountVal-1);const e={...o,[s]:(null==(l=o[s])?void 0:l.filter((e=>!(e.BranchId===t&&e.CompId===n&&e.AppId===i))))||[]};r(mh(e))}})(n,null==t?void 0:t.BrId,null==t?void 0:t.CompId,null==t?void 0:t.AppId,null==t||t.CompName,e),children:null==t?void 0:t.BrName},null==t?void 0:t.BrId)))})]})}))]})})]})]})},jO=()=>{var e;const{Panel:t}=ee,n=um(),i=Tf(Sh),r=Tf(kh),s=Tf(Mh),l=Tf(Vh),o=Tf(Nh),d=Tf(Bh),c=Tf(Rh),u=Tf(Wh),[p,A]=a.useState({}),[h,f]=a.useState("");a.useEffect((()=>{0==(null==u?void 0:u.length)&&f("")}),[u]),a.useEffect((()=>{var e;try{async function a(){var e;let t=await(null==(e=Object.keys(c))?void 0:e.reduce((async(e,t)=>{var a;if(null!=l[t]&&null!=r){let l=await(null==(a=c[t])?void 0:a.reduce((async(e,t)=>{var a,l,o,d;"Sadmin"==i?await n(LA({AppId:t})).unwrap():await n(LA({UserId:"Admin"==iA("UserType")?iA("UserId"):s,AppId:t})).unwrap();let c=await n(TA({UserId:r,AppId:t})).unwrap();return{...await e,[null==(l=null==(a=null==c?void 0:c.data)?void 0:a.data[0])?void 0:l.AppName]:null==(d=null==(o=null==c?void 0:c.data)?void 0:o.data)?void 0:d.map((e=>({CompId:e.CompId,AppId:t})))}}),{}));return{...await e,...await l}}return await e}),{}));n(fh(t??[]))}if("Company Admin"!=i)a();else{let u=[];null==(e=Object.keys(c))||e.map((e=>{c[e].map((e=>{u.push({AppId:e,CompId:o,BranchId:d})}))})),n(hh([...u]))}A(c)}catch(t){}}),[c,l]);return Ye.jsx("div",{className:"userAccessDiv",children:Ye.jsxs("div",{className:"userAccess",children:[Ye.jsxs("div",{style:{display:"flex",justifyContent:"space-between",width:"97%"},children:[Ye.jsx("div",{className:"userAccessHeader selectDrpHeading",children:" Apps "}),Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{f(e)},onSearchChange:e=>{var t;f(null==(t=null==e?void 0:e.target)?void 0:t.value)},value:h})})]}),Ye.jsx(ee,{defaultActiveKey:"1",children:Ye.jsx(t,{header:"Hide / Show",children:Ye.jsxs("div",{className:"userAccessBody ",children:[0===Object.keys(l).length&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("p",{style:{color:"gray"},children:" No Apps Found "})}),null==(e=Object.keys(l))?void 0:e.map((e=>{var t,a,r,f;return Ye.jsxs("div",{className:"BranchCardList",children:[Ye.jsxs("p",{children:[" ",e]}),Ye.jsx(V.Group,{value:p[e],onChange:t=>(async(e,t)=>{let n={[t]:e};A({...p,...n})})(t,e),children:null==(f=null==(r=null==(a=null==(t=Object.values(l))?void 0:t.flat())?void 0:a.filter((e=>{var t;return null==(t=e.SubCategoryName)?void 0:t.toLowerCase().includes(null==h?void 0:h.toLowerCase())})))?void 0:r.filter((e=>"A"===e.ActiveStatus)))?void 0:f.map((t=>(null==t?void 0:t.SubCategoryName)===e?Ye.jsx(V,{className:"companyCard",value:null==t?void 0:t.AppId,onChange:a=>(async(e,t,a,r)=>{var l;try{if(e.target.checked){if("Company Admin"!=i)"Sadmin"==i?await n(LA({AppId:a})).unwrap():await n(LA({AppId:a,UserId:"Admin"==iA("UserType")?iA("UserId"):s})).unwrap();else{let e=u.filter((function(e){return null!=e&&null!=e}));n(hh([...e,{AppId:a,CompId:o,BranchId:d}]))}const e={...c,[r]:[...c[r]||[],a]};n(Ah(e))}else{"Company Admin"!=i?(n(yh({AppName:t})),n(bh({AppId:a})),n(jh({companyAccessData:t}))):n(bh({AppId:a}));const e={...c,[r]:(null==(l=c[r])?void 0:l.filter((e=>e!==a)))||[]};n(Ah(e))}}catch(p){}})(a,null==t?void 0:t.AppName,null==t?void 0:t.AppId,e),children:null==t?void 0:t.AppName},null==t?void 0:t.AppId):null))})]})}))]})},"1")})]})})},CO="/assets/defaultAppImage-1225fa73.svg";function SO(e){return Cn({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12l8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"}}]})(e)}function NO(e){return Cn({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6A2.25 2.25 0 016 3.75h2.25A2.25 2.25 0 0110.5 6v2.25a2.25 2.25 0 01-2.25 2.25H6a2.25 2.25 0 01-2.25-2.25V6zM3.75 15.75A2.25 2.25 0 016 13.5h2.25a2.25 2.25 0 012.25 2.25V18a2.25 2.25 0 01-2.25 2.25H6A2.25 2.25 0 013.75 18v-2.25zM13.5 6a2.25 2.25 0 012.25-2.25H18A2.25 2.25 0 0120.25 6v2.25A2.25 2.25 0 0118 10.5h-2.25a2.25 2.25 0 01-2.25-2.25V6zM13.5 15.75a2.25 2.25 0 012.25-2.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-2.25A2.25 2.25 0 0113.5 18v-2.25z"}}]})(e)}function IO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M5.22 14.78a.75.75 0 001.06 0l7.22-7.22v5.69a.75.75 0 001.5 0v-7.5a.75.75 0 00-.75-.75h-7.5a.75.75 0 000 1.5h5.69l-7.22 7.22a.75.75 0 000 1.06z",clipRule:"evenodd"}}]})(e)}function FO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M2 10a8 8 0 1116 0 8 8 0 01-16 0zm6.39-2.908a.75.75 0 01.766.027l3.5 2.25a.75.75 0 010 1.262l-3.5 2.25A.75.75 0 018 12.25v-4.5a.75.75 0 01.39-.658z",clipRule:"evenodd"}}]})(e)}function BO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M3,3 L21,21 M3,21 L21,3"}}]})(e)}function PO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M7,7 L17,17 M7,17 L17,7"}}]})(e)}function kO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M2,19 L22,19 M2,5 L22,5 M2,12 L22,12"}}]})(e)}function TO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M19,18 L5,18 L19,18 Z M12,18 L12,12 L12,18 Z M15,18 L15,14 L15,18 Z M9,18 L9,14 L9,18 Z M19,22 L19,11.3292943 C20.1651924,10.9174579 21,9.80621883 21,8.5 C21,6.84314575 19.6568542,5.5 18,5.5 C17.6192862,5.5 17.2551359,5.57091725 16.9200387,5.7002623 C16.5495238,3.87433936 14.4600194,2 12,2 C9.53998063,2 7.45047616,3.87433936 7.07996126,5.7002623 C6.74486408,5.57091725 6.38071384,5.5 6,5.5 C4.34314575,5.5 3,6.84314575 3,8.5 C3,9.80621883 3.83480763,10.9174579 5,11.3292943 L5,22 L19,22 Z"}}]})(e)}function EO(e){return Cn({tag:"svg",attr:{t:"1569683928793",viewBox:"0 0 1024 1024",version:"1.1"},child:[{tag:"defs",attr:{},child:[]},{tag:"path",attr:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16z m-52 268H212V212h200v200zM864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16z m-52 268H612V212h200v200zM864 544H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16z m-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}}]})(e)}function DO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 0 0 0 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]})(e)}function LO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]})(e)}function UO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attr:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]})(e)}function _O(e){return Cn({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 0 0 0-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 0 0 9.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]})(e)}function OO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5zM761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9a7.92 7.92 0 0 0-6.5-3.3H573c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.9-5.3.1-12.7-6.4-12.7zM440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]})(e)}function MO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 0 0-44.4 0L77.5 505a63.9 63.9 0 0 0-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0 0 18.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]})(e)}function RO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]})(e)}function QO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}}]})(e)}function HO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M858.5 763.6a374 374 0 0 0-80.6-119.5 375.63 375.63 0 0 0-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 0 0-80.6 119.5A371.7 371.7 0 0 0 136 901.8a8 8 0 0 0 8 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 0 0 8-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]})(e)}function VO(e){return Cn({tag:"svg",attr:{t:"1569683915274",viewBox:"0 0 1024 1024",version:"1.1"},child:[{tag:"defs",attr:{},child:[]},{tag:"path",attr:{d:"M368 724H252V608c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v116H72c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h116v116c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V788h116c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attr:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v352h72V232h576v560H448v72h272c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM888 625l-104-59.8V458.9L888 399v226z"}},{tag:"path",attr:{d:"M320 360c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h112z"}}]})(e)}function zO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Mobile_1"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M10,18.933h4a.5.5,0,0,0,0-1H10a.5.5,0,0,0,0,1Z"}},{tag:"path",attr:{d:"M16.727,21.937H7.273a2.384,2.384,0,0,1-2.239-2.5V4.563a2.384,2.384,0,0,1,2.239-2.5h9.454a2.384,2.384,0,0,1,2.239,2.5V19.437A2.384,2.384,0,0,1,16.727,21.937ZM7.273,3.063a1.39,1.39,0,0,0-1.239,1.5V19.437a1.39,1.39,0,0,0,1.239,1.5h9.454a1.39,1.39,0,0,0,1.239-1.5V4.563a1.39,1.39,0,0,0-1.239-1.5Z"}}]}]}]})(e)}function qO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Mobile_3"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M16.73,2.065H7.27a2.386,2.386,0,0,0-2.24,2.5v14.87a2.386,2.386,0,0,0,2.24,2.5h9.46a2.386,2.386,0,0,0,2.24-2.5V4.565A2.386,2.386,0,0,0,16.73,2.065Zm1.24,17.37a1.391,1.391,0,0,1-1.24,1.5H7.27a1.391,1.391,0,0,1-1.24-1.5V4.565a1.391,1.391,0,0,1,1.24-1.5H8.8v.51a1,1,0,0,0,1,1h4.4a1,1,0,0,0,1-1v-.51h1.53a1.391,1.391,0,0,1,1.24,1.5Z"}},{tag:"path",attr:{d:"M10,18.934h4a.5.5,0,0,0,0-1H10a.5.5,0,0,0,0,1Z"}}]}]}]})(e)}function WO(e){return Cn({tag:"svg",attr:{version:"1.1",id:"search",x:"0px",y:"0px",viewBox:"0 0 24 24",style:"enable-background:new 0 0 24 24;"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M20.031,20.79c0.46,0.46,1.17-0.25,0.71-0.7l-3.75-3.76c1.27-1.41,2.04-3.27,2.04-5.31\n\t\tc0-4.39-3.57-7.96-7.96-7.96s-7.96,3.57-7.96,7.96c0,4.39,3.57,7.96,7.96,7.96c1.98,0,3.81-0.73,5.21-1.94L20.031,20.79z\n\t\t M4.11,11.02c0-3.84,3.13-6.96,6.96-6.96c3.84,0,6.96,3.12,6.96,6.96c0,3.84-3.12,6.96-6.96,6.96C7.24,17.98,4.11,14.86,4.11,11.02\n\t\tz"}}]}]})(e)}function YO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 32 32"},child:[{tag:"path",attr:{d:"M 19.65625 4.3125 C 18.882813 4.40625 18.195313 4.953125 17.96875 5.75 L 15.3125 15.0625 L 11.96875 16.03125 C 11.730469 14.335938 10.257813 13 8.5 13 C 6.578125 13 5 14.578125 5 16.5 C 5 18.421875 6.578125 20 8.5 20 C 9.789063 20 10.925781 19.269531 11.53125 18.21875 L 14.65625 17.34375 L 13.78125 20.46875 C 12.730469 21.074219 12 22.210938 12 23.5 C 12 25.421875 13.578125 27 15.5 27 C 17.421875 27 19 25.421875 19 23.5 C 19 21.742188 17.664063 20.269531 15.96875 20.03125 L 20.4375 4.375 C 20.171875 4.300781 19.914063 4.28125 19.65625 4.3125 Z M 27.625 11.5625 L 18.90625 14.03125 L 18.25 16.3125 L 26.25 14.03125 C 27.3125 13.726563 27.929688 12.625 27.625 11.5625 Z M 8.5 15 C 9.339844 15 10 15.660156 10 16.5 C 10 17.339844 9.339844 18 8.5 18 C 7.660156 18 7 17.339844 7 16.5 C 7 15.660156 7.660156 15 8.5 15 Z M 15.5 22 C 16.339844 22 17 22.660156 17 23.5 C 17 24.339844 16.339844 25 15.5 25 C 14.660156 25 14 24.339844 14 23.5 C 14 22.660156 14.660156 22 15.5 22 Z"}}]})(e)}function KO(e){return Cn({tag:"svg",attr:{version:"1.2",baseProfile:"tiny",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 3s-6.186 5.34-9.643 8.232c-.203.184-.357.452-.357.768 0 .553.447 1 1 1h2v7c0 .553.447 1 1 1h3c.553 0 1-.448 1-1v-4h4v4c0 .552.447 1 1 1h3c.553 0 1-.447 1-1v-7h2c.553 0 1-.447 1-1 0-.316-.154-.584-.383-.768-3.433-2.892-9.617-8.232-9.617-8.232z"}}]})(e)}function GO(e){return Cn({tag:"svg",attr:{version:"1.2",baseProfile:"tiny",viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M20.756 5.345c-.191-.219-.466-.345-.756-.345h-13.819l-.195-1.164c-.08-.482-.497-.836-.986-.836h-2.25c-.553 0-1 .447-1 1s.447 1 1 1h1.403l1.86 11.164.045.124.054.151.12.179.095.112.193.13.112.065c.116.047.238.075.367.075h11.001c.553 0 1-.447 1-1s-.447-1-1-1h-10.153l-.166-1h11.319c.498 0 .92-.366.99-.858l1-7c.041-.288-.045-.579-.234-.797zm-1.909 1.655l-.285 2h-3.562v-2h3.847zm-4.847 0v2h-3v-2h3zm0 3v2h-3v-2h3zm-4-3v2h-3l-.148.03-.338-2.03h3.486zm-2.986 3h2.986v2h-2.653l-.333-2zm7.986 2v-2h3.418l-.285 2h-3.133z"}},{tag:"circle",attr:{cx:"8.5",cy:"19.5",r:"1.5"}},{tag:"circle",attr:{cx:"17.5",cy:"19.5",r:"1.5"}}]}]})(e)}function $O(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M288 16l32 16s-25.2 44.02-16 64c5 10.8 32 16 32 16-16 32-32 80-32 96 80 48 80 144 160 176 0 64-80 112-208 112S48 448 48 384c80-32 80-128 160-176 0-16-16-64-32-96 0 0 27-5.2 32-16 9.2-19.98-16-64-16-64l32-16c0 32 16 48 32 48s32-16 32-48z"}}]})(e)}function XO(e){return Cn({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M150.902 268.233h-42.1a23.347 23.347 0 0 1 42.1 0zm67.359-13.292a114.847 114.847 0 0 1 1.203-16.31 23.335 23.335 0 0 0-18.68 29.602h18.295a113.38 113.38 0 0 1-.77-13.292zm-94.532-86.027c-15.637-15.637-36.638-32.164-55.162-32.164h-1.54l.975 19.246c8.913-.433 23.287 8.3 39.489 24.056q1.528 1.48 2.995 2.972a42.58 42.58 0 0 1 8.083-.95 42.34 42.34 0 0 1 5.208-13.172zm24.37-18.933a68.706 68.706 0 0 0 6.928-9.743 71.172 71.172 0 0 0 7.11-16.55 70.174 70.174 0 0 0 2.706-17.695 67.72 67.72 0 0 0-1.672-16.575 69.043 69.043 0 0 0-2.01-7 63.499 63.499 0 0 0-2.236-5.594 53.963 53.963 0 0 0-1.889-3.728c-.228-.433-.469-.782-.601-1.01l-.217-.35-.36.18c-.241.121-.614.302-1.035.542a52.092 52.092 0 0 0-3.609 2.177 52.07 52.07 0 0 0-4.811 3.609 69.031 69.031 0 0 0-5.377 4.907 67.72 67.72 0 0 0-10.104 13.232 70.174 70.174 0 0 0-6.964 16.49 71.16 71.16 0 0 0-2.719 17.779 68.562 68.562 0 0 0 1.672 16.575 66.337 66.337 0 0 0 4.234 12.546c.47 1.058.927 1.96 1.336 2.718a42.713 42.713 0 0 1 19.666-12.522zm342.413-43.903c-.228-.133-.59-.35-1.022-.578a43.443 43.443 0 0 0-3.777-1.804c-1.6-.674-3.5-1.42-5.641-2.105a69.031 69.031 0 0 0-7.049-1.84 67.72 67.72 0 0 0-16.611-1.263 70.174 70.174 0 0 0-17.634 3.127 71.172 71.172 0 0 0-16.31 7.41 68.562 68.562 0 0 0-13.003 10.428l-.542.578a69.633 69.633 0 0 1 12.618 22.168 68.67 68.67 0 0 0 11.307.421 71.16 71.16 0 0 0 17.646-3.091 70.174 70.174 0 0 0 16.322-7.362 67.72 67.72 0 0 0 13.003-10.428 69.02 69.02 0 0 0 4.811-5.497c1.384-1.78 2.55-3.44 3.477-4.932.926-1.492 1.635-2.718 2.093-3.609.24-.433.409-.817.517-1.058l.18-.373zm-85.642-66.06c-.433-1.697-.854-3.296-.986-4.018l-18.981 3.488c.252 1.384.685 3.043 1.275 5.329 2.814 10.898 9.298 36.013 1.48 58.23a69.97 69.97 0 0 1 16.165 11.595c12.787-28.928 4.511-61.032.999-74.625zM180.179 476h122.618a159.112 159.112 0 0 0 159.112-159.112v-29.41H21.103V316.9A159.112 159.112 0 0 0 180.179 476zm245.163-221.059a93.545 93.545 0 0 0-26.03-64.845 50.4 50.4 0 1 0-94.05-25.26 93.822 93.822 0 0 0-66.745 103.445h185.839a94.604 94.604 0 0 0 .986-13.34zm-244.718 6.748a42.412 42.412 0 0 1 10.609-28.074 23.383 23.383 0 0 0-43.555 6.014 42.81 42.81 0 0 1 23.492 28.28 23.287 23.287 0 0 0 9.622-2.407 43.845 43.845 0 0 1-.168-3.813zm-79.388-14.963a23.383 23.383 0 0 0-41.522 21.495h28.688a42.665 42.665 0 0 1 12.822-21.495zm79.845-66.686a23.371 23.371 0 0 0-43.543 5.642 42.905 42.905 0 0 1 19.51 18.427 42.292 42.292 0 0 1 11.44-2.153 42.653 42.653 0 0 1 12.58-21.916zm29 7.819a23.383 23.383 0 0 0-22.685 17.537 42.905 42.905 0 0 1 19.534 16.924 42.316 42.316 0 0 1 16.335-3.271h.854a111.36 111.36 0 0 1 7.373-17.177 23.383 23.383 0 0 0-21.41-14.013zm-69.524 26.402a23.36 23.36 0 0 0-43.483 4.174 42.905 42.905 0 0 1 20.966 18.945 42.557 42.557 0 0 1 10.826-1.648 42.593 42.593 0 0 1 11.691-21.47z"}}]})(e)}const JO=({searchText:e})=>{const t=um(),n=Qt(),[i,r]=a.useState([]),[s,l]=a.useState([]),[o,d]=a.useState(!0),[c,u]=a.useState("name"),[p,A]=a.useState("grid"),[h,f]=a.useState("All Solutions"),[m,v]=a.useState([]),[g,y]=a.useState("");a.useEffect((()=>{!async function(){var e,n,i,a,s;d(!0);try{const o=iA("UserId"),d=await t(BD({userId:o})).unwrap();if(null==(e=null==d?void 0:d.data)?void 0:e.statusCode){r(null==(n=null==d?void 0:d.data)?void 0:n.data),l(null==(i=null==d?void 0:d.data)?void 0:i.data);const e=(null==(s=null==(a=null==d?void 0:d.data)?void 0:a.data)?void 0:s.flatMap((e=>{var t;return(null==(t=e.AppDetails)?void 0:t.map((t=>({...t,categoryName:e.SubCategoryName,categoryImage:e.subCategoryImage,rating:t.Rating||(2*Math.random()+3).toFixed(1),reviewCount:Math.floor(2e3*Math.random())+500,activeUsers:Math.floor(50*Math.random())+10,integrations:Math.floor(200*Math.random())+50,features:x(t.AppName,e.SubCategoryName),certifications:b(t.AppName),setupTime:Math.floor(4*Math.random())+1,isFavorited:Math.random()>.7,monthlyPrice:t.NetPrice||t.Price||Math.floor(500*Math.random())+99,annualPrice:Math.floor(10*(t.NetPrice||t.Price||299)),hasFreeTrial:Math.random()>.3,trialDays:Math.floor(14*Math.random())+7}))))||[]})))||[];v(e)}}catch(o){}finally{d(!1)}}()}),[]);const x=(e,t)=>({ERP:["Manufacturing","Financial Management","HR & Payroll"],Bakery:["Inventory Management","Order Processing","Customer Management"],Boating:["Fleet Management","Maintenance Tracking","Route Planning"],Saloon:["Appointment Booking","Customer Records","Payment Processing"],"Wholesale Retail":["Inventory Control","Sales Analytics","Supplier Management"]}[t]||["Core Features","Analytics","Reporting"]),b=e=>{const t=[];return Math.random()>.5&&t.push("ISO 27001"),Math.random()>.6&&t.push("SOC 2"),Math.random()>.7&&t.push("GDPR Compliant"),t},w=e=>({Bakery:Ye.jsx(TO,{}),Restaurant:Ye.jsx(ii,{}),Boating:Ye.jsx(Jg,{}),ERP:Ye.jsx(QO,{}),"Electrical & Electronics":Ye.jsx(qO,{}),Saloon:Ye.jsx(YO,{}),Wholesale:Ye.jsx(Xg,{}),Retail1:Ye.jsx(GO,{}),"Retail Store":Ye.jsx(GO,{}),"Electronic Retailer":Ye.jsx(QO,{}),"Mobile & Accessories":Ye.jsx(qO,{}),"Grocery Stores":Ye.jsx(XO,{}),"Apparels & Textiles":Ye.jsx($O,{}),"Wellness & Spa":Ye.jsx(oE,{}),Wholesale:Ye.jsx(Xg,{}),"Hardware Stores":Ye.jsx(OU,{}),"ndustrial Manufacturing":Ye.jsx(gi,{}),"Blue Metal Suppliers":Ye.jsx(NO,{})}[e]||Ye.jsx(NO,{})),j=e=>{const t=document.querySelector(".category-filters");"left"===e?t.scrollBy({left:-200,behavior:"smooth"}):t.scrollBy({left:200,behavior:"smooth"})};if(o)return Ye.jsxs("div",{className:"loading-container",children:[Ye.jsx("div",{className:"loading-spinner"}),Ye.jsx("p",{children:"Loading applications..."})]});const C=[{name:"All Solutions",count:m.length,icon:Ye.jsx(NO,{})},...[...new Set(m.map((e=>e.categoryName)))].map((e=>{const t=m.filter((t=>t.categoryName===e)).length,n=w(e);return{name:e,count:t,icon:n}}))],S=(()=>{let e=m;if("All Solutions"!==h&&(e=e.filter((e=>e.categoryName===h))),g.trim()){const t=g.toLowerCase();e=e.filter((e=>e.AppName.toLowerCase().includes(t)||e.PricingName&&e.PricingName.toLowerCase().includes(t)||e.AppDescription&&e.AppDescription.toLowerCase().includes(t)||e.categoryName.toLowerCase().includes(t)))}return e})(),N=(I=S,[...I].sort(((e,t)=>{switch(c){case"name":return e.AppName.localeCompare(t.AppName);case"date":return new Date(t.CreatedDate||0)-new Date(e.CreatedDate||0);case"rating":return(t.rating||0)-(e.rating||0);default:return 0}})));var I;const F={bakery:"https://i.pinimg.com/1200x/ae/8b/01/ae8b01cf687d513e061000f1f285cb56.jpg",agro:"https://i.pinimg.com/736x/f3/ac/93/f3ac937d72269d8c33ce5534de1abb61.jpg","biller pro":"https://i.pinimg.com/736x/db/c9/44/dbc94422cfbbb68e8d1ba3cbbacc063c.jpg",boating:"https://i.pinimg.com/1200x/64/22/f2/6422f22981ad0a1dbaae7466e2f255da.jpg"},B=e=>{if(!e)return CO;const t=e.toLowerCase().trim().replace(/\s+/g," ");return F[t]||CO};return Ye.jsxs("div",{className:"application-list-container",children:[Ye.jsxs("div",{className:"moreappsTitle",children:[Ye.jsx("div",{children:"Business Solutions Marketplace"}),Ye.jsx("p",{children:"All-in-one SaaS solutions for every industry from retail, hospitality, and more."})]}),Ye.jsxs("div",{className:"category-filter-bar",children:[Ye.jsx("div",{className:"LRScrollBTN",onClick:()=>j("left"),children:Ye.jsx(Zm,{})}),Ye.jsx("div",{className:"category-filters",children:C.map(((e,t)=>Ye.jsxs("div",{className:"category-filter-item "+(h===e.name?"active":""),onClick:()=>f(e.name),children:[Ye.jsx("div",{className:"category-icon",children:e.icon}),Ye.jsx("div",{className:"category-name",children:e.name}),Ye.jsx("div",{className:"category-count",children:e.count})]},t)))}),Ye.jsx("div",{className:"LRScrollBTN",onClick:()=>j("right"),children:Ye.jsx(ev,{})})]}),Ye.jsxs("div",{className:"apps-section-header",children:[Ye.jsxs("div",{className:"header-actions",children:[Ye.jsxs("div",{className:"searchBar",children:[Ye.jsx(tD,{size:20,color:"#919191"}),Ye.jsx("input",{className:"searchInput",placeholder:"Search applications...",value:g,onChange:e=>{y(e.target.value)}})]}),Ye.jsxs("button",{className:"filterBtn",children:[Ye.jsx(Nn,{size:16})," Advanced Filters"]})]}),Ye.jsxs("div",{className:"sort-controls",children:[Ye.jsx("label",{children:"Sort by:"}),Ye.jsxs("select",{value:c,onChange:e=>u(e.target.value),children:[Ye.jsx("option",{value:"name",children:"Name"}),Ye.jsx("option",{value:"date",children:"Date Added"}),Ye.jsx("option",{value:"rating",children:"Rating"})]})]}),Ye.jsxs("div",{className:"view-controls",children:[Ye.jsx("button",{className:"view-btn "+("grid"===p?"active":""),onClick:()=>A("grid"),children:"⊞"}),Ye.jsx("button",{className:"view-btn "+("list"===p?"active":""),onClick:()=>A("list"),children:"☰"})]})]}),Ye.jsx("div",{className:"applicationList",children:N.length>0?Ye.jsx("div",{className:`apps-grid ${p}`,children:N.map((e=>{const t=Math.floor(30*Math.random())+1,i=t>5,a=t<=5&&t>0,r=t<=0;return Ye.jsxs("div",{className:`enterprise-card ${i?"active":""} ${r?"expired":""} ${a?"expiring":""}`,children:[Ye.jsx("div",{className:"card-header",children:Ye.jsx("img",{src:B(null==e?void 0:e.AppName),alt:e.AppName,className:"header-bg-image"})}),Ye.jsxs("div",{className:"card-content",children:[Ye.jsxs("div",{children:[Ye.jsx("div",{className:"category-type",children:Ye.jsx("span",{className:"category",children:e.categoryName})}),Ye.jsx("h2",{className:"app-title",children:e.AppName}),Ye.jsx("p",{className:"app-description",children:e.AppDescription||`All-in-one ${e.AppName} solution for ${e.categoryName.toLowerCase()} companies`})]}),Ye.jsxs("div",{className:"cta-section1",children:[Ye.jsxs("button",{className:"primary-cta",onClick:()=>{var t;nA("AppId",e.AppId),nA("AppName",e.AppName),n(""+("/home/"+(null==(t=e.AppName)?void 0:t.toLowerCase()))),window.location.reload()},children:[Ye.jsx(Iv,{}),"Start Free Trial"]}),e.hasFreeTrial&&Ye.jsxs("div",{className:"trial-info",children:[Ye.jsx(te,{twoToneColor:"#52c41a"}),e.trialDays,"-day free trial • No credit card required"]})]})]})]},e.AppId)}))}):Ye.jsxs("div",{className:"no-results",children:[Ye.jsx("div",{className:"no-results-icon",children:Ye.jsx(qO,{})}),Ye.jsx("h3",{children:"No applications found"}),Ye.jsx("p",{children:"Try adjusting your search criteria or check back later for new applications."})]})})]})},ZO="/assets/defaultProfile-096cbc2d.png",eM=e=>{const t=Tf(SD),n=um(),i=iA("UserType"),[r,s]=a.useState(!0),[l,o]=a.useState(!1),[d,c]=a.useState((null==t?void 0:t.UserImage)&&""!=(null==t?void 0:t.UserImage)?null==t?void 0:t.UserImage:ZO),[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState(!1),[v,x]=a.useState(!1),[b,w]=a.useState(null==t?void 0:t.MobileNo),[C,S]=a.useState(!1),[N,F]=a.useState(iA("UserId")?iA("UserId"):null),[B,P]=a.useState(),[T,E]=a.useState(!1),[D,L]=a.useState(Array(6).fill("")),[U,_]=a.useState(!1),[O,M]=a.useState(),[H,V]=a.useState(0),[z,q]=a.useState(!1),W=ne();a.useEffect((()=>{var e,n,i;w(t.MobileNo),t.MobileNo&&(P({UserName:t.UserName,MailId:t.MailId,MobileNo:t.MobileNo}),null==(e=W.current)||e.setFieldsValue({UserName:t.UserName}),null==(n=W.current)||n.setFieldsValue({MobileNo:t.MobileNo}),null==(i=W.current)||i.setFieldsValue({MailId:t.MailId}))}),[t]);a.useEffect((()=>{"edit"===(null==e?void 0:e.status)&&(async()=>{await n(vD(N)).unwrap(),s(!1),o(!0)})()}),[e]),a.useEffect((()=>{if(!H)return;const e=setInterval((()=>V((e=>e-1))),2e3);return()=>clearInterval(e)}),[H]);const Y=a.useCallback((()=>{h(null),p(null)}),[]),K=()=>E(!1);return Ye.jsxs("div",{className:"userAccountUserName",children:[r&&Ye.jsxs("div",{className:"showData",children:[Ye.jsx("div",{className:"profileImage userAccountField",children:Ye.jsx("img",{src:(null==t?void 0:t.UserImage)?null==t?void 0:t.UserImage:ZO,alt:"profile image",width:"150px",height:"150px",style:{borderRadius:"inherit"}})}),Ye.jsxs("div",{className:"userNameDiv userAccountField",children:[Ye.jsx("p",{className:"heading",children:"Full Name"}),Ye.jsx("p",{children:null==t?void 0:t.UserName})]}),Ye.jsxs("div",{className:"userEmailAddress userAccountField",children:[Ye.jsx("p",{className:"heading",children:"Email Address"}),Ye.jsx("p",{children:null==t?void 0:t.MailId})]}),Ye.jsxs("div",{className:"userAccountField",children:[Ye.jsx("p",{className:"heading",children:"Phone"}),Ye.jsx("p",{children:null==t?void 0:t.MobileNo})]}),Ye.jsx("div",{className:"userAccountButton",children:Ye.jsxs("button",{onClick:()=>{s(!1),o(!0)},children:["Edit ",Ye.jsxs("span",{children:[Ye.jsx(BU,{})," "]})]})})]}),l&&Ye.jsxs("div",{className:"editData",children:[Ye.jsxs("div",{className:"backClassUser",onClick:()=>{s(!0),o(!1)},children:[Ye.jsx(DO,{}),"   Back"]}),Ye.jsxs(I,{ref:W,className:"formDivAnt",onFinish:async e=>{var t,i,a,r,l,c,u,A;if(iA("UserId")){e.UserImage=d||ZO,e.UserId=iA("UserId"),e.UpdatedBy=iA("UserId");const f=await n(gD(e)).unwrap();1===(null==(t=null==f?void 0:f.data)?void 0:t.statusCode)?(h(null==(i=null==f?void 0:f.data)?void 0:i.response),p("success"),s(!0),o(!1),n(ND({userData:e})),nA("userName",null==e?void 0:e.UserName),(null==(a=null==f?void 0:f.data)?void 0:a.MobileNoUpdate)&&(sessionStorage.setItem("auth",null==(r=null==f?void 0:f.data)?void 0:r.token),nA("MobileNo",null==(l=null==f?void 0:f.data)?void 0:l.MobileNo))):2===(null==(c=null==f?void 0:f.data)?void 0:c.statusCode)?(h(null==(u=null==f?void 0:f.data)?void 0:u.response),p("warning"),s(!0),o(!1)):(h(null==(A=null==f?void 0:f.data)?void 0:A.response),p("error"))}else h("Not valid User"),p("error")},initialValues:B,children:[Ye.jsx(I.Item,{name:"UserName",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter User Name"},{validator:async(e,t)=>"9999999999"===t&&"Admin"===i?(E(!0),L(Array(6).fill("")),_(!1),V(0),(async()=>{var e,t;try{const i={MobileNo:b},a=await n(xm(i)).unwrap();1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)&&(M(null==(t=null==a?void 0:a.data)?void 0:t.OTP),V(30))}catch(i){}})(),Promise.reject()):(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"UserName",autoComplete:"off",label:"Full Name",fieldState:!0,fieldApi:!0,isOnChange:!0})}),Ye.jsx(I.Item,{name:"MailId",rules:[{pattern:/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/,message:"Enter a Valid MailId"}],children:Ye.jsx(Oy,{field:"MailId",autoComplete:"off",label:"Email Address",fieldState:!0,fieldApi:!0,isOnChange:!0})}),Ye.jsx(I.Item,{name:"MobileNo",rules:[{pattern:/^[0-9]{10}$/,message:"Enter a Valid MobileNo",required:!0}],children:Ye.jsx(Oy,{field:"MobileNo",autoComplete:"off",maxLength:"10",label:Ye.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"129px"},children:[Ye.jsx("label",{className:"required",style:{marginBottom:0,fontSize:"12px"},children:"Mobile Number"}),f&&Ye.jsx("span",{className:"otp-verified-icon",style:{color:"#52c41a",fontSize:"20px",lineHeight:1,display:"flex",alignItems:"center"},children:Ye.jsx(rg,{})})]}),fieldState:!0,fieldApi:!0,isOnChange:!0,inputMode:"numeric",onInput:async e=>{var t,n,i;if(m(!1),e.target.value=null==(n=null==(t=null==e?void 0:e.target)?void 0:t.value)?void 0:n.replace(/[^0-9]/g,""),10===(null==(i=e.target.value)?void 0:i.length)&&e.target.value!==b)try{S(!0),x(e.target.value)}catch(a){}}})}),Ye.jsxs("div",{className:"upload_btn",children:[Ye.jsx("p",{children:"Upload Profile"}),Ye.jsx(Yy,{singleImage:!0,updateImageUrl:e=>{c(e||null)},ImageLink:t.UserImage?t.UserImage:ZO})]}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0})})]})]}),Ye.jsx(Qy,{messageType:u,messageData:A,onComplete:Y}),Ye.jsx(tE,{open:C,close:S,mobileNo:v,userId:N,ChangeMobileFun:()=>{var e;null==(e=W.current)||e.setFieldsValue({MobileNo:""}),S(!1),x("")},SuccessOtp:()=>{x(!1),S(!1),x(""),m(!0)}}),Ye.jsx(j,{title:"Setting",open:T,onCancel:K,width:500,footer:null,children:U?Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("input",{type:"checkbox",checked:z,onChange:e=>{q(e.target.checked),nA("SalesReport",e.target.checked)}})," ","Actual Sales Report",Ye.jsx("div",{style:{marginTop:20,display:"flex",justifyContent:"space-between",alignItems:"center"},children:Ye.jsx(y,{type:"primary",onClick:K,children:"Save"})})]}):Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("p",{children:"Enter 6-digit OTP:"}),Ye.jsx(R,{gutter:10,children:D.map(((e,t)=>Ye.jsx(Q,{children:Ye.jsx(g,{id:`otp-${t}`,value:e,maxLength:1,onChange:e=>((e,t)=>{var n;if(!/^\d?$/.test(t))return;const i=[...D];i[e]=t,L(i),t&&e<D.length-1&&(null==(n=document.getElementById(`otp-${e+1}`))||n.focus())})(t,e.target.value),autoComplete:"off",style:{width:50,textAlign:"center"}})},t)))}),Ye.jsxs("div",{style:{marginTop:20,display:"flex",justifyContent:"space-between",alignItems:"center"},children:[Ye.jsx("span",{children:H>0?`Resend OTP in ${H}s`:""}),Ye.jsx(y,{type:"primary",onClick:()=>{const e=D.join("");U?E(!1):e==O?_(!0):alert("Please enter the correct 6-digit OTP")},children:"Submit"})]})]})})]})},tM=e=>Ye.jsxs("div",{className:"userAccountCont",children:[Ye.jsx("div",{className:"myProfileHeading",children:"My Profile"}),Ye.jsx("div",{children:Ye.jsx(eM,{status:null==e?void 0:e.status})})]}),nM=({Password:e,formType:t,Mode:n,ChangeMode:i})=>{var r;let s=null==(r=null==e?void 0:e[0])?void 0:r.Password;const l=a.useRef(null),o=um(),[d,c]=a.useState(!1),[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState(!1),[v,g]=a.useState(!1),[y,x]=a.useState(),[b,w]=a.useState();a.useEffect((()=>{n||c(n)}),[n]),a.useEffect((()=>{i(d)}),[d]);const j=a.useCallback((()=>{h(null),p(null)}),[]);return Ye.jsx("div",{className:"pageOverAllUser",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:u,messageData:A,onComplete:j}),Ye.jsx("div",{className:"formedit",children:Ye.jsxs("div",{className:"backBtn",children:[Ye.jsx(ab,{title:"Password"}),d?Ye.jsxs("div",{className:"backBtn2",onClick:()=>(async()=>{c(!1)})(),children:[" ",Ye.jsx($,{})," Back"," "]}):null]})}),d?null:Ye.jsx("div",{className:"ChangePW_Div",children:Ye.jsxs(R,{children:[Ye.jsx(Q,{flex:"1 1 200px",children:Ye.jsx("p",{children:"N"===s?"Set Password":"Change Password"})}),Ye.jsx(Q,{flex:"1 1 100px",children:Ye.jsxs("button",{className:"edit_btn",onClick:()=>(async()=>{c(!0)})(),children:["Edit ",Ye.jsx(D,{})," "]})})]})}),d?Ye.jsx("div",{className:"formDiv noheight",children:Ye.jsxs(I,{ref:l,className:"formDivAnt",onFinish:async e=>{var t,n;if(iA("UserId")){let i=e,a={};i.Password=e.NewPassword,i.UpdatedBy=iA("UserId"),i.UserId=iA("UserId"),a=await o(yD(i)).unwrap(),1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)?(p("success"),h("Password Updated Successfully"),c(!1)):(p("error"),h(null==(n=null==a?void 0:a.data)?void 0:n.response))}else p("error"),h("Not valid user")},children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"NewPassword",rules:[{required:!0,message:"Please Enter New Password!"},{validator:async(e,t)=>{var n;await lA(t);const i=null==(n=l.current)?void 0:n.getFieldValue("ConfirmPassword");return t&&i&&t!==i?Promise.reject("Passwords must be the same"):Promise.resolve()}}],children:Ye.jsx(Oy,{field:"NewPassword",type:f?"text":"password",name:"NewPassword",label:Ye.jsx("label",{className:"required",children:"New Password"}),fieldState:!0,fieldApi:!0,onChange:e=>{var t,n,i,a,r,s;x(null==(t=null==e?void 0:e.target)?void 0:t.value);const o=null==(n=l.current)?void 0:n.getFieldValue("ConfirmPassword");null==(a=l.current)||a.setFieldsValue({NewPassword:null==(i=null==e?void 0:e.target)?void 0:i.value}),o&&(null==(r=null==e?void 0:e.target)?void 0:r.value)===o&&(null==(s=l.current)||s.validateFields(["ConfirmPassword"]))},id:"error2",autocomplete:"off",isOnChange:"edit"==t,suffix:Ye.jsx(Ye.Fragment,{children:f?Ye.jsx(q,{onClick:()=>{m(!1)}}):Ye.jsx(W,{onClick:()=>{m(!0)}})})})}),Ye.jsx(I.Item,{name:"ConfirmPassword",rules:[{required:!0,message:"Please Enter Confirm Password!"},({getFieldValue:e})=>({async validator(t,n){await lA(n);const i=e("NewPassword");return n&&i&&n!==i?Promise.reject("Passwords must be the same"):Promise.resolve()}})],children:Ye.jsx(Oy,{field:"ConfirmPassword",type:v?"text":"password",name:"ConfirmPassword",label:Ye.jsx("label",{className:"required",children:"Confirm Password"}),fieldState:!0,onChange:e=>{var t,n,i,a,r,s;w(null==(t=null==e?void 0:e.target)?void 0:t.value);const o=null==(n=l.current)?void 0:n.getFieldValue("NewPassword");null==(a=l.current)||a.setFieldsValue({ConfirmPassword:null==(i=null==e?void 0:e.target)?void 0:i.value}),o&&(null==(r=null==e?void 0:e.target)?void 0:r.value)===o&&(null==(s=l.current)||s.validateFields(["NewPassword"]))},fieldApi:!0,id:"error2",autocomplete:"off",isOnChange:"edit"==t,suffix:Ye.jsx(Ye.Fragment,{children:v?Ye.jsx(q,{onClick:()=>{g(!1)}}):Ye.jsx(W,{onClick:()=>{g(!0)}})})})})]})}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{})})})]})}):null]})})})},iM=({Pin:e,formType:t,Mode:n,ChangeMode:i})=>{var r;const s=a.useRef(null),l=um(),[o,d]=a.useState(!1),[c,u]=a.useState(null),[p,A]=a.useState(null),[h,f]=a.useState(!1);a.useEffect((()=>{n||d(n)}),[n]),a.useEffect((()=>{i(o)}),[o]);const m=a.useCallback((()=>{A(null),u(null)}),[]);let v=null==(r=null==e?void 0:e[0])?void 0:r.Pin;return Ye.jsx("div",{className:"pageOverAllUser",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:c,messageData:p,onComplete:m}),Ye.jsx("div",{className:"formedit",children:Ye.jsxs("div",{className:"backBtn",children:[Ye.jsx(ab,{title:"PIN"}),o?Ye.jsxs("div",{className:"backBtn2",onClick:()=>(async()=>{d(!1)})(),children:[" ",Ye.jsx($,{})," Back"," "]}):null]})}),o?null:Ye.jsx("div",{className:"ChangePW_Div",children:Ye.jsxs(R,{children:[Ye.jsx(Q,{flex:"1 1 100px",children:Ye.jsx("p",{children:"N"===v?"Set Pin":"Change Pin"})}),Ye.jsx(Q,{flex:"1 1 100px",children:Ye.jsxs("button",{className:"edit_btn",onClick:()=>(async()=>{d(!0)})(),children:["Edit ",Ye.jsx(D,{})," "]})})]})}),o?Ye.jsx("div",{className:"formDiv noheight",children:Ye.jsxs(I,{ref:s,className:"formDivAnt",onFinish:async e=>{var t,n;if(iA("UserId")){let i=e,a={};i.Pin=e.NewPin,i.UpdatedBy=iA("UserId"),i.UserId=iA("UserId"),a=await l(xD(i)).unwrap(),1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)?(u("success"),A("Pin Updated Successfully"),d(!1)):(u("error"),A(null==(n=null==a?void 0:a.data)?void 0:n.response))}else u("error"),A("Not valid user")},children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsx("div",{className:"inputForm",children:Ye.jsx(I.Item,{name:"NewPin",rules:[{required:!0,message:"Please Enter your New Pin!"},{validator:async(e,t)=>(await lA(t),t&&t.length>4?Promise.reject("Pin should not exceed 4 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"NewPin",type:h?"text":"password",name:"NewPin",label:Ye.jsx("label",{className:"required",children:"New PIN"}),fieldState:!0,fieldApi:!0,maxlength:"4",id:"error2",autocomplete:"off",isOnChange:"edit"==t,suffix:Ye.jsx(Ye.Fragment,{children:h?Ye.jsx(q,{onClick:()=>{f(!1)}}):Ye.jsx(W,{onClick:()=>{f(!0)}})}),inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")})})})}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{})})})]})}):null]})})})},aM=()=>{const e=um(),t=iA("UserId"),[n,i]=a.useState(),[r,s]=a.useState(),[l,o]=a.useState(!0),[d,c]=a.useState(!0);a.useEffect((()=>{u()}),[]);const u=async()=>{var n,a;let r={UserId:t,ActiveStatus:"A"};const l=await e(bD(r)).unwrap();i(null==(n=null==l?void 0:l.data)?void 0:n.data),s(null==(a=null==l?void 0:l.data)?void 0:a.data)};return Ye.jsxs("div",{className:"userAccountSec",children:[Ye.jsx("div",{className:"myProfileHeading",children:"Security"}),Ye.jsxs("div",{className:"securityContentPage",children:[Ye.jsx(nM,{Password:n,Mode:l,ChangeMode:async e=>{c(!e)}}),Ye.jsx(iM,{Pin:r,Mode:d,ChangeMode:async e=>{o(!e)}})]})]})},rM=()=>{const e=um(),t=Tf(AD),[n,i]=a.useState(iA("UserType")?iA("UserType"):null),[r,s]=a.useState(iA("UserId")?iA("UserId"):null);return a.useEffect((()=>{"Admin"===n||"Admin User"===n?e(cD({UserId:r})).unwrap():"Employee"===n?e(cD({UserId:r,Type:"E"})).unwrap():"Super Admin"!==n&&"Super Admin User"!==n||e(cD()).unwrap()}),[n,r]),Ye.jsxs("div",{children:[Ye.jsxs("div",{className:"homeAppHeadder",children:[Ye.jsx("div",{className:"homePageAppIcon",children:Ye.jsx("img",{src:oD})}),Ye.jsx("div",{children:Ye.jsx("h2",{children:"Notifications"})})]}),Ye.jsx("div",{className:"homeNotification",children:Ye.jsx("ul",{children:0===(null==t?void 0:t.length)?Ye.jsx(X,{}):null==t?void 0:t.map(((e,t)=>Ye.jsx("li",{style:{marginBottom:"8px"},children:e.Message},t)))})})]})},sM=()=>{const e=um(),{Text:t}=ie,n=a.useRef(null),[i,r]=a.useState(null),[s,l]=a.useState(null),[o,d]=a.useState(null),[c,u]=a.useState(null),p=iA("UserId");iA("AppId");const A=a.useCallback((()=>{u(null),d(null)}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:o,messageData:c,onComplete:A}),Ye.jsxs("div",{className:"userAccountSec",children:[Ye.jsx("div",{className:"myProfileHeading",children:"Referral"}),Ye.jsx("div",{className:"securityContentPage",style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"2rem",backgroundColor:"#f8f9fa"},children:Ye.jsxs("div",{style:{width:"100%",maxWidth:"600px",backgroundColor:"#fff",borderRadius:"8px",padding:"2rem",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.1)"},children:[Ye.jsx(ab,{title:"Mobile No"}),Ye.jsx(I,{ref:n,className:"formDivAnt",onFinish:async()=>{var t,n,a,r,s;let o={UserId:p,MobileNo:i,CreatedBy:p},c=await e(wD(o)).unwrap();1==(null==(t=null==c?void 0:c.data)?void 0:t.statusCode)?(l(null==(n=null==c?void 0:c.data)?void 0:n.ReferralCode),u(null==(a=null==c?void 0:c.data)?void 0:a.response),d("Referral Code Already Used"==(null==(r=null==c?void 0:c.data)?void 0:r.response)?"error":"success")):(u(null==(s=null==c?void 0:c.data)?void 0:s.response),d("error"))},style:{display:"flex",flexDirection:"column",gap:"1rem"},children:Ye.jsx("div",{className:"formDivS",style:{display:"flex",flexDirection:"column",gap:"1rem"},children:Ye.jsxs("div",{className:"inputForm",style:{display:"flex",flexDirection:"column",gap:"1rem"},children:[Ye.jsx(I.Item,{name:"MobileNo",rules:[{required:!0,message:"Mobile number is required"},{pattern:/^[6-9]\d{9}$/,message:"Enter a valid 10-digit mobile number starting with 6-9"}],children:Ye.jsx(Oy,{field:"MobileNo",name:"Mobile No",label:Ye.jsx("label",{className:"required",style:{fontWeight:"bold"},children:"Enter Mobile"}),fieldState:!0,fieldApi:!0,maxLength:10,type:"text",onChange:e=>{r(e.target.value),l()},onKeyPress:e=>{/[0-9]/.test(e.key)||e.preventDefault()},autocomplete:"off",isOnChange:!!i,style:{borderRadius:"4px",padding:"10px",fontSize:"16px"}})}),s&&Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",margin:"0 0 1rem 1rem",border:"solid 1px gray",padding:"3px 15px",borderRadius:"5px",width:"max-content",backgroundColor:"#f5f5f5"},children:Ye.jsx(t,{copyable:{text:s,tooltips:["Click to copy","Copied!"]},style:{fontSize:"23px",display:"flex",gap:"1rem"},children:s})}),Ye.jsx("div",{style:{display:"flex",marginTop:"1.5rem"},children:Ye.jsx(Ry,{buttonText:"Generate Code",color:"901D77",disabled:!(10===(null==i?void 0:i.length)&&/^[6-9]\d{9}$/.test(i)),icon:Ye.jsx(k,{}),style:{backgroundColor:"#901d77",color:"white",border:"none",borderRadius:"4px",fontSize:"16px",padding:"10px 20px",display:"flex",alignItems:"center"}})})]})})})]})})]})]})},lM=e=>{const t=um();Qt();const n=Mt(),[i,r]=a.useState(!0),[s,l]=a.useState(!1),[o,d]=a.useState(!1),[c,u]=a.useState(!0),[p,A]=a.useState(!1);return a.useEffect((()=>{var e;!async function(){const e=iA("UserId");await t(vD({userId:e})).unwrap()}(),(null==(e=null==n?void 0:n.state)?void 0:e.Notiffy)&&(r(!1),l(!1),A(!1),d(!0))}),[]),Ye.jsxs("div",{className:"userAccount",children:[Ye.jsxs("div",{className:"optionSection "+(c?"":"userSectionClose"),children:[Ye.jsx("div",{className:"mobileViewClose",onClick:()=>u(!1),children:Ye.jsx(BO,{})}),Ye.jsx("div",{className:"userAccountHeading",children:"Account Settings"}),Ye.jsxs("div",{className:"userAccountTabDiv",children:[Ye.jsx("div",{className:"userAccountTab",onClick:()=>{r(!0),l(!1),d(!1),u(!1),A(!1)},children:"My Profile"}),Ye.jsx("div",{className:"userAccountTab",onClick:()=>{r(!1),l(!0),d(!1),u(!1),A(!1)},children:"Security"}),Ye.jsx("div",{className:"userAccountTab",onClick:()=>{r(!1),l(!1),d(!0),u(!1),A(!1)},children:"Logs"}),Ye.jsx("div",{className:"userAccountTab",onClick:()=>{r(!1),l(!1),d(!1),u(!1),A(!0)},children:"Referrals"})]})]}),i&&Ye.jsxs("div",{className:"userAccountCont "+(c?"userSectionClose":""),children:[Ye.jsx("div",{className:"menuIcon",onClick:()=>u(!0),children:Ye.jsx(RO,{})}),Ye.jsx(tM,{status:null==e?void 0:e.status})]}),s&&Ye.jsxs("div",{className:"userAccountSec "+(c?"userSectionClose":""),children:[Ye.jsx("div",{className:"menuIcon",onClick:()=>u(!0),children:Ye.jsx(RO,{})}),Ye.jsx(aM,{})]}),o&&Ye.jsxs("div",{className:"userAccountSec "+(c?"userSectionClose":""),children:[Ye.jsx("div",{className:"menuIcon",onClick:()=>u(!0),children:Ye.jsx(RO,{})}),Ye.jsx(rM,{})]}),p&&Ye.jsxs("div",{className:"userAccountSec "+(c?"userSectionClose":""),children:[Ye.jsx("div",{className:"menuIcon",onClick:()=>u(!0),children:Ye.jsx(RO,{})}),Ye.jsx(sM,{})]})]})},oM=Ja("messagetemplates/getBranchData",(async()=>await fA.get("/messagetemplates"))),dM=Ja("messagetemplates/postMessageTemplates",(async e=>await fA.post("/messagetemplates",e))),cM=Ja("messagetemplates/putMessageTemplates",(async e=>await fA.put("/messagetemplates",e))),uM=Ya({name:"messagetemplate",initialState:{MessagetemplateData:[]},extraReducers:e=>{e.addCase(oM.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.MessagetemplateData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.MessagetemplateData=[]}))}}),pM=e=>{var t;return null==(t=e.MessageTemplate)?void 0:t.MessagetemplateData},AM=uM.reducer,hM="/home/",fM=({formType:e})=>{const t=Qt(),n=um(),i=Mt(),r=a.useRef(null),s=null==i?void 0:i.state,l=null==s?void 0:s.editstate,o=V.Group,[d,c]=a.useState(null),[u,p]=a.useState(null),A=["Mail","SMS","Notification","WhatsApp"],h={Mail:"M",SMS:"S",Notification:"N",WhatsApp:"W"},[f,m]=a.useState([]),v=A.length===f.length,[g,y]=a.useState(f.length>0&&f.length<A.length),x=f.map((e=>h[e])),b=[{name:"Home",link:`${hM}landing-page/home`},{name:"MessageTemplates",link:`${hM}setting/message-template/`},{name:l?"Edit":"New",link:null}];a.useEffect((()=>{var e;if(n(Gh({items:b})),l)if(null==(e=r.current)||e.setFieldsValue({TemplateType:l.TemplateType}),(null==l?void 0:l.TemplateDetails.length)!==(null==A?void 0:A.length)){y(!1);const e=null==l?void 0:l.TemplateDetails.map((e=>{switch(null==e?void 0:e.TemplateType){case"M":return"Mail";case"S":return"SMS";case"N":return"Notification";case"W":return"WhatsApp";default:return""}}));m(e)}else{const e=null==l?void 0:l.TemplateDetails.map((e=>{switch(null==e?void 0:e.TemplateType){case"M":return"Mail";case"S":return"SMS";case"N":return"Notification";case"W":return"WhatsApp";default:return""}}));m(e)}}),[]);const w=a.useCallback((()=>{p(null),c(null)}),[]);return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:d,messageData:u,onComplete:w}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Message Templates"})}),Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{ref:r,className:"formDivAnt",onFinish:async i=>{var a,r,s;let o=i;o.TemplateDetails=null==x?void 0:x.map((e=>({TemplateType:e}))),o.CreatedBy=iA("UserId");let d={};if("add"===e)try{d=await n(dM(o)).unwrap()}catch(u){"Request failed with status code 422"==u.message&&(d={data:{statusCode:0,response:"Please Give Required Fields",data:[]}})}else if("edit"===e){o.UniqueId=null==l?void 0:l.UniqueId,o.UpdatedBy=iA("UserId");try{d=await n(cM(o)).unwrap()}catch(u){"Request failed with status code 422"==u.message&&(d={data:{statusCode:0,response:"Please Give Required Fields",data:[]}})}}1==(null==(a=null==d?void 0:d.data)?void 0:a.statusCode)?t(`${hM}setting/message-template/`,{state:{Notiffy:{messageType:"success",messageData:null==(r=null==d?void 0:d.data)?void 0:r.response}}}):(c("error"),p(null==(s=null==d?void 0:d.data)?void 0:s.response))},initialValues:l,children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"MessageHeader",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Message Header"},{validator:async(e,t)=>(await lA(t),t&&t.length>50?Promise.reject("Message Header should not exceed 50 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"MessageHeader",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Message Header"}),fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"Subject",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Subject"},{validator:async(e,t)=>(await lA(t),t&&t.length>150?Promise.reject("Subject should not exceed 150 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"Subject",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Subject"}),fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"MessageBody",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Message Body"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(My,{field:"MessageBody",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Message Body"}),fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"Peid",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Peid"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Peid",autoComplete:"off",label:"Peid",fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"Tpid",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Tpid"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Tpid",autoComplete:"off",label:"Tpid",fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsxs("div",{children:[Ye.jsx(V,{indeterminate:g,onChange:e=>{m(e.target.checked?A:[])},checked:v,children:"All"}),Ye.jsx(o,{options:A,value:f,onChange:e=>{m(e)}})]})]})}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{})})})]})})]})})})},mM="/home/",vM=Ja("branch/getCmpanyBranch",(async e=>{if(null!=e&&null!=e)return await fA.get(`/branch?CompId=${e}`)})),gM=Ja("getPricingMode/getPricingMode",(async()=>await fA.get("/configMaster?TypeName=Payment Mode&ActiveStatus=A"))),yM=Ja("paymentUpiDetails/getPaymentUPIDetails",(async()=>await fA.get("/paymentUpiDetails?"))),xM=Ja("paymentUpiDetails/getAdminPaymentUPIDetails",(async e=>{if(null!=e&&null!=e)return await fA.get(`/paymentUpiDetails?UserId=${e}&type=O`)})),bM=Ja("paymentUpiDetails/postPaymentUpiDetails",(async e=>await fA.post("/paymentUpiDetails",e))),wM=Ja("paymentUpiDetails/putPaymentUpiDetails",(async e=>await fA.put("/paymentUpiDetails",e))),jM=Ja("paymentUpiDetails/deletePaymentUPIDetails",(async e=>await fA.delete("/paymentUpiDetails",{params:e}))),CM=Ya({name:"messagetemplate",initialState:{CmpanyBranchData:[],PaymentUPIData:[],AdminPaymentUPIData:[]},extraReducers:e=>{e.addCase(vM.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.CmpanyBranchData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.CmpanyBranchData=[]})),e.addCase(yM.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.PaymentUPIData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.PaymentUPIData=[]})),e.addCase(xM.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.AdminPaymentUPIData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.AdminPaymentUPIData=[]}))}}),SM=e=>{var t;return null==(t=e.paymentUPIdetails)?void 0:t.CmpanyBranchData},NM=e=>{var t;return null==(t=e.paymentUPIdetails)?void 0:t.PaymentUPIData},IM=e=>{var t;return null==(t=e.paymentUPIdetails)?void 0:t.AdminPaymentUPIData},FM=CM.reducer,BM="/home/",PM=({formType:e})=>{const t=Qt(),n=um(),i=Mt(),r=a.useRef(null),s=null==i?void 0:i.state,l=null==s?void 0:s.editstate,o=Tf(wb),d=Tf(bb),c=Tf(SM),[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState(null),[v,g]=a.useState(null),[y,x]=a.useState(null),[b,w]=a.useState([]),[j,C]=a.useState([]),[S,N]=a.useState("SA"),[F,B]=a.useState([]),[P,T]=a.useState(null),[E,D]=a.useState(null),L=iA("UserType");a.useEffect((()=>{var e;1===(null==d?void 0:d.length)&&M(null==(e=d[0])?void 0:e.CompId)}),[d]),a.useEffect((()=>{var e;1===(null==j?void 0:j.length)&&R(null==(e=j[0])?void 0:e.BrId)}),[c,j]);const U=[{name:"Home",link:`${BM}landing-page/home`},{name:"PaymentUPIDetails",link:`${BM}setting/PaymentUPIDetails/`},{name:l?"Edit":"New",link:l?`${BM}setting/PaymentUPIDetails/update`:`${BM}setting/PaymentUPIDetails/new`}];a.useEffect((()=>{var e;if(n(Gh({items:U})),n(hb()).unwrap(),l&&(m(null==l?void 0:l.UserId),g(null==l?void 0:l.CompId),x(null==l?void 0:l.BrId),T(null==l?void 0:l.mode),n(cb(null==l?void 0:l.UserId)).unwrap(),n(vM(null==l?void 0:l.CompId)).unwrap()),"Admin"===L){const t=iA("UserId")?parseInt(iA("UserId")):null;null==(e=r.current)||e.setFieldsValue({UserId:t}),t&&(D(t),m(t),n(cb(t)).unwrap())}else N("SA");_()}),[]);const _=async()=>{var e,t,i,a,s,l,o,d,c,u,p,A,h;let f=await n(gM()).unwrap();1===(null==(e=null==f?void 0:f.data)?void 0:e.statusCode)&&(1===(null==(i=null==(t=null==f?void 0:f.data)?void 0:t.data)?void 0:i.length)&&(T(1===(null==(s=null==(a=null==f?void 0:f.data)?void 0:a.data)?void 0:s.length)?null==(o=null==(l=null==f?void 0:f.data)?void 0:l.data[0])?void 0:o.ConfigId:null),null==(A=r.current)||A.setFieldsValue({mode:1===(null==(c=null==(d=null==f?void 0:f.data)?void 0:d.data)?void 0:c.length)?null==(p=null==(u=null==f?void 0:f.data)?void 0:u.data[0])?void 0:p.ConfigId:null})),B(null==(h=null==f?void 0:f.data)?void 0:h.data))},O=a.useCallback((()=>{h(null),p(null)}),[]),M=async e=>{var t;null==(t=r.current)||t.setFieldsValue({CompId:e}),await n(vM(e)).unwrap(),x(null),await g(e)},R=async e=>{var t;null==(t=r.current)||t.setFieldsValue({BrId:e}),await x(e)};return a.useEffect((()=>{if(f){const e=d.filter((e=>e.AdminId===f));w(e)}else w([])}),[f,d]),a.useEffect((()=>{if(v){const e=c.filter((e=>e.CompId===v));C(e)}else C([])}),[v,c]),a.useEffect((()=>{}),[v]),Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:u,messageData:A,onComplete:O}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Payment UPI Details"})}),Ye.jsx("div",{className:"formDiv",children:Ye.jsx(I,{ref:r,className:"formDivAnt",onFinish:async i=>{var a,r,s;let o=i;o.UserId="Admin"==L?iA("UserId"):i.UserId,o.CreatedBy=iA("UserId");let d={};if("add"===e){o.type="SA"===S&&"Admin"!=L?"I":"O";try{d=await n(bM(o)).unwrap()}catch(c){"Request failed with status code 422"==c.message&&(d={data:{statusCode:0,response:"Please Give Required Fields",data:[]}})}}else if("edit"===e){l&&(o.AdminId=null==l?void 0:l.UserId,o.CompId=null==l?void 0:l.CompId,o.BranchId=null==l?void 0:l.BrId,o.type=null==l?void 0:l.type),o.PaymentUPIDetailsId=null==l?void 0:l.PaymentUPIDetailsId,o.UpdatedBy=iA("UserId");try{d=await n(wM(o)).unwrap()}catch(c){"Request failed with status code 422"==c.message&&(d={data:{statusCode:0,response:"Please Give Required Fields",data:[]}})}}1==(null==(a=null==d?void 0:d.data)?void 0:a.statusCode)?t(`${BM}setting/PaymentUPIDetails/`,{state:{Notiffy:{messageType:"success",messageData:null==(r=null==d?void 0:d.data)?void 0:r.response}}}):(p("error"),h(null==(s=null==d?void 0:d.data)?void 0:s.response))},initialValues:l,children:Ye.jsxs("div",{className:"formDivS",children:[Ye.jsxs("div",{className:"inputForm",children:["A"===S||"O"===(null==l?void 0:l.type)?Ye.jsx(I.Item,{name:"UserId",rules:[{required:!0,message:"Select Admin Name "}],children:Ye.jsx(_y,{options:null==o?void 0:o.map((e=>({value:e.UserId,label:""!=e.UserName&&null!=e.UserName&&null!=e.UserName?null==e?void 0:e.UserName:e.MobileNo}))),placeholder:"UserId",label:"Admin Name",className:"field-DropDown",isOnchanges:"edit"===e||"Admin"===L&&"A"===S||!!E&&parseInt(E),onChangeFunction:async e=>{var t;null==(t=r.current)||t.setFieldsValue({UserId:e}),await n(cb(e)).unwrap(),D(e),g(null),x(null),await m(e)},valueData:"edit"===e||"Admin"===L&&"A"===S?f:E?parseInt(E):null,disabled:"edit"===e||"Admin"===L&&"A"===S})}):null,"A"===S||"O"===(null==l?void 0:l.type)?Ye.jsx(I.Item,{name:"CompId",rules:[{required:!0,message:"Select Company Name "}],children:Ye.jsx(_y,{options:null==b?void 0:b.map((e=>({value:e.CompId,label:e.CompName}))),placeholder:"CompId",label:"Company Name",className:"field-DropDown",isOnchanges:!("edit"!=e&&!v),onChangeFunction:M,valueData:v,disabled:"edit"==e})}):null,"A"===S||"O"===(null==l?void 0:l.type)?Ye.jsx(I.Item,{name:"BrId",rules:[{required:!0,message:"Select Branch Name "}],children:Ye.jsx(_y,{options:null==j?void 0:j.map((e=>({value:e.BrId,label:e.BrName}))),placeholder:"BranchId",label:"Branch Name",className:"field-DropDown",isOnchanges:!("edit"!=e&&!y),onChangeFunction:R,valueData:y,disabled:"edit"==e})}):null,Ye.jsx(I.Item,{name:"Name",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Name"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Name",autoComplete:"off",label:"Account Name",fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"MobileNo",rules:[{pattern:/^[0-9]{10}$/,message:"Enter a Valid MobileNo",required:!0}],children:Ye.jsx(Oy,{field:"MobileNo",label:"Mobile Number",fieldState:!0,fieldApi:!0,maxLength:"10",autoComplete:"off",isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"UPIId",rules:[{pattern:/[a-zA-Z0-9_]{3,}@[a-zA-Z]{3,}/,message:"Enter a Valid UpiId",required:!0}],children:Ye.jsx(Oy,{field:"UPIId",label:"UPI Id",fieldState:!0,fieldApi:!0,maxLength:"30",autoComplete:"off",isOnChange:"edit"==e,disabled:"edit"==e})}),Ye.jsx(I.Item,{name:"MerchantCode",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Merchant Code"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"MerchantCode",label:"Merchant Code",fieldState:!0,fieldApi:!0,maxLength:"50",autoComplete:"off",isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"MerchantId",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Merchant Id"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"MerchantId",label:"Merchant Id",fieldState:!0,fieldApi:!0,maxLength:"10",autoComplete:"off",isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"mode",rules:[{required:!0,message:"Select Payment Mode "}],children:Ye.jsx(_y,{options:null==F?void 0:F.map((e=>({value:e.ConfigId,label:e.ConfigName}))),field:"mode",placeholder:"Mode",label:"Payment Mode",className:"field-DropDown",isOnchanges:!("edit"!=e&&!P),onChangeFunction:async e=>{var t;null==(t=r.current)||t.setFieldsValue({mode:e}),T(e)},valueData:P?parseInt(P):null,disabled:"edit"==e})}),Ye.jsx(I.Item,{name:"orgid",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Org Id"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"orgid",label:"Org Id",fieldState:!0,fieldApi:!0,maxLength:"15",autoComplete:"off",isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"sign",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Sign"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"sign",label:"Sign",fieldState:!0,fieldApi:!0,maxLength:"100",autoComplete:"off",isOnChange:"edit"==e})}),Ye.jsx(I.Item,{name:"url",rules:[{validator:(e,t)=>!t||/^(https?:\/\/)?([\w.-]+)\.([a-z]{2,})(\/\S*)?$/.test(t)?Promise.resolve():Promise.reject("Please enter a valid URL")}],children:Ye.jsx(Oy,{field:"url",label:"Url",fieldState:!0,fieldApi:!0,maxLength:"100",autoComplete:"off",isOnChange:"edit"==e})})]}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{})})})]})})})]})})})},kM="/home/",TM=Ja("getUserMappDetails/getUserMappDetails",(async e=>{if(null!=e&&null!=e)return await fA.get(`/userAppMap?UniqueId=${e}`)}));Ya({name:"getUserMappDetails",initialState:{UserMappDetails:[]},extraReducers:e=>{e.addCase(TM.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.priceData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.UserMappDetails=[]}))}});const EM="/assets/giftimg-c37dc325.png",DM="/home/",LM="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAbCAYAAACJISRoAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANhSURBVHgB7ZZdaBxVFMd/987szuyyIZY0yZoQm0YLQUuglIrSqlgR0SqK0IogiAFpnqQqRFCQ+CL0sS+KFEF8qy/aBwMFo09RIsVQqKamUGyaplHTpNF87Mfcez0zWTbZZqtbxNIHD3Pn8875nfs/594Z5cT4j01zC+z2hLikOW5GY7/RjrFTJe2XP2c48/tPBH5A75YeunOdyQP17yGOZVNk6LtjfDU7tn7bwoHuh3m972W2hndwI5S6cXVZ4idOXlSyf3/8OJ9dOLXJTSzcnZmtHO49xIGeR0krv1GI5eTpVU58H9HSpHjs/t8YOjNYN4Mx5J7LKzwyucqObJ59B18jt2cvSqm/h0wvRPR/tMKqURSNkRZRbh4l1XkC5RVqALsnF3nr5Cyh75FO+3ipFMHAEZqef1FiWgNtis05y4cjBSKTwsq5Fd3LTlGa20vh0nMbAODZiHfuPku2vYD2JGKtxKGj+OlxbHE9mE2QH2cixs57IpjFWIcRkGwJLDKZGqEOhVP0tM+Tf/UKfijOKhLplSXM9KV6EEchMhwbLsgIFFECQSBKrgWiVsl2DFd7d7HIQO58cu41RfitBq11RQ0pljCsP5IvThe5MJdOtDaSKiPHSI6RUMK2r/Eyv1Zz8UZugmZdSq7Liz5uLqj68XftIdXRVR8y+nO8VwIQ98aJRC6RCm+JID9S7dfnX+WhYK4ChOXRNrT1KoIoMv0DNdWl18VyzC+vJT5OeJyLeBRWWpAfRqWWKh0tg7lz+GqtKM18luIPMhFjp3Irtf8Jwt6dG2PfOBJFV4tbS3gsE8mExgWXSbd9U9Ha8XQ4w05voRr14qlWvMrCYTMZsq8McP3M1+sIxQsPSp0rk8gU58FYxWDPUZ4ML9KultnvT3MkezaeXck7S5NZSudyMgidjCKUueHnO7neataAXXf5vLSvzAcjkajikvZ4yxj92YuUpGuacjVG6zVRCvohGBWAQd3bR+aZg3VXr7ozfmK2zLufLzA+JRX3wFPc1zy+SQKz7W387e9Rnr+KvXaN9Lbtshp40CiEyvfiy/E/mJr4hMMdb9aUoc3sQO3+Fu1voRFT//SNj3Njr3yMnjoq3qX8Wp9Fdw+h0+00aqqxHwmXlLZKEq652Q+q+v9v5baD3BL7CxiYfU3MORkJAAAAAElFTkSuQmCC",UM="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAAYCAYAAACx4w6bAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAARSSURBVHgB7VZtbFNVGH7u19qu22i30bHVjX3KMpkymBoFFRZNIFkYwURQiMzEqJFASJguaiJqHFGSmRATIWJMapCA+0FckMkykeAQAmyDmOFYsnYyCoOutFvX74/rufdubS9tbVg20Ybn17nvue8553nf57znpUDA87wJqYUd7NSgGKkFDY0UxQNicw3DTT+OjQUxW/hPEDtpC+KtKx502UKYLbDxjBbbJLr7jDIbQ9NYskiPonxt2PbLuatwewLimOMYlDyUjYqi+aAoCsbrY7g8eEOcW1VbDk1WOjp/H4DT44M2U4XniK3TzqN3IohWkxcewsnk4XHcGsKabApnJ3hc8wEqEvolagonrAGoGQrPahnoOKCdZNfi5fGEhsWyTArUXRzEb1Lu+Wij4cfzeP3DQzGEFRyLPU3r8PbGFRgZtaGyvgU+f0A2v6m+Fvt3bcCm5u/QdqJPtB/8fAs2rK6BurZJ/D9HkwFT18fI73ZjPMDH7DNRl4HlF1z4wyFlUM0AzimVpnM0itKAAac0pyBkm4oV+LSUi16i8Z6k6CWH+mRfB8Yd7oTz3x49h8G/LDFzgcDM748zytXlD4VJiXsGebQMeWB0ywPEIglWLC1DVWkevj/eA6fLC6vdidGxCSLJbOx9bz0cxCbgh44+XOy/Jo57rlyPWYem5WIhgcYOEvqLkzx+svgF2WDpPBYrtTSU0f8SWW8tTIPNF8ShUUkdBSoGb+g5HDD7YHZLJPsJsVJVxC9pxlY/U4Uvmtejujw/bBNik0bulF6nwajFgWGzHeOTkSzepewpYvKthCN8VJaG7YWR2D6tZdFaoQAjd0RLGYdtCxUiSQE1GRR2lXB4WZc4L0kzJkSSD/GyuyRg556j+OpId1wSAhgmEr0zU4UoGJxZ1aMS2H18Yp+kGdv9dSfyVn6A3j8ledEUjRu3x7G/7UyEFBW79bKqovB43+HfsLnZgGBo9sp5MiQl5iLl2eX2hb+rF+WDIndgOvpPProQpw3b0VBXLfPbTKpjsT4H9wtJpZiVqURWupJIi8biigK0vrMOljuT4fnCBVo89VgJygpzZX652gx0fbMVhvYLGLl5Bx5vAIc7evBvISmxd197Hju31Ilj4d4Ij280MTOR5eDwLfIgW2N8TWYrVAoWDxfrxCeCJr4hIl+KwpwjefEgp2BZuWJzNGooFRzJgh9nL5nwSMNnkGqlHHsPnsKxU/0x9sqSPLDM3HZzM1pdkN2bLy0X5SkhmhSFXEI8EYTW6sv3XxQzfy+g4/yf9g9LxG2phkbGcORnqR1au6oai8sXxDgKLpcGzDjdaxSfg2los1R4de3j4sHbf+3H5auRx1qtUmDjmhoU6OaFbbfJ27zb6BXXqydN4AvZ0ivWZglhiPSOKlKotulp2Ml/B25JLUgleYgbcmicd/A4aZeK2CvzSaulDDNtjEssBdA4t0K/j3hA7P+G6XI/jNSC/W/8IoeYeaooAwAAAABJRU5ErkJggg==",_M=({printingdata:e,CompanyName:t,zipcode:n,address:i,City:a})=>Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{className:"Pdf-body",id:"Pdfbody",children:[Ye.jsxs("div",{className:"Pdf-Div",children:[Ye.jsxs("div",{className:"Pdf-head-div",children:[Ye.jsx("img",{src:cE,className:"headlogo-img"}),Ye.jsxs("div",{children:[Ye.jsx("p",{className:"Pdf-head",children:" Invoice "}),Ye.jsx("p",{style:{fontFamily:"Poppins",color:"#52C41A"},children:" Pozomind Technologies "})]}),Ye.jsx("span",{className:"square"})]}),Ye.jsxs("div",{className:"Pdf-amt-details",children:[Ye.jsxs("p",{children:[" Invoice Number : ",Ye.jsxs("span",{className:"Pdf-amt-digit",children:[" ",e.length>0?e[0].UniqueId:null," "]})," "]}),Ye.jsxs("p",{children:[" Amount: ",Ye.jsxs("span",{className:"Pdf-amt-digit",children:["₹ ",e.length>0?e[0].NetPrice:null," "]})," "]})]}),Ye.jsxs("div",{className:"Pdf-amt-details",children:[Ye.jsxs("p",{children:[" Payment Method : ",Ye.jsxs("span",{className:"Pdf-amt-digit",children:[" ",e.length>0?e[0].PaymentModeName:null," "]})]}),Ye.jsxs("p",{children:[" Date : ",Ye.jsxs("span",{className:"Pdf-amt-digit",children:[" ",e.length>0?tA(e[0].PurDate):null," "]})," "]})]})]}),Ye.jsx("div",{className:"Pdf-Cont-Div",children:Ye.jsxs("div",{className:"Pdf-cont",children:[Ye.jsxs("div",{className:"Pdf-cont-txt",children:[Ye.jsx("p",{className:"Pdf-cont-subhead",children:" Billed From"}),Ye.jsxs("p",{className:"Pdf-cont-text",children:["Pozomind Technologies Private Limited",Ye.jsx("p",{children:"Phone : 7324000011"})]})]}),Ye.jsxs("div",{className:"Pdf-cont-txt",children:[Ye.jsx("p",{className:"Pdf-cont-subhead",children:" Billed To "}),Ye.jsxs("p",{className:"Pdf-cont-text",children:[e.length>0?null!=e[0].UserName?e[0].UserName:e[0].MobileNo:"",",",Ye.jsx("br",{}),Ye.jsx("p",{className:"Pdf-cont-text",children:null!=t?t:null}),null!=i?i:null," ",null!=a?a:null," ",null!=n?n:null,Ye.jsxs("p",{children:["Phone : ",e.length>0?e[0].MobileNo:null]})]})]})]})}),Ye.jsx("hr",{className:"new3"}),Ye.jsx("div",{className:"Pdf-Table-Div",children:Ye.jsxs("table",{children:[Ye.jsx("caption",{children:"Statement Summary"}),Ye.jsx("thead",{children:Ye.jsxs("tr",{children:[Ye.jsx("th",{scope:"col",children:"Description"}),Ye.jsx("th",{scope:"col",children:"Purchase Date"}),Ye.jsx("th",{scope:"col",children:"Period"}),Ye.jsx("th",{scope:"col",children:"Amount"})]})}),Ye.jsx("tbody",{children:Ye.jsxs("tr",{children:[Ye.jsx("td",{"data-label":"Account",children:e.length>0?e[0].AppName:null}),Ye.jsx("td",{"data-label":"Due Date",children:e.length>0?tA(e[0].PurDate):null}),Ye.jsxs("td",{"data-label":"Period",children:[e.length>0?tA(e[0].ValidityStart):null," - ",e.length>0?tA(e[0].ValidityEnd):null]}),Ye.jsxs("td",{"data-label":"Amount",children:["₹",e.length>0?e[0].NetPrice:null]})]})})]})}),Ye.jsx("hr",{className:"new3"}),Ye.jsx("div",{className:"Pdf-Table-Div",children:Ye.jsx("table",{children:Ye.jsxs("tbody",{children:[Ye.jsxs("tr",{children:[Ye.jsx("th",{children:" "}),Ye.jsx("th",{children:" "}),Ye.jsx("th",{"data-label":"Sub Total",children:"Sub Total"}),Ye.jsxs("td",{children:["₹",e.length>0?e[0].Price:null]})]}),Ye.jsxs("tr",{children:[Ye.jsx("td",{children:" "}),Ye.jsx("td",{children:" "}),Ye.jsx("th",{"data-label":"Tax",children:"Tax "}),Ye.jsxs("td",{children:["₹",e.length>0?e[0].TaxAmount:0]})]}),Ye.jsxs("tr",{children:[Ye.jsx("th",{children:" "}),Ye.jsx("th",{children:" "}),Ye.jsx("th",{"data-label":"Total",children:"Total"}),Ye.jsxs("td",{children:["₹",e.length>0?e[0].NetPrice:null]})]})]})})}),Ye.jsx("hr",{className:"new4"})]})}),OM=e=>{const[t,n]=a.useState({body:{backgroundcolor:"#f3f3f3",buttonActivebackgroundColor:"#F97068",buttonbgColor:"#D9D9D9",contColor:"#CCCCCC",textColor:"#333",tmpbtnheight:"10px",activetmpbtnheight:"20px",fontSize:"16px",fontFamily:"Poppins",display:"flex",flexWrap:"wrap",textAlign:"left",flexDirection:"row",columnGap:"2rem",margin:"0px 0px"},footer:{fontSize:"16px",fontFamily:"Poppins",padding:"3rem 1rem"}}),i=e.hasOwnProperty("data")?e.data:[{FieldName:"Header1",FieldValue:"",FieldAddData:""},{FieldName:"Header1Footer1",FieldValue:"",FieldAddData:""},{FieldName:"Header1Footer2",FieldValue:"",FieldAddData:""},{FieldName:"Header1Footer3",FieldValue:"",FieldAddData:""},{FieldName:"Header2",FieldValue:"",FieldAddData:""},{FieldName:"Header2Footer1",FieldValue:"",FieldAddData:""},{FieldName:"Header2Footer2",FieldValue:"",FieldAddData:""},{FieldName:"Header2Footer3",FieldValue:"",FieldAddData:""},{FieldName:"Header3",FieldValue:"",FieldAddData:""},{FieldName:"Header3Footer1",FieldValue:"",FieldAddData:""},{FieldName:"Header3Footer2",FieldValue:"",FieldAddData:""},{FieldName:"Header3Footer3",FieldValue:"",FieldAddData:""}];Tf(L_);const[r,s]=a.useState(),[l,o]=a.useState(),[d,c]=a.useState(),[u,p]=a.useState();a.useEffect((()=>{var t;null==(t=null==e?void 0:e.data)||t.map((e=>{"FaceBookLinkSub"==e.FieldName&&s(e.FieldValue),"YoutubeLinkSub"===e.FieldName&&o(e.FieldValue),"InstagramLinkSub"==e.FieldName&&c(e.FieldValue),"TwiterLinkSub"==e.FieldName&&p(e.FieldValue)}),[])}),[e.data]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:e.hasOwnProperty("data")?"maindiv":"maindivempdata",children:[Ye.jsxs("div",{style:{width:"20rem",lineHeight:"2rem"},children:[Ye.jsx("img",{src:Bm,alt:"logo",width:90,className:"footer-logo"}),Ye.jsx("p",{className:"footer-content-text",children:"Enabling Business Expansion with Limited Staff, Basic Skills, and Reliable Solutions inspired the inception of Pozo as an extension of this core principle."})]}),Ye.jsxs("div",{style:t.body,children:[(()=>{let e=i.filter((e=>e.FieldName.includes("Header")&&!e.FieldName.includes("Footer")));return Ye.jsx(Ye.Fragment,{children:e.map((e=>{var t;return Ye.jsxs("div",{style:{display:"flex","flex-direction":"column",rowGap:"0.5rem"},children:[Ye.jsx("p",{className:(null==(t=e.FieldValue)?void 0:t.length)>0?"ftrtmplthdr":"ftrtmplthdrWithoutData",children:0==e.FieldValue.length?" ":e.FieldValue}),i.filter((t=>t.FieldName.includes(e.FieldName)&&t.FieldName.includes("Footer"))).map((e=>{var t,n;return Ye.jsx("div",{className:(null==(t=e.FieldValue)?void 0:t.length)>0?"ftrtmpltlist":"ftrtmpltlistwithoutData",children:Ye.jsx(An,{className:(null==(n=e.FieldAddData)?void 0:n.length)>0?"ftrlink":"ftrlinkwithOutData",to:e.FieldAddData,children:e.FieldValue})})}))]})}))})})()," "]}),Ye.jsx("div",{className:"newdivstc2",children:Ye.jsxs("div",{className:e.hasOwnProperty("data")?"oftrlinkdiv3":"oftrlinkdiv2",children:[Ye.jsx("div",{className:"oftrlinks2",style:{display:"flex",alignitems:"flexstart"}}),Ye.jsxs("div",{style:{float:"right",display:"flex",flexDirection:"row",fontSize:"16px",gap:e.hasOwnProperty("data")?"2rem":"1rem",flexWrap:"wrap"},children:[r&&Ye.jsx("a",{href:r,target:"_blank",style:{color:"black"},children:Ye.jsx(re,{})}),l&&Ye.jsx("a",{href:l,target:"_blank",style:{color:"black"},children:Ye.jsx(se,{})}),d&&Ye.jsx("a",{href:d,target:"_blank",style:{color:"black"},children:Ye.jsx(le,{})}),u&&Ye.jsx("a",{href:u,target:"_blank",style:{color:"black"},children:Ye.jsx(oe,{})})]})]})}),Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"1rem",flex:"wrap"},children:[Ye.jsx("p",{className:"footer-bigText",children:"PHONE"}),Ye.jsxs("div",{className:"footer-contact-div",children:[Ye.jsx(ZE,{style:{color:"black",fontSize:"25px"}}),Ye.jsx("p",{className:"footer-contact-text",children:"73 24 00 00 11"})]}),Ye.jsxs("div",{className:"footer-contact-div",children:[Ye.jsx("div",{children:Ye.jsx(pg,{style:{color:"#228e32",fontSize:"25px"}})}),Ye.jsx("p",{className:"footer-contact-text",children:"73 24 00 00 12"})]})]})]}),Ye.jsx("div",{className:"footer-contact-container",children:Ye.jsx("p",{style:{textAlign:"center",padding:"5px"},className:"footer-bigText",children:"© 2025 POZO All Rights Reserved."})})]})},MM=Object.freeze(Object.defineProperty({__proto__:null,default:OM},Symbol.toStringTag,{value:"Module"})),RM="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAWCAYAAAAxSueLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIcSURBVHgB7ZTPTxNBFMe/u8t2aSulauiFcCIpRhJ+JHrjYo+SaPQgkmgEekGj/4JG/wF/HPQkctD44wZ/ARR/JGisP8KlvXHalsC2lLK7bHeHfdN020KblKQcSPgkM/Pm7c68ee/NG+CUk4ZAHbNtVvj4CfpKwtWIaBfMMOCPxRC6ewcCQcr82zkG5qBrchJCIIB2Qca25+chnj2H0O0JbgvqvSlG3h0H9s4OU6emGdnpoE7wdwJiNXyF9x9ga1rdKUMz09iee8flQOwKfIODMP/8dUO/wnXd8RkYv5Mwk0mEHz301onBICCV9+5o5D4tKKkq5P7+akiKRehLS5UZN6YnlmF8/wFmWeiauAUrleL/1BqrpaEx/qGvD+efPfXmdjbLR3kgCvPnr/Kh/v2HHI1ib20NrdD06lnpNLL3H/C2l0p7ev+ly3BcLwufv8DJ56EMD6NVmnvW24szN29wWQp3V/UXBngeigsLUIaGICg+tErzopIkSD09vNkbG55akGX4RkfATBP+sTEchaaeldbXsfn4iTePvHntyZ0jozC+fnMvyUUYq6s4EpnZ2fra0DRWymTqGkGjo+ueTDhuHTWSa1Hj8WqdwSqB7e56r4cYDjc8lBSJHJIFN38S1dIBuQKlgELP96UueP0aci9f1eWmHdhbW9Cev3AfgVj5MNSRq8XFRejLCdi5HNqFoCgIjl912zgq7/ApJ4t9GXxftI2kpoAAAAAASUVORK5CYII=",QM="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAATCAYAAACKsM07AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGjSURBVHgBtZXbUcJQEIb/PTn6HCswHUgBjmIHWgGvPjjEdKAVQKAAoQOogIvO+ChWYDowzwK7bg6TCM6IGOI3k8nt5N+z1xBKcP3cCuwcNQICGO+EWOogBETUjk+b0fpa2iZ0O2r5C6tCgpoTEqkhEwX8n74xCz5qX0Rpfm9zoY9DBN4SNaNCLLobSJ1VyOTbEMEuLDzU9TQoDITTTotJbi2vhESFCOWhlYcFVlR8/YFAxroqQVkE6YbBcBq/Ca2ssvCViqeGnZt7oZrpfImBFfBEU6Mxx8yJi3kQ4nvsj394YEZWXUqywDEk1WoJINzvnkc9VIBGJ9QcINlIqjFhcxo3UAFZ6K2W5pjtxnNfPfJREW7zzcf4XatnpjXaB3kN4uUEVaDRyPeeFBZVvHMe3aECNAcN16ia2Ff8E84DyUoUOEZJwiedBtm8ypHlsHsWtdcNJPuMB+3QS6KvESGGkvzahchqJe01HrbgDGTj1ZtLhJKw4VhnWq84WIb5u6IDMiM301ZK+HsPdE9X8f6ONpq/EfrsvyCeedlt8v+Ca1bufwLUtafqasJy1QAAAABJRU5ErkJggg==",HM="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAATCAYAAACKsM07AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFGSURBVHgB1VXLUcMwEH2yXYA7wCVABZgbBzOoASCuIEMFGSpgqEB8GhBDhmtSAiWYDpw7iniLnRmTQ2I79iHvIK/W+7HerlfAyFCyZPpNB8DMw5+28Cna2Hiop7m9sepKv06oMICno1qiP2IGjUVQWCdcEw93EVF5R0URYn1mbV5iAGhtEodgoRDOAgWfyJcPFVzAWKQI7xTTqNalpMrUcslarNATCqp0jMHinsheEiT1u0nDCIcgbMibEzx/2Nt8l5Pwig5wCB/FLWrrILyiAzL9shImAoyM40/wrwYyMvhfTLeNHNz9p82/0DcB+/672v5QjmImiZtGPGaMfig3J/gLMLe55cNiOJQBZ9GS7XR92bHPdyHVhiyoc4qFyrRJOZQWqMZw0bAr0B8pqgmR1/eB0SzHtBp8e7HXhqxIQzzIfYCx8Qu3XmJsV9yj0QAAAABJRU5ErkJggg==",VM="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAWCAYAAADafVyIAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKaSURBVHgBtVVNchJREO5+8/JjVnMD5waCu2jFgr0J4w2gCqzKKnoC5QSyFpF4AZlY7hlLQ5ZyAycnyLiKFea9tntgkDATQlVMV8H76ff65+uv3wDcs+AqZX/ou3+2wdVJ4iFplxR4yqFHfMs1BtsvnwZjuEXUKqXdootNol+onTfNZ0EABGP+1cGCjzZxYQ1Rq6LnIWKD8QSwIXutvSAEwgYB3Bp5JrrQ+Mg/skRvLWBb78DxYTmI/2kNR8VxcVa9U9+zloOABHSix43q4rmCDLrfn1e6P/xXE4JvjPcYkyRqlK9fIsASZ1AiAu9KQShZKeUMBM4Po4Og0MH7oV/6eFYbKscZAiVjKV5z96RKqHMRIQJZi6/VAywf7gaR7FnE9sx7BEUQoQaXI6rwNGrtfQ3nxgjSQko97KbxrXUia5KT1t6XcNFI60nQ6Y58QINRYQaSJgF9MoQvrik1XrBxj9P/Caj6StFAsIYC4QDDyUa++PMaWFKdjat8ihx5hQdvtgyKCplma8HNICt0ILgnGkrZWiI3ZKqWnDnfGf7fMvZO9+u9s1pfxrluBueNDkSYObHgnWK+RUOl8KF2QBosjdpYG/RHB+8ErrTheEzXchehOLPlDeZ2XbiOqI5YG9O02VxmjxBBjJR4nu6xzmUDMRuXDnchc4IUq0vVFjhzjSaNo5QayGWSpwEZfxQGpuFk3e3BrC40/ZtCSxkUCMmWOedZJ+dAGNUb1aZ4bjt+8/Hn83yW+yk8sEoIUxt61Rm8NGN2lsf2hoIWyUoHM0jcgv21RcE9i4a7CjNLHsaMRbhAgP/hIFI7WF5+ceXhzBh1J4ikH5aNi9iFpivMgGkcwhoiQfI34BiJQnlSFJrYguPxy+fyRymSM38Bo+4zY336mNkAAAAASUVORK5CYII=",zM="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAWCAYAAADafVyIAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAG6SURBVHgB7VW9TgJBEJ7ZO38ahMrQQWUsESo73wDeQP4aK3kD4QnU1giHj+ATQG0EpLE+CksTiCaCuDvOHhyIOeBMjs4vucve7PzuzjeH4BOF28cMCGHxsk9ElVohVfdjh+sUslYnbhCwYzpZtMS6HA4r9bNje5W9WLVZsDrnBlHHdf6lyHkcEGWNnZ1GvtrKwl8r8Mp6OJbQ7g2cAIfRkL2/tx0HH9WIdVm7eH0fz7IffHxGFozm1ZRgWQXZm4eEaZoWu0iAB7Tz55c37Q0OoiHY3Vp6uk05GuXcapCPI8KqF0hUggBBiOVa7qiCxWqrTELEYANApbrOEekeJ2FcQpAgdc1cuTL1WihlS8Q7Lz0hRJjvJcKZ9JVSg1l206pJqd5PPWePdUGqp+l6jkKtPW1yuK/mkxm9yNXadb6jU0eqIF4tJnu69xHRWpR1WEaOjJmec5m+rBXCsBpx8AkBG4Z3AEQbNhogQPwHWAvz13dTv5g8XVfAM8rmS29yc/elIVyi2a6uNHAw0ZN9Zp8j08Sd2euXnv+CoAEBAkExWVOlyTRVSjMzDcGiJ6XUU4DnTPDONWL8f0l/A9VzzP+6tUMBAAAAAElFTkSuQmCC",qM="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAXCAYAAADk3wSdAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJ8SURBVHgBpVVNchJBFH6v+QnlanICxxNkcoKQsiSgC+AEhhMEqgy4UxZWhbiQnIBwggwLhZAFkxPIDRxvMFkYRZh+vtcO1piQSoZ8VT39O1+//0a4A2f1vFXtesG4VZoQQICaBmEKvNLRyId7gKsWh2+LdorwGyDVgLB3Y9vn3zzQ+vKuS9Qq0lQIee4CrdGSntt0rhfbRFDVAAMgckBhTy5mTb6eNwuV+P/pVaSosBwCXSrEMgC5hc6oFm1NubkyGB8W94WYh86CyL+XlG2YJ4QGD3ohQm1pEqVhf0Gh++rjxTQzz7nzjdlrPmvL/BapOCWbydiKUlZaqR0CstgES+N4xiQaz9gDTgbTBzzd3O26wUWrJKbx5cK4bdORUybR3NdANoqaCh1R999hNLYVLYK4RvzxFeBk3Hrp/ZhdNyRiVIrUO0LqFzrDZ9x2OXTaIVIDNE3ZMe0lgeyJo65nP7dlPqlXLCI6CRVVs7MNXiP7STZXN/ez9yiVRvv5hy/fI6l7kBjoy1eD3ix2RpX/HCWqMnEbEgI1OArhk5L4hRXeZ2IPksM7bxYtRNxZSfpQDN8U80qZJDHgmN7ixLDFhGuRShZx58TXOBJMzkskKUgIk0kRIUt2whHQv3EkuaSSwmQIacCeNiE0bpa2JDGWZxKTaqIrdggnGz4V+5lFAjt+JrH6WsFpNHSkSpkSCWA9ilRCTjKLTF29Dc7O9lre3zseSvlzpRDlcjkjJWqscAKU945G79eOU4EUD4gKDEdFAPj3IUlDrOo8BhrllaArGStTaRZ0+vnwhQNrwmQXwgEXdvMqoJSw39lfXRZ9h4W3YT1MNUG/eDzsyuQPVO0ZDiZgp4YAAAAASUVORK5CYII=",WM="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAdCAYAAACqhkzFAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHnSURBVHgBpZa/TwIxFMff63GADqaOJg43GqPxHEx0soxO6ICrDO7coAm64Mjof8C/4mjiwuLOYGKiJhAXIMLVtuGO9n7BwXe59l3fJ6/vte8OIEM/94f1qG3z4ewyy4dkvUTA1vfdAQvm5eapwwE61GM0N/DL23fFw7EQW+FiRGmjo/LIyw0ktiWdgQOyT2/PkWMfeVVFjthIizIdCFANxkXbVlEiRzYz0fHGuJ7ilyw+d5aoy9rjiUqBtqSxNFAVAkHfEq1M/U5kmSOKxJYCCrMbtVz4E3dLZFQXagXLBFqz5OuSsFv/L2pm0SgTgbKySfZbfwKLoowB9YO8SpQxIHKSebWu+SRmI4TcpAIJ4UeQoV3O4do3oZzzenDQDWDfc2la/nTVEqIMrqMBnFpTBkvojE9hF3zDJopTjQGRQHUR7BcRalYZPkzXntj2lRwUjNVcdBNcDHuPwyqj9mvPiFB1FAR3HZgBtG2brQszgGKn5+vCDCAkHJe8sBAYtPt1YSEwaPeaBjdY6uaFzYFauxfJ7BGLHL8Ri+aFhcCw3UsYIZUdKMuZkxemgCp/st3PYNvtrnRkq8AUEAsFFoGpeyk+8t3SsHScB6aABPmRDgtUHBYrg+eXAeRVv+k6+pw+MZr1q7FI/5q12czMpUQzAAAAAElFTkSuQmCC",YM=e=>{const[t,n]=a.useState({body:{buttonActivebackgroundColor:"#F97068",buttonbgColor:"#D9D9D9",contColor:"#CCCCCC",textColor:"#333",tmpbtnheight:"10px",activetmpbtnheight:"20px",fontSize:"18px",fontFamily:"Poppins",display:"flex",flexWrap:"wrap",textAlign:"left",flexDirection:"row",columnGap:e.hasOwnProperty("data")?"4rem":"1rem",margin:"17px 0",fontWeight:"600"},footer:{fontSize:"16px",fontFamily:"Poppins",padding:"3rem 1rem"}}),i=Tf(L_),r=e.hasOwnProperty("data")?e.data:[{FieldName:"Header1",FieldValue:"",FieldAddData:""},{FieldName:"Header1Footer1",FieldValue:"",FieldAddData:""},{FieldName:"Header1Footer2",FieldValue:"",FieldAddData:""},{FieldName:"Header1Footer3",FieldValue:"",FieldAddData:""},{FieldName:"Header2",FieldValue:"",FieldAddData:""},{FieldName:"Header2Footer1",FieldValue:"",FieldAddData:""},{FieldName:"Header2Footer2",FieldValue:"",FieldAddData:""},{FieldName:"Header2Footer3",FieldValue:"",FieldAddData:""},{FieldName:"Header3",FieldValue:"",FieldAddData:""},{FieldName:"Header3Footer1",FieldValue:"",FieldAddData:""},{FieldName:"Header3Footer2",FieldValue:"",FieldAddData:""},{FieldName:"Header3Footer3",FieldValue:"",FieldAddData:""}],[s,l]=a.useState(""),[o,d]=a.useState(""),[c,u]=a.useState(""),[p,A]=a.useState("");return Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:e.hasOwnProperty("data")?"maindiv":"maindivempdata",children:[Ye.jsxs("div",{style:{width:"20rem",lineHeight:"2rem"},children:[Ye.jsx("img",{src:Bm,alt:"logo",width:90,className:"footer-logo"}),Ye.jsx("p",{className:"footer-content-text",children:"Enabling Business Expansion with Limited Staff, Basic Skills, and Reliable Solutions inspired the inception of Pozo as an extension of this core principle."})]}),Ye.jsx("div",{style:t.body,children:(()=>{let t=r.filter((e=>e.FieldName.includes("Header")&&!e.FieldName.includes("Footer")));return a.useEffect((()=>{var t;null==(t=null==e?void 0:e.data)||t.map((e=>{"FacebookLink"==e.FieldName&&l(e.FieldValue),"YoutubeLink"===e.FieldName&&d(e.FieldValue),"InstagramLink"==e.FieldName&&A(e.FieldValue),"TwiterLink"==e.FieldName&&u(e.FieldValue)}))}),[e.data]),Ye.jsxs(Ye.Fragment,{children:[t.map((e=>{var t,n;return Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{style:{display:"flex","flex-direction":"column",rowGap:"0.5rem"},children:[(""!==s||""!==o||""!==p||""!==c)&&Ye.jsx("p",{style:{fontFamily:`${i.head}`},className:(null==(t=e.FieldValue)?void 0:t.length)>0?"ftrtmplthdr":"ftrtmplthdrWithoutData",children:0==(null==(n=null==e?void 0:e.FieldValue)?void 0:n.length)?" ":null==e?void 0:e.FieldValue}),"HeaderSocial1"==e.FieldName&&Ye.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"2rem",flexWrap:"wrap"},children:[null!==s&&Ye.jsx("a",{href:s,target:"_blank",style:{color:"black"},children:Ye.jsx(re,{})}),null!==o&&Ye.jsx("a",{href:o,target:"_blank",style:{color:"black"},children:Ye.jsx(se,{})}),null!==p&&Ye.jsx("a",{href:p,target:"_blank",style:{color:"black"},children:Ye.jsx(le,{})}),null!==c&&Ye.jsx("a",{href:c,target:"_blank",style:{color:"black"},children:Ye.jsx(oe,{})})]}),r.filter((t=>t.FieldName.includes(e.FieldName)&&t.FieldName.includes("Footer"))).map((e=>{var t,n;return Ye.jsx("div",{className:(null==(t=e.FieldValue)?void 0:t.length)>0?"ftrtmpltlist":"ftrtmpltlistwithoutData",children:Ye.jsx(An,{style:{fontFamily:`${i.para}`},className:(null==(n=e.FieldAddData)?void 0:n.length)>0?"":"ftrlinkwithOutData",to:e.FieldAddData,children:e.FieldValue})})}))]})})})),Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"0.5rem",flexWrap:"wrap"},children:[Ye.jsx("div",{style:{fontFamily:`${i.para}`},className:e.hasOwnProperty("data")?null:"ftrtmplthdrWithoutData"}),!e.hasOwnProperty("data")&&Ye.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"1rem",flexWrap:"wrap",fontSize:"16px"},children:[Ye.jsx(re,{}),Ye.jsx(se,{}),Ye.jsx(le,{}),Ye.jsx(oe,{})]})]})]})})()}),Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"1rem",flex:"wrap"},children:[Ye.jsx("p",{className:"footer-bigText",children:"PHONE"}),Ye.jsxs("div",{className:"footer-contact-div",children:[Ye.jsx(ZE,{style:{color:"black",fontSize:"25px"}}),Ye.jsx("p",{className:"footer-contact-text",children:"73 24 00 00 11"})]}),Ye.jsxs("div",{className:"footer-contact-div",children:[Ye.jsx("div",{children:Ye.jsx(pg,{style:{color:"#228e32",fontSize:"25px"}})}),Ye.jsx("p",{className:"footer-contact-text",children:"73 24 00 00 12"})]})]})]}),Ye.jsx("div",{className:"footer-contact-container",children:Ye.jsx("p",{style:{textAlign:"center",padding:"5px"},className:"footer-bigText",children:"© 2025 POZO All Rights Reserved."})})]})},KM=Object.freeze(Object.defineProperty({__proto__:null,default:YM},Symbol.toStringTag,{value:"Module"})),GM="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAABZCAYAAADxYTB8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA5wSURBVHgB7Z3361RHF8ZHY3o0iaYnikkglTQCaZAEAgnBAiqIIqj4iw3BP0VQUey9YO+99967sffee3v9zMuznL3u7nfr3XYfXXa/d2+dZ06Zc87M1rp+/foTF6HiUdtFqApERFcJIqKrBBHRVYI6yb64ceOGO3jwoLty5Yp7+PChe/z4sYtQmqhVq5Z7+eWXXePGjV2jRo3830E8Q/STJ0/c9u3b3Zw5c9zFixdd7dqR0Jc6JIQvvPCC++yzz1yLFi1c/fr14/apZYdX9IRt27a58ePHu/v373uSIT5CaQOO4E6S/NZbb7nu3bu7unXrxvaJk+hHjx656dOne5I56MMPP3S//vqrq1OnjotQ2rh06ZJbvXq1u3nzpv+8du1a9/fff8fIj2MQm/xUwv3nhg0buq5du7oXX3zR7xxJdunCSvKECRO8wG7cuNETLcQZYGyyDsSwv/LKK+65555zEUofCOLXX3/tXnrpJW+zb9++Hfd9neDOesc+420n8uAilB7gCc6s82y5S+lSR+q6cpDSy4qkuTxgBdJ63xbRILlKEBFdJYiIrhLUSHTkkFUGEhIdDJBEZJc/ItVdJQg1iC1NwaD+3r177vz58+7OnTt+O1G4Bg0a+AxMhPwjXKKf/rt957YPvpMlO3v2rN9OyI7Eyfvvv+9++OEH9+OPP8ZlXiLkjtCIRmr/O/SfGz16tLt27Vp8eO6phEP2iRMn3OnTp92SJUtcx44d3aeffuoi5Aeh2ej9+/e7wYMH+zRasoib8t8E5IcPH+6PiaJz+UHBiYa4q1evunHjxmVUknT37l1/DBk1jok8/9wQCtEkwW/dupXRcUgykr1161ZXalBFRzl1vlCIXrlyZezvTFXxunXrSqJuTckCRgs4kRRp8P7gwYOyIL3gztiFCxd8Y1iyMmkU1D7OW7169VwxgW8xc+ZMt3fvXq9pZIIYHfz222/uzz//9NU4pYqCE40E0OMpb8mm53MMjfz666+7YuHUqVNuyJAh/j7sfQHKoufPn+82bdrkRwrU2ZUiCq4T6eWQDLLxoOkYxQyinDt3LjYklBTbag6pdOrfGVVIldtXKaDgRFNfTB0ThGUzCQCS33zzTRc2IAjSpkyZ4s1P0oS+IRyJHzVqVElOdghFor/99ts4KUjnJfzyyy9FK1Bcvny5O3ToUOxvddZkL7B79263atUqV2oIxZ396aefsnJUnn/+effzzz8XxeuG4Llz52Z0jOL48+bN83a9lBDK8Orjjz92TZo0ychmsV/Tpk3de++9F/rQ5fLly27kyJFZ+xQ4oGPHjvWxg1IZdoUmKsz4+Pfff2Oet6Jdwby3OkPz5s39sAWE6dBwDxTBQ1LQ3GRyH2Tmpk2b5u18KZAdWlKDhvrnn3/cF1984Rvg8OHD3htXA4pkEhnNmjXzmaywPVaut3DhQh9jT0RsJoTRkTds2OA+//xz9/333xd9IkSoaUp69wcffOC6devmAyFHjx71wxcaFGIbNWzk6tarG7PJYUsC0a5ly5b5lKmdzJAtIBftgOkKzm4MG0WbPffGG2/4nm7VdTGHJQQ+Zs2aFRsHg1w7mgJF2PuePXsWdUxdlCBysoBCsQIMssvkwguBkydPutmzZ1cf0RaW3GIRzbiXGHahQEdaunRpUTNxoRMtTzvVKyxgQ8+cOeMdMGCDHzXdB/uwnITiA6k6qDowTihDt2KgaqtAaXiGUMSxKXLI5Dj8C5IXEE1WDUcSB66mDkLWa9iwYX6hgbBRtURDCqs74PVnAtKSSLEqXyANKaWCNZ3RAjnsFStWhO6bVC3RVKGyKkAm4VWIpSyZTBVpU0imPIptSCsSDmpS45gKYuKJgkaFQsGIzjZbFQawy9hLBWrSbWiex0bKqEmHaH2HzU9HMrke12dIFxYKQjQPwniURuC9lMA9seoSJGXqAEIkUozq5njVnpN80QoR6YKA0aRJk+LG7cFhZz7VeV6JtjdM4/HgpbJOmQhFbTJeTkfbkAu3nYBnQQpfe+01Ty7nePXVV30eGoeOZEYmINS6YMGC2P0VEgWTaCGZHUr1YOk8dDrHB99ZKI8cczrnhkAkGEItkGhSkNIIEI99hmR7vXSGjGwn5HrkyJG4dioE6XkJgUp6ZZdtiY1VP6gpvldWiCEJnzlWtWVsp4Ht2maEEdUAtpwHEmy4kvNIfXIOzQDheIZSRKdU1hTXCE+vhTpmf76HPIVkkV6dUyXI7APROF+yzbo/tICGWnQKPqsUKljyrGMnTpzo2rdv7+Phev58e+E5S7TssRqGRlAhoFXlPLSyVdoGIFjkqyfLttseLrK1nxpXsN8DSYjemQwQvA4QyRAHwSKK+0Qd42Gz9ho1Y7YaFa+be+dvnQ+brY7CseoI/M2x0hLan47KMaQ0KVbQBAcJTT4lO2eJtiqHRpSUAt2oGtgST0MQA2ZcyTj0nXfecR999JF7991347JHenhLsl0ai8ZiGx0JkqwnLelfv36997QBDW3tM2QgaQyROC8Sq2tS68Z2q5IhPphPV5SMe+D8BFTYhu2mE1HzpmP5DkeM/Tg/HQCyaYctW7b40ik6UNBk5IqciZZ06cHV2PK2bZ2VSNq1a5fPFNGokMqLRqJR6fXt2rVzb7/9tj+ec6sunM+8rNNjVbU8YlV50FgHDhzwC9hybgiFEDsSkJnhWF5WKwCO0Xap5ER5as6jsmQkmGvTFlyPJRshlWfj2tyrTAimgW3sj1SzOi+dPpnqzlbK8+KMSW0HbbO9Wd3gokWLfJkNjSE1xnFSnzRsr169YgkAqwVktyWRUun+QUwBg8a5XAOSdW/6zsL6FakqSSAJMpBIPZttdPkXOqfVQID7VCdJ1FY8O51x8uTJsZBsPtV3zkRz05IQPQQSIDKs6sXjZW60zT8rZ8vDQTyqjPPxwFRoSAJoGD7LFgPrpOn6AtdlZoUtugfBEYE0hTUv9v40xKKTWQL0HvSW7f2k8qKtj6LzoNrx6ClKlL+Tr7XSc1bdNECw8a2NlrrF44U4bRfBSApSLNtOrwYQQCyaxqUS1EqHVLmkKJEEMmdr586dXnXaY/XOdQGOlsbC+l4OprxwpFgSZ9fYTESwlWYhUSzBOot6do3NsdUURfLcul+eI5eYRM4SHXSyrIrSMAHJwi6jnq3a1ThUBfo0Jg3Juxwb7BbOlFXbuqa2WZXNOyVBmzdvjgt4WMnTfkgT5MkGW80gr5lt6ogawul8WmBVQ0WthKz74XjVitlOL8KszyCzpf0XL17svfFEmiIb5MVG6wGs7QE8PDMdmE2JxCgJYHs7x2gmBA1Fw9OAcpD4HjuLbZc9RgLVoAo/qnE1rxoHiG1y3DgX3q0dttERaOBkES1GA1yTa3A8nVCNrVJe3rm+OgP7qMPzGY1hx9ncn20nxbvl4ev+uC/ajv3l4IJsyc5ZdesGRLZA4xEIUIZIkp6sGjJRY9sxMZLNef7666/Y9QSRxn5oD9vYkh6NzXVOGlCfFVgJQn6B9UF0PfkidptsuK4ZnIfF90GHUG1jAzn6nlAtlSmtW7fO2SnLawhUN0MDkJ2xNtnuk+oVPJ9Vp8xaRLqDiRI5TpQEYZuT3Veic2ejEhMNr9JxyJJtS3U8JgibnWukLK9VoKraICuDIxR0StJp0FT70OtZyAai+YEQ62QRfMFbtcOlJwEHLBFB2SKTc+VyHTQRKpxfRKC4IVvC8yrRqN8xY8a4HTt25KxqUgHJpTNZdS+HSgiSXM7g2WhXG4TKFHkjGrtI/TKRqEIDiV2zZo0PvCiL9Mknn/jfAGEoJKku1cKHbKBlubJFXoimp0Hyvn37QpEgOTeYB0k21yV8SPiUsGI+hiSlBhyzbJfkyplohk2DBg3yc6mCkaVcHYhU0Did2i86mTxtJLtTp04+5hwMU5YrbBkyKjybWZo5Ec1wAZJJnIcNK7EU37PSgKJyzHVifhfOS7p12uUCTBUlyo8fZfZcWRNNr+rTp0/RJ3wrEUE0rHfv3r4haAAyQN26/p9sUElqnGedv2B+RjM0syKaaA6STIgu03nD+YaNd9PpBg4cGFPj9RvUdz169PAzOLVvJYAOi2O2Z8+etI+pnexEyTIuZJf69esXk+RiOj2Jrs3CsZBNCBRgqzt37uwaN24cah11ISHfY8aMGT7Emk4HTirRiRqDWQ19+/b1semaolphINm16YRDhw71aT+AF05NFl55qVSl5grIpTPLN6kJaUk0J4VcvFskuhwai3Fn//79Y1NhGV8j2Thqttyo3HHs2DGfNKqJkxoZo1GQZNShFlIvB/Dg9PgRI0bEsmNkvbp06eK+/PLLmBRUghqnLAuTlUqF10j08ePH3YABA4o23TMXYJMhm07Kc0AqqcQ2bdrEVluoBEAwE/mD1TQWKYlGkhmgW4NfTqFF3TPmhumqBHUgF5vNup3fffddWXvilgtM1NSpU5Nyk/TnkCiPZQglh6acwcPTWVmrkzGocsIdOnTwv+Gh2Hg52204I3CkQoggEhLNjhh5/SxCOXuqNhSLXUaymbKq7W3btvXrmVXKGDtZ6LloqxKFCVsFolQqUSXWPKMTt2zZ0n/HLwVUKhKKaqIS1kqACiEgm/GnrR1v1aqV+/3338tSslNVqAhJdXImC7eUC/QcmldFPpuaNoA3zip/dr9ygSVXnAU7bJzqVvmsen4lQ3VmFDAyzv7qq69iif1KePbg3K04olmHMzgJrdKBg0YNNa9C59DDAoLKBACLONVNIb3UV6UjUZFEpWgxTNMff/wRv83+gTRTikPFYTWgEklGZWsVZYtaTwMJz3ge5JspvmMpCOyX37HCbXa5A/+KMirma33zzTfPfJ+QaO91Pv3/4OGD2G88VYrnXYmAGySZpI1dEsQiIdERygtBIUykfat25cBqQ1WEQCsdOZUSRagsRERXCf4HHFsSeoUuigYAAAAASUVORK5CYII=",{Panel:$M}=ee;function XM(e){const t=Tf(L_),[n,i]=a.useState(),[r,s]=a.useState();let l=null==n?void 0:n.filter((e=>"faqQuestion"==(null==e?void 0:e.FieldName)));a.useEffect((()=>{null==l||l.map((e=>{"faqQuestion"==e.FieldName&&s(e.FieldValue)}))}),[n]);const o=[{FieldName:"faqTitle",FieldValue:"",FieldAddData:""},{FieldName:"faqImage",FieldValue:"",FieldAddData:""},{FieldName:"faqQuestion",FieldValue:" ",FieldAddData:""},{FieldName:"faqQuestion",FieldValue:" ",FieldAddData:""},{FieldName:"faqQuestion",FieldValue:" ",FieldAddData:""},{FieldName:"faqQuestion",FieldValue:"",FieldAddData:""}];a.useEffect((()=>{i(e.hasOwnProperty("data")?e.data:o)}),[e.data]);const d={background:"transparent",borderRadius:0,border:"none",fontSize:"16px",fontFamily:null==t?void 0:t.para},c={background:"transparent",borderRadius:0,border:"solid 0.5px #f3f3f3",fontSize:"16px",display:"flex",flexDirection:"column",fontFamily:"poppins"};return Ye.jsxs("div",{className:"modalContainer",style:{},children:[Ye.jsxs("div",{children:[null==n?void 0:n.map((e=>{var n;return"faqTitle"==e.FieldName?Ye.jsx("div",{className:(null==(n=e.FieldValue)?void 0:n.length)>0?"preTitleData":"FaqempTitleData",children:Ye.jsx("p",{style:{fontFamily:null==t?void 0:t.head},children:e.FieldValue.length>0?e.FieldValue:""})}):null})),null==n?void 0:n.map(((e,t)=>{var n,i;return"faqImage"==e.FieldName?Ye.jsx("div",{className:"faqimgContainer",children:Ye.jsx("img",{className:(null==(n=e.FieldValue)?void 0:n.length)>0?"FaqImageData":"FaqempImageData",src:(null==(i=e.FieldValue)?void 0:i.length)>0?e.FieldValue:GM,width:"100%",height:"100%"},t)}):null}))]}),Ye.jsx("div",{children:Ye.jsx("div",{className:"faqCollapseContainer",style:{display:"flex",flexDirection:"column",justifyContent:"space-evenly"},children:""!==r?null==n?void 0:n.map(((e,n)=>"faqQuestion"==e.FieldName&&Ye.jsx(ee,{modalShow:!0,style:c,defaultActiveKey:[""],children:Ye.jsx($M,{header:e.FieldValue,style:d,children:Ye.jsx("div",{className:"faqlistcont",children:Ye.jsx("p",{style:{fontFamily:null==t?void 0:t.para},className:e.FieldAddData?"Faq1Box":"Faq1EmptyBox",children:e.FieldAddData})})},"")}))):Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[Ye.jsx("div",{className:"firstFaqList",children:Ye.jsx("div",{className:"subfirstFaqList"})}),Ye.jsx("div",{className:"seconfFaqList",children:Ye.jsx("div",{className:"subfirstFaqList"})}),Ye.jsx("div",{className:"thirdfaqList"}),Ye.jsx("div",{className:"thirdfaqList"}),Ye.jsx("div",{className:"thirdfaqList"})]})})})]})}const JM=Object.freeze(Object.defineProperty({__proto__:null,default:XM},Symbol.toStringTag,{value:"Module"})),{Panel:ZM}=ee;function eR(e){const t=Tf(L_),[n,i]=a.useState(),[r,s]=a.useState();let l=null==n?void 0:n.filter((e=>"faqQuestion"==(null==e?void 0:e.FieldName)));a.useEffect((()=>{null==l||l.map((e=>{"faqQuestion"==e.FieldName&&s(e.FieldValue)}))}),[l]);const o=[{FieldName:"faqTitle",FieldValue:"",FieldAddData:""},{FieldName:"faqImage",FieldValue:"",FieldAddData:""},{FieldName:"faqQuestion",FieldValue:"",FieldAddData:""},{FieldName:"faqQuestion",FieldValue:"",FieldAddData:""},{FieldName:"faqQuestion",FieldValue:"",FieldAddData:""},{FieldName:"faqQuestion",FieldValue:"",FieldAddData:""}];a.useEffect((()=>{i(e.hasOwnProperty("data")?e.data:o)}),[e.data]);const d={background:"transparent",borderRadius:0,border:"none",fontSize:"16px",fontFamily:null==t?void 0:t.para},c={background:"transparent",borderRadius:0,border:"solid 0.5px #f3f3f3",fontSize:"16px",display:"flex",flexDirection:"column",fontFamily:"poppins"};return Ye.jsxs("div",{className:"modalContainer2",children:[Ye.jsx("div",{className:"swaiper-div-one",children:null==n?void 0:n.map((e=>{var n;return"faqTitle"==e.FieldName?Ye.jsx("div",{className:(null==(n=e.FieldValue)?void 0:n.length)>0?"preTitleData2":"FaqempTitleData",children:Ye.jsx("p",{style:{fontFamily:null==t?void 0:t.head},children:e.FieldValue.length>0?e.FieldValue:""})}):null}))}),Ye.jsx("div",{className:"faqCollapseContainer",style:{display:"flex",flexDirection:"column",justifyContent:"space-evenly"},children:""!==r?null==n?void 0:n.map(((e,n)=>"faqQuestion"==e.FieldName&&Ye.jsx(ee,{modalShow:!0,style:c,defaultActiveKey:[""],children:Ye.jsx(ZM,{header:e.FieldValue,style:d,children:Ye.jsx("p",{style:{fontFamily:null==t?void 0:t.para},className:e.FieldAddData?"Faq2Box":"Faq1EmptyBox",children:e.FieldAddData})},"")}))):Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[Ye.jsx("div",{className:"firstFaqList",children:Ye.jsx("div",{className:"subfirstFaqList"})}),Ye.jsx("div",{className:"seconfFaqList",children:Ye.jsx("div",{className:"subfirstFaqList"})}),Ye.jsx("div",{className:"thirdfaqList"}),Ye.jsx("div",{className:"thirdfaqList"}),Ye.jsx("div",{className:"thirdfaqList"})]})})]})}const tR=Object.freeze(Object.defineProperty({__proto__:null,default:eR},Symbol.toStringTag,{value:"Module"}));function nR(e){return Cn({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M17 3.34a10 10 0 1 1 -15 8.66l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 3.66h-6c-1.287 0 -1.332 1.864 -.133 1.993l.133 .007h1a2 2 0 0 1 1.732 1h-2.732a1 1 0 0 0 0 2l2.732 .001a2 2 0 0 1 -1.732 .999h-1c-.89 0 -1.337 1.077 -.707 1.707l3 3a1 1 0 0 0 1.414 0l.083 -.094a1 1 0 0 0 -.083 -1.32l-1.484 -1.485l.113 -.037a4.009 4.009 0 0 0 2.538 -2.77l1.126 -.001a1 1 0 0 0 0 -2h-1.126a3.973 3.973 0 0 0 -.33 -.855l-.079 -.145h1.535a1 1 0 0 0 1 -1l-.007 -.117a1 1 0 0 0 -.993 -.883z",strokeWidth:"0",fill:"currentColor"}}]})(e)}const iR="/home/",aR="https://www.pozo.dev",rR="https://pozo.app/CustomPaymentGateway/CustomPaymentGateway";var sR={},lR={},oR="object"==typeof d&&d&&d.Object===Object&&d,dR=oR,cR="object"==typeof self&&self&&self.Object===Object&&self,uR=dR||cR||Function("return this")(),pR=uR.Symbol,AR=pR,hR=Object.prototype,fR=hR.hasOwnProperty,mR=hR.toString,vR=AR?AR.toStringTag:void 0;var gR=function(e){var t=fR.call(e,vR),n=e[vR];try{e[vR]=void 0;var i=!0}catch(Ou){}var a=mR.call(e);return i&&(t?e[vR]=n:delete e[vR]),a},yR=Object.prototype.toString;var xR=gR,bR=function(e){return yR.call(e)},wR=pR?pR.toStringTag:void 0;var jR=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":wR&&wR in Object(e)?xR(e):bR(e)},CR=Array.isArray;var SR=function(e){return null!=e&&"object"==typeof e},NR=jR,IR=CR,FR=SR;var BR=function(e){return"string"==typeof e||!IR(e)&&FR(e)&&"[object String]"==NR(e)};var PR=function(e){return function(t,n,i){for(var a=-1,r=Object(t),s=i(t),l=s.length;l--;){var o=s[e?l:++a];if(!1===n(r[o],o,r))break}return t}},kR=PR();var TR=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i},ER=jR,DR=SR;var LR,UR,_R,OR,MR,RR,QR,HR,VR=function(e){return DR(e)&&"[object Arguments]"==ER(e)},zR=SR,qR=Object.prototype,WR=qR.hasOwnProperty,YR=qR.propertyIsEnumerable,KR=VR(function(){return arguments}())?VR:function(e){return zR(e)&&WR.call(e,"callee")&&!YR.call(e,"callee")},GR={exports:{}};LR=GR,_R=uR,OR=function(){return!1},MR=(UR=GR.exports)&&!UR.nodeType&&UR,RR=MR&&LR&&!LR.nodeType&&LR,QR=RR&&RR.exports===MR?_R.Buffer:void 0,HR=(QR?QR.isBuffer:void 0)||OR,LR.exports=HR;var $R=GR.exports,XR=/^(?:0|[1-9]\d*)$/;var JR=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&XR.test(e))&&e>-1&&e%1==0&&e<t};var ZR=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},eQ=jR,tQ=ZR,nQ=SR,iQ={};iQ["[object Float32Array]"]=iQ["[object Float64Array]"]=iQ["[object Int8Array]"]=iQ["[object Int16Array]"]=iQ["[object Int32Array]"]=iQ["[object Uint8Array]"]=iQ["[object Uint8ClampedArray]"]=iQ["[object Uint16Array]"]=iQ["[object Uint32Array]"]=!0,iQ["[object Arguments]"]=iQ["[object Array]"]=iQ["[object ArrayBuffer]"]=iQ["[object Boolean]"]=iQ["[object DataView]"]=iQ["[object Date]"]=iQ["[object Error]"]=iQ["[object Function]"]=iQ["[object Map]"]=iQ["[object Number]"]=iQ["[object Object]"]=iQ["[object RegExp]"]=iQ["[object Set]"]=iQ["[object String]"]=iQ["[object WeakMap]"]=!1;var aQ=function(e){return nQ(e)&&tQ(e.length)&&!!iQ[eQ(e)]};var rQ=function(e){return function(t){return e(t)}},sQ={exports:{}};!function(e,t){var n=oR,i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,r=a&&a.exports===i&&n.process,s=function(){try{var e=a&&a.require&&a.require("util").types;return e||r&&r.binding&&r.binding("util")}catch(Ou){}}();e.exports=s}(sQ,sQ.exports);var lQ=sQ.exports,oQ=aQ,dQ=rQ,cQ=lQ&&lQ.isTypedArray,uQ=cQ?dQ(cQ):oQ,pQ=TR,AQ=KR,hQ=CR,fQ=$R,mQ=JR,vQ=uQ,gQ=Object.prototype.hasOwnProperty;var yQ=function(e,t){var n=hQ(e),i=!n&&AQ(e),a=!n&&!i&&fQ(e),r=!n&&!i&&!a&&vQ(e),s=n||i||a||r,l=s?pQ(e.length,String):[],o=l.length;for(var d in e)!t&&!gQ.call(e,d)||s&&("length"==d||a&&("offset"==d||"parent"==d)||r&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||mQ(d,o))||l.push(d);return l},xQ=Object.prototype;var bQ=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||xQ)};var wQ=function(e,t){return function(n){return e(t(n))}},jQ=wQ(Object.keys,Object),CQ=bQ,SQ=jQ,NQ=Object.prototype.hasOwnProperty;var IQ=function(e){if(!CQ(e))return SQ(e);var t=[];for(var n in Object(e))NQ.call(e,n)&&"constructor"!=n&&t.push(n);return t};var FQ=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},BQ=jR,PQ=FQ;var kQ=function(e){if(!PQ(e))return!1;var t=BQ(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},TQ=kQ,EQ=ZR;var DQ=function(e){return null!=e&&EQ(e.length)&&!TQ(e)},LQ=yQ,UQ=IQ,_Q=DQ;var OQ=function(e){return _Q(e)?LQ(e):UQ(e)},MQ=kR,RQ=OQ;var QQ=function(e,t){return e&&MQ(e,t,RQ)};var HQ=function(e){return e},VQ=HQ;var zQ=QQ,qQ=function(e){return"function"==typeof e?e:VQ};var WQ=function(e,t){return e&&zQ(e,qQ(t))},YQ=wQ(Object.getPrototypeOf,Object),KQ=jR,GQ=YQ,$Q=SR,XQ=Function.prototype,JQ=Object.prototype,ZQ=XQ.toString,eH=JQ.hasOwnProperty,tH=ZQ.call(Object);var nH=function(e){if(!$Q(e)||"[object Object]"!=KQ(e))return!1;var t=GQ(e);if(null===t)return!0;var n=eH.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ZQ.call(n)==tH};var iH=function(e,t){for(var n=-1,i=null==e?0:e.length,a=Array(i);++n<i;)a[n]=t(e[n],n,e);return a};var aH=function(){this.__data__=[],this.size=0};var rH=function(e,t){return e===t||e!=e&&t!=t},sH=rH;var lH=function(e,t){for(var n=e.length;n--;)if(sH(e[n][0],t))return n;return-1},oH=lH,dH=Array.prototype.splice;var cH=lH;var uH=lH;var pH=lH;var AH=aH,hH=function(e){var t=this.__data__,n=oH(t,e);return!(n<0)&&(n==t.length-1?t.pop():dH.call(t,n,1),--this.size,!0)},fH=function(e){var t=this.__data__,n=cH(t,e);return n<0?void 0:t[n][1]},mH=function(e){return uH(this.__data__,e)>-1},vH=function(e,t){var n=this.__data__,i=pH(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this};function gH(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}gH.prototype.clear=AH,gH.prototype.delete=hH,gH.prototype.get=fH,gH.prototype.has=mH,gH.prototype.set=vH;var yH=gH,xH=yH;var bH=function(){this.__data__=new xH,this.size=0};var wH=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var jH=function(e){return this.__data__.get(e)};var CH,SH=function(e){return this.__data__.has(e)},NH=uR["__core-js_shared__"],IH=(CH=/[^.]+$/.exec(NH&&NH.keys&&NH.keys.IE_PROTO||""))?"Symbol(src)_1."+CH:"";var FH=function(e){return!!IH&&IH in e},BH=Function.prototype.toString;var PH=function(e){if(null!=e){try{return BH.call(e)}catch(Ou){}try{return e+""}catch(Ou){}}return""},kH=kQ,TH=FH,EH=FQ,DH=PH,LH=/^\[object .+?Constructor\]$/,UH=Function.prototype,_H=Object.prototype,OH=UH.toString,MH=_H.hasOwnProperty,RH=RegExp("^"+OH.call(MH).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var QH=function(e,t){return null==e?void 0:e[t]},HH=function(e){return!(!EH(e)||TH(e))&&(kH(e)?RH:LH).test(DH(e))},VH=QH;var zH=function(e,t){var n=VH(e,t);return HH(n)?n:void 0},qH=zH(uR,"Map"),WH=zH(Object,"create"),YH=WH;var KH=function(){this.__data__=YH?YH(null):{},this.size=0};var GH=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$H=WH,XH=Object.prototype.hasOwnProperty;var JH=function(e){var t=this.__data__;if($H){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return XH.call(t,e)?t[e]:void 0},ZH=WH,eV=Object.prototype.hasOwnProperty;var tV=WH;var nV=KH,iV=GH,aV=JH,rV=function(e){var t=this.__data__;return ZH?void 0!==t[e]:eV.call(t,e)},sV=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=tV&&void 0===t?"__lodash_hash_undefined__":t,this};function lV(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}lV.prototype.clear=nV,lV.prototype.delete=iV,lV.prototype.get=aV,lV.prototype.has=rV,lV.prototype.set=sV;var oV=lV,dV=yH,cV=qH;var uV=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var pV=function(e,t){var n=e.__data__;return uV(t)?n["string"==typeof t?"string":"hash"]:n.map},AV=pV;var hV=pV;var fV=pV;var mV=pV;var vV=function(){this.size=0,this.__data__={hash:new oV,map:new(cV||dV),string:new oV}},gV=function(e){var t=AV(this,e).delete(e);return this.size-=t?1:0,t},yV=function(e){return hV(this,e).get(e)},xV=function(e){return fV(this,e).has(e)},bV=function(e,t){var n=mV(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this};function wV(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}wV.prototype.clear=vV,wV.prototype.delete=gV,wV.prototype.get=yV,wV.prototype.has=xV,wV.prototype.set=bV;var jV=wV,CV=yH,SV=qH,NV=jV;var IV=yH,FV=bH,BV=wH,PV=jH,kV=SH,TV=function(e,t){var n=this.__data__;if(n instanceof CV){var i=n.__data__;if(!SV||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new NV(i)}return n.set(e,t),this.size=n.size,this};function EV(e){var t=this.__data__=new IV(e);this.size=t.size}EV.prototype.clear=FV,EV.prototype.delete=BV,EV.prototype.get=PV,EV.prototype.has=kV,EV.prototype.set=TV;var DV=EV;var LV=jV,UV=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},_V=function(e){return this.__data__.has(e)};function OV(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new LV;++t<n;)this.add(e[t])}OV.prototype.add=OV.prototype.push=UV,OV.prototype.has=_V;var MV=OV,RV=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1},QV=function(e,t){return e.has(t)};var HV=function(e,t,n,i,a,r){var s=1&n,l=e.length,o=t.length;if(l!=o&&!(s&&o>l))return!1;var d=r.get(e),c=r.get(t);if(d&&c)return d==t&&c==e;var u=-1,p=!0,A=2&n?new MV:void 0;for(r.set(e,t),r.set(t,e);++u<l;){var h=e[u],f=t[u];if(i)var m=s?i(f,h,u,t,e,r):i(h,f,u,e,t,r);if(void 0!==m){if(m)continue;p=!1;break}if(A){if(!RV(t,(function(e,t){if(!QV(A,t)&&(h===e||a(h,e,n,i,r)))return A.push(t)}))){p=!1;break}}else if(h!==f&&!a(h,f,n,i,r)){p=!1;break}}return r.delete(e),r.delete(t),p},VV=uR.Uint8Array;var zV=VV,qV=rH,WV=HV,YV=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n},KV=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},GV=pR?pR.prototype:void 0,$V=GV?GV.valueOf:void 0;var XV=function(e,t,n,i,a,r,s){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new zV(e),new zV(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return qV(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var l=YV;case"[object Set]":var o=1&i;if(l||(l=KV),e.size!=t.size&&!o)return!1;var d=s.get(e);if(d)return d==t;i|=2,s.set(e,t);var c=WV(l(e),l(t),i,a,r,s);return s.delete(e),c;case"[object Symbol]":if($V)return $V.call(e)==$V.call(t)}return!1};var JV=function(e,t){for(var n=-1,i=t.length,a=e.length;++n<i;)e[a+n]=t[n];return e},ZV=JV,ez=CR;var tz=function(e,t,n){var i=t(e);return ez(e)?i:ZV(i,n(e))};var nz=function(){return[]},iz=function(e,t){for(var n=-1,i=null==e?0:e.length,a=0,r=[];++n<i;){var s=e[n];t(s,n,e)&&(r[a++]=s)}return r},az=nz,rz=Object.prototype.propertyIsEnumerable,sz=Object.getOwnPropertySymbols,lz=sz?function(e){return null==e?[]:(e=Object(e),iz(sz(e),(function(t){return rz.call(e,t)})))}:az,oz=lz,dz=tz,cz=oz,uz=OQ;var pz=function(e){return dz(e,uz,cz)},Az=pz,hz=Object.prototype.hasOwnProperty;var fz=function(e,t,n,i,a,r){var s=1&n,l=Az(e),o=l.length;if(o!=Az(t).length&&!s)return!1;for(var d=o;d--;){var c=l[d];if(!(s?c in t:hz.call(t,c)))return!1}var u=r.get(e),p=r.get(t);if(u&&p)return u==t&&p==e;var A=!0;r.set(e,t),r.set(t,e);for(var h=s;++d<o;){var f=e[c=l[d]],m=t[c];if(i)var v=s?i(m,f,c,t,e,r):i(f,m,c,e,t,r);if(!(void 0===v?f===m||a(f,m,n,i,r):v)){A=!1;break}h||(h="constructor"==c)}if(A&&!h){var g=e.constructor,y=t.constructor;g==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof y&&y instanceof y||(A=!1)}return r.delete(e),r.delete(t),A},mz=zH(uR,"DataView"),vz=qH,gz=zH(uR,"Promise"),yz=zH(uR,"Set"),xz=zH(uR,"WeakMap"),bz=jR,wz=PH,jz="[object Map]",Cz="[object Promise]",Sz="[object Set]",Nz="[object WeakMap]",Iz="[object DataView]",Fz=wz(mz),Bz=wz(vz),Pz=wz(gz),kz=wz(yz),Tz=wz(xz),Ez=bz;(mz&&Ez(new mz(new ArrayBuffer(1)))!=Iz||vz&&Ez(new vz)!=jz||gz&&Ez(gz.resolve())!=Cz||yz&&Ez(new yz)!=Sz||xz&&Ez(new xz)!=Nz)&&(Ez=function(e){var t=bz(e),n="[object Object]"==t?e.constructor:void 0,i=n?wz(n):"";if(i)switch(i){case Fz:return Iz;case Bz:return jz;case Pz:return Cz;case kz:return Sz;case Tz:return Nz}return t});var Dz=Ez,Lz=DV,Uz=HV,_z=XV,Oz=fz,Mz=Dz,Rz=CR,Qz=$R,Hz=uQ,Vz="[object Arguments]",zz="[object Array]",qz="[object Object]",Wz=Object.prototype.hasOwnProperty;var Yz=function(e,t,n,i,a,r){var s=Rz(e),l=Rz(t),o=s?zz:Mz(e),d=l?zz:Mz(t),c=(o=o==Vz?qz:o)==qz,u=(d=d==Vz?qz:d)==qz,p=o==d;if(p&&Qz(e)){if(!Qz(t))return!1;s=!0,c=!1}if(p&&!c)return r||(r=new Lz),s||Hz(e)?Uz(e,t,n,i,a,r):_z(e,t,o,n,i,a,r);if(!(1&n)){var A=c&&Wz.call(e,"__wrapped__"),h=u&&Wz.call(t,"__wrapped__");if(A||h){var f=A?e.value():e,m=h?t.value():t;return r||(r=new Lz),a(f,m,n,i,r)}}return!!p&&(r||(r=new Lz),Oz(e,t,n,i,a,r))},Kz=Yz,Gz=SR;var $z=function e(t,n,i,a,r){return t===n||(null==t||null==n||!Gz(t)&&!Gz(n)?t!=t&&n!=n:Kz(t,n,i,a,e,r))},Xz=DV,Jz=$z;var Zz=function(e,t,n,i){var a=n.length,r=a,s=!i;if(null==e)return!r;for(e=Object(e);a--;){var l=n[a];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<r;){var o=(l=n[a])[0],d=e[o],c=l[1];if(s&&l[2]){if(void 0===d&&!(o in e))return!1}else{var u=new Xz;if(i)var p=i(d,c,o,e,t,u);if(!(void 0===p?Jz(c,d,3,i,u):p))return!1}}return!0},eq=FQ;var tq=function(e){return e==e&&!eq(e)},nq=tq,iq=OQ;var aq=function(e){for(var t=iq(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,nq(a)]}return t};var rq=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}},sq=Zz,lq=aq,oq=rq;var dq=function(e){var t=lq(e);return 1==t.length&&t[0][2]?oq(t[0][0],t[0][1]):function(n){return n===e||sq(n,e,t)}},cq=jR,uq=SR;var pq=function(e){return"symbol"==typeof e||uq(e)&&"[object Symbol]"==cq(e)},Aq=CR,hq=pq,fq=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,mq=/^\w*$/;var vq=function(e,t){if(Aq(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!hq(e))||(mq.test(e)||!fq.test(e)||null!=t&&e in Object(t))},gq=jV;function yq(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var i=arguments,a=t?t.apply(this,i):i[0],r=n.cache;if(r.has(a))return r.get(a);var s=e.apply(this,i);return n.cache=r.set(a,s)||r,s};return n.cache=new(yq.Cache||gq),n}yq.Cache=gq;var xq=yq;var bq=function(e){var t=xq(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t},wq=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,jq=/\\(\\)?/g,Cq=bq((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(wq,(function(e,n,i,a){t.push(i?a.replace(jq,"$1"):n||e)})),t})),Sq=iH,Nq=CR,Iq=pq,Fq=pR?pR.prototype:void 0,Bq=Fq?Fq.toString:void 0;var Pq=function e(t){if("string"==typeof t)return t;if(Nq(t))return Sq(t,e)+"";if(Iq(t))return Bq?Bq.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},kq=Pq;var Tq=CR,Eq=vq,Dq=Cq,Lq=function(e){return null==e?"":kq(e)};var Uq=function(e,t){return Tq(e)?e:Eq(e,t)?[e]:Dq(Lq(e))},_q=pq;var Oq=function(e){if("string"==typeof e||_q(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},Mq=Uq,Rq=Oq;var Qq=function(e,t){for(var n=0,i=(t=Mq(t,e)).length;null!=e&&n<i;)e=e[Rq(t[n++])];return n&&n==i?e:void 0},Hq=Qq;var Vq=function(e,t,n){var i=null==e?void 0:Hq(e,t);return void 0===i?n:i};var zq=function(e,t){return null!=e&&t in Object(e)},qq=Uq,Wq=KR,Yq=CR,Kq=JR,Gq=ZR,$q=Oq;var Xq=function(e,t,n){for(var i=-1,a=(t=qq(t,e)).length,r=!1;++i<a;){var s=$q(t[i]);if(!(r=null!=e&&n(e,s)))break;e=e[s]}return r||++i!=a?r:!!(a=null==e?0:e.length)&&Gq(a)&&Kq(s,a)&&(Yq(e)||Wq(e))},Jq=zq,Zq=Xq;var eW=function(e,t){return null!=e&&Zq(e,t,Jq)},tW=$z,nW=Vq,iW=eW,aW=vq,rW=tq,sW=rq,lW=Oq;var oW=function(e,t){return aW(e)&&rW(t)?sW(lW(e),t):function(n){var i=nW(n,e);return void 0===i&&i===t?iW(n,e):tW(t,i,3)}};var dW=function(e){return function(t){return null==t?void 0:t[e]}},cW=Qq;var uW=function(e){return function(t){return cW(t,e)}},pW=dW,AW=uW,hW=vq,fW=Oq;var mW=dq,vW=oW,gW=HQ,yW=CR,xW=function(e){return hW(e)?pW(fW(e)):AW(e)};var bW=function(e){return"function"==typeof e?e:null==e?gW:"object"==typeof e?yW(e)?vW(e[0],e[1]):mW(e):xW(e)},wW=DQ;var jW=function(e,t){return function(n,i){if(null==n)return n;if(!wW(n))return e(n,i);for(var a=n.length,r=t?a:-1,s=Object(n);(t?r--:++r<a)&&!1!==i(s[r],r,s););return n}},CW=jW(QQ),SW=DQ;var NW=iH,IW=bW,FW=function(e,t){var n=-1,i=SW(e)?Array(e.length):[];return CW(e,(function(e,a,r){i[++n]=t(e,a,r)})),i},BW=CR;var PW=function(e,t){return(BW(e)?NW:FW)(e,IW(t))};Object.defineProperty(lR,"__esModule",{value:!0}),lR.flattenNames=void 0;var kW=LW(BR),TW=LW(WQ),EW=LW(nH),DW=LW(PW);function LW(e){return e&&e.__esModule?e:{default:e}}var UW=lR.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,DW.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return n.push(e)})):(0,EW.default)(t)?(0,TW.default)(t,(function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)})):(0,kW.default)(t)&&n.push(t)})),n};lR.default=UW;var _W={};var OW=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e},MW=zH,RW=function(){try{var e=MW(Object,"defineProperty");return e({},"",{}),e}catch(Ou){}}(),QW=RW;var HW=function(e,t,n){"__proto__"==t&&QW?QW(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},VW=HW,zW=rH,qW=Object.prototype.hasOwnProperty;var WW=function(e,t,n){var i=e[t];qW.call(e,t)&&zW(i,n)&&(void 0!==n||t in e)||VW(e,t,n)},YW=WW,KW=HW;var GW=function(e,t,n,i){var a=!n;n||(n={});for(var r=-1,s=t.length;++r<s;){var l=t[r],o=i?i(n[l],e[l],l,n,e):void 0;void 0===o&&(o=e[l]),a?KW(n,l,o):YW(n,l,o)}return n},$W=GW,XW=OQ;var JW=function(e,t){return e&&$W(t,XW(t),e)};var ZW=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},eY=FQ,tY=bQ,nY=ZW,iY=Object.prototype.hasOwnProperty;var aY=function(e){if(!eY(e))return nY(e);var t=tY(e),n=[];for(var i in e)("constructor"!=i||!t&&iY.call(e,i))&&n.push(i);return n},rY=yQ,sY=aY,lY=DQ;var oY=function(e){return lY(e)?rY(e,!0):sY(e)},dY=GW,cY=oY;var uY=function(e,t){return e&&dY(t,cY(t),e)},pY={exports:{}};!function(e,t){var n=uR,i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,r=a&&a.exports===i?n.Buffer:void 0,s=r?r.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,i=s?s(n):new e.constructor(n);return e.copy(i),i}}(pY,pY.exports);var AY=pY.exports;var hY=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t},fY=GW,mY=oz;var vY=function(e,t){return fY(e,mY(e),t)},gY=JV,yY=YQ,xY=oz,bY=nz,wY=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)gY(t,xY(e)),e=yY(e);return t}:bY,jY=GW,CY=wY;var SY=function(e,t){return jY(e,CY(e),t)},NY=tz,IY=wY,FY=oY;var BY=function(e){return NY(e,FY,IY)},PY=Object.prototype.hasOwnProperty;var kY=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&PY.call(e,"index")&&(n.index=e.index,n.input=e.input),n},TY=VV;var EY=function(e){var t=new e.constructor(e.byteLength);return new TY(t).set(new TY(e)),t},DY=EY;var LY=function(e,t){var n=t?DY(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},UY=/\w*$/;var _Y=function(e){var t=new e.constructor(e.source,UY.exec(e));return t.lastIndex=e.lastIndex,t},OY=pR?pR.prototype:void 0,MY=OY?OY.valueOf:void 0;var RY=EY;var QY=EY,HY=LY,VY=_Y,zY=function(e){return MY?Object(MY.call(e)):{}},qY=function(e,t){var n=t?RY(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var WY=function(e,t,n){var i=e.constructor;switch(t){case"[object ArrayBuffer]":return QY(e);case"[object Boolean]":case"[object Date]":return new i(+e);case"[object DataView]":return HY(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return qY(e,n);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(e);case"[object RegExp]":return VY(e);case"[object Symbol]":return zY(e)}},YY=FQ,KY=Object.create,GY=function(){function e(){}return function(t){if(!YY(t))return{};if(KY)return KY(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),$Y=GY,XY=YQ,JY=bQ;var ZY=function(e){return"function"!=typeof e.constructor||JY(e)?{}:$Y(XY(e))},eK=Dz,tK=SR;var nK=function(e){return tK(e)&&"[object Map]"==eK(e)},iK=rQ,aK=lQ&&lQ.isMap,rK=aK?iK(aK):nK,sK=Dz,lK=SR;var oK=function(e){return lK(e)&&"[object Set]"==sK(e)},dK=rQ,cK=lQ&&lQ.isSet,uK=cK?dK(cK):oK,pK=DV,AK=OW,hK=WW,fK=JW,mK=uY,vK=AY,gK=hY,yK=vY,xK=SY,bK=pz,wK=BY,jK=Dz,CK=kY,SK=WY,NK=ZY,IK=CR,FK=$R,BK=rK,PK=FQ,kK=uK,TK=OQ,EK=oY,DK="[object Arguments]",LK="[object Function]",UK="[object Object]",_K={};_K[DK]=_K["[object Array]"]=_K["[object ArrayBuffer]"]=_K["[object DataView]"]=_K["[object Boolean]"]=_K["[object Date]"]=_K["[object Float32Array]"]=_K["[object Float64Array]"]=_K["[object Int8Array]"]=_K["[object Int16Array]"]=_K["[object Int32Array]"]=_K["[object Map]"]=_K["[object Number]"]=_K[UK]=_K["[object RegExp]"]=_K["[object Set]"]=_K["[object String]"]=_K["[object Symbol]"]=_K["[object Uint8Array]"]=_K["[object Uint8ClampedArray]"]=_K["[object Uint16Array]"]=_K["[object Uint32Array]"]=!0,_K["[object Error]"]=_K[LK]=_K["[object WeakMap]"]=!1;var OK=function e(t,n,i,a,r,s){var l,o=1&n,d=2&n,c=4&n;if(i&&(l=r?i(t,a,r,s):i(t)),void 0!==l)return l;if(!PK(t))return t;var u=IK(t);if(u){if(l=CK(t),!o)return gK(t,l)}else{var p=jK(t),A=p==LK||"[object GeneratorFunction]"==p;if(FK(t))return vK(t,o);if(p==UK||p==DK||A&&!r){if(l=d||A?{}:NK(t),!o)return d?xK(t,mK(l,t)):yK(t,fK(l,t))}else{if(!_K[p])return r?t:{};l=SK(t,p,o)}}s||(s=new pK);var h=s.get(t);if(h)return h;s.set(t,l),kK(t)?t.forEach((function(a){l.add(e(a,n,i,a,t,s))})):BK(t)&&t.forEach((function(a,r){l.set(r,e(a,n,i,r,t,s))}));var f=u?void 0:(c?d?wK:bK:d?EK:TK)(t);return AK(f||t,(function(a,r){f&&(a=t[r=a]),hK(l,r,e(a,n,i,r,t,s))})),l},MK=OK;var RK=function(e){return MK(e,5)};Object.defineProperty(_W,"__esModule",{value:!0}),_W.mergeClasses=void 0;var QK=zK(WQ),HK=zK(RK),VK=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function zK(e){return e&&e.__esModule?e:{default:e}}var qK=_W.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,HK.default)(e.default)||{};return t.map((function(t){var i=e[t];return i&&(0,QK.default)(i,(function(e,t){n[t]||(n[t]={}),n[t]=VK({},n[t],i[t])})),t})),n};_W.default=qK;var WK={};Object.defineProperty(WK,"__esModule",{value:!0}),WK.autoprefix=void 0;var YK,KK=(YK=WQ)&&YK.__esModule?YK:{default:YK},GK=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};var $K={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var n=t[e];return n||{extend:e}}},XK=WK.autoprefix=function(e){var t={};return(0,KK.default)(e,(function(e,n){var i={};(0,KK.default)(e,(function(e,t){var n=$K[t];n?i=GK({},i,n(e)):i[t]=e})),t[n]=i})),t};WK.default=XK;var JK={};Object.defineProperty(JK,"__esModule",{value:!0}),JK.hover=void 0;var ZK=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},eG=function(e){return e&&e.__esModule?e:{default:e}}(a);function tG(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var nG=JK.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(){function n(){var i,a,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var s=arguments.length,l=Array(s),o=0;o<s;o++)l[o]=arguments[o];return a=r=tG(this,(i=n.__proto__||Object.getPrototypeOf(n)).call.apply(i,[this].concat(l))),r.state={hover:!1},r.handleMouseOver=function(){return r.setState({hover:!0})},r.handleMouseOut=function(){return r.setState({hover:!1})},r.render=function(){return eG.default.createElement(t,{onMouseOver:r.handleMouseOver,onMouseOut:r.handleMouseOut},eG.default.createElement(e,ZK({},r.props,r.state)))},tG(r,a)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,eG.default.Component),n}()};JK.default=nG;var iG={};Object.defineProperty(iG,"__esModule",{value:!0}),iG.active=void 0;var aG=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},rG=function(e){return e&&e.__esModule?e:{default:e}}(a);function sG(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var lG=iG.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(){function n(){var i,a,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var s=arguments.length,l=Array(s),o=0;o<s;o++)l[o]=arguments[o];return a=r=sG(this,(i=n.__proto__||Object.getPrototypeOf(n)).call.apply(i,[this].concat(l))),r.state={active:!1},r.handleMouseDown=function(){return r.setState({active:!0})},r.handleMouseUp=function(){return r.setState({active:!1})},r.render=function(){return rG.default.createElement(t,{onMouseDown:r.handleMouseDown,onMouseUp:r.handleMouseUp},rG.default.createElement(e,aG({},r.props,r.state)))},sG(r,a)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,rG.default.Component),n}()};iG.default=lG;var oG={};Object.defineProperty(oG,"__esModule",{value:!0});oG.default=function(e,t){var n={},i=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&i("first-child"),e===t-1&&i("last-child"),(0===e||e%2==0)&&i("even"),1===Math.abs(e%2)&&i("odd"),i("nth-child",e),n},Object.defineProperty(sR,"__esModule",{value:!0}),sR.ReactCSS=sR.loop=sR.handleActive=mG=sR.handleHover=sR.hover=void 0;var dG=fG(lR),cG=fG(_W),uG=fG(WK),pG=fG(JK),AG=fG(iG),hG=fG(oG);function fG(e){return e&&e.__esModule?e:{default:e}}sR.hover=pG.default;var mG=sR.handleHover=pG.default;sR.handleActive=AG.default,sR.loop=hG.default;var vG=sR.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var a=(0,dG.default)(n),r=(0,cG.default)(e,a);return(0,uG.default)(r)},gG=sR.default=vG,yG={},xG=function(e,t,n,i){var a=e+"-"+t+"-"+n+(i?"-server":"");if(yG[a])return yG[a];var r=function(e,t,n,i){if("undefined"==typeof document&&!i)return null;var a=i?new i:document.createElement("canvas");a.width=2*n,a.height=2*n;var r=a.getContext("2d");return r?(r.fillStyle=e,r.fillRect(0,0,a.width,a.height),r.fillStyle=t,r.fillRect(0,0,n,n),r.translate(n,n),r.fillRect(0,0,n,n),a.toDataURL()):null}(e,t,n,i);return yG[a]=r,r},bG=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},wG=function(e){var t=e.white,n=e.grey,i=e.size,r=e.renderers,s=e.borderRadius,o=e.boxShadow,d=e.children,c=gG({default:{grid:{borderRadius:s,boxShadow:o,absolute:"0px 0px 0px 0px",background:"url("+xG(t,n,i,r.canvas)+") center left"}}});return a.isValidElement(d)?l.cloneElement(d,bG({},d.props,{style:bG({},d.props.style,c.grid)})):l.createElement("div",{style:c.grid})};wG.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var jG=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},CG=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function SG(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var NG=function(){function e(){var t,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var a=arguments.length,r=Array(a),s=0;s<a;s++)r[s]=arguments[s];return n=i=SG(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(r))),i.handleChange=function(e){var t=function(e,t,n,i,a){var r=a.clientWidth,s=a.clientHeight,l="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,o="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,d=l-(a.getBoundingClientRect().left+window.pageXOffset),c=o-(a.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n){var u=void 0;if(u=c<0?0:c>s?1:Math.round(100*c/s)/100,t.a!==u)return{h:t.h,s:t.s,l:t.l,a:u,source:"rgb"}}else{var p=void 0;if(i!==(p=d<0?0:d>r?1:Math.round(100*d/r)/100))return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}return null}(e,i.props.hsl,i.props.direction,i.props.a,i.container);t&&"function"==typeof i.props.onChange&&i.props.onChange(t,e)},i.handleMouseDown=function(e){i.handleChange(e),window.addEventListener("mousemove",i.handleChange),window.addEventListener("mouseup",i.handleMouseUp)},i.handleMouseUp=function(){i.unbindEventListeners()},i.unbindEventListeners=function(){window.removeEventListener("mousemove",i.handleChange),window.removeEventListener("mouseup",i.handleMouseUp)},SG(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(e,a.PureComponent||a.Component),CG(e,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=gG({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:jG({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return l.createElement("div",{style:n.alpha},l.createElement("div",{style:n.checkboard},l.createElement(wG,{renderers:this.props.renderers})),l.createElement("div",{style:n.gradient}),l.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},l.createElement("div",{style:n.pointer},this.props.pointer?l.createElement(this.props.pointer,this.props):l.createElement("div",{style:n.slider}))))}}]),e}(),IG=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var FG=[38,40],BG=1,PG=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(e){n.setUpdatedValue(e.target.value,e)},n.handleKeyDown=function(e){var t,i=function(e){return Number(String(e).replace(/%/g,""))}(e.target.value);if(!isNaN(i)&&(t=e.keyCode,FG.indexOf(t)>-1)){var a=n.getArrowOffset(),r=38===e.keyCode?i+a:i-a;n.setUpdatedValue(r,e)}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(t.value).toUpperCase(),blurValue:String(t.value).toUpperCase()},n.inputId="rc-editable-input-"+BG++,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(e,a.PureComponent||a.Component),IG(e,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var n=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(n,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=gG({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return l.createElement("div",{style:t.wrap},l.createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?l.createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),e}(),kG=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function TG(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var EG=function(){function e(){var t,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var a=arguments.length,r=Array(a),s=0;s<a;s++)r[s]=arguments[s];return n=i=TG(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(r))),i.handleChange=function(e){var t=function(e,t,n,i){var a=i.clientWidth,r=i.clientHeight,s="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,o=s-(i.getBoundingClientRect().left+window.pageXOffset),d=l-(i.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var c=void 0;if(c=d<0?359:d>r?0:360*(-100*d/r+100)/100,n.h!==c)return{h:c,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{var u=void 0;if(u=o<0?0:o>a?359:100*o/a*360/100,n.h!==u)return{h:u,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null}(e,i.props.direction,i.props.hsl,i.container);t&&"function"==typeof i.props.onChange&&i.props.onChange(t,e)},i.handleMouseDown=function(e){i.handleChange(e),window.addEventListener("mousemove",i.handleChange),window.addEventListener("mouseup",i.handleMouseUp)},i.handleMouseUp=function(){i.unbindEventListeners()},TG(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(e,a.PureComponent||a.Component),kG(e,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,i=gG({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return l.createElement("div",{style:i.hue},l.createElement("div",{className:"hue-"+n,style:i.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},l.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),l.createElement("div",{style:i.pointer},this.props.pointer?l.createElement(this.props.pointer,this.props):l.createElement("div",{style:i.slider}))))}}]),e}();function DG(e,t){return e===t||e!=e&&t!=t}function LG(e,t){for(var n=e.length;n--;)if(DG(e[n][0],t))return n;return-1}var UG=Array.prototype.splice;function _G(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}_G.prototype.clear=function(){this.__data__=[],this.size=0},_G.prototype.delete=function(e){var t=this.__data__,n=LG(t,e);return!(n<0)&&(n==t.length-1?t.pop():UG.call(t,n,1),--this.size,!0)},_G.prototype.get=function(e){var t=this.__data__,n=LG(t,e);return n<0?void 0:t[n][1]},_G.prototype.has=function(e){return LG(this.__data__,e)>-1},_G.prototype.set=function(e,t){var n=this.__data__,i=LG(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this};const OG="object"==typeof global&&global&&global.Object===Object&&global;var MG="object"==typeof self&&self&&self.Object===Object&&self;const RG=OG||MG||Function("return this")();const QG=RG.Symbol;var HG=Object.prototype,VG=HG.hasOwnProperty,zG=HG.toString,qG=QG?QG.toStringTag:void 0;var WG=Object.prototype.toString;var YG=QG?QG.toStringTag:void 0;function KG(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":YG&&YG in Object(e)?function(e){var t=VG.call(e,qG),n=e[qG];try{e[qG]=void 0;var i=!0}catch(Ou){}var a=zG.call(e);return i&&(t?e[qG]=n:delete e[qG]),a}(e):function(e){return WG.call(e)}(e)}function GG(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function $G(e){if(!GG(e))return!1;var t=KG(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}const XG=RG["__core-js_shared__"];var JG=function(){var e=/[^.]+$/.exec(XG&&XG.keys&&XG.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var ZG=Function.prototype.toString;function e$(e){if(null!=e){try{return ZG.call(e)}catch(Ou){}try{return e+""}catch(Ou){}}return""}var t$=/^\[object .+?Constructor\]$/,n$=Function.prototype,i$=Object.prototype,a$=n$.toString,r$=i$.hasOwnProperty,s$=RegExp("^"+a$.call(r$).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function l$(e){return!(!GG(e)||(t=e,JG&&JG in t))&&($G(e)?s$:t$).test(e$(e));var t}function o$(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return l$(n)?n:void 0}const d$=o$(RG,"Map");const c$=o$(Object,"create");var u$=Object.prototype.hasOwnProperty;var p$=Object.prototype.hasOwnProperty;function A$(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function h$(e,t){var n,i,a=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?a["string"==typeof t?"string":"hash"]:a.map}function f$(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}A$.prototype.clear=function(){this.__data__=c$?c$(null):{},this.size=0},A$.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},A$.prototype.get=function(e){var t=this.__data__;if(c$){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return u$.call(t,e)?t[e]:void 0},A$.prototype.has=function(e){var t=this.__data__;return c$?void 0!==t[e]:p$.call(t,e)},A$.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=c$&&void 0===t?"__lodash_hash_undefined__":t,this},f$.prototype.clear=function(){this.size=0,this.__data__={hash:new A$,map:new(d$||_G),string:new A$}},f$.prototype.delete=function(e){var t=h$(this,e).delete(e);return this.size-=t?1:0,t},f$.prototype.get=function(e){return h$(this,e).get(e)},f$.prototype.has=function(e){return h$(this,e).has(e)},f$.prototype.set=function(e,t){var n=h$(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this};function m$(e){var t=this.__data__=new _G(e);this.size=t.size}m$.prototype.clear=function(){this.__data__=new _G,this.size=0},m$.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},m$.prototype.get=function(e){return this.__data__.get(e)},m$.prototype.has=function(e){return this.__data__.has(e)},m$.prototype.set=function(e,t){var n=this.__data__;if(n instanceof _G){var i=n.__data__;if(!d$||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new f$(i)}return n.set(e,t),this.size=n.size,this};var v$=function(){try{var e=o$(Object,"defineProperty");return e({},"",{}),e}catch(Ou){}}();const g$=v$;function y$(e,t,n){"__proto__"==t&&g$?g$(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function x$(e,t,n){(void 0!==n&&!DG(e[t],n)||void 0===n&&!(t in e))&&y$(e,t,n)}var b$,w$=function(e,t,n){for(var i=-1,a=Object(e),r=n(e),s=r.length;s--;){var l=r[b$?s:++i];if(!1===t(a[l],l,a))break}return e};const j$=w$;var C$="object"==typeof exports&&exports&&!exports.nodeType&&exports,S$=C$&&"object"==typeof module&&module&&!module.nodeType&&module,N$=S$&&S$.exports===C$?RG.Buffer:void 0,I$=N$?N$.allocUnsafe:void 0;const F$=RG.Uint8Array;function B$(e,t){var n,i,a=t?(n=e.buffer,i=new n.constructor(n.byteLength),new F$(i).set(new F$(n)),i):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}var P$=Object.create,k$=function(){function e(){}return function(t){if(!GG(t))return{};if(P$)return P$(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const T$=k$;function E$(e,t){return function(n){return e(t(n))}}const D$=E$(Object.getPrototypeOf,Object);var L$=Object.prototype;function U$(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||L$)}function _$(e){return null!=e&&"object"==typeof e}function O$(e){return _$(e)&&"[object Arguments]"==KG(e)}var M$=Object.prototype,R$=M$.hasOwnProperty,Q$=M$.propertyIsEnumerable;const H$=O$(function(){return arguments}())?O$:function(e){return _$(e)&&R$.call(e,"callee")&&!Q$.call(e,"callee")};const V$=Array.isArray;function z$(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function q$(e){return null!=e&&z$(e.length)&&!$G(e)}var W$="object"==typeof exports&&exports&&!exports.nodeType&&exports,Y$=W$&&"object"==typeof module&&module&&!module.nodeType&&module,K$=Y$&&Y$.exports===W$?RG.Buffer:void 0;const G$=(K$?K$.isBuffer:void 0)||function(){return!1};var $$=Function.prototype,X$=Object.prototype,J$=$$.toString,Z$=X$.hasOwnProperty,eX=J$.call(Object);var tX={};tX["[object Float32Array]"]=tX["[object Float64Array]"]=tX["[object Int8Array]"]=tX["[object Int16Array]"]=tX["[object Int32Array]"]=tX["[object Uint8Array]"]=tX["[object Uint8ClampedArray]"]=tX["[object Uint16Array]"]=tX["[object Uint32Array]"]=!0,tX["[object Arguments]"]=tX["[object Array]"]=tX["[object ArrayBuffer]"]=tX["[object Boolean]"]=tX["[object DataView]"]=tX["[object Date]"]=tX["[object Error]"]=tX["[object Function]"]=tX["[object Map]"]=tX["[object Number]"]=tX["[object Object]"]=tX["[object RegExp]"]=tX["[object Set]"]=tX["[object String]"]=tX["[object WeakMap]"]=!1;var nX="object"==typeof exports&&exports&&!exports.nodeType&&exports,iX=nX&&"object"==typeof module&&module&&!module.nodeType&&module,aX=iX&&iX.exports===nX&&OG.process,rX=function(){try{var e=iX&&iX.require&&iX.require("util").types;return e||aX&&aX.binding&&aX.binding("util")}catch(Ou){}}();var sX,lX=rX&&rX.isTypedArray;const oX=lX?(sX=lX,function(e){return sX(e)}):function(e){return _$(e)&&z$(e.length)&&!!tX[KG(e)]};function dX(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var cX=Object.prototype.hasOwnProperty;function uX(e,t,n){var i=e[t];cX.call(e,t)&&DG(i,n)&&(void 0!==n||t in e)||y$(e,t,n)}var pX=/^(?:0|[1-9]\d*)$/;function AX(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&pX.test(e))&&e>-1&&e%1==0&&e<t}var hX=Object.prototype.hasOwnProperty;function fX(e,t){var n=V$(e),i=!n&&H$(e),a=!n&&!i&&G$(e),r=!n&&!i&&!a&&oX(e),s=n||i||a||r,l=s?function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}(e.length,String):[],o=l.length;for(var d in e)!t&&!hX.call(e,d)||s&&("length"==d||a&&("offset"==d||"parent"==d)||r&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||AX(d,o))||l.push(d);return l}var mX=Object.prototype.hasOwnProperty;function vX(e){if(!GG(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=U$(e),n=[];for(var i in e)("constructor"!=i||!t&&mX.call(e,i))&&n.push(i);return n}function gX(e){return q$(e)?fX(e,!0):vX(e)}function yX(e){return function(e,t,n,i){var a=!n;n||(n={});for(var r=-1,s=t.length;++r<s;){var l=t[r],o=i?i(n[l],e[l],l,n,e):void 0;void 0===o&&(o=e[l]),a?y$(n,l,o):uX(n,l,o)}return n}(e,gX(e))}function xX(e,t,n,i,a,r,s){var l=dX(e,n),o=dX(t,n),d=s.get(o);if(d)x$(e,n,d);else{var c,u=r?r(l,o,n+"",e,t,s):void 0,p=void 0===u;if(p){var A=V$(o),h=!A&&G$(o),f=!A&&!h&&oX(o);u=o,A||h||f?V$(l)?u=l:_$(c=l)&&q$(c)?u=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}(l):h?(p=!1,u=function(e,t){if(t)return e.slice();var n=e.length,i=I$?I$(n):new e.constructor(n);return e.copy(i),i}(o,!0)):f?(p=!1,u=B$(o,!0)):u=[]:function(e){if(!_$(e)||"[object Object]"!=KG(e))return!1;var t=D$(e);if(null===t)return!0;var n=Z$.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&J$.call(n)==eX}(o)||H$(o)?(u=l,H$(l)?u=yX(l):GG(l)&&!$G(l)||(u=function(e){return"function"!=typeof e.constructor||U$(e)?{}:T$(D$(e))}(o))):p=!1}p&&(s.set(o,u),a(u,o,i,r,s),s.delete(o)),x$(e,n,u)}}function bX(e,t,n,i,a){e!==t&&j$(t,(function(r,s){if(a||(a=new m$),GG(r))xX(e,t,s,n,bX,i,a);else{var l=i?i(dX(e,s),r,s+"",e,t,a):void 0;void 0===l&&(l=r),x$(e,s,l)}}),gX)}function wX(e){return e}var jX=Math.max;var CX=g$?function(e,t){return g$(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:wX;const SX=CX;var NX=Date.now;var IX=function(e){var t=0,n=0;return function(){var i=NX(),a=16-(i-n);if(n=i,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(SX);const FX=IX;function BX(e,t){return FX(function(e,t,n){return t=jX(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,r=jX(i.length-t,0),s=Array(r);++a<r;)s[a]=i[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=i[a];return l[t]=n(s),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,l)}}(e,t,wX),e+"")}var PX,kX=(PX=function(e,t,n){bX(e,t,n)},BX((function(e,t){var n=-1,i=t.length,a=i>1?t[i-1]:void 0,r=i>2?t[2]:void 0;for(a=PX.length>3&&"function"==typeof a?(i--,a):void 0,r&&function(e,t,n){if(!GG(n))return!1;var i=typeof t;return!!("number"==i?q$(n)&&AX(t,n.length):"string"==i&&t in n)&&DG(n[t],e)}(t[0],t[1],r)&&(a=i<3?void 0:a,i=1),e=Object(e);++n<i;){var s=t[n];s&&PX(e,s,n,a)}return e})));const TX=kX;var EX=function(e){var t=e.zDepth,n=e.radius,i=e.background,a=e.children,r=e.styles,s=gG(TX({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:n,background:i}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},void 0===r?{}:r),{"zDepth-1":1===t});return l.createElement("div",{style:s.wrap},l.createElement("div",{style:s.bg}),l.createElement("div",{style:s.content},a))};EX.propTypes={background:TU.string,zDepth:TU.oneOf([0,1,2,3,4,5]),radius:TU.number,styles:TU.object},EX.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};const DX=function(){return RG.Date.now()};var LX=/\s/;var UX=/^\s+/;function _X(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&LX.test(e.charAt(t)););return t}(e)+1).replace(UX,""):e}function OX(e){return"symbol"==typeof e||_$(e)&&"[object Symbol]"==KG(e)}var MX=/^[-+]0x[0-9a-f]+$/i,RX=/^0b[01]+$/i,QX=/^0o[0-7]+$/i,HX=parseInt;function VX(e){if("number"==typeof e)return e;if(OX(e))return NaN;if(GG(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=GG(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=_X(e);var n=RX.test(e);return n||QX.test(e)?HX(e.slice(2),n?2:8):MX.test(e)?NaN:+e}var zX=Math.max,qX=Math.min;function WX(e,t,n){var i,a,r,s,l,o,d=0,c=!1,u=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function A(t){var n=i,r=a;return i=a=void 0,d=t,s=e.apply(r,n)}function h(e){var n=e-o;return void 0===o||n>=t||n<0||u&&e-d>=r}function f(){var e=DX();if(h(e))return m(e);l=setTimeout(f,function(e){var n=t-(e-o);return u?qX(n,r-(e-d)):n}(e))}function m(e){return l=void 0,p&&i?A(e):(i=a=void 0,s)}function v(){var e=DX(),n=h(e);if(i=arguments,a=this,o=e,n){if(void 0===l)return function(e){return d=e,l=setTimeout(f,t),c?A(e):s}(o);if(u)return clearTimeout(l),l=setTimeout(f,t),A(o)}return void 0===l&&(l=setTimeout(f,t)),s}return t=VX(t)||0,GG(n)&&(c=!!n.leading,r=(u="maxWait"in n)?zX(VX(n.maxWait)||0,t):r,p="trailing"in n?!!n.trailing:p),v.cancel=function(){void 0!==l&&clearTimeout(l),d=0,i=o=a=l=void 0},v.flush=function(){return void 0===l?s:m(DX())},v}var YX=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var KX=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleChange=function(e){"function"==typeof n.props.onChange&&n.throttle(n.props.onChange,function(e,t,n){var i=n.getBoundingClientRect(),a=i.width,r=i.height,s="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,o=s-(n.getBoundingClientRect().left+window.pageXOffset),d=l-(n.getBoundingClientRect().top+window.pageYOffset);o<0?o=0:o>a&&(o=a),d<0?d=0:d>r&&(d=r);var c=o/a,u=1-d/r;return{h:t.h,s:c,v:u,a:t.a,source:"hsv"}}(e,n.props.hsl,n.container),e)},n.handleMouseDown=function(e){n.handleChange(e);var t=n.getContainerRenderWindow();t.addEventListener("mousemove",n.handleChange),t.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return GG(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),WX(e,t,{leading:i,maxWait:t,trailing:a})}((function(e,t,n){e(t,n)}),50),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(e,a.PureComponent||a.Component),YX(e,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},n=t.color,i=t.white,a=t.black,r=t.pointer,s=t.circle,o=gG({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:i,black:a,pointer:r,circle:s}},{custom:!!this.props.style});return l.createElement("div",{style:o.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},l.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),l.createElement("div",{style:o.white,className:"saturation-white"},l.createElement("div",{style:o.black,className:"saturation-black"}),l.createElement("div",{style:o.pointer},this.props.pointer?l.createElement(this.props.pointer,this.props):l.createElement("div",{style:o.circle}))))}}]),e}();function GX(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}const $X=E$(Object.keys,Object);var XX=Object.prototype.hasOwnProperty;function JX(e){return q$(e)?fX(e):function(e){if(!U$(e))return $X(e);var t=[];for(var n in Object(e))XX.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}var ZX=function(e,t){return function(n,i){if(null==n)return n;if(!q$(n))return e(n,i);for(var a=n.length,r=t?a:-1,s=Object(n);(t?r--:++r<a)&&!1!==i(s[r],r,s););return n}}((function(e,t){return e&&j$(e,t,JX)}));const eJ=ZX;function tJ(e,t){var n;return(V$(e)?GX:eJ)(e,"function"==typeof(n=t)?n:wX)}function nJ(e){return(nJ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var iJ=/^\s+/,aJ=/\s+$/;function rJ(e,t){if(t=t||{},(e=e||"")instanceof rJ)return e;if(!(this instanceof rJ))return new rJ(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,i=null,a=null,r=null,s=!1,l=!1;"string"==typeof e&&(e=function(e){e=e.replace(iJ,"").replace(aJ,"").toLowerCase();var t,n=!1;if(wJ[e])e=wJ[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=LJ.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=LJ.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=LJ.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=LJ.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=LJ.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=LJ.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=LJ.hex8.exec(e))return{r:IJ(t[1]),g:IJ(t[2]),b:IJ(t[3]),a:kJ(t[4]),format:n?"name":"hex8"};if(t=LJ.hex6.exec(e))return{r:IJ(t[1]),g:IJ(t[2]),b:IJ(t[3]),format:n?"name":"hex"};if(t=LJ.hex4.exec(e))return{r:IJ(t[1]+""+t[1]),g:IJ(t[2]+""+t[2]),b:IJ(t[3]+""+t[3]),a:kJ(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=LJ.hex3.exec(e))return{r:IJ(t[1]+""+t[1]),g:IJ(t[2]+""+t[2]),b:IJ(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==nJ(e)&&(UJ(e.r)&&UJ(e.g)&&UJ(e.b)?(o=e.r,d=e.g,c=e.b,t={r:255*SJ(o,255),g:255*SJ(d,255),b:255*SJ(c,255)},s=!0,l="%"===String(e.r).substr(-1)?"prgb":"rgb"):UJ(e.h)&&UJ(e.s)&&UJ(e.v)?(i=BJ(e.s),a=BJ(e.v),t=function(e,t,n){e=6*SJ(e,360),t=SJ(t,100),n=SJ(n,100);var i=Math.floor(e),a=e-i,r=n*(1-t),s=n*(1-a*t),l=n*(1-(1-a)*t),o=i%6,d=[n,s,r,r,l,n][o],c=[l,n,n,s,r,r][o],u=[r,r,l,n,n,s][o];return{r:255*d,g:255*c,b:255*u}}(e.h,i,a),s=!0,l="hsv"):UJ(e.h)&&UJ(e.s)&&UJ(e.l)&&(i=BJ(e.s),r=BJ(e.l),t=function(e,t,n){var i,a,r;function s(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=SJ(e,360),t=SJ(t,100),n=SJ(n,100),0===t)i=a=r=n;else{var l=n<.5?n*(1+t):n+t-n*t,o=2*n-l;i=s(o,l,e+1/3),a=s(o,l,e),r=s(o,l,e-1/3)}return{r:255*i,g:255*a,b:255*r}}(e.h,i,r),s=!0,l="hsl"),e.hasOwnProperty("a")&&(n=e.a));var o,d,c;return n=CJ(n),{ok:s,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function sJ(e,t,n){e=SJ(e,255),t=SJ(t,255),n=SJ(n,255);var i,a,r=Math.max(e,t,n),s=Math.min(e,t,n),l=(r+s)/2;if(r==s)i=a=0;else{var o=r-s;switch(a=l>.5?o/(2-r-s):o/(r+s),r){case e:i=(t-n)/o+(t<n?6:0);break;case t:i=(n-e)/o+2;break;case n:i=(e-t)/o+4}i/=6}return{h:i,s:a,l:l}}function lJ(e,t,n){e=SJ(e,255),t=SJ(t,255),n=SJ(n,255);var i,a,r=Math.max(e,t,n),s=Math.min(e,t,n),l=r,o=r-s;if(a=0===r?0:o/r,r==s)i=0;else{switch(r){case e:i=(t-n)/o+(t<n?6:0);break;case t:i=(n-e)/o+2;break;case n:i=(e-t)/o+4}i/=6}return{h:i,s:a,v:l}}function oJ(e,t,n,i){var a=[FJ(Math.round(e).toString(16)),FJ(Math.round(t).toString(16)),FJ(Math.round(n).toString(16))];return i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function dJ(e,t,n,i){return[FJ(PJ(i)),FJ(Math.round(e).toString(16)),FJ(Math.round(t).toString(16)),FJ(Math.round(n).toString(16))].join("")}function cJ(e,t){t=0===t?0:t||10;var n=rJ(e).toHsl();return n.s-=t/100,n.s=NJ(n.s),rJ(n)}function uJ(e,t){t=0===t?0:t||10;var n=rJ(e).toHsl();return n.s+=t/100,n.s=NJ(n.s),rJ(n)}function pJ(e){return rJ(e).desaturate(100)}function AJ(e,t){t=0===t?0:t||10;var n=rJ(e).toHsl();return n.l+=t/100,n.l=NJ(n.l),rJ(n)}function hJ(e,t){t=0===t?0:t||10;var n=rJ(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),rJ(n)}function fJ(e,t){t=0===t?0:t||10;var n=rJ(e).toHsl();return n.l-=t/100,n.l=NJ(n.l),rJ(n)}function mJ(e,t){var n=rJ(e).toHsl(),i=(n.h+t)%360;return n.h=i<0?360+i:i,rJ(n)}function vJ(e){var t=rJ(e).toHsl();return t.h=(t.h+180)%360,rJ(t)}function gJ(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=rJ(e).toHsl(),i=[rJ(e)],a=360/t,r=1;r<t;r++)i.push(rJ({h:(n.h+r*a)%360,s:n.s,l:n.l}));return i}function yJ(e){var t=rJ(e).toHsl(),n=t.h;return[rJ(e),rJ({h:(n+72)%360,s:t.s,l:t.l}),rJ({h:(n+216)%360,s:t.s,l:t.l})]}function xJ(e,t,n){t=t||6,n=n||30;var i=rJ(e).toHsl(),a=360/n,r=[rJ(e)];for(i.h=(i.h-(a*t>>1)+720)%360;--t;)i.h=(i.h+a)%360,r.push(rJ(i));return r}function bJ(e,t){t=t||6;for(var n=rJ(e).toHsv(),i=n.h,a=n.s,r=n.v,s=[],l=1/t;t--;)s.push(rJ({h:i,s:a,v:r})),r=(r+l)%1;return s}rJ.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,i=this.toRgb();return e=i.r/255,t=i.g/255,n=i.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=CJ(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=lJ(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=lJ(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),i=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+i+"%)":"hsva("+t+", "+n+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var e=sJ(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=sJ(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),i=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+i+"%)":"hsla("+t+", "+n+"%, "+i+"%, "+this._roundA+")"},toHex:function(e){return oJ(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,i,a){var r=[FJ(Math.round(e).toString(16)),FJ(Math.round(t).toString(16)),FJ(Math.round(n).toString(16)),FJ(PJ(i))];if(a&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)&&r[3].charAt(0)==r[3].charAt(1))return r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0)+r[3].charAt(0);return r.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*SJ(this._r,255))+"%",g:Math.round(100*SJ(this._g,255))+"%",b:Math.round(100*SJ(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*SJ(this._r,255))+"%, "+Math.round(100*SJ(this._g,255))+"%, "+Math.round(100*SJ(this._b,255))+"%)":"rgba("+Math.round(100*SJ(this._r,255))+"%, "+Math.round(100*SJ(this._g,255))+"%, "+Math.round(100*SJ(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(jJ[oJ(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+dJ(this._r,this._g,this._b,this._a),n=t,i=this._gradientType?"GradientType = 1, ":"";if(e){var a=rJ(e);n="#"+dJ(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,i=this._a<1&&this._a>=0;return t||!i||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return rJ(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(AJ,arguments)},brighten:function(){return this._applyModification(hJ,arguments)},darken:function(){return this._applyModification(fJ,arguments)},desaturate:function(){return this._applyModification(cJ,arguments)},saturate:function(){return this._applyModification(uJ,arguments)},greyscale:function(){return this._applyModification(pJ,arguments)},spin:function(){return this._applyModification(mJ,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(xJ,arguments)},complement:function(){return this._applyCombination(vJ,arguments)},monochromatic:function(){return this._applyCombination(bJ,arguments)},splitcomplement:function(){return this._applyCombination(yJ,arguments)},triad:function(){return this._applyCombination(gJ,[3])},tetrad:function(){return this._applyCombination(gJ,[4])}},rJ.fromRatio=function(e,t){if("object"==nJ(e)){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]="a"===i?e[i]:BJ(e[i]));e=n}return rJ(e,t)},rJ.equals=function(e,t){return!(!e||!t)&&rJ(e).toRgbString()==rJ(t).toRgbString()},rJ.random=function(){return rJ.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},rJ.mix=function(e,t,n){n=0===n?0:n||50;var i=rJ(e).toRgb(),a=rJ(t).toRgb(),r=n/100;return rJ({r:(a.r-i.r)*r+i.r,g:(a.g-i.g)*r+i.g,b:(a.b-i.b)*r+i.b,a:(a.a-i.a)*r+i.a})},rJ.readability=function(e,t){var n=rJ(e),i=rJ(t);return(Math.max(n.getLuminance(),i.getLuminance())+.05)/(Math.min(n.getLuminance(),i.getLuminance())+.05)},rJ.isReadable=function(e,t,n){var i,a,r=rJ.readability(e,t);switch(a=!1,(i=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+i.size){case"AAsmall":case"AAAlarge":a=r>=4.5;break;case"AAlarge":a=r>=3;break;case"AAAsmall":a=r>=7}return a},rJ.mostReadable=function(e,t,n){var i,a,r,s,l=null,o=0;a=(n=n||{}).includeFallbackColors,r=n.level,s=n.size;for(var d=0;d<t.length;d++)(i=rJ.readability(e,t[d]))>o&&(o=i,l=rJ(t[d]));return rJ.isReadable(e,l,{level:r,size:s})||!a?l:(n.includeFallbackColors=!1,rJ.mostReadable(e,["#fff","#000"],n))};var wJ=rJ.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},jJ=rJ.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(wJ);function CJ(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function SJ(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function NJ(e){return Math.min(1,Math.max(0,e))}function IJ(e){return parseInt(e,16)}function FJ(e){return 1==e.length?"0"+e:""+e}function BJ(e){return e<=1&&(e=100*e+"%"),e}function PJ(e){return Math.round(255*parseFloat(e)).toString(16)}function kJ(e){return IJ(e)/255}var TJ,EJ,DJ,LJ=(EJ="[\\s|\\(]+("+(TJ="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+TJ+")[,|\\s]+("+TJ+")\\s*\\)?",DJ="[\\s|\\(]+("+TJ+")[,|\\s]+("+TJ+")[,|\\s]+("+TJ+")[,|\\s]+("+TJ+")\\s*\\)?",{CSS_UNIT:new RegExp(TJ),rgb:new RegExp("rgb"+EJ),rgba:new RegExp("rgba"+DJ),hsl:new RegExp("hsl"+EJ),hsla:new RegExp("hsla"+DJ),hsv:new RegExp("hsv"+EJ),hsva:new RegExp("hsva"+DJ),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function UJ(e){return!!LJ.CSS_UNIT.exec(e)}var _J=function(e){var t=0,n=0;return tJ(["r","g","b","a","h","s","l","v"],(function(i){if(e[i]&&(t+=1,isNaN(e[i])||(n+=1),"s"===i||"l"===i)){/^\d+%$/.test(e[i])&&(n+=1)}})),t===n&&e},OJ=function(e,t){var n=e.hex?rJ(e.hex):rJ(e),i=n.toHsl(),a=n.toHsv(),r=n.toRgb(),s=n.toHex();return 0===i.s&&(i.h=t||0,a.h=t||0),{hsl:i,hex:"000000"===s&&0===r.a?"transparent":"#"+s,rgb:r,hsv:a,oldHue:e.h||t||i.h,source:e.source}},MJ=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&rJ(e).isValid()},RJ=function(e){if(!e)return"#fff";var t=OJ(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},QJ=function(e,t){return rJ(t+" ("+e.replace("°","")+")")._ok},HJ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},VJ=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var zJ=function(e){var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.handleChange=function(e,t){if(_J(e)){var i=OJ(e,e.h||n.state.oldHue);n.setState(i),n.props.onChangeComplete&&n.debounce(n.props.onChangeComplete,i,t),n.props.onChange&&n.props.onChange(i,t)}},n.handleSwatchHover=function(e,t){if(_J(e)){var i=OJ(e,e.h||n.state.oldHue);n.props.onSwatchHover&&n.props.onSwatchHover(i,t)}},n.state=HJ({},OJ(e.color,0)),n.debounce=WX((function(e,t,n){e(t,n)}),100),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.PureComponent||a.Component),VJ(t,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),l.createElement(e,HJ({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return HJ({},OJ(e.color,t.oldHue))}}]),t}();return t.propTypes=HJ({},e.propTypes),t.defaultProps=HJ({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t},qJ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},WJ=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function YJ(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var KJ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};const GJ=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(){function n(){var e,t,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var a=arguments.length,r=Array(a),s=0;s<a;s++)r[s]=arguments[s];return t=i=YJ(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(r))),i.state={focus:!1},i.handleFocus=function(){return i.setState({focus:!0})},i.handleBlur=function(){return i.setState({focus:!1})},YJ(i,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,l.Component),WJ(n,[{key:"render",value:function(){return l.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},l.createElement(e,qJ({},this.props,this.state)))}}]),n}()}((function(e){var t=e.color,n=e.style,i=e.onClick,a=void 0===i?function(){}:i,r=e.onHover,s=e.title,o=void 0===s?t:s,d=e.children,c=e.focus,u=e.focusStyle,p="transparent"===t,A=gG({default:{swatch:KJ({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,c?void 0===u?{}:u:{})}}),h={};return r&&(h.onMouseOver=function(e){return r(t,e)}),l.createElement("div",KJ({style:A.swatch,onClick:function(e){return a(t,e)},title:o,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&a(t,e)}},h),d,p&&l.createElement(wG,{borderRadius:A.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))}));var $J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},XJ=function(e){var t=e.rgb,n=e.hsl,i=e.width,a=e.height,r=e.onChange,s=e.direction,o=e.style,d=e.renderers,c=e.pointer,u=e.className,p=void 0===u?"":u,A=gG({default:{picker:{position:"relative",width:i,height:a},alpha:{radius:"2px",style:o}}});return l.createElement("div",{style:A.picker,className:"alpha-picker "+p},l.createElement(NG,$J({},A.alpha,{rgb:t,hsl:n,pointer:c,renderers:d,onChange:r,direction:s})))};function JJ(e,t){for(var n=-1,i=null==e?0:e.length,a=Array(i);++n<i;)a[n]=t(e[n],n,e);return a}XJ.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){var t=e.direction,n=gG({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return l.createElement("div",{style:n.picker})}},zJ(XJ);function ZJ(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new f$;++t<n;)this.add(e[t])}function eZ(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}ZJ.prototype.add=ZJ.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ZJ.prototype.has=function(e){return this.__data__.has(e)};function tZ(e,t,n,i,a,r){var s=1&n,l=e.length,o=t.length;if(l!=o&&!(s&&o>l))return!1;var d=r.get(e),c=r.get(t);if(d&&c)return d==t&&c==e;var u=-1,p=!0,A=2&n?new ZJ:void 0;for(r.set(e,t),r.set(t,e);++u<l;){var h=e[u],f=t[u];if(i)var m=s?i(f,h,u,t,e,r):i(h,f,u,e,t,r);if(void 0!==m){if(m)continue;p=!1;break}if(A){if(!eZ(t,(function(e,t){if(s=t,!A.has(s)&&(h===e||a(h,e,n,i,r)))return A.push(t);var s}))){p=!1;break}}else if(h!==f&&!a(h,f,n,i,r)){p=!1;break}}return r.delete(e),r.delete(t),p}function nZ(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}function iZ(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var aZ=QG?QG.prototype:void 0,rZ=aZ?aZ.valueOf:void 0;var sZ=Object.prototype.propertyIsEnumerable,lZ=Object.getOwnPropertySymbols,oZ=lZ?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,i=null==e?0:e.length,a=0,r=[];++n<i;){var s=e[n];t(s,n,e)&&(r[a++]=s)}return r}(lZ(e),(function(t){return sZ.call(e,t)})))}:function(){return[]};const dZ=oZ;function cZ(e){return function(e,t,n){var i=t(e);return V$(e)?i:function(e,t){for(var n=-1,i=t.length,a=e.length;++n<i;)e[a+n]=t[n];return e}(i,n(e))}(e,JX,dZ)}var uZ=Object.prototype.hasOwnProperty;const pZ=o$(RG,"DataView");const AZ=o$(RG,"Promise");const hZ=o$(RG,"Set");const fZ=o$(RG,"WeakMap");var mZ="[object Map]",vZ="[object Promise]",gZ="[object Set]",yZ="[object WeakMap]",xZ="[object DataView]",bZ=e$(pZ),wZ=e$(d$),jZ=e$(AZ),CZ=e$(hZ),SZ=e$(fZ),NZ=KG;(pZ&&NZ(new pZ(new ArrayBuffer(1)))!=xZ||d$&&NZ(new d$)!=mZ||AZ&&NZ(AZ.resolve())!=vZ||hZ&&NZ(new hZ)!=gZ||fZ&&NZ(new fZ)!=yZ)&&(NZ=function(e){var t=KG(e),n="[object Object]"==t?e.constructor:void 0,i=n?e$(n):"";if(i)switch(i){case bZ:return xZ;case wZ:return mZ;case jZ:return vZ;case CZ:return gZ;case SZ:return yZ}return t});const IZ=NZ;var FZ="[object Arguments]",BZ="[object Array]",PZ="[object Object]",kZ=Object.prototype.hasOwnProperty;function TZ(e,t,n,i,a,r){var s=V$(e),l=V$(t),o=s?BZ:IZ(e),d=l?BZ:IZ(t),c=(o=o==FZ?PZ:o)==PZ,u=(d=d==FZ?PZ:d)==PZ,p=o==d;if(p&&G$(e)){if(!G$(t))return!1;s=!0,c=!1}if(p&&!c)return r||(r=new m$),s||oX(e)?tZ(e,t,n,i,a,r):function(e,t,n,i,a,r,s){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new F$(e),new F$(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return DG(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var l=nZ;case"[object Set]":var o=1&i;if(l||(l=iZ),e.size!=t.size&&!o)return!1;var d=s.get(e);if(d)return d==t;i|=2,s.set(e,t);var c=tZ(l(e),l(t),i,a,r,s);return s.delete(e),c;case"[object Symbol]":if(rZ)return rZ.call(e)==rZ.call(t)}return!1}(e,t,o,n,i,a,r);if(!(1&n)){var A=c&&kZ.call(e,"__wrapped__"),h=u&&kZ.call(t,"__wrapped__");if(A||h){var f=A?e.value():e,m=h?t.value():t;return r||(r=new m$),a(f,m,n,i,r)}}return!!p&&(r||(r=new m$),function(e,t,n,i,a,r){var s=1&n,l=cZ(e),o=l.length;if(o!=cZ(t).length&&!s)return!1;for(var d=o;d--;){var c=l[d];if(!(s?c in t:uZ.call(t,c)))return!1}var u=r.get(e),p=r.get(t);if(u&&p)return u==t&&p==e;var A=!0;r.set(e,t),r.set(t,e);for(var h=s;++d<o;){var f=e[c=l[d]],m=t[c];if(i)var v=s?i(m,f,c,t,e,r):i(f,m,c,e,t,r);if(!(void 0===v?f===m||a(f,m,n,i,r):v)){A=!1;break}h||(h="constructor"==c)}if(A&&!h){var g=e.constructor,y=t.constructor;g==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof y&&y instanceof y||(A=!1)}return r.delete(e),r.delete(t),A}(e,t,n,i,a,r))}function EZ(e,t,n,i,a){return e===t||(null==e||null==t||!_$(e)&&!_$(t)?e!=e&&t!=t:TZ(e,t,n,i,EZ,a))}function DZ(e){return e==e&&!GG(e)}function LZ(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}function UZ(e){var t=function(e){for(var t=JX(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,DZ(a)]}return t}(e);return 1==t.length&&t[0][2]?LZ(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,i){var a=n.length,r=a,s=!i;if(null==e)return!r;for(e=Object(e);a--;){var l=n[a];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<r;){var o=(l=n[a])[0],d=e[o],c=l[1];if(s&&l[2]){if(void 0===d&&!(o in e))return!1}else{var u=new m$;if(i)var p=i(d,c,o,e,t,u);if(!(void 0===p?EZ(c,d,3,i,u):p))return!1}}return!0}(n,e,t)}}var _Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,OZ=/^\w*$/;function MZ(e,t){if(V$(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!OX(e))||(OZ.test(e)||!_Z.test(e)||null!=t&&e in Object(t))}function RZ(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var i=arguments,a=t?t.apply(this,i):i[0],r=n.cache;if(r.has(a))return r.get(a);var s=e.apply(this,i);return n.cache=r.set(a,s)||r,s};return n.cache=new(RZ.Cache||f$),n}RZ.Cache=f$;var QZ=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,HZ=/\\(\\)?/g,VZ=function(e){var t=RZ(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(QZ,(function(e,n,i,a){t.push(i?a.replace(HZ,"$1"):n||e)})),t}));const zZ=VZ;var qZ=QG?QG.prototype:void 0,WZ=qZ?qZ.toString:void 0;function YZ(e){if("string"==typeof e)return e;if(V$(e))return JJ(e,YZ)+"";if(OX(e))return WZ?WZ.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function KZ(e,t){return V$(e)?e:MZ(e,t)?[e]:zZ(function(e){return null==e?"":YZ(e)}(e))}function GZ(e){if("string"==typeof e||OX(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function $Z(e,t){for(var n=0,i=(t=KZ(t,e)).length;null!=e&&n<i;)e=e[GZ(t[n++])];return n&&n==i?e:void 0}function XZ(e,t){return null!=e&&t in Object(e)}function JZ(e,t){return null!=e&&function(e,t,n){for(var i=-1,a=(t=KZ(t,e)).length,r=!1;++i<a;){var s=GZ(t[i]);if(!(r=null!=e&&n(e,s)))break;e=e[s]}return r||++i!=a?r:!!(a=null==e?0:e.length)&&z$(a)&&AX(s,a)&&(V$(e)||H$(e))}(e,t,XZ)}function ZZ(e,t){return MZ(e)&&DZ(t)?LZ(GZ(e),t):function(n){var i=function(e,t,n){var i=null==e?void 0:$Z(e,t);return void 0===i?n:i}(n,e);return void 0===i&&i===t?JZ(n,e):EZ(t,i,3)}}function e0(e){return MZ(e)?(t=GZ(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return $Z(t,e)}}(e);var t}function t0(e,t){var n=-1,i=q$(e)?Array(e.length):[];return eJ(e,(function(e,a,r){i[++n]=t(e,a,r)})),i}function n0(e,t){var n;return(V$(e)?JJ:t0)(e,"function"==typeof(n=t)?n:null==n?wX:"object"==typeof n?V$(n)?ZZ(n[0],n[1]):UZ(n):e0(n))}var i0=function(e){var t=e.colors,n=e.onClick,i=e.onSwatchHover,a=gG({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return l.createElement("div",{style:a.swatches},n0(t,(function(e){return l.createElement(GJ,{key:e,color:e,style:a.swatch,onClick:n,onHover:i,focusStyle:{boxShadow:"0 0 4px "+e}})})),l.createElement("div",{style:a.clear}))},a0=function(e){var t=e.onChange,n=e.onSwatchHover,i=e.hex,a=e.colors,r=e.width,s=e.triangle,o=e.styles,d=void 0===o?{}:o,c=e.className,u=void 0===c?"":c,p="transparent"===i,A=function(e,n){MJ(e)&&t({hex:e,source:"hex"},n)},h=gG(TX({default:{card:{width:r,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:i,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:RJ(i),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+i+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},d),{"hide-triangle":"hide"===s});return l.createElement("div",{style:h.card,className:"block-picker "+u},l.createElement("div",{style:h.triangle}),l.createElement("div",{style:h.head},p&&l.createElement(wG,{borderRadius:"6px 6px 0 0"}),l.createElement("div",{style:h.label},i)),l.createElement("div",{style:h.body},l.createElement(i0,{colors:a,onClick:A,onSwatchHover:n}),l.createElement(PG,{style:{input:h.input},value:i,onChange:A})))};a0.propTypes={width:TU.oneOfType([TU.string,TU.number]),colors:TU.arrayOf(TU.string),triangle:TU.oneOf(["top","hide"]),styles:TU.object},a0.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},zJ(a0);var r0="#ffcdd2",s0="#e57373",l0="#f44336",o0="#d32f2f",d0="#b71c1c",c0="#f8bbd0",u0="#f06292",p0="#e91e63",A0="#c2185b",h0="#880e4f",f0="#e1bee7",m0="#ba68c8",v0="#9c27b0",g0="#7b1fa2",y0="#4a148c",x0="#d1c4e9",b0="#9575cd",w0="#673ab7",j0="#512da8",C0="#311b92",S0="#c5cae9",N0="#7986cb",I0="#3f51b5",F0="#303f9f",B0="#1a237e",P0="#bbdefb",k0="#64b5f6",T0="#2196f3",E0="#1976d2",D0="#0d47a1",L0="#b3e5fc",U0="#4fc3f7",_0="#03a9f4",O0="#0288d1",M0="#01579b",R0="#b2ebf2",Q0="#4dd0e1",H0="#00bcd4",V0="#0097a7",z0="#006064",q0="#b2dfdb",W0="#4db6ac",Y0="#009688",K0="#00796b",G0="#004d40",$0="#c8e6c9",X0="#81c784",J0="#4caf50",Z0="#388e3c",e1="#dcedc8",t1="#aed581",n1="#8bc34a",i1="#689f38",a1="#33691e",r1="#f0f4c3",s1="#dce775",l1="#cddc39",o1="#afb42b",d1="#827717",c1="#fff9c4",u1="#fff176",p1="#ffeb3b",A1="#fbc02d",h1="#f57f17",f1="#ffecb3",m1="#ffd54f",v1="#ffc107",g1="#ffa000",y1="#ff6f00",x1="#ffe0b2",b1="#ffb74d",w1="#ff9800",j1="#f57c00",C1="#e65100",S1="#ffccbc",N1="#ff8a65",I1="#ff5722",F1="#e64a19",B1="#bf360c",P1="#d7ccc8",k1="#a1887f",T1="#795548",E1="#5d4037",D1="#3e2723",L1="#cfd8dc",U1="#90a4ae",_1="#607d8b",O1="#455a64",M1="#263238",R1=function(e){var t=e.color,n=e.onClick,i=e.onSwatchHover,a=e.hover,r=e.active,s=e.circleSize,o=e.circleSpacing,d=gG({default:{swatch:{width:s,height:s,marginRight:o,marginBottom:o,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(s/2+1)+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:a,active:r});return l.createElement("div",{style:d.swatch},l.createElement(GJ,{style:d.Swatch,color:t,onClick:n,onHover:i,focusStyle:{boxShadow:d.Swatch.boxShadow+", 0 0 5px "+t}}))};R1.defaultProps={circleSize:28,circleSpacing:14};const Q1=mG(R1);var H1=function(e){var t=e.width,n=e.onChange,i=e.onSwatchHover,a=e.colors,r=e.hex,s=e.circleSize,o=e.styles,d=void 0===o?{}:o,c=e.circleSpacing,u=e.className,p=void 0===u?"":u,A=gG(TX({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-c,marginBottom:-c}}},d)),h=function(e,t){return n({hex:e,source:"hex"},t)};return l.createElement("div",{style:A.card,className:"circle-picker "+p},n0(a,(function(e){return l.createElement(Q1,{key:e,color:e,onClick:h,onSwatchHover:i,active:r===e.toLowerCase(),circleSize:s,circleSpacing:c})})))};function V1(e){return void 0===e}H1.propTypes={width:TU.oneOfType([TU.string,TU.number]),circleSize:TU.number,circleSpacing:TU.number,styles:TU.object},H1.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[l0,p0,v0,w0,I0,T0,_0,H0,Y0,J0,n1,l1,p1,v1,w1,I1,T1,_1],styles:{}},zJ(H1);var z1={};Object.defineProperty(z1,"__esModule",{value:!0});var q1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},W1=function(e){return e&&e.__esModule?e:{default:e}}(a);var Y1=z1.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,i=e.width,a=void 0===i?24:i,r=e.height,s=void 0===r?24:r,l=e.style,o=void 0===l?{}:l,d=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(e,["fill","width","height","style"]);return W1.default.createElement("svg",q1({viewBox:"0 0 24 24",style:q1({fill:n,width:a,height:s},o)},d),W1.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))},K1=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var G1=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.toggleViews=function(){"hex"===n.state.view?n.setState({view:"rgb"}):"rgb"===n.state.view?n.setState({view:"hsl"}):"hsl"===n.state.view&&(1===n.props.hsl.a?n.setState({view:"hex"}):n.setState({view:"rgb"}))},n.handleChange=function(e,t){e.hex?MJ(e.hex)&&n.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?n.props.onChange({r:e.r||n.props.rgb.r,g:e.g||n.props.rgb.g,b:e.b||n.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),n.props.onChange({h:e.h||n.props.hsl.h,s:Number(V1(e.s)?n.props.hsl.s:e.s),l:Number(V1(e.l)?n.props.hsl.l:e.l),source:"hsl"},t))},n.showHighlight=function(e){e.currentTarget.style.background="#eee"},n.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==t.hsl.a&&"hex"===t.view?n.state={view:"rgb"}:n.state={view:t.view},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(e,l.Component),K1(e,[{key:"render",value:function(){var e=this,t=gG({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=l.createElement("div",{style:t.fields,className:"flexbox-fix"},l.createElement("div",{style:t.field},l.createElement(PG,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=l.createElement("div",{style:t.fields,className:"flexbox-fix"},l.createElement("div",{style:t.field},l.createElement(PG,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),l.createElement("div",{style:t.field},l.createElement(PG,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),l.createElement("div",{style:t.field},l.createElement(PG,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),l.createElement("div",{style:t.alpha},l.createElement(PG,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=l.createElement("div",{style:t.fields,className:"flexbox-fix"},l.createElement("div",{style:t.field},l.createElement(PG,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),l.createElement("div",{style:t.field},l.createElement(PG,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),l.createElement("div",{style:t.field},l.createElement(PG,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),l.createElement("div",{style:t.alpha},l.createElement(PG,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),l.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,l.createElement("div",{style:t.toggle},l.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},l.createElement(Y1,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),e}();G1.defaultProps={view:"hex"};var $1=function(){var e=gG({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return l.createElement("div",{style:e.picker})},X1=function(){var e=gG({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return l.createElement("div",{style:e.picker})},J1=function(e){var t=e.width,n=e.onChange,i=e.disableAlpha,a=e.rgb,r=e.hsl,s=e.hsv,o=e.hex,d=e.renderers,c=e.styles,u=void 0===c?{}:c,p=e.className,A=void 0===p?"":p,h=e.defaultView,f=gG(TX({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+a.r+", "+a.g+", "+a.b+", "+a.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},u),{disableAlpha:i});return l.createElement("div",{style:f.picker,className:"chrome-picker "+A},l.createElement("div",{style:f.saturation},l.createElement(KX,{style:f.Saturation,hsl:r,hsv:s,pointer:X1,onChange:n})),l.createElement("div",{style:f.body},l.createElement("div",{style:f.controls,className:"flexbox-fix"},l.createElement("div",{style:f.color},l.createElement("div",{style:f.swatch},l.createElement("div",{style:f.active}),l.createElement(wG,{renderers:d}))),l.createElement("div",{style:f.toggles},l.createElement("div",{style:f.hue},l.createElement(EG,{style:f.Hue,hsl:r,pointer:$1,onChange:n})),l.createElement("div",{style:f.alpha},l.createElement(NG,{style:f.Alpha,rgb:a,hsl:r,pointer:$1,renderers:d,onChange:n})))),l.createElement(G1,{rgb:a,hsl:r,hex:o,view:h,onChange:n,disableAlpha:i})))};J1.propTypes={width:TU.oneOfType([TU.string,TU.number]),disableAlpha:TU.bool,styles:TU.object,defaultView:TU.oneOf(["hex","rgb","hsl"])},J1.defaultProps={width:225,disableAlpha:!1,styles:{}},zJ(J1);var Z1=function(e){var t=e.color,n=e.onClick,i=void 0===n?function(){}:n,a=e.onSwatchHover,r=e.active,s=gG({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:RJ(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:r,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return l.createElement(GJ,{style:s.color,color:t,onClick:i,onHover:a,focusStyle:{boxShadow:"0 0 4px "+t}},l.createElement("div",{style:s.dot}))},e2=function(e){var t=e.hex,n=e.rgb,i=e.onChange,a=gG({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),r=function(e,t){e.r||e.g||e.b?i({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},t):i({hex:e.hex,source:"hex"},t)};return l.createElement("div",{style:a.fields,className:"flexbox-fix"},l.createElement("div",{style:a.active}),l.createElement(PG,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"hex",value:t,onChange:r}),l.createElement(PG,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:n.r,onChange:r}),l.createElement(PG,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:n.g,onChange:r}),l.createElement(PG,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:n.b,onChange:r}))},t2=function(e){var t=e.onChange,n=e.onSwatchHover,i=e.colors,a=e.hex,r=e.rgb,s=e.styles,o=void 0===s?{}:s,d=e.className,c=void 0===d?"":d,u=gG(TX({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},o)),p=function(e,n){e.hex?MJ(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return l.createElement(EX,{style:u.Compact,styles:o},l.createElement("div",{style:u.compact,className:"compact-picker "+c},l.createElement("div",null,n0(i,(function(e){return l.createElement(Z1,{key:e,color:e,active:e.toLowerCase()===a,onClick:p,onSwatchHover:n})})),l.createElement("div",{style:u.clear})),l.createElement(e2,{hex:a,rgb:r,onChange:p})))};t2.propTypes={colors:TU.arrayOf(TU.string),styles:TU.object},t2.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},zJ(t2);const n2=mG((function(e){var t=e.hover,n=e.color,i=e.onClick,a=e.onSwatchHover,r={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},s=gG({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:r}},{hover:t});return l.createElement("div",{style:s.swatch},l.createElement(GJ,{color:n,onClick:i,onHover:a,focusStyle:r}))}));var i2=function(e){var t=e.width,n=e.colors,i=e.onChange,a=e.onSwatchHover,r=e.triangle,s=e.styles,o=void 0===s?{}:s,d=e.className,c=void 0===d?"":d,u=gG(TX({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},o),{"hide-triangle":"hide"===r,"top-left-triangle":"top-left"===r,"top-right-triangle":"top-right"===r,"bottom-left-triangle":"bottom-left"===r,"bottom-right-triangle":"bottom-right"===r}),p=function(e,t){return i({hex:e,source:"hex"},t)};return l.createElement("div",{style:u.card,className:"github-picker "+c},l.createElement("div",{style:u.triangleShadow}),l.createElement("div",{style:u.triangle}),n0(n,(function(e){return l.createElement(n2,{color:e,key:e,onClick:p,onSwatchHover:a})})))};i2.propTypes={width:TU.oneOfType([TU.string,TU.number]),colors:TU.arrayOf(TU.string),triangle:TU.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:TU.object},i2.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},zJ(i2);var a2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r2=function(e){var t=e.width,n=e.height,i=e.onChange,a=e.hsl,r=e.direction,s=e.pointer,o=e.styles,d=void 0===o?{}:o,c=e.className,u=void 0===c?"":c,p=gG(TX({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}},d));return l.createElement("div",{style:p.picker,className:"hue-picker "+u},l.createElement(EG,a2({},p.hue,{hsl:a,pointer:s,onChange:function(e){return i({a:1,h:e.h,l:.5,s:1})},direction:r})))};r2.propTypes={styles:TU.object},r2.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){var t=e.direction,n=gG({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return l.createElement("div",{style:n.picker})},styles:{}},zJ(r2);zJ((function(e){var t=e.onChange,n=e.hex,i=e.rgb,a=e.styles,r=void 0===a?{}:a,s=e.className,o=void 0===s?"":s,d=gG(TX({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+n,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},r)),c=function(e,n){e.hex?MJ(e.hex)&&t({hex:e.hex,source:"hex"},n):(e.r||e.g||e.b)&&t({r:e.r||i.r,g:e.g||i.g,b:e.b||i.b,source:"rgb"},n)};return l.createElement(EX,{styles:r},l.createElement("div",{style:d.material,className:"material-picker "+o},l.createElement(PG,{style:{wrap:d.HEXwrap,input:d.HEXinput,label:d.HEXlabel},label:"hex",value:n,onChange:c}),l.createElement("div",{style:d.split,className:"flexbox-fix"},l.createElement("div",{style:d.third},l.createElement(PG,{style:{wrap:d.RGBwrap,input:d.RGBinput,label:d.RGBlabel},label:"r",value:i.r,onChange:c})),l.createElement("div",{style:d.third},l.createElement(PG,{style:{wrap:d.RGBwrap,input:d.RGBinput,label:d.RGBlabel},label:"g",value:i.g,onChange:c})),l.createElement("div",{style:d.third},l.createElement(PG,{style:{wrap:d.RGBwrap,input:d.RGBinput,label:d.RGBlabel},label:"b",value:i.b,onChange:c})))))}));var s2=function(e){var t=e.onChange,n=e.rgb,i=e.hsv,a=e.hex,r=gG({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),s=function(e,a){e["#"]?MJ(e["#"])&&t({hex:e["#"],source:"hex"},a):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},a):(e.h||e.s||e.v)&&t({h:e.h||i.h,s:e.s||i.s,v:e.v||i.v,source:"hsv"},a)};return l.createElement("div",{style:r.fields},l.createElement(PG,{style:{wrap:r.RGBwrap,input:r.RGBinput,label:r.RGBlabel},label:"h",value:Math.round(i.h),onChange:s}),l.createElement(PG,{style:{wrap:r.RGBwrap,input:r.RGBinput,label:r.RGBlabel},label:"s",value:Math.round(100*i.s),onChange:s}),l.createElement(PG,{style:{wrap:r.RGBwrap,input:r.RGBinput,label:r.RGBlabel},label:"v",value:Math.round(100*i.v),onChange:s}),l.createElement("div",{style:r.divider}),l.createElement(PG,{style:{wrap:r.RGBwrap,input:r.RGBinput,label:r.RGBlabel},label:"r",value:n.r,onChange:s}),l.createElement(PG,{style:{wrap:r.RGBwrap,input:r.RGBinput,label:r.RGBlabel},label:"g",value:n.g,onChange:s}),l.createElement(PG,{style:{wrap:r.RGBwrap,input:r.RGBinput,label:r.RGBlabel},label:"b",value:n.b,onChange:s}),l.createElement("div",{style:r.divider}),l.createElement(PG,{style:{wrap:r.HEXwrap,input:r.HEXinput,label:r.HEXlabel},label:"#",value:a.replace("#",""),onChange:s}),l.createElement("div",{style:r.fieldSymbols},l.createElement("div",{style:r.symbol},"°"),l.createElement("div",{style:r.symbol},"%"),l.createElement("div",{style:r.symbol},"%")))},l2=function(e){var t=e.hsl,n=gG({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return l.createElement("div",{style:n.picker})},o2=function(){var e=gG({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return l.createElement("div",{style:e.pointer},l.createElement("div",{style:e.left},l.createElement("div",{style:e.leftInside})),l.createElement("div",{style:e.right},l.createElement("div",{style:e.rightInside})))},d2=function(e){var t=e.onClick,n=e.label,i=e.children,a=e.active,r=gG({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:a});return l.createElement("div",{style:r.button,onClick:t},n||i)},c2=function(e){var t=e.rgb,n=e.currentColor,i=gG({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return l.createElement("div",null,l.createElement("div",{style:i.label},"new"),l.createElement("div",{style:i.swatches},l.createElement("div",{style:i.new}),l.createElement("div",{style:i.current})),l.createElement("div",{style:i.label},"current"))},u2=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var p2=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.state={currentColor:t.hex},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(e,l.Component),u2(e,[{key:"render",value:function(){var e=this.props,t=e.styles,n=void 0===t?{}:t,i=e.className,a=void 0===i?"":i,r=gG(TX({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},n));return l.createElement("div",{style:r.picker,className:"photoshop-picker "+a},l.createElement("div",{style:r.head},this.props.header),l.createElement("div",{style:r.body,className:"flexbox-fix"},l.createElement("div",{style:r.saturation},l.createElement(KX,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:l2,onChange:this.props.onChange})),l.createElement("div",{style:r.hue},l.createElement(EG,{direction:"vertical",hsl:this.props.hsl,pointer:o2,onChange:this.props.onChange})),l.createElement("div",{style:r.controls},l.createElement("div",{style:r.top,className:"flexbox-fix"},l.createElement("div",{style:r.previews},l.createElement(c2,{rgb:this.props.rgb,currentColor:this.state.currentColor})),l.createElement("div",{style:r.actions},l.createElement(d2,{label:"OK",onClick:this.props.onAccept,active:!0}),l.createElement(d2,{label:"Cancel",onClick:this.props.onCancel}),l.createElement(s2,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),e}();p2.propTypes={header:TU.string,styles:TU.object},p2.defaultProps={header:"Color Picker",styles:{}},zJ(p2);var A2=function(e){var t=e.onChange,n=e.rgb,i=e.hsl,a=e.hex,r=e.disableAlpha,s=gG({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:r}),o=function(e,a){e.hex?MJ(e.hex)&&t({hex:e.hex,source:"hex"},a):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,a:n.a,source:"rgb"},a):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:i.h,s:i.s,l:i.l,a:e.a,source:"rgb"},a))};return l.createElement("div",{style:s.fields,className:"flexbox-fix"},l.createElement("div",{style:s.double},l.createElement(PG,{style:{input:s.input,label:s.label},label:"hex",value:a.replace("#",""),onChange:o})),l.createElement("div",{style:s.single},l.createElement(PG,{style:{input:s.input,label:s.label},label:"r",value:n.r,onChange:o,dragLabel:"true",dragMax:"255"})),l.createElement("div",{style:s.single},l.createElement(PG,{style:{input:s.input,label:s.label},label:"g",value:n.g,onChange:o,dragLabel:"true",dragMax:"255"})),l.createElement("div",{style:s.single},l.createElement(PG,{style:{input:s.input,label:s.label},label:"b",value:n.b,onChange:o,dragLabel:"true",dragMax:"255"})),l.createElement("div",{style:s.alpha},l.createElement(PG,{style:{input:s.input,label:s.label},label:"a",value:Math.round(100*n.a),onChange:o,dragLabel:"true",dragMax:"100"})))},h2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},f2=function(e){var t=e.colors,n=e.onClick,i=void 0===n?function(){}:n,a=e.onSwatchHover,r=gG({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),s=function(e,t){i({hex:e,source:"hex"},t)};return l.createElement("div",{style:r.colors,className:"flexbox-fix"},t.map((function(e){var t="string"==typeof e?{color:e}:e,n=""+t.color+(t.title||"");return l.createElement("div",{key:n,style:r.swatchWrap},l.createElement(GJ,h2({},t,{style:r.swatch,onClick:s,onHover:a,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))})))};f2.propTypes={colors:TU.arrayOf(TU.oneOfType([TU.string,TU.shape({color:TU.string,title:TU.string})])).isRequired};var m2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},v2=function(e){var t=e.width,n=e.rgb,i=e.hex,a=e.hsv,r=e.hsl,s=e.onChange,o=e.onSwatchHover,d=e.disableAlpha,c=e.presetColors,u=e.renderers,p=e.styles,A=void 0===p?{}:p,h=e.className,f=void 0===h?"":h,m=gG(TX({default:m2({picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},A),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},A),{disableAlpha:d});return l.createElement("div",{style:m.picker,className:"sketch-picker "+f},l.createElement("div",{style:m.saturation},l.createElement(KX,{style:m.Saturation,hsl:r,hsv:a,onChange:s})),l.createElement("div",{style:m.controls,className:"flexbox-fix"},l.createElement("div",{style:m.sliders},l.createElement("div",{style:m.hue},l.createElement(EG,{style:m.Hue,hsl:r,onChange:s})),l.createElement("div",{style:m.alpha},l.createElement(NG,{style:m.Alpha,rgb:n,hsl:r,renderers:u,onChange:s}))),l.createElement("div",{style:m.color},l.createElement(wG,null),l.createElement("div",{style:m.activeColor}))),l.createElement(A2,{rgb:n,hsl:r,hex:i,onChange:s,disableAlpha:d}),l.createElement(f2,{colors:c,onClick:s,onSwatchHover:o}))};v2.propTypes={disableAlpha:TU.bool,width:TU.oneOfType([TU.string,TU.number]),styles:TU.object},v2.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},zJ(v2);var g2=function(e){var t=e.hsl,n=e.offset,i=e.onClick,a=void 0===i?function(){}:i,r=e.active,s=e.first,o=e.last,d=gG({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*n+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:r,first:s,last:o});return l.createElement("div",{style:d.swatch,onClick:function(e){return a({h:t.h,s:.5,l:n,source:"hsl"},e)}})},y2=function(e){var t=e.onClick,n=e.hsl,i=gG({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),a=.1;return l.createElement("div",{style:i.swatches},l.createElement("div",{style:i.swatch},l.createElement(g2,{hsl:n,offset:".80",active:Math.abs(n.l-.8)<a&&Math.abs(n.s-.5)<a,onClick:t,first:!0})),l.createElement("div",{style:i.swatch},l.createElement(g2,{hsl:n,offset:".65",active:Math.abs(n.l-.65)<a&&Math.abs(n.s-.5)<a,onClick:t})),l.createElement("div",{style:i.swatch},l.createElement(g2,{hsl:n,offset:".50",active:Math.abs(n.l-.5)<a&&Math.abs(n.s-.5)<a,onClick:t})),l.createElement("div",{style:i.swatch},l.createElement(g2,{hsl:n,offset:".35",active:Math.abs(n.l-.35)<a&&Math.abs(n.s-.5)<a,onClick:t})),l.createElement("div",{style:i.swatch},l.createElement(g2,{hsl:n,offset:".20",active:Math.abs(n.l-.2)<a&&Math.abs(n.s-.5)<a,onClick:t,last:!0})),l.createElement("div",{style:i.clear}))},x2=function(e){var t=e.hsl,n=e.onChange,i=e.pointer,a=e.styles,r=void 0===a?{}:a,s=e.className,o=void 0===s?"":s,d=gG(TX({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},r));return l.createElement("div",{style:d.wrap||{},className:"slider-picker "+o},l.createElement("div",{style:d.hue},l.createElement(EG,{style:d.Hue,hsl:t,pointer:i,onChange:n})),l.createElement("div",{style:d.swatches},l.createElement(y2,{hsl:t,onClick:n})))};x2.propTypes={styles:TU.object},x2.defaultProps={pointer:function(){var e=gG({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return l.createElement("div",{style:e.picker})},styles:{}},zJ(x2);var b2={};Object.defineProperty(b2,"__esModule",{value:!0});var w2=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},j2=function(e){return e&&e.__esModule?e:{default:e}}(a);var C2=b2.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,i=e.width,a=void 0===i?24:i,r=e.height,s=void 0===r?24:r,l=e.style,o=void 0===l?{}:l,d=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(e,["fill","width","height","style"]);return j2.default.createElement("svg",w2({viewBox:"0 0 24 24",style:w2({fill:n,width:a,height:s},o)},d),j2.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))},S2=function(e){var t=e.color,n=e.onClick,i=void 0===n?function(){}:n,a=e.onSwatchHover,r=e.first,s=e.last,o=e.active,d=gG({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:RJ(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:r,last:s,active:o,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return l.createElement(GJ,{color:t,style:d.color,onClick:i,onHover:a,focusStyle:{boxShadow:"0 0 4px "+t}},l.createElement("div",{style:d.check},l.createElement(C2,null)))},N2=function(e){var t=e.onClick,n=e.onSwatchHover,i=e.group,a=e.active,r=gG({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return l.createElement("div",{style:r.group},n0(i,(function(e,r){return l.createElement(S2,{key:e,color:e,active:e.toLowerCase()===a,first:0===r,last:r===i.length-1,onClick:t,onSwatchHover:n})})))},I2=function(e){var t=e.width,n=e.height,i=e.onChange,a=e.onSwatchHover,r=e.colors,s=e.hex,o=e.styles,d=void 0===o?{}:o,c=e.className,u=void 0===c?"":c,p=gG(TX({default:{picker:{width:t,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},d)),A=function(e,t){return i({hex:e,source:"hex"},t)};return l.createElement("div",{style:p.picker,className:"swatches-picker "+u},l.createElement(EX,null,l.createElement("div",{style:p.overflow},l.createElement("div",{style:p.body},n0(r,(function(e){return l.createElement(N2,{key:e.toString(),group:e,active:s,onClick:A,onSwatchHover:a})})),l.createElement("div",{style:p.clear})))))};I2.propTypes={width:TU.oneOfType([TU.string,TU.number]),height:TU.oneOfType([TU.string,TU.number]),colors:TU.arrayOf(TU.arrayOf(TU.string)),styles:TU.object},I2.defaultProps={width:320,height:240,colors:[[d0,o0,l0,s0,r0],[h0,A0,p0,u0,c0],[y0,g0,v0,m0,f0],[C0,j0,w0,b0,x0],[B0,F0,I0,N0,S0],[D0,E0,T0,k0,P0],[M0,O0,_0,U0,L0],[z0,V0,H0,Q0,R0],[G0,K0,Y0,W0,q0],["#194D33",Z0,J0,X0,$0],[a1,i1,n1,t1,e1],[d1,o1,l1,s1,r1],[h1,A1,p1,u1,c1],[y1,g1,v1,m1,f1],[C1,j1,w1,b1,x1],[B1,F1,I1,N1,S1],[D1,E1,T1,k1,P1],[M1,O1,_1,U1,L1],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}};const F2=zJ(I2);var B2=function(e){var t=e.onChange,n=e.onSwatchHover,i=e.hex,a=e.colors,r=e.width,s=e.triangle,o=e.styles,d=void 0===o?{}:o,c=e.className,u=void 0===c?"":c,p=gG(TX({default:{card:{width:r,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},d),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s}),A=function(e,n){MJ(e)&&t({hex:e,source:"hex"},n)};return l.createElement("div",{style:p.card,className:"twitter-picker "+u},l.createElement("div",{style:p.triangleShadow}),l.createElement("div",{style:p.triangle}),l.createElement("div",{style:p.body},n0(a,(function(e,t){return l.createElement(GJ,{key:t,color:e,hex:e,style:p.swatch,onClick:A,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})})),l.createElement("div",{style:p.hash},"#"),l.createElement(PG,{label:null,style:{input:p.input},value:i.replace("#",""),onChange:A}),l.createElement("div",{style:p.clear})))};B2.propTypes={width:TU.oneOfType([TU.string,TU.number]),triangle:TU.oneOf(["hide","top-left","top-right"]),colors:TU.arrayOf(TU.string),styles:TU.object},B2.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},zJ(B2);var P2=function(e){var t=gG({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(100*e.hsl.s)+"%, "+Math.round(100*e.hsl.l)+"%)"}}});return l.createElement("div",{style:t.picker})};P2.propTypes={hsl:TU.shape({h:TU.number,s:TU.number,l:TU.number,a:TU.number})},P2.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var k2=function(e){var t=gG({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return l.createElement("div",{style:t.picker})};k2.propTypes={hsl:TU.shape({h:TU.number,s:TU.number,l:TU.number,a:TU.number})},k2.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var T2=function(e){var t=e.onChange,n=e.rgb,i=e.hsl,a=e.hex,r=e.hsv,s=function(e,n){if(e.hex)MJ(e.hex)&&t({hex:e.hex,source:"hex"},n);else if(e.rgb){var i=e.rgb.split(",");QJ(e.rgb,"rgb")&&t({r:i[0],g:i[1],b:i[2],a:1,source:"rgb"},n)}else if(e.hsv){var a=e.hsv.split(",");QJ(e.hsv,"hsv")&&(a[2]=a[2].replace("%",""),a[1]=a[1].replace("%",""),a[0]=a[0].replace("°",""),1==a[1]?a[1]=.01:1==a[2]&&(a[2]=.01),t({h:Number(a[0]),s:Number(a[1]),v:Number(a[2]),source:"hsv"},n))}else if(e.hsl){var r=e.hsl.split(",");QJ(e.hsl,"hsl")&&(r[2]=r[2].replace("%",""),r[1]=r[1].replace("%",""),r[0]=r[0].replace("°",""),1==u[1]?u[1]=.01:1==u[2]&&(u[2]=.01),t({h:Number(r[0]),s:Number(r[1]),v:Number(r[2]),source:"hsl"},n))}},o=gG({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),d=n.r+", "+n.g+", "+n.b,c=Math.round(i.h)+"°, "+Math.round(100*i.s)+"%, "+Math.round(100*i.l)+"%",u=Math.round(r.h)+"°, "+Math.round(100*r.s)+"%, "+Math.round(100*r.v)+"%";return l.createElement("div",{style:o.wrap,className:"flexbox-fix"},l.createElement("div",{style:o.fields},l.createElement("div",{style:o.double},l.createElement(PG,{style:{input:o.input,label:o.label},label:"hex",value:a,onChange:s})),l.createElement("div",{style:o.column},l.createElement("div",{style:o.single},l.createElement(PG,{style:{input:o.input2,label:o.label2},label:"rgb",value:d,onChange:s})),l.createElement("div",{style:o.single},l.createElement(PG,{style:{input:o.input2,label:o.label2},label:"hsv",value:u,onChange:s})),l.createElement("div",{style:o.single},l.createElement(PG,{style:{input:o.input2,label:o.label2},label:"hsl",value:c,onChange:s})))))},E2=function(e){var t=e.width,n=e.onChange,i=e.rgb,a=e.hsl,r=e.hsv,s=e.hex,o=e.header,d=e.styles,c=void 0===d?{}:d,u=e.className,p=void 0===u?"":u,A=gG(TX({default:{picker:{width:t,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+i.r+", "+i.g+", "+i.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},c));return l.createElement("div",{style:A.picker,className:"google-picker "+p},l.createElement("div",{style:A.head},o),l.createElement("div",{style:A.swatch}),l.createElement("div",{style:A.saturation},l.createElement(KX,{hsl:a,hsv:r,pointer:P2,onChange:n})),l.createElement("div",{style:A.body},l.createElement("div",{style:A.controls,className:"flexbox-fix"},l.createElement("div",{style:A.hue},l.createElement(EG,{style:A.Hue,hsl:a,radius:"4px",pointer:k2,onChange:n}))),l.createElement(T2,{rgb:i,hsl:a,hex:s,hsv:r,onChange:n})))};E2.propTypes={width:TU.oneOfType([TU.string,TU.number]),styles:TU.object,header:TU.string},E2.defaultProps={width:652,styles:{},header:"Color picker"},zJ(E2);const D2="/assets/logo-e932ed68.svg",L2=[{FieldName:"SideNavimage",FieldValue:"",FieldAddData:""},{FieldName:"SideNavHeader",FieldValue:"",FieldAddData:""},{FieldName:"SideNavHeader",FieldValue:"",FieldAddData:""},{FieldName:"SideNavHeader",FieldValue:"",FieldAddData:""}],U2=e=>{const t=Tf(V_),[n,i]=a.useState((null==e?void 0:e.hasOwnProperty("data"))?null==e?void 0:e.data:!1===(null==e?void 0:e.apiCall)?L2:t),r=Tf(D_),s=Tf(L_),[l,o]=a.useState(!1);a.useEffect((()=>{(null==e?void 0:e.apiCall)?i(t):i((null==e?void 0:e.hasOwnProperty("data"))?null==e?void 0:e.data:!1===(null==e?void 0:e.apiCall)?L2:t)}),[t,null==e?void 0:e.data]);const d=e=>{const t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth"})},[c,u]=a.useState({nvlinks:{fontFamily:"Poppins",padding:"3rem 1rem"},actColor:{color:"#F97068",fontWeight:"600"}}),p=(null==e?void 0:e.disabledValue)?null==e?void 0:e.disabledValue:"",A=async()=>{navigate("/user-account")};a.useEffect((()=>{const e=()=>{o(window.innerWidth<900)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]);return Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{className:"PreviewNav1",style:{background:r?r.lightColor:null,color:"#000",pointerEvents:p,fontFamily:s?s.para:null},children:[l&&Ye.jsx("img",{src:Bm,alt:"Logo",onClick:()=>{navigate("/"),window.location.reload()},style:{width:"5.5vw",height:"auto",cursor:"pointer",marginLeft:"0.5rem"}}),null==n?void 0:n.map(((e,t)=>Ye.jsx(Ye.Fragment,{children:"SideNavimage"===e.FieldName&&Ye.jsx("div",{className:"sidenavpaypreLogoDiv",children:Ye.jsx("img",{style:{width:"50px"},src:""!=e.FieldValue?e.FieldValue:D2,alt:"pozo logo"})})}))),Ye.jsx("div",{className:"preVlink",style:c.nvlinks,children:null==n?void 0:n.map(((e,t)=>{var n;return Ye.jsx(Ye.Fragment,{children:"SideNavimage"!=e.FieldName&&Ye.jsxs("p",{style:{fontFamily:s?s.para:null,color:r?r.darkColor:null,cursor:"pointer"},onClick:()=>{return t=e.FieldAddData,void d(t);var t},className:(null==(n=null==e?void 0:e.FieldValue)?void 0:n.length)>0!=""?"nvlink":"nvlinkWOData",onMouseOver:e=>{e.target.style.color=r?r.lightColor:null,e.target.style.fontWeight=c.actColor.fontWeight},onMouseLeave:e=>{e.target.style.color=r?r.darkColor:null,e.target.style.fontWeight="400"},children:[" ",e.FieldValue.split("-")[1]]})})}))}),iA("UserId")&&Ye.jsx("div",{children:Ye.jsx(h,{onClick:()=>A})})]})})},_2=Ja("navbar/getNavlist",(async()=>await fA.get("/configMaster?ActiveStatus=A&TypeName=Navbar")));Ya({name:"Navlist",initialState:{Navlist:[]},extraReducers:e=>{e.addCase(getMessagetemplateData.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.MessagetemplateData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.MessagetemplateData=[]}))}});const O2=()=>{const e=a.useRef(null),t=um(),n=Mt(),i=Tf(V_),r=null==n?void 0:n.state,s=null==r?void 0:r.editstate,[l,o]=a.useState("Add"),[d,c]=a.useState(null),[u,p]=a.useState(null),[A,h]=a.useState([]),[f,m]=a.useState([]),[v,g]=a.useState(A),[y,x]=a.useState(s?s.AppData:{}),[b,w]=a.useState(0),[S,N]=a.useState(""),[T,E]=a.useState(!1),[D,L]=a.useState(!1);a.useEffect((()=>{_()}),[]),a.useEffect((()=>{!1===D&&(m([]),x({}),U(""))}),[D]),a.useEffect((()=>{var t,n;if((null==i?void 0:i.length)>0&&!0===D){o("edit"),w((null==i?void 0:i.length)-2);let a=i.filter((e=>"SideNavimage"===e.FieldName));N(a[0].FieldValue);let r=i.filter((e=>"SideNavHeader"===e.FieldName));m(r.map((e=>e.FieldValue.split("-")[0])));let s=[];r.map(((e,t)=>{s.push({[`Navlink-${t}`]:null==e?void 0:e.FieldAddData,[`Navlist-${t}`]:null==e?void 0:e.FieldValue.split("-")[0]})}));let l={};for(let i=0;i<(null==s?void 0:s.length);i++)null==(t=null==e?void 0:e.current)||t.setFieldsValue({[`Navlink-${i}`]:s[i][`Navlink-${i}`]}),null==(n=null==e?void 0:e.current)||n.setFieldsValue({[`Navlist-${i}`]:s[i][`Navlist-${i}`]}),l[`Navlist-${i}`]=parseInt(s[i][`Navlist-${i}`]);x(l)}else w(0)}),[i,D]),a.useEffect((()=>{g(A)}),[A]);const U=e=>{N(e)},_=async()=>{var e,n,i;let a=await t(_2()).unwrap();1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)&&(await g(null==(n=null==a?void 0:a.data)?void 0:n.data),await h(null==(i=null==a?void 0:a.data)?void 0:i.data))},O=async(t,n)=>{var i;y[n]=parseInt(t),null==(i=e.current)||i.setFieldsValue({[n]:t}),await x({...y,[n]:t})},M=async(e,t)=>{let n=y;n[e]=t,x(n)},R=a.useCallback((()=>{var t,n,i;let a=[];for(let r=0;r<=b;r++)a.push(Ye.jsxs(P,{style:{display:"flex",flexDirection:"column",marginBottom:2,gap:0},align:"baseline",children:[Ye.jsx(I.Item,{name:`Navlist-${r}`,rules:[{message:"Please select Navlist",required:!0}],children:Ye.jsx(_y,{options:null==v?void 0:v.map((e=>({value:e.ConfigId,label:e.ConfigName,disabled:!!(null==Object?void 0:Object.values(y).map((e=>parseInt(e))).includes(parseInt(e.ConfigId)))}))),label:"NavList",id:`Navlist-${r}}`,field:`Navlist-${r}`,fieldState:!0,fieldApi:!0,onChangeFunction:e=>O(e,`Navlist-${r}`),isOnchanges:null!=(null==(t=null==e?void 0:e.current)?void 0:t.getFieldValue([`Navlist-${r}`])),valueData:y[`Navlist-${r}`],className:"field-DropDown"})}),Ye.jsx(I.Item,{name:`Navlink-${r}`,rules:[{message:"Please Enter Navlink",required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",name:"",fieldState:!0,fieldApi:!0,onChange:e=>{var t;return M([`Navlink-${r}`],null==(t=null==e?void 0:e.target)?void 0:t.value)},isOnChange:null!=(null==(n=null==e?void 0:e.current)?void 0:n.getFieldValue([`Navlink-${r}`])),label:"Navlink",field:"",id:"",suffix:Ye.jsx(F,{title:`Nav Link${r}`,children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),r>0&&Ye.jsx(de,{onClick:()=>Q(r,`Navlist-${r}`)})]},r));return null==(i=null==e?void 0:e.current)||i.setFieldsValue(y),a}),[b,v]),Q=async(t,n)=>{var i,a;let r=e.current.getFieldValue([n]),s=f.filter((e=>e!=r));m(s);let l=e.current.getFieldsValue(),o=Object.keys(l).filter((e=>!e.includes(t))),d=0,c={};e.current.resetFields();for(let u=0;u<=(null==o?void 0:o.length);u+=2)c[`Navlist-${d}`]=l[o[u]],c[`Navlink-${d}`]=l[o[u+1]],null==(i=null==e?void 0:e.current)||i.setFieldsValue({[`Navlink-${d}`]:l[o[u+1]]}),null==(a=null==e?void 0:e.current)||a.setFieldsValue({[`Navlist-${d}`]:l[o[u]]}),d++;w(b-1),g(A),x(c)},H=a.useCallback((()=>{p(null),c(null)}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:d,messageData:u,onComplete:H}),Ye.jsxs("div",{className:"sidenavTempOverall",children:[Ye.jsx(U2,{apiCall:!1}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>L(!0)}),Ye.jsx(ce,{onClick:()=>(async()=>{(null==i?void 0:i.length)>0?E(!0):(p("Please add a navbar data to open the preview"),c("warning"))})()})]}),Ye.jsx(j,{centered:!0,open:D,onOk:()=>L(!1),onCancel:()=>L(!1),children:Ye.jsx("div",{children:Ye.jsxs(I,{ref:e,className:"formDivAnt",onFinish:async n=>{var i,a,r,s;let l=[];for(let e=0;e<=(null==(i=Object.keys(n))?void 0:i.length)/2-1;e++)l.push({FieldName:"SideNavHeader",FieldValue:n[`Navlist-${e}`]+"-"+(null==(r=null==(a=null==v?void 0:v.filter((t=>t.ConfigId===n[`Navlist-${e}`])))?void 0:a[0])?void 0:r.ConfigName),FieldAddData:n[`Navlink-${e}`]});l.push({FieldName:"SideNavimage",FieldValue:S,FieldAddData:""}),await t(y_(l)),null==(s=null==e?void 0:e.current)||s.resetFields(),c("success"),p("NavBar Data Added Successfully"),L(!1)},initialValues:{...s},children:[Ye.jsxs("div",{className:"upload_btn",children:[Ye.jsx("p",{children:"Upload Logo"}),Ye.jsx(Yy,{singleImage:!0,updateImageUrl:U,ImageLink:S})]}),Ye.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[Ye.jsxs("div",{children:[Ye.jsx(Ye.Fragment,{children:0!=(null==v?void 0:v.length)&&R()}),(null==A?void 0:A.length)>b+1&&Ye.jsx(I.Item,{children:Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(C,{style:{backgroundColor:"#37943C",color:"white",borderRadius:"50px",padding:"5px"},onClick:()=>w(b+1)})})})]}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(Ry,{buttonText:"SAVE",color:"901D77",icon:Ye.jsx(k,{})})})]})]})})}),Ye.jsx(j,{centered:!0,destroyOnClose:!0,open:T,onOk:()=>E(!1),onCancel:()=>E(!1),children:Ye.jsx(U2,{disabledValue:"none",apiCall:!0})})]})]})},M2=[{FieldName:"SideNavimage",FieldValue:"",FieldAddData:""},{FieldName:"SideNavHeader",FieldValue:"",FieldAddData:""},{FieldName:"SideNavHeader",FieldValue:"",FieldAddData:""},{FieldName:"SideNavHeader",FieldValue:"",FieldAddData:""}],R2=e=>{const t=Qt(),n=um(),i=Tf(V_),r=Tf(q_),s=Tf(U_),l=Tf(W_),[o,d]=a.useState((null==e?void 0:e.hasOwnProperty("data"))?null==e?void 0:e.data:!1===(null==e?void 0:e.apiCall)?M2:i),c=Tf(D_),u=Tf(L_),p=(null==e?void 0:e.disabledValue)?null==e?void 0:e.disabledValue:"",[A,h]=a.useState(null),[f,m]=a.useState(!1);a.useState(!!iA("UserId"));const[v,g]=a.useState(!1),[y,x]=a.useState(!1),[b,w]=a.useState(!1),[j,C]=a.useState(window.innerWidth),[S,N]=a.useState(!0),[I,B]=a.useState(!1),P=iA("UserId");a.useEffect((()=>{j>900&&(N(!0),B(!1)),j<900&&(N(!1),B(!0))}),[j]),a.useEffect((()=>{function e(){C(window.innerWidth)}return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[j]),a.useEffect((()=>{let e=null==s?void 0:s.filter((e=>(null==e?void 0:e.AppId)===(null==r?void 0:r.AppId)));h(e.length>0?e[0].AppName:l.length>0?l:null)}),[r]),a.useEffect((()=>{(null==e?void 0:e.apiCall)?d(i):d((null==e?void 0:e.hasOwnProperty("data"))?null==e?void 0:e.data:!1===(null==e?void 0:e.apiCall)?M2:i)}),[i,null==e?void 0:e.data]),a.useEffect((()=>{const e=()=>{m(!1),x(!1),g(!1),w(window.innerWidth<899&&!(window.innerWidth<260))};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]);const k=e=>{T(e)},T=e=>{const t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth"})},E=async()=>{t("/landing-page/user-account")},D=async()=>{var e;const i=P,a=await n(fm({UserId:i,status:"N"})).unwrap();1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)&&(rA(),t("/"))};return Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"dispflex",style:{background:c?c.lightColor:null,color:"#000",fontFamily:u?u.para:null,pointerEvents:p},children:[I&&Ye.jsx("img",{src:Bm,alt:"Logo",onClick:()=>{t("/"),window.location.reload()},style:{width:"5.5vw",height:"auto",cursor:"pointer",marginLeft:"0.5rem"}}),Ye.jsxs("div",{className:"divApplogo",style:{display:"flex",alignItems:"center"},children:[null==o?void 0:o.map(((e,t)=>Ye.jsx(Ye.Fragment,{children:"SideNavimage"===e.FieldName&&Ye.jsx("img",{style:{width:"50px",mixBlendMode:"darken"},src:""!=e.FieldValue?e.FieldValue:D2,alt:"App logo"})}))),Ye.jsxs("div",{className:"divAppname",children:[Ye.jsx("p",{className:0!=(null==e?void 0:e.apiCall)?"PayPreFont":"honavPayPreFontwodata",style:{fontFamily:"Manrope",fontSize:"12px"},children:0!=(null==e?void 0:e.apiCall)?"POZO":""}),Ye.jsx("p",{className:0!=(null==e?void 0:e.apiCall)?"":"honavPayPreFontwodata",style:{fontFamily:u?u.para:null,whiteSpace:"nowrap"},children:0!=(null==e?void 0:e.apiCall)?A:""})]})]}),Ye.jsxs("div",{className:"upmenuList",children:[o.map((e=>{var t;return Ye.jsx(Ye.Fragment,{children:"SideNavimage"!=e.FieldName&&Ye.jsx("div",{onClick:()=>k(e.FieldAddData),style:{color:"black",fontWeight:400,cursor:"pointer"},className:(null==(t=e.FieldValue)?void 0:t.length)>0?"honavlink":"honavlinkWOData",onMouseLeave:e=>{e.target.style.color="black",e.target.style.fontWeight="400"},children:e.FieldValue.split("-")[1]},e.FieldValue)})})),P&&Ye.jsx("div",{className:"myTooltipbigscreen",onClick:()=>{g(!v),m(!1)},children:S?Ye.jsxs(F,{color:"#fff",overlayInnerStyle:{backgroundColor:"#fff"},trigger:"click",placement:"bottom",title:Ye.jsx("div",{className:"nav-user-fullview",children:Ye.jsxs("div",{className:"user-nav-opt-fullview",style:{backgroundColor:"#fff"},children:[P&&Ye.jsx("li",{className:"usr-acc",style:{cursor:"pointer",color:"black"},onMouseLeave:e=>{e.target.style.color="black",e.target.style.fontWeight="400"},onClick:()=>E(),children:" My Account "}),Ye.jsx("li",{className:"usr-acc",style:{cursor:"pointer",color:"black"},onMouseLeave:e=>{e.target.style.color="black",e.target.style.fontWeight="400"},onClick:()=>D(),children:" Sign Out "})]})}),children:[Ye.jsx(HO,{style:{cursor:"pointer",fontSize:"19px"}})," "]}):""})]}),Ye.jsxs("div",{className:"toggleuppernav",children:[Ye.jsx("div",{onClick:()=>{m(!f),x(!1),g(!1)},children:f?Ye.jsx(PO,{style:{fontSize:"19px",cursor:"pointer"}}):Ye.jsx(kO,{style:{fontSize:"19px",cursor:"pointer"}})}),P&&Ye.jsx("div",{className:"myTooltipsmallscreen",onClick:()=>{x(!y),m(!1)},children:I?Ye.jsxs(F,{color:"#fff",overlayInnerStyle:{backgroundColor:"#fff"},trigger:"click",placement:"bottom",title:Ye.jsx("div",{className:"nav-user-toggle",children:Ye.jsxs("div",{className:"user-nav-opt",children:[P&&Ye.jsx("li",{className:"usr-acc",onClick:()=>E(),style:{color:"black"},onMouseLeave:e=>{e.target.style.color="black",e.target.style.fontWeight="400"},children:" My Account "}),Ye.jsx("li",{className:"usr-acc",onClick:()=>D(),style:{color:"black"},onMouseLeave:e=>{e.target.style.color="black",e.target.style.fontWeight="400"},children:" Sign Out "})]})}),children:[" ",Ye.jsx(HO,{style:{cursor:"pointer"}})," "]}):""})]}),f&&b&&Ye.jsx("div",{className:"nav-toggle",children:Ye.jsx("div",{className:"rt-nav-list",children:o.map((e=>Ye.jsx(Ye.Fragment,{children:"SideNavimage"!=e.FieldName&&Ye.jsx(Ye.Fragment,{children:Ye.jsxs("li",{className:"rt-list",onClick:()=>k(e.FieldValue.replace(/^\d+-/,"")),children:[" ",e.FieldValue.replace(/^\d+-/,"")," "]},e.FieldValue)})})))})})]}),v&&Ye.jsx("div",{className:"nav-user-fullview"})]})},Q2=()=>{const e=a.useRef(null),t=um(),n=Mt(),i=Tf(V_),r=null==n?void 0:n.state,s=null==r?void 0:r.editstate,[l,o]=a.useState("Add"),[d,c]=a.useState(null),[u,p]=a.useState(null),[A,h]=a.useState([]),[f,m]=a.useState([]),[v,g]=a.useState(A),[y,x]=a.useState(s?s.AppData:{}),[b,w]=a.useState(0),[S,N]=a.useState(""),[T,E]=a.useState(!1),[D,L]=a.useState(!1);a.useEffect((()=>{_()}),[]),a.useEffect((()=>{!1===D&&(m([]),x({}),U(""))}),[D]),a.useEffect((()=>{var t,n;if((null==i?void 0:i.length)>0&&!0===D){o("edit"),w((null==i?void 0:i.length)-2);let a=i.filter((e=>"SideNavimage"===e.FieldName));N(a[0].FieldValue);let r=i.filter((e=>"SideNavHeader"===e.FieldName));m(r.map((e=>e.FieldValue.split("-")[0])));let s=[];r.map(((e,t)=>{s.push({[`Navlink-${t}`]:e.FieldAddData,[`Navlist-${t}`]:e.FieldValue.split("-")[0]})}));let l={};for(let i=0;i<(null==s?void 0:s.length);i++)null==(t=null==e?void 0:e.current)||t.setFieldsValue({[`Navlink-${i}`]:s[i][`Navlink-${i}`]}),null==(n=null==e?void 0:e.current)||n.setFieldsValue({[`Navlist-${i}`]:s[i][`Navlist-${i}`]}),l[`Navlist-${i}`]=parseInt(s[i][`Navlist-${i}`]);x(l)}else w(0)}),[i,D]),a.useEffect((()=>{g(A)}),[A]);const U=e=>{N(e)},_=async()=>{var e,n,i;let a=await t(_2()).unwrap();1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)&&(await g(null==(n=null==a?void 0:a.data)?void 0:n.data),await h(null==(i=null==a?void 0:a.data)?void 0:i.data))},O=async(t,n)=>{var i;y[n]=parseInt(t),null==(i=e.current)||i.setFieldsValue({[n]:t}),await x({...y,[n]:t})},M=async(e,t)=>{let n=y;n[e]=t,x(n)},R=a.useCallback((()=>{var t,n,i;let a=[];for(let r=0;r<=b;r++)a.push(Ye.jsxs(P,{style:{display:"flex",flexDirection:"column",marginBottom:2,gap:0},align:"baseline",children:[Ye.jsx(I.Item,{name:`Navlist-${r}`,rules:[{message:"Please select Navlist",required:!0}],children:Ye.jsx(_y,{options:null==v?void 0:v.map((e=>({value:e.ConfigId,label:e.ConfigName,disabled:!!Object.values(y).map((e=>parseInt(e))).includes(parseInt(e.ConfigId))}))),label:"NavList",id:`Navlist-${r}}`,field:`Navlist-${r}`,fieldState:!0,fieldApi:!0,onChangeFunction:e=>O(e,`Navlist-${r}`),isOnchanges:null!=(null==(t=null==e?void 0:e.current)?void 0:t.getFieldValue([`Navlist-${r}`])),valueData:y[`Navlist-${r}`],className:"field-DropDown"})}),Ye.jsx(I.Item,{name:`Navlink-${r}`,rules:[{message:"Please Enter Navlink",required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",name:"",fieldState:!0,fieldApi:!0,onChange:e=>{var t;return M([`Navlink-${r}`],null==(t=null==e?void 0:e.target)?void 0:t.value)},isOnChange:null!=(null==(n=null==e?void 0:e.current)?void 0:n.getFieldValue([`Navlink-${r}`])),label:"Navlink",field:"",id:"",suffix:Ye.jsx(F,{title:`Nav Link${r}`,children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),r>0&&Ye.jsx(de,{onClick:()=>Q(r,`Navlist-${r}`)})]},r));return null==(i=null==e?void 0:e.current)||i.setFieldsValue(y),a}),[b,v]),Q=async(t,n)=>{var i,a;let r=e.current.getFieldValue([n]),s=f.filter((e=>e!=r));m(s);let l=e.current.getFieldsValue(),o=Object.keys(l).filter((e=>!e.includes(t))),d=0,c={};e.current.resetFields();for(let u=0;u<=(null==o?void 0:o.length);u+=2)c[`Navlist-${d}`]=l[o[u]],c[`Navlink-${d}`]=l[o[u+1]],null==(i=null==e?void 0:e.current)||i.setFieldsValue({[`Navlink-${d}`]:l[o[u+1]]}),null==(a=null==e?void 0:e.current)||a.setFieldsValue({[`Navlist-${d}`]:l[o[u]]}),d++;w(b-1),g(A),x(c)},H=a.useCallback((()=>{p(null),c(null)}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:d,messageData:u,onComplete:H}),Ye.jsxs("div",{style:{},children:[Ye.jsx(Ye.Fragment,{children:Ye.jsx(R2,{apiCall:!1})}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>L(!0)})," ",Ye.jsx(ce,{onClick:()=>(async()=>{(null==i?void 0:i.length)>0?E(!0):(p("Please add a navbar data to open the preview"),c("warning"))})()})]}),Ye.jsx(j,{centered:!0,open:D,onOk:()=>L(!1),onCancel:()=>L(!1),children:Ye.jsx("div",{children:Ye.jsxs(I,{ref:e,className:"formDivAnt",onFinish:async n=>{var i,a,r,s;let l=[];for(let e=0;e<=(null==(i=Object.keys(n))?void 0:i.length)/2-1;e++)l.push({FieldName:"SideNavHeader",FieldValue:n[`Navlist-${e}`]+"-"+(null==(r=null==(a=null==v?void 0:v.filter((t=>t.ConfigId===n[`Navlist-${e}`])))?void 0:a[0])?void 0:r.ConfigName),FieldAddData:n[`Navlink-${e}`]});l.push({FieldName:"SideNavimage",FieldValue:S,FieldAddData:""}),await t(y_(l)),null==(s=null==e?void 0:e.current)||s.resetFields(),c("success"),p("NavBar Data Added Successfully"),L(!1)},initialValues:{...s},children:[Ye.jsxs("div",{className:"upload_btn",children:[Ye.jsx("p",{children:"Upload Logo"}),Ye.jsx(Yy,{singleImage:!0,updateImageUrl:U,ImageLink:S})]}),Ye.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[Ye.jsxs("div",{style:{},children:[Ye.jsx(Ye.Fragment,{children:0!=(null==v?void 0:v.length)&&R()}),(null==A?void 0:A.length)>b+1&&Ye.jsx(I.Item,{children:Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(C,{style:{backgroundColor:"#37943C",color:"white",borderRadius:"50px",padding:"5px"},onClick:()=>w(b+1)})})})]}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(Ry,{buttonText:"SAVE",color:"901D77",icon:Ye.jsx(k,{})})})]})]})})}),Ye.jsx(j,{centered:!0,open:T,onOk:()=>E(!1),onCancel:()=>E(!1),width:1e3,children:Ye.jsx("div",{className:" ","aria-disabled":!0,children:Ye.jsx(R2,{disabledValue:"none",apiCall:!0})})})]})]})},H2="/assets/playstr1-7c406729.png",V2="/assets/appstr1-ddbd2c0c.png",z2="/assets/android1-3733951f.png",q2=e=>{const t=Qt(),n=Tf(D_),i=Tf(L_),[r,s]=a.useState(),[l,o]=a.useState(),d=e.hasOwnProperty("data")?e.data:[{FieldName:"Overview1Title",FieldValue:"",FieldAddData:""},{FieldName:"Overview1SubTitle",FieldValue:"",FieldAddData:""},{FieldName:"Overview1ButtonText",FieldValue:"",FieldAddData:""},{FieldName:"Overview1AppLinkText",FieldValue:"",FieldAddData:""},{FieldName:"Overview1PlayStoreLink",FieldValue:"",FieldAddData:""},{FieldName:"Overview1AppStoreLink",FieldValue:"",FieldAddData:""},{FieldName:"Overview1PosLink",FieldValue:"",FieldAddData:""},{FieldName:"Overview1BannerImage",FieldValue:"",FieldAddData:""}],c=e=>{e.target.style.color=n.darkColor,e.target.style.border=`1.8px solid ${n.darkColor}`},u=e=>{e.target.style.color="white"},p=a.useCallback((()=>{s(null),o(null)}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:l,messageData:r,onComplete:p}),Ye.jsx("div",{className:"overview1subdivdata",style:{background:n.lightColor},children:Ye.jsxs("div",{className:(null==e?void 0:e.Preview)?"overviewmainDIV":"overviewmain",children:[Ye.jsxs("div",{className:"overview1subdiv",style:{width:(null==e?void 0:e.Preview)&&"60%"},children:[null==d?void 0:d.map(((e,t)=>{var n;return"Overview1Title"==e.FieldName&&Ye.jsx("div",{className:(null==(n=e.FieldValue)?void 0:n.length)>0?"overviewpreTitleData gradient- btn-shine":"empTitleData",style:e.FieldValue.length>0?{fontFamily:i.head,width:"50vw"}:null,children:e.FieldValue.length>0?e.FieldValue:""},t)})),null==d?void 0:d.map(((e,a)=>{var r,l,d,p,A;return"Overview1SubTitle"==e.FieldName?Ye.jsx("div",{className:(null==(r=e.FieldValue)?void 0:r.length)>0?"preSubTitleData":"empSubTitleData",style:e.FieldValue.length>0?{fontFamily:i.para}:null,children:e.FieldValue.length>0?e.FieldValue:""},a):"Overview1ButtonText"==e.FieldName?Ye.jsx("div",{className:(null==(l=e.FieldValue)?void 0:l.length)>0?null:"empButtonTextData",style:0==(null==(d=e.FieldValue)?void 0:d.length)?{backgroundColor:n.darkColor}:null,children:(null==(p=e.FieldValue)?void 0:p.length)>0?Ye.jsxs(y,{type:"primary",className:"preButtonTextData",style:{backgroundColor:n.darkColor,fontFamily:i.head},onFocus:c,onBlur:u,onClick:()=>{iA("UserId")?(s("User Already Logged in"),o("success")):t("/signin/")},children:[e.FieldValue,Ye.jsx(k,{})]}):""},a):"Overview1AppLinkText"==e.FieldName?Ye.jsx("div",{className:(null==(A=e.FieldValue)?void 0:A.length)>0?"preAppLinkTextData":"empSubTitleData",style:e.FieldValue.length>0?{fontFamily:i.para}:null,children:e.FieldValue.length>0?e.FieldValue:""},a):null})),Ye.jsx("div",{className:"overviewsubdiv",children:null==d?void 0:d.map(((e,t)=>{var n,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g;return"Overview1PlayStoreLink"==e.FieldName?Ye.jsxs("div",{className:(null==(n=e.FieldValue)?void 0:n.length)>0&&"preLinkData",children:[(null==(a=e.FieldValue)?void 0:a.length)>0&&Ye.jsx("div",{children:(null==(r=e.FieldValue)?void 0:r.length)>0&&Ye.jsx("img",{style:{width:"2rem"},src:(null==(s=e.FieldValue)?void 0:s.length)>0?H2:D2})}),Ye.jsx("div",{className:"Hide-on-smallScreen1",style:(null==(l=e.FieldValue)?void 0:l.length)>0?{fontFamily:i.para}:null,children:(null==(o=e.FieldValue)?void 0:o.length)>0?Ye.jsx("a",{href:e.FieldValue,style:{color:"black",textDecoration:"none",fontFamily:"poppins",fontSize:"14px"},children:"Playstore"}):""})]},t):"Overview1AppStoreLink"==e.FieldName?Ye.jsxs("div",{className:(null==(d=e.FieldValue)?void 0:d.length)>0&&"preLinkData",children:[(null==(c=e.FieldValue)?void 0:c.length)>0&&Ye.jsx("div",{children:Ye.jsx("img",{style:{width:"2rem"},src:(null==(u=e.FieldValue)?void 0:u.length)>0?V2:D2})}),Ye.jsx("div",{className:"Hide-on-smallScreen1",style:(null==(p=e.FieldValue)?void 0:p.length)>0?{fontFamily:i.para}:null,children:(null==(A=e.FieldValue)?void 0:A.length)>0?Ye.jsx("a",{href:e.FieldValue,style:{color:"black",textDecoration:"none",fontSize:"14px"},children:"Appstore"}):""})]},t):"Overview1PosLink"==e.FieldName?Ye.jsxs("div",{className:(null==(h=e.FieldValue)?void 0:h.length)>0&&"preLinkData",children:[(null==(f=e.FieldValue)?void 0:f.length)>0&&Ye.jsx("div",{children:Ye.jsx("img",{style:{width:"2rem"},src:(null==(m=e.FieldValue)?void 0:m.length)>0?z2:D2})}),Ye.jsx("div",{className:"Hide-on-smallScreen1",style:(null==(v=e.FieldValue)?void 0:v.length)>0?{fontFamily:i.para}:null,children:(null==(g=e.FieldValue)?void 0:g.length)>0?Ye.jsx("a",{href:e.FieldValue,style:{color:"black",textDecoration:"none",fontSize:"14px"},children:"Playstore(Pos)"}):""})]},t):null}))})]}),Ye.jsx("div",{className:"RightsectionDiv",children:null==d?void 0:d.map(((t,n)=>{var i,a,r;return"Overview1BannerImage"==t.FieldName?Ye.jsx("div",{className:(null==(i=t.FieldValue)?void 0:i.length)>0?(null==e?void 0:e.Preview)?"Overview1ImagePreview":"Overview1ImageDiv":"",children:Ye.jsx("img",{className:(null==(a=t.FieldValue)?void 0:a.length)>0?"preBannerImageData":"empBannerImageData",src:(null==(r=t.FieldValue)?void 0:r.length)>0?t.FieldValue:D2,width:"100%"},n)}):null}))})]})})]})},W2=()=>{const e=a.useRef(null),t=um(),n=Tf(M_),i=Tf(R_),[r,s]=a.useState(null),[l,o]=a.useState(null),[d,c]=a.useState(!1),[u,p]=a.useState(!1),[A,h]=a.useState(!1);a.useEffect((()=>{null==n||n.map((n=>{var i,a,r,s,l,o,d;"Overview1Title"==(null==n?void 0:n.FieldName)?null==(i=null==e?void 0:e.current)||i.setFieldsValue({Title:null==n?void 0:n.FieldValue}):"Overview1SubTitle"==(null==n?void 0:n.FieldName)?null==(a=null==e?void 0:e.current)||a.setFieldsValue({STitle:null==n?void 0:n.FieldValue}):"Overview1ButtonText"==(null==n?void 0:n.FieldName)?null==(r=null==e?void 0:e.current)||r.setFieldsValue({BText:null==n?void 0:n.FieldValue}):"Overview1AppLinkText"==(null==n?void 0:n.FieldName)?null==(s=null==e?void 0:e.current)||s.setFieldsValue({AText:null==n?void 0:n.FieldValue}):"Overview1PlayStoreLink"==(null==n?void 0:n.FieldName)?null==(l=null==e?void 0:e.current)||l.setFieldsValue({Pal:null==n?void 0:n.FieldValue}):"Overview1AppStoreLink"==(null==n?void 0:n.FieldName)?null==(o=null==e?void 0:e.current)||o.setFieldsValue({Asl:null==n?void 0:n.FieldValue}):"Overview1PosLink"==(null==n?void 0:n.FieldName)?null==(d=null==e?void 0:e.current)||d.setFieldsValue({Pos:null==n?void 0:n.FieldValue}):"Overview1BannerImage"==(null==n?void 0:n.FieldName)&&t(f_({overview1Img:null==n?void 0:n.FieldValue}))}))}),[A]);const f=a.useCallback((()=>{o(null),s(null)}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:r,messageData:l,onComplete:f}),Ye.jsx(q2,{}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>(()=>{(null==n?void 0:n.length)>0?(n.filter((e=>e.FieldName.includes("Overview1"))).length>0&&h(!0),null==n||n.map(((n,i)=>{var a,r,s,l,o,d,c;return"Overview1Title"==(null==n?void 0:n.FieldName)?null==(a=null==e?void 0:e.current)?void 0:a.setFieldsValue({Title:null==n?void 0:n.FieldValue}):"Overview1SubTitle"==(null==n?void 0:n.FieldName)?null==(r=null==e?void 0:e.current)?void 0:r.setFieldsValue({STitle:null==n?void 0:n.FieldValue}):"Overview1ButtonText"==(null==n?void 0:n.FieldName)?null==(s=null==e?void 0:e.current)?void 0:s.setFieldsValue({BText:null==n?void 0:n.FieldValue}):"Overview1AppLinkText"==(null==n?void 0:n.FieldName)?null==(l=null==e?void 0:e.current)?void 0:l.setFieldsValue({AText:null==n?void 0:n.FieldValue}):"Overview1PlayStoreLink"==(null==n?void 0:n.FieldName)?null==(o=null==e?void 0:e.current)?void 0:o.setFieldsValue({Pal:null==n?void 0:n.FieldValue}):"Overview1AppStoreLink"==(null==n?void 0:n.FieldName)?null==(d=null==e?void 0:e.current)?void 0:d.setFieldsValue({Asl:null==n?void 0:n.FieldValue}):"Overview1PosLink"==(null==n?void 0:n.FieldName)?null==(c=null==e?void 0:e.current)?void 0:c.setFieldsValue({Pos:null==n?void 0:n.FieldValue}):"Overview1BannerImage"==(null==n?void 0:n.FieldName)?t(f_({overview1Img:null==n?void 0:n.FieldValue})):null}))):h(!1);p(!0)})()}),Ye.jsx(ce,{onClick:()=>{n.length>0&&n.filter((e=>e.FieldName.includes("Overview1"))).length>0?c(!0):(o("Please add a overview data to open the preview"),s("warning"))}})]}),Ye.jsx(j,{centered:!0,open:u,onOk:()=>p(!1),closeIcon:Ye.jsx(M,{onClick:()=>{var n;p(!1),t(f_({overview1Img:""})),null==(n=e.current)||n.resetFields()}}),width:900,children:Ye.jsxs(I,{ref:e,onFinish:n=>{var a;const r=[{FieldName:"Overview1Title",FieldValue:null==n?void 0:n.Title,FieldAddData:""},{FieldName:"Overview1SubTitle",FieldValue:null==n?void 0:n.STitle,FieldAddData:""},{FieldName:"Overview1ButtonText",FieldValue:null==n?void 0:n.BText,FieldAddData:""},{FieldName:"Overview1AppLinkText",FieldValue:null==n?void 0:n.AText,FieldAddData:""},{FieldName:"Overview1PlayStoreLink",FieldValue:null==n?void 0:n.Pal,FieldAddData:""},{FieldName:"Overview1AppStoreLink",FieldValue:null==n?void 0:n.Asl,FieldAddData:""},{FieldName:"Overview1PosLink",FieldValue:null==n?void 0:n.Pos,FieldAddData:""},{FieldName:"Overview1BannerImage",FieldValue:i,FieldAddData:""}];i?(t(h_({postData:r})),o("Data Added Successfully"),s("success"),p(!1),null==(a=e.current)||a.resetFields(),t(f_({overview1Img:""}))):(o("Please Upoload Banner Image"),s("warning"))},children:[Ye.jsxs("div",{className:"overviewmainmodal",children:[Ye.jsxs("div",{className:"overviewmaindiv",children:[Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"Title",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Title",label:"Title",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!A,autoComplete:"off",suffix:Ye.jsx(F,{title:"POS App For Restaurant with & without GST fastest e-bill & normal Billing + KOT and Stock Management\r\n ",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})}),Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"STitle",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Sub Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"STitle",label:"Sub Title",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!A,autoComplete:"off",suffix:Ye.jsx(F,{title:"Restaurant POS Smart Ordering via QR Code and Send Bill Via through SMS or Whatsapp very fast within min.\r\n\r\n ",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})}),Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"BText",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Button Text"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"BText",label:"Button Text",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!A,autoComplete:"off",suffix:Ye.jsx(F,{title:"Get Started",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})}),Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"AText",rules:[{required:!1,pattern:/^(?!\s*$).+/,message:"Please Enter App Link Text"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"AText",label:"App Link Text",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!A,autoComplete:"off",suffix:Ye.jsx(F,{title:"Download Pozo Apps From",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})})]}),Ye.jsxs("div",{className:"overviewImg",children:[Ye.jsx("p",{children:"Upload Banner Image"}),Ye.jsx("br",{}),Ye.jsx(Yy,{updateImageUrl:e=>{t(f_({overview1Img:e}))},singleImage:!0,ImageLink:i})]})]}),Ye.jsxs("div",{className:"overviewsubdiv",children:[Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"Pal",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Pal",label:"Playstore App Link",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!A,autoComplete:"off",suffix:Ye.jsx(F,{title:"https://playstore.com/",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})}),Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"Asl",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Asl",label:"Appstore Link",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!A,autoComplete:"off",suffix:Ye.jsx(F,{title:"https://appstore.com",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})}),Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"Pos",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Pos",label:"POS App Link",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!A,autoComplete:"off",suffix:Ye.jsx(F,{title:"https://pozo.app",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})})]}),Ye.jsx("div",{className:"overviewbtn",children:Ye.jsx(Ry,{type:"submit",buttonText:"SAVE",icon:Ye.jsx(k,{})})})]})}),Ye.jsx(j,{destroyOnClose:!0,centered:!0,open:d,onOk:()=>c(!1),onCancel:()=>c(!1),width:1e3,className:"overview1Modal",children:Ye.jsx("div",{className:"pointerModal",children:Ye.jsx(q2,{data:n,Preview:!0})})})]})};function Y2({updateVideoUrl:e,videoUrl:t}){const n=a.useRef(),i=um(),[r,s]=a.useState();a.useEffect((()=>{t?s(t):(n.current&&(n.current.value=null),s())}),[t]);return Ye.jsxs("div",{children:[Ye.jsx("input",{ref:n,className:"VideoInput_input",type:"file",onChange:async t=>{var n,a,r;let l=t.target.files[0];if(t.target.files.length>0){let t=await i(zy(l)).unwrap();(null==(n=null==t?void 0:t.data)?void 0:n.status)&&(e(null==(a=null==t?void 0:t.data)?void 0:a.image),s(null==(r=null==t?void 0:t.data)?void 0:r.image))}else e(""),s("")},accept:".mov,.mp4"}),!r&&Ye.jsx("button",{type:"button",style:{backgroundColor:"#cfcfcf",borderColor:"#cfcfcf"},onClick:e=>{n.current.click()},children:Ye.jsx("img",{src:"/assets/videobg-8bcfb43a.svg",style:{width:"150px",height:"85px"}})}),r&&Ye.jsx("video",{className:"VideoInput_video",controls:!0,src:r})]})}const K2=e=>{const t=Qt(),n=Tf(D_),i=Tf(D_),r=Tf(L_),[s,l]=a.useState(),[o,d]=a.useState(),c=e.hasOwnProperty("data")?e.data:[{FieldName:"Overview2Title",FieldValue:"",FieldAddData:""},{FieldName:"Overview2SubTitle",FieldValue:"",FieldAddData:""},{FieldName:"Overview2ButtonText",FieldValue:"",FieldAddData:""},{FieldName:"Overview2AppLinkText",FieldValue:"",FieldAddData:""},{FieldName:"Overview2PlayStoreLink",FieldValue:"",FieldAddData:""},{FieldName:"Overview2AppStoreLink",FieldValue:"",FieldAddData:""},{FieldName:"Overview2PosLink",FieldValue:"",FieldAddData:""},{FieldName:"Overview2BannerImage",FieldValue:"",FieldAddData:""},{FieldName:"Overview2BannerVideo",FieldValue:"",FieldAddData:""}],u=e=>{e.target.style.color=i.darkColor,e.target.style.border=`1.8px solid ${i.darkColor}`},p=e=>{e.target.style.color="white"},A=a.useCallback((()=>{l(null),d(null)}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:o,messageData:s,onComplete:A}),Ye.jsxs("div",{style:{backgroundColor:n.lightColor?n.lightColor:"#000",color:n.lightColor?n.lightColor:"#fff"},className:e.hasOwnProperty("data")?"background-video-container":"background-video-container1",children:[null==c?void 0:c.map(((e,t)=>{var n;return"Overview2BannerVideo"==e.FieldName&&(null==(n=e.FieldValue)?void 0:n.length)>0?Ye.jsx(Ye.Fragment,{children:Ye.jsxs("video",{className:"background-video",autoPlay:!0,loop:!0,muted:!0,children:[Ye.jsx("source",{src:e.FieldValue,type:"video/mp4"}),"Your browser does not support the video tag."]})}):null})),null==c?void 0:c.map(((e,t)=>{var n;return"Overview2BannerImage"==e.FieldName&&(null==(n=e.FieldValue)?void 0:n.length)>0?Ye.jsx("img",{src:e.FieldValue,className:"background-video"}):null})),Ye.jsx("div",{className:e.hasOwnProperty("data")?"overview2subdiv2":"overview2subdivwithout",children:Ye.jsxs("div",{className:"overview2subdivdata",children:[null==c?void 0:c.map(((e,n)=>{var a,s,o,c,A;return"Overview2Title"==e.FieldName?Ye.jsx("div",{className:(null==(a=e.FieldValue)?void 0:a.length)>0?"pre2TitleData btn-shine1 ":"emp2TitleData",style:e.FieldValue.length>0?{fontFamily:r.head,color:"white"}:null,children:e.FieldValue.length>0?e.FieldValue:""},n):"Overview2SubTitle"==e.FieldName?Ye.jsx("div",{className:(null==(s=e.FieldValue)?void 0:s.length)>0?"pre2SubTitleData":"emp2SubTitleData",style:e.FieldValue.length>0?{fontFamily:r.para,color:"white"}:null,children:e.FieldValue.length>0?e.FieldValue:""},n):"Overview2ButtonText"==e.FieldName?Ye.jsx("div",{className:(null==(o=e.FieldValue)?void 0:o.length)>0?"pre2ButtonTextData":"emp2ButtonTextData",style:0==(null==(c=e.FieldValue)?void 0:c.length)?{backgroundColor:i.darkColor}:null,children:e.FieldValue.length>0?Ye.jsxs(y,{type:"primary",className:"preButtonTextData",style:{backgroundColor:i.darkColor,fontFamily:r.head},onFocus:u,onBlur:p,onClick:()=>{iA("UserId")?(l("User Already Logged in"),d("success")):t("/signin/")},children:[e.FieldValue,Ye.jsx(k,{})]}):""},n):"Overview2AppLinkText"==e.FieldName?Ye.jsx("div",{className:(null==(A=null==e?void 0:e.FieldValue)?void 0:A.length)||[]>0?"pre2AppLinkTextData":"emp2SubTitleData",style:(e.FieldValue.length,{fontFamily:r.para,color:"white"}),children:e.FieldValue.length||[]>0?e.FieldValue:""},n):null})),Ye.jsx("div",{className:"overview2subdiv",children:null==c?void 0:c.map(((e,t)=>{var n,i,a,s,l,o,d,c,u,p,A,h,f,m,v;return"Overview2PlayStoreLink"==e.FieldName?Ye.jsxs("div",{className:(null==(n=e.FieldValue)?void 0:n.length)>0&&"pre2LinkData",children:[(null==(i=e.FieldValue)?void 0:i.length)>0&&Ye.jsx("div",{children:Ye.jsx("img",{style:{width:"2rem"},src:(null==(a=e.FieldValue)?void 0:a.length)>0?H2:D2})}),Ye.jsx("div",{style:(null==(s=e.FieldValue)?void 0:s.length)>0?{fontFamily:r.para}:null,children:(null==(l=e.FieldValue)?void 0:l.length)>0?Ye.jsx("a",{href:e.FieldValue,style:{color:"black",textDecoration:"none"},children:"Playstore"}):""})]},t):"Overview2AppStoreLink"==e.FieldName?Ye.jsxs("div",{className:(null==(o=e.FieldValue)?void 0:o.length)>0&&"pre2LinkData",children:[(null==(d=e.FieldValue)?void 0:d.length)>0&&Ye.jsx("div",{children:Ye.jsx("img",{style:{width:"2rem"},src:(null==(c=e.FieldValue)?void 0:c.length)>0?V2:D2})}),Ye.jsx("div",{style:(null==(u=e.FieldValue)?void 0:u.length)>0?{fontFamily:r.para}:null,children:(null==(p=e.FieldValue)?void 0:p.length)>0?Ye.jsx("a",{href:e.FieldValue,style:{color:"black",textDecoration:"none"},children:"Appstore"}):""})]},t):"Overview2PosLink"==e.FieldName?Ye.jsxs("div",{className:(null==(A=e.FieldValue)?void 0:A.length)>0&&"pre2LinkData",children:[(null==(h=e.FieldValue)?void 0:h.length)>0&&Ye.jsx("div",{children:Ye.jsx("img",{style:{width:"2rem"},src:(null==(f=e.FieldValue)?void 0:f.length)>0?z2:D2})}),Ye.jsx("div",{style:(null==(m=e.FieldValue)?void 0:m.length)>0?{fontFamily:r.para}:null,children:(null==(v=e.FieldValue)?void 0:v.length)>0?Ye.jsx("a",{href:e.FieldValue,style:{color:"black",textDecoration:"none"},children:"Playstore(Pos)"}):""})]},t):null}))})]})})]})]})},G2=()=>{const e=a.useRef(null),t=um(),n=Tf(M_),i=Tf(Q_),r=Tf(H_),[s,l]=a.useState(null),[o,d]=a.useState(null),[c,u]=a.useState(!1),[p,A]=a.useState(!1),[h,f]=a.useState(!1),[m,v]=a.useState("video");a.useEffect((()=>{var i;null==n||n.map(((n,i)=>{var a,r,s,l,o,d,c;return"Overview2Title"==(null==n?void 0:n.FieldName)?null==(a=null==e?void 0:e.current)?void 0:a.setFieldsValue({Title:null==n?void 0:n.FieldValue}):"Overview2SubTitle"==(null==n?void 0:n.FieldName)?null==(r=null==e?void 0:e.current)?void 0:r.setFieldsValue({STitle:null==n?void 0:n.FieldValue}):"Overview2ButtonText"==(null==n?void 0:n.FieldName)?null==(s=null==e?void 0:e.current)?void 0:s.setFieldsValue({BText:null==n?void 0:n.FieldValue}):"Overview2AppLinkText"==(null==n?void 0:n.FieldName)?null==(l=null==e?void 0:e.current)?void 0:l.setFieldsValue({AText:null==n?void 0:n.FieldValue}):"Overview2PlayStoreLink"==(null==n?void 0:n.FieldName)?null==(o=null==e?void 0:e.current)?void 0:o.setFieldsValue({Pal:null==n?void 0:n.FieldValue}):"Overview2AppStoreLink"==(null==n?void 0:n.FieldName)?null==(d=null==e?void 0:e.current)?void 0:d.setFieldsValue({Asl:null==n?void 0:n.FieldValue}):"Overview2PosLink"==(null==n?void 0:n.FieldName)?null==(c=null==e?void 0:e.current)?void 0:c.setFieldsValue({Pos:null==n?void 0:n.FieldValue}):"Overview2BannerImage"==(null==n?void 0:n.FieldName)?t(m_({overview2Img:null==n?void 0:n.FieldValue})):"Overview2BannerVideo"==(null==n?void 0:n.FieldName)?t(v_({overview2Video:null==n?void 0:n.FieldValue})):null})),(null==(i=Object.keys((null==n?void 0:n.find((e=>"Overview2BannerImage"==(null==e?void 0:e.FieldName))))||{}))?void 0:i.length)>0?v("image"):v("video")}),[h]);const g=a.useCallback((()=>{d(null),l(null)}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:s,messageData:o,onComplete:g}),Ye.jsx(K2,{}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>(()=>{(null==n?void 0:n.length)>0&&(n.filter((e=>e.FieldName.includes("Overview2"))).length>0&&f(!0),null==n||n.map(((n,i)=>{var a,r,s,l,o,d,c;return"Overview2Title"==(null==n?void 0:n.FieldName)?null==(a=null==e?void 0:e.current)?void 0:a.setFieldsValue({Title:null==n?void 0:n.FieldValue}):"Overview2SubTitle"==(null==n?void 0:n.FieldName)?null==(r=null==e?void 0:e.current)?void 0:r.setFieldsValue({STitle:null==n?void 0:n.FieldValue}):"Overview2ButtonText"==(null==n?void 0:n.FieldName)?null==(s=null==e?void 0:e.current)?void 0:s.setFieldsValue({BText:null==n?void 0:n.FieldValue}):"Overview2AppLinkText"==(null==n?void 0:n.FieldName)?null==(l=null==e?void 0:e.current)?void 0:l.setFieldsValue({AText:null==n?void 0:n.FieldValue}):"Overview2PlayStoreLink"==(null==n?void 0:n.FieldName)?null==(o=null==e?void 0:e.current)?void 0:o.setFieldsValue({Pal:null==n?void 0:n.FieldValue}):"Overview2AppStoreLink"==(null==n?void 0:n.FieldName)?null==(d=null==e?void 0:e.current)?void 0:d.setFieldsValue({Asl:null==n?void 0:n.FieldValue}):"Overview2PosLink"==(null==n?void 0:n.FieldName)?null==(c=null==e?void 0:e.current)?void 0:c.setFieldsValue({Pos:null==n?void 0:n.FieldValue}):"Overview2BannerImage"==(null==n?void 0:n.FieldName)?t(m_({overview2Img:null==n?void 0:n.FieldValue})):"Overview2BannerVideo"==(null==n?void 0:n.FieldName)?t(v_({overview2Video:null==n?void 0:n.FieldValue})):null})));A(!0)})()}),Ye.jsx(ce,{onClick:()=>{n.length>0&&n.filter((e=>e.FieldName.includes("Overview2"))).length>0?u(!0):(d("Please add a overview data to open the preview"),l("warning"))}})]}),Ye.jsx(j,{centered:!0,open:p,onOk:()=>A(!1),closeIcon:Ye.jsx(M,{onClick:()=>{var n;A(!1),t(m_({overview2Img:""})),t(v_({overview2Video:null})),null==(n=e.current)||n.resetFields()}}),width:900,children:Ye.jsxs(I,{ref:e,onFinish:n=>{var a;const s=[{FieldName:"Overview2Title",FieldValue:null==n?void 0:n.Title,FieldAddData:""},{FieldName:"Overview2SubTitle",FieldValue:null==n?void 0:n.STitle,FieldAddData:""},{FieldName:"Overview2ButtonText",FieldValue:null==n?void 0:n.BText,FieldAddData:""},{FieldName:"Overview2AppLinkText",FieldValue:null==n?void 0:n.AText,FieldAddData:""},{FieldName:"Overview2PlayStoreLink",FieldValue:null==n?void 0:n.Pal,FieldAddData:""},{FieldName:"Overview2AppStoreLink",FieldValue:null==n?void 0:n.Asl,FieldAddData:""},{FieldName:"Overview2PosLink",FieldValue:null==n?void 0:n.Pos,FieldAddData:""}];r||i?(i&&s.push({FieldName:"Overview2BannerImage",FieldValue:i,FieldAddData:""}),r&&s.push({FieldName:"Overview2BannerVideo",FieldValue:r,FieldAddData:""}),t(h_({postData:s})),d("Data Added Successfully"),l("success"),A(!1),null==(a=e.current)||a.resetFields(),t(m_({overview2Img:""})),t(v_({overview2Video:null}))):(d("Please Upoload Banner Image or Video"),l("warning"))},children:[Ye.jsxs("div",{className:"overview2main",children:[Ye.jsxs("div",{className:"overview2maindiv",children:[Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"Title",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Title",label:"Title",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!h,autoComplete:"off",suffix:Ye.jsx(F,{title:"POS App For Restaurant with & without GST fastest e-bill & normal Billing + KOT and Stock Management",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})}),Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"STitle",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Sub Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"STitle",label:"Sub Title",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!h,autoComplete:"off",suffix:Ye.jsx(F,{title:"Restaurant POS Smart Ordering via QR Code and Send Bill Via through SMS or Whatsapp very fast within min.",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})}),Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"BText",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Button Text"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"BText",label:"Button Text",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!h,autoComplete:"off",suffix:Ye.jsx(F,{title:"Get Started",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})}),Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"AText",rules:[{required:!1,pattern:/^(?!\s*$).+/,message:"Please Enter App Link Text"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"AText",label:"App Link Text",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!h,autoComplete:"off",suffix:Ye.jsx(F,{title:"Download Pozo Apps From",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})})]}),Ye.jsxs("div",{className:"overview2Img",children:[Ye.jsx(ue,{options:[{label:"Video",value:"video",icon:Ye.jsx(VO,{})},{label:"Image",value:"image",icon:Ye.jsx(Xv,{})}],value:m,onChange:e=>v(e)}),Ye.jsx("div",{className:"overview2SubImg",children:"video"===m?Ye.jsxs("div",{className:"overviewVideo",style:{position:"relative"},children:[Ye.jsx("p",{children:"Upload Background Video"}),Ye.jsx("br",{}),Ye.jsx(Y2,{updateVideoUrl:e=>{t(v_({overview2Video:e}))},videoUrl:r}),r&&Ye.jsxs(y,{style:{marginTop:"1rem"},type:"dashed",onClick:()=>{t(v_({overview2Video:""}))},danger:!0,children:["Delete Video",Ye.jsx(L,{})]})]}):Ye.jsxs("div",{children:[Ye.jsx("p",{children:"Upload Banner Image"}),Ye.jsx("br",{}),Ye.jsx(Yy,{updateImageUrl:e=>{t(m_({overview2Img:e}))},singleImage:!0,ImageLink:i})]})})]})]}),Ye.jsxs("div",{className:"overview2subdiv",children:[Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"Pal",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Pal",label:"Playstore App Link",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!h,autoComplete:"off",suffix:Ye.jsx(F,{title:"https://playstore.com/",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})}),Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"Asl",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Asl",label:"Appstore Link",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!h,autoComplete:"off",suffix:Ye.jsx(F,{title:"https://appstore.com",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})}),Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"Pos",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Pos",label:"POS App Link",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!h,autoComplete:"off",suffix:Ye.jsx(F,{title:"https://pozo.app",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})})]}),Ye.jsx("div",{className:"overview2btn",children:Ye.jsx(Ry,{type:"submit",buttonText:"SAVE",icon:Ye.jsx(k,{})})})]})}),Ye.jsx(j,{destroyOnClose:!0,centered:!0,open:c,onOk:()=>u(!1),onCancel:()=>u(!1),width:1e3,children:Ye.jsx("div",{className:"pointerModal",children:Ye.jsx(K2,{data:n})})})]})};function $2(e){if("undefined"==typeof Proxy)return e;const t=new Map;return new Proxy(((...t)=>e(...t)),{get:(n,i)=>"create"===i?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}const X2=$2(bP);function J2(e,t){[...t].reverse().forEach((n=>{const i=e.getVariant(n);i&&CN(e,i),e.variantChildren&&e.variantChildren.forEach((e=>{J2(e,t)}))}))}function Z2(){const e=new Set,t={subscribe:t=>(e.add(t),()=>{e.delete(t)}),start(t,n){const i=[];return e.forEach((e=>{i.push(MN(e,t,{transitionOverride:n}))})),Promise.all(i)},set:t=>e.forEach((e=>{!function(e,t){Array.isArray(t)?J2(e,t):"string"==typeof t?J2(e,[t]):CN(e,t)}(e,t)})),stop(){e.forEach((e=>{!function(e){e.values.forEach((e=>e.stop()))}(e)}))},mount:()=>()=>{t.stop()}};return t}const e5=function(){const e=iP(Z2);return kB(e.mount,[]),e},t5={some:0,all:1};function n5(e,{root:t,margin:n,amount:i,once:r=!1,initial:s=!1}={}){const[l,o]=a.useState(s);return a.useEffect((()=>{if(!e.current||r&&l)return;const a={root:t&&t.current||void 0,margin:n,amount:i};return function(e,t,{root:n,margin:i,amount:a="some"}={}){const r=tN(e),s=new WeakMap,l=new IntersectionObserver((e=>{e.forEach((e=>{const n=s.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e.target,e);"function"==typeof n?s.set(e.target,n):l.unobserve(e.target)}else"function"==typeof n&&(n(e),s.delete(e.target))}))}),{root:n,rootMargin:i,threshold:"number"==typeof a?a:t5[a]});return r.forEach((e=>l.observe(e))),()=>l.disconnect()}(e.current,(()=>(o(!0),r?void 0:()=>o(!1))),a)}),[t,e,n,r,i]),l}var i5={exports:{}};!function(e){!function(){function t(e,t,n){return e.call.apply(e.bind,arguments)}function n(e,t,n){if(!e)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,i),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function i(e,a,r){return(i=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?t:n).apply(null,arguments)}var a=Date.now||function(){return+new Date};function r(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var s=!!window.FontFace;function l(e,t,n,i){if(t=e.c.createElement(t),n)for(var a in n)n.hasOwnProperty(a)&&("style"==a?t.style.cssText=n[a]:t.setAttribute(a,n[a]));return i&&t.appendChild(e.c.createTextNode(i)),t}function o(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function d(e){e.parentNode&&e.parentNode.removeChild(e)}function c(e,t,n){t=t||[],n=n||[];for(var i=e.className.split(/\s+/),a=0;a<t.length;a+=1){for(var r=!1,s=0;s<i.length;s+=1)if(t[a]===i[s]){r=!0;break}r||i.push(t[a])}for(t=[],a=0;a<i.length;a+=1){for(r=!1,s=0;s<n.length;s+=1)if(i[a]===n[s]){r=!0;break}r||t.push(i[a])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function u(e,t){for(var n=e.className.split(/\s+/),i=0,a=n.length;i<a;i++)if(n[i]==t)return!0;return!1}function p(e,t,n){function i(){c&&a&&r&&(c(d),c=null)}t=l(e,"link",{rel:"stylesheet",href:t,media:"all"});var a=!1,r=!0,d=null,c=n||null;s?(t.onload=function(){a=!0,i()},t.onerror=function(){a=!0,d=Error("Stylesheet failed to load"),i()}):setTimeout((function(){a=!0,i()}),0),o(e,"head",t)}function A(e,t,n,i){var a=e.c.getElementsByTagName("head")[0];if(a){var r=l(e,"script",{src:t}),s=!1;return r.onload=r.onreadystatechange=function(){s||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(s=!0,n&&n(null),r.onload=r.onreadystatechange=null,"HEAD"==r.parentNode.tagName&&a.removeChild(r))},a.appendChild(r),setTimeout((function(){s||(s=!0,n&&n(Error("Script load timeout")))}),i||5e3),r}return null}function h(){this.a=0,this.c=null}function f(e){return e.a++,function(){e.a--,v(e)}}function m(e,t){e.c=t,v(e)}function v(e){0==e.a&&e.c&&(e.c(),e.c=null)}function g(e){this.a=e||"-"}function y(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function x(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var i=e[n].replace(/['"]/g,"");-1!=i.indexOf(" ")||/^\d/.test(i)?t.push("'"+i+"'"):t.push(i)}return t.join(",")}function b(e){return e.a+e.f}function w(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function j(e){var t=4,n="n",i=null;return e&&((i=e.match(/(normal|oblique|italic)/i))&&i[1]&&(n=i[1].substr(0,1).toLowerCase()),(i=e.match(/([1-9]00|normal|bold)/i))&&i[1]&&(/bold/i.test(i[1])?t=7:/[1-9]00/.test(i[1])&&(t=parseInt(i[1].substr(0,1),10)))),n+t}function C(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new g("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function S(e){if(e.g){var t=u(e.f,e.a.c("wf","active")),n=[],i=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),c(e.f,n,i)}N(e,"inactive")}function N(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,b(n)):e.h[t]())}function I(){this.c={}}function F(e,t){this.c=e,this.f=t,this.a=l(this.c,"span",{"aria-hidden":"true"},this.f)}function B(e){o(e.c,"body",e.a)}function P(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+x(e.c)+";font-style:"+w(e)+";font-weight:"+e.f+"00;"}function k(e,t,n,i,a,r){this.g=e,this.j=t,this.a=i,this.c=n,this.f=a||3e3,this.h=r||void 0}function T(e,t,n,i,a,r,s){this.v=e,this.B=t,this.c=n,this.a=i,this.s=s||"BESbswy",this.f={},this.w=a||3e3,this.u=r||null,this.m=this.j=this.h=this.g=null,this.g=new F(this.c,this.s),this.h=new F(this.c,this.s),this.j=new F(this.c,this.s),this.m=new F(this.c,this.s),e=P(e=new y(this.a.c+",serif",b(this.a))),this.g.a.style.cssText=e,e=P(e=new y(this.a.c+",sans-serif",b(this.a))),this.h.a.style.cssText=e,e=P(e=new y("serif",b(this.a))),this.j.a.style.cssText=e,e=P(e=new y("sans-serif",b(this.a))),this.m.a.style.cssText=e,B(this.g),B(this.h),B(this.j),B(this.m)}g.prototype.c=function(e){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},k.prototype.start=function(){var e=this.c.o.document,t=this,n=a(),i=new Promise((function(i,r){!function s(){a()-n>=t.f?r():e.fonts.load(function(e){return w(e)+" "+e.f+"00 300px "+x(e.c)}(t.a),t.h).then((function(e){1<=e.length?i():setTimeout(s,25)}),(function(){r()}))}()})),r=null,s=new Promise((function(e,n){r=setTimeout(n,t.f)}));Promise.race([s,i]).then((function(){r&&(clearTimeout(r),r=null),t.g(t.a)}),(function(){t.j(t.a)}))};var E={D:"serif",C:"sans-serif"},D=null;function L(){if(null===D){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);D=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return D}function U(e,t,n){for(var i in E)if(E.hasOwnProperty(i)&&t===e.f[E[i]]&&n===e.f[E[i]])return!0;return!1}function _(e){var t,n=e.g.a.offsetWidth,r=e.h.a.offsetWidth;(t=n===e.f.serif&&r===e.f["sans-serif"])||(t=L()&&U(e,n,r)),t?a()-e.A>=e.w?L()&&U(e,n,r)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?O(e,e.v):O(e,e.B):function(e){setTimeout(i((function(){_(this)}),e),50)}(e):O(e,e.v)}function O(e,t){setTimeout(i((function(){d(this.g.a),d(this.h.a),d(this.j.a),d(this.m.a),t(this.a)}),e),0)}function M(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}T.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=a(),_(this)};var R=null;function Q(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&c(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),N(e,"active")):S(e.a))}function H(e){this.j=e,this.a=new I,this.h=0,this.f=this.g=!0}function V(e,t,n,a,r){var s=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=r||null,l=a||{};if(0===n.length&&s)S(t.a);else{t.f+=n.length,s&&(t.j=s);var o,d=[];for(o=0;o<n.length;o++){var u=n[o],p=l[u.c],A=t.a,h=u;if(A.g&&c(A.f,[A.a.c("wf",h.c,b(h).toString(),"loading")]),N(A,"fontloading",h),A=null,null===R)if(window.FontFace){h=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var f=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);R=h?42<parseInt(h[1],10):!f}else R=!1;A=R?new k(i(t.g,t),i(t.h,t),t.c,u,t.s,p):new T(i(t.g,t),i(t.h,t),t.c,u,t.s,e,p),d.push(A)}for(o=0;o<d.length;o++)d[o].start()}}),0)}function z(e,t){this.c=e,this.a=t}function q(e,t){this.c=e,this.a=t}function W(e,t){this.c=e||Y,this.a=[],this.f=[],this.g=t||""}M.prototype.g=function(e){var t=this.a;t.g&&c(t.f,[t.a.c("wf",e.c,b(e).toString(),"active")],[t.a.c("wf",e.c,b(e).toString(),"loading"),t.a.c("wf",e.c,b(e).toString(),"inactive")]),N(t,"fontactive",e),this.m=!0,Q(this)},M.prototype.h=function(e){var t=this.a;if(t.g){var n=u(t.f,t.a.c("wf",e.c,b(e).toString(),"active")),i=[],a=[t.a.c("wf",e.c,b(e).toString(),"loading")];n||i.push(t.a.c("wf",e.c,b(e).toString(),"inactive")),c(t.f,i,a)}N(t,"fontinactive",e),Q(this)},H.prototype.load=function(e){this.c=new r(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,n){var i=[],a=n.timeout;!function(e){e.g&&c(e.f,[e.a.c("wf","loading")]),N(e,"loading")}(t);i=function(e,t,n){var i,a=[];for(i in t)if(t.hasOwnProperty(i)){var r=e.c[i];r&&a.push(r(t[i],n))}return a}(e.a,n,e.c);var r=new M(e.c,t,a);for(e.h=i.length,t=0,n=i.length;t<n;t++)i[t].load((function(t,n,i){V(e,r,t,n,i)}))}(this,new C(this.c,e),e)},z.prototype.load=function(e){function t(){if(r["__mti_fntLst"+i]){var n,a=r["__mti_fntLst"+i](),s=[];if(a)for(var l=0;l<a.length;l++){var o=a[l].fontfamily;null!=a[l].fontStyle&&null!=a[l].fontWeight?(n=a[l].fontStyle+a[l].fontWeight,s.push(new y(o,n))):s.push(new y(o))}e(s)}else setTimeout((function(){t()}),50)}var n=this,i=n.a.projectId,a=n.a.version;if(i){var r=n.c.o;A(this.c,(n.a.api||"https://fast.fonts.net/jsapi")+"/"+i+".js"+(a?"?v="+a:""),(function(a){a?e([]):(r["__MonotypeConfiguration__"+i]=function(){return n.a},t())})).id="__MonotypeAPIScript__"+i}else e([])},q.prototype.load=function(e){var t,n,i=this.a.urls||[],a=this.a.families||[],r=this.a.testStrings||{},s=new h;for(t=0,n=i.length;t<n;t++)p(this.c,i[t],f(s));var l=[];for(t=0,n=a.length;t<n;t++)if((i=a[t].split(":"))[1])for(var o=i[1].split(","),d=0;d<o.length;d+=1)l.push(new y(i[0],o[d]));else l.push(new y(i[0]));m(s,(function(){e(l,r)}))};var Y="https://fonts.googleapis.com/css";function K(e){this.f=e,this.a=[],this.c={}}var G={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},$={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},X={i:"i",italic:"i",n:"n",normal:"n"},J=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function Z(e,t){this.c=e,this.a=t}var ee={Arimo:!0,Cousine:!0,Tinos:!0};function te(e,t){this.c=e,this.a=t}function ne(e,t){this.c=e,this.f=t,this.a=[]}Z.prototype.load=function(e){var t=new h,n=this.c,i=new W(this.a.api,this.a.text),a=this.a.families;!function(e,t){for(var n=t.length,i=0;i<n;i++){var a=t[i].split(":");3==a.length&&e.f.push(a.pop());var r="";2==a.length&&""!=a[1]&&(r=":"),e.a.push(a.join(r))}}(i,a);var r=new K(a);!function(e){for(var t=e.f.length,n=0;n<t;n++){var i=e.f[n].split(":"),a=i[0].replace(/\+/g," "),r=["n4"];if(2<=i.length){var s;if(s=[],l=i[1])for(var l,o=(l=l.split(",")).length,d=0;d<o;d++){var c;if((c=l[d]).match(/^[\w-]+$/))if(null==(u=J.exec(c.toLowerCase())))c="";else{if(c=null==(c=u[2])||""==c?"n":X[c],null==(u=u[1])||""==u)u="4";else var u=$[u]||(isNaN(u)?"4":u.substr(0,1));c=[c,u].join("")}else c="";c&&s.push(c)}0<s.length&&(r=s),3==i.length&&(s=[],0<(i=(i=i[2])?i.split(","):s).length&&(i=G[i[0]])&&(e.c[a]=i))}for(e.c[a]||(i=G[a])&&(e.c[a]=i),i=0;i<r.length;i+=1)e.a.push(new y(a,r[i]))}}(r),p(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],i=0;i<t;i++)n.push(e.a[i].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(i),f(t)),m(t,(function(){e(r.a,r.c,ee)}))},te.prototype.load=function(e){var t=this.a.id,n=this.c.o;t?A(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){t=n.Typekit.config.fn;for(var i=[],a=0;a<t.length;a+=2)for(var r=t[a],s=t[a+1],l=0;l<s.length;l++)i.push(new y(r,s[l]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(o){}e(i)}}),2e3):e([])},ne.prototype.load=function(e){var t=this.f.id,n=this.c.o,i=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(t,n){for(var a=0,r=n.fonts.length;a<r;++a){var s=n.fonts[a];i.a.push(new y(s.name,j("font-weight:"+s.weight+";font-style:"+s.style)))}e(i.a)},A(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",(function(t){t&&e([])}))):e([])};var ie=new H(window);ie.a.c.custom=function(e,t){return new q(t,e)},ie.a.c.fontdeck=function(e,t){return new ne(t,e)},ie.a.c.monotype=function(e,t){return new z(t,e)},ie.a.c.typekit=function(e,t){return new te(t,e)},ie.a.c.google=function(e,t){return new Z(t,e)};var ae={load:i(ie.load,ie)};e.exports?e.exports=ae:(window.WebFont=ae,window.WebFontConfig&&ie.load(window.WebFontConfig))}()}(i5);const a5=c(i5.exports),r5=e=>{const t=Qt(),[n,i]=a.useState([]);a.useEffect((()=>{e.data&&e.data.length>0?i(e.data):i([])}),[e.data]);const r=n.find((e=>"Overview3BannerVideo"===e.FieldName));r&&r.FieldValue&&r.FieldValue;const s=Tf(D_),l=Tf(L_),o=Tf(q_),d=Tf(U_),c=Tf(W_),[u,p]=a.useState(null),A=a.useRef(null),h=n5(A,{once:!1,amount:.3}),f=e5();return a.useEffect((()=>{let e,t=0;const n=A.current;if(n){const i=n.scrollHeight-n.clientHeight;e=setInterval((()=>{t+=1,t>i?(n.scrollTo({top:0,behavior:"smooth"}),t=0):n.scrollTo({top:t,behavior:"auto"})}),30)}return()=>clearInterval(e)}),[]),a.useEffect((()=>{h&&f.start("visible")}),[f,h]),a.useEffect((()=>{let e=null==d?void 0:d.filter((e=>(null==e?void 0:e.AppId)===(null==o?void 0:o.AppId)));p(e.length>0?e[0].AppName:c.length>0?c:null)}),[o]),a.useEffect((()=>{l.head,l.para&&a5.load({google:{families:[l.head,l.para]}})}),[l.head,l.para]),Ye.jsxs("div",{className:"hero-section",id:"overview",children:[null==n?void 0:n.map(((e,t)=>{var n;return"Overview3BannerVideo"===e.FieldName&&(null==(n=e.FieldValue)?void 0:n.length)>0?Ye.jsxs("video",{className:"video-background",autoPlay:!0,loop:!0,muted:!0,children:[Ye.jsx("source",{src:e.FieldValue,type:"video/mp4"}),"Your browser does not support the video tag."]},t):null})),Ye.jsx("div",{className:"overlay"}),Ye.jsx("div",{className:"content-wrapper",children:Ye.jsx("div",{className:"container",style:{backgroundColor:"transparent"},children:Ye.jsxs(X2.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},className:"hero-content",children:[null==n?void 0:n.map(((e,n)=>"Overview3Title"===e.FieldName?Ye.jsxs("h1",{style:{fontFamily:(null==l?void 0:l.head)?null==l?void 0:l.head:""},children:[e.FieldValue," ",Ye.jsx("span",{style:{color:s.darkColor?s.darkColor:"#fff",fontFamily:(null==l?void 0:l.head)?null==l?void 0:l.head:""},children:u})]},n):"Overview3SubTitle"===e.FieldName?Ye.jsx("p",{style:{fontFamily:(null==l?void 0:l.para)?null==l?void 0:l.para:""},children:e.FieldValue},n):"Overview3ButtonText"===e.FieldName?Ye.jsxs("div",{className:"button-group",children:[Ye.jsxs(X2.button,{whileHover:{scale:1.05},whileTap:{scale:.95},className:"primary-button",style:{fontFamily:"Inter",backgroundColor:s.darkColor?s.darkColor:"#000",color:"#fff",fontFamily:(null==l?void 0:l.para)?null==l?void 0:l.para:""},onClick:()=>t("/signin"),children:[e.FieldValue,Ye.jsx(ri,{className:"icon"})]}),Ye.jsx(X2.button,{whileHover:{scale:1.05},whileTap:{scale:.95},className:"secondary-button",style:{fontFamily:(null==l?void 0:l.para)?null==l?void 0:l.para:""},children:"Watch Demo"})]},n):null)),Ye.jsx("div",{className:"overview2subdiv",children:null==n?void 0:n.map(((e,t)=>{var n,i,a,r,s,l,o,d,c,u,p,A,h,f,m;return"Overview3PlayStoreLink"===e.FieldName?Ye.jsxs("div",{className:(null==(n=e.FieldValue)?void 0:n.length)>0?"pre2LinkData":"",children:[(null==(i=e.FieldValue)?void 0:i.length)>0&&Ye.jsx("div",{children:Ye.jsx("img",{style:{width:"2rem"},src:(null==(a=e.FieldValue)?void 0:a.length)>0?H2:D2,alt:"playstore"})}),Ye.jsx("div",{style:(null==(r=e.FieldValue)?void 0:r.length)>0?{fontFamily:"Inter"}:null,children:(null==(s=e.FieldValue)?void 0:s.length)>0?Ye.jsx("a",{href:e.FieldValue,style:{color:"black",textDecoration:"none"},children:"Playstore"}):""})]},t):"Overview3AppStoreLink"===e.FieldName?Ye.jsxs("div",{className:(null==(l=e.FieldValue)?void 0:l.length)>0?"pre2LinkData":"",children:[(null==(o=e.FieldValue)?void 0:o.length)>0&&Ye.jsx("div",{children:Ye.jsx("img",{style:{width:"2rem"},src:(null==(d=e.FieldValue)?void 0:d.length)>0?V2:D2,alt:"appstore"})}),Ye.jsx("div",{style:(null==(c=e.FieldValue)?void 0:c.length)>0?{fontFamily:"Inter"}:null,children:(null==(u=e.FieldValue)?void 0:u.length)>0?Ye.jsx("a",{href:e.FieldValue,style:{color:"black",textDecoration:"none"},children:"Appstore"}):""})]},t):"Overview3PosLink"===e.FieldName?Ye.jsxs("div",{className:(null==(p=e.FieldValue)?void 0:p.length)>0?"pre2LinkData":"",children:[(null==(A=e.FieldValue)?void 0:A.length)>0&&Ye.jsx("div",{children:Ye.jsx("img",{style:{width:"2rem"},src:(null==(h=e.FieldValue)?void 0:h.length)>0?z2:D2,alt:"pos"})}),Ye.jsx("div",{style:(null==(f=e.FieldValue)?void 0:f.length)>0?{fontFamily:"Inter"}:null,children:(null==(m=e.FieldValue)?void 0:m.length)>0?Ye.jsx("a",{href:e.FieldValue,style:{color:"black",textDecoration:"none"},children:"Playstore(Pos)"}):""})]},t):null}))})]})})}),Ye.jsx("div",{className:"scroll-indicator",children:Ye.jsx(X2.div,{animate:{y:[0,10,0]},transition:{duration:1.5,repeat:1/0,repeatType:"loop"},className:"scroll-box",children:Ye.jsx(X2.div,{animate:{y:[0,12,0]},transition:{duration:1.5,repeat:1/0,repeatType:"loop"},className:"scroll-dot"})})})]})},s5=()=>{const e=a.useRef(null),t=um(),n=Tf(M_),i=Tf(H_),[r,s]=a.useState(null),[l,o]=a.useState(null),[d,c]=a.useState(!1),[u,p]=a.useState(!1),[A,h]=a.useState(!1);a.useEffect((()=>{(null==n?void 0:n.length)>0&&n.forEach((n=>{var i,a,r,s;switch(n.FieldName){case"Overview3Title":null==(i=null==e?void 0:e.current)||i.setFieldsValue({Title:n.FieldValue});break;case"Overview3SubTitle":null==(a=null==e?void 0:e.current)||a.setFieldsValue({STitle:n.FieldValue});break;case"Overview3ButtonText":null==(r=null==e?void 0:e.current)||r.setFieldsValue({BText:n.FieldValue});break;case"Overview3BannerVideo":t(v_({overview2Video:n.FieldValue}));break;case"Overview3Stats":null==(s=null==e?void 0:e.current)||s.setFieldsValue({Stats:n.FieldValue})}}))}),[A,n]);const f=a.useCallback((()=>{o(null),s(null)}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:r,messageData:l,onComplete:f}),Ye.jsx(K2,{}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>(()=>{(null==n?void 0:n.length)>0&&n.filter((e=>e.FieldName.includes("Overview3"))).length>0&&h(!0);p(!0)})()}),Ye.jsx(ce,{onClick:()=>{n.length>0&&n.filter((e=>e.FieldName.includes("Overview3"))).length>0?c(!0):(o("Please add overview data to open the preview"),s("warning"))}})]}),Ye.jsx(j,{centered:!0,open:u,onOk:()=>p(!1),closeIcon:Ye.jsx(M,{onClick:()=>{var n;p(!1),t(v_({overview2Video:null})),null==(n=e.current)||n.resetFields()}}),width:900,children:Ye.jsxs(I,{ref:e,onFinish:n=>{var a;const r=[{FieldName:"Overview3Title",FieldValue:null==n?void 0:n.Title,FieldAddData:""},{FieldName:"Overview3SubTitle",FieldValue:null==n?void 0:n.STitle,FieldAddData:""},{FieldName:"Overview3ButtonText",FieldValue:null==n?void 0:n.BText,FieldAddData:""},{FieldName:"Overview3BannerVideo",FieldValue:i,FieldAddData:""},{FieldName:"Overview3Stats",FieldValue:null==n?void 0:n.Stats,FieldAddData:""}];i?(t(h_({postData:r})),o("Data Added Successfully"),s("success"),p(!1),null==(a=e.current)||a.resetFields(),t(v_({overview2Video:null}))):(o("Please Upload Background Video"),s("warning"))},children:[Ye.jsxs("div",{className:"overview2main",children:[Ye.jsxs("div",{className:"overview2maindiv",children:[Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"Title",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Title",label:"Title",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!A,autoComplete:"off",suffix:Ye.jsx(F,{title:"Enter your main heading",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})}),Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"STitle",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Sub Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"STitle",label:"Sub Title",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!A,autoComplete:"off",suffix:Ye.jsx(F,{title:"Enter your subtitle or description",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})}),Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"BText",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Button Text"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"BText",label:"Button Text",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!A,autoComplete:"off",suffix:Ye.jsx(F,{title:"Enter text for the main button",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})}),Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"Stats",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Statistics"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Stats",label:"Statistics",className:"Input",fieldState:!0,fieldApi:!0,isOnChange:!!A,autoComplete:"off",suffix:Ye.jsx(F,{title:"Enter statistics in format: value1,label1;value2,label2;...",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})})]}),Ye.jsx("div",{className:"overview2Img",children:Ye.jsx("div",{className:"overview2SubImg",children:Ye.jsxs("div",{className:"overviewVideo",style:{position:"relative"},children:[Ye.jsx("p",{children:"Upload Background Video"}),Ye.jsx("br",{}),Ye.jsx(Y2,{updateVideoUrl:e=>{t(v_({overview2Video:e}))},videoUrl:i}),i&&Ye.jsxs(y,{style:{marginTop:"1rem"},type:"dashed",onClick:async()=>{await t(v_({overview2Video:""}))},danger:!0,children:["Delete Video",Ye.jsx(L,{})]})]})})})]}),Ye.jsx("div",{className:"overview2btn",children:Ye.jsx(Ry,{type:"submit",buttonText:"SAVE",icon:Ye.jsx(k,{})})})]})}),Ye.jsx(j,{destroyOnClose:!0,centered:!0,open:d,onOk:()=>c(!1),onCancel:()=>c(!1),width:1e3,children:Ye.jsx("div",{className:"pointerModal",children:Ye.jsx(r5,{data:n})})})]})},l5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAANCAYAAACkTj4ZAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFqSURBVHgBpVO7isJAFD2JgoIWoiJYaWHhByj4E36F/6KlrT8gKIiVhYiCaOWmtbFQEWzzIC/Ie72zJGx2k0YPXIY7c+fMmblnOFVVg+fzCc/z8A6CIECj0QC32WyCSqUCnufxLq7XK7K6rqPX6+ET3G43xGTIsozRaITxeMwk/4WiKKlkMSJRFCFJEjRNg23bscL9fo/hcIjtdptIlP2dtFotDAYDlMtl5HK5aJ7Id7sdU7ler9FsNlltqiIqbLfbqNVq0Rwpm0wmsCwL+XweHMdhPp//u2ZE5Loui1cXIXwJcByHkVBODclkMmydyEzTxGw2i71jdDUqXCwWOJ1O7FRRElGtVnE8HiO1vu+zkeJ+v2O1WqHf78cVTadTRhJuokd9PB6o1+vMrEQSKqec4nA4MA8RuOVyyZx9Pp+RhG63i5f7cblcEtcLhQI6nQ74YrGYSkIQBCHRUyEMw/hpAv01MuInKJVK+AZCkc+8fXU9fwAAAABJRU5ErkJggg==",o5=({children:e,showLeftButton:t,showRightButton:n})=>{const i=a.useRef(null),[r,s]=a.useState(!1),[l,o]=a.useState(!0),[d,c]=a.useState(!1),[u,p]=a.useState(0),[A,h]=a.useState(window.innerWidth);a.useEffect((()=>{function e(){h(window.innerWidth)}return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[A]);const f=()=>{c(!1)};return a.useEffect((()=>{const e=i.current;if(e){const t=e.scrollWidth>e.clientWidth;s(t),o(t)}}),[e,A]),Ye.jsxs("div",{className:"AppSliderDiv",children:[Ye.jsx("div",{style:{width:"2rem"},children:r&&Ye.jsx("button",{className:"swipee-icon",onClick:()=>{i.current&&(i.current.scrollLeft-=200)},children:Ye.jsx(IU,{})})}),Ye.jsx("div",{style:{overflowX:"hidden",overflowY:"hidden",display:"flex",alignItems:"center",justifyContent:"start",flexDirection:"row",columnGap:"0.5rem",cursor:"grab"},ref:i,onScroll:()=>{const e=i.current;e&&(s(e.scrollLeft>0),o(e.scrollWidth-e.clientWidth-e.scrollLeft>1))},onMouseDown:e=>{c(!0),p(e.pageX-i.current.offsetLeft)},onTouchStart:e=>{c(!0),p(e.touches[0].clientX)},onMouseMove:e=>{if(!d)return;const t=i.current;if(!t)return;const n=e.clientX-u;t.scrollLeft-=n,p(e.clientX)},onTouchMove:e=>{if(!d)return;const t=i.current;if(!t)return;const n=e.touches[0].clientX-u;t.scrollLeft-=n,p(e.touches[0].clientX)},onMouseUp:f,onTouchEnd:()=>{c(!1)},onMouseLeave:f,children:e}),Ye.jsx("div",{style:{width:"2rem"},children:l&&Ye.jsx("button",{className:"swipee-icon",onClick:()=>{i.current&&(i.current.scrollLeft+=200)},children:Ye.jsx(FU,{})})})]})};o5.propTypes={children:TU.node.isRequired},o5.propTypes={children:TU.node.isRequired,showLeftButton:TU.bool,showRightButton:TU.bool},o5.defaultProps={showLeftButton:!0,showRightButton:!0};const d5=e=>{a.useEffect((()=>{LU.init({duration:1e3})}),[]);const t=Tf(L_),n=e.hasOwnProperty("data")?null==e?void 0:e.data:[{FieldName:"Feature1Image",FieldValue:""},{FieldName:"Feature1Link",FieldValue:""},{FieldName:"Feature1subImage1",FieldValue:""},{FieldName:"Feature1subName1",FieldValue:""},{FieldName:"Feature1subImage2",FieldValue:""},{FieldName:"Feature1subName2",FieldValue:""}];return Ye.jsx("div",{className:e.hasOwnProperty("data")?"features1Body":"features1Body feature1SingleGrid",children:Ye.jsx(o5,{children:(()=>{var e,i,r,s,l,o;a.useEffect((()=>{LU.init({duration:1e3})}),[]);let d={};null==n||n.map((e=>{d[e.FieldName]=e.FieldValue}));let c=[];for(let a=1;a<=Math.ceil((null==n?void 0:n.length)/6);a++)c.push(Ye.jsxs("div",{className:"feature1Card",children:[Ye.jsx("div",{className:"feature1mainImage",children:Ye.jsx("img",{style:{borderRadius:"10px"},src:(null==(e=d[`Feature${a}Image`])?void 0:e.length)>0?d[`Feature${a}Image`]:GM,alt:"feature Image",width:"100%",height:"100%"})}),Ye.jsx("p",{className:(null==(i=d[`Feature${a}Link`])?void 0:i.length)>0?"feature1Des":"feature1EmptyBox feature1DesEmpty",style:{fontSize:"22px",fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},children:d[`Feature${a}Link`]??""}),Ye.jsxs("div",{className:"feature1SubCatP",children:[Ye.jsxs("div",{className:"feature1SubCat",children:[Ye.jsx("div",{className:"feature1subImage",children:Ye.jsx("img",{src:(null==(r=d[`Feature${a}subImage1`])?void 0:r.length)>0?d[`Feature${a}subImage1`]:l5,alt:"subFeature Image",width:"100%",height:"100%"})}),Ye.jsx("p",{className:(null==(s=d[`Feature${a}subName1`])?void 0:s.length)>0?"feature1Des":"feature1EmptyBox",style:{fontSize:"14px",textTransform:"capitalize",fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},children:d[`Feature${a}subName1`]??""})]}),Ye.jsxs("div",{className:"feature1SubCat",children:[Ye.jsx("div",{className:"feature1subImage",children:Ye.jsx("img",{src:(null==(l=d[`Feature${a}subImage2`])?void 0:l.length)>0?d[`Feature${a}subImage2`]:l5,alt:"subFeature Image",width:"100%",height:"100%"})}),Ye.jsx("p",{className:(null==(o=d[`Feature${a}subName2`])?void 0:o.length)>0?"":"feature1EmptyBox",style:{fontSize:"14px",textTransform:"capitalize",fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},children:d[`Feature${a}subName2`]??""})]})]})]},a));return c})()})})},c5=Object.freeze(Object.defineProperty({__proto__:null,default:d5},Symbol.toStringTag,{value:"Module"})),u5=e=>{const t=um(),n=Tf(G_),i=a.useRef(),[r,s]=a.useState(1),[l,o]=a.useState({});a.useEffect((()=>{var t,a,r,l,d,c,u,p,A,h,f,m;if((null==n?void 0:n.length)>0&&!0===(null==e?void 0:e.ModelOpen)){let e={};var v=null==n?void 0:n.filter(((e,t)=>e.FieldName.includes("subName")||e.FieldName.includes("Link")));s(v.length/3);for(let n=0;n<(null==v?void 0:v.length);n+=3)null==(a=null==i?void 0:i.current)||a.setFieldsValue({[`Feature${n/3+1}Link`]:null==(t=v[n])?void 0:t.FieldValue}),null==(l=null==i?void 0:i.current)||l.setFieldsValue({[`Feature${n/3+1}subName1`]:null==(r=v[n+1])?void 0:r.FieldValue}),null==(c=null==i?void 0:i.current)||c.setFieldsValue({[`Feature${n/3+1}subName2`]:null==(d=v[n+2])?void 0:d.FieldValue});var g=null==n?void 0:n.filter(((e,t)=>e.FieldName.includes("Image")));for(let t=0;t<(null==g?void 0:g.length);t+=3){let n=Math.round(t/3+1);const i=[`Feature${n}Image`,`Feature${n}subImage1`,`Feature${n}subImage2`];e[i[0]]=(null==(u=g[t])?void 0:u.FieldName)===i[0]?null==(p=g[t])?void 0:p.FieldValue:null,e[i[1]]=(null==(A=g[t+1])?void 0:A.FieldName)===i[1]?null==(h=g[t+1])?void 0:h.FieldValue:null,e[i[2]]=(null==(f=g[t+2])?void 0:f.FieldName)===i[2]?null==(m=g[t+2])?void 0:m.FieldValue:null}o(e)}}),[n,e]);const d=(e,t)=>{o({...l,[e]:t})},c=e=>{var t;let n={...l},a=i.current.getFieldsValue();if(e==Math.ceil(Object.keys(l).length/3))delete n[`Feature${e}Image`],delete n[`Feature${e}subImage1`],delete n[`Feature${e}subImage2`];else if(e<Math.ceil(Object.keys(l).length/3)){for(let t=e;t<r;t++)n[`Feature${t}Image`]=n[`Feature${t+1}Image`],n[`Feature${t}subImage1`]=n[`Feature${t+1}subImage1`],n[`Feature${t}subImage2`]=n[`Feature${t+1}subImage2`],a[`Feature${t}Link`]=a[`Feature${t+1}Link`],a[`Feature${t}subName1`]=a[`Feature${t+1}subName1`],a[`Feature${t}subName2`]=a[`Feature${t+1}subName2`];delete n[`Feature${r}Image`],delete n[`Feature${r}subImage1`],delete n[`Feature${r}subImage2`],delete a[`Feature${r}Link`],delete a[`Feature${r}subName1`],delete a[`Feature${r}subName2`]}o(n),s(r-1),null==(t=null==i?void 0:i.current)||t.resetFields(),i.current.setFieldsValue(a)};return Ye.jsx("div",{children:Ye.jsxs(I,{ref:i,onFinish:async n=>{let i=[],a=Object.values(n),r=Object.keys(n);for(let e=0;e<r.length;e++)i.push({FieldName:r[e],FieldValue:a[e],FieldAddData:""});a=Object.values(l),r=Object.keys(l);for(let e=0;e<r.length;e++)i.push({FieldName:r[e],FieldValue:a[e],FieldAddData:""});await t(b_({featureList:i})),e.hasOwnProperty("closeForm")&&e.closeForm()},initialValues:"",children:[Ye.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"1rem"},children:(()=>{var e,t,n,a,o;!(null==(e=null==i?void 0:i.current)?void 0:e.getFieldsValue())||null==(t=null==i?void 0:i.current)||t.getFieldsValue();let u=[];for(let p=1;p<=r;p++)u.push(Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"1rem",alignItems:"flex-start"},children:[Ye.jsxs("div",{style:{display:"flex",fontWeight:"bolder",gap:"1rem"},children:[Ye.jsxs("p",{className:"Feature",children:["Feature - ",p," "]}),1==p?Ye.jsx(C,{onClick:()=>s(r+1)}):Ye.jsx(de,{onClick:()=>c(p)})]}),Ye.jsxs("div",{style:{display:"flex",gap:"1rem",alignItems:"center"},children:[Ye.jsx(Yy,{singleImage:!0,updateImageUrl:e=>d(`Feature${p}Image`,e),ImageLink:l[`Feature${p}Image`]?l[`Feature${p}Image`]:""}),Ye.jsx(I.Item,{name:`Feature${p}Link`,rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Feature1Link",autoComplete:"off",label:"Feature Description",fieldState:!0,fieldApi:!0,isOnChange:null!=(null==(n=null==i?void 0:i.current)?void 0:n.getFieldValue([`Feature${p}Link`])),suffix:Ye.jsx(F,{title:`Create 2x speed fast bill send e-bill via Whatsapp & SMS\n ${p}`,children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]}),Ye.jsxs("div",{style:{display:"flex",gap:"1rem",alignItems:"center"},children:[Ye.jsxs("div",{style:{display:"flex",gap:"1rem",alignItems:"center"},children:[Ye.jsx(Yy,{singleImage:!0,updateImageUrl:e=>d(`Feature${p}subImage1`,e),ImageLink:l[`Feature${p}subImage1`]?l[`Feature${p}subImage1`]:""}),Ye.jsx(I.Item,{name:`Feature${p}subName1`,rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Feature1Link",autoComplete:"off",label:"Image Description",fieldState:!0,fieldApi:!0,isOnChange:null!=(null==(a=null==i?void 0:i.current)?void 0:a.getFieldValue([`Feature${p}subName1`])),suffix:Ye.jsx(F,{title:`Message Data\n ${p}`,children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]}),Ye.jsxs("div",{style:{display:"flex",gap:"1rem",alignItems:"center"},children:[Ye.jsx(Yy,{singleImage:!0,updateImageUrl:e=>d(`Feature${p}subImage2`,e),ImageLink:l[`Feature${p}subImage2`]?l[`Feature${p}subImage2`]:""}),Ye.jsx(I.Item,{name:`Feature${p}subName2`,rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Feature1Link",autoComplete:"off",label:"Image Description",fieldState:!0,fieldApi:!0,isOnChange:null!=(null==(o=null==i?void 0:i.current)?void 0:o.getFieldValue([`Feature${p}subName2`])),suffix:Ye.jsx(F,{title:`Buying Data\n ${p}`,children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]})]})]}));return u})()}),Ye.jsx("div",{className:"featureButton",children:Ye.jsx(Ry,{buttonText:"SAVE",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0})})]})})},p5=()=>{const[e,t]=a.useState(!1),[n,i]=a.useState(!1),[r,s]=a.useState(null),[l,o]=a.useState(null),d=Tf(G_),c=a.useCallback((()=>{o(null),s(null)}),[]);return Ye.jsxs("div",{children:[Ye.jsx(Qy,{messageType:r,messageData:l,onComplete:c}),Ye.jsx(d5,{}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>i(!0)})," ",Ye.jsx(ce,{onClick:()=>{(null==d?void 0:d.length)>0?t(!0):(o("Please add a Feature data to open the preview"),s("warning"))}})]}),Ye.jsx(SP,{centered:!0,open:e,handleCancel:()=>t(!1),width:1e3,children:Ye.jsx("div",{className:"pointerModal",children:Ye.jsx(d5,{data:d})})}),Ye.jsx(SP,{centered:!0,open:n,handleCancel:()=>i(!1),width:1e3,children:Ye.jsx(u5,{closeForm:()=>{i(!1),o("Data Added Successfully"),s("success")},ModelOpen:n})})]})},A5=({PreData:e})=>{Tf(G_);const t=Tf(L_),n=[{FieldName:"Feature1Image",FieldValue:""},{FieldName:"Feature1Link",FieldValue:""},{FieldName:"Feature1subImage1",FieldValue:""},{FieldName:"Feature1subName1",FieldValue:""},{FieldName:"Feature1subImage2",FieldValue:""},{FieldName:"Feature1subName2",FieldValue:""}],[i,r]=a.useState((null==e?void 0:e.length)>0?e:n);a.useEffect((()=>{r((null==e?void 0:e.length)>0?e:n)}),[e]);return Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"featureMaindiv",children:(()=>{var e,n,a,r,s,l,o,d,c;let u={};null==i||i.map((e=>{u[e.FieldName]=e.FieldValue}));let p=[];for(let A=1;A<=Math.ceil((null==i?void 0:i.length)/6);A++)p.push(Ye.jsxs("div",{className:"overallfeaturediv",children:[Ye.jsxs("div",{className:"feature-demo-div1",children:[Ye.jsx("img",{className:(null==(e=u[`Feature${A}Image`])?void 0:e.length)>0?"ImageWithData":"ImageWithOutData",src:(null==(n=u[`Feature${A}Image`])?void 0:n.length)>0?u[`Feature${A}Image`]:D2}),Ye.jsx("div",{className:(null==(a=u[`Feature${A}Link`])?void 0:a.length)>0?"feature-rally-range1":"feature-demo-range1",style:{fontFamily:`${t.head}`},children:u[`Feature${A}Link`]??""})]}),Ye.jsxs("div",{className:"feature-demo-master-div2",children:[Ye.jsxs("div",{className:"feature-demo-div2",children:[Ye.jsx("div",{children:Ye.jsx("img",{className:(null==(r=u[`Feature${A}subImage1`])?void 0:r.length)>0?"SubImageWithData":"SubImageWithOutData",src:(null==(s=u[`Feature${A}subImage1`])?void 0:s.length)>0?u[`Feature${A}subImage1`]:D2})}),Ye.jsx("div",{className:(null==(l=u[`Feature${A}subName1`])?void 0:l.length)>0?"feature-real-lightgray-range":"feature-demo-lightgray-range",style:{fontFamily:`${t.para}`},children:u[`Feature${A}subName1`]??""})]}),Ye.jsxs("div",{className:"feature-demo-div3",children:[Ye.jsx("div",{children:Ye.jsx("img",{className:(null==(o=u[`Feature${A}subImage2`])?void 0:o.lenght)>0?"SubImageWithData":"SubImageWithOutData",src:(null==(d=u[`Feature${A}subImage2`])?void 0:d.length)>0?u[`Feature${A}subImage2`]:D2})}),Ye.jsx("div",{className:(null==(c=u[`Feature${A}subName2`])?void 0:c.length)>0?"feature-real-lightgray-range":"feature-demo-lightgray-range",style:{fontFamily:`${t.para}`},children:u[`Feature${A}subName2`]??""})]})]})]},A));return p})()})})},h5=Object.freeze(Object.defineProperty({__proto__:null,default:A5},Symbol.toStringTag,{value:"Module"})),f5=e=>{const t=um(),n=Tf(G_),i=a.useRef(),[r,s]=a.useState(1),[l,o]=a.useState(null),[d,c]=a.useState(null),[u,p]=a.useState({}),[A,h]=a.useState(!1),[f,m]=a.useState(!1);a.useEffect((()=>{var e,t,a,r,l,o,d,c,u,h,f,m;if((null==n?void 0:n.length)>0&&1==A){let A={};var v=null==n?void 0:n.filter((e=>e.FieldName.includes("subName")||e.FieldName.includes("Link")));s(v.length/3);for(let n=0;n<(null==v?void 0:v.length);n+=3)null==(t=null==i?void 0:i.current)||t.setFieldsValue({[`Feature${n/3+1}Link`]:null==(e=v[n])?void 0:e.FieldValue}),null==(r=null==i?void 0:i.current)||r.setFieldsValue({[`Feature${n/3+1}subName1`]:null==(a=v[n+1])?void 0:a.FieldValue}),null==(o=null==i?void 0:i.current)||o.setFieldsValue({[`Feature${n/3+1}subName2`]:null==(l=v[n+2])?void 0:l.FieldValue});var g=null==n?void 0:n.filter((e=>e.FieldName.includes("Image")));for(let e=0;e<(null==g?void 0:g.length);e+=3){let t=Math.round(e/3+1);const n=[`Feature${t}Image`,`Feature${t}subImage1`,`Feature${t}subImage2`];A[n[0]]=(null==(d=g[e])?void 0:d.FieldName)===n[0]?null==(c=g[e])?void 0:c.FieldValue:null,A[n[1]]=(null==(u=g[e+1])?void 0:u.FieldName)===n[1]?null==(h=g[e+1])?void 0:h.FieldValue:null,A[n[2]]=(null==(f=g[e+2])?void 0:f.FieldName)===n[2]?null==(m=g[e+2])?void 0:m.FieldValue:null}p(A)}}),[n,A]);const v=(e,t)=>{p({...u,[e]:t})},g=e=>{var t;let n={...u},a=i.current.getFieldsValue();if(e==Math.ceil(Object.keys(u).length/3))delete n[`Feature${e}Image`],delete n[`Feature${e}subImage1`],delete n[`Feature${e}subImage2`];else if(e<Math.ceil(Object.keys(u).length/3)){for(let t=e;t<r;t++)n[`Feature${t}Image`]=n[`Feature${t+1}Image`],n[`Feature${t}subImage1`]=n[`Feature${t+1}subImage1`],n[`Feature${t}subImage2`]=n[`Feature${t+1}subImage2`],a[`Feature${t}Link`]=a[`Feature${t+1}Link`],a[`Feature${t}subName1`]=a[`Feature${t+1}subName1`],a[`Feature${t}subName2`]=a[`Feature${t+1}subName2`];delete n[`Feature${r}Image`],delete n[`Feature${r}subImage1`],delete n[`Feature${r}subImage2`],delete a[`Feature${r}Link`],delete a[`Feature${r}subName1`],delete a[`Feature${r}subName2`]}p(n),s(r-1),null==(t=null==i?void 0:i.current)||t.resetFields(),i.current.setFieldsValue(a)},y=a.useCallback((()=>{o(null),c(null)}),[]);return Ye.jsxs("div",{className:"model1-submit",children:[Ye.jsxs("div",{children:[Ye.jsx(A5,{DataShow:!1}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>h(!0)}),Ye.jsx(ce,{onClick:()=>(async()=>{(null==n?void 0:n.length)>0?m(!0):(o("Please Add a Features data to open the Preview"),c("warning"))})()})]})]}),Ye.jsxs(j,{centered:!0,open:A,onOk:()=>h(!1),onCancel:()=>h(!1),width:1e3,children:[Ye.jsx(Qy,{messageType:d,messageData:l,onComplete:y}),Ye.jsxs(I,{ref:i,onFinish:async n=>{var a;let r=[],s=Object.values(n),l=Object.keys(n);for(let e=0;e<l.length;e++)r.push({FieldName:l[e],FieldValue:s[e]});s=Object.values(u),l=Object.keys(u);for(let e=0;e<l.length;e++)r.push({FieldName:l[e],FieldValue:s[e]});await t(b_({featureList:r})),e.hasOwnProperty("closeForm")&&e.closeForm(),h(!1),null==(a=i.current)||a.resetFields()},initialValues:"",children:[(()=>{var e,t,n,a,l;!(null==(e=null==i?void 0:i.current)?void 0:e.getFieldsValue())||null==(t=null==i?void 0:i.current)||t.getFieldsValue();let o=[];for(let d=1;d<=r;d++)o.push(Ye.jsxs("div",{children:[Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsxs("p",{className:"Feature",children:["Feature - ",d]}),1==d?Ye.jsx(C,{onClick:()=>s(r+1)}):Ye.jsx(de,{onClick:()=>g(d)})]}),Ye.jsxs("div",{className:"feature-model1-div1",children:[Ye.jsx("div",{className:"feature-model1-div1-img",children:Ye.jsx(Yy,{singleImage:!0,required:!0,updateImageUrl:e=>v(`Feature${d}Image`,e),ImageLink:u[`Feature${d}Image`]?u[`Feature${d}Image`]:""})}),Ye.jsx("div",{className:"feature-model1-div1-input",children:Ye.jsx(I.Item,{name:`Feature${d}Link`,rules:[{required:!0,message:"Please Enter Feature Description"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Feature1Link",autoComplete:"off",label:"Feature Description",fieldState:!0,fieldApi:!0,isOnChange:null!=(null==(n=null==i?void 0:i.current)?void 0:n.getFieldValue([`Feature${d}Link`])),suffix:Ye.jsx(F,{title:`Product adding and selling via QR Code Scanner with very fast\n ${d}`,children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})})]}),Ye.jsxs("div",{className:"feature-model1-div2",children:[Ye.jsxs("div",{className:"feature-model1-subdiv2",children:[Ye.jsx("div",{className:"feature-model1-subdiv2-img",children:Ye.jsx(Yy,{singleImage:!0,updateImageUrl:e=>v(`Feature${d}subImage1`,e),ImageLink:u[`Feature${d}subImage1`]?u[`Feature${d}subImage1`]:"",required:!0})}),Ye.jsx("div",{className:"feature-model1-subdiv2-input",children:Ye.jsx(I.Item,{name:`Feature${d}subName1`,rules:[{required:!0,message:"Please Enter Image Description"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Feature1Link",autoComplete:"off",label:"Image Description",fieldState:!0,fieldApi:!0,isOnChange:null!=(null==(a=null==i?void 0:i.current)?void 0:a.getFieldValue([`Feature${d}subName1`])),suffix:Ye.jsx(F,{title:`Message Data${d}`,children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})})]}),Ye.jsxs("div",{className:"feature-model1-subdiv2",children:[Ye.jsx("div",{className:"feature-model1-subdiv2-img",children:Ye.jsx(Yy,{singleImage:!0,updateImageUrl:e=>v(`Feature${d}subImage2`,e),ImageLink:u[`Feature${d}subImage2`]?u[`Feature${d}subImage2`]:""})}),Ye.jsx("div",{className:"feature-model1-subdiv2-input",children:Ye.jsx(I.Item,{name:`Feature${d}subName2`,rules:[{required:!0,message:"Please Enter Image Description"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Feature1Link",autoComplete:"off",label:"Image Description",fieldState:!0,fieldApi:!0,isOnChange:null!=(null==(l=null==i?void 0:i.current)?void 0:l.getFieldValue([`Feature${d}subName2`])),suffix:Ye.jsx(F,{title:`Buying Data${d}`,children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})})]})]})]},d));return o})(),Ye.jsx("div",{className:"model1-submit",children:Ye.jsx(Ry,{type:"submit",buttonText:"SAVE",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0,onClick:()=>h(!1)})})]})]}),Ye.jsx(j,{open:f,onOk:()=>m(!1),onCancel:()=>m(!1),width:1e3,children:Ye.jsx(A5,{DataShow:!0,PreData:n})})]})},m5="/assets/curvearrow-942dc9bf.png";var v5={},g5={},y5={},x5={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};e.default=t}(x5);var b5=/^\s+|\s+$/g,w5=/^[-+]0x[0-9a-f]+$/i,j5=/^0b[01]+$/i,C5=/^0o[0-7]+$/i,S5=parseInt,N5="object"==typeof d&&d&&d.Object===Object&&d,I5="object"==typeof self&&self&&self.Object===Object&&self,F5=N5||I5||Function("return this")(),B5=Object.prototype.toString,P5=Math.max,k5=Math.min,T5=function(){return F5.Date.now()};function E5(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function D5(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==B5.call(e)}(e))return NaN;if(E5(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=E5(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(b5,"");var n=j5.test(e);return n||C5.test(e)?S5(e.slice(2),n?2:8):w5.test(e)?NaN:+e}var L5=function(e,t,n){var i,a,r,s,l,o,d=0,c=!1,u=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function A(t){var n=i,r=a;return i=a=void 0,d=t,s=e.apply(r,n)}function h(e){var n=e-o;return void 0===o||n>=t||n<0||u&&e-d>=r}function f(){var e=T5();if(h(e))return m(e);l=setTimeout(f,function(e){var n=t-(e-o);return u?k5(n,r-(e-d)):n}(e))}function m(e){return l=void 0,p&&i?A(e):(i=a=void 0,s)}function v(){var e=T5(),n=h(e);if(i=arguments,a=this,o=e,n){if(void 0===l)return function(e){return d=e,l=setTimeout(f,t),c?A(e):s}(o);if(u)return l=setTimeout(f,t),A(o)}return void 0===l&&(l=setTimeout(f,t)),s}return t=D5(t)||0,E5(n)&&(c=!!n.leading,r=(u="maxWait"in n)?P5(D5(n.maxWait)||0,t):r,p="trailing"in n?!!n.trailing:p),v.cancel=function(){void 0!==l&&clearTimeout(l),d=0,i=o=a=l=void 0},v.flush=function(){return void 0===l?s:m(T5())},v},U5={};Object.defineProperty(U5,"__esModule",{value:!0}),U5.checkSpecKeys=U5.checkNavigable=U5.changeSlide=U5.canUseDOM=U5.canGoNext=void 0,U5.clamp=Q5,U5.swipeStart=U5.swipeMove=U5.swipeEnd=U5.slidesOnRight=U5.slidesOnLeft=U5.slideHandler=U5.siblingDirection=U5.safePreventDefault=U5.lazyStartIndex=U5.lazySlidesOnRight=U5.lazySlidesOnLeft=U5.lazyEndIndex=U5.keyHandler=U5.initializedState=U5.getWidth=U5.getTrackLeft=U5.getTrackCSS=U5.getTrackAnimateCSS=U5.getTotalSlides=U5.getSwipeDirection=U5.getSlideCount=U5.getRequiredLazySlides=U5.getPreClones=U5.getPostClones=U5.getOnDemandLazySlides=U5.getNavigableIndexes=U5.getHeight=U5.extractObject=void 0;var _5=function(e){return e&&e.__esModule?e:{default:e}}(a);function O5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function M5(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O5(Object(n),!0).forEach((function(t){R5(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O5(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function R5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q5(e,t,n){return Math.max(t,Math.min(e,n))}var H5=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};U5.safePreventDefault=H5;var V5=function(e){for(var t=[],n=z5(e),i=q5(e),a=n;a<i;a++)e.lazyLoadedList.indexOf(a)<0&&t.push(a);return t};U5.getOnDemandLazySlides=V5;U5.getRequiredLazySlides=function(e){for(var t=[],n=z5(e),i=q5(e),a=n;a<i;a++)t.push(a);return t};var z5=function(e){return e.currentSlide-W5(e)};U5.lazyStartIndex=z5;var q5=function(e){return e.currentSlide+Y5(e)};U5.lazyEndIndex=q5;var W5=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};U5.lazySlidesOnLeft=W5;var Y5=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};U5.lazySlidesOnRight=Y5;var K5=function(e){return e&&e.offsetWidth||0};U5.getWidth=K5;var G5=function(e){return e&&e.offsetHeight||0};U5.getHeight=G5;var $5=function(e){var t,n,i,a,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,i=Math.atan2(n,t),(a=Math.round(180*i/Math.PI))<0&&(a=360-Math.abs(a)),a<=45&&a>=0||a<=360&&a>=315?"left":a>=135&&a<=225?"right":!0===r?a>=35&&a<=135?"up":"down":"vertical"};U5.getSwipeDirection=$5;var X5=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};U5.canGoNext=X5;U5.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n};U5.initializedState=function(e){var t,n=_5.default.Children.count(e.children),i=e.listRef,a=Math.ceil(K5(i)),r=e.trackRef&&e.trackRef.node,s=Math.ceil(K5(r));if(e.vertical)t=a;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=a/100),t=Math.ceil((a-l)/e.slidesToShow)}var o=i&&G5(i.querySelector('[data-index="0"]')),d=o*e.slidesToShow,c=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(c=n-1-e.initialSlide);var u=e.lazyLoadedList||[],p=V5(M5(M5({},e),{},{currentSlide:c,lazyLoadedList:u})),A={slideCount:n,slideWidth:t,listWidth:a,trackWidth:s,currentSlide:c,slideHeight:o,listHeight:d,lazyLoadedList:u=u.concat(p)};return null===e.autoplaying&&e.autoplay&&(A.autoplaying="playing"),A};U5.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,i=e.fade,a=e.infinite,r=e.index,s=e.slideCount,l=e.lazyLoad,o=e.currentSlide,d=e.centerMode,c=e.slidesToScroll,u=e.slidesToShow,p=e.useCSS,A=e.lazyLoadedList;if(t&&n)return{};var h,f,m,v=r,g={},y={},x=a?r:Q5(r,0,s-1);if(i){if(!a&&(r<0||r>=s))return{};r<0?v=r+s:r>=s&&(v=r-s),l&&A.indexOf(v)<0&&(A=A.concat(v)),g={animating:!0,currentSlide:v,lazyLoadedList:A,targetSlide:v},y={animating:!1,targetSlide:v}}else h=v,v<0?(h=v+s,a?s%c!==0&&(h=s-s%c):h=0):!X5(e)&&v>o?v=h=o:d&&v>=s?(v=a?s:s-1,h=a?0:s-1):v>=s&&(h=v-s,a?s%c!==0&&(h=0):h=s-u),!a&&v+u>=s&&(h=s-u),f=a4(M5(M5({},e),{},{slideIndex:v})),m=a4(M5(M5({},e),{},{slideIndex:h})),a||(f===m&&(v=h),f=m),l&&(A=A.concat(V5(M5(M5({},e),{},{currentSlide:v})))),p?(g={animating:!0,currentSlide:h,trackStyle:i4(M5(M5({},e),{},{left:f})),lazyLoadedList:A,targetSlide:x},y={animating:!1,currentSlide:h,trackStyle:n4(M5(M5({},e),{},{left:m})),swipeLeft:null,targetSlide:x}):g={currentSlide:h,trackStyle:n4(M5(M5({},e),{},{left:m})),lazyLoadedList:A,targetSlide:x};return{state:g,nextState:y}};U5.changeSlide=function(e,t){var n,i,a,r,s=e.slidesToScroll,l=e.slidesToShow,o=e.slideCount,d=e.currentSlide,c=e.targetSlide,u=e.lazyLoad,p=e.infinite;if(n=o%s!==0?0:(o-d)%s,"previous"===t.message)r=d-(a=0===n?s:l-n),u&&!p&&(r=-1===(i=d-a)?o-1:i),p||(r=c-s);else if("next"===t.message)r=d+(a=0===n?s:n),u&&!p&&(r=(d+s)%o+n),p||(r=c+s);else if("dots"===t.message)r=t.index*t.slidesToScroll;else if("children"===t.message){if(r=t.index,p){var A=o4(M5(M5({},e),{},{targetSlide:r}));r>t.currentSlide&&"left"===A?r-=o:r<t.currentSlide&&"right"===A&&(r+=o)}}else"index"===t.message&&(r=Number(t.index));return r};U5.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""};U5.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&H5(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}};U5.swipeMove=function(e,t){var n=t.scrolling,i=t.animating,a=t.vertical,r=t.swipeToSlide,s=t.verticalSwiping,l=t.rtl,o=t.currentSlide,d=t.edgeFriction,c=t.edgeDragged,u=t.onEdge,p=t.swiped,A=t.swiping,h=t.slideCount,f=t.slidesToScroll,m=t.infinite,v=t.touchObject,g=t.swipeEvent,y=t.listHeight,x=t.listWidth;if(!n){if(i)return H5(e);a&&r&&s&&H5(e);var b,w={},j=a4(t);v.curX=e.touches?e.touches[0].pageX:e.clientX,v.curY=e.touches?e.touches[0].pageY:e.clientY,v.swipeLength=Math.round(Math.sqrt(Math.pow(v.curX-v.startX,2)));var C=Math.round(Math.sqrt(Math.pow(v.curY-v.startY,2)));if(!s&&!A&&C>10)return{scrolling:!0};s&&(v.swipeLength=C);var S=(l?-1:1)*(v.curX>v.startX?1:-1);s&&(S=v.curY>v.startY?1:-1);var N=Math.ceil(h/f),I=$5(t.touchObject,s),F=v.swipeLength;return m||(0===o&&("right"===I||"down"===I)||o+1>=N&&("left"===I||"up"===I)||!X5(t)&&("left"===I||"up"===I))&&(F=v.swipeLength*d,!1===c&&u&&(u(I),w.edgeDragged=!0)),!p&&g&&(g(I),w.swiped=!0),b=a?j+F*(y/x)*S:l?j-F*S:j+F*S,s&&(b=j+F*S),w=M5(M5({},w),{},{touchObject:v,swipeLeft:b,trackStyle:n4(M5(M5({},t),{},{left:b}))}),Math.abs(v.curX-v.startX)<.8*Math.abs(v.curY-v.startY)?w:(v.swipeLength>10&&(w.swiping=!0,H5(e)),w)}};U5.swipeEnd=function(e,t){var n=t.dragging,i=t.swipe,a=t.touchObject,r=t.listWidth,s=t.touchThreshold,l=t.verticalSwiping,o=t.listHeight,d=t.swipeToSlide,c=t.scrolling,u=t.onSwipe,p=t.targetSlide,A=t.currentSlide,h=t.infinite;if(!n)return i&&H5(e),{};var f=l?o/s:r/s,m=$5(a,l),v={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(c)return v;if(!a.swipeLength)return v;if(a.swipeLength>f){var g,y;H5(e),u&&u(m);var x=h?A:p;switch(m){case"left":case"up":y=x+e4(t),g=d?Z5(t,y):y,v.currentDirection=0;break;case"right":case"down":y=x-e4(t),g=d?Z5(t,y):y,v.currentDirection=1;break;default:g=x}v.triggerSlideHandler=g}else{var b=a4(t);v.trackStyle=i4(M5(M5({},t),{},{left:b}))}return v};var J5=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,i=e.infinite?-1*e.slidesToShow:0,a=[];n<t;)a.push(n),n=i+e.slidesToScroll,i+=Math.min(e.slidesToScroll,e.slidesToShow);return a};U5.getNavigableIndexes=J5;var Z5=function(e,t){var n=J5(e),i=0;if(t>n[n.length-1])t=n[n.length-1];else for(var a in n){if(t<n[a]){t=i;break}i=n[a]}return t};U5.checkNavigable=Z5;var e4=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,i=e.listRef,a=i.querySelectorAll&&i.querySelectorAll(".slick-slide")||[];if(Array.from(a).every((function(i){if(e.vertical){if(i.offsetTop+G5(i)/2>-1*e.swipeLeft)return n=i,!1}else if(i.offsetLeft-t+K5(i)/2>-1*e.swipeLeft)return n=i,!1;return!0})),!n)return 0;var r=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-r)||1}return e.slidesToScroll};U5.getSlideCount=e4;var t4=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:void 0};U5.checkSpecKeys=t4;var n4=function(e){var t,n;t4(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var i=e.slideCount+2*e.slidesToShow;e.vertical?n=i*e.slideHeight:t=l4(e)*e.slideWidth;var a={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var r=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";a=M5(M5({},a),{},{WebkitTransform:r,transform:s,msTransform:l})}else e.vertical?a.top=e.left:a.left=e.left;return e.fade&&(a={opacity:1}),t&&(a.width=t),n&&(a.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?a.marginTop=e.left+"px":a.marginLeft=e.left+"px"),a};U5.getTrackCSS=n4;var i4=function(e){t4(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=n4(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};U5.getTrackAnimateCSS=i4;var a4=function(e){if(e.unslick)return 0;t4(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,i=e.slideIndex,a=e.trackRef,r=e.infinite,s=e.centerMode,l=e.slideCount,o=e.slidesToShow,d=e.slidesToScroll,c=e.slideWidth,u=e.listWidth,p=e.variableWidth,A=e.slideHeight,h=e.fade,f=e.vertical;if(h||1===e.slideCount)return 0;var m=0;if(r?(m=-r4(e),l%d!==0&&i+d>l&&(m=-(i>l?o-(i-l):l%d)),s&&(m+=parseInt(o/2))):(l%d!==0&&i+d>l&&(m=o-l%d),s&&(m=parseInt(o/2))),t=f?i*A*-1+m*A:i*c*-1+m*c,!0===p){var v,g=a&&a.node;if(v=i+r4(e),t=(n=g&&g.childNodes[v])?-1*n.offsetLeft:0,!0===s){v=r?i+r4(e):i,n=g&&g.children[v],t=0;for(var y=0;y<v;y++)t-=g&&g.children[y]&&g.children[y].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(u-n.offsetWidth)/2}}return t};U5.getTrackLeft=a4;var r4=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};U5.getPreClones=r4;var s4=function(e){return e.unslick||!e.infinite?0:e.slideCount};U5.getPostClones=s4;var l4=function(e){return 1===e.slideCount?1:r4(e)+e.slideCount+s4(e)};U5.getTotalSlides=l4;var o4=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+d4(e)?"left":"right":e.targetSlide<e.currentSlide-c4(e)?"right":"left"};U5.siblingDirection=o4;var d4=function(e){var t=e.slidesToShow,n=e.centerMode,i=e.rtl,a=e.centerPadding;if(n){var r=(t-1)/2+1;return parseInt(a)>0&&(r+=1),i&&t%2==0&&(r+=1),r}return i?0:t-1};U5.slidesOnRight=d4;var c4=function(e){var t=e.slidesToShow,n=e.centerMode,i=e.rtl,a=e.centerPadding;if(n){var r=(t-1)/2+1;return parseInt(a)>0&&(r+=1),i||t%2!=0||(r+=1),r}return i?t-1:0};U5.slidesOnLeft=c4;U5.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)};var u4={};function p4(e){return(p4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(u4,"__esModule",{value:!0}),u4.Track=void 0;var A4=m4(a),h4=m4(pe),f4=U5;function m4(e){return e&&e.__esModule?e:{default:e}}function v4(){return v4=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},v4.apply(this,arguments)}function g4(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function y4(e,t){return(y4=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x4(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(Ou){return!1}}();return function(){var n,i=w4(e);if(t){var a=w4(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===p4(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return b4(e)}(this,n)}}function b4(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w4(e){return(w4=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function C4(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j4(Object(n),!0).forEach((function(t){S4(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j4(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S4(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N4=function(e){var t,n,i,a,r;return i=(r=e.rtl?e.slideCount-1-e.index:e.index)<0||r>=e.slideCount,e.centerMode?(a=Math.floor(e.slidesToShow/2),n=(r-e.currentSlide)%e.slideCount===0,r>e.currentSlide-a-1&&r<=e.currentSlide+a&&(t=!0)):t=e.currentSlide<=r&&r<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":i,"slick-current":r===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},I4=function(e,t){return e.key||t},F4=function(e){var t,n=[],i=[],a=[],r=A4.default.Children.count(e.children),s=(0,f4.lazyStartIndex)(e),l=(0,f4.lazyEndIndex)(e);return A4.default.Children.forEach(e.children,(function(o,d){var c,u={message:"children",index:d,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};c=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(d)>=0?o:A4.default.createElement("div",null);var p=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(C4(C4({},e),{},{index:d})),A=c.props.className||"",h=N4(C4(C4({},e),{},{index:d}));if(n.push(A4.default.cloneElement(c,{key:"original"+I4(c,d),"data-index":d,className:(0,h4.default)(h,A),tabIndex:"-1","aria-hidden":!h["slick-active"],style:C4(C4({outline:"none"},c.props.style||{}),p),onClick:function(t){c.props&&c.props.onClick&&c.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(u)}})),e.infinite&&!1===e.fade){var f=r-d;f<=(0,f4.getPreClones)(e)&&r!==e.slidesToShow&&((t=-f)>=s&&(c=o),h=N4(C4(C4({},e),{},{index:t})),i.push(A4.default.cloneElement(c,{key:"precloned"+I4(c,t),"data-index":t,tabIndex:"-1",className:(0,h4.default)(h,A),"aria-hidden":!h["slick-active"],style:C4(C4({},c.props.style||{}),p),onClick:function(t){c.props&&c.props.onClick&&c.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(u)}}))),r!==e.slidesToShow&&((t=r+d)<l&&(c=o),h=N4(C4(C4({},e),{},{index:t})),a.push(A4.default.cloneElement(c,{key:"postcloned"+I4(c,t),"data-index":t,tabIndex:"-1",className:(0,h4.default)(h,A),"aria-hidden":!h["slick-active"],style:C4(C4({},c.props.style||{}),p),onClick:function(t){c.props&&c.props.onClick&&c.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(u)}})))}})),e.rtl?i.concat(n,a).reverse():i.concat(n,a)},B4=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y4(e,t)}(a,A4["default"].PureComponent);var e,t,n,i=x4(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return S4(b4(e=i.call.apply(i,[this].concat(n))),"node",null),S4(b4(e),"handleRef",(function(t){e.node=t})),e}return e=a,(t=[{key:"render",value:function(){var e=F4(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return A4.default.createElement("div",v4({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])&&g4(e.prototype,t),n&&g4(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();u4.Track=B4;var P4={};function k4(e){return(k4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(P4,"__esModule",{value:!0}),P4.Dots=void 0;var T4=L4(a),E4=L4(pe),D4=U5;function L4(e){return e&&e.__esModule?e:{default:e}}function U4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function _4(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O4(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function M4(e,t){return(M4=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R4(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(Ou){return!1}}();return function(){var n,i=Q4(e);if(t){var a=Q4(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===k4(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function Q4(e){return(Q4=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var H4=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&M4(e,t)}(a,T4["default"].PureComponent);var e,t,n,i=R4(a);function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.apply(this,arguments)}return e=a,t=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,n=t.onMouseEnter,i=t.onMouseOver,a=t.onMouseLeave,r=t.infinite,s=t.slidesToScroll,l=t.slidesToShow,o=t.slideCount,d=t.currentSlide,c=(e={slideCount:o,slidesToScroll:s,slidesToShow:l,infinite:r}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,u={onMouseEnter:n,onMouseOver:i,onMouseLeave:a},p=[],A=0;A<c;A++){var h=(A+1)*s-1,f=r?h:(0,D4.clamp)(h,0,o-1),m=f-(s-1),v=r?m:(0,D4.clamp)(m,0,o-1),g=(0,E4.default)({"slick-active":r?d>=v&&d<=f:d===v}),y={message:"dots",index:A,slidesToScroll:s,currentSlide:d},x=this.clickHandler.bind(this,y);p=p.concat(T4.default.createElement("li",{key:A,className:g},T4.default.cloneElement(this.props.customPaging(A),{onClick:x})))}return T4.default.cloneElement(this.props.appendDots(p),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U4(Object(n),!0).forEach((function(t){_4(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U4(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},u))}}],t&&O4(e.prototype,t),n&&O4(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();P4.Dots=H4;var V4={};function z4(e){return(z4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(V4,"__esModule",{value:!0}),V4.PrevArrow=V4.NextArrow=void 0;var q4=K4(a),W4=K4(pe),Y4=U5;function K4(e){return e&&e.__esModule?e:{default:e}}function G4(){return G4=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},G4.apply(this,arguments)}function $4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function X4(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$4(Object(n),!0).forEach((function(t){J4(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$4(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function J4(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Z4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e3(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t3(e,t,n){return t&&e3(e.prototype,t),n&&e3(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function n3(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i3(e,t)}function i3(e,t){return(i3=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a3(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(Ou){return!1}}();return function(){var n,i=r3(e);if(t){var a=r3(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===z4(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function r3(e){return(r3=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s3=function(){n3(t,q4["default"].PureComponent);var e=a3(t);function t(){return Z4(this,t),e.apply(this,arguments)}return t3(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,W4.default)(e),style:{display:"block"},onClick:t},i={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?q4.default.cloneElement(this.props.prevArrow,X4(X4({},n),i)):q4.default.createElement("button",G4({key:"0",type:"button"},n)," ","Previous")}}]),t}();V4.PrevArrow=s3;var l3=function(){n3(t,q4["default"].PureComponent);var e=a3(t);function t(){return Z4(this,t),e.apply(this,arguments)}return t3(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,Y4.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,W4.default)(e),style:{display:"block"},onClick:t},i={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?q4.default.cloneElement(this.props.nextArrow,X4(X4({},n),i)):q4.default.createElement("button",G4({key:"1",type:"button"},n)," ","Next")}}]),t}();V4.NextArrow=l3;const o3=o(Ae);Object.defineProperty(y5,"__esModule",{value:!0}),y5.InnerSlider=void 0;var d3=g3(a),c3=g3(x5),u3=g3(L5),p3=g3(pe),A3=U5,h3=u4,f3=P4,m3=V4,v3=g3(o3);function g3(e){return e&&e.__esModule?e:{default:e}}function y3(e){return(y3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x3(){return x3=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},x3.apply(this,arguments)}function b3(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n,i,a={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function w3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function j3(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w3(Object(n),!0).forEach((function(t){B3(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w3(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C3(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function S3(e,t){return(S3=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N3(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(Ou){return!1}}();return function(){var n,i=F3(e);if(t){var a=F3(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===y3(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return I3(e)}(this,n)}}function I3(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F3(e){return(F3=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P3=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&S3(e,t)}(a,d3["default"].Component);var e,t,n,i=N3(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),B3(I3(t=i.call(this,e)),"listRefHandler",(function(e){return t.list=e})),B3(I3(t),"trackRefHandler",(function(e){return t.track=e})),B3(I3(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,A3.getHeight)(e)+"px"}})),B3(I3(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,A3.getOnDemandLazySlides)(j3(j3({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var n=j3({listRef:t.list,trackRef:t.track},t.props);t.updateState(n,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new v3.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),B3(I3(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),B3(I3(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var n=(0,A3.getOnDemandLazySlides)(j3(j3({},t.props),t.state));n.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(n)}})),t.props.onLazyLoad&&t.props.onLazyLoad(n))}t.adaptHeight();var i=j3(j3({listRef:t.list,trackRef:t.track},t.props),t.state),a=t.didPropsChange(e);a&&t.updateState(i,a,(function(){t.state.currentSlide>=d3.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:d3.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),B3(I3(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,u3.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),B3(I3(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(t.track&&t.track.node)){var n=j3(j3({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(n,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),B3(I3(t),"updateState",(function(e,n,i){var a=(0,A3.initializedState)(e);e=j3(j3(j3({},e),a),{},{slideIndex:a.currentSlide});var r=(0,A3.getTrackLeft)(e);e=j3(j3({},e),{},{left:r});var s=(0,A3.getTrackCSS)(e);(n||d3.default.Children.count(t.props.children)!==d3.default.Children.count(e.children))&&(a.trackStyle=s),t.setState(a,i)})),B3(I3(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,n=0,i=[],a=(0,A3.getPreClones)(j3(j3(j3({},t.props),t.state),{},{slideCount:t.props.children.length})),r=(0,A3.getPostClones)(j3(j3(j3({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){i.push(t.props.style.width),e+=t.props.style.width}));for(var s=0;s<a;s++)n+=i[i.length-1-s],e+=i[i.length-1-s];for(var l=0;l<r;l++)e+=i[l];for(var o=0;o<t.state.currentSlide;o++)n+=i[o];var d={width:e+"px",left:-n+"px"};if(t.props.centerMode){var c="".concat(i[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(c,") / 2 ) ")}return{trackStyle:d}}var u=d3.default.Children.count(t.props.children),p=j3(j3(j3({},t.props),t.state),{},{slideCount:u}),A=(0,A3.getPreClones)(p)+(0,A3.getPostClones)(p)+u,h=100/t.props.slidesToShow*A,f=100/A,m=-f*((0,A3.getPreClones)(p)+t.state.currentSlide)*h/100;return t.props.centerMode&&(m+=(100-f*h/100)/2),{slideWidth:f+"%",trackStyle:{width:h+"%",left:m+"%"}}})),B3(I3(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],n=e.length,i=0;Array.prototype.forEach.call(e,(function(e){var a=function(){return++i&&i>=n&&t.onWindowResized()};if(e.onclick){var r=e.onclick;e.onclick=function(){r(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=a,e.onerror=function(){a(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),B3(I3(t),"progressiveLazyLoad",(function(){for(var e=[],n=j3(j3({},t.props),t.state),i=t.state.currentSlide;i<t.state.slideCount+(0,A3.getPostClones)(n);i++)if(t.state.lazyLoadedList.indexOf(i)<0){e.push(i);break}for(var a=t.state.currentSlide-1;a>=-(0,A3.getPreClones)(n);a--)if(t.state.lazyLoadedList.indexOf(a)<0){e.push(a);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),B3(I3(t),"slideHandler",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.props,a=i.asNavFor,r=i.beforeChange,s=i.onLazyLoad,l=i.speed,o=i.afterChange,d=t.state.currentSlide,c=(0,A3.slideHandler)(j3(j3(j3({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!n})),u=c.state,p=c.nextState;if(u){r&&r(d,u.currentSlide);var A=u.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));s&&A.length>0&&s(A),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),o&&o(d),delete t.animationEndCallback),t.setState(u,(function(){a&&t.asNavForIndex!==e&&(t.asNavForIndex=e,a.innerSlider.slideHandler(e)),p&&(t.animationEndCallback=setTimeout((function(){var e=p.animating,n=b3(p,["animating"]);t.setState(n,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),o&&o(u.currentSlide),delete t.animationEndCallback}))}),l))}))}})),B3(I3(t),"changeSlide",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=j3(j3({},t.props),t.state),a=(0,A3.changeSlide)(i,e);if((0===a||a)&&(!0===n?t.slideHandler(a,n):t.slideHandler(a),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var r=t.list.querySelectorAll(".slick-current");r[0]&&r[0].focus()}})),B3(I3(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),B3(I3(t),"keyHandler",(function(e){var n=(0,A3.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==n&&t.changeSlide({message:n})})),B3(I3(t),"selectHandler",(function(e){t.changeSlide(e)})),B3(I3(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),B3(I3(t),"enableBodyScroll",(function(){window.ontouchmove=null})),B3(I3(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var n=(0,A3.swipeStart)(e,t.props.swipe,t.props.draggable);""!==n&&t.setState(n)})),B3(I3(t),"swipeMove",(function(e){var n=(0,A3.swipeMove)(e,j3(j3(j3({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));n&&(n.swiping&&(t.clickable=!1),t.setState(n))})),B3(I3(t),"swipeEnd",(function(e){var n=(0,A3.swipeEnd)(e,j3(j3(j3({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(n){var i=n.triggerSlideHandler;delete n.triggerSlideHandler,t.setState(n),void 0!==i&&(t.slideHandler(i),t.props.verticalSwiping&&t.enableBodyScroll())}})),B3(I3(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),B3(I3(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),B3(I3(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),B3(I3(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},n)}),0))})),B3(I3(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,A3.canGoNext)(j3(j3({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),B3(I3(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var n=t.state.autoplaying;if("update"===e){if("hovered"===n||"focused"===n||"paused"===n)return}else if("leave"===e){if("paused"===n||"focused"===n)return}else if("blur"===e&&("paused"===n||"hovered"===n))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),B3(I3(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var n=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==n&&"playing"!==n||t.setState({autoplaying:"focused"}):"playing"===n&&t.setState({autoplaying:"hovered"})})),B3(I3(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),B3(I3(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),B3(I3(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),B3(I3(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),B3(I3(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),B3(I3(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),B3(I3(t),"render",(function(){var e,n,i,a=(0,p3.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),r=j3(j3({},t.props),t.state),s=(0,A3.extractObject)(r,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),l=t.props.pauseOnHover;if(s=j3(j3({},s),{},{onMouseEnter:l?t.onTrackOver:null,onMouseLeave:l?t.onTrackLeave:null,onMouseOver:l?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var o=(0,A3.extractObject)(r,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),d=t.props.pauseOnDotsHover;o=j3(j3({},o),{},{clickHandler:t.changeSlide,onMouseEnter:d?t.onDotsLeave:null,onMouseOver:d?t.onDotsOver:null,onMouseLeave:d?t.onDotsLeave:null}),e=d3.default.createElement(f3.Dots,o)}var c=(0,A3.extractObject)(r,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);c.clickHandler=t.changeSlide,t.props.arrows&&(n=d3.default.createElement(m3.PrevArrow,c),i=d3.default.createElement(m3.NextArrow,c));var u=null;t.props.vertical&&(u={height:t.state.listHeight});var p=null;!1===t.props.vertical?!0===t.props.centerMode&&(p={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(p={padding:t.props.centerPadding+" 0px"});var A=j3(j3({},u),p),h=t.props.touchMove,f={className:"slick-list",style:A,onClick:t.clickHandler,onMouseDown:h?t.swipeStart:null,onMouseMove:t.state.dragging&&h?t.swipeMove:null,onMouseUp:h?t.swipeEnd:null,onMouseLeave:t.state.dragging&&h?t.swipeEnd:null,onTouchStart:h?t.swipeStart:null,onTouchMove:t.state.dragging&&h?t.swipeMove:null,onTouchEnd:h?t.touchEnd:null,onTouchCancel:t.state.dragging&&h?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},m={className:a,dir:"ltr",style:t.props.style};return t.props.unslick&&(f={className:"slick-list"},m={className:a}),d3.default.createElement("div",m,t.props.unslick?"":n,d3.default.createElement("div",x3({ref:t.listRefHandler},f),d3.default.createElement(h3.Track,x3({ref:t.trackRefHandler},s),t.props.children)),t.props.unslick?"":i,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=j3(j3({},c3.default),{},{currentSlide:t.props.initialSlide,slideCount:d3.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var n=t.ssrInit();return t.state=j3(j3({},t.state),n),t}return e=a,(t=[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,i=Object.keys(this.props);n<i.length;n++){var a=i[n];if(!e.hasOwnProperty(a)){t=!0;break}if("object"!==y3(e[a])&&"function"!=typeof e[a]&&e[a]!==this.props[a]){t=!0;break}}return t||d3.default.Children.count(this.props.children)!==d3.default.Children.count(e.children)}}])&&C3(e.prototype,t),n&&C3(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}();y5.InnerSlider=P3;var k3,T3,E3,D3,L3,U3,_3,O3,M3,R3,Q3={};function H3(){if(D3)return E3;return D3=1,E3={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,i=e.length;n<i&&!1!==t(e[n],n);n++);}},E3}function V3(){if(U3)return L3;U3=1;var e=function(){if(T3)return k3;function e(e){this.options=e,!e.deferSetup&&this.setup()}return T3=1,e.prototype={constructor:e,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},k3=e}(),t=H3().each;function n(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}return n.prototype={constuctor:n,addHandler:function(t){var n=new e(t);this.handlers.push(n),this.matches()&&n.on()},removeHandler:function(e){var n=this.handlers;t(n,(function(t,i){if(t.equals(e))return t.destroy(),!n.splice(i,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){t(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";t(this.handlers,(function(t){t[e]()}))}},L3=n}function z3(){if(R3)return M3;R3=1;var e=function(){if(O3)return _3;O3=1;var e=V3(),t=H3(),n=t.each,i=t.isFunction,a=t.isArray;function r(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}return r.prototype={constructor:r,register:function(t,r,s){var l=this.queries,o=s&&this.browserIsIncapable;return l[t]||(l[t]=new e(t,o)),i(r)&&(r={match:r}),a(r)||(r=[r]),n(r,(function(e){i(e)&&(e={match:e}),l[t].addHandler(e)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},_3=r}();return M3=new e}!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(e){return e&&e.__esModule?e:{default:e}}(a);var n={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return t.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return t.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};e.default=n}(Q3),function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(a),i=y5,r=o(he),s=o(Q3),l=U5;function o(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},d.apply(this,arguments)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(Ou){return!1}}();return function(){var i,a=m(e);if(n){var r=m(this).constructor;i=Reflect.construct(a,arguments,r)}else i=a.apply(this,arguments);return function(e,n){if(n&&("object"===t(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}(this,i)}}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=(0,l.canUseDOM)()&&z3(),y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&A(e,t)}(m,e);var t,a,o,c=h(m);function m(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m),v(f(t=c.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),v(f(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),v(f(t),"slickNext",(function(){return t.innerSlider.slickNext()})),v(f(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),v(f(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),v(f(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=m,a=[{key:"media",value:function(e,t){g.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,i){var a;a=0===i?(0,r.default)({minWidth:0,maxWidth:n}):(0,r.default)({minWidth:t[i-1]+1,maxWidth:n}),(0,l.canUseDOM)()&&e.media(a,(function(){e.setState({breakpoint:n})}))}));var n=(0,r.default)({minWidth:t.slice(-1)[0]});(0,l.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){g.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,a=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===a.state.breakpoint})))[0].settings?"unslick":u(u(u({},s.default),this.props),t[0].settings):u(u({},s.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var r=n.default.Children.toArray(this.props.children);r=r.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(e.variableWidth=!1);for(var l=[],o=null,c=0;c<r.length;c+=e.rows*e.slidesPerRow){for(var p=[],A=c;A<c+e.rows*e.slidesPerRow;A+=e.slidesPerRow){for(var h=[],f=A;f<A+e.slidesPerRow&&(e.variableWidth&&r[f].props.style&&(o=r[f].props.style.width),!(f>=r.length));f+=1)h.push(n.default.cloneElement(r[f],{key:100*c+10*A+f,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));p.push(n.default.createElement("div",{key:10*c+A},h))}e.variableWidth?l.push(n.default.createElement("div",{key:c,style:{width:o}},p)):l.push(n.default.createElement("div",{key:c},p))}if("unslick"===e){var m="regular slider "+(this.props.className||"");return n.default.createElement("div",{className:m},r)}return l.length<=e.slidesToShow&&(e.unslick=!0),n.default.createElement(i.InnerSlider,d({style:this.props.style,ref:this.innerSliderRefHandler},e),l)}}],a&&p(t.prototype,a),o&&p(t,o),Object.defineProperty(t,"prototype",{writable:!1}),m}(n.default.Component);e.default=y}(g5),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(e){return e&&e.__esModule?e:{default:e}}(g5);var n=t.default;e.default=n}(v5);const q3=c(v5),W3={dots:!0,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1},Y3={textColor:"#000",fontSize:"13px"},K3=[{AppId:"",Status:"skeleton",PricingName:"",Price:"",PricingId:"",DisplayPrice:"",NetPrice:"000",PriceTag:"",NoOfDays:"",PriceTagName:"",FeatureDetails:[{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""}]},{AppId:"",Status:"skeleton",PricingName:"",Price:"",PricingId:"",DisplayPrice:"",NetPrice:"000",PriceTag:"",NoOfDays:"",PriceTagName:"",FeatureDetails:[{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""}]},{AppId:"",Status:"skeleton",PricingName:"",Price:"",PricingId:"",DisplayPrice:"",NetPrice:"000",PriceTag:"",NoOfDays:"",PriceTagName:"",FeatureDetails:[{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""}]}],G3="/home/",$3=({appPurchases:e,newplan:t,...n})=>{var i,r,s,l;const o=null==n?void 0:n.data,d=null==n?void 0:n.AdminId,c=Tf(q_),u=Tf(U_),p=Tf(W_),A=Tf(q_),h=Tf(D_),f=Tf(L_),m=Tf(X_),[v,g]=a.useState(h?h.darkColor:null),[y,x]=a.useState(f?f.head:null),[b,w]=a.useState(f?f.para:null),[j,C]=a.useState("Y"),[S,N]=a.useState(null),[I,F]=a.useState(null),[B,P]=a.useState([]),[T,E]=a.useState(null),[D,L]=a.useState(null),[U,_]=a.useState(null!=A?A.AppId:m),O=Qt(),M=um(),R=n.hasOwnProperty("apiCall")?K3:Tf((e=>{var t;return(null==(t=null==e?void 0:e.pricingType)?void 0:t.PricingType)||[]}));let Q=(null==(r=null==(i=null==R?void 0:R.filter((e=>{var t;return"FREE"!==(null==(t=e.PricingName)?void 0:t.toUpperCase())})))?void 0:i.filter((e=>"Extend Pack"==(null==e?void 0:e.Status))))?void 0:r.length)>0;const H=null==R?void 0:R.filter((e=>"Extend Pack"===(null==e?void 0:e.Status))),V=null==B?void 0:B.filter((e=>(null==e?void 0:e.AppName)===D)),z=window.location.href,q=iA("UserType"),W="Super Admin"==q||"Super Admin User"==q?(null==(s=null==e?void 0:e[0])?void 0:s.UserId)||t:"Employee"==q?d:iA("UserId"),Y=Tf(Aw),[K,G]=a.useState(),[$,X]=a.useState(0);a.useEffect((()=>{let e=null==V?void 0:V.filter((e=>"Free"!=e.PricingName)),t=null==e?void 0:e.reduce(((e,t)=>e+t.RemainingDays),0);X(t)}),[V]),a.useEffect((()=>{let e=null==u?void 0:u.filter((e=>(null==e?void 0:e.AppId)===(null==c?void 0:c.AppId)));L((null==e?void 0:e.length)>0?e[0].AppName:p.length>0?p:null)}),[c]),a.useEffect((()=>{var e;null===A&&async function(e){var t,n;let i=await M(n_()).unwrap();1===(null==(t=null==i?void 0:i.data)?void 0:t.statusCode)&&await ee(null==(n=null==i?void 0:i.data)?void 0:n.data,e)}(null==(e=new URL(z).pathname.split("/"))?void 0:e.filter(Boolean).pop()),Z(),J(),re()}),[U,W]);const J=async()=>{var e,t,n;let i=await M(sw({UserId:W,AppId:U})).unwrap();1==(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&E(null==(n=null==(t=null==i?void 0:i.data)?void 0:t.data)?void 0:n[0])},Z=async()=>{var e;let t=await M(lw({UserId:W,AppId:U})).unwrap();P(null==(e=null==t?void 0:t.data)?void 0:e.data)};a.useEffect((()=>{_(null!=A?A.AppId:m)}),[A]);const ee=async(e,t)=>{var n,i;const a=null==e?void 0:e.filter((e=>{var n;return(null==(n=null==e?void 0:e.AppName)?void 0:n.toUpperCase())===(null==t?void 0:t.toUpperCase())}));a.length>0&&(M(S_(null==(n=a[0])?void 0:n.AppId)),_(null==(i=a[0])?void 0:i.AppId))},te=a.useCallback((()=>{F(null),N(null)}),[]);a.useEffect((()=>{M(W?Wb({toggleValue:j,AppId:U,UserId:W}):Kb({toggleValue:j,AppId:U})),M(rw({toggleValue:j,AppId:U})).unwrap()}),[j,U,W,M]);const ne=()=>{O(`${G3}landing-page/home`),window.location.reload()},ie=()=>{O(`${G3}signin`),window.location.reload()},ae=a.useCallback((async(t,n)=>{var i,a,r,s,l;(e=>{const t=iA("UserId"),n=iA("AppId"),i=JSON.parse(localStorage.getItem("visitLogFormat")||"null"),a={VisitTime:(new Date).toISOString(),Location:window.location.pathname};let r;if(i){const n=Array.isArray(i.LocationVistDtl)?i.LocationVistDtl:[];r={...i,PricingId:(null==e?void 0:e.PricingId)||i.PricingId||null,LocationVistDtl:[...n,a],CreatedBy:t}}else r={UserId:t,AppId:n,CreatedBy:t,PricingId:(null==e?void 0:e.PricingId)||null,LocationVistDtl:[a]};localStorage.setItem("visitLogFormat",JSON.stringify(r))})(t);let o=(e=>{const t=new Set,n=[];for(const i of e.LocationVistDtl){const e=i.Location.toLowerCase();t.has(e)||(t.add(e),n.push(i))}return{...e,LocationVistDtl:n}})(JSON.parse(localStorage.getItem("visitLogFormat")||"null"));await M(lT(o)),localStorage.removeItem("visitLogFormat"),nA("AppId",t.AppId),nA("PricingId",t.PricingId);const d=new Date,c=Se(d).format("YYYY-MM-DD HH:mm:ss"),u=Se(d).format("YYYY-MM-DD HH:mm:ss"),p=Se(d).add(t.NoOfDays,"days").format("YYYY-MM-DD HH:mm:ss");var A=new Date(p);A.setDate(A.getDate()-1);const h=A.toISOString().slice(0,19).replace("T"," ");W?Y?"Newplan"==(null==(i=null==e?void 0:e[0])?void 0:i.Sadmin)?(await M(uw(!1)),await M(pw(t))):"Extend Pack"!=(null==t?void 0:t.Status)&&"Free"!=(null==(a=null==e?void 0:e[0])?void 0:a.PricingName)?(O(`${G3}invoice-detail`,{state:{pricingData:t,PackName:null==t?void 0:t.Status,purchasedAmt:T,differenceDays:$,AppExpDate:V,locationpathname:null==(r=window.location)?void 0:r.pathname,Exist:K,SAdmin:Y,UserId:W,lastappPurchase:e}}),window.location.reload()):(await M(uw(!1)),await M(pw(t))):(O(`${G3}invoice-detail`,{state:{pricingData:t,PackName:null==t?void 0:t.Status,purchasedAmt:T,differenceDays:$,AppExpDate:V,locationpathname:null==(s=window.location)?void 0:s.pathname,Exist:K,SAdmin:Y,UserId:W,lastappPurchase:e}}),window.location.reload()):O(`${G3}signin`,{state:{pricingData:t,AppId:iA("AppId"),PricingId:t.PricingId,PurDate:c,PaymentStatus:"S",LicenseStatus:"A",Price:t.Price,ValidityStart:u,ValidityEnd:h,PackName:null==t?void 0:t.Status,purchasedAmt:T,differenceDays:$,AppExpDate:V,locationpathname:null==(l=window.location)?void 0:l.pathname,Exist:K}})}),[H]),re=async()=>{var e,t;let n={AppId:U,UserId:W,type:"L"},i=await M(ow(n)).unwrap();1==(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&G(null==(t=i.data)?void 0:t.data)};return Ye.jsx("div",{className:(null==n?void 0:n.hasOwnProperty("apiCall"))?"Pricing1PageWOD":"Pricing1Page",children:Ye.jsxs("div",{className:"pricingfull",children:[Ye.jsx(Qy,{messageType:S,messageData:I,onComplete:te}),Ye.jsxs("div",{children:[Ye.jsxs("div",{style:{margin:"0 0rem"},children:[null==o?void 0:o.map((e=>{var t;return"Pricing2Title"===e.FieldName&&!Y&&Ye.jsx("p",{className:(null==(t=null==e?void 0:e.FieldValue)?void 0:t.length)>0?"PricingHeader":"PricingHeaderwod",style:{color:Y3.textColor,fontSize:Y3.fontSize,letterSpacing:"30px",fontFamily:y,textTransform:"uppercase"},children:e.FieldValue})})),null==o?void 0:o.map((e=>{var t;return"Pricing2Header"===e.FieldName&&!Y&&Ye.jsx("div",{children:Ye.jsx("p",{className:(null==(t=null==e?void 0:e.FieldValue)?void 0:t.length)>0?"pricingtext":"pricingtextwod",style:{fontSize:"40px",fontWeight:"600",fontFamily:y},children:e.FieldValue})})})),Ye.jsxs("div",{className:"pricing1toggle",children:[null==o?void 0:o.map((e=>{var t;return"Pricing2Description"===e.FieldName&&!Y&&Ye.jsx("div",{className:(null==(t=null==e?void 0:e.FieldValue)?void 0:t.length)>0?"pricingsubtext":"pricingsubtextwod",children:Ye.jsx("p",{style:{fontSize:"16px",fontFamily:b},children:e.FieldValue})})})),Ye.jsx("div",{children:Ye.jsxs("div",{style:{display:"flex",gap:"0.2rem",justifyContent:"flex-end"},children:[Ye.jsxs("div",{className:"pricing11subtoggle",children:[Ye.jsx("div",{className:n.hasOwnProperty("apiCall")?"pricing1subtextwod":"pricing1subtext",children:!n.hasOwnProperty("apiCall")&&"Monthly "}),Ye.jsx(Hy,{defaultChecked:!0,functionName:e=>{const t=e?"Y":"M";C(t),M(W?Wb({toggleValue:t,AppId:U,UserId:W}):Kb({toggleValue:t,AppId:U}))}}),Ye.jsx("div",{className:n.hasOwnProperty("apiCall")?"pricing1subtextwod":"pricing1subtext",children:!n.hasOwnProperty("apiCall")&&"Yearly"})]}),Ye.jsxs("div",{className:"savepercentage",style:{marginBottom:"3rem"},children:[Ye.jsx("div",{className:"subsavepercentage",children:"Save 17 %"}),Ye.jsx("img",{className:"curvearrow",src:m5})]})]})})]})]}),Ye.jsx("div",{className:"pricing1pricingcont",children:Ye.jsx(q3,{...W3,children:Ye.jsx(o5,{children:Ye.jsx("div",{className:n.hasOwnProperty("apiCall")?"pricingdivWOD":"pricing1div",children:Ye.jsx("div",{className:n.hasOwnProperty("apiCall")?"pricingcardsdivWOD":"pricing1cardsdiv",children:null==(l=[null==R?void 0:R.find((e=>{var t;return"FREE"===(null==(t=e.PricingName)?void 0:t.toUpperCase())})),...null==R?void 0:R.filter((e=>{var t;return"FREE"!==(null==(t=e.PricingName)?void 0:t.toUpperCase())}))])?void 0:l.map(((e,t)=>{var i,a,r,s,l,o,d,c;return e?Ye.jsxs("div",{className:"pricing1cardstemp",children:[Ye.jsx("div",{className:"pricing1name",children:Ye.jsx("p",{className:(null==(i=e.PricingName)?void 0:i.length)>0?"PriceWD":"PriceWOD",children:null==(a=e.PricingName)?void 0:a.toUpperCase()})}),Ye.jsx("div",{className:"FREE"==e.PricingName.toUpperCase()?"pricing1content":"Pricing1freeWOD",children:Ye.jsx("div",{children:"FREE"==(null==(r=e.PricingName)?void 0:r.toUpperCase())?Ye.jsx("img",{className:"gitfimg1",src:EM}):Ye.jsxs("div",{className:"netprice1",children:[Ye.jsxs("span",{className:"net-price",style:{display:"flex",alignItems:"center"},children:[Ye.jsx("sup",{style:{fontSize:"35px"},children:"₹"}),e.DisplayPrice]}),!n.hasOwnProperty("apiCall")&&Ye.jsx("div",{style:{display:"flex",alignItems:"center",gap:"1rem"},children:Ye.jsxs("span",{style:{fontSize:"14px",color:"#5d5d66",display:"flex",alignItems:"center",gap:"0.2rem"},children:[" ","Y"==j?"/month billed annually":"/month billed monthly"," "]})})]})})}),Ye.jsx("div",{className:"feature",children:null==(s=e.FeatureDetails)?void 0:s.map(((e,t)=>{var n,i,a;return Ye.jsx("div",{className:"featureDetailsDiv",children:Ye.jsxs("p",{className:(null==(n=e.FeatName)?void 0:n.length)>0?"DetailWD":"DetailsWOD",children:[(null==(i=e.FeatName)?void 0:i.length)>0&&Ye.jsx($m,{style:{color:"#52C41A",marginRight:"0.6rem",fontSize:"14px",width:"15px",height:"15px",marginTop:"3px"}}),(null==(a=e.FeatName)?void 0:a.length)>0?0!=e.FeatConstraint?e.FeatName+"-"+e.FeatConstraint:e.FeatName:""]})})}))}),Ye.jsx("div",{className:"pricing1start",children:"FREE"===(null==(l=e.PricingName)?void 0:l.toUpperCase())?Ye.jsx("div",{className:"freebtn1fullpage "+("Already Used"===e.Status?"disabled":""),onClick:()=>(async e=>{var t,n,i,a;const r=new Date,s=Se(r).format("YYYY-MM-DD HH:mm:ss"),l=Se(r).format("YYYY-MM-DD HH:mm:ss"),o=Se(r).add(e.NoOfDays,"days").format("YYYY-MM-DD HH:mm:ss");var d=new Date(o);d.setDate(d.getDate()-1);const c=d.toISOString().slice(0,19).replace("T"," ");if(W)if("Start Free"===e.Status){const a={UserId:W,AppId:iA("AppId"),PricingId:e.PricingId,PurDate:s,PaymentStatus:"S",LicenseStatus:"A",Price:e.Price,ValidityStart:l,ValidityEnd:c,CreatedBy:iA("UserId")},r=await M(Gb(a)).unwrap();1==(null==(t=null==r?void 0:r.data)?void 0:t.statusCode)?(N("success"),F(null==(n=null==r?void 0:r.data)?void 0:n.response),W?await ne():await ie()):(N("error"),F(null==(i=null==r?void 0:r.data)?void 0:i.response))}else F("Free Already Used"),N("warning");else O(`${G3}signin`,{state:{AppId:iA("AppId"),PricingId:e.PricingId,PurDate:s,PaymentStatus:"S",LicenseStatus:"A",Price:e.Price,ValidityStart:l,ValidityEnd:c,PricingName:"Free",locationpathname:null==(a=window.location)?void 0:a.pathname}}),window.location.reload()})(e),children:Ye.jsxs("div",{style:{display:"flex",columnGap:"1rem"},children:[Ye.jsx("p",{children:"Already Used"===e.Status||Q?"Already Used":"Start Now"}),Ye.jsx(k,{})]})}):"skeleton"!==e.Status?Ye.jsx("div",{className:"btntextfullpage",style:{background:v,color:"white",border:`1px solid ${v}`,":hover":{border:`1px solid ${v}`,color:"red"}},onClick:()=>{var t,n,i;return ae(e,(null==(t=null==V?void 0:V[0])?void 0:t.RemainingDays)>0?"Extend Pack"===e.Status?"Extend Pack":"Extend Pack"==(null==(n=null==H?void 0:H[0])?void 0:n.Status)?(null==e?void 0:e.DisplayPrice)<(null==(i=null==H?void 0:H[0])?void 0:i.DisplayPrice)?"Switch":"Upgrade":"Switch":"Extend Pack"===e.Status?"Extend Pack":"Start Now")},onMouseOver:e=>{e.target.style.color=v,e.target.style.background="white",e.target.style.border="1px solid"},onMouseLeave:e=>{e.target.style.color="white",e.target.style.background=v,e.target.style.border="none"},children:(null==(o=null==V?void 0:V[0])?void 0:o.RemainingDays)>0?"Extend Pack"===e.Status?"Extend Pack":"Extend Pack"==(null==(d=null==H?void 0:H[0])?void 0:d.Status)?(null==e?void 0:e.DisplayPrice)<(null==(c=null==H?void 0:H[0])?void 0:c.DisplayPrice)?"Switch":`Upgrade to ${null==e?void 0:e.PricingName}`:"Switch":"Extend Pack"===e.Status?"Extend Pack":"Start Now"}):Ye.jsx("div",{className:"btntextskeleton",disabled:!0})})]},t):null}))})})})})}),Ye.jsx("div",{style:{fontWeight:"500",fontSize:"16px"},children:"Note : All prices mentioned above are inclusive of GST."})]})]})})},X3=Object.freeze(Object.defineProperty({__proto__:null,default:$3},Symbol.toStringTag,{value:"Module"})),J3=()=>{const e=a.useRef(null),t=um(),n=Tf(J_),[i,r]=a.useState(!1),[s,l]=a.useState(!1),[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState(!1);a.useEffect((()=>{!async function(){await t(Wb({Type:"Y",AppId:16,UserId:1})).unwrap}()}),[]);const h=a.useCallback((()=>{u(null),d(null)}),[]);a.useEffect((()=>{if((null==n?void 0:n.length)>0){let t=n.filter((e=>e.FieldName.includes("Pricing2")));(null==t?void 0:t.length)>0&&A(!0),null==n||n.map(((t,n)=>{var i,a,r;return"Pricing2Title"==(null==t?void 0:t.FieldName)?null==(i=null==e?void 0:e.current)?void 0:i.setFieldsValue({Title:null==t?void 0:t.FieldValue}):"Pricing2Header"==(null==t?void 0:t.FieldName)?null==(a=null==e?void 0:e.current)?void 0:a.setFieldsValue({Header:null==t?void 0:t.FieldValue}):"Pricing2Description"==(null==t?void 0:t.FieldName)?null==(r=null==e?void 0:e.current)?void 0:r.setFieldsValue({Description:null==t?void 0:t.FieldValue}):null}))}else A(!1)}),[s,n]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:o,messageData:c,onComplete:h}),Ye.jsxs("div",{style:{flexdirection:"row",flexWrap:"wrap",columnGap:"1.2rem"},children:[Ye.jsx($3,{data:[{FieldName:"Pricing2Title",FieldValue:"",FieldAddData:""},{FieldName:"Pricing2Header",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"Pricing2Description",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"PricingCatFeatures",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"PricingDescription",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"Monthly",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"Yearly",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"PricfreeBtn",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"PricBtn",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"PricPopName",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"PricPopPrice",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"PricPrimeName",FieldValue:"",FieldAddData:"https://paypre.in"}],apiCall:"data"}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>{l(!0)}}),Ye.jsx(ce,{onClick:()=>(async()=>{(null==n?void 0:n.length)>0?r(!0):(u("Please Add a Pricing data to open the Preview"),d("warning"))})()})]}),Ye.jsxs(j,{centered:!0,open:s,onOk:()=>l(!1),closeIcon:Ye.jsx(M,{onClick:()=>{var t;l(!1),null==(t=e.current)||t.resetFields()}}),width:600,children:[Ye.jsx("h1",{children:" Pricing"}),Ye.jsxs(I,{ref:e,onFinish:n=>{var i;let a=[{FieldName:"Pricing2Title",FieldValue:null==n?void 0:n.Title,FieldAddData:""},{FieldName:"Pricing2Header",FieldValue:null==n?void 0:n.Header,FieldAddData:""},{FieldName:"Pricing2Description",FieldValue:null==n?void 0:n.Description,FieldAddData:""},{FieldName:"PricingCatName",FieldValue:"FREE",FieldAddData:"https://paypre.in"},{FieldName:"PricingCatFeatures",FieldValue:"Company",FieldAddData:"https://paypre.in"},{FieldName:"Monthly",FieldValue:"Monthly",FieldAddData:"https://paypre.in"},{FieldName:"Yearly",FieldValue:"Yearly",FieldAddData:"https://paypre.in"},{FieldName:"PricfreeBtn",FieldValue:"TRY FREE",FieldAddData:"https://paypre.in"},{FieldName:"PricBtn",FieldValue:"BUY NOW",FieldAddData:"https://paypre.in"},{FieldName:"PricPopName",FieldValue:"LITE",FieldAddData:"https://paypre.in"},{FieldName:"PricPopPrice",FieldValue:"$856",FieldAddData:"https://paypre.in"},{FieldName:"PricPrimeName",FieldValue:"PRIME",FieldAddData:"https://paypre.in"}];t(C_({postData:a})),u("Data Added Successfully"),d("success"),l(!1),null==(i=e.current)||i.resetFields()},children:[Ye.jsx("div",{style:{padding:"2rem 0rem"},children:Ye.jsxs("div",{style:{},children:[Ye.jsx(I.Item,{name:"Title",rules:[{required:!0,message:"Please Enter Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",fieldState:!0,fieldApi:!0,label:"Title",isOnChange:!!p,suffix:Ye.jsx(F,{title:"e.g Pricing",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx(I.Item,{name:"Header",rules:[{required:!0,message:"Please Enter Header"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",fieldState:!0,fieldApi:!0,label:"Header",isOnChange:!!p,suffix:Ye.jsx(F,{title:"e.g SIMPLE, TRANSPARENT PRICING",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx(I.Item,{name:"Description",rules:[{required:!0,message:"Please Enter Description"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",fieldState:!0,fieldApi:!0,label:"Description",isOnChange:!!p,suffix:Ye.jsx(F,{title:"e.g Choose the package that suits you.No Contracts. No surprise fees.",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]})}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(Ry,{type:"submit",buttonText:"SUBMIT",icon:Ye.jsx(k,{})})})]})]})]}),Ye.jsx(j,{destroyOnClose:!0,centered:!0,open:i,onOk:()=>r(!1),onCancel:()=>r(!1),width:1e3,children:Ye.jsx($3,{data:n})})]})},Z3={dots:!0,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1},e6={textColor:"#000",fontSize:"13px"},t6=[{AppId:"",Status:"skeleton",PricingName:"",Price:"",PricingId:"",DisplayPrice:"",NetPrice:"000",PriceTag:"",NoOfDays:"",PriceTagName:"",FeatureDetails:[{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""}]},{AppId:"",Status:"skeleton",PricingName:"",Price:"",PricingId:"",DisplayPrice:"",NetPrice:"000",PriceTag:"",NoOfDays:"",PriceTagName:"",FeatureDetails:[{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""}]},{AppId:"",Status:"skeleton",PricingName:"",Price:"",PricingId:"",DisplayPrice:"",NetPrice:"000",PriceTag:"",NoOfDays:"",PriceTagName:"",FeatureDetails:[{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""},{FeatName:"",FeatConstraint:""}]}],n6="/home/",i6=({appPurchases:e,newplan:t,...n})=>{var i,r,s;const l=null==n?void 0:n.data,o=null==n?void 0:n.AdminId,d=Tf(q_),c=Tf(U_),u=Tf(W_),p=Tf(q_),A=Tf(D_),h=Tf(L_),f=Tf(X_),[m,v]=a.useState(A?A.darkColor:null),[g,y]=a.useState(h?h.head:null),[x,b]=a.useState(h?h.para:null),[w,j]=a.useState("Y"),[C,S]=a.useState(null),[N,I]=a.useState(null),[F,B]=a.useState([]),[P,T]=a.useState(null),[E,D]=a.useState(null),[L,U]=a.useState(null!=p?p.AppId:f),_=Qt(),O=um(),M=n.hasOwnProperty("apiCall")?t6:Tf((e=>{var t;return(null==(t=null==e?void 0:e.pricingType)?void 0:t.PricingType)||[]}));let R=(null==(i=null==M?void 0:M.filter((e=>{var t;return"FREE"!==(null==(t=e.PricingName)?void 0:t.toUpperCase())})))?void 0:i.filter((e=>"Extend Pack"==(null==e?void 0:e.Status))).length)>0;const Q=null==M?void 0:M.filter((e=>"Extend Pack"===(null==e?void 0:e.Status))),H=null==F?void 0:F.filter((e=>(null==e?void 0:e.AppName)===E)),V=window.location.href,z=iA("UserType"),q="Super Admin"==z||"Super Admin User"==z?(null==(r=null==e?void 0:e[0])?void 0:r.UserId)||t:"Employee"==z?o:iA("UserId"),W=Tf(Aw),[Y,K]=a.useState(),[G,$]=a.useState(0);a.useEffect((()=>{let e=null==H?void 0:H.filter((e=>"Free"!=e.PricingName)),t=null==e?void 0:e.reduce(((e,t)=>e+t.RemainingDays),0);$(t)}),[H]),a.useEffect((()=>{let e=null==c?void 0:c.filter((e=>(null==e?void 0:e.AppId)===(null==d?void 0:d.AppId)));D(e.length>0?e[0].AppName:u.length>0?u:null)}),[d]),a.useEffect((()=>{var e;null===p&&async function(e){var t,n;let i=await O(n_()).unwrap();1===(null==(t=null==i?void 0:i.data)?void 0:t.statusCode)&&await Z(null==(n=null==i?void 0:i.data)?void 0:n.data,e)}(null==(e=new URL(V).pathname.split("/"))?void 0:e.filter(Boolean).pop()),J(),X(),ae()}),[L,q]);const X=async()=>{var e,t,n;let i=await O(sw({UserId:q,AppId:L})).unwrap();1==(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&T(null==(n=null==(t=null==i?void 0:i.data)?void 0:t.data)?void 0:n[0])},J=async()=>{var e;let t=await O(lw({UserId:q,AppId:L})).unwrap();B(null==(e=null==t?void 0:t.data)?void 0:e.data)};a.useEffect((()=>{U(null!=p?p.AppId:f)}),[p]);const Z=async(e,t)=>{var n,i;const a=null==e?void 0:e.filter((e=>{var n;return(null==(n=null==e?void 0:e.AppName)?void 0:n.toUpperCase())===(null==t?void 0:t.toUpperCase())}));a.length>0&&(O(S_(null==(n=a[0])?void 0:n.AppId)),U(null==(i=a[0])?void 0:i.AppId))},ee=a.useCallback((()=>{I(null),S(null)}),[]);a.useEffect((()=>{O(q?Wb({toggleValue:w,AppId:L,UserId:q}):Kb({toggleValue:w,AppId:L})),O(rw({toggleValue:w,AppId:L})).unwrap()}),[w,L,q,O]);const te=()=>{_(`${n6}landing-page/home`),window.location.reload()},ne=()=>{_(`${n6}signin`),window.location.reload()},ie=a.useCallback((async(t,n)=>{var i,a,r,s,l;(e=>{const t=iA("UserId"),n=iA("AppId"),i=JSON.parse(localStorage.getItem("visitLogFormat")||"null"),a={VisitTime:(new Date).toISOString(),Location:window.location.pathname};let r;if(i){const n=Array.isArray(i.LocationVistDtl)?i.LocationVistDtl:[];r={...i,PricingId:(null==e?void 0:e.PricingId)||i.PricingId||null,LocationVistDtl:[...n,a],CreatedBy:t}}else r={UserId:t,AppId:n,CreatedBy:t,PricingId:(null==e?void 0:e.PricingId)||null,LocationVistDtl:[a]};localStorage.setItem("visitLogFormat",JSON.stringify(r))})(t);let o=(e=>{const t=new Set,n=[];for(const i of e.LocationVistDtl){const e=i.Location.toLowerCase();t.has(e)||(t.add(e),n.push(i))}return{...e,LocationVistDtl:n}})(JSON.parse(localStorage.getItem("visitLogFormat")||"null"));await O(lT(o)),localStorage.removeItem("visitLogFormat"),nA("AppId",t.AppId),nA("PricingId",t.PricingId);const d=new Date,c=Se(d).format("YYYY-MM-DD HH:mm:ss"),u=Se(d).format("YYYY-MM-DD HH:mm:ss"),p=Se(d).add(t.NoOfDays,"days").format("YYYY-MM-DD HH:mm:ss");var A=new Date(p);A.setDate(A.getDate()-1);const h=A.toISOString().slice(0,19).replace("T"," ");q?W?"Newplan"==(null==(i=null==e?void 0:e[0])?void 0:i.Sadmin)?(await O(uw(!1)),await O(pw(t))):"Extend Pack"!=(null==t?void 0:t.Status)&&"Free"!=(null==(a=null==e?void 0:e[0])?void 0:a.PricingName)?(_(`${n6}invoice-detail`,{state:{pricingData:t,PackName:null==t?void 0:t.Status,purchasedAmt:P,differenceDays:G,AppExpDate:H,locationpathname:null==(r=window.location)?void 0:r.pathname,Exist:Y,SAdmin:W,UserId:q,lastappPurchase:e}}),window.location.reload()):(await O(uw(!1)),await O(pw(t))):(_(`${n6}invoice-detail`,{state:{pricingData:t,PackName:null==t?void 0:t.Status,purchasedAmt:P,differenceDays:G,AppExpDate:H,locationpathname:null==(s=window.location)?void 0:s.pathname,Exist:Y,SAdmin:W,UserId:q,lastappPurchase:e}}),window.location.reload()):_(`${n6}signin`,{state:{pricingData:t,AppId:iA("AppId"),PricingId:t.PricingId,PurDate:c,PaymentStatus:"S",LicenseStatus:"A",Price:t.Price,ValidityStart:u,ValidityEnd:h,PackName:null==t?void 0:t.Status,purchasedAmt:P,differenceDays:G,AppExpDate:H,locationpathname:null==(l=window.location)?void 0:l.pathname,Exist:Y}})}),[Q]),ae=async()=>{var e,t;let n={AppId:L,UserId:q,type:"L"},i=await O(ow(n)).unwrap();1==(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&K(null==(t=i.data)?void 0:t.data)};return Ye.jsx("div",{className:(null==n?void 0:n.hasOwnProperty("apiCall"))?"Pricing1PageWOD":"Pricing1Page",children:Ye.jsxs("div",{className:"pricingfull",children:[Ye.jsx(Qy,{messageType:C,messageData:N,onComplete:ee}),Ye.jsxs("div",{children:[Ye.jsxs("div",{style:{margin:"0 0rem"},children:[null==l?void 0:l.map((e=>"Pricing2Title"===e.FieldName&&!W&&Ye.jsx("p",{className:(null==e?void 0:e.FieldValue.length)>0?"PricingHeader":"PricingHeaderwod",style:{color:e6.textColor,fontSize:e6.fontSize,letterSpacing:"30px",fontFamily:g,textTransform:"uppercase"},children:e.FieldValue}))),null==l?void 0:l.map((e=>"Pricing2Header"===e.FieldName&&!W&&Ye.jsx("div",{children:Ye.jsx("p",{className:(null==e?void 0:e.FieldValue.length)>0?"pricingtext":"pricingtextwod",style:{fontSize:"40px",fontWeight:"600",fontFamily:g},children:e.FieldValue})}))),Ye.jsxs("div",{className:"pricing1toggle",children:[null==l?void 0:l.map((e=>"Pricing2Description"===e.FieldName&&!W&&Ye.jsx("div",{className:(null==e?void 0:e.FieldValue.length)>0?"pricingsubtext":"pricingsubtextwod",children:Ye.jsx("p",{style:{fontSize:"16px",fontFamily:x},children:e.FieldValue})}))),Ye.jsx("div",{children:Ye.jsxs("div",{style:{display:"flex",gap:"0.2rem",justifyContent:"flex-end"},children:[Ye.jsxs("div",{className:"pricing11subtoggle",children:[Ye.jsx("div",{className:n.hasOwnProperty("apiCall")?"pricing1subtextwod":"pricing1subtext",children:!n.hasOwnProperty("apiCall")&&"Monthly "}),Ye.jsx(Hy,{defaultChecked:!0,functionName:e=>{const t=e?"Y":"M";j(t),O(q?Wb({toggleValue:t,AppId:L,UserId:q}):Kb({toggleValue:t,AppId:L}))}}),Ye.jsx("div",{className:n.hasOwnProperty("apiCall")?"pricing1subtextwod":"pricing1subtext",children:!n.hasOwnProperty("apiCall")&&"Yearly"})]}),Ye.jsxs("div",{className:"savepercentage",style:{marginBottom:"3rem"},children:[Ye.jsx("div",{className:"subsavepercentage",children:"Save 17 %"}),Ye.jsx("img",{className:"curvearrow",src:m5})]})]})})]})]}),Ye.jsx("div",{className:"pricing1pricingcont",children:Ye.jsx(q3,{...Z3,children:Ye.jsx(o5,{children:Ye.jsx("div",{className:n.hasOwnProperty("apiCall")?"pricingdivWOD":"pricing1div",children:Ye.jsx("div",{className:n.hasOwnProperty("apiCall")?"pricingcardsdivWOD":"pricing1cardsdiv",children:null==(s=[null==M?void 0:M.find((e=>{var t;return"FREE"===(null==(t=e.PricingName)?void 0:t.toUpperCase())})),...null==M?void 0:M.filter((e=>{var t;return"FREE"!==(null==(t=e.PricingName)?void 0:t.toUpperCase())}))])?void 0:s.map(((e,t)=>{var i,a,r,s,l,o,d;return e?Ye.jsxs("div",{className:"pricing1cardstemp",children:[Ye.jsx("div",{className:"pricing1name",children:Ye.jsx("p",{className:e.PricingName.length>0?"PriceWD":"PriceWOD",children:null==(i=e.PricingName)?void 0:i.toUpperCase()})}),Ye.jsx("div",{className:"FREE"==e.PricingName.toUpperCase()?"pricing1content":"Pricing1freeWOD",children:Ye.jsx("div",{children:"FREE"==(null==(a=e.PricingName)?void 0:a.toUpperCase())?Ye.jsx("img",{className:"gitfimg1",src:EM}):Ye.jsxs("div",{className:"netprice1",children:[Ye.jsxs("span",{className:"net-price",style:{display:"flex",alignItems:"center"},children:[Ye.jsx("sup",{style:{fontSize:"35px"},children:"₹"}),e.DisplayPrice]}),!n.hasOwnProperty("apiCall")&&Ye.jsx("div",{style:{display:"flex",alignItems:"center",gap:"1rem"},children:Ye.jsxs("span",{style:{fontSize:"14px",color:"#5d5d66",display:"flex",alignItems:"center",gap:"0.2rem"},children:[" ","Y"==w?"/month billed annually":"/month billed monthly"," "]})})]})})}),Ye.jsx("div",{className:"feature",children:null==(r=e.FeatureDetails)?void 0:r.map(((e,t)=>Ye.jsx("div",{className:"featureDetailsDiv",children:Ye.jsxs("p",{className:e.FeatName.length>0?"DetailWD":"DetailsWOD",children:[e.FeatName.length>0&&Ye.jsx($m,{style:{color:"#52C41A",marginRight:"0.6rem",fontSize:"14px",width:"15px",height:"15px",marginTop:"3px"}}),e.FeatName.length>0?0!=e.FeatConstraint?e.FeatName+"-"+e.FeatConstraint:e.FeatName:""]})})))}),Ye.jsx("div",{className:"pricing1start",children:"FREE"===(null==(s=e.PricingName)?void 0:s.toUpperCase())?Ye.jsx("div",{className:"freebtn1fullpage "+("Already Used"===e.Status?"disabled":""),onClick:()=>(async e=>{var t,n,i,a;const r=new Date,s=Se(r).format("YYYY-MM-DD HH:mm:ss"),l=Se(r).format("YYYY-MM-DD HH:mm:ss"),o=Se(r).add(e.NoOfDays,"days").format("YYYY-MM-DD HH:mm:ss");var d=new Date(o);d.setDate(d.getDate()-1);const c=d.toISOString().slice(0,19).replace("T"," ");if(q)if("Start Free"===e.Status){const a={UserId:q,AppId:iA("AppId"),PricingId:e.PricingId,PurDate:s,PaymentStatus:"S",LicenseStatus:"A",Price:e.Price,ValidityStart:l,ValidityEnd:c,CreatedBy:iA("UserId")},r=await O(Gb(a)).unwrap();1==(null==(t=null==r?void 0:r.data)?void 0:t.statusCode)?(S("success"),I(null==(n=null==r?void 0:r.data)?void 0:n.response),q?await te():await ne()):(S("error"),I(null==(i=null==r?void 0:r.data)?void 0:i.response))}else I("Free Already Used"),S("warning");else _(`${n6}signin`,{state:{AppId:iA("AppId"),PricingId:e.PricingId,PurDate:s,PaymentStatus:"S",LicenseStatus:"A",Price:e.Price,ValidityStart:l,ValidityEnd:c,PricingName:"Free",locationpathname:null==(a=window.location)?void 0:a.pathname}}),window.location.reload()})(e),children:Ye.jsxs("div",{style:{display:"flex",columnGap:"1rem"},children:[Ye.jsx("p",{children:"Already Used"===e.Status||R?"Already Used":"Start Now"}),Ye.jsx(k,{})]})}):"skeleton"!==e.Status?Ye.jsx("div",{className:"btntextfullpage",style:{background:m,color:"white",border:`1px solid ${m}`,":hover":{border:`1px solid ${m}`,color:"red"}},onClick:()=>{var t,n,i;return ie(e,(null==(t=null==H?void 0:H[0])?void 0:t.RemainingDays)>0?"Extend Pack"===e.Status?"Extend Pack":"Extend Pack"==(null==(n=null==Q?void 0:Q[0])?void 0:n.Status)?(null==e?void 0:e.DisplayPrice)<(null==(i=null==Q?void 0:Q[0])?void 0:i.DisplayPrice)?"Switch":"Upgrade":"Switch":"Extend Pack"===e.Status?"Extend Pack":"Start Now")},onMouseOver:e=>{e.target.style.color=m,e.target.style.background="white",e.target.style.border="1px solid"},onMouseLeave:e=>{e.target.style.color="white",e.target.style.background=m,e.target.style.border="none"},children:(null==(l=null==H?void 0:H[0])?void 0:l.RemainingDays)>0?"Extend Pack"===e.Status?"Extend Pack":"Extend Pack"==(null==(o=null==Q?void 0:Q[0])?void 0:o.Status)?(null==e?void 0:e.DisplayPrice)<(null==(d=null==Q?void 0:Q[0])?void 0:d.DisplayPrice)?"Switch":`Upgrade to ${null==e?void 0:e.PricingName}`:"Switch":"Extend Pack"===e.Status?"Extend Pack":"Start Now"}):Ye.jsx("div",{className:"btntextskeleton",disabled:!0})})]},t):null}))})})})})}),Ye.jsx("div",{style:{fontWeight:"500",fontSize:"16px"},children:"Note : All prices mentioned above are inclusive of GST."})]})]})})},a6=Object.freeze(Object.defineProperty({__proto__:null,default:i6},Symbol.toStringTag,{value:"Module"})),r6=()=>{const e=a.useRef(null),t=um(),n=Tf(J_),[i,r]=a.useState(!1),[s,l]=a.useState(!1),[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState(!1),h=a.useCallback((()=>{u(null),d(null)}),[]);a.useEffect((()=>{if((null==n?void 0:n.length)>0){let t=n.filter((e=>e.FieldName.includes("Pricing2")));(null==t?void 0:t.length)>0&&A(!0),null==n||n.map(((t,n)=>{var i,a,r;return"Pricing2Title"==(null==t?void 0:t.FieldName)?null==(i=null==e?void 0:e.current)?void 0:i.setFieldsValue({Title:null==t?void 0:t.FieldValue}):"Pricing2Header"==(null==t?void 0:t.FieldName)?null==(a=null==e?void 0:e.current)?void 0:a.setFieldsValue({Header:null==t?void 0:t.FieldValue}):"Pricing2Description"==(null==t?void 0:t.FieldName)?null==(r=null==e?void 0:e.current)?void 0:r.setFieldsValue({Description:null==t?void 0:t.FieldValue}):null}))}else A(!1)}),[n,s]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:o,messageData:c,onComplete:h}),Ye.jsx(i6,{data:[{FieldName:"Pricing2Title",FieldValue:"",FieldAddData:""},{FieldName:"Pricing2Header",FieldValue:"",FieldAddData:"https://pozo.app"},{FieldName:"Pricing2Description",FieldValue:"",FieldAddData:"https://pozo.app"}],apiCall:"data"}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>{l(!0)}}),Ye.jsx(ce,{onClick:()=>(async()=>{(null==n?void 0:n.length)>0?r(!0):(u("Please Add a Features data to open the Preview"),d("warning"))})()})]}),Ye.jsxs(j,{centered:!0,open:s,onOk:()=>l(!1),closeIcon:Ye.jsx(M,{onClick:()=>{var t;l(!1),null==(t=e.current)||t.resetFields()}}),width:600,children:[Ye.jsx("h1",{children:" Pricing"}),Ye.jsxs(I,{ref:e,onFinish:n=>{var i;let a=[{FieldName:"Pricing2Title",FieldValue:null==n?void 0:n.Title,FieldAddData:""},{FieldName:"Pricing2Header",FieldValue:null==n?void 0:n.Header,FieldAddData:""},{FieldName:"Pricing2Description",FieldValue:null==n?void 0:n.Description,FieldAddData:""}];t(C_({postData:a})),u("Data Added Successfully"),d("success"),l(!1),null==(i=e.current)||i.resetFields()},children:[Ye.jsx("div",{style:{padding:"2rem 0rem"},children:Ye.jsxs("div",{style:{},children:[Ye.jsx(I.Item,{name:"Title",rules:[{required:!0,message:"Please Enter Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",fieldState:!0,fieldApi:!0,label:"Title",isOnChange:!!p,suffix:Ye.jsx(F,{title:"e.g Pricing",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx(I.Item,{name:"Header",rules:[{required:!0,message:"Please Enter Header"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",fieldState:!0,fieldApi:!0,label:"Header",isOnChange:!!p,suffix:Ye.jsx(F,{title:"e.g SIMPLE, TRANSPARENT PRICING",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx(I.Item,{name:"Description",rules:[{required:!0,message:"Please Enter Description"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",fieldState:!0,fieldApi:!0,label:"Description",isOnChange:!!p,suffix:Ye.jsx(F,{title:"e.g Choose the package that suits you.No Contracts. No surprise fees.",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]})}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(Ry,{type:"submit",buttonText:"SUBMIT",icon:Ye.jsx(k,{})})})]})]}),Ye.jsx(j,{destroyOnClose:!0,centered:!0,open:i,onOk:()=>r(!1),onCancel:()=>r(!1),width:1e3,children:Ye.jsx(i6,{data:n})})]})},s6="/home/",l6=({appPurchases:e,newplan:t,...n})=>{var i,r,s,l;const o=um(),[d,c]=a.useState(!0);a.useState(0);const[u,p]=a.useState(window.innerWidth<768),A=null==n?void 0:n.data,h=null==n?void 0:n.AdminId,f=Tf(q_),m=Tf(U_),v=Tf(W_),g=Tf(q_),y=Tf(D_),x=Tf(L_),b=Tf(X_);a.useState(y?y.darkColor:null);const[w,j]=a.useState(x?x.head:null);a.useState(x?x.para:null);const[C,S]=a.useState("Y"),[N,I]=a.useState(null),[F,B]=a.useState(null),[P,k]=a.useState([]),[T,E]=a.useState(null),[D,L]=a.useState(null),[U,_]=a.useState(null!=g?g.AppId:b),O=Qt(),M=n.hasOwnProperty("apiCall")?[{AppId:"",Status:"skeleton",PricingName:"",Price:"",PricingId:"",DisplayPrice:"",NetPrice:"000",PriceTag:"",NoOfDays:"",PriceTagName:"",FeatureDetails:[{FeatName:"",FeatConstraint:"",FeatDescription:""},{FeatName:"",FeatConstraint:"",FeatDescription:""},{FeatName:"",FeatConstraint:"",FeatDescription:""},{FeatName:"",FeatConstraint:"",FeatDescription:""},{FeatName:"",FeatConstraint:"",FeatDescription:""},{FeatName:"",FeatConstraint:"",FeatDescription:""}]},{AppId:"",Status:"skeleton",PricingName:"",Price:"",PricingId:"",DisplayPrice:"",NetPrice:"000",PriceTag:"",NoOfDays:"",PriceTagName:"",FeatureDetails:[{FeatName:"",FeatConstraint:"",FeatDescription:""},{FeatName:"",FeatConstraint:"",FeatDescription:""},{FeatName:"",FeatConstraint:"",FeatDescription:""},{FeatName:"",FeatConstraint:"",FeatDescription:""},{FeatName:"",FeatConstraint:"",FeatDescription:""},{FeatName:"",FeatConstraint:"",FeatDescription:""}]},{AppId:"",Status:"skeleton",PricingName:"",Price:"",PricingId:"",DisplayPrice:"",NetPrice:"000",PriceTag:"",NoOfDays:"",PriceTagName:"",FeatureDetails:[{FeatName:"",FeatConstraint:"",FeatDescription:""},{FeatName:"",FeatConstraint:"",FeatDescription:""},{FeatName:"",FeatConstraint:"",FeatDescription:""},{FeatName:"",FeatConstraint:"",FeatDescription:""},{FeatName:"",FeatConstraint:"",FeatDescription:""},{FeatName:"",FeatConstraint:"",FeatDescription:""}]}]:Tf((e=>{var t;return(null==(t=null==e?void 0:e.pricingType)?void 0:t.PricingType)||[]}));null==(i=null==M?void 0:M.filter((e=>{var t;return"FREE"!==(null==(t=e.PricingName)?void 0:t.toUpperCase())})))||i.filter((e=>"Extend Pack"==(null==e?void 0:e.Status))).length;const R=null==M?void 0:M.filter((e=>"Extend Pack"===(null==e?void 0:e.Status))),Q=null==P?void 0:P.filter((e=>(null==e?void 0:e.AppName)===D)),H=window.location.href,V=iA("UserType"),z="Super Admin"==V||"Super Admin User"==V?(null==(r=null==e?void 0:e[0])?void 0:r.UserId)||t:"Employee"==V?h:iA("UserId"),q=Tf(Aw),[W,Y]=a.useState(),[K,G]=a.useState(0),$=Tf(D_);a.useEffect((()=>{let e=null==Q?void 0:Q.filter((e=>"Free"!=e.PricingName)),t=null==e?void 0:e.reduce(((e,t)=>e+t.RemainingDays),0);G(t)}),[Q]),a.useEffect((()=>{let e=null==m?void 0:m.filter((e=>(null==e?void 0:e.AppId)===(null==f?void 0:f.AppId)));L(e.length>0?e[0].AppName:v.length>0?v:null)}),[f]),a.useEffect((()=>{var e;null===g&&async function(e){var t,n;let i=await o(n_()).unwrap();1===(null==(t=null==i?void 0:i.data)?void 0:t.statusCode)&&await Z(null==(n=null==i?void 0:i.data)?void 0:n.data,e)}(null==(e=new URL(H).pathname.split("/"))?void 0:e.filter(Boolean).pop()),J(),X(),ae()}),[U,z]);const X=async()=>{var e,t,n;let i=await o(sw({UserId:z,AppId:U})).unwrap();1==(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&E(null==(n=null==(t=null==i?void 0:i.data)?void 0:t.data)?void 0:n[0])},J=async()=>{var e;let t=await o(lw({UserId:z,AppId:U})).unwrap();k(null==(e=null==t?void 0:t.data)?void 0:e.data)};a.useEffect((()=>{_(null!=g?g.AppId:b)}),[g]);const Z=async(e,t)=>{var n,i;const a=null==e?void 0:e.filter((e=>{var n;return(null==(n=null==e?void 0:e.AppName)?void 0:n.toUpperCase())===(null==t?void 0:t.toUpperCase())}));a.length>0&&(o(S_(null==(n=a[0])?void 0:n.AppId)),_(null==(i=a[0])?void 0:i.AppId))};a.useCallback((()=>{B(null),I(null)}),[]);const ee=e=>{const t="Y"==e?"Y":"M";S(t),o(z?Wb({toggleValue:t,AppId:U,UserId:z}):Kb({toggleValue:t,AppId:U}))};a.useEffect((()=>{o(z?Wb({toggleValue:C,AppId:U,UserId:z}):Kb({toggleValue:C,AppId:U})),o(rw({toggleValue:C,AppId:U})).unwrap()}),[C,U,z,o]);const te=()=>{O(`${s6}landing-page/home`),window.location.reload()},ne=()=>{O(`${s6}signin`),window.location.reload()},ie=a.useCallback((async(t,n)=>{var i,a,r,s,l;(e=>{const t=iA("UserId"),n=iA("AppId"),i=JSON.parse(localStorage.getItem("visitLogFormat")||"null"),a={VisitTime:(new Date).toISOString(),Location:window.location.pathname};let r;if(i){const n=Array.isArray(i.LocationVistDtl)?i.LocationVistDtl:[];r={...i,PricingId:(null==e?void 0:e.PricingId)||i.PricingId||null,LocationVistDtl:[...n,a],CreatedBy:t}}else r={UserId:t,AppId:n,CreatedBy:t,PricingId:(null==e?void 0:e.PricingId)||null,LocationVistDtl:[a]};localStorage.setItem("visitLogFormat",JSON.stringify(r))})(t);let d=(e=>{const t=new Set,n=[];for(const i of e.LocationVistDtl){const e=i.Location.toLowerCase();t.has(e)||(t.add(e),n.push(i))}return{...e,LocationVistDtl:n}})(JSON.parse(localStorage.getItem("visitLogFormat")||"null"));await o(lT(d)),localStorage.removeItem("visitLogFormat"),nA("AppId",t.AppId),nA("PricingId",t.PricingId);const c=new Date,u=Se(c).format("YYYY-MM-DD HH:mm:ss"),p=Se(c).format("YYYY-MM-DD HH:mm:ss"),A=Se(c).add(t.NoOfDays,"days").format("YYYY-MM-DD HH:mm:ss");var h=new Date(A);h.setDate(h.getDate()-1);const f=h.toISOString().slice(0,19).replace("T"," ");z?q?"Newplan"==(null==(i=null==e?void 0:e[0])?void 0:i.Sadmin)?(await o(uw(!1)),await o(pw(t))):"Extend Pack"!=(null==t?void 0:t.Status)&&"Free"!=(null==(a=null==e?void 0:e[0])?void 0:a.PricingName)?(O(`${s6}invoice-detail`,{state:{pricingData:t,PackName:null==t?void 0:t.Status,purchasedAmt:T,differenceDays:K,AppExpDate:Q,locationpathname:null==(r=window.location)?void 0:r.pathname,Exist:W,SAdmin:q,UserId:z,lastappPurchase:e}}),window.location.reload()):(await o(uw(!1)),await o(pw(t))):(O(`${s6}invoice-detail`,{state:{pricingData:t,PackName:null==t?void 0:t.Status,purchasedAmt:T,differenceDays:K,AppExpDate:Q,locationpathname:null==(s=window.location)?void 0:s.pathname,Exist:W,SAdmin:q,UserId:z,lastappPurchase:e}}),window.location.reload()):O(`${s6}signin`,{state:{pricingData:t,AppId:iA("AppId"),PricingId:t.PricingId,PurDate:u,PaymentStatus:"S",LicenseStatus:"A",Price:t.Price,ValidityStart:p,ValidityEnd:f,PackName:null==t?void 0:t.Status,purchasedAmt:T,differenceDays:K,AppExpDate:Q,locationpathname:null==(l=window.location)?void 0:l.pathname,Exist:W}})}),[R]),ae=async()=>{var e,t;let n={AppId:U,UserId:z,type:"L"},i=await o(ow(n)).unwrap();1==(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&Y(null==(t=i.data)?void 0:t.data)},re=(Array.isArray(M)&&M.length>0?M:[]).map((e=>{var t;return{...e,popular:"PRO"===(null==(t=e.PricingName)?void 0:t.toUpperCase())}}));let se="Already Used"===(null==(s=null==re?void 0:re.find((e=>{var t;return"FREE"===(null==(t=e.PricingName)?void 0:t.toUpperCase())})))?void 0:s.Status),le=null==re?void 0:re.some((e=>{var t;return"FREE"===(null==(t=e.PricingName)?void 0:t.toUpperCase())}));return a.useEffect((()=>{c(!0),U&&z?o(Wb({toggleValue:C,AppId:U,UserId:z})).finally((()=>c(!1))):c(!1)}),[C,U,z,o]),a.useEffect((()=>{const e=()=>p(window.innerWidth<768);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]),Ye.jsx("section",{id:"pricing",className:"pricing-section",children:Ye.jsxs("div",{className:"pricing-container",children:[Ye.jsxs("div",{className:"pricing-header",children:[null==A?void 0:A.map((e=>"Pricing3Header"===e.FieldName&&!q&&Ye.jsx("div",{children:Ye.jsx("p",{className:(null==e?void 0:e.FieldValue.length)>0?"pricingtext":"pricingtextwod",style:{fontSize:"40px",fontWeight:"600",fontFamily:w},children:e.FieldValue})},e.FieldName))),le&&Ye.jsxs("p",{className:"pricing-subtitle "+("Already Used"===re.Status?"disabled":""),style:{cursor:"Already Used"===re.Status?"not-allowed":"pointer"},children:[null==A?void 0:A.map((e=>"Pricing3Description"===e.FieldName&&!q&&Ye.jsx("div",{children:Ye.jsx("p",{className:(null==e?void 0:e.FieldValue.length)>0?"pricing-subtitl":"pricingtextwod",children:e.FieldValue})},e.FieldName))),Ye.jsx("button",{className:"free-button",onClick:e=>{e.stopPropagation(),"Already Used"!==re.Status&&(async e=>{var t,n,i,a;let r=null==e?void 0:e.find((e=>"Free"===e.PricingName));const s=new Date,l=Se(s).format("YYYY-MM-DD HH:mm:ss"),d=Se(s).format("YYYY-MM-DD HH:mm:ss"),c=Se(s).add(r.NoOfDays,"days").format("YYYY-MM-DD HH:mm:ss");var u=new Date(c);u.setDate(u.getDate()-1);const p=u.toISOString().slice(0,19).replace("T"," ");if(z)if("Start Free"===r.Status){const e={UserId:z,AppId:iA("AppId"),PricingId:r.PricingId,PurDate:l,PaymentStatus:"S",LicenseStatus:"A",Price:r.Price,ValidityStart:d,ValidityEnd:p,CreatedBy:iA("UserId")},a=await o(Gb(e)).unwrap();1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)?(I("success"),B(null==(n=null==a?void 0:a.data)?void 0:n.response),z?await te():await ne()):(I("error"),B(null==(i=null==a?void 0:a.data)?void 0:i.response))}else B("Free Already Used"),I("warning");else O(`${s6}signin`,{state:{AppId:iA("AppId"),PricingId:r.PricingId,PurDate:l,PaymentStatus:"S",LicenseStatus:"A",Price:r.Price,ValidityStart:d,ValidityEnd:p,PricingName:"Free",locationpathname:null==(a=window.location)?void 0:a.pathname}}),window.location.reload()})(re)},disabled:se,style:{border:"none",background:"transparent",color:"blue",textDecoration:"underline",cursor:se?"not-allowed":"pointer",padding:0,fontSize:"inherit",fontFamily:"inherit",margin:"auto"},children:"Free"})," ","trial."]}),Ye.jsx("div",{className:"pricing-toggle-wrapper",children:Ye.jsxs("div",{className:"pricing-toggle-bg",children:[Ye.jsx("button",{className:"pricing-toggle-btn"+("M"===C?" active":""),onClick:()=>ee("M"),defaultChecked:!0,children:"Monthly"}),Ye.jsxs("button",{className:"pricing-toggle-btn"+("Y"===C?" active":""),onClick:()=>ee("Y"),children:["Annual",Ye.jsx("span",{className:"pricing-save-badge",children:"Save 20%"})]})]})})]}),Ye.jsx("div",{className:"pricing-grid-wrapper",children:!n.hasOwnProperty("apiCall")&&Ye.jsx("div",{className:"pricing-grid",children:null==(l=null==re?void 0:re.filter((e=>{var t;return"FREE"!==(null==(t=e.PricingName)?void 0:t.toUpperCase())})))?void 0:l.map(((e,t)=>{var n,i,a,r,s;return Ye.jsxs("div",{className:"pricing-card"+((null==e?void 0:e.popular)?" popular":""),style:{borderColor:(null==e?void 0:e.popular)?$.darkColor:"",border:(null==e?void 0:e.popular)?`2px solid ${$.darkColor}`:"1px solid rgb(214 214 214)"},children:[(null==e?void 0:e.popular)&&Ye.jsx("div",{className:"pricing-popular-badge",style:{backgroundColor:$.darkColor?$.darkColor:""},children:"Most Popular"}),Ye.jsxs("div",{className:"pricing-card-content",children:[Ye.jsx("h3",{className:"pricing-plan-name",children:e.PricingName}),Ye.jsxs("p",{className:"planslogan",children:["Ideal for growing ",D]}),Ye.jsx("p",{className:"pricing-plan-desc",children:e.Description}),Ye.jsxs("div",{className:"pricing-price-row",children:[Ye.jsxs("span",{className:"pricing-price",children:["₹",e.DisplayPrice]}),"FREE"!==(null==(n=e.PricingName)?void 0:n.toUpperCase())&&Ye.jsxs("span",{className:"pricing-per-month",children:["/ ","Monthly"]})]}),Ye.jsx("button",{className:`pricing-plan-btn${(null==e?void 0:e.popular)?" popular":""} ${"Already Used"===e.Status?"disabled":""}`,onClick:()=>{var t,n,i;return ie(e,(null==(t=null==Q?void 0:Q[0])?void 0:t.RemainingDays)>0?"Extend Pack"===e.Status?"Extend Pack":"Extend Pack"==(null==(n=null==R?void 0:R[0])?void 0:n.Status)?(null==e?void 0:e.DisplayPrice)<(null==(i=null==R?void 0:R[0])?void 0:i.DisplayPrice)?"Switch":"Upgrade":"Switch":"Extend Pack"===e.Status?"Extend Pack":"Start Now")},style:{backgroundColor:(null==e?void 0:e.popular)?$.darkColor:""},children:(null==(i=null==Q?void 0:Q[0])?void 0:i.RemainingDays)>0?"Extend Pack"===e.Status?"Extend-Pack":"Extend Pack"===(null==(a=null==R?void 0:R[0])?void 0:a.Status)?(null==e?void 0:e.DisplayPrice)<(null==(r=null==R?void 0:R[0])?void 0:r.DisplayPrice)?"Switch":"Upgrade":"Switch":"Extend Pack"===e.Status?"Extend-Pack":"Start-Now"}),Ye.jsx("div",{className:"pricing-features-list",children:(null==(s=e.FeatureDetails)?void 0:s.length)>0?e.FeatureDetails.map(((e,t)=>Ye.jsxs("div",{className:"pricing-feature",children:[Ye.jsx(Gv,{className:"pricing-feature-icon included"}),Ye.jsxs("span",{children:[e.FeatDescription,e.FeatConstraint&&0!==e.FeatConstraint?` - ${e.FeatConstraint}`:""]})]},t))):Ye.jsx("div",{className:"pricing-feature no-features",children:"No features listed"})})]})]},t)}))})}),Ye.jsxs("div",{className:"pricing-footer",children:[Ye.jsx("p",{className:"pricing-footer-text",children:"One platform. All your branches. Fully customizable."}),Ye.jsx("button",{className:"pricing-footer-btn",style:{backgroundColor:$.darkColor?$.darkColor:"",color:$.lightcolor?"white":"#fff"},children:"Contact Our Sales Team"})]})]})})},o6=Object.freeze(Object.defineProperty({__proto__:null,default:l6},Symbol.toStringTag,{value:"Module"})),d6=({appPurchases:e,newplan:t,...n})=>{const i=a.useRef(null),r=um(),s=Tf(J_),[l,o]=a.useState(!1),[d,c]=a.useState(!1),[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState(!1),v=a.useCallback((()=>{h(null),p(null)}),[]);a.useEffect((()=>{if((null==s?void 0:s.length)>0){let e=s.filter((e=>e.FieldName.includes("PreviewPricing3")));(null==e?void 0:e.length)>0&&m(!0),null==s||s.map((e=>{var t,n;return"Pricing3Header"==(null==e?void 0:e.FieldName)?null==(t=null==i?void 0:i.current)?void 0:t.setFieldsValue({Header:null==e?void 0:e.FieldValue}):"Pricing3Description"==(null==e?void 0:e.FieldName)?null==(n=null==i?void 0:i.current)?void 0:n.setFieldsValue({Description:null==e?void 0:e.FieldValue}):null}))}else m(!1)}),[s,d]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:u,messageData:A,onComplete:v}),Ye.jsx(l6,{data:[{FieldName:"Pricing2Title",FieldValue:"",FieldAddData:""},{FieldName:"Pricing2Header",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"Pricing2Description",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"PricingCatFeatures",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"PricingDescription",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"Monthly",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"Yearly",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"PricfreeBtn",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"PricBtn",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"PricPopName",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"PricPopPrice",FieldValue:"",FieldAddData:"https://paypre.in"},{FieldName:"PricPrimeName",FieldValue:"",FieldAddData:"https://paypre.in"}],apiCall:"data"}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>{c(!0)}}),Ye.jsx(ce,{onClick:()=>(async()=>{(null==s?void 0:s.length)>0?o(!0):(h("Please Add a Features data to open the Preview"),p("warning"))})()})]}),Ye.jsxs(j,{centered:!0,open:d,onOk:()=>c(!1),closeIcon:Ye.jsx(M,{onClick:()=>{var e;c(!1),null==(e=i.current)||e.resetFields()}}),width:600,children:[Ye.jsx("h1",{children:" Pricing"}),Ye.jsxs(I,{ref:i,onFinish:e=>{var t;let n=[{FieldName:"Pricing3Header",FieldValue:null==e?void 0:e.Header,FieldAddData:""},{FieldName:"Pricing3Description",FieldValue:null==e?void 0:e.Description,FieldAddData:""}];r(C_({postData:n})),h("Data Added Successfully"),p("success"),c(!1),null==(t=i.current)||t.resetFields()},children:[Ye.jsx("div",{style:{padding:"2rem 0rem"},children:Ye.jsxs("div",{style:{},children:[Ye.jsx(I.Item,{name:"Header",rules:[{required:!0,message:"Please Enter Header"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",fieldState:!0,fieldApi:!0,label:"Header",isOnChange:f,suffix:Ye.jsx(F,{title:"e.g SIMPLE, TRANSPARENT PRICING",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx(I.Item,{name:"Description",rules:[{required:!0,message:"Please Enter Description"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",fieldState:!0,fieldApi:!0,label:"Description",isOnChange:f,suffix:Ye.jsx(F,{title:"e.g Choose the package that suits you.No Contracts. No surprise fees.",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]})}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(Ry,{type:"submit",buttonText:"SUBMIT",icon:Ye.jsx(k,{})})})]})]}),Ye.jsx(j,{destroyOnClose:!0,centered:!0,open:l,onOk:()=>o(!1),onCancel:()=>o(!1),width:1e3,children:Ye.jsx(l6,{data:s})})]})},c6=()=>{const e=a.useRef(null),t=um(),[n,i]=a.useState(null),r=Tf(z_),[s,l]=a.useState(""),[o,d]=a.useState(!1),[c,u]=a.useState(!1),[p,A]=a.useState(!1),[h,f]=a.useState([]),[m,v]=a.useState(!1),[g,y]=a.useState(!1),[x,b]=a.useState(!1),[w,S]=a.useState(""),[N,T]=a.useState("");a.useEffect((()=>{L()}),[]);const E=e=>{i(e)},D=[{faqLists:[{faqQus:"",faqAns:""}]}],L=async()=>{await l(D)};a.useEffect((()=>{A(!0)}),[]);const U=()=>{var e,t;const n=r.filter(((e,t)=>"faqQuestion"==(null==e?void 0:e.FieldName))).map((e=>({faqQus:e.FieldValue,faqAns:e.FieldAddData})));l(n);let i=null==(e=r.filter(((e,t)=>"faqTitle"==(null==e?void 0:e.FieldName)))[0])?void 0:e.FieldValue;S(i);let a=null==(t=r.filter(((e,t)=>"faqImage"==(null==e?void 0:e.FieldName)))[0])?void 0:t.FieldValue;T(a),E(a)},_=a.useCallback((()=>{y(null),b(null)}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:x,messageData:g,onComplete:_}),Ye.jsx("div",{className:"faqtemp1",children:Ye.jsx(XM,{})}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>((null==r?void 0:r.length)>0?(U(),v(!0),r.map(((t,n)=>{var i,a;return"faqTitle"==(null==t?void 0:t.FieldName)?null==(i=null==e?void 0:e.current)?void 0:i.setFieldsValue({faqtitle:null==t?void 0:t.FieldValue}):"faqImage"==(null==t?void 0:t.FieldName)?null==(a=null==e?void 0:e.current)?void 0:a.setFieldsValue({image:null==t?void 0:t.FieldValue}):null}))):v(!1),void u(!0))})," ",Ye.jsx(ce,{onClick:()=>(async()=>{(null==r?void 0:r.length)>0?d(!0):(y("Please add a faq data to open the preview"),b("warning"))})()})]}),Ye.jsx(j,{centered:!0,open:c,onOk:()=>u(!1),onCancel:()=>{return u(!1),void(null==(t=e.current)||t.resetFields());var t},width:1e3,children:Ye.jsx("div",{children:Ye.jsxs(I,{ref:e,onFinish:async e=>{var i;if(n){const a=e;a.faqImage=n;let r=[];(null==(i=[e])?void 0:i.map((e=>e.faqlists)))[0].map((e=>{r.push({FieldName:"faqQuestion",FieldValue:e.faqQus,FieldAddData:e.faqAns})})),r.push({FieldName:"faqTitle",FieldValue:e.faqtitle,FieldAddData:""}),r.push({FieldName:"faqImage",FieldValue:e.faqImage,FieldAddData:""}),f(a),await t(g_(r)),u(!1),d(!1),y("Data Added Successfully"),b("success")}else y("Please add a faq image"),b("warning")},children:[Ye.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-around"},children:[Ye.jsxs("div",{style:{},children:[Ye.jsx(I.Item,{initialValue:w,name:"faqtitle",rules:[{required:!0,message:"Please Enter Faq Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",name:"faqtitle",fieldState:!0,fieldApi:!0,isOnChange:!!m,label:"Faq Title",autoComplete:"off",field:"",id:"",suffix:Ye.jsx(F,{title:"Frequently asked questions about your application",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsxs("div",{className:"upload_btn",children:[Ye.jsx("p",{children:"Upload Faq Banner"}),Ye.jsx(Yy,{singleImage:!0,updateImageUrl:E,ImageLink:N})]})]}),Ye.jsx("div",{style:{},children:Ye.jsx(I.List,{name:"faqlists",initialValue:s,children:(e,{add:t,remove:n})=>Ye.jsxs(Ye.Fragment,{children:[e.map((t=>Ye.jsx(P,{style:{display:"flex",flexDirection:"column",marginBottom:2,rowGap:0},align:"baseline",children:Ye.jsxs("div",{style:{display:"flex",flexDirection:"row"},children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[Ye.jsx(I.Item,{...t,name:[t.name,"faqQus"],fieldKey:[t.fieldKey,"faqQus"],rules:[{required:!0,message:"Please Enter Faq Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",name:"",fieldState:!0,fieldApi:!0,isOnChange:!!m,label:"FAQ Question",field:"",id:"",suffix:Ye.jsx(F,{title:"How to signin?",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx(I.Item,{...t,name:[t.name,"faqAns"],fieldKey:[t.fieldKey,"faqAns"],rules:[{required:!0,message:"Please Enter Faq Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",name:"",fieldState:!0,fieldApi:!0,isOnChange:!!m,label:"FAQ Answer",field:"",id:"",suffix:Ye.jsx(F,{title:"How to buy a application",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]}),1!==e.length&&Ye.jsx(de,{style:{color:"#FF4D4F",fontSize:"20px",padding:"10px",alignContent:"center"},onClick:()=>n(t.name)})]})},t.key))),Ye.jsx(I.Item,{children:Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(C,{style:{color:"white",backgroundColor:"#37943C",borderRadius:50,fontSize:"20px"},onClick:()=>t()})})})]})})})]}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(Ry,{type:"submit",buttonText:"SAVE",icon:Ye.jsx(k,{})})})]})})}),Ye.jsx(j,{centered:!0,open:o,onOk:()=>d(!1),onCancel:()=>d(!1),width:"1000",children:Ye.jsx(XM,{data:r})})]})},u6=()=>{const e=a.useRef(null),t=um(),n=Tf(z_),[i,r]=a.useState([]),[s,l]=a.useState(!1),[o,d]=a.useState(!1),[c,u]=a.useState(!1),[p,A]=a.useState(!1),[h,f]=a.useState(!1),[m,v]=a.useState(!1),[g,y]=a.useState("");a.useEffect((()=>{b()}),[]);const x=[{faqLists:[{faqQus:"",faqAns:""}]}],b=async()=>{await r(x)};a.useEffect((()=>{f(!0)}),[n]);const w=()=>{(null==n?void 0:n.length)>0?(!function(){var e;let t=n.filter(((e,t)=>"faqQuestion"==(null==e?void 0:e.FieldName)));const i=null==t?void 0:t.map((e=>({faqQus:e.FieldValue,faqAns:e.FieldAddData})));r(i);let a=n.filter(((e,t)=>"faqTitle"==(null==e?void 0:e.FieldName))),s=null==(e=a[0])?void 0:e.FieldValue;y(s)}(),v(!0),null==n||n.map(((t,n)=>{var i;return null==(i=null==e?void 0:e.current)?void 0:i.setFieldsValue({[null==t?void 0:t.FieldName]:null==t?void 0:t.FieldValue})}))):v(!1),A(!0)};const S=a.useCallback((()=>{l(null),d(null)}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:o,messageData:s,onComplete:S}),Ye.jsx(eR,{}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>w()})," ",Ye.jsx(ce,{onClick:()=>(async()=>{(null==n?void 0:n.length)>0?u(!0):(l("Please add a faq data to open the preview"),d("warning"))})()})]}),Ye.jsx(j,{centered:!0,open:p,onOk:()=>A(!1),onCancel:()=>{return A(!1),void(null==(t=e.current)||t.resetFields());var t},width:1e3,children:Ye.jsx("div",{children:Ye.jsxs(I,{ref:e,onFinish:async e=>{var n,i;let a=[];null==(i=(null==(n=[e])?void 0:n.map((e=>e.faqlists)))[0])||i.map((e=>{a.push({FieldName:"faqQuestion",FieldValue:e.faqQus,FieldAddData:e.faqAns})})),a.push({FieldName:"faqTitle",FieldValue:e.faqtitle,FieldAddData:""}),a.push({FieldName:"faqImage",FieldValue:"",FieldAddData:""}),await t(g_(a)),A(!1),u(!1),l("Data Added Successfully"),d("success")},children:[Ye.jsx("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"center"},children:Ye.jsxs("div",{style:{},children:[Ye.jsx(I.Item,{initialValue:g,name:"faqtitle",rules:[{required:!0,message:"Please Enter Faq Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",name:"faqtitle",autoComplete:"off",fieldState:!0,fieldApi:!0,isOnChange:!!m,label:"Faq Title",field:"",id:"",suffix:Ye.jsx(F,{title:"Frequently asked questions about your application",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx("div",{style:{},children:Ye.jsx(I.List,{name:"faqlists",initialValue:i,children:(e,{add:t,remove:n})=>Ye.jsxs(Ye.Fragment,{children:[null==e?void 0:e.map((t=>Ye.jsxs(P,{style:{display:"flex",flexWrap:"wrap",marginBottom:2,rowGap:0},align:"baseline",children:[Ye.jsx(I.Item,{...t,name:[t.name,"faqQus"],fieldKey:[t.fieldKey,"faqQus"],rules:[{required:!0,message:"Please Enter FAQ Qus"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",name:"",fieldState:!0,fieldApi:!0,isOnChange:!!m,label:"FAQ Question",field:"",id:"",suffix:Ye.jsx(F,{title:"How to signin?",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx(I.Item,{...t,name:[t.name,"faqAns"],fieldKey:[t.fieldKey,"faqAns"],rules:[{required:!0,message:"Please Enter FAQ Answer"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",name:"",fieldState:!0,fieldApi:!0,isOnChange:!!m,label:"FAQ Answer",field:"",id:"",suffix:Ye.jsx(F,{title:"How to buy a application",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),1!==(null==e?void 0:e.length)&&Ye.jsx(de,{style:{color:"#FF4D4F",fontSize:"20px",padding:"10px",alignContent:"center"},onClick:()=>n(t.name)})]},t.key))),Ye.jsx(I.Item,{children:Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(C,{style:{color:"white",backgroundColor:"#37943C",borderRadius:50,fontSize:"20px"},onClick:()=>t()})})})]})})})]})}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(Ry,{type:"submit",buttonText:"SAVE",icon:Ye.jsx(k,{})})})]})})}),Ye.jsx(j,{centered:!0,open:c,onOk:()=>u(!1),onCancel:()=>u(!1),width:"1500",children:Ye.jsx(eR,{data:n})})]})},p6=()=>{const e=a.useRef(null),t=um(),n=Tf($_),[i,r]=a.useState(!1),[s,l]=a.useState(!1),[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState(!1),[h,f]=a.useState(),[m,v]=a.useState(),[g,y]=a.useState(),[x,b]=a.useState(),[w,S]=a.useState(),[N,T]=a.useState([{fieldName:""}]),[E,D]=a.useState([[{footerList:"",footerSublist:""}]]),L=a.useCallback((()=>{u(null),d(null)}),[]),U=()=>{(null==n?void 0:n.length)>0?((()=>{let e=n.filter((e=>{var t,n,i;return(null==(t=null==e?void 0:e.FieldName)?void 0:t.includes("Header"))&&!((null==(n=null==e?void 0:e.FieldName)?void 0:n.includes("Footer"))||(null==(i=null==e?void 0:e.FieldName)?void 0:i.includes("Social")))})).map((e=>({fieldName:null==e?void 0:e.FieldValue}))),t=e.map(((e,t)=>n.filter((e=>{var n;return e.FieldName.includes(`Header${t+1}`)&&(null==(n=null==e?void 0:e.FieldName)?void 0:n.includes("Footer"))})).map((e=>({footerList:null==e?void 0:e.FieldValue,footerSublist:null==e?void 0:e.FieldAddData})))));e.length>0&&T(e),t.length>0&&D(t),null==n||n.map((e=>{"FacebookLink1"==e.FieldName&&f(e.FieldValue),"YoutubeLink1"===e.FieldName&&v(e.FieldValue),"InstagramLink1"==e.FieldName&&b(e.FieldValue),"TwiterLink1"==e.FieldName&&y(e.FieldValue),"HeaderSocial1"==e.FieldName&&S(e.FieldValue)}))})(),A(!0),null==n||n.map(((e,t)=>{}))):A(!1),r(!0)};return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:o,messageData:c,onComplete:L}),Ye.jsx(YM,{}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>U()}),Ye.jsx(ce,{onClick:()=>{n.length>0&&n.filter((e=>!e.FieldName.includes("Sub"))).length>0?l(!0):(u("Please add a footer data to open the preview"),d("warning"))}})]}),Ye.jsx(j,{centered:!0,open:i,onOk:()=>r(!1),onCancel:()=>r(!1),children:Ye.jsxs(I,{ref:e,onFinish:async e=>{var n,i;const a=e=>""===e||null==e,s=!(null==(i=null==(n=null==e?void 0:e.TitleNames)?void 0:n.items)?void 0:i.some((e=>{var t;return!!(null==e?void 0:e.fieldName)&&(null==(t=null==e?void 0:e.Items)?void 0:t.some((e=>!a(null==e?void 0:e.footerList)||!a(null==e?void 0:e.footerSublist))))}))),l=a(e.socialTitle)&&a(e.FacebookLink)&&a(e.youtubeLink)&&a(e.instagramLink)&&a(e.twiterLink);if(s&&l)return u("All fields are empty. Please fill out the form."),void d("error");let o=[];e.TitleNames.items.map(((e,t)=>{o.push({FieldName:`Header${t+1}`,FieldValue:e.fieldName,FieldAddData:""}),e.Items.map(((e,n)=>{o.push({FieldName:`Header${t+1}Footer${n+1}`,FieldValue:e.footerList,FieldAddData:e.footerSublist})}))})),o.push({FieldName:"HeaderSocial1",FieldValue:e.socialTitle,FieldAddData:""},{FieldName:"FacebookLink1",FieldValue:e.FacebookLink,FieldAddData:""},{FieldName:"YoutubeLink1",FieldValue:e.youtubeLink,FieldAddData:""},{FieldName:"InstagramLink1",FieldValue:e.instagramLink,FieldAddData:""},{FieldName:"TwiterLink1",FieldValue:e.twiterLink,FieldAddData:""}),await t(w_(o)),u("Data Added Successfully"),d("success"),r(!1)},children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"1rem",flexWrap:"wrap"},className:"footerForm",children:[Ye.jsx("div",{style:{display:"flex",flexDirection:"row",gap:"2rem",flexWrap:"wrap"},children:Ye.jsx(I.List,{name:["TitleNames","items"],initialValue:N,children:(e,{add:t,remove:n})=>Ye.jsx(Ye.Fragment,{children:e.map((({key:i,name:a})=>Ye.jsxs(P,{style:{display:"flex"},align:"baseline",children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"row"},children:[Ye.jsx(I.Item,{name:[a,"fieldName"],rules:[{message:"Please Enter Footer Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{name:`${a}.footerTitle`,fieldState:!0,isOnChange:!!p,label:"Footer Title",autocomplete:"off",suffix:Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(F,{title:"Eg.Explore(Title)",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})}),Ye.jsx(C,{onClick:()=>t()})]})})}),Ye.jsx("div",{style:{margin:"1rem 1rem"},children:e.length>1&&Ye.jsx(de,{onClick:()=>n(a)})})]}),Ye.jsx(I.List,{name:[a,"Items"],initialValue:E[i]?E[i]:[{footerList:"",footerSublist:""}],children:(e,{add:t,remove:n})=>Ye.jsx(Ye.Fragment,{children:e.map((({key:i,name:a})=>Ye.jsxs(P,{style:{display:"flex"},align:"baseline",children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"row"},children:[Ye.jsx(I.Item,{name:[a,"footerList"],fieldKey:[a,"footerList"],rules:[{message:"Please Enter Footer List"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{name:`${a}.footerList`,fieldState:!0,isOnChange:!!p,label:"Footer List",autocomplete:"off",suffix:Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(F,{title:"Eg.What is POZO ?(List of Titles)",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})}),Ye.jsx(C,{onClick:()=>t()})]})})}),Ye.jsx("div",{style:{margin:"1rem 1rem"},children:e.length>1&&Ye.jsx(de,{onClick:()=>n(a)})})]}),Ye.jsx(I.Item,{name:[a,"footerSublist"],fieldKey:[a,"footerSublist"],rules:[{message:"Please Enter Footer Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{name:`${a}.footerSublist`,fieldState:!0,isOnChange:!!p,label:"Footer Link",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.Want Access(List of Titles)",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]},i)))})})]},i)))})})}),Ye.jsxs("div",{children:[Ye.jsx(I.Item,{name:"socialTitle",initialValue:w,rules:[{message:"Please Enter Footer Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,isOnChange:!!p,label:"Footer Title",autocomplete:"off",suffix:Ye.jsx(F,{title:"Join the conversation(Social media's)",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsxs("div",{style:{display:"flex",flexWrap:"wrap",flexDirection:"column",gap:"0.5rem"},children:[Ye.jsxs("div",{style:{display:"flex",flexWrap:"wrap",flexDirection:"row",gap:"1rem"},children:[Ye.jsx(I.Item,{name:"FacebookLink",initialValue:h,rules:[{message:"Please Enter Facebook Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,isOnChange:!!p,label:"Facebook Link",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.Facebook(https://www.facebook.com/ )",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx(I.Item,{name:"youtubeLink",initialValue:m,rules:[{message:"Please Enter YouTube Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,isOnChange:!!p,label:"YouTube Link",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.YouTube( https://www.youtube.com/ )",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]}),Ye.jsxs("div",{style:{display:"flex",flexWrap:"wrap",flexDirection:"row",gap:"1rem"},children:[Ye.jsx(I.Item,{name:"instagramLink",initialValue:x,rules:[{message:"Please Enter Instagram Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,isOnChange:!!p,label:"Instagram Link",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.Instagram( https://www.instagram.com/ )",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx(I.Item,{name:"twiterLink",initialValue:g,rules:[{message:"Please Enter Twiter Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,isOnChange:!!p,label:"Twiter Link",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.Twitter( https://twitter.com/ )",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]})]})]})]}),Ye.jsx("div",{style:{float:"right"},children:Ye.jsx(Ry,{type:"submit",buttonText:"SAVE",icon:Ye.jsx(k,{})})})]})}),Ye.jsx(j,{destroyOnClose:!0,centered:!0,open:s,onOk:()=>l(!1),onCancel:()=>l(!1),width:1300,children:Ye.jsx("div",{className:"pointerModal",children:Ye.jsx(YM,{data:n})})})]})},A6=()=>{const e=a.useRef(null),t=Tf($_),n=um(),[i,r]=a.useState(!1),[s,l]=a.useState(!1),[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState(!1),[h,f]=a.useState(),[m,v]=a.useState(),[g,y]=a.useState(),[x,b]=a.useState(),[w,S]=a.useState([{fieldName:""}]),[N,T]=a.useState([[{footerList:"",footerSublist:""}]]),E=a.useCallback((()=>{u(null),d(null)}),[]);const D=()=>{(null==t?void 0:t.length)>0?((()=>{let e=t.filter((e=>{var t,n,i;return(null==(t=null==e?void 0:e.FieldName)?void 0:t.includes("Header"))&&!((null==(n=null==e?void 0:e.FieldName)?void 0:n.includes("Footer"))||(null==(i=null==e?void 0:e.FieldName)?void 0:i.includes("Social")))})).map((e=>({fieldName:null==e?void 0:e.FieldValue}))),n=e.map(((e,n)=>t.filter((e=>{var t;return e.FieldName.includes(`Header${n+1}`)&&(null==(t=null==e?void 0:e.FieldName)?void 0:t.includes("Footer"))})).map((e=>({footerList:null==e?void 0:e.FieldValue,footerSublist:null==e?void 0:e.FieldAddData})))));e.length>0&&S(e),n.length>0&&T(n),null==t||t.map((e=>{"FacebookLink1"==e.FieldName&&f(e.FieldValue),"YoutubeLink1"===e.FieldName&&v(e.FieldValue),"InstagramLink1"==e.FieldName&&b(e.FieldValue),"TwiterLink1"==e.FieldName&&y(e.FieldValue)}))})(),A(!0),null==t||t.map(((e,t)=>{}))):A(!1),r(!0)};return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:o,messageData:c,onComplete:E}),Ye.jsx(OM,{}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>D()}),Ye.jsx(ce,{onClick:()=>{t.length>0&&t.filter((e=>e.FieldName.includes("Sub"))).length>0?l(!0):(u("Please Add Data"),d("warning"))}})]}),Ye.jsx(j,{centered:!0,open:i,onOk:()=>r(!1),onCancel:()=>r(!1),children:Ye.jsxs(I,{ref:e,onFinish:async e=>{var t,i;const a=e=>""===e||null==e,s=!(null==(i=null==(t=null==e?void 0:e.TitleNames)?void 0:t.items)?void 0:i.some((e=>{var t;return!!(null==e?void 0:e.fieldName)&&(null==(t=null==e?void 0:e.Items)?void 0:t.some((e=>!a(null==e?void 0:e.footerList)||!a(null==e?void 0:e.footerSublist))))}))),l=a(e.facbookLink)&&a(e.youtubeLink)&&a(e.instagramLink)&&a(e.twiterLink);if(s&&l)return u("All fields are empty. Please fill out the form."),void d("error");let o=[];e.TitleNames.items.map(((e,t)=>{o.push({FieldName:`HeaderSub${t+1}`,FieldValue:e.fieldName,FieldAddData:""}),e.Items.map(((e,n)=>{o.push({FieldName:`HeaderSub${t+1}FooterSub${n+1}`,FieldValue:e.footerList,FieldAddData:e.footerSublist})}))})),o.push({FieldName:"FaceBookLinkSub",FieldValue:e.facbookLink,FieldAddData:""},{FieldName:"YoutubeLinkSub",FieldValue:e.youtubeLink,FieldAddData:""},{FieldName:"InstagramLinkSub",FieldValue:e.instagramLink,FieldAddData:""},{FieldName:"TwiterLinkSub",FieldValue:e.twiterLink,FieldAddData:""}),await n(w_(o)),u("Data Added Successfully"),d("success"),r(!1)},children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"1rem",flexWrap:"wrap"},className:"footerForm",children:[Ye.jsx("div",{style:{display:"flex",flexDirection:"row",gap:"2rem",flexWrap:"wrap"},children:Ye.jsx(I.List,{name:["TitleNames","items"],initialValue:w,children:(e,{add:t,remove:n})=>Ye.jsx(Ye.Fragment,{children:e.map((({key:i,name:a})=>Ye.jsxs(P,{style:{display:"flex"},align:"baseline",children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"row"},children:[Ye.jsx(I.Item,{name:[a,"fieldName"],rules:[{message:"Please Enter Footer Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{name:`${a}.footerTitle`,fieldState:!0,isOnChange:!!p,label:"Footer Title",autocomplete:"off",suffix:Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(F,{title:"Eg.Explore(Title)",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})}),Ye.jsx(C,{onClick:()=>t()})]})})}),Ye.jsx("div",{style:{margin:"1rem 1rem"},children:e.length>1&&Ye.jsx(de,{onClick:()=>n(a)})})]}),Ye.jsx(I.List,{name:[a,"Items"],initialValue:N[i]?N[i]:[{footerList:"",footerSublist:""}],children:(e,{add:t,remove:n})=>Ye.jsx(Ye.Fragment,{children:e.map((({key:i,name:a})=>Ye.jsxs(P,{style:{display:"flex"},align:"baseline",children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"row"},children:[Ye.jsx(I.Item,{name:[a,"footerList"],fieldKey:[a,"footerList"],rules:[{message:"Please Enter Footer List"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{name:`${a}.footerList`,fieldState:!0,isOnChange:!!p,label:"Footer List",autocomplete:"off",suffix:Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(F,{title:"Eg.What is Pozo ?(List of Titles)",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})}),Ye.jsx(C,{onClick:()=>t()})]})})}),Ye.jsx("div",{style:{margin:"1rem 1rem"},children:e.length>1&&Ye.jsx(de,{onClick:()=>n(a)})})]}),Ye.jsx(I.Item,{name:[a,"footerSublist"],fieldKey:[a,"footerSublist"],rules:[{message:"Please Enter Footer Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{name:`${a}.footerSublist`,fieldState:!0,isOnChange:!!p,label:"Footer Link",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.Want Access(List of Titles)",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]},i)))})})]},i)))})})}),Ye.jsx("div",{children:Ye.jsxs("div",{style:{display:"flex",flexWrap:"wrap",flexDirection:"column",gap:"0.5rem"},children:[Ye.jsxs("div",{style:{display:"flex",flexWrap:"wrap",flexDirection:"row",gap:"1rem"},children:[Ye.jsx(I.Item,{initialValue:h,name:"facbookLink",rules:[{message:"Please Enter Whatsup Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,isOnChange:!!p,label:"Facebook Link",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.Facebook( https://www.facebook.com/ )",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx(I.Item,{name:"youtubeLink",initialValue:m,rules:[{message:"Please Enter YouTube Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,isOnChange:!!p,label:"YouTube Link",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.YouTube( https://www.youtube.com/ )",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]}),Ye.jsxs("div",{style:{display:"flex",flexWrap:"wrap",flexDirection:"row",gap:"1rem"},children:[Ye.jsx(I.Item,{name:"instagramLink",initialValue:x,rules:[{message:"Please Enter Instagram Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,isOnChange:!!p,label:"Instagram Link",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.Instagram( https://www.instagram.com/ )",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx(I.Item,{name:"twiterLink",initialValue:g,rules:[{message:"Please Enter Twiter Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,isOnChange:!!p,label:"Twitter Link",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.Twitter( https://twitter.com/ )",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]})]})})]}),Ye.jsx("div",{style:{float:"right"},children:Ye.jsx(Ry,{type:"submit",buttonText:"SAVE",icon:Ye.jsx(k,{})})})]})}),Ye.jsx(j,{destroyOnClose:!0,centered:!0,open:s,onOk:()=>l(!1),onCancel:()=>l(!1),width:1e3,children:Ye.jsx("div",{className:"pointerModal",children:Ye.jsx(OM,{data:t})})})]})},h6=e=>{const t=Tf(L_),[n,i]=a.useState({body:{backgroundcolor:"#f3f3f3",buttonActivebackgroundColor:"#F97068",buttonbgColor:"#D9D9D9",contColor:"#CCCCCC",textColor:"#333",tmpbtnheight:"10px",activetmpbtnheight:"20px",fontSize:"16px",fontFamily:"Poppins",display:"flex",flexWrap:"wrap",textAlign:"left",flexDirection:"row",columnGap:"2rem",margin:"0px 0px"},footer:{fontSize:"16px",fontFamily:"Poppins",padding:"3rem 1rem"}}),r=e.hasOwnProperty("data")?e.data:[{FieldName:"Header1",FieldValue:"",FieldAddData:""},{FieldName:"Header1Footer1",FieldValue:"",FieldAddData:""},{FieldName:"Header1Footer2",FieldValue:"",FieldAddData:""},{FieldName:"Header1Footer3",FieldValue:"",FieldAddData:""},{FieldName:"Header2",FieldValue:"",FieldAddData:""},{FieldName:"Header2Footer1",FieldValue:"",FieldAddData:""},{FieldName:"Header2Footer2",FieldValue:"",FieldAddData:""},{FieldName:"Header2Footer3",FieldValue:"",FieldAddData:""},{FieldName:"Header3",FieldValue:"",FieldAddData:""},{FieldName:"Header3Footer1",FieldValue:"",FieldAddData:""},{FieldName:"Header3Footer2",FieldValue:"",FieldAddData:""},{FieldName:"Header3Footer3",FieldValue:"",FieldAddData:""}];Tf(L_);const[s,l]=a.useState(),[o,d]=a.useState(),[c,u]=a.useState(),[p,A]=a.useState(),h=Tf(D_);a.useEffect((()=>{var t;null==(t=null==e?void 0:e.data)||t.map((e=>{"FaceBookLinkSub"==e.FieldName&&l(e.FieldValue),"YoutubeLinkSub"===e.FieldName&&d(e.FieldValue),"InstagramLinkSub"==e.FieldName&&u(e.FieldValue),"TwiterLinkSub"==e.FieldName&&A(e.FieldValue)}),[])}),[e.data]);return Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:e.hasOwnProperty("data")?"maindiv":"maindivempdata",children:Ye.jsxs("footer",{className:"footer-section",children:[Ye.jsxs("div",{className:"footer-main",children:[Ye.jsxs("div",{className:"footer-brand-col",children:[Ye.jsx("div",{className:"footer-logo-row",children:Ye.jsx("span",{className:"footer-logo",children:Ye.jsx("img",{src:Bm,alt:"POZO LOGO"})})}),Ye.jsx("p",{style:{fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},className:"footer-desc",children:"Modern POS solution for restaurants of all sizes. Streamline operations, boost sales, and delight customers."}),Ye.jsxs("div",{className:"footer-socials",children:[Ye.jsx("a",{href:"#",className:"footer-social",children:Ye.jsx(km,{})}),Ye.jsx("a",{href:"#",className:"footer-social",children:Ye.jsx(Lm,{})}),Ye.jsx("a",{href:"#",className:"footer-social",children:Ye.jsx(Tm,{})}),Ye.jsx("a",{href:"#",className:"footer-social",children:Ye.jsx(Em,{})})]})]}),Ye.jsxs("div",{style:n.body,children:[(()=>{let e=r.filter((e=>e.FieldName.includes("Header")&&!e.FieldName.includes("Footer")));return a.useEffect((()=>{t.head,t.para&&a5.load({google:{families:[t.head,t.para]}})}),[t.head,t.para]),Ye.jsx(Ye.Fragment,{children:e.map((e=>{var n;return Ye.jsxs("div",{style:{display:"flex","flex-direction":"column",rowGap:"0.5rem"},children:[Ye.jsx("p",{className:(null==(n=e.FieldValue)?void 0:n.length)>0?"ftrtmplthdr":"ftrtmplthdrWithoutData",style:{fontFamily:(null==t?void 0:t.head)?null==t?void 0:t.head:""},children:0==e.FieldValue.length?" ":e.FieldValue}),r.filter((t=>t.FieldName.includes(e.FieldName)&&t.FieldName.includes("Footer"))).map((e=>{var n,i;return Ye.jsx("div",{className:(null==(n=e.FieldValue)?void 0:n.length)>0?"footer-links-list":"ftrtmpltlistwithoutData",children:Ye.jsx(An,{className:(null==(i=e.FieldAddData)?void 0:i.length)>0?"ftrlink":"ftrlinkwithOutData",to:e.FieldAddData,style:{fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},children:e.FieldValue})})}))]})}))})})()," "]}),Ye.jsxs("div",{className:"footer-links-col",children:[Ye.jsx("h3",{style:{fontFamily:(null==t?void 0:t.head)?null==t?void 0:t.head:""},className:"footer-links-title",children:"Resources"}),Ye.jsxs("ul",{className:"footer-links-list",children:[Ye.jsx("li",{children:Ye.jsx("a",{style:{fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},href:"#",children:"Blog"})}),Ye.jsx("li",{children:Ye.jsx("a",{style:{fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},href:"#",children:"Documentation"})}),Ye.jsx("li",{children:Ye.jsx("a",{style:{fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},href:"#",children:"Support Center"})}),Ye.jsx("li",{children:Ye.jsx("a",{style:{fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},href:"#faq",children:"FAQ"})}),Ye.jsx("li",{children:Ye.jsx("a",{style:{fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},href:"#",children:"Community"})})]})]}),Ye.jsxs("div",{className:"footer-links-col",children:[Ye.jsx("h3",{style:{fontFamily:(null==t?void 0:t.head)?null==t?void 0:t.head:""},className:"footer-links-title",children:"Contact"}),Ye.jsxs("ul",{className:"footer-contact-list",children:[Ye.jsxs("li",{style:{fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},children:[Ye.jsx(uv,{className:"footer-contact-icon"})," support@pozoapp.com"]}),Ye.jsxs("li",{style:{fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},children:[Ye.jsx(Nv,{className:"footer-contact-icon"})," 73 24 00 00 11"]})]}),Ye.jsx("button",{className:"footer-contact-btn",style:{backgroundColor:h.darkColor?h.darkColor:"#000",color:"#fff",fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},children:"Contact Sales"})]})]}),Ye.jsxs("div",{className:"footer-bottom",children:[Ye.jsx("p",{style:{fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},className:"footer-copy",children:"© 2025 PozoApp. All rights reserved."}),Ye.jsxs("div",{className:"footer-bottom-links",children:[Ye.jsx("a",{style:{fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},href:"#",children:"Privacy Policy"}),Ye.jsx("a",{style:{fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},href:"#",children:"Terms of Service"}),Ye.jsx("a",{style:{fontFamily:(null==t?void 0:t.para)?null==t?void 0:t.para:""},href:"#",children:"Cookies"})]})]})]})})})},f6=Object.freeze(Object.defineProperty({__proto__:null,default:h6},Symbol.toStringTag,{value:"Module"})),m6=()=>{const e=a.useRef(null),t=Tf($_),n=um(),[i,r]=a.useState(!1),[s,l]=a.useState(!1),[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState(!1),[h,f]=a.useState(),[m,v]=a.useState(),[g,y]=a.useState(),[x,b]=a.useState(),[w,S]=a.useState([{fieldName:""}]),[N,T]=a.useState([[{footerList:"",footerSublist:""}]]),E=a.useCallback((()=>{u(null),d(null)}),[]);const D=()=>{(null==t?void 0:t.length)>0?((()=>{let e=t.filter((e=>{var t,n,i;return(null==(t=null==e?void 0:e.FieldName)?void 0:t.includes("Header"))&&!((null==(n=null==e?void 0:e.FieldName)?void 0:n.includes("Footer"))||(null==(i=null==e?void 0:e.FieldName)?void 0:i.includes("Social")))})).map((e=>({fieldName:null==e?void 0:e.FieldValue}))),n=e.map(((e,n)=>t.filter((e=>{var t;return e.FieldName.includes(`Header${n+1}`)&&(null==(t=null==e?void 0:e.FieldName)?void 0:t.includes("Footer"))})).map((e=>({footerList:null==e?void 0:e.FieldValue,footerSublist:null==e?void 0:e.FieldAddData})))));e.length>0&&S(e),n.length>0&&T(n),null==t||t.map((e=>{"FacebookLink1"==e.FieldName&&f(e.FieldValue),"YoutubeLink1"===e.FieldName&&v(e.FieldValue),"InstagramLink1"==e.FieldName&&b(e.FieldValue),"TwiterLink1"==e.FieldName&&y(e.FieldValue)}))})(),A(!0),null==t||t.map(((e,t)=>{}))):A(!1),r(!0)};return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:o,messageData:c,onComplete:E}),Ye.jsx(h6,{}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>D()}),Ye.jsx(ce,{onClick:()=>{t.length>0&&t.filter((e=>e.FieldName.includes("Sub"))).length>0?l(!0):(u("Please Add Data"),d("warning"))}})]}),Ye.jsx(j,{centered:!0,open:i,onOk:()=>r(!1),onCancel:()=>r(!1),children:Ye.jsxs(I,{ref:e,onFinish:async e=>{var t,i;const a=e=>""===e||null==e,s=!(null==(i=null==(t=null==e?void 0:e.TitleNames)?void 0:t.items)?void 0:i.some((e=>{var t;return!!(null==e?void 0:e.fieldName)&&(null==(t=null==e?void 0:e.Items)?void 0:t.some((e=>!a(null==e?void 0:e.footerList))))}))),l=a(e.facbookLink)&&a(e.youtubeLink)&&a(e.instagramLink)&&a(e.twiterLink);if(s&&l)return u("All fields are empty. Please fill out the form."),void d("error");let o=[];e.TitleNames.items.map(((e,t)=>{o.push({FieldName:`HeaderSub${t+1}`,FieldValue:e.fieldName,FieldAddData:""}),e.Items.map(((e,n)=>{o.push({FieldName:`HeaderSub${t+1}FooterSub${n+1}`,FieldValue:e.footerList,FieldAddData:""})}))})),o.push({FieldName:"FaceBookLinkSub",FieldValue:e.facbookLink,FieldAddData:""},{FieldName:"YoutubeLinkSub",FieldValue:e.youtubeLink,FieldAddData:""},{FieldName:"InstagramLinkSub",FieldValue:e.instagramLink,FieldAddData:""},{FieldName:"TwiterLinkSub",FieldValue:e.twiterLink,FieldAddData:""}),await n(w_(o)),u("Data Added Successfully"),d("success"),r(!1)},children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"1rem",flexWrap:"wrap"},className:"footerForm",children:[Ye.jsx("div",{style:{display:"flex",flexDirection:"row",gap:"2rem",flexWrap:"wrap"},children:Ye.jsx(I.List,{name:["TitleNames","items"],initialValue:w,children:(e,{add:t,remove:n})=>Ye.jsx(Ye.Fragment,{children:e.map((({key:i,name:a})=>Ye.jsxs(P,{style:{display:"flex"},align:"baseline",children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"row"},children:[Ye.jsx(I.Item,{name:[a,"fieldName"],rules:[{message:"Please Enter Footer Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{name:`${a}.footerTitle`,fieldState:!0,isOnChange:!!p,label:"Footer Title",autocomplete:"off",suffix:Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(F,{title:"Eg.Explore(Title)",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})}),Ye.jsx(C,{onClick:()=>t()})]})})}),Ye.jsx("div",{style:{margin:"1rem 1rem"},children:e.length>1&&Ye.jsx(de,{onClick:()=>n(a)})})]}),Ye.jsx(I.List,{name:[a,"Items"],initialValue:N[i]?N[i]:[{footerList:"",footerSublist:""}],children:(e,{add:t,remove:n})=>Ye.jsx(Ye.Fragment,{children:e.map((({key:i,name:a})=>Ye.jsxs(P,{style:{display:"flex"},align:"baseline",children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"row"},children:[Ye.jsx(I.Item,{name:[a,"footerList"],fieldKey:[a,"footerList"],rules:[{message:"Please Enter Footer List"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{name:`${a}.footerList`,fieldState:!0,isOnChange:!!p,label:"Footer List",autocomplete:"off",suffix:Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(F,{title:"Eg.What is Pozo ?(List of Titles)",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})}),Ye.jsx(C,{onClick:()=>t()})]})})}),Ye.jsx("div",{style:{margin:"1rem 1rem"},children:e.length>1&&Ye.jsx(de,{onClick:()=>n(a)})})]}),Ye.jsx(I.Item,{name:[a,"footerSublist"],fieldKey:[a,"footerSublist"],rules:[{message:"Please Enter Footer Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{name:`${a}.footerSublist`,fieldState:!0,isOnChange:!!p,label:"Footer Link",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.Want Access(List of Titles)",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]},i)))})})]},i)))})})}),Ye.jsx("div",{children:Ye.jsxs("div",{style:{display:"flex",flexWrap:"wrap",flexDirection:"column",gap:"0.5rem"},children:[Ye.jsxs("div",{style:{display:"flex",flexWrap:"wrap",flexDirection:"row",gap:"1rem"},children:[Ye.jsx(I.Item,{initialValue:h,name:"facbookLink",rules:[{message:"Please Enter Whatsup Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,isOnChange:!!p,label:"Facebook Link",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.Facebook( https://www.facebook.com/ )",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx(I.Item,{name:"youtubeLink",initialValue:m,rules:[{message:"Please Enter YouTube Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,isOnChange:!!p,label:"YouTube Link",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.YouTube( https://www.youtube.com/ )",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]}),Ye.jsxs("div",{style:{display:"flex",flexWrap:"wrap",flexDirection:"row",gap:"1rem"},children:[Ye.jsx(I.Item,{name:"instagramLink",initialValue:x,rules:[{message:"Please Enter Instagram Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,isOnChange:!!p,label:"Instagram Link",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.Instagram( https://www.instagram.com/ )",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx(I.Item,{name:"twiterLink",initialValue:g,rules:[{message:"Please Enter Twiter Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,isOnChange:!!p,label:"Twitter Link",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.Twitter( https://twitter.com/ )",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]})]})})]}),Ye.jsx("div",{style:{float:"right"},children:Ye.jsx(Ry,{type:"submit",buttonText:"SAVE",icon:Ye.jsx(k,{})})})]})}),Ye.jsx(j,{destroyOnClose:!0,centered:!0,open:s,onOk:()=>l(!1),onCancel:()=>l(!1),width:1e3,children:Ye.jsx("div",{className:"pointerModal",children:Ye.jsx(h6,{data:t})})})]})},v6=e=>{const[t,n]=a.useState(!1),[i,r]=a.useState(!1),[s,l]=a.useState(!1),o=Tf(L_),d=(e,t)=>{l(t),r(e),n(!0)};a.useEffect((()=>{LU.init({duration:1e3})}),[]);const c=e.hasOwnProperty("data")?null==e?void 0:e.data:[{FieldName:"Feature1Link",FieldValue:"",FieldAddData:""},{FieldName:"Feature1subName1",FieldValue:"",FieldAddData:""},{FieldName:"Feature1Image",FieldValue:"",FieldAddData:""}];const u=function(e){let t=0;for(const n of e)n.FieldName.includes("subName1")&&t++;return t}(c),[p,A]=a.useState(!1);return a.useEffect((()=>{null==o||o.head,(null==o?void 0:o.para)&&a5.load({google:{families:[null==o?void 0:o.head,null==o?void 0:o.para]}})}),[null==o?void 0:o.head,null==o?void 0:o.para]),Ye.jsxs("div",{className:e.hasOwnProperty("data")?"features3Body":"features3Body feature3SingleGrid",id:"features",children:[(()=>{var e,t,n,i;a.useEffect((()=>{LU.init({duration:1e3})}),[]);let r={};null==c||c.map((e=>{r[e.FieldName]=e.FieldValue}));let s=[];for(let a=1;a<=u;a++)s.push(Ye.jsx("div",{className:"feature3Card",children:Ye.jsxs("div",{style:{display:"flex",columnGap:"1rem",flexDirection:"column",rowGap:"1rem"},children:[Ye.jsx("img",{style:{borderRadius:"10px",width:"4rem",height:"4rem"},src:(null==(e=r[`Feature${a}Image`])?void 0:e.length)>0?r[`Feature${a}Image`]:GM,alt:"feature Image",width:"100%",height:"100%"}),Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",rowGap:"1rem"},children:[Ye.jsx("p",{className:(null==(t=r[`Feature${a}Link`])?void 0:t.length)>0?"feature3Des":"feature3EmptyBox feature3DesEmpty",style:{fontSize:"22px",fontFamily:(null==o?void 0:o.para)?null==o?void 0:o.para:""},children:r[`Feature${a}Link`]??""}),Ye.jsxs("p",{className:(null==(n=r[`Feature${a}subName1`])?void 0:n.length)>0?"feature3Des":"feature3EmptyBox",style:{fontSize:"14px",textTransform:"capitalize",fontFamily:(null==o?void 0:o.para)?null==o?void 0:o.para:"",height:r[`Feature${a}subName1`]&&"5rem",overflow:"hidden"},children:[p?r[`Feature${a}subName1`]??"":(null==(i=r[`Feature${a}subName1`]??"")?void 0:i.slice(0,100))+"..."," ",r[`Feature${a}subName1`]&&Ye.jsx("span",{style:{cursor:"pointer",color:"#1292EE"},onClick:()=>d(r[`Feature${a}subName1`],r[`Feature${a}Link`]),children:"more"})]})]})]})},a));return s})(),Ye.jsx(SP,{title:s,open:t,width:800,children:Ye.jsx("div",{className:"",children:Ye.jsx("p",{children:i})}),handleCancel:()=>{n(!1)}})]})},g6=Object.freeze(Object.defineProperty({__proto__:null,default:v6},Symbol.toStringTag,{value:"Module"})),y6=e=>{const t=um(),n=Tf(G_),i=Tf(L_),r=a.useRef(),[s,l]=a.useState(1),[o,d]=a.useState({});a.useEffect((()=>{var t,i,a,s,o,c,u,p,A,h;if((null==n?void 0:n.length)>0&&!0===(null==e?void 0:e.ModelOpen)){var f=n.filter((e=>e.FieldName.includes("Link"))),m=n.filter((e=>e.FieldName.includes("subName1")));l(f.length);for(let e=0;e<(null==f?void 0:f.length)+1;e++)null==(i=null==r?void 0:r.current)||i.setFieldsValue({[`Feature${e}Link`]:null==(t=f[e-1])?void 0:t.FieldValue}),null==(s=null==r?void 0:r.current)||s.setFieldsValue({[`Feature${e}subName1`]:null==(a=m[e-1])?void 0:a.FieldValue});var v=null==n?void 0:n.filter(((e,t)=>e.FieldName.includes("Image")));for(let e=0;e<(null==v?void 0:v.length);e+=3){const t=[`Feature${Math.round(e)}Image`];(null==(o=v[e])?void 0:o.FieldName)===t[0]&&(null==(c=v[e])||c.FieldValue),(null==(u=v[e+1])?void 0:u.FieldName)===t[1]&&(null==(p=v[e+1])||p.FieldValue),(null==(A=v[e+2])?void 0:A.FieldName)===t[2]&&(null==(h=v[e+2])||h.FieldValue)}d(v)}}),[n,e]),a.useEffect((()=>{i.head,i.para&&a5.load({google:{families:[i.head,i.para]}})}),[i.head,i.para]);const c=(e,t)=>{let n={...o};void 0!==n[e]?n[e].FieldValue=t:n[e]={FieldName:e,FieldValue:t,FieldAddData:""},d(n)},u=e=>{var t;let n={...o},i=r.current.getFieldsValue();delete n[e-1],delete i[`Feature${e}subName1`],delete i[`Feature${e}Link`],d(n),l(s-1),null==(t=null==r?void 0:r.current)||t.resetFields(),r.current.setFieldsValue(i)};return Ye.jsx("div",{children:Ye.jsxs(I,{ref:r,onFinish:async n=>{var i,a;let r=[],s=Object.values(n),l=Object.keys(n);for(let e=0;e<l.length;e++)r.push({FieldName:l[e],FieldValue:s[e],FieldAddData:""});s=Object.values(o),l=Object.values(o);for(let e=0;e<l.length;e++)r.push({FieldName:null==(i=l[e])?void 0:i.FieldName,FieldValue:null==(a=s[e])?void 0:a.FieldValue,FieldAddData:""});await t(b_({featureList:r.filter((e=>void 0!==e.FieldValue))})),e.hasOwnProperty("closeForm")&&e.closeForm()},initialValues:"",children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"1rem"},children:[" ",(()=>{var e,t,n,i;let a=[];for(let d=1;d<=s;d++)a.push(Ye.jsxs("div",{style:{display:"flex",gap:"1rem",alignItems:"center"},children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"1rem"},children:[Ye.jsxs("p",{style:{fontWeight:"bolder"},children:["Feature - ",d," ",1==d?Ye.jsx(C,{onClick:()=>l(s+1)}):Ye.jsx(de,{onClick:()=>u(d)})]}),Ye.jsx(Yy,{singleImage:!0,updateImageUrl:e=>c(`Feature${d}Image`,e),ImageLink:null==(e=null==o?void 0:o[d-1])?void 0:e.FieldValue})]}),Ye.jsx(I.Item,{name:`Feature${d}Link`,rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Feature1Link",autoComplete:"off",label:"Heading",fieldState:!0,fieldApi:!0,isOnChange:null!=(null==(t=null==r?void 0:r.current)?void 0:t.getFieldValue([`Feature${d}Link`])),suffix:Ye.jsx(F,{title:`Create 2x speed fast bill send e-bill via Whatsapp & SMS\n ${d}`,children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsxs("div",{className:"formSubDiv",children:[Ye.jsx("div",{style:{display:"none"},children:Ye.jsx(Yy,{singleImage:!0,updateImageUrl:e=>c(`Feature${d}subImage1`,e),ImageLink:o[`Feature${d}subImage1`]?o[`Feature${d}subImage1`]:""})}),Ye.jsx(I.Item,{name:`Feature${d}subName1`,rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Feature1Link",autoComplete:"off",label:"Description",fieldState:!0,fieldApi:!0,isOnChange:null!=(null==(n=null==r?void 0:r.current)?void 0:n.getFieldValue([`Feature${d}subName1`])),suffix:Ye.jsx(F,{title:`Message Data\n ${d}`,children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]}),Ye.jsxs("div",{className:"formSubDiv",style:{display:"none"},children:[Ye.jsx(Yy,{singleImage:!0,updateImageUrl:e=>c(`Feature${d}subImage2`,e),ImageLink:o[`Feature${d}subImage2`]?o[`Feature${d}subImage2`]:""}),Ye.jsx(I.Item,{name:`Feature${d}subName2`,rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Feature1Link",autoComplete:"off",label:"Image Description",fieldState:!0,fieldApi:!0,isOnChange:null!=(null==(i=null==r?void 0:r.current)?void 0:i.getFieldValue([`Feature${d}subName2`])),suffix:Ye.jsx(F,{title:`Buying Data\n ${d}`,children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]})]}));return a})()]}),Ye.jsx("div",{className:"featureButton",children:Ye.jsx(Ry,{buttonText:"SAVE",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0})})]})})},x6=()=>{const[e,t]=a.useState(!1),[n,i]=a.useState(!1),[r,s]=a.useState(null),[l,o]=a.useState(null),d=Tf(G_),c=a.useCallback((()=>{o(null),s(null)}),[]);return Ye.jsxs("div",{children:[Ye.jsx(Qy,{messageType:r,messageData:l,onComplete:c}),Ye.jsx(v6,{}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>i(!0)})," ",Ye.jsx(ce,{onClick:()=>{(null==d?void 0:d.length)>0?t(!0):(o("Please add a Feature data to open the preview"),s("warning"))}})]}),Ye.jsx(SP,{centered:!0,open:e,handleCancel:()=>t(!1),width:1e3,children:Ye.jsx("div",{className:"pointerModal",children:Ye.jsx(v6,{data:d})})}),Ye.jsx(SP,{centered:!0,open:n,handleCancel:()=>i(!1),width:1e3,children:Ye.jsx(y6,{closeForm:()=>{i(!1),o("Data Added Successfully"),s("success")},ModelOpen:n})})]})},b6=[{FieldName:"SideNavimage",FieldValue:"",FieldAddData:""},{FieldName:"SideNavHeader",FieldValue:"",FieldAddData:""},{FieldName:"SideNavHeader",FieldValue:"",FieldAddData:""},{FieldName:"SideNavHeader",FieldValue:"",FieldAddData:""}],w6="/",j6=e=>{const t=Qt();um();const n=Tf(V_),i=Tf(q_),r=Tf(U_),s=Tf(W_),[l,o]=a.useState((null==e?void 0:e.hasOwnProperty("data"))?null==e?void 0:e.data:!1===(null==e?void 0:e.apiCall)?b6:n),d=Tf(D_),c=Tf(L_),u=(null==e?void 0:e.disabledValue)?null==e?void 0:e.disabledValue:"",[p,A]=a.useState(null),[h,f]=a.useState(!1);a.useState(!!iA("UserId"));const[m,v]=a.useState(!1),[g,y]=a.useState(!1),[x,b]=a.useState(!1),[w,j]=a.useState(window.innerWidth),[C,S]=a.useState(!0),[N,I]=a.useState(!1),F=Tf(D_),B=Tf(L_);iA("UserId"),a.useEffect((()=>{w>900&&(S(!0),I(!1)),w<900&&(S(!1),I(!0))}),[w]),a.useEffect((()=>{function e(){j(window.innerWidth)}return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[w]),a.useEffect((()=>{let e=null==r?void 0:r.filter((e=>(null==e?void 0:e.AppId)===(null==i?void 0:i.AppId)));A(e.length>0?e[0].AppName:s.length>0?s:null)}),[i]),a.useEffect((()=>{(null==e?void 0:e.apiCall)?o(n):o((null==e?void 0:e.hasOwnProperty("data"))?null==e?void 0:e.data:!1===(null==e?void 0:e.apiCall)?b6:n)}),[n,null==e?void 0:e.data]),a.useEffect((()=>{const e=()=>{f(!1),y(!1),v(!1),b(window.innerWidth<899&&!(window.innerWidth<260))};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]);const[P,k]=a.useState(!1);a.useEffect((()=>{const e=()=>{window.scrollY>10?k(!0):k(!1)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)}),[]),a.useEffect((()=>{B.head,B.para&&a5.load({google:{families:[B.head,B.para]}})}),[B.head,B.para]);return Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"dispflex",style:{background:d?d[""]:null,color:"#000",fontFamily:c?c.para:null,pointerEvents:u},children:Ye.jsxs("nav",{className:"navbar "+(P?"scroll":""),children:[Ye.jsxs("div",{className:"Navcontainer",style:e.modelpreview?{backgroundColor:"#c6c6c6",padding:"0.5rem"}:{backgroundColor:"transparent",padding:0},children:[Ye.jsxs("div",{className:"logo",children:[Ye.jsx("div",{className:"templatetoHome",onClick:()=>{t(`${w6}`)},children:Ye.jsx(KO,{size:20})}),Ye.jsx("span",{className:0!=(null==e?void 0:e.apiCall)?"":" ",style:{fontFamily:(null==B?void 0:B.head)?null==B?void 0:B.head:""},children:0!=(null==e?void 0:e.apiCall)?p:""})]}),Ye.jsx("div",{className:"nav-links",children:l.filter((e=>"SideNavimage"!==e.FieldName)).map((t=>Ye.jsxs("a",{style:{fontFamily:(null==B?void 0:B.para)?null==B?void 0:B.para:""},onClick:()=>{var n,i;return null==e?void 0:e.onNavigate(`${null==(i=null==(n=null==t?void 0:t.FieldValue)?void 0:n.replace(/^\d+-/,""))?void 0:i.toLowerCase()}`)},children:[" ",t.FieldValue.replace(/^\d+-/,"")]})))}),Ye.jsxs("div",{className:"auth-buttons",children:[!P&&Ye.jsxs("button",{style:{fontFamily:(null==B?void 0:B.para)?null==B?void 0:B.para:""},className:"login",onClick:()=>t(`${w6}signin`),children:[" ","Sign In"]}),P&&Ye.jsx("button",{className:"login",style:{border:`1px solid ${F.darkColor?F.darkColor:"#000"}`,color:F.darkColor?F.darkColor:"#000",fontFamily:(null==B?void 0:B.para)?null==B?void 0:B.para:"",fontWeight:"500"},onClick:()=>t(`${w6}signin`),children:"Sign In"}),Ye.jsx("button",{style:{backgroundColor:F.darkColor?F.darkColor:"#000",color:"#fff"},className:"signup",onClick:()=>t(`${w6}signin`),children:"Get Started"})]}),Ye.jsx("button",{className:"mobile-menu-button",onClick:()=>f(!h),children:h?Ye.jsx(MD,{}):Ye.jsx(OD,{})})]}),Ye.jsxs("div",{className:"mobile-menu "+(h?"open":""),children:[Ye.jsxs("div",{className:"logo",style:{margin:"0rem 16px 1.5rem 16px",display:"flex",justifyContent:"space-between"},children:[Ye.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[null==l?void 0:l.map(((e,t)=>Ye.jsx(Ye.Fragment,{children:"SideNavimage"===e.FieldName&&Ye.jsx("img",{style:{width:"50px",mixBlendMode:"darken"},src:""!=e.FieldValue?e.FieldValue:D2,alt:"App logo"})}))),Ye.jsx("span",{className:0!=(null==e?void 0:e.apiCall)?"":" ",style:{color:"#000"},children:0!=(null==e?void 0:e.apiCall)?p:""})]}),Ye.jsxs("div",{style:{fontSize:"25px",fontWeight:"400",cursor:"pointer",color:"#000"},onClick:()=>f(!h),children:[" ","×"," "]})]}),Ye.jsx("div",{className:"mobile-nav-links",children:l.filter((e=>"SideNavimage"!==e.FieldName)).map((e=>{const t=e.FieldValue.replace(/^\d+-/,""),n=t.toLowerCase();return Ye.jsx("a",{style:{fontFamily:(null==B?void 0:B.para)?null==B?void 0:B.para:""},href:`#${n}`,onClick:()=>f(!1),children:t},n)}))}),Ye.jsxs("div",{className:"mobile-auth-buttons",children:[Ye.jsx("button",{className:"login",onClick:()=>t(`${w6}signin`),style:{fontSize:"16px",fontFamily:"Poppins"},children:"Sign In"}),Ye.jsx("button",{className:"signup",onClick:()=>t(`${w6}signin`),style:{backgroundColor:F.darkColor?F.darkColor:"#000",color:"#fff",fontFamily:(null==B?void 0:B.para)?B.para:"Poppins"},children:"Get Started"})]})]})]})})})},C6=()=>{const e=a.useRef(null),t=um(),n=Mt(),i=Tf(V_),r=null==n?void 0:n.state,s=null==r?void 0:r.editstate,[l,o]=a.useState("Add"),[d,c]=a.useState(null),[u,p]=a.useState(null),[A,h]=a.useState([]),[f,m]=a.useState([]),[v,g]=a.useState(A),[y,x]=a.useState(s?s.AppData:{}),[b,w]=a.useState(0),[S,N]=a.useState(""),[T,E]=a.useState(!1),[D,L]=a.useState(!1);a.useEffect((()=>{_()}),[]),a.useEffect((()=>{!1===D&&(m([]),x({}),U(""))}),[D]),a.useEffect((()=>{var t,n,a;if((null==i?void 0:i.length)>0&&!0===D){o("edit"),w((null==i?void 0:i.length)-2);let r=i.filter((e=>"SideNavimage"===e.FieldName));N(null==(t=null==r?void 0:r[0])?void 0:t.FieldValue);let s=i.filter((e=>"SideNavHeader"===e.FieldName));m(s.map((e=>e.FieldValue.split("-")[0])));let l=[];s.map(((e,t)=>{l.push({[`Navlink-${t}`]:e.FieldAddData,[`Navlist-${t}`]:e.FieldValue.split("-")[0]})}));let d={};for(let t=0;t<(null==l?void 0:l.length);t++)null==(n=null==e?void 0:e.current)||n.setFieldsValue({[`Navlink-${t}`]:l[t][`Navlink-${t}`]}),null==(a=null==e?void 0:e.current)||a.setFieldsValue({[`Navlist-${t}`]:l[t][`Navlist-${t}`]}),d[`Navlist-${t}`]=parseInt(l[t][`Navlist-${t}`]);x(d)}else w(0)}),[i,D]),a.useEffect((()=>{g(A)}),[A]);const U=e=>{N(e)},_=async()=>{var e,n,i;let a=await t(_2()).unwrap();1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)&&(await g(null==(n=null==a?void 0:a.data)?void 0:n.data),await h(null==(i=null==a?void 0:a.data)?void 0:i.data))},O=async(t,n)=>{var i;y[n]=parseInt(t),null==(i=e.current)||i.setFieldsValue({[n]:t}),await x({...y,[n]:t})},M=async(e,t)=>{let n=y;n[e]=t,x(n)},R=a.useCallback((()=>{var t,n,i;let a=[];for(let r=0;r<=b;r++)a.push(Ye.jsxs(P,{style:{display:"flex",flexDirection:"column",marginBottom:2,gap:0},align:"baseline",children:[Ye.jsx(I.Item,{name:`Navlist-${r}`,rules:[{message:"Please select Navlist",required:!0}],children:Ye.jsx(_y,{options:null==v?void 0:v.map((e=>({value:e.ConfigId,label:e.ConfigName,disabled:!!Object.values(y).map((e=>parseInt(e))).includes(parseInt(e.ConfigId))}))),label:"NavList",id:`Navlist-${r}}`,field:`Navlist-${r}`,fieldState:!0,fieldApi:!0,onChangeFunction:e=>O(e,`Navlist-${r}`),isOnchanges:null!=(null==(t=null==e?void 0:e.current)?void 0:t.getFieldValue([`Navlist-${r}`])),valueData:y[`Navlist-${r}`],className:"field-DropDown"})}),Ye.jsx(I.Item,{name:`Navlink-${r}`,rules:[{message:"Please Enter Navlink",required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",name:"",fieldState:!0,fieldApi:!0,onChange:e=>{var t;return M([`Navlink-${r}`],null==(t=null==e?void 0:e.target)?void 0:t.value)},isOnChange:null!=(null==(n=null==e?void 0:e.current)?void 0:n.getFieldValue([`Navlink-${r}`])),label:"Navlink",field:"",id:"",suffix:Ye.jsx(F,{title:`Nav Link${r}`,children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),r>0&&Ye.jsx(de,{onClick:()=>Q(r,`Navlist-${r}`)})]},r));return null==(i=null==e?void 0:e.current)||i.setFieldsValue(y),a}),[b,v]),Q=async(t,n)=>{var i,a;let r=e.current.getFieldValue([n]),s=f.filter((e=>e!=r));m(s);let l=e.current.getFieldsValue(),o=Object.keys(l).filter((e=>!e.includes(t))),d=0,c={};e.current.resetFields();for(let u=0;u<=(null==o?void 0:o.length);u+=2)c[`Navlist-${d}`]=l[o[u]],c[`Navlink-${d}`]=l[o[u+1]],null==(i=null==e?void 0:e.current)||i.setFieldsValue({[`Navlink-${d}`]:l[o[u+1]]}),null==(a=null==e?void 0:e.current)||a.setFieldsValue({[`Navlist-${d}`]:l[o[u]]}),d++;w(b-1),g(A),x(c)},H=a.useCallback((()=>{p(null),c(null)}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:d,messageData:u,onComplete:H}),Ye.jsxs("div",{style:{},children:[Ye.jsx("div",{children:Ye.jsx(j6,{apiCall:!1})}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>L(!0)})," ",Ye.jsx(ce,{onClick:()=>(async()=>{(null==i?void 0:i.length)>0?E(!0):(p("Please add a navbar data to open the preview"),c("warning"))})()})]}),Ye.jsx(j,{centered:!0,open:D,onOk:()=>L(!1),onCancel:()=>L(!1),children:Ye.jsx("div",{children:Ye.jsxs(I,{ref:e,className:"formDivAnt",onFinish:async n=>{var i,a,r,s;let l=[];for(let e=0;e<=(null==(i=Object.keys(n))?void 0:i.length)/2-1;e++)l.push({FieldName:"SideNavHeader",FieldValue:n[`Navlist-${e}`]+"-"+(null==(r=null==(a=null==v?void 0:v.filter((t=>t.ConfigId===n[`Navlist-${e}`])))?void 0:a[0])?void 0:r.ConfigName),FieldAddData:n[`Navlink-${e}`]});l.push({FieldName:"SideNavimage",FieldValue:S,FieldAddData:""}),await t(y_(l)),null==(s=null==e?void 0:e.current)||s.resetFields(),c("success"),p("NavBar Data Added Successfully"),L(!1)},initialValues:{...s},children:[Ye.jsxs("div",{className:"upload_btn",children:[Ye.jsx("p",{children:"Upload Logo"}),Ye.jsx(Yy,{singleImage:!0,updateImageUrl:U,ImageLink:S})]}),Ye.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[Ye.jsxs("div",{style:{},children:[Ye.jsx(Ye.Fragment,{children:0!=(null==v?void 0:v.length)&&R()}),(null==A?void 0:A.length)>b+1&&Ye.jsx(I.Item,{children:Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(C,{style:{backgroundColor:"#37943C",color:"white",borderRadius:"50px",padding:"5px"},onClick:()=>w(b+1)})})})]}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(Ry,{buttonText:"SAVE",color:"901D77",icon:Ye.jsx(k,{})})})]})]})})}),Ye.jsx(j,{centered:!0,open:T,onOk:()=>E(!1),onCancel:()=>E(!1),width:1e3,children:Ye.jsx("div",{className:"navclass","aria-disabled":!0,style:{overflow:"scroll"},children:Ye.jsx(j6,{disabledValue:"none",apiCall:!0,modelpreview:!0})})})]})]})},S6=e=>{const[t,n]=a.useState(null),i=Tf(L_),[r,s]=a.useState(),[l,o]=a.useState(),d=Tf(D_),c=Tf(q_),u=Tf(U_),[p,A]=a.useState(null),h=Tf(W_),f=[{FieldName:"faqTitle",FieldValue:"",FieldAddData:""},{FieldName:"faqImage",FieldValue:"",FieldAddData:""},{FieldName:"faqQuestion",FieldValue:"How do I get started?",FieldAddData:"Click the + button to add your first FAQ."},{FieldName:"faqQuestion",FieldValue:"What can I customize?",FieldAddData:"You can customize the title, questions, and answers."},{FieldName:"faqQuestion",FieldValue:"Need more help?",FieldAddData:"Contact our support team for assistance."}];a.useEffect((()=>{var t;s(e.hasOwnProperty("data")&&(null==(t=e.data)?void 0:t.length)>0?e.data:f)}),[e.data]),a.useEffect((()=>{if(r){const e=r.filter((e=>"faqQuestion"===e.FieldName));o(e&&e.length>0?e:[])}}),[r]);return a.useEffect((()=>{let e=null==u?void 0:u.filter((e=>(null==e?void 0:e.AppId)===(null==c?void 0:c.AppId)));A(e.length>0?e[0].AppName:h.length>0?h:null)}),[c]),a.useEffect((()=>{i.head,i.para&&a5.load({google:{families:[i.head,i.para]}})}),[i.head,i.para]),Ye.jsx("section",{className:"faq-section",id:"faq",children:Ye.jsxs("div",{className:"faq-container",children:[Ye.jsxs("div",{className:"faq-header",children:[r&&r.map(((e,t)=>{var n;return"faqTitle"===e.FieldName?Ye.jsx("h2",{style:{fontFamily:(null==i?void 0:i.head)?null==i?void 0:i.head:""},children:(null==(n=e.FieldValue)?void 0:n.length)>0?e.FieldValue:"Frequently Asked Questions"},t):null})),Ye.jsxs("p",{style:{fontFamily:(null==i?void 0:i.para)?null==i?void 0:i.para:""},children:["Have questions about ",p,"? We've got answers."]})]}),Ye.jsx("div",{className:"faq-content",children:l&&l.length>0?l.map(((e,a)=>Ye.jsxs("div",{className:"faq-item "+(t===a?"active":""),children:[Ye.jsxs("button",{className:"faq-button",onClick:()=>(e=>{n(t===e?null:e)})(a),style:{fontFamily:(null==i?void 0:i.head)?null==i?void 0:i.head:""},children:[e.FieldValue,t===a?Ye.jsx(_D,{className:"icon"}):Ye.jsx(UD,{className:"icon"})]}),Ye.jsx("div",{className:"faq-answer "+(t===a?"open":""),children:Ye.jsx("p",{style:{fontFamily:(null==i?void 0:i.para)?null==i?void 0:i.para:""},children:e.FieldAddData})})]},a))):Ye.jsxs("div",{className:"faq-placeholder-list",children:[Ye.jsx("div",{className:"faq-item placeholder"}),Ye.jsx("div",{className:"faq-item placeholder"}),Ye.jsx("div",{className:"faq-item placeholder"})]})}),Ye.jsxs("div",{className:"faq-footer",children:[Ye.jsx("h3",{style:{fontFamily:(null==i?void 0:i.head)?null==i?void 0:i.head:""},children:"Still have questions?"}),Ye.jsx("p",{style:{fontFamily:(null==i?void 0:i.para)?null==i?void 0:i.para:""},children:"Our support team is ready to help you with any questions you may have."}),Ye.jsx("div",{className:"faq-actions",children:Ye.jsx("button",{className:"btn-primary",style:{fontFamily:(null==i?void 0:i.para)?null==i?void 0:i.para:"",backgroundColor:d.darkColor?d.darkColor:"#000",color:"#fff"},children:"Contact Support"})})]})]})})},N6=Object.freeze(Object.defineProperty({__proto__:null,default:S6},Symbol.toStringTag,{value:"Module"})),I6=()=>{const e=a.useRef(null),t=um(),n=Tf(z_),[i,r]=a.useState([]),[s,l]=a.useState(!1),[o,d]=a.useState(!1),[c,u]=a.useState(!1),[p,A]=a.useState(!1),[h,f]=a.useState(!1),[m,v]=a.useState(!1),[g,y]=a.useState("");a.useEffect((()=>{b()}),[]);const x=[{faqLists:[{faqQus:"",faqAns:""}]}],b=async()=>{await r(x)};a.useEffect((()=>{f(!0)}),[n]);const w=()=>{(null==n?void 0:n.length)>0?(!function(){var e;let t=n.filter(((e,t)=>"faqQuestion"==(null==e?void 0:e.FieldName)));const i=null==t?void 0:t.map((e=>({faqQus:e.FieldValue,faqAns:e.FieldAddData})));r(i);let a=n.filter(((e,t)=>"faqTitle"==(null==e?void 0:e.FieldName))),s=null==(e=a[0])?void 0:e.FieldValue;y(s)}(),v(!0),null==n||n.map(((t,n)=>{var i;return null==(i=null==e?void 0:e.current)?void 0:i.setFieldsValue({[null==t?void 0:t.FieldName]:null==t?void 0:t.FieldValue})}))):v(!1),A(!0)};const S=a.useCallback((()=>{l(null),d(null)}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:o,messageData:s,onComplete:S}),Ye.jsx(eR,{}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>w()})," ",Ye.jsx(ce,{onClick:()=>(async()=>{(null==n?void 0:n.length)>0?u(!0):(l("Please add a faq data to open the preview"),d("warning"))})()})]}),Ye.jsx(j,{centered:!0,open:p,onOk:()=>A(!1),onCancel:()=>{return A(!1),void(null==(t=e.current)||t.resetFields());var t},width:1e3,children:Ye.jsx("div",{children:Ye.jsxs(I,{ref:e,onFinish:async e=>{var n,i;let a=[];null==(i=(null==(n=[e])?void 0:n.map((e=>e.faqlists)))[0])||i.map((e=>{a.push({FieldName:"faqQuestion",FieldValue:e.faqQus,FieldAddData:e.faqAns})})),a.push({FieldName:"faqTitle",FieldValue:e.faqtitle,FieldAddData:""}),a.push({FieldName:"faqImage",FieldValue:"",FieldAddData:""}),await t(g_(a)),A(!1),u(!1),l("Data Added Successfully"),d("success")},children:[Ye.jsx("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"center"},children:Ye.jsxs("div",{style:{},children:[Ye.jsx(I.Item,{initialValue:g,name:"faqtitle",rules:[{required:!0,message:"Please Enter Faq Title"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",name:"faqtitle",autoComplete:"off",fieldState:!0,fieldApi:!0,isOnChange:!!m,label:"Faq Title",field:"",id:"",suffix:Ye.jsx(F,{title:"Frequently asked questions about your application",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx("div",{style:{},children:Ye.jsx(I.List,{name:"faqlists",initialValue:i,children:(e,{add:t,remove:n})=>Ye.jsxs(Ye.Fragment,{children:[null==e?void 0:e.map((t=>Ye.jsxs(P,{style:{display:"flex",flexWrap:"wrap",marginBottom:2,rowGap:0},align:"baseline",children:[Ye.jsx(I.Item,{...t,name:[t.name,"faqQus"],fieldKey:[t.fieldKey,"faqQus"],rules:[{required:!0,message:"Please Enter FAQ Qus"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",name:"",fieldState:!0,fieldApi:!0,isOnChange:!!m,label:"FAQ Question",field:"",id:"",suffix:Ye.jsx(F,{title:"How to signin?",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),Ye.jsx(I.Item,{...t,name:[t.name,"faqAns"],fieldKey:[t.fieldKey,"faqAns"],rules:[{required:!0,message:"Please Enter FAQ Answer"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",name:"",fieldState:!0,fieldApi:!0,isOnChange:!!m,label:"FAQ Answer",field:"",id:"",suffix:Ye.jsx(F,{title:"How to buy a application",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})}),1!==(null==e?void 0:e.length)&&Ye.jsx(de,{style:{color:"#FF4D4F",fontSize:"20px",padding:"10px",alignContent:"center"},onClick:()=>n(t.name)})]},t.key))),Ye.jsx(I.Item,{children:Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(C,{style:{color:"white",backgroundColor:"#37943C",borderRadius:50,fontSize:"20px"},onClick:()=>t()})})})]})})})]})}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(Ry,{type:"submit",buttonText:"SAVE",icon:Ye.jsx(k,{})})})]})})}),Ye.jsx(j,{centered:!0,open:c,onOk:()=>u(!1),onCancel:()=>{u(!1),f(!0)},width:"1500",children:Ye.jsx(S6,{data:n})})]})},F6=Object.freeze(Object.defineProperty({__proto__:null,default:I6},Symbol.toStringTag,{value:"Module"}));function B6(e){const[t,n]=a.useState(!1),i=a.useRef(null);return a.useEffect((()=>{const e=new IntersectionObserver((([e])=>{e.intersectionRatio>=.75&&n(!0)}),{threshold:.75,root:null,rootMargin:"0px"});return i.current&&e.observe(i.current),()=>{i.current&&e.unobserve(i.current)}}),[]),Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{ref:i,className:"showcase-section "+(t?"visible":""),children:Ye.jsx("div",{className:"showcase-image",children:Ye.jsx("div",{className:"image-container",children:Ye.jsx("img",{src:e.data||hk,alt:"Restaurant management in action",style:{opacity:t?1:0,transform:t?"perspective(1000px) rotateX(0deg) scale(1) translateY(0)":"perspective(1000px) rotateX(30deg) scale(0.7) translateY(100px)",transition:"all 0.8s cubic-bezier(0.4, 0, 0.2, 1)",transformOrigin:"bottom",willChange:"transform, opacity"}})})})})})}const P6=Object.freeze(Object.defineProperty({__proto__:null,default:B6},Symbol.toStringTag,{value:"Module"})),k6=()=>{var e;const t=a.useRef(),n=Tf(k_),i=um(),[r,s]=a.useState((null==n?void 0:n.length)>0&&(null==(e=n[0])?void 0:e.FieldValue)?n[0].FieldValue:""),[l,o]=a.useState({viewData:!1,viewForm:!1});a.useEffect((()=>{var e;s((null==n?void 0:n.length)>0&&(null==(e=n[0])?void 0:e.FieldValue)?n[0].FieldValue:"")}),[n]);const[d,c]=a.useState({type:null,data:null}),u=()=>{o({viewData:!1,viewForm:!1})},p=a.useCallback((()=>{c({type:null,data:null})}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:d.type,messageData:d.data,onComplete:p}),Ye.jsx(B6,{}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>{var e;o({viewData:!1,viewForm:!0}),s((null==n?void 0:n.length)>0?null==(e=null==n?void 0:n[0])?void 0:e.FieldValue:"")}}),Ye.jsx(ce,{onClick:()=>{var e;o({viewData:!0,viewForm:!1}),s((null==n?void 0:n.length)>0?null==(e=null==n?void 0:n[0])?void 0:e.FieldValue:"")}})]}),Ye.jsx(j,{centered:!0,open:null==l?void 0:l.viewForm,onOk:u,closeIcon:Ye.jsx(M,{onClick:u}),width:400,children:Ye.jsxs(I,{ref:t,onFinish:()=>{i(F_([{FieldName:"ShowCaseUrl",FieldValue:r,FieldAddData:""}])),o({viewData:!1,viewForm:!1})},children:[Ye.jsxs("div",{children:[Ye.jsx("p",{children:"Upload Image"}),Ye.jsx("br",{}),Ye.jsx(Yy,{updateImageUrl:e=>{s(e||"")},singleImage:!0,ImageLink:r})]}),Ye.jsx("div",{className:"overviewbtn",children:Ye.jsx(Ry,{type:"submit",buttonText:"SAVE",icon:Ye.jsx(k,{})})})]})}),Ye.jsx(j,{destroyOnClose:!0,centered:!0,open:null==l?void 0:l.viewData,onOk:u,onCancel:u,width:1e3,className:"overview1Modal",children:Ye.jsx(B6,{data:r||""})})]})},T6=()=>{const e=a.useRef(),t=Tf(T_),n=um(),[i,r]=a.useState((null==t?void 0:t.length)>0?null==t?void 0:t[0]:""),[s,l]=a.useState({viewData:!1,viewForm:!1}),[o,d]=a.useState({type:null,data:null}),c=()=>{l({viewData:!1,viewForm:!1})},u=a.useCallback((()=>{d({type:null,data:null})}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:o.type,messageData:o.data,onComplete:u}),Ye.jsx(B6,{}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>{return l({viewData:!1,viewForm:!0}),void r((null==t?void 0:t.length)>0?null==(e=null==t?void 0:t[0])?void 0:e.FieldValue:"");var e}}),Ye.jsx(ce,{onClick:()=>{return l({viewData:!0,viewForm:!1}),void r((null==t?void 0:t.length)>0?null==(e=null==t?void 0:t[0])?void 0:e.FieldValue:"");var e}})]}),Ye.jsx(j,{centered:!0,open:null==s?void 0:s.viewForm,onOk:c,closeIcon:Ye.jsx(M,{onClick:c}),width:400,children:Ye.jsxs(I,{ref:e,onFinish:()=>{n(B_([{FieldName:"AppviewUrl",FieldValue:i,FieldAddData:""}])),l({viewData:!1,viewForm:!1})},children:[Ye.jsxs("div",{children:[Ye.jsx("p",{children:"Upload Image"}),Ye.jsx("br",{}),Ye.jsx(Yy,{updateImageUrl:e=>{r(e)},singleImage:!0,ImageLink:i})]}),Ye.jsx("div",{className:"overviewbtn",children:Ye.jsx(Ry,{type:"submit",buttonText:"SAVE",icon:Ye.jsx(k,{})})})]})}),Ye.jsx(j,{destroyOnClose:!0,centered:!0,open:null==s?void 0:s.viewData,onOk:c,onCancel:c,width:1e3,className:"overview1Modal",children:Ye.jsx(B6,{data:i||""})})]})},E6=({isDefault:e=!1})=>{const t=Tf(E_),n=Tf(D_),i=Tf(L_),r=Tf(q_),s=Tf(U_),l=Tf(W_),[o,d]=a.useState(null),c=[{customerName:"Emily Rodriguez",designation:"Owner, Cafe Delish",customerImage:hk,customerReview:"PozoResto transformed how we run our café. Orders are processed faster, and the analytics help us make better business decisions. Our staff loves the intuitive interface!",rating:5},{customerName:"Michael Chen",designation:"Manager, Fusion Bistro",customerImage:hk,customerReview:"We've tried several POS systems, but PozoResto stands out for its reliability and excellent customer support. The inventory management features save us hours every week.",rating:5},{customerName:"Sarah Johnson",designation:"Owner, The Grill House",customerImage:hk,customerReview:"Since implementing PozoResto, our table turnover has increased by 20%. The system is so efficient that our staff can focus more on customer service than manual processes.",rating:4}],u=(()=>{var n,i;if(e)return{header:"Trusted by Restaurant Owners",subheader:"Hear what our customers have to say about PozoResto.",testimonials:c};if(!(null==t?void 0:t.length))return{header:"Trusted by Restaurant Owners",subheader:"Hear what our customers have to say about PozoResto.",testimonials:c};const a=(null==(n=null==t?void 0:t.find((e=>"Header1"===(null==e?void 0:e.FieldName))))?void 0:n.FieldValue)||{},r=(null==(i=null==t?void 0:t.find((e=>"SubHeader1"===(null==e?void 0:e.FieldName))))?void 0:i.FieldValue)||{},s=null==t?void 0:t.reduce(((e,t)=>{var n,i,a,r,s,l;if(null==(n=null==t?void 0:t.FieldName)?void 0:n.startsWith("customer")){const n=null==(i=t.FieldName.match(/\d+$/))?void 0:i[0];n&&(e[n]||(e[n]={}),t.FieldName.includes("Image")&&(e[n].customerImage=t.FieldValue),t.FieldName.includes("Name")&&(e[n].customerName=t.FieldValue),t.FieldName.includes("Review")&&(e[n].customerReview=t.FieldValue))}if(null==(a=null==t?void 0:t.FieldName)?void 0:a.startsWith("designation")){const n=null==(r=t.FieldName.match(/\d+$/))?void 0:r[0];n&&e[n]&&(e[n].designation=t.FieldValue)}if(null==(s=null==t?void 0:t.FieldName)?void 0:s.startsWith("rating")){const n=null==(l=t.FieldName.match(/\d+$/))?void 0:l[0];n&&e[n]&&(e[n].rating=t.FieldValue)}return e}),{});return{header:a,subheader:r,testimonials:Object.values(s).filter((e=>e.customerName&&e.customerReview))}})();return a.useEffect((()=>{let e=null==s?void 0:s.filter((e=>(null==e?void 0:e.AppId)===(null==r?void 0:r.AppId)));d(e.length>0?e[0].AppName:l.length>0?l:null)}),[r]),a.useEffect((()=>{i.head,i.para&&a5.load({google:{families:[i.head,i.para]}})}),[i.head,i.para]),Ye.jsxs("div",{className:"testimonial-section",children:[Ye.jsxs("div",{className:"testimonial-header",children:[Ye.jsx("h2",{style:{fontFamily:(null==i?void 0:i.head)?null==i?void 0:i.head:""},children:u.header}),Ye.jsx("p",{style:{fontFamily:(null==i?void 0:i.para)?null==i?void 0:i.para:""},children:u.subheader})]}),Ye.jsx("div",{children:Ye.jsx("div",{className:"testimonials-grid",children:u.testimonials.map(((e,t)=>Ye.jsxs("div",{className:"testimonial-card",children:[Ye.jsx("div",{className:"stars",children:[...Array(5)].map(((t,n)=>Ye.jsx("span",{className:"star "+(n<(e.rating||5)?"filled":""),children:Ye.jsx(SE,{color:"rgb(245, 158, 11);"})},n)))}),Ye.jsx("p",{className:"quote",style:{fontFamily:(null==i?void 0:i.para)?null==i?void 0:i.para:""},children:e.customerReview}),Ye.jsxs("div",{className:"user-info",children:[Ye.jsx("img",{src:e.customerImage||hk,alt:e.customerName,className:"avatar"}),Ye.jsxs("div",{className:"user-details",children:[Ye.jsx("h4",{style:{fontFamily:(null==i?void 0:i.head)?null==i?void 0:i.head:""},children:e.customerName}),Ye.jsx("p",{style:{fontFamily:(null==i?void 0:i.para)?null==i?void 0:i.para:""},children:e.designation})]})]})]},t)))})}),Ye.jsxs("div",{className:"cta-banner",children:[Ye.jsxs("p",{children:["Join over 2,000+ ",o," already using Pozo"]}),Ye.jsx("button",{style:{backgroundColor:n.darkColor?n.darkColor:"#000",color:"#fff",fontFamily:i||"Poppins"},children:"Get Started Today"})]})]})},D6=Object.freeze(Object.defineProperty({__proto__:null,default:E6},Symbol.toStringTag,{value:"Module"})),L6=()=>{const e=a.useRef(),t=Tf(E_),n=um(),[i,r]=a.useState({header:"",subheader:"",testimonials:[{customerName:"",designation:"",customerReview:"",customerImage:"",rating:5}]});a.useEffect((()=>{var n;0===(null==t?void 0:t.length)&&(null==(n=null==e?void 0:e.current)||n.resetFields())}),[t]);const[s,l]=a.useState({viewData:!1,viewForm:!1}),[o,d]=a.useState({type:null,data:null}),c=()=>{l({viewData:!1,viewForm:!1})},u=a.useCallback((()=>{d({type:null,data:null})}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:o.type,messageData:o.data,onComplete:u}),Ye.jsx(E6,{isDefault:!0}),Ye.jsxs("div",{className:"tempOptions",children:[Ye.jsx(C,{onClick:()=>{var e,n;if(l({viewData:!1,viewForm:!0}),(null==t?void 0:t.length)>0){const i=(null==(e=t.find((e=>"Header1"===e.FieldName)))?void 0:e.FieldValue)||"",a=(null==(n=t.find((e=>"SubHeader1"===e.FieldName)))?void 0:n.FieldValue)||"",s=t.reduce(((e,t)=>{var n,i,a;if(t.FieldName.startsWith("customer")){const i=null==(n=t.FieldName.match(/\d+$/))?void 0:n[0];i&&(e[i]||(e[i]={rating:5}),t.FieldName.includes("Image")&&(e[i].customerImage=t.FieldValue),t.FieldName.includes("Name")&&(e[i].customerName=t.FieldValue),t.FieldName.includes("Review")&&(e[i].customerReview=t.FieldValue))}if(t.FieldName.startsWith("designation")){const n=null==(i=t.FieldName.match(/\d+$/))?void 0:i[0];n&&(e[n].designation=t.FieldValue)}if(t.FieldName.startsWith("rating")){const n=null==(a=t.FieldName.match(/\d+$/))?void 0:a[0];n&&(e[n].rating=Number(t.FieldValue))}return e}),{}),l=Object.values(s).filter((e=>e.customerName||e.customerReview));r({header:i,subheader:a,testimonials:l.length>0?l:[{customerName:"",designation:"",customerReview:"",customerImage:"",rating:5}]})}}}),Ye.jsx(ce,{onClick:()=>{l({viewData:!0,viewForm:!1})}})]}),Ye.jsx(j,{centered:!0,open:null==s?void 0:s.viewForm,footer:null,closeIcon:Ye.jsx(M,{onClick:c}),width:800,title:"Edit Testimonial Section",children:Ye.jsxs(I,{ref:e,onFinish:e=>{var t;e.header,e.subheader,e.testimonials;const a=[];a.push({FieldAddData:"",FieldName:"Header1",FieldValue:e.header},{FieldAddData:"",FieldName:"SubHeader1",FieldValue:e.subheader});const r=null==(t=e.testimonials)?void 0:t.flatMap(((e,t)=>{var n,a;const{customerName:r,customerReview:s,designation:l,rating:o}=e;return[{FieldName:`customerImage${t}`,FieldValue:null==(a=null==(n=null==i?void 0:i.testimonials)?void 0:n[t])?void 0:a.customerImage,FieldAddData:""},{FieldAddData:"",FieldName:`customerName${t}`,FieldValue:r},{FieldAddData:"",FieldName:`customerReview${t}`,FieldValue:s},{FieldAddData:"",FieldName:`designation${t}`,FieldValue:l},{FieldAddData:"",FieldName:`rating${t}`,FieldValue:o}]})),s=[...a,...r];n(P_(s)),l({viewData:!1,viewForm:!1})},layout:"vertical",initialValues:i,className:"testimonial-form",children:[Ye.jsxs("div",{style:{display:"flex",gap:"0.5rem"},children:[Ye.jsx(I.Item,{name:"header",rules:[{required:!0,message:"Please enter section header"}],label:Ye.jsx("div",{children:"Section Header"}),children:Ye.jsx(Oy,{placeholder:"Enter section header",className:"form-input",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{name:"subheader",rules:[{required:!0,message:"Please enter section subheader"}],label:Ye.jsx("div",{children:"Section Subheader"}),children:Ye.jsx(Oy,{placeholder:"Enter section subheader",className:"form-input",fieldState:!0,fieldApi:!0})})]}),Ye.jsx(I.List,{name:"testimonials",initialValue:i.testimonials,children:(e,{add:t,remove:n})=>Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("div",{style:{width:"100%",display:"flex",justifyContent:"flex-end"},children:Ye.jsx(C,{style:{border:"1px solid #000",padding:"5px",borderRadius:"50%"},onClick:()=>t({customerName:"",designation:"",customerReview:"",customerImage:"",rating:5})})}),e.map((({key:t,name:a,...s},l)=>{var o;return Ye.jsxs("div",{className:"form-section testimonial-item",children:[Ye.jsxs("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"1rem"},children:[Ye.jsxs("h3",{children:["Testimonial #",l+1]}),e.length>1&&Ye.jsx(de,{className:"delete-testimonial",onClick:()=>n(a)})]}),Ye.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:"0.5rem"},children:[Ye.jsx(I.Item,{...s,name:[a,"rating"],label:"Rating",initialValue:5,children:Ye.jsx(fe,{})}),Ye.jsx(I.Item,{...s,name:[a,"customerImage"],children:Ye.jsx(Yy,{label:"Customer Image",updateImageUrl:e=>((e,t)=>{const n=e.split(".");r((i=>{if(1===n.length)return{...i,[e]:t};{const[e,a,r]=n,s=[...i[e]];return s[parseInt(a)]={...s[parseInt(a)],[r]:t},{...i,[e]:s}}}))})(`testimonials.${l}.customerImage`,e),singleImage:!0,ImageLink:null==(o=i.testimonials[l])?void 0:o.customerImage})}),Ye.jsx(I.Item,{...s,rules:[{required:!0,message:"Please enter customer name"}],name:[a,"customerName"],label:Ye.jsx("div",{children:"Customer Name"}),children:Ye.jsx(Oy,{placeholder:"Enter customer name",className:"form-input",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{...s,rules:[{required:!0,message:"Please enter designation"}],name:[a,"designation"],label:Ye.jsx("div",{children:"Designation"}),children:Ye.jsx(Oy,{placeholder:"Enter designation",className:"form-input",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{...s,name:[a,"customerReview"],rules:[{required:!0,message:"Please enter customer review"}],label:Ye.jsx("div",{children:"Customer Review"}),children:Ye.jsx(My,{placeholder:"Enter customer review",className:"form-input",rows:4,fieldState:!0,fieldApi:!0})})]})]},t)}))]})}),Ye.jsx("div",{style:{width:"100%",display:"flex",justifyContent:"flex-end"},children:Ye.jsx(Ry,{type:"submit",buttonText:"Save Changes",icon:Ye.jsx(k,{}),className:"submit-button"})})]})}),Ye.jsx(j,{destroyOnClose:!0,centered:!0,open:null==s?void 0:s.viewData,onOk:c,onCancel:c,width:1e3,className:"testimonial-preview-modal",children:Ye.jsx(E6,{isDefault:!1})})]})},U6=Object.freeze(Object.defineProperty({__proto__:null,default:L6},Symbol.toStringTag,{value:"Module"})),_6=e=>{var t,n,i;const[r,s]=a.useState(),l=Tf(D_),o=Tf(L_),d=[{FieldName:"faqTitle",FieldValue:"",FieldAddData:""},{FieldName:"faqImage",FieldValue:"",FieldAddData:""},{FieldName:"faqQuestion",FieldValue:" ",FieldAddData:""},{FieldName:"faqQuestion",FieldValue:" ",FieldAddData:""},{FieldName:"faqQuestion",FieldValue:" ",FieldAddData:""},{FieldName:"faqQuestion",FieldValue:"",FieldAddData:""}];return a.useEffect((()=>{s(e.hasOwnProperty("data")?e.data:d)}),[e.data]),a.useEffect((()=>{o.head,o.para&&a5.load({google:{families:[o.head,o.para]}})}),[o.head,o.para]),Ye.jsx(Ye.Fragment,{children:Ye.jsx("section",{style:{backgroundColor:l.darkColor?l.darkColor:"cta-section",color:l.lightColor?l.lightColor:"cta-section"},children:Ye.jsx("div",{className:"cta-container",children:Ye.jsxs("div",{className:"cta-content",children:[Ye.jsx("h2",{className:"cta-title",style:{fontFamily:(null==o?void 0:o.head)?null==o?void 0:o.head:""},children:null==(t=null==r?void 0:r[0])?void 0:t.FieldValue}),Ye.jsx("p",{className:"cta-description",style:{color:"white",fontFamily:(null==o?void 0:o.para)?null==o?void 0:o.para:""},children:null==(n=null==r?void 0:r[1])?void 0:n.FieldValue}),Ye.jsx("div",{className:"stats-panel",children:Ye.jsx("div",{className:"stats-grid",children:null==(i=null==r?void 0:r.filter((e=>"BussinessDetails"===e.FieldName)))?void 0:i.map(((e,t)=>Ye.jsxs("div",{className:"stat-item",children:[Ye.jsxs("h3",{className:"stat-value",children:[e.FieldValue,"%"]}),Ye.jsx("p",{className:"stat-label",style:{color:"white",fontFamily:null==o?void 0:o.head},children:e.FieldAddData})]},t)))})}),Ye.jsxs("div",{className:"cta-buttons",children:[Ye.jsxs("button",{className:"btn-primary",style:{color:l.darkColor?l.darkColor:"btn-primary",fontFamily:(null==o?void 0:o.para)?null==o?void 0:o.para:""},children:["Start Your Free Trial",Ye.jsx(Rm,{className:"arrow-icon"})]}),Ye.jsx("button",{style:{fontFamily:(null==o?void 0:o.para)?null==o?void 0:o.para:""},className:"btn-secondary",children:"Schedule a Demo"})]})]})})})})},O6=Object.freeze(Object.defineProperty({__proto__:null,default:_6},Symbol.toStringTag,{value:"Module"})),M6=()=>{const e=a.useRef(null),t=um(),n=Tf(eO),[i,r]=a.useState(!1),[s,l]=a.useState(!1),[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState(!1);a.useState();const[h,f]=a.useState([{fieldName:""}]),[m,v]=a.useState([[{footerList:"",footerSublist:""}]]);a.useEffect((()=>{var t;0===(null==n?void 0:n.length)&&(null==(t=null==e?void 0:e.current)||t.resetFields())}),[n,i]);const g=a.useCallback((()=>{u(null),d(null)}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:o,messageData:c,onComplete:g}),Ye.jsx(_6,{}),Ye.jsxs("div",{className:"tempOptions",style:{width:"50rem"},children:[Ye.jsx(C,{onClick:()=>(n.length>0?(A(!0),setTimeout((()=>{const t={},i=[];null==n||n.forEach((e=>{"CTAHeader"!==(null==e?void 0:e.FieldName)&&"CTADescription"!==(null==e?void 0:e.FieldName)||(t[e.FieldName]=e.FieldValue),"BussinessDetails"===(null==e?void 0:e.FieldName)&&i.push({Items:[{BussinessValue:e.FieldValue,BussinessDesc:e.FieldAddData}]})})),0===i.length&&i.push({Items:[{BussinessValue:"",BussinessDesc:""}]}),t.TitleNames={items:i},(null==e?void 0:e.current)&&e.current.setFieldsValue(t)}),0)):A(!1),void r(!0))}),Ye.jsx(ce,{onClick:()=>{n.length>0&&n.filter((e=>!e.FieldName.includes("Sub"))).length>0?l(!0):(u("Please add a footer data to open the preview"),d("warning"))}})]}),Ye.jsx(j,{centered:!0,open:i,onOk:()=>r(!1),onCancel:()=>r(!1),children:Ye.jsxs(I,{ref:e,onFinish:async e=>{var n,i,a;let s=[];s.push({FieldName:"CTAHeader",FieldValue:e.CTAHeader,FieldAddData:e.CTAHeader}),s.push({FieldName:"CTADescription",FieldValue:e.CTADescription,FieldAddData:e.CTADescription});((null==(a=null==(i=null==(n=null==e?void 0:e.TitleNames)?void 0:n.items)?void 0:i[0])?void 0:a.Items)||[]).forEach(((e,t)=>{s.push({FieldName:"BussinessDetails",FieldValue:e.BussinessValue||"",FieldAddData:e.BussinessDesc||""})})),await t(j_(s)),u("Data Added Successfully"),d("success"),r(!1)},children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"1rem",flexWrap:"wrap"},className:"footerForm",children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"2rem",flexWrap:"wrap"},children:[Ye.jsx(I.Item,{name:"CTAHeader",rules:[{message:"Please Enter CTA Header"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,isOnChange:!!p,label:"CTA Header",autocomplete:"off"})}),Ye.jsx(I.Item,{name:"CTADescription",rules:[{message:"Please Enter CTA Description"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,isOnChange:!!p,label:"CTA Description",autocomplete:"off"})}),Ye.jsx(I.List,{name:["TitleNames","items"],initialValue:h,children:(e,{add:t,remove:n})=>Ye.jsx(Ye.Fragment,{children:e.map((({key:e,name:t})=>Ye.jsx(P,{style:{display:"flex"},align:"baseline",children:Ye.jsx(I.List,{name:[t,"Items"],initialValue:m[e]?m[e]:[{footerList:"",footerSublist:""}],children:(e,{add:t,remove:n})=>Ye.jsx(Ye.Fragment,{children:e.map((({key:i,name:a})=>Ye.jsxs(P,{style:{display:"flex"},align:"baseline",children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"row"},children:[Ye.jsx(I.Item,{name:[a,"BussinessValue"],fieldKey:[a,"BussinessValue"],rules:[{message:"Please Enter Bussiness Value"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{name:`${a}.BussinessValue`,fieldState:!0,isOnChange:!!p,label:"Bussiness Value",autocomplete:"off",suffix:Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(F,{title:"Eg.What is POZO ?(List of Titles)",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})}),Ye.jsx(C,{onClick:()=>t()})]})})}),Ye.jsx("div",{style:{margin:"1rem 1rem"},children:e.length>1&&Ye.jsx(de,{onClick:()=>n(a)})})]}),Ye.jsx(I.Item,{name:[a,"BussinessDesc"],fieldKey:[a,"Bussiness Desc"],rules:[{message:"Please Enter Footer Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{name:`${a}.footerSublist`,fieldState:!0,isOnChange:!!p,label:"Bussiness Desc",autocomplete:"off",suffix:Ye.jsx(F,{title:"Eg.Want Access(List of Titles)",children:Ye.jsx(B,{style:{color:"rgba(0,0,0,.45)"}})})})})]},i)))})})},e)))})})]}),Ye.jsx("div",{})]}),Ye.jsx("div",{style:{float:"right"},children:Ye.jsx(Ry,{type:"submit",buttonText:"SAVE",icon:Ye.jsx(k,{})})})]})}),Ye.jsx(j,{destroyOnClose:!0,centered:!0,open:s,onOk:()=>l(!1),onCancel:()=>l(!1),width:1300,children:Ye.jsx("div",{children:Ye.jsx(_6,{data:n||""})})})]})},R6="/home/",Q6=()=>Ye.jsx("div",{className:"loader-wrapper",children:Ye.jsxs("div",{className:"spinner",children:[Ye.jsx("div",{className:"wheel"}),Ye.jsx("div",{className:"wheel"})]})}),H6=Ja("login/getAdminNames",(async()=>await fA.get("/login?Type=Admin"))),V6=Ja("userAppMap/getApplications",(async e=>{if(null!=e&&null!=e)return await fA.get(`/userAppMap?UserId=${e}`)})),z6=Ja("appAccess/getActiveAppCompanyData",(async e=>{if(null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.UserId)&&null!=(null==e?void 0:e.UserId))return await fA.get(`/appAccess?AppId=${null==e?void 0:e.AppId}&UserId=${null==e?void 0:e.UserId}&ActiveStatus=A`)})),q6=Ja("company/postCompanyData",(async e=>{if(e)return await fA.post("/CustomerTestimonials",e)})),W6=Ja("appAccess/getActiveAppCompanyData",(async()=>await fA.get("/CustomerTestimonials"))),Y6=Ja("company/postCompanyData",(async e=>{if(e)return await fA.put("/CustomerTestimonials",e)})),K6=Ja("company/deleteCompanyData",(async e=>await fA.delete(`/CustomerTestimonials?activeStatus=${null==e?void 0:e.activeStatus}&uniqueId=${null==e?void 0:e.uniqueId}&updatedBy=${null==e?void 0:e.updatedBy}`))),G6=a.lazy((()=>pr((()=>Promise.resolve().then((()=>c5))),void 0))),$6=a.lazy((()=>pr((()=>Promise.resolve().then((()=>h5))),void 0))),X6=a.lazy((()=>pr((()=>Promise.resolve().then((()=>g6))),void 0))),J6=a.lazy((()=>pr((()=>Promise.resolve().then((()=>X3))),void 0))),Z6=a.lazy((()=>pr((()=>Promise.resolve().then((()=>a6))),void 0))),e8=a.lazy((()=>pr((()=>Promise.resolve().then((()=>o6))),void 0))),t8=a.lazy((()=>pr((()=>Promise.resolve().then((()=>JM))),void 0))),n8=a.lazy((()=>pr((()=>Promise.resolve().then((()=>tR))),void 0)));a.lazy((()=>pr((()=>Promise.resolve().then((()=>F6))),void 0)));const i8=a.lazy((()=>pr((()=>Promise.resolve().then((()=>N6))),void 0)));a.lazy((()=>pr((()=>import("./CommonFaq-4d7cc6fa.js")),["assets/CommonFaq-4d7cc6fa.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js"])));const a8=a.lazy((()=>pr((()=>Promise.resolve().then((()=>KM))),void 0))),r8=a.lazy((()=>pr((()=>Promise.resolve().then((()=>MM))),void 0)));a.lazy((()=>pr((()=>Promise.resolve().then((()=>f6))),void 0)));const s8=a.lazy((()=>pr((()=>Promise.resolve().then((()=>f6))),void 0)));a.lazy((()=>pr((()=>import("./downloadSource-be3513a9.js")),["assets/downloadSource-be3513a9.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js","assets/downloadSource-d4a822a3.css"]))),a.lazy((()=>pr((()=>import("./contact-a97f3490.js")),["assets/contact-a97f3490.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js","assets/contact-92588c0e.css"])));const l8=a.lazy((()=>pr((()=>Promise.resolve().then((()=>O6))),void 0))),o8=a.lazy((()=>pr((()=>Promise.resolve().then((()=>P6))),void 0)));a.lazy((()=>pr((()=>Promise.resolve().then((()=>U6))),void 0)));const d8=a.lazy((()=>pr((()=>Promise.resolve().then((()=>D6))),void 0))),c8=()=>{var e,t,n,i,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P,k,T,E,D,L,U,_,O,M,R,Q,H,V,z,q,W,Y,K,G,$,X,J,Z,ee,te,ne,ie,ae,re,se,le,oe,de,ce,ue,pe,Ae,he,fe,me,ve,ge,ye,xe,be,we,je,Ce,Se,Ne,Ie,Fe,Be,Pe,ke,Te,Ee,De,Le,Ue,_e;const Oe=Vt(),Me=um(),Re=Qt(),Qe=a.useRef(),He=Tf(Z_),Ve=iA("AdminId"),ze=Tf(L_),[qe,We]=a.useState(!0);Tf(D_),a.useEffect((()=>{(async()=>{We(!0);try{const e=sessionStorage.getItem("auth"),t=Oe.appName.split("-").map(((e,t,n)=>"and"===e&&t>0&&t<n.length-1?"and":e.charAt(0).toUpperCase()+e.slice(1))).join(" "),n=[];e||n.push(Me(cL({username:"1000000001",password:"1234"})).unwrap()),n.push(Me(r_(t)).unwrap()),await Promise.all(n)}catch(e){}finally{We(!1)}})()}),[Oe.appName,Me]),a.useEffect((()=>{let e=!1;const t=()=>{const t=null==Qe?void 0:Qe.current;if(!t)return;const{top:n}=t.getBoundingClientRect();0===n?t.classList.add("navBarHover"):t.classList.remove("navBarHover"),e=!1},n=()=>{e||(window.requestAnimationFrame(t),e=!0)};return window.addEventListener("scroll",n,{passive:!0}),()=>{window.removeEventListener("scroll",n)}}),[]),a.useEffect((()=>{var e;Me(P_(null==(e=He.Testimonials)?void 0:e[1]))}),[He]);const Ke=Mt(),Ge=e=>{setTimeout((()=>{const t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth"})}),300)};a.useEffect((()=>{null!=(null==Ke?void 0:Ke.state)&&Ge("Pricing")}),[null==Ke?void 0:Ke.state]);const[$e,Xe]=a.useState([]),Je=a.useCallback((async()=>{var e,t;try{const n=await Me(W6()).unwrap();1===(null==(e=null==n?void 0:n.data)?void 0:e.statusCode)&&Xe(null==(t=null==n?void 0:n.data)?void 0:t.data)}catch(n){}}),[Me]);return a.useEffect((()=>{Je()}),[Je]),a.useEffect((()=>{var e;(null==(e=null==Ke?void 0:Ke.state)?void 0:e.scrollToId)&&Ge(Ke.state.scrollToId)}),[null==Ke?void 0:Ke.state]),qe||0===Object.keys(He).length?Ye.jsx(Q6,{}):Ye.jsx(Ye.Fragment,{children:Object.keys(He).length>0?Ye.jsxs(Ye.Fragment,{children:["Navbar3"!==(null==(e=null==He?void 0:He.Navbar)?void 0:e[0])&&Ye.jsx("div",{className:"homeNavdiv",children:Ye.jsx(pL,{})}),"Navbar2"===(null==(t=null==He?void 0:He.Navbar)?void 0:t[0])&&Ye.jsxs("div",{children:[Ye.jsxs("div",{id:"Navbar",style:{position:"sticky",top:"0px",zIndex:"3"},ref:Qe,children:["Navbar1"==(null==(n=He.Navbar)?void 0:n[0])&&Ye.jsx(U2,{data:He.Navbar[1]}),"Navbar2"==(null==(i=He.Navbar)?void 0:i[0])&&Ye.jsx(R2,{data:He.Navbar[1]}),"Navbar3"==(null==(r=He.Navbar)?void 0:r[0])&&Ye.jsx(j6,{onNavigate:Ge,data:He.Navbar[1]})]}),Ye.jsxs("div",{id:"Overview",children:["Overview1"==(null==(s=He.Overview)?void 0:s[0])&&Ye.jsx(q2,{data:He.Overview[1]}),"Overview2"==(null==(l=He.Overview)?void 0:l[0])&&Ye.jsx(K2,{data:He.Overview[1]}),"Overview3"==(null==(o=He.Overview)?void 0:o[0])&&Ye.jsx(r5,{data:He.Overview[1]})]}),Ye.jsxs(a.Suspense,{fallback:null,children:[Ye.jsx("div",{id:"ShowCase",children:"Showcase1"==(null==(d=He.Showcase)?void 0:d[0])&&Ye.jsx(o8,{data:null==(u=null==(c=He.Showcase[1])?void 0:c[0])?void 0:u.FieldValue},"ShowCase")}),Ye.jsx("div",{id:"Appview",children:"Appview1"==(null==(p=He.Appview)?void 0:p[0])&&Ye.jsx(o8,{data:null==(h=null==(A=He.Appview[1])?void 0:A[0])?void 0:h.FieldValue},"Appview")}),Ye.jsx("div",{id:"Testimonials",children:"Testimonials1"==(null==(f=He.Testimonials)?void 0:f[0])&&Ye.jsx(d8,{isDefault:!1})}),Ye.jsxs("div",{id:"Features",children:["Features1"==(null==(m=He.Features)?void 0:m[0])&&Ye.jsx(G6,{data:He.Features[1]}),"Features2"==(null==(v=He.Features)?void 0:v[0])&&Ye.jsx($6,{data:He.Features[1]}),"Features3"==(null==(g=He.Features)?void 0:g[0])&&Ye.jsx(X6,{data:He.Features[1]})]}),Ye.jsxs("div",{id:"Pricing",children:["Pricing1"==(null==(y=He.Pricing)?void 0:y[0])&&Ye.jsx(J6,{data:He.Pricing[1],AdminId:Ve||(null==(x=null==Ke?void 0:Ke.state)?void 0:x.AdminId)}),"Pricing2"==(null==(b=He.Pricing)?void 0:b[0])&&Ye.jsx(Z6,{data:He.Pricing[1],AdminId:Ve||(null==(w=null==Ke?void 0:Ke.state)?void 0:w.AdminId)}),"Pricing3"==(null==(j=He.Pricing)?void 0:j[0])&&Ye.jsx(e8,{data:He.Pricing[1],AdminId:Ve||(null==(C=null==Ke?void 0:Ke.state)?void 0:C.AdminId)})]}),Ye.jsxs("div",{id:"Faq",children:["Faq1"==(null==(S=He.Faq)?void 0:S[0])&&Ye.jsx(t8,{data:He.Faq[1]}),"Faq2"==(null==(N=He.Faq)?void 0:N[0])&&Ye.jsx(n8,{data:He.Faq[1]}),"Faq3"==(null==(I=He.Faq)?void 0:I[0])&&Ye.jsx(i8,{data:He.Faq[1]})]}),Ye.jsx("div",{id:"CTA",children:"CTA1"==(null==(F=He.CTA)?void 0:F[0])&&Ye.jsx(l8,{data:He.CTA[1]})}),Ye.jsxs("div",{id:"Footer",children:["Footer1"==(null==(B=He.Footer)?void 0:B[0])&&Ye.jsx(a8,{data:He.Footer[1]}),"Footer2"==(null==(P=He.Footer)?void 0:P[0])&&Ye.jsx(r8,{data:He.Footer[1]}),"Footer3"==(null==(k=He.Footer)?void 0:k[0])&&Ye.jsx(s8,{data:He.Footer[1]})]})]})]}),"Navbar1"===(null==(T=null==He?void 0:He.Navbar)?void 0:T[0])&&Ye.jsxs("div",{children:[Ye.jsxs("div",{id:"Navbar",style:{position:"sticky",top:"0px",zIndex:"3"},ref:Qe,children:["Navbar1"==(null==(E=He.Navbar)?void 0:E[0])&&Ye.jsx(U2,{data:He.Navbar[1]}),"Navbar2"==(null==(D=He.Navbar)?void 0:D[0])&&Ye.jsx(R2,{data:He.Navbar[1]}),"Navbar3"==(null==(L=He.Navbar)?void 0:L[0])&&Ye.jsx(j6,{data:He.Navbar[1]})]}),Ye.jsxs("div",{id:"Overview",children:["Overview1"==(null==(U=He.Overview)?void 0:U[0])&&Ye.jsx(q2,{data:He.Overview[1]}),"Overview2"==(null==(_=He.Overview)?void 0:_[0])&&Ye.jsx(K2,{data:He.Overview[1]}),"Overview3"==(null==(O=He.Overview)?void 0:O[0])&&Ye.jsx(r5,{data:He.Overview[1]})]}),Ye.jsxs(a.Suspense,{fallback:null,children:[Ye.jsx("div",{id:"ShowCase",children:"Showcase1"==(null==(M=He.Showcase)?void 0:M[0])&&Ye.jsx(o8,{data:null==(Q=null==(R=He.Showcase[1])?void 0:R[0])?void 0:Q.FieldValue},"ShowCase")}),Ye.jsx("div",{id:"Appview",children:"Appview1"==(null==(H=He.Appview)?void 0:H[0])&&Ye.jsx(o8,{data:null==(z=null==(V=He.Appview[1])?void 0:V[0])?void 0:z.FieldValue},"Appview")}),Ye.jsx("div",{id:"Testimonials",children:"Testimonials1"==(null==(q=He.Testimonials)?void 0:q[0])&&Ye.jsx(d8,{isDefault:!1})}),Ye.jsxs("div",{id:"Features",children:["Features1"==(null==(W=He.Features)?void 0:W[0])&&Ye.jsx(G6,{data:He.Features[1]}),"Features2"==(null==(Y=He.Features)?void 0:Y[0])&&Ye.jsx($6,{data:He.Features[1]}),"Features3"==(null==(K=He.Features)?void 0:K[0])&&Ye.jsx(X6,{data:He.Features[1]})]}),Ye.jsxs("div",{id:"Pricing",children:["Pricing1"==(null==(G=He.Pricing)?void 0:G[0])&&Ye.jsx(J6,{data:He.Pricing[1],AdminId:Ve||(null==($=null==Ke?void 0:Ke.state)?void 0:$.AdminId)}),"Pricing2"==(null==(X=He.Pricing)?void 0:X[0])&&Ye.jsx(Z6,{data:He.Pricing[1],AdminId:Ve||(null==(J=null==Ke?void 0:Ke.state)?void 0:J.AdminId)}),"Pricing3"==(null==(Z=He.Pricing)?void 0:Z[0])&&Ye.jsx(e8,{data:He.Pricing[1],AdminId:Ve||(null==(ee=null==Ke?void 0:Ke.state)?void 0:ee.AdminId)})]}),Ye.jsxs("div",{id:"Faq",children:["Faq1"==(null==(te=He.Faq)?void 0:te[0])&&Ye.jsx(t8,{data:He.Faq[1]}),"Faq2"==(null==(ne=He.Faq)?void 0:ne[0])&&Ye.jsx(n8,{data:He.Faq[1]}),"Faq3"==(null==(ie=He.Faq)?void 0:ie[0])&&Ye.jsx(i8,{data:He.Faq[1]})]}),Ye.jsx("div",{id:"CTA",children:"CTA1"==(null==(ae=He.CTA)?void 0:ae[0])&&Ye.jsx(l8,{data:He.CTA[1]})}),Ye.jsxs("div",{id:"Footer",children:["Footer1"==(null==(re=He.Footer)?void 0:re[0])&&Ye.jsx(a8,{data:He.Footer[1]}),"Footer2"==(null==(se=He.Footer)?void 0:se[0])&&Ye.jsx(r8,{data:He.Footer[1]}),"Footer3"==(null==(le=He.Footer)?void 0:le[0])&&Ye.jsx(s8,{data:He.Footer[1]})]})]})]}),"Navbar3"===(null==(oe=null==He?void 0:He.Navbar)?void 0:oe[0])&&Ye.jsxs("div",{children:[Ye.jsxs("div",{id:"Navbar",style:{position:"sticky",top:"0px",zIndex:"3"},ref:Qe,children:["Navbar1"==(null==(de=He.Navbar)?void 0:de[0])&&Ye.jsx(U2,{data:He.Navbar[1]}),"Navbar2"==(null==(ce=He.Navbar)?void 0:ce[0])&&Ye.jsx(R2,{data:He.Navbar[1]}),"Navbar3"==(null==(ue=He.Navbar)?void 0:ue[0])&&Ye.jsx(j6,{onNavigate:Ge,data:He.Navbar[1]})]}),Ye.jsxs("div",{id:"Overview",children:["Overview1"==(null==(pe=He.Overview)?void 0:pe[0])&&Ye.jsx(q2,{data:He.Overview[1]}),"Overview2"==(null==(Ae=He.Overview)?void 0:Ae[0])&&Ye.jsx(K2,{data:He.Overview[1]}),"Overview3"==(null==(he=He.Overview)?void 0:he[0])&&Ye.jsx(r5,{data:He.Overview[1]})]}),Ye.jsxs(a.Suspense,{fallback:null,children:[Ye.jsx("div",{id:"ShowCase",children:"Showcase1"==(null==(fe=He.Showcase)?void 0:fe[0])&&Ye.jsx(o8,{data:null==(ve=null==(me=He.Showcase[1])?void 0:me[0])?void 0:ve.FieldValue},"ShowCase")}),Ye.jsx("div",{id:"Appview",children:"Appview1"==(null==(ge=He.Appview)?void 0:ge[0])&&Ye.jsx(o8,{data:null==(xe=null==(ye=He.Appview[1])?void 0:ye[0])?void 0:xe.FieldValue},"Appview")}),Ye.jsx("div",{id:"Testimonials",children:"Testimonials1"==(null==(be=He.Testimonials)?void 0:be[0])&&Ye.jsx(d8,{isDefault:!1})}),Ye.jsxs("div",{id:"Features",children:["Features1"==(null==(we=He.Features)?void 0:we[0])&&Ye.jsx(G6,{data:He.Features[1]}),"Features2"==(null==(je=He.Features)?void 0:je[0])&&Ye.jsx($6,{data:He.Features[1]}),"Features3"==(null==(Ce=He.Features)?void 0:Ce[0])&&Ye.jsx(X6,{data:He.Features[1]})]}),Ye.jsxs("div",{id:"Pricing",children:["Pricing1"==(null==(Se=He.Pricing)?void 0:Se[0])&&Ye.jsx(J6,{data:He.Pricing[1],AdminId:Ve||(null==(Ne=null==Ke?void 0:Ke.state)?void 0:Ne.AdminId)}),"Pricing2"==(null==(Ie=He.Pricing)?void 0:Ie[0])&&Ye.jsx(Z6,{data:He.Pricing[1],AdminId:Ve||(null==(Fe=null==Ke?void 0:Ke.state)?void 0:Fe.AdminId)}),"Pricing3"==(null==(Be=He.Pricing)?void 0:Be[0])&&Ye.jsx(e8,{data:He.Pricing[1],AdminId:Ve||(null==(Pe=null==Ke?void 0:Ke.state)?void 0:Pe.AdminId)})]}),Ye.jsxs("div",{id:"Faq",children:["Faq1"==(null==(ke=He.Faq)?void 0:ke[0])&&Ye.jsx(t8,{data:He.Faq[1]}),"Faq2"==(null==(Te=He.Faq)?void 0:Te[0])&&Ye.jsx(n8,{data:He.Faq[1]}),"Faq3"===(null==(Ee=He.Faq)?void 0:Ee[0])&&Ye.jsxs("div",{style:{margin:"0 0 2rem 0",width:"100%",display:"flex",alignItems:"center",flexDirection:"row",justifyContent:"center",gap:"1rem"},children:[Ye.jsx("div",{style:{fontSize:"16px",fontWeight:"600",margin:"1rem 0",fontFamily:(null==ze?void 0:ze.head)?null==ze?void 0:ze.head:""},children:"View complete FAQ list"}),Ye.jsxs("button",{scrollToId:"backFaq",onClick:()=>Re("/home/Faq",{state:{faqData:He.Faq[1],from:Ke.pathname}}),style:{fontFamily:(null==ze?void 0:ze.para)?null==ze?void 0:ze.para:"",gap:"10px",border:"none",backgroundColor:"unset",display:"flex",alignItems:"center",color:"#000",cursor:"pointer",borderBottom:"1px solid #000"},children:["See all FAQs ",Ye.jsx(eL,{size:24})]})]})]}),Ye.jsx("div",{id:"CTA",children:"CTA1"==(null==(De=He.CTA)?void 0:De[0])&&Ye.jsx(l8,{data:He.CTA[1]})}),Ye.jsxs("div",{id:"Footer",children:["Footer1"==(null==(Le=He.Footer)?void 0:Le[0])&&Ye.jsx(a8,{data:He.Footer[1]}),"Footer2"==(null==(Ue=He.Footer)?void 0:Ue[0])&&Ye.jsx(r8,{data:He.Footer[1]}),"Footer3"==(null==(_e=He.Footer)?void 0:_e[0])&&Ye.jsx(s8,{data:He.Footer[1]})]})]})]})]}):Ye.jsx("div",{children:Ye.jsx(Q6,{})})})},u8="/home/",p8="/home/";var A8=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}();function h8(){A8.console&&"function"==typeof A8.console.log&&A8.console.log.apply(A8.console,arguments)}var f8={log:h8,warn:function(e){A8.console&&("function"==typeof A8.console.warn?A8.console.warn.apply(A8.console,arguments):h8.call(null,arguments))},error:function(e){A8.console&&("function"==typeof A8.console.error?A8.console.error.apply(A8.console,arguments):h8(e))}};function m8(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){b8(i.response,t,n)},i.onerror=function(){f8.error("could not download file")},i.send()}function v8(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(n){}return t.status>=200&&t.status<=299}function g8(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var y8,x8,b8=A8.saveAs||("object"!==("undefined"==typeof window?"undefined":p(window))||window!==A8?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var i=A8.URL||A8.webkitURL,a=document.createElement("a");t=t||e.name||"download",a.download=t,a.rel="noopener","string"==typeof e?(a.href=e,a.origin!==location.origin?v8(a.href)?m8(e,t,n):g8(a,a.target="_blank"):g8(a)):(a.href=i.createObjectURL(e),setTimeout((function(){i.revokeObjectURL(a.href)}),4e4),setTimeout((function(){g8(a)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download","string"==typeof e)if(v8(e))m8(e,t,n);else{var i=document.createElement("a");i.href=e,i.target="_blank",setTimeout((function(){g8(i)}))}else navigator.msSaveOrOpenBlob((a=e,void 0===(r=n)?r={autoBom:!1}:"object"!==p(r)&&(f8.warn("Deprecated: Expected third argument to be a object"),r={autoBom:!r}),r.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob([String.fromCharCode(65279),a],{type:a.type}):a),t);var a,r}:function(e,t,n,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return m8(e,t,n);var a="application/octet-stream"===e.type,r=/constructor/i.test(A8.HTMLElement)||A8.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||a&&r)&&"object"===("undefined"==typeof FileReader?"undefined":p(FileReader))){var l=new FileReader;l.onloadend=function(){var e=l.result;e=s?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location=e,i=null},l.readAsDataURL(e)}else{var o=A8.URL||A8.webkitURL,d=o.createObjectURL(e);i?i.location=d:location.href=d,i=null,setTimeout((function(){o.revokeObjectURL(d)}),4e4)}}); +/** + * A class to parse color values + * @author Stoyan Stefanov <sstoo@gmail.com> + * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} + * @license Use it if you like it + */function w8(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],i=0;i<n.length;i++){var a=n[i].re,r=n[i].process,s=a.exec(e);s&&(t=r(s),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}} +/** + * @license + * Joseph Myers does not specify a particular license for his work. + * + * Author: Joseph Myers + * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js + * + * Modified by: Owen Leong + */function j8(e,t){var n=e[0],i=e[1],a=e[2],r=e[3];n=S8(n,i,a,r,t[0],7,-680876936),r=S8(r,n,i,a,t[1],12,-389564586),a=S8(a,r,n,i,t[2],17,606105819),i=S8(i,a,r,n,t[3],22,-1044525330),n=S8(n,i,a,r,t[4],7,-176418897),r=S8(r,n,i,a,t[5],12,1200080426),a=S8(a,r,n,i,t[6],17,-1473231341),i=S8(i,a,r,n,t[7],22,-45705983),n=S8(n,i,a,r,t[8],7,1770035416),r=S8(r,n,i,a,t[9],12,-1958414417),a=S8(a,r,n,i,t[10],17,-42063),i=S8(i,a,r,n,t[11],22,-1990404162),n=S8(n,i,a,r,t[12],7,1804603682),r=S8(r,n,i,a,t[13],12,-40341101),a=S8(a,r,n,i,t[14],17,-1502002290),n=N8(n,i=S8(i,a,r,n,t[15],22,1236535329),a,r,t[1],5,-165796510),r=N8(r,n,i,a,t[6],9,-1069501632),a=N8(a,r,n,i,t[11],14,643717713),i=N8(i,a,r,n,t[0],20,-373897302),n=N8(n,i,a,r,t[5],5,-701558691),r=N8(r,n,i,a,t[10],9,38016083),a=N8(a,r,n,i,t[15],14,-660478335),i=N8(i,a,r,n,t[4],20,-405537848),n=N8(n,i,a,r,t[9],5,568446438),r=N8(r,n,i,a,t[14],9,-1019803690),a=N8(a,r,n,i,t[3],14,-187363961),i=N8(i,a,r,n,t[8],20,1163531501),n=N8(n,i,a,r,t[13],5,-1444681467),r=N8(r,n,i,a,t[2],9,-51403784),a=N8(a,r,n,i,t[7],14,1735328473),n=I8(n,i=N8(i,a,r,n,t[12],20,-1926607734),a,r,t[5],4,-378558),r=I8(r,n,i,a,t[8],11,-2022574463),a=I8(a,r,n,i,t[11],16,1839030562),i=I8(i,a,r,n,t[14],23,-35309556),n=I8(n,i,a,r,t[1],4,-1530992060),r=I8(r,n,i,a,t[4],11,1272893353),a=I8(a,r,n,i,t[7],16,-155497632),i=I8(i,a,r,n,t[10],23,-1094730640),n=I8(n,i,a,r,t[13],4,681279174),r=I8(r,n,i,a,t[0],11,-358537222),a=I8(a,r,n,i,t[3],16,-722521979),i=I8(i,a,r,n,t[6],23,76029189),n=I8(n,i,a,r,t[9],4,-640364487),r=I8(r,n,i,a,t[12],11,-421815835),a=I8(a,r,n,i,t[15],16,530742520),n=F8(n,i=I8(i,a,r,n,t[2],23,-995338651),a,r,t[0],6,-198630844),r=F8(r,n,i,a,t[7],10,1126891415),a=F8(a,r,n,i,t[14],15,-1416354905),i=F8(i,a,r,n,t[5],21,-57434055),n=F8(n,i,a,r,t[12],6,1700485571),r=F8(r,n,i,a,t[3],10,-1894986606),a=F8(a,r,n,i,t[10],15,-1051523),i=F8(i,a,r,n,t[1],21,-2054922799),n=F8(n,i,a,r,t[8],6,1873313359),r=F8(r,n,i,a,t[15],10,-30611744),a=F8(a,r,n,i,t[6],15,-1560198380),i=F8(i,a,r,n,t[13],21,1309151649),n=F8(n,i,a,r,t[4],6,-145523070),r=F8(r,n,i,a,t[11],10,-1120210379),a=F8(a,r,n,i,t[2],15,718787259),i=F8(i,a,r,n,t[9],21,-343485551),e[0]=U8(n,e[0]),e[1]=U8(i,e[1]),e[2]=U8(a,e[2]),e[3]=U8(r,e[3])}function C8(e,t,n,i,a,r){return t=U8(U8(t,e),U8(i,r)),U8(t<<a|t>>>32-a,n)}function S8(e,t,n,i,a,r,s){return C8(t&n|~t&i,e,t,a,r,s)}function N8(e,t,n,i,a,r,s){return C8(t&i|n&~i,e,t,a,r,s)}function I8(e,t,n,i,a,r,s){return C8(t^n^i,e,t,a,r,s)}function F8(e,t,n,i,a,r,s){return C8(n^(t|~i),e,t,a,r,s)}function B8(e){var t,n=e.length,i=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)j8(i,P8(e.substring(t-64,t)));e=e.substring(t-64);var a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)a[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(a[t>>2]|=128<<(t%4<<3),t>55)for(j8(i,a),t=0;t<16;t++)a[t]=0;return a[14]=8*n,j8(i,a),i}function P8(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}y8=A8.atob.bind(A8),x8=A8.btoa.bind(A8);var k8="0123456789abcdef".split("");function T8(e){for(var t="",n=0;n<4;n++)t+=k8[e>>8*n+4&15]+k8[e>>8*n&15];return t}function E8(e){return String.fromCharCode(255&e,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function D8(e){return B8(e).map(E8).join("")}var L8="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=T8(e[t]);return e.join("")}(B8("hello"));function U8(e,t){if(L8){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295} +/** + * @license + * FPDF is released under a permissive license: there is no usage restriction. + * You may embed it freely in your application (commercial or not), with or + * without modifications. + * + * Reference: http://www.fpdf.org/en/script/script37.php + */function _8(e,t){var n,i,a,r;if(e!==n){for(var s=(a=e,r=1+(256/e.length|0),new Array(r+1).join(a)),l=[],o=0;o<256;o++)l[o]=o;var d=0;for(o=0;o<256;o++){var c=l[o];d=(d+c+s.charCodeAt(o))%256,l[o]=l[d],l[d]=c}n=e,i=l}else l=i;var u=t.length,p=0,A=0,h="";for(o=0;o<u;o++)A=(A+(c=l[p=(p+1)%256]))%256,l[p]=l[A],l[A]=c,s=l[(l[p]+l[A])%256],h+=String.fromCharCode(t.charCodeAt(o)^s);return h} +/** + * @license + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + * Author: Owen Leong (@owenl131) + * Date: 15 Oct 2020 + * References: + * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt + * https://github.com/foliojs/pdfkit/blob/master/lib/security.js + * http://www.fpdf.org/en/script/script37.php + */var O8={print:4,modify:8,copy:16,"annot-forms":32};function M8(e,t,n,i){this.v=1,this.r=2;var a=192;e.forEach((function(e){if(void 0!==O8.perm)throw new Error("Invalid permission: "+e);a+=O8[e]})),this.padding="(¿N^NuŠAd\0NVÿú\b..\0¶Ðh>€/\f©þdSiz";var r=(t+this.padding).substr(0,32),s=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(r,s),this.P=-(1+(255^a)),this.encryptionKey=D8(r+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(i)).substr(0,5),this.U=_8(this.encryptionKey,this.padding)}function R8(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,i=0;i<n;i++){var a=e.charCodeAt(i);t+=a<33||35===a||37===a||40===a||41===a||47===a||60===a||62===a||91===a||93===a||123===a||125===a||a>126?"#"+("0"+a.toString(16)).slice(-2):e[i]}return t}function Q8(e){if("object"!==p(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,n,i){if(i=i||!1,"string"!=typeof e||"function"!=typeof n||"boolean"!=typeof i)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var a=Math.random().toString(35);return t[e][a]=[n,!!i],a},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],0===Object.keys(t[n]).length&&delete t[n],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var i=Array.prototype.slice.call(arguments,1),a=[];for(var r in t[n]){var s=t[n][r];try{s[0].apply(e,i)}catch(l){A8.console&&f8.error("jsPDF PubSub Error",l.message,l)}s[1]&&a.push(r)}a.length&&a.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function H8(e){if(!(this instanceof H8))return new H8(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function V8(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function z8(e,t,n,i,a){if(!(this instanceof z8))return new z8(e,t,n,i,a);this.type="axial"===e?2:3,this.coords=t,this.colors=n,V8.call(this,i,a)}function q8(e,t,n,i,a){if(!(this instanceof q8))return new q8(e,t,n,i,a);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,V8.call(this,i,a)}function W8(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",i=arguments[1],a=arguments[2],r=arguments[3],s=[],l=1,o=16,d="S",c=null;"object"===p(e=e||{})&&(n=e.orientation,i=e.unit||i,a=e.format||a,r=e.compress||e.compressPdf||r,null!==(c=e.encryption||null)&&(c.userPassword=c.userPassword||"",c.ownerPassword=c.ownerPassword||"",c.userPermissions=c.userPermissions||[]),l="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(o=e.floatPrecision),d=e.defaultPathOperation||"S"),s=e.filters||(!0===r?["FlateEncode"]:s),i=i||"mm",n=(""+(n||"P")).toLowerCase();var u=e.putOnlyUsedFonts||!1,A={},h={internal:{},__private__:{}};h.__private__.PubSub=Q8;var f="1.3",m=h.__private__.getPdfVersion=function(){return f};h.__private__.setPdfVersion=function(e){f=e};var v={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};h.__private__.getPageFormats=function(){return v};var g=h.__private__.getPageFormat=function(e){return v[e]};a=a||"a4";var y="compat",x="advanced",b=y;function w(){this.saveGraphicsState(),J(new Te(Ae,0,0,-Ae,0,cn()*Ae).toString()+" cm"),this.setFontSize(this.getFontSize()/Ae),d="n",b=x}function j(){this.restoreGraphicsState(),d="S",b=y}var C=h.__private__.combineFontStyleAndFontWeight=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(e=400==t||"normal"===t?"italic"===e?"italic":"normal":700!=t&&"bold"!==t||"normal"!==e?(700==t?"bold":t)+""+e:"bold"),e};h.advancedAPI=function(e){var t=b===y;return t&&w.call(this),"function"!=typeof e||(e(this),t&&j.call(this)),this},h.compatAPI=function(e){var t=b===x;return t&&j.call(this),"function"!=typeof e||(e(this),t&&w.call(this)),this},h.isAdvancedAPI=function(){return b===x};var S,N=function(e){if(b!==x)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},I=h.roundToPrecision=h.__private__.roundToPrecision=function(e,n){var i=t||n;if(isNaN(e)||isNaN(i))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(i).replace(/0+$/,"")};S=h.hpf=h.__private__.hpf="number"==typeof o?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return I(e,o)}:"smart"===o?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return I(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return I(e,16)};var F=h.f2=h.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return I(e,2)},B=h.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return I(e,3)},P=h.scale=h.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return b===y?e*Ae:b===x?e:void 0},k=function(e){return P(function(e){return b===y?cn()-e:b===x?e:void 0}(e))};h.__private__.setPrecision=h.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var T,E="00000000000000000000000000000000",D=h.__private__.getFileId=function(){return E},L=h.__private__.setFileId=function(e){return E=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():E.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==c&&(yt=new M8(c.userPermissions,c.userPassword,c.ownerPassword,E)),E};h.setFileId=function(e){return L(e),this},h.getFileId=function(){return D()};var U=h.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",i=Math.floor(Math.abs(t/60)),a=Math.abs(t%60),r=[n,Q(i),"'",Q(a),"'"].join("");return["D:",e.getFullYear(),Q(e.getMonth()+1),Q(e.getDate()),Q(e.getHours()),Q(e.getMinutes()),Q(e.getSeconds()),r].join("")},_=h.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),n=parseInt(e.substr(6,2),10)-1,i=parseInt(e.substr(8,2),10),a=parseInt(e.substr(10,2),10),r=parseInt(e.substr(12,2),10),s=parseInt(e.substr(14,2),10);return new Date(t,n,i,a,r,s,0)},O=h.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=U(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return T=t},M=h.__private__.getCreationDate=function(e){var t=T;return"jsDate"===e&&(t=_(T)),t};h.setCreationDate=function(e){return O(e),this},h.getCreationDate=function(e){return M(e)};var R,Q=h.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},H=h.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},V=0,z=[],q=[],W=0,Y=[],K=[],G=!1,$=q;h.__private__.setCustomOutputDestination=function(e){G=!0,$=e};var X=function(e){G||($=e)};h.__private__.resetCustomOutputDestination=function(){G=!1,$=q};var J=h.__private__.out=function(e){return e=e.toString(),W+=e.length+1,$.push(e),$},Z=h.__private__.write=function(e){return J(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},ee=h.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),i=new Uint8Array(n);t--;)i[t]=e.charCodeAt(t);return n},te=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];h.__private__.getStandardFonts=function(){return te};var ne=e.fontSize||16;h.__private__.setFontSize=h.setFontSize=function(e){return ne=b===x?e/Ae:e,this};var ie,ae=h.__private__.getFontSize=h.getFontSize=function(){return b===y?ne:ne*Ae},re=e.R2L||!1;h.__private__.setR2L=h.setR2L=function(e){return re=e,this},h.__private__.getR2L=h.getR2L=function(){return re};var se,le=h.__private__.setZoomMode=function(e){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))ie=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');ie=e}else ie=parseInt(e,10)};h.__private__.getZoomMode=function(){return ie};var oe,de=h.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');se=e};h.__private__.getPageMode=function(){return se};var ce=h.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');oe=e};h.__private__.getLayoutMode=function(){return oe},h.__private__.setDisplayMode=h.setDisplayMode=function(e,t,n){return le(e),ce(t),de(n),this};var ue={title:"",subject:"",author:"",keywords:"",creator:""};h.__private__.getDocumentProperty=function(e){if(-1===Object.keys(ue).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ue[e]},h.__private__.getDocumentProperties=function(){return ue},h.__private__.setDocumentProperties=h.setProperties=h.setDocumentProperties=function(e){for(var t in ue)ue.hasOwnProperty(t)&&e[t]&&(ue[t]=e[t]);return this},h.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(ue).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ue[e]=t};var pe,Ae,he,fe,me,ve={},ge={},ye=[],xe={},be={},we={},je={},Ce=null,Se=0,Ne=[],Ie=new Q8(h),Fe=e.hotfixes||[],Be={},Pe={},ke=[],Te=function e(t,n,i,a,r,s){if(!(this instanceof e))return new e(t,n,i,a,r,s);isNaN(t)&&(t=1),isNaN(n)&&(n=0),isNaN(i)&&(i=0),isNaN(a)&&(a=1),isNaN(r)&&(r=0),isNaN(s)&&(s=0),this._matrix=[t,n,i,a,r,s]};Object.defineProperty(Te.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Te.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Te.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Te.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Te.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Te.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Te.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Te.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Te.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Te.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Te.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Te.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Te.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Te.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Te.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Te.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Te.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(S).join(e)},Te.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,n=e.sx*this.shy+e.shy*this.sy,i=e.shx*this.sx+e.sy*this.shx,a=e.shx*this.shy+e.sy*this.sy,r=e.tx*this.sx+e.ty*this.shx+this.tx,s=e.tx*this.shy+e.ty*this.sy+this.ty;return new Te(t,n,i,a,r,s)},Te.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,i=this.sy,a=this.tx,r=this.ty,s=Math.sqrt(e*e+t*t),l=(e/=s)*n+(t/=s)*i;n-=e*l,i-=t*l;var o=Math.sqrt(n*n+i*i);return l/=o,e*(i/=o)<t*(n/=o)&&(e=-e,t=-t,l=-l,s=-s),{scale:new Te(s,0,0,o,0,0),translate:new Te(1,0,0,1,a,r),rotate:new Te(e,t,-t,e,0,0),skew:new Te(1,0,l,1,0,0)}},Te.prototype.toString=function(e){return this.join(" ")},Te.prototype.inversed=function(){var e=this.sx,t=this.shy,n=this.shx,i=this.sy,a=this.tx,r=this.ty,s=1/(e*i-t*n),l=i*s,o=-t*s,d=-n*s,c=e*s;return new Te(l,o,d,c,-l*a-d*r,-o*a-c*r)},Te.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,n=e.x*this.shy+e.y*this.sy+this.ty;return new nn(t,n)},Te.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),n=this.applyToPoint(new nn(e.x+e.w,e.y+e.h));return new an(t.x,t.y,n.x-t.x,n.y-t.y)},Te.prototype.clone=function(){var e=this.sx,t=this.shy,n=this.shx,i=this.sy,a=this.tx,r=this.ty;return new Te(e,t,n,i,a,r)},h.Matrix=Te;var Ee=h.matrixMult=function(e,t){return t.multiply(e)},De=new Te(1,0,0,1,0,0);h.unitMatrix=h.identityMatrix=De;var Le=function(e,t){if(!be[e]){var n=(t instanceof z8?"Sh":"P")+(Object.keys(xe).length+1).toString(10);t.id=n,be[e]=n,xe[n]=t,Ie.publish("addPattern",t)}};h.ShadingPattern=z8,h.TilingPattern=q8,h.addShadingPattern=function(e,t){return N("addShadingPattern()"),Le(e,t),this},h.beginTilingPattern=function(e){N("beginTilingPattern()"),sn(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},h.endTilingPattern=function(e,t){N("endTilingPattern()"),t.stream=K[R].join("\n"),Le(e,t),Ie.publish("endTilingPattern",t),ke.pop().restore()};var Ue=h.__private__.newObject=function(){var e=_e();return Oe(e,!0),e},_e=h.__private__.newObjectDeferred=function(){return V++,z[V]=function(){return W},V},Oe=function(e,t){return t="boolean"==typeof t&&t,z[e]=W,t&&J(e+" 0 obj"),e},Me=h.__private__.newAdditionalObject=function(){var e={objId:_e(),content:""};return Y.push(e),e},Re=_e(),Qe=_e(),He=h.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var n=parseFloat(t[0]);t=[n,n,n,"r"]}for(var i="#",a=0;a<3;a++)i+=("0"+Math.floor(255*parseFloat(t[a])).toString(16)).slice(-2);return i},Ve=h.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var n=e.ch1,i=e.ch2,a=e.ch3,r=e.ch4,s="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof n&&"#"!==n.charAt(0)){var l=new w8(n);if(l.ok)n=l.toHex();else if(!/^\d*\.?\d*$/.test(n))throw new Error('Invalid color "'+n+'" passed to jsPDF.encodeColorString.')}if("string"==typeof n&&/^#[0-9A-Fa-f]{3}$/.test(n)&&(n="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var o=parseInt(n.substr(1),16);n=o>>16&255,i=o>>8&255,a=255&o}if(void 0===i||void 0===r&&n===i&&i===a)if("string"==typeof n)t=n+" "+s[0];else if(2===e.precision)t=F(n/255)+" "+s[0];else t=B(n/255)+" "+s[0];else if(void 0===r||"object"===p(r)){if(r&&!isNaN(r.a)&&0===r.a)return["1.","1.","1.",s[1]].join(" ");if("string"==typeof n)t=[n,i,a,s[1]].join(" ");else if(2===e.precision)t=[F(n/255),F(i/255),F(a/255),s[1]].join(" ");else t=[B(n/255),B(i/255),B(a/255),s[1]].join(" ")}else if("string"==typeof n)t=[n,i,a,r,s[2]].join(" ");else if(2===e.precision)t=[F(n),F(i),F(a),F(r),s[2]].join(" ");else t=[B(n),B(i),B(a),B(r),s[2]].join(" ");return t},ze=h.__private__.getFilters=function(){return s},qe=h.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||ze(),i=e.alreadyAppliedFilters||[],a=e.addLength1||!1,r=t.length,s=e.objectId,l=function(e){return e};if(null!==c&&void 0===s)throw new Error("ObjectId must be passed to putStream for file encryption");null!==c&&(l=yt.encryptor(s,0));var o={};!0===n&&(n=["FlateEncode"]);var d=e.additionalKeyValues||[],u=(o=void 0!==W8.API.processDataByFilters?W8.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(i)?i.join(" "):i.toString());if(0!==o.data.length&&(d.push({key:"Length",value:o.data.length}),!0===a&&d.push({key:"Length1",value:r})),0!=u.length)if(u.split("/").length-1==1)d.push({key:"Filter",value:u});else{d.push({key:"Filter",value:"["+u+"]"});for(var p=0;p<d.length;p+=1)if("DecodeParms"===d[p].key){for(var A=[],h=0;h<o.reverseChain.split("/").length-1;h+=1)A.push("null");A.push(d[p].value),d[p].value="["+A.join(" ")+"]"}}J("<<");for(var f=0;f<d.length;f++)J("/"+d[f].key+" "+d[f].value);J(">>"),0!==o.data.length&&(J("stream"),J(l(o.data)),J("endstream"))},We=h.__private__.putPage=function(e){var t=e.number,n=e.data,i=e.objId,a=e.contentsObjId;Oe(i,!0),J("<</Type /Page"),J("/Parent "+e.rootDictionaryObjId+" 0 R"),J("/Resources "+e.resourceDictionaryObjId+" 0 R"),J("/MediaBox ["+parseFloat(S(e.mediaBox.bottomLeftX))+" "+parseFloat(S(e.mediaBox.bottomLeftY))+" "+S(e.mediaBox.topRightX)+" "+S(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&J("/CropBox ["+S(e.cropBox.bottomLeftX)+" "+S(e.cropBox.bottomLeftY)+" "+S(e.cropBox.topRightX)+" "+S(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&J("/BleedBox ["+S(e.bleedBox.bottomLeftX)+" "+S(e.bleedBox.bottomLeftY)+" "+S(e.bleedBox.topRightX)+" "+S(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&J("/TrimBox ["+S(e.trimBox.bottomLeftX)+" "+S(e.trimBox.bottomLeftY)+" "+S(e.trimBox.topRightX)+" "+S(e.trimBox.topRightY)+"]"),null!==e.artBox&&J("/ArtBox ["+S(e.artBox.bottomLeftX)+" "+S(e.artBox.bottomLeftY)+" "+S(e.artBox.topRightX)+" "+S(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&J("/UserUnit "+e.userUnit),Ie.publish("putPage",{objId:i,pageContext:Ne[t],pageNumber:t,page:n}),J("/Contents "+a+" 0 R"),J(">>"),J("endobj");var r=n.join("\n");return b===x&&(r+="\nQ"),Oe(a,!0),qe({data:r,filters:ze(),objectId:a}),J("endobj"),i},Ye=h.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=Se;e++)Ne[e].objId=_e(),Ne[e].contentsObjId=_e();for(e=1;e<=Se;e++)n.push(We({number:e,data:K[e],objId:Ne[e].objId,contentsObjId:Ne[e].contentsObjId,mediaBox:Ne[e].mediaBox,cropBox:Ne[e].cropBox,bleedBox:Ne[e].bleedBox,trimBox:Ne[e].trimBox,artBox:Ne[e].artBox,userUnit:Ne[e].userUnit,rootDictionaryObjId:Re,resourceDictionaryObjId:Qe}));Oe(Re,!0),J("<</Type /Pages");var i="/Kids [";for(t=0;t<Se;t++)i+=n[t]+" 0 R ";J(i+"]"),J("/Count "+Se),J(">>"),J("endobj"),Ie.publish("postPutPages")},Ke=function(e){Ie.publish("putFont",{font:e,out:J,newObject:Ue,putStream:qe}),!0!==e.isAlreadyPutted&&(e.objectNumber=Ue(),J("<<"),J("/Type /Font"),J("/BaseFont /"+R8(e.postScriptName)),J("/Subtype /Type1"),"string"==typeof e.encoding&&J("/Encoding /"+e.encoding),J("/FirstChar 32"),J("/LastChar 255"),J(">>"),J("endobj"))},Ge=function(e){e.objectNumber=Ue();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[S(e.x),S(e.y),S(e.x+e.width),S(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var n=e.pages[1].join("\n");qe({data:n,additionalKeyValues:t,objectId:e.objectNumber}),J("endobj")},$e=function(e,t){t||(t=21);var n=Ue(),i=function(e,t){var n,i=[],a=1/(t-1);for(n=0;n<1;n+=a)i.push(n);if(i.push(1),0!=e[0].offset){var r={offset:0,color:e[0].color};e.unshift(r)}if(1!=e[e.length-1].offset){var s={offset:1,color:e[e.length-1].color};e.push(s)}for(var l="",o=0,d=0;d<i.length;d++){for(n=i[d];n>e[o+1].offset;)o++;var c=e[o].offset,u=(n-c)/(e[o+1].offset-c),p=e[o].color,A=e[o+1].color;l+=H(Math.round((1-u)*p[0]+u*A[0]).toString(16))+H(Math.round((1-u)*p[1]+u*A[1]).toString(16))+H(Math.round((1-u)*p[2]+u*A[2]).toString(16))}return l.trim()}(e.colors,t),a=[];a.push({key:"FunctionType",value:"0"}),a.push({key:"Domain",value:"[0.0 1.0]"}),a.push({key:"Size",value:"["+t+"]"}),a.push({key:"BitsPerSample",value:"8"}),a.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),a.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),qe({data:i,additionalKeyValues:a,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),J("endobj"),e.objectNumber=Ue(),J("<< /ShadingType "+e.type),J("/ColorSpace /DeviceRGB");var r="/Coords ["+S(parseFloat(e.coords[0]))+" "+S(parseFloat(e.coords[1]))+" ";2===e.type?r+=S(parseFloat(e.coords[2]))+" "+S(parseFloat(e.coords[3])):r+=S(parseFloat(e.coords[2]))+" "+S(parseFloat(e.coords[3]))+" "+S(parseFloat(e.coords[4]))+" "+S(parseFloat(e.coords[5])),J(r+="]"),e.matrix&&J("/Matrix ["+e.matrix.toString()+"]"),J("/Function "+n+" 0 R"),J("/Extend [true true]"),J(">>"),J("endobj")},Xe=function(e,t){var n=_e(),i=Ue();t.push({resourcesOid:n,objectOid:i}),e.objectNumber=i;var a=[];a.push({key:"Type",value:"/Pattern"}),a.push({key:"PatternType",value:"1"}),a.push({key:"PaintType",value:"1"}),a.push({key:"TilingType",value:"1"}),a.push({key:"BBox",value:"["+e.boundingBox.map(S).join(" ")+"]"}),a.push({key:"XStep",value:S(e.xStep)}),a.push({key:"YStep",value:S(e.yStep)}),a.push({key:"Resources",value:n+" 0 R"}),e.matrix&&a.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),qe({data:e.stream,additionalKeyValues:a,objectId:e.objectNumber}),J("endobj")},Je=function(e){for(var t in e.objectNumber=Ue(),J("<<"),e)switch(t){case"opacity":J("/ca "+F(e[t]));break;case"stroke-opacity":J("/CA "+F(e[t]))}J(">>"),J("endobj")},Ze=function(e){Oe(e.resourcesOid,!0),J("<<"),J("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var e in J("/Font <<"),ve)ve.hasOwnProperty(e)&&(!1===u||!0===u&&A.hasOwnProperty(e))&&J("/"+e+" "+ve[e].objectNumber+" 0 R");J(">>")}(),function(){if(Object.keys(xe).length>0){for(var e in J("/Shading <<"),xe)xe.hasOwnProperty(e)&&xe[e]instanceof z8&&xe[e].objectNumber>=0&&J("/"+e+" "+xe[e].objectNumber+" 0 R");Ie.publish("putShadingPatternDict"),J(">>")}}(),function(e){if(Object.keys(xe).length>0){for(var t in J("/Pattern <<"),xe)xe.hasOwnProperty(t)&&xe[t]instanceof h.TilingPattern&&xe[t].objectNumber>=0&&xe[t].objectNumber<e&&J("/"+t+" "+xe[t].objectNumber+" 0 R");Ie.publish("putTilingPatternDict"),J(">>")}}(e.objectOid),function(){if(Object.keys(we).length>0){var e;for(e in J("/ExtGState <<"),we)we.hasOwnProperty(e)&&we[e].objectNumber>=0&&J("/"+e+" "+we[e].objectNumber+" 0 R");Ie.publish("putGStateDict"),J(">>")}}(),function(){for(var e in J("/XObject <<"),Be)Be.hasOwnProperty(e)&&Be[e].objectNumber>=0&&J("/"+e+" "+Be[e].objectNumber+" 0 R");Ie.publish("putXobjectDict"),J(">>")}(),J(">>"),J("endobj")},et=function(){var e=[];(function(){for(var e in ve)ve.hasOwnProperty(e)&&(!1===u||!0===u&&A.hasOwnProperty(e))&&Ke(ve[e])})(),function(){var e;for(e in we)we.hasOwnProperty(e)&&Je(we[e])}(),function(){for(var e in Be)Be.hasOwnProperty(e)&&Ge(Be[e])}(),function(e){var t;for(t in xe)xe.hasOwnProperty(t)&&(xe[t]instanceof z8?$e(xe[t]):xe[t]instanceof q8&&Xe(xe[t],e))}(e),Ie.publish("putResources"),e.forEach(Ze),Ze({resourcesOid:Qe,objectOid:Number.MAX_SAFE_INTEGER}),Ie.publish("postPutResources")},tt=function(e){ge[e.fontName]=ge[e.fontName]||{},ge[e.fontName][e.fontStyle]=e.id},nt=function(e,t,n,i,a){var r={id:"F"+(Object.keys(ve).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:n,encoding:i,isStandardFont:a||!1,metadata:{}};return Ie.publish("addFont",{font:r,instance:this}),ve[r.id]=r,tt(r),r.id},it=h.__private__.pdfEscape=h.pdfEscape=function(e,t){return function(e,t){var n,i,a,r,s,l,o,d,c;if(a=(t=t||{}).sourceEncoding||"Unicode",s=t.outputEncoding,(t.autoencode||s)&&ve[pe].metadata&&ve[pe].metadata[a]&&ve[pe].metadata[a].encoding&&(r=ve[pe].metadata[a].encoding,!s&&ve[pe].encoding&&(s=ve[pe].encoding),!s&&r.codePages&&(s=r.codePages[0]),"string"==typeof s&&(s=r[s]),s)){for(o=!1,l=[],n=0,i=e.length;n<i;n++)(d=s[e.charCodeAt(n)])?l.push(String.fromCharCode(d)):l.push(e[n]),l[n].charCodeAt(0)>>8&&(o=!0);e=l.join("")}for(n=e.length;void 0===o&&0!==n;)e.charCodeAt(n-1)>>8&&(o=!0),n--;if(!o)return e;for(l=t.noBOM?[]:[254,255],n=0,i=e.length;n<i;n++){if((c=(d=e.charCodeAt(n))>>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");l.push(c),l.push(d-(c<<8))}return String.fromCharCode.apply(void 0,l)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},at=h.__private__.beginPage=function(e){K[++Se]=[],Ne[Se]={objId:0,contentsObjId:0,userUnit:Number(l),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},lt(Se),X(K[R])},rt=function(e,t){var i,r,s;switch(n=t||n,"string"==typeof e&&(i=g(e.toLowerCase()),Array.isArray(i)&&(r=i[0],s=i[1])),Array.isArray(e)&&(r=e[0]*Ae,s=e[1]*Ae),isNaN(r)&&(r=a[0],s=a[1]),(r>14400||s>14400)&&(f8.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),r=Math.min(14400,r),s=Math.min(14400,s)),a=[r,s],n.substr(0,1)){case"l":s>r&&(a=[s,r]);break;case"p":r>s&&(a=[s,r])}at(a),Mt(_t),J(Yt),0!==Zt&&J(Zt+" J"),0!==en&&J(en+" j"),Ie.publish("addPage",{pageNumber:Se})},st=function(e){e>0&&e<=Se&&(K.splice(e,1),Ne.splice(e,1),Se--,R>Se&&(R=Se),this.setPage(R))},lt=function(e){e>0&&e<=Se&&(R=e)},ot=h.__private__.getNumberOfPages=h.getNumberOfPages=function(){return K.length-1},dt=function(e,t,n){var i,a=void 0;return n=n||{},e=void 0!==e?e:ve[pe].fontName,t=void 0!==t?t:ve[pe].fontStyle,i=e.toLowerCase(),void 0!==ge[i]&&void 0!==ge[i][t]?a=ge[i][t]:void 0!==ge[e]&&void 0!==ge[e][t]?a=ge[e][t]:!1===n.disableWarning&&f8.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),a||n.noFallback||null==(a=ge.times[t])&&(a=ge.times.normal),a},ct=h.__private__.putInfo=function(){var e=Ue(),t=function(e){return e};for(var n in null!==c&&(t=yt.encryptor(e,0)),J("<<"),J("/Producer ("+it(t("jsPDF "+W8.version))+")"),ue)ue.hasOwnProperty(n)&&ue[n]&&J("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+it(t(ue[n]))+")");J("/CreationDate ("+it(t(T))+")"),J(">>"),J("endobj")},ut=h.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Re;switch(Ue(),J("<<"),J("/Type /Catalog"),J("/Pages "+t+" 0 R"),ie||(ie="fullwidth"),ie){case"fullwidth":J("/OpenAction [3 0 R /FitH null]");break;case"fullheight":J("/OpenAction [3 0 R /FitV null]");break;case"fullpage":J("/OpenAction [3 0 R /Fit]");break;case"original":J("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+ie;"%"===n.substr(n.length-1)&&(ie=parseInt(ie)/100),"number"==typeof ie&&J("/OpenAction [3 0 R /XYZ null null "+F(ie)+"]")}switch(oe||(oe="continuous"),oe){case"continuous":J("/PageLayout /OneColumn");break;case"single":J("/PageLayout /SinglePage");break;case"two":case"twoleft":J("/PageLayout /TwoColumnLeft");break;case"tworight":J("/PageLayout /TwoColumnRight")}se&&J("/PageMode /"+se),Ie.publish("putCatalog"),J(">>"),J("endobj")},pt=h.__private__.putTrailer=function(){J("trailer"),J("<<"),J("/Size "+(V+1)),J("/Root "+V+" 0 R"),J("/Info "+(V-1)+" 0 R"),null!==c&&J("/Encrypt "+yt.oid+" 0 R"),J("/ID [ <"+E+"> <"+E+"> ]"),J(">>")},At=h.__private__.putHeader=function(){J("%PDF-"+f),J("%ºß¬à")},ht=h.__private__.putXRef=function(){var e="0000000000";J("xref"),J("0 "+(V+1)),J("0000000000 65535 f ");for(var t=1;t<=V;t++)"function"==typeof z[t]?J((e+z[t]()).slice(-10)+" 00000 n "):void 0!==z[t]?J((e+z[t]).slice(-10)+" 00000 n "):J("0000000000 00000 n ")},ft=h.__private__.buildDocument=function(){V=0,W=0,q=[],z=[],Y=[],Re=_e(),Qe=_e(),X(q),Ie.publish("buildDocument"),At(),Ye(),function(){Ie.publish("putAdditionalObjects");for(var e=0;e<Y.length;e++){var t=Y[e];Oe(t.objId,!0),J(t.content),J("endobj")}Ie.publish("postPutAdditionalObjects")}(),et(),null!==c&&(yt.oid=Ue(),J("<<"),J("/Filter /Standard"),J("/V "+yt.v),J("/R "+yt.r),J("/U <"+yt.toHexString(yt.U)+">"),J("/O <"+yt.toHexString(yt.O)+">"),J("/P "+yt.P),J(">>"),J("endobj")),ct(),ut();var e=W;return ht(),pt(),J("startxref"),J(""+e),J("%%EOF"),X(K[R]),q.join("\n")},mt=h.__private__.getBlob=function(e){return new Blob([ee(e)],{type:"application/pdf"})},vt=h.output=h.__private__.output=function(e){return e.foo=function(){try{return e.apply(this,arguments)}catch(i){var t=i.stack||"";~t.indexOf(" at ")&&(t=t.split(" at ")[1]);var n="Error in function "+t.split("\n")[0].split("<")[0]+": "+i.message;if(!A8.console)throw new Error(n);A8.console.error(n,i),A8.alert&&alert(n)}},e.foo.bar=e,e.foo}((function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return ft();case"save":h.save(t.filename);break;case"arraybuffer":return ee(ft());case"blob":return mt(ft());case"bloburi":case"bloburl":if(void 0!==A8.URL&&"function"==typeof A8.URL.createObjectURL)return A8.URL&&A8.URL.createObjectURL(mt(ft()))||void 0;f8.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var n="",i=ft();try{n=x8(i)}catch(A){n=x8(unescape(encodeURIComponent(i)))}return"data:application/pdf;filename="+t.filename+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(A8)){var a="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",r=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(a=t.pdfObjectUrl,r="");var s='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+a+'"'+r+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",l=A8.open();return null!==l&&l.document.write(s),l}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(A8)){var o='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',d=A8.open();if(null!==d){d.document.write(o);var c=this;d.document.documentElement.querySelector("#pdfViewer").onload=function(){d.document.title=t.filename,d.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(c.output("bloburl"))}}return d}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(A8))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var u='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',p=A8.open();if(null!==p&&(p.document.write(u),p.document.title=t.filename),p||"undefined"==typeof safari)return p;break;case"datauri":case"dataurl":return A8.document.location.href=this.output("datauristring",t);default:return null}})),gt=function(e){return!0===Array.isArray(Fe)&&Fe.indexOf(e)>-1};switch(i){case"pt":Ae=1;break;case"mm":Ae=72/25.4;break;case"cm":Ae=72/2.54;break;case"in":Ae=72;break;case"px":Ae=1==gt("px_scaling")?.75:96/72;break;case"pc":case"em":Ae=12;break;case"ex":Ae=6;break;default:if("number"!=typeof i)throw new Error("Invalid unit: "+i);Ae=i}var yt=null;O(),L();var xt=h.__private__.getPageInfo=h.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Ne[e].objId,pageNumber:e,pageContext:Ne[e]}},bt=h.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in Ne)if(Ne[t].objId===e)break;return xt(t)},wt=h.__private__.getCurrentPageInfo=h.getCurrentPageInfo=function(){return{objId:Ne[R].objId,pageNumber:R,pageContext:Ne[R]}};h.addPage=function(){return rt.apply(this,arguments),this},h.setPage=function(){return lt.apply(this,arguments),X.call(this,K[R]),this},h.insertPage=function(e){return this.addPage(),this.movePage(R,e),this},h.movePage=function(e,t){var n,i;if(e>t){n=K[e],i=Ne[e];for(var a=e;a>t;a--)K[a]=K[a-1],Ne[a]=Ne[a-1];K[t]=n,Ne[t]=i,this.setPage(t)}else if(e<t){n=K[e],i=Ne[e];for(var r=e;r<t;r++)K[r]=K[r+1],Ne[r]=Ne[r+1];K[t]=n,Ne[t]=i,this.setPage(t)}return this},h.deletePage=function(){return st.apply(this,arguments),this},h.__private__.text=h.text=function(e,t,n,i,a){var r,s,l,o,d,c,u,h,f,m=(i=i||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof n||Array.isArray(n))){var v=n;n=t,t=e,e=v}if(arguments[3]instanceof Te==0?(l=arguments[4],o=arguments[5],"object"===p(u=arguments[3])&&null!==u||("string"==typeof l&&(o=l,l=null),"string"==typeof u&&(o=u,u=null),"number"==typeof u&&(l=u,u=null),i={flags:u,angle:l,align:o})):(N("The transform parameter of text() with a Matrix value"),f=a),isNaN(t)||isNaN(n)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return m;var g,y="",w="number"==typeof i.lineHeightFactor?i.lineHeightFactor:Ut,j=m.internal.scaleFactor;function C(e){return e=e.split("\t").join(Array(i.TabLen||9).join(" ")),it(e,u)}function I(e){for(var t,n=e.concat(),i=[],a=n.length;a--;)"string"==typeof(t=n.shift())?i.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?i.push(t[0]):i.push([t[0],t[1],t[2]]);return i}function F(e,t){var n;if("string"==typeof e)n=t(e)[0];else if(Array.isArray(e)){for(var i,a,r=e.concat(),s=[],l=r.length;l--;)"string"==typeof(i=r.shift())?s.push(t(i)[0]):Array.isArray(i)&&"string"==typeof i[0]&&(a=t(i[0],i[1],i[2]),s.push([a[0],a[1],a[2]]));n=s}return n}var B=!1,k=!0;if("string"==typeof e)B=!0;else if(Array.isArray(e)){var T=e.concat();s=[];for(var E,D=T.length;D--;)("string"!=typeof(E=T.shift())||Array.isArray(E)&&"string"!=typeof E[0])&&(k=!1);B=k}if(!1===B)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var L=ne/m.internal.scaleFactor,U=L*(w-1);switch(i.baseline){case"bottom":n-=U;break;case"top":n+=L-U;break;case"hanging":n+=L-2*U;break;case"middle":n+=L/2-U}if((c=i.maxWidth||0)>0&&("string"==typeof e?e=m.splitTextToSize(e,c):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(m.splitTextToSize(t,c))}),[]))),r={text:e,x:t,y:n,options:i,mutex:{pdfEscape:it,activeFontKey:pe,fonts:ve,activeFontSize:ne}},Ie.publish("preProcessText",r),e=r.text,l=(i=r.options).angle,f instanceof Te==0&&l&&"number"==typeof l){l*=Math.PI/180,0===i.rotationDirection&&(l=-l),b===x&&(l=-l);var _=Math.cos(l),O=Math.sin(l);f=new Te(_,O,-O,_,0,0)}else l&&l instanceof Te&&(f=l);b!==x||f||(f=De),void 0!==(d=i.charSpace||Xt)&&(y+=S(P(d))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(h=i.horizontalScale)&&(y+=S(100*h)+" Tz\n"),i.lang;var M=-1,R=void 0!==i.renderingMode?i.renderingMode:i.stroke,Q=m.internal.getCurrentPageInfo().pageContext;switch(R){case 0:case!1:case"fill":M=0;break;case 1:case!0:case"stroke":M=1;break;case 2:case"fillThenStroke":M=2;break;case 3:case"invisible":M=3;break;case 4:case"fillAndAddForClipping":M=4;break;case 5:case"strokeAndAddPathForClipping":M=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":M=6;break;case 7:case"addToPathForClipping":M=7}var H=void 0!==Q.usedRenderingMode?Q.usedRenderingMode:-1;-1!==M?y+=M+" Tr\n":-1!==H&&(y+="0 Tr\n"),-1!==M&&(Q.usedRenderingMode=M),o=i.align||"left";var V,z=ne*w,q=m.internal.pageSize.getWidth(),W=ve[pe];d=i.charSpace||Xt,c=i.maxWidth||0,u=Object.assign({autoencode:!0,noBOM:!0},i.flags);var Y=[],K=function(e){return m.getStringUnitWidth(e,{font:W,charSpace:d,fontSize:ne,doKerning:!1})*ne/j};if("[object Array]"===Object.prototype.toString.call(e)){var G;s=I(e),"left"!==o&&(V=s.map(K));var $,X=0;if("right"===o){t-=V[0],e=[],D=s.length;for(var Z=0;Z<D;Z++)0===Z?($=Vt(t),G=zt(n)):($=P(X-V[Z]),G=-z),e.push([s[Z],$,G]),X=V[Z]}else if("center"===o){t-=V[0]/2,e=[],D=s.length;for(var ee=0;ee<D;ee++)0===ee?($=Vt(t),G=zt(n)):($=P((X-V[ee])/2),G=-z),e.push([s[ee],$,G]),X=V[ee]}else if("left"===o){e=[],D=s.length;for(var te=0;te<D;te++)e.push(s[te])}else if("justify"===o&&"Identity-H"===W.encoding){e=[],D=s.length,c=0!==c?c:q;for(var ie=0,ae=0;ae<D;ae++)if(G=0===ae?zt(n):-z,$=0===ae?Vt(t):ie,ae<D-1){var se=P((c-V[ae])/(s[ae].split(" ").length-1)),le=s[ae].split(" ");e.push([le[0]+" ",$,G]),ie=0;for(var oe=1;oe<le.length;oe++){var de=(K(le[oe-1]+" "+le[oe])-K(le[oe]))*j+se;oe==le.length-1?e.push([le[oe],de,0]):e.push([le[oe]+" ",de,0]),ie-=de}}else e.push([s[ae],$,G]);e.push(["",ie,0])}else{if("justify"!==o)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(e=[],D=s.length,c=0!==c?c:q,ae=0;ae<D;ae++)G=0===ae?zt(n):-z,$=0===ae?Vt(t):0,ae<D-1?Y.push(S(P((c-V[ae])/(s[ae].split(" ").length-1)))):Y.push(0),e.push([s[ae],$,G])}}!0===("boolean"==typeof i.R2L?i.R2L:re)&&(e=F(e,(function(e,t,n){return[e.split("").reverse().join(""),t,n]}))),r={text:e,x:t,y:n,options:i,mutex:{pdfEscape:it,activeFontKey:pe,fonts:ve,activeFontSize:ne}},Ie.publish("postProcessText",r),e=r.text,g=r.mutex.isHex||!1;var ce=ve[pe].encoding;"WinAnsiEncoding"!==ce&&"StandardEncoding"!==ce||(e=F(e,(function(e,t,n){return[C(e),t,n]}))),s=I(e),e=[];for(var ue,Ae,he,fe=Array.isArray(s[0])?1:0,me="",ge=function(e,t,n){var a="";return n instanceof Te?(n="number"==typeof i.angle?Ee(n,new Te(1,0,0,1,e,t)):Ee(new Te(1,0,0,1,e,t),n),b===x&&(n=Ee(new Te(1,0,0,-1,0,0),n)),a=n.join(" ")+" Tm\n"):a=S(e)+" "+S(t)+" Td\n",a},ye=0;ye<s.length;ye++){switch(me="",fe){case 1:he=(g?"<":"(")+s[ye][0]+(g?">":")"),ue=parseFloat(s[ye][1]),Ae=parseFloat(s[ye][2]);break;case 0:he=(g?"<":"(")+s[ye]+(g?">":")"),ue=Vt(t),Ae=zt(n)}void 0!==Y&&void 0!==Y[ye]&&(me=Y[ye]+" Tw\n"),0===ye?e.push(me+ge(ue,Ae,f)+he):0===fe?e.push(me+he):1===fe&&e.push(me+ge(ue,Ae,f)+he)}e=0===fe?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var xe="BT\n/";return xe+=pe+" "+ne+" Tf\n",xe+=S(ne*w)+" TL\n",xe+=Gt+"\n",xe+=y,xe+=e,J(xe+="ET"),A[pe]=!0,m};var jt=h.__private__.clip=h.clip=function(e){return J("evenodd"===e?"W*":"W"),this};h.clipEvenOdd=function(){return jt("evenodd")},h.__private__.discardPath=h.discardPath=function(){return J("n"),this};var Ct=h.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};h.__private__.setDefaultPathOperation=h.setDefaultPathOperation=function(e){return Ct(e)&&(d=e),this};var St=h.__private__.getStyle=h.getStyle=function(e){var t=d;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},Nt=h.close=function(){return J("h"),this};h.stroke=function(){return J("S"),this},h.fill=function(e){return It("f",e),this},h.fillEvenOdd=function(e){return It("f*",e),this},h.fillStroke=function(e){return It("B",e),this},h.fillStrokeEvenOdd=function(e){return It("B*",e),this};var It=function(e,t){"object"===p(t)?Pt(t,e):J(e)},Ft=function(e){null===e||b===x&&void 0===e||(e=St(e),J(e))};function Bt(e,t,n,i,a){var r=new q8(t||this.boundingBox,n||this.xStep,i||this.yStep,this.gState,a||this.matrix);r.stream=this.stream;var s=e+"$$"+this.cloneIndex+++"$$";return Le(s,r),r}var Pt=function(e,t){var n=be[e.key],i=xe[n];if(i instanceof z8)J("q"),J(kt(t)),i.gState&&h.setGState(i.gState),J(e.matrix.toString()+" cm"),J("/"+n+" sh"),J("Q");else if(i instanceof q8){var a=new Te(1,0,0,-1,0,cn());e.matrix&&(a=a.multiply(e.matrix||De),n=Bt.call(i,e.key,e.boundingBox,e.xStep,e.yStep,a).id),J("q"),J("/Pattern cs"),J("/"+n+" scn"),i.gState&&h.setGState(i.gState),J(t),J("Q")}},kt=function(e){switch(e){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Tt=h.moveTo=function(e,t){return J(S(P(e))+" "+S(k(t))+" m"),this},Et=h.lineTo=function(e,t){return J(S(P(e))+" "+S(k(t))+" l"),this},Dt=h.curveTo=function(e,t,n,i,a,r){return J([S(P(e)),S(k(t)),S(P(n)),S(k(i)),S(P(a)),S(k(r)),"c"].join(" ")),this};h.__private__.line=h.line=function(e,t,n,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||!Ct(a))throw new Error("Invalid arguments passed to jsPDF.line");return b===y?this.lines([[n-e,i-t]],e,t,[1,1],a||"S"):this.lines([[n-e,i-t]],e,t,[1,1]).stroke()},h.__private__.lines=h.lines=function(e,t,n,i,a,r){var s,l,o,d,c,u,p,A,h,f,m,v;if("number"==typeof e&&(v=n,n=t,t=e,e=v),i=i||[1,1],r=r||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(i)||!Ct(a)||"boolean"!=typeof r)throw new Error("Invalid arguments passed to jsPDF.lines");for(Tt(t,n),s=i[0],l=i[1],d=e.length,f=t,m=n,o=0;o<d;o++)2===(c=e[o]).length?(f=c[0]*s+f,m=c[1]*l+m,Et(f,m)):(u=c[0]*s+f,p=c[1]*l+m,A=c[2]*s+f,h=c[3]*l+m,f=c[4]*s+f,m=c[5]*l+m,Dt(u,p,A,h,f,m));return r&&Nt(),Ft(a),this},h.path=function(e){for(var t=0;t<e.length;t++){var n=e[t],i=n.c;switch(n.op){case"m":Tt(i[0],i[1]);break;case"l":Et(i[0],i[1]);break;case"c":Dt.apply(this,i);break;case"h":Nt()}}return this},h.__private__.rect=h.rect=function(e,t,n,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||!Ct(a))throw new Error("Invalid arguments passed to jsPDF.rect");return b===y&&(i=-i),J([S(P(e)),S(k(t)),S(P(n)),S(P(i)),"re"].join(" ")),Ft(a),this},h.__private__.triangle=h.triangle=function(e,t,n,i,a,r,s){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||isNaN(a)||isNaN(r)||!Ct(s))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-e,i-t],[a-n,r-i],[e-a,t-r]],e,t,[1,1],s,!0),this},h.__private__.roundedRect=h.roundedRect=function(e,t,n,i,a,r,s){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||isNaN(a)||isNaN(r)||!Ct(s))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var l=4/3*(Math.SQRT2-1);return a=Math.min(a,.5*n),r=Math.min(r,.5*i),this.lines([[n-2*a,0],[a*l,0,a,r-r*l,a,r],[0,i-2*r],[0,r*l,-a*l,r,-a,r],[2*a-n,0],[-a*l,0,-a,-r*l,-a,-r],[0,2*r-i],[0,-r*l,a*l,-r,a,-r]],e+a,t,[1,1],s,!0),this},h.__private__.ellipse=h.ellipse=function(e,t,n,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||!Ct(a))throw new Error("Invalid arguments passed to jsPDF.ellipse");var r=4/3*(Math.SQRT2-1)*n,s=4/3*(Math.SQRT2-1)*i;return Tt(e+n,t),Dt(e+n,t-s,e+r,t-i,e,t-i),Dt(e-r,t-i,e-n,t-s,e-n,t),Dt(e-n,t+s,e-r,t+i,e,t+i),Dt(e+r,t+i,e+n,t+s,e+n,t),Ft(a),this},h.__private__.circle=h.circle=function(e,t,n,i){if(isNaN(e)||isNaN(t)||isNaN(n)||!Ct(i))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,n,n,i)},h.setFont=function(e,t,n){return n&&(t=C(t,n)),pe=dt(e,t,{disableWarning:!1}),this};var Lt=h.__private__.getFont=h.getFont=function(){return ve[dt.apply(h,arguments)]};h.__private__.getFontList=h.getFontList=function(){var e,t,n={};for(e in ge)if(ge.hasOwnProperty(e))for(t in n[e]=[],ge[e])ge[e].hasOwnProperty(t)&&n[e].push(t);return n},h.addFont=function(e,t,n,i,a){var r=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==r.indexOf(arguments[3])?a=arguments[3]:arguments[3]&&-1==r.indexOf(arguments[3])&&(n=C(n,i)),nt.call(this,e,t,n,a=a||"Identity-H")};var Ut,_t=e.lineWidth||.200025,Ot=h.__private__.getLineWidth=h.getLineWidth=function(){return _t},Mt=h.__private__.setLineWidth=h.setLineWidth=function(e){return _t=e,J(S(P(e))+" w"),this};h.__private__.setLineDash=W8.API.setLineDash=W8.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map((function(e){return S(P(e))})).join(" "),t=S(P(t)),J("["+e+"] "+t+" d"),this};var Rt=h.__private__.getLineHeight=h.getLineHeight=function(){return ne*Ut};h.__private__.getLineHeight=h.getLineHeight=function(){return ne*Ut};var Qt=h.__private__.setLineHeightFactor=h.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(Ut=e),this},Ht=h.__private__.getLineHeightFactor=h.getLineHeightFactor=function(){return Ut};Qt(e.lineHeight);var Vt=h.__private__.getHorizontalCoordinate=function(e){return P(e)},zt=h.__private__.getVerticalCoordinate=function(e){return b===x?e:Ne[R].mediaBox.topRightY-Ne[R].mediaBox.bottomLeftY-P(e)},qt=h.__private__.getHorizontalCoordinateString=h.getHorizontalCoordinateString=function(e){return S(Vt(e))},Wt=h.__private__.getVerticalCoordinateString=h.getVerticalCoordinateString=function(e){return S(zt(e))},Yt=e.strokeColor||"0 G";h.__private__.getStrokeColor=h.getDrawColor=function(){return He(Yt)},h.__private__.setStrokeColor=h.setDrawColor=function(e,t,n,i){return Yt=Ve({ch1:e,ch2:t,ch3:n,ch4:i,pdfColorType:"draw",precision:2}),J(Yt),this};var Kt=e.fillColor||"0 g";h.__private__.getFillColor=h.getFillColor=function(){return He(Kt)},h.__private__.setFillColor=h.setFillColor=function(e,t,n,i){return Kt=Ve({ch1:e,ch2:t,ch3:n,ch4:i,pdfColorType:"fill",precision:2}),J(Kt),this};var Gt=e.textColor||"0 g",$t=h.__private__.getTextColor=h.getTextColor=function(){return He(Gt)};h.__private__.setTextColor=h.setTextColor=function(e,t,n,i){return Gt=Ve({ch1:e,ch2:t,ch3:n,ch4:i,pdfColorType:"text",precision:3}),this};var Xt=e.charSpace,Jt=h.__private__.getCharSpace=h.getCharSpace=function(){return parseFloat(Xt||0)};h.__private__.setCharSpace=h.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Xt=e,this};var Zt=0;h.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},h.__private__.setLineCap=h.setLineCap=function(e){var t=h.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Zt=t,J(t+" J"),this};var en=0;h.__private__.setLineJoin=h.setLineJoin=function(e){var t=h.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return en=t,J(t+" j"),this},h.__private__.setLineMiterLimit=h.__private__.setMiterLimit=h.setLineMiterLimit=h.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return J(S(P(e))+" M"),this},h.GState=H8,h.setGState=function(e){(e="string"==typeof e?we[je[e]]:tn(null,e)).equals(Ce)||(J("/"+e.id+" gs"),Ce=e)};var tn=function(e,t){if(!e||!je[e]){var n=!1;for(var i in we)if(we.hasOwnProperty(i)&&we[i].equals(t)){n=!0;break}if(n)t=we[i];else{var a="GS"+(Object.keys(we).length+1).toString(10);we[a]=t,t.id=a}return e&&(je[e]=t.id),Ie.publish("addGState",t),t}};h.addGState=function(e,t){return tn(e,t),this},h.saveGraphicsState=function(){return J("q"),ye.push({key:pe,size:ne,color:Gt}),this},h.restoreGraphicsState=function(){J("Q");var e=ye.pop();return pe=e.key,ne=e.size,Gt=e.color,Ce=null,this},h.setCurrentTransformationMatrix=function(e){return J(e.toString()+" cm"),this},h.comment=function(e){return J("#"+e),this};var nn=function(e,t){var n=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var i=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}});var a="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return a},set:function(e){a=e.toString()}}),this},an=function(e,t,n,i){nn.call(this,e,t),this.type="rect";var a=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return a},set:function(e){isNaN(e)||(a=parseFloat(e))}});var r=i||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}}),this},rn=function(){this.page=Se,this.currentPage=R,this.pages=K.slice(0),this.pagesContext=Ne.slice(0),this.x=he,this.y=fe,this.matrix=me,this.width=on(R),this.height=cn(R),this.outputDestination=$,this.id="",this.objectNumber=-1};rn.prototype.restore=function(){Se=this.page,R=this.currentPage,Ne=this.pagesContext,K=this.pages,he=this.x,fe=this.y,me=this.matrix,dn(R,this.width),un(R,this.height),$=this.outputDestination};var sn=function(e,t,n,i,a){ke.push(new rn),Se=R=0,K=[],he=e,fe=t,me=a,at([n,i])};for(var ln in h.beginFormObject=function(e,t,n,i,a){return sn(e,t,n,i,a),this},h.endFormObject=function(e){return function(e){if(Pe[e])ke.pop().restore();else{var t=new rn,n="Xo"+(Object.keys(Be).length+1).toString(10);t.id=n,Pe[e]=n,Be[n]=t,Ie.publish("addFormObject",t),ke.pop().restore()}}(e),this},h.doFormObject=function(e,t){var n=Be[Pe[e]];return J("q"),J(t.toString()+" cm"),J("/"+n.id+" Do"),J("Q"),this},h.getFormObject=function(e){var t=Be[Pe[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},h.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(b8(mt(ft()),e),"function"==typeof b8.unload&&A8.setTimeout&&setTimeout(b8.unload,911),this):new Promise((function(t,n){try{var i=b8(mt(ft()),e);"function"==typeof b8.unload&&A8.setTimeout&&setTimeout(b8.unload,911),t(i)}catch(a){n(a.message)}}))},W8.API)W8.API.hasOwnProperty(ln)&&("events"===ln&&W8.API.events.length?function(e,t){var n,i,a;for(a=t.length-1;-1!==a;a--)n=t[a][0],i=t[a][1],e.subscribe.apply(e,[n].concat("function"==typeof i?[i]:i))}(Ie,W8.API.events):h[ln]=W8.API[ln]);var on=h.getPageWidth=function(e){return(Ne[e=e||R].mediaBox.topRightX-Ne[e].mediaBox.bottomLeftX)/Ae},dn=h.setPageWidth=function(e,t){Ne[e].mediaBox.topRightX=t*Ae+Ne[e].mediaBox.bottomLeftX},cn=h.getPageHeight=function(e){return(Ne[e=e||R].mediaBox.topRightY-Ne[e].mediaBox.bottomLeftY)/Ae},un=h.setPageHeight=function(e,t){Ne[e].mediaBox.topRightY=t*Ae+Ne[e].mediaBox.bottomLeftY};return h.internal={pdfEscape:it,getStyle:St,getFont:Lt,getFontSize:ae,getCharSpace:Jt,getTextColor:$t,getLineHeight:Rt,getLineHeightFactor:Ht,getLineWidth:Ot,write:Z,getHorizontalCoordinate:Vt,getVerticalCoordinate:zt,getCoordinateString:qt,getVerticalCoordinateString:Wt,collections:{},newObject:Ue,newAdditionalObject:Me,newObjectDeferred:_e,newObjectDeferredBegin:Oe,getFilters:ze,putStream:qe,events:Ie,scaleFactor:Ae,pageSize:{getWidth:function(){return on(R)},setWidth:function(e){dn(R,e)},getHeight:function(){return cn(R)},setHeight:function(e){un(R,e)}},encryptionOptions:c,encryption:yt,getEncryptor:function(e){return null!==c?yt.encryptor(e,0):function(e){return e}},output:vt,getNumberOfPages:ot,pages:K,out:J,f2:F,f3:B,getPageInfo:xt,getPageInfoByObjId:bt,getCurrentPageInfo:wt,getPDFVersion:m,Point:nn,Rectangle:an,Matrix:Te,hasHotfix:gt},Object.defineProperty(h.internal.pageSize,"width",{get:function(){return on(R)},set:function(e){dn(R,e)},enumerable:!0,configurable:!0}),Object.defineProperty(h.internal.pageSize,"height",{get:function(){return cn(R)},set:function(e){un(R,e)},enumerable:!0,configurable:!0}),function(e){for(var t=0,n=te.length;t<n;t++){var i=nt.call(this,e[t][0],e[t][1],e[t][2],te[t][3],!0);!1===u&&(A[i]=!0);var a=e[t][0].split("-");tt({id:i,fontName:a[0],fontStyle:a[1]||""})}Ie.publish("addFonts",{fonts:ve,dictionary:ge})}.call(h,te),pe="F1",rt(a,n),Ie.publish("initialized"),h}M8.prototype.lsbFirstWord=function(e){return String.fromCharCode(255&e,e>>8&255,e>>16&255,e>>24&255)},M8.prototype.toHexString=function(e){return e.split("").map((function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)})).join("")},M8.prototype.hexToBytes=function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(String.fromCharCode(parseInt(e.substr(n,2),16)));return t.join("")},M8.prototype.processOwnerPassword=function(e,t){return _8(D8(t).substr(0,5),e)},M8.prototype.encryptor=function(e,t){var n=D8(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return _8(n,e)}},H8.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||p(e)!==p(this))return!1;var i=0;for(t in this)if(!(n.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;i++}for(t in e)e.hasOwnProperty(t)&&n.indexOf(t)<0&&i--;return 0===i},W8.API={events:[]},W8.version="2.5.2";var Y8=W8.API,K8=1,G8=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},$8=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},X8=function(e){return e.toFixed(2)},J8=function(e){return e.toFixed(5)};Y8.__acroform__={};var Z8=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},e7=function(e){return e*K8},t7=function(e){var t=new g7,n=T7.internal.getHeight(e)||0,i=T7.internal.getWidth(e)||0;return t.BBox=[0,0,Number(X8(i)),Number(X8(n))],t},n7=Y8.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},i7=Y8.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},a7=Y8.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return e&1<<t?1:0},r7=Y8.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return a7(e,t-1)},s7=Y8.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return n7(e,t-1)},l7=Y8.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return i7(e,t-1)},o7=Y8.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,i=t.internal.getVerticalCoordinate,a=e[0],r=e[1],s=e[2],l=e[3],o={};return o.lowerLeft_X=n(a)||0,o.lowerLeft_Y=i(r+l)||0,o.upperRight_X=n(a+s)||0,o.upperRight_Y=i(r)||0,[Number(X8(o.lowerLeft_X)),Number(X8(o.lowerLeft_Y)),Number(X8(o.upperRight_X)),Number(X8(o.upperRight_Y))]},d7=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,i=c7(e,n),a=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+a+" "+X8(i.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(i.text),t.push("ET"),t.push("Q"),t.push("EMC");var r=t7(e);return r.scope=e.scope,r.stream=t.join("\n"),r}},c7=function(e,t){var n=0===e.fontSize?e.maxFontSize:e.fontSize,i={text:"",fontSize:""},a=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");a=e.multiline?a.map((function(e){return e.split("\n")})):a.map((function(e){return[e]}));var r=n,s=T7.internal.getHeight(e)||0;s=s<0?-s:s;var l=T7.internal.getWidth(e)||0;l=l<0?-l:l;var o=function(t,n,i){if(t+1<a.length){var r=n+" "+a[t+1][0];return u7(r,e,i).width<=l-4}return!1};r++;e:for(;r>0;){t="",r--;var d,c,u=u7("3",e,r).height,p=e.multiline?s-r:(s-u)/2,A=p+=2,h=0,f=0,m=0;if(r<=0){t="(...) Tj\n",t+="% Width of Text: "+u7(t,e,r=12).width+", FieldWidth:"+l+"\n";break}for(var v="",g=0,y=0;y<a.length;y++)if(a.hasOwnProperty(y)){var x=!1;if(1!==a[y].length&&m!==a[y].length-1){if((u+2)*(g+2)+2>s)continue e;v+=a[y][m],x=!0,f=y,y--}else{v=" "==(v+=a[y][m]+" ").substr(v.length-1)?v.substr(0,v.length-1):v;var b=parseInt(y),w=o(b,v,r),j=y>=a.length-1;if(w&&!j){v+=" ",m=0;continue}if(w||j){if(j)f=b;else if(e.multiline&&(u+2)*(g+2)+2>s)continue e}else{if(!e.multiline)continue e;if((u+2)*(g+2)+2>s)continue e;f=b}}for(var C="",S=h;S<=f;S++){var N=a[S];if(e.multiline){if(S===f){C+=N[m]+" ",m=(m+1)%N.length;continue}if(S===h){C+=N[N.length-1]+" ";continue}}C+=N[0]+" "}switch(C=" "==C.substr(C.length-1)?C.substr(0,C.length-1):C,c=u7(C,e,r).width,e.textAlign){case"right":d=l-c-2;break;case"center":d=(l-c)/2;break;default:d=2}t+=X8(d)+" "+X8(A)+" Td\n",t+="("+G8(C)+") Tj\n",t+=-X8(d)+" 0 Td\n",A=-(r+2),c=0,h=x?f:f+1,g++,v=""}break}return i.text=t,i.fontSize=r,i},u7=function(e,t,n){var i=t.scope.internal.getFont(t.fontName,t.fontStyle),a=t.scope.getStringUnitWidth(e,{font:i,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:i,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:a}},p7={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},A7=function(e,t){var n={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find((function(e){return e.type===n.type&&e.object===n.object}))&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},h7=function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(x7.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(p7)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");K8=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new y7,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",(function(){!function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0}(e)})),e.internal.events.subscribe("buildDocument",(function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];i.objId=void 0,i.hasAnnotation&&A7(i,e)}}(e)})),e.internal.events.subscribe("putCatalog",(function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)})),e.internal.events.subscribe("postPutPages",(function(t){!function(e,t){var n=!e;for(var i in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(i)){var a=e[i],r=[],s=a.Rect;if(a.Rect&&(a.Rect=o7(a.Rect,t)),t.internal.newObjectDeferredBegin(a.objId,!0),a.DA=T7.createDefaultAppearanceStream(a),"object"===p(a)&&"function"==typeof a.getKeyValueListForStream&&(r=a.getKeyValueListForStream()),a.Rect=s,a.hasAppearanceStream&&!a.appearanceStreamContent){var l=d7(a);r.push({key:"AP",value:"<</N "+l+">>"}),t.internal.acroformPlugin.xForms.push(l)}if(a.appearanceStreamContent){var o="";for(var d in a.appearanceStreamContent)if(a.appearanceStreamContent.hasOwnProperty(d)){var c=a.appearanceStreamContent[d];if(o+="/"+d+" ",o+="<<",Object.keys(c).length>=1||Array.isArray(c)){for(var i in c)if(c.hasOwnProperty(i)){var u=c[i];"function"==typeof u&&(u=u.call(t,a)),o+="/"+i+" "+u+" ",t.internal.acroformPlugin.xForms.indexOf(u)>=0||t.internal.acroformPlugin.xForms.push(u)}}else"function"==typeof(u=c)&&(u=u.call(t,a)),o+="/"+i+" "+u,t.internal.acroformPlugin.xForms.indexOf(u)>=0||t.internal.acroformPlugin.xForms.push(u);o+=">>"}r.push({key:"AP",value:"<<\n"+o+">>"})}t.internal.putStream({additionalKeyValues:r,objectId:a.objId}),t.internal.out("endobj")}n&&function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var i=n,a=e[n];t.internal.newObjectDeferredBegin(a.objId,!0),"object"===p(a)&&"function"==typeof a.putStream&&a.putStream(),delete e[i]}}(t.internal.acroformPlugin.xForms,t)}(t,e)})),e.internal.acroformPlugin.isInitialized=!0}},f7=Y8.__acroform__.arrayToPdfArray=function(e,t,n){var i=function(e){return e};if(Array.isArray(e)){for(var a="[",r=0;r<e.length;r++)switch(0!==r&&(a+=" "),p(e[r])){case"boolean":case"number":case"object":a+=e[r].toString();break;case"string":"/"!==e[r].substr(0,1)?(void 0!==t&&n&&(i=n.internal.getEncryptor(t)),a+="("+G8(i(e[r].toString()))+")"):a+=e[r].toString()}return a+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},m7=function(e,t,n){var i=function(e){return e};return void 0!==t&&n&&(i=n.internal.getEncryptor(t)),(e=e||"").toString(),"("+G8(i(e))+")"},v7=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};v7.prototype.toString=function(){return this.objId+" 0 R"},v7.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},v7.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter((function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)}));for(var n in t)if(!1===Object.getOwnPropertyDescriptor(this,t[n]).configurable){var i=t[n],a=this[i];a&&(Array.isArray(a)?e.push({key:i,value:f7(a,this.objId,this.scope)}):a instanceof v7?(a.scope=this.scope,e.push({key:i,value:a.objId+" 0 R"})):"function"!=typeof a&&e.push({key:i,value:a}))}return e};var g7=function(){v7.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};Z8(g7,v7);var y7=function(){v7.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+G8(t(e))+")"}},set:function(t){e=t}})};Z8(y7,v7);var x7=function e(){v7.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(t,3))},set:function(e){!0===Boolean(e)?this.F=s7(t,3):this.F=l7(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');n=e}});var i=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==i.length)return i},set:function(e){i=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[0])?0:i[0]},set:function(e){i[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[1])?0:i[1]},set:function(e){i[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[2])?0:i[2]},set:function(e){i[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[3])?0:i[3]},set:function(e){i[3]=e}});var a="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return a},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":a=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var r=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!r||r.length<1){if(this instanceof F7)return;r="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+G8(t(r))+")"},set:function(e){r=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return r},set:function(e){r=e}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var l="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var o=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return o},set:function(e){o=e}});var d=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===d?50/K8:d},set:function(e){d=e}});var c="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return c},set:function(e){c=e}});var u="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!u||this instanceof F7||this instanceof P7))return m7(u,this.objId,this.scope)},set:function(e){e=e.toString(),u=e}});var p=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof S7==0?m7(p,this.objId,this.scope):p},set:function(e){e=e.toString(),p=this instanceof S7==0?"("===e.substr(0,1)?$8(e.substr(1,e.length-2)):$8(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof S7==1?$8(p.substr(1,p.length-1)):p},set:function(e){e=e.toString(),p=this instanceof S7==1?"/"+e:e}});var A=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(A)return A},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(A)return this instanceof S7==0?m7(A,this.objId,this.scope):A},set:function(e){e=e.toString(),A=this instanceof S7==0?"("===e.substr(0,1)?$8(e.substr(1,e.length-2)):$8(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof S7==1?$8(A.substr(1,A.length-1)):A},set:function(e){e=e.toString(),A=this instanceof S7==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var h,f=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return f},set:function(e){e=Boolean(e),f=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(h)return h},set:function(e){h=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,1):this.Ff=l7(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,2):this.Ff=l7(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,3):this.Ff=l7(this.Ff,3)}});var m=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==m)return m},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');m=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(m){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:m=2;break;case"center":case 1:m=1;break;default:m=0}}})};Z8(x7,v7);var b7=function(){x7.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return f7(t,this.objId,this.scope)},set:function(e){var n,i;i=[],"string"==typeof(n=e)&&(i=function(e,t,n){n||(n=1);for(var i,a=[];i=t.exec(e);)a.push(i[n]);return a}(n,/\((.*?)\)/g)),t=i}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,n){for(n=n||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,18):this.Ff=l7(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=s7(this.Ff,19):this.Ff=l7(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=s7(this.Ff,20),t.sort()):this.Ff=l7(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,22):this.Ff=l7(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,23):this.Ff=l7(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,27):this.Ff=l7(this.Ff,27)}}),this.hasAppearanceStream=!1};Z8(b7,x7);var w7=function(){b7.call(this),this.fontName="helvetica",this.combo=!1};Z8(w7,b7);var j7=function(){w7.call(this),this.combo=!0};Z8(j7,w7);var C7=function(){j7.call(this),this.edit=!0};Z8(C7,j7);var S7=function(){x7.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,15):this.Ff=l7(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,16):this.Ff=l7(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,17):this.Ff=l7(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,26):this.Ff=l7(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var n,i=[];for(n in i.push("<<"),t)i.push("/"+n+" ("+G8(e(t[n]))+")");return i.push(">>"),i.join("\n")}},set:function(e){"object"===p(e)&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};Z8(S7,x7);var N7=function(){S7.call(this),this.pushButton=!0};Z8(N7,S7);var I7=function(){S7.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};Z8(I7,S7);var F7=function(){var e,t;x7.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var n,i={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,n=[];for(t in n.push("<<"),i)n.push("/"+t+" ("+G8(e(i[t]))+")");return n.push(">>"),n.join("\n")},set:function(e){"object"===p(e)&&(i=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return i.CA||""},set:function(e){"string"==typeof e&&(i.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=T7.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Z8(F7,x7),I7.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},I7.prototype.createOption=function(e){var t=new F7;return t.Parent=this,t.optionName=e,this.Kids.push(t),E7.call(this.scope,t),t};var B7=function(){S7.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=T7.CheckBox.createAppearanceStream()};Z8(B7,S7);var P7=function(){x7.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,13):this.Ff=l7(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,21):this.Ff=l7(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,23):this.Ff=l7(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,24):this.Ff=l7(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,25):this.Ff=l7(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,26):this.Ff=l7(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Z8(P7,x7);var k7=function(){P7.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(r7(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=s7(this.Ff,14):this.Ff=l7(this.Ff,14)}}),this.password=!0};Z8(k7,P7);var T7={CheckBox:{createAppearanceStream:function(){return{N:{On:T7.CheckBox.YesNormal},D:{On:T7.CheckBox.YesPushDown,Off:T7.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=t7(e);t.scope=e.scope;var n=[],i=e.scope.internal.getFont(e.fontName,e.fontStyle).id,a=e.scope.__private__.encodeColorString(e.color),r=c7(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+X8(T7.internal.getWidth(e))+" "+X8(T7.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+i+" "+X8(r.fontSize)+" Tf "+a),n.push("BT"),n.push(r.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join("\n"),t},YesNormal:function(e){var t=t7(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),a=[],r=T7.internal.getHeight(e),s=T7.internal.getWidth(e),l=c7(e,e.caption);return a.push("1 g"),a.push("0 0 "+X8(s)+" "+X8(r)+" re"),a.push("f"),a.push("q"),a.push("0 0 1 rg"),a.push("0 0 "+X8(s-1)+" "+X8(r-1)+" re"),a.push("W"),a.push("n"),a.push("0 g"),a.push("BT"),a.push("/"+n+" "+X8(l.fontSize)+" Tf "+i),a.push(l.text),a.push("ET"),a.push("Q"),t.stream=a.join("\n"),t},OffPushDown:function(e){var t=t7(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+X8(T7.internal.getWidth(e))+" "+X8(T7.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:T7.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=T7.RadioButton.Circle.YesNormal,t.D[e]=T7.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=t7(e);t.scope=e.scope;var n=[],i=T7.internal.getWidth(e)<=T7.internal.getHeight(e)?T7.internal.getWidth(e)/4:T7.internal.getHeight(e)/4;i=Number((.9*i).toFixed(5));var a=T7.internal.Bezier_C,r=Number((i*a).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+J8(T7.internal.getWidth(e)/2)+" "+J8(T7.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+r+" "+r+" "+i+" 0 "+i+" c"),n.push("-"+r+" "+i+" -"+i+" "+r+" -"+i+" 0 c"),n.push("-"+i+" -"+r+" -"+r+" -"+i+" 0 -"+i+" c"),n.push(r+" -"+i+" "+i+" -"+r+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=t7(e);t.scope=e.scope;var n=[],i=T7.internal.getWidth(e)<=T7.internal.getHeight(e)?T7.internal.getWidth(e)/4:T7.internal.getHeight(e)/4;i=Number((.9*i).toFixed(5));var a=Number((2*i).toFixed(5)),r=Number((a*T7.internal.Bezier_C).toFixed(5)),s=Number((i*T7.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+J8(T7.internal.getWidth(e)/2)+" "+J8(T7.internal.getHeight(e)/2)+" cm"),n.push(a+" 0 m"),n.push(a+" "+r+" "+r+" "+a+" 0 "+a+" c"),n.push("-"+r+" "+a+" -"+a+" "+r+" -"+a+" 0 c"),n.push("-"+a+" -"+r+" -"+r+" -"+a+" 0 -"+a+" c"),n.push(r+" -"+a+" "+a+" -"+r+" "+a+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+J8(T7.internal.getWidth(e)/2)+" "+J8(T7.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+s+" "+s+" "+i+" 0 "+i+" c"),n.push("-"+s+" "+i+" -"+i+" "+s+" -"+i+" 0 c"),n.push("-"+i+" -"+s+" -"+s+" -"+i+" 0 -"+i+" c"),n.push(s+" -"+i+" "+i+" -"+s+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=t7(e);t.scope=e.scope;var n=[],i=T7.internal.getWidth(e)<=T7.internal.getHeight(e)?T7.internal.getWidth(e)/4:T7.internal.getHeight(e)/4;i=Number((.9*i).toFixed(5));var a=Number((2*i).toFixed(5)),r=Number((a*T7.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+J8(T7.internal.getWidth(e)/2)+" "+J8(T7.internal.getHeight(e)/2)+" cm"),n.push(a+" 0 m"),n.push(a+" "+r+" "+r+" "+a+" 0 "+a+" c"),n.push("-"+r+" "+a+" -"+a+" "+r+" -"+a+" 0 c"),n.push("-"+a+" -"+r+" -"+r+" -"+a+" 0 -"+a+" c"),n.push(r+" -"+a+" "+a+" -"+r+" "+a+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:T7.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=T7.RadioButton.Cross.YesNormal,t.D[e]=T7.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=t7(e);t.scope=e.scope;var n=[],i=T7.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+X8(T7.internal.getWidth(e)-2)+" "+X8(T7.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(X8(i.x1.x)+" "+X8(i.x1.y)+" m"),n.push(X8(i.x2.x)+" "+X8(i.x2.y)+" l"),n.push(X8(i.x4.x)+" "+X8(i.x4.y)+" m"),n.push(X8(i.x3.x)+" "+X8(i.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=t7(e);t.scope=e.scope;var n=T7.internal.calculateCross(e),i=[];return i.push("0.749023 g"),i.push("0 0 "+X8(T7.internal.getWidth(e))+" "+X8(T7.internal.getHeight(e))+" re"),i.push("f"),i.push("q"),i.push("1 1 "+X8(T7.internal.getWidth(e)-2)+" "+X8(T7.internal.getHeight(e)-2)+" re"),i.push("W"),i.push("n"),i.push(X8(n.x1.x)+" "+X8(n.x1.y)+" m"),i.push(X8(n.x2.x)+" "+X8(n.x2.y)+" l"),i.push(X8(n.x4.x)+" "+X8(n.x4.y)+" m"),i.push(X8(n.x3.x)+" "+X8(n.x3.y)+" l"),i.push("s"),i.push("Q"),t.stream=i.join("\n"),t},OffPushDown:function(e){var t=t7(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+X8(T7.internal.getWidth(e))+" "+X8(T7.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};T7.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=T7.internal.getWidth(e),n=T7.internal.getHeight(e),i=Math.min(t,n);return{x1:{x:(t-i)/2,y:(n-i)/2+i},x2:{x:(t-i)/2+i,y:(n-i)/2},x3:{x:(t-i)/2,y:(n-i)/2},x4:{x:(t-i)/2+i,y:(n-i)/2+i}}}},T7.internal.getWidth=function(e){var t=0;return"object"===p(e)&&(t=e7(e.Rect[2])),t},T7.internal.getHeight=function(e){var t=0;return"object"===p(e)&&(t=e7(e.Rect[3])),t};var E7=Y8.addField=function(e){if(h7(this,e),!(e instanceof x7))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};function D7(e){return e.reduce((function(e,t,n){return e[t]=n,e}),{})}Y8.AcroFormChoiceField=b7,Y8.AcroFormListBox=w7,Y8.AcroFormComboBox=j7,Y8.AcroFormEditBox=C7,Y8.AcroFormButton=S7,Y8.AcroFormPushButton=N7,Y8.AcroFormRadioButton=I7,Y8.AcroFormCheckBox=B7,Y8.AcroFormTextField=P7,Y8.AcroFormPasswordField=k7,Y8.AcroFormAppearance=T7,Y8.AcroForm={ChoiceField:b7,ListBox:w7,ComboBox:j7,EditBox:C7,Button:S7,PushButton:N7,RadioButton:I7,CheckBox:B7,TextField:P7,PasswordField:k7,Appearance:T7},W8.AcroForm={ChoiceField:b7,ListBox:w7,ComboBox:j7,EditBox:C7,Button:S7,PushButton:N7,RadioButton:I7,CheckBox:B7,TextField:P7,PasswordField:k7,Appearance:T7},function(e){e.__addimage__={};var t="UNKNOWN",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=e.__addimage__.getImageFileTypeByImageData=function(e,i){var a,r,s,l,o,d=t;if("RGBA"===(i=i||t)||void 0!==e.data&&e.data instanceof Uint8ClampedArray&&"height"in e&&"width"in e)return"RGBA";if(j(e))for(o in n)for(s=n[o],a=0;a<s.length;a+=1){for(l=!0,r=0;r<s[a].length;r+=1)if(void 0!==s[a][r]&&s[a][r]!==e[r]){l=!1;break}if(!0===l){d=o;break}}else for(o in n)for(s=n[o],a=0;a<s.length;a+=1){for(l=!0,r=0;r<s[a].length;r+=1)if(void 0!==s[a][r]&&s[a][r]!==e.charCodeAt(r)){l=!1;break}if(!0===l){d=o;break}}return d===t&&i!==t&&(d=i),d},a=function e(t){for(var n=this.internal.write,i=this.internal.putStream,a=(0,this.internal.getFilters)();-1!==a.indexOf("FlateEncode");)a.splice(a.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var r=[];if(r.push({key:"Type",value:"/XObject"}),r.push({key:"Subtype",value:"/Image"}),r.push({key:"Width",value:t.width}),r.push({key:"Height",value:t.height}),t.colorSpace===v.INDEXED?r.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(r.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===v.DEVICE_CMYK&&r.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),r.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&r.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)){for(var s="",l=0,o=t.transparency.length;l<o;l++)s+=t.transparency[l]+" "+t.transparency[l]+" ";r.push({key:"Mask",value:"["+s+"]"})}void 0!==t.sMask&&r.push({key:"SMask",value:t.objectId+1+" 0 R"});var d=void 0!==t.filter?["/"+t.filter]:void 0;if(i({data:t.data,additionalKeyValues:r,alreadyAppliedFilters:d,objectId:t.objectId}),n("endobj"),"sMask"in t&&void 0!==t.sMask){var c="/Predictor "+t.predictor+" /Colors 1 /BitsPerComponent "+t.bitsPerComponent+" /Columns "+t.width,u={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:t.bitsPerComponent,decodeParameters:c,data:t.sMask};"filter"in t&&(u.filter=t.filter),e.call(this,u)}if(t.colorSpace===v.INDEXED){var p=this.internal.newObject();i({data:S(new Uint8Array(t.palette)),objectId:p}),n("endobj")}},r=function(){var e=this.internal.collections.addImage_images;for(var t in e)a.call(this,e[t])},s=function(){var e,t=this.internal.collections.addImage_images,n=this.internal.write;for(var i in t)n("/I"+(e=t[i]).index,e.objectId,"0","R")},l=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",r),this.internal.events.subscribe("putXobjectDict",s))},o=function(){var e=this.internal.collections.addImage_images;return l.call(this),e},d=function(){return Object.keys(this.internal.collections.addImage_images).length},c=function(t){return"function"==typeof e["process"+t.toUpperCase()]},u=function(e){return"object"===p(e)&&1===e.nodeType},A=function(t,n){if("IMG"===t.nodeName&&t.hasAttribute("src")){var i=""+t.getAttribute("src");if(0===i.indexOf("data:image/"))return y8(unescape(i).split("base64,").pop());var a=e.loadFile(i,!0);if(void 0!==a)return a}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw new Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);var r;switch(n){case"PNG":r="image/png";break;case"WEBP":r="image/webp";break;default:r="image/jpeg"}return y8(t.toDataURL(r,1).split("base64,").pop())}},h=function(e){var t=this.internal.collections.addImage_images;if(t)for(var n in t)if(e===t[n].alias)return t[n]},f=function(e,t,n){return e||t||(e=-96,t=-96),e<0&&(e=-1*n.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.height*72/t/this.internal.scaleFactor),0===e&&(e=t*n.width/n.height),0===t&&(t=e*n.height/n.width),[e,t]},m=function(e,t,n,i,a,r){var s=f.call(this,n,i,a),l=this.internal.getCoordinateString,d=this.internal.getVerticalCoordinateString,c=o.call(this);if(n=s[0],i=s[1],c[a.index]=a,r){r*=Math.PI/180;var u=Math.cos(r),p=Math.sin(r),A=function(e){return e.toFixed(4)},h=[A(u),A(p),A(-1*p),A(u),0,0,"cm"]}this.internal.write("q"),r?(this.internal.write([1,"0","0",1,l(e),d(t+i),"cm"].join(" ")),this.internal.write(h.join(" ")),this.internal.write([l(n),"0","0",l(i),"0","0","cm"].join(" "))):this.internal.write([l(n),"0","0",l(i),l(e),d(t+i),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+a.index+" Do"),this.internal.write("Q")},v=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var g=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},y=e.__addimage__.sHashCode=function(e){var t,n,i=0;if("string"==typeof e)for(n=e.length,t=0;t<n;t++)i=(i<<5)-i+e.charCodeAt(t),i|=0;else if(j(e))for(n=e.byteLength/2,t=0;t<n;t++)i=(i<<5)-i+e[t],i|=0;return i},x=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},b=e.__addimage__.extractImageFromDataUrl=function(e){var t=(e=e||"").split("base64,"),n=null;if(2===t.length){var i=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(t[0]);Array.isArray(i)&&(n={mimeType:i[1],charset:i[2],data:t[1]})}return n},w=e.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};e.__addimage__.isArrayBuffer=function(e){return w()&&e instanceof ArrayBuffer};var j=e.__addimage__.isArrayBufferView=function(e){return w()&&"undefined"!=typeof Uint32Array&&(e instanceof Int8Array||e instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)},C=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,n=new Uint8Array(t),i=0;i<t;i++)n[i]=e.charCodeAt(i);return n},S=e.__addimage__.arrayBufferToBinaryString=function(e){for(var t="",n=j(e)?e:new Uint8Array(e),i=0;i<n.length;i+=8192)t+=String.fromCharCode.apply(null,n.subarray(i,i+8192));return t};e.addImage=function(){var e,n,i,a,r,s,o,d,c;if("number"==typeof arguments[1]?(n=t,i=arguments[1],a=arguments[2],r=arguments[3],s=arguments[4],o=arguments[5],d=arguments[6],c=arguments[7]):(n=arguments[1],i=arguments[2],a=arguments[3],r=arguments[4],s=arguments[5],o=arguments[6],d=arguments[7],c=arguments[8]),"object"===p(e=arguments[0])&&!u(e)&&"imageData"in e){var A=e;e=A.imageData,n=A.format||n||t,i=A.x||i||0,a=A.y||a||0,r=A.w||A.width||r,s=A.h||A.height||s,o=A.alias||o,d=A.compression||d,c=A.rotation||A.angle||c}var h=this.internal.getFilters();if(void 0===d&&-1!==h.indexOf("FlateEncode")&&(d="SLOW"),isNaN(i)||isNaN(a))throw new Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var f=N.call(this,e,n,o,d);return m.call(this,i,a,r,s,f,c),this};var N=function(n,a,r,s){var l,o,p,f;if("string"==typeof n&&i(n)===t){n=unescape(n);var m=I(n,!1);(""!==m||void 0!==(m=e.loadFile(n,!0)))&&(n=m)}if(u(n)&&(n=A(n,a)),a=i(n,a),!c(a))throw new Error("addImage does not support files of type '"+a+"', please ensure that a plugin for '"+a+"' support is added.");if((null==(p=r)||0===p.length)&&(r="string"==typeof(f=n)||j(f)?y(f):j(f.data)?y(f.data):null),(l=h.call(this,r))||(w()&&(n instanceof Uint8Array||"RGBA"===a||(o=n,n=C(n))),l=this["process"+a.toUpperCase()](n,d.call(this),r,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:g.NONE}(s),o)),!l)throw new Error("An unknown error occurred whilst processing the image.");return l},I=e.__addimage__.convertBase64ToBinaryString=function(e,t){var n;t="boolean"!=typeof t||t;var i,a="";if("string"==typeof e){i=null!==(n=b(e))?n.data:e;try{a=y8(i)}catch(r){if(t)throw x(i)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+r.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return a};e.getImageProperties=function(n){var a,r,s="";if(u(n)&&(n=A(n)),"string"==typeof n&&i(n)===t&&(""===(s=I(n,!1))&&(s=e.loadFile(n)||""),n=s),r=i(n),!c(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if(!w()||n instanceof Uint8Array||(n=C(n)),!(a=this["process"+r.toUpperCase()](n)))throw new Error("An unknown error occurred whilst processing the image");return a.fileType=r,a}}(W8.API), +/** + * @license + * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){var t=function(e){if(void 0!==e&&""!=e)return!0};W8.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(e){for(var n,i,a,r=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString,l=this.internal.getPageInfoByObjId(e.objId),o=e.pageContext.annotations,d=!1,c=0;c<o.length&&!d;c++)switch((n=o[c]).type){case"link":(t(n.options.url)||t(n.options.pageNumber))&&(d=!0);break;case"reference":case"text":case"freetext":d=!0}if(0!=d){this.internal.write("/Annots [");for(var u=0;u<o.length;u++){n=o[u];var p=this.internal.pdfEscape,A=this.internal.getEncryptor(e.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var h=this.internal.newAdditionalObject(),f=this.internal.newAdditionalObject(),m=this.internal.getEncryptor(h.objId),v=n.title||"Note";a="<</Type /Annot /Subtype /Text "+(i="/Rect ["+r(n.bounds.x)+" "+s(n.bounds.y+n.bounds.h)+" "+r(n.bounds.x+n.bounds.w)+" "+s(n.bounds.y)+"] ")+"/Contents ("+p(m(n.contents))+")",a+=" /Popup "+f.objId+" 0 R",a+=" /P "+l.objId+" 0 R",a+=" /T ("+p(m(v))+") >>",h.content=a;var g=h.objId+" 0 R";a="<</Type /Annot /Subtype /Popup "+(i="/Rect ["+r(n.bounds.x+30)+" "+s(n.bounds.y+n.bounds.h)+" "+r(n.bounds.x+n.bounds.w+30)+" "+s(n.bounds.y)+"] ")+" /Parent "+g,n.open&&(a+=" /Open true"),a+=" >>",f.content=a,this.internal.write(h.objId,"0 R",f.objId,"0 R");break;case"freetext":i="/Rect ["+r(n.bounds.x)+" "+s(n.bounds.y)+" "+r(n.bounds.x+n.bounds.w)+" "+s(n.bounds.y+n.bounds.h)+"] ";var y=n.color||"#000000";a="<</Type /Annot /Subtype /FreeText "+i+"/Contents ("+p(A(n.contents))+")",a+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y+")",a+=" /Border [0 0 0]",a+=" >>",this.internal.write(a);break;case"link":if(n.options.name){var x=this.annotations._nameMap[n.options.name];n.options.pageNumber=x.page,n.options.top=x.y}else n.options.top||(n.options.top=0);if(i="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",a="",n.options.url)a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /A <</S /URI /URI ("+p(A(n.options.url))+") >>";else if(n.options.pageNumber)switch(a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":a+=" /Fit]";break;case"FitH":a+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,a+=" /FitV "+n.options.left+"]";break;default:var b=s(n.options.top);n.options.left=n.options.left||0,void 0===n.options.zoom&&(n.options.zoom=0),a+=" /XYZ "+n.options.left+" "+b+" "+n.options.zoom+"]"}""!=a&&(a+=" >>",this.internal.write(a))}}this.internal.write("]")}}]),e.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},e.link=function(e,t,n,i,a){var r=this.internal.getCurrentPageInfo(),s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString;r.pageContext.annotations.push({finalBounds:{x:s(e),y:l(t),w:s(e+n),h:l(t+i)},options:a,type:"link"})},e.textWithLink=function(e,t,n,i){var a,r,s=this.getTextWidth(e),l=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==i.maxWidth){r=i.maxWidth;var o=this.splitTextToSize(e,r).length;a=Math.ceil(l*o)}else r=s,a=l;return this.text(e,t,n,i),n+=.2*l,"center"===i.align&&(t-=s/2),"right"===i.align&&(t-=s),this.link(t,n-l,r,a,i),s},e.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(W8.API), +/** + * @license + * Copyright (c) 2017 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},i={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},a=[1570,1571,1573,1575];e.__arabicParser__={};var r=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},s=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},l=e.__arabicParser__.isArabicEndLetter=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length<=2},o=e.__arabicParser__.isArabicAlfLetter=function(e){return s(e)&&a.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length>=1};var d=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length>=3};var c=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return s(e)&&r(e)&&4==t[e.charCodeAt(0)].length},u=e.__arabicParser__.resolveLigatures=function(e){var t=0,i=n,a="",r=0;for(t=0;t<e.length;t+=1)void 0!==i[e.charCodeAt(t)]?(r++,"number"==typeof(i=i[e.charCodeAt(t)])&&(a+=String.fromCharCode(i),i=n,r=0),t===e.length-1&&(i=n,a+=e.charAt(t-(r-1)),t-=r-1,r=0)):(i=n,a+=e.charAt(t-r),t-=r,r=0);return a};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==i[e.charCodeAt(0)]};var p=e.__arabicParser__.getCorrectForm=function(e,t,n){return s(e)?!1===r(e)?-1:!d(e)||!s(t)&&!s(n)||!s(n)&&l(t)||l(e)&&!s(t)||l(e)&&o(t)||l(e)&&l(t)?0:c(e)&&s(t)&&!l(t)&&s(n)&&d(n)?3:l(e)||!s(n)?1:2:-1},A=function(e){var n=0,i=0,a=0,r="",l="",o="",d=(e=e||"").split("\\s+"),c=[];for(n=0;n<d.length;n+=1){for(c.push(""),i=0;i<d[n].length;i+=1)r=d[n][i],l=d[n][i-1],o=d[n][i+1],s(r)?(a=p(r,l,o),c[n]+=-1!==a?String.fromCharCode(t[r.charCodeAt(0)][a]):r):c[n]+=r;c[n]=u(c[n])}return c.join(" ")},h=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,n=[];if(Array.isArray(t)){var i=0;for(n=[],i=0;i<t.length;i+=1)Array.isArray(t[i])?n.push([A(t[i][0]),t[i][1],t[i][2]]):n.push([A(t[i])]);e=n}else e=A(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",h])}(W8.API),W8.API.autoPrint=function(e){var t;if("javascript"===((e=e||{}).variant=e.variant||"non-conform",e.variant))this.addJS("print({});");else this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+t+" 0 R")}));return this}, +/** + * @license + * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var i=[];Object.defineProperty(this,"childNodes",{get:function(){return i},set:function(e){i=e}});var a={};Object.defineProperty(this,"style",{get:function(){return a},set:function(e){a=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(W8.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,i=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new r,this.internal.__cell__.pages=1},r=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var i=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var a=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return a},set:function(e){a=e}});var r=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var s=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return s},set:function(e){s=e}}),this};r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},r.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return i.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){i.call(this);var n=(t=t||{}).fontSize||this.getFontSize(),a=t.font||this.getFont(),r=t.scaleFactor||this.internal.scaleFactor,s=0,l=0,o=0,d=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var c=t.maxWidth;c>0?"string"==typeof e?e=this.splitTextToSize(e,c):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(d.splitTextToSize(t,c))}),[])):e=Array.isArray(e)?e:[e];for(var u=0;u<e.length;u++)s<(o=this.getStringUnitWidth(e[u],{font:a})*n)&&(s=o);return 0!==s&&(l=e.length),{w:s/=r,h:Math.max((l*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/r,0)}},e.cellAddPage=function(){i.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new r(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=e.cell=function(){var e;e=arguments[0]instanceof r?arguments[0]:new r(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),i.call(this);var a=this.internal.__cell__.lastCell,s=this.internal.__cell__.padding,l=this.internal.__cell__.margins||t,o=this.internal.__cell__.tableHeaderRow,d=this.internal.__cell__.printHeaders;return void 0!==a.lineNumber&&(a.lineNumber===e.lineNumber?(e.x=(a.x||0)+(a.width||0),e.y=a.y||0):a.y+a.height+e.height+l.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=l.top,d&&o&&(this.printHeaderRow(e.lineNumber,!0),e.y+=o[0].height)):e.y=a.y+a.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===n?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-s,e.y+s,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+s,{align:"center",baseline:"top",maxWidth:e.width-s-s}):this.text(e.text,e.x+s,e.y+s,{align:"left",baseline:"top",maxWidth:e.width-s-s})),this.internal.__cell__.lastCell=e,this};e.table=function(e,n,o,d,c){if(i.call(this),!o)throw new Error("No data for PDF table.");var u,A,h,f,m=[],v=[],g=[],y={},x={},b=[],w=[],j=(c=c||{}).autoSize||!1,C=!1!==c.printHeaders,S=c.css&&void 0!==c.css["font-size"]?16*c.css["font-size"]:c.fontSize||12,N=c.margins||Object.assign({width:this.getPageWidth()},t),I="number"==typeof c.padding?c.padding:3,F=c.headerBackgroundColor||"#c8c8c8",B=c.headerTextColor||"#000";if(a.call(this),this.internal.__cell__.printHeaders=C,this.internal.__cell__.margins=N,this.internal.__cell__.table_font_size=S,this.internal.__cell__.padding=I,this.internal.__cell__.headerBackgroundColor=F,this.internal.__cell__.headerTextColor=B,this.setFontSize(S),null==d)v=m=Object.keys(o[0]),g=m.map((function(){return"left"}));else if(Array.isArray(d)&&"object"===p(d[0]))for(m=d.map((function(e){return e.name})),v=d.map((function(e){return e.prompt||e.name||""})),g=d.map((function(e){return e.align||"left"})),u=0;u<d.length;u+=1)x[d[u].name]=d[u].width*(19.049976/25.4);else Array.isArray(d)&&"string"==typeof d[0]&&(v=m=d,g=m.map((function(){return"left"})));if(j||Array.isArray(d)&&"string"==typeof d[0])for(u=0;u<m.length;u+=1){for(y[f=m[u]]=o.map((function(e){return e[f]})),this.setFont(void 0,"bold"),b.push(this.getTextDimensions(v[u],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),A=y[f],this.setFont(void 0,"normal"),h=0;h<A.length;h+=1)b.push(this.getTextDimensions(A[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);x[f]=Math.max.apply(null,b)+I+I,b=[]}if(C){var P={};for(u=0;u<m.length;u+=1)P[m[u]]={},P[m[u]].text=v[u],P[m[u]].align=g[u];var k=l.call(this,P,x);w=m.map((function(t){return new r(e,n,x[t],k,P[t].text,void 0,P[t].align)})),this.setTableHeaderRow(w),this.printHeaderRow(1,!1)}var T=d.reduce((function(e,t){return e[t.name]=t.align,e}),{});for(u=0;u<o.length;u+=1){"rowStart"in c&&c.rowStart instanceof Function&&c.rowStart({row:u,data:o[u]},this);var E=l.call(this,o[u],x);for(h=0;h<m.length;h+=1){var D=o[u][m[h]];"cellStart"in c&&c.cellStart instanceof Function&&c.cellStart({row:u,col:h,data:D},this),s.call(this,new r(e,n,x[m[h]],E,D,u+2,T[m[h]]))}}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=n,this};var l=function(e,t){var n=this.internal.__cell__.padding,i=this.internal.__cell__.table_font_size,a=this.internal.scaleFactor;return Object.keys(e).map((function(i){var a=e[i];return this.splitTextToSize(a.hasOwnProperty("text")?a.text:a,t[i]-n-n)}),this).map((function(e){return this.getLineHeightFactor()*e.length*i/a+n+n}),this).reduce((function(e,t){return Math.max(e,t)}),0)};e.setTableHeaderRow=function(e){i.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(i.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var a;if(n=!0,"function"==typeof this.internal.__cell__.headerFunction){var l=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new r(l[0],l[1],l[2],l[3],void 0,-1)}this.setFont(void 0,"bold");for(var o=[],d=0;d<this.internal.__cell__.tableHeaderRow.length;d+=1){a=this.internal.__cell__.tableHeaderRow[d].clone(),t&&(a.y=this.internal.__cell__.margins.top||0,o.push(a)),a.lineNumber=e;var c=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,a),this.setTextColor(c)}o.length>0&&this.setTableHeaderRow(o),this.setFont(void 0,"normal"),n=!1}}(W8.API);var L7={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},U7=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],_7=D7(U7),O7=[100,200,300,400,500,600,700,800,900],M7=D7(O7);function R7(e){var t,n=e.family.replace(/"|'/g,"").toLowerCase(),i=(t=e.style,L7[t=t||"normal"]?t:"normal"),a=function(e){return e?"number"==typeof e?e>=100&&e<=900&&e%100==0?e:400:/^\d00$/.test(e)?parseInt(e):"bold"===e?700:400:400}(e.weight),r=function(e){return"number"==typeof _7[e=e||"normal"]?e:"normal"}(e.stretch);return{family:n,style:i,weight:a,stretch:r,src:e.src||[],ref:e.ref||{name:n,style:[r,i,a].join(" ")}}}function Q7(e,t,n,i){var a;for(a=n;a>=0&&a<t.length;a+=i)if(e[t[a]])return e[t[a]];for(a=n;a>=0&&a<t.length;a-=i)if(e[t[a]])return e[t[a]]}var H7={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},V7={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function z7(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function q7(e){return e.trimLeft()}function W7(e,t){for(var n=0;n<e.length;){if(e.charAt(n)===t)return[e.substring(0,n),e.substring(n+1)];n+=1}return null}function Y7(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var K7,G7,$7,X7=["times"];!function(e){var t,n,i,a,r,s,l,o,d,c=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new o,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new s,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new s,this.lineDashOffset=e.lineDashOffset||0,this.lineDash=e.lineDash||[],this.margin=e.margin||[0,0,0,0],this.prevPageLastElemOffset=e.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new u(this),t=this.internal.f2,n=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,a=this.internal.getHorizontalCoordinate,r=this.internal.getVerticalCoordinate,s=this.internal.Point,l=this.internal.Rectangle,o=this.internal.Matrix,d=new c}]);var u=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var n=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var i=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return i},set:function(e){i=Boolean(e)}});var a=0;Object.defineProperty(this,"posX",{get:function(){return a},set:function(e){isNaN(e)||(a=e)}});var r=0;Object.defineProperty(this,"posY",{get:function(){return r},set:function(e){isNaN(e)||(r=e)}}),Object.defineProperty(this,"margin",{get:function(){return d.margin},set:function(e){var t;"number"==typeof e?t=[e,e,e,e]:((t=new Array(4))[0]=e[0],t[1]=e.length>=2?e[1]:t[0],t[2]=e.length>=3?e[2]:t[0],t[3]=e.length>=4?e[3]:t[1]),d.margin=t}});var s=!1;Object.defineProperty(this,"autoPaging",{get:function(){return s},set:function(e){s=e}});var l=0;Object.defineProperty(this,"lastBreak",{get:function(){return l},set:function(e){l=e}});var o=[];Object.defineProperty(this,"pageBreaks",{get:function(){return o},set:function(e){o=e}}),Object.defineProperty(this,"ctx",{get:function(){return d},set:function(e){e instanceof c&&(d=e)}}),Object.defineProperty(this,"path",{get:function(){return d.path},set:function(e){d.path=e}});var u=[];Object.defineProperty(this,"ctxStack",{get:function(){return u},set:function(e){u=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=A(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=A(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var p=null;var h=null;Object.defineProperty(this,"fontFaces",{get:function(){return h},set:function(e){p=null,h=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(e))){var n=t[1],i=(t[2],t[3]),a=t[4],r=(t[5],t[6]),s=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(a)[2];a="px"===s?Math.floor(parseFloat(a)*this.pdf.internal.scaleFactor):"em"===s?Math.floor(parseFloat(a)*this.pdf.getFontSize()):Math.floor(parseFloat(a)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(a);var l=function(e){var t,n,i=[],a=e.trim();if(""===a)return X7;if(a in V7)return[V7[a]];for(;""!==a;){switch(n=null,t=(a=q7(a)).charAt(0)){case'"':case"'":n=W7(a.substring(1),t);break;default:n=Y7(a)}if(null===n)return X7;if(i.push(n[0]),""!==(a=q7(n[1]))&&","!==a.charAt(0))return X7;a=a.replace(/^,/,"")}return i}(r);if(this.fontFaces){var o=function(e,t,n){for(var i=(n=n||{}).defaultFontFamily||"times",a=Object.assign({},H7,n.genericFontFamilies||{}),r=null,s=null,l=0;l<t.length;++l)if(a[(r=R7(t[l])).family]&&(r.family=a[r.family]),e.hasOwnProperty(r.family)){s=e[r.family];break}if(!(s=s||e[i]))throw new Error("Could not find a font-family for the rule '"+z7(r)+"' and default family '"+i+"'.");if(s=function(e,t){if(t[e])return t[e];var n=_7[e],i=n<=_7.normal?-1:1,a=Q7(t,U7,n,i);if(!a)throw new Error("Could not find a matching font-stretch value for "+e);return a}(r.stretch,s),s=function(e,t){if(t[e])return t[e];for(var n=L7[e],i=0;i<n.length;++i)if(t[n[i]])return t[n[i]];throw new Error("Could not find a matching font-style for "+e)}(r.style,s),!(s=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var n=M7[e],i=Q7(t,O7,n,e<400?-1:1);if(!i)throw new Error("Could not find a matching font-weight for value "+e);return i}(r.weight,s)))throw new Error("Failed to resolve a font for the rule '"+z7(r)+"'.");return s}(function(e,t){if(null===p){var n=(i=e.getFontList(),a=[],Object.keys(i).forEach((function(e){i[e].forEach((function(t){var n=null;switch(t){case"bold":n={family:e,weight:"bold"};break;case"italic":n={family:e,style:"italic"};break;case"bolditalic":n={family:e,weight:"bold",style:"italic"};break;case"":case"normal":n={family:e}}null!==n&&(n.ref={name:e,style:t},a.push(n))}))})),a);p=function(e){for(var t={},n=0;n<e.length;++n){var i=R7(e[n]),a=i.family,r=i.stretch,s=i.style,l=i.weight;t[a]=t[a]||{},t[a][r]=t[a][r]||{},t[a][r][s]=t[a][r][s]||{},t[a][r][s][l]=i}return t}(n.concat(t))}var i,a;return p}(this.pdf,this.fontFaces),l.map((function(e){return{family:e,stretch:"normal",weight:i,style:n}})));this.pdf.setFont(o.ref.name,o.ref.style)}else{var d="";("bold"===i||parseInt(i,10)>=700||"bold"===n)&&(d="bold"),"italic"===n&&(d+="italic"),0===d.length&&(d="normal");for(var c="",u={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},A=0;A<l.length;A++){if(void 0!==this.pdf.internal.getFont(l[A],d,{noFallback:!0,disableWarning:!0})){c=l[A];break}if("bolditalic"===d&&void 0!==this.pdf.internal.getFont(l[A],"bold",{noFallback:!0,disableWarning:!0}))c=l[A],d="bold";else if(void 0!==this.pdf.internal.getFont(l[A],"normal",{noFallback:!0,disableWarning:!0})){c=l[A],d="normal";break}}if(""===c)for(var h=0;h<l.length;h++)if(u[l[h]]){c=u[l[h]];break}c=""===c?"Times":c,this.pdf.setFont(c,d)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(e){this.ctx.lineDashOffset=e,O.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(e){this.ctx.lineDash=e,O.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};u.prototype.setLineDash=function(e){this.lineDash=e},u.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},u.prototype.fill=function(){b.call(this,"fill",!1)},u.prototype.stroke=function(){b.call(this,"stroke",!1)},u.prototype.beginPath=function(){this.path=[{type:"begin"}]},u.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw f8.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var n=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(e,t)},u.prototype.closePath=function(){var e=new s(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===p(this.path[t+1])&&"number"==typeof this.path[t+1].x){e=new s(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(e.x,e.y)},u.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw f8.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var n=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(n.x,n.y)},u.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),b.call(this,null,!0)},u.prototype.quadraticCurveTo=function(e,t,n,i){if(isNaN(n)||isNaN(i)||isNaN(e)||isNaN(t))throw f8.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var a=this.ctx.transform.applyToPoint(new s(n,i)),r=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"qct",x1:r.x,y1:r.y,x:a.x,y:a.y}),this.ctx.lastPoint=new s(a.x,a.y)},u.prototype.bezierCurveTo=function(e,t,n,i,a,r){if(isNaN(a)||isNaN(r)||isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i))throw f8.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var l=this.ctx.transform.applyToPoint(new s(a,r)),o=this.ctx.transform.applyToPoint(new s(e,t)),d=this.ctx.transform.applyToPoint(new s(n,i));this.path.push({type:"bct",x1:o.x,y1:o.y,x2:d.x,y2:d.y,x:l.x,y:l.y}),this.ctx.lastPoint=new s(l.x,l.y)},u.prototype.arc=function(e,t,n,i,a,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||isNaN(a))throw f8.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(r=Boolean(r),!this.ctx.transform.isIdentity){var l=this.ctx.transform.applyToPoint(new s(e,t));e=l.x,t=l.y;var o=this.ctx.transform.applyToPoint(new s(0,n)),d=this.ctx.transform.applyToPoint(new s(0,0));n=Math.sqrt(Math.pow(o.x-d.x,2)+Math.pow(o.y-d.y,2))}Math.abs(a-i)>=2*Math.PI&&(i=0,a=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:n,startAngle:i,endAngle:a,counterclockwise:r})},u.prototype.arcTo=function(e,t,n,i,a){throw new Error("arcTo not implemented.")},u.prototype.rect=function(e,t,n,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i))throw f8.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+i),this.lineTo(e,t+i),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},u.prototype.fillRect=function(e,t,n,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i))throw f8.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!h.call(this)){var a={};"butt"!==this.lineCap&&(a.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(a.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,n,i),this.fill(),a.hasOwnProperty("lineCap")&&(this.lineCap=a.lineCap),a.hasOwnProperty("lineJoin")&&(this.lineJoin=a.lineJoin)}},u.prototype.strokeRect=function(e,t,n,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i))throw f8.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");f.call(this)||(this.beginPath(),this.rect(e,t,n,i),this.stroke())},u.prototype.clearRect=function(e,t,n,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i))throw f8.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,n,i))},u.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var i=new c(this.ctx);this.ctxStack.push(this.ctx),this.ctx=i}},u.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},u.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var A=function(e){var t,n,i,a;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,n=0,i=0,a=0;else{var r=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==r)t=parseInt(r[1]),n=parseInt(r[2]),i=parseInt(r[3]),a=1;else if(null!==(r=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(r[1]),n=parseInt(r[2]),i=parseInt(r[3]),a=parseFloat(r[4]);else{if(a=1,"string"==typeof e&&"#"!==e.charAt(0)){var s=new w8(e);e=s.ok?s.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,n=e.substring(2,3),n+=n,i=e.substring(3,4),i+=i):(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7)),t=parseInt(t,16),n=parseInt(n,16),i=parseInt(i,16)}}return{r:t,g:n,b:i,a:a,style:e}},h=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},f=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};u.prototype.fillText=function(e,t,n,i){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw f8.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(i=isNaN(i)?void 0:i,!h.call(this)){var a=L(this.ctx.transform.rotation),r=this.ctx.transform.scaleX;B.call(this,{text:e,x:t,y:n,scale:r,angle:a,align:this.textAlign,maxWidth:i})}},u.prototype.strokeText=function(e,t,n,i){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw f8.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!f.call(this)){i=isNaN(i)?void 0:i;var a=L(this.ctx.transform.rotation),r=this.ctx.transform.scaleX;B.call(this,{text:e,x:t,y:n,scale:r,renderingMode:"stroke",angle:a,align:this.textAlign,maxWidth:i})}},u.prototype.measureText=function(e){if("string"!=typeof e)throw f8.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,n=this.pdf.internal.scaleFactor,i=t.internal.getFontSize(),a=t.getStringUnitWidth(e)*i/t.internal.scaleFactor;return new function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:a*=Math.round(96*n/72*1e4)/1e4})},u.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw f8.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new o(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},u.prototype.rotate=function(e){if(isNaN(e))throw f8.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new o(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},u.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw f8.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var n=new o(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(n)},u.prototype.transform=function(e,t,n,i,a,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(i)||isNaN(a)||isNaN(r))throw f8.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var s=new o(e,t,n,i,a,r);this.ctx.transform=this.ctx.transform.multiply(s)},u.prototype.setTransform=function(e,t,n,i,a,r){e=isNaN(e)?1:e,t=isNaN(t)?0:t,n=isNaN(n)?0:n,i=isNaN(i)?1:i,a=isNaN(a)?0:a,r=isNaN(r)?0:r,this.ctx.transform=new o(e,t,n,i,a,r)};var m=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};u.prototype.drawImage=function(e,t,n,i,a,r,s,d,c){var u=this.pdf.getImageProperties(e),p=1,A=1,h=1,f=1;void 0!==i&&void 0!==d&&(h=d/i,f=c/a,p=u.width/i*d/i,A=u.height/a*c/a),void 0===r&&(r=t,s=n,t=0,n=0),void 0!==i&&void 0===d&&(d=i,c=a),void 0===i&&void 0===d&&(d=u.width,c=u.height);for(var g,b=this.ctx.transform.decompose(),j=L(b.rotate.shx),C=new o,S=(C=(C=(C=C.multiply(b.translate)).multiply(b.skew)).multiply(b.scale)).applyToRectangle(new l(r-t*h,s-n*f,i*p,a*A)),N=v.call(this,S),I=[],F=0;F<N.length;F+=1)-1===I.indexOf(N[F])&&I.push(N[F]);if(x(I),this.autoPaging)for(var B=I[0],P=I[I.length-1],k=B;k<P+1;k++){this.pdf.setPage(k);var T=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],E=1===k?this.posY+this.margin[0]:this.margin[0],D=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],U=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],_=1===k?0:D+(k-2)*U;if(0!==this.ctx.clip_path.length){var O=this.path;g=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(g,this.posX+this.margin[3],-_+E+this.ctx.prevPageLastElemOffset),w.call(this,"fill",!0),this.path=O}var M=JSON.parse(JSON.stringify(S));M=y([M],this.posX+this.margin[3],-_+E+this.ctx.prevPageLastElemOffset)[0];var R=(k>B||k<P)&&m.call(this);R&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],T,U,null).clip().discardPath()),this.pdf.addImage(e,"JPEG",M.x,M.y,M.w,M.h,null,null,j),R&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(e,"JPEG",S.x,S.y,S.w,S.h,null,null,j)};var v=function(e,t,n){var i=[];t=t||this.pdf.internal.pageSize.width,n=n||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var a=this.posY+this.ctx.prevPageLastElemOffset;switch(e.type){default:case"mt":case"lt":i.push(Math.floor((e.y+a)/n)+1);break;case"arc":i.push(Math.floor((e.y+a-e.radius)/n)+1),i.push(Math.floor((e.y+a+e.radius)/n)+1);break;case"qct":var r=U(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);i.push(Math.floor((r.y+a)/n)+1),i.push(Math.floor((r.y+r.h+a)/n)+1);break;case"bct":var s=_(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);i.push(Math.floor((s.y+a)/n)+1),i.push(Math.floor((s.y+s.h+a)/n)+1);break;case"rect":i.push(Math.floor((e.y+a)/n)+1),i.push(Math.floor((e.y+e.h+a)/n)+1)}for(var l=0;l<i.length;l+=1)for(;this.pdf.internal.getNumberOfPages()<i[l];)g.call(this);return i},g=function(){var e=this.fillStyle,t=this.strokeStyle,n=this.font,i=this.lineCap,a=this.lineWidth,r=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=n,this.lineCap=i,this.lineWidth=a,this.lineJoin=r},y=function(e,t,n){for(var i=0;i<e.length;i++)switch(e[i].type){case"bct":e[i].x2+=t,e[i].y2+=n;case"qct":e[i].x1+=t,e[i].y1+=n;default:e[i].x+=t,e[i].y+=n}return e},x=function(e){return e.sort((function(e,t){return e-t}))},b=function(e,t){for(var n,i,a=this.fillStyle,r=this.strokeStyle,s=this.lineCap,l=this.lineWidth,o=Math.abs(l*this.ctx.transform.scaleX),d=this.lineJoin,c=JSON.parse(JSON.stringify(this.path)),u=JSON.parse(JSON.stringify(this.path)),p=[],A=0;A<u.length;A++)if(void 0!==u[A].x)for(var h=v.call(this,u[A]),f=0;f<h.length;f+=1)-1===p.indexOf(h[f])&&p.push(h[f]);for(var b=0;b<p.length;b++)for(;this.pdf.internal.getNumberOfPages()<p[b];)g.call(this);if(x(p),this.autoPaging)for(var j=p[0],C=p[p.length-1],S=j;S<C+1;S++){this.pdf.setPage(S),this.fillStyle=a,this.strokeStyle=r,this.lineCap=s,this.lineWidth=o,this.lineJoin=d;var N=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],I=1===S?this.posY+this.margin[0]:this.margin[0],F=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],B=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],P=1===S?0:F+(S-2)*B;if(0!==this.ctx.clip_path.length){var k=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(n,this.posX+this.margin[3],-P+I+this.ctx.prevPageLastElemOffset),w.call(this,e,!0),this.path=k}if(i=JSON.parse(JSON.stringify(c)),this.path=y(i,this.posX+this.margin[3],-P+I+this.ctx.prevPageLastElemOffset),!1===t||0===S){var T=(S>j||S<C)&&m.call(this);T&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],N,B,null).clip().discardPath()),w.call(this,e,t),T&&this.pdf.restoreGraphicsState()}this.lineWidth=l}else this.lineWidth=o,w.call(this,e,t),this.lineWidth=l;this.path=c},w=function(e,t){if(("stroke"!==e||t||!f.call(this))&&("stroke"===e||t||!h.call(this))){for(var n,i,a=[],r=this.path,s=0;s<r.length;s++){var l=r[s];switch(l.type){case"begin":a.push({begin:!0});break;case"close":a.push({close:!0});break;case"mt":a.push({start:l,deltas:[],abs:[]});break;case"lt":var o=a.length;if(r[s-1]&&!isNaN(r[s-1].x)&&(n=[l.x-r[s-1].x,l.y-r[s-1].y],o>0))for(;o>=0;o--)if(!0!==a[o-1].close&&!0!==a[o-1].begin){a[o-1].deltas.push(n),a[o-1].abs.push(l);break}break;case"bct":n=[l.x1-r[s-1].x,l.y1-r[s-1].y,l.x2-r[s-1].x,l.y2-r[s-1].y,l.x-r[s-1].x,l.y-r[s-1].y],a[a.length-1].deltas.push(n);break;case"qct":var d=r[s-1].x+2/3*(l.x1-r[s-1].x),c=r[s-1].y+2/3*(l.y1-r[s-1].y),u=l.x+2/3*(l.x1-l.x),p=l.y+2/3*(l.y1-l.y),A=l.x,m=l.y;n=[d-r[s-1].x,c-r[s-1].y,u-r[s-1].x,p-r[s-1].y,A-r[s-1].x,m-r[s-1].y],a[a.length-1].deltas.push(n);break;case"arc":a.push({deltas:[],abs:[],arc:!0}),Array.isArray(a[a.length-1].abs)&&a[a.length-1].abs.push(l)}}i=t?null:"stroke"===e?"stroke":"fill";for(var v=!1,g=0;g<a.length;g++)if(a[g].arc)for(var y=a[g].abs,x=0;x<y.length;x++){var b=y[x];"arc"===b.type?S.call(this,b.x,b.y,b.radius,b.startAngle,b.endAngle,b.counterclockwise,void 0,t,!v):P.call(this,b.x,b.y),v=!0}else if(!0===a[g].close)this.pdf.internal.out("h"),v=!1;else if(!0!==a[g].begin){var w=a[g].start.x,j=a[g].start.y;k.call(this,a[g].deltas,w,j),v=!0}i&&N.call(this,i),t&&I.call(this)}},j=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-n;case"top":return e+t-n;case"hanging":return e+t-2*n;case"middle":return e+t/2-n;default:return e}},C=function(e){return e+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};u.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},u.prototype.createPattern=function(){return this.createLinearGradient()},u.prototype.createRadialGradient=function(){return this.createLinearGradient()};var S=function(e,t,n,i,a,r,s,l,o){for(var d=E.call(this,n,i,a,r),c=0;c<d.length;c++){var u=d[c];0===c&&(o?F.call(this,u.x1+e,u.y1+t):P.call(this,u.x1+e,u.y1+t)),T.call(this,e,t,u.x2,u.y2,u.x3,u.y3,u.x4,u.y4)}l?I.call(this):N.call(this,s)},N=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},I=function(){this.pdf.clip(),this.pdf.discardPath()},F=function(e,t){this.pdf.internal.out(n(e)+" "+i(t)+" m")},B=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;default:t="left"}var n=this.pdf.getTextDimensions(e.text),i=j.call(this,e.y),a=C.call(this,i)-n.h,r=this.ctx.transform.applyToPoint(new s(e.x,i)),d=this.ctx.transform.decompose(),c=new o;c=(c=(c=c.multiply(d.translate)).multiply(d.skew)).multiply(d.scale);for(var u,p,A,h=this.ctx.transform.applyToRectangle(new l(e.x,i,n.w,n.h)),f=c.applyToRectangle(new l(e.x,a,n.w,n.h)),g=v.call(this,f),b=[],S=0;S<g.length;S+=1)-1===b.indexOf(g[S])&&b.push(g[S]);if(x(b),this.autoPaging)for(var N=b[0],I=b[b.length-1],F=N;F<I+1;F++){this.pdf.setPage(F);var B=1===F?this.posY+this.margin[0]:this.margin[0],P=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],k=this.pdf.internal.pageSize.height-this.margin[2],T=k-this.margin[0],E=this.pdf.internal.pageSize.width-this.margin[1],D=E-this.margin[3],L=1===F?0:P+(F-2)*T;if(0!==this.ctx.clip_path.length){var U=this.path;u=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(u,this.posX+this.margin[3],-1*L+B),w.call(this,"fill",!0),this.path=U}var _=y([JSON.parse(JSON.stringify(f))],this.posX+this.margin[3],-L+B+this.ctx.prevPageLastElemOffset)[0];e.scale>=.01&&(p=this.pdf.internal.getFontSize(),this.pdf.setFontSize(p*e.scale),A=this.lineWidth,this.lineWidth=A*e.scale);var O="text"!==this.autoPaging;if(O||_.y+_.h<=k){if(O||_.y>=B&&_.x<=E){var M=O?e.text:this.pdf.splitTextToSize(e.text,e.maxWidth||E-_.x)[0],R=y([JSON.parse(JSON.stringify(h))],this.posX+this.margin[3],-L+B+this.ctx.prevPageLastElemOffset)[0],Q=O&&(F>N||F<I)&&m.call(this);Q&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],D,T,null).clip().discardPath()),this.pdf.text(M,R.x,R.y,{angle:e.angle,align:t,renderingMode:e.renderingMode}),Q&&this.pdf.restoreGraphicsState()}}else _.y<k&&(this.ctx.prevPageLastElemOffset+=k-_.y);e.scale>=.01&&(this.pdf.setFontSize(p),this.lineWidth=A)}else e.scale>=.01&&(p=this.pdf.internal.getFontSize(),this.pdf.setFontSize(p*e.scale),A=this.lineWidth,this.lineWidth=A*e.scale),this.pdf.text(e.text,r.x+this.posX,r.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(p),this.lineWidth=A)},P=function(e,t,a,r){a=a||0,r=r||0,this.pdf.internal.out(n(e+a)+" "+i(t+r)+" l")},k=function(e,t,n){return this.pdf.lines(e,t,n,null,null)},T=function(e,n,i,s,l,o,d,c){this.pdf.internal.out([t(a(i+e)),t(r(s+n)),t(a(l+e)),t(r(o+n)),t(a(d+e)),t(r(c+n)),"c"].join(" "))},E=function(e,t,n,i){for(var a=2*Math.PI,r=Math.PI/2;t>n;)t-=a;var s=Math.abs(n-t);s<a&&i&&(s=a-s);for(var l=[],o=i?-1:1,d=t;s>1e-5;){var c=d+o*Math.min(s,r);l.push(D.call(this,e,d,c)),s-=Math.abs(c-d),d=c}return l},D=function(e,t,n){var i=(n-t)/2,a=e*Math.cos(i),r=e*Math.sin(i),s=a,l=-r,o=s*s+l*l,d=o+s*a+l*r,c=4/3*(Math.sqrt(2*o*d)-d)/(s*r-l*a),u=s-c*l,p=l+c*s,A=u,h=-p,f=i+t,m=Math.cos(f),v=Math.sin(f);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:u*m-p*v,y2:u*v+p*m,x3:A*m-h*v,y3:A*v+h*m,x4:e*Math.cos(n),y4:e*Math.sin(n)}},L=function(e){return 180*e/Math.PI},U=function(e,t,n,i,a,r){var s=e+.5*(n-e),o=t+.5*(i-t),d=a+.5*(n-a),c=r+.5*(i-r),u=Math.min(e,a,s,d),p=Math.max(e,a,s,d),A=Math.min(t,r,o,c),h=Math.max(t,r,o,c);return new l(u,A,p-u,h-A)},_=function(e,t,n,i,a,r,s,o){var d,c,u,p,A,h,f,m,v,g,y,x,b,w,j=n-e,C=i-t,S=a-n,N=r-i,I=s-a,F=o-r;for(c=0;c<41;c++)v=(f=(u=e+(d=c/40)*j)+d*((A=n+d*S)-u))+d*(A+d*(a+d*I-A)-f),g=(m=(p=t+d*C)+d*((h=i+d*N)-p))+d*(h+d*(r+d*F-h)-m),0==c?(y=v,x=g,b=v,w=g):(y=Math.min(y,v),x=Math.min(x,g),b=Math.max(b,v),w=Math.max(w,g));return new l(Math.round(y),Math.round(x),Math.round(b-y),Math.round(w-x))},O=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var e,t,n=(e=this.ctx.lineDash,t=this.ctx.lineDashOffset,JSON.stringify({lineDash:e,lineDashOffset:t}));this.prevLineDash!==n&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=n)}}}(W8.API), +/** + * @license + * jsPDF filters PlugIn + * Copyright (c) 2014 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){var t=function(e){var t,n,i,a,r,s,l,o,d,c;for(n=[],i=0,a=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;a>i;i+=4)0!==(r=(e.charCodeAt(i)<<24)+(e.charCodeAt(i+1)<<16)+(e.charCodeAt(i+2)<<8)+e.charCodeAt(i+3))?(s=(r=((r=((r=((r=(r-(c=r%85))/85)-(d=r%85))/85)-(o=r%85))/85)-(l=r%85))/85)%85,n.push(s+33,l+33,o+33,d+33,c+33)):n.push(122);return function(e,t){for(var n=t;n>0;n--)e.pop()}(n,t.length),String.fromCharCode.apply(String,n)+"~>"},n=function(e){var t,n,i,a,r,s=String,l="length",o=255,d="charCodeAt",c="slice",u="replace";for(e[c](-2),e=e[c](0,-2)[u](/\s/g,"")[u]("z","!!!!!"),i=[],a=0,r=(e+=t="uuuuu"[c](e[l]%5||5))[l];r>a;a+=5)n=52200625*(e[d](a)-33)+614125*(e[d](a+1)-33)+7225*(e[d](a+2)-33)+85*(e[d](a+3)-33)+(e[d](a+4)-33),i.push(o&n>>24,o&n>>16,o&n>>8,o&n);return function(e,t){for(var n=t;n>0;n--)e.pop()}(i,t[l]),s.fromCharCode.apply(s,i)},i=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",i=0;i<e.length;i+=2)n+=String.fromCharCode("0x"+(e[i]+e[i+1]));return n},a=function(e){for(var t=new Uint8Array(e.length),n=e.length;n--;)t[n]=e.charCodeAt(n);return(t=ns(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,r){var s=0,l=e||"",o=[];for("string"==typeof(r=r||[])&&(r=[r]),s=0;s<r.length;s+=1)switch(r[s]){case"ASCII85Decode":case"/ASCII85Decode":l=n(l),o.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":l=t(l),o.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":l=i(l),o.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":l=l.split("").map((function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)})).join("")+">",o.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":l=a(l),o.push("/FlateDecode");break;default:throw new Error('The filter: "'+r[s]+'" is not implemented')}return{data:l,reverseChain:o.reverse().join(" ")}}}(W8.API), +/** + * @license + * jsPDF fileloading PlugIn + * Copyright (c) 2018 Aras Abbasi (aras.abbasi@gmail.com) + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){e.loadFile=function(e,t,n){return function(e,t,n){t=!1!==t,n="function"==typeof n?n:function(){};var i=void 0;try{i=function(e,t,n){var i=new XMLHttpRequest,a=0,r=function(e){var t=e.length,n=[],i=String.fromCharCode;for(a=0;a<t;a+=1)n.push(i(255&e.charCodeAt(a)));return n.join("")};if(i.open("GET",e,!t),i.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(i.onload=function(){200===i.status?n(r(this.responseText)):n(void 0)}),i.send(null),t&&200===i.status)return r(i.responseText)}(e,t,n)}catch(a){}return i}(e,t,n)},e.loadImageFile=e.loadFile}(W8.API),function(e){function t(){return(A8.html2canvas?Promise.resolve(A8.html2canvas):pr((()=>Promise.resolve().then((()=>T9))),void 0)).catch((function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))})).then((function(e){return e.default?e.default:e}))}function n(){return(A8.DOMPurify?Promise.resolve(A8.DOMPurify):pr((()=>import("./purify.es-0769f88c.js")),[])).catch((function(e){return Promise.reject(new Error("Could not load dompurify: "+e))})).then((function(e){return e.default?e.default:e}))}var i=function(e){var t=p(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},a=function(e,t){var n=document.createElement(e);for(var i in t.className&&(n.className=t.className),t.innerHTML&&t.dompurify&&(n.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)n.style[i]=t.style[i];return n},r=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),i=e.convert(Promise.resolve(),n);return(i=i.setProgress(1,e,1,[e])).set(t)};(r.prototype=Object.create(Promise.prototype)).constructor=r,r.convert=function(e,t){return e.__proto__=t||r.prototype,e},r.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},r.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch(i(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(n).then((function(t){return this.set({src:a("div",{innerHTML:e,dompurify:t})})}));case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},r.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},r.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=function e(t,n){for(var i=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),a=t.firstChild;a;a=a.nextSibling)!0!==n&&1===a.nodeType&&"SCRIPT"===a.nodeName||i.appendChild(e(a,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(i.width=t.width,i.height=t.height,i.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(i.value=t.value),i.addEventListener("load",(function(){i.scrollTop=t.scrollTop,i.scrollLeft=t.scrollLeft}),!0)),i}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=a("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=a("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(a("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},r.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},r.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=this.opt.jsPDF,n=this.opt.fontFaces,i="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,a=Object.assign({async:!0,allowTaint:!0,scale:i,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete a.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=n,n)for(var r=0;r<n.length;++r){var s=n[r],l=s.src.find((function(e){return"truetype"===e.format}));l&&t.addFont(l.url,s.ref.name,s.ref.style)}return a.windowHeight=a.windowHeight||0,a.windowHeight=0==a.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):a.windowHeight,t.context2d.save(!0),e(this.prop.container,a)})).then((function(e){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},r.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},r.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},r.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},r.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},r.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}}))},r.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},r.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},r.prototype.set=function(e){if("object"!==i(e))return this;var t=Object.keys(e||{}).map((function(t){if(t in r.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},r.prototype.get=function(e,t){return this.then((function(){var n=e in r.template.prop?this.prop[e]:this.opt[e];return t?t(n):n}))},r.prototype.setMargin=function(e){return this.then((function(){switch(i(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},r.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then((function(){(e=e||W8.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},r.prototype.setProgress=function(e,t,n,i){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=i&&(this.progress.stack=i),this.progress.ratio=this.progress.val/this.progress.state,this},r.prototype.updateProgress=function(e,t,n,i){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,i?this.progress.stack.concat(i):null)},r.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,(function(e,t){return n.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,(function(t){return n.updateProgress(null,e),t})).then(e,t).then((function(e){return n.updateProgress(1),e}))}))},r.prototype.thenCore=function(e,t,n){n=n||Promise.prototype.then,e&&(e=e.bind(this)),t&&(t=t.bind(this));var i=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:r.convert(Object.assign({},this),Promise.prototype),a=n.call(i,e,t);return r.convert(a,this.__proto__)},r.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},r.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},r.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return r.convert(t,this)},r.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},r.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},r.prototype.using=r.prototype.set,r.prototype.saveAs=r.prototype.save,r.prototype.export=r.prototype.output,r.prototype.run=r.prototype.then,W8.getPageSize=function(e,t,n){if("object"===p(e)){var i=e;e=i.orientation,t=i.unit||t,n=i.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var a,r=(""+n).toLowerCase(),s={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":a=1;break;case"mm":a=72/25.4;break;case"cm":a=72/2.54;break;case"in":a=72;break;case"px":a=.75;break;case"pc":case"em":a=12;break;case"ex":a=6;break;default:throw"Invalid unit: "+t}var l,o=0,d=0;if(s.hasOwnProperty(r))o=s[r][1]/a,d=s[r][0]/a;else try{o=n[1],d=n[0]}catch(_u){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e)e="p",d>o&&(l=d,d=o,o=l);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",o>d&&(l=d,d=o,o=l)}return{width:d,height:o,unit:t,k:a,orientation:e}},e.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(R7):null;var n=new r(t);return t.worker?n:n.from(e).doCallback()}}(W8.API),W8.API.addJS=function(e){return $7=e,this.internal.events.subscribe("postPutResources",(function(){K7=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(K7+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),G7=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+$7+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==K7&&void 0!==G7&&this.internal.out("/Names <</JavaScript "+K7+" 0 R>>")})),this}, +/** + * @license + * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){var t;e.events.push(["postPutResources",function(){var e=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=e.outline.render().split(/\r\n/),a=0;a<i.length;a++){var r=i[a],s=n.exec(r);if(null!=s){var l=s[1];e.internal.newObjectDeferredBegin(l,!1)}e.internal.write(r)}if(this.outline.createNamedDestinations){var o=this.internal.pages.length,d=[];for(a=0;a<o;a++){var c=e.internal.newObject();d.push(c);var u=e.internal.getPageInfo(a+1);e.internal.write("<< /D["+u.objId+" 0 R /XYZ null null null]>> endobj")}var p=e.internal.newObject();for(e.internal.write("<< /Names [ "),a=0;a<d.length;a++)e.internal.write("(page_"+(a+1)+")"+d[a]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+p+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,n){var i={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(i),i},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,i=0;i<t.children.length;i++){var a=t.children[i];this.objStart(a),this.line("/Title "+this.makeString(a.title)),this.line("/Parent "+this.makeRef(t)),i>0&&this.line("/Prev "+this.makeRef(t.children[i-1])),i<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[i+1])),a.children.length>0&&(this.line("/First "+this.makeRef(a.children[0])),this.line("/Last "+this.makeRef(a.children[a.children.length-1])));var r=this.count=this.count_r({count:0},a);if(r>0&&this.line("/Count "+r),a.options&&a.options.pageNumber){var s=e.internal.getPageInfo(a.options.pageNumber);this.line("/Dest ["+s.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var l=0;l<t.children.length;l++)this.renderItems(t.children[l])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}])}(W8.API), +/** + * @license + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,n,i,a,r,s){var l,o=this.decode.DCT_DECODE,d=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=r||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(l=function(e){for(var n,i=256*e.charCodeAt(4)+e.charCodeAt(5),a=e.length,r={width:0,height:0,numcomponents:1},s=4;s<a;s+=2){if(s+=i,-1!==t.indexOf(e.charCodeAt(s+1))){n=256*e.charCodeAt(s+5)+e.charCodeAt(s+6),r={width:256*e.charCodeAt(s+7)+e.charCodeAt(s+8),height:n,numcomponents:e.charCodeAt(s+9)};break}i=256*e.charCodeAt(s+2)+e.charCodeAt(s+3)}return r}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}d={data:e,width:l.width,height:l.height,colorSpace:s,bitsPerComponent:8,filter:o,index:n,alias:i}}return d}}(W8.API);var J7,Z7,e9,t9,n9,i9=function(){var e,t,n;function i(e){var t,n,i,a,r,s,l,o,d,c,u,p,A,h;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},s=null;;){switch(t=this.readUInt32(),d=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":s&&this.animation.frames.push(s),this.pos+=4,s={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},r=this.readUInt16(),a=this.readUInt16()||100,s.delay=1e3*r/a,s.disposeOp=this.data[this.pos++],s.blendOp=this.data[this.pos++],s.data=[];break;case"IDAT":case"fdAT":for("fdAT"===d&&(this.pos+=4,t-=4),e=(null!=s?s.data:void 0)||this.imgData,p=0;0<=t?p<t:p>t;0<=t?++p:--p)e.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(i=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>i)throw new Error("More transparent colors than palette size");if((c=i-this.transparency.indexed.length)>0)for(A=0;0<=c?A<c:A>c;0<=c?++A:--A)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":l=(u=this.read(t)).indexOf(0),o=String.fromCharCode.apply(String,u.slice(0,l)),this.text[o]=String.fromCharCode.apply(String,u.slice(l+1));break;case"IEND":return s&&this.animation.frames.push(s),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(h=this.colorType)||6===h,n=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*n,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}i.prototype.read=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;0<=e?++t:--t)n.push(this.data[this.pos++]);return n},i.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},i.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},i.prototype.decodePixels=function(e){var t=this.pixelBitlength/8,n=new Uint8Array(this.width*this.height*t),i=0,a=this;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);function r(r,s,l,o){var d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P=Math.ceil((a.width-r)/l),k=Math.ceil((a.height-s)/o),T=a.width==P&&a.height==k;for(w=t*P,x=T?n:new Uint8Array(w*k),h=e.length,b=0,c=0;b<k&&i<h;){switch(e[i++]){case 0:for(p=S=0;S<w;p=S+=1)x[c++]=e[i++];break;case 1:for(p=N=0;N<w;p=N+=1)d=e[i++],A=p<t?0:x[c-t],x[c++]=(d+A)%256;break;case 2:for(p=I=0;I<w;p=I+=1)d=e[i++],u=(p-p%t)/t,j=b&&x[(b-1)*w+u*t+p%t],x[c++]=(j+d)%256;break;case 3:for(p=F=0;F<w;p=F+=1)d=e[i++],u=(p-p%t)/t,A=p<t?0:x[c-t],j=b&&x[(b-1)*w+u*t+p%t],x[c++]=(d+Math.floor((A+j)/2))%256;break;case 4:for(p=B=0;B<w;p=B+=1)d=e[i++],u=(p-p%t)/t,A=p<t?0:x[c-t],0===b?j=C=0:(j=x[(b-1)*w+u*t+p%t],C=u&&x[(b-1)*w+(u-1)*t+p%t]),f=A+j-C,m=Math.abs(f-A),g=Math.abs(f-j),y=Math.abs(f-C),v=m<=g&&m<=y?A:g<=y?j:C,x[c++]=(d+v)%256;break;default:throw new Error("Invalid filter algorithm: "+e[i-1])}if(!T){var E=((s+b*o)*a.width+r)*t,D=b*w;for(p=0;p<P;p+=1){for(var L=0;L<t;L+=1)n[E++]=x[D++];E+=(l-1)*t}}b++}}return e=is(e),1==a.interlaceMethod?(r(0,0,8,8),r(4,0,8,8),r(0,4,4,8),r(2,0,4,4),r(0,2,2,4),r(1,0,2,2),r(0,1,1,2)):r(0,0,1,1),n},i.prototype.decodePalette=function(){var e,t,n,i,a,r,s,l,o;for(n=this.palette,r=this.transparency.indexed||[],a=new Uint8Array((r.length||0)+n.length),i=0,e=0,t=s=0,l=n.length;s<l;t=s+=3)a[i++]=n[t],a[i++]=n[t+1],a[i++]=n[t+2],a[i++]=null!=(o=r[e++])?o:255;return a},i.prototype.copyToImageData=function(e,t){var n,i,a,r,s,l,o,d,c,u,p;if(i=this.colors,c=null,n=this.hasAlphaChannel,this.palette.length&&(c=null!=(p=this._decodedPalette)?p:this._decodedPalette=this.decodePalette(),i=4,n=!0),d=(a=e.data||e).length,s=c||t,r=l=0,1===i)for(;r<d;)o=c?4*t[r/4]:l,u=s[o++],a[r++]=u,a[r++]=u,a[r++]=u,a[r++]=n?s[o++]:255,l=o;else for(;r<d;)o=c?4*t[r/4]:l,a[r++]=s[o++],a[r++]=s[o++],a[r++]=s[o++],a[r++]=n?s[o++]:255,l=o},i.prototype.decode=function(){var e;return e=new Uint8Array(this.width*this.height*4),this.copyToImageData(e,this.decodePixels()),e};var a=function(){if("[object Window]"===Object.prototype.toString.call(A8)){try{t=A8.document.createElement("canvas"),n=t.getContext("2d")}catch(e){return!1}return!0}return!1};return a(),e=function(e){var i;if(!0===a())return n.width=e.width,n.height=e.height,n.clearRect(0,0,e.width,e.height),n.putImageData(e,0,0),(i=new Image).src=t.toDataURL(),i;throw new Error("This method requires a Browser with Canvas-capability.")},i.prototype.decodeFrames=function(t){var n,i,a,r,s,l,o,d;if(this.animation){for(d=[],i=s=0,l=(o=this.animation.frames).length;s<l;i=++s)n=o[i],a=t.createImageData(n.width,n.height),r=this.decodePixels(new Uint8Array(n.data)),this.copyToImageData(a,r),n.imageData=a,d.push(n.image=e(a));return d}},i.prototype.renderFrame=function(e,t){var n,i,a;return n=(i=this.animation.frames)[t],a=i[t-1],0===t&&e.clearRect(0,0,this.width,this.height),1===(null!=a?a.disposeOp:void 0)?e.clearRect(a.xOffset,a.yOffset,a.width,a.height):2===(null!=a?a.disposeOp:void 0)&&e.putImageData(a.imageData,a.xOffset,a.yOffset),0===n.blendOp&&e.clearRect(n.xOffset,n.yOffset,n.width,n.height),e.drawImage(n.image,n.xOffset,n.yOffset)},i.prototype.animate=function(e){var t,n,i,a,r,s,l=this;return n=0,s=this.animation,a=s.numFrames,i=s.frames,r=s.numPlays,(t=function(){var s,o;if(s=n++%a,o=i[s],l.renderFrame(e,s),a>1&&n/a<r)return l.animation._timeout=setTimeout(t,o.delay)})()},i.prototype.stopAnimation=function(){var e;return clearTimeout(null!=(e=this.animation)?e._timeout:void 0)},i.prototype.render=function(e){var t,n;return e._png&&e._png.stopAnimation(),e._png=this,e.width=this.width,e.height=this.height,t=e.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(n=t.createImageData(this.width,this.height),this.copyToImageData(n,this.decodePixels()),t.putImageData(n,0,0))},i}(); +/** + * @license + * + * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * ==================================================================== + */ +/** + * @license + * (c) Dean McNamee <dean@gmail.com>, 2013. + * + * https://github.com/deanm/omggif + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + * + * omggif is a JavaScript implementation of a GIF 89a encoder and decoder, + * including animation and compression. It does not rely on any specific + * underlying system, so should run in the browser, Node, or Plask. + */function a9(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,i=e[t++]|e[t++]<<8,a=e[t++],r=a>>7,s=1<<1+(7&a);e[t++],e[t++];var l=null,o=null;r&&(l=t,o=s,t+=3*s);var d=!0,c=[],u=0,p=null,A=0,h=null;for(this.width=n,this.height=i;d&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,h=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((I=e[t++])>=0))throw Error("Invalid block size");if(0===I)break;t+=I}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var f=e[t++];u=e[t++]|e[t++]<<8,p=e[t++],!(1&f)&&(p=null),A=f>>2&7,t++;break;case 254:for(;;){if(!((I=e[t++])>=0))throw Error("Invalid block size");if(0===I)break;t+=I}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var m=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,g=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,x=e[t++],b=x>>6&1,w=1<<1+(7&x),j=l,C=o,S=!1;x>>7&&(S=!0,j=t,C=w,t+=3*w);var N=t;for(t++;;){var I;if(!((I=e[t++])>=0))throw Error("Invalid block size");if(0===I)break;t+=I}c.push({x:m,y:v,width:g,height:y,has_local_palette:S,palette_offset:j,palette_size:C,data_offset:N,data_length:t-N,transparent_index:p,interlaced:!!b,delay:u,disposal:A});break;case 59:d=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return c.length},this.loopCount=function(){return h},this.frameInfo=function(e){if(e<0||e>=c.length)throw new Error("Frame index out of range.");return c[e]},this.decodeAndBlitFrameBGRA=function(t,i){var a=this.frameInfo(t),r=a.width*a.height,s=new Uint8Array(r);r9(e,a.data_offset,s,r);var l=a.palette_offset,o=a.transparent_index;null===o&&(o=256);var d=a.width,c=n-d,u=d,p=4*(a.y*n+a.x),A=4*((a.y+a.height)*n+a.x),h=p,f=4*c;!0===a.interlaced&&(f+=4*n*7);for(var m=8,v=0,g=s.length;v<g;++v){var y=s[v];if(0===u&&(u=d,(h+=f)>=A&&(f=4*c+4*n*(m-1),h=p+(d+c)*(m<<1),m>>=1)),y===o)h+=4;else{var x=e[l+3*y],b=e[l+3*y+1],w=e[l+3*y+2];i[h++]=w,i[h++]=b,i[h++]=x,i[h++]=255}--u}},this.decodeAndBlitFrameRGBA=function(t,i){var a=this.frameInfo(t),r=a.width*a.height,s=new Uint8Array(r);r9(e,a.data_offset,s,r);var l=a.palette_offset,o=a.transparent_index;null===o&&(o=256);var d=a.width,c=n-d,u=d,p=4*(a.y*n+a.x),A=4*((a.y+a.height)*n+a.x),h=p,f=4*c;!0===a.interlaced&&(f+=4*n*7);for(var m=8,v=0,g=s.length;v<g;++v){var y=s[v];if(0===u&&(u=d,(h+=f)>=A&&(f=4*c+4*n*(m-1),h=p+(d+c)*(m<<1),m>>=1)),y===o)h+=4;else{var x=e[l+3*y],b=e[l+3*y+1],w=e[l+3*y+2];i[h++]=x,i[h++]=b,i[h++]=w,i[h++]=255}--u}}}function r9(e,t,n,i){for(var a=e[t++],r=1<<a,s=r+1,l=s+1,o=a+1,d=(1<<o)-1,c=0,u=0,p=0,A=e[t++],h=new Int32Array(4096),f=null;;){for(;c<16&&0!==A;)u|=e[t++]<<c,c+=8,1===A?A=e[t++]:--A;if(c<o)break;var m=u&d;if(u>>=o,c-=o,m!==r){if(m===s)break;for(var v=m<l?m:f,g=0,y=v;y>r;)y=h[y]>>8,++g;var x=y;if(p+g+(v!==m?1:0)>i)return void f8.log("Warning, gif stream longer than expected.");n[p++]=x;var b=p+=g;for(v!==m&&(n[p++]=x),y=v;g--;)y=h[y],n[--b]=255&y,y>>=8;null!==f&&l<4096&&(h[l++]=f<<8|x,l>=d+1&&o<12&&(++o,d=d<<1|1)),f=m}else l=s+1,d=(1<<(o=a+1))-1,f=null}return p!==i&&f8.log("Warning, gif stream shorter than expected."),n +/** + * @license + Copyright (c) 2008, Adobe Systems Incorporated + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of Adobe Systems Incorporated nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/}function s9(e){var t,n,i,a,r,s=Math.floor,l=new Array(64),o=new Array(64),d=new Array(64),c=new Array(64),u=new Array(65535),p=new Array(65535),A=new Array(64),h=new Array(64),f=[],m=0,v=7,g=new Array(64),y=new Array(64),x=new Array(64),b=new Array(256),w=new Array(2048),j=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],C=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],S=[0,1,2,3,4,5,6,7,8,9,10,11],N=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],I=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],F=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],B=[0,1,2,3,4,5,6,7,8,9,10,11],P=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],k=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function T(e,t){for(var n=0,i=0,a=new Array,r=1;r<=16;r++){for(var s=1;s<=e[r];s++)a[t[i]]=[],a[t[i]][0]=n,a[t[i]][1]=r,i++,n++;n*=2}return a}function E(e){for(var t=e[0],n=e[1]-1;n>=0;)t&1<<n&&(m|=1<<v),n--,--v<0&&(255==m?(D(255),D(0)):D(m),v=7,m=0)}function D(e){f.push(e)}function L(e){D(e>>8&255),D(255&e)}function U(e,t,n,i,a){for(var r,s=a[0],l=a[240],o=function(e,t){var n,i,a,r,s,l,o,d,c,u,p=0;for(c=0;c<8;++c){n=e[p],i=e[p+1],a=e[p+2],r=e[p+3],s=e[p+4],l=e[p+5],o=e[p+6];var h=n+(d=e[p+7]),f=n-d,m=i+o,v=i-o,g=a+l,y=a-l,x=r+s,b=r-s,w=h+x,j=h-x,C=m+g,S=m-g;e[p]=w+C,e[p+4]=w-C;var N=.707106781*(S+j);e[p+2]=j+N,e[p+6]=j-N;var I=.382683433*((w=b+y)-(S=v+f)),F=.5411961*w+I,B=1.306562965*S+I,P=.707106781*(C=y+v),k=f+P,T=f-P;e[p+5]=T+F,e[p+3]=T-F,e[p+1]=k+B,e[p+7]=k-B,p+=8}for(p=0,c=0;c<8;++c){n=e[p],i=e[p+8],a=e[p+16],r=e[p+24],s=e[p+32],l=e[p+40],o=e[p+48];var E=n+(d=e[p+56]),D=n-d,L=i+o,U=i-o,_=a+l,O=a-l,M=r+s,R=r-s,Q=E+M,H=E-M,V=L+_,z=L-_;e[p]=Q+V,e[p+32]=Q-V;var q=.707106781*(z+H);e[p+16]=H+q,e[p+48]=H-q;var W=.382683433*((Q=R+O)-(z=U+D)),Y=.5411961*Q+W,K=1.306562965*z+W,G=.707106781*(V=O+U),$=D+G,X=D-G;e[p+40]=X+Y,e[p+24]=X-Y,e[p+8]=$+K,e[p+56]=$-K,p++}for(c=0;c<64;++c)u=e[c]*t[c],A[c]=u>0?u+.5|0:u-.5|0;return A}(e,t),d=0;d<64;++d)h[j[d]]=o[d];var c=h[0]-n;n=h[0],0==c?E(i[0]):(E(i[p[r=32767+c]]),E(u[r]));for(var f=63;f>0&&0==h[f];)f--;if(0==f)return E(s),n;for(var m,v=1;v<=f;){for(var g=v;0==h[v]&&v<=f;)++v;var y=v-g;if(y>=16){m=y>>4;for(var x=1;x<=m;++x)E(l);y&=15}r=32767+h[v],E(a[(y<<4)+p[r]]),E(u[r]),v++}return 63!=f&&E(s),n}function _(e){e=Math.min(Math.max(e,1),100),r!=e&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],n=0;n<64;n++){var i=s((t[n]*e+50)/100);i=Math.min(Math.max(i,1),255),l[j[n]]=i}for(var a=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],r=0;r<64;r++){var u=s((a[r]*e+50)/100);u=Math.min(Math.max(u,1),255),o[j[r]]=u}for(var p=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],A=0,h=0;h<8;h++)for(var f=0;f<8;f++)d[A]=1/(l[j[A]]*p[h]*p[f]*8),c[A]=1/(o[j[A]]*p[h]*p[f]*8),A++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),r=e)}this.encode=function(e,r){var s,u;r&&_(r),f=new Array,m=0,v=7,L(65496),L(65504),L(16),D(74),D(70),D(73),D(70),D(0),D(1),D(1),D(0),L(1),L(1),D(0),D(0),function(){L(65499),L(132),D(0);for(var e=0;e<64;e++)D(l[e]);D(1);for(var t=0;t<64;t++)D(o[t])}(),s=e.width,u=e.height,L(65472),L(17),D(8),L(u),L(s),D(3),D(1),D(17),D(0),D(2),D(17),D(1),D(3),D(17),D(1),function(){L(65476),L(418),D(0);for(var e=0;e<16;e++)D(C[e+1]);for(var t=0;t<=11;t++)D(S[t]);D(16);for(var n=0;n<16;n++)D(N[n+1]);for(var i=0;i<=161;i++)D(I[i]);D(1);for(var a=0;a<16;a++)D(F[a+1]);for(var r=0;r<=11;r++)D(B[r]);D(17);for(var s=0;s<16;s++)D(P[s+1]);for(var l=0;l<=161;l++)D(k[l])}(),L(65498),L(12),D(3),D(1),D(0),D(2),D(17),D(3),D(17),D(0),D(63),D(0);var p=0,A=0,h=0;m=0,v=7,this.encode.displayName="_encode_";for(var b,j,T,O,M,R,Q,H,V,z=e.data,q=e.width,W=e.height,Y=4*q,K=0;K<W;){for(b=0;b<Y;){for(M=Y*K+b,Q=-1,H=0,V=0;V<64;V++)R=M+(H=V>>3)*Y+(Q=4*(7&V)),K+H>=W&&(R-=Y*(K+1+H-W)),b+Q>=Y&&(R-=b+Q-Y+4),j=z[R++],T=z[R++],O=z[R++],g[V]=(w[j]+w[T+256|0]+w[O+512|0]>>16)-128,y[V]=(w[j+768|0]+w[T+1024|0]+w[O+1280|0]>>16)-128,x[V]=(w[j+1280|0]+w[T+1536|0]+w[O+1792|0]>>16)-128;p=U(g,d,p,t,i),A=U(y,c,A,n,a),h=U(x,c,h,n,a),b+=32}K+=8}if(v>=0){var G=[];G[1]=v+1,G[0]=(1<<v+1)-1,E(G)}return L(65497),new Uint8Array(f)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)b[t]=e(t)}(),t=T(C,S),n=T(F,B),i=T(N,I),a=T(P,k),function(){for(var e=1,t=2,n=1;n<=15;n++){for(var i=e;i<t;i++)p[32767+i]=n,u[32767+i]=[],u[32767+i][1]=n,u[32767+i][0]=i;for(var a=-(t-1);a<=-e;a++)p[32767+a]=n,u[32767+a]=[],u[32767+a][1]=n,u[32767+a][0]=t-1+a;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)w[e]=19595*e,w[e+256|0]=38470*e,w[e+512|0]=7471*e+32768,w[e+768|0]=-11059*e,w[e+1024|0]=-21709*e,w[e+1280|0]=32768*e+8421375,w[e+1536|0]=-27439*e,w[e+1792|0]=-5329*e}(),_(e)} +/** + * @license + * Copyright (c) 2017 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */function l9(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function o9(e){function t(e){if(!e)throw Error("assert :P")}function n(e,t,n){for(var i=0;4>i;i++)if(e[t+i]!=n.charCodeAt(i))return!0;return!1}function i(e,t,n,i,a){for(var r=0;r<a;r++)e[t+r]=n[i+r]}function a(e,t,n,i){for(var a=0;a<i;a++)e[t+a]=n}function r(e){return new Int32Array(e)}function s(e,t){for(var n=[],i=0;i<e;i++)n.push(new t);return n}function l(e,t){var n=[];return function e(n,i,a){for(var r=a[i],s=0;s<r&&(n.push(a.length>i+1?[]:new t),!(a.length<i+1));s++)e(n[s],i+1,a)}(n,0,e),n}var o=function(){var e=this;function o(e,t){for(var n=1<<t-1>>>0;e&n;)n>>>=1;return n?(e&n-1)+n:e}function d(e,n,i,a,r){t(!(a%i));do{e[n+(a-=i)]=r}while(0<a)}function c(e,n,i,a,s){if(t(2328>=s),512>=s)var l=r(512);else if(null==(l=r(s)))return 0;return function(e,n,i,a,s,l){var c,p,A=n,h=1<<i,f=r(16),m=r(16);for(t(0!=s),t(null!=a),t(null!=e),t(0<i),p=0;p<s;++p){if(15<a[p])return 0;++f[a[p]]}if(f[0]==s)return 0;for(m[1]=0,c=1;15>c;++c){if(f[c]>1<<c)return 0;m[c+1]=m[c]+f[c]}for(p=0;p<s;++p)c=a[p],0<a[p]&&(l[m[c]++]=p);if(1==m[15])return(a=new u).g=0,a.value=l[0],d(e,A,1,h,a),h;var v,g=-1,y=h-1,x=0,b=1,w=1,j=1<<i;for(p=0,c=1,s=2;c<=i;++c,s<<=1){if(b+=w<<=1,0>(w-=f[c]))return 0;for(;0<f[c];--f[c])(a=new u).g=c,a.value=l[p++],d(e,A+x,s,j,a),x=o(x,c)}for(c=i+1,s=2;15>=c;++c,s<<=1){if(b+=w<<=1,0>(w-=f[c]))return 0;for(;0<f[c];--f[c]){if(a=new u,(x&y)!=g){for(A+=j,v=1<<(g=c)-i;15>g&&!(0>=(v-=f[g]));)++g,v<<=1;h+=j=1<<(v=g-i),e[n+(g=x&y)].g=v+i,e[n+g].value=A-n-g}a.g=c-i,a.value=l[p++],d(e,A+(x>>i),s,j,a),x=o(x,c)}}return b!=2*m[15]-1?0:h}(e,n,i,a,s,l)}function u(){this.value=this.g=0}function p(){this.value=this.g=0}function A(){this.G=s(5,u),this.H=r(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(On,p)}function h(e,n,i,a){t(null!=e),t(null!=n),t(2147483648>a),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=n,e.pa=i,e.Jd=n,e.Yc=i+a,e.Zc=4<=a?i+a-4+1:i,N(e)}function f(e,t){for(var n=0;0<t--;)n|=F(e,128)<<t;return n}function m(e,t){var n=f(e,t);return I(e)?-n:n}function v(e,n,i,a){var r,s=0;for(t(null!=e),t(null!=n),t(4294967288>a),e.Sb=a,e.Ra=0,e.u=0,e.h=0,4<a&&(a=4),r=0;r<a;++r)s+=n[i+r]<<8*r;e.Ra=s,e.bb=a,e.oa=n,e.pa=i}function g(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Qn-8>>>0,++e.bb,e.u-=8;j(e)&&(e.h=1,e.u=0)}function y(e,n){if(t(0<=n),!e.h&&n<=Rn){var i=w(e)&Mn[n];return e.u+=n,g(e),i}return e.h=1,e.u=0}function x(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function b(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function w(e){return e.Ra>>>(e.u&Qn-1)>>>0}function j(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Qn}function C(e,t){e.u=t,e.h=j(e)}function S(e){e.u>=Hn&&(t(e.u>=Hn),g(e))}function N(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function I(e){return f(e,1)}function F(e,t){var n=e.Ca;0>e.b&&N(e);var i=e.b,a=n*t>>>8,r=(e.I>>>i>a)+0;for(r?(n-=a,e.I-=a+1<<i>>>0):n=a+1,i=n,a=0;256<=i;)a+=8,i>>=8;return i=7^a+Vn[i],e.b-=i,e.Ca=(n<<i)-1,r}function B(e,t,n){e[t+0]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n}function P(e,t){return e[t+0]|e[t+1]<<8}function k(e,t){return P(e,t)|e[t+2]<<16}function T(e,t){return P(e,t)|P(e,t+2)<<16}function E(e,n){var i=1<<n;return t(null!=e),t(0<n),e.X=r(i),null==e.X?0:(e.Mb=32-n,e.Xa=n,1)}function D(e,n){t(null!=e),t(null!=n),t(e.Xa==n.Xa),i(n.X,0,e.X,0,1<<n.Xa)}function L(){this.X=[],this.Xa=this.Mb=0}function U(e,n,i,a){t(null!=i),t(null!=a);var r=i[0],s=a[0];return 0==r&&(r=(e*s+n/2)/n),0==s&&(s=(n*r+e/2)/e),0>=r||0>=s?0:(i[0]=r,a[0]=s,1)}function _(e,t){return e+(1<<t)-1>>>t}function O(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function M(t,n){e[n]=function(n,i,a,r,s,l,o){var d;for(d=0;d<s;++d){var c=e[t](l[o+d-1],a,r+d);l[o+d]=O(n[i+d],c)}}}function R(){this.ud=this.hd=this.jd=0}function Q(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function H(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function V(e,t){return H(e+(e-t+.5>>1))}function z(e,t,n){return Math.abs(t-n)-Math.abs(e-n)}function q(e,t,n,i,a,r,s){for(i=r[s-1],n=0;n<a;++n)r[s+n]=i=O(e[t+n],i)}function W(e,t,n,i,a){var r;for(r=0;r<n;++r){var s=e[t+r],l=s>>8&255,o=16711935&(o=(o=16711935&s)+((l<<16)+l));i[a+r]=(4278255360&s)+o>>>0}}function Y(e,t){t.jd=255&e,t.hd=e>>8&255,t.ud=e>>16&255}function K(e,t,n,i,a,r){var s;for(s=0;s<i;++s){var l=t[n+s],o=l>>>8,d=l,c=255&(c=(c=l>>>16)+((e.jd<<24>>24)*(o<<24>>24)>>>5));d=255&(d=(d+=(e.hd<<24>>24)*(o<<24>>24)>>>5)+((e.ud<<24>>24)*(c<<24>>24)>>>5)),a[r+s]=(4278255360&l)+(c<<16)+d}}function G(t,n,i,a,r){e[n]=function(e,t,n,i,s,l,o,d,c){for(i=o;i<d;++i)for(o=0;o<c;++o)s[l++]=r(n[a(e[t++])])},e[t]=function(t,n,s,l,o,d,c){var u=8>>t.b,p=t.Ea,A=t.K[0],h=t.w;if(8>u)for(t=(1<<t.b)-1,h=(1<<u)-1;n<s;++n){var f,m=0;for(f=0;f<p;++f)f&t||(m=a(l[o++])),d[c++]=r(A[m&h]),m>>=u}else e["VP8LMapColor"+i](l,o,A,h,d,c,n,s,p)}}function $(e,t,n,i,a){for(n=t+n;t<n;){var r=e[t++];i[a++]=r>>16&255,i[a++]=r>>8&255,i[a++]=255&r}}function X(e,t,n,i,a){for(n=t+n;t<n;){var r=e[t++];i[a++]=r>>16&255,i[a++]=r>>8&255,i[a++]=255&r,i[a++]=r>>24&255}}function J(e,t,n,i,a){for(n=t+n;t<n;){var r=(s=e[t++])>>16&240|s>>12&15,s=240&s|s>>28&15;i[a++]=r,i[a++]=s}}function Z(e,t,n,i,a){for(n=t+n;t<n;){var r=(s=e[t++])>>16&248|s>>13&7,s=s>>5&224|s>>3&31;i[a++]=r,i[a++]=s}}function ee(e,t,n,i,a){for(n=t+n;t<n;){var r=e[t++];i[a++]=255&r,i[a++]=r>>8&255,i[a++]=r>>16&255}}function te(e,t,n,a,r,s){if(0==s)for(n=t+n;t<n;)B(a,((s=e[t++])[0]>>24|s[1]>>8&65280|s[2]<<8&16711680|s[3]<<24)>>>0),r+=32;else i(a,r,e,t,n)}function ne(t,n){e[n][0]=e[t+"0"],e[n][1]=e[t+"1"],e[n][2]=e[t+"2"],e[n][3]=e[t+"3"],e[n][4]=e[t+"4"],e[n][5]=e[t+"5"],e[n][6]=e[t+"6"],e[n][7]=e[t+"7"],e[n][8]=e[t+"8"],e[n][9]=e[t+"9"],e[n][10]=e[t+"10"],e[n][11]=e[t+"11"],e[n][12]=e[t+"12"],e[n][13]=e[t+"13"],e[n][14]=e[t+"0"],e[n][15]=e[t+"0"]}function ie(e){return e==Hi||e==Vi||e==zi||e==qi}function ae(){this.eb=[],this.size=this.A=this.fb=0}function re(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function se(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ae,this.f.kb=new re,this.sd=null}function le(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function oe(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function de(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ce(e,t){var n=e.T,a=t.ba.f.RGBA,r=a.eb,s=a.fb+e.ka*a.A,l=ma[t.ba.S],o=e.y,d=e.O,c=e.f,u=e.N,p=e.ea,A=e.W,h=t.cc,f=t.dc,m=t.Mc,v=t.Nc,g=e.ka,y=e.ka+e.T,x=e.U,b=x+1>>1;for(0==g?l(o,d,null,null,c,u,p,A,c,u,p,A,r,s,null,null,x):(l(t.ec,t.fc,o,d,h,f,m,v,c,u,p,A,r,s-a.A,r,s,x),++n);g+2<y;g+=2)h=c,f=u,m=p,v=A,u+=e.Rc,A+=e.Rc,s+=2*a.A,l(o,(d+=2*e.fa)-e.fa,o,d,h,f,m,v,c,u,p,A,r,s-a.A,r,s,x);return d+=e.fa,e.j+y<e.o?(i(t.ec,t.fc,o,d,x),i(t.cc,t.dc,c,u,b),i(t.Mc,t.Nc,p,A,b),n--):1&y||l(o,d,null,null,c,u,p,A,c,u,p,A,r,s+a.A,null,null,x),n}function ue(e,n,i){var a=e.F,r=[e.J];if(null!=a){var s=e.U,l=n.ba.S,o=l==Mi||l==zi;n=n.ba.f.RGBA;var d=[0],c=e.ka;d[0]=e.T,e.Kb&&(0==c?--d[0]:(--c,r[0]-=e.width),e.j+e.ka+e.T==e.o&&(d[0]=e.o-e.j-c));var u=n.eb;c=n.fb+c*n.A,e=Ci(a,r[0],e.width,s,d,u,c+(o?0:3),n.A),t(i==d),e&&ie(l)&&wi(u,c,o,s,d,n.A)}return 0}function pe(e){var t=e.ma,n=t.ba.S,i=11>n,a=n==Ui||n==Oi||n==Mi||n==Ri||12==n||ie(n);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!Ln(t.Oa,e,a?11:12))return 0;if(a&&ie(n)&&gn(),e.da)alert("todo:use_scaling");else{if(i){if(t.Ib=de,e.Kb){if(n=e.U+1>>1,t.memory=r(e.U+2*n),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+n,t.Ib=ce,gn()}}else alert("todo:EmitYUV");a&&(t.Jb=ue,i&&mn())}if(i&&!Pa){for(e=0;256>e;++e)ka[e]=89858*(e-128)+Sa>>Ca,Da[e]=-22014*(e-128)+Sa,Ea[e]=-45773*(e-128),Ta[e]=113618*(e-128)+Sa>>Ca;for(e=Na;e<Ia;++e)t=76283*(e-16)+Sa>>Ca,La[e-Na]=qe(t,255),Ua[e-Na]=qe(t+8>>4,15);Pa=1}return 1}function Ae(e){var n=e.ma,i=e.U,a=e.T;return t(!(1&e.ka)),0>=i||0>=a?0:(i=n.Ib(e,n),null!=n.Jb&&n.Jb(e,n,i),n.Dc+=i,1)}function he(e){e.ma.memory=null}function fe(e,t,n,i){return 47!=y(e,8)?0:(t[0]=y(e,14)+1,n[0]=y(e,14)+1,i[0]=y(e,1),0!=y(e,3)?0:!e.h)}function me(e,t){if(4>e)return e+1;var n=e-2>>1;return(2+(1&e)<<n)+y(t,n)+1}function ve(e,t){return 120<t?t-120:1<=(n=((n=Xi[t-1])>>4)*e+(8-(15&n)))?n:1;var n}function ge(e,t,n){var i=w(n),a=e[t+=255&i].g-8;return 0<a&&(C(n,n.u+8),i=w(n),t+=e[t].value,t+=i&(1<<a)-1),C(n,n.u+e[t].g),e[t].value}function ye(e,n,i){return i.g+=e.g,i.value+=e.value<<n>>>0,t(8>=i.g),e.g}function xe(e,n,i){var a=e.xc;return t((n=0==a?0:e.vc[e.md*(i>>a)+(n>>a)])<e.Wb),e.Ya[n]}function be(e,n,a,r){var s=e.ab,l=e.c*n,o=e.C;n=o+n;var d=a,c=r;for(r=e.Ta,a=e.Ua;0<s--;){var u=e.gc[s],p=o,A=n,h=d,f=c,m=(c=r,d=a,u.Ea);switch(t(p<A),t(A<=u.nc),u.hc){case 2:Wn(h,f,(A-p)*m,c,d);break;case 0:var v=p,g=A,y=c,x=d,b=(N=u).Ea;0==v&&(zn(h,f,null,null,1,y,x),q(h,f+1,0,0,b-1,y,x+1),f+=b,x+=b,++v);for(var w=1<<N.b,j=w-1,C=_(b,N.b),S=N.K,N=N.w+(v>>N.b)*C;v<g;){var I=S,F=N,B=1;for(qn(h,f,y,x-b,1,y,x);B<b;){var P=(B&~j)+w;P>b&&(P=b),(0,Xn[I[F++]>>8&15])(h,f+ +B,y,x+B-b,P-B,y,x+B),B=P}f+=b,x+=b,++v&j||(N+=C)}A!=u.nc&&i(c,d-m,c,d+(A-p-1)*m,m);break;case 1:for(m=h,g=f,b=(h=u.Ea)-(x=h&~(y=(f=1<<u.b)-1)),v=_(h,u.b),w=u.K,u=u.w+(p>>u.b)*v;p<A;){for(j=w,C=u,S=new R,N=g+x,I=g+h;g<N;)Y(j[C++],S),Jn(S,m,g,f,c,d),g+=f,d+=f;g<I&&(Y(j[C++],S),Jn(S,m,g,b,c,d),g+=b,d+=b),++p&y||(u+=v)}break;case 3:if(h==c&&f==d&&0<u.b){for(g=c,h=m=d+(A-p)*m-(x=(A-p)*_(u.Ea,u.b)),f=c,y=d,v=[],x=(b=x)-1;0<=x;--x)v[x]=f[y+x];for(x=b-1;0<=x;--x)g[h+x]=v[x];Yn(u,p,A,c,m,c,d)}else Yn(u,p,A,h,f,c,d)}d=r,c=a}c!=a&&i(r,a,d,c,l)}function we(e,n){var i=e.V,a=e.Ba+e.c*e.C,r=n-e.C;if(t(n<=e.l.o),t(16>=r),0<r){var s=e.l,l=e.Ta,o=e.Ua,d=s.width;if(be(e,r,i,a),r=o=[o],t((i=e.C)<(a=n)),t(s.v<s.va),a>s.o&&(a=s.o),i<s.j){var c=s.j-i;i=s.j,r[0]+=c*d}if(i>=a?i=0:(r[0]+=4*s.v,s.ka=i-s.j,s.U=s.va-s.v,s.T=a-i,i=1),i){if(o=o[0],11>(i=e.ca).S){var u=i.f.RGBA,p=(a=i.S,r=s.U,s=s.T,c=u.eb,u.A),A=s;for(u=u.fb+e.Ma*u.A;0<A--;){var h=l,f=o,m=r,v=c,g=u;switch(a){case Li:Zn(h,f,m,v,g);break;case Ui:ei(h,f,m,v,g);break;case Hi:ei(h,f,m,v,g),wi(v,g,0,m,1,0);break;case _i:ii(h,f,m,v,g);break;case Oi:te(h,f,m,v,g,1);break;case Vi:te(h,f,m,v,g,1),wi(v,g,0,m,1,0);break;case Mi:te(h,f,m,v,g,0);break;case zi:te(h,f,m,v,g,0),wi(v,g,1,m,1,0);break;case Ri:ti(h,f,m,v,g);break;case qi:ti(h,f,m,v,g),ji(v,g,m,1,0);break;case Qi:ni(h,f,m,v,g);break;default:t(0)}o+=d,u+=p}e.Ma+=s}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=i.height)}}e.C=n,t(e.C<=e.i)}function je(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var n=e.Ya[t].G,i=e.Ya[t].H;if(0<n[1][i[1]+0].g||0<n[2][i[2]+0].g||0<n[3][i[3]+0].g)return 0}return 1}function Ce(e,n,i,a,r,s){if(0!=e.Z){var l=e.qd,o=e.rd;for(t(null!=fa[e.Z]);n<i;++n)fa[e.Z](l,o,a,r,a,r,s),l=a,o=r,r+=s;e.qd=l,e.rd=o}}function Se(e,n){var i=e.l.ma,a=0==i.Z||1==i.Z?e.l.j:e.C;if(a=e.C<a?a:e.C,t(n<=e.l.o),n>a){var r=e.l.width,s=i.ca,l=i.tb+r*a,o=e.V,d=e.Ba+e.c*a,c=e.gc;t(1==e.ab),t(3==c[0].hc),Gn(c[0],a,n,o,d,s,l),Ce(i,a,n,s,l,r)}e.C=e.Ma=n}function Ne(e,n,i,a,r,s,l){var o=e.$/a,d=e.$%a,c=e.m,u=e.s,p=i+e.$,A=p;r=i+a*r;var h=i+a*s,f=280+u.ua,m=e.Pb?o:16777216,v=0<u.ua?u.Wa:null,g=u.wc,y=p<h?xe(u,d,o):null;t(e.C<s),t(h<=r);var x=!1;e:for(;;){for(;x||p<h;){var b=0;if(o>=m){var N=p-i;t((m=e).Pb),m.wd=m.m,m.xd=N,0<m.s.ua&&D(m.s.Wa,m.s.vb),m=o+Zi}if(d&g||(y=xe(u,d,o)),t(null!=y),y.Qb&&(n[p]=y.qb,x=!0),!x)if(S(c),y.jc){b=c,N=n;var I=p,F=y.pd[w(b)&On-1];t(y.jc),256>F.g?(C(b,b.u+F.g),N[I]=F.value,b=0):(C(b,b.u+F.g-256),t(256<=F.value),b=F.value),0==b&&(x=!0)}else b=ge(y.G[0],y.H[0],c);if(c.h)break;if(x||256>b){if(!x)if(y.nd)n[p]=(y.qb|b<<8)>>>0;else{if(S(c),x=ge(y.G[1],y.H[1],c),S(c),N=ge(y.G[2],y.H[2],c),I=ge(y.G[3],y.H[3],c),c.h)break;n[p]=(I<<24|x<<16|b<<8|N)>>>0}if(x=!1,++p,++d>=a&&(d=0,++o,null!=l&&o<=s&&!(o%16)&&l(e,o),null!=v))for(;A<p;)b=n[A++],v.X[(506832829*b&4294967295)>>>v.Mb]=b}else if(280>b){if(b=me(b-256,c),N=ge(y.G[4],y.H[4],c),S(c),N=ve(a,N=me(N,c)),c.h)break;if(p-i<N||r-p<b)break e;for(I=0;I<b;++I)n[p+I]=n[p+I-N];for(p+=b,d+=b;d>=a;)d-=a,++o,null!=l&&o<=s&&!(o%16)&&l(e,o);if(t(p<=r),d&g&&(y=xe(u,d,o)),null!=v)for(;A<p;)b=n[A++],v.X[(506832829*b&4294967295)>>>v.Mb]=b}else{if(!(b<f))break e;for(x=b-280,t(null!=v);A<p;)b=n[A++],v.X[(506832829*b&4294967295)>>>v.Mb]=b;b=p,t(!(x>>>(N=v).Xa)),n[b]=N.X[x],x=!0}x||t(c.h==j(c))}if(e.Pb&&c.h&&p<r)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&D(e.s.vb,e.s.Wa);else{if(c.h)break e;null!=l&&l(e,o>s?s:o),e.a=0,e.$=p-i}return 1}return e.a=3,0}function Ie(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var n=e.Wa;null!=n&&(n.X=null),e.vb=null,t(null!=e)}function Fe(){var t=new sn;return null==t?null:(t.a=0,t.xb=ha,ne("Predictor","VP8LPredictors"),ne("Predictor","VP8LPredictors_C"),ne("PredictorAdd","VP8LPredictorsAdd"),ne("PredictorAdd","VP8LPredictorsAdd_C"),Wn=W,Jn=K,Zn=$,ei=X,ti=J,ni=Z,ii=ee,e.VP8LMapColor32b=Kn,e.VP8LMapColor8b=$n,t)}function Be(e,n,i,l,o){var d=1,p=[e],h=[n],f=l.m,m=l.s,v=null,g=0;e:for(;;){if(i)for(;d&&y(f,1);){var x=p,b=h,j=l,N=1,I=j.m,F=j.gc[j.ab],B=y(I,2);if(j.Oc&1<<B)d=0;else{switch(j.Oc|=1<<B,F.hc=B,F.Ea=x[0],F.nc=b[0],F.K=[null],++j.ab,t(4>=j.ab),B){case 0:case 1:F.b=y(I,3)+2,N=Be(_(F.Ea,F.b),_(F.nc,F.b),0,j,F.K),F.K=F.K[0];break;case 3:var P,k=y(I,8)+1,T=16<k?0:4<k?1:2<k?2:3;if(x[0]=_(F.Ea,T),F.b=T,P=N=Be(k,1,0,j,F.K)){var D,L=k,U=F,M=1<<(8>>U.b),R=r(M);if(null==R)P=0;else{var Q=U.K[0],H=U.w;for(R[0]=U.K[0][0],D=1;D<1*L;++D)R[D]=O(Q[H+D],R[D-1]);for(;D<4*M;++D)R[D]=0;U.K[0]=null,U.K[0]=R,P=1}}N=P;break;case 2:break;default:t(0)}d=N}}if(p=p[0],h=h[0],d&&y(f,1)&&!(d=1<=(g=y(f,4))&&11>=g)){l.a=3;break e}var V;if(V=d)t:{var z,q,W,Y=l,K=p,G=h,$=g,X=i,J=Y.m,Z=Y.s,ee=[null],te=1,ne=0,ie=Ji[$];n:for(;;){if(X&&y(J,1)){var ae=y(J,3)+2,re=_(K,ae),se=_(G,ae),le=re*se;if(!Be(re,se,0,Y,ee))break n;for(ee=ee[0],Z.xc=ae,z=0;z<le;++z){var oe=ee[z]>>8&65535;ee[z]=oe,oe>=te&&(te=oe+1)}}if(J.h)break n;for(q=0;5>q;++q){var de=Ki[q];!q&&0<$&&(de+=1<<$),ne<de&&(ne=de)}var ce=s(te*ie,u),ue=te,pe=s(ue,A);if(null==pe)var Ae=null;else t(65536>=ue),Ae=pe;var he=r(ne);if(null==Ae||null==he||null==ce){Y.a=1;break n}var fe=ce;for(z=W=0;z<te;++z){var me=Ae[z],ve=me.G,ge=me.H,xe=0,be=1,we=0;for(q=0;5>q;++q){de=Ki[q],ve[q]=fe,ge[q]=W,!q&&0<$&&(de+=1<<$);i:{var je,Ce=de,Se=Y,Fe=he,Pe=fe,ke=W,Te=0,Ee=Se.m,De=y(Ee,1);if(a(Fe,0,0,Ce),De){var Le=y(Ee,1)+1,Ue=y(Ee,1),_e=y(Ee,0==Ue?1:8);Fe[_e]=1,2==Le&&(Fe[_e=y(Ee,8)]=1);var Oe=1}else{var Me=r(19),Re=y(Ee,4)+4;if(19<Re){Se.a=3;var Qe=0;break i}for(je=0;je<Re;++je)Me[$i[je]]=y(Ee,3);var He=void 0,Ve=void 0,ze=Se,qe=Me,We=Ce,Ye=Fe,Ke=0,Ge=ze.m,$e=8,Xe=s(128,u);a:for(;c(Xe,0,7,qe,19);){if(y(Ge,1)){var Je=2+2*y(Ge,3);if((He=2+y(Ge,Je))>We)break a}else He=We;for(Ve=0;Ve<We&&He--;){S(Ge);var Ze=Xe[0+(127&w(Ge))];C(Ge,Ge.u+Ze.g);var et=Ze.value;if(16>et)Ye[Ve++]=et,0!=et&&($e=et);else{var tt=16==et,nt=et-16,it=Yi[nt],at=y(Ge,Wi[nt])+it;if(Ve+at>We)break a;for(var rt=tt?$e:0;0<at--;)Ye[Ve++]=rt}}Ke=1;break a}Ke||(ze.a=3),Oe=Ke}(Oe=Oe&&!Ee.h)&&(Te=c(Pe,ke,8,Fe,Ce)),Oe&&0!=Te?Qe=Te:(Se.a=3,Qe=0)}if(0==Qe)break n;if(be&&1==Gi[q]&&(be=0==fe[W].g),xe+=fe[W].g,W+=Qe,3>=q){var st,lt=he[0];for(st=1;st<de;++st)he[st]>lt&&(lt=he[st]);we+=lt}}if(me.nd=be,me.Qb=0,be&&(me.qb=(ve[3][ge[3]+0].value<<24|ve[1][ge[1]+0].value<<16|ve[2][ge[2]+0].value)>>>0,0==xe&&256>ve[0][ge[0]+0].value&&(me.Qb=1,me.qb+=ve[0][ge[0]+0].value<<8)),me.jc=!me.Qb&&6>we,me.jc){var ot,dt=me;for(ot=0;ot<On;++ot){var ct=ot,ut=dt.pd[ct],pt=dt.G[0][dt.H[0]+ct];256<=pt.value?(ut.g=pt.g+256,ut.value=pt.value):(ut.g=0,ut.value=0,ct>>=ye(pt,8,ut),ct>>=ye(dt.G[1][dt.H[1]+ct],16,ut),ct>>=ye(dt.G[2][dt.H[2]+ct],0,ut),ye(dt.G[3][dt.H[3]+ct],24,ut))}}}Z.vc=ee,Z.Wb=te,Z.Ya=Ae,Z.yc=ce,V=1;break t}V=0}if(!(d=V)){l.a=3;break e}if(0<g){if(m.ua=1<<g,!E(m.Wa,g)){l.a=1,d=0;break e}}else m.ua=0;var At=l,ht=p,ft=h,mt=At.s,vt=mt.xc;if(At.c=ht,At.i=ft,mt.md=_(ht,vt),mt.wc=0==vt?-1:(1<<vt)-1,i){l.xb=Aa;break e}if(null==(v=r(p*h))){l.a=1,d=0;break e}d=(d=Ne(l,v,0,p,h,h,null))&&!f.h;break e}return d?(null!=o?o[0]=v:(t(null==v),t(i)),l.$=0,i||Ie(m)):Ie(m),d}function Pe(e,n){var i=e.c*e.i,a=i+n+16*n;return t(e.c<=n),e.V=r(a),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+i+n,1)}function ke(e,n){var i=e.C,a=n-i,r=e.V,s=e.Ba+e.c*i;for(t(n<=e.l.o);0<a;){var l=16<a?16:a,o=e.l.ma,d=e.l.width,c=d*l,u=o.ca,p=o.tb+d*i,A=e.Ta,h=e.Ua;be(e,l,r,s),Si(A,h,u,p,c),Ce(o,i,i+l,u,p,d),a-=l,r+=l*e.c,i+=l}t(i==n),e.C=e.Ma=n}function Te(){this.ub=this.yd=this.td=this.Rb=0}function Ee(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function De(){this.Fb=this.Bb=this.Cb=0,this.Zb=r(4),this.Lb=r(4)}function Le(){var e;this.Yb=(function e(t,n,i){for(var a=i[n],r=0;r<a&&(t.push(i.length>n+1?[]:0),!(i.length<n+1));r++)e(t[r],n+1,i)}(e=[],0,[3,11]),e)}function Ue(){this.jb=r(3),this.Wc=l([4,8],Le),this.Xc=l([4,17],Le)}function _e(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new r(4),this.od=new r(4)}function Oe(){this.ld=this.La=this.dd=this.tc=0}function Me(){this.Na=this.la=0}function Re(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Qe(){this.ad=r(384),this.Za=0,this.Ob=r(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function He(){this.uc=this.M=this.Nb=0,this.wa=Array(new Oe),this.Y=0,this.ya=Array(new Qe),this.aa=0,this.l=new We}function Ve(){this.y=r(16),this.f=r(8),this.ea=r(8)}function ze(){this.cb=this.a=0,this.sc="",this.m=new x,this.Od=new Te,this.Kc=new Ee,this.ed=new _e,this.Qa=new De,this.Ic=this.$c=this.Aa=0,this.D=new He,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,x),this.ia=0,this.pb=s(4,Re),this.Pa=new Ue,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ve),this.Hd=0,this.rb=Array(new Me),this.sb=0,this.wa=Array(new Oe),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Qe),this.L=this.aa=0,this.gd=l([4,2],Oe),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function qe(e,t){return 0>e?0:e>t?t:e}function We(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Ye(){var e=new ze;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,na||(na=Xe)),e}function Ke(e,t,n){return 0==e.a&&(e.a=t,e.sc=n,e.cb=0),0}function Ge(e,t,n){return 3<=n&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function $e(e,n){if(null==e)return 0;if(e.a=0,e.sc="OK",null==n)return Ke(e,2,"null VP8Io passed to VP8GetHeaders()");var i=n.data,r=n.w,s=n.ha;if(4>s)return Ke(e,7,"Truncated header.");var l=i[r+0]|i[r+1]<<8|i[r+2]<<16,o=e.Od;if(o.Rb=!(1&l),o.td=l>>1&7,o.yd=l>>4&1,o.ub=l>>5,3<o.td)return Ke(e,3,"Incorrect keyframe parameters.");if(!o.yd)return Ke(e,4,"Frame not displayable.");r+=3,s-=3;var d=e.Kc;if(o.Rb){if(7>s)return Ke(e,7,"cannot parse picture header");if(!Ge(i,r,s))return Ke(e,3,"Bad code word");d.c=16383&(i[r+4]<<8|i[r+3]),d.Td=i[r+4]>>6,d.i=16383&(i[r+6]<<8|i[r+5]),d.Ud=i[r+6]>>6,r+=7,s-=7,e.za=d.c+15>>4,e.Ub=d.i+15>>4,n.width=d.c,n.height=d.i,n.Da=0,n.j=0,n.v=0,n.va=n.width,n.o=n.height,n.da=0,n.ib=n.width,n.hb=n.height,n.U=n.width,n.T=n.height,a((l=e.Pa).jb,0,255,l.jb.length),t(null!=(l=e.Qa)),l.Cb=0,l.Bb=0,l.Fb=1,a(l.Zb,0,0,l.Zb.length),a(l.Lb,0,0,l.Lb)}if(o.ub>s)return Ke(e,7,"bad partition length");h(l=e.m,i,r,o.ub),r+=o.ub,s-=o.ub,o.Rb&&(d.Ld=I(l),d.Kd=I(l)),d=e.Qa;var c,u=e.Pa;if(t(null!=l),t(null!=d),d.Cb=I(l),d.Cb){if(d.Bb=I(l),I(l)){for(d.Fb=I(l),c=0;4>c;++c)d.Zb[c]=I(l)?m(l,7):0;for(c=0;4>c;++c)d.Lb[c]=I(l)?m(l,6):0}if(d.Bb)for(c=0;3>c;++c)u.jb[c]=I(l)?f(l,8):255}else d.Bb=0;if(l.Ka)return Ke(e,3,"cannot parse segment header");if((d=e.ed).zd=I(l),d.Tb=f(l,6),d.wb=f(l,3),d.Pc=I(l),d.Pc&&I(l)){for(u=0;4>u;++u)I(l)&&(d.vd[u]=m(l,6));for(u=0;4>u;++u)I(l)&&(d.od[u]=m(l,6))}if(e.L=0==d.Tb?0:d.zd?1:2,l.Ka)return Ke(e,3,"cannot parse filter header");var p=s;if(s=c=r,r=c+p,d=p,e.Xb=(1<<f(e.m,2))-1,p<3*(u=e.Xb))i=7;else{for(c+=3*u,d-=3*u,p=0;p<u;++p){var A=i[s+0]|i[s+1]<<8|i[s+2]<<16;A>d&&(A=d),h(e.Jc[+p],i,c,A),c+=A,d-=A,s+=3}h(e.Jc[+u],i,c,d),i=c<r?0:5}if(0!=i)return Ke(e,i,"cannot parse partitions");for(i=f(c=e.m,7),s=I(c)?m(c,4):0,r=I(c)?m(c,4):0,d=I(c)?m(c,4):0,u=I(c)?m(c,4):0,c=I(c)?m(c,4):0,p=e.Qa,A=0;4>A;++A){if(p.Cb){var v=p.Zb[A];p.Fb||(v+=i)}else{if(0<A){e.pb[A]=e.pb[0];continue}v=i}var g=e.pb[A];g.Sc[0]=ea[qe(v+s,127)],g.Sc[1]=ta[qe(v+0,127)],g.Eb[0]=2*ea[qe(v+r,127)],g.Eb[1]=101581*ta[qe(v+d,127)]>>16,8>g.Eb[1]&&(g.Eb[1]=8),g.Qc[0]=ea[qe(v+u,117)],g.Qc[1]=ta[qe(v+c,127)],g.lc=v+c}if(!o.Rb)return Ke(e,4,"Not a key frame.");for(I(l),o=e.Pa,i=0;4>i;++i){for(s=0;8>s;++s)for(r=0;3>r;++r)for(d=0;11>d;++d)u=F(l,oa[i][s][r][d])?f(l,8):sa[i][s][r][d],o.Wc[i][s].Yb[r][d]=u;for(s=0;17>s;++s)o.Xc[i][s]=o.Wc[i][da[s]]}return e.kc=I(l),e.kc&&(e.Bd=f(l,8)),e.cb=1}function Xe(e,t,n,i,a,r,s){var l=t[a].Yb[n];for(n=0;16>a;++a){if(!F(e,l[n+0]))return a;for(;!F(e,l[n+1]);)if(l=t[++a].Yb[0],n=0,16==a)return 16;var o=t[a+1].Yb;if(F(e,l[n+2])){var d=e,c=0;if(F(d,(p=l)[(u=n)+3]))if(F(d,p[u+6])){for(l=0,u=2*(c=F(d,p[u+8]))+(p=F(d,p[u+9+c])),c=0,p=ia[u];p[l];++l)c+=c+F(d,p[l]);c+=3+(8<<u)}else F(d,p[u+7])?(c=7+2*F(d,165),c+=F(d,145)):c=5+F(d,159);else c=F(d,p[u+4])?3+F(d,p[u+5]):2;l=o[2]}else c=1,l=o[1];o=s+aa[a],0>(d=e).b&&N(d);var u,p=d.b,A=(u=d.Ca>>1)-(d.I>>p)>>31;--d.b,d.Ca+=A,d.Ca|=1,d.I-=(u+1&A)<<p,r[o]=((c^A)-A)*i[(0<a)+0]}return 16}function Je(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,a(e.zc,0,0,e.zc.length),e.ja=0}function Ze(e,t,n,i,a){a=e[t+n+32*i]+(a>>3),e[t+n+32*i]=-256&a?0>a?0:255:a}function et(e,t,n,i,a,r){Ze(e,t,0,n,i+a),Ze(e,t,1,n,i+r),Ze(e,t,2,n,i-r),Ze(e,t,3,n,i-a)}function tt(e){return(20091*e>>16)+e}function nt(e,t,n,i){var a,s=0,l=r(16);for(a=0;4>a;++a){var o=e[t+0]+e[t+8],d=e[t+0]-e[t+8],c=(35468*e[t+4]>>16)-tt(e[t+12]),u=tt(e[t+4])+(35468*e[t+12]>>16);l[s+0]=o+u,l[s+1]=d+c,l[s+2]=d-c,l[s+3]=o-u,s+=4,t++}for(a=s=0;4>a;++a)o=(e=l[s+0]+4)+l[s+8],d=e-l[s+8],c=(35468*l[s+4]>>16)-tt(l[s+12]),Ze(n,i,0,0,o+(u=tt(l[s+4])+(35468*l[s+12]>>16))),Ze(n,i,1,0,d+c),Ze(n,i,2,0,d-c),Ze(n,i,3,0,o-u),s++,i+=32}function it(e,t,n,i){var a=e[t+0]+4,r=35468*e[t+4]>>16,s=tt(e[t+4]),l=35468*e[t+1]>>16;et(n,i,0,a+s,e=tt(e[t+1]),l),et(n,i,1,a+r,e,l),et(n,i,2,a-r,e,l),et(n,i,3,a-s,e,l)}function at(e,t,n,i,a){nt(e,t,n,i),a&&nt(e,t+16,n,i+4)}function rt(e,t,n,i){ri(e,t+0,n,i,1),ri(e,t+32,n,i+128,1)}function st(e,t,n,i){var a;for(e=e[t+0]+4,a=0;4>a;++a)for(t=0;4>t;++t)Ze(n,i,t,a,e)}function lt(e,t,n,i){e[t+0]&&oi(e,t+0,n,i),e[t+16]&&oi(e,t+16,n,i+4),e[t+32]&&oi(e,t+32,n,i+128),e[t+48]&&oi(e,t+48,n,i+128+4)}function ot(e,t,n,i){var a,s=r(16);for(a=0;4>a;++a){var l=e[t+0+a]+e[t+12+a],o=e[t+4+a]+e[t+8+a],d=e[t+4+a]-e[t+8+a],c=e[t+0+a]-e[t+12+a];s[0+a]=l+o,s[8+a]=l-o,s[4+a]=c+d,s[12+a]=c-d}for(a=0;4>a;++a)l=(e=s[0+4*a]+3)+s[3+4*a],o=s[1+4*a]+s[2+4*a],d=s[1+4*a]-s[2+4*a],c=e-s[3+4*a],n[i+0]=l+o>>3,n[i+16]=c+d>>3,n[i+32]=l-o>>3,n[i+48]=c-d>>3,i+=64}function dt(e,t,n){var i,a=t-32,r=Ei,s=255-e[a-1];for(i=0;i<n;++i){var l,o=r,d=s+e[t-1];for(l=0;l<n;++l)e[t+l]=o[d+e[a+l]];t+=32}}function ct(e,t){dt(e,t,4)}function ut(e,t){dt(e,t,8)}function pt(e,t){dt(e,t,16)}function At(e,t){var n;for(n=0;16>n;++n)i(e,t+32*n,e,t-32,16)}function ht(e,t){var n;for(n=16;0<n;--n)a(e,t,e[t-1],16),t+=32}function ft(e,t,n){var i;for(i=0;16>i;++i)a(t,n+32*i,e,16)}function mt(e,t){var n,i=16;for(n=0;16>n;++n)i+=e[t-1+32*n]+e[t+n-32];ft(i>>5,e,t)}function vt(e,t){var n,i=8;for(n=0;16>n;++n)i+=e[t-1+32*n];ft(i>>4,e,t)}function gt(e,t){var n,i=8;for(n=0;16>n;++n)i+=e[t+n-32];ft(i>>4,e,t)}function yt(e,t){ft(128,e,t)}function xt(e,t,n){return e+2*t+n+2>>2}function bt(e,t){var n,a=t-32;for(a=new Uint8Array([xt(e[a-1],e[a+0],e[a+1]),xt(e[a+0],e[a+1],e[a+2]),xt(e[a+1],e[a+2],e[a+3]),xt(e[a+2],e[a+3],e[a+4])]),n=0;4>n;++n)i(e,t+32*n,a,0,a.length)}function wt(e,t){var n=e[t-1],i=e[t-1+32],a=e[t-1+64],r=e[t-1+96];B(e,t+0,16843009*xt(e[t-1-32],n,i)),B(e,t+32,16843009*xt(n,i,a)),B(e,t+64,16843009*xt(i,a,r)),B(e,t+96,16843009*xt(a,r,r))}function jt(e,t){var n,i=4;for(n=0;4>n;++n)i+=e[t+n-32]+e[t-1+32*n];for(i>>=3,n=0;4>n;++n)a(e,t+32*n,i,4)}function Ct(e,t){var n=e[t-1+0],i=e[t-1+32],a=e[t-1+64],r=e[t-1-32],s=e[t+0-32],l=e[t+1-32],o=e[t+2-32],d=e[t+3-32];e[t+0+96]=xt(i,a,e[t-1+96]),e[t+1+96]=e[t+0+64]=xt(n,i,a),e[t+2+96]=e[t+1+64]=e[t+0+32]=xt(r,n,i),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=xt(s,r,n),e[t+3+64]=e[t+2+32]=e[t+1+0]=xt(l,s,r),e[t+3+32]=e[t+2+0]=xt(o,l,s),e[t+3+0]=xt(d,o,l)}function St(e,t){var n=e[t+1-32],i=e[t+2-32],a=e[t+3-32],r=e[t+4-32],s=e[t+5-32],l=e[t+6-32],o=e[t+7-32];e[t+0+0]=xt(e[t+0-32],n,i),e[t+1+0]=e[t+0+32]=xt(n,i,a),e[t+2+0]=e[t+1+32]=e[t+0+64]=xt(i,a,r),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=xt(a,r,s),e[t+3+32]=e[t+2+64]=e[t+1+96]=xt(r,s,l),e[t+3+64]=e[t+2+96]=xt(s,l,o),e[t+3+96]=xt(l,o,o)}function Nt(e,t){var n=e[t-1+0],i=e[t-1+32],a=e[t-1+64],r=e[t-1-32],s=e[t+0-32],l=e[t+1-32],o=e[t+2-32],d=e[t+3-32];e[t+0+0]=e[t+1+64]=r+s+1>>1,e[t+1+0]=e[t+2+64]=s+l+1>>1,e[t+2+0]=e[t+3+64]=l+o+1>>1,e[t+3+0]=o+d+1>>1,e[t+0+96]=xt(a,i,n),e[t+0+64]=xt(i,n,r),e[t+0+32]=e[t+1+96]=xt(n,r,s),e[t+1+32]=e[t+2+96]=xt(r,s,l),e[t+2+32]=e[t+3+96]=xt(s,l,o),e[t+3+32]=xt(l,o,d)}function It(e,t){var n=e[t+0-32],i=e[t+1-32],a=e[t+2-32],r=e[t+3-32],s=e[t+4-32],l=e[t+5-32],o=e[t+6-32],d=e[t+7-32];e[t+0+0]=n+i+1>>1,e[t+1+0]=e[t+0+64]=i+a+1>>1,e[t+2+0]=e[t+1+64]=a+r+1>>1,e[t+3+0]=e[t+2+64]=r+s+1>>1,e[t+0+32]=xt(n,i,a),e[t+1+32]=e[t+0+96]=xt(i,a,r),e[t+2+32]=e[t+1+96]=xt(a,r,s),e[t+3+32]=e[t+2+96]=xt(r,s,l),e[t+3+64]=xt(s,l,o),e[t+3+96]=xt(l,o,d)}function Ft(e,t){var n=e[t-1+0],i=e[t-1+32],a=e[t-1+64],r=e[t-1+96];e[t+0+0]=n+i+1>>1,e[t+2+0]=e[t+0+32]=i+a+1>>1,e[t+2+32]=e[t+0+64]=a+r+1>>1,e[t+1+0]=xt(n,i,a),e[t+3+0]=e[t+1+32]=xt(i,a,r),e[t+3+32]=e[t+1+64]=xt(a,r,r),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=r}function Bt(e,t){var n=e[t-1+0],i=e[t-1+32],a=e[t-1+64],r=e[t-1+96],s=e[t-1-32],l=e[t+0-32],o=e[t+1-32],d=e[t+2-32];e[t+0+0]=e[t+2+32]=n+s+1>>1,e[t+0+32]=e[t+2+64]=i+n+1>>1,e[t+0+64]=e[t+2+96]=a+i+1>>1,e[t+0+96]=r+a+1>>1,e[t+3+0]=xt(l,o,d),e[t+2+0]=xt(s,l,o),e[t+1+0]=e[t+3+32]=xt(n,s,l),e[t+1+32]=e[t+3+64]=xt(i,n,s),e[t+1+64]=e[t+3+96]=xt(a,i,n),e[t+1+96]=xt(r,a,i)}function Pt(e,t){var n;for(n=0;8>n;++n)i(e,t+32*n,e,t-32,8)}function kt(e,t){var n;for(n=0;8>n;++n)a(e,t,e[t-1],8),t+=32}function Tt(e,t,n){var i;for(i=0;8>i;++i)a(t,n+32*i,e,8)}function Et(e,t){var n,i=8;for(n=0;8>n;++n)i+=e[t+n-32]+e[t-1+32*n];Tt(i>>4,e,t)}function Dt(e,t){var n,i=4;for(n=0;8>n;++n)i+=e[t+n-32];Tt(i>>3,e,t)}function Lt(e,t){var n,i=4;for(n=0;8>n;++n)i+=e[t-1+32*n];Tt(i>>3,e,t)}function Ut(e,t){Tt(128,e,t)}function _t(e,t,n){var i=e[t-n],a=e[t+0],r=3*(a-i)+ki[1020+e[t-2*n]-e[t+n]],s=Ti[112+(r+4>>3)];e[t-n]=Ei[255+i+Ti[112+(r+3>>3)]],e[t+0]=Ei[255+a-s]}function Ot(e,t,n,i){var a=e[t+0],r=e[t+n];return Di[255+e[t-2*n]-e[t-n]]>i||Di[255+r-a]>i}function Mt(e,t,n,i){return 4*Di[255+e[t-n]-e[t+0]]+Di[255+e[t-2*n]-e[t+n]]<=i}function Rt(e,t,n,i,a){var r=e[t-3*n],s=e[t-2*n],l=e[t-n],o=e[t+0],d=e[t+n],c=e[t+2*n],u=e[t+3*n];return 4*Di[255+l-o]+Di[255+s-d]>i?0:Di[255+e[t-4*n]-r]<=a&&Di[255+r-s]<=a&&Di[255+s-l]<=a&&Di[255+u-c]<=a&&Di[255+c-d]<=a&&Di[255+d-o]<=a}function Qt(e,t,n,i){var a=2*i+1;for(i=0;16>i;++i)Mt(e,t+i,n,a)&&_t(e,t+i,n)}function Ht(e,t,n,i){var a=2*i+1;for(i=0;16>i;++i)Mt(e,t+i*n,1,a)&&_t(e,t+i*n,1)}function Vt(e,t,n,i){var a;for(a=3;0<a;--a)Qt(e,t+=4*n,n,i)}function zt(e,t,n,i){var a;for(a=3;0<a;--a)Ht(e,t+=4,n,i)}function qt(e,t,n,i,a,r,s,l){for(r=2*r+1;0<a--;){if(Rt(e,t,n,r,s))if(Ot(e,t,n,l))_t(e,t,n);else{var o=e,d=t,c=n,u=o[d-2*c],p=o[d-c],A=o[d+0],h=o[d+c],f=o[d+2*c],m=27*(g=ki[1020+3*(A-p)+ki[1020+u-h]])+63>>7,v=18*g+63>>7,g=9*g+63>>7;o[d-3*c]=Ei[255+o[d-3*c]+g],o[d-2*c]=Ei[255+u+v],o[d-c]=Ei[255+p+m],o[d+0]=Ei[255+A-m],o[d+c]=Ei[255+h-v],o[d+2*c]=Ei[255+f-g]}t+=i}}function Wt(e,t,n,i,a,r,s,l){for(r=2*r+1;0<a--;){if(Rt(e,t,n,r,s))if(Ot(e,t,n,l))_t(e,t,n);else{var o=e,d=t,c=n,u=o[d-c],p=o[d+0],A=o[d+c],h=Ti[112+(4+(f=3*(p-u))>>3)],f=Ti[112+(f+3>>3)],m=h+1>>1;o[d-2*c]=Ei[255+o[d-2*c]+m],o[d-c]=Ei[255+u+f],o[d+0]=Ei[255+p-h],o[d+c]=Ei[255+A-m]}t+=i}}function Yt(e,t,n,i,a,r){qt(e,t,n,1,16,i,a,r)}function Kt(e,t,n,i,a,r){qt(e,t,1,n,16,i,a,r)}function Gt(e,t,n,i,a,r){var s;for(s=3;0<s;--s)Wt(e,t+=4*n,n,1,16,i,a,r)}function $t(e,t,n,i,a,r){var s;for(s=3;0<s;--s)Wt(e,t+=4,1,n,16,i,a,r)}function Xt(e,t,n,i,a,r,s,l){qt(e,t,a,1,8,r,s,l),qt(n,i,a,1,8,r,s,l)}function Jt(e,t,n,i,a,r,s,l){qt(e,t,1,a,8,r,s,l),qt(n,i,1,a,8,r,s,l)}function Zt(e,t,n,i,a,r,s,l){Wt(e,t+4*a,a,1,8,r,s,l),Wt(n,i+4*a,a,1,8,r,s,l)}function en(e,t,n,i,a,r,s,l){Wt(e,t+4,1,a,8,r,s,l),Wt(n,i+4,1,a,8,r,s,l)}function tn(){this.ba=new se,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new oe,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function nn(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function an(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function rn(){this.ua=0,this.Wa=new L,this.vb=new L,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new A,this.yc=new u}function sn(){this.xb=this.a=0,this.l=new We,this.ca=new se,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new b,this.Pb=0,this.wd=new b,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new rn,this.ab=0,this.gc=s(4,an),this.Oc=0}function ln(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new We,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function on(e,t,n,i,a,r,s){for(e=null==e?0:e[t+0],t=0;t<s;++t)a[r+t]=e+n[i+t]&255,e=a[r+t]}function dn(e,t,n,i,a,r,s){var l;if(null==e)on(null,null,n,i,a,r,s);else for(l=0;l<s;++l)a[r+l]=e[t+l]+n[i+l]&255}function cn(e,t,n,i,a,r,s){if(null==e)on(null,null,n,i,a,r,s);else{var l,o=e[t+0],d=o,c=o;for(l=0;l<s;++l)d=c+(o=e[t+l])-d,c=n[i+l]+(-256&d?0>d?0:255:d)&255,d=o,a[r+l]=c}}function un(e,n,a,s){var l=n.width,o=n.o;if(t(null!=e&&null!=n),0>a||0>=s||a+s>o)return null;if(!e.Cc){if(null==e.ga){var d;if(e.ga=new ln,(d=null==e.ga)||(d=n.width*n.o,t(0==e.Gb.length),e.Gb=r(d),e.Uc=0,null==e.Gb?d=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,d=1),d=!d),!d){d=e.ga;var c=e.Fa,u=e.P,p=e.qc,A=e.mb,h=e.nb,f=u+1,m=p-1,g=d.l;if(t(null!=c&&null!=A&&null!=n),fa[0]=null,fa[1]=on,fa[2]=dn,fa[3]=cn,d.ca=A,d.tb=h,d.c=n.width,d.i=n.height,t(0<d.c&&0<d.i),1>=p)n=0;else if(d.$a=3&c[u+0],d.Z=c[u+0]>>2&3,d.Lc=c[u+0]>>4&3,u=c[u+0]>>6&3,0>d.$a||1<d.$a||4<=d.Z||1<d.Lc||u)n=0;else if(g.put=Ae,g.ac=pe,g.bc=he,g.ma=d,g.width=n.width,g.height=n.height,g.Da=n.Da,g.v=n.v,g.va=n.va,g.j=n.j,g.o=n.o,d.$a)e:{t(1==d.$a),n=Fe();t:for(;;){if(null==n){n=0;break e}if(t(null!=d),d.mc=n,n.c=d.c,n.i=d.i,n.l=d.l,n.l.ma=d,n.l.width=d.c,n.l.height=d.i,n.a=0,v(n.m,c,f,m),!Be(d.c,d.i,1,n,null))break t;if(1==n.ab&&3==n.gc[0].hc&&je(n.s)?(d.ic=1,c=n.c*n.i,n.Ta=null,n.Ua=0,n.V=r(c),n.Ba=0,null==n.V?(n.a=1,n=0):n=1):(d.ic=0,n=Pe(n,d.c)),!n)break t;n=1;break e}d.mc=null,n=0}else n=m>=d.c*d.i;d=!n}if(d)return null;1!=e.ga.Lc?e.Ga=0:s=o-a}t(null!=e.ga),t(a+s<=o);e:{if(n=(c=e.ga).c,o=c.l.o,0==c.$a){if(f=e.rc,m=e.Vc,g=e.Fa,u=e.P+1+a*n,p=e.mb,A=e.nb+a*n,t(u<=e.P+e.qc),0!=c.Z)for(t(null!=fa[c.Z]),d=0;d<s;++d)fa[c.Z](f,m,g,u,p,A,n),f=p,m=A,A+=n,u+=n;else for(d=0;d<s;++d)i(p,A,g,u,n),f=p,m=A,A+=n,u+=n;e.rc=f,e.Vc=m}else{if(t(null!=c.mc),n=a+s,t(null!=(d=c.mc)),t(n<=d.i),d.C>=n)n=1;else if(c.ic||mn(),c.ic){c=d.V,f=d.Ba,m=d.c;var y=d.i,x=(g=1,u=d.$/m,p=d.$%m,A=d.m,h=d.s,d.$),b=m*y,w=m*n,C=h.wc,N=x<w?xe(h,p,u):null;t(x<=b),t(n<=y),t(je(h));t:for(;;){for(;!A.h&&x<w;){if(p&C||(N=xe(h,p,u)),t(null!=N),S(A),256>(y=ge(N.G[0],N.H[0],A)))c[f+x]=y,++x,++p>=m&&(p=0,++u<=n&&!(u%16)&&Se(d,u));else{if(!(280>y)){g=0;break t}y=me(y-256,A);var I,F=ge(N.G[4],N.H[4],A);if(S(A),!(x>=(F=ve(m,F=me(F,A)))&&b-x>=y)){g=0;break t}for(I=0;I<y;++I)c[f+x+I]=c[f+x+I-F];for(x+=y,p+=y;p>=m;)p-=m,++u<=n&&!(u%16)&&Se(d,u);x<w&&p&C&&(N=xe(h,p,u))}t(A.h==j(A))}Se(d,u>n?n:u);break t}!g||A.h&&x<b?(g=0,d.a=A.h?5:3):d.$=x,n=g}else n=Ne(d,d.V,d.Ba,d.c,d.i,n,ke);if(!n){s=0;break e}}a+s>=o&&(e.Cc=1),s=1}if(!s)return null;if(e.Cc&&(null!=(s=e.ga)&&(s.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+a*l}function pn(e,t,n,i,a,r){for(;0<a--;){var s,l=e,o=t+(n?1:0),d=e,c=t+(n?0:3);for(s=0;s<i;++s){var u=d[c+4*s];255!=u&&(u*=32897,l[o+4*s+0]=l[o+4*s+0]*u>>23,l[o+4*s+1]=l[o+4*s+1]*u>>23,l[o+4*s+2]=l[o+4*s+2]*u>>23)}t+=r}}function An(e,t,n,i,a){for(;0<i--;){var r;for(r=0;r<n;++r){var s=e[t+2*r+0],l=15&(d=e[t+2*r+1]),o=4369*l,d=(240&d|d>>4)*o>>16;e[t+2*r+0]=(240&s|s>>4)*o>>16&240|(15&s|s<<4)*o>>16>>4&15,e[t+2*r+1]=240&d|l}t+=a}}function hn(e,t,n,i,a,r,s,l){var o,d,c=255;for(d=0;d<a;++d){for(o=0;o<i;++o){var u=e[t+o];r[s+4*o]=u,c&=u}t+=n,s+=l}return 255!=c}function fn(e,t,n,i,a){var r;for(r=0;r<a;++r)n[i+r]=e[t+r]>>8}function mn(){wi=pn,ji=An,Ci=hn,Si=fn}function vn(n,i,a){e[n]=function(e,n,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y){var x,b=y-1>>1,w=l[o+0]|d[c+0]<<16,j=u[p+0]|A[h+0]<<16;t(null!=e);var C=3*w+j+131074>>2;for(i(e[n+0],255&C,C>>16,f,m),null!=r&&(C=3*j+w+131074>>2,i(r[s+0],255&C,C>>16,v,g)),x=1;x<=b;++x){var S=l[o+x]|d[c+x]<<16,N=u[p+x]|A[h+x]<<16,I=w+S+j+N+524296,F=I+2*(S+j)>>3;C=F+w>>1,w=(I=I+2*(w+N)>>3)+S>>1,i(e[n+2*x-1],255&C,C>>16,f,m+(2*x-1)*a),i(e[n+2*x-0],255&w,w>>16,f,m+(2*x-0)*a),null!=r&&(C=I+j>>1,w=F+N>>1,i(r[s+2*x-1],255&C,C>>16,v,g+(2*x-1)*a),i(r[s+2*x+0],255&w,w>>16,v,g+(2*x+0)*a)),w=S,j=N}1&y||(C=3*w+j+131074>>2,i(e[n+y-1],255&C,C>>16,f,m+(y-1)*a),null!=r&&(C=3*j+w+131074>>2,i(r[s+y-1],255&C,C>>16,v,g+(y-1)*a)))}}function gn(){ma[Li]=va,ma[Ui]=ya,ma[_i]=ga,ma[Oi]=xa,ma[Mi]=ba,ma[Ri]=wa,ma[Qi]=ja,ma[Hi]=ya,ma[Vi]=xa,ma[zi]=ba,ma[qi]=wa}function yn(e){return e&~Ba?0>e?0:255:e>>Fa}function xn(e,t){return yn((19077*e>>8)+(26149*t>>8)-14234)}function bn(e,t,n){return yn((19077*e>>8)-(6419*t>>8)-(13320*n>>8)+8708)}function wn(e,t){return yn((19077*e>>8)+(33050*t>>8)-17685)}function jn(e,t,n,i,a){i[a+0]=xn(e,n),i[a+1]=bn(e,t,n),i[a+2]=wn(e,t)}function Cn(e,t,n,i,a){i[a+0]=wn(e,t),i[a+1]=bn(e,t,n),i[a+2]=xn(e,n)}function Sn(e,t,n,i,a){var r=bn(e,t,n);t=r<<3&224|wn(e,t)>>3,i[a+0]=248&xn(e,n)|r>>5,i[a+1]=t}function Nn(e,t,n,i,a){var r=240&wn(e,t)|15;i[a+0]=240&xn(e,n)|bn(e,t,n)>>4,i[a+1]=r}function In(e,t,n,i,a){i[a+0]=255,jn(e,t,n,i,a+1)}function Fn(e,t,n,i,a){Cn(e,t,n,i,a),i[a+3]=255}function Bn(e,t,n,i,a){jn(e,t,n,i,a),i[a+3]=255}function qe(e,t){return 0>e?0:e>t?t:e}function Pn(t,n,i){e[t]=function(e,t,a,r,s,l,o,d,c){for(var u=d+(-2&c)*i;d!=u;)n(e[t+0],a[r+0],s[l+0],o,d),n(e[t+1],a[r+0],s[l+0],o,d+i),t+=2,++r,++l,d+=2*i;1&c&&n(e[t+0],a[r+0],s[l+0],o,d)}}function kn(e,t,n){return 0==n?0==e?0==t?6:5:0==t?4:0:n}function Tn(e,t,n,i,a){switch(e>>>30){case 3:ri(t,n,i,a,0);break;case 2:si(t,n,i,a);break;case 1:oi(t,n,i,a)}}function En(e,t){var n,r,s=t.M,l=t.Nb,o=e.oc,d=e.pc+40,c=e.oc,u=e.pc+584,p=e.oc,A=e.pc+600;for(n=0;16>n;++n)o[d+32*n-1]=129;for(n=0;8>n;++n)c[u+32*n-1]=129,p[A+32*n-1]=129;for(0<s?o[d-1-32]=c[u-1-32]=p[A-1-32]=129:(a(o,d-32-1,127,21),a(c,u-32-1,127,9),a(p,A-32-1,127,9)),r=0;r<e.za;++r){var h=t.ya[t.aa+r];if(0<r){for(n=-1;16>n;++n)i(o,d+32*n-4,o,d+32*n+12,4);for(n=-1;8>n;++n)i(c,u+32*n-4,c,u+32*n+4,4),i(p,A+32*n-4,p,A+32*n+4,4)}var f=e.Gd,m=e.Hd+r,v=h.ad,g=h.Hc;if(0<s&&(i(o,d-32,f[m].y,0,16),i(c,u-32,f[m].f,0,8),i(p,A-32,f[m].ea,0,8)),h.Za){var y=o,x=d-32+16;for(0<s&&(r>=e.za-1?a(y,x,f[m].y[15],4):i(y,x,f[m+1].y,0,4)),n=0;4>n;n++)y[x+128+n]=y[x+256+n]=y[x+384+n]=y[x+0+n];for(n=0;16>n;++n,g<<=2)y=o,x=d+_a[n],ua[h.Ob[n]](y,x),Tn(g,v,16*+n,y,x)}else if(y=kn(r,s,h.Ob[0]),ca[y](o,d),0!=g)for(n=0;16>n;++n,g<<=2)Tn(g,v,16*+n,o,d+_a[n]);for(n=h.Gc,y=kn(r,s,h.Dd),pa[y](c,u),pa[y](p,A),g=v,y=c,x=u,255&(h=n|0)&&(170&h?li(g,256,y,x):di(g,256,y,x)),h=p,g=A,255&(n>>=8)&&(170&n?li(v,320,h,g):di(v,320,h,g)),s<e.Ub-1&&(i(f[m].y,0,o,d+480,16),i(f[m].f,0,c,u+224,8),i(f[m].ea,0,p,A+224,8)),n=8*l*e.B,f=e.sa,m=e.ta+16*r+16*l*e.R,v=e.qa,h=e.ra+8*r+n,g=e.Ha,y=e.Ia+8*r+n,n=0;16>n;++n)i(f,m+n*e.R,o,d+32*n,16);for(n=0;8>n;++n)i(v,h+n*e.B,c,u+32*n,8),i(g,y+n*e.B,p,A+32*n,8)}}function Dn(e,i,a,r,s,l,o,d,c){var u=[0],p=[0],A=0,h=null!=c?c.kd:0,f=null!=c?c:new nn;if(null==e||12>a)return 7;f.data=e,f.w=i,f.ha=a,i=[i],a=[a],f.gb=[f.gb];e:{var m=i,g=a,y=f.gb;if(t(null!=e),t(null!=g),t(null!=y),y[0]=0,12<=g[0]&&!n(e,m[0],"RIFF")){if(n(e,m[0]+8,"WEBP")){y=3;break e}var x=T(e,m[0]+4);if(12>x||4294967286<x){y=3;break e}if(h&&x>g[0]-8){y=7;break e}y[0]=x,m[0]+=12,g[0]-=12}y=0}if(0!=y)return y;for(x=0<f.gb[0],a=a[0];;){e:{var w=e;g=i,y=a;var j=u,C=p,S=m=[0];if((F=A=[A])[0]=0,8>y[0])y=7;else{if(!n(w,g[0],"VP8X")){if(10!=T(w,g[0]+4)){y=3;break e}if(18>y[0]){y=7;break e}var N=T(w,g[0]+8),I=1+k(w,g[0]+12);if(2147483648<=I*(w=1+k(w,g[0]+15))){y=3;break e}null!=S&&(S[0]=N),null!=j&&(j[0]=I),null!=C&&(C[0]=w),g[0]+=18,y[0]-=18,F[0]=1}y=0}}if(A=A[0],m=m[0],0!=y)return y;if(g=!!(2&m),!x&&A)return 3;if(null!=l&&(l[0]=!!(16&m)),null!=o&&(o[0]=g),null!=d&&(d[0]=0),o=u[0],m=p[0],A&&g&&null==c){y=0;break}if(4>a){y=7;break}if(x&&A||!x&&!A&&!n(e,i[0],"ALPH")){a=[a],f.na=[f.na],f.P=[f.P],f.Sa=[f.Sa];e:{N=e,y=i,x=a;var F=f.gb;j=f.na,C=f.P,S=f.Sa,I=22,t(null!=N),t(null!=x),w=y[0];var B=x[0];for(t(null!=j),t(null!=S),j[0]=null,C[0]=null,S[0]=0;;){if(y[0]=w,x[0]=B,8>B){y=7;break e}var P=T(N,w+4);if(4294967286<P){y=3;break e}var E=8+P+1&-2;if(I+=E,0<F&&I>F){y=3;break e}if(!n(N,w,"VP8 ")||!n(N,w,"VP8L")){y=0;break e}if(B[0]<E){y=7;break e}n(N,w,"ALPH")||(j[0]=N,C[0]=w+8,S[0]=P),w+=E,B-=E}}if(a=a[0],f.na=f.na[0],f.P=f.P[0],f.Sa=f.Sa[0],0!=y)break}a=[a],f.Ja=[f.Ja],f.xa=[f.xa];e:if(F=e,y=i,x=a,j=f.gb[0],C=f.Ja,S=f.xa,N=y[0],w=!n(F,N,"VP8 "),I=!n(F,N,"VP8L"),t(null!=F),t(null!=x),t(null!=C),t(null!=S),8>x[0])y=7;else{if(w||I){if(F=T(F,N+4),12<=j&&F>j-12){y=3;break e}if(h&&F>x[0]-8){y=7;break e}C[0]=F,y[0]+=8,x[0]-=8,S[0]=I}else S[0]=5<=x[0]&&47==F[N+0]&&!(F[N+4]>>5),C[0]=x[0];y=0}if(a=a[0],f.Ja=f.Ja[0],f.xa=f.xa[0],i=i[0],0!=y)break;if(4294967286<f.Ja)return 3;if(null==d||g||(d[0]=f.xa?2:1),o=[o],m=[m],f.xa){if(5>a){y=7;break}d=o,h=m,g=l,null==e||5>a?e=0:5<=a&&47==e[i+0]&&!(e[i+4]>>5)?(x=[0],F=[0],j=[0],v(C=new b,e,i,a),fe(C,x,F,j)?(null!=d&&(d[0]=x[0]),null!=h&&(h[0]=F[0]),null!=g&&(g[0]=j[0]),e=1):e=0):e=0}else{if(10>a){y=7;break}d=m,null==e||10>a||!Ge(e,i+3,a-3)?e=0:(h=e[i+0]|e[i+1]<<8|e[i+2]<<16,g=16383&(e[i+7]<<8|e[i+6]),e=16383&(e[i+9]<<8|e[i+8]),1&h||3<(h>>1&7)||!(h>>4&1)||h>>5>=f.Ja||!g||!e?e=0:(o&&(o[0]=g),d&&(d[0]=e),e=1))}if(!e)return 3;if(o=o[0],m=m[0],A&&(u[0]!=o||p[0]!=m))return 3;null!=c&&(c[0]=f,c.offset=i-c.w,t(4294967286>i-c.w),t(c.offset==c.ha-a));break}return 0==y||7==y&&A&&null==c?(null!=l&&(l[0]|=null!=f.na&&0<f.na.length),null!=r&&(r[0]=o),null!=s&&(s[0]=m),0):y}function Ln(e,t,n){var i=t.width,a=t.height,r=0,s=0,l=i,o=a;if(t.Da=null!=e&&0<e.Da,t.Da&&(l=e.cd,o=e.bd,r=e.v,s=e.j,11>n||(r&=-2,s&=-2),0>r||0>s||0>=l||0>=o||r+l>i||s+o>a))return 0;if(t.v=r,t.j=s,t.va=r+l,t.o=s+o,t.U=l,t.T=o,t.da=null!=e&&0<e.da,t.da){if(!U(l,o,n=[e.ib],r=[e.hb]))return 0;t.ib=n[0],t.hb=r[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*i/4&&t.hb<3*a/4,t.Kb=0),1}function Un(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function _n(e,t,n,i){if(null==i||0>=e||0>=t)return 2;if(null!=n){if(n.Da){var a=n.cd,s=n.bd,l=-2&n.v,o=-2&n.j;if(0>l||0>o||0>=a||0>=s||l+a>e||o+s>t)return 2;e=a,t=s}if(n.da){if(!U(e,t,a=[n.ib],s=[n.hb]))return 2;e=a[0],t=s[0]}}i.width=e,i.height=t;e:{var d=i.width,c=i.height;if(e=i.S,0>=d||0>=c||!(e>=Li&&13>e))e=2;else{if(0>=i.Rd&&null==i.sd){l=s=a=t=0;var u=(o=d*Qa[e])*c;if(11>e||(s=(c+1)/2*(t=(d+1)/2),12==e&&(l=(a=d)*c)),null==(c=r(u+2*s+l))){e=1;break e}i.sd=c,11>e?((d=i.f.RGBA).eb=c,d.fb=0,d.A=o,d.size=u):((d=i.f.kb).y=c,d.O=0,d.fa=o,d.Fd=u,d.f=c,d.N=0+u,d.Ab=t,d.Cd=s,d.ea=c,d.W=0+u+s,d.Db=t,d.Ed=s,12==e&&(d.F=c,d.J=0+u+2*s),d.Tc=l,d.lb=a)}if(t=1,a=i.S,s=i.width,l=i.height,a>=Li&&13>a)if(11>a)e=i.f.RGBA,t&=(o=Math.abs(e.A))*(l-1)+s<=e.size,t&=o>=s*Qa[a],t&=null!=e.eb;else{e=i.f.kb,o=(s+1)/2,u=(l+1)/2,d=Math.abs(e.fa),c=Math.abs(e.Ab);var p=Math.abs(e.Db),A=Math.abs(e.lb),h=A*(l-1)+s;t&=d*(l-1)+s<=e.Fd,t&=c*(u-1)+o<=e.Cd,t=(t&=p*(u-1)+o<=e.Ed)&d>=s&c>=o&p>=o,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==a&&(t&=A>=s,t&=h<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=n&&n.fd&&(e=Un(i)),e}var On=64,Mn=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Rn=24,Qn=32,Hn=8,Vn=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];M("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,n){return t[n+0]},e.Predictor3=function(e,t,n){return t[n+1]},e.Predictor4=function(e,t,n){return t[n-1]},e.Predictor5=function(e,t,n){return Q(Q(e,t[n+1]),t[n+0])},e.Predictor6=function(e,t,n){return Q(e,t[n-1])},e.Predictor7=function(e,t,n){return Q(e,t[n+0])},e.Predictor8=function(e,t,n){return Q(t[n-1],t[n+0])},e.Predictor9=function(e,t,n){return Q(t[n+0],t[n+1])},e.Predictor10=function(e,t,n){return Q(Q(e,t[n-1]),Q(t[n+0],t[n+1]))},e.Predictor11=function(e,t,n){var i=t[n+0];return 0>=z(i>>24&255,e>>24&255,(t=t[n-1])>>24&255)+z(i>>16&255,e>>16&255,t>>16&255)+z(i>>8&255,e>>8&255,t>>8&255)+z(255&i,255&e,255&t)?i:e},e.Predictor12=function(e,t,n){var i=t[n+0];return(H((e>>24&255)+(i>>24&255)-((t=t[n-1])>>24&255))<<24|H((e>>16&255)+(i>>16&255)-(t>>16&255))<<16|H((e>>8&255)+(i>>8&255)-(t>>8&255))<<8|H((255&e)+(255&i)-(255&t)))>>>0},e.Predictor13=function(e,t,n){var i=t[n-1];return(V((e=Q(e,t[n+0]))>>24&255,i>>24&255)<<24|V(e>>16&255,i>>16&255)<<16|V(e>>8&255,i>>8&255)<<8|V(255&e,255&i))>>>0};var zn=e.PredictorAdd0;e.PredictorAdd1=q,M("Predictor2","PredictorAdd2"),M("Predictor3","PredictorAdd3"),M("Predictor4","PredictorAdd4"),M("Predictor5","PredictorAdd5"),M("Predictor6","PredictorAdd6"),M("Predictor7","PredictorAdd7"),M("Predictor8","PredictorAdd8"),M("Predictor9","PredictorAdd9"),M("Predictor10","PredictorAdd10"),M("Predictor11","PredictorAdd11"),M("Predictor12","PredictorAdd12"),M("Predictor13","PredictorAdd13");var qn=e.PredictorAdd2;G("ColorIndexInverseTransform","MapARGB","32b",(function(e){return e>>8&255}),(function(e){return e})),G("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(e){return e}),(function(e){return e>>8&255}));var Wn,Yn=e.ColorIndexInverseTransform,Kn=e.MapARGB,Gn=e.VP8LColorIndexInverseTransformAlpha,$n=e.MapAlpha,Xn=e.VP8LPredictorsAdd=[];Xn.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var Jn,Zn,ei,ti,ni,ii,ai,ri,si,li,oi,di,ci,ui,pi,Ai,hi,fi,mi,vi,gi,yi,xi,bi,wi,ji,Ci,Si,Ni=r(511),Ii=r(2041),Fi=r(225),Bi=r(767),Pi=0,ki=Ii,Ti=Fi,Ei=Bi,Di=Ni,Li=0,Ui=1,_i=2,Oi=3,Mi=4,Ri=5,Qi=6,Hi=7,Vi=8,zi=9,qi=10,Wi=[2,3,7],Yi=[3,3,11],Ki=[280,256,256,256,40],Gi=[0,1,1,1,0],$i=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Xi=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Ji=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Zi=8,ea=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ta=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],na=null,ia=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],aa=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],ra=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sa=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],la=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],oa=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],da=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],ca=[],ua=[],pa=[],Aa=1,ha=2,fa=[],ma=[];vn("UpsampleRgbLinePair",jn,3),vn("UpsampleBgrLinePair",Cn,3),vn("UpsampleRgbaLinePair",Bn,4),vn("UpsampleBgraLinePair",Fn,4),vn("UpsampleArgbLinePair",In,4),vn("UpsampleRgba4444LinePair",Nn,2),vn("UpsampleRgb565LinePair",Sn,2);var va=e.UpsampleRgbLinePair,ga=e.UpsampleBgrLinePair,ya=e.UpsampleRgbaLinePair,xa=e.UpsampleBgraLinePair,ba=e.UpsampleArgbLinePair,wa=e.UpsampleRgba4444LinePair,ja=e.UpsampleRgb565LinePair,Ca=16,Sa=1<<Ca-1,Na=-227,Ia=482,Fa=6,Ba=(256<<Fa)-1,Pa=0,ka=r(256),Ta=r(256),Ea=r(256),Da=r(256),La=r(Ia-Na),Ua=r(Ia-Na);Pn("YuvToRgbRow",jn,3),Pn("YuvToBgrRow",Cn,3),Pn("YuvToRgbaRow",Bn,4),Pn("YuvToBgraRow",Fn,4),Pn("YuvToArgbRow",In,4),Pn("YuvToRgba4444Row",Nn,2),Pn("YuvToRgb565Row",Sn,2);var _a=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Oa=[0,2,8],Ma=[8,7,6,4,4,2,2,2,1,1,1,1],Ra=1;this.WebPDecodeRGBA=function(e,n,l,o,d){var c=Ui,u=new tn,p=new se;u.ba=p,p.S=c,p.width=[p.width],p.height=[p.height];var A=p.width,h=p.height,f=new le;if(null==f||null==e)var m=2;else t(null!=f),m=Dn(e,n,l,f.width,f.height,f.Pd,f.Qd,f.format,null);if(0!=m?A=0:(null!=A&&(A[0]=f.width[0]),null!=h&&(h[0]=f.height[0]),A=1),A){p.width=p.width[0],p.height=p.height[0],null!=o&&(o[0]=p.width),null!=d&&(d[0]=p.height);e:{if(o=new We,(d=new nn).data=e,d.w=n,d.ha=l,d.kd=1,n=[0],t(null!=d),(0==(e=Dn(d.data,d.w,d.ha,null,null,null,n,null,d))||7==e)&&n[0]&&(e=4),0==(n=e)){if(t(null!=u),o.data=d.data,o.w=d.w+d.offset,o.ha=d.ha-d.offset,o.put=Ae,o.ac=pe,o.bc=he,o.ma=u,d.xa){if(null==(e=Fe())){u=1;break e}if(function(e,n){var i=[0],a=[0],r=[0];t:for(;;){if(null==e)return 0;if(null==n)return e.a=2,0;if(e.l=n,e.a=0,v(e.m,n.data,n.w,n.ha),!fe(e.m,i,a,r)){e.a=3;break t}if(e.xb=ha,n.width=i[0],n.height=a[0],!Be(i[0],a[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,o)){if(o=0==(n=_n(o.width,o.height,u.Oa,u.ba))){t:{o=e;n:for(;;){if(null==o){o=0;break t}if(t(null!=o.s.yc),t(null!=o.s.Ya),t(0<o.s.Wb),t(null!=(l=o.l)),t(null!=(d=l.ma)),0!=o.xb){if(o.ca=d.ba,o.tb=d.tb,t(null!=o.ca),!Ln(d.Oa,l,Oi)){o.a=2;break n}if(!Pe(o,l.width))break n;if(l.da)break n;if((l.da||ie(o.ca.S))&&mn(),11>o.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=o.ca.f.kb.F&&mn()),o.Pb&&0<o.s.ua&&null==o.s.vb.X&&!E(o.s.vb,o.s.Wa.Xa)){o.a=1;break n}o.xb=0}if(!Ne(o,o.V,o.Ba,o.c,o.i,l.o,we))break n;d.Dc=o.Ma,o=1;break t}t(0!=o.a),o=0}o=!o}o&&(n=e.a)}else n=e.a}else{if(null==(e=new Ye)){u=1;break e}if(e.Fa=d.na,e.P=d.P,e.qc=d.Sa,$e(e,o)){if(0==(n=_n(o.width,o.height,u.Oa,u.ba))){if(e.Aa=0,l=u.Oa,t(null!=(d=e)),null!=l){if(0<(A=0>(A=l.Md)?0:100<A?255:255*A/100)){for(h=f=0;4>h;++h)12>(m=d.pb[h]).lc&&(m.ia=A*Ma[0>m.lc?0:m.lc]>>3),f|=m.ia;f&&(alert("todo:VP8InitRandom"),d.ia=1)}d.Ga=l.Id,100<d.Ga?d.Ga=100:0>d.Ga&&(d.Ga=0)}(function(e,n){if(null==e)return 0;if(null==n)return Ke(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!$e(e,n))return 0;if(t(e.cb),null==n.ac||n.ac(n)){n.ob&&(e.L=0);var l=Oa[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=n.v-l>>4,e.zb=n.j-l>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=n.o+15+l>>4,e.Hb=n.va+15+l>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var o=e.ed;for(l=0;4>l;++l){var d;if(e.Qa.Cb){var c=e.Qa.Lb[l];e.Qa.Fb||(c+=o.Tb)}else c=o.Tb;for(d=0;1>=d;++d){var u=e.gd[l][d],p=c;if(o.Pc&&(p+=o.vd[0],d&&(p+=o.od[0])),0<(p=0>p?0:63<p?63:p)){var A=p;0<o.wb&&(A=4<o.wb?A>>2:A>>1)>9-o.wb&&(A=9-o.wb),1>A&&(A=1),u.dd=A,u.tc=2*p+A,u.ld=40<=p?2:15<=p?1:0}else u.tc=0;u.La=d}}}l=0}else Ke(e,6,"Frame setup failed"),l=e.a;if(l=0==l){if(l){e.$c=0,0<e.Aa||(e.Ic=Ra);t:{l=e.Ic,o=4*(A=e.za);var h=32*A,f=A+1,m=0<e.L?A*(0<e.Aa?2:1):0,v=(2==e.Aa?2:1)*A;if((u=o+832+(d=3*(16*l+Oa[e.L])/2*h)+(c=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=u)l=0;else{if(u>e.Vb){if(e.Vb=0,e.Ec=r(u),e.Fc=0,null==e.Ec){l=Ke(e,1,"no memory during frame initialization.");break t}e.Vb=u}u=e.Ec,p=e.Fc,e.Ac=u,e.Bc=p,p+=o,e.Gd=s(h,Ve),e.Hd=0,e.rb=s(f+1,Me),e.sb=1,e.wa=m?s(m,Oe):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=A),t(!0),e.oc=u,e.pc=p,p+=832,e.ya=s(v,Qe),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=A),e.R=16*A,e.B=8*A,A=(h=Oa[e.L])*e.R,h=h/2*e.B,e.sa=u,e.ta=p+A,e.qa=e.sa,e.ra=e.ta+16*l*e.R+h,e.Ha=e.qa,e.Ia=e.ra+8*l*e.B+h,e.$c=0,p+=d,e.mb=c?u:null,e.nb=c?p:null,t(p+c<=e.Fc+e.Vb),Je(e),a(e.Ac,e.Bc,0,o),l=1}}if(l){if(n.ka=0,n.y=e.sa,n.O=e.ta,n.f=e.qa,n.N=e.ra,n.ea=e.Ha,n.Vd=e.Ia,n.fa=e.R,n.Rc=e.B,n.F=null,n.J=0,!Pi){for(l=-255;255>=l;++l)Ni[255+l]=0>l?-l:l;for(l=-1020;1020>=l;++l)Ii[1020+l]=-128>l?-128:127<l?127:l;for(l=-112;112>=l;++l)Fi[112+l]=-16>l?-16:15<l?15:l;for(l=-255;510>=l;++l)Bi[255+l]=0>l?0:255<l?255:l;Pi=1}ai=ot,ri=at,li=rt,oi=st,di=lt,si=it,ci=Yt,ui=Kt,pi=Xt,Ai=Jt,hi=Gt,fi=$t,mi=Zt,vi=en,gi=Qt,yi=Ht,xi=Vt,bi=zt,ua[0]=jt,ua[1]=ct,ua[2]=bt,ua[3]=wt,ua[4]=Ct,ua[5]=Nt,ua[6]=St,ua[7]=It,ua[8]=Bt,ua[9]=Ft,ca[0]=mt,ca[1]=pt,ca[2]=At,ca[3]=ht,ca[4]=vt,ca[5]=gt,ca[6]=yt,pa[0]=Et,pa[1]=ut,pa[2]=Pt,pa[3]=kt,pa[4]=Lt,pa[5]=Dt,pa[6]=Ut,l=1}else l=0}l&&(l=function(e,n){for(e.M=0;e.M<e.Va;++e.M){var s,l=e.Jc[e.M&e.Xb],o=e.m,d=e;for(s=0;s<d.za;++s){var c=o,u=d,p=u.Ac,A=u.Bc+4*s,h=u.zc,f=u.ya[u.aa+s];if(u.Qa.Bb?f.$b=F(c,u.Pa.jb[0])?2+F(c,u.Pa.jb[2]):F(c,u.Pa.jb[1]):f.$b=0,u.kc&&(f.Ad=F(c,u.Bd)),f.Za=!F(c,145)+0,f.Za){var m=f.Ob,v=0;for(u=0;4>u;++u){var g,y=h[0+u];for(g=0;4>g;++g){y=la[p[A+g]][y];for(var x=ra[F(c,y[0])];0<x;)x=ra[2*x+F(c,y[x])];y=-x,p[A+g]=y}i(m,v,p,A,4),v+=4,h[0+u]=y}}else y=F(c,156)?F(c,128)?1:3:F(c,163)?2:0,f.Ob[0]=y,a(p,A,y,4),a(h,0,y,4);f.Dd=F(c,142)?F(c,114)?F(c,183)?1:3:2:0}if(d.m.Ka)return Ke(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(d=l,c=(o=e).rb[o.sb-1],p=o.rb[o.sb+o.ja],s=o.ya[o.aa+o.ja],A=o.kc?s.Ad:0)c.la=p.la=0,s.Za||(c.Na=p.Na=0),s.Hc=0,s.Gc=0,s.ia=0;else{var b,w;if(c=p,p=d,A=o.Pa.Xc,h=o.ya[o.aa+o.ja],f=o.pb[h.$b],u=h.ad,m=0,v=o.rb[o.sb-1],y=g=0,a(u,m,0,384),h.Za)var j=0,C=A[3];else{x=r(16);var S=c.Na+v.Na;if(S=na(p,A[1],S,f.Eb,0,x,0),c.Na=v.Na=(0<S)+0,1<S)ai(x,0,u,m);else{var N=x[0]+3>>3;for(x=0;256>x;x+=16)u[m+x]=N}j=1,C=A[0]}var I=15&c.la,B=15&v.la;for(x=0;4>x;++x){var P=1&B;for(N=w=0;4>N;++N)I=I>>1|(P=(S=na(p,C,S=P+(1&I),f.Sc,j,u,m))>j)<<7,w=w<<2|(3<S?3:1<S?2:0!=u[m+0]),m+=16;I>>=4,B=B>>1|P<<7,g=(g<<8|w)>>>0}for(C=I,j=B>>4,b=0;4>b;b+=2){for(w=0,I=c.la>>4+b,B=v.la>>4+b,x=0;2>x;++x){for(P=1&B,N=0;2>N;++N)S=P+(1&I),I=I>>1|(P=0<(S=na(p,A[2],S,f.Qc,0,u,m)))<<3,w=w<<2|(3<S?3:1<S?2:0!=u[m+0]),m+=16;I>>=2,B=B>>1|P<<5}y|=w<<4*b,C|=I<<4<<b,j|=(240&B)<<b}c.la=C,v.la=j,h.Hc=g,h.Gc=y,h.ia=43690&y?0:f.ia,A=!(g|y)}if(0<o.L&&(o.wa[o.Y+o.ja]=o.gd[s.$b][s.Za],o.wa[o.Y+o.ja].La|=!A),d.Ka)return Ke(e,7,"Premature end-of-file encountered.")}if(Je(e),o=n,d=1,s=(l=e).D,c=0<l.L&&l.M>=l.zb&&l.M<=l.Va,0==l.Aa)t:{if(s.M=l.M,s.uc=c,En(l,s),d=1,s=(w=l.D).Nb,c=(y=Oa[l.L])*l.R,p=y/2*l.B,x=16*s*l.R,N=8*s*l.B,A=l.sa,h=l.ta-c+x,f=l.qa,u=l.ra-p+N,m=l.Ha,v=l.Ia-p+N,B=0==(I=w.M),g=I>=l.Va-1,2==l.Aa&&En(l,w),w.uc)for(P=(S=l).D.M,t(S.D.uc),w=S.yb;w<S.Hb;++w){j=w,C=P;var k=(T=(Q=S).D).Nb;b=Q.R;var T=T.wa[T.Y+j],E=Q.sa,D=Q.ta+16*k*b+16*j,L=T.dd,U=T.tc;if(0!=U)if(t(3<=U),1==Q.L)0<j&&yi(E,D,b,U+4),T.La&&bi(E,D,b,U),0<C&&gi(E,D,b,U+4),T.La&&xi(E,D,b,U);else{var _=Q.B,O=Q.qa,M=Q.ra+8*k*_+8*j,R=Q.Ha,Q=Q.Ia+8*k*_+8*j;k=T.ld,0<j&&(ui(E,D,b,U+4,L,k),Ai(O,M,R,Q,_,U+4,L,k)),T.La&&(fi(E,D,b,U,L,k),vi(O,M,R,Q,_,U,L,k)),0<C&&(ci(E,D,b,U+4,L,k),pi(O,M,R,Q,_,U+4,L,k)),T.La&&(hi(E,D,b,U,L,k),mi(O,M,R,Q,_,U,L,k))}}if(l.ia&&alert("todo:DitherRow"),null!=o.put){if(w=16*I,I=16*(I+1),B?(o.y=l.sa,o.O=l.ta+x,o.f=l.qa,o.N=l.ra+N,o.ea=l.Ha,o.W=l.Ia+N):(w-=y,o.y=A,o.O=h,o.f=f,o.N=u,o.ea=m,o.W=v),g||(I-=y),I>o.o&&(I=o.o),o.F=null,o.J=null,null!=l.Fa&&0<l.Fa.length&&w<I&&(o.J=un(l,o,w,I-w),o.F=l.mb,null==o.F&&0==o.F.length)){d=Ke(l,3,"Could not decode alpha data.");break t}w<o.j&&(y=o.j-w,w=o.j,t(!(1&y)),o.O+=l.R*y,o.N+=l.B*(y>>1),o.W+=l.B*(y>>1),null!=o.F&&(o.J+=o.width*y)),w<I&&(o.O+=o.v,o.N+=o.v>>1,o.W+=o.v>>1,null!=o.F&&(o.J+=o.v),o.ka=w-o.j,o.U=o.va-o.v,o.T=I-w,d=o.put(o))}s+1!=l.Ic||g||(i(l.sa,l.ta-c,A,h+16*l.R,c),i(l.qa,l.ra-p,f,u+8*l.B,p),i(l.Ha,l.Ia-p,m,v+8*l.B,p))}if(!d)return Ke(e,6,"Output aborted.")}return 1}(e,n)),null!=n.bc&&n.bc(n),l&=1}return l?(e.cb=0,l):0})(e,o)||(n=e.a)}}else n=e.a}0==n&&null!=u.Oa&&u.Oa.fd&&(n=Un(u.ba))}u=n}c=0!=u?null:11>c?p.f.RGBA.eb:p.f.kb.y}else c=null;return c};var Qa=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function d(e,t){for(var n="",i=0;i<4;i++)n+=String.fromCharCode(e[t++]);return n}function c(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16)>>>0}function u(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new o;var p=[0],A=[0],h=[],f=new o,m=e,v=function(e,t){var n={},i=0,a=!1,r=0,s=0;if(n.frames=[],! +/** @license + * Copyright (c) 2017 Dominik Homberger + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + https://webpjs.appspot.com + WebPRiffParser dominikhlbg@gmail.com + */ +function(e,t){for(var n=0;n<4;n++)if(e[t+n]!="RIFF".charCodeAt(n))return!0;return!1}(e,t)){var l,o;for(u(e,t+=4),t+=8;t<e.length;){var p=d(e,t),A=u(e,t+=4);t+=4;var h=A+(1&A);switch(p){case"VP8 ":case"VP8L":void 0===n.frames[i]&&(n.frames[i]={}),(v=n.frames[i]).src_off=a?s:t-8,v.src_size=r+A+8,i++,a&&(a=!1,r=0,s=0);break;case"VP8X":(v=n.header={}).feature_flags=e[t];var f=t+4;v.canvas_width=1+c(e,f),f+=3,v.canvas_height=1+c(e,f),f+=3;break;case"ALPH":a=!0,r=h+8,s=t-8;break;case"ANIM":(v=n.header).bgcolor=u(e,t),f=t+4,v.loop_count=(l=e)[(o=f)+0]|l[o+1]<<8,f+=2;break;case"ANMF":var m,v;(v=n.frames[i]={}).offset_x=2*c(e,t),t+=3,v.offset_y=2*c(e,t),t+=3,v.width=1+c(e,t),t+=3,v.height=1+c(e,t),t+=3,v.duration=c(e,t),t+=3,m=e[t++],v.dispose=1&m,v.blend=m>>1&1}"ANMF"!=p&&(t+=h)}return n}}(m,0);v.response=m,v.rgbaoutput=!0,v.dataurl=!1;var g=v.header?v.header:null,y=v.frames?v.frames:null;if(g){g.loop_counter=g.loop_count,p=[g.canvas_height],A=[g.canvas_width];for(var x=0;x<y.length&&0!=y[x].blend;x++);}var b=y[0],w=f.WebPDecodeRGBA(m,b.src_off,b.src_size,A,p);b.rgba=w,b.imgwidth=A[0],b.imgheight=p[0];for(var j=0;j<A[0]*p[0]*4;j++)h[j]=w[j];return this.width=A,this.height=p,this.data=h,this}!function(e){var t=function(t,i,o,d){var c=4,u=r;switch(d){case e.image_compression.FAST:c=1,u=a;break;case e.image_compression.MEDIUM:c=6,u=s;break;case e.image_compression.SLOW:c=9,u=l}var p=ns(t=n(t,i,o,u),{level:c});return e.__addimage__.arrayBufferToBinaryString(p)},n=function(e,t,n,i){for(var a,r,s,l=e.length/t,o=new Uint8Array(e.length+l),u=d(),p=0;p<l;p+=1){if(s=p*t,a=e.subarray(s,s+t),i)o.set(i(a,n,r),s+p);else{for(var A,h=u.length,f=[];A<h;A+=1)f[A]=u[A](a,n,r);var m=c(f.concat());o.set(f[m],s+p)}r=a}return o},i=function(e){var t=Array.apply([],e);return t.unshift(0),t},a=function(e,t){var n,i=[],a=e.length;i[0]=1;for(var r=0;r<a;r+=1)n=e[r-t]||0,i[r+1]=e[r]-n+256&255;return i},r=function(e,t,n){var i,a=[],r=e.length;a[0]=2;for(var s=0;s<r;s+=1)i=n&&n[s]||0,a[s+1]=e[s]-i+256&255;return a},s=function(e,t,n){var i,a,r=[],s=e.length;r[0]=3;for(var l=0;l<s;l+=1)i=e[l-t]||0,a=n&&n[l]||0,r[l+1]=e[l]+256-(i+a>>>1)&255;return r},l=function(e,t,n){var i,a,r,s,l=[],d=e.length;l[0]=4;for(var c=0;c<d;c+=1)i=e[c-t]||0,a=n&&n[c]||0,r=n&&n[c-t]||0,s=o(i,a,r),l[c+1]=e[c]-s+256&255;return l},o=function(e,t,n){if(e===t&&t===n)return e;var i=Math.abs(t-n),a=Math.abs(e-n),r=Math.abs(e+t-n-n);return i<=a&&i<=r?e:a<=r?t:n},d=function(){return[i,a,r,s,l]},c=function(e){var t=e.map((function(e){return e.reduce((function(e,t){return e+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))};e.processPNG=function(n,i,a,r){var s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b=this.decode.FLATE_DECODE,w="";if(this.__addimage__.isArrayBuffer(n)&&(n=new Uint8Array(n)),this.__addimage__.isArrayBufferView(n)){if(n=(o=new i9(n)).imgData,l=o.bits,s=o.colorSpace,c=o.colors,-1!==[4,6].indexOf(o.colorType)){if(8===o.bits){h=(A=32==o.pixelBitlength?new Uint32Array(o.decodePixels().buffer):16==o.pixelBitlength?new Uint16Array(o.decodePixels().buffer):new Uint8Array(o.decodePixels().buffer)).length,m=new Uint8Array(h*o.colors),f=new Uint8Array(h);var j,C=o.pixelBitlength-o.bits;for(y=0,x=0;y<h;y++){for(g=A[y],j=0;j<C;)m[x++]=g>>>j&255,j+=o.bits;f[y]=g>>>j&255}}if(16===o.bits){h=(A=new Uint32Array(o.decodePixels().buffer)).length,m=new Uint8Array(h*(32/o.pixelBitlength)*o.colors),f=new Uint8Array(h*(32/o.pixelBitlength)),v=o.colors>1,y=0,x=0;for(var S=0;y<h;)g=A[y++],m[x++]=g>>>0&255,v&&(m[x++]=g>>>16&255,g=A[y++],m[x++]=g>>>0&255),f[S++]=g>>>16&255;l=8}r!==e.image_compression.NONE?(n=t(m,o.width*o.colors,o.colors,r),p=t(f,o.width,1,r)):(n=m,p=f,b=void 0)}if(3===o.colorType&&(s=this.color_spaces.INDEXED,u=o.palette,o.transparency.indexed)){var N=o.transparency.indexed,I=0;for(y=0,h=N.length;y<h;++y)I+=N[y];if((I/=255)==h-1&&-1!==N.indexOf(0))d=[N.indexOf(0)];else if(I!==h){for(A=o.decodePixels(),f=new Uint8Array(A.length),y=0,h=A.length;y<h;y++)f[y]=N[A[y]];p=t(f,o.width,1)}}var F=function(t){var n;switch(t){case e.image_compression.FAST:n=11;break;case e.image_compression.MEDIUM:n=13;break;case e.image_compression.SLOW:n=14;break;default:n=12}return n}(r);return b===this.decode.FLATE_DECODE&&(w="/Predictor "+F+" "),w+="/Colors "+c+" /BitsPerComponent "+l+" /Columns "+o.width,(this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n))&&(n=this.__addimage__.arrayBufferToBinaryString(n)),(p&&this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p))&&(p=this.__addimage__.arrayBufferToBinaryString(p)),{alias:a,data:n,index:i,filter:b,decodeParameters:w,transparency:d,palette:u,sMask:p,predictor:F,width:o.width,height:o.height,bitsPerComponent:l,colorSpace:s}}}}(W8.API),function(e){e.processGIF89A=function(t,n,i,a){var r=new a9(t),s=r.width,l=r.height,o=[];r.decodeAndBlitFrameRGBA(0,o);var d={data:o,width:s,height:l},c=new s9(100).encode(d,100);return e.processJPEG.call(this,c,n,i,a)},e.processGIF87A=e.processGIF89A}(W8.API),l9.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:a,green:i,blue:n,quad:r}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},l9.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(n){f8.log("bit decode error:"+n)}},l9.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;for(e=this.height-1;e>=0;e--){for(var i=this.bottom_up?e:this.height-1-e,a=0;a<t;a++)for(var r=this.datav.getUint8(this.pos++,!0),s=i*this.width*4+8*a*4,l=0;l<8&&8*a+l<this.width;l++){var o=this.palette[r>>7-l&1];this.data[s+4*l]=o.blue,this.data[s+4*l+1]=o.green,this.data[s+4*l+2]=o.red,this.data[s+4*l+3]=255}0!==n&&(this.pos+=4-n)}},l9.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,a=0;a<e;a++){var r=this.datav.getUint8(this.pos++,!0),s=i*this.width*4+2*a*4,l=r>>4,o=15&r,d=this.palette[l];if(this.data[s]=d.blue,this.data[s+1]=d.green,this.data[s+2]=d.red,this.data[s+3]=255,2*a+1>=this.width)break;d=this.palette[o],this.data[s+4]=d.blue,this.data[s+4+1]=d.green,this.data[s+4+2]=d.red,this.data[s+4+3]=255}0!==t&&(this.pos+=4-t)}},l9.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i<this.width;i++){var a=this.datav.getUint8(this.pos++,!0),r=n*this.width*4+4*i;if(a<this.palette.length){var s=this.palette[a];this.data[r]=s.red,this.data[r+1]=s.green,this.data[r+2]=s.blue,this.data[r+3]=255}else this.data[r]=255,this.data[r+1]=255,this.data[r+2]=255,this.data[r+3]=255}0!==e&&(this.pos+=4-e)}},l9.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,a=0;a<this.width;a++){var r=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(r&t)/t*255|0,l=(r>>5&t)/t*255|0,o=(r>>10&t)/t*255|0,d=r>>15?255:0,c=i*this.width*4+4*a;this.data[c]=o,this.data[c+1]=l,this.data[c+2]=s,this.data[c+3]=d}this.pos+=e}},l9.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),i=this.height-1;i>=0;i--){for(var a=this.bottom_up?i:this.height-1-i,r=0;r<this.width;r++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var l=(s&t)/t*255|0,o=(s>>5&n)/n*255|0,d=(s>>11)/t*255|0,c=a*this.width*4+4*r;this.data[c]=d,this.data[c+1]=o,this.data[c+2]=l,this.data[c+3]=255}this.pos+=e}},l9.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=r,this.data[s+1]=a,this.data[s+2]=i,this.data[s+3]=255}this.pos+=this.width%4}},l9.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),l=t*this.width*4+4*n;this.data[l]=r,this.data[l+1]=a,this.data[l+2]=i,this.data[l+3]=s}},l9.prototype.getData=function(){return this.data}, +/** + * @license + * Copyright (c) 2018 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){e.processBMP=function(t,n,i,a){var r=new l9(t,!1),s=r.width,l=r.height,o={data:r.getData(),width:s,height:l},d=new s9(100).encode(o,100);return e.processJPEG.call(this,d,n,i,a)}}(W8.API),o9.prototype.getData=function(){return this.data}, +/** + * @license + * Copyright (c) 2019 Aras Abbasi + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){e.processWEBP=function(t,n,i,a){var r=new o9(t),s=r.width,l=r.height,o={data:r.getData(),width:s,height:l},d=new s9(100).encode(o,100);return e.processJPEG.call(this,d,n,i,a)}}(W8.API),W8.API.processRGBA=function(e,t,n){for(var i=e.data,a=i.length,r=new Uint8Array(a/4*3),s=new Uint8Array(a/4),l=0,o=0,d=0;d<a;d+=4){var c=i[d],u=i[d+1],p=i[d+2],A=i[d+3];r[l++]=c,r[l++]=u,r[l++]=p,s[o++]=A}var h=this.__addimage__.arrayBufferToBinaryString(r);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:h,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},W8.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this},J7=W8.API,Z7=J7.getCharWidthsArray=function(e,t){var n,i,a=(t=t||{}).font||this.internal.getFont(),r=t.fontSize||this.internal.getFontSize(),s=t.charSpace||this.internal.getCharSpace(),l=t.widths?t.widths:a.metadata.Unicode.widths,o=l.fof?l.fof:1,d=t.kerning?t.kerning:a.metadata.Unicode.kerning,c=d.fof?d.fof:1,u=!1!==t.doKerning,A=0,h=e.length,f=0,m=l[0]||o,v=[];for(n=0;n<h;n++)i=e.charCodeAt(n),"function"==typeof a.metadata.widthOfString?v.push((a.metadata.widthOfGlyph(a.metadata.characterToGlyph(i))+s*(1e3/r)||0)/1e3):(A=u&&"object"===p(d[i])&&!isNaN(parseInt(d[i][f],10))?d[i][f]/c:0,v.push((l[i]||m)/o+A)),f=i;return v},e9=J7.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),i=t.font||this.internal.getFont(),a=t.charSpace||this.internal.getCharSpace();return J7.processArabic&&(e=J7.processArabic(e)),"function"==typeof i.metadata.widthOfString?i.metadata.widthOfString(e,n,a)/n:Z7.apply(this,arguments).reduce((function(e,t){return e+t}),0)},t9=function(e,t,n,i){for(var a=[],r=0,s=e.length,l=0;r!==s&&l+t[r]<n;)l+=t[r],r++;a.push(e.slice(0,r));var o=r;for(l=0;r!==s;)l+t[r]>i&&(a.push(e.slice(o,r)),l=0,o=r),l+=t[r],r++;return o!==r&&a.push(e.slice(o,r)),a},n9=function(e,t,n){n||(n={});var i,a,r,s,l,o,d,c=[],u=[c],p=n.textIndent||0,A=0,h=0,f=e.split(" "),m=Z7.apply(this,[" ",n])[0];if(o=-1===n.lineIndent?f[0].length+2:n.lineIndent||0){var v=Array(o).join(" "),g=[];f.map((function(e){(e=e.split(/\s*\n/)).length>1?g=g.concat(e.map((function(e,t){return(t&&e.length?"\n":"")+e}))):g.push(e[0])})),f=g,o=e9.apply(this,[v,n])}for(r=0,s=f.length;r<s;r++){var y=0;if(i=f[r],o&&"\n"==i[0]&&(i=i.substr(1),y=1),p+A+(h=(a=Z7.apply(this,[i,n])).reduce((function(e,t){return e+t}),0))>t||y){if(h>t){for(l=t9.apply(this,[i,a,t-(p+A),t]),c.push(l.shift()),c=[l.pop()];l.length;)u.push([l.shift()]);h=a.slice(i.length-(c[0]?c[0].length:0)).reduce((function(e,t){return e+t}),0)}else c=[i];u.push(c),p=h+o,A=m}else c.push(i),p+=A+h,A=m}return d=o?function(e,t){return(t?v:"")+e.join(" ")}:function(e){return e.join(" ")},u.map(d)},J7.splitTextToSize=function(e,t,n){var i,a=(n=n||{}).fontSize||this.internal.getFontSize(),r=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle);return t.metadata.Unicode?{widths:t.metadata.Unicode.widths||{0:1},kerning:t.metadata.Unicode.kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,n);i=Array.isArray(e)?e:String(e).split(/\r?\n/);var s=1*this.internal.scaleFactor*t/a;r.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/a:0,r.lineIndent=n.lineIndent;var l,o,d=[];for(l=0,o=i.length;l<o;l++)d=d.concat(n9.apply(this,[i[l],s,r]));return d},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",n={},i={},a=0;a<16;a++)n[t[a]]="0123456789abcdef"[a],i["0123456789abcdef"[a]]=t[a];var r=function(e){return"0x"+parseInt(e,10).toString(16)},s=e.__fontmetrics__.compress=function(e){var t,n,a,l,o=["{"];for(var d in e){if(t=e[d],isNaN(parseInt(d,10))?n="'"+d+"'":(d=parseInt(d,10),n=(n=r(d).slice(2)).slice(0,-1)+i[n.slice(-1)]),"number"==typeof t)t<0?(a=r(t).slice(3),l="-"):(a=r(t).slice(2),l=""),a=l+a.slice(0,-1)+i[a.slice(-1)];else{if("object"!==p(t))throw new Error("Don't know what to do with value type "+p(t)+".");a=s(t)}o.push(n+a)}return o.push("}"),o.join("")},l=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,i,a,r,s={},l=1,o=s,d=[],c="",u="",p=e.length-1,A=1;A<p;A+=1)"'"==(r=e[A])?t?(a=t.join(""),t=void 0):t=[]:t?t.push(r):"{"==r?(d.push([o,a]),o={},a=void 0):"}"==r?((i=d.pop())[0][i[1]]=o,a=void 0,o=i[0]):"-"==r?l=-1:void 0===a?n.hasOwnProperty(r)?(c+=n[r],a=parseInt(c,16)*l,l=1,c=""):c+=r:n.hasOwnProperty(r)?(u+=n[r],o[a]=parseInt(u,16)*l,l=1,a=void 0,u=""):u+=r;return s},o={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},d={Unicode:{Courier:o,"Courier-Bold":o,"Courier-BoldOblique":o,"Courier-Oblique":o,Helvetica:o,"Helvetica-Bold":o,"Helvetica-BoldOblique":o,"Helvetica-Oblique":o,"Times-Roman":o,"Times-Bold":o,"Times-BoldItalic":o,"Times-Italic":o}},c={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":l("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(e){var t=e.font,n=c.Unicode[t.postScriptName];n&&(t.metadata.Unicode={},t.metadata.Unicode.widths=n.widths,t.metadata.Unicode.kerning=n.kerning);var i=d.Unicode[t.postScriptName];i&&(t.metadata.Unicode.encoding=i,t.encoding=i.codePages[0])}])}(W8.API), +/** + * @license + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){var t=function(e){for(var t=e.length,n=new Uint8Array(t),i=0;i<t;i++)n[i]=e.charCodeAt(i);return n};e.API.events.push(["addFont",function(n){var i,a,r=void 0,s=n.font,l=n.instance;if(!s.isStandardFont){if(void 0===l)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");if("string"!=typeof(r=!1===l.existsFileInVFS(s.postScriptName)?l.loadFile(s.postScriptName):l.getFileFromVFS(s.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");i=s,a=/^\x00\x01\x00\x00/.test(a=r)?t(a):t(y8(a)),i.metadata=e.API.TTFFont.open(a),i.metadata.Unicode=i.metadata.Unicode||{encoding:{},kerning:{},widths:[]},i.metadata.glyIdsUsed=[0]}}])}(W8),W8.API.addSvgAsImage=function(e,t,n,i,a,r,s,l){if(isNaN(t)||isNaN(n))throw f8.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(a))throw f8.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var o=document.createElement("canvas");o.width=i,o.height=a;var d=o.getContext("2d");d.fillStyle="#fff",d.fillRect(0,0,o.width,o.height);var c={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},u=this;return(A8.canvg?Promise.resolve(A8.canvg):pr((()=>import("./index.es-7ba97c1a.js")),["assets/index.es-7ba97c1a.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js"])).catch((function(e){return Promise.reject(new Error("Could not load canvg: "+e))})).then((function(e){return e.default?e.default:e})).then((function(t){return t.fromString(d,e,c)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(e){return e.render(c)})).then((function(){u.addImage(o.toDataURL("image/jpeg",1),t,n,i,a,s,l)}))},W8.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var i=1;i<=this.internal.getNumberOfPages();i++)for(var a=0;a<this.internal.pages[i].length;a++)this.internal.pages[i][a]=this.internal.pages[i][a].replace(t,n);return this},W8.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var i,a,r,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},l=Object.keys(s),o=[],d=0,c=0,u=0;function A(e,t){var n,i=!1;for(n=0;n<e.length;n+=1)e[n]===t&&(i=!0);return i}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var h=l.length;for(u=0;u<h;u+=1)n[l[u]].value=n[l[u]].defaultValue,n[l[u]].explicitSet=!1}if("object"===p(e))for(a in e)if(r=e[a],A(l,a)&&void 0!==r){if("boolean"===n[a].type&&"boolean"==typeof r)n[a].value=r;else if("name"===n[a].type&&A(n[a].valueSet,r))n[a].value=r;else if("integer"===n[a].type&&Number.isInteger(r))n[a].value=r;else if("array"===n[a].type){for(d=0;d<r.length;d+=1)if(i=!0,1===r[d].length&&"number"==typeof r[d][0])o.push(String(r[d]-1));else if(r[d].length>1){for(c=0;c<r[d].length;c+=1)"number"!=typeof r[d][c]&&(i=!1);!0===i&&o.push([r[d][0]-1,r[d][1]-1].join(" "))}n[a].value="["+o.join(" ")+"]"}else n[a].value=n[a].defaultValue;n[a].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var e,t=[];for(e in n)!0===n[e].explicitSet&&("name"===n[e].type?t.push("/"+e+" /"+n[e].value):t.push("/"+e+" "+n[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this}, +/** ==================================================================== + * @license + * jsPDF XMP metadata plugin + * Copyright (c) 2016 Jussi Utunen, u-jussi@suomi24.fi + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * ==================================================================== + */ +function(e){var t=function(){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),n=unescape(encodeURIComponent(e)),i=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),a=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),r=unescape(encodeURIComponent("</x:xmpmeta>")),s=n.length+i.length+a.length+t.length+r.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+s+" >>"),this.internal.write("stream"),this.internal.write(t+n+i+a+r),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,i){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:i||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}(W8.API),function(e){var t=e.API,n=t.pdfEscape16=function(e,t){for(var n,i=t.metadata.Unicode.widths,a=["","0","00","000","0000"],r=[""],s=0,l=e.length;s<l;++s){if(n=t.metadata.characterToGlyph(e.charCodeAt(s)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(s),-1==i.indexOf(n)&&(i.push(n),i.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"==n)return r.join("");n=n.toString(16),r.push(a[4-n.length],n)}return r.join("")},i=function(e){var t,n,i,a,r,s,l;for(r="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",i=[],s=0,l=(n=Object.keys(e).sort((function(e,t){return e-t}))).length;s<l;s++)t=n[s],i.length>=100&&(r+="\n"+i.length+" beginbfchar\n"+i.join("\n")+"\nendbfchar",i=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(a=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),i.push("<"+t+"><"+a+">"));return i.length&&(r+="\n"+i.length+" beginbfchar\n"+i.join("\n")+"\nendbfchar\n"),r+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var n=t.font,a=t.out,r=t.newObject,s=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"Identity-H"===n.encoding){for(var l=n.metadata.Unicode.widths,o=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),d="",c=0;c<o.length;c++)d+=String.fromCharCode(o[c]);var u=r();s({data:d,addLength1:!0,objectId:u}),a("endobj");var p=r();s({data:i(n.metadata.toUnicode),addLength1:!0,objectId:p}),a("endobj");var A=r();a("<<"),a("/Type /FontDescriptor"),a("/FontName /"+R8(n.fontName)),a("/FontFile2 "+u+" 0 R"),a("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),a("/Flags "+n.metadata.flags),a("/StemV "+n.metadata.stemV),a("/ItalicAngle "+n.metadata.italicAngle),a("/Ascent "+n.metadata.ascender),a("/Descent "+n.metadata.decender),a("/CapHeight "+n.metadata.capHeight),a(">>"),a("endobj");var h=r();a("<<"),a("/Type /Font"),a("/BaseFont /"+R8(n.fontName)),a("/FontDescriptor "+A+" 0 R"),a("/W "+e.API.PDFObject.convert(l)),a("/CIDToGIDMap /Identity"),a("/DW 1000"),a("/Subtype /CIDFontType2"),a("/CIDSystemInfo"),a("<<"),a("/Supplement 0"),a("/Registry (Adobe)"),a("/Ordering ("+n.encoding+")"),a(">>"),a(">>"),a("endobj"),n.objectNumber=r(),a("<<"),a("/Type /Font"),a("/Subtype /Type0"),a("/ToUnicode "+p+" 0 R"),a("/BaseFont /"+R8(n.fontName)),a("/Encoding /"+n.encoding),a("/DescendantFonts ["+h+" 0 R]"),a(">>"),a("endobj"),n.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var n=t.font,a=t.out,r=t.newObject,s=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var l=n.metadata.rawData,o="",d=0;d<l.length;d++)o+=String.fromCharCode(l[d]);var c=r();s({data:o,addLength1:!0,objectId:c}),a("endobj");var u=r();s({data:i(n.metadata.toUnicode),addLength1:!0,objectId:u}),a("endobj");var p=r();a("<<"),a("/Descent "+n.metadata.decender),a("/CapHeight "+n.metadata.capHeight),a("/StemV "+n.metadata.stemV),a("/Type /FontDescriptor"),a("/FontFile2 "+c+" 0 R"),a("/Flags 96"),a("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),a("/FontName /"+R8(n.fontName)),a("/ItalicAngle "+n.metadata.italicAngle),a("/Ascent "+n.metadata.ascender),a(">>"),a("endobj"),n.objectNumber=r();for(var A=0;A<n.metadata.hmtx.widths.length;A++)n.metadata.hmtx.widths[A]=parseInt(n.metadata.hmtx.widths[A]*(1e3/n.metadata.head.unitsPerEm));a("<</Subtype/TrueType/Type/Font/ToUnicode "+u+" 0 R/BaseFont/"+R8(n.fontName)+"/FontDescriptor "+p+" 0 R/Encoding/"+n.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(n.metadata.hmtx.widths)+">>"),a("endobj"),n.isAlreadyPutted=!0}}(t)}]);var a=function(e){var t,i=e.text||"",a=e.x,r=e.y,s=e.options||{},l=e.mutex||{},o=l.pdfEscape,d=l.activeFontKey,c=l.fonts,u=d,p="",A=0,h="",f=c[u].encoding;if("Identity-H"!==c[u].encoding)return{text:i,x:a,y:r,options:s,mutex:l};for(h=i,u=d,Array.isArray(i)&&(h=i[0]),A=0;A<h.length;A+=1)c[u].metadata.hasOwnProperty("cmap")&&(t=c[u].metadata.cmap.unicode.codeMap[h[A].charCodeAt(0)]),t||h[A].charCodeAt(0)<256&&c[u].metadata.hasOwnProperty("Unicode")?p+=h[A]:p+="";var m="";return parseInt(u.slice(1))<14||"WinAnsiEncoding"===f?m=o(p,u).split("").map((function(e){return e.charCodeAt(0).toString(16)})).join(""):"Identity-H"===f&&(m=n(p,c[u])),l.isHex=!0,{text:m,x:a,y:r,options:s,mutex:l}};t.events.push(["postProcessText",function(e){var t=e.text||"",n=[],i={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var r=0;for(r=0;r<t.length;r+=1)Array.isArray(t[r])&&3===t[r].length?n.push([a(Object.assign({},i,{text:t[r][0]})).text,t[r][1],t[r][2]]):n.push(a(Object.assign({},i,{text:t[r]})).text);e.text=n}else e.text=a(Object.assign({},i,{text:t})).text}])}(W8), +/** + * @license + * jsPDF virtual FileSystem functionality + * + * Licensed under the MIT License. + * http://opensource.org/licenses/mit-license + */ +function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,n){return t.call(this),this.internal.vFS[e]=n,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(W8.API), +/** + * @license + * Unicode Bidi Engine based on the work of Alex Shensis (@asthensis) + * MIT License + */ +function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,i,a,r,s,l,o,d=t,c=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],u=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],p={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},A={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},h=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],f=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),m=!1,v=0;this.__bidiEngine__={};var g=function(e){var t=e.charCodeAt(),n=t>>8,i=A[n];return void 0!==i?d[256*i+(255&t)]:252===n||253===n?"AL":f.test(n)?"L":8===n?"R":"N"},y=function(e){for(var t,n=0;n<e.length;n++){if("L"===(t=g(e.charAt(n))))return!1;if("R"===t)return!0}return!1},x=function(e,t,s,l){var o,d,c,u,p=t[l];switch(p){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"N":case"AN":break;case"EN":m&&(p="AN");break;case"AL":m=!0,p="R";break;case"WS":case"BN":p="N";break;case"CS":l<1||l+1>=t.length||"EN"!==(o=s[l-1])&&"AN"!==o||"EN"!==(d=t[l+1])&&"AN"!==d?p="N":m&&(d="AN"),p=d===o?d:"N";break;case"ES":p="EN"===(o=l>0?s[l-1]:"B")&&l+1<t.length&&"EN"===t[l+1]?"EN":"N";break;case"ET":if(l>0&&"EN"===s[l-1]){p="EN";break}if(m){p="N";break}for(c=l+1,u=t.length;c<u&&"ET"===t[c];)c++;p=c<u&&"EN"===t[c]?"EN":"N";break;case"NSM":if(a&&!r){for(u=t.length,c=l+1;c<u&&"NSM"===t[c];)c++;if(c<u){var A=e[l],h=A>=1425&&A<=2303||64286===A;if(o=t[c],h&&("R"===o||"AL"===o)){p="R";break}}}p=l<1||"B"===(o=t[l-1])?"N":s[l-1];break;case"B":m=!1,n=!0,p=v;break;case"S":i=!0,p="N"}return p},b=function(e,t,n){var i=e.split("");return n&&w(i,n,{hiLevel:v}),i.reverse(),t&&t.reverse(),i.join("")},w=function(e,t,a){var r,s,l,o,d,A=-1,h=e.length,f=0,y=[],b=v?u:c,w=[];for(m=!1,n=!1,i=!1,s=0;s<h;s++)w[s]=g(e[s]);for(l=0;l<h;l++){if(d=f,y[l]=x(e,w,y,l),r=240&(f=b[d][p[y[l]]]),f&=15,t[l]=o=b[f][5],r>0)if(16===r){for(s=A;s<l;s++)t[s]=1;A=-1}else A=-1;if(b[f][6])-1===A&&(A=l);else if(A>-1){for(s=A;s<l;s++)t[s]=o;A=-1}"B"===w[l]&&(t[l]=0),a.hiLevel|=o}i&&function(e,t,n){for(var i=0;i<n;i++)if("S"===e[i]){t[i]=v;for(var a=i-1;a>=0&&"WS"===e[a];a--)t[a]=v}}(w,t,h)},j=function(e,t,i,a,r){if(!(r.hiLevel<e)){if(1===e&&1===v&&!n)return t.reverse(),void(i&&i.reverse());for(var s,l,o,d,c=t.length,u=0;u<c;){if(a[u]>=e){for(o=u+1;o<c&&a[o]>=e;)o++;for(d=u,l=o-1;d<l;d++,l--)s=t[d],t[d]=t[l],t[l]=s,i&&(s=i[d],i[d]=i[l],i[l]=s);u=o}u++}}},C=function(e,t,n){var i=e.split(""),a={hiLevel:v};return n||(n=[]),w(i,n,a),function(e,t,n){if(0!==n.hiLevel&&o)for(var i,a=0;a<e.length;a++)1===t[a]&&(i=h.indexOf(e[a]))>=0&&(e[a]=h[i+1])}(i,n,a),j(2,i,t,n,a),j(1,i,t,n,a),i.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===r&&(r=y(e)),void 0===l&&(l=y(e))}(e,t),a||!s||l)if(a&&s&&r^l)v=r?1:0,e=b(e,t,n);else if(!a&&s&&l)v=r?1:0,e=C(e,t,n),e=b(e,t);else if(!a||r||s||l){if(a&&!s&&r^l)e=b(e,t),r?(v=0,e=C(e,t,n)):(v=1,e=C(e,t,n),e=b(e,t));else if(a&&r&&!s&&l)v=1,e=C(e,t,n),e=b(e,t);else if(!a&&!s&&r^l){var i=o;r?(v=1,e=C(e,t,n),v=0,o=!1,e=C(e,t,n),o=i):(v=0,e=C(e,t,n),e=b(e,t),v=1,o=!1,e=C(e,t,n),o=i,e=b(e,t))}}else v=0,e=C(e,t,n);else v=r?1:0,e=C(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(a=e.isInputVisual,s=e.isOutputVisual,r=e.isInputRtl,l=e.isOutputRtl,o=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text,i=(e.x,e.y,e.options||{}),a=(e.mutex,i.lang,[]);if(i.isInputVisual="boolean"!=typeof i.isInputVisual||i.isInputVisual,n.setOptions(i),"[object Array]"===Object.prototype.toString.call(t)){var r=0;for(a=[],r=0;r<t.length;r+=1)"[object Array]"===Object.prototype.toString.call(t[r])?a.push([n.doBidiReorder(t[r][0]),t[r][1],t[r][2]]):a.push([n.doBidiReorder(t[r])]);e.text=a}else e.text=n.doBidiReorder(t);n.setOptions({isInputVisual:!0})}])}(W8),W8.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new c9(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new B9(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new u9(this.contents),this.head=new h9(this),this.name=new b9(this),this.cmap=new m9(this),this.toUnicode={},this.hhea=new v9(this),this.maxp=new w9(this),this.hmtx=new j9(this),this.post=new y9(this),this.os2=new g9(this),this.loca=new F9(this),this.glyf=new S9(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,n,i,a;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,i,a;for(a=[],t=0,n=(i=this.bbox).length;t<n;t++)e=i[t],a.push(Math.round(e*this.scaleFactor));return a}.call(this),this.stemV=0,this.post.exists?(n=255&(i=this.post.italic_angle),!!(32768&(t=i>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(a=this.familyClass)||2===a||3===a||4===a||5===a||7===a,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var i,a,r,s;for(r=0,a=0,s=(e=""+e).length;0<=s?a<s:a>s;a=0<=s?++a:--a)i=e.charCodeAt(a),r+=this.widthOfGlyph(this.characterToGlyph(i))+n*(1e3/t)||0;return r*(t/1e3)},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var d9,c9=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.join("")},e.prototype.writeString=function(e){var t,n,i;for(i=[],t=0,n=e.length;0<=n?t<n:t>n;t=0<=n?++t:--t)i.push(this.writeByte(e.charCodeAt(t)));return i},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,i,a,r,s,l;return e=this.readByte(),t=this.readByte(),n=this.readByte(),i=this.readByte(),a=this.readByte(),r=this.readByte(),s=this.readByte(),l=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^i)+16777216*(255^a)+65536*(255^r)+256*(255^s)+(255^l)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*i+16777216*a+65536*r+256*s+l},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,i,a;for(a=[],n=0,i=e.length;n<i;n++)t=e[n],a.push(this.writeByte(t));return a},e}(),u9=function(){var e;function t(e){var t,n,i;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,i=this.tableCount;0<=i?n<i:n>i;n=0<=i?++n:--n)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var n,i,a,r,s,l,o,d,c,u,p,A,h;for(h in p=Object.keys(t).length,l=Math.log(2),c=16*Math.floor(Math.log(p)/l),r=Math.floor(c/l),d=16*p-c,(i=new c9).writeInt(this.scalarType),i.writeShort(p),i.writeShort(c),i.writeShort(r),i.writeShort(d),a=16*p,o=i.pos+a,s=null,A=[],t)for(u=t[h],i.writeString(h),i.writeInt(e(u)),i.writeInt(o),i.writeInt(u.length),A=A.concat(u),"head"===h&&(s=o),o+=u.length;o%4;)A.push(0),o++;return i.write(A),n=2981146554-e(i.data),i.pos=s+8,i.writeUInt32(n),i.data},e=function(e){var t,n,i,a;for(e=C9.call(e);e.length%4;)e.push(0);for(i=new c9(e),n=0,t=0,a=e.length;t<a;t=t+=4)n+=i.readUInt32();return 4294967295&n},t}(),p9={}.hasOwnProperty,A9=function(e,t){for(var n in t)p9.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e};d9=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var h9=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return A9(e,d9),e.prototype.tag="head",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},e.prototype.encode=function(e){var t;return(t=new c9).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},e}(),f9=function(){function e(e,t){var n,i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),c=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(l=0;l<256;++l)this.codeMap[l]=e.readByte();break;case 4:for(p=e.readUInt16(),u=p/2,e.pos+=6,a=function(){var t,n;for(n=[],l=t=0;0<=u?t<u:t>u;l=0<=u?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,h=function(){var t,n;for(n=[],l=t=0;0<=u?t<u:t>u;l=0<=u?++t:--t)n.push(e.readUInt16());return n}(),o=function(){var t,n;for(n=[],l=t=0;0<=u?t<u:t>u;l=0<=u?++t:--t)n.push(e.readUInt16());return n}(),d=function(){var t,n;for(n=[],l=t=0;0<=u?t<u:t>u;l=0<=u?++t:--t)n.push(e.readUInt16());return n}(),i=(this.length-e.pos+this.offset)/2,s=function(){var t,n;for(n=[],l=t=0;0<=i?t<i:t>i;l=0<=i?++t:--t)n.push(e.readUInt16());return n}(),l=m=0,g=a.length;m<g;l=++m)for(f=a[l],n=v=A=h[l];A<=f?v<=f:v>=f;n=A<=f?++v:--v)0===d[l]?r=n+o[l]:0!==(r=s[d[l]/2+(n-A)-(u-l)]||0)&&(r+=o[l]),this.codeMap[n]=65535&r}e.pos=c}return e.encode=function(e,t){var n,i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P,k,T,E,D,L,U,_,O,M,R,Q,H,V,z,q,W,Y;switch(B=new c9,r=Object.keys(e).sort((function(e,t){return e-t})),t){case"macroman":for(h=0,f=function(){var e=[];for(A=0;A<256;++A)e.push(0);return e}(),v={0:0},a={},P=0,D=r.length;P<D;P++)null==v[z=e[i=r[P]]]&&(v[z]=++h),a[i]={old:e[i],new:v[e[i]]},f[i]=v[e[i]];return B.writeUInt16(1),B.writeUInt16(0),B.writeUInt32(12),B.writeUInt16(0),B.writeUInt16(262),B.writeUInt16(0),B.write(f),{charMap:a,subtable:B.data,maxGlyphID:h+1};case"unicode":for(I=[],c=[],g=0,v={},n={},m=o=null,k=0,L=r.length;k<L;k++)null==v[x=e[i=r[k]]]&&(v[x]=++g),n[i]={old:x,new:v[x]},s=v[x]-i,null!=m&&s===o||(m&&c.push(m),I.push(i),o=s),m=i;for(m&&c.push(m),c.push(65535),I.push(65535),S=2*(C=I.length),j=2*Math.pow(Math.log(C)/Math.LN2,2),u=Math.log(j/2)/Math.LN2,w=2*C-j,l=[],b=[],p=[],A=T=0,U=I.length;T<U;A=++T){if(N=I[A],d=c[A],65535===N){l.push(0),b.push(0);break}if(N-(F=n[N].new)>=32768)for(l.push(0),b.push(2*(p.length+C-A)),i=E=N;N<=d?E<=d:E>=d;i=N<=d?++E:--E)p.push(n[i].new);else l.push(F-N),b.push(0)}for(B.writeUInt16(3),B.writeUInt16(1),B.writeUInt32(12),B.writeUInt16(4),B.writeUInt16(16+8*C+2*p.length),B.writeUInt16(0),B.writeUInt16(S),B.writeUInt16(j),B.writeUInt16(u),B.writeUInt16(w),H=0,_=c.length;H<_;H++)i=c[H],B.writeUInt16(i);for(B.writeUInt16(0),V=0,O=I.length;V<O;V++)i=I[V],B.writeUInt16(i);for(q=0,M=l.length;q<M;q++)s=l[q],B.writeUInt16(s);for(W=0,R=b.length;W<R;W++)y=b[W],B.writeUInt16(y);for(Y=0,Q=p.length;Y<Q;Y++)h=p[Y],B.writeUInt16(h);return{charMap:n,subtable:B.data,maxGlyphID:g+1}}},e}(),m9=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return A9(e,d9),e.prototype.tag="cmap",e.prototype.parse=function(e){var t,n,i;for(e.pos=this.offset,this.version=e.readUInt16(),i=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=i?n<i:n>i;n=0<=i?++n:--n)t=new f9(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},e.encode=function(e,t){var n,i;return null==t&&(t="macroman"),n=f9.encode(e,t),(i=new c9).writeUInt16(0),i.writeUInt16(1),n.table=i.data.concat(n.subtable),n},e}(),v9=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return A9(e,d9),e.prototype.tag="hhea",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},e}(),g9=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return A9(e,d9),e.prototype.tag="OS/2",e.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;t=++t)n.push(e.readInt());return n}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},e}(),y9=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return A9(e,d9),e.prototype.tag="post",e.prototype.parse=function(e){var t,n,i;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var a;for(n=e.readUInt16(),this.glyphNameIndex=[],a=0;0<=n?a<n:a>n;a=0<=n?++a:--a)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],i=[];e.pos<this.offset+this.length;)t=e.readByte(),i.push(this.names.push(e.readString(t)));return i;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 262144:return this.map=function(){var t,n,i;for(i=[],a=t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:t>n;a=0<=n?++t:--t)i.push(e.readUInt32());return i}.call(this)}},e}(),x9=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},b9=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return A9(e,d9),e.prototype.tag="name",e.prototype.parse=function(e){var t,n,i,a,r,s,l,o,d,c,u;for(e.pos=this.offset,e.readShort(),t=e.readShort(),s=e.readShort(),n=[],a=0;0<=t?a<t:a>t;a=0<=t?++a:--a)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+s+e.readShort()});for(l={},a=d=0,c=n.length;d<c;a=++d)i=n[a],e.pos=i.offset,o=e.readString(i.length),r=new x9(o,i),null==l[u=i.nameID]&&(l[u]=[]),l[i.nameID].push(r);this.strings=l,this.copyright=l[0],this.fontFamily=l[1],this.fontSubfamily=l[2],this.uniqueSubfamily=l[3],this.fontName=l[4],this.version=l[5];try{this.postscriptName=l[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(p){this.postscriptName=l[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=l[7],this.manufacturer=l[8],this.designer=l[9],this.description=l[10],this.vendorUrl=l[11],this.designerUrl=l[12],this.license=l[13],this.licenseUrl=l[14],this.preferredFamily=l[15],this.preferredSubfamily=l[17],this.compatibleFull=l[18],this.sampleText=l[19]},e}(),w9=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return A9(e,d9),e.prototype.tag="maxp",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},e}(),j9=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return A9(e,d9),e.prototype.tag="hmtx",e.prototype.parse=function(e){var t,n,i,a,r,s,l;for(e.pos=this.offset,this.metrics=[],t=0,s=this.file.hhea.numberOfMetrics;0<=s?t<s:t>s;t=0<=s?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(i=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,a;for(a=[],t=n=0;0<=i?n<i:n>i;t=0<=i?++n:--n)a.push(e.readInt16());return a}(),this.widths=function(){var e,t,n,i;for(i=[],e=0,t=(n=this.metrics).length;e<t;e++)a=n[e],i.push(a.advance);return i}.call(this),n=this.widths[this.widths.length-1],l=[],t=r=0;0<=i?r<i:r>i;t=0<=i?++r:--r)l.push(this.widths.push(n));return l},e.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},e}(),C9=[].slice,S9=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return A9(e,d9),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(e){var t,n,i,a,r,s,l,o,d,c;return e in this.cache?this.cache[e]:(a=this.file.loca,t=this.file.contents,n=a.indexOf(e),0===(i=a.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,r=(s=new c9(t.read(i))).readShort(),o=s.readShort(),c=s.readShort(),l=s.readShort(),d=s.readShort(),this.cache[e]=-1===r?new I9(s,o,c,l,d):new N9(s,r,o,c,l,d),this.cache[e]))},e.prototype.encode=function(e,t,n){var i,a,r,s,l;for(r=[],a=[],s=0,l=t.length;s<l;s++)i=e[t[s]],a.push(r.length),i&&(r=r.concat(i.encode(n)));return a.push(r.length),{table:r,offsets:a}},e}(),N9=function(){function e(e,t,n,i,a,r){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=i,this.xMax=a,this.yMax=r,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),I9=function(){function e(e,t,n,i,a){var r,s;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=i,this.yMax=a,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],r=this.raw;s=r.readShort(),this.glyphOffsets.push(r.pos),this.glyphIDs.push(r.readUInt16()),32&s;)r.pos+=1&s?4:2,128&s?r.pos+=8:64&s?r.pos+=4:8&s&&(r.pos+=2)}return e.prototype.encode=function(){var e,t,n;for(t=new c9(C9.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),F9=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return A9(e,d9),e.prototype.tag="loca",e.prototype.parse=function(e){var t,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,i;for(i=[],n=0,t=this.length;n<t;n+=2)i.push(2*e.readUInt16());return i}.call(this):function(){var t,i;for(i=[],n=0,t=this.length;n<t;n+=4)i.push(e.readUInt32());return i}.call(this)},e.prototype.indexOf=function(e){return this.offsets[e]},e.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},e.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),i=0,a=0,r=0;r<n.length;++r)if(n[r]=i,a<t.length&&t[a]==r){++a,n[r]=i;var s=this.offsets[r],l=this.offsets[r+1]-s;l>0&&(i+=l)}for(var o=new Array(4*n.length),d=0;d<n.length;++d)o[4*d+3]=255&n[d],o[4*d+2]=(65280&n[d])>>8,o[4*d+1]=(16711680&n[d])>>16,o[4*d]=(4278190080&n[d])>>24;return o},e}(),B9=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,i,a;for(t in i=this.font.cmap.tables[0].codeMap,e={},a=this.subset)n=a[t],e[t]=i[n];return e},e.prototype.glyphsFor=function(e){var t,n,i,a,r,s,l;for(i={},r=0,s=e.length;r<s;r++)i[a=e[r]]=this.font.glyf.glyphFor(a);for(a in t=[],i)(null!=(n=i[a])?n.compound:void 0)&&t.push.apply(t,n.glyphIDs);if(t.length>0)for(a in l=this.glyphsFor(t))n=l[a],i[a]=n;return i},e.prototype.encode=function(e,t){var n,i,a,r,s,l,o,d,c,u,p,A,h,f,m;for(i in n=m9.encode(this.generateCmap(),"unicode"),r=this.glyphsFor(e),p={0:0},m=n.charMap)p[(l=m[i]).old]=l.new;for(A in u=n.maxGlyphID,r)A in p||(p[A]=u++);return d=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(p),c=Object.keys(d).sort((function(e,t){return e-t})),h=function(){var e,t,n;for(n=[],e=0,t=c.length;e<t;e++)s=c[e],n.push(d[s]);return n}(),a=this.font.glyf.encode(r,h,p),o=this.font.loca.encode(a.offsets,h),f={cmap:this.font.cmap.raw(),glyf:a.table,loca:o,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(f["OS/2"]=this.font.os2.raw()),this.font.directory.encode(f)},e}();W8.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(n){var i,a,r,s;if(Array.isArray(n))return"["+function(){var e,a,r;for(r=[],e=0,a=n.length;e<a;e++)i=n[e],r.push(t.convert(i));return r}().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n?n.isString:void 0)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(n)){for(a in r=["<<"],n)s=n[a],r.push("/"+a+" "+t.convert(s));return r.push(">>"),r.join("\n")}return""+n},t}();var P9=$p();const k9=c(P9),T9=Le({__proto__:null,default:k9},[P9]),E9=Ja("currency/getCurrency",(async()=>await fA.get("/currency"))),D9=Ja("currency/postCurrency",(async e=>await fA.post("/currency",e))),L9=Ja("currency/putCurrency",(async e=>await fA.put("/currency",e))),U9=Ja("currency/deleteCurrency",(async e=>await fA.delete("/currency",{params:e}))),_9=Ya({name:"curency",initialState:{currencyData:[]},extraReducers:e=>{e.addCase(E9.fulfilled,((e,t)=>{var n,i,a;(null==(n=null==t?void 0:t.payload)?void 0:n.status)?e.currencyData=null==(a=null==(i=null==t?void 0:t.payload)?void 0:i.data)?void 0:a.data:e.currencyData=[]}))}}),O9=e=>{var t;return null==(t=e.currencyPage)?void 0:t.currencyData},M9=_9.reducer,R9=[{name:"Home",link:"/landing-page/home"}],Q9=Ja("getPaymentMethod/getPaymentMethod",(async()=>await fA.get("/ccavenuePaymentDetails"))),H9=Ja("getPaymentMethod/getPaymentMethod",(async()=>await fA.get("/ccavenuePaymentDetails?activeStatus=A"))),V9=Ja("PostPaymentMethod/PostPaymentMethod",(async e=>await fA.post("/ccavenueDetails",e))),z9=Ja("PostPaymentMethod/PutPaymentMethod",(async e=>await fA.put("/ccavenueDetails",e))),q9=Ja("GetPaymentMethod/GetPaymentGatewayconfig",(async()=>await fA.get("/PaymentGatewayConfig"))),W9=Ja("GetAdminData",(async({AppId:e,Type:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await Ne.get(`https://www.pozo.dev/pozo-common-api/UAMFeatAddon?Type=${t}&AppId=${e}`)})),Y9=Ja("PostPaymentMethod/PostPaymentGatewayconfig",(async e=>await fA.post("/PaymentGatewayConfig",e))),K9=Ja("PostPaymentMethod/DeletePaymentGatewayconfig",(async e=>await fA.delete(`/PaymentGatewayConfig?uniqueId=${null==e?void 0:e.uniqueId}&updatedBy=${null==e?void 0:e.UpdatedBy}&activeStatus=${null==e?void 0:e.ActiveStatus}`))),G9=Ja("PutPaymentGatewayconfig/PutPaymentGatewayconfig",(async e=>await fA.put("/PaymentGatewayconfig",e))),$9=Ja("deletePaymentMethod/deletePaymentMethod",(async e=>{if((null==e?void 0:e.MethodId)&&(null==e?void 0:e.ActiveStatus))return await fA.delete(`/ccavenuePaymentMethod?methodId=${null==e?void 0:e.MethodId}&activeStatus=${null==e?void 0:e.ActiveStatus}`)})),X9=Ja("deletePaymentMethod/deletePaymentMethod",(async e=>{if((null==e?void 0:e.UniqueId)&&(null==e?void 0:e.ActiveStatus))return await fA.delete(`/ccavenueDetails?uniqueId=${null==e?void 0:e.UniqueId}&activeStatus=${null==e?void 0:e.ActiveStatus}`)}));var J9={exports:{}}; +/*! + * jQuery JavaScript Library v3.7.1 + * https://jquery.com/ + * + * Copyright OpenJS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2023-08-28T13:37Z + */!function(e){!function(t,n){e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}}("undefined"!=typeof window?window:d,(function(e,t){var n=[],i=Object.getPrototypeOf,a=n.slice,r=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},s=n.push,l=n.indexOf,o={},d=o.toString,c=o.hasOwnProperty,u=c.toString,p=u.call(Object),A={},h=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},f=function(e){return null!=e&&e===e.window},m=e.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function g(e,t,n){var i,a,r=(n=n||m).createElement("script");if(r.text=e,t)for(i in v)(a=t[i]||t.getAttribute&&t.getAttribute(i))&&r.setAttribute(i,a);n.head.appendChild(r).parentNode.removeChild(r)}function y(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?o[d.call(e)]||"object":typeof e}var x="3.7.1",b=/HTML$/i,w=function(e,t){return new w.fn.init(e,t)};function j(e){var t=!!e&&"length"in e&&e.length,n=y(e);return!h(e)&&!f(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function C(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}w.fn=w.prototype={jquery:x,constructor:w,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(w.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,i,a,r,s=arguments[0]||{},l=1,o=arguments.length,d=!1;for("boolean"==typeof s&&(d=s,s=arguments[l]||{},l++),"object"==typeof s||h(s)||(s={}),l===o&&(s=this,l--);l<o;l++)if(null!=(e=arguments[l]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(d&&i&&(w.isPlainObject(i)||(a=Array.isArray(i)))?(n=s[t],r=a&&!Array.isArray(n)?[]:a||w.isPlainObject(n)?n:{},a=!1,s[t]=w.extend(d,r,i)):void 0!==i&&(s[t]=i));return s},w.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==d.call(e))&&(!(t=i(e))||"function"==typeof(n=c.call(t,"constructor")&&t.constructor)&&u.call(n)===p)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){g(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(j(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},text:function(e){var t,n="",i=0,a=e.nodeType;if(!a)for(;t=e[i++];)n+=w.text(t);return 1===a||11===a?e.textContent:9===a?e.documentElement.textContent:3===a||4===a?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(j(Object(e))?w.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!b.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,i=0,a=e.length;i<n;i++)e[a++]=t[i];return e.length=a,e},grep:function(e,t,n){for(var i=[],a=0,r=e.length,s=!n;a<r;a++)!t(e[a],a)!==s&&i.push(e[a]);return i},map:function(e,t,n){var i,a,s=0,l=[];if(j(e))for(i=e.length;s<i;s++)null!=(a=t(e[s],s,n))&&l.push(a);else for(s in e)null!=(a=t(e[s],s,n))&&l.push(a);return r(l)},guid:1,support:A}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){o["[object "+t+"]"]=t.toLowerCase()}));var S=n.pop,N=n.sort,I=n.splice,F="[\\x20\\t\\r\\n\\f]",B=new RegExp("^"+F+"+|((?:^|[^\\\\])(?:\\\\.)*)"+F+"+$","g");w.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var P=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function k(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}w.escapeSelector=function(e){return(e+"").replace(P,k)};var T=m,E=s;!function(){var t,i,r,s,o,d,u,p,h,f,m=E,v=w.expando,g=0,y=0,x=ee(),b=ee(),j=ee(),P=ee(),k=function(e,t){return e===t&&(o=!0),0},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="(?:\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",U="\\["+F+"*("+L+")(?:"+F+"*([*^$|!~]?=)"+F+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+F+"*\\]",_=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+U+")*)|.*)\\)|)",O=new RegExp(F+"+","g"),M=new RegExp("^"+F+"*,"+F+"*"),R=new RegExp("^"+F+"*([>+~]|"+F+")"+F+"*"),Q=new RegExp(F+"|>"),H=new RegExp(_),V=new RegExp("^"+L+"$"),z={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+_),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},q=/^(?:input|select|textarea|button)$/i,W=/^h\d$/i,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,G=new RegExp("\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\([^\\r\\n\\f])","g"),$=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},X=function(){oe()},J=pe((function(e){return!0===e.disabled&&C(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(n=a.call(T.childNodes),T.childNodes),n[T.childNodes.length].nodeType}catch(Ou){m={apply:function(e,t){E.apply(e,a.call(t))},call:function(e){E.apply(e,a.call(arguments,1))}}}function Z(e,t,n,i){var a,r,s,l,o,c,u,f=t&&t.ownerDocument,g=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==g&&9!==g&&11!==g)return n;if(!i&&(oe(t),t=t||d,p)){if(11!==g&&(o=Y.exec(e)))if(a=o[1]){if(9===g){if(!(s=t.getElementById(a)))return n;if(s.id===a)return m.call(n,s),n}else if(f&&(s=f.getElementById(a))&&Z.contains(t,s)&&s.id===a)return m.call(n,s),n}else{if(o[2])return m.apply(n,t.getElementsByTagName(e)),n;if((a=o[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(a)),n}if(!(P[e+" "]||h&&h.test(e))){if(u=e,f=t,1===g&&(Q.test(e)||R.test(e))){for((f=K.test(e)&&le(t.parentNode)||t)==t&&A.scope||((l=t.getAttribute("id"))?l=w.escapeSelector(l):t.setAttribute("id",l=v)),r=(c=ce(e)).length;r--;)c[r]=(l?"#"+l:":scope")+" "+ue(c[r]);u=c.join(",")}try{return m.apply(n,f.querySelectorAll(u)),n}catch(y){P(e,!0)}finally{l===v&&t.removeAttribute("id")}}}return ge(e.replace(B,"$1"),t,n,i)}function ee(){var e=[];return function t(n,a){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=a}}function te(e){return e[v]=!0,e}function ne(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(Ou){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ie(e){return function(t){return C(t,"input")&&t.type===e}}function ae(e){return function(t){return(C(t,"input")||C(t,"button"))&&t.type===e}}function re(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&J(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function se(e){return te((function(t){return t=+t,te((function(n,i){for(var a,r=e([],n.length,t),s=r.length;s--;)n[a=r[s]]&&(n[a]=!(i[a]=n[a]))}))}))}function le(e){return e&&void 0!==e.getElementsByTagName&&e}function oe(e){var t,n=e?e.ownerDocument||e:T;return n!=d&&9===n.nodeType&&n.documentElement?(u=(d=n).documentElement,p=!w.isXMLDoc(d),f=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,u.msMatchesSelector&&T!=d&&(t=d.defaultView)&&t.top!==t&&t.addEventListener("unload",X),A.getById=ne((function(e){return u.appendChild(e).id=w.expando,!d.getElementsByName||!d.getElementsByName(w.expando).length})),A.disconnectedMatch=ne((function(e){return f.call(e,"*")})),A.scope=ne((function(){return d.querySelectorAll(":scope")})),A.cssHas=ne((function(){try{return d.querySelector(":has(*,:jqfake)"),!1}catch(Ou){return!0}})),A.getById?(i.filter.ID=function(e){var t=e.replace(G,$);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(G,$);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n,i,a,r=t.getElementById(e);if(r){if((n=r.getAttributeNode("id"))&&n.value===e)return[r];for(a=t.getElementsByName(e),i=0;r=a[i++];)if((n=r.getAttributeNode("id"))&&n.value===e)return[r]}return[]}}),i.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},i.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)},h=[],ne((function(e){var t;u.appendChild(e).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+F+"*(?:value|"+D+")"),e.querySelectorAll("[id~="+v+"-]").length||h.push("~="),e.querySelectorAll("a#"+v+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll(":checked").length||h.push(":checked"),(t=d.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),u.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),(t=d.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+F+"*name"+F+"*="+F+"*(?:''|\"\")")})),A.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),k=function(e,t){if(e===t)return o=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!A.sortDetached&&t.compareDocumentPosition(e)===n?e===d||e.ownerDocument==T&&Z.contains(T,e)?-1:t===d||t.ownerDocument==T&&Z.contains(T,t)?1:s?l.call(s,e)-l.call(s,t):0:4&n?-1:1)},d):d}for(t in Z.matches=function(e,t){return Z(e,null,null,t)},Z.matchesSelector=function(e,t){if(oe(e),p&&!P[t+" "]&&(!h||!h.test(t)))try{var n=f.call(e,t);if(n||A.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(Ou){P(t,!0)}return Z(t,d,null,[e]).length>0},Z.contains=function(e,t){return(e.ownerDocument||e)!=d&&oe(e),w.contains(e,t)},Z.attr=function(e,t){(e.ownerDocument||e)!=d&&oe(e);var n=i.attrHandle[t.toLowerCase()],a=n&&c.call(i.attrHandle,t.toLowerCase())?n(e,t,!p):void 0;return void 0!==a?a:e.getAttribute(t)},Z.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},w.uniqueSort=function(e){var t,n=[],i=0,r=0;if(o=!A.sortStable,s=!A.sortStable&&a.call(e,0),N.call(e,k),o){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)I.call(e,n[i],1)}return s=null,e},w.fn.uniqueSort=function(){return this.pushStack(w.uniqueSort(a.apply(this)))},i=w.expr={cacheLength:50,createPseudo:te,match:z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(G,$),e[3]=(e[3]||e[4]||e[5]||"").replace(G,$),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Z.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Z.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&H.test(n)&&(t=ce(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(G,$).toLowerCase();return"*"===e?function(){return!0}:function(e){return C(e,t)}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&&x(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(i){var a=Z.attr(i,e);return null==a?"!="===t:!t||(a+="","="===t?a===n:"!="===t?a!==n:"^="===t?n&&0===a.indexOf(n):"*="===t?n&&a.indexOf(n)>-1:"$="===t?n&&a.slice(-n.length)===n:"~="===t?(" "+a.replace(O," ")+" ").indexOf(n)>-1:"|="===t&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,a){var r="nth"!==e.slice(0,3),s="last"!==e.slice(-4),l="of-type"===t;return 1===i&&0===a?function(e){return!!e.parentNode}:function(t,n,o){var d,c,u,p,A,h=r!==s?"nextSibling":"previousSibling",f=t.parentNode,m=l&&t.nodeName.toLowerCase(),y=!o&&!l,x=!1;if(f){if(r){for(;h;){for(u=t;u=u[h];)if(l?C(u,m):1===u.nodeType)return!1;A=h="only"===e&&!A&&"nextSibling"}return!0}if(A=[s?f.firstChild:f.lastChild],s&&y){for(x=(p=(d=(c=f[v]||(f[v]={}))[e]||[])[0]===g&&d[1])&&d[2],u=p&&f.childNodes[p];u=++p&&u&&u[h]||(x=p=0)||A.pop();)if(1===u.nodeType&&++x&&u===t){c[e]=[g,p,x];break}}else if(y&&(x=p=(d=(c=t[v]||(t[v]={}))[e]||[])[0]===g&&d[1]),!1===x)for(;(u=++p&&u&&u[h]||(x=p=0)||A.pop())&&(!(l?C(u,m):1===u.nodeType)||!++x||(y&&((c=u[v]||(u[v]={}))[e]=[g,x]),u!==t)););return(x-=a)===i||x%i===0&&x/i>=0}}},PSEUDO:function(e,t){var n,a=i.pseudos[e]||i.setFilters[e.toLowerCase()]||Z.error("unsupported pseudo: "+e);return a[v]?a(t):a.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,n){for(var i,r=a(e,t),s=r.length;s--;)e[i=l.call(e,r[s])]=!(n[i]=r[s])})):function(e){return a(e,0,n)}):a}},pseudos:{not:te((function(e){var t=[],n=[],i=ve(e.replace(B,"$1"));return i[v]?te((function(e,t,n,a){for(var r,s=i(e,null,a,[]),l=e.length;l--;)(r=s[l])&&(e[l]=!(t[l]=r))})):function(e,a,r){return t[0]=e,i(t,null,r,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return Z(e,t).length>0}})),contains:te((function(e){return e=e.replace(G,$),function(t){return(t.textContent||w.text(t)).indexOf(e)>-1}})),lang:te((function(e){return V.test(e||"")||Z.error("unsupported lang: "+e),e=e.replace(G,$).toLowerCase(),function(t){var n;do{if(n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===u},focus:function(e){return e===function(){try{return d.activeElement}catch(e){}}()&&d.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:re(!1),disabled:re(!0),checked:function(e){return C(e,"input")&&!!e.checked||C(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return W.test(e.nodeName)},input:function(e){return q.test(e.nodeName)},button:function(e){return C(e,"input")&&"button"===e.type||C(e,"button")},text:function(e){var t;return C(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:se((function(){return[0]})),last:se((function(e,t){return[t-1]})),eq:se((function(e,t,n){return[n<0?n+t:n]})),even:se((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:se((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:se((function(e,t,n){var i;for(i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e})),gt:se((function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e}))}},i.pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=ie(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=ae(t);function de(){}function ce(e,t){var n,a,r,s,l,o,d,c=b[e+" "];if(c)return t?0:c.slice(0);for(l=e,o=[],d=i.preFilter;l;){for(s in n&&!(a=M.exec(l))||(a&&(l=l.slice(a[0].length)||l),o.push(r=[])),n=!1,(a=R.exec(l))&&(n=a.shift(),r.push({value:n,type:a[0].replace(B," ")}),l=l.slice(n.length)),i.filter)!(a=z[s].exec(l))||d[s]&&!(a=d[s](a))||(n=a.shift(),r.push({value:n,type:s,matches:a}),l=l.slice(n.length));if(!n)break}return t?l.length:l?Z.error(e):b(e,o).slice(0)}function ue(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function pe(e,t,n){var i=t.dir,a=t.next,r=a||i,s=n&&"parentNode"===r,l=y++;return t.first?function(t,n,a){for(;t=t[i];)if(1===t.nodeType||s)return e(t,n,a);return!1}:function(t,n,o){var d,c,u=[g,l];if(o){for(;t=t[i];)if((1===t.nodeType||s)&&e(t,n,o))return!0}else for(;t=t[i];)if(1===t.nodeType||s)if(c=t[v]||(t[v]={}),a&&C(t,a))t=t[i]||t;else{if((d=c[r])&&d[0]===g&&d[1]===l)return u[2]=d[2];if(c[r]=u,u[2]=e(t,n,o))return!0}return!1}}function Ae(e){return e.length>1?function(t,n,i){for(var a=e.length;a--;)if(!e[a](t,n,i))return!1;return!0}:e[0]}function he(e,t,n,i,a){for(var r,s=[],l=0,o=e.length,d=null!=t;l<o;l++)(r=e[l])&&(n&&!n(r,i,a)||(s.push(r),d&&t.push(l)));return s}function fe(e,t,n,i,a,r){return i&&!i[v]&&(i=fe(i)),a&&!a[v]&&(a=fe(a,r)),te((function(r,s,o,d){var c,u,p,A,h=[],f=[],v=s.length,g=r||function(e,t,n){for(var i=0,a=t.length;i<a;i++)Z(e,t[i],n);return n}(t||"*",o.nodeType?[o]:o,[]),y=!e||!r&&t?g:he(g,h,e,o,d);if(n?n(y,A=a||(r?e:v||i)?[]:s,o,d):A=y,i)for(c=he(A,f),i(c,[],o,d),u=c.length;u--;)(p=c[u])&&(A[f[u]]=!(y[f[u]]=p));if(r){if(a||e){if(a){for(c=[],u=A.length;u--;)(p=A[u])&&c.push(y[u]=p);a(null,A=[],c,d)}for(u=A.length;u--;)(p=A[u])&&(c=a?l.call(r,p):h[u])>-1&&(r[c]=!(s[c]=p))}}else A=he(A===s?A.splice(v,A.length):A),a?a(null,s,A,d):m.apply(s,A)}))}function me(e){for(var t,n,a,s=e.length,o=i.relative[e[0].type],d=o||i.relative[" "],c=o?1:0,u=pe((function(e){return e===t}),d,!0),p=pe((function(e){return l.call(t,e)>-1}),d,!0),A=[function(e,n,i){var a=!o&&(i||n!=r)||((t=n).nodeType?u(e,n,i):p(e,n,i));return t=null,a}];c<s;c++)if(n=i.relative[e[c].type])A=[pe(Ae(A),n)];else{if((n=i.filter[e[c].type].apply(null,e[c].matches))[v]){for(a=++c;a<s&&!i.relative[e[a].type];a++);return fe(c>1&&Ae(A),c>1&&ue(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(B,"$1"),n,c<a&&me(e.slice(c,a)),a<s&&me(e=e.slice(a)),a<s&&ue(e))}A.push(n)}return Ae(A)}function ve(e,t){var n,a=[],s=[],l=j[e+" "];if(!l){for(t||(t=ce(e)),n=t.length;n--;)(l=me(t[n]))[v]?a.push(l):s.push(l);l=j(e,function(e,t){var n=t.length>0,a=e.length>0,s=function(s,l,o,c,u){var A,h,f,v=0,y="0",x=s&&[],b=[],j=r,C=s||a&&i.find.TAG("*",u),N=g+=null==j?1:Math.random()||.1,I=C.length;for(u&&(r=l==d||l||u);y!==I&&null!=(A=C[y]);y++){if(a&&A){for(h=0,l||A.ownerDocument==d||(oe(A),o=!p);f=e[h++];)if(f(A,l||d,o)){m.call(c,A);break}u&&(g=N)}n&&((A=!f&&A)&&v--,s&&x.push(A))}if(v+=y,n&&y!==v){for(h=0;f=t[h++];)f(x,b,l,o);if(s){if(v>0)for(;y--;)x[y]||b[y]||(b[y]=S.call(c));b=he(b)}m.apply(c,b),u&&!s&&b.length>0&&v+t.length>1&&w.uniqueSort(c)}return u&&(g=N,r=j),x};return n?te(s):s}(s,a)),l.selector=e}return l}function ge(e,t,n,a){var r,s,l,o,d,c="function"==typeof e&&e,u=!a&&ce(e=c.selector||e);if(n=n||[],1===u.length){if((s=u[0]=u[0].slice(0)).length>2&&"ID"===(l=s[0]).type&&9===t.nodeType&&p&&i.relative[s[1].type]){if(!(t=(i.find.ID(l.matches[0].replace(G,$),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(r=z.needsContext.test(e)?0:s.length;r--&&(l=s[r],!i.relative[o=l.type]);)if((d=i.find[o])&&(a=d(l.matches[0].replace(G,$),K.test(s[0].type)&&le(t.parentNode)||t))){if(s.splice(r,1),!(e=a.length&&ue(s)))return m.apply(n,a),n;break}}return(c||ve(e,u))(a,t,!p,n,!t||K.test(e)&&le(t.parentNode)||t),n}de.prototype=i.filters=i.pseudos,i.setFilters=new de,A.sortStable=v.split("").sort(k).join("")===v,oe(),A.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))})),w.find=Z,w.expr[":"]=w.expr.pseudos,w.unique=w.uniqueSort,Z.compile=ve,Z.select=ge,Z.setDocument=oe,Z.tokenize=ce,Z.escape=w.escapeSelector,Z.getText=w.text,Z.isXML=w.isXMLDoc,Z.selectors=w.expr,Z.support=w.support,Z.uniqueSort=w.uniqueSort}();var D=function(e,t,n){for(var i=[],a=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&w(e).is(n))break;i.push(e)}return i},L=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},U=w.expr.match.needsContext,_=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(e,t,n){return h(t)?w.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?w.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?w.grep(e,(function(e){return l.call(t,e)>-1!==n})):w.filter(t,e,n)}w.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?w.find.matchesSelector(i,e)?[i]:[]:w.find.matches(e,w.grep(t,(function(e){return 1===e.nodeType})))},w.fn.extend({find:function(e){var t,n,i=this.length,a=this;if("string"!=typeof e)return this.pushStack(w(e).filter((function(){for(t=0;t<i;t++)if(w.contains(a[t],this))return!0})));for(n=this.pushStack([]),t=0;t<i;t++)w.find(e,a[t],n);return i>1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(O(this,e||[],!1))},not:function(e){return this.pushStack(O(this,e||[],!0))},is:function(e){return!!O(this,"string"==typeof e&&U.test(e)?w(e):e||[],!1).length}});var M,R=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Q=w.fn.init=function(e,t,n){var i,a;if(!e)return this;if(n=n||M,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:R.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:m,!0)),_.test(i[1])&&w.isPlainObject(t))for(i in t)h(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(a=m.getElementById(i[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):h(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)};Q.prototype=w.fn,M=w(m);var H=/^(?:parents|prev(?:Until|All))/,V={children:!0,contents:!0,next:!0,prev:!0};function z(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0}))},closest:function(e,t){var n,i=0,a=this.length,r=[],s="string"!=typeof e&&w(e);if(!U.test(e))for(;i<a;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&w.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?w.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?l.call(w(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return D(e,"parentNode")},parentsUntil:function(e,t,n){return D(e,"parentNode",n)},next:function(e){return z(e,"nextSibling")},prev:function(e){return z(e,"previousSibling")},nextAll:function(e){return D(e,"nextSibling")},prevAll:function(e){return D(e,"previousSibling")},nextUntil:function(e,t,n){return D(e,"nextSibling",n)},prevUntil:function(e,t,n){return D(e,"previousSibling",n)},siblings:function(e){return L((e.parentNode||{}).firstChild,e)},children:function(e){return L(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(C(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},(function(e,t){w.fn[e]=function(n,i){var a=w.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(a=w.filter(i,a)),this.length>1&&(V[e]||w.uniqueSort(a),H.test(e)&&a.reverse()),this.pushStack(a)}}));var q=/[^\x20\t\r\n\f]+/g;function W(e){return e}function Y(e){throw e}function K(e,t,n,i){var a;try{e&&h(a=e.promise)?a.call(e).done(t).fail(n):e&&h(a=e.then)?a.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(r){n.apply(void 0,[r])}}w.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return w.each(e.match(q)||[],(function(e,n){t[n]=!0})),t}(e):w.extend({},e);var t,n,i,a,r=[],s=[],l=-1,o=function(){for(a=a||e.once,i=t=!0;s.length;l=-1)for(n=s.shift();++l<r.length;)!1===r[l].apply(n[0],n[1])&&e.stopOnFalse&&(l=r.length,n=!1);e.memory||(n=!1),t=!1,a&&(r=n?[]:"")},d={add:function(){return r&&(n&&!t&&(l=r.length-1,s.push(n)),function t(n){w.each(n,(function(n,i){h(i)?e.unique&&d.has(i)||r.push(i):i&&i.length&&"string"!==y(i)&&t(i)}))}(arguments),n&&!t&&o()),this},remove:function(){return w.each(arguments,(function(e,t){for(var n;(n=w.inArray(t,r,n))>-1;)r.splice(n,1),n<=l&&l--})),this},has:function(e){return e?w.inArray(e,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return a=s=[],r=n="",this},disabled:function(){return!r},lock:function(){return a=s=[],n||t||(r=n=""),this},locked:function(){return!!a},fireWith:function(e,n){return a||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||o()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var e=arguments;return w.Deferred((function(t){w.each(n,(function(n,i){var a=h(e[i[4]])&&e[i[4]];r[i[1]]((function(){var e=a&&a.apply(this,arguments);e&&h(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,a?[e]:arguments)}))})),e=null})).promise()},then:function(t,i,a){var r=0;function s(t,n,i,a){return function(){var l=this,o=arguments,d=function(){var e,d;if(!(t<r)){if((e=i.apply(l,o))===n.promise())throw new TypeError("Thenable self-resolution");d=e&&("object"==typeof e||"function"==typeof e)&&e.then,h(d)?a?d.call(e,s(r,n,W,a),s(r,n,Y,a)):(r++,d.call(e,s(r,n,W,a),s(r,n,Y,a),s(r,n,W,n.notifyWith))):(i!==W&&(l=void 0,o=[e]),(a||n.resolveWith)(l,o))}},c=a?d:function(){try{d()}catch(Ou){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(Ou,c.error),t+1>=r&&(i!==Y&&(l=void 0,o=[Ou]),n.rejectWith(l,o))}};t?c():(w.Deferred.getErrorHook?c.error=w.Deferred.getErrorHook():w.Deferred.getStackHook&&(c.error=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred((function(e){n[0][3].add(s(0,e,h(a)?a:W,e.notifyWith)),n[1][3].add(s(0,e,h(t)?t:W)),n[2][3].add(s(0,e,h(i)?i:Y))})).promise()},promise:function(e){return null!=e?w.extend(e,a):a}},r={};return w.each(n,(function(e,t){var s=t[2],l=t[5];a[t[1]]=s.add,l&&s.add((function(){i=l}),n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),s.add(t[3].fire),r[t[0]]=function(){return r[t[0]+"With"](this===r?void 0:this,arguments),this},r[t[0]+"With"]=s.fireWith})),a.promise(r),t&&t.call(r,r),r},when:function(e){var t=arguments.length,n=t,i=Array(n),r=a.call(arguments),s=w.Deferred(),l=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?a.call(arguments):n,--t||s.resolveWith(i,r)}};if(t<=1&&(K(e,s.done(l(n)).resolve,s.reject,!t),"pending"===s.state()||h(r[n]&&r[n].then)))return s.then();for(;n--;)K(r[n],l(n),s.reject);return s.promise()}});var G=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&G.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout((function(){throw t}))};var $=w.Deferred();function X(){m.removeEventListener("DOMContentLoaded",X),e.removeEventListener("load",X),w.ready()}w.fn.ready=function(e){return $.then(e).catch((function(e){w.readyException(e)})),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||$.resolveWith(m,[w]))}}),w.ready.then=$.then,"complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll?e.setTimeout(w.ready):(m.addEventListener("DOMContentLoaded",X),e.addEventListener("load",X));var J=function(e,t,n,i,a,r,s){var l=0,o=e.length,d=null==n;if("object"===y(n))for(l in a=!0,n)J(e,t,l,n[l],!0,r,s);else if(void 0!==i&&(a=!0,h(i)||(s=!0),d&&(s?(t.call(e,i),t=null):(d=t,t=function(e,t,n){return d.call(w(e),n)})),t))for(;l<o;l++)t(e[l],n,s?i:i.call(e[l],l,t(e[l],n)));return a?e:d?t.call(e):o?t(e[0],n):r},Z=/^-ms-/,ee=/-([a-z])/g;function te(e,t){return t.toUpperCase()}function ne(e){return e.replace(Z,"ms-").replace(ee,te)}var ie=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=w.expando+ae.uid++}ae.uid=1,ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ie(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,a=this.cache(e);if("string"==typeof t)a[ne(t)]=n;else for(i in t)a[ne(i)]=t[i];return a},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][ne(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(ne):(t=ne(t))in i?[t]:t.match(q)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||w.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!w.isEmptyObject(t)}};var re=new ae,se=new ae,le=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,oe=/[A-Z]/g;function de(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(oe,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:le.test(e)?JSON.parse(e):e)}(n)}catch(Ou){}se.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return se.hasData(e)||re.hasData(e)},data:function(e,t,n){return se.access(e,t,n)},removeData:function(e,t){se.remove(e,t)},_data:function(e,t,n){return re.access(e,t,n)},_removeData:function(e,t){re.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,i,a,r=this[0],s=r&&r.attributes;if(void 0===e){if(this.length&&(a=se.get(r),1===r.nodeType&&!re.get(r,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=ne(i.slice(5)),de(r,i,a[i]));re.set(r,"hasDataAttrs",!0)}return a}return"object"==typeof e?this.each((function(){se.set(this,e)})):J(this,(function(t){var n;if(r&&void 0===t)return void 0!==(n=se.get(r,e))||void 0!==(n=de(r,e))?n:void 0;this.each((function(){se.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){se.remove(this,e)}))}}),w.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=re.get(e,t),n&&(!i||Array.isArray(n)?i=re.access(e,t,w.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),i=n.length,a=n.shift(),r=w._queueHooks(e,t);"inprogress"===a&&(a=n.shift(),i--),a&&("fx"===t&&n.unshift("inprogress"),delete r.stop,a.call(e,(function(){w.dequeue(e,t)}),r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return re.get(e,n)||re.access(e,n,{empty:w.Callbacks("once memory").add((function(){re.remove(e,[t+"queue",n])}))})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?w.queue(this[0],e):void 0===t?this:this.each((function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){w.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,a=w.Deferred(),r=this,s=this.length,l=function(){--i||a.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=re.get(r[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(l));return l(),a.promise(t)}});var ce=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ue=new RegExp("^(?:([+-])=|)("+ce+")([a-z%]*)$","i"),pe=["Top","Right","Bottom","Left"],Ae=m.documentElement,he=function(e){return w.contains(e.ownerDocument,e)},fe={composed:!0};Ae.getRootNode&&(he=function(e){return w.contains(e.ownerDocument,e)||e.getRootNode(fe)===e.ownerDocument});var me=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&he(e)&&"none"===w.css(e,"display")};function ve(e,t,n,i){var a,r,s=20,l=i?function(){return i.cur()}:function(){return w.css(e,t,"")},o=l(),d=n&&n[3]||(w.cssNumber[t]?"":"px"),c=e.nodeType&&(w.cssNumber[t]||"px"!==d&&+o)&&ue.exec(w.css(e,t));if(c&&c[3]!==d){for(o/=2,d=d||c[3],c=+o||1;s--;)w.style(e,t,c+d),(1-r)*(1-(r=l()/o||.5))<=0&&(s=0),c/=r;c*=2,w.style(e,t,c+d),n=n||[]}return n&&(c=+c||+o||0,a=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=d,i.start=c,i.end=a)),a}var ge={};function ye(e){var t,n=e.ownerDocument,i=e.nodeName,a=ge[i];return a||(t=n.body.appendChild(n.createElement(i)),a=w.css(t,"display"),t.parentNode.removeChild(t),"none"===a&&(a="block"),ge[i]=a,a)}function xe(e,t){for(var n,i,a=[],r=0,s=e.length;r<s;r++)(i=e[r]).style&&(n=i.style.display,t?("none"===n&&(a[r]=re.get(i,"display")||null,a[r]||(i.style.display="")),""===i.style.display&&me(i)&&(a[r]=ye(i))):"none"!==n&&(a[r]="none",re.set(i,"display",n)));for(r=0;r<s;r++)null!=a[r]&&(e[r].style.display=a[r]);return e}w.fn.extend({show:function(){return xe(this,!0)},hide:function(){return xe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){me(this)?w(this).show():w(this).hide()}))}});var be,we,je=/^(?:checkbox|radio)$/i,Ce=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Se=/^$|^module$|\/(?:java|ecma)script/i;be=m.createDocumentFragment().appendChild(m.createElement("div")),(we=m.createElement("input")).setAttribute("type","radio"),we.setAttribute("checked","checked"),we.setAttribute("name","t"),be.appendChild(we),A.checkClone=be.cloneNode(!0).cloneNode(!0).lastChild.checked,be.innerHTML="<textarea>x</textarea>",A.noCloneChecked=!!be.cloneNode(!0).lastChild.defaultValue,be.innerHTML="<option></option>",A.option=!!be.lastChild;var Ne={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Ie(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&C(e,t)?w.merge([e],n):n}function Fe(e,t){for(var n=0,i=e.length;n<i;n++)re.set(e[n],"globalEval",!t||re.get(t[n],"globalEval"))}Ne.tbody=Ne.tfoot=Ne.colgroup=Ne.caption=Ne.thead,Ne.th=Ne.td,A.option||(Ne.optgroup=Ne.option=[1,"<select multiple='multiple'>","</select>"]);var Be=/<|&#?\w+;/;function Pe(e,t,n,i,a){for(var r,s,l,o,d,c,u=t.createDocumentFragment(),p=[],A=0,h=e.length;A<h;A++)if((r=e[A])||0===r)if("object"===y(r))w.merge(p,r.nodeType?[r]:r);else if(Be.test(r)){for(s=s||u.appendChild(t.createElement("div")),l=(Ce.exec(r)||["",""])[1].toLowerCase(),o=Ne[l]||Ne._default,s.innerHTML=o[1]+w.htmlPrefilter(r)+o[2],c=o[0];c--;)s=s.lastChild;w.merge(p,s.childNodes),(s=u.firstChild).textContent=""}else p.push(t.createTextNode(r));for(u.textContent="",A=0;r=p[A++];)if(i&&w.inArray(r,i)>-1)a&&a.push(r);else if(d=he(r),s=Ie(u.appendChild(r),"script"),d&&Fe(s),n)for(c=0;r=s[c++];)Se.test(r.type||"")&&n.push(r);return u}var ke=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function Ee(){return!1}function De(e,t,n,i,a,r){var s,l;if("object"==typeof t){for(l in"string"!=typeof n&&(i=i||n,n=void 0),t)De(e,l,n,i,t[l],r);return e}if(null==i&&null==a?(a=n,i=n=void 0):null==a&&("string"==typeof n?(a=i,i=void 0):(a=i,i=n,n=void 0)),!1===a)a=Ee;else if(!a)return e;return 1===r&&(s=a,a=function(e){return w().off(e),s.apply(this,arguments)},a.guid=s.guid||(s.guid=w.guid++)),e.each((function(){w.event.add(this,t,a,i,n)}))}function Le(e,t,n){n?(re.set(e,t,!1),w.event.add(e,t,{namespace:!1,handler:function(e){var n,i=re.get(this,t);if(1&e.isTrigger&&this[t]){if(i)(w.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=a.call(arguments),re.set(this,t,i),this[t](),n=re.get(this,t),re.set(this,t,!1),i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else i&&(re.set(this,t,w.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Te)}})):void 0===re.get(e,t)&&w.event.add(e,t,Te)}w.event={global:{},add:function(e,t,n,i,a){var r,s,l,o,d,c,u,p,A,h,f,m=re.get(e);if(ie(e))for(n.handler&&(n=(r=n).handler,a=r.selector),a&&w.find.matchesSelector(Ae,a),n.guid||(n.guid=w.guid++),(o=m.events)||(o=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(t){return void 0!==w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),d=(t=(t||"").match(q)||[""]).length;d--;)A=f=(l=ke.exec(t[d])||[])[1],h=(l[2]||"").split(".").sort(),A&&(u=w.event.special[A]||{},A=(a?u.delegateType:u.bindType)||A,u=w.event.special[A]||{},c=w.extend({type:A,origType:f,data:i,handler:n,guid:n.guid,selector:a,needsContext:a&&w.expr.match.needsContext.test(a),namespace:h.join(".")},r),(p=o[A])||((p=o[A]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,i,h,s)||e.addEventListener&&e.addEventListener(A,s)),u.add&&(u.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),a?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[A]=!0)},remove:function(e,t,n,i,a){var r,s,l,o,d,c,u,p,A,h,f,m=re.hasData(e)&&re.get(e);if(m&&(o=m.events)){for(d=(t=(t||"").match(q)||[""]).length;d--;)if(A=f=(l=ke.exec(t[d])||[])[1],h=(l[2]||"").split(".").sort(),A){for(u=w.event.special[A]||{},p=o[A=(i?u.delegateType:u.bindType)||A]||[],l=l[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)c=p[r],!a&&f!==c.origType||n&&n.guid!==c.guid||l&&!l.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(p.splice(r,1),c.selector&&p.delegateCount--,u.remove&&u.remove.call(e,c));s&&!p.length&&(u.teardown&&!1!==u.teardown.call(e,h,m.handle)||w.removeEvent(e,A,m.handle),delete o[A])}else for(A in o)w.event.remove(e,A+t[d],n,i,!0);w.isEmptyObject(o)&&re.remove(e,"handle events")}},dispatch:function(e){var t,n,i,a,r,s,l=new Array(arguments.length),o=w.event.fix(e),d=(re.get(this,"events")||Object.create(null))[o.type]||[],c=w.event.special[o.type]||{};for(l[0]=o,t=1;t<arguments.length;t++)l[t]=arguments[t];if(o.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,o)){for(s=w.event.handlers.call(this,o,d),t=0;(a=s[t++])&&!o.isPropagationStopped();)for(o.currentTarget=a.elem,n=0;(r=a.handlers[n++])&&!o.isImmediatePropagationStopped();)o.rnamespace&&!1!==r.namespace&&!o.rnamespace.test(r.namespace)||(o.handleObj=r,o.data=r.data,void 0!==(i=((w.event.special[r.origType]||{}).handle||r.handler).apply(a.elem,l))&&!1===(o.result=i)&&(o.preventDefault(),o.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,o),o.result}},handlers:function(e,t){var n,i,a,r,s,l=[],o=t.delegateCount,d=e.target;if(o&&d.nodeType&&!("click"===e.type&&e.button>=1))for(;d!==this;d=d.parentNode||this)if(1===d.nodeType&&("click"!==e.type||!0!==d.disabled)){for(r=[],s={},n=0;n<o;n++)void 0===s[a=(i=t[n]).selector+" "]&&(s[a]=i.needsContext?w(a,this).index(d)>-1:w.find(a,this,null,[d]).length),s[a]&&r.push(i);r.length&&l.push({elem:d,handlers:r})}return d=this,o<t.length&&l.push({elem:d,handlers:t.slice(o)}),l},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:h(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return je.test(t.type)&&t.click&&C(t,"input")&&Le(t,"click",!0),!1},trigger:function(e){var t=this||e;return je.test(t.type)&&t.click&&C(t,"input")&&Le(t,"click"),!0},_default:function(e){var t=e.target;return je.test(t.type)&&t.click&&C(t,"input")&&re.get(t,"click")||C(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Te:Ee,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Te,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Te,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Te,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},w.event.addProp),w.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(m.documentMode){var n=re.get(this,"handle"),i=w.event.fix(e);i.type="focusin"===e.type?"focus":"blur",i.isSimulated=!0,n(e),i.target===i.currentTarget&&n(i)}else w.event.simulate(t,e.target,w.event.fix(e))}w.event.special[e]={setup:function(){var i;if(Le(this,e,!0),!m.documentMode)return!1;(i=re.get(this,t))||this.addEventListener(t,n),re.set(this,t,(i||0)+1)},trigger:function(){return Le(this,e),!0},teardown:function(){var e;if(!m.documentMode)return!1;(e=re.get(this,t)-1)?re.set(this,t,e):(this.removeEventListener(t,n),re.remove(this,t))},_default:function(t){return re.get(t.target,e)},delegateType:t},w.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,a=m.documentMode?this:i,r=re.get(a,t);r||(m.documentMode?this.addEventListener(t,n):i.addEventListener(e,n,!0)),re.set(a,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,a=m.documentMode?this:i,r=re.get(a,t)-1;r?re.set(a,t,r):(m.documentMode?this.removeEventListener(t,n):i.removeEventListener(e,n,!0),re.remove(a,t))}}})),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,a=e.handleObj;return i&&(i===this||w.contains(this,i))||(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}})),w.fn.extend({on:function(e,t,n,i){return De(this,e,t,n,i)},one:function(e,t,n,i){return De(this,e,t,n,i,1)},off:function(e,t,n){var i,a;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,w(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(a in e)this.off(a,t,e[a]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each((function(){w.event.remove(this,e,n,t)}))}});var Ue=/<script|<style|<link/i,_e=/checked\s*(?:[^=]|=\s*.checked.)/i,Oe=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Me(e,t){return C(e,"table")&&C(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function Re(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function He(e,t){var n,i,a,r,s,l;if(1===t.nodeType){if(re.hasData(e)&&(l=re.get(e).events))for(a in re.remove(t,"handle events"),l)for(n=0,i=l[a].length;n<i;n++)w.event.add(t,a,l[a][n]);se.hasData(e)&&(r=se.access(e),s=w.extend({},r),se.set(t,s))}}function Ve(e,t,n,i){t=r(t);var a,s,l,o,d,c,u=0,p=e.length,f=p-1,m=t[0],v=h(m);if(v||p>1&&"string"==typeof m&&!A.checkClone&&_e.test(m))return e.each((function(a){var r=e.eq(a);v&&(t[0]=m.call(this,a,r.html())),Ve(r,t,n,i)}));if(p&&(s=(a=Pe(t,e[0].ownerDocument,!1,e,i)).firstChild,1===a.childNodes.length&&(a=s),s||i)){for(o=(l=w.map(Ie(a,"script"),Re)).length;u<p;u++)d=a,u!==f&&(d=w.clone(d,!0,!0),o&&w.merge(l,Ie(d,"script"))),n.call(e[u],d,u);if(o)for(c=l[l.length-1].ownerDocument,w.map(l,Qe),u=0;u<o;u++)d=l[u],Se.test(d.type||"")&&!re.access(d,"globalEval")&&w.contains(c,d)&&(d.src&&"module"!==(d.type||"").toLowerCase()?w._evalUrl&&!d.noModule&&w._evalUrl(d.src,{nonce:d.nonce||d.getAttribute("nonce")},c):g(d.textContent.replace(Oe,""),d,c))}return e}function ze(e,t,n){for(var i,a=t?w.filter(t,e):e,r=0;null!=(i=a[r]);r++)n||1!==i.nodeType||w.cleanData(Ie(i)),i.parentNode&&(n&&he(i)&&Fe(Ie(i,"script")),i.parentNode.removeChild(i));return e}w.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,a,r,s,l,o,d,c=e.cloneNode(!0),u=he(e);if(!(A.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(s=Ie(c),i=0,a=(r=Ie(e)).length;i<a;i++)l=r[i],o=s[i],d=void 0,"input"===(d=o.nodeName.toLowerCase())&&je.test(l.type)?o.checked=l.checked:"input"!==d&&"textarea"!==d||(o.defaultValue=l.defaultValue);if(t)if(n)for(r=r||Ie(e),s=s||Ie(c),i=0,a=r.length;i<a;i++)He(r[i],s[i]);else He(e,c);return(s=Ie(c,"script")).length>0&&Fe(s,!u&&Ie(e,"script")),c},cleanData:function(e){for(var t,n,i,a=w.event.special,r=0;void 0!==(n=e[r]);r++)if(ie(n)){if(t=n[re.expando]){if(t.events)for(i in t.events)a[i]?w.event.remove(n,i):w.removeEvent(n,i,t.handle);n[re.expando]=void 0}n[se.expando]&&(n[se.expando]=void 0)}}}),w.fn.extend({detach:function(e){return ze(this,e,!0)},remove:function(e){return ze(this,e)},text:function(e){return J(this,(function(e){return void 0===e?w.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ve(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)}))},prepend:function(){return Ve(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ve(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ve(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(Ie(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return w.clone(this,e,t)}))},html:function(e){return J(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ue.test(e)&&!Ne[(Ce.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(Ie(t,!1)),t.innerHTML=e);t=0}catch(Ou){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ve(this,arguments,(function(t){var n=this.parentNode;w.inArray(this,e)<0&&(w.cleanData(Ie(this)),n&&n.replaceChild(t,this))}),e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){w.fn[e]=function(e){for(var n,i=[],a=w(e),r=a.length-1,l=0;l<=r;l++)n=l===r?this:this.clone(!0),w(a[l])[t](n),s.apply(i,n.get());return this.pushStack(i)}}));var qe=new RegExp("^("+ce+")(?!px)[a-z%]+$","i"),We=/^--/,Ye=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Ke=function(e,t,n){var i,a,r={};for(a in t)r[a]=e.style[a],e.style[a]=t[a];for(a in i=n.call(e),t)e.style[a]=r[a];return i},Ge=new RegExp(pe.join("|"),"i");function $e(e,t,n){var i,a,r,s,l=We.test(t),o=e.style;return(n=n||Ye(e))&&(s=n.getPropertyValue(t)||n[t],l&&s&&(s=s.replace(B,"$1")||void 0),""!==s||he(e)||(s=w.style(e,t)),!A.pixelBoxStyles()&&qe.test(s)&&Ge.test(t)&&(i=o.width,a=o.minWidth,r=o.maxWidth,o.minWidth=o.maxWidth=o.width=s,s=n.width,o.width=i,o.minWidth=a,o.maxWidth=r)),void 0!==s?s+"":s}function Xe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){d.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ae.appendChild(d).appendChild(c);var t=e.getComputedStyle(c);i="1%"!==t.top,o=12===n(t.marginLeft),c.style.right="60%",s=36===n(t.right),a=36===n(t.width),c.style.position="absolute",r=12===n(c.offsetWidth/3),Ae.removeChild(d),c=null}}function n(e){return Math.round(parseFloat(e))}var i,a,r,s,l,o,d=m.createElement("div"),c=m.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",A.clearCloneStyle="content-box"===c.style.backgroundClip,w.extend(A,{boxSizingReliable:function(){return t(),a},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),o},scrollboxSize:function(){return t(),r},reliableTrDimensions:function(){var t,n,i,a;return null==l&&(t=m.createElement("table"),n=m.createElement("tr"),i=m.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="box-sizing:content-box;border:1px solid",n.style.height="1px",i.style.height="9px",i.style.display="block",Ae.appendChild(t).appendChild(n).appendChild(i),a=e.getComputedStyle(n),l=parseInt(a.height,10)+parseInt(a.borderTopWidth,10)+parseInt(a.borderBottomWidth,10)===n.offsetHeight,Ae.removeChild(t)),l}}))}();var Je=["Webkit","Moz","ms"],Ze=m.createElement("div").style,et={};function tt(e){var t=w.cssProps[e]||et[e];return t||(e in Ze?e:et[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Je.length;n--;)if((e=Je[n]+t)in Ze)return e}(e)||e)}var nt=/^(none|table(?!-c[ea]).+)/,it={position:"absolute",visibility:"hidden",display:"block"},at={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var i=ue.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function st(e,t,n,i,a,r){var s="width"===t?1:0,l=0,o=0,d=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(d+=w.css(e,n+pe[s],!0,a)),i?("content"===n&&(o-=w.css(e,"padding"+pe[s],!0,a)),"margin"!==n&&(o-=w.css(e,"border"+pe[s]+"Width",!0,a))):(o+=w.css(e,"padding"+pe[s],!0,a),"padding"!==n?o+=w.css(e,"border"+pe[s]+"Width",!0,a):l+=w.css(e,"border"+pe[s]+"Width",!0,a));return!i&&r>=0&&(o+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-o-l-.5))||0),o+d}function lt(e,t,n){var i=Ye(e),a=(!A.boxSizingReliable()||n)&&"border-box"===w.css(e,"boxSizing",!1,i),r=a,s=$e(e,t,i),l="offset"+t[0].toUpperCase()+t.slice(1);if(qe.test(s)){if(!n)return s;s="auto"}return(!A.boxSizingReliable()&&a||!A.reliableTrDimensions()&&C(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===w.css(e,"display",!1,i))&&e.getClientRects().length&&(a="border-box"===w.css(e,"boxSizing",!1,i),(r=l in e)&&(s=e[l])),(s=parseFloat(s)||0)+st(e,t,n||(a?"border":"content"),r,i,s)+"px"}function ot(e,t,n,i,a){return new ot.prototype.init(e,t,n,i,a)}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$e(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,r,s,l=ne(t),o=We.test(t),d=e.style;if(o||(t=tt(l)),s=w.cssHooks[t]||w.cssHooks[l],void 0===n)return s&&"get"in s&&void 0!==(a=s.get(e,!1,i))?a:d[t];"string"===(r=typeof n)&&(a=ue.exec(n))&&a[1]&&(n=ve(e,t,a),r="number"),null!=n&&n==n&&("number"!==r||o||(n+=a&&a[3]||(w.cssNumber[l]?"":"px")),A.clearCloneStyle||""!==n||0!==t.indexOf("background")||(d[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(o?d.setProperty(t,n):d[t]=n))}},css:function(e,t,n,i){var a,r,s,l=ne(t);return We.test(t)||(t=tt(l)),(s=w.cssHooks[t]||w.cssHooks[l])&&"get"in s&&(a=s.get(e,!0,n)),void 0===a&&(a=$e(e,t,i)),"normal"===a&&t in at&&(a=at[t]),""===n||n?(r=parseFloat(a),!0===n||isFinite(r)?r||0:a):a}}),w.each(["height","width"],(function(e,t){w.cssHooks[t]={get:function(e,n,i){if(n)return!nt.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?lt(e,t,i):Ke(e,it,(function(){return lt(e,t,i)}))},set:function(e,n,i){var a,r=Ye(e),s=!A.scrollboxSize()&&"absolute"===r.position,l=(s||i)&&"border-box"===w.css(e,"boxSizing",!1,r),o=i?st(e,t,i,l,r):0;return l&&s&&(o-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(r[t])-st(e,t,"border",!1,r)-.5)),o&&(a=ue.exec(n))&&"px"!==(a[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),rt(0,n,o)}}})),w.cssHooks.marginLeft=Xe(A.reliableMarginLeft,(function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-Ke(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),w.each({margin:"",padding:"",border:"Width"},(function(e,t){w.cssHooks[e+t]={expand:function(n){for(var i=0,a={},r="string"==typeof n?n.split(" "):[n];i<4;i++)a[e+pe[i]+t]=r[i]||r[i-2]||r[0];return a}},"margin"!==e&&(w.cssHooks[e+t].set=rt)})),w.fn.extend({css:function(e,t){return J(this,(function(e,t,n){var i,a,r={},s=0;if(Array.isArray(t)){for(i=Ye(e),a=t.length;s<a;s++)r[t[s]]=w.css(e,t[s],!1,i);return r}return void 0!==n?w.style(e,t,n):w.css(e,t)}),e,t,arguments.length>1)}}),w.Tween=ot,ot.prototype={constructor:ot,init:function(e,t,n,i,a,r){this.elem=e,this.prop=n,this.easing=a||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(w.cssNumber[n]?"":"px")},cur:function(){var e=ot.propHooks[this.prop];return e&&e.get?e.get(this):ot.propHooks._default.get(this)},run:function(e){var t,n=ot.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ot.propHooks._default.set(this),this}},ot.prototype.init.prototype=ot.prototype,ot.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||!w.cssHooks[e.prop]&&null==e.elem.style[tt(e.prop)]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},ot.propHooks.scrollTop=ot.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=ot.prototype.init,w.fx.step={};var dt,ct,ut=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function At(){ct&&(!1===m.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(At):e.setTimeout(At,w.fx.interval),w.fx.tick())}function ht(){return e.setTimeout((function(){dt=void 0})),dt=Date.now()}function ft(e,t){var n,i=0,a={height:e};for(t=t?1:0;i<4;i+=2-t)a["margin"+(n=pe[i])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function mt(e,t,n){for(var i,a=(vt.tweeners[t]||[]).concat(vt.tweeners["*"]),r=0,s=a.length;r<s;r++)if(i=a[r].call(n,t,e))return i}function vt(e,t,n){var i,a,r=0,s=vt.prefilters.length,l=w.Deferred().always((function(){delete o.elem})),o=function(){if(a)return!1;for(var t=dt||ht(),n=Math.max(0,d.startTime+d.duration-t),i=1-(n/d.duration||0),r=0,s=d.tweens.length;r<s;r++)d.tweens[r].run(i);return l.notifyWith(e,[d,i,n]),i<1&&s?n:(s||l.notifyWith(e,[d,1,0]),l.resolveWith(e,[d]),!1)},d=l.promise({elem:e,props:w.extend({},t),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:t,originalOptions:n,startTime:dt||ht(),duration:n.duration,tweens:[],createTween:function(t,n){var i=w.Tween(e,d.opts,t,n,d.opts.specialEasing[t]||d.opts.easing);return d.tweens.push(i),i},stop:function(t){var n=0,i=t?d.tweens.length:0;if(a)return this;for(a=!0;n<i;n++)d.tweens[n].run(1);return t?(l.notifyWith(e,[d,1,0]),l.resolveWith(e,[d,t])):l.rejectWith(e,[d,t]),this}}),c=d.props;for(!function(e,t){var n,i,a,r,s;for(n in e)if(a=t[i=ne(n)],r=e[n],Array.isArray(r)&&(a=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),(s=w.cssHooks[i])&&"expand"in s)for(n in r=s.expand(r),delete e[i],r)n in e||(e[n]=r[n],t[n]=a);else t[i]=a}(c,d.opts.specialEasing);r<s;r++)if(i=vt.prefilters[r].call(d,e,c,d.opts))return h(i.stop)&&(w._queueHooks(d.elem,d.opts.queue).stop=i.stop.bind(i)),i;return w.map(c,mt,d),h(d.opts.start)&&d.opts.start.call(e,d),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always),w.fx.timer(w.extend(o,{elem:e,anim:d,queue:d.opts.queue})),d}w.Animation=w.extend(vt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ve(n.elem,e,ue.exec(t),n),n}]},tweener:function(e,t){h(e)?(t=e,e=["*"]):e=e.match(q);for(var n,i=0,a=e.length;i<a;i++)n=e[i],vt.tweeners[n]=vt.tweeners[n]||[],vt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,a,r,s,l,o,d,c,u="width"in t||"height"in t,p=this,A={},h=e.style,f=e.nodeType&&me(e),m=re.get(e,"fxshow");for(i in n.queue||(null==(s=w._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,p.always((function(){p.always((function(){s.unqueued--,w.queue(e,"fx").length||s.empty.fire()}))}))),t)if(a=t[i],ut.test(a)){if(delete t[i],r=r||"toggle"===a,a===(f?"hide":"show")){if("show"!==a||!m||void 0===m[i])continue;f=!0}A[i]=m&&m[i]||w.style(e,i)}if((o=!w.isEmptyObject(t))||!w.isEmptyObject(A))for(i in u&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(d=m&&m.display)&&(d=re.get(e,"display")),"none"===(c=w.css(e,"display"))&&(d?c=d:(xe([e],!0),d=e.style.display||d,c=w.css(e,"display"),xe([e]))),("inline"===c||"inline-block"===c&&null!=d)&&"none"===w.css(e,"float")&&(o||(p.done((function(){h.display=d})),null==d&&(c=h.display,d="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),o=!1,A)o||(m?"hidden"in m&&(f=m.hidden):m=re.access(e,"fxshow",{display:d}),r&&(m.hidden=!f),f&&xe([e],!0),p.done((function(){for(i in f||xe([e]),re.remove(e,"fxshow"),A)w.style(e,i,A[i])}))),o=mt(f?m[i]:0,i,p),i in m||(m[i]=o.start,f&&(o.end=o.start,o.start=0))}],prefilter:function(e,t){t?vt.prefilters.unshift(e):vt.prefilters.push(e)}}),w.speed=function(e,t,n){var i=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||h(e)&&e,duration:e,easing:n&&t||t&&!h(t)&&t};return w.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in w.fx.speeds?i.duration=w.fx.speeds[i.duration]:i.duration=w.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){h(i.old)&&i.old.call(this),i.queue&&w.dequeue(this,i.queue)},i},w.fn.extend({fadeTo:function(e,t,n,i){return this.filter(me).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var a=w.isEmptyObject(e),r=w.speed(t,n,i),s=function(){var t=vt(this,w.extend({},e),r);(a||re.get(this,"finish"))&&t.stop(!0)};return s.finish=s,a||!1===r.queue?this.each(s):this.queue(r.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,a=null!=e&&e+"queueHooks",r=w.timers,s=re.get(this);if(a)s[a]&&s[a].stop&&i(s[a]);else for(a in s)s[a]&&s[a].stop&&pt.test(a)&&i(s[a]);for(a=r.length;a--;)r[a].elem!==this||null!=e&&r[a].queue!==e||(r[a].anim.stop(n),t=!1,r.splice(a,1));!t&&n||w.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=re.get(this),i=n[e+"queue"],a=n[e+"queueHooks"],r=w.timers,s=i?i.length:0;for(n.finish=!0,w.queue(this,e,[]),a&&a.stop&&a.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish}))}}),w.each(["toggle","show","hide"],(function(e,t){var n=w.fn[t];w.fn[t]=function(e,i,a){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ft(t,!0),e,i,a)}})),w.each({slideDown:ft("show"),slideUp:ft("hide"),slideToggle:ft("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){w.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}})),w.timers=[],w.fx.tick=function(){var e,t=0,n=w.timers;for(dt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||w.fx.stop(),dt=void 0},w.fx.timer=function(e){w.timers.push(e),w.fx.start()},w.fx.interval=13,w.fx.start=function(){ct||(ct=!0,At())},w.fx.stop=function(){ct=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(t,n){return t=w.fx&&w.fx.speeds[t]||t,n=n||"fx",this.queue(n,(function(n,i){var a=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(a)}}))},function(){var e=m.createElement("input"),t=m.createElement("select").appendChild(m.createElement("option"));e.type="checkbox",A.checkOn=""!==e.value,A.optSelected=t.selected,(e=m.createElement("input")).value="t",e.type="radio",A.radioValue="t"===e.value}();var gt,yt=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return J(this,w.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){w.removeAttr(this,e)}))}}),w.extend({attr:function(e,t,n){var i,a,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?w.prop(e,t,n):(1===r&&w.isXMLDoc(e)||(a=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?gt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):a&&"set"in a&&void 0!==(i=a.set(e,n,t))?i:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(i=a.get(e,t))?i:null==(i=w.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!A.radioValue&&"radio"===t&&C(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,a=t&&t.match(q);if(a&&1===e.nodeType)for(;n=a[i++];)e.removeAttribute(n)}}),gt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=yt[t]||w.find.attr;yt[t]=function(e,t,i){var a,r,s=t.toLowerCase();return i||(r=yt[s],yt[s]=a,a=null!=n(e,t,i)?s:null,yt[s]=r),a}}));var xt=/^(?:input|select|textarea|button)$/i,bt=/^(?:a|area)$/i;function wt(e){return(e.match(q)||[]).join(" ")}function jt(e){return e.getAttribute&&e.getAttribute("class")||""}function Ct(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(q)||[]}w.fn.extend({prop:function(e,t){return J(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[w.propFix[e]||e]}))}}),w.extend({prop:function(e,t,n){var i,a,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&w.isXMLDoc(e)||(t=w.propFix[t]||t,a=w.propHooks[t]),void 0!==n?a&&"set"in a&&void 0!==(i=a.set(e,n,t))?i:e[t]=n:a&&"get"in a&&null!==(i=a.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):xt.test(e.nodeName)||bt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),A.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){w.propFix[this.toLowerCase()]=this})),w.fn.extend({addClass:function(e){var t,n,i,a,r,s;return h(e)?this.each((function(t){w(this).addClass(e.call(this,t,jt(this)))})):(t=Ct(e)).length?this.each((function(){if(i=jt(this),n=1===this.nodeType&&" "+wt(i)+" "){for(r=0;r<t.length;r++)a=t[r],n.indexOf(" "+a+" ")<0&&(n+=a+" ");s=wt(n),i!==s&&this.setAttribute("class",s)}})):this},removeClass:function(e){var t,n,i,a,r,s;return h(e)?this.each((function(t){w(this).removeClass(e.call(this,t,jt(this)))})):arguments.length?(t=Ct(e)).length?this.each((function(){if(i=jt(this),n=1===this.nodeType&&" "+wt(i)+" "){for(r=0;r<t.length;r++)for(a=t[r];n.indexOf(" "+a+" ")>-1;)n=n.replace(" "+a+" "," ");s=wt(n),i!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,i,a,r,s=typeof e,l="string"===s||Array.isArray(e);return h(e)?this.each((function(n){w(this).toggleClass(e.call(this,n,jt(this),t),t)})):"boolean"==typeof t&&l?t?this.addClass(e):this.removeClass(e):(n=Ct(e),this.each((function(){if(l)for(r=w(this),a=0;a<n.length;a++)i=n[a],r.hasClass(i)?r.removeClass(i):r.addClass(i);else void 0!==e&&"boolean"!==s||((i=jt(this))&&re.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===e?"":re.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+wt(jt(n))+" ").indexOf(t)>-1)return!0;return!1}});var St=/\r/g;w.fn.extend({val:function(e){var t,n,i,a=this[0];return arguments.length?(i=h(e),this.each((function(n){var a;1===this.nodeType&&(null==(a=i?e.call(this,n,w(this).val()):e)?a="":"number"==typeof a?a+="":Array.isArray(a)&&(a=w.map(a,(function(e){return null==e?"":e+""}))),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))}))):a?(t=w.valHooks[a.type]||w.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(a,"value"))?n:"string"==typeof(n=a.value)?n.replace(St,""):null==n?"":n:void 0}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:wt(w.text(e))}},select:{get:function(e){var t,n,i,a=e.options,r=e.selectedIndex,s="select-one"===e.type,l=s?null:[],o=s?r+1:a.length;for(i=r<0?o:s?r:0;i<o;i++)if(((n=a[i]).selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!C(n.parentNode,"optgroup"))){if(t=w(n).val(),s)return t;l.push(t)}return l},set:function(e,t){for(var n,i,a=e.options,r=w.makeArray(t),s=a.length;s--;)((i=a[s]).selected=w.inArray(w.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),w.each(["radio","checkbox"],(function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},A.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Nt=e.location,It={guid:Date.now()},Ft=/\?/;w.parseXML=function(t){var n,i;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(Ou){}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||w.error("Invalid XML: "+(i?w.map(i.childNodes,(function(e){return e.textContent})).join("\n"):t)),n};var Bt=/^(?:focusinfocus|focusoutblur)$/,Pt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,i,a){var r,s,l,o,d,u,p,A,v=[i||m],g=c.call(t,"type")?t.type:t,y=c.call(t,"namespace")?t.namespace.split("."):[];if(s=A=l=i=i||m,3!==i.nodeType&&8!==i.nodeType&&!Bt.test(g+w.event.triggered)&&(g.indexOf(".")>-1&&(y=g.split("."),g=y.shift(),y.sort()),d=g.indexOf(":")<0&&"on"+g,(t=t[w.expando]?t:new w.Event(g,"object"==typeof t&&t)).isTrigger=a?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:w.makeArray(n,[t]),p=w.event.special[g]||{},a||!p.trigger||!1!==p.trigger.apply(i,n))){if(!a&&!p.noBubble&&!f(i)){for(o=p.delegateType||g,Bt.test(o+g)||(s=s.parentNode);s;s=s.parentNode)v.push(s),l=s;l===(i.ownerDocument||m)&&v.push(l.defaultView||l.parentWindow||e)}for(r=0;(s=v[r++])&&!t.isPropagationStopped();)A=s,t.type=r>1?o:p.bindType||g,(u=(re.get(s,"events")||Object.create(null))[t.type]&&re.get(s,"handle"))&&u.apply(s,n),(u=d&&s[d])&&u.apply&&ie(s)&&(t.result=u.apply(s,n),!1===t.result&&t.preventDefault());return t.type=g,a||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(v.pop(),n)||!ie(i)||d&&h(i[g])&&!f(i)&&((l=i[d])&&(i[d]=null),w.event.triggered=g,t.isPropagationStopped()&&A.addEventListener(g,Pt),i[g](),t.isPropagationStopped()&&A.removeEventListener(g,Pt),w.event.triggered=void 0,l&&(i[d]=l)),t.result}},simulate:function(e,t,n){var i=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(i,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each((function(){w.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}});var kt=/\[\]$/,Tt=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;function Lt(e,t,n,i){var a;if(Array.isArray(t))w.each(t,(function(t,a){n||kt.test(e)?i(e,a):Lt(e+"["+("object"==typeof a&&null!=a?t:"")+"]",a,n,i)}));else if(n||"object"!==y(t))i(e,t);else for(a in t)Lt(e+"["+a+"]",t[a],n,i)}w.param=function(e,t){var n,i=[],a=function(e,t){var n=h(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,(function(){a(this.name,this.value)}));else for(n in e)Lt(n,e[n],t,a);return i.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&Dt.test(this.nodeName)&&!Et.test(e)&&(this.checked||!je.test(e))})).map((function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,(function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}})):{name:t.name,value:n.replace(Tt,"\r\n")}})).get()}});var Ut=/%20/g,_t=/#.*$/,Ot=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,Qt=/^\/\//,Ht={},Vt={},zt="*/".concat("*"),qt=m.createElement("a");function Wt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,a=0,r=t.toLowerCase().match(q)||[];if(h(n))for(;i=r[a++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Yt(e,t,n,i){var a={},r=e===Vt;function s(l){var o;return a[l]=!0,w.each(e[l]||[],(function(e,l){var d=l(t,n,i);return"string"!=typeof d||r||a[d]?r?!(o=d):void 0:(t.dataTypes.unshift(d),s(d),!1)})),o}return s(t.dataTypes[0])||!a["*"]&&s("*")}function Kt(e,t){var n,i,a=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((a[n]?e:i||(i={}))[n]=t[n]);return i&&w.extend(!0,e,i),e}qt.href=Nt.href,w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Nt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Nt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Kt(Kt(e,w.ajaxSettings),t):Kt(w.ajaxSettings,e)},ajaxPrefilter:Wt(Ht),ajaxTransport:Wt(Vt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,a,r,s,l,o,d,c,u,p,A=w.ajaxSetup({},n),h=A.context||A,f=A.context&&(h.nodeType||h.jquery)?w(h):w.event,v=w.Deferred(),g=w.Callbacks("once memory"),y=A.statusCode||{},x={},b={},j="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(d){if(!s)for(s={};t=Mt.exec(r);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return d?r:null},setRequestHeader:function(e,t){return null==d&&(e=b[e.toLowerCase()]=b[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==d&&(A.mimeType=e),this},statusCode:function(e){var t;if(e)if(d)C.always(e[C.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||j;return i&&i.abort(t),S(0,t),this}};if(v.promise(C),A.url=((t||A.url||Nt.href)+"").replace(Qt,Nt.protocol+"//"),A.type=n.method||n.type||A.method||A.type,A.dataTypes=(A.dataType||"*").toLowerCase().match(q)||[""],null==A.crossDomain){o=m.createElement("a");try{o.href=A.url,o.href=o.href,A.crossDomain=qt.protocol+"//"+qt.host!=o.protocol+"//"+o.host}catch(Ou){A.crossDomain=!0}}if(A.data&&A.processData&&"string"!=typeof A.data&&(A.data=w.param(A.data,A.traditional)),Yt(Ht,A,n,C),d)return C;for(u in(c=w.event&&A.global)&&0===w.active++&&w.event.trigger("ajaxStart"),A.type=A.type.toUpperCase(),A.hasContent=!Rt.test(A.type),a=A.url.replace(_t,""),A.hasContent?A.data&&A.processData&&0===(A.contentType||"").indexOf("application/x-www-form-urlencoded")&&(A.data=A.data.replace(Ut,"+")):(p=A.url.slice(a.length),A.data&&(A.processData||"string"==typeof A.data)&&(a+=(Ft.test(a)?"&":"?")+A.data,delete A.data),!1===A.cache&&(a=a.replace(Ot,"$1"),p=(Ft.test(a)?"&":"?")+"_="+It.guid+++p),A.url=a+p),A.ifModified&&(w.lastModified[a]&&C.setRequestHeader("If-Modified-Since",w.lastModified[a]),w.etag[a]&&C.setRequestHeader("If-None-Match",w.etag[a])),(A.data&&A.hasContent&&!1!==A.contentType||n.contentType)&&C.setRequestHeader("Content-Type",A.contentType),C.setRequestHeader("Accept",A.dataTypes[0]&&A.accepts[A.dataTypes[0]]?A.accepts[A.dataTypes[0]]+("*"!==A.dataTypes[0]?", "+zt+"; q=0.01":""):A.accepts["*"]),A.headers)C.setRequestHeader(u,A.headers[u]);if(A.beforeSend&&(!1===A.beforeSend.call(h,C,A)||d))return C.abort();if(j="abort",g.add(A.complete),C.done(A.success),C.fail(A.error),i=Yt(Vt,A,n,C)){if(C.readyState=1,c&&f.trigger("ajaxSend",[C,A]),d)return C;A.async&&A.timeout>0&&(l=e.setTimeout((function(){C.abort("timeout")}),A.timeout));try{d=!1,i.send(x,S)}catch(Ou){if(d)throw Ou;S(-1,Ou)}}else S(-1,"No Transport");function S(t,n,s,o){var u,p,m,x,b,j=n;d||(d=!0,l&&e.clearTimeout(l),i=void 0,r=o||"",C.readyState=t>0?4:0,u=t>=200&&t<300||304===t,s&&(x=function(e,t,n){for(var i,a,r,s,l=e.contents,o=e.dataTypes;"*"===o[0];)o.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in l)if(l[a]&&l[a].test(i)){o.unshift(a);break}if(o[0]in n)r=o[0];else{for(a in n){if(!o[0]||e.converters[a+" "+o[0]]){r=a;break}s||(s=a)}r=r||s}if(r)return r!==o[0]&&o.unshift(r),n[r]}(A,C,s)),!u&&w.inArray("script",A.dataTypes)>-1&&w.inArray("json",A.dataTypes)<0&&(A.converters["text script"]=function(){}),x=function(e,t,n,i){var a,r,s,l,o,d={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)d[s.toLowerCase()]=e.converters[s];for(r=c.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!o&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),o=r,r=c.shift())if("*"===r)r=o;else if("*"!==o&&o!==r){if(!(s=d[o+" "+r]||d["* "+r]))for(a in d)if((l=a.split(" "))[1]===r&&(s=d[o+" "+l[0]]||d["* "+l[0]])){!0===s?s=d[a]:!0!==d[a]&&(r=l[0],c.unshift(l[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(Ou){return{state:"parsererror",error:s?Ou:"No conversion from "+o+" to "+r}}}return{state:"success",data:t}}(A,x,C,u),u?(A.ifModified&&((b=C.getResponseHeader("Last-Modified"))&&(w.lastModified[a]=b),(b=C.getResponseHeader("etag"))&&(w.etag[a]=b)),204===t||"HEAD"===A.type?j="nocontent":304===t?j="notmodified":(j=x.state,p=x.data,u=!(m=x.error))):(m=j,!t&&j||(j="error",t<0&&(t=0))),C.status=t,C.statusText=(n||j)+"",u?v.resolveWith(h,[p,j,C]):v.rejectWith(h,[C,j,m]),C.statusCode(y),y=void 0,c&&f.trigger(u?"ajaxSuccess":"ajaxError",[C,A,u?p:m]),g.fireWith(h,[C,j]),c&&(f.trigger("ajaxComplete",[C,A]),--w.active||w.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],(function(e,t){w[t]=function(e,n,i,a){return h(n)&&(a=a||i,i=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:a,data:n,success:i},w.isPlainObject(e)&&e))}})),w.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),w._evalUrl=function(e,t,n){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){w.globalEval(e,t,n)}})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(h(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return h(e)?this.each((function(t){w(this).wrapInner(e.call(this,t))})):this.each((function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=h(e);return this.each((function(n){w(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){w(this).replaceWith(this.childNodes)})),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(Ou){}};var Gt={0:200,1223:204},$t=w.ajaxSettings.xhr();A.cors=!!$t&&"withCredentials"in $t,A.ajax=$t=!!$t,w.ajaxTransport((function(t){var n,i;if(A.cors||$t&&!t.crossDomain)return{send:function(a,r){var s,l=t.xhr();if(l.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)l[s]=t.xhrFields[s];for(s in t.mimeType&&l.overrideMimeType&&l.overrideMimeType(t.mimeType),t.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest"),a)l.setRequestHeader(s,a[s]);n=function(e){return function(){n&&(n=i=l.onload=l.onerror=l.onabort=l.ontimeout=l.onreadystatechange=null,"abort"===e?l.abort():"error"===e?"number"!=typeof l.status?r(0,"error"):r(l.status,l.statusText):r(Gt[l.status]||l.status,l.statusText,"text"!==(l.responseType||"text")||"string"!=typeof l.responseText?{binary:l.response}:{text:l.responseText},l.getAllResponseHeaders()))}},l.onload=n(),i=l.onerror=l.ontimeout=n("error"),void 0!==l.onabort?l.onabort=i:l.onreadystatechange=function(){4===l.readyState&&e.setTimeout((function(){n&&i()}))},n=n("abort");try{l.send(t.hasContent&&t.data||null)}catch(Ou){if(n)throw Ou}},abort:function(){n&&n()}}})),w.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),w.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,a){t=w("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&a("error"===e.type?404:200,e.type)}),m.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Xt,Jt=[],Zt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Jt.pop()||w.expando+"_"+It.guid++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",(function(t,n,i){var a,r,s,l=!1!==t.jsonp&&(Zt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(t.data)&&"data");if(l||"jsonp"===t.dataTypes[0])return a=t.jsonpCallback=h(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,l?t[l]=t[l].replace(Zt,"$1"+a):!1!==t.jsonp&&(t.url+=(Ft.test(t.url)?"&":"?")+t.jsonp+"="+a),t.converters["script json"]=function(){return s||w.error(a+" was not called"),s[0]},t.dataTypes[0]="json",r=e[a],e[a]=function(){s=arguments},i.always((function(){void 0===r?w(e).removeProp(a):e[a]=r,t[a]&&(t.jsonpCallback=n.jsonpCallback,Jt.push(a)),s&&h(r)&&r(s[0]),s=r=void 0})),"script"})),A.createHTMLDocument=((Xt=m.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Xt.childNodes.length),w.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(A.createHTMLDocument?((i=(t=m.implementation.createHTMLDocument("")).createElement("base")).href=m.location.href,t.head.appendChild(i)):t=m),r=!n&&[],(a=_.exec(e))?[t.createElement(a[1])]:(a=Pe([e],t,r),r&&r.length&&w(r).remove(),w.merge([],a.childNodes)));var i,a,r},w.fn.load=function(e,t,n){var i,a,r,s=this,l=e.indexOf(" ");return l>-1&&(i=wt(e.slice(l)),e=e.slice(0,l)),h(t)?(n=t,t=void 0):t&&"object"==typeof t&&(a="POST"),s.length>0&&w.ajax({url:e,type:a||"GET",dataType:"html",data:t}).done((function(e){r=arguments,s.html(i?w("<div>").append(w.parseHTML(e)).find(i):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,r||[e.responseText,t,e])}))}),this},w.expr.pseudos.animated=function(e){return w.grep(w.timers,(function(t){return e===t.elem})).length},w.offset={setOffset:function(e,t,n){var i,a,r,s,l,o,d=w.css(e,"position"),c=w(e),u={};"static"===d&&(e.style.position="relative"),l=c.offset(),r=w.css(e,"top"),o=w.css(e,"left"),("absolute"===d||"fixed"===d)&&(r+o).indexOf("auto")>-1?(s=(i=c.position()).top,a=i.left):(s=parseFloat(r)||0,a=parseFloat(o)||0),h(t)&&(t=t.call(e,n,w.extend({},l))),null!=t.top&&(u.top=t.top-l.top+s),null!=t.left&&(u.left=t.left-l.left+a),"using"in t?t.using.call(e,u):c.css(u)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){w.offset.setOffset(this,e,t)}));var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],a={top:0,left:0};if("fixed"===w.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((a=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),a.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-a.top-w.css(i,"marginTop",!0),left:t.left-a.left-w.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===w.css(e,"position");)e=e.offsetParent;return e||Ae}))}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;w.fn[e]=function(i){return J(this,(function(e,i,a){var r;if(f(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===a)return r?r[t]:e[i];r?r.scrollTo(n?r.pageXOffset:a,n?a:r.pageYOffset):e[i]=a}),e,i,arguments.length)}})),w.each(["top","left"],(function(e,t){w.cssHooks[t]=Xe(A.pixelPosition,(function(e,n){if(n)return n=$e(e,t),qe.test(n)?w(e).position()[t]+"px":n}))})),w.each({Height:"height",Width:"width"},(function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){w.fn[i]=function(a,r){var s=arguments.length&&(n||"boolean"!=typeof a),l=n||(!0===a||!0===r?"margin":"border");return J(this,(function(t,n,a){var r;return f(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===a?w.css(t,n,l):w.style(t,n,a,l)}),t,s?a:void 0,s)}}))})),w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){w.fn[t]=function(e){return this.on(t,e)}})),w.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){w.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;w.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),h(e))return i=a.call(arguments,2),r=function(){return e.apply(t||this,i.concat(a.call(arguments)))},r.guid=e.guid=e.guid||w.guid++,r},w.holdReady=function(e){e?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=C,w.isFunction=h,w.isWindow=f,w.camelCase=ne,w.type=y,w.now=Date.now,w.isNumeric=function(e){var t=w.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},w.trim=function(e){return null==e?"":(e+"").replace(en,"$1")};var tn=e.jQuery,nn=e.$;return w.noConflict=function(t){return e.$===w&&(e.$=nn),t&&e.jQuery===w&&(e.jQuery=tn),w},void 0===t&&(e.jQuery=e.$=w),w}))}(J9);const Z9=c(J9.exports),eee="/home/",tee=({printingdata:e,CompanyName:t,zipcode:n,address:i,City:a,MobileNo:r})=>{var s;const l=tA(null==e?void 0:e.PurDate);return Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{className:"Pdf-body",id:"PdffeatAddon",children:[Ye.jsxs("div",{className:"Pdf-Div",children:[Ye.jsxs("div",{className:"Pdf-head-div",children:[Ye.jsx("img",{src:cE,className:"headlogo-img"}),Ye.jsxs("div",{children:[Ye.jsx("p",{className:"Pdf-head",children:" Invoice "}),Ye.jsx("p",{style:{fontFamily:"Poppins",color:""},children:" Pozo "})]}),Ye.jsx("span",{className:"square"})]}),Ye.jsxs("div",{className:"Pdf-amt-details",children:[Ye.jsxs("p",{children:[" Payment Method : ",Ye.jsxs("span",{className:"Pdf-amt-digit",children:[e.PaymentModeName?e.PaymentModeName:null," "]})]}),Ye.jsxs("p",{children:[" Date : ",Ye.jsxs("span",{className:"Pdf-amt-digit",children:[" ",l," "]})," "]})]})]}),Ye.jsx("div",{className:"Pdf-Cont-Div",children:Ye.jsxs("div",{className:"Pdf-cont",children:[Ye.jsxs("div",{className:"Pdf-cont-txt",children:[Ye.jsx("p",{className:"Pdf-cont-subhead",children:" Billed From"}),Ye.jsxs("p",{className:"Pdf-cont-text",children:["Pozomind Technologies Private Limited",Ye.jsx("p",{children:"Phone : 7324000011"})]})]}),Ye.jsxs("div",{className:"Pdf-cont-txt",children:[Ye.jsx("p",{className:"Pdf-cont-subhead",children:" Billed To "}),Ye.jsxs("p",{className:"Pdf-cont-text",children:[Ye.jsx("p",{className:"Pdf-cont-text",children:r}),null!=i?i:null," ",null!=a?a:null," ",null!=n?n:null,Ye.jsxs("p",{children:["Phone : ",r]})]})]})]})}),Ye.jsx("hr",{className:"new3"}),Ye.jsx("div",{className:"Pdf-Table-Div",children:Ye.jsxs("table",{children:[Ye.jsx("caption",{children:"Feature Addon Summary"}),Ye.jsx("thead",{children:Ye.jsxs("tr",{children:[Ye.jsx("th",{scope:"col",children:"Feature Name"}),Ye.jsx("th",{scope:"col",children:"Feature Count"}),Ye.jsx("th",{scope:"col",children:"Basic Amount"}),Ye.jsx("th",{scope:"col",children:"Tax Amount"}),Ye.jsx("th",{scope:"col",children:"Net Amount"})]})}),Ye.jsx("tbody",{children:null==(s=null==e?void 0:e.FeatAddonDetails)?void 0:s.map((e=>Ye.jsxs("tr",{children:[Ye.jsx("td",{"data-label":"Due Date",children:null==e?void 0:e.FeatAddonName}),Ye.jsx("td",{"data-label":"Period",children:null==e?void 0:e.Count}),Ye.jsx("td",{"data-label":"Amount",children:(null==e?void 0:e.Price)*(null==e?void 0:e.Count)}),Ye.jsx("td",{"data-label":"Amount",children:(null==e?void 0:e.TaxAmount)*(null==e?void 0:e.Count)}),Ye.jsx("td",{"data-label":"Amount",children:null==e?void 0:e.NetPrice})]})))})]})}),Ye.jsx("hr",{className:"new3"}),Ye.jsx("div",{className:"Pdf-Table-Div",children:Ye.jsx("table",{children:Ye.jsxs("tbody",{children:[Ye.jsxs("tr",{children:[Ye.jsx("th",{children:" "}),Ye.jsx("th",{children:" "}),Ye.jsx("th",{"data-label":"Sub Total",children:"Sub Total"}),Ye.jsxs("td",{children:["₹",null==e?void 0:e.Price]})]}),Ye.jsxs("tr",{children:[Ye.jsx("td",{children:" "}),Ye.jsx("td",{children:" "}),Ye.jsx("th",{"data-label":"Total",children:"Tax Amount"}),Ye.jsxs("td",{children:["₹",null==e?void 0:e.TaxAmount]})]}),Ye.jsxs("tr",{children:[Ye.jsx("th",{children:" "}),Ye.jsx("th",{children:" "}),Ye.jsx("th",{"data-label":"Total",children:"Total"}),Ye.jsxs("td",{children:["₹",null==e?void 0:e.NetPrice]})]})]})})}),Ye.jsx("hr",{className:"new4"})]})})},nee="/home/",iee="/home/",aee="/home/",ree="/",see=()=>{var e,t,n,i,r,s,l,o,d,c;const[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState(),[v,g]=a.useState(1),[y,x]=a.useState(),[b,w]=a.useState(),j=a.useRef(null),[C,S]=a.useState("False"),[N,F]=a.useState([]),B=Tf(Ub),[T,E]=a.useState(!1),[_,O]=a.useState(),[M,R]=a.useState(),Q=iA("UserId"),[H,V]=a.useState(null),[z,q]=a.useState(null),[W,Y]=a.useState(null),[K,G]=a.useState(null),[$,X]=a.useState(null),[J,Z]=a.useState(null),ee=Qt(),te=Mt(),ne=null==te?void 0:te.state,ie=null==ne?void 0:ne.editstate,[ae,re]=a.useState(null),[se,le]=a.useState(null),[oe,de]=a.useState();a.useEffect((()=>{if(M&&H){let e=null==_?void 0:_.find((e=>e.TaxId==M));Y((H-H*(null==e?void 0:e.TaxPercentage)/100).toFixed(2)),X(H*(null==e?void 0:e.TaxPercentage)/100)}if(M&&z){let e=null==_?void 0:_.find((e=>e.TaxId==M));G((z-z*(null==e?void 0:e.TaxPercentage)/100).toFixed(2)),Z(z*(null==e?void 0:e.TaxPercentage)/100)}}),[M]);const ce=[{name:"Home",link:`${ree}landing-page/home`},{name:"FeaturePricing",link:`${ree}setting/featurepricing`},{name:ie?"Edit":"New"}];a.useEffect((()=>{var e;if(ie){null==(e=j.current)||e.setFieldsValue({AppName:ie.AppId}),x(ie.AppId);let t=null==ie?void 0:ie.FeatDetails;null==t||t.forEach((e=>{delete e.CreatedDate,delete e.FeatNameList,delete e.UpdatedBy,delete e.CreatedBy,delete e.UpdatedDate})),F(t)}}),[]);const ue=um();a.useEffect((()=>{ue(Ib()).unwrap();try{ue(Gh({items:ce}))}catch(e){}}),[]),a.useEffect((()=>{(async()=>{var e,t;try{let n=await ue($k()).unwrap();if(O(null==(e=null==n?void 0:n.data)?void 0:e.data),y){let e=await ue(CT(y)).unwrap();e=null==(t=e.data)?void 0:t.data;const n=Array.from(new Set(e.map((e=>e.FeatName)))).map((t=>e.find((e=>e.FeatName===t))));m(n)}}catch(n){}})()}),[y]);const pe=a.useCallback((()=>{h(null),p(null)}),[]),Ae=async(e,t)=>{var n,i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g;ie?(V(e.YearlyNetPrice),Y(e.YearlyPrice),q(e.MonthlyNetPrice),G(e.MonthlyPrice),re(e.UniqueId),X(e.YearlyTaxAmount),Z(e.MonthlyTaxAmount),le(e.ActiveStatus),null==(n=j.current)||n.setFieldsValue({FeaturesName:e.FeatId}),null==(i=j.current)||i.setFieldsValue({YearlyNetPrice:e.YearlyNetPrice}),null==(a=j.current)||a.setFieldsValue({MonthlyNetPrice:e.MonthlyNetPrice}),null==(r=j.current)||r.setFieldsValue({Tax:e.TaxId}),null==(s=j.current)||s.setFieldsValue({YearlyPrice:e.YearlyPrice}),null==(l=j.current)||l.setFieldsValue({MonthlyPrice:e.MonthlyPrice}),null==(o=j.current)||o.setFieldsValue({YearlyTaxAmount:e.YearlyTaxAmount}),null==(d=j.current)||d.setFieldsValue({MonthlyTaxAmount:e.MonthlyTaxAmount}),w(e.FeatId),R(e.TaxId),de(t),E(!0)):(null==(c=j.current)||c.setFieldsValue({AppName:e.AppId}),null==(u=j.current)||u.setFieldsValue({FeaturesName:e.FeatId}),null==(p=j.current)||p.setFieldsValue({YearlyNetPrice:e.YearlyNetPrice}),null==(A=j.current)||A.setFieldsValue({MonthlyNetPrice:e.MonthlyNetPrice}),null==(h=j.current)||h.setFieldsValue({Tax:e.TaxId}),null==(f=j.current)||f.setFieldsValue({YearlyPrice:e.YearlyPrice}),null==(m=j.current)||m.setFieldsValue({MonthlyPrice:e.MonthlyPrice}),null==(v=j.current)||v.setFieldsValue({YearlyTaxAmount:e.YearlyTaxAmount}),null==(g=j.current)||g.setFieldsValue({MonthlyTaxAmount:e.MonthlyTaxAmount}),w(e.FeatId),x(e.AppId),R(e.TaxId),G(e.MonthlyPrice),Y(e.YearlyPrice),X(e.YearlyTaxAmount),Z(e.MonthlyTaxAmount),V(e.YearlyNetPrice),q(e.MonthlyNetPrice),de(t),E(!0))},he=async(e,t)=>{if(ie&&!e.ActiveStatus){let e=[...N];e.splice(t,1),F(e)}if(ie&&e.ActiveStatus){let n=[...N];n[t]={AppName:null==e?void 0:e.AppName,FeatName:null==e?void 0:e.FeatName,FeatId:null==e?void 0:e.FeatId,YearlyNetPrice:null==e?void 0:e.YearlyNetPrice,MonthlyNetPrice:null==e?void 0:e.MonthlyNetPrice,YearlyPrice:null==e?void 0:e.YearlyPrice,MonthlyPrice:null==e?void 0:e.MonthlyPrice,YearlyTaxAmount:null==e?void 0:e.YearlyTaxAmount,TaxId:null==e?void 0:e.TaxId,MonthlyTaxAmount:null==e?void 0:e.MonthlyTaxAmount,UniqueId:null==e?void 0:e.UniqueId,TaxName:null==e?void 0:e.TaxName,ActiveStatus:"A"==(null==e?void 0:e.ActiveStatus)?"D":"A"},F(n)}else{let e=[...N];e.splice(t,1),F(e)}},fe=[{title:"SI.NO",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(v-1)+n+1})},{title:"Application Name",dataIndex:"AppName",key:"AppName",width:"100px",align:"left"},{title:"Feature Name",dataIndex:"FeatName",key:"FeatName",align:"left",width:"100px"},{title:"Price",children:[{title:"Monthly",dataIndex:"MonthlyPrice",key:"MonthlyPrice"},{title:"Yearly",dataIndex:"YearlyPrice",key:"YearlyPrice"}]},{title:"Tax Amount",children:[{title:"Monthly",dataIndex:"MonthlyTaxAmount",key:"MonthlyTaxAmount"},{title:"Yearly",dataIndex:"YearlyTaxAmount",key:"YearlyTaxAmount"}]},{title:"Net Amount",children:[{title:"Monthly",dataIndex:"MonthlyNetPrice",key:"MonthlyNetPrice"},{title:"Yearly",dataIndex:"YearlyNetPrice",key:"YearlyNetPrice"}]},{title:"Action",dataIndex:"Action",key:"Action",align:"right",width:"100px",render:(e,t,n)=>(null==N?void 0:N.length)>=1?Ye.jsxs(P,{size:"middle",children:["A"==(null==t?void 0:t.ActiveStatus)&&Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>Ae(t,n)})}),!(null==t?void 0:t.ActiveStatus)&&Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>Ae(t,n)})}),(null==t?void 0:t.ActiveStatus)?Ye.jsx("a",{children:ie&&"A"==(null==t?void 0:t.ActiveStatus)?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>he(t,n)}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>he(t,n)})}):Ye.jsx("a",{children:Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>he(t,n)})})]}):null}],ve=()=>{j.current.resetFields(),j.current.setFieldsValue({AppName:y})},ge=(e,t)=>t?e.TaxPercentage+" %":e.TaxName+" - "+e.TaxPercentage+" % ";return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:u,messageData:A,onComplete:pe}),Ye.jsxs("div",{className:"formAddNew FeaturesformAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Feature Pricing"})}),Ye.jsx("div",{className:"searchAddDiv",children:Ye.jsx("div",{className:"formSearch",style:{display:"flex"},children:Ye.jsx(I,{ref:j,className:"formDivAnt1",onFinish:async e=>{var t,n,i,a,r,s,l,o,d,c,u,A,m,v,g,y,x,b;S("True");const C=null==(t=null==B?void 0:B.find((t=>t.AppId==e.AppName)))?void 0:t.AppName,I=null==(n=null==f?void 0:f.find((t=>t.FeatId===(null==e?void 0:e.FeaturesName))))?void 0:n.FeatName;if(T)if(null==N?void 0:N.filter(((e,t)=>t!==oe)).some((t=>t.FeatId==(null==e?void 0:e.FeaturesName))))p("warning"),h("Already exist ");else{let t={};t.AppName=C,t.AppId=e.AppName,t.FeatId=null==e?void 0:e.FeaturesName,t.FeatName=I,t.YearlyNetPrice=H,t.MonthlyNetPrice=z,t.YearlyPrice=W,t.MonthlyPrice=K;let n=null==_?void 0:_.find((t=>t.TaxId==e.Tax));t.TaxName=null==n?void 0:n.TaxName,t.YearlyTaxAmount=$,t.MonthlyTaxAmount=J,t.TaxId=e.Tax,ie&&(t.UniqueId=ae),ie&&(t.ActiveStatus=se);let u=null==N?void 0:N.filter(((e,t)=>t!==oe));F([...u,t]),null==(i=j.current)||i.setFieldsValue({FeaturesName:null}),null==(a=j.current)||a.setFieldsValue({YearlyNetPrice:null}),null==(r=j.current)||r.setFieldsValue({MonthlyNetPrice:null}),null==(s=j.current)||s.setFieldsValue({YearlyTaxAmount:null}),null==(l=j.current)||l.setFieldsValue({MonthlyTaxAmount:null}),null==(o=j.current)||o.setFieldsValue({YearlyPrice:null}),null==(d=j.current)||d.setFieldsValue({MonthlyPrice:null}),null==(c=j.current)||c.setFieldsValue({Tax:null}),w(),R(),X(null),Y(null),Z(null),G(null),V(null),q(null),E(!1),ve()}else if(null==N?void 0:N.some((t=>t.FeatId==(null==e?void 0:e.FeaturesName))))p("warning"),h("already Exist ");else{let t={};t.AppName=C,t.AppId=e.AppName,t.FeatId=null==e?void 0:e.FeaturesName,t.FeatName=I,t.YearlyNetPrice=e.YearlyNetPrice,t.MonthlyNetPrice=e.MonthlyNetPrice,t.YearlyPrice=W,t.MonthlyPrice=K;let n=_.find((t=>t.TaxId==e.Tax));t.TaxName=null==n?void 0:n.TaxName,t.YearlyTaxAmount=$,t.MonthlyTaxAmount=J,t.TaxId=e.Tax,F([...N,t]),null==(u=j.current)||u.setFieldsValue({FeaturesName:null}),null==(A=j.current)||A.setFieldsValue({YearlyNetPrice:null}),null==(m=j.current)||m.setFieldsValue({MonthlyNetPrice:null}),null==(v=j.current)||v.setFieldsValue({YearlyTaxAmount:null}),null==(g=j.current)||g.setFieldsValue({MonthlyTaxAmount:null}),null==(y=j.current)||y.setFieldsValue({YearlyPrice:null}),null==(x=j.current)||x.setFieldsValue({MonthlyPrice:null}),null==(b=j.current)||b.setFieldsValue({Tax:null}),w(),R(),X(null),Z(null),Y(null),G(null),V(null),q(null),E(!1),ve()}},style:{display:"flex",flexDirection:"column"},children:Ye.jsxs("div",{className:"features-amountandcountdiv",style:{display:"flex",height:"58px"},children:[Ye.jsx("div",{style:{display:"flex",justifyContent:"space-between"},children:Ye.jsx(I.Item,{name:"AppName",rules:[{required:!0,message:"Please Select Application"}],children:Ye.jsx(_y,{options:null==B?void 0:B.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"AppId",label:Ye.jsx("label",{className:"required",children:"Application Name"}),className:"field-DropDown",onChangeFunction:e=>{var t;x(e),null==(t=j.current)||t.setFieldsValue({AppName:e})},valueData:y,disabled:!("True"!=C&&!ie)})})}),Ye.jsx("div",{style:{display:"flex",marginLeft:"20px"},children:Ye.jsx(I.Item,{name:"FeaturesName",rules:[{required:!0,message:"Please Select Feature"}],children:Ye.jsx(_y,{options:null==f?void 0:f.map(((e,t)=>({value:e.FeatId,label:e.FeatName}))),placeholder:"AppId",label:Ye.jsx("label",{className:"required",children:"Features"}),className:"field-DropDown-Feat",isOnchanges:(null==(t=null==(e=null==j?void 0:j.current)?void 0:e.getFieldValue())?void 0:t.FeaturesName)||null!=(null==(i=null==(n=null==j?void 0:j.current)?void 0:n.getFieldValue())?void 0:i.FeaturesName),onChangeFunction:e=>{var t;w(e),null==(t=j.current)||t.setFieldsValue({FeaturesName:e})},valueData:b,disabled:null!=ie&&null!=b})})}),Ye.jsx("div",{clasName:"taxdiv",style:{display:"flex",marginLeft:"20px"},children:Ye.jsx(I.Item,{name:"Tax",rules:[{required:!0,message:"Please Select Tax"}],children:Ye.jsx(_y,{options:null==_?void 0:_.map(((e,t)=>({value:e.TaxId,label:ge(e,M===e.TaxId)}))),isOnchanges:null==(s=null==(r=null==j?void 0:j.current)?void 0:r.getFieldValue())?void 0:s.Tax,placeholder:"AppId",label:Ye.jsx("label",{className:"required",children:"Tax"}),className:"field-DropDown-tax",onChangeFunction:e=>{var t;R(e),null==(t=j.current)||t.setFieldsValue({Tax:e})},valueData:M})})}),Ye.jsx("div",{style:{display:"flex",marginLeft:"10px"},children:Ye.jsx(I.Item,{name:"MonthlyNetPrice",rules:[{required:!0,pattern:/^\d+$/,message:"Please Enter Amount"},{validator:(e,t)=>/^\d{1,10}$/.test(t)?t<0?Promise.reject("Please Enter a Valid Monthly NetPrice"):Promise.resolve():Promise.reject("Enter a valid number max 10 digits")}],children:Ye.jsx(Oy,{field:"AMOUNT",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Amount Monthly"}),type:"number",fieldState:!0,fieldApi:!0,disabled:!M,isOnChange:null==(o=null==(l=null==j?void 0:j.current)?void 0:l.getFieldValue())?void 0:o.MonthlyNetPrice,onChange:e=>{var t,n,i,a;const r=null==(t=null==e?void 0:e.target)?void 0:t.value;null==(n=j.current)||n.setFieldsValue({MonthlyNetPrice:r});let s=_.find((e=>e.TaxId==M));null==(i=j.current)||i.setFieldsValue({MonthlyTaxAmount:r*(null==s?void 0:s.TaxPercentage)/100}),null==(a=j.current)||a.setFieldsValue({MonthlyPrice:r-r*(null==s?void 0:s.TaxPercentage)/100}),q(r),G((r-r*(null==s?void 0:s.TaxPercentage)/100).toFixed(2)),Z(r*(null==s?void 0:s.TaxPercentage)/100)}})})}),Ye.jsxs("div",{style:{display:"flex",marginLeft:"10px"},children:[Ye.jsx(I.Item,{name:"YearlyNetPrice",rules:[{required:!0,pattern:/^\d+$/,message:"Please Enter Amount"},{validator:(e,t)=>/^\d{1,10}$/.test(t)?t<0?Promise.reject("Please Enter a Valid Yearly NetPrice"):Promise.resolve():Promise.reject("Enter a valid number max 10 digits")}],children:Ye.jsx(Oy,{field:"AMOUNT",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Amount Yearly"}),type:"number",fieldState:!0,fieldApi:!0,disabled:!M,isOnChange:null==(c=null==(d=null==j?void 0:j.current)?void 0:d.getFieldValue())?void 0:c.YearlyNetPrice,onChange:e=>{var t,n,i,a;const r=null==(t=null==e?void 0:e.target)?void 0:t.value;null==(n=j.current)||n.setFieldsValue({YearlyNetPrice:r});let s=_.find((e=>e.TaxId==M));null==(i=j.current)||i.setFieldsValue({YearlyTaxAmount:r*(null==s?void 0:s.TaxPercentage)/100}),null==(a=j.current)||a.setFieldsValue({YearlyPrice:r-r*(null==s?void 0:s.TaxPercentage)/100}),V(r),Y((r-r*(null==s?void 0:s.TaxPercentage)/100).toFixed(2)),X(r*(null==s?void 0:s.TaxPercentage)/100)}})}),Ye.jsx("button",{type:"submit",style:{border:"none",width:"50px",height:"50px",backgroundColor:"#e8ecf1"},children:Ye.jsx(me,{style:{fontSize:"25px"}})})]})]})})})})]}),M&&Ye.jsx("div",{className:"CalcTable",children:Ye.jsxs("table",{children:[Ye.jsxs("tr",{children:[Ye.jsx("td",{children:" Monthly"}),Ye.jsx("td",{children:" Yearly"})]}),Ye.jsxs("tr",{children:[Ye.jsxs("td",{children:[" Price : ",K," "]}),Ye.jsxs("td",{children:[" Price : ",W," "]})]}),Ye.jsxs("tr",{children:[Ye.jsxs("td",{children:[" Tax Amount: ",J]}),Ye.jsxs("td",{children:[" Tax Amount: ",$]})]})]})}),Ye.jsxs("div",{className:"reportTable1",children:[Ye.jsx(Vb,{columns:fe,data:N,dataSource:N,pagination:e=>{g(e)}})," "]}),Ye.jsx("div",{style:{display:"flex",flexDirection:"row-reverse"},children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0,handleSubmit:async()=>{var e,t,n,i,a,r,s;if(ie){let i={};i.AppId=ie?ie.AppId:null==(e=N[0])?void 0:e.AppId;let a=N.map((e=>{const{AppName:t,TaxName:n,AppId:i,...a}=e;return a}));i.FeatDetails=a,i.UpdatedBy=Q;let r=await ue(iT(i)).unwrap();"1"==(null==(t=null==r?void 0:r.data)?void 0:t.statusCode)?ee(`${ree}setting/featurepricing/`,{state:{Notiffy:{messageType:"success",messageData:null==(n=null==r?void 0:r.data)?void 0:n.response}}}):(p("error"),h("Feature Pricing Not Added"))}else{let e={};e.AppId=null==(i=N[0])?void 0:i.AppId;let t=null==N?void 0:N.map((e=>{const{AppName:t,TaxName:n,AppId:i,...a}=e;return a}));e.FeatDetails=t,e.CreatedBy=Q;let n=await ue(sT(e)).unwrap();"1"==(null==(a=null==n?void 0:n.data)?void 0:a.statusCode)?ee(`${ree}setting/featurepricing/`,{state:{Notiffy:{messageType:"success",messageData:null==(r=null==n?void 0:n.data)?void 0:r.response}}}):(p("error"),h(null==(s=null==n?void 0:n.data)?void 0:s.response))}}})})]})})},lee=()=>{var e,t;const n=a.useRef(null),i=Qt(),r=um(),s=Mt(),l=null==(e=null==s?void 0:s.state)?void 0:e.type,o=null==(t=null==s?void 0:s.state)?void 0:t.editstate,[d,c]=a.useState(null),[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState(null),[v,g]=a.useState(null),[x,b]=a.useState(null),[w,j]=a.useState(null),[C,S]=a.useState([]),[N,F]=a.useState([]),[B,P]=a.useState([]),T=iA("UserId"),E=[{name:"Home",link:"/landing-page/home"},{name:"PaymentGatewayConfig",link:"/setting/payment-gateway-config"},{name:o?"Edit":"New",link:null}];a.useEffect((()=>{var e;r(Gh({items:E})),D(),o&&(m(null==o?void 0:o.AppId),b(null==o?void 0:o.CompId),j(null==o?void 0:o.BranchId),g(null==o?void 0:o.UserId),null==(e=n.current)||e.setFieldsValue({AppId:null==o?void 0:o.AppId,UserId:null==o?void 0:o.UserId,CompId:null==o?void 0:o.CompId,BranchId:null==o?void 0:o.UserId}),L({AppId:null==o?void 0:o.AppId,Type:"Payment Gateway"}),U({UserId:null==o?void 0:o.UserId,AppId:null==o?void 0:o.AppId}),_(null==o?void 0:o.CompId))}),[]);const D=async()=>{var e,t;let n=await r(ST()).unwrap();1==(null==(e=null==n?void 0:n.data)?void 0:e.statusCode)&&c(null==(t=null==n?void 0:n.data)?void 0:t.data)},L=async({AppId:e,Type:t})=>{var n,i,a,s;const o=await r(W9({Type:t,AppId:e})).unwrap();if(1===(null==(n=o.data)?void 0:n.statusCode))if("edit"!=l){const e=null==(a=null==(i=null==o?void 0:o.data)?void 0:i.data)?void 0:a.filter((e=>e.Count>e.AllocatedCount));await S(e)}else await S(null==(s=null==o?void 0:o.data)?void 0:s.data);else await S([])},U=async({AppId:e,UserId:t})=>{var n,i;const a=await r(FA({UserId:t,AppId:e})).unwrap();1===(null==(n=a.data)?void 0:n.statusCode)?await F(null==(i=a.data)?void 0:i.data):await F([])},_=async e=>{var t,n;const i=await r(yA({storeId:e})).unwrap();1===(null==(t=i.data)?void 0:t.statusCode)?await P(null==(n=i.data)?void 0:n.data):await P([])};return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:u,messageData:A}),Ye.jsxs("div",{className:"formName",children:[Ye.jsx(ab,{title:"Payment Gateway Config"}),Ye.jsx("p",{className:"formdes"})]}),Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{ref:n,className:"formDivAnt",onFinish:async e=>{var t,n,a;let s;if("edit"==l){let t=e;t.UniqueId=null==o?void 0:o.UniqueId,t.UpdatedBy=T,s=await r(G9(t)).unwrap()}else{let t=e;t.CreatedBy=T,s=await r(Y9(t)).unwrap()}1==(null==(t=null==s?void 0:s.data)?void 0:t.statusCode)?i("/setting/payment-gateway-config",{state:{Notiffy:{messageType:"success",messageData:null==(n=null==s?void 0:s.data)?void 0:n.response}}}):(p("error"),h(null==(a=null==s?void 0:s.data)?void 0:a.response))},initialValues:o,children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application"}],children:Ye.jsx(_y,{options:null==d?void 0:d.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"Application Name",label:Ye.jsx("label",{className:"required",children:"Application Name"}),className:"field-DropDown",isOnchanges:!!f,onChangeFunction:e=>(e=>{var t;m(e),g(null),b(null),j(null),S([]),F([]),P([]),L({AppId:e,Type:"Payment Gateway"}),null==(t=n.current)||t.setFieldsValue({AppId:e,UserId:null,CompId:null,BranchId:null})})(e),valueData:f,disabled:!!(null==o?void 0:o.AppId)})}),Ye.jsx(I.Item,{name:"UserId",rules:[{required:!0,message:"Please Select Admin"}],children:Ye.jsx(_y,{options:null==C?void 0:C.map((e=>({value:e.UserId,label:""!=e.UserName&&null!=e.UserName&&null!=e.UserName?e.UserName:e.MobileNo}))),placeholder:"Admin Name",label:Ye.jsx("label",{className:"required",children:"Admin Name"}),className:"field-DropDown",isOnchanges:!!v,onChangeFunction:e=>(e=>{var t;U({UserId:e,AppId:f}),g(e),b(null),j(null),F([]),P([]),null==(t=n.current)||t.setFieldsValue({UserId:e,CompId:null,BranchId:null})})(e),valueData:v,disabled:!!(null==o?void 0:o.UserId)})}),Ye.jsx(I.Item,{name:"CompId",rules:[{required:!0,message:"Please Select Company"}],children:Ye.jsx(_y,{options:null==N?void 0:N.map((e=>({value:e.CompId,label:e.CompName}))),placeholder:"Company Name",label:Ye.jsx("label",{className:"required",children:"Company Name"}),className:"field-DropDown",isOnchanges:!!x,onChangeFunction:e=>(e=>{var t;b(e),_(e),j(null),P([]),null==(t=n.current)||t.setFieldsValue({CompId:e,BranchId:null})})(e),valueData:x,disabled:!!(null==o?void 0:o.CompId)})}),Ye.jsx(I.Item,{name:"BranchId",rules:[{required:!0,message:"Please Select Branch"}],children:Ye.jsx(_y,{options:null==B?void 0:B.map((e=>({value:e.BrId,label:e.BrName}))),placeholder:"Branch Name",label:Ye.jsx("label",{className:"required",children:"Branch Name"}),className:"field-DropDown",isOnchanges:!!w,onChangeFunction:e=>(e=>{var t;j(e),null==(t=n.current)||t.setFieldsValue({BranchId:e})})(e),valueData:w,disabled:!!(null==o?void 0:o.BranchId)})}),Ye.jsx(I.Item,{name:"MerchantId",rules:[{required:!0,message:"Please Enter MerchantId"},{validator:async(e,t)=>(await lA(t),t&&t.length>15?Promise.reject("Merchant Id should not exceed 15 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"MerchantId",label:Ye.jsx("label",{className:"required",children:"Merchant Id"}),fieldState:!0,fieldApi:!0,autocomplete:"off",isOnChange:!!(null==o?void 0:o.MerchantId)})}),Ye.jsx(I.Item,{name:"WorkingKey",rules:[{required:!0,message:"Please Enter Working key"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Workingkey",label:Ye.jsx("label",{className:"required",children:"Working key"}),fieldState:!0,fieldApi:!0,autocomplete:"off",isOnChange:!!(null==o?void 0:o.WorkingKey)})}),Ye.jsx(I.Item,{name:"AccessCode",rules:[{required:!0,message:"Please Enter Access code"},{validator:async(e,t)=>(await lA(t),t&&t.length>50?Promise.reject("Access Code should not exceed 50 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"Accesscode",label:Ye.jsx("label",{className:"required",children:"Access code"}),fieldState:!0,fieldApi:!0,autocomplete:"off",isOnChange:!!(null==o?void 0:o.AccessCode)})}),Ye.jsx(y,{buttonText:"Add",color:"blue",icon:Ye.jsx(k,{})})]})}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{})})})]})})]})})})},oee="/",dee="https://www.pozo.dev/pozo-common-api",cee=Ja("getApplicationNames",(async()=>Ne.get(`${dee}/application?activeStatus=A`))),uee=Ja("GetAdminData",(async({AppId:e,Type:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await Ne.get(`${dee}/UAMFeatAddon?Type=${t}&AppId=${e}`)})),pee=Ja("getStoreData",(async({UserId:e,AppId:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await fA.get(`/appAccess?UserId=${e}&AppId=${t}`)})),Aee=Ja("getBranchData",(async({storeId:e})=>{if(null!=e&&null!=e)return await fA.get(`/branch?CompId=${e}`)})),hee=Ja("GetPaymentDeviceConfig",(async()=>await fA.get("/PaymentDeviceconfig"))),fee=Ja("postPaymentDeviceConfig",(async e=>await fA.post("/PaymentDeviceconfig",e))),mee=Ja("putPaymentDeviceConfig",(async e=>await fA.put("/PaymentDeviceconfig",e))),vee=Ja("deletePaymentDeviceConfig",(async e=>await fA.delete(`/PaymentDeviceconfig?uniqueId=${null==e?void 0:e.UniqueId}&updatedBy=${null==e?void 0:e.UpdatedBy}&activeStatus=${null==e?void 0:e.ActiveStatus}`))),gee="/",yee="/home/",xee=({formType:e})=>{var t;const n=Qt(),i=um(),r=Mt(),s=null==r?void 0:r.state,l=null==s?void 0:s.editState,o=a.useRef(null),d=iA("UserType"),[c,u]=a.useState(null),[p,A]=a.useState(null),[h,f]=a.useState(null),[m,v]=a.useState([]),[g,y]=a.useState([]),[x,b]=a.useState([]),[w,j]=a.useState(null),[C,S]=a.useState(null),[N,B]=a.useState(null),[T,E]=a.useState(null),[_,O]=a.useState([]),[M,R]=a.useState(!1),[Q,H]=a.useState(),V=iA("UserId"),z=Tf(Gg),q=[{name:"Home",link:`${yee}landing-page/home`},{name:"PaymentDeviceConfig",link:`${yee}setting/payment-device-config`},{name:l?"Edit":"New",link:null}];a.useEffect((()=>{var e,t;if(i(Gh({items:q})),K(),l){j(null==l?void 0:l.AppId),B(null==l?void 0:l.CompId),E(null==l?void 0:l.BranchId),S(null==l?void 0:l.UserId),null==(e=o.current)||e.setFieldsValue({AppId:null==l?void 0:l.AppId,UserId:null==l?void 0:l.UserId,CompId:null==l?void 0:l.CompId,BranchId:null==l?void 0:l.UserId,MerchantId:null==l?void 0:l.MerchantId}),G({AppId:null==l?void 0:l.AppId,Type:"Payment Device"}),$({UserId:null==l?void 0:l.UserId,AppId:null==l?void 0:l.AppId}),X(null==l?void 0:l.CompId);const n=null==(t=null==l?void 0:l.DeviceConfigDetails)?void 0:t.map((e=>({StoreId:null==e?void 0:e.StoreId,ClientId:null==e?void 0:e.ClientId,SecurityToken:null==e?void 0:e.SecurityToken,IMEI:null==e?void 0:e.IMEI,AutoCancelDurationInMinutes:null==e?void 0:e.AutoCancelDurationInMinutes,UniqueId:null==e?void 0:e.UniqueId,ActiveStatus:null==e?void 0:e.ActiveStatus})));O(n)}}),[]);const W=[{title:"SI.NO",align:"center",key:"sno",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:n+1})},{title:"ClientId",dataIndex:"ClientId",key:"ClientId",align:"right",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"StoreId",dataIndex:"StoreId",key:"StoreId",align:"right",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Security Token",dataIndex:"SecurityToken",key:"SecurityToken",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"IMEI",dataIndex:"IMEI",key:"IMEI",align:"right",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Auto Cancel Duration InMinutes",dataIndex:"AutoCancelDurationInMinutes",key:"AutoCancelDurationInMinutes",align:"right",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Action",dataIndex:"Action",key:"Action",render:(e,t,n)=>(null==_?void 0:_.length)>=1?Ye.jsxs(P,{size:"middle",children:[!(null==t?void 0:t.UniqueId)&&Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>J(t,n)})}),(null==t?void 0:t.UniqueId)?Ye.jsx("a",{children:(null==t?void 0:t.UniqueId)&&"A"==(null==t?void 0:t.ActiveStatus)?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>Z(t,n)}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>Z(t,n)})}):Ye.jsx("a",{children:Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>Z(t,n)})})]}):null}],Y=a.useCallback((()=>{A(null),u(null)}),[]),K=async()=>{var e,t;let n=await i(cee()).unwrap();1==(null==(e=null==n?void 0:n.data)?void 0:e.statusCode)&&f(null==(t=null==n?void 0:n.data)?void 0:t.data)},G=async({AppId:t,Type:n})=>{var a,r,s,l;const o=await i(uee({Type:n,AppId:t})).unwrap();if(1===(null==(a=o.data)?void 0:a.statusCode))if("edit"!=e){const e=null==(s=null==(r=null==o?void 0:o.data)?void 0:r.data)?void 0:s.filter((e=>e.Count>e.AllocatedCount));await v(e)}else await v(null==(l=null==o?void 0:o.data)?void 0:l.data);else await v([])},$=async({AppId:e,UserId:t})=>{var n,a;const r=await i(pee({UserId:t,AppId:e})).unwrap();1===(null==(n=r.data)?void 0:n.statusCode)?await y(null==(a=r.data)?void 0:a.data):await y([])},X=async e=>{var t,n;const a=await i(Aee({storeId:e})).unwrap();1===(null==(t=a.data)?void 0:t.statusCode)?await b(null==(n=a.data)?void 0:n.data):await b([])},J=(e,t)=>{var n;null==(n=null==o?void 0:o.current)||n.setFieldsValue({StoreId:e.StoreId,ClientId:e.ClientId,SecurityToken:e.SecurityToken,IMEI:e.IMEI,AutoCancelDurationInMinutes:e.AutoCancelDurationInMinutes}),R(!0),H(t)},Z=(e,t)=>{if(M||e.UniqueId){if(e.UniqueId){let n=[..._];n[t]={StoreId:null==e?void 0:e.StoreId,ClientId:null==e?void 0:e.ClientId,SecurityToken:null==e?void 0:e.SecurityToken,UniqueId:null==e?void 0:e.UniqueId,IMEI:null==e?void 0:e.IMEI,AutoCancelDurationInMinutes:null==e?void 0:e.AutoCancelDurationInMinutes,ActiveStatus:"A"==(null==e?void 0:e.ActiveStatus)?"D":"A"},O(n)}}else{const e=[..._];e.splice(t,1),O(e)}};return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:c,messageData:p,onComplete:Y}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Payment Device Config"})}),Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{ref:o,className:"formDivAnt",children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application"}],children:Ye.jsx(_y,{options:null==h?void 0:h.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"Application Name",label:"Application Name",className:"field-DropDown",isOnchanges:!!w,onChangeFunction:e=>(async e=>{var t;j(e),S(null),B(null),E(null),v([]),y([]),b([]),G({AppId:e,Type:"Payment Device"}),null==(t=o.current)||t.setFieldsValue({AppId:e,UserId:null,CompId:null,BranchId:null})})(e),valueData:w,disabled:!!((null==_?void 0:_.length)>0&&!M||(null==l?void 0:l.AppId))})}),Ye.jsx(I.Item,{name:"UserId",rules:[{required:!0,message:"Please Select Admin"}],children:Ye.jsx(_y,{options:null==m?void 0:m.map((e=>({value:e.UserId,label:""!=e.UserName&&null!=e.UserName&&null!=e.UserName?e.UserName:e.MobileNo}))),placeholder:"Admin Name",label:"Admin Name",className:"field-DropDown",isOnchanges:!!C,onChangeFunction:e=>(e=>{var t;S(e),B(null),E(null),y([]),b([]),$({UserId:e,AppId:w}),null==(t=o.current)||t.setFieldsValue({UserId:e,CompId:null,BranchId:null})})(e),valueData:C,disabled:!!((null==_?void 0:_.length)>0&&!M||(null==l?void 0:l.UserId))})}),Ye.jsx(I.Item,{name:"CompId",rules:[{required:!0,message:"Please Select Company"}],children:Ye.jsx(_y,{options:null==g?void 0:g.map((e=>({value:e.CompId,label:e.CompName}))),placeholder:"Company Name",label:"Company Name",className:"field-DropDown",isOnchanges:!!N,onChangeFunction:e=>(e=>{var t;B(e),E(null),b([]),X(e),null==(t=o.current)||t.setFieldsValue({CompId:e,BranchId:null})})(e),valueData:N,disabled:!!((null==_?void 0:_.length)>0&&!M||(null==l?void 0:l.CompId))})}),Ye.jsx(I.Item,{name:"BranchId",rules:[{required:!0,message:"Please Select Branch"}],children:Ye.jsx(_y,{options:null==x?void 0:x.map((e=>({value:e.BrId,label:e.BrName}))),placeholder:"Branch Name",label:"Branch Name",className:"field-DropDown",isOnchanges:!!T,onChangeFunction:e=>(e=>{var t;E(e),null==(t=o.current)||t.setFieldsValue({BranchId:e})})(e),valueData:T,disabled:!!((null==_?void 0:_.length)>0&&!M||(null==l?void 0:l.BranchId))})}),Ye.jsx(I.Item,{name:"MerchantId",rules:[{required:!0,message:"Please Enter MerchantId"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"MerchantId",label:"Merchant Id",fieldState:!0,fieldApi:!0,autocomplete:"off",isOnChange:!!(null==l?void 0:l.MerchantId),disabled:!!((null==_?void 0:_.length)>0&&!M||(null==l?void 0:l.MerchantId))})}),Ye.jsx(I.Item,{name:"ClientId",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"ClientId",label:"Client Id",fieldState:!0,fieldApi:!0,autocomplete:"off",isOnChange:!!M})}),Ye.jsx(I.Item,{name:"StoreId",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"StoreId",label:"Store Id",fieldState:!0,fieldApi:!0,autocomplete:"off",isOnChange:!!M})}),Ye.jsx(I.Item,{name:"SecurityToken",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"SecurityToken",label:"Security Token",fieldState:!0,fieldApi:!0,autocomplete:"off",isOnChange:!!M})}),Ye.jsx(I.Item,{name:"IMEI",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"IMEI",label:"IMEI",fieldState:!0,fieldApi:!0,autocomplete:"off",isOnChange:!!M})}),Ye.jsx(I.Item,{name:"AutoCancelDurationInMinutes",rules:[{pattern:/^[1-9]\d*$/,message:"Please Enter AutoCancelDurationInMinutes"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"AutoCancelDurationInMinutes",label:"Auto Cancel Duration InMinutes",fieldState:!0,fieldApi:!0,autocomplete:"off",isOnChange:!!M})}),Ye.jsx(F,{title:M?"Update":"Add",placement:"top",children:M?Ye.jsx(ge,{className:"component-add",onClick:async()=>{var e,t;const n=null==(e=o.current)?void 0:e.getFieldsValue();if((null==n?void 0:n.AppId)&&(null==n?void 0:n.UserId)&&(null==n?void 0:n.CompId)&&(null==n?void 0:n.BranchId)&&(null==n?void 0:n.MerchantId)&&(null==n?void 0:n.StoreId)&&(null==n?void 0:n.ClientId)&&(null==n?void 0:n.SecurityToken)&&(null==n?void 0:n.IMEI)&&(null==n?void 0:n.AutoCancelDurationInMinutes)){let e=null==_?void 0:_.filter((e=>e.StoreId===(null==n?void 0:n.StoreId)&&e.ClientId===(null==n?void 0:n.ClientId)&&e.SecurityToken===(null==n?void 0:n.SecurityToken)&&e.IMEI===(null==n?void 0:n.IMEI)&&e.AutoCancelDurationInMinutes===(null==n?void 0:n.AutoCancelDurationInMinutes)));if(0==(null==e?void 0:e.length)){let e=[..._];e[Q]={...e[Q],StoreId:null==n?void 0:n.StoreId,ClientId:null==n?void 0:n.ClientId,SecurityToken:null==n?void 0:n.SecurityToken,IMEI:null==n?void 0:n.IMEI,AutoCancelDurationInMinutes:null==n?void 0:n.AutoCancelDurationInMinutes,ActiveStatus:"A"},O(e)}else u("error"),A("Data Already Exists");R(!1),null==(t=null==o?void 0:o.current)||t.setFieldsValue({StoreId:null,ClientId:null,SecurityToken:null,IMEI:null,AutoCancelDurationInMinutes:null})}else u("error"),A("Please Give Data")}}):Ye.jsx(me,{className:"component-add",onClick:async()=>{var e,t,n;const i=await(null==(e=null==o?void 0:o.current)?void 0:e.validateFields());if((null==i?void 0:i.AppId)&&(null==i?void 0:i.UserId)&&(null==i?void 0:i.CompId)&&(null==i?void 0:i.BranchId)&&(null==i?void 0:i.MerchantId)&&(null==i?void 0:i.StoreId)&&(null==i?void 0:i.ClientId)&&(null==i?void 0:i.SecurityToken)&&(null==i?void 0:i.IMEI)&&(null==i?void 0:i.AutoCancelDurationInMinutes))if((null==_?void 0:_.length)>0){let e=null==_?void 0:_.filter((e=>e.StoreId===(null==i?void 0:i.StoreId)&&e.ClientId===(null==i?void 0:i.ClientId)&&e.SecurityToken===(null==i?void 0:i.SecurityToken)&&e.IMEI===(null==i?void 0:i.IMEI)&&e.AutoCancelDurationInMinutes==(null==i?void 0:i.AutoCancelDurationInMinutes)));0==(null==e?void 0:e.length)?await O([..._,{StoreId:null==i?void 0:i.StoreId,ClientId:null==i?void 0:i.ClientId,SecurityToken:null==i?void 0:i.SecurityToken,IMEI:null==i?void 0:i.IMEI,AutoCancelDurationInMinutes:null==i?void 0:i.AutoCancelDurationInMinutes,ActiveStatus:"A"}]):(u("error"),A("Data Already Exists")),null==(t=null==o?void 0:o.current)||t.setFieldsValue({StoreId:null,ClientId:null,SecurityToken:null,IMEI:null,AutoCancelDurationInMinutes:null})}else await O([..._,{StoreId:null==i?void 0:i.StoreId,ClientId:null==i?void 0:i.ClientId,SecurityToken:null==i?void 0:i.SecurityToken,IMEI:null==i?void 0:i.IMEI,AutoCancelDurationInMinutes:null==i?void 0:i.AutoCancelDurationInMinutes,ActiveStatus:"A"}]),null==(n=null==o?void 0:o.current)||n.setFieldsValue({StoreId:null,ClientId:null,SecurityToken:null,IMEI:null,AutoCancelDurationInMinutes:null});else u("error"),A("Please Give Data")}})})]})}),(null==_?void 0:_.length)>0&&Ye.jsxs("div",{className:"component-table",children:[Ye.jsx(Vb,{columns:W,data:_,dataSource:_,deleteTableRows:Z})," "]}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0,disabled:"Super Admin"!==d&&(_.length<=0||"N"===(null==(t=null==z?void 0:z.find((e=>"Payment Device Config"===(null==e?void 0:e.ConfigName))))?void 0:t.AddAccess)),handleSubmit:async()=>{var t,a,r,s;if((null==_?void 0:_.length)>0){let d=null==(t=null==o?void 0:o.current)?void 0:t.getFieldsValue();const c={AppId:null==d?void 0:d.AppId,CompId:null==d?void 0:d.CompId,BranchId:null==d?void 0:d.BranchId,UserId:null==d?void 0:d.UserId,MerchantId:null==d?void 0:d.MerchantId,DeviceConfigDetails:"add"==e?null==_?void 0:_.map((e=>({StoreId:e.StoreId,ClientId:e.ClientId,SecurityToken:e.SecurityToken,IMEI:e.IMEI,AutoCancelDurationInMinutes:e.AutoCancelDurationInMinutes}))):null==_?void 0:_.map((e=>({UniqueId:null==e.UniqueId?0:e.UniqueId,StoreId:e.StoreId,ClientId:e.ClientId,SecurityToken:e.SecurityToken,IMEI:e.IMEI,AutoCancelDurationInMinutes:e.AutoCancelDurationInMinutes,ActiveStatus:e.ActiveStatus}))),CreatedBy:V};let p={};"add"==e?p=await i(fee(c)).unwrap():"edit"==e&&(c.UniqueId=null==l?void 0:l.UniqueId,c.UpdatedBy=V,p=await i(mee(c)).unwrap()),1==(null==(a=null==p?void 0:p.data)?void 0:a.statusCode)?n(`${yee}setting/payment-device-config`,{state:{Notiffy:{messageType:"success",messageData:null==(r=null==p?void 0:p.data)?void 0:r.response}}}):(u("error"),A(null==(s=null==p?void 0:p.data)?void 0:s.response))}}})})]})})]})})})},bee=Ja("GetAdminData",(async e=>{if(null!=(null==e?void 0:e.Type)&&null!=(null==e?void 0:e.Type)&&null!=(null==e?void 0:e.AppId)&&null!=(null==e?void 0:e.AppId))return await Ne.get(`https://www.pozo.dev/pozo-common-api/UAMFeatAddon?Type=${null==e?void 0:e.Type}&AppId=${null==e?void 0:e.AppId}`)})),wee=Ja("GetAdminData",(async()=>await fA.get("/DeviceInfo"))),jee=Ja("GetMacAddressnotallocated",(async()=>await fA.get('/DeviceInfo?type="DI"'))),Cee=Ja("PostMacAddress",(async e=>await fA.post("/DeviceInfo",e))),See=Ja("PostMacAddress",(async e=>await fA.put("/DeviceInfo",e))),Nee=Ja("PostMacAddress",(async e=>await fA.delete(`/DeviceInfo?activeStatus=${null==e?void 0:e.ActiveStatus}&deviceId=${null==e?void 0:e.deviceId}&updatedBy=${null==e?void 0:e.UpdatedBy}`))),Iee=Ja("Postdeviceallocation",(async e=>await fA.post("/DeviceAllocation",e))),Fee=Ja("GetDeviceallocation",(async()=>await fA.get("/DeviceAllocation"))),Bee=Ja("moduleAccess/getUserAppDetails",(async({UserId:e,AppId:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await fA.get(`/appAccess?UserId=${e}&AppId=${t}`)})),Pee=Ja("PutDeviceAllocation",(async e=>await fA.put("/DeviceAllocation",e))),kee=Ja("DeleteDeviceAllocation",(async e=>await fA.delete(`/DeviceAllocation?activeStatus=${null==e?void 0:e.ActiveStatus}&uniqueId=${null==e?void 0:e.uniqueId}&updatedBy=${null==e?void 0:e.UpdatedBy}`))),Tee="/home/",Eee="/",Dee=({formType:e})=>{var t;const n=a.useRef(null),i=Qt(),r=um(),s=Mt(),l=iA("UserId"),o=null==(t=null==s?void 0:s.state)?void 0:t.editstate,[d,c]=a.useState(null),[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState(null),[v,g]=a.useState(null),[x,b]=a.useState(null),[w,j]=a.useState(null),[C,S]=a.useState([]),[N,F]=a.useState([]),[B,P]=a.useState([]),[T,E]=a.useState([]),[D,L]=a.useState(null),U=[{name:"Home",link:`${Eee}landing-page/home`},{name:"DeviceAllocation",link:`${Eee}setting/device-allocation`},{name:o?"edit":"New",link:null}];a.useEffect((()=>{var e,t,i,a,s;O(),r(Gh({items:U})),M(),o&&(_(),R(null==o?void 0:o.AppId),m(null==o?void 0:o.AppId),b(null==o?void 0:o.UserId),g(null==o?void 0:o.CompId),j(null==o?void 0:o.BranchId),L(null==o?void 0:o.DeviceId),z({UserId:null==o?void 0:o.UserId,AppId:null==o?void 0:o.AppId}),q(null==o?void 0:o.CompId),Q(null==o?void 0:o.UserId),null==(e=n.current)||e.setFieldsValue({ApplicationName:null==o?void 0:o.AppId}),null==(t=n.current)||t.setFieldsValue({AdminName:null==o?void 0:o.UserId}),null==(i=n.current)||i.setFieldsValue({CompanyName:null==o?void 0:o.CompId}),null==(a=n.current)||a.setFieldsValue({BranchName:null==o?void 0:o.BranchId}),null==(s=n.current)||s.setFieldsValue({MacAddress:null==o?void 0:o.DeviceId}))}),[]);const _=async()=>{var e,t;let n={Type:"Kiosk Sales",AppId:null==o?void 0:o.AppId},i=await r(bee(n)).unwrap();P(null==(t=null==(e=null==i?void 0:i.data)?void 0:e.data)?void 0:t.filter((e=>(null==e?void 0:e.Count)>(null==e?void 0:e.AllocatedCount))))},O=async()=>{var t,n,i,a,s,l;try{if(r(Gh({items:U})),"add"==e){let e=await(null==(t=r(jee()))?void 0:t.unwrap());1==(null==(n=null==e?void 0:e.data)?void 0:n.statusCode)&&E(null==(i=null==e?void 0:e.data)?void 0:i.data)}else{let e=await(null==(a=r(wee()))?void 0:a.unwrap());1==(null==(s=null==e?void 0:e.data)?void 0:s.statusCode)&&E(null==(l=null==e?void 0:e.data)?void 0:l.data)}}catch(o){}};a.useEffect((()=>{var e,t;1==(null==d?void 0:d.length)&&(m(null==(e=null==d?void 0:d[0])?void 0:e.AppId),R(null==(t=null==d?void 0:d[0])?void 0:t.AppId))}),[d]),a.useEffect((()=>{var e,t;1==(null==C?void 0:C.length)&&(g(null==(e=null==C?void 0:C[0])?void 0:e.CompId),H(null==(t=null==C?void 0:C[0])?void 0:t.CompId))}),[C]),a.useEffect((()=>{var e,t;1==N.length&&(j(null==(e=null==N?void 0:N[0])?void 0:e.BrId),V(null==(t=null==N?void 0:N[0])?void 0:t.BrId))}),[N]);const M=async()=>{var e,t,n,i;let a=await r(ST(f));1==(null==(t=null==(e=null==a?void 0:a.payload)?void 0:e.data)?void 0:t.statusCode)&&c(null==(i=null==(n=null==a?void 0:a.payload)?void 0:n.data)?void 0:i.data)},R=async e=>{var t,i,a,s;n.current.resetFields(),m(e),b(null),g(null),j(null),L(null),null==(t=n.current)||t.setFieldsValue({ApplicationName:e});let l={Type:"Kiosk Sales",AppId:e},d=await r(bee(l)).unwrap();P(o?null==(i=null==d?void 0:d.data)?void 0:i.data:null==(s=null==(a=null==d?void 0:d.data)?void 0:a.data)?void 0:s.filter((e=>(null==e?void 0:e.Count)>(null==e?void 0:e.AllocatedCount)))),S([]),F([])},Q=e=>{var t;b(e),z({UserId:e,AppId:f}),null==(t=n.current)||t.setFieldsValue({AdminName:e})},H=e=>{var t;g(e),q(e),null==(t=n.current)||t.setFieldsValue({CompanyName:e})},V=e=>{var t;j(e),null==(t=n.current)||t.setFieldsValue({BranchName:e})},z=async({AppId:e,UserId:t})=>{var n,i;const a=await r(Bee({UserId:t,AppId:e})).unwrap();1===(null==(n=null==a?void 0:a.data)?void 0:n.statusCode)?await S(null==(i=a.data)?void 0:i.data):await S([])},q=async e=>{var t,n;const i=await r(yA({storeId:e})).unwrap();1===(null==(t=i.data)?void 0:t.statusCode)?await F(null==(n=i.data)?void 0:n.data):await F([])};return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:u,messageData:A}),Ye.jsxs("div",{className:"formName",children:[Ye.jsx(ab,{title:"Device Allocation"}),Ye.jsx("p",{className:"formdes"})]}),Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{ref:n,className:"formDivAnt",onFinish:async t=>{var a,s,d,c;if("edit"==e){const e={DeviceId:null==t?void 0:t.MacAddress,CompId:null==t?void 0:t.CompanyName,BranchId:null==t?void 0:t.BranchName,AppId:null==t?void 0:t.ApplicationName,UserId:null==t?void 0:t.AdminName,CreatedBy:l,UniqueId:null==o?void 0:o.UniqueId};let d=await r(Pee(e)).unwrap();1==(null==(a=null==d?void 0:d.data)?void 0:a.statusCode)?(n.current.resetFields(),m(null),g(null),j(null),S([]),F([]),i(`${Eee}setting/device-allocation`,{state:{Notiffy:{messageType:"success",messageData:"Device Address Has been Updated Successfully"}}})):(p("error"),h(null==(s=null==d?void 0:d.data)?void 0:s.response))}else{const e={DeviceId:null==t?void 0:t.MacAddress,CompId:null==t?void 0:t.CompanyName,BranchId:null==t?void 0:t.BranchName,AppId:null==t?void 0:t.ApplicationName,UserId:null==t?void 0:t.AdminName,CreatedBy:l};let a=await r(Iee(e));1==(null==(c=null==(d=null==a?void 0:a.payload)?void 0:d.data)?void 0:c.statusCode)&&(n.current.resetFields(),m(null),g(null),j(null),S([]),F([]),b(null),i(`${Eee}setting/device-allocation`,{state:{Notiffy:{messageType:"success",messageData:"Device Address Has been Added Successfully"}}}))}},children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"ApplicationName",rules:[{required:!0,message:"Please Select ApplicationName"}],children:Ye.jsx(_y,{options:null==d?void 0:d.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"Application Name",label:Ye.jsx("label",{className:"required",children:"Application Name"}),className:"field-DropDown",isOnchanges:!!f,onChangeFunction:e=>R(e),valueData:f})}),Ye.jsx(I.Item,{name:"AdminName",rules:[{required:!0,message:"Please Select AdminName"}],children:Ye.jsx(_y,{options:null==B?void 0:B.map((e=>({value:e.UserId,label:""!=e.UserName&&null!=e.UserName&&null!=e.UserName?e.UserName:e.MobileNo}))),placeholder:"Admin Name",label:Ye.jsx("label",{className:"required",children:"AdminName"}),className:"field-DropDown",isOnchanges:!!x,onChangeFunction:e=>Q(e),valueData:x,disabled:!!o})}),Ye.jsx(I.Item,{name:"CompanyName",rules:[{required:!0,message:"Please Select CompanyName"}],children:Ye.jsx(_y,{options:null==C?void 0:C.map((e=>({value:e.CompId,label:e.CompName}))),placeholder:"Company Name",label:Ye.jsx("label",{className:"required",children:"Company Name"}),className:"field-DropDown",isOnchanges:!!v,onChangeFunction:e=>H(e),valueData:v})}),Ye.jsx(I.Item,{name:"BranchName",rules:[{required:!0,message:"Please Select BranchName"}],children:Ye.jsx(_y,{options:null==N?void 0:N.map((e=>({value:e.BrId,label:e.BrName}))),placeholder:"Branch Name",label:Ye.jsx("label",{className:"required",children:"Branch Name"}),className:"field-DropDown",isOnchanges:!!w,onChangeFunction:e=>V(e),valueData:w})}),Ye.jsx(I.Item,{name:"MacAddress",rules:[{required:!0,message:"Please Select MacAddress"}],children:Ye.jsx(_y,{options:null==T?void 0:T.map((e=>({value:e.DeviceId,label:e.DeviceAddress}))),placeholder:"Device Id",label:Ye.jsx("label",{className:"required",children:"Device Id"}),className:"field-DropDown",isOnchanges:!!D,onChangeFunction:e=>(e=>{var t;L(e),null==(t=n.current)||t.setFieldsValue({MacAddress:e})})(e),valueData:D})}),Ye.jsx(y,{buttonText:"Add",color:"blue",icon:Ye.jsx(k,{})})]})}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{})})})]})})]})})})},Lee=[{name:"Home",link:"/landing-page/home"}],Uee=Ja("Loyaltynamepost/LoyaltySettings",(async()=>await fA.get("/LoyaltySettings"))),_ee=Ja("Loyaltynamepost/LoyaltySettings",(async e=>await fA.post("/LoyaltySettings",e))),Oee=Ja("Loyaltynamepost/LoyaltySettings",(async e=>await fA.put("/LoyaltySettings",e))),Mee=Ja("Loyaltynamepost/LoyaltySettings",(async e=>await fA.delete("/LoyaltySettings",{params:e}))),Ree=Ja("Employeerefferalpost",(async()=>await fA.get("RefAppCommissions"))),Qee=Ja("Employeerefferalpost",(async e=>await fA.post("RefAppCommissions",e))),Hee=Ja("Employeerefferalpost",(async e=>await fA.put("RefAppCommissions",e))),Vee=Ja("Loyaltynamepost/LoyaltySettings",(async e=>await fA.delete("/RefAppCommissions",{params:e}))),zee=Ja("RefPayments/RefferedEmployeeList",(async()=>await fA.get("/RefPayments/UserList"))),qee=Ja("getPricingType/getPricingType",(async()=>await fA.get("/configMaster?TypeName=Payment Type&ActiveStatus=A"))),Wee=Ja("ReferredEmployePayPost",(async e=>await fA.post("RefPayments",e))),Yee="/home/",Kee="/home/",Gee=({formType:e})=>{var t,n;const i=Qt(),r=um(),s=Mt(),l=a.useRef(null),o=a.useRef(null),d=null==s?void 0:s.state,c=null==d?void 0:d.editstate,[u,p]=a.useState(iA("UserId")?iA("UserId"):null),[A,h]=a.useState(null),[f,v]=a.useState(null),[x,b]=a.useState("Loyaltypoint"==(null==c?void 0:c.RewardType)?"LY":"CA"),[w,j]=a.useState("edit"===e?c.CommissionType:"O"),[C,S]=a.useState(!1),[N,F]=a.useState([]),[B,T]=a.useState(null),[E,_]=a.useState(null),[O,R]=a.useState(1),[Q,H]=a.useState({});a.useState("");const[V,z]=a.useState(!0),[q,W]=a.useState([]);a.useState([]);const[Y,K]=a.useState(!1),[G,$]=a.useState(),[X,J]=a.useState(),[Z,ee]=a.useState(),[te,ne]=a.useState(),[ie,ae]=a.useState("edit"===e?[]:[{key:0}]),[re,se]=a.useState([]),[le,oe]=a.useState(re),de=a.useRef(!1);let ce=(null==(n=null==(t=null==l?void 0:l.current)?void 0:t.getFieldsValue())?void 0:n.CommissionDetails)||[];ce.map((e=>e.UserType));const[,ue]=a.useState(!1),pe=[{name:"Home",link:`${Kee}landing-page/home`},{name:"Referral Setting",link:`${Kee}setting/referral-setting`},{name:c?"Edit":"New",link:null}];a.useEffect((()=>{var t,n,i;r(Gh({items:pe})),"edit"===e&&c&&(T(null==c?void 0:c.AppId),_("P"==(null==c?void 0:c.AmtType)?"P":"F"),b("Loyaltypoint"==(null==c?void 0:c.RewardType)?"LY":"CA"),ne(null==c?void 0:c.LoyaltySettingId),null==(i=l.current)||i.setFieldsValue({AppId:null==c?void 0:c.AppId,AmtType:null==c?void 0:c.AmtType,CommissionName:null==c?void 0:c.CommissionName,CommissionAmt:"O"==(null==c?void 0:c.CommissionType)?null==(n=null==(t=null==c?void 0:c.CommissionDetails)?void 0:t[0])?void 0:n.CommissionAmt:"",LoyaltySettingId:null==c?void 0:c.LoyaltySettingId})),fe(),xe(),he()}),[]),a.useEffect((()=>{var t;"edit"===e&&("edit"!==e||de.current||(we(null==(t=null==c?void 0:c.CommissionDetails)?void 0:t.length),de.current=!0))}),[e,c]);const Ae=a.useCallback((()=>{v(null),h(null)}),[]),he=async()=>{var e,t,n;const i=await r(db()).unwrap();1===(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&(se(null==(t=null==i?void 0:i.data)?void 0:t.data),oe(null==(n=null==i?void 0:i.data)?void 0:n.data))},fe=async()=>{var e,t;let n=await r(Fb()).unwrap();1===(null==(e=null==n?void 0:n.data)?void 0:e.statusCode)?F(null==(t=null==n?void 0:n.data)?void 0:t.data):F()},ve=[{title:"SI.no",key:"sno",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:n+1}),align:"center",width:"50px"},{title:"Loyalty Name",dataIndex:"NameOfLoyality",key:"NameOfLoyality",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),align:"right",width:"100px"},{title:"Loyalty Point",dataIndex:"PointValue",key:"PointValue",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Action",dataIndex:"Action",key:"Action",width:"100px",render:(e,t,n)=>(null==q?void 0:q.length)>=1?Ye.jsxs(P,{size:"middle",children:["A"===t.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>ge(t,n)})}):"",Ye.jsx("a",{children:"A"==t.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>ye(t)}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>ye(t)})})]}):null}],ge=async(e,t)=>{var n;K(!0),z(!1),$(t),null==(n=null==o?void 0:o.current)||n.setFieldsValue({NameOfLoyality:null==e?void 0:e.NameOfLoyality,PointValue:null==e?void 0:e.PointValue}),J(e),$(t)},ye=async(e,t)=>{if(Y)h("warning"),v("Please update data");else{let t={settingsId:e.SettingId,UpdatedBy:e.UpdatedBy,ActiveStatus:"A"==e.ActiveStatus?"D":"A"};1==(await r(Mee(t)).unwrap()).data.statusCode&&(h("success"),v("A"==e.ActiveStatus?"Loaylty In-Activated Successfully":"Loaylty Activated Successfully"),xe())}},xe=async()=>{var e,t,n;let i=await r(Uee()).unwrap();if(1==i.data.statusCode){let a=null==(t=null==(e=null==i?void 0:i.data)?void 0:e.data)?void 0:t.filter((e=>"A"===e.ActiveStatus));W(null==(n=null==i?void 0:i.data)?void 0:n.data),ee(a)}},{Option:be}=m,we=e=>{const t=Array(e).fill(null).map((()=>({key:`${Date.now()}-${Math.random().toString(36).substr(2,5)}`})));ae((e=>[...e,...t]))};return Ye.jsxs("div",{className:"pageOverAll",children:[Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:A,messageData:f,onComplete:Ae}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Referral Setting"})}),Ye.jsxs(I,{ref:l,className:"formDivAnt",onFinish:async t=>{let n=t;n.AppId=t.AppId,n.CommissionName=t.CommissionName,n.AmtType="P"==t.AmtType?"P":"F",n.LoyaltySettingId=t.LoyaltySettingId,n.RewardType="CA"==x?"Cash":"Loyaltypoint",n.CommissionType=w,"O"==w&&(n.CommissionDetails=[{CommissionAmt:null==t?void 0:t.CommissionAmt,UserType:0}]),c&&(n.CreatedBy=iA("UserId"));let a={};if("add"===e)try{a=await r(Qee(n)).unwrap()}catch(s){"Request failed with status code 422"==s.message&&(a={data:{statusCode:0,response:"Please Give Required Fields",data:[]}})}else if("edit"===e){c&&(n.CommissionId=null==c?void 0:c.CommissionId,n.AmtType="P"==t.AmtType?"P":"F"),n.UpdatedBy=iA("UserId");try{a=await r(Hee(n)).unwrap()}catch(s){"Request failed with status code 422"==s.message&&(a={data:{statusCode:0,response:"Please Give Required Fields",data:[]}})}}1==a.data.statusCode?i(`${Kee}setting/referral-setting`,{state:{Notiffy:{messageType:"success",messageData:a.data.response}}}):(h("error"),v(a.data.response))},initialValues:c,children:[Ye.jsxs("div",{className:"formDivS",children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"1rem",alignItems:"center"},children:[Ye.jsx("h3",{style:{marginTop:"0.8rem"},children:" Referral TYPE : "}),Ye.jsx(fk,{content:[{value:"CA",label:"Cash"},{value:"LY",label:"Loyalty Point"}],defaultSelect:x,value:x,disabled:"edit"==e,onSelectFuntion:e=>(e=>{b(e),T(),_(),l.current.resetFields(),ne()})(e)})]}),Ye.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"1rem",flexWrap:"wrap"},children:[Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application Name "}],children:Ye.jsx(_y,{options:null==N?void 0:N.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"AppId",label:Ye.jsx("label",{className:"required",children:"Application Name"}),className:"field-DropDown",isOnchanges:!("edit"!=e&&!B),onChangeFunction:e=>{var t;T(e),null==(t=l.current)||t.setFieldsValue({AppId:e})},valueData:B,disabled:"edit"==e})}),Ye.jsx(I.Item,{name:"CommissionName",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter CommissionName"},{validator:async(e,t)=>(await lA(t),/^.{1,50}$/.test(t)?Promise.resolve():Promise.reject())}],children:Ye.jsx(Oy,{field:"CommissionName",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Commission Name"}),fieldState:!0,fieldApi:!0,isOnChange:"edit"==e})}),"LY"==x&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(I.Item,{name:"LoyaltySettingId",rules:[{required:!0,message:"Please Select Application Name "}],children:Ye.jsx(_y,{options:null==Z?void 0:Z.map((e=>({value:e.SettingId,label:e.NameOfLoyality}))),placeholder:"LoyaltySettingId",label:Ye.jsx("label",{className:"required",children:"Loyalty Name"}),className:"field-DropDown",isOnchanges:!("edit"!=e&&!te),onChangeFunction:e=>{var t;ne(e),null==(t=l.current)||t.setFieldsValue({LoyaltySettingId:e})},valueData:te,disabled:"edit"==e})}),Ye.jsx(me,{onClick:()=>{return S(!0),xe(),null==(e=o.current)||e.resetFields(),K(!1),void z(!0);var e},style:{fontSize:"20px",marginBottom:"40px"}})]}),"CA"==x&&Ye.jsx(Ye.Fragment,{children:Ye.jsx(I.Item,{name:"AmtType",rules:[{required:!0,message:"Please Enter AmtType"}],children:Ye.jsx(_y,{options:[{value:"F",label:"Fixed"},{value:"P",label:"Percentage"}],placeholder:"Amount Type",label:Ye.jsx("label",{className:"required",children:"Amount Type"}),className:"field-DropDown",isOnchanges:!("edit"!=e&&!E),onChangeFunction:e=>{var t;_(e),null==(t=l.current)||t.setFieldsValue({AmtType:e})},valueData:E,disabled:"edit"==e})})}),Ye.jsx(fk,{content:[{value:"I",label:"Individual"},{value:"O",label:"Overall"}],defaultSelect:w,value:w,onSelectFuntion:t=>(t=>{var n,i;j(t),"add"==e&&ae([{key:0}]),"O"==(null==c?void 0:c.CommissionType)?(null==(n=l.current)||n.setFieldsValue({CommissionDetails:[]}),ae([{key:0}])):"I"==(null==c?void 0:c.CommissionType)&&(null==(i=l.current)||i.setFieldsValue({CommissionAmt:""}))})(t)}),Ye.jsxs("div",{children:[Ye.jsx("div",{children:"I"===w&&ie.map(((e,t)=>Ye.jsx("div",{style:{display:"flex"},children:Ye.jsxs("div",{style:{marginBottom:"20px",padding:"10px",border:"1px solid #ccc",borderRadius:"8px",position:"relative"},children:[Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(M,{onClick:()=>((e,t)=>{var n;let i=ce.filter(((e,n)=>n!==t));if(null==(n=null==l?void 0:l.current)||n.setFieldsValue({CommissionDetails:i}),(null==ie?void 0:ie.length)>1){let t=ie.filter((t=>t.key!==e));ae(t)}ue((e=>!e))})(e.key,t),style:{height:"20px",width:"15px",fontSize:"20px",color:"red",cursor:"pointer",margin:"0px 2px 5px 2px"}})}),Ye.jsx(I.Item,{label:Ye.jsx("label",{className:"required",children:"User Type"}),name:["CommissionDetails",t,"UserType"],rules:[{required:!0,message:"Please Select UserType"},{validator:(e,t)=>{var n,i,a;return((null==(a=null==(i=null==(n=null==l?void 0:l.current)?void 0:n.getFieldsValue())?void 0:i.CommissionDetails)?void 0:a.map((e=>null==e?void 0:e.UserType)))||[]).filter((e=>e===t)).length>1?Promise.reject(new Error("This User Type has already been selected.")):Promise.resolve()}}],children:Ye.jsx(m,{onChange:(e,n)=>((e,t)=>{var n,i,a;const r=((null==(i=null==(n=null==l?void 0:l.current)?void 0:n.getFieldsValue())?void 0:i.CommissionDetails)||[]).map(((n,i)=>i===e?{...n,UserType:null==t?void 0:t.value,CommissionAmt:void 0}:n));null==(a=l.current)||a.setFieldsValue({CommissionDetails:r}),ae(ie),ue((e=>!e))})(t,n),placeholder:"Select User Type",children:le.map((e=>{var t,n,i;const a=((null==(i=null==(n=null==(t=null==l?void 0:l.current)?void 0:t.getFieldsValue())?void 0:n.CommissionDetails)?void 0:i.map((e=>null==e?void 0:e.UserType)).filter(Boolean))||[]).includes(e.ConfigId);return Ye.jsx(be,{value:e.ConfigId,disabled:a,children:e.ConfigName},e.ConfigId)}))})}),Ye.jsx(I.Item,{label:Ye.jsx("label",{className:"required",children:"CA"===x?"Commission "+("P"==E?"percentage":"Fixed"):"Commission Amount (Fixed)"}),name:["CommissionDetails",t,"CommissionAmt"],rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Commission Amount"},{validator:async(e,t)=>{if(await lA(t),!/^\d+(\.\d{1,2})?$/.test(t))return Promise.reject("Commission Amount must be a valid positive number with up to two decimal places.");const n=parseFloat(t);if("CA"==x&&"P"===E){if(n<1)return Promise.reject("Commission Amount must be greater than or equal to 1.");if(n>100)return Promise.reject("Commission Amount cannot be greater than 100.")}return Promise.resolve()}}],children:Ye.jsx(g,{onChange:()=>ue((e=>!e)),autoComplete:"off"})})]},e.key)})))}),"I"==w&&Ye.jsx(me,{style:{fontSize:"35px"},onClick:()=>{var e,t,n,i;const a=(null==(t=null==(e=null==l?void 0:l.current)?void 0:e.getFieldsValue())?void 0:t.CommissionDetails)||[];if((null==(n=null==a?void 0:a[a.length-1])?void 0:n.UserType)&&(null==(i=null==a?void 0:a[a.length-1])?void 0:i.CommissionAmt)){if(ie.length>=re.length)return v(`You can only add up to ${re.length} entries.`),void h("warning");ae([...ie,{key:Date.now()}])}else v("please add select User type and Commission Amount"),h("warning")}})]}),"O"==w&&Ye.jsx(I.Item,{name:"CommissionAmt",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Commission Amount"},{validator:async(e,t)=>{if(await lA(t),!/^\d+(\.\d{1,2})?$/.test(t))return Promise.reject("Commission Amount must be a valid positive number with up to two decimal places.");const n=parseFloat(t);if("CA"==x&&"P"===E){if(n<1)return Promise.reject("Commission Amount must be greater than or equal to 1.");if(n>100)return Promise.reject("Commission Amount cannot be greater than 100.")}return Promise.resolve()}}],children:Ye.jsx(Oy,{field:"CommissionAmt",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"CA"==x?"Commission "+("P"==E?"percentage":"Fixed"):"Commission Amount (Fixed)"}),fieldState:!0,fieldApi:!0,isOnChange:"edit"==e&&"O"==(null==c?void 0:c.CommissionType)})})]})]}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0})})]})]})}),Ye.jsx(SP,{title:"ADD LOYALTY",width:1e3,open:C,children:Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"purchase-info-model",children:Ye.jsx(I,{ref:o,onFinish:()=>V?(async()=>{var e,t,n,i,a,s,l,d;const c=o.current.getFieldsValue();if(null!=c.NameOfLoyality&&null!=c.NameOfLoyality&&""!=c.NameOfLoyality&&null!=c.PointValue&&null!=c.PointValue&&""!=c.PointValue){let o=null==q?void 0:q.filter((e=>e.NameOfLoyality===c.NameOfLoyality&&e.PointValue===c.PointValue));if(0==(null==o?void 0:o.length)){z(!0);let o={NameOfLoyality:c.NameOfLoyality,PointValue:c.PointValue,CreatedBy:u},d=await r(_ee(o)).unwrap();if(1==d.data.statusCode){S(!1),h("success"),v(null==(e=null==d?void 0:d.data)?void 0:e.response);let l=await r(Uee()).unwrap();if(1==l.data.statusCode){let e=null==(n=null==(t=null==l?void 0:l.data)?void 0:t.data)?void 0:n.filter((e=>"A"===e.ActiveStatus));W(null==(i=null==l?void 0:l.data)?void 0:i.data),ee(e),h("success"),v(null==(a=null==l?void 0:l.data)?void 0:a.response)}else h("error"),v(null==(s=null==l?void 0:l.data)?void 0:s.response)}else h("error"),v(null==(l=null==d?void 0:d.data)?void 0:l.response);K(!1)}else h("error"),v("Data Already Exists")}else v("Fill the Blanks"),h("error");null==(d=o.current)||d.resetFields()})():(async()=>{var e,t,n,i,a,s,l,d,c;const p=null==(e=o.current)?void 0:e.getFieldsValue();let A={SettingsId:null==X?void 0:X.SettingId,NameOfLoyality:null==p?void 0:p.NameOfLoyality,PointValue:null==p?void 0:p.PointValue,UpdatedBy:u},f=await r(Oee(A)).unwrap();if(1==(null==(t=null==f?void 0:f.data)?void 0:t.statusCode)){S(!1),J(),h("success"),v(null==(n=null==f?void 0:f.data)?void 0:n.response),o.current.resetFields();let e=await r(Uee()).unwrap();if(1==f.data.statusCode){let t=null==(a=null==(i=null==e?void 0:e.data)?void 0:i.data)?void 0:a.filter((e=>"A"===e.ActiveStatus));W(null==(s=null==e?void 0:e.data)?void 0:s.data),ee(t),h("success"),v(null==(l=null==e?void 0:e.data)?void 0:l.response)}else h("error"),v(null==(d=null==e?void 0:e.data)?void 0:d.response)}else h("error"),v(null==(c=null==f?void 0:f.data)?void 0:c.response);z(!0),K(!1),$(null),o.current.resetFields()})(),children:Ye.jsxs("div",{className:"formDivS",children:[Ye.jsx(Qy,{messageType:A,messageData:f,onComplete:Ae}),Ye.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"1rem",flexWrap:"wrap"},children:[Ye.jsx(I.Item,{name:"NameOfLoyality",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Loyalty Name"},{validator:async(e,t)=>{await lA(t)}}],children:Ye.jsx(Oy,{field:"NameOfLoyality",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Loyalty Name"}),fieldState:!0,fieldApi:!0,isOnChange:!!Y})}),Ye.jsx(I.Item,{name:"PointValue",rules:[{required:!0,pattern:/^[1-9]\d*(\.\d+)?$/,message:"Please Enter Loyalty point"},{validator:async(e,t)=>{await lA(t)}}],children:Ye.jsx(Oy,{field:"PointValue",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Points"}),fieldState:!0,fieldApi:!0,isOnChange:!!Y})}),Ye.jsx(y,{className:"combo-product-btn",type:"primary",htmlType:"submit",children:V?"Add":"Update"})]}),Ye.jsx("div",{className:"combomaster-table",children:Ye.jsx(Vb,{columns:ve,data:q,pagination:e=>{R(e)},onChange:(e,t,n)=>{H(n)}})})]})})})}),handleCancel:()=>(S(!1),void T(null))})]})},$ee=Ja("appAccess/getActiveAppCompanyData",(async e=>await fA.get(`/appAccess?AppId=${null==e?void 0:e.AppId}`))),Xee=Ja("appAccess/getActiveBranchData",(async({AppId:e,CompId:t})=>await fA.get(`/appAccess?AppId=${e}&CompId=${t}`)));Ja("appAccess/getAppCompanyData",(async({AppId:e,CompId:t,BranchId:n})=>await fA.get(`/appAccess?AppId=${e}&CompId=${t}&BranchId=${n}`)));const Jee=Ja("appAccess/getAppCompanyData",(async({Type:e,BranchId:t})=>await fA.get(`/login?Type=${e}&BranchId=${t}`))),Zee=Ja("ActivationKeyGeneration",(async e=>await fA.post("/UserKeyGeneration",e))),ete=Ja("getActivationKeyGeneration",(async()=>await fA.get("/UserKeyGeneration"))),tte=Ja("configMaster/getConfigNames",(async({TypeName:e})=>{if(null!=e&&null!=e)return await fA.get(`/configMaster?TypeName=${e}`)})),nte=Ja("ActivationKeyGenerationput",(async e=>await fA.put("/UserKeyGeneration",e))),ite=Ja("ActivationKeyGenerationdelete",(async e=>await fA.delete(`/UserKeyGeneration?UniqueId=${null==e?void 0:e.UniqueId}&ActiveStatus=${null==e?void 0:e.ActiveStatus}&Reason=${e.Reason}&updatedBy=${e.updatedBy}`))),ate="data:image/webp;base64,UklGRsANAABXRUJQVlA4WAoAAAAQAAAA/gEAfwAAQUxQSLELAAAB8FZtW95s27YtEnDQVUIcFAdbHSQOsjmgDnI44HAQCUiIhFUCEtYf/WBhDduV6/O+I2IC8D/+i/nVo+T0mP4ToFpzuUgf6z7LtVuMOF2q1zJfucJIl8tMn3LVxJj1gpnp86JlisUrZqbxkimnXDOz5wV7GDlcNDvkcmVWumqmcrHE2MdlM5VrtdAsXjbTcKmUt103269UNH4N181+L1TuYOuFq3KZQu1RLpzly7RY1+kyaOLmcnSweJVKn3QZCujhJ9PKRRLrW68PAMkkk2uUO1m8QsBSOekaaa9yjTBVSr1ED+serhEixeIV2vuli4SNki6QWP9ylYIyygVaHFi8SFgZ9QJpWyVsVylUgt0uT7T2XNpquEjYGT+XJxPua5utV2llzB3ksaT8dktLDH9UmJa05bdpfUxnCNauCIRyrjAtKb9Na5xONy1py69pfUzjmRiJFJ+lWmsta+wxpbOuPWTNas1lewRnC2EFSpvdusTU/PgqPos11rJOPSQ1r1/JWqo1li2ORRgbI+ZqbM2RtthZlSZPNfo+uyoEASIhdUnWnD+FpxpXZ6FFa9YvlmJczTIQMHJTeFbrq/OfEIv11SxuxNoLgFDb6inCs1rHLN5+q3Xcp78jPKv113l4sZjDLE4yYQaArc3iCZZqnTfxFA/rnGUQodtSzaf+DE2K+axPH0oIL5FQ3IXd+uvs5x9z+BzDxEjfSDG/Wcb1NL8qDhZrz3irbRaciZrLp5NQzGWREcQ+SzXPOg1KDnP97LcT7u8SIfmaqjk9xIOoOVUZQGLMn/4x788hxWrO99BJrF3xPhCKK1Fzq9IvqLmt0/kK4/4u7Ob/OaBf86/SZyXkDyhtFh0VNccq3XZzXKeziTHDm3DYGfNwnnZGlS5KkE8rYXPkXEMn51VOlhmK13DYOfNgnnZOlQ7R2g98DrWthkFZGYlpOJUYc3+z21mfQ/m1s2rgZcL8BfY2W0dlz5FYOVWmzC9PO+/vQCY7b6GJEeWbSCjDsjgS+z3R06gCYLET12kYoieyjbUQdnxd2+w2LB1KldP8GvUAIJVWyzbfb7fpPm+FZhre/ahLyvEhG1239We6TfeftFeaRdJBmL/bCOkUtWzzfbpN95+0V5olN8c2/0y32/1n3ZVm5SThH+POAIqRyxzwrSxKsu2dz4Vyf7cYuaYbvr5nlgaKWHvF95FQT1DWgK/vmVWDC00BX0+ZZfEUixq3CrAYt9zRvijHop/FmDPeinJqCmiWzLFEyYTcgNJm0dtxR7vsHEsO6ox2yaTiTh5bNXYGoJS6ghoSp7iZKiPhfTbqHkBdlGLCUMK9JRGKsw3cX04N3fYAalSKRVYt1EOr9RTgaUydwH5UhkUnUzViwnsx6gq2HJRCWKxd0RoINbiawZ4qw9ZeCWxRSmadMQFBGSrgT5VRfIgaMeFjpszgh4Nhsa0QUhNKm62eZvCnyiidEviijBpGoQAWI6qg58Sw6EHUiBs+ijFX9AwHY2sSI0rbQiiOVvR8MCx22dBTKsHWUdwBKEPQ95dRHIgaccfnxEjoK5VQQ0siFLSH2mbRTUbfjZF6KPpGRhlEAhCNmNC7ECx0C2rEI3yhBEXvB8HWFiXMBGyEzYtKJxyE0kM6YSNYGEIGgExQdBfG2iscRtSAz9GI0g2FUBqiEYURCTU4mdE7EizwMnqHSvgZwRFelHDvh0QovYoRVfDlRsjoHwkWvsuEDGpts9mHon8hzDzphkTYBlACAEzWrnAYCDX0+deIKvj2IIgDFML8lRjxh5MIxcfsIBI2Wkb/QDjOt+HtSpg9oLRZ7PKPEVXwbbD2Ao+RkL9aCAquECy4EAeobYV2d4DSVs9WV7zfCeIiEtYeTyPWCV8/CLOLUNv0q4OQSSiE5KHA49ZWWRUelzY7WRF8PNoKXIbatnd4GvOB7xNBXCC3WfhiMuLEWgnVw+piabMbaXcRxqIzvrT2zQdKm/KexpzRuLcpfC6E6YtMULBDbbPoYHIRCBNpdQEdSJnx7UT4cbK1GW0xZkJradudTIT5CyXMNBRCcQCftW0m3X3so6jbHd9HwuRkIdxID2MmNNe25ASE9dNiROFFQg3dDieHl+BjG0Et6Y7mhRCcRC9TZSS0W/vqRdu2T4WgqSPB1m7FSW5LnAqfq49a2Dmn+ecGKgNOhXCnSDXihvZA+PFytOUPYmcv3bKTzYk6WXwU+E9tOhRRI+4gCuHupfDS6SyOIbVlzuEk/kcjuBA14hH+Bj3f1msbSrksokbUgD8h2vlr6JSvw9pWvYiDoEZUgZOfs+UB2DymxFEnj1EtbeZl6hcOI6qATJi9HG3bG7ERliHkoSyjehBuTiLh1rIbUQXs2rZ6qW3pzTIEC30OJ8WJOUmjmgg/TlYCGv81Yp1A17bsJFj7/EbHkPqok6NtJt187KMKhNXJ3lYbnsZ8gL+3HU4i4f4y2RhrHwsugrXfST8+jlGhtmUn2la+expzRsetzYKPjRBe8iAs9okuImEibS6CDau0VR+TtW9fPY2Z0HMhRB9HW8WrjqL02VxsBJCKiziurc2ii43w883TmAldJ8LmQqy9vCw2yhq6qAttO1gWPORxPQjZhRLki8WYCZ1rWw0eMiG9lGHY2sWig8nad9rqQdt0GIFQg4PF2hWfH8bc0Htvs+RAlHAHIDbO0mdzkAkr7XCwWPs+DJQ22xwoIX+aKmNH94VQQ7+ntSsA5IFY7FKlmxjxTrPYTwnrOFaCTd1+jXj/INWIR+gXapulbmLE/KIEvfmcGFsXy90yoYKn3RYjTuMIlXD0kkpQvBc1ogY4LASbemXGHcDDiCucFkINXSx2WoyYO1jqJEpQjAMbwbZOasT5nagRVeAxMlT6PI2oAJAZ4uWHYD99VLqIMn56WOxzGDGPJDLs2eVfI6q8ETWiCnwWgh2hx2LMGYAYscBrqITSx47QIagRFV1UevxjzGkkKAx7dvjXmAmvQY1YBU4Xhh3CW4ypALAwZjfYCBb62BFo4TBm7mMqvKcxFUOJFNsCSYoxVV7CYcQ6wW1hmArradT5RRnBT2SkTqZCEjWqdDKNpLAbdR4LMsU0Uh7VqCted2M+4DdSzJ4UKUZVAIhGzHCshNrLdKb8VqMW9DJ7UqIaVTGYUClmOTbFYlzF67/GnOF555jOoWXKRpaXzLh7SgSLvcx0bnqoke8OTOfQEouR59Hgl2SmWwwfwmOrxpaXX2Mei9uXUDlmNc/ThzCtxdgJAEIlKDwLY+9npvkRPoTHVo2d4cGs5nn6EOLzMLZiONhZr7WUUo5qHRNeM8XxCx6s13qUUg61jorXxYjZFQqhBgev9SilHNV6ipPXepRSDrWe84CCduhfMAxsHfpXeVMYk6+VYKsThwmOHGYMCFJPozIQlPM88CpGPOA7VEIZhGIkKkPCVE+igpGE4ywJbzNjdoadYHEIKkOZMSYs51DBUCB6joT3yhBvkbEN4YGRJIwKj3oCFQwGcpwh4f3DiAXuK6EGTqmuVnSq6mrDuCDq7hAMB2F3V2d83Bmzv41gP5y8eEropVIdZYwMcjjLAQMCkjOd8FGMWOE/MgoJyc+Mfpiqm4SxAclTXfH9QBDV0xbweWHkE6AQLJCQnOgdHjBVJyuGB1E3RTAsyOZG7/hWGfczJEZi4aEeisAHRD3ohD8AWNTFcUfzUAApLmoK+DYaUXHGwKg0SOlWVzBJCFu/FPA3AIt2KzOIgwHupVtNAd9nxnYKFIJFGrBol5oCHAGT9imC9nEBS+lR9zuowwEka4+yBjSGypBzLIy9A7AoraYAMg9YDlrd7mCODJBlr5Sa5wDygADcs1JqWW9oX4xYcM5QCTX0AO5ZCTXfwe8BTFkJtawBf/O0bOWoH6ru23zD3ys/aS/1k5a83gP+4D4ApnUv9YPu2zqhax8AsmxFP+iR13vAX397xV8fbrfbDX94t/e32+0W4LDb+3C73QL+69CJWyf/1fj//ff//ff//ffXAQBWUDgg6AEAALAoAJ0BKv8BgAA+TR6MRCKhoRh/3AAoBMS0t3Cytyj/FPwA/AD8XqIMB+AH6AfwDyAPoA/gHGAfwCBAPwAvdNFv0A/gH4AfoB/Jej+N+E1f70QHvlG0c8ZTKZTKFoTPSQH0rGdxoTcAnOe+MRxJuBZPJKwy/YpoXw69hHlEYnyX5gih7EJj+J6qKykx/Gk+XmeSG3OLWHrm13zym7UAhXH9GzfUtunvQMDQgmyi78bjbhr8s/r+F2gwALLPmzx+y4g1s6iKTwevTtSai+q475957cPJS15Wyc4A8Ek+K/0HuPj1y1s0vnwf2zKlHsxLtu4mqzLmHiC3GZPGxiuWOhUzEGaeD9quE/cbfRZc0x5qSxzO83e1M5WhAeij9DBdj44pWmMElNLa2UxDkNfGz60AUHMRIroOUiQkWjjcbjcbjcbjcbjcbdg/F+wAkoAA/fRxezJf6hXF8ie2j/+fCaP1MU8PqFOkezqn6LLf6hTodyJT6hToT31CnP4Mv/+4iu+pit3WRe25u+phAv+oRJ9TCOdy5AffwrtlyRg1F6vn+ou91NPa2mlV+eToq+TB9f4V2y5Mt9QY2vqDAMT6mLwSQRP9TCBf2Av9TB+d+pg9jIPTT8QFX6mKP1ekvzV1vqYqor8AAAAA",rte="/home/";Ne.interceptors.response.use(null,(e=>(e.response&&e.response.status>=400&&e.response.status,Promise.reject(e))));const ste={get:Ne.get,post:Ne.post,put:Ne.put,delete:Ne.delete},lte=Ne.create({baseURL:"https://www.pozo.dev/pozo-common-api",headers:{"Content-Type":"application/json"}}),ote=Ja("blog/postBlog",(async e=>await fA.post("/Blog",e))),dte=Ja("blog/putBlog",(async e=>await fA.put("/Blog",e))),cte=Ja("blog/deleteBlog",(async e=>await fA.delete(`/Blog?blogId=${null==e?void 0:e.blogId}&activeStatus=${null==e?void 0:e.activeStatus}&updatedBy=${(null==e?void 0:e.updatedBy)||1}`))),ute=Ja("blog/getBlog",(async()=>await fA.get("/Blog"))),pte=Ja("blog/getPublishedBlogs",(async()=>await lte.get("/Blog?published=Y"))),Ate=Ja("blog/getPublishedBlogs",(async({slug:e})=>await lte.get(`/Blog?slug=${e}`))),hte=Ja("blog/postComments",(async e=>await lte.post("/Comments",e))),fte=a.createContext(),mte=()=>{const e=a.useContext(fte);if(!e)throw new Error("useEditor must be used within EditorProvider");return e},vte=({children:e,initial:t})=>{const n=um();Qt();const i=Mt(),{isEdit:r=!1,blog:s=null}=(null==i?void 0:i.state)||{},[l,o]=a.useState(t||{title:"",slug:"",status:"DRAFT",featureImage:"",seoTitle:"",seoDescription:"",focusKeyword:"",category:"",tags:"",author:"",featured:!1,allowComments:!1,popular:!1,publishDate:"",blocks:[]}),[d,c]=a.useState(!1),[u,p]=a.useState(null),[A,h]=a.useState(!1),[f,m]=a.useState(r);return Ye.jsx(fte.Provider,{value:{post:l,setField:(e,t,n)=>{o((n=>({...n,[e]:t}))),n||h(!0)},setPost:o,saveToServer:async(e={})=>{var t,i,a,d,u,v,g,y,x;if(!A&!r)throw new Error("No changes have been made");c(!0);try{const r={...l,...e},c={BlogTitle:r.title,BlogSubtitle:r.seoDescription,SEOBlogTitle:r.seoTitle,SEOBlogSubTitle:r.seoDescription,PublishDate:r.publishDate,PublishTime:null==(i=null==(t=r.publishDate)?void 0:t.split("T"))?void 0:i[1],BlogContent:r.blocks,IsPublished:"DRAFT"===(null==r?void 0:r.status)?"N":"Y",HeaderImage:null==r?void 0:r.featureImage,Keywords:(null==r?void 0:r.focusKeyword)?r.focusKeyword.split(" ").map((e=>e.trim())):[],Author:null==r?void 0:r.author,IsFeatured:(null==r?void 0:r.featured)?"Y":"N",AllowComments:(null==r?void 0:r.allowComments)?"Y":"N",Popular:(null==r?void 0:r.popular)?"Y":"N",Slug:null==r?void 0:r.slug};let A;if(f){const e=(null==s?void 0:s.BlogId)||(null==l?void 0:l.BlogId),t={...s,...c,BlogId:e};if(0===(null==(a=null==t?void 0:t.BlogContent)?void 0:a.length))throw new Error("No Blocks Added");A=await(null==(d=n(dte(t)))?void 0:d.unwrap())}else{if(0===(null==(u=null==c?void 0:c.BlogContent)?void 0:u.length))throw new Error("No Blocks Added");A=await(null==(v=n(ote(c)))?void 0:v.unwrap()),1===(null==(g=null==A?void 0:A.data)?void 0:g.statusCode)&&(m(!0),o((e=>{var t,n,i,a;return{...e,BlogId:null==(n=null==(t=A.data.data)?void 0:t[0])?void 0:n.BlogId,title:null==(a=null==(i=A.data.data)?void 0:i[0])?void 0:a.BlogTitle}})))}if(1===(null==(y=null==A?void 0:A.data)?void 0:y.statusCode))return Object.keys(e).length>0&&o((t=>({...t,...e}))),p(new Date),h(!1),{success:!0,data:null==A?void 0:A.data};throw new Error((null==(x=null==A?void 0:A.data)?void 0:x.response)||"Failed to save")}catch(b){return{success:!1,error:b.message||String(b)}}finally{c(!1)}},postData:async()=>{var e,t,i,a,o,d,c,u;if(null==(e=null==l?void 0:l.errors)?void 0:e.error)throw new Error((null==(t=null==l?void 0:l.errors)?void 0:t.errorMessage)||"Failed to save");const p={BlogTitle:l.title,BlogSubtitle:l.seoDescription,SEOBlogTitle:l.seoTitle,SEOBlogSubTitle:l.seoDescription,PublishDate:l.publishDate,PublishTime:null==(a=null==(i=l.publishDate)?void 0:i.split("T"))?void 0:a[1],BlogContent:l.blocks,IsPublished:"DRAFT"===(null==l?void 0:l.status)?"N":"Y",HeaderImage:null==l?void 0:l.featureImage,Keywords:(null==l?void 0:l.focusKeyword)?l.focusKeyword.split(" ").map((e=>e.trim())):[],Author:null==l?void 0:l.author,IsFeatured:(null==l?void 0:l.featured)?"Y":"N",AllowComments:(null==l?void 0:l.allowComments)?"Y":"N",Popular:(null==l?void 0:l.popular)?"Y":"N",Slug:null==l?void 0:l.slug};let A;if(A=r?await(null==(o=n(dte({...s,...p})))?void 0:o.unwrap()):await(null==(d=n(ote(p)))?void 0:d.unwrap()),1===(null==(c=null==A?void 0:A.data)?void 0:c.statusCode))return null==A?void 0:A.data;throw new Error((null==(u=null==A?void 0:A.data)?void 0:u.response)||"Failed to save")},fetchPost:async e=>{const t=`https://www.pozo.dev/pozo-common-api/posts/${e}`,n=await ste.get(t);return o(n.data),h(!1),n.data},clearDraft:()=>{o({title:"",slug:"",status:"DRAFT",featureImage:"",seoTitle:"",seoDescription:"",focusKeyword:"",category:"",tags:"",author:"",featured:!1,allowComments:!0,publishDate:"",blocks:[]}),h(!1)},saving:d,savedAt:u,hasUnsavedChanges:A},children:e})};var gte={exports:{}};window,gte.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(i,a,function(t){return e[t]}.bind(null,a));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=62)}([function(e,t,n){e.exports=n(31)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.parseStartTime=function(e){return p(e,o)},t.parseEndTime=function(e){return p(e,d)},t.randomString=function(){return Math.random().toString(36).substr(2,5)},t.queryString=function(e){return Object.keys(e).map((function(t){return"".concat(t,"=").concat(e[t])})).join("&")},t.getSDK=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i.default,s=A(t);return s&&a(s)?Promise.resolve(s):new Promise((function(i,a){if(h[e])h[e].push({resolve:i,reject:a});else{h[e]=[{resolve:i,reject:a}];var s=function(t){h[e].forEach((function(e){return e.resolve(t)}))};if(n){var l=window[n];window[n]=function(){l&&l(),s(A(t))}}r(e,(function(i){i?(h[e].forEach((function(e){return e.reject(i)})),h[e]=null):n||s(A(t))}))}}))},t.getConfig=function(e,t){return(0,a.default)(t.config,e.config)},t.omit=function(e){for(var t,n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];for(var r=(t=[]).concat.apply(t,i),s={},l=0,o=Object.keys(e);l<o.length;l++){var d=o[l];-1===r.indexOf(d)&&(s[d]=e[d])}return s},t.callPlayer=function(e){var t;if(!this.player||!this.player[e])return"ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(e,"%c – "),this.player&&this.player[e],null;for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return(t=this.player)[e].apply(t,i)},t.isMediaStream=function(e){return"undefined"!=typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream},t.isBlobUrl=function(e){return/^blob:/.test(e)},t.supportsWebKitPresentationMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.createElement("video"),t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t};var i=r(n(38)),a=r(n(10));function r(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],i=!0,a=!1,r=void 0;try{for(var s,l=e[Symbol.iterator]();!(i=(s=l.next()).done)&&(n.push(s.value),!t||n.length!==t);i=!0);}catch(o){a=!0,r=o}finally{try{i||null==l.return||l.return()}finally{if(a)throw r}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var o=/[?&#](?:start|t)=([0-9hms]+)/,d=/[?&#]end=([0-9hms]+)/,c=/(\d+)(h|m|s)/g,u=/^\d+$/;function p(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var i=n[1];if(i.match(c))return function(e){for(var t=0,n=c.exec(e);null!==n;){var i=s(n,3),a=i[1],r=i[2];"h"===r&&(t+=60*parseInt(a,10)*60),"m"===r&&(t+=60*parseInt(a,10)),"s"===r&&(t+=parseInt(a,10)),n=c.exec(e)}return t}(i);if(u.test(i))return parseInt(i)}}}function A(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var h={}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.canPlay=t.FLV_EXTENSIONS=t.DASH_EXTENSIONS=t.HLS_EXTENSIONS=t.VIDEO_EXTENSIONS=t.AUDIO_EXTENSIONS=t.MATCH_URL_KALTURA=t.MATCH_URL_VIDYARD=t.MATCH_URL_MIXCLOUD=t.MATCH_URL_DAILYMOTION=t.MATCH_URL_TWITCH_CHANNEL=t.MATCH_URL_TWITCH_VIDEO=t.MATCH_URL_WISTIA=t.MATCH_URL_STREAMABLE=t.MATCH_URL_FACEBOOK_WATCH=t.MATCH_URL_FACEBOOK=t.MATCH_URL_VIMEO=t.MATCH_URL_SOUNDCLOUD=t.MATCH_URL_YOUTUBE=void 0;var i=n(1);function a(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,l=!0,o=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return l=e.done,e},e:function(e){o=!0,s=e},f:function(){try{l||null==n.return||n.return()}finally{if(o)throw s}}}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var s=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;t.MATCH_URL_YOUTUBE=s;var l=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;t.MATCH_URL_SOUNDCLOUD=l;var o=/vimeo\.com\/.+/;t.MATCH_URL_VIMEO=o;var d=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;t.MATCH_URL_FACEBOOK=d;var c=/^https?:\/\/fb\.watch\/.+$/;t.MATCH_URL_FACEBOOK_WATCH=c;var u=/streamable\.com\/([a-z0-9]+)$/;t.MATCH_URL_STREAMABLE=u;var p=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;t.MATCH_URL_WISTIA=p;var A=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;t.MATCH_URL_TWITCH_VIDEO=A;var h=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;t.MATCH_URL_TWITCH_CHANNEL=h;var f=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;t.MATCH_URL_DAILYMOTION=f;var m=/mixcloud\.com\/([^/]+\/[^/]+)/;t.MATCH_URL_MIXCLOUD=m;var v=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-]+)/;t.MATCH_URL_VIDYARD=v;var g=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_]+)$/;t.MATCH_URL_KALTURA=g;var y=/\.(m4a|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;t.AUDIO_EXTENSIONS=y;var x=/\.(mp4|og[gv]|webm|mov|m4v)($|\?)/i;t.VIDEO_EXTENSIONS=x;var b=/\.(m3u8)($|\?)/i;t.HLS_EXTENSIONS=b;var w=/\.(mpd)($|\?)/i;t.DASH_EXTENSIONS=w;var j=/\.(flv)($|\?)/i;t.FLV_EXTENSIONS=j;var C={youtube:function(e){return e instanceof Array?e.every((function(e){return s.test(e)})):s.test(e)},soundcloud:function(e){return l.test(e)&&!y.test(e)},vimeo:function(e){return o.test(e)&&!x.test(e)&&!b.test(e)},facebook:function(e){return d.test(e)||c.test(e)},streamable:function(e){return u.test(e)},wistia:function(e){return p.test(e)},twitch:function(e){return A.test(e)||h.test(e)},dailymotion:function(e){return f.test(e)},mixcloud:function(e){return m.test(e)},vidyard:function(e){return v.test(e)},kaltura:function(e){return g.test(e)},file:function e(t){if(t instanceof Array){var n,r=a(t);try{for(r.s();!(n=r.n()).done;){var s=n.value;if("string"==typeof s&&e(s))return!0;if(e(s.src))return!0}}catch(l){r.e(l)}finally{r.f()}return!1}return!(!(0,i.isMediaStream)(t)&&!(0,i.isBlobUrl)(t))||y.test(t)||x.test(t)||b.test(t)||w.test(t)||j.test(t)}};t.canPlay=C},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}e.exports=function(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(i,a,function(t){return e[t]}.bind(null,a));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){(function(e){var i=n(2),a=setTimeout;function r(){}function s(e){if(!(this instanceof s))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],p(e,this)}function l(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,s._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(a){return void d(t.promise,a)}o(t.promise,i)}else(1===e._state?o:d)(t.promise,e._value)}))):e._deferreds.push(t)}function o(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof s)return e._state=3,e._value=t,void c(e);if("function"==typeof n)return void p((i=n,a=t,function(){i.apply(a,arguments)}),e)}e._state=1,e._value=t,c(e)}catch(r){d(e,r)}var i,a}function d(e,t){e._state=2,e._value=t,c(e)}function c(e){2===e._state&&0===e._deferreds.length&&s._immediateFn((function(){e._handled||s._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)l(e,e._deferreds[t]);e._deferreds=null}function u(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function p(e,t){var n=!1;try{e((function(e){n||(n=!0,o(t,e))}),(function(e){n||(n=!0,d(t,e))}))}catch(i){if(n)return;n=!0,d(t,i)}}s.prototype.catch=function(e){return this.then(null,e)},s.prototype.then=function(e,t){var n=new this.constructor(r);return l(this,new u(e,t,n)),n},s.prototype.finally=i.a,s.all=function(e){return new s((function(t,n){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);var a=i.length;function r(e,s){try{if(s&&("object"==typeof s||"function"==typeof s)){var l=s.then;if("function"==typeof l)return void l.call(s,(function(t){r(e,t)}),n)}i[e]=s,0==--a&&t(i)}catch(o){n(o)}}for(var s=0;s<i.length;s++)r(s,i[s])}))},s.resolve=function(e){return e&&"object"==typeof e&&e.constructor===s?e:new s((function(t){t(e)}))},s.reject=function(e){return new s((function(t,n){n(e)}))},s.race=function(e){return new s((function(t,n){for(var i=0,a=e.length;i<a;i++)e[i].then(t,n)}))},s._immediateFn="function"==typeof e&&function(t){e(t)}||function(e){a(e,0)},s._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console},t.a=s}).call(this,n(5).setImmediate)},function(e,t,n){t.a=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}},function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(4);var a,r,s,l,o,d,c,u=n(8),p=(r=function(e){return new Promise((function(t,n){e=l(e),(e=o(e)).beforeSend&&e.beforeSend();var i=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");i.open(e.method,e.url),i.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(e.headers).forEach((function(t){var n=e.headers[t];i.setRequestHeader(t,n)}));var a=e.ratio;i.upload.addEventListener("progress",(function(t){var n=Math.round(t.loaded/t.total*100),i=Math.ceil(n*a/100);e.progress(Math.min(i,100))}),!1),i.addEventListener("progress",(function(t){var n=Math.round(t.loaded/t.total*100),i=Math.ceil(n*(100-a)/100)+a;e.progress(Math.min(i,100))}),!1),i.onreadystatechange=function(){if(4===i.readyState){var e=i.response;try{e=JSON.parse(e)}catch(s){}var a=u.parseHeaders(i.getAllResponseHeaders()),r={body:e,code:i.status,headers:a};c(i.status)?t(r):n(r)}},i.send(e.data)}))},s=function(e){return e.method="POST",r(e)},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.url&&"string"!=typeof e.url)throw new Error("Url must be a string");if(e.url=e.url||"",e.method&&"string"!=typeof e.method)throw new Error("`method` must be a string or null");if(e.method=e.method?e.method.toUpperCase():"GET",e.headers&&"object"!==i(e.headers))throw new Error("`headers` must be an object or null");if(e.headers=e.headers||{},e.type&&("string"!=typeof e.type||!Object.values(a).includes(e.type)))throw new Error("`type` must be taken from module's «contentType» library");if(e.progress&&"function"!=typeof e.progress)throw new Error("`progress` must be a function or null");if(e.progress=e.progress||function(e){},e.beforeSend=e.beforeSend||function(e){},e.ratio&&"number"!=typeof e.ratio)throw new Error("`ratio` must be a number");if(e.ratio<0||e.ratio>100)throw new Error("`ratio` must be in a 0-100 interval");if(e.ratio=e.ratio||90,e.accept&&"string"!=typeof e.accept)throw new Error("`accept` must be a string with a list of allowed mime-types");if(e.accept=e.accept||"*/*",e.multiple&&"boolean"!=typeof e.multiple)throw new Error("`multiple` must be a true or false");if(e.multiple=e.multiple||!1,e.fieldName&&"string"!=typeof e.fieldName)throw new Error("`fieldName` must be a string");return e.fieldName=e.fieldName||"files",e},o=function(e){switch(e.method){case"GET":var t=d(e.data,a.URLENCODED);delete e.data,e.url=/\?/.test(e.url)?e.url+"&"+t:e.url+"?"+t;break;case"POST":case"PUT":case"DELETE":case"UPDATE":var n=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).type||a.JSON}(e);(u.isFormData(e.data)||u.isFormElement(e.data))&&(n=a.FORM),e.data=d(e.data,n),n!==p.contentType.FORM&&(e.headers["content-type"]=n)}return e},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};switch(arguments.length>1?arguments[1]:void 0){case a.URLENCODED:return u.urlEncode(e);case a.JSON:return u.jsonEncode(e);case a.FORM:return u.formEncode(e);default:return e}},c=function(e){return e>=200&&e<300},{contentType:a={URLENCODED:"application/x-www-form-urlencoded; charset=utf-8",FORM:"multipart/form-data",JSON:"application/json; charset=utf-8"},request:r,get:function(e){return e.method="GET",r(e)},post:s,transport:function(e){return e=l(e),u.selectFiles(e).then((function(t){for(var n=new FormData,i=0;i<t.length;i++)n.append(e.fieldName,t[i],t[i].name);u.isObject(e.data)&&Object.keys(e.data).forEach((function(t){var i=e.data[t];n.append(t,i)}));var a=e.beforeSend;return e.beforeSend=function(){return a(t)},e.data=n,s(e)}))},selectFiles:function(e){return delete(e=l(e)).beforeSend,u.selectFiles(e)}});e.exports=p},function(e,t,n){n.r(t);var i=n(1);window.Promise=window.Promise||i.a},function(e,t,n){(function(e){var i=void 0!==e&&e||"undefined"!=typeof self&&self||window,a=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new r(a.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new r(a.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(6),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(0))},function(e,t,n){(function(e,t){!function(e){if(!e.setImmediate){var n,i,a,r,s,l=1,o={},d=!1,c=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){A(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(r="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&A(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),n=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){A(e.data)},n=function(e){a.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(i=c.documentElement,n=function(e){var t=c.createElement("script");t.onreadystatechange=function(){A(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):n=function(e){setTimeout(A,0,e)},u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var a={callback:e,args:t};return o[l]=a,n(l),l++},u.clearImmediate=p}function p(e){delete o[e]}function A(e){if(d)setTimeout(A,0,e);else{var t=o[e];if(t){d=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{p(e),d=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(0),n(7))},function(e,t){var n,i,a=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(i){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:r}catch(e){n=r}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var o,d=[],c=!1,u=-1;function p(){c&&o&&(c=!1,o.length?d=o.concat(d):u=-1,d.length&&A())}function A(){if(!c){var e=l(p);c=!0;for(var t=d.length;t;){for(o=d,d=[];++u<t;)o&&o[u].run();u=-1,t=d.length}o=null,c=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(n){return i.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function f(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];d.push(new h(e,t)),1!==d.length||c||l(A)},h.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=f,a.addListener=f,a.once=f,a.off=f,a.removeListener=f,a.removeAllListeners=f,a.emit=f,a.prependListener=f,a.prependOnceListener=f,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},function(e,t,n){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var a=n(9);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t;return(t=[{key:"urlEncode",value:function(e){return a(e)}},{key:"jsonEncode",value:function(e){return JSON.stringify(e)}},{key:"formEncode",value:function(e){if(this.isFormData(e))return e;if(this.isFormElement(e))return new FormData(e);if(this.isObject(e)){var t=new FormData;return Object.keys(e).forEach((function(n){var i=e[n];t.append(n,i)})),t}throw new Error("`data` must be an instance of Object, FormData or <FORM> HTMLElement")}},{key:"isObject",value:function(e){return"[object Object]"===Object.prototype.toString.call(e)}},{key:"isFormData",value:function(e){return e instanceof FormData}},{key:"isFormElement",value:function(e){return e instanceof HTMLFormElement}},{key:"selectFiles",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(t,n){var i=document.createElement("INPUT");i.type="file",e.multiple&&i.setAttribute("multiple","multiple"),e.accept&&i.setAttribute("accept",e.accept),i.style.display="none",document.body.appendChild(i),i.addEventListener("change",(function(e){var n=e.target.files;t(n),document.body.removeChild(i)}),!1),i.click()}))}},{key:"parseHeaders",value:function(e){var t=e.trim().split(/[\r\n]+/),n={};return t.forEach((function(e){var t=e.split(": "),i=t.shift(),a=t.join(": ");i&&(n[i]=a)})),n}}])&&i(e,t),e}()},function(e,t){var n=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape).replace(/%20/g,"+")},i=function(e,t,a,r){return t=t||null,a=a||"&",r=r||null,e?function(e){for(var t=new Array,n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t}(Object.keys(e).map((function(s){var l,o,d=s;if(r&&(d=r+"["+d+"]"),"object"==typeof e[s]&&null!==e[s])l=i(e[s],null,a,d);else{t&&(o=d,d=!isNaN(parseFloat(o))&&isFinite(o)?t+Number(d):d);var c=e[s];c=(c=0===(c=!1===(c=!0===c?"1":c)?"0":c)?"0":c)||"",l=n(d)+"="+n(c)}return l}))).join(a).replace(/[!'()*]/g,""):""};e.exports=i}])},function(e,t,n){e.exports=n(23)},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}},function(e,t,n){var i=n(7);e.exports=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}},function(e,t,n){ +/* + object-assign + (c) Sindre Sorhus + @license MIT + */ +var i=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function s(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(a){return!1}}()?Object.assign:function(e,t){for(var n,l,o=s(e),d=1;d<arguments.length;d++){for(var c in n=Object(arguments[d]))a.call(n,c)&&(o[c]=n[c]);if(i){l=i(n);for(var u=0;u<l.length;u++)r.call(n,l[u])&&(o[l[u]]=n[l[u]])}}return o}},function(e,t,n){var i=function(e){return!(!(t=e)||"object"!=typeof t||function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||e.$$typeof===a}(e));var t},a="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function s(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function l(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]));var t}function o(e,t){try{return t in e}catch(n){return!1}}function d(e,t,n){var i={};return n.isMergeableObject(e)&&l(e).forEach((function(t){i[t]=r(e[t],n)})),l(t).forEach((function(a){var s,l;o(s=e,l=a)&&(!Object.hasOwnProperty.call(s,l)||!Object.propertyIsEnumerable.call(s,l))||(o(e,a)&&n.isMergeableObject(t[a])?i[a]=function(e,t){if(!t.customMerge)return c;var n=t.customMerge(e);return"function"==typeof n?n:c}(a,n)(e[a],t[a],n):i[a]=r(t[a],n))})),i}function c(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||s,n.isMergeableObject=n.isMergeableObject||i,n.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(t);return a===Array.isArray(e)?a?n.arrayMerge(e,t,n):d(e,t,n):r(t,n)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return c(e,n,t)}),{})};var u=c;e.exports=u},function(e,t){var n="undefined"!=typeof Element,i="function"==typeof Map,a="function"==typeof Set,r="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,t){try{return function e(t,s){if(t===s)return!0;if(t&&s&&"object"==typeof t&&"object"==typeof s){if(t.constructor!==s.constructor)return!1;var l,o,d,c;if(Array.isArray(t)){if((l=t.length)!=s.length)return!1;for(o=l;0!=o--;)if(!e(t[o],s[o]))return!1;return!0}if(i&&t instanceof Map&&s instanceof Map){if(t.size!==s.size)return!1;for(c=t.entries();!(o=c.next()).done;)if(!s.has(o.value[0]))return!1;for(c=t.entries();!(o=c.next()).done;)if(!e(o.value[1],s.get(o.value[0])))return!1;return!0}if(a&&t instanceof Set&&s instanceof Set){if(t.size!==s.size)return!1;for(c=t.entries();!(o=c.next()).done;)if(!s.has(o.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(s)){if((l=t.length)!=s.length)return!1;for(o=l;0!=o--;)if(t[o]!==s[o])return!1;return!0}if(t.constructor===RegExp)return t.source===s.source&&t.flags===s.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===s.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===s.toString();if((l=(d=Object.keys(t)).length)!==Object.keys(s).length)return!1;for(o=l;0!=o--;)if(!Object.prototype.hasOwnProperty.call(s,d[o]))return!1;if(n&&t instanceof Element)return!1;for(o=l;0!=o--;)if(("_owner"!==d[o]&&"__v"!==d[o]&&"__o"!==d[o]||!t.$$typeof)&&!e(t[d[o]],s[d[o]]))return!1;return!0}return t!=t&&s!=s}(e,t)}catch(s){if((s.message||"").match(/stack|recursion/i))return!1;throw s}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProps=t.propTypes=void 0;var i,a=(i=n(54))&&i.__esModule?i:{default:i},r=a.default.string,s=a.default.bool,l=a.default.number,o=a.default.array,d=a.default.oneOfType,c=a.default.shape,u=a.default.object,p=a.default.func,A=a.default.node,h={url:d([r,o,u]),playing:s,loop:s,controls:s,volume:l,muted:s,playbackRate:l,width:d([r,l]),height:d([r,l]),style:u,progressInterval:l,playsinline:s,pip:s,stopOnUnmount:s,light:d([s,r]),playIcon:A,previewTabIndex:l,fallback:A,wrapper:d([r,p,c({render:p.isRequired})]),config:c({soundcloud:c({options:u}),youtube:c({playerVars:u,embedOptions:u,onUnstarted:p}),facebook:c({appId:r,version:r,playerId:r,attributes:u}),dailymotion:c({params:u}),vimeo:c({playerOptions:u}),file:c({attributes:u,tracks:o,forceVideo:s,forceAudio:s,forceHLS:s,forceDASH:s,forceFLV:s,hlsOptions:u,hlsVersion:r,dashVersion:r,flvVersion:r}),wistia:c({options:u,playerId:r,customControls:o}),mixcloud:c({options:u}),twitch:c({options:u,playerId:r}),vidyard:c({options:u})}),onReady:p,onStart:p,onPlay:p,onPause:p,onBuffer:p,onBufferEnd:p,onEnded:p,onError:p,onDuration:p,onSeek:p,onProgress:p,onClickPreview:p,onEnablePIP:p,onDisablePIP:p};t.propTypes=h;var f=function(){},m={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:f},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1}},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"0.14.16",dashVersion:"3.1.3",flvVersion:"1.5.0"},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:f,onStart:f,onPlay:f,onPause:f,onBuffer:f,onBufferEnd:f,onEnded:f,onError:f,onDuration:f,onSeek:f,onProgress:f,onClickPreview:f,onEnablePIP:f,onDisablePIP:f};t.defaultProps=m},function(e,t){function n(e,t,n,i,a,r,s){try{var l=e[r](s),o=l.value}catch(d){return void n(d)}l.done?t(o):Promise.resolve(o).then(i,a)}e.exports=function(e){return function(){var t=this,i=arguments;return new Promise((function(a,r){var s=e.apply(t,i);function l(e){n(s,a,r,l,o,"next",e)}function o(e){n(s,a,r,l,o,"throw",e)}l(void 0)}))}}},function(e,t,n){var i=n(28),a=n(29),r=n(8),s=n(30);e.exports=function(e){return i(e)||a(e)||r(e)||s()}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.15 13.628A7.749 7.749 0 0 0 10 17.75a7.74 7.74 0 0 0 6.305-3.242l-2.387-2.127-2.765 2.244-4.389-4.496-3.614 3.5zm-.787-2.303l4.446-4.371 4.52 4.63 2.534-2.057 3.533 2.797c.23-.734.354-1.514.354-2.324a7.75 7.75 0 1 0-15.387 1.325zM10 20C4.477 20 0 15.523 0 10S4.477 0 10 0s10 4.477 10 10-4.477 10-10 10z"></path></svg>'},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,a.render)(i.default.createElement(r.default,t),e)};var i=s(n(0)),a=n(32),r=s(n(36));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.043 8.265l3.183-3.183h-2.924L4.75 10.636v2.923l4.15-4.15v2.351l-2.158 2.159H8.9v2.137H4.7c-1.215 0-2.2-.936-2.2-2.09v-8.93c0-1.154.985-2.09 2.2-2.09h10.663l.033-.033.034.034c1.178.04 2.12.96 2.12 2.089v3.23H15.3V5.359l-2.906 2.906h-2.35zM7.951 5.082H4.75v3.201l3.201-3.2zm5.099 7.078v3.04h4.15v-3.04h-4.15zm-1.1-2.137h6.35c.635 0 1.15.489 1.15 1.092v5.13c0 .603-.515 1.092-1.15 1.092h-6.35c-.635 0-1.15-.489-1.15-1.092v-5.13c0-.603.515-1.092 1.15-1.092z"></path></svg>'},function(e,t){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.8 10.592v2.043h2.35v2.138H15.8v2.232h-2.25v-2.232h-2.4v-2.138h2.4v-2.28h2.25v.237h1.15-1.15zM1.9 8.455v-3.42c0-1.154.985-2.09 2.2-2.09h4.2v2.137H4.15v3.373H1.9zm0 2.137h2.25v3.325H8.3v2.138H4.1c-1.215 0-2.2-.936-2.2-2.09v-3.373zm15.05-2.137H14.7V5.082h-4.15V2.945h4.2c1.215 0 2.2.936 2.2 2.09v3.42z"></path></svg>'},function(e,t){e.exports='<svg width="17" height="10" viewBox="0 0 17 10" xmlns="http://www.w3.org/2000/svg"><path d="M13.568 5.925H4.056l1.703 1.703a1.125 1.125 0 0 1-1.59 1.591L.962 6.014A1.069 1.069 0 0 1 .588 4.26L4.38.469a1.069 1.069 0 0 1 1.512 1.511L4.084 3.787h9.606l-1.85-1.85a1.069 1.069 0 1 1 1.512-1.51l3.792 3.791a1.069 1.069 0 0 1-.475 1.788L13.514 9.16a1.125 1.125 0 0 1-1.59-1.591l1.644-1.644z"></path></svg>'},function(e,t){e.exports='<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 489.2 489.2"><path d="M439.6,0h-390C22.2,0,0,22.2,0,49.6v390c0,27.4,22.2,49.6,49.6,49.6h390c27.4,0,49.6-22.2,49.6-49.6V49.7 C489.3,22.3,467,0,439.6,0z M300.6,47.8h42.5v42.5h-42.5V47.8z M223.4,47.8h42.5v42.5h-42.5V47.8L223.4,47.8z M146.1,47.8h42.5 v42.5h-42.5V47.8z M111.3,441.6H68.8v-42.5h42.5V441.6z M111.3,90.3H68.8V47.8h42.5V90.3z M188.6,441.6h-42.5v-42.5h42.5V441.6z M265.8,441.6h-42.5v-42.5h42.5V441.6z M343.1,441.6h-42.5v-42.5h42.5V441.6z M352.5,256.7l-163.1,94.2c-9.2,5.3-20.8-1.3-20.8-12 V150.5c0-10.7,11.6-17.3,20.8-12l163.1,94.2C361.8,238,361.8,251.4,352.5,256.7z M420.4,441.6h-42.5v-42.5h42.5V441.6z M420.4,90.3 h-42.5V47.8h42.5V90.3z"></path></svg>'},function(e,t,n){var i=n(59),a=n(60),r=n(8),s=n(61);e.exports=function(e,t){return i(e)||a(e,t)||r(e,t)||s()}},function(e,t,n){var i=function(e){var t=Object.prototype,n=t.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",r=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(N){l=function(e,t,n){return e[t]=n}}function o(e,t,n,i){var a,r,s,l,o=t&&t.prototype instanceof u?t:u,p=Object.create(o.prototype),A=new j(i||[]);return p._invoke=(a=e,r=n,s=A,l="suspendedStart",function(e,t){if("executing"===l)throw new Error("Generator is already running");if("completed"===l){if("throw"===e)throw t;return S()}for(s.method=e,s.arg=t;;){var n=s.delegate;if(n){var i=x(n,s);if(i){if(i===c)continue;return i}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===l)throw l="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);l="executing";var o=d(a,r,s);if("normal"===o.type){if(l=s.done?"completed":"suspendedYield",o.arg===c)continue;return{value:o.arg,done:s.done}}"throw"===o.type&&(l="completed",s.method="throw",s.arg=o.arg)}}),p}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(i){return{type:"throw",arg:i}}}e.wrap=o;var c={};function u(){}function p(){}function A(){}var h={};h[a]=function(){return this};var f=Object.getPrototypeOf,m=f&&f(f(C([])));m&&m!==t&&n.call(m,a)&&(h=m);var v=A.prototype=u.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function y(e,t){var i;this._invoke=function(a,r){function s(){return new t((function(i,s){!function i(a,r,s,l){var o=d(e[a],e,r);if("throw"!==o.type){var c=o.arg,u=c.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,l)}))}l(o.arg)}(a,r,i,s)}))}return i=i?i.then(s,s):s()}}function x(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var i=d(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,c;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function C(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,r=function t(){for(;++i<e.length;)if(n.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=v.constructor=A,A.constructor=p,p.displayName=l(A,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,A):(e.__proto__=A,l(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},g(y.prototype),y.prototype[r]=function(){return this},e.AsyncIterator=y,e.async=function(t,n,i,a,r){void 0===r&&(r=Promise);var s=new y(o(t,n,i,a),r);return e.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},g(v),l(v,s,"Generator"),v[a]=function(){return this},v.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=!0,n}},e.values=C,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(n,i){return s.type="throw",s.arg=e,t.next=n,i&&(t.method="next",t.arg=void 0),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a],s=r.completion;if("root"===r.tryLoc)return i("end");if(r.tryLoc<=this.prev){var l=n.call(r,"catchLoc"),o=n.call(r,"finallyLoc");if(l&&o){if(this.prev<r.catchLoc)return i(r.catchLoc,!0);if(this.prev<r.finallyLoc)return i(r.finallyLoc)}else if(l){if(this.prev<r.catchLoc)return i(r.catchLoc,!0)}else{if(!o)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return i(r.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var r=a;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var s=r?r.completion:{};return s.type=e,s.arg=t,r?(this.method="next",this.next=r.finallyLoc,c):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var a=i.arg;w(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=i}catch(a){Function("r","regeneratorRuntime = r")(i)}},function(e,t,n){var i=n(25),a=n(26);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]),i(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},function(e,t,n){var i,a,r=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},s=(a={},function(e){if(void 0===a[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(n){t=null}a[e]=t}return a[e]}),l=[];function o(e){for(var t=-1,n=0;n<l.length;n++)if(l[n].identifier===e){t=n;break}return t}function d(e,t){for(var n={},i=[],a=0;a<e.length;a++){var r=e[a],s=t.base?r[0]+t.base:r[0],d=n[s]||0,c="".concat(s," ").concat(d);n[s]=d+1;var u=o(c),p={css:r[1],media:r[2],sourceMap:r[3]};-1!==u?(l[u].references++,l[u].updater(p)):l.push({identifier:c,updater:v(p,t),references:1}),i.push(c)}return i}function c(e){var t=document.createElement("style"),i=e.attributes||{};if(void 0===i.nonce){var a=n.nc;a&&(i.nonce=a)}if(Object.keys(i).forEach((function(e){t.setAttribute(e,i[e])})),"function"==typeof e.insert)e.insert(t);else{var r=s(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var u,p=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function A(e,t,n,i){var a=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(e.styleSheet)e.styleSheet.cssText=p(t,a);else{var r=document.createTextNode(a),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(r,s[t]):e.appendChild(r)}}function h(e,t,n){var i=n.css,a=n.media,r=n.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var f=null,m=0;function v(e,t){var n,i,a;if(t.singleton){var r=m++;n=f||(f=c(t)),i=A.bind(null,n,r,!1),a=A.bind(null,n,r,!0)}else n=c(t),i=h.bind(null,n,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var n=d(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var i=0;i<n.length;i++){var a=o(n[i]);l[a].references--}for(var r=d(e,t),s=0;s<n.length;s++){var c=o(n[s]);0===l[c].references&&(l[c].updater(),l.splice(c,1))}n=r}}}},function(e,t,n){(t=n(27)(!1)).push([e.i,'.video-tool {\n --bg-color: #cdd1e0;\n --front-color: #388ae5;\n --border-color: #e8e8eb;\n}\n\n .video-tool__video {\n border-radius: 3px;\n overflow: hidden;\n margin-bottom: 10px;\n }\n\n .video-tool__video-picture {\n max-width: 100%;\n vertical-align: bottom;\n display: block;\n }\n\n .video-tool__video-preloader {\n width: 50px;\n height: 50px;\n border-radius: 50%;\n background-size: cover;\n margin: auto;\n position: relative;\n background-color: var(--bg-color);\n background-position: center center;\n }\n\n .video-tool__video-preloader::after {\n content: "";\n position: absolute;\n z-index: 3;\n width: 60px;\n height: 60px;\n border-radius: 50%;\n border: 2px solid var(--bg-color);\n border-top-color: var(--front-color);\n left: 50%;\n top: 50%;\n margin-top: -30px;\n margin-left: -30px;\n animation: video-preloader-spin 2s infinite linear;\n box-sizing: border-box;\n }\n\n .video-tool__caption[contentEditable="true"][data-placeholder]::before {\n position: absolute !important;\n content: attr(data-placeholder);\n color: #707684;\n font-weight: normal;\n display: none;\n }\n\n .video-tool__caption[contentEditable="true"][data-placeholder]:empty::before {\n display: block;\n }\n\n .video-tool__caption[contentEditable="true"][data-placeholder]:empty:focus::before {\n display: none;\n }\n\n .video-tool--empty .video-tool__video {\n display: none;\n }\n\n .video-tool--empty .video-tool__caption, .video-tool--loading .video-tool__caption {\n display: none;\n }\n\n .video-tool--filled .cdx-button {\n display: none;\n }\n\n .video-tool--filled .video-tool__video-preloader {\n display: none;\n }\n\n .video-tool--loading .video-tool__video {\n min-height: 200px;\n display: flex;\n border: 1px solid var(--border-color);\n background-color: #fff;\n }\n\n .video-tool--loading .video-tool__video-picture {\n display: none;\n }\n\n .video-tool--loading .cdx-button {\n display: none;\n }\n\n /**\n * Tunes\n * ----------------\n */\n\n .video-tool--withBorder .video-tool__video {\n border: 1px solid var(--border-color);\n }\n\n .video-tool--withBackground .video-tool__video {\n padding: 15px;\n background: var(--bg-color);\n }\n\n .video-tool--withBackground .video-tool__video-picture {\n max-width: 60%;\n margin: 0 auto;\n }\n\n .video-tool--stretched .video-tool__video-picture {\n width: 100%;\n }\n\n@keyframes video-preloader-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n',""]),e.exports=t},function(e,t,n){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,i,a,r=e[1]||"",s=e[3];if(!s)return r;if(t&&"function"==typeof btoa){var l=(n=s,i=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),"/*# ".concat(a," */")),o=s.sources.map((function(e){return"/*# sourceURL=".concat(s.sourceRoot||"").concat(e," */")}));return[r].concat(o).concat([l]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,i){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(i)for(var r=0;r<this.length;r++){var s=this[r][0];null!=s&&(a[s]=!0)}for(var l=0;l<e.length;l++){var o=[].concat(e[l]);i&&a[o[0]]||(n&&(o[2]?o[2]="".concat(n," and ").concat(o[2]):o[2]=n),t.push(o))}},t}},function(e,t,n){var i=n(7);e.exports=function(e){if(Array.isArray(e))return i(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){ +/** @license React v16.14.0 + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +var i=n(9),a="function"==typeof Symbol&&Symbol.for,r=a?Symbol.for("react.element"):60103,s=a?Symbol.for("react.portal"):60106,l=a?Symbol.for("react.fragment"):60107,o=a?Symbol.for("react.strict_mode"):60108,d=a?Symbol.for("react.profiler"):60114,c=a?Symbol.for("react.provider"):60109,u=a?Symbol.for("react.context"):60110,p=a?Symbol.for("react.forward_ref"):60112,A=a?Symbol.for("react.suspense"):60113,h=a?Symbol.for("react.memo"):60115,f=a?Symbol.for("react.lazy"):60116,m="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function x(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||g}function b(){}function w(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||g}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=x.prototype;var j=w.prototype=new b;j.constructor=w,i(j,x.prototype),j.isPureReactComponent=!0;var C={current:null},S=Object.prototype.hasOwnProperty,N={key:!0,ref:!0,__self:!0,__source:!0};function I(e,t,n){var i,a={},s=null,l=null;if(null!=t)for(i in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(s=""+t.key),t)S.call(t,i)&&!N.hasOwnProperty(i)&&(a[i]=t[i]);var o=arguments.length-2;if(1===o)a.children=n;else if(1<o){for(var d=Array(o),c=0;c<o;c++)d[c]=arguments[c+2];a.children=d}if(e&&e.defaultProps)for(i in o=e.defaultProps)void 0===a[i]&&(a[i]=o[i]);return{$$typeof:r,type:e,key:s,ref:l,props:a,_owner:C.current}}function F(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var B=/\/+/g,P=[];function k(e,t,n,i){if(P.length){var a=P.pop();return a.result=e,a.keyPrefix=t,a.func=n,a.context=i,a.count=0,a}return{result:e,keyPrefix:t,func:n,context:i,count:0}}function T(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>P.length&&P.push(e)}function E(e,t,n){return null==e?0:function e(t,n,i,a){var l=typeof t;"undefined"!==l&&"boolean"!==l||(t=null);var o=!1;if(null===t)o=!0;else switch(l){case"string":case"number":o=!0;break;case"object":switch(t.$$typeof){case r:case s:o=!0}}if(o)return i(a,t,""===n?"."+D(t,0):n),1;if(o=0,n=""===n?".":n+":",Array.isArray(t))for(var d=0;d<t.length;d++){var c=n+D(l=t[d],d);o+=e(l,c,i,a)}else if("function"==typeof(c=null===t||"object"!=typeof t?null:"function"==typeof(c=m&&t[m]||t["@@iterator"])?c:null))for(t=c.call(t),d=0;!(l=t.next()).done;)o+=e(l=l.value,c=n+D(l,d++),i,a);else if("object"===l)throw i=""+t,Error(v(31,"[object Object]"===i?"object with keys {"+Object.keys(t).join(", ")+"}":i,""));return o}(e,"",t,n)}function D(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=e.key,i={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return i[e]}))):t.toString(36);var n,i}function L(e,t){e.func.call(e.context,t,e.count++)}function U(e,t,n){var i,a,s=e.result,l=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?_(e,s,n,(function(e){return e})):null!=e&&(F(e)&&(i=e,a=l+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(B,"$&/")+"/")+n,e={$$typeof:r,type:i.type,key:a,ref:i.ref,props:i.props,_owner:i._owner}),s.push(e))}function _(e,t,n,i,a){var r="";null!=n&&(r=(""+n).replace(B,"$&/")+"/"),E(e,U,t=k(t,r,i,a)),T(t)}var O={current:null};function M(){var e=O.current;if(null===e)throw Error(v(321));return e}var R={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:C,IsSomeRendererActing:{current:!1},assign:i};t.Children={map:function(e,t,n){if(null==e)return e;var i=[];return _(e,i,null,t,n),i},forEach:function(e,t,n){if(null==e)return e;E(e,L,t=k(null,null,t,n)),T(t)},count:function(e){return E(e,(function(){return null}),null)},toArray:function(e){var t=[];return _(e,t,null,(function(e){return e})),t},only:function(e){if(!F(e))throw Error(v(143));return e}},t.Component=x,t.Fragment=l,t.Profiler=d,t.PureComponent=w,t.StrictMode=o,t.Suspense=A,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.cloneElement=function(e,t,n){if(null==e)throw Error(v(267,e));var a=i({},e.props),s=e.key,l=e.ref,o=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,o=C.current),void 0!==t.key&&(s=""+t.key),e.type&&e.type.defaultProps)var d=e.type.defaultProps;for(c in t)S.call(t,c)&&!N.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==d?d[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){d=Array(c);for(var u=0;u<c;u++)d[u]=arguments[u+2];a.children=d}return{$$typeof:r,type:e.type,key:s,ref:l,props:a,_owner:o}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:u,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=I,t.createFactory=function(e){var t=I.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=F,t.lazy=function(e){return{$$typeof:f,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return M().useCallback(e,t)},t.useContext=function(e,t){return M().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return M().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return M().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return M().useLayoutEffect(e,t)},t.useMemo=function(e,t){return M().useMemo(e,t)},t.useReducer=function(e,t,n){return M().useReducer(e,t,n)},t.useRef=function(e){return M().useRef(e)},t.useState=function(e){return M().useState(e)},t.version="16.14.0"},function(e,t,n){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){}}(),e.exports=n(33)},function(e,t,n){ +/** @license React v16.14.0 + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +var i=n(0),a=n(9),r=n(34);function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!i)throw Error(s(227));function l(e,t,n,i,a,r,s,l,o){var d=Array.prototype.slice.call(arguments,3);try{t.apply(n,d)}catch(c){this.onError(c)}}var o=!1,d=null,c=!1,u=null,p={onError:function(e){o=!0,d=e}};function A(e,t,n,i,a,r,s,c,u){o=!1,d=null,l.apply(p,arguments)}var h=null,f=null,m=null;function v(e,t,n){var i=e.type||"unknown-event";e.currentTarget=m(n),function(e,t,n,i,a,r,l,p,h){if(A.apply(this,arguments),o){if(!o)throw Error(s(198));var f=d;o=!1,d=null,c||(c=!0,u=f)}}(i,t,void 0,e),e.currentTarget=null}var g=null,y={};function x(){if(g)for(var e in y){var t=y[e],n=g.indexOf(e);if(!(-1<n))throw Error(s(96,e));if(!w[n]){if(!t.extractEvents)throw Error(s(97,e));for(var i in w[n]=t,n=t.eventTypes){var a=void 0,r=n[i],l=t,o=i;if(j.hasOwnProperty(o))throw Error(s(99,o));j[o]=r;var d=r.phasedRegistrationNames;if(d){for(a in d)d.hasOwnProperty(a)&&b(d[a],l,o);a=!0}else r.registrationName?(b(r.registrationName,l,o),a=!0):a=!1;if(!a)throw Error(s(98,i,e))}}}}function b(e,t,n){if(C[e])throw Error(s(100,e));C[e]=t,S[e]=t.eventTypes[n].dependencies}var w=[],j={},C={},S={};function N(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var i=e[t];if(!y.hasOwnProperty(t)||y[t]!==i){if(y[t])throw Error(s(102,t));y[t]=i,n=!0}}n&&x()}var I=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),F=null,B=null,P=null;function k(e){if(e=f(e)){if("function"!=typeof F)throw Error(s(280));var t=e.stateNode;t&&(t=h(t),F(e.stateNode,e.type,t))}}function T(e){B?P?P.push(e):P=[e]:B=e}function E(){if(B){var e=B,t=P;if(P=B=null,k(e),t)for(e=0;e<t.length;e++)k(t[e])}}function D(e,t){return e(t)}function L(e,t,n,i,a){return e(t,n,i,a)}function U(){}var _=D,O=!1,M=!1;function R(){null===B&&null===P||(U(),E())}function Q(e,t,n){if(M)return e(t,n);M=!0;try{return _(e,t,n)}finally{M=!1,R()}}var H=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,V=Object.prototype.hasOwnProperty,z={},q={};function W(e,t,n,i,a,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=r}var Y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Y[e]=new W(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Y[t]=new W(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Y[e]=new W(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Y[e]=new W(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){Y[e]=new W(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Y[e]=new W(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){Y[e]=new W(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){Y[e]=new W(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){Y[e]=new W(e,5,!1,e.toLowerCase(),null,!1)}));var K=/[\-:]([a-z])/g;function G(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(K,G);Y[t]=new W(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(K,G);Y[t]=new W(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(K,G);Y[t]=new W(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){Y[e]=new W(e,1,!1,e.toLowerCase(),null,!1)})),Y.xlinkHref=new W("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){Y[e]=new W(e,1,!1,e.toLowerCase(),null,!0)}));var $=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function X(e,t,n,i){var a,r=Y.hasOwnProperty(t)?Y[t]:null;(null!==r?0===r.type:!i&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,i){if(null==t||function(e,t,n,i){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!i&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,i))return!0;if(i)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,r,i)&&(n=null),i||null===r?(a=t,(V.call(q,a)||!V.call(z,a)&&(H.test(a)?q[a]=!0:(z[a]=!0,0)))&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n))):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,i=r.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(r=r.type)||4===r&&!0===n?"":""+n,i?e.setAttributeNS(i,t,n):e.setAttribute(t,n))))}$.hasOwnProperty("ReactCurrentDispatcher")||($.ReactCurrentDispatcher={current:null}),$.hasOwnProperty("ReactCurrentBatchConfig")||($.ReactCurrentBatchConfig={suspense:null});var J=/^(.*)[\\\/]/,Z="function"==typeof Symbol&&Symbol.for,ee=Z?Symbol.for("react.element"):60103,te=Z?Symbol.for("react.portal"):60106,ne=Z?Symbol.for("react.fragment"):60107,ie=Z?Symbol.for("react.strict_mode"):60108,ae=Z?Symbol.for("react.profiler"):60114,re=Z?Symbol.for("react.provider"):60109,se=Z?Symbol.for("react.context"):60110,le=Z?Symbol.for("react.concurrent_mode"):60111,oe=Z?Symbol.for("react.forward_ref"):60112,de=Z?Symbol.for("react.suspense"):60113,ce=Z?Symbol.for("react.suspense_list"):60120,ue=Z?Symbol.for("react.memo"):60115,pe=Z?Symbol.for("react.lazy"):60116,Ae=Z?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function fe(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function me(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case ae:return"Profiler";case ie:return"StrictMode";case de:return"Suspense";case ce:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case se:return"Context.Consumer";case re:return"Context.Provider";case oe:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case ue:return me(e.type);case Ae:return me(e.render);case pe:if(e=1===e._status?e._result:null)return me(e)}return null}function ve(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var i=e._debugOwner,a=e._debugSource,r=me(e.type);n=null,i&&(n=me(i.type)),i=r,r="",a?r=" (at "+a.fileName.replace(J,"")+":"+a.lineNumber+")":n&&(r=" (created by "+n+")"),n="\n in "+(i||"Unknown")+r}t+=n,e=e.return}while(e);return t}function ge(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ye(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function xe(e){e._valueTracker||(e._valueTracker=function(e){var t=ye(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,r=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){i=""+e,r.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(e){i=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function be(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=ye(e)?e.checked?"true":"false":e.value),(e=i)!==n&&(t.setValue(e),!0)}function we(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function je(e,t){var n=null==t.defaultValue?"":t.defaultValue,i=null!=t.checked?t.checked:t.defaultChecked;n=ge(null!=t.value?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Ce(e,t){null!=(t=t.checked)&&X(e,"checked",t,!1)}function Se(e,t){Ce(e,t);var n=ge(t.value),i=t.type;if(null!=n)"number"===i?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===i||"reset"===i)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ie(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ie(e,t.type,ge(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ne(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!("submit"!==i&&"reset"!==i||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ie(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Fe(e,t){return e=a({children:void 0},t),n=t.children,r="",i.Children.forEach(n,(function(e){null!=e&&(r+=e)})),(t=r)&&(e.children=t),e;var n,r}function Be(e,t,n,i){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&i&&(e[n].defaultSelected=!0)}else{for(n=""+ge(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(i&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function Pe(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(s(91));return a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ke(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(s(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(s(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ge(n)}}function Te(e,t){var n=ge(t.value),i=ge(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=i&&(e.defaultValue=""+i)}function Ee(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var De="http://www.w3.org/1999/xhtml",Le="http://www.w3.org/2000/svg";function Ue(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function _e(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Ue(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Oe,Me,Re=(Me=function(e,t){if(e.namespaceURI!==Le||"innerHTML"in e)e.innerHTML=t;else{for((Oe=Oe||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Oe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,i){MSApp.execUnsafeLocalFunction((function(){return Me(e,t)}))}:Me);function Qe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function He(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ve={animationend:He("Animation","AnimationEnd"),animationiteration:He("Animation","AnimationIteration"),animationstart:He("Animation","AnimationStart"),transitionend:He("Transition","TransitionEnd")},ze={},qe={};function We(e){if(ze[e])return ze[e];if(!Ve[e])return e;var t,n=Ve[e];for(t in n)if(n.hasOwnProperty(t)&&t in qe)return ze[e]=n[t];return e}I&&(qe=document.createElement("div").style,"AnimationEvent"in window||(delete Ve.animationend.animation,delete Ve.animationiteration.animation,delete Ve.animationstart.animation),"TransitionEvent"in window||delete Ve.transitionend.transition);var Ye=We("animationend"),Ke=We("animationiteration"),Ge=We("animationstart"),$e=We("transitionend"),Xe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Je=new("function"==typeof WeakMap?WeakMap:Map);function Ze(e){var t=Je.get(e);return void 0===t&&(t=new Map,Je.set(e,t)),t}function et(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function tt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function nt(e){if(et(e)!==e)throw Error(s(188))}function it(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=et(e)))throw Error(s(188));return t!==e?null:e}for(var n=e,i=t;;){var a=n.return;if(null===a)break;var r=a.alternate;if(null===r){if(null!==(i=a.return)){n=i;continue}break}if(a.child===r.child){for(r=a.child;r;){if(r===n)return nt(a),e;if(r===i)return nt(a),t;r=r.sibling}throw Error(s(188))}if(n.return!==i.return)n=a,i=r;else{for(var l=!1,o=a.child;o;){if(o===n){l=!0,n=a,i=r;break}if(o===i){l=!0,i=a,n=r;break}o=o.sibling}if(!l){for(o=r.child;o;){if(o===n){l=!0,n=r,i=a;break}if(o===i){l=!0,i=r,n=a;break}o=o.sibling}if(!l)throw Error(s(189))}}if(n.alternate!==i)throw Error(s(190))}if(3!==n.tag)throw Error(s(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function at(e,t){if(null==t)throw Error(s(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function rt(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var st=null;function lt(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var i=0;i<t.length&&!e.isPropagationStopped();i++)v(e,t[i],n[i]);else t&&v(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function ot(e){if(null!==e&&(st=at(st,e)),e=st,st=null,e){if(rt(e,lt),st)throw Error(s(95));if(c)throw e=u,c=!1,u=null,e}}function dt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!I)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ut=[];function pt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ut.length&&ut.push(e)}function At(e,t,n,i){if(ut.length){var a=ut.pop();return a.topLevelType=e,a.eventSystemFlags=i,a.nativeEvent=t,a.targetInst=n,a}return{topLevelType:e,eventSystemFlags:i,nativeEvent:t,targetInst:n,ancestors:[]}}function ht(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var i=n;if(3===i.tag)i=i.stateNode.containerInfo;else{for(;i.return;)i=i.return;i=3!==i.tag?null:i.stateNode.containerInfo}if(!i)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Fn(i)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var a=dt(e.nativeEvent);i=e.topLevelType;var r=e.nativeEvent,s=e.eventSystemFlags;0===n&&(s|=64);for(var l=null,o=0;o<w.length;o++){var d=w[o];d&&(d=d.extractEvents(i,t,r,a,s))&&(l=at(l,d))}ot(l)}}function ft(e,t,n){if(!n.has(e)){switch(e){case"scroll":Gt(t,"scroll",!0);break;case"focus":case"blur":Gt(t,"focus",!0),Gt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&Gt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Xe.indexOf(e)&&Kt(e,t)}n.set(e,null)}}var mt,vt,gt,yt=!1,xt=[],bt=null,wt=null,jt=null,Ct=new Map,St=new Map,Nt=[],It="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Ft="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Bt(e,t,n,i,a){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:a,container:i}}function Pt(e,t){switch(e){case"focus":case"blur":bt=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":jt=null;break;case"pointerover":case"pointerout":Ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":St.delete(t.pointerId)}}function kt(e,t,n,i,a,r){return null===e||e.nativeEvent!==r?(e=Bt(t,n,i,a,r),null!==t&&null!==(t=Bn(t))&&vt(t),e):(e.eventSystemFlags|=i,e)}function Tt(e){var t=Fn(e.target);if(null!==t){var n=et(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=tt(n)))return e.blockedOn=t,void r.unstable_runWithPriority(e.priority,(function(){gt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Et(e){if(null!==e.blockedOn)return!1;var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Bn(t);return null!==n&&vt(n),e.blockedOn=t,!1}return!0}function Dt(e,t,n){Et(e)&&n.delete(t)}function Lt(){for(yt=!1;0<xt.length;){var e=xt[0];if(null!==e.blockedOn){null!==(e=Bn(e.blockedOn))&&mt(e);break}var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:xt.shift()}null!==bt&&Et(bt)&&(bt=null),null!==wt&&Et(wt)&&(wt=null),null!==jt&&Et(jt)&&(jt=null),Ct.forEach(Dt),St.forEach(Dt)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,yt||(yt=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Lt)))}function _t(e){function t(t){return Ut(t,e)}if(0<xt.length){Ut(xt[0],e);for(var n=1;n<xt.length;n++){var i=xt[n];i.blockedOn===e&&(i.blockedOn=null)}}for(null!==bt&&Ut(bt,e),null!==wt&&Ut(wt,e),null!==jt&&Ut(jt,e),Ct.forEach(t),St.forEach(t),n=0;n<Nt.length;n++)(i=Nt[n]).blockedOn===e&&(i.blockedOn=null);for(;0<Nt.length&&null===(n=Nt[0]).blockedOn;)Tt(n),null===n.blockedOn&&Nt.shift()}var Ot={},Mt=new Map,Rt=new Map,Qt=["abort","abort",Ye,"animationEnd",Ke,"animationIteration",Ge,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",$e,"transitionEnd","waiting","waiting"];function Ht(e,t){for(var n=0;n<e.length;n+=2){var i=e[n],a=e[n+1],r="on"+(a[0].toUpperCase()+a.slice(1));r={phasedRegistrationNames:{bubbled:r,captured:r+"Capture"},dependencies:[i],eventPriority:t},Rt.set(i,t),Mt.set(i,r),Ot[a]=r}}Ht("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Ht("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Ht(Qt,2);for(var Vt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),zt=0;zt<Vt.length;zt++)Rt.set(Vt[zt],0);var qt=r.unstable_UserBlockingPriority,Wt=r.unstable_runWithPriority,Yt=!0;function Kt(e,t){Gt(t,e,!1)}function Gt(e,t,n){var i=Rt.get(t);switch(void 0===i?2:i){case 0:i=$t.bind(null,t,1,e);break;case 1:i=Xt.bind(null,t,1,e);break;default:i=Jt.bind(null,t,1,e)}n?e.addEventListener(t,i,!0):e.addEventListener(t,i,!1)}function $t(e,t,n,i){O||U();var a=Jt,r=O;O=!0;try{L(a,e,t,n,i)}finally{(O=r)||R()}}function Xt(e,t,n,i){Wt(qt,Jt.bind(null,e,t,n,i))}function Jt(e,t,n,i){if(Yt)if(0<xt.length&&-1<It.indexOf(e))e=Bt(null,e,t,n,i),xt.push(e);else{var a=Zt(e,t,n,i);if(null===a)Pt(e,i);else if(-1<It.indexOf(e))e=Bt(a,e,t,n,i),xt.push(e);else if(!function(e,t,n,i,a){switch(t){case"focus":return bt=kt(bt,e,t,n,i,a),!0;case"dragenter":return wt=kt(wt,e,t,n,i,a),!0;case"mouseover":return jt=kt(jt,e,t,n,i,a),!0;case"pointerover":var r=a.pointerId;return Ct.set(r,kt(Ct.get(r)||null,e,t,n,i,a)),!0;case"gotpointercapture":return r=a.pointerId,St.set(r,kt(St.get(r)||null,e,t,n,i,a)),!0}return!1}(a,e,t,n,i)){Pt(e,i),e=At(e,i,null,t);try{Q(ht,e)}finally{pt(e)}}}}function Zt(e,t,n,i){if(null!==(n=Fn(n=dt(i)))){var a=et(n);if(null===a)n=null;else{var r=a.tag;if(13===r){if(null!==(n=tt(a)))return n;n=null}else if(3===r){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}e=At(e,i,n,t);try{Q(ht,e)}finally{pt(e)}return null}var en={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tn=["Webkit","ms","Moz","O"];function nn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||en.hasOwnProperty(e)&&en[e]?(""+t).trim():t+"px"}function an(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var i=0===n.indexOf("--"),a=nn(n,t[n],i);"float"===n&&(n="cssFloat"),i?e.setProperty(n,a):e[n]=a}}Object.keys(en).forEach((function(e){tn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),en[t]=en[e]}))}));var rn=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function sn(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(s(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(s(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(s(62,""))}}function ln(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var on=De;function dn(e,t){var n=Ze(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=S[t];for(var i=0;i<t.length;i++)ft(t[i],e,n)}function cn(){}function un(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function pn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function An(e,t){var n,i=pn(e);for(e=0;i;){if(3===i.nodeType){if(n=e+i.textContent.length,e<=t&&n>=t)return{node:i,offset:t-e};e=n}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=pn(i)}}function hn(){for(var e=window,t=un();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(i){n=!1}if(!n)break;t=un((e=t.contentWindow).document)}return t}function fn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var mn=null,vn=null;function gn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function yn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var xn="function"==typeof setTimeout?setTimeout:void 0,bn="function"==typeof clearTimeout?clearTimeout:void 0;function wn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function jn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Cn=Math.random().toString(36).slice(2),Sn="__reactInternalInstance$"+Cn,Nn="__reactEventHandlers$"+Cn,In="__reactContainere$"+Cn;function Fn(e){var t=e[Sn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[In]||n[Sn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=jn(e);null!==e;){if(n=e[Sn])return n;e=jn(e)}return t}n=(e=n).parentNode}return null}function Bn(e){return!(e=e[Sn]||e[In])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Pn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(s(33))}function kn(e){return e[Nn]||null}function Tn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function En(e,t){var n=e.stateNode;if(!n)return null;var i=h(n);if(!i)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(i=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!i;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(s(231,t,typeof n));return n}function Dn(e,t,n){(t=En(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=at(n._dispatchListeners,t),n._dispatchInstances=at(n._dispatchInstances,e))}function Ln(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Tn(t);for(t=n.length;0<t--;)Dn(n[t],"captured",e);for(t=0;t<n.length;t++)Dn(n[t],"bubbled",e)}}function Un(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=En(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=at(n._dispatchListeners,t),n._dispatchInstances=at(n._dispatchInstances,e))}function _n(e){e&&e.dispatchConfig.registrationName&&Un(e._targetInst,null,e)}function On(e){rt(e,Ln)}var Mn=null,Rn=null,Qn=null;function Hn(){if(Qn)return Qn;var e,t,n=Rn,i=n.length,a="value"in Mn?Mn.value:Mn.textContent,r=a.length;for(e=0;e<i&&n[e]===a[e];e++);var s=i-e;for(t=1;t<=s&&n[i-t]===a[r-t];t++);return Qn=a.slice(e,1<t?1-t:void 0)}function Vn(){return!0}function zn(){return!1}function qn(e,t,n,i){for(var a in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(a)&&((t=e[a])?this[a]=t(n):"target"===a?this.target=i:this[a]=n[a]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Vn:zn,this.isPropagationStopped=zn,this}function Wn(e,t,n,i){if(this.eventPool.length){var a=this.eventPool.pop();return this.call(a,e,t,n,i),a}return new this(e,t,n,i)}function Yn(e){if(!(e instanceof this))throw Error(s(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Kn(e){e.eventPool=[],e.getPooled=Wn,e.release=Yn}a(qn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Vn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Vn)},persist:function(){this.isPersistent=Vn},isPersistent:zn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=zn,this._dispatchInstances=this._dispatchListeners=null}}),qn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},qn.extend=function(e){function t(){}function n(){return i.apply(this,arguments)}var i=this;t.prototype=i.prototype;var r=new t;return a(r,n.prototype),n.prototype=r,n.prototype.constructor=n,n.Interface=a({},i.Interface,e),n.extend=i.extend,Kn(n),n},Kn(qn);var Gn=qn.extend({data:null}),$n=qn.extend({data:null}),Xn=[9,13,27,32],Jn=I&&"CompositionEvent"in window,Zn=null;I&&"documentMode"in document&&(Zn=document.documentMode);var ei=I&&"TextEvent"in window&&!Zn,ti=I&&(!Jn||Zn&&8<Zn&&11>=Zn),ni=String.fromCharCode(32),ii={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},ai=!1;function ri(e,t){switch(e){case"keyup":return-1!==Xn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function si(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var li=!1,oi={eventTypes:ii,extractEvents:function(e,t,n,i){var a;if(Jn)e:{switch(e){case"compositionstart":var r=ii.compositionStart;break e;case"compositionend":r=ii.compositionEnd;break e;case"compositionupdate":r=ii.compositionUpdate;break e}r=void 0}else li?ri(e,n)&&(r=ii.compositionEnd):"keydown"===e&&229===n.keyCode&&(r=ii.compositionStart);return r?(ti&&"ko"!==n.locale&&(li||r!==ii.compositionStart?r===ii.compositionEnd&&li&&(a=Hn()):(Rn="value"in(Mn=i)?Mn.value:Mn.textContent,li=!0)),r=Gn.getPooled(r,t,n,i),(a||null!==(a=si(n)))&&(r.data=a),On(r),a=r):a=null,(e=ei?function(e,t){switch(e){case"compositionend":return si(t);case"keypress":return 32!==t.which?null:(ai=!0,ni);case"textInput":return(e=t.data)===ni&&ai?null:e;default:return null}}(e,n):function(e,t){if(li)return"compositionend"===e||!Jn&&ri(e,t)?(e=Hn(),Qn=Rn=Mn=null,li=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ti&&"ko"!==t.locale?null:t.data}}(e,n))?((t=$n.getPooled(ii.beforeInput,t,n,i)).data=e,On(t)):t=null,null===a?t:null===t?a:[a,t]}},di={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ci(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!di[e.type]:"textarea"===t}var ui={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function pi(e,t,n){return(e=qn.getPooled(ui.change,e,t,n)).type="change",T(n),On(e),e}var Ai=null,hi=null;function fi(e){ot(e)}function mi(e){if(be(Pn(e)))return e}function vi(e,t){if("change"===e)return t}var gi=!1;function yi(){Ai&&(Ai.detachEvent("onpropertychange",xi),hi=Ai=null)}function xi(e){if("value"===e.propertyName&&mi(hi))if(e=pi(hi,e,dt(e)),O)ot(e);else{O=!0;try{D(fi,e)}finally{O=!1,R()}}}function bi(e,t,n){"focus"===e?(yi(),hi=n,(Ai=t).attachEvent("onpropertychange",xi)):"blur"===e&&yi()}function wi(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return mi(hi)}function ji(e,t){if("click"===e)return mi(t)}function Ci(e,t){if("input"===e||"change"===e)return mi(t)}I&&(gi=ct("input")&&(!document.documentMode||9<document.documentMode));var Si={eventTypes:ui,_isInputEventSupported:gi,extractEvents:function(e,t,n,i){var a=t?Pn(t):window,r=a.nodeName&&a.nodeName.toLowerCase();if("select"===r||"input"===r&&"file"===a.type)var s=vi;else if(ci(a))if(gi)s=Ci;else{s=wi;var l=bi}else(r=a.nodeName)&&"input"===r.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(s=ji);if(s&&(s=s(e,t)))return pi(s,n,i);l&&l(e,a,t),"blur"===e&&(e=a._wrapperState)&&e.controlled&&"number"===a.type&&Ie(a,"number",a.value)}},Ni=qn.extend({view:null,detail:null}),Ii={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fi(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ii[e])&&!!t[e]}function Bi(){return Fi}var Pi=0,ki=0,Ti=!1,Ei=!1,Di=Ni.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Bi,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Pi;return Pi=e.screenX,Ti?"mousemove"===e.type?e.screenX-t:0:(Ti=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=ki;return ki=e.screenY,Ei?"mousemove"===e.type?e.screenY-t:0:(Ei=!0,0)}}),Li=Di.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Ui={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},_i={eventTypes:Ui,extractEvents:function(e,t,n,i,a){var r="mouseover"===e||"pointerover"===e,s="mouseout"===e||"pointerout"===e;if(r&&!(32&a)&&(n.relatedTarget||n.fromElement)||!s&&!r)return null;if(r=i.window===i?i:(r=i.ownerDocument)?r.defaultView||r.parentWindow:window,s?(s=t,null!==(t=(t=n.relatedTarget||n.toElement)?Fn(t):null)&&(t!==et(t)||5!==t.tag&&6!==t.tag)&&(t=null)):s=null,s===t)return null;if("mouseout"===e||"mouseover"===e)var l=Di,o=Ui.mouseLeave,d=Ui.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(l=Li,o=Ui.pointerLeave,d=Ui.pointerEnter,c="pointer");if(e=null==s?r:Pn(s),r=null==t?r:Pn(t),(o=l.getPooled(o,s,n,i)).type=c+"leave",o.target=e,o.relatedTarget=r,(n=l.getPooled(d,t,n,i)).type=c+"enter",n.target=r,n.relatedTarget=e,c=t,(i=s)&&c)e:{for(d=c,s=0,e=l=i;e;e=Tn(e))s++;for(e=0,t=d;t;t=Tn(t))e++;for(;0<s-e;)l=Tn(l),s--;for(;0<e-s;)d=Tn(d),e--;for(;s--;){if(l===d||l===d.alternate)break e;l=Tn(l),d=Tn(d)}l=null}else l=null;for(d=l,l=[];i&&i!==d&&(null===(s=i.alternate)||s!==d);)l.push(i),i=Tn(i);for(i=[];c&&c!==d&&(null===(s=c.alternate)||s!==d);)i.push(c),c=Tn(c);for(c=0;c<l.length;c++)Un(l[c],"bubbled",o);for(c=i.length;0<c--;)Un(i[c],"captured",n);return 64&a?[o,n]:[o]}},Oi="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Mi=Object.prototype.hasOwnProperty;function Ri(e,t){if(Oi(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++)if(!Mi.call(t,n[i])||!Oi(e[n[i]],t[n[i]]))return!1;return!0}var Qi=I&&"documentMode"in document&&11>=document.documentMode,Hi={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Vi=null,zi=null,qi=null,Wi=!1;function Yi(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Wi||null==Vi||Vi!==un(n)?null:(n="selectionStart"in(n=Vi)&&fn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},qi&&Ri(qi,n)?null:(qi=n,(e=qn.getPooled(Hi.select,zi,e,t)).type="select",e.target=Vi,On(e),e))}var Ki={eventTypes:Hi,extractEvents:function(e,t,n,i,a,r){if(!(r=!(a=r||(i.window===i?i.document:9===i.nodeType?i:i.ownerDocument)))){e:{a=Ze(a),r=S.onSelect;for(var s=0;s<r.length;s++)if(!a.has(r[s])){a=!1;break e}a=!0}r=!a}if(r)return null;switch(a=t?Pn(t):window,e){case"focus":(ci(a)||"true"===a.contentEditable)&&(Vi=a,zi=t,qi=null);break;case"blur":qi=zi=Vi=null;break;case"mousedown":Wi=!0;break;case"contextmenu":case"mouseup":case"dragend":return Wi=!1,Yi(n,i);case"selectionchange":if(Qi)break;case"keydown":case"keyup":return Yi(n,i)}return null}},Gi=qn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),$i=qn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Xi=Ni.extend({relatedTarget:null});function Ji(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Zi={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ea={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ta=Ni.extend({key:function(e){if(e.key){var t=Zi[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Ji(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ea[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Bi,charCode:function(e){return"keypress"===e.type?Ji(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Ji(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),na=Di.extend({dataTransfer:null}),ia=Ni.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Bi}),aa=qn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ra=Di.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),sa={eventTypes:Ot,extractEvents:function(e,t,n,i){var a=Mt.get(e);if(!a)return null;switch(e){case"keypress":if(0===Ji(n))return null;case"keydown":case"keyup":e=ta;break;case"blur":case"focus":e=Xi;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Di;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=na;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ia;break;case Ye:case Ke:case Ge:e=Gi;break;case $e:e=aa;break;case"scroll":e=Ni;break;case"wheel":e=ra;break;case"copy":case"cut":case"paste":e=$i;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Li;break;default:e=qn}return On(t=e.getPooled(a,t,n,i)),t}};if(g)throw Error(s(101));g=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),x(),h=kn,f=Bn,m=Pn,N({SimpleEventPlugin:sa,EnterLeaveEventPlugin:_i,ChangeEventPlugin:Si,SelectEventPlugin:Ki,BeforeInputEventPlugin:oi});var la=[],oa=-1;function da(e){0>oa||(e.current=la[oa],la[oa]=null,oa--)}function ca(e,t){oa++,la[oa]=e.current,e.current=t}var ua={},pa={current:ua},Aa={current:!1},ha=ua;function fa(e,t){var n=e.type.contextTypes;if(!n)return ua;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var a,r={};for(a in n)r[a]=t[a];return i&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function ma(e){return null!=e.childContextTypes}function va(){da(Aa),da(pa)}function ga(e,t,n){if(pa.current!==ua)throw Error(s(168));ca(pa,t),ca(Aa,n)}function ya(e,t,n){var i=e.stateNode;if(e=t.childContextTypes,"function"!=typeof i.getChildContext)return n;for(var r in i=i.getChildContext())if(!(r in e))throw Error(s(108,me(t)||"Unknown",r));return a({},n,{},i)}function xa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ua,ha=pa.current,ca(pa,e),ca(Aa,Aa.current),!0}function ba(e,t,n){var i=e.stateNode;if(!i)throw Error(s(169));n?(e=ya(e,t,ha),i.__reactInternalMemoizedMergedChildContext=e,da(Aa),da(pa),ca(pa,e)):da(Aa),ca(Aa,n)}var wa=r.unstable_runWithPriority,ja=r.unstable_scheduleCallback,Ca=r.unstable_cancelCallback,Sa=r.unstable_requestPaint,Na=r.unstable_now,Ia=r.unstable_getCurrentPriorityLevel,Fa=r.unstable_ImmediatePriority,Ba=r.unstable_UserBlockingPriority,Pa=r.unstable_NormalPriority,ka=r.unstable_LowPriority,Ta=r.unstable_IdlePriority,Ea={},Da=r.unstable_shouldYield,La=void 0!==Sa?Sa:function(){},Ua=null,_a=null,Oa=!1,Ma=Na(),Ra=1e4>Ma?Na:function(){return Na()-Ma};function Qa(){switch(Ia()){case Fa:return 99;case Ba:return 98;case Pa:return 97;case ka:return 96;case Ta:return 95;default:throw Error(s(332))}}function Ha(e){switch(e){case 99:return Fa;case 98:return Ba;case 97:return Pa;case 96:return ka;case 95:return Ta;default:throw Error(s(332))}}function Va(e,t){return e=Ha(e),wa(e,t)}function za(e,t,n){return e=Ha(e),ja(e,t,n)}function qa(e){return null===Ua?(Ua=[e],_a=ja(Fa,Ya)):Ua.push(e),Ea}function Wa(){if(null!==_a){var e=_a;_a=null,Ca(e)}Ya()}function Ya(){if(!Oa&&null!==Ua){Oa=!0;var e=0;try{var t=Ua;Va(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ua=null}catch(n){throw null!==Ua&&(Ua=Ua.slice(e+1)),ja(Fa,Wa),n}finally{Oa=!1}}}function Ka(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Ga(e,t){if(e&&e.defaultProps)for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var $a={current:null},Xa=null,Ja=null,Za=null;function er(){Za=Ja=Xa=null}function tr(e){var t=$a.current;da($a),e.type._context._currentValue=t}function nr(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ir(e,t){Xa=e,Za=Ja=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ps=!0),e.firstContext=null)}function ar(e,t){if(Za!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Za=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Ja){if(null===Xa)throw Error(s(308));Ja=t,Xa.dependencies={expirationTime:0,firstContext:t,responders:null}}else Ja=Ja.next=t;return e._currentValue}var rr=!1;function sr(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function lr(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function or(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function dr(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function cr(e,t){var n=e.alternate;null!==n&&lr(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function ur(e,t,n,i){var r=e.updateQueue;rr=!1;var s=r.baseQueue,l=r.shared.pending;if(null!==l){if(null!==s){var o=s.next;s.next=l.next,l.next=o}s=l,r.shared.pending=null,null!==(o=e.alternate)&&null!==(o=o.updateQueue)&&(o.baseQueue=l)}if(null!==s){o=s.next;var d=r.baseState,c=0,u=null,p=null,A=null;if(null!==o)for(var h=o;;){if((l=h.expirationTime)<i){var f={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===A?(p=A=f,u=d):A=A.next=f,l>c&&(c=l)}else{null!==A&&(A=A.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),ro(l,h.suspenseConfig);e:{var m=e,v=h;switch(l=t,f=n,v.tag){case 1:if("function"==typeof(m=v.payload)){d=m.call(f,d,l);break e}d=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(null==(l="function"==typeof(m=v.payload)?m.call(f,d,l):m))break e;d=a({},d,l);break e;case 2:rr=!0}}null!==h.callback&&(e.effectTag|=32,null===(l=r.effects)?r.effects=[h]:l.push(h))}if(null===(h=h.next)||h===o){if(null===(l=r.shared.pending))break;h=s.next=l.next,l.next=o,r.baseQueue=s=l,r.shared.pending=null}}null===A?u=d:A.next=p,r.baseState=u,r.baseQueue=A,so(c),e.expirationTime=c,e.memoizedState=d}}function pr(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var i=e[t],a=i.callback;if(null!==a){if(i.callback=null,i=a,a=n,"function"!=typeof i)throw Error(s(191,i));i.call(a)}}}var Ar=$.ReactCurrentBatchConfig,hr=(new i.Component).refs;function fr(e,t,n,i){n=null==(n=n(i,t=e.memoizedState))?t:a({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var mr={isMounted:function(e){return!!(e=e._reactInternalFiber)&&et(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var i=Wl(),a=Ar.suspense;(a=or(i=Yl(i,e,a),a)).payload=t,null!=n&&(a.callback=n),dr(e,a),Kl(e,i)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var i=Wl(),a=Ar.suspense;(a=or(i=Yl(i,e,a),a)).tag=1,a.payload=t,null!=n&&(a.callback=n),dr(e,a),Kl(e,i)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Wl(),i=Ar.suspense;(i=or(n=Yl(n,e,i),i)).tag=2,null!=t&&(i.callback=t),dr(e,i),Kl(e,n)}};function vr(e,t,n,i,a,r,s){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(i,r,s):!(t.prototype&&t.prototype.isPureReactComponent&&Ri(n,i)&&Ri(a,r))}function gr(e,t,n){var i=!1,a=ua,r=t.contextType;return"object"==typeof r&&null!==r?r=ar(r):(a=ma(t)?ha:pa.current,r=(i=null!=(i=t.contextTypes))?fa(e,a):ua),t=new t(n,r),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=mr,e.stateNode=t,t._reactInternalFiber=e,i&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=r),t}function yr(e,t,n,i){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,i),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&mr.enqueueReplaceState(t,t.state,null)}function xr(e,t,n,i){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=hr,sr(e);var r=t.contextType;"object"==typeof r&&null!==r?a.context=ar(r):(r=ma(t)?ha:pa.current,a.context=fa(e,r)),ur(e,n,a,i),a.state=e.memoizedState,"function"==typeof(r=t.getDerivedStateFromProps)&&(fr(e,t,r,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&mr.enqueueReplaceState(a,a.state,null),ur(e,n,a,i),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.effectTag|=4)}var br=Array.isArray;function wr(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(s(309));var i=n.stateNode}if(!i)throw Error(s(147,e));var a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=i.refs;t===hr&&(t=i.refs={}),null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(s(284));if(!n._owner)throw Error(s(290,e))}return e}function jr(e,t){if("textarea"!==e.type)throw Error(s(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Cr(e){function t(t,n){if(e){var i=t.lastEffect;null!==i?(i.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,i){if(!e)return null;for(;null!==i;)t(n,i),i=i.sibling;return null}function i(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Io(e,t)).index=0,e.sibling=null,e}function r(t,n,i){return t.index=i,e?null!==(i=t.alternate)?(i=i.index)<n?(t.effectTag=2,n):i:(t.effectTag=2,n):n}function l(t){return e&&null===t.alternate&&(t.effectTag=2),t}function o(e,t,n,i){return null===t||6!==t.tag?((t=Po(n,e.mode,i)).return=e,t):((t=a(t,n)).return=e,t)}function d(e,t,n,i){return null!==t&&t.elementType===n.type?((i=a(t,n.props)).ref=wr(e,t,n),i.return=e,i):((i=Fo(n.type,n.key,n.props,null,e.mode,i)).ref=wr(e,t,n),i.return=e,i)}function c(e,t,n,i){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=ko(n,e.mode,i)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function u(e,t,n,i,r){return null===t||7!==t.tag?((t=Bo(n,e.mode,i,r)).return=e,t):((t=a(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Po(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Fo(t.type,t.key,t.props,null,e.mode,n)).ref=wr(e,null,t),n.return=e,n;case te:return(t=ko(t,e.mode,n)).return=e,t}if(br(t)||fe(t))return(t=Bo(t,e.mode,n,null)).return=e,t;jr(e,t)}return null}function A(e,t,n,i){var a=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==a?null:o(e,t,""+n,i);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===a?n.type===ne?u(e,t,n.props.children,i,a):d(e,t,n,i):null;case te:return n.key===a?c(e,t,n,i):null}if(br(n)||fe(n))return null!==a?null:u(e,t,n,i,null);jr(e,n)}return null}function h(e,t,n,i,a){if("string"==typeof i||"number"==typeof i)return o(t,e=e.get(n)||null,""+i,a);if("object"==typeof i&&null!==i){switch(i.$$typeof){case ee:return e=e.get(null===i.key?n:i.key)||null,i.type===ne?u(t,e,i.props.children,a,i.key):d(t,e,i,a);case te:return c(t,e=e.get(null===i.key?n:i.key)||null,i,a)}if(br(i)||fe(i))return u(t,e=e.get(n)||null,i,a,null);jr(t,i)}return null}function f(a,s,l,o){for(var d=null,c=null,u=s,f=s=0,m=null;null!==u&&f<l.length;f++){u.index>f?(m=u,u=null):m=u.sibling;var v=A(a,u,l[f],o);if(null===v){null===u&&(u=m);break}e&&u&&null===v.alternate&&t(a,u),s=r(v,s,f),null===c?d=v:c.sibling=v,c=v,u=m}if(f===l.length)return n(a,u),d;if(null===u){for(;f<l.length;f++)null!==(u=p(a,l[f],o))&&(s=r(u,s,f),null===c?d=u:c.sibling=u,c=u);return d}for(u=i(a,u);f<l.length;f++)null!==(m=h(u,a,f,l[f],o))&&(e&&null!==m.alternate&&u.delete(null===m.key?f:m.key),s=r(m,s,f),null===c?d=m:c.sibling=m,c=m);return e&&u.forEach((function(e){return t(a,e)})),d}function m(a,l,o,d){var c=fe(o);if("function"!=typeof c)throw Error(s(150));if(null==(o=c.call(o)))throw Error(s(151));for(var u=c=null,f=l,m=l=0,v=null,g=o.next();null!==f&&!g.done;m++,g=o.next()){f.index>m?(v=f,f=null):v=f.sibling;var y=A(a,f,g.value,d);if(null===y){null===f&&(f=v);break}e&&f&&null===y.alternate&&t(a,f),l=r(y,l,m),null===u?c=y:u.sibling=y,u=y,f=v}if(g.done)return n(a,f),c;if(null===f){for(;!g.done;m++,g=o.next())null!==(g=p(a,g.value,d))&&(l=r(g,l,m),null===u?c=g:u.sibling=g,u=g);return c}for(f=i(a,f);!g.done;m++,g=o.next())null!==(g=h(f,a,m,g.value,d))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),l=r(g,l,m),null===u?c=g:u.sibling=g,u=g);return e&&f.forEach((function(e){return t(a,e)})),c}return function(e,i,r,o){var d="object"==typeof r&&null!==r&&r.type===ne&&null===r.key;d&&(r=r.props.children);var c="object"==typeof r&&null!==r;if(c)switch(r.$$typeof){case ee:e:{for(c=r.key,d=i;null!==d;){if(d.key===c){if(7===d.tag){if(r.type===ne){n(e,d.sibling),(i=a(d,r.props.children)).return=e,e=i;break e}}else if(d.elementType===r.type){n(e,d.sibling),(i=a(d,r.props)).ref=wr(e,d,r),i.return=e,e=i;break e}n(e,d);break}t(e,d),d=d.sibling}r.type===ne?((i=Bo(r.props.children,e.mode,o,r.key)).return=e,e=i):((o=Fo(r.type,r.key,r.props,null,e.mode,o)).ref=wr(e,i,r),o.return=e,e=o)}return l(e);case te:e:{for(d=r.key;null!==i;){if(i.key===d){if(4===i.tag&&i.stateNode.containerInfo===r.containerInfo&&i.stateNode.implementation===r.implementation){n(e,i.sibling),(i=a(i,r.children||[])).return=e,e=i;break e}n(e,i);break}t(e,i),i=i.sibling}(i=ko(r,e.mode,o)).return=e,e=i}return l(e)}if("string"==typeof r||"number"==typeof r)return r=""+r,null!==i&&6===i.tag?(n(e,i.sibling),(i=a(i,r)).return=e,e=i):(n(e,i),(i=Po(r,e.mode,o)).return=e,e=i),l(e);if(br(r))return f(e,i,r,o);if(fe(r))return m(e,i,r,o);if(c&&jr(e,r),void 0===r&&!d)switch(e.tag){case 1:case 0:throw e=e.type,Error(s(152,e.displayName||e.name||"Component"))}return n(e,i)}}var Sr=Cr(!0),Nr=Cr(!1),Ir={},Fr={current:Ir},Br={current:Ir},Pr={current:Ir};function kr(e){if(e===Ir)throw Error(s(174));return e}function Tr(e,t){switch(ca(Pr,t),ca(Br,e),ca(Fr,Ir),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:_e(null,"");break;default:t=_e(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}da(Fr),ca(Fr,t)}function Er(){da(Fr),da(Br),da(Pr)}function Dr(e){kr(Pr.current);var t=kr(Fr.current),n=_e(t,e.type);t!==n&&(ca(Br,e),ca(Fr,n))}function Lr(e){Br.current===e&&(da(Fr),da(Br))}var Ur={current:0};function _r(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(64&t.effectTag)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Or(e,t){return{responder:e,props:t}}var Mr=$.ReactCurrentDispatcher,Rr=$.ReactCurrentBatchConfig,Qr=0,Hr=null,Vr=null,zr=null,qr=!1;function Wr(){throw Error(s(321))}function Yr(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Oi(e[n],t[n]))return!1;return!0}function Kr(e,t,n,i,a,r){if(Qr=r,Hr=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Mr.current=null===e||null===e.memoizedState?vs:gs,e=n(i,a),t.expirationTime===Qr){r=0;do{if(t.expirationTime=0,!(25>r))throw Error(s(301));r+=1,zr=Vr=null,t.updateQueue=null,Mr.current=ys,e=n(i,a)}while(t.expirationTime===Qr)}if(Mr.current=ms,t=null!==Vr&&null!==Vr.next,Qr=0,zr=Vr=Hr=null,qr=!1,t)throw Error(s(300));return e}function Gr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===zr?Hr.memoizedState=zr=e:zr=zr.next=e,zr}function $r(){if(null===Vr){var e=Hr.alternate;e=null!==e?e.memoizedState:null}else e=Vr.next;var t=null===zr?Hr.memoizedState:zr.next;if(null!==t)zr=t,Vr=e;else{if(null===e)throw Error(s(310));e={memoizedState:(Vr=e).memoizedState,baseState:Vr.baseState,baseQueue:Vr.baseQueue,queue:Vr.queue,next:null},null===zr?Hr.memoizedState=zr=e:zr=zr.next=e}return zr}function Xr(e,t){return"function"==typeof t?t(e):t}function Jr(e){var t=$r(),n=t.queue;if(null===n)throw Error(s(311));n.lastRenderedReducer=e;var i=Vr,a=i.baseQueue,r=n.pending;if(null!==r){if(null!==a){var l=a.next;a.next=r.next,r.next=l}i.baseQueue=a=r,n.pending=null}if(null!==a){a=a.next,i=i.baseState;var o=l=r=null,d=a;do{var c=d.expirationTime;if(c<Qr){var u={expirationTime:d.expirationTime,suspenseConfig:d.suspenseConfig,action:d.action,eagerReducer:d.eagerReducer,eagerState:d.eagerState,next:null};null===o?(l=o=u,r=i):o=o.next=u,c>Hr.expirationTime&&(Hr.expirationTime=c,so(c))}else null!==o&&(o=o.next={expirationTime:1073741823,suspenseConfig:d.suspenseConfig,action:d.action,eagerReducer:d.eagerReducer,eagerState:d.eagerState,next:null}),ro(c,d.suspenseConfig),i=d.eagerReducer===e?d.eagerState:e(i,d.action);d=d.next}while(null!==d&&d!==a);null===o?r=i:o.next=l,Oi(i,t.memoizedState)||(Ps=!0),t.memoizedState=i,t.baseState=r,t.baseQueue=o,n.lastRenderedState=i}return[t.memoizedState,n.dispatch]}function Zr(e){var t=$r(),n=t.queue;if(null===n)throw Error(s(311));n.lastRenderedReducer=e;var i=n.dispatch,a=n.pending,r=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{r=e(r,l.action),l=l.next}while(l!==a);Oi(r,t.memoizedState)||(Ps=!0),t.memoizedState=r,null===t.baseQueue&&(t.baseState=r),n.lastRenderedState=r}return[r,i]}function es(e){var t=Gr();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Xr,lastRenderedState:e}).dispatch=fs.bind(null,Hr,e),[t.memoizedState,e]}function ts(e,t,n,i){return e={tag:e,create:t,destroy:n,deps:i,next:null},null===(t=Hr.updateQueue)?(t={lastEffect:null},Hr.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e),e}function ns(){return $r().memoizedState}function is(e,t,n,i){var a=Gr();Hr.effectTag|=e,a.memoizedState=ts(1|t,n,void 0,void 0===i?null:i)}function as(e,t,n,i){var a=$r();i=void 0===i?null:i;var r=void 0;if(null!==Vr){var s=Vr.memoizedState;if(r=s.destroy,null!==i&&Yr(i,s.deps))return void ts(t,n,r,i)}Hr.effectTag|=e,a.memoizedState=ts(1|t,n,r,i)}function rs(e,t){return is(516,4,e,t)}function ss(e,t){return as(516,4,e,t)}function ls(e,t){return as(4,2,e,t)}function os(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ds(e,t,n){return n=null!=n?n.concat([e]):null,as(4,2,os.bind(null,t,e),n)}function cs(){}function us(e,t){return Gr().memoizedState=[e,void 0===t?null:t],e}function ps(e,t){var n=$r();t=void 0===t?null:t;var i=n.memoizedState;return null!==i&&null!==t&&Yr(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function As(e,t){var n=$r();t=void 0===t?null:t;var i=n.memoizedState;return null!==i&&null!==t&&Yr(t,i[1])?i[0]:(e=e(),n.memoizedState=[e,t],e)}function hs(e,t,n){var i=Qa();Va(98>i?98:i,(function(){e(!0)})),Va(97<i?97:i,(function(){var i=Rr.suspense;Rr.suspense=void 0===t?null:t;try{e(!1),n()}finally{Rr.suspense=i}}))}function fs(e,t,n){var i=Wl(),a=Ar.suspense;a={expirationTime:i=Yl(i,e,a),suspenseConfig:a,action:n,eagerReducer:null,eagerState:null,next:null};var r=t.pending;if(null===r?a.next=a:(a.next=r.next,r.next=a),t.pending=a,r=e.alternate,e===Hr||null!==r&&r===Hr)qr=!0,a.expirationTime=Qr,Hr.expirationTime=Qr;else{if(0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=r(s,n);if(a.eagerReducer=r,a.eagerState=l,Oi(l,s))return}catch(o){}Kl(e,i)}}var ms={readContext:ar,useCallback:Wr,useContext:Wr,useEffect:Wr,useImperativeHandle:Wr,useLayoutEffect:Wr,useMemo:Wr,useReducer:Wr,useRef:Wr,useState:Wr,useDebugValue:Wr,useResponder:Wr,useDeferredValue:Wr,useTransition:Wr},vs={readContext:ar,useCallback:us,useContext:ar,useEffect:rs,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,is(4,2,os.bind(null,t,e),n)},useLayoutEffect:function(e,t){return is(4,2,e,t)},useMemo:function(e,t){var n=Gr();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=Gr();return t=void 0!==n?n(t):t,i.memoizedState=i.baseState=t,e=(e=i.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=fs.bind(null,Hr,e),[i.memoizedState,e]},useRef:function(e){return e={current:e},Gr().memoizedState=e},useState:es,useDebugValue:cs,useResponder:Or,useDeferredValue:function(e,t){var n=es(e),i=n[0],a=n[1];return rs((function(){var n=Rr.suspense;Rr.suspense=void 0===t?null:t;try{a(e)}finally{Rr.suspense=n}}),[e,t]),i},useTransition:function(e){var t=es(!1),n=t[0];return t=t[1],[us(hs.bind(null,t,e),[t,e]),n]}},gs={readContext:ar,useCallback:ps,useContext:ar,useEffect:ss,useImperativeHandle:ds,useLayoutEffect:ls,useMemo:As,useReducer:Jr,useRef:ns,useState:function(){return Jr(Xr)},useDebugValue:cs,useResponder:Or,useDeferredValue:function(e,t){var n=Jr(Xr),i=n[0],a=n[1];return ss((function(){var n=Rr.suspense;Rr.suspense=void 0===t?null:t;try{a(e)}finally{Rr.suspense=n}}),[e,t]),i},useTransition:function(e){var t=Jr(Xr),n=t[0];return t=t[1],[ps(hs.bind(null,t,e),[t,e]),n]}},ys={readContext:ar,useCallback:ps,useContext:ar,useEffect:ss,useImperativeHandle:ds,useLayoutEffect:ls,useMemo:As,useReducer:Zr,useRef:ns,useState:function(){return Zr(Xr)},useDebugValue:cs,useResponder:Or,useDeferredValue:function(e,t){var n=Zr(Xr),i=n[0],a=n[1];return ss((function(){var n=Rr.suspense;Rr.suspense=void 0===t?null:t;try{a(e)}finally{Rr.suspense=n}}),[e,t]),i},useTransition:function(e){var t=Zr(Xr),n=t[0];return t=t[1],[ps(hs.bind(null,t,e),[t,e]),n]}},xs=null,bs=null,ws=!1;function js(e,t){var n=So(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Cs(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Ss(e){if(ws){var t=bs;if(t){var n=t;if(!Cs(e,t)){if(!(t=wn(n.nextSibling))||!Cs(e,t))return e.effectTag=-1025&e.effectTag|2,ws=!1,void(xs=e);js(xs,n)}xs=e,bs=wn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,ws=!1,xs=e}}function Ns(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;xs=e}function Is(e){if(e!==xs)return!1;if(!ws)return Ns(e),ws=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!yn(t,e.memoizedProps))for(t=bs;t;)js(e,t),t=wn(t.nextSibling);if(Ns(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){bs=wn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}bs=null}}else bs=xs?wn(e.stateNode.nextSibling):null;return!0}function Fs(){bs=xs=null,ws=!1}var Bs=$.ReactCurrentOwner,Ps=!1;function ks(e,t,n,i){t.child=null===e?Nr(t,null,n,i):Sr(t,e.child,n,i)}function Ts(e,t,n,i,a){n=n.render;var r=t.ref;return ir(t,a),i=Kr(e,t,n,i,r,a),null===e||Ps?(t.effectTag|=1,ks(e,t,i,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),Ks(e,t,a))}function Es(e,t,n,i,a,r){if(null===e){var s=n.type;return"function"!=typeof s||No(s)||void 0!==s.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Fo(n.type,null,i,null,t.mode,r)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=s,Ds(e,t,s,i,a,r))}return s=e.child,a<r&&(a=s.memoizedProps,(n=null!==(n=n.compare)?n:Ri)(a,i)&&e.ref===t.ref)?Ks(e,t,r):(t.effectTag|=1,(e=Io(s,i)).ref=t.ref,e.return=t,t.child=e)}function Ds(e,t,n,i,a,r){return null!==e&&Ri(e.memoizedProps,i)&&e.ref===t.ref&&(Ps=!1,a<r)?(t.expirationTime=e.expirationTime,Ks(e,t,r)):Us(e,t,n,i,r)}function Ls(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Us(e,t,n,i,a){var r=ma(n)?ha:pa.current;return r=fa(t,r),ir(t,a),n=Kr(e,t,n,i,r,a),null===e||Ps?(t.effectTag|=1,ks(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),Ks(e,t,a))}function _s(e,t,n,i,a){if(ma(n)){var r=!0;xa(t)}else r=!1;if(ir(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),gr(t,n,i),xr(t,n,i,a),i=!0;else if(null===e){var s=t.stateNode,l=t.memoizedProps;s.props=l;var o=s.context,d=n.contextType;d="object"==typeof d&&null!==d?ar(d):fa(t,d=ma(n)?ha:pa.current);var c=n.getDerivedStateFromProps,u="function"==typeof c||"function"==typeof s.getSnapshotBeforeUpdate;u||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(l!==i||o!==d)&&yr(t,s,i,d),rr=!1;var p=t.memoizedState;s.state=p,ur(t,i,s,a),o=t.memoizedState,l!==i||p!==o||Aa.current||rr?("function"==typeof c&&(fr(t,n,c,i),o=t.memoizedState),(l=rr||vr(t,n,l,i,p,o,d))?(u||"function"!=typeof s.UNSAFE_componentWillMount&&"function"!=typeof s.componentWillMount||("function"==typeof s.componentWillMount&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount()),"function"==typeof s.componentDidMount&&(t.effectTag|=4)):("function"==typeof s.componentDidMount&&(t.effectTag|=4),t.memoizedProps=i,t.memoizedState=o),s.props=i,s.state=o,s.context=d,i=l):("function"==typeof s.componentDidMount&&(t.effectTag|=4),i=!1)}else s=t.stateNode,lr(e,t),l=t.memoizedProps,s.props=t.type===t.elementType?l:Ga(t.type,l),o=s.context,d="object"==typeof(d=n.contextType)&&null!==d?ar(d):fa(t,d=ma(n)?ha:pa.current),(u="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof s.getSnapshotBeforeUpdate)||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(l!==i||o!==d)&&yr(t,s,i,d),rr=!1,o=t.memoizedState,s.state=o,ur(t,i,s,a),p=t.memoizedState,l!==i||o!==p||Aa.current||rr?("function"==typeof c&&(fr(t,n,c,i),p=t.memoizedState),(c=rr||vr(t,n,l,i,o,p,d))?(u||"function"!=typeof s.UNSAFE_componentWillUpdate&&"function"!=typeof s.componentWillUpdate||("function"==typeof s.componentWillUpdate&&s.componentWillUpdate(i,p,d),"function"==typeof s.UNSAFE_componentWillUpdate&&s.UNSAFE_componentWillUpdate(i,p,d)),"function"==typeof s.componentDidUpdate&&(t.effectTag|=4),"function"==typeof s.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof s.componentDidUpdate||l===e.memoizedProps&&o===e.memoizedState||(t.effectTag|=4),"function"!=typeof s.getSnapshotBeforeUpdate||l===e.memoizedProps&&o===e.memoizedState||(t.effectTag|=256),t.memoizedProps=i,t.memoizedState=p),s.props=i,s.state=p,s.context=d,i=c):("function"!=typeof s.componentDidUpdate||l===e.memoizedProps&&o===e.memoizedState||(t.effectTag|=4),"function"!=typeof s.getSnapshotBeforeUpdate||l===e.memoizedProps&&o===e.memoizedState||(t.effectTag|=256),i=!1);return Os(e,t,n,i,r,a)}function Os(e,t,n,i,a,r){Ls(e,t);var s=!!(64&t.effectTag);if(!i&&!s)return a&&ba(t,n,!1),Ks(e,t,r);i=t.stateNode,Bs.current=t;var l=s&&"function"!=typeof n.getDerivedStateFromError?null:i.render();return t.effectTag|=1,null!==e&&s?(t.child=Sr(t,e.child,null,r),t.child=Sr(t,null,l,r)):ks(e,t,l,r),t.memoizedState=i.state,a&&ba(t,n,!0),t.child}function Ms(e){var t=e.stateNode;t.pendingContext?ga(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ga(0,t.context,!1),Tr(e,t.containerInfo)}var Rs,Qs,Hs,Vs={dehydrated:null,retryTime:0};function zs(e,t,n){var i,a=t.mode,r=t.pendingProps,s=Ur.current,l=!1;if((i=!!(64&t.effectTag))||(i=!!(2&s)&&(null===e||null!==e.memoizedState)),i?(l=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===r.fallback||!0===r.unstable_avoidThisFallback||(s|=1),ca(Ur,1&s),null===e){if(void 0!==r.fallback&&Ss(t),l){if(l=r.fallback,(r=Bo(null,a,0,null)).return=t,!(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,r.child=e;null!==e;)e.return=r,e=e.sibling;return(n=Bo(l,a,n,null)).return=t,r.sibling=n,t.memoizedState=Vs,t.child=r,n}return a=r.children,t.memoizedState=null,t.child=Nr(t,null,a,n)}if(null!==e.memoizedState){if(a=(e=e.child).sibling,l){if(r=r.fallback,(n=Io(e,e.pendingProps)).return=t,!(2&t.mode)&&(l=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=l;null!==l;)l.return=n,l=l.sibling;return(a=Io(a,r)).return=t,n.sibling=a,n.childExpirationTime=0,t.memoizedState=Vs,t.child=n,a}return n=Sr(t,e.child,r.children,n),t.memoizedState=null,t.child=n}if(e=e.child,l){if(l=r.fallback,(r=Bo(null,a,0,null)).return=t,r.child=e,null!==e&&(e.return=r),!(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,r.child=e;null!==e;)e.return=r,e=e.sibling;return(n=Bo(l,a,n,null)).return=t,r.sibling=n,n.effectTag|=2,r.childExpirationTime=0,t.memoizedState=Vs,t.child=r,n}return t.memoizedState=null,t.child=Sr(t,e,r.children,n)}function qs(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),nr(e.return,t)}function Ws(e,t,n,i,a,r){var s=e.memoizedState;null===s?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailExpiration:0,tailMode:a,lastEffect:r}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=i,s.tail=n,s.tailExpiration=0,s.tailMode=a,s.lastEffect=r)}function Ys(e,t,n){var i=t.pendingProps,a=i.revealOrder,r=i.tail;if(ks(e,t,i.children,n),2&(i=Ur.current))i=1&i|2,t.effectTag|=64;else{if(null!==e&&64&e.effectTag)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&qs(e,n);else if(19===e.tag)qs(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}if(ca(Ur,i),2&t.mode)switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===_r(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Ws(t,!1,a,n,r,t.lastEffect);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===_r(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Ws(t,!0,n,null,r,t.lastEffect);break;case"together":Ws(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Ks(e,t,n){null!==e&&(t.dependencies=e.dependencies);var i=t.expirationTime;if(0!==i&&so(i),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(s(153));if(null!==t.child){for(n=Io(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Io(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gs(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var i=null;null!==n;)null!==n.alternate&&(i=n),n=n.sibling;null===i?t||null===e.tail?e.tail=null:e.tail.sibling=null:i.sibling=null}}function $s(e,t,n){var i=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return ma(t.type)&&va(),null;case 3:return Er(),da(Aa),da(pa),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Is(t)||(t.effectTag|=4),null;case 5:Lr(t),n=kr(Pr.current);var r=t.type;if(null!==e&&null!=t.stateNode)Qs(e,t,r,i,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!i){if(null===t.stateNode)throw Error(s(166));return null}if(e=kr(Fr.current),Is(t)){i=t.stateNode,r=t.type;var l=t.memoizedProps;switch(i[Sn]=t,i[Nn]=l,r){case"iframe":case"object":case"embed":Kt("load",i);break;case"video":case"audio":for(e=0;e<Xe.length;e++)Kt(Xe[e],i);break;case"source":Kt("error",i);break;case"img":case"image":case"link":Kt("error",i),Kt("load",i);break;case"form":Kt("reset",i),Kt("submit",i);break;case"details":Kt("toggle",i);break;case"input":je(i,l),Kt("invalid",i),dn(n,"onChange");break;case"select":i._wrapperState={wasMultiple:!!l.multiple},Kt("invalid",i),dn(n,"onChange");break;case"textarea":ke(i,l),Kt("invalid",i),dn(n,"onChange")}for(var o in sn(r,l),e=null,l)if(l.hasOwnProperty(o)){var d=l[o];"children"===o?"string"==typeof d?i.textContent!==d&&(e=["children",d]):"number"==typeof d&&i.textContent!==""+d&&(e=["children",""+d]):C.hasOwnProperty(o)&&null!=d&&dn(n,o)}switch(r){case"input":xe(i),Ne(i,l,!0);break;case"textarea":xe(i),Ee(i);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(i.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(o=9===n.nodeType?n:n.ownerDocument,e===on&&(e=Ue(r)),e===on?"script"===r?((e=o.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof i.is?e=o.createElement(r,{is:i.is}):(e=o.createElement(r),"select"===r&&(o=e,i.multiple?o.multiple=!0:i.size&&(o.size=i.size))):e=o.createElementNS(e,r),e[Sn]=t,e[Nn]=i,Rs(e,t),t.stateNode=e,o=ln(r,i),r){case"iframe":case"object":case"embed":Kt("load",e),d=i;break;case"video":case"audio":for(d=0;d<Xe.length;d++)Kt(Xe[d],e);d=i;break;case"source":Kt("error",e),d=i;break;case"img":case"image":case"link":Kt("error",e),Kt("load",e),d=i;break;case"form":Kt("reset",e),Kt("submit",e),d=i;break;case"details":Kt("toggle",e),d=i;break;case"input":je(e,i),d=we(e,i),Kt("invalid",e),dn(n,"onChange");break;case"option":d=Fe(e,i);break;case"select":e._wrapperState={wasMultiple:!!i.multiple},d=a({},i,{value:void 0}),Kt("invalid",e),dn(n,"onChange");break;case"textarea":ke(e,i),d=Pe(e,i),Kt("invalid",e),dn(n,"onChange");break;default:d=i}sn(r,d);var c=d;for(l in c)if(c.hasOwnProperty(l)){var u=c[l];"style"===l?an(e,u):"dangerouslySetInnerHTML"===l?null!=(u=u?u.__html:void 0)&&Re(e,u):"children"===l?"string"==typeof u?("textarea"!==r||""!==u)&&Qe(e,u):"number"==typeof u&&Qe(e,""+u):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(C.hasOwnProperty(l)?null!=u&&dn(n,l):null!=u&&X(e,l,u,o))}switch(r){case"input":xe(e),Ne(e,i,!1);break;case"textarea":xe(e),Ee(e);break;case"option":null!=i.value&&e.setAttribute("value",""+ge(i.value));break;case"select":e.multiple=!!i.multiple,null!=(n=i.value)?Be(e,!!i.multiple,n,!1):null!=i.defaultValue&&Be(e,!!i.multiple,i.defaultValue,!0);break;default:"function"==typeof d.onClick&&(e.onclick=cn)}gn(r,i)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Hs(0,t,e.memoizedProps,i);else{if("string"!=typeof i&&null===t.stateNode)throw Error(s(166));n=kr(Pr.current),kr(Fr.current),Is(t)?(n=t.stateNode,i=t.memoizedProps,n[Sn]=t,n.nodeValue!==i&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(i))[Sn]=t,t.stateNode=n)}return null;case 13:return da(Ur),i=t.memoizedState,64&t.effectTag?(t.expirationTime=n,t):(n=null!==i,i=!1,null===e?void 0!==t.memoizedProps.fallback&&Is(t):(i=null!==(r=e.memoizedState),n||null===r||null!==(r=e.child.sibling)&&(null!==(l=t.firstEffect)?(t.firstEffect=r,r.nextEffect=l):(t.firstEffect=t.lastEffect=r,r.nextEffect=null),r.effectTag=8)),n&&!i&&!!(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||1&Ur.current?Il===xl&&(Il=bl):(Il!==xl&&Il!==bl||(Il=wl),0!==Tl&&null!==Cl&&(Do(Cl,Nl),Lo(Cl,Tl)))),(n||i)&&(t.effectTag|=4),null);case 4:return Er(),null;case 10:return tr(t),null;case 19:if(da(Ur),null===(i=t.memoizedState))return null;if(r=!!(64&t.effectTag),null===(l=i.rendering)){if(r)Gs(i,!1);else if(Il!==xl||null!==e&&64&e.effectTag)for(l=t.child;null!==l;){if(null!==(e=_r(l))){for(t.effectTag|=64,Gs(i,!1),null!==(r=e.updateQueue)&&(t.updateQueue=r,t.effectTag|=4),null===i.lastEffect&&(t.firstEffect=null),t.lastEffect=i.lastEffect,i=t.child;null!==i;)l=n,(r=i).effectTag&=2,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null,null===(e=r.alternate)?(r.childExpirationTime=0,r.expirationTime=l,r.child=null,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null):(r.childExpirationTime=e.childExpirationTime,r.expirationTime=e.expirationTime,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,l=e.dependencies,r.dependencies=null===l?null:{expirationTime:l.expirationTime,firstContext:l.firstContext,responders:l.responders}),i=i.sibling;return ca(Ur,1&Ur.current|2),t.child}l=l.sibling}}else{if(!r)if(null!==(e=_r(l))){if(t.effectTag|=64,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Gs(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate)return null!==(t=t.lastEffect=i.lastEffect)&&(t.nextEffect=null),null}else 2*Ra()-i.renderingStartTime>i.tailExpiration&&1<n&&(t.effectTag|=64,r=!0,Gs(i,!1),t.expirationTime=t.childExpirationTime=n-1);i.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=i.last)?n.sibling=l:t.child=l,i.last=l)}return null!==i.tail?(0===i.tailExpiration&&(i.tailExpiration=Ra()+500),n=i.tail,i.rendering=n,i.tail=n.sibling,i.lastEffect=t.lastEffect,i.renderingStartTime=Ra(),n.sibling=null,t=Ur.current,ca(Ur,r?1&t|2:1&t),n):null}throw Error(s(156,t.tag))}function Xs(e){switch(e.tag){case 1:ma(e.type)&&va();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Er(),da(Aa),da(pa),64&(t=e.effectTag))throw Error(s(285));return e.effectTag=-4097&t|64,e;case 5:return Lr(e),null;case 13:return da(Ur),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return da(Ur),null;case 4:return Er(),null;case 10:return tr(e),null;default:return null}}function Js(e,t){return{value:e,source:t,stack:ve(t)}}Rs=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Qs=function(e,t,n,i,r){var s=e.memoizedProps;if(s!==i){var l,o,d=t.stateNode;switch(kr(Fr.current),e=null,n){case"input":s=we(d,s),i=we(d,i),e=[];break;case"option":s=Fe(d,s),i=Fe(d,i),e=[];break;case"select":s=a({},s,{value:void 0}),i=a({},i,{value:void 0}),e=[];break;case"textarea":s=Pe(d,s),i=Pe(d,i),e=[];break;default:"function"!=typeof s.onClick&&"function"==typeof i.onClick&&(d.onclick=cn)}for(l in sn(n,i),n=null,s)if(!i.hasOwnProperty(l)&&s.hasOwnProperty(l)&&null!=s[l])if("style"===l)for(o in d=s[l])d.hasOwnProperty(o)&&(n||(n={}),n[o]="");else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(C.hasOwnProperty(l)?e||(e=[]):(e=e||[]).push(l,null));for(l in i){var c=i[l];if(d=null!=s?s[l]:void 0,i.hasOwnProperty(l)&&c!==d&&(null!=c||null!=d))if("style"===l)if(d){for(o in d)!d.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&d[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(e||(e=[]),e.push(l,n)),n=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,d=d?d.__html:void 0,null!=c&&d!==c&&(e=e||[]).push(l,c)):"children"===l?d===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(C.hasOwnProperty(l)?(null!=c&&dn(r,l),e||d===c||(e=[])):(e=e||[]).push(l,c))}n&&(e=e||[]).push("style",n),r=e,(t.updateQueue=r)&&(t.effectTag|=4)}},Hs=function(e,t,n,i){n!==i&&(t.effectTag|=4)};var Zs="function"==typeof WeakSet?WeakSet:Set;function el(e,t){var n=t.source,i=t.stack;null===i&&null!==n&&(i=ve(n)),null!==n&&me(n.type),t=t.value,null!==e&&1===e.tag&&me(e.type)}function tl(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(n){yo(e,n)}else t.current=null}function nl(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 3:case 5:case 6:case 4:case 17:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,i=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Ga(t.type,n),i),e.__reactInternalSnapshotBeforeUpdate=t}return}throw Error(s(163))}function il(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var i=n.destroy;n.destroy=void 0,void 0!==i&&i()}n=n.next}while(n!==t)}}function al(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function rl(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void al(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:Ga(n.type,t.memoizedProps);e.componentDidUpdate(i,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&pr(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}pr(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&gn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&_t(n)))))}throw Error(s(163))}function sl(e,t,n){switch("function"==typeof jo&&jo(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var i=e.next;Va(97<n?97:n,(function(){var e=i;do{var n=e.destroy;if(void 0!==n){var a=t;try{n()}catch(r){yo(a,r)}}e=e.next}while(e!==i)}))}break;case 1:tl(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(n){yo(e,n)}}(t,n);break;case 5:tl(t);break;case 4:cl(e,t,n)}}function ll(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ll(t)}function ol(e){return 5===e.tag||3===e.tag||4===e.tag}function dl(e){e:{for(var t=e.return;null!==t;){if(ol(t)){var n=t;break e}t=t.return}throw Error(s(160))}switch(t=n.stateNode,n.tag){case 5:var i=!1;break;case 3:case 4:t=t.containerInfo,i=!0;break;default:throw Error(s(161))}16&n.effectTag&&(Qe(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ol(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}i?function e(t,n,i){var a=t.tag,r=5===a||6===a;if(r)t=r?t.stateNode:t.stateNode.instance,n?8===i.nodeType?i.parentNode.insertBefore(t,n):i.insertBefore(t,n):(8===i.nodeType?(n=i.parentNode).insertBefore(t,i):(n=i).appendChild(t),null!==(i=i._reactRootContainer)&&void 0!==i||null!==n.onclick||(n.onclick=cn));else if(4!==a&&null!==(t=t.child))for(e(t,n,i),t=t.sibling;null!==t;)e(t,n,i),t=t.sibling}(e,n,t):function e(t,n,i){var a=t.tag,r=5===a||6===a;if(r)t=r?t.stateNode:t.stateNode.instance,n?i.insertBefore(t,n):i.appendChild(t);else if(4!==a&&null!==(t=t.child))for(e(t,n,i),t=t.sibling;null!==t;)e(t,n,i),t=t.sibling}(e,n,t)}function cl(e,t,n){for(var i,a,r=t,l=!1;;){if(!l){l=r.return;e:for(;;){if(null===l)throw Error(s(160));switch(i=l.stateNode,l.tag){case 5:a=!1;break e;case 3:case 4:i=i.containerInfo,a=!0;break e}l=l.return}l=!0}if(5===r.tag||6===r.tag){e:for(var o=e,d=r,c=n,u=d;;)if(sl(o,u,c),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===d)break e;for(;null===u.sibling;){if(null===u.return||u.return===d)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}a?(o=i,d=r.stateNode,8===o.nodeType?o.parentNode.removeChild(d):o.removeChild(d)):i.removeChild(r.stateNode)}else if(4===r.tag){if(null!==r.child){i=r.stateNode.containerInfo,a=!0,r.child.return=r,r=r.child;continue}}else if(sl(e,r,n),null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;4===(r=r.return).tag&&(l=!1)}r.sibling.return=r.return,r=r.sibling}}function ul(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void il(3,t);case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var i=t.memoizedProps,a=null!==e?e.memoizedProps:i;e=t.type;var r=t.updateQueue;if(t.updateQueue=null,null!==r){for(n[Nn]=i,"input"===e&&"radio"===i.type&&null!=i.name&&Ce(n,i),ln(e,a),t=ln(e,i),a=0;a<r.length;a+=2){var l=r[a],o=r[a+1];"style"===l?an(n,o):"dangerouslySetInnerHTML"===l?Re(n,o):"children"===l?Qe(n,o):X(n,l,o,t)}switch(e){case"input":Se(n,i);break;case"textarea":Te(n,i);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!i.multiple,null!=(e=i.value)?Be(n,!!i.multiple,e,!1):t!==!!i.multiple&&(null!=i.defaultValue?Be(n,!!i.multiple,i.defaultValue,!0):Be(n,!!i.multiple,i.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(s(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,_t(t.containerInfo)));case 13:if(n=t,null===t.memoizedState?i=!1:(i=!0,n=t.child,Dl=Ra()),null!==n)e:for(e=n;;){if(5===e.tag)r=e.stateNode,i?"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none":(r=e.stateNode,a=null!=(a=e.memoizedProps.style)&&a.hasOwnProperty("display")?a.display:null,r.style.display=nn("display",a));else if(6===e.tag)e.stateNode.nodeValue=i?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(r=e.child.sibling).return=e,e=r;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void pl(t);case 19:return void pl(t)}throw Error(s(163))}function pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zs),t.forEach((function(t){var i=bo.bind(null,e,t);n.has(t)||(n.add(t),t.then(i,i))}))}}var Al="function"==typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=or(n,null)).tag=3,n.payload={element:null};var i=t.value;return n.callback=function(){Ul||(Ul=!0,_l=i),el(e,t)},n}function fl(e,t,n){(n=or(n,null)).tag=3;var i=e.type.getDerivedStateFromError;if("function"==typeof i){var a=t.value;n.payload=function(){return el(e,t),i(a)}}var r=e.stateNode;return null!==r&&"function"==typeof r.componentDidCatch&&(n.callback=function(){"function"!=typeof i&&(null===Ol?Ol=new Set([this]):Ol.add(this),el(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var ml,vl=Math.ceil,gl=$.ReactCurrentDispatcher,yl=$.ReactCurrentOwner,xl=0,bl=3,wl=4,jl=0,Cl=null,Sl=null,Nl=0,Il=xl,Fl=null,Bl=1073741823,Pl=1073741823,kl=null,Tl=0,El=!1,Dl=0,Ll=null,Ul=!1,_l=null,Ol=null,Ml=!1,Rl=null,Ql=90,Hl=null,Vl=0,zl=null,ql=0;function Wl(){return 48&jl?1073741821-(Ra()/10|0):0!==ql?ql:ql=1073741821-(Ra()/10|0)}function Yl(e,t,n){if(!(2&(t=t.mode)))return 1073741823;var i=Qa();if(!(4&t))return 99===i?1073741823:1073741822;if(16&jl)return Nl;if(null!==n)e=Ka(e,0|n.timeoutMs||5e3,250);else switch(i){case 99:e=1073741823;break;case 98:e=Ka(e,150,100);break;case 97:case 96:e=Ka(e,5e3,250);break;case 95:e=2;break;default:throw Error(s(326))}return null!==Cl&&e===Nl&&--e,e}function Kl(e,t){if(50<Vl)throw Vl=0,zl=null,Error(s(185));if(null!==(e=Gl(e,t))){var n=Qa();1073741823===t?8&jl&&!(48&jl)?Zl(e):(Xl(e),0===jl&&Wa()):Xl(e),!(4&jl)||98!==n&&99!==n||(null===Hl?Hl=new Map([[e,t]]):(void 0===(n=Hl.get(e))||n>t)&&Hl.set(e,t))}}function Gl(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var i=e.return,a=null;if(null===i&&3===e.tag)a=e.stateNode;else for(;null!==i;){if(n=i.alternate,i.childExpirationTime<t&&(i.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===i.return&&3===i.tag){a=i.stateNode;break}i=i.return}return null!==a&&(Cl===a&&(so(t),Il===wl&&Do(a,Nl)),Lo(a,t)),a}function $l(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Eo(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Xl(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=qa(Zl.bind(null,e));else{var t=$l(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var i=Wl();if(i=1073741823===t?99:1===t||2===t?95:0>=(i=10*(1073741821-t)-10*(1073741821-i))?99:250>=i?98:5250>=i?97:95,null!==n){var a=e.callbackPriority;if(e.callbackExpirationTime===t&&a>=i)return;n!==Ea&&Ca(n)}e.callbackExpirationTime=t,e.callbackPriority=i,t=1073741823===t?qa(Zl.bind(null,e)):za(i,Jl.bind(null,e),{timeout:10*(1073741821-t)-Ra()}),e.callbackNode=t}}}function Jl(e,t){if(ql=0,t)return Uo(e,t=Wl()),Xl(e),null;var n=$l(e);if(0!==n){if(t=e.callbackNode,48&jl)throw Error(s(327));if(mo(),e===Cl&&n===Nl||no(e,n),null!==Sl){var i=jl;jl|=16;for(var a=ao();;)try{oo();break}catch(o){io(e,o)}if(er(),jl=i,gl.current=a,1===Il)throw t=Fl,no(e,n),Do(e,n),Xl(e),t;if(null===Sl)switch(a=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,i=Il,Cl=null,i){case xl:case 1:throw Error(s(345));case 2:Uo(e,2<n?2:n);break;case bl:if(Do(e,n),n===(i=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=po(a)),1073741823===Bl&&10<(a=Dl+500-Ra())){if(El){var r=e.lastPingedTime;if(0===r||r>=n){e.lastPingedTime=n,no(e,n);break}}if(0!==(r=$l(e))&&r!==n)break;if(0!==i&&i!==n){e.lastPingedTime=i;break}e.timeoutHandle=xn(Ao.bind(null,e),a);break}Ao(e);break;case wl:if(Do(e,n),n===(i=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=po(a)),El&&(0===(a=e.lastPingedTime)||a>=n)){e.lastPingedTime=n,no(e,n);break}if(0!==(a=$l(e))&&a!==n)break;if(0!==i&&i!==n){e.lastPingedTime=i;break}if(1073741823!==Pl?i=10*(1073741821-Pl)-Ra():1073741823===Bl?i=0:(i=10*(1073741821-Bl)-5e3,0>(i=(a=Ra())-i)&&(i=0),(n=10*(1073741821-n)-a)<(i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*vl(i/1960))-i)&&(i=n)),10<i){e.timeoutHandle=xn(Ao.bind(null,e),i);break}Ao(e);break;case 5:if(1073741823!==Bl&&null!==kl){r=Bl;var l=kl;if(0>=(i=0|l.busyMinDurationMs)?i=0:(a=0|l.busyDelayMs,i=(r=Ra()-(10*(1073741821-r)-(0|l.timeoutMs||5e3)))<=a?0:a+i-r),10<i){Do(e,n),e.timeoutHandle=xn(Ao.bind(null,e),i);break}}Ao(e);break;default:throw Error(s(329))}if(Xl(e),e.callbackNode===t)return Jl.bind(null,e)}}return null}function Zl(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,48&jl)throw Error(s(327));if(mo(),e===Cl&&t===Nl||no(e,t),null!==Sl){var n=jl;jl|=16;for(var i=ao();;)try{lo();break}catch(a){io(e,a)}if(er(),jl=n,gl.current=i,1===Il)throw n=Fl,no(e,t),Do(e,t),Xl(e),n;if(null!==Sl)throw Error(s(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Cl=null,Ao(e),Xl(e)}return null}function eo(e,t){var n=jl;jl|=1;try{return e(t)}finally{0===(jl=n)&&Wa()}}function to(e,t){var n=jl;jl&=-2,jl|=8;try{return e(t)}finally{0===(jl=n)&&Wa()}}function no(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,bn(n)),null!==Sl)for(n=Sl.return;null!==n;){var i=n;switch(i.tag){case 1:null!=(i=i.type.childContextTypes)&&va();break;case 3:Er(),da(Aa),da(pa);break;case 5:Lr(i);break;case 4:Er();break;case 13:case 19:da(Ur);break;case 10:tr(i)}n=n.return}Cl=e,Sl=Io(e.current,null),Nl=t,Il=xl,Fl=null,Pl=Bl=1073741823,kl=null,Tl=0,El=!1}function io(e,t){for(;;){try{if(er(),Mr.current=ms,qr)for(var n=Hr.memoizedState;null!==n;){var i=n.queue;null!==i&&(i.pending=null),n=n.next}if(Qr=0,zr=Vr=Hr=null,qr=!1,null===Sl||null===Sl.return)return Il=1,Fl=t,Sl=null;e:{var a=e,r=Sl.return,s=Sl,l=t;if(t=Nl,s.effectTag|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var o=l;if(!(2&s.mode)){var d=s.alternate;d?(s.updateQueue=d.updateQueue,s.memoizedState=d.memoizedState,s.expirationTime=d.expirationTime):(s.updateQueue=null,s.memoizedState=null)}var c=!!(1&Ur.current),u=r;do{var p;if(p=13===u.tag){var A=u.memoizedState;if(null!==A)p=null!==A.dehydrated;else{var h=u.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!c)}}if(p){var f=u.updateQueue;if(null===f){var m=new Set;m.add(o),u.updateQueue=m}else f.add(o);if(!(2&u.mode)){if(u.effectTag|=64,s.effectTag&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var v=or(1073741823,null);v.tag=2,dr(s,v)}s.expirationTime=1073741823;break e}l=void 0,s=t;var g=a.pingCache;if(null===g?(g=a.pingCache=new Al,l=new Set,g.set(o,l)):void 0===(l=g.get(o))&&(l=new Set,g.set(o,l)),!l.has(s)){l.add(s);var y=xo.bind(null,a,o,s);o.then(y,y)}u.effectTag|=4096,u.expirationTime=t;break e}u=u.return}while(null!==u);l=Error((me(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ve(s))}5!==Il&&(Il=2),l=Js(l,s),u=r;do{switch(u.tag){case 3:o=l,u.effectTag|=4096,u.expirationTime=t,cr(u,hl(u,o,t));break e;case 1:o=l;var x=u.type,b=u.stateNode;if(!(64&u.effectTag||"function"!=typeof x.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Ol&&Ol.has(b)))){u.effectTag|=4096,u.expirationTime=t,cr(u,fl(u,o,t));break e}}u=u.return}while(null!==u)}Sl=uo(Sl)}catch(w){t=w;continue}break}}function ao(){var e=gl.current;return gl.current=ms,null===e?ms:e}function ro(e,t){e<Bl&&2<e&&(Bl=e),null!==t&&e<Pl&&2<e&&(Pl=e,kl=t)}function so(e){e>Tl&&(Tl=e)}function lo(){for(;null!==Sl;)Sl=co(Sl)}function oo(){for(;null!==Sl&&!Da();)Sl=co(Sl)}function co(e){var t=ml(e.alternate,e,Nl);return e.memoizedProps=e.pendingProps,null===t&&(t=uo(e)),yl.current=null,t}function uo(e){Sl=e;do{var t=Sl.alternate;if(e=Sl.return,2048&Sl.effectTag){if(null!==(t=Xs(Sl)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}else{if(t=$s(t,Sl,Nl),1===Nl||1!==Sl.childExpirationTime){for(var n=0,i=Sl.child;null!==i;){var a=i.expirationTime,r=i.childExpirationTime;a>n&&(n=a),r>n&&(n=r),i=i.sibling}Sl.childExpirationTime=n}if(null!==t)return t;null!==e&&!(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Sl.firstEffect),null!==Sl.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Sl.firstEffect),e.lastEffect=Sl.lastEffect),1<Sl.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Sl:e.firstEffect=Sl,e.lastEffect=Sl))}if(null!==(t=Sl.sibling))return t;Sl=e}while(null!==Sl);return Il===xl&&(Il=5),null}function po(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function Ao(e){var t=Qa();return Va(99,ho.bind(null,e,t)),null}function ho(e,t){do{mo()}while(null!==Rl);if(48&jl)throw Error(s(327));var n=e.finishedWork,i=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(s(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var a=po(n);if(e.firstPendingTime=a,i<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:i<=e.firstSuspendedTime&&(e.firstSuspendedTime=i-1),i<=e.lastPingedTime&&(e.lastPingedTime=0),i<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Cl&&(Sl=Cl=null,Nl=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,a=n.firstEffect):a=n:a=n.firstEffect,null!==a){var r=jl;jl|=32,yl.current=null,mn=Yt;var l=hn();if(fn(l)){if("selectionStart"in l)var o={start:l.selectionStart,end:l.selectionEnd};else e:{var d=(o=(o=l.ownerDocument)&&o.defaultView||window).getSelection&&o.getSelection();if(d&&0!==d.rangeCount){o=d.anchorNode;var c=d.anchorOffset,u=d.focusNode;d=d.focusOffset;try{o.nodeType,u.nodeType}catch(N){o=null;break e}var p=0,A=-1,h=-1,f=0,m=0,v=l,g=null;t:for(;;){for(var y;v!==o||0!==c&&3!==v.nodeType||(A=p+c),v!==u||0!==d&&3!==v.nodeType||(h=p+d),3===v.nodeType&&(p+=v.nodeValue.length),null!==(y=v.firstChild);)g=v,v=y;for(;;){if(v===l)break t;if(g===o&&++f===c&&(A=p),g===u&&++m===d&&(h=p),null!==(y=v.nextSibling))break;g=(v=g).parentNode}v=y}o=-1===A||-1===h?null:{start:A,end:h}}else o=null}o=o||{start:0,end:0}}else o=null;vn={activeElementDetached:null,focusedElem:l,selectionRange:o},Yt=!1,Ll=a;do{try{fo()}catch(N){if(null===Ll)throw Error(s(330));yo(Ll,N),Ll=Ll.nextEffect}}while(null!==Ll);Ll=a;do{try{for(l=e,o=t;null!==Ll;){var x=Ll.effectTag;if(16&x&&Qe(Ll.stateNode,""),128&x){var b=Ll.alternate;if(null!==b){var w=b.ref;null!==w&&("function"==typeof w?w(null):w.current=null)}}switch(1038&x){case 2:dl(Ll),Ll.effectTag&=-3;break;case 6:dl(Ll),Ll.effectTag&=-3,ul(Ll.alternate,Ll);break;case 1024:Ll.effectTag&=-1025;break;case 1028:Ll.effectTag&=-1025,ul(Ll.alternate,Ll);break;case 4:ul(Ll.alternate,Ll);break;case 8:cl(l,c=Ll,o),ll(c)}Ll=Ll.nextEffect}}catch(N){if(null===Ll)throw Error(s(330));yo(Ll,N),Ll=Ll.nextEffect}}while(null!==Ll);if(w=vn,b=hn(),x=w.focusedElem,o=w.selectionRange,b!==x&&x&&x.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(x.ownerDocument.documentElement,x)){null!==o&&fn(x)&&(b=o.start,void 0===(w=o.end)&&(w=b),"selectionStart"in x?(x.selectionStart=b,x.selectionEnd=Math.min(w,x.value.length)):(w=(b=x.ownerDocument||document)&&b.defaultView||window).getSelection&&(w=w.getSelection(),c=x.textContent.length,l=Math.min(o.start,c),o=void 0===o.end?l:Math.min(o.end,c),!w.extend&&l>o&&(c=o,o=l,l=c),c=An(x,l),u=An(x,o),c&&u&&(1!==w.rangeCount||w.anchorNode!==c.node||w.anchorOffset!==c.offset||w.focusNode!==u.node||w.focusOffset!==u.offset)&&((b=b.createRange()).setStart(c.node,c.offset),w.removeAllRanges(),l>o?(w.addRange(b),w.extend(u.node,u.offset)):(b.setEnd(u.node,u.offset),w.addRange(b))))),b=[];for(w=x;w=w.parentNode;)1===w.nodeType&&b.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"==typeof x.focus&&x.focus(),x=0;x<b.length;x++)(w=b[x]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Yt=!!mn,vn=mn=null,e.current=n,Ll=a;do{try{for(x=e;null!==Ll;){var j=Ll.effectTag;if(36&j&&rl(x,Ll.alternate,Ll),128&j){b=void 0;var C=Ll.ref;if(null!==C){var S=Ll.stateNode;Ll.tag,b=S,"function"==typeof C?C(b):C.current=b}}Ll=Ll.nextEffect}}catch(N){if(null===Ll)throw Error(s(330));yo(Ll,N),Ll=Ll.nextEffect}}while(null!==Ll);Ll=null,La(),jl=r}else e.current=n;if(Ml)Ml=!1,Rl=e,Ql=t;else for(Ll=a;null!==Ll;)t=Ll.nextEffect,Ll.nextEffect=null,Ll=t;if(0===(t=e.firstPendingTime)&&(Ol=null),1073741823===t?e===zl?Vl++:(Vl=0,zl=e):Vl=0,"function"==typeof wo&&wo(n.stateNode,i),Xl(e),Ul)throw Ul=!1,e=_l,_l=null,e;return!!(8&jl)||Wa(),null}function fo(){for(;null!==Ll;){var e=Ll.effectTag;!!(256&e)&&nl(Ll.alternate,Ll),!(512&e)||Ml||(Ml=!0,za(97,(function(){return mo(),null}))),Ll=Ll.nextEffect}}function mo(){if(90!==Ql){var e=97<Ql?97:Ql;return Ql=90,Va(e,vo)}}function vo(){if(null===Rl)return!1;var e=Rl;if(Rl=null,48&jl)throw Error(s(331));var t=jl;for(jl|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(512&n.effectTag)switch(n.tag){case 0:case 11:case 15:case 22:il(5,n),al(5,n)}}catch(i){if(null===e)throw Error(s(330));yo(e,i)}n=e.nextEffect,e.nextEffect=null,e=n}return jl=t,Wa(),!0}function go(e,t,n){dr(e,t=hl(e,t=Js(n,t),1073741823)),null!==(e=Gl(e,1073741823))&&Xl(e)}function yo(e,t){if(3===e.tag)go(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){go(n,e,t);break}if(1===n.tag){var i=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof i.componentDidCatch&&(null===Ol||!Ol.has(i))){dr(n,e=fl(n,e=Js(t,e),1073741823)),null!==(n=Gl(n,1073741823))&&Xl(n);break}}n=n.return}}function xo(e,t,n){var i=e.pingCache;null!==i&&i.delete(t),Cl===e&&Nl===n?Il===wl||Il===bl&&1073741823===Bl&&Ra()-Dl<500?no(e,Nl):El=!0:Eo(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Xl(e)))}function bo(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(t=Yl(t=Wl(),e,null)),null!==(e=Gl(e,t))&&Xl(e)}ml=function(e,t,n){var i=t.expirationTime;if(null!==e){var a=t.pendingProps;if(e.memoizedProps!==a||Aa.current)Ps=!0;else{if(i<n){switch(Ps=!1,t.tag){case 3:Ms(t),Fs();break;case 5:if(Dr(t),4&t.mode&&1!==n&&a.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:ma(t.type)&&xa(t);break;case 4:Tr(t,t.stateNode.containerInfo);break;case 10:i=t.memoizedProps.value,a=t.type._context,ca($a,a._currentValue),a._currentValue=i;break;case 13:if(null!==t.memoizedState)return 0!==(i=t.child.childExpirationTime)&&i>=n?zs(e,t,n):(ca(Ur,1&Ur.current),null!==(t=Ks(e,t,n))?t.sibling:null);ca(Ur,1&Ur.current);break;case 19:if(i=t.childExpirationTime>=n,64&e.effectTag){if(i)return Ys(e,t,n);t.effectTag|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null),ca(Ur,Ur.current),!i)return null}return Ks(e,t,n)}Ps=!1}}else Ps=!1;switch(t.expirationTime=0,t.tag){case 2:if(i=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,a=fa(t,pa.current),ir(t,n),a=Kr(null,t,i,e,a,n),t.effectTag|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ma(i)){var r=!0;xa(t)}else r=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,sr(t);var l=i.getDerivedStateFromProps;"function"==typeof l&&fr(t,i,l,e),a.updater=mr,t.stateNode=a,a._reactInternalFiber=t,xr(t,i,e,n),t=Os(null,t,i,!0,r,n)}else t.tag=0,ks(null,t,a,n),t=t.child;return t;case 16:e:{if(a=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(a),1!==a._status)throw a._result;switch(a=a._result,t.type=a,r=t.tag=function(e){if("function"==typeof e)return No(e)?1:0;if(null!=e){if((e=e.$$typeof)===oe)return 11;if(e===ue)return 14}return 2}(a),e=Ga(a,e),r){case 0:t=Us(null,t,a,e,n);break e;case 1:t=_s(null,t,a,e,n);break e;case 11:t=Ts(null,t,a,e,n);break e;case 14:t=Es(null,t,a,Ga(a.type,e),i,n);break e}throw Error(s(306,a,""))}return t;case 0:return i=t.type,a=t.pendingProps,Us(e,t,i,a=t.elementType===i?a:Ga(i,a),n);case 1:return i=t.type,a=t.pendingProps,_s(e,t,i,a=t.elementType===i?a:Ga(i,a),n);case 3:if(Ms(t),i=t.updateQueue,null===e||null===i)throw Error(s(282));if(i=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,lr(e,t),ur(t,i,null,n),(i=t.memoizedState.element)===a)Fs(),t=Ks(e,t,n);else{if((a=t.stateNode.hydrate)&&(bs=wn(t.stateNode.containerInfo.firstChild),xs=t,a=ws=!0),a)for(n=Nr(t,null,i,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else ks(e,t,i,n),Fs();t=t.child}return t;case 5:return Dr(t),null===e&&Ss(t),i=t.type,a=t.pendingProps,r=null!==e?e.memoizedProps:null,l=a.children,yn(i,a)?l=null:null!==r&&yn(i,r)&&(t.effectTag|=16),Ls(e,t),4&t.mode&&1!==n&&a.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(ks(e,t,l,n),t=t.child),t;case 6:return null===e&&Ss(t),null;case 13:return zs(e,t,n);case 4:return Tr(t,t.stateNode.containerInfo),i=t.pendingProps,null===e?t.child=Sr(t,null,i,n):ks(e,t,i,n),t.child;case 11:return i=t.type,a=t.pendingProps,Ts(e,t,i,a=t.elementType===i?a:Ga(i,a),n);case 7:return ks(e,t,t.pendingProps,n),t.child;case 8:case 12:return ks(e,t,t.pendingProps.children,n),t.child;case 10:e:{i=t.type._context,a=t.pendingProps,l=t.memoizedProps,r=a.value;var o=t.type._context;if(ca($a,o._currentValue),o._currentValue=r,null!==l)if(o=l.value,0==(r=Oi(o,r)?0:0|("function"==typeof i._calculateChangedBits?i._calculateChangedBits(o,r):1073741823))){if(l.children===a.children&&!Aa.current){t=Ks(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var d=o.dependencies;if(null!==d){l=o.child;for(var c=d.firstContext;null!==c;){if(c.context===i&&0!=(c.observedBits&r)){1===o.tag&&((c=or(n,null)).tag=2,dr(o,c)),o.expirationTime<n&&(o.expirationTime=n),null!==(c=o.alternate)&&c.expirationTime<n&&(c.expirationTime=n),nr(o.return,n),d.expirationTime<n&&(d.expirationTime=n);break}c=c.next}}else l=10===o.tag&&o.type===t.type?null:o.child;if(null!==l)l.return=o;else for(l=o;null!==l;){if(l===t){l=null;break}if(null!==(o=l.sibling)){o.return=l.return,l=o;break}l=l.return}o=l}ks(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,i=(r=t.pendingProps).children,ir(t,n),i=i(a=ar(a,r.unstable_observedBits)),t.effectTag|=1,ks(e,t,i,n),t.child;case 14:return r=Ga(a=t.type,t.pendingProps),Es(e,t,a,r=Ga(a.type,r),i,n);case 15:return Ds(e,t,t.type,t.pendingProps,i,n);case 17:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:Ga(i,a),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,ma(i)?(e=!0,xa(t)):e=!1,ir(t,n),gr(t,i,a),xr(t,i,a,n),Os(null,t,i,!0,e,n);case 19:return Ys(e,t,n)}throw Error(s(156,t.tag))};var wo=null,jo=null;function Co(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function So(e,t,n,i){return new Co(e,t,n,i)}function No(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Io(e,t){var n=e.alternate;return null===n?((n=So(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Fo(e,t,n,i,a,r){var l=2;if(i=e,"function"==typeof e)No(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case ne:return Bo(n.children,a,r,t);case le:l=8,a|=7;break;case ie:l=8,a|=1;break;case ae:return(e=So(12,n,t,8|a)).elementType=ae,e.type=ae,e.expirationTime=r,e;case de:return(e=So(13,n,t,a)).type=de,e.elementType=de,e.expirationTime=r,e;case ce:return(e=So(19,n,t,a)).elementType=ce,e.expirationTime=r,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case re:l=10;break e;case se:l=9;break e;case oe:l=11;break e;case ue:l=14;break e;case pe:l=16,i=null;break e;case Ae:l=22;break e}throw Error(s(130,null==e?e:typeof e,""))}return(t=So(l,n,t,a)).elementType=e,t.type=i,t.expirationTime=r,t}function Bo(e,t,n,i){return(e=So(7,e,i,t)).expirationTime=n,e}function Po(e,t,n){return(e=So(6,e,null,t)).expirationTime=n,e}function ko(e,t,n){return(t=So(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function To(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Eo(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Do(e,t){var n=e.firstSuspendedTime,i=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(i>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Lo(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Uo(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function _o(e,t,n,i){var a=t.current,r=Wl(),l=Ar.suspense;r=Yl(r,a,l);e:if(n){t:{if(et(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(s(170));var o=n;do{switch(o.tag){case 3:o=o.stateNode.context;break t;case 1:if(ma(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break t}}o=o.return}while(null!==o);throw Error(s(171))}if(1===n.tag){var d=n.type;if(ma(d)){n=ya(n,d,o);break e}}n=o}else n=ua;return null===t.context?t.context=n:t.pendingContext=n,(t=or(r,l)).payload={element:e},null!==(i=void 0===i?null:i)&&(t.callback=i),dr(a,t),Kl(a,r),r}function Oo(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Mo(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Ro(e,t){Mo(e,t),(e=e.alternate)&&Mo(e,t)}function Qo(e,t,n){var i,a,r=new To(e,t,n=null!=n&&!0===n.hydrate),s=So(3,null,null,2===t?7:1===t?3:0);r.current=s,s.stateNode=r,sr(s),e[In]=r.current,n&&0!==t&&(i=9===e.nodeType?e:e.ownerDocument,a=Ze(i),It.forEach((function(e){ft(e,i,a)})),Ft.forEach((function(e){ft(e,i,a)}))),this._internalRoot=r}function Ho(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Vo(e,t,n,i,a){var r=n._reactRootContainer;if(r){var s=r._internalRoot;if("function"==typeof a){var l=a;a=function(){var e=Oo(s);l.call(e)}}_o(t,s,e,a)}else{if(r=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Qo(e,0,t?{hydrate:!0}:void 0)}(n,i),s=r._internalRoot,"function"==typeof a){var o=a;a=function(){var e=Oo(s);o.call(e)}}to((function(){_o(t,s,e,a)}))}return Oo(s)}function zo(e,t,n){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==i?null:""+i,children:e,containerInfo:t,implementation:n}}function qo(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ho(t))throw Error(s(200));return zo(e,t,null,n)}Qo.prototype.render=function(e){_o(e,this._internalRoot,null,null)},Qo.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;_o(null,e,null,(function(){t[In]=null}))},mt=function(e){if(13===e.tag){var t=Ka(Wl(),150,100);Kl(e,t),Ro(e,t)}},vt=function(e){13===e.tag&&(Kl(e,3),Ro(e,3))},gt=function(e){if(13===e.tag){var t=Wl();Kl(e,t=Yl(t,e,null)),Ro(e,t)}},F=function(e,t,n){switch(t){case"input":if(Se(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var a=kn(i);if(!a)throw Error(s(90));be(i),Se(i,a)}}}break;case"textarea":Te(e,n);break;case"select":null!=(t=n.value)&&Be(e,!!n.multiple,t,!1)}},D=eo,L=function(e,t,n,i,a){var r=jl;jl|=4;try{return Va(98,e.bind(null,t,n,i,a))}finally{0===(jl=r)&&Wa()}},U=function(){!(49&jl)&&(function(){if(null!==Hl){var e=Hl;Hl=null,e.forEach((function(e,t){Uo(t,e),Xl(t)})),Wa()}}(),mo())},_=function(e,t){var n=jl;jl|=2;try{return e(t)}finally{0===(jl=n)&&Wa()}};var Wo,Yo,Ko={Events:[Bn,Pn,kn,N,j,On,function(e){rt(e,_n)},T,E,Jt,ot,mo,{current:!1}]};Yo=(Wo={findFiberByHostInstance:Fn,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);wo=function(e){try{t.onCommitFiberRoot(n,e,void 0,!(64&~e.current.effectTag))}catch(i){}},jo=function(e){try{t.onCommitFiberUnmount(n,e)}catch(i){}}}catch(i){}}(a({},Wo,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:$.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=it(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Yo?Yo(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ko,t.createPortal=qo,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(s(188));throw Error(s(268,Object.keys(e)))}return null===(e=it(t))?null:e.stateNode},t.flushSync=function(e,t){if(48&jl)throw Error(s(187));var n=jl;jl|=1;try{return Va(99,e.bind(null,t))}finally{jl=n,Wa()}},t.hydrate=function(e,t,n){if(!Ho(t))throw Error(s(200));return Vo(null,e,t,!0,n)},t.render=function(e,t,n){if(!Ho(t))throw Error(s(200));return Vo(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ho(e))throw Error(s(40));return!!e._reactRootContainer&&(to((function(){Vo(null,null,e,!1,(function(){e._reactRootContainer=null,e[In]=null}))})),!0)},t.unstable_batchedUpdates=eo,t.unstable_createPortal=function(e,t){return qo(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!Ho(n))throw Error(s(200));if(null==e||void 0===e._reactInternalFiber)throw Error(s(38));return Vo(e,t,n,!1,i)},t.version="16.14.0"},function(e,t,n){e.exports=n(35)},function(e,t,n){ +/** @license React v0.19.1 + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +var i,a,r,s,l;if("undefined"==typeof window||"function"!=typeof MessageChannel){var o=null,d=null,c=function(){if(null!==o)try{var e=t.unstable_now();o(!0,e),o=null}catch(n){throw setTimeout(c,0),n}},u=Date.now();t.unstable_now=function(){return Date.now()-u},i=function(e){null!==o?setTimeout(i,0,e):(o=e,setTimeout(c,0))},a=function(e,t){d=setTimeout(e,t)},r=function(){clearTimeout(d)},s=function(){return!1},l=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,A=window.Date,h=window.setTimeout,f=window.clearTimeout;if("undefined"!=typeof console&&(window.cancelAnimationFrame,window.requestAnimationFrame),"object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var m=A.now();t.unstable_now=function(){return A.now()-m}}var v=!1,g=null,y=-1,x=5,b=0;s=function(){return t.unstable_now()>=b},l=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e||(x=0<e?Math.floor(1e3/e):5)};var w=new MessageChannel,j=w.port2;w.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();b=e+x;try{g(!0,e)?j.postMessage(null):(v=!1,g=null)}catch(n){throw j.postMessage(null),n}}else v=!1},i=function(e){g=e,v||(v=!0,j.postMessage(null))},a=function(e,n){y=h((function(){e(t.unstable_now())}),n)},r=function(){f(y),y=-1}}function C(e,t){var n=e.length;e.push(t);e:for(;;){var i=n-1>>>1,a=e[i];if(!(void 0!==a&&0<I(a,t)))break e;e[i]=t,e[n]=a,n=i}}function S(e){return void 0===(e=e[0])?null:e}function N(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var i=0,a=e.length;i<a;){var r=2*(i+1)-1,s=e[r],l=r+1,o=e[l];if(void 0!==s&&0>I(s,n))void 0!==o&&0>I(o,s)?(e[i]=o,e[l]=n,i=l):(e[i]=s,e[r]=n,i=r);else{if(!(void 0!==o&&0>I(o,n)))break e;e[i]=o,e[l]=n,i=l}}}return t}return null}function I(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var F=[],B=[],P=1,k=null,T=3,E=!1,D=!1,L=!1;function U(e){for(var t=S(B);null!==t;){if(null===t.callback)N(B);else{if(!(t.startTime<=e))break;N(B),t.sortIndex=t.expirationTime,C(F,t)}t=S(B)}}function _(e){if(L=!1,U(e),!D)if(null!==S(F))D=!0,i(O);else{var t=S(B);null!==t&&a(_,t.startTime-e)}}function O(e,n){D=!1,L&&(L=!1,r()),E=!0;var i=T;try{for(U(n),k=S(F);null!==k&&(!(k.expirationTime>n)||e&&!s());){var l=k.callback;if(null!==l){k.callback=null,T=k.priorityLevel;var o=l(k.expirationTime<=n);n=t.unstable_now(),"function"==typeof o?k.callback=o:k===S(F)&&N(F),U(n)}else N(F);k=S(F)}if(null!==k)var d=!0;else{var c=S(B);null!==c&&a(_,c.startTime-n),d=!1}return d}finally{k=null,T=i,E=!1}}function M(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var R=l;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){D||E||(D=!0,i(O))},t.unstable_getCurrentPriorityLevel=function(){return T},t.unstable_getFirstCallbackNode=function(){return S(F)},t.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T}var n=T;T=t;try{return e()}finally{T=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=R,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=T;T=e;try{return t()}finally{T=n}},t.unstable_scheduleCallback=function(e,n,s){var l=t.unstable_now();if("object"==typeof s&&null!==s){var o=s.delay;o="number"==typeof o&&0<o?l+o:l,s="number"==typeof s.timeout?s.timeout:M(e)}else s=M(e),o=l;return e={id:P++,callback:n,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>l?(e.sortIndex=o,C(B,e),null===S(F)&&e===S(B)&&(L?r():L=!0,a(_,o-l))):(e.sortIndex=s,C(F,e),D||E||(D=!0,i(O))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();U(e);var n=S(F);return n!==k&&null!==k&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<k.expirationTime||s()},t.unstable_wrapCallback=function(e){var t=T;return function(){var n=T;T=t;try{return e.apply(this,arguments)}finally{T=n}}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,a=(i=n(37))&&i.__esModule?i:{default:i},r=n(51),s=a.default[a.default.length-1],l=(0,r.createReactPlayer)(a.default,s);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),a=n(1),r=n(2);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var r=i?Object.getOwnPropertyDescriptor(e,a):null;r&&(r.get||r.set)?Object.defineProperty(n,a,r):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}var d=[{key:"youtube",name:"YouTube",canPlay:r.canPlay.youtube,lazyPlayer:(0,i.lazy)((function(){return Promise.resolve().then((function(){return o(n(39))}))}))},{key:"soundcloud",name:"SoundCloud",canPlay:r.canPlay.soundcloud,lazyPlayer:(0,i.lazy)((function(){return Promise.resolve().then((function(){return o(n(40))}))}))},{key:"vimeo",name:"Vimeo",canPlay:r.canPlay.vimeo,lazyPlayer:(0,i.lazy)((function(){return Promise.resolve().then((function(){return o(n(41))}))}))},{key:"facebook",name:"Facebook",canPlay:r.canPlay.facebook,lazyPlayer:(0,i.lazy)((function(){return Promise.resolve().then((function(){return o(n(42))}))}))},{key:"streamable",name:"Streamable",canPlay:r.canPlay.streamable,lazyPlayer:(0,i.lazy)((function(){return Promise.resolve().then((function(){return o(n(43))}))}))},{key:"wistia",name:"Wistia",canPlay:r.canPlay.wistia,lazyPlayer:(0,i.lazy)((function(){return Promise.resolve().then((function(){return o(n(44))}))}))},{key:"twitch",name:"Twitch",canPlay:r.canPlay.twitch,lazyPlayer:(0,i.lazy)((function(){return Promise.resolve().then((function(){return o(n(45))}))}))},{key:"dailymotion",name:"DailyMotion",canPlay:r.canPlay.dailymotion,lazyPlayer:(0,i.lazy)((function(){return Promise.resolve().then((function(){return o(n(46))}))}))},{key:"mixcloud",name:"Mixcloud",canPlay:r.canPlay.mixcloud,lazyPlayer:(0,i.lazy)((function(){return Promise.resolve().then((function(){return o(n(47))}))}))},{key:"vidyard",name:"Vidyard",canPlay:r.canPlay.vidyard,lazyPlayer:(0,i.lazy)((function(){return Promise.resolve().then((function(){return o(n(48))}))}))},{key:"kaltura",name:"Kaltura",canPlay:r.canPlay.kaltura,lazyPlayer:(0,i.lazy)((function(){return Promise.resolve().then((function(){return o(n(49))}))}))},{key:"file",name:"FilePlayer",canPlay:r.canPlay.file,canEnablePIP:function(e){return r.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,a.supportsWebKitPresentationMode)())&&!r.AUDIO_EXTENSIONS.test(e)},lazyPlayer:(0,i.lazy)((function(){return Promise.resolve().then((function(){return o(n(50))}))}))}];t.default=d},function(e,t){function n(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function i(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,t,a){var r=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");"function"==typeof t&&(a=t,t={}),t=t||{},a=a||function(){},s.type=t.type||"text/javascript",s.charset=t.charset||"utf8",s.async=!("async"in t)||!!t.async,s.src=e,t.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(s,t.attrs),t.text&&(s.text=""+t.text),("onload"in s?n:i)(s,a),s.onload||n(s,a),r.appendChild(s)}},function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=a?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(n,r,s):n[r]=e[r]}return n.default=e,t&&t.set(e,n),n}(n(0)),r=n(1),s=n(2);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],i=!0,a=!1,r=void 0;try{for(var s,l=e[Symbol.iterator]();!(i=(s=l.next()).done)&&(n.push(s.value),!t||n.length!==t);i=!0);}catch(o){a=!0,r=o}finally{try{i||null==l.return||l.return()}finally{if(a)throw r}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,b=/user\/([a-zA-Z0-9_-]+)\/?/,w=/youtube-nocookie\.com/,j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(i,e);var t,n=f(i);function i(){var e;p(this,i);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return y(v(e=n.call.apply(n,[this].concat(a))),"callPlayer",r.callPlayer),y(v(e),"parsePlaylist",(function(t){return t instanceof Array?{listType:"playlist",playlist:t.map(e.getID).join(",")}:x.test(t)?{listType:"playlist",list:c(t.match(x),2)[1].replace(/^UC/,"UU")}:b.test(t)?{listType:"user_uploads",list:c(t.match(b),2)[1]}:{}})),y(v(e),"onStateChange",(function(t){var n=t.data,i=e.props,a=i.onPlay,r=i.onPause,s=i.onBuffer,l=i.onBufferEnd,o=i.onEnded,d=i.onReady,c=i.loop,u=i.config,p=u.playerVars,A=u.onUnstarted,h=window.YT.PlayerState,f=h.UNSTARTED,m=h.PLAYING,v=h.PAUSED,g=h.BUFFERING,y=h.ENDED,x=h.CUED;if(n===f&&A(),n===m&&(a(),l()),n===v&&r(),n===g&&s(),n===y){var b=!!e.callPlayer("getPlaylist");c&&!b&&(p.start?e.seekTo(p.start):e.play()),o()}n===x&&d()})),y(v(e),"mute",(function(){e.callPlayer("mute")})),y(v(e),"unmute",(function(){e.callPlayer("unMute")})),y(v(e),"ref",(function(t){e.container=t})),e}return(t=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"getID",value:function(e){return!e||e instanceof Array||x.test(e)?null:e.match(s.MATCH_URL_YOUTUBE)[1]}},{key:"load",value:function(e,t){var n=this,i=this.props,a=i.playing,s=i.muted,l=i.playsinline,o=i.controls,c=i.loop,u=i.config,p=i.onError,A=u.playerVars,h=u.embedOptions,f=this.getID(e);if(t)return x.test(e)||b.test(e)||e instanceof Array?void this.player.loadPlaylist(this.parsePlaylist(e)):void this.player.cueVideoById({videoId:f,startSeconds:(0,r.parseStartTime)(e)||A.start,endSeconds:(0,r.parseEndTime)(e)||A.end});(0,r.getSDK)("https://www.youtube.com/iframe_api","YT","onYouTubeIframeAPIReady",(function(e){return e.loaded})).then((function(t){n.container&&(n.player=new t.Player(n.container,d({width:"100%",height:"100%",videoId:f,playerVars:d(d({autoplay:a?1:0,mute:s?1:0,controls:o?1:0,start:(0,r.parseStartTime)(e),end:(0,r.parseEndTime)(e),origin:window.location.origin,playsinline:l?1:0},n.parsePlaylist(e)),A),events:{onReady:function(){c&&n.player.setLoop(!0),n.props.onReady()},onStateChange:n.onStateChange,onError:function(e){return p(e.data)}},host:w.test(e)?"https://www.youtube-nocookie.com":void 0},h)))}),p),h.events}},{key:"play",value:function(){this.callPlayer("playVideo")}},{key:"pause",value:function(){this.callPlayer("pauseVideo")}},{key:"stop",value:function(){document.body.contains(this.callPlayer("getIframe"))&&this.callPlayer("stopVideo")}},{key:"seekTo",value:function(e){this.callPlayer("seekTo",e),this.props.playing||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return this.callPlayer("getVideoLoadedFraction")*this.getDuration()}},{key:"render",value:function(){var e={width:"100%",height:"100%",display:this.props.display};return a.default.createElement("div",{style:e},a.default.createElement("div",{ref:this.ref}))}}])&&A(i.prototype,t),i}(a.Component);t.default=j,y(j,"displayName","YouTube"),y(j,"canPlay",s.canPlay.youtube)},function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=a?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(n,r,s):n[r]=e[r]}return n.default=e,t&&t.set(e,n),n}(n(0)),r=n(1),s=n(2);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=m(e);if(t){var a=m(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(i,e);var t,n=A(i);function i(){var e;c(this,i);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return v(f(e=n.call.apply(n,[this].concat(a))),"callPlayer",r.callPlayer),v(f(e),"duration",null),v(f(e),"currentTime",null),v(f(e),"fractionLoaded",null),v(f(e),"mute",(function(){e.setVolume(0)})),v(f(e),"unmute",(function(){null!==e.props.volume&&e.setVolume(e.props.volume)})),v(f(e),"ref",(function(t){e.iframe=t})),e}return(t=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e,t){var n=this;(0,r.getSDK)("https://w.soundcloud.com/player/api.js","SC").then((function(i){if(n.iframe){var a=i.Widget.Events,r=a.PLAY,s=a.PLAY_PROGRESS,l=a.PAUSE,o=a.FINISH,c=a.ERROR;t||(n.player=i.Widget(n.iframe),n.player.bind(r,n.props.onPlay),n.player.bind(l,(function(){n.duration-n.currentTime<.05||n.props.onPause()})),n.player.bind(s,(function(e){n.currentTime=e.currentPosition/1e3,n.fractionLoaded=e.loadedProgress})),n.player.bind(o,(function(){return n.props.onEnded()})),n.player.bind(c,(function(e){return n.props.onError(e)}))),n.player.load(e,d(d({},n.props.config.options),{},{callback:function(){n.player.getDuration((function(e){n.duration=e/1e3,n.props.onReady()}))}}))}}))}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seekTo",1e3*e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.fractionLoaded*this.duration}},{key:"render",value:function(){var e={width:"100%",height:"100%",display:this.props.display};return a.default.createElement("iframe",{ref:this.ref,src:"https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),style:e,frameBorder:0,allow:"autoplay"})}}])&&u(i.prototype,t),i}(a.Component);t.default=g,v(g,"displayName","SoundCloud"),v(g,"canPlay",s.canPlay.soundcloud),v(g,"loopOnEnded",!0)},function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=a?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(n,r,s):n[r]=e[r]}return n.default=e,t&&t.set(e,n),n}(n(0)),r=n(1),s=n(2);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=f(e);if(t){var a=f(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return A(this,n)}}function A(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(i,e);var t,n=p(i);function i(){var e;d(this,i);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return m(h(e=n.call.apply(n,[this].concat(a))),"callPlayer",r.callPlayer),m(h(e),"duration",null),m(h(e),"currentTime",null),m(h(e),"secondsLoaded",null),m(h(e),"mute",(function(){e.setVolume(0)})),m(h(e),"unmute",(function(){null!==e.props.volume&&e.setVolume(e.props.volume)})),m(h(e),"ref",(function(t){e.container=t})),e}return(t=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;this.duration=null,(0,r.getSDK)("https://player.vimeo.com/api/player.js","Vimeo").then((function(n){t.container&&(t.player=new n.Player(t.container,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({url:e,autoplay:t.props.playing,muted:t.props.muted,loop:t.props.loop,playsinline:t.props.playsinline,controls:t.props.controls},t.props.config.playerOptions)),t.player.ready().then((function(){var e=t.container.querySelector("iframe");e.style.width="100%",e.style.height="100%"})).catch(t.props.onError),t.player.on("loaded",(function(){t.props.onReady(),t.refreshDuration()})),t.player.on("play",(function(){t.props.onPlay(),t.refreshDuration()})),t.player.on("pause",t.props.onPause),t.player.on("seeked",(function(e){return t.props.onSeek(e.seconds)})),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",(function(e){var n=e.seconds;t.currentTime=n})),t.player.on("progress",(function(e){var n=e.seconds;t.secondsLoaded=n})),t.player.on("bufferstart",t.props.onBuffer),t.player.on("bufferend",t.props.onBufferEnd))}),this.props.onError)}},{key:"refreshDuration",value:function(){var e=this;this.player.getDuration().then((function(t){e.duration=t}))}},{key:"play",value:function(){var e=this.callPlayer("play");e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("unload")}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e={width:"100%",height:"100%",overflow:"hidden",display:this.props.display};return a.default.createElement("div",{key:this.props.url,ref:this.ref,style:e})}}])&&c(i.prototype,t),i}(a.Component);t.default=v,m(v,"displayName","Vimeo"),m(v,"canPlay",s.canPlay.vimeo),m(v,"forceLoad",!0)},function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=a?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(n,r,s):n[r]=e[r]}return n.default=e,t&&t.set(e,n),n}(n(0)),r=n(1),s=n(2);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=f(e);if(t){var a=f(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return A(this,n)}}function A(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v="https://connect.facebook.net/en_US/sdk.js",g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(i,e);var t,n=p(i);function i(){var e;d(this,i);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return m(h(e=n.call.apply(n,[this].concat(a))),"callPlayer",r.callPlayer),m(h(e),"playerID",e.props.config.playerId||"".concat("facebook-player-").concat((0,r.randomString)())),m(h(e),"mute",(function(){e.callPlayer("mute")})),m(h(e),"unmute",(function(){e.callPlayer("unmute")})),e}return(t=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e,t){var n=this;t?(0,r.getSDK)(v,"FB","fbAsyncInit").then((function(e){return e.XFBML.parse()})):(0,r.getSDK)(v,"FB","fbAsyncInit").then((function(e){e.init({appId:n.props.config.appId,xfbml:!0,version:n.props.config.version}),e.Event.subscribe("xfbml.render",(function(e){n.props.onLoaded()})),e.Event.subscribe("xfbml.ready",(function(e){"video"===e.type&&e.id===n.playerID&&(n.player=e.instance,n.player.subscribe("startedPlaying",n.props.onPlay),n.player.subscribe("paused",n.props.onPause),n.player.subscribe("finishedPlaying",n.props.onEnded),n.player.subscribe("startedBuffering",n.props.onBuffer),n.player.subscribe("finishedBuffering",n.props.onBufferEnd),n.player.subscribe("error",n.props.onError),n.props.muted?n.callPlayer("mute"):n.callPlayer("unmute"),n.props.onReady(),document.getElementById(n.playerID).querySelector("iframe").style.visibility="visible")}))}))}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentPosition")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props.config.attributes;return a.default.createElement("div",o({style:{width:"100%",height:"100%"},id:this.playerID,className:"fb-video","data-href":this.props.url,"data-autoplay":this.props.playing?"true":"false","data-allowfullscreen":"true","data-controls":this.props.controls?"true":"false"},e))}}])&&c(i.prototype,t),i}(a.Component);t.default=g,m(g,"displayName","Facebook"),m(g,"canPlay",s.canPlay.facebook),m(g,"loopOnEnded",!0)},function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=a?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(n,r,s):n[r]=e[r]}return n.default=e,t&&t.set(e,n),n}(n(0)),r=n(1),s=n(2);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=h(e);if(t){var a=h(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(i,e);var t,n=u(i);function i(){var e;o(this,i);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return f(A(e=n.call.apply(n,[this].concat(a))),"callPlayer",r.callPlayer),f(A(e),"duration",null),f(A(e),"currentTime",null),f(A(e),"secondsLoaded",null),f(A(e),"mute",(function(){e.callPlayer("mute")})),f(A(e),"unmute",(function(){e.callPlayer("unmute")})),f(A(e),"ref",(function(t){e.iframe=t})),e}return(t=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,r.getSDK)("https://cdn.embed.ly/player-0.1.0.min.js","playerjs").then((function(e){t.iframe&&(t.player=new e.Player(t.iframe),t.player.setLoop(t.props.loop),t.player.on("ready",t.props.onReady),t.player.on("play",t.props.onPlay),t.player.on("pause",t.props.onPause),t.player.on("seeked",t.props.onSeek),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",(function(e){var n=e.duration,i=e.seconds;t.duration=n,t.currentTime=i})),t.player.on("buffered",(function(e){var n=e.percent;t.duration&&(t.secondsLoaded=t.duration*n)})),t.props.muted&&t.player.mute())}),this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e=this.props.url.match(s.MATCH_URL_STREAMABLE)[1];return a.default.createElement("iframe",{ref:this.ref,src:"https://streamable.com/o/".concat(e),frameBorder:"0",scrolling:"no",style:{width:"100%",height:"100%"},allowFullScreen:!0})}}])&&d(i.prototype,t),i}(a.Component);t.default=m,f(m,"displayName","Streamable"),f(m,"canPlay",s.canPlay.streamable)},function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=a?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(n,r,s):n[r]=e[r]}return n.default=e,t&&t.set(e,n),n}(n(0)),r=n(1),s=n(2);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=m(e);if(t){var a=m(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(i,e);var t,n=A(i);function i(){var e;c(this,i);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return v(f(e=n.call.apply(n,[this].concat(a))),"callPlayer",r.callPlayer),v(f(e),"playerID",e.props.config.playerId||"".concat("wistia-player-").concat((0,r.randomString)())),v(f(e),"onPlay",(function(){var t;return(t=e.props).onPlay.apply(t,arguments)})),v(f(e),"onPause",(function(){var t;return(t=e.props).onPause.apply(t,arguments)})),v(f(e),"onSeek",(function(){var t;return(t=e.props).onSeek.apply(t,arguments)})),v(f(e),"onEnded",(function(){var t;return(t=e.props).onEnded.apply(t,arguments)})),v(f(e),"mute",(function(){e.callPlayer("mute")})),v(f(e),"unmute",(function(){e.callPlayer("unmute")})),e}return(t=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this,n=this.props,i=n.playing,a=n.muted,s=n.controls,l=n.onReady,o=n.config,c=n.onError;(0,r.getSDK)("https://fast.wistia.com/assets/external/E-v1.js","Wistia").then((function(e){o.customControls&&o.customControls.forEach((function(t){return e.defineControl(t)})),window._wq=window._wq||[],window._wq.push({id:t.playerID,options:d({autoPlay:i,silentAutoPlay:"allow",muted:a,controlsVisibleOnLoad:s,fullscreenButton:s,playbar:s,playbackRateControl:s,qualityControl:s,volumeControl:s,settingsControl:s,smallPlayButton:s},o.options),onReady:function(e){t.player=e,t.unbind(),t.player.bind("play",t.onPlay),t.player.bind("pause",t.onPause),t.player.bind("seek",t.onSeek),t.player.bind("end",t.onEnded),l()}})}),c)}},{key:"unbind",value:function(){this.player.unbind("play",this.onPlay),this.player.unbind("pause",this.onPause),this.player.unbind("seek",this.onSeek),this.player.unbind("end",this.onEnded)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.unbind(),this.callPlayer("remove")}},{key:"seekTo",value:function(e){this.callPlayer("time",e)}},{key:"setVolume",value:function(e){this.callPlayer("volume",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("playbackRate",e)}},{key:"getDuration",value:function(){return this.callPlayer("duration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("time")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props.url,t=e&&e.match(s.MATCH_URL_WISTIA)[1],n="wistia_embed wistia_async_".concat(t);return a.default.createElement("div",{id:this.playerID,key:t,className:n,style:{width:"100%",height:"100%"}})}}])&&u(i.prototype,t),i}(a.Component);t.default=g,v(g,"displayName","Wistia"),v(g,"canPlay",s.canPlay.wistia),v(g,"loopOnEnded",!0)},function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=a?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(n,r,s):n[r]=e[r]}return n.default=e,t&&t.set(e,n),n}(n(0)),r=n(1),s=n(2);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=f(e);if(t){var a=f(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return A(this,n)}}function A(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(i,e);var t,n=p(i);function i(){var e;d(this,i);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return m(h(e=n.call.apply(n,[this].concat(a))),"callPlayer",r.callPlayer),m(h(e),"playerID",e.props.config.playerId||"".concat("twitch-player-").concat((0,r.randomString)())),m(h(e),"mute",(function(){e.callPlayer("setMuted",!0)})),m(h(e),"unmute",(function(){e.callPlayer("setMuted",!1)})),e}return(t=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e,t){var n=this,i=this.props,a=i.playsinline,l=i.onError,d=i.config,c=i.controls,u=s.MATCH_URL_TWITCH_CHANNEL.test(e),p=u?e.match(s.MATCH_URL_TWITCH_CHANNEL)[1]:e.match(s.MATCH_URL_TWITCH_VIDEO)[1];t?u?this.player.setChannel(p):this.player.setVideo("v"+p):(0,r.getSDK)("https://player.twitch.tv/js/embed/v1.js","Twitch").then((function(t){n.player=new t.Player(n.playerID,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({video:u?"":p,channel:u?p:"",height:"100%",width:"100%",playsinline:a,autoplay:n.props.playing,muted:n.props.muted,controls:!!u||c,time:(0,r.parseStartTime)(e)},d.options));var i=t.Player,s=i.READY,l=i.PLAYING,A=i.PAUSE,h=i.ENDED,f=i.ONLINE,v=i.OFFLINE;n.player.addEventListener(s,n.props.onReady),n.player.addEventListener(l,n.props.onPlay),n.player.addEventListener(A,n.props.onPause),n.player.addEventListener(h,n.props.onEnded),n.player.addEventListener(f,n.props.onLoaded),n.player.addEventListener(v,n.props.onLoaded)}),l)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("pause")}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){return a.default.createElement("div",{style:{width:"100%",height:"100%"},id:this.playerID})}}])&&c(i.prototype,t),i}(a.Component);t.default=v,m(v,"displayName","Twitch"),m(v,"canPlay",s.canPlay.twitch),m(v,"loopOnEnded",!0)},function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=a?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(n,r,s):n[r]=e[r]}return n.default=e,t&&t.set(e,n),n}(n(0)),r=n(1),s=n(2);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],i=!0,a=!1,r=void 0;try{for(var s,l=e[Symbol.iterator]();!(i=(s=l.next()).done)&&(n.push(s.value),!t||n.length!==t);i=!0);}catch(o){a=!0,r=o}finally{try{i||null==l.return||l.return()}finally{if(a)throw r}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(i,e);var t,n=f(i);function i(){var e;p(this,i);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return y(v(e=n.call.apply(n,[this].concat(a))),"callPlayer",r.callPlayer),y(v(e),"onDurationChange",(function(){var t=e.getDuration();e.props.onDuration(t)})),y(v(e),"mute",(function(){e.callPlayer("setMuted",!0)})),y(v(e),"unmute",(function(){e.callPlayer("setMuted",!1)})),y(v(e),"ref",(function(t){e.container=t})),e}return(t=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this,n=this.props,i=n.controls,a=n.config,l=n.onError,o=n.playing,u=c(e.match(s.MATCH_URL_DAILYMOTION),2)[1];this.player?this.player.load(u,{start:(0,r.parseStartTime)(e),autoplay:o}):(0,r.getSDK)("https://api.dmcdn.net/all.js","DM","dmAsyncInit",(function(e){return e.player})).then((function(n){if(t.container){var s=n.player;t.player=new s(t.container,{width:"100%",height:"100%",video:u,params:d({controls:i,autoplay:t.props.playing,mute:t.props.muted,start:(0,r.parseStartTime)(e),origin:window.location.origin},a.params),events:{apiready:t.props.onReady,seeked:function(){return t.props.onSeek(t.player.currentTime)},video_end:t.props.onEnded,durationchange:t.onDurationChange,pause:t.props.onPause,playing:t.props.onPlay,waiting:t.props.onBuffer,error:function(e){return l(e)}}})}}),l)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"getDuration",value:function(){return this.player.duration||null}},{key:"getCurrentTime",value:function(){return this.player.currentTime}},{key:"getSecondsLoaded",value:function(){return this.player.bufferedTime}},{key:"render",value:function(){var e={width:"100%",height:"100%",display:this.props.display};return a.default.createElement("div",{style:e},a.default.createElement("div",{ref:this.ref}))}}])&&A(i.prototype,t),i}(a.Component);t.default=x,y(x,"displayName","DailyMotion"),y(x,"canPlay",s.canPlay.dailymotion),y(x,"loopOnEnded",!0)},function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=a?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(n,r,s):n[r]=e[r]}return n.default=e,t&&t.set(e,n),n}(n(0)),r=n(1),s=n(2);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=m(e);if(t){var a=m(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(i,e);var t,n=A(i);function i(){var e;c(this,i);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return v(f(e=n.call.apply(n,[this].concat(a))),"callPlayer",r.callPlayer),v(f(e),"duration",null),v(f(e),"currentTime",null),v(f(e),"secondsLoaded",null),v(f(e),"mute",(function(){})),v(f(e),"unmute",(function(){})),v(f(e),"ref",(function(t){e.iframe=t})),e}return(t=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,r.getSDK)("https://widget.mixcloud.com/media/js/widgetApi.js","Mixcloud").then((function(e){t.player=e.PlayerWidget(t.iframe),t.player.ready.then((function(){t.player.events.play.on(t.props.onPlay),t.player.events.pause.on(t.props.onPause),t.player.events.ended.on(t.props.onEnded),t.player.events.error.on(t.props.error),t.player.events.progress.on((function(e,n){t.currentTime=e,t.duration=n})),t.props.onReady()}))}),this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.config,i=t.match(s.MATCH_URL_MIXCLOUD)[1],l=(0,r.queryString)(d(d({},n.options),{},{feed:"/".concat(i,"/")}));return a.default.createElement("iframe",{key:i,ref:this.ref,style:{width:"100%",height:"100%"},src:"https://www.mixcloud.com/widget/iframe/?".concat(l),frameBorder:"0"})}}])&&u(i.prototype,t),i}(a.Component);t.default=g,v(g,"displayName","Mixcloud"),v(g,"canPlay",s.canPlay.mixcloud),v(g,"loopOnEnded",!0)},function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=a?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(n,r,s):n[r]=e[r]}return n.default=e,t&&t.set(e,n),n}(n(0)),r=n(1),s=n(2);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=f(e);if(t){var a=f(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return A(this,n)}}function A(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(i,e);var t,n=p(i);function i(){var e;d(this,i);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return m(h(e=n.call.apply(n,[this].concat(a))),"callPlayer",r.callPlayer),m(h(e),"mute",(function(){e.setVolume(0)})),m(h(e),"unmute",(function(){null!==e.props.volume&&e.setVolume(e.props.volume)})),m(h(e),"ref",(function(t){e.container=t})),e}return(t=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this,n=this.props,i=n.playing,a=n.config,l=n.onError,d=n.onDuration,c=e&&e.match(s.MATCH_URL_VIDYARD)[1];this.player&&this.stop(),(0,r.getSDK)("https://play.vidyard.com/embed/v4.js","VidyardV4","onVidyardAPI").then((function(e){t.container&&(e.api.addReadyListener((function(e,n){t.player=n,t.player.on("ready",t.props.onReady),t.player.on("play",t.props.onPlay),t.player.on("pause",t.props.onPause),t.player.on("seek",t.props.onSeek),t.player.on("playerComplete",t.props.onEnded)}),c),e.api.renderPlayer(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({uuid:c,container:t.container,autoplay:i?1:0},a.options)),e.api.getPlayerMetadata(c).then((function(e){t.duration=e.length_in_seconds,d(e.length_in_seconds)})))}),l)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){window.VidyardV4.api.destroyPlayer(this.player)}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackSpeed",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.callPlayer("currentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e={width:"100%",height:"100%",display:this.props.display};return a.default.createElement("div",{style:e},a.default.createElement("div",{ref:this.ref}))}}])&&c(i.prototype,t),i}(a.Component);t.default=v,m(v,"displayName","Vidyard"),m(v,"canPlay",s.canPlay.vidyard)},function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=a?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(n,r,s):n[r]=e[r]}return n.default=e,t&&t.set(e,n),n}(n(0)),r=n(1),s=n(2);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=h(e);if(t){var a=h(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(i,e);var t,n=u(i);function i(){var e;o(this,i);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return f(A(e=n.call.apply(n,[this].concat(a))),"callPlayer",r.callPlayer),f(A(e),"duration",null),f(A(e),"currentTime",null),f(A(e),"secondsLoaded",null),f(A(e),"mute",(function(){e.callPlayer("mute")})),f(A(e),"unmute",(function(){e.callPlayer("unmute")})),f(A(e),"ref",(function(t){e.iframe=t})),e}return(t=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,r.getSDK)("https://cdn.embed.ly/player-0.1.0.min.js","playerjs").then((function(e){t.iframe&&(t.player=new e.Player(t.iframe),t.player.on("ready",(function(){t.player.isReady=!0,t.player.on("play",t.props.onPlay),t.player.on("pause",t.props.onPause),t.player.on("seeked",t.props.onSeek),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",(function(e){var n=e.duration,i=e.seconds;t.duration=n,t.currentTime=i})),t.player.on("buffered",(function(e){var n=e.percent;t.duration&&(t.secondsLoaded=t.duration*n)})),t.player.setLoop(t.props.loop),t.props.muted&&t.player.mute(),setTimeout((function(){t.props.onReady()}))})))}),this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){return a.default.createElement("iframe",{ref:this.ref,src:this.props.url,frameBorder:"0",scrolling:"no",style:{width:"100%",height:"100%"},allowFullScreen:!0,allow:"encrypted-media",referrerPolicy:"no-referrer-when-downgrade"})}}])&&d(i.prototype,t),i}(a.Component);t.default=m,f(m,"displayName","Kaltura"),f(m,"canPlay",s.canPlay.kaltura)},function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=a?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(n,r,s):n[r]=e[r]}return n.default=e,t&&t.set(e,n),n}(n(0)),r=n(1),s=n(2);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=f(e);if(t){var a=f(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return A(this,n)}}function A(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v="undefined"!=typeof navigator,g=v&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,y=v&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||g)&&!window.MSStream,x=/www\.dropbox\.com\/.+/,b=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/,w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(i,e);var t,n=p(i);function i(){var e;d(this,i);for(var t=arguments.length,s=new Array(t),l=0;l<t;l++)s[l]=arguments[l];return m(h(e=n.call.apply(n,[this].concat(s))),"onReady",(function(){var t;return(t=e.props).onReady.apply(t,arguments)})),m(h(e),"onPlay",(function(){var t;return(t=e.props).onPlay.apply(t,arguments)})),m(h(e),"onBuffer",(function(){var t;return(t=e.props).onBuffer.apply(t,arguments)})),m(h(e),"onBufferEnd",(function(){var t;return(t=e.props).onBufferEnd.apply(t,arguments)})),m(h(e),"onPause",(function(){var t;return(t=e.props).onPause.apply(t,arguments)})),m(h(e),"onEnded",(function(){var t;return(t=e.props).onEnded.apply(t,arguments)})),m(h(e),"onError",(function(){var t;return(t=e.props).onError.apply(t,arguments)})),m(h(e),"onEnablePIP",(function(){var t;return(t=e.props).onEnablePIP.apply(t,arguments)})),m(h(e),"onDisablePIP",(function(t){var n=e.props,i=n.onDisablePIP,a=n.playing;i(t),a&&e.play()})),m(h(e),"onPresentationModeChange",(function(t){if(e.player&&(0,r.supportsWebKitPresentationMode)(e.player)){var n=e.player.webkitPresentationMode;"picture-in-picture"===n?e.onEnablePIP(t):"inline"===n&&e.onDisablePIP(t)}})),m(h(e),"onSeek",(function(t){e.props.onSeek(t.target.currentTime)})),m(h(e),"mute",(function(){e.player.muted=!0})),m(h(e),"unmute",(function(){e.player.muted=!1})),m(h(e),"renderSourceElement",(function(e,t){return"string"==typeof e?a.default.createElement("source",{key:t,src:e}):a.default.createElement("source",o({key:t},e))})),m(h(e),"renderTrack",(function(e,t){return a.default.createElement("track",o({key:t},e))})),m(h(e),"ref",(function(t){e.player&&(e.prevPlayer=e.player),e.player=t})),e}return(t=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this),this.addListeners(this.player),y&&this.player.load()}},{key:"componentDidUpdate",value:function(e){this.shouldUseAudio(this.props)!==this.shouldUseAudio(e)&&(this.removeListeners(this.prevPlayer,e.url),this.addListeners(this.player)),this.props.url===e.url||(0,r.isMediaStream)(this.props.url)||(this.player.srcObject=null)}},{key:"componentWillUnmount",value:function(){this.removeListeners(this.player),this.hls&&this.hls.destroy()}},{key:"addListeners",value:function(e){var t=this.props,n=t.url,i=t.playsinline;e.addEventListener("play",this.onPlay),e.addEventListener("waiting",this.onBuffer),e.addEventListener("playing",this.onBufferEnd),e.addEventListener("pause",this.onPause),e.addEventListener("seeked",this.onSeek),e.addEventListener("ended",this.onEnded),e.addEventListener("error",this.onError),e.addEventListener("enterpictureinpicture",this.onEnablePIP),e.addEventListener("leavepictureinpicture",this.onDisablePIP),e.addEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(n)||e.addEventListener("canplay",this.onReady),i&&(e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("x5-playsinline",""))}},{key:"removeListeners",value:function(e,t){e.removeEventListener("canplay",this.onReady),e.removeEventListener("play",this.onPlay),e.removeEventListener("waiting",this.onBuffer),e.removeEventListener("playing",this.onBufferEnd),e.removeEventListener("pause",this.onPause),e.removeEventListener("seeked",this.onSeek),e.removeEventListener("ended",this.onEnded),e.removeEventListener("error",this.onError),e.removeEventListener("enterpictureinpicture",this.onEnablePIP),e.removeEventListener("leavepictureinpicture",this.onDisablePIP),e.removeEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(t)||e.removeEventListener("canplay",this.onReady)}},{key:"shouldUseAudio",value:function(e){return!e.config.forceVideo&&!e.config.attributes.poster&&(s.AUDIO_EXTENSIONS.test(e.url)||e.config.forceAudio)}},{key:"shouldUseHLS",value:function(e){return!!this.props.config.forceHLS||!y&&(s.HLS_EXTENSIONS.test(e)||b.test(e))}},{key:"shouldUseDASH",value:function(e){return s.DASH_EXTENSIONS.test(e)||this.props.config.forceDASH}},{key:"shouldUseFLV",value:function(e){return s.FLV_EXTENSIONS.test(e)||this.props.config.forceFLV}},{key:"load",value:function(e){var t=this,n=this.props.config,i=n.hlsVersion,a=n.hlsOptions,s=n.dashVersion,l=n.flvVersion;if(this.hls&&this.hls.destroy(),this.dash&&this.dash.reset(),this.shouldUseHLS(e)&&(0,r.getSDK)("https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js".replace("VERSION",i),"Hls").then((function(n){if(t.hls=new n(a),t.hls.on(n.Events.MANIFEST_PARSED,(function(){t.props.onReady()})),t.hls.on(n.Events.ERROR,(function(e,i){t.props.onError(e,i,t.hls,n)})),b.test(e)){var i=e.match(b)[1];t.hls.loadSource("https://videodelivery.net/{id}/manifest/video.m3u8".replace("{id}",i))}else t.hls.loadSource(e);t.hls.attachMedia(t.player),t.props.onLoaded()})),this.shouldUseDASH(e)&&(0,r.getSDK)("https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js".replace("VERSION",s),"dashjs").then((function(n){t.dash=n.MediaPlayer().create(),t.dash.initialize(t.player,e,t.props.playing),t.dash.on("error",t.props.onError),parseInt(s)<3?t.dash.getDebug().setLogToBrowserConsole(!1):t.dash.updateSettings({debug:{logLevel:n.Debug.LOG_LEVEL_NONE}}),t.props.onLoaded()})),this.shouldUseFLV(e)&&(0,r.getSDK)("https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js".replace("VERSION",l),"flvjs").then((function(n){t.flv=n.createPlayer({type:"flv",url:e}),t.flv.attachMediaElement(t.player),t.flv.load(),t.props.onLoaded()})),e instanceof Array)this.player.load();else if((0,r.isMediaStream)(e))try{this.player.srcObject=e}catch(o){this.player.src=window.URL.createObjectURL(e)}}},{key:"play",value:function(){var e=this.player.play();e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.player.pause()}},{key:"stop",value:function(){this.player.removeAttribute("src"),this.dash&&this.dash.reset()}},{key:"seekTo",value:function(e){this.player.currentTime=e}},{key:"setVolume",value:function(e){this.player.volume=e}},{key:"enablePIP",value:function(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():(0,r.supportsWebKitPresentationMode)(this.player)&&"picture-in-picture"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("picture-in-picture")}},{key:"disablePIP",value:function(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():(0,r.supportsWebKitPresentationMode)(this.player)&&"inline"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("inline")}},{key:"setPlaybackRate",value:function(e){this.player.playbackRate=e}},{key:"getDuration",value:function(){if(!this.player)return null;var e=this.player,t=e.duration,n=e.seekable;return t===1/0&&n.length>0?n.end(n.length-1):t}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var e=this.player.buffered;if(0===e.length)return 0;var t=e.end(e.length-1),n=this.getDuration();return t>n?n:t}},{key:"getSource",value:function(e){var t=this.shouldUseHLS(e),n=this.shouldUseDASH(e),i=this.shouldUseFLV(e);if(!(e instanceof Array||(0,r.isMediaStream)(e)||t||n||i))return x.test(e)?e.replace("www.dropbox.com","dl.dropboxusercontent.com"):e}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.playing,i=e.loop,r=e.controls,s=e.muted,l=e.config,d=e.width,c=e.height,u=this.shouldUseAudio(this.props)?"audio":"video",p={width:"auto"===d?d:"100%",height:"auto"===c?c:"100%"};return a.default.createElement(u,o({ref:this.ref,src:this.getSource(t),style:p,preload:"auto",autoPlay:n||void 0,controls:r,muted:s,loop:i},l.attributes),t instanceof Array&&t.map(this.renderSourceElement),l.tracks.map(this.renderTrack))}}])&&c(i.prototype,t),i}(a.Component);t.default=w,m(w,"displayName","FilePlayer"),m(w,"canPlay",s.canPlay.file)},function(e,t,n){(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.createReactPlayer=void 0;var i=N(n(0)),a=c(n(10)),r=c(n(53)),s=c(n(11)),l=n(12),o=n(1),d=c(n(57));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function f(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=j(e);if(t){var a=j(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return S=function(){return e},e}function N(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=S();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var r=i?Object.getOwnPropertyDescriptor(e,a):null;r&&(r.get||r.set)?Object.defineProperty(n,a,r):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}var I=(0,i.lazy)((function(){return Promise.resolve().then((function(){return N(n(58))}))})),F="undefined"!=typeof window&&window.document,B=void 0!==e&&e.window&&e.window.document,P=Object.keys(l.propTypes),k=F||B?i.Suspense:function(){return null},T=[];t.createReactPlayer=function(e,t){var n,c;return c=n=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(p,n);var c,u=x(p);function p(){var n;v(this,p);for(var s=arguments.length,c=new Array(s),A=0;A<s;A++)c[A]=arguments[A];return C(w(n=u.call.apply(u,[this].concat(c))),"state",{showPreview:!!n.props.light}),C(w(n),"references",{wrapper:function(e){n.wrapper=e},player:function(e){n.player=e}}),C(w(n),"handleClickPreview",(function(e){n.setState({showPreview:!1}),n.props.onClickPreview(e)})),C(w(n),"showPreview",(function(){n.setState({showPreview:!0})})),C(w(n),"getDuration",(function(){return n.player?n.player.getDuration():null})),C(w(n),"getCurrentTime",(function(){return n.player?n.player.getCurrentTime():null})),C(w(n),"getSecondsLoaded",(function(){return n.player?n.player.getSecondsLoaded():null})),C(w(n),"getInternalPlayer",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return n.player?n.player.getInternalPlayer(e):null})),C(w(n),"seekTo",(function(e,t){if(!n.player)return null;n.player.seekTo(e,t)})),C(w(n),"handleReady",(function(){n.props.onReady(w(n))})),C(w(n),"getActivePlayer",(0,r.default)((function(n){for(var i=0,a=[].concat(T,f(e));i<a.length;i++){var r=a[i];if(r.canPlay(n))return r}return t||null}))),C(w(n),"getConfig",(0,r.default)((function(e,t){var i=n.props.config;return a.default.all([l.defaultProps.config,l.defaultProps.config[t]||{},i,i[t]||{}])}))),C(w(n),"getAttributes",(0,r.default)((function(e){return(0,o.omit)(n.props,P)}))),C(w(n),"renderActivePlayer",(function(e){if(!e)return null;var t=n.getActivePlayer(e);if(!t)return null;var a=n.getConfig(e,t.key);return i.default.createElement(d.default,h({},n.props,{key:t.key,ref:n.references.player,config:a,activePlayer:t.lazyPlayer||t,onReady:n.handleReady}))})),n}return(c=[{key:"shouldComponentUpdate",value:function(e,t){return!(0,s.default)(this.props,e)||!(0,s.default)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"renderPreview",value:function(e){if(!e)return null;var t=this.props,n=t.light,a=t.playIcon,r=t.previewTabIndex;return i.default.createElement(I,{url:e,light:n,playIcon:a,previewTabIndex:r,onClick:this.handleClickPreview})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.style,a=e.width,r=e.height,s=e.fallback,l=e.wrapper,o=this.state.showPreview,d=this.getAttributes(t);return i.default.createElement(l,h({ref:this.references.wrapper,style:A(A({},n),{},{width:a,height:r})},d),i.default.createElement(k,{fallback:s},o?this.renderPreview(t):this.renderActivePlayer(t)))}}])&&g(p.prototype,c),p}(i.Component),C(n,"displayName","ReactPlayer"),C(n,"propTypes",l.propTypes),C(n,"defaultProps",l.defaultProps),C(n,"addCustomPlayer",(function(e){T.push(e)})),C(n,"removeCustomPlayers",(function(){T.length=0})),C(n,"canPlay",(function(t){for(var n=0,i=[].concat(T,f(e));n<i.length;n++)if(i[n].canPlay(t))return!0;return!1})),C(n,"canEnablePIP",(function(t){for(var n=0,i=[].concat(T,f(e));n<i.length;n++){var a=i[n];if(a.canEnablePIP&&a.canEnablePIP(t))return!0}return!1})),c}}).call(this,n(52))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){n.r(t);var i=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function a(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((a=e[n])===(r=t[n])||i(a)&&i(r)))return!1;var a,r;return!0}t.default=function(e,t){var n;void 0===t&&(t=a);var i,r=[],s=!1;return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];return s&&n===this&&t(a,r)||(i=e.apply(this,a),s=!0,n=this,r=a),i}}},function(e,t,n){e.exports=n(55)()},function(e,t,n){var i=n(56);function a(){}function r(){}r.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,r,s){if(s!==i){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:a};return n.PropTypes=n,n}},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var s=a?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(n,r,s):n[r]=e[r]}return n.default=e,t&&t.set(e,n),n}(n(0)),s=(a=n(11))&&a.__esModule?a:{default:a},l=n(12);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=m(e);if(t){var a=m(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(i,e);var t,n=A(i);function i(){var e;c(this,i);for(var t=arguments.length,a=new Array(t),r=0;r<t;r++)a[r]=arguments[r];return v(f(e=n.call.apply(n,[this].concat(a))),"mounted",!1),v(f(e),"isReady",!1),v(f(e),"isPlaying",!1),v(f(e),"isLoading",!0),v(f(e),"loadOnReady",null),v(f(e),"startOnPlay",!0),v(f(e),"seekOnPlay",null),v(f(e),"onDurationCalled",!1),v(f(e),"handlePlayerMount",(function(t){e.player=t,e.player.load(e.props.url),e.progress()})),v(f(e),"getInternalPlayer",(function(t){return e.player?e.player[t]:null})),v(f(e),"progress",(function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,n=e.getSecondsLoaded(),i=e.getDuration();if(i){var a={playedSeconds:t,played:t/i};null!==n&&(a.loadedSeconds=n,a.loaded=n/i),a.playedSeconds===e.prevPlayed&&a.loadedSeconds===e.prevLoaded||e.props.onProgress(a),e.prevPlayed=a.playedSeconds,e.prevLoaded=a.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)})),v(f(e),"handleReady",(function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,n=t.onReady,i=t.playing,a=t.volume,r=t.muted;n(),r||null===a||e.player.setVolume(a),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):i&&e.player.play(),e.handleDurationCheck()}})),v(f(e),"handlePlay",(function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,n=t.onStart,i=t.onPlay,a=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==a&&e.player.setPlaybackRate(a),n(),e.startOnPlay=!1),i(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()})),v(f(e),"handlePause",(function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)})),v(f(e),"handleEnded",(function(){var t=e.props,n=t.activePlayer,i=t.loop,a=t.onEnded;n.loopOnEnded&&i&&e.seekTo(0),i||(e.isPlaying=!1,a())})),v(f(e),"handleError",(function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)})),v(f(e),"handleDurationCheck",(function(){clearTimeout(e.durationCheckTimeout);var t=e.getDuration();t?e.onDurationCalled||(e.props.onDuration(t),e.onDurationCalled=!0):e.durationCheckTimeout=setTimeout(e.handleDurationCheck,100)})),v(f(e),"handleLoaded",(function(){e.isLoading=!1})),e}return(t=[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}},{key:"componentDidUpdate",value:function(e){var t=this;if(this.player){var n=this.props,i=n.url,a=n.playing,r=n.volume,l=n.muted,o=n.playbackRate,d=n.pip,c=n.loop,u=n.activePlayer;if(!(0,s.default)(e.url,i)){if(this.isLoading&&!u.forceLoad)return void(this.loadOnReady=i);this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(i,this.isReady)}e.playing||!a||this.isPlaying||this.player.play(),e.playing&&!a&&this.isPlaying&&this.player.pause(),!e.pip&&d&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!d&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==r&&null!==r&&this.player.setVolume(r),e.muted!==l&&(l?this.player.mute():(this.player.unmute(),null!==r&&setTimeout((function(){return t.player.setVolume(r)})))),e.playbackRate!==o&&this.player.setPlaybackRate&&this.player.setPlaybackRate(o),e.loop!==c&&this.player.setLoop&&this.player.setLoop(c)}}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(e,t){var n=this;if(!this.isReady&&0!==e)return this.seekOnPlay=e,void setTimeout((function(){n.seekOnPlay=null}),5e3);if(t?"fraction"===t:e>0&&e<1){var i=this.player.getDuration();return i?void this.player.seekTo(i*e):void 0}this.player.seekTo(e)}},{key:"render",value:function(){var e=this.props.activePlayer;return e?r.default.createElement(e,d({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}])&&u(i.prototype,t),i}(r.Component);t.default=g,v(g,"displayName","Player"),v(g,"propTypes",l.propTypes),v(g,"defaultProps",l.defaultProps)},function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var l=a?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(n,s,l):n[s]=e[s]}return n.default=e,t&&t.set(e,n),n}(n(0));function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=h(e);if(t){var a=h(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m={},v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(i,e);var t,n=u(i);function i(){var e;o(this,i);for(var t=arguments.length,a=new Array(t),r=0;r<t;r++)a[r]=arguments[r];return f(A(e=n.call.apply(n,[this].concat(a))),"mounted",!1),f(A(e),"state",{image:null}),f(A(e),"handleKeyPress",(function(t){"Enter"!==t.key&&" "!==t.key||e.props.onClick()})),e}return(t=[{key:"componentDidMount",value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.url,i=t.light;e.url===n&&e.light===i||this.fetchImage(this.props)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"fetchImage",value:function(e){var t=this,n=e.url,i=e.light;if("string"!=typeof i){if(!m[n])return this.setState({image:null}),window.fetch("https://noembed.com/embed?url=".concat(n)).then((function(e){return e.json()})).then((function(e){if(e.thumbnail_url&&t.mounted){var i=e.thumbnail_url.replace("height=100","height=480");t.setState({image:i}),m[n]=i}}));this.setState({image:m[n]})}else this.setState({image:i})}},{key:"render",value:function(){var e=this.props,t=e.onClick,n=e.playIcon,i=e.previewTabIndex,r=this.state.image,s={display:"flex",alignItems:"center",justifyContent:"center"},o={preview:l({width:"100%",height:"100%",backgroundImage:r?"url(".concat(r,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},s),shadow:l({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:"64px",width:"64px",height:"64px"},s),playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},d=a.default.createElement("div",{style:o.shadow,className:"react-player__shadow"},a.default.createElement("div",{style:o.playIcon,className:"react-player__play-icon"}));return a.default.createElement("div",{style:o.preview,className:"react-player__preview",onClick:t,tabIndex:i,onKeyPress:this.handleKeyPress},n||d)}}])&&d(i.prototype,t),i}(a.Component);t.default=v},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],i=!0,a=!1,r=void 0;try{for(var s,l=e[Symbol.iterator]();!(i=(s=l.next()).done)&&(n.push(s.value),!t||n.length!==t);i=!0);}catch(o){a=!0,r=o}finally{try{i||null==l.return||l.return()}finally{if(a)throw r}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){n.r(t),n.d(t,"default",(function(){return _}));var i=n(6),a=n.n(i),r=n(13),s=n.n(r),l=n(4),o=n.n(l),d=n(3),c=n.n(d),u=(n(24),n(14)),p=n.n(u),A=n(15),h=n.n(A),f=n(16),m=n.n(f),v=n(17),g=n.n(v);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var x=function(){function e(t){var n=t.api,i=t.config,a=t.onSelectFile,r=t.readOnly;o()(this,e),this.api=n,this.config=i,this.onSelectFile=a,this.readOnly=r,this.nodes={wrapper:b("div",[this.CSS.baseClass,this.CSS.wrapper]),videoContainer:b("div",[this.CSS.videoContainer]),fileButton:this.createFileButton(),videoEl:void 0,videoPreloader:b("video",this.CSS.videoPreloader),caption:b("div",[this.CSS.input,this.CSS.caption],{contentEditable:!this.readOnly})},this.nodes.caption.dataset.placeholder=this.config.captionPlaceholder,this.nodes.videoContainer.appendChild(this.nodes.videoPreloader),this.nodes.wrapper.appendChild(this.nodes.videoContainer),this.nodes.wrapper.appendChild(this.nodes.caption),this.nodes.wrapper.appendChild(this.nodes.fileButton)}return c()(e,[{key:"render",value:function(t){return t.file&&0!==Object.keys(t.file).length?this.toggleStatus(e.status.UPLOADING):this.toggleStatus(e.status.EMPTY),this.nodes.wrapper}},{key:"createFileButton",value:function(){var e=this,t=b("div",[this.CSS.button]);return t.innerHTML=this.config.buttonContent||"".concat(m.a," ").concat(this.api.i18n.t("Select an Video")),t.addEventListener("click",(function(){e.onSelectFile()})),t}},{key:"showPreloader",value:function(t){this.nodes.videoPreloader.src="url(".concat(t,")"),this.toggleStatus(e.status.UPLOADING)}},{key:"hidePreloader",value:function(){this.nodes.videoPreloader.src="",this.toggleStatus(e.status.EMPTY)}},{key:"fillVideo",value:function(e){g()(this.nodes.videoContainer,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){h()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({url:e},this.config.player))}},{key:"fillCaption",value:function(e){this.nodes.caption&&(this.nodes.caption.innerHTML=e)}},{key:"toggleStatus",value:function(t){for(var n in e.status)Object.prototype.hasOwnProperty.call(e.status,n)&&this.nodes.wrapper.classList.toggle("".concat(this.CSS.wrapper,"--").concat(e.status[n]),t===e.status[n])}},{key:"applyTune",value:function(e,t){this.nodes.wrapper.classList.toggle("".concat(this.CSS.wrapper,"--").concat(e),t)}},{key:"CSS",get:function(){return{baseClass:this.api.styles.block,loading:this.api.styles.loader,input:this.api.styles.input,button:this.api.styles.button,wrapper:"video-tool",videoContainer:"video-tool__video",videoPreloader:"video-tool__video-preloader",videoEl:"video-tool__video-picture",caption:"video-tool__caption"}}}],[{key:"status",get:function(){return{EMPTY:"empty",UPLOADING:"loading",FILLED:"filled"}}}]),e}(),b=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=document.createElement(e);for(var r in Array.isArray(n)?(t=a.classList).add.apply(t,p()(n)):n&&a.classList.add(n),i)a[r]=i[r];return a},w=n(18),j=n.n(w),C=n(19),S=n.n(C),N=n(20),I=n.n(N),F=function(){function e(t){var n=t.api,i=t.actions,a=t.onChange;o()(this,e),this.api=n,this.actions=i,this.onChange=a,this.buttons=[]}return c()(e,[{key:"render",value:function(t){var n=this,i=b("div",this.CSS.wrapper);return this.buttons=[],e.tunes.concat(this.actions).forEach((function(e){var a=n.api.i18n.t(e.title),r=b("div",[n.CSS.buttonBase,n.CSS.button],{innerHTML:e.icon,title:a});r.addEventListener("click",(function(){n.tuneClicked(e.name,e.action)})),r.dataset.tune=e.name,r.classList.toggle(n.CSS.buttonActive,t[e.name]),n.buttons.push(r),n.api.tooltip.onHover(r,a,{placement:"top"}),i.appendChild(r)})),i}},{key:"tuneClicked",value:function(e,t){if("function"==typeof t&&!t(e))return!1;var n=this.buttons.find((function(t){return t.dataset.tune===e}));n.classList.toggle(this.CSS.buttonActive,!n.classList.contains(this.CSS.buttonActive)),this.onChange(e)}},{key:"CSS",get:function(){return{wrapper:"",buttonBase:this.api.styles.settingsButton,button:"video-tool__tune",buttonActive:this.api.styles.settingsButtonActive}}}],[{key:"tunes",get:function(){return[{name:"withBorder",icon:S.a,title:"With border"},{name:"stretched",icon:I.a,title:"Stretch video"},{name:"withBackground",icon:j.a,title:"With background"}]}}]),e}(),B=n(21),P=n.n(B),k=n(22),T=n.n(k),E=n(5),D=n.n(E),L=function(){function e(t){var n=t.config,i=t.onUpload,a=t.onError;o()(this,e),this.config=n,this.onUpload=i,this.onError=a}return c()(e,[{key:"uploadSelectedFile",value:function(e){var t=this,n=e.onPreview,i=function(e){var t=new FileReader;t.readAsDataURL(e),t.onload=function(e){n(e.target.result)}};(this.config.uploader&&"function"==typeof this.config.uploader.uploadByFile?D.a.selectFiles({accept:this.config.types}).then((function(e){i(e[0]);var n=t.config.uploader.uploadByFile(e[0]);return U(n),n})):D.a.transport({url:this.config.endpoints.byFile,data:this.config.additionalRequestData,accept:this.config.types,headers:this.config.additionalRequestHeaders,beforeSend:function(e){i(e[0])},fieldName:this.config.field}).then((function(e){return e.body}))).then((function(e){t.onUpload(e)})).catch((function(e){t.onError(e)}))}},{key:"uploadByUrl",value:function(e){var t,n=this;this.config.uploader&&"function"==typeof this.config.uploader.uploadByUrl?U(t=this.config.uploader.uploadByUrl(e)):t=D.a.post({url:this.config.endpoints.byUrl,data:Object.assign({url:e},this.config.additionalRequestData),type:D.a.contentType.JSON,headers:this.config.additionalRequestHeaders}).then((function(e){return e.body})),t.then((function(e){n.onUpload(e)})).catch((function(e){n.onError(e)}))}},{key:"uploadByFile",value:function(e,t){var n,i=this,a=t.onPreview,r=new FileReader;if(r.readAsDataURL(e),r.onload=function(e){a(e.target.result)},this.config.uploader&&"function"==typeof this.config.uploader.uploadByFile)U(n=this.config.uploader.uploadByFile(e));else{var s=new FormData;s.append(this.config.field,e),this.config.additionalRequestData&&Object.keys(this.config.additionalRequestData).length&&Object.entries(this.config.additionalRequestData).forEach((function(e){var t=T()(e,2),n=t[0],i=t[1];s.append(n,i)})),n=D.a.post({url:this.config.endpoints.byFile,data:s,type:D.a.contentType.JSON,headers:this.config.additionalRequestHeaders}).then((function(e){return e.body}))}n.then((function(e){i.onUpload(e)})).catch((function(e){i.onError(e)}))}}]),e}();function U(e){return Promise.resolve(e)===e} +/** + * Video Tool for the Editor.js + * + * @author CodeX <team@codex.so> + * @license MIT + * @see {@link https://github.com/editor-js/video} + * + * To developers. + * To simplify Tool structure, we split it to 4 parts: + * 1) index.js — main Tool's interface, public API and methods for working with data + * 2) uploader.js — module that has methods for sending files via AJAX: from device, by URL or File pasting + * 3) ui.js — module for UI manipulations: render, showing preloader, etc + * 4) tunes.js — working with Block Tunes: render buttons, handle clicks + * + * For debug purposes there is a testing server + * that can save uploaded files and return a Response {@link UploadResponseFormat} + * + * $ node dev/server.js + * + * It will expose 8008 port, so you can pass http://localhost:8008 with the Tools config: + * + * video: { + * class: VideoTool, + * config: { + * endpoints: { + * byFile: 'http://localhost:8008/uploadFile', + * byUrl: 'http://localhost:8008/fetchUrl', + * } + * }, + * }, + */var _=function(){function e(t){var n=this,i=t.data,a=t.config,r=t.api,s=t.readOnly;o()(this,e),this.api=r,this.readOnly=s,this.config={endpoints:a.endpoints||"",additionalRequestData:a.additionalRequestData||{},additionalRequestHeaders:a.additionalRequestHeaders||{},field:a.field||"video",types:a.types||"video/*",captionPlaceholder:this.api.i18n.t(a.captionPlaceholder||"Caption"),buttonContent:a.buttonContent||"",uploader:a.uploader||void 0,actions:a.actions||[],player:{pip:a.player.pip||!1,controls:a.player.controls||!1,light:a.player.light||!1,playing:a.player.playing||!1}},this.uploader=new L({config:this.config,onUpload:function(e){return n.onUpload(e)},onError:function(e){return n.uploadingFailed(e)}}),this.ui=new x({api:r,config:this.config,onSelectFile:function(){n.uploader.uploadSelectedFile({onPreview:function(e){n.ui.showPreloader(e)}})},readOnly:s}),this.tunes=new F({api:r,actions:this.config.actions,onChange:function(e){return n.tuneToggled(e)}}),this._data={},this.data=i}var t;return c()(e,null,[{key:"isReadOnlySupported",get:function(){return!0}},{key:"toolbox",get:function(){return{icon:P.a,title:"Video"}}}]),c()(e,[{key:"render",value:function(){return this.ui.render(this.data)}},{key:"save",value:function(){var e=this.ui.nodes.caption;return this._data.caption=e.innerHTML,this.data}},{key:"renderSettings",value:function(){return this.tunes.render(this.data)}},{key:"appendCallback",value:function(){this.ui.nodes.fileButton.click()}},{key:"onPaste",value:(t=s()(a.a.mark((function e(t){var n,i,r,s,l;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=t.type,e.next="tag"===e.t0?3:"pattern"===e.t0?15:"file"===e.t0?18:21;break;case 3:if(n=t.detail.data,!/^blob:/.test(n.src)){e.next=13;break}return e.next=7,fetch(n.src);case 7:return i=e.sent,e.next=10,i.blob();case 10:return r=e.sent,this.uploadFile(r),e.abrupt("break",21);case 13:return this.uploadUrl(n.src),e.abrupt("break",21);case 15:return s=t.detail.data,this.uploadUrl(s),e.abrupt("break",21);case 18:return l=t.detail.file,this.uploadFile(l),e.abrupt("break",21);case 21:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"onUpload",value:function(e){e.success&&e.file?this.video=e.file:this.uploadingFailed("incorrect response: "+JSON.stringify(e))}},{key:"uploadingFailed",value:function(e){this.api.notifier.show({message:this.api.i18n.t("Couldn’t upload video. Please try another."),style:"error"}),this.ui.hidePreloader()}},{key:"tuneToggled",value:function(e){this.setTune(e,!this._data[e])}},{key:"setTune",value:function(e,t){var n=this;this._data[e]=t,this.ui.applyTune(e,t),"stretched"===e&&Promise.resolve().then((function(){var e=n.api.blocks.getCurrentBlockIndex();n.api.blocks.stretchBlock(e,t)})).catch((function(e){}))}},{key:"uploadFile",value:function(e){var t=this;this.uploader.uploadByFile(e,{onPreview:function(e){t.ui.showPreloader(e)}})}},{key:"uploadUrl",value:function(e){this.ui.showPreloader(e),this.uploader.uploadByUrl(e)}},{key:"data",set:function(e){var t=this;this.video=e.file,this._data.caption=e.caption||"",this.ui.fillCaption(this._data.caption),F.tunes.forEach((function(n){var i=n.name,a=void 0!==e[i]&&(!0===e[i]||"true"===e[i]);t.setTune(i,a)}))},get:function(){return this._data}},{key:"video",set:function(e){this._data.file=e||{},e&&e.url&&this.ui.fillVideo(e.url)}}],[{key:"pasteConfig",get:function(){return{tags:["video"],patterns:{video:/https?:\/\/\S+\.(mp4)$/i},files:{mimeTypes:["video/*"]}}}}]),e}()}]).default;const yte=c(gte.exports);class xte{constructor({data:e}={}){this.data=e||{},this.wrapper=null}static get toolbox(){return{title:"Callout",icon:'<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4M12 8h.01"/></svg>'}}render(){const e=document.createElement("div");return e.innerHTML=`\n <div style="border-left:4px solid #f59e0b;background:#fff7ed;padding:10px;border-radius:6px">\n <div style="display:flex;gap:8px;align-items:center">\n <input class="e-call-emoji" style="width:3rem" value="${this.data.emoji||"💡"}" />\n <input class="e-call-text" style="flex:1" placeholder="Highlight text…" value="${this.data.text||""}" />\n </div>\n </div>`,this.wrapper=e,e}save(e){return{emoji:(e.querySelector(".e-call-emoji")||{}).value||"💡",text:(e.querySelector(".e-call-text")||{}).value||""}}}class bte{constructor({data:e}={}){this.data=e||{},this.wrapper=null}static get toolbox(){return{title:"Call to action",icon:'<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M9 12l2 2 4-4"/></svg>'}}render(){const e=document.createElement("div");return e.className="editor-cta",e.innerHTML=`\n <div style="border:1px solid #e2e8f0;border-radius:8px;padding:12px;display:grid;gap:8px">\n <input placeholder="Heading" value="${this.data.heading||""}" class="e-cta-heading" />\n <input placeholder="Subheading" value="${this.data.subheading||""}" class="e-cta-subheading" />\n <div style="display:flex; gap:8px">\n <input placeholder="Button text" value="${this.data.buttonText||""}" class="e-cta-btntext" />\n <input placeholder="Button URL" value="${this.data.buttonUrl||""}" class="e-cta-btnurl" />\n <select class="e-cta-style">\n <option value="primary" ${"secondary"!==this.data.style?"selected":""}>Primary</option>\n <option value="secondary" ${"secondary"===this.data.style?"selected":""}>Secondary</option>\n </select>\n </div>\n </div>`,this.wrapper=e,e}save(e){return{heading:(e.querySelector(".e-cta-heading")||{}).value||"",subheading:(e.querySelector(".e-cta-subheading")||{}).value||"",buttonText:(e.querySelector(".e-cta-btntext")||{}).value||"",buttonUrl:(e.querySelector(".e-cta-btnurl")||{}).value||"",style:(e.querySelector(".e-cta-style")||{}).value||"primary"}}validate(e){return e.heading&&e.buttonText&&e.buttonUrl}}class wte{constructor({data:e}={}){this.data=e||{},this.wrapper=null}static get toolbox(){return{title:"Email content",icon:'<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><polyline points="22,6 12,13 2,6"/></svg>'}}render(){const e=document.createElement("div");return e.innerHTML=`\n <div style="border:1px dashed #cbd5e1;border-radius:8px;padding:12px;display:grid;gap:8px">\n <input placeholder="Subject" class="e-email-subject" value="${this.data.subject||""}" />\n <textarea placeholder="Body (HTML allowed)" rows="6" class="e-email-body">${this.data.bodyHtml||""}</textarea>\n </div>`,this.wrapper=e,e}save(e){return{subject:(e.querySelector(".e-email-subject")||{}).value||"",bodyHtml:(e.querySelector(".e-email-body")||{}).value||""}}}class jte{constructor({data:e}={}){this.data=e||{}}static get toolbox(){return{title:"Separator",icon:'<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><line x1="3" y1="12" x2="21" y2="12"/></svg>'}}render(){const e=document.createElement("div");e.innerHTML=`\n <div style="padding: 20px 0; display: flex; align-items: center; gap: 10px;">\n <select class="separator-style" style="padding: 4px 8px; border: 1px solid #e5e7eb; border-radius: 4px;">\n <option value="line" ${"line"===this.data.style?"selected":""}>Line</option>\n <option value="dots" ${"dots"===this.data.style?"selected":""}>Dots</option>\n <option value="stars" ${"stars"===this.data.style?"selected":""}>Stars</option>\n <option value="space" ${"space"===this.data.style?"selected":""}>Space</option>\n </select>\n <div class="separator-preview" style="flex: 1; display: flex; justify-content: center;">\n ${this.getPreview(this.data.style||"line")}\n </div>\n </div>\n `;const t=e.querySelector(".separator-style"),n=e.querySelector(".separator-preview");return t.addEventListener("change",(e=>{n.innerHTML=this.getPreview(e.target.value)})),e}getPreview(e){switch(e){case"dots":return'<div style="color: #64748b; font-size: 18px; letter-spacing: 8px;">• • •</div>';case"stars":return'<div style="color: #64748b; font-size: 16px; letter-spacing: 6px;">★ ★ ★</div>';case"space":return'<div style="height: 40px;"></div>';default:return'<hr style="border: none; border-top: 1px solid #e5e7eb; width: 100%; margin: 0;">'}}save(e){const t=e.querySelector(".separator-style");return{style:t?t.value:"line"}}static get isReadOnlySupported(){return!0}}class Cte{constructor({data:e,config:t,api:n}){this.api=n,this.data=e||{text:"",level:2},this.wrapper=null}static get toolbox(){return{title:"Heading",icon:'<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M6 12h12M6 4v16M18 4v16"/></svg>'}}render(){const e=document.createElement("div");e.innerHTML=`\n <div style="display: grid; gap: 8px;">\n <div style="display: flex; gap: 8px; align-items: center;">\n <select class="header-level" style="padding: 4px 8px; border: 1px solid #e5e7eb; border-radius: 4px; font-size: 12px;">\n <option value="1" ${1===this.data.level?"selected":""}>H1 - Main Title</option>\n <option value="2" ${2===this.data.level?"selected":""}>H2 - Section</option>\n <option value="3" ${3===this.data.level?"selected":""}>H3 - Subsection</option>\n <option value="4" ${4===this.data.level?"selected":""}>H4 - Minor</option>\n </select>\n <span class="seo-hint" style="font-size: 11px; color: #64748b;"></span>\n </div>\n <textarea \n class="header-input" \n placeholder="Enter heading text..." \n rows="1"\n style="border: none; outline: none; font-weight: 600; background: transparent; padding: 4px 0; resize: none; overflow: hidden; width: 100%; font-family: inherit;"\n >${this.data.text||""}</textarea>\n </div>\n `;const t=e.querySelector(".header-input"),n=e.querySelector(".header-level"),i=e.querySelector(".seo-hint"),a=()=>{t.style.height="auto",t.style.height=(t.scrollHeight||47)+"px"},r=()=>{const e=parseInt(n.value),r=1===e?"32px":2===e?"24px":3===e?"18px":"16px";t.style.fontSize=r,a();i.textContent={1:"⚠️ Use only one H1 per page",2:"✅ Great for main sections",3:"📝 Perfect for subsections",4:"📄 For minor headings"}[e]||""};return n.addEventListener("change",r),t.addEventListener("input",a),r(),a(),this.wrapper=e,e}save(e){const t=e.querySelector(".header-input"),n=e.querySelector(".header-level");return{text:t.value,level:parseInt(n.value)}}static get sanitize(){return{text:{},level:!1}}}class Ste{constructor({data:e}={}){this.data=e||{}}static get toolbox(){return{title:"Link",icon:'<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg>'}}render(){const e=document.createElement("div");e.innerHTML=`\n <div style="border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px; display: grid; gap: 8px;">\n <input \n class="link-text" \n placeholder="Link text" \n value="${this.data.text||""}"\n style="padding: 8px; border: 1px solid #e5e7eb; border-radius: 4px;"\n />\n <input \n class="link-url" \n placeholder="https://example.com" \n value="${this.data.url||""}"\n style="padding: 8px; border: 1px solid #e5e7eb; border-radius: 4px;"\n />\n <div style="display: flex; gap: 8px; align-items: center;">\n <label style="display: flex; align-items: center; gap: 4px; font-size: 12px;">\n <input type="checkbox" class="link-target" ${"_blank"===this.data.target?"checked":""}>\n Open in new tab\n </label>\n </div>\n <div class="link-preview" style="padding: 8px; background: #f8fafc; border-radius: 4px; font-size: 12px; color: #64748b;">\n Preview: <span class="preview-text">Enter link details above</span>\n </div>\n </div>\n `;const t=e.querySelector(".link-text"),n=e.querySelector(".link-url");e.querySelector(".link-target");const i=e.querySelector(".preview-text"),a=()=>{const e=t.value||"Link text",a=n.value||"#";i.innerHTML=`<a href="${a}" style="color: #3b82f6; text-decoration: underline;">${e}</a>`};return t.addEventListener("input",a),n.addEventListener("input",a),a(),e}save(e){const t=e.querySelector(".link-text"),n=e.querySelector(".link-url"),i=e.querySelector(".link-target");return{text:t.value,url:n.value,target:i.checked?"_blank":"_self"}}validate(e){return e.text&&e.url}}class Nte{constructor({data:e}={}){this.data=e||{},this.wrapper=null}async fetchSEOData(e){var t,n,i,a,r,s,l,o;try{const d=`https://api.codetabs.com/v1/proxy?quest=${encodeURIComponent(e)}`,c=await fetch(d),u=await c.text(),p=(new DOMParser).parseFromString(u,"text/html"),A=(null==(t=p.querySelector('meta[property="og:title"]'))?void 0:t.content)||(null==(n=p.querySelector('meta[name="twitter:title"]'))?void 0:n.content)||(null==(i=p.querySelector("title"))?void 0:i.textContent)||new URL(e).hostname,h=(null==(a=p.querySelector('meta[property="og:description"]'))?void 0:a.content)||(null==(r=p.querySelector('meta[name="twitter:description"]'))?void 0:r.content)||(null==(s=p.querySelector('meta[name="description"]'))?void 0:s.content)||`Visit ${new URL(e).hostname}`,f=(null==(l=p.querySelector('meta[property="og:image"]'))?void 0:l.content)||(null==(o=p.querySelector('meta[name="twitter:image"]'))?void 0:o.content)||"";return{title:A.trim(),description:h.trim(),image:f,url:e}}catch(d){const t=new URL(e).hostname;return{title:t.replace("www.","").split(".")[0].toUpperCase(),description:`Visit ${t}`,image:`https://www.google.com/s2/favicons?domain=${t}&sz=64`,url:e}}}static get toolbox(){return{title:"Bookmark",icon:'<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"/></svg>',description:"Create link previews with title, description and image"}}async loadPublishedBlogs(e){var t;try{const n=null==sessionStorage?void 0:sessionStorage.getItem("auth"),i=iA("MobileNo"),a=await Ne.get("https://www.pozo.dev/pozo-common-api/Blog?request.published=Y",{headers:{Authorization:n,MobileNo:i}}),r=(null==(t=null==a?void 0:a.data)?void 0:t.data)||[];e.innerHTML='<option value="">📚 Select a blog post...</option>',r.forEach((t=>{const n=document.createElement("option");n.value=`https://www.pozo.dev/home/blog/${null==t?void 0:t.Slug}`||"#",n.dataset.title=(null==t?void 0:t.BlogTitle)||"Untitled",n.dataset.desc=(null==t?void 0:t.BlogSubtitle)||"No description",n.textContent=`📝 ${null==t?void 0:t.BlogTitle}`,e.appendChild(n)}))}catch(n){e.innerHTML='<option value="">⚠️ Failed to load blogs</option>'}}render(){const e=this.data.title&&this.data.url,t=document.createElement("div");if(e){t.innerHTML=`\n <div class="link-preview-card" style="border:1px solid #e5e7eb;border-radius:12px;background:white;cursor:pointer;transition:all 0.2s ease;box-shadow:0 2px 8px rgba(0,0,0,0.1)">\n <div style="display:flex;gap:16px;padding:16px">\n <div style="flex:1">\n <div style="font-weight:700;font-size:16px;color:#1f2937;margin-bottom:8px;line-height:1.3">${this.data.title}</div>\n <div style="font-size:14px;color:#64748b;margin-bottom:12px;line-height:1.5">${this.data.description}</div>\n <div style="font-size:12px;color:#3b82f6;display:flex;align-items:center;gap:4px">\n 🔗 ${this.data.url?new URL(this.data.url).hostname:""}\n </div>\n </div>\n ${this.data.image?`<div style="width:120px;height:90px;flex-shrink:0"><img src="${this.data.image}" style="width:100%;height:100%;object-fit:cover;border-radius:8px" /></div>`:""}\n </div>\n </div>`;t.querySelector(".link-preview-card").onclick=()=>window.open(this.data.url,"_blank")}else{t.innerHTML='\n <div style="border:1px solid #e5e7eb;background:#f8fafc;padding:12px;border-radius:8px;border-left:4px solid #3b82f6">\n <div style="display:grid;gap:8px">\n <div style="display:flex;gap:8px;margin-bottom:8px">\n <button class="tab-external" style="padding:6px 12px;border:1px solid #3b82f6;background:#3b82f6;color:white;border-radius:6px;font-size:12px;cursor:pointer">External Link</button>\n <button class="tab-internal" style="padding:6px 12px;border:1px solid #d1d5db;background:white;color:#64748b;border-radius:6px;font-size:12px;cursor:pointer">My Blog Posts</button>\n </div>\n\n <div class="external-form">\n <input class="b-url" style="font-size:12px;border:1px solid #d1d5db;border-radius:4px;padding:8px;outline:none;width:100%" placeholder="🔗 Paste URL here..." />\n </div>\n\n <div class="internal-form" style="display:none">\n <select class="blog-select" style="font-size:12px;border:1px solid #d1d5db;border-radius:4px;padding:8px;outline:none;width:100%;background:white;min-height:40px">\n <option value="">📚 Loading blogs...</option>\n </select>\n </div>\n\n <div class="preview-card" style="display:none;gap:12px;padding:12px;background:white;border-radius:8px;border:1px solid #e5e7eb">\n <div style="flex:1">\n <div class="preview-title" style="font-weight:600;margin-bottom:6px;color:#1f2937;font-size:14px"></div>\n <div class="preview-desc" style="font-size:12px;color:#64748b;margin-bottom:8px"></div>\n <div class="preview-url" style="font-size:11px;color:#3b82f6"></div>\n </div>\n <div style="width:80px;height:60px;background:#f3f4f6;border-radius:6px;overflow:hidden;flex-shrink:0">\n <img class="preview-img" style="width:100%;height:100%;object-fit:cover;display:none" />\n <div class="img-placeholder" style="display:flex;align-items:center;justify-content:center;height:100%;font-size:12px;color:#9ca3af">🌐</div>\n </div>\n </div>\n </div>\n </div>';const e=t.querySelector(".b-url"),n=t.querySelector(".preview-card"),i=t.querySelector(".tab-external"),a=t.querySelector(".tab-internal"),r=t.querySelector(".external-form"),s=t.querySelector(".internal-form"),l=t.querySelector(".blog-select");let o;this.loadPublishedBlogs(l),i.addEventListener("click",(()=>{i.style.background="#3b82f6",i.style.color="white",a.style.background="white",a.style.color="#64748b",r.style.display="block",s.style.display="none",n.style.display="none"})),a.addEventListener("click",(()=>{a.style.background="#3b82f6",a.style.color="white",i.style.background="white",i.style.color="#64748b",r.style.display="none",s.style.display="block",n.style.display="none"})),l.addEventListener("change",(async e=>{const n=e.target.selectedOptions[0];if(!n.value)return;const i=n.value,a=t.querySelector(".preview-card"),r=t.querySelector(".preview-title"),s=t.querySelector(".preview-desc"),l=t.querySelector(".preview-url"),o=t.querySelector(".preview-img"),d=t.querySelector(".img-placeholder");a.style.display="flex",r.textContent="Loading SEO data...",s.textContent="Please wait...",l.textContent=new URL(i).hostname;try{const e=await this.fetchSEOData(i);r.textContent=e.title,s.textContent=e.description,l.textContent=new URL(i).hostname,e.image?(o.src=e.image,o.style.display="block",d.style.display="none"):(o.style.display="none",d.style.display="flex"),a.onclick=()=>window.open(i,"_blank")}catch(c){r.textContent=n.dataset.title||"Unknown Title",s.textContent=n.dataset.desc||"No description available",o.style.display="none",d.style.display="flex"}})),e.addEventListener("input",(e=>{const i=e.target.value.trim();if(clearTimeout(o),i&&i.match(/^https?:\/\/.+/)){const e=new URL(i).hostname;n.style.display="flex",t.querySelector(".preview-title").textContent="Loading...",t.querySelector(".preview-desc").textContent="Fetching SEO data...",t.querySelector(".preview-url").textContent=e,o=setTimeout((async()=>{try{const a=await this.fetchSEOData(i);t.querySelector(".preview-title").textContent=a.title,t.querySelector(".preview-desc").textContent=a.description,t.querySelector(".preview-url").textContent=e;const r=t.querySelector(".preview-img"),s=t.querySelector(".img-placeholder");a.image&&(r.src=a.image,r.style.display="block",s.style.display="none"),n.onclick=()=>window.open(i,"_blank")}catch{t.querySelector(".preview-title").textContent="Failed to load SEO data",t.querySelector(".preview-desc").textContent=`Visit ${e}`}}),1500)}else n.style.display="none"}))}return this.wrapper=t,t}save(e){const t=e.querySelector(".b-url"),n=e.querySelector(".preview-title"),i=e.querySelector(".preview-desc"),a=e.querySelector(".preview-img");return{url:t?t.value:this.data.url||"",title:n?n.textContent:this.data.title||"",description:i?i.textContent:this.data.description||"",image:a?a.src:this.data.image||""}}}class Ite{static get isInline(){return!0}static get shortcut(){return"CMD+SHIFT+L"}static get sanitize(){return{a:{href:!0,target:"_blank",rel:"noopener noreferrer"}}}constructor({api:e}){this.api=e,this.button=null,this.state=!1}render(){return this.button=document.createElement("button"),this.button.type="button",this.button.innerHTML='<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg>',this.button.classList.add("ce-inline-tool"),this.button}surround(e){this.state?this.unwrap(e):this.wrap(e)}wrap(e){const t=e.extractContents(),n=prompt("Enter URL:","https://");if(n&&"https://"!==n){const i=document.createElement("a");i.href=n,i.target="_blank",i.rel="noopener noreferrer",i.appendChild(t),e.insertNode(i),this.api.selection.expandToTag(i)}else e.insertNode(t)}unwrap(e){const t=this.api.selection.findParentTag("A"),n=e.extractContents();t.remove(),e.insertNode(n)}checkState(){const e=this.api.selection.findParentTag("A");return this.state=!!e,this.state?this.button.classList.add("ce-inline-tool--active"):this.button.classList.remove("ce-inline-tool--active"),this.state}static get title(){return"Link"}}class Fte extends yte{render(){const e=super.render(),t=e=>{if(!e)return;e.controls=!0,e.setAttribute("controls",""),e.playsInline=!0,e.preload="metadata",e.style.width="100%",e.style.height="auto",e.crossOrigin="anonymous",e.addEventListener("canplay",(()=>{a()})),e.addEventListener("error",(()=>{a()}));const t=e.querySelector("source"),n=e.currentSrc||e.src||t&&t.src;if(t&&!t.type&&n){"mp4"===(n.split(".").pop()||"").split("?")[0].toLowerCase()&&(t.type="video/mp4")}!e.src&&t&&t.src&&(e.src=t.src),e.load()};let n=null;const i=()=>{if(n)return;n=document.createElement("div"),n.className="custom-video-skeleton",n.style.cssText="\n position:absolute;\n top:0;left:0;width:100%;height:100%;\n display:flex;align-items:center;justify-content:center;\n background:rgba(240,240,240,0.9);\n z-index:10;\n font-size:18px;\n color:#888;\n ",n.innerHTML='<div>\n <svg width="48" height="48" viewBox="0 0 50 50">\n <circle cx="25" cy="25" r="20" fill="none" stroke="#bbb" stroke-width="5" stroke-linecap="round" stroke-dasharray="31.4 31.4" transform="rotate(-90 25 25)">\n <animateTransform attributeName="transform" type="rotate" from="0 25 25" to="360 25 25" dur="1s" repeatCount="indefinite"/>\n </circle>\n </svg>\n <div>Loading video...</div>\n </div>';const t=e.querySelector(".video-tool__video > div");t&&(t.style.position="relative",t.appendChild(n))},a=()=>{n&&n.parentNode&&(n.parentNode.removeChild(n),n=null)},r=e.querySelector("video");r&&r.src?t(r):i();return new MutationObserver((()=>{const n=e.querySelector("video");n&&(n.src?(a(),t(n)):i())})).observe(e,{childList:!0,subtree:!0}),e}}const Bte=()=>{const e=a.useRef(null),{post:t,setField:n}=mte(),i=Mt(),{isEdit:r=!1}=(null==i?void 0:i.state)||{},s=a.useRef(!1),l=um(),o={class:Fte,config:{inlineToolbar:!0,player:{pip:!1},uploader:{async uploadByFile(e){var t;try{const n=await l(zy(e)).unwrap();if(null==(t=null==n?void 0:n.data)?void 0:t.image){if(n.data.image.startsWith("data:"))throw alert("Video upload returned a data URL. This will not work for large files. Please check your backend."),new Error("Video upload returned a data URL");return{success:1,file:{url:n.data.image}}}throw new Error("Invalid response")}catch(n){return{success:0,message:"Video upload failed"}}},uploadByUrl:e=>Promise.resolve({success:1,file:{url:e}})}}};return a.useEffect((()=>{let i;return(async()=>{var a;e.current||(i=new Ie({holder:"editorjs",tools:{link:Fe,inlineLink:Ite,header:Cte,paragraph:{class:Be,config:{placeholder:"Click the + button below to add content blocks (headings, images, paragraphs, etc.)..."},toolbox:{title:"Paragraph",icon:'<svg width="17" height="15" viewBox="0 0 336 276" xmlns="http://www.w3.org/2000/svg"><path d="M291 150V79c0-19-15-34-34-34H79c-19 0-34 15-34 34v42l67-44 81 72 103-32z"/></svg>'},inlineToolbar:["inlineLink","bold","italic"]},list:Pe,image:{class:ke,config:{uploader:{async uploadByFile(e){var t;try{const n=await l(zy(e)).unwrap();if(null==(t=null==n?void 0:n.data)?void 0:t.image)return{success:1,file:{url:n.data.image}};throw new Error("Invalid response from upload API")}catch(n){return{success:0,message:"Image upload failed"}}},uploadByUrl:e=>Promise.resolve({success:1,file:{url:e}})}}},quote:Te,code:Ee,embed:De,callout:xte,cta:bte,email:wte,separator:jte,bookmark:Nte,video:o,link:Ste},placeholder:"✨ Click the + button below to add content blocks (headings, images, paragraphs, etc.)...",data:r&&(null==(a=null==t?void 0:t.blocks)?void 0:a.length)>0?{blocks:t.blocks}:{},onChange:async()=>{const e=await i.save();n("blocks",null==e?void 0:e.blocks)}}),e.current=i)})(),()=>{e.current&&(e.current.destroy(),e.current=null)}}),[r,l]),a.useEffect((()=>{var n;r&&e.current&&(null==(n=null==t?void 0:t.blocks)?void 0:n.length)>0&&!s.current&&e.current.isReady.then((()=>{e.current.render({blocks:t.blocks}),s.current=!0}))}),[null==t?void 0:t.blocks,r]),Ye.jsx("div",{id:"editorjs",style:{minHeight:"400px",padding:"20px"}})},Pte=()=>{const{post:e,setField:t}=mte(),n=um(),[i,r]=a.useState(!1);return Ye.jsxs("div",{className:"editor-panel feature-image-picker",children:[Ye.jsxs("h3",{className:"panel-title",children:[Ye.jsx(qm,{})," Feature Image"]}),Ye.jsx("p",{className:"panel-instruction",children:"Upload a featured image for your post. Recommended size: 1200x630px for optimal social media sharing."}),e.featureImage&&Ye.jsx("div",{className:"image-preview",children:Ye.jsx("img",{src:e.featureImage,alt:"Feature",className:"preview-image"})}),Ye.jsxs("div",{className:"upload-section",children:[Ye.jsx("input",{type:"file",accept:"image/*",onChange:async e=>{var i,a,s;const l=null==(i=e.target.files)?void 0:i[0];if(l){r(!0);try{const e=await n(zy(l)).unwrap();(null==(a=null==e?void 0:e.data)?void 0:a.image)&&t("featureImage",null==(s=null==e?void 0:e.data)?void 0:s.image)}catch(o){alert("Image upload failed. Try again.")}finally{r(!1)}}},className:"file-input",disabled:i,id:"feature-image-input"}),Ye.jsx("label",{htmlFor:"feature-image-input",className:"upload-button "+(i?"loading":""),children:i?Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Tv,{className:"spinner"})," Uploading..."]}):Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(qm,{})," ",e.featureImage?"Change Image":"Upload Image"]})})]})]})},kte=()=>{const{post:e}=mte(),t=a.useMemo((()=>{const t=(e.blocks||[]).filter((e=>"header"===e.type)),n=t.filter((e=>{var t;return 1===(null==(t=e.data)?void 0:t.level)})).length,i=t.filter((e=>{var t;return 2===(null==(t=e.data)?void 0:t.level)})).length,a=t.filter((e=>{var t;return 3===(null==(t=e.data)?void 0:t.level)})).length,r=[],s=[];0===n?r.push({type:"error",text:"Missing H1 tag - Add one H1 for main topic"}):n>1?r.push({type:"warning",text:`${n} H1 tags found - Use only one H1 per page`}):s.push({type:"success",text:"Perfect H1 structure ✓"}),0===i?s.push({type:"info",text:"Consider adding H2 tags for better structure"}):i<3?s.push({type:"info",text:`${i} H2 tags - Consider adding more sections`}):s.push({type:"success",text:`Good H2 structure with ${i} sections ✓`});const l=(e.seoTitle||"").length;0===l?r.push({type:"error",text:"Missing SEO title"}):l<30?r.push({type:"warning",text:"SEO title too short (< 30 chars)"}):l>60?r.push({type:"warning",text:"SEO title too long (> 60 chars)"}):s.push({type:"success",text:"SEO title length is optimal ✓"});const o=(e.seoDescription||"").length;return 0===o?r.push({type:"error",text:"Missing meta description"}):o<120?r.push({type:"warning",text:"Meta description too short (< 120 chars)"}):o>160?r.push({type:"warning",text:"Meta description too long (> 160 chars)"}):s.push({type:"success",text:"Meta description length is optimal ✓"}),{issues:r,suggestions:s,headings:{h1Count:n,h2Count:i,h3Count:a}}}),[e]),n=e=>{switch(e){case"error":return"#ef4444";case"warning":return"#f59e0b";case"success":return"#10b981";case"info":return"#3b82f6";default:return"#64748b"}};return Ye.jsxs("div",{style:{border:"1px solid #e5e7eb",borderRadius:8,padding:12,display:"grid",gap:10},children:[Ye.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[Ye.jsx(Bv,{style:{color:"#3b82f6"}}),Ye.jsx("span",{style:{fontSize:14,fontWeight:600,color:"#3b82f6"},children:"SEO Analysis"}),Ye.jsxs("span",{style:{fontSize:12,color:"#518fd1ff"},children:["H1: ",t.headings.h1Count," | H2: ",t.headings.h2Count," | H3: ",t.headings.h3Count]})]}),Ye.jsxs("div",{style:{display:"grid",gap:6},children:[t.issues.map(((e,t)=>Ye.jsxs("div",{style:{fontSize:12,color:n(e.type),display:"flex",alignItems:"center",gap:4},children:[Ye.jsx("span",{style:{width:6,height:6,borderRadius:"50%",background:n(e.type)}}),e.text]},t))),t.suggestions.map(((e,t)=>Ye.jsxs("div",{style:{fontSize:12,color:n(e.type),display:"flex",alignItems:"center",gap:4},children:[Ye.jsx("span",{style:{width:6,height:6,borderRadius:"50%",background:n(e.type)}}),e.text]},t)))]}),Ye.jsxs("div",{style:{fontSize:11,color:"#64748b",marginTop:4},children:[Ye.jsx(yv,{style:{marginRight:4}})," Use H1 for main title, H2 for sections, H3 for subsections"]})]})},Tte=({show:e,onClose:t})=>{const{post:n}=mte(),[i,r]=a.useState("desktop");if(!e)return null;return Ye.jsx("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,background:"rgba(0,0,0,0.8)",zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center",padding:"20px"},children:Ye.jsxs("div",{style:{background:"#fff",borderRadius:"16px",width:"95vw",maxWidth:"1200px",height:"90vh",display:"flex",flexDirection:"column",boxShadow:"0 25px 50px rgba(0,0,0,0.25)"},children:[Ye.jsxs("div",{style:{padding:"20px 24px",borderBottom:"1px solid #e5e7eb",display:"flex",justifyContent:"space-between",alignItems:"center",background:"linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%)",borderRadius:"16px 16px 0 0"},children:[Ye.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"16px"},children:[Ye.jsxs("h2",{style:{margin:0,fontSize:"20px",fontWeight:700,color:"#1f2937",fontFamily:"Poppins, sans-serif"},children:[Ye.jsx(Cv,{style:{marginRight:"8px"}}),"Preview"]}),Ye.jsx("div",{style:{display:"flex",gap:"8px"},children:["mobile","tablet","desktop"].map((e=>Ye.jsxs("button",{onClick:()=>r(e),style:{padding:"6px 12px",borderRadius:"6px",border:"none",background:i===e?"#3b82f6":"#e5e7eb",color:i===e?"white":"#64748b",fontSize:"12px",fontWeight:500,cursor:"pointer",fontFamily:"Poppins, sans-serif"},children:["mobile"===e?Ye.jsx(Cv,{}):"tablet"===e?Ye.jsx(Dv,{}):Ye.jsx(dv,{})," ",e]},e)))})]}),Ye.jsx("button",{onClick:t,style:{background:"#ef4444",border:"none",borderRadius:"8px",color:"white",width:"32px",height:"32px",cursor:"pointer",fontSize:"18px",fontWeight:"bold",fontFamily:"Poppins, sans-serif"},children:"×"})]}),Ye.jsx("div",{style:{flex:1,overflow:"auto",padding:"24px",display:"flex",justifyContent:"center",minHeight:0},children:Ye.jsxs("div",{style:{width:(()=>{switch(i){case"mobile":return"375px";case"tablet":return"768px";default:return"100%"}})(),maxWidth:"100%",minWidth:"mobile"===i?"375px":"auto",background:"#fff",borderRadius:"12px",boxShadow:"desktop"!==i?"0 8px 24px rgba(0,0,0,0.12)":"none",border:"desktop"!==i?"1px solid #e5e7eb":"none",padding:"desktop"!==i?"24px":"0",height:"fit-content",overflow:"visible"},children:[Ye.jsxs("div",{style:{marginBottom:"2em"},children:[Ye.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px",marginBottom:"1em"},children:[Ye.jsx("div",{style:{padding:"4px 12px",background:"PUBLISHED"===n.status?"#dcfce7":"#fef3c7",color:"PUBLISHED"===n.status?"#166534":"#92400e",borderRadius:"20px",fontSize:"12px",fontWeight:600,fontFamily:"Poppins, sans-serif"},children:n.status}),Ye.jsx("div",{style:{fontSize:"14px",color:"#6b7280",fontFamily:"Poppins, sans-serif"},children:(new Date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})})]}),Ye.jsx("h1",{style:{margin:"0 0 1em 0",fontSize:"mobile"===i?"28px":"32px",fontWeight:600,lineHeight:1.3,color:"#1f2937",fontFamily:"Poppins, sans-serif"},children:n.title||"Untitled Post"}),n.seoDescription&&Ye.jsx("p",{style:{fontSize:"18px",color:"#6b7280",lineHeight:1.6,margin:"0 0 1.5em 0",fontStyle:"italic",fontFamily:"Poppins, sans-serif"},children:n.seoDescription})]}),n.featureImage&&Ye.jsx("div",{style:{marginBottom:"2em"},children:Ye.jsx("img",{src:n.featureImage,alt:"Feature",style:{width:"100%",height:"mobile"===i?"200px":"300px",objectFit:"cover",borderRadius:"12px",boxShadow:"0 8px 24px rgba(0,0,0,0.12)"}})}),Ye.jsx("div",{style:{fontSize:"16px",lineHeight:1.6,wordWrap:"break-word",overflowWrap:"break-word",fontFamily:"Poppins, sans-serif"},children:n.blocks?n.blocks.map(((e,t)=>{var n,i;switch(e.type){case"header":const a=`h${e.data.level}`,r={1:{fontSize:"32px",fontWeight:600,margin:"1.5em 0 0.8em 0",color:"#1f2937",lineHeight:1.3,fontFamily:"Poppins, sans-serif"},2:{fontSize:"24px",fontWeight:500,margin:"1.2em 0 0.6em 0",color:"#374151",lineHeight:1.4,fontFamily:"Poppins, sans-serif"},3:{fontSize:"20px",fontWeight:500,margin:"1em 0 0.5em 0",color:"#4b5563",lineHeight:1.4,fontFamily:"Poppins, sans-serif"},4:{fontSize:"18px",fontWeight:500,margin:"1em 0 0.5em 0",color:"#6b7280",lineHeight:1.4,fontFamily:"Poppins, sans-serif"}};return Ye.jsx(a,{style:r[e.data.level],children:e.data.text},t);case"link":return Ye.jsx("a",{href:e.data.url,target:e.data.target||"_self",style:{color:"#3b82f6",textDecoration:"underline",fontFamily:"Poppins, sans-serif",fontSize:"16px",display:"inline-block",margin:"0.5em 0"},children:e.data.text},t);case"paragraph":return Ye.jsx("p",{style:{margin:"0 0 1em 0",lineHeight:1.6,color:"#374151",fontSize:"16px",fontWeight:400,fontFamily:"Poppins, sans-serif"},dangerouslySetInnerHTML:{__html:e.data.text}},t);case"list":{const n=e.data||{},i=n.style||"unordered",a=Array.isArray(n.items)?n.items:[];if("checklist"===i)return Ye.jsx("ul",{style:{listStyle:"none",paddingLeft:0},children:a.map(((e,t)=>{var n;return Ye.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:"0.5em",color:"#374151",fontFamily:"Poppins, sans-serif"},children:[Ye.jsx("input",{type:"checkbox",checked:(null==(n=e.meta)?void 0:n.checked)||!1,readOnly:!0,style:{marginRight:"8px"}}),Ye.jsx("span",{style:{fontFamily:"Poppins, sans-serif"},children:e.content})]},t)}))},t);const r="ordered"===i?"ol":"ul";return Ye.jsx(r,{style:{margin:"0 0 1.2em 0",paddingLeft:"1.5em",lineHeight:1.6},children:a.map(((e,t)=>Ye.jsx("li",{style:{marginBottom:"0.5em",color:"#374151",fontFamily:"Poppins, sans-serif"},children:e.content},t)))},t)}case"quote":return Ye.jsx("blockquote",{style:{margin:"1.5em 0",padding:"1.5em 2em",borderLeft:"4px solid #3b82f6",background:"linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%)",fontStyle:"italic",borderRadius:"0 8px 8px 0",fontSize:"18px",boxShadow:"0 2px 8px rgba(0,0,0,0.1)"},children:Ye.jsx("div",{style:{color:"#1e40af",fontWeight:500,fontFamily:"Poppins, sans-serif"},children:e.data.text})},t);case"code":return Ye.jsx("pre",{style:{background:"linear-gradient(135deg, #1f2937 0%, #111827 100%)",color:"#f9fafb",padding:"1.5em",borderRadius:"12px",overflow:"auto",margin:"1.5em 0",fontSize:"14px",boxShadow:"0 4px 12px rgba(0,0,0,0.15)",border:"1px solid #374151"},children:Ye.jsx("code",{style:{fontFamily:"Poppins, monospace"},children:e.data.code})},t);case"image":return Ye.jsxs("div",{style:{margin:"2em 0",textAlign:"center"},children:[Ye.jsx("img",{src:(null==(n=e.data.file)?void 0:n.url)||e.data.url,alt:e.data.caption||"Image",style:{maxWidth:"100%",width:"100%",height:"auto",borderRadius:"12px",boxShadow:"0 8px 24px rgba(0,0,0,0.12)",display:"block"},onError:e=>{e.target.style.display="none",e.target.nextSibling&&(e.target.nextSibling.textContent="Image failed to load")}}),e.data.caption&&Ye.jsx("p",{style:{fontSize:"14px",color:"#6b7280",marginTop:"0.5em",fontStyle:"italic",fontFamily:"Poppins, sans-serif"},children:e.data.caption})]},t);case"callout":return Ye.jsxs("div",{style:{background:"linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%)",border:"1px solid #fb923c",borderRadius:"12px",padding:"1.5em",margin:"1.5em 0",display:"flex",alignItems:"flex-start",gap:"12px"},children:[Ye.jsx("span",{style:{fontSize:"24px"},children:Ye.jsx(yv,{})}),Ye.jsx("div",{style:{flex:1,color:"#9a3412",fontWeight:500,fontFamily:"Poppins, sans-serif"},children:e.data.text})]},t);case"cta":return Ye.jsxs("div",{style:{background:"linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%)",border:"2px solid #3b82f6",borderRadius:"16px",padding:"2em",margin:"2em 0",textAlign:"center"},children:[Ye.jsx("h3",{style:{margin:"0 0 0.5em 0",color:"#1e40af",fontSize:"24px",fontFamily:"Poppins, sans-serif"},children:e.data.heading}),Ye.jsx("p",{style:{margin:"0 0 1.5em 0",color:"#3730a3",fontSize:"16px",fontFamily:"Poppins, sans-serif"},children:e.data.subheading}),Ye.jsx("a",{href:e.data.buttonUrl,style:{display:"inline-block",padding:"12px 24px",background:"#3b82f6",color:"white",textDecoration:"none",borderRadius:"8px",fontWeight:600,fontSize:"16px",fontFamily:"Poppins, sans-serif"},children:e.data.buttonText})]},t);case"bookmark":return Ye.jsx("div",{style:{margin:"1.5em 0"},children:Ye.jsx("a",{href:e.data.url,target:"_blank",rel:"noopener noreferrer",style:{display:"block",textDecoration:"none",border:"1px solid #e5e7eb",borderRadius:"12px",background:"white",cursor:"pointer",transition:"all 0.2s ease",boxShadow:"0 2px 8px rgba(0,0,0,0.1)"},children:Ye.jsxs("div",{style:{display:"flex",gap:"16px",padding:"16px"},children:[Ye.jsxs("div",{style:{flex:1},children:[Ye.jsx("div",{style:{fontWeight:700,fontSize:"16px",color:"#1f2937",marginBottom:"8px",lineHeight:1.3,fontFamily:"Poppins, sans-serif"},children:e.data.title}),Ye.jsx("div",{style:{fontSize:"14px",color:"#64748b",marginBottom:"12px",lineHeight:1.5,fontFamily:"Poppins, sans-serif"},children:e.data.description}),Ye.jsxs("div",{style:{fontSize:"12px",color:"#3b82f6",display:"flex",alignItems:"center",gap:"4px",fontFamily:"Poppins, sans-serif"},children:[Ye.jsx(xv,{style:{marginRight:"4px"}})," ",e.data.url?new URL(e.data.url).hostname:""]})]}),e.data.image&&Ye.jsx("div",{style:{width:"120px",height:"90px",flexShrink:0},children:Ye.jsx("img",{src:e.data.image,alt:e.data.title,style:{width:"100%",height:"100%",objectFit:"cover",borderRadius:"8px"},onError:e=>{e.target.style.display="none"}})})]})})},t);case"video":const s=(null==(i=e.data.file)?void 0:i.url)||e.data.url;return Ye.jsxs("div",{style:{margin:"2em 0",textAlign:"center"},children:[Ye.jsx("div",{style:{position:"relative",paddingBottom:"56.25%",height:0,borderRadius:"12px",overflow:"hidden",boxShadow:"0 8px 24px rgba(0,0,0,0.12)"},children:Ye.jsx("video",{src:s,controls:!0,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",borderRadius:"12px"}})}),e.data.caption&&Ye.jsx("p",{style:{fontSize:"14px",color:"#6b7280",marginTop:"0.5em",fontStyle:"italic",fontFamily:"Poppins, sans-serif"},children:e.data.caption})]},t);case"index":const l=e.data.items||[],o="numbered"===e.data.style?"ol":"ul";return Ye.jsxs("div",{style:{border:"1px solid #e5e7eb",background:"#fefefe",padding:"16px",borderRadius:"8px",borderLeft:"4px solid #059669",margin:"1.5em 0",position:"sticky",top:"20px",zIndex:10},children:[Ye.jsxs("h4",{style:{margin:"0 0 12px 0",fontSize:"16px",fontWeight:600,fontFamily:"Poppins, sans-serif"},children:[Ye.jsx(bv,{style:{marginRight:"8px"}}),"Table of Contents"]}),Ye.jsx(o,{style:{margin:0,paddingLeft:"numbered"===e.data.style?"1.5em":"1em",listStyle:"numbered"===e.data.style?"decimal":"disc"},children:l.map(((e,t)=>Ye.jsx("li",{style:{padding:"4px 0",fontSize:"14px",fontFamily:"Poppins, sans-serif"},children:Ye.jsx("a",{href:`#${e.anchor}`,style:{color:"#3b82f6",textDecoration:"none",borderBottom:"1px solid transparent",transition:"all 0.2s ease"},onMouseEnter:e=>e.target.style.borderBottomColor="#3b82f6",onMouseLeave:e=>e.target.style.borderBottomColor="transparent",children:e.title})},t)))})]},t);default:return null}})):Ye.jsxs("div",{style:{textAlign:"center",padding:"3em 0",color:"#64748b",fontFamily:"Poppins, sans-serif"},children:[Ye.jsx("div",{style:{fontSize:"48px",marginBottom:"1em"},children:Ye.jsx(cv,{})}),Ye.jsx("p",{style:{fontFamily:"Poppins, sans-serif"},children:"No content to preview yet"}),Ye.jsx("p",{style:{fontSize:"14px",fontFamily:"Poppins, sans-serif"},children:"Start adding content blocks to see your preview"})]})})]})})]})})},Ete=e=>e?null==e?void 0:e.reduce(((e,t)=>{if(t.data&&t.data.text){return e+t.data.text.replace(/<[^>]*>/g,"").split(/\s+/).filter((e=>e.length>0)).length}return e}),0):0,Dte=e=>Math.ceil(e/200),Lte=()=>{const{post:e}=mte(),t=a.useMemo((()=>{const t=e.blocks||[],n=Ete(e.blocks),i=t.reduce(((e,t)=>{var n;return(null==(n=t.data)?void 0:n.text)?e+t.data.text.length:e}),0),a=t.filter((e=>"header"===e.type)),r=t.filter((e=>"paragraph"===e.type)),s=t.filter((e=>"image"===e.type)),l=t.filter((e=>"list"===e.type));return{words:n,characters:i,charactersNoSpaces:i-(e.title||"").split(" ").length+1,readingTime:Dte(n),blocks:t.length,headings:a.length,paragraphs:r.length,images:s.length,lists:l.length}}),[e]),n=[{label:"Words",value:t.words,icon:Ye.jsx(Sv,{}),color:"#3b82f6"},{label:"Characters",value:t.characters,icon:Ye.jsx(hv,{}),color:"#8b5cf6"},{label:"Reading Time",value:`${t.readingTime} min`,icon:Ye.jsx(iv,{}),color:"#10b981"},{label:"Blocks",value:t.blocks,icon:Ye.jsx(ov,{}),color:"#f59e0b"},{label:"Headings",value:t.headings,icon:Ye.jsx(mv,{}),color:"#ef4444"},{label:"Paragraphs",value:t.paragraphs,icon:Ye.jsx(pv,{}),color:"#06b6d4"},{label:"Images",value:t.images,icon:Ye.jsx(gv,{}),color:"#84cc16"},{label:"Lists",value:t.lists,icon:Ye.jsx(bv,{}),color:"#f97316"}];return Ye.jsxs("div",{style:{border:"1px solid #e5e7eb",borderRadius:8,padding:12},children:[Ye.jsxs("div",{style:{fontSize:14,fontWeight:400,marginBottom:12,color:"#007bff",display:"flex",alignItems:"center",gap:6},children:[Ye.jsx(Km,{style:{color:"#3b82f6",fontSize:"14px"}})," Content Metrics"]}),Ye.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:8},children:n.map(((e,t)=>Ye.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,padding:"6px 8px",background:"#f8fafc",borderRadius:4},children:[Ye.jsx("span",{style:{fontSize:12,color:e.color},children:e.icon}),Ye.jsxs("div",{style:{flex:1},children:[Ye.jsx("div",{style:{fontSize:11,color:"#64748b"},children:e.label}),Ye.jsx("div",{style:{fontSize:13,fontWeight:600,color:"#1f2937"},children:e.value})]})]},t)))})]})},Ute=({label:e,value:t,onChange:n,max:i,multiline:r,fieldType:s})=>{const{post:l}=mte(),o=(t||"").length,d=o>i?"#ef4444":o>.9*i?"#d97706":"#64748b",c=a.useMemo((()=>{const e=l.title||"",t=l.blocks||[];if(!e&&0===t.length)return[];const n=t.filter((e=>"header"===e.type)).map((e=>{var t;return(null==(t=e.data)?void 0:t.text)||""})),i=t.filter((e=>"paragraph"===e.type)).map((e=>{var t;return(null==(t=e.data)?void 0:t.text)||""})),a=[...n,...i].join(" "),r=i.find((e=>e.length>20))||i[0]||"",o=r.slice(0,100),d=(e+" "+a).toLowerCase().split(/\s+/).filter((e=>e.length>3&&!["this","that","with","from","they","have","been","will","your","what","when","where","there","their","these","those"].includes(e))),c={};d.forEach((e=>{c[e]=(c[e]||0)+1}));const u=Object.entries(c).sort((([,e],[,t])=>t-e)).slice(0,5).map((([e])=>e)),p=n.slice(0,3);switch(s){case"seoTitle":if(!e&&0===p.length)return[];const t=e||p[0]||"";return[t,p.length>1?`${t}: ${p[1]}`:`${t} - Complete Guide`,u.length>0?`${t} ${u[0]} Guide`:`How to ${t}`,o?`${t} - ${o.split(" ").slice(0,4).join(" ")}`:`${t} Tips & Tricks`].filter((e=>e.length<=60&&e.trim())).slice(0,4);case"seoDescription":if(!o&&!e)return[];return[o?`${o}... Learn more about ${e||"this topic"}.`:`Discover ${e} with our guide.`,r?`${r.slice(0,120)}...`:`Complete guide to ${e}. Tips, examples, and best practices.`,p.length>0?`Learn about ${p.join(", ")}. ${o.slice(0,80)}...`:`${e} explained with practical examples and actionable advice.`].filter((e=>e.length<=160&&e.trim())).slice(0,3);case"focusKeyword":return u.slice(0,3);default:return[]}}),[l.title,l.blocks,s]);return Ye.jsxs("div",{style:{display:"grid",gap:6},children:[Ye.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[Ye.jsx("label",{style:{fontSize:14,color:"#007bff",fontFamily:"Poppins"},children:e}),Ye.jsxs("span",{style:{fontSize:12,color:d},children:[o,"/",i]})]}),r?Ye.jsx("textarea",{rows:3,value:t||"",onChange:e=>n(e.target.value),style:{padding:8,border:"1px solid #e5e7eb",borderRadius:6}}):Ye.jsx("input",{value:t||"",onChange:e=>n(e.target.value),style:{padding:8,border:"1px solid #e5e7eb",borderRadius:6,fontFamily:"Poppins"}}),c.length>0&&Ye.jsxs("div",{style:{display:"grid",gap:4},children:[Ye.jsxs("div",{style:{fontSize:10,color:"#64748b",fontWeight:500,display:"flex",alignItems:"center",gap:4,fontFamily:"Poppins"},children:[Ye.jsx(yv,{size:12,color:"#d1b200ff"})," Suggestions:"]}),"focusKeyword"===s?Ye.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:4,fontFamily:"Poppins"},children:c.map(((e,t)=>Ye.jsx("button",{onClick:()=>n(e),style:{padding:"2px 6px",background:"#eff6ff",border:"1px solid #3b82f6",borderRadius:8,fontSize:10,cursor:"pointer",color:"#1e40af",fontFamily:"Poppins"},onMouseOver:e=>e.target.style.background="#dbeafe",onMouseOut:e=>e.target.style.background="#eff6ff",children:e},t)))}):c.slice(0,3).map(((e,t)=>Ye.jsx("button",{onClick:()=>n(e),style:{display:"block",width:"100%",textAlign:"left",padding:"4px 6px",background:"#f8fafc",border:"1px solid #e5e7eb",borderRadius:4,fontSize:10,cursor:"pointer",color:"#374151",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontFamily:"Poppins"},onMouseOver:e=>e.target.style.background="#eff6ff",onMouseOut:e=>e.target.style.background="#f8fafc",title:e,children:e},t)))]})]})},_te=()=>{const{post:e,setField:t}=mte();return a.useState(!1),Ye.jsxs("div",{style:{border:"1px solid #e5e7eb",borderRadius:8,padding:12},children:[Ye.jsxs("div",{style:{fontSize:14,fontWeight:400,marginBottom:12,color:"#007bff",display:"flex"},children:[Ye.jsx(En,{size:16,style:{marginRight:6,marginTop:2}})," Publishing"]}),Ye.jsxs("div",{style:{display:"grid",gap:10},children:[Ye.jsxs("div",{children:[Ye.jsx("label",{style:{fontSize:12,color:"#64748b",display:"block",marginBottom:4},children:"Publish Date"}),Ye.jsx("input",{type:"datetime-local",value:e.publishDate||"",onChange:e=>t("publishDate",e.target.value),min:(new Date).toISOString().slice(0,16),style:{width:"100%",padding:6,border:"1px solid #e5e7eb",borderRadius:4,fontSize:12}})]}),Ye.jsxs("div",{children:[Ye.jsx("label",{style:{fontSize:12,color:"#64748b",display:"block",marginBottom:4},children:"Category"}),Ye.jsxs("select",{value:e.category||"",onChange:e=>t("category",e.target.value),style:{width:"100%",padding:6,border:"1px solid #e5e7eb",borderRadius:4,fontSize:12},children:[Ye.jsx("option",{value:"",children:"Select Category"}),Ye.jsx("option",{value:"technology",children:"Technology"}),Ye.jsx("option",{value:"business",children:"Business"}),Ye.jsx("option",{value:"lifestyle",children:"Lifestyle"}),Ye.jsx("option",{value:"health",children:"Health"}),Ye.jsx("option",{value:"education",children:"Education"})]})]}),Ye.jsxs("div",{children:[Ye.jsx("label",{style:{fontSize:12,color:"#64748b",display:"block",marginBottom:4},children:"Author"}),Ye.jsx("input",{value:e.author||"",onChange:e=>t("author",e.target.value),placeholder:"Author name",style:{width:"100%",padding:6,border:"1px solid #e5e7eb",borderRadius:4,fontSize:12}})]}),Ye.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,marginTop:8},children:[Ye.jsx("input",{type:"checkbox",id:"popular",checked:e.popular||!1,onChange:e=>t("popular",e.target.checked)}),Ye.jsxs("label",{htmlFor:"popular",style:{fontSize:12,color:"#374151"},children:[Ye.jsx(fi,{size:16,color:"#eeca00ff",style:{marginRight:4}})," Featured Post"]})]}),Ye.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[Ye.jsx("input",{type:"checkbox",id:"comments",checked:!1!==e.allowComments,onChange:e=>t("allowComments",e.target.checked)}),Ye.jsxs("label",{htmlFor:"comments",style:{fontSize:12,color:"#374151",display:"flex"},children:[Ye.jsx(Vn,{color:"#0f56dbff",size:16,style:{marginRight:4}})," Allow Comments"]})]})]})]})},Ote=()=>{const{post:e}=mte(),t=a.useMemo((()=>{const t=(e.blocks||[]).filter((e=>"paragraph"===e.type)).map((e=>{var t;return(null==(t=e.data)?void 0:t.text)||""})),n=t.join(" ").split(/[.!?]+/).filter((e=>e.trim().length>0)),i=n.length>0?n.reduce(((e,t)=>e+t.trim().split(/\s+/).length),0)/n.length:0,a=n.filter((e=>e.trim().split(/\s+/).length>20)).length,r=t.filter((e=>e.split(/\s+/).length<50)).length,s=Math.max(0,Math.min(100,100-2*i-5*a+2*r));return{score:Math.round(s),avgWordsPerSentence:Math.round(i),longSentences:a,shortParagraphs:r,totalSentences:n.length,totalParagraphs:t.length}}),[e.blocks]),n=e=>e>=80?"#10b981":e>=60?"#f59e0b":"#ef4444";return Ye.jsxs("div",{style:{border:"1px solid #e5e7eb",borderRadius:8,padding:12},children:[Ye.jsxs("div",{style:{fontSize:14,fontWeight:400,marginBottom:12,color:"#007bff"},children:[Ye.jsx(Vm,{style:{marginRight:6}})," Readability Analysis"]}),Ye.jsxs("div",{style:{display:"grid",gap:8},children:[Ye.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"8px 12px",background:"#f8fafc",borderRadius:6},children:[Ye.jsx("span",{style:{fontSize:12,fontWeight:500},children:"Readability Score"}),Ye.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6},children:[Ye.jsx("span",{style:{fontSize:16,fontWeight:700,color:n(t.score)},children:t.score}),Ye.jsx("span",{style:{fontSize:10,color:n(t.score)},children:(i=t.score,i>=80?"Excellent":i>=60?"Good":i>=40?"Fair":"Needs Work")})]})]}),Ye.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:6,fontSize:11},children:[Ye.jsxs("div",{style:{padding:"6px 8px",background:"#f1f5f9",borderRadius:4},children:[Ye.jsx("div",{style:{color:"#64748b"},children:"Avg Words/Sentence"}),Ye.jsx("div",{style:{fontWeight:600,color:"#1f2937"},children:t.avgWordsPerSentence})]}),Ye.jsxs("div",{style:{padding:"6px 8px",background:"#f1f5f9",borderRadius:4},children:[Ye.jsx("div",{style:{color:"#64748b"},children:"Long Sentences"}),Ye.jsx("div",{style:{fontWeight:600,color:"#1f2937"},children:t.longSentences})]}),Ye.jsxs("div",{style:{padding:"6px 8px",background:"#f1f5f9",borderRadius:4},children:[Ye.jsx("div",{style:{color:"#64748b"},children:"Total Sentences"}),Ye.jsx("div",{style:{fontWeight:600,color:"#1f2937"},children:t.totalSentences})]}),Ye.jsxs("div",{style:{padding:"6px 8px",background:"#f1f5f9",borderRadius:4},children:[Ye.jsx("div",{style:{color:"#64748b"},children:"Paragraphs"}),Ye.jsx("div",{style:{fontWeight:600,color:"#1f2937"},children:t.totalParagraphs})]})]}),Ye.jsxs("div",{style:{fontSize:10,color:"#64748b",fontStyle:"italic",marginTop:4,display:"flex"},children:[Ye.jsx(yv,{color:"#eeca00",size:14,style:{marginRight:4}})," Aim for 15-20 words per sentence for better readability"]})]})]});var i},Mte=()=>{const{post:e}=mte(),[t,n]=a.useState([]),[i,r]=a.useState(!1);a.useState(null);const[s,l]=a.useState(""),[o,d]=a.useState(!1);a.useEffect((()=>{if(e.blocks&&Array.isArray(e.blocks)){const t=[];e.blocks.forEach(((e,n)=>{if("header"===e.type){const i=e.data.level||1,a=e.data.text||`Header ${n+1}`,r=`header-${n}`;t.push({type:"header",text:a.replace(/<[^>]*>/g,""),level:i,id:r,index:n})}if("bookmark"===e.type){const i=e.data.title||"Untitled Bookmark",a=e.data.description||"",r=e.data.url||"",s=`bookmark-${n}`;t.push({type:"bookmark",text:i,description:a,url:r,preview:a.length>30?a.substring(0,30)+"...":a,id:s,index:n})}})),n(t)}}),[e.blocks]);return 0===t.length?null:Ye.jsxs("div",{className:"outline-panel "+(i?"outline-panel--collapsed":"outline-panel--expanded"),children:[Ye.jsx("div",{className:"outline-header",children:i?Ye.jsx(F,{title:"Indexing",placement:"left",children:Ye.jsx("button",{onClick:()=>r(!1),className:"outline-btn outline-btn--expand",children:Ye.jsx($D,{size:16})})}):Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"outline-header__content",children:[Ye.jsxs("div",{className:"outline-header__title",children:[Ye.jsx($D,{size:14})," Smart Outline",Ye.jsx("span",{className:"outline-header__badge",children:t.length})]}),Ye.jsxs("div",{className:"outline-header__actions",children:[Ye.jsx("button",{onClick:()=>d(!o),className:"outline-btn outline-btn--search "+(o?"active":""),children:Ye.jsx(KD,{size:12})}),Ye.jsx("button",{onClick:()=>r(!0),className:"outline-btn outline-btn--collapse",children:Ye.jsx(HD,{size:14})})]})]}),o&&Ye.jsx("input",{type:"text",placeholder:"Search outline...",value:s,onChange:e=>l(e.target.value),className:"outline-search"})]})}),!i&&Ye.jsxs("div",{className:"outline-content",children:[Ye.jsxs("div",{className:"outline-stats",children:[Ye.jsxs("span",{className:"outline-stats__item",children:[Ye.jsx(QD,{size:11})," ",t.filter((e=>"header"===e.type)).length]}),Ye.jsxs("span",{className:"outline-stats__item",children:[Ye.jsx(RD,{size:11})," ",t.filter((e=>"bookmark"===e.type)).length]}),Ye.jsxs("span",{className:"outline-stats__item",children:[Ye.jsx(VD,{size:11})," ~",Math.max(1,Math.ceil(t.length/3)),"min"]})]}),Ye.jsx("div",{className:"outline-list",children:t.filter((e=>e.text.toLowerCase().includes(s.toLowerCase())||e.description&&e.description.toLowerCase().includes(s.toLowerCase())||e.url&&e.url.toLowerCase().includes(s.toLowerCase()))).map(((e,t)=>Ye.jsxs("button",{onClick:()=>(e=>{const t=document.querySelectorAll("#editorjs .ce-block");t[e]&&(t[e].scrollIntoView({behavior:"smooth",block:"center"}),t[e].style.background="rgba(59, 130, 246, 0.1)",t[e].style.borderRadius="8px",t[e].style.transition="all 0.3s ease",setTimeout((()=>{t[e].style.background="",t[e].style.borderRadius=""}),1500))})(e.index),className:`outline-item outline-item--${e.type} ${"header"===e.type?`level-${e.level}`:""}`,children:[Ye.jsx("span",{className:"outline-item__icon",children:"header"===e.type?1===e.level?Ye.jsx(zD,{size:14}):2===e.level?Ye.jsx(YD,{size:14}):Ye.jsx($D,{size:14}):Ye.jsx(qD,{size:14})}),Ye.jsxs("div",{className:"outline-item__content",children:[Ye.jsx("span",{className:"outline-item__text",children:e.text}),"bookmark"===e.type&&e.description&&Ye.jsx("span",{className:"outline-item__description",children:e.preview||e.description}),"bookmark"===e.type&&e.url&&Ye.jsx("span",{className:"outline-item__url",children:e.url.length>40?e.url.substring(0,40)+"...":e.url})]}),"header"===e.type&&Ye.jsxs("span",{className:"outline-item__level",children:["H",e.level]})]},t)))})]})]})};function Rte(e){const t=Qt(),[n,i]=a.useState(!1),[r,s]=a.useState(!1),[o,d]=a.useState(null);!function(e,t){let{capture:n}=t||{};a.useEffect((()=>{let t=null!=n?{capture:n}:void 0;return window.addEventListener("beforeunload",e,t),()=>{window.removeEventListener("beforeunload",e,t)}}),[e,n])}(l.useCallback((t=>{if(e&&!r)return t.preventDefault(),t.returnValue="You have unsaved changes. Are you sure you want to leave?"}),[e,r])),a.useEffect((()=>{if(!e||r)return;const t=e=>{e.preventDefault(),e.stopImmediatePropagation(),window.history.pushState(null,"",window.location.pathname),d({action:"POP",path:-1}),i(!0)};return window.history.pushState(null,"",window.location.pathname),window.addEventListener("popstate",t),()=>{window.removeEventListener("popstate",t)}}),[e,r]);return{showPrompt:n,handleConfirm:()=>{i(!1),s(!0),o&&("POP"===o.action?setTimeout((()=>{window.history.back()}),50):"PUSH"===o.action&&setTimeout((()=>{t(o.path)}),50)),setTimeout((()=>{s(!1),d(null)}),200)},handleCancel:()=>{i(!1),d(null),window.history.pushState(null,"",window.location.pathname)},blockNavigation:t=>!(!e||r)&&(d({action:"PUSH",path:t}),i(!0),!0)}}const Qte={primary:"#2563eb",primaryHover:"#1d4ed8",success:"#059669",successHover:"#047857",danger:"#dc2626",dangerHover:"#b91c1c",warning:"#d97706",gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"}},Hte={sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"};function Vte({show:e,msg:t}){return e?Ye.jsx("div",{className:"toast "+(e?"show":"hide"),children:Ye.jsxs("div",{className:"toast-content",children:[Ye.jsx("span",{className:"toast-icon",children:Ye.jsx(Xm,{})}),t]})}):null}function zte({status:e}){const t="PUBLISH"===e,n=t?Ye.jsx(nv,{style:{color:"#10b981"}}):Ye.jsx(nv,{style:{color:"#f59e0b"}});return Ye.jsxs("span",{className:"status-chip "+(t?"published":"draft"),children:[Ye.jsx("span",{className:"status-icon",children:n}),e]})}function qte({onExport:e,onImportClick:t,showPreview:n,setShowPreview:i}){var r,s,l;const{post:o,setPost:d,setField:c,saveToServer:u,saving:p,savedAt:A,hasUnsavedChanges:h}=mte(),{toast:f,show:m,msg:v}=(()=>{const[e,t]=a.useState(!1),[n,i]=a.useState("");return{toast:e=>{i(e),t(!0),setTimeout((()=>t(!1)),3e3)},show:e,msg:n}})(),g=Mt(),{blog:y,isEdit:x}=g.state||{};a.useState(!1);const[b,w]=a.useState(null),[j,C]=a.useState(null),S=Qt();Rte(h),a.useEffect((()=>{const e=e=>{(e.ctrlKey||e.metaKey)&&"s"===e.key.toLowerCase()&&(e.preventDefault(),u().then((e=>{const{success:t,error:n,data:i}=e;w(t?"success":"error"),C(t?null==i?void 0:i.response:n)})))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)}),[f]),a.useEffect((()=>{var e,t;x&&y&&d({title:y.BlogTitle,seoDescription:y.SEOBlogSubTitle,seoTitle:y.SEOBlogTitle,publishDate:y.PublishDate?(null==(t=null==(e=y.PublishDate)?void 0:e.split("T"))?void 0:t[0])+"T"+y.PublishTime:null,publishTime:y.PublishTime,blocks:y.BlogContent,id:y.BlogId,featureImage:null==y?void 0:y.HeaderImage,status:"Y"===(null==y?void 0:y.IsPublished)?"PUBLISH":"DRAFT",focusKeyword:null==y?void 0:y.Keywords.join(" "),author:null==y?void 0:y.Author,popular:"Y"===(null==y?void 0:y.Popular),featured:"Y"===(null==y?void 0:y.IsFeatured),allowComments:"Y"===(null==y?void 0:y.AllowComments),slug:null==y?void 0:y.Slug})}),[x,y]),a.useMemo((()=>p?"Saving…":A?`Server: ${A.toLocaleTimeString()}`:h?"Draft saved locally":"No changes"),[p,A,h]);const N=()=>{S("/home/adminpanel")},I=a.useCallback((()=>{C(null),w(null)}),[]),[F,B]=a.useState(!1),[P,k]=a.useState(null),T=async()=>{const e="PUBLISH"===o.status,t=e?"DRAFT":"PUBLISH",n=await u({status:t}),{success:i,error:a}=n;w(i?"success":"error"),C(i?e?"Moved to Draft":"Published successfully!":a)};return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:b,messageData:j,onComplete:I}),Ye.jsxs("div",{className:"header-bar",children:[Ye.jsx(xe,{title:"Leave Page?",description:"You have unsaved changes. Are you sure you want to leave?",onConfirm:N,okText:"Yes",cancelText:"No",disabled:!h,children:Ye.jsx("button",{className:"backfromblg",onClick:h?void 0:N,children:Ye.jsx(Zg,{})})}),Ye.jsx("input",{className:"title-input",placeholder:"Add your post title here...",value:o.title,onChange:e=>c("title",e.target.value)}),"PUBLISH"===o.status&&Ye.jsxs("span",{className:"live-badge animate-pulse",children:[Ye.jsx(fv,{})," LIVE"]}),(null==(r=null==o?void 0:o.blocks)?void 0:r.length)>0&&Ye.jsxs("div",{className:"status-controls",children:[Ye.jsx(zte,{status:o.status}),Ye.jsx(xe,{title:"Publish Post?",description:"Are you sure you want to publish this post?",open:F,onConfirm:async()=>{B(!1);const e=await u({status:P}),{success:t,error:n}=e;w(t?"success":"error"),C(t?"Published successfully!":n),k(null)},onCancel:()=>{B(!1),k(null)},okText:"Yes",cancelText:"No",children:Ye.jsxs("select",{className:"status-select",value:o.status,onChange:e=>{var t;"PUBLISH"===(t=e.target.value)?(k(t),B(!0)):c("status",t)},children:[Ye.jsx("option",{value:"DRAFT",children:"Draft"}),Ye.jsx("option",{value:"PUBLISH",children:"Publish"})]})})]}),(null==(s=null==o?void 0:o.blocks)?void 0:s.length)>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("button",{className:"save-button",onClick:()=>{u().then((e=>{const{success:t,error:n,data:i}=e;w(t?"success":"error"),C(t?null==i?void 0:i.response:n)}))},disabled:p,title:"Ctrl/Cmd + S",children:p?Ye.jsx(Ye.Fragment,{children:Ye.jsx("span",{className:"animate-spin",children:Ye.jsx(vv,{})})}):Ye.jsx(Ye.Fragment,{children:Ye.jsx(Bn,{size:22})})}),p&&Ye.jsx("div",{className:"save-status",children:Ye.jsx("div",{className:"save-indicator",children:Ye.jsx("div",{className:"status-dot "+(p?"saving":A?"saved":"unsaved")})})})]}),(null==(l=null==o?void 0:o.blocks)?void 0:l.length)>0&&Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{className:"action-buttons",children:[Ye.jsx("button",{className:"btn-primary",onClick:()=>i(!0),children:"Preview"}),Ye.jsx(xe,{title:"Publish Post?",description:"Are you sure you want to publish this post?",onConfirm:T,okText:"Yes",cancelText:"No",disabled:"PUBLISH"===o.status,children:Ye.jsx("button",{className:"btn-"+("PUBLISH"===o.status?"danger":"success"),onClick:"PUBLISH"===o.status?T:void 0,children:"PUBLISH"===o.status?Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(cv,{})," Unpublish"]}):Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Fv,{})," Publish"]})})})]})})]}),Ye.jsx(Vte,{show:m,msg:v}),Ye.jsx(Tte,{show:n,onClose:()=>i(!1)})]})}function Wte(){var e,t,n,i;const{post:r,setField:s}=mte(),[l,o]=a.useState(Boolean(r.slug)),[d,c]=a.useState(!1),u=um(),p=Mt(),{isEdit:A,blog:h}=(null==p?void 0:p.state)||{};let f=!0;a.useEffect((()=>{if(!l&&r.title){const e=r.title.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"");e!==r.slug&&(s("slug",e,A&&f),f=!1)}}),[r.title,l,r.slug,s]);const m=function(e,t){const n=a.useRef(),i=a.useCallback(((...i)=>{clearTimeout(n.current),n.current=setTimeout((()=>{e(...i)}),t)}),[e,t]);return a.useEffect((()=>()=>clearTimeout(n.current)),[]),i}((async e=>{var t,n,i,a,r;if(!e)return s("slug",e,{error:!1,errorMessage:""}),s("errors",{error:!1,errorMessage:""}),void c(!1);c(!0);try{const l=await(null==(t=u(Ate({slug:e})))?void 0:t.unwrap());if((null==(i=null==(n=null==l?void 0:l.data)?void 0:n.data)?void 0:i.length)>0){const t=null==(r=null==(a=null==l?void 0:l.data)?void 0:a.data)?void 0:r.filter((e=>!A||(null==e?void 0:e.BlogId)!==(null==h?void 0:h.BlogId)));(null==t?void 0:t.length)>0?(s("slug",e),s("errors",{error:!0,errorMessage:"This slug already exists. Please choose another."})):(s("slug",e),s("errors",{error:!1,errorMessage:""}))}else s("slug",e),s("errors",{error:!1,errorMessage:""})}catch(l){s("slug",e),s("errors",{error:!0,errorMessage:"Error checking slug."})}c(!1)}),500),v=null==(e=null==r?void 0:r.errors)?void 0:e.error,g=null==(t=null==r?void 0:r.errors)?void 0:t.errorMessage;return Ye.jsxs("div",{className:"slug-control",children:[Ye.jsx("div",{className:"slug-header",children:Ye.jsxs("label",{className:"slug-label",children:[Ye.jsx(xv,{})," URL Slug"]})}),Ye.jsx("p",{className:"slug-instruction",children:"Creates your post's web address. Auto-generated from title or customize manually."}),Ye.jsx("div",{className:"slug-controls",children:Ye.jsxs("button",{className:"slug-toggle "+(l?"locked":""),onClick:()=>o((e=>!e)),title:l?"Unlock to edit":"Lock slug",children:[l?Ye.jsx(wv,{}):Ye.jsx(_v,{}),l?"Locked":"Auto"]})}),Ye.jsx("input",{className:"slug-input "+(l?"":"disabled"),value:"string"==typeof r.slug?r.slug:(null==(n=r.slug)?void 0:n.value)||"",onChange:l?e=>{const t=e.target.value;s("slug",t,{error:!1,errorMessage:""}),c(!0),m(t)}:void 0,disabled:!l,placeholder:"url-slug-here",style:v?{borderColor:"#dc2626"}:{}}),d&&Ye.jsx("div",{style:{color:"#d97706",fontSize:13},children:"Checking slug…"}),v&&!d&&Ye.jsx("div",{style:{color:"#dc2626",fontSize:13},children:g}),Ye.jsxs("div",{className:"slug-preview",children:[Ye.jsx("strong",{children:"Preview:"})," ","string"==typeof r.slug?`/blog/${r.slug}`:`/blog/${(null==(i=r.slug)?void 0:i.value)||"your-post-slug"}`]})]})}function Yte(){const{post:e}=mte(),t=a.useMemo((()=>Ete(e.blocks)),[e.blocks]),n=a.useMemo((()=>Dte(t)),[t]);return Ye.jsxs("div",{className:"metrics-card editor-panel",children:[Ye.jsxs("div",{className:"panel-title",children:[Ye.jsx(Km,{})," Content Metrics"]}),Ye.jsxs("div",{className:"metrics-grid",children:[Ye.jsxs("div",{className:"metric-item",children:[Ye.jsx("div",{className:"metric-value primary",children:t}),Ye.jsx("div",{className:"metric-label",children:"words"})]}),Ye.jsxs("div",{className:"metric-item",children:[Ye.jsxs("div",{className:"metric-value success",children:["~",n]}),Ye.jsx("div",{className:"metric-label",children:"min read"})]})]})]})}function Kte(){const{post:e,setField:t}=mte(),n=a.useRef(null),[i,r]=a.useState(!1);a.useState(!1);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(qte,{onExport:()=>{const t=new Blob([JSON.stringify(e,null,2)],{type:"application/json"}),n=URL.createObjectURL(t),i=document.createElement("a");i.href=n,i.download=`${e.slug||"post"}.json`,i.click(),URL.revokeObjectURL(n)},onImportClick:()=>{var e;return null==(e=n.current)?void 0:e.click()},showPreview:i,setShowPreview:r}),Ye.jsx("input",{ref:n,type:"file",accept:"application/json",onChange:e=>{var n;const i=null==(n=e.target.files)?void 0:n[0];if(!i)return;const a=new FileReader;a.onload=()=>{try{const e=JSON.parse(a.result);if(!e||"object"!=typeof e)throw new Error("Invalid JSON");t("title",e.title||""),t("slug",e.slug||""),t("status",e.status||"DRAFT"),t("featureImage",e.featureImage),t("seoTitle",e.seoTitle||""),t("seoDescription",e.seoDescription||""),t("blocks",e.blocks||[])}catch(e){alert("Import failed: "+e.message)}},a.readAsText(i),e.target.value=""},hidden:!0}),Ye.jsxs("div",{className:"editor-layout",children:[Ye.jsxs("div",{className:"editor-sidebar",children:[Ye.jsx(Pte,{}),Ye.jsx("div",{className:"editor-panel",children:Ye.jsx(Wte,{})}),Ye.jsxs("div",{className:"editor-panel seo-panel",children:[Ye.jsx(Ute,{label:"SEO Title (H1 equivalent)",value:e.seoTitle||"",onChange:e=>t("seoTitle",e),max:60,fieldType:"seoTitle"}),Ye.jsx(Ute,{label:"Meta Description",value:e.seoDescription||"",onChange:e=>t("seoDescription",e),max:160,multiline:!0,fieldType:"seoDescription"}),Ye.jsx(Ute,{label:"Focus Keyword",value:e.focusKeyword||"",onChange:e=>t("focusKeyword",e),max:50,fieldType:"focusKeyword"})]}),Ye.jsx(Yte,{}),Ye.jsx(_te,{}),Ye.jsx(Ote,{}),Ye.jsx(Lte,{}),Ye.jsx(kte,{})]}),Ye.jsx("div",{className:"editor-main",children:Ye.jsx(Bte,{})})]}),Ye.jsx("style",{children:`\n @keyframes spin {\n from { transform: rotate(0deg); }\n to { transform: rotate(360deg); }\n }\n @keyframes pulse {\n 0%, 100% { opacity: 1; }\n 50% { opacity: 0.7; }\n }\n @keyframes slideIn {\n from { transform: translateY(-10px); opacity: 0; }\n to { transform: translateY(0); opacity: 1; }\n }\n \n .editor-layout {\n animation: slideIn 0.3s ease-out;\n }\n \n .editor-layout > div {\n animation: slideIn 0.4s ease-out;\n }\n \n @media (max-width: 1024px) {\n .editor-layout {\n grid-template-columns: 1fr !important;\n gap: 16px !important;\n padding: 0 16px !important;\n }\n }\n \n @media (max-width: 768px) {\n .editor-layout {\n padding: 0 12px !important;\n gap: 12px !important;\n }\n }\n \n #editorjs {\n word-wrap: break-word !important;\n overflow-wrap: break-word !important;\n padding: 16px !important;\n min-height: 500px !important;\n }\n \n #editorjs .ce-block {\n max-width: 100% !important;\n word-wrap: break-word !important;\n overflow-wrap: break-word !important;\n margin: 0.5em 0 !important;\n }\n \n #editorjs .ce-header {\n word-wrap: break-word !important;\n overflow-wrap: break-word !important;\n white-space: normal !important;\n font-weight: 700 !important;\n line-height: 1.2 !important;\n }\n \n #editorjs .ce-paragraph {\n line-height: 1.6 !important;\n color: ${Qte.gray[700]} !important;\n }\n \n #editorjs .ce-toolbar__plus {\n color: ${Qte.primary} !important;\n background: rgba(37, 99, 235, 0.1) !important;\n border: 2px solid ${Qte.primary} !important;\n border-radius: 8px !important;\n width: 32px !important;\n height: 32px !important;\n transition: all 0.2s ease !important;\n }\n \n #editorjs .ce-toolbar__plus:hover {\n background: ${Qte.primary} !important;\n color: white !important;\n transform: scale(1.1) !important;\n box-shadow: ${Hte.md} !important;\n }\n \n #editorjs .ce-toolbar__settings-btn {\n color: ${Qte.gray[600]} !important;\n border-radius: 6px !important;\n transition: all 0.2s ease !important;\n }\n \n #editorjs .ce-toolbar__settings-btn:hover {\n background: ${Qte.gray[100]} !important;\n color: ${Qte.gray[900]} !important;\n }\n \n #editorjs .ce-block--selected .ce-block__content {\n background: rgba(37, 99, 235, 0.05) !important;\n border-radius: 8px !important;\n }\n \n ::-webkit-scrollbar {\n width: 6px;\n }\n \n ::-webkit-scrollbar-track {\n background: ${Qte.gray[100]};\n border-radius: 3px;\n }\n \n ::-webkit-scrollbar-thumb {\n background: ${Qte.gray[400]};\n border-radius: 3px;\n transition: background 0.2s ease;\n }\n \n ::-webkit-scrollbar-thumb:hover {\n background: ${Qte.gray[500]};\n }\n \n button:focus-visible {\n outline: 2px solid ${Qte.primary} !important;\n outline-offset: 2px !important;\n }\n \n input:focus, select:focus, textarea:focus {\n outline: none !important;\n border-color: ${Qte.primary} !important;\n box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;\n }\n `})]})}const Gte=function(e){var t,n=qa(),i=e||{},a=i.reducer,r=void 0===a?void 0:a,s=i.middleware,l=void 0===s?n():s,o=i.devTools,d=void 0===o||o,c=i.preloadedState,u=void 0===c?void 0:c,p=i.enhancers,A=void 0===p?void 0:p;if("function"==typeof r)t=r;else{if(!function(e){if("object"!=typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}(r))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=ba(r)}var h=l;"function"==typeof h&&(h=h(n));var f=ja.apply(void 0,h),m=wa;d&&(m=Ra(Oa({trace:!1},"object"==typeof d&&d)));var v=new Va(f),g=v;return Array.isArray(A)?g=Pa([f],A):"function"==typeof A&&(g=A(v)),xa(t,u,m.apply(void 0,g))}({reducer:{centerPage:Jh,homePage:Hg,application:kD,companyPage:Sb,configtypePage:lk,currencyPage:M9,carouselPage:yT,configmasterPage:$P,userPage:eE,branchPage:Ey,exceluploadPage:uk,signInPage:Fm,applicationPage:Rb,applicationImagePage:wk,moduleAccess:Yh,userAccount:ID,bannerImage:DP,appAccessPage:XE,MessageTemplate:AM,paymentUPIdetails:FM,pricingType:fw,logs:hD,theme:tO,superAdminUserAccess:$g,seo:NU},middleware:e=>e({serializableCheck:!1})}),$te="https://www.pozo.dev",Xte="/apps/retail/app-page/home",Jte=({routesConfig:e})=>{const t=um(),n=iA("UserType"),i=iA("UserId"),[r,s]=a.useState(!1),[l,o]=a.useState(!1),d=async(e,n)=>{if(!e)return!1;const a=await(async()=>{var e,n,a,r;let s=await t(zg({UserId:i})).unwrap();return 1===(null==(e=null==s?void 0:s.data)?void 0:e.statusCode)?null==(r=null==(a=null==(n=null==s?void 0:s.data)?void 0:n.data)?void 0:a[0])?void 0:r.SuperAdminUserAccessDetails:null})();let r;r=n.endsWith("/new")?"AddAccess":n.endsWith("/update")?"UpdateAccess":"ReadAccess";return!!(null==a?void 0:a.find((t=>t.ConfigName===e&&"Y"===t[r])))},c=async e=>{var n;const i=await t(fm({UserId:e,status:"N"})).unwrap();1===(null==(n=null==i?void 0:i.data)?void 0:n.statusCode)&&(sessionStorage.clear(),window.location.replace(`${$te}`))},u=async(t,n)=>{if(r)return;const i=window.location.pathname,a=e.find((e=>{var t;return yt(e.path,i)||(null==(t=e.children)?void 0:t.some((t=>yt(`${e.path}/${t.path}`,i))))}));if(!a&&Xte!==i)return n?await c(n):(sessionStorage.clear(),window.location.replace(`${$te}`)),void s(!0);const l=((e,t)=>{var n;return yt(null==e?void 0:e.path,t)?e.empAccess||null:null==(n=e.children)?void 0:n.reduce(((n,i)=>{const a=`${e.path}/${i.path}`;return n||(yt(a,t)?i.empAccess:null)}),null)})(a,i),u=((e,t)=>{var n;return yt(null==e?void 0:e.path,t)?e.access||null:null==(n=e.children)?void 0:n.reduce(((n,i)=>{const a=`${e.path}/${i.path}`;return n||(yt(a,t)?i.access:null)}),null)})(a,i),p=((e,t)=>{var n;return yt(null==e?void 0:e.path,t)?e.employeeAccess||null:null==(n=e.children)?void 0:n.reduce(((n,i)=>{const a=`${e.path}/${i.path}`;return n||(yt(a,t)?i.employeeAccess:null)}),null)})(a,i),A=((e,t,n,i,a)=>{var r;const s={"Super Admin":()=>!1,"Super Admin User":async()=>"Super Admin User"!=n&&(!(await d(n,i))&&"Public"!==t),Admin:()=>"Admin"!==t&&"Public"!==t,Employee:()=>!a&&"Public"!==t,Marketing:async()=>"Marketing"!=n&&(!(await d(n,i))&&"Public"!==t)};return(null==(r=s[e])?void 0:r.call(s))??"Public"!==t})(t,u,l,i,p);await A&&Xte!==i&&(n?await c(n):(sessionStorage.clear(),window.location.replace(`${$te}`)),s(!0)),o(!0)};a.useEffect((()=>{(async()=>{var e,a,r,s,l,o,d,c,A;const h=p();if((null==(e=Object.keys(h))?void 0:e.length)>0){const e=aA(h.UD),n=aA(h.UT),i=aA(h.SD),p=aA(null==h?void 0:h.MN),f=aA(null==h?void 0:h.CD);if(e&&i){const m=await t(Im({UserId:e,SessionId:i})).unwrap();if(1==(null==(a=null==m?void 0:m.data)?void 0:a.statusCode)&&"True"==(null==(r=null==m?void 0:m.data)?void 0:r.response)){sessionStorage.setItem("auth",null==(s=null==m?void 0:m.data)?void 0:s.Token),nA("SessionId",null==(l=null==m?void 0:m.data)?void 0:l.SessionId);let i=null;if(null!=(null==h?void 0:h.UN)&&null!=(null==h?void 0:h.UN)&&(i=aA(null==h?void 0:h.UN)),p&&e&&n){nA("MobileNo",p),nA("UserId",e),nA("UserType",n),nA("CompId",f);let a,r=null;if(f){let e=await t(QE({CompId:f})).unwrap();r=1==(null==(o=null==e?void 0:e.data)?void 0:o.statusCode)?null==(A=null==(c=null==(d=null==e?void 0:e.data)?void 0:d.data)?void 0:c[0])?void 0:A.CompName:null}nA("CompName",r),null!=i&&nA("userName",i),null!=(null==h?void 0:h.AD)&&null!=(null==h?void 0:h.AD)&&(a=aA(null==h?void 0:h.AD)),null!=a&&nA("AdminId",a),await u(n,e)}}else sessionStorage.clear(),window.location.replace(`${$te}`)}}else await u(n,i)})()}),[n,e,r]);const p=()=>{const e=window.location.search,t=new URLSearchParams(e);return Object.fromEntries(t.entries())};return Ye.jsx(an,{children:l&&(A=e,A.map((({path:e,component:t,children:n})=>{const i=e;return t?Ye.jsx(tn,{path:i,element:Ye.jsx(t,{}),children:null==n?void 0:n.map((({path:e,component:t})=>t?Ye.jsx(tn,{path:e,element:Ye.jsx(t,{})},e):null))},i):null})))});var A};var Zte={},ene={exports:{}};!function(e,t){!function(n,i){var a="function",r="undefined",s="object",l="string",o="major",d="model",c="name",u="type",p="vendor",A="version",h="architecture",f="console",m="mobile",v="tablet",g="smarttv",y="wearable",x="embedded",b="Amazon",w="Apple",j="ASUS",C="BlackBerry",S="Browser",N="Chrome",I="Firefox",F="Google",B="Honor",P="Huawei",k="LG",T="Microsoft",E="Motorola",D="Nvidia",L="OnePlus",U="Opera",_="OPPO",O="Samsung",M="Sharp",R="Sony",Q="Xiaomi",H="Zebra",V="Facebook",z="Chromium OS",q="Mac OS",W=" Browser",Y=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},K=function(e,t){return typeof e===l&&-1!==G(t).indexOf(G(e))},G=function(e){return e.toLowerCase()},$=function(e,t){if(typeof e===l)return e=e.replace(/^\s\s*/,""),typeof t===r?e:e.substring(0,500)},X=function(e,t){for(var n,r,l,o,d,c,u=0;u<t.length&&!d;){var p=t[u],A=t[u+1];for(n=r=0;n<p.length&&!d&&p[n];)if(d=p[n++].exec(e))for(l=0;l<A.length;l++)c=d[++r],typeof(o=A[l])===s&&o.length>0?2===o.length?typeof o[1]==a?this[o[0]]=o[1].call(this,c):this[o[0]]=o[1]:3===o.length?typeof o[1]!==a||o[1].exec&&o[1].test?this[o[0]]=c?c.replace(o[1],o[2]):i:this[o[0]]=c?o[1].call(this,c,o[2]):i:4===o.length&&(this[o[0]]=c?o[3].call(this,c.replace(o[1],o[2])):i):this[o]=c||i;u+=2}},J=function(e,t){for(var n in t)if(typeof t[n]===s&&t[n].length>0){for(var a=0;a<t[n].length;a++)if(K(t[n][a],e))return"?"===n?i:n}else if(K(t[n],e))return"?"===n?i:n;return t.hasOwnProperty("*")?t["*"]:e},Z={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ee={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[A,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[A,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,A],[/opios[\/ ]+([\w\.]+)/i],[A,[c,U+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[A,[c,U+" GX"]],[/\bopr\/([\w\.]+)/i],[A,[c,U]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[A,[c,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[A,[c,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[c,A],[/quark(?:pc)?\/([-\w\.]+)/i],[A,[c,"Quark"]],[/\bddg\/([\w\.]+)/i],[A,[c,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[A,[c,"UC"+S]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[A,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[A,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[A,[c,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[A,[c,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[A,[c,"Smart Lenovo "+S]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure "+S],A],[/\bfocus\/([\w\.]+)/i],[A,[c,I+" Focus"]],[/\bopt\/([\w\.]+)/i],[A,[c,U+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[A,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[A,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[A,[c,U+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[A,[c,"MIUI"+W]],[/fxios\/([\w\.-]+)/i],[A,[c,I]],[/\bqihoobrowser\/?([\w\.]*)/i],[A,[c,"360"]],[/\b(qq)\/([\w\.]+)/i],[[c,/(.+)/,"$1Browser"],A],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1"+W],A],[/samsungbrowser\/([\w\.]+)/i],[A,[c,O+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[A,[c,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[c,"Sogou Mobile"],A],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[c,A],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[c],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[A,c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,V],A],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[c,A],[/\bgsa\/([\w\.]+) .*safari\//i],[A,[c,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[A,[c,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[A,[c,N+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,N+" WebView"],A],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[A,[c,"Android "+S]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,A],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[A,[c,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[A,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[A,J,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[c,A],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],A],[/(wolvic|librewolf)\/([\w\.]+)/i],[c,A],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[A,[c,I+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[c,[A,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[c,[A,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[h,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[h,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[h,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[h,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[h,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[h,/ower/,"",G]],[/ sun4\w[;\)]/i],[[h,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[h,G]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[p,O],[u,v]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[d,[p,O],[u,m]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[p,w],[u,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[p,w],[u,v]],[/(macintosh);/i],[d,[p,w]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[p,M],[u,m]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[d,[p,B],[u,v]],[/honor([-\w ]+)[;\)]/i],[d,[p,B],[u,m]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[d,[p,P],[u,v]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[p,P],[u,m]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[d,/_/g," "],[p,Q],[u,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[d,/_/g," "],[p,Q],[u,m]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[p,_],[u,m]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[d,[p,J,{OnePlus:["304","403","203"],"*":_}],[u,v]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[p,"Vivo"],[u,m]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[p,"Realme"],[u,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[p,E],[u,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[p,E],[u,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[p,k],[u,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[p,k],[u,m]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[d,[p,"Lenovo"],[u,v]],[/(nokia) (t[12][01])/i],[p,d,[u,v]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[d,/_/g," "],[u,m],[p,"Nokia"]],[/(pixel (c|tablet))\b/i],[d,[p,F],[u,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[p,F],[u,m]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[p,R],[u,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[p,R],[u,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[p,L],[u,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[p,b],[u,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[p,b],[u,m]],[/(playbook);[-\w\),; ]+(rim)/i],[d,p,[u,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[p,C],[u,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[p,j],[u,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[p,j],[u,m]],[/(nexus 9)/i],[d,[p,"HTC"],[u,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[d,/_/g," "],[u,m]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[d,[p,"TCL"],[u,v]],[/(itel) ((\w+))/i],[[p,G],d,[u,J,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[p,"Acer"],[u,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[p,"Meizu"],[u,m]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[p,"Ulefone"],[u,m]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[d,[p,"Energizer"],[u,m]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[d,[p,"Cat"],[u,m]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[d,[p,"Smartfren"],[u,m]],[/droid.+; (a(?:015|06[35]|142p?))/i],[d,[p,"Nothing"],[u,m]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[d,[p,"Archos"],[u,v]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[d,[p,"Archos"],[u,m]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[p,d,[u,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[p,d,[u,m]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,d,[u,v]],[/(surface duo)/i],[d,[p,T],[u,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[p,"Fairphone"],[u,m]],[/(u304aa)/i],[d,[p,"AT&T"],[u,m]],[/\bsie-(\w*)/i],[d,[p,"Siemens"],[u,m]],[/\b(rct\w+) b/i],[d,[p,"RCA"],[u,v]],[/\b(venue[\d ]{2,7}) b/i],[d,[p,"Dell"],[u,v]],[/\b(q(?:mv|ta)\w+) b/i],[d,[p,"Verizon"],[u,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[p,"Barnes & Noble"],[u,v]],[/\b(tm\d{3}\w+) b/i],[d,[p,"NuVision"],[u,v]],[/\b(k88) b/i],[d,[p,"ZTE"],[u,v]],[/\b(nx\d{3}j) b/i],[d,[p,"ZTE"],[u,m]],[/\b(gen\d{3}) b.+49h/i],[d,[p,"Swiss"],[u,m]],[/\b(zur\d{3}) b/i],[d,[p,"Swiss"],[u,v]],[/\b((zeki)?tb.*\b) b/i],[d,[p,"Zeki"],[u,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],d,[u,v]],[/\b(ns-?\w{0,9}) b/i],[d,[p,"Insignia"],[u,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[p,"NextBook"],[u,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],d,[u,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],d,[u,m]],[/\b(ph-1) /i],[d,[p,"Essential"],[u,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[p,"Envizen"],[u,v]],[/\b(trio[-\w\. ]+) b/i],[d,[p,"MachSpeed"],[u,v]],[/\btu_(1491) b/i],[d,[p,"Rotor"],[u,v]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[d,[p,D],[u,v]],[/(sprint) (\w+)/i],[p,d,[u,m]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[p,T],[u,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[p,H],[u,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[p,H],[u,m]],[/smart-tv.+(samsung)/i],[p,[u,g]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[p,O],[u,g]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,k],[u,g]],[/(apple) ?tv/i],[p,[d,w+" TV"],[u,g]],[/crkey/i],[[d,N+"cast"],[p,F],[u,g]],[/droid.+aft(\w+)( bui|\))/i],[d,[p,b],[u,g]],[/(shield \w+ tv)/i],[d,[p,D],[u,g]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[p,M],[u,g]],[/(bravia[\w ]+)( bui|\))/i],[d,[p,R],[u,g]],[/(mi(tv|box)-?\w+) bui/i],[d,[p,Q],[u,g]],[/Hbbtv.*(technisat) (.*);/i],[p,d,[u,g]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,$],[d,$],[u,g]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[d,[u,g]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,d,[u,f]],[/droid.+; (shield)( bui|\))/i],[d,[p,D],[u,f]],[/(playstation \w+)/i],[d,[p,R],[u,f]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[p,T],[u,f]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[d,[p,O],[u,y]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[p,d,[u,y]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[d,[p,_],[u,y]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[p,w],[u,y]],[/(opwwe\d{3})/i],[d,[p,L],[u,y]],[/(moto 360)/i],[d,[p,E],[u,y]],[/(smartwatch 3)/i],[d,[p,R],[u,y]],[/(g watch r)/i],[d,[p,k],[u,y]],[/droid.+; (wt63?0{2,3})\)/i],[d,[p,H],[u,y]],[/droid.+; (glass) \d/i],[d,[p,F],[u,y]],[/(pico) (4|neo3(?: link|pro)?)/i],[p,d,[u,y]],[/; (quest( \d| pro)?)/i],[d,[p,V],[u,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[u,x]],[/(aeobc)\b/i],[d,[p,b],[u,x]],[/(homepod).+mac os/i],[d,[p,w],[u,x]],[/windows iot/i],[[u,x]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[u,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[u,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[u,m]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[d,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[A,[c,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[c,A],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[A,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[c,A],[/ladybird\//i],[[c,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[A,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,A],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[c,[A,J,Z]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[A,J,Z],[c,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[A,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,q],[A,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[A,c],[/(ubuntu) ([\w\.]+) like android/i],[[c,/(.+)/,"$1 Touch"],A],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[c,A],[/\(bb(10);/i],[A,[c,C]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[A,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[A,[c,I+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[A,[c,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[A,[c,"watchOS"]],[/crkey\/([\d\.]+)/i],[A,[c,N+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[c,z],A],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[c,A],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],A],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[c,A]]},te=function(e,t){if(typeof e===s&&(t=e,e=i),!(this instanceof te))return new te(e,t).getResult();var f=typeof n!==r&&n.navigator?n.navigator:i,g=e||(f&&f.userAgent?f.userAgent:""),y=f&&f.userAgentData?f.userAgentData:i,x=t?function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n}(ee,t):ee,b=f&&f.userAgent==g;return this.getBrowser=function(){var e,t={};return t[c]=i,t[A]=i,X.call(t,g,x.browser),t[o]=typeof(e=t[A])===l?e.replace(/[^\d\.]/g,"").split(".")[0]:i,b&&f&&f.brave&&typeof f.brave.isBrave==a&&(t[c]="Brave"),t},this.getCPU=function(){var e={};return e[h]=i,X.call(e,g,x.cpu),e},this.getDevice=function(){var e={};return e[p]=i,e[d]=i,e[u]=i,X.call(e,g,x.device),b&&!e[u]&&y&&y.mobile&&(e[u]=m),b&&"Macintosh"==e[d]&&f&&typeof f.standalone!==r&&f.maxTouchPoints&&f.maxTouchPoints>2&&(e[d]="iPad",e[u]=v),e},this.getEngine=function(){var e={};return e[c]=i,e[A]=i,X.call(e,g,x.engine),e},this.getOS=function(){var e={};return e[c]=i,e[A]=i,X.call(e,g,x.os),b&&!e[c]&&y&&y.platform&&"Unknown"!=y.platform&&(e[c]=y.platform.replace(/chrome os/i,z).replace(/macos/i,q)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return g},this.setUA=function(e){return g=typeof e===l&&e.length>500?$(e,500):e,this},this.setUA(g),this};te.VERSION="1.0.41",te.BROWSER=Y([c,A,o]),te.CPU=Y([h]),te.DEVICE=Y([d,p,u,f,m,g,v,y,x]),te.ENGINE=te.OS=Y([c,A]),e.exports&&(t=e.exports=te),t.UAParser=te;var ne=typeof n!==r&&(n.jQuery||n.Zepto);if(ne&&!ne.ua){var ie=new te;ne.ua=ie.getResult(),ne.ua.get=function(){return ie.getUA()},ne.ua.set=function(e){ie.setUA(e);var t=ie.getResult();for(var n in t)ne.ua[n]=t[n]}}}("object"==typeof window?window:d)}(ene,ene.exports);var tne=ene.exports;Object.defineProperty(Zte,"__esModule",{value:!0});var nne,ine=a,ane=(nne=ine)&&"object"==typeof nne&&"default"in nne?nne.default:nne,rne=tne,sne=new rne,lne=sne.getBrowser(),one=sne.getCPU(),dne=sne.getDevice(),cne=sne.getEngine(),une=sne.getOS(),pne=sne.getUA(),Ane=function(e){return sne.setUA(e)},hne=function(e){if(e){var t=new rne(e);return{UA:t,browser:t.getBrowser(),cpu:t.getCPU(),device:t.getDevice(),engine:t.getEngine(),os:t.getOS(),ua:t.getUA(),setUserAgent:function(e){return t.setUA(e)}}}},fne=Object.freeze({ClientUAInstance:sne,browser:lne,cpu:one,device:dne,engine:cne,os:une,ua:pne,setUa:Ane,parseUserAgent:hne});function mne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function vne(e){return(vne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gne(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function yne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xne(){return xne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},xne.apply(this,arguments)}function bne(e){return(bne=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function wne(e,t){return(wne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function jne(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n,i,a={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Cne(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sne(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var i,a,r=[],s=!0,l=!1;try{for(n=n.call(e);!(s=(i=n.next()).done)&&(r.push(i.value),!t||r.length!==t);s=!0);}catch(o){l=!0,a=o}finally{try{s||null==n.return||n.return()}finally{if(l)throw a}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Nne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nne(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var Ine="mobile",Fne="tablet",Bne="smarttv",Pne="console",kne="wearable",Tne="embedded",Ene=void 0,Dne={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},Lne={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},Une={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},_ne=function(e){return e||(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none")},One=function(){return!("undefined"==typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},Mne=function(e){var t=One();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},Rne=function(e,t,n,i){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mne(Object(n),!0).forEach((function(t){yne(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{vendor:_ne(t.vendor),model:_ne(t.model),os:_ne(n.name),osVersion:_ne(n.version),ua:_ne(i)})};var Qne=function(e){return e.type===Ine},Hne=function(e){return e.type===Fne},Vne=function(e){var t=e.type;return t===Ine||t===Fne},zne=function(e){return e.type===Bne},qne=function(e){return e.type===Ene},Wne=function(e){return e.type===kne},Yne=function(e){return e.type===Pne},Kne=function(e){return e.type===Tne},Gne=function(e){var t=e.vendor;return _ne(t)},$ne=function(e){var t=e.model;return _ne(t)},Xne=function(e){var t=e.type;return _ne(t,"browser")},Jne=function(e){return e.name===Lne.Android},Zne=function(e){return e.name===Lne.Windows},eie=function(e){return e.name===Lne.MAC_OS},tie=function(e){return e.name===Lne.WindowsPhone},nie=function(e){return e.name===Lne.IOS},iie=function(e){var t=e.version;return _ne(t)},aie=function(e){var t=e.name;return _ne(t)},rie=function(e){return e.name===Dne.Chrome},sie=function(e){return e.name===Dne.Firefox},lie=function(e){return e.name===Dne.Chromium},oie=function(e){return e.name===Dne.Edge},die=function(e){return e.name===Dne.Yandex},cie=function(e){var t=e.name;return t===Dne.Safari||t===Dne.MobileSafari},uie=function(e){return e.name===Dne.MobileSafari},pie=function(e){return e.name===Dne.Opera},Aie=function(e){var t=e.name;return t===Dne.InternetExplorer||t===Dne.Ie},hie=function(e){return e.name===Dne.MIUI},fie=function(e){return e.name===Dne.SamsungBrowser},mie=function(e){var t=e.version;return _ne(t)},vie=function(e){var t=e.major;return _ne(t)},gie=function(e){var t=e.name;return _ne(t)},yie=function(e){var t=e.name;return _ne(t)},xie=function(e){var t=e.version;return _ne(t)},bie=function(){var e=One(),t=e&&e.userAgent&&e.userAgent.toLowerCase();return"string"==typeof t&&/electron/.test(t)},wie=function(e){return"string"==typeof e&&-1!==e.indexOf("Edg/")},jie=function(){var e=One();return e&&(/iPad|iPhone|iPod/.test(e.platform)||"MacIntel"===e.platform&&e.maxTouchPoints>1)&&!window.MSStream},Cie=function(){return Mne("iPad")},Sie=function(){return Mne("iPhone")},Nie=function(){return Mne("iPod")},Iie=function(e){return _ne(e)};function Fie(e){var t=e||fne,n=t.device,i=t.browser,a=t.os,r=t.engine,s=t.ua;return{isSmartTV:zne(n),isConsole:Yne(n),isWearable:Wne(n),isEmbedded:Kne(n),isMobileSafari:uie(i)||Cie(),isChromium:lie(i),isMobile:Vne(n)||Cie(),isMobileOnly:Qne(n),isTablet:Hne(n)||Cie(),isBrowser:qne(n),isDesktop:qne(n),isAndroid:Jne(a),isWinPhone:tie(a),isIOS:nie(a)||Cie(),isChrome:rie(i),isFirefox:sie(i),isSafari:cie(i),isOpera:pie(i),isIE:Aie(i),osVersion:iie(a),osName:aie(a),fullBrowserVersion:mie(i),browserVersion:vie(i),browserName:gie(i),mobileVendor:Gne(n),mobileModel:$ne(n),engineName:yie(r),engineVersion:xie(r),getUA:Iie(s),isEdge:oie(i)||wie(s),isYandex:die(i),deviceType:Xne(n),isIOS13:jie(),isIPad13:Cie(),isIPhone13:Sie(),isIPod13:Nie(),isElectron:bie(),isEdgeChromium:wie(s),isLegacyEdge:oie(i)&&!wie(s),isWindows:Zne(a),isMacOs:eie(a),isMIUI:hie(i),isSamsungBrowser:fie(i)}}var Bie=zne(dne),Pie=Yne(dne),kie=Wne(dne),Tie=Kne(dne),Eie=uie(lne)||Cie(),Die=lie(lne),Lie=Vne(dne)||Cie(),Uie=Qne(dne),_ie=Hne(dne)||Cie(),Oie=qne(dne),Mie=qne(dne),Rie=Jne(une),Qie=tie(une),Hie=nie(une)||Cie(),Vie=rie(lne),zie=sie(lne),qie=cie(lne),Wie=pie(lne),Yie=Aie(lne),Kie=iie(une),Gie=aie(une),$ie=mie(lne),Xie=vie(lne),Jie=gie(lne),Zie=Gne(dne),eae=$ne(dne),tae=yie(cne),nae=xie(cne),iae=Iie(pne),aae=oie(lne)||wie(pne),rae=die(lne),sae=Xne(dne),lae=jie(),oae=Cie(),dae=Sie(),cae=Nie(),uae=bie(),pae=wie(pne),Aae=oie(lne)&&!wie(pne),hae=Zne(une),fae=eie(une),mae=hie(lne),vae=fie(lne);function gae(e){var t=e||window.navigator.userAgent;return hne(t)}Zte.AndroidView=function(e){var t=e.renderWithFragment,n=e.children,i=jne(e,["renderWithFragment","children"]);return Rie?t?ane.createElement(ine.Fragment,null,n):ane.createElement("div",i,n):null},Zte.BrowserTypes=Dne,Zte.BrowserView=function(e){var t=e.renderWithFragment,n=e.children,i=jne(e,["renderWithFragment","children"]);return Oie?t?ane.createElement(ine.Fragment,null,n):ane.createElement("div",i,n):null},Zte.ConsoleView=function(e){var t=e.renderWithFragment,n=e.children,i=jne(e,["renderWithFragment","children"]);return Pie?t?ane.createElement(ine.Fragment,null,n):ane.createElement("div",i,n):null},Zte.CustomView=function(e){var t=e.renderWithFragment,n=e.children;e.viewClassName,e.style;var i=e.condition,a=jne(e,["renderWithFragment","children","viewClassName","style","condition"]);return i?t?ane.createElement(ine.Fragment,null,n):ane.createElement("div",a,n):null},Zte.IEView=function(e){var t=e.renderWithFragment,n=e.children,i=jne(e,["renderWithFragment","children"]);return Yie?t?ane.createElement(ine.Fragment,null,n):ane.createElement("div",i,n):null},Zte.IOSView=function(e){var t=e.renderWithFragment,n=e.children,i=jne(e,["renderWithFragment","children"]);return Hie?t?ane.createElement(ine.Fragment,null,n):ane.createElement("div",i,n):null},Zte.MobileOnlyView=function(e){var t=e.renderWithFragment,n=e.children;e.viewClassName,e.style;var i=jne(e,["renderWithFragment","children","viewClassName","style"]);return Uie?t?ane.createElement(ine.Fragment,null,n):ane.createElement("div",i,n):null},Zte.MobileView=function(e){var t=e.renderWithFragment,n=e.children,i=jne(e,["renderWithFragment","children"]);return Lie?t?ane.createElement(ine.Fragment,null,n):ane.createElement("div",i,n):null},Zte.OsTypes=Lne,Zte.SmartTVView=function(e){var t=e.renderWithFragment,n=e.children,i=jne(e,["renderWithFragment","children"]);return Bie?t?ane.createElement(ine.Fragment,null,n):ane.createElement("div",i,n):null},Zte.TabletView=function(e){var t=e.renderWithFragment,n=e.children,i=jne(e,["renderWithFragment","children"]);return _ie?t?ane.createElement(ine.Fragment,null,n):ane.createElement("div",i,n):null},Zte.WearableView=function(e){var t=e.renderWithFragment,n=e.children,i=jne(e,["renderWithFragment","children"]);return kie?t?ane.createElement(ine.Fragment,null,n):ane.createElement("div",i,n):null},Zte.WinPhoneView=function(e){var t=e.renderWithFragment,n=e.children,i=jne(e,["renderWithFragment","children"]);return Qie?t?ane.createElement(ine.Fragment,null,n):ane.createElement("div",i,n):null},Zte.browserName=Jie,Zte.browserVersion=Xie,Zte.deviceDetect=function(e){var t=e?hne(e):fne,n=t.device,i=t.browser,a=t.engine,r=t.os,s=t.ua,l=function(e){switch(e){case Ine:return{isMobile:!0};case Fne:return{isTablet:!0};case Bne:return{isSmartTV:!0};case Pne:return{isConsole:!0};case kne:return{isWearable:!0};case Ene:return{isBrowser:!0};case Tne:return{isEmbedded:!0};default:return Une}}(n.type),o=l.isBrowser,d=l.isMobile,c=l.isTablet,u=l.isSmartTV,p=l.isConsole,A=l.isWearable,h=l.isEmbedded;return o?function(e,t,n,i,a){return{isBrowser:e,browserMajorVersion:_ne(t.major),browserFullVersion:_ne(t.version),browserName:_ne(t.name),engineName:_ne(n.name),engineVersion:_ne(n.version),osName:_ne(i.name),osVersion:_ne(i.version),userAgent:_ne(a)}}(o,i,a,r,s):u?function(e,t,n,i){return{isSmartTV:e,engineName:_ne(t.name),engineVersion:_ne(t.version),osName:_ne(n.name),osVersion:_ne(n.version),userAgent:_ne(i)}}(u,a,r,s):p?function(e,t,n,i){return{isConsole:e,engineName:_ne(t.name),engineVersion:_ne(t.version),osName:_ne(n.name),osVersion:_ne(n.version),userAgent:_ne(i)}}(p,a,r,s):d||c?Rne(l,n,r,s):A?function(e,t,n,i){return{isWearable:e,engineName:_ne(t.name),engineVersion:_ne(t.version),osName:_ne(n.name),osVersion:_ne(n.version),userAgent:_ne(i)}}(A,a,r,s):h?function(e,t,n,i,a){return{isEmbedded:e,vendor:_ne(t.vendor),model:_ne(t.model),engineName:_ne(n.name),engineVersion:_ne(n.version),osName:_ne(i.name),osVersion:_ne(i.version),userAgent:_ne(a)}}(h,n,a,r,s):void 0},Zte.deviceType=sae,Zte.engineName=tae,Zte.engineVersion=nae,Zte.fullBrowserVersion=$ie,Zte.getSelectorsByUserAgent=function(e){if(e&&"string"==typeof e){var t=hne(e);return Fie({device:t.device,browser:t.browser,os:t.os,engine:t.engine,ua:t.ua})}},Zte.getUA=iae,Zte.isAndroid=Rie,Zte.isBrowser=Oie,Zte.isChrome=Vie,Zte.isChromium=Die,Zte.isConsole=Pie,Zte.isDesktop=Mie,Zte.isEdge=aae,Zte.isEdgeChromium=pae,Zte.isElectron=uae,Zte.isEmbedded=Tie,Zte.isFirefox=zie,Zte.isIE=Yie,Zte.isIOS=Hie,Zte.isIOS13=lae,Zte.isIPad13=oae,Zte.isIPhone13=dae,Zte.isIPod13=cae,Zte.isLegacyEdge=Aae,Zte.isMIUI=mae,Zte.isMacOs=fae,Zte.isMobile=Lie,Zte.isMobileOnly=Uie,Zte.isMobileSafari=Eie,Zte.isOpera=Wie,Zte.isSafari=qie,Zte.isSamsungBrowser=vae,Zte.isSmartTV=Bie,Zte.isTablet=_ie,Zte.isWearable=kie,Zte.isWinPhone=Qie,Zte.isWindows=hae,Zte.isYandex=rae,Zte.mobileModel=eae,Zte.mobileVendor=Zie,Zte.osName=Gie,Zte.osVersion=Kie,Zte.parseUserAgent=hne,Zte.setUserAgent=function(e){return Ane(e)},Zte.useDeviceData=gae,Zte.useDeviceSelectors=function(e){var t=gae(e||window.navigator.userAgent);return[Fie(t),t]},Zte.useMobileOrientation=function(){var e=Sne(ine.useState((function(){var e=window.innerWidth>window.innerHeight?90:0;return{isPortrait:0===e,isLandscape:90===e,orientation:0===e?"portrait":"landscape"}})),2),t=e[0],n=e[1],i=ine.useCallback((function(){var e=window.innerWidth>window.innerHeight?90:0,i={isPortrait:0===e,isLandscape:90===e,orientation:0===e?"portrait":"landscape"};t.orientation!==i.orientation&&n(i)}),[t.orientation]);return ine.useEffect((function(){return void 0!==("undefined"==typeof window?"undefined":vne(window))&&Lie&&(i(),window.addEventListener("load",i,!1),window.addEventListener("resize",i,!1)),function(){window.removeEventListener("resize",i,!1),window.removeEventListener("load",i,!1)}}),[i]),t},Zte.withOrientationChange=function(e){return function(){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Cne(e)}(this,bne(t).call(this,e))).isEventListenerAdded=!1,n.handleOrientationChange=n.handleOrientationChange.bind(Cne(n)),n.onOrientationChange=n.onOrientationChange.bind(Cne(n)),n.onPageLoad=n.onPageLoad.bind(Cne(n)),n.state={isLandscape:!1,isPortrait:!1},n}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wne(e,t)}(t,ane.Component),n=t,(i=[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var e=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:0===e,isLandscape:90===e})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){void 0!==("undefined"==typeof window?"undefined":vne(window))&&Lie&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return ane.createElement(e,xne({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}])&&gne(n.prototype,i),a&&gne(n,a),t}()};const yae=Ja("applicationPrefernce/postapplicationPrefernce",(async e=>await fA.post("/ApplicationPreferenceMapping",e))),xae=Ja("applicationPrefernce/postapplicationPrefernce",(async()=>await fA.get("/ApplicationPreferenceMapping"))),bae=({formType:e})=>{const t=a.useRef(null),n=um(),i=Qt(),r=Mt(),s=null==r?void 0:r.state,l=null==s?void 0:s.editstate,[o,d]=a.useState([]),c=iA("UserId"),[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState([]),[v,g]=a.useState(l?l.AppId:null),[y,x]=a.useState([]),[b,w]=a.useState([]);a.useEffect((()=>{n(Gh({items:[{name:"Home",link:"/landing-page/home"},{name:"Application Preference Mapping",link:"/setting/application-preference-mapping"}]})),j()}),[]);const j=async()=>{var t,i;const a=await n(MP("Common Setup")).unwrap();1===(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)&&async function(t){var i,a,r,s;const l=await n(BP()).unwrap(),o=t.map((e=>n(VP({TypeName:e.ConfigName})).unwrap())),c=(await Promise.all(o)).map((e=>{var t;return(null==(t=null==e?void 0:e.data)?void 0:t.data)||[]}));d(c);const u=await n(xae()).unwrap(),p=(null==(i=null==u?void 0:u.data)?void 0:i.data)||[];if(1===(null==(a=l.data)?void 0:a.statusCode)){const t=(null==(s=null==(r=l.data)?void 0:r.data)?void 0:s.filter((e=>"A"===(null==e?void 0:e.ActiveStatus))))||[],n=p.map((e=>e.AppId));m("add"===e?t.filter((e=>!n.includes(e.AppId))):t)}}(null==(i=null==a?void 0:a.data)?void 0:i.data)};a.useEffect((()=>{var e;if(l&&o.length>0){const{PreferenceDetails:n}=l;if(n){const i=[];n.forEach((e=>{e.PreferenceCatDetails.forEach((e=>{"Y"===e.PreferredStatus&&i.push(e.PreferredSubCatId)}))})),x(i);const a=o.map((e=>{var t;const i=null==(t=e[0])?void 0:t.TypeId,a=n.find((e=>e.PreferredCatId===i)),r=a?a.PreferenceCatDetails.filter((e=>"Y"===e.PreferredStatus)).map((e=>e.PreferredSubCatId)):[];return{PreferredCatId:i,PreferenceCatDetails:e.map((e=>({PreferredSubCatId:e.ConfigId,PreferredStatus:r.includes(e.ConfigId)?"Y":"N"})))}}));w(a),null==(e=t.current)||e.setFieldsValue({AppName:null==l?void 0:l.AppId}),g(null==l?void 0:l.AppId)}}}),[l,o]);const C=e=>{var t;if(y.includes(e))return p("error"),void h("Field Already Exists");const n=[e,...y];x(n);let i=null,a=null;const r=o.map(((t,r)=>{var s;return{PreferredCatId:null==(s=t[0])?void 0:s.TypeId,PreferenceCatDetails:t.map(((t,s)=>(e===t.ConfigId&&(i=s,a=r),{PreferredSubCatId:t.ConfigId,PreferredStatus:n.includes(t.ConfigId)?"Y":"N"})))}}));if((null==l?void 0:l.PreferenceDetails)&&(l.PreferenceDetails=null==(t=null==l?void 0:l.PreferenceDetails)?void 0:t.map((e=>{var t;return{...e,PreferenceCatDetails:null==(t=null==e?void 0:e.PreferenceCatDetails)?void 0:t.map((e=>({...e,PreferredStatus:n.includes(e.PreferredSubCatId)?"Y":"N"})))}}))),null!==i&&null!==a){const e=[...o],t=[...e[a]],n=t.splice(i,1)[0];t.unshift(n),e[a]=t,d(e)}w(r)};return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:u,messageData:A}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:" Application Preference Mapping"})}),Ye.jsx("div",{className:"formDiv",style:{overflowX:"hidden",width:"100%"},children:Ye.jsxs(I,{ref:t,className:"formDivAnt",onFinish:async()=>{var e,t;const a={AppId:v,PreferenceDetails:b,CreatedBy:c},r=await n(yae(a)).unwrap();1===(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)&&i("/setting/application-preference-mapping",{state:{Notiffy:{messageType:"success",messageData:null==(t=null==r?void 0:r.data)?void 0:t.response}}})},style:{width:"100%"},children:[Ye.jsx("div",{className:"formDivPreferrnces",style:{width:"100%"},children:Ye.jsxs("div",{className:"inputFormMappingfeatures",style:{width:"100%"},children:[Ye.jsx(I.Item,{name:"AppName",style:{width:"100%"},rules:[{required:!0,message:"You must select an application"}],children:Ye.jsx(_y,{options:f.map((e=>({value:e.AppId,label:e.AppName}))),label:"App Name",id:"AppName",onChangeFunction:e=>{var n;null==(n=t.current)||n.setFieldsValue({AppName:e}),g(e)},valueData:v,isOnchanges:"edit"===e,disabled:"edit"===e,className:"field-DropDown"})}),Ye.jsx("div",{className:"features-container",children:null==o?void 0:o.slice().sort(((e,t)=>t.length-e.length)).map(((e,t)=>{var n;const i=(null==(n=e[0])?void 0:n.TypeName)||`Group ${t+1}`,a=e.filter((e=>y.includes(e.ConfigId)));return Ye.jsxs("div",{className:"feature-group",children:[Ye.jsx("div",{className:"feature-field-dropdown",children:Ye.jsx(_y,{label:Ye.jsx("label",{children:i}),options:e.filter((e=>!y.includes(e.ConfigId))).map((e=>({label:e.ConfigName,value:e.ConfigId}))),onChangeFunction:C})}),Ye.jsx("div",{className:"prev-selected-fields",children:a.map(((e,t)=>Ye.jsxs("div",{className:"prev-selectedItems",children:[Ye.jsx("p",{children:`${t+1}. ${e.ConfigName}`}),Ye.jsx(eD,{size:25,onClick:()=>(e=>{const t=y.filter((t=>t!==e.ConfigId));x(t);const n=o.map((e=>{var n;return{PreferredCatId:null==(n=e[0])?void 0:n.TypeId,PreferenceCatDetails:e.map((e=>({PreferredSubCatId:e.ConfigId,PreferredStatus:t.includes(e.ConfigId)?"Y":"N"})))}}));w(n)})(e)})]},t)))})]},i)}))})]})}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",icon:Ye.jsx(k,{})})})]})})]})})})},wae="/home/",jae="/",Cae=[{name:"Home",link:`${jae}app-page/home`},{name:"CommonMenuAccess",link:`${jae}setting/super-admin-user-menu-access`}],Sae=({formType:e})=>{const t=a.useRef(null),n=um(),i=Qt(),r=Mt(),s=null==r?void 0:r.state,l=null==s?void 0:s.editstate,[o,d]=a.useState({}),[c,u]=a.useState(1),[p,A]=a.useState(""),[h,f]=a.useState(null),[m,v]=a.useState(null),[g,y]=a.useState(),[x,b]=a.useState("Super Admin User"),[w,j]=a.useState([]),[C,S]=a.useState([]),[N,F]=a.useState([]),B=[{name:"Home",link:"/app-page/home"},{name:"CommonMenuAccess",link:"/setting/super-admin-user-menu-access"},{name:l?"Edit":"New",link:null}];a.useEffect((()=>{n(Gh({items:B})),async function(i){var a,r,s,o,d,c,u;let p=await n(Yg({UserType:i})).unwrap(),A=await n(Db()).unwrap();1===(null==(a=null==A?void 0:A.data)?void 0:a.statusCode)&&F(null==(s=null==(r=null==A?void 0:A.data)?void 0:r.data)?void 0:s.map(((e,t)=>({...e,key:null==e?void 0:e.ConfigId}))));1===(null==(o=null==p?void 0:p.data)?void 0:o.statusCode)&&j(null==(d=null==p?void 0:p.data)?void 0:d.data);if("edit"===e&&l){null==(c=t.current)||c.setFieldsValue({SuperAdminUserId:null==l?void 0:l.UserId}),y(null==l?void 0:l.UserId),F(null==l?void 0:l.SuperAdminUserAccessDetails);let e=(null==(u=null==l?void 0:l.SuperAdminUserAccessDetails)?void 0:u.filter((e=>"Y"===e.AddAccess||"Y"===e.UpdateAccess||"Y"===e.DeleteAccess||"Y"===e.ReadAccess))).map((e=>e.ConfigId));S(e)}}(x)}),[x]);const P=[{title:"SI.NO",key:"sno",align:"center",width:"80px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(c-1)+n+1})},{title:"Master Name",dataIndex:"ConfigName",key:"ConfigName",width:"180px",render:(e,t)=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[p],onFilter:(e,t)=>String(t.ConfigName).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.ConfigName)?void 0:n.localeCompare(t.ConfigName)},sortOrder:"ConfigName"===o.columnKey?o.order:null,ellipsis:!0},{title:"View",dataIndex:"ReadAccess",key:"ReadAccess",align:"center",width:"100px",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:Ye.jsx(V,{checked:"Y"===e,onClick:()=>E("ReadAccess",t,"Y"===e?"N":"Y")})})},{title:"Add",dataIndex:"AddAccess",key:"AddAccess",align:"center",width:"100px",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:Ye.jsx(V,{checked:"Y"===e,disabled:!t.ReadAccess||"Y"!==t.ReadAccess,onClick:()=>E("AddAccess",t,"Y"===e?"N":"Y")})})},{title:"Edit",dataIndex:"UpdateAccess",key:"UpdateAccess",align:"center",width:"100px",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:Ye.jsx(V,{checked:"Y"===e,disabled:!t.ReadAccess||"Y"!==t.ReadAccess,onClick:()=>E("UpdateAccess",t,"Y"===e?"N":"Y")})})},{title:"Delete",dataIndex:"DeleteAccess",key:"DeleteAccess",align:"center",width:"100px",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:Ye.jsx(V,{checked:"Y"===e,disabled:!t.ReadAccess||"Y"!==t.ReadAccess,onClick:()=>E("DeleteAccess",t,"Y"===e?"N":"Y")})})}],T={selectedRowKeys:C,onChange:e=>{var t,n=C;if(0===(null==n?void 0:n.length)&&1===(null==e?void 0:e.length))var i=null==N?void 0:N.map((t=>parseInt(t.ConfigId)===parseInt(e[0])?{...t,key:null==t?void 0:t.key,ConfigId:null==t?void 0:t.ConfigId,ConfigName:null==t?void 0:t.ConfigName,AddAccess:"Y",UpdateAccess:"Y",ReadAccess:"Y",DeleteAccess:"Y"}:t));else if(0===(null==n?void 0:n.length)&&(null==e?void 0:e.length)>1)i=null==(t=[...N])?void 0:t.map(((e,t)=>t<10?{...e,key:null==e?void 0:e.key,ConfigId:null==e?void 0:e.ConfigId,ConfigName:null==e?void 0:e.ConfigName,AddAccess:"Y",UpdateAccess:"Y",ReadAccess:"Y",DeleteAccess:"Y"}:{...e}));else if(0===(null==e?void 0:e.length))i=null==N?void 0:N.map((e=>({...e,key:null==e?void 0:e.key,ConfigId:null==e?void 0:e.ConfigId,ConfigName:null==e?void 0:e.ConfigName,AddAccess:"N",UpdateAccess:"N",ReadAccess:"N",DeleteAccess:"N"})));else if((null==n?void 0:n.length)>0&&(null==e?void 0:e.length)>=1)if((null==n?void 0:n.length)<(null==e?void 0:e.length)){let t=null==e?void 0:e.filter((e=>!(null==n?void 0:n.includes(e))));i=null==N?void 0:N.map((e=>(null==t?void 0:t.includes(null==e?void 0:e.ConfigId))?{...e,key:null==e?void 0:e.key,ConfigId:null==e?void 0:e.ConfigId,ConfigName:null==e?void 0:e.ConfigName,AddAccess:"Y",UpdateAccess:"Y",ReadAccess:"Y",DeleteAccess:"Y"}:e))}else if((null==n?void 0:n.length)>(null==e?void 0:e.length)){let t=null==n?void 0:n.filter((t=>!(null==e?void 0:e.includes(t))));i=null==N?void 0:N.map((e=>(null==t?void 0:t.includes(null==e?void 0:e.ConfigId))?{...e,key:null==e?void 0:e.key,ConfigId:null==e?void 0:e.ConfigId,ConfigName:null==e?void 0:e.ConfigName,AddAccess:"N",UpdateAccess:"N",ReadAccess:"N",DeleteAccess:"N"}:e))}S(e),F(i)}},E=(e,t,n)=>{const i=N.map((i=>{if(parseInt(i.ConfigId)===parseInt(t.ConfigId)){let a={...i,[e]:n};"ReadAccess"===e&&"N"===n&&(a={...a,AddAccess:"N",UpdateAccess:"N",DeleteAccess:"N"});return["AddAccess","UpdateAccess","DeleteAccess","ReadAccess"].some((e=>"Y"===a[e]))?C.includes(t.ConfigId)||S([...C,t.ConfigId]):S(C.filter((e=>e!==t.ConfigId))),a}return i}));F(i)};return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:h,messageData:m}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Common Menu Access"})}),Ye.jsxs("div",{className:"formDiv",children:[Ye.jsxs(I,{style:{width:"100%",justifyContent:"space-between"},ref:t,className:"formDivAnt",onFinish:async t=>{var a,r,s;let o={};if("add"===e){let e={UserId:null==t?void 0:t.SuperAdminUserId,SuperAdminUserAccessDetails:null==N?void 0:N.map((e=>({ConfigId:null==e?void 0:e.ConfigId,ReadAccess:(null==e?void 0:e.ReadAccess)?null==e?void 0:e.ReadAccess:"N",AddAccess:(null==e?void 0:e.AddAccess)?null==e?void 0:e.AddAccess:"N",UpdateAccess:(null==e?void 0:e.UpdateAccess)?null==e?void 0:e.UpdateAccess:"N",DeleteAccess:(null==e?void 0:e.DeleteAccess)?null==e?void 0:e.DeleteAccess:"N"})))};e.CreatedBy=iA("UserId"),o=await n(Vg(e)).unwrap()}else if("edit"===e){let e={UserId:null==t?void 0:t.SuperAdminUserId,SuperAdminUserAccessDetails:null==N?void 0:N.map((e=>({ConfigId:null==e?void 0:e.ConfigId,ReadAccess:(null==e?void 0:e.ReadAccess)?null==e?void 0:e.ReadAccess:"N",AddAccess:(null==e?void 0:e.AddAccess)?null==e?void 0:e.AddAccess:"N",DeleteAccess:(null==e?void 0:e.DeleteAccess)?null==e?void 0:e.DeleteAccess:"N",AccessId:null==e?void 0:e.AccessId,UpdateAccess:(null==e?void 0:e.UpdateAccess)?null==e?void 0:e.UpdateAccess:"N"})))};l&&(e.UpdatedBy=iA("UserId")),o=await n(Wg(e)).unwrap()}1==(null==(a=null==o?void 0:o.data)?void 0:a.statusCode)?i("/setting/super-admin-user-menu-access/",{state:{Notiffy:{messageType:"success",messageData:null==(r=null==o?void 0:o.data)?void 0:r.response}}}):(f("error"),v(null==(s=null==o?void 0:o.data)?void 0:s.response))},initialValues:{...l},children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"UserType",rules:[{required:!0,message:"Please Select User Type"}],children:Ye.jsx(_y,{options:[{value:"Super Admin User",label:"Super Admin User"},{value:"Marketing",label:"Marketing"}],label:Ye.jsx("label",{className:"required",children:"User Type"}),id:"UserId",field:"UserId",fieldState:!0,fieldApi:!0,className:"field-DropDown-Emp",onChangeFunction:e=>(e=>{var n;b(e),null==(n=t.current)||n.setFieldsValue({UserType:e})})(e),isOnchanges:"edit"==e,valueData:x,disabled:"edit"==e})}),Ye.jsx(I.Item,{name:"SuperAdminUserId",rules:[{required:!0,message:"Please Select SuperAdminUser"}],children:Ye.jsx(_y,{options:null==w?void 0:w.map((e=>({value:e.UserId,label:e.UserName}))),label:Ye.jsx("label",{className:"required",children:"Super Admin User Name"}),id:"UserId",field:"UserId",fieldState:!0,fieldApi:!0,className:"field-DropDown-Emp",onChangeFunction:e=>(async e=>{var n;null==(n=t.current)||n.setFieldsValue({SuperAdminUserId:e}),y(e)})(e),isOnchanges:"edit"==e,valueData:g,disabled:"edit"==e})})]})}),Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{A(e)},onSearchChange:e=>{var t;A(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{})})})]}),Ye.jsxs("div",{className:"reportTable reportTable-appMenu reportTableSub",children:[Ye.jsx(Vb,{columns:P,data:N||[],dataSource:N,rowSelection:T,pagination:e=>{u(e)},onChange:(e,t,n)=>{d(n)}})," "]})]})]})})})},Nae=Ja("appMenuAccess/getSadminUser",(async()=>await fA.get("/login?Type=Super Admin User"))),Iae=Ja("appMenuAccess/getApplications",(async({UserId:e})=>{if(null!=e&&null!=e)return await fA.get(`/appAccess?UserId=${e}`)})),Fae=Ja("appMenuAccess/getMenu",(async({AppId:e})=>{if(null!=e&&null!=e)return await fA.get(`/appMenu?AppId=${e}`)})),Bae=Ja("appMenuAccess/getPreviousMenu",(async({AppId:e,UserId:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await fA.get(`/AppMenuAccess?AppId=${e}&UserId=${t}`)})),Pae=Ja("appMenuAccess/postAppMenuAccess",(async e=>await fA.post("/AppMenuAccess",e))),kae=Ja("appMenuAccess/putAppMenuAccess",(async e=>await fA.put("/AppMenuAccess",e))),Tae=Ja("SMSCount/getSMSCount",(async()=>await fA.get("/SMSAssign"))),Eae=Ja("SMSCount/postSMSCount",(async e=>await fA.post("/SMSAssign",e))),Dae=Ja("SMSCount/putSMSCount",(async e=>await fA.put("/SMSAssign",e))),Lae="/",Uae=[{name:"Home",link:`${Lae}landing-page/home`},{name:"SMS-Assigned-Detail",link:`${Lae}setting/sms-assigned-detail`}],_ae=({formType:e})=>{const t=Qt(),n=Mt(),[i]=I.useForm(),r=um(),s=null==n?void 0:n.state,l=null==s?void 0:s.editstate,[o,d]=a.useState(),[c,u]=a.useState(),[p,A]=a.useState(),[h,f]=a.useState(null),[m,v]=a.useState(null),[g,y]=a.useState(null),[x,b]=a.useState([]),[w,j]=a.useState([]),[C,S]=a.useState([]),[N,F]=a.useState([]),[B,P]=a.useState(iA("UserId")?iA("UserId"):null);a.useEffect((()=>{try{r(Gh({items:Uae})),r(E9()).unwrap(),async function(){var e,t,n,i;try{let a=await r(Fb()).unwrap(),s=await r(tte({TypeName:"SMS Type"})).unwrap();1==(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)&&b(null==(t=null==a?void 0:a.data)?void 0:t.data),1==(null==(n=null==s?void 0:s.data)?void 0:n.statusCode)&&j(null==(i=null==s?void 0:s.data)?void 0:i.data)}catch(a){}}(),"edit"==e&&(f(null==l?void 0:l.AppId),d(null==l?void 0:l.ServiceType),u(null==l?void 0:l.CompId),D(null==l?void 0:l.AppId),L(null==l?void 0:l.CompId,null==l?void 0:l.AppId),A(null==l?void 0:l.BranchId),i.setFieldsValue({BrId:null==l?void 0:l.BranchId}),i.setFieldsValue({AppId:null==l?void 0:l.AppId}),i.setFieldsValue({CompId:null==l?void 0:l.CompId}),i.setFieldsValue({Type:null==l?void 0:l.ServiceType}),i.setFieldsValue({Count:null==l?void 0:l.AssignedCount}))}catch(t){}}),[]);const T=async()=>{var n,a,s,m,g;if("add"==e){let e={BranchId:p,CompId:c,AppId:h,AssignedCount:i.getFieldValue("Count"),ServiceType:o,CreatedBy:B},s=await r(Eae(e)).unwrap();1==(null==(n=null==s?void 0:s.data)?void 0:n.statusCode)&&(v("success"),y("SMS Assigned Successfully"),i.resetFields(["BrId","CompId","AppId","Count","Type"]),f(null),A(null),u(null),d(null),t(`${Lae}setting/sms-assigned-detail`,{state:{Notiffy:{messageType:"success",messageData:null==(a=null==s?void 0:s.data)?void 0:a.response}}}))}else{let e={UniqueId:null==l?void 0:l.UniqueId,BranchId:p,CompId:c,AppId:h,AssignedCount:i.getFieldValue("Count"),ServiceType:o,UpdatedBy:B},n=await r(Dae(e)).unwrap();1==(null==(s=null==n?void 0:n.data)?void 0:s.statusCode)&&(v("success"),y(null==(m=null==n?void 0:n.data)?void 0:m.response),i.resetFields(["BrId","CompId","AppId","Count","Type"]),f(null),A(null),u(null),d(null),t(`${Lae}setting/sms-assigned-detail`,{state:{Notiffy:{messageType:"success",messageData:null==(g=null==n?void 0:n.data)?void 0:g.response}}}))}};const E=a.useCallback((()=>{y(null),v(null)}),[]),D=async e=>{var t,n;try{let i=await r(ob(e)).unwrap();1==(null==(t=null==i?void 0:i.data)?void 0:t.statusCode)&&S(null==(n=null==i?void 0:i.data)?void 0:n.data)}catch(i){}},L=async(e,t=h)=>{var n,a;i.setFieldsValue({CompId:e}),u(e),A(null),F([]),i.resetFields(["BrId"]);let s=await r(oy({AppId:t,CompId:e})).unwrap();1===(null==(n=null==s?void 0:s.data)?void 0:n.statusCode)&&F(null==(a=null==s?void 0:s.data)?void 0:a.data)};return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:m,messageData:g,onComplete:E}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{style:{margin:"1rem 0"},children:Ye.jsx(ab,{title:"SMS-Assigned-Detail"})}),Ye.jsxs("div",{className:"handleSubmitSMS",children:[Ye.jsxs(I,{form:i,onFinish:T,children:[Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application"}],children:Ye.jsx(_y,{options:null==x?void 0:x.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"Application",label:Ye.jsx("label",{className:"required",children:"Application"}),className:"field-DropDown",isOnchanges:!!h,onChangeFunction:async e=>{i.setFieldsValue({AppId:e}),f(e),A(null),u(null),F([]),S([]),i.resetFields(["BrId","CompId"]),D(e)},valueData:h,disabled:"edit"==e})}),Ye.jsx(I.Item,{name:"CompId",rules:[{required:!0,message:"Please Select Company"}],children:Ye.jsx(_y,{options:null==C?void 0:C.map((e=>({value:e.CompId,label:e.CompName}))),placeholder:"Company",label:Ye.jsx("label",{className:"required",children:"Company"}),className:"field-DropDown",isOnchanges:!!c,onChangeFunction:L,valueData:c,disabled:"edit"==e})}),Ye.jsx(I.Item,{name:"BrId",rules:[{required:!0,message:"Please Select Branch"}],children:Ye.jsx(_y,{options:null==N?void 0:N.map((e=>({value:e.BrId,label:e.BrName}))),placeholder:"Branch",label:Ye.jsx("label",{className:"required",children:"Branch"}),className:"field-DropDown",isOnchanges:!!p,onChangeFunction:e=>{i.setFieldsValue({BrId:e}),A(e)},valueData:p,disabled:"edit"==e})}),Ye.jsx(I.Item,{name:"Type",rules:[{required:!0,message:"Please Select Type"}],children:Ye.jsx(_y,{options:null==w?void 0:w.map((e=>({value:e.ConfigId,label:e.ConfigName}))),placeholder:"Type",label:Ye.jsx("label",{className:"required",children:"SMS-Type"}),className:"field-DropDown",isOnchanges:!!o,onChangeFunction:e=>{i.setFieldsValue({Type:e}),d(e)},valueData:o,disabled:"edit"==e})}),Ye.jsx(I.Item,{name:"Count",rules:[{required:!0,pattern:/^[0-9]+$/,message:"Please Enter Count"}],children:Ye.jsx(Oy,{field:"Count",name:"Count",label:Ye.jsx("label",{className:"required",children:"Count"}),onChange:e=>{return t=null==e?void 0:e.target.value,void i.setFieldsValue({Count:t});var t},className:"Input",fieldState:!!l,autocomplete:"off",isOnChange:!!l})})]}),Ye.jsx(I,{form:i,onFinish:T,children:Ye.jsx("div",{className:"submitButtonDiv",children:Ye.jsx(Ry,{buttonText:"Submit",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0})})})]})]})]})})})},Oae="/",Mae=[{name:"Home",link:`${Oae}landing-page/home`},{name:"SMS-Assigned-Detail",link:`${Oae}setting/sms-assigned-detail`}],Rae=()=>{const e=Qt(),t=um(),n=Mt(),[i,r]=a.useState({}),[s,l]=a.useState(""),[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState(1),[h,f]=a.useState(!1),[m,v]=a.useState([]),g=Tf(O9),[y,x]=a.useState([]);a.useEffect((()=>{var e,i,a;try{t(Gh({items:Mae})),t(E9()).unwrap(),N(),(null==(e=null==n?void 0:n.state)?void 0:e.Notiffy)&&(d(null==(i=null==n?void 0:n.state)?void 0:i.Notiffy.messageType),u(null==(a=null==n?void 0:n.state)?void 0:a.Notiffy.messageData))}catch(r){}}),[]);const b=[{title:"SI.NO",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(p-1)+n+1})},{title:"Branch Name",dataIndex:"BranchName",key:"BranchName",width:"100px",align:"left",filteredValue:[s],onFilter:(e,t)=>String(t.BranchName).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.CurrName)?void 0:n.localeCompare(t.CurrName)},sortOrder:"CurrName"===i.columnKey?i.order:null,ellipsis:!0},{title:"Assigned Count",dataIndex:"TotalCount",key:"TotalCount",align:"right",width:"100px",render:(e,t)=>Ye.jsx("span",{title:"Click to view SMS details",style:{color:"#1890ff",textDecoration:"underline",cursor:"pointer",fontWeight:500,transition:"color 0.2s"},onClick:()=>{v(null==t?void 0:t.SMSDetails),f(!0)},onMouseOver:e=>e.currentTarget.style.color="#40a9ff",onMouseOut:e=>e.currentTarget.style.color="#1890ff",children:null==t?void 0:t.TotalCount})},{title:"Used Count",dataIndex:"UsedCount",key:"UsedCount",align:"right",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black"},children:"0"})},{title:"Balance Count",dataIndex:"UsedCount",key:"UsedCount",align:"right",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black"},children:"0"})}],w=[{title:"SI.NO",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(p-1)+n+1})},{title:"Branch Name",dataIndex:"BranchName",key:"BranchName",width:"100px",align:"left",filteredValue:[s]},{title:"Assigned Count",dataIndex:"AssignedCount",key:"AssignedCount",align:"left",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:null==t?void 0:t.AssignedCount})},{title:"Used Count",dataIndex:"ConvRate",key:"ConvRate",align:"right",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Assigned Date",dataIndex:"CreatedDate",key:"CreatedDate",align:"right",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black"},children:B(e)})},{title:"Action",key:"Action",dataIndex:"Action",width:"100px",align:"center",render:(e,t,n)=>g.length>=1?Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>F(t,n)})})}):null}],j=(e,t,n)=>{r(n)},S=e=>{A(e)},N=async()=>{var e,n;try{let i=await t(Tae()).unwrap();1==(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&x(null==(n=null==i?void 0:i.data)?void 0:n.data)}catch(i){}},I=a.useCallback((()=>{u(null),d(null)}),[]),F=(t,n)=>{e(`${Oae}setting/sms-assigned-detail/update`,{state:{editstate:t}},{key:n})};function B(e){var t,n;return null==(n=null==(t=e.split("T"))?void 0:t[0])?void 0:n.split("-").reverse().join("-")}return Ye.jsxs("div",{className:"userPageTable",children:[Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:o,messageData:c,onComplete:I}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"SMS-Assigned-Detail"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{l(e)},onSearchChange:e=>{var t;l(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",color:"901D77",handleSubmit:()=>{e(`${Oae}setting/sms-assigned-detail/new`)},icon:Ye.jsx(C,{}),children:"OPEN"})]})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:b,data:y,dataSource:y,pagination:S,onChange:j})," "]})]}),Ye.jsx(SP,{open:h,title:"SMS Assigned Details",footer:!1,width:900,children:Ye.jsx("div",{children:Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:w,data:m,dataSource:m,pagination:S,onChange:j})," "]})}),handleCancel:()=>{f(!1)}})]})},Qae="/home/",Hae="/home/",Vae=({formType:e})=>{const t=Qt(),n=um(),i=Mt(),r=a.useRef(null),s=null==i?void 0:i.state,l=null==s?void 0:s.editstate,[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState(null),[h,f]=a.useState(null),[m,v]=a.useState([]),[g,y]=a.useState(null),[x,b]=a.useState([]),[w,j]=a.useState(null),[C,S]=a.useState(""),N=iA("UserId"),F=[{name:"Home",link:`${Hae}landing-page/home`},{name:"Testimonials",link:`${Hae}setting/testimonials`},{name:l?"Edit":"New",link:null}];a.useEffect((()=>{P(),b([])}),[h]),a.useEffect((()=>{var t,i,a,s,o,d,c;n(Gh({items:F})),"edit"===e&&l&&(S(null==l?void 0:l.ImageUrl),f(null==l?void 0:l.AdminId),y(null==l?void 0:l.AppName),j(null==l?void 0:l.CompName),null==(t=r.current)||t.setFieldsValue({UserId:null==l?void 0:l.AdminId}),null==(i=r.current)||i.setFieldsValue({AppId:null==l?void 0:l.AppName}),null==(a=r.current)||a.setFieldsValue({CompId:null==l?void 0:l.CompName}),null==(s=r.current)||s.setFieldsValue({CustName:null==l?void 0:l.CustomerName}),null==(o=r.current)||o.setFieldsValue({Link:null==l?void 0:l.VideoLink}),null==(d=r.current)||d.setFieldsValue({feedback:null==l?void 0:l.CustomerReview}),null==(c=r.current)||c.setFieldsValue({Designation:null==l?void 0:l.Designation})),B()}),[]);const B=async()=>{var e,t;let i=await n(H6()).unwrap();1===(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&A(null==(t=null==i?void 0:i.data)?void 0:t.data)},P=async()=>{var e,t;let i=await n(V6(h)).unwrap();1===(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)?v(null==(t=null==i?void 0:i.data)?void 0:t.data):v([])},T=a.useCallback((()=>{u(null),d(null)}),[]);return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:o,messageData:c,onComplete:T}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Testimonials"})}),Ye.jsx("div",{className:"formDiv formDivTestimonials",children:Ye.jsxs(I,{ref:r,className:"formDivAnt",onFinish:async i=>{var a,r,s,o,c,p;if("edit"===e){const e={AppId:null==l?void 0:l.AppId,CompId:null==l?void 0:l.CompId,CustomerName:null==i?void 0:i.CustName,VideoLink:null==i?void 0:i.Link,CustomerReview:null==i?void 0:i.feedback,ImageUrl:C,AdminId:null==l?void 0:l.AdminId,CreatedBy:N,Designation:null==i?void 0:i.Designation,UniqueId:null==l?void 0:l.UniqueId};let o=await n(Y6(e)).unwrap();1==(null==(a=null==o?void 0:o.data)?void 0:a.statusCode)?t(`${Hae}setting/testimonials/`,{state:{Notiffy:{messageType:"success",messageData:null==(r=null==o?void 0:o.data)?void 0:r.response}}}):(d("error"),u(null==(s=null==o?void 0:o.data)?void 0:s.response))}else{const e={AppId:g,CompId:w,CustomerName:null==i?void 0:i.CustName,VideoLink:null==i?void 0:i.Link,CustomerReview:null==i?void 0:i.feedback,Designation:null==i?void 0:i.Designation,ImageUrl:C,AdminId:h,CreatedBy:N};let a=await n(q6(e)).unwrap();1==(null==(o=null==a?void 0:a.data)?void 0:o.statusCode)?t(`${Hae}setting/testimonials/`,{state:{Notiffy:{messageType:"success",messageData:null==(c=null==a?void 0:a.data)?void 0:c.response}}}):(d("error"),u(null==(p=null==a?void 0:a.data)?void 0:p.response))}},initialValues:l,children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"UserId",rules:[{required:!0,message:"Please Select Admin Name "}],children:Ye.jsx(_y,{options:null==p?void 0:p.map((e=>({value:e.UserId,label:""!=e.UserName&&null!=e.UserName&&null!=e.UserName?e.UserName:e.MobileNo}))),placeholder:"UserId",label:Ye.jsx("label",{className:"required",children:"Admin Name"}),className:"field-DropDown",isOnchanges:!("edit"!=e&&!h),onChangeFunction:async e=>{var t;null==(t=r.current)||t.setFieldsValue({UserId:e}),y(void 0),await f(e),j(),y()},valueData:h,disabled:"edit"==e})}),Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application Name "}],children:Ye.jsx(_y,{options:null==m?void 0:m.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"AppId",label:Ye.jsx("label",{className:"required",children:"Application Name"}),className:"field-DropDown",isOnchanges:!!g,onChangeFunction:async e=>{var t,i,a;null==(t=r.current)||t.setFieldsValue({AppId:e}),await y(e);let s=await n(z6({AppId:e,UserId:h})).unwrap();1===(null==(i=null==s?void 0:s.data)?void 0:i.statusCode)?b(null==(a=null==s?void 0:s.data)?void 0:a.data):b([])},valueData:g,disabled:"edit"==e})}),Ye.jsx(I.Item,{name:"CompId",rules:[{required:!0,message:"Please Select Company Name "}],children:Ye.jsx(_y,{options:null==x?void 0:x.map((e=>({value:e.CompId,label:e.CompName}))),placeholder:"CompId",label:Ye.jsx("label",{className:"required",children:"Company Name"}),className:"field-DropDown",isOnchanges:!!w,onChangeFunction:async e=>{var t;null==(t=r.current)||t.setFieldsValue({CompId:e}),await j(e)},valueData:w,disabled:"edit"==e})}),Ye.jsx(I.Item,{name:"CustName",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter CustomerName"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"CustName",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Customer Name"}),fieldState:!0,fieldApi:!0,isOnChange:!!(null==l?void 0:l.Proprietor)})}),Ye.jsx(I.Item,{name:"Designation",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Designation"},{validator:async(e,t)=>(await lA(t),t&&t.length>50?Promise.reject("Designation should not exceed 50 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"Designation",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Designation"}),fieldState:!0,fieldApi:!0,isOnChange:!!(null==l?void 0:l.Designation)})}),Ye.jsx(I.Item,{name:"feedback",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Review"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(My,{field:"feedback",name:"test",label:Ye.jsx("label",{className:"required",children:"Customer Review"}),className:"Input",fieldState:!0,fieldApi:!0,autocomplete:"off",isOnChange:!!(null==l?void 0:l.CustomerReview)})}),Ye.jsx(I.Item,{name:"Link",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Video Link"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Link",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Video Link"}),fieldState:!0,fieldApi:!0,isOnChange:!!(null==l?void 0:l.VideoLink)})}),Ye.jsxs("div",{className:"upload_btn",children:[Ye.jsx("p",{children:"Customer Image"}),Ye.jsx(Yy,{singleImage:!0,updateImageUrl:e=>{S(e)},ImageLink:"edit"==e?null==l?void 0:l.ImageUrl:""})]})]})}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0})})]})})]})})})},zae=Ja("AppVersion/getConfigNames",(async()=>await fA.get("/configMaster?TypeName=Device App Name"))),qae=Ja("AppVersion/postDeviceVersion",(async e=>await fA.post("/AppVersions",e))),Wae=Ja("AppVersion/getDeviceVersion",(async()=>await fA.get("/AppVersions?activeStatus=A"))),Yae=Ja("AppVersion/getDeviceVersionManagement",(async e=>await fA.get(`/AppVersionManagement?appId=${null==e?void 0:e.appId}&compId=${null==e?void 0:e.compId}&branchId=${null==e?void 0:e.branchId}&appType=${null==e?void 0:e.appType}`))),Kae=Ja("AppVersion/AppVersionManagementPost",(async e=>await fA.put("/AppVersionManagement",e))),Gae=({updateAppUrl:e,AppLinkLink:t})=>{const n=um(),[i,r]=a.useState([]),[s,l]=a.useState(!1),o=["application/vnd.android.package-archive","application/x-msdownload"];a.useEffect((()=>{null==t&&(e(""),r([]))}),[t]);return Ye.jsx(w,{fileList:i,onChange:async({fileList:t})=>{var i,a;if(t.length>0){const d=t[0].originFileObj;if(!(d&&o.includes(d.type)))return j.error({title:"Invalid File Type",content:"Only .apk files are allowed."}),void r([]);l(!0);try{const t=await n(qy(d)).unwrap();if(null==(i=null==t?void 0:t.data)?void 0:i.status){const n=t.data.image;e(n),r([{url:n,name:d.name}]),x.success("APK uploaded successfully!")}else x.error((null==(a=null==t?void 0:t.data)?void 0:a.message)||"Upload failed")}catch(s){x.error("Upload failed")}finally{l(!1)}}else e(""),r([])},onPreview:()=>{j.info({title:"APK File",content:"APK files cannot be previewed."})},beforeUpload:e=>{const t=o.includes(e.type);return t||j.error({title:"Invalid File Type",content:"Only .apk files are allowed."}),t||w.LIST_IGNORE},showUploadList:{showPreviewIcon:!1},customRequest:({file:e,onSuccess:t})=>{setTimeout((()=>t("ok")),0)},children:0===i.length?Ye.jsx("div",{style:{border:"1px dashed gray",borderRadius:"50%",height:"4.5rem",width:"4.5rem",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",cursor:"pointer",position:"relative"},children:s?Ye.jsx(be,{indicator:Ye.jsx(we,{style:{fontSize:24},spin:!0})}):Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(je,{}),Ye.jsx("div",{style:{marginTop:8},children:"Upload"})]})}):null})},$ae=({fieldState:e,fieldApi:t,...n})=>{const{value:i}=e,[r,s]=a.useState(""),{field:l,onChange:o,isOnChange:d,onBlur:c,label:u,forwardedRef:p,required:A,valueData:h,...f}=n;return a.useEffect((()=>{h||s(!1)}),[h]),Ye.jsx("div",{className:"example",children:Ye.jsx(Uy,{label:u,value:r,isOnChange:d,children:Ye.jsx(g,{...f,id:l,ref:p,defaultValue:null==i?void 0:i.toString(),required:A,onChange:e=>{var t;s(null==(t=null==e?void 0:e.target)?void 0:t.value),o&&o(e)},onBlur:e=>{c&&c(e)}})})})},Xae=({options:e,onChangeFunction:t,isOnchanges:n,className:i,defaultValue:r,disabled:s,...l})=>{const[o,d]=a.useState(""),[c,u]=a.useState(n),{field:p,onChange:A,label:h,onBlur:f,forwardedRef:g,required:y,valueData:x,labelChange:b,...w}=l;return Ye.jsx(Uy,{label:h,value:o,isOnChange:null!=x,children:Ye.jsx(m,{showSearch:!0,style:{width:250},defaultValue:r||null,optionFilterProp:"children",filterOption:b?null:(e,t)=>((null==t?void 0:t.label)??"").toLowerCase().includes(e.toLowerCase()),filterSort:b?null:(e,t)=>{var n,i;return null==(i=null==(n=(null==e?void 0:e.label)??"")?void 0:n.toLowerCase())?void 0:i.localeCompare(((null==t?void 0:t.label)??"").toLowerCase())},value:x,onChange:e=>t(e),onSelect:e=>(async()=>{await u(!0)})(),options:e,className:v(` ${i}`),disabled:!!s})})},Jae=Ja("signinDetails/getSigninDetails",(async e=>null!=(null==e?void 0:e.role)&&null!=(null==e?void 0:e.role)&&(null==e?void 0:e.pageNumber)?await fA.get(`/UserLoginLog?pageNumber=${null==e?void 0:e.pageNumber}&role=${null==e?void 0:e.role}`):await fA.get(`/UserLoginLog?pageNumber=${null==e?void 0:e.pageNumber}`))),Zae=Ja("signinDetails/getSigninDetails",(async({Fromdate:e,Todate:t,userId:n})=>null!=e&&null!=e&&null!=t&&null!=t&&null!=n&&null!=n?await fA.get(`/UserLoginLog?FromDate=${e}&ToDate=${t} &userId=${n}`):null!=n&&null!=n?await fA.get(`/UserLoginLog?userId=${n}`):void 0)),ere=Ja("feature/getOnlineUserTracking",(async e=>await fA.get(`/OnlineUserTracking?pageNumber=${null==e?void 0:e.pageNumber}`))),tre=Ja("signinDetails/getUserOtp",(async({AppId:e,BranchId:t,CompId:n,userTypeName:i,pageNumber:a})=>{const r=new URLSearchParams;return e&&r.append("AppId",e),t&&r.append("BranchId",t),n&&r.append("CompId",n),i&&r.append("userTypeName",i),a&&r.append("pageNumber",a),await fA.get(`/UserOtp?${r.toString()}`)})),nre=Ja("signinDetails/PostUserOtp",(async e=>await fA.post("/VerifyOtp",e))),ire="https://www.pozo.dev/pozo-common-api";Ja("getPurcheseInfo",(async()=>await fA.get(`${ire}/UserPurchaseHistory`)));const are=Ja("getPurcheseInfo",(async()=>await fA.get(`${ire}/UserPurchaseHistory/Count`))),rre=Ja("getPurcheseInfoFilter",(async e=>await fA.get(`${ire}/UserPurchaseHistory?type=${e}`))),sre=Ja("ticketDetails/getTicketMaster",(async({AppId:e,BranchId:t,CompId:n,status:i,pageNumber:a})=>{const r=new URLSearchParams;return e&&r.append("appId",e),t&&r.append("branchId",t),n&&r.append("compId",n),i&&r.append("status",i),r.append("pageNumber",a),await fA.get(`/TicketMaster?${r.toString()}`)})),lre=Ja("ticketDetails/getBranch",(async({AppId:e,CompId:t})=>{if(null!=e&&null!=e&&null!=t&&null!=t)return await fA.get(`/branch?appId=${e}&compId=${t}`)})),ore=Ja("ticketDetails/getCompany",(async({AppId:e})=>{if(null!=e&&null!=e)return await fA.get(`/Company?appId=${e}&activeStatus=A`)})),dre=Ja("ticketDetails/getConfigurationType",(async()=>await fA.get("/ConfigMaster?typeName=Ticket Status"))),cre=Ja("ticketDetails/getConfigurationType",(async e=>await fA.post("/TicketMaster",e))),ure=Ja("ticketDetails/getConfigurationType",(async e=>await fA.put("/TicketMaster",e))),pre=Ja("ticketDetails/getStatusCount",(async()=>await fA.get("/TicketLogHistory/Count"))),Are=[{name:"Home",link:"/app-page/home"}],hre=[{name:"Home",link:"/app-page/home"}],fre="/home/",mre=({formType:e})=>{const t=a.useRef(null),n=Mt(),i=null==n?void 0:n.state,r=null==i?void 0:i.editstate,s=um(),l=Qt(),o=iA("UserId"),[d,c]=a.useState(null),[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState(null),[v,g]=a.useState(!1),[y,x]=a.useState(!1),[b,w]=a.useState(!1),[j,C]=a.useState(),[S,N]=a.useState(null),[B,P]=a.useState(null),[T,E]=a.useState(window.innerWidth),[D,L]=a.useState([]),U=iA("UserType");iA("UserId");const _=Tf(Py),O=Tf(wb),[M,R]=a.useState(null),[Q,H]=a.useState([]),V=[{name:"Home",link:`${fre}landing-page/home`},{name:"Warehouse",link:`${fre}setting/warehouse-master/`},{name:r?"Edit":"New",link:null}],z=a.useCallback((()=>{p(null),c(null)}),[]);a.useEffect((()=>{s(Gh({items:V})),"Admin"==U&&q()}),[]),a.useEffect((()=>{const e=()=>E(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]),a.useEffect((()=>{if(r){(async()=>{var e,n,i,a,s,l,o,d,c,u,p,A;C(null==r?void 0:r.CompId),m(null==r?void 0:r.AppId),R(null==r?void 0:r.UserId),W(null==r?void 0:r.UserId),null==(e=t.current)||e.setFieldsValue({CompId:null==r?void 0:r.CompId}),null==(n=null==t?void 0:t.current)||n.setFieldsValue({AppId:null==r?void 0:r.AppId}),null==(i=null==t?void 0:t.current)||i.setFieldsValue({WarehouseName:null==r?void 0:r.BrName}),null==(a=null==t?void 0:t.current)||a.setFieldsValue({ContactPerson:null==r?void 0:r.BrInCharge}),null==(s=null==t?void 0:t.current)||s.setFieldsValue({MobileNumber:null==r?void 0:r.BrMobile}),null==(l=null==t?void 0:t.current)||l.setFieldsValue({Address1:null==r?void 0:r.Address1}),null==(o=null==t?void 0:t.current)||o.setFieldsValue({Address2:null==r?void 0:r.Address2}),null==(d=null==t?void 0:t.current)||d.setFieldsValue({Zip:null==r?void 0:r.Zip}),x(null==r?void 0:r.Zip),null==(c=null==t?void 0:t.current)||c.setFieldsValue({City:null==r?void 0:r.City}),null==(u=null==t?void 0:t.current)||u.setFieldsValue({Dist:null==r?void 0:r.Dist}),null==(p=null==t?void 0:t.current)||p.setFieldsValue({State:null==r?void 0:r.State}),null==(A=null==t?void 0:t.current)||A.setFieldsValue({Email:null==r?void 0:r.BrEmail})})()}}),[]),a.useEffect((()=>{K(f)}),[f]);const q=async()=>{var e,n,i,a,r,d,u,A,f;const{data:v}=await(null==(e=s(jy(o)))?void 0:e.unwrap());h(null==(n=null==v?void 0:v.data)?void 0:n.filter((e=>null==_?void 0:_.some((t=>{var n;return t.AppId==(null==e?void 0:e.AppId)&&(null==(n=null==t?void 0:t.FeatAddonDetails)?void 0:n.some((e=>"Warehouse"==(null==e?void 0:e.FeatAddonName)&&(null==e?void 0:e.Count)>0)))}))))),1===(null==(i=null==v?void 0:v.data)?void 0:i.length)?(g(!0),m(null==(r=null==(a=null==v?void 0:v.data)?void 0:a[0])?void 0:r.AppId),null==(A=null==t?void 0:t.current)||A.setFieldsValue({AppId:null==(u=null==(d=null==v?void 0:v.data)?void 0:d[0])?void 0:u.AppId})):(null==(f=null==v?void 0:v.data)?void 0:f.length)<1&&(l(`${fre}setting/warehouse-master/`),c("error"),p("You don't have an active application"))},W=e=>{const t=null==_?void 0:_.filter((t=>t.UserId===e)),n=Array.from(null==t?void 0:t.reduce(((e,t)=>{if("Active"===t.Status){const n=`${t.AppId}-${t.AppName}`;e.has(n)||e.set(n,t)}return e}),new Map).values());H(n)},Y=async e=>{var n,i,a,r,d,c,u;null==(n=null==t?void 0:t.current)||n.setFieldsValue({AppId:e}),t.current.resetFields(["CompId"]),C(null),m(e),K(e);var p=[];if(1==(null==(i=(p="Admin"===U?await s(xy({UserId:o,AppId:e,CompId:e})).unwrap():await s(xy({UserId:M,AppId:e,CompId:e})).unwrap()).data)?void 0:i.statusCode)){const e=null==(a=p.data)?void 0:a.data[0];null==(d=null==(r=p.data)?void 0:r.data)||d.length;let t=null==(u=null==(c=null==e?void 0:e.FeatAddonDetails)?void 0:c.find((e=>"Warehouse"==(null==e?void 0:e.FeatAddonName))))?void 0:u.Count;e&&((null==e?void 0:e.WarehouseCount)>=t||!t)&&setTimeout((function(){l(`${fre}setting/warehouse-master/`,{state:{Notiffy:{messageType:"error",messageData:t?"Your have already Created Maximum Number of Warhouse":"you have to buy Warehouse "}}},700)}))}else Trial=[]},K=async e=>{var t,n,i,a,r;let l=await s(wy({UserId:"Admin"!=U?M:o,AppId:e})).unwrap();1===(null==(t=null==l?void 0:l.data)?void 0:t.statusCode)?(await L(null==(i=null==(n=null==l?void 0:l.data)?void 0:n.data)?void 0:i.filter((e=>"D"!==e.ActiveStatus))),null==(r=null==(a=null==l?void 0:l.data)?void 0:a.data)||r.length):L([])};return Ye.jsx("section",{className:"warehouse-form-section",children:Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:d,messageData:u,onComplete:z}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Warehouse Creation"})}),Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{ref:t,onFinish:async t=>{var n,i,a;const d={AppId:null==t?void 0:t.AppId,CompId:null==t?void 0:t.CompId,BrName:null==t?void 0:t.WarehouseName,BrInCharge:null==t?void 0:t.ContactPerson,BrMobile:null==t?void 0:t.MobileNumber,BrEmail:null==t?void 0:t.Email,Address1:null==t?void 0:t.Address1,Address2:null==t?void 0:t.Address2,Zip:null==t?void 0:t.Zip,City:null==t?void 0:t.City,Dist:null==t?void 0:t.Dist,State:null==t?void 0:t.State,Latitude:null==t?void 0:t.Latitude,Longitude:null==t?void 0:t.Longitude,LocationType:"W",BrShName:"AA",UserId:"Admin"!=U?M:o};let u={};if("add"===e){d.CreatedBy=o;const{data:e}=await(null==(n=s(dy(d)))?void 0:n.unwrap());u=e}else{d.UpdatedBy=o,d.BrId=null==r?void 0:r.BrId;const{data:e}=await(null==(i=s(cy(d)))?void 0:i.unwrap());u=e}1===(null==u?void 0:u.statusCode)?(c("succes"),p("Warehouse Added Successfully"),l(`${fre}setting/warehouse-master/`)):(c("error"),p(null==(a=null==u?void 0:u.data)?void 0:a.response))},initialValues:r,children:[Ye.jsxs("div",{className:"warehouse-form-items",children:["Super Admin"===U||"Super Admin User"===U?Ye.jsx(I.Item,{name:"UserId",rules:[{required:!0,message:"Please Select Admin"}],children:Ye.jsx(_y,{options:null==O?void 0:O.map((e=>({value:e.UserId,label:""!=e.UserName&&null!=e.UserName&&null!=e.UserName?null==e?void 0:e.UserName:e.MobileNo}))),placeholder:"UserId",label:"Admin Name",className:"field-DropDown",isOnchanges:!("edit"!=e&&!M),onChangeFunction:async e=>{var n,i;null==(n=t.current)||n.setFieldsValue({UserId:e}),m(null),C(null),g(!1),null==(i=t.current)||i.resetFields(["AppId"]),t.current.resetFields(["CompId"]),await R(e),"Admin"!=U&&W(e)},valueData:M,disabled:"edit"==e})}):null,"Super Admin"===U||"Super Admin User"===U?Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application"}],children:Ye.jsx(_y,{options:null==Q?void 0:Q.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"AppId",label:"Application Name",className:"field-DropDown",isOnchanges:!("edit"!=e&&!f),onChangeFunction:Y,valueData:f,disabled:!("edit"!=e&&!v)})}):Ye.jsx(Ye.Fragment,{children:Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application"}],children:Ye.jsx(_y,{options:null==A?void 0:A.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"AppId",label:Ye.jsx("label",{className:"required",children:"Application Name"}),className:"field-DropDown",isOnchanges:!("edit"!=e&&!f),onChangeFunction:Y,valueData:f,disabled:!("edit"!=e&&!v)})})}),Ye.jsx(I.Item,{name:"CompId",rules:[{required:!0,message:"Please Select Company"}],children:Ye.jsx(_y,{options:null==D?void 0:D.map((e=>({value:e.CompId,label:e.CompName}))),placeholder:"CompId",label:Ye.jsx("label",{className:"required",children:"Company Name"}),className:"field-DropDown",isOnchanges:!!j,onChangeFunction:async e=>{var n;C(e),null==(n=t.current)||n.setFieldsValue({CompId:e})},valueData:j,disabled:"edit"==e})}),Ye.jsx(I.Item,{name:"WarehouseName",rules:[{required:!0,message:"Please Enter Warehouse Name"}],children:Ye.jsx(Oy,{fieldState:!0,autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Warehouse Name"}),isOnChange:"edit"==e,onChange:e=>{}})}),Ye.jsx(I.Item,{name:"ContactPerson",rules:[{required:!0,message:"Please Enter Contact Person"}],children:Ye.jsx(Oy,{fieldState:!0,autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Contact Person"}),isOnChange:"edit"==e,onChange:e=>{}})}),Ye.jsx(I.Item,{name:"MobileNumber",rules:[{required:!0,pattern:/^[0-9]{10}$/,message:"Enter a Valid Mobile No."}],children:Ye.jsx(Oy,{label:Ye.jsx("label",{className:"required",children:"Mobile Number"}),fieldState:!0,maxLength:"10",autoComplete:"nope",isOnChange:"edit"==e,inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")})}),Ye.jsx(I.Item,{name:"Email",rules:[{pattern:/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/,message:"Enter a valid email address"}],children:Ye.jsx(Oy,{field:"Email",autoComplete:"nope",label:"Email",fieldState:!0,isOnChange:"edit"==e})})]}),Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("div",{className:"formAddressDiv",children:Ye.jsx("p",{children:" Address Details"})}),Ye.jsxs("div",{className:"subinputForm subinputForm2",children:[Ye.jsxs("div",{className:b&&T>768?"warehouse-add-with-map":"warehouse-add-without-map",children:[Ye.jsx(I.Item,{name:"Address1",rules:[{required:"edit"!=e,pattern:/^(?!\s*$).+/,message:"Please Enter Address1"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Address1",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Address Line1"}),fieldState:!0,fieldApi:!0,isOnChange:!!(null==r?void 0:r.Address1)})}),Ye.jsx(I.Item,{name:"Address2",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Address2"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Address2",autoComplete:"off",label:"Address Line2",fieldState:!0,fieldApi:!0,isOnChange:!!(null==r?void 0:r.Address2)})}),Ye.jsx(I.Item,{name:"Zip",rules:[{required:"edit"!=e,validator:(e,t)=>t?/^\d{6}$/.test(t)?Promise.resolve():Promise.reject("Zipcode must be exactly 6 digits"):Promise.reject("Please enter Zipcode")}],children:Ye.jsx(Oy,{field:"Zip",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Zipcode"}),maxLength:"6",fieldState:!0,fieldApi:!0,isOnChange:!!(null==r?void 0:r.Zip),onChange:async e=>{var n,i;if((null==(n=null==e?void 0:e.target)?void 0:n.value.length)<6)return x(!1),!1;await(async e=>{var n;let i="";await fetch(`https://api.postalpincode.in/pincode/${e}`).then((e=>e.text())).then((e=>i=JSON.parse(e))),"Success"===i[0].Status?(x(!0),null==(n=t.current)||n.setFieldsValue({City:i[0].PostOffice[0].Block,Dist:i[0].PostOffice[0].District,State:i[0].PostOffice[0].State})):x(!1)})(null==(i=null==e?void 0:e.target)?void 0:i.value)},inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")})}),y?Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(I.Item,{name:"City",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"City",disabled:!0,isOnChange:!0,label:"City",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{name:"Dist",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Dist",disabled:!0,isOnChange:!0,label:"District",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{name:"State",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"State",disabled:!0,isOnChange:!0,label:"State",fieldState:!0,fieldApi:!0})})]}):"",Ye.jsx(I.Item,{name:"Latitude",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Latitude"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Latitude",label:"Latitude",isOnChange:!(!S&&!(null==r?void 0:r.Latitude)),fieldState:!0,fieldApi:!0,autoComplete:"off",suffix:T>768&&Ye.jsx(F,{title:b?"Close Map":"View Map",children:Ye.jsx(jv,{style:{color:"#1677ff",fontSize:"18px",cursor:"pointer"},onClick:()=>(e=>{w(e)})(!b)})})})}),Ye.jsx(I.Item,{name:"Longitude",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Longitude"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"Longitude",label:"Longitude",isOnChange:!(!B&&!(null==r?void 0:r.Longitude)),fieldState:!0,fieldApi:!0,autoComplete:"off"})})]}),b&&Ye.jsx("div",{className:"MapDiv",children:Ye.jsx(ib,{onMarkerClick:async e=>{var n;N("function"==typeof e.lat?e.lat():S),P("function"==typeof e.lng?e.lng():B),null==(n=t.current)||n.setFieldsValue({Latitude:"function"==typeof e.lat?e.lat():S,Longitude:"function"==typeof e.lng?e.lng():B})},prevlca:r?{lat:r.Latitude,lng:r.Longitude}:null})})]})]}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0})})]})})]})})})})},vre="/home/";function gre(e,t,n){return Math.max(e,Math.min(t,n))}class yre{advance(e){var t;if(!this.isRunning)return;let n=!1;if(this.lerp)this.value=(i=this.value,a=this.to,r=60*this.lerp,s=e,function(e,t,n){return(1-n)*e+n*t}(i,a,1-Math.exp(-r*s))),Math.round(this.value)===this.to&&(this.value=this.to,n=!0);else{this.currentTime+=e;const t=gre(0,this.currentTime/this.duration,1);n=t>=1;const i=n?1:this.easing(t);this.value=this.from+(this.to-this.from)*i}var i,a,r,s;null==(t=this.onUpdate)||t.call(this,this.value,n),n&&this.stop()}stop(){this.isRunning=!1}fromTo(e,t,{lerp:n=.1,duration:i=1,easing:a=e=>e,onStart:r,onUpdate:s}){this.from=this.value=e,this.to=t,this.lerp=n,this.duration=i,this.easing=a,this.currentTime=0,this.isRunning=!0,null==r||r(),this.onUpdate=s}}class xre{constructor({wrapper:e,content:t,autoResize:n=!0,debounce:a=250}={}){i(this,"resize",(()=>{this.onWrapperResize(),this.onContentResize()})),i(this,"onWrapperResize",(()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)})),i(this,"onContentResize",(()=>{this.wrapper===window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)})),this.wrapper=e,this.content=t,n&&(this.debouncedResize=function(e,t){let n;return function(){let i=arguments,a=this;clearTimeout(n),n=setTimeout((function(){e.apply(a,i)}),t)}}(this.resize,a),this.wrapper===window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){var e,t;null==(e=this.wrapperResizeObserver)||e.disconnect(),null==(t=this.contentResizeObserver)||t.disconnect(),window.removeEventListener("resize",this.debouncedResize,!1)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}}class bre{constructor(){this.events={}}emit(e,...t){let n=this.events[e]||[];for(let i=0,a=n.length;i<a;i++)n[i](...t)}on(e,t){var n;return(null==(n=this.events[e])?void 0:n.push(t))||(this.events[e]=[t]),()=>{var n;this.events[e]=null==(n=this.events[e])?void 0:n.filter((e=>t!==e))}}off(e,t){var n;this.events[e]=null==(n=this.events[e])?void 0:n.filter((e=>t!==e))}destroy(){this.events={}}}const wre=100/6;class jre{constructor(e,{wheelMultiplier:t=1,touchMultiplier:n=1}){i(this,"onTouchStart",(e=>{const{clientX:t,clientY:n}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=n,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})})),i(this,"onTouchMove",(e=>{const{clientX:t,clientY:n}=e.targetTouches?e.targetTouches[0]:e,i=-(t-this.touchStart.x)*this.touchMultiplier,a=-(n-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=t,this.touchStart.y=n,this.lastDelta={x:i,y:a},this.emitter.emit("scroll",{deltaX:i,deltaY:a,event:e})})),i(this,"onTouchEnd",(e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})})),i(this,"onWheel",(e=>{let{deltaX:t,deltaY:n,deltaMode:i}=e;t*=1===i?wre:2===i?this.windowWidth:1,n*=1===i?wre:2===i?this.windowHeight:1,t*=this.wheelMultiplier,n*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:n,event:e})})),i(this,"onWindowResize",(()=>{this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight})),this.element=e,this.wheelMultiplier=t,this.touchMultiplier=n,this.touchStart={x:null,y:null},this.emitter=new bre,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,{passive:!1}),this.element.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.removeEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.removeEventListener("touchend",this.onTouchEnd,{passive:!1})}}class Cre{constructor({wrapper:e=window,content:t=document.documentElement,wheelEventsTarget:n=e,eventsTarget:i=n,smoothWheel:a=!0,syncTouch:r=!1,syncTouchLerp:s=.075,touchInertiaMultiplier:l=35,duration:o,easing:d=e=>Math.min(1,1.001-Math.pow(2,-10*e)),lerp:c=!o&&.1,infinite:u=!1,orientation:p="vertical",gestureOrientation:A="vertical",touchMultiplier:h=1,wheelMultiplier:f=1,autoResize:m=!0,__experimental__naiveDimensions:v=!1}={}){this.__isSmooth=!1,this.__isScrolling=!1,this.__isStopped=!1,this.__isLocked=!1,this.onVirtualScroll=({deltaX:e,deltaY:t,event:n})=>{if(n.ctrlKey)return;const i=n.type.includes("touch"),a=n.type.includes("wheel");if(this.options.syncTouch&&i&&"touchstart"===n.type&&!this.isStopped&&!this.isLocked)return void this.reset();const r=0===e&&0===t,s="vertical"===this.options.gestureOrientation&&0===t||"horizontal"===this.options.gestureOrientation&&0===e;if(r||s)return;let l=n.composedPath();if(l=l.slice(0,l.indexOf(this.rootElement)),l.find((e=>{var t,n,r,s,l;return(null===(t=e.hasAttribute)||void 0===t?void 0:t.call(e,"data-lenis-prevent"))||i&&(null===(n=e.hasAttribute)||void 0===n?void 0:n.call(e,"data-lenis-prevent-touch"))||a&&(null===(r=e.hasAttribute)||void 0===r?void 0:r.call(e,"data-lenis-prevent-wheel"))||(null===(s=e.classList)||void 0===s?void 0:s.contains("lenis"))&&!(null===(l=e.classList)||void 0===l?void 0:l.contains("lenis-stopped"))})))return;if(this.isStopped||this.isLocked)return void n.preventDefault();if(this.isSmooth=this.options.syncTouch&&i||this.options.smoothWheel&&a,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();n.preventDefault();let o=t;"both"===this.options.gestureOrientation?o=Math.abs(t)>Math.abs(e)?t:e:"horizontal"===this.options.gestureOrientation&&(o=e);const d=i&&this.options.syncTouch,c=i&&"touchend"===n.type&&Math.abs(o)>5;c&&(o=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+o,Object.assign({programmatic:!1},d?{lerp:c?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(!this.__preventNextScrollEvent&&!this.isScrolling){const e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-e),this.emit()}},window.lenisVersion="1.0.42",e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:t,wheelEventsTarget:n,eventsTarget:i,smoothWheel:a,syncTouch:r,syncTouchLerp:s,touchInertiaMultiplier:l,duration:o,easing:d,lerp:c,infinite:u,gestureOrientation:A,orientation:p,touchMultiplier:h,wheelMultiplier:f,autoResize:m,__experimental__naiveDimensions:v},this.animate=new yre,this.emitter=new bre,this.dimensions=new xre({wrapper:e,content:t,autoResize:m}),this.toggleClassName("lenis",!0),this.velocity=0,this.isLocked=!1,this.isStopped=!1,this.isSmooth=r||a,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll=new jre(i,{touchMultiplier:h,wheelMultiplier:f}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.toggleClassName("lenis",!1),this.toggleClassName("lenis-smooth",!1),this.toggleClassName("lenis-scrolling",!1),this.toggleClassName("lenis-stopped",!1),this.toggleClassName("lenis-locked",!1)}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}setScroll(e){this.isHorizontal?this.rootElement.scrollLeft=e:this.rootElement.scrollTop=e}resize(){this.dimensions.resize()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.isStopped=!1,this.reset())}stop(){this.isStopped||(this.isStopped=!0,this.animate.stop(),this.reset())}raf(e){const t=e-(this.time||e);this.time=e,this.animate.advance(.001*t)}scrollTo(e,{offset:t=0,immediate:n=!1,lock:i=!1,duration:a=this.options.duration,easing:r=this.options.easing,lerp:s=!a&&this.options.lerp,onComplete:l,force:o=!1,programmatic:d=!0}={}){if(!this.isStopped&&!this.isLocked||o){if(["top","left","start"].includes(e))e=0;else if(["bottom","right","end"].includes(e))e=this.limit;else{let n;if("string"==typeof e?n=document.querySelector(e):(null==e?void 0:e.nodeType)&&(n=e),n){if(this.options.wrapper!==window){const e=this.options.wrapper.getBoundingClientRect();t-=this.isHorizontal?e.left:e.top}const i=n.getBoundingClientRect();e=(this.isHorizontal?i.left:i.top)+this.animatedScroll}}if("number"==typeof e){if(e+=t,e=Math.round(e),this.options.infinite?d&&(this.targetScroll=this.animatedScroll=this.scroll):e=gre(0,e,this.limit),n)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),void(null==l||l(this));if(!d){if(e===this.targetScroll)return;this.targetScroll=e}this.animate.fromTo(this.animatedScroll,e,{duration:a,easing:r,lerp:s,onStart:()=>{i&&(this.isLocked=!0),this.isScrolling=!0},onUpdate:(e,t)=>{this.isScrolling=!0,this.velocity=e-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=e,this.setScroll(this.scroll),d&&(this.targetScroll=e),t||this.emit(),t&&(this.reset(),this.emit(),null==l||l(this),this.__preventNextScrollEvent=!0,requestAnimationFrame((()=>{delete this.__preventNextScrollEvent})))}})}}}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll;var e}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isSmooth(){return this.__isSmooth}set isSmooth(e){this.__isSmooth!==e&&(this.__isSmooth=e,this.toggleClassName("lenis-smooth",e))}get isScrolling(){return this.__isScrolling}set isScrolling(e){this.__isScrolling!==e&&(this.__isScrolling=e,this.toggleClassName("lenis-scrolling",e))}get isStopped(){return this.__isStopped}set isStopped(e){this.__isStopped!==e&&(this.__isStopped=e,this.toggleClassName("lenis-stopped",e))}get isLocked(){return this.__isLocked}set isLocked(e){this.__isLocked!==e&&(this.__isLocked=e,this.toggleClassName("lenis-locked",e))}get className(){let e="lenis";return this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isSmooth&&(e+=" lenis-smooth"),e}toggleClassName(e,t){this.rootElement.classList.toggle(e,t),this.emitter.emit("className change",this)}}function Sre(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nre(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t} +/*! + * GSAP 3.13.0 + * https://gsap.com + * + * @license Copyright 2008-2025, GreenSock. All rights reserved. + * Subject to the terms at https://gsap.com/standard-license + * @author: Jack Doyle, jack@greensock.com +*/var Ire,Fre,Bre,Pre,kre,Tre,Ere,Dre,Lre,Ure,_re,Ore,Mre,Rre,Qre,Hre,Vre,zre,qre,Wre,Yre,Kre,Gre,$re,Xre,Jre,Zre,ese,tse,nse,ise,ase,rse={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},sse={duration:.5,overwrite:!1,delay:0},lse=1e8,ose=1e-8,dse=2*Math.PI,cse=dse/4,use=0,pse=Math.sqrt,Ase=Math.cos,hse=Math.sin,fse=function(e){return"string"==typeof e},mse=function(e){return"function"==typeof e},vse=function(e){return"number"==typeof e},gse=function(e){return void 0===e},yse=function(e){return"object"==typeof e},xse=function(e){return!1!==e},bse=function(){return"undefined"!=typeof window},wse=function(e){return mse(e)||fse(e)},jse="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Cse=Array.isArray,Sse=/(?:-?\.?\d|\.)+/gi,Nse=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ise=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Fse=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Bse=/[+-]=-?[.\d]+/,Pse=/[^,'"\[\]\s]+/gi,kse=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Tse={},Ese={},Dse=function(e){return(Ese=dle(e,Tse))&&dde},Lse=function(e,t){return!t&&void 0},Use=function(e,t){return e&&(Tse[e]=t)&&Ese&&(Ese[e]=t)||Tse},_se=function(){return 0},Ose={suppressEvents:!0,isStart:!0,kill:!1},Mse={suppressEvents:!0,kill:!1},Rse={suppressEvents:!0},Qse={},Hse=[],Vse={},zse={},qse={},Wse=30,Yse=[],Kse="",Gse=function(e){var t,n,i=e[0];if(yse(i)||mse(i)||(e=[e]),!(t=(i._gsap||{}).harness)){for(n=Yse.length;n--&&!Yse[n].targetTest(i););t=Yse[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new joe(e[n],t)))||e.splice(n,1);return e},$se=function(e){return e._gsap||Gse(Rle(e))[0]._gsap},Xse=function(e,t,n){return(n=e[t])&&mse(n)?e[t]():gse(n)&&e.getAttribute&&e.getAttribute(t)||n},Jse=function(e,t){return(e=e.split(",")).forEach(t)||e},Zse=function(e){return Math.round(1e5*e)/1e5||0},ele=function(e){return Math.round(1e7*e)/1e7||0},tle=function(e,t){var n=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),"+"===n?e+i:"-"===n?e-i:"*"===n?e*i:e/i},nle=function(e,t){for(var n=t.length,i=0;e.indexOf(t[i])<0&&++i<n;);return i<n},ile=function(){var e,t,n=Hse.length,i=Hse.slice(0);for(Vse={},Hse.length=0,e=0;e<n;e++)(t=i[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},ale=function(e){return!!(e._initted||e._startAt||e.add)},rle=function(e,t,n,i){Hse.length&&!Fre&&ile(),e.render(t,n,i||!!(Fre&&t<0&&ale(e))),Hse.length&&!Fre&&ile()},sle=function(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(Pse).length<2?t:fse(e)?e.trim():e},lle=function(e){return e},ole=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},dle=function(e,t){for(var n in t)e[n]=t[n];return e},cle=function e(t,n){for(var i in n)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(t[i]=yse(n[i])?e(t[i]||(t[i]={}),n[i]):n[i]);return t},ule=function(e,t){var n,i={};for(n in e)n in t||(i[n]=e[n]);return i},ple=function(e){var t,n=e.parent||Pre,i=e.keyframes?(t=Cse(e.keyframes),function(e,n){for(var i in n)i in e||"duration"===i&&t||"ease"===i||(e[i]=n[i])}):ole;if(xse(e.inherit))for(;n;)i(e,n.vars.defaults),n=n.parent||n._dp;return e},Ale=function(e,t,n,i,a){void 0===n&&(n="_first"),void 0===i&&(i="_last");var r,s=e[i];if(a)for(r=t[a];s&&s[a]>r;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[i]=t,t._prev=s,t.parent=t._dp=e,t},hle=function(e,t,n,i){void 0===n&&(n="_first"),void 0===i&&(i="_last");var a=t._prev,r=t._next;a?a._next=r:e[n]===t&&(e[n]=r),r?r._prev=a:e[i]===t&&(e[i]=a),t._next=t._prev=t.parent=null},fle=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},mle=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},vle=function(e,t,n,i){return e._startAt&&(Fre?e._startAt.revert(Mse):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},gle=function e(t){return!t||t._ts&&e(t.parent)},yle=function(e){return e._repeat?xle(e._tTime,e=e.duration()+e._rDelay)*e:0},xle=function(e,t){var n=Math.floor(e=ele(e/t));return e&&n===e?n-1:n},ble=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},wle=function(e){return e._end=ele(e._start+(e._tDur/Math.abs(e._ts||e._rts||ose)||0))},jle=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=ele(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),wle(e),n._dirty||mle(n,e)),e},Cle=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=ble(e.rawTime(),t),(!t._dur||Ule(0,t.totalDuration(),n)-t._tTime>ose)&&t.render(n,!0)),mle(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-1e-8}},Sle=function(e,t,n,i){return t.parent&&fle(t),t._start=ele((vse(n)?n:n||e!==Pre?Ele(e,n,t):e._time)+t._delay),t._end=ele(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Ale(e,t,"_first","_last",e._sort?"_start":0),Ble(t)||(e._recent=t),i||Cle(e,t),e._ts<0&&jle(e,e._tTime),e},Nle=function(e,t){return Tse.ScrollTrigger?Tse.ScrollTrigger.create(t,e):void 0},Ile=function(e,t,n,i,a){return koe(e,t,a),e._initted?!n&&e._pt&&!Fre&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&Lre!==coe.frame?(Hse.push(e),e._lazy=[a,i],1):void 0:1},Fle=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},Ble=function(e){var t=e.data;return"isFromStart"===t||"isStart"===t},Ple=function(e,t,n,i){var a=e._repeat,r=ele(t)||0,s=e._tTime/e._tDur;return s&&!i&&(e._time*=r/e._dur),e._dur=r,e._tDur=a?a<0?1e10:ele(r*(a+1)+e._rDelay*a):r,s>0&&!i&&jle(e,e._tTime=e._tDur*s),e.parent&&wle(e),n||mle(e.parent,e),e},kle=function(e){return e instanceof Soe?mle(e):Ple(e,e._dur)},Tle={_start:0,endTime:_se,totalDuration:_se},Ele=function e(t,n,i){var a,r,s,l=t.labels,o=t._recent||Tle,d=t.duration()>=lse?o.endTime(!1):t._dur;return fse(n)&&(isNaN(n)||n in l)?(r=n.charAt(0),s="%"===n.substr(-1),a=n.indexOf("="),"<"===r||">"===r?(a>=0&&(n=n.replace(/=/,"")),("<"===r?o._start:o.endTime(o._repeat>=0))+(parseFloat(n.substr(1))||0)*(s?(a<0?o:i).totalDuration()/100:1)):a<0?(n in l||(l[n]=d),l[n]):(r=parseFloat(n.charAt(a-1)+n.substr(a+1)),s&&i&&(r=r/100*(Cse(i)?i[0]:i).totalDuration()),a>1?e(t,n.substr(0,a-1),i)+r:d+r)):null==n?d:+n},Dle=function(e,t,n){var i,a,r=vse(t[1]),s=(r?2:1)+(e<2?0:1),l=t[s];if(r&&(l.duration=t[1]),l.parent=n,e){for(i=l,a=n;a&&!("immediateRender"in i);)i=a.vars.defaults||{},a=xse(a.vars.inherit)&&a.parent;l.immediateRender=xse(i.immediateRender),e<2?l.runBackwards=1:l.startAt=t[s-1]}return new Uoe(t[0],l,t[s+1])},Lle=function(e,t){return e||0===e?t(e):t},Ule=function(e,t,n){return n<e?e:n>t?t:n},_le=function(e,t){return fse(e)&&(t=kse.exec(e))?t[1]:""},Ole=[].slice,Mle=function(e,t){return e&&yse(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&yse(e[0]))&&!e.nodeType&&e!==kre},Rle=function(e,t,n){return Bre&&!t&&Bre.selector?Bre.selector(e):!fse(e)||n||!Tre&&uoe()?Cse(e)?function(e,t,n){return void 0===n&&(n=[]),e.forEach((function(e){var i;return fse(e)&&!t||Mle(e,1)?(i=n).push.apply(i,Rle(e)):n.push(e)}))||n}(e,n):Mle(e)?Ole.call(e,0):e?[e]:[]:Ole.call((t||Ere).querySelectorAll(e),0)},Qle=function(e){return e=Rle(e)[0]||Lse()||{},function(t){var n=e.current||e.nativeElement||e;return Rle(t,n.querySelectorAll?n:n===e?Lse()||Ere.createElement("div"):e)}},Hle=function(e){return e.sort((function(){return.5-Math.random()}))},Vle=function(e){if(mse(e))return e;var t=yse(e)?e:{each:e},n=goe(t.ease),i=t.from||0,a=parseFloat(t.base)||0,r={},s=i>0&&i<1,l=isNaN(i)||s,o=t.axis,d=i,c=i;return fse(i)?d=c={center:.5,edges:.5,end:1}[i]||0:!s&&l&&(d=i[0],c=i[1]),function(e,s,u){var p,A,h,f,m,v,g,y,x,b=(u||t).length,w=r[b];if(!w){if(!(x="auto"===t.grid?0:(t.grid||[1,lse])[1])){for(g=-1e8;g<(g=u[x++].getBoundingClientRect().left)&&x<b;);x<b&&x--}for(w=r[b]=[],p=l?Math.min(x,b)*d-.5:i%x,A=x===lse?0:l?b*c/x-.5:i/x|0,g=0,y=lse,v=0;v<b;v++)h=v%x-p,f=A-(v/x|0),w[v]=m=o?Math.abs("y"===o?f:h):pse(h*h+f*f),m>g&&(g=m),m<y&&(y=m);"random"===i&&Hle(w),w.max=g-y,w.min=y,w.v=b=(parseFloat(t.amount)||parseFloat(t.each)*(x>b?b-1:o?"y"===o?b/x:x:Math.max(x,b/x))||0)*("edges"===i?-1:1),w.b=b<0?a-b:a,w.u=_le(t.amount||t.each)||0,n=n&&b<0?moe(n):n}return b=(w[e]-w.min)/w.max||0,ele(w.b+(n?n(b):b)*w.v)+w.u}},zle=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var i=ele(Math.round(parseFloat(n)/e)*e*t);return(i-i%1)/t+(vse(n)?0:_le(n))}},qle=function(e,t){var n,i,a=Cse(e);return!a&&yse(e)&&(n=a=e.radius||lse,e.values?(e=Rle(e.values),(i=!vse(e[0]))&&(n*=n)):e=zle(e.increment)),Lle(t,a?mse(e)?function(t){return i=e(t),Math.abs(i-t)<=n?i:t}:function(t){for(var a,r,s=parseFloat(i?t.x:t),l=parseFloat(i?t.y:0),o=lse,d=0,c=e.length;c--;)(a=i?(a=e[c].x-s)*a+(r=e[c].y-l)*r:Math.abs(e[c]-s))<o&&(o=a,d=c);return d=!n||o<=n?e[d]:t,i||d===t||vse(t)?d:d+_le(t)}:zle(e))},Wle=function(e,t,n,i){return Lle(Cse(e)?!t:!0===n?!!(n=0):!i,(function(){return Cse(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+.99*n))/n)*n*i)/i}))},Yle=function(e,t,n){return Lle(n,(function(n){return e[~~t(n)]}))},Kle=function(e){for(var t,n,i,a,r=0,s="";~(t=e.indexOf("random(",r));)i=e.indexOf(")",t),a="["===e.charAt(t+7),n=e.substr(t+7,i-t-7).match(a?Pse:Sse),s+=e.substr(r,t-r)+Wle(a?n:+n[0],a?0:+n[1],+n[2]||1e-5),r=i+1;return s+e.substr(r,e.length-r)},Gle=function(e,t,n,i,a){var r=t-e,s=i-n;return Lle(a,(function(t){return n+((t-e)/r*s||0)}))},$le=function(e,t,n){var i,a,r,s=e.labels,l=lse;for(i in s)(a=s[i]-t)<0==!!n&&a&&l>(a=Math.abs(a))&&(r=i,l=a);return r},Xle=function(e,t,n){var i,a,r,s=e.vars,l=s[t],o=Bre,d=e._ctx;if(l)return i=s[t+"Params"],a=s.callbackScope||e,n&&Hse.length&&ile(),d&&(Bre=d),r=i?l.apply(a,i):l.call(a),Bre=o,r},Jle=function(e){return fle(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Fre),e.progress()<1&&Xle(e,"onInterrupt"),e},Zle=[],eoe=function(e){if(e)if(e=!e.name&&e.default||e,bse()||e.headless){var t=e.name,n=mse(e),i=t&&!n&&e.init?function(){this._props=[]}:e,a={init:_se,render:qoe,add:Boe,kill:Yoe,modifier:Woe,rawVars:0},r={targetTest:0,get:0,getSetter:Qoe,aliases:{},register:0};if(uoe(),e!==i){if(zse[t])return;ole(i,ole(ule(e,a),r)),dle(i.prototype,dle(a,ule(e,r))),zse[i.prop=t]=i,e.targetTest&&(Yse.push(i),Qse[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Use(t,i),e.register&&e.register(dde,i,$oe)}else Zle.push(e)},toe=255,noe={aqua:[0,toe,toe],lime:[0,toe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,toe],navy:[0,0,128],white:[toe,toe,toe],olive:[128,128,0],yellow:[toe,toe,0],orange:[toe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[toe,0,0],pink:[toe,192,203],cyan:[0,toe,toe],transparent:[toe,toe,toe,0]},ioe=function(e,t,n){return(6*(e+=e<0?1:e>1?-1:0)<1?t+(n-t)*e*6:e<.5?n:3*e<2?t+(n-t)*(2/3-e)*6:t)*toe+.5|0},aoe=function(e,t,n){var i,a,r,s,l,o,d,c,u,p,A=e?vse(e)?[e>>16,e>>8&toe,e&toe]:0:noe.black;if(!A){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),noe[e])A=noe[e];else if("#"===e.charAt(0)){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),r=e.charAt(3),e="#"+i+i+a+a+r+r+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(A=parseInt(e.substr(1,6),16))>>16,A>>8&toe,A&toe,parseInt(e.substr(7),16)/255];A=[(e=parseInt(e.substr(1),16))>>16,e>>8&toe,e&toe]}else if("hsl"===e.substr(0,3))if(A=p=e.match(Sse),t){if(~e.indexOf("="))return A=e.match(Nse),n&&A.length<4&&(A[3]=1),A}else s=+A[0]%360/360,l=+A[1]/100,i=2*(o=+A[2]/100)-(a=o<=.5?o*(l+1):o+l-o*l),A.length>3&&(A[3]*=1),A[0]=ioe(s+1/3,i,a),A[1]=ioe(s,i,a),A[2]=ioe(s-1/3,i,a);else A=e.match(Sse)||noe.transparent;A=A.map(Number)}return t&&!p&&(i=A[0]/toe,a=A[1]/toe,r=A[2]/toe,o=((d=Math.max(i,a,r))+(c=Math.min(i,a,r)))/2,d===c?s=l=0:(u=d-c,l=o>.5?u/(2-d-c):u/(d+c),s=d===i?(a-r)/u+(a<r?6:0):d===a?(r-i)/u+2:(i-a)/u+4,s*=60),A[0]=~~(s+.5),A[1]=~~(100*l+.5),A[2]=~~(100*o+.5)),n&&A.length<4&&(A[3]=1),A},roe=function(e){var t=[],n=[],i=-1;return e.split(loe).forEach((function(e){var a=e.match(Ise)||[];t.push.apply(t,a),n.push(i+=a.length+1)})),t.c=n,t},soe=function(e,t,n){var i,a,r,s,l="",o=(e+l).match(loe),d=t?"hsla(":"rgba(",c=0;if(!o)return e;if(o=o.map((function(e){return(e=aoe(e,t,1))&&d+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"})),n&&(r=roe(e),(i=n.c).join(l)!==r.c.join(l)))for(s=(a=e.replace(loe,"1").split(Ise)).length-1;c<s;c++)l+=a[c]+(~i.indexOf(c)?o.shift()||d+"0,0,0,0)":(r.length?r:o.length?o:n).shift());if(!a)for(s=(a=e.split(loe)).length-1;c<s;c++)l+=a[c]+o[c];return l+a[s]},loe=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in noe)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),ooe=/hsl[a]?\(/,doe=function(e){var t,n=e.join(" ");if(loe.lastIndex=0,loe.test(n))return t=ooe.test(n),e[1]=soe(e[1],t),e[0]=soe(e[0],t,roe(e[1])),!0},coe=(zre=Date.now,qre=500,Wre=33,Yre=zre(),Kre=Yre,$re=Gre=1e3/240,Jre=function e(t){var n,i,a,r,s=zre()-Kre,l=!0===t;if((s>qre||s<0)&&(Yre+=s-Wre),((n=(a=(Kre+=s)-Yre)-$re)>0||l)&&(r=++Qre.frame,Hre=a-1e3*Qre.time,Qre.time=a/=1e3,$re+=n+(n>=Gre?4:Gre-n),i=1),l||(Ore=Mre(e)),i)for(Vre=0;Vre<Xre.length;Vre++)Xre[Vre](a,Hre,r,t)},Qre={time:0,frame:0,tick:function(){Jre(!0)},deltaRatio:function(e){return Hre/(1e3/(e||60))},wake:function(){Dre&&(!Tre&&bse()&&(kre=Tre=window,Ere=kre.document||{},Tse.gsap=dde,(kre.gsapVersions||(kre.gsapVersions=[])).push(dde.version),Dse(Ese||kre.GreenSockGlobals||!kre.gsap&&kre||{}),Zle.forEach(eoe)),Rre="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,Ore&&Qre.sleep(),Mre=Rre||function(e){return setTimeout(e,$re-1e3*Qre.time+1|0)},_re=1,Jre(2))},sleep:function(){(Rre?cancelAnimationFrame:clearTimeout)(Ore),_re=0,Mre=_se},lagSmoothing:function(e,t){qre=e||1/0,Wre=Math.min(t||33,qre)},fps:function(e){Gre=1e3/(e||240),$re=1e3*Qre.time+Gre},add:function(e,t,n){var i=t?function(t,n,a,r){e(t,n,a,r),Qre.remove(i)}:e;return Qre.remove(e),Xre[n?"unshift":"push"](i),uoe(),i},remove:function(e,t){~(t=Xre.indexOf(e))&&Xre.splice(t,1)&&Vre>=t&&Vre--},_listeners:Xre=[]},Qre),uoe=function(){return!_re&&coe.wake()},poe={},Aoe=/^[\d.\-M][\d.\-,\s]/,hoe=/["']/g,foe=function(e){for(var t,n,i,a={},r=e.substr(1,e.length-3).split(":"),s=r[0],l=1,o=r.length;l<o;l++)n=r[l],t=l!==o-1?n.lastIndexOf(","):n.length,i=n.substr(0,t),a[s]=isNaN(i)?i.replace(hoe,"").trim():+i,s=n.substr(t+1).trim();return a},moe=function(e){return function(t){return 1-e(1-t)}},voe=function e(t,n){for(var i,a=t._first;a;)a instanceof Soe?e(a,n):!a.vars.yoyoEase||a._yoyo&&a._repeat||a._yoyo===n||(a.timeline?e(a.timeline,n):(i=a._ease,a._ease=a._yEase,a._yEase=i,a._yoyo=n)),a=a._next},goe=function(e,t){return e&&(mse(e)?e:poe[e]||function(e){var t,n,i,a,r=(e+"").split("("),s=poe[r[0]];return s&&r.length>1&&s.config?s.config.apply(null,~e.indexOf("{")?[foe(r[1])]:(t=e,n=t.indexOf("(")+1,i=t.indexOf(")"),a=t.indexOf("(",n),t.substring(n,~a&&a<i?t.indexOf(")",i+1):i)).split(",").map(sle)):poe._CE&&Aoe.test(e)?poe._CE("",e):s}(e))||t},yoe=function(e,t,n,i){void 0===n&&(n=function(e){return 1-t(1-e)}),void 0===i&&(i=function(e){return e<.5?t(2*e)/2:1-t(2*(1-e))/2});var a,r={easeIn:t,easeOut:n,easeInOut:i};return Jse(e,(function(e){for(var t in poe[e]=Tse[e]=r,poe[a=e.toLowerCase()]=n,r)poe[a+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=poe[e+"."+t]=r[t]})),r},xoe=function(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}},boe=function e(t,n,i){var a=n>=1?n:1,r=(i||(t?.3:.45))/(n<1?n:1),s=r/dse*(Math.asin(1/a)||0),l=function(e){return 1===e?1:a*Math.pow(2,-10*e)*hse((e-s)*r)+1},o="out"===t?l:"in"===t?function(e){return 1-l(1-e)}:xoe(l);return r=dse/r,o.config=function(n,i){return e(t,n,i)},o},woe=function e(t,n){void 0===n&&(n=1.70158);var i=function(e){return e?--e*e*((n+1)*e+n)+1:0},a="out"===t?i:"in"===t?function(e){return 1-i(1-e)}:xoe(i);return a.config=function(n){return e(t,n)},a};Jse("Linear,Quad,Cubic,Quart,Quint,Strong",(function(e,t){var n=t<5?t+1:t;yoe(e+",Power"+(n-1),t?function(e){return Math.pow(e,n)}:function(e){return e},(function(e){return 1-Math.pow(1-e,n)}),(function(e){return e<.5?Math.pow(2*e,n)/2:1-Math.pow(2*(1-e),n)/2}))})),poe.Linear.easeNone=poe.none=poe.Linear.easeIn,yoe("Elastic",boe("in"),boe("out"),boe()),Zre=7.5625,nse=2*(tse=1/(ese=2.75)),ise=2.5*tse,yoe("Bounce",(function(e){return 1-ase(1-e)}),ase=function(e){return e<tse?Zre*e*e:e<nse?Zre*Math.pow(e-1.5/ese,2)+.75:e<ise?Zre*(e-=2.25/ese)*e+.9375:Zre*Math.pow(e-2.625/ese,2)+.984375}),yoe("Expo",(function(e){return Math.pow(2,10*(e-1))*e+e*e*e*e*e*e*(1-e)})),yoe("Circ",(function(e){return-(pse(1-e*e)-1)})),yoe("Sine",(function(e){return 1===e?1:1-Ase(e*cse)})),yoe("Back",woe("in"),woe("out"),woe()),poe.SteppedEase=poe.steps=Tse.SteppedEase={config:function(e,t){void 0===e&&(e=1);var n=1/e,i=e+(t?0:1),a=t?1:0;return function(e){return((i*Ule(0,.99999999,e)|0)+a)*n}}},sse.ease=poe["quad.out"],Jse("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(e){return Kse+=e+","+e+"Params,"}));var joe=function(e,t){this.id=use++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Xse,this.set=t?t.getSetter:Qoe},Coe=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Ple(this,+e.duration,1,1),this.data=e.data,Bre&&(this._ctx=Bre,Bre.data.push(this)),_re||coe.wake()}var t=e.prototype;return t.delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,Ple(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(uoe(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(jle(this,e),!n._dp||n.parent||Cle(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&Sle(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===ose||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),rle(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+yle(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?e:1-e)+yle(this),t):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?xle(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?ble(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||-1e-8===e?0:this._rts,this.totalTime(Ule(-Math.abs(this._delay),this.totalDuration(),n),!1!==t),wle(this),function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e}(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(uoe(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==ose&&(this._tTime-=ose)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=e;var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&Sle(t,this,e-this._delay),this}return this._start},t.endTime=function(e){return this._start+(xse(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?ble(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){void 0===e&&(e=Rse);var t=Fre;return Fre=e,ale(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),"nested"!==this.data&&!1!==e.kill&&this.kill(),Fre=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,kle(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,kle(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(Ele(this,e),xse(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,xse(t)),this._dur||(this._zTime=-1e-8),this},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-1e-8:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},t.isActive=function(){var e,t=this.parent||this._dp,n=this._start;return!(t&&!(this._ts&&this._initted&&t.isActive()&&(e=t.rawTime(!0))>=n&&e<this.endTime(!0)-ose))},t.eventCallback=function(e,t,n){var i=this.vars;return arguments.length>1?(t?(i[e]=t,n&&(i[e+"Params"]=n),"onUpdate"===e&&(this._onUpdate=t)):delete i[e],this):i[e]},t.then=function(e){var t=this;return new Promise((function(n){var i=mse(e)?e:lle,a=function(){var e=t.then;t.then=null,mse(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),n(i),t.then=e};t._initted&&1===t.totalProgress()&&t._ts>=0||!t._tTime&&t._ts<0?a():t._prom=a}))},t.kill=function(){Jle(this)},e}();ole(Coe.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Soe=function(e){function t(t,n){var i;return void 0===t&&(t={}),(i=e.call(this,t)||this).labels={},i.smoothChildTiming=!!t.smoothChildTiming,i.autoRemoveChildren=!!t.autoRemoveChildren,i._sort=xse(t.sortChildren),Pre&&Sle(t.parent||Pre,Sre(i),n),t.reversed&&i.reverse(),t.paused&&i.paused(!0),t.scrollTrigger&&Nle(Sre(i),t.scrollTrigger),i}Nre(t,e);var n=t.prototype;return n.to=function(e,t,n){return Dle(0,arguments,this),this},n.from=function(e,t,n){return Dle(1,arguments,this),this},n.fromTo=function(e,t,n,i){return Dle(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,ple(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new Uoe(e,t,Ele(this,n),1),this},n.call=function(e,t,n){return Sle(this,Uoe.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,i,a,r,s){return n.duration=t,n.stagger=n.stagger||i,n.onComplete=r,n.onCompleteParams=s,n.parent=this,new Uoe(e,n,Ele(this,a)),this},n.staggerFrom=function(e,t,n,i,a,r,s){return n.runBackwards=1,ple(n).immediateRender=xse(n.immediateRender),this.staggerTo(e,t,n,i,a,r,s)},n.staggerFromTo=function(e,t,n,i,a,r,s,l){return i.startAt=n,ple(i).immediateRender=xse(i.immediateRender),this.staggerTo(e,t,i,a,r,s,l)},n.render=function(e,t,n){var i,a,r,s,l,o,d,c,u,p,A,h,f=this._time,m=this._dirty?this.totalDuration():this._tDur,v=this._dur,g=e<=0?0:ele(e),y=this._zTime<0!=e<0&&(this._initted||!v);if(this!==Pre&&g>m&&e>=0&&(g=m),g!==this._tTime||n||y){if(f!==this._time&&v&&(g+=this._time-f,e+=this._time-f),i=g,u=this._start,o=!(c=this._ts),y&&(v||(f=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(A=this._yoyo,l=v+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*l+e,t,n);if(i=ele(g%l),g===m?(s=this._repeat,i=v):((s=~~(p=ele(g/l)))&&s===p&&(i=v,s--),i>v&&(i=v)),p=xle(this._tTime,l),!f&&this._tTime&&p!==s&&this._tTime-p*l-this._dur<=0&&(p=s),A&&1&s&&(i=v-i,h=1),s!==p&&!this._lock){var x=A&&1&p,b=x===(A&&1&s);if(s<p&&(x=!x),f=x?0:g%v?v:g,this._lock=1,this.render(f||(h?0:ele(s*l)),t,!v)._lock=0,this._tTime=g,!t&&this.parent&&Xle(this,"onRepeat"),this.vars.repeatRefresh&&!h&&(this.invalidate()._lock=1),f&&f!==this._time||o!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(v=this._dur,m=this._tDur,b&&(this._lock=2,f=x?v:-1e-4,this.render(f,!0),this.vars.repeatRefresh&&!h&&this.invalidate()),this._lock=0,!this._ts&&!o)return this;voe(this,h)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(d=function(e,t,n){var i;if(n>t)for(i=e._first;i&&i._start<=n;){if("isPause"===i.data&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=n;){if("isPause"===i.data&&i._start<t)return i;i=i._prev}}(this,ele(f),ele(i)),d&&(g-=i-(i=d._start))),this._tTime=g,this._time=i,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,f=0),!f&&g&&!t&&!p&&(Xle(this,"onStart"),this._tTime!==g))return this;if(i>=f&&e>=0)for(a=this._first;a;){if(r=a._next,(a._act||i>=a._start)&&a._ts&&d!==a){if(a.parent!==this)return this.render(e,t,n);if(a.render(a._ts>0?(i-a._start)*a._ts:(a._dirty?a.totalDuration():a._tDur)+(i-a._start)*a._ts,t,n),i!==this._time||!this._ts&&!o){d=0,r&&(g+=this._zTime=-1e-8);break}}a=r}else{a=this._last;for(var w=e<0?e:i;a;){if(r=a._prev,(a._act||w<=a._end)&&a._ts&&d!==a){if(a.parent!==this)return this.render(e,t,n);if(a.render(a._ts>0?(w-a._start)*a._ts:(a._dirty?a.totalDuration():a._tDur)+(w-a._start)*a._ts,t,n||Fre&&ale(a)),i!==this._time||!this._ts&&!o){d=0,r&&(g+=this._zTime=w?-1e-8:ose);break}}a=r}}if(d&&!t&&(this.pause(),d.render(i>=f?0:-1e-8)._zTime=i>=f?1:-1,this._ts))return this._start=u,wle(this),this.render(e,t,n);this._onUpdate&&!t&&Xle(this,"onUpdate",!0),(g===m&&this._tTime>=this.totalDuration()||!g&&f)&&(u!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((e||!v)&&(g===m&&this._ts>0||!g&&this._ts<0)&&fle(this,1),t||e<0&&!f||!g&&!f&&m||(Xle(this,g===m&&e>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(g<m&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(vse(t)||(t=Ele(this,t,e)),!(e instanceof Coe)){if(Cse(e))return e.forEach((function(e){return n.add(e,t)})),this;if(fse(e))return this.addLabel(e,t);if(!mse(e))return this;e=Uoe.delayedCall(0,e)}return this!==e?Sle(this,e,t):this},n.getChildren=function(e,t,n,i){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===n&&(n=!0),void 0===i&&(i=-1e8);for(var a=[],r=this._first;r;)r._start>=i&&(r instanceof Uoe?t&&a.push(r):(n&&a.push(r),e&&a.push.apply(a,r.getChildren(!0,t,n)))),r=r._next;return a},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return fse(e)?this.removeLabel(e):mse(e)?this.killTweensOf(e):(e.parent===this&&hle(this,e),e===this._recent&&(this._recent=this._last),mle(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ele(coe.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=Ele(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var i=Uoe.delayedCall(0,t||_se,n);return i.data="isPause",this._hasPause=1,Sle(this,i,Ele(this,e))},n.removePause=function(e){var t=this._first;for(e=Ele(this,e);t;)t._start===e&&"isPause"===t.data&&fle(t),t=t._next},n.killTweensOf=function(e,t,n){for(var i=this.getTweensOf(e,n),a=i.length;a--;)Noe!==i[a]&&i[a].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n,i=[],a=Rle(e),r=this._first,s=vse(t);r;)r instanceof Uoe?nle(r._targets,a)&&(s?(!Noe||r._initted&&r._ts)&&r.globalTime(0)<=t&&r.globalTime(r.totalDuration())>t:!t||r.isActive())&&i.push(r):(n=r.getTweensOf(a,t)).length&&i.push.apply(i,n),r=r._next;return i},n.tweenTo=function(e,t){t=t||{};var n,i=this,a=Ele(i,e),r=t,s=r.startAt,l=r.onStart,o=r.onStartParams,d=r.immediateRender,c=Uoe.to(i,ole({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:t.duration||Math.abs((a-(s&&"time"in s?s.time:i._time))/i.timeScale())||ose,onStart:function(){if(i.pause(),!n){var e=t.duration||Math.abs((a-(s&&"time"in s?s.time:i._time))/i.timeScale());c._dur!==e&&Ple(c,e,0,1).render(c._time,!0,!0),n=1}l&&l.apply(c,o||[])}},t));return d?c.render(0):c},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,ole({startAt:{time:Ele(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return void 0===e&&(e=this._time),$le(this,Ele(this,e))},n.previousLabel=function(e){return void 0===e&&(e=this._time),$le(this,Ele(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+ose)},n.shiftChildren=function(e,t,n){void 0===n&&(n=0);for(var i,a=this._first,r=this.labels;a;)a._start>=n&&(a._start+=e,a._end+=e),a=a._next;if(t)for(i in r)r[i]>=n&&(r[i]+=e);return mle(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){void 0===e&&(e=!0);for(var t,n=this._first;n;)t=n._next,this.remove(n),n=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),mle(this)},n.totalDuration=function(e){var t,n,i,a=0,r=this,s=r._last,l=lse;if(arguments.length)return r.timeScale((r._repeat<0?r.duration():r.totalDuration())/(r.reversed()?-e:e));if(r._dirty){for(i=r.parent;s;)t=s._prev,s._dirty&&s.totalDuration(),(n=s._start)>l&&r._sort&&s._ts&&!r._lock?(r._lock=1,Sle(r,s,n-s._delay,1)._lock=0):l=n,n<0&&s._ts&&(a-=n,(!i&&!r._dp||i&&i.smoothChildTiming)&&(r._start+=n/r._ts,r._time-=n,r._tTime-=n),r.shiftChildren(-n,!1,-1/0),l=0),s._end>a&&s._ts&&(a=s._end),s=t;Ple(r,r===Pre&&r._time>a?r._time:a,1,1),r._dirty=0}return r._tDur},t.updateRoot=function(e){if(Pre._ts&&(rle(Pre,ble(e,Pre)),Lre=coe.frame),coe.frame>=Wse){Wse+=rse.autoSleep||120;var t=Pre._first;if((!t||!t._ts)&&rse.autoSleep&&coe._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||coe.sleep()}}},t}(Coe);ole(Soe.prototype,{_lock:0,_hasPause:0,_forcing:0});var Noe,Ioe,Foe=function(e,t,n,i,a,r,s){var l,o,d,c,u,p,A,h,f=new $oe(this._pt,e,t,0,1,zoe,null,a),m=0,v=0;for(f.b=n,f.e=i,n+="",(A=~(i+="").indexOf("random("))&&(i=Kle(i)),r&&(r(h=[n,i],e,t),n=h[0],i=h[1]),o=n.match(Fse)||[];l=Fse.exec(i);)c=l[0],u=i.substring(m,l.index),d?d=(d+1)%5:"rgba("===u.substr(-5)&&(d=1),c!==o[v++]&&(p=parseFloat(o[v-1])||0,f._pt={_next:f._pt,p:u||1===v?u:",",s:p,c:"="===c.charAt(1)?tle(p,c)-p:parseFloat(c)-p,m:d&&d<4?Math.round:0},m=Fse.lastIndex);return f.c=m<i.length?i.substring(m,i.length):"",f.fp=s,(Bse.test(i)||A)&&(f.e=0),this._pt=f,f},Boe=function(e,t,n,i,a,r,s,l,o,d){mse(i)&&(i=i(a||0,e,r));var c,u=e[t],p="get"!==n?n:mse(u)?o?e[t.indexOf("set")||!mse(e["get"+t.substr(3)])?t:"get"+t.substr(3)](o):e[t]():u,A=mse(u)?o?Moe:Ooe:_oe;if(fse(i)&&(~i.indexOf("random(")&&(i=Kle(i)),"="===i.charAt(1)&&((c=tle(p,i)+(_le(p)||0))||0===c)&&(i=c)),!d||p!==i||Ioe)return isNaN(p*i)||""===i?Foe.call(this,e,t,p,i,A,l||rse.stringFilter,o):(c=new $oe(this._pt,e,t,+p||0,i-(p||0),"boolean"==typeof u?Voe:Hoe,0,A),o&&(c.fp=o),s&&c.modifier(s,this,e),this._pt=c)},Poe=function(e,t,n,i,a,r){var s,l,o,d;if(zse[e]&&!1!==(s=new zse[e]).init(a,s.rawVars?t[e]:function(e,t,n,i,a){if(mse(e)&&(e=Eoe(e,a,t,n,i)),!yse(e)||e.style&&e.nodeType||Cse(e)||jse(e))return fse(e)?Eoe(e,a,t,n,i):e;var r,s={};for(r in e)s[r]=Eoe(e[r],a,t,n,i);return s}(t[e],i,a,r,n),n,i,r)&&(n._pt=l=new $oe(n._pt,a,e,0,1,s.render,s,0,s.priority),n!==Ure))for(o=n._ptLookup[n._targets.indexOf(a)],d=s._props.length;d--;)o[s._props[d]]=l;return s},koe=function e(t,n,i){var a,r,s,l,o,d,c,u,p,A,h,f,m,v=t.vars,g=v.ease,y=v.startAt,x=v.immediateRender,b=v.lazy,w=v.onUpdate,j=v.runBackwards,C=v.yoyoEase,S=v.keyframes,N=v.autoRevert,I=t._dur,F=t._startAt,B=t._targets,P=t.parent,k=P&&"nested"===P.data?P.vars.targets:B,T="auto"===t._overwrite&&!Ire,E=t.timeline;if(E&&(!S||!g)&&(g="none"),t._ease=goe(g,sse.ease),t._yEase=C?moe(goe(!0===C?g:C,sse.ease)):0,C&&t._yoyo&&!t._repeat&&(C=t._yEase,t._yEase=t._ease,t._ease=C),t._from=!E&&!!v.runBackwards,!E||S&&!v.stagger){if(f=(u=B[0]?$se(B[0]).harness:0)&&v[u.prop],a=ule(v,Qse),F&&(F._zTime<0&&F.progress(1),n<0&&j&&x&&!N?F.render(-1,!0):F.revert(j&&I?Mse:Ose),F._lazy=0),y){if(fle(t._startAt=Uoe.set(B,ole({data:"isStart",overwrite:!1,parent:P,immediateRender:!0,lazy:!F&&xse(b),startAt:null,delay:0,onUpdate:w&&function(){return Xle(t,"onUpdate")},stagger:0},y))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(Fre||!x&&!N)&&t._startAt.revert(Mse),x&&I&&n<=0&&i<=0)return void(n&&(t._zTime=n))}else if(j&&I&&!F)if(n&&(x=!1),s=ole({overwrite:!1,data:"isFromStart",lazy:x&&!F&&xse(b),immediateRender:x,stagger:0,parent:P},a),f&&(s[u.prop]=f),fle(t._startAt=Uoe.set(B,s)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(Fre?t._startAt.revert(Mse):t._startAt.render(-1,!0)),t._zTime=n,x){if(!n)return}else e(t._startAt,ose,ose);for(t._pt=t._ptCache=0,b=I&&xse(b)||b&&!I,r=0;r<B.length;r++){if(c=(o=B[r])._gsap||Gse(B)[r]._gsap,t._ptLookup[r]=A={},Vse[c.id]&&Hse.length&&ile(),h=k===B?r:k.indexOf(o),u&&!1!==(p=new u).init(o,f||a,t,h,k)&&(t._pt=l=new $oe(t._pt,o,p.name,0,1,p.render,p,0,p.priority),p._props.forEach((function(e){A[e]=l})),p.priority&&(d=1)),!u||f)for(s in a)zse[s]&&(p=Poe(s,a,t,h,o,k))?p.priority&&(d=1):A[s]=l=Boe.call(t,o,s,"get",a[s],h,k,0,v.stringFilter);t._op&&t._op[r]&&t.kill(o,t._op[r]),T&&t._pt&&(Noe=t,Pre.killTweensOf(o,A,t.globalTime(n)),m=!t.parent,Noe=0),t._pt&&b&&(Vse[c.id]=1)}d&&Goe(t),t._onInit&&t._onInit(t)}t._onUpdate=w,t._initted=(!t._op||t._pt)&&!m,S&&n<=0&&E.render(lse,!0,!0)},Toe=function(e,t,n,i){var a,r,s=t.ease||i||"power1.inOut";if(Cse(t))r=n[e]||(n[e]=[]),t.forEach((function(e,n){return r.push({t:n/(t.length-1)*100,v:e,e:s})}));else for(a in t)r=n[a]||(n[a]=[]),"ease"===a||r.push({t:parseFloat(e),v:t[a],e:s})},Eoe=function(e,t,n,i,a){return mse(e)?e.call(t,n,i,a):fse(e)&&~e.indexOf("random(")?Kle(e):e},Doe=Kse+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Loe={};Jse(Doe+",id,stagger,delay,duration,paused,scrollTrigger",(function(e){return Loe[e]=1}));var Uoe=function(e){function t(t,n,i,a){var r;"number"==typeof n&&(i.duration=n,n=i,i=null);var s,l,o,d,c,u,p,A,h=(r=e.call(this,a?n:ple(n))||this).vars,f=h.duration,m=h.delay,v=h.immediateRender,g=h.stagger,y=h.overwrite,x=h.keyframes,b=h.defaults,w=h.scrollTrigger,j=h.yoyoEase,C=n.parent||Pre,S=(Cse(t)||jse(t)?vse(t[0]):"length"in n)?[t]:Rle(t);if(r._targets=S.length?Gse(S):Lse(0,!rse.nullTargetWarn)||[],r._ptLookup=[],r._overwrite=y,x||g||wse(f)||wse(m)){if(n=r.vars,(s=r.timeline=new Soe({data:"nested",defaults:b||{},targets:C&&"nested"===C.data?C.vars.targets:S})).kill(),s.parent=s._dp=Sre(r),s._start=0,g||wse(f)||wse(m)){if(d=S.length,p=g&&Vle(g),yse(g))for(c in g)~Doe.indexOf(c)&&(A||(A={}),A[c]=g[c]);for(l=0;l<d;l++)(o=ule(n,Loe)).stagger=0,j&&(o.yoyoEase=j),A&&dle(o,A),u=S[l],o.duration=+Eoe(f,Sre(r),l,u,S),o.delay=(+Eoe(m,Sre(r),l,u,S)||0)-r._delay,!g&&1===d&&o.delay&&(r._delay=m=o.delay,r._start+=m,o.delay=0),s.to(u,o,p?p(l,u,S):0),s._ease=poe.none;s.duration()?f=m=0:r.timeline=0}else if(x){ple(ole(s.vars.defaults,{ease:"none"})),s._ease=goe(x.ease||n.ease||"none");var N,I,F,B=0;if(Cse(x))x.forEach((function(e){return s.to(S,e,">")})),s.duration();else{for(c in o={},x)"ease"===c||"easeEach"===c||Toe(c,x[c],o,x.easeEach);for(c in o)for(N=o[c].sort((function(e,t){return e.t-t.t})),B=0,l=0;l<N.length;l++)(F={ease:(I=N[l]).e,duration:(I.t-(l?N[l-1].t:0))/100*f})[c]=I.v,s.to(S,F,B),B+=F.duration;s.duration()<f&&s.to({},{duration:f-s.duration()})}}f||r.duration(f=s.duration())}else r.timeline=0;return!0!==y||Ire||(Noe=Sre(r),Pre.killTweensOf(S),Noe=0),Sle(C,Sre(r),i),n.reversed&&r.reverse(),n.paused&&r.paused(!0),(v||!f&&!x&&r._start===ele(C._time)&&xse(v)&&gle(Sre(r))&&"nested"!==C.data)&&(r._tTime=-1e-8,r.render(Math.max(0,-m)||0)),w&&Nle(Sre(r),w),r}Nre(t,e);var n=t.prototype;return n.render=function(e,t,n){var i,a,r,s,l,o,d,c,u,p=this._time,A=this._tDur,h=this._dur,f=e<0,m=e>A-ose&&!f?A:e<ose?0:e;if(h){if(m!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f||this._lazy){if(i=m,c=this.timeline,this._repeat){if(s=h+this._rDelay,this._repeat<-1&&f)return this.totalTime(100*s+e,t,n);if(i=ele(m%s),m===A?(r=this._repeat,i=h):(r=~~(l=ele(m/s)))&&r===l?(i=h,r--):i>h&&(i=h),(o=this._yoyo&&1&r)&&(u=this._yEase,i=h-i),l=xle(this._tTime,s),i===p&&!n&&this._initted&&r===l)return this._tTime=m,this;r!==l&&(c&&this._yEase&&voe(c,o),this.vars.repeatRefresh&&!o&&!this._lock&&i!==s&&this._initted&&(this._lock=n=1,this.render(ele(s*r),!0).invalidate()._lock=0))}if(!this._initted){if(Ile(this,f?e:i,n,t,m))return this._tTime=0,this;if(!(p===this._time||n&&this.vars.repeatRefresh&&r!==l))return this;if(h!==this._dur)return this.render(e,t,n)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=d=(u||this._ease)(i/h),this._from&&(this.ratio=d=1-d),!p&&m&&!t&&!l&&(Xle(this,"onStart"),this._tTime!==m))return this;for(a=this._pt;a;)a.r(d,a.d),a=a._next;c&&c.render(e<0?e:c._dur*c._ease(i/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(f&&vle(this,e,0,n),Xle(this,"onUpdate")),this._repeat&&r!==l&&this.vars.onRepeat&&!t&&this.parent&&Xle(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(f&&!this._onUpdate&&vle(this,e,0,!0),(e||!h)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&fle(this,1),t||f&&!p||!(m||p||o)||(Xle(this,m===A?"onComplete":"onReverseComplete",!0),this._prom&&!(m<A&&this.timeScale()>0)&&this._prom()))}}else!function(e,t,n,i){var a,r,s,l=e.ratio,o=t<0||!t&&(!e._start&&Fle(e)&&(e._initted||!Ble(e))||(e._ts<0||e._dp._ts<0)&&!Ble(e))?0:1,d=e._rDelay,c=0;if(d&&e._repeat&&(c=Ule(0,e._tDur,t),r=xle(c,d),e._yoyo&&1&r&&(o=1-o),r!==xle(e._tTime,d)&&(l=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==l||Fre||i||e._zTime===ose||!t&&e._zTime){if(!e._initted&&Ile(e,t,i,n,c))return;for(s=e._zTime,e._zTime=t||(n?ose:0),n||(n=t&&!s),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=c,a=e._pt;a;)a.r(o,a.d),a=a._next;t<0&&vle(e,t,0,!0),e._onUpdate&&!n&&Xle(e,"onUpdate"),c&&e._repeat&&!n&&e.parent&&Xle(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&fle(e,1),n||Fre||(Xle(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)}(this,e,t,n);return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,i,a){_re||coe.wake(),this._ts||this.play();var r=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||koe(this,r),function(e,t,n,i,a,r,s,l){var o,d,c,u,p=(e._pt&&e._ptCache||(e._ptCache={}))[t];if(!p)for(p=e._ptCache[t]=[],c=e._ptLookup,u=e._targets.length;u--;){if((o=c[u][t])&&o.d&&o.d._pt)for(o=o.d._pt;o&&o.p!==t&&o.fp!==t;)o=o._next;if(!o)return Ioe=1,e.vars[t]="+=0",koe(e,s),Ioe=0,l?Lse():1;p.push(o)}for(u=p.length;u--;)(o=(d=p[u])._pt||d).s=!i&&0!==i||a?o.s+(i||0)+r*o.c:i,o.c=n-o.s,d.e&&(d.e=Zse(n)+_le(d.e)),d.b&&(d.b=o.s+_le(d.b))}(this,e,t,n,i,this._ease(r/this._dur),r,a)?this.resetTo(e,t,n,i,1):(jle(this,0),this.parent||Ale(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(e,t){if(void 0===t&&(t="all"),!(e||t&&"all"!==t))return this._lazy=this._pt=0,this.parent?Jle(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Fre),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,Noe&&!0!==Noe.vars.overwrite)._first||Jle(this),this.parent&&n!==this.timeline.totalDuration()&&Ple(this,this._dur*this.timeline._tDur/n,0,1),this}var i,a,r,s,l,o,d,c=this._targets,u=e?Rle(e):c,p=this._ptLookup,A=this._pt;if((!t||"all"===t)&&function(e,t){for(var n=e.length,i=n===t.length;i&&n--&&e[n]===t[n];);return n<0}(c,u))return"all"===t&&(this._pt=0),Jle(this);for(i=this._op=this._op||[],"all"!==t&&(fse(t)&&(l={},Jse(t,(function(e){return l[e]=1})),t=l),t=function(e,t){var n,i,a,r,s=e[0]?$se(e[0]).harness:0,l=s&&s.aliases;if(!l)return t;for(i in n=dle({},t),l)if(i in n)for(a=(r=l[i].split(",")).length;a--;)n[r[a]]=n[i];return n}(c,t)),d=c.length;d--;)if(~u.indexOf(c[d]))for(l in a=p[d],"all"===t?(i[d]=t,s=a,r={}):(r=i[d]=i[d]||{},s=t),s)(o=a&&a[l])&&("kill"in o.d&&!0!==o.d.kill(l)||hle(this,o,"_pt"),delete a[l]),"all"!==r&&(r[l]=1);return this._initted&&!this._pt&&A&&Jle(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return Dle(1,arguments)},t.delayedCall=function(e,n,i,a){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:a})},t.fromTo=function(e,t,n){return Dle(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return Pre.killTweensOf(e,t,n)},t}(Coe);ole(Uoe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Jse("staggerTo,staggerFrom,staggerFromTo",(function(e){Uoe[e]=function(){var t=new Soe,n=Ole.call(arguments,0);return n.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,n)}}));var _oe=function(e,t,n){return e[t]=n},Ooe=function(e,t,n){return e[t](n)},Moe=function(e,t,n,i){return e[t](i.fp,n)},Roe=function(e,t,n){return e.setAttribute(t,n)},Qoe=function(e,t){return mse(e[t])?Ooe:gse(e[t])&&e.setAttribute?Roe:_oe},Hoe=function(e,t){return t.set(t.t,t.p,Math.round(1e6*(t.s+t.c*e))/1e6,t)},Voe=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},zoe=function(e,t){var n=t._pt,i="";if(!e&&t.b)i=t.b;else if(1===e&&t.e)i=t.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*e):Math.round(1e4*(n.s+n.c*e))/1e4)+i,n=n._next;i+=t.c}t.set(t.t,t.p,i,t)},qoe=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},Woe=function(e,t,n,i){for(var a,r=this._pt;r;)a=r._next,r.p===i&&r.modifier(e,t,n),r=a},Yoe=function(e){for(var t,n,i=this._pt;i;)n=i._next,i.p===e&&!i.op||i.op===e?hle(this,i,"_pt"):i.dep||(t=1),i=n;return!t},Koe=function(e,t,n,i){i.mSet(e,t,i.m.call(i.tween,n,i.mt),i)},Goe=function(e){for(var t,n,i,a,r=e._pt;r;){for(t=r._next,n=i;n&&n.pr>r.pr;)n=n._next;(r._prev=n?n._prev:a)?r._prev._next=r:i=r,(r._next=n)?n._prev=r:a=r,r=t}e._pt=i},$oe=function(){function e(e,t,n,i,a,r,s,l,o){this.t=t,this.s=i,this.c=a,this.p=n,this.r=r||Hoe,this.d=s||this,this.set=l||_oe,this.pr=o||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=Koe,this.m=e,this.mt=n,this.tween=t},e}();Jse(Kse+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(e){return Qse[e]=1})),Tse.TweenMax=Tse.TweenLite=Uoe,Tse.TimelineLite=Tse.TimelineMax=Soe,Pre=new Soe({sortChildren:!1,defaults:sse,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),rse.stringFilter=doe;var Xoe=[],Joe={},Zoe=[],ede=0,tde=0,nde=function(e){return(Joe[e]||Zoe).map((function(e){return e()}))},ide=function(){var e=Date.now(),t=[];e-ede>2&&(nde("matchMediaInit"),Xoe.forEach((function(e){var n,i,a,r,s=e.queries,l=e.conditions;for(i in s)(n=kre.matchMedia(s[i]).matches)&&(a=1),n!==l[i]&&(l[i]=n,r=1);r&&(e.revert(),a&&t.push(e))})),nde("matchMediaRevert"),t.forEach((function(e){return e.onMatch(e,(function(t){return e.add(null,t)}))})),ede=e,nde("matchMedia"))},ade=function(){function e(e,t){this.selector=t&&Qle(t),this.data=[],this._r=[],this.isReverted=!1,this.id=tde++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){mse(e)&&(n=t,t=e,e=mse);var i=this,a=function(){var e,a=Bre,r=i.selector;return a&&a!==i&&a.data.push(i),n&&(i.selector=Qle(n)),Bre=i,e=t.apply(i,arguments),mse(e)&&i._r.push(e),Bre=a,i.selector=r,i.isReverted=!1,e};return i.last=a,e===mse?a(i,(function(e){return i.add(null,e)})):e?i[e]=a:a},t.ignore=function(e){var t=Bre;Bre=null,e(this),Bre=t},t.getTweens=function(){var t=[];return this.data.forEach((function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof Uoe&&!(n.parent&&"nested"===n.parent.data)&&t.push(n)})),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?function(){for(var t,i=n.getTweens(),a=n.data.length;a--;)"isFlip"===(t=n.data[a]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach((function(e){return i.splice(i.indexOf(e),1)})));for(i.map((function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}})).sort((function(e,t){return t.g-e.g||-1/0})).forEach((function(t){return t.t.revert(e)})),a=n.data.length;a--;)(t=n.data[a])instanceof Soe?"nested"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):!(t instanceof Uoe)&&t.revert&&t.revert(e);n._r.forEach((function(t){return t(e,n)})),n.isReverted=!0}():this.data.forEach((function(e){return e.kill&&e.kill()})),this.clear(),t)for(var i=Xoe.length;i--;)Xoe[i].id===this.id&&Xoe.splice(i,1)},t.revert=function(e){this.kill(e||{})},e}(),rde=function(){function e(e){this.contexts=[],this.scope=e,Bre&&Bre.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){yse(e)||(e={matches:e});var i,a,r,s=new ade(0,n||this.scope),l=s.conditions={};for(a in Bre&&!s.selector&&(s.selector=Bre.selector),this.contexts.push(s),t=s.add("onMatch",t),s.queries=e,e)"all"===a?r=1:(i=kre.matchMedia(e[a]))&&(Xoe.indexOf(s)<0&&Xoe.push(s),(l[a]=i.matches)&&(r=1),i.addListener?i.addListener(ide):i.addEventListener("change",ide));return r&&t(s,(function(e){return s.add(null,e)})),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach((function(t){return t.kill(e,!0)}))},e}(),sde={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach((function(e){return eoe(e)}))},timeline:function(e){return new Soe(e)},getTweensOf:function(e,t){return Pre.getTweensOf(e,t)},getProperty:function(e,t,n,i){fse(e)&&(e=Rle(e)[0]);var a=$se(e||{}).get,r=n?lle:sle;return"native"===n&&(n=""),e?t?r((zse[t]&&zse[t].get||a)(e,t,n,i)):function(t,n,i){return r((zse[t]&&zse[t].get||a)(e,t,n,i))}:e},quickSetter:function(e,t,n){if((e=Rle(e)).length>1){var i=e.map((function(e){return dde.quickSetter(e,t,n)})),a=i.length;return function(e){for(var t=a;t--;)i[t](e)}}e=e[0]||{};var r=zse[t],s=$se(e),l=s.harness&&(s.harness.aliases||{})[t]||t,o=r?function(t){var i=new r;Ure._pt=0,i.init(e,n?t+n:t,Ure,0,[e]),i.render(1,i),Ure._pt&&qoe(1,Ure)}:s.set(e,l);return r?o:function(t){return o(e,l,n?t+n:t,s,1)}},quickTo:function(e,t,n){var i,a=dde.to(e,ole(((i={})[t]="+=0.1",i.paused=!0,i.stagger=0,i),n||{})),r=function(e,n,i){return a.resetTo(t,e,n,i)};return r.tween=a,r},isTweening:function(e){return Pre.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=goe(e.ease,sse.ease)),cle(sse,e||{})},config:function(e){return cle(rse,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,i=e.plugins,a=e.defaults,r=e.extendTimeline;(i||"").split(",").forEach((function(e){return e&&!zse[e]&&!Tse[e]&&Lse()})),qse[t]=function(e,t,i){return n(Rle(e),ole(t||{},a),i)},r&&(Soe.prototype[t]=function(e,n,i){return this.add(qse[t](e,yse(n)?n:(i=n)&&{},this),i)})},registerEase:function(e,t){poe[e]=goe(t)},parseEase:function(e,t){return arguments.length?goe(e,t):poe},getById:function(e){return Pre.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var n,i,a=new Soe(e);for(a.smoothChildTiming=xse(e.smoothChildTiming),Pre.remove(a),a._dp=0,a._time=a._tTime=Pre._time,n=Pre._first;n;)i=n._next,!t&&!n._dur&&n instanceof Uoe&&n.vars.onComplete===n._targets[0]||Sle(a,n,n._start-n._delay),n=i;return Sle(Pre,a,0),a},context:function(e,t){return e?new ade(e,t):Bre},matchMedia:function(e){return new rde(e)},matchMediaRefresh:function(){return Xoe.forEach((function(e){var t,n,i=e.conditions;for(n in i)i[n]&&(i[n]=!1,t=1);t&&e.revert()}))||ide()},addEventListener:function(e,t){var n=Joe[e]||(Joe[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=Joe[e],i=n&&n.indexOf(t);i>=0&&n.splice(i,1)},utils:{wrap:function e(t,n,i){var a=n-t;return Cse(t)?Yle(t,e(0,t.length),n):Lle(i,(function(e){return(a+(e-t)%a)%a+t}))},wrapYoyo:function e(t,n,i){var a=n-t,r=2*a;return Cse(t)?Yle(t,e(0,t.length-1),n):Lle(i,(function(e){return t+((e=(r+(e-t)%r)%r||0)>a?r-e:e)}))},distribute:Vle,random:Wle,snap:qle,normalize:function(e,t,n){return Gle(e,t,0,1,n)},getUnit:_le,clamp:function(e,t,n){return Lle(n,(function(n){return Ule(e,t,n)}))},splitColor:aoe,toArray:Rle,selector:Qle,mapRange:Gle,pipe:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(e,t){return t(e)}),e)}},unitize:function(e,t){return function(n){return e(parseFloat(n))+(t||_le(n))}},interpolate:function e(t,n,i,a){var r=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!r){var s,l,o,d,c,u=fse(t),p={};if(!0===i&&(a=1)&&(i=null),u)t={p:t},n={p:n};else if(Cse(t)&&!Cse(n)){for(o=[],d=t.length,c=d-2,l=1;l<d;l++)o.push(e(t[l-1],t[l]));d--,r=function(e){e*=d;var t=Math.min(c,~~e);return o[t](e-t)},i=n}else a||(t=dle(Cse(t)?[]:{},t));if(!o){for(s in n)Boe.call(p,t,s,"get",n[s]);r=function(e){return qoe(e,p)||(u?t.p:t)}}}return Lle(i,r)},shuffle:Hle},install:Dse,effects:qse,ticker:coe,updateRoot:Soe.updateRoot,plugins:zse,globalTimeline:Pre,core:{PropTween:$oe,globals:Use,Tween:Uoe,Timeline:Soe,Animation:Coe,getCache:$se,_removeLinkedListItem:hle,reverting:function(){return Fre},context:function(e){return e&&Bre&&(Bre.data.push(e),e._ctx=Bre),Bre},suppressOverwrites:function(e){return Ire=e}}};Jse("to,from,fromTo,delayedCall,set,killTweensOf",(function(e){return sde[e]=Uoe[e]})),coe.add(Soe.updateRoot),Ure=sde.to({},{duration:0});var lde=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},ode=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,i){i._onInit=function(e){var i,a;if(fse(n)&&(i={},Jse(n,(function(e){return i[e]=1})),n=i),t){for(a in i={},n)i[a]=t(n[a]);n=i}!function(e,t){var n,i,a,r=e._targets;for(n in t)for(i=r.length;i--;)(a=e._ptLookup[i][n])&&(a=a.d)&&(a._pt&&(a=lde(a,n)),a&&a.modifier&&a.modifier(t[n],e,r[i],n))}(e,n)}}}},dde=sde.registerPlugin({name:"attr",init:function(e,t,n,i,a){var r,s,l;for(r in this.tween=n,t)l=e.getAttribute(r)||"",(s=this.add(e,"setAttribute",(l||0)+"",t[r],i,a,0,0,r)).op=r,s.b=l,this._props.push(r)},render:function(e,t){for(var n=t._pt;n;)Fre?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},ode("roundProps",zle),ode("modifiers"),ode("snap",qle))||sde;Uoe.version=Soe.version=dde.version="3.13.0",Dre=1,bse()&&uoe(),poe.Power0,poe.Power1,poe.Power2,poe.Power3,poe.Power4,poe.Linear,poe.Quad,poe.Cubic,poe.Quart,poe.Quint,poe.Strong,poe.Elastic,poe.Back,poe.SteppedEase,poe.Bounce,poe.Sine,poe.Expo,poe.Circ; +/*! + * CSSPlugin 3.13.0 + * https://gsap.com + * + * Copyright 2008-2025, GreenSock. All rights reserved. + * Subject to the terms at https://gsap.com/standard-license + * @author: Jack Doyle, jack@greensock.com +*/ +var cde,ude,pde,Ade,hde,fde,mde,vde,gde={},yde=180/Math.PI,xde=Math.PI/180,bde=Math.atan2,wde=/([A-Z])/g,jde=/(left|right|width|margin|padding|x)/i,Cde=/[\s,\(]\S/,Sde={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Nde=function(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},Ide=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},Fde=function(e,t){return t.set(t.t,t.p,e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)},Bde=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},Pde=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},kde=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},Tde=function(e,t,n){return e.style[t]=n},Ede=function(e,t,n){return e.style.setProperty(t,n)},Dde=function(e,t,n){return e._gsap[t]=n},Lde=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},Ude=function(e,t,n,i,a){var r=e._gsap;r.scaleX=r.scaleY=n,r.renderTransform(a,r)},_de=function(e,t,n,i,a){var r=e._gsap;r[t]=n,r.renderTransform(a,r)},Ode="transform",Mde=Ode+"Origin",Rde=function e(t,n){var i=this,a=this.target,r=a.style,s=a._gsap;if(t in gde&&r){if(this.tfm=this.tfm||{},"transform"===t)return Sde.transform.split(",").forEach((function(t){return e.call(i,t,n)}));if(~(t=Sde[t]||t).indexOf(",")?t.split(",").forEach((function(e){return i.tfm[e]=ace(a,e)})):this.tfm[t]=s.x?s[t]:ace(a,t),t===Mde&&(this.tfm.zOrigin=s.zOrigin),this.props.indexOf(Ode)>=0)return;s.svg&&(this.svgo=a.getAttribute("data-svg-origin"),this.props.push(Mde,n,"")),t=Ode}(r||n)&&this.props.push(t,n,r[t])},Qde=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Hde=function(){var e,t,n=this.props,i=this.target,a=i.style,r=i._gsap;for(e=0;e<n.length;e+=3)n[e+1]?2===n[e+1]?i[n[e]](n[e+2]):i[n[e]]=n[e+2]:n[e+2]?a[n[e]]=n[e+2]:a.removeProperty("--"===n[e].substr(0,2)?n[e]:n[e].replace(wde,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)r[t]=this.tfm[t];r.svg&&(r.renderTransform(),i.setAttribute("data-svg-origin",this.svgo||"")),(e=mde())&&e.isStart||a[Ode]||(Qde(a),r.zOrigin&&a[Mde]&&(a[Mde]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},Vde=function(e,t){var n={target:e,props:[],revert:Hde,save:Rde};return e._gsap||dde.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach((function(e){return n.save(e)})),n},zde=function(e,t){var n=ude.createElementNS?ude.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ude.createElement(e);return n&&n.style?n:ude.createElement(e)},qde=function e(t,n,i){var a=getComputedStyle(t);return a[n]||a.getPropertyValue(n.replace(wde,"-$1").toLowerCase())||a.getPropertyValue(n)||!i&&e(t,Yde(n)||n,1)||""},Wde="O,Moz,ms,Ms,Webkit".split(","),Yde=function(e,t,n){var i=(t||hde).style,a=5;if(e in i&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);a--&&!(Wde[a]+e in i););return a<0?null:(3===a?"ms":a>=0?Wde[a]:"")+e},Kde=function(){"undefined"!=typeof window&&window.document&&(cde=window,ude=cde.document,pde=ude.documentElement,hde=zde("div")||{style:{}},zde("div"),Ode=Yde(Ode),Mde=Ode+"Origin",hde.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",vde=!!Yde("perspective"),mde=dde.core.reverting,Ade=1)},Gde=function(e){var t,n=e.ownerSVGElement,i=zde("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),a=e.cloneNode(!0);a.style.display="block",i.appendChild(a),pde.appendChild(i);try{t=a.getBBox()}catch(Ou){}return i.removeChild(a),pde.removeChild(i),t},$de=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Xde=function(e){var t,n;try{t=e.getBBox()}catch(i){t=Gde(e),n=1}return t&&(t.width||t.height)||n||(t=Gde(e)),!t||t.width||t.x||t.y?t:{x:+$de(e,["x","cx","x1"])||0,y:+$de(e,["y","cy","y1"])||0,width:0,height:0}},Jde=function(e){return!(!e.getCTM||e.parentNode&&!e.ownerSVGElement||!Xde(e))},Zde=function(e,t){if(t){var n,i=e.style;t in gde&&t!==Mde&&(t=Ode),i.removeProperty?("ms"!==(n=t.substr(0,2))&&"webkit"!==t.substr(0,6)||(t="-"+t),i.removeProperty("--"===n?t:t.replace(wde,"-$1").toLowerCase())):i.removeAttribute(t)}},ece=function(e,t,n,i,a,r){var s=new $oe(e._pt,t,n,0,1,r?kde:Pde);return e._pt=s,s.b=i,s.e=a,e._props.push(n),s},tce={deg:1,rad:1,turn:1},nce={grid:1,flex:1},ice=function e(t,n,i,a){var r,s,l,o,d=parseFloat(i)||0,c=(i+"").trim().substr((d+"").length)||"px",u=hde.style,p=jde.test(n),A="svg"===t.tagName.toLowerCase(),h=(A?"client":"offset")+(p?"Width":"Height"),f=100,m="px"===a,v="%"===a;if(a===c||!d||tce[a]||tce[c])return d;if("px"!==c&&!m&&(d=e(t,n,i,"px")),o=t.getCTM&&Jde(t),(v||"%"===c)&&(gde[n]||~n.indexOf("adius")))return r=o?t.getBBox()[p?"width":"height"]:t[h],Zse(v?d/r*f:d/100*r);if(u[p?"width":"height"]=f+(m?c:a),s="rem"!==a&&~n.indexOf("adius")||"em"===a&&t.appendChild&&!A?t:t.parentNode,o&&(s=(t.ownerSVGElement||{}).parentNode),s&&s!==ude&&s.appendChild||(s=ude.body),(l=s._gsap)&&v&&l.width&&p&&l.time===coe.time&&!l.uncache)return Zse(d/l.width*f);if(!v||"height"!==n&&"width"!==n)(v||"%"===c)&&!nce[qde(s,"display")]&&(u.position=qde(t,"position")),s===t&&(u.position="static"),s.appendChild(hde),r=hde[h],s.removeChild(hde),u.position="absolute";else{var g=t.style[n];t.style[n]=f+a,r=t[h],g?t.style[n]=g:Zde(t,n)}return p&&v&&((l=$se(s)).time=coe.time,l.width=s[h]),Zse(m?r*d/f:r&&d?f/r*d:0)},ace=function(e,t,n,i){var a;return Ade||Kde(),t in Sde&&"transform"!==t&&~(t=Sde[t]).indexOf(",")&&(t=t.split(",")[0]),gde[t]&&"transform"!==t?(a=fce(e,i),a="transformOrigin"!==t?a[t]:a.svg?a.origin:mce(qde(e,Mde))+" "+a.zOrigin+"px"):(!(a=e.style[t])||"auto"===a||i||~(a+"").indexOf("calc("))&&(a=oce[t]&&oce[t](e,t,n)||qde(e,t)||Xse(e,t)||("opacity"===t?1:0)),n&&!~(a+"").trim().indexOf(" ")?ice(e,t,a,n)+n:a},rce=function(e,t,n,i){if(!n||"none"===n){var a=Yde(t,e,1),r=a&&qde(e,a,1);r&&r!==n?(t=a,n=r):"borderColor"===t&&(n=qde(e,"borderTopColor"))}var s,l,o,d,c,u,p,A,h,f,m,v=new $oe(this._pt,e.style,t,0,1,zoe),g=0,y=0;if(v.b=n,v.e=i,n+="","var(--"===(i+="").substring(0,6)&&(i=qde(e,i.substring(4,i.indexOf(")")))),"auto"===i&&(u=e.style[t],e.style[t]=i,i=qde(e,t)||i,u?e.style[t]=u:Zde(e,t)),doe(s=[n,i]),i=s[1],o=(n=s[0]).match(Ise)||[],(i.match(Ise)||[]).length){for(;l=Ise.exec(i);)p=l[0],h=i.substring(g,l.index),c?c=(c+1)%5:"rgba("!==h.substr(-5)&&"hsla("!==h.substr(-5)||(c=1),p!==(u=o[y++]||"")&&(d=parseFloat(u)||0,m=u.substr((d+"").length),"="===p.charAt(1)&&(p=tle(d,p)+m),A=parseFloat(p),f=p.substr((A+"").length),g=Ise.lastIndex-f.length,f||(f=f||rse.units[t]||m,g===i.length&&(i+=f,v.e+=f)),m!==f&&(d=ice(e,t,u,f)||0),v._pt={_next:v._pt,p:h||1===y?h:",",s:d,c:A-d,m:c&&c<4||"zIndex"===t?Math.round:0});v.c=g<i.length?i.substring(g,i.length):""}else v.r="display"===t&&"none"===i?kde:Pde;return Bse.test(i)&&(v.e=0),this._pt=v,v},sce={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},lce=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n,i,a,r=t.t,s=r.style,l=t.u,o=r._gsap;if("all"===l||!0===l)s.cssText="",i=1;else for(a=(l=l.split(",")).length;--a>-1;)n=l[a],gde[n]&&(i=1,n="transformOrigin"===n?Mde:Ode),Zde(r,n);i&&(Zde(r,Ode),o&&(o.svg&&r.removeAttribute("transform"),s.scale=s.rotate=s.translate="none",fce(r,1),o.uncache=1,Qde(s)))}},oce={clearProps:function(e,t,n,i,a){if("isFromStart"!==a.data){var r=e._pt=new $oe(e._pt,t,n,0,0,lce);return r.u=i,r.pr=-10,r.tween=a,e._props.push(n),1}}},dce=[1,0,0,1,0,0],cce={},uce=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},pce=function(e){var t=qde(e,Ode);return uce(t)?dce:t.substr(7).match(Nse).map(Zse)},Ace=function(e,t){var n,i,a,r,s=e._gsap||$se(e),l=e.style,o=pce(e);return s.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(o=[(a=e.transform.baseVal.consolidate().matrix).a,a.b,a.c,a.d,a.e,a.f]).join(",")?dce:o:(o!==dce||e.offsetParent||e===pde||s.svg||(a=l.display,l.display="block",(n=e.parentNode)&&(e.offsetParent||e.getBoundingClientRect().width)||(r=1,i=e.nextElementSibling,pde.appendChild(e)),o=pce(e),a?l.display=a:Zde(e,"display"),r&&(i?n.insertBefore(e,i):n?n.appendChild(e):pde.removeChild(e))),t&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},hce=function(e,t,n,i,a,r){var s,l,o,d=e._gsap,c=a||Ace(e,!0),u=d.xOrigin||0,p=d.yOrigin||0,A=d.xOffset||0,h=d.yOffset||0,f=c[0],m=c[1],v=c[2],g=c[3],y=c[4],x=c[5],b=t.split(" "),w=parseFloat(b[0])||0,j=parseFloat(b[1])||0;n?c!==dce&&(l=f*g-m*v)&&(o=w*(-m/l)+j*(f/l)-(f*x-m*y)/l,w=w*(g/l)+j*(-v/l)+(v*x-g*y)/l,j=o):(w=(s=Xde(e)).x+(~b[0].indexOf("%")?w/100*s.width:w),j=s.y+(~(b[1]||b[0]).indexOf("%")?j/100*s.height:j)),i||!1!==i&&d.smooth?(y=w-u,x=j-p,d.xOffset=A+(y*f+x*v)-y,d.yOffset=h+(y*m+x*g)-x):d.xOffset=d.yOffset=0,d.xOrigin=w,d.yOrigin=j,d.smooth=!!i,d.origin=t,d.originIsAbsolute=!!n,e.style[Mde]="0px 0px",r&&(ece(r,d,"xOrigin",u,w),ece(r,d,"yOrigin",p,j),ece(r,d,"xOffset",A,d.xOffset),ece(r,d,"yOffset",h,d.yOffset)),e.setAttribute("data-svg-origin",w+" "+j)},fce=function(e,t){var n=e._gsap||new joe(e);if("x"in n&&!t&&!n.uncache)return n;var i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P,k,T,E,D,L=e.style,U=n.scaleX<0,_="px",O="deg",M=getComputedStyle(e),R=qde(e,Mde)||"0";return i=a=r=o=d=c=u=p=A=0,s=l=1,n.svg=!(!e.getCTM||!Jde(e)),M.translate&&("none"===M.translate&&"none"===M.scale&&"none"===M.rotate||(L[Ode]=("none"!==M.translate?"translate3d("+(M.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==M.rotate?"rotate("+M.rotate+") ":"")+("none"!==M.scale?"scale("+M.scale.split(" ").join(",")+") ":"")+("none"!==M[Ode]?M[Ode]:"")),L.scale=L.rotate=L.translate="none"),m=Ace(e,n.svg),n.svg&&(n.uncache?(I=e.getBBox(),R=n.xOrigin-I.x+"px "+(n.yOrigin-I.y)+"px",N=""):N=!t&&e.getAttribute("data-svg-origin"),hce(e,N||R,!!N||n.originIsAbsolute,!1!==n.smooth,m)),h=n.xOrigin||0,f=n.yOrigin||0,m!==dce&&(x=m[0],b=m[1],w=m[2],j=m[3],i=C=m[4],a=S=m[5],6===m.length?(s=Math.sqrt(x*x+b*b),l=Math.sqrt(j*j+w*w),o=x||b?bde(b,x)*yde:0,(u=w||j?bde(w,j)*yde+o:0)&&(l*=Math.abs(Math.cos(u*xde))),n.svg&&(i-=h-(h*x+f*w),a-=f-(h*b+f*j))):(D=m[6],T=m[7],B=m[8],P=m[9],k=m[10],E=m[11],i=m[12],a=m[13],r=m[14],d=(v=bde(D,k))*yde,v&&(N=C*(g=Math.cos(-v))+B*(y=Math.sin(-v)),I=S*g+P*y,F=D*g+k*y,B=C*-y+B*g,P=S*-y+P*g,k=D*-y+k*g,E=T*-y+E*g,C=N,S=I,D=F),c=(v=bde(-w,k))*yde,v&&(g=Math.cos(-v),E=j*(y=Math.sin(-v))+E*g,x=N=x*g-B*y,b=I=b*g-P*y,w=F=w*g-k*y),o=(v=bde(b,x))*yde,v&&(N=x*(g=Math.cos(v))+b*(y=Math.sin(v)),I=C*g+S*y,b=b*g-x*y,S=S*g-C*y,x=N,C=I),d&&Math.abs(d)+Math.abs(o)>359.9&&(d=o=0,c=180-c),s=Zse(Math.sqrt(x*x+b*b+w*w)),l=Zse(Math.sqrt(S*S+D*D)),v=bde(C,S),u=Math.abs(v)>2e-4?v*yde:0,A=E?1/(E<0?-E:E):0),n.svg&&(N=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!uce(qde(e,Ode)),N&&e.setAttribute("transform",N))),Math.abs(u)>90&&Math.abs(u)<270&&(U?(s*=-1,u+=o<=0?180:-180,o+=o<=0?180:-180):(l*=-1,u+=u<=0?180:-180)),t=t||n.uncache,n.x=i-((n.xPercent=i&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-i)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+_,n.y=a-((n.yPercent=a&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-a)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+_,n.z=r+_,n.scaleX=Zse(s),n.scaleY=Zse(l),n.rotation=Zse(o)+O,n.rotationX=Zse(d)+O,n.rotationY=Zse(c)+O,n.skewX=u+O,n.skewY=p+O,n.transformPerspective=A+_,(n.zOrigin=parseFloat(R.split(" ")[2])||!t&&n.zOrigin||0)&&(L[Mde]=mce(R)),n.xOffset=n.yOffset=0,n.force3D=rse.force3D,n.renderTransform=n.svg?jce:vde?wce:gce,n.uncache=0,n},mce=function(e){return(e=e.split(" "))[0]+" "+e[1]},vce=function(e,t,n){var i=_le(t);return Zse(parseFloat(t)+parseFloat(ice(e,"x",n+"px",i)))+i},gce=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,wce(e,t)},yce="0deg",xce="0px",bce=") ",wce=function(e,t){var n=t||this,i=n.xPercent,a=n.yPercent,r=n.x,s=n.y,l=n.z,o=n.rotation,d=n.rotationY,c=n.rotationX,u=n.skewX,p=n.skewY,A=n.scaleX,h=n.scaleY,f=n.transformPerspective,m=n.force3D,v=n.target,g=n.zOrigin,y="",x="auto"===m&&e&&1!==e||!0===m;if(g&&(c!==yce||d!==yce)){var b,w=parseFloat(d)*xde,j=Math.sin(w),C=Math.cos(w);w=parseFloat(c)*xde,b=Math.cos(w),r=vce(v,r,j*b*-g),s=vce(v,s,-Math.sin(w)*-g),l=vce(v,l,C*b*-g+g)}f!==xce&&(y+="perspective("+f+bce),(i||a)&&(y+="translate("+i+"%, "+a+"%) "),(x||r!==xce||s!==xce||l!==xce)&&(y+=l!==xce||x?"translate3d("+r+", "+s+", "+l+") ":"translate("+r+", "+s+bce),o!==yce&&(y+="rotate("+o+bce),d!==yce&&(y+="rotateY("+d+bce),c!==yce&&(y+="rotateX("+c+bce),u===yce&&p===yce||(y+="skew("+u+", "+p+bce),1===A&&1===h||(y+="scale("+A+", "+h+bce),v.style[Ode]=y||"translate(0, 0)"},jce=function(e,t){var n,i,a,r,s,l=t||this,o=l.xPercent,d=l.yPercent,c=l.x,u=l.y,p=l.rotation,A=l.skewX,h=l.skewY,f=l.scaleX,m=l.scaleY,v=l.target,g=l.xOrigin,y=l.yOrigin,x=l.xOffset,b=l.yOffset,w=l.forceCSS,j=parseFloat(c),C=parseFloat(u);p=parseFloat(p),A=parseFloat(A),(h=parseFloat(h))&&(A+=h=parseFloat(h),p+=h),p||A?(p*=xde,A*=xde,n=Math.cos(p)*f,i=Math.sin(p)*f,a=Math.sin(p-A)*-m,r=Math.cos(p-A)*m,A&&(h*=xde,s=Math.tan(A-h),a*=s=Math.sqrt(1+s*s),r*=s,h&&(s=Math.tan(h),n*=s=Math.sqrt(1+s*s),i*=s)),n=Zse(n),i=Zse(i),a=Zse(a),r=Zse(r)):(n=f,r=m,i=a=0),(j&&!~(c+"").indexOf("px")||C&&!~(u+"").indexOf("px"))&&(j=ice(v,"x",c,"px"),C=ice(v,"y",u,"px")),(g||y||x||b)&&(j=Zse(j+g-(g*n+y*a)+x),C=Zse(C+y-(g*i+y*r)+b)),(o||d)&&(s=v.getBBox(),j=Zse(j+o/100*s.width),C=Zse(C+d/100*s.height)),s="matrix("+n+","+i+","+a+","+r+","+j+","+C+")",v.setAttribute("transform",s),w&&(v.style[Ode]=s)},Cce=function(e,t,n,i,a){var r,s,l=360,o=fse(a),d=parseFloat(a)*(o&&~a.indexOf("rad")?yde:1)-i,c=i+d+"deg";return o&&("short"===(r=a.split("_")[1])&&(d%=l)!==d%180&&(d+=d<0?l:-360),"cw"===r&&d<0?d=(d+36e9)%l-~~(d/l)*l:"ccw"===r&&d>0&&(d=(d-36e9)%l-~~(d/l)*l)),e._pt=s=new $oe(e._pt,t,n,i,d,Ide),s.e=c,s.u="deg",e._props.push(n),s},Sce=function(e,t){for(var n in t)e[n]=t[n];return e},Nce=function(e,t,n){var i,a,r,s,l,o,d,c=Sce({},n._gsap),u=n.style;for(a in c.svg?(r=n.getAttribute("transform"),n.setAttribute("transform",""),u[Ode]=t,i=fce(n,1),Zde(n,Ode),n.setAttribute("transform",r)):(r=getComputedStyle(n)[Ode],u[Ode]=t,i=fce(n,1),u[Ode]=r),gde)(r=c[a])!==(s=i[a])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(a)<0&&(l=_le(r)!==(d=_le(s))?ice(n,a,r,d):parseFloat(r),o=parseFloat(s),e._pt=new $oe(e._pt,i,a,l,o-l,Nde),e._pt.u=d||0,e._props.push(a));Sce(i,c)};Jse("padding,margin,Width,Radius",(function(e,t){var n="Top",i="Right",a="Bottom",r="Left",s=(t<3?[n,i,a,r]:[n+r,n+i,a+i,a+r]).map((function(n){return t<2?e+n:"border"+n+e}));oce[t>1?"border"+e:e]=function(e,t,n,i,a){var r,l;if(arguments.length<4)return r=s.map((function(t){return ace(e,t,n)})),5===(l=r.join(" ")).split(r[0]).length?r[0]:l;r=(i+"").split(" "),l={},s.forEach((function(e,t){return l[e]=r[t]=r[t]||r[(t-1)/2|0]})),e.init(t,l,a)}}));var Ice,Fce,Bce,Pce={name:"css",register:Kde,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,i,a){var r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S=this._props,N=e.style,I=n.vars.startAt;for(u in Ade||Kde(),this.styles=this.styles||Vde(e),x=this.styles.props,this.tween=n,t)if("autoRound"!==u&&(s=t[u],!zse[u]||!Poe(u,t,n,i,e,a)))if(d=typeof s,c=oce[u],"function"===d&&(d=typeof(s=s.call(n,i,e,a))),"string"===d&&~s.indexOf("random(")&&(s=Kle(s)),c)c(this,e,u,s,n)&&(y=1);else if("--"===u.substr(0,2))r=(getComputedStyle(e).getPropertyValue(u)+"").trim(),s+="",loe.lastIndex=0,loe.test(r)||(p=_le(r),A=_le(s)),A?p!==A&&(r=ice(e,u,r,A)+A):p&&(s+=p),this.add(N,"setProperty",r,s,i,a,0,0,u),S.push(u),x.push(u,0,N[u]);else if("undefined"!==d){if(I&&u in I?(r="function"==typeof I[u]?I[u].call(n,i,e,a):I[u],fse(r)&&~r.indexOf("random(")&&(r=Kle(r)),_le(r+"")||"auto"===r||(r+=rse.units[u]||_le(ace(e,u))||""),"="===(r+"").charAt(1)&&(r=ace(e,u))):r=ace(e,u),o=parseFloat(r),(h="string"===d&&"="===s.charAt(1)&&s.substr(0,2))&&(s=s.substr(2)),l=parseFloat(s),u in Sde&&("autoAlpha"===u&&(1===o&&"hidden"===ace(e,"visibility")&&l&&(o=0),x.push("visibility",0,N.visibility),ece(this,N,"visibility",o?"inherit":"hidden",l?"inherit":"hidden",!l)),"scale"!==u&&"transform"!==u&&~(u=Sde[u]).indexOf(",")&&(u=u.split(",")[0])),f=u in gde)if(this.styles.save(u),"string"===d&&"var(--"===s.substring(0,6)&&(s=qde(e,s.substring(4,s.indexOf(")"))),l=parseFloat(s)),m||((v=e._gsap).renderTransform&&!t.parseTransform||fce(e,t.parseTransform),g=!1!==t.smoothOrigin&&v.smooth,(m=this._pt=new $oe(this._pt,N,Ode,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===u)this._pt=new $oe(this._pt,v,"scaleY",v.scaleY,(h?tle(v.scaleY,h+l):l)-v.scaleY||0,Nde),this._pt.u=0,S.push("scaleY",u),u+="X";else{if("transformOrigin"===u){x.push(Mde,0,N[Mde]),w=void 0,j=void 0,C=void 0,w=(b=s).split(" "),j=w[0],C=w[1]||"50%","top"!==j&&"bottom"!==j&&"left"!==C&&"right"!==C||(b=j,j=C,C=b),w[0]=sce[j]||j,w[1]=sce[C]||C,s=w.join(" "),v.svg?hce(e,s,0,g,0,this):((A=parseFloat(s.split(" ")[2])||0)!==v.zOrigin&&ece(this,v,"zOrigin",v.zOrigin,A),ece(this,N,u,mce(r),mce(s)));continue}if("svgOrigin"===u){hce(e,s,1,g,0,this);continue}if(u in cce){Cce(this,v,u,o,h?tle(o,h+s):s);continue}if("smoothOrigin"===u){ece(this,v,"smooth",v.smooth,s);continue}if("force3D"===u){v[u]=s;continue}if("transform"===u){Nce(this,s,e);continue}}else u in N||(u=Yde(u)||u);if(f||(l||0===l)&&(o||0===o)&&!Cde.test(s)&&u in N)l||(l=0),(p=(r+"").substr((o+"").length))!==(A=_le(s)||(u in rse.units?rse.units[u]:p))&&(o=ice(e,u,r,A)),this._pt=new $oe(this._pt,f?v:N,u,o,(h?tle(o,h+l):l)-o,f||"px"!==A&&"zIndex"!==u||!1===t.autoRound?Nde:Bde),this._pt.u=A||0,p!==A&&"%"!==A&&(this._pt.b=r,this._pt.r=Fde);else if(u in N)rce.call(this,e,u,r,h?h+s:s);else if(u in e)this.add(e,u,r||e[u],h?h+s:s,i,a);else if("parseTransform"!==u)continue;f||(u in N?x.push(u,0,N[u]):"function"==typeof e[u]?x.push(u,2,e[u]()):x.push(u,1,r||e[u])),S.push(u)}y&&Goe(this)},render:function(e,t){if(t.tween._time||!mde())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:ace,aliases:Sde,getSetter:function(e,t,n){var i=Sde[t];return i&&i.indexOf(",")<0&&(t=i),t in gde&&t!==Mde&&(e._gsap.x||ace(e,"x"))?n&&fde===n?"scale"===t?Lde:Dde:(fde=n||{})&&("scale"===t?Ude:_de):e.style&&!gse(e.style[t])?Tde:~t.indexOf("-")?Ede:Qoe(e,t)},core:{_removeProperty:Zde,_getMatrix:Ace}};dde.utils.checkPrefix=Yde,dde.core.getStyleSaver=Vde,Bce=Jse((Ice="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(Fce="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(e){gde[e]=1})),Jse(Fce,(function(e){rse.units[e]="deg",cce[e]=1})),Sde[Bce[13]]=Ice+","+Fce,Jse("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(e){var t=e.split(":");Sde[t[1]]=Bce[t[0]]})),Jse("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(e){rse.units[e]="px"})),dde.registerPlugin(Pce);var kce=dde.registerPlugin(Pce)||dde;function Tce(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}kce.core.Tween; +/*! + * Observer 3.13.0 + * https://gsap.com + * + * @license Copyright 2008-2025, GreenSock. All rights reserved. + * Subject to the terms at https://gsap.com/standard-license + * @author: Jack Doyle, jack@greensock.com +*/ +var Ece,Dce,Lce,Uce,_ce,Oce,Mce,Rce,Qce,Hce,Vce,zce,qce,Wce=function(){return Ece||"undefined"!=typeof window&&(Ece=window.gsap)&&Ece.registerPlugin&&Ece},Yce=1,Kce=[],Gce=[],$ce=[],Xce=Date.now,Jce=function(e,t){return t},Zce=function(e,t){return~$ce.indexOf(e)&&$ce[$ce.indexOf(e)+1][t]},eue=function(e){return!!~Hce.indexOf(e)},tue=function(e,t,n,i,a){return e.addEventListener(t,n,{passive:!1!==i,capture:!!a})},nue=function(e,t,n,i){return e.removeEventListener(t,n,!!i)},iue="scrollLeft",aue="scrollTop",rue=function(){return Vce&&Vce.isPressed||Gce.cache++},sue=function(e,t){var n=function n(i){if(i||0===i){Yce&&(Lce.history.scrollRestoration="manual");var a=Vce&&Vce.isPressed;i=n.v=Math.round(i)||(Vce&&Vce.iOS?1:0),e(i),n.cacheID=Gce.cache,a&&Jce("ss",i)}else(t||Gce.cache!==n.cacheID||Jce("ref"))&&(n.cacheID=Gce.cache,n.v=e());return n.v+n.offset};return n.offset=0,e&&n},lue={s:iue,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:sue((function(e){return arguments.length?Lce.scrollTo(e,oue.sc()):Lce.pageXOffset||Uce[iue]||_ce[iue]||Oce[iue]||0}))},oue={s:aue,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:lue,sc:sue((function(e){return arguments.length?Lce.scrollTo(lue.sc(),e):Lce.pageYOffset||Uce[aue]||_ce[aue]||Oce[aue]||0}))},due=function(e,t){return(t&&t._ctx&&t._ctx.selector||Ece.utils.toArray)(e)[0]||("string"==typeof e&&!1!==Ece.config().nullTargetWarn?void 0:null)},cue=function(e,t){var n=t.s,i=t.sc;eue(e)&&(e=Uce.scrollingElement||_ce);var a=Gce.indexOf(e),r=i===oue.sc?1:2;!~a&&(a=Gce.push(e)-1),Gce[a+r]||tue(e,"scroll",rue);var s=Gce[a+r],l=s||(Gce[a+r]=sue(Zce(e,n),!0)||(eue(e)?i:sue((function(t){return arguments.length?e[n]=t:e[n]}))));return l.target=e,s||(l.smooth="smooth"===Ece.getProperty(e,"scrollBehavior")),l},uue=function(e,t,n){var i=e,a=e,r=Xce(),s=r,l=t||50,o=Math.max(500,3*l),d=function(e,t){var o=Xce();t||o-r>l?(a=i,i=e,s=r,r=o):n?i+=e:i=a+(e-a)/(o-s)*(r-s)};return{update:d,reset:function(){a=i=n?0:i,s=r=0},getVelocity:function(e){var t=s,l=a,c=Xce();return(e||0===e)&&e!==i&&d(e),r===s||c-s>o?0:(i+(n?l:-l))/((n?c:r)-t)*1e3}}},pue=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Aue=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},hue=function(){var e,t,n,i;(Qce=Ece.core.globals().ScrollTrigger)&&Qce.core&&(e=Qce.core,t=e.bridge||{},n=e._scrollers,i=e._proxies,n.push.apply(n,Gce),i.push.apply(i,$ce),Gce=n,$ce=i,Jce=function(e,n){return t[e](n)})},fue=function(e){return Ece=e||Wce(),!Dce&&Ece&&"undefined"!=typeof document&&document.body&&(Lce=window,Uce=document,_ce=Uce.documentElement,Oce=Uce.body,Hce=[Lce,Uce,_ce,Oce],Ece.utils.clamp,qce=Ece.core.context||function(){},Rce="onpointerenter"in Oce?"pointer":"mouse",Mce=mue.isTouch=Lce.matchMedia&&Lce.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Lce||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,zce=mue.eventTypes=("ontouchstart"in _ce?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in _ce?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return Yce=0}),500),hue(),Dce=1),Dce};lue.op=oue,Gce.cache=0;var mue=function(){function e(e){this.init(e)}var t,n,i;return e.prototype.init=function(e){Dce||fue(Ece),Qce||hue();var t=e.tolerance,n=e.dragMinimum,i=e.type,a=e.target,r=e.lineHeight,s=e.debounce,l=e.preventDefault,o=e.onStop,d=e.onStopDelay,c=e.ignore,u=e.wheelSpeed,p=e.event,A=e.onDragStart,h=e.onDragEnd,f=e.onDrag,m=e.onPress,v=e.onRelease,g=e.onRight,y=e.onLeft,x=e.onUp,b=e.onDown,w=e.onChangeX,j=e.onChangeY,C=e.onChange,S=e.onToggleX,N=e.onToggleY,I=e.onHover,F=e.onHoverEnd,B=e.onMove,P=e.ignoreCheck,k=e.isNormalizer,T=e.onGestureStart,E=e.onGestureEnd,D=e.onWheel,L=e.onEnable,U=e.onDisable,_=e.onClick,O=e.scrollSpeed,M=e.capture,R=e.allowClicks,Q=e.lockAxis,H=e.onLockAxis;this.target=a=due(a)||_ce,this.vars=e,c&&(c=Ece.utils.toArray(c)),t=t||1e-9,n=n||0,u=u||1,O=O||1,i=i||"wheel,touch,pointer",s=!1!==s,r||(r=parseFloat(Lce.getComputedStyle(Oce).lineHeight)||22);var V,z,q,W,Y,K,G,$=this,X=0,J=0,Z=e.passive||!l&&!1!==e.passive,ee=cue(a,lue),te=cue(a,oue),ne=ee(),ie=te(),ae=~i.indexOf("touch")&&!~i.indexOf("pointer")&&"pointerdown"===zce[0],re=eue(a),se=a.ownerDocument||Uce,le=[0,0,0],oe=[0,0,0],de=0,ce=function(){return de=Xce()},ue=function(e,t){return($.event=e)&&c&&function(e,t){for(var n=t.length;n--;)if(t[n]===e||t[n].contains(e))return!0;return!1}(e.target,c)||t&&ae&&"touch"!==e.pointerType||P&&P(e,t)},pe=function(){var e=$.deltaX=Aue(le),n=$.deltaY=Aue(oe),i=Math.abs(e)>=t,a=Math.abs(n)>=t;C&&(i||a)&&C($,e,n,le,oe),i&&(g&&$.deltaX>0&&g($),y&&$.deltaX<0&&y($),w&&w($),S&&$.deltaX<0!=X<0&&S($),X=$.deltaX,le[0]=le[1]=le[2]=0),a&&(b&&$.deltaY>0&&b($),x&&$.deltaY<0&&x($),j&&j($),N&&$.deltaY<0!=J<0&&N($),J=$.deltaY,oe[0]=oe[1]=oe[2]=0),(W||q)&&(B&&B($),q&&(A&&1===q&&A($),f&&f($),q=0),W=!1),K&&!(K=!1)&&H&&H($),Y&&(D($),Y=!1),V=0},Ae=function(e,t,n){le[n]+=e,oe[n]+=t,$._vx.update(e),$._vy.update(t),s?V||(V=requestAnimationFrame(pe)):pe()},he=function(e,t){Q&&!G&&($.axis=G=Math.abs(e)>Math.abs(t)?"x":"y",K=!0),"y"!==G&&(le[2]+=e,$._vx.update(e,!0)),"x"!==G&&(oe[2]+=t,$._vy.update(t,!0)),s?V||(V=requestAnimationFrame(pe)):pe()},fe=function(e){if(!ue(e,1)){var t=(e=pue(e,l)).clientX,i=e.clientY,a=t-$.x,r=i-$.y,s=$.isDragging;$.x=t,$.y=i,(s||(a||r)&&(Math.abs($.startX-t)>=n||Math.abs($.startY-i)>=n))&&(q=s?2:1,s||($.isDragging=!0),he(a,r))}},me=$.onPress=function(e){ue(e,1)||e&&e.button||($.axis=G=null,z.pause(),$.isPressed=!0,e=pue(e),X=J=0,$.startX=$.x=e.clientX,$.startY=$.y=e.clientY,$._vx.reset(),$._vy.reset(),tue(k?a:se,zce[1],fe,Z,!0),$.deltaX=$.deltaY=0,m&&m($))},ve=$.onRelease=function(e){if(!ue(e,1)){nue(k?a:se,zce[1],fe,!0);var t=!isNaN($.y-$.startY),n=$.isDragging,i=n&&(Math.abs($.x-$.startX)>3||Math.abs($.y-$.startY)>3),r=pue(e);!i&&t&&($._vx.reset(),$._vy.reset(),l&&R&&Ece.delayedCall(.08,(function(){if(Xce()-de>300&&!e.defaultPrevented)if(e.target.click)e.target.click();else if(se.createEvent){var t=se.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,Lce,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}))),$.isDragging=$.isGesturing=$.isPressed=!1,o&&n&&!k&&z.restart(!0),q&&pe(),h&&n&&h($),v&&v($,i)}},ge=function(e){return e.touches&&e.touches.length>1&&($.isGesturing=!0)&&T(e,$.isDragging)},ye=function(){return($.isGesturing=!1)||E($)},xe=function(e){if(!ue(e)){var t=ee(),n=te();Ae((t-ne)*O,(n-ie)*O,1),ne=t,ie=n,o&&z.restart(!0)}},be=function(e){if(!ue(e)){e=pue(e,l),D&&(Y=!0);var t=(1===e.deltaMode?r:2===e.deltaMode?Lce.innerHeight:1)*u;Ae(e.deltaX*t,e.deltaY*t,0),o&&!k&&z.restart(!0)}},we=function(e){if(!ue(e)){var t=e.clientX,n=e.clientY,i=t-$.x,a=n-$.y;$.x=t,$.y=n,W=!0,o&&z.restart(!0),(i||a)&&he(i,a)}},je=function(e){$.event=e,I($)},Ce=function(e){$.event=e,F($)},Se=function(e){return ue(e)||pue(e,l)&&_($)};z=$._dc=Ece.delayedCall(d||.25,(function(){$._vx.reset(),$._vy.reset(),z.pause(),o&&o($)})).pause(),$.deltaX=$.deltaY=0,$._vx=uue(0,50,!0),$._vy=uue(0,50,!0),$.scrollX=ee,$.scrollY=te,$.isDragging=$.isGesturing=$.isPressed=!1,qce(this),$.enable=function(e){return $.isEnabled||(tue(re?se:a,"scroll",rue),i.indexOf("scroll")>=0&&tue(re?se:a,"scroll",xe,Z,M),i.indexOf("wheel")>=0&&tue(a,"wheel",be,Z,M),(i.indexOf("touch")>=0&&Mce||i.indexOf("pointer")>=0)&&(tue(a,zce[0],me,Z,M),tue(se,zce[2],ve),tue(se,zce[3],ve),R&&tue(a,"click",ce,!0,!0),_&&tue(a,"click",Se),T&&tue(se,"gesturestart",ge),E&&tue(se,"gestureend",ye),I&&tue(a,Rce+"enter",je),F&&tue(a,Rce+"leave",Ce),B&&tue(a,Rce+"move",we)),$.isEnabled=!0,$.isDragging=$.isGesturing=$.isPressed=W=q=!1,$._vx.reset(),$._vy.reset(),ne=ee(),ie=te(),e&&e.type&&me(e),L&&L($)),$},$.disable=function(){$.isEnabled&&(Kce.filter((function(e){return e!==$&&eue(e.target)})).length||nue(re?se:a,"scroll",rue),$.isPressed&&($._vx.reset(),$._vy.reset(),nue(k?a:se,zce[1],fe,!0)),nue(re?se:a,"scroll",xe,M),nue(a,"wheel",be,M),nue(a,zce[0],me,M),nue(se,zce[2],ve),nue(se,zce[3],ve),nue(a,"click",ce,!0),nue(a,"click",Se),nue(se,"gesturestart",ge),nue(se,"gestureend",ye),nue(a,Rce+"enter",je),nue(a,Rce+"leave",Ce),nue(a,Rce+"move",we),$.isEnabled=$.isPressed=$.isDragging=!1,U&&U($))},$.kill=$.revert=function(){$.disable();var e=Kce.indexOf($);e>=0&&Kce.splice(e,1),Vce===$&&(Vce=0)},Kce.push($),k&&eue(a)&&(Vce=$),$.enable(p)},t=e,(n=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&Tce(t.prototype,n),i&&Tce(t,i),e}();mue.version="3.13.0",mue.create=function(e){return new mue(e)},mue.register=fue,mue.getAll=function(){return Kce.slice()},mue.getById=function(e){return Kce.filter((function(t){return t.vars.id===e}))[0]},Wce()&&Ece.registerPlugin(mue); +/*! + * ScrollTrigger 3.13.0 + * https://gsap.com + * + * @license Copyright 2008-2025, GreenSock. All rights reserved. + * Subject to the terms at https://gsap.com/standard-license + * @author: Jack Doyle, jack@greensock.com +*/ +var vue,gue,yue,xue,bue,wue,jue,Cue,Sue,Nue,Iue,Fue,Bue,Pue,kue,Tue,Eue,Due,Lue,Uue,_ue,Oue,Mue,Rue,Que,Hue,Vue,zue,que,Wue,Yue,Kue,Gue,$ue,Xue,Jue,Zue,epe,tpe=1,npe=Date.now,ipe=npe(),ape=0,rpe=0,spe=function(e,t,n){var i=xpe(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return n["_"+t+"Clamp"]=i,i?e.substr(6,e.length-7):e},lpe=function(e,t){return!t||xpe(e)&&"clamp("===e.substr(0,6)?e:"clamp("+e+")"},ope=function e(){return rpe&&requestAnimationFrame(e)},dpe=function(){return Pue=1},cpe=function(){return Pue=0},upe=function(e){return e},ppe=function(e){return Math.round(1e5*e)/1e5||0},Ape=function(){return"undefined"!=typeof window},hpe=function(){return vue||Ape()&&(vue=window.gsap)&&vue.registerPlugin&&vue},fpe=function(e){return!!~jue.indexOf(e)},mpe=function(e){return("Height"===e?Yue:yue["inner"+e])||bue["client"+e]||wue["client"+e]},vpe=function(e){return Zce(e,"getBoundingClientRect")||(fpe(e)?function(){return PAe.width=yue.innerWidth,PAe.height=Yue,PAe}:function(){return Vpe(e)})},gpe=function(e,t){var n=t.s,i=t.d2,a=t.d,r=t.a;return Math.max(0,(n="scroll"+i)&&(r=Zce(e,n))?r()-vpe(e)()[a]:fpe(e)?(bue[n]||wue[n])-mpe(i):e[n]-e["offset"+i])},ype=function(e,t){for(var n=0;n<Lue.length;n+=3)(!t||~t.indexOf(Lue[n+1]))&&e(Lue[n],Lue[n+1],Lue[n+2])},xpe=function(e){return"string"==typeof e},bpe=function(e){return"function"==typeof e},wpe=function(e){return"number"==typeof e},jpe=function(e){return"object"==typeof e},Cpe=function(e,t,n){return e&&e.progress(t?0:1)&&n&&e.pause()},Spe=function(e,t){if(e.enabled){var n=e._ctx?e._ctx.add((function(){return t(e)})):t(e);n&&n.totalTime&&(e.callbackAnimation=n)}},Npe=Math.abs,Ipe="left",Fpe="right",Bpe="bottom",Ppe="width",kpe="height",Tpe="Right",Epe="Left",Dpe="Top",Lpe="Bottom",Upe="padding",_pe="margin",Ope="Width",Mpe="Height",Rpe="px",Qpe=function(e){return yue.getComputedStyle(e)},Hpe=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Vpe=function(e,t){var n=t&&"matrix(1, 0, 0, 1, 0, 0)"!==Qpe(e)[kue]&&vue.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return n&&n.progress(0).kill(),i},zpe=function(e,t){var n=t.d2;return e["offset"+n]||e["client"+n]||0},qpe=function(e){var t,n=[],i=e.labels,a=e.duration();for(t in i)n.push(i[t]/a);return n},Wpe=function(e){var t=vue.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort((function(e,t){return e-t}));return n?function(e,i,a){var r;if(void 0===a&&(a=.001),!i)return t(e);if(i>0){for(e-=a,r=0;r<n.length;r++)if(n[r]>=e)return n[r];return n[r-1]}for(r=n.length,e+=a;r--;)if(n[r]<=e)return n[r];return n[0]}:function(n,i,a){void 0===a&&(a=.001);var r=t(n);return!i||Math.abs(r-n)<a||r-n<0==i<0?r:t(i<0?n-e:n+e)}},Ype=function(e,t,n,i){return n.split(",").forEach((function(n){return e(t,n,i)}))},Kpe=function(e,t,n,i,a){return e.addEventListener(t,n,{passive:!i,capture:!!a})},Gpe=function(e,t,n,i){return e.removeEventListener(t,n,!!i)},$pe=function(e,t,n){(n=n&&n.wheelHandler)&&(e(t,"wheel",n),e(t,"touchmove",n))},Xpe={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Jpe={toggleActions:"play",anticipatePin:0},Zpe={top:0,left:0,center:.5,bottom:1,right:1},eAe=function(e,t){if(xpe(e)){var n=e.indexOf("="),i=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf("%")>n&&(i*=t/100),e=e.substr(0,n-1)),e=i+(e in Zpe?Zpe[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},tAe=function(e,t,n,i,a,r,s,l){var o=a.startColor,d=a.endColor,c=a.fontSize,u=a.indent,p=a.fontWeight,A=xue.createElement("div"),h=fpe(n)||"fixed"===Zce(n,"pinType"),f=-1!==e.indexOf("scroller"),m=h?wue:n,v=-1!==e.indexOf("start"),g=v?o:d,y="border-color:"+g+";font-size:"+c+";color:"+g+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((f||l)&&h?"fixed;":"absolute;"),(f||l||!h)&&(y+=(i===oue?Fpe:Bpe)+":"+(r+parseFloat(u))+"px;"),s&&(y+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),A._isStart=v,A.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),A.style.cssText=y,A.innerText=t||0===t?e+"-"+t:e,m.children[0]?m.insertBefore(A,m.children[0]):m.appendChild(A),A._offset=A["offset"+i.op.d2],nAe(A,0,i,v),A},nAe=function(e,t,n,i){var a={display:"block"},r=n[i?"os2":"p2"],s=n[i?"p2":"os2"];e._isFlipped=i,a[n.a+"Percent"]=i?-100:0,a[n.a]=i?"1px":0,a["border"+r+Ope]=1,a["border"+s+Ope]=0,a[n.p]=t+"px",vue.set(e,a)},iAe=[],aAe={},rAe=function(){return npe()-ape>34&&(Xue||(Xue=requestAnimationFrame(jAe)))},sAe=function(){(!Mue||!Mue.isPressed||Mue.startX>wue.clientWidth)&&(Gce.cache++,Mue?Xue||(Xue=requestAnimationFrame(jAe)):jAe(),ape||pAe("scrollStart"),ape=npe())},lAe=function(){Hue=yue.innerWidth,Que=yue.innerHeight},oAe=function(e){Gce.cache++,(!0===e||!Bue&&!Oue&&!xue.fullscreenElement&&!xue.webkitFullscreenElement&&(!Rue||Hue!==yue.innerWidth||Math.abs(yue.innerHeight-Que)>.25*yue.innerHeight))&&Cue.restart(!0)},dAe={},cAe=[],uAe=function e(){return Gpe(_Ae,"scrollEnd",e)||xAe(!0)},pAe=function(e){return dAe[e]&&dAe[e].map((function(e){return e()}))||cAe},AAe=[],hAe=function(e){for(var t=0;t<AAe.length;t+=5)(!e||AAe[t+4]&&AAe[t+4].query===e)&&(AAe[t].style.cssText=AAe[t+1],AAe[t].getBBox&&AAe[t].setAttribute("transform",AAe[t+2]||""),AAe[t+3].uncache=1)},fAe=function(e,t){var n;for(Tue=0;Tue<iAe.length;Tue++)!(n=iAe[Tue])||t&&n._ctx!==t||(e?n.kill(1):n.revert(!0,!0));Kue=!0,t&&hAe(t),t||pAe("revert")},mAe=function(e,t){Gce.cache++,(t||!Jue)&&Gce.forEach((function(e){return bpe(e)&&e.cacheID++&&(e.rec=0)})),xpe(e)&&(yue.history.scrollRestoration=que=e)},vAe=0,gAe=function(){wue.appendChild(Wue),Yue=!Mue&&Wue.offsetHeight||yue.innerHeight,wue.removeChild(Wue)},yAe=function(e){return Sue(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach((function(t){return t.style.display=e?"none":"block"}))},xAe=function(e,t){if(bue=xue.documentElement,wue=xue.body,jue=[yue,xue,bue,wue],!ape||e||Kue){gAe(),Jue=_Ae.isRefreshing=!0,Gce.forEach((function(e){return bpe(e)&&++e.cacheID&&(e.rec=e())}));var n=pAe("refreshInit");Uue&&_Ae.sort(),t||fAe(),Gce.forEach((function(e){bpe(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))})),iAe.slice(0).forEach((function(e){return e.refresh()})),Kue=!1,iAe.forEach((function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?"offsetWidth":"offsetHeight",n=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-n),e.refresh()}})),Gue=1,yAe(!0),iAe.forEach((function(e){var t=gpe(e.scroller,e._dir),n="max"===e.vars.end||e._endClamp&&e.end>t,i=e._startClamp&&e.start>=t;(n||i)&&e.setPositions(i?t-1:e.start,n?Math.max(i?t:e.start+1,t):e.end,!0)})),yAe(!1),Gue=0,n.forEach((function(e){return e&&e.render&&e.render(-1)})),Gce.forEach((function(e){bpe(e)&&(e.smooth&&requestAnimationFrame((function(){return e.target.style.scrollBehavior="smooth"})),e.rec&&e(e.rec))})),mAe(que,1),Cue.pause(),vAe++,Jue=2,jAe(2),iAe.forEach((function(e){return bpe(e.vars.onRefresh)&&e.vars.onRefresh(e)})),Jue=_Ae.isRefreshing=!1,pAe("refresh")}else Kpe(_Ae,"scrollEnd",uAe)},bAe=0,wAe=1,jAe=function(e){if(2===e||!Jue&&!Kue){_Ae.isUpdating=!0,epe&&epe.update(0);var t=iAe.length,n=npe(),i=n-ipe>=50,a=t&&iAe[0].scroll();if(wAe=bAe>a?-1:1,Jue||(bAe=a),i&&(ape&&!Pue&&n-ape>200&&(ape=0,pAe("scrollEnd")),Iue=ipe,ipe=n),wAe<0){for(Tue=t;Tue-- >0;)iAe[Tue]&&iAe[Tue].update(0,i);wAe=1}else for(Tue=0;Tue<t;Tue++)iAe[Tue]&&iAe[Tue].update(0,i);_Ae.isUpdating=!1}Xue=0},CAe=[Ipe,"top",Bpe,Fpe,_pe+Lpe,_pe+Tpe,_pe+Dpe,_pe+Epe,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],SAe=CAe.concat([Ppe,kpe,"boxSizing","max"+Ope,"max"+Mpe,"position",_pe,Upe,Upe+Dpe,Upe+Tpe,Upe+Lpe,Upe+Epe]),NAe=function(e,t,n,i){if(!e._gsap.swappedIn){for(var a,r=CAe.length,s=t.style,l=e.style;r--;)s[a=CAe[r]]=n[a];s.position="absolute"===n.position?"absolute":"relative","inline"===n.display&&(s.display="inline-block"),l[Bpe]=l[Fpe]="auto",s.flexBasis=n.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[Ppe]=zpe(e,lue)+Rpe,s[kpe]=zpe(e,oue)+Rpe,s[Upe]=l[_pe]=l.top=l[Ipe]="0",FAe(i),l[Ppe]=l["max"+Ope]=n[Ppe],l[kpe]=l["max"+Mpe]=n[kpe],l[Upe]=n[Upe],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},IAe=/([A-Z])/g,FAe=function(e){if(e){var t,n,i=e.t.style,a=e.length,r=0;for((e.t._gsap||vue.core.getCache(e.t)).uncache=1;r<a;r+=2)n=e[r+1],t=e[r],n?i[t]=n:i[t]&&i.removeProperty(t.replace(IAe,"-$1").toLowerCase())}},BAe=function(e){for(var t=SAe.length,n=e.style,i=[],a=0;a<t;a++)i.push(SAe[a],n[SAe[a]]);return i.t=e,i},PAe={left:0,top:0},kAe=function(e,t,n,i,a,r,s,l,o,d,c,u,p,A){bpe(e)&&(e=e(l)),xpe(e)&&"max"===e.substr(0,3)&&(e=u+("="===e.charAt(4)?eAe("0"+e.substr(3),n):0));var h,f,m,v=p?p.time():0;if(p&&p.seek(0),isNaN(e)||(e=+e),wpe(e))p&&(e=vue.utils.mapRange(p.scrollTrigger.start,p.scrollTrigger.end,0,u,e)),s&&nAe(s,n,i,!0);else{bpe(t)&&(t=t(l));var g,y,x,b,w=(e||"0").split(" ");m=due(t,l)||wue,(g=Vpe(m)||{})&&(g.left||g.top)||"none"!==Qpe(m).display||(b=m.style.display,m.style.display="block",g=Vpe(m),b?m.style.display=b:m.style.removeProperty("display")),y=eAe(w[0],g[i.d]),x=eAe(w[1]||"0",n),e=g[i.p]-o[i.p]-d+y+a-x,s&&nAe(s,x,i,n-x<20||s._isStart&&x>20),n-=n-x}if(A&&(l[A]=e||-.001,e<0&&(e=0)),r){var j=e+n,C=r._isStart;h="scroll"+i.d2,nAe(r,j,i,C&&j>20||!C&&(c?Math.max(wue[h],bue[h]):r.parentNode[h])<=j+1),c&&(o=Vpe(s),c&&(r.style[i.op.p]=o[i.op.p]-i.op.m-r._offset+Rpe))}return p&&m&&(h=Vpe(m),p.seek(u),f=Vpe(m),p._caScrollDist=h[i.p]-f[i.p],e=e/p._caScrollDist*u),p&&p.seek(v),p?e:Math.round(e)},TAe=/(webkit|moz|length|cssText|inset)/i,EAe=function(e,t,n,i){if(e.parentNode!==t){var a,r,s=e.style;if(t===wue){for(a in e._stOrig=s.cssText,r=Qpe(e))+a||TAe.test(a)||!r[a]||"string"!=typeof s[a]||"0"===a||(s[a]=r[a]);s.top=n,s.left=i}else s.cssText=e._stOrig;vue.core.getCache(e).uncache=1,t.appendChild(e)}},DAe=function(e,t,n){var i=t,a=i;return function(t){var r=Math.round(e());return r!==i&&r!==a&&Math.abs(r-i)>3&&Math.abs(r-a)>3&&(t=r,n&&n()),a=i,i=Math.round(t)}},LAe=function(e,t,n){var i={};i[t.p]="+="+n,vue.set(e,i)},UAe=function(e,t){var n=cue(e,t),i="_scroll"+t.p2,a=function t(a,r,s,l,o){var d=t.tween,c=r.onComplete,u={};s=s||n();var p=DAe(n,s,(function(){d.kill(),t.tween=0}));return o=l&&o||0,l=l||a-s,d&&d.kill(),r[i]=a,r.inherit=!1,r.modifiers=u,u[i]=function(){return p(s+l*d.ratio+o*d.ratio*d.ratio)},r.onUpdate=function(){Gce.cache++,t.tween&&jAe()},r.onComplete=function(){t.tween=0,c&&c.call(d)},d=t.tween=vue.to(e,r)};return e[i]=n,n.wheelHandler=function(){return a.tween&&a.tween.kill()&&(a.tween=0)},Kpe(e,"wheel",n.wheelHandler),_Ae.isTouch&&Kpe(e,"touchmove",n.wheelHandler),a},_Ae=function(){function e(t,n){gue||e.register(vue),zue(this),this.init(t,n)}return e.prototype.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),rpe){var i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P,k,T,E,D,L,U,_,O,M,R,Q,H,V,z,q=t=Hpe(xpe(t)||wpe(t)||t.nodeType?{trigger:t}:t,Jpe),W=q.onUpdate,Y=q.toggleClass,K=q.id,G=q.onToggle,$=q.onRefresh,X=q.scrub,J=q.trigger,Z=q.pin,ee=q.pinSpacing,te=q.invalidateOnRefresh,ne=q.anticipatePin,ie=q.onScrubComplete,ae=q.onSnapComplete,re=q.once,se=q.snap,le=q.pinReparent,oe=q.pinSpacer,de=q.containerAnimation,ce=q.fastScrollEnd,ue=q.preventOverlaps,pe=t.horizontal||t.containerAnimation&&!1!==t.horizontal?lue:oue,Ae=!X&&0!==X,he=due(t.scroller||yue),fe=vue.core.getCache(he),me=fpe(he),ve="fixed"===("pinType"in t?t.pinType:Zce(he,"pinType")||me&&"fixed"),ge=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],ye=Ae&&t.toggleActions.split(" "),xe="markers"in t?t.markers:Jpe.markers,be=me?0:parseFloat(Qpe(he)["border"+pe.p2+Ope])||0,we=this,je=t.onRefreshInit&&function(){return t.onRefreshInit(we)},Ce=function(e,t,n){var i=n.d,a=n.d2,r=n.a;return(r=Zce(e,"getBoundingClientRect"))?function(){return r()[i]}:function(){return(t?mpe(a):e["client"+a])||0}}(he,me,pe),Se=function(e,t){return!t||~$ce.indexOf(e)?vpe(e):function(){return PAe}}(he,me),Ne=0,Ie=0,Fe=0,Be=cue(he,pe);if(we._startClamp=we._endClamp=!1,we._dir=pe,ne*=45,we.scroller=he,we.scroll=de?de.time.bind(de):Be,s=Be(),we.vars=t,n=n||t.animation,"refreshPriority"in t&&(Uue=1,-9999===t.refreshPriority&&(epe=we)),fe.tweenScroll=fe.tweenScroll||{top:UAe(he,oue),left:UAe(he,lue)},we.tweenTo=i=fe.tweenScroll[pe.p],we.scrubDuration=function(e){(L=wpe(e)&&e)?D?D.duration(e):D=vue.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:L,paused:!0,onComplete:function(){return ie&&ie(we)}}):(D&&D.progress(1).kill(),D=0)},n&&(n.vars.lazy=!1,n._initted&&!we.isReverted||!1!==n.vars.immediateRender&&!1!==t.immediateRender&&n.duration()&&n.render(0,!0,!0),we.animation=n.pause(),n.scrollTrigger=we,we.scrubDuration(X),T=0,K||(K=n.vars.id)),se&&(jpe(se)&&!se.push||(se={snapTo:se}),"scrollBehavior"in wue.style&&vue.set(me?[wue,bue]:he,{scrollBehavior:"auto"}),Gce.forEach((function(e){return bpe(e)&&e.target===(me?xue.scrollingElement||bue:he)&&(e.smooth=!1)})),r=bpe(se.snapTo)?se.snapTo:"labels"===se.snapTo?function(e){return function(t){return vue.utils.snap(qpe(e),t)}}(n):"labelsDirectional"===se.snapTo?(H=n,function(e,t){return Wpe(qpe(H))(e,t.direction)}):!1!==se.directional?function(e,t){return Wpe(se.snapTo)(e,npe()-Ie<500?0:t.direction)}:vue.utils.snap(se.snapTo),U=se.duration||{min:.1,max:2},U=jpe(U)?Nue(U.min,U.max):Nue(U,U),_=vue.delayedCall(se.delay||L/2||.1,(function(){var e=Be(),t=npe()-Ie<500,a=i.tween;if(!(t||Math.abs(we.getVelocity())<10)||a||Pue||Ne===e)we.isActive&&Ne!==e&&_.restart(!0);else{var s,l,c=(e-o)/m,u=n&&!Ae?n.totalProgress():c,p=t?0:(u-E)/(npe()-Iue)*1e3||0,A=vue.utils.clamp(-c,1-c,Npe(p/2)*p/.185),h=c+(!1===se.inertia?0:A),f=se,v=f.onStart,g=f.onInterrupt,y=f.onComplete;if(s=r(h,we),wpe(s)||(s=h),l=Math.max(0,Math.round(o+s*m)),e<=d&&e>=o&&l!==e){if(a&&!a._initted&&a.data<=Npe(l-e))return;!1===se.inertia&&(A=s-c),i(l,{duration:U(Npe(.185*Math.max(Npe(h-u),Npe(s-u))/p/.05||0)),ease:se.ease||"power3",data:Npe(l-e),onInterrupt:function(){return _.restart(!0)&&g&&g(we)},onComplete:function(){we.update(),Ne=Be(),n&&!Ae&&(D?D.resetTo("totalProgress",s,n._tTime/n._tDur):n.progress(s)),T=E=n&&!Ae?n.totalProgress():we.progress,ae&&ae(we),y&&y(we)}},e,A*m,l-e-A*m),v&&v(we,i.tween)}}})).pause()),K&&(aAe[K]=we),(Q=(J=we.trigger=due(J||!0!==Z&&Z))&&J._gsap&&J._gsap.stRevert)&&(Q=Q(we)),Z=!0===Z?J:due(Z),xpe(Y)&&(Y={targets:J,className:Y}),Z&&(!1===ee||ee===_pe||(ee=!(!ee&&Z.parentNode&&Z.parentNode.style&&"flex"===Qpe(Z.parentNode).display)&&Upe),we.pin=Z,(a=vue.core.getCache(Z)).spacer?v=a.pinState:(oe&&((oe=due(oe))&&!oe.nodeType&&(oe=oe.current||oe.nativeElement),a.spacerIsNative=!!oe,oe&&(a.spacerState=BAe(oe))),a.spacer=x=oe||xue.createElement("div"),x.classList.add("pin-spacer"),K&&x.classList.add("pin-spacer-"+K),a.pinState=v=BAe(Z)),!1!==t.force3D&&vue.set(Z,{force3D:!0}),we.spacer=x=a.spacer,k=Qpe(Z),N=k[ee+pe.os2],w=vue.getProperty(Z),j=vue.quickSetter(Z,pe.a,Rpe),NAe(Z,x,k),y=BAe(Z)),xe){h=jpe(xe)?Hpe(xe,Xpe):Xpe,p=tAe("scroller-start",K,he,pe,h,0),A=tAe("scroller-end",K,he,pe,h,0,p),b=p["offset"+pe.op.d2];var Pe=due(Zce(he,"content")||he);c=this.markerStart=tAe("start",K,Pe,pe,h,b,0,de),u=this.markerEnd=tAe("end",K,Pe,pe,h,b,0,de),de&&(R=vue.quickSetter([c,u],pe.a,Rpe)),ve||$ce.length&&!0===Zce(he,"fixedMarkers")||(z=Qpe(V=me?wue:he).position,V.style.position="absolute"===z||"fixed"===z?z:"relative",vue.set([p,A],{force3D:!0}),F=vue.quickSetter(p,pe.a,Rpe),P=vue.quickSetter(A,pe.a,Rpe))}if(de){var ke=de.vars.onUpdate,Te=de.vars.onUpdateParams;de.eventCallback("onUpdate",(function(){we.update(0,0,1),ke&&ke.apply(de,Te||[])}))}if(we.previous=function(){return iAe[iAe.indexOf(we)-1]},we.next=function(){return iAe[iAe.indexOf(we)+1]},we.revert=function(e,t){if(!t)return we.kill(!0);var i=!1!==e||!we.enabled,a=Bue;i!==we.isReverted&&(i&&(O=Math.max(Be(),we.scroll.rec||0),Fe=we.progress,M=n&&n.progress()),c&&[c,u,p,A].forEach((function(e){return e.style.display=i?"none":"block"})),i&&(Bue=we,we.update(i)),!Z||le&&we.isActive||(i?function(e,t,n){FAe(n);var i=e._gsap;if(i.spacerIsNative)FAe(i.spacerState);else if(e._gsap.swappedIn){var a=t.parentNode;a&&(a.insertBefore(e,t),a.removeChild(t))}e._gsap.swappedIn=!1}(Z,x,v):NAe(Z,x,Qpe(Z),I)),i||we.update(i),Bue=a,we.isReverted=i)},we.refresh=function(a,r,h,b){if(!Bue&&we.enabled||r)if(Z&&a&&ape)Kpe(e,"scrollEnd",uAe);else{!Jue&&je&&je(we),Bue=we,i.tween&&!h&&(i.tween.kill(),i.tween=0),D&&D.pause(),te&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren&&n.getChildren(!0,!0,!1).forEach((function(e){return e.vars.immediateRender&&e.render(0,!0,!0)}))),we.isReverted||we.revert(!0,!0),we._subPinOffset=!1;var j,N,F,P,k,T,E,L,U,R,Q,H,V,z=Ce(),q=Se(),W=de?de.duration():gpe(he,pe),Y=m<=.01||!m,K=0,G=b||0,X=jpe(h)?h.end:t.end,ne=t.endTrigger||J,ie=jpe(h)?h.start:t.start||(0!==t.start&&J?Z?"0 0":"0 100%":0),ae=we.pinnedContainer=t.pinnedContainer&&due(t.pinnedContainer,we),re=J&&Math.max(0,iAe.indexOf(we))||0,se=re;for(xe&&jpe(h)&&(H=vue.getProperty(p,pe.p),V=vue.getProperty(A,pe.p));se-- >0;)(T=iAe[se]).end||T.refresh(0,1)||(Bue=we),!(E=T.pin)||E!==J&&E!==Z&&E!==ae||T.isReverted||(R||(R=[]),R.unshift(T),T.revert(!0,!0)),T!==iAe[se]&&(re--,se--);for(bpe(ie)&&(ie=ie(we)),ie=spe(ie,"start",we),o=kAe(ie,J,z,pe,Be(),c,p,we,q,be,ve,W,de,we._startClamp&&"_startClamp")||(Z?-.001:0),bpe(X)&&(X=X(we)),xpe(X)&&!X.indexOf("+=")&&(~X.indexOf(" ")?X=(xpe(ie)?ie.split(" ")[0]:"")+X:(K=eAe(X.substr(2),z),X=xpe(ie)?ie:(de?vue.utils.mapRange(0,de.duration(),de.scrollTrigger.start,de.scrollTrigger.end,o):o)+K,ne=J)),X=spe(X,"end",we),d=Math.max(o,kAe(X||(ne?"100% 0":W),ne,z,pe,Be()+K,u,A,we,q,be,ve,W,de,we._endClamp&&"_endClamp"))||-.001,K=0,se=re;se--;)(E=(T=iAe[se]).pin)&&T.start-T._pinPush<=o&&!de&&T.end>0&&(j=T.end-(we._startClamp?Math.max(0,T.start):T.start),(E===J&&T.start-T._pinPush<o||E===ae)&&isNaN(ie)&&(K+=j*(1-T.progress)),E===Z&&(G+=j));if(o+=K,d+=K,we._startClamp&&(we._startClamp+=K),we._endClamp&&!Jue&&(we._endClamp=d||-.001,d=Math.min(d,gpe(he,pe))),m=d-o||(o-=.01)&&.001,Y&&(Fe=vue.utils.clamp(0,1,vue.utils.normalize(o,d,O))),we._pinPush=G,c&&K&&((j={})[pe.a]="+="+K,ae&&(j[pe.p]="-="+Be()),vue.set([c,u],j)),!Z||Gue&&we.end>=gpe(he,pe)){if(J&&Be()&&!de)for(N=J.parentNode;N&&N!==wue;)N._pinOffset&&(o-=N._pinOffset,d-=N._pinOffset),N=N.parentNode}else j=Qpe(Z),P=pe===oue,F=Be(),C=parseFloat(w(pe.a))+G,!W&&d>1&&(Q={style:Q=(me?xue.scrollingElement||bue:he).style,value:Q["overflow"+pe.a.toUpperCase()]},me&&"scroll"!==Qpe(wue)["overflow"+pe.a.toUpperCase()]&&(Q.style["overflow"+pe.a.toUpperCase()]="scroll")),NAe(Z,x,j),y=BAe(Z),N=Vpe(Z,!0),L=ve&&cue(he,P?lue:oue)(),ee?((I=[ee+pe.os2,m+G+Rpe]).t=x,(se=ee===Upe?zpe(Z,pe)+m+G:0)&&(I.push(pe.d,se+Rpe),"auto"!==x.style.flexBasis&&(x.style.flexBasis=se+Rpe)),FAe(I),ae&&iAe.forEach((function(e){e.pin===ae&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)})),ve&&Be(O)):(se=zpe(Z,pe))&&"auto"!==x.style.flexBasis&&(x.style.flexBasis=se+Rpe),ve&&((k={top:N.top+(P?F-o:L)+Rpe,left:N.left+(P?L:F-o)+Rpe,boxSizing:"border-box",position:"fixed"})[Ppe]=k["max"+Ope]=Math.ceil(N.width)+Rpe,k[kpe]=k["max"+Mpe]=Math.ceil(N.height)+Rpe,k[_pe]=k[_pe+Dpe]=k[_pe+Tpe]=k[_pe+Lpe]=k[_pe+Epe]="0",k[Upe]=j[Upe],k[Upe+Dpe]=j[Upe+Dpe],k[Upe+Tpe]=j[Upe+Tpe],k[Upe+Lpe]=j[Upe+Lpe],k[Upe+Epe]=j[Upe+Epe],g=function(e,t,n){for(var i,a=[],r=e.length,s=n?8:0;s<r;s+=2)i=e[s],a.push(i,i in t?t[i]:e[s+1]);return a.t=e.t,a}(v,k,le),Jue&&Be(0)),n?(U=n._initted,_ue(1),n.render(n.duration(),!0,!0),S=w(pe.a)-C+m+G,B=Math.abs(m-S)>1,ve&&B&&g.splice(g.length-2,2),n.render(0,!0,!0),U||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),_ue(0)):S=m,Q&&(Q.value?Q.style["overflow"+pe.a.toUpperCase()]=Q.value:Q.style.removeProperty("overflow-"+pe.a));R&&R.forEach((function(e){return e.revert(!1,!0)})),we.start=o,we.end=d,s=l=Jue?O:Be(),de||Jue||(s<O&&Be(O),we.scroll.rec=0),we.revert(!1,!0),Ie=npe(),_&&(Ne=-1,_.restart(!0)),Bue=0,n&&Ae&&(n._initted||M)&&n.progress()!==M&&n.progress(M||0,!0).render(n.time(),!0,!0),(Y||Fe!==we.progress||de||te||n&&!n._initted)&&(n&&!Ae&&(n._initted||Fe||!1!==n.vars.immediateRender)&&n.totalProgress(de&&o<-.001&&!Fe?vue.utils.normalize(o,d,0):Fe,!0),we.progress=Y||(s-o)/m===Fe?0:Fe),Z&&ee&&(x._pinOffset=Math.round(we.progress*S)),D&&D.invalidate(),isNaN(H)||(H-=vue.getProperty(p,pe.p),V-=vue.getProperty(A,pe.p),LAe(p,pe,H),LAe(c,pe,H-(b||0)),LAe(A,pe,V),LAe(u,pe,V-(b||0))),Y&&!Jue&&we.update(),!$||Jue||f||(f=!0,$(we),f=!1)}},we.getVelocity=function(){return(Be()-l)/(npe()-Iue)*1e3||0},we.endAnimation=function(){Cpe(we.callbackAnimation),n&&(D?D.progress(1):n.paused()?Ae||Cpe(n,we.direction<0,1):Cpe(n,n.reversed()))},we.labelToScroll=function(e){return n&&n.labels&&(o||we.refresh()||o)+n.labels[e]/n.duration()*m||0},we.getTrailing=function(e){var t=iAe.indexOf(we),n=we.direction>0?iAe.slice(0,t).reverse():iAe.slice(t+1);return(xpe(e)?n.filter((function(t){return t.vars.preventOverlaps===e})):n).filter((function(e){return we.direction>0?e.end<=o:e.start>=d}))},we.update=function(e,t,a){if(!de||a||e){var r,c,u,A,h,f,v,b=!0===Jue?O:we.scroll(),w=e?0:(b-o)/m,I=w<0?0:w>1?1:w||0,k=we.progress;if(t&&(l=s,s=de?Be():b,se&&(E=T,T=n&&!Ae?n.totalProgress():I)),ne&&Z&&!Bue&&!tpe&&ape&&(!I&&o<b+(b-l)/(npe()-Iue)*ne?I=1e-4:1===I&&d>b+(b-l)/(npe()-Iue)*ne&&(I=.9999)),I!==k&&we.enabled){if(A=(h=(r=we.isActive=!!I&&I<1)!==(!!k&&k<1))||!!I!=!!k,we.direction=I>k?1:-1,we.progress=I,A&&!Bue&&(c=I&&!k?0:1===I?1:1===k?2:3,Ae&&(u=!h&&"none"!==ye[c+1]&&ye[c+1]||ye[c],v=n&&("complete"===u||"reset"===u||u in n))),ue&&(h||v)&&(v||X||!n)&&(bpe(ue)?ue(we):we.getTrailing(ue).forEach((function(e){return e.endAnimation()}))),Ae||(!D||Bue||tpe?n&&n.totalProgress(I,!(!Bue||!Ie&&!e)):(D._dp._time-D._start!==D._time&&D.render(D._dp._time-D._start),D.resetTo?D.resetTo("totalProgress",I,n._tTime/n._tDur):(D.vars.totalProgress=I,D.invalidate().restart()))),Z)if(e&&ee&&(x.style[ee+pe.os2]=N),ve){if(A){if(f=!e&&I>k&&d+1>b&&b+1>=gpe(he,pe),le)if(e||!r&&!f)EAe(Z,x);else{var L=Vpe(Z,!0),U=b-o;EAe(Z,wue,L.top+(pe===oue?U:0)+Rpe,L.left+(pe===oue?0:U)+Rpe)}FAe(r||f?g:y),B&&I<1&&r||j(C+(1!==I||f?0:S))}}else j(ppe(C+S*I));se&&!i.tween&&!Bue&&!tpe&&_.restart(!0),Y&&(h||re&&I&&(I<1||!$ue))&&Sue(Y.targets).forEach((function(e){return e.classList[r||re?"add":"remove"](Y.className)})),W&&!Ae&&!e&&W(we),A&&!Bue?(Ae&&(v&&("complete"===u?n.pause().totalProgress(1):"reset"===u?n.restart(!0).pause():"restart"===u?n.restart(!0):n[u]()),W&&W(we)),!h&&$ue||(G&&h&&Spe(we,G),ge[c]&&Spe(we,ge[c]),re&&(1===I?we.kill(!1,1):ge[c]=0),h||ge[c=1===I?1:3]&&Spe(we,ge[c])),ce&&!r&&Math.abs(we.getVelocity())>(wpe(ce)?ce:2500)&&(Cpe(we.callbackAnimation),D?D.progress(1):Cpe(n,"reverse"===u?1:!I,1))):Ae&&W&&!Bue&&W(we)}if(P){var M=de?b/de.duration()*(de._caScrollDist||0):b;F(M+(p._isFlipped?1:0)),P(M)}R&&R(-b/de.duration()*(de._caScrollDist||0))}},we.enable=function(t,n){we.enabled||(we.enabled=!0,Kpe(he,"resize",oAe),me||Kpe(he,"scroll",sAe),je&&Kpe(e,"refreshInit",je),!1!==t&&(we.progress=Fe=0,s=l=Ne=Be()),!1!==n&&we.refresh())},we.getTween=function(e){return e&&i?i.tween:D},we.setPositions=function(e,t,n,i){if(de){var a=de.scrollTrigger,r=de.duration(),s=a.end-a.start;e=a.start+s*e/r,t=a.start+s*t/r}we.refresh(!1,!1,{start:lpe(e,n&&!!we._startClamp),end:lpe(t,n&&!!we._endClamp)},i),we.update()},we.adjustPinSpacing=function(e){if(I&&e){var t=I.indexOf(pe.d)+1;I[t]=parseFloat(I[t])+e+Rpe,I[1]=parseFloat(I[1])+e+Rpe,FAe(I)}},we.disable=function(t,n){if(we.enabled&&(!1!==t&&we.revert(!0,!0),we.enabled=we.isActive=!1,n||D&&D.pause(),O=0,a&&(a.uncache=1),je&&Gpe(e,"refreshInit",je),_&&(_.pause(),i.tween&&i.tween.kill()&&(i.tween=0)),!me)){for(var r=iAe.length;r--;)if(iAe[r].scroller===he&&iAe[r]!==we)return;Gpe(he,"resize",oAe),me||Gpe(he,"scroll",sAe)}},we.kill=function(e,i){we.disable(e,i),D&&!i&&D.kill(),K&&delete aAe[K];var r=iAe.indexOf(we);r>=0&&iAe.splice(r,1),r===Tue&&wAe>0&&Tue--,r=0,iAe.forEach((function(e){return e.scroller===we.scroller&&(r=1)})),r||Jue||(we.scroll.rec=0),n&&(n.scrollTrigger=null,e&&n.revert({kill:!1}),i||n.kill()),c&&[c,u,p,A].forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),epe===we&&(epe=0),Z&&(a&&(a.uncache=1),r=0,iAe.forEach((function(e){return e.pin===Z&&r++})),r||(a.spacer=0)),t.onKill&&t.onKill(we)},iAe.push(we),we.enable(!1,!1),Q&&Q(we),n&&n.add&&!m){var Ee=we.update;we.update=function(){we.update=Ee,Gce.cache++,o||d||we.refresh()},vue.delayedCall(.01,we.update),m=.01,o=d=0}else we.refresh();Z&&function(){if(Zue!==vAe){var e=Zue=vAe;requestAnimationFrame((function(){return e===vAe&&xAe(!0)}))}}()}else this.update=this.refresh=this.kill=upe},e.register=function(t){return gue||(vue=t||hpe(),Ape()&&window.document&&e.enable(),gue=rpe),gue},e.defaults=function(e){if(e)for(var t in e)Jpe[t]=e[t];return Jpe},e.disable=function(e,t){rpe=0,iAe.forEach((function(n){return n[t?"kill":"disable"](e)})),Gpe(yue,"wheel",sAe),Gpe(xue,"scroll",sAe),clearInterval(Fue),Gpe(xue,"touchcancel",upe),Gpe(wue,"touchstart",upe),Ype(Gpe,xue,"pointerdown,touchstart,mousedown",dpe),Ype(Gpe,xue,"pointerup,touchend,mouseup",cpe),Cue.kill(),ype(Gpe);for(var n=0;n<Gce.length;n+=3)$pe(Gpe,Gce[n],Gce[n+1]),$pe(Gpe,Gce[n],Gce[n+2])},e.enable=function(){if(yue=window,xue=document,bue=xue.documentElement,wue=xue.body,vue&&(Sue=vue.utils.toArray,Nue=vue.utils.clamp,zue=vue.core.context||upe,_ue=vue.core.suppressOverwrites||upe,que=yue.history.scrollRestoration||"auto",bAe=yue.pageYOffset||0,vue.core.globals("ScrollTrigger",e),wue)){rpe=1,(Wue=document.createElement("div")).style.height="100vh",Wue.style.position="absolute",gAe(),ope(),mue.register(vue),e.isTouch=mue.isTouch,Vue=mue.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Rue=1===mue.isTouch,Kpe(yue,"wheel",sAe),jue=[yue,xue,bue,wue],vue.matchMedia&&(e.matchMedia=function(e){var t,n=vue.matchMedia();for(t in e)n.add(t,e[t]);return n},vue.addEventListener("matchMediaInit",(function(){return fAe()})),vue.addEventListener("matchMediaRevert",(function(){return hAe()})),vue.addEventListener("matchMedia",(function(){xAe(0,1),pAe("matchMedia")})),vue.matchMedia().add("(orientation: portrait)",(function(){return lAe(),lAe}))),lAe(),Kpe(xue,"scroll",sAe);var t,n,i=wue.hasAttribute("style"),a=wue.style,r=a.borderTopStyle,s=vue.core.Animation.prototype;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),a.borderTopStyle="solid",t=Vpe(wue),oue.m=Math.round(t.top+oue.sc())||0,lue.m=Math.round(t.left+lue.sc())||0,r?a.borderTopStyle=r:a.removeProperty("border-top-style"),i||(wue.setAttribute("style",""),wue.removeAttribute("style")),Fue=setInterval(rAe,250),vue.delayedCall(.5,(function(){return tpe=0})),Kpe(xue,"touchcancel",upe),Kpe(wue,"touchstart",upe),Ype(Kpe,xue,"pointerdown,touchstart,mousedown",dpe),Ype(Kpe,xue,"pointerup,touchend,mouseup",cpe),kue=vue.utils.checkPrefix("transform"),SAe.push(kue),gue=npe(),Cue=vue.delayedCall(.2,xAe).pause(),Lue=[xue,"visibilitychange",function(){var e=yue.innerWidth,t=yue.innerHeight;xue.hidden?(Eue=e,Due=t):Eue===e&&Due===t||oAe()},xue,"DOMContentLoaded",xAe,yue,"load",xAe,yue,"resize",oAe],ype(Kpe),iAe.forEach((function(e){return e.enable(0,1)})),n=0;n<Gce.length;n+=3)$pe(Gpe,Gce[n],Gce[n+1]),$pe(Gpe,Gce[n],Gce[n+2])}},e.config=function(t){"limitCallbacks"in t&&($ue=!!t.limitCallbacks);var n=t.syncInterval;n&&clearInterval(Fue)||(Fue=n)&&setInterval(rAe,n),"ignoreMobileResize"in t&&(Rue=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(ype(Gpe)||ype(Kpe,t.autoRefreshEvents||"none"),Oue=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var n=due(e),i=Gce.indexOf(n),a=fpe(n);~i&&Gce.splice(i,a?6:2),t&&(a?$ce.unshift(yue,t,wue,t,bue,t):$ce.unshift(n,t))},e.clearMatchMedia=function(e){iAe.forEach((function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)}))},e.isInViewport=function(e,t,n){var i=(xpe(e)?due(e):e).getBoundingClientRect(),a=i[n?Ppe:kpe]*t||0;return n?i.right-a>0&&i.left+a<yue.innerWidth:i.bottom-a>0&&i.top+a<yue.innerHeight},e.positionInViewport=function(e,t,n){xpe(e)&&(e=due(e));var i=e.getBoundingClientRect(),a=i[n?Ppe:kpe],r=null==t?a/2:t in Zpe?Zpe[t]*a:~t.indexOf("%")?parseFloat(t)*a/100:parseFloat(t)||0;return n?(i.left+r)/yue.innerWidth:(i.top+r)/yue.innerHeight},e.killAll=function(e){if(iAe.slice(0).forEach((function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()})),!0!==e){var t=dAe.killAll||[];dAe={},t.forEach((function(e){return e()}))}},e}();_Ae.version="3.13.0",_Ae.saveStyles=function(e){return e?Sue(e).forEach((function(e){if(e&&e.style){var t=AAe.indexOf(e);t>=0&&AAe.splice(t,5),AAe.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),vue.core.getCache(e),zue())}})):AAe},_Ae.revert=function(e,t){return fAe(!e,t)},_Ae.create=function(e,t){return new _Ae(e,t)},_Ae.refresh=function(e){return e?oAe(!0):(gue||_Ae.register())&&xAe(!0)},_Ae.update=function(e){return++Gce.cache&&jAe(!0===e?2:0)},_Ae.clearScrollMemory=mAe,_Ae.maxScroll=function(e,t){return gpe(e,t?lue:oue)},_Ae.getScrollFunc=function(e,t){return cue(due(e),t?lue:oue)},_Ae.getById=function(e){return aAe[e]},_Ae.getAll=function(){return iAe.filter((function(e){return"ScrollSmoother"!==e.vars.id}))},_Ae.isScrolling=function(){return!!ape},_Ae.snapDirectional=Wpe,_Ae.addEventListener=function(e,t){var n=dAe[e]||(dAe[e]=[]);~n.indexOf(t)||n.push(t)},_Ae.removeEventListener=function(e,t){var n=dAe[e],i=n&&n.indexOf(t);i>=0&&n.splice(i,1)},_Ae.batch=function(e,t){var n,i=[],a={},r=t.interval||.016,s=t.batchMax||1e9,l=function(e,t){var n=[],i=[],a=vue.delayedCall(r,(function(){t(n,i),n=[],i=[]})).pause();return function(e){n.length||a.restart(!0),n.push(e.trigger),i.push(e),s<=n.length&&a.progress(1)}};for(n in t)a[n]="on"===n.substr(0,2)&&bpe(t[n])&&"onRefreshInit"!==n?l(0,t[n]):t[n];return bpe(s)&&(s=s(),Kpe(_Ae,"refresh",(function(){return s=t.batchMax()}))),Sue(e).forEach((function(e){var t={};for(n in a)t[n]=a[n];t.trigger=e,i.push(_Ae.create(t))})),i};var OAe,MAe=function(e,t,n,i){return t>i?e(i):t<0&&e(0),n>i?(i-t)/(n-t):n<0?t/(t-n):1},RAe=function e(t,n){!0===n?t.style.removeProperty("touch-action"):t.style.touchAction=!0===n?"auto":n?"pan-"+n+(mue.isTouch?" pinch-zoom":""):"none",t===bue&&e(wue,n)},QAe={auto:1,scroll:1},HAe=function(e){var t,n=e.event,i=e.target,a=e.axis,r=(n.changedTouches?n.changedTouches[0]:n).target,s=r._gsap||vue.core.getCache(r),l=npe();if(!s._isScrollT||l-s._isScrollT>2e3){for(;r&&r!==wue&&(r.scrollHeight<=r.clientHeight&&r.scrollWidth<=r.clientWidth||!QAe[(t=Qpe(r)).overflowY]&&!QAe[t.overflowX]);)r=r.parentNode;s._isScroll=r&&r!==i&&!fpe(r)&&(QAe[(t=Qpe(r)).overflowY]||QAe[t.overflowX]),s._isScrollT=l}(s._isScroll||"x"===a)&&(n.stopPropagation(),n._gsapAllow=!0)},VAe=function(e,t,n,i){return mue.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:i=i&&HAe,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return n&&Kpe(xue,mue.eventTypes[0],qAe,!1,!0)},onDisable:function(){return Gpe(xue,mue.eventTypes[0],qAe,!0)}})},zAe=/(input|label|select|textarea)/i,qAe=function(e){var t=zAe.test(e.target.tagName);(t||OAe)&&(e._gsapAllow=!0,OAe=t)},WAe=function(e){jpe(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,n,i,a,r,s,l,o,d=e,c=d.normalizeScrollX,u=d.momentum,p=d.allowNestedScroll,A=d.onRelease,h=due(e.target)||bue,f=vue.core.globals().ScrollSmoother,m=f&&f.get(),v=Vue&&(e.content&&due(e.content)||m&&!1!==e.content&&!m.smooth()&&m.content()),g=cue(h,oue),y=cue(h,lue),x=1,b=(mue.isTouch&&yue.visualViewport?yue.visualViewport.scale*yue.visualViewport.width:yue.outerWidth)/yue.innerWidth,w=0,j=bpe(u)?function(){return u(t)}:function(){return u||2.8},C=VAe(h,e.type,!0,p),S=function(){return a=!1},N=upe,I=upe,F=function(){n=gpe(h,oue),I=Nue(Vue?1:0,n),c&&(N=Nue(0,gpe(h,lue))),i=vAe},B=function(){v._gsap.y=ppe(parseFloat(v._gsap.y)+g.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",g.offset=g.cacheID=0},P=function(){F(),r.isActive()&&r.vars.scrollY>n&&(g()>n?r.progress(1)&&g(n):r.resetTo("scrollY",n))};return v&&vue.set(v,{y:"+=0"}),e.ignoreCheck=function(e){return Vue&&"touchmove"===e.type&&function(){if(a){requestAnimationFrame(S);var e=ppe(t.deltaY/2),n=I(g.v-e);if(v&&n!==g.v+g.offset){g.offset=n-g.v;var i=ppe((parseFloat(v&&v._gsap.y)||0)-g.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+i+", 0, 1)",v._gsap.y=i+"px",g.cacheID=Gce.cache,jAe()}return!0}g.offset&&B(),a=!0}()||x>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){a=!1;var e=x;x=ppe((yue.visualViewport&&yue.visualViewport.scale||1)/b),r.pause(),e!==x&&RAe(h,x>1.01||!c&&"x"),s=y(),l=g(),F(),i=vAe},e.onRelease=e.onGestureStart=function(e,t){if(g.offset&&B(),t){Gce.cache++;var i,a,s=j();c&&(a=(i=y())+.05*s*-e.velocityX/.227,s*=MAe(y,i,a,gpe(h,lue)),r.vars.scrollX=N(a)),a=(i=g())+.05*s*-e.velocityY/.227,s*=MAe(g,i,a,gpe(h,oue)),r.vars.scrollY=I(a),r.invalidate().duration(s).play(.01),(Vue&&r.vars.scrollY>=n||i>=n-1)&&vue.to({},{onUpdate:P,duration:s})}else o.restart(!0);A&&A(e)},e.onWheel=function(){r._ts&&r.pause(),npe()-w>1e3&&(i=0,w=npe())},e.onChange=function(e,t,n,a,r){if(vAe!==i&&F(),t&&c&&y(N(a[2]===t?s+(e.startX-e.x):y()+t-a[1])),n){g.offset&&B();var o=r[2]===n,d=o?l+e.startY-e.y:g()+n-r[1],u=I(d);o&&d!==u&&(l+=u-d),g(u)}(n||t)&&jAe()},e.onEnable=function(){RAe(h,!c&&"x"),_Ae.addEventListener("refresh",P),Kpe(yue,"resize",P),g.smooth&&(g.target.style.scrollBehavior="auto",g.smooth=y.smooth=!1),C.enable()},e.onDisable=function(){RAe(h,!0),Gpe(yue,"resize",P),_Ae.removeEventListener("refresh",P),C.kill()},e.lockAxis=!1!==e.lockAxis,(t=new mue(e)).iOS=Vue,Vue&&!g()&&g(1),Vue&&vue.ticker.add(upe),o=t._dc,r=vue.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:DAe(g,g(),(function(){return r.pause()}))},onUpdate:jAe,onComplete:o.vars.onComplete}),t};_Ae.sort=function(e){if(bpe(e))return iAe.sort(e);var t=yue.pageYOffset||0;return _Ae.getAll().forEach((function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+yue.innerHeight})),iAe.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+-1e6*(t.vars.refreshPriority||0))})},_Ae.observe=function(e){return new mue(e)},_Ae.normalizeScroll=function(e){if(void 0===e)return Mue;if(!0===e&&Mue)return Mue.enable();if(!1===e)return Mue&&Mue.kill(),void(Mue=e);var t=e instanceof mue?e:WAe(e);return Mue&&Mue.target===t.target&&Mue.kill(),fpe(t.target)&&(Mue=t),t},_Ae.core={_getVelocityProp:uue,_inputObserver:VAe,_scrollers:Gce,_proxies:$ce,bridge:{ss:function(){ape||pAe("scrollStart"),ape=npe()},ref:function(){return Bue}}},hpe()&&vue.registerPlugin(_Ae);const YAe=()=>Ye.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"SoftwareApplication",name:"PozoApp",applicationCategory:"BusinessApplication",operatingSystem:"Web, Android, iOS",offers:{"@type":"Offer",price:"0",priceCurrency:"INR"},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.8",reviewCount:"150"},author:{"@type":"Organization",name:"PozoMind Technologies"}})}),KAe=({industryRef:e,closingIndustry:t,AppCategory:n=[],redirectApp:i})=>{const a=(e=>{const t={foodBeverages:[],wellness:[],fashion:[],electronics:[],grocery:[],services:[],others:[]};return e.forEach((e=>{var n;const i=(null==(n=e.AppName)?void 0:n.toLowerCase())||"";/(bakery|restaurant|dairy|food|cafe|coffee|ice|pickle|pozoresto|resto|resto|eatery|diner|bistro|pizz|burger|juice|sweet|snack)/i.test(i)?t.foodBeverages.push(e):/(salon|spa|beauty|cosmetics|fitness|gym|yoga|wellness|massage|parlour|parlor)/i.test(i)?t.wellness.push(e):/(fashion|jewellery|jewelry|footwear|lifestyle|apparel|textile|cloth|garment|shoe|sandal|accessory)/i.test(i)?t.fashion.push(e):/(electronic|mobile|computer|appliance|laptop|phone|device|gadget|tech)/i.test(i)?t.electronics.push(e):/(grocery|departmental|wholesale|supermarket|mart|retail|store)/i.test(i)?t.grocery.push(e):/(stationery|xerox|print|coaching|cement|tuition|education|training|class)/i.test(i)?t.services.push(e):t.others.push(e)})),t})((null==n?void 0:n.filter((e=>/(Consumer)/i.test(e.CategoryName))))||[]),r=null==n?void 0:n.some((e=>/(Consumer)/i.test(e.CategoryName))),s=n&&n.length>0;return Ye.jsxs("div",{ref:e,className:"IndustriesTypes "+(t?"closing":""),onWheel:e=>{e.stopPropagation()},children:[!s&&Ye.jsx("div",{style:{padding:"20px",textAlign:"center",color:"#666"},children:"Loading industries..."}),r&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"IndustriesOne",children:[Ye.jsxs("div",{className:"main-heading",children:["Retail Universe: Grocery, ",Ye.jsx("br",{})," Wellness, Fashion & More"]}),a.foodBeverages.length>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"sub-category",children:[Ye.jsx(ii,{})," Food & Beverages"]}),a.foodBeverages.map((e=>Ye.jsx("p",{onClick:()=>{var t;return i(null==(t=e.AppName)?void 0:t.toLowerCase(),e.AppId)},children:e.AppName},e.AppId)))]}),a.wellness.length>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"sub-category",children:[Ye.jsx(ci,{})," Wellness & Beauty"]}),a.wellness.map((e=>Ye.jsx("p",{onClick:()=>{var t;return i(null==(t=e.AppName)?void 0:t.toLowerCase(),e.AppId)},children:e.AppName},e.AppId)))]}),a.fashion.length>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"sub-category",children:[Ye.jsx(di,{})," Fashion & Lifestyle"]}),a.fashion.map((e=>Ye.jsx("p",{onClick:()=>{var t;return i(null==(t=e.AppName)?void 0:t.toLowerCase(),e.AppId)},children:e.AppName},e.AppId)))]}),a.electronics.length>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"sub-category",children:[Ye.jsx(zn,{})," Electronics & Tech"]}),a.electronics.map((e=>Ye.jsx("p",{onClick:()=>{var t;return i(null==(t=e.AppName)?void 0:t.toLowerCase(),e.AppId)},children:e.AppName},e.AppId)))]}),a.grocery.length>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"sub-category",children:[Ye.jsx(ui,{})," Grocery & Retail"]}),a.grocery.map((e=>Ye.jsx("p",{onClick:()=>{var t;return i(null==(t=e.AppName)?void 0:t.toLowerCase(),e.AppId)},children:e.AppName},e.AppId)))]}),a.services.length>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"sub-category",children:[Ye.jsx(Hn,{})," Professional Services"]}),a.services.map((e=>Ye.jsx("p",{onClick:()=>{var t;return i(null==(t=e.AppName)?void 0:t.toLowerCase(),e.AppId)},children:e.AppName},e.AppId)))]}),a.others.length>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"sub-category",children:[Ye.jsx(oi,{})," More Industries"]}),a.others.map((e=>Ye.jsx("p",{onClick:()=>{var t;return i(null==(t=e.AppName)?void 0:t.toLowerCase(),e.AppId)},children:e.AppName},e.AppId)))]})]}),(null==n?void 0:n.some((e=>/(manufacturing|healthcare|pharma)/i.test(e.CategoryName))))&&Ye.jsx("hr",{})]}),(null==n?void 0:n.some((e=>/(manufacturing|healthcare|pharma)/i.test(e.CategoryName))))&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"IndustriesTwo",children:[Ye.jsxs("div",{className:"main-heading",children:["Manufacturing, Healthcare & ",Ye.jsx("br",{})," Pharma"]}),(null==n?void 0:n.filter((e=>/(healthcare|pharma)/i.test(e.CategoryName)||/(health|optical)/i.test(e.AppName))).length)>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"sub-category",children:[Ye.jsx(Zn,{})," Healthcare & Pharma"]}),null==n?void 0:n.filter((e=>/(healthcare|pharma)/i.test(e.CategoryName)||/(health|optical)/i.test(e.AppName))).map((e=>Ye.jsx("p",{onClick:()=>{var t;return i(null==(t=e.AppName)?void 0:t.toLowerCase(),e.AppId)},children:e.AppName},e.AppId)))]}),(null==n?void 0:n.filter((e=>/(manufacturing)/i.test(e.CategoryName)||/(manufacturer)/i.test(e.AppName))).length)>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"sub-category",children:[Ye.jsx(Xn,{})," Manufacturing"]}),null==n?void 0:n.filter((e=>/(manufacturing)/i.test(e.CategoryName)||/(manufacturer)/i.test(e.AppName))).map((e=>Ye.jsx("p",{onClick:()=>{var t;return i(null==(t=e.AppName)?void 0:t.toLowerCase(),e.AppId)},children:e.AppName},e.AppId)))]})]}),(null==n?void 0:n.some((e=>/(transportation|logistics|hospitality|entertainment)/i.test(e.CategoryName))))&&Ye.jsx("hr",{})]}),(null==n?void 0:n.some((e=>/(transportation|logistics|hospitality|entertainment)/i.test(e.CategoryName))))&&Ye.jsxs("div",{className:"IndustriesThree",style:{borderRight:"unset"},children:[Ye.jsxs("div",{className:"main-heading",children:["Transportation, Logistics ",Ye.jsx("br",{}),"Hospitality and ",Ye.jsx("br",{}),"Entertainment"]}),(null==n?void 0:n.filter((e=>/(transportation|logistics)/i.test(e.CategoryName)||/(parking|boating)/i.test(e.AppName))).length)>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"sub-category",children:[Ye.jsx(ti,{})," Transportation & Logistics"]}),null==n?void 0:n.filter((e=>/(transportation|logistics)/i.test(e.CategoryName)||/(parking|boating)/i.test(e.AppName))).map((e=>Ye.jsx("p",{onClick:()=>{var t;return i(null==(t=e.AppName)?void 0:t.toLowerCase(),e.AppId)},children:e.AppName},e.AppId)))]}),(null==n?void 0:n.filter((e=>/(hospitality|entertainment)/i.test(e.CategoryName)||/(hotel|resort)/i.test(e.AppName))).length)>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"sub-category",children:[Ye.jsx(Rn,{})," Hospitality & Entertainment"]}),null==n?void 0:n.filter((e=>/(hospitality|entertainment)/i.test(e.CategoryName)||/(hotel|resort)/i.test(e.AppName))).map((e=>Ye.jsx("p",{onClick:()=>{var t;return i(null==(t=e.AppName)?void 0:t.toLowerCase(),e.AppId)},children:e.AppName},e.AppId)))]})]})]})},GAe=Object.freeze(Object.defineProperty({__proto__:null,default:KAe},Symbol.toStringTag,{value:"Module"})),$Ae="/home/",XAe=({isScrolled:e=!1,forceTopZero:t=!1,AppCategory:n,industryRef:i,closingIndustry:r,setClosingIndustry:s=()=>{},industry:l,setIndustry:o=()=>{},companyRef:d,closingCompany:c,setClosingCompany:u=()=>{},company:p,setCompany:A=()=>{},solutionsOpen:h,setSolutionsOpen:f=()=>{},closingSolutions:m,setClosingSolutions:v=()=>{},solutionsRef:g,demoModal:y,handleDemoModal:x,handleDemoModalClose:b})=>{const w=Qt(),j=Mt(),C=um(),[S,N]=a.useState(!1),[I,B]=a.useState(!1),[P,k]=a.useState(!1),[T,E]=a.useState(!1),D=iA("UserId"),[L,U]=a.useState([]),_=j.pathname.includes("/solutions/"),O=()=>{w(`${$Ae}signin`)},M=()=>{p?(u(!0),setTimeout((()=>{A(!1),u(!1)}),200)):(h&&(v(!0),setTimeout((()=>{f(!1),v(!1)}),100)),l&&(s(!0),setTimeout((()=>{o(!1),s(!1)}),100)),A(!0))},R=()=>{l?(s(!0),setTimeout((()=>{o(!1),s(!1)}),200)):(h&&(v(!0),setTimeout((()=>{f(!1),v(!1)}),100)),p&&(u(!0),setTimeout((()=>{A(!1),u(!1)}),100)),o(!0))},[Q,H]=a.useState(!1),V=()=>{h?(v(!0),setTimeout((()=>{f(!1),v(!1)}),200)):(l&&(s(!0),setTimeout((()=>{o(!1),s(!1)}),100)),p&&(u(!0),setTimeout((()=>{A(!1),u(!1)}),100)),f(!0))},z=()=>{document.documentElement.scrollTop=0,document.body.scrollTop=0,window.scrollTo(0,0),setTimeout((()=>{document.documentElement.scrollTop=0,document.body.scrollTop=0,window.scrollTo(0,0)}),1),P?(E(!0),setTimeout((()=>{k(!1),E(!1)}),300)):k(!0)},q=()=>{w(`${$Ae}contact-us`)},W=()=>{w(`${$Ae}`),setTimeout((()=>{window.scrollTo({top:0,behavior:"instant"})}),500)},Y=()=>{w(`${$Ae}pricing`)},K=()=>{w(`${$Ae}blog`)},G=()=>{if(j.pathname!==$Ae&&j.pathname!==`${$Ae}/`)w(`${$Ae}`),setTimeout((()=>{const e=document.getElementById("Offerings");e&&e.scrollIntoView({behavior:"smooth",block:"start"})}),500);else{const e=document.getElementById("Offerings");e&&e.scrollIntoView({behavior:"smooth",block:"start"})}},$=()=>{window.open("https://pozo.app/apps/retail-public/app-page","_blank","noopener,noreferrer")};a.useEffect((()=>{P?(document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden",document.body.style.position="fixed",document.body.style.top="0",document.body.style.width="100%"):(document.body.style.overflow="unset",document.documentElement.style.overflow="unset",document.body.style.position="unset",document.body.style.top="unset")}),[P]),a.useEffect((()=>{if(l||p||h){const e=window.scrollY;return document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden",document.body.style.position="fixed",document.body.style.top=`-${e}px`,document.body.style.width="100%",()=>{document.body.style.overflow="unset",document.documentElement.style.overflow="unset",document.body.style.position="unset",document.body.style.top="unset",window.scrollTo(0,e)}}}),[l,p,h]),a.useEffect((()=>{const e=e=>{"Escape"===e.key&&(h&&V(),l&&R(),p&&M())},t=e=>{g.current&&!g.current.contains(e.target)&&!e.target.closest(".navbarOption p")&&h&&V(),i.current&&!i.current.contains(e.target)&&l&&R(),d.current&&!d.current.contains(e.target)&&p&&M()};return document.addEventListener("keydown",e),document.addEventListener("mousedown",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("mousedown",t)}}),[h,l,p]),a.useEffect((()=>{X()}),[]);const X=async()=>{var e,t,n;const i=await(null==(e=C(SU()))?void 0:e.unwrap());1===(null==(t=null==i?void 0:i.data)?void 0:t.statusCode)?U((null==(n=null==i?void 0:i.data)?void 0:n.data)||[]):U([])};return Ye.jsxs("div",{style:{position:"relative"},children:[Ye.jsxs("div",{className:"Navbar-Master",style:{backgroundColor:P?"black":"#fff",color:P?"#fff":"",transition:"all 0.2s ease-in",position:"fixed",top:t||e?"0":"22px",zIndex:1e3,backdropFilter:e||h||l||p?"blur(10px)":"none",background:P?"#000000ff":h||l||p?"rgba(255, 255, 255, 0.95)":e?"#ffffff":"transparent",color:e||h||l||p?"#000000ff":"#ffffffff",padding:e?"0.5rem 1.6rem":"1rem 1.6rem",boxShadow:e||h||l||p?"rgba(17, 12, 46, 0.15) 0px 2px 50px 0px":"none"},children:[Ye.jsx("div",{className:"appNameLeft "+(P?"responsiveMenuOpen":""),onClick:W,style:{color:P?"#ffffff":e||h||l||p?"#000":"#fff"},children:"PozoApp"}),Ye.jsxs("div",{className:"navbarOption",children:[Ye.jsx("p",{onClick:W,children:"Home"}),Ye.jsx("p",{onClick:G,children:"Offerings"}),Ye.jsxs("p",{onClick:V,style:{color:h||_?"#1473f8ff":""},"data-solutions-link":"true",children:["Solutions"," ",h?Ye.jsx(bE,{size:10}):Ye.jsx(Jm,{size:10})]}),Ye.jsxs("p",{onClick:R,style:{color:l?"#1473f8ff":""},children:["Industries"," ",l?Ye.jsx(bE,{size:10}):Ye.jsx(Jm,{size:10})]}),Ye.jsxs("p",{onClick:M,style:{color:p?"#1473f8ff":""},children:["Company"," ",p?Ye.jsx(bE,{size:10}):Ye.jsx(Jm,{size:10})]}),Ye.jsx("p",{onClick:Y,children:"Pricing"}),Ye.jsx("p",{onClick:K,children:"Blog"}),Ye.jsx("p",{onClick:()=>w(`${$Ae}case-studies`),children:"Case Studies"}),Ye.jsx("p",{onClick:q,children:"Contact Us"})]}),Ye.jsxs("div",{className:"signinBtnNavbar",children:[Ye.jsx("div",{onClick:x,children:"Book Demo"}),Ye.jsxs("div",{onClick:$,children:[Ye.jsx("sub",{style:{fontSize:"14px"},children:"Store"}),Ye.jsx("sup",{children:"BETA"})]}),Ye.jsx("div",{onClick:()=>window.open("https://wa.me/917324000014","_blank"),style:{cursor:"pointer",display:"flex",alignItems:"center",gap:"0.5rem"},children:Ye.jsx(Um,{style:{fontSize:"20px"}})}),D?Ye.jsxs(F,{color:"#fff",overlayInnerStyle:{backgroundColor:"#fff"},trigger:"click",placement:"bottom",title:Ye.jsx("div",{className:"nav-user-fullview",children:Ye.jsxs("div",{className:"user-nav-opt-fullview",style:{backgroundColor:"#fff"},children:[D&&Ye.jsxs("li",{className:"usr-acc",style:{cursor:"pointer",color:"black"},onMouseLeave:e=>{e.target.style.color="black",e.target.style.fontWeight="400"},onClick:()=>(async()=>{w(`${$Ae}landing-page/user-account`)})(),children:[" ","My Account"," "]}),Ye.jsxs("li",{className:"usr-acc",style:{cursor:"pointer",color:"black"},onMouseLeave:e=>{e.target.style.color="black",e.target.style.fontWeight="400"},onClick:()=>(rA(),void w(`${$Ae}`)),children:[" ","Sign Out"," "]})]})}),children:[Ye.jsx(HO,{style:{cursor:"pointer",fontSize:"19px"}})," "]}):Ye.jsxs("button",{onClick:O,children:["Sign in",Ye.jsxs("div",{className:"icon-container",children:[Ye.jsx(IO,{className:"icon-main"}),Ye.jsx(IO,{className:"icon-hover"})]})]})]}),Ye.jsxs("div",{className:"responsiveMenuNavbar",children:[Ye.jsx("div",{style:{color:e?"black":"#fff"},className:"ResNavHeaderClose",onClick:z,children:P?Ye.jsxs("div",{style:{color:P?"#fff":""},children:["Close ",Ye.jsx(ey,{style:{marginBottom:"-4px"}})]}):Ye.jsxs("div",{style:{color:P?"#fff":""},children:["Menu ",Ye.jsx(OD,{})]})}),P&&Ye.jsxs("div",{className:"NavbarMenuResponsive "+(T?"closing":""),children:[Ye.jsxs("div",{className:"ResnavbarOption",children:[Ye.jsx("span",{onClick:W,className:"indusOpen",children:"Home"}),Ye.jsx("span",{onClick:()=>{G(),z()},className:"indusOpen",children:"Offerings"}),Ye.jsxs("span",{onClick:()=>{H(!Q)},className:"indusOpen",children:["Solutions"," ",Q?Ye.jsx(bE,{size:10}):Ye.jsx(Jm,{size:10})]}),Q&&Ye.jsxs("div",{className:"solutions-dropdown-mobile",children:[Ye.jsx("div",{className:"solution-item-mobile",onClick:()=>w(`${$Ae}solutions/retail-billing`),children:"Retail Billing"}),Ye.jsx("div",{className:"solution-item-mobile",onClick:()=>w(`${$Ae}solutions/inventory-purchase`),children:"Inventory & Purchase"}),Ye.jsx("div",{className:"solution-item-mobile",onClick:()=>w(`${$Ae}solutions/weighing-scale-pos`),children:"Weighing Scale POS"}),Ye.jsx("div",{className:"solution-item-mobile",onClick:()=>w(`${$Ae}solutions/multi-store-erp`),children:"Multi-Store ERP"}),Ye.jsx("div",{className:"solution-item-mobile",onClick:()=>w(`${$Ae}solutions/gst-billing-e-invoice`),children:"GST Billing & E-Invoice"}),Ye.jsx("div",{className:"solution-item-mobile",onClick:()=>w(`${$Ae}solutions/offline-billing`),children:"Offline Billing"})]}),Ye.jsxs("span",{onClick:()=>{B(!I)},className:"indusOpen",children:["Industries"," ",I?Ye.jsx(bE,{size:10}):Ye.jsx(Jm,{size:10})]}),I&&Ye.jsx(Ye.Fragment,{children:Ye.jsx(KAe,{closingIndustry:r,AppCategory:n,redirectApp:(e,t)=>{nA("AppId",t),nA("AppName",e);const n=e.replace(/[,]/g,"").replace(/\s+/g,"-").replace(/&/g,"and").replace(/[^a-z0-9-]/gi,"").toLowerCase();w(`${$Ae}industries/${n}`),window.location.reload()}})}),Ye.jsxs("span",{className:"indusOpen",onClick:()=>{N(!S)},children:["Company ",Ye.jsx(Jm,{size:10})]}),S&&Ye.jsx("div",{className:"industryRes",children:Ye.jsxs("div",{className:"compnayListsRes",children:[Ye.jsx("p",{onClick:()=>{w(`${$Ae}about-us`)},children:"About Us"}),Ye.jsx("p",{onClick:()=>{w(`${$Ae}privacy-policy`)},children:"Privacy Policy "}),Ye.jsx("p",{onClick:()=>{w(`${$Ae}testimonials`)},children:"Testimonials "})]})}),Ye.jsx("span",{onClick:Y,className:"indusOpen",children:"Pricing"}),Ye.jsx("span",{onClick:K,className:"indusOpen",children:"Blog"}),Ye.jsx("span",{onClick:()=>w(`${$Ae}case-studies`),className:"indusOpen",children:"Case Studies"}),Ye.jsx("span",{onClick:q,className:"indusOpen",children:"Contact Us"})]}),Ye.jsxs("div",{className:"signinBtnNavbarRes",children:[Ye.jsx("div",{onClick:x,children:"Book Demo"}),Ye.jsxs("div",{onClick:$,children:[Ye.jsx("sub",{style:{fontSize:"14px"},children:"Store"}),Ye.jsx("sup",{children:"BETA"})]}),Ye.jsx("div",{onClick:()=>window.open("https://wa.me/917324000014","_blank"),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:"0.5rem"},children:Ye.jsx(Um,{style:{fontSize:"20px"}})}),Ye.jsxs("button",{onClick:O,children:[Ye.jsx("div",{}),"Sign in",Ye.jsxs("div",{className:"icon-container",children:[Ye.jsx(IO,{className:"icon-main"}),Ye.jsx(IO,{className:"icon-hover"})]})]})]})]})]})]}),Ye.jsxs("div",{className:"mobile-sticky-footer",children:[Ye.jsx("div",{onClick:x,className:"mobile-sticky-btn",children:"Book Demo"}),Ye.jsx("div",{onClick:()=>window.open("https://wa.me/917324000014","_blank"),className:"mobile-sticky-btn whatsapp-btn",children:Ye.jsx(Um,{style:{fontSize:"20px"}})})]})]})}; +/*! + * SplitText 3.13.0 + * https://gsap.com + * + * @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license. + * @author: Jack Doyle + */ +let JAe,ZAe,ehe,the="undefined"!=typeof Intl?new Intl.Segmenter:0,nhe=e=>"string"==typeof e?nhe(document.querySelectorAll(e)):"length"in e?Array.from(e):[e],ihe=e=>nhe(e).filter((e=>e instanceof HTMLElement)),ahe=[],rhe=function(){},she=/\s+/g,lhe=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),ohe={left:0,top:0,width:0,height:0},dhe=(e,t)=>{if(t){let n,i,a,r,s=new Set(e.join("").match(t)||ahe),l=e.length;if(s.size)for(;--l>-1;)for(a of(i=e[l],s))if(a.startsWith(i)&&a.length>i.length){for(n=0,r=i;a.startsWith(r+=e[l+ ++n])&&r.length<a.length;);if(n&&r.length===a.length){e[l]=a,e.splice(l+1,n);break}}}return e},che=e=>"inline"===window.getComputedStyle(e).display&&(e.style.display="inline-block"),uhe=(e,t,n)=>t.insertBefore("string"==typeof e?document.createTextNode(e):e,n),phe=(e,t,n)=>{let i=t[e+"sClass"]||"",{tag:a="div",aria:r="auto",propIndex:s=!1}=t,l="line"===e?"block":"inline-block",o=i.indexOf("++")>-1,d=t=>{let d=document.createElement(a),c=n.length+1;return i&&(d.className=i+(o?" "+i+c:"")),s&&d.style.setProperty("--"+e,c+""),"none"!==r&&d.setAttribute("aria-hidden","true"),"span"!==a&&(d.style.position="relative",d.style.display=l),d.textContent=t,n.push(d),d};return o&&(i=i.replace("++","")),d.collection=n,d},Ahe=(e,t,n,i,a,r,s,l,o,d)=>{var c;let u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B=Array.from(e.childNodes),P=0,{wordDelimiter:k,reduceWhiteSpace:T=!0,prepareText:E}=t,D=e.getBoundingClientRect(),L=D,U=!T&&"pre"===window.getComputedStyle(e).whiteSpace.substring(0,3),_=0,O=n.collection;for("object"==typeof k?(A=k.delimiter||k,p=k.replaceWith||""):p=""===k?"":k||" ",u=" "!==p;P<B.length;P++)if(h=B[P],3===h.nodeType){for(S=h.textContent||"",T?S=S.replace(she," "):U&&(S=S.replace(/\n/g,p+"\n")),E&&(S=E(S,e)),h.textContent=S,f=p||A?S.split(A||p):S.match(l)||ahe,I=f[f.length-1],g=u?" "===I.slice(-1):!I,I||f.pop(),L=D,v=u?" "===f[0].charAt(0):!f[0],v&&uhe(" ",e,h),f[0]||f.shift(),dhe(f,o),r&&d||(h.textContent=""),y=1;y<=f.length;y++)if(N=f[y-1],!T&&U&&"\n"===N.charAt(0)&&(null==(c=h.previousSibling)||c.remove(),uhe(document.createElement("br"),e,h),N=N.slice(1)),T||""!==N)if(" "===N)e.insertBefore(document.createTextNode(" "),h);else{if(u&&" "===N.charAt(0)&&uhe(" ",e,h),_&&1===y&&!v&&O.indexOf(_.parentNode)>-1?(m=O[O.length-1],m.appendChild(document.createTextNode(i?"":N))):(m=n(i?"":N),uhe(m,e,h),_&&1===y&&!v&&m.insertBefore(_,m.firstChild)),i)for(b=the?dhe([...the.segment(N)].map((e=>e.segment)),o):N.match(l)||ahe,F=0;F<b.length;F++)m.appendChild(" "===b[F]?document.createTextNode(" "):i(b[F]));if(r&&d){if(S=h.textContent=S.substring(N.length+1,S.length),x=m.getBoundingClientRect(),x.top>L.top&&x.left<=L.left){for(w=e.cloneNode(),j=e.childNodes[0];j&&j!==m;)C=j,j=j.nextSibling,w.appendChild(C);e.parentNode.insertBefore(w,e),a&&che(w)}L=x}(y<f.length||g)&&uhe(y>=f.length?" ":u&&" "===N.slice(-1)?" "+p:p,e,h)}else uhe(p,e,h);e.removeChild(h),_=0}else 1===h.nodeType&&(s&&s.indexOf(h)>-1?(O.indexOf(h.previousSibling)>-1&&O[O.length-1].appendChild(h),_=h):(Ahe(h,t,n,i,a,r,s,l,o,!0),_=0),a&&che(h))};const hhe=class e{constructor(e,t){this.isSplit=!1,ehe||fhe.register(window.gsap),this.elements=ihe(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=t,this._split=()=>this.isSplit&&this.split(this.vars);let n,i=[],a=()=>{let e,t=i.length;for(;t--;){e=i[t];let n=e.element.offsetWidth;if(n!==e.width)return e.width=n,void this._split()}};this._data={orig:i,obs:"undefined"!=typeof ResizeObserver&&new ResizeObserver((()=>{clearTimeout(n),n=setTimeout(a,200)}))},rhe(this),this.split(t)}split(e){this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let t,{type:n="chars,words,lines",aria:i="auto",deepSlice:a=!0,smartWrap:r,onSplit:s,autoSplit:l=!1,specialChars:o,mask:d}=this.vars,c=n.indexOf("lines")>-1,u=n.indexOf("chars")>-1,p=n.indexOf("words")>-1,A=u&&!p&&!c,h=o&&("push"in o?new RegExp("(?:"+o.join("|")+")","gu"):o),f=h?new RegExp(h.source+"|"+lhe.source,"gu"):lhe,m=!!e.ignore&&ihe(e.ignore),{orig:v,animTime:g,obs:y}=this._data;return(u||p||c)&&(this.elements.forEach(((t,n)=>{v[n]={element:t,html:t.innerHTML,ariaL:t.getAttribute("aria-label"),ariaH:t.getAttribute("aria-hidden")},"auto"===i?t.setAttribute("aria-label",(t.textContent||"").trim()):"hidden"===i&&t.setAttribute("aria-hidden","true");let s,l,o,d,g=[],y=[],x=[],b=u?phe("char",e,g):null,w=phe("word",e,y);if(Ahe(t,e,w,b,A,a&&(c||A),m,f,h,!1),c){let n,i=nhe(t.childNodes),a=((e,t,n,i)=>{let a=phe("line",n,i),r=window.getComputedStyle(e).textAlign||"left";return(n,i)=>{let s=a("");for(s.style.textAlign=r,e.insertBefore(s,t[n]);n<i;n++)s.appendChild(t[n]);s.normalize()}})(t,i,e,x),r=[],l=0,o=i.map((e=>1===e.nodeType?e.getBoundingClientRect():ohe)),d=ohe;for(s=0;s<i.length;s++)n=i[s],1===n.nodeType&&("BR"===n.nodeName?(r.push(n),a(l,s+1),l=s+1,d=o[l]):(s&&o[s].top>d.top&&o[s].left<=d.left&&(a(l,s),l=s),d=o[s]));l<s&&a(l,s),r.forEach((e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}))}if(!p){for(s=0;s<y.length;s++)if(l=y[s],u||!l.nextSibling||3!==l.nextSibling.nodeType)if(r&&!c){for(o=document.createElement("span"),o.style.whiteSpace="nowrap";l.firstChild;)o.appendChild(l.firstChild);l.replaceWith(o)}else l.replaceWith(...l.childNodes);else d=l.nextSibling,d&&3===d.nodeType&&(d.textContent=(l.textContent||"")+(d.textContent||""),l.remove());y.length=0,t.normalize()}this.lines.push(...x),this.words.push(...y),this.chars.push(...g)})),d&&this[d]&&this.masks.push(...this[d].map((e=>{let t=e.cloneNode();return e.replaceWith(t),t.appendChild(e),e.className&&(t.className=e.className.replace(/(\b\w+\b)/g,"$1-mask")),t.style.overflow="clip",t})))),this.isSplit=!0,ZAe&&(l?ZAe.addEventListener("loadingdone",this._split):ZAe.status),(t=s&&s(this))&&t.totalTime&&(this._data.anim=g?t.totalTime(g):t),c&&l&&this.elements.forEach(((e,t)=>{v[t].width=e.offsetWidth,y&&y.observe(e)})),this}revert(){var e,t;let{orig:n,anim:i,obs:a}=this._data;return a&&a.disconnect(),n.forEach((({element:e,html:t,ariaL:n,ariaH:i})=>{e.innerHTML=t,n?e.setAttribute("aria-label",n):e.removeAttribute("aria-label"),i?e.setAttribute("aria-hidden",i):e.removeAttribute("aria-hidden")})),this.chars.length=this.words.length=this.lines.length=n.length=this.masks.length=0,this.isSplit=!1,null==ZAe||ZAe.removeEventListener("loadingdone",this._split),i&&(this._data.animTime=i.totalTime(),i.revert()),null==(t=(e=this.vars).onRevert)||t.call(e,this),this}static create(t,n){return new e(t,n)}static register(e){JAe=JAe||e||window.gsap,JAe&&(nhe=JAe.utils.toArray,rhe=JAe.core.context||rhe),!ehe&&window.innerWidth>0&&(ZAe=document.fonts,ehe=!0)}};hhe.version="3.13.0";let fhe=hhe;kce.registerPlugin(_Ae,fhe);const mhe=({children:e,className:t="",animationType:n="fadeUp",delay:i=0,duration:r=.5,trigger:s=null,start:l="top 80%",end:o="top 20%",bidirectional:d=!0})=>{const c=a.useRef(null);return a.useEffect((()=>{const e=c.current;if(!e)return;(()=>{switch(n){case"fadeUp":kce.set(e,{opacity:0,y:50});break;case"fadeDown":kce.set(e,{opacity:0,y:-50});break;case"fadeLeft":kce.set(e,{opacity:0,x:50});break;case"fadeRight":kce.set(e,{opacity:0,x:-50});break;case"scaleUp":kce.set(e,{opacity:0,scale:.8});break;case"scaleDown":kce.set(e,{opacity:0,scale:1.2});break;case"rotateIn":kce.set(e,{opacity:0,rotation:-180});break;case"slideUp":kce.set(e,{y:100,opacity:0});break;case"slideDown":kce.set(e,{y:-100,opacity:0});break;case"typewriter":case"splitReveal":case"splitWords":case"splitChars":case"splitLines":case"letterWriting":case"wordByWord":case"drawing":case"typewriter":case"wave":case"bounce":case"elastic":case"magnetic":case"morphing":kce.set(e,{opacity:0});break;case"blurIn":kce.set(e,{opacity:0,filter:"blur(10px)"});break;case"glitch":kce.set(e,{opacity:0,skewX:20});break;default:kce.set(e,{opacity:0,y:30})}})();return(()=>{const t=kce.timeline({scrollTrigger:{trigger:s||e,start:l,end:o,toggleActions:d?"play none none reverse":"play none none none",scrub:!1,refreshPriority:-1,onEnter:()=>{kce.set(e,{visibility:"visible"})},onLeave:()=>{d||kce.set(e,{visibility:"hidden"})},onEnterBack:()=>{kce.set(e,{visibility:"visible"})},onLeaveBack:()=>{d||kce.set(e,{visibility:"hidden"})}}});switch(n){case"fadeUp":case"fadeDown":default:t.to(e,{opacity:1,y:0,duration:r,delay:i,ease:"power2.out"});break;case"fadeLeft":case"fadeRight":t.to(e,{opacity:1,x:0,duration:r,delay:i,ease:"power2.out"});break;case"scaleUp":case"scaleDown":t.to(e,{opacity:1,scale:1,duration:r,delay:i,ease:"back.out(1.7)"});break;case"rotateIn":t.to(e,{opacity:1,rotation:0,duration:r,delay:i,ease:"power2.out"});break;case"slideUp":case"slideDown":t.to(e,{y:0,opacity:1,duration:r,delay:i,ease:"power3.out"});break;case"typewriter":t.to(e,{opacity:1,duration:.1,delay:i}).to(e,{duration:r,ease:"none"});break;case"blurIn":t.to(e,{opacity:1,filter:"blur(0px)",duration:r,delay:i,ease:"power2.out"});break;case"glitch":t.to(e,{opacity:1,skewX:0,duration:r,delay:i,ease:"power2.out"});break;case"splitReveal":const n=fhe.create(e,{type:"words,lines",linesClass:"split-line",autoSplit:!0,mask:"lines"});t.set(e,{opacity:1}).from(n.lines,{duration:r,yPercent:100,opacity:0,stagger:.1,ease:"expo.out",delay:i});break;case"splitWords":const a=fhe.create(e,{type:"words",autoSplit:!0});t.set(e,{opacity:1}).from(a.words,{duration:r,y:50,opacity:0,stagger:.05,ease:"power2.out",delay:i});break;case"splitChars":const s=fhe.create(e,{type:"chars",autoSplit:!0});t.set(e,{opacity:1}).from(s.chars,{duration:r,y:30,opacity:0,stagger:.02,ease:"power2.out",delay:i});break;case"splitLines":const l=fhe.create(e,{type:"lines",autoSplit:!0});t.set(e,{opacity:1}).from(l.lines,{duration:r,y:50,opacity:0,stagger:.1,ease:"power2.out",delay:i});break;case"letterWriting":const o=fhe.create(e,{type:"chars",autoSplit:!0});t.set(e,{opacity:1}).from(o.chars,{duration:.1,opacity:0,scale:0,rotation:180,stagger:.05,ease:"back.out(1.7)",delay:i});break;case"wordByWord":const d=fhe.create(e,{type:"words",autoSplit:!0});t.set(e,{opacity:1}).from(d.words,{duration:.8*r,y:100,opacity:0,scale:.5,stagger:.15,ease:"elastic.out(1, 0.3)",delay:i});break;case"drawing":const c=fhe.create(e,{type:"chars",autoSplit:!0});t.set(e,{opacity:1}).from(c.chars,{duration:.3,opacity:0,scaleX:0,transformOrigin:"left center",stagger:.02,ease:"power2.out",delay:i});break;case"typewriter":const u=fhe.create(e,{type:"chars",autoSplit:!0});t.set(e,{opacity:1}).from(u.chars,{duration:.05,opacity:0,stagger:{amount:r,from:"start"},ease:"none",delay:i});break;case"wave":const p=fhe.create(e,{type:"chars",autoSplit:!0});t.set(e,{opacity:1}).from(p.chars,{duration:.5*r,y:50,opacity:0,stagger:{amount:.3*r,from:"start"},ease:"power2.out",delay:i});break;case"bounce":const A=fhe.create(e,{type:"words",autoSplit:!0});t.set(e,{opacity:1}).from(A.words,{duration:r,y:-100,opacity:0,stagger:.1,ease:"bounce.out",delay:i});break;case"elastic":const h=fhe.create(e,{type:"chars",autoSplit:!0});t.set(e,{opacity:1}).from(h.chars,{duration:r,scale:0,opacity:0,stagger:.02,ease:"elastic.out(1, 0.3)",delay:i});break;case"magnetic":const f=fhe.create(e,{type:"chars",autoSplit:!0});t.set(e,{opacity:1}).from(f.chars,{duration:.8*r,x:e=>e%2==0?-100:100,y:e=>e%3==0?-50:50,opacity:0,stagger:.03,ease:"power3.out",delay:i});break;case"morphing":const m=fhe.create(e,{type:"chars",autoSplit:!0});t.set(e,{opacity:1}).from(m.chars,{duration:r,scale:0,rotation:360,opacity:0,stagger:.05,ease:"power2.out",delay:i})}})(),()=>{_Ae.getAll().forEach((t=>{t.trigger!==e&&t.trigger!==t||t.kill()})),kce.set(e,{clearProps:"all"})}}),[n,i,r,s,l,o,d]),Ye.jsx("div",{ref:c,className:t,children:e})},vhe="data:image/webp;base64,UklGRjwGAABXRUJQVlA4WAoAAAAQAAAALwAALwAAQUxQSCEDAAABoHbb2iFJntB5nueNtnts27Zt27Zt45Nt27Zt23a7O2uiM+4ocr0ZETEB5F5oPA3fSNawLRo3xbt03+oMcLNODMsy1XkY4Azc6/We+Xji1wdWwA1IditZV9JNmNkU70kfX5ts8ft/kS4mKKjaeXxDneXcrD/XAgyg/5nSakZZUWQhVp6GUdoGJ1GkcMx5RJexQxRkDtrqHwCfStoScLbQrWQ3fhHJpiZRXrjQ6CtJ/YhYUwd4rjhbw8MO08fQcyAjzrSppf7JTtfwyON9dVj4YTpJ7z+v42jpeL3xnQYEf35LXrtP0E93MK1GbE9Mcom+BP1IzKMZLAs6zLBztTMJBwuDrzW1w4hHybqEBoJxlmYi9Tnq6jUoeFpTB9gJZZ5LxpIoeLhFLKzqV/1GzK85U3Jm0fAsb78Nn0o6zdCrMLmegZakLeijZQ2wOtvo9DPW4dv7oLxouXWwDYUR28liqtUWGX0ZaQY485Rzh9fx0YTWB/x0G/y1EwR7loAtpSIBf15Ewoe2x5fb1iX+++mzoKqtlWxKbeTOR3/C69XE6gqYMEUCvO7/7/iNmGm/zUa+j92tW3b6XnNG0sW77YdPq5nIaJsqAb6GpnUOHtv+bvrEYyIwdhZZ+2sNI6bUl2AGBMyoL3H46L08fPE9oPfg/QPxxJBXdmIqPU8M10p5fB7NH/yivl9KWos3NV5bH6L9jFcmkvujkl6MkKajfTCjbuNi6WhLq2gly+Sh9+nFw1MH5Q78folx5E6WBukJsqfZ9BIFBqra1dUAMVx/4LkSLKQRfQLSTHvtvDeGs4V+wbE8ifJ6G1xq2eB/DXhYt4NuxLJEVYUFT2mg/Q/4kVrVLNbT9WTdviSB07qJel0WgG8gy2IU/Pe+7+uGahYDCIos9Xf8UDeJpqeJdzXNrv2h/6T/P72GpO7ZBuq0klnXGP3olNPVT6VDaMD5dNo+vHt2lSb0dKjprGt8/fVeh9fvo63o/qjT6bR1aAO+Hvfk8/XPaeXuOS99/HY55r0P36p+/ODTo2mgA99fDVQbAdaA//72wSbbb6btaazNXkn6jLwAVlA4IPQCAADwDgCdASowADAAPlEijUWjoaETnAW0OAUEtIAKkA8Z/550RqRt8GVZcY/k/EB3h/5b+mXIDTEv6X/ufUAzQPlv+L/4f9m+AL+Ifzb/cf3Xsx+gd+mK9gYKa4+Nj7AQGVPYXjlLxVJb+iigMj/6HBA06nNR7fG+asOZHxOaqvN1AAD+/xyv6wrsf2w2RenVLDdu34MT1APIoJ6D/8qnQu7i9+tZ2nqXnT/dGuSGxFhPQUUtXW9izlfYcby2LcTG9G9sYgGdvqUr8f/iHYntLbxRkCdf79SYUqKGOXr4xOvjDXsUS8/LaBhNx4U07H39TZz0qkWP1AOhGBfJfuoyelSbzxHUB/0tdcOXEAiV88LNNUlGUG/U1430nBDgFESdKeWERKbm3+ns//itaBYjV/XCqbLVxSIm2khUz3FQIckNfGxXIJT+VJnJTMtvUKm/hIVSfpuJtomeZHIGrmjWvT1fHdesyD8Us4xfo2n0+mYKF03cK6TBcQe+1L156yWPXoHhzKKvj//sSRzFAPcK6/eCibekRg4cARmeSyzDnS3B9als+lBCWehbqLC55TLB5T72ndi1EjjplsU6eBLsIKYcit6Bf9pWBSgc+ldgx/n+Hd0CyXv6m/HfgA62BEyQsDD38ScdTOOTy35k4Ev/u2CO4HilXskVkHBKGtoIFNB/QzraTIny3SZZNsK5NW/r+1/+aUZTNSN4zRqiNt8Rok0+Dk7YfsQQyzD7HbAJdARiN4mtsCnaLNrol/BYjNC2dWDL8xlQce7Hv4Pz49rQLzvZWzH//DFbO8mLnH+24Jr1jAAnoT4HfvCG2WsF/n6f/+7w//3YD//93UFIujif1DlLPC+4oc/jYu/t4RMYU3Jh9ELYSWSiLP++mg7mbCivDtnYMzhZDw+lFLwnsNLqIr1BXajXeepAbx83fwBVsHm8vpw83bExPqvF7VcTOe89YA6pQ/UkDp/ZvWRoiJHJDsnvK/2EecozC5xrWskbRpb94guAAAA=",ghe="data:image/webp;base64,UklGRnQGAABXRUJQVlA4WAoAAAAQAAAAMwAAIwAAQUxQSOICAAABoHbb2iFJFn+e941s27Zt27Y9tm3btm3btm3bnkndD/lGRE5ExARQ3YhRN7778ZPb4siuty9VeuOZH6VpZlnxFLUHQM9/NdtlhSc0zgxw/KmalpFmuolw1FLnktEd1MZC8PWvWblARvzthaycqSjBA1Vz4JOtVncX99OXKQwX4ow7sEQ19QYW8OO1myXyY96t4SpsoLQomZ2hg3Bg1kAiGSo/DdB81rf//Pb3/O5YnONtPdkWau0gtXbERzWn3qbPtO1Qmqus41aqrHmEzYDLpeJf0o8NwCwGlfV1TtLDzfQvGN9rWMizx7/qT709H3r2rIG4J3UCPuZPdaQmZ+lsRukXeE3rLeAb/6UflrUzI1h/8ftSf7OKKPpP9dlSDwO/3TNl44l5Ar6bNBsz4o3h0oIAdl6h1vUd1ctRR/9K/6gDgDWU6ngjued3DXYVfPuPpOJhwO/aYqZKYAa7qqkndUTxSyAHN+r2Ll9qDOQwcxBh22kcaxxV9FN78fOHmKcWETUdCQ3pP7BqAKdKuxppjdZTntBWumxiCxcycKEcw5fqsXeKcweTS8YWkl7kJ0kjQxz3VuQD/FWWeo2T9BUpd9arjtq4HzQ+YOOl9wjn1auGt9w0/ZLCuEqPAh9pL8Jf/H2wWlpFVEfqDiOU91EyHN9/RX3yT2MYMFgH1dUzBH0vTXGsVauI1Lrtbp310u8QscOl7xaE3apPHjiku4MDNL+QX6mlpK4v6XGVBfxc0m9vbWVW99WvJHWHWwr6+kflT0rH3rfUo92jCx0U/gMwDLhA47FaT62GbR91lsqAUwGDwfqPCMA4V/cDBouGg6OaTfTCkvXr189irP72FZyux2iw/fr167bQZVT7QgVPYr42Vni9R1sF/3JWJUfTli1atGjex61WOzMcX39D5+YtW7Zo0ZqI//1C5Tj6/eY8mCfDH3w6Mi/phjVqkqHPCvp1pHtIUrPsWM1Dl2COtgcvoLpWUDggbAMAAJAQAJ0BKjQAJAA+USKNRSOiIRQFVDgFBLOAQdT0gfhz5k+BD0DuXlBHF/57/qOMDSBYuP9z6R3+j9s3sa+eP+T7gf8f/m/+Y/Of/L/LN6zf2S9hX9Xy3NZ76/6YLQArzZ0gOsFO9SUHIwrQn5lFQ9nfaTjJNylP+a4acfdyo8rHUBrPwWlJGYQ/dXThAAD+/7ls3/vKj+Jfara/mfVeBXR/V008pa32jw0W/kyo+T+9HHGOslgJAe14pWbUt+H4mP7+qf+R5J3veq/PXQbQge/76TI+jcYgqb0aGEnlCMB5f/obt+/sdh1ard7KWX6swrVXvCzlwnZl5YYdowdDxr4/UPxWLJDLZWfW9X6byNHzfOhK4VAJZ0ukksjRydcxDmjGuvYlc9mwEm4lXcwh1AOdDZLARFOhVbD5/nB9h+YmThKj8BkwQBuMqGgcSjMyiW8qOjP/oRpj+8zNBXknV7VvwxWkv0AxE4RbT8LZr4PxFuKb672D20UrfjZ2MBW1RIlqXFYgoll1+w/PXyL/2sQ4l565oLt47DiKTGMSqDpwS1OPtfX2TXCGpiHoLsrBjkhX8626cMlrWuh/qeGvLVb9fJewqpFXSYAF4ksoTcmcr6iQt7HHMldlIok5g2CECrfT4M4tBKHdjwrHO77Zf1xp4AkURoKUw//E+f/iY+TttyXf/iZR5Vbm7LTVJ189OKkT8k7dW6bTn7hk5fmI1FdUzXIf6xv4RgwM174JQJTs+fJ3j1rgdsfnU8JEdpExhLV54OYkgnKCFlC9gLE7/BpV06YIioGh0v7H2g3ejzeKAMv7oapZg6phR02FgDIg7TqjicBK23f/6iVTTNUTLhvPrVhX2q+tldNsU+16HyylFprMCL1d2qLGrWy1jeuE+vxMwHz5r9Olz45Ku30C/gplvk81ZWfoIzHkkQrhbOjW41Ft04r8QMYuRdYGMhQ98x6NAfPyVSlDqRnoTuDT1p7LYxng/eHvIXAEsh3yukCOu7bVnLuOvzOylqVMm81ZUFuhb6HUegI/YzbziO5uKySx/6xc///7HYtt6Mr/bn6eDY3F/EwH2DAaxy/+/wpUx7Pp0i/xCHMrP/+p5aeKe15xdf58pn/wQT+VFJyFuqcekhad5DTtcRrhhkgLHC5nPK+hv/9PSEHoAAAAAA==",yhe="data:image/webp;base64,UklGRhoGAABXRUJQVlA4WAoAAAAQAAAAMwAANAAAQUxQSDcDAAABoEVr2xnJer7//9M8tm3btm3btm3btm2MbdszmR62OdWV9yA9XamruYyICWAJpqW5orIthnXp0qX3rRSt4aCLmlqalAMDKwK/3i94qiYDN2ipwPVXYZn5NaVkq8v1GbCrfltxnHQNlpFfU9oxLzVuCtgYSWcN07VYJmFNadnAl7uDKw+wys9rOibpKrKVKgMONpmZk+Y+F+GJmKYNMrHbdLER4MZFPz71/jTpNLxbSePJ1DFaK7KGtiV1/bm6F2arwmcC72otSvovB9awI45R2omFNWTplzvjA/ViRYczNtWTK7lAWx1Ha8B1W2GFQlL9xugPsOMlKWBnayfGtkvbUGjL/WbYpjoDmNW27j47Glap54CjtEMG3wBHaRPgKuk+IqDlL2AfbZ/R4doMHNsN0wyA1v/tnUmPcthAZ4NtdMOuA1SOLasnoOws7VgwclL7DrROwJipRB+Du1pbUSNps4IFv8cdGsSz2sMFNtdNhIDmcIa+PmZFK9j/n9O6tGptczZ5U3PM1ubUzyVbzwwt7ZeVruX/OzfrHJisFUMmvKgjHaF0mjTkm671yu+J+cpkPtku0toeD3v1rs+1jL/KcARibZBJqJQ2dKV9TwAM2HDI9lCt48jWV0onSdJOANWS7p6sE7Bs8BVS3cqH6Wtgd70VdZdOwMg6LPMsgbkxgXtVGXH0ERjF6OAPJUleOTAwitTW+v7dd9/99HQy92lRipFa8j/fgSvEurVxHFcNJvXw6jiO531F6oPz4ziuuYFCnqmZUyfXqTTlXU2eOmFRTdrY/ISpE5KBBTlBK8ATilJeFjBoQdqw+UBj9wJtAG8sRimM6qgaaCpAhDsoDWcl8ETKXPABBqT8BaETDFZem8HXyusEapNE5TBV7VqrLMknTUB7kldJZ86VHgVbb4C0DO8qdxHYTnEyH4YldYcZHNmQ9KKTjvM0jMhtmFOF97yvryjhGNUQIkboBkp4UH0IncBxnqrYTKrw4HlfXThV1QSIGKH7eUl9CHTacZ4mSBUewPO++quaABAxQj3Vl0ABHedIFZ5UzztaQCA1Yph6Eyio48BlPB16ziPQYcRlBIrRWGzDWOIIAFZQOCC8AgAAEA8AnQEqNAA1AD5RJo5Fo6IhEgwFtDgFBLSACvAP47+EHe93u1YXfKIEdJLRPm/ERxef4fwBosfQwzhvPnsAfyL+l/8bsEehR+py3EAq40OfyXgdB0Ka2k3VzI1XdnX36HzXFHA8EhVp81EnBO0KlkJ5vN+z79kpt6FB/fMfV6gAAP7oB5/o4eDMGUvbszl0a/m5GF5D+6/fEwdf2zSKZxpxOTIPhouUf47DImA/68rkWAeideJLYE6nZo454SQsEe21Xtw1jnygbwQ3KS8o0VBh0wp1lq2FfqViSBfdd13XRNj4OQBt9kfRNxC3chKbb/rfgDHWtm0XP9JbZl8J/fsUDvevzE000dKrGPYj+XuifUV30DOi0cNL+glehan8Hq7X5UpDiOoIUfuL7alR3b6NPbAbXn8u+Zy/ULMyX6TOblH8Rf+EJIwSOF4NbUhqlGmQMs3SQsQ4Qu5Cb8YSUQ/N7jxyr6YjeYG7yT1EoSq9zow7fzEkLxtY0FH/WQQ/t65sDRay/uihuNUD052s2DwsCQZiSK6u2qM73b3Pd957VUmcOxL+erh7eSjE9n2btLz4cDLlXYXQQPSLfahW6TWpJQAOq3PuNf8GSOKUaR6T16C/dQLFB2+kFP9OE96swsMMURQEHZQh5TwuEmD2BysEXU607ZX/8mfu5Y/lQ5pPS9X8eaxveBCtfC8vmvJhZbZcsma8bWJOwmUvcVdeH67RkWz/dKw2aihq7Way2OuM7zTM32FVLlwDGdqbvo1sMLr05IkZ7e8yWcwyHLXPgv2QITdds1VbXTjUZevIvMWeh3mO/EyThdWUSG7qv6fqdTltdZGqy/5XiIq6VCo8ikJeif8fukzEkaC6yz4BawWmgM6TWquUMEY3MnG+oerGys4CybetrvwB+egqW9m3DzatjkGACI/52EgAAA==";!function(){function e(){for(var e=arguments.length,t=0;t<e;t++){var n=t<0||arguments.length<=t?void 0:arguments[t];1===n.nodeType||11===n.nodeType?this.appendChild(n):this.appendChild(document.createTextNode(String(n)))}}function t(){for(;this.lastChild;)this.removeChild(this.lastChild);arguments.length&&this.append.apply(this,arguments)}function n(){for(var e=this.parentNode,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var a=n.length;if(e)for(a||e.removeChild(this);a--;){var r=n[a];"object"!=typeof r?r=this.ownerDocument.createTextNode(r):r.parentNode&&r.parentNode.removeChild(r),a?e.insertBefore(this.previousSibling,r):e.replaceChild(r,this)}}"undefined"!=typeof Element&&(Element.prototype.append||(Element.prototype.append=e,DocumentFragment.prototype.append=e),Element.prototype.replaceChildren||(Element.prototype.replaceChildren=t,DocumentFragment.prototype.replaceChildren=t),Element.prototype.replaceWith||(Element.prototype.replaceWith=n,DocumentFragment.prototype.replaceWith=n))}();var xhe,bhe;xhe={splitClass:"",lineClass:"line",wordClass:"word",charClass:"char",types:["lines","words","chars"],absolute:!1,tagName:"div"},bhe={},Object.getOwnPropertyNames(Object(xhe)).reduce((function(e,t){var n=Object.getOwnPropertyDescriptor(Object(xhe),t),i=Object.getOwnPropertyDescriptor(Object(bhe),t);return Object.defineProperty(e,t,i||n)}),{}),Ja("adminPanel/postAdminPanel",(async e=>await fA.post("/HomePage",e))),Ja("adminPanel/putAdminPanel",(async e=>await fA.put("/HomePage",e)));const whe=Ja("adminPanel/getAdminPanel",(async({sectionName:e})=>{if(null!=e)return await fA.get(`/HomePage?SectionName=${e}`)}));kce.registerPlugin(_Ae,fhe);const jhe=({modalSignIn:e,handleModalSignIn:t,handleModalSignInClose:n})=>{const i=Qt(),r=um(),s=a.useRef(null),o=a.useRef([]),d=a.useRef(null),[c,u]=a.useState({mainHeadline:"Retail ERP & POS built for Indian MSMEs — fast billing, smart inventory, GST-ready.",description:"A SaaS platform that empowers Small and Medium Businesses by digitizing operations and reducing Total Cost of Ownership with minimal investment.",ctaButtonText:"Experience Now",ctaButtonLink:"/signin"}),[p,A]=a.useState([{id:1,icon:ghe,title:"Experience",desc:"Proven expertise delivering real value"},{id:2,icon:yhe,title:"Innovation",desc:"Smarter intelligence for better outcomes"},{id:3,icon:vhe,title:"Cost Efficiency",desc:"Maximum value with minimal cost"}]);a.useEffect((()=>{h(),f()}),[]);const h=async()=>{var e,t,n;try{const i=await r(whe({sectionName:"HeroSection"})).unwrap();if(1===(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&(null==(n=null==(t=null==i?void 0:i.data)?void 0:t.data)?void 0:n.length)>0){const e=i.data.data[0];if(e.Content){const t=JSON.parse(e.Content);u({mainHeadline:t.mainHeadline||c.mainHeadline,description:t.description||c.description,ctaButtonText:t.ctaButtonText||c.ctaButtonText,ctaButtonLink:t.ctaButtonLink||c.ctaButtonLink})}}}catch(i){}},f=async()=>{var e,t,n;try{const i=await r(whe({sectionName:"Offerings"})).unwrap();if(1===(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&(null==(n=null==(t=null==i?void 0:i.data)?void 0:t.data)?void 0:n.length)>0){const e=i.data.data[0];if(e.Content){const t=JSON.parse(e.Content);if(t.offerings&&t.offerings.length>0){const e=t.offerings.map((e=>({...e,icon:"experience"===e.icon?ghe:"innovation"===e.icon?yhe:"cost"===e.icon?vhe:ghe})));A(e)}}}}catch(i){}},m=p;return a.useEffect((()=>{const e=new fhe(s.current,{type:"lines"});return kce.fromTo(e.lines,{yPercent:100,opacity:0},{yPercent:0,opacity:1,duration:1,stagger:.1,ease:"expo.out",delay:.2,scrollTrigger:{trigger:s.current,start:"top 85%",toggleActions:"play none none reverse"}}),o.current.forEach(((e,t)=>{e&&kce.fromTo(e,{opacity:0,x:100,scale:.8},{opacity:1,x:0,scale:1,duration:.8,delay:.15*t,ease:"back.out(1.7)",scrollTrigger:{trigger:e,start:"top 85%",toggleActions:"play none none reverse"}})})),kce.fromTo(d.current,{opacity:0,scale:.5,rotation:10},{opacity:1,scale:1,rotation:0,duration:1,delay:.6,ease:"elastic.out(1, 0.3)",scrollTrigger:{trigger:d.current,start:"top 80%",toggleActions:"play none none reverse"}}),()=>{_Ae.getAll().forEach((e=>e.kill()))}}),[]),Ye.jsxs("div",{className:"OverView-Master",children:[Ye.jsx("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,className:"bg-video",preload:"none",loading:"lazy",children:Ye.jsx("source",{src:"/assets/OverView-3b51b525.webm",type:"video/webm"})}),Ye.jsx("div",{className:"overviewSlogan",ref:s,children:c.mainHeadline.split("\n").map(((e,t)=>Ye.jsxs(l.Fragment,{children:[e,t<c.mainHeadline.split("\n").length-1&&Ye.jsx("br",{})]},t)))}),Ye.jsxs("div",{className:"hero-left",children:[Ye.jsx("div",{className:"feature-list",children:m.map(((e,t)=>Ye.jsxs("div",{className:"feature-item",ref:e=>o.current[t]=e,children:[Ye.jsx("img",{src:e.icon,alt:e.title,width:40,loading:"lazy"}),Ye.jsxs("div",{className:"feature-text",children:[Ye.jsx("h3",{children:e.title}),Ye.jsx("p",{children:e.desc})]})]},t)))}),Ye.jsx("div",{className:"hero-right",children:Ye.jsxs("div",{className:"ai-card",children:[Ye.jsx("p",{children:c.description}),Ye.jsxs("button",{className:"experience-btn",onClick:()=>i(`/${c.ctaButtonLink.replace(/^\//,"")}`),children:[c.ctaButtonText,Ye.jsxs("div",{className:"icon-container",children:[Ye.jsx(IO,{className:"icon-main"}),Ye.jsx(IO,{className:"icon-hover"})]})]})]})})]})]})},Che=()=>Ye.jsx("div",{className:"loader-wrapper",children:Ye.jsxs("div",{className:"spinner",children:[Ye.jsx("div",{className:"wheel"}),Ye.jsx("div",{className:"wheel"})]})}),She=a.lazy((()=>pr((()=>import("./Offering-b01c7232.js")),["assets/Offering-b01c7232.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js","assets/Offering-c48c83ab.css"]))),Nhe=a.lazy((()=>pr((()=>import("./DigitalSection-16171116.js")),["assets/DigitalSection-16171116.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js","assets/DigitalSection-fc334ca1.css"]))),Ihe=a.lazy((()=>pr((()=>import("./PozoVideo-675603f4.js")),["assets/PozoVideo-675603f4.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js","assets/PozoVideo-39e183a2.css"]))),Fhe=a.lazy((()=>pr((()=>import("./TrendingApp-733f86b5.js")),["assets/TrendingApp-733f86b5.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js","assets/TrendingApp-81303a40.css"]))),Bhe=a.lazy((()=>pr((()=>import("./FaqSection-5850d5cb.js")),["assets/FaqSection-5850d5cb.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js","assets/FaqSection-a9193505.css"]))),Phe=a.lazy((()=>pr((()=>import("./Insiders-ee0bed6b.js")),["assets/Insiders-ee0bed6b.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js","assets/Insiders-93e1fcb1.css"]))),khe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>Yhe))),void 0))),The=a.lazy((()=>pr((()=>Promise.resolve().then((()=>GAe))),void 0))),Ehe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>Mhe))),void 0))),Dhe=a.lazy((()=>pr((()=>import("./SolutionsList-e4ceaac8.js")),["assets/SolutionsList-e4ceaac8.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js"]))),Lhe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>Qhe))),void 0))),Uhe=a.lazy((()=>pr((()=>import("./ModalSignIn-d6326004.js")),["assets/ModalSignIn-d6326004.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js","assets/ModalSignIn-7f007a95.css"])));kce.registerPlugin(_Ae);const _he="/home/",Ohe=({companyRef:e,closingCompany:t})=>{const n=Qt();return Ye.jsxs("div",{ref:e,className:"compnayLists "+(t?"closing":""),children:[Ye.jsx("p",{onClick:()=>{n(`${_he}about-us`)},children:"About Us"}),Ye.jsx("p",{onClick:()=>{n(`${_he}privacy-policy`)},children:"Privacy Policy"}),Ye.jsx("p",{onClick:()=>{n(`${_he}testimonials`)},children:"Testimonials"})]})},Mhe=Object.freeze(Object.defineProperty({__proto__:null,default:Ohe},Symbol.toStringTag,{value:"Module"})),Rhe=({onClose:e})=>{const[t,n]=a.useState(!1),i=()=>{n(!0),setTimeout((()=>{e()}),300)};return a.useEffect((()=>{const e=e=>{"Escape"===e.key&&i()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[e]),Ye.jsx("div",{className:"BookDemo-Master "+(t?"closing":""),onClick:i,children:Ye.jsxs("div",{className:"BookDemoMain",onClick:e=>e.stopPropagation(),children:[Ye.jsxs("div",{className:"BookDemoHeader",children:[Ye.jsxs("div",{className:"BookDemoHeaderLeft",children:[Ye.jsx("div",{children:"Book a Free Demo "}),Ye.jsx("p",{children:"Experience a smarter way to manage your business. No forms, no hassle."})]}),Ye.jsx("div",{className:"BookDemoHeaderRight",onClick:i,children:Ye.jsxs("div",{className:"icon-container",children:[Ye.jsx(mE,{className:"icon-main"}),Ye.jsx(mE,{className:"icon-hover"})]})})]}),Ye.jsxs("div",{className:"DemoTypesMain",children:[Ye.jsxs("div",{className:"DemoType",onClick:()=>window.open("https://wa.me/917324000014","_blank"),style:{cursor:"pointer"},children:[Ye.jsx("img",{src:"data:image/webp;base64,UklGRjgCAABXRUJQVlA4WAoAAAAQAAAAGQAAGQAAQUxQSEcAAAABP0AQABnlwAEJDoiIwGOuApvYtuJ8FgsMChhaJGBhTSRQZ/dfcNu0Ef2fACnvtwySPmpO5B+0f3iyf/iyB+0HihlZqavpBABWUDggygEAANAJAJ0BKhoAGgA+USKNRSOiIRQFVDgFBLYATplCPM/M3HGuwDyAOs2/a4pW/nlfzvlo+TvYH/S//dcDH+wAdnHVqqlslPgUNdwFemgSZSA64bY8zxR/gAD+FBuIaN7Gt9gykq3BVPs+C3XIhqYT6n73IPgbuECPwk+x50j+p/j/3Jn3+/X/xcTv5qHcP1FjJ7aOD4RlLwz3Ii7Rw8150kt9PMv2+G3xmXy/94kD97GpfDCmZjstf/7exE2Vub/M24f5Ob/Rv+qWaz1+id+Wn9fxKPn+c1NwjA/KEQ/tu/XYie8XfBkCGeRhlij6h9BrOLW2r9P2Efe3BSKHjGEnpfu/MFwcrvfRN2yqdb0QuYhTqmhRzjOgmrF3nwegNg0ptMj33geqjZcVX3+Kc27mXg7aLO042f+//w1b57dzi4f78bLrYiPEZVMaPxpgwkgxaoJxCU0+Tq+A/+qI+IVC3/te5hfY/P11FnzlbLtw1eh7tZiQt39L1fX44GvFqRGO3+lP9so+6JFwH7l66/5SJdbU7o44B+sC1/M67Iyv8SI1rrJ/clUEKOPd3LGdT/PLkagVGSDGapSDfKAAikofFzacXg8cT2ZoAAAA",alt:""}),"Whatsapp"]}),Ye.jsxs("div",{className:"DemoType",onClick:()=>window.open("mailto:support@pozoapp.com","_blank"),style:{cursor:"pointer"},children:[Ye.jsx("img",{src:"data:image/webp;base64,UklGRsQBAABXRUJQVlA4WAoAAAAQAAAAGQAAGgAAQUxQSE8AAAABT0AgQBnkQQ94QkSE4PGgYBvbVpTPTgMuISWYGlqGJVACmYbEO/3KS00j+j8BdNXxHQS5PuaRPwPdE3Q3yI9/W6FQoPOFrOtA5HS0iV8IAFZQOCBOAQAAcAgAnQEqGgAbAD5RIo5FI6IhFAVUOAUEtgBWGXs7RH87ueDuGA/VXdQOsA3hd8AZ3nmAB3X3JqBVLBvPbj1aeXULNSopNY5BmuX4AAD+/tjBXpH1o2IAfr6Gh7KizkfXwFtKRwUdgC3tKZ5qc9VGarYx49gklLQkSCoxL7frtQfeLbdoyMbK9V+bdJzkjunXcIOduAf0PzTZ274gHRbJF+kc0KQ2PCb/73cO4DnRAsLG1RmREpqsNdgQspMJlAG9hivLXrLLM7EFc2hSpxRoXamPNSI5Hxpx/QEr0lfkpKdMT4Wn1cm8HTP/FIqwpf+fGFs9oeKCD4xYidMSVCL/grRsNUmsSFAn8CstfRbwmvDiBLkdt56T/pRX9dLvx/z/z+xtj6bvXraK/8zOMys542ZY3GGIF25C+aoodERzfmza/1GV9VLl9qRo5MQAAA==",alt:""}),"Email"]}),Ye.jsxs("div",{className:"DemoType",children:[Ye.jsx("img",{src:"data:image/webp;base64,UklGRhwCAABXRUJQVlA4WAoAAAAQAAAAIAAAIAAAQUxQSCAAAAABHyAQIDjxP2kjIoITRNo2yz3ev5Sj8cOI/k9ANbeYAlZQOCDWAQAAMAgAnQEqIQAhAD5RJI1EI6IhFV1WADgFBKANGdgEyAbxmntuYE6wcABwCf9TzZ/0QTSjYu5YVB0o7FJX+lktkD+5bI01nDoi1yAA/vcuf996H0MtCf8HmAPx9onw+Gf2/44Lgh8Js47IA0GuvgtP+cxHHU+tnKHo/qYybgHQhBbblKXVDdHWnsHLCgdvGD4+4T+RguPVWsRSGG8Lf/3w1zo4n70HFxNFESaE3//+op/5r/d2f9z/zG3//QIf7D/mza/3N/T0qF+a//vfTNMqBib8f1PpPISo67+ej3CTwECPPP55BJDm9xLYmLYF/7oukrERyGR5GsLQKTThX8GogLKbQCcl0AMoGRB3Bb/HBenC7e++f0v/7DRt/9+bw8K/2+2899CRNvL/x+cKgXpfsvOx1lLoFWZtiGupUf3uTqc75Qlc7C19xbS8jz01an/NxNbaH8zvTT+9ZuZdRRGoD0EO/dvvT789bVSM73kRItHtB2ieHGfaIjydf7eBkHy8l3pIc5f+IvCcLozxk4IPDOdUAcMnLuyrrOjoNrv/nWiVMA+cJnGpoUe4c3/vY7tZcxOFQS9C3YX9BF56PTYD7L8v+aARYK71bKfEL48hTkYf+qhwAAA=",alt:""}),"Schedule a Demo"]})]}),Ye.jsxs("div",{className:"demoChat",children:[Ye.jsx("div",{children:"Chat with Us for a Free Demo"}),Ye.jsx("img",{src:"data:image/webp;base64,UklGRswCAABXRUJQVlA4IMACAAAwEQCdASo6ADoAPkUci0QioaEc+7QAKAREtQBfuOBgRvYXeT8Rst85V8gH+A9gHiAf1zqX+YDzuekA/t3UAegB5Yv7FfCd+2/7Qez1QFbjATbPyJfSm/V9AAV7XshCcypSLVmuVAwlQwAkvAKGFnRnmRZsgYPwfEIwzyK+jZrfyOxYCFt2rlYDpQlymyM73NL6AAD+/zJbeDx2IZN3nScdJ7oKYiz3KN6T/8nAy3UI0qrWE83mJRS4XGHXaSfIBVfShz+/O+8xuJ2h5Y4jz9cZ2BHsMJqaz/m4Z6Lz+ER77R7CmzOEmG4ERUtq8QabdjDWt/FzGn+MqbPEoITdqrq2COqeyK3+o6uk4hg2CRsQf9GvHEPnW1WoT6glyQPtMy6AYoTrK26GgQNyRxNzVd9//Gmbq9ZpJ71sZlTE3sNcxy6llxzQ11N97UKd2ZTF/TvcWXMv1lWgI7vLsXw+uSdfBsdQMEguvH6MNxVcODaZi+c7xcfheI+TtcJZG0Dj/4yb0kGR7oq3O+ms31t7dMkmFJut6vV4XJBqYSP6bz84E2SK/6G/+VPPwV4+I+NVnJxUrs/rCTlYhgiqJYY3HbGE3DlUbJ+jWD2ENL/81iywNcORHpsqYsG/is/2HRRgIGzN41EqWY+O1K9nyZ8NIj/NtfudUk2o9Kq3owW7ZJx6//qhbRbvW4sLPPBxEpz2h50ne39/zOL8nB7RUJdka6UpQBCbtr3GMffQwPOCirNtwSWHDFblgEsTY2mQw18QUUZc4GTQMltKbPyPzPziD43aIcHd0lYnL8uhg6eZwYFBVfwR4bmNi5UvYFzgemU9/exQQlqTJbsBv/J0Ps39UvwSfumf20fEpC2mewyfHOuQkO2gJvP0eA/rzDNVbmNuvU1LUh+jxYTGLTc4vzFqUKIaZez9kovRebpa+MCu0EyoAA==",alt:""})]})]})})},Qhe=Object.freeze(Object.defineProperty({__proto__:null,default:Rhe},Symbol.toStringTag,{value:"Module"})),Hhe=a.lazy((()=>pr((()=>import("./SolutionsList-e4ceaac8.js")),["assets/SolutionsList-e4ceaac8.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js"]))),Vhe="/",zhe="/";kce.registerPlugin(_Ae);kce.registerPlugin(_Ae);const qhe="/home/",Whe=({AppCategory:e=[]})=>{const t=Qt(),n=a.useRef(null),i=a.useRef(null),r=a.useRef(null);a.useState(""),a.useState(!1);const[s,l]=a.useState(""),[o,d]=a.useState(""),[c,u]=a.useState(""),[p,A]=a.useState([]),[h,f]=a.useState(0);a.useEffect((()=>{n.current&&kce.fromTo(n.current,{opacity:0,scale:.8,rotation:-10},{opacity:1,scale:1,rotation:0,duration:1.2,ease:"back.out(1.7)",scrollTrigger:{trigger:n.current,start:"top 85%",toggleActions:"play none none reverse"}}),i.current&&kce.fromTo(i.current,{opacity:0,y:50},{opacity:1,y:0,duration:1,ease:"power2.out",scrollTrigger:{trigger:i.current,start:"top 85%",toggleActions:"play none none reverse"}})}),[]);const m=(e,n)=>{nA("AppId",n),nA("AppName",e);const i=e.replace(/[,]/g,"").replace(/\s+/g,"-").replace(/&/g,"and").replace(/[^a-z0-9-]/gi,"").toLowerCase();t(`${qhe}industries/${i}`),window.scrollTo(0,0)},v=a.useMemo((()=>(e=>{const t={foodBeverages:[],wellness:[],fashion:[],electronics:[],grocery:[],services:[],others:[],healthcare:[],manufacturing:[],transportation:[],hospitality:[]};return e.forEach((e=>{var n,i;const a=(null==(n=e.AppName)?void 0:n.toLowerCase())||"",r=(null==(i=e.CategoryName)?void 0:i.toLowerCase())||"";/(consumer)/i.test(r)?/(bakery|restaurant|dairy|food|cafe|coffee|ice|pickle|pozoresto|resto|eatery|diner|bistro|pizz|burger|juice|sweet|snack)/i.test(a)?t.foodBeverages.push(e):/(salon|spa|beauty|cosmetics|fitness|gym|yoga|wellness|massage|parlour|parlor)/i.test(a)?t.wellness.push(e):/(fashion|jewellery|jewelry|footwear|lifestyle|apparel|textile|cloth|garment|shoe|sandal|accessory)/i.test(a)?t.fashion.push(e):/(electronic|mobile|computer|appliance|laptop|phone|device|gadget|tech)/i.test(a)?t.electronics.push(e):/(grocery|departmental|wholesale|supermarket|mart|retail|store)/i.test(a)?t.grocery.push(e):/(stationery|xerox|print|coaching|cement|tuition|education|training|class)/i.test(a)?t.services.push(e):t.others.push(e):/(healthcare|pharma)/i.test(r)||/(health|optical)/i.test(a)?t.healthcare.push(e):/(manufacturing)/i.test(r)||/(manufacturer)/i.test(a)?t.manufacturing.push(e):/(transportation|logistics)/i.test(r)||/(parking|boating)/i.test(a)?t.transportation.push(e):(/(hospitality|entertainment)/i.test(r)||/(hotel|resort)/i.test(a))&&t.hospitality.push(e)})),t})(e)),[e]);a.useEffect((()=>{if(""===c.trim())A([]);else{const t=e.filter((e=>{var t;return null==(t=e.AppName)?void 0:t.toLowerCase().includes(c.toLowerCase())}));A(t)}}),[c,e]);const g=a.useMemo((()=>{const e=[];return v.foodBeverages.length>0&&e.push({title:"Food & Beverages",apps:v.foodBeverages}),v.wellness.length>0&&e.push({title:"Wellness & Beauty",apps:v.wellness}),v.fashion.length>0&&e.push({title:"Fashion & Lifestyle",apps:v.fashion}),v.electronics.length>0&&e.push({title:"Electronics & Tech",apps:v.electronics}),v.grocery.length>0&&e.push({title:"Grocery & Retail",apps:v.grocery}),v.services.length>0&&e.push({title:"Services",apps:v.services}),v.healthcare.length>0&&e.push({title:"Healthcare & Pharma",apps:v.healthcare}),v.manufacturing.length>0&&e.push({title:"Manufacturing",apps:v.manufacturing}),v.transportation.length>0&&e.push({title:"Transportation",apps:v.transportation}),v.hospitality.length>0&&e.push({title:"Hospitality",apps:v.hospitality}),v.others.length>0&&e.push({title:"More Industries",apps:v.others}),e}),[v]),y=Math.max(1,Math.ceil(g.length/3)),x=3*h,b=g.slice(x,x+3);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"Footer-Master",ref:r,children:[Ye.jsxs("div",{className:"footerLeft",children:[Ye.jsx("div",{className:"logoDesc",children:Ye.jsxs("div",{children:["AI platform with Agentic AI that ",Ye.jsx("br",{})," acts smarter, beyond traditional ",Ye.jsx("br",{})," apps."]})}),Ye.jsxs("div",{className:"clutter",children:["Stay informed with only what matters ",Ye.jsx("br",{}),"—no spam, no clutter."]}),s&&Ye.jsx("div",{className:`subscription-message ${o}`,children:s})]}),Ye.jsxs("div",{className:"footerRight",children:[Ye.jsxs("div",{className:"footerProducts",ref:i,children:[Ye.jsxs("div",{className:"products-top-bar",children:[Ye.jsx("div",{className:"products-heading",children:"Products"}),Ye.jsxs("div",{className:"products-search-box",children:[Ye.jsx(Jv,{className:"products-search-icon"}),Ye.jsx("input",{type:"text",placeholder:"Search products...",value:c,onChange:e=>{u(e.target.value)},className:"products-search-input"}),c&&Ye.jsx("button",{onClick:()=>{u("")},className:"products-search-clear",children:"✕"})]}),!c&&Ye.jsxs("div",{className:"footer-navigation",children:[Ye.jsx("button",{onClick:()=>{f((e=>Math.max(0,e-1)))},disabled:0===h,className:"footer-nav-btn",children:"‹"}),Ye.jsxs("div",{className:"footer-page-indicator",children:[h+1," / ",y]}),Ye.jsx("button",{onClick:()=>{f((e=>Math.min(y-1,e+1)))},disabled:h===y-1,className:"footer-nav-btn",children:"›"})]})]}),c&&Ye.jsxs("div",{className:"products-search-results-count",children:[p.length," ",1===p.length?"result":"results"," found"]}),c&&p.length>0?Ye.jsx("div",{className:"footer-search-results",children:p.map((e=>Ye.jsx("p",{onClick:()=>m(e.AppName,e.AppId),className:"search-result-item",style:{cursor:"pointer"},children:e.AppName},e.AppId)))}):c&&0===p.length?Ye.jsx("div",{className:"footer-no-results",children:Ye.jsxs("p",{children:['No products found for "',c,'"']})}):e.length>0?Ye.jsx("div",{className:"footer-columns-wrapper",children:b.map(((e,t)=>Ye.jsxs("div",{className:"footer-column",children:[Ye.jsx("div",{className:"footer-category",children:e.title}),e.apps.map((e=>Ye.jsx("p",{onClick:()=>m(e.AppName,e.AppId),style:{cursor:"pointer"},children:e.AppName},e.AppId)))]},t)))}):Ye.jsxs("div",{className:"footer-columns-wrapper",children:[Ye.jsxs("div",{className:"footer-column",children:[Ye.jsx("div",{className:"footer-category",children:"Food & Beverages"}),Ye.jsx("p",{onClick:()=>t(`${qhe}industries/dairy-delights`),children:"Dairy Delights"}),Ye.jsx("p",{onClick:()=>t(`${qhe}industries/restaurant`),children:"Restaurant"}),Ye.jsx("p",{onClick:()=>t(`${qhe}industries/bakery`),children:"Bakery"})]}),Ye.jsxs("div",{className:"footer-column",children:[Ye.jsx("div",{className:"footer-category",children:"Wellness & Beauty"}),Ye.jsx("p",{onClick:()=>t(`${qhe}industries/beauty-and-cosmetics-shop`),children:"Beauty and Cosmetics shop"}),Ye.jsx("p",{onClick:()=>t(`${qhe}industries/fitness`),children:"Fitness"}),Ye.jsx("p",{onClick:()=>t(`${qhe}industries/salon-spa-and-beauty-parlour`),children:"Salon, Spa and Beauty Parlour"})]}),Ye.jsxs("div",{className:"footer-column",children:[Ye.jsx("div",{className:"footer-category",children:"Fashion & Lifestyle"}),Ye.jsx("p",{onClick:()=>t(`${qhe}industries/lifestyle-and-fashion`),children:"Lifestyle and Fashion"}),Ye.jsx("p",{onClick:()=>t(`${qhe}industries/fashion-jewellery`),children:"Fashion Jewellery"}),Ye.jsx("p",{onClick:()=>t(`${qhe}industries/footwear`),children:"Footwear"})]})]})]}),Ye.jsxs("div",{className:"footerContact",children:[Ye.jsx("div",{children:"Contact"}),Ye.jsx("a",{href:"",children:"info@pozo.app"})]}),Ye.jsxs("div",{className:"footePhone",children:[Ye.jsx("div",{children:"Phone"}),Ye.jsx("a",{href:"tel:7324000011",children:"73 24 00 00 11"}),Ye.jsx("a",{href:"tel:7324000012",children:"73 24 00 00 12"})]})]})]}),Ye.jsxs("div",{className:"policyDiv",children:[Ye.jsxs("div",{className:"FooterPolicy",children:[Ye.jsx("p",{children:" © 2025 PozoApp"}),Ye.jsx("p",{onClick:()=>{t(`${qhe}privacy-policy`)},children:"Privacy Policy"}),Ye.jsx("p",{onClick:()=>{t(`${qhe}cookie-policy`)},children:"Cookie Policy"}),Ye.jsx("p",{onClick:()=>{t(`${qhe}faq`)},children:"Faq"})]}),Ye.jsxs("div",{className:"footerSocial",children:[Ye.jsxs("div",{children:["Let's get social",Ye.jsx("a",{href:"https://www.instagram.com/pozomind/",target:"_blank",rel:"noopener noreferrer",children:Ye.jsx(tL,{size:18})}),Ye.jsx("a",{href:"https://www.facebook.com/pozomind/",target:"_blank",rel:"noopener noreferrer",children:Ye.jsx(km,{})}),Ye.jsx("a",{href:"https://x.com/pozomind",target:"_blank",rel:"noopener noreferrer",children:Ye.jsx(ug,{})}),Ye.jsx("a",{href:"https://www.youtube.com/@pozomind",target:"_blank",rel:"noopener noreferrer",children:Ye.jsx(_m,{})})]}),Ye.jsx("p",{children:"For queries contact us: Manager, No 51 Step Colony, Dharga,Hosur, Krishnagiri, Tamilnadu-635126, India"})]})]}),Ye.jsx("hr",{}),Ye.jsx("div",{className:"footerPozoApp",children:Ye.jsx("p",{children:"PozoApp"})})]})},Yhe=Object.freeze(Object.defineProperty({__proto__:null,default:Whe},Symbol.toStringTag,{value:"Module"})),Khe="https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=600&h=400&fit=crop&q=90",Ghe="https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=600&h=400&fit=crop&q=90",$he="https://images.unsplash.com/photo-1542838132-92c53300491e?w=600&h=400&fit=crop&q=90",Xhe="https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=600&h=400&fit=crop&q=90",Jhe="https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=600&h=400&fit=crop&q=90",Zhe="https://images.unsplash.com/photo-1563013544-824ae1b704d3?w=600&h=400&fit=crop&q=90",efe=a.lazy((()=>pr((()=>import("./SolutionsList-e4ceaac8.js")),["assets/SolutionsList-e4ceaac8.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js"])));kce.registerPlugin(_Ae);const tfe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>GAe))),void 0))),nfe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>Mhe))),void 0))),ife=a.lazy((()=>pr((()=>import("./SolutionsList-e4ceaac8.js")),["assets/SolutionsList-e4ceaac8.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js"])));kce.registerPlugin(_Ae);const afe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>GAe))),void 0))),rfe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>Mhe))),void 0))),sfe=a.lazy((()=>pr((()=>import("./SolutionsList-e4ceaac8.js")),["assets/SolutionsList-e4ceaac8.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js"])));kce.registerPlugin(_Ae);const lfe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>GAe))),void 0))),ofe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>Mhe))),void 0))),dfe=a.lazy((()=>pr((()=>import("./SolutionsList-e4ceaac8.js")),["assets/SolutionsList-e4ceaac8.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js"])));kce.registerPlugin(_Ae);const cfe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>GAe))),void 0))),ufe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>Mhe))),void 0))),pfe=a.lazy((()=>pr((()=>import("./SolutionsList-e4ceaac8.js")),["assets/SolutionsList-e4ceaac8.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js"])));kce.registerPlugin(_Ae);const Afe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>GAe))),void 0))),hfe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>Mhe))),void 0))),ffe=a.lazy((()=>pr((()=>import("./SolutionsList-e4ceaac8.js")),["assets/SolutionsList-e4ceaac8.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js"])));kce.registerPlugin(_Ae);const mfe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>GAe))),void 0))),vfe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>Mhe))),void 0))),gfe=a.lazy((()=>pr((()=>import("./SolutionsList-e4ceaac8.js")),["assets/SolutionsList-e4ceaac8.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js"])));kce.registerPlugin(_Ae);const yfe=a.lazy((()=>pr((()=>import("./SolutionsList-e4ceaac8.js")),["assets/SolutionsList-e4ceaac8.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js"]))),xfe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>GAe))),void 0))),bfe=a.lazy((()=>pr((()=>Promise.resolve().then((()=>Mhe))),void 0))),wfe="/",jfe=({formType:e="add"})=>{const t=um(),n=Mt(),i=Qt(),r=null==n?void 0:n.state,s=null==r?void 0:r.editstate,l=a.useRef(null),[o]=I.useForm(),d=iA("UserId"),[c,u]=a.useState(null),[p,A]=a.useState(null),[h,f]=a.useState("sms"),[m,v]=a.useState(!1),[g,y]=a.useState([]),[x,b]=a.useState([]),[w,j]=a.useState([]),C=[{name:"Home",link:`${wfe}landing-page/home`},{name:"Gateway Master Configuration",link:`${wfe}setting/gateway-master-configuration/${"add"===e?"new":"edit"===e?"update":"new"}`},{name:s?"Edit":"New",link:null}];a.useEffect((()=>{S(),N(),F(),t(Gh({items:C}))}),[]),a.useEffect((()=>{if(s){const e="S"===(null==s?void 0:s.ServiceType)?"sms":"W"===(null==s?void 0:s.ServiceType)?"whatsapp":"E"===(null==s?void 0:s.ServiceType)?"email":"sms";f(e),o.setFieldsValue({Provider:null==s?void 0:s.Provider}),o.setFieldsValue({AccountSID:null==s?void 0:s.APIKey}),o.setFieldsValue({AuthToken:null==s?void 0:s.APISecret}),o.setFieldsValue({Number:null==s?void 0:s.SenderNumber}),o.setFieldsValue({apiurl:null==s?void 0:s.APIUrl}),o.setFieldsValue({"Email Provider":null==s?void 0:s.Provider}),o.setFieldsValue({"Email Address":null==s?void 0:s.APIKey}),o.setFieldsValue({Password:null==s?void 0:s.APISecret})}}),[s]);const S=async()=>{var e,n;let i=await t(HP({TypeName:"SMSProviders"})).unwrap();1===(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)?y(null==(n=null==i?void 0:i.data)?void 0:n.data):y([])},N=async()=>{var e,n;let i=await t(HP({TypeName:"WhatsAppProviders"})).unwrap();1===(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)?b(null==(n=null==i?void 0:i.data)?void 0:n.data):b([])},F=async()=>{var e,n;let i=await t(HP({TypeName:"EmailProviders"})).unwrap();1===(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)?j(null==(n=null==i?void 0:i.data)?void 0:n.data):j([])},B=async n=>{var a;try{v(!0);let r,l={ServiceType:"sms"===h?"S":"whatsapp"===h?"W":"email"===h?"E":null,GatewayType:"our",GatewayStatus:"N",Provider:null==n?void 0:n.Provider,APIKey:null==n?void 0:n.AccountSID,APISecret:null==n?void 0:n.AuthToken,SenderNumber:null==n?void 0:n.Number,APIUrl:null==n?void 0:n.apiurl};"email"===h&&(l.Provider=null==n?void 0:n["Email Provider"],l.APIKey=null==n?void 0:n["Email Address"],l.APISecret=null==n?void 0:n.Password,l.SenderNumber=null,l.APIUrl=null),"edit"===e?(l.UpdatedBy=d,l.UniqueId=null==s?void 0:s.UniqueId,r=await t(PA(l)).unwrap()):"add"===e&&(l.CreatedBy=d,r=await t(BA(l)).unwrap()),1===(null==(a=null==r?void 0:r.data)?void 0:a.statusCode)&&(A(`${h.toUpperCase()} gateway configuration saved successfully`),u("success"),o.resetFields(),i(`${wfe}setting/gateway-master-configuration/new`,{replace:!0,state:null}))}catch(r){A("Failed to save configuration: "+r.message),u("error")}finally{v(!1)}},P=a.useCallback((()=>{A(null),u(null)}),[]);return Ye.jsxs("div",{className:"pageOverAll",children:[Ye.jsx(Qy,{messageType:c,messageData:p,onComplete:P}),Ye.jsxs("div",{className:"userPage",children:[Ye.jsxs("div",{className:"formName",children:[Ye.jsxs("div",{className:"formNameHeader",children:[Ye.jsx(ab,{title:"Gateway Master Configuration"}),Ye.jsx("div",{className:"viewList",onClick:()=>{i(`${wfe}setting/gateway-master-configuration/list`)},children:"View List"})]}),Ye.jsx("p",{children:"Configure your SMS, WhatsApp, and Email gateways"})]}),Ye.jsxs("div",{className:"gateway-tabs",children:[Ye.jsx("button",{onClick:()=>f("sms"),className:`${"sms"===h?"btnActive":""} ${s&&"S"!==(null==s?void 0:s.ServiceType)?"tab-disabled":""}`,children:"SMS Gateway"}),Ye.jsx("button",{onClick:()=>f("whatsapp"),className:`${"whatsapp"===h?"btnActive":""} ${s&&"W"!==(null==s?void 0:s.ServiceType)?"tab-disabled":""}`,children:"WhatsApp Gateway"}),Ye.jsx("button",{onClick:()=>f("email"),className:`${"email"===h?"btnActive":""} ${s&&"E"!==(null==s?void 0:s.ServiceType)?"tab-disabled":""}`,children:"Email Gateway"})]}),Ye.jsxs("div",{className:"formDiv formDivGatewayMaster",children:["sms"===h&&Ye.jsx("div",{className:"gateway-section",children:Ye.jsxs(I,{ref:l,className:"formDivAnt",onFinish:B,layout:"vertical",form:o,children:[Ye.jsxs("div",{className:"formDivSGate",children:[Ye.jsx(I.Item,{name:"Provider",rules:[{required:!0,message:"Please Select Provider"}],children:Ye.jsx(_y,{placeholder:"Provider",label:Ye.jsx("label",{className:"required",children:"Provider"}),className:"field-DropDown",options:(null==g?void 0:g.map((e=>({value:null==e?void 0:e.ConfigId,label:null==e?void 0:e.ConfigName}))))||[],valueData:o.getFieldValue("Provider"),onChangeFunction:e=>{o.setFieldsValue({Provider:e})},filterSort:(e,t)=>{const n=String((null==e?void 0:e.label)??""),i=String((null==t?void 0:t.label)??"");return n.toLowerCase().localeCompare(i.toLowerCase())}})}),Ye.jsx(I.Item,{name:"AccountSID",rules:[{required:!0,message:"Enter a valid AccountSID"}],children:Ye.jsx(Oy,{field:"AccountSID",label:Ye.jsx("label",{className:"required",children:"Account SID / API Key"}),fieldState:!0,fieldApi:!0,maxLength:"30",autoComplete:"off",isOnChange:(null==s?void 0:s.APIKey)?null==s?void 0:s.APIKey:null})}),Ye.jsx(I.Item,{name:"AuthToken",rules:[{required:!0,message:"Enter a valid Auth Token / API Secret"}],children:Ye.jsx(Oy,{field:"AuthToken",label:Ye.jsx("label",{className:"required",children:"Auth Token / API Secret"}),fieldState:!0,fieldApi:!0,maxLength:"30",autoComplete:"off",isOnChange:(null==s?void 0:s.APISecret)?null==s?void 0:s.APISecret:null})}),Ye.jsx(I.Item,{name:"Number",rules:[{required:!0,message:"Enter a valid from number / sender ID"}],children:Ye.jsx(Oy,{field:"Number",label:Ye.jsx("label",{className:"required",children:"From Number / Sender ID"}),fieldState:!0,fieldApi:!0,maxLength:"30",autoComplete:"off",isOnChange:(null==s?void 0:s.SenderNumber)?null==s?void 0:s.SenderNumber:null})}),Ye.jsx(I.Item,{name:"apiurl",children:Ye.jsx(Oy,{field:"apiurl",label:Ye.jsx("label",{children:"API URL (Optional)"}),fieldState:!0,fieldApi:!0,maxLength:"30",autoComplete:"off",isOnChange:(null==s?void 0:s.APIUrl)?null==s?void 0:s.APIUrl:null})})]}),Ye.jsx(I.Item,{children:Ye.jsx("button",{type:"submit",className:"save-btn-primary",disabled:m,children:m?"edit"===e?"Updating...":"Saving...":"edit"===e?"Update SMS Configuration":"Save SMS Configuration"})})]})}),"whatsapp"===h&&Ye.jsx("div",{className:"gateway-section",children:Ye.jsxs(I,{ref:l,className:"formDivAnt",onFinish:B,layout:"vertical",form:o,children:[Ye.jsxs("div",{className:"formDivSGate",children:[Ye.jsx(I.Item,{name:"Provider",rules:[{required:!0,message:"Please Select Provider"}],children:Ye.jsx(_y,{placeholder:"Provider",label:Ye.jsx("label",{className:"required",children:"Provider"}),className:"field-DropDown",options:(null==x?void 0:x.map((e=>({value:null==e?void 0:e.ConfigId,label:null==e?void 0:e.ConfigName}))))||[],valueData:o.getFieldValue("Provider"),onChangeFunction:e=>{o.setFieldsValue({Provider:e})},filterSort:(e,t)=>{const n=String((null==e?void 0:e.label)??""),i=String((null==t?void 0:t.label)??"");return n.toLowerCase().localeCompare(i.toLowerCase())}})}),Ye.jsx(I.Item,{name:"AccountSID",rules:[{required:!0,message:"Enter a valid Account SID / API Key"}],children:Ye.jsx(Oy,{field:"AccountSID",label:Ye.jsx("label",{className:"required",children:"Account SID / API Key"}),fieldState:!0,fieldApi:!0,maxLength:"30",autoComplete:"off",isOnChange:(null==s?void 0:s.APIKey)?null==s?void 0:s.APIKey:null})}),Ye.jsx(I.Item,{name:"AuthToken",rules:[{required:!0,message:"Enter a valid Auth Token / API Secret"}],children:Ye.jsx(Oy,{field:"AuthToken",label:Ye.jsx("label",{className:"required",children:"Auth Token / API Secret"}),fieldState:!0,fieldApi:!0,maxLength:"30",autoComplete:"off",isOnChange:(null==s?void 0:s.APISecret)?null==s?void 0:s.APISecret:null})}),Ye.jsx(I.Item,{name:"Number",rules:[{required:!0,message:"Enter a valid WhatsApp number"}],children:Ye.jsx(Oy,{field:"Number",label:Ye.jsx("label",{className:"required",children:"WhatsApp Business Number"}),fieldState:!0,fieldApi:!0,maxLength:"30",autoComplete:"off",isOnChange:(null==s?void 0:s.SenderNumber)?null==s?void 0:s.SenderNumber:null})}),Ye.jsx(I.Item,{name:"apiurl",children:Ye.jsx(Oy,{field:"apiurl",label:Ye.jsx("label",{children:"API URL (Optional)"}),fieldState:!0,fieldApi:!0,maxLength:"30",autoComplete:"off",isOnChange:(null==s?void 0:s.APIUrl)?null==s?void 0:s.APIUrl:null})})]}),Ye.jsx(I.Item,{children:Ye.jsx("button",{type:"submit",className:"save-btn-primary",disabled:m,children:m?"edit"===e?"Updating...":"Saving...":"edit"===e?"Update WhatsApp Configuration":"Save WhatsApp Configuration"})})]})}),"email"===h&&Ye.jsx("div",{className:"email-section",children:Ye.jsxs(I,{ref:l,className:"formDivAnt",onFinish:B,layout:"vertical",form:o,children:[Ye.jsxs("div",{className:"formDivSGate",children:[Ye.jsx(I.Item,{name:"Email Provider",rules:[{required:!0,message:"Please select email provider"}],children:Ye.jsx(_y,{placeholder:"Provider",label:Ye.jsx("label",{className:"required",children:"Email Provider"}),className:"field-DropDown",options:(null==w?void 0:w.map((e=>({value:null==e?void 0:e.ConfigId,label:null==e?void 0:e.ConfigName}))))||[],onChangeFunction:e=>o.setFieldsValue({"Email Provider":e}),valueData:o.getFieldValue("Email Provider")})}),Ye.jsx(I.Item,{name:"Email Address",rules:[{required:!0,message:"Email address is required"}],children:Ye.jsx(Oy,{field:"Email Address",label:Ye.jsx("label",{className:"required",children:"Email Address"}),fieldState:!0,fieldApi:!0,maxLength:"30",autoComplete:"off",isOnChange:(null==s?void 0:s.APIKey)?null==s?void 0:s.APIKey:null})}),Ye.jsx(I.Item,{name:"Password",rules:[{required:!0,message:"Enter a valid app password"}],children:Ye.jsx(Oy,{field:"Password",label:Ye.jsx("label",{className:"required",children:"App Password"}),fieldState:!0,fieldApi:!0,maxLength:"30",autoComplete:"off",isOnChange:(null==s?void 0:s.APISecret)?null==s?void 0:s.APISecret:null})})]}),Ye.jsx(I.Item,{children:Ye.jsx("button",{type:"submit",className:"save-btn-primary",disabled:m,children:m?"edit"===e?"Updating...":"Saving...":"edit"===e?"Update Email Configuration":"Save Email Configuration"})})]})})]})]})]})},{Search:Cfe}=g,Sfe="/",Nfe=a.createContext(),Ife=({children:e})=>{const[t,n]=a.useState({BannerSectionForm:[{id:1,title:"Summer Sale Banner",description:"Promotional banner for summer sale campaign",image:"https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=400&h=300&fit=crop",active:!0,priority:"high",date:"Dec 22, 2024"}],CTASectionForm:[{id:1,title:"Get Started CTA",description:"Primary call-to-action for new users",image:"https://images.unsplash.com/photo-1559136555-9303baea8ebd?w=400&h=300&fit=crop",active:!0,priority:"high",date:"Dec 21, 2024"}],EcosystemForm:[{id:1,title:"Smart City Solutions",description:"Comprehensive urban development platform integrating IoT, data analytics, and citizen engagement.",image:"https://images.unsplash.com/photo-1449824913935-59a10b8d2000?w=400&h=300&fit=crop",active:!0,priority:"high",date:"Dec 21, 2024"},{id:2,title:"Healthcare Innovation Hub",description:"Connected healthcare ecosystem with telemedicine, AI diagnostics, and patient management.",image:"https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=400&h=300&fit=crop",active:!0,priority:"medium",date:"Dec 20, 2024"}],FaqSectionForm:[{id:1,title:"How to Get Started",description:"Step-by-step guide for new users to begin using our platform",image:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=400&h=300&fit=crop",active:!0,priority:"high",date:"Dec 20, 2024"}],FooterForm:[{id:1,title:"Main Footer",description:"Primary footer with contact information and links",image:"https://images.unsplash.com/photo-1557804506-669a67965ba0?w=400&h=300&fit=crop",active:!0,priority:"medium",date:"Dec 19, 2024"}],HeroSectionForm:[{id:1,title:"Support the Environment",description:"Environmental conservation through waste management, and sustainable practices for a better future.",image:"https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?w=400&h=300&fit=crop",active:!0,priority:"medium",date:"Dec 19, 2024"},{id:2,title:"Water, Sanitation & Hygiene",description:"Providing clean water access, sanitation facilities, hygiene education to improve community health and wellbeing.",image:"https://images.unsplash.com/photo-1559027615-cd4628902d4a?w=400&h=300&fit=crop",active:!0,priority:"high",date:"Dec 18, 2024"}],OfferingsForm:[{id:1,title:"Digital Transformation",description:"Comprehensive digital solutions to modernize your business operations and enhance customer experience.",image:"https://images.unsplash.com/photo-1551434678-e076c223a692?w=400&h=300&fit=crop",active:!0,priority:"high",date:"Dec 18, 2024"},{id:2,title:"Cloud Infrastructure",description:"Scalable cloud solutions for secure data storage, processing, and seamless business operations.",image:"https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=400&h=300&fit=crop",active:!0,priority:"medium",date:"Dec 17, 2024"}],TrendingAppsForm:[{id:1,name:"PozoPay",description:"Secure mobile payment solution with advanced encryption and fraud protection.",icon:"https://images.unsplash.com/photo-1563013544-824ae1b704d3?w=100&h=100&fit=crop",category:"Finance",rating:4.8,downloads:"1.2M",status:"active",priority:"high",date:"Dec 22, 2024"},{id:2,name:"SmartInventory",description:"AI-powered inventory management system with real-time tracking and analytics.",icon:"https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=100&h=100&fit=crop",category:"Business",rating:4.6,downloads:"850K",status:"active",priority:"medium",date:"Dec 21, 2024"},{id:3,name:"HealthTracker",description:"Comprehensive health monitoring app with wearable device integration.",icon:"https://images.unsplash.com/photo-1559757175-0eb30cd8c063?w=100&h=100&fit=crop",category:"Health",rating:4.9,downloads:"2.1M",status:"active",priority:"high",date:"Dec 20, 2024"}],AppDemo:[{id:1,title:"Product Demo Video",description:"Comprehensive demonstration of our latest product features and capabilities",image:"https://images.unsplash.com/photo-1574717024653-61fd2cf4d44d?w=400&h=300&fit=crop",active:!0,priority:"high",date:"Dec 19, 2024"}]}),i={sectionData:t,addItem:(e,t)=>{n((n=>({...n,[e]:[...n[e],{...t,id:Date.now()}]})))},updateItem:(e,t,i)=>{n((n=>({...n,[e]:n[e].map((e=>e.id===t?{...e,...i}:e))})))},deleteItem:(e,t)=>{n((n=>({...n,[e]:n[e].filter((e=>e.id!==t))})))},toggleItemStatus:(e,t)=>{n((n=>({...n,[e]:n[e].map((e=>e.id===t?{...e,active:!e.active}:e))})))},updateSectionData:(e,t)=>{n((n=>({...n,[e]:t})))}};return Ye.jsx(Nfe.Provider,{value:i,children:e})},Ffe="/home/",Bfe=()=>{var e,t,n;const i=um(),r=Qt(),[s,l]=a.useState(!1),[o,d]=a.useState(""),[c,u]=a.useState(""),[p,A]=a.useState(null),[h,f]=a.useState(""),[m,v]=a.useState(""),[g,y]=a.useState([{DtlTitle:"",DtlDescription:[""],DtlImages:[null],DtlVideos:[null]}]),b=iA("UserId"),[w,j]=a.useState([]),[C,S]=a.useState(-1),[N,I]=a.useState(!1),[F,B]=a.useState(!1),[P,k]=a.useState(null),[T,E]=a.useState(""),[D,L]=a.useState(!1),[U,_]=a.useState("all"),[O,M]=a.useState("");a.useEffect((()=>{R()}),[]);const R=async()=>{var e,t;try{let n=await i(ute()).unwrap();if(1==(null==(e=null==n?void 0:n.data)?void 0:e.statusCode)){const e=null==(t=null==n?void 0:n.data)?void 0:t.data;j(e)}else j([])}catch(n){}},Q=()=>{d(""),u(""),A(null),f(""),v(""),y([{DtlTitle:"",DtlDescription:[""],DtlImages:[null],DtlVideos:[null]}])},H=()=>{I(!N)},V=(e,t)=>{k(e),E(t),B(!0)},z=async(e,t,n=null,a=null)=>{var r,s,l;if(e)try{const o=await i(EP(e)).unwrap(),d=(null==(r=null==o?void 0:o.data)?void 0:r.status)?null==(s=null==o?void 0:o.data)?void 0:s.image:e;if("poster"===t)A(d);else if("image"===t&&null!==n&&null!==a){const e=[...g];e[n].DtlImages[a]=d,y(e)}else if("video"===t&&null!==n&&null!==a){const e=[...g];e[n].DtlVideos[a]=d,y(e)}(null==(l=null==o?void 0:o.data)?void 0:l.status)?x.success(("video"===t?"Video":"Image")+" uploaded successfully!"):x.warning(("video"===t?"Video":"Image")+" upload failed. Using local preview.")}catch(o){if(x.error(`Error uploading ${t}. Please try again.`),"poster"===t)A(e);else if("image"===t&&null!==n&&null!==a){const t=[...g];t[n].DtlImages[a]=e,y(t)}else if("video"===t&&null!==n&&null!==a){const t=[...g];t[n].DtlVideos[a]=e,y(t)}}},q=e=>e?"string"==typeof e?e:e instanceof File||e instanceof Blob?URL.createObjectURL(e):"":"";function W(e){const[t,n]=e.split(":");let i=parseInt(t,10);const a=n,r=i>=12?"PM":"AM";return i%=12,i=0===i?12:i,`${i.toString().padStart(2,"0")}:${a} ${r}`}const Y=(null==w?void 0:w.filter((e=>{var t,n,i;let a=!0;"published"===U?a="Y"===e.IsPublished:"unpublished"===U?a="N"===e.IsPublished:"draft"===U&&(a=!e.PublishDate&&"N"===e.IsPublished);const r=!O||(null==(t=e.BlogTitle)?void 0:t.toLowerCase().includes(O.toLowerCase()))||(null==(n=e.BlogSubtitle)?void 0:n.toLowerCase().includes(O.toLowerCase()))||(null==(i=e.Author)?void 0:i.toLowerCase().includes(O.toLowerCase()));return a&&r})))||[];return Ye.jsxs("div",{className:"blog-form-master",children:[Ye.jsxs("div",{className:"blog-form-header",children:[Ye.jsxs("div",{className:"blog-form-header-content",children:[Ye.jsx("h2",{children:"Blog Management"}),Ye.jsx("p",{children:"Create and manage your blog posts and content."})]}),Ye.jsx("button",{className:"blog-form-create-btn",onClick:()=>{r(`${Ffe}PostEditorPage`)},children:s?Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("span",{children:"←"})," Back"]}):Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("span",{children:"+"})," Create Blog Post"]})})]}),Ye.jsxs("div",{className:"blog-form-layout",children:[s&&Ye.jsx("div",{className:"blog-form-left",children:Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"blog-form-container",children:[Ye.jsx("h3",{children:"Poster Section"}),Ye.jsxs("div",{className:"blog-form-field",children:[Ye.jsx("label",{children:"Blog Title"}),Ye.jsx("input",{type:"text",value:o,onChange:e=>d(e.target.value),autoFocus:!0})]}),Ye.jsxs("div",{className:"blog-form-field",children:[Ye.jsx("label",{children:"Blog Subtitle"}),Ye.jsx("input",{type:"text",value:c,onChange:e=>u(e.target.value)})]}),Ye.jsxs("div",{className:"blog-form-field",children:[Ye.jsx("label",{children:"Upload Image"}),Ye.jsx("input",{type:"file",accept:"image/*",onChange:e=>z(e.target.files[0],"poster")}),p&&Ye.jsx("div",{className:"file-preview",children:Ye.jsx("img",{src:q(p),alt:"Poster preview",style:{maxWidth:"100px",maxHeight:"100px",marginTop:"10px",borderRadius:"8px"}})})]}),Ye.jsx("div",{className:"section-header",style:{marginTop:"3rem"},children:N?Ye.jsx("div",{onClick:H,style:{cursor:"pointer"},children:"Hide Details"}):Ye.jsx("h3",{onClick:H,style:{cursor:"pointer"},children:"Add More Details"})}),N&&Ye.jsxs(Ye.Fragment,{children:[g.map(((e,t)=>{var n,i;return Ye.jsxs("div",{className:"detail-section",children:[Ye.jsxs("div",{children:["More Details (",g.length,")"]}),Ye.jsxs("div",{className:"blog-form-field",children:[Ye.jsx("label",{children:"Title"}),Ye.jsx("input",{type:"text",value:e.DtlTitle,onChange:e=>{const n=[...g];n[t].DtlTitle=e.target.value,y(n)}})]}),Ye.jsxs("div",{className:"dynamic-inputs",children:[Ye.jsxs("div",{className:"input-group",children:[Ye.jsxs("div",{className:"group-header",children:[Ye.jsx("label",{children:"Description"}),Ye.jsx("button",{className:"add-btn",onClick:()=>(e=>{const t=[...g];t[e].DtlDescription.push(""),y(t)})(t),children:"+ Add"})]}),null==e?void 0:e.DtlDescription.map(((n,i)=>Ye.jsxs("div",{className:"input-wrapper",children:[Ye.jsx("textarea",{value:n,onChange:e=>{const n=[...g];n[t].DtlDescription[i]=e.target.value,y(n)}}),(null==e?void 0:e.DtlDescription.length)>1&&Ye.jsx("button",{className:"remove-btn",onClick:()=>((e,t)=>{const n=[...g];n[e].DtlDescription.splice(t,1),y(n)})(t,i),children:"Remove"})]},i)))]}),Ye.jsxs("div",{className:"input-group",children:[Ye.jsx("div",{className:"group-header",children:Ye.jsx("label",{children:"Images"})}),null==(n=(null==e?void 0:e.DtlImages)||[null])?void 0:n.map(((n,i)=>{var a;return Ye.jsxs("div",{className:"input-wrapper",children:[Ye.jsx("input",{type:"file",accept:"image/*",onChange:e=>z(e.target.files[0],"image",t,i)}),n&&Ye.jsx("div",{className:"file-preview",children:Ye.jsx("img",{src:q(n),alt:`Image ${i+1}`,style:{maxWidth:"150px",maxHeight:"100px",marginTop:"8px",borderRadius:"6px"}})}),Ye.jsxs("div",{className:"button-group",children:[Ye.jsx("button",{className:"add-btn",onClick:()=>(e=>{const t=[...g];t[e].DtlImages.push(null),y(t)})(t),children:"Add"}),(null==(a=null==e?void 0:e.DtlImages)?void 0:a.length)>1&&Ye.jsx("button",{className:"remove-btn",onClick:()=>((e,t)=>{const n=[...g];n[e].DtlImages.splice(t,1),y(n)})(t,i),children:"Remove"})]})]},i)}))]}),Ye.jsxs("div",{className:"input-group",children:[Ye.jsx("div",{className:"group-header",children:Ye.jsx("label",{children:"Videos"})}),null==(i=(null==e?void 0:e.DtlVideos)||[null])?void 0:i.map(((n,i)=>{var a;return Ye.jsxs("div",{className:"input-wrapper",children:[Ye.jsx("input",{type:"file",accept:"video/*",onChange:e=>z(e.target.files[0],"video",t,i)}),n&&Ye.jsx("div",{className:"file-preview",children:Ye.jsx("video",{controls:!0,style:{maxWidth:"200px",maxHeight:"120px",marginTop:"8px",borderRadius:"6px"},children:Ye.jsx("source",{src:"string"==typeof n?n:URL.createObjectURL(n),type:"string"==typeof n?"video/mp4":n.type})})}),Ye.jsxs("div",{className:"button-group",children:[Ye.jsx("button",{type:"button",className:"add-btn",onClick:()=>(e=>{const t=[...g];t[e].DtlVideos.push(null),y(t)})(t),children:"Add"}),(null==(a=null==e?void 0:e.DtlVideos)?void 0:a.length)>1&&Ye.jsx("button",{type:"button",className:"remove-btn",onClick:()=>((e,t)=>{const n=[...g];n[e].DtlVideos.splice(t,1),y(n)})(t,i),children:"Remove"})]})]},i)}))]})]})]},t)})),Ye.jsxs("div",{className:"section-buttons",children:[Ye.jsx("button",{className:"add-btn",onClick:()=>{y([...g,{DtlTitle:"",DtlDescription:[""],DtlImages:[null],DtlVideos:[null]}])},children:"+ Add More"}),g.length>1&&Ye.jsx("button",{className:"remove-btn",onClick:()=>(e=>{const t=[...g];t.splice(e,1),y(t)})(g.length-1),children:"Remove"})]})]})]}),Ye.jsxs("div",{className:"blog-form-actions",children:[Ye.jsx("button",{className:"blog-form-btn-primary",onClick:async()=>{var e,t,n,a;if(o.trim()?c.trim()||(x.error("Blog subtitle is required"),0):(x.error("Blog title is required"),0)){L(!0);try{const r=g.map((e=>({...C>-1?{BlogId:null==e?void 0:e.BlogId}:{},...C>-1?{UniqueId:null==e?void 0:e.UniqueId}:{},DtlTitle:(null==e?void 0:e.DtlTitle)??"",DtlDescription:(null==e?void 0:e.DtlDescription)??[],DtlImages:e.DtlImages??[],DtlVideos:e.DtlVideos??[],ActiveStatus:"A",...C>-1?{UpdatedBy:b||1}:{CreatedBy:b||1}}))),s={BlogTitle:o,BlogSubtitle:c,HeaderImage:p,PublishDate:h||"",PublishTime:m||"",ActiveStatus:(null==(e=w[C])?void 0:e.ActiveStatus)?null==(t=w[C])?void 0:t.ActiveStatus:"A",...C>-1?{BlogId:w[C].BlogId,UpdatedBy:b||1}:{CreatedBy:b||1},BlogDetails:r,IsPublished:(null==(n=w[C])?void 0:n.IsPublished)?null==(a=w[C])?void 0:a.IsPublished:"N"};(C>-1?await i(dte(s)).unwrap():await i(ote(s)).unwrap())?(x.success("Blog post saved successfully!"),await R(),Q(),l(!1)):x.error("No response from server")}catch(r){x.error(`Failed to save: ${(null==r?void 0:r.message)||"Please check your connection and try again"}`)}finally{L(!1),S(-1)}}},disabled:D,children:D?"Saving...":"Save"}),Ye.jsx("button",{className:"blog-form-btn-secondary",onClick:()=>{Q(),S(-1),l(!1)},children:"Cancel"}),Ye.jsx(xe,{title:"Clear form?",description:"This will clear all your work ",onConfirm:Q,okText:"Yes",cancelText:"No",children:Ye.jsx("button",{className:"blog-form-btn-secondary",children:"Clear"})})]})]})}),!s&&Ye.jsxs("div",{className:"blog-form-right",children:[Ye.jsxs("div",{className:"blogFilter",children:[Ye.jsxs("div",{className:"search-container",children:[Ye.jsx(wg,{className:"search-icon"}),Ye.jsx("input",{type:"text",className:"search-input",placeholder:"Search blogs by title, subtitle, or author...",value:O,onChange:e=>M(e.target.value)})]}),Ye.jsxs("div",{className:"filter-buttons",children:[Ye.jsx("span",{className:"filter-label",children:"Filter:"}),[{value:"all",label:"All",count:(null==w?void 0:w.length)||0},{value:"published",label:"Published",count:(null==(e=null==w?void 0:w.filter((e=>"Y"===e.IsPublished)))?void 0:e.length)||0},{value:"unpublished",label:"Unpublished",count:(null==(t=null==w?void 0:w.filter((e=>"N"===e.IsPublished)))?void 0:t.length)||0},{value:"draft",label:"Draft",count:(null==(n=null==w?void 0:w.filter((e=>!e.PublishDate&&"N"===e.IsPublished)))?void 0:n.length)||0}].map((e=>Ye.jsxs("button",{className:"filter-btn "+(U===e.value?"active":""),onClick:()=>_(e.value),children:[e.label,Ye.jsx("span",{className:"count-badge "+(U===e.value?"active":""),children:e.count})]},e.value)))]})]}),(null==Y?void 0:Y.length)>0?Ye.jsx("div",{className:"blog-display",children:Ye.jsx("div",{className:"blog-grid",children:null==Y?void 0:Y.map(((e,t)=>{var n,a,s,l;return Ye.jsxs("div",{className:"blog-card "+("N"===e.IsPublished?"blog-inactive":""),children:[Ye.jsx("div",{className:"blog-card-header",children:Ye.jsx("h3",{children:e.BlogTitle})}),Ye.jsxs("div",{className:"blog-card-content",children:[e.BlogSubtitle&&Ye.jsxs("p",{children:[" ",e.BlogSubtitle]}),e.HeaderImage&&Ye.jsx("div",{className:"poster-preview",children:Ye.jsx("img",{src:q(e.HeaderImage),alt:"Poster",style:{width:"80px",maxHeight:"120px",objectFit:"cover",borderRadius:"6px",cursor:"pointer",marginBottom:"10px"},onClick:()=>V(e.HeaderImage,"image")})}),null==(n=null==e?void 0:e.BlogDetails)?void 0:n.map(((e,t)=>{var n,i,a,r,s,l;return(e.DtlTitle||(null==(n=e.DtlDescription)?void 0:n.length)>0||(null==(i=e.DtlImages)?void 0:i.length)>0||(null==(a=e.DtlVideos)?void 0:a.length)>0)&&Ye.jsxs("div",{children:[e.DtlTitle&&Ye.jsxs("p",{children:[Ye.jsxs("strong",{children:["Section ",t+1,":"]})," ",e.DtlTitle]}),null==(r=e.DtlDescription)?void 0:r.map(((e,t)=>Ye.jsxs("p",{children:["• ",e.substring(0,50),e.length>50?"...":""]},t))),(null==(s=e.DtlImages)?void 0:s.length)>0&&Ye.jsxs("div",{className:"media-preview",children:[Ye.jsxs("p",{children:[Ye.jsx(hg,{style:{marginRight:"5px"}})," ",e.DtlImages.length," image(s)"]}),Ye.jsxs("div",{style:{display:"flex",gap:"5px",flexWrap:"wrap",marginBottom:"8px"},children:[e.DtlImages.slice(0,3).map(((e,t)=>Ye.jsx("img",{src:q(e),alt:`Image ${t+1}`,style:{maxWidth:"150px",maxHeight:"100px",marginTop:"8px",borderRadius:"6px",cursor:"pointer"},onClick:()=>V(e,"image")},t))),e.DtlImages.length>3&&Ye.jsxs("div",{style:{width:"50px",height:"50px",background:"#f0f0f0",borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"12px",color:"#666"},children:["+",e.DtlImages.length-3]})]})]}),(null==(l=e.DtlVideos)?void 0:l.length)>0&&Ye.jsxs("div",{className:"media-preview",children:[Ye.jsxs("p",{children:[Ye.jsx(mg,{style:{marginRight:"5px"}})," ",e.DtlVideos.length," video(s)"]}),Ye.jsxs("div",{style:{display:"flex",gap:"5px",flexWrap:"wrap",marginBottom:"8px"},children:[e.DtlVideos.slice(0,2).map(((e,t)=>Ye.jsx("div",{style:{width:"60px",height:"40px",background:"#000",borderRadius:"4px",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"white",fontSize:"16px"},onClick:()=>V(e,"video"),children:Ye.jsx(fg,{})},t))),e.DtlVideos.length>2&&Ye.jsxs("div",{style:{width:"60px",height:"40px",background:"#f0f0f0",borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"12px",color:"#666"},children:["+",e.DtlVideos.length-2]})]})]})]},t)})),Ye.jsxs("p",{className:"blog-status "+("Y"===e.IsPublished?"blog-active":"blog-inactive"),children:["Status: ","Y"===e.IsPublished?"Published":"Unpublished"]}),e.PublishDate&&Ye.jsxs("p",{children:[Ye.jsx("strong",{children:"Scheduled:"})," ",null==(s=null==(a=e.PublishDate)?void 0:a.split("T"))?void 0:s[0]," ",W(e.PublishTime)||"00:00"]}),Ye.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"12px",color:"#666",fontFamily:"Poppins"},children:["Posted By: ",e.Author||"Admin"]}),Ye.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"4px",fontSize:"12px",color:"#666",fontFamily:"Poppins"},children:["Created: ",e.CreatedDate?new Date(e.CreatedDate).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}):"N/A"," ",e.CreatedDate?W((null==(l=e.CreatedDate.split("T")[1])?void 0:l.split(".")[0])||"00:00:00"):""]})]}),Ye.jsxs("div",{className:"blog-card-actions",children:[Ye.jsx("button",{className:"blog-edit-btn",onClick:()=>(e=>{const t=w[e];r(`${Ffe}PostEditorPage`,{state:{blog:t,isEdit:!0}})})(t),children:Ye.jsx(_O,{size:18})}),Ye.jsx(xe,{title:"Delete Blog",description:"Are you sure you want to delete this blog post?",onConfirm:()=>(async(e,t)=>{var n;const a="A"===t?"D":"A",r=await i(cte({blogId:e,activeStatus:a,updatedBy:b})).unwrap();1==(null==(n=null==r?void 0:r.data)?void 0:n.statusCode)?(x.success("Blog status deleted successfully!"),await R()):x.error("Failed to update blog status. Please try again."),S(-1)})(null==e?void 0:e.BlogId,null==e?void 0:e.ActiveStatus),okText:"Yes",cancelText:"No",children:Ye.jsx("button",{className:"blog-delete-btn",children:Ye.jsx(LO,{size:18})})}),Ye.jsx("button",{className:"blog-status-btn "+("Y"===e.IsPublished?"blog-deactivate":"blog-activate"),onClick:()=>(async e=>{var t,n;const a=[...w],r="Y"===a[e].IsPublished;a[e].IsPublished=r?"N":"Y",r&&(a[e].PublishDate=null,a[e].PublishTime=null);const s=await(null==(t=i(dte(a[e])))?void 0:t.unwrap());1==(null==(n=null==s?void 0:s.data)?void 0:n.statusCode)?(x.success("Publish status updated successfully!"),await R()):x.error("Failed to update blog status. Please try again.")})(t),children:"Y"===e.IsPublished?"Unpublish":"Publish"})]})]},e.BlogId)}))})}):Ye.jsxs("div",{className:"blog-placeholder-content",children:[Ye.jsx("div",{className:"blog-placeholder-icon",children:Ye.jsx(lg,{})}),Ye.jsx("h2",{children:"No Blog Posts Found"}),Ye.jsx("p",{children:'Click "Create Blog Post" to start creating a new blog post'})]})]})]}),Ye.jsxs(SP,{open:F,title:"image"===T?"Image Preview":"Video Preview",handleCancel:()=>{B(!1),k(null),E("")},width:800,footer:null,children:[P&&"image"===T&&Ye.jsx("img",{src:q(P),alt:"Preview",style:{width:"100%",maxHeight:"500px",objectFit:"contain"}}),P&&"video"===T&&Ye.jsx("video",{controls:!0,style:{maxWidth:"200px",maxHeight:"120px",marginTop:"8px",borderRadius:"6px"},children:Ye.jsx("source",{src:q(P),type:"string"==typeof vid?"video/mp4":P.type})})]})]})},Pfe=()=>{const e=um(),[t,n]=a.useState(!0);a.useState([{}]);const[i,r]=a.useState({pageName:"",metaTitle:"",metaDescription:"",keywords:"",imageAltText:""}),[s,l]=a.useState([]),[o,d]=a.useState(!1);a.useEffect((()=>{c()}),[]);const c=async()=>{var t,n;let i=await e(HP({TypeName:"SEO"})).unwrap();1==(null==(t=null==i?void 0:i.data)?void 0:t.statusCode)&&l(null==(n=null==i?void 0:i.data)?void 0:n.data)},u=async t=>{var n,a,s;const{name:l,value:o}=t.target;if("pageName"===l)if(o)try{const t=await e(CU({PageId:o})).unwrap();if(1===(null==(n=null==t?void 0:t.data)?void 0:n.statusCode)&&(null==(s=null==(a=null==t?void 0:t.data)?void 0:a.data)?void 0:s.length)>0){const e=t.data.data[0];r({pageName:o,metaTitle:e.MetaTitle||"",metaDescription:e.MetaDesc||"",keywords:e.Keywords||"",imageAltText:e.ImgAltText||""}),d(!0)}else r({pageName:o,metaTitle:"",metaDescription:"",keywords:"",imageAltText:""}),d(!1)}catch(c){r({pageName:o,metaTitle:"",metaDescription:"",keywords:"",imageAltText:""}),d(!1)}else r({pageName:"",metaTitle:"",metaDescription:"",keywords:"",imageAltText:""}),d(!1);else r({...i,[l]:o})};return Ye.jsxs("div",{className:"seo-form-master",children:[Ye.jsx("div",{className:"seo-form-header",children:Ye.jsxs("div",{className:"seo-form-header-content",children:[Ye.jsx("h2",{children:"SEO Management"}),Ye.jsx("p",{children:"Configure SEO settings for pages and content."})]})}),Ye.jsx("div",{className:"seo-form-layout",children:Ye.jsx("div",{className:"seo-form-left",children:Ye.jsxs("div",{className:"seo-form-container",children:[Ye.jsx("h3",{children:"SEO Configuration"}),Ye.jsxs("form",{onSubmit:async t=>{if(t.preventDefault(),!i.pageName)return void x.error("Please select a page");const n={PageId:i.pageName,MetaTitle:i.metaTitle,MetaDesc:i.metaDescription,Keywords:i.keywords,ImgAltText:i.imageAltText,ImageUrl:"",ActiveStatus:"A",CreatedBy:1};try{o?(await e(jU(n)).unwrap(),x.success("SEO Settings updated successfully!")):(await e(wU(n)).unwrap(),x.success("SEO Settings created successfully!"),d(!0)),await(async e=>{try{await fetch("/api/update-seo",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})}catch(t){}})({metaTitle:i.metaTitle,metaDescription:i.metaDescription,keywords:i.keywords})}catch(a){x.error("Failed to save SEO settings")}},children:[Ye.jsxs("div",{className:"seo-form-field",children:[Ye.jsx("label",{children:"Select Page *"}),Ye.jsxs("select",{name:"pageName",value:i.pageName,onChange:u,required:!0,children:[Ye.jsx("option",{value:"",children:"Choose a page..."}),null==s?void 0:s.map((e=>Ye.jsx("option",{value:e.ConfigId,children:e.ConfigName},e.ConfigId)))]})]}),Ye.jsxs("div",{className:"seo-form-field",children:[Ye.jsx("label",{children:"Meta Title"}),Ye.jsx("input",{type:"text",name:"metaTitle",value:i.metaTitle,onChange:u,placeholder:"Enter meta title..."})]}),Ye.jsxs("div",{className:"seo-form-field",children:[Ye.jsx("label",{children:"Meta Description"}),Ye.jsx("textarea",{name:"metaDescription",value:i.metaDescription,onChange:u,rows:"4",placeholder:"Enter meta description..."})]}),Ye.jsxs("div",{className:"seo-form-field",children:[Ye.jsx("label",{children:"Keywords"}),Ye.jsx("input",{type:"text",name:"keywords",value:i.keywords,onChange:u,placeholder:"Enter keywords separated by commas..."})]}),Ye.jsxs("div",{className:"seo-form-field",children:[Ye.jsx("label",{children:"Image Alt Text"}),Ye.jsx("input",{type:"text",name:"imageAltText",value:i.imageAltText,onChange:u,placeholder:"Enter image alt text..."})]}),Ye.jsxs("div",{className:"seo-form-actions",children:[Ye.jsx("button",{type:"submit",className:"seo-form-btn-primary",children:o?"Update SEO Settings":"Create SEO Settings"}),Ye.jsx("button",{type:"button",className:"seo-form-btn-secondary",onClick:()=>n(!1),children:"Cancel"})]})]})]})})})]})},kfe="/",Tfe=()=>{const[e,t]=a.useState(0),[n,i]=a.useState(!1),r=Qt(),s=um(),l=iA("UserType"),o=[{id:0,title:"Blog",subtitle:"Post Content Control",icon:Ye.jsx(PU,{size:25}),component:Bfe,key:"BlogSection"},{id:10,title:"SEO",subtitle:"Content Management",icon:Ye.jsx(Mv,{}),component:Pfe,key:"SEOForm"}],d=o.find((t=>t.id===e));return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(bU,{title:"PozoApp Admin Panel - Manage Your Business Settings",description:"Access PozoApp's comprehensive admin panel to configure your business settings, manage users, and customize your experience.",keywords:"admin panel, business settings, user management, configuration",url:`${kfe}admin-panel`,image:"/og/admin-og.jpg",type:"website",noindex:!0}),Ye.jsxs("div",{className:"admin-panel-container",children:[Ye.jsxs("div",{className:"admin-panel-mobile-header",children:[Ye.jsxs("div",{className:"admin-panel-mobile-logo",children:[Ye.jsx(rv,{})," Admin Panel"]}),Ye.jsx("button",{className:"admin-panel-mobile-toggle",onClick:()=>i(!n),children:n?Ye.jsx(Uv,{}):Ye.jsx(Hm,{})})]}),Ye.jsxs("div",{className:"admin-panel-sidebar "+(n?"mobile-open":""),children:[Ye.jsx("div",{className:"admin-panel-sidebar-header",children:Ye.jsxs("div",{className:"admin-panel-logo",children:[Ye.jsx(rv,{}),Ye.jsx("h1",{children:"Admin Panel"})]})}),Ye.jsx("nav",{className:"admin-panel-sidebar-nav",children:o.map((n=>Ye.jsxs("div",{className:"admin-panel-nav-item "+(e===n.id?"active":""),onClick:()=>(e=>{t(null==e?void 0:e.id),i(!1)})(n),children:[Ye.jsx("div",{className:"admin-panel-nav-icon",children:n.icon}),Ye.jsxs("div",{className:"admin-panel-nav-content",children:[Ye.jsx("span",{className:"admin-panel-nav-title",children:n.title}),Ye.jsx("span",{className:"admin-panel-nav-subtitle",children:n.subtitle})]}),e===n.id&&Ye.jsx("div",{className:"admin-panel-active-indicator"})]},n.id)))}),Ye.jsxs("div",{className:"admin-panel-sidebar-footer",children:[Ye.jsxs("div",{className:"admin-panel-user-profile",children:[Ye.jsx("div",{className:"admin-panel-user-avatar",children:"SA"}),Ye.jsxs("div",{className:"admin-panel-user-info",children:[Ye.jsx("span",{className:"admin-panel-user-name",children:"Marketing Administrator"}),Ye.jsx("span",{className:"admin-panel-user-role",children:"Super Admin"})]})]}),Ye.jsxs("button",{className:"admin-panel-signout-btn",onClick:async()=>{var e;const t=iA("UserId"),n=await s(fm({UserId:t,status:"N"})).unwrap();1===(null==(e=null==n?void 0:n.data)?void 0:e.statusCode)&&(rA(),r(`${kfe}`))},children:[Ye.jsx(kv,{})," Sign Out"]})]})]}),n&&Ye.jsx("div",{className:"admin-panel-mobile-overlay",onClick:()=>i(!1)}),Ye.jsxs("div",{className:"admin-panel-main-content",children:[Ye.jsxs("div",{className:"admin-panel-top-header",children:[Ye.jsxs("div",{className:"admin-panel-breadcrumbs",children:[Ye.jsx("span",{children:"Dashboard"}),d&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(ev,{className:"admin-panel-breadcrumb-arrow"}),Ye.jsxs("span",{children:[d.title," Management"]})]})]}),Ye.jsxs("div",{className:"backtohomefromAdminpanel",onClick:()=>r("Super Admin"===l?`${kfe}landing-page/home`:`${kfe}`),children:["Back to Home ",Ye.jsx(SO,{size:18})]})]}),Ye.jsx("div",{className:"admin-panel-content-area",children:(null==d?void 0:d.component)?Ye.jsx(d.component,{sectionKey:d.key}):Ye.jsxs("div",{className:"admin-panel-placeholder-content",children:[Ye.jsx("div",{className:"admin-panel-placeholder-icon",children:Ye.jsx(Lv,{})}),Ye.jsx("h2",{children:"Welcome to Admin Panel"}),Ye.jsx("p",{children:"Select a section from the sidebar to get started"})]})})]})]})]})};a.lazy((()=>pr((()=>import("./SolutionsList-e4ceaac8.js")),["assets/SolutionsList-e4ceaac8.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js","assets/utils-faf49605.js","assets/editor-e98c3426.js"])));function Efe(e){return Cn({tag:"svg",attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 3C1.22386 3 1 3.22386 1 3.5C1 3.77614 1.22386 4 1.5 4H13.5C13.7761 4 14 3.77614 14 3.5C14 3.22386 13.7761 3 13.5 3H1.5ZM1 7.5C1 7.22386 1.22386 7 1.5 7H13.5C13.7761 7 14 7.22386 14 7.5C14 7.77614 13.7761 8 13.5 8H1.5C1.22386 8 1 7.77614 1 7.5ZM1 11.5C1 11.2239 1.22386 11 1.5 11H13.5C13.7761 11 14 11.2239 14 11.5C14 11.7761 13.7761 12 13.5 12H1.5C1.22386 12 1 11.7761 1 11.5Z",fill:"currentColor"}}]})(e)}const Dfe=({allowComments:e,blogId:t})=>{var n;const[i,r]=a.useState(null),s=um(),l=Qt(),o=iA("UserId"),[d,c]=a.useState({name:"",email:"",comment:""});a.useEffect((()=>{(async()=>{try{const e=await s(pte()).unwrap();if(1===e.data.statusCode){const t=e.data.data;r(t)}}catch(e){}})()}),[]);const u=e=>{c({...d,[e.target.name]:e.target.value})};return Ye.jsxs("div",{className:"blog-extras",children:["Y"===e&&Ye.jsxs("div",{className:"comments-section",children:[Ye.jsx("h3",{children:"Leave a Comment"}),Ye.jsxs("form",{onSubmit:async e=>{var t,n;e.preventDefault();try{const e={Name:null==d?void 0:d.name,Email:null==d?void 0:d.email,Comment:null==d?void 0:d.comment,CreatedBy:o||0},i=await(null==(t=s(hte(e)))?void 0:t.unwrap());1===(null==(n=null==i?void 0:i.data)?void 0:n.statusCode)?(x.success("Comment submitted successfully!"),c({name:"",email:"",comment:""})):x.error("Failed to submit comment. Please try again.")}catch(i){x.error("Failed to submit comment. Please try again.")}},className:"comment-form",children:[Ye.jsx("div",{className:"form-group",children:Ye.jsx("input",{type:"text",name:"name",placeholder:"Your Name",value:d.name,onChange:u,required:!0})}),Ye.jsx("div",{className:"form-group",children:Ye.jsx("input",{type:"email",name:"email",placeholder:"Your Email",value:d.email,onChange:u,required:!0})}),Ye.jsx("div",{className:"form-group",children:Ye.jsx("textarea",{name:"comment",placeholder:"Write your comment...",value:d.comment,onChange:u,rows:"4",required:!0})}),Ye.jsx("button",{type:"submit",className:"submit-btn",children:"Post Comment"})]})]}),i&&(null==(n=null==i?void 0:i.filter((e=>"Y"===(null==e?void 0:e.Popular)&&(null==e?void 0:e.BlogId)!==t)))?void 0:n.length)>0&&Ye.jsxs("div",{className:"featured-posts",children:[Ye.jsx("h3",{children:"Featured Posts"}),i.filter((e=>"Y"===e.Popular&&(null==e?void 0:e.BlogId)!==t)).slice(0,3).map((e=>Ye.jsxs("div",{className:"featured-post-item",onClick:()=>l(`/home/blog/${e.Slug}`),style:{cursor:"pointer"},children:[Ye.jsx("img",{src:e.HeaderImage,alt:"Post"}),Ye.jsxs("div",{className:"featured-post-content",children:[Ye.jsx("h4",{children:e.BlogTitle}),Ye.jsx("span",{children:new Date(e.CreatedDate).toLocaleDateString()})]})]},e.BlogId)))]}),Ye.jsxs("div",{className:"social-section",children:[Ye.jsx("h3",{children:"Follow Us"}),Ye.jsxs("div",{className:"social-links",children:[Ye.jsx("a",{href:"https://www.facebook.com/pozomind/",className:"social-link facebook",target:"_blank",rel:"noopener noreferrer",children:Ye.jsx(Pm,{})}),Ye.jsx("a",{href:"https://www.instagram.com/pozomind/",className:"social-link instagram",target:"_blank",rel:"noopener noreferrer",children:Ye.jsx(Tm,{})}),Ye.jsx("a",{href:"https://wa.me/917324000014",className:"social-link whatsapp",target:"_blank",rel:"noopener noreferrer",children:Ye.jsx(Um,{})})]})]})]})},Lfe="/home/",Ufe="/home/",_fe=[{question:"What is POZO?",answer:"Pozomind is a SaaS product startup, established with a vision of empowering businesses to enhance their potential through innovation, experience and cost efficiency."},{question:"Who is POZO for?",answer:"POZO is exclusively designed to meet specific business needs of SMBs who are rapidly evolving. We create visibility, eliminate operational complexity and help you generate revenue."},{question:"Does POZO work offline during internet drops?",answer:"Yes, POZO works offline during internet drops."},{question:"Which weighing scales, printers and scanners are supported?",answer:"Customisable to all scales grades"},{question:"Do you support WhatsApp e-bills?",answer:"Yes but the service was supposed to be opted by the customer"},{question:"How quickly can I get set up?",answer:"24 to 48 Hrs"},{question:"Is my data safe, and who owns it?",answer:"Yes, data cant be accessed by POZO team also with client's approval"},{question:"Do you offer on-site setup in Bengaluru?",answer:"Yes, dedicated team and office is there to support in Bangalore"}],Ofe="/home/",Mfe=[{path:`${Ofe}`,component:()=>{const e=a.useRef(null),t=Qt(),[n,i]=a.useState(!0),[r,s]=a.useState(!0),[l,o]=a.useState(null),[d,c]=a.useState(!1),[u,p]=a.useState(!1),[A,h]=a.useState(!1),[f,m]=a.useState([]),[v,g]=a.useState([]),[y,x]=a.useState([]);a.useState(null);const[b,w]=a.useState(!1),[j,C]=a.useState(!1),[S,N]=a.useState(!1),[I,F]=a.useState(!1),[B,P]=a.useState(!1),[k,T]=a.useState(!1),[E,D]=a.useState(!1),L=a.useRef(null),U=a.useRef(null),_=um();iA("UserId");const[O,M]=a.useState(null),[R,Q]=a.useState([]);a.useEffect((()=>{(async()=>{var e,t,n,i,a;try{const[r,s,l]=await Promise.all([_(HP({TypeName:"SEO"})).unwrap(),_(dL()).unwrap(),_(cL({username:"1000000001",password:"1234"})).unwrap()]);if(1===(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)){const e=r.data.data;Q(e);const n=null==(t=e.find((e=>"home"===e.ConfigName)))?void 0:t.ConfigId;n&&_(CU({PageId:n})).unwrap().then((e=>{var t;if(1===(null==(t=null==e?void 0:e.data)?void 0:t.statusCode)){const t=e.data.data.find((e=>e.PageId===n));t&&M({metaTitle:null==t?void 0:t.MetaTitle,metaDescription:null==t?void 0:t.MetaDesc,keywords:null==t?void 0:t.Keywords,imageAltText:null==t?void 0:t.ImgAltText})}}))}if(1===(null==(n=null==s?void 0:s.data)?void 0:n.statusCode)){const e=null==(a=null==(i=null==s?void 0:s.data)?void 0:i.data)?void 0:a.filter((e=>"A"===(null==e?void 0:e.ActiveStatus)));x(e)}}catch(r){}})()}),[]),a.useEffect((()=>{const e=setTimeout((()=>s(!1)),300),t=new Cre({duration:1.2,easing:e=>Math.min(1,1.001-Math.pow(2,-10*e)),smoothWheel:!0,smoothTouch:!0,wheelMultiplier:1,touchMultiplier:2});return o(t),t.on("scroll",(e=>{_Ae.update(),c(e.scroll>500),w(e.scroll>50)})),kce.ticker.add((e=>{t.raf(1e3*e)})),kce.ticker.lagSmoothing(0),()=>{clearTimeout(e),t.destroy(),_Ae.getAll().forEach((e=>e.kill()))}}),[]),a.useEffect((()=>{y.length>0||(async()=>{var e,t,n;try{const i=await _(aL()).unwrap();if(1===(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)){const e=null==(t=null==i?void 0:i.data)?void 0:t.data;m(e),(null==(n=null==e?void 0:e[0])?void 0:n.CateId)&&_(lL(e[0].CateId)).unwrap().then((e=>{var t,n,i;if(1===(null==(t=null==e?void 0:e.data)?void 0:t.statusCode)){const t=null==(i=null==(n=null==e?void 0:e.data)?void 0:n.data)?void 0:i.filter((e=>"A"===e.ActiveStatus));g(t)}})).catch((e=>{}))}}catch(i){}})()}),[f]);const H=()=>p(!1),V=()=>h(!1);if(r)return Ye.jsx(Che,{});return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(bU,{title:(null==O?void 0:O.metaTitle)||"Retail ERP & POS for Indian MSMEs | POZO",description:(null==O?void 0:O.metaDescription)||"Fast billing, smart inventory, GST-ready POS. POZO helps kirana, mini-supermarkets & retail chains speed checkout, connect weighing scales, and manage multi-store ops.",keywords:(null==O?void 0:O.keywords)||"POS software, retail ERP, billing software, inventory management, GST billing, weighing scale POS, multi-store ERP",url:"/",image:(null==O?void 0:O.imageAltText)||"/og/home.jpg",type:"website",customJsonLd:{"@context":"https://schema.org","@graph":[{"@type":"Organization",name:"POZO",url:"https://www.pozo.app/",logo:"https://www.pozo.app/static/brand/logo.png",foundingDate:"2019",sameAs:[]},{"@type":"WebSite",name:"POZO",url:"https://www.pozo.app/",potentialAction:{"@type":"SearchAction",target:"https://www.pozo.app/search?q={query}","query-input":"required name=query"}},{"@type":"WebPage",url:"https://www.pozo.app/",name:"Retail ERP & POS for Indian MSMEs | POZO",isPartOf:{"@id":"https://www.pozo.app/"},description:"Fast billing, smart inventory, GST-ready POS. POZO helps kirana, mini-supermarkets & retail chains speed checkout, connect weighing scales, and manage multi-store ops."}]}}),Ye.jsxs("div",{className:"HomePage-Master",children:[n&&Ye.jsxs("div",{style:{cursor:"pointer"},className:"headLineJoin",children:[Ye.jsx("div",{onClick:()=>{t("/live-Session")},children:"Live Session - No Cost to Join!"}),Ye.jsx(ey,{onClick:()=>{document.querySelector(".headLineJoin").style.animation="fadeOut 0.5s ease-out forwards",setTimeout((()=>i(!1)),500)},style:{cursor:"pointer"}})]}),Ye.jsx(XAe,{isScrolled:b,forceTopZero:!0,AppCategory:y,closingIndustry:S,setClosingIndustry:N,industry:j,setIndustry:C,companyRef:L,closingCompany:B,setClosingCompany:P,company:I,setCompany:F,solutionsOpen:k,setSolutionsOpen:T,closingSolutions:E,setClosingSolutions:D,solutionsRef:U,demoModal:u,handleDemoModal:()=>p(!0),handleDemoModalClose:H}),Ye.jsx("section",{children:Ye.jsx(jhe,{modalSignIn:A,handleModalSignIn:()=>h(!0),handleModalSignInClose:V})}),Ye.jsxs(a.Suspense,{fallback:null,children:[Ye.jsx("section",{children:Ye.jsx(She,{})}),Ye.jsx("section",{children:Ye.jsx(Nhe,{})}),Ye.jsx("section",{children:Ye.jsx(Ihe,{})}),Ye.jsx("section",{children:Ye.jsx(Fhe,{})}),Ye.jsx("section",{children:Ye.jsx(Bhe,{})}),Ye.jsx("section",{children:Ye.jsx(Phe,{})}),Ye.jsx("section",{children:Ye.jsx(khe,{AppCategory:y})})]}),Ye.jsx("div",{className:"folatingWhatsapp",onClick:()=>window.open("https://wa.me/917324000014","_blank"),style:{cursor:"pointer"},children:Ye.jsx(Um,{})}),d&&Ye.jsx("div",{className:"backToTop",onClick:()=>{l?l.scrollTo(0,{duration:1.5}):window.scrollTo({top:0,behavior:"smooth"})},children:Ye.jsx(tv,{})}),j&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(The,{industryRef:e,closingIndustry:S,AppCategory:y,redirectApp:async(e,n)=>{nA("AppId",n),nA("AppName",e);const i=e.replace(/[,]/g,"").replace(/\s+/g,"-").replace(/&/g,"and").replace(/[^a-z0-9-]/gi,"").toLowerCase();t(`/industries/${i}`),window.location.reload()}})}),I&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(Ehe,{companyRef:L,closingCompany:B})}),k&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(Dhe,{solutionsRef:U,closingSolutions:E})}),u&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(Lhe,{onClose:H})}),A&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(Uhe,{onClose:V})}),Ye.jsx(YAe,{})]})]})},access:"Public"},{path:`${Ofe}development`,component:()=>Ye.jsx("div",{className:"coming-soon-container",children:Ye.jsxs("div",{className:"coming-soon-sub-container",children:[Ye.jsx("div",{children:Ye.jsx("img",{src:"/assets/commingsoon-3a72aafe.png",style:{width:"15rem"},alt:""})}),Ye.jsx("h1",{children:"Coming Soon"}),Ye.jsx("p",{children:"We're working hard to bring you an amazing experience!"}),Ye.jsxs("div",{className:"countdown",children:[Ye.jsx("p",{children:"Stay tuned! Launching in:"}),Ye.jsx("div",{className:"countdown-timer"})]})]})}),access:"Public"},{path:`${Ofe}adminpanel`,component:()=>Ye.jsx(Ife,{children:Ye.jsx(Tfe,{})}),access:"Marketing",empAccess:"Admin Panel"},{path:`${Ofe}:appName`,component:c8,access:"Public"},{path:`${Ofe}industries/:appName`,component:c8,access:"Public"},{path:`${Ofe}feature1`,component:d5},{path:`${Ofe}pdf`,component:uE,access:"Admin"},{path:`${Ofe}payment-page-download`,component:()=>{var e,t,n,i,r,s,l,o,d,c,u,p,A,h,f,m;const v=um(),[g,y]=a.useState([]),[x,b]=a.useState(null),[w,j]=a.useState(null),[C,S]=a.useState(null),[N,I]=a.useState(null);a.useEffect((()=>{(async()=>{var e,t;const n=await function(){const e=window.location.search;if(!e)return{};const t=new URLSearchParams(e),n={};for(const[i,a]of t.entries())n[i]=a;return n}();if(n){let i=await v(Jb(null==n?void 0:n.BookingId)).unwrap();1===(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&y(null==(t=null==i?void 0:i.data)?void 0:t.data)}})()}),[]),a.useEffect((()=>{(null==g?void 0:g.length)>0&&F()}),[g]);const F=async()=>{const e=document.getElementById("Pdfbodydownload");try{const t=new W8("p","pt","a4"),n=t.internal.pageSize.getWidth(),i=t.internal.pageSize.getHeight();k9(e).then((e=>{const a=e.toDataURL("image/png");t.addImage(a,"PNG",0,0,n,i),t.save("PozoInvoice.pdf")}))}catch(t){}};return Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{className:"Pdf-body",id:"Pdfbodydownload",children:[Ye.jsxs("div",{className:"Pdf-Div",children:[Ye.jsxs("div",{style:{color:"#2b2b2b"},children:[Ye.jsx("img",{src:cE,className:"headlogo-img"}),Ye.jsxs("div",{children:[Ye.jsx("p",{className:"Pdf-head",children:" Invoice "}),Ye.jsx("p",{style:{fontFamily:"Poppins",color:"#52C41A"},children:" Pozomind Technologies "})]})]}),Ye.jsxs("div",{className:"Pdf-amt-details",children:[Ye.jsxs("p",{children:[" Invoice Number : ",Ye.jsxs("span",{className:"Pdf-amt-digit",children:[" ",(null==g?void 0:g.length)>0?null==(e=g[0])?void 0:e.UniqueId:null," "]})," "]}),Ye.jsxs("p",{children:[" Amount: ",Ye.jsxs("span",{className:"Pdf-amt-digit",children:["₹ ",(null==g?void 0:g.length)>0?null==(t=g[0])?void 0:t.NetPrice:null," "]})," "]})]}),Ye.jsxs("div",{className:"Pdf-amt-details",children:[Ye.jsxs("p",{children:[" Payment Method : ",Ye.jsxs("span",{className:"Pdf-amt-digit",children:[" ",(null==g?void 0:g.length)>0?null==(n=g[0])?void 0:n.PaymentModeName:null," "]})]}),Ye.jsxs("p",{children:[" Date : ",Ye.jsxs("span",{className:"Pdf-amt-digit",children:[" ",(null==g?void 0:g.length)>0?tA(null==(i=g[0])?void 0:i.PurDate):null," "]})," "]})]})]}),Ye.jsx("div",{className:"Pdf-Cont-Div",children:Ye.jsxs("div",{className:"Pdf-cont",children:[Ye.jsxs("div",{className:"Pdf-cont-txt",children:[Ye.jsx("p",{className:"Pdf-cont-subhead",children:" Billed From"}),Ye.jsxs("p",{className:"Pdf-cont-text",children:["Pozomind Technologies Private Limited",Ye.jsx("p",{children:"Phone : 7324000011"})]})]}),Ye.jsxs("div",{className:"Pdf-cont-txt",children:[Ye.jsx("p",{className:"Pdf-cont-subhead",children:" Billed To "}),Ye.jsxs("p",{className:"Pdf-cont-text",children:[(null==g?void 0:g.length)>0?null!=(null==(r=g[0])?void 0:r.UserName)?null==(s=g[0])?void 0:s.UserName:null==(l=g[0])?void 0:l.MobileNo:"",",",Ye.jsx("br",{}),Ye.jsx("p",{className:"Pdf-cont-text",children:null!=x?x:null}),null!=C?C:null," ",null!=N?N:null," ",null!=w?w:null,Ye.jsxs("p",{children:["Phone : ",(null==g?void 0:g.length)>0?null==(o=g[0])?void 0:o.MobileNo:null]})]})]})]})}),Ye.jsx("hr",{className:"new3"}),Ye.jsx("div",{className:"Pdf-Table-Div",children:Ye.jsxs("table",{children:[Ye.jsx("caption",{children:"Statement Summary"}),Ye.jsx("thead",{children:Ye.jsxs("tr",{children:[Ye.jsx("th",{scope:"col",children:"Description"}),Ye.jsx("th",{scope:"col",children:"Purchase Date"}),Ye.jsx("th",{scope:"col",children:"Period"}),Ye.jsx("th",{scope:"col",children:"Amount"})]})}),Ye.jsx("tbody",{children:Ye.jsxs("tr",{children:[Ye.jsx("td",{"data-label":"Account",children:(null==g?void 0:g.length)>0?null==(d=g[0])?void 0:d.AppName:null}),Ye.jsx("td",{"data-label":"Due Date",children:(null==g?void 0:g.length)>0?tA(null==(c=g[0])?void 0:c.PurDate):null}),Ye.jsxs("td",{"data-label":"Period",children:[(null==g?void 0:g.length)>0?tA(null==(u=g[0])?void 0:u.ValidityStart):null," - ",(null==g?void 0:g.length)>0?tA(null==(p=g[0])?void 0:p.ValidityEnd):null]}),Ye.jsxs("td",{"data-label":"Amount",children:["₹",(null==g?void 0:g.length)>0?null==(A=g[0])?void 0:A.NetPrice:null]})]})})]})}),Ye.jsx("hr",{className:"new3"}),Ye.jsx("div",{className:"Pdf-Table-Div",children:Ye.jsx("table",{children:Ye.jsxs("tbody",{children:[Ye.jsxs("tr",{children:[Ye.jsx("th",{children:" "}),Ye.jsx("th",{children:" "}),Ye.jsx("th",{"data-label":"Sub Total",children:"Sub Total"}),Ye.jsxs("td",{children:["₹",(null==g?void 0:g.length)>0?null==(h=g[0])?void 0:h.Price:null]})]}),Ye.jsxs("tr",{children:[Ye.jsx("td",{children:" "}),Ye.jsx("td",{children:" "}),Ye.jsx("th",{"data-label":"Tax",children:"Tax "}),Ye.jsxs("td",{children:["₹",(null==g?void 0:g.length)>0?null==(f=g[0])?void 0:f.TaxAmount:0]})]}),Ye.jsxs("tr",{children:[Ye.jsx("th",{children:" "}),Ye.jsx("th",{children:" "}),Ye.jsx("th",{"data-label":"Total",children:"Total"}),Ye.jsxs("td",{children:["₹",(null==g?void 0:g.length)>0?null==(m=g[0])?void 0:m.NetPrice:null]})]})]})})}),Ye.jsx("hr",{className:"new4"})]})})},access:"Admin"},{path:`${Ofe}public-signup`,component:()=>{const e=um(),t=Qt(),n=a.useRef(null),[i,r]=a.useState(!1),[s,l]=a.useState(""),[o,d]=a.useState(""),[c,u]=a.useState(""),[p,A]=a.useState(""),[h,f]=a.useState(""),[m,v]=a.useState(""),[g,y]=a.useState(""),[x,b]=a.useState(!1),[w,j]=a.useState(!1),[C,S]=a.useState(null),[N,F]=a.useState(!1),[B,P]=a.useState(null),[T,E]=a.useState(null),[D,L]=a.useState(!1),[U,_]=a.useState(!1),[O,M]=a.useState(null);a.useEffect((()=>{if(0===C&&(j(!1),S(null)),!C)return;const e=setInterval((()=>{S(C-1)}),1e3);return()=>clearInterval(e)}),[C]),a.useEffect((()=>{let e=o+""+c+p+h+m+g;6===e.length&&(parseInt(e)===s?H(O):(F(!1),P("warning"),E("please enter valid OTP"),F(!0),setTimeout((()=>{F(!1),P(null),E(null)}),3e3)))}),[o,c,p,h,m,g]);const H=async n=>{var i,a,r;let s=n;const l=await e(wm({MobileNo:s})).unwrap();if(1===(null==(i=null==l?void 0:l.data)?void 0:i.statusCode)){let e=null==(a=null==l?void 0:l.data)?void 0:a.UserId;nA("UserId",e),nA("UserType","Admin"),iA("AppId")?t(`${ED}invoice-detail`):t(`${ED}landing-page/apps`)}else F(!1),P("warning"),E(null==(r=null==l?void 0:l.data)?void 0:r.response),F(!0),setTimeout((()=>{F(!1),P(null),E(null)}),3e3)},V=async(e,t)=>{var n,i,a,r,s,l;switch(e){case"setotp1":await d(null==(n=null==t?void 0:t.target)?void 0:n.value);break;case"setotp2":u(null==(i=null==t?void 0:t.target)?void 0:i.value);break;case"setotp3":A(null==(a=null==t?void 0:t.target)?void 0:a.value);break;case"setotp4":f(null==(r=null==t?void 0:t.target)?void 0:r.value);break;case"setotp5":v(null==(s=null==t?void 0:t.target)?void 0:s.value);break;case"setotp6":await y(null==(l=null==t?void 0:t.target)?void 0:l.value)}},z=e=>{if("Delete"===e.key||"Backspace"===e.key){const t=e.target.tabIndex-2;t>-1&&e.target.form.elements[t].focus()}else{const t=e.target.tabIndex;t<6&&e.target.form.elements[t].focus()}},q=async()=>{b(!0)};return Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{className:"Signup_container",children:[N?Ye.jsx(Qy,{messageType:B,messageData:T}):null,Ye.jsx("div",{className:"Signup_Card",children:Ye.jsxs(R,{children:[Ye.jsxs(Q,{flex:"1 1 100px",children:[Ye.jsxs("div",{className:"Signup_headtexts",children:[Ye.jsxs("a",{onClick:()=>t(`${ED}`),children:[" ",Ye.jsx($,{}),"   Back to Home"]}),Ye.jsx("h5",{className:"Signuptxt1",children:"Welcome to Our POZO"}),Ye.jsxs("p",{className:"Signuptxt2",children:["Explore Free products"," ",Ye.jsxs("a",{style:{fontWeight:"400",fontSize:"14px",color:"gray"},children:["with a new POZO account..."," "]})]}),Ye.jsx("img",{src:"/assets/globe-GIF-source-58d7e5d1.gif",className:"Globegif2"})]}),Ye.jsxs("div",{className:"Signupimgdiv",children:[" ",Ye.jsx("img",{src:"/assets/userreg-eb98e1d2.jpg",className:"Signupimg"})," "]})]}),Ye.jsx(Q,{flex:"1 1 200px",children:Ye.jsx("div",{className:"Signupbg",children:Ye.jsxs(I,{ref:n,onFinish:async t=>{var n,i;d(""),u(""),A(""),f(""),v(""),y(""),S(15),j(!0),L(!0);let a=t.MobileNo;M(t.MobileNo);const s=await e(bm({MobileNo:a})).unwrap();1===(null==(n=null==s?void 0:s.data)?void 0:n.statusCode)?(_(!0),F(!1),P("success"),E("OTP Sended Successfully"),F(!0),setTimeout((()=>{F(!1),P(null),E(null)}),3e3),r(!0),l(null==(i=null==s?void 0:s.data)?void 0:i.OTP)):(F(!1),j(!1),P("warning"),E("OTP Not Sended"),F(!0),setTimeout((()=>{F(!1),P(null),E(null)}),3e3))},children:[Ye.jsx("img",{src:TD,style:{width:"7vh"}}),Ye.jsx("h5",{className:"Signuptxt1",children:"Get Started for Free"}),Ye.jsxs("div",{className:"inputfieldstyle",children:[Ye.jsx(I.Item,{name:"MobileNo",rules:[{required:!0}],children:Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",type:"numeric",onChange:async e=>{var t,n;r(!1),_(!1),l(""),d(""),u(""),A(""),f(""),b(!1),j(!1),10===(null==(t=null==e?void 0:e.target)?void 0:t.value.length)&&(await q(null==(n=null==e?void 0:e.target)?void 0:n.value),await r(!0))},label:"Mobile Number",id:"MobileNo",field:"MobileNo",maxlength:"10",suffix:Ye.jsx(sg,{className:"site-form-item-icon "})})}),!0===i&&!0===U?Ye.jsx(I,{children:Ye.jsxs("div",{className:"otpContainer",children:[Ye.jsxs("h",{className:"timersec",children:[" ",Ye.jsx(nD,{})," ",C," "]}),Ye.jsx("input",{name:"otp1",type:"text",autoComplete:"off",className:"otpInput",value:o,onChange:e=>V("setotp1",e),tabIndex:"1",maxLength:"1",onKeyUp:e=>z(e)}),Ye.jsx("input",{name:"otp2",type:"text",autoComplete:"none",className:"otpInput",value:c,onChange:e=>V("setotp2",e),tabIndex:"2",maxLength:"1",onKeyUp:e=>z(e)}),Ye.jsx("input",{name:"otp3",type:"text",autoComplete:"none",className:"otpInput",value:p,onChange:e=>V("setotp3",e),tabIndex:"3",maxLength:"1",onKeyUp:e=>z(e)}),Ye.jsx("input",{name:"otp4",type:"text",autoComplete:"none",className:"otpInput",value:h,onChange:e=>V("setotp4",e),tabIndex:"4",maxLength:"1",onKeyUp:e=>z(e)}),Ye.jsx("input",{name:"otp5",type:"text",autoComplete:"none",className:"otpInput",value:m,onChange:e=>V("setotp5",e),tabIndex:"5",maxLength:"1",onKeyUp:e=>z(e)}),Ye.jsx("input",{name:"otp6",type:"text",autoComplete:"none",className:"otpInput",value:g,onChange:e=>V("setotp6",e),tabIndex:"6",maxLength:"1",onKeyUp:e=>z(e)})]})}):null,0!=x?Ye.jsx("div",{children:Ye.jsx(Ry,{type:"submit",buttonText:D?"Resend OTP":"Send OTP",disabled:w,icon:Ye.jsx(k,{})})}):null]})]})})}),Ye.jsxs("div",{className:"footertag",children:[" ",Ye.jsx("a",{href:"#!",className:"small text-muted ftrtxt ",children:"@2025, Pozo All Rights Reserved."})]})]})})]})})},access:"Public"},{path:`${Ofe}signinOld`,component:()=>{const e=um(),t=Mt(),n=null==t?void 0:t.state,i=Qt(),r=a.useRef(null),[s,l]=a.useState(null),[o,d]=a.useState(null),[c,u]=a.useState(!1),[p,A]=a.useState("NULL"),[h,f]=a.useState(!1),[m,v]=a.useState(!1),[g,y]=a.useState(""),[x,b]=a.useState(""),[w,C]=a.useState(""),[S,N]=a.useState(""),[F,B]=a.useState(""),[P,T]=a.useState(""),[E,D]=a.useState(!1),[L,U]=a.useState(!1),[_,O]=a.useState(!1),[M,R]=a.useState([]),[Q,H]=a.useState(null),[V,Y]=a.useState(!1),[K,G]=a.useState(!1),[$,X]=a.useState("O"),[J,te]=a.useState(null),[ne,ie]=a.useState(!1),[ae,re]=a.useState(!1),[se,le]=a.useState({type:!1,data:{}}),[oe,de]=a.useState(),ce=Tf(U_),[ue,pe]=a.useState(null),[Ae,he]=a.useState({}),[fe,me]=a.useState(""),[ve,ge]=a.useState("");let ye=[E?{value:"PIN",label:"PIN"}:null,_?{value:"Password",label:"Password"}:null,{value:"OTP",label:"OTP"}];a.useEffect((()=>{be(),async function(){await e(n_()).unwrap()}()}),[]),a.useEffect((()=>{if(0===Q&&H(null),!Q)return;const e=setInterval((()=>{H(Q-1)}),1e3);return()=>clearInterval(e)}),[Q]);const xe=async()=>{let e=localStorage.getItem("device_id");return e||(e=sO(),localStorage.setItem("device_id",e)),e};a.useEffect((()=>{let t=g+""+x+w+S+F+P;6===t.length&&(async(t,n)=>{var i,a,r,s,o;const c=await xe();let p=t;const A=await e(jm({MobileNo:p,OTP:n,IP:ue,Browser:Ae.name,Version:Ae.version,OS:fe,LoginType:ve,AnotherWindow:ne?"Y":"N",deviceId:c,SessionId:ne?"Y":"N"})).unwrap();let h=null==(i=null==A?void 0:A.data)?void 0:i.token;if(de(h),1==(null==(a=null==A?void 0:A.data)?void 0:a.statusCode))if(sessionStorage.setItem("auth",(null==(r=M[0])?void 0:r.token)||oe||h),"N"===$)Fe(J);else{let t=M[0].UserId,n="Y";const i=await e(fm({UserId:t,status:n})).unwrap();1===(null==(s=null==i?void 0:i.data)?void 0:s.statusCode)&&je(M,null==(o=null==i?void 0:i.data)?void 0:o.response,h)}else u(!1),l("warning"),d("please enter valid OTP"),u(!0),setTimeout((()=>{u(!1),l(null),d(null)}),5e3)})(J,parseInt(t))}),[g,x,w,S,F,P]);const be=async()=>{await Ne.get("https://ifconfig.me").then((e=>pe(null==e?void 0:e.data))).catch((e=>{}));const e=t_.getParser(window.navigator.userAgent);he(e.getBrowser()),me(e.getOS().name),ge(e.getPlatform().type)},we=async(e,t)=>{var n,i,a,r,s,l;switch(e){case"setotp1":await y(null==(n=null==t?void 0:t.target)?void 0:n.value);break;case"setotp2":b(null==(i=null==t?void 0:t.target)?void 0:i.value);break;case"setotp3":C(null==(a=null==t?void 0:t.target)?void 0:a.value);break;case"setotp4":N(null==(r=null==t?void 0:t.target)?void 0:r.value);break;case"setotp5":B(null==(s=null==t?void 0:t.target)?void 0:s.value);break;case"setotp6":await T(null==(l=null==t?void 0:t.target)?void 0:l.value)}},je=async(t,a,r)=>{var s,o,c,p,A,h,f,m;nA("SessionId",a),nA("userName",(null==(s=t[0])?void 0:s.UserName)?null==(o=t[0])?void 0:o.UserName:null),sessionStorage.setItem("auth",(null==(c=t[0])?void 0:c.token)||oe||r),nA("UserId",null==(p=t[0])?void 0:p.UserId),nA("UserType",null==(A=t[0])?void 0:A.UserTypeName),nA("CompId",null==(h=t[0])?void 0:h.CompId),nA("CompName",null==(f=t[0])?void 0:f.CompName),nA("MobileNo",null==(m=t[0])?void 0:m.MobileNo),"Super Admin"===t[0].UserTypeName||"Super Admin User"===t[0].UserTypeName?(l("success"),d("Sign In Successfully"),u(!0),setTimeout((()=>{u(!1),l(null),d(null)}),5e3),i(`${AO}landing-page/home`)):"Admin"===t[0].UserTypeName?(async t=>{var a,r,s,o,c,p,A,h,f,m,v;const g=null==n?void 0:n.AppId,y=await e(lw({UserId:t,AppId:g})).unwrap(),x=null==(a=null==y?void 0:y.data)?void 0:a.data,b=await e(Sm({UserId:t})).unwrap();if(l("success"),d("Sign In Successfully"),u(!0),setTimeout((()=>{u(!1),l(null),d(null)}),5e3),iA("AppId"))if("Free"===(null==n?void 0:n.PricingName))if(0===(null==x?void 0:x.length)){let t={UserId:iA("UserId"),AppId:null==n?void 0:n.AppId,PricingId:null==n?void 0:n.PricingId,PurDate:null==n?void 0:n.PurDate,PaymentStatus:null==n?void 0:n.PaymentStatus,LicenseStatus:null==n?void 0:n.LicenseStatus,Price:null==n?void 0:n.Price,ValidityStart:null==n?void 0:n.ValidityStart,ValidityEnd:null==n?void 0:n.ValidityEnd,CreatedBy:iA("UserId")};const a=[];await e(Gb(t)).unwrap(),(1===(null==(r=null==a?void 0:a.data)?void 0:r.statusCode)||2===(null==(s=null==a?void 0:a.data)?void 0:s.statusCode))&&i(`${AO}landing-page/home`)}else u(!1),l("warning"),d("Free Already Used"),u(!0),setTimeout((()=>{u(!1),l(null),d(null),i(`${null==n?void 0:n.locationpathname}`)}),3e3);else{let a={AppId:g,UserId:t,type:"L"};const r=await e(DE(a)).unwrap();let s=null==ce?void 0:ce.filter((e=>(null==e?void 0:e.AppId)===(null==n?void 0:n.AppId))),l=s.length>0&&s[0].AppName;const d=null==x?void 0:x.filter((e=>(null==e?void 0:e.AppName)===l));let u=null==d?void 0:d.filter((e=>"Free"!=e.PricingName));const v=null==u?void 0:u.reduce(((e,t)=>e+t.RemainingDays),0),y=await e(sw({UserId:t,AppId:g})).unwrap(),w=null==(c=null==(o=null==b?void 0:b.data)?void 0:o.data)?void 0:c.map((e=>({...e,Sadmin:"Y"})));i(`${AO}invoice-detail`,{state:{pricingData:null==n?void 0:n.pricingData,PackName:null==n?void 0:n.PackName,purchasedAmt:1==(null==(p=null==b?void 0:b.data)?void 0:p.statusCode)&&(null==(h=null==(A=null==y?void 0:y.data)?void 0:A.data)?void 0:h[0]),differenceDays:v,AppExpDate:d,locationpathname:null==n?void 0:n.locationpathname,Exist:1==(null==(f=null==r?void 0:r.data)?void 0:f.statusCode)&&(null==(m=r.data)?void 0:m.data),SAdmin:!1,UserId:t,lastappPurchase:w}})}else 1===(null==(v=null==b?void 0:b.data)?void 0:v.statusCode)?i(`${AO}landing-page/home`):i(`${AO}landing-page/apps`)})(t[0].UserId):"Employee"===t[0].UserTypeName&&(async t=>{var n,a,r,s,o,c,p,A,h,f,m,v,g,y,x;const b=await e(Cm({UserId:t})).unwrap();if(1===(null==(n=null==b?void 0:b.data)?void 0:n.statusCode))if(l("success"),d("Sign In Successfully"),u(!0),setTimeout((()=>{u(!1),l(null),d(null)}),5e3),1===(null==(r=null==(a=null==b?void 0:b.data)?void 0:a.data)?void 0:r.length)&&(null==(o=null==(s=null==b?void 0:b.data)?void 0:s.data[0])?void 0:o.RemainingDays)>0){let e=null==(p=null==(c=null==b?void 0:b.data)?void 0:c.data[0])?void 0:p.AppUrl;nA("BranchId",null==(h=null==(A=null==b?void 0:b.data)?void 0:A.data[0])?void 0:h.BranchId),nA("CompId",null==(m=null==(f=null==b?void 0:b.data)?void 0:f.data[0])?void 0:m.CompId),nA("AppId",null==(g=null==(v=null==b?void 0:b.data)?void 0:v.data[0])?void 0:g.AppId),nA("AppName",null==(x=null==(y=null==b?void 0:b.data)?void 0:y.data[0])?void 0:x.AppName),i(`${e}`),window.location.reload()}else i(`${AO}landing-page/home`);else u(!1),l("warning"),d("Contact Admin For Access"),u(!0),setTimeout((()=>{u(!1),l(null),d(null),i(`${AO}signin/`),window.location.reload()}),4e3)})(t[0].UserId)},Ce=e=>{if("Delete"!==e.key&&"Backspace"!==e.key||""!==e.target.value){if(/^\d$/.test(e.target.value)){const t=e.target.tabIndex;t<6&&e.target.form.elements[t].focus()}}else{const t=e.target.tabIndex-2;t>-1&&e.target.form.elements[t].focus()}},{Panel:Se}=ee,Ie=async(e,t)=>{var n,i,a,s,l,o;G(!1),A("NULL"),v(!1),Y(!1),null==(n=r.current)||n.setFieldsValue({password:""}),y(""),b(""),C(""),N(""),B(""),T(""),D(!1),U(!1),O(!1),X("O");const d=await xe();/^[0-9]*$/.test(null==(i=null==e?void 0:e.target)?void 0:i.value)&&(10===(null==(s=null==(a=null==e?void 0:e.target)?void 0:a.value)?void 0:s.length)&&t?(te(null==(l=null==e?void 0:e.target)?void 0:l.value),await Be(null==(o=null==e?void 0:e.target)?void 0:o.value,d)):U(!1))},Fe=async t=>{var a,r,s,o,c,p,A;let h=t;const f=await xe(),m=await e(wm({MobileNo:h,deviceId:f})).unwrap();if(1==(null==(a=null==m?void 0:m.data)?void 0:a.statusCode)){let t=null==(r=null==m?void 0:m.data)?void 0:r.UserId,a="Y";const l=await e(fm({UserId:t,status:a})).unwrap();if(1===(null==(s=l.data)?void 0:s.statusCode)&&nA("SessionId",null==(o=l.data)?void 0:o.response),nA("UserId",t),nA("UserType","Admin"),iA("AppId")){if(1===(null==(c=(await e(Nm({AppId:iA("AppId")})).unwrap()).data)?void 0:c.statusCode))if(null!=n&&"Free"==(null==n?void 0:n.PricingName)){let t={UserId:iA("UserId"),AppId:null==n?void 0:n.AppId,PricingId:null==n?void 0:n.PricingId,PurDate:null==n?void 0:n.PurDate,PaymentStatus:null==n?void 0:n.PaymentStatus,LicenseStatus:null==n?void 0:n.LicenseStatus,Price:null==n?void 0:n.Price,ValidityStart:null==n?void 0:n.ValidityStart,ValidityEnd:null==n?void 0:n.ValidityEnd,CreatedBy:iA("UserId")};const a=await e(Gb(t)).unwrap();1===(null==(p=null==a?void 0:a.data)?void 0:p.statusCode)&&i(`${AO}landing-page/home`)}else i(`${AO}invoice-detail`)}else i(`${AO}landing-page/apps`)}else u(!1),l("error"),d(null==(A=null==m?void 0:m.data)?void 0:A.response),u(!0),setTimeout((()=>{u(!1),l(null),d(null)}),4e3)},Be=async(t,n)=>{var i,a,r;A("NULL"),D(!1),O(!0);const s=await e(vm({MobileNo:t,deviceId:n})).unwrap();if(1===(null==(i=null==s?void 0:s.data)?void 0:i.statusCode)){const{AppId:e,CompId:t,BranchId:n,UserId:i,MobileNo:l,ActiveStatus:o,Pin:d,Password:c,SessionId:u}=null==(a=null==s?void 0:s.data)?void 0:a.data[0];if(nA("MobileNo",l),"A"===o){const e="Y"===d?"PIN":"Y"===c?"Password":"NULL";A(e),U(!0),O("Y"===c),D("Y"===d),R(null==(r=null==s?void 0:s.data)?void 0:r.data),ie("Y"===u),v("NULL"===e)}else le({type:!0,data:{AppId:e,CompId:t,BranchId:n,UserId:i}})}else A("NULL"),U(!0),X("N"),v(!0),nA("MobileNo",t)},Pe=e=>/^[6-9]\d{9}$/.test(e)?{valid:!0}:{valid:!1,message:"Invalid mobile number format"};return Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"Sing_bg signinbody",children:Ye.jsxs("div",{className:"Signin_cont",children:[c?Ye.jsx(Qy,{messageType:s,messageData:o}):null,ae&&Ye.jsx(j,{className:"signbodymodal",centered:!0,title:Ye.jsxs("div",{className:"signbodymodal-content",style:{display:"flex",gap:"1rem"},children:[Ye.jsx(Z,{style:{color:"rgb(231 176 12)",fontSize:"30px"}}),Ye.jsx("h3",{style:{color:"#e33333",fontWeight:"700"},children:"Your session is currently active in another window/browser/system"})]}),open:ae,onCancel:()=>{(async()=>{var e;re(!1),await Ie(0),null==(e=r.current)||e.resetFields()})()},maskTransitionName:"",transitionName:""}),se.type&&Ye.jsx(j,{centered:!0,title:Ye.jsx("p",{style:{color:"#e33333",fontWeight:"700"},children:"Access Denied Contact Your Administrator"}),width:700,open:se.type,onCancel:()=>{(async()=>{var e;le({type:!1,data:{}}),await Ie(0),null==(e=r.current)||e.resetFields()})()},children:Ye.jsx(pO,{data:{...se.data}})}),Ye.jsx("div",{className:"signCard",style:{width:"100%"},children:Ye.jsxs("div",{className:"signin_div",children:[Ye.jsxs("div",{className:" loginbg",children:[iA("AppName")?Ye.jsxs("div",{className:"signinhdtxt",children:[Ye.jsx("img",{src:TD,onClick:()=>i(`${AO}`),style:{width:"7vh",cursor:"pointer"}}),Ye.jsx("a",{style:{fontFamily:"Poppins ",fontSize:"12px",textTransform:"uppercase",fontWeight:"600",color:"#000"},children:iA("AppName")})]}):Ye.jsx("img",{src:TD,onClick:()=>i(`${AO}`),style:{width:"7vh",cursor:"pointer"}}),Ye.jsxs("div",{className:"signintxts",children:[Ye.jsx("h5",{className:"logintxt1",children:"Sign In"}),Ye.jsx("p",{className:"logintxt2",children:"Initiate Your Billing Journey with POZO Software"})]}),Ye.jsx(I,{ref:r,onFinish:async t=>{var n,i,a,r,s;const o=await xe();if(m)(async t=>{var n,i;y(""),b(""),C(""),N(""),B(""),T(""),H(30),G(!0);let a=t.MobileNo;if("N"===$)var r=await e(bm({MobileNo:a})).unwrap();else r=await e(xm({MobileNo:a})).unwrap();1===(null==(n=null==r?void 0:r.data)?void 0:n.statusCode)?(l("success"),d("OTP Sended Successfully"),u(!0),Y(!0),setTimeout((()=>{u(!1),l(null),d(null)}),5e3),u(!1),v(!0)):(u(!1),l("warning"),d(null==(i=null==r?void 0:r.data)?void 0:i.response),u(!0),setTimeout((()=>{u(!1),l(null),d(null)}),5e3))})(t);else{let A=t.MobileNo,h=t.password;if("PIN"===p){let t=h;var c=await e(ym({MobileNo:A,Pin:t,IP:ue,Browser:Ae.name,Version:Ae.version,OS:fe,LoginType:ve,AnotherWindow:ne?"Y":"N",deviceId:o,SessionId:ne?"Y":"N"})).unwrap()}else c=await e(gm({MobileNo:A,Password:h,IP:ue,Browser:Ae.name,Version:Ae.version,OS:fe,LoginType:ve,AnotherWindow:ne?"Y":"N",deviceId:o,SessionId:ne?"Y":"N"})).unwrap();if(1===(null==(n=null==c?void 0:c.data)?void 0:n.statusCode)){R(null==(i=null==c?void 0:c.data)?void 0:i.data);let t=null==(a=null==c?void 0:c.data)?void 0:a.data;if(ne)re(!0);else{let n=t[0].UserId,i="Y";const a=await e(fm({UserId:n,status:i})).unwrap();1==(null==(r=null==a?void 0:a.data)?void 0:r.statusCode)&&(R(t),await je(t,null==(s=null==a?void 0:a.data)?void 0:s.response))}}else u(!1),l("warning"),d("Enter Valid "+p),u(!0),setTimeout((()=>{u(!1),l(null),d(null)}),5e3)}},children:Ye.jsxs("div",{className:"inputfieldstyle",children:[Ye.jsx(I.Item,{name:"MobileNo",rules:[{validator:(e,t)=>{if(!t)return Promise.reject("Please enter your mobile number");return Pe(t).valid?Promise.resolve():Promise.reject("Please enter Valid mobile number")}}],children:Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autoComplete:"off",label:"Mobile Number",id:"MobileNo",field:"MobileNo",maxLength:"10",inputMode:"numeric",suffix:Ye.jsx(sg,{className:"site-form-item-icon "}),onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,""),onChange:e=>{const t=e.target.value,n=Pe(t);Ie(e,n.valid)}})}),"NULL"!=p&&"OTP"!=p?Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"password",rules:[{required:!0,message:"Please Enter "+p},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{className:"inputfieldstyle2",inputMode:"PIN"===p&&"numeric",name:"password",fieldState:!0,fieldApi:!0,maxLength:"PIN"===p&&"4",type:h?"text":"password",label:"Enter "+p,field:"Password",id:"password",suffix:Ye.jsx(Ye.Fragment,{children:h?Ye.jsx(q,{onClick:()=>{f(!1)}}):Ye.jsx(W,{onClick:()=>{f(!0)}})}),onInput:e=>"PIN"===p&&(e.target.value=e.target.value.replace(/[^0-9]/g,""))})})}):null,!0===m&&!0===V?Ye.jsx(I,{children:Ye.jsxs("div",{className:"otpContainer",children:[Ye.jsx("input",{name:"otp1",type:"text",autoComplete:"off",className:"otpInput",value:g,onChange:e=>we("setotp1",e),tabIndex:"1",maxLength:"1",onKeyUp:e=>Ce(e),inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")}),Ye.jsx("input",{name:"otp2",type:"text",autoComplete:"none",className:"otpInput",value:x,onChange:e=>we("setotp2",e),tabIndex:"2",maxLength:"1",onKeyUp:e=>Ce(e),inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")}),Ye.jsx("input",{name:"otp3",type:"text",autoComplete:"none",className:"otpInput",value:w,onChange:e=>we("setotp3",e),tabIndex:"3",maxLength:"1",onKeyUp:e=>Ce(e),inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")}),Ye.jsx("input",{name:"otp4",type:"text",autoComplete:"none",className:"otpInput",value:S,onChange:e=>we("setotp4",e),tabIndex:"4",maxLength:"1",onKeyUp:e=>Ce(e),inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")}),Ye.jsx("input",{name:"otp5",type:"text",autoComplete:"none",className:"otpInput",value:F,onChange:e=>we("setotp5",e),tabIndex:"5",maxLength:"1",onKeyUp:e=>Ce(e),inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")}),Ye.jsx("input",{name:"otp6",type:"text",autoComplete:"none",className:"otpInput",value:P,onChange:e=>we("setotp6",e),tabIndex:"6",maxLength:"1",onKeyUp:e=>Ce(e),inputMode:"numeric",onInput:e=>e.target.value=e.target.value.replace(/[^0-9]/g,"")})]})}):null,!1===m&&"NULL"!=p?Ye.jsx("div",{className:"Signinbtn",children:Ye.jsx(Ry,{type:"submit",buttonText:"Sign In",icon:Ye.jsx(k,{})})}):0!=L?Ye.jsxs("div",{className:"timersecdiv",children:[K&&null!=Q?Ye.jsxs("div",{className:"timersecsubdiv",children:[Ye.jsx("div",{children:Ye.jsx(z,{})}),Ye.jsxs("div",{style:{color:Q<=10?"#FF4D4F":"#52C41A"},children:["0 : ",Q<10?"0"+Q:Q," "]})]}):K?Ye.jsx(Ry,{type:"submit",buttonText:"Resend OTP",icon:Ye.jsx(k,{})}):"",!K&&Ye.jsx(Ry,{type:"submit",buttonText:"Send OTP",icon:Ye.jsx(k,{})})]}):null]})}),Ye.jsxs("div",{className:"txt6",style:{margin:"2rem 0rem"},children:["NULL"!=p?Ye.jsx(ee,{children:Ye.jsx(Se,{header:"Try Another Way",children:Ye.jsx(fk,{content:ye.filter((e=>null!=e)),fieldState:!0,defaultSelect:p,onSelectFuntion:e=>(e=>{A(e),v("OTP"===e)})(e)})},"1")}):null,Ye.jsx("p",{href:"#!",className:"txt5",children:"@2025, Pozo All Rights Reserved."})]})]}),Ye.jsx("div",{children:Ye.jsxs("div",{className:"imgcrsl",children:[" ",Ye.jsx(HU,{})," "]})})]})})]})})})},access:"Public"},{path:`${Ofe}signin`,component:()=>{const e=Qt(),t=Mt(),n=um(),i=null==t?void 0:t.state,r=Tf(U_),[s,l]=a.useState(!0),[o,d]=a.useState("PIN"),[c,u]=a.useState(!1),[p,A]=a.useState(""),[h,f]=a.useState(""),[m,v]=a.useState(!1),[g,y]=a.useState(""),[x,b]=a.useState(""),[w,C]=a.useState(""),[S,N]=a.useState(""),[I,F]=a.useState(""),[B,P]=a.useState(""),[k,T]=a.useState(null),[E,D]=a.useState("NULL"),[L,U]=a.useState(!1),[_,O]=a.useState(!1),[M,R]=a.useState(!1),[Q,H]=a.useState([]),[V,z]=a.useState("O"),[q,W]=a.useState(null),[Y,K]=a.useState(!1),[G,$]=a.useState(!1),[X,J]=a.useState({type:!1,data:{}}),[ee,te]=a.useState(),[ne,ie]=a.useState({show:!1,type:"",message:""}),[ae,re]=a.useState(null),[se,le]=a.useState({}),[oe,de]=a.useState(""),[ce,ue]=a.useState(""),[pe,Ae]=a.useState(!1),[he,fe]=a.useState(!1);a.useEffect((()=>{const e=setTimeout((()=>{l(!1)}),300);return ve(),(async()=>{await n(n_()).unwrap()})(),()=>clearTimeout(e)}),[]),a.useEffect((()=>{(async()=>{var e,t,i,a,r,s,l;try{const o=await n(HP({TypeName:"SEO"})).unwrap();if(1===(null==(e=null==o?void 0:o.data)?void 0:e.statusCode)){const e=null==(a=null==(i=null==(t=null==o?void 0:o.data)?void 0:t.data)?void 0:i.find((e=>"signin"===e.ConfigName)))?void 0:a.ConfigId;if(!e)return;const d=await n(CU({PageId:e})).unwrap();if(1===(null==(r=null==d?void 0:d.data)?void 0:r.statusCode)&&(null==(l=null==(s=null==d?void 0:d.data)?void 0:s.data)?void 0:l.length)>0){const e=d.data.data[0];setSeoData({metaTitle:null==e?void 0:e.MetaTitle,metaDescription:null==e?void 0:e.MetaDesc,keywords:null==e?void 0:e.Keywords,imageAltText:null==e?void 0:e.ImgAltText})}}}catch(o){}})()}),[n]);const me=async()=>{let e=localStorage.getItem("device_id");return e||(e=sO(),localStorage.setItem("device_id",e)),e};a.useEffect((()=>{const e=g+x+w+S+I+B;6===e.length&&(async(e,t)=>{var i,a,r,s,l;const o=await me(),d=await n(jm({MobileNo:e,OTP:t,IP:ae,Browser:se.name,Version:se.version,OS:oe,LoginType:ce,AnotherWindow:Y?"Y":"N",deviceId:o,SessionId:Y?"Y":"N"})).unwrap();let c=null==(i=null==d?void 0:d.data)?void 0:i.token;if(te(c),1===(null==(a=null==d?void 0:d.data)?void 0:a.statusCode))if(sessionStorage.setItem("auth",(null==(r=Q[0])?void 0:r.token)||ee||c),"N"===V)Se(q);else{let e=Q[0].UserId,t="Y";const i=await n(fm({UserId:e,status:t})).unwrap();1===(null==(s=null==i?void 0:i.data)?void 0:s.statusCode)&&Ie(Q,null==(l=null==i?void 0:i.data)?void 0:l.response,c)}else xe("error","Please enter valid OTP")})(q,parseInt(e))}),[g,x,w,S,I,B]);const ve=async()=>{try{const e=await Ne.get("https://ifconfig.me");re(null==e?void 0:e.data)}catch(t){}const e=t_.getParser(window.navigator.userAgent);le(e.getBrowser()),de(e.getOS().name),ue(e.getPlatform().type)},ge=()=>{e(`${rte}`)},ye=e=>/^[6-9]\d{9}$/.test(e),xe=(e,t)=>{ie({show:!0,type:e,message:t}),setTimeout((()=>{ie({show:!1,type:"",message:""})}),4e3)},be=()=>{D("NULL"),U(!1),O(!1),R(!1),z("O"),Ae(!1),v(!1),fe(!1)},we=async(e,t)=>{var i,a,r;D("NULL"),U(!1),O(!1);const s=await n(vm({MobileNo:e,deviceId:t})).unwrap();if(1===(null==(i=null==s?void 0:s.data)?void 0:i.statusCode)){const{AppId:e,CompId:t,BranchId:n,UserId:i,MobileNo:l,ActiveStatus:o,Pin:c,Password:u,SessionId:p}=null==(a=null==s?void 0:s.data)?void 0:a.data[0];if(nA("MobileNo",l),"A"===o){const e="Y"===c?"PIN":"Y"===u?"Password":"NULL";D(e),d("NULL"===e?"OTP":e),R(!0),O("Y"===u),U("Y"===c),H(null==(r=null==s?void 0:s.data)?void 0:r.data),K("Y"===p),Ae("NULL"===e)}else J({type:!0,data:{AppId:e,CompId:t,BranchId:n,UserId:i}})}else D("NULL"),R(!0),z("N"),Ae(!0),d("OTP"),nA("MobileNo",e)},je=e=>{d(e),"OTP"===e?(Ae(!0),v(!1)):(Ae(!1),v(!1))},Ce=async()=>{p&&ye(p)?pe||"OTP"===o?await(async()=>{var e,t;let i;y(""),b(""),C(""),N(""),F(""),P(""),T(30),fe(!0),v(!0),i="N"===V?await n(bm({MobileNo:p})).unwrap():await n(xm({MobileNo:p})).unwrap(),1===(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)?(xe("success","OTP Sent Successfully"),Ae(!0)):xe("error",null==(t=null==i?void 0:i.data)?void 0:t.response)})():await(async()=>{var e,t,i,a,r;if(!h)return void xe("error",`Please enter ${o}`);const s=await me();let l;if(l="PIN"===o?await n(ym({MobileNo:p,Pin:h,IP:ae,Browser:se.name,Version:se.version,OS:oe,LoginType:ce,AnotherWindow:Y?"Y":"N",deviceId:s,SessionId:Y?"Y":"N"})).unwrap():await n(gm({MobileNo:p,Password:h,IP:ae,Browser:se.name,Version:se.version,OS:oe,LoginType:ce,AnotherWindow:Y?"Y":"N",deviceId:s,SessionId:Y?"Y":"N"})).unwrap(),1===(null==(e=null==l?void 0:l.data)?void 0:e.statusCode)){H(null==(t=null==l?void 0:l.data)?void 0:t.data);let e=null==(i=null==l?void 0:l.data)?void 0:i.data;if(Y)$(!0);else{let t=e[0].UserId,i="Y";const s=await n(fm({UserId:t,status:i})).unwrap();1===(null==(a=null==s?void 0:s.data)?void 0:a.statusCode)&&(H(e),await Ie(e,null==(r=null==s?void 0:s.data)?void 0:r.response))}}else xe("error",`Enter Valid ${o}`)})():xe("error","Please enter a valid mobile number")};a.useEffect((()=>{if(0===k&&T(null),!k)return;const e=setInterval((()=>{T(k-1)}),1e3);return()=>clearInterval(e)}),[k]);const Se=async t=>{var a,r,s,l,o,d,c;const u=await me(),p=await n(wm({MobileNo:t,deviceId:u})).unwrap();if(1===(null==(a=null==p?void 0:p.data)?void 0:a.statusCode)){let t=null==(r=null==p?void 0:p.data)?void 0:r.UserId,a="Y";const c=await n(fm({UserId:t,status:a})).unwrap();if(1===(null==(s=c.data)?void 0:s.statusCode)&&nA("SessionId",null==(l=c.data)?void 0:l.response),nA("UserId",t),nA("UserType","Admin"),iA("AppId")){if(1===(null==(o=(await n(Nm({AppId:iA("AppId")})).unwrap()).data)?void 0:o.statusCode))if("Free"===(null==i?void 0:i.PricingName)){let t={UserId:iA("UserId"),AppId:null==i?void 0:i.AppId,PricingId:null==i?void 0:i.PricingId,PurDate:null==i?void 0:i.PurDate,PaymentStatus:null==i?void 0:i.PaymentStatus,LicenseStatus:null==i?void 0:i.LicenseStatus,Price:null==i?void 0:i.Price,ValidityStart:null==i?void 0:i.ValidityStart,ValidityEnd:null==i?void 0:i.ValidityEnd,CreatedBy:iA("UserId")};const a=await n(Gb(t)).unwrap();1===(null==(d=null==a?void 0:a.data)?void 0:d.statusCode)&&e(`${rte}landing-page/home`)}else e(`${rte}invoice-detail`)}else e(`${rte}landing-page/apps`)}else xe("error",null==(c=null==p?void 0:p.data)?void 0:c.response)},Ie=async(t,a,s)=>{var l,o,d,c,u,p,A;nA("SessionId",a),nA("userName",(null==(l=t[0])?void 0:l.UserName)||null),sessionStorage.setItem("auth",(null==(o=t[0])?void 0:o.token)||ee||s),nA("UserId",null==(d=t[0])?void 0:d.UserId),nA("UserType",null==(c=t[0])?void 0:c.UserTypeName),nA("CompId",null==(u=t[0])?void 0:u.CompId),nA("CompName",null==(p=t[0])?void 0:p.CompName),nA("MobileNo",null==(A=t[0])?void 0:A.MobileNo),"Super Admin"===t[0].UserTypeName||"Super Admin User"===t[0].UserTypeName?(xe("success","Sign In Successfully"),e(`${rte}landing-page/home`)):"Admin"===t[0].UserTypeName?(async t=>{var a,s,l,o,d,c,u,p,A;const h=null==i?void 0:i.AppId,f=await n(lw({UserId:t,AppId:h})).unwrap(),m=null==(a=null==f?void 0:f.data)?void 0:a.data,v=await n(Sm({UserId:t})).unwrap();if(xe("success","Sign In Successfully"),iA("AppId"))if("Free"===(null==i?void 0:i.PricingName))if(0===(null==m?void 0:m.length)){let t={UserId:iA("UserId"),AppId:null==i?void 0:i.AppId,PricingId:null==i?void 0:i.PricingId,PurDate:null==i?void 0:i.PurDate,PaymentStatus:null==i?void 0:i.PaymentStatus,LicenseStatus:null==i?void 0:i.LicenseStatus,Price:null==i?void 0:i.Price,ValidityStart:null==i?void 0:i.ValidityStart,ValidityEnd:null==i?void 0:i.ValidityEnd,CreatedBy:iA("UserId")};await n(Gb(t)).unwrap(),e(`${rte}landing-page/home`)}else xe("warning","Free Already Used"),setTimeout((()=>{e(`${null==i?void 0:i.locationpathname}`)}),3e3);else{let a={AppId:h,UserId:t,type:"L"};const A=await n(DE(a)).unwrap();let f=null==r?void 0:r.filter((e=>(null==e?void 0:e.AppId)===(null==i?void 0:i.AppId))),g=f.length>0&&f[0].AppName;const y=null==m?void 0:m.filter((e=>(null==e?void 0:e.AppName)===g));let x=null==y?void 0:y.filter((e=>"Free"!==e.PricingName));const b=null==x?void 0:x.reduce(((e,t)=>e+t.RemainingDays),0),w=await n(sw({UserId:t,AppId:h})).unwrap(),j=null==(l=null==(s=null==v?void 0:v.data)?void 0:s.data)?void 0:l.map((e=>({...e,Sadmin:"Y"})));e(`${rte}invoice-detail`,{state:{pricingData:null==i?void 0:i.pricingData,PackName:null==i?void 0:i.PackName,purchasedAmt:1==(null==(o=null==v?void 0:v.data)?void 0:o.statusCode)&&(null==(c=null==(d=null==w?void 0:w.data)?void 0:d.data)?void 0:c[0]),differenceDays:b,AppExpDate:y,locationpathname:null==i?void 0:i.locationpathname,Exist:1==(null==(u=null==A?void 0:A.data)?void 0:u.statusCode)&&(null==(p=A.data)?void 0:p.data),SAdmin:!1,UserId:t,lastappPurchase:j}})}else 1===(null==(A=null==v?void 0:v.data)?void 0:A.statusCode)?e(`${rte}landing-page/home`):e(`${rte}landing-page/apps`)})(t[0].UserId):"Employee"===t[0].UserTypeName?(async t=>{var i,a,r,s,l,o,d,c,u,p,A,h,f,m,v;const g=await n(Cm({UserId:t})).unwrap();if(1===(null==(i=null==g?void 0:g.data)?void 0:i.statusCode))if(xe("success","Sign In Successfully"),1===(null==(r=null==(a=null==g?void 0:g.data)?void 0:a.data)?void 0:r.length)&&(null==(l=null==(s=null==g?void 0:g.data)?void 0:s.data[0])?void 0:l.RemainingDays)>0){let t=null==(d=null==(o=null==g?void 0:g.data)?void 0:o.data[0])?void 0:d.AppUrl;nA("BranchId",null==(u=null==(c=null==g?void 0:g.data)?void 0:c.data[0])?void 0:u.BranchId),nA("CompId",null==(A=null==(p=null==g?void 0:g.data)?void 0:p.data[0])?void 0:A.CompId),nA("AppId",null==(f=null==(h=null==g?void 0:g.data)?void 0:h.data[0])?void 0:f.AppId),nA("AppName",null==(v=null==(m=null==g?void 0:g.data)?void 0:m.data[0])?void 0:v.AppName),e(`${t}`),window.location.reload()}else e(`${rte}landing-page/home`);else xe("warning","Contact Admin For Access"),setTimeout((()=>{e(`${rte}signin/`),window.location.reload()}),4e3)})(t[0].UserId):"Marketing"===t[0].UserTypeName&&(xe("success","Admin access granted"),e(`${rte}adminpanel`))};if(s)return Ye.jsx(Q6,{});if(s)return Ye.jsx(Q6,{});const Fe=(()=>{try{const e=localStorage.getItem("seo_signin");return e?JSON.parse(e):{}}catch(e){return{}}})();return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(bU,{title:Fe.metaTitle||"Signin to PozoApp - Access Your Business Dashboard",description:Fe.metaDescription||"Sign in to your PozoApp account to manage your business operations, view reports, and access all features.",keywords:Fe.keywords||"PozoApp Signin, business dashboard, user account, sign in",url:`${rte}signin`,image:Fe.imageAltText||"../../../public/og/Signin-og.jpg",type:"website",noindex:!0}),Ye.jsxs("div",{className:"SignIn-Master",children:[Ye.jsxs("div",{className:"SignInMain",children:[Ye.jsxs("div",{className:"SignInContent",children:[Ye.jsx("img",{src:ate,alt:"pozoAppLogo",width:120,onClick:ge}),Ye.jsxs("div",{className:"promotionText",children:[Ye.jsxs("div",{children:["Have it all, ",Ye.jsx("br",{}),"your way"]}),Ye.jsxs("p",{children:["All-in-one platform designed to centralize, automate, and ",Ye.jsx("br",{})," ","unlock limitless business potential."]})]})]}),Ye.jsxs("div",{className:"SignInInputs",children:[Ye.jsx("div",{className:"signinClose",onClick:ge,children:Ye.jsx(ey,{strokeWidth:.1})}),Ye.jsxs("div",{className:"inputsTitle",children:[Ye.jsx("img",{className:"whitelogoPng",src:ate,alt:"",onClick:ge}),Ye.jsx("div",{children:"Welcome PozoApp"}),Ye.jsx("p",{children:"Take charge of your world with Pozo."})]}),Ye.jsxs("div",{className:"InputSigin",children:[Ye.jsx("label",{htmlFor:"Mobile",children:"Mobile"}),Ye.jsx("input",{type:"text",placeholder:"Enter Mobile Number",value:p,onChange:async e=>{u(!1),y(""),b(""),C(""),N(""),F(""),P(""),U(!1),A(!1),f(null);const t=e.target.value.replace(/[^0-9]/g,"");if(t.length<=10)if(A(t),10===t.length&&ye(t)){W(t);const e=await me();await we(t,e)}else be()},maxLength:"10"})]}),"NULL"!==E&&"OTP"!==E&&!pe&&Ye.jsxs("div",{className:"InputSigin",children:[Ye.jsx("label",{htmlFor:"auth",children:o}),Ye.jsx("input",{type:"password",placeholder:"PIN"===o?"Enter PIN":"Enter Password",value:h,onChange:e=>{let t=e.target.value;"PIN"===o?(t=t.replace(/[^0-9]/g,""),t.length<=4&&f(t)):f(t)},onKeyDown:e=>{"Enter"===e.key&&h&&Ce()},maxLength:"PIN"===o?"4":void 0})]}),m&&he&&Ye.jsxs("div",{className:"InputSigin",children:[Ye.jsx("label",{htmlFor:"otp",children:"Enter OTP"}),Ye.jsx("div",{className:"otpContainer",children:Ye.jsx("input",{type:"text",className:"otpInput1",maxLength:"6",placeholder:"Enter 6 digit OTP",value:g+x+w+S+I+B,onChange:e=>{const t=e.target.value.replace(/[^0-9]/g,"");t.length<=6&&(y(t[0]||""),b(t[1]||""),C(t[2]||""),N(t[3]||""),F(t[4]||""),P(t[5]||""))},onKeyDown:e=>{"Enter"===e.key&&6===(g+x+w+S+I+B).length&&Ce()}})})]}),"NULL"!==E&&Ye.jsxs("div",{className:"anotherWay",children:[Ye.jsxs("div",{onClick:()=>u(!c),children:["Try Another Way ",Ye.jsx(Jm,{size:10})]}),c&&Ye.jsxs("div",{className:"authOptions",children:[L&&Ye.jsxs("label",{children:[Ye.jsx("input",{type:"radio",name:"authMethod",value:"PIN",checked:"PIN"===o,onChange:e=>je(e.target.value)}),"PIN"]}),_&&Ye.jsxs("label",{children:[Ye.jsx("input",{type:"radio",name:"authMethod",value:"Password",checked:"Password"===o,onChange:e=>je(e.target.value)}),"Password"]}),Ye.jsxs("label",{children:[Ye.jsx("input",{type:"radio",name:"authMethod",value:"OTP",checked:"OTP"===o,onChange:e=>je(e.target.value)}),"OTP"]})]})]}),k&&Ye.jsx("div",{className:"timerDiv",children:Ye.jsxs("span",{style:{color:k<=10?"#FF4D4F":"#52C41A"},children:["0:",k<10?"0"+k:k]})}),M&&Ye.jsxs("button",{className:"NewSignInBTN",onClick:Ce,children:[Ye.jsx("div",{}),m&&null===k?"RESEND OTP":pe?"SEND OTP":"SIGN IN",Ye.jsxs("div",{className:"icon-container",children:[Ye.jsx(eg,{className:"icon-main"}),Ye.jsx(eg,{className:"icon-hover"})]})]})]})]}),G&&Ye.jsx(j,{centered:!0,title:Ye.jsxs("div",{style:{display:"flex",gap:"1rem"},children:[Ye.jsx(Z,{style:{color:"rgb(231 176 12)",fontSize:"30px"}}),Ye.jsx("h3",{style:{color:"#e33333",fontWeight:"700",fontSize:"20px"},children:"Your session is currently active in another window/browser/system"})]}),open:G,onCancel:async()=>{$(!1),be(),A(""),f("")},footer:null}),X.type&&Ye.jsx(j,{centered:!0,title:Ye.jsx("p",{style:{color:"#e33333",fontWeight:"700"},children:"Access Denied Contact Your Administrator"}),width:700,open:X.type,onCancel:async()=>{J({type:!1,data:{}}),be(),A(""),f("")},footer:null}),ne.show&&Ye.jsx("div",{className:`notification ${ne.type}`,style:{position:"fixed",top:"45px",right:"22%",padding:"8px 20px",borderRadius:"6px",color:"#fff",fontSize:"14px",fontSize:"14px",fontFamily:"Poppins, sans-serif",zIndex:9999,backgroundColor:"success"===ne.type?"#44cc00ff":"error"===ne.type?"#e60004ff":"warning"===ne.type?"#ee9f00ff":"#0076e4ff",fontWeight:"400"},children:ne.message})]})]})},access:"Public"},{path:`${Ofe}payment-pdf`,component:()=>{const e=um(),t=Qt(),n=window.location.href;var i=new URL(n).searchParams.get("paymentId");const[r,s]=a.useState(i||null),[l,o]=a.useState([]),[d,c]=a.useState(null),[u,p]=a.useState(null);a.useEffect((()=>{A()}),[]);const A=async()=>{var n,i,a;let s=await e(TM(r)).unwrap();1===(null==(n=null==s?void 0:s.data)?void 0:n.statusCode)&&("S"===(null==(i=null==s?void 0:s.data)?void 0:i.data[0].PaymentStatus)?o(null==(a=null==s?void 0:s.data)?void 0:a.data[0]):(c("error"),p("Sorry, No details found"),t("/")))},h=a.useCallback((()=>{p(null),c(null)}),[]);return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:d,messageData:u,onComplete:h}),Ye.jsxs("div",{className:"Pdf-body",id:"Pdfbody",children:[Ye.jsxs("div",{className:"Pdf-Div",children:[Ye.jsxs("div",{className:"Pdf-head-div",children:[Ye.jsx("img",{src:cE,style:{width:"50px",height:"70px"}}),Ye.jsxs("div",{children:[Ye.jsx("p",{className:"Pdf-head",children:" Invoices "}),Ye.jsx("p",{children:"Pozomind Technologies Private Limited"})]}),Ye.jsx("span",{className:"square"})]}),Ye.jsxs("div",{className:"Pdf-amt-details",children:[Ye.jsxs("p",{children:[" Invoice Number : ",Ye.jsxs("span",{className:"Pdf-amt-digit",children:[" ",l?null==l?void 0:l.UniqueId:null," "]})," "]}),Ye.jsxs("p",{children:[" Amount: ",Ye.jsxs("span",{className:"Pdf-amt-digit",children:["₹ ",l?null==l?void 0:l.NetPrice:0," "]})," "]})]}),Ye.jsxs("div",{className:"Pdf-amt-details",children:[Ye.jsxs("p",{children:[" Payment Method : ",Ye.jsxs("span",{className:"Pdf-amt-digit",children:[" ",l?l.PaymentModeName:null," "]})]}),Ye.jsxs("p",{children:[" Date : ",Ye.jsxs("span",{className:"Pdf-amt-digit",children:[" ",l?tA(l.PurDate):null," "]})," "]})]})]}),Ye.jsx("div",{className:"Pdf-Cont-Div",children:Ye.jsxs("div",{className:"Pdf-cont",children:[Ye.jsxs("div",{className:"Pdf-cont-txt",children:[Ye.jsx("p",{className:"Pdf-cont-subhead",children:" Billed From"}),Ye.jsxs("p",{className:"Pdf-cont-text",children:["Pozomind Technologies Private Limited",Ye.jsx("p",{children:"Phone : 7324000011"})]})]}),Ye.jsxs("div",{className:"Pdf-cont-txt",children:[Ye.jsx("p",{className:"Pdf-cont-subhead",children:" Billed To "}),Ye.jsxs("p",{className:"Pdf-cont-text",children:[l?null!=l.UserName?l.UserName:l.MobileNo:"hh",",",Ye.jsx("br",{}),Ye.jsx("p",{className:"Pdf-cont-text",children:null}),null," ",null," ",null,Ye.jsxs("p",{children:["Phone : ",l?l.MobileNo:null]})]})]})]})}),Ye.jsx("hr",{className:"new3"}),Ye.jsx("div",{className:"Pdf-Table-Div",children:Ye.jsxs("table",{children:[Ye.jsx("caption",{children:"Statement Summary"}),Ye.jsx("thead",{children:Ye.jsxs("tr",{children:[Ye.jsx("th",{scope:"col",children:"Description"}),Ye.jsx("th",{scope:"col",children:"Purchase Date"}),Ye.jsx("th",{scope:"col",children:"Period"}),Ye.jsx("th",{scope:"col",children:"Amount"})]})}),Ye.jsx("tbody",{children:Ye.jsxs("tr",{children:[Ye.jsx("td",{"data-label":"Account",children:l?l.AppName:null}),Ye.jsx("td",{"data-label":"Due Date",children:l?tA(l.PurDate):null}),Ye.jsxs("td",{"data-label":"Period",children:[l?tA(l.ValidityStart):null," - ",l?tA(l.ValidityEnd):null]}),Ye.jsxs("td",{"data-label":"Amount",children:["₹",l?l.NetPrice:0]})]})})]})}),Ye.jsx("hr",{className:"new3"}),Ye.jsx("div",{className:"Pdf-Table-Div",children:Ye.jsx("table",{children:Ye.jsxs("tbody",{children:[Ye.jsxs("tr",{children:[Ye.jsx("th",{children:" "}),Ye.jsx("th",{children:" "}),Ye.jsx("th",{"data-label":"Sub Total",children:"Sub Total"}),Ye.jsxs("td",{children:["₹",l?l.Price:0]})]}),Ye.jsxs("tr",{children:[Ye.jsx("td",{children:" "}),Ye.jsx("td",{children:" "}),Ye.jsx("th",{"data-label":"Tax",children:"Tax "}),Ye.jsxs("td",{children:["₹",l?l.TaxAmount:0]})]}),Ye.jsxs("tr",{children:[Ye.jsx("th",{children:" "}),Ye.jsx("th",{children:" "}),Ye.jsx("th",{"data-label":"Total",children:"Total"}),Ye.jsxs("td",{children:["₹",l?l.NetPrice:0]})]})]})})}),Ye.jsx("hr",{className:"new4"})]})]})},access:"Admin"},{path:`${Ofe}pricing-details`,component:()=>{const[e,t]=a.useState("Y"),[n,i]=a.useState(null),[r,s]=a.useState(null),o=Qt(),d=um(),c=Tf((e=>e.pricingType.PricingType)),u=iA("AppId"),p=iA("UserId"),A=a.useCallback((()=>{s(null),i(null)}),[]);a.useEffect((()=>{d(Wb({toggleValue:e,AppId:u,UserId:p}))}),[e,u,p,d]);const h=()=>{o(`${DM}landing-page/home`),window.location.reload()},f=()=>{o(`${DM}signin`),window.location.reload()},m=a.useCallback((e=>{nA("AppId",e.AppId),nA("AppName",e.AppName),nA("PricingId",e.PricingId),iA("UserId")?o(`${DM}invoice-detail`):o(`${DM}public-signup`)}),[]);return Ye.jsxs("div",{className:"pricing",children:[Ye.jsx(Qy,{messageType:n,messageData:r,onComplete:A}),Ye.jsxs("div",{children:[Ye.jsx("p",{children:"PRICING"}),Ye.jsx("div",{className:"pricingtext",children:Ye.jsx("p",{children:"Simple, transparent pricing"})}),Ye.jsxs("div",{className:"pricingtoggle",children:[Ye.jsx("div",{className:"pricingsubtext",children:Ye.jsxs("p",{children:["Choose the package that suits you.",Ye.jsx("span",{children:"No Contracts. No surprise fees."})," "]})}),Ye.jsxs("div",{className:"subtoggle",children:[Ye.jsxs("div",{className:"monthtext",children:["Monthly ",Ye.jsx(Hy,{defaultChecked:!0,functionName:e=>{const n=e?"Y":"M";t(n),d(Wb({toggleValue:n,AppId:u,UserId:p}))}})]}),Ye.jsxs("div",{className:"yeartext",children:["Yearly",Ye.jsx("button",{className:"discountdiv",children:" 10% Discount "})]})]})]}),Ye.jsx("div",{className:"sliderdiv"}),Ye.jsx("div",{className:"pricingcont",children:Ye.jsx("div",{children:Ye.jsx("div",{className:"pricingdiv",children:Ye.jsxs("div",{className:"pricingcardsdiv",children:[null==c?void 0:c.map(((e,t)=>{var n;return"FEATURENAME"===e.PricingName.toUpperCase()&&Ye.jsxs("div",{className:"pricingcardsFeature",children:[Ye.jsx("div",{className:"pricingname",children:Ye.jsx("p",{children:e.PricingName.toUpperCase()})}),Ye.jsx("div",{className:"divFeature",children:null==(n=e.FeatureDetail)?void 0:n.map(((e,t)=>Ye.jsxs(l.Fragment,{children:[0===t&&Ye.jsx("p",{className:"small-font",style:{lineHeight:"0.1em",margin:"1px 0"},children:" "})," ",Ye.jsx("p",{className:"small-font",children:"Y"==(null==e?void 0:e.Status)?Ye.jsx(ae,{}):null==(null==e?void 0:e.Status)?null==e?void 0:e.FeatName:""})]},t)))})]},t)})),Ye.jsx("div",{className:"pricingFeaturesCards",children:[c.find((e=>"FREE"===e.PricingName.toUpperCase())),...c.filter((e=>"FREE"!==e.PricingName.toUpperCase()&&"FEATURENAME"!=e.PricingName.toUpperCase()))].map(((e,t)=>{var n;return e?Ye.jsxs("div",{className:"FEATURENAME"===e.PricingName.toUpperCase()?"pricingcardsFeature ":"pricingcards",children:[Ye.jsx("div",{className:"pricingname",children:Ye.jsx("p",{children:e.PricingName.toUpperCase()})}),Ye.jsx("div",{className:"pricingcontent",children:Ye.jsx("div",{children:"FREE"==e.PricingName.toUpperCase()?Ye.jsx("img",{className:"gitfimg",src:EM}):"FEATURENAME"==e.PricingName.toUpperCase()?Ye.jsxs("div",{className:"divFeatureDetails",children:[Ye.jsx("span",{className:"net-price"}),Ye.jsx("span",{className:"net-price-strike"})]}):Ye.jsxs("div",{children:[Ye.jsxs("span",{className:"net-price",children:["₹",e.NetPrice]}),Ye.jsxs("span",{className:"net-price-strike",children:["₹",e.DisplayPrice]})]})})}),Ye.jsx("div",{className:"pricingstart",children:"FREE"===e.PricingName.toUpperCase()?Ye.jsx("div",{className:"freebtn "+("Already Used"===e.Status?"disabled":""),onClick:()=>(async e=>{var t,n,a;const r=new Date,l=Se(r).format("YYYY-MM-DD HH:mm:ss"),c=Se(r).format("YYYY-MM-DD HH:mm:ss");let u=Se(r).add(e-1..NoOfDays,"days").format("YYYY-MM-DD HH:mm:ss"),p=new Date(u);const A=p.setDate(p.getDate()-1).toISOString().slice(0,19).replace("T"," ");if("Start Free"===e.Status)if(iA("UserId")){const r={UserId:iA("UserId"),AppId:iA("AppId"),PricingId:e.PricingId,PurDate:l,PaymentStatus:"S",LicenseStatus:"A",Price:e.Price,ValidityStart:c,ValidityEnd:A,CreatedBy:iA("UserId")},o=await d(Gb(r)).unwrap();1==(null==(t=null==o?void 0:o.data)?void 0:t.statusCode)?(i("success"),s(null==(n=null==o?void 0:o.data)?void 0:n.response),iA("UserId")?await h():await f()):(i("error"),s(null==(a=null==o?void 0:o.data)?void 0:a.response))}else o(`${DM}signin`),window.location.reload();else s("Free Already Used"),i("warning")})(e),children:"Already Used"===e.Status?Ye.jsx("button",{className:"disabled-button-free",disabled:!0,children:"Already Used"}):Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("p",{children:"Start Now"}),Ye.jsx(k,{})]})}):"FEATURENAME"===e.PricingName.toUpperCase()?Ye.jsx("div",{}):Ye.jsxs("div",{className:"btntext",onClick:()=>m(e),children:["Extend Pack"===e.Status?"Extend Pack":"Start Now"," ",Ye.jsx(k,{})]})}),Ye.jsx("div",{className:"divFeature",children:"FREE"!==e.PricingName.toUpperCase()&&Ye.jsx(Ye.Fragment,{children:null==(n=e.FeatureDetail)?void 0:n.map(((e,t)=>Ye.jsxs(l.Fragment,{children:[0===t&&Ye.jsx("p",{className:"small-font",style:{lineHeight:"0.1em",margin:"1px 0"},children:" "})," ",Ye.jsx("p",{className:"small-font",children:"Y"==(null==e?void 0:e.Status)?Ye.jsx(ae,{}):null==(null==e?void 0:e.Status)?null==e?void 0:e.FeatName:""})]},t)))})})]},t):null}))})]})})})})]})]})},access:"Public"},{path:`${Ofe}invoice-detail`,component:()=>{var e,t,n,i,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,C,S,N,F,B,P,T,D,L,U,_,O,M,z,q,W,Y,K,G,$,X,J,Z,te,ne,ie,ae,re,se,le,oe,de,ce,ue,pe,Ae,he,fe,me,ve,ge,ye,xe,be,we,je,Se,Ne,Ie,Fe,Be,Pe,ke,Te,Ee,De,Le,Ue,_e,Oe,Me,Re,Qe,He,Ve,ze;const qe=Tf(Z_),We=Tf(Aw),[Ke,Ge]=a.useState(!1),[$e,Xe]=a.useState(!1),[Je,Ze]=a.useState(!1),et=a.useRef(null),tt=a.useRef(null),nt=um(),it=Qt(),at=iA("PricingId")?iA("PricingId"):null,rt=iA("AppId"),st=iA("CompId"),lt=Mt(),ot=lt,dt=null==(e=null==ot?void 0:ot.state)?void 0:e.pricingData,ct=null==(t=null==ot?void 0:ot.state)?void 0:t.locationpathname,ut=null==(n=null==ot?void 0:ot.state)?void 0:n.purchasedAmt,pt=null==(i=null==ot?void 0:ot.state)?void 0:i.differenceDays,At=null==(r=null==ot?void 0:ot.state)?void 0:r.AppExpDate,ht=null==(s=null==ot?void 0:ot.state)?void 0:s.PackName,ft=null==(l=null==ot?void 0:ot.state)?void 0:l.Exist,mt=null==(o=null==ot?void 0:ot.state)?void 0:o.SAdmin,vt=null==(d=null==ot?void 0:ot.state)?void 0:d.UserId,gt=null==(c=null==ot?void 0:ot.state)?void 0:c.AddonPurchase,yt=null==(u=null==ot?void 0:ot.state)?void 0:u.addonData,xt=vt||iA("UserId"),[bt,wt]=a.useState([]),[jt,Ct]=a.useState([]),[St,Nt]=a.useState([]),[It,Ft]=a.useState(!1),[Bt,Pt]=a.useState(null),[kt,Tt]=a.useState(null),[Et,Dt]=a.useState(null),[Lt,Ut]=a.useState(null),[_t,Ot]=a.useState(null),[Rt,Ht]=a.useState(null),[Vt,zt]=a.useState(!1),[qt,Wt]=a.useState(!1),[Yt,Kt]=a.useState(!1),[Gt,$t]=a.useState(null),[Xt,Jt]=a.useState(null),[Zt,en]=a.useState(null),[tn,nn]=a.useState(null),[an,rn]=a.useState(null),[sn,ln]=a.useState(null),[on,dn]=a.useState(null!=(null==(p=null==lt?void 0:lt.state)?void 0:p.MailId)?null==(A=null==lt?void 0:lt.state)?void 0:A.MailId:null),[cn,un]=a.useState(!1),[pn,An]=a.useState([]),[hn,fn]=a.useState(!0),[mn,vn]=a.useState(!0),[gn,yn]=a.useState(!0),[xn,bn]=a.useState(!0),[wn,jn]=a.useState(!0),[Cn,Sn]=a.useState(!0),[Nn,In]=a.useState(null),[Fn,Bn]=a.useState(),[Pn,kn]=a.useState(),[Tn,En]=a.useState(),[Dn,Ln]=a.useState(),[Un,_n]=a.useState(),[On,Mn]=a.useState(),[Rn,Qn]=a.useState(!1),[Hn,Vn]=a.useState(!1),[zn,qn]=a.useState(!1),[Wn,Kn]=a.useState(""),[Gn,$n]=a.useState(""),[Xn,Jn]=a.useState(),[Zn,ei]=a.useState(),[ti,ni]=a.useState(),[ii,ai]=a.useState(),[ri,si]=a.useState(0),[li,oi]=a.useState(!1),[di,ci]=a.useState([]),[ui,pi]=a.useState([]),[Ai,hi]=a.useState(null),[fi,mi]=a.useState(!1),vi=Math.floor(Ai/60),gi=Math.floor(Ai%60),yi=/^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Za-z]{1}[Z]{1}[0-9A-Za-z]{1}$/,xi=/^[0-9]+$/,[bi,wi]=a.useState(iA("userName")?iA("userName"):null),[ji,Ci]=a.useState(0),[Si,Ni]=a.useState(1),[Ii,Fi]=a.useState("Company"),[Bi,Pi]=a.useState(),[ki,Ti]=a.useState(),[Ei,Di]=a.useState(),[Li,Ui]=a.useState(),[_i,Oi]=a.useState([]),[Mi,Ri]=a.useState([]),Qi=null==Mi?void 0:Mi.reduce(((e,t)=>e+parseFloat(t.NetPrice)),0),Hi=Mi.reduce(((e,t)=>e+parseFloat(t.TaxAmount)),0),Vi=null==Mi?void 0:Mi.reduce(((e,t)=>e+parseFloat(t.Price)),0),zi=gt?null==(h=null==ft?void 0:ft[0])?void 0:h.NoOfDays:null==(f=null==jt?void 0:jt[0])?void 0:f.NoOfDays,[qi,Wi]=a.useState(!1),[Yi,Ki]=a.useState([]),[Gi,$i]=a.useState([]),[Xi,Ji]=a.useState([]),[Zi,ea]=a.useState([]),[ta,na]=a.useState([]),[ia,aa]=a.useState([]),[ra,sa]=a.useState([]),[la,oa]=a.useState([]),[da,ca]=a.useState(),[ua,pa]=a.useState(0),[Aa,ha]=a.useState(null==(m=null==jt?void 0:jt[0])?void 0:m.PricingId),[fa,ma]=a.useState(),[va,ga]=a.useState(),[ya,xa]=a.useState(),[ba,wa]=a.useState(),[ja,Ca]=a.useState(),[Sa,Na]=a.useState();a.useEffect((()=>{let e=null==ki?void 0:ki.filter((e=>null==ra?void 0:ra.includes(e.CompId))),t=null==e?void 0:e.map((e=>e.key));na(t);let n=null==Ei?void 0:Ei.filter((e=>null==ra?void 0:ra.includes(e.CompId))),i=null==n?void 0:n.map((e=>e.key));aa(i)}),[ra]),a.useEffect((()=>{let e=null==Ei?void 0:Ei.filter((e=>null==la?void 0:la.includes(e.BranchId))),t=null==e?void 0:e.map((e=>e.key));aa(t)}),[la]),a.useEffect((()=>{var e;Ci(null==(e=null==jt?void 0:jt[0])?void 0:e.NetPrice)}),[jt]),a.useEffect((()=>{let e=null==At?void 0:At.reduce(((e,t)=>e+t.PlanNoOfDays),0);si(e)}),[At]);const Ia=null==At?void 0:At.reduce(((e,t)=>e+t.ExistingPlanNetPrice),0),Fa="annual"===Wn?365:30,Ba=function(e){const t=null==e?void 0:e.filter((e=>"Free"!=e.PricingName));return null==t?void 0:t.reduce(((e,t)=>e+t.RemainingDays),0)}(At),Pa=parseFloat(Ia/(null==At?void 0:At.reduce(((e,t)=>e+t.PlanNoOfDays),0))).toFixed(2),ka=(null==(g=null==(v=null==At?void 0:At.filter((e=>"Free"!=e.PricingName)))?void 0:v[0])?void 0:g.NoOfDaysUsed)?null==(x=null==(y=null==At?void 0:At.filter((e=>"Free"!=e.PricingName)))?void 0:y[0])?void 0:x.NoOfDaysUsed:0,Ta=ka*parseFloat(Ia/(null==At?void 0:At.reduce(((e,t)=>e+parseFloat(t.PlanNoOfDays)),0))),Ea=Pa*pt,Da="annual"!=Wn?Xn:Zn,La="annual"===Wn?ti:ii,Ua=Ea/Da*Fa,_a=Math.floor(Ea/Xn*Fa),Oa=Math.floor(Ea/Zn*Fa);a.useEffect((()=>{var e,t;(null==(e=null==jt?void 0:jt[0])?void 0:e.PricingId)&&ha(null==(t=null==jt?void 0:jt[0])?void 0:t.PricingId)}),[null==(b=null==jt?void 0:jt[0])?void 0:b.PricingId]),a.useEffect((()=>{var e;(null==(e=null==jt?void 0:jt[0])?void 0:e.NoOfDays)>31?Kn("annual"):Kn("monthly")}),[jt]),a.useEffect((()=>{qa(),Qa(),hr(),(null==At?void 0:At.length)>0?qn("Extend Pack"!==ht):qn(!1),Ra(),Ha()}),[]),a.useEffect((()=>{var e;gt&&oi(!0),gt&&yt&&(null==At?void 0:At.length)>0?(null==(e=null==At?void 0:At[0])||e.NoOfDays,qn(!1)):gt&&oi(!0)}),[gt,yt,At]),a.useEffect((()=>{Ma()}),[null==(w=null==jt?void 0:jt[0])?void 0:w.PricingName]);const Ma=async()=>{var e,t,n,i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P,k,T,E,D,L,U,_,O,M,R,Q,H,V;const z=await nt(Yb({toggleValue:"M",AppId:rt,UserId:xt})),q=await nt(Yb({toggleValue:"Y",AppId:rt,UserId:xt}));if(1==(null==(t=null==(e=null==z?void 0:z.payload)?void 0:e.data)?void 0:t.statusCode)&&1==(null==(i=null==(n=null==q?void 0:q.payload)?void 0:n.data)?void 0:i.statusCode)){const e=null==(l=null==(s=null==(r=null==(a=null==z?void 0:z.payload)?void 0:a.data)?void 0:r.data)?void 0:s.find((e=>{var t;return e.PricingName===(null==(t=null==jt?void 0:jt[0])?void 0:t.PricingName)})))?void 0:l.NetPrice,t=null==(u=null==(c=null==(d=null==(o=null==q?void 0:q.payload)?void 0:o.data)?void 0:d.data)?void 0:c.find((e=>{var t;return e.PricingName===(null==(t=null==jt?void 0:jt[0])?void 0:t.PricingName)})))?void 0:u.NetPrice;Jn(e),ei(t);let n={status:null==(f=null==(h=null==(A=null==(p=null==q?void 0:q.payload)?void 0:p.data)?void 0:A.data)?void 0:h.find((e=>{var t;return e.PricingName===(null==(t=null==jt?void 0:jt[0])?void 0:t.PricingName)})))?void 0:f.Status,plan:null==(y=null==(g=null==(v=null==(m=null==q?void 0:q.payload)?void 0:m.data)?void 0:v.data)?void 0:g.find((e=>{var t;return e.PricingName===(null==(t=null==jt?void 0:jt[0])?void 0:t.PricingName)})))?void 0:y.PricingName,NoOfDays:null==(j=null==(w=null==(b=null==(x=null==q?void 0:q.payload)?void 0:x.data)?void 0:b.data)?void 0:w.find((e=>{var t;return e.PricingName===(null==(t=null==jt?void 0:jt[0])?void 0:t.PricingName)})))?void 0:j.NoOfDays,PricingId:null==(I=null==(N=null==(S=null==(C=null==q?void 0:q.payload)?void 0:C.data)?void 0:S.data)?void 0:N.find((e=>{var t;return e.PricingName===(null==(t=null==jt?void 0:jt[0])?void 0:t.PricingName)})))?void 0:I.PricingId},i={status:null==(k=null==(P=null==(B=null==(F=null==z?void 0:z.payload)?void 0:F.data)?void 0:B.data)?void 0:P.find((e=>{var t;return e.PricingName===(null==(t=null==jt?void 0:jt[0])?void 0:t.PricingName)})))?void 0:k.Status,NoOfDays:null==(L=null==(D=null==(E=null==(T=null==q?void 0:q.payload)?void 0:T.data)?void 0:E.data)?void 0:D.find((e=>{var t;return e.PricingName===(null==(t=null==jt?void 0:jt[0])?void 0:t.PricingName)})))?void 0:L.NoOfDays,plan:null==(M=null==(O=null==(_=null==(U=null==z?void 0:z.payload)?void 0:U.data)?void 0:_.data)?void 0:O.find((e=>{var t;return e.PricingName===(null==(t=null==jt?void 0:jt[0])?void 0:t.PricingName)})))?void 0:M.PricingName,PricingId:null==(V=null==(H=null==(Q=null==(R=null==z?void 0:z.payload)?void 0:R.data)?void 0:Q.data)?void 0:H.find((e=>{var t;return e.PricingName===(null==(t=null==jt?void 0:jt[0])?void 0:t.PricingName)})))?void 0:V.PricingId};ni(n),ai(i)}else{let e={status:"No Data Found",plan:" ",NoOfDays:" "};ni({status:"No Data Found",plan:" ",NoOfDays:" "}),ai(e)}};let Ra=async()=>{var e,t,n,i,a,r,s;const l=await nt(BE()).unwrap();if(1==(null==(e=null==l?void 0:l.data)?void 0:e.statusCode)){Bn(null==(t=null==l?void 0:l.data)?void 0:t.data);let e=await(null==(i=null==(n=null==l?void 0:l.data)?void 0:n.data)?void 0:i.findIndex((e=>"NetBanking"==e.MethodName)));kn(e),Ln(null==(s=null==(r=null==(a=null==l?void 0:l.data)?void 0:a.data)?void 0:r[e])?void 0:s.Details)}},Qa=async()=>{var e,t,n,i;let a=await nt(n_()).unwrap(),r=null==(t=null==(e=null==a?void 0:a.data)?void 0:e.data)?void 0:t.filter((e=>(null==e?void 0:e.AppId)===iA("AppId")));await nt(r_(null==(n=r[0])?void 0:n.AppName)).unwrap();let s=await nt(nk({typeName:"Manual PaymentType"})).unwrap();ma(null==(i=null==s?void 0:s.data)?void 0:i.data)},Ha=async()=>{var e,t,n,i,a,r;let s=await nt(n_()).unwrap(),l=null==(t=null==(e=null==s?void 0:s.data)?void 0:e.data)?void 0:t.filter((e=>(null==e?void 0:e.AppId)===iA("AppId")));await nt(r_(null==(n=null==l?void 0:l[0])?void 0:n.AppName)).unwrap();let o=await nt(aT(null==(i=null==l?void 0:l[0])?void 0:i.AppId));Ui(null==(r=null==(a=null==o?void 0:o.payload)?void 0:a.data)?void 0:r.data)};a.useEffect((()=>{const e=setInterval((()=>{hi(Ai-1)}),1e3);return null!=kt&&za(),0===Ai&&(Va(),clearInterval(e)),null===Ai&&clearInterval(e),()=>{clearInterval(e)}}),[Ai]);const Va=async()=>{var e,t,n,i,a,r,s;let l={};l.UpdatedBy=xt,l.PaymentStatus="F",l.UniqueId=kt;let o=await nt(Zb(l)).unwrap();if(1===(null==(e=null==o?void 0:o.data)?void 0:e.statusCode)&&(Ge(!1),hi(0),null==(t=null==o?void 0:o.data)?void 0:t.UserMail)){const e={UniqueId:null==(n=null==o?void 0:o.data)?void 0:n.UniqueId,userData:null==(i=null==o?void 0:o.data)?void 0:i.userData,messageTemplatesList:null==(a=null==o?void 0:o.data)?void 0:a.messageTemplatesList,UserMail:null==(r=null==o?void 0:o.data)?void 0:r.UserMail,PaymentStatus:null==(s=null==o?void 0:o.data)?void 0:s.PaymentStatus};await nt(UE(e))}},za=async()=>{var e,t;let n=await nt(Jb(kt)).unwrap();1===(null==(e=null==n?void 0:n.data)?void 0:e.statusCode)&&(ci(null==(t=null==n?void 0:n.data)?void 0:t.data),Kt(!0),hi(null),Ut("success"),Ot("Payment Success!"),setTimeout((()=>{Wa()}),15e3))},qa=async()=>{var e,t,n,i,a;let r=await nt(ew()).unwrap();1===(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)&&(An(null==(t=null==r?void 0:r.data)?void 0:t.data),pi(null==(a=null==(i=null==(n=null==r?void 0:r.data)?void 0:n.data)?void 0:i[0])?void 0:a.PaymentUPIDetailsId))},Wa=async()=>{it(`${iR}landing-page/home`)};a.useEffect((()=>{if(0===Rt&&(zt(!1),Ht(null)),!Rt)return;const e=setInterval((()=>{Ht(Rt-1)}),1e3);return()=>clearInterval(e)}),[Rt]),a.useEffect((()=>{Ya(at)}),[at]),a.useEffect((()=>{Ka()}),[]);const Ya=async e=>{var t,n,i,a;const r=await nt(NE(e)).unwrap();if(1===(null==(t=null==r?void 0:r.data)?void 0:t.statusCode)){let e=null==(i=null==(n=null==r?void 0:r.data)?void 0:n.data)?void 0:i.filter((e=>"A"===e.ActiveStatus));wt(e?null==(a=null==e?void 0:e[0])?void 0:a.FeatureDetails:[]),Ct(e)}},Ka=async()=>{var e,t,n,i;const a=await nt($b(xt)).unwrap();if(1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)){let e=null==(t=null==a?void 0:a.data)?void 0:t.data;Nt(e||[]),Pt((null==e?void 0:e.length)>0?null==(n=null==e?void 0:e[0])?void 0:n.MobileNo:iA("MobileNo")),dn((null==e?void 0:e.length)>0?null==(i=null==e?void 0:e[0])?void 0:i.MailId:null)}},Ga=async e=>{In(e)};const $a=async e=>{Jt(e)},Xa=async e=>{dn(e)},Ja=async e=>{pi(e)};async function Za(e){6===(null==e?void 0:e.length)&&xi.test(e)?(fn(!0),$a(e),await(async e=>{var t,n,i,a,r,s;let l="";await fetch(`https://api.postalpincode.in/pincode/${e}`).then((e=>e.text())).then((e=>l=JSON.parse(e))),"Success"===(null==l?void 0:l[0].Status)&&(nn(null==(n=null==(t=null==l?void 0:l[0].PostOffice)?void 0:t[0])?void 0:n.Block),rn(null==(a=null==(i=null==l?void 0:l[0].PostOffice)?void 0:i[0])?void 0:a.District),ln(null==(s=null==(r=null==l?void 0:l[0].PostOffice)?void 0:r[0])?void 0:s.State),bn(!0),jn(!0))})(e)):0===(null==e?void 0:e.length)?fn(!0):(fn(!1),nn(null),ln(null)),$a(e)}const er=async()=>{oi(!0)},tr=[{key:"1",label:("CRDC"==(null==(C=null==Fn?void 0:Fn[Pn])?void 0:C.CardType)||"DBCRD"==(null==(S=null==Fn?void 0:Fn[Pn])?void 0:S.CardType)?"Choose Your Card":"WLT"==(null==(N=null==Fn?void 0:Fn[Pn])?void 0:N.CardType)?"Choose Your Wallet":"Choose Your Bank")+" ",children:Ye.jsx(H.Group,{onChange:e=>{var t,n,i,a,r;En(null==(t=null==e?void 0:e.target)?void 0:t.value),_n("CCAvenue"==(null==(i=null==Dn?void 0:Dn[null==(n=null==e?void 0:e.target)?void 0:n.value])?void 0:i.dataAcceptedAt)?"Y":"N"),Mn(null==(r=null==Dn?void 0:Dn[null==(a=null==e?void 0:e.target)?void 0:a.value])?void 0:r.cardName)},value:Tn,style:{display:"flex",flexDirection:"column",gap:"0.5rem"},children:null==Dn?void 0:Dn.map(((e,t)=>Ye.jsx(Ye.Fragment,{children:Ye.jsx(H,{value:t,style:{width:"106%",marginLeft:"-15px",borderBottom:"1px solid #dadada"},children:e.cardName})})))})}];function nr(e,t){const n=new Date(e);n.setDate(n.getDate()+t);return`${n.getFullYear()}-${(n.getMonth()+1).toString().padStart(2,"0")}-${n.getDate().toString().padStart(2,"0")} ${n.getHours().toString().padStart(2,"0")}:${n.getMinutes().toString().padStart(2,"0")}:${n.getSeconds().toString().padStart(2,"0")}.${n.getMilliseconds().toString().padStart(3,"0")}`}const ir=e=>{const t=Ce.AES.encrypt(JSON.stringify(e),"3a939a2eed2cca4b64cd47f51b23b135b2b9b765273f695d47682ea803c8429d").toString();if(t)return t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},ar=e=>{var t,n,i,a;Kn(null==(t=null==e?void 0:e.target)?void 0:t.value),(null==At?void 0:At.length)>0&&"Extend Pack"!=(null==La?void 0:La.status)&&"No Data Found"!=(null==La?void 0:La.status)&&"Free"!=(null==(n=null==At?void 0:At[0])?void 0:n.PricingName)&&Ci("monthly"===(null==(i=null==e?void 0:e.target)?void 0:i.value)?Xn:Zn);let r="annual"===(null==(a=null==e?void 0:e.target)?void 0:a.value)?ti:ii;ha(null==r?void 0:r.PricingId)};a.useEffect((()=>{(()=>{const e=new Date,t=`${e.getFullYear()}-${(e.getMonth()+1).toString().padStart(2,"0")}-${e.getDate().toString().padStart(2,"0")} ${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}:${e.getSeconds().toString().padStart(2,"0")}.${e.getMilliseconds().toString().padStart(3,"0")}`;$n(t)})()}),[]);const rr=()=>{qn(!1),Wi(!1),it(`${ct}`)},sr=Ia-Math.abs((pt-Ba)*Pa),lr=sr>Da?sr-Da:0,or=Da/365,dr=Math.floor(lr/or)+365,cr=Ia-Math.abs((pt-Ba)*Pa),ur=cr>Da?cr-Da:0,pr=Da/30,Ar=Math.floor(ur/pr)+30,hr=async()=>{var e,t,n,i,a,r;let s={AppId:rt,UserId:xt},l=await nt(kE(s)).unwrap(),o=0==(null==(e=null==l?void 0:l.data)?void 0:e.statusCode);if(ca(o),1==(null==(t=null==l?void 0:l.data)?void 0:t.statusCode)){const e=null==(n=null==l?void 0:l.data)?void 0:n.data;let t=[],s=[],o=[];null==(i=null==e?void 0:e.CompanyDetails)||i.map(((e,n)=>{t.push({...e,key:n})})),null==(a=null==e?void 0:e.BranchDetails)||a.map(((e,t)=>{s.push({...e,key:t})})),null==(r=null==e?void 0:e.UserDetails)||r.map(((e,t)=>{o.push({...e,key:t})})),Ti(s),Pi(t),Di(o)}},fr=e=>{Fi(e)},mr=[{title:" ",width:"20px",align:"center",key:"CompName",render:(e,t,n)=>Ye.jsx(V,{onChange:e=>{((e,t,n)=>{if(t.target.checked){ea([...Zi,n]);let t=e.CompId;sa([...ra,t])}else{let t=null==Zi?void 0:Zi.filter((e=>e!=n));ea(t);let i=null==ra?void 0:ra.filter((t=>t!=e.CompId));sa(i)}})(t,e,n)},checked:Zi.includes(n),disabled:Zi.length==kr&&!Zi.includes(n)})},{title:"SI.NO",key:"sno",align:"center",width:"60px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(Si-1)+n+1})},{title:"Company Name",dataIndex:"CompName",key:"CompName",editable:!0},{title:"Active Status",dataIndex:"ActiveStatus",key:"ActiveStatus",editable:!0}],vr=[{title:" ",width:"20px",align:"center",key:"CompName",render:(e,t,n)=>Ye.jsx(V,{onChange:e=>{((e,t,n)=>{if(t.target.checked){na((e=>(e||(e=[]),[...e,n])));let t=e.BrId;oa((e=>(e||(e=[]),[...e,t])))}else na((e=>(e||(e=[]),e.filter((e=>e!==n))))),oa((t=>(t||(t=[]),t.filter((t=>t!==e.BrId)))))})(t,e,n)},checked:null==ta?void 0:ta.includes(n),disabled:(null==ta?void 0:ta.length)==Tr&&!(null==ta?void 0:ta.includes(n))||(null==ra?void 0:ra.includes(null==t?void 0:t.CompId))})},{title:"SI.NO",key:"sno",align:"center",width:"60px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(Si-1)+n+1})},{title:"Company Name",dataIndex:"CompName",key:"CompName",editable:!0},{title:"Branch Name",dataIndex:"BrName",key:"BrName",editable:!0},{title:"Branch Address",dataIndex:"Address1",key:"Address1",editable:!0},{title:"Active Status",dataIndex:"ActiveStatus",key:"ActiveStatus",editable:!0}],gr=[{title:" ",width:"20px",align:"center",key:"CompName",render:(e,t,n)=>Ye.jsx(V,{onChange:e=>{((e,t,n)=>{t&&t.target&&void 0!==t.target.checked&&(t.target.checked?0===(null==ia?void 0:ia.length)?aa([n]):aa((e=>Array.isArray(e)?[...e,n]:[n])):aa((e=>Array.isArray(e)?e.filter((e=>e!==n)):[])))})(0,e,n)},checked:null==ia?void 0:ia.includes(n),disabled:(null==ia?void 0:ia.length)===Er&&!(null==ia?void 0:ia.includes(n))||(null==la?void 0:la.includes(null==t?void 0:t.BranchId))||(null==ra?void 0:ra.includes(null==t?void 0:t.CompId))})},{title:"SI.NO",key:"sno",align:"center",width:"60px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(Si-1)+n+1})},{title:"Company Name",dataIndex:"CompName",key:"CompName",editable:!0},{title:"Branch Name",dataIndex:"BrName",key:"BrName",editable:!0},{title:"Branch Address",dataIndex:"Address1",key:"Address1",editable:!0},{title:"User Name / User Mobile.No",dataIndex:"UserName",key:"UserName",editable:!0,render:(e,t)=>Ye.jsx("span",{children:t.UserName?null==t?void 0:t.UserName:null==t?void 0:t.MobileNo})},{title:"Active Status",dataIndex:"ActiveStatus",key:"ActiveStatus",editable:!0}],yr=null==(F=null==ft?void 0:ft[0])?void 0:F.ExistingPlanNetPrice,xr=null==(B=null==ft?void 0:ft[0])?void 0:B.RemainingDays,br=null==(P=null==jt?void 0:jt[0])?void 0:P.NetPrice;null==(T=null==jt?void 0:jt[0])||T.NoOfDays;var wr=null==(U=null==(L=null==(D=null==jt?void 0:jt[0])?void 0:D.FeatureDetails)?void 0:L.find((e=>"Company"===e.FeatName)))?void 0:U.FeatConstraint,jr=null==(M=null==(O=null==(_=null==jt?void 0:jt[0])?void 0:_.FeatureDetails)?void 0:O.find((e=>"Branch"===e.FeatName)))?void 0:M.FeatConstraint,Cr=null==(W=null==(q=null==(z=null==jt?void 0:jt[0])?void 0:z.FeatureDetails)?void 0:q.find((e=>"User"===e.FeatName)))?void 0:W.FeatConstraint,Sr=null==(G=null==(K=null==(Y=null==ft?void 0:ft[0])?void 0:Y.FeatureDetails)?void 0:K.find((e=>"Company"===e.FeatName)))?void 0:G.FeatConstraint,Nr=null==(J=null==(X=null==($=null==ft?void 0:ft[0])?void 0:$.FeatureDetails)?void 0:X.find((e=>"Branch"===e.FeatName)))?void 0:J.FeatConstraint,Ir=null==(ne=null==(te=null==(Z=null==ft?void 0:ft[0])?void 0:Z.FeatureDetails)?void 0:te.find((e=>"User"===e.FeatName)))?void 0:ne.FeatConstraint,Fr=null==Bi?void 0:Bi.length,Br=null==ki?void 0:ki.length,Pr=(null==Ei?void 0:Ei.length)+1,kr=Fr-wr,Tr=Br-jr,Er=Pr-Cr;const Dr=[{value:"Company",label:"Company"},{value:"Branch",label:"Branch"},{value:"User",label:"User"}].filter((e=>"Company"===e.value?0==!kr&&Fr>Sr-wr:"Branch"===e.value?(0!==Tr||Tr<0)&&Br>Nr-jr&&jr!==Nr&&Tr>0:"User"!==e.value||0==!Er&&Pr>Cr-Ir&&Er>0));a.useEffect((()=>{br<yr&&xr<0&&(Sr!=wr||Nr!=jr||Ir!=Cr)&&(kr>0||Tr>0||Er>0)&&Wi(!0)}),[yr,br]),a.useEffect((()=>{Lr()}),[kt]);const Lr=async()=>{let e={UniqueId:kt,PostData:[{User:null==Xi?void 0:Xi.map((e=>({UserId:e.UserId,CompId:e.CompId,BranchId:e.BranchId,AppId:e.AppId}))),Company:null==Yi?void 0:Yi.map((e=>({CompId:e.CompId}))),Branch:null==Gi?void 0:Gi.map((e=>({BranchId:e.BranchId,CompId:e.CompId})))}]};(kt&&"annual"==Wn&&Da<Ia||kt&&"monthly"==Wn&&Da<Ia)&&await nt(TE(e)).unwrap()},Ur=a.useCallback((()=>{Ot(null),Ut(null)}),[]);a.useEffect((()=>{st||0!=(null==At?void 0:At.length)||qn(!1),_r()}),[]);const _r=async()=>{var e;let t={UserId:xt,AppId:rt,Type:"R"},n=await nt(_E(t)).unwrap();Ca(null==(e=null==n?void 0:n.data)?void 0:e.data)};return Ye.jsxs(Ye.Fragment,{children:[((null==At?void 0:At.length)>0?"Extend Pack"!=(null==La?void 0:La.status)&&"No Data Found"!=(null==La?void 0:La.status)&&"Free"!=(null==(ie=null==At?void 0:At[0])?void 0:ie.PricingName):"Extend Pack"!=(null==La?void 0:La.status)&&" "==(null==La?void 0:La.status))&&xr>=0&&Ye.jsx(SP,{open:zn,width:1e3,title:Ye.jsx("h3",{children:" Change Your Plan"}),footer:!0,children:Ye.jsxs("div",{style:{display:"flex",rowGap:"1rem",flexDirection:"column"},children:[Ye.jsx("div",{style:{fontSize:"17px",fontWeight:"600",position:"absolute",left:"15rem",top:"3rem",border:"1px solid gray",padding:"2px 8px",borderRadius:"5px",background:"annual"==Wn?"annual"==Wn&&Da>(null==(ae=null==At?void 0:At[0])?void 0:ae.ExistingPlanNetPrice)?"green":"red":Da>(null==(re=null==At?void 0:At[0])?void 0:re.ExistingPlanNetPrice)?"green":"red",color:"#fff"},children:"annual"==Wn?"annual"==Wn&&Da>(null==(se=null==At?void 0:At[0])?void 0:se.ExistingPlanNetPrice)?"upgrade":"downgrade":Da>(null==(le=null==At?void 0:At[0])?void 0:le.ExistingPlanNetPrice)?"upgrade":"downgrade"}),Ye.jsxs("div",{style:{display:"flex",columnGap:"2rem",flexWrap:"wrap"},children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[Ye.jsx("p",{style:{fontSize:"12px",fontWeightL:"600"},children:"FROM"}),Ye.jsx("h1",{style:{fontSize:"22px"},children:null==ut?void 0:ut.PricingName}),Ye.jsx("p",{children:(null==(oe=null==At?void 0:At[0])?void 0:oe.PlanNoOfDays)<365?"monthly":"Annual"})]}),Ye.jsx("div",{style:{display:"flex",alignItems:"flex-end"},children:Ye.jsx(Yn,{style:{fontSize:"50px"}})}),Ye.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[Ye.jsxs("p",{style:{color:"green",fontSize:"12px",fontWeightL:"600"},children:["CHANGE TO"," "]}),Ye.jsx("h1",{style:{fontSize:"22px"},children:null==dt?void 0:dt.PricingName}),Ye.jsx("p",{children:"annual"===Wn?"Annual":"monthly"})]})]}),Ye.jsx("hr",{}),Ye.jsxs("div",{style:{display:"flex",rowGap:"0.7rem",columnGap:"1rem",flexWrap:"wrap"},children:[Xn&&Ye.jsxs("label",{className:"custom-radio-label",style:{display:"flex",columnGap:"0.5rem",border:"1px solid gray",padding:"0.7rem",borderRadius:"5px",backgroundColor:"monthly"===Wn&&"#f5ead5",cursor:"pointer"},children:[Ye.jsx("input",{type:"radio",name:"Plan",value:"monthly",checked:"monthly"===Wn,onChange:ar}),Ye.jsxs("p",{style:{display:"flex",flexDirection:"column",fontSize:"20px"},children:["Monthly Plan",Ye.jsxs("span",{style:{fontSize:"12px"},children:["₹",Xn," billed monthly"," "]})]})]}),Zn&&Ye.jsxs("label",{className:"custom-radio-label",style:{display:"flex",columnGap:"0.5rem",border:"1px solid gray",padding:"0.7rem",borderRadius:"5px",backgroundColor:"annual"===Wn&&"#f5ead5",cursor:"pointer"},children:[Ye.jsx("input",{type:"radio",name:"Plan",value:"annual",checked:"annual"===Wn,onChange:ar}),Ye.jsxs("p",{style:{display:"flex",flexDirection:"column",fontSize:"20px"},children:["Annual Plan",Ye.jsxs("span",{style:{fontSize:"12px"},children:["₹",Zn," billed anually"," "]})]})]})]}),Ye.jsxs("div",{style:{width:"100%",display:"flex",flexDirection:"column",rowGap:"0.4rem"},children:[Ye.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[Ye.jsx("p",{children:"Current Plan Amount"}),Ye.jsxs("p",{style:{fontWeight:"600"},children:[":₹ ",Ia]})]}),Ye.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[Ye.jsx("p",{children:"Remaining days of current plan / per day amount :"}),Ye.jsxs("p",{style:{fontWeight:"600"},children:[pt," ",pt>1?"days":"day"," / ₹"," ",Pa]})]}),Ye.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[Ye.jsx("p",{children:"consumed Amount of current plan / consumed Days :"}),Ye.jsxs("p",{style:{fontWeight:"600"},children:["₹ ",Math.abs(Ta).toFixed(2),"/",ka," ",ka>1?"days":"day"]})]}),Ia-Pa>0&&Ye.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[Ye.jsx("p",{children:"Remaining available amount from the current plan :"}),Ye.jsxs("p",{style:{fontWeight:"600"},children:["₹ ",Math.abs(Ea).toFixed(2)]})]}),Ye.jsx("div",{children:Ye.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[Ye.jsxs("p",{children:["This ",Wn," Plan includes :"]}),Ye.jsxs("p",{style:{fontWeight:"600"},children:[Math.floor(Ua)," ",Ua>1?"days":"day"]})]})}),Ye.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[Ye.jsx("p",{children:"Selected plan Amount"}),Ye.jsxs("p",{style:{fontWeight:"600"},children:[":₹ ",Da]})]}),Ye.jsx("div",{style:{display:"flex",justifyContent:"center",fontSize:"20px"},children:Ea-Da>=0?Ye.jsxs("p",{style:{display:"flex",justifyContent:"space-between",width:"100%"},children:[Ye.jsx("span",{style:{fontWeight:"600"}}),Ye.jsxs("span",{style:{fontWeight:"600",color:"green"},children:[" ","You don't need to pay the bill"]})]}):Ia-(pt-Ba)*Pa-Da!=0&&Ye.jsxs("p",{style:{display:"flex",justifyContent:"space-between",width:"100%"},children:[Ye.jsx("span",{style:{fontWeight:"600"},children:"Payable Amount"}),Ye.jsxs("span",{style:{fontWeight:"600",color:"red"},children:[":₹"," ",Math.abs(Ea-Da).toFixed(2)]})]})})]}),Ye.jsx("hr",{}),Da<Ia&&Ye.jsxs("div",{children:[kr>0||Tr>0||Er>0&&Ye.jsx("h1",{children:"Deactivation Of Features For Your Current plan"}),Fr>Sr-wr&&0==!kr&&Ye.jsxs("div",{children:[Ye.jsxs("h4",{children:["Number of Company's Of Your Previous Plan :",Fr," "]}),Ye.jsxs("p",{children:["Your Eligible Company's For This Current Plan is :"," ",wr," & Deactivate : ",kr," ","Company's"]})]}),Br>Nr-jr&&0!=Tr&&jr!==Nr&&Tr>0&&Ye.jsxs("div",{children:[Ye.jsxs("h4",{children:["Number of Branches Of Your Previous Plan:"," ",Br]}),Ye.jsxs("p",{children:["Your Eligible Branches For This Current Plan is:"," ",jr]}),Tr>0&&Ye.jsxs("p",{children:["Deactivate: ",Tr," Branch's"]})]}),Cr<Ir&&Pr>Cr-Ir&&Er>0&&Ye.jsxs("div",{children:[Ye.jsxs("h4",{children:["Number of User's Of Your Previous Plan :",Pr," & Incuding Admin : 1"]}),Ye.jsxs("p",{children:["Your Eligible User's For This Current Plan is :"," ",Cr," "]}),Er>0&&Ye.jsxs("p",{children:["Deactivate: ",Er," User's"]})]}),Ye.jsx("div",{children:Ye.jsx(fk,{content:Dr,defaultSelect:Ii,onSelectFuntion:e=>{fr(e)}})}),Ye.jsxs("div",{children:["Company"===Ii&&Fr-wr!==0&&Fr>0&&Ye.jsx(E,{columns:mr,dataSource:Bi}),"Branch"===Ii&&Br-jr!==0&&jr!==Nr&&Tr>0&&Ye.jsx(E,{columns:vr,dataSource:ki}),"User"===Ii&&Er>0&&Ye.jsx(E,{columns:gr,dataSource:Ei})]})]}),Ye.jsx("div",{style:{border:"1px solid orange",borderRadius:"7px",padding:"1rem"},children:Ye.jsxs("ul",{children:[Ye.jsxs("p",{style:{fontSize:"13px"},children:["1. Once the current billing period ends you will be billed monthly. By choosing an annual subscription you save 17% on the subscription fee."," "]}),Ye.jsx("br",{}),Ye.jsxs("p",{style:{fontSize:"13px"},children:["2. Please note, if you downgrade your plan, any reduction in the amount paid is your responsibility. Pozo is not responsible for any changes or refunds due to the plan change."," "]})]})}),Ye.jsx("div",{className:"Planchanges",children:mt&&!(Ea-Da>=0)&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(_y,{options:null==fa?void 0:fa.map((e=>({value:e.ConfigId,label:e.ConfigName}))),placeholder:"Type",label:"Type",className:"field-DropDown",isOnchanges:!!va,onChangeFunction:e=>(e=>{ga(e)})(e),valueData:va}),Ye.jsx(My,{field:"AppDescription",autoComplete:"off",label:"Reason",fieldState:!0,onChange:e=>(e=>{var t;xa(null==(t=null==e?void 0:e.target)?void 0:t.value)})(e)})]})})]}),handleCancel:rr,handleSubmit:()=>(async e=>{var t,n,i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P,k,T,E,D,L,U,_,O,M,R,Q,H,V,z,q,W,Y,K,G,$,X,J,Z,ee,te,ne,ie,ae,re,se,le,oe,de,ce,ue,pe,Ae,he,fe,me,ve,ge,ye,xe,be,we,je,Ce,Se,Ne,Ie,Fe,Be,Pe,ke,Te,Ee,De,Le,Ue,_e,Oe,Me,Re,Qe,He,Ve,ze,qe,We,Ye,Ke,Ge,$e,Je,et,tt,at,st,lt,ot,dt,ct,ut,ht,ft,vt,gt,yt,bt,wt,Ct,St,Nt,It,Ft,Bt,Pt,kt,Et,Lt,_t,Mt,Rt,Qt,Ht,Vt,zt,qt,Wt,Yt,Kt,Gt,$t,Xt,Jt,Zt,en,tn,nn,an,rn,sn,ln,on,dn,cn,un,pn,An,hn,fn,mn,vn,gn,yn,xn,bn,wn,jn,Cn,Sn,Nn,In,Fn,Bn,Pn,kn,Tn,En,Dn,Ln,Un,_n,On,Mn,Rn,Qn,Hn,Vn,zn,Yn,Kn,$n,Xn,Jn,Zn,ei,ti,ni,ii,ai,si,li,oi,di,ci,ui,pi,Ai,hi,fi,mi,vi;if(mt&&Ea-Da>=0){var gi=e*(null==(t=null==jt?void 0:jt[0])?void 0:t.TaxPercentage)/(100+(null==(n=null==jt?void 0:jt[0])?void 0:n.TaxPercentage));Ci(Math.abs(Ea-Da).toFixed(2));let Z=Ea-Da>=0?"monthly"===Wn?_a:Oa:"monthly"===Wn?30:365;if(Ia/ri*pt-Da>=0){let t,n=null==At?void 0:At.map((e=>e.UniqueId)),E={UserId:xt,AppId:null==(i=null==jt?void 0:jt[0])?void 0:i.AppId,PricingId:Aa||(null==(a=null==jt?void 0:jt[0])?void 0:a.PricingId),CompId:null==(r=null==At?void 0:At[0])?void 0:r.CompId,PurDate:Gn,PaymentMode:27,PaymentStatus:"P",LicenseStatus:"A",Price:Ea-Da>=0?0:e-gi,TaxId:null==(s=null==jt?void 0:jt[0])?void 0:s.TaxId,TaxAmount:Ea-Da>=0?0:gi,NetPrice:Ea-Da>=0?0:e-ua,ValidityStart:Gn,ValidityEnd:nr(Gn,Z),NoofDays:Z,oldUniqueId:n,Debit:0,Credit:0,CreatedBy:xt};if("annual"==Wn)if(Da>(null==(l=null==At?void 0:At[0])?void 0:l.ExistingPlanNetPrice)){if(t=await nt(eT(E)),null==(o=null==t?void 0:t.data)?void 0:o.SMSbody){const e={body:null==(d=null==t?void 0:t.data)?void 0:d.SMSbody};await nt(aw(e))}}else kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)||Tr===(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)||Er<=(null==ia?void 0:ia.length)||kr<=0&&Tr<=0&&Er<=0?(0!=Fr&&0!=Br&&0!=Pr||kr<=0&&Tr<=0&&Er<=0)&&(t=await nt(eT(E))):(Ut("error"),Ot("Deactive features"));if("monthly"==Wn)if(Da>(null==(c=null==At?void 0:At[0])?void 0:c.ExistingPlanNetPrice))t=await nt(eT(E));else if(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)||Tr===(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)||Er<=(null==ia?void 0:ia.length)||kr<=0&&Tr<=0&&Er<=0){if((0!=Fr&&0!=Br&&0!=Pr||kr<=0&&Tr<=0&&Er<=0)&&(t=await nt(eT(E)),null==(u=null==t?void 0:t.data)?void 0:u.SMSbody)){const e={body:null==(p=null==t?void 0:t.data)?void 0:p.SMSbody};await nt(aw(e))}}else Ut("error"),Ot("Deactive features");if(1==(null==(h=null==(A=null==t?void 0:t.payload)?void 0:A.data)?void 0:h.statusCode)){let e={PaymentStatus:"S",UniqueId:null==(m=null==(f=null==t?void 0:t.payload)?void 0:f.data)?void 0:m.BookingId,UpdatedBy:xt},n=await nt(tT(e)).unwrap();1==(null==(v=null==n?void 0:n.data)?void 0:v.statusCode)?(it(`${iR}setting/purchaseinfo`),qn(!1)):(qn(!1),Ut("error"),Ot(null==(g=null==n?void 0:n.data)?void 0:g.response));let i=[],a=[],r=[];null==ia||ia.map((e=>{var t,n,i,a,s,l;return null==r?void 0:r.push({UserId:null==(n=null==(t=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:n.UserId,CompId:null==(a=null==(i=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:i[0])?void 0:a.CompId,BranchId:null==(l=null==(s=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:s[0])?void 0:l.BranchId,AppId:rt})})),null==ta||ta.map((e=>{var t,n,i,r;return null==a?void 0:a.push({BranchId:null==(n=null==(t=null==ki?void 0:ki.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:n.BrId,CompId:null==(r=null==(i=null==ki?void 0:ki.filter(((t,n)=>n===e)))?void 0:i[0])?void 0:r.CompId})})),null==Zi||Zi.map((e=>{var t,n;return null==i?void 0:i.push({CompId:null==(n=null==(t=null==Bi?void 0:Bi.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:n.CompId})}));let s={UniqueId:null==(x=null==(y=null==t?void 0:t.payload)?void 0:y.data)?void 0:x.BookingId,PostData:[{User:null==r?void 0:r.map((e=>({UserId:e.UserId,CompId:e.CompId,BranchId:e.BranchId,AppId:e.AppId}))),Company:null==i?void 0:i.map((e=>({CompId:e.CompId}))),Branch:null==a?void 0:a.map((e=>({BranchId:e.BranchId,CompId:e.CompId})))}]};if("annual"==Wn&&Da<Ia&&(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)||Er===(null==ia?void 0:ia.length))){let e=await nt(TE(s)).unwrap();if(1==(null==(b=null==e?void 0:e.data)?void 0:b.statusCode)){let e=await nt(EE({UniqueId:null==(j=null==(w=null==t?void 0:t.payload)?void 0:w.data)?void 0:j.BookingId})).unwrap();1==(null==(C=null==e?void 0:e.data)?void 0:C.statusCode)?(Ze(!0),qn(!1)):(qn(!1),Ut("error"),Ot(null==(S=null==e?void 0:e.data)?void 0:S.response))}else qn(!1),Ut("error"),Ot(null==(N=null==e?void 0:e.data)?void 0:N.response)}else if("monthly"==Wn&&Da<Ia&&(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)||Er===ia.length)){let e=await nt(TE(s)).unwrap();if(1==(null==(I=null==e?void 0:e.data)?void 0:I.statusCode)){let e=await nt(EE({UniqueId:null==(B=null==(F=null==t?void 0:t.payload)?void 0:F.data)?void 0:B.BookingId})).unwrap();1==(null==(P=null==e?void 0:e.data)?void 0:P.statusCode)?(Ze(!0),qn(!1)):(qn(!1),Ut("error"),Ot(null==(k=null==e?void 0:e.data)?void 0:k.response))}else qn(!1),Ut("error"),Ot(null==(T=null==e?void 0:e.data)?void 0:T.response)}}}else{let t,n=null==At?void 0:At.map((e=>e.UniqueId)),i={UserId:xt,AppId:null==(E=null==jt?void 0:jt[0])?void 0:E.AppId,PricingId:Aa||(null==(D=null==jt?void 0:jt[0])?void 0:D.PricingId),CompId:null==(L=null==At?void 0:At[0])?void 0:L.CompId,PurDate:Gn,PaymentMode:27,PaymentStatus:"P",LicenseStatus:"A",Price:Ea-Da>=0?0:e-gi,TaxId:null==(U=null==jt?void 0:jt[0])?void 0:U.TaxId,TaxAmount:Ea-Da>=0?0:gi,NetPrice:Ea-Da>=0?0:e,ValidityStart:Gn,ValidityEnd:nr(Gn,Z),NoofDays:Z,oldUniqueId:n,Debit:0,Credit:0,CreatedBy:xt};if("annual"==Wn&&(Da>(null==(_=null==At?void 0:At[0])?void 0:_.ExistingPlanNetPrice)||kr===(null==Zi?void 0:Zi.length)&&Tr>=(null==ta?void 0:ta.length)&&Er>=(null==ia?void 0:ia.length)||Er>=(null==ia?void 0:ia.length)||Tr<=(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)?(t=await nt(eT(i)),qn(!1)):(Ut("error"),Ot("Deactive features"))),"monthly"==Wn)if(Da>(null==(O=null==At?void 0:At[0])?void 0:O.ExistingPlanNetPrice)){if(t=await nt(eT(i)),null==(M=null==t?void 0:t.data)?void 0:M.SMSbody){const e={body:null==(R=null==t?void 0:t.data)?void 0:R.SMSbody};await nt(aw(e))}qn(!1)}else kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)||Er===(null==ia?void 0:ia.length)||kr<=0&&Tr<=0&&Er<=0?0!=Fr&&0!=Br&&0!=Pr||kr<=0&&Tr<=0&&Er<=0?(t=await nt(eT(i)),qn(!1)):(0==Fr&&0==Br&&0==Pr||(t=await nt(eT(i))),t=await nt(eT(i)),qn(!1)):(Ut("error"),Ot("Deactive features"));if(1==(null==(H=null==(Q=null==t?void 0:t.payload)?void 0:Q.data)?void 0:H.statusCode)){Tt(null==(z=null==(V=null==t?void 0:t.payload)?void 0:V.data)?void 0:z.BookingId),Dt(null==(W=null==(q=null==t?void 0:t.payload)?void 0:q.data)?void 0:W.OrderId),Xe(!0);let e=[],n=[],i=[];null==ia||ia.map((e=>{var t,n,a,r,s,l;return i.push({UserId:null==(n=null==(t=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:n.UserId,CompId:null==(r=null==(a=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:a[0])?void 0:r.CompId,BranchId:null==(l=null==(s=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:s[0])?void 0:l.BranchId,AppId:rt})})),null==ta||ta.map((e=>{var t,i,a,r;return n.push({BranchId:null==(i=null==(t=null==ki?void 0:ki.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:i.BrId,CompId:null==(r=null==(a=null==ki?void 0:ki.filter(((t,n)=>n===e)))?void 0:a[0])?void 0:r.CompId})})),null==Zi||Zi.map((t=>{var n,i;return e.push({CompId:null==(i=null==(n=null==Bi?void 0:Bi.filter(((e,n)=>n===t)))?void 0:n[0])?void 0:i.CompId})}));let a={UniqueId:null==(K=null==(Y=null==t?void 0:t.payload)?void 0:Y.data)?void 0:K.BookingId,PostData:[{User:null==i?void 0:i.map((e=>({UserId:e.UserId,CompId:e.CompId,BranchId:e.BranchId,AppId:e.AppId}))),Company:null==e?void 0:e.map((e=>({CompId:e.CompId}))),Branch:null==n?void 0:n.map((e=>({BranchId:e.BranchId,CompId:e.CompId})))}]};if("annual"==Wn&&Da<Ia&&(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)||Er===(null==ia?void 0:ia.length))){let e=await nt(TE(a)).unwrap();1==(null==(G=null==e?void 0:e.data)?void 0:G.statusCode)?(Ze(!0),qn(!1)):(qn(!1),Ut("error"),Ot(null==($=null==e?void 0:e.data)?void 0:$.response))}else if("monthly"==Wn&&Da<Ia&&(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)||Er===(null==ia?void 0:ia.length))){let e=await nt(TE(a)).unwrap();1==(null==(X=null==e?void 0:e.data)?void 0:X.statusCode)?(Ze(!0),qn(!1)):(qn(!1),Ut("error"),Ot(null==(J=null==e?void 0:e.data)?void 0:J.response))}else qn(!1)}}}else if(mt)if(va){gi=e*(null==(Z=null==jt?void 0:jt[0])?void 0:Z.TaxPercentage)/(100+(null==(ee=null==jt?void 0:jt[0])?void 0:ee.TaxPercentage)),Ci(Math.abs(Ea-Da).toFixed(2));let t=Ea-Da>=0?"monthly"===Wn?_a:Oa:"monthly"===Wn?30:365;if(Ia/ri*pt-Da>=0){let n,i=null==At?void 0:At.map((e=>e.UniqueId)),a={UserId:xt,AppId:null==(te=null==jt?void 0:jt[0])?void 0:te.AppId,PricingId:Aa||(null==(ne=null==jt?void 0:jt[0])?void 0:ne.PricingId),CompId:null==(ie=null==At?void 0:At[0])?void 0:ie.CompId,PurDate:Gn,PaymentMode:27,PaymentStatus:"P",LicenseStatus:"A",Price:Ea-Da>=0?0:e-gi,TaxId:null==(ae=null==jt?void 0:jt[0])?void 0:ae.TaxId,TaxAmount:Ea-Da>=0?0:gi,NetPrice:Ea-Da>=0?0:e,ValidityStart:Gn,ValidityEnd:nr(Gn,t),NoofDays:t,oldUniqueId:i,Debit:0,Credit:0,CreatedBy:xt,Reason:ya||"",PaymentType:va||""};if("annual"==Wn)if(Da>(null==(re=null==At?void 0:At[0])?void 0:re.ExistingPlanNetPrice)){if(n=await nt(eT(a)),1==(null==(le=null==(se=null==n?void 0:n.payload)?void 0:se.data)?void 0:le.statusCode)){let e={PaymentStatus:"S",UniqueId:null==(de=null==(oe=null==n?void 0:n.payload)?void 0:oe.data)?void 0:de.BookingId,UpdatedBy:xt},t=await nt(tT(e)).unwrap();1==(null==(ce=null==t?void 0:t.data)?void 0:ce.statusCode)?(qn(!1),it(`${iR}setting/purchaseinfo`)):(qn(!1),Ut("error"),Ot(null==(ue=null==t?void 0:t.data)?void 0:ue.response))}}else if(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)||Tr===(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)||Er<=(null==ia?void 0:ia.length)||kr<=0&&Tr<=0&&Er<=0){if(0!=Fr&&0!=Br&&0!=Pr||kr<=0&&Tr<=0&&Er<=0){if(n=await nt(eT(a)),null==(pe=null==n?void 0:n.data)?void 0:pe.SMSbody){const e={body:null==(Ae=null==n?void 0:n.data)?void 0:Ae.SMSbody};await nt(aw(e))}if(1==(null==(fe=null==(he=null==n?void 0:n.payload)?void 0:he.data)?void 0:fe.statusCode)){let e={PaymentStatus:"S",UniqueId:null==(ve=null==(me=null==n?void 0:n.payload)?void 0:me.data)?void 0:ve.BookingId,UpdatedBy:xt},t=await nt(tT(e)).unwrap();1==(null==(ge=null==t?void 0:t.data)?void 0:ge.statusCode)?(qn(!1),it(`${iR}setting/purchaseinfo`)):(qn(!1),Ut("error"),Ot(null==(ye=null==t?void 0:t.data)?void 0:ye.response))}}}else Ut("error"),Ot("Deactive features");if("monthly"==Wn)if(Da>(null==(xe=null==At?void 0:At[0])?void 0:xe.ExistingPlanNetPrice)){if(n=await nt(eT(a)),1==(null==(we=null==(be=null==n?void 0:n.payload)?void 0:be.data)?void 0:we.statusCode)){let e={PaymentStatus:"S",UniqueId:null==(Ce=null==(je=null==n?void 0:n.payload)?void 0:je.data)?void 0:Ce.BookingId,UpdatedBy:xt},t=await nt(tT(e)).unwrap();if(1==(null==(Se=null==t?void 0:t.data)?void 0:Se.statusCode)){if(null==(Ne=null==t?void 0:t.data)?void 0:Ne.UserMail){const e={UniqueId:null==(Ie=null==t?void 0:t.data)?void 0:Ie.UniqueId,userData:null==(Fe=null==t?void 0:t.data)?void 0:Fe.userData,messageTemplatesList:null==(Be=null==t?void 0:t.data)?void 0:Be.messageTemplatesList,UserMail:null==(Pe=null==t?void 0:t.data)?void 0:Pe.UserMail,PaymentStatus:null==(ke=null==t?void 0:t.data)?void 0:ke.PaymentStatus};await nt(UE(e))}if(null==(Te=null==t?void 0:t.data)?void 0:Te.SMSbody){const e={body:null==(Ee=null==t?void 0:t.data)?void 0:Ee.SMSbody};await nt(aw(e))}qn(!1),it(`${iR}setting/purchaseinfo`)}else qn(!1),Ut("error"),Ot(null==(De=null==t?void 0:t.data)?void 0:De.response)}}else if(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)||Tr===(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)||Er<=(null==ia?void 0:ia.length)||kr<=0&&Tr<=0&&Er<=0){if((0!=Fr&&0!=Br&&0!=Pr||kr<=0&&Tr<=0&&Er<=0)&&(n=await nt(eT(a)),1==(null==(Ue=null==(Le=null==n?void 0:n.payload)?void 0:Le.data)?void 0:Ue.statusCode))){let e={PaymentStatus:"S",UniqueId:null==(Oe=null==(_e=null==n?void 0:n.payload)?void 0:_e.data)?void 0:Oe.BookingId,UpdatedBy:xt},t=await nt(tT(e)).unwrap();1==(null==(Me=null==t?void 0:t.data)?void 0:Me.statusCode)?(qn(!1),it(`${iR}setting/purchaseinfo`)):(qn(!1),Ut("error"),Ot(null==(Re=null==t?void 0:t.data)?void 0:Re.response))}}else Ut("error"),Ot("Deactive features");if(1==(null==(He=null==(Qe=null==n?void 0:n.payload)?void 0:Qe.data)?void 0:He.statusCode)){let e={PaymentStatus:"S",UniqueId:null==(ze=null==(Ve=null==n?void 0:n.payload)?void 0:Ve.data)?void 0:ze.BookingId,UpdatedBy:xt},t=await nt(tT(e)).unwrap();1==(null==(qe=null==t?void 0:t.data)?void 0:qe.statusCode)?(qn(!1),it(`${iR}setting/purchaseinfo`)):(qn(!1),Ut("error"),Ot(null==(We=null==t?void 0:t.data)?void 0:We.response));let i=[],a=[],r=[];null==ia||ia.map((e=>{var t,n,i,a,s,l;return null==r?void 0:r.push({UserId:null==(n=null==(t=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:n.UserId,CompId:null==(a=null==(i=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:i[0])?void 0:a.CompId,BranchId:null==(l=null==(s=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:s[0])?void 0:l.BranchId,AppId:rt})})),null==ta||ta.map((e=>{var t,n,i,r;return null==a?void 0:a.push({BranchId:null==(n=null==(t=null==ki?void 0:ki.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:n.BrId,CompId:null==(r=null==(i=null==ki?void 0:ki.filter(((t,n)=>n===e)))?void 0:i[0])?void 0:r.CompId})})),null==Zi||Zi.map((e=>{var t,n;return null==i?void 0:i.push({CompId:null==(n=null==(t=null==Bi?void 0:Bi.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:n.CompId})}));let s={UniqueId:null==(Ke=null==(Ye=null==n?void 0:n.payload)?void 0:Ye.data)?void 0:Ke.BookingId,PostData:[{User:null==r?void 0:r.map((e=>({UserId:e.UserId,CompId:e.CompId,BranchId:e.BranchId,AppId:e.AppId}))),Company:null==i?void 0:i.map((e=>({CompId:e.CompId}))),Branch:null==a?void 0:a.map((e=>({BranchId:e.BranchId,CompId:e.CompId})))}]};if("annual"==Wn&&Da<Ia&&(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)||Er===(null==ia?void 0:ia.length))){let e=await nt(TE(s)).unwrap();if(1==(null==(Ge=null==e?void 0:e.data)?void 0:Ge.statusCode)){let e=await nt(EE({UniqueId:null==(Je=null==($e=null==n?void 0:n.payload)?void 0:$e.data)?void 0:Je.BookingId})).unwrap();1==(null==(et=null==e?void 0:e.data)?void 0:et.statusCode)?(Ze(!0),qn(!1),it(`${iR}setting/purchaseinfo`)):(qn(!1),Ut("error"),Ot(null==(tt=null==e?void 0:e.data)?void 0:tt.response))}else qn(!1),Ut("error"),Ot(null==(at=null==e?void 0:e.data)?void 0:at.response)}else if("monthly"==Wn&&Da<Ia&&(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)||Er===ia.length)){let e=await nt(TE(s)).unwrap();if(1==(null==(st=null==e?void 0:e.data)?void 0:st.statusCode)){let e=await nt(EE({UniqueId:null==(ot=null==(lt=null==n?void 0:n.payload)?void 0:lt.data)?void 0:ot.BookingId})).unwrap();1==(null==(dt=null==e?void 0:e.data)?void 0:dt.statusCode)?(Ze(!0),qn(!1),it(`${iR}landing-page/home`)):(qn(!1),Ut("error"),Ot(null==(ct=null==e?void 0:e.data)?void 0:ct.response))}else qn(!1),Ut("error"),Ot(null==(ut=null==e?void 0:e.data)?void 0:ut.response)}}}else{let n,i=null==At?void 0:At.map((e=>e.UniqueId)),a={UserId:xt,AppId:null==(ht=null==jt?void 0:jt[0])?void 0:ht.AppId,PricingId:Aa||(null==(ft=null==jt?void 0:jt[0])?void 0:ft.PricingId),CompId:null==(vt=null==At?void 0:At[0])?void 0:vt.CompId,PurDate:Gn,PaymentMode:27,PaymentStatus:"P",LicenseStatus:"A",Price:Ea-Da>=0?0:e-gi,TaxId:null==(gt=null==jt?void 0:jt[0])?void 0:gt.TaxId,TaxAmount:Ea-Da>=0?0:gi,NetPrice:Ea-Da>=0?0:e,ValidityStart:Gn,ValidityEnd:nr(Gn,t),NoofDays:t,oldUniqueId:i,Debit:0,Credit:0,CreatedBy:xt,Reason:ya||"",PaymentType:va||""};if("annual"==Wn)if(Da>(null==(yt=null==At?void 0:At[0])?void 0:yt.ExistingPlanNetPrice)){if(n=await nt(eT(a)),null==(bt=null==n?void 0:n.data)?void 0:bt.SMSbody){const e={body:null==(wt=null==n?void 0:n.data)?void 0:wt.SMSbody};await nt(aw(e))}if(1==(null==(St=null==(Ct=null==n?void 0:n.payload)?void 0:Ct.data)?void 0:St.statusCode)){let e={PaymentStatus:"S",UniqueId:null==(It=null==(Nt=null==n?void 0:n.payload)?void 0:Nt.data)?void 0:It.BookingId,UpdatedBy:xt},t=await nt(tT(e)).unwrap();1==(null==(Ft=null==t?void 0:t.data)?void 0:Ft.statusCode)?(qn(!1),it(`${iR}setting/purchaseinfo`)):(qn(!1),Ut("error"),Ot(null==(Bt=null==t?void 0:t.data)?void 0:Bt.response))}}else if(kr===(null==Zi?void 0:Zi.length)&&Tr>=(null==ta?void 0:ta.length)&&Er>=(null==ia?void 0:ia.length)||Er>=(null==ia?void 0:ia.length)||Tr<=(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)){if(n=await nt(eT(a)),null==(Pt=null==n?void 0:n.data)?void 0:Pt.SMSbody){const e={body:null==(kt=null==n?void 0:n.data)?void 0:kt.SMSbody};await nt(aw(e))}if(1==(null==(Lt=null==(Et=null==n?void 0:n.payload)?void 0:Et.data)?void 0:Lt.statusCode)){let e={PaymentStatus:"S",UniqueId:null==(Mt=null==(_t=null==n?void 0:n.payload)?void 0:_t.data)?void 0:Mt.BookingId,UpdatedBy:xt},t=await nt(tT(e)).unwrap();1==(null==(Rt=null==t?void 0:t.data)?void 0:Rt.statusCode)?(qn(!1),it(`${iR}setting/purchaseinfo`)):(qn(!1),Ut("error"),Ot(null==(Qt=null==t?void 0:t.data)?void 0:Qt.response))}}else Ut("error"),Ot("Deactive features");if("monthly"==Wn)if(Da>(null==(Ht=null==At?void 0:At[0])?void 0:Ht.ExistingPlanNetPrice)){if(n=await nt(eT(a)),null==(Vt=null==n?void 0:n.data)?void 0:Vt.SMSbody){const e={body:null==(zt=null==n?void 0:n.data)?void 0:zt.SMSbody};await nt(aw(e))}if(1==(null==(Wt=null==(qt=null==n?void 0:n.payload)?void 0:qt.data)?void 0:Wt.statusCode)){let e={PaymentStatus:"S",UniqueId:null==(Kt=null==(Yt=null==n?void 0:n.payload)?void 0:Yt.data)?void 0:Kt.BookingId,UpdatedBy:xt},t=await nt(tT(e)).unwrap();1==(null==(Gt=null==t?void 0:t.data)?void 0:Gt.statusCode)?(qn(!1),it(`${iR}setting/purchaseinfo`)):(qn(!1),Ut("error"),Ot(null==($t=null==t?void 0:t.data)?void 0:$t.response))}}else if(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)||Er===(null==ia?void 0:ia.length)||kr<=0&&Tr<=0&&Er<=0)if(0!=Fr&&0!=Br&&0!=Pr||kr<=0&&Tr<=0&&Er<=0){if(n=await nt(eT(a)),null==(Xt=null==n?void 0:n.data)?void 0:Xt.SMSbody){const e={body:null==(Jt=null==n?void 0:n.data)?void 0:Jt.SMSbody};await nt(aw(e))}if(1==(null==(en=null==(Zt=null==n?void 0:n.payload)?void 0:Zt.data)?void 0:en.statusCode)){let e={PaymentStatus:"S",UniqueId:null==(nn=null==(tn=null==n?void 0:n.payload)?void 0:tn.data)?void 0:nn.BookingId,UpdatedBy:xt},t=await nt(tT(e)).unwrap();1==(null==(an=null==t?void 0:t.data)?void 0:an.statusCode)?(qn(!1),it(`${iR}setting/purchaseinfo`)):(qn(!1),Ut("error"),Ot(null==(rn=null==t?void 0:t.data)?void 0:rn.response))}}else{if(0==Fr&&0==Br&&0==Pr||(n=await nt(eT(a))),n=await nt(eT(a)),null==(sn=null==n?void 0:n.data)?void 0:sn.SMSbody){const e={body:null==(ln=null==n?void 0:n.data)?void 0:ln.SMSbody};await nt(aw(e))}qn(!1)}else Ut("error"),Ot("Deactive features");if(1==(null==(dn=null==(on=null==n?void 0:n.payload)?void 0:on.data)?void 0:dn.statusCode)){Tt(null==(un=null==(cn=null==n?void 0:n.payload)?void 0:cn.data)?void 0:un.BookingId),Dt(null==(An=null==(pn=null==n?void 0:n.payload)?void 0:pn.data)?void 0:An.OrderId),Xe(!0);let e=[],t=[],i=[];null==ia||ia.map((e=>{var t,n,a,r,s,l;return i.push({UserId:null==(n=null==(t=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:n.UserId,CompId:null==(r=null==(a=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:a[0])?void 0:r.CompId,BranchId:null==(l=null==(s=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:s[0])?void 0:l.BranchId,AppId:rt})})),null==ta||ta.map((e=>{var n,i,a,r;return t.push({BranchId:null==(i=null==(n=null==ki?void 0:ki.filter(((t,n)=>n===e)))?void 0:n[0])?void 0:i.BrId,CompId:null==(r=null==(a=null==ki?void 0:ki.filter(((t,n)=>n===e)))?void 0:a[0])?void 0:r.CompId})})),null==Zi||Zi.map((t=>{var n,i;return e.push({CompId:null==(i=null==(n=null==Bi?void 0:Bi.filter(((e,n)=>n===t)))?void 0:n[0])?void 0:i.CompId})}));let a={UniqueId:null==(fn=null==(hn=null==n?void 0:n.payload)?void 0:hn.data)?void 0:fn.BookingId,PostData:[{User:null==i?void 0:i.map((e=>({UserId:e.UserId,CompId:e.CompId,BranchId:e.BranchId,AppId:e.AppId}))),Company:null==e?void 0:e.map((e=>({CompId:e.CompId}))),Branch:null==t?void 0:t.map((e=>({BranchId:e.BranchId,CompId:e.CompId})))}]};if("annual"==Wn&&Da<Ia&&(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)||Er===(null==ia?void 0:ia.length))){let e=await nt(TE(a)).unwrap();1==(null==(mn=null==e?void 0:e.data)?void 0:mn.statusCode)?(Ze(!0),qn(!1),it(`${iR}setting/purchaseinfo`)):(qn(!1),Ut("error"),Ot(null==(vn=null==e?void 0:e.data)?void 0:vn.response))}else if("monthly"==Wn&&Da<Ia&&(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)||Er===(null==ia?void 0:ia.length))){let e=await nt(TE(a)).unwrap();1==(null==(gn=null==e?void 0:e.data)?void 0:gn.statusCode)?(Ze(!0),qn(!1),it(`${iR}setting/purchaseinfo`)):(qn(!1),Ut("error"),Ot(null==(yn=null==e?void 0:e.data)?void 0:yn.response))}else qn(!1)}}}else Ut("error"),Ot("Please Choose Payment Type");else{gi=e*(null==(xn=null==jt?void 0:jt[0])?void 0:xn.TaxPercentage)/(100+(null==(bn=null==jt?void 0:jt[0])?void 0:bn.TaxPercentage)),Ci(Math.abs(Ea-Da).toFixed(2));let t=Ea-Da>=0?"monthly"===Wn?_a:Oa:"monthly"===Wn?30:365;if(Ia/ri*pt-Da>=0){let n,i=null==At?void 0:At.map((e=>e.UniqueId)),a={UserId:xt,AppId:null==(wn=null==jt?void 0:jt[0])?void 0:wn.AppId,PricingId:Aa||(null==(jn=null==jt?void 0:jt[0])?void 0:jn.PricingId),CompId:null==(Cn=null==At?void 0:At[0])?void 0:Cn.CompId,PurDate:Gn,PaymentMode:27,PaymentStatus:"P",LicenseStatus:"A",Price:Ea-Da>=0?0:e-gi,TaxId:null==(Sn=null==jt?void 0:jt[0])?void 0:Sn.TaxId,TaxAmount:Ea-Da>=0?0:gi,NetPrice:Ea-Da>=0?0:e,ValidityStart:Gn,ValidityEnd:nr(Gn,t),NoofDays:t,oldUniqueId:i,Debit:0,Credit:0,CreatedBy:xt};if("annual"==Wn)if(Da>(null==(Nn=null==At?void 0:At[0])?void 0:Nn.ExistingPlanNetPrice)){if(n=await nt(eT(a)),null==(In=null==n?void 0:n.data)?void 0:In.SMSbody){const e={body:null==(Fn=null==n?void 0:n.data)?void 0:Fn.SMSbody};await nt(aw(e))}}else kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)||Tr===(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)||Er<=(null==ia?void 0:ia.length)||kr<=0&&Tr<=0&&Er<=0?(0!=Fr&&0!=Br&&0!=Pr||kr<=0&&Tr<=0&&Er<=0)&&(n=await nt(eT(a))):(Ut("error"),Ot("Deactive features"));if("monthly"==Wn&&(Da>(null==(Bn=null==At?void 0:At[0])?void 0:Bn.ExistingPlanNetPrice)?n=await nt(eT(a)):kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)||Tr===(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)||Er<=(null==ia?void 0:ia.length)||kr<=0&&Tr<=0&&Er<=0?(0!=Fr&&0!=Br&&0!=Pr||kr<=0&&Tr<=0&&Er<=0)&&(n=await nt(eT(a))):(Ut("error"),Ot("Deactive features"))),1==(null==(kn=null==(Pn=null==n?void 0:n.payload)?void 0:Pn.data)?void 0:kn.statusCode)){let e={PaymentStatus:"S",UniqueId:null==(En=null==(Tn=null==n?void 0:n.payload)?void 0:Tn.data)?void 0:En.BookingId,UpdatedBy:xt},t=await nt(tT(e)).unwrap();1==(null==(Dn=null==t?void 0:t.data)?void 0:Dn.statusCode)?(it(`${iR}landing-page/home`),qn(!1)):(qn(!1),Ut("error"),Ot(null==(Ln=null==t?void 0:t.data)?void 0:Ln.response));let i=[],a=[],r=[];null==ia||ia.map((e=>{var t,n,i,a,s,l;return null==r?void 0:r.push({UserId:null==(n=null==(t=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:n.UserId,CompId:null==(a=null==(i=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:i[0])?void 0:a.CompId,BranchId:null==(l=null==(s=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:s[0])?void 0:l.BranchId,AppId:rt})})),null==ta||ta.map((e=>{var t,n,i,r;return null==a?void 0:a.push({BranchId:null==(n=null==(t=null==ki?void 0:ki.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:n.BrId,CompId:null==(r=null==(i=null==ki?void 0:ki.filter(((t,n)=>n===e)))?void 0:i[0])?void 0:r.CompId})})),null==Zi||Zi.map((e=>{var t,n;return null==i?void 0:i.push({CompId:null==(n=null==(t=null==Bi?void 0:Bi.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:n.CompId})}));let s={UniqueId:null==(_n=null==(Un=null==n?void 0:n.payload)?void 0:Un.data)?void 0:_n.BookingId,PostData:[{User:null==r?void 0:r.map((e=>({UserId:e.UserId,CompId:e.CompId,BranchId:e.BranchId,AppId:e.AppId}))),Company:null==i?void 0:i.map((e=>({CompId:e.CompId}))),Branch:null==a?void 0:a.map((e=>({BranchId:e.BranchId,CompId:e.CompId})))}]};if("annual"==Wn&&Da<Ia&&(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)||Er===(null==ia?void 0:ia.length))){let e=await nt(TE(s)).unwrap();if(1==(null==(On=null==e?void 0:e.data)?void 0:On.statusCode)){let e=await nt(EE({UniqueId:null==(Rn=null==(Mn=null==n?void 0:n.payload)?void 0:Mn.data)?void 0:Rn.BookingId})).unwrap();1==(null==(Qn=null==e?void 0:e.data)?void 0:Qn.statusCode)?(Ze(!0),qn(!1)):(qn(!1),Ut("error"),Ot(null==(Hn=null==e?void 0:e.data)?void 0:Hn.response))}else qn(!1),Ut("error"),Ot(null==(Vn=null==e?void 0:e.data)?void 0:Vn.response)}else if("monthly"==Wn&&Da<Ia&&(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)||Er===ia.length)){let e=await nt(TE(s)).unwrap();if(1==(null==(zn=null==e?void 0:e.data)?void 0:zn.statusCode)){let e=await nt(EE({UniqueId:null==(Kn=null==(Yn=null==n?void 0:n.payload)?void 0:Yn.data)?void 0:Kn.BookingId})).unwrap();1==(null==($n=null==e?void 0:e.data)?void 0:$n.statusCode)?(Ze(!0),qn(!1)):(qn(!1),Ut("error"),Ot(null==(Xn=null==e?void 0:e.data)?void 0:Xn.response))}else qn(!1),Ut("error"),Ot(null==(Jn=null==e?void 0:e.data)?void 0:Jn.response)}}}else{let n,i=null==At?void 0:At.map((e=>e.UniqueId)),a={UserId:xt,AppId:null==(Zn=null==jt?void 0:jt[0])?void 0:Zn.AppId,PricingId:Aa||(null==(ei=null==jt?void 0:jt[0])?void 0:ei.PricingId),CompId:null==(ti=null==At?void 0:At[0])?void 0:ti.CompId,PurDate:Gn,PaymentMode:27,PaymentStatus:"P",LicenseStatus:"A",Price:Ea-Da>=0?0:e-gi,TaxId:null==(ni=null==jt?void 0:jt[0])?void 0:ni.TaxId,TaxAmount:Ea-Da>=0?0:gi,NetPrice:Ea-Da>=0?0:e,ValidityStart:Gn,ValidityEnd:nr(Gn,t),NoofDays:t,oldUniqueId:i,Debit:0,Credit:0,CreatedBy:xt};if("annual"==Wn&&(Da>(null==(ii=null==At?void 0:At[0])?void 0:ii.ExistingPlanNetPrice)||kr===(null==Zi?void 0:Zi.length)&&Tr>=(null==ta?void 0:ta.length)&&Er>=(null==ia?void 0:ia.length)||Er>=(null==ia?void 0:ia.length)||Tr<=(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)?(n=await nt(eT(a)),qn(!1)):(Ut("error"),Ot("Deactive features"))),"monthly"==Wn&&(Da>(null==(ai=null==At?void 0:At[0])?void 0:ai.ExistingPlanNetPrice)?(n=await nt(eT(a)),qn(!1)):kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)||Er===(null==ia?void 0:ia.length)||kr<=0&&Tr<=0&&Er<=0?0!=Fr&&0!=Br&&0!=Pr||kr<=0&&Tr<=0&&Er<=0?(n=await nt(eT(a)),qn(!1)):(0==Fr&&0==Br&&0==Pr||(n=await nt(eT(a))),n=await nt(eT(a)),qn(!1)):(Ut("error"),Ot("Deactive features"))),1==(null==(li=null==(si=null==n?void 0:n.payload)?void 0:si.data)?void 0:li.statusCode)){Tt(null==(di=null==(oi=null==n?void 0:n.payload)?void 0:oi.data)?void 0:di.BookingId),Dt(null==(ui=null==(ci=null==n?void 0:n.payload)?void 0:ci.data)?void 0:ui.OrderId),Xe(!0);let e=[],t=[],i=[];null==ia||ia.map((e=>{var t,n,a,r,s,l;return i.push({UserId:null==(n=null==(t=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:n.UserId,CompId:null==(r=null==(a=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:a[0])?void 0:r.CompId,BranchId:null==(l=null==(s=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:s[0])?void 0:l.BranchId,AppId:rt})})),null==ta||ta.map((e=>{var n,i,a,r;return t.push({BranchId:null==(i=null==(n=null==ki?void 0:ki.filter(((t,n)=>n===e)))?void 0:n[0])?void 0:i.BrId,CompId:null==(r=null==(a=null==ki?void 0:ki.filter(((t,n)=>n===e)))?void 0:a[0])?void 0:r.CompId})})),null==Zi||Zi.map((t=>{var n,i;return e.push({CompId:null==(i=null==(n=null==Bi?void 0:Bi.filter(((e,n)=>n===t)))?void 0:n[0])?void 0:i.CompId})}));let a={UniqueId:null==(Ai=null==(pi=null==n?void 0:n.payload)?void 0:pi.data)?void 0:Ai.BookingId,PostData:[{User:null==i?void 0:i.map((e=>({UserId:e.UserId,CompId:e.CompId,BranchId:e.BranchId,AppId:e.AppId}))),Company:null==e?void 0:e.map((e=>({CompId:e.CompId}))),Branch:null==t?void 0:t.map((e=>({BranchId:e.BranchId,CompId:e.CompId})))}]};if("annual"==Wn&&Da<Ia&&(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)||Er===(null==ia?void 0:ia.length))){let e=await nt(TE(a)).unwrap();1==(null==(hi=null==e?void 0:e.data)?void 0:hi.statusCode)?(Ze(!0),qn(!1)):(qn(!1),Ut("error"),Ot(null==(fi=null==e?void 0:e.data)?void 0:fi.response))}else if("monthly"==Wn&&Da<Ia&&(kr===(null==Zi?void 0:Zi.length)&&Tr===(null==ta?void 0:ta.length)||Er===(null==ia?void 0:ia.length))){let e=await nt(TE(a)).unwrap();1==(null==(mi=null==e?void 0:e.data)?void 0:mi.statusCode)?(Ze(!0),qn(!1)):(qn(!1),Ut("error"),Ot(null==(vi=null==e?void 0:e.data)?void 0:vi.response))}else qn(!1)}}}})(Math.abs(Ea-Da).toFixed(2)),buttonText:"SAVE"}),Ye.jsx("div",{style:{display:"none"},children:Ye.jsx(_M,{printingdata:di,CompanyName:Gt,zipcode:Xt,address:Zt,City:tn})}),Ye.jsx(Qy,{messageType:Lt,messageData:_t,onComplete:Ur}),Ye.jsxs("div",{className:"breadCrumbClass",style:{alignItems:"center"},children:[Ye.jsxs("div",{style:{padding:"1rem 0rem"},onClick:()=>it(`${iR}`),children:[" ",Ye.jsx("img",{style:{width:"70px"},src:cE,alt:""})," "]}),Ye.jsxs("div",{className:"tooltip",children:[Ye.jsx("p",{"data-letters":bi?(null==bi?void 0:bi.slice(0,1))+(null==bi?void 0:bi.slice(-1)):"GU",style:{textTransform:"uppercase",fontFamily:"Gilroy"}}),Ye.jsx("span",{className:"tooltiptext",style:{fontFamily:"Gilroy"},children:bi||Bt})]})]}),Ye.jsx("div",{className:"invoice-detail-bg",children:Ye.jsxs("div",{className:"invoice-detail-div",children:[Ye.jsxs("div",{className:"Invoice-detail-cont",children:[Ye.jsxs("div",{style:{padding:"0.5rem 2rem"},children:[Ye.jsxs("p",{className:"invoice-1st-txt",children:[" ","Flexible & transparent pricing"," "]}),Ye.jsxs("div",{className:"invoice-2nd-txt",style:{display:"flex",alignItems:"center"},children:["No Contracts. No surprise fees.  "," ",Ye.jsx("p",{children:" Pay less by using more"}),"   "," ",Ye.jsxs("p",{style:{textDecoration:"underline",color:"#1292EE",fontSize:"14px",cursor:"pointer",display:"flex",alignItems:"center",gap:"0.2rem"},onClick:()=>{Vn(!Hn)},children:["Feature Details ",Ye.jsx(UO,{})," "]})]}),Hn&&Ye.jsxs("div",{className:"invoice-drop-items",children:[Ye.jsx("div",{className:"invoice-4th-row",children:Ye.jsxs("div",{style:{display:"flex",overflow:"auto",width:"max-content"},children:[Ye.jsxs("table",{style:{display:"inline-block",borderCollapse:"collapse",border:"1px solid #ddd",borderRadius:"5px",width:"inherit",overflow:"hidden",margin:"0 10px"},children:[Ye.jsx("thead",{style:{background:"#faebd7"},children:Ye.jsxs("tr",{children:[Ye.jsx("th",{style:{border:"1px solid #ddd",padding:"8px",textAlign:"left"},children:"Feature Name"}),Ye.jsx("th",{style:{border:"1px solid #ddd",padding:"8px",textAlign:"left"},children:"Constraint"})]})}),Ye.jsx("tbody",{children:null==(de=null==bt?void 0:bt.slice(0,Math.ceil((null==bt?void 0:bt.length)/3)))?void 0:de.map(((e,t)=>Ye.jsxs("tr",{children:[Ye.jsx("td",{style:{border:"1px solid #ddd",padding:"8px",textAlign:"left"},children:Ye.jsx("div",{children:null==e?void 0:e.FeatName})}),Ye.jsx("td",{style:{border:"1px solid #ddd",padding:"8px",textAlign:"center"},children:0===(null==e?void 0:e.FeatConstraint)?Ye.jsx(gE,{style:{color:"#52C41A",fontSize:"16px"}}):null==e?void 0:e.FeatConstraint})]},t)))})]}),(null==bt?void 0:bt.length)>1&&Ye.jsxs("table",{style:{display:"inline-block",borderCollapse:"collapse",border:"1px solid #ddd",borderRadius:"5px",width:"inherit",overflow:"hidden",margin:"0 10px"},children:[Ye.jsx("thead",{style:{background:"#faebd7"},children:Ye.jsxs("tr",{children:[Ye.jsx("th",{style:{border:"1px solid #ddd",padding:"8px",textAlign:"left"},children:"Feature Name"}),Ye.jsx("th",{style:{border:"1px solid #ddd",padding:"8px",textAlign:"left"},children:"Constraint"})]})}),Ye.jsx("tbody",{children:null==(ce=null==bt?void 0:bt.slice(Math.ceil((null==bt?void 0:bt.length)/3),Math.ceil(2*(null==bt?void 0:bt.length)/3)))?void 0:ce.map(((e,t)=>Ye.jsxs("tr",{children:[Ye.jsx("td",{style:{border:"1px solid #ddd",padding:"8px",textAlign:"left"},children:Ye.jsx("div",{children:null==e?void 0:e.FeatName})}),Ye.jsx("td",{style:{border:"1px solid #ddd",padding:"8px",textAlign:"center"},children:0===(null==e?void 0:e.FeatConstraint)?Ye.jsx(gE,{style:{color:"#52C41A",fontSize:"16px"}}):null==e?void 0:e.FeatConstraint})]},t)))})]}),(null==bt?void 0:bt.length)>2&&Ye.jsxs("table",{style:{display:"inline-block",borderCollapse:"collapse",border:"1px solid #ddd",borderRadius:"5px",width:"inherit",overflow:"hidden",margin:"0 10px"},children:[Ye.jsx("thead",{style:{background:"#faebd7"},children:Ye.jsxs("tr",{children:[Ye.jsx("th",{style:{border:"1px solid #ddd",padding:"8px",textAlign:"left"},children:"Feature Name"}),Ye.jsx("th",{style:{border:"1px solid #ddd",padding:"8px",textAlign:"left"},children:"Constraint"})]})}),Ye.jsx("tbody",{children:null==(ue=null==bt?void 0:bt.slice(Math.ceil(2*(null==bt?void 0:bt.length)/3)))?void 0:ue.map(((e,t)=>Ye.jsxs("tr",{children:[Ye.jsx("td",{style:{border:"1px solid #ddd",padding:"8px",textAlign:"left"},children:Ye.jsx("div",{children:null==e?void 0:e.FeatName})}),Ye.jsx("td",{style:{border:"1px solid #ddd",padding:"8px",textAlign:"center"},children:0===(null==e?void 0:e.FeatConstraint)?Ye.jsx(gE,{style:{color:"#52C41A",fontSize:"16px"}}):null==e?void 0:e.FeatConstraint})]},t)))})]})]})}),!$e&&(null==(pe=null==Li?void 0:Li[0])?void 0:pe.FeatDetails.length)>0&&Ye.jsx("div",{className:"ttt",onClick:er,style:{paddingTop:"185px"},children:Ye.jsx(Ry,{type:"submit",buttonText:"Feature-Addon",className:"sbmt-btn",handleSubmit:er,icon:Ye.jsx(k,{})})})]})]}),Ye.jsx("div",{className:"Invoice-details-bg",children:Ye.jsx("div",{className:"Invoice-details-pricedetails",children:!We&&Ye.jsx("div",{className:"pricedetails-div",children:Ye.jsx("div",{style:{background:" ",display:"flex",flexDirection:"row",justifyContent:"space-around"},children:Ye.jsxs("div",{style:{background:" ",display:"flex",flexDirection:"column",rowGap:"1rem"},children:[Ye.jsxs("div",{style:{backgroundColor:"#52c41a2e",padding:"1rem 1rem",borderRadius:"10px",display:"flex",flexDirection:"row",rowGap:"2rem",justifyContent:"space-between"},children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",rowGap:"0.2rem"},children:[Ye.jsxs("div",{style:{display:"flex",fontFamily:"Gilroy",fontSize:"clamp(18px, 2.5vw, 25px)",fontWeight:"600",color:"green",borderRadius:"3px",alignItems:"center",columnGap:"0.2rem"},children:[Ye.jsx(OO,{}),gt?null==(Ae=null==ft?void 0:ft[0])?void 0:Ae.PricingName:jt&&jt.length>0?null==(he=jt[0])?void 0:he.PricingName:0," ","/"," ",gt?30===(null==(fe=null==ft?void 0:ft[0])?void 0:fe.NoOfDays)?Ye.jsx("p",{style:{fontFamily:"gilroy"},children:" Monthly"}):Ye.jsx("p",{style:{fontFamily:"gilroy"},children:"Yearly"}):jt&&jt.length>0?30===(null==(me=jt[0])?void 0:me.NoOfDays)?Ye.jsx("p",{style:{fontFamily:"gilroy"},children:" Monthly"}):Ye.jsx("p",{style:{fontFamily:"gilroy"},children:"Yearly"}):null,Ye.jsxs("div",{style:{marginLeft:"10rem",paddingRight:"1rem"},children:[(null==ja?void 0:ja.length)<1&&Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",label:"Refferal Id",className:"EmpID",id:"EmpID",field:"EmpID",onChange:async function(e){var t,n,i,a,r;if(Na([]),8==(null==(t=null==e?void 0:e.target)?void 0:t.value.length)){wa(null==(n=null==e?void 0:e.target)?void 0:n.value);let t=await nt(OE({referralCode:null==(i=null==e?void 0:e.target)?void 0:i.value,MobileNo:iA("MobileNo")})).unwrap();1==(null==(a=null==t?void 0:t.data)?void 0:a.statusCode)?Na(null==(r=null==t?void 0:t.data)?void 0:r.data):(Ut("error"),Ot(t.data.response))}else Ut("error"),Ot("Enter 8 Digit Code")}}),Ye.jsxs("div",{children:[(null==(ve=null==Sa?void 0:Sa[0])?void 0:ve.UserName)?Ye.jsxs("p",{style:{fontFamily:"gilroy",fontSize:"15px"},children:["Username : ",null==(ge=null==Sa?void 0:Sa[0])?void 0:ge.UserName]}):"",(null==(ye=null==Sa?void 0:Sa[0])?void 0:ye.MobileNo)?Ye.jsxs("p",{style:{fontFamily:"gilroy",fontSize:"15px"},children:["MobileNo : ",null==(xe=null==Sa?void 0:Sa[0])?void 0:xe.MobileNo]}):""]})]})]}),Ye.jsxs("div",{children:[Ye.jsxs("div",{style:{display:"flex",alignItems:"center",columnGap:"0.5rem",color:"green"},children:[Ye.jsx("p",{style:{fontSize:"clamp(16px, 2.5vw, 20px)",fontWeight:"500"},children:gt||jt&&jt.length>0?(null==Mi?void 0:Mi.length)>0?Ye.jsxs(Ye.Fragment,{children:["₹ ",(Qi||0)+(ji||0)]}):Ye.jsxs(Ye.Fragment,{children:["₹ ",ji-ua>=0?ji-ua:0,ji-ua>=0&&ua>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("span",{children:" + "}),Ye.jsx(nR,{color:"#d78300",size:"1rem",width:"40px"}),Ye.jsx("span",{children:ji>ua?ua:ua-(ua-ji)})]})]}):"₹ 0.00"}),Ye.jsx("p",{children:" to Pay "})]}),(null==(be=null==ft?void 0:ft[0])?void 0:be.BalanceCommissionAmount)>0?Ye.jsx("div",{className:"wallet-option-container",children:Ye.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:["Free"!=(null==(we=null==At?void 0:At[0])?void 0:we.PricingName)&&Ye.jsx(V,{onChange:e=>{var t;mi(e.target.checked),e.target.checked?pa(null==(t=null==ft?void 0:ft[0])?void 0:t.BalanceCommissionAmount):pa(0)},checked:fi,style:{color:"#292fff",fontSize:"15px",fontWeight:"900"},children:"Pay Using Credit points"}),Ye.jsxs("p",{style:{fontSize:"13px",fontWeight:"900",display:"flex",alignItems:"center",gap:"5px"},children:[" ",Ye.jsx(nR,{color:"#d78300",size:"1rem",width:"40px"})," Available Balance: ",ji>ua?(null==(je=null==ft?void 0:ft[0])?void 0:je.BalanceCommissionAmount)-(ji>ua?ua:ua-ji):ji>ua?ua:ua-ji]})]})}):""]})]}),Ye.jsxs("div",{children:[Ye.jsx("div",{className:gn?"NoError":"ShowError",children:(null==(Se=null==St?void 0:St[0])?void 0:Se.MailId)?Ye.jsx("p",{style:{fontSize:"clamp(16px, 2.5vw, 17px)",fontWeight:"500",color:"green"},children:null==(Ne=null==St?void 0:St[0])?void 0:Ne.MailId}):Ye.jsxs("div",{children:[Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",label:"Email",className:"mailInpt",id:"Email",field:"Email",onChange:function(e){var t,n,i;i=null==(t=null==e?void 0:e.target)?void 0:t.value,/^[a-zA-Z0-9._%+-]{1,64}@[a-zA-Z0-9.-]{1,255}\.[a-zA-Z]{2,}$/.test(i)?(yn(!0),Xa(null==(n=null==e?void 0:e.target)?void 0:n.value)):yn(!1)}}),gn||null!==on?"":Ye.jsx("p",{style:{color:"#FF4D4F",fontSize:"12px",marginTop:"28px"},children:"Enter Valid Email"})]})}),Ye.jsxs("div",{style:{display:"flex",alignItems:"center",columnGap:"0.2rem",fontSize:"20px",fontWeight:"600",color:"green"},children:[Ye.jsx(ny,{}),Ye.jsxs("p",{style:{fontFamily:"Poppins",fontSize:"clamp(16px, 2.5vw, 20px)",fontWeight:"500",color:"green",borderRadius:"3px",padding:"6px 0 0 0"},children:[" ",(null==St?void 0:St.length)>0?null==(Ie=null==St?void 0:St[0])?void 0:Ie.MobileNo:""]})]}),Ye.jsxs("div",{style:{display:"flex",justifyContent:"flex-end",textDecoration:"underline",color:"green",fontSize:"12px",cursor:"pointer",columnGap:"0.2rem",alignItems:"center"},onClick:()=>{Qn(!Rn)},children:["More Info ",Ye.jsx(dE,{})," "]}),Rn&&Ye.jsx(Ye.Fragment,{children:Ye.jsx(SP,{open:Rn,footer:!1,children:Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:"1rem"},className:"adduserinfo",children:[Ye.jsx("div",{children:Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",label:"Company / Billing Name",id:"organization",field:"organization",value:Gt,isOnChange:!!Gt,onChange:e=>(async e=>{var t;$t(null==(t=null==e?void 0:e.target)?void 0:t.value)})(e)})}),Ye.jsx("div",{className:Cn?"NoError":"ShowError",children:Ye.jsxs("div",{children:[Ye.jsx(My,{field:"Address",autoComplete:"off",label:"Address",fieldState:!0,fieldApi:!0,value:Zt,isOnChange:!!Zt,onChange:e=>(async e=>{var t;en(null==(t=null==e?void 0:e.target)?void 0:t.value),Sn(!0)})(e)}),Cn?"":Ye.jsx("p",{style:{color:"#FF4D4F",fontSize:"12px",margin:"-10px 0px 0px 13px"},children:"Enter Address"})]})}),Ye.jsx("div",{className:mn?"NoError":"ShowError",children:Ye.jsxs("div",{children:[Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",type:"numeric",label:"GST",value:Nn,isOnChange:!!Nn,onChange:e=>{var t,n;return 15===(null==(n=null==(t=null==e?void 0:e.target)?void 0:t.value)?void 0:n.length)&&(null==yi?void 0:yi.test(n))?(vn(!0),Ga(n)):0===(null==n?void 0:n.length)?vn(!0):vn(!1),void Ga(n)}}),mn?"":Ye.jsx("p",{style:{color:"#FF4D4F",fontSize:"12px",margin:"-10px 0px 0px 13px"},children:"Enter Valid Gst"})]})}),Ye.jsx("div",{className:hn?"NoError":"ShowError",children:Ye.jsxs("div",{children:[Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",type:"numeric",label:"Zip",maxLength:"6",value:Xt,isOnChange:!!Xt,onChange:e=>{var t;return Za(null==(t=null==e?void 0:e.target)?void 0:t.value)}}),hn?"":Ye.jsx("p",{style:{color:"#FF4D4F",fontSize:"12px",margin:"-10px 0px 0px 13px"},children:"Enter Valid Zipcode"})]})}),Ye.jsx("div",{className:xn?"NoError":"ShowError",children:Ye.jsxs("div",{children:[Ye.jsx(Oy,{fieldState:tn||!1,fieldApi:!0,autocomplete:"off",label:"City",id:"city",field:"city",onChange:e=>{var t;return(async e=>{var t;nn(null==(t=null==e?void 0:e.target)?void 0:t.value),bn(!0)})(null==(t=null==e?void 0:e.target)?void 0:t.value)},value:tn,isOnChange:!!tn,disabled:!!tn}),xn?"":Ye.jsx("p",{style:{color:"#FF4D4F",fontSize:"12px",margin:"-10px 0px 0px 13px"},children:"Enter City"})]})}),Ye.jsx("div",{className:wn?"NoError":"ShowError",children:Ye.jsxs("div",{children:[Ye.jsx(Oy,{fieldState:sn||!1,fieldApi:!0,autocomplete:"off",label:"State",id:"state",field:"state",onChange:e=>{var t;return(async e=>{var t;ln(null==(t=null==e?void 0:e.target)?void 0:t.value),jn(!0)})(null==(t=null==e?void 0:e.target)?void 0:t.value)},value:sn,isOnChange:!!sn,disabled:!!sn}),wn?"":Ye.jsx("p",{style:{color:"#FF4D4F",fontSize:"12px",margin:"-10px 0px 0px 13px"},children:"Enter State"})]})})]})})}),handleCancel:()=>{Qn(!1)}})})]})]}),(gt?Qi>0:ji-ua>0)?Ye.jsx("div",{style:{background:" "},children:Ye.jsxs("div",{className:"Invoice-PaymentOption-MasterDiv",children:[Ye.jsxs("div",{className:"Invoice-PaymentOption-Div",children:[Ye.jsx("div",{className:"Invoice-PaymentOption",style:{},children:"Payment options"}),null==Fn?void 0:Fn.map(((e,t)=>Ye.jsxs("div",{className:"Invoice-PaymentOptions",style:{borderLeft:Pn===t?"5px solid #52C41A":"none",backgroundColor:Pn===t?" #52c41a2e":" ",color:Pn===t?" #000":" "},onClick:()=>{var e,n;kn(t),Ln(null==(e=null==Fn?void 0:Fn[t])?void 0:e.Details),En("UPI"==(null==(n=null==Fn?void 0:Fn[t])?void 0:n.MethodName)?t:void 0)},children:[Ye.jsxs("div",{children:["EMI"==(null==e?void 0:e.MethodName)&&Ye.jsx("img",{src:RM,alt:"emi"}),"CreditCard"==(null==e?void 0:e.MethodName)&&Ye.jsx("img",{src:QM,alt:"CrediCard"}),"DebitCard"==(null==e?void 0:e.MethodName)&&Ye.jsx("img",{src:HM,alt:"DebitCard"}),"NetBanking"==(null==e?void 0:e.MethodName)&&Ye.jsx("img",{src:zM,alt:"NetBanking"}),"CashCard"==(null==e?void 0:e.MethodName)&&Ye.jsx("img",{src:VM,alt:"CashCard"}),"Wallet"==(null==e?void 0:e.MethodName)&&Ye.jsx("img",{src:qM,alt:"Wallet"}),"UPI"==(null==e?void 0:e.MethodName)&&Ye.jsx("img",{src:WM,alt:"Wallet"})]}),Ye.jsxs("div",{className:"paymentoptions",children:[Ye.jsx("div",{style:{fontSize:"16px"},children:null==e?void 0:e.MethodName}),Ye.jsx("div",{style:{fontSize:"10px",fontWeight:"400",fontFamily:"Poppins"},children:"Google Pay PhonePe & More"})]})]},t)))]}),Ye.jsx("div",{className:"Invoice-PaymentProcess-Div",children:null!=Pn&&Ye.jsxs("div",{className:"Invoice-PaymentProcess-UPI",children:["UPI"!=(null==(Fe=null==Fn?void 0:Fn[Pn])?void 0:Fe.CardType)&&Ye.jsx(zb,{placeholder:"CRDC"==(null==(Be=null==Fn?void 0:Fn[Pn])?void 0:Be.CardType)||"DBCRD"==(null==(Pe=null==Fn?void 0:Fn[Pn])?void 0:Pe.CardType)?"Search Your Card":"WLT"==(null==(ke=null==Fn?void 0:Fn[Pn])?void 0:ke.CardType)?"Search Your Wallet":"Search Your Bank",onSearchChange:e=>{var t,n;let i=null==(t=null==Fn?void 0:Fn[Pn])?void 0:t.Details,a=null==(n=null==e?void 0:e.target)?void 0:n.value.toLowerCase(),r=i.filter((e=>e.cardName.toLowerCase().startsWith(a)));Ln(r)},prefix:Ye.jsx(WO,{})}),Ye.jsx("div",{className:"Invoice-PaymentProcess-UPI-collapse",children:"UPI"!=(null==(Te=null==Fn?void 0:Fn[Pn])?void 0:Te.CardType)&&Ye.jsx(ee,{items:tr,defaultActiveKey:["1"]})}),Ye.jsxs("div",{className:"Invoice-PaymentProcess-UPI-body",children:[Ye.jsxs("div",{className:"OverallAMtCount",children:["INR"," ",gt||jt&&jt.length>0?(null==Mi?void 0:Mi.length)>0?(Qi||0)+(ji||0):Ye.jsxs(Ye.Fragment,{children:["₹ ",ji-ua>=0?ji-ua:0,ji-ua>=0&&ua>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("span",{children:"+"}),Ye.jsx(nR,{color:"#d78300",size:"1rem",width:"40px"}),Ye.jsx("span",{children:ji>ua?ua:ua-(ua-ji)})]})]}):"₹ 0.00"]}),Ye.jsx("div",{className:"pricedetails-prcedbutton",children:Ye.jsxs("div",{children:[Ye.jsx(Ry,{type:"submit",buttonText:"PROCEED TO PAY",className:"sbmt-btn",handleSubmit:gt?async()=>{var e,t,n,i,a,r,s,l,o,d,c,u,p;if(!on)return Ot("Enter Mail Id"),void Ut("warning");let A={PayOpt:null==(e=null==Fn?void 0:Fn[Pn])?void 0:e.PayOpt,CardType:null==(t=null==Fn?void 0:Fn[Pn])?void 0:t.CardType,cardName:"UPI"!==(null==(n=null==Fn?void 0:Fn[Pn])?void 0:n.CardType)?On:"UPI"};const h={BookingId:null==(i=null==At?void 0:At[0])?void 0:i.UniqueId,Price:Qi||0,TaxId:(null==(a=null==Mi?void 0:Mi[0])?void 0:a.TaxId)??0,TaxAmount:null==Mi?void 0:Mi.reduce(((e,t)=>e+parseFloat(t.TaxAmount||0)),0),NetPrice:Qi-ua>=0?Qi-ua:0,OrderId:0,Type:"I",Details:Mi,CreatedBy:iA("UserId"),CommissionAmount:Qi>ua?ua:ua-(ua-Qi)};if((null==A?void 0:A.PayOpt)&&(null==A?void 0:A.CardType)&&(null==A?void 0:A.cardName)){let e=await nt(BT(h));if(1===(null==(s=null==(r=null==e?void 0:e.payload)?void 0:r.data)?void 0:s.statusCode)){const t=document.createElement("form");t.method="POST",t.action=`${rR}/ccavRequestHandler`,t.style.display="none";const n={merchant_id:"15191",order_id:null==(o=null==(l=null==e?void 0:e.payload)?void 0:l.data)?void 0:o.OrderId,currency:"INR",amount:Qi-ua>=0?Qi-ua:0,redirect_url:"https://pozo.app/CustomPaymentGateway/CustomPaymentGateway/ccavResponseHandler",cancel_url:"https://pozo.app/CustomPaymentGateway/CustomPaymentGateway/ccavResponseHandler",payment_option:null==(d=null==Fn?void 0:Fn[Pn])?void 0:d.PayOpt,card_type:null==(c=null==Fn?void 0:Fn[Pn])?void 0:c.CardType,card_name:"UPI"!==(null==(u=null==Fn?void 0:Fn[Pn])?void 0:u.CardType)?On:"UPI",data_accept:Un,language:"EN",billing_name:null!=Gt?Gt:"User",billing_address:null!=Zt?Zt:"xyz",billing_city:null!=tn?tn:"xyz",billing_state:null!=sn?sn:"xyz",billing_zip:null!=Xt?Xt:"000000",billing_country:"India",billing_tel:iA("MobileNo"),billing_email:on,delivery_name:"F",delivery_address:"N",delivery_city:null!=an?an:"xyz",delivery_state:"",delivery_zip:"O",delivery_country:"India",delivery_tel:(null==yi?void 0:yi.test(Nn))?Nn:null,merchant_param1:iA("SessionId"),merchant_param2:kt,merchant_param3:iA("UserId"),merchant_param4:"",merchant_param5:"PaymentHandler.html",promo_code:"",customer_identifier:""};null==(p=Object.keys(n))||p.forEach((e=>{const i=document.createElement("input");i.type="hidden",i.name=e,i.value=ir(n[e]),t.appendChild(i)})),document.body.appendChild(t),t.submit()}else Ot("Select Payment option"),Ut("warning")}}:async()=>{var e,t,n,i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P,k,T,E,D,L,U;let _={PayOpt:null==(e=null==Fn?void 0:Fn[Pn])?void 0:e.PayOpt,CardType:null==(t=null==Fn?void 0:Fn[Pn])?void 0:t.CardType,cardName:"UPI"!=(null==(n=null==Fn?void 0:Fn[Pn])?void 0:n.CardType)?On:"UPI"},O=new Date;var M=new Date,R=M.setDate(M.getDate()+parseInt(jt!=[]?null==(i=null==jt?void 0:jt[0])?void 0:i.NoOfDays:0));let Q={};if(Q.UserId=xt,Q.AppId=iA("AppId"),Q.PricingId=Aa||(null==(a=null==jt?void 0:jt[0])?void 0:a.PricingId),Q.PurDate=tA(O),Q.NoofDays=jt!=[]?null==(r=null==jt?void 0:jt[0])?void 0:r.NoOfDays:0,Q.PaymentMode=27,Q.PaymentStatus="P",Q.LicenseStatus="A",Q.Price=(null==Mi?void 0:Mi.length)>0?Vi+(jt!=[]?null==(s=null==jt?void 0:jt[0])?void 0:s.Price:0):jt!=[]?null==(l=null==jt?void 0:jt[0])?void 0:l.Price:0,Q.TaxId=jt!=[]?null==(o=null==jt?void 0:jt[0])?void 0:o.TaxId:0,Q.NetPrice=(null==Mi?void 0:Mi.length)>0?Qi+(jt!=[]?null==(d=null==jt?void 0:jt[0])?void 0:d.NetPrice:0):jt!=[]?(null==(c=null==jt?void 0:jt[0])?void 0:c.NetPrice)-ua<=0?0:(null==(u=null==jt?void 0:jt[0])?void 0:u.NetPrice)-ua:0,Q.ValidityStart=tA(O),Q.ValidityEnd=tA(new Date(R)),Q.CreatedBy=iA("UserId"),Q.TaxAmount=(null==Mi?void 0:Mi.length)>0?Hi+(jt!=[]?null==(p=null==jt?void 0:jt[0])?void 0:p.TaxAmount:0):jt!=[]?null==(A=null==jt?void 0:jt[0])?void 0:A.TaxAmount:0,Q.MobileNo=Bt,Q.MailId=on,Q.Gst=(null==yi?void 0:yi.test(Nn))?Nn:null,Q.BillingName=Gt,Q.Zip=xi.test(Xt)?Xt:null,Q.City=tn,Q.State=sn,Q.Address=Zt,Q.District=an,Q.ReferredBy=null==(h=null==Sa?void 0:Sa[0])?void 0:h.UserId,Q.ReferralCode=ba,Q.UserType=null==(f=null==Sa?void 0:Sa[0])?void 0:f.UserType,Q.CommissionAmount=ji>ua?ua:ua-(ua-ji),(null==Mi?void 0:Mi.length)>0&&(Q.Details=Mi),null!=on){let e={};if(null!=(null==_?void 0:_.PayOpt)&&null!=(null==_?void 0:_.CardType)&&null!=(null==_?void 0:_.cardName)&&void 0!==Tn)if($e)if($e&&null!=kt){const e=document.createElement("form");e.method="POST",e.action=`${rR}/ccavRequestHandler`,e.style.display="none";const t={merchant_id:"15191",order_id:Et,currency:"INR",amount:(null==(P=null==jt?void 0:jt[0])?void 0:P.NetPrice)-ua<=0?0:(null==(k=null==jt?void 0:jt[0])?void 0:k.NetPrice)-ua,redirect_url:"https://pozo.app/CustomPaymentGateway/CustomPaymentGateway/ccavResponseHandler",cancel_url:"https://pozo.app/CustomPaymentGateway/CustomPaymentGateway/ccavResponseHandler",payment_option:null==(T=null==Fn?void 0:Fn[Pn])?void 0:T.PayOpt,card_type:null==(E=null==Fn?void 0:Fn[Pn])?void 0:E.CardType,card_name:"UPI"!=(null==(D=null==Fn?void 0:Fn[Pn])?void 0:D.CardType)?On:"UPI",data_accept:Un,language:"EN",billing_name:null!=Gt?Gt:"User",billing_address:null!=Zt?Zt:"xyz",billing_city:null!=tn?tn:"xyz",billing_state:null!=sn?sn:"xyz",billing_zip:null!=Xt?Xt:"000000",billing_country:"India",billing_tel:iA("MobileNo"),billing_email:on,delivery_name:"N",delivery_address:Je?"Y":"N",delivery_city:null!=an?an:"xyz",delivery_state:"monthly"==Wn?Ar:dr,delivery_zip:"N",delivery_country:"India",delivery_tel:"",merchant_param1:iA("SessionId"),merchant_param2:kt,merchant_param3:iA("UserId"),merchant_param4:null==(L=null==jt?void 0:jt[0])?void 0:L.PricingName,merchant_param5:"paymentHandler.html",promo_code:"",customer_identifier:""};null==(U=Object.keys(t))||U.forEach((n=>{const i=document.createElement("input");i.type="hidden",i.name=n,i.value=ir(t[n]),e.appendChild(i)})),document.body.appendChild(e),e.submit()}else Ut("error"),Ot("Something Went Wrong");else if(e=await nt(IE(Q)).unwrap(),1==(null==(m=null==e?void 0:e.data)?void 0:m.statusCode)){Tt(null==(v=null==e?void 0:e.data)?void 0:v.BookingId),Dt(null==(g=null==e?void 0:e.data)?void 0:g.OrderId);const t=document.createElement("form");t.method="POST",t.action=`${rR}/ccavRequestHandler`,t.style.display="none";const n={merchant_id:"15191",order_id:null==(y=null==e?void 0:e.data)?void 0:y.OrderId,currency:"INR",amount:(null==Mi?void 0:Mi.length)>0?Qi+(jt!=[]?null==(x=null==jt?void 0:jt[0])?void 0:x.NetPrice:0):jt!=[]?(null==(b=null==jt?void 0:jt[0])?void 0:b.NetPrice)-ua<=0?0:(null==(w=null==jt?void 0:jt[0])?void 0:w.NetPrice)-ua:0,redirect_url:"https://pozo.app/CustomPaymentGateway/CustomPaymentGateway/ccavResponseHandler",cancel_url:"https://pozo.app/CustomPaymentGateway/CustomPaymentGateway/ccavResponseHandler",payment_option:null==(j=null==Fn?void 0:Fn[Pn])?void 0:j.PayOpt,card_type:null==(C=null==Fn?void 0:Fn[Pn])?void 0:C.CardType,card_name:"UPI"!=(null==(S=null==Fn?void 0:Fn[Pn])?void 0:S.CardType)?On:"UPI",data_accept:Un,language:"EN",billing_name:null!=Gt?Gt:"User",billing_address:null!=Zt?Zt:"xyz",billing_city:null!=tn?tn:"xyz",billing_state:null!=sn?sn:"xyz",billing_zip:null!=Xt?Xt:"000000",billing_country:"India",billing_tel:iA("MobileNo"),billing_email:on,delivery_name:(null==Mi?void 0:Mi.length)>0?"F":"N",delivery_address:Je?"Y":"N",delivery_city:null!=an?an:"xyz",delivery_state:"monthly"==Wn?Ar:dr,delivery_zip:"O",delivery_country:"India",delivery_tel:(null==yi?void 0:yi.test(Nn))?Nn:null,merchant_param1:iA("SessionId"),merchant_param2:null==(N=null==e?void 0:e.data)?void 0:N.BookingId,merchant_param3:iA("UserId"),merchant_param4:null==(I=null==jt?void 0:jt[0])?void 0:I.PricingName,merchant_param5:"paymentHandler.html",promo_code:"",customer_identifier:""};null==(F=Object.keys(n))||F.forEach((e=>{const i=document.createElement("input");i.type="hidden",i.name=e,i.value=ir(n[e]),t.appendChild(i)})),document.body.appendChild(t),t.submit()}else Ut("error"),Ot(null==(B=null==e?void 0:e.data)?void 0:B.response);else Ut("error"),Ot("Please Select the Payment")}else yn(!1),Ut("error"),Ot("Please Enter Email")},icon:Ye.jsx(k,{})}),Ye.jsxs("a",{className:"prcdPay",children:["By proceeding, you agree to our Privacy Policy"," "]})]})})]})]})})]})}):Ye.jsxs("div",{children:[Ye.jsx("p",{style:{textAlign:"center"},children:"You No Need To Pay"}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(Ry,{type:"submit",buttonText:"PROCEED TO PAY",className:"sbmt-btn",handleSubmit:async()=>{var e,t,n,i,a,r,s,l,o,d,c,u,p,A,h,f,m;let v=null==At?void 0:At.map((e=>e.UniqueId)),g=new Date;var y=new Date,x=y.setDate(y.getDate()+parseInt(jt!=[]?null==(e=null==jt?void 0:jt[0])?void 0:e.NoOfDays:0));let b={};b.UserId=xt,b.AppId=iA("AppId"),b.PricingId=Aa||(null==(t=null==jt?void 0:jt[0])?void 0:t.PricingId),b.PurDate=tA(g),b.NoofDays=jt!=[]?null==(n=null==jt?void 0:jt[0])?void 0:n.NoOfDays:0,b.PaymentMode=27,b.PaymentStatus="P",b.LicenseStatus="A",b.Price=0,b.TaxId=jt!=[]?null==(i=null==jt?void 0:jt[0])?void 0:i.TaxId:0,b.NetPrice=0,b.ValidityStart=tA(g),b.ValidityEnd=tA(new Date(x)),b.CreatedBy=iA("UserId"),b.TaxAmount=0,b.MobileNo=Bt,b.MailId=on,b.Gst=(null==yi?void 0:yi.test(Nn))?Nn:null,b.BillingName=Gt,b.Zip=xi.test(Xt)?Xt:null,b.City=tn,b.State=sn,b.Address=Zt,b.District=an,b.ReferredBy=null==(a=null==Sa?void 0:Sa[0])?void 0:a.UserId,b.ReferralCode=ba,b.oldUniqueId=v,b.UserType=null==(r=null==Sa?void 0:Sa[0])?void 0:r.UserType,b.CommissionAmount=ji>ua?ua:ua-(ua-ji),(null==Mi?void 0:Mi.length)>0&&(b.Details=Mi);let w=Ea-Da>=0?"monthly"===Wn?_a:Oa:"monthly"===Wn?30:365,j={UserId:xt,AppId:null==(s=null==jt?void 0:jt[0])?void 0:s.AppId,PricingId:Aa||(null==(l=null==jt?void 0:jt[0])?void 0:l.PricingId),CompId:null==(o=null==At?void 0:At[0])?void 0:o.CompId,PurDate:Gn,PaymentMode:27,PaymentStatus:"S",LicenseStatus:"A",Price:0,TaxId:null==(d=null==jt?void 0:jt[0])?void 0:d.TaxId,TaxAmount:0,NetPrice:0,ValidityStart:Gn,ValidityEnd:nr(Gn,w),NoofDays:w,oldUniqueId:v,Debit:0,Credit:0,CreatedBy:xt};if(null!=on){let e;if("Extend Pack"!=(null==La?void 0:La.status)&&void 0!==(null==(c=null==At?void 0:At[0])?void 0:c.ExistingPlanNetPrice)){let e=await nt(eT(b)).unwrap();if(1==(null==(u=null==e?void 0:e.data)?void 0:u.statusCode)){let t={PaymentStatus:"S",UniqueId:null==(p=null==e?void 0:e.data)?void 0:p.BookingId,UpdatedBy:xt},n=await nt(tT(t)).unwrap();if(1==(null==(A=null==n?void 0:n.data)?void 0:A.statusCode)&&it(`${iR}landing-page/home`),null==(h=null==n?void 0:n.data)?void 0:h.SMSbody){const e={body:null==(f=null==n?void 0:n.data)?void 0:f.SMSbody};await nt(aw(e))}}}else e=await nt(IE(j)).unwrap();1==(null==(m=null==e?void 0:e.data)?void 0:m.statusCode)&&it(`${iR}landing-page/home`)}else yn(!1),Ut("error"),Ot("Please Enter Email")},icon:Ye.jsx(k,{})})})]})]})})})})}),Ye.jsxs("div",{children:["Faq1"==(null==(Ee=qe.Faq)?void 0:Ee[0])&&Ye.jsx(XM,{data:qe.Faq[1]}),"Faq2"==(null==(De=qe.Faq)?void 0:De[0])&&Ye.jsx(eR,{data:qe.Faq[1]})]})]}),"Footer1"==(null==(Le=qe.Footer)?void 0:Le[0])&&Ye.jsx(YM,{data:qe.Footer[1]}),"Footer2"==(null==(Ue=qe.Footer)?void 0:Ue[0])&&Ye.jsx(OM,{data:qe.Footer[1]})]})}),Ye.jsx(j,{title:Ye.jsxs("p",{className:"logodiv",children:[Ye.jsx("img",{className:"logoStyle",src:cE,alt:"logo"}),"PAYMENT OPTIONS"," "]}),centered:!0,open:Ke,onCancel:()=>Va(),width:1200,children:Ye.jsx("div",{className:"Pay_options-div",children:Ye.jsxs(R,{children:[Ye.jsx(Q,{children:Ye.jsx("div",{className:"Pay_options",children:Ye.jsxs("div",{className:"Pay_options-fields",children:[It?null:Ye.jsxs("div",{className:"Pay_options-imgfield",children:[(null==pn?void 0:pn.length)>1&&Ye.jsx("div",{className:"Upi-imgfield",children:null==pn?void 0:pn.map(((e,t)=>e?Ye.jsxs("button",{className:"Upi-img",id:ui===e.PaymentUPIDetailsId?"activeData":null,children:[" ",Ye.jsx("img",{src:"Paytm"===e.ModeName?UM:"GooglePay"===e.ModeName?LM:"PhonePay"===e.ModeName?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAbCAYAAABiFp9rAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMCSURBVHgB3VZbSBRRGP5mZ90bmrqlRmpG7aJF5uWhhG7kk1ApUr4rVFQQQQ+BURDRS0U9SIQ9VBI9lJllRFAPZiIhdDHt4qqs4a6klmu7667uZS6dM4I2OzPrPqQPfjAwc85/zvef7/vPmcOIongaQBqWFr0MIfpBXjZgadGkwzJh5RHpEw0UBRHB6SgC3ghMFj1WWY3Q6RiASWx8fCIRcA350N48gu/dk/B5whAIoY5hkGI1wFacjvLDebCXWMEw8Rk1q46LCuhqc+PxTQf4qCiRGsys1C7w4nwcyzLYXZ2LmlMFYPWaTqhXHc8LaGlw4OGN/jkSunSjDievFqP2QiFIcv/EiuhocaGxvkeSVwsKIjpJ13M3OlpdMv25iIBH1x0oLMvAlu1rFBN9efcbT245ZEnEJfJPhvHirlM1eGwkiOaGflQetYFR0aKzdRSuAb/qWEUxdL0cxbQnMr8aI/GlrCJ7IYAkbE5OIp5sxoQriI/t4wj4IlJXJMTj/eufyCtIXZxouM8rk8xkYVF1zA5zil6SL0oevUGHfTXrEQpyGPzsmSei4wY+TUnyxVahQoDZACf79k1GcLbyDcaGA3h2ewjnDr3FvUt9Uty1492kPSiLn5oIIRoWYqdVORlivSSJhWc54gkDnhOkVdCHYibIKzYsx8nLX5OITYIqaOnq2LlZqXRasBD/jCZW0a7wKNuWgqEeuU90Nc5vXpQTXyh2VKzTPHo2bk0Fwyo7FamV7F0LfVKMkYSorXEQv1yzOFBnQ3qmCWqgRVC8J0u1T0GUX7p6LuMYmQO+KBrOfEB9dQfuX/6q9JLAVpSOwp2ZSIiI4uAROzJyLMoOWhhkr3Acj9AMT0xfqC5zsh6157dJJ7saNA9V96Afdy72YnwkqBxECOkBSvcVJbeQPXbiSinsRVZooCnunSES5vHqwTA6n7rhnwrLNiH1w0Cqb1dVLvbXbUJymhFx0JTQ5cTrCcHZ64Wz74/klYXIlJO/SvIki0i82L8oYaL/gBV4C1o2/AU8e0B5qELRzQAAAABJRU5ErkJggg==":null,className:"Upi-imgG",alt:e.ModeName,onClick:()=>Ja(e.mode)})," "]}):null))}),"or",Ye.jsxs("button",{className:"switch-pay-btn",onClick:()=>{Ft(!0)},children:[" ","Get UPI Link ",Ye.jsx(k,{})," "]}),Ye.jsxs("h",{className:"timersec",children:[" ",Ye.jsx(nD,{})," ",vi,":",gi," "]})]}),It?Ye.jsxs("div",{className:"Pay_options-inpfield",children:[Ye.jsx(I,{ref:et,onFinish:async()=>{var e,t;let n=`${aR}${iR}payment-page?paymentId=${kt}&Id=${ui}`,i=await nt(Xb({MobileNo:Bt,url:n})).unwrap();1===(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&(Ut("success"),zt(!0),Wt(!0),Ot(null==(t=null==i?void 0:i.data)?void 0:t.response),Ht(60))},children:Ye.jsxs("div",{className:"inputfieldstyle",children:[Ye.jsx(I.Item,{name:"MobileNo",hasFeedback:!0,rules:[{required:!0}],children:Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",type:"numeric",onChange:async e=>{var t,n,i;10===(null==(n=null==(t=null==e?void 0:e.target)?void 0:t.value)?void 0:n.length)&&Pt(null==(i=null==e?void 0:e.target)?void 0:i.value)},label:"Mobile Number",id:"MobileNo",field:"MobileNo",maxlength:"10",suffix:Ye.jsx(sg,{className:"site-form-item-icon "})})}),Ye.jsx("div",{className:"prcd-btn",children:Ye.jsx(Ry,{type:"submit",buttonText:!0===qt?"ReSend UPI Link":"Send UPI Link",disabled:Vt,icon:Ye.jsx(k,{})})})]})}),Ye.jsx("div",{children:"(or)"}),Ye.jsxs("button",{className:"switch-pay-btn",onClick:()=>{Ft(!1)},children:[" ","SCAN & PAY ",Ye.jsx(k,{})," "]}),Ye.jsx("a",{className:"tc-apply",children:" *Terms & Conditions apply ! "}),(null==pn?void 0:pn.length)>1&&Ye.jsx("div",{className:"Upi-imgfield",children:null==pn?void 0:pn.map(((e,t)=>e?Ye.jsxs("button",{className:"Upi-img",id:ui===e.PaymentUPIDetailsId?"activeData":null,children:[" ",Ye.jsx("img",{src:"Paytm"===e.ModeName?UM:"GooglePay"===e.ModeName?LM:"PhonePay"===e.ModeName?"PhonePay":null,className:"Upi-imgG",alt:e.ModeName,onClick:()=>Ja(e.PaymentUPIDetailsId)})," "]}):null))}),Ye.jsxs("h",{className:"timersec",children:[" ","Remaining Time ",Ye.jsx(nD,{})," ",vi,":",gi," "]})]}):null]})})}),Ye.jsx(Q,{lg:{span:8,offset:1},children:Ye.jsx("div",{className:"Pay_options",children:Ye.jsxs("div",{className:"Pay_options-fields",children:[Ye.jsx("div",{className:"Pay_options-imgfield"}),Ye.jsxs("div",{className:"Invoice-cont",children:[Yt?Ye.jsx("img",{src:"/assets/successtick2-a67c3273.png",className:"success-img"}):null,Yt?Ye.jsxs("div",{className:"Invoice-cont-headcont",children:[Ye.jsx("p",{className:"Invoice-cont-head",children:" Payment Success ! "}),Ye.jsxs("p",{className:"Invoice-cont-sub",children:[" ","Your payment has been successfully done !"]})]}):null,Yt?null:Ye.jsx("img",{src:cE,className:"success-img"}),Yt?null:Ye.jsx("div",{className:"Invoice-cont-headcont",children:Ye.jsx("p",{className:"Invoice-cont-head",children:" Purchase Invoice "})}),Ye.jsx("hr",{className:"new2"}),Ye.jsxs("div",{className:"Invoice-Amtdetails",children:[Ye.jsxs("div",{className:"Invoice-Amtdetail-txt",children:[Ye.jsx("p",{children:" Amount "}),Ye.jsxs("p",{children:[" ",jt!=[]?null==(_e=null==jt?void 0:jt[0])?void 0:_e.Price:0]})]}),(null==(Oe=null==jt?void 0:jt[0])?void 0:Oe.TaxAmount)?Ye.jsxs("div",{className:"Invoice-Amtdetail-txt",children:[Ye.jsx("p",{children:" Tax "}),Ye.jsxs("p",{children:[" ",jt!=[]&&null!=(null==(Me=null==jt?void 0:jt[0])?void 0:Me.TaxAmount)?null==(Re=null==jt?void 0:jt[0])?void 0:Re.TaxAmount:0]})]}):null,Ye.jsxs("div",{className:"Invoice-Amtdetail-txt",children:[Ye.jsx("p",{className:"Invoice-AmPay",children:"Net Amount"}),Ye.jsxs("p",{className:"Invoice-AmPay",children:[" ",jt!=[]?null==(Qe=null==jt?void 0:jt[0])?void 0:Qe.NetPrice:0," "]})]})]}),Ye.jsx("hr",{className:"new3"})]}),Yt?Ye.jsxs("button",{className:"Invoice-dwld-btn",onClick:async()=>{await sA("Pdfbody","<style>\n*{\n font-family:Poppins;\n}\n.Pdf-body{ \n background-color: #33585c1f;\n height: 100%;\n margin: 0vw 0vh;\n padding: 1vw 2vh;\n}\n\n@media *{\n element.class {\n font-family: \"Courier New\";\n font-size: 10pt;\n }\n /* You can add additional styles here which you need */\n}\n\n.Pdf-Div{\n padding: 1vw 1vh;\n background-color:rgb(255, 255, 255);\n border-radius: 8px; \n position: relative;\n z-index: 1;\n display: flex;\n flex-wrap: wrap;\n justify-content: space-around; \n}\n\n.Pdf-head-div{\n padding: 0vw 1vh;\n color: #2b2b2b;\n}\n\n.Pdf-head{\n font-size:45px;\n font-weight:600; \n color: #000000; \n line-height: 0;\n}\n\n.headlogo-img{ \nwidth: 70px;\n}\n\n.Pdf-amt-digit{\nfont-weight:600;\n}\n.square {\n height: 240px;\n width: 240px;\n // background-color: #851764; \n background-color: #f5f5f5; \n border-radius: 5%;\n display: inline-block; \n position: relative;\n z-index: -1; \n margin-top: -18rem;\n margin-left: -2rem;\n}\n\n.Pdf-Cont-Div{\n background-color: #ffffff; \n padding: 0vw 2vh; \n \n}\n\n.Pdf-cont{\n // background-color: #33585c1f; \n margin: 0vw 0vh;\n padding: 0vw 0vh;\n display: flex; \n // flex-wrap: wrap;\n row-gap: 1rem;\n justify-content: space-evenly; \n}\n\n.Pdf-amt-details{\n text-align: right;\n}\n\n\n.Pdf-cont-txt{\n padding: 0vw 1vh; \n}\n\n.Pdf-cont-subhead{\n font-size:20px;\n font-weight: 500;\n}\n\n.Pdf-cont-text{\n font-size:14px;\n}\n\n\n\n.Pdf-Table-Div{\n background-color: #ffffff; \n padding: 3vw 0vh; \n \n}\n\n\n.Pdf-Table-Div table {\n // border: 1px solid #ccc;\n border-collapse: collapse;\n margin: 0;\n padding: 0;\n width: 100%;\n table-layout: fixed;\n font-family:'Poppins';\n}\n\n.Pdf-Table-Div table caption {\n font-size: 1.2em;\n margin: .0em 0 .95em;\n padding: 1vw 3vh;\n font-family: 'Poppins' !important;\n text-transform: uppercase;\n font-weight:600;\n letter-spacing:3px;\n background-color: #f5f5f5;\n}\n\n.Pdf-Table-Div table tr {\n\n padding: .35em;\n}\n\n.Pdf-Table-Div table th,\n.Pdf-Table-Div table td {\n padding: 1vw 1vh; \n text-align: center;\n}\n\n.Pdf-Table-Div table th {\n font-size: .85em;\n letter-spacing: .1em;\n text-transform: uppercase;\n}\n\n\n.table-2div{ \n text-align: right;\n display: flex;\n flex-wrap: wrap;\n flex-direction: column;\n}\n\n.table-cont2{\n display: flex;\n justify-content: space-evenly;\n}\n\n.Pdf-footer-div{\n background-color: #ffffff; \n padding: 0vw 0vh; \n display: flex;\n flex-wrap: wrap;\n row-gap: 2rem;\n justify-content: center;\n}\n\n.Pdf-footer-subdiv{\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n row-gap: 0rem;\n align-items: center;\n width:300px;\n justify-content: space-around;\n\n}\n.Pdf-footer-txt1{\n font-size:18px;\n width: 500px;\n font-weight: 600; \n}\n\n.Pdf-footer-txt{\n font-size:13px;\n width: 500px;\n}\n\n.Pdf-footer-subdiv-txt-div{ \n justify-content: space-evenly;\n font-size: 15px;\n}\n\n.Pdf-footer-subdiv-txt{\n display: flex;\n align-items: center;\n text-align: left;\n line-height: 0;\n justify-content: start; \n \n}\n\n\n.logo-img{\n padding: 1vw 1vh;\n}\n\n@media screen and (max-width: 600px) {\n .Pdf-Table-Div table {\n border: 0;\n }\n\n .Pdf-Table-Div table caption {\n font-size: 1.3em;\n }\n \n .Pdf-Table-Div table thead {\n border: none;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n }\n \n .Pdf-Table-Div table tr {\n border-bottom: 3px solid #ddd;\n display: block;\n margin-bottom: .625em;\n }\n \n .Pdf-Table-Div table td {\n border-bottom: 1px solid #ddd;\n display: block;\n font-size: .8em;\n text-align: right;\n }\n \n .Pdf-Table-Div table td::before {\n /*\n * aria-label has no advantage, it won't be read inside a table\n content: attr(aria-label);\n */\n content: attr(data-label);\n float: left;\n font-weight: bold;\n text-transform: uppercase;\n }\n \n .Pdf-Table-Div table td:last-child {\n border-bottom: 0;\n }\n}\n\nhr.new3 { \n border-top: 1px dotted rgb(90, 90, 90); \n}\n\nhr.new4 { \n border :16px solid #2e4f53; \n}\n\n\n\n\n@media screen and (max-width: 976px) {\n\n.Pdf-Div{\n display: flex !important; \n margin: 0vw 0vh !important; \n flex-direction: row;\n justify-content: space-between !important;\n row-gap: 3rem;\n}\n\n.Pdf-head-div{\n display: flex !important; \n margin: 0vw 7vh !important;\n align-items: center;\n flex-direction: row;\n column-gap: 2rem;\n}\n\n.square{\ndisplay: none !important; \n}\n\n.Pdf-footer-div { \njustify-content: space-around !important;\n}\n\n}\n</style>")},children:[" ","Get PDF Receipts ",Ye.jsx(yg,{})," "]}):null,Yt?Ye.jsxs("div",{className:"mail-div",children:[Ye.jsxs("a",{onClick:async e=>{un(!0)},children:[" ",":: Send Invoice to Another e-mail ::"]}),cn?Ye.jsxs(I,{ref:et,className:"formDivAnt",onFinish:async e=>{var t,n,i,a,r,s,l;let o={UniqueId:kt,MailId:e.EmailId,Link:`${aR}${iR}payment-page?paymentId=${kt}&Id=${ui}`},d=await nt(iw({data:o})).unwrap();if(1===(null==(t=null==d?void 0:d.data)?void 0:t.statusCode)){if(null==(n=null==d?void 0:d.data)?void 0:n.UserMail){const e={UniqueId:null==(i=null==d?void 0:d.data)?void 0:i.UniqueId,userData:null==(a=null==d?void 0:d.data)?void 0:a.userData,messageTemplatesList:null==(r=null==d?void 0:d.data)?void 0:r.messageTemplatesList,UserMail:null==(s=null==d?void 0:d.data)?void 0:s.UserMail,PaymentStatus:null==(l=null==d?void 0:d.data)?void 0:l.PaymentStatus};await nt(UE(e))}Ut("success"),Ot("Receipt Sent Successfully")}un(!1),et.resetFields()},children:[Ye.jsx("div",{className:"mail-inp-btn",children:Ye.jsx(I.Item,{name:"EmailId",hasFeedback:!0,rules:[{validator:(e,t)=>/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(t)?Promise.resolve():Promise.reject("Please Enter Valid Email")}],children:Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",type:"numeric",label:"Email Id",id:"EmailId",field:"MobileNo",maxlength:""})})}),Ye.jsxs("button",{className:"mail-btn",type:"submit",children:[" ","SHARE"," "]})]}):null]}):null]})})})]})})}),Ye.jsx(j,{title:Ye.jsxs("p",{className:"formHead",style:{fontSize:"20px"},children:["Feature Addon"," "]}),centered:!0,open:li,onCancel:()=>(async()=>{oi(!1)})(),width:980,children:Ye.jsxs(I,{ref:tt,className:"formDivAnt1",onFinish:async e=>{(null==Mi?void 0:Mi.length)>0?oi(!1):(Ut("error"),Ot("Please add any one of the feature"))},style:{display:"flex",flexDirection:"row",flexWrap:"wrap",overflow:"auto",height:"70vh"},children:[Li?null==(ze=null==(Ve=null==(He=null==Li?void 0:Li[0])?void 0:He.FeatDetails)?void 0:Ve.filter((e=>"D"!==(null==e?void 0:e.ActiveStatus))))?void 0:ze.map((e=>Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"250px",rowGap:"1rem",paddingTop:"15px"},children:[Ye.jsxs("div",{style:{display:"flex",fontSize:"20px",width:"100px",fontWeight:"400",color:"#1292ee"},children:[e.FeatName," "]}),Ye.jsx("div",{className:"featureAmt",children:Ye.jsx(I.Item,{name:e.FeatName,rules:[{pattern:/^\d+$/,message:"Only numbers are allowed"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autoComplete:"off",type:"text",label:"Count",id:"Count",field:"organization",className:"featureAmt",onChange:t=>{var n;((e,t,n,i,a,r,s)=>{var l,o,d;const c=e<=-1?0:e,u=gt?null==(l=null==ft?void 0:ft[0])?void 0:l.NoOfDays:null==(o=null==jt?void 0:jt[0])?void 0:o.NoOfDays,p=[{FeatAddonId:null==s?void 0:s.UniqueId,Count:c,Price:((u>31?null==s?void 0:s.YearlyPrice:null==s?void 0:s.MonthlyPrice)*c).toFixed(2),TaxAmount:((u>31?null==s?void 0:s.YearlyTaxAmount:null==s?void 0:s.MonthlyTaxAmount)*c).toFixed(2),TaxId:null==s?void 0:s.TaxId,NetPrice:((u>31?null==s?void 0:s.YearlyNetPrice:null==s?void 0:s.MonthlyNetPrice)*c).toFixed(2)},...null==Mi?void 0:Mi.filter((e=>(null==e?void 0:e.FeatAddonId)!==(null==s?void 0:s.UniqueId)))];Ri(p),Ri(p);const A=c*(u>31?null==s?void 0:s.YearlyPrice:null==s?void 0:s.MonthlyPrice),h=c*(u>31?null==s?void 0:s.YearlyTaxAmount:null==s?void 0:s.MonthlyTaxAmount);null==(d=tt.current)||d.setFieldsValue({[t]:c,[n]:null==A?void 0:A.toFixed(2),[a]:null==h?void 0:h.toFixed(2)}),setTimeout((()=>{Oi((e=>({...e,[t]:c})))}),0)})(null==(n=null==t?void 0:t.target)?void 0:n.value.replace(/\D/g,""),e.FeatName,e.FeatName+"Amt",e.NetPrice,e.FeatName+"Taxdetails",e.TaxAmount,e)}})})}),Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",fontSize:"12px",width:"200px",paddingTop:"10px"},children:[Ye.jsxs("div",{style:{fontSize:"14px",fontWeight:"500px"},children:[" ","Tax Amount :"," ",(null==_i?void 0:_i[e.FeatName])?((null==_i?void 0:_i[e.FeatName])*(zi>31?null==e?void 0:e.YearlyTaxAmount:null==e?void 0:e.MonthlyTaxAmount)).toFixed(2):" "," "]}),Ye.jsxs("div",{style:{fontSize:"14px",fontWeight:"500px"},children:[" ","Price :"," ",(null==_i?void 0:_i[e.FeatName])?((null==_i?void 0:_i[e.FeatName])*(zi>31?null==e?void 0:e.YearlyPrice:null==e?void 0:e.MonthlyPrice)).toFixed(2):" "," "]}),Ye.jsxs("div",{style:{fontSize:"16px",fontWeight:"700",paddingTop:"1px"},children:["NetAmount:"," ",(null==_i?void 0:_i[e.FeatName])?((null==_i?void 0:_i[e.FeatName])*(zi>31?null==e?void 0:e.YearlyNetPrice:null==e?void 0:e.MonthlyNetPrice)).toFixed(2):" "]})]})]},e.id))):" ",Ye.jsx("div",{className:"submitbtn-position",style:{display:"flex",flexDirection:"column-reverse",position:"absolute",bottom:"2rem",right:"3rem"},children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0})})]})}),Ye.jsx(SP,{open:qi,title:Ye.jsx("h3",{children:"Deactivation Of Features For Your Current plan"}),footer:!0,children:Ye.jsxs("div",{style:{display:"flex",rowGap:"1rem",flexDirection:"column"},children:[Ye.jsx("hr",{}),Ye.jsxs("div",{children:[Fr>Sr-wr&&0==!kr&&Ye.jsxs("div",{children:[Ye.jsxs("h4",{children:["Number of Company's Of Your Previous Plan :",Fr," "]}),Ye.jsxs("p",{children:["Your Eligible Company's For This Current Plan is :"," ",wr," & Deactivate : ",kr," Company's"]})]}),Br>Nr-jr&&0!=Tr&&jr!==Nr&&Tr>0&&Ye.jsxs("div",{children:[Ye.jsxs("h4",{children:["Number of Branches Of Your Previous Plan:"," ",Br]}),Ye.jsxs("p",{children:["Your Eligible Branches For This Current Plan is:"," ",jr]}),Tr>0&&Ye.jsxs("p",{children:["Deactivate: ",Tr," Branch's"]})]}),Cr<Ir&&Pr>Cr-Ir&&Er>0&&Ye.jsxs("div",{children:[Ye.jsxs("h4",{children:["Number of User's Of Your Previous Plan :",Pr," & Incuding Admin : 1"]}),Ye.jsxs("p",{children:["Your Eligible User's For This Current Plan is :"," ",Cr," "]}),Er>0&&Ye.jsxs("p",{children:["Deactivate: ",Er," User's"]})]}),Ye.jsx("div",{children:Ye.jsx(fk,{content:Dr,defaultSelect:Ii,onSelectFuntion:e=>{fr(e)}})}),Ye.jsxs("div",{children:["Company"===Ii&&Fr-wr!==0&&Fr>0&&Ye.jsx(E,{columns:mr,dataSource:Bi}),"Branch"===Ii&&Br-jr!==0&&jr!==Nr&&Tr>0&&Ye.jsx(E,{columns:vr,dataSource:ki}),"User"===Ii&&Er>0&&Ye.jsx(E,{columns:gr,dataSource:Ei})]})]}),Ye.jsx("hr",{})]}),handleCancel:rr,handleSubmit:()=>(async()=>{let e=[],t=[],n=[];null==ia||ia.map((e=>{var t,i,a,r,s,l;return n.push({UserId:null==(i=null==(t=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:t[0])?void 0:i.UserId,CompId:null==(r=null==(a=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:a[0])?void 0:r.CompId,BranchId:null==(l=null==(s=null==Ei?void 0:Ei.filter(((t,n)=>n===e)))?void 0:s[0])?void 0:l.BranchId,AppId:rt})})),null==ta||ta.map((e=>{var n,i,a,r;return t.push({BranchId:null==(i=null==(n=null==ki?void 0:ki.filter(((t,n)=>n===e)))?void 0:n[0])?void 0:i.BrId,CompId:null==(r=null==(a=null==ki?void 0:ki.filter(((t,n)=>n===e)))?void 0:a[0])?void 0:r.CompId})})),null==Zi||Zi.map((t=>{var n,i;return e.push({CompId:null==(i=null==(n=null==Bi?void 0:Bi.filter(((e,n)=>n===t)))?void 0:n[0])?void 0:i.CompId})})),Ki(e),$i(t),Ji(n),kr===(null==Zi?void 0:Zi.length)&&Tr>0&&Tr===(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)||Tr===(null==ta?void 0:ta.length)&&Er<=(null==ia?void 0:ia.length)||kr===(null==Zi?void 0:Zi.length)&&Er<=(null==ia?void 0:ia.length)||Er<=(null==ia?void 0:ia.length)||da?(Ze(!0),Wi(!1)):(Ut("error"),Ot("Deactive features"))})(),buttonText:"SAVE"})]})},access:"Admin"},{path:`${Ofe}payment-page`,component:()=>{var e,t,n,i,r;const s=um(),l=window.location.href;var o=new URL(l),d=o.searchParams.get("paymentId"),c=o.searchParams.get("Id");const[u,p]=a.useState(d||null),[A,h]=a.useState([]),[f,m]=a.useState(null),[v,g]=a.useState(null),[y,x]=a.useState(!1),[b,w]=a.useState([]);a.useEffect((()=>{j(),S(c)}),[]);const j=async()=>{var e,t,n,i;let a=await s(nw(u)).unwrap();1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)&&("P"===(null==(t=null==a?void 0:a.data)?void 0:t.data[0].PaymentStatus)?(h(null==(n=null==a?void 0:a.data)?void 0:n.data),x(!0)):(h(null==(i=null==a?void 0:a.data)?void 0:i.data),m("error"),g("Sorry, Payment Link Expired"),x(!1)))},C=a.useCallback((()=>{g(null),m(null)}),[]),S=async e=>{var t,n;let i=await s(tw(e)).unwrap();1===(null==(t=null==i?void 0:i.data)?void 0:t.statusCode)&&w(null==(n=null==i?void 0:i.data)?void 0:n.data)};return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Qy,{messageType:f,messageData:v,onComplete:C}),Ye.jsx("div",{className:"payment-page-div",children:Ye.jsxs("div",{className:"payment-page-cont",children:[Ye.jsx("img",{src:cE,className:"payment-logo-img"}),Ye.jsxs("div",{className:"payment-txt-cont",children:[Ye.jsx("p",{children:" Checkout "}),Ye.jsx("p",{className:"payment-sub-head",children:" UPI Transaction Details"})]}),Ye.jsxs("div",{className:"payment-Amtdetails",children:[Ye.jsxs("div",{className:"Invoice-Amtdetails",children:[Ye.jsxs("div",{className:"Invoice-Amtdetail-txt",children:[Ye.jsx("p",{children:" App Name "}),Ye.jsxs("p",{className:"payment-Amtdetail-txt",children:[": ",A?null==(e=A[0])?void 0:e.AppName:null]})]}),Ye.jsxs("div",{className:"Invoice-Amtdetail-txt",children:[Ye.jsx("p",{children:" Pricing Name "}),Ye.jsxs("p",{children:[": ",A?null==(t=A[0])?void 0:t.PricingName:null]})]}),Ye.jsxs("div",{className:"Invoice-Amtdetail-txt",children:[Ye.jsx("p",{children:" Mobile Number "}),Ye.jsxs("p",{className:"payment-Amtdetail-txt",children:[": ",A?null==(n=A[0])?void 0:n.MobileNo:null," "]})]}),Ye.jsxs("div",{className:"Invoice-Amtdetail-txt",children:[Ye.jsx("p",{children:" Transaction No "}),Ye.jsxs("p",{children:[": ",A?null==(i=A[0])?void 0:i.UniqueId:null," "]})]}),Ye.jsxs("div",{className:"Invoice-Amtdetail-txt",children:[Ye.jsx("p",{className:"Invoice-AmPay",children:" Net Amount"}),Ye.jsxs("p",{className:"Invoice-AmPay",children:[": ",A?null==(r=A[0])?void 0:r.NetPrice:null," "]})]})]}),y?Ye.jsxs("button",{className:"payment-pay-btn",onClick:async()=>{var e,t;let n=u+""+(null==(e=A[0])?void 0:e.AppName);window.open("intent://play.google.com/store/apps/details?id=com.prematix.paypreupilite&launch=true&url-para=upi://pay?pa="+b[0].UPIId+"&pn="+b[0].Name+"&tid="+b[0].MerchantId+"&tr="+u+"&tn="+n+"&am="+(null==(t=A[0])?void 0:t.NetPrice)+"&cu=INR&url=&mc="+b[0].MerchantCode+"&type=boating#Intent;scheme=https;action=android.intent.action.VIEW;package=com.android.vending;end","_blank","height=600, width=400, status=yes, toolbar=no, menubar=no, location=no,addressbar=no")},children:[" Pay Now ",Ye.jsx(k,{})," "]}):null]})]})})]})},access:"Admin"},{path:`${Ofe}FeatureInvoice`,component:()=>{var e,t,n,i,r,s,l,o,d,c,u,p,A,h,f,m,v;const g=um(),y=Qt(),x=Mt(),[b,w]=a.useState(null),[j,C]=a.useState(null),[S,N]=a.useState(),[I,F]=a.useState(),[B,P]=a.useState(!0),[T,E]=a.useState(!0),[D,L]=a.useState(null),[U,_]=a.useState(!0),[O,M]=a.useState(!0),[R,Q]=a.useState(null),[z,q]=a.useState(null),[W,Y]=a.useState(null),[K,G]=a.useState(!0),[$,X]=a.useState(null),[J,Z]=a.useState(null),[te,ne]=a.useState(),[ie,ae]=a.useState(),[re,se]=a.useState(!1),[le,oe]=a.useState(),[de,ce]=a.useState(!0),[ue,pe]=a.useState(null),[Ae,he]=a.useState(null!=(null==(e=null==x?void 0:x.state)?void 0:e.MailId)&&null!=(null==(t=null==x?void 0:x.state)?void 0:t.MailId)?null==(n=null==x?void 0:x.state)?void 0:n.MailId:""),[fe,me]=a.useState(),ve=/^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Za-z]{1}[Z]{1}[0-9A-Za-z]{1}$/,ge=/^[0-9]+$/,ye=null==(i=null==x?void 0:x.state)?void 0:i.TotalAmount,xe=null==(r=null==x?void 0:x.state)?void 0:r.BookingId,be=null==(s=null==x?void 0:x.state)?void 0:s.postData,we=null==(l=null==x?void 0:x.state)?void 0:l.UserAppMap,[je,Se]=a.useState(!1),[Ne,Ie]=a.useState(0);a.useEffect((()=>{Fe()}),[]);let Fe=async()=>{var e,t,n,i,a,r,s;const l=await g(BE()).unwrap();if(1==(null==(e=null==l?void 0:l.data)?void 0:e.statusCode)){N(null==(t=null==l?void 0:l.data)?void 0:t.data);let e=await(null==(i=null==(n=null==l?void 0:l.data)?void 0:n.data)?void 0:i.findIndex((e=>"NetBanking"==e.MethodName)));F(e),ne(null==(s=null==(r=null==(a=null==l?void 0:l.data)?void 0:a.data)?void 0:r[e])?void 0:s.Details)}};const Be=[{key:"1",label:("CRDC"==(null==(o=null==S?void 0:S[I])?void 0:o.CardType)||"DBCRD"==(null==(d=null==S?void 0:S[I])?void 0:d.CardType)?"Choose Your Card":"WLT"==(null==(c=null==S?void 0:S[I])?void 0:c.CardType)?"Choose Your Wallet":"Choose Your Bank")+" ",children:Ye.jsx(H.Group,{onChange:e=>{var t,n,i,a,r;oe(null==(t=null==e?void 0:e.target)?void 0:t.value),me("CCAvenue"==(null==(i=null==te?void 0:te[null==(n=null==e?void 0:e.target)?void 0:n.value])?void 0:i.dataAcceptedAt)?"Y":"N"),ae(null==(r=null==te?void 0:te[null==(a=null==e?void 0:e.target)?void 0:a.value])?void 0:r.cardName)},value:le,style:{display:"flex",flexDirection:"column",gap:"0.5rem"},children:null==te?void 0:te.map(((e,t)=>Ye.jsx(Ye.Fragment,{children:Ye.jsx(H,{value:t,style:{width:"106%",marginLeft:"-15px",borderBottom:"1px solid #dadada"},children:e.cardName})})))})}],Pe=async e=>{L(e)};async function ke(e){6===(null==e?void 0:e.length)&&ge.test(e)?(_(!0),Te(e),await(async e=>{let t="";await fetch(`https://api.postalpincode.in/pincode/${e}`).then((e=>e.text())).then((e=>t=JSON.parse(e))),"Success"===t[0].Status&&(Q(t[0].PostOffice[0].Block),q(t[0].PostOffice[0].District),Y(t[0].PostOffice[0].State),M(!0),G(!0))})(e)):0===(null==e?void 0:e.length)?_(!0):(_(!1),Q(null),Y(null)),Te(e)}const Te=async e=>{X(e)};const Ee=a.useCallback((()=>{C(null),w(null)}),[]);return Ye.jsxs("div",{children:[Ye.jsx(Qy,{messageType:b,messageData:j,onComplete:Ee}),Ye.jsx("div",{className:"Invoice-details-bg",children:Ye.jsx("div",{className:"Invoice-details-pricedetails",children:Ye.jsx("div",{className:"pricedetails-div",children:Ye.jsx("div",{style:{background:" ",display:"flex",flexDirection:"row",justifyContent:"space-around"},children:Ye.jsxs("div",{style:{background:" ",display:"flex",flexDirection:"column",rowGap:"1rem"},children:[Ye.jsxs("div",{style:{backgroundColor:"#52c41a2e",padding:"1rem 1rem",borderRadius:"10px",display:"flex",flexDirection:"row",rowGap:"2rem",justifyContent:"space-between"},children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",rowGap:"0.2rem"},children:[Ye.jsx("div",{children:Ye.jsxs("div",{style:{display:"flex",alignItems:"center",columnGap:"0.5rem",color:"green"},children:[Ye.jsxs("p",{style:{fontSize:"clamp(16px, 2.5vw, 20px)",fontWeight:"500"},children:["₹ ",ye-Ne>=0?ye-Ne:0,ye-Ne>=0&&Ne>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("span",{children:"+"}),Ye.jsx(nR,{color:"#d78300",size:"1rem",width:"40px"}),Ye.jsx("span",{children:ye>Ne?Ne:Ne-(Ne-ye)})]})]}),Ye.jsx("p",{children:" to Pay "})]})}),(null==(u=null==we?void 0:we[0])?void 0:u.BalanceCommissionAmount)>0?Ye.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[Ye.jsx(V,{onChange:e=>{var t;Se(e.target.checked),e.target.checked?Ie(null==(t=null==we?void 0:we[0])?void 0:t.BalanceCommissionAmount):Ie(0)},style:{color:"#292fff",fontSize:"15px",fontWeight:"900"},children:"Pay Using Credit points"}),Ye.jsxs("p",{style:{fontSize:"13px",fontWeight:"900",display:"flex",alignItems:"center",gap:"5px"},children:[" ",Ye.jsx(nR,{color:"#d78300",size:"1rem",width:"40px"})," Available Balance: ",ye>Ne?(null==(p=null==we?void 0:we[0])?void 0:p.BalanceCommissionAmount)-(ye>Ne?Ne:Ne-ye):ye>Ne?Ne:Ne-ye]})]}):""]}),Ye.jsxs("div",{children:[Ye.jsx("div",{className:de?"NoError":"ShowError",children:Ye.jsxs("div",{children:[Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",label:"Email",className:"mailInpt",id:"Email",field:"Email",onChange:function(e){var t,n,i;i=null==(t=null==e?void 0:e.target)?void 0:t.value,/^[a-zA-Z0-9._%+-]{1,64}@[a-zA-Z0-9.-]{1,255}\.[a-zA-Z]{2,}$/.test(i)?(ce(!0),(async e=>{he(e)})(null==(n=null==e?void 0:e.target)?void 0:n.value)):ce(!1)}}),de?"":Ye.jsx("p",{style:{color:"#FF4D4F",fontSize:"12px",marginTop:"28px"},children:"Enter Valid Email"})]})}),Ye.jsxs("div",{style:{display:"flex",alignItems:"center",columnGap:"0.2rem",fontSize:"20px",fontWeight:"600",color:"green"},children:[Ye.jsx(ny,{}),Ye.jsxs("p",{style:{fontFamily:"Poppins",fontSize:"clamp(16px, 2.5vw, 20px)",fontWeight:"500",color:"green",borderRadius:"3px"},children:[" ",iA("MobileNo")]})]}),Ye.jsxs("div",{style:{display:"flex",justifyContent:"flex-end",textDecoration:"underline",color:"green",fontSize:"12px",cursor:"pointer",columnGap:"0.2rem",alignItems:"center"},onClick:()=>{se(!re)},children:["More Info ",Ye.jsx(dE,{})," "]}),re&&Ye.jsx(Ye.Fragment,{children:Ye.jsx(SP,{open:re,footer:!1,children:Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:"1rem"},className:"adduserinfo",children:[Ye.jsx("div",{children:Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",label:"Company / Billing Name",id:"organization",field:"organization",value:ue,isOnChange:!!ue,onChange:e=>(async e=>{var t;pe(null==(t=null==e?void 0:e.target)?void 0:t.value)})(e)})}),Ye.jsx("div",{className:B?"NoError":"ShowError",children:Ye.jsxs("div",{children:[Ye.jsx(My,{field:"Address",autoComplete:"off",label:"Address",fieldState:!0,fieldApi:!0,value:J,isOnChange:!!J,onChange:e=>(async e=>{var t;Z(null==(t=null==e?void 0:e.target)?void 0:t.value),P(!0)})(e)}),B?"":Ye.jsx("p",{style:{color:"#FF4D4F",fontSize:"12px",margin:"-10px 0px 0px 13px"},children:"Enter Address"})]})}),Ye.jsx("div",{className:T?"NoError":"ShowError",children:Ye.jsxs("div",{children:[Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",type:"numeric",label:"GST",value:D,isOnChange:!!D,onChange:e=>{var t,n;return 15===(null==(n=null==(t=null==e?void 0:e.target)?void 0:t.value)?void 0:n.length)&&(null==ve?void 0:ve.test(n))?(E(!0),Pe(n)):0===(null==n?void 0:n.length)?E(!0):E(!1),void Pe(n)}}),T?"":Ye.jsx("p",{style:{color:"#FF4D4F",fontSize:"12px",margin:"-10px 0px 0px 13px"},children:"Enter Valid Gst"})]})}),Ye.jsx("div",{className:U?"NoError":"ShowError",children:Ye.jsxs("div",{children:[Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",type:"numeric",label:"Zip",maxLength:"6",value:$,isOnChange:!!$,onChange:e=>{var t;return ke(null==(t=null==e?void 0:e.target)?void 0:t.value)}}),U?"":Ye.jsx("p",{style:{color:"#FF4D4F",fontSize:"12px",margin:"-10px 0px 0px 13px"},children:"Enter Valid Zipcode"})]})}),Ye.jsx("div",{className:O?"NoError":"ShowError",children:Ye.jsxs("div",{children:[Ye.jsx(Oy,{fieldState:R||!1,fieldApi:!0,autocomplete:"off",label:"City",id:"city",field:"city",onChange:e=>{var t;return(async e=>{var t;Q(null==(t=null==e?void 0:e.target)?void 0:t.value),M(!0)})(null==(t=null==e?void 0:e.target)?void 0:t.value)},value:R,isOnChange:!!R,disabled:!!R}),O?"":Ye.jsx("p",{style:{color:"#FF4D4F",fontSize:"12px",margin:"-10px 0px 0px 13px"},children:"Enter City"})]})}),Ye.jsx("div",{className:K?"NoError":"ShowError",children:Ye.jsxs("div",{children:[Ye.jsx(Oy,{fieldState:W||!1,fieldApi:!0,autocomplete:"off",label:"State",id:"state",field:"state",onChange:e=>{var t;return(async e=>{var t;Y(null==(t=null==e?void 0:e.target)?void 0:t.value),G(!0)})(null==(t=null==e?void 0:e.target)?void 0:t.value)},value:W,isOnChange:!!W,disabled:!!W}),K?"":Ye.jsx("p",{style:{color:"#FF4D4F",fontSize:"12px",margin:"-10px 0px 0px 13px"},children:"Enter State"})]})})]})})}),handleCancel:()=>{se(!1)}})})]})]}),ye-Ne>0?Ye.jsx("div",{style:{background:" "},children:Ye.jsxs("div",{className:"Invoice-PaymentOption-MasterDiv",children:[Ye.jsxs("div",{className:"Invoice-PaymentOption-Div",children:[Ye.jsx("div",{className:"Invoice-PaymentOption",style:{},children:"Payment options"}),null==S?void 0:S.map(((e,t)=>Ye.jsxs("div",{className:"Invoice-PaymentOptions",style:{borderLeft:I===t?"5px solid #52C41A":"none",backgroundColor:I===t?" #52c41a2e":" ",color:I===t?" #000":" "},onClick:()=>{var e;F(t),ne(null==(e=null==S?void 0:S[t])?void 0:e.Details),oe()},children:[Ye.jsxs("div",{children:["EMI"==(null==e?void 0:e.MethodName)&&Ye.jsx("img",{src:RM,alt:"emi"}),"CreditCard"==(null==e?void 0:e.MethodName)&&Ye.jsx("img",{src:QM,alt:"CrediCard"}),"DebitCard"==(null==e?void 0:e.MethodName)&&Ye.jsx("img",{src:HM,alt:"DebitCard"}),"NetBanking"==(null==e?void 0:e.MethodName)&&Ye.jsx("img",{src:zM,alt:"NetBanking"}),"CashCard"==(null==e?void 0:e.MethodName)&&Ye.jsx("img",{src:VM,alt:"CashCard"}),"Wallet"==(null==e?void 0:e.MethodName)&&Ye.jsx("img",{src:qM,alt:"Wallet"}),"UPI"==(null==e?void 0:e.MethodName)&&Ye.jsx("img",{src:WM,alt:"Wallet"})]}),Ye.jsxs("div",{className:"paymentoptions",children:[Ye.jsx("div",{style:{fontSize:"16px"},children:null==e?void 0:e.MethodName}),Ye.jsx("div",{style:{fontSize:"10px",fontWeight:"400",fontFamily:"Poppins"},children:"Google Pay PhonePe & More"})]})]},t)))]}),Ye.jsx("div",{className:"Invoice-PaymentProcess-Div",children:null!=I&&Ye.jsxs("div",{className:"Invoice-PaymentProcess-UPI",children:["UPI"!=(null==(A=null==S?void 0:S[I])?void 0:A.CardType)&&Ye.jsx(zb,{placeholder:"CRDC"==(null==(h=null==S?void 0:S[I])?void 0:h.CardType)||"DBCRD"==(null==(f=null==S?void 0:S[I])?void 0:f.CardType)?"Search Your Card":"WLT"==(null==(m=null==S?void 0:S[I])?void 0:m.CardType)?"Search Your Wallet":"Search Your Bank",onSearchChange:e=>{var t,n;let i=null==(t=null==S?void 0:S[I])?void 0:t.Details,a=null==(n=null==e?void 0:e.target)?void 0:n.value.toLowerCase(),r=i.filter((e=>e.cardName.toLowerCase().startsWith(a)));ne(r)},prefix:Ye.jsx(WO,{})}),Ye.jsx("div",{className:"Invoice-PaymentProcess-UPI-collapse",children:"UPI"!=(null==(v=null==S?void 0:S[I])?void 0:v.CardType)&&Ye.jsx(ee,{items:Be,defaultActiveKey:["1"]})}),Ye.jsxs("div",{className:"Invoice-PaymentProcess-UPI-body",children:[Ye.jsxs("div",{className:"OverallAMtCount",children:["₹ ",ye-Ne>=0?ye-Ne:0,ye-Ne>=0&&Ne>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("span",{children:"+"}),Ye.jsx(nR,{color:"#d78300",size:"1rem",width:"40px"}),Ye.jsx("span",{children:ye>Ne?Ne:Ne-(Ne-ye)})]})]}),Ye.jsx("div",{className:"pricedetails-prcedbutton",children:Ye.jsxs("div",{children:[Ye.jsx(Ry,{type:"submit",buttonText:"PROCEED TO PAY",className:"sbmt-btn",handleSubmit:async()=>{var e,t,n,i,a,r,s,l,o,d,c;let u={PayOpt:null==(e=null==S?void 0:S[I])?void 0:e.PayOpt,CardType:null==(t=null==S?void 0:S[I])?void 0:t.CardType,cardName:"UPI"!=(null==(n=null==S?void 0:S[I])?void 0:n.CardType)?ie:"UPI"};if(Ae){if(be.NetPrice=ye-Ne>=0?ye-Ne:0,be.CommissionAmount=ye>Ne?Ne:Ne-(Ne-ye),null!=(null==u?void 0:u.PayOpt)&&null!=(null==u?void 0:u.CardType)&&null!=(null==u?void 0:u.cardName)){let e=await g(BT(be));if(1==(null==(a=null==(i=null==e?void 0:e.payload)?void 0:i.data)?void 0:a.statusCode)){const t=document.createElement("form");t.method="POST",t.action="https://pozo.app/CustomPaymentGateway/CustomPaymentGateway/ccavRequestHandler",t.style.display="none";const n={merchant_id:"15191",order_id:null==(s=null==(r=null==e?void 0:e.payload)?void 0:r.data)?void 0:s.OrderId,currency:"INR",amount:ye-Ne>=0?ye-Ne:0,redirect_url:"https://pozo.app/CustomPaymentGateway/CustomPaymentGateway/ccavResponseHandler",cancel_url:"https://pozo.app/CustomPaymentGateway/CustomPaymentGateway/ccavResponseHandler",payment_option:null==(l=null==S?void 0:S[I])?void 0:l.PayOpt,card_type:null==(o=null==S?void 0:S[I])?void 0:o.CardType,card_name:"UPI"!=(null==(d=null==S?void 0:S[I])?void 0:d.CardType)?ie:"UPI",data_accept:fe,language:"EN",billing_name:null!=ue?ue:"User",billing_address:null!=J?J:"xyz",billing_city:null!=R?R:"xyz",billing_state:null!=W?W:"xyz",billing_zip:null!=$?$:"000000",billing_country:"India",billing_tel:iA("MobileNo"),billing_email:Ae,delivery_name:"F",delivery_address:"N",delivery_city:null!=z?z:"xyz",delivery_state:"",delivery_zip:"O",delivery_country:"India",delivery_tel:(null==ve?void 0:ve.test(D))?D:null,merchant_param1:iA("SessionId"),merchant_param2:xe,merchant_param3:iA("UserId"),merchant_param4:"",merchant_param5:"PaymentHandler.html",promo_code:"",customer_identifier:""};null==(c=Object.keys(n))||c.forEach((e=>{const i=document.createElement("input");i.type="hidden",i.name=e,i.value=(e=>{const t=Ce.AES.encrypt(JSON.stringify(e),"3a939a2eed2cca4b64cd47f51b23b135b2b9b765273f695d47682ea803c8429d").toString();if(t)return t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")})(n[e]),t.appendChild(i)})),document.body.appendChild(t),t.submit()}else C("Select Payment option"),w("warning")}}else C("Enter Mail Id"),w("warning")},icon:Ye.jsx(k,{})}),Ye.jsxs("a",{className:"prcdPay",children:[" ","By proceeding, you agree to our Privacy Policy"," "]})]})})]})]})})]})}):Ye.jsxs("div",{children:[" ",Ye.jsx("p",{style:{textAlign:"center"},children:"You Noo Need To Pay"}),Ye.jsx(Ry,{type:"submit",buttonText:"PROCEED TO PAY",className:"sbmt-btn",handleSubmit:async()=>{var e,t;if(Ae)C("Enter Mail Id"),w("warning");else{be.NetPrice=ye-Ne>=0?ye-Ne:0,be.CommissionAmount=ye>Ne?Ne:Ne-(Ne-ye);let n={BookingId:null==be?void 0:be.BookingId,Price:0,TaxId:null==be?void 0:be.TaxId,TaxAmount:0,NetPrice:0,Type:null==be?void 0:be.Type,PaymentStatus:"S",PaymentType:0,UserId:iA("UserId"),CommissionAmount:ye>Ne?Ne:Ne-(Ne-ye),Details:null==be?void 0:be.Details,CreatedBy:iA("UserId")},i=await g(BT(n));1==(null==(t=null==(e=null==i?void 0:i.payload)?void 0:e.data)?void 0:t.statusCode)&&y("/home/landing-page/home")}},icon:Ye.jsx(k,{})})," "]})]})})})})})]})},access:"Admin"},{path:`${Ofe}testimonials`,component:()=>{const e=um(),t=Qt(),[n,i]=a.useState(!1),[r,s]=a.useState(),l=a.useRef(null),[o,d]=a.useState([]),[c,u]=a.useState([]),[p,A]=a.useState(!1);a.useEffect((()=>{h()}),[]);const h=async()=>{var t,n,i;let a=await e(W6()).unwrap();1===(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)?d(null==(i=null==(n=null==a?void 0:a.data)?void 0:n.data)?void 0:i.filter((e=>"A"==(null==e?void 0:e.ActiveStatus)))):d([])},f=()=>{A(!1),i(!1)};return Ye.jsxs("div",{id:"Testimonials",className:"PozoTestimonial-Master",children:[Ye.jsx("div",{className:"PozoTestimonial-Navbar",children:Ye.jsx(MO,{onClick:()=>{t("/")}})}),Ye.jsxs("div",{className:"PozoTestimonial-main",children:[Ye.jsxs("div",{className:"PozoTestimonial-header",children:["Authentic Stories from Our Valued pozo.app Clients"," "]}),Ye.jsxs("p",{className:"PozoTestimonial-Subheader",children:["Start Your Success Journey Today with ",Ye.jsx("span",{children:"POZOAPP"})]}),Ye.jsxs("div",{className:"TrustedCustomer-title",children:["Genuine Stories Highlighting True Success"," "]}),Ye.jsx("div",{className:"CustomerStories-story",style:{display:"flex",alignItems:"center",justifyContent:"center",width:"80vw"},children:Ye.jsxs("div",{className:"CustomerStories-main",children:[o.map(((e,t)=>{var n;return Ye.jsxs("div",{className:"CustomerStories",children:[Ye.jsxs("div",{className:"CustomerStories-image",children:[Ye.jsx("img",{src:e.ImageUrl,alt:"Thumbnai1"}),Ye.jsx(FO,{className:"playicon-testimonial",onClick:()=>(e=>{s(null==e?void 0:e.VideoLink),u({Review:e.CustomerReview,CompName:e.CompName}),i(!0)})(e)})]}),Ye.jsxs("div",{className:"CustomerStories-shopDetails",style:{padding:!e.CompLogo&&"4px 26px"},children:[e.CompLogo&&Ye.jsx("div",{className:"shopDetails-logo",children:Ye.jsx("img",{src:e.CompLogo,alt:"apparel"})}),Ye.jsxs("div",{className:"AllDetailsOfShop-main",children:[Ye.jsxs("div",{className:"testimonial-adminName",children:[" ",e.CustomerName]}),Ye.jsxs("div",{className:"testimonial-AdminDestionation",children:[" ",e.Designation]}),Ye.jsxs("div",{className:"testimonial-ShopName",children:[" ",e.CompName]})]})]}),Ye.jsxs("div",{className:"customer-reviewStores",children:[Ye.jsx("div",{className:"reviewStores-div",ref:l,children:e.CustomerReview}),(null==(n=e.CustomerReview)?void 0:n.length)>250&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("p",{style:{color:"#1292ee",cursor:"pointer"},onClick:()=>{(e=>{A(!0),u({Review:e.CustomerReview,CompName:e.CompName})})(e)},children:"More ...."})})]})]},t)})),Ye.jsx(j,{title:c.CompName,visible:p,onCancel:f,footer:null,centered:!0,width:900,className:"reviewModal-testimonial",children:c.Review}),Ye.jsx(j,{title:c.CompName,visible:n,onCancel:f,footer:null,centered:!0,width:900,children:Ye.jsx("iframe",{src:(null==r?void 0:r.includes("youtube.com/watch"))?`https://www.youtube.com/embed/${new URL(r).searchParams.get("v")}`:(null==r?void 0:r.includes("youtu.be/"))?`https://www.youtube.com/embed/${null==r?void 0:r.split("youtu.be/")[1].split("?")[0]}`:r,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,style:{width:"100%",height:"500px"}})})]})})]})]})},access:"Public"},{path:`${Ofe}faq`,component:()=>{const e=Qt(),[t,n]=a.useState(null);a.useEffect((()=>{window.scrollTo(0,0)}),[]);return Ye.jsxs("div",{className:"privacy-policy-container",children:[Ye.jsxs("div",{className:"privacy-header",children:[Ye.jsxs("div",{onClick:()=>{e("/home/")},className:"back-link ",children:[Ye.jsx(Zv,{})," Back to Home"]}),Ye.jsxs("div",{className:"header-content",children:[Ye.jsx(bg,{className:"privacy-icon"}),Ye.jsx("h1",{children:"Frequently Asked Questions"}),Ye.jsx("p",{children:"Find quick answers to common questions"})]})]}),Ye.jsxs("div",{className:"privacy-content",children:[Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"Quick Answers"}),Ye.jsx("p",{style:{marginBottom:"2rem"},children:"Have questions about PozoApp? We've got answers! Browse through our most frequently asked questions below."}),Ye.jsx("div",{className:"faq-list",children:_fe.map(((e,i)=>Ye.jsxs("div",{className:"faq-item",style:{marginBottom:"1rem",border:"1px solid rgba(53, 136, 253, 0.2)",borderRadius:"8px",overflow:"hidden",transition:"all 0.3s ease"},children:[Ye.jsxs("div",{onClick:()=>(e=>{n(t===e?null:e)})(i),style:{padding:"1.25rem 1.5rem",cursor:"pointer",display:"flex",justifyContent:"space-between",alignItems:"center",backgroundColor:t===i?"rgba(53, 136, 253, 0.1)":"transparent",transition:"all 0.3s ease"},children:[Ye.jsx("h3",{style:{margin:0,fontSize:"1.1rem",color:t===i?"#3588fd":"inherit",fontWeight:500},children:e.question}),Ye.jsx("span",{style:{fontSize:"1.5rem",fontWeight:"300",color:"#3588fd",minWidth:"30px",textAlign:"center"},children:t===i?"−":"+"})]}),Ye.jsx("div",{style:{maxHeight:t===i?"500px":"0",overflow:"hidden",transition:"max-height 0.3s ease"},children:Ye.jsx("div",{style:{padding:t===i?"0 1.5rem 1.25rem 1.5rem":"0 1.5rem",color:"#666",lineHeight:"1.6"},children:e.answer})})]},i)))})]}),Ye.jsxs("section",{className:"privacy-section",style:{marginTop:"3rem",padding:"2rem",background:"linear-gradient(135deg, rgba(53, 136, 253, 0.05) 0%, rgba(53, 136, 253, 0.1) 100%)",borderRadius:"12px",border:"1px solid rgba(53, 136, 253, 0.2)"},children:[Ye.jsx("h2",{children:"Still Have Questions?"}),Ye.jsx("p",{children:"Can't find what you're looking for? Our support team is here to help! Contact us through any of these channels:"}),Ye.jsxs("ul",{style:{marginTop:"1.5rem"},children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Email:"})," ",Ye.jsx("a",{href:"mailto:info@pozo.app",style:{color:"#3588fd"},children:"info@pozo.app"})]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Phone:"})," ",Ye.jsx("a",{href:"tel:7324000011",style:{color:"#3588fd"},children:"73 24 00 00 11"})," or ",Ye.jsx("a",{href:"tel:7324000012",style:{color:"#3588fd"},children:"73 24 00 00 12"})]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"WhatsApp:"})," ",Ye.jsx("a",{href:"https://wa.me/917324000014",target:"_blank",rel:"noopener noreferrer",style:{color:"#3588fd"},children:"Chat with us"})]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Address:"})," Manager, No 51 Step Colony, Dharga, Hosur, Krishnagiri, Tamilnadu-635126, India"]})]})]})]})]})},access:"Public"},{path:`${Ofe}homepage`,component:()=>{const e=um(),t=Qt(),[n,i]=a.useState([]),[r,s]=a.useState([]),[l,o]=a.useState([]),[d,c]=a.useState(null),[u,p]=a.useState({}),A=iA("UserId");a.useEffect((()=>{var e,t;null!=(null==(e=null==n?void 0:n[0])?void 0:e.CateId)&&m(null==(t=null==n?void 0:n[0])?void 0:t.CateId)}),[n]),a.useEffect((()=>{var e;r!=[]&&f(null==(e=null==r?void 0:r[0])?void 0:e.SubCateId)}),[r]),a.useEffect((()=>{v(),h(),LU.init({duration:1e3}),sessionStorage.getItem("auth")||g()}),[]);const h=async()=>{var t,n,i;try{const a=await e(CU({PageId:1})).unwrap();if(1===(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)&&(null==(i=null==(n=null==a?void 0:a.data)?void 0:n.data)?void 0:i.length)>0){const e=a.data.data[0];p({title:e.MetaTitle,description:e.MetaDesc,keywords:e.Keywords,image:e.ImageUrl||"/og/home.jpg"})}}catch(a){p({title:"PozoApp - Complete Business Management Solution",description:"AI-powered POS and SaaS solutions for MSMEs and enterprises",keywords:"POS software, billing software, inventory management",image:"/og/home.jpg"})}},f=async t=>{var n,i,a;const r=await e(oL(t)).unwrap();if(1===(null==(n=null==r?void 0:r.data)?void 0:n.statusCode)){let e=null==(a=null==(i=null==r?void 0:r.data)?void 0:i.data)?void 0:a.filter((e=>"A"===e.ActiveStatus));o(e)}},m=async t=>{var n,i,a;o([]);const r=await e(lL(t)).unwrap();if(1===(null==(n=null==r?void 0:r.data)?void 0:n.statusCode)){let e=null==(a=null==(i=null==r?void 0:r.data)?void 0:i.data)?void 0:a.filter((e=>"A"===e.ActiveStatus));s(e)}},v=async()=>{var t,n;s([]),o([]);const a=await e(aL()).unwrap();if(1===(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)){let e=null==(n=null==a?void 0:a.data)?void 0:n.data;i(e)}},g=async()=>{let t={username:"1000000001",password:"1234"};try{await e(cL(t)).unwrap()}catch(n){}};return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(bU,{title:u.title||"PozoApp - Complete Business Management Solution",description:u.description||"AI-powered POS and SaaS solutions for MSMEs and enterprises",keywords:u.keywords||"POS software, billing software, inventory management",url:"/home/",image:u.image}),Ye.jsxs("div",{className:"Public_Overall_Body",children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"3rem"},children:[Ye.jsx("div",{style:{position:"fixed",zIndex:"1"},children:Ye.jsx(pL,{})}),Ye.jsxs("div",{"data-aos":"zoom-out-up",className:"publictopDIv",style:{display:"flex",flexDirection:"column",gap:"1rem",padding:"5rem 0rem"},children:[Ye.jsx("div",{className:"Public_home_Texts"}),Ye.jsx("p",{className:"firsttxt",children:" simple | speed | smart | secure "}),Ye.jsxs("div",{className:"Public_home_Texts-new",children:[Ye.jsxs("div",{className:"Public_home-content",children:[Ye.jsxs("h1",{className:"home-header-one",children:["Simplify your business operation ",Ye.jsx("br",{})," with pozo apps powered by GenAI"]}),Ye.jsx("div",{className:"home-header-two",children:"Experience, Automation, Cost Efficient"}),Ye.jsx("div",{className:"home-header-three",children:"Our SaaS offering is designed for businesses of all sizes from small & medium enterprises to large enterprises"}),Ye.jsx("div",{children:Ye.jsx(An,{to:A?`${RU}landing-page/home`:`${RU}signin`,className:"btn btn-primary",children:Ye.jsxs("button",{className:"startbtn",children:[Ye.jsx("p",{children:"Experience Now"}),Ye.jsx(FU,{})]})})})]}),Ye.jsx("div",{className:"Public_home-video",children:Ye.jsx("video",{src:"/assets/Landing_Video-3264f9d6.mp4",autoPlay:!0,loop:!0,muted:!0,controls:!1,className:"landing_video"})})]})]})]}),Ye.jsx("div",{id:"Offers",style:{display:"flex",flexDirection:"column"},children:Ye.jsxs("div",{className:"Spec_container",children:[Ye.jsx("p",{className:"Spec-header",children:"POZO Offerings"}),Ye.jsxs("p",{className:"Spec-heade",children:[" ","Think Business, Think POZO Discover what POZO can do for you"]}),Ye.jsxs("div",{className:"hpcard-container",style:{display:"flex",gap:"1rem"},children:[Ye.jsxs("div",{className:"card 1",children:[Ye.jsx("div",{className:"card_image",children:Ye.jsx("img",{src:"/assets/inventory-1022c681.png",alt:"BusinessImg"})}),Ye.jsxs("div",{className:"card_title title-black",children:[Ye.jsx("p",{children:"Inventory/Warhouse Management"}),Ye.jsx("p",{className:"card_description",children:"It is all about keeping track of what you have in stock and making sure you have enough of the right stuff at the right time."})]})]}),Ye.jsxs("div",{className:"card 2",children:[Ye.jsx("div",{className:"card_image",children:Ye.jsx("img",{src:"/assets/bill-47228412.png",alt:"BusinessImg"})}),Ye.jsxs("div",{className:"card_title title-white",children:[Ye.jsx("p",{children:"Billing/POS "}),Ye.jsxs("p",{className:"card_description",children:[" ","customization options, and integration with payment gateways make it an indispensable asset for modern businesses"," "]})]})]}),Ye.jsxs("div",{className:"card 3",children:[Ye.jsx("div",{className:"card_image",children:Ye.jsx("img",{src:"/assets/Accounting1-17a5f1b7.png",alt:"BusinessImg"})}),Ye.jsxs("div",{className:"card_title title-white",children:[Ye.jsx("p",{children:"Accounting "}),Ye.jsxs("p",{className:"card_description",children:[" ","It is all about keeping tabs on all the money moving through the store - from sales to expenses - to ensure the business stays profitable and organized"," "]})]})]})]}),Ye.jsx("div",{}),Ye.jsx("div",{})]})}),"~",Ye.jsx("div",{"data-aos":"fade-down-right",children:Ye.jsx("div",{className:"floatHand",children:Ye.jsx("img",{className:"floatHandImg",src:"/assets/bighand-e66d63bf.png",alt:"BusinessImg"})})}),Ye.jsxs("div",{className:"Valueofpozo_container",children:[Ye.jsxs("div",{className:"Valueofpozo_texts",style:{display:"flex",flexDirection:"column"},children:[" ",Ye.jsxs("p",{style:{fontSize:"23px",fontWeight:"600",textTransform:"uppercase"},children:[" ","Values of"]})," ",Ye.jsx("p",{className:" Pozotxt",children:" POZO"})," "]}),Ye.jsx("div",{className:"carosel-width",style:{borderRadius:"10px"},children:Ye.jsxs(J,{autoplay:!0,children:[Ye.jsx("div",{children:Ye.jsxs("h3",{style:MU,children:[" ",Ye.jsx("img",{src:"/assets/template1-4eabbead.png",style:{width:"100%"},alt:"BusinessImg"})," "]})}),Ye.jsx("div",{children:Ye.jsxs("h3",{style:MU,children:[" ",Ye.jsx("img",{src:"/assets/template2-9070c95d.png",style:{width:"100%"},alt:"BusinessImg"})," "]})}),Ye.jsx("div",{children:Ye.jsxs("h3",{style:MU,children:[" ",Ye.jsx("img",{src:"/assets/Template3-7dbefd3d.png",style:{width:"100%"},alt:"BusinessImg"})," "]})})]})}),Ye.jsx("div",{children:Ye.jsx("p",{className:"carouselDesc",style:{fontSize:"20px"},children:"POZO billing software simplifies billing processes by providing customization, automation, and integrated with payment gateways."})})]}),Ye.jsx("div",{className:"Home_Style",children:Ye.jsxs("div",{className:"Apps_container",id:"Products",children:[Ye.jsx("h4",{className:"forthtxt",children:" "}),Ye.jsxs("p",{className:"fifthtxt",children:["A complete digital platform for restaurants, hotels, cafes, bars, food courts, Garments and ",Ye.jsx("br",{})," more in one application"]}),Ye.jsxs("div",{className:"swipee-sliderDiv",children:[Ye.jsx(EU,{scrollSpeed:20,showLeftButton:!1,showRightButton:!1,children:Ye.jsx("div",{"data-aos":"fade-down",children:n.length>0?Ye.jsx("div",{style:{display:"flex",width:"100%",overflow:"auto",flexDirection:"row",columnGap:"0.5rem",justifyContent:"center"},children:n.map(((e,t)=>Ye.jsxs("label",{style:{overflow:"hidden"},children:[Ye.jsx("input",{className:"ModuleCard-style",type:"radio",name:"optradio",checked:(null==e?void 0:e.CateId)===d,onClick:()=>{m(null==e?void 0:e.CateId),c(null==e?void 0:e.CateId)}}),Ye.jsxs("span",{className:"ModuleCard",children:[Ye.jsx("div",{style:{width:"50px",height:"50px",objectFit:"stretch"},children:Ye.jsx("img",{src:""!=e.CategoryImage&&null!=e.CategoryImage?null==e?void 0:e.CategoryImage:"https://api.pozo.app/pozo-common-image-api/upload?fileId=655c9649fe20def9916edf1b.png",alt:"AppImg",style:{width:"50px",height:"50px"}})}),Ye.jsx("p",{style:{textAlign:"center",fontSize:"14px"},children:null==e?void 0:e.CategoryName}),Ye.jsx("div",{className:"card_description",style:{height:"28vh",overflow:"auto",width:"180px",padding:"2rem 0rem",fontSize:"13px",fontFamily:"Poppins"},children:e.Description})]})]},t)))}):null})}),null!==d&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{onClick:()=>{c(null)},style:{padding:"1rem 1rem ",display:"flex",alignItems:"center",gap:"0.5rem"},children:[Ye.jsx(UU,{style:{fontSize:"20px",cursor:"pointer",backgroundColor:"white"}})," ",Ye.jsx("a",{style:{fontSize:"12px"},children:" "})]}),Ye.jsxs("div",{className:"appSubcatDiv",style:{background:"#ffff",padding:"0rem 1rem",display:"flex",overflow:"hidden",height:"450px"},children:[Ye.jsx("div",{className:"tabapps",style:{display:"flex",flexDirection:"column",overflow:"scroll",gap:"0.5rem"},children:null==r?void 0:r.map(((e,t)=>Ye.jsxs("label",{children:[Ye.jsx("input",{className:"input-style",type:"radio",name:"optradio1",defaultChecked:0===t,onClick:()=>f(null==e?void 0:e.SubCateId)}),Ye.jsx("span",{className:"SubModuleCard",children:Ye.jsxs("p",{children:[" ",null==e?void 0:e.SubCategoryName," "]})})]})))}),null!==d&&Ye.jsx("div",{className:"AppMastdiv",children:Ye.jsx("div",{className:"apptabapps",children:null==l?void 0:l.map((e=>Ye.jsxs("div",{className:"tab_cont",onClick:()=>(async(e,n)=>{nA("AppId",e),nA("AppName",n),t(`${RU+(null==n?void 0:n.toLowerCase())}`),window.location.reload()})(null==e?void 0:e.AppId,null==e?void 0:e.AppName),children:[Ye.jsxs("p",{className:"tab_conetent",children:[Ye.jsx("img",{src:e?e.AppLogo:"/assets/retail-92ca9e5c.svg",alt:"AppImg",style:{maxWidth:"60px"}}),e.AppName,Ye.jsx("p",{style:{height:"8vh",overflow:"auto",fontSize:"12px",textTransform:"capitalize",fontWeight:"400"},children:e.AppDescription})]}),Ye.jsxs("p",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[" ","Explore Now ",Ye.jsx(ZD,{})," "]})]})))})})]})]})]}),Ye.jsx("div",{id:"Video",children:Ye.jsx(kU,{})}),Ye.jsx("div",{className:"area",children:Ye.jsxs("ul",{className:"circles",children:[Ye.jsx("li",{}),Ye.jsx("li",{}),Ye.jsx("li",{}),Ye.jsx("li",{}),Ye.jsx("li",{}),Ye.jsx("li",{}),Ye.jsx("li",{}),Ye.jsx("li",{}),Ye.jsx("li",{}),Ye.jsx("li",{})]})})]})})]}),Ye.jsxs("div",{className:"publicHomeFtr",children:[Ye.jsxs("div",{style:{width:"20rem",lineHeight:"2rem"},children:[Ye.jsx("img",{src:Bm,alt:"logo",width:90,className:"footer-logo"}),Ye.jsx("p",{className:"footer-content-text",children:"Enabling Business Expansion with Limited Staff, Basic Skills, and Reliable Solutions inspired the inception of Pozo as an extension of this core principle."})]}),Ye.jsxs("div",{className:"footer-getstarter-quick-container",children:[Ye.jsxs("div",{className:"footer-getstartednow",children:[Ye.jsx("p",{className:"footer-bigText",children:"GET STARTED NOW"}),Ye.jsx("p",{className:"footer-smallText",children:"Sign up"})]}),Ye.jsx("div",{style:{display:"flex",gap:"2rem",width:"7erm"},children:Ye.jsxs("div",{style:{display:"flex",justifyContent:"center",flexDirection:"column",rowGap:"0.6rem"},children:[Ye.jsx("p",{className:"footer-bigText",children:"MOBILE APPS"}),Ye.jsx(F,{title:"Currently under development",children:Ye.jsxs("div",{className:"footer-app-container",style:{},children:[Ye.jsx("img",{src:"/assets/playstorenew-b6f923f2.png",style:{width:"9.5rem",cursor:"pointer"},alt:""}),Ye.jsx("img",{src:"/assets/appstorenew-37b10088.png",style:{width:"9.5rem",cursor:"pointer"},alt:""})]})})]})})]}),Ye.jsx("div",{className:"footer-company-app-container",children:Ye.jsxs("div",{className:"footer-Company",children:[Ye.jsx("p",{className:"footer-bigText",children:"COMPANY"}),Ye.jsx("p",{className:"footer-smallText",children:"Privacy Policy"}),Ye.jsx("p",{className:"footer-smallText",children:"Terms"})]})}),Ye.jsxs("div",{className:"footer-contact-container",children:[Ye.jsx("p",{className:"footer-bigText",children:"PHONE"}),Ye.jsxs("div",{className:"footer-contact-div",children:[Ye.jsx(ZE,{style:{color:"black",fontSize:"25px"}}),Ye.jsx("p",{className:"footer-contact-text",children:"73 24 00 00 11"})]}),Ye.jsxs("div",{className:"footer-contact-div",children:[Ye.jsx("div",{children:Ye.jsx(pg,{style:{color:"#228e32",fontSize:"25px"}})}),Ye.jsx("p",{className:"footer-contact-text",children:"73 24 00 00 12"})]})]})]}),Ye.jsx("hr",{style:{backgroundColor:"rgb(153, 153, 153)"}}),Ye.jsx("div",{className:"footer-contact-container",children:Ye.jsx("p",{style:{textAlign:"center",padding:"5px"},className:"footer-bigText",children:"© 2025 POZO All Rights Reserved."})})]})},access:"Public"},{path:`${Ofe}pricing`,component:()=>{var e,t,n,i;const r=Qt(),s=um(),l=Tf((e=>{var t;return(null==(t=null==e?void 0:e.pricingType)?void 0:t.PricingType)||[]})),o=null==l?void 0:l.filter((e=>"Extend Pack"===(null==e?void 0:e.Status))),[d,c]=a.useState("monthly"),[u,p]=a.useState("Y"),[A,h]=a.useState([]),[f,m]=a.useState(null),[v,g]=a.useState("Bakery"),[y,x]=a.useState(null),[b,w]=a.useState(null),[j,C]=a.useState([]),[S,N]=a.useState(!0),[I,F]=a.useState(1),[B,P]=a.useState(null),k=null==(e=null==B?void 0:B[0])?void 0:e.RemainingDays,T=null==j?void 0:j.filter((e=>"2"===e.CoreAddon)),E=null==j?void 0:j.filter((e=>"3"===e.CoreAddon)),D=null==A?void 0:A.filter((e=>(null==e?void 0:e.AppName)===v)),[L,U]=a.useState(0);iA("UserType");const _=iA("UserId"),[O,M]=a.useState(""),R=a.useRef(null),[Q,H]=a.useState([]),[V,z]=a.useState(null),[q,W]=a.useState(!1),[Y,K]=a.useState(!1),[G,$]=a.useState(!1),[X,J]=a.useState(!1);a.useRef(null);const[Z,ee]=a.useState(!1),[te,ne]=a.useState(!1),ie=a.useRef(null),[ae,re]=a.useState({});let se=(null==(n=null==(t=null==l?void 0:l.filter((e=>{var t;return"FREE"!==(null==(t=e.PricingName)?void 0:t.toUpperCase())})))?void 0:t.filter((e=>"Extend Pack"==(null==e?void 0:e.Status))))?void 0:n.length)>0;const le=Q.filter((e=>{var t;const n=(null==O?void 0:O.toLowerCase())||"";return null==(t=null==e?void 0:e.AppName)?void 0:t.toLowerCase().includes(n)})),oe=e=>{const t=R.current;if(t){const n=200;t.scrollBy({left:"left"===e?-n:n,behavior:"smooth"})}},de=a.useRef(null),[ce,ue]=a.useState(!1),pe=e=>{const t=de.current;if(t){const n=350;t.scrollBy({left:"left"===e?-n:n,behavior:"smooth"})}},[Ae,he]=a.useState(0),[fe,me]=a.useState(!1),ve=()=>{const e=de.current,t=window.innerWidth;me(t<=768),ue(e&&!fe?e.scrollWidth>e.clientWidth:t<=768&&l.length>1)},ge=e=>{"right"===e&&Ae<l.length-1?he(Ae+1):"left"===e&&Ae>0&&he(Ae-1)};a.useEffect((()=>(ve(),window.addEventListener("resize",ve),()=>window.removeEventListener("resize",ve))),[l,fe]),a.useEffect((()=>{Ce()}),[]),a.useEffect((()=>{const e=setTimeout((()=>N(!1)),500);LU.init({duration:500});const t=new Cre({duration:1.2,easing:e=>Math.min(1,1.001-Math.pow(2,-10*e)),smoothWheel:!0,smoothTouch:!0,wheelMultiplier:1,touchMultiplier:2});return z(t),t.on("scroll",(e=>{_Ae.update(),W(e.scroll>500),K(e.scroll>50)})),kce.ticker.add((e=>{t.raf(1e3*e)})),kce.ticker.lagSmoothing(0),kce.fromTo(".PricingPozoAppTitle",{y:100,opacity:0},{y:0,opacity:1,duration:1.2,ease:"power3.out"}),kce.fromTo(".pricingCard",{y:80,opacity:0},{y:0,opacity:1,duration:1,stagger:.2,delay:.5,ease:"power2.out"}),kce.fromTo(".addonCard",{scale:.8,opacity:0},{scale:1,opacity:1,duration:.8,stagger:.1,delay:1,ease:"back.out(1.7)"}),()=>{clearTimeout(e),t.destroy(),_Ae.getAll().forEach((e=>e.kill()))}}),[]),a.useEffect((()=>{let e=null==D?void 0:D.filter((e=>"Free"!=e.PricingName)),t=null==e?void 0:e.reduce(((e,t)=>e+t.RemainingDays),0);U(t)}),[D]),a.useEffect((()=>{nA("AppId",I)}),[I]),a.useEffect((()=>{xe(),we(),be(),ye()}),[I,_]),a.useEffect((()=>{(async()=>{var e,t,n,i,a,r,l;try{const o=await s(HP({TypeName:"SEO"})).unwrap();if(1===(null==(e=null==o?void 0:o.data)?void 0:e.statusCode)){const e=null==(i=null==(n=null==(t=null==o?void 0:o.data)?void 0:t.data)?void 0:n.find((e=>"pricing"===e.ConfigName)))?void 0:i.ConfigId;if(!e)return;const d=await s(CU({PageId:e})).unwrap();if(1===(null==(a=null==d?void 0:d.data)?void 0:a.statusCode)&&(null==(l=null==(r=null==d?void 0:d.data)?void 0:r.data)?void 0:l.length)>0){const e=d.data.data[0];re({metaTitle:null==e?void 0:e.MetaTitle,metaDescription:null==e?void 0:e.MetaDesc,keywords:null==e?void 0:e.Keywords,imageAltText:null==e?void 0:e.ImgAltText})}}}catch(o){}})()}),[s]);const ye=async()=>{var e;let t=await s(lw({UserId:_,AppId:I})).unwrap();h(null==(e=null==t?void 0:t.data)?void 0:e.data)},xe=async()=>{var e,t,n;let i=await s(sw({UserId:_,AppId:I})).unwrap();1==(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&m(null==(n=null==(t=null==i?void 0:i.data)?void 0:t.data)?void 0:n[0])},be=async()=>{var e,t,n;let i=await s(aT(I)).unwrap();C(null==(n=null==(t=null==(e=null==i?void 0:i.data)?void 0:e.data)?void 0:t[0])?void 0:n.FeatDetails)},we=async()=>{var e,t;let n={AppId:I,UserId:_,type:"L"},i=await s(ow(n)).unwrap();1==(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&P(null==(t=i.data)?void 0:t.data)};a.useEffect((()=>{s(_?Wb({toggleValue:u,AppId:I,UserId:_}):Kb({toggleValue:u,AppId:I})),s(rw({toggleValue:u,AppId:I})).unwrap()}),[u,I,_,s]);const je=e=>{p(e),s(_?Wb({toggleValue:e,AppId:I,UserId:_}):Kb({toggleValue:e,AppId:I}))},Ce=async()=>{var e,t,n,i,a;const r=await s(dL()).unwrap();if(1===(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)){let e=null==(n=null==(t=null==r?void 0:r.data)?void 0:t.data)?void 0:n.filter((e=>"A"===e.ActiveStatus));H(e),F(null==(i=null==e?void 0:e[0])?void 0:i.AppId),g(null==(a=null==e?void 0:e[0])?void 0:a.AppName)}},Ne=async e=>{var t,n,i,a;const l=new Date,o=Se(l).format("YYYY-MM-DD HH:mm:ss"),d=Se(l).format("YYYY-MM-DD HH:mm:ss"),c=Se(l).add(e.NoOfDays,"days").format("YYYY-MM-DD HH:mm:ss");var u=new Date(c);u.setDate(u.getDate()-1);const p=u.toISOString().slice(0,19).replace("T"," ");if(_)if("Start Free"===e.Status){const a={UserId:_,AppId:iA("AppId"),PricingId:e.PricingId,PurDate:o,PaymentStatus:"S",LicenseStatus:"A",Price:e.Price,ValidityStart:d,ValidityEnd:p,CreatedBy:iA("UserId")},r=await s(Gb(a)).unwrap();1==(null==(t=null==r?void 0:r.data)?void 0:t.statusCode)?(x("success"),w(null==(n=null==r?void 0:r.data)?void 0:n.response),_?await Fe():await Be()):(x("error"),w(null==(i=null==r?void 0:r.data)?void 0:i.response))}else w("Free Already Used"),x("warning");else r(`${zhe}signin`,{state:{AppId:I,PricingId:e.PricingId,PurDate:o,PaymentStatus:"S",LicenseStatus:"A",Price:e.Price,ValidityStart:d,ValidityEnd:p,PricingName:"Free",locationpathname:null==(a=window.location)?void 0:a.pathname}}),window.location.reload()},Ie=a.useCallback((async(e,t)=>{var n,i;(e=>{const t=iA("UserId"),n=iA("AppId"),i=JSON.parse(localStorage.getItem("visitLogFormat")||"null"),a={VisitTime:(new Date).toISOString(),Location:window.location.pathname};let r;if(i){const n=Array.isArray(i.LocationVistDtl)?i.LocationVistDtl:[];r={...i,PricingId:(null==e?void 0:e.PricingId)||i.PricingId||null,LocationVistDtl:[...n,a],CreatedBy:t}}else r={UserId:t,AppId:n,CreatedBy:t,PricingId:(null==e?void 0:e.PricingId)||null,LocationVistDtl:[a]};localStorage.setItem("visitLogFormat",JSON.stringify(r))})(e);let a=(e=>{var t;const n=new Set,i=[];for(const a of e.LocationVistDtl){const e=null==(t=null==a?void 0:a.Location)?void 0:t.toLowerCase();n.has(e)||(n.add(e),i.push(a))}return{...e,LocationVistDtl:i}})(JSON.parse(localStorage.getItem("visitLogFormat")||"null"));await s(lT(a)),localStorage.removeItem("visitLogFormat"),nA("AppId",e.AppId),nA("PricingId",e.PricingId);const l=new Date,o=Se(l).format("YYYY-MM-DD HH:mm:ss"),d=Se(l).format("YYYY-MM-DD HH:mm:ss"),c=Se(l).add(e.NoOfDays,"days").format("YYYY-MM-DD HH:mm:ss");var u=new Date(c);u.setDate(u.getDate()-1);const p=u.toISOString().slice(0,19).replace("T"," ");_?(r(`${zhe}invoice-detail`,{state:{pricingData:e,PackName:null==e?void 0:e.Status,purchasedAmt:f,differenceDays:L,AppExpDate:D,locationpathname:null==(n=window.location)?void 0:n.pathname,Exist:B,SAdmin:!1,UserId:_,lastappPurchase:A}}),window.location.reload()):r(`${zhe}signin`,{state:{pricingData:e,AppId:iA("AppId"),PricingId:e.PricingId,PurDate:o,PaymentStatus:"S",LicenseStatus:"A",Price:e.Price,ValidityStart:d,ValidityEnd:p,PackName:null==e?void 0:e.Status,purchasedAmt:f,differenceDays:L,AppExpDate:D,locationpathname:null==(i=window.location)?void 0:i.pathname,Exist:A}})}),[o]),Fe=()=>{r(`${zhe}landing-page/home`),window.location.reload()},Be=()=>{r(`${zhe}signin`),window.location.reload()},Pe=a.useCallback(((e,t,n)=>{var i,a;if(nA("AppId",I),nA("Addon","Y"),_){if(!t>0)return w("Please purchase a plan first before buying an addon."),void x("warning");r(`${zhe}invoice-detail`,{state:{pricingData:[],PackName:[],purchasedAmt:f,differenceDays:t,AppExpDate:n,locationpathname:null==(a=window.location)?void 0:a.pathname,Exist:n,SAdmin:!1,UserId:_,lastappPurchase:A,AddonPurchase:!0,addonData:e}}),window.location.reload()}else r(`${zhe}signin`,{state:{AppId:iA("AppId"),PricingId:l.PricingId,PurDate:"",PaymentStatus:"S",LicenseStatus:"A",Price:l.Price,purchasedAmt:f,locationpathname:null==(i=window.location)?void 0:i.pathname,SAdmin:!1,AddonPurchase:!0,addonData:e}})}),[_,f]),ke=a.useCallback((()=>{w(null),x(null)}),[]);if(S)return Ye.jsx(Che,{});return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(bU,{title:ae.metaTitle||"Pricing - Retail ERP & POS Plans | POZO",description:ae.metaDescription||"Simple plans for MSMEs. Fast billing, inventory, GST e-invoice, weighing-scale integration, WhatsApp e-bills & multi-store controls. Book a demo.",keywords:ae.keywords||"pricing, POS software pricing, retail ERP plans, billing software pricing, inventory management pricing, GST billing plans",url:`${zhe}pricing`,image:ae.imageAltText||"/og/pricing-og.jpg",type:"website",customJsonLd:[{"@context":"https://schema.org","@type":"SoftwareApplication",name:"POZO",applicationCategory:"BusinessApplication",operatingSystem:"Web",url:"https://www.pozo.app/pricing",offers:{"@type":"Offer",priceCurrency:"INR",availability:"https://schema.org/InStock"},featureList:["Fast POS billing","Inventory & purchase","GST e-invoice","Weighing-scale integration","WhatsApp e-bill","Multi-store ERP"]},{"@context":"https://schema.org","@type":"WebPage","@id":"https://www.pozo.app/pricing",name:"Pricing — Retail ERP & POS Plans | POZO",description:"Simple plans for MSMEs with POS billing, inventory, GST e-invoice & multi-store controls."},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://www.pozo.app/"},{"@type":"ListItem",position:2,name:"Pricing",item:"https://www.pozo.app/pricing"}]}]}),Ye.jsxs("div",{className:"PricingPozoApp-Master",children:[Ye.jsx(Qy,{messageType:y,messageData:b,onComplete:ke}),Ye.jsx(XAe,{isScrolled:Y,forceTopZero:!0,AppCategory:Q,closingIndustry:X,setClosingIndustry:J,industry:G,setIndustry:$,companyRef:ie,closingCompany:te,setClosingCompany:ne,company:Z,setCompany:ee}),Ye.jsxs("div",{className:"PricingPozoAppMain",children:[Ye.jsxs("div",{className:"PricingPozoAppTitle",children:[Ye.jsxs("div",{children:["We have crafted a plan ",Ye.jsx("br",{})," just for you!"]}),Ye.jsxs("p",{children:["Flexible pricing for every stage of growth"," ",Ye.jsx("span",{onClick:()=>Ne(freePlan),children:"Try it Free 14 days trial"})]})]}),Ye.jsxs("div",{className:"userReview",children:[Ye.jsx("img",{src:"/assets/userIMG-505960af.webp",alt:""}),Ye.jsxs("div",{children:[Ye.jsxs("p",{children:[" ",Ye.jsx(aD,{})," ",Ye.jsx(aD,{})," ",Ye.jsx(aD,{})," ",Ye.jsx(aD,{})," ",Ye.jsx(aD,{})," ","4.5"]}),Ye.jsx("p",{children:"from our customers"})]})]}),Ye.jsxs("div",{className:"indusrtyDivsSearch",children:[Ye.jsx(WO,{className:"searchIcon",size:22}),Ye.jsx("input",{type:"search",placeholder:" ",value:O,onChange:e=>M(e.target.value)}),Ye.jsx("p",{className:"animatedPlaceholder",children:"Search industries..."})]}),Ye.jsxs("div",{className:"indusrtyDivs",children:[Ye.jsx(yE,{onClick:()=>oe("left"),style:{cursor:"pointer"}}),Ye.jsx("div",{className:"industiresPricingTab",ref:R,children:le.map(((e,t)=>Ye.jsx("p",{className:I==e.AppId?"active":"",onClick:()=>{F(null==e?void 0:e.AppId),g(null==e?void 0:e.AppName)},children:e.AppName},e.AppId||t)))}),Ye.jsx(xE,{onClick:()=>oe("right"),style:{cursor:"pointer"}})]}),Ye.jsxs("div",{className:"pricingSection",children:[Ye.jsx("div",{className:"planTabs",children:Ye.jsxs("div",{className:"tabGroup",children:[Ye.jsx("button",{className:"tab "+("M"===u?"active":""),onClick:()=>je("M"),children:"Monthly Plan"}),Ye.jsx("button",{className:"tab "+("Y"===u?"active":""),onClick:()=>je("Y"),children:"Yearly Plan"}),Ye.jsx("span",{className:"saveBadge",children:"Save 17%"}),Ye.jsx("div",{className:"saveArrow",children:Ye.jsx("img",{src:"/assets/LeftArrow-72cce6f5.webp",alt:""})})]})}),Ye.jsxs("div",{className:"pricingCards",children:[ce&&Ye.jsx("div",{className:"pricingscrolBTN",onClick:()=>fe?ge("left"):pe("left"),children:Ye.jsx(yE,{})}),Ye.jsx("div",{className:"pricingCardsContainer",ref:de,children:null==(i=[...l])?void 0:i.map(((e,t)=>{var n,i,a,r,s,l,d,c,p,A;return Ye.jsxs("div",{className:`pricingCard ${"PREMIUM"===(null==(n=e.PricingName)?void 0:n.toUpperCase())&&"rightside"} ${(null==e?void 0:e.PriceTagName)?"popular":""}`,style:{display:fe?t===Ae?"block":"none":"block"},children:["FREE"!==(null==(i=null==e?void 0:e.PricingName)?void 0:i.toUpperCase())&&Ye.jsx("div",{className:"popularTag",children:null==e?void 0:e.PriceTagName}),Ye.jsx("div",{className:"planName",children:(null==e?void 0:e.PricingName)||""}),Ye.jsxs("div",{className:"price",children:[Ye.jsxs("span",{className:"amount",children:["₹",null==e?void 0:e.DisplayPrice]}),Ye.jsxs("span",{className:"period",children:["/"," ","M"===u?"month billed monthly":"month billed annually"]})]}),Ye.jsx("button",{className:"planButton "+("FREE"!==(null==(a=e.PricingName)?void 0:a.toUpperCase())||"Already Used"!==e.Status&&!se?"red":"gray"),disabled:"FREE"===(null==(r=e.PricingName)?void 0:r.toUpperCase())&&("Already Used"===e.Status||se),style:{cursor:"FREE"!==(null==(s=e.PricingName)?void 0:s.toUpperCase())||"Already Used"!==e.Status&&!se?"pointer":"not-allowed"},onClick:()=>{var t,n,i,a;"FREE"===(null==(t=e.PricingName)?void 0:t.toUpperCase())?Ne(e):Ie(e,(null==(n=null==D?void 0:D[0])?void 0:n.RemainingDays)>0?"Extend Pack"===e.Status?"Extend Pack":"Extend Pack"===(null==(i=null==o?void 0:o[0])?void 0:i.Status)?(null==e?void 0:e.DisplayPrice)<(null==(a=null==o?void 0:o[0])?void 0:a.DisplayPrice)?"Switch":"Upgrade":"Switch":"Extend Pack"===e.Status?"Extend Pack":"Get Started Now")},children:"FREE"!==(null==(l=e.PricingName)?void 0:l.toUpperCase())||"Already Used"!==e.Status&&!se?(null==(d=null==D?void 0:D[0])?void 0:d.RemainingDays)>0?"Extend Pack"===e.Status?"Extend Pack":"Extend Pack"===(null==(c=null==o?void 0:o[0])?void 0:c.Status)?(null==e?void 0:e.DisplayPrice)<(null==(p=null==o?void 0:o[0])?void 0:p.DisplayPrice)?"Switch":`Upgrade to ${null==e?void 0:e.PricingName}`:"Switch":"Extend Pack"===e.Status?"Extend Pack":"Get Started Now":"Already Used"}),(null==(A=null==e?void 0:e.FeatureDetails)?void 0:A.length)>0&&Ye.jsxs("div",{className:"features",children:[Ye.jsx("h4",{children:"FEATURES"}),Ye.jsx("ul",{children:null==e?void 0:e.FeatureDetails.map(((e,t)=>Ye.jsxs("li",{children:[Ye.jsx(LD,{className:"checkIcon"}),null==e?void 0:e.FeatConstraint," "," ",null==e?void 0:e.FeatName]},t)))})]})]},t)}))}),ce&&Ye.jsx("div",{className:"pricingscrolBTN",onClick:()=>fe?ge("right"):pe("right"),children:Ye.jsx(xE,{})})]})]}),fe&&Ye.jsxs("div",{className:"cardCounter",children:[Ae+1," / ",l.length]})]}),Ye.jsxs("div",{className:"addonsSection",children:[(null==E?void 0:E.length)>0||(null==T?void 0:T.length)>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("div",{className:"addonsHeader",children:[Ye.jsx("h2",{children:"Add-ons & Upgrades"}),Ye.jsx("p",{children:"Extra features you can add to your plan for a better experience."})]}),Ye.jsx("div",{className:"planTabs",children:Ye.jsxs("div",{className:"tabGroup",children:[Ye.jsx("button",{className:"tab "+("monthly"===d?"active":""),onClick:()=>c("monthly"),children:"Monthly Plan"}),Ye.jsx("button",{className:"tab "+("yearly"===d?"active":""),onClick:()=>c("yearly"),children:"Yearly Plan"}),Ye.jsx("span",{className:"saveBadge",children:"Save 17%"})]})})]}),(null==T?void 0:T.length)>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("div",{className:"addonCards",children:null==T?void 0:T.map(((e,t)=>Ye.jsxs("div",{className:"addonCard",children:[Ye.jsxs("div",{className:"addonCardMain",children:[Ye.jsxs("div",{children:[Ye.jsxs("div",{className:"addonPrice",children:[Ye.jsx("h4",{children:e.FeatName}),Ye.jsxs("span",{className:"amount",children:["₹","monthly"===d?e.MonthlyNetPrice:e.YearlyNetPrice]}),Ye.jsxs("span",{className:"originalPrice",children:["₹","monthly"===d?(1.17*e.MonthlyNetPrice).toFixed(2):(1.17*e.YearlyNetPrice).toFixed(2)]})]}),Ye.jsx("p",{children:null==e?void 0:e.FeatDescription})]}),Ye.jsx("div",{className:"addonIcon",children:(null==e?void 0:e.FeatIcon)?Ye.jsx("img",{src:e.FeatIcon,alt:e.FeatName||"addon icon",style:{width:"60px",height:"60px",objectFit:"contain"}}):null})]}),Ye.jsx("button",{className:"buyButton",onClick:()=>Pe(e,k,B),children:"BUY NOW"})]},t)))}),Ye.jsx("br",{})," ",Ye.jsx("br",{})]}),(null==E?void 0:E.length)>0&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("div",{style:{position:"absolute",marginTop:"2rem",fontSize:"2.5vw",fontWeight:"500"},children:"Package"}),Ye.jsx("div",{className:"addonCards",style:{paddingTop:"6rem",borderTop:"1px solid #e1e1e1",display:"flex"},children:null==E?void 0:E.map(((e,t)=>Ye.jsxs("div",{className:"addonCard",style:{width:"250px"},children:[Ye.jsxs("div",{className:"addonCardMain",children:[Ye.jsxs("div",{children:[Ye.jsxs("div",{className:"addonPrice",children:[Ye.jsx("h4",{children:e.FeatName}),Ye.jsxs("span",{className:"amount",children:["₹",null==e?void 0:e.YearlyNetPrice]}),Ye.jsxs("span",{className:"originalPrice",children:["₹",(1.17*(null==e?void 0:e.YearlyNetPrice)).toFixed(2)]})]}),Ye.jsx("p",{children:e.FeatDescription})]}),Ye.jsx("div",{className:"addonIcon",children:(null==e?void 0:e.FeatIcon)?Ye.jsx("img",{src:e.FeatIcon,alt:e.FeatName||"addon icon",style:{width:"80px",height:"60px",objectFit:"contain"}}):null})]}),Ye.jsx("button",{className:"buyButton",children:"BUY NOW"})]},t)))})]})]}),Ye.jsxs("div",{className:"liveFooterMain",children:[Ye.jsxs("div",{className:"liveFooterLeft",children:[Ye.jsx("p",{className:"listTitle",children:"Quick Links"}),Ye.jsxs("div",{className:"LiveFooterList",children:[Ye.jsx("p",{children:"About Pozo"}),Ye.jsx("p",{children:"All Products "}),Ye.jsx("p",{children:"Pricing Plans "}),Ye.jsx("p",{children:"Contact Us "}),Ye.jsx("p",{children:"FAQs "})]})]}),Ye.jsxs("div",{className:"liveFooterRight",children:[Ye.jsx("p",{className:"listTitle",children:"Support & Help"}),Ye.jsxs("div",{className:"LiveFooterList",children:[Ye.jsx("p",{children:"info@pozo.app"}),Ye.jsx("p",{children:"73 24 00 00 11"}),Ye.jsx("p",{children:"73 24 00 00 12"}),"     ",Ye.jsxs("span",{children:["Let's get social",Ye.jsx(cg,{}),Ye.jsx(pE,{}),Ye.jsx(ug,{}),Ye.jsx(_m,{})]})]})]})]}),Ye.jsxs("div",{className:"liveFooterRights",children:[Ye.jsxs("div",{children:["© 2025 PozoApp ",Ye.jsx("span",{children:"Privacy Policy Cookie Policy"})]}),Ye.jsx("p",{children:"For queries contact us: Manager, No 51 Step Colony, Dharga,Hosur, Krishnagiri, Tamilnadu-635126, India"})]}),G&&Ye.jsx(KAe,{closingIndustry:X,AppCategory:Q,redirectApp:(e,t)=>{nA("AppId",t),nA("AppName",e),F(t),g(e),G&&(G?(J(!0),setTimeout((()=>{$(!1),J(!1)}),200)):$(!0))}}),Z&&Ye.jsx(Ohe,{companyRef:ie,closingCompany:te}),q&&Ye.jsx("div",{className:"backToTop",onClick:()=>{V?V.scrollTo(0,{duration:1.5}):window.scrollTo({top:0,behavior:"smooth"})},children:Ye.jsx(tv,{})})]})]})},access:"Public"},{path:`${Ofe}live-Session`,component:()=>{const[e,t]=a.useState(!0),[n,i]=a.useState(!1);return a.useEffect((()=>{const e=setTimeout((()=>{t(!1)}),500);return()=>clearTimeout(e)}),[]),a.useEffect((()=>{const e=new Cre({duration:1.2,easing:e=>Math.min(1,1.001-Math.pow(2,-10*e)),smoothWheel:!0,smoothTouch:!0});return e.on("scroll",(e=>{i(e.scroll>50)})),requestAnimationFrame((function t(n){e.raf(n),requestAnimationFrame(t)})),()=>e.destroy()}),[]),e?Ye.jsx(Che,{}):Ye.jsxs("div",{className:"LiveSession-Master",children:[Ye.jsx(XAe,{isScrolled:n,forceTopZero:!0}),Ye.jsxs("div",{className:"LiveSession",children:[Ye.jsxs("div",{className:"ls-left",children:[Ye.jsxs("h1",{className:"ls-title",style:{display:"flex"},children:[Ye.jsx("div",{className:"RocketImg",children:Ye.jsx("img",{src:"data:image/webp;base64,UklGRtINAABXRUJQVlA4WAoAAAAQAAAAXAAAXQAAQUxQSF4EAAABoIZt29lIu5POTsb2rG3btm3btm3btm3bNgdrj6fbPB9mm7fPu/wXEROAv7+K5pUkXeYc2bOk9rX7sSiuQfmaDFt16PKD0NevQu4cnVZW+3HYZ+u69VE8WR/Ry/7H4FK33bHXcWT8Y8EfgWOexRHxJHaYJl/SRaEkfKeXbDlXRpINryWTSgkY/tpMtrybWia3Zvd1su3dNPIoGbaaydY3UkjjPTCCbH8qWJaC+6KJ4ToPOXwbhurEcZQmhd+COOLZTJFAzXEhmnh+KwL+9uVuE9dXySVo84bYnvBkZxoWS2wt0+y4OcyIJ75RNcHcd5aZGL8IZmY/K444bwFv91lm4hzdhpfWJ4pYX0/OK/Mz4j1EYVX0vs5sGDgnv0fMz+Vm5NHpMTH/nAJ8A1bFEnPLGLBVM90l9o+TsdE6hhB7cweFiZJ05hvifyApePq0ukcSRpeD8JQ9qxdIHejh6uaVNFfd2bciScY5mjDPzfrX8PvXzp4+c/FOSDTJGZ4MwgdGkvSf20C01j+a5J+piUrULorkv5wegtW6n0j+zzkVUQVekfyxgyA6xSuSP36ySZT/TvoBHgyAYO9l9AO8lgWie8T9AEIyQ3TNNyT/05IQ7Xab5A9voIhynUPyf61pB9GNo+QLr6FCdLIrJP3DiipEq0vMxsxfI2LMeiyfB3kUCM8VR8YX1qjeou/4MVz0r50VCPc8RIbNSwEgUOvA5HUdd4hXascau5EaQMlzKw/xeNpZgw0DD5PhqFoA0r0gpg/zmWDLfmZjax2ASmHE8+tYT9jU7zElaNG/9zw7kP4G8Yxo4grblnn/LuTC9tm9Gg2eu3zd1t0Hj19qCiDjAx7xAxXY2D13Ci87WKmoJgAwzeaxyQFSBm2LZXEjEyQ0pep/j1h+a6pIoLS+ZiaeF33AP0f3COLaX2Fnqn8vjrjGpQb76u9IuOXxWyMPVHZOG0n8htynjGwBd63KfXEn4LbTyExu6ogPurBbhZBokZGxnJycgWwfSPitXIDHZiOjOE3fkwJdLcJu5QFMHT8aGcfI7tnnkoGPSPDdLn5Qkm63kNH5jFCydqEDJDiquQrXFhfJ+DZOSHWGBFvGuCHX8ggSeEPhkzdXY4sg/ZADcI+EfvXkU7F0bxJ8IQ2A+0Ji5ybioypDBIWUB4CrIp71dARjbY2gnqb/HRMQVkIFX5f2YbqYfU74/w5joTnBufB7Ehp9MAgJrjWin8oO1jleCbnYyAsJLzRgOVAEvN13C2mM70/SrTJvcgdzr8MiTrpb0TrGmvfdTOAeeMGQ/vZEbljZNt6Ka/U0sG8RY2hzRXdYO+Lbd/QLaRSwd9hLVm+rU78QDC6hhN8MdIKE3hesCNnXxi1LZwcj2xI6U9gJMgZc+d7RtBrs9l7xMXKaiPTng70hZ8aHRLpO9G1vEABUyguj94n0FVkUSNr61c56mdMVqJpPg1g11HyqJqRV9zVwhm3ntveDvKbc9rCxo4pfUlZQOCBOCQAAECgAnQEqXQBeAD5RIIxEI6IhGAwFxDgFBLYEOADHpKFaPgH+N8zan/0z8EfkrxNVAeWPyR/u/QP6h/zx7An6gdKX9pvUV+zP7Pe8d/gPU9/bfUF/nn+K6yP0Ef2x9Wj/gfuN8Ff7bfs78BX66/+f2APQA4Un+q7dvhk9Iyie4LCbw78F+AF7B38OFOmGmi+Pf6b9gT+Zf2f0pPXH+7HsF/r0385/lRwFazQ4GAnqyKXgkv5NQB4Fs7PV59AbUBqkE/UkxVWWh31Juz3awT4pEqrtBO1Hh0wEUWMEYQDKi0KdLY3Ry/O1Yv0BVRrtVfnlWYCtwX/yIKTPdh+SmrA6DFWsp9Fbj4bsQLYd63KUmd/QGgh0LQgQ0lFmne3l9R1Vcskqn4dPG6NLHXIgKA3Zmb6RXTGn49Td/kdlmvvO7PXV1jmDjPRilZAA/vHGggv4KS2Zp9/gu3KwOw/ZmnUtP+pJgIAXU/fOJv/evkf9LQkGzQpU7EiJZrnROe0ryYtRh7bFsjuRNPTLONhyv/nWfXezDnQ+MRWTsny1eqLlwR3nv7jvnts1NmVqdy6MBY3/G41V6itW7xDzYPBe0WUZFyaJdW5eBSJHFmmdfKlokTcBXQHytvACSG14AZDzh9mlyB56538tpNfqgtY8MqEi7XRNgBnY8aXD3rOy82yCTIfBnCa81A3+oEf9dt1MgsPISsQmDRkVuVO7wh2MxFptgMcYVf7wmv8FDpfwFaSrujvJmq9SRXQK/+3v9nqVsh129SBzbaxPAvKyXzhAGf+udb6qfy3icfJaEuQNPB1VuKwLzub2OvmZ9aTk5M8wObNdqzi6aIIwV6Gu7Kocr80K8yslOq8NDEafqpUnP57DUJxIvY88WmZGhexeppsnoywqVTOTAj/xrUdnLoAGdkq9CwD6hNEc5LVy/8o7O0uBU+8Q6H9/LnlJiOLnBfdf4SeqUjoyhofqW/qz+N1hH44UdqcAXcJjvBBTXDgrEx5ldFALabdWyFVoNs8Xf/7GnLxieLY1hUJfp3bGEKIZRMstABK2GOsU3Yl572GCvY8aBL2/cv/n7tL8AwnSbR84P7HGwb7mOTRS2e8wSK37Twf8AMscqyF1h5Y9PgYnsASQVn6Dv35YZFfJixdY2yIkXmsRS24AIEciwPIEiXWUB2SoE0w55PiLoMV3faQZtNybbuGHNbBO87ijirTH+I7zhVyY0WVMiRbwoGdNcwjPd+6Te8SEXs23TN9/61dX4mt1hFT8bHxIgAKjvC53PbL14cRA+zjBm6DdAci3TL7Nv9hp5tKWyHDhR/ge4O1eOpaNfa3dRwuofIMDMpIpPxc+5zmg8lP4atfpgULvzkYBSH2apkdsdgXMzOmr1oPI4EdM3728t/ppof74jVP9bnFCJri8+vrZD/4NAvORYWof150zX/lbcy15WWrj5ZZn6J5PLXMJYEejOd9dSuUi/N991lJxTFxBGjnMpQB0/Pz9MLEEb6xqFttHIA8vAXuzyk3/C6rjnRsyzOp7kK1+ofi6k59nzy052goZvaD+75BjTKx7YIo6GtPQM51/qSybSHT3RnhsuTnqE8V38byPYAHzzoOT9ShzewydyJUUrPKoOel+byGDECta244IRsuguAA05/N7vi1kFWz2iuY9LUrBVpTEnEYLmW2ICS+6DgXMuDDa9KGZzX3OL5r58R/SclSvFFZSwn1Cl507/jB675jtoio/GKzQ/w0UYnA6I/ao0zuZ28LB4fbPJd9x9Lx+ArFN5nPlA+aigDzV22jid+iES2EmbcYDt12+P6XcGhnZcd3O3y/PTfvZ/akSlL2gfqc5k0g/dOkchcYyuvc42ohhNkhXkQ5bnK3tLPitvZIzLeFtt5XiOMtJd+nfHLb+2mIGgn1X1s1bnsttu1flyU7XZ5FX6iu6squWzZNV1G0JFKqzRNl05BVMlELM8HvkY/3oQXmITz64z/fKyUiGItN7kBhQ+NKYfoOVU5RyiU80TtzTPisceJRzGdsHIFGtFRnZpFMl5J3TXXgSTleeP614u0OgARWE1ARxtlSL6PLcLkLZCM8+VYbfK/hcnGzXu2H5VuBwdvE9Id7Ipn4pHgkWfZbWdpxzNZc313axCj9Y39+pwutOREz0ja+5KuObbCMdFKkJOaMPcYki5+gPfnm9vDdt5R26+/Hlfdo4hs4sk0MbLycGtuQ8Cw1v+nqfPpIJpoceWdaOmDRs1qZ5wgiETmhG2d5DphTJ275+MIJlfSdBUARHFaBhqsJ4U/6R/sY0XezSsJDXVG3dR2+t/HCdTszCtKEan/jzRCVVXKtItnlnWEp2hv18cvOUpsXH5TeSaDnea4mYaQPulKZOrR1QLSp/EZd2+JAEz/M81a76G4u12HTCWhLZhALy7mB7V3eGeGp7EONgz+WZ1jGh2dCYRQsUDY66bcLYEQrwu7fDtwupmGK9YDmMrtZ2RQZkNzGjlNqo3DsG8nLAGAdCo2y1dFfrz9A0yD3W7HdHNXV6kny6jEfVJ5uecNdBUb3Y+bvw1dcW8HF8FYsLyS1/7nF25a4csqdcGVYB+Hw8mLeGaANbLDq7Vj2RezuDwp21S/S6wsEONAf3cYCghqnzlI/QshKxXKsPO78kd56RV8YKYJAjRZnqunhm704PcPXBLr65NVAyEa4pP1FHAqNdKE+1dRX2BZeWGTuLhdWs0CprJ9YuIwvEYH/e2sv4koJ8NnSQ2ch5D8B/990hGH82FaoWAAC49tv+b3tZr9aRnxlP4u5udfmD42mDIJ/eW9q/x4XkrqleLHn/xRCc+MFCs3j2K+F8sR3D0LlFGrfwzXH5LPSvwd/mB+di17Ab5mFT1+aWixPSxqWe4E6m7J07V5ajq2eCEMHIWsUNrH7ERWKikNbop/H++68q/qSkny6YdU5ukyMsxR9180RvA3AYGBv2BBGJEKNQ1wmcVxOC9Eudf85kgzl9nN9hi7/28ctnugsbr1Fz7leB9dNUUacsrhqsd+kifQS+EYmOJkM+qCVGniLbF6lumjbSzOKZkwDOPOREriB8fVM/Pph8EnLU+y4FxlgrJK2W6xtE75njzjoH87U1OJOOjEI/O7FtFlS3fXpdKZ//kMf/yA3//j0M1WKqkuT+jRiEsc1UMpT5/3X/gbPBLvcn8aq4w0O0OBgAAAAA",alt:""})}),"Live Session – ",Ye.jsx("br",{})," No Cost to Join!"]}),Ye.jsxs("p",{className:"ls-sub",children:["Join us for an exclusive, interactive ",Ye.jsx("br",{}),"experience – absolutely free!"]}),Ye.jsxs("button",{className:"register-btn",children:["Register Now",Ye.jsxs("div",{className:"icon-container",children:[Ye.jsx(IO,{className:"icon-main"}),Ye.jsx(IO,{className:"icon-hover"})]})]}),Ye.jsxs("div",{className:"info-grid",children:[Ye.jsxs("div",{className:"info-box",children:[Ye.jsx("img",{src:"data:image/webp;base64,UklGRs4EAABXRUJQVlA4WAoAAAAQAAAATQAATQAAQUxQSHwBAAABkFZrT11NrwQkRAISkFAHgwQcFAetA46D8zlAQiVEQiRkLr1Bstb8jYgJwPCYy9Za79+2lSXCckjbIfpQ+paMpC76srQ0XVhFh3KmmcIqOpxXmiWsolNyniOxTss0waZTr6Po0Mm/NCSyTs80YBE1yPG1X2pT4kuLWpX4ShQzyvQCsRrm8IzV9PfRqsbLg6TWhe6xOe23VnUw3yD1UMJVc0HrBamPEs6aE1rO2It+ktXN9M/Xjx1AUD8FwOKIRqB5UoDDkx8E9VSQXNGw+BKrL/njS/36sndf2v/Ux5fqTfUlZ19S9CUEVxg4PPkBdk8KkDyJQBA/GAC6H+2f5Ef8J4gXjNPqRT4L4gPjsvqQr4J4wLhZPch3AtvruJ3MCd3Dbq3gabfV8JjYEodniGKHCW8mM0x4NxuRiLejWGDC+8TzMWEkHbN9AgbXqaRgPPE8nTBl4TkkY1baZZzUgIkp85ijBMyePvKW7Ak2097lifSaYDqmUttpzQthOFZQOCAsAwAAMA8AnQEqTgBOAD5RHoxEI6GhGtrUADgFBKAMReAT9PJJwH+4eozbLeYDzqvR/vCvoAdKZ/jfOMeO3CP/crsEwf8bP0h7BJrCJX1y3AMehzb2feL42zWEHCK1ffCqPQHgDKjvEMYb8Iy7mWHvP3PChU90KX34uXpIlHwJHdT/qGy1wAD++T///8k3//yRH//8h/xl7bagH/9gjgks8qkuNVng84qFEcppqk4jMGXXRqIYx/3gwp7i9N8KhET/7BHKmi7ppPTbVRr75WhVPk63s8XjfUofOo0WZbB4Fq8UefdC8MQqAjVKgj+CzSAaBf/OcBnmr2Q+tHdtbe/9XBK+h5OMeBfJBjzbrH2Wn+M2szpNSIaVJ/ZrX+3VDTt5Q+WhOH+rtddVxeMRGleZYfQxnBWwJRMR3FPlLlVt0IrWJiA9ij6wKbtMZKdTKXVV/CC5fiBjRbxRTO65ITvGC4t11k264aWQVB0hf8VPLWXgfVc5SjNDVpwyAR68Va377EOvADt5I+DZes4fRSJ6OG3Pi8BUmXix/5ktT4W4so4pV0yAwKneTuYXBM2x14EFP7mcIoVK6Eu3ixkdiFZ8uX6jbXWNfE9Qtu7wlooZLtmPlKJJgF7dgpn7mU0lj53kpM0ZmgN1MZD2L0iqM56t0MtfrHgYDJ/TrdOjpmDhHHdXcS3VsfmOZa5m83mDAxq2eRlEnG4kEsad7a7tPI/B+CQLcgqS3ytPMDUb9FKPeV/7dM0TuLJHGEOS1gokHzyl4fDTnC6QH0K2qrJZC5z1tLFeEK9hJvsfenbm+1/0JPJ2egSlz/EO4A3EymtrBfoT2bmBlToCMfxiTsmsG3eaQxga5OhNXR4IDpcHgtAH2qUoPHPFGWRdFkht9YikrkHvhKLsz3E0AO2YPof4+V3xXdtz+lrW8YhIpGNi35gBx/WoaT8Zis7x5PN64PYZm1N3mubTagvhoFjdhKIIFrRLBxQEBLY3UU/eoavYD/9ZAN97m6juWc41MURDNmGsWUOIqABJvBBngLyCf6b4Zwk9/Nz6ynzPjzr/9tsf/+QPf/4/w//+Pgu5JRjXvQNSAAA=",alt:""}),Ye.jsx("h4",{children:"Date & Time"}),Ye.jsx("p",{children:"Nov 2, 2025 | 01:00 PM"})]}),Ye.jsxs("div",{className:"info-box",children:[Ye.jsx("img",{src:"data:image/webp;base64,UklGRlgEAABXRUJQVlA4WAoAAAAQAAAATQAATQAAQUxQSHQBAAABkFZbT55ZjwQcTCRUQiRUAg4GB8XB1AF18F4HSKiESEBC5hMoyVr3b0RMAJ4OW8ylvGotJScmWA6xiI62mjYbIVWdLYWW44+mj9a4FFd9XuIyoeiasq/x3nTZQs9R1ZVlf4pFFz+eedf1X+GBQy0KTTvUptCkQ61KmHKo3TtM2NVyGSMxpWlI1Pg2cKh1CV2k9nPXywGljqge1g5xQfmPqD7WP6oTyr9s6uX5S3GjhR/ihjIAVj8LgNORBuB2RBlBPU1gVwqSK4LLFUX15e32hZsvu/oa/6fEF/bm5cvb5QuSKzfYlX8IriTg9oSB05EGgB0pAND82H+cbgh+shvlF1Qv6Dd2ouDP6gP9xS4UdFYPqIeavYzuZE4wWK3RCDVbGcNs6sTEZOjG1GxGwhxkI0KYnU3cAfOTgSvgSZLVMh6maylhPB9lnTNgRboWqYxV6Vrg3rEyXe2Zylg9xDpNMsFk2M97SEoimN72lMvPM8ct4HFWUDggvgIAANAOAJ0BKk4ATgA+USKPRaOhoRH6rgA4BQSgDGehBd/oiUega23XmA/WP1qv5n1AHSI+gB5Zn7FfBD+zP7XfAJ/IP7dqzvQA6QYs1m+eif96UxJgtObrL3e71aFWGYIf7Im4u71gDGI5CHc9+vKylZc89EkBlimlH6roODcxpqAA/vUg//+Q+//5Cu//+OtKtU6TBEP7Li6YYfhdBp7+8HO/bqiXDt/JU/8X1//5A9//kK7//5BIvQwDudEIWns0vzTPUFCaXAjAznpThBfz8Xfui5hpybTI6oRRoUm5IoBrzqHoyccOsAO33hrsb7i3T1rIwwJ7jdQWVRRYVWQZ3xt2Tx5SrBXwq7Qrgc48v9sBVueZkMvcG7/5HC+xAVmKwMztw9Sz+qnYVHZwIRnuzOYVBoUeJizMbNSsae0p8RTN9edaJLwZJR20/1y1//NHo5bMIXb4H9AZzMpbOXpr+lO6Hx13K8Ts8TWI9Eup83P4T6YeVIQ5qO+f/YBrXWXd6ObIwxOgGaOE93sLNiRJ9x+g6mAZOAIIy39c8h+d8tc/l0dYtcRMenxRvYfy8NiTtGI42jwsl0zvw/qI8KnfII39rVUamJEDMacu/gvsfniHMtOyj57vDT5GvUk37B/aUT3ZwUQng80+AHoFvB/6z5idfjmJd1maKi/FIMYp7sQJuKGF2u83B+3yn8t7RWPvG4vwonNjUp/y9/wdKuUltAUWFnpvYvr4fi1G/blp5hvaObaWmT3bI7Q5TwH05PfU/iaIYHPGdmA5BFtoPu9SKnG4AbeLteKJ2J/NlL8tv1cOk8TU9VN/tnk1MhttjAMvkQ1QwGi6z/agiRAFQL2k8PpvhrK8nfUe5pdY7mHUyo3D4szX8n/+VivH8DwZwlw+S85poZ/oovclscM+MoQCn/+36M//7fmUxZkZXOsyAA==",alt:""}),Ye.jsx("h4",{children:"Speaker"}),Ye.jsx("p",{children:"John Doe, Marketing Head"})]}),Ye.jsxs("div",{className:"info-box",children:[Ye.jsx("img",{src:"data:image/webp;base64,UklGRngEAABXRUJQVlA4WAoAAAAQAAAATQAATQAAQUxQSHQBAAABkFZbT55ZjwQcTCRUQiRUAg4GB8XB1AF18F4HSKiESEBC5hMoyVr3b0RMAJ4OW8ylvGotJScmWA6xiI62mjYbIVWdLYWW44+mj9a4FFd9XuIyoeiasq/x3nTZQs9R1ZVlf4pFFz+eedf1X+GBQy0KTTvUptCkQ61KmHKo3TtM2NVyGSMxpWlI1Pg2cKh1CV2k9nPXywGljqge1g5xQfmPqD7WP6oTyr9s6uX5S3GjhR/ihjIAVj8LgNORBuB2RBlBPU1gVwqSK4LLFUX15e32hZsvu/oa/6fEF/bm5cvb5QuSKzfYlX8IriTg9oSB05EGgB0pAND82H+cbgh+shvlF1Qv6Dd2ouDP6gP9xS4UdFYPqIeavYzuZE4wWK3RCDVbGcNs6sTEZOjG1GxGwhxkI0KYnU3cAfOTgSvgSZLVMh6maylhPB9lnTNgRboWqYxV6Vrg3rEyXe2Zylg9xDpNMsFk2M97SEoimN72lMvPM8ct4HFWUDgg3gIAALAPAJ0BKk4ATgA+USSORaOiIRH6rgA4BQSgDJDhw+v6AOhK7H9ft3PEA/Zn3iukA/qP+x6wD0APLM9iD9rP20+AD9g9W2hBlAwwUyLxR/TPsDeTN7By/FSQ80FUWwqZnNo+Q6N8xJaakGdUGnoY8LV1dejGFmirnrEXSnSVbSfQEiB0/SgAAP70Sf//m/v/+bu///l2aVQeGmLBi9+0+s0APgLdDpL4gjuf//ycNoL9kpB1DZeklEVzrCaZHH9T+dfPhs7fzdOkvdjz0ccFTukXLwOhMiBqq5cpGrvYHI941S+pQc7UM106D5urnitfjRyvxP/S8JrfPPIkD77/Jw9nH//OY/whQ65Az/aSJdXtWIols04h7wzRjs7uiGss6gOX05oM/osSECmZP5wV9zrkUbt+UR2TxbrgQXhXWTyfDaaNdFBGkeX1Ivoe5n5LUX/pWTllzgfcFR05c9G18ZEzf/Ee83hnurtesccSnU97leTOg6vJn/xKDntrgh9FVxfLpx+JCNSd4iTcbxfC2ST/8etiubhZk28+LRBd4wMZ6q82b4iL0JNFLriITtWzjrzQ0LmXGpP4LfrG6yYD3w/cyO8us+NVRJ/msriKOI5unr8qRoQyJV/PFydghrVFaUxw8R8Tp4h6kJ5n9Y4UIBVCG8+orkuxQ/y4EhQ/3d4hvJuD653fWKAwqIO/QUm3oaB15bd/e5ILGm0Q95T/HMlz+mqwa5IljtkqvsqR/6sQvyU30/eIkTnP5ZK9JvKjWzg2SvEdgEV2uW/lSMgnfBAgxVSXWVAq2EQrugcHUrhxn58qW8I7XvXtF+STlLVSgN1zuYRnk1xcyPm9s7Lr4Rp/yEPYib5YV0uP89NZ+dHr7zi9coJk/YKH+YmuBUWHQfOXDBOJROjatAbwqqXNE5l73/9ZKvXaEI51X8Yqv9UcZV94CEgumP/teX//zQr//M6H//zLs5Hr3QqEcAAA",alt:""}),Ye.jsx("h4",{children:"Platform"}),Ye.jsx("p",{children:"Zoom"})]})]}),Ye.jsxs("div",{className:"agenda-wrap",children:[Ye.jsxs("div",{children:[Ye.jsx("h3",{children:"Agenda"}),Ye.jsxs("div",{children:[Ye.jsxs("p",{children:[" ",Ye.jsx(JD,{})," Introduction to [Product/Feature]"]}),Ye.jsxs("p",{children:[Ye.jsx(JD,{})," Live Demo & Use Cases"]}),Ye.jsxs("p",{children:[" ",Ye.jsx(JD,{})," Q&A with Experts"]}),Ye.jsxs("p",{children:[" ",Ye.jsx(JD,{})," Sneak Peek into Upcoming Features"]})]})]}),Ye.jsxs("div",{children:[Ye.jsx("h3",{children:"Why Join?"}),Ye.jsx("div",{children:Ye.jsxs("p",{children:[" ",Ye.jsx(JD,{})," No Cost – 100% Free"]})})]})]}),Ye.jsx("p",{className:"limited",children:"# Limited seats available — secure yours now!"})]}),Ye.jsx("div",{className:"ls-right",children:Ye.jsx("img",{src:"/assets/ContactUsBG-955729c5.webp",alt:"live session preview"})})]}),Ye.jsxs("div",{className:"liveFooterMain",children:[Ye.jsxs("div",{className:"liveFooterLeft",children:[Ye.jsx("p",{className:"listTitle",children:"Quick Links"}),Ye.jsxs("div",{className:"LiveFooterList",children:[Ye.jsx("p",{children:"About Pozo"}),Ye.jsx("p",{children:"All Products "}),Ye.jsx("p",{children:"Pricing Plans "}),Ye.jsx("p",{children:"Contact Us "}),Ye.jsx("p",{children:"FAQs "})]})]}),Ye.jsxs("div",{className:"liveFooterRight",children:[Ye.jsx("p",{className:"listTitle",children:"Support & Help"}),Ye.jsxs("div",{className:"LiveFooterList",children:[Ye.jsx("p",{children:"info@pozo.app"}),Ye.jsx("p",{children:"73 24 00 00 11"}),Ye.jsx("p",{children:"73 24 00 00 12"}),"     ",Ye.jsxs("span",{children:["Let's get social",Ye.jsx(cg,{}),Ye.jsx(pE,{}),Ye.jsx(ug,{}),Ye.jsx(hE,{})]})]})]})]}),Ye.jsxs("div",{className:"liveFooterRights",children:[Ye.jsxs("div",{children:["© 2025 PozoApp ",Ye.jsx("span",{children:"Privacy Policy Cookie Policy"})]}),Ye.jsx("p",{children:"For queries contact us: Manager, No 51 Step Colony, Dharga,Hosur, Krishnagiri, Tamilnadu-635126, India"})]})]})},access:"Public"},{path:`${Ofe}contact-us`,component:()=>{const e=um(),t=Qt(),[n,i]=a.useState(!0),[r,s]=a.useState(!1),[l,o]=a.useState(!1),[d,c]=a.useState(!1),u=a.useRef(null),[p,A]=a.useState(!1),[h,f]=a.useState(!1),m=a.useRef(null),[v,g]=a.useState(!1),[y,x]=a.useState(!1),b=a.useRef(null),[w,j]=a.useState([]),[C,S]=a.useState({}),[N,I]=a.useState(!1),F=()=>I(!1);a.useEffect((()=>{const e=setTimeout((()=>{i(!1)}),300);return B(),()=>clearTimeout(e)}),[]),a.useEffect((()=>{(async()=>{var t,n,i,a,r,s,l;try{const o=await e(HP({TypeName:"SEO"})).unwrap();if(1===(null==(t=null==o?void 0:o.data)?void 0:t.statusCode)){const t=null==(a=null==(i=null==(n=null==o?void 0:o.data)?void 0:n.data)?void 0:i.find((e=>"contact"===e.ConfigName)))?void 0:a.ConfigId;if(!t)return;const d=await e(CU({PageId:t})).unwrap();if(1===(null==(r=null==d?void 0:d.data)?void 0:r.statusCode)&&(null==(l=null==(s=null==d?void 0:d.data)?void 0:s.data)?void 0:l.length)>0){const e=d.data.data[0];S({metaTitle:null==e?void 0:e.MetaTitle,metaDescription:null==e?void 0:e.MetaDesc,keywords:null==e?void 0:e.Keywords,imageAltText:null==e?void 0:e.ImgAltText})}}}catch(o){}})()}),[e]),a.useEffect((()=>{const e=new Cre({duration:1.2,easing:e=>Math.min(1,1.001-Math.pow(2,-10*e)),smoothWheel:!0,smoothTouch:!0});return e.on("scroll",(e=>{s(e.scroll>50)})),requestAnimationFrame((function t(n){e.raf(n),requestAnimationFrame(t)})),()=>e.destroy()}),[]);const B=async()=>{var t,n,i;try{const a=await e(dL()).unwrap();if(1===(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)){let e=null==(i=null==(n=null==a?void 0:a.data)?void 0:n.data)?void 0:i.filter((e=>"A"===e.ActiveStatus));j(e)}}catch(a){}};if(a.useEffect((()=>(document.body.style.overflow=l||p||v?"hidden":"unset",()=>{document.body.style.overflow="unset"})),[l,p,v]),n)return Ye.jsx(Che,{});const P=[{img:"data:image/webp;base64,UklGRs4EAABXRUJQVlA4WAoAAAAQAAAATQAATQAAQUxQSHwBAAABkFZrT11NrwQkRAISkFAHgwQcFAetA46D8zlAQiVEQiRkLr1Bstb8jYgJwPCYy9Za79+2lSXCckjbIfpQ+paMpC76srQ0XVhFh3KmmcIqOpxXmiWsolNyniOxTss0waZTr6Po0Mm/NCSyTs80YBE1yPG1X2pT4kuLWpX4ShQzyvQCsRrm8IzV9PfRqsbLg6TWhe6xOe23VnUw3yD1UMJVc0HrBamPEs6aE1rO2It+ktXN9M/Xjx1AUD8FwOKIRqB5UoDDkx8E9VSQXNGw+BKrL/njS/36sndf2v/Ux5fqTfUlZ19S9CUEVxg4PPkBdk8KkDyJQBA/GAC6H+2f5Ef8J4gXjNPqRT4L4gPjsvqQr4J4wLhZPch3AtvruJ3MCd3Dbq3gabfV8JjYEodniGKHCW8mM0x4NxuRiLejWGDC+8TzMWEkHbN9AgbXqaRgPPE8nTBl4TkkY1baZZzUgIkp85ijBMyePvKW7Ak2097lifSaYDqmUttpzQthOFZQOCAsAwAAMA8AnQEqTgBOAD5RHoxEI6GhGtrUADgFBKAMReAT9PJJwH+4eozbLeYDzqvR/vCvoAdKZ/jfOMeO3CP/crsEwf8bP0h7BJrCJX1y3AMehzb2feL42zWEHCK1ffCqPQHgDKjvEMYb8Iy7mWHvP3PChU90KX34uXpIlHwJHdT/qGy1wAD++T///8k3//yRH//8h/xl7bagH/9gjgks8qkuNVng84qFEcppqk4jMGXXRqIYx/3gwp7i9N8KhET/7BHKmi7ppPTbVRr75WhVPk63s8XjfUofOo0WZbB4Fq8UefdC8MQqAjVKgj+CzSAaBf/OcBnmr2Q+tHdtbe/9XBK+h5OMeBfJBjzbrH2Wn+M2szpNSIaVJ/ZrX+3VDTt5Q+WhOH+rtddVxeMRGleZYfQxnBWwJRMR3FPlLlVt0IrWJiA9ij6wKbtMZKdTKXVV/CC5fiBjRbxRTO65ITvGC4t11k264aWQVB0hf8VPLWXgfVc5SjNDVpwyAR68Va377EOvADt5I+DZes4fRSJ6OG3Pi8BUmXix/5ktT4W4so4pV0yAwKneTuYXBM2x14EFP7mcIoVK6Eu3ixkdiFZ8uX6jbXWNfE9Qtu7wlooZLtmPlKJJgF7dgpn7mU0lj53kpM0ZmgN1MZD2L0iqM56t0MtfrHgYDJ/TrdOjpmDhHHdXcS3VsfmOZa5m83mDAxq2eRlEnG4kEsad7a7tPI/B+CQLcgqS3ytPMDUb9FKPeV/7dM0TuLJHGEOS1gokHzyl4fDTnC6QH0K2qrJZC5z1tLFeEK9hJvsfenbm+1/0JPJ2egSlz/EO4A3EymtrBfoT2bmBlToCMfxiTsmsG3eaQxga5OhNXR4IDpcHgtAH2qUoPHPFGWRdFkht9YikrkHvhKLsz3E0AO2YPof4+V3xXdtz+lrW8YhIpGNi35gBx/WoaT8Zis7x5PN64PYZm1N3mubTagvhoFjdhKIIFrRLBxQEBLY3UU/eoavYD/9ZAN97m6juWc41MURDNmGsWUOIqABJvBBngLyCf6b4Zwk9/Nz6ynzPjzr/9tsf/+QPf/4/w//+Pgu5JRjXvQNSAAA=",title:"Technical Support",desc:"Nov 2, 20205 | 01:00 PM"},{img:"data:image/webp;base64,UklGRlgEAABXRUJQVlA4WAoAAAAQAAAATQAATQAAQUxQSHQBAAABkFZbT55ZjwQcTCRUQiRUAg4GB8XB1AF18F4HSKiESEBC5hMoyVr3b0RMAJ4OW8ylvGotJScmWA6xiI62mjYbIVWdLYWW44+mj9a4FFd9XuIyoeiasq/x3nTZQs9R1ZVlf4pFFz+eedf1X+GBQy0KTTvUptCkQ61KmHKo3TtM2NVyGSMxpWlI1Pg2cKh1CV2k9nPXywGljqge1g5xQfmPqD7WP6oTyr9s6uX5S3GjhR/ihjIAVj8LgNORBuB2RBlBPU1gVwqSK4LLFUX15e32hZsvu/oa/6fEF/bm5cvb5QuSKzfYlX8IriTg9oSB05EGgB0pAND82H+cbgh+shvlF1Qv6Dd2ouDP6gP9xS4UdFYPqIeavYzuZE4wWK3RCDVbGcNs6sTEZOjG1GxGwhxkI0KYnU3cAfOTgSvgSZLVMh6maylhPB9lnTNgRboWqYxV6Vrg3rEyXe2Zylg9xDpNMsFk2M97SEoimN72lMvPM8ct4HFWUDggvgIAANAOAJ0BKk4ATgA+USKPRaOhoRH6rgA4BQSgDGehBd/oiUega23XmA/WP1qv5n1AHSI+gB5Zn7FfBD+zP7XfAJ/IP7dqzvQA6QYs1m+eif96UxJgtObrL3e71aFWGYIf7Im4u71gDGI5CHc9+vKylZc89EkBlimlH6roODcxpqAA/vUg//+Q+//5Cu//+OtKtU6TBEP7Li6YYfhdBp7+8HO/bqiXDt/JU/8X1//5A9//kK7//5BIvQwDudEIWns0vzTPUFCaXAjAznpThBfz8Xfui5hpybTI6oRRoUm5IoBrzqHoyccOsAO33hrsb7i3T1rIwwJ7jdQWVRRYVWQZ3xt2Tx5SrBXwq7Qrgc48v9sBVueZkMvcG7/5HC+xAVmKwMztw9Sz+qnYVHZwIRnuzOYVBoUeJizMbNSsae0p8RTN9edaJLwZJR20/1y1//NHo5bMIXb4H9AZzMpbOXpr+lO6Hx13K8Ts8TWI9Eup83P4T6YeVIQ5qO+f/YBrXWXd6ObIwxOgGaOE93sLNiRJ9x+g6mAZOAIIy39c8h+d8tc/l0dYtcRMenxRvYfy8NiTtGI42jwsl0zvw/qI8KnfII39rVUamJEDMacu/gvsfniHMtOyj57vDT5GvUk37B/aUT3ZwUQng80+AHoFvB/6z5idfjmJd1maKi/FIMYp7sQJuKGF2u83B+3yn8t7RWPvG4vwonNjUp/y9/wdKuUltAUWFnpvYvr4fi1G/blp5hvaObaWmT3bI7Q5TwH05PfU/iaIYHPGdmA5BFtoPu9SKnG4AbeLteKJ2J/NlL8tv1cOk8TU9VN/tnk1MhttjAMvkQ1QwGi6z/agiRAFQL2k8PpvhrK8nfUe5pdY7mHUyo3D4szX8n/+VivH8DwZwlw+S85poZ/oovclscM+MoQCn/+36M//7fmUxZkZXOsyAA==",title:"Product Enquiry",desc:"John Doe, Makerting Head"},{img:"data:image/webp;base64,UklGRngEAABXRUJQVlA4WAoAAAAQAAAATQAATQAAQUxQSHQBAAABkFZbT55ZjwQcTCRUQiRUAg4GB8XB1AF18F4HSKiESEBC5hMoyVr3b0RMAJ4OW8ylvGotJScmWA6xiI62mjYbIVWdLYWW44+mj9a4FFd9XuIyoeiasq/x3nTZQs9R1ZVlf4pFFz+eedf1X+GBQy0KTTvUptCkQ61KmHKo3TtM2NVyGSMxpWlI1Pg2cKh1CV2k9nPXywGljqge1g5xQfmPqD7WP6oTyr9s6uX5S3GjhR/ihjIAVj8LgNORBuB2RBlBPU1gVwqSK4LLFUX15e32hZsvu/oa/6fEF/bm5cvb5QuSKzfYlX8IriTg9oSB05EGgB0pAND82H+cbgh+shvlF1Qv6Dd2ouDP6gP9xS4UdFYPqIeavYzuZE4wWK3RCDVbGcNs6sTEZOjG1GxGwhxkI0KYnU3cAfOTgSvgSZLVMh6maylhPB9lnTNgRboWqYxV6Vrg3rEyXe2Zylg9xDpNMsFk2M97SEoimN72lMvPM8ct4HFWUDgg3gIAALAPAJ0BKk4ATgA+USSORaOiIRH6rgA4BQSgDJDhw+v6AOhK7H9ft3PEA/Zn3iukA/qP+x6wD0APLM9iD9rP20+AD9g9W2hBlAwwUyLxR/TPsDeTN7By/FSQ80FUWwqZnNo+Q6N8xJaakGdUGnoY8LV1dejGFmirnrEXSnSVbSfQEiB0/SgAAP70Sf//m/v/+bu///l2aVQeGmLBi9+0+s0APgLdDpL4gjuf//ycNoL9kpB1DZeklEVzrCaZHH9T+dfPhs7fzdOkvdjz0ccFTukXLwOhMiBqq5cpGrvYHI941S+pQc7UM106D5urnitfjRyvxP/S8JrfPPIkD77/Jw9nH//OY/whQ65Az/aSJdXtWIols04h7wzRjs7uiGss6gOX05oM/osSECmZP5wV9zrkUbt+UR2TxbrgQXhXWTyfDaaNdFBGkeX1Ivoe5n5LUX/pWTllzgfcFR05c9G18ZEzf/Ee83hnurtesccSnU97leTOg6vJn/xKDntrgh9FVxfLpx+JCNSd4iTcbxfC2ST/8etiubhZk28+LRBd4wMZ6q82b4iL0JNFLriITtWzjrzQ0LmXGpP4LfrG6yYD3w/cyO8us+NVRJ/msriKOI5unr8qRoQyJV/PFydghrVFaUxw8R8Tp4h6kJ5n9Y4UIBVCG8+orkuxQ/y4EhQ/3d4hvJuD653fWKAwqIO/QUm3oaB15bd/e5ILGm0Q95T/HMlz+mqwa5IljtkqvsqR/6sQvyU30/eIkTnP5ZK9JvKjWzg2SvEdgEV2uW/lSMgnfBAgxVSXWVAq2EQrugcHUrhxn58qW8I7XvXtF+STlLVSgN1zuYRnk1xcyPm9s7Lr4Rp/yEPYib5YV0uP89NZ+dHr7zi9coJk/YKH+YmuBUWHQfOXDBOJROjatAbwqqXNE5l73/9ZKvXaEI51X8Yqv9UcZV94CEgumP/teX//zQr//M6H//zLs5Hr3QqEcAAA",title:"Demo",desc:"Zoom"}];if(n)return Ye.jsx(Che,{});return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(bU,{title:C.metaTitle||"Contact PozoApp | Get Support & Assistance",description:C.metaDescription||"Reach out to PozoApp for queries, support, and assistance. We're here to help you with POS solutions and SaaS services.",keywords:C.keywords||"contact PozoApp, POS support, SaaS help, customer service",url:`${Vhe}contact-us`,image:C.imageAltText||"../../../public/og/contact-og.jpg",type:"website"}),Ye.jsxs("div",{className:"ContactUs-Master",children:[Ye.jsx(XAe,{isScrolled:r,forceTopZero:!0,AppCategory:w,industryRef:u,closingIndustry:d,setClosingIndustry:c,industry:l,setIndustry:o,companyRef:m,closingCompany:h,setClosingCompany:f,company:p,setCompany:A,solutionsOpen:v,setSolutionsOpen:g,closingSolutions:y,setClosingSolutions:x,solutionsRef:b,demoModal:N,handleDemoModal:()=>I(!0),handleDemoModalClose:F}),Ye.jsxs("div",{className:"contactHeader",children:[Ye.jsx("div",{className:"HeaderContactLeft",children:Ye.jsxs("div",{children:["We’d love to hear ",Ye.jsx("br",{}),"from you. Let’s ",Ye.jsx("br",{}),"connect."]})}),Ye.jsxs("div",{className:"HeaderContactRight",children:[Ye.jsxs("div",{className:"contactType",children:[Ye.jsx("label",{htmlFor:"Quick Connect",children:"Quick Connect"}),Ye.jsxs("div",{onClick:()=>window.open("https://wa.me/917324000014","_blank"),style:{cursor:"pointer"},children:[Ye.jsx("img",{src:"data:image/webp;base64,UklGRhoGAABXRUJQVlA4WAoAAAAQAAAAPgAAPwAAQUxQSEYAAAABb2CQbeTYP8HX4BcRMZTbD8Agkq02jw4yQA9WmgRMpidy2hOQmYj+TwASV2Bc3IKZdKmd5S92+L85WH5iyU7KQEzfStwCVlA4IK4FAAAQHACdASo/AEAAPlEmjkWjoiETBOw4BQS2AFcqxuovQ77N+KvsqV5+5cbafjsc/Y/bd2gPEz6RnmA/Wz9YOwB6AH9V/uHWM+gB+zvpofuB8HH7bfuR7Ov/s0zlQDlr38HiN+xP4/QEf5V9y/5HeoB3HuVf9Fxods5xm/jn6S+rX/e+mV/tf4Tzp/NX/S9wb+R/2H/Tf27s4eiB+uqsVS90wGmK8YYsRbsZJdkzSxvMez8bYx22Lkj48z8DkDIGQDUNCvhFbJBhW2oIVbOmGc6gIXNV6yE4ZSZ9WsZ55R1iw/XaGQmbEij4yAD+7fV86v82tAt8uq3BiHIjPrSKlAwn8bGRKrmpgHIf0T/nXjshES4tjL0f82tezP2sPjX1Ef6aB/TFgoj5XwZJJfquYUqM5kCJKtPulv69cvY/lXVZ+Pm+MbH+OwG9X/Vc8qxpe4TZyzBolPvEyIaktipju/Tr+m4Sw+2Hjf+MDOE4G2Ta2zRFpqqfcyv+GGpJgqNqMlabmb5y+7J0vx/B7YY6B9pbqhP8Y0BuhmLLk9ytBw8MvKHioapOi2A3lyYnV1etFxp9JRJbv9HN3/wH1hFQuz/JrQBPAHXQHj8lpk6Gi/3og9NZqim2Y3iYZY+m0XF6F91KPgW8C5u/ClKSS+BUgVN3UXhJLPfqA+RoNLleozGgMFS44gF1vPUdR5e38m1WZ5wJ7IlePMZl61h9boxVPlOr5iAT4DM7uFlmf/BcQemLBGt2X/w1ldlfcmjHpkOt/IN+FgWyn62zzATJAB9eFURMkZvc2LbBnvBmCWbCMvLw/A52daLYdJ7e/4AM2z7M6JZQ/VQh2PLV0kfitZo0Wvpn1RVMossN+kDUQ1/CWjTCLpC/ZN1wF3A5KhS7wzAPAOr4oww8TJokFGakMxHkjVOycfJXLLV1KxTJnYaP5d3p5RPbPiFCJGITnRNcVIJoXqpDgM1sqAmLz4gDK9+vxau31oSD2+BlPmVbasMYwNsOOXeJn6h5MK1es09TMjFqwZj8bnUp1I5pAvJw4XxrLCG8WSF1YtWosNqvhpgpuZImoT62zMWM+bzBGM0GSi5OPNF3d3Hkq5kg90abenrBzq35nAIuMGOCul0r52Ixc33TyHP4lB/XU5AVfpq3H0HAw0pV7dPfZuEDxbkp8rC3qD9VqSDE2pbQG6zMLrpoirE2/tHVTufo8OedCvg0e94qYmPXgUnbQhtF2VtzGuA7Xpmr2E0MUFX3knSPnrpDNSRncW1CyvmKIPvhGKmyFNRHyE2UTHo32ZJZ6w7+7Nj50mFv9L7a+vvaCKL7n5W+T57XNeX8pghdJdHbtm25Xdw2ysxzbk0/RuvVVRBhl3y1oH8yYyTTgdjG4IqKjqobdMhxhYApGO5y2lgBHbPbSUgplH9LPO0dyUNe+k7JF8J6S33pqNNsl0vnhZuYTcYHdPWA7POzXVa6AY55ldtweXALRUJUnfQUwm3MlQ2x45Fk5rLLsFD4N9697yofiofW0YZfk9z9h1OJ9Jyk0802TsX8s0BajWelyj02Q28U3yePvaF7axXgzxwq9yubeopsiI9YX1Q7D3EveVFo7/LLY9OBYOcHhJHhBxdk3DqhsQq/kr8qIigl/omXYYhYHVZkPsrn2SCX4jnYh621il2Bcrz43qnj3ilMP0nGL6yRkcYRbIHL2k0B9Lks8ezKuw+8+hYkjpqbCHouDk3moKf5eUrfPnJhH4G1J5Ud37YKUbRgR5igICvr/ZF2qzBb+a9+IxJpVrdNCRWL6BiiljeOQxCjf05nGoHsoRHNcX/n52wVkJEhJ1V7i1GSWdcwgHIMchxxOSIK4q04rC4fKXmEm69uIsf/l6RnLBWFQfb3+HhaJb8Ba6O+O03wlZfuNTt1YRnM0/64PnGKSXz8Jmoeo8Z3KZ50scFBxOB+WgiK9AAAAA==",alt:""}),"+91 7324000012"]}),Ye.jsx("span",{children:"Whatsapp available only monday to friday 10am-7pm "})]}),Ye.jsxs("div",{className:"contactType",children:[Ye.jsx("p",{children:"Tollfree - Make Call "}),Ye.jsxs("div",{onClick:()=>window.open("tel:+917324000011"),style:{cursor:"pointer"},children:[Ye.jsx("img",{src:"data:image/webp;base64,UklGRrwEAABXRUJQVlA4WAoAAAAQAAAAOQAAOQAAQUxQSDoAAAABL0CQbZsbwlCGcKNHRDBvUBPJVjOgIPdZwpfwBQTwb4fXU0T0fwKC3ffs9SLrgdD94huEBbLbAZADVlA4IFwEAABwFgCdASo6ADoAPlEejESjoaEZ+NaoOAUEtgBdnMDtnw8+0/h3+QHQVcIeIfxP509APV/+t+4DtAeYB+j3SA8wH7Xfrd2FvQA/aLrHPQg8sz2LP2f/ZH2hv//mmc233994O07uzg9eYT5TX+r5Mvn3/pe4H+q//J9Tn2LfqT7G/60kHE/TUXn4j6jIWSGBEApOqCG6zgYzVUDz7bNmRFV/KPLW5cLdMsHhhLFDX3jlUsTy8F8XCjXXPPYX7AD+f+OnQj/qOsLevmoclixdM8V+nvL4M7SCKWSRYlKvpz5alf1G0Xr8mTIfvaH/ciN1h+W6d09rYzLvt/15zemy1Vzhb6EpHDB4mOCkckTaOYTYJYozOMHkMIUEmEOLXH/+7fN2OwnH1sCMkCsVsc5DkwdRHEFOygMINOplno0KqduBQ2xrN0Zy4EO4AgpacCunFup2LEDb84iSM55Bfs1jzZeP9njZbTC9BYnmlF21tg/7Pubk32ep+kg8GU+KKObkOdevQjVVMEwwfRWxQzbtfee+1H/4mUBsRHfoJ3+OxULuvhoiDd/l3b7zjt3J4hAN0qnkq8TmFHy/98hr/qE0RSYbsiMGF4I/qcWKH31EYNJuBj3La1mhj1+q472iz1Cm58FuHjW7vAx9HlcgW6mwlEwJgJvuREZmy6p1vdgrgQCUHAzDetBnVWknlmqm8tgjvgjDPauYQEZ9R31imcjYkzHmPqm8SXlBj9JZc/VV7QHe22tTBDJkbeWKPfULKhhonaLQ35fXkS2uWFuGcJBkbd93+rr3/Jz25kfgm1vB3TemhXe2NVtmWaxdc3bXSg/H8B/jX5oNxLH+CLOKTTdcwxDYwv2/svE+wJ4cUKd7iQFMFIeuD0zF8i4NKPBkq8t23JkMCkX1pdecGZaLoPducfJSh1lDBIFCQFSq13SjWwoHE925x8lJ8z3pKYZFoYkAEF/Ew/qY18Rr8AG7Ugf5xqBFyCtet7xhOXzZth47j0oyAGuOaODjZUK4McsQzz/Gbzu5TAnnNVbXblnTgkWyZeBEWpAotnNufIKIFBPZqxllX60flTGRjMbLPInUYhVGenjzFv9uQFi7bdyEid9icCz7vdanLuWSGfphz2GqoPlvR2JwJBQN6cvJ+W3zUZ+ab/ivz6rzg3r2iaHOgOXZOXA/AdTBU+Rtgtz7FeJXdHama05E8s287rokIHq/ILvt3dR6p8XsXmrTIFayBB1NP/5vGLBxH9B734scxdJPTpylCALUcwz3EqcW9RyUG0oDLoLcVfIpnC1C8/773/E6iHE9c8QoIuHe/4laWeVPcaCr+rGhQJiAW9jncLnG/JWWwx4EMsasZwAlqgQTN78SDPut2nxIACgath2OgCv/14psQyFrebrFqK7c5mMsLhBHjtqNvY4szcZoYCN5y2LHnFB3/7C5FeIJz+5Fpro+eikz9Nq/+uMxXJWeWKEPJ7ip7U5jkRXteJ6OEQNQAAA=",alt:""}),"+91 7324000011"]})]})]})]}),Ye.jsx("div",{className:"ContactUsCardMain",children:P.map(((e,t)=>Ye.jsxs("div",{className:"ContactUsCards",children:[Ye.jsx("img",{src:e.img,alt:e.title}),Ye.jsx("div",{children:e.title}),Ye.jsx("p",{children:e.desc})]},t)))}),Ye.jsxs("div",{className:"MoreInfoContactForm",children:[Ye.jsxs("div",{className:"MoreInfoDiv",children:[Ye.jsx("span",{children:"More Info"}),Ye.jsxs("div",{children:[Ye.jsx(WD,{color:"#F6A333"})," Email: support@pozo.in"]}),Ye.jsxs("div",{children:[Ye.jsx(zO,{color:"#000"})," Phone: +91 12345 67890"]}),Ye.jsxs("div",{children:[Ye.jsx(jE,{color:"#FF5555"})," Address: PozoApp, Hosur, Krishnagiri, Tamilnadu"," "]}),Ye.jsxs("div",{children:[Ye.jsx(ay,{color:"#0077D8"})," Working Hours: Mon–Fri, 10 AM – 6 PM"]})]}),Ye.jsxs("div",{className:"ContactFormDiv",children:[Ye.jsx("span",{children:"Contact Form"}),Ye.jsxs("div",{className:"contactmindInput",children:[Ye.jsx("label",{htmlFor:"Name",children:"Name"}),Ye.jsx("input",{type:"text",placeholder:"Enter Name"})]}),Ye.jsxs("div",{className:"contactmindInput",children:[Ye.jsx("label",{htmlFor:"Email",children:"Email"}),Ye.jsx("input",{type:"text",placeholder:"Enter Email"})]}),Ye.jsxs("div",{className:"contactmindInput",children:[Ye.jsx("label",{htmlFor:"Message",children:"Message"}),Ye.jsx("input",{type:"text",placeholder:"Enter Message"})]}),Ye.jsxs("button",{className:"contactmindBTN",children:[Ye.jsx("div",{}),"Submit",Ye.jsxs("div",{className:"icon-container",children:[Ye.jsx(eg,{className:"icon-main"}),Ye.jsx(eg,{className:"icon-hover"})]})]})]})]}),Ye.jsx("div",{className:"LimitesContact",children:"# Limited seats available — secure yours now!"}),Ye.jsxs("div",{className:"liveFooterMain",children:[Ye.jsxs("div",{className:"liveFooterLeft",children:[Ye.jsx("p",{className:"listTitle",children:"Quick Links"}),Ye.jsxs("div",{className:"LiveFooterList",children:[Ye.jsx("p",{children:"About Pozo"}),Ye.jsx("p",{children:"All Products "}),Ye.jsx("p",{children:"Pricing Plans "}),Ye.jsx("p",{children:"Contact Us "}),Ye.jsx("p",{onClick:()=>{t(`${Vhe}faq`)},children:"FAQs "})]})]}),Ye.jsxs("div",{className:"liveFooterRight",children:[Ye.jsx("p",{className:"listTitle",children:"Support & Help"}),Ye.jsxs("div",{className:"LiveFooterList",children:[Ye.jsx("p",{children:"info@pozo.app"}),Ye.jsx("a",{href:"tel:7324000011",children:"73 24 00 00 11"}),Ye.jsx("a",{href:"tel:7324000012",children:"73 24 00 00 12"}),"    ",Ye.jsxs("span",{children:["Let's get social",Ye.jsx("a",{href:"https://www.instagram.com/pozomind/",target:"_blank",rel:"noopener noreferrer",children:Ye.jsx(tL,{size:18})}),Ye.jsx("a",{href:"https://www.facebook.com/pozomind/",target:"_blank",rel:"noopener noreferrer",children:Ye.jsx(pE,{})}),Ye.jsx("a",{href:"https://x.com/pozomind",target:"_blank",rel:"noopener noreferrer",children:Ye.jsx(ug,{})}),Ye.jsx("a",{href:"https://www.youtube.com/@pozomind",target:"_blank",rel:"noopener noreferrer",children:Ye.jsx(hE,{})})]})]})]})]}),Ye.jsxs("div",{className:"liveFooterRights",children:[Ye.jsxs("div",{children:["© 2025 PozoApp",Ye.jsx("div",{className:"linktoPrivayCookie",onClick:()=>{t(`${Vhe}privacy-policy`)},children:"Privacy Policy"}),Ye.jsx("div",{className:"linktoPrivayCookie",onClick:()=>{t(`${Vhe}cookie-policy`)},children:"Cookie Policy"})]}),Ye.jsx("p",{children:"For queries contact us: Manager, No 51 Step Colony, Dharga,Hosur, Krishnagiri, Tamilnadu-635126, India"})]}),l&&Ye.jsx(KAe,{closingIndustry:d,AppCategory:w,redirectApp:(e,n)=>{nA("AppId",n),nA("AppName",e),l&&(l?(c(!0),setTimeout((()=>{o(!1),c(!1)}),200)):o(!0));const i=e.replace(/[,]/g,"").replace(/\s+/g,"-").replace(/&/g,"and").replace(/[^a-z0-9-]/gi,"").toLowerCase();t(`${Vhe}${i}`),window.location.reload()}}),p&&Ye.jsx(Ohe,{companyRef:m,closingCompany:h}),v&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(Hhe,{solutionsRef:b,closingSolutions:y})}),N&&Ye.jsx(Rhe,{onClose:F})]})]})},access:"Public"},{path:`${Ofe}solutions`,component:()=>{const e=Qt(),t=a.useRef(null),n=a.useRef([]),[i,r]=a.useState(!1),[s,l]=a.useState(!1),o=a.useRef(null),d=[{id:1,title:"Retail Billing",description:"Lightning-fast billing system designed for Indian retail stores. Complete GST compliance, multiple payment modes, and instant invoice generation.",icon:Ym,path:"retail-billing",gradient:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",features:["GST Ready","Fast Billing","Multi-Payment"],image:Khe},{id:2,title:"Inventory & Purchase",description:"Intelligent inventory management with real-time stock tracking, automated reorder points, and comprehensive purchase order management.",icon:zm,path:"inventory-purchase",gradient:"linear-gradient(135deg, #f093fb 0%, #f5576c 100%)",features:["Real-time Tracking","Auto Reorder","PO Management"],image:Ghe},{id:3,title:"Weighing Scale POS",description:"Seamlessly integrated weighing scale with POS system. Perfect for grocery stores, supermarkets, and retail outlets requiring weight-based billing.",icon:Rv,path:"weighing-scale-pos",gradient:"linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)",features:["Scale Integration","Weight-based Billing","Quick Checkout"],image:$he},{id:4,title:"Multi-Store ERP",description:"Centralized management platform for multiple store locations. Real-time synchronization, unified reporting, and comprehensive analytics.",icon:Ev,path:"multi-store-erp",gradient:"linear-gradient(135deg, #43e97b 0%, #38f9d7 100%)",features:["Multi-Location","Unified Dashboard","Real-time Sync"],image:Xhe},{id:5,title:"GST Billing & E-Invoice",description:"Fully compliant GST billing system with automated e-invoice generation. IRN integration, GSTR filing, and complete tax compliance.",icon:Av,path:"gst-billing-e-invoice",gradient:"linear-gradient(135deg, #fa709a 0%, #fee140 100%)",features:["E-Invoice Ready","IRN Integration","GSTR Filing"],image:Jhe},{id:6,title:"Offline Billing",description:"Continue operations seamlessly even without internet connectivity. Local data storage with automatic sync when connection is restored.",icon:Qv,path:"offline-billing",gradient:"linear-gradient(135deg, #30cfd0 0%, #330867 100%)",features:["Offline Mode","Auto Sync","Data Backup"],image:Zhe}];a.useEffect((()=>(t.current&&kce.fromTo(t.current.children,{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2,ease:"power3.out"}),n.current.forEach(((e,t)=>{e&&kce.fromTo(e,{opacity:0,y:50,scale:.9},{opacity:1,y:0,scale:1,duration:.8,delay:.1*t,ease:"back.out(1.7)",scrollTrigger:{trigger:e,start:"top 85%",toggleActions:"play none none reverse"}})})),()=>{_Ae.getAll().forEach((e=>e.kill()))})),[]);return Ye.jsxs("div",{className:"solutions-page",children:[Ye.jsx(XAe,{isScrolled:!0,forceTopZero:!0,solutionsOpen:i,setSolutionsOpen:r,closingSolutions:s,setClosingSolutions:l,solutionsRef:o}),Ye.jsxs("section",{className:"solutions-hero",ref:t,children:[Ye.jsxs("div",{className:"solutions-hero-background",children:[Ye.jsx("div",{className:"gradient-orb orb-1"}),Ye.jsx("div",{className:"gradient-orb orb-2"})]}),Ye.jsxs("div",{className:"solutions-hero-content",children:[Ye.jsx("div",{className:"hero-badge",children:Ye.jsx("span",{children:"Solutions"})}),Ye.jsxs("h1",{className:"hero-title",children:["Powerful Solutions for",Ye.jsx("span",{className:"gradient-text",children:" Modern Retail"})]}),Ye.jsx("p",{className:"hero-description",children:"Comprehensive retail management platform built specifically for Indian MSMEs. Streamline operations, reduce costs, and scale your business with confidence."})]})]}),Ye.jsx("section",{className:"solutions-grid-section",children:Ye.jsx("div",{className:"solutions-container",children:Ye.jsx("div",{className:"solutions-grid",children:d.map(((t,i)=>{const a=t.icon;return Ye.jsx("div",{ref:e=>n.current[i]=e,className:"solution-card",onClick:()=>{return n=t.path,void e(`/solutions/${n}`);var n},children:Ye.jsxs("div",{className:"card-content",children:[Ye.jsx("div",{className:"card-image",children:Ye.jsx("img",{src:t.image,alt:t.title})}),Ye.jsx("div",{className:"card-icon-wrapper",children:Ye.jsx(a,{className:"card-icon"})}),Ye.jsx("h3",{className:"card-title",children:t.title}),Ye.jsx("p",{className:"card-description",children:t.description}),Ye.jsx("div",{className:"card-footer",children:Ye.jsxs("span",{className:"card-link",children:["Learn More",Ye.jsx(DD,{className:"arrow-icon"})]})})]})},t.id)}))})})}),Ye.jsx("section",{className:"solutions-cta",children:Ye.jsxs("div",{className:"cta-content",children:[Ye.jsx("h2",{children:"Ready to Transform Your Business?"}),Ye.jsx("p",{children:"Get started with PozoApp today and experience the future of retail management"}),Ye.jsxs("div",{className:"cta-buttons",children:[Ye.jsx("button",{className:"cta-primary",onClick:()=>{e("/home/signup")},children:"Start Free Trial"}),Ye.jsx("button",{className:"cta-secondary",onClick:()=>window.open("https://wa.me/917324000014","_blank"),children:"Contact Sales"})]})]})}),i&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(efe,{solutionsRef:o,closingSolutions:s})}),Ye.jsx(Whe,{})]})},access:"Public"},{path:`${Ofe}solutions/retail-billing`,component:()=>{const e=Qt(),t=um(),n=a.useRef(null),i=a.useRef([]),[r,s]=a.useState(!1),[l,o]=a.useState(!1),d=a.useRef(null),[c,u]=a.useState(null),[p,A]=a.useState(!1),[h,f]=a.useState(!1),m=a.useRef(null),[v,g]=a.useState(!1),[y,x]=a.useState(!1),b=a.useRef(null),[w,j]=a.useState([]),C=[{icon:Fv,title:"Lightning Fast Billing",description:"Process bills in under 3 seconds with our optimized billing engine. Barcode scanning, quick item lookup, and instant calculations ensure your customers never wait."},{icon:Pv,title:"100% GST Compliant",description:"Built-in GST calculation, automated e-invoice generation with IRN, GSTR filing support, and complete tax compliance. Never worry about tax regulations again."},{icon:Cv,title:"Mobile & Cloud Ready",description:"Access your billing system from any device - desktop, tablet, or smartphone. Cloud-based architecture ensures your data is always accessible and secure."},{icon:Gm,title:"Real-time Analytics",description:"Get instant insights into sales trends, top-selling products, customer behavior, and revenue patterns. Make data-driven decisions with comprehensive reports."}];return a.useEffect((()=>{(async()=>{var e,n,i;try{const a=await t(dL()).unwrap();if(1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)){let e=null==(i=null==(n=null==a?void 0:a.data)?void 0:n.data)?void 0:i.filter((e=>"A"===e.ActiveStatus));j(e)}}catch(a){}})()}),[]),a.useEffect((()=>{}),[w,p]),a.useEffect((()=>(n.current&&kce.fromTo(n.current.children,{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2,ease:"power3.out"}),i.current.forEach(((e,t)=>{e&&kce.fromTo(e,{opacity:0,x:-30},{opacity:1,x:0,duration:.8,delay:.1*t,ease:"power3.out",scrollTrigger:{trigger:e,start:"top 85%",toggleActions:"play none none reverse"}})})),()=>{_Ae.getAll().forEach((e=>e.kill()))})),[]),Ye.jsxs("div",{className:"solution-page",children:[Ye.jsx(XAe,{isScrolled:!0,forceTopZero:!0,AppCategory:w,solutionsOpen:r,setSolutionsOpen:s,closingSolutions:l,setClosingSolutions:o,solutionsRef:d,industry:p,setIndustry:A,closingIndustry:h,setClosingIndustry:f,industryRef:m,company:v,setCompany:g,closingCompany:y,setClosingCompany:x,companyRef:b}),Ye.jsxs("section",{className:"solution-hero",ref:n,children:[Ye.jsxs("div",{className:"hero-background",children:[Ye.jsx("div",{className:"gradient-orb orb-1"}),Ye.jsx("div",{className:"gradient-orb orb-2"})]}),Ye.jsxs("div",{className:"hero-content",children:[Ye.jsxs("div",{className:"hero-badge",children:[Ye.jsx(Ym,{}),Ye.jsx("span",{children:"Retail Billing Solution"})]}),Ye.jsxs("div",{className:"hero-main",children:[Ye.jsxs("div",{className:"hero-text",children:[Ye.jsxs("h1",{className:"hero-title",children:["Lightning-Fast Billing",Ye.jsx("span",{className:"gradient-text",children:" for Modern Retail"})]}),Ye.jsx("p",{className:"hero-description",children:"Transform your retail operations with our comprehensive billing solution designed specifically for Indian MSMEs. Process invoices in seconds with barcode scanning, manage multiple payment modes seamlessly (Cash, UPI, Cards, Wallets), and stay 100% GST compliant with automated e-invoice generation. From quick checkout to detailed analytics, everything you need to run a modern retail business efficiently is here. Trusted by thousands of retailers across India."}),Ye.jsxs("div",{className:"hero-cta",children:[Ye.jsxs("button",{className:"btn-primary",onClick:()=>{e("/home/signin")},children:["Start Free Trial",Ye.jsx(DD,{})]}),Ye.jsx("button",{className:"btn-secondary",onClick:()=>window.open("https://wa.me/917324000014","_blank"),children:"Book Demo"})]})]}),Ye.jsx("div",{className:"hero-image",children:Ye.jsx("div",{className:"hero-image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1556742031-c6961e8560b0?w=1200&h=800&fit=crop&q=90",alt:"Retail Billing Solution",className:"hero-product-image"})})})]})]})]}),Ye.jsx("section",{className:"solution-features",children:Ye.jsxs("div",{className:"features-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Why Choose Retail Billing?"}),Ye.jsx("p",{children:"Complete billing solution with everything you need to streamline operations, reduce errors, and grow your retail business faster. Built specifically for Indian retailers with local payment methods, regional language support, and complete GST compliance."})]}),Ye.jsx("div",{className:"features-visual",children:Ye.jsx("div",{className:"features-image",children:Ye.jsx("div",{className:"image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1556740738-b6a63e27c4df?w=1200&h=800&fit=crop&q=90",alt:"Retail Billing Features",className:"features-product-image"})})})}),Ye.jsx("div",{className:"features-grid",children:C.map(((e,t)=>{const n=e.icon;return Ye.jsxs("div",{ref:e=>i.current[t]=e,className:"feature-card",children:[Ye.jsx("div",{className:"feature-icon",children:Ye.jsx(n,{})}),Ye.jsx("h3",{children:e.title}),Ye.jsx("p",{children:e.description})]},t)}))})]})}),Ye.jsx("section",{className:"solution-benefits",children:Ye.jsxs("div",{className:"benefits-container",children:[Ye.jsx("div",{className:"benefits-visual-image",children:Ye.jsx("div",{className:"benefits-image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1556741568-055d848f8bfd?w=1200&h=800&fit=crop&q=90",alt:"Complete Feature Set",className:"benefits-product-image"})})}),Ye.jsxs("div",{className:"benefits-content",children:[Ye.jsx("h2",{children:"Complete Feature Set"}),Ye.jsx("p",{style:{fontSize:"15px",color:"rgba(255, 255, 255, 0.6)",marginBottom:"2rem",lineHeight:"1.6"},children:"Everything you need for modern retail billing, all in one platform. From basic billing to advanced inventory management, customer loyalty programs, and comprehensive reporting - we've got you covered."}),Ye.jsx("div",{className:"benefits-list",children:["Barcode & QR code scanning for instant product lookup","Multiple payment modes: Cash, Card, UPI, Wallet, Net Banking","Automated GST calculation with HSN/SAC code support","E-Invoice generation with IRN integration (GST portal)","Instant print & email invoices to customers","Customer database with purchase history tracking","Comprehensive sales reports: daily, weekly, monthly, yearly","Offline billing mode - work without internet","Multi-currency support for international transactions","Discount & tax management with custom rules","Credit note & debit note generation","Batch & expiry date tracking for inventory","Customer loyalty points & rewards system","Receipt customization with your branding"].map(((e,t)=>Ye.jsxs("div",{className:"benefit-item",children:[Ye.jsx(LD,{className:"check-icon"}),Ye.jsx("span",{children:e})]},t)))})]}),Ye.jsx("div",{className:"benefits-visual",children:Ye.jsxs("div",{className:"visual-card",children:[Ye.jsx(Ym,{className:"visual-icon"}),Ye.jsxs("div",{className:"visual-stats",children:[Ye.jsxs("div",{className:"stat",children:[Ye.jsx("div",{className:"stat-value",children:"3x"}),Ye.jsx("div",{className:"stat-label",children:"Faster Billing"})]}),Ye.jsxs("div",{className:"stat",children:[Ye.jsx("div",{className:"stat-value",children:"100%"}),Ye.jsx("div",{className:"stat-label",children:"GST Compliant"})]})]})]})})]})}),Ye.jsx("section",{className:"solution-use-cases",children:Ye.jsxs("div",{className:"use-cases-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Perfect For"}),Ye.jsx("p",{children:"Ideal solution for various retail business types and sizes"})]}),Ye.jsxs("div",{className:"use-cases-grid",children:[Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Mn,{style:{color:"#4A90E2",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Retail Stores"}),Ye.jsx("p",{children:"Small to medium retail stores selling consumer goods, electronics, clothing, and general merchandise"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(On,{style:{color:"#E74C3C",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Supermarkets"}),Ye.jsx("p",{children:"Large format stores requiring fast checkout, multiple payment options, and comprehensive inventory management"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(ei,{style:{color:"#F39C12",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Pharmacy Stores"}),Ye.jsx("p",{children:"Medical stores needing batch tracking, expiry date management, and prescription billing capabilities"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Kn,{style:{color:"#3498DB",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Electronics Shops"}),Ye.jsx("p",{children:"Electronics retailers requiring serial number tracking, warranty management, and detailed product information"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(di,{style:{color:"#E91E63",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Fashion Retail"}),Ye.jsx("p",{children:"Clothing and fashion stores needing size/color variants, customer preferences, and loyalty programs"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Hn,{style:{color:"#9B59B6",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Multi-Store Chains"}),Ye.jsx("p",{children:"Retail chains with multiple locations requiring centralized management and unified reporting"})]})]})]})}),Ye.jsx("section",{className:"solution-integrations",children:Ye.jsxs("div",{className:"integrations-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Integrations & Compatibility"}),Ye.jsx("p",{children:"Seamlessly integrate with your existing tools and hardware. Works with all major payment gateways, hardware devices, and business software."})]}),Ye.jsxs("div",{className:"integrations-grid",children:[Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(lv,{style:{color:"#FF6B6B",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Payment Gateways"}),Ye.jsx("p",{children:"Razorpay, Paytm, PhonePe, UPI, Card machines, and all major payment processors. Support for cash, card, UPI, wallets, and net banking."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(Qm,{style:{color:"#4ECDC4",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Hardware Support"}),Ye.jsx("p",{children:"Barcode scanners, receipt printers, cash drawers, customer displays, and weighing scales. Compatible with all major hardware brands."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(av,{style:{color:"#95E1D3",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Cloud Storage"}),Ye.jsx("p",{children:"Automatic backup to cloud, data sync across devices, and secure cloud storage. Access your data from anywhere, anytime."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(Gm,{style:{color:"#F38181",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Accounting Software"}),Ye.jsx("p",{children:"Export data to Tally, QuickBooks, and other accounting systems. Seamless data transfer with proper formatting."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(uv,{style:{color:"#AA96DA",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Email & SMS"}),Ye.jsx("p",{children:"Send invoices via email, SMS notifications, WhatsApp integration. Automated customer communication."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(wv,{style:{color:"#FCBAD3",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Security & Compliance"}),Ye.jsx("p",{children:"SSL encryption, GDPR compliant, data encryption at rest and in transit. Bank-level security for your business data."})]})]})]})}),Ye.jsx("section",{className:"solution-faq",children:Ye.jsxs("div",{className:"faq-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Frequently Asked Questions"}),Ye.jsx("p",{children:"Get answers to common questions about Retail Billing"})]}),Ye.jsxs("div",{className:"faq-list",children:[Ye.jsxs("div",{className:"faq-item "+(0===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(0===c?null:0),children:[Ye.jsx("h3",{children:"How fast can I process a bill?"}),Ye.jsx("span",{className:"faq-toggle",children:0===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"With barcode scanning and quick item lookup, you can process bills in under 3 seconds. The system is optimized for speed without compromising accuracy."})})]}),Ye.jsxs("div",{className:"faq-item "+(1===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(1===c?null:1),children:[Ye.jsx("h3",{children:"Is GST calculation automatic?"}),Ye.jsx("span",{className:"faq-toggle",children:1===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Yes, GST calculation is completely automatic based on HSN/SAC codes. The system supports CGST, SGST, IGST, and CESS calculations. E-invoice generation with IRN is also automated."})})]}),Ye.jsxs("div",{className:"faq-item "+(2===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(2===c?null:2),children:[Ye.jsx("h3",{children:"Can I use it offline?"}),Ye.jsx("span",{className:"faq-toggle",children:2===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Yes, PozoApp works completely offline. All billing, inventory, and customer management functions are available without internet. Data automatically syncs when connection is restored."})})]}),Ye.jsxs("div",{className:"faq-item "+(3===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(3===c?null:3),children:[Ye.jsx("h3",{children:"What payment modes are supported?"}),Ye.jsx("span",{className:"faq-toggle",children:3===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"We support Cash, Credit/Debit Cards, UPI, Mobile Wallets, Net Banking, and even credit sales. All payment modes are integrated seamlessly."})})]}),Ye.jsxs("div",{className:"faq-item "+(4===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(4===c?null:4),children:[Ye.jsx("h3",{children:"Can I customize invoices?"}),Ye.jsx("span",{className:"faq-toggle",children:4===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Yes, you can customize invoice templates with your logo, business details, terms & conditions, and branding. Print and email invoices are both supported."})})]}),Ye.jsxs("div",{className:"faq-item "+(5===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(5===c?null:5),children:[Ye.jsx("h3",{children:"How do I get started?"}),Ye.jsx("span",{className:"faq-toggle",children:5===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Sign up for a free trial, and our team will help you set up your account. Setup typically takes 24-48 hours. We also offer on-site setup support in major cities."})})]})]})]})}),Ye.jsx("section",{className:"solution-cta",children:Ye.jsxs("div",{className:"cta-content",children:[Ye.jsx("h2",{children:"Ready to Transform Your Billing?"}),Ye.jsx("p",{children:"Join thousands of retailers across India who trust PozoApp for fast, accurate, and GST-compliant billing. Start your free trial today and experience the difference. No credit card required. Setup in 24-48 hours. Dedicated support team to help you get started."}),Ye.jsxs("div",{className:"cta-buttons",children:[Ye.jsx("button",{className:"btn-primary",onClick:()=>{e("/home/signin")},children:"Get Started Free"}),Ye.jsx("button",{className:"btn-secondary",onClick:()=>window.open("https://wa.me/917324000014","_blank"),children:"Contact Sales"})]})]})}),Ye.jsx(Whe,{AppCategory:w}),p&&Ye.jsxs(a.Suspense,{fallback:Ye.jsx("div",{children:"Loading..."}),children:[void 0,Ye.jsx(tfe,{industryRef:m,closingIndustry:h,AppCategory:w,redirectApp:(t,n)=>{nA("AppId",n),nA("AppName",t);const i=t.replace(/[,]/g,"").replace(/\s+/g,"-").replace(/&/g,"and").replace(/[^a-z0-9-]/gi,"").toLowerCase();e(`/industries/${i}`),window.location.reload()}})]}),v&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(nfe,{companyRef:b,closingCompany:y})}),r&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(ife,{solutionsRef:d,closingSolutions:l})})]})},access:"Public"},{path:`${Ofe}solutions/inventory-purchase`,component:()=>{const e=Qt(),t=um(),n=a.useRef(null),i=a.useRef([]),[r,s]=a.useState(!1),[l,o]=a.useState(!1),d=a.useRef(null),[c,u]=a.useState(null),[p,A]=a.useState(!1),[h,f]=a.useState(!1),m=a.useRef(null),[v,g]=a.useState(!1),[y,x]=a.useState(!1),b=a.useRef(null),[w,j]=a.useState([]),C=[{icon:Fv,title:"Real-time Stock Tracking",description:"Monitor stock levels across all locations in real-time. Get instant updates on stock movements, transfers, and adjustments. Never lose track of your inventory. View current stock, pending orders, and stock movements instantly."},{icon:Pv,title:"Automated Reorder System",description:"Set minimum stock levels and get automatic alerts when items need reordering. Prevent stockouts and ensure you always have the right products in stock. Customizable thresholds and multi-channel notifications (email, SMS, in-app)."},{icon:Cv,title:"Mobile Inventory Management",description:"Manage your inventory from anywhere using our mobile app. Scan barcodes, update stock, create purchase orders, and track deliveries on the go. Full functionality available on iOS and Android devices."},{icon:Gm,title:"Advanced Analytics & Reports",description:"Get detailed insights into stock movement patterns, fast-moving items, slow-moving inventory, and turnover rates. Make informed purchasing decisions with ABC analysis, stock aging reports, and predictive analytics."}];return a.useEffect((()=>{(async()=>{var e,n,i;try{const a=await t(dL()).unwrap();if(1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)){let e=null==(i=null==(n=null==a?void 0:a.data)?void 0:n.data)?void 0:i.filter((e=>"A"===e.ActiveStatus));j(e)}}catch(a){}})()}),[]),a.useEffect((()=>(n.current&&kce.fromTo(n.current.children,{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2,ease:"power3.out"}),i.current.forEach(((e,t)=>{e&&kce.fromTo(e,{opacity:0,x:-30},{opacity:1,x:0,duration:.8,delay:.1*t,ease:"power3.out",scrollTrigger:{trigger:e,start:"top 85%",toggleActions:"play none none reverse"}})})),()=>{_Ae.getAll().forEach((e=>e.kill()))})),[]),Ye.jsxs("div",{className:"solution-page",children:[Ye.jsx(XAe,{isScrolled:!0,forceTopZero:!0,AppCategory:w,solutionsOpen:r,setSolutionsOpen:s,closingSolutions:l,setClosingSolutions:o,solutionsRef:d,industry:p,setIndustry:A,closingIndustry:h,setClosingIndustry:f,industryRef:m,company:v,setCompany:g,closingCompany:y,setClosingCompany:x,companyRef:b}),Ye.jsxs("section",{className:"solution-hero",ref:n,children:[Ye.jsxs("div",{className:"hero-background",children:[Ye.jsx("div",{className:"gradient-orb orb-1",style:{background:"radial-gradient(circle, #f093fb 0%, transparent 70%)"}}),Ye.jsx("div",{className:"gradient-orb orb-2",style:{background:"radial-gradient(circle, #f5576c 0%, transparent 70%)"}})]}),Ye.jsxs("div",{className:"hero-content",children:[Ye.jsxs("div",{className:"hero-badge",children:[Ye.jsx(zm,{}),Ye.jsx("span",{children:"Inventory & Purchase"})]}),Ye.jsxs("div",{className:"hero-main",children:[Ye.jsxs("div",{className:"hero-text",children:[Ye.jsxs("h1",{className:"hero-title",children:["Smart Inventory",Ye.jsx("span",{className:"gradient-text",style:{background:"linear-gradient(135deg, #f093fb 0%, #f5576c 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:" Management"})]}),Ye.jsx("p",{className:"hero-description",children:"Master your inventory with intelligent real-time tracking, automated reorder alerts, and comprehensive purchase order management. Reduce stockouts by up to 80%, minimize overstocking, and optimize your inventory costs with data-driven insights. Perfect for retail stores, warehouses, distribution centers, and multi-location businesses. Track stock across unlimited locations, manage suppliers efficiently, and make informed purchasing decisions."}),Ye.jsxs("div",{className:"hero-cta",children:[Ye.jsxs("button",{className:"btn-primary",onClick:()=>{e("/home/signin")},children:["Start Free Trial",Ye.jsx(DD,{})]}),Ye.jsx("button",{className:"btn-secondary",onClick:()=>window.open("https://wa.me/917324000014","_blank"),children:"Book Demo"})]})]}),Ye.jsx("div",{className:"hero-image",children:Ye.jsx("div",{className:"hero-image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1200&h=800&fit=crop&q=90",alt:"Inventory & Purchase Management",className:"hero-product-image"})})})]})]})]}),Ye.jsx("section",{className:"solution-features",children:Ye.jsxs("div",{className:"features-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Why Choose Inventory & Purchase?"}),Ye.jsx("p",{children:"Complete inventory control at your fingertips"})]}),Ye.jsx("div",{className:"features-visual",children:Ye.jsx("div",{className:"features-image",children:Ye.jsx("div",{className:"image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1553413077-190dd305871c?w=1200&h=800&fit=crop&q=90",alt:"Inventory Management Features",className:"features-product-image"})})})}),Ye.jsx("div",{className:"features-grid",children:C.map(((e,t)=>{const n=e.icon;return Ye.jsxs("div",{ref:e=>i.current[t]=e,className:"feature-card",children:[Ye.jsx("div",{className:"feature-icon",style:{background:"linear-gradient(135deg, #f093fb 0%, #f5576c 100%)"},children:Ye.jsx(n,{})}),Ye.jsx("h3",{children:e.title}),Ye.jsx("p",{children:e.description})]},t)}))})]})}),Ye.jsx("section",{className:"solution-benefits",children:Ye.jsxs("div",{className:"benefits-container",children:[Ye.jsx("div",{className:"benefits-visual-image",children:Ye.jsx("div",{className:"benefits-image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?w=1200&h=800&fit=crop&q=90",alt:"Complete Feature Set",className:"benefits-product-image"})})}),Ye.jsxs("div",{className:"benefits-content",children:[Ye.jsx("h2",{children:"Complete Feature Set"}),Ye.jsx("p",{style:{fontSize:"15px",color:"rgba(255, 255, 255, 0.6)",marginBottom:"2rem",lineHeight:"1.6"},children:"Comprehensive inventory management tools to optimize your supply chain and reduce costs"}),Ye.jsx("div",{className:"benefits-list",children:["Real-time stock tracking across all locations and warehouses","Automated reorder points with customizable thresholds","Complete purchase order management with approval workflow","Supplier database with performance tracking and ratings","Inter-location stock transfer with tracking","Barcode & QR code scanning for quick stock updates","Low stock alerts via email, SMS, and in-app notifications","Inventory valuation reports: FIFO, LIFO, Weighted Average","Batch number and expiry date tracking","Multi-unit support: pieces, kgs, liters, boxes, etc.","Stock adjustment entries with reason codes","ABC analysis for inventory categorization","Stock aging reports to identify slow-moving items","Purchase order comparison and supplier performance analysis","Stock audit and reconciliation tools","Integration with billing for automatic stock deduction"].map(((e,t)=>Ye.jsxs("div",{className:"benefit-item",children:[Ye.jsx(LD,{className:"check-icon",style:{color:"#f093fb"}}),Ye.jsx("span",{children:e})]},t)))})]}),Ye.jsx("div",{className:"benefits-visual",children:Ye.jsxs("div",{className:"visual-card",children:[Ye.jsx(zm,{className:"visual-icon",style:{color:"#f093fb"}}),Ye.jsxs("div",{className:"visual-stats",children:[Ye.jsxs("div",{className:"stat",children:[Ye.jsx("div",{className:"stat-value",style:{background:"linear-gradient(135deg, #f093fb 0%, #f5576c 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"99%"}),Ye.jsx("div",{className:"stat-label",children:"Accuracy"})]}),Ye.jsxs("div",{className:"stat",children:[Ye.jsx("div",{className:"stat-value",style:{background:"linear-gradient(135deg, #f093fb 0%, #f5576c 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"24/7"}),Ye.jsx("div",{className:"stat-label",children:"Tracking"})]})]})]})})]})}),Ye.jsx("section",{className:"solution-use-cases",children:Ye.jsxs("div",{className:"use-cases-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Perfect For"}),Ye.jsx("p",{children:"Ideal solution for businesses managing inventory and supply chain"})]}),Ye.jsxs("div",{className:"use-cases-grid",children:[Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(ai,{style:{color:"#3498DB",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Warehouses"}),Ye.jsx("p",{children:"Large warehouses requiring real-time stock tracking, multi-location management, and automated reorder systems"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Xn,{style:{color:"#E67E22",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Manufacturing Units"}),Ye.jsx("p",{children:"Production facilities needing raw material tracking, batch management, and inventory valuation reports"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Mn,{style:{color:"#4A90E2",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Retail Stores"}),Ye.jsx("p",{children:"Retail outlets requiring accurate stock levels, low stock alerts, and seamless purchase order management"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(ti,{style:{color:"#16A085",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Distribution Centers"}),Ye.jsx("p",{children:"Distribution hubs managing inter-location transfers, supplier relationships, and stock reconciliation"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(ei,{style:{color:"#F39C12",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Pharmaceutical Companies"}),Ye.jsx("p",{children:"Pharma businesses needing batch tracking, expiry date management, and regulatory compliance"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Hn,{style:{color:"#9B59B6",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Multi-Location Businesses"}),Ye.jsx("p",{children:"Companies with multiple stores requiring centralized inventory control and unified reporting"})]})]})]})}),Ye.jsx("section",{className:"solution-integrations",children:Ye.jsxs("div",{className:"integrations-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Integrations & Compatibility"}),Ye.jsx("p",{children:"Seamlessly integrate with your existing tools and hardware. Works with all major inventory management systems, hardware devices, and business software."})]}),Ye.jsxs("div",{className:"integrations-grid",children:[Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(Qm,{style:{color:"#4ECDC4",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Barcode Scanners"}),Ye.jsx("p",{children:"All major barcode scanner brands supported. Fast stock entry, inventory counting, and product lookup with instant scanning."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(av,{style:{color:"#95E1D3",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Cloud Sync"}),Ye.jsx("p",{children:"Real-time cloud synchronization across all locations. Automatic backup, multi-device access, and secure data storage."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(Gm,{style:{color:"#F38181",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Accounting Software"}),Ye.jsx("p",{children:"Export inventory data to Tally, QuickBooks, and other accounting systems. Seamless data transfer with proper formatting."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(uv,{style:{color:"#AA96DA",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Purchase Order Alerts"}),Ye.jsx("p",{children:"Email and SMS notifications for low stock, purchase order status, and delivery updates. Automated supplier communication."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(Cv,{style:{color:"#FFD93D",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Mobile App"}),Ye.jsx("p",{children:"Full inventory management on iOS and Android. Scan barcodes, update stock, create purchase orders on the go."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(wv,{style:{color:"#FCBAD3",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Security & Compliance"}),Ye.jsx("p",{children:"SSL encryption, role-based access control, audit trails, and data encryption. Bank-level security for your inventory data."})]})]})]})}),Ye.jsx("section",{className:"solution-faq",children:Ye.jsxs("div",{className:"faq-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Frequently Asked Questions"}),Ye.jsx("p",{children:"Get answers to common questions about Inventory & Purchase Management"})]}),Ye.jsxs("div",{className:"faq-list",children:[Ye.jsxs("div",{className:"faq-item "+(0===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(0===c?null:0),children:[Ye.jsx("h3",{children:"How does real-time stock tracking work?"}),Ye.jsx("span",{className:"faq-toggle",children:0===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Stock levels update instantly across all locations when sales, purchases, or transfers occur. You get instant visibility into current stock, pending orders, and stock movements in real-time."})})]}),Ye.jsxs("div",{className:"faq-item "+(1===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(1===c?null:1),children:[Ye.jsx("h3",{children:"Can I set automatic reorder points?"}),Ye.jsx("span",{className:"faq-toggle",children:1===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Yes, you can set minimum stock levels for each product. When stock falls below the threshold, you'll receive automatic alerts via email, SMS, or in-app notifications to reorder."})})]}),Ye.jsxs("div",{className:"faq-item "+(2===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(2===c?null:2),children:[Ye.jsx("h3",{children:"How do I manage purchase orders?"}),Ye.jsx("span",{className:"faq-toggle",children:2===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Create purchase orders, send them to suppliers, track delivery status, and receive goods. The system supports approval workflows, PO comparison, and supplier performance tracking."})})]}),Ye.jsxs("div",{className:"faq-item "+(3===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(3===c?null:3),children:[Ye.jsx("h3",{children:"Can I track inventory across multiple locations?"}),Ye.jsx("span",{className:"faq-toggle",children:3===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Yes, manage unlimited locations and warehouses. Track stock at each location, transfer items between locations, and get consolidated reports across all locations."})})]}),Ye.jsxs("div",{className:"faq-item "+(4===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(4===c?null:4),children:[Ye.jsx("h3",{children:"What inventory valuation methods are supported?"}),Ye.jsx("span",{className:"faq-toggle",children:4===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"We support FIFO (First In First Out), LIFO (Last In First Out), and Weighted Average methods. Choose the method that best fits your business needs."})})]}),Ye.jsxs("div",{className:"faq-item "+(5===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(5===c?null:5),children:[Ye.jsx("h3",{children:"How do I get started with inventory management?"}),Ye.jsx("span",{className:"faq-toggle",children:5===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Sign up for a free trial, import your product list, set up locations, and configure reorder points. Our team will help you with initial setup and training."})})]})]})]})}),Ye.jsx("section",{className:"solution-cta",children:Ye.jsxs("div",{className:"cta-content",children:[Ye.jsx("h2",{children:"Ready to Optimize Your Inventory?"}),Ye.jsx("p",{children:"Join thousands of businesses across India using PozoApp to reduce inventory costs, prevent stockouts, and streamline their supply chain. Start managing your inventory smarter today."}),Ye.jsxs("div",{className:"cta-buttons",children:[Ye.jsx("button",{className:"btn-primary",onClick:()=>{e("/home/signin")},children:"Get Started Free"}),Ye.jsx("button",{className:"btn-secondary",onClick:()=>window.open("https://wa.me/917324000014","_blank"),children:"Contact Sales"})]})]})}),Ye.jsx(Whe,{AppCategory:w}),p&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(afe,{industryRef:m,closingIndustry:h,AppCategory:w,redirectApp:(t,n)=>{nA("AppId",n),nA("AppName",t);const i=t.replace(/[,]/g,"").replace(/\s+/g,"-").replace(/&/g,"and").replace(/[^a-z0-9-]/gi,"").toLowerCase();e(`/industries/${i}`),window.location.reload()}})}),v&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(rfe,{companyRef:b,closingCompany:y})}),r&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(sfe,{solutionsRef:d,closingSolutions:l})})]})},access:"Public"},{path:`${Ofe}solutions/weighing-scale-pos`,component:()=>{const e=Qt(),t=um(),n=a.useRef(null),i=a.useRef([]),[r,s]=a.useState(!1),[l,o]=a.useState(!1),d=a.useRef(null),[c,u]=a.useState(null),[p,A]=a.useState(!1),[h,f]=a.useState(!1),m=a.useRef(null),[v,g]=a.useState(!1),[y,x]=a.useState(!1),b=a.useRef(null),[w,j]=a.useState([]),C=[{icon:Fv,title:"Digital Scale Integration",description:"Seamless integration with all major digital weighing scale brands (Mettler Toledo, Essae, Citizen, etc.). Automatic weight capture eliminates manual entry errors and speeds up billing. Support for RS232, USB, and Bluetooth connectivity."},{icon:Pv,title:"Automatic Weight Pricing",description:"Set price per kg/gram for any product. System automatically calculates total price based on weight. Support for multiple units (kg, gram, ton) with automatic conversion. Handle different pricing for different weight ranges."},{icon:Cv,title:"Lightning Fast Checkout",description:"Weigh, scan, and bill in seconds. Perfect for busy grocery stores and supermarkets. Reduce customer wait time significantly. Process up to 100+ items per minute with barcode scanning and automatic weight capture."},{icon:Gm,title:"Precise Weight Management",description:"Accurate weight measurement up to 0.001g precision. Track weight-based inventory, manage tare weight for containers, and handle multiple weighing units. Automatic inventory deduction based on sold weight."}];return a.useEffect((()=>{(async()=>{var e,n,i;try{const a=await t(dL()).unwrap();if(1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)){let e=null==(i=null==(n=null==a?void 0:a.data)?void 0:n.data)?void 0:i.filter((e=>"A"===e.ActiveStatus));j(e)}}catch(a){}})()}),[]),a.useEffect((()=>(n.current&&kce.fromTo(n.current.children,{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2,ease:"power3.out"}),i.current.forEach(((e,t)=>{e&&kce.fromTo(e,{opacity:0,x:-30},{opacity:1,x:0,duration:.8,delay:.1*t,ease:"power3.out",scrollTrigger:{trigger:e,start:"top 85%",toggleActions:"play none none reverse"}})})),()=>{_Ae.getAll().forEach((e=>e.kill()))})),[]),Ye.jsxs("div",{className:"solution-page",children:[Ye.jsx(XAe,{isScrolled:!0,forceTopZero:!0,AppCategory:w,solutionsOpen:r,setSolutionsOpen:s,closingSolutions:l,setClosingSolutions:o,solutionsRef:d,industry:p,setIndustry:A,closingIndustry:h,setClosingIndustry:f,industryRef:m,company:v,setCompany:g,closingCompany:y,setClosingCompany:x,companyRef:b}),Ye.jsxs("section",{className:"solution-hero",ref:n,children:[Ye.jsxs("div",{className:"hero-background",children:[Ye.jsx("div",{className:"gradient-orb orb-1",style:{background:"radial-gradient(circle, #4facfe 0%, transparent 70%)"}}),Ye.jsx("div",{className:"gradient-orb orb-2",style:{background:"radial-gradient(circle, #00f2fe 0%, transparent 70%)"}})]}),Ye.jsxs("div",{className:"hero-content",children:[Ye.jsxs("div",{className:"hero-badge",children:[Ye.jsx(Rv,{}),Ye.jsx("span",{children:"Weighing Scale POS"})]}),Ye.jsxs("div",{className:"hero-main",children:[Ye.jsxs("div",{className:"hero-text",children:[Ye.jsxs("h1",{className:"hero-title",children:["Integrated Weighing",Ye.jsx("span",{className:"gradient-text",style:{background:"linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:" Scale System"})]}),Ye.jsx("p",{className:"hero-description",children:"Perfect solution for grocery stores, supermarkets, and retail outlets requiring weight-based billing. Seamlessly integrate digital weighing scales with your POS system for accurate weight measurement and instant pricing. Process fruits, vegetables, grains, meat, fish, and other weight-based products faster than ever. Support for multiple weighing units (kg, gram, ton) with automatic conversion. Reduce billing time by 70% and eliminate calculation errors."}),Ye.jsxs("div",{className:"hero-cta",children:[Ye.jsxs("button",{className:"btn-primary",onClick:()=>{e("/home/signin")},children:["Start Free Trial",Ye.jsx(DD,{})]}),Ye.jsx("button",{className:"btn-secondary",onClick:()=>window.open("https://wa.me/917324000014","_blank"),children:"Book Demo"})]})]}),Ye.jsx("div",{className:"hero-image",children:Ye.jsx("div",{className:"hero-image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1542838132-92c53300491e?w=1200&h=800&fit=crop&q=90",alt:"Weighing Scale POS",className:"hero-product-image"})})})]})]})]}),Ye.jsx("section",{className:"solution-features",children:Ye.jsxs("div",{className:"features-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Why Choose Weighing Scale POS?"}),Ye.jsx("p",{children:"Perfect for weight-based retail businesses"})]}),Ye.jsx("div",{className:"features-visual",children:Ye.jsx("div",{className:"features-image",children:Ye.jsx("div",{className:"image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1588964895597-cfccd6e2dbf9?w=1200&h=800&fit=crop&q=90",alt:"Weighing Scale POS Features",className:"features-product-image"})})})}),Ye.jsx("div",{className:"features-grid",children:C.map(((e,t)=>{const n=e.icon;return Ye.jsxs("div",{ref:e=>i.current[t]=e,className:"feature-card",children:[Ye.jsx("div",{className:"feature-icon",style:{background:"linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)"},children:Ye.jsx(n,{})}),Ye.jsx("h3",{children:e.title}),Ye.jsx("p",{children:e.description})]},t)}))})]})}),Ye.jsx("section",{className:"solution-benefits",children:Ye.jsxs("div",{className:"benefits-container",children:[Ye.jsx("div",{className:"benefits-visual-image",children:Ye.jsx("div",{className:"benefits-image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1601599561213-832382fd07ba?w=1200&h=800&fit=crop&q=90",alt:"Complete Feature Set",className:"benefits-product-image"})})}),Ye.jsxs("div",{className:"benefits-content",children:[Ye.jsx("h2",{children:"Complete Feature Set"}),Ye.jsx("p",{style:{fontSize:"15px",color:"rgba(255, 255, 255, 0.6)",marginBottom:"2rem",lineHeight:"1.6"},children:"Everything you need for accurate weight-based billing and seamless scale integration"}),Ye.jsx("div",{className:"benefits-list",children:["Integration with all major digital weighing scale brands","Automatic weight capture from scale to POS system","Price per kg/gram/ton with automatic unit conversion","Quick item lookup with barcode or product name search","Barcode scanning for instant product identification","Receipt printing with weight details and pricing","Customer display showing weight and total amount","Support for multiple weighing scales simultaneously","Tare weight management for containers and packaging","Weight-based inventory tracking and deduction","GST calculation on weight-based products","Batch and lot number tracking for weighed items","Print weight labels with barcode for products","Integration with billing for seamless checkout","Weight variance reports and audit trails"].map(((e,t)=>Ye.jsxs("div",{className:"benefit-item",children:[Ye.jsx(LD,{className:"check-icon",style:{color:"#4facfe"}}),Ye.jsx("span",{children:e})]},t)))})]}),Ye.jsx("div",{className:"benefits-visual",children:Ye.jsxs("div",{className:"visual-card",children:[Ye.jsx(Rv,{className:"visual-icon",style:{color:"#4facfe"}}),Ye.jsxs("div",{className:"visual-stats",children:[Ye.jsxs("div",{className:"stat",children:[Ye.jsx("div",{className:"stat-value",style:{background:"linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"100%"}),Ye.jsx("div",{className:"stat-label",children:"Accurate"})]}),Ye.jsxs("div",{className:"stat",children:[Ye.jsx("div",{className:"stat-value",style:{background:"linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"Fast"}),Ye.jsx("div",{className:"stat-label",children:"Billing"})]})]})]})})]})}),Ye.jsx("section",{className:"solution-use-cases",children:Ye.jsxs("div",{className:"use-cases-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Perfect For"}),Ye.jsx("p",{children:"Ideal solution for businesses requiring weight-based billing"})]}),Ye.jsxs("div",{className:"use-cases-grid",children:[Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(On,{style:{color:"#E74C3C",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Grocery Stores"}),Ye.jsx("p",{children:"Supermarkets and grocery stores selling fruits, vegetables, grains, and other weight-based products"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(ii,{style:{color:"#E91E63",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Meat & Fish Shops"}),Ye.jsx("p",{children:"Butcher shops and fish markets requiring precise weight measurement and pricing"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx($n,{style:{color:"#27AE60",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Grain & Cereal Stores"}),Ye.jsx("p",{children:"Stores selling rice, wheat, pulses, and other grains by weight"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Jn,{style:{color:"#E74C3C",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Fruit & Vegetable Vendors"}),Ye.jsx("p",{children:"Fresh produce sellers needing fast weight-based billing and inventory tracking"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(pi,{style:{color:"#F39C12",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Confectionery Stores"}),Ye.jsx("p",{children:"Candy and sweet shops selling products by weight with accurate pricing"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Mn,{style:{color:"#4A90E2",fontSize:"32px"}})}),Ye.jsx("h3",{children:"General Retail"}),Ye.jsx("p",{children:"Any retail store selling weight-based products requiring integrated scale billing"})]})]})]})}),Ye.jsx("section",{className:"solution-integrations",children:Ye.jsxs("div",{className:"integrations-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Integrations & Compatibility"}),Ye.jsx("p",{children:"Seamlessly integrate weighing scales with your POS system. Works with all major scale brands and hardware devices."})]}),Ye.jsxs("div",{className:"integrations-grid",children:[Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(Rv,{style:{color:"#FF6B6B",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Digital Weighing Scales"}),Ye.jsx("p",{children:"Support for all major brands: Mettler Toledo, Essae, Citizen, and more. RS232, USB, and Bluetooth connectivity."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(Qm,{style:{color:"#4ECDC4",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Barcode Scanners"}),Ye.jsx("p",{children:"Quick product lookup with barcode scanning. Instant weight capture and pricing for faster checkout."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(lv,{style:{color:"#FF6B6B",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Payment Gateways"}),Ye.jsx("p",{children:"Razorpay, Paytm, PhonePe, UPI, and all major payment processors. Cash, card, UPI, and wallet support."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(av,{style:{color:"#95E1D3",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Cloud Storage"}),Ye.jsx("p",{children:"Automatic backup to cloud, data sync across devices, and secure cloud storage. Access from anywhere."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(uv,{style:{color:"#AA96DA",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Receipt Printing"}),Ye.jsx("p",{children:"Print weight labels, invoices, and receipts. Email and SMS invoice delivery. WhatsApp integration."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(wv,{style:{color:"#FCBAD3",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Security & Compliance"}),Ye.jsx("p",{children:"SSL encryption, data encryption at rest and in transit. GST compliance and secure weight data storage."})]})]})]})}),Ye.jsx("section",{className:"solution-faq",children:Ye.jsxs("div",{className:"faq-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Frequently Asked Questions"}),Ye.jsx("p",{children:"Get answers to common questions about Weighing Scale POS"})]}),Ye.jsxs("div",{className:"faq-list",children:[Ye.jsxs("div",{className:"faq-item "+(0===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(0===c?null:0),children:[Ye.jsx("h3",{children:"Which weighing scales are supported?"}),Ye.jsx("span",{className:"faq-toggle",children:0===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"We support all major digital weighing scale brands. The system is customizable to work with different scale models and communication protocols."})})]}),Ye.jsxs("div",{className:"faq-item "+(1===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(1===c?null:1),children:[Ye.jsx("h3",{children:"How accurate is the weight measurement?"}),Ye.jsx("span",{className:"faq-toggle",children:1===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Weight accuracy depends on your scale's precision. Our system captures weight up to 0.001g precision and automatically calculates pricing based on the measured weight."})})]}),Ye.jsxs("div",{className:"faq-item "+(2===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(2===c?null:2),children:[Ye.jsx("h3",{children:"Can I set different prices per kg for different products?"}),Ye.jsx("span",{className:"faq-toggle",children:2===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Yes, each product can have its own price per kg/gram. The system automatically calculates the total price when weight is captured from the scale."})})]}),Ye.jsxs("div",{className:"faq-item "+(3===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(3===c?null:3),children:[Ye.jsx("h3",{children:"How fast is the billing process?"}),Ye.jsx("span",{className:"faq-toggle",children:3===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"With automatic weight capture, billing is extremely fast. Just place the item on the scale, scan the barcode, and the bill is ready in seconds."})})]}),Ye.jsxs("div",{className:"faq-item "+(4===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(4===c?null:4),children:[Ye.jsx("h3",{children:"Can I manage tare weight for containers?"}),Ye.jsx("span",{className:"faq-toggle",children:4===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Yes, you can set and manage tare weight for containers, packaging, and bags. The system automatically deducts tare weight from the total weight."})})]}),Ye.jsxs("div",{className:"faq-item "+(5===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(5===c?null:5),children:[Ye.jsx("h3",{children:"Is GST calculation included for weight-based products?"}),Ye.jsx("span",{className:"faq-toggle",children:5===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Yes, GST is automatically calculated on weight-based products based on HSN codes. E-invoice generation and GSTR filing are also supported."})})]})]})]})}),Ye.jsx("section",{className:"solution-cta",children:Ye.jsxs("div",{className:"cta-content",children:[Ye.jsx("h2",{children:"Ready for Weight-based Billing?"}),Ye.jsx("p",{children:"Transform your grocery store operations with integrated weighing scale POS"}),Ye.jsxs("div",{className:"cta-buttons",children:[Ye.jsx("button",{className:"btn-primary",onClick:()=>{e("/home/signin")},children:"Get Started Free"}),Ye.jsx("button",{className:"btn-secondary",onClick:()=>window.open("https://wa.me/917324000014","_blank"),children:"Contact Sales"})]})]})}),Ye.jsx(Whe,{AppCategory:w}),p&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(lfe,{industryRef:m,closingIndustry:h,AppCategory:w,redirectApp:(t,n)=>{nA("AppId",n),nA("AppName",t);const i=t.replace(/[,]/g,"").replace(/\s+/g,"-").replace(/&/g,"and").replace(/[^a-z0-9-]/gi,"").toLowerCase();e(`/industries/${i}`),window.location.reload()}})}),v&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(ofe,{companyRef:b,closingCompany:y})}),r&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(dfe,{solutionsRef:d,closingSolutions:l})})]})},access:"Public"},{path:`${Ofe}solutions/multi-store-erp`,component:()=>{const e=Qt(),t=um(),n=a.useRef(null),i=a.useRef([]),[r,s]=a.useState(!1),[l,o]=a.useState(!1),d=a.useRef(null),[c,u]=a.useState(null),[p,A]=a.useState(!1),[h,f]=a.useState(!1),m=a.useRef(null),[v,g]=a.useState(!1),[y,x]=a.useState(!1),b=a.useRef(null),[w,j]=a.useState([]),C=[{icon:Fv,title:"Centralized Management",description:"Control all your stores from one powerful dashboard. Monitor sales, inventory, staff, and operations across all locations in real-time. Make decisions faster with complete visibility. Set store-specific rules, pricing, and promotions from head office."},{icon:Pv,title:"Real-time Data Sync",description:"All store data synchronizes instantly across your network. Stock updates, sales transactions, and inventory movements reflect immediately across all locations. No delays, no data conflicts. Cloud-based architecture ensures 99.9% uptime."},{icon:Cv,title:"Unlimited Store Locations",description:"Add as many store locations as you need. Each store operates independently while sharing data centrally. Perfect for retail chains and franchises. Scale from 2 stores to 200+ stores without any performance issues."},{icon:Gm,title:"Unified Analytics & Reports",description:"Get comprehensive reports combining data from all stores. Compare performance, identify trends, and make strategic decisions based on complete business insights. Store-wise, region-wise, and consolidated reports with drill-down capabilities."}];return a.useEffect((()=>{(async()=>{var e,n,i;try{const a=await t(dL()).unwrap();if(1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)){let e=null==(i=null==(n=null==a?void 0:a.data)?void 0:n.data)?void 0:i.filter((e=>"A"===e.ActiveStatus));j(e)}}catch(a){}})()}),[]),a.useEffect((()=>(n.current&&kce.fromTo(n.current.children,{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2,ease:"power3.out"}),i.current.forEach(((e,t)=>{e&&kce.fromTo(e,{opacity:0,x:-30},{opacity:1,x:0,duration:.8,delay:.1*t,ease:"power3.out",scrollTrigger:{trigger:e,start:"top 85%",toggleActions:"play none none reverse"}})})),()=>{_Ae.getAll().forEach((e=>e.kill()))})),[]),Ye.jsxs("div",{className:"solution-page",children:[Ye.jsx(XAe,{isScrolled:!0,forceTopZero:!0,AppCategory:w,solutionsOpen:r,setSolutionsOpen:s,closingSolutions:l,setClosingSolutions:o,solutionsRef:d,industry:p,setIndustry:A,closingIndustry:h,setClosingIndustry:f,industryRef:m,company:v,setCompany:g,closingCompany:y,setClosingCompany:x,companyRef:b}),Ye.jsxs("section",{className:"solution-hero",ref:n,children:[Ye.jsxs("div",{className:"hero-background",children:[Ye.jsx("div",{className:"gradient-orb orb-1",style:{background:"radial-gradient(circle, #43e97b 0%, transparent 70%)"}}),Ye.jsx("div",{className:"gradient-orb orb-2",style:{background:"radial-gradient(circle, #38f9d7 0%, transparent 70%)"}})]}),Ye.jsxs("div",{className:"hero-content",children:[Ye.jsxs("div",{className:"hero-badge",children:[Ye.jsx(Ev,{}),Ye.jsx("span",{children:"Multi-Store ERP"})]}),Ye.jsxs("div",{className:"hero-main",children:[Ye.jsxs("div",{className:"hero-text",children:[Ye.jsxs("h1",{className:"hero-title",children:["Manage Multiple Stores",Ye.jsx("span",{className:"gradient-text",style:{background:"linear-gradient(135deg, #43e97b 0%, #38f9d7 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:" from One Platform"})]}),Ye.jsx("p",{className:"hero-description",children:"Scale your retail business effortlessly with our comprehensive multi-store ERP solution. Manage unlimited store locations from one centralized dashboard. Real-time data synchronization ensures all stores stay connected. Unified reporting gives you complete visibility across your entire retail network. Compare performance, transfer stock between locations, and make strategic decisions based on complete business insights. Perfect for retail chains, franchises, and expanding businesses."}),Ye.jsxs("div",{className:"hero-cta",children:[Ye.jsxs("button",{className:"btn-primary",onClick:()=>{e("/home/signin")},children:["Start Free Trial",Ye.jsx(DD,{})]}),Ye.jsx("button",{className:"btn-secondary",onClick:()=>window.open("https://wa.me/917324000014","_blank"),children:"Book Demo"})]})]}),Ye.jsx("div",{className:"hero-image",children:Ye.jsx("div",{className:"hero-image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=1200&h=800&fit=crop&q=90",alt:"Multi-Store ERP",className:"hero-product-image"})})})]})]})]}),Ye.jsx("section",{className:"solution-features",children:Ye.jsxs("div",{className:"features-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Why Choose Multi-Store ERP?"}),Ye.jsx("p",{children:"Complete control over your retail empire"})]}),Ye.jsx("div",{className:"features-visual",children:Ye.jsx("div",{className:"features-image",children:Ye.jsx("div",{className:"image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1555529669-e69e7aa0ba9a?w=1200&h=800&fit=crop&q=90",alt:"Multi-Store ERP Features",className:"features-product-image"})})})}),Ye.jsx("div",{className:"features-grid",children:C.map(((e,t)=>{const n=e.icon;return Ye.jsxs("div",{ref:e=>i.current[t]=e,className:"feature-card",children:[Ye.jsx("div",{className:"feature-icon",style:{background:"linear-gradient(135deg, #43e97b 0%, #38f9d7 100%)"},children:Ye.jsx(n,{})}),Ye.jsx("h3",{children:e.title}),Ye.jsx("p",{children:e.description})]},t)}))})]})}),Ye.jsx("section",{className:"solution-benefits",children:Ye.jsxs("div",{className:"benefits-container",children:[Ye.jsx("div",{className:"benefits-visual-image",children:Ye.jsx("div",{className:"benefits-image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1472851294608-062f824d29cc?w=1200&h=800&fit=crop&q=90",alt:"Complete Feature Set",className:"benefits-product-image"})})}),Ye.jsxs("div",{className:"benefits-content",children:[Ye.jsx("h2",{children:"Complete Feature Set"}),Ye.jsx("p",{style:{fontSize:"15px",color:"rgba(255, 255, 255, 0.6)",marginBottom:"2rem",lineHeight:"1.6"},children:"Powerful multi-store management features to scale your retail business effortlessly"}),Ye.jsx("div",{className:"benefits-list",children:["Manage unlimited store locations from one platform","Real-time data synchronization across all stores","Unified inventory tracking with inter-store visibility","Centralized reporting combining all store data","Store-wise performance analytics and comparisons","Inter-store stock transfer with tracking","Consolidated financial reports and P&L statements","Role-based access control for store managers","Head office dashboard for complete oversight","Store-specific pricing and discount rules","Centralized product master data management","Multi-store customer database sharing","Unified purchase order management","Cross-store sales and inventory reports","Franchise management and royalty tracking","Store opening and closing time management","Centralized GST and tax compliance"].map(((e,t)=>Ye.jsxs("div",{className:"benefit-item",children:[Ye.jsx(LD,{className:"check-icon",style:{color:"#43e97b"}}),Ye.jsx("span",{children:e})]},t)))})]}),Ye.jsx("div",{className:"benefits-visual",children:Ye.jsxs("div",{className:"visual-card",children:[Ye.jsx(Ev,{className:"visual-icon",style:{color:"#43e97b"}}),Ye.jsxs("div",{className:"visual-stats",children:[Ye.jsxs("div",{className:"stat",children:[Ye.jsx("div",{className:"stat-value",style:{background:"linear-gradient(135deg, #43e97b 0%, #38f9d7 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"∞"}),Ye.jsx("div",{className:"stat-label",children:"Stores"})]}),Ye.jsxs("div",{className:"stat",children:[Ye.jsx("div",{className:"stat-value",style:{background:"linear-gradient(135deg, #43e97b 0%, #38f9d7 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"Real-time"}),Ye.jsx("div",{className:"stat-label",children:"Sync"})]})]})]})})]})}),Ye.jsx("section",{className:"solution-use-cases",children:Ye.jsxs("div",{className:"use-cases-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Perfect For"}),Ye.jsx("p",{children:"Ideal solution for businesses with multiple locations"})]}),Ye.jsxs("div",{className:"use-cases-grid",children:[Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Hn,{style:{color:"#9B59B6",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Retail Chains"}),Ye.jsx("p",{children:"Multi-store retail chains requiring centralized management, unified inventory, and consolidated reporting"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(ni,{style:{color:"#E67E22",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Restaurant Chains"}),Ye.jsx("p",{children:"Food service businesses with multiple outlets needing unified menu management and sales tracking"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(hi,{style:{color:"#F39C12",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Franchise Businesses"}),Ye.jsx("p",{children:"Franchise operations requiring head office oversight, royalty tracking, and performance comparison"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(_n,{style:{color:"#3498DB",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Department Stores"}),Ye.jsx("p",{children:"Large format stores with multiple departments needing centralized control and unified customer database"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Ai,{style:{color:"#16A085",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Multi-City Operations"}),Ye.jsx("p",{children:"Businesses operating across multiple cities requiring real-time data sync and centralized management"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(qn,{style:{color:"#E91E63",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Growing Businesses"}),Ye.jsx("p",{children:"Expanding businesses planning to open new locations and need scalable management solutions"})]})]})]})}),Ye.jsx("section",{className:"solution-integrations",children:Ye.jsxs("div",{className:"integrations-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Integrations & Compatibility"}),Ye.jsx("p",{children:"Seamlessly integrate with your existing tools and hardware. Centralized management for all your store locations."})]}),Ye.jsxs("div",{className:"integrations-grid",children:[Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(av,{style:{color:"#95E1D3",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Real-time Cloud Sync"}),Ye.jsx("p",{children:"Instant data synchronization across all stores. Real-time inventory updates, sales data, and unified reporting."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(Gm,{style:{color:"#F38181",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Centralized Analytics"}),Ye.jsx("p",{children:"Unified dashboards, store-wise comparisons, and consolidated reports. Make strategic decisions with complete visibility."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(Qm,{style:{color:"#4ECDC4",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Hardware Support"}),Ye.jsx("p",{children:"Barcode scanners, receipt printers, cash drawers, and POS hardware. Compatible with all major hardware brands."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(lv,{style:{color:"#FF6B6B",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Payment Gateways"}),Ye.jsx("p",{children:"Razorpay, Paytm, PhonePe, UPI, and all major payment processors. Unified payment processing across stores."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(uv,{style:{color:"#AA96DA",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Communication Tools"}),Ye.jsx("p",{children:"Email, SMS, and WhatsApp integration. Automated notifications, alerts, and customer communication."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(wv,{style:{color:"#FCBAD3",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Security & Compliance"}),Ye.jsx("p",{children:"Role-based access control, SSL encryption, audit trails, and data encryption. Bank-level security for multi-store data."})]})]})]})}),Ye.jsx("section",{className:"solution-faq",children:Ye.jsxs("div",{className:"faq-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Frequently Asked Questions"}),Ye.jsx("p",{children:"Get answers to common questions about Multi-Store ERP"})]}),Ye.jsxs("div",{className:"faq-list",children:[Ye.jsxs("div",{className:"faq-item "+(0===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(0===c?null:0),children:[Ye.jsx("h3",{children:"How many stores can I manage?"}),Ye.jsx("span",{className:"faq-toggle",children:0===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"There's no limit on the number of stores you can manage. Add as many locations as you need. Each store operates independently while sharing data centrally."})})]}),Ye.jsxs("div",{className:"faq-item "+(1===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(1===c?null:1),children:[Ye.jsx("h3",{children:"How does data synchronization work?"}),Ye.jsx("span",{className:"faq-toggle",children:1===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"All store data synchronizes in real-time. Sales, inventory updates, and transactions reflect immediately across all locations. Changes made at one store are visible at all stores instantly."})})]}),Ye.jsxs("div",{className:"faq-item "+(2===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(2===c?null:2),children:[Ye.jsx("h3",{children:"Can each store have different pricing?"}),Ye.jsx("span",{className:"faq-toggle",children:2===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Yes, you can set store-specific pricing and discount rules. Each store can have its own pricing strategy while maintaining centralized product master data."})})]}),Ye.jsxs("div",{className:"faq-item "+(3===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(3===c?null:3),children:[Ye.jsx("h3",{children:"How do I transfer stock between stores?"}),Ye.jsx("span",{className:"faq-toggle",children:3===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Create inter-store transfer requests, track movement, and receive stock at the destination store. All transfers are tracked with complete audit trails."})})]}),Ye.jsxs("div",{className:"faq-item "+(4===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(4===c?null:4),children:[Ye.jsx("h3",{children:"Can I compare performance across stores?"}),Ye.jsx("span",{className:"faq-toggle",children:4===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Yes, get comprehensive reports comparing sales, inventory, and performance metrics across all stores. Identify top performers and areas for improvement."})})]}),Ye.jsxs("div",{className:"faq-item "+(5===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(5===c?null:5),children:[Ye.jsx("h3",{children:"How do I manage user access for different stores?"}),Ye.jsx("span",{className:"faq-toggle",children:5===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Set role-based access control. Store managers can access only their store data, while head office users can view all stores. Customize permissions as needed."})})]})]})]})}),Ye.jsx("section",{className:"solution-cta",children:Ye.jsxs("div",{className:"cta-content",children:[Ye.jsx("h2",{children:"Ready to Scale Your Business?"}),Ye.jsx("p",{children:"Manage all your stores efficiently with our multi-store ERP solution"}),Ye.jsxs("div",{className:"cta-buttons",children:[Ye.jsx("button",{className:"btn-primary",onClick:()=>{e("/home/signin")},children:"Get Started Free"}),Ye.jsx("button",{className:"btn-secondary",onClick:()=>window.open("https://wa.me/917324000014","_blank"),children:"Contact Sales"})]})]})}),Ye.jsx(Whe,{AppCategory:w}),p&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(cfe,{industryRef:m,closingIndustry:h,AppCategory:w,redirectApp:(t,n)=>{nA("AppId",n),nA("AppName",t);const i=t.replace(/[,]/g,"").replace(/\s+/g,"-").replace(/&/g,"and").replace(/[^a-z0-9-]/gi,"").toLowerCase();e(`/industries/${i}`),window.location.reload()}})}),v&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(ufe,{companyRef:b,closingCompany:y})}),r&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(pfe,{solutionsRef:d,closingSolutions:l})})]})},access:"Public"},{path:`${Ofe}solutions/gst-billing-e-invoice`,component:()=>{const e=Qt(),t=um(),n=a.useRef(null),i=a.useRef([]),[r,s]=a.useState(!1),[l,o]=a.useState(!1),d=a.useRef(null),[c,u]=a.useState(null),[p,A]=a.useState(!1),[h,f]=a.useState(!1),m=a.useRef(null),[v,g]=a.useState(!1),[y,x]=a.useState(!1),b=a.useRef(null),[w,j]=a.useState([]),C=[{icon:Fv,title:"Automated E-Invoice Generation",description:"Generate e-invoices with IRN (Invoice Reference Number) automatically. Direct integration with GST portal ensures instant validation and compliance. No manual intervention needed. Support for B2B, B2C, and export invoices with proper format."},{icon:Pv,title:"Complete GST Compliance",description:"100% compliant with all Indian GST regulations. Automatic tax calculation, HSN/SAC code management, and multi-tax rate support (0%, 5%, 12%, 18%, 28%). Handle CGST, SGST, IGST, and CESS automatically. Stay compliant without effort."},{icon:Cv,title:"Automated GSTR Filing",description:"Automated GSTR-1, GSTR-3B filing with data validation. Reconciliation tools help identify mismatches. Export data in GST portal format for easy filing. Auto-populate returns with invoice data and validate before submission."},{icon:Gm,title:"Comprehensive Tax Analytics",description:"Detailed tax reports showing input tax credit, output tax, tax liability, and more. Track tax trends, identify savings opportunities, and ensure accurate tax management. Monthly, quarterly, and annual tax summaries with drill-down capabilities."}];return a.useEffect((()=>{(async()=>{var e,n,i;try{const a=await t(dL()).unwrap();if(1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)){let e=null==(i=null==(n=null==a?void 0:a.data)?void 0:n.data)?void 0:i.filter((e=>"A"===e.ActiveStatus));j(e)}}catch(a){}})()}),[]),a.useEffect((()=>(n.current&&kce.fromTo(n.current.children,{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2,ease:"power3.out"}),i.current.forEach(((e,t)=>{e&&kce.fromTo(e,{opacity:0,x:-30},{opacity:1,x:0,duration:.8,delay:.1*t,ease:"power3.out",scrollTrigger:{trigger:e,start:"top 85%",toggleActions:"play none none reverse"}})})),()=>{_Ae.getAll().forEach((e=>e.kill()))})),[]),Ye.jsxs("div",{className:"solution-page",children:[Ye.jsx(XAe,{isScrolled:!0,forceTopZero:!0,AppCategory:w,solutionsOpen:r,setSolutionsOpen:s,closingSolutions:l,setClosingSolutions:o,solutionsRef:d,industry:p,setIndustry:A,closingIndustry:h,setClosingIndustry:f,industryRef:m,company:v,setCompany:g,closingCompany:y,setClosingCompany:x,companyRef:b}),Ye.jsxs("section",{className:"solution-hero",ref:n,children:[Ye.jsxs("div",{className:"hero-background",children:[Ye.jsx("div",{className:"gradient-orb orb-1",style:{background:"radial-gradient(circle, #fa709a 0%, transparent 70%)"}}),Ye.jsx("div",{className:"gradient-orb orb-2",style:{background:"radial-gradient(circle, #fee140 0%, transparent 70%)"}})]}),Ye.jsxs("div",{className:"hero-content",children:[Ye.jsxs("div",{className:"hero-badge",children:[Ye.jsx(Av,{}),Ye.jsx("span",{children:"GST Billing & E-Invoice"})]}),Ye.jsxs("div",{className:"hero-main",children:[Ye.jsxs("div",{className:"hero-text",children:[Ye.jsxs("h1",{className:"hero-title",children:["Complete GST Compliance",Ye.jsx("span",{className:"gradient-text",style:{background:"linear-gradient(135deg, #fa709a 0%, #fee140 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:" Made Simple"})]}),Ye.jsx("p",{className:"hero-description",children:"Stay 100% compliant with Indian GST regulations effortlessly. Automated e-invoice generation with IRN integration, seamless GSTR filing, and complete tax compliance built into your billing system. Never miss a tax deadline or worry about compliance again. Automatic tax calculation, input tax credit tracking, and comprehensive tax reports. Direct integration with GST portal for instant e-invoice validation and GSTR data preparation."}),Ye.jsxs("div",{className:"hero-cta",children:[Ye.jsxs("button",{className:"btn-primary",onClick:()=>{e("/home/signin")},children:["Start Free Trial",Ye.jsx(DD,{})]}),Ye.jsx("button",{className:"btn-secondary",onClick:()=>window.open("https://wa.me/917324000014","_blank"),children:"Book Demo"})]})]}),Ye.jsx("div",{className:"hero-image",children:Ye.jsx("div",{className:"hero-image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1200&h=800&fit=crop&q=90",alt:"GST Billing & E-Invoice",className:"hero-product-image"})})})]})]})]}),Ye.jsx("section",{className:"solution-features",children:Ye.jsxs("div",{className:"features-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Why Choose GST Billing?"}),Ye.jsx("p",{children:"Complete tax compliance at your fingertips"})]}),Ye.jsx("div",{className:"features-visual",children:Ye.jsx("div",{className:"features-image",children:Ye.jsx("div",{className:"image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1200&h=800&fit=crop&q=90",alt:"GST Billing Features",className:"features-product-image"})})})}),Ye.jsx("div",{className:"features-grid",children:C.map(((e,t)=>{const n=e.icon;return Ye.jsxs("div",{ref:e=>i.current[t]=e,className:"feature-card",children:[Ye.jsx("div",{className:"feature-icon",style:{background:"linear-gradient(135deg, #fa709a 0%, #fee140 100%)"},children:Ye.jsx(n,{})}),Ye.jsx("h3",{children:e.title}),Ye.jsx("p",{children:e.description})]},t)}))})]})}),Ye.jsx("section",{className:"solution-benefits",children:Ye.jsxs("div",{className:"benefits-container",children:[Ye.jsx("div",{className:"benefits-visual-image",children:Ye.jsx("div",{className:"benefits-image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1434030216411-0b793f4b4173?w=1200&h=800&fit=crop&q=90",alt:"Complete Feature Set",className:"benefits-product-image"})})}),Ye.jsxs("div",{className:"benefits-content",children:[Ye.jsx("h2",{children:"Complete Feature Set"}),Ye.jsx("p",{style:{fontSize:"15px",color:"rgba(255, 255, 255, 0.6)",marginBottom:"2rem",lineHeight:"1.6"},children:"Complete GST compliance and e-invoice features to keep your business tax-ready"}),Ye.jsx("div",{className:"benefits-list",children:["E-Invoice generation with IRN (Invoice Reference Number) from GST portal","Complete GST compliance: CGST, SGST, IGST, CESS calculation","Automated GSTR-1 and GSTR-3B data preparation and filing","Comprehensive tax calculation reports and analytics","E-way bill generation for inter-state transactions","HSN/SAC code management with automatic tax rate assignment","Multi-tax rate support: 0%, 5%, 12%, 18%, 28%","Credit note and debit note generation with GST compliance","Input tax credit (ITC) tracking and reconciliation","Reverse charge mechanism (RCM) support","Composition scheme support for eligible businesses","Tax invoice, bill of supply, and receipt generation","GST return filing reminders and notifications","Tax liability reports and payment tracking","Integration with GST portal for seamless data transfer","Export invoices in JSON format for GST portal upload"].map(((e,t)=>Ye.jsxs("div",{className:"benefit-item",children:[Ye.jsx(LD,{className:"check-icon",style:{color:"#fa709a"}}),Ye.jsx("span",{children:e})]},t)))})]}),Ye.jsx("div",{className:"benefits-visual",children:Ye.jsxs("div",{className:"visual-card",children:[Ye.jsx(Av,{className:"visual-icon",style:{color:"#fa709a"}}),Ye.jsxs("div",{className:"visual-stats",children:[Ye.jsxs("div",{className:"stat",children:[Ye.jsx("div",{className:"stat-value",style:{background:"linear-gradient(135deg, #fa709a 0%, #fee140 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"100%"}),Ye.jsx("div",{className:"stat-label",children:"Compliant"})]}),Ye.jsxs("div",{className:"stat",children:[Ye.jsx("div",{className:"stat-value",style:{background:"linear-gradient(135deg, #fa709a 0%, #fee140 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"Auto"}),Ye.jsx("div",{className:"stat-label",children:"Filing"})]})]})]})})]})}),Ye.jsx("section",{className:"solution-use-cases",children:Ye.jsxs("div",{className:"use-cases-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Perfect For"}),Ye.jsx("p",{children:"Ideal solution for businesses requiring GST compliance"})]}),Ye.jsxs("div",{className:"use-cases-grid",children:[Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Mn,{style:{color:"#4A90E2",fontSize:"32px"}})}),Ye.jsx("h3",{children:"GST Registered Businesses"}),Ye.jsx("p",{children:"All businesses registered under GST requiring automated tax calculation and e-invoice generation"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Dn,{style:{color:"#E74C3C",fontSize:"32px"}})}),Ye.jsx("h3",{children:"E-Invoice Mandated Companies"}),Ye.jsx("p",{children:"Businesses mandated to generate e-invoices with IRN integration for GST compliance"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(ti,{style:{color:"#16A085",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Inter-State Traders"}),Ye.jsx("p",{children:"Businesses conducting inter-state transactions requiring e-way bills and IGST compliance"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Xn,{style:{color:"#E67E22",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Manufacturing Units"}),Ye.jsx("p",{children:"Manufacturing businesses needing input tax credit tracking and comprehensive tax reports"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Qn,{style:{color:"#9B59B6",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Service Providers"}),Ye.jsx("p",{children:"Service businesses requiring SAC code management and service tax compliance"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Tn,{style:{color:"#F39C12",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Tax Consultants"}),Ye.jsx("p",{children:"CA firms and tax consultants managing multiple clients' GST filing and compliance"})]})]})]})}),Ye.jsx("section",{className:"solution-integrations",children:Ye.jsxs("div",{className:"integrations-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Integrations & Compatibility"}),Ye.jsx("p",{children:"Seamlessly integrate with GST portal and your existing tools. Complete GST compliance with automated e-invoice generation."})]}),Ye.jsxs("div",{className:"integrations-grid",children:[Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(pv,{style:{color:"#FF6B6B",fontSize:"28px"}})}),Ye.jsx("h3",{children:"GST Portal Integration"}),Ye.jsx("p",{children:"Direct integration with GST portal for e-invoice IRN generation, GSTR filing, and tax compliance. Automated data transfer."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(Gm,{style:{color:"#F38181",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Accounting Software"}),Ye.jsx("p",{children:"Export GST data to Tally, QuickBooks, and other accounting systems. Seamless data transfer with proper formatting."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(uv,{style:{color:"#AA96DA",fontSize:"28px"}})}),Ye.jsx("h3",{children:"E-Invoice Delivery"}),Ye.jsx("p",{children:"Send e-invoices via email, SMS, and WhatsApp. Automated customer communication with invoice attachments."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(av,{style:{color:"#95E1D3",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Cloud Storage"}),Ye.jsx("p",{children:"Secure cloud storage for all invoices and GST documents. Automatic backup and data sync across devices."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(Qm,{style:{color:"#4ECDC4",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Hardware Support"}),Ye.jsx("p",{children:"Barcode scanners, receipt printers, and POS hardware. Compatible with all major hardware brands."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(wv,{style:{color:"#FCBAD3",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Security & Compliance"}),Ye.jsx("p",{children:"SSL encryption, data encryption at rest and in transit. GST compliance, audit trails, and secure invoice storage."})]})]})]})}),Ye.jsx("section",{className:"solution-faq",children:Ye.jsxs("div",{className:"faq-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Frequently Asked Questions"}),Ye.jsx("p",{children:"Get answers to common questions about GST Billing & E-Invoice"})]}),Ye.jsxs("div",{className:"faq-list",children:[Ye.jsxs("div",{className:"faq-item "+(0===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(0===c?null:0),children:[Ye.jsx("h3",{children:"What is e-invoice and IRN?"}),Ye.jsx("span",{className:"faq-toggle",children:0===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"E-invoice is a digital invoice generated in a standardized format. IRN (Invoice Reference Number) is a unique number generated by the GST portal for each invoice. Our system automatically generates e-invoices and obtains IRN from the GST portal."})})]}),Ye.jsxs("div",{className:"faq-item "+(1===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(1===c?null:1),children:[Ye.jsx("h3",{children:"How does GST calculation work?"}),Ye.jsx("span",{className:"faq-toggle",children:1===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"GST is automatically calculated based on HSN/SAC codes. The system supports CGST+SGST for intra-state, IGST for inter-state, and CESS where applicable. Tax rates are automatically applied based on product/service codes."})})]}),Ye.jsxs("div",{className:"faq-item "+(2===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(2===c?null:2),children:[Ye.jsx("h3",{children:"Can I file GSTR returns directly?"}),Ye.jsx("span",{className:"faq-toggle",children:2===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"We prepare GSTR-1 and GSTR-3B data in the format required by the GST portal. You can export this data and upload it directly to the GST portal for filing. We also provide reconciliation tools to identify mismatches."})})]}),Ye.jsxs("div",{className:"faq-item "+(3===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(3===c?null:3),children:[Ye.jsx("h3",{children:"What is input tax credit (ITC) tracking?"}),Ye.jsx("span",{className:"faq-toggle",children:3===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"ITC tracking helps you claim credit for GST paid on purchases. The system automatically tracks eligible ITC, matches it with supplier invoices, and helps you claim credit while filing returns."})})]}),Ye.jsxs("div",{className:"faq-item "+(4===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(4===c?null:4),children:[Ye.jsx("h3",{children:"Do I need separate software for e-way bills?"}),Ye.jsx("span",{className:"faq-toggle",children:4===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"No, e-way bill generation is built into the system. For inter-state transactions above ₹50,000, you can generate e-way bills directly from the billing interface."})})]}),Ye.jsxs("div",{className:"faq-item "+(5===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(5===c?null:5),children:[Ye.jsx("h3",{children:"What if I make a mistake in GST calculation?"}),Ye.jsx("span",{className:"faq-toggle",children:5===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"You can generate credit notes or debit notes to correct errors. The system maintains complete audit trails, and all corrections are reflected in subsequent GST returns."})})]})]})]})}),Ye.jsx("section",{className:"solution-cta",children:Ye.jsxs("div",{className:"cta-content",children:[Ye.jsx("h2",{children:"Ready for GST Compliance?"}),Ye.jsx("p",{children:"Simplify your tax compliance with automated GST billing and e-invoice"}),Ye.jsxs("div",{className:"cta-buttons",children:[Ye.jsx("button",{className:"btn-primary",onClick:()=>{e("/home/signin")},children:"Get Started Free"}),Ye.jsx("button",{className:"btn-secondary",onClick:()=>window.open("https://wa.me/917324000014","_blank"),children:"Contact Sales"})]})]})}),Ye.jsx(Whe,{AppCategory:w}),p&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(Afe,{industryRef:m,closingIndustry:h,AppCategory:w,redirectApp:(t,n)=>{nA("AppId",n),nA("AppName",t);const i=t.replace(/[,]/g,"").replace(/\s+/g,"-").replace(/&/g,"and").replace(/[^a-z0-9-]/gi,"").toLowerCase();e(`/industries/${i}`),window.location.reload()}})}),v&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(hfe,{companyRef:b,closingCompany:y})}),r&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(ffe,{solutionsRef:d,closingSolutions:l})})]})},access:"Public"},{path:`${Ofe}solutions/offline-billing`,component:()=>{const e=Qt(),t=um(),n=a.useRef(null),i=a.useRef([]),[r,s]=a.useState(!1),[l,o]=a.useState(!1),d=a.useRef(null),[c,u]=a.useState(null),[p,A]=a.useState(!1),[h,f]=a.useState(!1),m=a.useRef(null),[v,g]=a.useState(!1),[y,x]=a.useState(!1),b=a.useRef(null),[w,j]=a.useState([]),C=[{icon:Fv,title:"Full Offline Functionality",description:"Complete billing, inventory, and customer management works offline. No internet required for day-to-day operations. All features available without connectivity. Process unlimited transactions offline with full data integrity."},{icon:Pv,title:"Automatic Data Synchronization",description:"When internet connection is restored, all offline transactions automatically sync to cloud. No data loss, no manual intervention needed. Seamless background sync with conflict resolution. Queue management for large data transfers."},{icon:Cv,title:"Secure Local Data Storage",description:"All data stored securely on your device with AES-256 encryption. Automatic backups ensure data safety. Works on desktop, tablet, and mobile devices. Local database with full transaction history and audit trails."},{icon:Gm,title:"Zero Business Interruption",description:"Continue operations exactly as before. No learning curve, no feature limitations. Your business never stops, even during network outages. Offline mode indicator shows sync status and pending transactions."}];return a.useEffect((()=>{(async()=>{var e,n,i;try{const a=await t(dL()).unwrap();if(1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)){let e=null==(i=null==(n=null==a?void 0:a.data)?void 0:n.data)?void 0:i.filter((e=>"A"===e.ActiveStatus));j(e)}}catch(a){}})()}),[]),a.useEffect((()=>(n.current&&kce.fromTo(n.current.children,{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2,ease:"power3.out"}),i.current.forEach(((e,t)=>{e&&kce.fromTo(e,{opacity:0,x:-30},{opacity:1,x:0,duration:.8,delay:.1*t,ease:"power3.out",scrollTrigger:{trigger:e,start:"top 85%",toggleActions:"play none none reverse"}})})),()=>{_Ae.getAll().forEach((e=>e.kill()))})),[]),Ye.jsxs("div",{className:"solution-page",children:[Ye.jsx(XAe,{isScrolled:!0,forceTopZero:!0,AppCategory:w,solutionsOpen:r,setSolutionsOpen:s,closingSolutions:l,setClosingSolutions:o,solutionsRef:d,industry:p,setIndustry:A,closingIndustry:h,setClosingIndustry:f,industryRef:m,company:v,setCompany:g,closingCompany:y,setClosingCompany:x,companyRef:b}),Ye.jsxs("section",{className:"solution-hero",ref:n,children:[Ye.jsxs("div",{className:"hero-background",children:[Ye.jsx("div",{className:"gradient-orb orb-1",style:{background:"radial-gradient(circle, #30cfd0 0%, transparent 70%)"}}),Ye.jsx("div",{className:"gradient-orb orb-2",style:{background:"radial-gradient(circle, #330867 0%, transparent 70%)"}})]}),Ye.jsxs("div",{className:"hero-content",children:[Ye.jsxs("div",{className:"hero-badge",children:[Ye.jsx(Qv,{}),Ye.jsx("span",{children:"Offline Billing"})]}),Ye.jsxs("div",{className:"hero-main",children:[Ye.jsxs("div",{className:"hero-text",children:[Ye.jsxs("h1",{className:"hero-title",children:["Never Stop Billing",Ye.jsx("span",{className:"gradient-text",style:{background:"linear-gradient(135deg, #30cfd0 0%, #330867 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:" Even Offline"})]}),Ye.jsx("p",{className:"hero-description",children:"Never let connectivity issues stop your business. Continue billing, managing inventory, and serving customers even without internet. All data is stored locally with encryption and automatically syncs when connection is restored. Perfect for areas with unreliable internet or during network outages. Work offline indefinitely with full functionality. Zero data loss guarantee with transaction logging and automatic conflict resolution."}),Ye.jsxs("div",{className:"hero-cta",children:[Ye.jsxs("button",{className:"btn-primary",onClick:()=>{e("/home/signin")},children:["Start Free Trial",Ye.jsx(DD,{})]}),Ye.jsx("button",{className:"btn-secondary",onClick:()=>window.open("https://wa.me/917324000014","_blank"),children:"Book Demo"})]})]}),Ye.jsx("div",{className:"hero-image",children:Ye.jsx("div",{className:"hero-image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1563013544-824ae1b704d3?w=1200&h=800&fit=crop&q=90",alt:"Offline Billing",className:"hero-product-image"})})})]})]})]}),Ye.jsx("section",{className:"solution-features",children:Ye.jsxs("div",{className:"features-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Why Choose Offline Billing?"}),Ye.jsx("p",{children:"Business continuity guaranteed"})]}),Ye.jsx("div",{className:"features-visual",children:Ye.jsx("div",{className:"features-image",children:Ye.jsx("div",{className:"image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?w=1200&h=800&fit=crop&q=90",alt:"Offline Billing Features",className:"features-product-image"})})})}),Ye.jsx("div",{className:"features-grid",children:C.map(((e,t)=>{const n=e.icon;return Ye.jsxs("div",{ref:e=>i.current[t]=e,className:"feature-card",children:[Ye.jsx("div",{className:"feature-icon",style:{background:"linear-gradient(135deg, #30cfd0 0%, #330867 100%)"},children:Ye.jsx(n,{})}),Ye.jsx("h3",{children:e.title}),Ye.jsx("p",{children:e.description})]},t)}))})]})}),Ye.jsx("section",{className:"solution-benefits",children:Ye.jsxs("div",{className:"benefits-container",children:[Ye.jsx("div",{className:"benefits-visual-image",children:Ye.jsx("div",{className:"benefits-image-container",children:Ye.jsx("img",{src:"https://images.unsplash.com/photo-1556742502-ec7c0e9f34b1?w=1200&h=800&fit=crop&q=90",alt:"Complete Feature Set",className:"benefits-product-image"})})}),Ye.jsxs("div",{className:"benefits-content",children:[Ye.jsx("h2",{children:"Complete Feature Set"}),Ye.jsx("p",{style:{fontSize:"15px",color:"rgba(255, 255, 255, 0.6)",marginBottom:"2rem",lineHeight:"1.6"},children:"Full offline functionality with automatic sync - never let connectivity issues stop your business"}),Ye.jsx("div",{className:"benefits-list",children:["Complete offline functionality - work without internet","Automatic data synchronization when connection restored","Secure local data storage with encryption","Offline customer management and database access","Offline inventory tracking and stock updates","Automatic data backup and recovery system","Background sync when internet is available","Zero data loss guarantee with transaction logging","Offline billing with all payment modes","Offline product and price management","Offline reports generation and viewing","Multi-device offline support","Conflict resolution for simultaneous offline edits","Offline mode indicator and sync status","Manual sync option for critical transactions","Offline data export and import capabilities"].map(((e,t)=>Ye.jsxs("div",{className:"benefit-item",children:[Ye.jsx(LD,{className:"check-icon",style:{color:"#30cfd0"}}),Ye.jsx("span",{children:e})]},t)))})]}),Ye.jsx("div",{className:"benefits-visual",children:Ye.jsxs("div",{className:"visual-card",children:[Ye.jsx(Qv,{className:"visual-icon",style:{color:"#30cfd0"}}),Ye.jsxs("div",{className:"visual-stats",children:[Ye.jsxs("div",{className:"stat",children:[Ye.jsx("div",{className:"stat-value",style:{background:"linear-gradient(135deg, #30cfd0 0%, #330867 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"100%"}),Ye.jsx("div",{className:"stat-label",children:"Reliable"})]}),Ye.jsxs("div",{className:"stat",children:[Ye.jsx("div",{className:"stat-value",style:{background:"linear-gradient(135deg, #30cfd0 0%, #330867 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"Auto"}),Ye.jsx("div",{className:"stat-label",children:"Sync"})]})]})]})})]})}),Ye.jsx("section",{className:"solution-use-cases",children:Ye.jsxs("div",{className:"use-cases-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Perfect For"}),Ye.jsx("p",{children:"Ideal solution for businesses in areas with unreliable internet"})]}),Ye.jsxs("div",{className:"use-cases-grid",children:[Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Mn,{style:{color:"#4A90E2",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Remote Locations"}),Ye.jsx("p",{children:"Stores in rural or remote areas with poor internet connectivity requiring reliable offline operations"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(ti,{style:{color:"#16A085",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Mobile Vendors"}),Ye.jsx("p",{children:"Street vendors and mobile sellers needing billing capabilities without constant internet access"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Hn,{style:{color:"#9B59B6",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Basement Stores"}),Ye.jsx("p",{children:"Shops in basements or areas with weak network signals requiring offline functionality"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Kn,{style:{color:"#3498DB",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Field Sales Teams"}),Ye.jsx("p",{children:"Sales teams working in areas with intermittent connectivity needing mobile billing"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Gn,{style:{color:"#F39C12",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Power Outage Areas"}),Ye.jsx("p",{children:"Businesses in areas with frequent power cuts and internet disruptions"})]}),Ye.jsxs("div",{className:"use-case-card",children:[Ye.jsx("div",{className:"use-case-icon",children:Ye.jsx(Ai,{style:{color:"#E91E63",fontSize:"32px"}})}),Ye.jsx("h3",{children:"Any Business"}),Ye.jsx("p",{children:"Any business wanting backup billing capability during network outages or maintenance"})]})]})]})}),Ye.jsx("section",{className:"solution-integrations",children:Ye.jsxs("div",{className:"integrations-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Integrations & Compatibility"}),Ye.jsx("p",{children:"Seamlessly integrate with your existing tools and hardware. Works offline and syncs automatically when online."})]}),Ye.jsxs("div",{className:"integrations-grid",children:[Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(Qv,{style:{color:"#FF6B6B",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Offline-First Architecture"}),Ye.jsx("p",{children:"Complete functionality without internet. Automatic sync when connection is restored. Zero data loss guarantee."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(Qm,{style:{color:"#4ECDC4",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Hardware Support"}),Ye.jsx("p",{children:"Barcode scanners, receipt printers, cash drawers, and POS hardware. Works offline with all major hardware brands."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(av,{style:{color:"#95E1D3",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Cloud Sync"}),Ye.jsx("p",{children:"Automatic cloud synchronization when online. Secure backup, multi-device access, and data recovery."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(lv,{style:{color:"#FF6B6B",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Payment Processing"}),Ye.jsx("p",{children:"Cash, card, UPI, and wallet support. Offline payment recording with automatic sync when online."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(uv,{style:{color:"#AA96DA",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Invoice Delivery"}),Ye.jsx("p",{children:"Send invoices via email, SMS, and WhatsApp when online. Offline invoices queued for automatic delivery."})]}),Ye.jsxs("div",{className:"integration-item",children:[Ye.jsx("div",{className:"integration-icon",children:Ye.jsx(wv,{style:{color:"#FCBAD3",fontSize:"28px"}})}),Ye.jsx("h3",{children:"Security & Compliance"}),Ye.jsx("p",{children:"AES-256 encryption for local data, SSL encryption for sync, and secure offline storage. Bank-level security."})]})]})]})}),Ye.jsx("section",{className:"solution-faq",children:Ye.jsxs("div",{className:"faq-container",children:[Ye.jsxs("div",{className:"section-header",children:[Ye.jsx("h2",{children:"Frequently Asked Questions"}),Ye.jsx("p",{children:"Get answers to common questions about Offline Billing"})]}),Ye.jsxs("div",{className:"faq-list",children:[Ye.jsxs("div",{className:"faq-item "+(0===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(0===c?null:0),children:[Ye.jsx("h3",{children:"How long can I work offline?"}),Ye.jsx("span",{className:"faq-toggle",children:0===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"You can work offline indefinitely. There's no time limit. All data is stored locally on your device and syncs automatically when internet is available."})})]}),Ye.jsxs("div",{className:"faq-item "+(1===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(1===c?null:1),children:[Ye.jsx("h3",{children:"What happens to my data when offline?"}),Ye.jsx("span",{className:"faq-toggle",children:1===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"All data is stored securely on your device with encryption. When internet connection is restored, all offline transactions automatically sync to the cloud. No data is lost."})})]}),Ye.jsxs("div",{className:"faq-item "+(2===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(2===c?null:2),children:[Ye.jsx("h3",{children:"Are all features available offline?"}),Ye.jsx("span",{className:"faq-toggle",children:2===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Yes, all core features work offline: billing, inventory management, customer database, product management, and reports. Only cloud-specific features like email sending require internet."})})]}),Ye.jsxs("div",{className:"faq-item "+(3===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(3===c?null:3),children:[Ye.jsx("h3",{children:"How do I know if I'm in offline mode?"}),Ye.jsx("span",{className:"faq-toggle",children:3===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"The system displays an offline mode indicator. You'll also see sync status showing when data was last synchronized and when it will sync next."})})]}),Ye.jsxs("div",{className:"faq-item "+(4===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(4===c?null:4),children:[Ye.jsx("h3",{children:"What if multiple devices edit data offline?"}),Ye.jsx("span",{className:"faq-toggle",children:4===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"The system has conflict resolution mechanisms. When syncing, it identifies conflicts and allows you to choose which version to keep or merge changes intelligently."})})]}),Ye.jsxs("div",{className:"faq-item "+(5===c?"open":""),children:[Ye.jsxs("div",{className:"faq-question",onClick:()=>u(5===c?null:5),children:[Ye.jsx("h3",{children:"Can I force sync manually?"}),Ye.jsx("span",{className:"faq-toggle",children:5===c?"−":"+"})]}),Ye.jsx("div",{className:"faq-answer",children:Ye.jsx("p",{children:"Yes, you can manually trigger sync anytime. This is useful for critical transactions that need immediate cloud backup or when you want to ensure data is up to date."})})]})]})]})}),Ye.jsx("section",{className:"solution-cta",children:Ye.jsxs("div",{className:"cta-content",children:[Ye.jsx("h2",{children:"Ready for Uninterrupted Operations?"}),Ye.jsx("p",{children:"Never let connectivity issues stop your business with offline billing"}),Ye.jsxs("div",{className:"cta-buttons",children:[Ye.jsx("button",{className:"btn-primary",onClick:()=>{e("/home/signin")},children:"Get Started Free"}),Ye.jsx("button",{className:"btn-secondary",onClick:()=>window.open("https://wa.me/917324000014","_blank"),children:"Contact Sales"})]})]})}),Ye.jsx(Whe,{AppCategory:w}),p&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(mfe,{industryRef:m,closingIndustry:h,AppCategory:w,redirectApp:(t,n)=>{nA("AppId",n),nA("AppName",t);const i=t.replace(/[,]/g,"").replace(/\s+/g,"-").replace(/&/g,"and").replace(/[^a-z0-9-]/gi,"").toLowerCase();e(`/industries/${i}`),window.location.reload()}})}),v&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(vfe,{companyRef:b,closingCompany:y})}),r&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(gfe,{solutionsRef:d,closingSolutions:l})})]})},access:"Public"},{path:`${Ofe}case-studies`,component:()=>{const e=um(),t=Qt(),[n,i]=a.useState(!1),[r,s]=a.useState(!1),l=a.useRef(null),[o,d]=a.useState(!1),[c,u]=a.useState(!1),p=a.useRef(null),[A,h]=a.useState(!1),[f,m]=a.useState(!1),v=a.useRef(null),[g,y]=a.useState([]);a.useEffect((()=>{(async()=>{var t,n,i;try{const a=await e(dL()).unwrap();if(1===(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)){let e=null==(i=null==(n=null==a?void 0:a.data)?void 0:n.data)?void 0:i.filter((e=>"A"===e.ActiveStatus));y(e)}}catch(a){}})()}),[e]);return Ye.jsxs("div",{className:"case-studies-page",children:[Ye.jsx(XAe,{isScrolled:!0,forceTopZero:!0,AppCategory:g,solutionsOpen:n,setSolutionsOpen:i,closingSolutions:r,setClosingSolutions:s,solutionsRef:l,industry:o,setIndustry:d,closingIndustry:c,setClosingIndustry:u,industryRef:p,company:A,setCompany:h,closingCompany:f,setClosingCompany:m,companyRef:v}),Ye.jsx("div",{className:"case-studies-hero",children:Ye.jsxs("div",{className:"case-studies-hero-content",children:[Ye.jsx("h1",{children:"Case Studies"}),Ye.jsx("p",{children:"Success stories from businesses powered by PozoApp"})]})}),Ye.jsx("div",{className:"case-studies-container",children:Ye.jsxs("div",{className:"coming-soon-message",children:[Ye.jsx("h2",{children:"Coming Soon"}),Ye.jsx("p",{children:"We're currently working on bringing you inspiring success stories from our clients."})]})}),n&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(yfe,{solutionsRef:l,closingSolutions:r})}),o&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(xfe,{industryRef:p,closingIndustry:c,AppCategory:g,redirectApp:(e,n)=>{nA("AppId",n),nA("AppName",e);const i=e.replace(/[,]/g,"").replace(/\s+/g,"-").replace(/&/g,"and").replace(/[^a-z0-9-]/gi,"").toLowerCase();t(`/industries/${i}`),window.location.reload()}})}),A&&Ye.jsx(a.Suspense,{fallback:null,children:Ye.jsx(bfe,{companyRef:v,closingCompany:f})}),Ye.jsx(Whe,{})]})},access:"Public"},{path:`${Ofe}blog`,component:()=>{const[e,t]=a.useState(!1),[n,i]=a.useState([]),[r,s]=a.useState(!1),[l,o]=a.useState(!1),[d,c]=a.useState(!1),u=a.useRef(null),p=a.useRef(null),[A,h]=a.useState(!1),[f,m]=a.useState(!0),[v,g]=a.useState([]),[y,b]=a.useState({}),w=um(),j=Qt(),C="/home/";a.useEffect((()=>{const e=setTimeout((()=>{m(!1)}),500);return()=>clearTimeout(e)}),[]),a.useEffect((()=>{S()}),[]),a.useEffect((()=>{(async()=>{var e,t,n,i,a,r,s;try{const l=await w(HP({TypeName:"SEO"})).unwrap();if(1===(null==(e=null==l?void 0:l.data)?void 0:e.statusCode)){const e=null==(i=null==(n=null==(t=null==l?void 0:l.data)?void 0:t.data)?void 0:n.find((e=>"blog"===e.ConfigName)))?void 0:i.ConfigId;if(!e)return;const o=await w(CU({PageId:e})).unwrap();if(1===(null==(a=null==o?void 0:o.data)?void 0:a.statusCode)&&(null==(s=null==(r=null==o?void 0:o.data)?void 0:r.data)?void 0:s.length)>0){const e=o.data.data[0];b({metaTitle:null==e?void 0:e.MetaTitle,metaDescription:null==e?void 0:e.MetaDesc,keywords:null==e?void 0:e.Keywords,imageAltText:null==e?void 0:e.ImgAltText})}}}catch(l){}})()}),[w]);const S=async()=>{var e,t;try{const n=await w(pte()).unwrap();1==(null==n?void 0:n.data.statusCode)?g((null==(t=null==(e=null==n?void 0:n.data)?void 0:e.data)?void 0:t.map((e=>({id:null==e?void 0:e.BlogId,title:null==e?void 0:e.BlogTitle,excerpt:null==e?void 0:e.BlogSubtitle,author:null==e?void 0:e.BlogAuthor,date:(()=>{if(!(null==e?void 0:e.PublishDate))return"";const t=e.PublishDate.split("T")[0],[n,i,a]=t.split("-"),r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][parseInt(i,10)-1],s=`${parseInt(a,10)} ${r} ${n}`;if(!(null==e?void 0:e.PublishTime))return s;const[l,o]=e.PublishTime.split(":");let d=parseInt(l,10);const c=o,u=d>=12?"PM":"AM";d=d%12||12;return`${s} ${`${d.toString().padStart(2,"0")}:${c} ${u}`}`})(),readTime:"5 min read",CreatedDate:(()=>{if(!(null==e?void 0:e.CreatedDate))return"";const t=e.CreatedDate.split("T")[0],[n,i,a]=t.split("-"),r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][parseInt(i)-1];return`${parseInt(a)} ${r} ${n}`})(),imageUrl:null==e?void 0:e.HeaderImage,slug:null==e?void 0:e.Slug}))))||[]):g([])}catch(n){x.error("Failed to fetch blog posts. Please try again later.")}};a.useEffect((()=>{const e=new Cre({duration:1.2,easing:e=>Math.min(1,1.001-Math.pow(2,-10*e)),smoothWheel:!0,smoothTouch:!0});return e.on("scroll",(e=>{t(e.scroll>50)})),requestAnimationFrame((function t(n){e.raf(n),requestAnimationFrame(t)})),()=>e.destroy()}),[]),a.useEffect((()=>(document.body.style.overflow=l||d?"hidden":"unset",()=>{document.body.style.overflow="unset"})),[l,d]);const N=({post:e})=>Ye.jsxs("div",{className:"pozo-blog-card",onClick:()=>{j(`${C}blog/${e.slug}`)},children:[Ye.jsxs("div",{className:"pozo-blog-card-image",children:[Ye.jsx("img",{src:e.imageUrl,alt:e.title}),Ye.jsx("div",{className:"pozo-blog-card-overlay"})]}),Ye.jsxs("div",{className:"pozo-blog-card-content",children:[Ye.jsx("div",{className:"pozo-blog-tags-container",children:"Recent Updates & Blogs Announcements"}),Ye.jsx("p",{className:"pozo-blog-card-excerpt",children:e.excerpt}),Ye.jsx("div",{className:"pozo-blog-card-meta",children:Ye.jsxs("div",{children:[Ye.jsx("span",{className:"pozo-blog-date",children:`Created Date ${e.CreatedDate}`}),Ye.jsx("div",{className:"pozo-blog-date",children:e.Author||"Admin"})]})}),Ye.jsx("div",{className:"pozo-blog-publish-time",children:Ye.jsx("span",{className:"pozo-blog-read-time",children:e.readTime})})]})]});if(f)return Ye.jsx(Che,{});return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(bU,{title:y.metaTitle||"POZO Blog — Retail ERP, POS & Grocery Billing Guides",description:y.metaDescription||"Practical guides on POS billing, weighing-scale integration, GST e-invoices, multi-store ERP & inventory control for Indian retailers.",keywords:y.keywords||"POS billing, weighing scale integration, GST e-invoices, retail ERP, inventory management, grocery billing guides",url:`${C}blog`,image:y.imageAltText||"/og/blog-og.jpg",type:"website",customJsonLd:[{"@context":"https://schema.org","@type":"WebPage","@id":"https://www.pozo.app/home/blog",name:"POZO Blog — Retail ERP, POS & Grocery Billing Guides",isPartOf:{"@id":"https://www.pozo.app/"},description:"Practical guides on POS billing, weighing-scale integration, GST e-invoices, multi-store ERP & inventory control for Indian retailers."},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://www.pozo.app/home/"},{"@type":"ListItem",position:2,name:"Blog",item:"https://www.pozo.app/home/blog"}]}]}),Ye.jsxs("div",{className:"pozo-blog-master-card",children:[Ye.jsx(XAe,{isScrolled:e,forceTopZero:!0,AppCategory:n,closingIndustry:r,setClosingIndustry:s,industry:l,setIndustry:o,companyRef:u,closingCompany:A,setClosingCompany:h,company:d,setCompany:c,industryRef:p}),Ye.jsxs("div",{className:"pozo-blogs-page",children:[Ye.jsx("h1",{className:"pozo-blog-page-title",children:"Recent Updates & Blogs"}),Ye.jsx("p",{className:"pozo-blog-page-subtitle",children:"Stay updated with the latest news, announcements, and blog posts from PozoApp. Discover insights on business management, technology trends, and more."}),Ye.jsx("div",{className:"pozo-blogs-grid",children:v.length>0?v.map((e=>Ye.jsx(N,{post:e},e.id))):Ye.jsx("div",{className:"pozo-blog-empty-state",children:Ye.jsx("p",{children:"No blog posts available at the moment. Please check back later for updates."})})})]}),l&&Ye.jsx(KAe,{closingIndustry:r,AppCategory:n,redirectApp:(e,t)=>{}}),d&&Ye.jsx(Ohe,{companyRef:u,closingCompany:A}),Ye.jsxs("div",{className:"liveFooterMain",style:{marginTop:"5rem"},children:[Ye.jsxs("div",{className:"liveFooterLeft",children:[Ye.jsx("p",{className:"listTitle",children:"Quick Links"}),Ye.jsxs("div",{className:"LiveFooterList",children:[Ye.jsx("p",{children:"About Pozo"}),Ye.jsx("p",{children:"All Products "}),Ye.jsx("p",{children:"Pricing Plans "}),Ye.jsx("p",{children:"Contact Us "}),Ye.jsx("p",{children:"FAQs "})]})]}),Ye.jsxs("div",{className:"liveFooterRight",children:[Ye.jsx("p",{className:"listTitle",children:"Support & Help"}),Ye.jsxs("div",{className:"LiveFooterList",children:[Ye.jsx("p",{children:"info@pozo.app"}),Ye.jsx("p",{children:"73 24 00 00 11"}),Ye.jsx("p",{children:"73 24 00 00 12"}),"     ",Ye.jsxs("span",{children:["Let's get social",Ye.jsx(cg,{}),Ye.jsx(km,{}),Ye.jsx(ug,{}),Ye.jsx(_m,{})]})]})]})]}),Ye.jsxs("div",{className:"liveFooterRights",children:[Ye.jsxs("div",{children:["© 2025 PozoApp ",Ye.jsx("span",{children:"Privacy Policy Cookie Policy"})]}),Ye.jsx("p",{children:"For queries contact us: Manager, No 51 Step Colony, Dharga,Hosur, Krishnagiri, Tamilnadu-635126, India"})]})]})]})},access:"Public"},{path:`${Ofe}blog/:slug`,component:()=>{var e;const{slug:t}=Vt(),n=Qt(),i=um(),[r,s]=a.useState(null),[l,o]=a.useState(!0),[d,c]=a.useState(!1),[u,p]=a.useState(!1),A=a.useRef(null);a.useEffect((()=>{const e=e=>{A.current&&!A.current.contains(e.target)&&p(!1)},t=e=>{"Escape"===e.key&&p(!1)};return u&&(document.addEventListener("mousedown",e),document.addEventListener("keydown",t)),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}}),[u]),a.useEffect((()=>{h()}),[t]),a.useEffect((()=>{const e=new Cre({duration:1,easing:e=>Math.min(1,1.001-Math.pow(2,-10*e)),smoothWheel:!0,smoothTouch:!0});return requestAnimationFrame((function t(n){e.raf(n),requestAnimationFrame(t)})),()=>e.destroy()}),[]);const h=async()=>{var e,n;try{const a=await i(Ate({slug:t})).unwrap();if(1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)){const e=null==(n=a.data.data)?void 0:n[0];s(e)}else x.error("Failed to load blog posts");o(!1)}catch(a){x.error("Failed to load blog post"),o(!1)}};if(l)return Ye.jsx(Che,{});if(!r)return Ye.jsx("div",{className:"BlogDetailMaster",children:Ye.jsx("div",{className:"blog-detail-error",children:"Blog post not found"})});const f=()=>{n(`${Lfe}`)};return Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(bU,{title:(null==r?void 0:r.BlogTitle)||"POZO Blog — Retail ERP, POS & Grocery Billing Guides",description:(null==r?void 0:r.BlogSubtitle)||"Read the latest insights on POS billing, weighing-scale integration, GST e-invoices, and retail ERP solutions for Indian businesses.",image:(null==r?void 0:r.HeaderImage)||"/og/blog-og.jpg",url:`https://www.pozo.devblog/${t}`,type:"article",publishedTime:null==r?void 0:r.CreatedDate,modifiedTime:(null==r?void 0:r.UpdatedDate)||(null==r?void 0:r.CreatedDate),keywords:(null==(e=null==r?void 0:r.Keywords)?void 0:e.join(", "))||"PozoApp, Blog, POS software, retail ERP, GST billing, inventory management"}),d&&Ye.jsx("div",{className:"drawer-overlay",onClick:()=>c(!1)}),Ye.jsx("div",{className:"drawer "+(d?"open":""),children:Ye.jsxs("div",{className:"drawer-content",children:[Ye.jsxs("div",{onClick:f,children:[Ye.jsx(tg,{})," Home"]}),Ye.jsxs("div",{onClick:()=>{n(`${Lfe}blog`)},children:[Ye.jsx(lg,{})," Blog"]})]})}),Ye.jsxs("div",{className:"BlogDetailMaster",children:[Ye.jsx("header",{className:"blog-detail-header",children:Ye.jsx("nav",{className:"navbar",children:Ye.jsxs("div",{className:"navbar-left",children:[Ye.jsx("div",{className:"hamburger-menu",onClick:()=>c(!d),children:Ye.jsx(Efe,{size:20})}),Ye.jsxs("div",{className:"Blognavbar-logo",onClick:f,children:[Ye.jsx("img",{src:Bm,alt:"Logo",className:"logo-img"}),Ye.jsx("div",{className:"blogdetailsNavbarText",children:"| Blog"})]})]})})}),Ye.jsxs("div",{className:"blog-detail-contentMain",children:[Ye.jsxs("article",{className:"blog-detail-content",children:[Ye.jsxs("header",{className:"blog-header",children:[Ye.jsx("h1",{className:"blog-title",children:r.BlogTitle}),Ye.jsx("p",{className:"blog-subtitle",children:r.BlogSubtitle}),Ye.jsxs("div",{className:"blog-meta",children:[Ye.jsxs("div",{className:"meta-item",children:[Ye.jsx(Fg,{}),r.Author||"Admin"]}),r.CreatedDate&&Ye.jsxs("div",{className:"meta-item",children:[Ye.jsx(ig,{})," ",(()=>{if(!(null==r?void 0:r.CreatedDate))return"";const e=r.CreatedDate.split("T")[0],[t,n,i]=e.split("-"),a=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][parseInt(n)-1];return`${parseInt(i)} ${a} ${t}`})()]})]})]}),r.HeaderImage&&Ye.jsx("div",{children:Ye.jsx("img",{className:"blog-poster",src:r.HeaderImage,alt:r.BlogTitle})}),Ye.jsxs("div",{className:"blog-body",children:[r.BlogContent&&r.BlogContent.map(((e,t)=>{var n,i;switch(e.type){case"header":case"oldHeader":const a=`h${e.data.level||2}`;return Ye.jsx(a,{className:`blog-header-block level-${e.data.level}`,dangerouslySetInnerHTML:{__html:e.data.text}},t);case"paragraph":return Ye.jsx("p",{className:"blog-paragraph",dangerouslySetInnerHTML:{__html:e.data.text}},t);case"list":return"checklist"===e.data.style?Ye.jsx("ul",{className:"blog-list checklist",children:e.data.items.map(((e,t)=>{var n;return Ye.jsxs("li",{className:"checklist-item",children:[Ye.jsx("input",{type:"checkbox",checked:null==(n=e.meta)?void 0:n.checked,readOnly:!0}),Ye.jsx("span",{children:e.content})]},t)}))},t):"ordered"===e.data.style?Ye.jsx("ol",{className:"blog-list ordered",children:e.data.items.map(((e,t)=>Ye.jsx("li",{children:e.content},t)))},t):Ye.jsx("ul",{className:"blog-list unordered",children:e.data.items.map(((e,t)=>Ye.jsx("li",{children:e.content},t)))},t);case"image":return Ye.jsxs("div",{className:"blog-image",children:[Ye.jsx("img",{src:null==(n=e.data.file)?void 0:n.url,alt:e.data.caption||"Blog image"}),e.data.caption&&Ye.jsx("p",{className:"caption",children:e.data.caption})]},t);case"separator":return Ye.jsx("hr",{className:`blog-separator ${e.data.style||"line"}`},t);case"video":return Ye.jsxs("div",{className:"blog-video",children:[(null==(i=e.data.file)?void 0:i.url)&&Ye.jsx("video",{src:e.data.file.url,controls:!0,className:"video-player"}),e.data.caption&&Ye.jsx("p",{className:"caption",children:e.data.caption})]},t);case"link":return Ye.jsx("div",{className:"blog-link",children:Ye.jsx("a",{href:e.data.url,target:e.data.target||"_self",children:e.data.text})},t);case"quote":return Ye.jsxs("blockquote",{className:"blog-quote",children:[Ye.jsx("p",{children:e.data.text}),e.data.caption&&Ye.jsx("cite",{children:e.data.caption})]},t);case"code":return Ye.jsx("pre",{className:"blog-code",children:Ye.jsx("code",{children:e.data.code})},t);case"cta":return Ye.jsxs("div",{className:"blog-cta",children:[Ye.jsx("h3",{children:e.data.heading}),Ye.jsx("p",{children:e.data.subheading}),Ye.jsx("a",{href:e.data.buttonUrl,className:`cta-button ${e.data.style}`,children:e.data.buttonText})]},t);case"email":return Ye.jsxs("div",{className:"blog-email",children:[Ye.jsxs("h4",{children:["Subject: ",e.data.subject]}),Ye.jsx("div",{dangerouslySetInnerHTML:{__html:e.data.bodyHtml}})]},t);case"bookmark":return Ye.jsx("div",{className:"blog-bookmark",children:Ye.jsxs("a",{href:e.data.url,target:"_blank",rel:"noopener noreferrer",style:{display:"flex",alignItems:"center",gap:"16px",textDecoration:"none",border:"1px solid #e5e7eb",borderRadius:"8px",padding:"16px"},children:[Ye.jsxs("div",{className:"bookmark-content",style:{flex:1},children:[Ye.jsx("h4",{style:{margin:"0 0 8px 0",color:"#1f2937"},children:e.data.title}),Ye.jsx("p",{style:{margin:"0 0 8px 0",color:"#6b7280",fontSize:"14px"},children:e.data.description}),Ye.jsx("span",{className:"bookmark-url",style:{color:"#3b82f6",fontSize:"12px"},children:e.data.url})]}),e.data.image&&Ye.jsx("img",{src:e.data.image,alt:e.data.title,style:{width:"120px",height:"90px",objectFit:"cover",borderRadius:"6px",flexShrink:0}})]})},t);case"callout":return Ye.jsxs("div",{className:"blog-callout",children:[Ye.jsx("span",{className:"callout-emoji",children:e.data.emoji||"💡"}),Ye.jsx("p",{children:e.data.text})]},t);case"index":const r="numbered"===e.data.style?"ol":"ul";return Ye.jsxs("div",{className:"blog-index",children:[Ye.jsx("h4",{children:"Table of Contents"}),Ye.jsx(r,{children:(e.data.items||[]).map(((e,t)=>Ye.jsx("li",{children:Ye.jsx("a",{href:`#${e.anchor}`,children:e.title})},t)))})]},t);default:return null}})),Ye.jsxs("div",{className:"shareBlog",children:[Ye.jsxs("button",{className:"share-btn",onClick:()=>p(!u),children:[Ye.jsx(Cg,{})," Share"]}),u&&Ye.jsxs("div",{className:"share-options",ref:A,children:[Ye.jsxs("div",{className:"share-header",children:[Ye.jsx("span",{children:"Share to"}),Ye.jsx("button",{onClick:()=>p(!1),children:Ye.jsx(gg,{size:20})})]}),Ye.jsxs("div",{className:"share-buttons",children:[Ye.jsx("button",{onClick:()=>{const e=`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(window.location.href)}`;window.open(e,"_blank")},className:"share-facebook",children:Ye.jsx(km,{})}),Ye.jsx("button",{onClick:()=>{const e=`https://wa.me/?text=${encodeURIComponent(r.BlogTitle+" "+window.location.href)}`;window.open(e,"_blank")},className:"share-whatsapp",children:Ye.jsx(Um,{})}),Ye.jsx("button",{onClick:()=>{const e=`https://twitter.com/intent/tweet?text=${encodeURIComponent(r.BlogTitle)}&url=${encodeURIComponent(window.location.href)}`;window.open(e,"_blank")},className:"share-twitter",children:Ye.jsx(AE,{})}),Ye.jsx("button",{onClick:()=>{const e=`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(window.location.href)}`;window.open(e,"_blank")},className:"share-linkedin",children:Ye.jsx(Em,{})}),Ye.jsx("button",{onClick:()=>{const e=`https://t.me/share/url?url=${encodeURIComponent(window.location.href)}&text=${encodeURIComponent(r.BlogTitle)}`;window.open(e,"_blank")},className:"share-telegram",children:Ye.jsx(Dm,{})}),Ye.jsx("button",{onClick:()=>{window.open("https://www.instagram.com/","_blank"),navigator.clipboard.writeText(window.location.href),x.success("Instagram opened! Link copied to paste in your story or bio.")},className:"share-instagram",children:Ye.jsx(Tm,{})}),Ye.jsxs("button",{onClick:async()=>{try{await navigator.clipboard.writeText(window.location.href),x.success("Link copied to clipboard!")}catch(e){const t=document.createElement("textarea");t.value=window.location.href,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),x.success("Link copied to clipboard!")}},className:"share-copy",children:[Ye.jsx(sv,{})," Copy Link"]})]})]})]})]})]}),Ye.jsx(Dfe,{allowComments:null==r?void 0:r.AllowComments,blogId:null==r?void 0:r.BlogId})]})]}),Ye.jsxs("div",{className:"liveFooterRights",children:[Ye.jsxs("div",{children:["© 2025 PozoApp",Ye.jsx("div",{className:"linktoPrivayCookie",onClick:()=>{n(`${Lfe}privacy-policy`)},children:"Privacy Policy"}),Ye.jsx("div",{className:"linktoPrivayCookie",onClick:()=>{n(`${Lfe}cookie-policy`)},children:"Cookie Policy"})]}),Ye.jsx("p",{children:"For queries contact us: Manager, No 51 Step Colony, Dharga,Hosur, Krishnagiri, Tamilnadu-635126, India"})]})]})},access:"Public"},{path:`${Ofe}PostEditorPage`,component:({initial:e})=>Ye.jsxs(vte,{initial:e,children:[Ye.jsx(Kte,{}),Ye.jsx(Mte,{})]}),access:"Public"},{path:`${Ofe}privacy-policy`,component:()=>{const e=Qt();a.useEffect((()=>{window.scrollTo(0,0)}),[]);return Ye.jsxs("div",{className:"privacy-policy-container",children:[Ye.jsxs("div",{className:"privacy-header",children:[Ye.jsxs("div",{onClick:()=>{e("/home/")},className:"back-link ",children:[Ye.jsx(Zv,{})," Back to Home"]}),Ye.jsxs("div",{className:"header-content",children:[Ye.jsx(Sg,{className:"privacy-icon"}),Ye.jsx("h1",{children:"Privacy Policy"}),Ye.jsx("p",{children:"Last updated: January 2025"})]})]}),Ye.jsxs("div",{className:"privacy-content",children:[Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"1. Introduction"}),Ye.jsx("p",{children:'Welcome to PozoApp ("we," "our," or "us"). This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you use our AI-powered business management platform, including our mobile applications, web services, and related services (collectively, the "Services").'}),Ye.jsx("p",{children:"PozoApp provides comprehensive business management solutions across multiple industries including restaurants, retail, manufacturing, and more. We are committed to protecting your privacy and ensuring transparency about our data practices."})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"2. Information We Collect"}),Ye.jsx("h3",{children:"2.1 Personal Information"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Account Information:"})," Name, email address, phone number, business details"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Profile Data:"})," Business type, industry category, company information"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Authentication Data:"})," Login credentials, OTP verification details"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Payment Information:"})," Billing address, payment method details (processed securely through third-party providers)"]})]}),Ye.jsx("h3",{children:"2.2 Business Data"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Operational Data:"})," Inventory, sales, customer records, employee information"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Transaction Data:"})," Purchase history, payment records, invoices"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Analytics Data:"})," Business performance metrics, usage statistics"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Content Data:"})," Images, videos, documents uploaded to the platform"]})]}),Ye.jsx("h3",{children:"2.3 Technical Information"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Device Information:"})," Device type, operating system, browser information"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Usage Data:"})," App interactions, feature usage, session duration"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Location Data:"})," GPS coordinates for delivery and location-based services (with consent)"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Log Data:"})," IP addresses, access times, error logs"]})]})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"3. How We Use Your Information"}),Ye.jsx("h3",{children:"3.1 Service Provision"}),Ye.jsxs("ul",{children:[Ye.jsx("li",{children:"Provide and maintain our business management platform"}),Ye.jsx("li",{children:"Process transactions and manage payments"}),Ye.jsx("li",{children:"Generate business analytics and reports"}),Ye.jsx("li",{children:"Facilitate communication between businesses and customers"})]}),Ye.jsx("h3",{children:"3.2 AI and Machine Learning"}),Ye.jsxs("ul",{children:[Ye.jsx("li",{children:"Improve our AI algorithms for better business insights"}),Ye.jsx("li",{children:"Provide personalized recommendations and automation"}),Ye.jsx("li",{children:"Enhance predictive analytics for inventory and sales"}),Ye.jsx("li",{children:"Optimize platform performance and user experience"})]}),Ye.jsx("h3",{children:"3.3 Communication"}),Ye.jsxs("ul",{children:[Ye.jsx("li",{children:"Send service notifications and updates"}),Ye.jsx("li",{children:"Provide customer support"}),Ye.jsx("li",{children:"Share important platform announcements"}),Ye.jsx("li",{children:"Send marketing communications (with consent)"})]})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"4. Information Sharing and Disclosure"}),Ye.jsx("h3",{children:"4.1 We Do Not Sell Personal Information"}),Ye.jsx("p",{children:"We do not sell, rent, or trade your personal information to third parties for their marketing purposes."}),Ye.jsx("h3",{children:"4.2 Authorized Sharing"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Service Providers:"})," Payment processors, cloud storage providers, analytics services"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Business Partners:"})," Integration partners for enhanced functionality"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Legal Requirements:"})," When required by law or to protect our rights"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Business Transfers:"})," In case of merger, acquisition, or asset sale"]})]}),Ye.jsx("h3",{children:"4.3 Data Processing Partners"}),Ye.jsxs("ul",{children:[Ye.jsx("li",{children:"Payment gateways (UPI, credit/debit cards, net banking)"}),Ye.jsx("li",{children:"Cloud infrastructure providers"}),Ye.jsx("li",{children:"SMS and email service providers"}),Ye.jsx("li",{children:"Analytics and monitoring services"})]})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"5. Data Security"}),Ye.jsxs("div",{className:"security-features",children:[Ye.jsxs("div",{className:"security-item",children:[Ye.jsx(og,{}),Ye.jsxs("div",{children:[Ye.jsx("h4",{children:"Encryption"}),Ye.jsx("p",{children:"All data is encrypted in transit and at rest using industry-standard protocols"})]})]}),Ye.jsxs("div",{className:"security-item",children:[Ye.jsx(Sg,{}),Ye.jsxs("div",{children:[Ye.jsx("h4",{children:"Access Controls"}),Ye.jsx("p",{children:"Strict access controls and authentication mechanisms protect your data"})]})]}),Ye.jsxs("div",{className:"security-item",children:[Ye.jsx(Fg,{}),Ye.jsxs("div",{children:[Ye.jsx("h4",{children:"Regular Audits"}),Ye.jsx("p",{children:"Regular security audits and vulnerability assessments ensure platform security"})]})]})]}),Ye.jsx("p",{children:"We implement appropriate technical and organizational measures to protect your information against unauthorized access, alteration, disclosure, or destruction. However, no method of transmission over the internet is 100% secure."})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"6. Your Rights and Choices"}),Ye.jsx("h3",{children:"6.1 Access and Control"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Access:"})," Request access to your personal information"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Correction:"})," Update or correct inaccurate information"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Deletion:"})," Request deletion of your personal information"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Portability:"})," Export your data in a structured format"]})]}),Ye.jsx("h3",{children:"6.2 Communication Preferences"}),Ye.jsxs("ul",{children:[Ye.jsx("li",{children:"Opt-out of marketing communications"}),Ye.jsx("li",{children:"Manage notification settings"}),Ye.jsx("li",{children:"Control SMS and email preferences"})]}),Ye.jsx("h3",{children:"6.3 Account Management"}),Ye.jsxs("ul",{children:[Ye.jsx("li",{children:"Deactivate or delete your account"}),Ye.jsx("li",{children:"Manage connected applications and integrations"}),Ye.jsx("li",{children:"Control data sharing preferences"})]})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"7. Data Retention"}),Ye.jsx("p",{children:"We retain your information for as long as necessary to provide our services and comply with legal obligations. Specific retention periods include:"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Account Data:"})," Retained while your account is active"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Transaction Records:"})," Retained for 7 years for tax and legal compliance"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Analytics Data:"})," Aggregated data may be retained indefinitely"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Support Records:"})," Retained for 3 years after resolution"]})]})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"8. International Data Transfers"}),Ye.jsx("p",{children:"Your information may be transferred to and processed in countries other than your country of residence. We ensure appropriate safeguards are in place to protect your information in accordance with applicable data protection laws."})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"9. Children's Privacy"}),Ye.jsx("p",{children:"Our services are not intended for individuals under the age of 18. We do not knowingly collect personal information from children under 18. If we become aware that we have collected such information, we will take steps to delete it promptly."})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"10. Updates to This Policy"}),Ye.jsx("p",{children:'We may update this Privacy Policy from time to time. We will notify you of any material changes by posting the new Privacy Policy on this page and updating the "Last updated" date. Your continued use of our services after such modifications constitutes acceptance of the updated Privacy Policy.'})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"11. Contact Information"}),Ye.jsxs("div",{className:"contact-info",children:[Ye.jsxs("div",{className:"contact-item",children:[Ye.jsx("h4",{children:"General Inquiries"}),Ye.jsxs("p",{children:["Email: ",Ye.jsx("a",{href:"mailto:info@pozo.app",children:"info@pozo.app"})]}),Ye.jsxs("p",{children:["Phone: ",Ye.jsx("a",{href:"tel:+917324000011",children:"+91 73240 00011"})]})]}),Ye.jsxs("div",{className:"contact-item",children:[Ye.jsx("h4",{children:"Privacy Officer"}),Ye.jsxs("p",{children:["Email: ",Ye.jsx("a",{href:"mailto:privacy@pozo.app",children:"privacy@pozo.app"})]})]}),Ye.jsxs("div",{className:"contact-item",children:[Ye.jsx("h4",{children:"Postal Address"}),Ye.jsxs("p",{children:["PozoMind Technologies",Ye.jsx("br",{}),"No 51 Step Colony, Dharga",Ye.jsx("br",{}),"Hosur, Krishnagiri",Ye.jsx("br",{}),"Tamil Nadu - 635126, India"]})]})]})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"12. Compliance and Certifications"}),Ye.jsx("p",{children:"PozoApp is committed to compliance with applicable data protection regulations including:"}),Ye.jsxs("ul",{children:[Ye.jsx("li",{children:"Information Technology Act, 2000 (India)"}),Ye.jsx("li",{children:"Personal Data Protection Bill (India)"}),Ye.jsx("li",{children:"GDPR (for European users)"}),Ye.jsx("li",{children:"Industry-specific compliance requirements"})]})]}),Ye.jsx("div",{className:"privacy-footer",children:Ye.jsx("p",{children:"By using PozoApp, you acknowledge that you have read and understood this Privacy Policy and agree to the collection, use, and disclosure of your information as described herein."})})]})]})},access:"Public"},{path:`${Ofe}cookie-policy`,component:()=>{const e=Qt();a.useEffect((()=>{window.scrollTo(0,0)}),[]);return Ye.jsxs("div",{className:"privacy-policy-container",children:[Ye.jsxs("div",{className:"privacy-header",children:[Ye.jsxs("div",{onClick:()=>{e("/home/")},className:"back-link ",children:[Ye.jsx(Zv,{})," Back to Home"]}),Ye.jsxs("div",{className:"header-content",children:[Ye.jsx(jg,{className:"privacy-icon"}),Ye.jsx("h1",{children:"Cookie Policy"}),Ye.jsx("p",{children:"Last updated: January 2025"})]})]}),Ye.jsxs("div",{className:"privacy-content",children:[Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"1. Introduction"}),Ye.jsx("p",{children:'This Cookie Policy explains how PozoApp ("we," "our," or "us") uses cookies and similar technologies when you visit our AI-powered business management platform, including our mobile applications, web services, and related services (collectively, the "Services").'}),Ye.jsx("p",{children:"This policy explains what cookies are, how we use them, the types of cookies we use, and how you can control your cookie preferences. By using our Services, you consent to the use of cookies as described in this policy."})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"2. What Are Cookies"}),Ye.jsx("p",{children:"Cookies are small text files that are stored on your device (computer, tablet, or mobile) when you visit a website. They are widely used to make websites work more efficiently and provide information to website owners."}),Ye.jsx("p",{children:"Cookies help us understand how you use our platform, remember your preferences, and provide you with a personalized experience. They also help us improve our services and ensure the security of your account."})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"3. Types of Cookies We Use"}),Ye.jsx("h3",{children:"3.1 Essential Cookies"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Authentication Cookies:"})," Remember your login status and session information"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Security Cookies:"})," Protect against fraud and ensure secure transactions"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Load Balancing:"})," Distribute network traffic for optimal performance"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"CSRF Protection:"})," Prevent cross-site request forgery attacks"]})]}),Ye.jsx("h3",{children:"3.2 Functional Cookies"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Preference Cookies:"})," Remember your settings and preferences"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Language Settings:"})," Store your preferred language and region"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Theme Preferences:"})," Remember your UI theme and layout choices"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Dashboard Configuration:"})," Save your customized dashboard settings"]})]}),Ye.jsx("h3",{children:"3.3 Analytics Cookies"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Usage Analytics:"})," Track how you interact with our platform"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Performance Monitoring:"})," Monitor application performance and errors"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Feature Usage:"})," Understand which features are most popular"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"User Journey:"})," Analyze user paths and behavior patterns"]})]}),Ye.jsx("h3",{children:"3.4 Marketing Cookies"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Advertising:"})," Deliver relevant advertisements based on your interests"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Retargeting:"})," Show you relevant ads on other websites"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Campaign Tracking:"})," Measure the effectiveness of marketing campaigns"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Social Media:"})," Enable social media sharing and integration"]})]})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"4. How We Use Cookies"}),Ye.jsx("h3",{children:"4.1 Platform Functionality"}),Ye.jsxs("ul",{children:[Ye.jsx("li",{children:"Maintain your login session across different pages"}),Ye.jsx("li",{children:"Remember your business settings and configurations"}),Ye.jsx("li",{children:"Provide personalized dashboard and reports"}),Ye.jsx("li",{children:"Enable seamless navigation between different modules"})]}),Ye.jsx("h3",{children:"4.2 Security and Fraud Prevention"}),Ye.jsxs("ul",{children:[Ye.jsx("li",{children:"Detect and prevent unauthorized access attempts"}),Ye.jsx("li",{children:"Monitor for suspicious activities and fraud"}),Ye.jsx("li",{children:"Implement multi-factor authentication"}),Ye.jsx("li",{children:"Protect against automated attacks and bots"})]}),Ye.jsx("h3",{children:"4.3 Performance Optimization"}),Ye.jsxs("ul",{children:[Ye.jsx("li",{children:"Optimize loading times and application performance"}),Ye.jsx("li",{children:"Cache frequently accessed data and resources"}),Ye.jsx("li",{children:"Balance server load for better user experience"}),Ye.jsx("li",{children:"Monitor and improve system reliability"})]}),Ye.jsx("h3",{children:"4.4 Analytics and Insights"}),Ye.jsxs("ul",{children:[Ye.jsx("li",{children:"Understand user behavior and preferences"}),Ye.jsx("li",{children:"Improve our AI algorithms and recommendations"}),Ye.jsx("li",{children:"Generate business insights and analytics"}),Ye.jsx("li",{children:"Enhance user experience based on usage patterns"})]})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"5. Third-Party Cookies"}),Ye.jsx("p",{children:"We may use third-party services that set cookies on your device. These services help us provide better functionality and analyze usage patterns."}),Ye.jsx("h3",{children:"5.1 Analytics Services"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Google Analytics:"})," Website and application usage analytics"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Mixpanel:"})," User behavior tracking and analysis"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Hotjar:"})," User session recordings and heatmaps"]})]}),Ye.jsx("h3",{children:"5.2 Payment Processors"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Razorpay:"})," Payment processing and fraud detection"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"PayU:"})," Secure payment gateway services"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"CCAvenue:"})," Multi-payment option processing"]})]}),Ye.jsx("h3",{children:"5.3 Communication Services"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"SMS Gateways:"})," OTP and notification delivery"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Email Services:"})," Transactional and marketing emails"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"WhatsApp Business:"})," Customer communication"]})]})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"6. Cookie Management"}),Ye.jsxs("div",{className:"security-features",children:[Ye.jsxs("div",{className:"security-item",children:[Ye.jsx(jg,{}),Ye.jsxs("div",{children:[Ye.jsx("h4",{children:"Browser Settings"}),Ye.jsx("p",{children:"Control cookies through your browser's privacy settings"})]})]}),Ye.jsxs("div",{className:"security-item",children:[Ye.jsx(Sg,{}),Ye.jsxs("div",{children:[Ye.jsx("h4",{children:"Opt-Out Options"}),Ye.jsx("p",{children:"Choose which types of cookies you want to accept"})]})]}),Ye.jsxs("div",{className:"security-item",children:[Ye.jsx(Fg,{}),Ye.jsxs("div",{children:[Ye.jsx("h4",{children:"Preference Center"}),Ye.jsx("p",{children:"Manage your cookie preferences in your account settings"})]})]})]}),Ye.jsx("h3",{children:"6.1 Browser Controls"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Chrome:"})," Settings Privacy and Security"," > ","Cookies and other site data"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Firefox:"})," Options Privacy & Security "," > "," Cookies and Site Data"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Safari:"})," Preferences "," > ","Privacy "," > "," Manage Website Data"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Edge:"})," Settings "," > "," Cookies and site permissions"]})]}),Ye.jsx("h3",{children:"6.2 Mobile Devices"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"iOS:"})," Settings"," > "," Safari "," > "," Privacy & Security"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Android:"})," Chrome app "," > "," Settings "," > ","Site settings "," > "," Cookies"]})]})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"7. Cookie Retention"}),Ye.jsx("p",{children:"Different types of cookies have different retention periods:"}),Ye.jsxs("ul",{children:[Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Session Cookies:"})," Deleted when you close your browser"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Authentication Cookies:"})," Expire after 30 days of inactivity"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Preference Cookies:"})," Retained for up to 1 year"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Analytics Cookies:"})," Retained for up to 2 years"]}),Ye.jsxs("li",{children:[Ye.jsx("strong",{children:"Marketing Cookies:"})," Retained for up to 13 months"]})]})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"8. Impact of Disabling Cookies"}),Ye.jsx("p",{children:"While you can disable cookies, doing so may affect your experience with our platform:"}),Ye.jsxs("ul",{children:[Ye.jsx("li",{children:"You may need to log in repeatedly"}),Ye.jsx("li",{children:"Your preferences and settings may not be saved"}),Ye.jsx("li",{children:"Some features may not work properly"}),Ye.jsx("li",{children:"You may see less relevant content and advertisements"}),Ye.jsx("li",{children:"Performance may be slower due to lack of caching"})]})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"9. Updates to This Policy"}),Ye.jsx("p",{children:'We may update this Cookie Policy from time to time to reflect changes in our practices or for legal, operational, or regulatory reasons. We will notify you of any material changes by posting the updated policy on our website and updating the "Last updated" date.'})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"10. Contact Information"}),Ye.jsxs("div",{className:"contact-info",children:[Ye.jsxs("div",{className:"contact-item",children:[Ye.jsx("h4",{children:"General Inquiries"}),Ye.jsxs("p",{children:["Email: ",Ye.jsx("a",{href:"mailto:info@pozo.app",children:"info@pozo.app"})]}),Ye.jsxs("p",{children:["Phone: ",Ye.jsx("a",{href:"tel:+917324000011",children:"+91 73240 00011"})]})]}),Ye.jsxs("div",{className:"contact-item",children:[Ye.jsx("h4",{children:"Privacy Officer"}),Ye.jsxs("p",{children:["Email: ",Ye.jsx("a",{href:"mailto:privacy@pozo.app",children:"privacy@pozo.app"})]})]}),Ye.jsxs("div",{className:"contact-item",children:[Ye.jsx("h4",{children:"Postal Address"}),Ye.jsxs("p",{children:["PozoMind Technologies",Ye.jsx("br",{}),"No 51 Step Colony, Dharga",Ye.jsx("br",{}),"Hosur, Krishnagiri",Ye.jsx("br",{}),"Tamil Nadu - 635126, India"]})]})]})]}),Ye.jsxs("section",{className:"privacy-section",children:[Ye.jsx("h2",{children:"11. Legal Compliance"}),Ye.jsx("p",{children:"This Cookie Policy complies with applicable laws and regulations including:"}),Ye.jsxs("ul",{children:[Ye.jsx("li",{children:"Information Technology Act, 2000 (India)"}),Ye.jsx("li",{children:"Personal Data Protection Bill (India)"}),Ye.jsx("li",{children:"GDPR Cookie Consent requirements (EU)"}),Ye.jsx("li",{children:"CCPA Cookie disclosure requirements (California)"})]})]}),Ye.jsx("div",{className:"privacy-footer",children:Ye.jsx("p",{children:"By continuing to use PozoApp, you acknowledge that you have read and understood this Cookie Policy and consent to our use of cookies as described herein."})})]})]})},access:"Public"},{path:`${Ofe}about-us`,component:()=>{const e=Qt(),[t,n]=a.useState(null),[i,r]=a.useState(!0);a.useEffect((()=>{window.scrollTo(0,0);const e=new Cre({duration:1.2,easing:e=>Math.min(1,1.001-Math.pow(2,-10*e)),smoothWheel:!0,smoothTouch:!0,wheelMultiplier:1,touchMultiplier:2});return n(e),requestAnimationFrame((function t(n){e.raf(n),requestAnimationFrame(t)})),()=>{e.destroy()}}),[]);return a.useEffect((()=>{setTimeout((()=>r(!1)),300)}),[]),i?Ye.jsx(Che,{}):Ye.jsxs("div",{className:"pozo-about-wrapper",children:[Ye.jsxs("div",{className:"pozo-about-banner",children:[Ye.jsxs("div",{onClick:()=>{e(`${Ufe}`)},className:"nav-back-btn",children:[Ye.jsx(Zv,{})," Back to Home"]}),Ye.jsxs("div",{className:"banner-info",children:[Ye.jsx(Ng,{className:"pozo-brand-icon"}),Ye.jsx("h1",{children:"About PozoApp"}),Ye.jsx("p",{})]})]}),Ye.jsxs("div",{className:"pozo-about-main",children:[Ye.jsx("section",{className:"intro-block",children:Ye.jsxs("div",{className:"intro-details",children:[Ye.jsx("h2",{children:"Transforming Business Management Through Innovation"}),Ye.jsx("p",{children:"At PozoApp, we believe that every business, regardless of size, deserves access to cutting-edge technology that simplifies operations and drives growth. Our AI-powered platform serves thousands of businesses across multiple industries, from restaurants and retail to manufacturing and healthcare."})]})}),Ye.jsxs("section",{className:"metrics-grid",children:[Ye.jsxs("div",{className:"metric-card",children:[Ye.jsx("div",{className:"metric-value",children:"10,000+"}),Ye.jsx("div",{className:"metric-title",children:"Active Businesses"})]}),Ye.jsxs("div",{className:"metric-card",children:[Ye.jsx("div",{className:"metric-value",children:"25+"}),Ye.jsx("div",{className:"metric-title",children:"Industries Served"})]}),Ye.jsxs("div",{className:"metric-card",children:[Ye.jsx("div",{className:"metric-value",children:"99.9%"}),Ye.jsx("div",{className:"metric-title",children:"Uptime Guarantee"})]}),Ye.jsxs("div",{className:"metric-card",children:[Ye.jsx("div",{className:"metric-value",children:"24/7"}),Ye.jsx("div",{className:"metric-title",children:"Customer Support"})]})]}),Ye.jsx("section",{className:"purpose-block",children:Ye.jsxs("div",{className:"purpose-layout",children:[Ye.jsxs("div",{className:"purpose-info",children:[Ye.jsx("h2",{children:"Our Mission"}),Ye.jsx("p",{children:"To democratize business technology by providing intelligent, scalable, and affordable solutions that enable businesses to thrive in the digital age. We're committed to breaking down technological barriers and making enterprise-grade tools accessible to businesses of all sizes."}),Ye.jsxs("div",{className:"purpose-features",children:[Ye.jsxs("div",{className:"feature-point",children:[Ye.jsx(Ag,{}),Ye.jsx("span",{children:"Innovation-First Approach"})]}),Ye.jsxs("div",{className:"feature-point",children:[Ye.jsx(ag,{}),Ye.jsx("span",{children:"Global Accessibility"})]}),Ye.jsxs("div",{className:"feature-point",children:[Ye.jsx(ng,{}),Ye.jsx("span",{children:"Excellence in Service"})]})]})]}),Ye.jsx("div",{className:"purpose-graphic",children:Ye.jsx("div",{className:"graphic-circle",children:Ye.jsx(vg,{})})})]})}),Ye.jsxs("section",{className:"principles-block",children:[Ye.jsx("h2",{children:"Our Core Values"}),Ye.jsxs("div",{className:"principles-layout",children:[Ye.jsxs("div",{className:"principle-item",children:[Ye.jsx("div",{className:"principle-badge",children:Ye.jsx(vg,{})}),Ye.jsx("h3",{children:"Innovation"}),Ye.jsx("p",{children:"We continuously push boundaries to deliver cutting-edge solutions that anticipate and meet evolving business needs."})]}),Ye.jsxs("div",{className:"principle-item",children:[Ye.jsx("div",{className:"principle-badge",children:Ye.jsx(dg,{})}),Ye.jsx("h3",{children:"Customer-Centric"}),Ye.jsx("p",{children:"Every decision we make is guided by our commitment to delivering exceptional value and experience to our customers."})]}),Ye.jsxs("div",{className:"principle-item",children:[Ye.jsx("div",{className:"principle-badge",children:Ye.jsx(Ng,{})}),Ye.jsx("h3",{children:"Collaboration"}),Ye.jsx("p",{children:"We believe in the power of teamwork, both within our organization and in partnership with our clients."})]}),Ye.jsxs("div",{className:"principle-item",children:[Ye.jsx("div",{className:"principle-badge",children:Ye.jsx(ng,{})}),Ye.jsx("h3",{children:"Excellence"}),Ye.jsx("p",{children:"We strive for excellence in everything we do, from product development to customer service and beyond."})]})]})]}),Ye.jsx("section",{className:"journey-block",children:Ye.jsxs("div",{className:"journey-details",children:[Ye.jsx("h2",{children:"Our Story"}),Ye.jsxs("div",{className:"journey-timeline",children:[Ye.jsxs("div",{className:"timeline-entry",children:[Ye.jsx("div",{className:"timeline-date",children:"2020"}),Ye.jsxs("div",{className:"timeline-info",children:[Ye.jsx("h4",{children:"The Beginning"}),Ye.jsx("p",{children:"Founded with a vision to simplify business operations through technology. Started with a small team of passionate developers and business experts."})]})]}),Ye.jsxs("div",{className:"timeline-entry",children:[Ye.jsx("div",{className:"timeline-date",children:"2021"}),Ye.jsxs("div",{className:"timeline-info",children:[Ye.jsx("h4",{children:"First Milestone"}),Ye.jsx("p",{children:"Launched our first AI-powered business management platform, serving over 100 businesses in the retail sector."})]})]}),Ye.jsxs("div",{className:"timeline-entry",children:[Ye.jsx("div",{className:"timeline-date",children:"2022"}),Ye.jsxs("div",{className:"timeline-info",children:[Ye.jsx("h4",{children:"Expansion"}),Ye.jsx("p",{children:"Expanded to multiple industries including restaurants, manufacturing, and healthcare. Reached 1,000+ active users."})]})]}),Ye.jsxs("div",{className:"timeline-entry",children:[Ye.jsx("div",{className:"timeline-date",children:"2023"}),Ye.jsxs("div",{className:"timeline-info",children:[Ye.jsx("h4",{children:"Innovation"}),Ye.jsx("p",{children:"Introduced advanced AI features, mobile applications, and integrated payment solutions. Crossed 5,000+ businesses milestone."})]})]}),Ye.jsxs("div",{className:"timeline-entry",children:[Ye.jsx("div",{className:"timeline-date",children:"2024"}),Ye.jsxs("div",{className:"timeline-info",children:[Ye.jsx("h4",{children:"Global Reach"}),Ye.jsx("p",{children:"Achieved global presence with 10,000+ active businesses and launched our comprehensive ecosystem of business tools."})]})]})]})]})}),Ye.jsx("section",{className:"team-section",children:Ye.jsxs("div",{className:"team-content",children:[Ye.jsx("h2",{children:"Leadership Team"}),Ye.jsx("p",{children:"Our diverse team of experts brings together decades of experience in technology, business management, and customer success to drive PozoApp's mission forward."}),Ye.jsxs("div",{className:"team-grid",children:[Ye.jsxs("div",{className:"team-member",children:[Ye.jsx("div",{className:"member-avatar",children:Ye.jsx(Ng,{})}),Ye.jsx("h4",{children:"Technology Leadership"}),Ye.jsx("p",{children:"Driving innovation and technical excellence"})]}),Ye.jsxs("div",{className:"team-member",children:[Ye.jsx("div",{className:"member-avatar",children:Ye.jsx(Ag,{})}),Ye.jsx("h4",{children:"Product Strategy"}),Ye.jsx("p",{children:"Shaping the future of business management"})]}),Ye.jsxs("div",{className:"team-member",children:[Ye.jsx("div",{className:"member-avatar",children:Ye.jsx(dg,{})}),Ye.jsx("h4",{children:"Customer Success"}),Ye.jsx("p",{children:"Ensuring exceptional customer experiences"})]})]})]})}),Ye.jsx("section",{className:"cta-section",children:Ye.jsxs("div",{className:"cta-content",children:[Ye.jsx("h2",{children:"Ready to Transform Your Business?"}),Ye.jsx("p",{children:"Join thousands of businesses that trust PozoApp to streamline their operations and drive growth through intelligent automation."}),Ye.jsx("button",{className:"cta-button",onClick:()=>{e(`${Ufe}contact-us`)},children:"Get Started Today"})]})}),Ye.jsx("section",{className:"contact-section",children:Ye.jsxs("div",{className:"contact-info",children:[Ye.jsxs("div",{className:"contact-item",children:[Ye.jsx("h4",{children:"Get in Touch"}),Ye.jsxs("p",{children:["Email: ",Ye.jsx("a",{href:"mailto:info@pozo.app",children:"info@pozo.app"})]}),Ye.jsxs("p",{children:["Phone: ",Ye.jsx("a",{href:"tel:+917324000011",children:"+91 73240 00011"})]})]}),Ye.jsxs("div",{className:"contact-item",children:[Ye.jsx("h4",{children:"Visit Us"}),Ye.jsxs("p",{children:["PozoMind Technologies",Ye.jsx("br",{}),"No 51 Step Colony, Dharga",Ye.jsx("br",{}),"Hosur, Krishnagiri",Ye.jsx("br",{}),"Tamil Nadu - 635126, India"]})]})]})})]})]})},access:"Public"},{path:`${Ofe}landing-page`,component:Ly,access:"Admin",empAccess:"Super Admin User",children:[{path:"home",component:()=>{const e=um(),[t,n]=a.useState(null),[i,r]=a.useState(null);iA("MobileNo"),iA("userName"),iA("UserType");const[s,l]=a.useState(!1);a.useEffect((()=>{!async function(){var t,n,i,a,r,s;const o=iA("UserId"),d=await e(PD({userId:o})).unwrap();(null==(t=null==d?void 0:d.data)?void 0:t.statusCode)&&(null==(n=null==d?void 0:d.data)?void 0:n.data[0])&&l("N"==(null==(a=null==(i=null==d?void 0:d.data)?void 0:i.data[0])?void 0:a.Password)&&"N"==(null==(s=null==(r=null==d?void 0:d.data)?void 0:r.data[0])?void 0:s.Pin))}()}),[]);const o=a.useCallback((()=>{r(null),n(null)}),[]),d=Tf(pD);return Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{className:"homePageDivP",children:[Ye.jsx(Qy,{messageType:t,messageData:i,onComplete:o}),s&&Ye.jsx(SP,{open:s,title:"Set Pin",footer:!1,children:Ye.jsx(FD,{pinUpdate:async e=>{e||(n("success"),r("Your PIN has been activated successfully")),l(e)}}),handleCancel:()=>{l(!1)}}),Ye.jsxs("div",{className:"homePageDiv",children:[Ye.jsx("div",{className:"AppsCardParentDiv",children:Ye.jsx(lD,{})}),d.length>0&&Ye.jsx("div",{className:"homePageRightSideCards",children:Ye.jsx("div",{className:"homePageRightSideCard",children:Ye.jsx(mD,{})})})]})]})})},access:"Admin",empAccess:"Super Admin User",employeeAccess:!0},{path:"apps",component:()=>{const e=um(),[t,n]=a.useState(""),i=a.useDeferredValue(t),[r,s]=a.useState(!1),[l,o]=a.useState(null),[d,c]=a.useState(null);a.useEffect((()=>{!async function(){var t,n,i,a,r;const l=iA("UserId"),o=await e(PD({userId:l})).unwrap();(null==(t=null==o?void 0:o.data)?void 0:t.statusCode)&&s("N"==(null==(i=null==(n=null==o?void 0:o.data)?void 0:n.data[0])?void 0:i.Password)&&"N"==(null==(r=null==(a=null==o?void 0:o.data)?void 0:a.data[0])?void 0:r.Pin))}()}),[]);a.useCallback((e=>{var t;n(null==(t=null==e?void 0:e.target)?void 0:t.value)}),[]);const u=a.useCallback((()=>{c(null),o(null)}),[]);return Ye.jsxs("div",{className:"homeApplication",children:[Ye.jsx(Qy,{messageType:l,messageData:d,onComplete:u}),r&&Ye.jsx(SP,{open:r,title:"Set Pin",footer:!1,children:Ye.jsx(FD,{pinUpdate:async e=>{e||(o("success"),c("Your PIN has been activated successfully")),s(e)}}),handleCancel:()=>{s(!1)}}),Ye.jsx("div",{className:"applicationSearch"}),Ye.jsx(JO,{searchText:i})]})},access:"Admin",empAccess:"Super Admin User"},{path:"user-account",component:lM,access:"Admin",empAccess:"Super Admin User"},{path:"user-account-edit",component:()=>Ye.jsx(lM,{status:"edit"}),access:"Admin",empAccess:"Super Admin User",employeeAccess:!0}]},{path:`${Ofe}setting`,component:Ly,access:"Admin",children:[{path:"tickets-details",component:()=>{var e,t,n,i,r,s;const l=Mt(),o=um(),d=a.useRef(null),c=a.useRef(null),[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState([]),[v,g]=a.useState([]),[y,x]=a.useState(null),[b,w]=a.useState(""),[j,C]=a.useState([]),[S,N]=a.useState(null),[F,B]=a.useState([]),[T,E]=a.useState(null),[L,U]=a.useState(1),[_,O]=a.useState(!1),[M,R]=a.useState(""),[Q,H]=a.useState([]),[V,z]=a.useState(null),[q,W]=a.useState(null),[Y,K]=a.useState("P"),[G,$]=a.useState([]),[X,J]=a.useState(!1),[Z,ee]=a.useState(1),[te,ne]=a.useState([]),ie=iA("UserId")?iA("UserId"):null,[ae,re]=a.useState([]);a.useEffect((()=>{var e,t,n;o(Gh({items:Are})),se(),le(),(null==(e=null==l?void 0:l.state)?void 0:e.Notiffy)&&(p(null==(t=null==l?void 0:l.state)?void 0:t.Notiffy.messageType),h(null==(n=null==l?void 0:l.state)?void 0:n.Notiffy.messageData))}),[]);const se=async()=>{var e,t,n,i,a,r,s;const l={status:"P",pageNumber:Z},d=await o(sre(l)).unwrap();1===(null==(e=null==d?void 0:d.data)?void 0:e.statusCode)?m(null==(t=null==d?void 0:d.data)?void 0:t.data):m();const c=await o(Fb()).unwrap();1===(null==(n=null==c?void 0:c.data)?void 0:n.statusCode)?g(null==(i=null==c?void 0:c.data)?void 0:i.data):g();const u=await o(dre()).unwrap();if(1===(null==(a=null==u?void 0:u.data)?void 0:a.statusCode)){const e=null==(s=null==(r=null==u?void 0:u.data)?void 0:r.data)?void 0:s.filter((e=>"Pending"!==(null==e?void 0:e.ConfigName)));H(e)}else H()},le=async()=>{var e,t,n;let i=await o(pre()).unwrap(),a=0,r=0,s=0,l=0,d=a+r+s+l;if(1==(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)){const{PendingCount:e,OpenCount:o,OthersCount:c,CompletedCount:u}=null==(n=null==(t=null==i?void 0:i.data)?void 0:t.data)?void 0:n[0];a=e||0,r=o||0,s=c||0,l=u||0,d=a+r+s+l}$([{value:"P",label:`Pending (${a})`,className:"active-btn"},{value:"O",label:`Open (${r})`,className:"expired-btn"},{value:"OT",label:`Others (${s})`,className:"all-btn"},{value:"C",label:`Completed (${l})`,className:"free-btn"},{value:"A",label:`All (${d})`,className:"inactive-btn2"}])},oe=e=>null==e?void 0:e.split("-").pop(),de=[{title:"SI.NO",key:"sno",align:"center",width:"80px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(L-1)+n+1})},{title:"Ticket No",dataIndex:"TicketId",key:"TicketId",align:"center",ellipsis:!0,render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:oe(null==t?void 0:t.TicketId)})},{title:"Details",dataIndex:"Details",key:"Details",align:"center",width:"200px",ellipsis:!0,filteredValue:[b],onFilter:(e,t)=>String(oe(null==t?void 0:t.TicketId)).toLowerCase().includes(e.toLowerCase())||String(t.CateName).toLowerCase().includes(e.toLowerCase())||String(t.UserTypeName).toLowerCase().includes(e.toLowerCase())},{title:"Date/time",dataIndex:"CreatedDate",key:"CreatedDate",align:"center",width:"200px",ellipsis:!0,render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:eA(null==t?void 0:t.CreatedDate)})},{title:"Category",dataIndex:"CateName",key:"CateName",align:"center",ellipsis:!0},{title:"User Type",dataIndex:"UserTypeName",key:"UserTypeName",align:"center",ellipsis:!0},{title:"Status",dataIndex:"StatusName",key:"StatusName",align:"center",ellipsis:!0},{title:"App",dataIndex:"AppName",key:"AppName",align:"center",ellipsis:!0},{title:"Company",dataIndex:"CompanyName",key:"CompanyName",align:"center",ellipsis:!0},{title:"Branch",dataIndex:"BranchName",key:"BranchName",align:"center",ellipsis:!0},{title:"Action",key:"Edit",dataIndex:"Edit",align:"center",render:(e,t,n)=>"Completed"!==(null==t?void 0:t.StatusName)&&Ye.jsx(P,{size:"middle",children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>ce(t)},n)})}],ce=async e=>{var t,n,i,a,r,s;const l={branchId:e.BranchId,latitude:e.Latitude,longitude:e.Longitude},d=await o(LT(l)).unwrap();if(1===(null==(t=null==d?void 0:d.data)?void 0:t.statusCode)){const t=(null==(n=null==Q?void 0:Q.find((t=>t.ConfigName===e.StatusName)))?void 0:n.ConfigId)||null,r="Open"===e.StatusName?e.AssignedBy:void 0,s="Open"===e.StatusName?e.Description:"";O(!_),ne(e),re(null==(i=null==d?void 0:d.data)?void 0:i.data),W(r),z(t),R(s),null==(a=null==c?void 0:c.current)||a.setFieldsValue({Status:t,AssignedBy:r,Description:s})}else re([]),W(null),z(null),R(""),p("error"),h(null==(r=null==d?void 0:d.data)?void 0:r.response),null==(s=null==c?void 0:c.current)||s.resetFields()},ue=a.useCallback((()=>{h(null),p(null)}),[]),pe=async(e,t,n,i=Y,a)=>{var r,s;let l={AppId:e,CompId:t,BranchId:n,pageNumber:null!=a&&null!=a?a:Z};"A"!==i&&(l.status=i);const d=await o(sre(l)).unwrap();1===(null==(r=null==d?void 0:d.data)?void 0:r.statusCode)?m(null==(s=null==d?void 0:d.data)?void 0:s.data):m()},Ae=async e=>{var t;x(e),N(),E(),B([]),C([]),null==(t=null==d?void 0:d.current)||t.setFieldsValue({Application:e}),await pe(e,null,null),(async e=>{var t,n,i;const a=await o(ore({AppId:e})).unwrap();if(1===(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)){let e=new Map;null==(i=null==(n=null==a?void 0:a.data)?void 0:n.data)||i.forEach((t=>{e.set(t.CompId,t)})),C(Array.from(e.values()))}else C([])})(e)},he=async e=>{var t,n;const i={AppId:y,CompId:e},a=await o(lre(i)).unwrap();1===(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)?B(null==(n=null==a?void 0:a.data)?void 0:n.data):B()},fe=e=>{pe(y,S,T,Y,Z+e),ee(Z+e)};return Ye.jsxs("div",{className:"userPageTable",children:[Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:u,messageData:A,onComplete:ue}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Tickets"})}),Ye.jsxs("div",{className:"searchAddDiv1",children:[Ye.jsxs("div",{className:"formSearchticketdetails",children:[Ye.jsx("div",{children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{w(e)},onSearchChange:e=>{var t;w(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end",height:"max-content"},children:Ye.jsx("div",{className:"purchaseInfoBtn",children:G.map((e=>Ye.jsx("button",{onClick:()=>{return t=e.value,K(t),le(),pe(y,S,T,t),void H(null==Q?void 0:Q.filter((e=>"Pending"!==(null==e?void 0:e.ConfigName))));var t},className:`status-button ${Y===e.value?e.className:"inactive-btn"}`,children:e.label},e.value)))})})]}),Ye.jsxs(I,{ref:d,className:"formDivAntTicketDetails",onFinish:pe,children:[Ye.jsx(I.Item,{name:"Application",children:Ye.jsx(_y,{options:null==v?void 0:v.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"Application Name",label:"Application Name",className:"field-DropDown",onChangeFunction:e=>Ae(e),valueData:y})}),Ye.jsx(I.Item,{name:"Company",children:Ye.jsx(_y,{options:null==j?void 0:j.map((e=>({value:e.CompId,label:e.CompName}))),placeholder:"Company Name",label:"Company Name",className:"field-DropDown",onChangeFunction:e=>(async e=>{var t;N(e),E(),null==(t=null==d?void 0:d.current)||t.setFieldsValue({Company:e}),he(e),pe(y,e,null)})(e),valueData:S})}),Ye.jsx(I.Item,{name:"Branch",children:Ye.jsx(_y,{options:null==F?void 0:F.map((e=>({value:e.BrId,label:e.BrName}))),placeholder:"Branch Name",label:"Branch Name",className:"field-DropDown",onChangeFunction:e=>(e=>{var t;null==(t=null==d?void 0:d.current)||t.setFieldsValue({Branch:e}),E(e),pe(y,S,e)})(e),valueData:T})})]})]})]}),Ye.jsxs("div",{className:"reportTableticketdetails",children:[Ye.jsx(Vb,{columns:de,data:f,dataSource:f,pagination:e=>{U(e)},onChange:(e,t,n)=>{setFilteredInfo(t),setSortedInfo(n)}})," "]}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end",padding:"20px"},children:Ye.jsxs("div",{style:{display:"flex",gap:"2rem"},children:[Z>1&&Ye.jsx("div",{className:"nextButton",style:{backgroundColor:"#ff0000db"},onClick:()=>fe(-1),children:"Previous"}),Ye.jsx("div",{className:"nextButton",onClick:()=>fe(1),children:"Next"})]})})]}),Ye.jsx(SP,{open:_,title:"Ticket Details",footer:!1,width:900,handleCancel:()=>{var e;O(!1),z(null),W(null),R(""),null==(e=null==c?void 0:c.current)||e.resetFields()},children:Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{children:[!X&&Ye.jsxs("div",{className:"ticket-container",children:[Ye.jsxs("div",{className:"ticket-header",style:{display:"flex",gap:"2rem"},children:[Ye.jsxs("div",{className:"ticket-user",children:[Ye.jsxs("h2",{className:"heading",children:[Ye.jsx(Hv,{}),"  ",(null==te?void 0:te.UserName)||(null==te?void 0:te.MobileNos)]}),Ye.jsxs("p",{className:"text",children:[Ye.jsx("strong",{children:"Mobile:"})," ",null==te?void 0:te.MobileNo]}),Ye.jsxs("p",{className:"text",children:[Ye.jsx("strong",{children:"Application:"})," ",null==te?void 0:te.AppName]}),Ye.jsxs("p",{className:"text",children:[Ye.jsx("strong",{children:"Company:"})," ",null==te?void 0:te.CompanyName]}),Ye.jsxs("p",{className:"text",children:[Ye.jsx("strong",{children:"Branch:"})," ",null==te?void 0:te.BranchName]})]}),Ye.jsxs("div",{className:"ticket-meta",children:[Ye.jsxs("p",{className:"text",children:[Ye.jsx("strong",{children:"Ticket No:"})," ",oe(null==te?void 0:te.TicketId)]}),Ye.jsxs("p",{className:"text",children:[Ye.jsx("strong",{children:"Date:"})," ",Zp(null==te?void 0:te.CreatedDate)]})]})]}),Ye.jsxs("div",{className:"ticket-body",children:[Ye.jsxs("p",{className:"text",children:[Ye.jsx("strong",{children:"Type:"})," ",null==te?void 0:te.CateName]}),Ye.jsxs("div",{className:"text",children:[Ye.jsx("strong",{children:"Ticket Details:"}),Ye.jsx("textarea",{className:"textarea",value:null==te?void 0:te.Details,disabled:!0})]})]})]}),(null==te?void 0:te.Attachment)&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("div",{className:"imageopen",onClick:()=>J(!X),children:X?Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("p",{style:{color:"#ff0000"},children:"Close The Image"}),Ye.jsx(Mm,{color:"#ff0000"})]}):Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("p",{children:"Open The Image"}),Ye.jsx(Om,{})]})}),X&&Ye.jsx("img",{className:"attchementImage",src:null==te?void 0:te.Attachment,alt:""})]}),Ye.jsx("hr",{style:{margin:"1rem 0rem 1rem 0rem"}}),Ye.jsx("div",{style:{margin:" 0.5rem 0rem",fontWeight:"500"},children:"Status and Employee Alocation : "}),Ye.jsxs(I,{ref:c,style:{display:"flex",flexWrap:"wrap",gap:"0.5rem"},onFinish:async()=>{var e,t,n,i,a;let r,s={UserId:ie,TicketId:null==te?void 0:te.TicketId,CreatedBy:ie,...null==(e=null==c?void 0:c.current)?void 0:e.getFieldsValue()};"P"==Y?(s.CreatedBy=ie,r=await o(cre(s)).unwrap()):(s.UpdatedBy=ie,r=await o(ure(s)).unwrap()),1==(null==(t=null==r?void 0:r.data)?void 0:t.statusCode)?(p("success"),h(null==(n=null==r?void 0:r.data)?void 0:n.response),O(!1),le(),pe(y,S,T),z(null),R(""),null==(i=null==c?void 0:c.current)||i.resetFields()):(p("error"),h(null==(a=null==r?void 0:r.data)?void 0:a.response))},children:[Ye.jsx(I.Item,{name:"Description",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(My,{label:"Description",className:"textarea",fieldState:{value:M},isOnChange:!!(null==(t=null==(e=null==c?void 0:c.current)?void 0:e.getFieldsValue())?void 0:t.Description),onChange:e=>{var t;return R(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(I.Item,{name:"Status",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(_y,{options:null==Q?void 0:Q.map((e=>({value:e.ConfigId,label:e.ConfigName,disabled:"O"===Y&&"Open"===e.ConfigName}))),placeholder:"Ticket Status",label:Ye.jsx("label",{className:"required",children:"Ticket Status"}),className:"field-DropDown",isOnchanges:!!(null==(i=null==(n=null==c?void 0:c.current)?void 0:n.getFieldsValue())?void 0:i.Status),onChangeFunction:e=>(e=>{var t;z(e),null==(t=null==c?void 0:c.current)||t.setFieldsValue({Status:e})})(e),valueData:V||null})}),Ye.jsx(I.Item,{name:"AssignedBy",rules:[{required:!0},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(_y,{options:null==ae?void 0:ae.map((e=>({value:e.UserId,label:e.UserName}))),placeholder:"Employee Name",label:Ye.jsx("label",{className:"required",children:"Employee Name"}),className:"field-DropDown",isOnchanges:!!(null==(s=null==(r=null==c?void 0:c.current)?void 0:r.getFieldsValue())?void 0:s.AssignedBy),onChangeFunction:e=>(e=>{var t;W(e),null==(t=null==c?void 0:c.current)||t.setFieldsValue({AssignedBy:e})})(e),valueData:q||null})}),Ye.jsx("div",{style:{width:"100%",display:"flex",justifyContent:"flex-end"},children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",style:{width:"100%",align:"flex-end"},icon:Ye.jsx(k,{})})})]})]})})})]})},empAccess:"Tickets"},{path:"themes",component:()=>{a.useRef(null);const e=um(),t=iA("UserId"),n=Tf(E_),i=Tf(U_),r=Tf(Gg),s=Tf(__),l=Tf(O_),o=Tf(V_),d=Tf(eO),c=Tf(k_),u=Tf(T_),p=Tf(M_),A=Tf(z_),h=Tf(J_),f=Tf($_),m=Tf(G_);a.useState(!1),a.useState(0);const[v,g]=a.useState(null),[y,x]=a.useState(8),[b,w]=a.useState(1),[C,S]=a.useState(!1),[N,F]=a.useState("#37943C"),[B,P]=a.useState("#b2eb9b"),[T,E]=a.useState(null),[D,L]=a.useState(null),[U,_]=a.useState(!1);a.useState(null),a.useState("#1292EE"),a.useState([]);const[O,R]=a.useState([]),[Q,H]=a.useState([]),[V,z]=a.useState([]),[q,W]=a.useState(!1),[Y,K]=a.useState(!1);Tf(R_),Tf(Q_);const G=iA("UserType"),[$]=I.useForm(),X=[{name:"Themes",link:`${R6}setting/themes`},{name:"Templates",link:`${R6}setting/all-templates`}];a.useEffect((()=>{const e=(e=>{const t=new Set;return null==e?void 0:e.filter((e=>!t.has(e.SectionId)&&(t.add(e.SectionId),!0)))})(O);H(e)}),[O]),a.useEffect((()=>{J()}),[]);const J=async()=>{var t,n;let i=await e(o_()).unwrap();(null==(t=null==i?void 0:i.data)?void 0:t.statusCode)&&R(null==(n=null==i?void 0:i.data)?void 0:n.data)},Z=e=>{const t=null==V?void 0:V.findIndex((t=>t.SectionId===e[0].SectionId));if(-1!==t){const n=[...V];n[t]=e[0],z(n)}else z([...V,...e])},ee=e=>{W(!0),K();const t=null==V?void 0:V.findIndex((t=>(null==t?void 0:t.SectionId)===e[0].SectionId));if(-1!==t){const n=[...V];n[t]=e[0],z(n)}else z([...V,...e])};a.useEffect((()=>{e(Gh({items:X})),e(n_()).unwrap,e(i_()).unwrap,e(a_()).unwrap,e(I_())}),[]);const te=a.useCallback((()=>{L(null),E(null)}),[]),ne=e=>{const t=(e=>parseInt(e.slice(1,3),16)/255*.2126+parseInt(e.slice(3,5),16)/255*.7152+parseInt(e.slice(5,7),16)/255*.0722)(e);return t<=.5};return Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{style:{width:"100%"},children:[Ye.jsxs("div",{className:"tempView",children:[Ye.jsx("div",{className:"Nav-templates",children:Ye.jsxs("div",{className:"tempUp",children:[Ye.jsx(Qy,{messageType:T,messageData:D,onComplete:te}),Ye.jsxs("div",{children:[Ye.jsx("h1",{children:" Applications"}),Ye.jsx("br",{}),Ye.jsx(_y,{options:null==i?void 0:i.map((e=>({value:e.AppId,label:e.AppName}))),label:"Application",onChangeFunction:async t=>{e(x_({AppId:t})),await g(t)},className:"field-DropDown",isOnchanges:!!v,valueData:v})]}),Ye.jsxs("div",{children:[Ye.jsx("h1",{children:" Colors "}),Ye.jsx("br",{}),Ye.jsxs("div",{className:"fontsdiv",children:[Ye.jsx("div",{className:"colorDropdown",children:Ye.jsx(_y,{options:null==s?void 0:s.map((e=>({value:e.ColorId,label:Ye.jsxs("div",{style:{display:"flex",gap:"0.5rem"},children:[Ye.jsx("div",{style:{width:"27px",height:"27px",borderRadius:"25.774192810058594px",backgroundColor:e.DarkColor},children:Ye.jsx("span",{style:{width:"27px",height:"27px",borderRadius:"50px",marginLeft:"15px",backgroundColor:e.LightColor},children:"   "})}),Ye.jsx("div",{children:e.ThemeName})]})}))),labelChange:!0,label:"Color",className:"field-DropDown",onChangeFunction:async t=>{await x(t);let n=null==s?void 0:s.filter((e=>(null==e?void 0:e.ColorId)===t));e(p_({color:{darkColor:n[0].DarkColor,lightColor:n[0].LightColor}}))},isOnchanges:!!y,valueData:y})}),Ye.jsx("div",{children:Ye.jsx(me,{className:"plusOutlinedIcon",onClick:()=>{S(!0)}})})]})]}),Ye.jsxs(j,{open:C,title:"Colors",closeIcon:Ye.jsx(M,{onClick:()=>{S(!1)}}),width:350,children:[Ye.jsxs("div",{children:[Ye.jsx("div",{children:Ye.jsx("p",{children:"Please select at least one dark and one light color."})}),Ye.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"0.5rem"},children:[Ye.jsxs("div",{style:{display:"flex"},children:[Ye.jsx("p",{children:"Dark Color : "}),Ye.jsx("div",{style:{width:"35px",height:"23px",backgroundColor:N}})]}),Ye.jsxs("div",{style:{display:"flex"},children:[Ye.jsx("p",{children:"Light Color : "}),Ye.jsx("div",{style:{width:"35px",height:"23px",backgroundColor:B}})]})]})]}),Ye.jsx("br",{}),Ye.jsx(F2,{onChange:(e,t)=>{ne(e.hex)?F(e.hex):P(e.hex)}}),Ye.jsx("div",{children:Ye.jsx("button",{className:"colorBtn",onClick:async()=>{var t,n,i,a;if(N&&B){let s;try{let t={DarkColor:N,LightColor:B,CreatedBy:iA("UserId")};s=await e(s_(t)).unwrap()}catch(r){"Request failed with status code 422"==r.message&&(s={data:{statusCode:0,response:"Color Not Added",data:[]}})}1==(null==(t=null==s?void 0:s.data)?void 0:t.statusCode)?(S(!1),L(null==(n=null==s?void 0:s.data)?void 0:n.response),"Color Already Exists"==(null==(i=null==s?void 0:s.data)?void 0:i.response)?E("warning"):E("success"),e(i_()).unwrap):(L(null==(a=null==s?void 0:s.data)?void 0:a.response),E("error"))}else L("Please select at least one dark and one light color."),E("warning")},children:"SAVE"})})]}),Ye.jsxs("div",{children:[Ye.jsx("h1",{children:" Fonts "}),Ye.jsx("br",{}),Ye.jsxs("div",{className:"fontsdiv",children:[Ye.jsx("div",{children:Ye.jsx(_y,{options:null==l?void 0:l.map((e=>({value:e.FontId,label:e.Font}))),label:"Font",onChangeFunction:async t=>{await w(t);let n=null==l?void 0:l.filter((e=>(null==e?void 0:e.FontId)===t));e(A_({text:{head:n[0].Font.split(",")[0],para:n[0].Font.split(",")[1]}}))},className:"field-DropDown",isOnchanges:!!b,valueData:b})}),Ye.jsxs("div",{children:[Ye.jsx(me,{className:"plusOutlinedIcon",onClick:()=>{_(!0)}}),Ye.jsx(SP,{open:U,title:"Fonts",footer:!0,children:Ye.jsxs(I,{form:$,children:[Ye.jsxs("div",{className:"fontInputs",children:[Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"HeadFont",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Head Font"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"HeadFont",label:"Head",className:"Input",fieldState:!0,fieldApi:!0,autoComplete:"off"})})}),Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"ParaFont",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Paragraph Font"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"ParaFont",label:"Paragraph",className:"Input",fieldState:!0,fieldApi:!0,autoComplete:"off"})})})]}),Ye.jsx("p",{style:{color:"#FF4D4F"},children:"* Google Fonts Only"})]}),handleCancel:()=>{_(!1),$.resetFields()},handleSubmit:async()=>{(async t=>{fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyDP1HqNkLI53iIAH-SB9_mt_24QdkUZ_24").then((e=>e.json())).then((async n=>{var i,a,r,s,l;const o=null==(i=null==n?void 0:n.items)?void 0:i.map((e=>e.family));if(o.includes(t.HeadFont)&&o.includes(t.ParaFont)){let n;try{let i={HeadFont:t.HeadFont,ParaFont:t.ParaFont,CreatedBy:iA("UserId")};n=await e(l_(i)).unwrap()}catch(d){"Request failed with status code 422"==d.message&&(n={data:{statusCode:0,response:"Font Not Added",data:[]}})}1==(null==(a=null==n?void 0:n.data)?void 0:a.statusCode)?(_(!1),L(null==(r=null==n?void 0:n.data)?void 0:r.response),"Font Already Exists"==(null==(s=null==n?void 0:n.data)?void 0:s.response)?E("warning"):E("success"),e(a_()).unwrap,$.resetFields()):(L(null==(l=null==n?void 0:n.data)?void 0:l.response),E("error"))}else L("Please give both head and para font as google fonts"),E("warning")})).catch((e=>{}))})(await $.validateFields())},buttonText:"SAVE"})]})]})]})]})}),Ye.jsx("h1",{children:"NavBars"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsxs("div",{className:"Nav-templates",children:[Ye.jsx("div",{className:"setscalesize ",children:Ye.jsxs("label",{className:`themeselection ${(null==V?void 0:V.filter((e=>"Navbar1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"radio",onClick:()=>ee(null==O?void 0:O.filter((e=>"Navbar1"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Navbar1"===e.ComponentName)).length)>0&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})})}),Ye.jsx(O2,{})]})}),Ye.jsx("div",{children:Ye.jsxs("label",{className:`themeselection ${(null==V?void 0:V.filter((e=>"Navbar2"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"radio1",onClick:()=>ee(null==O?void 0:O.filter((e=>"Navbar2"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Navbar2"===e.ComponentName)).length)>0&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})})}),Ye.jsx(Q2,{})]})}),Ye.jsx("div",{children:Ye.jsxs("label",{className:`themeselection ${(null==V?void 0:V.filter((e=>"Navbar3"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"radio1",onClick:()=>ee(null==O?void 0:O.filter((e=>"Navbar3"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Navbar3"===e.ComponentName)).length)>0&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})})}),Ye.jsx(C6,{})]})})]})}),Ye.jsx("h1",{children:" Overviews"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsxs("div",{className:"Nav-templates",children:[Ye.jsx("div",{className:"setscalesize ",children:Ye.jsxs("label",{className:`themeselection ${(null==V?void 0:V.filter((e=>"Overview1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"radio",onClick:()=>ee(null==O?void 0:O.filter((e=>"Overview1"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Overview1"===e.ComponentName)).length)>0&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})})}),Ye.jsx(W2,{})]})}),Ye.jsx("div",{className:"setscalesize ",children:Ye.jsxs("label",{className:`themeselection ${(null==V?void 0:V.filter((e=>"Overview2"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"radio1",onClick:()=>ee(null==O?void 0:O.filter((e=>"Overview2"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Overview2"===e.ComponentName)).length)>0&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})})}),Ye.jsx(G2,{})]})}),Ye.jsx("div",{className:"setscalesize ",children:Ye.jsxs("label",{className:`themeselection ${(null==V?void 0:V.filter((e=>"Overview3"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"radio1",onClick:()=>ee(null==O?void 0:O.filter((e=>"Overview3"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Overview3"===e.ComponentName)).length)>0&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})})}),Ye.jsx(s5,{})]})})]})}),Ye.jsx("h1",{children:"ShowCase"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsx("div",{className:"Nav-templates",children:Ye.jsx("div",{className:"setscalesize ",children:Ye.jsxs("label",{className:`themeselection ${(null==V?void 0:V.filter((e=>"Showcase1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"radio",onClick:()=>ee(null==O?void 0:O.filter((e=>"Showcase1"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Showcase1"===e.ComponentName)).length)>0&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})})}),Ye.jsx(k6,{})]})})})}),Ye.jsx("h1",{children:"Appview"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsx("div",{className:"Nav-templates",children:Ye.jsx("div",{className:"setscalesize ",children:Ye.jsxs("label",{className:`themeselection ${(null==V?void 0:V.filter((e=>"Appview1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"radio",onClick:()=>ee(null==O?void 0:O.filter((e=>"Appview1"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Appview1"===e.ComponentName)).length)>0&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})})}),Ye.jsx(T6,{})]})})})}),Ye.jsx("h1",{children:"Testimonial"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsx("div",{className:"Nav-templates",children:Ye.jsx("div",{className:"setscalesize ",children:Ye.jsxs("label",{className:`themeselection ${(null==V?void 0:V.filter((e=>"Testimonials1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"radio",onClick:()=>ee(null==O?void 0:O.filter((e=>"Testimonials1"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Testimonials1"===e.ComponentName)).length)>0&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})})}),Ye.jsx(L6,{})]})})})}),Ye.jsx("h1",{children:" Features"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsxs("div",{className:"Nav-templates",children:[Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:"themeselection",children:[Ye.jsx("input",{type:"radio",name:"radio3",onClick:()=>Z(null==O?void 0:O.filter((e=>"Features1"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Features1"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(p5,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:"themeselection",children:[Ye.jsx("input",{type:"radio",name:"radio3",onClick:()=>Z(null==O?void 0:O.filter((e=>"Features2"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Features2"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(f5,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:"themeselection",children:[Ye.jsx("input",{type:"radio",name:"radio3",onClick:()=>Z(null==O?void 0:O.filter((e=>"Features3"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Features3"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(x6,{})]})})]})}),Ye.jsx("h1",{children:" Pricing"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsxs("div",{className:"Nav-templates",children:[Ye.jsx("div",{className:"setscalesize ",children:Ye.jsxs("label",{className:"themeselection",children:[Ye.jsx("input",{type:"radio",name:"radio4",onClick:()=>Z(null==O?void 0:O.filter((e=>"Pricing1"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Pricing1"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(J3,{})]})}),Ye.jsx("div",{className:"setscalesize ",children:Ye.jsxs("label",{className:"themeselection",children:[Ye.jsx("input",{type:"radio",name:"radio4",onClick:()=>Z(null==O?void 0:O.filter((e=>"Pricing2"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Pricing2"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(r6,{})]})}),Ye.jsx("div",{className:"setscalesize ",children:Ye.jsxs("label",{className:"themeselection",children:[Ye.jsx("input",{type:"radio",name:"radio4",onClick:()=>Z(null==O?void 0:O.filter((e=>"Pricing3"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Pricing3"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(d6,{})]})})]})}),Ye.jsx("h1",{children:" Faq"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsxs("div",{className:"Nav-templates",children:[Ye.jsx("div",{className:"setscalesize ",children:Ye.jsxs("label",{className:"themeselection",children:[Ye.jsx("input",{type:"radio",name:"radio5",onClick:()=>Z(null==O?void 0:O.filter((e=>"Faq1"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Faq1"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(c6,{})]})}),Ye.jsx("div",{className:"setscalesize ",children:Ye.jsxs("label",{className:"themeselection",children:[Ye.jsx("input",{type:"radio",name:"radio5",onClick:()=>Z(null==O?void 0:O.filter((e=>"Faq2"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Faq2"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(u6,{})]})}),Ye.jsx("div",{className:"setscalesize ",children:Ye.jsxs("label",{className:"themeselection",children:[Ye.jsx("input",{type:"radio",name:"radio5",onClick:()=>Z(null==O?void 0:O.filter((e=>"Faq3"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Faq3"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(I6,{})]})})]})}),Ye.jsx("h1",{children:"CTA"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsx("div",{className:"Nav-templates",children:Ye.jsx("div",{className:"setscalesize ",children:Ye.jsxs("label",{className:`themeselection ${(null==V?void 0:V.filter((e=>"CTA1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"radio",onClick:()=>ee(null==O?void 0:O.filter((e=>"CTA1"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"CTA1"===e.ComponentName)).length)>0&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})})}),Ye.jsx(M6,{})]})})})}),Ye.jsx("h1",{children:" Footer"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsxs("div",{className:"Nav-templates",children:[Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:"themeselection",children:[Ye.jsx("input",{type:"radio",name:"radio6",onClick:()=>Z(null==O?void 0:O.filter((e=>"Footer1"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Footer1"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(p6,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:"themeselection",children:[Ye.jsx("input",{type:"radio",name:"radio6",onClick:()=>Z(null==O?void 0:O.filter((e=>"Footer2"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Footer2"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(A6,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:"themeselection",children:[Ye.jsx("input",{type:"radio",name:"radio6",onClick:()=>Z(null==O?void 0:O.filter((e=>"Footer3"===e.ComponentName)))}),(null==V?void 0:V.filter((e=>"Footer3"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(m6,{})]})})]})})]}),Ye.jsx("div",{children:Ye.jsx("div",{className:"selectionCard",children:Ye.jsxs("div",{children:[Ye.jsx("h2",{style:{padding:"0.5rem 0rem"},children:"Selected Items "}),Ye.jsx("ul",{style:{display:"inline",flexDirection:"column"},children:null==Q?void 0:Q.map((e=>Ye.jsxs("div",{style:{display:"flex",justifyContent:"space-between",fontSize:"14px"},children:[Ye.jsxs("li",{style:{color:"#4B4B4B"},children:[e.SectionName," "]}),(null==V?void 0:V.filter((t=>t.SectionName===e.SectionName)).length)>0&&Ye.jsx("li",{children:Ye.jsx(ve,{style:{color:"#52C41A"}})})]})))})]})})}),void 0,Ye.jsx("div",{className:"FloatSection",children:Ye.jsx("div",{children:Ye.jsx(Ry,{buttonText:"SUBMIT & SAVE",handleSubmit:()=>{var i;return 0===(null==r?void 0:r.length)||"Y"===(null==(i=null==r?void 0:r.find((e=>"Templates"===(null==e?void 0:e.ConfigName))))?void 0:i.AddAccess)||"Super Admin"===G?(async()=>{var i,a,r,s,l;let g={};g.AppId=v,g.ColorId=y,g.FontId=b,g.BannerImageUrl=null==(i=null==p?void 0:p.find((e=>"Overview1BannerImage"===e.FieldName||"Overview2BannerImage"===e.FieldName)))?void 0:i.FieldValue,g.CreatedBy=t;let x=[];for(let e=0;e<V.length;e++)switch(V[e].SectionName){case"Navbar":(null==o?void 0:o.length)>0?x.push({ComponentId:V[e].ComponentId,ComponentDetails:null==o?void 0:o.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))}):(L("Please fill Navbar Template Data"),E("warning"));break;case"Overview":(null==p?void 0:p.length)>0?x.push({ComponentId:V[e].ComponentId,ComponentDetails:null==p?void 0:p.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))}):(L("Please fill Overview Template Data"),E("warning"));break;case"Faq":(null==A?void 0:A.length)>0?x.push({ComponentId:V[e].ComponentId,ComponentDetails:null==A?void 0:A.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))}):(L("Please fill Faq Template Data"),E("warning"));break;case"Features":(null==m?void 0:m.length)>0?x.push({ComponentId:V[e].ComponentId,ComponentDetails:null==m?void 0:m.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))}):(L("Please fill Feature Template Data"),E("warning"));break;case"Pricing":(null==h?void 0:h.length)>0?x.push({ComponentId:V[e].ComponentId,ComponentDetails:null==h?void 0:h.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))}):(L("Please fill Pricing Template Data"),E("warning"));break;case"Footer":(null==f?void 0:f.length)>0?x.push({ComponentId:V[e].ComponentId,ComponentDetails:null==f?void 0:f.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))}):(L("Please fill Footer Template Data"),E("warning"));break;case"Showcase":(null==c?void 0:c.length)>0&&x.push({ComponentId:V[e].ComponentId,ComponentDetails:null==c?void 0:c.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))});break;case"Appview":(null==u?void 0:u.length)>0&&x.push({ComponentId:V[e].ComponentId,ComponentDetails:null==u?void 0:u.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))});break;case"Testimonials":(null==o?void 0:o.length)>0&&x.push({ComponentId:V[e].ComponentId,ComponentDetails:null==n?void 0:n.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))});break;case"CTA":(null==d?void 0:d.length)>0&&x.push({ComponentId:V[e].ComponentId,ComponentDetails:null==d?void 0:d.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))})}g.TemplateDetails=x;let w=await e(d_(g)).unwrap();1==(null==(a=null==w?void 0:w.data)?void 0:a.statusCode)?("Application Template Already Exists"===(null==(r=null==w?void 0:w.data)?void 0:r.response)?E("warning"):(e(F_([])),e(B_([])),e(P_([])),e(b_([])),e(changePricingData([])),e(changeCtaDetails([])),E("success")),L(null==(s=null==w?void 0:w.data)?void 0:s.response),R([]),z([])):(E("error"),L(null==(l=null==w?void 0:w.data)?void 0:l.response))})():""},icon:Ye.jsx(k,{}),disabled:!((null==o?void 0:o.length)>0&&(null==f?void 0:f.length)>0&&null!==v)})})})]})})},empAccess:"Templates"},{path:"all-templates",component:()=>{var e,t,n,i,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,S,N,I,F,B,P,k,T,E,D,L,U,_,O,M,R,Q,H,V,z,q,W,Y,K,G,$,X,J,Z,ee,te,ne,ie,ae,re,se,le,oe,de,ce,ue,pe,Ae,he,fe,me,ve,ye,xe,be,we,je,Ce,Se,Ne,Ie,Fe,Be,Pe;const ke=um(),Te=Qt(),Ee=Tf(Z_),De=Tf(U_),[Le,Ue]=a.useState(null);a.useEffect((()=>{var e;ke(P_(null==(e=null==Ee?void 0:Ee.Testimonials)?void 0:e[1]))}),[Ee]);const _e=[{name:"Themes",link:`${u8}setting/themes`},{name:"Templates",link:`${u8}setting/all-templates`}];a.useEffect((()=>{ke(Gh({items:_e})),ke(n_()).unwrap,ke(N_())}),[]);return Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{className:"allTemplateMain",children:[Ye.jsxs("div",{className:"allTemplateSubdiv",children:[Ye.jsxs("div",{children:[Ye.jsx("h1",{children:" Applications"}),Ye.jsx("br",{}),Ye.jsx(_y,{options:null==De?void 0:De.map((e=>({value:e.AppId,label:e.AppName}))),label:"Application",onChangeFunction:async e=>{var t;ke(x_({AppId:e}));let n=De.filter((t=>(null==t?void 0:t.AppId)===e));ke(r_(null==(t=n[0])?void 0:t.AppName)).unwrap(),await Ue(e)},className:"field-DropDown",isOnchanges:!!Le,valueData:Le})]}),Ye.jsxs("div",{children:[Ye.jsx(C,{})," New"]}),Ye.jsxs("div",{children:[Ye.jsx(ge,{onClick:()=>{var e;(null==(e=Object.keys(Ee))?void 0:e.length)>0&&Te(`${u8}setting/all-templates/update`,{state:{editstate:Ee}})}})," Edit"]})]}),Ye.jsx("div",{className:"allTemplate",style:{width:"80%"},children:(null==(e=Object.keys(Ee))?void 0:e.length)>0?Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(pL,{}),"Navbar2"===(null==(t=null==Ee?void 0:Ee.Navbar)?void 0:t[0])&&Ye.jsxs("div",{children:[Ye.jsxs("div",{id:"Navbar",children:["Navbar1"==(null==(n=Ee.Navbar)?void 0:n[0])&&Ye.jsx(U2,{data:Ee.Navbar[1]}),"Navbar2"==(null==(i=Ee.Navbar)?void 0:i[0])&&Ye.jsx(R2,{data:Ee.Navbar[1]}),"Navbar3"==(null==(r=Ee.Navbar)?void 0:r[0])&&Ye.jsx(j6,{data:Ee.Navbar[1]})]}),Ye.jsxs("div",{id:"Overview",children:["Overview1"==(null==(s=Ee.Overview)?void 0:s[0])&&Ye.jsx(q2,{data:Ee.Overview[1],Preview:!0}),"Overview2"==(null==(l=Ee.Overview)?void 0:l[0])&&Ye.jsx(K2,{data:Ee.Overview[1]}),"Overview3"==(null==(o=Ee.Overview)?void 0:o[0])&&Ye.jsx(r5,{data:Ee.Overview[1]})]}),Ye.jsx("div",{id:"ShowCase",children:"Showcase1"==(null==(d=Ee.Showcase)?void 0:d[0])&&Ye.jsx(B6,{data:null==(u=null==(c=Ee.Showcase[1])?void 0:c[0])?void 0:u.FieldValue})}),Ye.jsx("div",{id:"Appview",children:"Appview1"==(null==(p=Ee.Appview)?void 0:p[0])&&Ye.jsx(B6,{data:null==(h=null==(A=Ee.Appview[1])?void 0:A[0])?void 0:h.FieldValue})}),Ye.jsx("div",{id:"Testimonials",children:"Testimonials1"==(null==(f=Ee.Testimonials)?void 0:f[0])&&Ye.jsx(E6,{isDefault:!1})}),Ye.jsxs("div",{id:"Features",children:["Features1"==(null==(m=Ee.Features)?void 0:m[0])&&Ye.jsx(d5,{data:Ee.Features[1]}),"Features2"==(null==(v=Ee.Features)?void 0:v[0])&&Ye.jsx(A5,{data:Ee.Features[1]}),"Features3"==(null==(g=Ee.Features)?void 0:g[0])&&Ye.jsx(v6,{data:Ee.Features[1]})]}),Ye.jsxs("div",{id:"Pricing",children:["Pricing1"==(null==(y=Ee.Pricing)?void 0:y[0])&&Ye.jsx($3,{data:Ee.Pricing[1]}),"Pricing2"==(null==(x=Ee.Pricing)?void 0:x[0])&&Ye.jsx(i6,{data:Ee.Pricing[1]}),"Pricing3"==(null==(b=Ee.Pricing)?void 0:b[0])&&Ye.jsx(l6,{data:Ee.Pricing[1]})]}),Ye.jsxs("div",{id:"Faq",children:["Faq1"==(null==(w=Ee.Faq)?void 0:w[0])&&Ye.jsx(XM,{data:Ee.Faq[1]}),"Faq2"==(null==(j=Ee.Faq)?void 0:j[0])&&Ye.jsx(eR,{data:Ee.Faq[1]}),"Faq3"==(null==(S=Ee.Faq)?void 0:S[0])&&Ye.jsx(S6,{data:Ee.Faq[1]})]}),Ye.jsx("div",{id:"CTA",children:"CTA1"==(null==(N=Ee.CTA)?void 0:N[0])&&Ye.jsx(_6,{data:Ee.CTA[1]})}),Ye.jsxs("div",{id:"Footer",children:["Footer1"==(null==(I=Ee.Footer)?void 0:I[0])&&Ye.jsx(YM,{data:Ee.Footer[1]}),"Footer2"==(null==(F=Ee.Footer)?void 0:F[0])&&Ye.jsx(OM,{data:Ee.Footer[1]}),"Footer3"==(null==(B=Ee.Footer)?void 0:B[0])&&Ye.jsx(h6,{data:Ee.Footer[1]})]})]}),"Navbar1"===(null==(P=null==Ee?void 0:Ee.Navbar)?void 0:P[0])&&Ye.jsxs("div",{className:"applayout1",style:{display:"flex",flexDirection:"column",columnGap:"2rem"},children:[Ye.jsx("div",{className:"Appsidenav",children:Ye.jsxs("div",{id:"Navbar",children:["Navbar1"==(null==(k=Ee.Navbar)?void 0:k[0])&&Ye.jsx(U2,{data:Ee.Navbar[1]}),"Navbar2"==(null==(T=Ee.Navbar)?void 0:T[0])&&Ye.jsx(R2,{data:Ee.Navbar[1]}),"Navbar3"==(null==(E=Ee.Navbar)?void 0:E[0])&&Ye.jsx(j6,{data:Ee.Navbar[1]})]})}),Ye.jsxs("div",{className:"appcontent",style:{height:"70vh",overflow:"auto"},children:[Ye.jsxs("div",{id:"Overview",children:["Overview1"==(null==(D=Ee.Overview)?void 0:D[0])&&Ye.jsx(q2,{data:Ee.Overview[1],Preview:!0}),"Overview2"==(null==(L=Ee.Overview)?void 0:L[0])&&Ye.jsx(K2,{data:Ee.Overview[1]}),"Overview3"==(null==(U=Ee.Overview)?void 0:U[0])&&Ye.jsx(r5,{data:Ee.Overview[1]})]}),Ye.jsx("div",{id:"ShowCase",children:"Showcase1"==(null==(_=Ee.Showcase)?void 0:_[0])&&Ye.jsx(B6,{data:null==(M=null==(O=Ee.Showcase[1])?void 0:O[0])?void 0:M.FieldValue})}),Ye.jsx("div",{id:"Appview",children:"Appview1"==(null==(R=Ee.Appview)?void 0:R[0])&&Ye.jsx(B6,{data:null==(H=null==(Q=Ee.Appview[1])?void 0:Q[0])?void 0:H.FieldValue})}),Ye.jsx("div",{id:"Testimonials",children:"Testimonials1"==(null==(V=Ee.Testimonials)?void 0:V[0])&&Ye.jsx(E6,{isDefault:!1})}),Ye.jsxs("div",{id:"Features",children:["Features1"==(null==(z=Ee.Features)?void 0:z[0])&&Ye.jsx(d5,{data:Ee.Features[1]}),"Features2"==(null==(q=Ee.Features)?void 0:q[0])&&Ye.jsx(A5,{data:Ee.Features[1]}),"Features3"==(null==(W=Ee.Features)?void 0:W[0])&&Ye.jsx(v6,{data:Ee.Features[1]})]}),Ye.jsxs("div",{id:"Pricing",children:["Pricing1"==(null==(Y=Ee.Pricing)?void 0:Y[0])&&Ye.jsx($3,{data:Ee.Pricing[1]}),"Pricing2"==(null==(K=Ee.Pricing)?void 0:K[0])&&Ye.jsx(i6,{data:Ee.Pricing[1]}),"Pricing3"==(null==(G=Ee.Pricing)?void 0:G[0])&&Ye.jsx(l6,{data:Ee.Pricing[1]})]}),Ye.jsxs("div",{id:"Faq",children:["Faq1"==(null==($=Ee.Faq)?void 0:$[0])&&Ye.jsx(XM,{data:Ee.Faq[1]}),"Faq2"==(null==(X=Ee.Faq)?void 0:X[0])&&Ye.jsx(eR,{data:Ee.Faq[1]}),"Faq3"==(null==(J=Ee.Faq)?void 0:J[0])&&Ye.jsx(S6,{data:Ee.Faq[1]})]}),Ye.jsx("div",{id:"CTA",children:"CTA1"==(null==(Z=Ee.CTA)?void 0:Z[0])&&Ye.jsx(_6,{data:Ee.CTA[1]})}),Ye.jsxs("div",{id:"Footer",children:["Footer1"==(null==(ee=Ee.Footer)?void 0:ee[0])&&Ye.jsx(YM,{data:Ee.Footer[1]}),"Footer2"==(null==(te=Ee.Footer)?void 0:te[0])&&Ye.jsx(OM,{data:Ee.Footer[1]}),"Footer3"==(null==(ne=Ee.Footer)?void 0:ne[0])&&Ye.jsx(h6,{data:Ee.Footer[1]})]})]})]}),"Navbar3"===(null==(ie=null==Ee?void 0:Ee.Navbar)?void 0:ie[0])&&Ye.jsxs("div",{className:"applayout1",style:{display:"flex",flexDirection:"row",columnGap:"2rem",flexDirection:"column"},children:[Ye.jsx("div",{className:"Appsidenav",children:Ye.jsxs("div",{id:"Navbar",children:["Navbar1"==(null==(ae=Ee.Navbar)?void 0:ae[0])&&Ye.jsx(U2,{data:Ee.Navbar[1]}),"Navbar2"==(null==(re=Ee.Navbar)?void 0:re[0])&&Ye.jsx(R2,{data:Ee.Navbar[1]}),"Navbar3"==(null==(se=Ee.Navbar)?void 0:se[0])&&Ye.jsx(j6,{data:Ee.Navbar[1]})]})}),Ye.jsxs("div",{className:"appcontent",style:{height:"70vh",overflow:"auto"},children:[Ye.jsxs("div",{id:"Overview",children:["Overview1"==(null==(le=Ee.Overview)?void 0:le[0])&&Ye.jsx(q2,{data:Ee.Overview[1],Preview:!0}),"Overview2"==(null==(oe=Ee.Overview)?void 0:oe[0])&&Ye.jsx(K2,{data:Ee.Overview[1]}),"Overview3"==(null==(de=Ee.Overview)?void 0:de[0])&&Ye.jsx(r5,{data:Ee.Overview[1]})]}),Ye.jsx("div",{id:"ShowCase",children:"Showcase1"==(null==(ce=Ee.Showcase)?void 0:ce[0])&&Ye.jsx(B6,{data:null==(pe=null==(ue=Ee.Showcase[1])?void 0:ue[0])?void 0:pe.FieldValue})}),Ye.jsx("div",{id:"Appview",children:"Appview1"==(null==(Ae=Ee.Appview)?void 0:Ae[0])&&Ye.jsx(B6,{data:null==(fe=null==(he=Ee.Appview[1])?void 0:he[0])?void 0:fe.FieldValue})}),Ye.jsx("div",{id:"Testimonials",children:"Testimonials1"==(null==(me=Ee.Testimonials)?void 0:me[0])&&Ye.jsx(E6,{isDefault:!1})}),Ye.jsxs("div",{id:"Features",children:["Features1"==(null==(ve=Ee.Features)?void 0:ve[0])&&Ye.jsx(d5,{data:Ee.Features[1]}),"Features2"==(null==(ye=Ee.Features)?void 0:ye[0])&&Ye.jsx(A5,{data:Ee.Features[1]}),"Features3"==(null==(xe=Ee.Features)?void 0:xe[0])&&Ye.jsx(v6,{data:Ee.Features[1]})]}),Ye.jsxs("div",{id:"Pricing",children:["Pricing1"==(null==(be=Ee.Pricing)?void 0:be[0])&&Ye.jsx($3,{data:Ee.Pricing[1]}),"Pricing2"==(null==(we=Ee.Pricing)?void 0:we[0])&&Ye.jsx(i6,{data:Ee.Pricing[1]}),"Pricing3"==(null==(je=Ee.Pricing)?void 0:je[0])&&Ye.jsx(l6,{data:Ee.Pricing[1]})]}),Ye.jsxs("div",{id:"Faq",children:["Faq1"==(null==(Ce=Ee.Faq)?void 0:Ce[0])&&Ye.jsx(XM,{data:Ee.Faq[1]}),"Faq2"==(null==(Se=Ee.Faq)?void 0:Se[0])&&Ye.jsx(eR,{data:Ee.Faq[1]}),"Faq3"==(null==(Ne=Ee.Faq)?void 0:Ne[0])&&Ye.jsx(S6,{data:Ee.Faq[1]})]}),Ye.jsx("div",{id:"CTA",children:"CTA1"==(null==(Ie=Ee.CTA)?void 0:Ie[0])&&Ye.jsx(_6,{data:Ee.CTA[1]})}),Ye.jsxs("div",{id:"Footer",children:["Footer1"==(null==(Fe=Ee.Footer)?void 0:Fe[0])&&Ye.jsx(YM,{data:Ee.Footer[1]}),"Footer2"==(null==(Be=Ee.Footer)?void 0:Be[0])&&Ye.jsx(OM,{data:Ee.Footer[1]}),"Footer3"==(null==(Pe=Ee.Footer)?void 0:Pe[0])&&Ye.jsx(h6,{data:Ee.Footer[1]})]})]})]})]}):Le?Ye.jsx("div",{children:Ye.jsx(Q6,{})}):null})]})})},empAccess:"Templates"},{path:"all-templates/update",component:()=>{var e;const t=um(),n=Mt(),i=null==n?void 0:n.state,r=null==i?void 0:i.editstate,s=Qt(),l=Tf(U_),o=Tf(__),d=Tf(O_),c=Tf(V_),u=Tf(M_),p=Tf(z_),A=Tf(J_),h=Tf(k_),f=Tf(T_),m=Tf(E_),v=Tf(eO),g=Tf($_),y=Tf(G_),x=Tf(Gg),b=iA("UserId"),w=iA("UserType"),[C,S]=a.useState(null==(e=Tf(q_))?void 0:e.AppId),[N,F]=a.useState(Tf(K_)),[B,P]=a.useState(Tf(Y_)),[T,E]=a.useState(!1),[D,L]=a.useState("#37943C"),[U,_]=a.useState("#b2eb9b"),[O,R]=a.useState(null),[Q,H]=a.useState(null),[V,z]=a.useState(!1),[q,W]=a.useState([]),[Y,K]=a.useState([]),[G,$]=a.useState([]),[X]=I.useForm(),J=[{name:"Templates",link:`${p8}setting/all-templates`}];a.useEffect((()=>{var e,n,i,a,s,l,o,d,c,u,p;t(Gh({items:J})),t(n_()).unwrap,t(i_()).unwrap,t(a_()).unwrap,(null==(e=Object.keys(r))?void 0:e.length)>0&&((null==(n=Object.keys(r))?void 0:n.includes("Navbar"))&&t(y_(r.Navbar[1])),(null==(i=Object.keys(r))?void 0:i.includes("Overview"))&&t(h_({postData:r.Overview[1]})),(null==(a=Object.keys(r))?void 0:a.includes("Showcase"))&&t(F_(r.Showcase[1])),(null==(s=Object.keys(r))?void 0:s.includes("Appview"))&&t(B_(r.Appview[1])),(null==(l=Object.keys(r))?void 0:l.includes("Testimonials"))&&t(P_(r.Testimonials[1])),(null==(o=Object.keys(r))?void 0:o.includes("Features"))&&t(b_({featureList:r.Features[1]})),(null==(d=Object.keys(r))?void 0:d.includes("Pricing"))&&t(C_({postData:r.Pricing[1]})),(null==(c=Object.keys(r))?void 0:c.includes("CTA"))&&t(j_(r.CTA[1])),(null==(u=Object.keys(r))?void 0:u.includes("Faq"))&&t(g_(r.Faq[1])),(null==(p=Object.keys(r))?void 0:p.includes("Footer"))&&t(w_(r.Footer[1]))),ee()}),[]),a.useEffect((()=>{const e=(e=>{const t=new Set;return null==e?void 0:e.filter((e=>!t.has(e.SectionId)&&(t.add(e.SectionId),!0)))})(q);$(e)}),[q]);const Z=a.useCallback((()=>{H(null),R(null)}),[]),ee=async()=>{var e,n,i;let a=await t(o_()).unwrap();if((null==(e=null==a?void 0:a.data)?void 0:e.statusCode)&&(W(null==(n=null==a?void 0:a.data)?void 0:n.data),(null==(i=Object.keys(r))?void 0:i.length)>0)){const e=[];Object.keys(r).forEach((t=>{var n;const i=r[t][0],s=null==(n=null==a?void 0:a.data)?void 0:n.data.find((e=>e.ComponentName===i));s&&e.push(s)})),K(e)}},te=e=>{const t=(e=>parseInt(e.slice(1,3),16)/255*.2126+parseInt(e.slice(3,5),16)/255*.7152+parseInt(e.slice(5,7),16)/255*.0722)(e);return t<=.5},ne=e=>{const t=null==Y?void 0:Y.findIndex((t=>t.SectionId===e[0].SectionId));if(-1!==t){const n=[...Y];n[t]=e[0],K(n)}else K([...Y,...e])},ie=e=>{const t=null==Y?void 0:Y.findIndex((t=>(null==t?void 0:t.SectionId)===e[0].SectionId));if(-1!==t){const n=[...Y];n[t]=e[0],K(n)}else K([...Y,...e])};return Ye.jsxs("div",{style:{display:"flex",flexDirection:"column",flexGrow:"1",width:"100%"},children:[Ye.jsxs("div",{className:"tempUp",children:[Ye.jsx(Qy,{messageType:O,messageData:Q,onComplete:Z}),Ye.jsxs("div",{children:[Ye.jsx("h1",{children:" Applications"}),Ye.jsx("br",{}),Ye.jsx(_y,{options:null==l?void 0:l.map((e=>({value:e.AppId,label:e.AppName}))),label:"Application",onChangeFunction:async e=>{t(x_({AppId:e})),await S(e)},className:"field-DropDown",isOnchanges:!!C,valueData:C,disabled:!0})]}),Ye.jsxs("div",{children:[Ye.jsx("h1",{children:" Colors "}),Ye.jsx("br",{}),Ye.jsxs("div",{className:"fontsdiv",children:[Ye.jsx("div",{className:"colorDropdown",children:Ye.jsx(_y,{options:null==o?void 0:o.map((e=>({value:e.ColorId,label:Ye.jsxs("div",{style:{display:"flex",gap:"0.5rem"},children:[Ye.jsx("div",{style:{width:"27px",height:"27px",borderRadius:"25.774192810058594px",backgroundColor:e.DarkColor},children:Ye.jsx("span",{style:{width:"27px",height:"27px",borderRadius:"50px",marginLeft:"15px",backgroundColor:e.LightColor},children:"   "})}),Ye.jsx("div",{children:e.ThemeName})]})}))),labelChange:!0,label:"Color",className:"field-DropDown",onChangeFunction:async e=>{await F(e);let n=o.filter((t=>(null==t?void 0:t.ColorId)===e));t(p_({color:{darkColor:n[0].DarkColor,lightColor:n[0].LightColor}}))},isOnchanges:!!N,valueData:N})}),Ye.jsx("div",{children:Ye.jsx(me,{className:"plusOutlinedIcon",onClick:()=>{E(!0)}})})]})]}),Ye.jsxs(j,{open:T,title:"Colors",closeIcon:Ye.jsx(M,{onClick:()=>{E(!1)}}),width:350,children:[Ye.jsxs("div",{children:[Ye.jsx("div",{children:Ye.jsx("p",{children:"Please select at least one dark and one light color."})}),Ye.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"0.5rem"},children:[Ye.jsxs("div",{style:{display:"flex"},children:[Ye.jsx("p",{children:"Dark Color : "}),Ye.jsx("div",{style:{width:"35px",height:"23px",backgroundColor:D}})]}),Ye.jsxs("div",{style:{display:"flex"},children:[Ye.jsx("p",{children:"Light Color : "}),Ye.jsx("div",{style:{width:"35px",height:"23px",backgroundColor:U}})]})]})]}),Ye.jsx("br",{}),Ye.jsx(F2,{onChange:(e,t)=>{te(e.hex)?L(e.hex):_(e.hex)}}),Ye.jsx("div",{children:Ye.jsx("button",{className:"colorBtn",onClick:async()=>{var e,n,i,a;if(D&&U){let s;try{let e={DarkColor:D,LightColor:U,CreatedBy:iA("UserId")};s=await t(s_(e)).unwrap()}catch(r){"Request failed with status code 422"==r.message&&(s={data:{statusCode:0,response:"Color Not Added",data:[]}})}1==(null==(e=null==s?void 0:s.data)?void 0:e.statusCode)?(E(!1),H(null==(n=null==s?void 0:s.data)?void 0:n.response),"Color Already Exists"==(null==(i=null==s?void 0:s.data)?void 0:i.response)?R("warning"):R("success"),t(i_()).unwrap):(H(null==(a=null==s?void 0:s.data)?void 0:a.response),R("error"))}else H("Please select at least one dark and one light color."),R("warning")},children:"SAVE"})})]}),Ye.jsxs("div",{children:[Ye.jsx("h1",{children:" Fonts "}),Ye.jsx("br",{}),Ye.jsxs("div",{className:"fontsdiv",children:[Ye.jsx("div",{children:Ye.jsx(_y,{options:null==d?void 0:d.map((e=>({value:e.FontId,label:e.Font}))),label:"Font",onChangeFunction:async e=>{await P(e);let n=d.filter((t=>(null==t?void 0:t.FontId)===e));t(A_({text:{head:n[0].Font.split(",")[0],para:n[0].Font.split(",")[1]}}))},className:"field-DropDown",isOnchanges:!!B,valueData:B})}),Ye.jsxs("div",{children:[Ye.jsx(me,{className:"plusOutlinedIcon",onClick:()=>{z(!0)}}),Ye.jsx(SP,{open:V,title:"Fonts",footer:!0,children:Ye.jsxs(I,{form:X,children:[Ye.jsxs("div",{className:"fontInputs",children:[Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"HeadFont",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Head Font"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"HeadFont",label:"Head",className:"Input",fieldState:!0,fieldApi:!0,autoComplete:"off"})})}),Ye.jsx("div",{children:Ye.jsx(I.Item,{name:"ParaFont",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Paragraph Font"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"ParaFont",label:"Paragraph",className:"Input",fieldState:!0,fieldApi:!0,autoComplete:"off"})})})]}),Ye.jsx("p",{style:{color:"#FF4D4F"},children:"* Google Fonts Only"})]}),handleCancel:()=>{z(!1),X.resetFields()},handleSubmit:async()=>{(async e=>{fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyDP1HqNkLI53iIAH-SB9_mt_24QdkUZ_24").then((e=>e.json())).then((async n=>{var i,a,r,s;const l=null==n?void 0:n.items.map((e=>e.family));if(l.includes(e.HeadFont)&&l.includes(e.ParaFont)){let n;try{let i={HeadFont:e.HeadFont,ParaFont:e.ParaFont,CreatedBy:iA("UserId")};n=await t(l_(i)).unwrap()}catch(o){"Request failed with status code 422"==o.message&&(n={data:{statusCode:0,response:"Font Not Added",data:[]}})}1==(null==(i=null==n?void 0:n.data)?void 0:i.statusCode)?(z(!1),H(null==(a=null==n?void 0:n.data)?void 0:a.response),"Font Already Exists"==(null==(r=null==n?void 0:n.data)?void 0:r.response)?R("warning"):R("success"),t(a_()).unwrap,X.resetFields()):(H(null==(s=null==n?void 0:n.data)?void 0:s.response),R("error"))}else H("Please give both head and para font as google fonts"),R("warning")})).catch((e=>{}))})(await X.validateFields())},buttonText:"SAVE"})]})]})]}),Ye.jsx("h1",{children:"NavBars"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsxs("div",{className:"Nav-templates",children:[Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Navbar1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"navbar",onClick:()=>ie(null==q?void 0:q.filter((e=>"Navbar1"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Navbar1"===e.ComponentName)).length)>0&&Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})}),Ye.jsx(O2,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Navbar2"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"navbar",onClick:()=>ie(null==q?void 0:q.filter((e=>"Navbar2"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Navbar2"===e.ComponentName)).length)>0&&Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})}),Ye.jsx(Q2,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Navbar3"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"navbar",onClick:()=>ie(null==q?void 0:q.filter((e=>"Navbar3"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Navbar3"===e.ComponentName)).length)>0&&Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})}),Ye.jsx(C6,{})]})})]})}),Ye.jsx("h1",{children:"Overviews"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsxs("div",{className:"Nav-templates",children:[Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Overview1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"overview",onClick:()=>ie(null==q?void 0:q.filter((e=>"Overview1"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Overview1"===e.ComponentName)).length)>0&&Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})}),Ye.jsx(W2,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Overview2"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"overview",onClick:()=>ie(null==q?void 0:q.filter((e=>"Overview2"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Overview2"===e.ComponentName)).length)>0&&Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})}),Ye.jsx(G2,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Overview3"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"overview",onClick:()=>ie(null==q?void 0:q.filter((e=>"Overview3"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Overview3"===e.ComponentName)).length)>0&&Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})}),Ye.jsx(s5,{})]})})]})}),Ye.jsx("h1",{children:"Features"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsxs("div",{className:"Nav-templates",children:[Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Features1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"features",onClick:()=>ne(null==q?void 0:q.filter((e=>"Features1"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Features1"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(p5,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Features2"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"features",onClick:()=>ne(null==q?void 0:q.filter((e=>"Features2"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Features2"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(f5,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Features3"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"features",onClick:()=>ne(null==q?void 0:q.filter((e=>"Features3"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Features3"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(x6,{})]})})]})}),Ye.jsx("h1",{children:"Showcase"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsx("div",{className:"Nav-templates",children:Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Showcase1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"showcase",onClick:()=>ie(null==q?void 0:q.filter((e=>"Showcase1"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Showcase1"===e.ComponentName)).length)>0&&Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})}),Ye.jsx(k6,{})]})})})}),Ye.jsx("h1",{children:"Appview"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsx("div",{className:"Nav-templates",children:Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Appview1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"appview",onClick:()=>ie(null==q?void 0:q.filter((e=>"Appview1"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Appview1"===e.ComponentName)).length)>0&&Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})}),Ye.jsx(T6,{})]})})})}),Ye.jsx("h1",{children:"Testimonials"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsx("div",{className:"Nav-templates",children:Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Testimonials1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"testimonials",onClick:()=>ie(null==q?void 0:q.filter((e=>"Testimonials1"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Testimonials1"===e.ComponentName)).length)>0&&Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})}),Ye.jsx(L6,{})]})})})}),Ye.jsx("h1",{children:"Pricing"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsxs("div",{className:"Nav-templates",children:[Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Pricing1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"pricing",onClick:()=>ne(null==q?void 0:q.filter((e=>"Pricing1"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Pricing1"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(J3,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Pricing2"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"pricing",onClick:()=>ne(null==q?void 0:q.filter((e=>"Pricing2"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Pricing2"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(r6,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Pricing3"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"pricing",onClick:()=>ne(null==q?void 0:q.filter((e=>"Pricing3"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Pricing3"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(d6,{})]})})]})}),Ye.jsx("h1",{children:"FAQ"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsxs("div",{className:"Nav-templates",children:[Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Faq1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"faq",onClick:()=>ne(null==q?void 0:q.filter((e=>"Faq1"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Faq1"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(c6,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Faq2"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"faq",onClick:()=>ne(null==q?void 0:q.filter((e=>"Faq2"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Faq2"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(u6,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Faq3"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"faq",onClick:()=>ne(null==q?void 0:q.filter((e=>"Faq3"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Faq3"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(I6,{})]})})]})}),Ye.jsx("h1",{children:"CTA"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsx("div",{className:"Nav-templates",children:Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"CTA1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"cta",onClick:()=>ie(null==q?void 0:q.filter((e=>"CTA1"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"CTA1"===e.ComponentName)).length)>0&&Ye.jsx("div",{children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 0rem"}})}),Ye.jsx(M6,{})]})})})}),Ye.jsx("h1",{children:"Footer"}),Ye.jsx(o5,{showLeftButton:!0,showRightButton:!0,children:Ye.jsxs("div",{className:"Nav-templates",children:[Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Footer1"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"footer",onClick:()=>ne(null==q?void 0:q.filter((e=>"Footer1"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Footer1"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(p6,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Footer2"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"footer",onClick:()=>ne(null==q?void 0:q.filter((e=>"Footer2"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Footer2"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(A6,{})]})}),Ye.jsx("div",{className:"setscalesize",children:Ye.jsxs("label",{className:`themeselection ${(null==Y?void 0:Y.filter((e=>"Footer3"===e.ComponentName)).length)>0&&"selected"}`,children:[Ye.jsx("input",{type:"radio",name:"footer",onClick:()=>ne(null==q?void 0:q.filter((e=>"Footer3"===e.ComponentName)))}),(null==Y?void 0:Y.filter((e=>"Footer3"===e.ComponentName)).length)>0&&Ye.jsx("span",{className:"checkmark",children:Ye.jsx(ve,{style:{color:"#52C41A",display:"flex",padding:"1rem 1rem"}})}),Ye.jsx(m6,{})]})})]})}),Ye.jsx("div",{className:"selectionCard",children:Ye.jsxs("div",{children:[Ye.jsx("h2",{style:{padding:"0.5rem 0rem"},children:"Selected Items"}),Ye.jsx("ul",{style:{display:"inline",flexDirection:"column"},children:null==G?void 0:G.map((e=>Ye.jsxs("div",{style:{display:"flex",justifyContent:"space-between",fontSize:"14px"},children:[Ye.jsx("li",{style:{color:"#4B4B4B"},children:e.SectionName}),(null==Y?void 0:Y.filter((t=>t.SectionName===e.SectionName)).length)>0&&Ye.jsx("li",{children:Ye.jsx(ve,{style:{color:"#52C41A"}})})]},e.SectionId)))})]})})]}),Ye.jsx("div",{className:"FloatSection_Update",children:Ye.jsx("div",{children:Ye.jsx(Ry,{buttonText:"SUBMIT & SAVE",handleSubmit:()=>{var e;return 0===(null==x?void 0:x.length)||"Y"===(null==(e=null==x?void 0:x.find((e=>"Templates"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)||"Super Admin"===w?(async()=>{var e,n,i;let a={};a.AppId=C,a.ColorId=N,a.FontId=B,a.BannerImageUrl=null==(e=null==u?void 0:u.find((e=>"Overview1BannerImage"===e.FieldName||"Overview2BannerImage"===e.FieldName)))?void 0:e.FieldValue,a.CreatedBy=b;let r=[];for(let t=0;t<Y.length;t++)switch(Y[t].SectionName){case"Navbar":if(!((null==c?void 0:c.length)>0))return H("Please fill Navbar Template Data"),void R("warning");r.push({ComponentId:Y[t].ComponentId,ComponentDetails:null==c?void 0:c.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))});break;case"Overview":if(!((null==u?void 0:u.length)>0))return H("Please fill Overview Template Data"),void R("warning");r.push({ComponentId:Y[t].ComponentId,ComponentDetails:null==u?void 0:u.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))});break;case"Features":if(!((null==y?void 0:y.length)>0))return H("Please fill Feature Template Data"),void R("warning");r.push({ComponentId:Y[t].ComponentId,ComponentDetails:null==y?void 0:y.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))});break;case"Pricing":if(!((null==A?void 0:A.length)>0))return H("Please fill Pricing Template Data"),void R("warning");r.push({ComponentId:Y[t].ComponentId,ComponentDetails:null==A?void 0:A.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))});break;case"Faq":if(!((null==p?void 0:p.length)>0))return H("Please fill Faq Template Data"),void R("warning");r.push({ComponentId:Y[t].ComponentId,ComponentDetails:null==p?void 0:p.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))});break;case"Footer":if(!((null==g?void 0:g.length)>0))return H("Please fill Footer Template Data"),void R("warning");r.push({ComponentId:Y[t].ComponentId,ComponentDetails:null==g?void 0:g.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))});break;case"Showcase":(null==h?void 0:h.length)>0&&r.push({ComponentId:Y[t].ComponentId,ComponentDetails:null==h?void 0:h.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))});break;case"Appview":(null==f?void 0:f.length)>0&&r.push({ComponentId:Y[t].ComponentId,ComponentDetails:null==f?void 0:f.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))});break;case"Testimonials":(null==m?void 0:m.length)>0&&r.push({ComponentId:Y[t].ComponentId,ComponentDetails:null==m?void 0:m.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))});break;case"CTA":(null==v?void 0:v.length)>0&&r.push({ComponentId:Y[t].ComponentId,ComponentDetails:null==v?void 0:v.filter((e=>void 0!==e.FieldValue&&""!==e.FieldValue))})}a.TemplateDetails=r;let l=await t(c_(a)).unwrap();1==(null==(n=null==l?void 0:l.data)?void 0:n.statusCode)?(R("success"),H("Data Updated Successfully"),t(F_([])),t(B_([])),t(P_([])),t(b_({featureList:[]})),t(C_({postData:[]})),t(j_([])),setTimeout((()=>{s(`${p8}setting/all-templates`)}),3e3)):(R("error"),H(null==(i=null==l?void 0:l.data)?void 0:i.response))})():""},icon:Ye.jsx(k,{}),disabled:!((null==Y?void 0:Y.length)>0&&null!==C)})})})]})},empAccess:"Templates"},{path:"payment-gateway-config",component:()=>{var e;const t=um(),n=Qt(),i=Mt(),[r,s]=a.useState(1),[l,o]=a.useState(null),[d,c]=a.useState(null),[u,p]=a.useState([]),[A,h]=a.useState(""),[f,m]=a.useState({}),v=iA("UserType"),g=Tf(Gg),y=[{name:"Home",link:`${oee}landing-page/home`},{name:"PaymentGatewayConfig",link:`${oee}setting/payment-gateway-config`}],x=[{title:"SI.NO",key:"sno",align:"center",width:"60px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(r-1)+n+1})},{title:"Admin Name / Mobile.No",dataIndex:"UserName",key:"UserName",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:t.UserName?null==t?void 0:t.UserName:null==t?void 0:t.MobileNo}),ellipsis:!0},{title:"App Name",dataIndex:"AppName",key:"AppName",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[A],onFilter:(e,t)=>String(t.AppName).toLowerCase().includes(e.toLowerCase())||String(t.BranchName).toLowerCase().includes(e.toLowerCase())||String(t.CompanyName).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.AppName)?void 0:n.localeCompare(t.AppName)},sortOrder:"AppName"===f.columnKey?f.order:null,ellipsis:!0},{title:"Company Name",dataIndex:"CompanyName",key:"CompanyName",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.CompanyName)?void 0:n.localeCompare(t.CompanyName)},sortOrder:"CompanyName"===f.columnKey?f.order:null,ellipsis:!0},{title:"Branch Name",dataIndex:"BranchName",key:"BranchName",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.BranchName)?void 0:n.localeCompare(t.BranchName)},sortOrder:"BranchName"===f.columnKey?f.order:null,ellipsis:!0},{title:"Merchant Id",dataIndex:"MerchantId",key:"MerchantId",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Access Code",dataIndex:"AccessCode",key:"AccessCode",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Working Key",dataIndex:"WorkingKey",key:"WorkingKey",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Action",key:"Action",dataIndex:"Action",align:"left",render:(e,t,n)=>u.length>=1?Ye.jsxs(P,{size:"middle",children:["A"==t.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==g?void 0:g.length)||"Y"===(null==(e=null==g?void 0:g.find((e=>"Payment Gateway Config"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?j(t):""}})}):"",Ye.jsx("a",{children:"A"==t.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==g?void 0:g.length)||"Y"===(null==(e=null==g?void 0:g.find((e=>"Payment Gateway Config"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?S(t):""}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==g?void 0:g.length)||"Y"===(null==(e=null==g?void 0:g.find((e=>"Payment Gateway Config"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?S(t):""}})})]}):null}];a.useEffect((()=>{var e,n,a;b(),t(Gh({items:y})),(null==(e=null==i?void 0:i.state)?void 0:e.Notiffy)&&(o(null==(n=null==i?void 0:i.state)?void 0:n.Notiffy.messageType),c(null==(a=null==i?void 0:i.state)?void 0:a.Notiffy.messageData))}),[]);const b=async()=>{var e,n;let i=await t(q9());p(null==(n=null==(e=null==i?void 0:i.payload)?void 0:e.data)?void 0:n.data)},w=a.useCallback((()=>{c(null),o(null)}),[]),j=async e=>{n(`${oee}setting/payment-gateway-config/update`,{state:{editstate:e,type:"edit"}})},S=async e=>{var n;let i={uniqueId:e.UniqueId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},a=await t(K9(i)).unwrap();1==(null==(n=null==a?void 0:a.data)?void 0:n.statusCode)&&(o("success"),c("A"==e.ActiveStatus?" Config Data In-Activated Successfully":"Config Data Activated Successfully"),b())};return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:l,messageData:d,onComplete:w}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Payment Gateway Config"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{h(e)},onSearchChange:e=>{var t;h(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",color:"901D77",handleSubmit:()=>{n(`${oee}setting/payment-gateway-config/new`)},icon:Ye.jsx(C,{}),disabled:"Super Admin"!==v&&"N"===(null==(e=null==g?void 0:g.find((e=>"Payment Gateway Config"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:x,data:u,pagination:e=>{s(e)},onChange:(e,t,n)=>{m(n)}})})]})})},empAccess:"Payment Gateway Config"},{path:"payment-gateway-config/new",component:e=>Ye.jsx(lee,{...e,formType:"add"}),empAccess:"Payment Gateway Config"},{path:"payment-gateway-config/update",component:e=>Ye.jsx(lee,{...e,formType:"edit"}),empAccess:"Payment Gateway Config"},{path:"payment-device-config",component:()=>{var e;const t=um(),n=Qt(),i=Mt(),[r,s]=a.useState(1),[l,o]=a.useState(""),[d,c]=a.useState({}),[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState([]),[v,g]=a.useState([]),[y,x]=a.useState(!1),b=Tf(Gg),w=iA("UserType"),j=[{name:"Home",link:`${gee}landing-page/home`},{name:"PaymentDeviceConfig",link:`${gee}setting/payment-device-config`}],S=[{title:"SI.NO",key:"sno",align:"center",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(r-1)+n+1})},{title:"Admin Name / Mobile.No",dataIndex:"UserName",key:"UserName",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:t.UserName?null==t?void 0:t.UserName:null==t?void 0:t.MobileNo}),ellipsis:!0},{title:"App Name",dataIndex:"AppName",key:"AppName",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[l],onFilter:(e,t)=>String(t.AppName).toLowerCase().includes(e.toLowerCase())||String(t.BrName).toLowerCase().includes(e.toLowerCase())||String(t.CompName).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.AppName)?void 0:n.localeCompare(t.AppName)},sortOrder:"AppName"===d.columnKey?d.order:null,ellipsis:!0},{title:"Company Name",dataIndex:"CompName",key:"CompName",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.CompName)?void 0:n.localeCompare(t.CompName)},sortOrder:"CompName"===d.columnKey?d.order:null,ellipsis:!0},{title:"Branch Name",dataIndex:"BrName",key:"BrName",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.BrName)?void 0:n.localeCompare(t.BrName)},sortOrder:"BrName"===d.columnKey?d.order:null,ellipsis:!0},{title:"Merchant Id",dataIndex:"MerchantId",key:"MerchantId",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"ConfigDetails",dataIndex:"DeviceConfigDetails",key:"DeviceConfigDetails",width:"150px",render:(e,t)=>Ye.jsx(ty,{style:{color:"#1292EE",fontSize:"25px",cursor:"pointer"},onClick:()=>F(e)})},{title:"Action",key:"Action",dataIndex:"Action",width:"150px",render:(e,t,n)=>(null==f?void 0:f.length)>=1?Ye.jsxs(P,{size:"middle",children:["A"===t.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==b?void 0:b.length)||"Y"===(null==(e=null==b?void 0:b.find((e=>"Payment Device Config"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?T(t,n):" "}})}):"",Ye.jsx("a",{children:"A"===t.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==b?void 0:b.length)||"Y"===(null==(e=null==b?void 0:b.find((e=>"Payment Device Config"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?E(t):" "}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==b?void 0:b.length)||"Y"===(null==(e=null==b?void 0:b.find((e=>"Payment Device Config"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?E(t):" "}})})]}):null}],N=[{title:"SI.NO",key:"sno",align:"center",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(r-1)+n+1})},{title:"ClientId",dataIndex:"ClientId",key:"ClientId",align:"right",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"StoreId",dataIndex:"StoreId",key:"StoreId",align:"right",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"SecurityToken",dataIndex:"SecurityToken",key:"SecurityToken",align:"center",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"IMEI",dataIndex:"IMEI",key:"IMEI",align:"right",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Cancel Duration",dataIndex:"AutoCancelDurationInMinutes",key:"AutoCancelDurationInMinutes",align:"right",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Status",dataIndex:"ActiveStatus",key:"ActiveStatus",align:"left",render:(e,t)=>Ye.jsx("a",{style:{color:"A"==e?"#52C41A":"#FF4D4F"},children:"A"==e?"Active":"Deactive"})}];a.useEffect((()=>{var e,n,a;t(Gh({items:j})),I(),(null==(e=null==i?void 0:i.state)?void 0:e.Notiffy)&&(p(null==(n=null==i?void 0:i.state)?void 0:n.Notiffy.messageType),h(null==(a=null==i?void 0:i.state)?void 0:a.Notiffy.messageData))}),[]);const I=async()=>{var e;let n=await t(hee()).unwrap();m(null==(e=null==n?void 0:n.data)?void 0:e.data)},F=e=>{g(e),x(!0)},B=e=>{s(e)},k=a.useCallback((()=>{h(null),p(null)}),[]),T=async(e,t)=>{"D"!==e.ActiveStatus&&n(`${gee}setting/payment-device-config/update`,{state:{editState:e}},{key:t})},E=async e=>{var n;let i={UniqueId:e.UniqueId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},a=await t(vee(i)).unwrap();1==(null==(n=null==a?void 0:a.data)?void 0:n.statusCode)&&(p("success"),h("A"==e.ActiveStatus?"In-Activated Successfully":"Activated Successfully"),I())};return Ye.jsxs("div",{className:"userPageTable",children:[Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:u,messageData:A,onComplete:k}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Payment Device Config"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{o(e)},onSearchChange:e=>{var t;o(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",color:"901D77",handleSubmit:()=>{n(`${gee}setting/payment-device-config/new`)},icon:Ye.jsx(C,{}),disabled:"Super Admin"!==w&&"N"===(null==(e=null==b?void 0:b.find((e=>"Payment Device Config"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:S,data:f,dataSource:f,pagination:B,onChange:(e,t,n)=>{c(n)}})})]}),Ye.jsx(SP,{open:y,title:"Config Details",handleCancel:()=>{x(!1),g([])},width:1e3,footer:!1,children:Ye.jsx("div",{style:{height:"400px",overflowY:"scroll"},children:Ye.jsx(Vb,{dataSource:v,data:v,columns:N,pagination:B})})})]})},empAccess:"Payment Device Config"},{path:"payment-device-config/new",component:e=>Ye.jsx(xee,{...e,formType:"add"}),empAccess:"Payment Device Config"},{path:"payment-device-config/update",component:e=>Ye.jsx(xee,{...e,formType:"edit"}),empAccess:"Payment Device Config"},{path:"company-master",component:()=>{var e;const t=Qt(),n=um(),i=Mt(),r=Tf(xb),s=Tf(Gg),l=Tf(jb),[o,d]=a.useState({}),[c,u]=a.useState(""),[p,A]=a.useState(null),[h,f]=a.useState(null),[m,v]=a.useState(1),[g,y]=a.useState(0),[x,b]=a.useState(iA("UserType")?iA("UserType"):null),[w,j]=a.useState(iA("UserId")?iA("UserId"):null),S=[{name:"Home",link:`${mw}landing-page/home`},{name:"Company",link:`${mw}setting/company-master`}];a.useEffect((()=>{var e,t,a;try{n(Gh({items:S})),"Super Admin"!==x&&"Super Admin User"!==x||n(lb()).unwrap(),(null==(e=null==i?void 0:i.state)?void 0:e.Notiffy)&&(A(null==(t=null==i?void 0:i.state)?void 0:t.Notiffy.messageType),f(null==(a=null==i?void 0:i.state)?void 0:a.Notiffy.messageData))}catch(r){}}),[]);const N=a.useCallback((()=>{f(null),A(null)}),[]);a.useEffect((()=>{I()}),[w]);const I=async()=>{var e,t,i,a;let r=await n(dw(w)).unwrap();1===(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)?y(null==(i=null==(t=null==r?void 0:r.data)?void 0:t.data)?void 0:i.RemainingCompanyCount):0===(null==(a=null==r?void 0:r.data)?void 0:a.statusCode)&&y(0)};a.useEffect((()=>{"Admin"===x&&n(fb(iA("UserId")))}),[iA("UserId")]);const B=(e,t,n)=>{d(n)},k=e=>{v(e)},T=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(m-1)+n+1})},{title:"App Name",dataIndex:"AppName",key:"AppName",align:"left",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.AppName)?void 0:n.localeCompare(t.AppName)},sortOrder:"AppName"===o.columnKey?o.order:null,ellipsis:!0},{title:"Company Name",dataIndex:"CompName",key:"CompName",width:"200px",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[c],onFilter:(e,t)=>String(t.AppName).toLowerCase().includes(e.toLowerCase())||String(t.CompName).toLowerCase().includes(e.toLowerCase())||String(t.CompShName).toLowerCase().includes(e.toLowerCase())||String(t.CompMobile).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.CompName)?void 0:n.localeCompare(t.CompName)},sortOrder:"CompName"===o.columnKey?o.order:null,ellipsis:!0},{title:"Short Name",dataIndex:"CompShName",key:"CompShName",align:"left",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.CompShName)?void 0:n.localeCompare(t.CompShName)},sortOrder:"CompShName"===o.columnKey?o.order:null,ellipsis:!0},{title:"Proprietor",dataIndex:"Proprietor",key:"Proprietor",align:"left",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Mobile No",dataIndex:"CompMobile",key:"CompMobile",align:"left",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Action",key:"Action",dataIndex:"Action",width:"100px",align:"center",render:(e,i,a)=>("Admin"===x||"Admin User"===x?(null==l?void 0:l.length)>=1:(null==r?void 0:r.length)>=1)?Ye.jsxs(P,{size:"middle",children:["A"===i.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==s?void 0:s.length)||"Y"===(null==(e=null==s?void 0:s.find((e=>"Company"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async(e,n)=>{"D"!==e.ActiveStatus&&t(`${mw}setting/company-master/update`,{state:{editstate:e}},{key:n})})(i,a):""}})}):"",Ye.jsx("a",{children:"A"===i.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==s?void 0:s.length)||"Y"===(null==(e=null==s?void 0:s.find((e=>"Company"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?(async e=>{var t;let i={CompId:e.CompId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},a=await n(Ab(i)).unwrap();1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)&&(I(),A("success"),f("A"==e.ActiveStatus?"Company In-Activated Successfully":"Company Activated Successfully"),"Admin"===x?n(fb(iA("UserId"))):"Super Admin"!==x&&"Super Admin User"!==x||await n(lb()).unwrap())})(i):""}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==s?void 0:s.length)||"Y"===(null==(e=null==s?void 0:s.find((e=>"Company"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?(async e=>{var t,i,a,r,s,l,o;let d=await n(vb({UserId:"Admin"===x?w:null==e?void 0:e.UserId,AppId:null==e?void 0:e.AppId})).unwrap(),c=null==(i=null==(t=d.data)?void 0:t.data[0])?void 0:i.CompanyCount,u=null==(l=null==(s=null==(r=null==(a=d.data)?void 0:a.data[0])?void 0:r.FeatureDetails)?void 0:s.filter((e=>"Company"==e.FeatName))[0])?void 0:l.FeatConstraint;if(c<u){let t={CompId:e.CompId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},i=await n(Ab(t)).unwrap();1==(null==(o=null==i?void 0:i.data)?void 0:o.statusCode)&&(I(),A("success"),f("A"==e.ActiveStatus?"Company In-Activated Successfully":"Company Activated Successfully"),"Admin"===x?n(fb(iA("UserId"))):"Super Admin"!==x&&"Super Admin User"!==x||await n(lb()).unwrap())}else A("error"),f("You need to delete one company if you wanna add this company")})(i):""}})})]}):null}];return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:p,messageData:h,onComplete:N}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Company"})}),Ye.jsxs("div",{className:"searchAddDiv searchAddDivCompanyList",children:[Ye.jsx(F,{title:"Search by App Name, Company Name, Short Name or Mobile No",placement:"left",children:Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search by App Name, Company Name, Short Name or Mobile No",onSearch:e=>{u(e)},onSearchChange:e=>{var t;u(null==(t=null==e?void 0:e.target)?void 0:t.value)}})})}),Ye.jsx(F,{placement:"left",title:0===g?"Purchase Extra Branch In Feature":"",children:Ye.jsx("div",{children:Ye.jsx(Ry,{buttonText:"Add New",color:"901D77",icon:Ye.jsx(C,{}),disabled:"Super Admin"!==x&&(0===g||"N"===(null==(e=null==s?void 0:s.find((e=>"Company"==(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess)),handleSubmit:()=>{t(`${mw}setting/company-master/new`)},children:"OPEN"})})})]})]}),Ye.jsx("div",{className:"reportTableCompany",children:"Admin"===x||"Admin User"===x?Ye.jsx(Vb,{columns:T,data:l,dataSource:l,pagination:k,onChange:B}):Ye.jsx(Vb,{columns:T,data:r,dataSource:r,pagination:k,onChange:B})})]})})},empAccess:"Company",access:"Admin"},{path:"application-preference-mapping/new",component:e=>Ye.jsx(bae,{...e,formType:"add"}),empAccess:"MappingFeatures",access:"Admin"},{path:"application-preference-mapping/update",component:e=>Ye.jsx(bae,{...e,formType:"edit"}),empAccess:"MappingFeatures",access:"Admin"},{path:"application-preference-mapping",component:()=>{var e;const t=Qt(),n=um(),i=Mt(),r=iA("UserType"),s=Tf(Gg),[l,o]=a.useState({}),[d,c]=a.useState(""),[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState(null),[v,g]=a.useState(1),y=[{name:"Home",link:`${wae}landing-page/home`}];a.useEffect((()=>{var e,t,a;try{n(Gh({items:y})),x(),(null==(e=null==i?void 0:i.state)?void 0:e.Notiffy)&&(p(null==(t=null==i?void 0:i.state)?void 0:t.Notiffy.messageType),h(null==(a=null==i?void 0:i.state)?void 0:a.Notiffy.messageData))}catch(r){}}),[]);const x=async()=>{var e,t;let i=await n(xae()).unwrap();1==(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&m(null==(t=null==i?void 0:i.data)?void 0:t.data)},b=a.useCallback((()=>{h(null),p(null)}),[]),w=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(v-1)+n+1})},{title:"App Name",dataIndex:"AppName",key:"AppName",align:"left",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.AppName)?void 0:n.localeCompare(t.AppName)},filteredValue:[d],onFilter:(e,t)=>String(t.AppName).toLowerCase().includes(e.toLowerCase()),sortOrder:"AppName"===l.columnKey?l.order:null,ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",width:"100px",align:"center",render:(e,n,i)=>Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>(async(e,n)=>{"D"!==e.ActiveStatus&&t(`${wae}setting/application-preference-mapping/update`,{state:{editstate:e}},{key:n})})(n,i)})})})}];return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:u,messageData:A,onComplete:b}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"App Setup"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{c(e)},onSearchChange:e=>{var t;c(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",color:"901D77",icon:Ye.jsx(C,{}),disabled:"Super Admin"!==r&&"N"===(null==(e=null==s?void 0:s.find((e=>"Application Preference Mapping"==(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),handleSubmit:()=>{t(`${wae}setting/application-preference-mapping/new`)},children:"OPEN"})]})]}),Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:w,data:f,dataSource:f,pagination:e=>{g(e)},onChange:(e,t,n)=>{o(n)}})})]})})},empAccess:"MappingFeatures",access:"Admin"},{path:"company-master/new",component:e=>Ye.jsx(Hb,{...e,formType:"add"}),empAccess:"Company",access:"Admin"},{path:"company-master/update",component:e=>Ye.jsx(Hb,{...e,formType:"edit"}),empAccess:"Company",access:"Admin"},{path:"branch-master",component:()=>{var e,t;const n=Qt(),i=um(),r=Mt(),s=Tf(Fy),l=iA("UserId"),o=Tf(By),d=Tf(Gg),[c,u]=a.useState({}),[p,A]=a.useState(""),[h,f]=a.useState(null),[m,v]=a.useState(null),[g,y]=a.useState(0),[x,b]=a.useState(1),[w,j]=a.useState(),[S,N]=a.useState(iA("UserType")?iA("UserType"):null),I=[{name:"Home",link:`${CP}landing-page/home`},{name:"Branch",link:`${CP}setting/branch-master`}];a.useEffect((()=>{var e,t,n;try{i(Gh({items:I})),"Super Admin"!==S&&"Super Admin User"!==S||i(ly()).unwrap(),(null==(e=null==r?void 0:r.state)?void 0:e.Notiffy)&&(f(null==(t=null==r?void 0:r.state)?void 0:t.Notiffy.messageType),v(null==(n=null==r?void 0:r.state)?void 0:n.Notiffy.messageData))}catch(a){}O()}),[]);const B=a.useCallback((()=>{v(null),f(null)}),[]);a.useEffect((()=>{i(fy(iA("UserId")))}),[iA("UserId")]),a.useEffect((()=>{k()}),[l]);const k=async()=>{var e,t,n,a;let r=await i(dw(l)).unwrap();1===(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)?y(null==(n=null==(t=null==r?void 0:r.data)?void 0:t.data)?void 0:n.RemainingBranchCount):0===(null==(a=null==r?void 0:r.data)?void 0:a.statusCode)&&y(0)},T=(e,t,n)=>{u(n)},E=e=>{b(e)},_=[{title:"Si.No",key:"sno",align:"center",width:"80px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(x-1)+n+1})},{title:"App Name",dataIndex:"AppName",key:"AppName",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.AppName)?void 0:n.localeCompare(t.AppName)},sortOrder:"AppName"===c.columnKey?c.order:null,ellipsis:!0},{title:"Company Name",dataIndex:"CompName",key:"CompName",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.CompName)?void 0:n.localeCompare(t.CompName)},sortOrder:"CompName"===c.columnKey?c.order:null,ellipsis:!0},{title:"Branch Name",dataIndex:"BrName",key:"BrName",align:"left",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[p],onFilter:(e,t)=>String(t.AppName).toLowerCase().includes(e.toLowerCase())||String(t.CompName).toLowerCase().includes(e.toLowerCase())||String(t.BrName).toLowerCase().includes(e.toLowerCase())||String(t.City).toLowerCase().includes(e.toLowerCase())||String(t.Dist).toLowerCase().includes(e.toLowerCase())||String(t.State).toLowerCase().includes(e.toLowerCase())||String(t.BrMobile).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.BrName)?void 0:n.localeCompare(t.BrName)},sortOrder:"BrName"===c.columnKey?c.order:null,ellipsis:!0},{title:"Mobile No",dataIndex:"BrMobile",key:"BrMobile",align:"left",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"City",dataIndex:"City",key:"City",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:"NA"!=e&&e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.City)?void 0:n.localeCompare(null==t?void 0:t.City)},sortOrder:"City"===c.columnKey?c.order:null,ellipsis:!0},{title:"District",dataIndex:"Dist",key:"Dist",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.Dist)?void 0:n.localeCompare(null==t?void 0:t.Dist)},sortOrder:"Dist"===c.columnKey?c.order:null,ellipsis:!0},{title:"State",dataIndex:"State",key:"State",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.State)?void 0:n.localeCompare(null==t?void 0:t.State)},sortOrder:"State"===c.columnKey?c.order:null,ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",align:"center",width:"150px",render:(e,t,a)=>("Admin"===S||"Admin User"===S?(null==o?void 0:o.length)>=1:(null==s?void 0:s.length)>=1)?Ye.jsxs(P,{size:"middle",children:["A"===t.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==d?void 0:d.length)||"Y"===(null==(e=null==d?void 0:d.find((e=>"Branch"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async(e,t)=>{"D"!==e.ActiveStatus&&n(`${CP}setting/branch-master/update`,{state:{editstate:e}},{key:t})})(t,a):" "}})}):"",Ye.jsx("a",{children:"A"===t.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==d?void 0:d.length)||"Y"===(null==(e=null==d?void 0:d.find((e=>"Branch"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?(async e=>{var t;let n={BrId:e.BrId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},a=await i(uy(n)).unwrap();1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)&&(k(),f("success"),v("A"==e.ActiveStatus?"Branch In-Activated Successfully":"Branch Activated Successfully"),"Admin"===S?i(fy(iA("UserId"))):"Super Admin"!==S&&"Super Admin User"!==S||await i(ly()).unwrap())})(t):" "}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==d?void 0:d.length)||"Y"===(null==(e=null==d?void 0:d.find((e=>"Branch"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?(async e=>{var t,n,a,r,s,l,o;if("D"!==(null==e?void 0:e.CompActiveStatus)){let d=await i(xy({UserId:"Admin"===S?iA("UserId"):null==e?void 0:e.UserId,AppId:null==e?void 0:e.AppId,CompId:null==e?void 0:e.CompId})).unwrap(),c=null==(n=null==(t=d.data)?void 0:t.data[0])?void 0:n.BranchCount,u=null==(l=null==(s=null==(r=null==(a=d.data)?void 0:a.data[0])?void 0:r.FeatureDetails)?void 0:s.filter((e=>"Branch"==e.FeatName))[0])?void 0:l.FeatConstraint;if(c<u){let t={BrId:e.BrId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},n=await i(uy(t)).unwrap();1==(null==(o=null==n?void 0:n.data)?void 0:o.statusCode)&&(k(),f("success"),v("A"==e.ActiveStatus?"Branch In-Activated Successfully":"Branch Activated Successfully"),"Admin"===S?i(fy(iA("UserId"))):"Super Admin"!==S&&"Super Admin User"!==S||await i(ly()).unwrap())}else f("error"),v("You need to delete one branch in your company if you wanna add this branch")}else f("error"),v("You need to activate your company")})(t):" "}})})]}):null}],O=async()=>{var e;let t=await i(Cy({UserId:l})).unwrap();j(null==(e=null==t?void 0:t.data)?void 0:e.data)};return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:h,messageData:m,onComplete:B}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Branch"})}),Ye.jsxs("div",{className:"searchAddDiv searchAddDivBranch",children:[Ye.jsx(F,{title:"Search by App Name, Company Name, Branch Name, City, District, State or Mobile No",placement:"left",children:Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search by App Name, Company Name, Branch Name, City, District, State or Mobile No",onSearch:e=>{A(e)},onSearchChange:e=>{var t;A(null==(t=null==e?void 0:e.target)?void 0:t.value)}})})}),Ye.jsx(F,{title:0===g?"Purchase Additional Branches":"N"===(null==(e=null==d?void 0:d.find((e=>"Branch"==(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess)?"You don't have an access":"",children:Ye.jsx(Ry,{buttonText:"Add New",handleSubmit:()=>{n(`${CP}setting/branch-master/new`)},color:"901D77",icon:Ye.jsx(C,{}),disabled:"Super Admin"!==S&&(0===g||"N"===(null==(t=null==d?void 0:d.find((e=>"Branch"==(null==e?void 0:e.ConfigName))))?void 0:t.AddAccess)),children:"OPEN"})})]})]}),Ye.jsx("div",{className:"reportTableCompany",children:"Admin"===S||"Admin User"===S?Ye.jsx(Vb,{columns:_,data:o,dataSource:o,pagination:E,onChange:T}):Ye.jsx(Vb,{columns:_,data:s,dataSource:s,pagination:E,onChange:T})})]})})},empAccess:"Branch",access:"Admin"},{path:"branch-master/new",component:e=>Ye.jsx(jP,{...e,formType:"add"}),empAccess:"Branch",access:"Admin"},{path:"branch-master/update",component:e=>Ye.jsx(jP,{...e,formType:"edit"}),empAccess:"Branch",access:"Admin"},{path:"warehouse-master",component:()=>{var e;const t=um(),n=Qt(),i=Mt(),[r,s]=a.useState(iA("UserType")?iA("UserType"):null),l=iA("UserId"),[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState(""),[h,f]=a.useState({}),[m,v]=a.useState([]),[g,y]=a.useState(0),x=Tf(Gg),[b,w]=a.useState(1),j=Qt();a.useEffect((()=>{"Admin"==r&&S()}),[l]);const S=async()=>{var e,n,i,a;let r=await t(dw(l)).unwrap();1===(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)?y(null==(i=null==(n=null==r?void 0:r.data)?void 0:n.data)?void 0:i.RemainingWarehouseCount):0===(null==(a=null==r?void 0:r.data)?void 0:a.statusCode)&&y(0)},N=[{name:"Home",link:`${vre}landing-page/home`},{name:"Warehouse",link:`${vre}setting/warehouse-master`}],I=[{title:"SI.NO",key:"sno",align:"center",width:"60px",render:(e,t,n)=>Ye.jsx("span",{children:10*(b-1)+n+1})},{title:"Warehouse Name",dataIndex:"BrName",key:"BrName",align:"center",filteredValue:[p],onFilter:(e,t)=>String(t.BrName).toLowerCase().includes(e.toLowerCase())},{title:"Contact Person",dataIndex:"BrInCharge",key:"BrInCharge",align:"center"},{title:"Mobile",dataIndex:"BrMobile",key:"BrMobile",width:"120px",align:"center"},{title:"Actions",key:"actions",align:"center",width:"100px",render:(e,t,n)=>Ye.jsxs(P,{size:"middle",children:["A"===t.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>F(t,n)})}):"",Ye.jsx("a",{children:"A"===t.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>B(t)}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>B(t)})})]})}];a.useEffect((()=>{var e,n,a;try{t(Gh({items:N})),(null==(e=null==i?void 0:i.state)?void 0:e.Notiffy)&&(d(null==(n=null==i?void 0:i.state)?void 0:n.Notiffy.messageType),u(null==(a=null==i?void 0:i.state)?void 0:a.Notiffy.messageData))}catch(r){}}),[]),a.useEffect((()=>{k()}),[iA("UserId")]);const F=async(e,t)=>{"D"!==e.ActiveStatus&&n(`${vre}setting/warehouse-master/update`,{state:{editstate:e}},{key:t})},B=async e=>{var n;let i={BrId:e.BrId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},a=await t(uy(i)).unwrap();1==(null==(n=null==a?void 0:a.data)?void 0:n.statusCode)&&(k(),d("success"),u("A"==e.ActiveStatus?"Branch In-Activated Successfully":"Branch Activated Successfully"))},k=async()=>{var e,n,i,a;if("Admin"==r){let i=await t(my(iA("UserId"))).unwrap();1==(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)?v(null==(n=null==i?void 0:i.data)?void 0:n.data):v([])}else{await t(hy()).unwrap();let e=await t(my()).unwrap();1==(null==(i=null==e?void 0:e.data)?void 0:i.statusCode)?v(null==(a=null==e?void 0:e.data)?void 0:a.data):v([])}},T=a.useCallback((()=>{u(null),d(null)}),[]);return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:o,messageData:c,onComplete:T}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Warehouse"})}),Ye.jsxs("div",{className:"searchAddDiv searchAddDivBranch",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{A(e)},onSearchChange:e=>{var t;A(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",handleSubmit:()=>{j(`${vre}setting/warehouse-master/new`)},color:"901D77",icon:Ye.jsx(C,{}),disabled:"Super Admin"!==r&&("Super Admin User"===r?"N"===(null==(e=null==x?void 0:x.find((e=>"Warehouse"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess):"Admin"===r&&0===g),children:"OPEN"})]})]}),Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:I,data:m,dataSource:m,pagination:e=>{w(e)},onChange:(e,t,n)=>{f(n)}})})]})})},empAccess:"Warehouse",access:"Admin"},{path:"warehouse-master/new",component:e=>Ye.jsx(mre,{...e,formType:"add"}),empAccess:"Warehouse",access:"Admin"},{path:"warehouse-master/update",component:e=>Ye.jsx(mre,{...e,formType:"edit"}),empAccess:"Warehouse",access:"Admin"},{path:"application-master",component:()=>{var e;const t=Qt(),n=um(),i=Mt(),r=Tf(Ub),s=Tf(Gg),l=iA("UserType"),[o,d]=a.useState({}),[c,u]=a.useState(""),[p,A]=a.useState(null),[h,f]=a.useState(null),[m,v]=a.useState(1),g=[{name:"Home",link:`${OP}landing-page/home`},{name:"Application",link:`${OP}setting/application-master`}];a.useEffect((()=>{var e,t,a;try{n(Gh({items:g})),n(Ib()).unwrap(),(null==(e=null==i?void 0:i.state)?void 0:e.Notiffy)&&(A(null==(t=null==i?void 0:i.state)?void 0:t.Notiffy.messageType),f(null==(a=null==i?void 0:i.state)?void 0:a.Notiffy.messageData))}catch(r){}}),[]);const y=a.useCallback((()=>{f(null),A(null)}),[]),x=async e=>{var t;let i={AppId:e.AppId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},a=await n(kb(i)).unwrap();1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)&&(n(Ib()).unwrap(),A("success"),f("A"==e.ActiveStatus?"Application In-Activated Successfully":"Application Activated Successfully"))},b=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(m-1)+n+1})},{title:"Application Name",dataIndex:"AppName",key:"AppName",width:"200px",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[c],onFilter:(e,t)=>String(t.AppName).toLowerCase().includes(e.toLowerCase())||String(t.CateName).toLowerCase().includes(e.toLowerCase())||String(t.SubCateName).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.AppName)?void 0:n.localeCompare(t.AppName)},sortOrder:"AppName"===o.columnKey?o.order:null,ellipsis:!0},{title:"Module",dataIndex:"CategoryName",key:"CategoryName",align:"left",width:"200px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.CategoryName)?void 0:n.localeCompare(t.CategoryName)},sortOrder:"CategoryName"===o.columnKey?o.order:null,ellipsis:!0},{title:"Sub Module",dataIndex:"SubCategoryName",key:"SubCategoryName",align:"left",width:"200px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.SubCategoryName)?void 0:n.localeCompare(t.SubCategoryName)},sortOrder:"SubCategoryName"===o.columnKey?o.order:null,ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",width:"200px",align:"center",render:(e,n,i)=>r.length>=1?Ye.jsxs(P,{size:"middle",children:["A"===n.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==s?void 0:s.length)||"Y"===(null==(e=null==s?void 0:s.find((e=>"Application"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async(e,n)=>{"D"!==e.ActiveStatus&&t(`${OP}setting/application-master/update`,{state:{editstate:e}},{key:n})})(n,i):""}})}):"",Ye.jsx("a",{children:"A"===n.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==s?void 0:s.length)||"Y"===(null==(e=null==s?void 0:s.find((e=>"Application"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?x(n):""}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==s?void 0:s.length)||"Y"===(null==(e=null==s?void 0:s.find((e=>"Application"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?x(n):""}})})]}):null}];return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:p,messageData:h,onComplete:y}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Application"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{u(e)},onSearchChange:e=>{var t;u(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",handleSubmit:()=>{t(`${OP}setting/application-master/new`)},color:"901D77",icon:Ye.jsx(C,{}),disabled:"Super Admin"!==l&&"N"===(null==(e=null==s?void 0:s.find((e=>"Application"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:b,data:r,dataSource:r,pagination:e=>{v(e)},onChange:(e,t,n)=>{d(n)}})," "]})]})})},empAccess:"Application"},{path:"application-master/new",component:e=>Ye.jsx(_P,{...e,formType:"add"}),empAccess:"Application"},{path:"application-master/update",component:e=>Ye.jsx(_P,{...e,formType:"edit"}),empAccess:"Application"},{path:"app-menu",component:()=>{var e;const t=Qt(),n=Mt(),i=um(),r=iA("UserType"),[s,l]=a.useState(null),[o,d]=a.useState(null),[c,u]=a.useState([]),[p,A]=a.useState({}),[h,f]=a.useState(""),[m,v]=a.useState(1),g=Tf(Gg);async function y(){var e,t,a,r,s;(null==(e=null==n?void 0:n.state)?void 0:e.Notiffy)&&(l(null==(t=null==n?void 0:n.state)?void 0:t.Notiffy.messageType),d(null==(a=null==n?void 0:n.state)?void 0:a.Notiffy.messageData));const o=await i(Ok()).unwrap();1===(null==(r=o.data)?void 0:r.statusCode)&&await u(null==(s=o.data)?void 0:s.data)}a.useEffect((()=>{try{y()}catch(e){}}),[]),a.useEffect((()=>{i(Gh({items:zk}))}),[]);const x=async e=>{var t;let n={MenuId:e.MenuId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},a=await i(Hk(n)).unwrap();1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)&&(y(),l("success"),d("A"===e.ActiveStatus?"Application Menu In-Activated Successfully":"Application Menu Activated Successfully"))},b=[{title:"SI.NO",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(m-1)+n+1})},{title:"App Name",dataIndex:"AppName",key:"AppName",align:"left",width:"200px",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[h],onFilter:(e,t)=>String(t.AppName).toLowerCase().includes(e.toLowerCase())||String(t.MenuName).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n,i;return(null==(n=null==e?void 0:e.AppName)?void 0:n.length)-(null==(i=null==t?void 0:t.AppName)?void 0:i.length)},sortOrder:"AppName"===p.columnKey?p.order:null,ellipsis:!0},{title:"Menu Name",dataIndex:"MenuName",key:"MenuName",align:"left",width:"200px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n,i;return(null==(n=null==e?void 0:e.MenuName)?void 0:n.length)-(null==(i=null==t?void 0:t.MenuName)?void 0:i.length)},sortOrder:"MenuName"===p.columnKey?p.order:null,ellipsis:!0},{title:"Action",key:"Action",align:"center",dataIndex:"Action",width:"200px",render:(e,n,i)=>c.length>=1?Ye.jsxs(P,{size:"middle",children:["A"===n.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==g?void 0:g.length)||"Y"===(null==(e=null==g?void 0:g.find((e=>"Application Menu"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async(e,n)=>{"D"!==e.ActiveStatus&&t(`${Vk}setting/app-menu/update`,{state:{editstate:e}},{key:n})})(n,i):" "}})}):"",Ye.jsx("a",{children:"A"===n.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==g?void 0:g.length)||"Y"===(null==(e=null==g?void 0:g.find((e=>"Application Menu"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?x(n):" "}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==g?void 0:g.length)||"Y"===(null==(e=null==g?void 0:g.find((e=>"Application Menu"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?x(n):" "}})})]}):null}],w=a.useCallback((()=>{d(null),l(null)}),[]);return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:s,messageData:o,onComplete:w}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Application Menu"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{f(e)},onSearchChange:e=>{var t;f(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",handleSubmit:()=>{t(`${Vk}setting/app-menu/new`)},color:"901D77",icon:Ye.jsx(C,{}),disabled:"Super Admin"!==r&&"N"===(null==(e=null==g?void 0:g.find((e=>"Application Menu"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:b,data:c,dataSource:c,pagination:e=>{v(e)},onChange:(e,t,n)=>{A(n)}})," "]})]})})},empAccess:"Application Menu"},{path:"app-menu/new",component:e=>Ye.jsx(Wk,{...e,formType:"add"}),empAccess:"Application Menu"},{path:"app-menu/update",component:e=>Ye.jsx(Wk,{...e,formType:"edit"}),empAccess:"Application Menu"},{path:"feature-mapping",component:()=>{var e;const t=Qt(),n=Mt(),i=um(),r=Tf(Gg),[s,l]=a.useState(null),[o,d]=a.useState(null),[c,u]=a.useState([]),[p,A]=a.useState({}),[h,f]=a.useState(""),[m,v]=a.useState(1),g=iA("UserType");async function y(){var e,t,n;const a=await i(Sk()).unwrap();1===(null==(e=a.data)?void 0:e.statusCode)&&await u(null==(n=null==(t=a.data)?void 0:t.data)?void 0:n.filter((e=>"A"===e.ActiveStatus)))}a.useEffect((()=>{var e,t,i;try{(null==(e=null==n?void 0:n.state)?void 0:e.Notiffy)&&(l(null==(t=null==n?void 0:n.state)?void 0:t.Notiffy.messageType),d(null==(i=null==n?void 0:n.state)?void 0:i.Notiffy.messageData)),y()}catch(a){}}),[]),a.useEffect((()=>{i(Gh({items:kk}))}),[]);const x=async e=>{var t;let n={AppId:e.AppId,PricingId:e.PricingId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},a=await i(Bk(n)).unwrap();1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)&&(l("success"),d("A"==e.ActiveStatus?"Feature Mapping Deleted Successfully":"Feature Mapping Activated Successfully"),y())},b=[{title:"SI.NO",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(m-1)+n+1})},{title:"App Name",dataIndex:"AppName",key:"AppName",align:"left",width:"200px",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[h],onFilter:(e,t)=>String(t.AppName).toLowerCase().includes(e.toLowerCase())||String(t.PricingName).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.AppName)?void 0:n.localeCompare(t.AppName)},sortOrder:"AppName"===p.columnKey?p.order:null,ellipsis:!0},{title:"Pricing Name",dataIndex:"PricingName",key:"PricingName",align:"left",width:"200px",render:(e,t)=>Ye.jsxs("a",{style:{color:"black",width:"200px"},children:[t.PricingName," ("+(t.NoOfDays>35?"Yearly":"Monthly")+")"]}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.PricingName)?void 0:n.localeCompare(t.PricingName)},sortOrder:"PricingName"===p.columnKey?p.order:null,ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",align:"center",width:"200px",render:(e,n,i)=>c.length>=1?Ye.jsxs(P,{size:"middle",children:["A"===n.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==r?void 0:r.length)||"Y"===(null==(e=null==r?void 0:r.find((e=>"Feature Mapping"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async(e,n)=>{"D"!==e.ActiveStatus&&t(`${Pk}setting/feature-mapping/update`,{state:{editstate:e}},{key:n})})(n,i):" "}})}):"",Ye.jsx("a",{children:"A"===n.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==r?void 0:r.length)||"Y"===(null==(e=null==r?void 0:r.find((e=>"Feature Mapping"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?x(n):" "}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==r?void 0:r.length)||"Y"===(null==(e=null==r?void 0:r.find((e=>"Feature Mapping"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?x(n):" "}})})]}):null}],w=a.useCallback((()=>{d(null),l(null)}),[]);return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:s,messageData:o,onComplete:w}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Feature Mapping"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{f(e)},onSearchChange:e=>{var t;f(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",handleSubmit:()=>{t(`${Pk}setting/feature-mapping/new`)},color:"901D77",icon:Ye.jsx(C,{}),disabled:"Super Admin"!==g&&"N"===(null==(e=null==r?void 0:r.find((e=>"Feature Mapping"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:b,data:c,dataSource:c,pagination:e=>{v(e)},onChange:(e,t,n)=>{A(n)}})})]})})},empAccess:"Feature Mapping"},{path:"feature-mapping/new",component:e=>Ye.jsx(Ek,{...e,formType:"add"}),empAccess:"Feature Mapping"},{path:"feature-mapping/update",component:e=>Ye.jsx(Ek,{...e,formType:"edit"}),empAccess:"Feature Mapping"},{path:"device-allocation",component:()=>{var e;const t=Qt(),n=um(),i=Mt(),r=Tf(Fy),s=Tf(Gg),l=iA("UserId"),o=iA("UserType"),[d,c]=a.useState({}),[u,p]=a.useState(""),[A,h]=a.useState(null),[f,m]=a.useState(null),[v,g]=a.useState(1),[y,x]=a.useState(),b=[{name:"Home",link:`${Tee}landing-page/home`}];a.useEffect((()=>{var e,t;try{n(Gh({items:b})),n(ly()).unwrap(),(null==(e=null==i?void 0:i.state)?void 0:e.Notiffy)&&(h("Sucess"),m(null==(t=null==i?void 0:i.state)?void 0:t.Notiffy.messageData))}catch(a){}w()}),[]),a.useEffect((()=>{n(fy(l))}),[l]);const w=async()=>{var e,t,i;try{let a=await(null==(e=n(Fee()))?void 0:e.unwrap());1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)&&x(null==(i=null==a?void 0:a.data)?void 0:i.data)}catch(a){}},j=a.useCallback((()=>{m(null),h(null)}),[]),S=async e=>{var t;let i={uniqueId:e.UniqueId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:l},a=await n(kee(i)).unwrap();1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)&&(h("success"),m("A"==e.ActiveStatus?"Device In-Activated Successfully":"Device Activated Successfully"),w())},N=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(v-1)+n+1})},{title:"AppName",dataIndex:"AppName",key:"AppName",align:"Center",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.AppName)?void 0:n.localeCompare(null==t?void 0:t.AppName)},sortOrder:"AppName"===d.columnKey?d.order:null,ellipsis:!0},{title:"Company Name",dataIndex:"CompName",key:"CompName",align:"center",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[u],onFilter:(e,t)=>String(t.BrName).toLowerCase().includes(e.toLowerCase())||String(t.City).toLowerCase().includes(e.toLowerCase())||String(t.Dist).toLowerCase().includes(e.toLowerCase())||String(t.State).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.CompName)?void 0:n.localeCompare(t.CompName)},sortOrder:"CompName"===d.columnKey?d.order:null,ellipsis:!0},{title:"BranchName",dataIndex:"BranchName",key:"BranchName",align:"center",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.BranchName)?void 0:n.localeCompare(null==t?void 0:t.BranchName)},sortOrder:"BranchName"===d.columnKey?d.order:null,ellipsis:!0},{title:"UserName",dataIndex:"UserName",key:"UserName",align:"left",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.UserName)?void 0:n.localeCompare(null==t?void 0:t.UserName)},sortOrder:"UserName"===d.columnKey?d.order:null,ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",align:"center",width:"150px",render:(e,n,i)=>r.length>=1?Ye.jsxs(P,{size:"middle",children:["A"===n.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==s?void 0:s.length)||"Y"===(null==(e=null==s?void 0:s.find((e=>"Device Allocation"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async(e,n)=>{"D"!==e.ActiveStatus&&t(`${Tee}setting/device-allocation/update`,{state:{editstate:e}},{key:n})})(n,i):" "}})}):"",Ye.jsx("a",{children:"A"===n.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==s?void 0:s.length)||"Y"===(null==(e=null==s?void 0:s.find((e=>"Device Allocation"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?S(n):" "}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==s?void 0:s.length)||"Y"===(null==(e=null==s?void 0:s.find((e=>"Device Allocation"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?S(n):" "}})})]}):null}];return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:A,messageData:f,onComplete:j}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Device Allocation"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{p(e)},onSearchChange:e=>{var t;p(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",handleSubmit:()=>{t(`${Tee}setting/device-allocation/new`)},color:"901D77",icon:Ye.jsx(C,{}),disabled:"Super Admin"!==o&&"N"===(null==(e=null==s?void 0:s.find((e=>"Device Allocation"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsx("div",{className:"reportTable",children:("Super Admin"===o||"Super Admin User"===o)&&Ye.jsx(Vb,{columns:N,data:y,dataSource:y,pagination:e=>{g(e)},onChange:(e,t,n)=>{c(n)}})})]})})},empAccess:"Device Allocation"},{path:"device-allocation/new",component:e=>Ye.jsx(Dee,{...e,formType:"add"}),empAccess:"Device Allocation"},{path:"device-allocation/update",component:e=>Ye.jsx(Dee,{...e,formType:"edit"}),empAccess:"Device Allocation"},{path:"device-information",component:()=>{var e;const t=um(),[n]=I.useForm(),[i,r]=a.useState(!1),[s,l]=a.useState([]),[o,d]=a.useState(!1),[c,u]=a.useState({}),[p,A]=a.useState(""),[h,f]=a.useState(null),[m,v]=a.useState(null),[g,y]=a.useState(1),[x,b]=a.useState([]),[w,j]=a.useState(),S=iA("UserType"),N=Tf(Gg);a.useEffect((()=>{F()}),[]);const F=async()=>{var e,n,i,a,r,s;try{t(Gh({items:Lee}));let l=await(null==(e=t(wee()))?void 0:e.unwrap());1==(null==(n=null==l?void 0:l.data)?void 0:n.statusCode)&&b(null==(i=null==l?void 0:l.data)?void 0:i.data);let o=await(null==(a=t(Fee()))?void 0:a.unwrap());1==(null==(r=null==o?void 0:o.data)?void 0:r.statusCode)&&j(null==(s=o.data)?void 0:s.data)}catch(l){}},B=a.useCallback((()=>{v(null),f(null)}),[]);const k=async e=>{var n;let i={deviceId:e.DeviceId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},a=await t(Nee(i)).unwrap();1==(null==(n=null==a?void 0:a.data)?void 0:n.statusCode)&&(F(),f("success"),v("A"==e.ActiveStatus?" Config Data In-Activated Successfully":"Config Data Activated Successfully"))},T=[{title:"SI.NO",key:"sno",align:"center",width:"60px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(g-1)+n+1})},{title:"Device Id",dataIndex:"DeviceAddress",key:"DeviceAddress",align:"left",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[p],onFilter:(e,t)=>String(t.DeviceAddress).toLowerCase().includes(e.toLowerCase())||String(t.DeviceAddress).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.DeviceAddress)?void 0:n.localeCompare(t.DeviceAddress)},sortOrder:"DeviceAddress"===c.columnKey?c.order:null,ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",width:"50px",align:"left",render:(e,t,i)=>x.length>=1?Ye.jsxs(P,{size:"middle",children:["A"===t.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==N?void 0:N.length)||"Y"===(null==(e=null==N?void 0:N.find((e=>"Device Information"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async e=>{"D"===e.ActiveStatus||(null==w?void 0:w.some((t=>(null==t?void 0:t.DeviceAddress)==(null==e?void 0:e.DeviceAddress))))?(f("warning"),v("Device Already Allocated")):(await r(!0),await l(e),await d(!0),n.setFieldsValue(e))})(t):""}})}):"",Ye.jsx("a",{children:"A"===t.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==N?void 0:N.length)||"Y"===(null==(e=null==N?void 0:N.find((e=>"Device Information"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?k(t):""}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==N?void 0:N.length)||"Y"===(null==(e=null==N?void 0:N.find((e=>"Device Information"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?k(t):""}})})]}):null}];return Ye.jsxs("div",{className:"userPageTable",children:[Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:h,messageData:m,onComplete:B}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Device Information"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{A(e)},onSearchChange:e=>{var t;A(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",color:"901D77",handleSubmit:()=>{r(!0),n.resetFields(),d(!1)},icon:Ye.jsx(C,{}),disabled:"Super Admin"!==S&&"N"===(null==(e=null==N?void 0:N.find((e=>"Device Information"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:T,data:x,pagination:e=>{y(e)},onChange:(e,t,n)=>{u(n)}})})]}),Ye.jsx(SP,{open:i,title:"Device Information",footer:!0,children:Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsx(I,{form:n,children:Ye.jsx(I.Item,{name:"DeviceAddress",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter DeviceAddress"},{validator:async(e,t)=>(await lA(t),t&&t.length>25?Promise.reject("Device Address should not exceed 25 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"DeviceAddress",name:"test",label:Ye.jsx("label",{className:"required",children:"Device Id"}),className:"Input",fieldState:!!o||"",fieldApi:[{setValue:"s",setTouched:!0}],autocomplete:"off",isOnChange:!!o})})})})}),handleCancel:()=>{r(!1)},handleSubmit:async()=>{var e,i,a,l,d,c,u,p;const A=await n.validateFields();if(o){let n={DeviceId:null==s?void 0:s.DeviceId,DeviceAddress:null==A?void 0:A.DeviceAddress,UpdatedBy:iA("UserId")},o=null==w?void 0:w.some((e=>(null==e?void 0:e.DeviceAddress)==(null==n?void 0:n.DeviceAddress)));if(o)v("Already Allocated"),f("error");else{let s=await(null==(e=t(See(n)))?void 0:e.unwrap());1==(null==(i=null==s?void 0:s.data)?void 0:i.statusCode)?(F(),f("success"),v(null==(a=null==s?void 0:s.data)?void 0:a.response),r(!1)):(f("error"),v(null==(l=null==s?void 0:s.data)?void 0:l.response))}}else{let e={DeviceAddress:null==A?void 0:A.DeviceAddress,CreatedBy:iA("UserId")},n=await(null==(d=t(Cee(e)))?void 0:d.unwrap());1==(null==(c=null==n?void 0:n.data)?void 0:c.statusCode)?(f("success"),v(null==(u=null==n?void 0:n.data)?void 0:u.response),r(!1),F()):(f("error"),v(null==(p=null==n?void 0:n.data)?void 0:p.response))}}})]})},empAccess:"Device Information"},{path:"feat-addon",component:()=>{const e=a.useRef(),t=Qt(),n=um(),i=iA("UserId"),[r,s]=a.useState(1),[l,o]=a.useState([]),[d,c]=a.useState(""),[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState(),[v,g]=a.useState([]),[y,x]=a.useState(!1),[b,w]=a.useState(null),[S,N]=a.useState(!1),[B,T]=a.useState({}),[E,D]=a.useState([]),L=[{name:"Home",link:`${nee}landing-page/home`},{name:"FeatureAddon",link:`${nee}setting/feat-addon`}];a.useEffect((()=>{n(Gh({items:L})),O()}),[]);const U=a.useCallback((()=>{h(null),p(null)}),[]);a.useEffect((()=>{_()}),[]);const _=async()=>{var e,t,i;let a=await n(ew()).unwrap();1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)&&D(null==(i=null==(t=null==a?void 0:a.data)?void 0:t.data[0])?void 0:i.PaymentUPIDetailsId)},O=async()=>{var e,t;let a={UserId:i},r=await n(PT(a)).unwrap();1==(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)&&o(null==(t=null==r?void 0:r.data)?void 0:t.data)},M=[{title:"SI.NO",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(r-1)+n+1})},{title:"Application",dataIndex:"AppName",key:"AppName",width:"100px",align:"left",filteredValue:[d],onFilter:(e,t)=>String(t.AppName).toLowerCase().includes(e.toLowerCase())||String(t.PaymentModeName).toLowerCase().includes(e.toLowerCase())||String(t.CreatedByMobileNo).toLowerCase().includes(e.toLowerCase())},{title:"PAYMENT MODE",dataIndex:"PaymentModeName",key:"PaymentModeName",align:"left",width:"70px"},{title:"Net Amount",dataIndex:"NetPrice",key:"Amount",align:"right",width:"100px"},{title:"Purchase Date",dataIndex:"PurDate",key:"PurDate",align:"right",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black"},children:tA(null==e?void 0:e.split("T")[0])})},{title:"Purchase By",dataIndex:"CreatedByName",key:"CreatedByName",align:"right",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Purchase Mobile",dataIndex:"CreatedByMobileNo",key:"CreatedByMobileNo",align:"right",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Purchase Type",dataIndex:"CreatedByUserType",key:"CreatedByUserType",align:"right",width:"100px",render:e=>Ye.jsx("a",{style:{color:"Admin"==e?"green":"Employee"==e?"red":"Super Admin User"==e?"blue":"black"},children:e})},{title:"Details",key:"Details",dataIndex:"Details",width:"50px",align:"center",render:(e,t)=>Ye.jsx(ty,{style:{color:"#1292EE",fontSize:"25px",cursor:"pointer"},onClick:()=>R(t)})},{title:"Valid From",dataIndex:"ValidityStart",key:"ValidityStart",align:"right",width:"150px",render:e=>eA(e)},{title:"Valid To",dataIndex:"ValidityEnd",key:"ValidityEnd",align:"right",width:"150px",render:e=>eA(e)},{title:"Download",key:"Download",dataIndex:"Action",align:"center",render:(e,t,n)=>Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{children:Ye.jsx(ye,{style:{color:"#FF4D4F"},onClick:()=>Q(t)})})})},{title:"Share",key:"Share",dataIndex:"Share",align:"center",render:(e,t,n)=>Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{children:Ye.jsx(CE,{style:{color:"##dddddd"},onClick:()=>H(t)})})})}],R=e=>{var t;w(null==e?void 0:e.FeatAddonDetails),N(!0);let n=null==(t=null==e?void 0:e.FeatAddonDetails)?void 0:t.reduce(((e,t)=>(e.NetPrice+=t.NetPrice,e.Price+=t.Price,e.TaxAmount+=t.TaxAmount,e)),{NetPrice:0,Price:0,TaxAmount:0});T(n)},Q=async e=>{await g(e),await(async()=>{await sA("PdffeatAddon","<style>\n*{\n font-family:Poppins;\n}\n.Pdf-body{ \n background-color: #33585c1f;\n height: 100%;\n margin: 0vw 0vh;\n padding: 1vw 2vh;\n}\n\n@media *{\n element.class {\n font-family: \"Courier New\";\n font-size: 10pt;\n }\n /* You can add additional styles here which you need */\n}\n\n.Pdf-Div{\n padding: 1vw 1vh;\n background-color:rgb(255, 255, 255);\n border-radius: 8px; \n position: relative;\n z-index: 1;\n display: flex;\n flex-wrap: wrap;\n justify-content: space-around; \n}\n\n.Pdf-head-div{\n padding: 0vw 1vh;\n color: #2b2b2b;\n}\n\n.Pdf-head{\n font-size:45px;\n font-weight:600; \n color: #000000; \n line-height: 0;\n}\n\n.headlogo-img{ \nwidth: 70px;\n}\n\n.Pdf-amt-digit{\nfont-weight:600;\n}\n.square {\n height: 240px;\n width: 240px;\n // background-color: #851764; \n background-color: #f5f5f5; \n border-radius: 5%;\n display: inline-block; \n position: relative;\n z-index: -1; \n margin-top: -18rem;\n margin-left: -2rem;\n}\n\n.Pdf-Cont-Div{\n background-color: #ffffff; \n padding: 0vw 2vh; \n \n}\n\n.Pdf-cont{\n // background-color: #33585c1f; \n margin: 0vw 0vh;\n padding: 0vw 0vh;\n display: flex; \n // flex-wrap: wrap;\n row-gap: 1rem;\n justify-content: space-evenly; \n}\n\n.Pdf-amt-details{\n text-align: right;\n}\n\n\n.Pdf-cont-txt{\n padding: 0vw 1vh; \n}\n\n.Pdf-cont-subhead{\n font-size:20px;\n font-weight: 500;\n}\n\n.Pdf-cont-text{\n font-size:14px;\n}\n\n\n\n.Pdf-Table-Div{\n background-color: #ffffff; \n padding: 3vw 0vh; \n \n}\n\n\n\n\n.Pdf-Table-Div table {\n // border: 1px solid #ccc;\n border-collapse: collapse;\n margin: 0;\n padding: 0;\n width: 100%;\n table-layout: fixed;\n font-family:'Poppins';\n}\n\n.Pdf-Table-Div table caption {\n font-size: 1.2em;\n margin: .0em 0 .95em;\n padding: 1vw 3vh;\n font-family: 'Poppins' !important;\n text-transform: uppercase;\n font-weight:600;\n letter-spacing:3px;\n background-color: #f5f5f5;\n}\n\n.Pdf-Table-Div table tr {\n\n padding: .35em;\n}\n\n.Pdf-Table-Div table th,\n.Pdf-Table-Div table td {\n padding: 1vw 1vh; \n text-align: center;\n}\n\n.Pdf-Table-Div table th {\n font-size: .85em;\n letter-spacing: .1em;\n text-transform: uppercase;\n}\n\n\n.table-2div{ \n text-align: right;\n display: flex;\n flex-wrap: wrap;\n flex-direction: column;\n}\n\n.table-cont2{\n display: flex;\n justify-content: space-evenly;\n}\n\n.Pdf-footer-div{\n background-color: #ffffff; \n padding: 0vw 0vh; \n display: flex;\n flex-wrap: wrap;\n row-gap: 2rem;\n justify-content: center;\n}\n\n.Pdf-footer-subdiv{\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n row-gap: 0rem;\n align-items: center;\n width:300px;\n justify-content: space-around;\n\n}\n.Pdf-footer-txt1{\n font-size:18px;\n width: 500px;\n font-weight: 600; \n}\n\n.Pdf-footer-txt{\n font-size:13px;\n width: 500px;\n}\n\n.Pdf-footer-subdiv-txt-div{ \n justify-content: space-evenly;\n font-size: 15px;\n}\n\n.Pdf-footer-subdiv-txt{\n display: flex;\n align-items: center;\n text-align: left;\n line-height: 0;\n justify-content: start; \n \n}\n\n\n.logo-img{\n padding: 1vw 1vh;\n}\n\n@media screen and (max-width: 600px) {\n .Pdf-Table-Div table {\n border: 0;\n }\n\n .Pdf-Table-Div table caption {\n font-size: 1.3em;\n }\n \n .Pdf-Table-Div table thead {\n border: none;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n }\n \n .Pdf-Table-Div table tr {\n border-bottom: 3px solid #ddd;\n display: block;\n margin-bottom: .625em;\n }\n \n .Pdf-Table-Div table td {\n border-bottom: 1px solid #ddd;\n display: block;\n font-size: .8em;\n text-align: right;\n }\n \n .Pdf-Table-Div table td::before {\n /*\n * aria-label has no advantage, it won't be read inside a table\n content: attr(aria-label);\n */\n content: attr(data-label);\n float: left;\n font-weight: bold;\n text-transform: uppercase;\n }\n \n .Pdf-Table-Div table td:last-child {\n border-bottom: 0;\n }\n}\n\nhr.new3 { \n border-top: 1px dotted rgb(90, 90, 90); \n}\n\nhr.new4 { \n border :16px solid #2e4f53; \n}\n\n\n\n\n@media screen and (max-width: 976px) {\n\n.Pdf-Div{\n display: flex !important; \n margin: 0vw 0vh !important; \n flex-direction: row;\n justify-content: space-between !important;\n row-gap: 3rem;\n}\n\n.Pdf-head-div{\n display: flex !important; \n margin: 0vw 7vh !important;\n align-items: center;\n flex-direction: row;\n column-gap: 2rem;\n}\n\n.square{\ndisplay: none !important; \n}\n\n.Pdf-footer-div { \njustify-content: space-around !important;\n}\n\n}\n</style>")})()},H=e=>{m(null==e?void 0:e.UniqueId),x(!0)},V=[{title:"SI.NO",key:"sno",align:"center",width:"50px",render:(e,t,n)=>Ye.jsx("span",{style:{color:"black"},children:n+1})},{title:"FEATURE NAME",dataIndex:"FeatAddonName",key:"FeatAddonName"},{title:"FEATURE COUNT",dataIndex:"Count",align:"center",key:"Count"},{title:"BASIC AMOUNT ",dataIndex:"Price",key:"Price"},{title:"TAX AMOUNT",dataIndex:"TaxAmount",key:"TaxAmount"},{title:"NET AMOUNT",dataIndex:"NetPrice",key:"NetPrice"}];return Ye.jsxs("div",{className:"userPageTable",children:[Ye.jsx("div",{style:{display:"none"},children:Ye.jsx(tee,{printingdata:v,CompanyName:null,zipcode:null,address:null,City:null,MobileNo:iA("MobileNo")})}),Ye.jsx(j,{centered:!0,open:y,onOk:()=>x(!1),onCancel:()=>{x(!1),e.current.resetFields()},width:400,title:"Send Invoice to Another Email",children:Ye.jsxs(I,{ref:e,onFinish:async()=>{var t,i,a,r,s,l,o,d,c,u,A,m;let v={UniqueId:f,MailId:null==(i=null==(t=null==e?void 0:e.current)?void 0:t.getFieldValue())?void 0:i.Email,Link:`https://www.pozo.dev${nee}payment-page?paymentId=${f}&Id=${E}`},g=await n(iw({data:v})).unwrap();if(1===(null==(a=null==g?void 0:g.data)?void 0:a.statusCode)){if(null==(r=null==g?void 0:g.data)?void 0:r.SMSbody){const e={body:null==(s=null==g?void 0:g.data)?void 0:s.SMSbody};await n(aw(e))}if(null!==(null==(l=null==g?void 0:g.data)?void 0:l.UserMail)){const e={UniqueId:null==(o=null==g?void 0:g.data)?void 0:o.UniqueId,userData:null==(d=null==g?void 0:g.data)?void 0:d.userData,messageTemplatesList:null==(c=null==g?void 0:g.data)?void 0:c.messageTemplatesList,UserMail:null==(u=null==g?void 0:g.data)?void 0:u.UserMail,PaymentStatus:null==(A=null==g?void 0:g.data)?void 0:A.PaymentStatus};await n(UE(e))}p("success"),h("Receipt Sent Successfully")}else 0===(null==(m=null==g?void 0:g.data)?void 0:m.statusCode)&&(p("error"),h("Receipt Not Sent"));x(!1),e.current.resetFields()},children:[Ye.jsx(I.Item,{name:"Email",rules:[{required:!0,pattern:/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/,message:"Enter a valid email"}],children:Ye.jsx(Oy,{field:"Email",autoComplete:"nope",label:"Email",fieldState:!0,fieldApi:!0})}),Ye.jsx("div",{className:"model1-submit",children:Ye.jsx(Ry,{type:"submit",buttonText:"SHARE",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0})})]})}),Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:u,messageData:A,onComplete:U}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Feature Addon"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx(F,{title:"Search by Application Name, Payment Mode or Purchase Mobile No",children:Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search by Application Name, Payment Mode or Purchase Mobile No",onSearch:e=>{c(e)},onSearchChange:e=>{var t;c(null==(t=null==e?void 0:e.target)?void 0:t.value)}})})}),Ye.jsx(Ry,{buttonText:"Purchase New",color:"901D77",icon:Ye.jsx(C,{}),handleSubmit:()=>{t(`${nee}setting/feat-addon-form`)},children:"OPEN"})]})]}),Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:M,data:l,dataSource:l,pagination:e=>{s(e)}})})]}),Ye.jsx(SP,{title:"Details",width:1e3,maskClosable:!0,open:S,handleCancel:()=>N(!1),children:Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{ref:{},className:"purchase-info-model",children:[Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:V,dataSource:b,data:b,pagination:!1,className:"tablereport"})}),Ye.jsxs("div",{style:{display:"flex",justifyContent:"flex-end",flexDirection:"column",alignItems:"flex-end",width:"100%",fontSize:"14px",fontFamily:"Poppins",fontWeight:500},children:[Ye.jsxs("p",{children:["Sub Total : ",null==B?void 0:B.Price]}),Ye.jsxs("p",{children:["Tax Amount: ",null==B?void 0:B.TaxAmount]}),Ye.jsxs("p",{children:["Total: ",null==B?void 0:B.NetPrice]})]})]})})})]})},empAccess:"Feature Addon",access:"Admin"},{path:"feat-addon-form",component:()=>{var e,t,n;const i=a.useRef(null),r=Qt(),s=um(),[l,o]=a.useState(null),[d,c]=a.useState(null),[u,p]=a.useState(),[A,h]=a.useState(null),[f,m]=a.useState([]),[v,g]=a.useState([]),[y,x]=a.useState([]),[b,w]=a.useState(),[j,S]=a.useState([]),[N,F]=a.useState([]),[B,T]=a.useState([]),E=iA("UserId"),U=iA("UserType"),_=[{name:"Home",link:`${iee}landing-page/home`},{name:"FeatureAddon",link:`${iee}setting/feat-addon`},{name:"New",link:null}];a.useEffect((()=>{s(Gh({items:_})),O()}),[]),a.useEffect((()=>{let e=null==f?void 0:f.filter((e=>e.AppId===A));S(e);const t=null==y?void 0:y.filter((e=>e.FeatName==b));F(t)}),[f,y,b,A]);const O=async()=>{var e;let t;t="Employee"==U?await s(Lg({UserId:E})).unwrap():await s(Bg({UserId:E})).unwrap(),m(null==(e=null==t?void 0:t.data)?void 0:e.data)},M=(e,t,n,a,r,s)=>{var l;const o=e*a,d=e*s;null==(l=i.current)||l.setFieldsValue({[t]:e,[n]:o.toString(),[r]:d.toString()}),setTimeout((()=>{T((n=>({...n,[t]:e})))}),0)},[R,Q]=a.useState(!1),H=[{title:"SI.NO",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:n+1})},{title:"Application Name",dataIndex:"AppName",key:"AppName",width:"100px",align:"left"},{title:"Feature Name",dataIndex:"FeatName",key:"FeatName",align:"left",width:"100px"},{title:"Feature Count",dataIndex:"featcount",key:"featcount",align:"center",width:"100px"},{title:"Price",dataIndex:"NetPrice",key:"Amount",align:"center",width:"100px"},{title:"Net Amount",dataIndex:"OveralAmount",key:"OveralAmount",align:"right",width:"100px"},{title:"Action",dataIndex:"Action",key:"Action",align:"right",width:"100px",render:(e,t,n)=>(null==v?void 0:v.length)>=1?Ye.jsxs(P,{size:"middle",children:[Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>(async e=>{var t,n,a,r,s,l;Q(!0),w(e.FeatName),null==(t=i.current)||t.setFieldsValue({FeaturesName:e.FeatName}),null==(n=i.current)||n.setFieldsValue({FeaturesAmount:e.featcount}),M(e.featcount,"FeaturesAmount",(null==(a=null==N?void 0:N[0])?void 0:a.FeatName)+"Amt",null==(r=null==N?void 0:N[0])?void 0:r.NetPrice,(null==(s=null==N?void 0:N[0])?void 0:s.FeatName)+"Taxdetails",null==(l=null==N?void 0:N[0])?void 0:l.TaxAmount),T(e.OveralAmount)})(t)})}),Ye.jsx("a",{children:Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>(async e=>{let t=null==v?void 0:v.filter((t=>t.UniqueId!==e.UniqueId));g(t)})(t)})})]}):null}],V=a.useCallback((()=>{c(null),o(null)}),[]);return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:l,messageData:d,onComplete:V}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Feature Addon"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsxs(I,{ref:i,className:"formDivAnt1",onFinish:e=>{var t,n,a,r,s,l,o,d,c,u,p,A,h,m,x,b,C,S,I;Q(!1);const F=null==(n=null==(t=null==f?void 0:f.filter((t=>t.AppId===(null==e?void 0:e.AppName))))?void 0:t[0])?void 0:n.AppName,P=null==y?void 0:y.filter((t=>t.FeatName==(null==e?void 0:e.FeaturesName)));let k=v.filter((t=>t.FeatName!==(null==e?void 0:e.FeaturesName))),T=[{AppName:null==(a=null==N?void 0:N[0])?void 0:a.AppName,FeatName:null==(r=null==N?void 0:N[0])?void 0:r.FeatName,TaxAmount:(null==(s=null==j?void 0:j[0])?void 0:s.NoOfDays)>31?null==(l=null==N?void 0:N[0])?void 0:l.YearlyTaxAmount:null==(o=null==N?void 0:N[0])?void 0:o.MonthlyTaxAmount,Price:(null==(d=null==j?void 0:j[0])?void 0:d.NoOfDays)>31?null==(c=null==N?void 0:N[0])?void 0:c.YearlyPrice:null==(u=null==N?void 0:N[0])?void 0:u.MonthlyPrice,NetPrice:(null==(p=null==j?void 0:j[0])?void 0:p.NoOfDays)>31?null==(A=null==N?void 0:N[0])?void 0:A.YearlyNetPrice:null==(h=null==N?void 0:N[0])?void 0:h.MonthlyNetPrice,featcount:null==e?void 0:e.FeaturesAmount,OveralAmount:(null==B?void 0:B.FeaturesAmount)*((null==(m=null==j?void 0:j[0])?void 0:m.NoOfDays)>31?null==(x=null==N?void 0:N[0])?void 0:x.YearlyNetPrice:null==(b=null==N?void 0:N[0])?void 0:b.MonthlyNetPrice),TaxId:null==(C=null==N?void 0:N[0])?void 0:C.TaxId,UniqueId:null==(S=null==P?void 0:P[0])?void 0:S.UniqueId}];(null==(I=v.filter((e=>e.AppName==F)))?void 0:I.some((t=>t.FeatName===(null==e?void 0:e.FeaturesName))))?(g([...k,...T]),w(),i.current.setFieldsValue({FeaturesAmount:void 0}),i.current.setFieldsValue({FeaturesName:void 0})):(g([...v,...T]),w(),i.current.setFieldsValue({FeaturesAmount:void 0}),i.current.setFieldsValue({FeaturesName:void 0}))},style:{display:"flex",columnGap:"1rem",flexWrap:"wrap"},children:[Ye.jsx(I.Item,{name:"AppName",rules:[{required:!0,message:"Please Enter AppName"}],children:Ye.jsx(_y,{options:null==f?void 0:f.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"AppId",label:"Application Name",className:"field-DropDown",isOnchanges:!!u,onChangeFunction:async e=>{var t,n,a,l,o,d,c,u,A,m,v;null==(t=i.current)||t.resetFields();const g=null==(a=null==(n=null==f?void 0:f.filter((t=>t.AppId===e)))?void 0:n[0])?void 0:a.AppName,y=null==f?void 0:f.filter((t=>t.AppId===e));if((null==(l=null==y?void 0:y[0])?void 0:l.RemainingDays)>0){p(g),h(e),null==(o=i.current)||o.setFieldsValue({AppName:e});let t=await s(aT(e)),n=null==(m=null==(A=null==(u=null==(c=null==(d=null==t?void 0:t.payload)?void 0:d.data)?void 0:c.data)?void 0:u[0])?void 0:A.FeatDetails)?void 0:m.filter((e=>"D"!=e.ActiveStatus));x(n),w()}else r(`${iee}${null==(v=null==y?void 0:y[0])?void 0:v.AppName}`)},valueData:u,disabled:!!u})}),Ye.jsx(I.Item,{name:"FeaturesName",rules:[{required:!0,message:"Please Enter FeaturesName"}],children:Ye.jsx(_y,{options:null==y?void 0:y.map(((e,t)=>({value:e.FeatName,label:e.FeatName}))),placeholder:"AppId",label:"Features",className:"field-DropDown-Feat",isOnchanges:!!b,onChangeFunction:e=>{var t,n;w(e),null==(t=i.current)||t.setFieldsValue({FeaturesName:e}),null==(n=i.current)||n.setFieldsValue({FeaturesAmount:void 0}),T()},valueData:b,disabled:R})}),u&&b&&Ye.jsx(I.Item,{name:"FeaturesAmount",rules:[{required:!0,pattern:/^(?=.*[1-9])\d+$/,message:"Enter Count"}],children:Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",type:"number",label:"Count",id:"Count",field:"organization",className:"featureAmt",value:B,isOnChange:!0,onChange:e=>{var t,n,i,a,r;return M(null==(t=null==e?void 0:e.target)?void 0:t.value,"FeaturesAmount",(null==(n=null==N?void 0:N[0])?void 0:n.FeatName)+"Amt",null==(i=null==N?void 0:N[0])?void 0:i.NetPrice,(null==(a=null==N?void 0:N[0])?void 0:a.FeatName)+"Taxdetails",null==(r=null==N?void 0:N[0])?void 0:r.TaxAmount)}})}),(null==B?void 0:B.FeaturesAmount)>0&&b&&Ye.jsxs("div",{children:["Total Amount: ",Ye.jsx("input",{style:{width:"50px",height:"40px",borderRadius:"5px"},fieldState:!0,value:(null==(e=null==j?void 0:j[0])?void 0:e.NoOfDays)>31?(null==B?void 0:B.FeaturesAmount)*(null==(t=null==N?void 0:N[0])?void 0:t.YearlyNetPrice):(null==B?void 0:B.FeaturesAmount)*(null==(n=null==N?void 0:N[0])?void 0:n.MonthlyNetPrice)})]}),Ye.jsx(Ry,{buttonText:"Add",color:"901D77",icon:Ye.jsx(C,{}),htmlType:!0})]})}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:H,data:v,dataSource:v}),Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0,handleSubmit:async()=>{var e,t,n,a;if(v.length>0){let s=null==f?void 0:f.filter((e=>{var t;return(null==e?void 0:e.AppName)==(null==(t=null==v?void 0:v[0])?void 0:t.AppName)})),l={BookingId:null==(e=null==s?void 0:s[0])?void 0:e.UniqueId,Price:null==v?void 0:v.reduce(((e,t)=>e+t.Price*t.featcount),0),TaxId:null==(t=null==v?void 0:v[0])?void 0:t.TaxId,TaxAmount:null==v?void 0:v.reduce(((e,t)=>e+t.TaxAmount*t.featcount),0),NetPrice:null==v?void 0:v.reduce(((e,t)=>e+t.OveralAmount),0),OrderId:0,Type:"I",Details:null==v?void 0:v.map((e=>({FeatAddonId:null==e?void 0:e.UniqueId,Count:null==e?void 0:e.featcount,Price:(null==e?void 0:e.Price)*(null==e?void 0:e.featcount),NetPrice:(null==e?void 0:e.NetPrice)*(null==e?void 0:e.featcount),TaxAmount:(null==e?void 0:e.TaxAmount)*(null==e?void 0:e.featcount),TaxId:null==e?void 0:e.TaxId}))),CreatedBy:E};r(`${iee}FeatureInvoice`,{state:{TotalAmount:v.reduce(((e,t)=>e+t.OveralAmount),0),BookingId:null==(n=null==s?void 0:s[0])?void 0:n.UniqueId,postData:l,UserAppMap:f}}),null==(a=i.current)||a.resetFields(),p(),T()}else o("error"),c("Select Feature")}})]})]})]})]})})},empAccess:"Feature Addon",access:"Admin"},{path:"pricing",component:()=>{var e;const t=Qt(),n=Mt(),i=um(),[r,s]=a.useState(null),[l,o]=a.useState(null),[d,c]=a.useState([]),[u,p]=a.useState({}),[A,h]=a.useState({}),[f,m]=a.useState(""),[v,g]=a.useState(1),y=Tf(Gg),x=iA("UserType");async function b(){var e,t,a,r,l;(null==(e=null==n?void 0:n.state)?void 0:e.Notiffy)&&(s(null==(t=null==n?void 0:n.state)?void 0:t.Notiffy.messageType),o(null==(a=null==n?void 0:n.state)?void 0:a.Notiffy.messageData));const d=await i(Yk()).unwrap();1===(null==(r=d.data)?void 0:r.statusCode)&&c(null==(l=d.data)?void 0:l.data)}a.useEffect((()=>{try{b()}catch(e){}}),[]),a.useEffect((()=>{i(Gh({items:oT}))}),[]);const w=async e=>{var t;let n={PricingId:e.PricingId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},a=await i(Zk(n)).unwrap();1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)&&(b(),s("success"),o("A"==e.ActiveStatus?"Pricing Type In-Activated Successfully":"Pricing Type Activated Successfully"))},j=[{title:"SI.NO",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(v-1)+n+1})},{title:"App Name",dataIndex:"AppName",key:"AppName",width:"100px",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[f],onFilter:(e,t)=>String(t.AppName).toLowerCase().includes(e.toLowerCase())||String(t.PricingName).toLowerCase().includes(e.toLowerCase())||String(t.Price).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n,i;return(null==(n=null==e?void 0:e.AppName)?void 0:n.length)-(null==(i=null==t?void 0:t.AppName)?void 0:i.length)},sortOrder:"AppName"===A.columnKey?A.order:null,ellipsis:!0},{title:"Pricing Name",dataIndex:"PricingName",key:"PricingName",width:"100px",align:"left",render:(e,t)=>Ye.jsxs("a",{style:{color:"black",width:"200px"},children:[t.PricingName," ("+(t.NoOfDays>35?"Yearly":"Monthly")+")"]}),filteredValue:u.PricingName||null,onFilter:(e,t)=>t.PricingName.includes(e),sorter:(e,t)=>{var n,i;return(null==(n=null==e?void 0:e.PricingName)?void 0:n.length)-(null==(i=null==t?void 0:t.PricingName)?void 0:i.length)},sortOrder:"PricingName"===A.columnKey?A.order:null,ellipsis:!0},{title:"Net Price",dataIndex:"NetPrice",key:"NetPrice",width:"100px",align:"right",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),filteredValue:u.NetPrice||null,onFilter:(e,t)=>t.NetPrice.includes(e),sorter:(e,t)=>{var n,i;return(null==(n=null==e?void 0:e.NetPrice)?void 0:n.length)-(null==(i=null==t?void 0:t.NetPrice)?void 0:i.length)},sortOrder:"NetPrice"===A.columnKey?A.order:null,ellipsis:!0},{title:"Price",dataIndex:"Price",key:"Price",width:"100px",align:"right",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),filteredValue:u.Price||null,onFilter:(e,t)=>t.Price.includes(e),sorter:(e,t)=>{var n,i;return(null==(n=null==e?void 0:e.Price)?void 0:n.length)-(null==(i=null==t?void 0:t.Price)?void 0:i.length)},sortOrder:"Price"===A.columnKey?A.order:null,ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",width:"100px",align:"center",render:(e,t,n)=>d.length>=1?Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{children:"A"===t.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==y?void 0:y.length)||"Y"===(null==(e=null==y?void 0:y.find((e=>"Pricing Type"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?w(t):" "}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==y?void 0:y.length)||"Y"===(null==(e=null==y?void 0:y.find((e=>"Pricing Type"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?w(t):" "}})})}):null}],S=a.useCallback((()=>{o(null),s(null)}),[]);return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:r,messageData:l,onComplete:S}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Pricing Type"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{m(e)},onSearchChange:e=>{var t;m(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",handleSubmit:()=>{t("/setting/pricing/new")},color:"901D77",icon:Ye.jsx(C,{}),disabled:"Super Admin"!==x&&"N"===(null==(e=null==y?void 0:y.find((e=>"Pricing Type"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:j,data:d,dataSource:d,pagination:e=>{g(e)},onChange:(e,t,n)=>{p(t),h(n)}})," "]})]})})},empAccess:"Pricing Type"},{path:"pricing/new",component:e=>Ye.jsx(cT,{...e,formType:"add"}),empAccess:"Pricing Type"},{path:"pricing/update",component:e=>Ye.jsx(cT,{...e,formType:"edit"}),empAccess:"Pricing Type"},{path:"feature-master",component:()=>{var e;const t=Qt(),n=Mt(),i=um(),[r,s]=a.useState(null),[l,o]=a.useState(null),[d,c]=a.useState([]),[u,p]=a.useState({}),[A,h]=a.useState({}),[f,m]=a.useState(""),[v,g]=a.useState(1),y=Tf(Gg),x=iA("UserType");async function b(){var e,t,a,r,l;(null==(e=null==n?void 0:n.state)?void 0:e.Notiffy)&&(s(null==(t=null==n?void 0:n.state)?void 0:t.Notiffy.messageType),o(null==(a=null==n?void 0:n.state)?void 0:a.Notiffy.messageData));const d=await i(jT()).unwrap();1===(null==(r=d.data)?void 0:r.statusCode)&&await c(null==(l=d.data)?void 0:l.data)}a.useEffect((()=>{try{b(),i(Gh({items:TT}))}catch(e){}}),[]);const w=async e=>{var t;let n={FeatId:e.FeatId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},a=await i(FT(n)).unwrap();1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)&&(s("success"),o("A"==e.ActiveStatus?"Feature In-Activated Successfully":"Feature Activated Successfully"),b())},j=[{title:"SI.NO",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(v-1)+n+1})},{title:"Application",dataIndex:"AppName",key:"AppName",align:"left",width:"150px",filteredValue:u.AppName||null,render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n,i;return(null==(n=null==e?void 0:e.AppName)?void 0:n.length)-(null==(i=null==t?void 0:t.AppName)?void 0:i.length)},sortOrder:"AppName"===A.columnKey?A.order:null,ellipsis:!0},{title:"Feature Name",dataIndex:"FeatName",key:"FeatName",width:"200px",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[f],onFilter:(e,t)=>String(t.FeatName).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.FeatName)?void 0:n.localeCompare(t.FeatName)},sortOrder:"FeatName"===A.columnKey?A.order:null,ellipsis:!0},{title:"Feature Category",dataIndex:"FeatCatName",key:"FeatCatName",align:"left",width:"200px",filteredValue:u.FeatCatName||null,render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n,i;return(null==(n=null==e?void 0:e.FeatCatName)?void 0:n.length)-(null==(i=null==t?void 0:t.FeatCatName)?void 0:i.length)},sortOrder:"FeatCatName"===A.columnKey?A.order:null,ellipsis:!0},{title:"Type",dataIndex:"FeatTypeName",key:"FeatTypeName",filteredValue:u.FeatTypeName||null,align:"left",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n,i;return(null==(n=null==e?void 0:e.FeatTypeName)?void 0:n.length)-(null==(i=null==t?void 0:t.FeatTypeName)?void 0:i.length)},sortOrder:"FeatTypeName"===A.columnKey?A.order:null,ellipsis:!0},{title:"Constraint",dataIndex:"FeatConstraint",key:"FeatConstraint",align:"left",width:"130px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",width:"200px",align:"center",render:(e,n,i)=>d.length>=1?Ye.jsxs(P,{size:"middle",children:["A"===n.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==y?void 0:y.length)||"Y"===(null==(e=null==y?void 0:y.find((e=>"Feature"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async(e,n)=>{"D"!==e.ActiveStatus&&t(`${kT}setting/feature-master/update`,{state:{editstate:e}},{key:n})})(n,i):" "}})}):"",Ye.jsx("a",{children:"A"===n.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==y?void 0:y.length)||"Y"===(null==(e=null==y?void 0:y.find((e=>"Feature"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?w(n):" "}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==y?void 0:y.length)||"Y"===(null==(e=null==y?void 0:y.find((e=>"Feature"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?w(n):" "}})})]}):null}],S=a.useCallback((()=>{o(null),s(null)}),[]);return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:r,messageData:l,onComplete:S}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Feature"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{m(e)},onSearchChange:e=>{var t;m(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",handleSubmit:()=>{t(`${kT}setting/feature-master/new`)},color:"901D77",icon:Ye.jsx(C,{}),disabled:"Super Admin"!==x&&"N"===(null==(e=null==y?void 0:y.find((e=>"Feature"==(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:j,data:d,dataSource:d,pagination:e=>{g(e)},onChange:(e,t,n)=>{p(t),h(n)}})," "]})]})})},empAccess:"Feature"},{path:"feature-master/new",component:e=>Ye.jsx(DT,{...e,formType:"add"}),empAccess:"Feature"},{path:"feature-master/update",component:e=>Ye.jsx(DT,{...e,formType:"edit"}),empAccess:"Feature"},{path:"user-master",component:()=>{var e;const t=Qt(),n=um(),i=Mt(),[r,s]=a.useState([]),[l,o]=a.useState({}),[d,c]=a.useState({}),[u,p]=a.useState(""),[A,h]=a.useState(null),[f,m]=a.useState(null),[v,g]=a.useState(null),[y,x]=a.useState(!1),[b,w]=a.useState(null),[j,S]=a.useState([]),[N,F]=a.useState(!1),[B,k]=a.useState({}),[T,E]=a.useState({}),[_,O]=a.useState(1),[M,R]=a.useState(0),[Q,V]=a.useState(iA("UserType")?iA("UserType"):null),[z,q]=a.useState(iA("UserId")?iA("UserId"):null),W=Tf(ZT),$=Tf(Gg);a.useEffect((()=>{X()}),[z]);const X=async()=>{var e,t,i,a;let r=await n(dw(z)).unwrap();1===(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)?R(null==(i=null==(t=null==r?void 0:r.data)?void 0:t.data)?void 0:i.RemainingUserCount):0===(null==(a=null==r?void 0:r.data)?void 0:a.statusCode)&&R(0)},J=async e=>{var t,i,a,r,l,o;const d={Admin:"AF","Super Admin User":"SF",Employee:"EF",Marketing:"M"}[e]||null;let c=await n(_T(d)).unwrap();g(e),S([]),1==(null==(t=null==c?void 0:c.data)?void 0:t.statusCode)?"Super Admin User"===e?(w(null),x(!1),s(null==(i=null==c?void 0:c.data)?void 0:i.data)):"Employee"===e?(x(!0),S(null==(a=null==c?void 0:c.data)?void 0:a.data),Z(b),s(null==(r=null==c?void 0:c.data)?void 0:r.data)):(w(null),x(!1),s(null==(l=null==c?void 0:c.data)?void 0:l.data)):(h("error"),m(null==(o=null==c?void 0:c.data)?void 0:o.response))},Z=async e=>{var t,i;w(e);let a=await n(MT(e)).unwrap();1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)?s(null==(i=null==a?void 0:a.data)?void 0:i.data):s([])};a.useEffect((()=>{null===v&&s(W)}),[W]),a.useEffect((()=>{null!=v&&J(v)}),[N]),a.useEffect((()=>{var e,t,a;try{n(Gh({items:lE})),"Admin"===Q?n(OT(z)).unwrap():n(UT()).unwrap(),(null==(e=null==i?void 0:i.state)?void 0:e.Notiffy)&&(h(null==(t=null==i?void 0:i.state)?void 0:t.Notiffy.messageType),m(null==(a=null==i?void 0:i.state)?void 0:a.Notiffy.messageData))}catch(r){}}),[]);const ee=a.useCallback((()=>{m(null),h(null)}),[]);I.useForm();const te=[{title:"SI.NO",key:"sno",align:"center",width:"80px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(_-1)+n+1})},{title:"Name",dataIndex:"UserName",key:"UserName",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[u],onFilter:(e,t)=>String(t.UserName).toLowerCase().includes(e.toLowerCase())||String(t.MobileNo).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.UserName)?void 0:n.localeCompare(t.UserName)},sortOrder:"UserName"===d.columnKey?d.order:null,ellipsis:!0},{title:"Type",dataIndex:"UserTypeName",key:"UserTypeName",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Email",dataIndex:"MailId",key:"MailId",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>(null==e?void 0:e.MobileNo)-(null==t?void 0:t.MobileNo),sortOrder:"MailId"===d.columnKey?d.order:null,ellipsis:!0},{title:"Mobile",dataIndex:"MobileNo",key:"MobileNo",align:"right",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>(null==e?void 0:e.MobileNo)-(null==t?void 0:t.MobileNo),sortOrder:"MobileNo"===d.columnKey?d.order:null,ellipsis:!0},{title:"Password",dataIndex:"Password",key:"Password",align:"right",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black"},children:"Super Admin User"==Q?e?"****":"":e})},{title:"Pin",dataIndex:"Pin",key:"Pin",align:"right",render:e=>Ye.jsx("a",{style:{color:"black"},children:"Super Admin User"==Q?e?"****":"":e})},{title:"Action",key:"Action",align:"center",dataIndex:"Action",render:(e,i,a)=>W.length>=1?Ye.jsxs(P,{size:"middle",children:["A"===i.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==$?void 0:$.length)||"Y"===(null==(e=null==$?void 0:$.find((e=>"User Creation"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async(e,n)=>{"D"!==e.ActiveStatus&&t(`${aE}setting/user-master/update`,{state:{editstate:e}},{key:n})})(i,a):" "}})}):"",Ye.jsx("a",{children:"A"===i.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==$?void 0:$.length)||"Y"===(null==(e=null==$?void 0:$.find((e=>"User Creation"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?(async e=>{var t;F(!1);let i={UserId:e.UserId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},a=await n(HT(i)).unwrap();1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)&&(X(),"Admin"===Q?await n(OT(z)).unwrap():await n(UT()).unwrap(),h("success"),m("A"==e.ActiveStatus?"User In-Activated Successfully":"User Activated Successfully"),F(!0))})(i):" "}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==$?void 0:$.length)||"Y"===(null==(e=null==$?void 0:$.find((e=>"User Creation"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?(async e=>{var t,i,a,r,s,l,o;if("D"!==(null==e?void 0:e.BrActiveStatus)){let d=await n(vb({UserId:"Admin"===Q?z:"Employee"==(null==e?void 0:e.UserTypeName)?null==e?void 0:e.AdminId:null==e?void 0:e.UserId,AppId:null==e?void 0:e.AppId})).unwrap(),c=(null==(i=null==(t=null==d?void 0:d.data)?void 0:t.data[0])?void 0:i.UserCount)+1,u=null==(l=null==(s=null==(r=null==(a=null==d?void 0:d.data)?void 0:a.data[0])?void 0:r.FeatureDetails)?void 0:s.filter((e=>"User"==e.FeatName))[0])?void 0:l.FeatConstraint;if(c<u||"N"===(null==e?void 0:e.PlanPurchase)&&"Employee"!==(null==e?void 0:e.UserTypeName)||"Admin"==(null==e?void 0:e.UserTypeName)){F(!1);let t={UserId:e.UserId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},i=await n(HT(t)).unwrap();1==(null==(o=null==i?void 0:i.data)?void 0:o.statusCode)&&(X(),"Admin"===Q?await n(OT(z)).unwrap():await n(UT()).unwrap(),h("success"),m("A"==e.ActiveStatus?"User In-Activated Successfully":"User Activated Successfully"),F(!0))}else h("error"),m("You need to delete one user if you wanna add this user")}else h("error"),m("You need to activate your branch")})(i):" "}})})]}):null},..."Super Admin"===Q||"Super Admin User"===Q?[{title:"Reset/Send",dataIndex:"send",key:"send",align:"center",width:"385px",render:(e,t)=>Ye.jsxs("div",{className:"userOtp-WSM",style:{display:"flex",backgroundColor:"#c5c5c5",justifyContent:"center"},children:[Ye.jsx("div",{style:{height:"2rem",display:"flex",alignContent:"end",flexWrap:"wrap"},children:Ye.jsx(H.Group,{onChange:e=>ae(e,t),value:(null==t?void 0:t.UserId)==(null==B?void 0:B.id)?null==B?void 0:B.value:"",options:sE,children:null==sE?void 0:sE.map(((e,t)=>Ye.jsx(H,{value:e.value,children:e.label},t)))})}),Ye.jsxs("div",{style:{display:"flex",gap:"0.5rem",marginTop:"0.6rem",height:"2rem"},children:[Ye.jsx("a",{style:{color:"black",display:"flex",flexDirection:"column",gap:"0.5rem"},children:Ye.jsx("button",{onClick:()=>se(t),style:{padding:"2px 3px",backgroundColor:"#ff4d4f",borderRadius:"3px",border:"#ff4d4f 1px solid",color:"#fff",cursor:"pointer",fontFamily:"poppins"},children:"Reset"})}),Ye.jsxs("a",{style:{color:"black",display:"flex",gap:"0.5rem"},children:[Ye.jsx("button",{onClick:()=>re(t),style:{padding:"2.5px 3px",backgroundColor:"#1677ff",borderRadius:"3px",border:"#1677ff 1px solid",color:"#fff",cursor:"pointer",fontFamily:"poppins",height:"1.6rem"},children:"Send"}),(null==t?void 0:t.UserId)==(null==T?void 0:T.id)&&1==T.value?Ye.jsxs("div",{style:{backgroundColor:"#c5c5c5",padding:"4px 5px",borderRadius:"5px",display:"flex",gap:"1rem"},children:[(null==t?void 0:t.MobileNo)&&Ye.jsx("a",{onClick:()=>le(t),children:Ye.jsx(Y,{style:{color:"green",fontSize:"18px"}})}),(null==t?void 0:t.MobileNo)&&Ye.jsx("a",{onClick:()=>ne(t),children:Ye.jsx(K,{style:{color:"#1890ff",fontSize:"18px"}})}),(null==t?void 0:t.MailId)&&Ye.jsx("a",{onClick:()=>ie(t),children:Ye.jsx(G,{style:{color:"#ff4d4f",fontSize:"18px"}})})]}):Ye.jsx("div",{})]})]})]})}]:[]],ne=async e=>{var t,i,a;let r={UserId:null==e?void 0:e.UserId,Type:B.value},s=await(null==(t=n(zT(r)))?void 0:t.unwrap());1==(null==(i=null==s?void 0:s.data)?void 0:i.statusCode)&&(h("success"),m(null==(a=null==s?void 0:s.data)?void 0:a.response))},ie=async e=>{var t,i,a;let r={UserId:null==e?void 0:e.UserId,Type:B.value},s=await(null==(t=n(qT(r)))?void 0:t.unwrap());1==(null==(i=null==s?void 0:s.data)?void 0:i.statusCode)&&(h("success"),m(null==(a=null==s?void 0:s.data)?void 0:a.response))},ae=(e,t)=>{var n;let i={value:null==(n=null==e?void 0:e.target)?void 0:n.value,id:null==t?void 0:t.UserId};k(i)},re=e=>{if((null==e?void 0:e.UserId)==(null==B?void 0:B.id))if((null==e?void 0:e.Pin)||(null==e?void 0:e.Password)){if("Pin"==(null==B?void 0:B.value))if(e.Pin){let t={id:null==e?void 0:e.UserId,value:!0};E(t)}else{h("warning"),m("Please Reset pin");let t={id:null==e?void 0:e.UserId,value:!1};E(t)}else if("Password"==(null==B?void 0:B.value))if(e.Password){let t={id:null==e?void 0:e.UserId,value:!0};E(t)}else{h("warning"),m("Please Reset Password");let t={id:null==e?void 0:e.UserId,value:!1};E(t)}}else h("warning"),m("Please Reset pin or password");else h("warning"),m(" select pin or password")},se=async e=>{var t,i,a,r,l;if((null==e?void 0:e.UserId)===(null==B?void 0:B.id)){let o={UserId:null==e?void 0:e.UserId,Type:B.value,UpdatedBy:null==e?void 0:e.UserId},d=await(null==(t=n(VT(o)))?void 0:t.unwrap());if(1==(null==(i=null==d?void 0:d.data)?void 0:i.statusCode)){h("success"),m(null==(a=null==d?void 0:d.data)?void 0:a.response);let e=await n(UT()).unwrap(),t=null==(r=null==e?void 0:e.data)?void 0:r.data;"Admin"==v&&(w(null),x(!1),s(t.filter((e=>"Admin"===e.UserTypeName)))),"Super Admin User"===v?(w(null),x(!1),s(t.filter((e=>"Super Admin User"===e.UserTypeName)))):"Employee"===v?(x(!0),S(t.filter((e=>"Admin"===e.UserTypeName))),Z(b)):(w(null),x(!1),s(t.filter((e=>"Admin"===e.UserTypeName))))}else h("error"),m(null==(l=null==d?void 0:d.data)?void 0:l.response)}else h("warning"),m("Please select pin or password")},le=e=>{let t={MobileNo:null==e?void 0:e.MobileNo,Pin:null==e?void 0:e.Pin,Password:null==e?void 0:e.Password};if("Pin"==B.value&&null==(null==t?void 0:t.Pin))return h("error"),void m("Please Reset pin ");if("Password"==B.value&&null==(null==t?void 0:t.Password))return h("error"),void m("Please Reset password");let n=`Hello, your ${B.value} is: ${t.Pin}`,i=`https://wa.me/${t.MobileNo}?text=${encodeURIComponent(n)}`;window.open(i,"_blank")},oe=r;return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:A,messageData:f,onComplete:ee}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"User Creation"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search by User Name/Mobile No",onSearch:e=>{p(e)},onSearchChange:e=>{var t;p(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),"Admin"!=Q?Ye.jsx(_y,{options:null==rE?void 0:rE.map((e=>({value:e.value,label:e.label}))),placeholder:"Select Roles",label:"Select Roles",className:"field-DropDown",isOnchanges:!!v,onChangeFunction:e=>J(e),valueData:v,disabled:!1}):null,y?Ye.jsx(_y,{options:null==j?void 0:j.map((e=>({value:e.UserId,label:""!=e.UserName&&null!=e.UserName&&null!=e.UserName?e.UserName:e.MobileNo}))),placeholder:"Admin Name",label:"Admin Name",className:"field-DropDown",isOnchanges:!!b,onChangeFunction:e=>Z(e),valueData:b,disabled:!1}):null,Ye.jsx(Ry,{buttonText:"Add New",handleSubmit:()=>{t(`${aE}setting/user-master/new`)},color:"901D77",icon:Ye.jsx(C,{}),disabled:"Super Admin"!==Q&&(0===M||"N"===(null==(e=null==$?void 0:$.find((e=>"User Creation"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess)),children:"OPEN"})]})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:te,data:oe,dataSource:oe,pagination:e=>{O(e)},onChange:(e,t,n)=>{o(t),c(n)}})," "]})]})})},empAccess:"User Creation",access:"Admin"},{path:"user-master/new",component:e=>Ye.jsx(iE,{...e,formType:"add"}),empAccess:"User Creation",access:"Admin"},{path:"user-master/update",component:e=>Ye.jsx(iE,{...e,formType:"edit"}),empAccess:"User Creation",access:"Admin"},{path:"payment/payment-history",component:()=>{var e;const t=a.useRef(),n=um(),i=Tf(Qg),r=Tf(Gg),[s,l]=a.useState(),[o,d]=a.useState(!1),[c,u]=a.useState(null),[p,A]=a.useState(null),[h,f]=a.useState([]),[m,v]=a.useState(""),[g,y]=a.useState(1),[x,b]=a.useState([]),w=iA("UserId"),[C,N]=a.useState("Y"),[F,B]=a.useState(null),[E,D]=a.useState(null),[L,U]=a.useState(null),[_,O]=a.useState(null),M=iA("UserType"),{RangePicker:R}=T,Q=[{name:"Home",link:"/landing-page/home"}];a.useEffect((()=>{n(Gh({items:Q})),n("Super Admin"===M||"Super Admin User"===M?Pg():Dg({UserId:w}))}),[]);const H=a.useCallback((()=>{A(null),u(null)}),[]),V=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(g-1)+n+1})},{title:"Application",dataIndex:"AppName",key:"AppName",filteredValue:[m],render:e=>Ye.jsx("a",{className:"tableText",children:e}),onFilter:(e,t)=>String(t.AppName).toLowerCase().includes(e.toLowerCase())||String(t.TransactionId).toLowerCase().includes(e.toLowerCase())||String(t.PaymentModeName).toLowerCase().includes(e.toLowerCase())||String(t.OrderId).toLowerCase().includes(e.toLowerCase())||String(t.CreatedDate).toLowerCase().includes(e.toLowerCase())||String(t.NetPrice).toLowerCase().includes(e.toLowerCase())||String(t.PaymentStatus).toLowerCase().includes(e.toLowerCase())},{title:"Payment Date",dataIndex:"CreatedDate",key:"CreatedDate",fontSize:"13px",render:e=>Ye.jsx("a",{className:"tableText",children:tA(e)})},{title:"Price",dataIndex:"NetPrice",key:"NetPrice",render:e=>Ye.jsx("a",{className:"tableText",children:e})},{title:"Payment Mode",dataIndex:"PaymentModeName",key:"PaymentModeName",render:e=>Ye.jsx("a",{className:"tableText",children:e})},{title:"Status",dataIndex:"PaymentStatus",key:"PaymentStatus",render:e=>"P"==e?Ye.jsx("a",{className:"tableText Pending",children:"Pending"}):"S"==e?Ye.jsx("a",{className:"tableText Success",children:"Success"}):"C"==e?Ye.jsx("a",{className:"tableText Cancelled",children:"Cancelled"}):void 0},{title:"Download",key:"Download",dataIndex:"Action",width:"200px",align:"center",render:(e,t,n)=>Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{children:Ye.jsx(ye,{style:{color:"#FF4D4F"},onClick:()=>W(t)})})})},,{title:"Share",key:"Share",dataIndex:"Share",width:"200px",align:"center",render:(e,t,n)=>Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{children:Ye.jsx(CE,{style:{color:"##dddddd"},onClick:()=>q(t)})})})}],z=[{title:"Si.No",key:"sno",align:"center",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(g-1)+n+1})},{title:"Order Id",dataIndex:"OrderId",key:"OrderId",align:"center",width:"100px"},{title:"Tracking Id",dataIndex:"TrackingId",key:"TrackingId",align:"center"},{title:"Bank Ref.No",dataIndex:"BankReferenceNumber",key:"BankReferenceNumber",align:"center"},{title:"Status",dataIndex:"PaymentStatus",key:"PaymentStatus",render:e=>"P"==e?Ye.jsx("a",{className:"tableText Pending",children:"Pending"}):"S"==e?Ye.jsx("a",{className:"tableText Success",children:"Success"}):"C"==e?Ye.jsx("a",{className:"tableText Cancelled",children:"Cancelled"}):void 0},{title:"Mode",dataIndex:"PaymentModeName",key:"PaymentModeName",render:e=>Ye.jsx("a",{className:"tableText",children:e})},{title:"Bank Name",key:"BankName",dataIndex:"BankName",align:"center"},{title:"MobileNo",dataIndex:"MobileNo",key:"MobileNo",align:"center",render:e=>Ye.jsx("a",{className:"tableText",children:e})},{title:"Name",dataIndex:"UserName",key:"UserName",align:"center",render:e=>Ye.jsx("a",{className:"tableText",children:e||"-"})},{title:"Application",dataIndex:"AppName",key:"AppName",align:"center",filteredValue:[m],render:e=>Ye.jsx("a",{className:"tableText",children:e}),onFilter:(e,t)=>String("S"===t.PaymentStatus?"Success":"P"===t.PaymentStatus?"Pending":"Failed").toLowerCase().includes(e.toLowerCase())||String(t.AppName).toLowerCase().includes(e.toLowerCase())||String(t.UserName).toLowerCase().includes(e.toLowerCase())||String(t.TransactionId).toLowerCase().includes(e.toLowerCase())||String(t.PaymentModeName).toLowerCase().includes(e.toLowerCase())||String(t.OrderId).toLowerCase().includes(e.toLowerCase())||String(t.MobileNo).toLowerCase().includes(e.toLowerCase())},{title:"Date",dataIndex:"CreatedDate",key:"CreatedDate",width:"200px",align:"center",fontSize:"13px",render:e=>Ye.jsx("a",{className:"tableText",children:tA(e)})},{title:"Price",dataIndex:"NetPrice",key:"NetPrice",align:"center",render:e=>Ye.jsx("a",{className:"tableText",children:e})},{title:"Download",key:"Download",dataIndex:"Action",align:"center",render:(e,t,n)=>Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{children:Ye.jsx(ye,{style:{color:"#FF4D4F"},onClick:()=>W(t)})})})},,{title:"Share",key:"Share",dataIndex:"Share",align:"center",render:(e,t,n)=>Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{children:Ye.jsx(CE,{style:{color:"##dddddd"},onClick:()=>q(t)})})})}],q=e=>{l(null==e?void 0:e.UniqueId),d(!0)},W=async e=>{await f(e),await Y()},Y=async()=>{await(async(e,t)=>{const n=document.getElementById(e);if(!n)return;const i=document.createElement("div");i.innerHTML=`<style>${t}</style>`+n.outerHTML;const a={margin:0,filename:`invoice_${(new Date).getTime()}.pdf`,image:{type:"jpeg",quality:1},html2canvas:{scale:2},jsPDF:{unit:"in",format:"a4",orientation:"portrait"}};await Xp().set(a).from(i).save()})("Pdfbody","<style>.pdf-body {\n font-family: 'Segoe UI', Arial, sans-serif;\n font-size: 13px;\n color: #333;\n padding: 20px;\n max-width: 800px;\n margin: auto;\n background: #fff;\n}\n\n.pdf-header {\n display: flex;\n align-items: center;\n border-bottom: 2px solid #0074d9;\n padding-bottom: 10px;\n margin-bottom: 20px;\n\n .pdf-logo {\n height: 50px;\n margin-right: 15px;\n }\n\n .pdf-title-block {\n flex: 1;\n\n .pdf-title {\n font-size: 24px;\n font-weight: bold;\n margin: 0;\n color: #0074d9;\n }\n\n .pdf-subtitle {\n font-size: 14px;\n color: #777;\n margin: 0;\n }\n }\n\n .pdf-square {\n width: 20px;\n height: 20px;\n background: #0074d9;\n }\n}\n\n.pdf-amount-section {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n\n p {\n margin: 0;\n font-weight: bold;\n }\n\n .pdf-value {\n margin-left: 5px;\n font-weight: normal;\n color: #555;\n }\n}\n\n.pdf-billing-section {\n display: flex;\n justify-content: space-between;\n margin-top: 15px;\n\n .pdf-section-title {\n font-weight: bold;\n margin-bottom: 4px;\n font-size: 14px;\n color: #0074d9;\n }\n\n .pdf-section-text {\n margin: 0;\n font-size: 12px;\n color: #555;\n }\n}\n\n.pdf-divider {\n border: none;\n border-top: 1px solid #ddd;\n margin: 20px 0;\n}\n\n.pdf-table-wrapper {\n margin-top: 10px;\n\n .pdf-table-heading {\n font-weight: bold;\n font-size: 14px;\n color: #0074d9;\n margin-bottom: 8px;\n }\n\n .pdf-table-subheading {\n font-size: 12px;\n color: #666;\n margin-bottom: 10px;\n }\n\n .pdf-table {\n width: 100%;\n border-collapse: collapse;\n font-size: 12px;\n\n th {\n background: #f4f6f8;\n text-align: left;\n padding: 8px;\n border-bottom: 2px solid #ddd;\n }\n\n td {\n padding: 8px;\n border-bottom: 1px solid #eee;\n }\n\n th, td {\n white-space: nowrap;\n }\n\n tfoot td {\n font-weight: bold;\n }\n }\n\n .pdf-addon-list {\n margin: 0;\n padding-left: 18px;\n font-size: 12px;\n color: #555;\n\n li {\n margin-bottom: 2px;\n }\n }\n}\n\n@media print {\n body {\n background: #fff;\n }\n .pdf-body {\n box-shadow: none;\n margin: 0;\n padding: 0;\n }\n}\n</style>")};a.useEffect((()=>{(async()=>{var e,t,i;let a=await n(ew()).unwrap();1===(null==(e=null==a?void 0:a.data)?void 0:e.statusCode)&&b(null==(i=null==(t=null==a?void 0:a.data)?void 0:t.data[0])?void 0:i.PaymentUPIDetailsId)})()}),[]);return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:c,messageData:p,onComplete:H}),Ye.jsx("div",{style:{display:"none"},children:Ye.jsx(uE,{printingdata:h,CompanyName:null,zipcode:null,address:null,City:null})}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Payment History"})}),Ye.jsxs("div",{className:"searchAddDivPaymentHistory",children:[Ye.jsx("div",{className:"formSearchr",children:Ye.jsx(zb,{placeholder:"Search by Application/Payment Mode",onSearchChange:e=>{const{value:t}=e.target;v(t)}})}),Ye.jsxs("div",{className:"Ledger-datePicker",style:{display:"flex"},children:[Ye.jsx("div",{className:"RadioButton-DMYPicker",children:Ye.jsx(fk,{content:[{value:"Y",label:"Year"},{value:"M",label:"Month"},{value:"D",label:"Date"}],fieldState:!0,defaultSelect:"Y",onSelectFuntion:e=>(e=>{var n;N(e),null==(n=t.current)||n.resetFields()})(e)})}),Ye.jsxs(I,{className:"formDivAnt",ref:t,onFinish:async e=>{let t={Year:_,Month:L,Fromdate:F,Todate:E},i={Year:_,Month:L,Fromdate:F,Todate:E,UserId:w};"Super Admin"===M||"Super Admin User"===M?(await n(Eg(t)).unwrap(),y(1)):(await n(Og(i)).unwrap(),y(1))},children:[Ye.jsxs(P,{direction:"horizontal",children:["Y"==C&&Ye.jsx(I.Item,{name:"EffectiveFrom",rules:[{required:!0,message:"Please Enter The Year"}],children:Ye.jsx(T,{picker:"year",onChange:(e,t)=>((e,t)=>{O(t),B(null),D(null),U(null)})(0,t),disabledDate:e=>e&&e.year()>(new Date).getFullYear()})}),"M"==C&&Ye.jsx(I.Item,{name:"EffectiveFrom",rules:[{required:!0,message:"Please Enter The Month"}],children:Ye.jsx(T,{picker:"month",onChange:(e,t)=>(e=>{U(e.format("YYYY-MM")),O(null),B(null),D(null)})(e),disabledDate:e=>{const t=new Date,n=e.year(),i=e.month(),a=t.getFullYear(),r=t.getMonth();return n>a||n===a&&i>r}})}),"D"==C&&Ye.jsx(I.Item,{name:"EffectiveFrom",rules:[{required:!0,message:"Please Enter The Date"}],children:Ye.jsx(R,{format:"DD-MM-YYYY",disabledDate:e=>e&&e>S().endOf("day"),onCalendarChange:(e,t)=>{e&&e[1]&&(B(t[0]),D(t[1]),U(null),O(null))}})})]}),Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{})})]})]})]})]}),Ye.jsxs("div",{className:"PaymentHistory",children:[Ye.jsx(Vb,{columns:"Super Admin"===M||"Super Admin User"===M?z:V,data:i,pagination:e=>{y(e)}})," ",Ye.jsx(j,{centered:!0,open:o,onOk:()=>d(!1),onCancel:()=>{var e;d(!1),null==(e=null==t?void 0:t.current)||e.resetFields()},width:400,title:"Send Invoice to Another Email",children:Ye.jsxs(I,{ref:t,onFinish:async()=>{var e,i,a,r,l,o,c,p,h,f,m;let v={UniqueId:s,MailId:null==(i=null==(e=null==t?void 0:t.current)?void 0:e.getFieldValue())?void 0:i.Email,Link:`https://www.pozo.dev/payment-page?paymentId=${s}&Id=${x}`},g=await n(iw({data:v})).unwrap();if(1===(null==(a=null==g?void 0:g.data)?void 0:a.statusCode)){if(null!==(null==(r=null==g?void 0:g.data)?void 0:r.UserMail)){const e={UniqueId:null==(l=null==g?void 0:g.data)?void 0:l.UniqueId,userData:null==(o=null==g?void 0:g.data)?void 0:o.userData,messageTemplatesList:null==(c=null==g?void 0:g.data)?void 0:c.messageTemplatesList,UserMail:null==(p=null==g?void 0:g.data)?void 0:p.UserMail,PaymentStatus:null==(h=null==g?void 0:g.data)?void 0:h.PaymentStatus};await n(UE(e))}u("success"),A("Receipt Sent Successfully"),d(!1),null==(f=null==t?void 0:t.current)||f.resetFields()}else 0===(null==(m=null==g?void 0:g.data)?void 0:m.statusCode)&&(u("error"),A("Receipt Not Sent"))},children:[Ye.jsx(I.Item,{name:"Email",rules:[{required:!0,pattern:/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/,message:"Enter a valid email"}],children:Ye.jsx(Oy,{field:"Email",autoComplete:"nope",label:"Email",fieldState:!0,fieldApi:!0})}),Ye.jsx("div",{className:"model1-submit",children:Ye.jsx(Ry,{type:"submit",buttonText:"SHARE",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0,onClick:()=>d(!1),disabled:"Super Admin"!==M&&"N"===(null==(e=null==r?void 0:r.find((e=>"Payment History"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess)})})]})})]})]})})},empAccess:"Payment History",access:"Admin"},{path:"payment/failed-payment-history",component:()=>{const e=um(),t=a.useRef(),n=a.useRef(),i=Tf(Rg),[r,s]=a.useState(null),[l,o]=a.useState(null),[d,c]=a.useState(""),[u,p]=a.useState(1),[A,h]=a.useState("Y"),[f,m]=a.useState(null),[v,g]=a.useState(null),[y,x]=a.useState(null),[b,w]=a.useState(null),C=iA("UserType"),N=iA("UserId"),[F,B]=a.useState(!1),[E,D]=a.useState(),[L,U]=a.useState(null),[_,O]=a.useState(),{RangePicker:M}=T,R=[{name:"Home",link:"/landing-page/home"}];a.useEffect((()=>{e(Gh({items:R})),"Super Admin"!==C&&"Super Admin User"!==C||(e(kg()),Q())}),[]);const Q=async()=>{var t,n;const i=await e(BE()).unwrap();1==(null==(t=null==i?void 0:i.data)?void 0:t.statusCode)&&D(null==(n=null==i?void 0:i.data)?void 0:n.data)},H=a.useCallback((()=>{o(null),s(null)}),[]),V=[{title:"Si.No",key:"sno",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(u-1)+n+1})},{title:"orderId",key:"orderId",dataIndex:"OrderId",filteredValue:[d]},{title:"transactionId",dataIndex:"TransactionId",key:"TransactionId",render:e=>Ye.jsx("a",{className:"tableText",children:e||"-"})},{title:"Mode",dataIndex:"PaymentModeName",key:"PaymentModeName",render:e=>Ye.jsx("a",{className:"tableText",children:e})},{title:"Bank Name",key:"BankName",dataIndex:"BankName",render:e=>Ye.jsx("a",{className:"tableText",children:e||"-"})},{title:"MobileNo",dataIndex:"MobileNo",key:"MobileNo",filteredValue:[d],render:e=>Ye.jsx("a",{className:"tableText",children:e})},{title:"Name",dataIndex:"UserName",key:"UserName",filteredValue:[d],render:e=>Ye.jsx("a",{className:"tableText",children:e||"-"})},{title:"Application",dataIndex:"AppName",key:"AppName",filteredValue:[d],render:e=>Ye.jsx("a",{className:"tableText",children:e}),onFilter:(e,t)=>String(t.AppName).toLowerCase().includes(e.toLowerCase())||String(t.UserName).toLowerCase().includes(e.toLowerCase())||String(t.MobileNo).toLowerCase().includes(e.toLowerCase())||String(t.OrderId).toLowerCase().includes(e.toLowerCase())||String(t.transactionId).toLowerCase().includes(e.toLowerCase())},{title:"Date",dataIndex:"CreatedDate",key:"CreatedDate",width:"200px",align:"center",render:e=>Ye.jsx("a",{className:"tableText",children:tA(e)})},{title:"Price",dataIndex:"NetPrice",key:"NetPrice",render:e=>Ye.jsx("a",{className:"tableText",children:e})},{title:"Action",key:"Action",dataIndex:"Action",render:(e,t,n)=>Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{children:"F"===t.PaymentStatus&&null===t.TransactionId?Ye.jsx(Ry,{buttonText:"Success",color:"901D77",handleSubmit:()=>z(t)}):Ye.jsx(Ry,{buttonText:"Success",color:"901D77",handleSubmit:()=>q(t)})})})}],z=e=>{O(e),B(!0)},q=async t=>{var n,i,a,r,l,d,c,u,p,A,h;let f={OrderId:null==t?void 0:t.OrderId,UpdatedBy:N},m=await e(LE(f)).unwrap();if(1===(null==(n=null==m?void 0:m.data)?void 0:n.statusCode)){if(null==(i=null==m?void 0:m.data)?void 0:i.SMSbody){const t={body:null==(a=null==m?void 0:m.data)?void 0:a.SMSbody};await e(aw(t))}if(s("success"),o(null==(r=null==m?void 0:m.data)?void 0:r.response),e(kg()),null!==(null==(l=null==m?void 0:m.data)?void 0:l.UserMail)){const t={UniqueId:null==(d=null==m?void 0:m.data)?void 0:d.UniqueId,userData:null==(c=null==m?void 0:m.data)?void 0:c.userData,messageTemplatesList:null==(u=null==m?void 0:m.data)?void 0:u.messageTemplatesList,UserMail:null==(p=null==m?void 0:m.data)?void 0:p.UserMail,PaymentStatus:null==(A=null==m?void 0:m.data)?void 0:A.PaymentStatus};await e(UE(t))}}else s("error"),o(null==(h=null==m?void 0:m.data)?void 0:h.response)};return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:r,messageData:l,onComplete:H}),Ye.jsx("div",{style:{display:"none"}}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Failed Payment History"})}),Ye.jsxs("div",{className:"searchAddDivFailed",children:[Ye.jsx("div",{className:"formSearchr",children:Ye.jsx(zb,{placeholder:"Search",onSearchChange:e=>{const{value:t}=e.target;c(t)}})}),Ye.jsxs("div",{className:"Ledger-datePicker",style:{display:"flex"},children:[Ye.jsx("div",{className:"RadioButton-DMYPicker",children:Ye.jsx(fk,{content:[{value:"Y",label:"Year"},{value:"M",label:"Month"},{value:"D",label:"Date"}],fieldState:!0,defaultSelect:"Y",onSelectFuntion:n=>(n=>{var i;h(n),"Super Admin"!==C&&"Super Admin User"!==C||e(kg()),null==(i=t.current)||i.resetFields()})(n)})}),Ye.jsx("div",{children:Ye.jsxs(I,{className:"formDivAnt",ref:t,onFinish:async t=>{var n,i;let a={Year:b,Month:y,Fromdate:f,Todate:v},r=await e(Tg(a)).unwrap();1!=(null==(n=null==r?void 0:r.data)?void 0:n.statusCode)&&(s("error"),o(null==(i=null==r?void 0:r.data)?void 0:i.response))},children:[Ye.jsxs(P,{direction:"horizontal",children:["Y"==A&&Ye.jsx(I.Item,{name:"EffectiveFrom",rules:[{required:!0,message:"Please Enter The Year"}],children:Ye.jsx(T,{picker:"year",onChange:(e,t)=>((e,t)=>{w(t),m(null),g(null),x(null)})(0,t)})}),"M"==A&&Ye.jsx(I.Item,{name:"EffectiveFrom",rules:[{required:!0,message:"Please Enter The Month"}],children:Ye.jsx(T,{picker:"month",onChange:(e,t)=>(e=>{x(e.format("YYYY-MM")),w(null),m(null),g(null)})(e)})}),"D"==A&&Ye.jsx(I.Item,{name:"EffectiveFrom",rules:[{required:!0,message:"Please Enter The Date"}],children:Ye.jsx(M,{format:"DD-MM-YYYY",disabledDate:e=>e&&e>S().endOf("day"),onCalendarChange:(e,t)=>{e&&e[1]&&(m(t[0]),g(t[1]),x(null),w(null))}})})]}),Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{})})]})})]})]})]}),Ye.jsxs("div",{className:"FailedPayment",children:[Ye.jsx(Vb,{columns:"Super Admin"===C||"Super Admin User"===C?V:"",data:i,pagination:e=>{p(e)}})," "]}),Ye.jsx(j,{centered:!0,open:F,onCancel:()=>{var e;B(!1),null==(e=null==n?void 0:n.current)||e.resetFields()},width:400,title:"Failed Payment Detail",children:Ye.jsxs(I,{ref:n,onFinish:async t=>{var i,a,r,l,d,c,u,p,A,h,f,m,v;let g={OrderId:null==_?void 0:_.OrderId,PaymentMode:null==t?void 0:t.PaymentTypeName,TrackingId:null==t?void 0:t.TrackId,BankReferenceNo:null==t?void 0:t.BankReference,BankName:null==t?void 0:t.BankName,Amount:null==_?void 0:_.NetPrice,UpdatedBy:N},y=await e(LE(g)).unwrap();if(1===(null==(i=null==y?void 0:y.data)?void 0:i.statusCode)){if(null==(a=null==y?void 0:y.data)?void 0:a.SMSbody){const t={body:null==(r=null==y?void 0:y.data)?void 0:r.SMSbody};await e(t)}if(B(!1),null==(l=null==n?void 0:n.current)||l.resetFields(),O(),U(null),s("success"),o(null==(d=null==y?void 0:y.data)?void 0:d.response),e(kg()),null!==(null==(c=null==y?void 0:y.data)?void 0:c.UserMail)){const t={UniqueId:null==(u=null==y?void 0:y.data)?void 0:u.UniqueId,userData:null==(p=null==y?void 0:y.data)?void 0:p.userData,messageTemplatesList:null==(A=null==y?void 0:y.data)?void 0:A.messageTemplatesList,UserMail:null==(h=null==y?void 0:y.data)?void 0:h.UserMail,PaymentStatus:null==(f=null==y?void 0:y.data)?void 0:f.PaymentStatus};await e(UE(t))}}else null==(m=null==n?void 0:n.current)||m.resetFields(),U(null),s("error"),o(null==(v=null==y?void 0:y.data)?void 0:v.response)},children:[Ye.jsx(I.Item,{name:"BankReference",rules:[{required:!0,pattern:/^\d+$/,message:"Enter a valid BankReference"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"BankReference",autoComplete:"nope",label:"Bank Reference No ",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{name:"TrackId",rules:[{required:!0,pattern:/^\d+$/,message:"Enter a valid Tracking Id"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"TrackId",autoComplete:"nope",label:"Tracking Id",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{name:"BankName",rules:[{required:!0,pattern:/^[a-zA-Z\s]+$/,message:"Enter a valid BankName "},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"BankName",autoComplete:"nope",label:"Bank Name",fieldState:!0,fieldApi:!0})}),Ye.jsx(I.Item,{name:"PaymentTypeName",rules:[{required:!0,message:"Please Select Payment"}],children:Ye.jsx(_y,{options:null==E?void 0:E.map((e=>({value:e.MethodName,label:e.MethodName}))),label:"Payment",id:"PaymentTypeName",field:"PaymentTypeName",fieldState:!0,fieldApi:!0,onChangeFunction:e=>(async e=>{var t;U(e),null==(t=null==n?void 0:n.current)||t.setFieldsValue({PaymentTypeName:e})})(e),isOnchanges:null!=L,valueData:L,className:"field-DropDown"})}),Ye.jsx("div",{className:"model1-submit",children:Ye.jsx(Ry,{type:"submit",buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0})})]})})]})})},empAccess:"Failed Payment History"},{path:"message-template",component:()=>{var e;const t=Qt(),n=um(),i=Mt(),r=Tf(pM),s=Tf(Gg),l=iA("UserType"),[o,d]=a.useState({}),[c,u]=a.useState(""),[p,A]=a.useState(null),[h,f]=a.useState(null),[m,v]=a.useState(1),g=[{name:"Home",link:`${mM}landing-page/home`},{name:"MessageTemplates",link:`${mM}setting/message-template`}];a.useEffect((()=>{var e,t,a;try{n(Gh({items:g})),n(oM()).unwrap(),(null==(e=null==i?void 0:i.state)?void 0:e.Notiffy)&&(A(null==(t=null==i?void 0:i.state)?void 0:t.Notiffy.messageType),f(null==(a=null==i?void 0:i.state)?void 0:a.Notiffy.messageData))}catch(r){}}),[]);const y=a.useCallback((()=>{f(null),A(null)}),[]),x=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(m-1)+n+1})},{title:"Message Header",dataIndex:"MessageHeader",key:"MessageHeader",width:"200px",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[c],onFilter:(e,t)=>String(t.MessageHeader).toLowerCase().includes(e.toLowerCase())||String(t.Subject).toLowerCase().includes(e.toLowerCase())||String(t.TemplateType).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.MessageHeader)?void 0:n.localeCompare(t.MessageHeader)},sortOrder:"MessageHeader"===o.columnKey?o.order:null,ellipsis:!0},{title:"Subject",dataIndex:"Subject",key:"Subject",align:"left",width:"200px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.Subject)?void 0:n.localeCompare(t.Subject)},sortOrder:"Subject"===o.columnKey?o.order:null,ellipsis:!0},{title:"Message Body",dataIndex:"MessageBody",key:"MessageBody",align:"left",width:"200px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.MessageBody)?void 0:n.localeCompare(t.MessageBody)},sortOrder:"MessageBody"===o.columnKey?o.order:null,ellipsis:!0},{title:"Template Type",dataIndex:"TemplateType",key:"TemplateType",align:"left",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.TemplateType)?void 0:n.localeCompare(t.TemplateType)},sortOrder:"TemplateType"===o.columnKey?o.order:null,ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",width:"200px",align:"center",render:(e,n,i)=>r.length>=1?Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==s?void 0:s.length)||"Y"===(null==(e=null==s?void 0:s.find((e=>"Message Template"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async(e,n)=>{t(`${mM}setting/message-template/update`,{state:{editstate:e}},{key:n})})(n,i):""}})})}):null}];return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:p,messageData:h,onComplete:y}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Message Templates"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{u(e)},onSearchChange:e=>{var t;u(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",handleSubmit:()=>{t(`${mM}setting/message-template/new`)},color:"901D77",icon:Ye.jsx(C,{}),disabled:"Super Admin"!==l&&"N"===(null==(e=null==s?void 0:s.find((e=>"Message Template"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:x,data:r,dataSource:r,pagination:e=>{v(e)},onChange:(e,t,n)=>{d(n)}})," "]})]})})},empAccess:"Message Template"},{path:"message-template/new",component:e=>Ye.jsx(fM,{...e,formType:"add"}),empAccess:"Message Template"},{path:"message-template/update",component:e=>Ye.jsx(fM,{...e,formType:"edit"}),empAccess:"Message Template"},{path:"PaymentUPIDetails",component:()=>{const e=Qt(),t=um(),n=Mt(),i=Tf(NM),r=Tf(IM),[s,l]=a.useState({}),[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState(1),h=iA("UserType"),f=iA("UserId"),m=[{name:"Home",link:`${kM}landing-page/home`},{name:"PaymentUPIDetails",link:`${kM}setting/PaymentUPIDetails`}];a.useEffect((()=>{var e,i,a;try{t(Gh({items:m})),"Super Admin"!==h&&"Super Admin User"!==h||t(yM()).unwrap(),(null==(e=null==n?void 0:n.state)?void 0:e.Notiffy)&&(d(null==(i=null==n?void 0:n.state)?void 0:i.Notiffy.messageType),u(null==(a=null==n?void 0:n.state)?void 0:a.Notiffy.messageData))}catch(r){}}),[]),a.useEffect((()=>{t(xM(f))}),[f]);const v=a.useCallback((()=>{u(null),d(null)}),[]),g=async e=>{var n;let i={PaymentUPIDetailsId:e.PaymentUPIDetailsId,CompId:e.CompId,BranchId:e.BrId,ActiveStatus:"A"==e.activeStatus?"D":"A",UpdatedBy:f},a=await t(jM(i)).unwrap();1==(null==(n=null==a?void 0:a.data)?void 0:n.statusCode)&&(d("success"),u("A"==e.ActiveStatus?"Payment UPI Details In-Activated Successfully":"Payment UPI Details Activated Successfully"),"Admin"===h?t(xM(f)):"Super Admin"!==h&&"Super Admin User"!==h||await t(yM()).unwrap())},y=(e,t,n)=>{l(n)},x=e=>{A(e)},b=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(p-1)+n+1})},{title:"UPI Id",dataIndex:"UPIId",key:"UPIId",align:"left",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.UPIId)?void 0:n.localeCompare(t.UPIId)},sortOrder:"UPIId"===s.columnKey?s.order:null,ellipsis:!0},{title:"Mode",dataIndex:"ModeName",key:"ModeName",align:"left",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.ModeName)?void 0:n.localeCompare(t.ModeName)},sortOrder:"ModeName"===s.columnKey?s.order:null,ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",width:"150px",align:"center",render:(t,n,a)=>("Admin"===h||"Admin User"===h?(null==r?void 0:r.length)>=1:(null==i?void 0:i.length)>=1)?Ye.jsxs(P,{size:"middle",children:["A"===n.activeStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>(async(t,n)=>{"D"!==t.ActiveStatus&&e(`${kM}setting/PaymentUPIDetails/update`,{state:{editstate:t}},{key:n})})(n,a)})}):"",Ye.jsx("a",{children:"A"===n.activeStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>g(n)}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>g(n)})})]}):null}];return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:o,messageData:c,onComplete:v}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Payment UPI Details"})}),Ye.jsx("div",{className:"searchAddDiv",children:Ye.jsx(Ry,{buttonText:"Add New",handleSubmit:()=>{e(`${kM}setting/PaymentUPIDetails/new`)},color:"901D77",icon:Ye.jsx(C,{}),children:"OPEN"})})]}),Ye.jsx("div",{className:"reportTable",children:"Admin"===h||"Admin User"===h?Ye.jsx(Vb,{columns:b,data:r,dataSource:r,pagination:x,onChange:y}):Ye.jsx(Vb,{columns:b,data:i,dataSource:i,pagination:x,onChange:y})})]})})},empAccess:"Payment UPI Details"},{path:"PaymentUPIDetails/new",component:e=>Ye.jsx(PM,{...e,formType:"add"}),empAccess:"Payment UPI Details"},{path:"PaymentUPIDetails/update",component:e=>Ye.jsx(PM,{...e,formType:"edit"}),empAccess:"Payment UPI Details"},{path:"featurepricing",component:()=>{var e,t;const n=Qt(),i=um(),r=Mt(),s=Tf(xb),l=iA("UserType"),o=Tf(Gg),[d,c]=a.useState({}),[u,p]=a.useState(""),[A,h]=a.useState(null),[f,m]=a.useState(null),[v,g]=a.useState([]),[y,x]=a.useState(!1),[b,w]=a.useState(1),[j,S]=a.useState(),N=[{name:"Home",link:`${aee}landing-page/home`},{name:"FeaturePricing",link:`${aee}setting/featurePricing`}];a.useEffect((()=>{var e,t,n;try{i(Gh({items:N})),i(lb()).unwrap(),(null==(e=null==r?void 0:r.state)?void 0:e.Notiffy)&&(h(null==(t=null==r?void 0:r.state)?void 0:t.Notiffy.messageType),m(null==(n=null==r?void 0:r.state)?void 0:n.Notiffy.messageData))}catch(a){}}),[]);const I=a.useCallback((()=>{m(null),h(null)}),[]);a.useEffect((()=>{i(fb(iA("UserId")))}),[iA("UserId")]),a.useEffect((()=>{F()}),[]);const F=async()=>{var e,t,n;try{let a=await i(nT());const r=null==(n=null==(t=null==(e=null==a?void 0:a.payload)?void 0:e.data)?void 0:t.data)?void 0:n.map((e=>{var t;let n=null==(t=e.FeatDetails[0])?void 0:t.FeatNameList.join(", ");return{...e,x:n}}));S(r)}catch(a){}},B=async e=>{var t;let n={appId:e.AppId,activeStatus:"A"==e.ActiveStatus?"D":"A",updatedBy:iA("UserId")},a=await i(rT(n)).unwrap();1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)&&(F(),h("success"),m("A"==e.ActiveStatus?"Featureon In-Activated Successfully":"Featureon Activated Successfully"))},k=e=>{w(e)},T=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(b-1)+n+1})},{title:"Application ",dataIndex:"AppName",key:"AppName",width:"200px",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[u],onFilter:(e,t)=>String(t.AppName).toLowerCase().includes(e.toLowerCase())||String(t.AppName).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.AppName)?void 0:n.localeCompare(t.AppName)},sortOrder:"AppName"===d.columnKey?d.order:null,ellipsis:!0},{title:"Features",dataIndex:"x",key:"x",align:"center",width:"150px",render:(e,t)=>Ye.jsx(ty,{style:{color:"#1292EE",fontSize:"25px",cursor:"pointer"},onClick:()=>(e=>{var t;const n=null==(t=null==e?void 0:e.split(", "))?void 0:t.map((e=>{const[t,n]=e.split(" - ");return{FeatureName:t,Amount:parseFloat(n)}}));g(n),x(!0)})(e)})},{title:"Action",key:"Action",dataIndex:"Action",width:"100px",align:"center",render:(e,t,i)=>s.length>=1?Ye.jsxs(P,{size:"middle",children:["A"===t.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==o?void 0:o.length)||"Y"===(null==(e=null==o?void 0:o.find((e=>"Feature Pricing"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async(e,t)=>{"D"!==e.ActiveStatus&&n(`${aee}setting/featurepricing/update`,{state:{editstate:e}},{key:t})})(t,i):""}})}):"",Ye.jsx("a",{children:"A"===t.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==o?void 0:o.length)||"Y"===(null==(e=null==o?void 0:o.find((e=>"Feature Pricing"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?B(t):""}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==o?void 0:o.length)||"Y"===(null==(e=null==o?void 0:o.find((e=>"Feature Pricing"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?B(t):""}})})]}):null}],E=[{title:"SI.NO",key:"sno",align:"center",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(b-1)+n+1})},{title:"Feature Name",dataIndex:"FeatureName",key:"FeatureName",align:"left",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:t.FeatureName})},{title:"Amount",dataIndex:"Amount",key:"Amount",align:"right",render:e=>Ye.jsx("a",{style:{color:"black"},children:`${e} `})}];null==(e=null==o?void 0:o.find((e=>"Feature Pricing"===(null==e?void 0:e.ConfigName))))||e.AddAccess;return Ye.jsxs("div",{className:"userPageTable",children:[Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:A,messageData:f,onComplete:I}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Feature Pricing"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{p(e)},onSearchChange:e=>{var t;p(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",color:"901D77",icon:Ye.jsx(C,{}),handleSubmit:()=>{n(`${aee}setting/featurepricing/new`)},disabled:"Super Admin"!==l&&"N"==(null==(t=null==o?void 0:o.find((e=>"Feature Pricing"===(null==e?void 0:e.ConfigName))))?void 0:t.AddAccess),children:"OPEN"})]})]}),Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:T,data:j,dataSource:j,pagination:k,onChange:(e,t,n)=>{c(n)}})})]}),Ye.jsx(SP,{open:y,title:"Feature Details",handleCancel:()=>{x(!1),g([])},footer:!1,children:Ye.jsx("div",{style:{height:"400px",overflowY:"scroll"},children:Ye.jsx(Vb,{dataSource:v,data:v,columns:E,pagination:k})})})]})},empAccess:"Feature Pricing"},{path:"featurepricing/new",component:e=>Ye.jsx(see,{...e,formType:"add"}),empAccess:"Feature Pricing"},{path:"featurepricing/update",component:e=>Ye.jsx(see,{...e,formType:"edit"}),empAccess:"Feature Pricing"},{path:"sms-assigned-detail",component:e=>Ye.jsx(Rae,{...e,formType:"add"}),empAccess:"Feature Pricing"},{path:"sms-assigned-detail/new",component:e=>Ye.jsx(_ae,{...e,formType:"add"}),empAccess:"Feature Pricing"},{path:"sms-assigned-detail/update",component:e=>Ye.jsx(_ae,{...e,formType:"edit"}),empAccess:"Feature Pricing"},{path:"testimonials",component:()=>{var e;const t=Qt(),n=um(),i=Mt(),[r,s]=a.useState({}),[l,o]=a.useState(""),[d,c]=a.useState(null),[u,p]=a.useState(null),[A,h]=a.useState(1),[f,m]=a.useState([]),[v,y]=a.useState(!1),[x,b]=a.useState([]),{TextArea:w}=g,j=Tf(Gg),S=iA("UserType"),N=[{name:"Home",link:`${Qae}landing-page/home`},{name:"Testimonials",link:`${Qae}setting/testimonials`}];a.useEffect((()=>{var e,t,a;n(Gh({items:N})),I(),(null==(e=null==i?void 0:i.state)?void 0:e.Notiffy)&&(c(null==(t=null==i?void 0:i.state)?void 0:t.Notiffy.messageType),p(null==(a=null==i?void 0:i.state)?void 0:a.Notiffy.messageData))}),[]);const I=async()=>{var e,t;let i=await n(W6()).unwrap();1===(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)?m(null==(t=null==i?void 0:i.data)?void 0:t.data):m([])},F=a.useCallback((()=>{p(null),c(null)}),[]),B=async e=>{var t;let i={uniqueId:e.UniqueId,activeStatus:"A"==e.ActiveStatus?"D":"A",updatedBy:iA("UserId")},a=await n(K6(i)).unwrap();1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)&&(c("success"),p("A"==e.ActiveStatus?"Company In-Activated Successfully":"Company Activated Successfully"),I())},k=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(A-1)+n+1})},{title:"App Name",dataIndex:"AppName",key:"AppName",align:"left",width:"150px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),ellipsis:!0},{title:"Company Name",dataIndex:"CompName",key:"CompName",width:"200px",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[l],onFilter:(e,t)=>String(t.CompName).toLowerCase().includes(e.toLowerCase())||String(t.AppName).toLowerCase().includes(e.toLowerCase()),ellipsis:!0},{title:"Customer Details",align:"center",width:"150px",render:(e,t)=>Ye.jsxs("a",{style:{fontSize:"25px"},onClick:()=>{y(!0),b(t)},children:[Ye.jsx(ty,{})," "]}),ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",width:"100px",align:"center",render:(e,n,i)=>Ye.jsxs(P,{size:"middle",children:["A"===n.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==j?void 0:j.length)||"Y"===(null==(e=null==j?void 0:j.find((e=>"Testimonials"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async(e,n)=>{"D"!==e.ActiveStatus&&t(`${Qae}setting/testimonials/update`,{state:{editstate:e}},{key:n})})(n,i):" "}})}):"",Ye.jsx("a",{children:"A"===n.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==j?void 0:j.length)||"Y"===(null==(e=null==j?void 0:j.find((e=>"Testimonials"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?B(n):" "}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==j?void 0:j.length)||"Y"===(null==(e=null==j?void 0:j.find((e=>"Testimonials"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?B(n):" "}})})]})}];return Ye.jsxs("div",{className:"userPageTable",children:[Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:d,messageData:u,onComplete:F}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Testimonials"})}),Ye.jsxs("div",{className:"searchAddDiv searchAddDivBranch",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{o(e)},onSearchChange:e=>{var t;o(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",color:"901D77",icon:Ye.jsx(C,{}),handleSubmit:()=>{t(`${Qae}setting/testimonials/new`)},disabled:"Super Admin"!==S&&"N"===(null==(e=null==j?void 0:j.find((e=>"Testimonials"==(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:k,data:f,dataSource:f,pagination:e=>{h(e)},onChange:(e,t,n)=>{s(n)}})})]}),Ye.jsx(SP,{title:"Customer Details",width:1e3,open:v,footer:!1,buttonText:"Submit",children:Ye.jsxs("div",{style:{display:"flex",width:"100%",gap:"2rem"},children:[Ye.jsxs("div",{children:[Ye.jsxs("div",{className:"uder-details-tesimonial",style:{display:"flex"},children:[Ye.jsx("div",{children:"Name"}),Ye.jsxs("div",{children:[" ",null==x?void 0:x.CustomerName]})]}),Ye.jsxs("div",{className:"uder-details-tesimonial",children:[Ye.jsx("div",{children:"Review"}),Ye.jsx("div",{style:{marginLeft:"0rem"},children:Ye.jsx(w,{rows:2,columns:5,value:null==x?void 0:x.CustomerReview,style:{width:"100%"}})})]}),Ye.jsxs("div",{className:"uder-details-tesimonial",children:[Ye.jsx("div",{children:"videoLink"}),Ye.jsx("div",{children:null==x?void 0:x.VideoLink})]}),Ye.jsxs("div",{className:"uder-details-tesimonial",children:[Ye.jsx("div",{children:"Image"}),Ye.jsx("div",{children:Ye.jsx(Yy,{singleImage:!0,ImageLink:null==x?void 0:x.ImageUrl})})]})]}),Ye.jsx("div",{})]}),handleCancel:()=>{y(!1),b([])}})]})},empAccess:"Testimonials"},{path:"abstract",component:()=>{const e=um(),t=Mt(),[n,i]=a.useState({}),[r,s]=a.useState(""),[l,o]=a.useState(null),[d,c]=a.useState(null),[u,p]=a.useState(1),[A,h]=a.useState(1),[f,m]=a.useState(1),[v,g]=a.useState(1),[y,x]=a.useState([]),[b,w]=a.useState(!1),[j,C]=a.useState([]),[S,N]=a.useState([]),[I,F]=a.useState([]),[B,P]=a.useState([]),[k,T]=a.useState([]),[D,L]=a.useState(null),[U,_]=a.useState(null),[O,M]=a.useState(null),R=[{name:"Home",link:"/home/landing-page/home"}];a.useEffect((()=>{var n,i,a;e(Gh({items:R})),Q(),(null==(n=null==t?void 0:t.state)?void 0:n.Notiffy)&&(o(null==(i=null==t?void 0:t.state)?void 0:i.Notiffy.messageType),c(null==(a=null==t?void 0:t.state)?void 0:a.Notiffy.messageData))}),[]);const Q=async()=>{var t,n;let i=await e(wA()).unwrap();1===(null==(t=null==i?void 0:i.data)?void 0:t.statusCode)?x(null==(n=null==i?void 0:i.data)?void 0:n.data):x([])},H=a.useCallback((()=>{c(null),o(null)}),[]),V=(e,t,n)=>{i(n)},z=async(t,n)=>{var i,a,r;let s={UserId:t,AppId:n,Type:"A"};T(n);try{let t=await e(WE(s)).unwrap();1==(null==(i=null==t?void 0:t.data)?void 0:i.statusCode)?N(null==(r=null==(a=null==t?void 0:t.data)?void 0:a.data)?void 0:r.map(((e,t)=>({...e,key:t})))):N([])}catch(l){}finally{F([]),P([]),M(null),_(null)}},q=async t=>{var n,i,a;let r={UserId:D,AppId:null==t?void 0:t.AppId,CompId:null==t?void 0:t.CompId};try{let t=await e(WE(r)).unwrap();1==(null==(n=null==t?void 0:t.data)?void 0:n.statusCode)?F(null==(a=null==(i=null==t?void 0:t.data)?void 0:i.data)?void 0:a.map(((e,t)=>({...e,key:t})))):(F([]),o("error"),c("No Branch Found"))}catch(s){}},W=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(u-1)+n+1})},{title:"User Id",dataIndex:"UserId",key:"UserId",align:"left",width:"150px",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:null==t?void 0:t.UserId}),ellipsis:!0},{title:"Name",dataIndex:"UserName",key:"UserName",align:"left",width:"150px",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:(null==t?void 0:t.UserName)?null==t?void 0:t.UserName:"-"}),ellipsis:!0},{title:"Mobile",dataIndex:"MobileNo",key:"MobileNo",width:"200px",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[r],onFilter:(e,t)=>String(t.MobileNo).toLowerCase().includes(e.toLowerCase())||String(t.UserName).toLowerCase().includes(e.toLowerCase())||String(t.UserId).toLowerCase().includes(e.toLowerCase()),ellipsis:!0},{title:"Email",dataIndex:"MailId",key:"MailId",align:"center",width:"200px",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:(null==t?void 0:t.MailId)?null==t?void 0:t.MailId:"-"})},{title:"Created Date",dataIndex:"CreatedDate",key:"CreatedDate",align:"center",width:"150px",ellipsis:!0,render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:(null==t?void 0:t.CreatedDate)?eA(null==t?void 0:t.CreatedDate):"-"})},{title:"View",align:"center",width:"150px",render:(t,n)=>Ye.jsx("a",{style:{fontSize:"25px"},onClick:()=>{(async t=>{var n,i,a,r,s;L(t);let l={UserId:t};try{let d=await e(WE(l)).unwrap();1==(null==(n=null==d?void 0:d.data)?void 0:n.statusCode)?(C(null==(i=null==d?void 0:d.data)?void 0:i.data),z(t,null==(s=null==(r=null==(a=null==d?void 0:d.data)?void 0:a.data)?void 0:r[0])?void 0:s.AppId),w(!0)):(C([]),c("No Application Found"),o("warning"))}catch(d){}})(null==n?void 0:n.UserId)},children:Ye.jsx(ty,{})}),ellipsis:!0}],Y=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(A-1)+n+1})},{title:"Company Id",dataIndex:"CompId",key:"CompId",align:"left",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:null==t?void 0:t.CompId}),ellipsis:!0},{title:"Company Name",dataIndex:"CompName",key:"CompName",width:"250px",align:"left",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},onClick:()=>{q(t)},children:e})},{title:"Proprietor",dataIndex:"Proprietor",key:"Proprietor",align:"left"},{title:"Mobile",dataIndex:"CompMobile",key:"CompMobile",align:"left",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:(null==t?void 0:t.CompMobile)?null==t?void 0:t.CompMobile:"-"})},{title:"Created Date",dataIndex:"CreatedDate",key:"CreatedDate",align:"center",ellipsis:!0,render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:(null==t?void 0:t.CreatedDate)?eA(null==t?void 0:t.CreatedDate):"-"})},{title:"Status",dataIndex:"ActiveStatus",key:"ActiveStatus",render:(e,t)=>Ye.jsx("a",{style:{color:"A"==(null==t?void 0:t.ActiveStatus)?"green":"Red"},children:"A"==(null==t?void 0:t.ActiveStatus)?"Active":"Deactive"})}],K=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(f-1)+n+1})},{title:"Branch Id",dataIndex:"BrId",key:"BrId",align:"left",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:null==t?void 0:t.BrId}),ellipsis:!0},{title:"Branch Name",dataIndex:"BrName",key:"BrName",width:"250px",align:"left",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Mobile",dataIndex:"CompMobile",key:"CompMobile",align:"left",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:(null==t?void 0:t.CompMobile)?null==t?void 0:t.CompMobile:"-"})},{title:"Address",dataIndex:"BrAddress1",key:"BrAddress1",align:"left",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Created Date",dataIndex:"CreatedDate",key:"CreatedDate",align:"center",width:"150px",ellipsis:!0,render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:(null==t?void 0:t.CreatedDate)?eA(null==t?void 0:t.CreatedDate):"-"})},{title:"Status",dataIndex:"ActiveStatus",key:"ActiveStatus",render:(e,t)=>Ye.jsx("a",{style:{color:"A"==(null==t?void 0:t.ActiveStatus)?"green":"Red"},children:"A"==(null==t?void 0:t.ActiveStatus)?"Active":"Deactive"})}],G=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(v-1)+n+1})},{title:"User Id",dataIndex:"UserId",key:"UserId",align:"left",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:null==t?void 0:t.UserId}),ellipsis:!0},{title:"user Name",dataIndex:"UserName",key:"UserName",width:"200px",align:"left"},{title:"Mobile",dataIndex:"MobileNo",key:"MobileNo",align:"left",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:null==t?void 0:t.MobileNo}),ellipsis:!0},{title:"Created Date",dataIndex:"CreatedDate",key:"CreatedDate",align:"center",width:"150px",ellipsis:!0,render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:(null==t?void 0:t.CreatedDate)?eA(null==t?void 0:t.CreatedDate):"-"})},{title:"Status",dataIndex:"ActiveStatus",key:"ActiveStatus",render:(e,t)=>Ye.jsx("a",{style:{color:"A"==(null==t?void 0:t.ActiveStatus)?"green":"Red"},children:"A"==(null==t?void 0:t.ActiveStatus)?"Active":"Deactive"})}];return Ye.jsxs("div",{className:"userPageTable",children:[Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:l,messageData:d,onComplete:H}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"User App Info"})}),Ye.jsx("div",{className:"searchAddDiv",children:Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{s(e)},onSearchChange:e=>{var t;s(null==(t=null==e?void 0:e.target)?void 0:t.value)}})})})]}),Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:W,data:y,dataSource:y,pagination:e=>{p(e)},onChange:V})})]}),Ye.jsx(SP,{title:"",width:1300,open:b,footer:!1,buttonText:"Submit",children:Ye.jsxs("div",{style:{display:"flex",width:"100%",height:"100%",flexDirection:"column",gap:"0.5rem"},children:[Ye.jsx("h1",{children:"Application-Specific Company, Branch, and Employee Details"}),Ye.jsx("div",{style:{display:"flex",width:"100%",overflowX:"auto",gap:"0.5rem",backgroundColor:"rgb(247, 248, 245)"},children:null==j?void 0:j.map((e=>Ye.jsx("div",{className:"appname-abstruct",style:{backgroundColor:(null==e?void 0:e.AppId)===k?"D"===(null==e?void 0:e.ActiveStatus)?"red":"rgb(155, 214, 36)":"white",border:"A"===(null==e?void 0:e.ActiveStatus)?"2px solid rgb(155, 214, 36)":"2px solid #e97e7e",color:"A"===(null==e?void 0:e.ActiveStatus)?"black":"white"},onClick:()=>{z(null==e?void 0:e.UserId,null==e?void 0:e.AppId)},children:null==e?void 0:e.ConfigName},null==e?void 0:e.ConfigName)))}),Ye.jsxs("div",{style:{display:"flex",width:"100%",gap:"2rem",flexDirection:"column"},children:[(null==S?void 0:S.length)>=0&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"reportTable-abstruct",children:Ye.jsx(E,{columns:Y,data:S,dataSource:S,pagination:{pageSize:10,onChange:(e,t)=>{h(e)}},onChange:V,rowClassName:e=>U===e.key?"selected-row":"",onRow:e=>({onClick:()=>{_(e.key),q(e)}})})})}),(null==I?void 0:I.length)>=1&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"reportTable-abstruct",children:Ye.jsx(E,{columns:K,data:I,dataSource:I,pagination:{pageSize:10,onChange:(e,t)=>{m(e)}},rowClassName:e=>O===e.key?"selected-row":"",onRow:t=>({onClick:()=>{M(t.key),(async t=>{var n,i,a,r,s,l,d;let u={UserId:D,AppId:null==t?void 0:t.AppId,CompId:null==t?void 0:t.CompId,BrId:null==t?void 0:t.BrId};try{let t=await e(YE(u)).unwrap();1==(null==(n=null==t?void 0:t.data)?void 0:n.statusCode)?(P(null==(r=null==(a=null==(i=null==t?void 0:t.data)?void 0:i.data)?void 0:a[0])?void 0:r.UserDetails),(null==(d=null==(l=null==(s=null==t?void 0:t.data)?void 0:s.data)?void 0:l[0])?void 0:d.UserDetails)<1&&(o("error"),c("No Users Found"))):(P([]),o("error"),c("No Users Found"))}catch(p){}})(t)}})})})}),(null==B?void 0:B.length)>=1&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"reportTable-abstruct",children:Ye.jsx(E,{columns:G,data:B,dataSource:B,pagination:e=>{g(e)},onChange:V})})})]})]}),handleCancel:()=>{w(!1),_(null),M(null),F([]),N([]),C([]),P([])}})]})},empAccess:"User App Info"},{path:"testimonials/new",component:e=>Ye.jsx(Vae,{...e,formType:"add"}),empAccess:"Testimonials"},{path:"testimonials/update",component:e=>Ye.jsx(Vae,{...e,formType:"edit"}),empAccess:"Testimonials"},{path:"super-admin-user-menu-access",component:()=>{var e;const t=Qt(),n=Mt(),i=um(),[r,s]=a.useState(null),[l,o]=a.useState(null),[d,c]=a.useState([]),[u,p]=a.useState(1),A=Tf(Gg),h=iA("UserType");a.useEffect((()=>{var e,t,a;i(Gh({items:Cae})),f(),(null==(e=null==n?void 0:n.state)?void 0:e.Notiffy)&&(s(null==(t=null==n?void 0:n.state)?void 0:t.Notiffy.messageType),o(null==(a=null==n?void 0:n.state)?void 0:a.Notiffy.messageData))}),[]);const f=async()=>{var e,t;let n=await i(qg()).unwrap();1===(null==(e=null==n?void 0:n.data)?void 0:e.statusCode)?c(null==(t=null==n?void 0:n.data)?void 0:t.data):c()},m=[{title:"SI.NO",key:"sno",align:"center",width:"80px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(u-1)+n+1})},{title:"Super Admin User Name",dataIndex:"UserName",key:"UserName",width:"180px",align:"center",ellipsis:!0},{title:"Edit",key:"Edit",dataIndex:"Edit",align:"center",width:"180px",render:(e,n,i)=>d.length>=1?Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"A"===n.ActiveStatus?"#1292EE":"#dadada"},onClick:()=>{var e;return 0===(null==A?void 0:A.length)||"Y"===(null==(e=null==A?void 0:A.find((e=>"Common Menu Access"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async(e,n)=>{"D"!==e.ActiveStatus&&t(`${jae}setting/super-admin-user-menu-access/update`,{state:{editstate:e}},{key:n})})(n,i):" "}})})}):null}],v=a.useCallback((()=>{o(null),s(null)}),[]);return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:r,messageData:l,onComplete:v}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Common Menu Access"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{setSearchedText(e)},onSearchChange:e=>{var t;setSearchedText(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",handleSubmit:()=>{t(`${jae}setting/super-admin-user-menu-access/new`)},color:"901D77",icon:Ye.jsx(C,{}),disabled:"Super Admin"!==h&&"N"===(null==(e=null==A?void 0:A.find((e=>"Common Menu Access"==(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:m,data:d,dataSource:d,pagination:e=>{p(e)},onChange:(e,t,n)=>{setSortedInfo(n)}})," "]})]})})},empAccess:"Common Menu Access",access:"Admin"},{path:"super-admin-user-menu-access/new",component:e=>Ye.jsx(Sae,{...e,formType:"add"}),empAccess:"Common Menu Access",access:"Admin"},{path:"super-admin-user-menu-access/update",component:e=>Ye.jsx(Sae,{...e,formType:"edit"}),empAccess:"Common Menu Access",access:"Admin"},{path:"updated-version",component:()=>{var e;const t=um(),n=a.useRef(null),[i,r]=a.useState(null),[s,l]=a.useState(null),[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState(),[h,f]=a.useState(),[m,v]=a.useState(""),g=iA("UserId"),y=iA("UserType"),x=Tf(Gg),{Text:b}=ie,w=[{name:"Home",link:"/home/landing-page/home"}];a.useEffect((()=>{t(Gh({items:w})),S()}),[]);const j=[{title:"SI.NO",align:"center",key:"sno",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:n+1})},{title:"App Type",dataIndex:"AppTypeName",key:"AppTypeName",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Version",dataIndex:"VersionNo",key:"VersionNo",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Apk Link",dataIndex:"AppUrl",key:"AppUrl",align:"center",render:e=>e&&Ye.jsx(b,{copyable:{text:e,tooltips:["Click to copy","Copied!"]},style:{display:"flex",gap:"1rem",justifyContent:"center"},children:Ye.jsx("a",{href:e,children:Ye.jsx(wE,{href:e})})})}],C=a.useCallback((()=>{l(null),r(null)}),[]),S=async()=>{var e,n,i,a;let r=await t(zae()).unwrap();1==(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)&&d(null==(n=null==r?void 0:r.data)?void 0:n.data);let s=await t(Wae()).unwrap();1==(null==(i=null==s?void 0:s.data)?void 0:i.statusCode)&&A(null==(a=null==s?void 0:s.data)?void 0:a.data)},N=e=>{var t;null==(t=n.current)||t.setFieldsValue({AppUrl:e}),v(e)};return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:i,messageData:s,onComplete:C}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Updated Version"})}),Ye.jsxs("div",{className:"formDiv",children:[Ye.jsxs(I,{ref:n,className:"formDivAnt",onFinish:async e=>{var i,a,s,o,d,c;let p={AppType:null==e?void 0:e.AppId,VersionNo:null==e?void 0:e.Version,CreatedBy:g,AppUrl:e.AppUrl},h=await t(qae(p)).unwrap();if(1==(null==(i=null==h?void 0:h.data)?void 0:i.statusCode)){let e=await t(Wae()).unwrap();1==(null==(a=null==e?void 0:e.data)?void 0:a.statusCode)&&(A(null==(s=null==e?void 0:e.data)?void 0:s.data),r("success"),l(null==(o=null==e?void 0:e.data)?void 0:o.response),u(null),f(void 0),null==(d=n.current)||d.setFieldsValue({Version:void 0}),null==(c=n.current)||c.setFieldsValue({AppId:void 0}),N(null))}},children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application"}],children:Ye.jsx(Xae,{options:null==o?void 0:o.map((e=>({value:e.ConfigId,label:e.ConfigName}))),placeholder:"Application Name",label:"Application Name",className:"field-DropDown",isOnchanges:!1,onChangeFunction:e=>(async e=>{var t;u(e),null==(t=n.current)||t.setFieldsValue({AppId:e})})(e),valueData:c})}),Ye.jsx(I.Item,{name:"Version",rules:[{required:!0,message:"Please Enter Version"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx($ae,{field:"Version No",label:"Version No",fieldState:!0,fieldApi:!0,autocomplete:"off",isOnChange:null!=h,valueData:null!=h,onChange:e=>{f(e.target.value)}})}),Ye.jsx(I.Item,{name:"AppUrl",rules:[{required:!0,message:"Please Upload Apk"}],children:Ye.jsx(Gae,{AppLinkLink:m,updateAppUrl:N})})]})}),Ye.jsx("div",{className:"submitButtonVersion",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0,disabled:"Super Admin"!==y&&"N"===(null==(e=null==x?void 0:x.find((e=>"Updated Version"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess)})})]}),Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:j,data:p,dataSource:p})})]})]})})})},empAccess:"Updated Version"},{path:"version-management",component:()=>{var e;const t=um(),n=a.useRef(null),[i,r]=a.useState([]),[s,l]=a.useState([]),[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState(null),[h,f]=a.useState(null),[m,v]=a.useState(null),[g,y]=a.useState(null),[x,b]=a.useState([]),[w,j]=a.useState([]),[C,S]=a.useState(),[N,F]=a.useState(null),[B,T]=a.useState(null),E=iA("UserId"),D=iA("UserType"),L=Tf(Gg);Tf(Cb);const U="Super Admin"!==D&&"N"===(null==(e=null==L?void 0:L.find((e=>"Version Management"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),_=[{name:"Home",link:"/home/landing-page/home"}];a.useEffect((()=>{t(Gh({items:_})),Q()}),[]);const O=()=>{if((null==i?void 0:i.length)===(null==s?void 0:s.length)&&(null==s?void 0:s.length)===(null==B?void 0:B.length))r([]),l([]);else{const e=B.every((e=>null!==(null==e?void 0:e.UpdatedVersion)));e?(r([...B]),l([...B])):(d("error"),u("have to choose all version first"))}},M=[{title:()=>Ye.jsx(V,{checked:(null==i?void 0:i.length)>0&&(null==i?void 0:i.every((e=>null==s?void 0:s.some((t=>(null==t?void 0:t.UserId)===(null==e?void 0:e.UserId)))))),onChange:O}),key:"Action",dataIndex:"Action",width:"1px",align:"center",render:(e,t)=>Ye.jsx(P,{size:"middle",children:Ye.jsx(V,{checked:!!(null==s?void 0:s.some((e=>(null==e?void 0:e.UserId)===(null==t?void 0:t.UserId)))),onClick:()=>(e=>{if(null==e?void 0:e.UpdatedVersion){const t=s||[];t.some((t=>(null==t?void 0:t.UserId)===e.UserId))?l(t.filter((t=>!((null==t?void 0:t.UserId)===e.UserId)))):l([...t,e])}else d("error"),u("have to choose version first")})(t)})})},{title:"SI NO",key:"sno",align:"center",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:n+1})},{title:"UserName",dataIndex:"UserName",key:"UserName",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Updated Version",dataIndex:"UpdatedVersion",key:"UpdatedVersion",render:e=>Ye.jsx("a",{style:{color:"black"},children:e||" -"})},{title:"Current Version",dataIndex:"CurrentVersion",key:"CurrentVersion",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Updated Date",dataIndex:"UpdatedDate",key:"UpdatedDate",render:e=>Ye.jsxs("a",{style:{color:"black"},children:[" ",e?eA(e):" -"]})},{title:"Version",dataIndex:"CurrentVersion",key:"CurrentVersion",render:(e,t,n)=>{var i;return Ye.jsx(P,{size:"middle",children:Ye.jsx("div",{className:"versionManagementDropDown",children:Ye.jsx(_y,{options:null==t?void 0:t.Versions.map((e=>({value:e.VersionNo,label:e.VersionNo}))),placeholder:"Version",label:"version",className:"field-DropDown",onChangeFunction:e=>((e,t,n)=>{const i=[...n];i[t]={...i[t],UpdatedVersion:e},T(i)})(e,n,B),valueData:null==(i=null==B?void 0:B[n])?void 0:i.UpdatedVersion})})})}}],R=a.useCallback((()=>{u(null),d(null)}),[]),Q=async()=>{var e,n,i,a;let r=await t(zae()).unwrap();1==(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)&&A(null==(n=null==r?void 0:r.data)?void 0:n.data);let s=await t(ST()).unwrap();1==(null==(i=null==s?void 0:s.data)?void 0:i.statusCode)&&f(null==(a=null==s?void 0:s.data)?void 0:a.data)},H=async(e,i)=>{var a,r,s,l,o,d;let c=i||m;S(),y(e),null==(a=n.current)||a.setFieldsValue({CompId:e});let u=await t(MA({AppId:c,CompId:e})).unwrap();if(1===(null==(r=null==u?void 0:u.data)?void 0:r.statusCode)){const e=null==(l=null==(s=null==u?void 0:u.data)?void 0:s.data)?void 0:l.filter((e=>"D"!==e.ActiveStatus));await j(e),0===e.length&&(null==(o=null==n?void 0:n.current)||o.setFieldsValue({BranchId:null})),1===e.length&&await z(null==(d=e[0])?void 0:d.BrId)}else j([])},z=async e=>{var t;null==(t=n.current)||t.setFieldsValue({BranchId:e}),await S(e)};return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:o,messageData:c,onComplete:R}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Version Management"})}),Ye.jsxs("div",{style:{height:"auto"},className:"formDiv",children:[Ye.jsxs(I,{ref:n,className:"formDivAnt",onFinish:async e=>{var n,i,a,r;let s={appId:null==e?void 0:e.AppId,appType:null==e?void 0:e.AppDeviceId,compId:null==e?void 0:e.CompId,branchId:null==e?void 0:e.BranchId},l=await t(Yae(s)).unwrap();1==(null==(n=null==l?void 0:l.data)?void 0:n.statusCode)?(T(null==(i=null==l?void 0:l.data)?void 0:i.data),d("success"),u(null==(a=null==l?void 0:l.data)?void 0:a.response)):(T([]),d("error"),u(null==(r=null==l?void 0:l.data)?void 0:r.response))},children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Enter Application"}],children:Ye.jsx(_y,{options:null==h?void 0:h.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"Application Name",label:"Application Name",className:"field-DropDown",isOnchanges:!!m,onChangeFunction:e=>(async e=>{var i,a,r,s,l,o,d,c;y(),b([]),j([]),S(),v(e),null==(i=n.current)||i.setFieldsValue({AppId:e});let u=await t(ME({AppId:e})).unwrap();1===(null==(a=null==u?void 0:u.data)?void 0:a.statusCode)?(await b(null==(s=null==(r=null==u?void 0:u.data)?void 0:r.data)?void 0:s.filter((e=>"D"!==e.ActiveStatus))),1===(null==(o=null==(l=null==u?void 0:u.data)?void 0:l.data)?void 0:o.length)&&await H(null==(c=null==(d=null==u?void 0:u.data)?void 0:d.data[0])?void 0:c.CompId,e)):b([])})(e),valueData:m})}),Ye.jsx(I.Item,{name:"CompId",rules:[{required:!0,message:"Please Select Company"}],children:Ye.jsx(_y,{options:null==x?void 0:x.map((e=>({value:e.CompId,label:e.CompName}))),placeholder:"CompId",label:Ye.jsx("label",{className:"required",children:"Company Name"}),className:"field-DropDown",isOnchanges:!!g,onChangeFunction:H,valueData:g})}),Ye.jsx(I.Item,{name:"BranchId",rules:[{required:!0,message:"Please Select Branch"}],children:Ye.jsx(_y,{options:null==w?void 0:w.map((e=>({value:e.BrId,label:e.BrName}))),placeholder:"BranchId",label:Ye.jsx("label",{className:"required",children:"Branch Name"}),className:"field-DropDown",isOnchanges:!!C,onChangeFunction:z,valueData:C})}),Ye.jsx(I.Item,{name:"AppDeviceId",rules:[{required:!0,message:"Please Select Device"}],children:Ye.jsx(_y,{options:null==p?void 0:p.map((e=>({value:e.ConfigId,label:e.ConfigName}))),placeholder:"Device Name",label:"App Type",className:"field-DropDown",isOnchanges:!!N,onChangeFunction:e=>(async e=>{var t;F(e),null==(t=n.current)||t.setFieldsValue({AppDeviceId:e})})(e),valueData:N})})]})}),Ye.jsx("div",{className:"submitButton1",children:Ye.jsx(Ry,{buttonText:"Search",color:"901D77",icon:Ye.jsx(WO,{}),htmlType:!0})})]}),(null==B?void 0:B.length)>0&&Ye.jsx("div",{className:"versionMangement",children:Ye.jsx(Vb,{columns:M,data:B,dataSource:B})}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0,handleSubmit:()=>{U||(async()=>{var e,i,a;if((null==s?void 0:s.length)>0){let r=null==s?void 0:s.map((e=>({AppId:m,CompId:null==e?void 0:e.CompId,BranchId:null==e?void 0:e.BranchId,AppType:null==e?void 0:e.AppType,UpdatedVersion:null==e?void 0:e.UpdatedVersion,CurrentVersion:null==e?void 0:e.CurrentVersion,UserId:null==e?void 0:e.UserId}))),o={AppVersionUpdateDtl:r,UpdatedBy:E},c=await t(Kae(o)).unwrap();1==(null==(e=null==c?void 0:c.data)?void 0:e.statusCode)&&(T(),v(),F(),l([]),y(),b([]),j([]),S(),await(null==(i=n.current)?void 0:i.resetFields()),d("success"),u(null==(a=null==c?void 0:c.data)?void 0:a.response))}else d("error"),u("please select atleast one data")})()},disabled:U})})]})]})})})},empAccess:"Version Management"},{path:"purchaseinfo",component:()=>{var e,t,n,i,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,S,N,F,B,T,U,_,O,M;const R="/home/",Q=um(),H=a.useRef(null),V=a.useRef(null),z=a.useRef(null),q=a.useRef(null),W=Tf(Gg),Y=Tf(Z_),K=Tf(Aw),G=Tf(hw),[$,X]=a.useState(null),[J,Z]=a.useState(null),[ee,te]=a.useState(1),[ne,ie]=a.useState(""),[ae,re]=a.useState([]),[se,le]=a.useState([]),[oe,de]=a.useState(null),[ce,ue]=a.useState("A"),[pe,Ae]=a.useState(!1),[he,fe]=a.useState(null),[me,ve]=a.useState(!1),[ge,ye]=a.useState(),[xe,be]=a.useState("PS"),[we,je]=a.useState("NP"),[Ce,Se]=a.useState(),[Ne,Ie]=a.useState(),[Fe,Be]=a.useState(),[Pe,ke]=a.useState(),[Te,Ee]=a.useState(),[De,Le]=a.useState(!1),[Ue,_e]=a.useState([]),[Oe,Me]=a.useState([]),[Re,Qe]=a.useState(),[He,Ve]=a.useState([]),[ze,qe]=a.useState(null),[We,Ke]=a.useState([]),[Ge,$e]=a.useState([]),[Xe,Je]=a.useState([]),Ze=iA("UserId"),[et,tt]=a.useState(!1),[nt,it]=a.useState([]),[at,rt]=a.useState([]),[st,lt]=a.useState(null),[ot,dt]=a.useState(null),ct=iA("UserType"),ut=[{name:"Home",link:`${R}landing-page/home`},{name:"PurchaseInfo",link:`${R}setting/purchaseinfo`}];a.useEffect((()=>{Q(Gh({items:ut})),gt(),vt("A")}),[]),a.useEffect((()=>{let e=null==He?void 0:He.filter((e=>e.AppId===ze));Ke(e);const t=null==Ue?void 0:Ue.filter((e=>e.FeatName==Re));$e(t)}),[He,Ue,Re,ze]);const pt=a.useCallback((()=>{Z(null),X(null)}),[]),At=[{title:"SI.NO",key:"sno",align:"center",width:"50px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(ee-1)+n+1})},{title:"Application",dataIndex:"AppName",key:"AppName",width:"150px",align:"left",filteredValue:[ne],render:e=>Ye.jsx("a",{className:"tableText",children:e}),onFilter:(e,t)=>String(t.AppName).toLowerCase().includes(e.toLowerCase())||String(t.UserName).toLowerCase().includes(e.toLowerCase())||String(t.MobileNo).toLowerCase().includes(e.toLowerCase())},{title:"Mobile No",dataIndex:"MobileNo",key:"MobileNo",align:"left",width:"100px",filteredValue:[ne]},{title:"Name",dataIndex:"UserName",key:"UserName",align:"center",width:"50px",filteredValue:[ne]},{title:"Purchese Date",dataIndex:"PurDate",key:"PurDate",align:"right",width:"200px",render:e=>eA(e)},{title:"Valid From",dataIndex:"ValidityStart",key:"ValidityStart",align:"right",width:"200px",render:e=>eA(e)},{title:"Valid To",dataIndex:"ValidityEnd",key:"ValidityEnd",align:"right",width:"200px",render:e=>eA(e)},{title:"Plan",key:"PricingName",dataIndex:"PricingName",width:"150px",align:"center",render:(e,t)=>`${e} / ${365===t.NoOfDays?"Year":"Month"}`},{title:"Price",key:"Price",dataIndex:"Price",width:"50px",align:"center"},{title:"Remaining Days",key:"RemainingDays",dataIndex:"RemainingDays",width:"200px",align:"center"},{title:"Details",key:"AppDetails",dataIndex:"AppDetails",width:"50px",align:"center",render:(e,t)=>Ye.jsx(ty,{style:{color:"#1292EE",fontSize:"25px",cursor:"pointer"},onClick:()=>(e=>{fe(e),Ae(!0)})(t)})},{title:"Status",key:"Status",dataIndex:"Status",width:"100px",align:"center",render:e=>Ye.jsx("span",{style:{color:"Active"===e?"rgb(0, 126, 28)":"red"},children:e})},{title:"Extend",key:"Status",dataIndex:"Status",width:"100px",align:"center",render:(e,t)=>Ye.jsx("span",{style:{color:"#1292ee",cursor:"pointer",textDecoration:"underline",fontFamily:"Poppins",fontSize:"14px"},children:"Y"===(null==t?void 0:t.LastStatus)?Ye.jsx("div",{onClick:()=>{var n;const i="Y"===(null==(n=null==W?void 0:W.find((e=>"Purchase Info"===(null==e?void 0:e.ConfigName))))?void 0:n.UpdateAccess);(i||"Super Admin"===ct)&&Ft(t,e,null==t?void 0:t.AppName)},children:"Renewal"}):null})}],ht=[{title:"SI.NO",key:"sno",align:"center",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:n+1})},{title:"Feature Name",dataIndex:"FeatName",key:"FeatName",align:"left"},{title:"Feature Count",dataIndex:"featcount",key:"featcount",align:"center"},{title:"Price",dataIndex:"NetPrice",key:"Amount",align:"center"},{title:"Net Amount",dataIndex:"OveralAmount",key:"OveralAmount",align:"right"},{title:"Action",dataIndex:"Action",key:"Action",align:"right",render:(e,t,n)=>(null==Xe?void 0:Xe.length)>=1?Ye.jsxs(P,{size:"middle",children:[Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>Ut(t)})}),Ye.jsx("a",{children:Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>_t(t)})})]}):null}],ft=e=>{te(e)},mt="All"===ce?null==ae?void 0:ae.filter((e=>!oe||("Free"===oe?"Free"===e.PricingName:e.Status===oe))):ae,vt=async e=>{var t;let n=await Q(rre("All"==e?"":e)).unwrap();re(null==(t=null==n?void 0:n.data)?void 0:t.data)},gt=async()=>{var e,t;let n=await Q(are()).unwrap();le(null==(t=null==(e=null==n?void 0:n.data)?void 0:e.data)?void 0:t[0])},yt=[{title:"SI.NO",key:"sno",align:"center",width:"50px",render:(e,t,n)=>Ye.jsx("span",{style:{color:"black"},children:n+1})},{title:"Id",dataIndex:"CompId",key:"CompId"},{title:"Name",dataIndex:"CompName",key:"CompName"},{title:"Short Name",dataIndex:"CompShName",key:"CompShName"},{title:"Mobile No",dataIndex:"CompMobile",key:"CompMobile"},{title:"Proprietor",dataIndex:"Proprietor",key:"Proprietor"},{title:"Created Date",dataIndex:"CreatedDate",key:"CreatedDate"}],xt=[{title:"SI.NO",key:"sno",align:"center",width:"50px",render:(e,t,n)=>Ye.jsx("span",{style:{color:"black"},children:n+1})},{title:"Id",dataIndex:"BrId",key:"BrId"},{title:"Name",dataIndex:"BrName",key:"BrName"},{title:"Mobile No",dataIndex:"BrMobile",key:"BrMobile"},{title:"Address",dataIndex:"BranchAddress",key:"BranchAddress"},{title:"Created Date",dataIndex:"CreatedDate",key:"CreatedDate"}],bt=[{title:"SI.NO",key:"sno",align:"center",width:"50px",render:(e,t,n)=>Ye.jsx("span",{style:{color:"black"},children:n+1})},{title:"Id",dataIndex:"UserId",key:"UserId"},{title:"Name",dataIndex:"UserName",key:"UserName"},{title:"Mobile No",dataIndex:"MobileNo",key:"MobileNo"},{title:"Mail Id",dataIndex:"MailId",key:"MailId"},{title:"Created Date",dataIndex:"CreatedDate",key:"CreatedDate"}],wt=[{title:"SI.NO",key:"sno",align:"center",width:"50px",render:(e,t,n)=>Ye.jsx("span",{style:{color:"black"},children:n+1})},{title:"Name",dataIndex:"FeatAddonName",key:"FeatAddonName"},{title:"Count",dataIndex:"Count",key:"Count"},{title:"Price",dataIndex:"Price",key:"Price"},{title:"NetPrice",dataIndex:"NetPrice",key:"NetPrice"},{title:"PurDate",dataIndex:"PurDate",key:"PurDate"}],jt=(null==(n=null==(t=null==(e=null==he?void 0:he.AppDetails)?void 0:e[0])?void 0:t.CompanyDetails)?void 0:n.map(((e,t)=>({key:t,CompId:null==e?void 0:e.CompId,CompName:null==e?void 0:e.CompName,CompShName:null==e?void 0:e.CompShName,CompMobile:null==e?void 0:e.CompMobile,Proprietor:null==e?void 0:e.Proprietor,CreatedDate:eA(null==e?void 0:e.CreatedDate)}))))||[],Ct=(null==(o=null==(l=null==(s=null==(r=null==(i=null==he?void 0:he.AppDetails)?void 0:i[0])?void 0:r.CompanyDetails)?void 0:s[0])?void 0:l.BranchDetails)?void 0:o.map(((e,t)=>({key:t,BrId:null==e?void 0:e.BrId,BrName:null==e?void 0:e.BrName,BrMobile:null==e?void 0:e.BrMobile,BranchAddress:null==e?void 0:e.Address1,CreatedDate:eA(null==e?void 0:e.CreatedDate)}))))||[],St=(null==(f=null==(h=null==(A=null==(p=null==(u=null==(c=null==(d=null==he?void 0:he.AppDetails)?void 0:d[0])?void 0:c.CompanyDetails)?void 0:u[0])?void 0:p.BranchDetails[0])?void 0:A.UserDetails)?void 0:h.filter((e=>"Employee"===(null==e?void 0:e.UserTypeName))))?void 0:f.map(((e,t)=>({key:t,UserId:null==e?void 0:e.UserId,UserName:null==e?void 0:e.UserName,MobileNo:null==e?void 0:e.MobileNo,CompName:null==e?void 0:e.CompName,BrName:null==e?void 0:e.BrName,MailId:null==e?void 0:e.MailId,CreatedDate:eA(null==e?void 0:e.CreatedDate)}))))||[],Nt=(null==(m=null==he?void 0:he.FeatAddonDetails)?void 0:m.map(((e,t)=>({key:t,FeatAddonName:null==e?void 0:e.FeatAddonName,Count:null==e?void 0:e.Count,Price:null==e?void 0:e.Price,NetPrice:null==e?void 0:e.NetPrice,PurDate:eA(null==e?void 0:e.PurDate)}))))||[],It=a.useRef(null);a.useEffect((()=>{function e(e){It.current&&!It.current.contains(e.target)&&Ae(!1)}return pe&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[pe]);const Ft=async(e,t)=>{var n,i,a,r,s,l,o,d,c;let u=null==e?void 0:e.AppName,p=null==e?void 0:e.UserId,A=null==e?void 0:e.AppId;qe(A),ye(e),ve(!0),be("PS"),je("Active"!=t?"NP":"EP"),ke();let h=await Q(nk({typeName:"Manual PaymentType"})).unwrap();Se(null==(n=null==h?void 0:h.data)?void 0:n.data),await Q(r_(u)).unwrap();let f=await Q(lw({UserId:p,AppId:A})).unwrap(),m=null==(a=null==(i=null==f?void 0:f.data)?void 0:i.data)?void 0:a.map((e=>({...e,Sadmin:"Y"})));Ee(m),Q(uw(!0)),Q(pw(m)),await Q(Bg({UserId:p})).unwrap(),await Q(n_()).unwrap();let v=await Q(Bg({UserId:p})).unwrap();Ve(null==(r=null==v?void 0:v.data)?void 0:r.data);let g=await Q(aT(A)),y=null==(c=null==(d=null==(o=null==(l=null==(s=null==g?void 0:g.payload)?void 0:s.data)?void 0:l.data)?void 0:o[0])?void 0:d.FeatDetails)?void 0:c.filter((e=>"D"!=e.ActiveStatus));_e(y)},Bt=e=>{var t;je(e),null==(t=null==H?void 0:H.current)||t.resetFields(),Je([]),Ie(),Qe()},Pt=e=>{var t;Ie(e),null==(t=null==H?void 0:H.current)||t.setFieldsValue({Manualpayment:e})},kt=e=>{var t,n,i;ke(null==(t=null==e?void 0:e.target)?void 0:t.value),null==(i=null==H?void 0:H.current)||i.setFieldsValue({Reason:null==(n=null==e?void 0:e.target)?void 0:n.value})},Tt=()=>{ve(!1),Qe(),Je([]),Ie(),tt(!1),lt(null),dt(null),_e([]),Le(!1),rt([])},Et=()=>{Le(!De)},Dt=e=>{var t,n,i;Qe(e),null==(t=null==z?void 0:z.current)||t.setFieldsValue({FeaturesName:e,FeaturesAmount:null}),null==(n=null==q?void 0:q.current)||n.setFieldsValue({FeaturesName:e,FeaturesAmount:null}),null==(i=null==H?void 0:H.current)||i.setFieldsValue({FeaturesName:e,FeaturesAmount:null}),Me()},Lt=(e,t,n,i,a,r)=>{var s;const l=e*i,o=e*r;null==(s=null==H?void 0:H.current)||s.setFieldsValue({[t]:e,[n]:l.toString(),[a]:o.toString()}),setTimeout((()=>{Me((n=>({...n,[t]:e})))}),0)},Ut=async e=>{var t,n,i,a,r,s,l,o,d,c;Qe(e.FeatName),null==(t=null==H?void 0:H.current)||t.setFieldsValue({FeaturesName:e.FeatName}),null==(n=null==H?void 0:H.current)||n.setFieldsValue({FeaturesAmount:e.featcount}),null==(i=null==z?void 0:z.current)||i.setFieldsValue({FeaturesName:e.FeatName}),null==(a=null==z?void 0:z.current)||a.setFieldsValue({FeaturesAmount:e.featcount}),null==(r=null==q?void 0:q.current)||r.setFieldsValue({FeaturesName:e.FeatName}),null==(s=null==q?void 0:q.current)||s.setFieldsValue({FeaturesAmount:e.featcount}),Lt(e.featcount,"FeaturesAmount",(null==(l=null==Ge?void 0:Ge[0])?void 0:l.FeatName)+"Amt",null==(o=null==Ge?void 0:Ge[0])?void 0:o.NetPrice,(null==(d=null==Ge?void 0:Ge[0])?void 0:d.FeatName)+"Taxdetails",null==(c=null==Ge?void 0:Ge[0])?void 0:c.TaxAmount),Me(e.OveralAmount)},_t=async e=>{let t=null==Xe?void 0:Xe.filter((t=>t.UniqueId!==e.UniqueId));Je(t)},Ot=e=>{var t,n,i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P,k,T;const E=null==Ue?void 0:Ue.filter((t=>t.FeatName==(null==e?void 0:e.FeaturesName)));let D=Xe.filter((t=>t.FeatName!==(null==e?void 0:e.FeaturesName))),L=[{AppName:null==(t=null==Ge?void 0:Ge[0])?void 0:t.AppName,FeatName:null==(n=null==Ge?void 0:Ge[0])?void 0:n.FeatName,TaxAmount:(null==(i=null==We?void 0:We[0])?void 0:i.NoOfDays)>31?null==(a=null==Ge?void 0:Ge[0])?void 0:a.YearlyTaxAmount:null==(r=null==Ge?void 0:Ge[0])?void 0:r.MonthlyTaxAmount,Price:(null==(s=null==We?void 0:We[0])?void 0:s.NoOfDays)>31?null==(l=null==Ge?void 0:Ge[0])?void 0:l.YearlyPrice:null==(o=null==Ge?void 0:Ge[0])?void 0:o.MonthlyPrice,NetPrice:(null==(d=null==We?void 0:We[0])?void 0:d.NoOfDays)>31?null==(c=null==Ge?void 0:Ge[0])?void 0:c.YearlyNetPrice:null==(u=null==Ge?void 0:Ge[0])?void 0:u.MonthlyNetPrice,featcount:null==e?void 0:e.FeaturesAmount,OveralAmount:(null==Oe?void 0:Oe.FeaturesAmount)*((null==(p=null==We?void 0:We[0])?void 0:p.NoOfDays)>31?null==(A=null==Ge?void 0:Ge[0])?void 0:A.YearlyNetPrice:null==(h=null==Ge?void 0:Ge[0])?void 0:h.MonthlyNetPrice),TaxId:null==(f=null==Ge?void 0:Ge[0])?void 0:f.TaxId,UniqueId:null==(m=null==E?void 0:E[0])?void 0:m.UniqueId}];"FA"==we&&(null==ge?void 0:ge.RemainingDays)>0?(null==Xe?void 0:Xe.some((t=>t.FeatName===(null==e?void 0:e.FeaturesName))))?(Je([...D,...L]),Qe(),null==(v=null==H?void 0:H.current)||v.resetFields(),null==(g=null==q?void 0:q.current)||g.resetFields(),null==(y=null==V?void 0:V.current)||y.resetFields(),null==(x=null==z?void 0:z.current)||x.resetFields()):(Je([...Xe,...L]),Qe(),null==(b=null==H?void 0:H.current)||b.resetFields(),null==(w=null==q?void 0:q.current)||w.resetFields(),null==(j=null==V?void 0:V.current)||j.resetFields(),null==(C=null==z?void 0:z.current)||C.resetFields()):"NP"==we?(null==Xe?void 0:Xe.some((t=>t.FeatName===(null==e?void 0:e.FeaturesName))))?(Je([...D,...L]),Qe(),null==(S=null==H?void 0:H.current)||S.resetFields(),null==(N=null==q?void 0:q.current)||N.resetFields(),null==(I=null==V?void 0:V.current)||I.resetFields(),null==(F=null==z?void 0:z.current)||F.resetFields()):(Je([...Xe,...L]),Qe(),null==(B=null==H?void 0:H.current)||B.resetFields(),null==(P=null==q?void 0:q.current)||P.resetFields(),null==(k=null==V?void 0:V.current)||k.resetFields(),null==(T=null==z?void 0:z.current)||T.resetFields()):(X("error"),Z("Please Have Active Plans"))},Mt=async()=>{var e,t,n,i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C;if("NP"==we)if("PS"==xe)if(0==Xe.length&&Ne){let a={UserId:null==ge?void 0:ge.UserId,AppId:null==ge?void 0:ge.AppId,PricingId:null==ge?void 0:ge.PricingId,CompId:null==ge?void 0:ge.CompId,PaymentStatus:"S",LicenseStatus:"A",Price:null==ge?void 0:ge.Price,TaxId:null==ge?void 0:ge.TaxId,TaxAmount:null==ge?void 0:ge.TaxAmount,NetPrice:null==ge?void 0:ge.NetPrice,ValidityStart:null==ge?void 0:ge.ValidityStart,ValidityEnd:null==ge?void 0:ge.ValidityEnd,NoofDays:null==ge?void 0:ge.NoOfDays,UniqueId:null==ge?void 0:ge.UniqueId,MailId:null==ge?void 0:ge.MailId,Gst:null==ge?void 0:ge.Gst,BillingName:null==ge?void 0:ge.BillingName,MobileNo:null==ge?void 0:ge.MobileNo,Type:xe,Reason:Pe||"",PaymentType:Ne||"",CreatedBy:null==ge?void 0:ge.UserId},r=await Q(ik(a)).unwrap();1==(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)?(null==(t=null==H?void 0:H.current)||t.resetFields(),Ie(),ke(),ve(!1),Je([]),Q(uw(!1)),Le(!1),X("success"),Z(null==(n=null==r?void 0:r.data)?void 0:n.response),vt(ce)):(X("error"),Z(null==(i=null==r?void 0:r.data)?void 0:i.response))}else if(Xe.length>0&&Ne)if(Xe.length>0){let e=null==He?void 0:He.filter((e=>{var t;return(null==e?void 0:e.AppName)==(null==(t=null==Xe?void 0:Xe[0])?void 0:t.AppName)})),t={UserId:null==ge?void 0:ge.UserId,AppId:null==ge?void 0:ge.AppId,PricingId:null==ge?void 0:ge.PricingId,CompId:null==ge?void 0:ge.CompId,PaymentStatus:"S",LicenseStatus:"A",ValidityStart:null==ge?void 0:ge.ValidityStart,ValidityEnd:null==ge?void 0:ge.ValidityEnd,NoofDays:null==ge?void 0:ge.NoOfDays,UniqueId:null==ge?void 0:ge.UniqueId,MailId:null==ge?void 0:ge.MailId,Gst:null==ge?void 0:ge.Gst,BillingName:null==ge?void 0:ge.BillingName,MobileNo:null==ge?void 0:ge.MobileNo,CreatedBy:null==ge?void 0:ge.UserId,BookingId:null==(a=null==e?void 0:e[0])?void 0:a.UniqueId,Price:null==Xe?void 0:Xe.reduce(((e,t)=>e+t.Price*t.featcount),0),TaxId:null==(r=null==Xe?void 0:Xe[0])?void 0:r.TaxId,TaxAmount:null==Xe?void 0:Xe.reduce(((e,t)=>e+t.TaxAmount*t.featcount),0),NetPrice:(null==Xe?void 0:Xe.reduce(((e,t)=>e+t.OveralAmount),0))+(null==ge?void 0:ge.NetPrice),OrderId:0,Type:xe,Reason:Pe||"",PaymentType:Ne||"",Details:null==Xe?void 0:Xe.map((e=>({FeatAddonId:null==e?void 0:e.UniqueId,Count:null==e?void 0:e.featcount,Price:(null==e?void 0:e.Price)*(null==e?void 0:e.featcount),NetPrice:(null==e?void 0:e.NetPrice)*(null==e?void 0:e.featcount),TaxAmount:(null==e?void 0:e.TaxAmount)*(null==e?void 0:e.featcount),TaxId:null==e?void 0:e.TaxId})))},n=await Q(ik(t)).unwrap();1==(null==(s=null==n?void 0:n.data)?void 0:s.statusCode)?(null==(l=null==H?void 0:H.current)||l.resetFields(),Ie(),ke(),Je([]),ve(!1),Le(!1),Q(uw(!1)),X("success"),Z(null==(o=null==n?void 0:n.data)?void 0:o.response),vt(ce)):(X("error"),Z(null==(d=null==n?void 0:n.data)?void 0:d.response)),Me(),Le(!1)}else X("error"),Z("Select Feature");else X("error"),Z("Please Choose Payment Type");else if(Fe){let e={UserId:null==ge?void 0:ge.UserId,AppId:null==ge?void 0:ge.AppId,PricingId:null==ge?void 0:ge.PricingId,CompId:null==ge?void 0:ge.CompId,PaymentStatus:"S",LicenseStatus:"A",Price:null==ge?void 0:ge.Price,TaxId:null==ge?void 0:ge.TaxId,TaxAmount:null==ge?void 0:ge.TaxAmount,NetPrice:null==ge?void 0:ge.NetPrice,ValidityStart:null==ge?void 0:ge.ValidityStart,ValidityEnd:null==ge?void 0:ge.ValidityEnd,NoofDays:Fe||(null==ge?void 0:ge.NoOfDays),UniqueId:null==ge?void 0:ge.UniqueId,MailId:null==ge?void 0:ge.MailId,Gst:null==ge?void 0:ge.Gst,BillingName:null==ge?void 0:ge.BillingName,MobileNo:null==ge?void 0:ge.MobileNo,Type:xe,Reason:Pe||"",PaymentType:Ne||"",CreatedBy:null==ge?void 0:ge.UserId},t=await Q(ik(e)).unwrap();1==(null==(c=null==t?void 0:t.data)?void 0:c.statusCode)?(null==(u=null==H?void 0:H.current)||u.resetFields(),Ie(),ke(),be("PS"),ve(!1),Q(uw(!1)),X("success"),Z(null==(p=null==t?void 0:t.data)?void 0:p.response),vt(ce)):(X("error"),Z(null==(A=null==t?void 0:t.data)?void 0:A.response))}else X("error"),Z("Please Enter No of Days");else if("EP"==we)if(Ne){let e={UserId:null==ge?void 0:ge.UserId,AppId:null==ge?void 0:ge.AppId,PricingId:null==G?void 0:G.PricingId,CompId:null==ge?void 0:ge.CompId,PaymentStatus:"S",LicenseStatus:"A",Price:null==G?void 0:G.Price,TaxId:null==ge?void 0:ge.TaxId,TaxAmount:null==ge?void 0:ge.TaxAmount,NetPrice:null==G?void 0:G.NetPrice,ValidityStart:null==ge?void 0:ge.ValidityStart,ValidityEnd:null==ge?void 0:ge.ValidityEnd,NoofDays:null==G?void 0:G.NoOfDays,UniqueId:null==ge?void 0:ge.UniqueId,MailId:null==ge?void 0:ge.MailId,Gst:null==ge?void 0:ge.Gst,BillingName:null==ge?void 0:ge.BillingName,MobileNo:null==ge?void 0:ge.MobileNo,Type:xe,Reason:Pe||"",PaymentType:Ne||"",CreatedBy:null==ge?void 0:ge.UserId},t=await Q(ik(e)).unwrap();1==(null==(h=null==t?void 0:t.data)?void 0:h.statusCode)?(null==(f=null==H?void 0:H.current)||f.resetFields(),Ie(),ke(),ve(!1),Je([]),Q(uw(!1)),Le(!1),X("success"),Z(null==(m=null==t?void 0:t.data)?void 0:m.response),vt(ce)):(X("error"),Z(null==(v=null==t?void 0:t.data)?void 0:v.response))}else X("error"),Z("Please Choose Payment Type");else if(Ne)if(Xe.length>0){let e=null==He?void 0:He.filter((e=>{var t;return(null==e?void 0:e.AppName)==(null==(t=null==Xe?void 0:Xe[0])?void 0:t.AppName)})),t={BookingId:null==(g=null==e?void 0:e[0])?void 0:g.UniqueId,Price:null==Xe?void 0:Xe.reduce(((e,t)=>e+t.Price*t.featcount),0),TaxId:null==(y=null==Xe?void 0:Xe[0])?void 0:y.TaxId,TaxAmount:null==Xe?void 0:Xe.reduce(((e,t)=>e+t.TaxAmount*t.featcount),0),NetPrice:null==Xe?void 0:Xe.reduce(((e,t)=>e+t.OveralAmount),0),OrderId:0,Type:"I",PaymentStatus:"S",Reason:Pe||"",PaymentType:Ne||"",Details:null==Xe?void 0:Xe.map((e=>({FeatAddonId:null==e?void 0:e.UniqueId,Count:null==e?void 0:e.featcount,Price:(null==e?void 0:e.Price)*(null==e?void 0:e.featcount),NetPrice:(null==e?void 0:e.NetPrice)*(null==e?void 0:e.featcount),TaxAmount:(null==e?void 0:e.TaxAmount)*(null==e?void 0:e.featcount),TaxId:null==e?void 0:e.TaxId}))),CreatedBy:Ze},n=await Q(BT(t)).unwrap();1==(null==(x=null==n?void 0:n.data)?void 0:x.statusCode)?(null==(b=null==H?void 0:H.current)||b.resetFields(),Ie(),ke(),ve(!1),Je([]),Q(uw(!1)),X("success"),Z(null==(w=null==n?void 0:n.data)?void 0:w.response),vt(ce)):(X("error"),Z(null==(j=null==n?void 0:n.data)?void 0:j.response)),null==(C=null==H?void 0:H.current)||C.resetFields(),Me()}else X("error"),Z("Select Feature");else X("error"),Z("Please Choose Payment Type")};return Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{className:"userPageTable",children:[Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Purchase Info"})}),Ye.jsxs("div",{className:"searchAddDiv1 ",style:{gap:"All"==ce?"5px":"10px"},children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearchChange:e=>{const{value:t}=e.target;ie(t)}})}),Ye.jsx("div",{className:"purchaseInfoBtn",children:[{value:"A",label:`Active (${null==se?void 0:se.ActiveCount})`,className:"active-btn"},{value:"E",label:`Expired (${null==se?void 0:se.ExpiredCount})`,className:"expired-btn"},{value:"F",label:`Free (${null==se?void 0:se.FreeCount})`,className:"free-btn"},{value:"All",label:`All (${(null==se?void 0:se.ActiveCount)+(null==se?void 0:se.ExpiredCount)+(null==se?void 0:se.FreeCount)||0})`,className:"all-btn"}].map((e=>Ye.jsx("button",{onClick:()=>{return t=e.value,vt(t),ue(t),void ft(1);var t},className:`status-button ${ce===e.value?e.className:"inactive-btn"}`,children:e.label},e.value)))}),Ye.jsx("div",{className:"purchaseInfoDD",children:"All"==ce&&Ye.jsx(_y,{options:[{value:"Active",label:"Active"},{value:"Expired",label:"Expired"},{value:"Free",label:"Free"}],placeholder:"Status",label:"All",className:"field-DropDown",valueData:oe,onChangeFunction:e=>(async e=>{var t;let n=e,i=await Q(rre("Active"==n?"A":"Expired"==n?"E":"Free"==n?"F":"","")).unwrap();re(null==(t=null==i?void 0:i.data)?void 0:t.data),vt(e),de(e),ft(1)})(e)})}),Ye.jsx("div",{className:"All"==ce&&"purchase-div",children:Ye.jsx(Ry,{buttonText:"Add Purchase",handleSubmit:()=>{var e;const t="N"!==(null==(e=null==W?void 0:W.find((e=>"Purchase Info"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess);(t||"Super Admin"===ct)&&(async()=>{var e,t,n,i,a,r,s,l,o,d;tt(!0),lt(null),dt(null),null==(e=null==V?void 0:V.current)||e.resetFields(),null==(t=null==z?void 0:z.current)||t.resetFields(),Q(N_([]));let c=await Q(_T("AF")).unwrap();1===(null==(n=null==c?void 0:c.data)?void 0:n.statusCode)?it(null==(i=null==c?void 0:c.data)?void 0:i.data):($("error"),Z(null==(a=null==c?void 0:c.data)?void 0:a.response));let u=await Q(Ib()).unwrap();if(1===(null==(r=null==c?void 0:c.data)?void 0:r.statusCode)){let e=null==(l=null==(s=null==u?void 0:u.data)?void 0:s.data)?void 0:l.filter((e=>"A"===e.ActiveStatus));rt(e)}else $("error"),Z(null==(o=null==c?void 0:c.data)?void 0:o.response);let p=await Q(nk({typeName:"Manual PaymentType"})).unwrap();Se(null==(d=null==p?void 0:p.data)?void 0:d.data),Q(uw(!0)),lt(null),dt(null)})()},color:"901D77",icon:Ye.jsx(C,{}),disabled:"Super Admin"!==ct&&"N"==(null==(v=null==W?void 0:W.find((e=>"Purchase Info"==(null==e?void 0:e.ConfigName))))?void 0:v.AddAccess),children:"OPEN"})})]})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(E,{columns:At,dataSource:mt||[],data:mt||[],pagination:{current:ee,onChange:ft,pageSize:10,showSizeChanger:!1,showQuickJumper:!1}})," "]})]}),Ye.jsx(SP,{title:"DETAILS",width:1e3,maskClosable:!0,open:pe,handleCancel:()=>Ae(!1),children:he?Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{ref:It,className:"purchase-info-model",children:[Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx("h1",{children:"Company"}),Ye.jsx(Vb,{columns:yt,dataSource:jt,data:jt,pagination:!1,className:"tablereport"})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx("h1",{children:"Branch"}),Ye.jsx(Vb,{columns:xt,dataSource:Ct,data:Ct})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx("h1",{children:"User"}),Ye.jsx(Vb,{columns:bt,dataSource:St,data:St,pagination:!1})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx("h1",{children:"Feature Addons"}),Ye.jsx(Vb,{columns:wt,dataSource:Nt,data:Nt,pagination:!1})]})]})}):Ye.jsx("p",{children:"Loading details..."})}),Ye.jsxs(SP,{className:"ModalOFpurchaseInfo",title:"Purchase / Extend",width:1100,maskClosable:!0,open:me,handleCancel:()=>Tt(),children:[Ye.jsx(Qy,{messageType:$,messageData:J,onComplete:pt}),Ye.jsxs("div",{className:"PurchaseExtendModal",children:[Ye.jsxs("div",{style:{display:"flex",gap:"6px",alignItems:"center",fontSize:"14px",fontFamily:"Gilroy",fontWeight:500},children:[Ye.jsx(Ov,{}),Ye.jsx("p",{children:(null==ge?void 0:ge.UserName)||(null==ge?void 0:ge.MobileNo)})]}),Ye.jsxs("div",{className:"appnameAndPlan",children:[Ye.jsxs("p",{children:[" ",Ye.jsx(EO,{size:20})," ",null==ge?void 0:ge.AppName]}),Ye.jsxs("p",{children:["( ",null==ge?void 0:ge.PricingName," /"," ",365===(null==ge?void 0:ge.NoOfDays)?"Yearly":"Monthly"," )"]})]}),Ye.jsxs("div",{className:"StyleType-Container",children:["Free"!=(null==ge?void 0:ge.PricingName)&&"Active"!=(null==ge?void 0:ge.Status)&&Ye.jsx("div",{style:"NP"==we?{backgroundColor:"#fff",padding:"2px 12px",borderRadius:"4px",opacity:"1"}:{opacity:"0.6",boxShadow:"none"},onClick:()=>{Bt("NP")},children:Ye.jsx("p",{children:"Plan"})}),Ye.jsx("div",{style:"EP"==we?{backgroundColor:"#fff",padding:"2px 12px",borderRadius:"4px",opacity:"1"}:{opacity:"0.6",boxShadow:"none"},onClick:()=>{Bt("EP")},children:Ye.jsx("p",{children:"Change Plan"})}),"Expired"!=(null==ge?void 0:ge.Status)&&"Free"!=(null==ge?void 0:ge.PricingName)&&Ye.jsx("div",{style:"FA"==we?{backgroundColor:"#fff",padding:"2px 12px",borderRadius:"4px",opacity:"1"}:{opacity:"0.6",boxShadow:"none"},onClick:()=>{Bt("FA")},children:Ye.jsx("p",{children:"Features Addon"})})]}),"NP"==we&&"Free"!=(null==ge?void 0:ge.PricingName)&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(fk,{content:[{value:"PS",label:"Payment Status"},{value:"EX",label:"Extend Plan"}],defaultSelect:xe,value:xe,onSelectFuntion:e=>(e=>{be(e),Ie()})(e)},xe+"_radio"),"PS"==xe&&Ye.jsx("div",{onClick:()=>Et(),style:{color:"rgb(18, 146, 238)",borderBottom:"2px solid rgb(18, 146, 238)",width:"max-content",lineHeight:"18px",fontSize:"16px",fontWeight:"500",cursor:"pointer"},children:"Add Feature"}),Ye.jsxs("div",{className:"Planchanges",children:["PS"==xe&&Ye.jsx(Ye.Fragment,{children:Ye.jsxs(I,{ref:H,className:"formDivAnt1",onFinish:Ot,children:[De&&Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{style:{display:"flex",gap:"1rem",marginTop:"1rem"},children:[Ye.jsx(I.Item,{name:"FeaturesName",rules:[{required:!0,message:"Please Select Feature Name"}],children:Ye.jsx(_y,{options:null==Ue?void 0:Ue.map((e=>({value:e.FeatName,label:e.FeatName}))),placeholder:"AppId",label:"Features",className:"field-DropDown-Feat",isOnchanges:Re,onChangeFunction:Dt,valueData:Re})}),Re&&Ye.jsx(I.Item,{name:"FeaturesAmount",rules:[{required:!0,pattern:/^(?=.*[1-9])\d+$/,message:"Enter Count"}],children:Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",type:"number",label:"Count",id:"Count",field:"organization",className:"featureAmt",value:Oe,isOnChange:!0,onChange:e=>{var t,n,i,a,r;return Lt(null==(t=null==e?void 0:e.target)?void 0:t.value,"FeaturesAmount",(null==(n=null==Ge?void 0:Ge[0])?void 0:n.FeatName)+"Amt",null==(i=null==Ge?void 0:Ge[0])?void 0:i.NetPrice,(null==(a=null==Ge?void 0:Ge[0])?void 0:a.FeatName)+"Taxdetails",null==(r=null==Ge?void 0:Ge[0])?void 0:r.TaxAmount)}})}),(null==Oe?void 0:Oe.FeaturesAmount)>0&&Re&&Ye.jsxs("div",{children:["Total Amount:"," ",Ye.jsx("input",{style:{width:"50px",height:"40px",borderRadius:"5px"},value:(null==(g=null==We?void 0:We[0])?void 0:g.NoOfDays)>31?(null==Oe?void 0:Oe.FeaturesAmount)*(null==(y=null==Ge?void 0:Ge[0])?void 0:y.YearlyNetPrice):(null==Oe?void 0:Oe.FeaturesAmount)*(null==(x=null==Ge?void 0:Ge[0])?void 0:x.MonthlyNetPrice)})]}),Ye.jsx(Ry,{buttonText:"Add",color:"901D77",icon:Ye.jsx(C,{}),htmlType:!0})]})}),De&&"PS"==xe&&Ye.jsx("div",{style:{overflow:"auto",width:"60vw",height:"50vh"},children:Ye.jsx(Vb,{columns:ht,data:Xe,dataSource:Xe})}),Ye.jsxs("div",{className:"addfeatInput",children:[Ye.jsx(I.Item,{name:"ManualPayment",children:Ye.jsx(_y,{options:null==Ce?void 0:Ce.map((e=>({value:e.ConfigId,label:e.ConfigName}))),placeholder:"Type",label:"Type",className:"field-DropDown",isOnchanges:Ne,onChangeFunction:e=>Pt(e),valueData:Ne})}),Ye.jsx(I.Item,{name:"Reason",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(My,{field:"AppDescription",autoComplete:"off",label:"Reason",fieldState:!0,onChange:e=>kt(e)})})]}),Xe.length>0&&Ne&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("h3",{children:["Plan Price : ",null==ge?void 0:ge.NetPrice,"/-"]}),Ye.jsxs("h3",{children:["Feature Price :"," ",null==Xe?void 0:Xe.reduce(((e,t)=>e+t.OveralAmount),0),"/-"]}),Ye.jsxs("h1",{children:["Total Amount :"," ",((null==ge?void 0:ge.NetPrice)+(Array.isArray(Xe)?Xe:[]).reduce(((e,t)=>e+t.OveralAmount),0)).toFixed(2),"/-"]})]})]})}),"EX"==xe&&Ye.jsx(Oy,{field:"TaxName",label:"Number of Days",fieldState:!0,maxLength:"30",autoComplete:"off",className:"Input",onChange:e=>{var t;(e=>{Be(e)})(null==(t=null==e?void 0:e.target)?void 0:t.value.replace(/[^0-9]/g,""))},onKeyPress:e=>{/[0-9]/.test(e.key)||e.preventDefault()}})]}),Ye.jsx("div",{className:"purchase-submit",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0,handleSubmit:Mt})})]}),"EP"==we&&Ye.jsxs(Ye.Fragment,{children:[!K&&Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsxs(I,{children:[Ye.jsxs("div",{style:{display:"flex",gap:"1rem"},children:[Ye.jsx(I.Item,{name:"ManualPayment",children:Ye.jsx(_y,{options:null==Ce?void 0:Ce.map((e=>({value:e.ConfigId,label:e.ConfigName}))),placeholder:"Type",label:"Type",className:"field-DropDown",isOnchanges:!!Ne,onChangeFunction:e=>Pt(e),valueData:Ne})}),Ye.jsx(I.Item,{name:"Reason",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(My,{field:"AppDescription",autoComplete:"off",label:"Reason",fieldState:!0,onChange:e=>kt(e)})})]}),Ye.jsx("div",{className:"purchase-submit",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0,handleSubmit:Mt})})]})})}),"Pricing1"==(null==(b=Y.Pricing)?void 0:b[0])&&K&&Ye.jsx($3,{data:Y.Pricing[1],appPurchases:Te}),"Pricing2"==(null==(w=Y.Pricing)?void 0:w[0])&&K&&Ye.jsx(i6,{data:Y.Pricing[1],appPurchases:Te}),"Pricing3"==(null==(j=Y.Pricing)?void 0:j[0])&&K&&Ye.jsx(l6,{data:Y.Pricing[1],appPurchases:Te})]}),"FA"==we&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("div",{className:"Planchanges",children:Ye.jsx(Ye.Fragment,{children:Ye.jsxs(I,{ref:q,className:"formDivAnt1",onFinish:Ot,children:[Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{style:{display:"flex",gap:"1rem",marginTop:"1rem"},children:[Ye.jsx(I.Item,{name:"FeaturesName",rules:[{required:!0,message:"Please Select Feature Name"}],children:Ye.jsx(_y,{options:null==Ue?void 0:Ue.map((e=>({value:e.FeatName,label:e.FeatName}))),placeholder:"AppId",label:"Features",className:"field-DropDown-Feat",isOnchanges:!!Re,onChangeFunction:Dt,valueData:Re})}),Re&&Ye.jsx(I.Item,{name:"FeaturesAmount",rules:[{required:!0,pattern:/^(?=.*[1-9])\d+$/,message:"Enter Count"}],children:Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",type:"number",label:"Count",id:"Count",field:"organization",className:"featureAmt",value:Oe,isOnChange:!0,onChange:e=>{var t,n,i,a,r;return Lt(null==(t=null==e?void 0:e.target)?void 0:t.value,"FeaturesAmount",(null==(n=null==Ge?void 0:Ge[0])?void 0:n.FeatName)+"Amt",null==(i=null==Ge?void 0:Ge[0])?void 0:i.NetPrice,(null==(a=null==Ge?void 0:Ge[0])?void 0:a.FeatName)+"Taxdetails",null==(r=null==Ge?void 0:Ge[0])?void 0:r.TaxAmount)}})}),(null==Oe?void 0:Oe.FeaturesAmount)>0&&Re&&Ye.jsxs("div",{children:["Total Amount:"," ",Ye.jsx("input",{style:{width:"50px",height:"40px",borderRadius:"5px"},value:(null==(S=null==We?void 0:We[0])?void 0:S.NoOfDays)>31?(null==Oe?void 0:Oe.FeaturesAmount)*(null==(N=null==Ge?void 0:Ge[0])?void 0:N.YearlyNetPrice):(null==Oe?void 0:Oe.FeaturesAmount)*(null==(F=null==Ge?void 0:Ge[0])?void 0:F.MonthlyNetPrice)})]}),Ye.jsx(Ry,{buttonText:"Add",color:"901D77",icon:Ye.jsx(C,{}),htmlType:!0})]})}),Ye.jsx("div",{style:{overflow:"auto",width:"60vw",height:"max-content",maxHeight:"50vh"},children:Ye.jsx(Vb,{columns:ht,data:Xe,dataSource:Xe})}),Ye.jsxs("div",{style:{display:"flex",gap:"1rem"},children:[Ye.jsx(I.Item,{name:"ManualPayment",children:Ye.jsx(_y,{options:null==Ce?void 0:Ce.map((e=>({value:e.ConfigId,label:e.ConfigName}))),placeholder:"Type",label:"Type",className:"field-DropDown",isOnchanges:!!Ne,onChangeFunction:e=>Pt(e),valueData:Ne})}),Ye.jsx(I.Item,{name:"Reason",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(My,{field:"AppDescription",autoComplete:"off",label:"Reason",fieldState:!0,onChange:e=>kt(e)})})]}),Xe.length>0&&Ne&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("h3",{children:["Feature Price :"," ",null==Xe?void 0:Xe.reduce(((e,t)=>e+t.OveralAmount),0),"/-"]}),Ye.jsxs("h1",{children:["Total Amount :"," ",(Array.isArray(Xe)?Xe:[]).reduce(((e,t)=>e+t.OveralAmount),0).toFixed(2),"/-"]})]})]})})}),Ye.jsx("div",{className:"purchase-submit",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0,handleSubmit:Mt})})]})]})]}),Ye.jsxs(SP,{className:"ModalOFpurchaseInfo",title:"New Plan",width:1100,maskClosable:!0,open:et,handleCancel:()=>Tt(),children:[Ye.jsx(Qy,{messageType:$,messageData:J,onComplete:pt}),Ye.jsx("div",{className:"PurchaseExtendModal",children:Ye.jsx("div",{className:"Planchanges",children:Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[Ye.jsx(I,{ref:V,className:"formDivAnt1",children:Ye.jsxs("div",{style:{display:"flex",gap:"1rem"},children:[Ye.jsx(I.Item,{name:"AdminId",rules:[{required:!0,message:"Please Select Admin"}],children:Ye.jsx(_y,{options:null==nt?void 0:nt.map((e=>({value:e.UserId,label:e.UserName||e.MobileNo,UserName:e.UserName,MobileNo:e.MobileNo}))),placeholder:"Admin Name",label:"Admin Name",className:"field-DropDown",onChangeFunction:async e=>{var t,n,i,a;null==(t=null==H?void 0:H.current)||t.setFieldsValue({AdminId:e}),lt(e);let r=await Q(Ib()).unwrap();if(1===(null==(n=null==r?void 0:r.data)?void 0:n.statusCode)){let t=null==(a=null==(i=null==r?void 0:r.data)?void 0:i.data)?void 0:a.filter((e=>"A"===e.ActiveStatus));const n=null==t?void 0:t.filter((t=>!(null==ae?void 0:ae.some((n=>n.AppId===t.AppId&&n.UserId===e)))));rt(n)}},valueData:st,searchKeys:["UserName","MobileNo"]})}),Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application"}],children:Ye.jsx(_y,{options:null==at?void 0:at.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"Application",label:Ye.jsx("label",{className:"required",children:"Application"}),className:"field-DropDown",onChangeFunction:async e=>{var t,n,i,a,r,s,l,o,d,c,u,p,A,h;let f=null==(n=null==(t=at.filter((t=>t.AppId==e)))?void 0:t[0])?void 0:n.AppName;await Q(r_(f)).unwrap(),qe(e),dt(e),null==(i=null==H?void 0:H.current)||i.setFieldsValue({AppId:e});let m=await Q(lw({UserId:st,AppId:e})).unwrap(),v=Array.isArray(null==(a=null==m?void 0:m.data)?void 0:a.data)&&(null==(s=null==(r=null==m?void 0:m.data)?void 0:r.data)?void 0:s.length)>0?null==(o=null==(l=m.data)?void 0:l.data)?void 0:o.map((e=>({...e,Sadmin:"Newplan"}))):[{Sadmin:"Newplan"}];Ee(v);let g=await Q(aT(e)),y=null==(A=null==(p=null==(u=null==(c=null==(d=null==g?void 0:g.payload)?void 0:d.data)?void 0:c.data)?void 0:u[0])?void 0:p.FeatDetails)?void 0:A.filter((e=>"D"!=e.ActiveStatus));_e(y);let x=await Q(Bg({SelectedAdmin:st})).unwrap();Ve(null==(h=null==x?void 0:x.data)?void 0:h.data),Q(uw(!0)),Q(pw(v))},valueData:ot})})]})}),Ye.jsxs("div",{style:{width:"70vw"},children:["Pricing1"==(null==(B=Y.Pricing)?void 0:B[0])&&K&&Ye.jsx($3,{data:Y.Pricing[1],appPurchases:Te,newplan:st}),"Pricing2"==(null==(T=Y.Pricing)?void 0:T[0])&&K&&Ye.jsx(i6,{data:Y.Pricing[1],appPurchases:Te,newplan:st}),"Pricing3"==(null==(U=Y.Pricing)?void 0:U[0])&&K&&Ye.jsx(l6,{data:Y.Pricing[1],appPurchases:Te,newplan:st})]}),"PS"==xe&&Ye.jsx("div",{onClick:()=>Et(),style:{color:"rgb(18, 146, 238)",borderBottom:"2px solid rgb(18, 146, 238)",width:"max-content",lineHeight:"18px",fontSize:"16px",fontWeight:"500",position:"relative",bottom:"-5px",cursor:"pointer"},children:"Add Feature"}),Ye.jsx("div",{className:"Planchanges",children:Ye.jsx(Ye.Fragment,{children:Ye.jsxs(I,{ref:z,className:"formDivAnt1",onFinish:Ot,children:[De&&Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{style:{display:"flex",gap:"1rem",marginTop:"1rem"},children:[Ye.jsx(I.Item,{name:"FeaturesName",rules:[{required:!0,message:"Please Select Feature Name"}],children:Ye.jsx(_y,{options:null==Ue?void 0:Ue.map((e=>({value:e.FeatName,label:e.FeatName}))),placeholder:"AppId",label:"Features",className:"field-DropDown-Feat",onChangeFunction:Dt,valueData:Re})}),Re&&Ye.jsx(I.Item,{name:"FeaturesAmount",rules:[{required:!0,pattern:/^(?=.*[1-9])\d+$/,message:"Enter Count"}],children:Ye.jsx(Oy,{fieldState:!0,fieldApi:!0,autocomplete:"off",type:"number",label:"Count",id:"Count",field:"organization",className:"featureAmt",value:Oe,isOnChange:!0,onChange:e=>{var t,n,i,a,r;return Lt(null==(t=null==e?void 0:e.target)?void 0:t.value,"FeaturesAmount",(null==(n=null==Ge?void 0:Ge[0])?void 0:n.FeatName)+"Amt",null==(i=null==Ge?void 0:Ge[0])?void 0:i.NetPrice,(null==(a=null==Ge?void 0:Ge[0])?void 0:a.FeatName)+"Taxdetails",null==(r=null==Ge?void 0:Ge[0])?void 0:r.TaxAmount)}})}),(null==Oe?void 0:Oe.FeaturesAmount)>0&&Re&&Ye.jsxs("div",{children:["Total Amount:"," ",Ye.jsx("input",{style:{width:"50px",height:"40px",borderRadius:"5px"},value:(null==(_=null==We?void 0:We[0])?void 0:_.NoOfDays)>31?(null==Oe?void 0:Oe.FeaturesAmount)*(null==(O=null==Ge?void 0:Ge[0])?void 0:O.YearlyNetPrice):(null==Oe?void 0:Oe.FeaturesAmount)*(null==(M=null==Ge?void 0:Ge[0])?void 0:M.MonthlyNetPrice)})]}),Ye.jsx(Ry,{buttonText:"Add",color:"901D77",icon:Ye.jsx(C,{}),htmlType:!0})]})}),De&&"PS"==xe&&Ye.jsx("div",{style:{overflow:"auto",width:"60vw",height:"50vh"},children:Ye.jsx(Vb,{columns:ht,data:Xe,dataSource:Xe})}),Xe.length>0&&Ne&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs("h3",{children:["Plan Price : ",null==G?void 0:G.NetPrice,"/-"]}),Ye.jsxs("h3",{children:["Feature Price :"," ",null==Xe?void 0:Xe.reduce(((e,t)=>e+t.OveralAmount),0),"/-"]}),Ye.jsxs("h1",{children:["Total Amount :"," ",((null==G?void 0:G.NetPrice)+(null==Xe?void 0:Xe.reduce(((e,t)=>e+t.OveralAmount),0))).toFixed(2),"/-"]})]})]})})}),!K&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsxs(I,{children:[Ye.jsxs("div",{style:{display:"flex",gap:"1rem"},children:[Ye.jsx(I.Item,{name:"ManualPayment",children:Ye.jsx(_y,{options:null==Ce?void 0:Ce.map((e=>({value:e.ConfigId,label:e.ConfigName}))),placeholder:"Type",label:"Type",className:"field-DropDown",isOnchanges:!!Ne,onChangeFunction:e=>Pt(e),valueData:Ne})}),Ye.jsx(I.Item,{name:"Reason",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(My,{field:"AppDescription",autoComplete:"off",label:"Reason",fieldState:!0,onChange:e=>kt(e)})})]}),Ye.jsx("div",{className:"purchase-submit",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0,handleSubmit:async()=>{var e,t,n,i,a,r,s,l,o,d;if(0==Xe.length&&Ne&&st&&ot){let a={UserId:st,AppId:null==G?void 0:G.AppId,PricingId:null==G?void 0:G.PricingId,CompId:null==G?void 0:G.CompId,PaymentStatus:"S",LicenseStatus:"A",Price:null==G?void 0:G.Price,TaxId:null==ge?void 0:ge.TaxId,TaxAmount:null==ge?void 0:ge.TaxAmount,NetPrice:null==G?void 0:G.NetPrice,ValidityStart:null==ge?void 0:ge.ValidityStart,ValidityEnd:null==ge?void 0:ge.ValidityEnd,NoofDays:null==G?void 0:G.NoOfDays,UniqueId:null==ge?void 0:ge.UniqueId,MailId:null==ge?void 0:ge.MailId,Gst:null==ge?void 0:ge.Gst,BillingName:null==ge?void 0:ge.BillingName,MobileNo:null==ge?void 0:ge.MobileNo,Reason:Pe||"",PaymentType:Ne||"",CreatedBy:Ze},r=await Q(ik(a)).unwrap();1==(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)?(null==(t=null==V?void 0:V.current)||t.resetFields(),Ie(),ke(),tt(!1),Je([]),Q(uw(!1)),Q(N_([])),Le(!1),X("success"),Z(null==(n=null==r?void 0:r.data)?void 0:n.response),Ee(),lt(null),dt(null)):(X("error"),Z(null==(i=null==r?void 0:r.data)?void 0:i.response))}else if(Xe.length>0&&Ne&&st&&ot)if(Xe.length>0){let e=null==He?void 0:He.filter((e=>{var t;return(null==e?void 0:e.AppName)==(null==(t=null==Xe?void 0:Xe[0])?void 0:t.AppName)})),t={UserId:st,AppId:null==G?void 0:G.AppId,PricingId:null==G?void 0:G.PricingId,CompId:null==G?void 0:G.CompId,PaymentStatus:"S",LicenseStatus:"A",NetPrice:(null==G?void 0:G.NetPrice)+(null==Xe?void 0:Xe.reduce(((e,t)=>e+t.OveralAmount),0)),ValidityStart:null==ge?void 0:ge.ValidityStart,ValidityEnd:null==ge?void 0:ge.ValidityEnd,NoofDays:null==G?void 0:G.NoOfDays,UniqueId:null==ge?void 0:ge.UniqueId,MailId:null==ge?void 0:ge.MailId,Gst:null==ge?void 0:ge.Gst,BillingName:null==ge?void 0:ge.BillingName,MobileNo:null==ge?void 0:ge.MobileNo,CreatedBy:null==ge?void 0:ge.UserId,BookingId:null==(a=null==e?void 0:e[0])?void 0:a.UniqueId,Price:null==Xe?void 0:Xe.reduce(((e,t)=>e+t.Price*t.featcount),0),TaxId:null==(r=null==Xe?void 0:Xe[0])?void 0:r.TaxId,TaxAmount:null==Xe?void 0:Xe.reduce(((e,t)=>e+t.TaxAmount*t.featcount),0),OrderId:0,Type:xe,Reason:Pe||"",PaymentType:Ne||"",Details:null==Xe?void 0:Xe.map((e=>({FeatAddonId:null==e?void 0:e.UniqueId,Count:null==e?void 0:e.featcount,Price:(null==e?void 0:e.Price)*(null==e?void 0:e.featcount),NetPrice:(null==e?void 0:e.NetPrice)*(null==e?void 0:e.featcount),TaxAmount:(null==e?void 0:e.TaxAmount)*(null==e?void 0:e.featcount),TaxId:null==e?void 0:e.TaxId})))},n=await Q(ik(t)).unwrap();1==(null==(s=null==n?void 0:n.data)?void 0:s.statusCode)?(null==(l=null==V?void 0:V.current)||l.resetFields(),Ie(),ke(),Je([]),tt(!1),Le(!1),Q(uw(!1)),Q(N_([])),X("success"),Z(null==(o=null==n?void 0:n.data)?void 0:o.response),Ee(),lt(null),dt(null)):(X("error"),Z(null==(d=null==n?void 0:n.data)?void 0:d.response)),Me(),Le(!1)}else X("error"),Z("Select Feature");else X("error"),Z("Please Select")}})})]}),Ye.jsxs("p",{children:[Ye.jsx("strong",{children:"Plan Name:"})," ",null==G?void 0:G.PricingName,Ye.jsx("br",{}),Ye.jsx("strong",{children:"No of Days:"})," ",null==G?void 0:G.NoOfDays,Ye.jsx("br",{}),Ye.jsx("strong",{children:"Total Amount:"})," ",null==G?void 0:G.NetPrice]})]})]})})})})]})]})})},empAccess:"Purchase Info"},{path:"SiteVisitRecords",component:()=>{const e=um(),[t,n]=a.useState(null),[i,r]=a.useState(null),[s,l]=a.useState([]),[o,d]=a.useState(1),[c,u]=a.useState(1),[p,A]=a.useState({}),[h,f]=a.useState({}),[m,v]=a.useState(""),[g,y]=a.useState(1),[x,b]=a.useState(!0),[w,j]=a.useState(!1),[C,N]=a.useState(null),I=[{name:"Home",link:"/landing-page/home"}],F=[{title:"SI.NO",key:"sno",align:"center",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(o-1)+n+1})},{title:"User Name",dataIndex:"UserName",key:"UserName",align:"center",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:(null==t?void 0:t.UserName)?null==t?void 0:t.UserName:null==t?void 0:t.MobileNo})},{title:"Application",dataIndex:"AppName",key:"AppName",align:"center",width:"200px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Pricing Name",dataIndex:"PricingName",key:"PricingName",align:"center",width:"200px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Plan Type",dataIndex:"PlanType",key:"PlanType",align:"center",width:"200px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"MobileNo",dataIndex:"MobileNo",key:"MobileNo",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),filteredValue:[m],onFilter:(e,t)=>String(t.UserName).toLowerCase().includes(e.toLowerCase())||String(t.MobileNo).toLowerCase().includes(e.toLowerCase())},{title:"Details",key:"Edit",dataIndex:"Edit",align:"center",render:(e,t,n)=>Ye.jsx(P,{size:"middle",children:Ye.jsx(Ye.Fragment,{children:Ye.jsx("a",{children:Ye.jsx(ty,{onClick:()=>{k(t)}})})})})}],B=[{title:"SI.NO",key:"sno",align:"center",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(c-1)+n+1})},{title:"Date & Time",dataIndex:"VisitTime",key:"VisitTime",align:"center",width:"200px",render:e=>Ye.jsxs("a",{style:{color:"black"},children:[" ",S(e).format("DD-MM-YYYY HH:mm:ss")]})},{title:"Location",dataIndex:"Location",key:"Location",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})}];a.useEffect((()=>{e(Gh({items:I})),D(g)}),[]);let k=async e=>{N(null==e?void 0:e.LocationVistDtl),j(!0)};const T=a.useCallback((()=>{r(null),n(null)}),[]),E=(e,t,n)=>{A(t),f(n)},D=async(t,n=null)=>{var i,a;b(!1);let r={pageNumber:t,role:n},s=await e(ere(r)).unwrap();1==(null==(i=null==s?void 0:s.data)?void 0:i.statusCode)?(l(null==(a=null==s?void 0:s.data)?void 0:a.data),b(!0)):(b(!1),l([]))},L=e=>{D(g+e),y((t=>t+e))};return Ye.jsxs("div",{className:"userPageTable",children:[Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:t,messageData:i,onComplete:T}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Visitors Log Details"})}),Ye.jsx("div",{className:"searchAddDiv",children:Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{v(e)},onSearchChange:e=>{var t;v(null==(t=null==e?void 0:e.target)?void 0:t.value)}})})})]}),Ye.jsx("div",{className:"reportTable",style:{maxHeight:"62vh"},children:Ye.jsx(Vb,{columns:F,data:s,dataSource:s,pagination:e=>{d(e)},onChange:E})}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end",padding:"20px"},children:Ye.jsxs("div",{style:{display:"flex",gap:"2rem"},children:[Ye.jsx("span",{style:{width:"6rem"},children:g>1&&Ye.jsx("div",{className:"nextButton",style:{backgroundColor:"#ff0000db"},onClick:()=>L(-1),children:"Previous"})}),Ye.jsx("span",{style:{width:"6rem"},children:x&&Ye.jsx("div",{className:"nextButton",onClick:()=>L(1),children:"Next"})})]})})]}),Ye.jsx(SP,{open:w,title:"Details",footer:!1,width:1e3,handleCancel:()=>{j(!w),u(1)},children:Ye.jsx("div",{style:{width:"100%"},children:Ye.jsx("div",{className:"reportTablesignIndetails",style:{overflow:"auto",width:"100%",maxHeight:"400px"},children:Ye.jsx(Vb,{columns:B,data:C,dataSource:C,pagination:e=>{u(e)},onChange:E})})})})]})},empAccess:"Loyalty setting"},{path:"referral-setting",component:()=>{const e=Qt(),t=um(),n=Mt(),i=Tf(Gg),[r,s]=a.useState(""),[l,o]=a.useState(1),[d,c]=a.useState({}),[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState(iA("UserType")?iA("UserType"):null),[v,g]=a.useState(),[y,x]=a.useState([]),[b,w]=a.useState([]),[j,S]=a.useState(!1),N=[{name:"Home",link:`${Yee}landing-page/home`},{name:"Referral Setting",link:`${Yee}setting/referral-setting`}];a.useEffect((()=>{var e,i,a;try{t(Gh({items:N})),(null==(e=null==n?void 0:n.state)?void 0:e.Notiffy)&&(p(null==(i=null==n?void 0:n.state)?void 0:i.Notiffy.messageType),h(null==(a=null==n?void 0:n.state)?void 0:a.Notiffy.messageData))}catch(r){}_()}),[]);const I=a.useCallback((()=>{h(null),p(null)}),[]),F=e=>{o(e)},B=async e=>{let n={CommissionId:e.CommissionId,AppId:e.AppId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},i=await t(Vee(n)).unwrap();1==i.data.statusCode&&(p("success"),h(i.data.response),_())},k=[{title:"SI.NO",key:"sno",align:"center",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(l-1)+n+1})},{title:"UserType",dataIndex:"UserTypeName",key:"UserTypeName",align:"right",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:e||"No-usertype"})},{title:"Commission",dataIndex:"CommissionAmt",key:"CommissionAmt",align:"right",render:(e,t)=>Ye.jsxs("a",{style:{color:"black"},children:[e," ","P"==(null==b?void 0:b.AmtType)?"%":"₹"]})}],T=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(l-1)+n+1})},{title:"Application",dataIndex:"AppName",key:"AppName",width:"120px",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Referral Name",dataIndex:"CommissionName",key:"CommissionName",align:"left",width:"120px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.CommissionName)?void 0:n.localeCompare(null==t?void 0:t.CommissionName)},sortOrder:"CommissionName"===d.columnKey?d.order:null,ellipsis:!0},{title:"Amount Type",dataIndex:"AmtType",key:"AmtType",align:"left",width:"130px",render:e=>Ye.jsx("a",{style:{color:"black"},children:"P"==e?"Percentage":"Fixed"})},{title:"Reward Type",dataIndex:"RewardType",key:"RewardType",width:"120px",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[r],onFilter:(e,t)=>String(t.RewardType).toLowerCase().includes(e.toLowerCase())||String(t.CommissionName).toLowerCase().includes(e.toLowerCase())||String(t.AppName).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.RewardType)?void 0:n.localeCompare(null==t?void 0:t.RewardType)},sortOrder:"RewardType"===d.columnKey?d.order:null,ellipsis:!0},{title:"Commission Details",dataIndex:"CommissionDetails",key:"CommissionDetails",align:"center",width:"100px",render:(e,t)=>{var n;return(null==e?void 0:e.length)>1?Ye.jsx(ty,{style:{color:"#1292EE",fontSize:"25px",cursor:"pointer"},onClick:()=>E(e,t)}):Ye.jsxs("p",{children:[null==(n=null==e?void 0:e[0])?void 0:n.CommissionAmt," ","P"==(null==t?void 0:t.AmtType)?"%":"₹"]})}},{title:"Loyalty Name",dataIndex:"LoyaltyName",key:"LoyaltyName",align:"left",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e||"-"})},{title:"Action",key:"Action",dataIndex:"Action",width:"80px",align:"center",render:(t,n,a)=>("Admin"===f||"Admin User"===f?(null==Adminusers?void 0:Adminusers.length)>=1:(null==v?void 0:v.length)>=1)?Ye.jsxs(P,{size:"middle",children:["A"===n.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var t;return 0===(null==i?void 0:i.length)||"Y"===(null==(t=null==i?void 0:i.find((e=>"Company"===(null==e?void 0:e.ConfigName))))?void 0:t.UpdateAccess)?(async(t,n)=>{"D"!==t.ActiveStatus&&e(`${Yee}setting/referral-setting/update`,{state:{editstate:t}},{key:n})})(n,a):""}})}):"",Ye.jsx("a",{children:"A"===n.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==i?void 0:i.length)||"Y"===(null==(e=null==i?void 0:i.find((e=>"Company"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?B(n):""}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==i?void 0:i.length)||"Y"===(null==(e=null==i?void 0:i.find((e=>"Company"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?B(n):""}})})]}):null}],E=(e,t)=>{x(e),w(t),S(!0)},_=async()=>{let e=await t(Ree()).unwrap();1==e.data.statusCode?g(e.data.data):g([])};return Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:u,messageData:A,onComplete:I}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Referral Setting"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{s(e)},onSearchChange:e=>{const{value:t}=e.target;s(t)}})}),Ye.jsx(Ry,{buttonText:"Add New",color:"901D77",icon:Ye.jsx(C,{}),handleSubmit:()=>{e(`${Yee}setting/referral-setting/new`)},children:"OPEN"})]})]}),Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:T,data:v,dataSource:v,pagination:F,onChange:(e,t,n)=>{c(n)}})}),Ye.jsx(SP,{open:j,title:"Config Details",handleCancel:()=>{S(!1),x([])},width:1e3,footer:!1,children:Ye.jsx("div",{style:{height:"400px",overflowY:"scroll"},children:Ye.jsx(Vb,{dataSource:y,data:y,columns:k,pagination:F})})})]})})})},empAccess:"Loyalty Setting"},{path:"referral-setting/new",component:e=>Ye.jsx(Gee,{...e,formType:"add"}),empAccess:"Loyalty Setting",access:"Admin"},{path:"referral-setting/update",component:e=>Ye.jsx(Gee,{...e,formType:"edit"}),empAccess:"Loyalty Setting",access:"Admin"},{path:"app-access",component:()=>{var e;const t=um(),n=Tf(Gg),i=Tf(Sh),r=Tf(Nh),s=Tf(Bh),l=Tf(Ph),o=Tf(Fh),d=Tf(_h),c=Tf(Wh),[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState(null),[v,g]=a.useState(null),[y,x]=a.useState(null),b=iA("UserType"),[w,j]=a.useState(null),[C,S]=a.useState(null),[N]=I.useForm(),F=[{name:"Home",link:"/landing-page/home"}];a.useEffect((()=>{try{if("Admin"===b){let e=iA("UserId")??null;"Company Admin"==i?(h(e),t(ZA({userId:e}))):"Branch Admin"==i&&m(e),t(WA(e)),t(ph(e))}else t(xA()).unwrap()}catch(e){}}),[d]),a.useEffect((()=>{t(oh())}),[i]),a.useEffect((()=>{t(wA()),t(zg({UserId:u})).unwrap()}),[]),a.useEffect((()=>{t(Gh({items:F}))}),[]),a.useEffect((()=>{"Sadmin"==i?t(xA()).unwrap():("Company Admin"==i||"Branch Admin"==i&&null!=r&&null!=s)&&t(wA()).unwrap()}),[i,r,s,u]),a.useEffect((()=>{var e,n,a,r,s,l,o,c,u;1===d.length&&("Company Admin"==i?(h(null==(e=d[0])?void 0:e.UserId),g(null==(n=d[0])?void 0:n.UserId),t(WA(null==(a=d[0])?void 0:a.UserId)),t(ph(null==(r=d[0])?void 0:r.UserId)),t(ZA({userId:null==(s=d[0])?void 0:s.UserId}))):"Branch Admin"==i&&(m(null==(l=d[0])?void 0:l.UserId),x(null==(o=d[0])?void 0:o.UserId),t(WA(null==(c=d[0])?void 0:c.UserId)),t(ph(null==(u=d[0])?void 0:u.UserId))))}),[v,d]);const B=e=>{p(e)},P=a.useCallback((()=>{S(null),j(null)}),[]);return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:w,messageData:C,onComplete:P}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Application Access"})}),Ye.jsxs("div",{className:"moduleAccessDiv",children:[Ye.jsxs("div",{className:"dropDownSelectors",children:[Ye.jsxs("div",{className:"dropDownSelectParentDiv",children:[Ye.jsx("div",{children:Ye.jsx(hO,{getUserRole:e=>{"Admin"!=b&&(h(null),m(null),g(null),x(null),p(null)),N.resetFields()}})}),Ye.jsxs("div",{className:"dropDownSelectChildDiv",children:[Ye.jsxs(I,{form:N,children:["Company Admin"==i&&"Admin"!=b&&Ye.jsx(I.Item,{name:"CompanyAdmin",children:Ye.jsx(_y,{options:null==d?void 0:d.map((e=>({value:e.UserId,label:""!=e.UserName&&null!=e.UserName&&null!=e.UserName?null==e?void 0:e.UserName:e.MobileNo}))),label:"Admin Name",onChangeFunction:e=>(e=>{h(e),t(WA(e)),t(ph(e)),t(ZA({userId:e})),t(JA({AppId:null})),t($A({storeId:null})),t(XA({BranchId:null})),t(rh()),g(e)})(e),isOnchanges:!!v,className:"field-DropDown",valueData:v})}),"Branch Admin"==i&&"Admin"!=b&&Ye.jsx(I.Item,{name:"BranchAdmin",children:Ye.jsx(_y,{options:null==d?void 0:d.map((e=>({value:e.UserId,label:""!=e.UserName&&null!=e.UserName&&null!=e.UserName?null==e?void 0:e.UserName:e.MobileNo}))),label:"Admin Name",onChangeFunction:e=>(e=>{m(e),t(WA(e)),t(ph(e)),t(JA({AppId:null})),t($A({storeId:null})),t(XA({BranchId:null})),t(rh()),x(e)})(e),isOnchanges:!!y,className:"field-DropDown",valueData:y})})]}),"Sadmin"!=i&&Ye.jsx(Ye.Fragment,{children:Ye.jsx(I,{form:N,children:Ye.jsx(I.Item,{name:"AppName",children:Ye.jsx(vO,{UserId:"Admin"==b?parseInt(iA("UserId")):"Company Admin"==i?A:f})})})}),"Sadmin"!=i&&"Company Admin"==i&&"Admin"==b&&null!=l&&null!=l&&Ye.jsx(fO,{UserId:"Admin"==b?parseInt(iA("UserId")):A,AppId:l}),"Sadmin"!=i&&"Company Admin"!=i&&null!=l&&null!=l&&"Admin"==b&&Ye.jsx(Ye.Fragment,{children:Ye.jsx(I,{form:N,children:Ye.jsx(I.Item,{name:"CompName",children:Ye.jsx(fO,{UserId:"Admin"==b?parseInt(iA("UserId")):f,AppId:l})})})}),"Sadmin"==i&&Ye.jsx(yO,{userIdValue:B})]})]}),Ye.jsxs("div",{className:"dropDownSelectChildDiv",children:["Sadmin"!=i&&"Company Admin"==i&&"Admin"!=b&&null!=l&&null!=l&&Ye.jsx(fO,{UserId:"Admin"==b?parseInt(iA("UserId")):A,AppId:l}),"Sadmin"!=i&&"Company Admin"!=i&&null!=l&&null!=l&&"Admin"!=b&&Ye.jsx(Ye.Fragment,{children:Ye.jsx(I,{form:N,children:Ye.jsx(I.Item,{name:"CompName",children:Ye.jsx(fO,{UserId:"Admin"==b?parseInt(iA("UserId")):f,AppId:l})})})}),"Sadmin"!=i&&"Company Admin"==i&&null!=l&&null!=l&&null!=r&&null!=r&&Ye.jsx(xO,{storeId:r,UserId:"Admin"==b?parseInt(iA("UserId")):A,AppId:l}),"Sadmin"!=i&&"Company Admin"!=i&&null!=l&&null!=l&&null!=r&&null!=r&&Ye.jsx(xO,{storeId:r,UserId:"Admin"==b?parseInt(iA("UserId")):f,AppId:l}),"Branch Admin"==i&&null!=r&&null!=r&&null!=s&&null!=s&&Ye.jsx(mO,{AppId:l}),"Branch Admin"==i&&null!=r&&null!=r&&null!=s&&null!=s&&null!=o&&null!=o&&Ye.jsx(yO,{userIdValue:B})]})]}),Ye.jsx("div",{className:"userAccessDivP",children:Ye.jsx(gO,{disabled:!("Company Admin"==i&&null!=l&&null!=r&&null!=s||"Branch Admin"==i&&null!=r&&null!=s&&null!=u&&null!=o||null!=u&&"Company Admin"!=i&&"Branch Admin"!=i)})}),Ye.jsx("div",{className:"userAccessDivComp",children:Ye.jsx(jO,{})}),"Company Admin"!=i&&Ye.jsxs(Ye.Fragment,{children:[Ye.jsx("div",{className:"userAccessDivComp",children:Ye.jsx(bO,{})}),Ye.jsx("div",{className:"userAccessDivComp",children:Ye.jsx(wO,{})})]}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),handleSubmit:async()=>{var e,n,a;try{let r,l,o=c.filter((function(e){return null!=e&&null!=e}));0==o.length?"Company Admin"!=i?(l={UserId:u},r=await t(zA(l)).unwrap()):(l={UserId:A,BranchId:s},r=await t(qA(l)).unwrap()):r="Company Admin"!=i?await t(HA({UserId:u,ModuleDetails:o,CreatedBy:iA("UserId")})).unwrap():await t(VA({UserId:A,ModuleDetails:o,CreatedBy:iA("UserId")})).unwrap(),1===(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)?(j("success"),S(null==(n=null==r?void 0:r.data)?void 0:n.response),1!==!d.length&&"Sadmin"!=i||(p(null),h(null),m(null),g(null),x(null),N.resetFields(),t(ih()))):(j("error"),S(null==(a=null==r?void 0:r.data)?void 0:a.response))}catch(r){"Request failed with status code 422"==r.message&&(j("error"),S("Please Give Proper Values"))}},disabled:"Super Admin"!==b&&"N"===(null==(e=null==n?void 0:n.find((e=>"Application Access"==(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess)})})]})]})})})},access:"Admin",empAccess:"Application Access"},{path:"app-menu-access",component:()=>{var e,t;const n=Tf(Gg);let i="N"===(null==(e=null==n?void 0:n.find((e=>"Application Menu Access"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess),r="N"===(null==(t=null==n?void 0:n.find((e=>"Application Menu Access"===(null==e?void 0:e.ConfigName))))?void 0:t.AddAccess);const s=iA("UserType"),l=um(),o=a.useRef(null),[d,c]=a.useState(null),[u,p]=a.useState(null),[A,h]=a.useState([]),[f,m]=a.useState([]),[v,g]=a.useState(null),[y,x]=a.useState([]),[b,w]=a.useState(null),[j,C]=a.useState([]),[S,N]=a.useState("POST"),[F,B]=a.useState(""),[P,T]=a.useState(1),E=[{name:"Home",link:"/landing-page/home"}],D=[{title:"SI.NO",key:"sno",align:"center",width:"80px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(P-1)+n+1})},{title:"Menu Name",dataIndex:"MenuName",key:"MenuName",width:"180px",render:(e,t)=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[F],onFilter:(e,t)=>String(t.MenuName).toLowerCase().includes(e.toLowerCase())},{title:"View",dataIndex:"ReadAccess",key:"ReadAccess",render:(e,t)=>Ye.jsx(V,{checked:"Y"===e,onClick:()=>M("ReadAccess",t,"Y"===e?"N":"Y")})},{title:"Add",dataIndex:"AddAccess",key:"AddAccess",render:(e,t)=>Ye.jsx(V,{checked:"Y"===e,disabled:!t.ReadAccess||"Y"!==t.ReadAccess,onClick:()=>M("AddAccess",t,"Y"===e?"N":"Y")})},{title:"Edit",dataIndex:"UpdateAccess",key:"UpdateAccess",render:(e,t)=>Ye.jsx(V,{checked:"Y"===e,disabled:!t.ReadAccess||"Y"!==t.ReadAccess,onClick:()=>M("UpdateAccess",t,"Y"===e?"N":"Y")})},{title:"Delete",dataIndex:"DeleteAccess",key:"DeleteAccess",render:(e,t)=>Ye.jsx(V,{checked:"Y"===e,disabled:!t.ReadAccess||"Y"!==t.ReadAccess,onClick:()=>M("DeleteAccess",t,"Y"===e?"N":"Y")})}];a.useEffect((()=>{l(Gh({items:E})),U()}),[]);const L=a.useCallback((()=>{p(null),c(null)}),[]),U=async()=>{var e,t;const n=await l(Nae()).unwrap();1==(null==(e=null==n?void 0:n.data)?void 0:e.statusCode)&&h(null==(t=null==n?void 0:n.data)?void 0:t.data)},_=async e=>{var t,n;const i=await l(Iae({UserId:e})).unwrap();1==(null==(t=null==i?void 0:i.data)?void 0:t.statusCode)&&x(null==(n=null==i?void 0:i.data)?void 0:n.data)},O={selectedRowKeys:j,onChange:e=>{var t,n=j;if(0===(null==n?void 0:n.length)&&1===(null==e?void 0:e.length))var i=null==f?void 0:f.map((t=>parseInt(t.MenuId)===parseInt(e[0])?{...t,key:null==t?void 0:t.key,MenuId:null==t?void 0:t.MenuId,MenuName:null==t?void 0:t.MenuName,AddAccess:"Y",UpdateAccess:"Y",ReadAccess:"Y",DeleteAccess:"Y"}:t));else if(0===(null==n?void 0:n.length)&&(null==e?void 0:e.length)>1)i=null==(t=[...f])?void 0:t.map(((e,t)=>t<10?{...e,key:null==e?void 0:e.key,MenuId:null==e?void 0:e.MenuId,MenuName:null==e?void 0:e.MenuName,AddAccess:"Y",UpdateAccess:"Y",ReadAccess:"Y",DeleteAccess:"Y"}:{...e}));else if(0===(null==e?void 0:e.length))i=null==f?void 0:f.map((e=>({...e,key:null==e?void 0:e.key,MenuId:null==e?void 0:e.MenuId,MenuName:null==e?void 0:e.MenuName,AddAccess:"N",UpdateAccess:"N",ReadAccess:"N",DeleteAccess:"N"})));else if((null==n?void 0:n.length)>0&&(null==e?void 0:e.length)>=1)if((null==n?void 0:n.length)<(null==e?void 0:e.length)){let t=null==e?void 0:e.filter((e=>!(null==n?void 0:n.includes(e))));i=null==f?void 0:f.map((e=>(null==t?void 0:t.includes(null==e?void 0:e.MenuId))?{...e,key:null==e?void 0:e.key,MenuId:null==e?void 0:e.MenuId,MenuName:null==e?void 0:e.MenuName,AddAccess:"Y",UpdateAccess:"Y",ReadAccess:"Y",DeleteAccess:"Y"}:e))}else if((null==n?void 0:n.length)>(null==e?void 0:e.length)){let t=null==n?void 0:n.filter((t=>!(null==e?void 0:e.includes(t))));i=null==f?void 0:f.map((e=>(null==t?void 0:t.includes(null==e?void 0:e.MenuId))?{...e,key:null==e?void 0:e.key,MenuId:null==e?void 0:e.MenuId,MenuName:null==e?void 0:e.MenuName,AddAccess:"N",UpdateAccess:"N",ReadAccess:"N",DeleteAccess:"N"}:e))}C(e),m(i)}},M=(e,t,n)=>{const i=f.map((i=>{if(parseInt(i.MenuId)===parseInt(t.MenuId)){let a={...i,[e]:n};"ReadAccess"===e&&"N"===n&&(a={...a,AddAccess:"N",UpdateAccess:"N",DeleteAccess:"N"});return["AddAccess","UpdateAccess","DeleteAccess","ReadAccess"].some((e=>"Y"===a[e]))?j.includes(t.MenuId)||C([...j,t.MenuId]):C(j.filter((e=>e!==t.MenuId))),a}return i}));m(i)};return Ye.jsx("div",{className:"pageOverAll",children:Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:d,messageData:u,onComplete:L}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Application Menu Access"})}),Ye.jsxs("div",{className:"formDiv",children:[Ye.jsxs(I,{ref:o,className:"formDivappMenu",onFinish:async e=>{var t,n,i,a,r,s,o,d,c,u,p;const A=await l(Bae({AppId:e.AppId,UserId:e.UserId})).unwrap();if(0==(null==(n=null==(t=null==A?void 0:A.data)?void 0:t.data)?void 0:n.length)){const t=await l(Fae({AppId:e.AppId})).unwrap();if(1==(null==(i=null==t?void 0:t.data)?void 0:i.statusCode)){const e=null==(r=null==(a=null==t?void 0:t.data)?void 0:a.data)?void 0:r.map((e=>({...e,key:e.MenuId})));m(e),C([])}}else{N("PUT");let e=null==(d=null==(o=null==(s=null==A?void 0:A.data)?void 0:s.data)?void 0:o[0])?void 0:d.AppMenuAccessDetails;m(null==(p=null==(u=null==(c=null==A?void 0:A.data)?void 0:c.data)?void 0:u[0])?void 0:p.AppMenuAccessDetails);let t=(null==e?void 0:e.filter((e=>"Y"===e.AddAccess||"Y"===e.UpdateAccess||"Y"===e.DeleteAccess||"Y"===e.ReadAccess))).map((e=>e.MenuId));C(t)}},children:[Ye.jsx(I.Item,{name:"UserId",rules:[{required:!0,message:"Please Select Super Admin User"}],children:Ye.jsx(_y,{options:null==A?void 0:A.map((e=>({value:e.UserId,label:""!=e.UserName&&null!=e.UserName&&null!=e.UserName?null==e?void 0:e.UserName:e.MobileNo}))),label:"Super Admin User",onChangeFunction:e=>(async e=>{var t;null==(t=o.current)||t.setFieldsValue({UserId:e,AppId:null}),g(e),w(null),x([]),m([]),C([]),_(e)})(e),isOnchanges:!!v,className:"field-DropDown",valueData:v})}),Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application"}],children:Ye.jsx(_y,{options:null==y?void 0:y.map((e=>({value:e.AppId,label:e.AppName}))),label:"Application",onChangeFunction:e=>(async e=>{var t;null==(t=o.current)||t.setFieldsValue({AppId:e}),w(e),m([]),C([])})(e),isOnchanges:!!b,className:"field-DropDown",valueData:b})}),Ye.jsxs("div",{style:{display:"flex",width:"100%",gap:"1rem",flexWrap:"wrap",justifyContent:"space-between"},children:[Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0}),Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{B(e)},onSearchChange:e=>{var t;B(null==(t=null==e?void 0:e.target)?void 0:t.value)}})})]})]}),Ye.jsx("div",{className:"reportTable reportTable-appMenu",children:Ye.jsx("div",{className:"reportTableSub",children:Ye.jsx(Vb,{columns:D,data:f,dataSource:f,rowSelection:O,pagination:e=>{T(e)}})})}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),handleSubmit:()=>(async()=>{var e,t,n,i;let a={};a.UserId=v,a.AppId=b,a.AppMenuAccessDetails=f;let r={};"POST"==S?(a.CreatedBy=iA("UserId"),r=await l(Pae(a)).unwrap()):"PUT"==S&&(a.UpdatedBy=iA("UserId"),r=await l(kae(a)).unwrap()),1==(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)?(m([]),C([]),w(null),g(null),x([]),null==(t=o.current)||t.setFieldsValue({UserId:null,AppId:null}),c("success"),p(null==(n=null==r?void 0:r.data)?void 0:n.response)):(c("error"),p(null==(i=null==r?void 0:r.data)?void 0:i.response))})(),disabled:"Super Admin"!==s&&(0===f.length||r&&"POST"===S||i&&"PUT"===S)})})]})]})})})},empAccess:"Application Menu Access"},{path:"signin-details",component:()=>{const e=um(),t=a.useRef(),[n,i]=a.useState(null),[r,s]=a.useState(null),[l,o]=a.useState([]),[d,c]=a.useState("All"),[u,p]=a.useState(1),[A,h]=a.useState(1),[f,m]=a.useState({}),[v,g]=a.useState({}),[y,x]=a.useState(""),[b,w]=a.useState(1),[j,C]=a.useState(!0),[N,F]=a.useState(!1),[B,k]=a.useState(null),[E,D]=a.useState(null),[L,U]=a.useState(null),{RangePicker:_}=T;let O=[{value:"All",label:"All"},{value:"Admin",label:"Admin"},{value:"Employee",label:"Employee"},{value:"Super Admin",label:"Super Admin"},{value:"Super Admin User",label:"Super Admin User"}];const M=[{name:"Home",link:"/landing-page/home"}],R=[{title:"SI.NO",key:"sno",align:"center",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(u-1)+n+1})},{title:"Date & Time",dataIndex:"LoginDateTime",key:"LoginDateTime",align:"center",width:"200px",render:e=>Ye.jsxs("a",{style:{color:"black"},children:[" ",eA(e)]})},{title:"MobileNo",dataIndex:"MobileNo",key:"MobileNo",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),filteredValue:[y],onFilter:(e,t)=>String(t.UserName).toLowerCase().includes(e.toLowerCase())||String(t.MobileNo).toLowerCase().includes(e.toLowerCase())},{title:"User Name",dataIndex:"UserName",key:"UserName",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"User Type",dataIndex:"UserTypeName",key:"UserTypeName",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"IP",dataIndex:"IP",key:"IP",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Browser",dataIndex:"Browser",key:"Browser",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Version",dataIndex:"Version",key:"Version",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"OS",dataIndex:"OS",key:"OS",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Device Type",dataIndex:"LoginType",key:"LoginType",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Action",key:"Edit",dataIndex:"Edit",align:"center",render:(e,t,n)=>Ye.jsx(P,{size:"middle",children:Ye.jsx(Ye.Fragment,{children:Ye.jsx("a",{children:Ye.jsx(ty,{style:{color:"A"===t.ActiveStatus?"#1292EE":"#dadada",fontSize:"20px",cursor:"pointer"},onClick:()=>{H(t)}})})})})}],Q=[{title:"SI.NO",key:"sno",align:"center",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(A-1)+n+1})},{title:"Date & Time",dataIndex:"LoginDateTime",key:"LoginDateTime",align:"center",width:"200px",render:e=>Ye.jsxs("a",{style:{color:"black"},children:[" ",eA(e)]})},{title:"IP",dataIndex:"IP",key:"IP",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Browser",dataIndex:"Browser",key:"Browser",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Version",dataIndex:"Version",key:"Version",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"OS",dataIndex:"OS",key:"OS",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Device Type",dataIndex:"LoginType",key:"LoginType",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})}];a.useEffect((()=>{e(Gh({items:M})),q(b)}),[]);const H=async t=>{var n,i;F(!0),D(t.UserId);try{let a=await e(Zae({userId:t.UserId})).unwrap();1==(null==(n=null==a?void 0:a.data)?void 0:n.statusCode)?k(null==(i=null==a?void 0:a.data)?void 0:i.data):k([])}catch(Ou){}},V=a.useCallback((()=>{s(null),i(null)}),[]),z=(e,t,n)=>{m(t),g(n)},q=async(t,n=null)=>{var i,a;let r={pageNumber:t,role:n},s=await e(Jae(r)).unwrap();1==(null==(i=null==s?void 0:s.data)?void 0:i.statusCode)?(o(null==(a=null==s?void 0:s.data)?void 0:a.data),C(!0)):(C(!1),o([]))},W=e=>{q(b+e,"All"!=d?d:null),w((t=>t+e))};return Ye.jsxs("div",{className:"userPageTable",children:[Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:n,messageData:r,onComplete:V}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Signin Details"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{x(e)},onSearchChange:e=>{var t;x(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(I,{ref:t,children:Ye.jsx("div",{style:{display:"flex",gap:"1rem"},children:Ye.jsx(_y,{options:null==O?void 0:O.map((e=>({value:e.value,label:e.label}))),placeholder:"Select Roles",label:"Select Roles",className:"field-DropDown",isOnchanges:!!d,onChangeFunction:e=>(async e=>{c(e),q(b,"All"!=e?e:null)})(e),valueData:d,disabled:!1,labelChange:!0})})})]})]}),Ye.jsx("div",{className:"reportTable",style:{maxHeight:"62vh"},children:Ye.jsx(Vb,{columns:R,data:l,dataSource:l,pagination:e=>{p(e)},onChange:z})}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end",padding:"20px"},children:Ye.jsxs("div",{style:{display:"flex",gap:"2rem"},children:[b>1&&Ye.jsx("div",{className:"nextButton",style:{backgroundColor:"#ff0000db"},onClick:()=>W(-1),children:"Previous"}),Ye.jsx("div",{className:"nextButton",onClick:()=>W(1),children:"Next"})]})})]}),Ye.jsx(SP,{open:N,title:"Details",footer:!1,width:1e3,handleCancel:()=>{F(!N),U(null),h(1)},children:Ye.jsxs("div",{style:{width:"100%"},children:[Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:Ye.jsx(_,{value:L,format:"DD-MM-YYYY",disabledDate:e=>e&&e>S().endOf("day"),onCalendarChange:async(t,n)=>{var i,a,r,s;if(U(t),t){let n=await e(Zae({Fromdate:null==(i=t[0])?void 0:i.format("YYYY-MM-DD"),Todate:null==(a=t[1])?void 0:a.format("YYYY-MM-DD"),userId:E})).unwrap();1==(null==(r=null==n?void 0:n.data)?void 0:r.statusCode)?k(null==(s=null==n?void 0:n.data)?void 0:s.data):k([])}}})}),Ye.jsx("div",{className:"reportTablesignIndetails",style:{overflow:"auto",width:"100%",maxHeight:"400px"},children:Ye.jsx(Vb,{columns:Q,data:B,dataSource:B,pagination:e=>{h(e)},onChange:z})})]})})]})},empAccess:"Signin Details"},{path:"user-otp",component:()=>{var e;Qt();const t=Mt(),n=um();a.useRef(null);const[i,r]=a.useState(null),[s,l]=a.useState(null),[o,d]=a.useState([]),[c,u]=a.useState([]),[p,A]=a.useState(null),[h,f]=a.useState("");a.useState([]);const[m,v]=a.useState(null),g=Tf(Gg),y="Y"===(null==(e=null==g?void 0:g.find((e=>"User OTP"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess);a.useState([]);const[x,b]=a.useState(null),[w,j]=a.useState(1);a.useState(!1),a.useState(null);const[C,S]=a.useState(1);a.useState([]);const[N,I]=a.useState(null),F=iA("UserType");iA("CompId"),iA("BranchId"),iA("AppId"),a.useState(iA("UserId")?iA("UserId"):null),a.useEffect((()=>{var e,i,a;n(Gh({items:hre})),k(),(null==(e=null==t?void 0:t.state)?void 0:e.Notiffy)&&(r(null==(i=null==t?void 0:t.state)?void 0:i.Notiffy.messageType),l(null==(a=null==t?void 0:t.state)?void 0:a.Notiffy.messageData))}),[]);let B=[{value:"Admin",label:"Admin"},{value:"Employee",label:"Employee"}];const k=async()=>{var e,t,i,a;let r=await n(tre({pageNumber:C})).unwrap();1===(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)?d(null==(t=null==r?void 0:r.data)?void 0:t.data):d();let s=await n(Fb()).unwrap();1===(null==(i=null==s?void 0:s.data)?void 0:i.statusCode)?u(null==(a=null==s?void 0:s.data)?void 0:a.data):u()},T=[{title:"SI.NO",key:"sno",align:"center",width:"80px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(w-1)+n+1})},{title:"Date/time",dataIndex:"CreatedDate",key:"CreatedDate",align:"center",width:"200px",ellipsis:!0,render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:Zp(null==t?void 0:t.CreatedDate)})},{title:"Mobile",dataIndex:"MobileNo",key:"MobileNo",align:"center",ellipsis:!0},{title:"User Name",dataIndex:"UserName",key:"UserName",align:"center",ellipsis:!0},{title:"User Type",dataIndex:"UserTypeName",key:"UserTypeName",align:"center",ellipsis:!0},{title:"OTP",dataIndex:"OTP",key:"OTP",align:"center",ellipsis:!0,render:(e,t)=>"Super Admin"===F?e:"******"},{title:"Action",key:"Action",align:"center",width:"100px",render:(e,t)=>"limit exceeds"!==((null==t?void 0:t.OTP)||"").toLowerCase()?null:Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{onClick:()=>{O(t)},children:Ye.jsx("div",{className:"getotpuser",children:" Get Otp"})})})},{title:"Send",key:"Send",align:"center",width:"150px",render:(e,t)=>"limit exceeds"===((null==t?void 0:t.OTP)||"").toLowerCase()?null:Ye.jsx("div",{className:"userOtp-WSM",children:Ye.jsxs(P,{size:"middle",children:[(null==t?void 0:t.MobileNo)&&Ye.jsx("a",{onClick:()=>{("Super Admin User"===F&&y||"Super Admin User"!==F)&&E(t)},children:Ye.jsx(Y,{style:{color:"green",fontSize:"18px"}})}),(null==t?void 0:t.MobileNo)&&Ye.jsx("a",{onClick:()=>{("Super Admin User"===F&&y||"Super Admin User"!==F)&&D(t)},children:Ye.jsx(K,{style:{color:"#1890ff",fontSize:"18px"}})}),(null==t?void 0:t.MailId)&&Ye.jsx("a",{onClick:()=>{("Super Admin User"===F&&y||"Super Admin User"!==F)&&L(t)},children:Ye.jsx(G,{style:{color:"#ff4d4f",fontSize:"18px"}})})]})})}],E=e=>{let t=null==e?void 0:e.MobileNo,n=null==e?void 0:e.OTP;if(!t||!n)return r("error"),void l();let i=`https://wa.me/${t}?text=${encodeURIComponent(`Hello, your OTP is: ${n}`)}`;window.open(i,"_blank")},D=async e=>{var t,i,a;let s={MobileNo:null==e?void 0:e.MobileNo,OTP:null==e?void 0:e.OTP},o=await n(WT(s)).unwrap();1===(null==(t=null==o?void 0:o.data)?void 0:t.statusCode)?(r("success"),l(null==(i=null==o?void 0:o.data)?void 0:i.response)):(r("error"),l(null==(a=null==o?void 0:o.data)?void 0:a.response))},L=async e=>{var t,i,a;let s={MobileNo:null==e?void 0:e.MobileNo,OTP:null==e?void 0:e.OTP},o=await n(YT(s)).unwrap();1===(null==(t=null==o?void 0:o.data)?void 0:t.statusCode)?(r("success"),l(null==(i=null==o?void 0:o.data)?void 0:i.response)):(r("error"),l(null==(a=null==o?void 0:o.data)?void 0:a.response))},U=a.useCallback((()=>{l(null),r(null)}),[]),_=async(e,t,i,a=C,r=N)=>{var s,l;let o={pageNumber:a,userTypeName:r},c=await n(tre(o)).unwrap();1===(null==(s=null==c?void 0:c.data)?void 0:s.statusCode)?d(null==(l=null==c?void 0:c.data)?void 0:l.data):d([])},O=async e=>{var t,i;let a={UserName:null==e?void 0:e.MobileNo,Type:"S"},s=await n(nre(a)).unwrap();1===(null==(t=null==s?void 0:s.data)?void 0:t.statusCode)&&(r("success"),l(null==(i=null==s?void 0:s.data)?void 0:i.response),_(0,0,0,C,N))},M=e=>{_(0,0,0,C+e),S(C+e)};return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:i,messageData:s,onComplete:U}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"User OTP"})}),Ye.jsx("div",{className:"searchAddDiv1",children:Ye.jsxs("div",{className:"formSearchticketdetails",children:[Ye.jsx("div",{children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{f(e)},onSearchChange:e=>{var t;f(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(_y,{options:null==B?void 0:B.map((e=>({value:e.value,label:e.label}))),placeholder:"Select Roles",label:"Select Roles",className:"field-DropDown",isOnchanges:!!N,onChangeFunction:e=>(async e=>{I(e),_(0,0,0,C,e)})(e),valueData:N,disabled:!1})]})})]}),Ye.jsxs("div",{className:"reportTable",style:{maxHeight:"62vh"},children:[Ye.jsx(Vb,{columns:T,data:o,dataSource:o,pagination:e=>{j(e)},onChange:(e,t,n)=>{setFilteredInfo(t),setSortedInfo(n)}})," "]}),Ye.jsx("div",{style:{display:"flex",justifyContent:"flex-end",padding:"20px"},children:Ye.jsxs("div",{style:{display:"flex",gap:"2rem"},children:[C>1&&Ye.jsx("div",{className:"nextButton",style:{backgroundColor:"#ff0000db"},onClick:()=>M(-1),children:"Previous"}),Ye.jsx("div",{className:"nextButton",onClick:()=>M(1),children:"Next"})]})})]})})},empAccess:"User OTP"},{path:"config-master",component:()=>{var e;const[t]=I.useForm(),n=Tf(Gg),i=Tf(GP),r=um(),[s,l]=a.useState(!1),[o,d]=a.useState(!1),[c,u]=a.useState({}),[p,A]=a.useState(""),[h,f]=a.useState(null),[m,v]=a.useState(null),[g,y]=a.useState(null),[x,b]=a.useState([]),[w,j]=a.useState(null),[S,N]=a.useState(""),[F,B]=a.useState("single"),[k,T]=a.useState(1),[E,_]=a.useState(!1),[O,M]=a.useState([]),[H,V]=a.useState(null),z=Tf(sk),q=iA("UserType");a.useEffect((()=>{try{r(Gh({items:pk})),r(RP()).unwrap(),r(tk()).unwrap()}catch(e){}}),[]),a.useEffect((()=>{b(i)}),[i]);const W=a.useCallback((()=>{y(null),v(null)}),[]),Y=()=>{r(dk())},K=async e=>{var t;let n={ConfigId:e.ConfigId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},i=await r(zP(n)).unwrap();1==(null==(t=null==i?void 0:i.data)?void 0:t.statusCode)&&(r(RP()).unwrap(),v("success"),y("A"==e.ActiveStatus?" Config Data In-Activated Successfully":"Config Data Activated Successfully"))},G=()=>{N(""),l(!1),Y(),V(null),_(!1)},$=[{title:"SI.NO",key:"sno",align:"center",width:"60px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(k-1)+n+1})},{title:"Type Name",dataIndex:"TypeName",key:"TypeName",align:"left",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[p],onFilter:(e,t)=>String(t.TypeName).toLowerCase().includes(e.toLowerCase())||String(t.ConfigName).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.TypeName)?void 0:n.localeCompare(t.TypeName)},sortOrder:"TypeName"===c.columnKey?c.order:null,ellipsis:!0},{title:"Config Name",dataIndex:"ConfigName",key:"ConfigName",width:"100px",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.ConfigName)?void 0:n.localeCompare(t.ConfigName)},sortOrder:"ConfigName"===c.columnKey?c.order:null,ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",width:"50px",align:"left",render:(e,a,r)=>i.length>=1?Ye.jsxs(P,{size:"middle",children:["A"===a.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==n?void 0:n.length)||"Y"===(null==(e=null==n?void 0:n.find((e=>"Config Master"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async e=>{"D"!==e.ActiveStatus&&(l(!0),d(!0),N(e.SmallIcon),t.setFieldsValue(e),f(e))})(a):" "}})}):"",Ye.jsx("a",{children:"A"===a.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==n?void 0:n.length)||"Y"===(null==(e=null==n?void 0:n.find((e=>"Config Master"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?K(a):" "}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==n?void 0:n.length)||"Y"===(null==(e=null==n?void 0:n.find((e=>"Config Master"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?K(a):" "}})})]}):null}];return Ye.jsxs("div",{className:"userPageTable",children:[Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:m,messageData:g,onComplete:W}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Config Master"})}),Ye.jsxs("div",{className:"searchAddDiv searchAddDivCommonMaster",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{A(e)},onSearchChange:e=>{var t;A(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(I.Item,{name:"Config Type",rules:[{required:!0,message:"Please Select Config Type"}],children:Ye.jsx(_y,{options:[{value:"Select",label:"All"},...null==z?void 0:z.map((e=>({value:e.TypeId,label:e.TypeName})))],defaultValue:"Select",placeholder:"Config Type",label:"ConfigType",onChangeFunction:e=>(async e=>{if("Select"===e)b(i);else{const t=i.filter((t=>t.TypeId===parseInt(e)));b(t)}})(e),isOnchanges:!0,className:"field-DropDown",onFilter:(e,t)=>String(t.TypeName).toLowerCase().includes(e.toLowerCase())})}),Ye.jsx(Ry,{buttonText:"Add New",color:"901D77",handleSubmit:()=>{l(!0),t.resetFields(),d(!1)},icon:Ye.jsx(C,{}),disabled:"Super Admin"!==q&&"N"==(null==(e=null==n?void 0:n.find((e=>"Config Master"==(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:$,data:x,pagination:e=>{T(e)},onChange:(e,t,n)=>{u(n)}})})]}),Ye.jsx(SP,{open:s,title:"Config Master",footer:!0,className:"AddConfigMaster",children:Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsx(I,{form:t,children:Ye.jsxs(R,{children:[Ye.jsxs(Q,{className:"gutter-row",span:11,children:[Ye.jsx(I.Item,{name:"TypeId",rules:[{required:!0,message:"Please Select Config Type"}],children:Ye.jsx(_y,{options:[{value:"Select",label:"All"},...null==z?void 0:z.map((e=>({value:e.TypeId,label:e.TypeName})))],placeholder:"ConfigType",label:Ye.jsx("label",{className:"required",children:"ConfigType"}),optionsNames:{value:"TypeId",label:"TypeName"},className:"field-DropDown",isOnchanges:!0,onChangeFunction:async e=>{var n,i,a,s,l;t.setFieldsValue({TypeId:e});let o=null==z?void 0:z.filter((t=>t.TypeId==e&&"Module"==t.TypeName));if((null==o?void 0:o.length)>0){_(!0);let e=await r(HP({TypeName:"Main Module"})).unwrap();1==(null==(n=null==e?void 0:e.data)?void 0:n.statusCode)&&M((null==(a=null==(i=null==e?void 0:e.data)?void 0:i.data)?void 0:a.length)>0?null==(l=null==(s=null==e?void 0:e.data)?void 0:s.data)?void 0:l.filter((e=>"A"===e.ActiveStatus)):[])}else _(!1),V(null)},defaultValue:"Select",valueData:o?null==h?void 0:h.TypeId:void 0,disabled:!!o})}),Ye.jsxs("div",{className:"upload_btn",children:[Ye.jsx("p",{children:"Upload Icon"}),Ye.jsx(Yy,{singleImage:!0,updateImageUrl:e=>{N(e)},ImageLink:S||""})]})]}),Ye.jsxs(Q,{className:"gutter-row",span:11,children:[E&&Ye.jsx(I.Item,{name:"MainModuleId",rules:[{required:!0,message:"Please Select Main Module"}],children:Ye.jsx(_y,{options:[...null==O?void 0:O.map((e=>({value:e.ConfigId,label:e.ConfigName})))],placeholder:"Main Module",label:Ye.jsx("label",{className:"required",children:"Main Module"}),optionsNames:{value:"ConfigId",label:"ConfigName"},className:"field-DropDown",onChangeFunction:async e=>{V(e),t.setFieldsValue({MainModuleId:e})},valueData:H})}),Ye.jsx(I.Item,{name:"ConfigName",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Config Name"},{validator:async(e,t)=>(await lA(t),t&&t.length>50?Promise.reject("Config Name should not exceed 50 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"ConfigName",name:"test",label:Ye.jsx("label",{className:"required",children:"Config Name"}),className:"Input",fieldState:!!o||"",fieldApi:[{setValue:"s",setTouched:!0}],autocomplete:"off",isOnChange:!!o})}),Ye.jsx(I.Item,{name:"Description",rules:[{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(My,{label:"Description",fieldState:"Enter Your Description...",isOnChange:!!o})})]})]})})})}),handleCancel:G,handleSubmit:async()=>{var e,n,i,a,s,l;if("single"===F){const a=await t.validateFields(),s={TypeId:a.TypeId,ConfigName:a.ConfigName,AlphaNumFId:H,Description:a.Description,SmallIcon:S,CreatedBy:iA("UserId")};let l={};if(o){if(h){const e={ConfigId:h.ConfigId,TypeId:h.TypeId,AlphaNumFId:h.AlphaNumFId,UpdatedBy:iA("UserId"),ConfigName:a.ConfigName,Description:a.Description,SmallIcon:S};l=await r(WP(e)).unwrap()}}else l=await r(qP(s)).unwrap();1==(null==(e=null==l?void 0:l.data)?void 0:e.statusCode)?(N(""),v("success"),y(null==(n=null==l?void 0:l.data)?void 0:n.response),G(),r(RP()).unwrap()):(N(""),v("error"),y(null==(i=null==l?void 0:l.data)?void 0:i.response))}else if("multiple"===F)if(w&&w.length>0){if(w.some((e=>!(null==e?void 0:e.configName)||""===(null==e?void 0:e.configName.trim()))))v("error"),y("Please enter Config Name");else{const e={ConfigMasterDetails:w.map((e=>({TypeId:parseInt(null==e?void 0:e.TypeId),ConfigName:null==e?void 0:e.configName,SmallIcon:null==e?void 0:e.SmallIcon})))};let t=await r(YP(e)).unwrap();1==(null==(a=null==t?void 0:t.data)?void 0:a.statusCode)?(v("success"),y(null==(s=null==t?void 0:t.data)?void 0:s.response)):(v("error"),y(null==(l=null==t?void 0:t.data)?void 0:l.response)),Y(),G(),r(RP()).unwrap()}}else v("error"),y("No data to submit. Please upload an Excel file.")}})]})},empAccess:"Config Master"},{path:"config-type",component:()=>{var e;const[t,n]=a.useState(!1),[i,r]=a.useState(!1),[s,l]=a.useState({}),[o,d]=a.useState(""),[c,u]=a.useState(null),[p,A]=a.useState(null),[h,f]=a.useState(null),[m,v]=a.useState(1),g=Tf(rk),y=Tf(Gg),x=iA("UserType"),b=um();a.useEffect((()=>{try{b(Gh({items:Ak})),b(XP()).unwrap()}catch(e){}}),[]);const w=a.useCallback((()=>{A(null),u(null)}),[]),[j]=I.useForm();const S=async e=>{var t;let n={TypeId:e.TypeId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},i=await b(ek(n)).unwrap();1==(null==(t=null==i?void 0:i.data)?void 0:t.statusCode)&&(b(XP()).unwrap(),u("success"),A("A"==e.ActiveStatus?"Config Type In-Activated Successfully":"Config Type Activated Successfully"))},N=()=>{n(!1)},F=[{title:"SI.NO",align:"center",key:"sno",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(m-1)+n+1})},{title:"Type Name",dataIndex:"TypeName",key:"TypeName",align:"left",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black",width:"100px"},children:e}),filteredValue:[o],onFilter:(e,t)=>String(t.TypeName).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.TypeName)?void 0:n.localeCompare(t.TypeName)},sortOrder:"TypeName"===s.columnKey?s.order:null,ellipsis:!0},{title:"Action",dataIndex:"Action",key:"Action",align:"center",width:"100px",render:(e,t,i)=>g.length>=1?Ye.jsxs(P,{size:"middle",children:["A"===t.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==y?void 0:y.length)||"Y"===(null==(e=null==y?void 0:y.find((e=>"Config Type"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async e=>{"D"!==e.ActiveStatus&&(n(!0),r(!0),j.setFieldsValue(e),f(e))})(t):" "}})}):"",Ye.jsx("a",{children:"A"===t.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==y?void 0:y.length)||"Y"===(null==(e=null==y?void 0:y.find((e=>"Config Type"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?S(t):" "}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==y?void 0:y.length)||"Y"===(null==(e=null==y?void 0:y.find((e=>"Config Type"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?S(t):" "}})})]}):null}];return Ye.jsxs("div",{className:"userPageTable",children:[Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:c,messageData:p,onComplete:w}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Config Type"})}),Ye.jsxs("div",{className:"searchAddDiv searchAddDivConfig",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{d(e)},onSearchChange:e=>{var t;d(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",color:"901D77",handleSubmit:()=>{n(!0),j.resetFields(),r(!1)},disabled:"Super Admin"!==x&&"N"===(null==(e=null==y?void 0:y.find((e=>"Config Type"==(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),icon:Ye.jsx(C,{}),children:"OPEN"})]})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:F,data:g,dataSource:g,pagination:e=>{v(e)},onChange:(e,t,n)=>{l(n)}})," "]})]}),Ye.jsx(SP,{open:t,title:"Config Type",footer:!0,className:"ConfigtypeNewModal",children:Ye.jsx(I,{form:j,children:Ye.jsx(R,{children:Ye.jsx(Q,{className:"gutter-row",span:6,children:Ye.jsx(I.Item,{name:"TypeName",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Type Name "},{validator:async(e,t)=>(await lA(t),t&&t.length>50?Promise.reject("Type Name should not exceed 50 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"TypeName",label:Ye.jsx("label",{className:"required",children:"Type Name"}),className:"Input",fieldState:!!i||"",fieldApi:[{setValue:"s",setTouched:!0}],autocomplete:"off",isOnChange:!!i,onChange:e=>{var t;let n=null==(t=null==e?void 0:e.target)?void 0:t.value.replace(/^\s{2,}/,"");j.setFieldsValue({TypeName:n})}})})})})}),handleCancel:N,handleSubmit:async()=>{var e,t,n;const a={TypeName:(await j.validateFields()).TypeName,CreatedBy:iA("UserId")};let r={};if(i){if(h){const e={TypeId:h.TypeId,TypeName:h.TypeName,UpdatedBy:iA("UserId"),...a};r=await b(ZP(e)).unwrap()}}else r=await b(JP(a)).unwrap();1==(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)?(u("success"),A(null==(t=null==r?void 0:r.data)?void 0:t.response),N(),b(XP()).unwrap()):(u("error"),A(null==(n=null==r?void 0:r.data)?void 0:n.response))}})]})},empAccess:"Config Type"},{path:"admin-tax",component:()=>{var e;const t=um(),n=a.useRef(null),[i,r]=a.useState(null),[s,l]=a.useState(null),[o,d]=a.useState(!1),[c,u]=a.useState("right"),[p,A]=a.useState([]),[h,f]=a.useState({}),[m,v]=a.useState({}),[g,y]=a.useState([]),[x,b]=a.useState(!1),[w,j]=a.useState(""),[S,N]=a.useState(1),F=Tf(Gg),B=iA("UserType");async function P(){var e,n;const i=await t(yw()).unwrap();1===(null==(e=i.data)?void 0:e.statusCode)&&A(null==(n=i.data)?void 0:n.data)}a.useEffect((()=>{try{P()}catch(e){}}),[]),a.useEffect((()=>{t(Gh({items:bw}))}),[]);const T=[{title:"SI.NO",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(S-1)+n+1})},{title:"Tax Name",dataIndex:"TaxName",key:"TaxName",align:"left",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[w],onFilter:(e,t)=>String(t.TaxName).toLowerCase().includes(e.toLowerCase())||String(t.TaxPercentage).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n,i;return(null==(n=null==e?void 0:e.TaxName)?void 0:n.length)-(null==(i=null==t?void 0:t.TaxName)?void 0:i.length)},sortOrder:"TaxName"===m.columnKey?m.order:null,ellipsis:!0},{title:"Tax Percentage",dataIndex:"TaxPercentage",key:"TaxPercentage",width:"100px",align:"right",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),filteredValue:h.TaxPercentage||null,onFilter:(e,t)=>t.TaxPercentage.includes(e),sorter:(e,t)=>{var n,i;return(null==(n=null==e?void 0:e.TaxPercentage)?void 0:n.length)-(null==(i=null==t?void 0:t.TaxPercentage)?void 0:i.length)},sortOrder:"TaxPercentage"===m.columnKey?m.order:null,ellipsis:!0},{title:"Effective From",dataIndex:"EffectiveFrom",key:"EffectiveFrom",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black"},children:tA(e)}),filteredValue:h.EffectiveFrom||null,onFilter:(e,t)=>t.EffectiveFrom.includes(e),sorter:(e,t)=>{var n,i;return(null==(n=null==e?void 0:e.EffectiveFrom)?void 0:n.length)-(null==(i=null==t?void 0:t.EffectiveFrom)?void 0:i.length)},sortOrder:"EffectiveFrom"===m.columnKey?m.order:null,ellipsis:!0},{title:"Reference No",dataIndex:"Reference",key:"Reference",width:"100px",align:"right",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),filteredValue:h.Reference||null,onFilter:(e,t)=>t.Reference.includes(e),sorter:(e,t)=>{var n,i;return(null==(n=null==e?void 0:e.Reference)?void 0:n.length)-(null==(i=null==t?void 0:t.Reference)?void 0:i.length)},sortOrder:"Reference"===m.columnKey?m.order:null,ellipsis:!0}],E=a.useCallback((()=>{l(null),r(null)}),[]);return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:i,messageData:s,onComplete:E}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Tax"})}),Ye.jsxs("div",{className:"searchAddDiv searchAddDivTax",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{j(e)},onSearchChange:e=>{var t;j(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",color:"901D77",icon:Ye.jsx(C,{}),handleSubmit:async()=>{var e;await(null==(e=n.current)?void 0:e.resetFields()),d(!0),y([]),b(!1)},disabled:"Super Admin"!==B&&"N"===(null==(e=null==F?void 0:F.find((e=>"Tax"==(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:T,data:p,pagination:e=>{N(e)},onChange:(e,t,n)=>{f(t),v(n)}})," "]}),Ye.jsx(gw,{open:o,placement:c,title:"Add Tax",children:Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{className:"formDivAnt",ref:n,onFinish:async e=>{var n,i,a;let s=e;s.CreatedBy=iA("UserId"),s.EffectiveFrom=new Date(e.EffectiveFrom).toISOString().slice(0,10);let o={};o=await t(xw(s)).unwrap(),1==(null==(n=null==o?void 0:o.data)?void 0:n.statusCode)?(r("success"),l(null==(i=null==o?void 0:o.data)?void 0:i.response),d(!1),P()):(r("error"),l(null==(a=null==o?void 0:o.data)?void 0:a.response))},children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"TaxName",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Tax Name"},{validator:async(e,t)=>(await lA(t),t&&t.length>10?Promise.reject("Tax Name cannot exceed 10 characters."):Promise.resolve())}],children:Ye.jsx(Oy,{field:"TaxName",label:Ye.jsx("label",{className:"required",children:"Tax Name"}),fieldState:!0,maxLength:"30",autoComplete:"off",className:"Input",isOnChange:!!x})}),Ye.jsx(I.Item,{name:"TaxPercentage",rules:[{required:!0,message:"Please Enter a Valid Percentage"},{pattern:/^(100(\.0{1,2})?|(\d{1,2}(\.\d{0,2})?)?)$/,message:"Only numbers allowed (0-100) with up to 2 decimal places"},{validator:async(e,t)=>(await lA(t),Promise.resolve())}],children:Ye.jsx(Oy,{field:"TaxPercentage",name:"test",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Tax Percentage"}),type:"number",fieldState:!0,fieldApi:!0,id:"error2",isOnChange:!!x})}),Ye.jsx(I.Item,{name:"EffectiveFrom",rules:[{required:!0,message:"Please Enter Effective From"}],children:Ye.jsx(vw,{field:"EffectiveFrom",name:"EffectiveFrom",type:"number",min:1,max:100,label:Ye.jsx("label",{className:"required",children:"EffectiveFrom"}),fieldState:!0,fieldApi:!0,EditData:g,EditState:x,onChange:e=>{var t;if(!(e&&e.$y&&e.$M&&e.$D))return;const i=`${e.$y}-${String(e.$M+1).padStart(2,"0")}-${String(e.$D).padStart(2,"0")}`;null==(t=null==n?void 0:n.current)||t.setFieldsValue({EffectiveFrom:i})},id:"error3",isOnChange:!!x})}),Ye.jsx(I.Item,{name:"Reference",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Reference"},{validator:async(e,t)=>(await lA(t),t&&t.length>30?Promise.reject("Reference cannot exceed 30 characters."):Promise.resolve())}],children:Ye.jsx(Oy,{field:"Reference",name:"test",label:"Reference No",fieldState:!0,autoComplete:"off",fieldApi:!0,id:"error4",isOnChange:!!x})})]})}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"SUBMIT",icon:Ye.jsx(k,{})})})]})}),onClose:()=>{d(!1),b(!1)}})]})})},empAccess:"Tax"},{path:"application-image",component:()=>{var e;const t=a.useRef(null),n=um(),i=Tf(_b),r=Tf(bk),s=Tf(Gg),l=iA("UserType"),[o,d]=a.useState(null),[c,u]=a.useState(null),[p,A]=a.useState(!1),[h,f]=a.useState({}),[m,v]=a.useState(null),[g,y]=a.useState(""),[x,b]=a.useState([]),[w,j]=a.useState({}),[S,N]=a.useState("add"),[F,B]=a.useState("I"),[T,E]=a.useState(1),_=[{name:"Home",link:"/home/landing-page/home"}];a.useEffect((()=>{try{n(Gh({items:_})),n(mk()).unwrap(),n(Fb()).unwrap()}catch(e){}}),[]),a.useEffect((()=>{var e;try{1===i.length&&M(null==(e=i[0])?void 0:e.AppId)}catch(t){}}),[m,i]),a.useEffect((()=>{var e;w&&Object.keys(w).length>0&&(null==(e=t.current)||e.setFieldsValue({AppId:w.AppId,ImageName:w.ImageName,ImageType:w.ImageType}),b((null==w?void 0:w.ImageLink)||""))}),[w]);const O=()=>{var e;null==(e=t.current)||e.resetFields(),b(""),A(!1),j({})},M=async e=>{var n;null==(n=t.current)||n.setFieldsValue({AppId:e}),await v(e)},R=a.useCallback((()=>{u(null),d(null)}),[]),Q=async e=>{var t;let i={ImageId:e.ImageId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},a=await n(yk(i)).unwrap();1==(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)&&(n(mk()).unwrap(),d("success"),u("A"==e.ActiveStatus?"App Image In-Activated Successfully":"App Image Activated Successfully"))},H=[{title:"SI.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(T-1)+n+1})},{title:"Application Name",dataIndex:"AppName",key:"AppName",align:"left",width:"200px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),filteredValue:[g],onFilter:(e,t)=>String(t.AppName).toLowerCase().includes(e.toLowerCase())||String(t.ImageName).toLowerCase().includes(e.toLowerCase())||String(t.ImageTypeName).toLowerCase().includes(e.toLowerCase())||String(t.ImageLink).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.AppName)?void 0:n.localeCompare(t.AppName)},sortOrder:"AppName"===h.columnKey?h.order:null,ellipsis:!0},{title:"Image Name",dataIndex:"ImageName",key:"ImageName",align:"left",width:"200px",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.ImageName)?void 0:n.localeCompare(t.ImageName)},sortOrder:"ImageName"===h.columnKey?h.order:null,ellipsis:!0},{title:"Image Type",dataIndex:"ImageTypeName",key:"ImageTypeName",align:"left",width:"200px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.ImageTypeName)?void 0:n.localeCompare(t.ImageTypeName)},sortOrder:"ImageTypeName"===h.columnKey?h.order:null,ellipsis:!0},{title:"Image",dataIndex:"ImageLink",key:"ImageLink",align:"center",maxWidth:"20px",render:(e,t)=>Ye.jsx("img",{style:{maxWidth:"46px"},src:`${""!=t.ImageLink&&null!=t.ImageLink&&null!=t.ImageLink?t.ImageLink:hk}`,alt:"App Img"})},{title:"Action",key:"Action",dataIndex:"Action",width:"200px",align:"center",render:(e,n,i)=>r.length>=1?Ye.jsxs(P,{size:"middle",children:["A"===n.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==s?void 0:s.length)||"Y"===(null==(e=null==s?void 0:s.find((e=>"Application Image"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async e=>{var n,i,a;null==(n=t.current)||n.resetFields(),"D"!==e.ActiveStatus&&(null==(i=t.current)||i.setFieldsValue({ImageType:e.ImageType}),B(e.ImageType),j(e),N("edit"),null==(a=t.current)||a.setFieldsValue({AppId:e.AppId,ImageName:e.ImageName}),v(e.AppId),b(null==e?void 0:e.ImageLink),A(!0))})(n):" "}})}):"",Ye.jsx("a",{children:"A"===n.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==s?void 0:s.length)||"Y"===(null==(e=null==s?void 0:s.find((e=>"Application Image"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?Q(n):" "}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==s?void 0:s.length)||"Y"===(null==(e=null==s?void 0:s.find((e=>"Application Image"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?Q(n):" "}})})]}):null}];return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:o,messageData:c,onComplete:R}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Application Image"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{y(e)},onSearchChange:e=>{var t;y(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",color:"901D77",icon:Ye.jsx(C,{}),handleSubmit:()=>{var e;Object.keys(w).length>0?(N("edit"),A(!0)):(null==(e=t.current)||e.resetFields(),N("add"),v(null),b(""),A(!0))},disabled:"Super Admin"!==l&&"N"===(null==(e=null==s?void 0:s.find((e=>"Application Image"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:H,data:r,dataSource:r,onChange:(e,t,n)=>{f(n)},pagination:e=>{E(e)}})," "]}),Ye.jsx(gw,{open:p,placement:"right",title:"Application Image",children:Ye.jsx("div",{className:"formDiv",children:Ye.jsxs(I,{ref:t,className:"formDivAnt",onFinish:async e=>{var t,i,a;let r={};r.ImageLink=x,r.ImageType=F,r.ImageName=e.ImageName,r.AppId=e.AppId;let s={};if("edit"===S){r.ImageId=w.ImageId,r.updatedBy=iA("UserId");try{s=await n(gk(r)).unwrap()}catch(l){"Request failed with status code 422"==l.message&&(s={data:{statusCode:0,response:"Please Give Required Fields",data:[]}})}}else{r.CreatedBy=iA("UserId");try{s=await n(vk(r)).unwrap()}catch(l){"Request failed with status code 422"==l.message&&(s={data:{statusCode:0,response:"Please Give Required Fields",data:[]}})}}1==(null==(t=null==s?void 0:s.data)?void 0:t.statusCode)?(O(),n(mk()).unwrap(),d("success"),u(null==(i=null==s?void 0:s.data)?void 0:i.response)):(d("error"),u(null==(a=null==s?void 0:s.data)?void 0:a.response))},initialValues:w,children:[Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{className:"inputForm",children:[Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application "}],children:Ye.jsx(_y,{options:null==i?void 0:i.map((e=>({value:e.AppId,label:e.AppName}))),label:Ye.jsx("label",{className:"required",children:"Application"}),onChangeFunction:M,className:"field-DropDown",isOnchanges:!!m,valueData:m})}),Ye.jsx(I.Item,{name:"ImageName",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Image Name"},{validator:async(e,t)=>(await lA(t),t&&t.length>30?Promise.reject("Image Name should not exceed 30 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"ImageName",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Image Name"}),fieldState:!0,fieldApi:!0,isOnChange:"edit"==S})}),Ye.jsx(I.Item,{name:"ImageType",children:Ye.jsx(fk,{content:[{value:"I",label:"Image"},{value:"C",label:"Icon"}],fieldState:!0,defaultSelect:F,Header:"Select Image Type",onSelectFuntion:e=>(async e=>{var n;null==(n=t.current)||n.setFieldsValue({ImageType:e}),await B(e)})(e)})}),Ye.jsxs("div",{className:"upload_btn",children:[Ye.jsxs("p",{children:["Upload ","I"===F?"App Image":"App Icon"]}),Ye.jsx(Yy,{singleImage:!0,updateImageUrl:e=>{b(e)},ImageLink:x||""})]})]})}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"Submit",icon:Ye.jsx(k,{}),htmlType:!0})})]})}),onClose:O})]})})},empAccess:"Application Image"},{path:"carousel",component:()=>{var e;const t=um(),[n,i]=a.useState(!1),[r,s]=a.useState(!1),[l,o]=a.useState({}),[d,c]=a.useState(""),[u,p]=a.useState(null),[A,h]=a.useState(null),[f,m]=a.useState(null),[v,g]=a.useState(null),[y,x]=a.useState(1),b=Tf(vT),w=Tf(gT),j=Tf(Gg),[S]=I.useForm(),N=iA("UserType");a.useEffect((()=>{try{t(Gh({items:xT})),t(uT()).unwrap(),t(fT()).unwrap()}catch(e){}}),[]);const F=a.useCallback((()=>{g(null),m(null)}),[]),B=async e=>{var n;let i={CarouselId:e.CarouselId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},a=await t(pT(i)).unwrap();1==(null==(n=null==a?void 0:a.data)?void 0:n.statusCode)&&(t(uT()).unwrap(),m("success"),g("A"==e.ActiveStatus?"Carousel In-Activated Successfully":"Carousel Activated Successfully"))},k=()=>{i(!1)},T=[{title:"SI.NO",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(y-1)+n+1})},{title:"Screen Name",dataIndex:"ScreenName",key:"ScreenName",width:"100px",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[d],onFilter:(e,t)=>String(t.ScreenName).toLowerCase().includes(e.toLowerCase())||String(t.Carousel).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.ScreenName)?void 0:n.localeCompare(t.ScreenName)},sortOrder:"ScreenName"===l.columnKey?l.order:null,ellipsis:!0},{title:"Carousel",dataIndex:"Carousel",key:"Carousel",align:"left",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.Carousel)?void 0:n.localeCompare(t.Carousel)},sortOrder:"Carousel"===l.columnKey?l.order:null,ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",width:"100px",align:"center",render:(e,t,n)=>b.length>=1?Ye.jsxs(P,{size:"middle",children:["A"===t.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==j?void 0:j.length)||"Y"===(null==(e=null==j?void 0:j.find((e=>"Carousel"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async e=>{"D"!==e.ActiveStatus&&(i(!0),s(!0),S.setFieldsValue(e),p(e),h(e.ScreenId))})(t):""}})}):"",Ye.jsx("a",{children:"A"===t.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==j?void 0:j.length)||"Y"===(null==(e=null==j?void 0:j.find((e=>"Carousel"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?B(t):""}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==j?void 0:j.length)||"Y"===(null==(e=null==j?void 0:j.find((e=>"Carousel"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?B(t):""}})})]}):null}];return Ye.jsx(Ye.Fragment,{children:Ye.jsxs("div",{className:"userPage",children:[Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:f,messageData:v,onComplete:F}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Carousel"})}),Ye.jsxs("div",{className:"searchAddDiv searchAddDivTax",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{c(e)},onSearchChange:e=>{var t;c(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",color:"901D77",handleSubmit:()=>{var e,t;i(!0),S.resetFields(),1===w.length&&(h(null==(e=w[0])?void 0:e.ConfigId),S.setFieldsValue({ScreenId:null==(t=w[0])?void 0:t.ConfigId})),s(!1)},icon:Ye.jsx(C,{}),disabled:"Super Admin"!==N&&"N"===(null==(e=null==j?void 0:j.find((e=>"Carousel"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:T,data:b,dataSource:b,pagination:e=>{x(e)},onChange:(e,t,n)=>{o(n)}})," "]})]}),Ye.jsx(SP,{open:n,title:"Carousel",footer:!0,name:"Add",className:"CarouselModalAdd",children:Ye.jsx(I,{form:S,children:Ye.jsxs(R,{children:[Ye.jsx(Q,{className:"gutter-row",span:11,children:Ye.jsx(I.Item,{name:"ScreenId",rules:[{required:!0,message:"Please Select Screen Name"}],children:Ye.jsx(_y,{options:null==w?void 0:w.map((e=>({value:e.ConfigId,label:e.ConfigName}))),placeholder:"ScreenId",label:"Screen Name",className:"field-DropDown",onChangeFunction:async e=>{S.setFieldsValue({ScreenId:e}),h(e)},valueData:A,isOnchanges:!(!r&&!A),disabled:!!r})})}),Ye.jsx(Q,{className:"gutter-row",span:11,children:Ye.jsx(I.Item,{name:"Carousel",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Carousel"},{validator:async(e,t)=>(await lA(t),t&&t.length>20?Promise.reject("Carousel should not exceed 20 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"Carousel",name:"test",label:Ye.jsx("label",{className:"required",children:"Carousel"}),className:"Input",fieldState:!!r||"",fieldApi:[{setValue:"s",setTouched:!0}],autoComplete:"off",isOnChange:!!r})})})]})}),handleCancel:k,handleSubmit:async()=>{var e,n,i;const a=await S.validateFields(),s={ScreenId:a.ScreenId,Carousel:a.Carousel,CreatedBy:iA("UserId")};let l={};if(r){if(u){const e={CarouselId:u.CarouselId,UpdatedBy:iA("UserId"),...s};l=await t(hT(e)).unwrap()}}else l=await t(AT(s)).unwrap();1==(null==(e=null==l?void 0:l.data)?void 0:e.statusCode)?(m("success"),g(null==(n=null==l?void 0:l.data)?void 0:n.response),k(),t(uT()).unwrap()):(m("error"),g(null==(i=null==l?void 0:l.data)?void 0:i.response))}})]})})},empAccess:"Carousel"},{path:"currency",component:()=>{var e;const[t,n]=a.useState(!1),[i,r]=a.useState(!1),[s,l]=a.useState({}),[o,d]=a.useState(""),[c,u]=a.useState(null),[p,A]=a.useState(null),[h,f]=a.useState(null),[m,v]=a.useState(1),g=Tf(Gg),y=Tf(O9),x=iA("UserType"),b=um();a.useEffect((()=>{try{b(Gh({items:R9})),b(E9()).unwrap()}catch(e){}}),[]);const w=a.useCallback((()=>{A(null),u(null)}),[]),[j]=I.useForm();var S=[{setValue:"s",setTouched:!0}];const N=async e=>{var t;let n={CurrId:e.CurrId,ActiveStatus:"A"==e.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},i=await b(U9(n)).unwrap();1==(null==(t=null==i?void 0:i.data)?void 0:t.statusCode)&&(b(E9()).unwrap(),u("success"),A("A"==e.ActiveStatus?"Currency In-Activated Successfully":"Currency Activated Successfully"))},F=()=>{n(!1)},B=[{title:"SI.NO",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(m-1)+n+1})},{title:"Currency Name",dataIndex:"CurrName",key:"CurrName",width:"100px",align:"left",filteredValue:[o],onFilter:(e,t)=>String(t.CurrName).toLowerCase().includes(e.toLowerCase())||String(t.CurrShName).toLowerCase().includes(e.toLowerCase())||String(t.ConvRate).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.CurrName)?void 0:n.localeCompare(t.CurrName)},sortOrder:"CurrName"===s.columnKey?s.order:null,ellipsis:!0},{title:"Short Name",dataIndex:"CurrShName",key:"CurrShName",align:"left",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.CurrShName)?void 0:n.localeCompare(t.CurrShName)},sortOrder:"CurrShName"===s.columnKey?s.order:null,ellipsis:!0},{title:"Conversion Rate",dataIndex:"ConvRate",key:"ConvRate",align:"right",width:"100px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>(null==e?void 0:e.ConvRate)-(null==t?void 0:t.ConvRate),sortOrder:"ConvRate"===s.columnKey?s.order:null,ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",width:"100px",align:"center",render:(e,t,i)=>y.length>=1?Ye.jsxs(P,{size:"middle",children:["A"===t.ActiveStatus?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==g?void 0:g.length)||"Y"===(null==(e=null==g?void 0:g.find((e=>"Currency"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async e=>{"D"!==e.ActiveStatus&&(n(!0),r(!0),j.setFieldsValue(e),f(e))})(t):""}})}):"",Ye.jsx("a",{children:"A"===t.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==g?void 0:g.length)||"Y"===(null==(e=null==g?void 0:g.find((e=>"Currency"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?N(t):""}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==g?void 0:g.length)||"Y"===(null==(e=null==g?void 0:g.find((e=>"Currency"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?N(t):""}})})]}):null}];return Ye.jsxs("div",{className:"userPageTable",children:[Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:c,messageData:p,onComplete:w}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Currency"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{d(e)},onSearchChange:e=>{var t;d(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(Ry,{buttonText:"Add New",color:"901D77",handleSubmit:()=>{n(!0),j.resetFields(),r(!1)},icon:Ye.jsx(C,{}),disabled:"Super Admin"!==x&&"N"===(null==(e=null==g?void 0:g.find((e=>"Currency"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:B,data:y,dataSource:y,pagination:e=>{v(e)},onChange:(e,t,n)=>{l(n)}})," "]})]}),Ye.jsx(SP,{open:t,title:"Currency",footer:!0,children:Ye.jsx(I,{form:j,children:Ye.jsxs(R,{children:[Ye.jsxs(Q,{className:"gutter-row",span:11,children:[Ye.jsx(I.Item,{name:"CurrName",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Currency Name"},{validator:async(e,t)=>(await lA(t),t&&t.length>20?Promise.reject("Currency Name should not exceed 20 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"CurrName",label:Ye.jsx("label",{className:"required",children:"Currency Name"}),className:"Input",fieldState:!!i||"",fieldApi:S,autocomplete:"off",isOnChange:!!i})}),Ye.jsx(I.Item,{name:"ConvRate",rules:[{validator:(e,t)=>!t||t<0?Promise.reject("Please Enter a Valid Conversion rates"):/^\d{1,16}$/.test(t)?Promise.resolve():Promise.reject("Enter a valid number max 16 digits")}],children:Ye.jsx(Oy,{field:"ConvRate",name:"test",label:Ye.jsx("label",{className:"required",children:"Conversion rates"}),className:"Input",type:"number",fieldState:!!i||"",fieldApi:S,autocomplete:"off",isOnChange:!!i})})]}),Ye.jsx(Q,{className:"gutter-row",span:11,children:Ye.jsx(I.Item,{name:"CurrShName",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Short Name"},{validator:async(e,t)=>(await lA(t),t&&t.length>5?Promise.reject("Short Name should not exceed 5 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"CurrShName",name:"test",label:Ye.jsx("label",{className:"required",children:"Short Name"}),className:"Input",fieldState:!!i||"",fieldApi:S,autocomplete:"off",isOnChange:!!i})})})]})}),handleCancel:F,handleSubmit:async()=>{var e,t,n;const a=await j.validateFields(),r={CurrName:a.CurrName,CurrShName:a.CurrShName,ConvRate:a.ConvRate,CreatedBy:iA("UserId")};let s={};if(i){if(h){const e={CurrId:h.CurrId,UpdatedBy:iA("UserId"),...r};s=await b(L9(e)).unwrap()}}else s=await b(D9(r)).unwrap();1==(null==(e=null==s?void 0:s.data)?void 0:e.statusCode)?(u("success"),A(null==(t=null==s?void 0:s.data)?void 0:t.response),F(),b(E9()).unwrap()):(u("error"),A(null==(n=null==s?void 0:s.data)?void 0:n.response))}})]})},empAccess:"Currency"},{path:"payment-data",component:()=>{var e;const t=um(),n=[{name:"Home",link:`${eee}landing-page/home`},{name:"PaymentData",link:`${eee}setting/payment-data`}],i=Tf(Gg),r=iA("UserType"),[s,l]=a.useState([]),[o,d]=a.useState([]),[c,u]=a.useState([]),[p,A]=a.useState([]),[h,f]=a.useState(null),[m,v]=a.useState(null),[g,y]=a.useState([]),[x,b]=a.useState({}),[w,j]=a.useState(1),[C,S]=a.useState("E"),N=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(w-1)+n+1})},{title:"Payment Mode",dataIndex:"MethodName",key:"MethodName",width:"100px",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),onFilter:(e,t)=>String(t.MethodName).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.MethodName)?void 0:n.localeCompare(t.MethodName)},sortOrder:"MethodName"===x.columnKey?x.order:null,ellipsis:!0},{title:"Name",dataIndex:"Name",key:"Details",width:"100px",align:"left",render:(e,t)=>{var n;return Ye.jsx("a",{style:{color:"black"},children:null==(n=null==t?void 0:t.Detail)?void 0:n.cardName})},sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.Name)?void 0:n.localeCompare(t.Name)},sortOrder:"Name"===x.columnKey?x.order:null,ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",width:"100px",align:"center",render:(e,t,n)=>(null==p?void 0:p.length)>=1?Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{children:"A"===t.Detail.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==i?void 0:i.length)||"Y"===(null==(e=null==i?void 0:i.find((e=>"Payment Data"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?F(t,n):" "}}):Ye.jsx(U,{style:{color:"#52C41A",pointerEvents:"R"===C?"none":null},onClick:()=>{var e;return 0===(null==i?void 0:i.length)||"Y"===(null==(e=null==i?void 0:i.find((e=>"Payment Data"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?F(t,n):" "}})})}):null}],I=a.useCallback((()=>{v(null),f(null)}),[]),F=async(e,t)=>{if("E"===C){let n=[...s];n[t].Detail.ActiveStatus="A"==e.Detail.ActiveStatus?"D":"A",A(n)}else if("N"===C){let n=[...o];n[t].Detail.ActiveStatus="A"==e.Detail.ActiveStatus?"D":"A",A(n)}f("success"),v("A"==e.Detail.ActiveStatus?"Data In-Activated Successfully":"Data Activated Successfully")};a.useEffect((()=>{t(Gh({items:n})),B();Z9.ajax({url:"https://secure.ccavenue.com/transaction/transaction.do?command=getJsonData&access_code=AVIS68LC86AL45SILA¤cy=INR&amount=10.00",dataType:"jsonp",jsonp:!1,jsonpCallback:"processData",success:function(e){!function(e){var t=[],n=[],i=[],a=[],r=[],s=[],l=[],o=[];Z9.each(e,(function(){switch(t.push(this.payOpt),this.payOpt){case"OPTCRDC":var e=this.OPTCRDC,d=Z9.parseJSON(e);Z9.each(d,(function(){n.push(this)}));break;case"OPTDBCRD":e=this.OPTDBCRD,d=Z9.parseJSON(e);Z9.each(d,(function(){i.push(this)}));break;case"OPTNBK":e=this.OPTNBK,d=Z9.parseJSON(e);Z9.each(d,(function(){a.push(this)}));break;case"OPTCASHC":e=this.OPTCASHC,d=Z9.parseJSON(e);Z9.each(d,(function(){r.push(this)}));break;case"OPTWLT":e=this.OPTWLT,d=Z9.parseJSON(e);Z9.each(d,(function(){s.push(this)}));break;case"OPTUPI":e=this.OPTUPI,d=Z9.parseJSON(e);Z9.each(d,(function(){l.push(this)}));break;case"OPTEMI":e=this.EmiBanks,d=Z9.parseJSON(e);Z9.each(d,(function(){o.push(this)}))}}));const d=["OPTCRDC","OPTDBCRD","OPTNBK","OPTCASHC","OPTWLT","OPTUPI","OPTEMI"],c=null==d?void 0:d.map((e=>{let t,n;switch(e){case"OPTCRDC":t="CreditCard",n="CRDC";break;case"OPTDBCRD":t="DebitCard",n="DBCRD";break;case"OPTNBK":t="NetBanking",n="NBK";break;case"OPTCASHC":t="CashCard",n="CASHC";break;case"OPTWLT":t="Wallet",n="WLT";break;case"OPTUPI":t="UPI",n="UPI";break;case"OPTEMI":t="EMI",n="CRDC";break;default:t="Unknown",n="Unknown"}return{MethodName:t,PayOpt:e,CardType:n}})),u=null==o?void 0:o.map((e=>{const t={...e};return t.cardName=t.gtwName,t.cardType=t.emiCardType,delete t.gtwName,delete t.emiCardType,t})),p=[{PayOpt:"OPTCRDC",Details:n},{PayOpt:"OPTDBCRD",Details:i},{PayOpt:"OPTNBK",Details:a},{PayOpt:"OPTCASHC",Details:r},{PayOpt:"OPTWLT",Details:s},{PayOpt:"OPTUPI",Details:l},{PayOpt:"OPTEMI",Details:u}];null==c||c.forEach((e=>{const t=p.find((t=>t.PayOpt===e.PayOpt));t&&(e.Details=t.Details)})),y(c)}(e)},error:function(e,t,n){alert("An error occurred! "+(n||e.status))}})}),[]);const B=async()=>{var e,n;const i=await t(PE()).unwrap();if(1==(null==(e=null==i?void 0:i.data)?void 0:e.statusCode)&&(null==g?void 0:g.length)>0){const e=function(e,t){const n=[];return null==e||e.forEach((e=>{const i=t.find((t=>t.MethodName===e.MethodName));if(i){const t=e.Details,a=i.Details,r=[];null==t||t.forEach((e=>{a.find((t=>t.cardName===e.cardName))?r.push({...e,Type:"E"}):r.push({...e,Type:"R",ActiveStatus:"D"})})),null==a||a.forEach((e=>{t.find((t=>t.cardName===e.cardName))||r.push({...e,Type:"N",ActiveStatus:"A"})})),n.push({...e,Details:r})}else{const t=e.Details.map((e=>({...e,Type:"R"})));n.push({...e,Details:t})}})),null==t||t.forEach((t=>{if(!e.find((e=>e.MethodName===t.MethodName))){const e=t.Details.map((e=>({...e,Type:"N"})));n.push({...t,Details:e})}})),n}(null==(n=null==i?void 0:i.data)?void 0:n.data,g),t=null==e?void 0:e.flatMap((({Details:e,MethodName:t,MethodId:n})=>e.map((e=>({MethodName:t,Detail:e,MethodId:n})))));let a=[],r=[],s=[];null==t||t.forEach((e=>{const t=e.Detail.Type;"R"===t?a.push(e):"N"===t?r.push(e):"E"===t&&s.push(e)})),A(s),l(s),d(r),u(a)}};return Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:h,messageData:m,onComplete:I}),Ye.jsx("div",{style:{fontSize:"25px"},children:Ye.jsx(fk,{content:[{value:"E",label:"Already Exists Data"},{value:"N",label:"New Data"},{value:"R",label:"Removed Data"}],fieldState:!0,defaultSelect:C,Header:"Payment Data",onSelectFuntion:e=>{return S(t=e),void A("E"===t?s:"N"===t?o:c);var t}})}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:N,data:p,dataSource:p,pagination:e=>{j(e)},onChange:(e,t,n)=>{b(n)}})," "]}),Ye.jsx("div",{className:"submitButton",children:Ye.jsx(Ry,{buttonText:"Submit",icon:Ye.jsx(k,{}),htmlType:!0,handleSubmit:()=>{let e={},n={};const i=function(e){const t=[];return null==e||e.forEach((e=>{const{MethodId:n,MethodName:i,Detail:a}=e,r=t.find((e=>e.MethodName===i));r?r.Details.push(a):t.push({MethodId:n,MethodName:i,CardType:a.cardType,PayOpt:a.payOptType,Details:[a]})})),t}([...s,...o,...c]);e.data=i,n=t(FE(e)).unwrap(),1==n.statusCode?(f("success"),v("Data Added Successfully")):(f("error"),v("Data Not Added"))},disabled:"Super Admin"!==r&&"N"===(null==(e=null==i?void 0:i.find((e=>"Payment Device Config"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess)})})]})})})},empAccess:"Payment Data"},{path:"payment-method",component:()=>{Qt();const e=um(),t=Tf(Gg),[n,i]=a.useState({}),[r,s]=a.useState(""),[l,o]=a.useState(null),[d,c]=a.useState(null),[u,p]=a.useState(1),[A,h]=a.useState(""),f=[{name:"Home",link:"/home/landing-page/home"}];a.useEffect((()=>{(async()=>{var t;try{e(Gh({items:f}));let n=await e(Q9()).unwrap();h(null==(t=null==n?void 0:n.data)?void 0:t.data)}catch(n){}})()}),[]);const m=a.useCallback((()=>{c(null),o(null)}),[]),v=async t=>{var n,i;let a={MethodId:t.MethodId,ActiveStatus:"A"==t.ActiveStatus?"D":"A",UpdatedBy:iA("UserId")},r=await e($9(a)).unwrap();if(1==(null==(n=null==r?void 0:r.data)?void 0:n.statusCode)){let n=await e(Q9()).unwrap();h(null==(i=null==n?void 0:n.data)?void 0:i.data),o("success"),c("A"==t.ActiveStatus?"Payment Method In-Activated Successfully":"Payment Method Activated Successfully")}},g=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(u-1)+n+1})},{title:"Payment Method",dataIndex:"MethodName",key:"MethodName",width:"100px",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[r],onFilter:(e,t)=>String(t.MethodName).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.MethodName)?void 0:n.localeCompare(t.MethodName)},sortOrder:"MethodName"===n.columnKey?n.order:null,ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",width:"100px",align:"center",render:(e,n,i)=>(null==A?void 0:A.length)>=1?Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{children:"A"===n.ActiveStatus?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==t?void 0:t.length)||"Y"===(null==(e=null==t?void 0:t.find((e=>"Payment Method"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?v(n):""}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==t?void 0:t.length)||"Y"===(null==(e=null==t?void 0:t.find((e=>"Payment Method"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?v(n):""}})})}):null}];return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:l,messageData:d,onComplete:m}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Payment Method"})}),Ye.jsx("div",{className:"searchAddDiv",children:Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{s(e)},onSearchChange:e=>{var t;s(null==(t=null==e?void 0:e.target)?void 0:t.value)}})})})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:g,data:A,dataSource:A,pagination:e=>{p(e)},onChange:(e,t,n)=>{i(n)}})," "]})]})})},empAccess:"Payment Method"},{path:"payment-details",component:()=>{var e;const t=um(),n=Tf(Gg),[i,r]=a.useState([]),[s,l]=a.useState([]),[o,d]=a.useState(),[c,u]=a.useState(!1),[p,A]=a.useState({}),[h,f]=a.useState(""),[m,v]=a.useState(null),[g,y]=a.useState(null),[x,b]=a.useState(1),[w,j]=a.useState("Select"),[S,N]=a.useState(null),[F,B]=a.useState(""),[k,T]=a.useState(),E=iA("UserType"),[_,O]=a.useState(!1),[M]=I.useForm();a.useEffect((()=>{(async()=>{var e,n;try{const i=await t(Q9()).unwrap(),a=await t(H9()).unwrap(),s=null==(e=null==i?void 0:i.data)?void 0:e.data,o=null==(n=null==a?void 0:a.data)?void 0:n.data,c=s.flatMap((({Details:e,MethodName:t,MethodId:n})=>e.map((e=>({MethodName:t,Detail:e,MethodId:n})))));r(s),l(c),d(o)}catch(i){}})()}),[]);const H=[{name:"Home",link:"/home/landing-page/home"}];a.useEffect((()=>{try{t(Gh({items:H}))}catch(e){}}),[]);const V=a.useCallback((()=>{y(null),v(null)}),[]),z=async e=>{var n,i,a,r,s;let o={UniqueId:null==(n=null==e?void 0:e.Detail)?void 0:n.UniqueId,ActiveStatus:"A"==(null==(i=null==e?void 0:e.Detail)?void 0:i.ActiveStatus)?"D":"A"},d=await t(X9(o)).unwrap();if(1==(null==(a=null==d?void 0:d.data)?void 0:a.statusCode)){const e=await t(Q9()).unwrap(),n=(null==(r=null==e?void 0:e.data)?void 0:r.data).flatMap((({Details:e,MethodName:t,MethodId:n})=>e.map((e=>({MethodName:t,Detail:e,MethodId:n})))));l(n)}v("success"),y("A"==(null==(s=null==e?void 0:e.Detail)?void 0:s.ActiveStatus)?"Payment Details In-Activated Successfully":"Payment Details Activated Successfully")},q=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(x-1)+n+1})},{title:"Payment Mode",dataIndex:"MethodName",key:"MethodName",width:"100px",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),filteredValue:[F||h],onFilter:(e,t)=>String(t.MethodName).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.MethodName)?void 0:n.localeCompare(t.MethodName)},sortOrder:"MethodName"===p.columnKey?p.order:null,ellipsis:!0},{title:"Name",dataIndex:"Name",key:"Name",width:"100px",align:"left",render:(e,t)=>{var n;return Ye.jsx("a",{style:{color:"black"},children:null==(n=null==t?void 0:t.Detail)?void 0:n.cardName})},sorter:(e,t)=>{var n,i,a;return null==(a=null==(n=null==e?void 0:e.Detail)?void 0:n.cardName)?void 0:a.localeCompare(null==(i=t.Detail)?void 0:i.cardName)},sortOrder:"Name"===p.columnKey?p.order:null,ellipsis:!0},{title:"Action",key:"Action",dataIndex:"Action",width:"100px",align:"center",render:(e,t,i)=>{var a,r;return(null==s?void 0:s.length)>=1?Ye.jsxs(P,{size:"middle",children:["A"===(null==(a=null==t?void 0:t.Detail)?void 0:a.ActiveStatus)?Ye.jsx("a",{children:Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>{var e;return 0===(null==n?void 0:n.length)||"Y"===(null==(e=null==n?void 0:n.find((e=>"Payment Details"===(null==e?void 0:e.ConfigName))))?void 0:e.UpdateAccess)?(async e=>{var t,n;N(e.MethodId),T(null==(t=null==e?void 0:e.Detail)?void 0:t.UniqueId),M.setFieldsValue({MethodId:null==e?void 0:e.MethodId,CardName:null==(n=null==e?void 0:e.Detail)?void 0:n.cardName}),u(!0),O(!0)})(t):""}})}):"",Ye.jsx("a",{children:"A"===(null==(r=null==t?void 0:t.Detail)?void 0:r.ActiveStatus)?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>{var e;return 0===(null==n?void 0:n.length)||"Y"===(null==(e=null==n?void 0:n.find((e=>"Payment Details"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?z(t):" "}}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>{var e;return 0===(null==n?void 0:n.length)||"Y"===(null==(e=null==n?void 0:n.find((e=>"Payment Details"===(null==e?void 0:e.ConfigName))))?void 0:e.DeleteAccess)?z(t):""}})})]}):null}}];return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:m,messageData:g,onComplete:V}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Payment Details"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{f(e),f("CreditCard")},onSearchChange:e=>{var t;f(null==(t=null==e?void 0:e.target)?void 0:t.value)}})}),Ye.jsx(_y,{options:[{value:"Select",label:"All"},...null==i?void 0:i.map((e=>({value:e.MethodId,label:e.MethodName})))],placeholder:"Payment Method",label:"Payment Method",isOnchanges:!0,className:"field-DropDown",onChangeFunction:e=>{var t;let n=null==i?void 0:i.filter((t=>t.MethodId==e));B(null==(t=n[0])?void 0:t.MethodName),M.setFieldsValue({MethodId:e}),j(e)},valueData:w}),Ye.jsx(Ry,{buttonText:"Add New",handleSubmit:()=>{u(!0)},color:"901D77",icon:Ye.jsx(C,{}),disabled:"Super Admin"!==E&&"N"===(null==(e=null==n?void 0:n.find((e=>"Payment Details"===(null==e?void 0:e.ConfigName))))?void 0:e.AddAccess),children:"OPEN"})]})]}),Ye.jsxs("div",{className:"reportTable",children:[Ye.jsx(Vb,{columns:q,data:s,dataSource:s,pagination:e=>{b(e)},onChange:(e,t,n)=>{A(n)}})," "]}),Ye.jsx(SP,{open:c,title:"Payment Details",footer:!0,children:Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{children:Ye.jsx(I,{form:M,children:Ye.jsxs(R,{children:[Ye.jsx(Q,{className:"gutter-row",span:11,children:Ye.jsx(I.Item,{name:"MethodId",rules:[{required:!0,message:"Please Select Payment Method"}],children:Ye.jsx(_y,{options:null==o?void 0:o.map((e=>({value:e.MethodId,label:e.MethodName}))),placeholder:"Payment Method",label:Ye.jsx("label",{className:"required",children:"Payment Method"}),className:"field-DropDown",isOnchanges:!!S,onChangeFunction:e=>{M.setFieldsValue({MethodId:e}),N(e)},valueData:S})})}),Ye.jsx(Q,{className:"gutter-row",span:11,children:Ye.jsx(I.Item,{name:"CardName",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Card / Bank Name"},{validator:async(e,t)=>(await lA(t),t&&t.length>50?Promise.reject("Card / Bank Name should not exceed 50 characters"):Promise.resolve())}],children:Ye.jsx(Oy,{field:"CardName",label:Ye.jsx("label",{className:"required",children:"Card / Bank Name "}),className:"Input",fieldState:!0,fieldApi:[{setValue:"s",setTouched:!0}],autocomplete:"off",isOnChange:!!_})})})]})})})}),handleCancel:()=>{u(!1),M.resetFields(),N(null)},handleSubmit:async()=>{var e,n,i,a,r,o,d,c;const p=await M.validateFields();let A={};A.MethodId=p.MethodId,A.cardName=p.CardName;let h={};s.find((e=>(null==e?void 0:e.MethodId)===p.MethodId));if(h.UniqueId=k,h.cardName=p.CardName,_){let r=await t(z9(h)).unwrap();if(1==(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)){v("success"),y(null==(n=null==r?void 0:r.data)?void 0:n.response),u(!1),M.resetFields(),O(!1),N(null);const e=await t(Q9()).unwrap(),a=(null==(i=null==e?void 0:e.data)?void 0:i.data).flatMap((({Details:e,MethodName:t,MethodId:n})=>e.map((e=>({MethodName:t,Detail:e,MethodId:n})))));l(a)}else v("error"),y(null==(a=null==r?void 0:r.data)?void 0:a.response)}else{let e=await t(V9(A)).unwrap();if(1==(null==(r=null==e?void 0:e.data)?void 0:r.statusCode)){v("success"),y(null==(o=null==e?void 0:e.data)?void 0:o.response),M.resetFields(),u(!1),N(null);const n=await t(Q9()).unwrap(),i=(null==(d=null==n?void 0:n.data)?void 0:d.data).flatMap((({Details:e,MethodName:t,MethodId:n})=>e.map((e=>({MethodName:t,Detail:e,MethodId:n})))));l(i)}else v("error"),y(null==(c=null==e?void 0:e.data)?void 0:c.response)}}})]})})},empAccess:"Payment Details"},{path:"reffered-employee",component:()=>{var e,t;const n=um(),i=Mt(),r=a.useRef(null),s=iA("UserId");iA("UserType");const[l,o]=a.useState(""),[d,c]=a.useState(1),[u,p]=a.useState({}),[A,h]=a.useState(null),[f,m]=a.useState(null),[v,g]=a.useState(),[y,x]=a.useState(),[b,w]=a.useState(!1),[j,C]=a.useState(),[S,N]=a.useState(!1),[F,B]=a.useState(!1),[T,E]=a.useState(),[D,L]=a.useState(!1),[U,_]=a.useState(),[O,M]=a.useState([]),[R,Q]=a.useState(),H=(null==O?void 0:O.find((e=>(null==e?void 0:e.ConfigId)===R)))||{},V="Cash"!==(null==(e=null==H?void 0:H.ConfigName)?void 0:e.trim())&&"Free"!==(null==(t=null==H?void 0:H.ConfigName)?void 0:t.trim()),z=[{name:"Home",link:"/home/landing-page/home"}];a.useEffect((()=>{var e,t,a;n(Gh({items:z})),X();try{(null==(e=null==i?void 0:i.state)?void 0:e.Notiffy)&&(h(null==(t=null==i?void 0:i.state)?void 0:t.Notiffy.messageType),m(null==(a=null==i?void 0:i.state)?void 0:a.Notiffy.messageData))}catch(r){}}),[]);const q=a.useCallback((()=>{m(null),h(null)}),[]),W=e=>{c(e)},Y=(e,t,n)=>{p(n)},K=[{title:"Si.No",key:"sno",align:"center",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(d-1)+n+1})},{title:"Name",dataIndex:"UserName",key:"UserName",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),filteredValue:[l],onFilter:(e,t)=>String(t.UserName).toLowerCase().includes(e.toLowerCase())||String(t.MobileNo).toLowerCase().includes(e.toLowerCase()),sorter:(e,t)=>e.UserName.localeCompare(t.UserName),sortOrder:"UserName"===u.columnKey?u.order:null,ellipsis:!0},{title:"Mobile No",dataIndex:"MobileNo",key:"MobileNo",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Referred Count",dataIndex:"ReferralCount",key:"ReferralCount",align:"center",render:(e,t)=>Ye.jsx("div",{style:{color:"#1292EE",fontSize:"15px",textDecoration:"underline",cursor:"pointer"},onClick:()=>J(t),children:e})},{title:"Given Amount",dataIndex:"GivenAmount",key:"GivenAmount",align:"center",render:(e,t)=>Ye.jsx("div",{style:{color:"#1292EE",fontSize:"15px",textDecoration:"underline",cursor:"pointer"},onClick:()=>Z(t),children:e})},{title:"Balance Amount",dataIndex:"BalanceAmount",key:"BalanceAmount",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Action",key:"Action",dataIndex:"Action",align:"center",render:(e,t,n)=>(null==v?void 0:v.length)>0?Ye.jsx(P,{size:"middle",children:0===t.BalanceAmount?Ye.jsx("div",{style:{color:"#FF4D4F",fontSize:"14px",fontFamily:"Poppins"},children:"Paid"}):Ye.jsx("button",{className:"referal_pay_button",onClick:()=>{0!==t.BalanceAmount&&(async e=>{B(!0),E(e)})(t)},children:" Pay"})}):null}],G=[{title:"Si.No",key:"sno",align:"center",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(d-1)+n+1})},{title:"Name",dataIndex:"ClientUserName",key:"ClientUserName",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.ClientUserName)?void 0:n.localeCompare(null==t?void 0:t.ClientUserName)},sortOrder:"ClientUserName"===u.columnKey?u.order:null,ellipsis:!0},{title:"Mobile No",dataIndex:"ClientMobileNo",key:"ClientMobileNo",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Client Code",dataIndex:"ReferralCode",key:"ReferralCode",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e})},{title:"Referral Date",dataIndex:"ReferralDate",key:"ReferralDate",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:eA(e)})},{title:"Amount",dataIndex:"ReferredAmount",key:"ReferredAmount",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})}],$=[{title:"Si.No",key:"sno",align:"center",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(d-1)+n+1})},{title:"Amount",dataIndex:"Amount",key:"Amount",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e}),ellipsis:!0},{title:"Paid By",dataIndex:"PaidByName",key:"PaidByName",align:"left",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Pay Method",dataIndex:"PaymentMethodName",key:"PaymentMethodName",align:"left",render:e=>Ye.jsx("a",{style:{color:"black",width:"200px"},children:e}),sorter:(e,t)=>{var n;return null==(n=null==e?void 0:e.PaymentMethodName)?void 0:n.localeCompare(null==t?void 0:t.PaymentMethodName)},sortOrder:"PaymentMethodName"===u.columnKey?u.order:null,ellipsis:!0},{title:"Payment Date",dataIndex:"PaymentDate",key:"PaymentDate",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:eA(e)})},{title:"Transaction Id",dataIndex:"TransactionId",key:"TransactionId",align:"center",width:"180px",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Transaction Images",dataIndex:"ImageUrl",key:"ImageUrl",align:"center",width:"180px",render:e=>e?Ye.jsx("img",{src:e,alt:"Transaction",style:{width:"60px",height:"60px",objectFit:"cover",borderRadius:"6px"}}):Ye.jsx("span",{style:{color:"gray"},children:"No Image"})}],X=async()=>{let e=await n(zee()).unwrap();1==e.data.statusCode&&g(e.data.data);let t=await n(qee()).unwrap();1==t.data.statusCode&&M(t.data.data)},J=e=>{x(e.RefferalClientDetails),w(!0)},Z=e=>{C(e.RefferalPaymentDetails),N(!0)};return Ye.jsxs("div",{className:"userPageTable",children:[Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:A,messageData:f,onComplete:q}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Employee Referrer"})}),Ye.jsx("div",{className:"searchAddDiv",children:Ye.jsx("div",{className:"formSearch",children:Ye.jsx(zb,{placeholder:"Search",onSearch:e=>{o(e)},onSearchChange:e=>{const{value:t}=e.target;o(t)}})})})]}),Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:K,data:v,dataSource:v,pagination:W,onChange:Y})})]}),Ye.jsx(SP,{title:"CLIENT DETAILS",width:1e3,open:b,children:Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"purchase-info-model",children:Ye.jsx("div",{className:"formDivS",children:Ye.jsx("div",{className:"combomaster-table",children:Ye.jsx(Vb,{columns:G,data:y,pagination:W,onChange:Y})})})})}),handleCancel:()=>w(!1)}),Ye.jsx(SP,{title:"PAYMENT DETAILS",width:1e3,open:S,children:Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"purchase-info-model",children:Ye.jsx("div",{className:"formDivS",children:Ye.jsx("div",{className:"combomaster-table",children:Ye.jsx(Vb,{columns:$,data:j,pagination:W,onChange:Y})})})})}),handleCancel:()=>N(!1)}),Ye.jsx(SP,{title:"PAYMENT",width:1e3,open:F,children:Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"purchase-info-model",children:Ye.jsx(I,{ref:r,className:"formDivAnt",onFinish:async e=>{var t;let i={UserId:null==T?void 0:T.UserId,Amount:e.Amount,PaymentDate:(new Date).toISOString(),PaidBy:s,PaymentMethod:R,PaymentStatus:"S",TransactionId:e.TransactionId?e.TransactionId:0,CreatedBy:s,ImageUrl:U},a=await n(Wee(i)).unwrap();1==a.data.statusCode?(Q(),h("success"),m(a.data.response),B(!1),X(),null==(t=r.current)||t.resetFields(),r.current.setFieldsValue({PaymentType:""})):(h("error"),m(a.data.response))},children:Ye.jsxs("div",{className:"formDivS",children:[Ye.jsx(Qy,{messageType:A,messageData:f,onComplete:q}),Ye.jsxs("p",{children:["BALANCE AMT : ",null==T?void 0:T.BalanceAmount]}),Ye.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"1rem",flexWrap:"wrap"},children:[Ye.jsx(I.Item,{name:"PaymentType",rules:[{required:!0,message:"Please Choose PaymentType"}],children:Ye.jsx(_y,{options:null==O?void 0:O.map((e=>({value:e.ConfigId,label:e.ConfigName}))),placeholder:"Payment Type",label:Ye.jsx("label",{className:"required",children:"Payment Type"}),className:"field-DropDown",isOnchanges:!!R,onChangeFunction:e=>{var t;Q(e),null==(t=r.current)||t.setFieldsValue({PaymentType:e})},valueData:R})}),Ye.jsx(I.Item,{name:"Amount",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Amount"},{validator:async(e,t)=>{await lA(t);const n=parseFloat(t);return isNaN(n)?Promise.reject("Amount must be a number"):n<=0?Promise.reject("Amount must be greater than 0"):n>(null==T?void 0:T.BalanceAmount)?Promise.reject(`Amount cannot exceed the balance of ${null==T?void 0:T.BalanceAmount}`):Promise.resolve()}}],children:Ye.jsx(Oy,{field:"Amount",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Amount"}),fieldState:!0,fieldApi:!0,isOnChange:!!D,onChange:e=>{}})}),Ye.jsxs(Ye.Fragment,{children:[V&&Ye.jsx(I.Item,{name:"TransactionId",rules:[{pattern:/^([A-Z]{3,5}\d{6,12}|\d{12})$/,message:"Enter a valid UPI Transaction ID"},{validator:async(e,t)=>{await lA(t)}}],children:Ye.jsx(Oy,{field:"TransactionId",autoComplete:"off",label:Ye.jsx("label",{className:"",children:"Transaction Id"}),fieldState:!0,fieldApi:!0,isOnChange:!!D})}),Ye.jsxs("div",{className:"upload_btn",children:[Ye.jsx("p",{children:"Upload"}),Ye.jsx(Yy,{singleImage:!0,updateImageUrl:e=>{_(e)},ImageLink:U||""})]})]})]}),Ye.jsx("div",{style:{marginLeft:"45rem"},children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0})})]})})})}),handleCancel:()=>{B(!1)}})]})},empAccess:"Employee Referrer"},{path:"activationkey-generation",component:()=>{Qt();const e=um(),t=a.useRef(null),n=a.useRef(null),[i,r]=a.useState(iA("UserId")?iA("UserId"):null),[s,l]=a.useState(null),[o,d]=a.useState(null),[c,u]=a.useState([]),[p,A]=a.useState(null),[h,f]=a.useState([]),[m,v]=a.useState(null),[g,y]=a.useState([]),[x,b]=a.useState(null),[w,j]=a.useState([]),[C,S]=a.useState(null),[N,F]=a.useState(!1),[B,T]=a.useState("Y"),[D,_]=a.useState(),[O,M]=a.useState(),[R,Q]=a.useState(),[H,V]=a.useState(),[z,q]=a.useState(!1),[W,Y]=a.useState(!1),[K,G]=a.useState(1),[$,X]=a.useState(1),[J,Z]=a.useState({}),[ee,te]=a.useState({}),ne=a.useCallback((()=>{d(null),l(null)}),[]);a.useEffect((()=>{ie()}),[]),a.useEffect((()=>{var e;(null==O?void 0:O.DeviceNo)&&(null==(e=null==n?void 0:n.current)||e.setFieldsValue({DevId:O.DeviceNo}))}),[O]);const ie=async()=>{var t,n,i;let a=await e(Fb()).unwrap();1===(null==(t=null==a?void 0:a.data)?void 0:t.statusCode)?u(null==(n=null==a?void 0:a.data)?void 0:n.data):u();let r=await e(ete()).unwrap();1==(null==r?void 0:r.data.statusCode)?_(null==(i=null==r?void 0:r.data)?void 0:i.data):(l("error"),d(null==r?void 0:r.data.response))},ae=(e,t,n)=>{Z(t),te(n)},re=[{title:"SI.NO",align:"center",key:"sno",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:n+1})},{title:"User Name",dataIndex:"UserName",key:"UserName",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Activation Key",dataIndex:"ActivationKey",key:"ActivationKey",align:"center",render:e=>Ye.jsx("a",{style:{color:"black"},children:e})},{title:"Key Generation",dataIndex:"Action",key:"Action",align:"center",render:(e,t,n)=>(null==D?void 0:D.length)>=1?Ye.jsx(P,{size:"middle",children:"Y"==t.UsedStatus?Ye.jsx("button",{onClick:()=>le(t),style:{padding:"2.5px 3px",backgroundColor:"#1677ff",borderRadius:"3px",border:"#1677ff 1px solid",color:"#fff",cursor:"pointer",fontFamily:"poppins",height:"1.6rem"},children:"Re Key"}):Ye.jsx("div",{style:{padding:"2.5px 3px",backgroundColor:"#1677ff",borderRadius:"3px",border:"#1677ff 1px solid",color:"#fff",cursor:"pointer",fontFamily:"poppins",height:"1.6rem"},children:"Not Used"})}):null},{title:"User Generated Details",dataIndex:"UserKeyDetails",key:"UserKeyDetails",align:"center",render:(e,t,n)=>(null==D?void 0:D.length)>=1?Ye.jsx("a",{style:{fontSize:"25px"},onClick:()=>{ce(t)},children:Ye.jsx(ty,{})}):null},{title:"Action",dataIndex:"Action",key:"Action",render:(e,t,n)=>(null==D?void 0:D.length)>=1?Ye.jsx(P,{size:"middle",children:Ye.jsx("a",{children:(null==t?void 0:t.UniqueId)&&"A"==(null==t?void 0:t.ActiveStatus)?Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>de(t)}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>de(t)})})}):null}],se=[{title:"Si.No",key:"sno",align:"center",width:"100px",render:(e,t,n)=>Ye.jsx("a",{style:{color:"black"},children:10*(K-1)+n+1})},{title:"App Name",dataIndex:"AppName",key:"AppName",align:"left",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:e}),ellipsis:!0},{title:"Company Name",dataIndex:"CompanyName",key:"CompanyName",width:"200px",align:"left"},{title:"Branch Name",dataIndex:"BranchName",key:"BranchName"},{title:"User Name",dataIndex:"UserName",key:"UserName"},{title:"Activation Key",dataIndex:"ActivationKey",key:"ActivationKey",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:e}),ellipsis:!0},{title:"Device No",dataIndex:"DeviceNo",key:"DeviceNo",render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:e}),ellipsis:!0},{title:"Reason",dataIndex:"Reason",key:"Reason",align:"center",ellipsis:!0,render:(e,t)=>Ye.jsx("a",{style:{color:"black"},children:e})}],le=async(t,i)=>{var a,r;null==(a=null==n?void 0:n.current)||a.setFieldsValue({DevId:null==t?void 0:t.DeviceNo}),M(t),T("Y"),F(!0);let s=await e(tte({TypeName:"Device Status"})).unwrap();1==s.data.statusCode?Q(null==(r=null==s?void 0:s.data)?void 0:r.data):(l("error"),d(null==s?void 0:s.data.response))},oe=()=>{var e;null==(e=null==n?void 0:n.current)||e.resetFields(),F(!1),T("Y"),q(!1)},de=async(t,n)=>{var a,r,s;let o={UniqueId:null==t?void 0:t.UniqueId,ActiveStatus:"A"==(null==t?void 0:t.ActiveStatus)?"D":"A",Reason:(null==t?void 0:t.Reason)?null==t?void 0:t.Reason:"",updatedBy:i},c=await e(ite(o)).unwrap();1==(null==(a=null==c?void 0:c.data)?void 0:a.statusCode)?(l("success"),d(null==(r=null==c?void 0:c.data)?void 0:r.response),ie()):(l("error"),d(null==(s=null==c?void 0:c.data)?void 0:s.response))},ce=e=>{q(!0),Y(null==e?void 0:e.UserKeyDetails)},ue=async()=>{let t=n.current.getFieldValue(),a={UniqueId:null==O?void 0:O.UniqueId,AppId:null==O?void 0:O.AppId,CompId:null==O?void 0:O.CompId,BranchId:null==O?void 0:O.BranchId,UserId:null==O?void 0:O.UserId,ActivationKey:null==O?void 0:O.ActivationKey,DeviceNo:null==O?void 0:O.DeviceNo,DeviceStatus:null==t?void 0:t.DevStatus,SyncStatus:B,SalesCount:parseInt(null==t?void 0:t.SalesCount),Reason:null==t?void 0:t.Description,UpdatedBy:i},r=await e(nte(a)).unwrap();1==r.data.statusCode?(F(!1),l("success"),d(r.data.response),ie()):(l("error"),d(r.data.response))};return Ye.jsxs("div",{className:"pageOverAll",children:[Ye.jsx("div",{className:"userPage",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:s,messageData:o,onComplete:ne}),Ye.jsx("div",{className:"formName",children:Ye.jsx(ab,{title:"Activation key Generation"})}),Ye.jsxs("div",{className:"formDiv",children:[Ye.jsx(I,{ref:t,className:"formDivAnt",onFinish:ue,children:Ye.jsx("div",{className:"formDivS",children:Ye.jsxs("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"1rem",alignItems:"center"},children:[Ye.jsx(I.Item,{name:"AppId",rules:[{required:!0,message:"Please Select Application Name "}],children:Ye.jsx(_y,{options:null==c?void 0:c.map((e=>({value:e.AppId,label:e.AppName}))),placeholder:"AppId",label:Ye.jsx("label",{className:"required",children:"Application Name"}),className:"field-DropDown",isOnchanges:!!p,onChangeFunction:async n=>{var i,a,r,s;A(n),null==(i=t.current)||i.setFieldsValue({AppId:n});let o=await e($ee({AppId:n})).unwrap();1==(null==(a=null==o?void 0:o.data)?void 0:a.statusCode)?f(null==(r=null==o?void 0:o.data)?void 0:r.data):(l("error"),d(null==(s=null==o?void 0:o.data)?void 0:s.response))},valueData:p})}),Ye.jsx(I.Item,{name:"CompId",rules:[{required:!0,message:"Please Select Company Name "}],children:Ye.jsx(_y,{options:null==h?void 0:h.map((e=>({value:e.CompId,label:e.CompName}))),placeholder:"AppId",label:Ye.jsx("label",{className:"required",children:"Company Name"}),className:"field-DropDown",isOnchanges:!!m,onChangeFunction:async n=>{var i,a,r,s,o,c,u,A,h,f,m,g,x,w,C,N,I,F,B,P,k,T,E,L,U,_,O;v(n),null==(i=t.current)||i.setFieldsValue({CompId:n}),b(),null==(a=t.current)||a.setFieldsValue({BranchId:null}),S(),null==(r=t.current)||r.setFieldsValue({UserId:null});let M=await e(Xee({AppId:p,CompId:n})).unwrap();if(1==(null==(s=null==M?void 0:M.data)?void 0:s.statusCode))if(y(null==(o=null==M?void 0:M.data)?void 0:o.data),1===(null==(u=null==(c=null==M?void 0:M.data)?void 0:c.data)?void 0:u.length)){b(null==(h=null==(A=null==M?void 0:M.data)?void 0:A.data)?void 0:h[0].BrId),null==(g=t.current)||g.setFieldsValue({BrId:null==(m=null==(f=null==M?void 0:M.data)?void 0:f.data)?void 0:m[0].BrId});let n=await e(Jee({Type:"AE",BranchId:null==(w=null==(x=null==M?void 0:M.data)?void 0:x.data)?void 0:w[0].BrId})).unwrap();if(1==(null==(C=null==n?void 0:n.data)?void 0:C.statusCode))if(1==(null==(I=null==(N=null==n?void 0:n.data)?void 0:N.data)?void 0:I.length)){let e=(null==(F=null==n?void 0:n.data)?void 0:F.data).filter((e=>!(null==D?void 0:D.some((t=>t.UserId===e.UserId)))));j(e),S(null==(B=null==e?void 0:e[0])?void 0:B.UserId),null==(k=null==t?void 0:t.current)||k.setFieldsValue({UserId:null==(P=null==e?void 0:e[0])?void 0:P.UserId})}else{let e=null==(T=null==n?void 0:n.data)?void 0:T.data,t=null==e?void 0:e.filter((e=>!(null==D?void 0:D.some((t=>t.UserId===e.UserId)))));j(t)}else l("error"),d(null==(E=null==n?void 0:n.data)?void 0:E.response)}else b(),null==(L=t.current)||L.setFieldsValue({BrId:null}),S(),null==(U=t.current)||U.setFieldsValue({UserId:null}),y(null==(_=null==M?void 0:M.data)?void 0:_.data);else l("error"),d(null==(O=null==M?void 0:M.data)?void 0:O.response)},valueData:m})}),Ye.jsx(I.Item,{name:"BrId",rules:[{required:!0,message:"Please Select Branch Name "}],children:Ye.jsx(_y,{options:null==g?void 0:g.map((e=>({value:e.BrId,label:e.BrName}))),placeholder:"BrId",label:Ye.jsx("label",{className:"required",children:"Branch Name"}),className:"field-DropDown",isOnchanges:null!=x,onChangeFunction:async n=>{var i,a,r,s,o,c,u,p;b(n),null==(i=t.current)||i.setFieldsValue({BranchId:n});let A=await e(Jee({Type:"AE",BranchId:n})).unwrap();if(1==(null==(a=null==A?void 0:A.data)?void 0:a.statusCode))if(1==(null==(s=null==(r=null==A?void 0:A.data)?void 0:r.data)?void 0:s.length)){let e=(null==(o=null==A?void 0:A.data)?void 0:o.data).filter((e=>!(null==D?void 0:D.some((t=>t.UserId===e.UserId)))));j(e),S(null==e?void 0:e[0].UserId),null==(c=t.current)||c.setFieldsValue({UserId:null==e?void 0:e[0].UserId})}else{let e=(null==(u=null==A?void 0:A.data)?void 0:u.data).filter((e=>!(null==D?void 0:D.some((t=>t.UserId===e.UserId)))));j(e),S()}else l("error"),d(null==(p=null==A?void 0:A.data)?void 0:p.response)},valueData:x})}),Ye.jsx(I.Item,{name:"UserId",rules:[{required:!0,message:"Please Select User Name "}],children:Ye.jsx(_y,{options:null==w?void 0:w.map((e=>({value:e.UserId,label:e.UserName}))),placeholder:"UserId",label:Ye.jsx("label",{className:"required",children:"User Name"}),className:"field-DropDown",isOnchanges:null!=C,onChangeFunction:async e=>{var n;S(e),null==(n=t.current)||n.setFieldsValue({UserId:e})},valueData:C})}),Ye.jsx(me,{onClick:()=>(async()=>{var n;if(p&&m&&x&&C){let a={AppId:p,CompId:m,BranchId:x,UserId:C,CreatedBy:i},r=await e(Zee(a)).unwrap();1==(null==r?void 0:r.data.statusCode)?(A(),v(),b(),S(),f(),y(),j(),null==(n=t.current)||n.resetFields(),await e(ete()),l("success"),d(r.data.response),ie()):(l("error"),d(null==r?void 0:r.data.response))}else l("error"),d("Choose All The Req Fields")})(),style:{fontSize:"20px",marginBottom:"40px"}})]})})}),Ye.jsxs("div",{className:"reportTable",style:{maxHeight:"57vh"},children:[Ye.jsx(Vb,{columns:re,data:D,dataSource:D,pagination:e=>{X(e)},onChange:ae})," "]})]})]})}),Ye.jsx(SP,{title:"Key Generation",width:1e3,open:N,children:Ye.jsx(Ye.Fragment,{children:Ye.jsx("div",{className:"purchase-info-model",children:Ye.jsx("div",{className:"formDivS",children:Ye.jsxs(I,{ref:n,className:"formDivAnt",onFinish:ue,children:[Ye.jsxs("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"1rem"},children:[Ye.jsx(I.Item,{name:"DevId",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please Enter Device Id"}],children:Ye.jsx(Oy,{field:"DevId",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Device Id"}),fieldState:!0,disabled:null==O?void 0:O.DeviceNo,isOnChange:!!(null==O?void 0:O.DeviceNo)})}),Ye.jsx(I.Item,{name:"DevStatus",rules:[{required:!0,message:"Please Select Device Status"}],children:Ye.jsx(_y,{options:null==R?void 0:R.map((e=>({value:e.ConfigId,label:e.ConfigName}))),placeholder:"AppId",label:Ye.jsx("label",{className:"required",children:"Device Status"}),className:"field-DropDown",isOnchanges:!!H,onChangeFunction:e=>{V(e),null==n||n.current.setFieldsValue({DevStatus:e})},valueData:H})}),Ye.jsxs("div",{style:{display:"flex",gap:"1rem"},children:[Ye.jsx("h3",{style:{marginTop:"0.5rem"},children:" Sync Status: "}),Ye.jsx(fk,{content:[{value:"Y",label:"Yes"},{value:"N",label:"No"}],defaultSelect:"Y",value:B,onSelectFuntion:e=>(e=>{T(e)})(e)})]}),"N"==B&&Ye.jsx(Ye.Fragment,{children:Ye.jsx(I.Item,{name:"SalesCount",rules:[{required:!0,pattern:/^(?!\s*$).+/,message:"Please enter Sales Count"}],children:Ye.jsxs(Ye.Fragment,{children:[Ye.jsx(Oy,{field:"SalesCount",autoComplete:"off",label:Ye.jsx("label",{className:"required",children:"Sales Count"}),fieldState:!0,fieldApi:!0}),Ye.jsx("div",{style:{fontSize:"0.75rem",color:"#888",marginTop:"4px"},children:"Please enter an approximate sales count since the last sync."})]})})}),Ye.jsx(I.Item,{name:"Description",rules:[{pattern:/^(?!\s*$).+/,message:"Please Enter Description"}],children:Ye.jsx(My,{field:"Description",autoComplete:"off",label:"Description",fieldState:!0,fieldApi:!0})})]}),Ye.jsx("div",{style:{width:"100%",display:"flex",justifyContent:"flex-end"},children:Ye.jsx(Ry,{buttonText:"SUBMIT",color:"901D77",icon:Ye.jsx(k,{}),htmlType:!0})})]})})})}),handleCancel:()=>oe()}),Ye.jsx(SP,{title:"",width:1500,open:z,footer:!1,buttonText:"Submit",children:Ye.jsx("div",{style:{display:"flex",width:"100%",height:"100%",flexDirection:"column",gap:"0.5rem"},children:Ye.jsx("div",{style:{display:"flex",width:"100%",gap:"2rem",flexDirection:"column"},children:Ye.jsx("div",{className:"reportTable-abstruct",children:Ye.jsx(E,{columns:se,data:W,dataSource:W,pagination:e=>{G(e)},onChange:ae})})})}),handleCancel:()=>{oe()}})]})},empAccess:"Activationkey Generation"},{path:"gateway-master-configuration/new",component:e=>Ye.jsx(jfe,{...e,formType:"add"}),empAccess:"Gateway Master Configuration"},{path:"gateway-master-configuration/update",component:e=>Ye.jsx(jfe,{...e,formType:"edit"}),empAccess:"Gateway Master Configuration"},{path:"gateway-master-configuration/list",component:()=>{const e=um(),t=Qt(),[n,i]=a.useState(""),[r,s]=a.useState(""),[l,o]=a.useState(""),[d,c]=a.useState(1),[u,p]=a.useState("S"),[A,h]=a.useState([]);a.useEffect((()=>{e(Gh({items:f}))}),[]);const f=[{name:"Home",link:`${Sfe}landing-page/home`},{name:"Gateway Master Configuration",link:`${Sfe}setting/gateway-master-configuration/new`},{name:"Gateway Master Configuration List",link:`${Sfe}setting/gateway-master-configuration/list`}];a.useEffect((()=>{(async()=>{var t,n;try{const i=await(null==(t=e(kA({ServiceType:u})))?void 0:t.unwrap());(null==(n=null==i?void 0:i.data)?void 0:n.data)&&i.data.data.length>0&&1===i.data.statusCode?h(i.data.data):h([])}catch(i){}})()}),[u]);const m=[{title:"SI.NO",key:"sno",align:"center",width:"80px",render:(e,t,n)=>Ye.jsx("span",{children:10*(d-1)+n+1})},{title:"Provider",dataIndex:"ProviderName",key:"ProviderName",align:"center"},{title:"API Key",dataIndex:"APIKey",key:"APIKey",align:"center"},{title:"API Secret",dataIndex:"APISecret",key:"APISecret",align:"center"},..."E"!==u?[{title:"Sender Number",dataIndex:"SenderNumber",key:"SenderNumber",align:"center"},{title:"API URL",dataIndex:"APIUrl",key:"APIUrl",align:"center"}]:[],{title:"Action",key:"Action",align:"center",render:(e,n,a)=>A.length>=1?Ye.jsx(P,{size:"middle",children:"A"===n.ActiveStatus?Ye.jsxs("div",{className:"actionDiv",children:[Ye.jsx(D,{style:{color:"#1292EE"},onClick:()=>((e,n)=>{i("info"),s(`Editing config for ${e.AppName}`),"D"!==e.ActiveStatus&&t(`${Sfe}setting/gateway-master-configuration/update`,{state:{editstate:e}},{key:n})})(n,a)}),Ye.jsx(L,{style:{color:"#FF4D4F"},onClick:()=>(e=>{i("success"),s(`Deleted config for ${e.AppName}`)})(n)})]}):Ye.jsx(U,{style:{color:"#52C41A"},onClick:()=>(e=>{i("success"),s(`Reloaded config for ${e.AppName}`)})(n)})}):null}],v=A.filter((e=>{var t,n,i,a,r;if(!l)return!0;const s=l.toLowerCase();return(null==(t=e.ProviderName)?void 0:t.toLowerCase().includes(s))||(null==(n=e.APIKey)?void 0:n.toLowerCase().includes(s))||(null==(i=e.APISecret)?void 0:i.toLowerCase().includes(s))||"E"!==u&&((null==(a=e.SenderNumber)?void 0:a.toLowerCase().includes(s))||(null==(r=e.APIUrl)?void 0:r.toLowerCase().includes(s)))})),g=a.useCallback((()=>{s(null),i(null)}),[]);return Ye.jsx("div",{className:"userPageTable",children:Ye.jsxs("div",{className:"userPageContent",children:[Ye.jsx(Qy,{messageType:n,messageData:r,onComplete:g}),Ye.jsxs("div",{className:"formAddNew",children:[Ye.jsx("div",{children:Ye.jsx(ab,{title:"Gateway Master Configuration"})}),Ye.jsxs("div",{className:"searchAddDiv",children:[Ye.jsx("div",{className:"formSearch",children:Ye.jsx(Cfe,{placeholder:"Search by Provider / API Key / API Secret",allowClear:!0,enterButton:"Search",size:"middle",value:l,onSearch:e=>{o(e),c(1)},onChange:e=>{var t;o(null==(t=null==e?void 0:e.target)?void 0:t.value),c(1)}})}),Ye.jsx(Ry,{buttonText:"Add New",handleSubmit:()=>{t(`${Sfe}setting/gateway-master-configuration/new`)},color:"901D77",icon:Ye.jsx(C,{})})]}),Ye.jsxs("div",{className:"gateway-tabs-list",children:[Ye.jsx("div",{onClick:()=>p("S"),className:"gateway-tab-item "+("S"===u?"active":""),children:"SMS Gateway"}),Ye.jsx("div",{onClick:()=>p("W"),className:"gateway-tab-item "+("W"===u?"active":""),children:"WhatsApp Gateway"}),Ye.jsx("div",{onClick:()=>p("E"),className:"gateway-tab-item "+("E"===u?"active":""),children:"Email Gateway"})]}),Ye.jsx("div",{className:"reportTable",children:Ye.jsx(Vb,{columns:m,data:v,dataSource:v,pagination:{current:d,pageSize:10,onChange:e=>{c(e)}}})})]})]})})},empAccess:"Gateway Master Configuration"}]}],Rfe={isOpen:!1,orientation:void 0},Qfe=(e,t)=>{globalThis.dispatchEvent(new globalThis.CustomEvent("devtoolschange",{detail:{isOpen:e,orientation:t}}))},Hfe=({emitEvents:e=!0}={})=>{const t=globalThis.outerWidth-globalThis.innerWidth>170,n=globalThis.outerHeight-globalThis.innerHeight>170,i=t?"vertical":"horizontal";n&&t||!(globalThis.Firebug&&globalThis.Firebug.chrome&&globalThis.Firebug.chrome.isInitialized||t||n)?(Rfe.isOpen&&e&&Qfe(!1,void 0),Rfe.isOpen=!1,Rfe.orientation=void 0):(Rfe.isOpen&&Rfe.orientation===i||!e||Qfe(!0,i),Rfe.isOpen=!0,Rfe.orientation=i)};Hfe({emitEvents:!1}),setInterval(Hfe,500);const Vfe="https://www.pozo.dev",zfe=()=>{const[e]=gn();(e=>{const t=Mt(),n=iA("UserId"),i=iA("AppId");a.useEffect((()=>{const a=JSON.parse(localStorage.getItem("visitLogFormat")||"null"),r={VisitTime:(new Date).toISOString(),Location:null==t?void 0:t.pathname};let s;if(a){const t=Array.isArray(a.LocationVistDtl)?a.LocationVistDtl:[];s={...a,PricingId:(null==e?void 0:e.PricingId)||a.PricingId||null,LocationVistDtl:[...t,r]}}else s={UserId:n,AppId:i,PricingId:(null==e?void 0:e.PricingId)||null,LocationVistDtl:[r]};localStorage.setItem("visitLogFormat",JSON.stringify(s))}),[t,e])})();const t=Qt(),n=um();a.useState(!1),a.useEffect((()=>{}),[e]),a.useEffect((()=>{const e=e=>{if(window.location.pathname.includes("PostEditorPage"))return;iA("SessionId")?window.history.go(1):(rA(),window.location.replace(`${Vfe}`))};return window.addEventListener("popstate",e),()=>{window.removeEventListener("popstate",e)}}),[]),a.useEffect((()=>{if(new URLSearchParams(window.location.search).has("SD")){const e=new URL(window.location);e.search="",window.history.replaceState({},document.title,e.toString())}else i()}),[t]);const i=async()=>{var e,t;const i=iA("UserId"),a=iA("SessionId");if(i&&a&&sessionStorage.getItem("auth")){const r=await n(mm({UserId:i,SessionId:a})).unwrap();1===(null==(e=null==r?void 0:r.data)?void 0:e.statusCode)&&"False"===(null==(t=null==r?void 0:r.data)?void 0:t.response)&&(rA(),window.location.replace(`${Vfe}`))}};return Ye.jsx(Jte,{routesConfig:Mfe})};Ke.createRoot(document.getElementById("root")).render(Ye.jsx(lm,{store:Gte,children:Ye.jsx(cn,{children:Ye.jsx(iU,{children:Ye.jsx(zfe,{})})})}));export{vE as F,mhe as G,IO as H,JE as I,An as L,eg as R,_Ae as S,_U as V,Mt as a,Tf as b,D_ as c,fhe as d,um as e,jm as f,kce as g,nA as h,mE as i,Ye as j,fE as k,vm as l,gm as m,xm as n,M_ as o,W_ as s,Qt as u,ym as v}; diff --git a/dist1 (2)/assets/index.es-7ba97c1a.js b/dist1 (2)/assets/index.es-7ba97c1a.js new file mode 100644 index 0000000..0139e14 --- /dev/null +++ b/dist1 (2)/assets/index.es-7ba97c1a.js @@ -0,0 +1,16 @@ +import{e as t,g as e}from"./vendor-c65bce76.js";import{ad as r,ae as i}from"./ui-2d515953.js";var n=function(t){return t&&t.Math===Math&&t},a=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")(),s={},o=function(t){try{return!!t()}catch(e){return!0}},h=!o((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),u=!o((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),l=u,c=Function.prototype.call,f=l?c.bind(c):function(){return c.apply(c,arguments)},g={},p={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,y=d&&!p.call({1:2},1);g.f=y?function(t){var e=d(this,t);return!!e&&e.enumerable}:p;var v,m,x=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},b=u,w=Function.prototype,S=w.call,T=b&&w.bind.bind(S,S),O=b?T:function(t){return function(){return S.apply(t,arguments)}},A=O,C=A({}.toString),P=A("".slice),E=function(t){return P(C(t),8,-1)},N=o,M=E,R=Object,_=O("".split),V=N((function(){return!R("z").propertyIsEnumerable(0)}))?function(t){return"String"===M(t)?_(t,""):R(t)}:R,I=function(t){return null==t},k=I,L=TypeError,D=function(t){if(k(t))throw new L("Can't call method on "+t);return t},j=V,B=D,z=function(t){return j(B(t))},U="object"==typeof document&&document.all,F=void 0===U&&void 0!==U?function(t){return"function"==typeof t||t===U}:function(t){return"function"==typeof t},H=F,X=function(t){return"object"==typeof t?null!==t:H(t)},Y=a,W=F,q=function(t,e){return arguments.length<2?(r=Y[t],W(r)?r:void 0):Y[t]&&Y[t][e];var r},$=O({}.isPrototypeOf),G=a.navigator,Q=G&&G.userAgent,Z=Q?String(Q):"",K=a,J=Z,tt=K.process,et=K.Deno,rt=tt&&tt.versions||et&&et.version,it=rt&&rt.v8;it&&(m=(v=it.split("."))[0]>0&&v[0]<4?1:+(v[0]+v[1])),!m&&J&&(!(v=J.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=J.match(/Chrome\/(\d+)/))&&(m=+v[1]);var nt=m,at=nt,st=o,ot=a.String,ht=!!Object.getOwnPropertySymbols&&!st((function(){var t=Symbol("symbol detection");return!ot(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&at&&at<41})),ut=ht&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,lt=q,ct=F,ft=$,gt=Object,pt=ut?function(t){return"symbol"==typeof t}:function(t){var e=lt("Symbol");return ct(e)&&ft(e.prototype,gt(t))},dt=String,yt=function(t){try{return dt(t)}catch(e){return"Object"}},vt=F,mt=yt,xt=TypeError,bt=function(t){if(vt(t))return t;throw new xt(mt(t)+" is not a function")},wt=bt,St=I,Tt=function(t,e){var r=t[e];return St(r)?void 0:wt(r)},Ot=f,At=F,Ct=X,Pt=TypeError,Et={exports:{}},Nt=a,Mt=Object.defineProperty,Rt=function(t,e){try{Mt(Nt,t,{value:e,configurable:!0,writable:!0})}catch(r){Nt[t]=e}return e},_t=a,Vt=Rt,It="__core-js_shared__",kt=Et.exports=_t[It]||Vt(It,{});(kt.versions||(kt.versions=[])).push({version:"3.42.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Lt=Et.exports,Dt=Lt,jt=function(t,e){return Dt[t]||(Dt[t]=e||{})},Bt=D,zt=Object,Ut=function(t){return zt(Bt(t))},Ft=Ut,Ht=O({}.hasOwnProperty),Xt=Object.hasOwn||function(t,e){return Ht(Ft(t),e)},Yt=O,Wt=0,qt=Math.random(),$t=Yt(1..toString),Gt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+$t(++Wt+qt,36)},Qt=jt,Zt=Xt,Kt=Gt,Jt=ht,te=ut,ee=a.Symbol,re=Qt("wks"),ie=te?ee.for||ee:ee&&ee.withoutSetter||Kt,ne=function(t){return Zt(re,t)||(re[t]=Jt&&Zt(ee,t)?ee[t]:ie("Symbol."+t)),re[t]},ae=f,se=X,oe=pt,he=Tt,ue=function(t,e){var r,i;if("string"===e&&At(r=t.toString)&&!Ct(i=Ot(r,t)))return i;if(At(r=t.valueOf)&&!Ct(i=Ot(r,t)))return i;if("string"!==e&&At(r=t.toString)&&!Ct(i=Ot(r,t)))return i;throw new Pt("Can't convert object to primitive value")},le=TypeError,ce=ne("toPrimitive"),fe=function(t,e){if(!se(t)||oe(t))return t;var r,i=he(t,ce);if(i){if(void 0===e&&(e="default"),r=ae(i,t,e),!se(r)||oe(r))return r;throw new le("Can't convert object to primitive value")}return void 0===e&&(e="number"),ue(t,e)},ge=pt,pe=function(t){var e=fe(t,"string");return ge(e)?e:e+""},de=X,ye=a.document,ve=de(ye)&&de(ye.createElement),me=function(t){return ve?ye.createElement(t):{}},xe=me,be=!h&&!o((function(){return 7!==Object.defineProperty(xe("div"),"a",{get:function(){return 7}}).a})),we=h,Se=f,Te=g,Oe=x,Ae=z,Ce=pe,Pe=Xt,Ee=be,Ne=Object.getOwnPropertyDescriptor;s.f=we?Ne:function(t,e){if(t=Ae(t),e=Ce(e),Ee)try{return Ne(t,e)}catch(r){}if(Pe(t,e))return Oe(!Se(Te.f,t,e),t[e])};var Me={},Re=h&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),_e=X,Ve=String,Ie=TypeError,ke=function(t){if(_e(t))return t;throw new Ie(Ve(t)+" is not an object")},Le=h,De=be,je=Re,Be=ke,ze=pe,Ue=TypeError,Fe=Object.defineProperty,He=Object.getOwnPropertyDescriptor,Xe="enumerable",Ye="configurable",We="writable";Me.f=Le?je?function(t,e,r){if(Be(t),e=ze(e),Be(r),"function"==typeof t&&"prototype"===e&&"value"in r&&We in r&&!r[We]){var i=He(t,e);i&&i[We]&&(t[e]=r.value,r={configurable:Ye in r?r[Ye]:i[Ye],enumerable:Xe in r?r[Xe]:i[Xe],writable:!1})}return Fe(t,e,r)}:Fe:function(t,e,r){if(Be(t),e=ze(e),Be(r),De)try{return Fe(t,e,r)}catch(i){}if("get"in r||"set"in r)throw new Ue("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var qe=Me,$e=x,Ge=h?function(t,e,r){return qe.f(t,e,$e(1,r))}:function(t,e,r){return t[e]=r,t},Qe={exports:{}},Ze=h,Ke=Xt,Je=Function.prototype,tr=Ze&&Object.getOwnPropertyDescriptor,er=Ke(Je,"name"),rr={EXISTS:er,PROPER:er&&"something"===function(){}.name,CONFIGURABLE:er&&(!Ze||Ze&&tr(Je,"name").configurable)},ir=F,nr=Lt,ar=O(Function.toString);ir(nr.inspectSource)||(nr.inspectSource=function(t){return ar(t)});var sr,or,hr,ur=nr.inspectSource,lr=F,cr=a.WeakMap,fr=lr(cr)&&/native code/.test(String(cr)),gr=Gt,pr=jt("keys"),dr=function(t){return pr[t]||(pr[t]=gr(t))},yr={},vr=fr,mr=a,xr=X,br=Ge,wr=Xt,Sr=Lt,Tr=dr,Or=yr,Ar="Object already initialized",Cr=mr.TypeError,Pr=mr.WeakMap;if(vr||Sr.state){var Er=Sr.state||(Sr.state=new Pr);Er.get=Er.get,Er.has=Er.has,Er.set=Er.set,sr=function(t,e){if(Er.has(t))throw new Cr(Ar);return e.facade=t,Er.set(t,e),e},or=function(t){return Er.get(t)||{}},hr=function(t){return Er.has(t)}}else{var Nr=Tr("state");Or[Nr]=!0,sr=function(t,e){if(wr(t,Nr))throw new Cr(Ar);return e.facade=t,br(t,Nr,e),e},or=function(t){return wr(t,Nr)?t[Nr]:{}},hr=function(t){return wr(t,Nr)}}var Mr={set:sr,get:or,has:hr,enforce:function(t){return hr(t)?or(t):sr(t,{})},getterFor:function(t){return function(e){var r;if(!xr(e)||(r=or(e)).type!==t)throw new Cr("Incompatible receiver, "+t+" required");return r}}},Rr=O,_r=o,Vr=F,Ir=Xt,kr=h,Lr=rr.CONFIGURABLE,Dr=ur,jr=Mr.enforce,Br=Mr.get,zr=String,Ur=Object.defineProperty,Fr=Rr("".slice),Hr=Rr("".replace),Xr=Rr([].join),Yr=kr&&!_r((function(){return 8!==Ur((function(){}),"length",{value:8}).length})),Wr=String(String).split("String"),qr=Qe.exports=function(t,e,r){"Symbol("===Fr(zr(e),0,7)&&(e="["+Hr(zr(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Ir(t,"name")||Lr&&t.name!==e)&&(kr?Ur(t,"name",{value:e,configurable:!0}):t.name=e),Yr&&r&&Ir(r,"arity")&&t.length!==r.arity&&Ur(t,"length",{value:r.arity});try{r&&Ir(r,"constructor")&&r.constructor?kr&&Ur(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(n){}var i=jr(t);return Ir(i,"source")||(i.source=Xr(Wr,"string"==typeof e?e:"")),t};Function.prototype.toString=qr((function(){return Vr(this)&&Br(this).source||Dr(this)}),"toString");var $r=Qe.exports,Gr=F,Qr=Me,Zr=$r,Kr=Rt,Jr=function(t,e,r,i){i||(i={});var n=i.enumerable,a=void 0!==i.name?i.name:e;if(Gr(r)&&Zr(r,a,i),i.global)n?t[e]=r:Kr(e,r);else{try{i.unsafe?t[e]&&(n=!0):delete t[e]}catch(s){}n?t[e]=r:Qr.f(t,e,{value:r,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return t},ti={},ei=Math.ceil,ri=Math.floor,ii=Math.trunc||function(t){var e=+t;return(e>0?ri:ei)(e)},ni=function(t){var e=+t;return e!=e||0===e?0:ii(e)},ai=ni,si=Math.max,oi=Math.min,hi=ni,ui=Math.min,li=function(t){var e=hi(t);return e>0?ui(e,9007199254740991):0},ci=li,fi=function(t){return ci(t.length)},gi=z,pi=function(t,e){var r=ai(t);return r<0?si(r+e,0):oi(r,e)},di=fi,yi=function(t){return function(e,r,i){var n=gi(e),a=di(n);if(0===a)return!t&&-1;var s,o=pi(i,a);if(t&&r!=r){for(;a>o;)if((s=n[o++])!=s)return!0}else for(;a>o;o++)if((t||o in n)&&n[o]===r)return t||o||0;return!t&&-1}},vi={includes:yi(!0),indexOf:yi(!1)},mi=Xt,xi=z,bi=vi.indexOf,wi=yr,Si=O([].push),Ti=function(t,e){var r,i=xi(t),n=0,a=[];for(r in i)!mi(wi,r)&&mi(i,r)&&Si(a,r);for(;e.length>n;)mi(i,r=e[n++])&&(~bi(a,r)||Si(a,r));return a},Oi=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ai=Ti,Ci=Oi.concat("length","prototype");ti.f=Object.getOwnPropertyNames||function(t){return Ai(t,Ci)};var Pi={};Pi.f=Object.getOwnPropertySymbols;var Ei=q,Ni=ti,Mi=Pi,Ri=ke,_i=O([].concat),Vi=Ei("Reflect","ownKeys")||function(t){var e=Ni.f(Ri(t)),r=Mi.f;return r?_i(e,r(t)):e},Ii=Xt,ki=Vi,Li=s,Di=Me,ji=o,Bi=F,zi=/#|\.prototype\./,Ui=function(t,e){var r=Hi[Fi(t)];return r===Yi||r!==Xi&&(Bi(e)?ji(e):!!e)},Fi=Ui.normalize=function(t){return String(t).replace(zi,".").toLowerCase()},Hi=Ui.data={},Xi=Ui.NATIVE="N",Yi=Ui.POLYFILL="P",Wi=Ui,qi=a,$i=s.f,Gi=Ge,Qi=Jr,Zi=Rt,Ki=function(t,e,r){for(var i=ki(e),n=Di.f,a=Li.f,s=0;s<i.length;s++){var o=i[s];Ii(t,o)||r&&Ii(r,o)||n(t,o,a(e,o))}},Ji=Wi,tn=function(t,e){var r,i,n,a,s,o=t.target,h=t.global,u=t.stat;if(r=h?qi:u?qi[o]||Zi(o,{}):qi[o]&&qi[o].prototype)for(i in e){if(a=e[i],n=t.dontCallGetSet?(s=$i(r,i))&&s.value:r[i],!Ji(h?i:o+(u?".":"#")+i,t.forced)&&void 0!==n){if(typeof a==typeof n)continue;Ki(a,n)}(t.sham||n&&n.sham)&&Gi(a,"sham",!0),Qi(r,i,a,t)}},en=a,rn=Z,nn=E,an=function(t){return rn.slice(0,t.length)===t},sn=an("Bun/")?"BUN":an("Cloudflare-Workers")?"CLOUDFLARE":an("Deno/")?"DENO":an("Node.js/")?"NODE":en.Bun&&"string"==typeof Bun.version?"BUN":en.Deno&&"object"==typeof Deno.version?"DENO":"process"===nn(en.process)?"NODE":en.window&&en.document?"BROWSER":"REST",on="NODE"===sn,hn=O,un=bt,ln=X,cn=function(t){return ln(t)||null===t},fn=String,gn=TypeError,pn=function(t,e,r){try{return hn(un(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(i){}},dn=X,yn=D,vn=function(t){if(cn(t))return t;throw new gn("Can't set "+fn(t)+" as a prototype")},mn=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=pn(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(i){}return function(r,i){return yn(r),vn(i),dn(r)?(e?t(r,i):r.__proto__=i,r):r}}():void 0),xn=Me.f,bn=Xt,wn=ne("toStringTag"),Sn=function(t,e,r){t&&!r&&(t=t.prototype),t&&!bn(t,wn)&&xn(t,wn,{configurable:!0,value:e})},Tn=$r,On=Me,An=q,Cn=function(t,e,r){return r.get&&Tn(r.get,e,{getter:!0}),r.set&&Tn(r.set,e,{setter:!0}),On.f(t,e,r)},Pn=h,En=ne("species"),Nn=$,Mn=TypeError,Rn={};Rn[ne("toStringTag")]="z";var _n="[object z]"===String(Rn),Vn=F,In=E,kn=ne("toStringTag"),Ln=Object,Dn="Arguments"===In(function(){return arguments}()),jn=_n?In:function(t){var e,r,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(r){}}(e=Ln(t),kn))?r:Dn?In(e):"Object"===(i=In(e))&&Vn(e.callee)?"Arguments":i},Bn=O,zn=o,Un=F,Fn=jn,Hn=ur,Xn=function(){},Yn=q("Reflect","construct"),Wn=/^\s*(?:class|function)\b/,qn=Bn(Wn.exec),$n=!Wn.test(Xn),Gn=function(t){if(!Un(t))return!1;try{return Yn(Xn,[],t),!0}catch(e){return!1}},Qn=function(t){if(!Un(t))return!1;switch(Fn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return $n||!!qn(Wn,Hn(t))}catch(e){return!0}};Qn.sham=!0;var Zn,Kn,Jn,ta,ea=!Yn||zn((function(){var t;return Gn(Gn.call)||!Gn(Object)||!Gn((function(){t=!0}))||t}))?Qn:Gn,ra=ea,ia=yt,na=TypeError,aa=ke,sa=function(t){if(ra(t))return t;throw new na(ia(t)+" is not a constructor")},oa=I,ha=ne("species"),ua=function(t,e){var r,i=aa(t).constructor;return void 0===i||oa(r=aa(i)[ha])?e:sa(r)},la=u,ca=Function.prototype,fa=ca.apply,ga=ca.call,pa="object"==typeof Reflect&&Reflect.apply||(la?ga.bind(fa):function(){return ga.apply(fa,arguments)}),da=E,ya=O,va=function(t){if("Function"===da(t))return ya(t)},ma=bt,xa=u,ba=va(va.bind),wa=function(t,e){return ma(t),void 0===e?t:xa?ba(t,e):function(){return t.apply(e,arguments)}},Sa=q("document","documentElement"),Ta=O([].slice),Oa=TypeError,Aa=/(?:ipad|iphone|ipod).*applewebkit/i.test(Z),Ca=a,Pa=pa,Ea=wa,Na=F,Ma=Xt,Ra=o,_a=Sa,Va=Ta,Ia=me,ka=function(t,e){if(t<e)throw new Oa("Not enough arguments");return t},La=Aa,Da=on,ja=Ca.setImmediate,Ba=Ca.clearImmediate,za=Ca.process,Ua=Ca.Dispatch,Fa=Ca.Function,Ha=Ca.MessageChannel,Xa=Ca.String,Ya=0,Wa={},qa="onreadystatechange";Ra((function(){Zn=Ca.location}));var $a=function(t){if(Ma(Wa,t)){var e=Wa[t];delete Wa[t],e()}},Ga=function(t){return function(){$a(t)}},Qa=function(t){$a(t.data)},Za=function(t){Ca.postMessage(Xa(t),Zn.protocol+"//"+Zn.host)};ja&&Ba||(ja=function(t){ka(arguments.length,1);var e=Na(t)?t:Fa(t),r=Va(arguments,1);return Wa[++Ya]=function(){Pa(e,void 0,r)},Kn(Ya),Ya},Ba=function(t){delete Wa[t]},Da?Kn=function(t){za.nextTick(Ga(t))}:Ua&&Ua.now?Kn=function(t){Ua.now(Ga(t))}:Ha&&!La?(ta=(Jn=new Ha).port2,Jn.port1.onmessage=Qa,Kn=Ea(ta.postMessage,ta)):Ca.addEventListener&&Na(Ca.postMessage)&&!Ca.importScripts&&Zn&&"file:"!==Zn.protocol&&!Ra(Za)?(Kn=Za,Ca.addEventListener("message",Qa,!1)):Kn=qa in Ia("script")?function(t){_a.appendChild(Ia("script"))[qa]=function(){_a.removeChild(this),$a(t)}}:function(t){setTimeout(Ga(t),0)});var Ka={set:ja,clear:Ba},Ja=a,ts=h,es=Object.getOwnPropertyDescriptor,rs=function(){this.head=null,this.tail=null};rs.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var is,ns,as,ss,os,hs=rs,us=/ipad|iphone|ipod/i.test(Z)&&"undefined"!=typeof Pebble,ls=/web0s(?!.*chrome)/i.test(Z),cs=a,fs=function(t){if(!ts)return Ja[t];var e=es(Ja,t);return e&&e.value},gs=wa,ps=Ka.set,ds=hs,ys=Aa,vs=us,ms=ls,xs=on,bs=cs.MutationObserver||cs.WebKitMutationObserver,ws=cs.document,Ss=cs.process,Ts=cs.Promise,Os=fs("queueMicrotask");if(!Os){var As=new ds,Cs=function(){var t,e;for(xs&&(t=Ss.domain)&&t.exit();e=As.get();)try{e()}catch(r){throw As.head&&is(),r}t&&t.enter()};ys||xs||ms||!bs||!ws?!vs&&Ts&&Ts.resolve?((ss=Ts.resolve(void 0)).constructor=Ts,os=gs(ss.then,ss),is=function(){os(Cs)}):xs?is=function(){Ss.nextTick(Cs)}:(ps=gs(ps,cs),is=function(){ps(Cs)}):(ns=!0,as=ws.createTextNode(""),new bs(Cs).observe(as,{characterData:!0}),is=function(){as.data=ns=!ns}),Os=function(t){As.head||is(),As.add(t)}}var Ps=Os,Es=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},Ns=a.Promise,Ms=a,Rs=Ns,_s=F,Vs=Wi,Is=ur,ks=ne,Ls=sn,Ds=nt;Rs&&Rs.prototype;var js=ks("species"),Bs=!1,zs=_s(Ms.PromiseRejectionEvent),Us={CONSTRUCTOR:Vs("Promise",(function(){var t=Is(Rs),e=t!==String(Rs);if(!e&&66===Ds)return!0;if(!Ds||Ds<51||!/native code/.test(t)){var r=new Rs((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))};if((r.constructor={})[js]=i,!(Bs=r.then((function(){}))instanceof i))return!0}return!(e||"BROWSER"!==Ls&&"DENO"!==Ls||zs)})),REJECTION_EVENT:zs,SUBCLASSING:Bs},Fs={},Hs=bt,Xs=TypeError,Ys=function(t){var e,r;this.promise=new t((function(t,i){if(void 0!==e||void 0!==r)throw new Xs("Bad Promise constructor");e=t,r=i})),this.resolve=Hs(e),this.reject=Hs(r)};Fs.f=function(t){return new Ys(t)};var Ws,qs,$s,Gs=tn,Qs=on,Zs=a,Ks=f,Js=Jr,to=mn,eo=Sn,ro=function(t){var e=An(t);Pn&&e&&!e[En]&&Cn(e,En,{configurable:!0,get:function(){return this}})},io=bt,no=F,ao=X,so=function(t,e){if(Nn(e,t))return t;throw new Mn("Incorrect invocation")},oo=ua,ho=Ka.set,uo=Ps,lo=function(t,e){},co=Es,fo=hs,go=Mr,po=Ns,yo=Fs,vo="Promise",mo=Us.CONSTRUCTOR,xo=Us.REJECTION_EVENT,bo=Us.SUBCLASSING,wo=go.getterFor(vo),So=go.set,To=po&&po.prototype,Oo=po,Ao=To,Co=Zs.TypeError,Po=Zs.document,Eo=Zs.process,No=yo.f,Mo=No,Ro=!!(Po&&Po.createEvent&&Zs.dispatchEvent),_o="unhandledrejection",Vo=function(t){var e;return!(!ao(t)||!no(e=t.then))&&e},Io=function(t,e){var r,i,n,a=e.value,s=1===e.state,o=s?t.ok:t.fail,h=t.resolve,u=t.reject,l=t.domain;try{o?(s||(2===e.rejection&&Bo(e),e.rejection=1),!0===o?r=a:(l&&l.enter(),r=o(a),l&&(l.exit(),n=!0)),r===t.promise?u(new Co("Promise-chain cycle")):(i=Vo(r))?Ks(i,r,h,u):h(r)):u(a)}catch(c){l&&!n&&l.exit(),u(c)}},ko=function(t,e){t.notified||(t.notified=!0,uo((function(){for(var r,i=t.reactions;r=i.get();)Io(r,t);t.notified=!1,e&&!t.rejection&&Do(t)})))},Lo=function(t,e,r){var i,n;Ro?((i=Po.createEvent("Event")).promise=e,i.reason=r,i.initEvent(t,!1,!0),Zs.dispatchEvent(i)):i={promise:e,reason:r},!xo&&(n=Zs["on"+t])?n(i):t===_o&&lo("Unhandled promise rejection",r)},Do=function(t){Ks(ho,Zs,(function(){var e,r=t.facade,i=t.value;if(jo(t)&&(e=co((function(){Qs?Eo.emit("unhandledRejection",i,r):Lo(_o,r,i)})),t.rejection=Qs||jo(t)?2:1,e.error))throw e.value}))},jo=function(t){return 1!==t.rejection&&!t.parent},Bo=function(t){Ks(ho,Zs,(function(){var e=t.facade;Qs?Eo.emit("rejectionHandled",e):Lo("rejectionhandled",e,t.value)}))},zo=function(t,e,r){return function(i){t(e,i,r)}},Uo=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,ko(t,!0))},Fo=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new Co("Promise can't be resolved itself");var i=Vo(e);i?uo((function(){var r={done:!1};try{Ks(i,e,zo(Fo,r,t),zo(Uo,r,t))}catch(n){Uo(r,n,t)}})):(t.value=e,t.state=1,ko(t,!1))}catch(n){Uo({done:!1},n,t)}}};if(mo&&(Ao=(Oo=function(t){so(this,Ao),io(t),Ks(Ws,this);var e=wo(this);try{t(zo(Fo,e),zo(Uo,e))}catch(r){Uo(e,r)}}).prototype,(Ws=function(t){So(this,{type:vo,done:!1,notified:!1,parent:!1,reactions:new fo,rejection:!1,state:0,value:null})}).prototype=Js(Ao,"then",(function(t,e){var r=wo(this),i=No(oo(this,Oo));return r.parent=!0,i.ok=!no(t)||t,i.fail=no(e)&&e,i.domain=Qs?Eo.domain:void 0,0===r.state?r.reactions.add(i):uo((function(){Io(i,r)})),i.promise})),qs=function(){var t=new Ws,e=wo(t);this.promise=t,this.resolve=zo(Fo,e),this.reject=zo(Uo,e)},yo.f=No=function(t){return t===Oo||undefined===t?new qs(t):Mo(t)},no(po)&&To!==Object.prototype)){$s=To.then,bo||Js(To,"then",(function(t,e){var r=this;return new Oo((function(t,e){Ks($s,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete To.constructor}catch(Dv){}to&&to(To,Ao)}Gs({global:!0,constructor:!0,wrap:!0,forced:mo},{Promise:Oo}),eo(Oo,vo,!1),ro(vo);var Ho={},Xo=Ho,Yo=ne("iterator"),Wo=Array.prototype,qo=jn,$o=Tt,Go=I,Qo=Ho,Zo=ne("iterator"),Ko=function(t){if(!Go(t))return $o(t,Zo)||$o(t,"@@iterator")||Qo[qo(t)]},Jo=f,th=bt,eh=ke,rh=yt,ih=Ko,nh=TypeError,ah=f,sh=ke,oh=Tt,hh=wa,uh=f,lh=ke,ch=yt,fh=function(t){return void 0!==t&&(Xo.Array===t||Wo[Yo]===t)},gh=fi,ph=$,dh=function(t,e){var r=arguments.length<2?ih(t):e;if(th(r))return eh(Jo(r,t));throw new nh(rh(t)+" is not iterable")},yh=Ko,vh=function(t,e,r){var i,n;sh(t);try{if(!(i=oh(t,"return"))){if("throw"===e)throw r;return r}i=ah(i,t)}catch(Dv){n=!0,i=Dv}if("throw"===e)throw r;if(n)throw i;return sh(i),r},mh=TypeError,xh=function(t,e){this.stopped=t,this.result=e},bh=xh.prototype,wh=function(t,e,r){var i,n,a,s,o,h,u,l=r&&r.that,c=!(!r||!r.AS_ENTRIES),f=!(!r||!r.IS_RECORD),g=!(!r||!r.IS_ITERATOR),p=!(!r||!r.INTERRUPTED),d=hh(e,l),y=function(t){return i&&vh(i,"normal",t),new xh(!0,t)},v=function(t){return c?(lh(t),p?d(t[0],t[1],y):d(t[0],t[1])):p?d(t,y):d(t)};if(f)i=t.iterator;else if(g)i=t;else{if(!(n=yh(t)))throw new mh(ch(t)+" is not iterable");if(fh(n)){for(a=0,s=gh(t);s>a;a++)if((o=v(t[a]))&&ph(bh,o))return o;return new xh(!1)}i=dh(t,n)}for(h=f?t.next:i.next;!(u=uh(h,i)).done;){try{o=v(u.value)}catch(Dv){vh(i,"throw",Dv)}if("object"==typeof o&&o&&ph(bh,o))return o}return new xh(!1)},Sh=ne("iterator"),Th=!1;try{var Oh=0,Ah={next:function(){return{done:!!Oh++}},return:function(){Th=!0}};Ah[Sh]=function(){return this},Array.from(Ah,(function(){throw 2}))}catch(Dv){}var Ch=Ns,Ph=Us.CONSTRUCTOR||!function(t,e){try{if(!e&&!Th)return!1}catch(Dv){return!1}var r=!1;try{var i={};i[Sh]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(Dv){}return r}((function(t){Ch.all(t).then(void 0,(function(){}))})),Eh=f,Nh=bt,Mh=Fs,Rh=Es,_h=wh;tn({target:"Promise",stat:!0,forced:Ph},{all:function(t){var e=this,r=Mh.f(e),i=r.resolve,n=r.reject,a=Rh((function(){var r=Nh(e.resolve),a=[],s=0,o=1;_h(t,(function(t){var h=s++,u=!1;o++,Eh(r,e,t).then((function(t){u||(u=!0,a[h]=t,--o||i(a))}),n)})),--o||i(a)}));return a.error&&n(a.value),r.promise}});var Vh=tn,Ih=Us.CONSTRUCTOR,kh=Ns,Lh=q,Dh=F,jh=Jr,Bh=kh&&kh.prototype;if(Vh({target:"Promise",proto:!0,forced:Ih,real:!0},{catch:function(t){return this.then(void 0,t)}}),Dh(kh)){var zh=Lh("Promise").prototype.catch;Bh.catch!==zh&&jh(Bh,"catch",zh,{unsafe:!0})}var Uh=f,Fh=bt,Hh=Fs,Xh=Es,Yh=wh;tn({target:"Promise",stat:!0,forced:Ph},{race:function(t){var e=this,r=Hh.f(e),i=r.reject,n=Xh((function(){var n=Fh(e.resolve);Yh(t,(function(t){Uh(n,e,t).then(r.resolve,i)}))}));return n.error&&i(n.value),r.promise}});var Wh=Fs;tn({target:"Promise",stat:!0,forced:Us.CONSTRUCTOR},{reject:function(t){var e=Wh.f(this);return(0,e.reject)(t),e.promise}});var qh=ke,$h=X,Gh=Fs,Qh=tn,Zh=Us.CONSTRUCTOR,Kh=function(t,e){if(qh(t),$h(e)&&e.constructor===t)return e;var r=Gh.f(t);return(0,r.resolve)(e),r.promise};q("Promise"),Qh({target:"Promise",stat:!0,forced:Zh},{resolve:function(t){return Kh(this,t)}});var Jh=jn,tu=String,eu=function(t){if("Symbol"===Jh(t))throw new TypeError("Cannot convert a Symbol value to a string");return tu(t)},ru=ke,iu=function(){var t=ru(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},nu=o,au=a.RegExp,su=nu((function(){var t=au("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),ou=su||nu((function(){return!au("a","y").sticky})),hu={BROKEN_CARET:su||nu((function(){var t=au("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:ou,UNSUPPORTED_Y:su},uu={},lu=Ti,cu=Oi,fu=Object.keys||function(t){return lu(t,cu)},gu=h,pu=Re,du=Me,yu=ke,vu=z,mu=fu;uu.f=gu&&!pu?Object.defineProperties:function(t,e){yu(t);for(var r,i=vu(e),n=mu(e),a=n.length,s=0;a>s;)du.f(t,r=n[s++],i[r]);return t};var xu,bu=ke,wu=uu,Su=Oi,Tu=yr,Ou=Sa,Au=me,Cu="prototype",Pu="script",Eu=dr("IE_PROTO"),Nu=function(){},Mu=function(t){return"<"+Pu+">"+t+"</"+Pu+">"},Ru=function(t){t.write(Mu("")),t.close();var e=t.parentWindow.Object;return t=null,e},_u=function(){try{xu=new ActiveXObject("htmlfile")}catch(Dv){}var t,e,r;_u="undefined"!=typeof document?document.domain&&xu?Ru(xu):(e=Au("iframe"),r="java"+Pu+":",e.style.display="none",Ou.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Mu("document.F=Object")),t.close(),t.F):Ru(xu);for(var i=Su.length;i--;)delete _u[Cu][Su[i]];return _u()};Tu[Eu]=!0;var Vu,Iu,ku=Object.create||function(t,e){var r;return null!==t?(Nu[Cu]=bu(t),r=new Nu,Nu[Cu]=null,r[Eu]=t):r=_u(),void 0===e?r:wu.f(r,e)},Lu=o,Du=a.RegExp,ju=Lu((function(){var t=Du(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),Bu=o,zu=a.RegExp,Uu=Bu((function(){var t=zu("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Fu=f,Hu=O,Xu=eu,Yu=iu,Wu=hu,qu=ku,$u=Mr.get,Gu=ju,Qu=Uu,Zu=jt("native-string-replace",String.prototype.replace),Ku=RegExp.prototype.exec,Ju=Ku,tl=Hu("".charAt),el=Hu("".indexOf),rl=Hu("".replace),il=Hu("".slice),nl=(Iu=/b*/g,Fu(Ku,Vu=/a/,"a"),Fu(Ku,Iu,"a"),0!==Vu.lastIndex||0!==Iu.lastIndex),al=Wu.BROKEN_CARET,sl=void 0!==/()??/.exec("")[1];(nl||sl||al||Gu||Qu)&&(Ju=function(t){var e,r,i,n,a,s,o,h=this,u=$u(h),l=Xu(t),c=u.raw;if(c)return c.lastIndex=h.lastIndex,e=Fu(Ju,c,l),h.lastIndex=c.lastIndex,e;var f=u.groups,g=al&&h.sticky,p=Fu(Yu,h),d=h.source,y=0,v=l;if(g&&(p=rl(p,"y",""),-1===el(p,"g")&&(p+="g"),v=il(l,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==tl(l,h.lastIndex-1))&&(d="(?: "+d+")",v=" "+v,y++),r=new RegExp("^(?:"+d+")",p)),sl&&(r=new RegExp("^"+d+"$(?!\\s)",p)),nl&&(i=h.lastIndex),n=Fu(Ku,g?r:h,v),g?n?(n.input=il(n.input,y),n[0]=il(n[0],y),n.index=h.lastIndex,h.lastIndex+=n[0].length):h.lastIndex=0:nl&&n&&(h.lastIndex=h.global?n.index+n[0].length:i),sl&&n&&n.length>1&&Fu(Zu,n[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(n[a]=void 0)})),n&&f)for(n.groups=s=qu(null),a=0;a<f.length;a++)s[(o=f[a])[0]]=n[o[1]];return n});var ol=Ju;tn({target:"RegExp",proto:!0,forced:/./.exec!==ol},{exec:ol});var hl=f,ul=Jr,ll=ol,cl=o,fl=ne,gl=Ge,pl=fl("species"),dl=RegExp.prototype,yl=function(t,e,r,i){var n=fl(t),a=!cl((function(){var e={};return e[n]=function(){return 7},7!==""[t](e)})),s=a&&!cl((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[pl]=function(){return r},r.flags="",r[n]=/./[n]),r.exec=function(){return e=!0,null},r[n](""),!e}));if(!a||!s||r){var o=/./[n],h=e(n,""[t],(function(t,e,r,i,n){var s=e.exec;return s===ll||s===dl.exec?a&&!n?{done:!0,value:hl(o,e,r,i)}:{done:!0,value:hl(t,r,e,i)}:{done:!1}}));ul(String.prototype,t,h[0]),ul(dl,n,h[1])}i&&gl(dl[n],"sham",!0)},vl=O,ml=ni,xl=eu,bl=D,wl=vl("".charAt),Sl=vl("".charCodeAt),Tl=vl("".slice),Ol=function(t){return function(e,r){var i,n,a=xl(bl(e)),s=ml(r),o=a.length;return s<0||s>=o?t?"":void 0:(i=Sl(a,s))<55296||i>56319||s+1===o||(n=Sl(a,s+1))<56320||n>57343?t?wl(a,s):i:t?Tl(a,s,s+2):n-56320+(i-55296<<10)+65536}},Al={codeAt:Ol(!1),charAt:Ol(!0)}.charAt,Cl=function(t,e,r){return e+(r?Al(t,e).length:1)},Pl=f,El=ke,Nl=F,Ml=E,Rl=ol,_l=TypeError,Vl=function(t,e){var r=t.exec;if(Nl(r)){var i=Pl(r,t,e);return null!==i&&El(i),i}if("RegExp"===Ml(t))return Pl(Rl,t,e);throw new _l("RegExp#exec called on incompatible receiver")},Il=f,kl=ke,Ll=X,Dl=li,jl=eu,Bl=D,zl=Tt,Ul=Cl,Fl=Vl;yl("match",(function(t,e,r){return[function(e){var r=Bl(this),i=Ll(e)?zl(e,t):void 0;return i?Il(i,e,r):new RegExp(e)[t](jl(r))},function(t){var i=kl(this),n=jl(t),a=r(e,i,n);if(a.done)return a.value;if(!i.global)return Fl(i,n);var s=i.unicode;i.lastIndex=0;for(var o,h=[],u=0;null!==(o=Fl(i,n));){var l=jl(o[0]);h[u]=l,""===l&&(i.lastIndex=Ul(n,Dl(i.lastIndex),s)),u++}return 0===u?null:h}]}));var Hl=O,Xl=Ut,Yl=Math.floor,Wl=Hl("".charAt),ql=Hl("".replace),$l=Hl("".slice),Gl=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Ql=/\$([$&'`]|\d{1,2})/g,Zl=pa,Kl=f,Jl=O,tc=yl,ec=o,rc=ke,ic=F,nc=X,ac=ni,sc=li,oc=eu,hc=D,uc=Cl,lc=Tt,cc=function(t,e,r,i,n,a){var s=r+t.length,o=i.length,h=Ql;return void 0!==n&&(n=Xl(n),h=Gl),ql(a,h,(function(a,h){var u;switch(Wl(h,0)){case"$":return"$";case"&":return t;case"`":return $l(e,0,r);case"'":return $l(e,s);case"<":u=n[$l(h,1,-1)];break;default:var l=+h;if(0===l)return a;if(l>o){var c=Yl(l/10);return 0===c?a:c<=o?void 0===i[c-1]?Wl(h,1):i[c-1]+Wl(h,1):a}u=i[l-1]}return void 0===u?"":u}))},fc=Vl,gc=ne("replace"),pc=Math.max,dc=Math.min,yc=Jl([].concat),vc=Jl([].push),mc=Jl("".indexOf),xc=Jl("".slice),bc="$0"==="a".replace(/./,"$0"),wc=!!/./[gc]&&""===/./[gc]("a","$0");tc("replace",(function(t,e,r){var i=wc?"$":"$0";return[function(t,r){var i=hc(this),n=nc(t)?lc(t,gc):void 0;return n?Kl(n,t,i,r):Kl(e,oc(i),t,r)},function(t,n){var a=rc(this),s=oc(t);if("string"==typeof n&&-1===mc(n,i)&&-1===mc(n,"$<")){var o=r(e,a,s,n);if(o.done)return o.value}var h=ic(n);h||(n=oc(n));var u,l=a.global;l&&(u=a.unicode,a.lastIndex=0);for(var c,f=[];null!==(c=fc(a,s))&&(vc(f,c),l);){""===oc(c[0])&&(a.lastIndex=uc(s,sc(a.lastIndex),u))}for(var g,p="",d=0,y=0;y<f.length;y++){for(var v,m=oc((c=f[y])[0]),x=pc(dc(ac(c.index),s.length),0),b=[],w=1;w<c.length;w++)vc(b,void 0===(g=c[w])?g:String(g));var S=c.groups;if(h){var T=yc([m],b,x,s);void 0!==S&&vc(T,S),v=oc(Zl(n,void 0,T))}else v=cc(m,s,x,b,S,n);x>=d&&(p+=xc(s,d,x)+v,d=x+m.length)}return p+xc(s,d)}]}),!!ec((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!bc||wc);var Sc,Tc=X,Oc=E,Ac=ne("match"),Cc=function(t){var e;return Tc(t)&&(void 0!==(e=t[Ac])?!!e:"RegExp"===Oc(t))},Pc=TypeError,Ec=function(t){if(Cc(t))throw new Pc("The method doesn't accept regular expressions");return t},Nc=ne("match"),Mc=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[Nc]=!1,"/./"[t](e)}catch(i){}}return!1},Rc=tn,_c=va,Vc=s.f,Ic=li,kc=eu,Lc=Ec,Dc=D,jc=Mc,Bc=_c("".slice),zc=Math.min,Uc=jc("startsWith");Rc({target:"String",proto:!0,forced:!!(Uc||(Sc=Vc(String.prototype,"startsWith"),!Sc||Sc.writable))&&!Uc},{startsWith:function(t){var e=kc(Dc(this));Lc(t);var r=Ic(zc(arguments.length>1?arguments[1]:void 0,e.length)),i=kc(t);return Bc(e,r,r+i.length)===i}});var Fc=ne,Hc=ku,Xc=Me.f,Yc=Fc("unscopables"),Wc=Array.prototype;void 0===Wc[Yc]&&Xc(Wc,Yc,{configurable:!0,value:Hc(null)});var qc,$c,Gc,Qc=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Zc=Xt,Kc=F,Jc=Ut,tf=Qc,ef=dr("IE_PROTO"),rf=Object,nf=rf.prototype,af=tf?rf.getPrototypeOf:function(t){var e=Jc(t);if(Zc(e,ef))return e[ef];var r=e.constructor;return Kc(r)&&e instanceof r?r.prototype:e instanceof rf?nf:null},sf=o,of=F,hf=X,uf=af,lf=Jr,cf=ne("iterator"),ff=!1;[].keys&&("next"in(Gc=[].keys())?($c=uf(uf(Gc)))!==Object.prototype&&(qc=$c):ff=!0),(!hf(qc)||sf((function(){var t={};return qc[cf].call(t)!==t})))&&(qc={}),of(qc[cf])||lf(qc,cf,(function(){return this}));var gf={IteratorPrototype:qc,BUGGY_SAFARI_ITERATORS:ff},pf=gf.IteratorPrototype,df=ku,yf=x,vf=Sn,mf=Ho,xf=function(){return this},bf=tn,wf=f,Sf=F,Tf=function(t,e,r,i){var n=e+" Iterator";return t.prototype=df(pf,{next:yf(+!i,r)}),vf(t,n,!1),mf[n]=xf,t},Of=af,Af=mn,Cf=Sn,Pf=Ge,Ef=Jr,Nf=Ho,Mf=rr.PROPER,Rf=rr.CONFIGURABLE,_f=gf.IteratorPrototype,Vf=gf.BUGGY_SAFARI_ITERATORS,If=ne("iterator"),kf="keys",Lf="values",Df="entries",jf=function(){return this},Bf=z,zf=function(t){Wc[Yc][t]=!0},Uf=Ho,Ff=Mr,Hf=Me.f,Xf=function(t,e,r,i,n,a,s){Tf(r,e,i);var o,h,u,l=function(t){if(t===n&&d)return d;if(!Vf&&t&&t in g)return g[t];switch(t){case kf:case Lf:case Df:return function(){return new r(this,t)}}return function(){return new r(this)}},c=e+" Iterator",f=!1,g=t.prototype,p=g[If]||g["@@iterator"]||n&&g[n],d=!Vf&&p||l(n),y="Array"===e&&g.entries||p;if(y&&(o=Of(y.call(new t)))!==Object.prototype&&o.next&&(Of(o)!==_f&&(Af?Af(o,_f):Sf(o[If])||Ef(o,If,jf)),Cf(o,c,!0)),Mf&&n===Lf&&p&&p.name!==Lf&&(Rf?Pf(g,"name",Lf):(f=!0,d=function(){return wf(p,this)})),n)if(h={values:l(Lf),keys:a?d:l(kf),entries:l(Df)},s)for(u in h)(Vf||f||!(u in g))&&Ef(g,u,h[u]);else bf({target:e,proto:!0,forced:Vf||f},h);return g[If]!==d&&Ef(g,If,d,{name:n}),Nf[e]=d,h},Yf=function(t,e){return{value:t,done:e}},Wf=h,qf="Array Iterator",$f=Ff.set,Gf=Ff.getterFor(qf),Qf=Xf(Array,"Array",(function(t,e){$f(this,{type:qf,target:Bf(t),index:0,kind:e})}),(function(){var t=Gf(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,Yf(void 0,!0);switch(t.kind){case"keys":return Yf(r,!1);case"values":return Yf(e[r],!1)}return Yf([r,e[r]],!1)}),"values"),Zf=Uf.Arguments=Uf.Array;if(zf("keys"),zf("values"),zf("entries"),Wf&&"values"!==Zf.name)try{Hf(Zf,"name",{value:"values"})}catch(Dv){}var Kf=me("span").classList,Jf=Kf&&Kf.constructor&&Kf.constructor.prototype,tg=Jf===Object.prototype?void 0:Jf,eg=a,rg={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},ig=tg,ng=Qf,ag=Ge,sg=Sn,og=ne("iterator"),hg=ng.values,ug=function(t,e){if(t){if(t[og]!==hg)try{ag(t,og,hg)}catch(Dv){t[og]=hg}if(sg(t,e,!0),rg[e])for(var r in ng)if(t[r]!==ng[r])try{ag(t,r,ng[r])}catch(Dv){t[r]=ng[r]}}};for(var lg in rg)ug(eg[lg]&&eg[lg].prototype,lg);ug(ig,"DOMTokenList");var cg=bt,fg=Ut,gg=V,pg=fi,dg=TypeError,yg="Reduce of empty array with no initial value",vg=function(t){return function(e,r,i,n){var a=fg(e),s=gg(a),o=pg(a);if(cg(r),0===o&&i<2)throw new dg(yg);var h=t?o-1:0,u=t?-1:1;if(i<2)for(;;){if(h in s){n=s[h],h+=u;break}if(h+=u,t?h<0:o<=h)throw new dg(yg)}for(;t?h>=0:o>h;h+=u)h in s&&(n=r(n,s[h],h,a));return n}},mg={left:vg(!1),right:vg(!0)},xg=o,bg=function(t,e){var r=[][t];return!!r&&xg((function(){r.call(null,e||function(){return 1},1)}))},wg=mg.left;tn({target:"Array",proto:!0,forced:!on&&nt>79&&nt<83||!bg("reduce")},{reduce:function(t){var e=arguments.length;return wg(this,t,e,e>1?arguments[1]:void 0)}});var Sg=tn,Tg=va,Og=s.f,Ag=li,Cg=eu,Pg=Ec,Eg=D,Ng=Mc,Mg=Tg("".slice),Rg=Math.min,_g=Ng("endsWith"),Vg=!_g&&!!function(){var t=Og(String.prototype,"endsWith");return t&&!t.writable}();Sg({target:"String",proto:!0,forced:!Vg&&!_g},{endsWith:function(t){var e=Cg(Eg(this));Pg(t);var r=arguments.length>1?arguments[1]:void 0,i=e.length,n=void 0===r?i:Rg(Ag(r),i),a=Cg(t);return Mg(e,n-a.length,n)===a}});var Ig=f,kg=O,Lg=yl,Dg=ke,jg=X,Bg=D,zg=ua,Ug=Cl,Fg=li,Hg=eu,Xg=Tt,Yg=Vl,Wg=o,qg=hu.UNSUPPORTED_Y,$g=Math.min,Gg=kg([].push),Qg=kg("".slice),Zg=!Wg((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),Kg="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;Lg("split",(function(t,e,r){var i="0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:Ig(e,this,t,r)}:e;return[function(e,r){var n=Bg(this),a=jg(e)?Xg(e,t):void 0;return a?Ig(a,e,n,r):Ig(i,Hg(n),e,r)},function(t,n){var a=Dg(this),s=Hg(t);if(!Kg){var o=r(i,a,s,n,i!==e);if(o.done)return o.value}var h=zg(a,RegExp),u=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(qg?"g":"y"),c=new h(qg?"^(?:"+a.source+")":a,l),f=void 0===n?4294967295:n>>>0;if(0===f)return[];if(0===s.length)return null===Yg(c,s)?[s]:[];for(var g=0,p=0,d=[];p<s.length;){c.lastIndex=qg?0:p;var y,v=Yg(c,qg?Qg(s,p):s);if(null===v||(y=$g(Fg(c.lastIndex+(qg?p:0)),s.length))===g)p=Ug(s,p,u);else{if(Gg(d,Qg(s,g,p)),d.length===f)return d;for(var m=1;m<=v.length-1;m++)if(Gg(d,v[m]),d.length===f)return d;p=g=y}}return Gg(d,Qg(s,g)),d}]}),Kg||!Zg,qg);var Jg={exports:{}},tp={exports:{}};(function(){var t,e,r,i,n,a;"undefined"!=typeof performance&&null!==performance&&performance.now?tp.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(tp.exports=function(){return(t()-n)/1e6},e=process.hrtime,i=(t=function(){var t;return 1e9*(t=e())[0]+t[1]})(),a=1e9*process.uptime(),n=i-a):Date.now?(tp.exports=function(){return Date.now()-r},r=Date.now()):(tp.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(t);for(var ep=tp.exports,rp="undefined"==typeof window?t:window,ip=["moz","webkit"],np="AnimationFrame",ap=rp["request"+np],sp=rp["cancel"+np]||rp["cancelRequest"+np],op=0;!ap&&op<ip.length;op++)ap=rp[ip[op]+"Request"+np],sp=rp[ip[op]+"Cancel"+np]||rp[ip[op]+"CancelRequest"+np];if(!ap||!sp){var hp=0,up=0,lp=[],cp=1e3/60;ap=function(t){if(0===lp.length){var e=ep(),r=Math.max(0,cp-(e-hp));hp=r+e,setTimeout((function(){var t=lp.slice(0);lp.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(hp)}catch(r){setTimeout((function(){throw r}),0)}}),Math.round(r))}return lp.push({handle:++up,callback:t,cancelled:!1}),up},sp=function(t){for(var e=0;e<lp.length;e++)lp[e].handle===t&&(lp[e].cancelled=!0)}}Jg.exports=function(t){return ap.call(rp,t)},Jg.exports.cancel=function(){sp.apply(rp,arguments)},Jg.exports.polyfill=function(t){t||(t=rp),t.requestAnimationFrame=ap,t.cancelAnimationFrame=sp};const fp=e(Jg.exports);var gp="\t\n\v\f\r                 \u2028\u2029\ufeff",pp=D,dp=eu,yp=gp,vp=O("".replace),mp=RegExp("^["+yp+"]+"),xp=RegExp("(^|[^"+yp+"])["+yp+"]+$"),bp=function(t){return function(e){var r=dp(pp(e));return 1&t&&(r=vp(r,mp,"")),2&t&&(r=vp(r,xp,"$1")),r}},wp={start:bp(1),end:bp(2),trim:bp(3)},Sp=rr.PROPER,Tp=o,Op=gp,Ap=wp.trim;tn({target:"String",proto:!0,forced:function(t){return Tp((function(){return!!Op[t]()||"​…᠎"!=="​…᠎"[t]()||Sp&&Op[t].name!==t}))}("trim")},{trim:function(){return Ap(this)}});const Cp=e((function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase();var e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=e[t]||t;for(var r=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),parseFloat(t[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],i=0;i<r.length;i++){var n=r[i].re,a=r[i].process,s=n.exec(t);if(s){var o=a(s);this.r=o[0],this.g=o[1],this.b=o[2],o.length>3&&(this.alpha=o[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),r=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==r.length&&(r="0"+r),"#"+t+e+r},this.getHelpXML=function(){for(var t=new Array,i=0;i<r.length;i++)for(var n=r[i].example,a=0;a<n.length;a++)t[t.length]=n[a];for(var s in e)t[t.length]=s;var o=document.createElement("ul");o.setAttribute("id","rgbcolor-examples");for(i=0;i<t.length;i++)try{var h=document.createElement("li"),u=new RGBColor(t[i]),l=document.createElement("div");l.style.cssText="margin: 3px; border: 1px solid black; background:"+u.toHex()+"; color:"+u.toHex(),l.appendChild(document.createTextNode("test"));var c=document.createTextNode(" "+t[i]+" -> "+u.toRGB()+" -> "+u.toHex());h.appendChild(l),h.appendChild(c),o.appendChild(h)}catch(f){}return o}}));var Pp=tn,Ep=vi.indexOf,Np=bg,Mp=va([].indexOf),Rp=!!Mp&&1/Mp([1],1,-0)<0;Pp({target:"Array",proto:!0,forced:Rp||!Np("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return Rp?Mp(this,t,e)||0:Ep(this,t,e)}});var _p=tn,Vp=Ec,Ip=D,kp=eu,Lp=Mc,Dp=O("".indexOf);_p({target:"String",proto:!0,forced:!Lp("includes")},{includes:function(t){return!!~Dp(kp(Ip(this)),kp(Vp(t)),arguments.length>1?arguments[1]:void 0)}});var jp=E,Bp=tn,zp=Array.isArray||function(t){return"Array"===jp(t)},Up=O([].reverse),Fp=[1,2];Bp({target:"Array",proto:!0,forced:String(Fp)===String(Fp.reverse())},{reverse:function(){return zp(this)&&(this.length=this.length),Up(this)}}); +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +var Hp=function(t,e){return(Hp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function Xp(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Hp(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function Yp(t,e){var r=t[0],i=t[1];return[r*Math.cos(e)-i*Math.sin(e),r*Math.sin(e)+i*Math.cos(e)]}function Wp(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=0;r<t.length;r++)if("number"!=typeof t[r])throw new Error("assertNumbers arguments["+r+"] is not a number. "+typeof t[r]+" == typeof "+t[r]);return!0}var qp=Math.PI;function $p(t,e,r){t.lArcFlag=0===t.lArcFlag?0:1,t.sweepFlag=0===t.sweepFlag?0:1;var i=t.rX,n=t.rY,a=t.x,s=t.y;i=Math.abs(t.rX),n=Math.abs(t.rY);var o=Yp([(e-a)/2,(r-s)/2],-t.xRot/180*qp),h=o[0],u=o[1],l=Math.pow(h,2)/Math.pow(i,2)+Math.pow(u,2)/Math.pow(n,2);1<l&&(i*=Math.sqrt(l),n*=Math.sqrt(l)),t.rX=i,t.rY=n;var c=Math.pow(i,2)*Math.pow(u,2)+Math.pow(n,2)*Math.pow(h,2),f=(t.lArcFlag!==t.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(i,2)*Math.pow(n,2)-c)/c)),g=i*u/n*f,p=-n*h/i*f,d=Yp([g,p],t.xRot/180*qp);t.cX=d[0]+(e+a)/2,t.cY=d[1]+(r+s)/2,t.phi1=Math.atan2((u-p)/n,(h-g)/i),t.phi2=Math.atan2((-u-p)/n,(-h-g)/i),0===t.sweepFlag&&t.phi2>t.phi1&&(t.phi2-=2*qp),1===t.sweepFlag&&t.phi2<t.phi1&&(t.phi2+=2*qp),t.phi1*=180/qp,t.phi2*=180/qp}function Gp(t,e,r){Wp(t,e,r);var i=t*t+e*e-r*r;if(0>i)return[];if(0===i)return[[t*r/(t*t+e*e),e*r/(t*t+e*e)]];var n=Math.sqrt(i);return[[(t*r+e*n)/(t*t+e*e),(e*r-t*n)/(t*t+e*e)],[(t*r-e*n)/(t*t+e*e),(e*r+t*n)/(t*t+e*e)]]}var Qp,Zp=Math.PI/180;function Kp(t,e,r){return(1-r)*t+r*e}function Jp(t,e,r,i){return t+Math.cos(i/180*qp)*e+Math.sin(i/180*qp)*r}function td(t,e,r,i){var n=1e-6,a=e-t,s=r-e,o=3*a+3*(i-r)-6*s,h=6*(s-a),u=3*a;return Math.abs(o)<n?[-u/h]:function(t,e,r){void 0===r&&(r=1e-6);var i=t*t/4-e;if(i<-r)return[];if(i<=r)return[-t/2];var n=Math.sqrt(i);return[-t/2-n,-t/2+n]}(h/o,u/o,n)}function ed(t,e,r,i,n){var a=1-n;return t*(a*a*a)+e*(3*a*a*n)+r*(3*a*n*n)+i*(n*n*n)}!function(t){function e(){return n((function(t,e,r){return t.relative&&(void 0!==t.x1&&(t.x1+=e),void 0!==t.y1&&(t.y1+=r),void 0!==t.x2&&(t.x2+=e),void 0!==t.y2&&(t.y2+=r),void 0!==t.x&&(t.x+=e),void 0!==t.y&&(t.y+=r),t.relative=!1),t}))}function r(){var t=NaN,e=NaN,r=NaN,i=NaN;return n((function(n,a,s){return n.type&od.SMOOTH_CURVE_TO&&(n.type=od.CURVE_TO,t=isNaN(t)?a:t,e=isNaN(e)?s:e,n.x1=n.relative?a-t:2*a-t,n.y1=n.relative?s-e:2*s-e),n.type&od.CURVE_TO?(t=n.relative?a+n.x2:n.x2,e=n.relative?s+n.y2:n.y2):(t=NaN,e=NaN),n.type&od.SMOOTH_QUAD_TO&&(n.type=od.QUAD_TO,r=isNaN(r)?a:r,i=isNaN(i)?s:i,n.x1=n.relative?a-r:2*a-r,n.y1=n.relative?s-i:2*s-i),n.type&od.QUAD_TO?(r=n.relative?a+n.x1:n.x1,i=n.relative?s+n.y1:n.y1):(r=NaN,i=NaN),n}))}function i(){var t=NaN,e=NaN;return n((function(r,i,n){if(r.type&od.SMOOTH_QUAD_TO&&(r.type=od.QUAD_TO,t=isNaN(t)?i:t,e=isNaN(e)?n:e,r.x1=r.relative?i-t:2*i-t,r.y1=r.relative?n-e:2*n-e),r.type&od.QUAD_TO){t=r.relative?i+r.x1:r.x1,e=r.relative?n+r.y1:r.y1;var a=r.x1,s=r.y1;r.type=od.CURVE_TO,r.x1=((r.relative?0:i)+2*a)/3,r.y1=((r.relative?0:n)+2*s)/3,r.x2=(r.x+2*a)/3,r.y2=(r.y+2*s)/3}else t=NaN,e=NaN;return r}))}function n(t){var e=0,r=0,i=NaN,n=NaN;return function(a){if(isNaN(i)&&!(a.type&od.MOVE_TO))throw new Error("path must start with moveto");var s=t(a,e,r,i,n);return a.type&od.CLOSE_PATH&&(e=i,r=n),void 0!==a.x&&(e=a.relative?e+a.x:a.x),void 0!==a.y&&(r=a.relative?r+a.y:a.y),a.type&od.MOVE_TO&&(i=e,n=r),s}}function a(t,e,r,i,a,s){return Wp(t,e,r,i,a,s),n((function(n,o,h,u){var l=n.x1,c=n.x2,f=n.relative&&!isNaN(u),g=void 0!==n.x?n.x:f?0:o,p=void 0!==n.y?n.y:f?0:h;function d(t){return t*t}n.type&od.HORIZ_LINE_TO&&0!==e&&(n.type=od.LINE_TO,n.y=n.relative?0:h),n.type&od.VERT_LINE_TO&&0!==r&&(n.type=od.LINE_TO,n.x=n.relative?0:o),void 0!==n.x&&(n.x=n.x*t+p*r+(f?0:a)),void 0!==n.y&&(n.y=g*e+n.y*i+(f?0:s)),void 0!==n.x1&&(n.x1=n.x1*t+n.y1*r+(f?0:a)),void 0!==n.y1&&(n.y1=l*e+n.y1*i+(f?0:s)),void 0!==n.x2&&(n.x2=n.x2*t+n.y2*r+(f?0:a)),void 0!==n.y2&&(n.y2=c*e+n.y2*i+(f?0:s));var y=t*i-e*r;if(void 0!==n.xRot&&(1!==t||0!==e||0!==r||1!==i))if(0===y)delete n.rX,delete n.rY,delete n.xRot,delete n.lArcFlag,delete n.sweepFlag,n.type=od.LINE_TO;else{var v=n.xRot*Math.PI/180,m=Math.sin(v),x=Math.cos(v),b=1/d(n.rX),w=1/d(n.rY),S=d(x)*b+d(m)*w,T=2*m*x*(b-w),O=d(m)*b+d(x)*w,A=S*i*i-T*e*i+O*e*e,C=T*(t*i+e*r)-2*(S*r*i+O*t*e),P=S*r*r-T*t*r+O*t*t,E=(Math.atan2(C,A-P)+Math.PI)%Math.PI/2,N=Math.sin(E),M=Math.cos(E);n.rX=Math.abs(y)/Math.sqrt(A*d(M)+C*N*M+P*d(N)),n.rY=Math.abs(y)/Math.sqrt(A*d(N)-C*N*M+P*d(M)),n.xRot=180*E/Math.PI}return void 0!==n.sweepFlag&&0>y&&(n.sweepFlag=+!n.sweepFlag),n}))}t.ROUND=function(t){function e(e){return Math.round(e*t)/t}return void 0===t&&(t=1e13),Wp(t),function(t){return void 0!==t.x1&&(t.x1=e(t.x1)),void 0!==t.y1&&(t.y1=e(t.y1)),void 0!==t.x2&&(t.x2=e(t.x2)),void 0!==t.y2&&(t.y2=e(t.y2)),void 0!==t.x&&(t.x=e(t.x)),void 0!==t.y&&(t.y=e(t.y)),void 0!==t.rX&&(t.rX=e(t.rX)),void 0!==t.rY&&(t.rY=e(t.rY)),t}},t.TO_ABS=e,t.TO_REL=function(){return n((function(t,e,r){return t.relative||(void 0!==t.x1&&(t.x1-=e),void 0!==t.y1&&(t.y1-=r),void 0!==t.x2&&(t.x2-=e),void 0!==t.y2&&(t.y2-=r),void 0!==t.x&&(t.x-=e),void 0!==t.y&&(t.y-=r),t.relative=!0),t}))},t.NORMALIZE_HVZ=function(t,e,r){return void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),n((function(i,n,a,s,o){if(isNaN(s)&&!(i.type&od.MOVE_TO))throw new Error("path must start with moveto");return e&&i.type&od.HORIZ_LINE_TO&&(i.type=od.LINE_TO,i.y=i.relative?0:a),r&&i.type&od.VERT_LINE_TO&&(i.type=od.LINE_TO,i.x=i.relative?0:n),t&&i.type&od.CLOSE_PATH&&(i.type=od.LINE_TO,i.x=i.relative?s-n:s,i.y=i.relative?o-a:o),i.type&od.ARC&&(0===i.rX||0===i.rY)&&(i.type=od.LINE_TO,delete i.rX,delete i.rY,delete i.xRot,delete i.lArcFlag,delete i.sweepFlag),i}))},t.NORMALIZE_ST=r,t.QT_TO_C=i,t.INFO=n,t.SANITIZE=function(t){void 0===t&&(t=0),Wp(t);var e=NaN,r=NaN,i=NaN,a=NaN;return n((function(n,s,o,h,u){var l=Math.abs,c=!1,f=0,g=0;if(n.type&od.SMOOTH_CURVE_TO&&(f=isNaN(e)?0:s-e,g=isNaN(r)?0:o-r),n.type&(od.CURVE_TO|od.SMOOTH_CURVE_TO)?(e=n.relative?s+n.x2:n.x2,r=n.relative?o+n.y2:n.y2):(e=NaN,r=NaN),n.type&od.SMOOTH_QUAD_TO?(i=isNaN(i)?s:2*s-i,a=isNaN(a)?o:2*o-a):n.type&od.QUAD_TO?(i=n.relative?s+n.x1:n.x1,a=n.relative?o+n.y1:n.y2):(i=NaN,a=NaN),n.type&od.LINE_COMMANDS||n.type&od.ARC&&(0===n.rX||0===n.rY||!n.lArcFlag)||n.type&od.CURVE_TO||n.type&od.SMOOTH_CURVE_TO||n.type&od.QUAD_TO||n.type&od.SMOOTH_QUAD_TO){var p=void 0===n.x?0:n.relative?n.x:n.x-s,d=void 0===n.y?0:n.relative?n.y:n.y-o;f=isNaN(i)?void 0===n.x1?f:n.relative?n.x:n.x1-s:i-s,g=isNaN(a)?void 0===n.y1?g:n.relative?n.y:n.y1-o:a-o;var y=void 0===n.x2?0:n.relative?n.x:n.x2-s,v=void 0===n.y2?0:n.relative?n.y:n.y2-o;l(p)<=t&&l(d)<=t&&l(f)<=t&&l(g)<=t&&l(y)<=t&&l(v)<=t&&(c=!0)}return n.type&od.CLOSE_PATH&&l(s-h)<=t&&l(o-u)<=t&&(c=!0),c?[]:n}))},t.MATRIX=a,t.ROTATE=function(t,e,r){void 0===e&&(e=0),void 0===r&&(r=0),Wp(t,e,r);var i=Math.sin(t),n=Math.cos(t);return a(n,i,-i,n,e-e*n+r*i,r-e*i-r*n)},t.TRANSLATE=function(t,e){return void 0===e&&(e=0),Wp(t,e),a(1,0,0,1,t,e)},t.SCALE=function(t,e){return void 0===e&&(e=t),Wp(t,e),a(t,0,0,e,0,0)},t.SKEW_X=function(t){return Wp(t),a(1,0,Math.atan(t),1,0,0)},t.SKEW_Y=function(t){return Wp(t),a(1,Math.atan(t),0,1,0,0)},t.X_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),Wp(t),a(-1,0,0,1,t,0)},t.Y_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),Wp(t),a(1,0,0,-1,0,t)},t.A_TO_C=function(){return n((function(t,e,r){return od.ARC===t.type?function(t,e,r){var i,n,a,s;t.cX||$p(t,e,r);for(var o=Math.min(t.phi1,t.phi2),h=Math.max(t.phi1,t.phi2)-o,u=Math.ceil(h/90),l=new Array(u),c=e,f=r,g=0;g<u;g++){var p=Kp(t.phi1,t.phi2,g/u),d=Kp(t.phi1,t.phi2,(g+1)/u),y=d-p,v=4/3*Math.tan(y*Zp/4),m=[Math.cos(p*Zp)-v*Math.sin(p*Zp),Math.sin(p*Zp)+v*Math.cos(p*Zp)],x=m[0],b=m[1],w=[Math.cos(d*Zp),Math.sin(d*Zp)],S=w[0],T=w[1],O=[S+v*Math.sin(d*Zp),T-v*Math.cos(d*Zp)],A=O[0],C=O[1];l[g]={relative:t.relative,type:od.CURVE_TO};var P=function(e,r){var i=Yp([e*t.rX,r*t.rY],t.xRot),n=i[0],a=i[1];return[t.cX+n,t.cY+a]};i=P(x,b),l[g].x1=i[0],l[g].y1=i[1],n=P(A,C),l[g].x2=n[0],l[g].y2=n[1],a=P(S,T),l[g].x=a[0],l[g].y=a[1],t.relative&&(l[g].x1-=c,l[g].y1-=f,l[g].x2-=c,l[g].y2-=f,l[g].x-=c,l[g].y-=f),c=(s=[l[g].x,l[g].y])[0],f=s[1]}return l}(t,t.relative?0:e,t.relative?0:r):t}))},t.ANNOTATE_ARCS=function(){return n((function(t,e,r){return t.relative&&(e=0,r=0),od.ARC===t.type&&$p(t,e,r),t}))},t.CLONE=function(){return function(t){var e={};for(var r in t)e[r]=t[r];return e}},t.CALCULATE_BOUNDS=function(){var t=e(),a=i(),s=r(),o=n((function(e,r,i){var n=s(a(t(function(t){var e={};for(var r in t)e[r]=t[r];return e}(e))));function h(t){t>o.maxX&&(o.maxX=t),t<o.minX&&(o.minX=t)}function u(t){t>o.maxY&&(o.maxY=t),t<o.minY&&(o.minY=t)}if(n.type&od.DRAWING_COMMANDS&&(h(r),u(i)),n.type&od.HORIZ_LINE_TO&&h(n.x),n.type&od.VERT_LINE_TO&&u(n.y),n.type&od.LINE_TO&&(h(n.x),u(n.y)),n.type&od.CURVE_TO){h(n.x),u(n.y);for(var l=0,c=td(r,n.x1,n.x2,n.x);l<c.length;l++)0<(P=c[l])&&1>P&&h(ed(r,n.x1,n.x2,n.x,P));for(var f=0,g=td(i,n.y1,n.y2,n.y);f<g.length;f++)0<(P=g[f])&&1>P&&u(ed(i,n.y1,n.y2,n.y,P))}if(n.type&od.ARC){h(n.x),u(n.y),$p(n,r,i);for(var p=n.xRot/180*Math.PI,d=Math.cos(p)*n.rX,y=Math.sin(p)*n.rX,v=-Math.sin(p)*n.rY,m=Math.cos(p)*n.rY,x=n.phi1<n.phi2?[n.phi1,n.phi2]:-180>n.phi2?[n.phi2+360,n.phi1+360]:[n.phi2,n.phi1],b=x[0],w=x[1],S=function(t){var e=t[0],r=t[1],i=180*Math.atan2(r,e)/Math.PI;return i<b?i+360:i},T=0,O=Gp(v,-d,0).map(S);T<O.length;T++)(P=O[T])>b&&P<w&&h(Jp(n.cX,d,v,P));for(var A=0,C=Gp(m,-y,0).map(S);A<C.length;A++){var P;(P=C[A])>b&&P<w&&u(Jp(n.cY,y,m,P))}}return e}));return o.minX=1/0,o.maxX=-1/0,o.minY=1/0,o.maxY=-1/0,o}}(Qp||(Qp={}));var rd,id=function(){function t(){}return t.prototype.round=function(t){return this.transform(Qp.ROUND(t))},t.prototype.toAbs=function(){return this.transform(Qp.TO_ABS())},t.prototype.toRel=function(){return this.transform(Qp.TO_REL())},t.prototype.normalizeHVZ=function(t,e,r){return this.transform(Qp.NORMALIZE_HVZ(t,e,r))},t.prototype.normalizeST=function(){return this.transform(Qp.NORMALIZE_ST())},t.prototype.qtToC=function(){return this.transform(Qp.QT_TO_C())},t.prototype.aToC=function(){return this.transform(Qp.A_TO_C())},t.prototype.sanitize=function(t){return this.transform(Qp.SANITIZE(t))},t.prototype.translate=function(t,e){return this.transform(Qp.TRANSLATE(t,e))},t.prototype.scale=function(t,e){return this.transform(Qp.SCALE(t,e))},t.prototype.rotate=function(t,e,r){return this.transform(Qp.ROTATE(t,e,r))},t.prototype.matrix=function(t,e,r,i,n,a){return this.transform(Qp.MATRIX(t,e,r,i,n,a))},t.prototype.skewX=function(t){return this.transform(Qp.SKEW_X(t))},t.prototype.skewY=function(t){return this.transform(Qp.SKEW_Y(t))},t.prototype.xSymmetry=function(t){return this.transform(Qp.X_AXIS_SYMMETRY(t))},t.prototype.ySymmetry=function(t){return this.transform(Qp.Y_AXIS_SYMMETRY(t))},t.prototype.annotateArcs=function(){return this.transform(Qp.ANNOTATE_ARCS())},t}(),nd=function(t){return" "===t||"\t"===t||"\r"===t||"\n"===t},ad=function(t){return"0".charCodeAt(0)<=t.charCodeAt(0)&&t.charCodeAt(0)<="9".charCodeAt(0)},sd=function(t){function e(){var e=t.call(this)||this;return e.curNumber="",e.curCommandType=-1,e.curCommandRelative=!1,e.canParseCommandOrComma=!0,e.curNumberHasExp=!1,e.curNumberHasExpDigits=!1,e.curNumberHasDecimal=!1,e.curArgs=[],e}return Xp(e,t),e.prototype.finish=function(t){if(void 0===t&&(t=[]),this.parse(" ",t),0!==this.curArgs.length||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return t},e.prototype.parse=function(t,e){var r=this;void 0===e&&(e=[]);for(var i=function(t){e.push(t),r.curArgs.length=0,r.canParseCommandOrComma=!0},n=0;n<t.length;n++){var a=t[n],s=!(this.curCommandType!==od.ARC||3!==this.curArgs.length&&4!==this.curArgs.length||1!==this.curNumber.length||"0"!==this.curNumber&&"1"!==this.curNumber),o=ad(a)&&("0"===this.curNumber&&"0"===a||s);if(!ad(a)||o)if("e"!==a&&"E"!==a)if("-"!==a&&"+"!==a||!this.curNumberHasExp||this.curNumberHasExpDigits)if("."!==a||this.curNumberHasExp||this.curNumberHasDecimal||s){if(this.curNumber&&-1!==this.curCommandType){var h=Number(this.curNumber);if(isNaN(h))throw new SyntaxError("Invalid number ending at "+n);if(this.curCommandType===od.ARC)if(0===this.curArgs.length||1===this.curArgs.length){if(0>h)throw new SyntaxError('Expected positive number, got "'+h+'" at index "'+n+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+n+'"');this.curArgs.push(h),this.curArgs.length===hd[this.curCommandType]&&(od.HORIZ_LINE_TO===this.curCommandType?i({type:od.HORIZ_LINE_TO,relative:this.curCommandRelative,x:h}):od.VERT_LINE_TO===this.curCommandType?i({type:od.VERT_LINE_TO,relative:this.curCommandRelative,y:h}):this.curCommandType===od.MOVE_TO||this.curCommandType===od.LINE_TO||this.curCommandType===od.SMOOTH_QUAD_TO?(i({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),od.MOVE_TO===this.curCommandType&&(this.curCommandType=od.LINE_TO)):this.curCommandType===od.CURVE_TO?i({type:od.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===od.SMOOTH_CURVE_TO?i({type:od.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===od.QUAD_TO?i({type:od.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===od.ARC&&i({type:od.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!nd(a))if(","===a&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==a&&"-"!==a&&"."!==a)if(o)this.curNumber=a,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError("Unterminated command at index "+n+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+a+'" at index '+n+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==a&&"Z"!==a)if("h"===a||"H"===a)this.curCommandType=od.HORIZ_LINE_TO,this.curCommandRelative="h"===a;else if("v"===a||"V"===a)this.curCommandType=od.VERT_LINE_TO,this.curCommandRelative="v"===a;else if("m"===a||"M"===a)this.curCommandType=od.MOVE_TO,this.curCommandRelative="m"===a;else if("l"===a||"L"===a)this.curCommandType=od.LINE_TO,this.curCommandRelative="l"===a;else if("c"===a||"C"===a)this.curCommandType=od.CURVE_TO,this.curCommandRelative="c"===a;else if("s"===a||"S"===a)this.curCommandType=od.SMOOTH_CURVE_TO,this.curCommandRelative="s"===a;else if("q"===a||"Q"===a)this.curCommandType=od.QUAD_TO,this.curCommandRelative="q"===a;else if("t"===a||"T"===a)this.curCommandType=od.SMOOTH_QUAD_TO,this.curCommandRelative="t"===a;else{if("a"!==a&&"A"!==a)throw new SyntaxError('Unexpected character "'+a+'" at index '+n+".");this.curCommandType=od.ARC,this.curCommandRelative="a"===a}else e.push({type:od.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=a,this.curNumberHasDecimal="."===a}else this.curNumber+=a,this.curNumberHasDecimal=!0;else this.curNumber+=a;else this.curNumber+=a,this.curNumberHasExp=!0;else this.curNumber+=a,this.curNumberHasExpDigits=this.curNumberHasExp}return e},e.prototype.transform=function(t){return Object.create(this,{parse:{value:function(e,r){void 0===r&&(r=[]);for(var i=0,n=Object.getPrototypeOf(this).parse.call(this,e);i<n.length;i++){var a=n[i],s=t(a);Array.isArray(s)?r.push.apply(r,s):r.push(s)}return r}}})},e}(id),od=function(t){function e(r){var i=t.call(this)||this;return i.commands="string"==typeof r?e.parse(r):r,i}return Xp(e,t),e.prototype.encode=function(){return e.encode(this.commands)},e.prototype.getBounds=function(){var t=Qp.CALCULATE_BOUNDS();return this.transform(t),t},e.prototype.transform=function(t){for(var e=[],r=0,i=this.commands;r<i.length;r++){var n=t(i[r]);Array.isArray(n)?e.push.apply(e,n):e.push(n)}return this.commands=e,this},e.encode=function(t){return function(t){var e="";Array.isArray(t)||(t=[t]);for(var r=0;r<t.length;r++){var i=t[r];if(i.type===od.CLOSE_PATH)e+="z";else if(i.type===od.HORIZ_LINE_TO)e+=(i.relative?"h":"H")+i.x;else if(i.type===od.VERT_LINE_TO)e+=(i.relative?"v":"V")+i.y;else if(i.type===od.MOVE_TO)e+=(i.relative?"m":"M")+i.x+" "+i.y;else if(i.type===od.LINE_TO)e+=(i.relative?"l":"L")+i.x+" "+i.y;else if(i.type===od.CURVE_TO)e+=(i.relative?"c":"C")+i.x1+" "+i.y1+" "+i.x2+" "+i.y2+" "+i.x+" "+i.y;else if(i.type===od.SMOOTH_CURVE_TO)e+=(i.relative?"s":"S")+i.x2+" "+i.y2+" "+i.x+" "+i.y;else if(i.type===od.QUAD_TO)e+=(i.relative?"q":"Q")+i.x1+" "+i.y1+" "+i.x+" "+i.y;else if(i.type===od.SMOOTH_QUAD_TO)e+=(i.relative?"t":"T")+i.x+" "+i.y;else{if(i.type!==od.ARC)throw new Error('Unexpected command type "'+i.type+'" at index '+r+".");e+=(i.relative?"a":"A")+i.rX+" "+i.rY+" "+i.xRot+" "+ +i.lArcFlag+" "+ +i.sweepFlag+" "+i.x+" "+i.y}}return e}(t)},e.parse=function(t){var e=new sd,r=[];return e.parse(t,r),e.finish(r),r},e.CLOSE_PATH=1,e.MOVE_TO=2,e.HORIZ_LINE_TO=4,e.VERT_LINE_TO=8,e.LINE_TO=16,e.CURVE_TO=32,e.SMOOTH_CURVE_TO=64,e.QUAD_TO=128,e.SMOOTH_QUAD_TO=256,e.ARC=512,e.LINE_COMMANDS=e.LINE_TO|e.HORIZ_LINE_TO|e.VERT_LINE_TO,e.DRAWING_COMMANDS=e.HORIZ_LINE_TO|e.VERT_LINE_TO|e.LINE_TO|e.CURVE_TO|e.SMOOTH_CURVE_TO|e.QUAD_TO|e.SMOOTH_QUAD_TO|e.ARC,e}(id),hd=((rd={})[od.MOVE_TO]=2,rd[od.LINE_TO]=2,rd[od.HORIZ_LINE_TO]=1,rd[od.VERT_LINE_TO]=1,rd[od.CLOSE_PATH]=0,rd[od.QUAD_TO]=4,rd[od.SMOOTH_QUAD_TO]=2,rd[od.CURVE_TO]=6,rd[od.SMOOTH_CURVE_TO]=4,rd[od.ARC]=7,rd),ud=f,ld=Xt,cd=$,fd=iu,gd=RegExp.prototype,pd=rr.PROPER,dd=Jr,yd=ke,vd=eu,md=o,xd=function(t){var e=t.flags;return void 0!==e||"flags"in gd||ld(t,"flags")||!cd(gd,t)?e:ud(fd,t)},bd="toString",wd=RegExp.prototype,Sd=wd[bd],Td=md((function(){return"/a/b"!==Sd.call({source:"a",flags:"b"})})),Od=pd&&Sd.name!==bd;function Ad(t){return(Ad="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}(Td||Od)&&dd(wd,bd,(function(){var t=yd(this);return"/"+vd(t.source)+"/"+vd(xd(t))}),{unsafe:!0});var Cd=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],Pd=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function Ed(t,e,r,i,n,a){if(!(isNaN(a)||a<1)){a|=0;var s=function(t,e,r,i,n){if("string"==typeof t&&(t=document.getElementById(t)),!t||"object"!==Ad(t)||!("getContext"in t))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var a=t.getContext("2d");try{return a.getImageData(e,r,i,n)}catch(s){throw new Error("unable to access image data: "+s)}}(t,e,r,i,n);s=function(t,e,r,i,n,a){for(var s,o=t.data,h=2*a+1,u=i-1,l=n-1,c=a+1,f=c*(c+1)/2,g=new Nd,p=g,d=1;d<h;d++)p=p.next=new Nd,d===c&&(s=p);p.next=g;for(var y=null,v=null,m=0,x=0,b=Cd[a],w=Pd[a],S=0;S<n;S++){p=g;for(var T=o[x],O=o[x+1],A=o[x+2],C=o[x+3],P=0;P<c;P++)p.r=T,p.g=O,p.b=A,p.a=C,p=p.next;for(var E=0,N=0,M=0,R=0,_=c*T,V=c*O,I=c*A,k=c*C,L=f*T,D=f*O,j=f*A,B=f*C,z=1;z<c;z++){var U=x+((u<z?u:z)<<2),F=o[U],H=o[U+1],X=o[U+2],Y=o[U+3],W=c-z;L+=(p.r=F)*W,D+=(p.g=H)*W,j+=(p.b=X)*W,B+=(p.a=Y)*W,E+=F,N+=H,M+=X,R+=Y,p=p.next}y=g,v=s;for(var q=0;q<i;q++){var $=B*b>>>w;if(o[x+3]=$,0!==$){var G=255/$;o[x]=(L*b>>>w)*G,o[x+1]=(D*b>>>w)*G,o[x+2]=(j*b>>>w)*G}else o[x]=o[x+1]=o[x+2]=0;L-=_,D-=V,j-=I,B-=k,_-=y.r,V-=y.g,I-=y.b,k-=y.a;var Q=q+a+1;Q=m+(Q<u?Q:u)<<2,L+=E+=y.r=o[Q],D+=N+=y.g=o[Q+1],j+=M+=y.b=o[Q+2],B+=R+=y.a=o[Q+3],y=y.next;var Z=v,K=Z.r,J=Z.g,tt=Z.b,et=Z.a;_+=K,V+=J,I+=tt,k+=et,E-=K,N-=J,M-=tt,R-=et,v=v.next,x+=4}m+=i}for(var rt=0;rt<i;rt++){var it=o[x=rt<<2],nt=o[x+1],at=o[x+2],st=o[x+3],ot=c*it,ht=c*nt,ut=c*at,lt=c*st,ct=f*it,ft=f*nt,gt=f*at,pt=f*st;p=g;for(var dt=0;dt<c;dt++)p.r=it,p.g=nt,p.b=at,p.a=st,p=p.next;for(var yt=i,vt=0,mt=0,xt=0,bt=0,wt=1;wt<=a;wt++){x=yt+rt<<2;var St=c-wt;ct+=(p.r=it=o[x])*St,ft+=(p.g=nt=o[x+1])*St,gt+=(p.b=at=o[x+2])*St,pt+=(p.a=st=o[x+3])*St,bt+=it,vt+=nt,mt+=at,xt+=st,p=p.next,wt<l&&(yt+=i)}x=rt,y=g,v=s;for(var Tt=0;Tt<n;Tt++){var Ot=x<<2;o[Ot+3]=st=pt*b>>>w,st>0?(st=255/st,o[Ot]=(ct*b>>>w)*st,o[Ot+1]=(ft*b>>>w)*st,o[Ot+2]=(gt*b>>>w)*st):o[Ot]=o[Ot+1]=o[Ot+2]=0,ct-=ot,ft-=ht,gt-=ut,pt-=lt,ot-=y.r,ht-=y.g,ut-=y.b,lt-=y.a,Ot=rt+((Ot=Tt+c)<l?Ot:l)*i<<2,ct+=bt+=y.r=o[Ot],ft+=vt+=y.g=o[Ot+1],gt+=mt+=y.b=o[Ot+2],pt+=xt+=y.a=o[Ot+3],y=y.next,ot+=it=v.r,ht+=nt=v.g,ut+=at=v.b,lt+=st=v.a,bt-=it,vt-=nt,mt-=at,xt-=st,v=v.next,x+=i}}return t}(s,0,0,i,n,a),t.getContext("2d").putImageData(s,e,r)}}var Nd=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null};var Md=Object.freeze({__proto__:null,offscreen:function(){var{DOMParser:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,createCanvas:(t,e)=>new OffscreenCanvas(t,e),createImage:t=>r((function*(){var e=yield fetch(t),r=yield e.blob();return yield createImageBitmap(r)}))()};return"undefined"==typeof DOMParser&&void 0!==t||Reflect.deleteProperty(e,"DOMParser"),e},node:function(t){var{DOMParser:e,canvas:r,fetch:i}=t;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,fetch:i,createCanvas:r.createCanvas,createImage:r.loadImage}}});function Rd(t){return t.replace(/(?!\u3000)\s+/gm," ")}function _d(t){return t.replace(/^[\n \t]+/,"")}function Vd(t){return t.replace(/[\n \t]+$/,"")}function Id(t){return((t||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var kd=/^[A-Z-]+$/;function Ld(t){return kd.test(t)?t.toLowerCase():t}function Dd(t){var e=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(t)||[];return e[2]||e[3]||e[4]}function jd(t){if(!t.startsWith("rgb"))return t;var e=3;return t.replace(/\d+(\.\d+)?/g,((t,r)=>e--&&r?String(Math.round(parseFloat(t))):t))}var Bd=/(\[[^\]]+\])/g,zd=/(#[^\s+>~.[:]+)/g,Ud=/(\.[^\s+>~.[:]+)/g,Fd=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,Hd=/(:[\w-]+\([^)]*\))/gi,Xd=/(:[^\s+>~.[:]+)/g,Yd=/([^\s+>~.[:]+)/g;function Wd(t,e){var r=e.exec(t);return r?[t.replace(e," "),r.length]:[t,0]}function qd(t){var e=[0,0,0],r=t.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),i=0;return[r,i]=Wd(r,Bd),e[1]+=i,[r,i]=Wd(r,zd),e[0]+=i,[r,i]=Wd(r,Ud),e[1]+=i,[r,i]=Wd(r,Fd),e[2]+=i,[r,i]=Wd(r,Hd),e[1]+=i,[r,i]=Wd(r,Xd),e[1]+=i,r=r.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[r,i]=Wd(r,Yd),e[2]+=i,e.join("")}var $d=1e-8;function Gd(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))}function Qd(t,e){return(t[0]*e[0]+t[1]*e[1])/(Gd(t)*Gd(e))}function Zd(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(Qd(t,e))}function Kd(t){return t*t*t}function Jd(t){return 3*t*t*(1-t)}function ty(t){return 3*t*(1-t)*(1-t)}function ey(t){return(1-t)*(1-t)*(1-t)}function ry(t){return t*t}function iy(t){return 2*t*(1-t)}function ny(t){return(1-t)*(1-t)}class ay{constructor(t,e,r){this.document=t,this.name=e,this.value=r,this.isNormalizedColor=!1}static empty(t){return new ay(t,"EMPTY","")}split(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",{document:e,name:r}=this;return Rd(this.getString()).trim().split(t).map((t=>new ay(e,r,t)))}hasValue(t){var{value:e}=this;return null!==e&&""!==e&&(t||0!==e)&&void 0!==e}isString(t){var{value:e}=this,r="string"==typeof e;return r&&t?t.test(e):r}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var t=this.getString();switch(!0){case t.endsWith("px"):case/^[0-9]+$/.test(t):return!0;default:return!1}}setValue(t){return this.value=t,this}getValue(t){return void 0===t||this.hasValue()?this.value:t}getNumber(t){if(!this.hasValue())return void 0===t?0:parseFloat(t);var{value:e}=this,r=parseFloat(e);return this.isString(/%$/)&&(r/=100),r}getString(t){return void 0===t||this.hasValue()?void 0===this.value?"":String(this.value):String(t)}getColor(t){var e=this.getString(t);return this.isNormalizedColor||(this.isNormalizedColor=!0,e=jd(e),this.value=e),e}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var[r,i]="boolean"==typeof t?[void 0,t]:[t],{viewPort:n}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(n.computeSize("x"),n.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(n.computeSize("x"),n.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*n.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*n.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&i:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*n.computeSize(r);default:var a=this.getNumber();return e&&a<1?a*n.computeSize(r):a}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var t=this.getString(),e=/#([^)'"]+)/.exec(t);return e&&(e=e[1]),e||(e=t),this.document.definitions[e]}getFillStyleDefinition(t,e){var r=this.getDefinition();if(!r)return null;if("function"==typeof r.createGradient)return r.createGradient(this.document.ctx,t,e);if("function"==typeof r.createPattern){if(r.getHrefAttribute().hasValue()){var i=r.getAttribute("patternTransform");r=r.getHrefAttribute().getDefinition(),i.hasValue()&&r.getAttribute("patternTransform",!0).setValue(i.value)}return r.createPattern(this.document.ctx,t,e)}return null}getTextBaseline(){return this.hasValue()?ay.textBaselineMapping[this.getString()]:null}addOpacity(t){for(var e=this.getColor(),r=e.length,i=0,n=0;n<r&&(","===e[n]&&i++,3!==i);n++);if(t.hasValue()&&this.isString()&&3!==i){var a=new Cp(e);a.ok&&(a.alpha=t.getNumber(),e=a.toRGBA())}return new ay(this.document,this.name,e)}}ay.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};class sy{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(t,e){this.viewPorts.push({width:t,height:e})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:t}=this;return t[t.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(t){return"number"==typeof t?t:"x"===t?this.width:"y"===t?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}class oy{constructor(t,e){this.x=t,this.y=e}static parse(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,[r=e,i=e]=Id(t);return new oy(r,i)}static parseScale(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,[r=e,i=r]=Id(t);return new oy(r,i)}static parsePath(t){for(var e=Id(t),r=e.length,i=[],n=0;n<r;n+=2)i.push(new oy(e[n],e[n+1]));return i}angleTo(t){return Math.atan2(t.y-this.y,t.x-this.x)}applyTransform(t){var{x:e,y:r}=this,i=e*t[0]+r*t[2]+t[4],n=e*t[1]+r*t[3]+t[5];this.x=i,this.y=n}}class hy{constructor(t){this.screen=t,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}isWorking(){return this.working}start(){if(!this.working){var{screen:t,onClick:e,onMouseMove:r}=this,i=t.ctx.canvas;i.onclick=e,i.onmousemove=r,this.working=!0}}stop(){if(this.working){var t=this.screen.ctx.canvas;this.working=!1,t.onclick=null,t.onmousemove=null}}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(this.working){var{screen:t,events:e,eventElements:r}=this,{style:i}=t.ctx.canvas;i&&(i.cursor=""),e.forEach(((t,e)=>{for(var{run:i}=t,n=r[e];n;)i(n),n=n.parent})),this.events=[],this.eventElements=[]}}checkPath(t,e){if(this.working&&e){var{events:r,eventElements:i}=this;r.forEach(((r,n)=>{var{x:a,y:s}=r;!i[n]&&e.isPointInPath&&e.isPointInPath(a,s)&&(i[n]=t)}))}}checkBoundingBox(t,e){if(this.working&&e){var{events:r,eventElements:i}=this;r.forEach(((r,n)=>{var{x:a,y:s}=r;!i[n]&&e.isPointInBox(a,s)&&(i[n]=t)}))}}mapXY(t,e){for(var{window:r,ctx:i}=this.screen,n=new oy(t,e),a=i.canvas;a;)n.x-=a.offsetLeft,n.y-=a.offsetTop,a=a.offsetParent;return r.scrollX&&(n.x+=r.scrollX),r.scrollY&&(n.y+=r.scrollY),n}onClick(t){var{x:e,y:r}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onclick",x:e,y:r,run(t){t.onClick&&t.onClick()}})}onMouseMove(t){var{x:e,y:r}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onmousemove",x:e,y:r,run(t){t.onMouseMove&&t.onMouseMove()}})}}var uy="undefined"!=typeof window?window:null,ly="undefined"!=typeof fetch?fetch.bind(void 0):null;class cy{constructor(t){var{fetch:e=ly,window:r=uy}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.ctx=t,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new sy,this.mouse=new hy(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=r,this.fetch=e}wait(t){this.waits.push(t)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var t=this.waits.every((t=>t()));return t&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=t,t}setDefaults(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4}setViewBox(t){var{document:e,ctx:r,aspectRatio:i,width:n,desiredWidth:a,height:s,desiredHeight:o,minX:h=0,minY:u=0,refX:l,refY:c,clip:f=!1,clipX:g=0,clipY:p=0}=t,d=Rd(i).replace(/^defer\s/,""),[y,v]=d.split(" "),m=y||"xMidYMid",x=v||"meet",b=n/a,w=s/o,S=Math.min(b,w),T=Math.max(b,w),O=a,A=o;"meet"===x&&(O*=S,A*=S),"slice"===x&&(O*=T,A*=T);var C=new ay(e,"refX",l),P=new ay(e,"refY",c),E=C.hasValue()&&P.hasValue();if(E&&r.translate(-S*C.getPixels("x"),-S*P.getPixels("y")),f){var N=S*g,M=S*p;r.beginPath(),r.moveTo(N,M),r.lineTo(n,M),r.lineTo(n,s),r.lineTo(N,s),r.closePath(),r.clip()}if(!E){var R="meet"===x&&S===w,_="slice"===x&&T===w,V="meet"===x&&S===b,I="slice"===x&&T===b;m.startsWith("xMid")&&(R||_)&&r.translate(n/2-O/2,0),m.endsWith("YMid")&&(V||I)&&r.translate(0,s/2-A/2),m.startsWith("xMax")&&(R||_)&&r.translate(n-O,0),m.endsWith("YMax")&&(V||I)&&r.translate(0,s-A)}switch(!0){case"none"===m:r.scale(b,w);break;case"meet"===x:r.scale(S,S);break;case"slice"===x:r.scale(T,T)}r.translate(-h,-u)}start(t){var{enableRedraw:e=!1,ignoreMouse:r=!1,ignoreAnimation:i=!1,ignoreDimensions:n=!1,ignoreClear:a=!1,forceRedraw:s,scaleWidth:o,scaleHeight:h,offsetX:u,offsetY:l}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{FRAMERATE:c,mouse:f}=this,g=1e3/c;if(this.frameDuration=g,this.readyPromise=new Promise((t=>{this.resolveReady=t})),this.isReady()&&this.render(t,n,a,o,h,u,l),e){var p=Date.now(),d=p,y=0,v=()=>{p=Date.now(),(y=p-d)>=g&&(d=p-y%g,this.shouldUpdate(i,s)&&(this.render(t,n,a,o,h,u,l),f.runEvents())),this.intervalId=fp(v)};r||f.start(),this.intervalId=fp(v)}}stop(){this.intervalId&&(fp.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(t,e){if(!t){var{frameDuration:r}=this;if(this.animations.reduce(((t,e)=>e.update(r)||t),!1))return!0}return!("function"!=typeof e||!e())||(!(this.isReadyLock||!this.isReady())||!!this.mouse.hasEvents())}render(t,e,r,i,n,a,s){var{CLIENT_WIDTH:o,CLIENT_HEIGHT:h,viewPort:u,ctx:l,isFirstRender:c}=this,f=l.canvas;u.clear(),f.width&&f.height?u.setCurrent(f.width,f.height):u.setCurrent(o,h);var g=t.getStyle("width"),p=t.getStyle("height");!e&&(c||"number"!=typeof i&&"number"!=typeof n)&&(g.hasValue()&&(f.width=g.getPixels("x"),f.style&&(f.style.width="".concat(f.width,"px"))),p.hasValue()&&(f.height=p.getPixels("y"),f.style&&(f.style.height="".concat(f.height,"px"))));var d=f.clientWidth||f.width,y=f.clientHeight||f.height;if(e&&g.hasValue()&&p.hasValue()&&(d=g.getPixels("x"),y=p.getPixels("y")),u.setCurrent(d,y),"number"==typeof a&&t.getAttribute("x",!0).setValue(a),"number"==typeof s&&t.getAttribute("y",!0).setValue(s),"number"==typeof i||"number"==typeof n){var v=Id(t.getAttribute("viewBox").getString()),m=0,x=0;if("number"==typeof i){var b=t.getStyle("width");b.hasValue()?m=b.getPixels("x")/i:isNaN(v[2])||(m=v[2]/i)}if("number"==typeof n){var w=t.getStyle("height");w.hasValue()?x=w.getPixels("y")/n:isNaN(v[3])||(x=v[3]/n)}m||(m=x),x||(x=m),t.getAttribute("width",!0).setValue(i),t.getAttribute("height",!0).setValue(n);var S=t.getStyle("transform",!0,!0);S.setValue("".concat(S.getString()," scale(").concat(1/m,", ").concat(1/x,")"))}r||l.clearRect(0,0,d,y),t.render(l),c&&(this.isFirstRender=!1)}}cy.defaultWindow=uy,cy.defaultFetch=ly;var{defaultFetch:fy}=cy,gy="undefined"!=typeof DOMParser?DOMParser:null;class py{constructor(){var{fetch:t=fy,DOMParser:e=gy}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fetch=t,this.DOMParser=e}parse(t){var e=this;return r((function*(){return t.startsWith("<")?e.parseFromString(t):e.load(t)}))()}parseFromString(t){var e=new this.DOMParser;try{return this.checkDocument(e.parseFromString(t,"image/svg+xml"))}catch(r){return this.checkDocument(e.parseFromString(t,"text/xml"))}}checkDocument(t){var e=t.getElementsByTagName("parsererror")[0];if(e)throw new Error(e.textContent);return t}load(t){var e=this;return r((function*(){var r=yield e.fetch(t),i=yield r.text();return e.parseFromString(i)}))()}}class dy{constructor(t,e){this.type="translate",this.point=null,this.point=oy.parse(e)}apply(t){var{x:e,y:r}=this.point;t.translate(e||0,r||0)}unapply(t){var{x:e,y:r}=this.point;t.translate(-1*e||0,-1*r||0)}applyToPoint(t){var{x:e,y:r}=this.point;t.applyTransform([1,0,0,1,e||0,r||0])}}class yy{constructor(t,e,r){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var i=Id(e);this.angle=new ay(t,"angle",i[0]),this.originX=r[0],this.originY=r[1],this.cx=i[1]||0,this.cy=i[2]||0}apply(t){var{cx:e,cy:r,originX:i,originY:n,angle:a}=this,s=e+i.getPixels("x"),o=r+n.getPixels("y");t.translate(s,o),t.rotate(a.getRadians()),t.translate(-s,-o)}unapply(t){var{cx:e,cy:r,originX:i,originY:n,angle:a}=this,s=e+i.getPixels("x"),o=r+n.getPixels("y");t.translate(s,o),t.rotate(-1*a.getRadians()),t.translate(-s,-o)}applyToPoint(t){var{cx:e,cy:r,angle:i}=this,n=i.getRadians();t.applyTransform([1,0,0,1,e||0,r||0]),t.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),t.applyTransform([1,0,0,1,-e||0,-r||0])}}class vy{constructor(t,e,r){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var i=oy.parseScale(e);0!==i.x&&0!==i.y||(i.x=$d,i.y=$d),this.scale=i,this.originX=r[0],this.originY=r[1]}apply(t){var{scale:{x:e,y:r},originX:i,originY:n}=this,a=i.getPixels("x"),s=n.getPixels("y");t.translate(a,s),t.scale(e,r||e),t.translate(-a,-s)}unapply(t){var{scale:{x:e,y:r},originX:i,originY:n}=this,a=i.getPixels("x"),s=n.getPixels("y");t.translate(a,s),t.scale(1/e,1/r||e),t.translate(-a,-s)}applyToPoint(t){var{x:e,y:r}=this.scale;t.applyTransform([e||0,0,0,r||0,0,0])}}class my{constructor(t,e,r){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=Id(e),this.originX=r[0],this.originY=r[1]}apply(t){var{originX:e,originY:r,matrix:i}=this,n=e.getPixels("x"),a=r.getPixels("y");t.translate(n,a),t.transform(i[0],i[1],i[2],i[3],i[4],i[5]),t.translate(-n,-a)}unapply(t){var{originX:e,originY:r,matrix:i}=this,n=i[0],a=i[2],s=i[4],o=i[1],h=i[3],u=i[5],l=1/(n*(1*h-0*u)-a*(1*o-0*u)+s*(0*o-0*h)),c=e.getPixels("x"),f=r.getPixels("y");t.translate(c,f),t.transform(l*(1*h-0*u),l*(0*u-1*o),l*(0*s-1*a),l*(1*n-0*s),l*(a*u-s*h),l*(s*o-n*u)),t.translate(-c,-f)}applyToPoint(t){t.applyTransform(this.matrix)}}class xy extends my{constructor(t,e,r){super(t,e,r),this.type="skew",this.angle=null,this.angle=new ay(t,"angle",e)}}class by extends xy{constructor(t,e,r){super(t,e,r),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class wy extends xy{constructor(t,e,r){super(t,e,r),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}class Sy{constructor(t,e,r){this.document=t,this.transforms=[];var i=function(t){return Rd(t).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}(e);i.forEach((t=>{if("none"!==t){var[e,i]=function(t){var[e,r]=t.split("(");return[e.trim(),r.trim().replace(")","")]}(t),n=Sy.transformTypes[e];void 0!==n&&this.transforms.push(new n(this.document,i,r))}}))}static fromElement(t,e){var r=e.getStyle("transform",!1,!0),[i,n=i]=e.getStyle("transform-origin",!1,!0).split(),a=[i,n];return r.hasValue()?new Sy(t,r.getString(),a):null}apply(t){for(var{transforms:e}=this,r=e.length,i=0;i<r;i++)e[i].apply(t)}unapply(t){for(var{transforms:e}=this,r=e.length-1;r>=0;r--)e[r].unapply(t)}applyToPoint(t){for(var{transforms:e}=this,r=e.length,i=0;i<r;i++)e[i].applyToPoint(t)}}Sy.transformTypes={translate:dy,rotate:yy,scale:vy,matrix:my,skewX:by,skewY:wy};class Ty{constructor(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.document=t,this.node=e,this.captureTextNodes=r,this.attributes=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],e&&1===e.nodeType){if(Array.from(e.attributes).forEach((e=>{var r=Ld(e.nodeName);this.attributes[r]=new ay(t,r,e.value)})),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue())this.getAttribute("style").getString().split(";").map((t=>t.trim())).forEach((e=>{if(e){var[r,i]=e.split(":").map((t=>t.trim()));this.styles[r]=new ay(t,r,i)}}));var{definitions:i}=t,n=this.getAttribute("id");n.hasValue()&&(i[n.getString()]||(i[n.getString()]=this)),Array.from(e.childNodes).forEach((e=>{if(1===e.nodeType)this.addChild(e);else if(r&&(3===e.nodeType||4===e.nodeType)){var i=t.createTextNode(e);i.getText().length>0&&this.addChild(i)}}))}}getAttribute(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.attributes[t];if(!r&&e){var i=new ay(this.document,t,"");return this.attributes[t]=i,i}return r||ay.empty(this.document)}getHrefAttribute(){for(var t in this.attributes)if("href"===t||t.endsWith(":href"))return this.attributes[t];return ay.empty(this.document)}getStyle(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.styles[t];if(i)return i;var n=this.getAttribute(t);if(null!=n&&n.hasValue())return this.styles[t]=n,n;if(!r){var{parent:a}=this;if(a){var s=a.getStyle(t);if(null!=s&&s.hasValue())return s}}if(e){var o=new ay(this.document,t,"");return this.styles[t]=o,o}return i||ay.empty(this.document)}render(t){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(t.save(),this.getStyle("mask").hasValue()){var e=this.getStyle("mask").getDefinition();e&&(this.applyEffects(t),e.apply(t,this))}else if("none"!==this.getStyle("filter").getValue("none")){var r=this.getStyle("filter").getDefinition();r&&(this.applyEffects(t),r.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}}setContext(t){}applyEffects(t){var e=Sy.fromElement(this.document,this);e&&e.apply(t);var r=this.getStyle("clip-path",!1,!0);if(r.hasValue()){var i=r.getDefinition();i&&i.apply(t)}}clearContext(t){}renderChildren(t){this.children.forEach((e=>{e.render(t)}))}addChild(t){var e=t instanceof Ty?t:this.document.createElement(t);e.parent=this,Ty.ignoreChildTypes.includes(e.type)||this.children.push(e)}matchesSelector(t){var e,{node:r}=this;if("function"==typeof r.matches)return r.matches(t);var i=null===(e=r.getAttribute)||void 0===e?void 0:e.call(r,"class");return!(!i||""===i)&&i.split(" ").some((e=>".".concat(e)===t))}addStylesFromStyleDefinition(){var{styles:t,stylesSpecificity:e}=this.document;for(var r in t)if(!r.startsWith("@")&&this.matchesSelector(r)){var i=t[r],n=e[r];if(i)for(var a in i){var s=this.stylesSpecificity[a];void 0===s&&(s="000"),n>=s&&(this.styles[a]=i[a],this.stylesSpecificity[a]=n)}}}removeStyles(t,e){return e.reduce(((e,r)=>{var i=t.getStyle(r);if(!i.hasValue())return e;var n=i.getString();return i.setValue(""),[...e,[r,n]]}),[])}restoreStyles(t,e){e.forEach((e=>{var[r,i]=e;t.getStyle(r,!0).setValue(i)}))}isFirstChild(){var t;return 0===(null===(t=this.parent)||void 0===t?void 0:t.children.indexOf(this))}}Ty.ignoreChildTypes=["title"];class Oy extends Ty{constructor(t,e,r){super(t,e,r)}}function Ay(t){var e=t.trim();return/^('|")/.test(e)?e:'"'.concat(e,'"')}function Cy(t){if(!t)return"";var e=t.trim().toLowerCase();switch(e){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return e;default:return/^oblique\s+(-|)\d+deg$/.test(e)?e:""}}function Py(t){if(!t)return"";var e=t.trim().toLowerCase();switch(e){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return e;default:return/^[\d.]+$/.test(e)?e:""}}class Ey{constructor(t,e,r,i,n,a){var s=a?"string"==typeof a?Ey.parse(a):a:{};this.fontFamily=n||s.fontFamily,this.fontSize=i||s.fontSize,this.fontStyle=t||s.fontStyle,this.fontWeight=r||s.fontWeight,this.fontVariant=e||s.fontVariant}static parse(){var t=arguments.length>1?arguments[1]:void 0,e="",r="",i="",n="",a="",s=Rd(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim().split(" "),o={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return s.forEach((t=>{switch(!0){case!o.fontStyle&&Ey.styles.includes(t):"inherit"!==t&&(e=t),o.fontStyle=!0;break;case!o.fontVariant&&Ey.variants.includes(t):"inherit"!==t&&(r=t),o.fontStyle=!0,o.fontVariant=!0;break;case!o.fontWeight&&Ey.weights.includes(t):"inherit"!==t&&(i=t),o.fontStyle=!0,o.fontVariant=!0,o.fontWeight=!0;break;case!o.fontSize:"inherit"!==t&&([n]=t.split("/")),o.fontStyle=!0,o.fontVariant=!0,o.fontWeight=!0,o.fontSize=!0;break;default:"inherit"!==t&&(a+=t)}})),new Ey(e,r,i,n,a,t)}toString(){return[Cy(this.fontStyle),this.fontVariant,Py(this.fontWeight),this.fontSize,(t=this.fontFamily,"undefined"==typeof process?t:t.trim().split(",").map(Ay).join(","))].join(" ").trim();var t}}Ey.styles="normal|italic|oblique|inherit",Ey.variants="normal|small-caps|inherit",Ey.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class Ny{constructor(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;this.x1=t,this.y1=e,this.x2=r,this.y2=i,this.addPoint(t,e),this.addPoint(r,i)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(t,e){void 0!==t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),void 0!==e&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),e<this.y1&&(this.y1=e),e>this.y2&&(this.y2=e))}addX(t){this.addPoint(t,null)}addY(t){this.addPoint(null,t)}addBoundingBox(t){if(t){var{x1:e,y1:r,x2:i,y2:n}=t;this.addPoint(e,r),this.addPoint(i,n)}}sumCubic(t,e,r,i,n){return Math.pow(1-t,3)*e+3*Math.pow(1-t,2)*t*r+3*(1-t)*Math.pow(t,2)*i+Math.pow(t,3)*n}bezierCurveAdd(t,e,r,i,n){var a=6*e-12*r+6*i,s=-3*e+9*r-9*i+3*n,o=3*r-3*e;if(0!==s){var h=Math.pow(a,2)-4*o*s;if(!(h<0)){var u=(-a+Math.sqrt(h))/(2*s);0<u&&u<1&&(t?this.addX(this.sumCubic(u,e,r,i,n)):this.addY(this.sumCubic(u,e,r,i,n)));var l=(-a-Math.sqrt(h))/(2*s);0<l&&l<1&&(t?this.addX(this.sumCubic(l,e,r,i,n)):this.addY(this.sumCubic(l,e,r,i,n)))}}else{if(0===a)return;var c=-o/a;0<c&&c<1&&(t?this.addX(this.sumCubic(c,e,r,i,n)):this.addY(this.sumCubic(c,e,r,i,n)))}}addBezierCurve(t,e,r,i,n,a,s,o){this.addPoint(t,e),this.addPoint(s,o),this.bezierCurveAdd(!0,t,r,n,s),this.bezierCurveAdd(!1,e,i,a,o)}addQuadraticCurve(t,e,r,i,n,a){var s=t+2/3*(r-t),o=e+2/3*(i-e),h=s+1/3*(n-t),u=o+1/3*(a-e);this.addBezierCurve(t,e,s,h,o,u,n,a)}isPointInBox(t,e){var{x1:r,y1:i,x2:n,y2:a}=this;return r<=t&&t<=n&&i<=e&&e<=a}}class My extends od{constructor(t){super(t.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,"")),this.control=null,this.start=null,this.current=null,this.command=null,this.commands=this.commands,this.i=-1,this.previousCommand=null,this.points=[],this.angles=[]}reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new oy(0,0),this.control=new oy(0,0),this.current=new oy(0,0),this.points=[],this.angles=[]}isEnd(){var{i:t,commands:e}=this;return t>=e.length-1}next(){var t=this.commands[++this.i];return this.previousCommand=this.command,this.command=t,t}getPoint(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"x",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",r=new oy(this.command[t],this.command[e]);return this.makeAbsolute(r)}getAsControlPoint(t,e){var r=this.getPoint(t,e);return this.control=r,r}getAsCurrentPoint(t,e){var r=this.getPoint(t,e);return this.current=r,r}getReflectedControlPoint(){var t=this.previousCommand.type;if(t!==od.CURVE_TO&&t!==od.SMOOTH_CURVE_TO&&t!==od.QUAD_TO&&t!==od.SMOOTH_QUAD_TO)return this.current;var{current:{x:e,y:r},control:{x:i,y:n}}=this;return new oy(2*e-i,2*r-n)}makeAbsolute(t){if(this.command.relative){var{x:e,y:r}=this.current;t.x+=e,t.y+=r}return t}addMarker(t,e,r){var{points:i,angles:n}=this;r&&n.length>0&&!n[n.length-1]&&(n[n.length-1]=i[i.length-1].angleTo(r)),this.addMarkerAngle(t,e?e.angleTo(t):null)}addMarkerAngle(t,e){this.points.push(t),this.angles.push(e)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:t}=this,e=t.length,r=0;r<e;r++)if(!t[r])for(var i=r+1;i<e;i++)if(t[i]){t[r]=t[i];break}return t}}class Ry extends Ty{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var t=1,e=this;e;){var r=e.getStyle("opacity",!1,!0);r.hasValue(!0)&&(t*=r.getNumber()),e=e.parent}return t}setContext(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e){var r=this.getStyle("fill"),i=this.getStyle("fill-opacity"),n=this.getStyle("stroke"),a=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var s=r.getFillStyleDefinition(this,i);s&&(t.fillStyle=s)}else if(r.hasValue()){"currentColor"===r.getString()&&r.setValue(this.getStyle("color").getColor());var o=r.getColor();"inherit"!==o&&(t.fillStyle="none"===o?"rgba(0,0,0,0)":o)}if(i.hasValue()){var h=new ay(this.document,"fill",t.fillStyle).addOpacity(i).getColor();t.fillStyle=h}if(n.isUrlDefinition()){var u=n.getFillStyleDefinition(this,a);u&&(t.strokeStyle=u)}else if(n.hasValue()){"currentColor"===n.getString()&&n.setValue(this.getStyle("color").getColor());var l=n.getString();"inherit"!==l&&(t.strokeStyle="none"===l?"rgba(0,0,0,0)":l)}if(a.hasValue()){var c=new ay(this.document,"stroke",t.strokeStyle).addOpacity(a).getString();t.strokeStyle=c}var f=this.getStyle("stroke-width");if(f.hasValue()){var g=f.getPixels();t.lineWidth=g||$d}var p=this.getStyle("stroke-linecap"),d=this.getStyle("stroke-linejoin"),y=this.getStyle("stroke-miterlimit"),v=this.getStyle("stroke-dasharray"),m=this.getStyle("stroke-dashoffset");if(p.hasValue()&&(t.lineCap=p.getString()),d.hasValue()&&(t.lineJoin=d.getString()),y.hasValue()&&(t.miterLimit=y.getNumber()),v.hasValue()&&"none"!==v.getString()){var x=Id(v.getString());void 0!==t.setLineDash?t.setLineDash(x):void 0!==t.webkitLineDash?t.webkitLineDash=x:void 0===t.mozDash||1===x.length&&0===x[0]||(t.mozDash=x);var b=m.getPixels();void 0!==t.lineDashOffset?t.lineDashOffset=b:void 0!==t.webkitLineDashOffset?t.webkitLineDashOffset=b:void 0!==t.mozDashOffset&&(t.mozDashOffset=b)}}if(this.modifiedEmSizeStack=!1,void 0!==t.font){var w=this.getStyle("font"),S=this.getStyle("font-style"),T=this.getStyle("font-variant"),O=this.getStyle("font-weight"),A=this.getStyle("font-size"),C=this.getStyle("font-family"),P=new Ey(S.getString(),T.getString(),O.getString(),A.hasValue()?"".concat(A.getPixels(!0),"px"):"",C.getString(),Ey.parse(w.getString(),t.font));S.setValue(P.fontStyle),T.setValue(P.fontVariant),O.setValue(P.fontWeight),A.setValue(P.fontSize),C.setValue(P.fontFamily),t.font=P.toString(),A.isPixels()&&(this.document.emSize=A.getPixels(),this.modifiedEmSizeStack=!0)}e||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}clearContext(t){super.clearContext(t),this.modifiedEmSizeStack&&this.document.popEmSize()}}class _y extends Ry{constructor(t,e,r){super(t,e,r),this.type="path",this.pathParser=null,this.pathParser=new My(this.getAttribute("d").getString())}path(t){var{pathParser:e}=this,r=new Ny;for(e.reset(),t&&t.beginPath();!e.isEnd();)switch(e.next().type){case My.MOVE_TO:this.pathM(t,r);break;case My.LINE_TO:this.pathL(t,r);break;case My.HORIZ_LINE_TO:this.pathH(t,r);break;case My.VERT_LINE_TO:this.pathV(t,r);break;case My.CURVE_TO:this.pathC(t,r);break;case My.SMOOTH_CURVE_TO:this.pathS(t,r);break;case My.QUAD_TO:this.pathQ(t,r);break;case My.SMOOTH_QUAD_TO:this.pathT(t,r);break;case My.ARC:this.pathA(t,r);break;case My.CLOSE_PATH:this.pathZ(t,r)}return r}getBoundingBox(t){return this.path()}getMarkers(){var{pathParser:t}=this,e=t.getMarkerPoints(),r=t.getMarkerAngles();return e.map(((t,e)=>[t,r[e]]))}renderChildren(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var e=this.getStyle("fill-rule");""!==t.fillStyle&&("inherit"!==e.getString("inherit")?t.fill(e.getString()):t.fill()),""!==t.strokeStyle&&("non-scaling-stroke"===this.getAttribute("vector-effect").getString()?(t.save(),t.setTransform(1,0,0,1,0,0),t.stroke(),t.restore()):t.stroke());var r=this.getMarkers();if(r){var i=r.length-1,n=this.getStyle("marker-start"),a=this.getStyle("marker-mid"),s=this.getStyle("marker-end");if(n.isUrlDefinition()){var o=n.getDefinition(),[h,u]=r[0];o.render(t,h,u)}if(a.isUrlDefinition())for(var l=a.getDefinition(),c=1;c<i;c++){var[f,g]=r[c];l.render(t,f,g)}if(s.isUrlDefinition()){var p=s.getDefinition(),[d,y]=r[i];p.render(t,d,y)}}}static pathM(t){var e=t.getAsCurrentPoint();return t.start=t.current,{point:e}}pathM(t,e){var{pathParser:r}=this,{point:i}=_y.pathM(r),{x:n,y:a}=i;r.addMarker(i),e.addPoint(n,a),t&&t.moveTo(n,a)}static pathL(t){var{current:e}=t;return{current:e,point:t.getAsCurrentPoint()}}pathL(t,e){var{pathParser:r}=this,{current:i,point:n}=_y.pathL(r),{x:a,y:s}=n;r.addMarker(n,i),e.addPoint(a,s),t&&t.lineTo(a,s)}static pathH(t){var{current:e,command:r}=t,i=new oy((r.relative?e.x:0)+r.x,e.y);return t.current=i,{current:e,point:i}}pathH(t,e){var{pathParser:r}=this,{current:i,point:n}=_y.pathH(r),{x:a,y:s}=n;r.addMarker(n,i),e.addPoint(a,s),t&&t.lineTo(a,s)}static pathV(t){var{current:e,command:r}=t,i=new oy(e.x,(r.relative?e.y:0)+r.y);return t.current=i,{current:e,point:i}}pathV(t,e){var{pathParser:r}=this,{current:i,point:n}=_y.pathV(r),{x:a,y:s}=n;r.addMarker(n,i),e.addPoint(a,s),t&&t.lineTo(a,s)}static pathC(t){var{current:e}=t;return{current:e,point:t.getPoint("x1","y1"),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}pathC(t,e){var{pathParser:r}=this,{current:i,point:n,controlPoint:a,currentPoint:s}=_y.pathC(r);r.addMarker(s,a,n),e.addBezierCurve(i.x,i.y,n.x,n.y,a.x,a.y,s.x,s.y),t&&t.bezierCurveTo(n.x,n.y,a.x,a.y,s.x,s.y)}static pathS(t){var{current:e}=t;return{current:e,point:t.getReflectedControlPoint(),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}pathS(t,e){var{pathParser:r}=this,{current:i,point:n,controlPoint:a,currentPoint:s}=_y.pathS(r);r.addMarker(s,a,n),e.addBezierCurve(i.x,i.y,n.x,n.y,a.x,a.y,s.x,s.y),t&&t.bezierCurveTo(n.x,n.y,a.x,a.y,s.x,s.y)}static pathQ(t){var{current:e}=t;return{current:e,controlPoint:t.getAsControlPoint("x1","y1"),currentPoint:t.getAsCurrentPoint()}}pathQ(t,e){var{pathParser:r}=this,{current:i,controlPoint:n,currentPoint:a}=_y.pathQ(r);r.addMarker(a,n,n),e.addQuadraticCurve(i.x,i.y,n.x,n.y,a.x,a.y),t&&t.quadraticCurveTo(n.x,n.y,a.x,a.y)}static pathT(t){var{current:e}=t,r=t.getReflectedControlPoint();return t.control=r,{current:e,controlPoint:r,currentPoint:t.getAsCurrentPoint()}}pathT(t,e){var{pathParser:r}=this,{current:i,controlPoint:n,currentPoint:a}=_y.pathT(r);r.addMarker(a,n,n),e.addQuadraticCurve(i.x,i.y,n.x,n.y,a.x,a.y),t&&t.quadraticCurveTo(n.x,n.y,a.x,a.y)}static pathA(t){var{current:e,command:r}=t,{rX:i,rY:n,xRot:a,lArcFlag:s,sweepFlag:o}=r,h=a*(Math.PI/180),u=t.getAsCurrentPoint(),l=new oy(Math.cos(h)*(e.x-u.x)/2+Math.sin(h)*(e.y-u.y)/2,-Math.sin(h)*(e.x-u.x)/2+Math.cos(h)*(e.y-u.y)/2),c=Math.pow(l.x,2)/Math.pow(i,2)+Math.pow(l.y,2)/Math.pow(n,2);c>1&&(i*=Math.sqrt(c),n*=Math.sqrt(c));var f=(s===o?-1:1)*Math.sqrt((Math.pow(i,2)*Math.pow(n,2)-Math.pow(i,2)*Math.pow(l.y,2)-Math.pow(n,2)*Math.pow(l.x,2))/(Math.pow(i,2)*Math.pow(l.y,2)+Math.pow(n,2)*Math.pow(l.x,2)));isNaN(f)&&(f=0);var g=new oy(f*i*l.y/n,f*-n*l.x/i),p=new oy((e.x+u.x)/2+Math.cos(h)*g.x-Math.sin(h)*g.y,(e.y+u.y)/2+Math.sin(h)*g.x+Math.cos(h)*g.y),d=Zd([1,0],[(l.x-g.x)/i,(l.y-g.y)/n]),y=[(l.x-g.x)/i,(l.y-g.y)/n],v=[(-l.x-g.x)/i,(-l.y-g.y)/n],m=Zd(y,v);return Qd(y,v)<=-1&&(m=Math.PI),Qd(y,v)>=1&&(m=0),{currentPoint:u,rX:i,rY:n,sweepFlag:o,xAxisRotation:h,centp:p,a1:d,ad:m}}pathA(t,e){var{pathParser:r}=this,{currentPoint:i,rX:n,rY:a,sweepFlag:s,xAxisRotation:o,centp:h,a1:u,ad:l}=_y.pathA(r),c=1-s?1:-1,f=u+c*(l/2),g=new oy(h.x+n*Math.cos(f),h.y+a*Math.sin(f));if(r.addMarkerAngle(g,f-c*Math.PI/2),r.addMarkerAngle(i,f-c*Math.PI),e.addPoint(i.x,i.y),t&&!isNaN(u)&&!isNaN(l)){var p=n>a?n:a,d=n>a?1:n/a,y=n>a?a/n:1;t.translate(h.x,h.y),t.rotate(o),t.scale(d,y),t.arc(0,0,p,u,u+l,Boolean(1-s)),t.scale(1/d,1/y),t.rotate(-o),t.translate(-h.x,-h.y)}}static pathZ(t){t.current=t.start}pathZ(t,e){_y.pathZ(this.pathParser),t&&e.x1!==e.x2&&e.y1!==e.y2&&t.closePath()}}class Vy extends _y{constructor(t,e,r){super(t,e,r),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}}class Iy extends Ry{constructor(t,e,r){super(t,e,new.target===Iy||r),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];super.setContext(t,e);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();r&&(t.textBaseline=r)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(t){if("text"!==this.type)return this.getTElementBoundingBox(t);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t);var e=null;return this.children.forEach(((r,i)=>{var n=this.getChildBoundingBox(t,this,this,i);e?e.addBoundingBox(n):e=n})),e}getFontSize(){var{document:t,parent:e}=this,r=Ey.parse(t.ctx.font).fontSize;return e.getStyle("font-size").getNumber(r)}getTElementBoundingBox(t){var e=this.getFontSize();return new Ny(this.x,this.y-e,this.x+this.measureText(t),this.y)}getGlyph(t,e,r){var i=e[r],n=null;if(t.isArabic){var a=e.length,s=e[r-1],o=e[r+1],h="isolated";if((0===r||" "===s)&&r<a-1&&" "!==o&&(h="terminal"),r>0&&" "!==s&&r<a-1&&" "!==o&&(h="medial"),r>0&&" "!==s&&(r===a-1||" "===o)&&(h="initial"),void 0!==t.glyphs[i]){var u=t.glyphs[i];n=u instanceof Vy?u:u[h]}}else n=t.glyphs[i];return n||(n=t.missingGlyph),n}getText(){return""}getTextFromNode(t){var e=t||this.node,r=Array.from(e.parentNode.childNodes),i=r.indexOf(e),n=r.length-1,a=Rd(e.textContent||"");return 0===i&&(a=_d(a)),i===n&&(a=Vd(a)),a}renderChildren(t){if("text"===this.type){this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t),this.children.forEach(((e,r)=>{this.renderChild(t,this,this,r)}));var{mouse:e}=this.document.screen;e.isWorking()&&e.checkBoundingBox(this,this.getBoundingBox(t))}else this.renderTElementChildren(t)}renderTElementChildren(t){var{document:e,parent:r}=this,i=this.getText(),n=r.getStyle("font-family").getDefinition();if(n)for(var{unitsPerEm:a}=n.fontFace,s=Ey.parse(e.ctx.font),o=r.getStyle("font-size").getNumber(s.fontSize),h=r.getStyle("font-style").getString(s.fontStyle),u=o/a,l=n.isRTL?i.split("").reverse().join(""):i,c=Id(r.getAttribute("dx").getString()),f=l.length,g=0;g<f;g++){var p=this.getGlyph(n,l,g);t.translate(this.x,this.y),t.scale(u,-u);var d=t.lineWidth;t.lineWidth=t.lineWidth*a/o,"italic"===h&&t.transform(1,0,.4,1,0,0),p.render(t),"italic"===h&&t.transform(1,0,-.4,1,0,0),t.lineWidth=d,t.scale(1/u,-1/u),t.translate(-this.x,-this.y),this.x+=o*(p.horizAdvX||n.horizAdvX)/a,void 0===c[g]||isNaN(c[g])||(this.x+=c[g])}else{var{x:y,y:v}=this;t.fillStyle&&t.fillText(i,y,v),t.strokeStyle&&t.strokeText(i,y,v)}}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var t=this.leafTexts[this.textChunkStart],e=t.getStyle("text-anchor").getString("start"),r=0;r="start"===e?t.x-this.minX:"end"===e?t.x-this.maxX:t.x-(this.minX+this.maxX)/2;for(var i=this.textChunkStart;i<this.leafTexts.length;i++)this.leafTexts[i].x+=r;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(t){this.children.forEach(((e,r)=>{this.adjustChildCoordinatesRecursiveCore(t,this,this,r)})),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(t,e,r,i){var n=r.children[i];n.children.length>0?n.children.forEach(((r,i)=>{e.adjustChildCoordinatesRecursiveCore(t,e,n,i)})):this.adjustChildCoordinates(t,e,r,i)}adjustChildCoordinates(t,e,r,i){var n=r.children[i];if("function"!=typeof n.measureText)return n;t.save(),n.setContext(t,!0);var a=n.getAttribute("x"),s=n.getAttribute("y"),o=n.getAttribute("dx"),h=n.getAttribute("dy"),u=n.getStyle("font-family").getDefinition(),l=Boolean(u)&&u.isRTL;0===i&&(a.hasValue()||a.setValue(n.getInheritedAttribute("x")),s.hasValue()||s.setValue(n.getInheritedAttribute("y")),o.hasValue()||o.setValue(n.getInheritedAttribute("dx")),h.hasValue()||h.setValue(n.getInheritedAttribute("dy")));var c=n.measureText(t);return l&&(e.x-=c),a.hasValue()?(e.applyAnchoring(),n.x=a.getPixels("x"),o.hasValue()&&(n.x+=o.getPixels("x"))):(o.hasValue()&&(e.x+=o.getPixels("x")),n.x=e.x),e.x=n.x,l||(e.x+=c),s.hasValue()?(n.y=s.getPixels("y"),h.hasValue()&&(n.y+=h.getPixels("y"))):(h.hasValue()&&(e.y+=h.getPixels("y")),n.y=e.y),e.y=n.y,e.leafTexts.push(n),e.minX=Math.min(e.minX,n.x,n.x+c),e.maxX=Math.max(e.maxX,n.x,n.x+c),n.clearContext(t),t.restore(),n}getChildBoundingBox(t,e,r,i){var n=r.children[i];if("function"!=typeof n.getBoundingBox)return null;var a=n.getBoundingBox(t);return a?(n.children.forEach(((r,i)=>{var s=e.getChildBoundingBox(t,e,n,i);a.addBoundingBox(s)})),a):null}renderChild(t,e,r,i){var n=r.children[i];n.render(t),n.children.forEach(((r,i)=>{e.renderChild(t,e,n,i)}))}measureText(t){var{measureCache:e}=this;if(~e)return e;var r=this.getText(),i=this.measureTargetText(t,r);return this.measureCache=i,i}measureTargetText(t,e){if(!e.length)return 0;var{parent:r}=this,i=r.getStyle("font-family").getDefinition();if(i){for(var n=this.getFontSize(),a=i.isRTL?e.split("").reverse().join(""):e,s=Id(r.getAttribute("dx").getString()),o=a.length,h=0,u=0;u<o;u++){h+=(this.getGlyph(i,a,u).horizAdvX||i.horizAdvX)*n/i.fontFace.unitsPerEm,void 0===s[u]||isNaN(s[u])||(h+=s[u])}return h}if(!t.measureText)return 10*e.length;t.save(),this.setContext(t,!0);var{width:l}=t.measureText(e);return this.clearContext(t),t.restore(),l}getInheritedAttribute(t){for(var e=this;e instanceof Iy&&e.isFirstChild();){var r=e.parent.getAttribute(t);if(r.hasValue(!0))return r.getValue("0");e=e.parent}return null}}class ky extends Iy{constructor(t,e,r){super(t,e,new.target===ky||r),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}}class Ly extends ky{constructor(){super(...arguments),this.type="textNode"}}class Dy extends Ry{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(t){var e,{document:r}=this,{screen:i,window:n}=r,a=t.canvas;if(i.setDefaults(t),a.style&&void 0!==t.font&&n&&void 0!==n.getComputedStyle){t.font=n.getComputedStyle(a).getPropertyValue("font");var s=new ay(r,"fontSize",Ey.parse(t.font).fontSize);s.hasValue()&&(r.rootEmSize=s.getPixels("y"),r.emSize=r.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:o,height:h}=i.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var u=this.getAttribute("refX"),l=this.getAttribute("refY"),c=this.getAttribute("viewBox"),f=c.hasValue()?Id(c.getString()):null,g=!this.root&&"visible"!==this.getStyle("overflow").getValue("hidden"),p=0,d=0,y=0,v=0;f&&(p=f[0],d=f[1]),this.root||(o=this.getStyle("width").getPixels("x"),h=this.getStyle("height").getPixels("y"),"marker"===this.type&&(y=p,v=d,p=0,d=0)),i.viewPort.setCurrent(o,h),!this.node||this.parent&&"foreignObject"!==(null===(e=this.node.parentNode)||void 0===e?void 0:e.nodeName)||!this.getStyle("transform",!1,!0).hasValue()||this.getStyle("transform-origin",!1,!0).hasValue()||this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(t),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),f&&(o=f[2],h=f[3]),r.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:i.viewPort.width,desiredWidth:o,height:i.viewPort.height,desiredHeight:h,minX:p,minY:d,refX:u.getValue(),refY:l.getValue(),clip:g,clipX:y,clipY:v}),f&&(i.viewPort.removeCurrent(),i.viewPort.setCurrent(o,h))}clearContext(t){super.clearContext(t),this.document.screen.viewPort.removeCurrent()}resize(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.getAttribute("width",!0),n=this.getAttribute("height",!0),a=this.getAttribute("viewBox"),s=this.getAttribute("style"),o=i.getNumber(0),h=n.getNumber(0);if(r)if("string"==typeof r)this.getAttribute("preserveAspectRatio",!0).setValue(r);else{var u=this.getAttribute("preserveAspectRatio");u.hasValue()&&u.setValue(u.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(i.setValue(t),n.setValue(e),a.hasValue()||a.setValue("0 0 ".concat(o||t," ").concat(h||e)),s.hasValue()){var l=this.getStyle("width"),c=this.getStyle("height");l.hasValue()&&l.setValue("".concat(t,"px")),c.hasValue()&&c.setValue("".concat(e,"px"))}}}class jy extends _y{constructor(){super(...arguments),this.type="rect"}path(t){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),i=this.getStyle("width",!1,!0).getPixels("x"),n=this.getStyle("height",!1,!0).getPixels("y"),a=this.getAttribute("rx"),s=this.getAttribute("ry"),o=a.getPixels("x"),h=s.getPixels("y");if(a.hasValue()&&!s.hasValue()&&(h=o),s.hasValue()&&!a.hasValue()&&(o=h),o=Math.min(o,i/2),h=Math.min(h,n/2),t){var u=(Math.sqrt(2)-1)/3*4;t.beginPath(),n>0&&i>0&&(t.moveTo(e+o,r),t.lineTo(e+i-o,r),t.bezierCurveTo(e+i-o+u*o,r,e+i,r+h-u*h,e+i,r+h),t.lineTo(e+i,r+n-h),t.bezierCurveTo(e+i,r+n-h+u*h,e+i-o+u*o,r+n,e+i-o,r+n),t.lineTo(e+o,r+n),t.bezierCurveTo(e+o-u*o,r+n,e,r+n-h+u*h,e,r+n-h),t.lineTo(e,r+h),t.bezierCurveTo(e,r+h-u*h,e+o-u*o,r,e+o,r),t.closePath())}return new Ny(e,r,e+i,r+n)}getMarkers(){return null}}class By extends _y{constructor(){super(...arguments),this.type="circle"}path(t){var e=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),i=this.getAttribute("r").getPixels();return t&&i>0&&(t.beginPath(),t.arc(e,r,i,0,2*Math.PI,!1),t.closePath()),new Ny(e-i,r-i,e+i,r+i)}getMarkers(){return null}}class zy extends _y{constructor(){super(...arguments),this.type="ellipse"}path(t){var e=(Math.sqrt(2)-1)/3*4,r=this.getAttribute("rx").getPixels("x"),i=this.getAttribute("ry").getPixels("y"),n=this.getAttribute("cx").getPixels("x"),a=this.getAttribute("cy").getPixels("y");return t&&r>0&&i>0&&(t.beginPath(),t.moveTo(n+r,a),t.bezierCurveTo(n+r,a+e*i,n+e*r,a+i,n,a+i),t.bezierCurveTo(n-e*r,a+i,n-r,a+e*i,n-r,a),t.bezierCurveTo(n-r,a-e*i,n-e*r,a-i,n,a-i),t.bezierCurveTo(n+e*r,a-i,n+r,a-e*i,n+r,a),t.closePath()),new Ny(n-r,a-i,n+r,a+i)}getMarkers(){return null}}class Uy extends _y{constructor(){super(...arguments),this.type="line"}getPoints(){return[new oy(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new oy(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(t){var[{x:e,y:r},{x:i,y:n}]=this.getPoints();return t&&(t.beginPath(),t.moveTo(e,r),t.lineTo(i,n)),new Ny(e,r,i,n)}getMarkers(){var[t,e]=this.getPoints(),r=t.angleTo(e);return[[t,r],[e,r]]}}class Fy extends _y{constructor(t,e,r){super(t,e,r),this.type="polyline",this.points=[],this.points=oy.parsePath(this.getAttribute("points").getString())}path(t){var{points:e}=this,[{x:r,y:i}]=e,n=new Ny(r,i);return t&&(t.beginPath(),t.moveTo(r,i)),e.forEach((e=>{var{x:r,y:i}=e;n.addPoint(r,i),t&&t.lineTo(r,i)})),n}getMarkers(){var{points:t}=this,e=t.length-1,r=[];return t.forEach(((i,n)=>{n!==e&&r.push([i,i.angleTo(t[n+1])])})),r.length>0&&r.push([t[t.length-1],r[r.length-1][1]]),r}}class Hy extends Fy{constructor(){super(...arguments),this.type="polygon"}path(t){var e=super.path(t),[{x:r,y:i}]=this.points;return t&&(t.lineTo(r,i),t.closePath()),e}}class Xy extends Ty{constructor(){super(...arguments),this.type="pattern"}createPattern(t,e,r){var i=this.getStyle("width").getPixels("x",!0),n=this.getStyle("height").getPixels("y",!0),a=new Dy(this.document,null);a.attributes.viewBox=new ay(this.document,"viewBox",this.getAttribute("viewBox").getValue()),a.attributes.width=new ay(this.document,"width","".concat(i,"px")),a.attributes.height=new ay(this.document,"height","".concat(n,"px")),a.attributes.transform=new ay(this.document,"transform",this.getAttribute("patternTransform").getValue()),a.children=this.children;var s=this.document.createCanvas(i,n),o=s.getContext("2d"),h=this.getAttribute("x"),u=this.getAttribute("y");h.hasValue()&&u.hasValue()&&o.translate(h.getPixels("x",!0),u.getPixels("y",!0)),r.hasValue()?this.styles["fill-opacity"]=r:Reflect.deleteProperty(this.styles,"fill-opacity");for(var l=-1;l<=1;l++)for(var c=-1;c<=1;c++)o.save(),a.attributes.x=new ay(this.document,"x",l*s.width),a.attributes.y=new ay(this.document,"y",c*s.height),a.render(o),o.restore();return t.createPattern(s,"repeat")}}class Yy extends Ty{constructor(){super(...arguments),this.type="marker"}render(t,e,r){if(e){var{x:i,y:n}=e,a=this.getAttribute("orient").getString("auto"),s=this.getAttribute("markerUnits").getString("strokeWidth");t.translate(i,n),"auto"===a&&t.rotate(r),"strokeWidth"===s&&t.scale(t.lineWidth,t.lineWidth),t.save();var o=new Dy(this.document,null);o.type=this.type,o.attributes.viewBox=new ay(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.refX=new ay(this.document,"refX",this.getAttribute("refX").getValue()),o.attributes.refY=new ay(this.document,"refY",this.getAttribute("refY").getValue()),o.attributes.width=new ay(this.document,"width",this.getAttribute("markerWidth").getValue()),o.attributes.height=new ay(this.document,"height",this.getAttribute("markerHeight").getValue()),o.attributes.overflow=new ay(this.document,"overflow",this.getAttribute("overflow").getValue()),o.attributes.fill=new ay(this.document,"fill",this.getAttribute("fill").getColor("black")),o.attributes.stroke=new ay(this.document,"stroke",this.getAttribute("stroke").getValue("none")),o.children=this.children,o.render(t),t.restore(),"strokeWidth"===s&&t.scale(1/t.lineWidth,1/t.lineWidth),"auto"===a&&t.rotate(-r),t.translate(-i,-n)}}}class Wy extends Ty{constructor(){super(...arguments),this.type="defs"}render(){}}class qy extends Ry{constructor(){super(...arguments),this.type="g"}getBoundingBox(t){var e=new Ny;return this.children.forEach((r=>{e.addBoundingBox(r.getBoundingBox(t))})),e}}class $y extends Ty{constructor(t,e,r){super(t,e,r),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:i,children:n}=this;n.forEach((t=>{"stop"===t.type&&i.push(t)}))}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(t,e,r){var i=this;this.getHrefAttribute().hasValue()&&(i=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(i));var{stops:n}=i,a=this.getGradient(t,e);if(!a)return this.addParentOpacity(r,n[n.length-1].color);if(n.forEach((t=>{a.addColorStop(t.offset,this.addParentOpacity(r,t.color))})),this.getAttribute("gradientTransform").hasValue()){var{document:s}=this,{MAX_VIRTUAL_PIXELS:o,viewPort:h}=s.screen,[u]=h.viewPorts,l=new jy(s,null);l.attributes.x=new ay(s,"x",-o/3),l.attributes.y=new ay(s,"y",-o/3),l.attributes.width=new ay(s,"width",o),l.attributes.height=new ay(s,"height",o);var c=new qy(s,null);c.attributes.transform=new ay(s,"transform",this.getAttribute("gradientTransform").getValue()),c.children=[l];var f=new Dy(s,null);f.attributes.x=new ay(s,"x",0),f.attributes.y=new ay(s,"y",0),f.attributes.width=new ay(s,"width",u.width),f.attributes.height=new ay(s,"height",u.height),f.children=[c];var g=s.createCanvas(u.width,u.height),p=g.getContext("2d");return p.fillStyle=a,f.render(p),p.createPattern(g,"no-repeat")}return a}inheritStopContainer(t){this.attributesToInherit.forEach((e=>{!this.getAttribute(e).hasValue()&&t.getAttribute(e).hasValue()&&this.getAttribute(e,!0).setValue(t.getAttribute(e).getValue())}))}addParentOpacity(t,e){return t.hasValue()?new ay(this.document,"color",e).addOpacity(t).getColor():e}}class Gy extends $y{constructor(t,e,r){super(t,e,r),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(t,e){var r="objectBoundingBox"===this.getGradientUnits(),i=r?e.getBoundingBox(t):null;if(r&&!i)return null;this.getAttribute("x1").hasValue()||this.getAttribute("y1").hasValue()||this.getAttribute("x2").hasValue()||this.getAttribute("y2").hasValue()||(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var n=r?i.x+i.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),a=r?i.y+i.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),s=r?i.x+i.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),o=r?i.y+i.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return n===s&&a===o?null:t.createLinearGradient(n,a,s,o)}}class Qy extends $y{constructor(t,e,r){super(t,e,r),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(t,e){var r="objectBoundingBox"===this.getGradientUnits(),i=e.getBoundingBox(t);if(r&&!i)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var n=r?i.x+i.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),a=r?i.y+i.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),s=n,o=a;this.getAttribute("fx").hasValue()&&(s=r?i.x+i.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(o=r?i.y+i.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var h=r?(i.width+i.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),u=this.getAttribute("fr").getPixels();return t.createRadialGradient(s,o,u,n,a,h)}}class Zy extends Ty{constructor(t,e,r){super(t,e,r),this.type="stop";var i=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),n=this.getStyle("stop-opacity"),a=this.getStyle("stop-color",!0);""===a.getString()&&a.setValue("#000"),n.hasValue()&&(a=a.addOpacity(n)),this.offset=i,this.color=a.getColor()}}class Ky extends Ty{constructor(t,e,r){super(t,e,r),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,t.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new ay(t,"values",null);var i=this.getAttribute("values");i.hasValue()&&this.values.setValue(i.getString().split(";"))}getProperty(){var t=this.getAttribute("attributeType").getString(),e=this.getAttribute("attributeName").getString();return"CSS"===t?this.parent.getStyle(e,!0):this.parent.getAttribute(e,!0)}calcValue(){var{initialUnits:t}=this,{progress:e,from:r,to:i}=this.getProgress(),n=r.getNumber()+(i.getNumber()-r.getNumber())*e;return"%"===t&&(n*=100),"".concat(n).concat(t)}update(t){var{parent:e}=this,r=this.getProperty();if(this.initialValue||(this.initialValue=r.getString(),this.initialUnits=r.getUnits()),this.duration>this.maxDuration){var i=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==i||this.frozen){if("remove"===i&&!this.removed)return this.removed=!0,r.setValue(e.animationFrozen?e.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,e.animationFrozen=!0,e.animationFrozenValue=r.getString();return!1}this.duration+=t;var n=!1;if(this.begin<this.duration){var a=this.calcValue(),s=this.getAttribute("type");if(s.hasValue()){var o=s.getString();a="".concat(o,"(").concat(a,")")}r.setValue(a),n=!0}return n}getProgress(){var{document:t,values:e}=this,r={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(e.hasValue()){var i=r.progress*(e.getValue().length-1),n=Math.floor(i),a=Math.ceil(i);r.from=new ay(t,"from",parseFloat(e.getValue()[n])),r.to=new ay(t,"to",parseFloat(e.getValue()[a])),r.progress=(i-n)/(a-n)}else r.from=this.from,r.to=this.to;return r}}class Jy extends Ky{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var{progress:t,from:e,to:r}=this.getProgress(),i=new Cp(e.getColor()),n=new Cp(r.getColor());if(i.ok&&n.ok){var a=i.r+(n.r-i.r)*t,s=i.g+(n.g-i.g)*t,o=i.b+(n.b-i.b)*t;return"rgb(".concat(Math.floor(a),", ").concat(Math.floor(s),", ").concat(Math.floor(o),")")}return this.getAttribute("from").getColor()}}class tv extends Ky{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:t,from:e,to:r}=this.getProgress(),i=Id(e.getString()),n=Id(r.getString());return i.map(((e,r)=>e+(n[r]-e)*t)).join(" ")}}class ev extends Ty{constructor(t,e,r){super(t,e,r),this.type="font",this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:i}=t,{children:n}=this;for(var a of n)switch(a.type){case"font-face":this.fontFace=a;var s=a.getStyle("font-family");s.hasValue()&&(i[s.getString()]=this);break;case"missing-glyph":this.missingGlyph=a;break;case"glyph":var o=a;o.arabicForm?(this.isRTL=!0,this.isArabic=!0,void 0===this.glyphs[o.unicode]&&(this.glyphs[o.unicode]=Object.create(null)),this.glyphs[o.unicode][o.arabicForm]=o):this.glyphs[o.unicode]=o}}render(){}}class rv extends Ty{constructor(t,e,r){super(t,e,r),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}}class iv extends _y{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}}class nv extends Iy{constructor(){super(...arguments),this.type="tref"}getText(){var t=this.getHrefAttribute().getDefinition();if(t){var e=t.children[0];if(e)return e.getText()}return""}}class av extends Iy{constructor(t,e,r){super(t,e,r),this.type="a";var{childNodes:i}=e,n=i[0],a=i.length>0&&Array.from(i).every((t=>3===t.nodeType));this.hasText=a,this.text=a?this.getTextFromNode(n):""}getText(){return this.text}renderChildren(t){if(this.hasText){super.renderChildren(t);var{document:e,x:r,y:i}=this,{mouse:n}=e.screen,a=new ay(e,"fontSize",Ey.parse(e.ctx.font).fontSize);n.isWorking()&&n.checkBoundingBox(this,new Ny(r,i-a.getPixels("y"),r+this.measureText(t),i))}else if(this.children.length>0){var s=new qy(this.document,null);s.children=this.children,s.parent=this,s.render(t)}}onClick(){var{window:t}=this.document;t&&t.open(this.getHrefAttribute().getString())}onMouseMove(){this.document.ctx.canvas.style.cursor="pointer"}}function sv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function ov(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?sv(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sv(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}class hv extends Iy{constructor(t,e,r){super(t,e,r),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);var i=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(i)}getText(){return this.text}path(t){var{dataArray:e}=this;t&&t.beginPath(),e.forEach((e=>{var{type:r,points:i}=e;switch(r){case My.LINE_TO:t&&t.lineTo(i[0],i[1]);break;case My.MOVE_TO:t&&t.moveTo(i[0],i[1]);break;case My.CURVE_TO:t&&t.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);break;case My.QUAD_TO:t&&t.quadraticCurveTo(i[0],i[1],i[2],i[3]);break;case My.ARC:var[n,a,s,o,h,u,l,c]=i,f=s>o?s:o,g=s>o?1:s/o,p=s>o?o/s:1;t&&(t.translate(n,a),t.rotate(l),t.scale(g,p),t.arc(0,0,f,h,h+u,Boolean(1-c)),t.scale(1/g,1/p),t.rotate(-l),t.translate(-n,-a));break;case My.CLOSE_PATH:t&&t.closePath()}}))}renderChildren(t){this.setTextData(t),t.save();var e=this.parent.getStyle("text-decoration").getString(),r=this.getFontSize(),{glyphInfo:i}=this,n=t.fillStyle;"underline"===e&&t.beginPath(),i.forEach(((i,n)=>{var{p0:a,p1:s,rotation:o,text:h}=i;t.save(),t.translate(a.x,a.y),t.rotate(o),t.fillStyle&&t.fillText(h,0,0),t.strokeStyle&&t.strokeText(h,0,0),t.restore(),"underline"===e&&(0===n&&t.moveTo(a.x,a.y+r/8),t.lineTo(s.x,s.y+r/5))})),"underline"===e&&(t.lineWidth=r/20,t.strokeStyle=n,t.stroke(),t.closePath()),t.restore()}getLetterSpacingAt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.letterSpacingCache[t]||0}findSegmentToFitChar(t,e,r,i,n,a,s,o,h){var u=a,l=this.measureText(t,o);" "===o&&"justify"===e&&r<i&&(l+=(i-r)/n),h>-1&&(u+=this.getLetterSpacingAt(h));var c=this.textHeight/20,f=this.getEquidistantPointOnPath(u,c,0),g=this.getEquidistantPointOnPath(u+l,c,0),p={p0:f,p1:g},d=f&&g?Math.atan2(g.y-f.y,g.x-f.x):0;if(s){var y=Math.cos(Math.PI/2+d)*s,v=Math.cos(-d)*s;p.p0=ov(ov({},f),{},{x:f.x+y,y:f.y+v}),p.p1=ov(ov({},g),{},{x:g.x+y,y:g.y+v})}return{offset:u+=l,segment:p,rotation:d}}measureText(t,e){var{measuresCache:r}=this,i=e||this.getText();if(r.has(i))return r.get(i);var n=this.measureTargetText(t,i);return r.set(i,n),n}setTextData(t){if(!this.glyphInfo){var e=this.getText(),r=e.split(""),i=e.split(" ").length-1,n=this.parent.getAttribute("dx").split().map((t=>t.getPixels("x"))),a=this.parent.getAttribute("dy").getPixels("y"),s=this.parent.getStyle("text-anchor").getString("start"),o=this.getStyle("letter-spacing"),h=this.parent.getStyle("letter-spacing"),u=0;o.hasValue()&&"inherit"!==o.getValue()?o.hasValue()&&"initial"!==o.getValue()&&"unset"!==o.getValue()&&(u=o.getPixels()):u=h.getPixels();var l=[],c=e.length;this.letterSpacingCache=l;for(var f=0;f<c;f++)l.push(void 0!==n[f]?n[f]:u);var g=l.reduce(((t,e,r)=>0===r?0:t+e||0),0),p=this.measureText(t),d=Math.max(p+g,0);this.textWidth=p,this.textHeight=this.getFontSize(),this.glyphInfo=[];var y=this.getPathLength(),v=this.getStyle("startOffset").getNumber(0)*y,m=0;"middle"!==s&&"center"!==s||(m=-d/2),"end"!==s&&"right"!==s||(m=-d),m+=v,r.forEach(((e,n)=>{var{offset:o,segment:h,rotation:u}=this.findSegmentToFitChar(t,s,d,y,i,m,a,e,n);m=o,h.p0&&h.p1&&this.glyphInfo.push({text:r[n],p0:h.p0,p1:h.p1,rotation:u})}))}}parsePathData(t){if(this.pathLength=-1,!t)return[];var e=[],{pathParser:r}=t;for(r.reset();!r.isEnd();){var{current:i}=r,n=i?i.x:0,a=i?i.y:0,s=r.next(),o=s.type,h=[];switch(s.type){case My.MOVE_TO:this.pathM(r,h);break;case My.LINE_TO:o=this.pathL(r,h);break;case My.HORIZ_LINE_TO:o=this.pathH(r,h);break;case My.VERT_LINE_TO:o=this.pathV(r,h);break;case My.CURVE_TO:this.pathC(r,h);break;case My.SMOOTH_CURVE_TO:o=this.pathS(r,h);break;case My.QUAD_TO:this.pathQ(r,h);break;case My.SMOOTH_QUAD_TO:o=this.pathT(r,h);break;case My.ARC:h=this.pathA(r);break;case My.CLOSE_PATH:_y.pathZ(r)}s.type!==My.CLOSE_PATH?e.push({type:o,points:h,start:{x:n,y:a},pathLength:this.calcLength(n,a,o,h)}):e.push({type:My.CLOSE_PATH,points:[],pathLength:0})}return e}pathM(t,e){var{x:r,y:i}=_y.pathM(t).point;e.push(r,i)}pathL(t,e){var{x:r,y:i}=_y.pathL(t).point;return e.push(r,i),My.LINE_TO}pathH(t,e){var{x:r,y:i}=_y.pathH(t).point;return e.push(r,i),My.LINE_TO}pathV(t,e){var{x:r,y:i}=_y.pathV(t).point;return e.push(r,i),My.LINE_TO}pathC(t,e){var{point:r,controlPoint:i,currentPoint:n}=_y.pathC(t);e.push(r.x,r.y,i.x,i.y,n.x,n.y)}pathS(t,e){var{point:r,controlPoint:i,currentPoint:n}=_y.pathS(t);return e.push(r.x,r.y,i.x,i.y,n.x,n.y),My.CURVE_TO}pathQ(t,e){var{controlPoint:r,currentPoint:i}=_y.pathQ(t);e.push(r.x,r.y,i.x,i.y)}pathT(t,e){var{controlPoint:r,currentPoint:i}=_y.pathT(t);return e.push(r.x,r.y,i.x,i.y),My.QUAD_TO}pathA(t){var{rX:e,rY:r,sweepFlag:i,xAxisRotation:n,centp:a,a1:s,ad:o}=_y.pathA(t);return 0===i&&o>0&&(o-=2*Math.PI),1===i&&o<0&&(o+=2*Math.PI),[a.x,a.y,e,r,s,o,n,i]}calcLength(t,e,r,i){var n=0,a=null,s=null,o=0;switch(r){case My.LINE_TO:return this.getLineLength(t,e,i[0],i[1]);case My.CURVE_TO:for(n=0,a=this.getPointOnCubicBezier(0,t,e,i[0],i[1],i[2],i[3],i[4],i[5]),o=.01;o<=1;o+=.01)s=this.getPointOnCubicBezier(o,t,e,i[0],i[1],i[2],i[3],i[4],i[5]),n+=this.getLineLength(a.x,a.y,s.x,s.y),a=s;return n;case My.QUAD_TO:for(n=0,a=this.getPointOnQuadraticBezier(0,t,e,i[0],i[1],i[2],i[3]),o=.01;o<=1;o+=.01)s=this.getPointOnQuadraticBezier(o,t,e,i[0],i[1],i[2],i[3]),n+=this.getLineLength(a.x,a.y,s.x,s.y),a=s;return n;case My.ARC:n=0;var h=i[4],u=i[5],l=i[4]+u,c=Math.PI/180;if(Math.abs(h-l)<c&&(c=Math.abs(h-l)),a=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],h,0),u<0)for(o=h-c;o>l;o-=c)s=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],o,0),n+=this.getLineLength(a.x,a.y,s.x,s.y),a=s;else for(o=h+c;o<l;o+=c)s=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],o,0),n+=this.getLineLength(a.x,a.y,s.x,s.y),a=s;return s=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],l,0),n+=this.getLineLength(a.x,a.y,s.x,s.y)}return 0}getPointOnLine(t,e,r,i,n){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:r,o=(n-r)/(i-e+$d),h=Math.sqrt(t*t/(1+o*o));i<e&&(h*=-1);var u=o*h,l=null;if(i===e)l={x:a,y:s+u};else if((s-r)/(a-e+$d)===o)l={x:a+h,y:s+u};else{var c,f,g=this.getLineLength(e,r,i,n);if(g<$d)return null;var p=(a-e)*(i-e)+(s-r)*(n-r);c=e+(p/=g*g)*(i-e),f=r+p*(n-r);var d=this.getLineLength(a,s,c,f),y=Math.sqrt(t*t-d*d);h=Math.sqrt(y*y/(1+o*o)),i<e&&(h*=-1),l={x:c+h,y:f+(u=o*h)}}return l}getPointOnPath(t){var e=this.getPathLength(),r=0,i=null;if(t<-5e-5||t-5e-5>e)return null;var{dataArray:n}=this;for(var a of n){if(!a||!(a.pathLength<5e-5||r+a.pathLength+5e-5<t)){var s=t-r,o=0;switch(a.type){case My.LINE_TO:i=this.getPointOnLine(s,a.start.x,a.start.y,a.points[0],a.points[1],a.start.x,a.start.y);break;case My.ARC:var h=a.points[4],u=a.points[5],l=a.points[4]+u;if(o=h+s/a.pathLength*u,u<0&&o<l||u>=0&&o>l)break;i=this.getPointOnEllipticalArc(a.points[0],a.points[1],a.points[2],a.points[3],o,a.points[6]);break;case My.CURVE_TO:(o=s/a.pathLength)>1&&(o=1),i=this.getPointOnCubicBezier(o,a.start.x,a.start.y,a.points[0],a.points[1],a.points[2],a.points[3],a.points[4],a.points[5]);break;case My.QUAD_TO:(o=s/a.pathLength)>1&&(o=1),i=this.getPointOnQuadraticBezier(o,a.start.x,a.start.y,a.points[0],a.points[1],a.points[2],a.points[3])}if(i)return i;break}r+=a.pathLength}return null}getLineLength(t,e,r,i){return Math.sqrt((r-t)*(r-t)+(i-e)*(i-e))}getPathLength(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce(((t,e)=>e.pathLength>0?t+e.pathLength:t),0)),this.pathLength}getPointOnCubicBezier(t,e,r,i,n,a,s,o,h){return{x:o*Kd(t)+a*Jd(t)+i*ty(t)+e*ey(t),y:h*Kd(t)+s*Jd(t)+n*ty(t)+r*ey(t)}}getPointOnQuadraticBezier(t,e,r,i,n,a,s){return{x:a*ry(t)+i*iy(t)+e*ny(t),y:s*ry(t)+n*iy(t)+r*ny(t)}}getPointOnEllipticalArc(t,e,r,i,n,a){var s=Math.cos(a),o=Math.sin(a),h=r*Math.cos(n),u=i*Math.sin(n);return{x:t+(h*s-u*o),y:e+(h*o+u*s)}}buildEquidistantCache(t,e){var r=this.getPathLength(),i=e||.25,n=t||r/100;if(!this.equidistantCache||this.equidistantCache.step!==n||this.equidistantCache.precision!==i){this.equidistantCache={step:n,precision:i,points:[]};for(var a=0,s=0;s<=r;s+=i){var o=this.getPointOnPath(s),h=this.getPointOnPath(s+i);o&&h&&((a+=this.getLineLength(o.x,o.y,h.x,h.y))>=n&&(this.equidistantCache.points.push({x:o.x,y:o.y,distance:s}),a-=n))}}}getEquidistantPointOnPath(t,e,r){if(this.buildEquidistantCache(e,r),t<0||t-this.getPathLength()>5e-5)return null;var i=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[i]||null}}var uv=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class lv extends Ry{constructor(t,e,r){super(t,e,r),this.type="image",this.loaded=!1;var i=this.getHrefAttribute().getString();if(i){var n=i.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(i);t.images.push(this),n?this.loadSvg(i):this.loadImage(i),this.isSvg=n}}loadImage(t){var e=this;return r((function*(){try{var r=yield e.document.createImage(t);e.image=r}catch(i){}e.loaded=!0}))()}loadSvg(t){var e=this;return r((function*(){var r=uv.exec(t);if(r){var i=r[5];"base64"===r[4]?e.image=atob(i):e.image=decodeURIComponent(i)}else try{var n=yield e.document.fetch(t),a=yield n.text();e.image=a}catch(s){}e.loaded=!0}))()}renderChildren(t){var{document:e,image:r,loaded:i}=this,n=this.getAttribute("x").getPixels("x"),a=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),o=this.getStyle("height").getPixels("y");if(i&&r&&s&&o){if(t.save(),t.translate(n,a),this.isSvg){var h=e.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:s,scaleHeight:o});h.document.documentElement.parent=this,h.render()}else{var u=this.image;e.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:s,desiredWidth:u.width,height:o,desiredHeight:u.height}),this.loaded&&(void 0===u.complete||u.complete)&&t.drawImage(u,0,0)}t.restore()}}getBoundingBox(){var t=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),r=this.getStyle("width").getPixels("x"),i=this.getStyle("height").getPixels("y");return new Ny(t,e,t+r,e+i)}}class cv extends Ry{constructor(){super(...arguments),this.type="symbol"}render(t){}}class fv{constructor(t){this.document=t,this.loaded=!1,t.fonts.push(this)}load(t,e){var i=this;return r((function*(){try{var{document:r}=i,n=(yield r.canvg.parser.load(e)).getElementsByTagName("font");Array.from(n).forEach((e=>{var i=r.createElement(e);r.definitions[t]=i}))}catch(a){}i.loaded=!0}))()}}class gv extends Ty{constructor(t,e,r){super(t,e,r),this.type="style",Rd(Array.from(e.childNodes).map((t=>t.textContent)).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}").forEach((e=>{var r=e.trim();if(r){var i=r.split("{"),n=i[0].split(","),a=i[1].split(";");n.forEach((e=>{var r=e.trim();if(r){var i=t.styles[r]||{};if(a.forEach((e=>{var r=e.indexOf(":"),n=e.substr(0,r).trim(),a=e.substr(r+1,e.length-r).trim();n&&a&&(i[n]=new ay(t,n,a))})),t.styles[r]=i,t.stylesSpecificity[r]=qd(r),"@font-face"===r){var n=i["font-family"].getString().replace(/"|'/g,"");i.src.getString().split(",").forEach((e=>{if(e.indexOf('format("svg")')>0){var r=Dd(e);r&&new fv(t).load(n,r)}}))}}}))}}))}}gv.parseExternalUrl=Dd;class pv extends Ry{constructor(){super(...arguments),this.type="use"}setContext(t){super.setContext(t);var e=this.getAttribute("x"),r=this.getAttribute("y");e.hasValue()&&t.translate(e.getPixels("x"),0),r.hasValue()&&t.translate(0,r.getPixels("y"))}path(t){var{element:e}=this;e&&e.path(t)}renderChildren(t){var{document:e,element:r}=this;if(r){var i=r;if("symbol"===r.type&&((i=new Dy(e,null)).attributes.viewBox=new ay(e,"viewBox",r.getAttribute("viewBox").getString()),i.attributes.preserveAspectRatio=new ay(e,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),i.attributes.overflow=new ay(e,"overflow",r.getAttribute("overflow").getString()),i.children=r.children,r.styles.opacity=new ay(e,"opacity",this.calculateOpacity())),"svg"===i.type){var n=this.getStyle("width",!1,!0),a=this.getStyle("height",!1,!0);n.hasValue()&&(i.attributes.width=new ay(e,"width",n.getString())),a.hasValue()&&(i.attributes.height=new ay(e,"height",a.getString()))}var s=i.parent;i.parent=this,i.render(t),i.parent=s}}getBoundingBox(t){var{element:e}=this;return e?e.getBoundingBox(t):null}elementTransform(){var{document:t,element:e}=this;return Sy.fromElement(t,e)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function dv(t,e,r,i,n,a){return t[r*i*4+4*e+a]}function yv(t,e,r,i,n,a,s){t[r*i*4+4*e+a]=s}function vv(t,e,r){return t[e]*r}function mv(t,e,r,i){return e+Math.cos(t)*r+Math.sin(t)*i}class xv extends Ty{constructor(t,e,r){super(t,e,r),this.type="feColorMatrix";var i=Id(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":var n=i[0];i=[.213+.787*n,.715-.715*n,.072-.072*n,0,0,.213-.213*n,.715+.285*n,.072-.072*n,0,0,.213-.213*n,.715-.715*n,.072+.928*n,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var a=i[0]*Math.PI/180;i=[mv(a,.213,.787,-.213),mv(a,.715,-.715,-.715),mv(a,.072,-.072,.928),0,0,mv(a,.213,-.213,.143),mv(a,.715,.285,.14),mv(a,.072,-.072,-.283),0,0,mv(a,.213,-.213,-.787),mv(a,.715,-.715,.715),mv(a,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}this.matrix=i,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(t,e,r,i,n){for(var{includeOpacity:a,matrix:s}=this,o=t.getImageData(0,0,i,n),h=0;h<n;h++)for(var u=0;u<i;u++){var l=dv(o.data,u,h,i,0,0),c=dv(o.data,u,h,i,0,1),f=dv(o.data,u,h,i,0,2),g=dv(o.data,u,h,i,0,3),p=vv(s,0,l)+vv(s,1,c)+vv(s,2,f)+vv(s,3,g)+vv(s,4,1),d=vv(s,5,l)+vv(s,6,c)+vv(s,7,f)+vv(s,8,g)+vv(s,9,1),y=vv(s,10,l)+vv(s,11,c)+vv(s,12,f)+vv(s,13,g)+vv(s,14,1),v=vv(s,15,l)+vv(s,16,c)+vv(s,17,f)+vv(s,18,g)+vv(s,19,1);a&&(p=0,d=0,y=0,v*=g/255),yv(o.data,u,h,i,0,0,p),yv(o.data,u,h,i,0,1,d),yv(o.data,u,h,i,0,2,y),yv(o.data,u,h,i,0,3,v)}t.clearRect(0,0,i,n),t.putImageData(o,0,0)}}class bv extends Ty{constructor(){super(...arguments),this.type="mask"}apply(t,e){var{document:r}=this,i=this.getAttribute("x").getPixels("x"),n=this.getAttribute("y").getPixels("y"),a=this.getStyle("width").getPixels("x"),s=this.getStyle("height").getPixels("y");if(!a&&!s){var o=new Ny;this.children.forEach((e=>{o.addBoundingBox(e.getBoundingBox(t))})),i=Math.floor(o.x1),n=Math.floor(o.y1),a=Math.floor(o.width),s=Math.floor(o.height)}var h=this.removeStyles(e,bv.ignoreStyles),u=r.createCanvas(i+a,n+s),l=u.getContext("2d");r.screen.setDefaults(l),this.renderChildren(l),new xv(r,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(l,0,0,i+a,n+s);var c=r.createCanvas(i+a,n+s),f=c.getContext("2d");r.screen.setDefaults(f),e.render(f),f.globalCompositeOperation="destination-in",f.fillStyle=l.createPattern(u,"no-repeat"),f.fillRect(0,0,i+a,n+s),t.fillStyle=f.createPattern(c,"no-repeat"),t.fillRect(0,0,i+a,n+s),this.restoreStyles(e,h)}render(t){}}bv.ignoreStyles=["mask","transform","clip-path"];var wv=()=>{};class Sv extends Ty{constructor(){super(...arguments),this.type="clipPath"}apply(t){var{document:e}=this,r=Reflect.getPrototypeOf(t),{beginPath:i,closePath:n}=t;r&&(r.beginPath=wv,r.closePath=wv),Reflect.apply(i,t,[]),this.children.forEach((i=>{if(void 0!==i.path){var a=void 0!==i.elementTransform?i.elementTransform():null;a||(a=Sy.fromElement(e,i)),a&&a.apply(t),i.path(t),r&&(r.closePath=n),a&&a.unapply(t)}})),Reflect.apply(n,t,[]),t.clip(),r&&(r.beginPath=i,r.closePath=n)}render(t){}}class Tv extends Ty{constructor(){super(...arguments),this.type="filter"}apply(t,e){var{document:r,children:i}=this,n=e.getBoundingBox(t);if(n){var a=0,s=0;i.forEach((t=>{var e=t.extraFilterDistance||0;a=Math.max(a,e),s=Math.max(s,e)}));var o=Math.floor(n.width),h=Math.floor(n.height),u=o+2*a,l=h+2*s;if(!(u<1||l<1)){var c=Math.floor(n.x),f=Math.floor(n.y),g=this.removeStyles(e,Tv.ignoreStyles),p=r.createCanvas(u,l),d=p.getContext("2d");r.screen.setDefaults(d),d.translate(-c+a,-f+s),e.render(d),i.forEach((t=>{"function"==typeof t.apply&&t.apply(d,0,0,u,l)})),t.drawImage(p,0,0,u,l,c-a,f-s,u,l),this.restoreStyles(e,g)}}}render(t){}}Tv.ignoreStyles=["filter","transform","clip-path"];class Ov extends Ty{constructor(t,e,r){super(t,e,r),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(t,e,r,i,n){}}class Av extends Ty{constructor(){super(...arguments),this.type="feMorphology"}apply(t,e,r,i,n){}}class Cv extends Ty{constructor(){super(...arguments),this.type="feComposite"}apply(t,e,r,i,n){}}class Pv extends Ty{constructor(t,e,r){super(t,e,r),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(t,e,r,i,n){var{document:a,blurRadius:s}=this,o=a.window?a.window.document.body:null,h=t.canvas;h.id=a.getUniqueId(),o&&(h.style.display="none",o.appendChild(h)),Ed(h,e,r,i,n,s),o&&o.removeChild(h)}}class Ev extends Ty{constructor(){super(...arguments),this.type="title"}}class Nv extends Ty{constructor(){super(...arguments),this.type="desc"}}var Mv={svg:Dy,rect:jy,circle:By,ellipse:zy,line:Uy,polyline:Fy,polygon:Hy,path:_y,pattern:Xy,marker:Yy,defs:Wy,linearGradient:Gy,radialGradient:Qy,stop:Zy,animate:Ky,animateColor:Jy,animateTransform:tv,font:ev,"font-face":rv,"missing-glyph":iv,glyph:Vy,text:Iy,tspan:ky,tref:nv,a:av,textPath:hv,image:lv,g:qy,symbol:cv,style:gv,use:pv,mask:bv,clipPath:Sv,filter:Tv,feDropShadow:Ov,feMorphology:Av,feComposite:Cv,feColorMatrix:xv,feGaussianBlur:Pv,title:Ev,desc:Nv};function Rv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function _v(){return _v=r((function*(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.createElement("img");return e&&(r.crossOrigin="Anonymous"),new Promise(((e,i)=>{r.onload=()=>{e(r)},r.onerror=(t,e,r,n,a)=>{i(a)},r.src=t}))})),_v.apply(this,arguments)}class Vv{constructor(t){var{rootEmSize:e=12,emSize:r=12,createCanvas:i=Vv.createCanvas,createImage:n=Vv.createImage,anonymousCrossOrigin:a}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.canvg=t,this.definitions=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=t.screen,this.rootEmSize=e,this.emSize=r,this.createCanvas=i,this.createImage=this.bindCreateImage(n,a),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(t,e){return"boolean"==typeof e?(r,i)=>t(r,"boolean"==typeof i?i:e):t}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:t}=this;return t[t.length-1]}set emSize(t){var{emSizeStack:e}=this;e.push(t)}popEmSize(){var{emSizeStack:t}=this;t.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every((t=>t.loaded))}isFontsLoaded(){return this.fonts.every((t=>t.loaded))}createDocumentElement(t){var e=this.createElement(t.documentElement);return e.root=!0,e.addStylesFromStyleDefinition(),this.documentElement=e,e}createElement(t){var e=t.nodeName.replace(/^[^:]+:/,""),r=Vv.elementTypes[e];return void 0!==r?new r(this,t):new Oy(this,t)}createTextNode(t){return new Ly(this,t)}setViewBox(t){this.screen.setViewBox(function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Rv(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Rv(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({document:this},t))}}function Iv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function kv(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Iv(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Iv(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}Vv.createCanvas=function(t,e){var r=document.createElement("canvas");return r.width=t,r.height=e,r},Vv.createImage=function(t){return _v.apply(this,arguments)},Vv.elementTypes=Mv;class Lv{constructor(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.parser=new py(r),this.screen=new cy(t,r),this.options=r;var i=new Vv(this,r),n=i.createDocumentElement(e);this.document=i,this.documentElement=n}static from(t,e){var i=arguments;return r((function*(){var r=i.length>2&&void 0!==i[2]?i[2]:{},n=new py(r),a=yield n.parse(e);return new Lv(t,a,r)}))()}static fromString(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=new py(r).parseFromString(e);return new Lv(t,i,r)}fork(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Lv.from(t,e,kv(kv({},this.options),r))}forkString(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Lv.fromString(t,e,kv(kv({},this.options),r))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var t=arguments,e=this;return r((function*(){var r=t.length>0&&void 0!==t[0]?t[0]:{};e.start(kv({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},r)),yield e.ready(),e.stop()}))()}start(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{documentElement:e,screen:r,options:i}=this;r.start(e,kv(kv({enableRedraw:!0},i),t))}stop(){this.screen.stop()}resize(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.documentElement.resize(t,e,r)}}export{av as AElement,Jy as AnimateColorElement,Ky as AnimateElement,tv as AnimateTransformElement,Ny as BoundingBox,Kd as CB1,Jd as CB2,ty as CB3,ey as CB4,Lv as Canvg,By as CircleElement,Sv as ClipPathElement,Wy as DefsElement,Nv as DescElement,Vv as Document,Ty as Element,zy as EllipseElement,xv as FeColorMatrixElement,Cv as FeCompositeElement,Ov as FeDropShadowElement,Pv as FeGaussianBlurElement,Av as FeMorphologyElement,Tv as FilterElement,Ey as Font,ev as FontElement,rv as FontFaceElement,qy as GElement,Vy as GlyphElement,$y as GradientElement,lv as ImageElement,Uy as LineElement,Gy as LinearGradientElement,Yy as MarkerElement,bv as MaskElement,my as Matrix,iv as MissingGlyphElement,hy as Mouse,$d as PSEUDO_ZERO,py as Parser,_y as PathElement,My as PathParser,Xy as PatternElement,oy as Point,Hy as PolygonElement,Fy as PolylineElement,ay as Property,ry as QB1,iy as QB2,ny as QB3,Qy as RadialGradientElement,jy as RectElement,Ry as RenderedElement,yy as Rotate,Dy as SVGElement,fv as SVGFontLoader,vy as Scale,cy as Screen,xy as Skew,by as SkewX,wy as SkewY,Zy as StopElement,gv as StyleElement,cv as SymbolElement,nv as TRefElement,ky as TSpanElement,Iy as TextElement,hv as TextPathElement,Ev as TitleElement,Sy as Transform,dy as Translate,Oy as UnknownElement,pv as UseElement,sy as ViewPort,Rd as compressSpaces,Lv as default,qd as getSelectorSpecificity,Ld as normalizeAttributeName,jd as normalizeColor,Dd as parseExternalUrl,Md as presets,Id as toNumbers,_d as trimLeft,Vd as trimRight,Gd as vectorMagnitude,Zd as vectorsAngle,Qd as vectorsRatio}; diff --git a/dist1 (2)/assets/inventory-1022c681.png b/dist1 (2)/assets/inventory-1022c681.png new file mode 100644 index 0000000..09ff8d8 Binary files /dev/null and b/dist1 (2)/assets/inventory-1022c681.png differ diff --git a/dist1 (2)/assets/logo-e932ed68.svg b/dist1 (2)/assets/logo-e932ed68.svg new file mode 100644 index 0000000..2c77ec7 --- /dev/null +++ b/dist1 (2)/assets/logo-e932ed68.svg @@ -0,0 +1,9 @@ +<svg width="34" height="25" viewBox="0 0 34 25" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> +<rect width="34" height="25" fill="url(#pattern0)"/> +<defs> +<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1"> +<use xlink:href="#image0_2828_1889" transform="matrix(0.00241546 0 0 0.0031746 -0.463768 -0.409524)"/> +</pattern> +<image id="image0_2828_1889" width="800" height="600" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAJYCAIAAAAVFBUnAAAgAElEQVR4Aey9/28j1b3///4T7+d9e2GVxLbsGY9mxrZsJ5GdOIpjW3GS1X7hiqVUSy+I0nJL2a2WUgTcItpSAaXqcllRoGJ3E+Wr/FX+Kn/LJpuPmueb01MnzjrJxPGX5/ywjCczZ2Ye59jz4HXOec3/qXAhARIgARIgARIgARKwlMD/sbQ0FkYCJEACJEACJEACJFChYLERkAAJkAAJkAAJkIDFBChYFgNlcSRAAiRAAiRAAiRAwWIbIAESIAESIAESIAGLCVCwLAbK4kiABEiABEiABEiAgsU2QAIkQAIkQAIkQAIWE6BgWQyUxZEACZAACZAACZAABYttgARIgARIgARIgAQsJkDBshgoiyMBEiABEiABEiABChbbAAmQAAmQAAmQAAlYTICCZTFQFkcCJEACJEACJEACFCy2ARIgARIgARIgARKwmAAFy2KgLI4ESIAESIAESIAEKFhsAyRAAiRAAiRAAiRgMQEKlsVAWRwJkAAJkAAJkAAJULDYBkiABEiABEiABEjAYgIULIuBsjgSIAESIAESIAESoGCxDZAACZAACZAACZCAxQQoWBYDZXEkQAIkQAIkQAIkQMFiGyABEiABEiABEiABiwlQsCwGyuJIgARIgARIgARIgILFNkACJEACJEACJEACFhOgYFkMlMWRAAmQAAmQAAmQAAWLbYAESIAESIAESIAELCZAwbIYKIsjARIgARIgARIgAQoW2wAJkAAJkAAJkAAJWEyAgmUxUBZHAiRAAiRAAiRAAhQstgESIAESIAESIAESsJgABctioCyOBEiABEiABEiABChYbAMkQAIkQAIkQAIkYDEBCpbFQFkcCZAACZAACZAACVCw2AZIgARIgARIgARIwGICFCyLgbI4EiABEiABEiABEqBgsQ2QAAmQAAmQAAmQgMUEKFgWA2VxJEACJEACJEACJEDBYhsgARIgARIgARIgAYsJULAsBsriSIAESIAESIAESICCxTZAAiRAAiRAAiRAAhYToGBZDJTFkQAJkAAJkAAJkAAFi22ABEiABEiABEiABCwmQMGyGCiLIwESIAESIAESIAEKFtsACZAACZAACZAACVhMgIJlMVAWRwIkQAIkQAIkQAIULLYBEiABEiABEiABErCYAAXLYqAsjgRIgARIgARIgAQoWGwDJEACJEACJEACJGAxAQqWxUBZHAmQAAmQAAmQAAlQsNgGSIAESIAESIAESMBiAhQsi4GyOBIgARIgARIgARKgYLENkAAJkAAJkAAJkIDFBChYFgNlcSRAAiRAAiRAAiRAwWIbIAESIAESIAESIAGLCVCwLAbK4kiABEiABEiABEiAgsU2QAIkQAIkQAIkQAIWE6BgWQyUxZEACZAACZAACZAABYttgARIgARIgARIgAQsJkDBshgoiyMBEiABEiABEiABChbbAAmQAAmQAAmQAAlYTICCZTFQFkcCJEACJEACJEACFCy2ARIgARIgARIgARKwmAAFy2KgLI4ESIAESIAESIAEKFhsAyRAAiRAAiRAAiRgMQEKlsVAWRwJkAAJkAAJkAAJULDYBkiABEiABEiABEjAYgIULIuBsjgSIAESIAESIAESoGCxDZAACZAACZAACZCAxQQoWBYDZXEkQAIkQAIkQAIkQMFiGyABEiABEiABEiABiwlQsCwGyuJIgARIgARIgARIgILFNkACJEACJEACJEACFhOgYFkMlMWRAAmQAAmQAAmQAAWLbYAESIAESIAESIAELCZAwbIYKIsjARIgARIgARIgAQoW2wAJkAAJkAAJkAAJWEyAgmUxUBZHAiRAAiRAAiRAAhQstgESIAESIAESIAESsJgABctioCyOBEiABEiABEiABChYbAMkQAIkQAIkQAIkYDEBCpbFQFkcCZAACZAACZAACVCw2AZIgARIgARIgARIwGICFCyLgbI4EiABEiABEiABEqBgsQ2QAAmQAAmQAAmQgMUEKFgWA2VxJEACJEACJEACJEDBYhsgARIgARIgARIgAYsJULAsBsriSIAESIAESIAESICCxTZAAiRAAiRAAiRAAhYToGBZDJTFkQAJkAAJkAAJkAAFi22ABEiABEiABEiABCwmQMGyGCiLIwESIAESIAESIAEKFtsACZAACZAACZAACVhMgIJlMVAWRwIkQAIkQAIkQAIULLYBEiABEiABEiABErCYAAXLYqAsjgRIgARIgARIgAQoWGwDJEACJEACJEACJGAxAQqWxUBZHAmQAAmQAAmQAAlQsNgGSIAESIAESIAESMBiAhQsi4GyOBIgARIgARIgARKgYLENkAAJkAAJkAAJkIDFBChYFgNlcSRAAiRAAiRAAiRAwWIbIAESIAESIAESIAGLCVCwLAbK4kiABEiABEiABEiAgsU2QAIkQAIkQAIkQAIWE6BgWQyUxZEACZAACZAACZAABYttgARIgARIgARIgAQsJkDBshgoiyMBEiABEiABEiABChbbAAmQAAmQAAmQAAlYTICCZTFQFkcCJEACJEACJEACFCy2ARIgARIgARIgARKwmAAFy2KgLI4ESIAESIAESIAEKFhsAyRAAiRAAiRAAiRgMQEKlsVAWRwJkAAJkAAJkAAJULDYBkiABEiABEiABEjAYgIULIuBsjgSIAESIAESIAESoGCxDZAACZAACZAACZCAxQQoWBYDZXEkQAIkQAIkQAIkQMFiGyABEiABEiABEiABiwlQsCwGyuJIgARIgARIgARIgILFNkACJEACJEACJEACFhOgYFkMlMWRAAmQAAmQAAmQAAWLbYAESIAESIAESIAELCZAwbIYKIsjARIgARIgARIgAQoW2wAJkAAJkAAJkAAJWEyAgmUxUBZHAiRAAiRAAiRAAhQstgESIAESIAESIAESsJgABctioCyOBEiABEiABEiABChYbAMkQAIkQAIkQAIkYDEBCpbFQFkcCZAACZAACZAACVCw2AZIgARIgARIgARIwGICFCyLgbI4EiABEiABEiABEqBgsQ2QAAmQAAmQAAmQgMUEKFgWA2VxJEACJEACJEACJEDBYhsgARIgARIgARIgAYsJULAsBsriSIAESIAESIAESICCxTZAAiRAAiRAAiRAAhYToGBZDJTFkQAJkAAJkAAJkAAFi22ABEiABEiABEiABCwmQMGyGCiLIwESIAESIAESIAEKFtsACZAACZAACZAACVhMgIJlMVAWRwIkQAIkQAIkQAIULLYBEiABEiABEiABErCYAAXLYqAsjgRIgARIgARIgAQoWGwDJEACJEACJEACJGAxAQqWxUBZHAmQAAmQAAmQAAlQsNgGSIAESIAESIAESMBiAhQsi4GyOBIgARIgARIgARKgYLENkAAJkAAJkAAJkIDFBChYFgNlcSRAAiRAAiRAAiRAwWIbuDQCqVSqXC5XKpWDg4NSqbS5ufngwYOPP/74HWl5jQsJkAAJ/CuBn/3sZ2+88cYvfvGLX/73L3/1q1+9/fbbd+/e/fjjj1dXVyuVSqlUqtfr+Xy+drhUq9VL+43jiUebAAVrtOv/su9+d3f34ODgz3/+861btyYnJx0ORyAQ0A8XTVrcXEiABEhAIqBKi3K4eL3eiYkJr9d769atBw8eHBwctFqtSqVSq9XoWJf9Sz+i56dgjWjF98Ntl0qlL774YmZmRlVV0zTtdrvNZtM0ze12Q65gWsbhYnIhARIggUMChmHouq5pmqqqiqK4XC6Hw+F0Ok3TnJqaCoVCuq7Pzs7+6U9/yufzdKx++LUfzWugYI1mvffFXa+srECnfD7f2NiYruter1dVVUawpP9R5yoJkEBHAiKM5XQ6HQ6HqqqGYWiapihKIBDQNG1ubu7rr7+mY/XFL/7oXQQFa/Tq/FLvOJPJFIvF+/fvQ62O/eGU+ga5SgIkQAIdCcg/IJAtbNE0Tdd1BL+9Xu+f//znQqGQzWbZV3ipP/8jd3IK1shV+eXecLFY/Pzzz/1+v6Io8o+jvN7x15R/IAESIAGJgPy70UmwAoGA1+v96KOPCoUCZtVc7m8gzz46BChYo1PXfXGn9+/f9/v9NptNVVX5x1Fel34/uUoCJEACHQnIvxudBMvj8aiqKuJYDGL1xZNgNC6CgjUa9dw3d4nhEWLkhPh9lANaHX9N+QcSIAESkAiIHxC32y0ES/wdozkdDofH40Eca2tri0GsvnkaDP+FULCGv44v/Q7L5fLTp0/z+XwoFBI/iG0RLJfL5ff7vV7v+Pi4aZoYPIGJQjhEOBlXSIAERpwAfhMgUmKusa7rNpttamrKMAzMRJany2A9GAymUqlms1n+1+XSfyR5AUNJgII1lNXaXze192SvVqt99NFHcphKmBb+19PtdsOrMOla/ICKkaqcn04CJEACICDSNGCuDP5vDVkb/H4/BEtke5E9TFXV//mf/ykWi//qV/9Id8yFBCwnQMGyHCkLbCdQOlw8Hk8nwYJFud1uXdcDgcCdO3fuHi6//vWv7927h7zuv+FCAiRAAocE3nnnnXv37v36cLl79+6dO3fefvtt0zR1XR8fHz9BsBRFmZ6ebjQa2WxWdqz23yx+JgErCFCwrKDIMk4kkM1mf//73yuK4nQ65cCVvO50OsPh8N27dzc3N5vNZuNwqdfryMLMcaknAuYfSWC0CFQPF7wJp364NBqNXC735z//ORqN+v1+EQJvG4+FiNf7778v2xVHZY1W6+nh3VKwegh7VE91cHAQCoVM02zLfaVpWjAY9Hq9P/rRjxKJRCaTKZVKT58+FW8Qw88o7WpUGw7vmwQ6EhA/DtVqFb8Yu7u7lUolk8lEo1FFUTRN8/l8V65cwegr/KsoimEYCwsLbcOwOp6GfyCBcxCgYJ0DHg/tjsD6+rqu66ZpyiErdAiapqkoyvz8fCaTyWazSFSDX0z5B7S783AvEiCBUSEg/z4gzl0sFnO5XDabzWQyeKXplStXZmdnjwqWx+P59ttv5SDWqFDjffaWAAWrt7xH8mzvvfee3W43DKNt5qCu62632zCMTz75pFQqFQqFg4ODXC7HCNZINhPeNAmcgkCbYNVqNfEDUqlUPv30U0VRHA6HoiiyYOG1p88///y7775LwToFbu56JgIUrDNh40GnIfDyyy9j1k/bIHfDMMLh8NWrV/ee7B0cHJTL5dzhQsE6DV3uSwKjSOCoYFUqlUKhUCwWd3d3i8UiOgp9Pp8YhoVphoZhPP/886+99hoFaxTbTW/vmYLVW94jebYXX3xRTCGUf+w0TbPZbO++++7u7i6C/FArCtZINhPeNAmcmoCsWTgYI9b39/fv3bunqurExIT8m4ORCaqqJpNJIVinPisPIIHuCFCwuuPEvc5BYGlpyTRNp9OJxKHy753T6fzkk0+azaasVhSsc8DmoSQwQgSOChZuvlqt/vWvf71y5UrbsAQkx6JgjVATudRbpWBdKv7ROHkkEtF1HfN3ZLsyTVNV1e+++w7pGNocq9NP52gw412SAAk8m0CnX4lyuby2tmaz2TDQU0yvwe+PLFjPPgf3IIGzEqBgnZUcj+uawOzsLEY/yHalaRrmFe7s7JTLZfmH8uh616fijiRAAiNEQP6tkG+7Vqutrq76/f62CBYFS6bE9YsmQMG6aMIsvxKPx9v+PxL/Q6nruqqq6+vrhUIBmOSfS6wTHwmQAAl0InD0FwNbisXixsYG3tgowlfi5TkigtWpWG4nAUsIULAswchCTiIAwUIQq+3HzuVyra+v5/N5DDiVS6FgyTS4TgIkcJQABesoE27pHwIUrP6pi6G9EgjW0TxYmqZRsIa21nljJHDxBM4jWBd/dTzDqBOgYI16C+jB/VOwegCZpyCBESRAwRrBSh+gW6ZgDVBlDeqldi9YRzsKB/Weed0kQAIXT4CCdfGMeYazE6BgnZ0dj+ySwAmCpSjK2tqaGINFweoSKXcjARKoVCoULDaDfiZAwern2hmSa+skWG63W1XV1dVVvOOZiZWHpL55GyTQKwIUrF6R5nnOQoCCdRZqPOZUBE4QLLfb/fjxYwrWqXhyZxIgARCgYLEl9DMBClY/186QXFsnwUIOwMePHxeLRRG+wqvEhuTOeRskQAKXQaBUKm1ubiIpTFt+Y+SLSSaTl3FdPOdoEaBgjVZ9X8rdniBYmqY9evSIgnUp9cKTksCwEqBgDWvNDtZ9UbAGq74G8mo7CZaiKLquP3z4sFQqMYI1kFXLiyaBviRAwerLahm5i6JgjVyV9/6GTxAswzC+//57ClbvK4VnJIEhJkDBGuLKHaBbo2ANUGUN6qVSsAa15njdJDCYBChYg1lvw3bVFKxhq9E+vB8KVh9WCi+JBIaYAAVriCt3gG6NgjVAlTWol0rBGtSa43WTwGASoGANZr0N21VTsIatRvvwfihYfVgpvCQSGGICFKwhrtwBujUK1gBV1qBeKgVrUGuO100Cg0mAgjWY9TZsV03BGrYa7cP7oWD1YaXwkkhgiAlQsIa4cgfo1ihYA1RZg3qpFKxBrTleNwkMJgEK1mDW27BdNQVr2Gq0D++HgtWHlcJLIoEhJkDBGuLKHaBbo2ANUGUN6qVSsAa15njdJDCYBChYg1lvw3bVFKxhq9E+vB8KVh9WCi+JBIaYAAVriCt3gG6NgjVAlTWol0rBGtSa43WTwGASoGANZr0N21VTsIatRvvwfihYfVgpvCQSGGICFKwhrtwBujUK1gBV1qBeqixYmrS4XC5d1//+978Xi0X53srSIm/nOgmQAAl0Q4CC1Q0l7nPRBChYF02Y5VcoWGwEJEACvSRAweolbZ6rEwEKVicy3G4ZAQqWZShZEAmQQBcEKFhdQOIuF06AgnXhiHkCChbbAAmQQC8JULB6SZvn6kSAgtWJDLdbRoCCZRlKFkQCJNAFAQpWF5C4y4UToGBdOGKegILFNkACJNBLAhSsXtLmuToRoGB1IsPtlhGgYFmGkgWRAAl0QYCC1QUk7nLhBChYF46YJ6BgyW2gXC7LH7lOAiRgOQEKluVIWeAZCFCwzgCNh5yOAAULvA4ODmq1Wrlc3nuyl8lkcrlc8XDJ5XLZbDafz5fL5frhUq1WK5UK/i0Wi4VCoVgs0sxO1+y49wgToGCNcOX30a1TsPqoMob1UihYsKVqtVoul2u12t6Tvf39/WazWalUSocLdqjVatVqtVQqFYvFfD4P66pUKrVaTexJzRrWrwnvy0ICFCwLYbKoMxOgYJ0ZHQ/slgAFq1KpIDs9HCuTyezv75dKpdXV1QcPHvzxj3/84IMPfvWrX73++uuvvfbaW2+99f777//xj3+8f//+999/n8vlWq1Ws9lE9AvldIue+5HASBKgYI1ktffdTVOw+q5Khu+CRk2wEHA6Wo8IXGUymfv377/yyitLS0umaT733HPj4+Mul8vj8QSDQb/fr+u63W6/cuXKxMREIBC4fv36a6+9dv/+/c3NTWjW0ZK5hQRIQCZAwZJpcP2yCFCwLov8CJ131ASrXq/vPdlrtVrlchmvWazX6/l8/ptvvnnrrbfC4bDD4XC73ZqmGYahaZpbWtTDBRvw2kb9cFFV1e/3v/XWW+l0Op/Pr6+vFwqFer2OcVoj1Jh4qyTQBQEKVheQuMuFE6BgXThinmDUBAv9gNVqtdVq5fP5arX61Vdf3bp1a3Jy0ne4BAIBr9eraZqsU5AqeYsQLLfbraqqrusul0vTtJdffnlnZ2fvyV65XK4eLmxjJEACMgEKlkyD65dFgIJ1WeRH6LyjJljwnnK5nDtcXnvtNcMwPB7P0WCVFLo6ZlUIlq7rqqrCzxDQ8ng87777LuyKjjVC3yXeancEKFjdceJeF0uAgnWxfFl6pVIZBcEqFAqirsvl8sHBQbVa/d///d9AIGCaptvtdrlcDocDIaijPYPH6NVhH6KmaTCqsbExRVG8Xq/f73e5XH6/X1GU2dnZb775RmiWuACukMCIE6BgjXgD6JPbp2D1SUUM82WMgmBlMplardb8YanVar/73e8w0AqBqC7/hWl1ubOmaYqifPHFF7VaTTa8YW5MvDcS6IIABasLSNzlwglQsC4cMU8wCoJVLBabzeb6+nq9Xs9ms6+//rqiKE6ns3tVwp6nFayJiYl///d/v3fvXqvVYksjARIAAQoWW0I/EKBg9UMtDPk1jIJglcvlp0+fIoC1srICT5qcnDytYJ12fwyKd7lcv/zvX25ubg55S+LtkUB3BChY3XHiXhdLgIJ1sXxZ+oiMwWo2m3ibzU9/+lOPx2Oz2XRdx1ir0zrTafc3flju3r1Lx+I3jgTw2oPNzc1O8WBVVZPJJEGRwEUToGBdNGGWPxKD3PGKm1/+9y9N08SwdPx7Wls67f7yuZ5//vnf//739Xqd47H4rRtxAoxgjXgD6JPbp2D1SUUM82WMQhfhwcHBn/70J0VRLlGwMOTr0aNH+/v7fGXhMH+jeG/PIkDBehYh/r0XBChYvaA84ucYBcFaX18PBAKGYcghJV3XTxuROu3+8ulcLpfb7U4kEjs7OyPe5Hj7I06AgjXiDaBPbp+C1ScVMcyXMayCJb+m5urVqxMTE6qqXmIES1EUwzDGx8d/+tOfIps8WhXeD823RA/zd4z39q8EKFj/yoOfLocABetyuI/UWYdVsDCWtlarffzxx6Zp4m02bUGs00akTru/HMFyu93i4zfffFMsFuv1+s7ODgVrpL5uvFkOcmcb6BMCFKw+qYhhvoxhFaxcLoef8pWVlWPtqsddhMKudF1/5ZVXKpVKrVbb2dkpHS7UrGH+jvHe/pUAI1j/yoOfLocABetyuI/UWYdVsNLp9O7u7pdffimSMsiKg/XTRqROu//RM2KLy+X6/vvvm81moVCgYI3U1403ywgW20CfEKBg9UlFDPNlDKtg5XK5bDa7vLzs8XjaegaF95xWmE67vzhR24rT6bx9+3Ymk2m1WhSsfvh2cQxcL2uBEaxe0ua5OhGgYHUiw+2WERhWwSoUCt9//73b7Ub/YJvi4ONphem0+x97Ul3XHQ6H1+vF/8qzc9CypvysgsrlcrFYzOfz9R+WWq3GWngWNuv/TsGynilLPD0BCtbpmfGIUxIYVsHK5/Nvv/22oijy6PI24zmtMJ12/7bTiY+qqrrd7k8++aRUKlGwTtlgz757tVptHC61Wq16uKAsVsHZmZ7pSArWmbDxIIsJULAsBsrijhIYVsFqNBrhcNjlcnXqH7zEQe6maTocjhs3buzu7vLpfrRNXsQWpO0olUqFQiEnLfl8Hq9RYvbXi8B+bJkUrGOxcGOPCVCwegx8FE83rIJVKBSQ29Pj8YjQUdvKaSNSp92/7XTio8/nU1V1amqKEayefeUajUY+n19bW/vmm28+lZZvvvlmfX0dmtWzixnxE1GwRrwB9MntU7D6pCKG+TKGVbC+/PJLp9Op67rX6/3hhcv//K9wnQuNY8lnkde9Xq+iKLqub29vM4Jl7bfr4OAAOcZarRYGXW1ubr7//vs/+clP4vE4GgMq3e12u1wuh8PhcrlM0/T7/Xfu3FldXUUJpVJp78leo9HY2Niw9gpZGgWLbaAfCFCw+qEWhvwahlWw7ty5A4nBLMJ/utXhmqw7p41Ldb+/fBZ53TRNp9OJYVgULGu/YKVSqdlsptPpg4ODR48e3bp1y+Vy+f1+qJX7XxdVVRVFwTQI0zS9Xq9pmtFo9De/+U0+n89ms+VyuXa4WHuRI14aBWvEG0Cf3D4Fq08qYpgvY1gF6+rVq2632zAM0zTb7KptVFb3wnTaPWWpktcNw0D35euvv07BsvbblclkqtXq2tpaNBr1+/0ej0dVVZfLhekOqEFhWZqmIZqFfTRNUxRlfHw8cLh88sknzWZTfueStZc6sqVRsEa26vvqxilYfVUdw3kxwypY169fx+OzTadk0cH6abWp+/2PnktsQQTr1VdfpWBZ+71qNBp3796FNvl8Pr/fL+KFbre7TbB0XcfrKRVFsdvtNpsN0Szs6XA4ksnkw4cPrb1ClkbBYhvoBwIUrH6ohSG/hmEVrFgsZhiGpmmqquKxKuRGrHSvSmfbU5zo6IqiKJqmLS8vC8Ea8nZ2kbe3v7+PfK3FYnFlZWVyctLpdKqqKkcuUQVt9SjqBfnSkD5DxLew0ePxfPrpp/V6vVgs7u/vX+R9jErZFKxRqen+vk8KVn/Xz1Bc3bAKVjgc9ng8mqahM05EL2TZanvcWv5RPL/bVjRNw/VQsCz5DpVKpXw+n06nE4mE63A52jt8rGC11bisVvK61+v9zW9+Uy6Xs9msJRc84oVQsEa8AfTJ7VOw+qQihvkyhlWwfD6f1+vVdR2Db/pQsHRdF4I1zC3s4u+tVCql02m/3+/z+RC1Mn9YRBBLdtw2rxIfZamS11VVHRsbu3PnDt4gLt8QEpZynJbM5JnrFKxnIuIOPSBAweoB5FE/xbAKFgY4u93u/hQsRVEMw6BgnfnrJztNsVhMJBI+nw9Z+xEgFBn84VjnEaypqSmHw+F0Ot9//31xwUKt5KTw4q9cOYEABesEOPxTzwhQsHqGenRPNKyCNTc3hzE0CEWIKEU3D1qx8zlX5HO1rTudTsMwXnzxRSYQP9t3r1arZTKZWq3WaDRu374dDAZFdisRfMIshzbyJ3w8oboNw/B4PG63+8svvywWi81ms9FoiFfutMlWp49nu9PhO4qCNXx1Ooh3RMEaxFobsGseVsG6fv260+nEI1PuH5Sfryc8UC35k3wueR1pGjRNe+ONNyhYZ/vClMvl5uHy1ltvCbsSsSu5+mTyJ6/LRx27bhhGPB5PpVJ7T/bq9ToF62x1R8E6GzceZS0BCpa1PFnaMQSGVbB+/vOfT0xM4D058sNSfsTK2y9iXT6XvG6aJkbff/jhh8dUCTd1ICB3xuXz+Var9fXXXyOxAqpPjiVSpFMAACAASURBVF2JCpXJn7wuDjlhxe1237p1q1gstlot5CDFv52iVvL2Drc1cpspWCNX5X15wxSsvqyW4bqoYRWs3/72t1euXMFEQvl5KT9i5e0XsS6fq21d0zSHw/HFF18MV2u62LsRslKpVHK5XDabjUQiIg2HsCs5YHmqXsJu2oDD4fB4PH/4wx+KxSLUCrE0cW0nrFwsncEpnYI1OHU1zFdKwRrm2u2TextWwXr48CFmEYpuo7bBWN08Tc+5T5tUiY/IzuVyufL5fJ80g36+DCgL+uNEuKher7/yyitut1s4tBAsUWsCuIUrgUDA5XKFw+HV1dVyuZzJZEql0u7u7gleJf7Uz5B7eW0UrF7S5rk6EaBgdSLD7ZYRGFbBKpVKeP0cJpcdffqKx/DFrXR6ruNiYrFYoVCwrCKHt6CjglUul9977z1N065cuTI1NSVqsM2hO/E/53ZMnrh582aj0cBIrC4HvA9vFZ3uzihYp+PFvS+GAAXrYriyVInAsApWo9F48cUXdV2fnJwUD+Aer3R6kKuq6vF47ty5UywWparg6jMINA6XarX6t7/9zTRNvMLZZrN1qtZO/M+8He8GcLlcY2Njqqp+/vnnlUql0WiIGNXJK8+4vZH5MwVrZKq6r2+UgtXX1TMcFzesgpXL5T777DNFUYLBYKcH8EVv7/QgVxTF7/f/5S9/KZVKw9GKenMXiBiVy+Uf//jHiqK4XC68EqdTPXbif57tPp9vYmLCMAx0QH///ffVarXL6YS9odT/Z6Fg9X8djcIVUrBGoZYv+R6HVbAKhUIulzMMo02wzvNwterY6enpeDzearV2dnYuufoH6vQY6vTBBx+IcVed1Ko32w3DmJ2d3djYKBQKJ8eu8NeBgn2BF0vBukC4LLprAhSsrlFxx7MSGFbB2t3dLZfL77zzzvj4uPy4tUqSzlnOJ5980mq16vX6WettFI+r1+tbW1uhUGhiYkKu08tadzgcU1NTr7zySj6fp2B13yIpWN2z4p4XR4CCdXFsWfL/IzCsgrX3ZK9SqWQyGUVRhAwZhiHWL3ElEolUKpVqtbq/v8+G2D2BdDodj8dVVVUU5bKkSj5vMBhUFMXpdH7++ecUrO7rkYLVPSvueXEEKFgXx5Yl/z8CwypYlUqlUCgUi8VXX31VuNTR19KJP/Vy5cMPP6xWq6lUqtFosCF2T+DNN990OBxut9tut8uic4nreOPh3NycEKwTxmN1f6fDvScFa7jrd1DujoI1KDU1wNc5xIJVKpXK5XKhUPD7/aZp6rpumuZlBbEMw8DUs3A4vLm5iQQN8huLB7gNXeSlHxwc5HK53d3dBw8eTE5Oug4XkVz0EtWq7dQ//vGPW4dLW7evEC/WtWgmFCyBgiuXSICCdYnwR+XUQyxYogo/+eQT+A00q5fBKnEut9vtOFy++eYb2pWommeuIGF6Pp+fmZnpW7vSNG18fPwPf/jD0XF1FKyjVUzBOsqEW3pPgILVe+Yjd8ZREKz9/f2bN29itLswnh6vOJ1Ol8v1wQcfIMLBeEaX37R8Pp/NZm/duqXrusvl6sPYFUJZSL3x7bfftuU2o2AdrWgK1lEm3NJ7AhSs3jMfuTOOgmBls9mNjQ2EQHrsVeJ0wWAwFovlcrlWq0W7eubXTCBKpVJ/+tOfPB6PzWbrW7vSNG1qasrhcCwsLKTTadxduVx+5m2O5g4UrNGs9367awpWv9XIEF7PKAhWOp1uNBpbW1s+n8/j8SBF5PT0tLCfi1hxu93K4eLz+bxe7/Ly8tbWVrPZlEMabetD2LxOf0vlw6VWqz19+nR/f//Ro0eGYTidzjN077YNk7rQjw6HQ9O0YDD4X//1Xxj5VywWMQoQd0TfEm2BgiVQcOUSCVCwLhH+qJx6FAQrk8nk8/larfbll1/quo43BF+EVLWV6fP5FEWx2+2BQKBYLG5tbWWzWSRoaFMrfByVNves+yyXy0iPnk6nb9265XK5dF1XVbUN7zM/XqhRyYWrh4thGD6fLxgMfv311+vr6+VyGY5FzWqrcApWGxB+vBQCFKxLwT5aJx16wSqVSnjO5fP5RqPx+eefu1wur9d7hgf2M5/obTtg2qDH41lfX88dLgcHBycEsUar5XW+22q1Wi6X0+n0vXv3nE6nw+EwTVPTtDa8z/woO9CFrmOCqq7rmKM6NzeHlyClUqnS4SKCWIxjVSoVClbnts+/9I4ABat3rEf2TEMvWKjZg4ODzOHSbDYfP348MzNjs9nantAY4uN2u48+jNv27PKjzWa7fv26iFo9ffo0l8shPMMI1gnfuFqtls/nv/vuO5/P53K5FEVxu92BQAD10iV8XdeP1uMFbTEMw+PxmKapqqrD4fB4PLdv397d3YVdFYtFCpZc3RQsmQbXL4sABeuyyI/QeUdEsESNYpj51tbWyy+/7PF4FEXxer2aptntdjzLVVV1Hy5HH8bHPtoRtMCxnsPF6/UGAgG73X7nzp1sNttoNFKplDAqCpaoi04re0/2tra2ZmdnDcNA79vRGjm2Lto2Hq3BC9oiYlewc6fTGQgEvvjii3q9nslk0EWYz+c73e+obadgjVqN9+f9UrD6s16G6qpGTbBKpdL+/n6z2dze3n733XcDgYBpmuPj4whfYVi6oihCs+RHe9vzW3x87rnnHA6Hqqoul8vj8aiqGg6H79+/n81mq9VqsVjEiCLhWJ1WhqphneNm9p7svfTSS6gLWbC6qQtRKb2MYLV5m91udzgcLpdra2urWq0iMQcFS7QICpZAwZVLJEDBukT4o3LqUROsWq22v79/cHCwu7t7cHCQz+dfeuklm83mPVw0TRPZLPE47+ah7vP50DekKIrH43n99deRSrTRaBSLxXw+XyqVOkmVvH1U2tyz7vPjjz/WNE1VVZvNJtdCN3XRD4I1Pj4+Njbm9XqvXbtWrVZLpVIqlWq1WhyAhZqnYD3rG8C/94IABasXlEf8HCMlWLVarV6v12o19Nrs7u7uPdmrVqvZbPb27dsY+W63208bNfF4PM8995zP5/v5z3++traGZ2o+n0+lUjgXIhmySx27PuJNUdx+MBhUVdXpdNrt9kEULI/Hgx5np9N5586dYrH49OnTra0tChaqmIIlmjpXLpEABesS4Y/KqUdKsNBVJ6q2zXI2NjZ+85vfrKys4KGOLj/09WAUs3iPoaZpIpqi6/rNmzc//PDDnZ2dWq0mCufKqQiUy+VMJlOv15PJpIhCiY7atj64Pv/YJoWrq6uFQiGXy2Fq4amwDOXOFKyhrNaBuykK1sBV2eBd8EgJVlv1tAlWvV5vtVrpdHpjY+Ovf/3rnTt3Xn755ampKb/fbxiG2+222Wyapk1OTkYikZdffvnu3bv379/f2NgoFAp4dor8420n4sdnEigUCru7u/fu3fuP//gPIVhIWnbsvM5+dixZsAzDCIVC+Xz+6dOnFCw0AwrWM78O3KEHBChYPYA86qegYMGK8PBrNpu7u7s7OzvZbLZcLov+xGw2m0ql1tbW0ul0tVrde7KHdFb5fD6dTj99+nTvyZ7oeRz1JnWm+8/lcg8fPkTnrCxY/SxSna5NFiyPx6Np2muvvVar1dpeU3gmTsNwEAVrGGpx8O+BgjX4ddj3d0DBgmAVi8VCoYA5X9gikolj/letVhPb8afa4YLEiTgcGY/6vs778QLz+TzyMuBFRsKxOklMP29vEyxVVU3T/OKLL4RgjXhXMgWrH7+Bo3dNFKzRq/Oe3zEFS45gHcXfKUWk6F7EIdgNY+ePFsItRwkAILY3m80XX3zR5/OZpikGugnHEiv9LFWdrg23g393dnaazWaxWGw2m0eBjM4WCtbo1HU/3ykFq59rZ0iujYIFwepUnacSLOzcqShubyOAeGEqlXrw4MEz7eoS81p1kqdTbdd1/cUXX6xUKntP9hqNRhuKkfpIwRqp6u7bm6Vg9W3VDM+FUbDkUMrRej2tYB0tgVs6Ecjlco3Dxe/3nxy7QhDrVELThzv/27/92yeffLK/vz/i+RooWJ2+EdzeSwIUrF7SHtFzUbAoWJfV9Gu12sHBwU9+8hNVVU/oGRzoLkLZ85Duf2dnRwzGEu9NuqwquJTzUrAuBTtP2kaAgtUGhB+tJ0DBEqOpjl3pRFzeudM+3H6UQDqd3t/fz2QymBDw2WefTU5Otg1sF0bVtiLLyiCuI9lHLBZrNBrZbFZ+8/dRUEO8hYI1xJU7QLdGwRqgyhrUS6Vgyap0dL1Tvcp7dtqH248S2N/fb7VahUKhXq8/evQIqcW6CV8N+hgsTdNM01RVVVGUN954o9lstlqtZrM5guP2KFhHvxfc0nsCFKzeMx+5M1KwZFU6ut6pQch7dtqH248SyGazhUIBL+ZLJBJer9dutyuK0hasOvbjIEatxDVDEB0Oh3m4PHjwoF6v7+7u5nK5o5SGewsFa7jrd1DujoI1KDU1wNdJwZJV6eh6p6qV9+y0D7cfJVAsFuv1erlcvnfvns1mczqdiqJMTU0da1RtG4WsDOiKrut2u93v94+PjwcCga2trUajgSxrR0EN8RYK1hBX7gDdGgVrgCprUC+VgiWrkrXrg9omLvK6S6VSvV5/8OCBoiiyJ7W51LEf5f0HdF1RFKQh1TTtxo0bGO0+apMKKVgX+Q1j2d0SoGB1S4r7nZkABctaqZJLO3OlDPGBpVKpUCiEw+FAICBL0rFG1bZR3n8Q1+UM7wjdffTRR+gtHeIaP3prFKyjTLil9wQoWL1nPnJnpGDJSmTt+sg1pi5uuFAovPLKK3a7vc2Q2lzq2I9thwzcR1mwxsbGVFUNh8M7OzuMYMlVqapqMpnsoilxFxI4FwEK1rnw8eBuCFCwrJUqubRu+I/aPt98843zcHG5XPJj9Vijatso73+qdbfbrWmaqqpnmIp4hkM6XZssWB6Px+Vyeb3ea9euUbBkYhSsUftNuKz7pWBdFvkROu8oC9YIVfOl3ur+/n61Wi0UCmtra7IzyY/VC113u90ulwvpTH0+n9PptNlsY2NjE4fL+A/Lc889h7QRPp9vYmLC6XRqmoYLtvzyZA737t1rtVr5fP7ktzZdah1aeXJ2EVpJk2WdlQAF66zkeFzXBChYXaPijmcksPdkr1AoNJvNGzduyGJhubV0KtAwDI/HgzRUTqcTwTPTNH0+X1JaVlZWotFoMBjUNA1CJq62U8ln3i5KRoTs888/bzQaFCwEGtlFeMZvGg87DQEK1mlocd8zEaBgnQkbDzoFASS+evfdd8fHx9vE4syCcqoDZcFyOByhUGh2djYajS4sLMTj8UQisfjDkkwml5eXV1ZWZmZm/H6/qqptXZmnOu8JO8scbDbb9PT05ubmKZgO8q6MYA1y7Q3PtVOwhqcu+/ZOKFh9WzWDe2GIxIh4TKlU+uqrr+x2e1vG9hP8w9o/oYtQURQ5arW4uJhIJOLxeCwWW1hYiMViiURiaWnp6tWr165du3nzZiwWCwQCcjoJeRAVxnWd+TplwVIURVXVF154YXBr/FRXTsE6FS7ufEEEKFgXBJbF/pMABeufLLhmEYFqtdpsNqvVarFYROr2ycnJQCBwuYI1PT0dj8eXlpYWFxejh8vi4uL09PTk5OTU1NT09HQoFAqHw7OHy/Ly8tWrV2OxWDAYVBQFWRXUHxaY1pntSgztgmZpmjY2Nmaa5t27d/f393O5XKvVqlQq8oSJbtYtqr0LL4aCdeGIeYIuCFCwuoDEXc5HgIJ1Pn48+hgCpVIpn8+LpO2vvfaa3W73+Xxy2MbC2XndiI7X652bm1tcXEwmk7FYbGlpKRKJKIeLw+GwHy4ul8vtduu6bhjG7OyscCyv1wvHwsAsVVXlUFY3Zz+6j4wChauqOjs7+/Dhw1qtlslkWq1WN1Il73NMTfTlJgpWX1bLyF0UBWvkqrz3N0zB6j3zUThjNpstFou1Wu3TTz8NBAKYwSdbRY8FKxKJJJPJpaWlxOHi8XgcDge6Dg3DQGQKvmW3210ul8fjEY4ViUSEY2FPCwVLVVWn06nrutfrNQzjxo0bu7u79Xo9l8vJ8tTN+qC0KwrWoNTUcF8nBWu467cv7o6C1RfVMHQXAUvY2dkJh8MOh0PXdQxakh3raFzH2i1ut9swDJx3cXHx+vXrKysr8Xjc5XLhMpCJanFxEcOw4vF4KBSC+bndbuFYiUQCjuV0Oi0XLF3Xr1y5Ypqm3+/XNC0YDH788ce5XO7p06diEFtb6+gkW2279e1HClbfVs1IXRgFa6Sq+3JuloJ1OdyH/awHBwfpdPrmzZsIFGmaht63XgqWqqoej0fX9ZWVleXl5fn5+atXr5qmqWnaxMSEoiiYSJhIJDBzcHl5GR2IMzMziqKMjY3pur64uLi8vByNRr1er91uvwjBQqckLhWDvb7++ut8Pl+r1UqlUllajrYaWbaO/rU/t1Cw+rNeRu2qKFijVuOXcL8UrEuAPgKn3Huy99FHH4mkU23DuqFZ1sarjpYGpfN6vUuHy8LCQiQSQbeg0+kMBALLy8tLS0vJZDKRSKADMZlMLi4uxuPxyclJx+EyOTm5vLwci8UmJycvaAyWLJ02m83j8USj0Xw+X6lUyuVySVrgWnLzoWDJNLhOAt0ToGB1z4p7npEABeuM4HjYiQQeP36MYI/P5zvWrnowBkvXdYfDMT09DX9KJpPINToxMREIBJCUIRaLhcPhYDA4NTUVCoUikQi6CxcXF30+H8JvSJQ1MzODjk4xAOuo0nW/RZYqed00TafT6ff779y5I4JYQrEoWCc2Ov6RBE5BgIJ1Cljc9WwEKFhn48ajjhKQ36m3vLxsHi5iwJOsEVjvXkfOtqeu6+Pj47Ozs4lEIhaLxeNxvAnH5XLF4/Hr168vLCx4PB6bzfbcc89hLqGu68FgMBQKrayszM7O6rquKEooFFpcXJybm/N4PMKuLMyDJZPRNM3v9zscDsMw/v73vyOIVSwWpX7CskyeESyZBtdJoHsCFKzuWXHPMxKgYJ0RHA87jkC5XK7Vau+8804wGDx2YHubTJzNnLo8yu12P//88/Pz8xhZFY/HIS5erzeZTK6srASDwbGxsWAw6HQ6x8fHTdN0OBwul2t6ejoWiy0uLobDYVVV/X4/Umf1QLBkPsFgcGdnB+nEKFjHNTduI4GzE6BgnZ0dj+ySwOAKlhwv6fJmuduFEmg0GoVC4auvvlIU5Zl21YMuQkVRIFjLy8t4Jc5RwZqYmPD7/YqiGIZhmqbNZhsfH9c07ahgLSwsYE6iCGJ16XnH7iaLVKd1t9v90ksv7e7utlotCtaFNl0WPoIEKFgjWOm9vmUKVq+JD+/5CoVCNpv1eDzI2Nlp6JXwiWPNw8KN3QiW0+n0eDyaps3Pz4dCIZfLNTY25nK5OgmWVZcnIJywgpchfvDBB81mk4I1vN8b3tnlEKBgXQ73kTrr4ApWqVQaqZrq/5utVqvXrl0zDANDnU5QB/zJKlnpVI6iKFeuXIlEInIES9M0uYsQGVANw7h27VoikUAyKsMwFhYWEokEknihizAejxuG0elcp93+TDjYwW63K4qytbUlBKstORbHYPX/94JX2J8EKFj9WS9DdVUDJ1h4opTLZbznrlQq5XK57e3t9fX1jY0NTG4vFotDVUl9fDPpdLpWq+0fLh9++KHdbp+amnK5XKcVjovYX1EUm802PT39wgsvIBdDMBjUNM0wjHA4fO3atf/8z/90u90TExN4Tc3y8nIgEEB2BgjW4uIiegyRu6H3goWkEolEAq93LBQKjUZDlqrzrF9Ws2IerMsiz/PKBChYMg2uXwiBwRUsdEhtbW1ls9larbb3ZC+fz6dSqUwmcyGkWOhxBGq1WiqVymazW1tbMzMzGMl0zhl2VsmWoijI1Z5IJFZWVhYXF2dnZz0eD0ZczczMXLt2LRqNRiKRaDS6tLSEeYJIT4oxW5FIxG63B4PBRCIxPz9v1YU9s/NUjm/Bsd58881Wq7X3ZK9er59HquRjj6vPXmyjYPWCMs/xLAIUrGcR4t/PTWBABatSqUCwkImxWCwWCoVKpZLJZFKpFOJY52bDAp5NIJVKodNqZWVlbGzMNE3DMLxer4UucuaiVFVFBnnEq0QQC+lPEcfCWKtYLDYzM+PxeGBXc3NzyDjq8XgMw0BmrMnJSQvFUVaoZ6673W5FUb766qv9/f1SqSRL0nnWn127F7MHBetiuLLU0xGgYJ2OF/c+A4HBFax8Pp89XCBVOzs76BnM5/MbGxtnQMFDuiQAo8Iszmq1mkqlPvvsM0zHc7lcgUBgamrqzFZ09MCzaQ3m+iFWhBCUCGIpioI30iDeNjU15fF4kArL4XAgwzuSvCPhOwJdyNFw9PLOtuWZUtW2g6IoMzMz+Xy+WCxWq1XEsc4Zzeqyui3fjYJlOVIWeAYCFKwzQOMhpyMwcIJVqVRqtVq1Wi0UCuvr67VaLZPJbG9vo5cK/0O/tbV1Ogrc+/QEMOy6Wq2ura1pmoa5eGezjU5HQTJUVZ2YmHjuuedO+x5AHG4Yhq7ryWTy+vXrS0tLkcNlenpa13Xx6huUbLfbvV7v3NxcPB5fWlrSNM3pdIbD4fn5eQx+P5vqHXt3bf70zI+BQEDTtNu3b9dqtWw2W6/X9/f36/W6XG+njWbJx/ZynYLVS9o8VycCFKxOZLjdMgIDKli1Wo2CZVkjOE1B6JMtl8t4nGez2YWFBU3T8BLlY2XinBvF2wPRtaccLqqqPlN3ZGsxTXNubg4vdY7H4xh6Bc0Su83MzCwvL9+4cSORSPh8PqfTqWlaNBqFXZ3zLtoOFyftcsU0zf/4j/8wTfMPf/hDo9FAn3hbKjgK1mkaMvcddQIUrFFvAT24/wEVrHq9TsHqQfM4egpM3iwUCs1ms1AovPnmm8jPeREzB9HNp+u6x+Px+Xzz0oLBVW3W0vZRdpfx8fFAIIDQ1PLycjKZjB8uSOm+crgIu8JESAiWz+e7CHeUr62bdY/HEwwGPR6P0+n87rvvstlsqVRqG2tIwTraXLmFBDoRoGB1IsPtlhHoZ8ESD4xarSbfcLVardVq+Xx+bW1N7iLc3NzEbpubmyJvUNv/5cvlnHn9IsqUL+aiy5fP1eW6zHNjYyOXyzUajc8++ywYDCKkZGEKA+FJbrdbVVVd1ycnJ8Ph8Jy0aJqGfj2x89EVIS4QNdM0g8Hg9PR0JBKJx+MYZYWYFgQrHo+Hw2GkmEcmeiR6uAh3FNfW5YqmaYqiYNj+3NxcoVA4ODjAxA5RgxgbJ741z1wRB/Z4hV2EPQbO0x1LgIJ1LBZutJJAHwoWHgy1w6X+w1KSFlmw6vV6Npvd2dnJ5XKdBEuWA7CTt6Bgecsz+WJn6Yr+uXqqcjqdSJR/tLSjWzoVIm+Xj/rntf6wJv8VR2EL/l48XOR9yuVyJpN5+PBhKBQyDhdd1zHU6ajlnHMLLGpubi4SiUC2HA7H7OzsysqKy+VSFOWEjkLhLthHvOJG13WfzyeMDaOyIpGI2F9c88nliwK7XBHFnipNA65Kvk1VVd94441CoYCO8sIPC1Lv4usj134n05L36eU6BauXtHmuTgQoWJ3IcLtlBPpQsCqVivxIaDMtDOytVqu5XG51dVUWrI2NDXjAxsbGD/Lwj//KcgBwbQ4npsVhz5Phth37gwH+47+nKqfTWdrKx+1jIw4Rt9OphKPb28o8+ZqP7owIokDaarVqtdoLL7wAr4JaHbUT2SfOvI5cVscKFoZkyebRdpa2S4IGqaqKse26rpumiQwICA61FSW0qa1Y8VHs0OWKOPAMgiUfC7NcXV3N5XJHmwcavNwGUKFH/5X36eU6BauXtHmuTgQoWJ3IcLtlBPpTsIRDYEj1UUkSgtVoNHK5HHJfdR/BAj75LPJ6N3Dl/Tutd1NOp33kMoXZHOXQ6fBjt8tldlrHgfJf5bNjvVKp/O53v0NKdBHBarMZWQjOsy4Lltvt1nVdRLAcDod46eGxpzj2kiBYzsMFITGxm1iBAB1bpryxS68Su8nHinN1uSIfC8EKBALNZhPxxWKxeELbOKpW2HJsI+nBRgpWDyDzFM8kQMF6JiLucF4CfShYeLrjWY7nR6FQ2JEWhLgQwepSsCqVCoqVeUlF7shKIe+Dc7VtqVQq8rHy+gnlHC3khC0oM3W4pA+XzOFynvLl65TX28oUI8DWpUXWrNXVVcMwXC6X0+nspWDBexRFQRfhmQVLVVW8D8dut09MTNgOF5SG4FaX3Z3CnLpckSWpS6/CbjhQBNiQkcvj8bz88str0iJS7KIGRT1SsE74ovFPI0uAgjWyVd+7G+83wUKXR7FYTKVSGxsbm5ub29vbOzs71WoV06YymUw6ncYrCFdXV7sRLNCs1Wr1er1Wq6XTabxgB8qCf/P5/NbWVjqdbjQagj4Ge9Xr9Waz2Wq1MDc+l8tls9mNjY3t7e1MJpPL5fL5fO6HZXt7O5fLlUqlYrEonnCiwKMrSOiVz+dLpVI2mxVJU9PpNNKoZrPZzc3Nra2tVCqVTqdTqVSxWASlo6Ud3ZLL5fDeRryuEQnDcrlcsVhE5A/bd3b+oZiNRqNWqwE+sMPt8O/6+joozczMIHxlt9tlUZAF4th1jB+HjmBuoN/vn56enp2dFQOhIpHIzMyMqqp2u10kaIhEIrOzs2IcfTgcjh0uCwsL8/PzOCR8ZAmFQl6v1+l0jo+P49SYe2iapsPhsNvtSDSKUyMHPbodvV6vfF/iWGSjsNlsExMTmqbJJ4xEIsFgUFXVsbExr9erqiqKQoawqamp2dnZeDy+sLAQiUTC4TBCaPC5k3sMQRJj0RDPczgciqKYpunz+T799NNsNgtF3tnZ2dra2tzc3NjYyGQyGAKPRnisYx1tLb3ZwghWbzjzLCcToGCdzId/tYBAvwlWJpPJZrNwIPFswGDeUqlUq9WayN0ffgAAIABJREFUzSacJp1Ob2xsdCNYGBoF6UmlUjs7O9lsVsS0RPymUCjAbwRWpMzG4CpoSqFQgE5Vq9VyuZzP5zOZjBzdqdfr6XQamtWNY2G+PcaMZzIZTLyXJa9Sqew92Ws2m3g7ECwQKiau84SVVquVy+W2trZ2dnYQjavVaqVSqVAogCdeHox9oHH5fF4mDzEtlUqNRmN3d/ftt992u93yOweFixwrVW0b3W63zWYzDCORSFy7dm1paSkWi0Wj0Xg8vvjDkkwmDcM4KlgiXYLP50OShYS0/HD0P/8bjUavXbsWi8UURZElyePxoG9xamoK0wmXl5fj8fjU1BSGZLUJlhhkpmna888/j3QPiUQiKS1LS0uJRGJubm5mZgYzEE3TnJqamp+fx3ujl5aW5ufnY7FYMplcXl5eWFhAvnskgxAMj13BFEIMFMPLfKanp2Ox2LVr127evJnJZPAtQAJeNGzxPw+FQkHUZptmndBsLvRPFKwLxcvCuyRAweoSFHc7O4E+ESw8A+AQq6ur6+vreBggZPL48eO1tbWNjY2dnR0IDQxsZ2en2Wzm8/l0Ol0oFLa2tnBUWyZ3KAUSviN2hViU3E2WTqcxfH51dVW4V6VSaTab1WoVp9jY2Ein05VKpdVqZTKZnZ2dzc3NtbU1uZxcLletVovF4sbGRjablR1L3KNcW8VicWtrCzvDqyBt6BzEv/AePCmr1er6+vrq6mrbFH25THkdUY1cLtdqtbLZbCqVQpBjfX1d8KzX6+VyOZfLbW9vI0yIUJkcRXv8+HE+n3/06NH169cjkUggEDhb5yDkbHp6OpFIhEIh5HZCUeYPy8rKSigUwgw+dEQigoUx6SLq0xb4QSHyvw6HY35+fnFxsW1PlOP3++Px+OTkpOdwmZycTCQSSJiOVxDKRWFd13XkeZ+fn/f5fLI74q3SyGUai8UMw/D5fNeuXYvH4zMzM16vF3qk67rX6/X7/dDKubk5xL2O9Sp5o7CrQCCAVKhTU1Pew2V2dvb777/f2Nh49OjR1tYWZhciMgrN6uRYcjvp5ToFq5e0ea5OBChYnchwu2UE+kGwEEPCLW1ublar1VarVSqV1tfXRY8bXu0MP6hUKtvb29CdbgSr1WpBv1ZXVyE9mUxmfX0dQ4MR2fr73/9er9f3nuxhpLy4pFarValUEC2TRQ2qJ/I95n9Y0IOZTqehZSIoJQqUa65UKm1sbBQKhUaj0Wq1tre3U6kUuh0LhYIYv4yYGaJrpVKp1WpVq9XNzU1My5cLbFsvl8t44sKfRJ8jOpVExG5zcxMhvVqthrAc1Eq+hmKx+P333+MFyTdu3JidnUXnlywBsnB0WkfsKpFIYBSXpmlerxeSgV4wVVXn5uZmZ2fhcEiFFY1G5+fnUSaGeKOPUmSrcjqdGFYl/2uz2bxebzQaXV5elq8TR4VCoevXrweDQdfhEgwGb9y4EQ6H5cH7wquEbK2srExNTYkZiOjuRFp5IU+JRGJxcXFhYWFmZkaen4guTpfL5XA4VFUNBoN41TQGV4lUF22Xio+Ag/ckIvrldrsdDoeu688999x7771XqVTQb44+31wuB68qFAqI+CLmKgex2lpLzz5SsHqGmic6gQAF6wQ4/JM1BPpBsMR4dgwzQgZFEV/BcwI9dIjBVKtVRI9E58jJswj3nuzBqMrl8t6TvVwut7Ozg8444T2rq6vVahW6JiZkoU9NvBwGPWtCO9BPhw7HH4Zg5fb392GBiLThjkRIDKcT/4rexmq1imxeOEp0TSKfQqVSKRaLiJlh/Fm9XkcQ7uRGgHcDo4P18ePHu7u7yICPIV94JMNc0+k0bgSXlM1mZeyIlt2+fdtut4+NjYVCoYXDBV1vMIBORiVv13V9cXExFot5PB673e7xeDDyCR2OePefzWZbWFi4efOmz+czDEMWLPiE0+mcmJhAdlPx2hwhZ/KKy+Wy2WxLS0vxeFy+DFVVFUVBulGMl1JV1ev1rqysTE5OIpmnbDkoc3JyMplMhkIhxLdEfgf5GjDPUdiY7H8IvCmKgpH1kCqfzzc7O7u8vKxpmsvlEn2guFr5GhwOB8JjoVDI4XA4nU5MgcSwMNM019bWtra2isUiengxUlB8s9LpNJrByQ2mN3+lYPWGM89yMgEK1sl8+FcLCFy6YIlEDBhzjY/o8iuXyyLKsr6+LoYflUol9Pft7Ox0MwZLjIsql8vo/IJdoeMP0ZpisVipVPL5fCqVwsBwXAnyxW9vb+/u7gqLQrgKUrKzsyO68xAegwXm83lcfCaTQUeh8CqsILRQKpVgV6lUCn2LuDUMVd44XLa3t9PpNOJtuVwOEgbjxGUf2w7wThsM6kcgUB7Vvrq6Kjox0S0IX8QYONzC2tra48eP19fXHz9+/Nvf/lZRFK/Xi4HtkUhkfn5ejFWS9aXTuq7rfr9/cXERyd8RaoIoaJo2Pj7ucDjcbrdpmktLS6FQyOVyeTwejJ2KxWILCwv4K8I/skh1msSnqqrf719aWkLHn7gwDBXvJFjommyTm2AwGI/HI5EI7Ap55NF9KYari148cT0wOUVRoEE4FhsRNkM0DmIHORMX2datGQgEEolEPB4PBAJ2u93pdAoa8M5EIoG+493dXcQ+0+k02l69Xt/a2sK36dim0uONFKweA+fpjiVAwToWCzdaSeDSBQvhGcxcQ6Rka2srl8thYBAcBY8K/BUvycH2zc3NZ3YRCktDbCadTsOu4B+YHyd8K5VKIXiD//WHYyEYIAJXCB2huw3deUK80IuH+JAcQhD9NbJjiRFasBkx9xCdjAg+Ya4fLhKWhlAWHpy4hU6tAR1D+XwefgZiWMf1YH4iIh+4GIgj/prL5WB1rVbrb3/7WzQaxXtjdF1XVTUQCGDqH4I08hByWRHkdV3X5+fnp6enDcNAn5rNZlNV1efzTU1NhUKhSCSCMeCxWAzZqjC42+VyIdEoIkN2uz0QCEivJZyPdl6WlpYWFxc9Ho98JacVLJfLhTH1iLdhKqLb7Zavwe/3o9MTfiYcC32g4XA4Go1iCPzU1FQwGNR1HQG2iYkJ6COG3svXKUteIpEQQ99wCtM0/X6/rutTU1MrKyuJROLdd98tFAroZMfXCl+cVquFGaCdmkqPt1OwegycpzuWAAXrWCzcaCWBPhEsBFcqlQreeIOJexjnhPlukAkM2UYIJ5fLra2tdRPB2t7ehpzBrhqNRrFYRJ8gAkgYL7W5uZlOp/ee7MmzAr/77rvt7e2vv/767bfffl1aHjx4gN46EYHDUQ8fPiwWi41Go1AoYEQ8wmai27FcLosByBjwhHFXIrSGkVWiWDgZvEoMjYLJYWTV0SAWgluwJQxOR/IF3H69XscpcO+YWID0DZBL2BsEq1Kp7O7u/uIXv4hGoxhVPT4+rigKBmMlk0nEcroRLL/fj6AXNAX2EAwGFxYW4AfRaHRmZmZ6ejoQCCBapigK8inMzMzgLYGmaTqdzpmZGaRpwL+wn2P/DYfDiqJcuXJFFpfTCpau6wsLC3Nzc+g9FPIkXo04Pz8/NzcXCoWgWfK5TNOcnp5eXFy8ceMGZhrCtDDCDM7q8XhWVlbC4bDNZhPJrhD0EniXlpY8Hg+CVaqqwq6mpqbw4upoNIp5hd9++y0muqJaMQRwd3f30aNHeH2klb8dZy2LgnVWcjzOSgIULCtpsqxjCfSDYNVqtbW1NYSR4Ey1Wi2VSj18+BCj3bPZ7La04Eby+fzjx4+7ESyMBy+Xy9vb25VKBUJTqVQODg4wM259fR3ju+v1ei73j3FU33333a9//WuMel5ZWRFdYy6XC71OS0tL4XB4fn7+xo0bn376aSaT2XuyJ0wOrzFBWEju1MNEwlqthh3wUj+EzTAvEiOfMK8Q/YNIBoYMXuvr65CkVqu1ubkpdm6bn1gqlTAfMJvNrq+vY/4gZlwiA34+n0cqr0wm8/Tp02q1ura2ls1mkR8LXoiPa2trt2/fxhgpjBZC1x4e/AsLC4uLi/At2SqOrquqKuI0Ig6UTCZjsdj09DSiYghrCX3BKTB6fXZ2ViTfcrlc4XA4Ho+LoeXikBNW5EvqRrDk/WdmZlZWVpCUC/8ir4QcYYKExWIxv98vui/dbvfk5KToo0TIyuv1xmKxlZUVv98Pi7Lb7bFYbGlpCXckTu3z+VAUJlGKV1+PjY1NTU0tLS0tLy9PT0/jrqenp69evRoKhb7++uvd3d1qtYp0Ifg/E0zpQEoOeZz7qdaP/QE5w0YK1hmg8RDLCVCwLEfKAtsJ9INgQQhEpgBkukLqy2KxiHyeYkodAjYQhcePH3fzLkIM/kVCBAgW0nXm83kEyRDyqVQqmUzmL3/5C4baIE15JBJZXFzUdR1jmfHIxPR+RVGQVTKRSFy/fv2dd97BOCpcm0johSgCAlGC/ubmppivh7n0GMuF9/Zms1n0MyIqhlH5mLGIwFK9Xsf+jUZDdHqKwgENt7O9vV2r1UTqL4zTh2Cl02kklSiXy5iSiWFeuAt0XN6/f9/r9SJzFUZ5I0snlAiC5XK5RApQIQdtK4qiQLBM00SvoqZpyWRyZmYGA61gErIhoQTIELoIMb/P6XT2WLDm5+fj8bhIHGoYRiwWQ74r4VhC+yKRiBiAr6rq4uLitWvXkDse203TnJycRPoGjLuy2+3IWwE5E+gQrvN4PPF43O/3A46madPT0/Pz/+gYReIuXdcRJJubm3O73devX9/d3S2VSmgh6HHOZDKncqljdxYN7JwrFKxzAuThlhCgYFmCkYWcRKAfBAuGUa/Xt7e38/l8s9lE4oBms4l84vAA+UcfI7FOyOQud/OJ9E6QNkgVIkaI1gDQzs5OMpn0+XyIUiBhdzwen5+fh2xh2v/s7Ozc3BzG0Oi6jiwAs7OzTqfTNM233nprbW0tnU4fHBxgBAxGu6OLECfC4PpGo4E5hkisiuFcGC+PXO3ilcwQUGQKhQxhQv7Gxsb+/n6hUEilUnId481CiGEgira+vo5DxNxAXA/2RP/jxsYGZjumUiloazqdnp+fR95wJBGAFoiOqoWFhWQy2ZbGU/iBvCIES9iV1+vF6CiHw4HZgrJdiZ6yfhAsjH/C1EXDMJAxC6YoBAsj2cPhcDKZFBMM3W43Mp2Kt/og1ZeqqrOzsyJkhZYTi8UikQh6IYEOEa9QKBSLxRC+gmIuLS1Fo9FgMChiV0jTitRcLpfrww8/hN+XSqXV1VXYvHhLuvw9OtW63MbOs07BOg89HmsVAQqWVSRZTkcC/SBYmDNYr9fx/9nFYvHRo0eYW7exsYG5dXIEC2+wyefzJwiWnONK9Jdh1BTGGxUKBWgHsmq9+eabhmHgLW8iyqIoCmbmI6fA2NhYMBiMRqPhcNhut7tcrpmZmVu3bqFnB49Yp9MZCoXW1tYQQMJIcwyoEh15CB3t7u5ubm6iAxFTF6E7mPAlCyLm3sPAqtWq6F5cW1s7ODioVCriLdeoZkTmqtVqKpXCXEUMOBNxrEajUS6XkesBo3NKpdLa2hpSJQnB+vGPfwwhwK1BkhKJhN1ux/DzaDSaTCbbOrZkrxLrQrDElDrkQ1cU5fnnn+9zwUKNC8GamZlJJBKwTCFYmqbZbDZd15eWlkTidU3TotFoJBIRMx/Bc3x8fGpq6oUXXhBvnsZQrXA4LAsW2tjc3Fw0GhXhK7/fv7y8jCzwIna1uLg4PT09MTGh6zomGG5sbKDVra2tifAV0o6cSqrknTv+iJzyDxSsUwLj7hdCgIJ1IVhZqEygHwRrdXUV0ZrV1dVarYbcmHIABmoipuB1I1gYGo8eMQSuRDqGra0t9JFls1kkX1haWhLhEzE93u12e73eZDIZCAScTqeu6+Pj4xhVjelvGJrj9XodDgfGFU1MTPh8vsXFxZs3b/7yv3+5urpaLBb3nuxBXMT1I2vX3pM9PAUxSRA9pJlMRrzQRjzbCoUCxsXD2/B8qtfrwFWr1dbX1+U6Re9erVbb3t7GPETsic5WkZ4eObGwEZlLy+Uyhl41Go2PPvpIjCWSBSuZTMqCBZ9wuVzCpY5dEYKFLA+apmF4u8/nQwBMCETb4d1EsORDpqamkPoBXhIKhVRVxasDxW6nHYOF0feodDgT5jmKArGiKEogEFhcXDQMA72BGJiF6KYYQYVJiFNTU4lEQtM0jGnTdR2p7eVJiEgAkUgkRJJVXdeRr8Hv9+N0S0tLCGUh9ylCrdFo9Gc/+1kqlULq2mKxKNrSeVbkNnaedQrWeejxWKsIULCsIslyOhIYVsESY5iQ2qpSqSC5KOaxY4rfzs7OxsZGJBLBm+nEMx5hCQjW4uIiHmZ4iZ4sWMgpgHHKeKhPTk5iPDISL92+fVtMCRR2VS6XEa/a3d1FfA6CBaHM5XKVSgXvchbPQlmwEJbY3NxsNBpra2vYE+Il6hjDbpD9CHPKEJ0SggWdxdxJbMQ4rVKphOhauVyen58XgoWclqqqxuPxZDKJyW4ul2t+fh5J0h0OR5tttH0UgoUwD/KY44Uz1grWxMQEYmNLS0vJZPLq1atHZei0goXOO7wb0e12IymEHGqCMwnBMk0TgmUYBt7ujKiSkHi32x0KhRKJhK7r9sPlWMHCJMpkMhmNRsFTFiwky5AFC2cJhUJ41+FPfvITDC7ExFXRnM68IhrYOVcoWOcEyMMtIUDBsgQjCzmJwCAKFl4/XCgU1tbWOuXBEhEsDHiqVqsiz/XGxgaGAK+vr+N9I/LzT0SwkMHoBMG6du2amEOHfE5iopzNZhsfHzdN89VXX0XGLKsEC8OkNjc36/V6J8HC2K9Go7G5uYmsXZgmicFnlUpFFixsFIKF0e5vvfWWx+PpRrBWVlZM07TZbG1G1fbxWMGam5sTESzR19aW8eG0ESxd15GvwTAMm82GDAihUEhcD4bnK4oyNzeXSCSOZnJHDEnsr2kaBAsS2Y1g4c2DiqKYpmmVYIlpBH6/P5FIYDh8IBCQBcswDJFkH+98/Nvf/maVXeGN6Sf9lHT9NwpW16i44wUSoGBdIFwWDQL9I1hI1tBNF2EnwYJ2iBfwiSl4GAOOvAb5fF4IVjAYxAMeE9naIlgITS0uLoouQqfTubCwkEgk4BNI7W0YxsTExOTkJOzK7/djVLjP50Pvz0svvYS3l8Cx8J6fXC63u7uLrj1Mp6/VahhlVS6XT4hgobcRoS+MrMKoLPFeQkTI8O7qjY2NbgQrm80KwSoWi3fv3hUDroVjwUuORrC6ESxMCFhYWIjFYtAURVGmpqYWFhbA3zAMqwRL07TZ2dlQKGS321VVtdlsIgKEmNMACRbGdS0uLs7Pz+MtOoiqdhIszLdYWFhAh7Xf7w+Hw3gtJqJWtVoN7Uf+9es+oCUfdZ51CtZ56PFYqwhQsKwiyXI6EugHwVpfX0dm0Y2NjXw+n8lk1tbWkLYqlUrt7u6KtOZiqDtea4OJb+vr68iQubGxgbRYOzs7Ij2pSGEKwUJ60nQ6LbpdEKuQAyd42GPGFkbGIE+BpmmRSCSZTGLMstfrjUQiMzMzGE+TTCYxC0yWEiTMfPXVV5Fiql6vY/JgNptttVoQoGw2iy48jAwTI2ZEnYlE8xhKVS6XYWaPHz/GPo8fPxbpRk8QLCTcEgInXg2Uz+dht7lc7ttvv/X5fJg3J27khC7CbgQLg74hoGI4VzgcTiQSSF/eNiNPli28WAaZPEXXZDgcXlhYgDBho+h903U9FotNTk663W4UjiQLdrsdp24TLI/Hg+48j8ezvLyMdz9j2L4oc2FhYXZ2Fl2Eqqoigbs8WArjq5AjTdwUsldEo9HZ2Vk0GFFgl12ECA0uLCzMz89j+oWqqoZhJJPJqakppBtdXl6Ox+PhcDgUCiHx6czMjNfrNU3T4/EEAoEXX3yxWq3u7u7C2vECSvy/hxxV7Wb8u2iQ51yhYJ0TIA+3hAAFyxKMLOQkAv0gWBiLjV48ZI2CDCGfE/QCjwfxkBAvpUF2K7yxWM75hDfbiJcGii5C5PC8evXqwsKC3A0krwvBEim8MWUMU/STyaRpmngPHRzr6tWriUTC5/NhHLTwEvQ2wrF++tOf4hWHInEXBqHLaRQwzh3hLrnOZMHCG4TW1tZKpdLjx4/xjHz8+DFS1ePxiQRIGPwuR7AwzB+ChbgF5i1ms1mIaTabxcMbUyPFjbQJFlQDb7BZXl42DAPD3mWG8jp8RQzWRhYMvBgH48G7FCy8rFDTtFAohMH1mHwgi4vf70dgDC7idrtjsVg0GkVYETUCaUMXYZ8LFtLWLywseL1eZH/QNO3q1atIeTUxMeH1epEb4oUXXoBaOZ1OMVUTjvXBBx80m018dzC7VkxoxXwR/AmdgCcEtOQ2eZ51CtZ56PFYqwhQsKwiyXI6EugHwcL78tBLtb29XS6XxWgh/KntZckYt44Jd0gihTHsQlYwEhw5rNvGYH399dd+vz8SibRFsGQhkCMos7Oz8Xjc7XbjWW4YBnJBITridDq9Xi9eCYdRL8g/LtREOJamaa+88griWKVSCZm1kaEeN57NZjFVEHchV5gsWI1Go1KprK2tFYvFx48fIxSBCBYejW0RrFKpVCwWNzY2kAUjm81CsBCxgGCh/O3t7XfeeQfjtdEJJYuL3EUIwXI6nXNzcxCskwe5I8kF3gYDzoqiRA4XFCu/PEeGL6JNiGDhbcp4S8zi4iJmCJqmKV/n7Ows5txhZ8MwFhcXMY/v2AgWXNnlcuEl0+gObotOdRPBgv1gFiHaBiJY5xmDhdxjwWBQVAdmY8zNzS0sLPj9fnSDKoqCfPeYdYh/4ZeIY6mqmslkoOYiBoy3f4r3lOMrdoJdcQyW/JXk+hAQoGANQSX2+y30g2CVy2VkakilUnhVrQhQ7e7uYrY5kpEiiQB6EsXrbDGECMkd0L1Yq9XEu5kzmQzSNOAodFchEbYsVfK6/Iyfnp5eWloyTXNiYgKhFwzDCofDeI4iJabdbp+YmEDwQNgVVuBY//f/+7+apiGOVavVHj16BJHa2trCOH0k60IQC+lAkdUdiawwHezhw4eyYK2urkKwkA/iVIIFzUKMEMksfve737lcLkVREBFBRlDhLrJgIZLkdDojkcjS0hJyL8kA29bHxsYCgcCNGzcmJydRjsvlikajoVAISDEGTsYu1uUuQngYusYikcjy8jLGeouLRLxqbm7OdbhAf5eXl8PhsMvlOnYMVj8LFkZcIVcIMrlD2lwuVyQSmZubE2YPx5IFC9NakbsBXdvQdwgWmpZ4tze+VrD/E/oKrfotYwTLKpIs5zwEKFjnocdjuyLQD4JVKBRgP81mc2trC/+3nc1mRQZq5BoQI7EajUaz2SyVSnjjDfI54a3GeGMh3nQL4cBLlA8ODh48eICBVngvnkjeiMez7ATi6Q51SBwumISPZ1goFMJAnHA47PV65f3FummaPp/P6/VqmuZyua5cuaKqajgcfuWVV5BlO5fLFQoFkVtVjHCv1+utVgtJQTEDEc+/Uqn03XffIQ6xurqKSZQQLAS0jhWsti5CvCcbL17EG6BFmnuM8rHb7YFAIJlMtgmWGEe1uLiIeJXD4UA6ciFYXq93bGzM4XD86Ec/8ksLXpw3Nzc3Pj4OwUIyJ7zUGRokuMmD4XBSl8uFyFAwGMRFaprm9/uj0ejKygreZjg7O4usGcipoSiK3+93Op3YiPDSqQRLtmQ5DxamH8Lh5H3kCBZecYOQ53kiWFBJvFoHIutyudDefD7fwsLC0tLS3NxcIBBwOBxXrlwxpGV8fBwZMfx+P+JY7733HhLPfv/99+vr68hDiwgWAsaZTObbb78VvYf4+ZBjWl39oHSxEwWrC0jc5cIJULAuHDFP0A+ChfRL6XQaj3w4FjrOMBjr4OBAvDcG+2Qyma3DBa+FxluW0+m0SHZVLBYbjQam5iHxZij0/7N35r9tG1vf/yPftglsLZBICiIpQSu8BXbswHYSOBuSNkVWZGlvm6RFb9qLZkOWXqRJjPQmQbYiS4N4g2VJECkSpJY48YvH36fzzKUsRd4ULYc/OKMROZz5DsX55MyZMz0IOMk2HuYtHzUAC3uVxONxuCIFAgGfz6eqaiKRAGat+HdoaGj79u2ImYRJK2xIp6rq8ePHs9ks877HIGcYxsuXL9FehkpwsWIb2rx48YIHLESiZxOO7CrswGPbtmMVIcI36LpuWZau67Zt67o+MzMzOzt7/vx5qFEPYPl8PkTI7OvrGxsbA0ECeliw++3cMT4+juk8OKQj/viOHTsURQGj1FhFCNFkWUaAsXA4DAJDCIYdO3bs379/9+7dWCqIfQCBdoiSAG995mNe6YNVzYLFw9NGARamX6FzPXGwcGYwGMR2hIlEAmnAKLzNsOXzrl27xsbGduzYgRAVIyMjw8PDsVgMzm3d3d0+n8/j8bx69Wpubm5mZqZcLr9584bRFR6YVCr19u1bRGJjL0YCLCYFJdpMAQKsNuvQZmxOMwAWYjvB1d2yrFQqNT09bVnW0tIS4oLOzc1l/j7S6TQGCbjD53K52dlZRCWYmZnB3oKweGHztYWFhSdPnhw8eDAUCoEMVgVYgiDIsjw0NLRjxw4YCGCwQVHArL6VDizs6u3tHRwcRNQDrLr3er3RaPT48ePz8/NYDMgAC6a46enply9f8iu8sMQP458DsDDj8/btW35tYLU4WJhmBWBpmgbAmp6evnnz5o4dO+B4xAMWD528BQtt93g8DLDg3gTSGh4eHh8fV7kjFArBW6ivr8/r9YbD4YGBAQQyxdYxIAnH7dhHt9vt9XpDodD27dvj8TgCFoAegLxYyBkKheAyzwArmUyOjY3FYjFM7zr2NxwYGBgZGZFlGVZJrM5DlA0+8CwCX/X19WEFQzULFnzvYrEY1kCgTCxphLmLNac2YDkWMDLGwv7WCNoO/YPBIDYfjMVilYi/d+/ebdu2MYP4+XefAAAgAElEQVQf4rQNDAyAsdLpNGbhsR4CvymsvXVsu0SA1YxvbarTRihAgLURKlIZNRVoBsCCQQVv/EwmUygUYKDK5XLgienpadir8BczHcXlAzODYIVUKoUA7vBbwtqo+fn54eHhvXv3YgNBWBFGR0e3b9+O0atydOenq4BTsVhs9+7dg4ODsiwjgjYSLEIpb/BA2ufzgQxUVY3H4whYynxoVFU9ePDgy5cv2T7NICS0F178mB9cWFgolUowbr158wYbCGLZIAxU8GFn8SQNw8BqwcpAowyw4I6DHQmnpqb6+/sRcrO7u5sBlqqqjAmYq/7w8PDo6Cg2xvF4PL29vaOjo2wf4q6urkgkApsWuxZiwpVKkqTu7u54PA6bkN/vB4bV2GkHOxR1dXUJgtC/fMCIxTbkxp7c8LuH/zvCLiAK1MDAgKqqIBJWJewAODAwgG1tVgtY8Lh39Dieq2qAhelCVoEaYRpWBCxJkuCDPzQ0JIri1q1bsSUObxLDHCXa4vP5IpFIT09PNBqFdRA2V1VVDx8+nM/n37x58/btWxiuMGGNXQ2KxSJif6w4UVjzRbKKL2mKcBVi0ambpgAB1qZJSwX/rcAnByy8yuFLhNkuhDPAbjYsRgNbxIT/Uuu6jv92wxKTy+XAHChH0zRMOM7MzCA+0MTEBIK2ezweRVF27tyJHVTYMFkDtjAuJhKJiYmJ4eFhLOxXVTUUCoFCsNqLc4D537CZuBAl7969OxqNut1uREtSVTUSiRw4cODFixeGYSwtLeXz+YWFBeyKAx8p5oBVLBaxNfXLly/h2v/69WtEYcjn86VSCWHDoAwDLNu2YRScmZl5/fo1Ns9Op9O6rpumCTtWqVTatm3b4ODgrl27QqGQy+Vi6+lg/GCyqKq6ZcuWkZGR0dHRrq4uDPOIJM6iQPl8PrhbMVsRCADEg0w4eA0ODsIgBNHgHcX4o1oCdsTh4eFEIsHcqth+yYwtPB5PKBQaGRnp6elBdAO+PqgStpUEYGGzGlmWx8fHI5EIAnDwdRgbG+vv7+/u7oan/NDQ0MjIiANu4LKWTCZ3797NXzs+Pj40NOQALBZQDROUoE9MKDuqiqKYdIODg/39/YlEQlEUr9eLqmJpAsgMKCzLst/vH10+WBegKz///PPbt29PTU3ByQ//q4ENFY59mHdmBtS/3xMb+S8B1kaqSWWtVQECrLUqR9fVrUAzABaiKoCNMpnM3NxcKpWCdzamC9++fTszM4NhYGZmBv//xgjB+2AxStM0DSPH8PCwJEmJRAIuKQjODixIJpOMrhxmA36AxIiFnN7e3p3Lx+DgIAxU3d3dLpcLIzT7iwDuPp8PIx/iBYyOjmJbaNAYhr1IJHLw4EFgUKFQgM/7zMzM9PQ08zuGa38mk5menn716hUcy16/fo0ZRmbG400OmUwGvvNYgAmftlKpBGJjMd8X3y2eOXNGVdVYLDY6OgrLkMfj6e/vHxsbc2iiqmp3d/fQ0ND4+DgLi4VgoexMTOTBVsdr63K5EAwMlrxkMgnYdej80Y+SJDHHIzCWx+PB6gF2O4/H09PTMzY2BsFBFY6SwWTJZBIhSfFtPB5HPE9szsNfsmvXrh07dvj9fo/HEw6HBwcHBwYGHIsAZFmWJAnO+7FYDLQXi8Xgg4/9FvkyVVUdHh6GOzyc0HHmioDFLoxGo4ODg5gqFQTh888/Z1iJSA149tARIyMjmIdllIzgq8lk8smTJ69fv85kMthFAEtDsEsSdiLXdZ0xFv9o1f1eqXUiAVYtdei7RilAgNUopTv4Ps0GWPl8Hr7qmUxm8d0iprEwEgCwEI5c0zTLskqlEu+DxQBL1/U3b94MDAy43e5wOCxJEoa6RCIxMDCAOOCOWEf8IMTGM5aAYzVmdnbu3Dm+fAwNDSWTSSxt4zyO/icZWj7CywdcgrDbCZYi4l5wWIYdC8aD9+/fF4tFLIH82+Xsf/8FL2Jj5mKxCAbNZrMI8TAzM8M/wrquA9oymQxWIMJkhUjxDLCePHnCPJAGBweTyWRfX5+iKENDQ4iEzmuCqdK+vr5du3bF43HMUg0PDw8ODvr9frQF0dIxrse5Y2hoaHh4eMeOHWNjY4ODg9g227FakEldI4HQA5FIZHBwEBtBbtu2ra+vr4c7RkdHx8bGenp6EEtiRV7B1GQgEEC0jsTyMTQ0BC9y4Bc/Tdzf379r165kMhmJRLZt2zYwMABfKF4fbPAsyzIkglferl27+vv7UZSjXeFwePfu3fF4HA74kUhk586diUTCcVrlR2xlDWd2OJ9B6VgsFo1G8bCFw2HEyorH4w5/MvjJHTly5OXLl1j8AaAHhYOxWDBSxlj807X+NAHW+jWkEtavAAHW+jWkEj6iQLMBFkJAZTKZt2/fTk9P4//Tjv9DI4Lo7Ozs27dveR8sHrDGxsZgQ/J6vVi8NjExMTg4iJXtAwMDW7Zs4QdIPl05qrF5FnjzhMPhsbGxXbt27dmzB8aSMe7A1AyWdA0vH9u3b+/t7UUh8XgcCVmWo9Eoprr27dsHt7NUKsWCYPFhitLpdDabzeVyDx8+BCGVSiV48SPCBS+RZVlTU1MIa7T4bhEubqnlA1OEmEZEdCi/3//555/39fX19/ePjo4iPFVXVxebXIMyqDOmwLAly549e8bHx/v6+uAPFI1GPR6P2+1G+ACY+vB3YmJiZGQEE1vwSwsGg7FYbEWdq2Uyyx+MNFh5sHv37r179+7ijpGREVgKARYrlubz+aLRqN/vR5gJNGd8fDwajcIuxQI6gI28Xi9brIcmO+ZP4SMFUyXigiK0x44dOxKJhNfrZVs1s/p0dXXt2bNn7969eFrwFG3dupWdUCOxZcuWYDCIKK/scvYAgv7Hx8eZQY5/tkG3iUTi4sWL+B/L1PKB9YMIz4bfEaMr/tH6yNukvq8JsOrTic7aXAUIsDZXXyrdMIxPDlhYQsi/zVn67fKBAWB6+YCTO6bPABB4+8P9CPNiuVwOq8Pg3wMyYNNYGLcwcPIDT43xzPEVb9vALXr/Pnp6epLJJCwi8Xg8HA5j5ojNMwaDQSx2w0aHGHcRUOCrr77C9s9Pnz599eoVHNLxFxGzwFWAS2y/yMfTYqLl83nbtrPZ7Js3b54+fQr18Hd2drZUKoG39u3bB08dLH/zer3ADhAGquRoOPsIEyCoEWrAk5qtJUR7eaFYmhWyhgTfX5gTxI1gMgyHw6qqQlL+TKTZ7XjnLTaxyM5np9VoAtrCn4neZL2MR44/wRGHAiUgzBVse+Dvrq4uJlTthCAI4DaYrKLLR2z5iMfjsVgM4a/Qm3xNUDeYb9++fZvL5RbfLQLuYezEJp7s/yr8c7VRL0wCrI1SkspZjwIEWOtRj66tS4FmBiy85TVNQ9SohYUFmGEq0QqAheWHQ0NDvL/5hgOWY7gKBALd3MGGajauY6Tkq4Thlg26iICgKMqxY8fgy4/9f5jNCTYtRqKQZX5+HuDFD4G8sUHXdcwJMmd5TdOwgODOnTvYQBDRpAAloijC5idJEhvdKxuL2qLFcC1a8WSW6UisWGCdmQ5tV/WR3QJXMbRCgi8KZzqqveJHViZPY8h0TE2ueDkyEYQd9rYap634Fav8ijVhl/DfsjR8E//666/Xy0cmk8G6B3436E3yxCLAquvVTCdtsgIEWJssMBXflBYsdAu2oUV8UayqY9uo8VYroBX+zszM7N27F2MVAxoAFhtBMcBg7GGDzToTjpHMMbiymlQmeD8kmH++/fbbUqmEvWuwn4ljH0aGU47Bj+UzcQrLB1t9ie0a379/n0ql4JrjdrtBSNiCBpiFmTjWIr6GTCU+OGe1M/l8Ps0KWUOCdeIaEux2uLZ5AAsKg249Hg+vVT1p1i5Hgr/W8RX7KAjC4cOHmV3TgVabN1FIgEUjTzMoQIDVDL3Q5nVofgsW0IHvBh6q+PSuXbvcbreiKPBWZl47/HiM0QXDDxtp1pzgh7FKfvpoDgZXBmRAwy+//DKTycABC4xVg6V4ruKFwt6F2JCRTfeUy2XDMA4cOIA7YgdApLFpHasw365KcbxeL05giUo9+RL4dGVp9efw/bjaNLtLEwKWg2J5uTYkzdruSHg8Hp/Pd+/ePTwhlmVhMQR7YBwPHv8bXE+aAGs96tG1G6UAAdZGKUnlVFWgGQCrWuV4esA5PE4h/fbtW+yHw/YWxCjCj0y8Twyfv1FpxiWrTbCRFTVBQKloNHry5ElN08rLByb1+Lm/anKxfF63paUlBL6CLfDy5cvBYBDxJ1Fb1GHFmq+oD+RlfOMYs9nHFa91ZLKTG5xglXck+Go4qrqqjxtVzqpuuoaT4TqWTCaxNWFp+XBAFf8ssQdsnQkCrHUKSJdviAIEWBsiIxVSS4HWAiy0hMcsy7IymczOnTvZYFk5vDUtYLFZOTY6MsY6fPiwpmnFYhFmp1pdWPEdPyhiz0EsvH/58mVXVxdCia5IVI5MVis+AXlXVLtSef7CyjR/fiPTrPKOBF+HytrWn7NR5dR/x7WdiWhk4XB4165d8/PzhUKhXC7zD48jXfGgrTGDAGuNwtFlG6oAAdaGykmFraRAqwPWwsLC7t27sZUKxsvK4a0yZ20DUmOuAmPJsnz06FHYsVbqt1p5/LhomiaC3ZumiQWM2E8mFAqx5ji4in1kJ/AJiMnQhNeWT/OXVEvz5zcyzSrvSPB1qFbnevI3qpx67rWecwBYfr/f5XJduXIll8shDBv//PDpWs/car4jwFqNWnTuZilAgLVZylK5TIFWByxEZKi2ZzCGn1YZ8NhgCb8oWZZhx2KdVWeCHxSxS6NpmseOHcMWdYiExNYwwlONQRWfYPXhExCToQmvLZ/mL6mW5s9vZJpV3pHg61CtzvXkb1Q59dxrzeegksFgEEG/EonEzMyMbduWZbH1qvyDtKpJ6toPKgFWbX3o28YoQIDVGJ07+i7NDFjVOiaXyyHc+a5du6LRKBbB8aNag9NrHuSYD1a1CicSidOnT+dyuXK5vPhuMZvN8tOj1dK8btjM8datWx6Phy2dA1jwwQVYEwBY7ONHa1it5pTfEgpgkhqx0Hbu3JlKpRBuzYFW+Mg/V+tJE2CtRz26dqMUIMDaKCWpnKoKtCJgYT++sbExxMPEIMHW4jV+YONxZLXpj9Y2kUh8+eWXmL5ZfLdYDar4fL6z8/n827dvI5EIZh5ZwFW2eNBRYQKsj/ZIW56AXRHPnj2LWcIVjVj8c7WeNAHWetSjazdKAQKsjVKSyqmqQCsCVrFYnJiY6O7udkTubsuRD406fPgw7Fg8SFVL852dzWaPHTuG7WVYXEo2NYbCecYiwGrjp6hG0xB31OPxTE5O4rmqNGLxz9V60gRY61GPrt0oBQiwNkpJKqeqAq0IWF9//XU4HI5EIpjAcuBCjVGkRb+ClwzsWAyqrOWDfeQTfGf/8ssvLMYVjFhMLmbzI8Bq0QdjA6utKIrb7Q4Gg4ODg+l0Go+QI8gt/1ytJ02AtR716NqNUoAAa6OUpHKqKtAqgFUqlYrFYj6f37dvH48IfHoDx5tmK0qSpFgsdurUKWybU1w+4JIM0uL/zs/PF4tF0zRfvXqFEOGKoqiqyge15xtIgMWr0Wlp9D7bvkmW5RMnTpRKpXw+n81mNyPoKAFW1dcxfdFABQiwGih2p96qVQCrUCiUSqUadMXsMe06QIKxTpw4kcvlTNMsFos8VPFpXddLpZJhGBMTE/F4PBKJuFyucDhcDUYJsNr1mamnXZW97/V6b926ZZrmJm38TIDVqaNNc7WbAKu5+qMta9MqgAXbldvtlmWZBwU+Xc9w0tLnSJKkKMrx48dhx+Khik8vLS3lcrkPHz48fvzY5/PBsd3r9WIrHijG61A5xPI5/JmUbj8F+L6GB57f749EIs+ePUN8WmbE4r2y1vMyJMBaj3p07UYpQIC1UUpSOVUVaBXAgu2qBl21vQULQ/tnn32mKArsWAyqHA5Y2BunWCyWSqV79+75fD5FUbxebyVaoczKIZbPaT+koBbxCvB9DcBSVdXtdo+NjeXz+RXpap0xsQiwqr6O6YsGKkCA1UCxO/VWTQ5YmUwmnU5/+eWXsVjM4dLO266qoQM/kLRHWlVVQRDC4fCxY8ey2SwmcZhpwTRN9iCDusrl8o0bNzCIhkKhLVu2QAdePV4Zfrjl8ynd3grw/Q5/LFVVDx8+XCqVwFiOwA3sMVtDggBrDaLRJRuuAAHWhktKBToVaGbA0nX9/fv3Bw4c8Hg8H6WrDrFgKYoiCILb7Q6HwydPngRjsdVefO8CsDRNMwzjwYMHsiy73e5YLOb3+wVBIMBqb2Babet4wEJw/2AwqKrqixcv5ubmTNNkEI8E/6StNk2AtVrF6PzNUIAAazNUpTL/S4FmBizLsg4fPgwg4FfA8XDAp1c7qLTc+SzOgiiKgiDEYjHGWJXDHgDLsqx0Om2a5vXr15PLh8/n452xHGDKD7Qtpw9VeM0K8P2ONOxY27dvx3KKhYUFnrH+6yWyyg8EWKsUjE7fFAUIsDZFViqUV6CZAevs2bOI0q4oCg9S1dJrHl1a5UJRFIGbqqqGQiG/388YiwGWwz9mYWHBsixN0xbfLf7222+xWIz3Y+NDj/IiYIjlcyjd3gpUAhbsWKFQ6NSpU0tLS5giNAxD13VYTPnXyKrSBFirkotO3iQFCLA2SVgq9v8UaDbA0jQNbh9Hjx6tBlLV8tt7CIQND0sC0VJRFL1er6Iohw4dyuVyWPPFzAzoY/Yxn8/btn39+vXY8oH4WMLyUQ2z2l5PaiBTYEXAYiFqJycndV3HTk2apsHz7/9eIqtMEWCtUjA6fVMUIMDaFFmpUF6BZgOs0vJx9OjRaDRaDaSq5bPRokMSwWBQFEWPx6MoysmTJysZi6erfD5fKBRs275//z6mBWEPg0mshldWh4jZ4c2sBliCIIii2NvbaxiGZVlkweJfnpRuaQUIsFq6+1qj8s0GWLquM9sVxrxqOFWZ31FjpCzLiqLIsgw7FuYKwVgOrmIfU6nU7Oysbdv37t0bHBwMBAKwY/EWLKjaUUpSYwOBQDXAwnafoVBo//79iL5mGAbc+9b8giML1pqlows3UAECrA0Uk4paWYFmA6yjR49GIhFJkqLRKAFWjbFfluVQKKSqKuxYzB8LoyCgClEbkNZ1HSHgM5mMbduXLl1ijMUDFj8FWePu9FWbKVANsFwuF5z2PB7Pw4cPc7mcZVnlcnnlt0l9uQRY9elEZ22uAgRYm6svlW4YRjMAVrFYLBQKuq5/++23CHWI132bjWEb2xz4x8CIBWsWqPTIkSOZTEbTNHv5YJGxmB0LiYWFhYsXL6qqqiiK3++H4JgPYqbBja0wldaiCiBCSiAQCIfDr1+/np2dXXy3yD9Oq32REmCtVjE6fzMUIMDaDFWpzP9SoBkAq1AoFIvFb7/9VhAEAqx6hmHe3gDFAoGA3+/3+XyxWOzo0aOZTAZe7XxnOwbFXC53+/ZtURSj0ajb7Xa5XKFQiNGVI3xDPbWic9pbAUVRtm/fvvhu0bZtx7PEP2YfTRNgfVQiOqEBChBgNUDkTr9FMwAWbFfd3d2SJPGARXasagO2A7AYXSHAVTAYZHYs/vnGoIj19plMZn5+3rKse/fu9fb2RqPRcDjscrkIsKppTvkwYp0/f96yLAIs/pdF6VZUgACrFXutxercDIAF25UkSQi9gwiHjCFoYKtUgInDgm57PB6fz4d5w88//zwYDMKO5XgcESULfxffLRqGUSqVbt68uW3bNlEU+RBZtK6wUvYOzxEEwev1qqr6/PlzHrD4tON5W/EjWbBWlIUyG6wAAVaDBe/E230qwMI+stls9tSpU/y4xaMDn0/pSgV4rfx+P/zTEe3d6/VGo9EzZ85gwVflsi/LskzTxHbRtm3fuHEjmUzG43FZlru6uoLBoNfrZQXyZi2aOqzsiA7Jwf4BgiCMjo7Ozs6aprn4blHXdR6w+HS19ykBVjVlKL+RChBgNVLtDr3XpwIs0zSLxeI333zj8Xj48YmHBj6f0pUKMK3wFcMgxF8AY3311VcI5o5g3HjKGXUBsEqlkm3bf/zxByxY4XC4q6sLSwvZX1Y4AVZlR3ROjiRJCE579OjRpaUlTdMymQx2g8ZfAqwOHUhasNkEWC3Yaa1W5U8FWIVC4cKFCy6XSxRFfnxi0MDWLvHfUppXgGmFTAcDIT6W1+s9cuSIruuFQgHPJqMrZsGCP5Zt25OTk9u2bYvFYm63G5YwAixecEpjOwFBEILB4J07d7BBIQFWq731qb7/owABFj0Hm67ApwKsf/7zn/Bnx26DbOhi0ECAxTSplmBa4QQesFis9q1btyqKcuzYsbm5OTxM/HQhC5RVKBRyuZxt29euXYPPO+YcGWDx04XV6kP5HaKAJEk+ny8Sifz111/z8/OYJUSQd7Jgbform26wQQoQYG2QkFRMdQUaCViId2Xb9k8//VRtKGLQQIBVTSKWX49WqqqKohiJRI4cOZLP57PZrG3b/HShY3NowzB+/fVXzBV6vV7cAtvpMNjiSY5VhhIdpUAoFHK73fv27dM0bWZmxjAM27axQJUxVrW3DvlgVVOG8hupAAFWI9Xu0Hs1ErAKhcKHDx9q0JVjy46OGrHW0Nh6AEtRFEEQPB5PJBI5fPhwPp8vl8uFQoGNgg7AwtLCf//73263W1EUl8vldrtBaQRYa+ijdr1EVVWPxyPL8jfffLP4bpGtljBNkz1a1V6pBFjVlKH8RipAgNVItTv0Xo0ELNiuPB6Pw++KH4TqgQb+/E5Of1Qr+FExbypJkk6fPg07FhsFHYBlmmY6nTYM47fffovFYsry4Xa7GV3xc4Xk8N6Zjx+sy3gkwuHws2fPdF0vFos8XTmeK/71SoDFq0HpT6UAAdanUr6D7ttIwILtCou9q41MH4WGahd2YP5HtRJFEbN7qqqGQiGPxyNJEuxY1QCrWCwuLS3pum4YxuXLl5PJpNfrxbJExlg0RdiBDxvfZPYAiKLodrsjkcj8/PyHDx8WFhb4qA3VXqMEWNWUofxGKkCA1Ui1O/Remw1YeOHatv3bb7/xQFBPmn+nU7pSgY9qCDBidiZsCx2NRk+fPq1pWnn5yGQybF0hPGkYexmGce3atUQiEYvFsNGhy+VSVbWyJpTTUQowwGKJr776KpPJYEdR/vlZ8a1KgLWiLJTZYAUIsBoseCfebrMBq1wu67p+//59RVE+CgSOEzpq0FpDYx1yrfiRLxYnYPPBL7/8UtO0YrFYLpd5wOL9lEulkmEY9+7dCwaDoVBIEIQvvvjC5/PxZVK6MxVgaIWE2+2+c+dOqVTSNI0AqxMHkhZsMwFWC3Zaq1V5swErn89fv35dURRs5LIiBFTL7Myhq/5WV9ONz3eUhq8w2Xf48GHYsRyAxR7hbDabSqUMw7hz5w4CIMViMUeB/EDr+Io+trECfL+7XC6PxzM8PDw/P0+AxX4+lGhyBQiwmryD2qF6mw1Yd+/elSRJXT74gb+edBuPTxvStLVpiKsQ5gp2LAZY2D+HPdbwXM7lcrBjBQIBbEXHKk/7FTIpOi3BA5Ysy4qiSJJ04MABBljsKapM0BRhpSaU03gFCLAar3nH3XFFwEIgwUAg8Pz581wuxy8IYvZ/PtOhmqZplmWVSqV79+512sDTQu3FXOHJkyfRxYhSZlmWozfxsVAo3LhxA1Fhg8Fgd3e3LMs+n48faPl0C+lAVV2nAjzoX7t2bWFhYfHdIsJirfgsEWCtKAtlNlgBAqwGC96Jt9sMwCoWi7Zt3759OxwOr/PdTZdvqgJgrOPHj+dyOewOidjulb+EbDaradqDBw8w2xsKhbq7u3micqQ3tdpUeFMpwANWOByenZ2F7bPyKUIOAVY1ZSi/kQoQYDVS7Q6912YAVi6Xe/LkiSRJW7dubaqRgCpTqYAoirIsHzt2DHYsNl3o+D2YpplKpXRdv379ek9PTygUcrlcbJUinLp4xqq8EeW0qwI8YAmC0NfXZ9t2NVModtSZnp7G01KpiSiKY2NjjsePPpICG64AAdaGS0oFOhXYDMB68OCB3+93u91+v7/yBUo5zabA//t//0+WZWbHAmPxc8GapsHElc1mi8Xir7/+GovFVFX1+XyIO0qA1Wx92sj68IDl8Xi8Xu/FixcRSs35uln+TBasFWWhzAYrQIDVYME78XYrApYoil6vV5KkZ8+eZbNZ3t2KH3cdeum6bprm5OQk/8Ll04186dO96ldAVVW/3x8KhY4dO5ZdPnK5nL58oLsBWMjRdR17QicSiZ6eHgT1hm8WC7hV/63pzDZQgP+NS5L0xRdfRKPRq1evmqZZKpXYvkzsdUGAxaSgxCdUgADrE4rfKbfeKMDSNG1paenx48f829aRboOxpC2bgP0KXS5XKBQ6efIkGEvTNEZUjkS5XLZtGyT92WefBQKBWCwGxmpLfahRtRXgf+aCIHi9Xp/PNzQ0NDc3l0ql0uk0Nrhkr1QCLCYFJT6hAgRYn1D8Trn1RgGWaZqPHz8OBAKyLPMvXD5d+zVN334SBfj9Cv1+fzQaZYzl4CoE5dd1PZPJpFIp27bv3r2rKIrf70cvf5L6000/uQL8b9ztdgeDQVVVJUnCg1QoFDRN49+nBFi8GpT+VAoQYH0q5TvovhsFWJOTk6CrRCLBv3D59CcfCagClQo49ivkGasaYOm6jlHTtm1Ekf3ss88wV8jKJ4d3JkXbJ/jfeFdXVygUisfjkiSFQqE//vgjnU6Xy2X+lUqAxatB6U+lAAHWp1K+g+67WsDipSkUCrZtl8tl2K7YQMK/cPk0O4ESzaMAs2ChSthqMBqNHj16lHe94v3w2EpD0zTL5fLNmzdlWZYkKRgMYt2o3+/nAYtPN0/DqSYbpQD/G+fTYKw3b97Ytl0oFNirgwCLSSDiSwUAACAASURBVEGJT6gAAdYnFL9Tbr0ewLJtG35Xjg2A+Zcsn96oFzqVs3kKYMtIRGw/c+YMGEvTNECVYRg8XbH0w4cP2VwhGAvrCml14eb1VPOUzP/G+bTP5wuFQjt27ABgscANBFidMro0dzsJsJq7f9qidusBLNiuBEFwvOv5lyyfdpxGH5tNAXRWIBDw+Xzd3d3xeJwxFmMpRwL7+5qmefPmTUVRent7YcciwGq2zt28+vC/cUfa7XYrinLu3LnC8oFXJgFWWwwdLd8IAqyW78Lmb8B6AOvx48fwZlUUhX99O16y7CN/DqWbVgFJkrxeL3bwZYzl4Cp8xLxhqVQyTXPx3eKtW7eYHYsAq2n7d8Mrxn7gjgTC4G3ZssXr9c7MzBQKBWx2qWna1NQUnpDKylCg0eYfNdqjhgRY7dGPTd2K1QIWVu9blvX8+fNqvjWO9yz7WPkypZwmVICxUTgcVlU1Go2Oj487wqHhmUaULMZe5XL52rVrmGQMBAJ+vz8SiXg8nmrPSRO2naq0BgXYD9yREEWR5cRisfn5eexRmMvl3r59KywflbcjwGrqAaONKkeA1Uad2axNWS1gYUro7du38GtmYyf/omRvVUeCP4fSTagAepOZFpTlAwGuvv766xUZi9GVaZoI3v3HH38oioJtKLds2RKJRNhDQpFIm7DT118lx898xY+Kohw9ehS7lNIUYbOOBp1VLwKszurvT9La1QKWruuPHz9WFAWh3tnYyb+mV3zDOpbx8+dTukkUYL3JJ7DhYCgUWpGxeMCyLCuTyRiGce3atUQi0dfXB3cuR2lN0liqxkYpUO33zucLguD3+2/evAkTOO1F+Ene9nRTXgECLF4NSm+KAqsFrNevX4uiCNtGtYGTf7Hy6Y16oVM5m6QA61AYsTCJg6FREATGWPyDyANWLpezLEvX9XK5fP369UQiATuWJEmCIKDwTao5FfsJFeB/49XSgiB4PJ54PL6wsMB8sFbcq5SmCPnfF6U3TwECrM3Tlkr+XwXqAaz5+XnsQPfq1avR0VF5+fiEL3S69aYqUIlZoigmk8lQKBQOhw8cOICdCuGAxf+Q+IDdxWLxypUrkiT5fD5JkhC/1Ov1bmrNqfCmUoCHLUC2KIoTExNzc3OInEeAxf98KN1gBQiwGix4J96uHsDSNM227enpaWw5Rzv7NtUwtuGVYYCFBFyVQ6FQMBj0+XyyLB8/fpwxVo3fjK7rd+/eRQBStgfwhteWCmxaBXjAgoeAIAiiKP78889PnjwJh8Mr7l9JFqwavyn6agMVIMDaQDGpqJUVqAewQFeiKMbj8RXfiU37iqeKrU0BnrFEUYRzOgxRsEUxxlr5qTKMDx8+YO/CK1euRCIR7J2C8XVtVaKrWk4BB2AxxsIWOvDtq2wUAVa13xTlb6wCBFgbqyeVtoIC9QDWq1evotFoPB6PRqOVL0TKaT8FHIDFXLKQLwhCNBoFY63wSC1nFQqFDx8+mKZZKpWuXr0aiUSCwSBbRciXj3T7aUgtqgQsMJaiKNFoFKbNSpUIsKr9pih/YxUgwNpYPam0FRSoBliSJCmK8uDBgxcvXvT398NbArNFle9EymlLBRgGiaIIh3eQFlzXZVnes2dPNpuFpQouWWzLQji/W8tHsVi8evWqunwwl3lYs2AeYzci2GqnB2lFwAoGg3DiRII/B20nwFrhNU1Zm6AAAdYmiEpF/rcC1QBLEAS32/3bb7+BrjCy4j+dFHChnUbBGm3huQcPgCiKgUAAIdA8Ho8sy8eOHXMwFp4vHrD05eP+/fuhUAjOzmx94oqYVaNK9FULKcDDE58GYDHMYl+haQRY//2Gpk+bpQAB1mYpS+UyBVYELEmSotGoz+dTVRVOVxhZFUWRZdnxQmyhNz5VdVUKVAIW5vgwNKKoaDTqYCw8Wjxg2badyWTy+fyVK1cGBgbAWH6/n0Gbw461qkrSyU2rAHtROBIEWOz1S4lPqAAB1icUv1NuXQOwYKvAKBgIBBRFCYVC2AgFb8ymfbNTxTZEgRUBS5IkWZYVRVFVFZ5VjLFY4AbTNLHrnGVZ+XweMT50XS+VShcvXmSMRYC1Id3UtIU4uIp9JMDqlNGludtJgNXc/dMWtVsRsIBWjvcg2ziFN2LRdGHTDm8bWzEGW4FAAN4zzLoZCASSyeSpU6ey2Swieti2DcAyTdMwjHw+z+KRWpZ15cqVcDgcCoVUVfUsH4qisPKZI/zG1p9Ka7wCjKgcCf7FwqdRQ5oibIuBpQUaQYDVAp3U6lWsE7D49yABVuPHqk9+RwZAACzmqsx4KJlMnjhxAvsV2rbNiMqR0DQtm81OTk5ij0JVVRVFoQ2hP3n/bkYFHFzFPjpeJuwj6kCA1epjSqvUnwCrVXqqheu5ImCx4ZO9+xwJ9q4kC9ZmjExNWCYACxVD74Oz+XxVVY8fPw47loOr2EfLstLpdC6Xu3z58sDAQCwWgx2LARwjtiYUgaq0KgX4twSfdrxM2EcUToDVwsNJS1WdAKuluqs1K0uAtaoxo2NP5kGKAVYgEGBgFAgEPv/8c1VVYcdiRMX/LHRd1zTNsizMJF67dg3+WKqqsnIIsNrmGeOhik8zonIkCLD4HwulN1sBAqzNVpjKNwiw2mY8a1hD+MESjIVbq6oqimIkEjl27Fgmk4EpCzEaECtL0zTssYNM+GNhB55gMIj4pbRfYcP6cbNvxD8nfNrBVewj6kMWLBqWGqMAAVZjdO7ouxBgbfYw037l84Ml3zpFUQRB8Hg8kUjk5MmTYCyeqBhsIQF/rLt372JZYjAY3Lp1K+0WwEva0mn+OeHTjKgcCTSWAKujB6QGNp4Aq4Fid+qteMBi0zTMkZl/LVZLt/QYQJVfgwL8k8AulyQJ4awQfCEWizHGcnAV+1gul7PLx5UrV2KxWDKZDAaD2DOAFUuJ1lWAf07qSeP9IwjC6Ohop76Pqd2NU4AAq3Fad+ydCLBadwD7VDXnB0tWB1EU/X6/IAiqqoZCIUEQGGMxonIkLMtafLeo67plWVevXo3FYoiyxsqkREsrwD8n9aQJsDp2GPokDSfA+iSyd9ZN1wZYLf3ep8pvhgLMgoXCYcdKJpNnzpzJ5/OpVErTtKWlJRaMlP3M4A6fz+f379/v8Xgoqvtm9E5TlVkNtgiw2I+CEg1QgACrASJ3+i0IsJpq7GmbyrBNBpPJ5JEjR/L5vG3bmqZVAyxN0x4/fhwKhfiVibSisG2eB74hBFidPuo0R/sJsJqjH9q6Fjxgsa1LaGDjxwNKr1YBWLMYY0mSdPbsWdixqgFWbvkIh8M+n4/5AtJzuFrlW/p8smC19VDTdI0jwGq6Lmm/ChFgtfSY1JyVB6kLy4coil1dXZIkwY5VDbAWFhaePn3a19dHU4TN2acNqBUBVvuNL83cIgKsZu6dNqkbAVYDRo5Ou4XDguX3+71ebzQaPXPmTDabzeVyhmEUlo/Fd4uFQiGTyei6fv36dUTSIgtWpz0wfHspTEObDC1N3wwCrKbvotavIAEW/3Kn9IYoAMBiM85YYAjGOnfuHHYqtCyrUCggtrtpmgsLC0NDQ45NCWmKcEO6o1UKgW+WJEnj4+Ot/2alFjS7AgRYzd5DbVA/AqxWGX5aqJ4wQfGAxRjL6/UeOXJE0zTTNLPZrGmalmXpun7gwAFBEHp7e0OhEFmwWqivN7CqiDsaCAR27tzZBq9WakKTK0CA1eQd1A7VA2AFg0F+OCTLwQYOGx1Y1IqABcbq7u72+/3Dw8M3b9588+bN7OzslStXent7g8FgJBJhNgzGWB2oXsc2WZIkbB5PgNUOQ0vTt4EAq+m7qPUr+MsvvyB2Ns9YBFgdO8htVMMZIVVOF/IoX+nSTs/eRnVBy5WDF5EoipcuXWr9Nyu1oNkVIMBq9h5qg/o9f/68u7s7GAyGQiE28tEg13KDU7NVeM2A1WwNofo0TAFRFAOBgNvtfvHiRRu8WqkJTa4AAVaTd1A7VE/TtJ6eHkmSsIALjEWA1bBBpV1vRIDVrj27ee3Cy6evry+fz7fDu5Xa0NwKEGA1d/+0Re00TTtz5ozX6w0EAmTB2rzBo9NKJsDqtB5ff3s9Ho/X6/3mm2/a4s1KjWh2BQiwmr2H2qB+MzMzL168YDEhyYK1/nGCSnAowMNWtbTjEvrYgQoEg8EtW7b89ddf8/PzbfBqpSY0uQIEWE3eQe1QvXQ6bZrmiRMn3G43WbA6cFRrQJOrQRWf34Bq0C2aXAFRFA8dOlQoFBCKth1er9SGJlaAAKuJO6ddqlYsFlOpVC6XIyf3Jh9+Wrd6PEhVS7du66jmG6VAT0/P7OxsJpMpl8vt8n6ldjSvAgRYzds3bVOzbDabTqcNw7hy5QpZsDZqqKByeAWqQRWfz59P6c5U4Pbt26lUKpvNaprWNi9YakjTKkCA1bRd054VO378uM/n83q94XC4M1/x1GpSgBRopAKhUMjlcimKcubMGWwEXrkdeHu+balVn1oBAqxP3QOdd//BwUG/3+/xeBr5kqV7kQKkQGcqIElSIpGIx+OpVIoAq/MGnE/ZYgKsT6l+Z977zZs3p06dQsS/znzjU6tJAVKgYQoIgvDVV1+lUinDMAiwOnPQ+VStJsD6VMp36H1LpZKu64VC4cKFCw17w9KNSAFSoGMVuHjxYqFQmJ2dNU2TAKtDB55P1GwCrE8kPN3WMJ4/fz42NubxeFwuVyQSURTF7/e73W6Px+NfPvjQWby3MqVJAVKgwxUAL2LrbvnvAxs5S5LkcrlEUdy3b9/z589N7qD3LinQSAUIsBqpNt3rvxSwbTudTj979uzgwYOiKHq9Xo/HEwwG/X6/IAjYSycYDMqyrKpqiA5SgBQgBZYVUFVVURRgFaAKy5ODwWA4HI7FYrt3756cnFx8t1gsFjm+Mv/rBUQfSIFNVoAAa5MFpuKrKzA/P2/bdqlUMgxjbm7uypUrExMT/f398EiNRqORSCQcDodCIfYy/ft/qvQvKUAKdK4CiqKw/3SFw+FIJBKNRgcGBo4cOXL79u3p6WnLsgrLB+YEGWNVfxvRN6TAxitAgLXxmlKJdSowPT29+G4xm81alqUvH6VSKZPJ4J2IHG35yNFBCpACpACnQJY7MpkMQlthC2fTNNPptGVZtm0jYjsBVp3vZDptYxUgwNpYPam0NSrgeAPyvqiUJgVIAVLAoQD+A1b513EakGuNbyW6jBRYnwIEWOvTj64mBUgBUoAUaLgCPEgBs/gcPt3wqtENSYH/VYAAix4FUoAUIAVIgRZTgEcoAqwW67yOqS4BVsd0NTWUFCAFSIF2UYAAq116sp3bQYDVzr1LbSMFSAFSoI0V4DGrWrqNm09Na3IFCLCavIOoeqQAKUAKkAIrK1ANqvj8la+kXFJg8xUgwNp8jekOpAApQAqQApugAA9S1dKbcFsqkhSoSwECrLpkopNIAVKAFCAFmk2BalDF5zdbnak+naMAAVbn9DW1lBQgBUgBUoAUIAUapAABVoOEptuQAqQAKUAKkAKkQOcoQIDVOX1NLSUFSAFSgBQgBUiBBilAgNUgoek2pAApQAqQAqQAKdA5ChBgdU5fU0tJAVKAFCAFSAFSoEEKEGA1SGi6DSlACpACpAApQAp0jgIEWJ3T19RSUoAUIAVIAVKAFGiQAgRYDRKabkMKkAKkAClACpACnaMAAVbn9DW1lBQgBUgBUoAUIAUapAABVoOEptuQAqQAKUAKkAKkQOcoQIDVOX1NLSUFSAFSgBQgBUiBBilAgNUgoek2pAApQAqQAqQAKdA5ChBgdU5fU0tJAVKAFCAFSAFSoEEKEGA1SGi6DSlACpACpAApQAp0jgIEWJ3T19RSUoAUIAVIAVKAFGiQAgRYDRKabkMKkAKkAClACpACnaMAAVbn9DW1lBQgBUgBUoAUIAUapAABVoOEptuQAqQAKUAKkAKkQOcoQIDVOX1NLSUFPo0Cpml+mhvTXUkBUoAU+HQKEGB9Ou3pzi2uQD6fb/EWNKj65vLRoJvRbUgBUoAUaA4FCLCaox+oFi2ogGmauq4vLS2Zplkul4vFom3b67TWFAqFpaWlYrEIKEmn05qmrbPMRkpbLBYty1pYWCiXy+/fv7csC5qgOZV/G1k3uhcpQAqQAo1UgACrkWrTvdpKgcV3iz/++OOePXtGRkYSicTu3bv37t37+PHj9TTy6dOnExMThw8f3rt375EjR168eFFcPtZTZiOv1XV9enq6v79/ZGSkt7d3fHz8wIEDlVzFchpZN7oXKUAKkAKNVIAAq5Fq073aSoFCobBnz55AIJBIJERRjEQiPp/v6NGj62nk48ePu7u7FUURRdHr9T569MhaPtZTZiOvTafTb9++dbvdsiwHAgFFUWRZZjhVmWhk3ehepAApQAo0UgECrEaqTfdqKwVM09y7d28gEAiFQoIgSJIky7Kqqmjk2ub17t27Jy0fKOrPP/+cm5vLZDKtIlyhUHj16pUkSV6vF4zV19eXz+cr0Qo5rdIuqicpQAqQAqtVgABrtYrR+aTA/ypQDbDOnj0Ls1OxWFytWDxg+f3+J0+e2LadTqfz3LHaMht5fjXA4uvAwxafT2lSgBQgBdpJAQKsdupNaktDFagGWIlEYn5+vlAorGGZIQFWQ7uQbkYKkAKkwKYpQIC1adJSwe2uQDXAEkXxxx9/1HX9/fv3q9WAAGu1itH5pAApQAo0pwIEWM3ZL1SrFlCgGmD5/f6RkRFN09Lp9Gqb0eqAVSwWV/TBwgwnrwb5YPFqUJoUIAXaTwECrPbrU2pRgxTgAWvLli3Dw8OBQCASiYTDYZ/PNzk5OTc3t9qqtAFgZTKZP//8c3Jy8sGDB//5z39evHgxPz/PuZBRdNbVPhR0PilACrSkAgRYLdltVOlmUIAHrFAotGvXromJCSwn9Hg8e/bs0XV9tfVsacBiRilN09B2XdeR1pcPwqzVPg90PilACrSuAgRYrdt3VPNPrAAPWD09PXv27Llz504gEBAEwefz+f3+P//8c7VVbGnAQmMtyyoWi+VyefHd4ocPH0qlEkLe67r+UcCqnEmsIeAa1hDUKK3GV2uLuFGjwDV/1bAmr7mGdCEpQAowBQiwmBSUIAVWpwAPWKFQaO/evYVCob+/X5KkUCikKMrhw4f5EusZHdcMWPl8XtM0/naNTwNE8vl8LpdLp9PZbLa8fGSz2XosWAy/DMOozTTszHokXb8OzDJXo6h6zqlxeT1fmaaJ9q4KQ1Gybduf/PGop410DinQTgoQYLVTb1JbGqoAD1hut/vgwYP5fP7KlSsejycQCMiyHIlEECO0UCjAfvPR+q0ZsHRdz+VymUzGNM1CoYANdrA9Iognt3w0gEgY/fCNZZmsAsgBeGnLBzvHMAx7+cC3aFGhULBtGxz5UVxbWFjI5XKL7xbT6XQulzMMw7Ks2tDG19aRZhXI5/PoR+AUhNU0DWHP1lw+bmfbdmn5QEtt2zYMI7N8IFIr04dpWD/VFYvFbDYLp0DTNC3LKhQKuB3YK5PJQChH2+kjKUAKrFkBAqw1S0cXdroCPGDJsrxv375SqaRpWl9fXyAQEEVRluULFy58+PDBsqxsNluPXmsGLIy1zIYEBIEjlG3blmUxd6h6qrHmcyohAEU58lFbcAlYyrIswzBwmmEYxWKxVCoBEMFGjGlY0xxlsjpns9kPHz4sLS19+PABVh9N03K5HDCFnVZ/wjTNUqnE7+cN0mLQzGpYf5n8mazVjjYyS142m4VFEGjFGLpUKoHGarMdiCqfz1uWhVZAFjwe2JCb6c9XjNKkACmwHgUIsNajHl3b0QrwgBUOhycmJt6/f7+0tHTx4kVBEFwulyRJ4XAY9hg2WNaWbM2AhfJhmeCtNYVC4f3794vvFsFYzPhRuxpr/rYa9FTm8zmMmZCAQYt5yoPDWKPQBJzJCuErbNv2+/fvbduem5tjiGnbNiikNovw5bC0A6dYvmmajA7XUCwrB15roCUGOqyn8vl8JpNZWFjATCuajGsZVbMEK5NPoCiUvLCwAHGy2SzsfIy8WTP5a/Fc1S7fcT59JAVIAShAgEVPAimwRgV4wGIWrEwmMzs7m0gkuru7g8GgJEnXr1+fmZkpl8v1jMHrASzDMF69enX16tWzZ89GuUNV1fHx8R9++OHevXtrbGrdl+m6DusI4wNcykgI+ezbt9zBY9b8/PydO3eOHj3a398f4Y4ff/zx4cOHDrpipeFeP//888GDB5PJZCgU8nq9kUhkdHT04MGDr1+/xpnoCABHnS1LpVJ37949duzYwMCAyh1DQ0MnTpy4f//+GmKe8bfO5XL37t07dOhQOByWueP06dN3797Vdd22bbQaE8ELCwvz8/Ozywejn8oHzDHr99dff928eXNsbAyt8Pl8wWBw+/btp06d+vXXX2dmZgzDwF0Mw2A+WzXK55tAaVKAFHAoQIDlEIQ+kgL1KlANsDKZzNdffy3+fQwMDMCwVDn+Vd5pDYCFoTedTv/000+BQKCrq8vn80mSJIqisHxIkhQMBlVVDYfDQ0NDd+7cef/+fT6fn5+fL5VK8BJzAFBlxerMgUPSiRMnDhw4sH///omJiV9++YUvHIgDDvvhhx8kSQoEAoqiHDlyJJfLlcvlUql048aNWCwGK6CqqsryEQwGRVEMh8Mul2t8fPzBgwdAgUwmA1f6qampQ4cOqaoaDAYDgYAkST6fz+v1YrrW7/crirJ37965ublcLjc/P2/bdu2253I5TdPy+fxvv/3W09MTCARQIMdXqizLgiBEIhFJks6cOTM/P7/4brFcLtcjF56KXC7373//e8eOHR6PR5blUCj094PzP/9iOWp/f//du3cty4J9VBRFRVGCwWA4HC4UCjwAOdILCwuYH5yZmblw4UIoFPL7/Vjo6vF4EFJEkiRBEDzLx8GDB1HzpaWlbDa7+G6xWCzyZdbTLjqHFCAFoAABFj0JpMAaFagGWLlc7sGDBx6PJ5lMyrLsdrufPn0K9/OP3mm1gJXP57PZ7PPnz6PRqKqqkiRFo9FIJOJ2u71er9/vx2gNxoJlJBgMHjhwYG5uDpOGi+8WM5kMz0AfrWTtE3RdHx8fD4fDgiAoinLmzJnK8jVNM03TAVgLy8fo6KggCKFQyOVyeTyeaDSKj+FwGCiQSCQACtevX0+n08ViMZ1O379/n3GJ3+8XBAHrDOLxODAFfAYoYQah2m23LOvNmzcjIyOCIMiyHAwGZVn2Lx/sXig8HA57PB5FUXp7e7PZbKFQqC0RvtV13bKs+/fvh0Iht9vt8/kikUgwGAxxRywW8/v9qqqGQqEjR45ks9nz589LkvRRwIItCp5nqVRqYmJClmVRFN1uN6AW/I0Vr+FwWBTFzz77LB6P9/T0PH/+HGZIzFoSYNXTm3QOKVCpAAFWpSaUQwrUpUA1wMrn87Ztj46OwrwRCAR2796NhWwfLXe1gDU3N/fo0SNE3lJVNRKJCIIgimIgEFBVtaenp6+vLxaLqer/2FqCwWAikcBAOzIyYprm/Py8ruulUmmjAAvu/IODg16vF6adH3/8cfHdoqP8FQHr2bNnvctHMBiEES4ej4+MjOzataunpwd0CNOU3+/3er2qqt67d8+27VOnTm3ZsgVthN9bMpkcGhoaGxtLJpNgoFgs5nK5YMeKRqOmaaZSKZCWZVmsenwHZTKZkZGRcDgMkxUsbeFwOJlMop69vb2RSMTj8YSXD9RtYmLi7du3fDnV0qZp/vHHH8BiABPoZ4g7FEXp7u5WFMXv9/t8vq+++upf//oXyJVZsJiPGvO1BxIVi8VCoZBKpbZt26aqKhDQ5/MJgpBMJnft2nXgwIHx8fFkMhlYPkKhEKx94XD48ePH6XQ6lUotLS2xNZKMtKq1iPJJAVKAV4AAi1eD0qTAKhSoAVjZbPY///mPLMvhcNjr9cZisefPn9fj9FMnYDGP71evXqmqGo1GYZaIRCKJROL8+fMvXryYmZnJ5/OL7xYXFhZu3769b98+WZY9Hk8sFovH44IgfPvtt3DTTqVSjDAc/kyrkOPvU/P5/M6dOyORCAJVfPeP7ypDjDoAKxgMHjlyJJlMhsPhzz//XJblgYGBS5cuzc/PY5JuaWlpenr6+PHjbrcbBIlFmqqqHjt2LBgMYj4xGAweOnTo1atXsM99+PDBtu379++j7YqibNmyxev1SpJ06tQprMVLpVJs9aJjmeHZs2fdbjfIDHR1/Pjxly9f8kBz48aNwcFBTMWKohiNRoPB4N27d2FAQqiFv4Vx/js1NRWPx8FnsiwrirJt27bJyUnm469p2szMzDfffONyuTCv193dnUgkYJwLBAKhUAjO+wx9+MTc3Fw2mx0fH1dVNRaLofdHR0fn5+fT6TTc/9Pp9IcPH169evXVV18BW+E42NPTMzMzUygU0uk0X6azDfSZFCAFqitAgFVdG/qGFKipQDXAMgwjl8vZtt3f3+/3+zGxtX///mKxqOv64rtFh+sxf5M6AatYLGKY3717t9/vh3EiEAgcOXIklUrNz8/zZRYKBcuyZmdnb926JYpiMBiEvSSRSDx48CCXy9XjHMYXWDttWRYCVQA7Tp8+XWkh4wELaChJksvlgu3q3LlzPPDx6StXrmAGcOvWrbFYDDNcME319PTcvXsXblWshplMJpvNTk1NXblyBdyG2dItW7Y8evQIUbV4pjRNM51OZzKZN2/ewNSnKEpXV1cikbh9+zZz22Lll8vldDq9f/9++EXBXUxRFMMwstmso+H8jdLp9NjYGOuOcDh85MgRwzA+fPjACjcMY2FhwbKsR48e9fb2+v1+9B2mLD8KWJlM5pdffhEEwe/3Y171+PHjNZjvxx9/xMnouFOnTmmaBi8uxlh83ShNCpACtRUgwKqtD31LClRVoBpglctlBAi4dOkSH6kEbAAAIABJREFUJpjgvzwzM4NpKbDRiuXWA1j5fB6s9scff2DOS1EUQRD27t2LlfaVJbPwDQ8fPuzp6enu7pYkKZlM7ty50zRNtl6s8sI15Ni2vVrAkpYPRVFcLtcPP/zg2ByaB6xUKnXq1ClFUTCZBcgQBKGnp2dqagrBoliddV3PZrO5XA4mtDNnzjDP9y1btly4cAEu+ex8lshkMj///DPIGC7zly9fTqVShULBoRV8lbLZ7PDwMKMrRVGmpqZyuVypVKq03oG/Jycn4cgFBN+5cyebiWPVAKUVCoVcLvfo0aNoNKooiiRJIC1JklRVdZhFGQmZppnNZn0+H/y3AoHAtm3bDMNYfLfIl+9IHz58OBaLdXd3g7HqdBx0FEIfSQFSAAoQYNGTQAqsUYFqgFUqldLpNDx7gsGg3++H/9O3336L2R/HoMjfvh7Ags1pYWHhyy+/hO0qEolgTiedTufzeQSf5ItFGl7t3/3jO7/fHw6H4Vv94sWLOp2yKwtcMWfNgCVJ0smTJ7EEj4cqPm0YxtTU1NDQEGxXCMSAWbl0Oo0FlXyt2LXwWBcEwe12+/1+l8s1OjpaKBQcFiNd19+/f28YRm9vL2blJEkaHR1Np9NQyQFYMEplMpmnT58CsDDZNzk5Ca+7FQErnU7v3r0bz4bb7Y7H469fv3aUjIlL5rq3sLBw/PjxcDgMn3c4nEUiEcRiRSxZNncJzPrpp5+wehQ2v0ePHtm2XWOFI0gOt4jFYsFg8Lt/fLexzwbfNZQmBdpeAQKstu9iauBmKVANsIA4pVJpaWnp9OnToCu42mACCz5PK1arHsDCmD0zM4MQBrDfnDhxwrZtFq+82qwfolZivglzcwcPHqwBfCtWsnbmmgELHAM4YGDkSGDudf/+/YlEwuVyiaIoSdLp06cxFQhlUD3eloNwoIZh7Ny50+fzJRIJURTj8XgqlXJE2Ie5a2pqCh76Pp9PluVLly4hGEShUOCn+VA3wE0mkwFgYRbv8uXLqIADsEzTzOVyk5OTOC0QCMTj8UOHDsGWBppht0AJYKxSqfT69WssioxGo7IsrzhFiLbDmWzHjh1w+RdFcWxsDJHca/T1wsKCrutfffVVX18fwnyMj4/DVat2j9O3pAApsKICBFgrykKZpMDHFagGWCx6uGEYr1+/xliFeA3Xrl3LZrMIQ7XiDeoBLISGv3jxYnd3NywZLpfr5cuXPF6sWDiMIqlU6uzZs/BlhoM8olJVu2S1+WsGrCdPnjA3cwdXsY+IfXXp0iWspEM4hufPn7N5QFZb0Akz6mBDmF9++QVTbPATdyy7w7SaYRiIsoHoVlu2bGFTlivSCcvs7+/HFJ6iKCdPnkQ3MVpCxUzTXFpaOn/+PGxpiqKEQqEHDx7gW1YU3woWS71cLu/Zs4cPXiXLMjsTCRaN/c2bNy6XS1EUVVW3bNly7do1BMSqRt6GYcDw+eeff37xxRfRaNTlckWjUUf9Hbejj6QAKVBDAQKsGuLQV6RALQUsy9q7dy8CIvCR3PlrcrncyZMnYW8IBAKJRGJpaWlmZqaaYaAewNI0rVgs7t27F87OkiSNj49jcrDG8IlaIW7W3bt3I5FIKBTCMP/06dOPXsg3qnZ6zYD1Ubpi9MAAC25Mz58/r4RL3oIFzLJt+1//+hcm/rAIcUXAKpfLV65cicViXV1dWBiIlYwM8qo13wFYuq4Xi8XKk23bPnjwIMyH4XDY5/PViALPt8K27Tt37iB0KvzDAFisYkgAyG7fvu3xeJid7M8///woYAHvUqlUNBoNhUKI887gr7IhlEMKkAK1FSDAqq0PfUsKVFXAtu19+/Yh6mM1wCqVSn/99RcCVEqS5PF4bt++bZomAAtYwxsJ6gGsTCaTSqVY1KKurq5ffvkFY/lHOQkDtqZpzGFo69at58+f/+iFVVWo+GLNgMXUcBBD5cfLly+LoogIUpIk/fnnn7yGqBGPJkjbtv3rr7/WBiwYuiYnJ8+dO/fdP747d+7c999/n81m+TpUtPh/M/r7+7HwUJblEydOaJpW6cCk6/rs7CyCJiCeaE9Pz4ocVtkKTHSKouj1erF4IhaLlctlR90KhUK5XD5+/DjoMxwOb9u27aN0BesmoqTu3LkTMb28Xu+FCxeqtZfySQFSoLYCBFi19aFvSYGqChQKBQAWYmDu27eP7TzDX7O0tDQ+Po7JILfbPTw8jChELJYVDwf1AJamaQ8ePIANIxwOB4PBx48f11h+z1fGMAyEeAiFQh6Pp6+vLxgM7tu3rxkAi49HxUNDZboSsBxtZNNqPGbZtn3p0iXM2FazYBWLxWw2i42iHU5LrBr8vbCUATkALEmSagBWLpd78eLF1q1b4T8XCAROnTrFPwB84Y5WAP527NgRi8X4SO6sYnD+KxQKS0tLIyMjmAyNRCK7d++uB7Cwy6Fpml9//XUkEsHyxrNnzzqqRB9JAVKgTgUIsOoUik4jBZwKFAqF/fv3Y0CtZsFCmIBXr16JohgKhbq7u6PR6MOHD8vlMnaR40fHfD5/9+5dGB4QEerx48eWZcH7GO5Huq6Xy+Xff/8dIbkRrQAu3jygOOvKfQYF7tmzhw8rsFGAheid/f392JpGFMUzZ844Vq7BgGdZ1o8//ogY4vhbTx0gVz2AxbXYAGZZlnXlypXagGXbNlvNx+Cs0jUKhWPmEbIXi0XspVMbsDRNe/ToEfYc9Pv93d3dv/76a6Whi1We1QHxIDRN27VrVygUYi50jrohCkM2m4WBUxAEVVW/+8d3qGpthfGs5vP5n3/+ORKJwMH/0KFDrDKUIAVIgVUpQIC1KrnoZFLg/xQoFosALIys1SxYi+8WdV3v7e3FlFYgEMCgtWbAKpVK2NcZMc3j8Ti2Ja4HsCzLKhaLuVzu2LFjPGD9X6vWl2pywLp69SoWHlazYPGt5+GGz+fT2GioUChkMhk8BnCfrzZFaBjGv//9b8SFF0URU8YOSOLL5+sAQ9fhw4dZGDBFURzMhABp09PTqqoCWyVJunTpEjOX8oU70iDLfD5/584d7PIUDAZHR0cdp9FHUoAUqFMBAqw6haLTSAGnAqVS6cCBA9j4r5oFy7btUqn0/v3777//3uv1whlLFMWnT59ikxOHt3s9U4SlUmn//v3YoNfn842Pj6NmvDHMWde/P5dKJcxq/fOf/2xFwEI7YIiCkSYQCLx48eLv9tX617Ksa9eubSxgYauZ+fn5X375hQFWMBg8fvw4Iko4pv9s2/7pp58QKRRxsFZ0IGPN4AELU4Tnz5+HdRCFOMqHP/7Tp0+Dy4eqqn6//+HDh3UCFmYS79y5Ax98+PjjFqgJqxglSAFS4KMKEGB9VCI6gRRYWYFyuQzAwqxQpQULo1pq+ZidnXW5XFjYFQgEzp49i5hVjgGyHsAqFov9/f3xeFySJK/X++WXX8KMUSdg4eSbN2/CdQx/V27h6nM324KFGq0ZsK5fv47IDquyYDn6iFdlYWFh8d3i5OQkdiFEzLMagFUoFE6fPo2trBHTAUH/+TL5NA9Ytm0XCoXLly8jzLrP5wsEAg5Az2Qyuq4jTDz2gvR4PFNTUw5DF38Llsb+RbZtT05OCoKAHR59Pp+maQjkQYzFtKIEKVCPAgRY9ahE55ACKyjwUcDCNWyMPHbsGPaECQaDkUgEa9Mc00P1AFahUAiHw/C+8nq93/3jO3g1MSctR3BLvupYiYYxGEYO/H306BF/2prTrQ5YrLP4hK7rABckstns/Pw8kGVqaurrr7/2+XzYs+ijgGVZ1sjICEKrq6oqCAL25K4mOF8NANbvv//u8Xj4MA38Odgq4ObNm3DREwQhGo3evXt3bm5udnZ2ZmZmenp6amrq7du3byqOmZmZly9f3r9//+bNm4i2hTnobDbL2KseUKvWFsonBTpNAQKsTutxau+GKVAPYPGD39TU1NatW30+Xzwel2X53LlzCALOV2i1gOXz+QBYMDMwxqphzcKGepOTk7yDOQEW31OVacAN9hqybXthYeHWrVsTExMgXdAMDJlY31dtitA0zZGREZig1OUjk8nUsJDxNcGGkr///rvb7ead3PlzwNbYEnvr1q3RaFQQBJfLBdd+TPxhKpOfIEY8UvjOu93uzz//HCst8DedTmN3phrhJPhnmNKkACkABQiw6EkgBdaowGoBq1gsHjx4ED5AgiCEQiFd17Hsi62iZ9yD/ZufPn0KB2q+irZtw/0I6/C///57DPw8VPFp/loE7NY0jd0ImEWAxWNKZRomnL/++uvy5ctjY2PhcNjtdouiCPsfAsmyLatlWT558iQCjTpMPrZtA7AQx6uvr69YLK4WsDDRzDZ75mubzWZLpdLFixfBUliuKMvyRwELjAU65OlKFMV0Oo2dfAiwHD8l+kgK1FaAAKu2PvQtKVBVgdUCVjabff36Ndvkrqur6969eyzoKOYK67FgmaaJNWIEWKDD+p3cP+qDBVhBTHkeXP7888+DBw/6fD6Px8NWg4ZCISw16OvrO3HiRDKZZCaiaqsIC4UCAyxZloeHh5eWluoELMAxpgirWbCy2eziu8UffvghGAwiRhqbCEbsUFEUBUHw+/2+lQ7MCbJIFiCtTCaDBYb1eMpX/bXQF6RA5ylAgNV5fU4t3iAFVgtY2Opu+/btqqp6vV5RFAcHB4vFIlZ+IVJoPYCVz+dhaUBQckw18iarGgM2WbBqOLljmV4+n9c0LZfL4eOff/65fft2SZLi8Xg0GvUsH1idFwgExsfHL126lMvllpaWsG8SOKYaYBWLxWQyCXAJBoNjY2M1gmA5Ao1im6OHDx96vV4esPj9FhFr9Mcff8QMYDQa7erq+vXXX69du3b17+NK9ePatWvXr1+/cePGde5AEJDaD9UG/aSoGFKgrRQgwGqr7qTGNFKB1QLW+/fvTdO8deuW1+vFBjuqqv7+++/ZbFbXddu26ww0qmkac6YWRfH8+fMYpHnGqqED+WBhfYAsyzDJ8Jaq9+/foztgWEIo1Gg0qigKdm+Eo1U0Gj106NB//vMftuVROp3eu3cvzEWiKFbzwSqVSgywAoHAqgBL1/VsNvvw4UPsEsimCHnAQot++uknVVUxkygIwtOnT3Vdh/872DFX5WBbOvLPEi5kX9V4tOgrUoAU4BUgwOLVoDQpsAoFVgtYi+8WC4VCPp/HVnSxWMzlcu3Zswcr1PDVvXv34KSFiFlPnjyxbRsbObMxT9d1ABZ8ay5cuFAsFh2+PjWaURuw6i9nxVu09CpCtsQyl8vpun7q1CnmkxSJRLDZUSKR+OGHH54+fVoulxmN2ba9+G6RAZYgCNUAa/HdIgALk4lrAyxEwPooYLH5voWFBSynYPHceabk0/DlLxaLheWDLcJgz96KnU6ZpAApsKICBFgrykKZpMDHFVgtYBmGYVlWNpvFDE4ymQQhrRaw+ClCSZIuXLgAOPt4jQ0DU0gI01C5ihDhjuopp9o5LQ1Y2I6mVCrNzs5evXoV+ni9Xsz6bdu27eLFi3Nzc9ls1jRNbKqzsLCQzWYty3r//n09gFUul5PJJNCHWbBqzL7x9KPrejqdfvDgATaxCQQCoVAI4WrZaZgC/umnnxRF6enpQSyrVCrFczOjpcoEFlvwNIaOZmdW63fKJwVIgUoFCLAqNaEcUqAuBVYLWHCdRtGKorhcLkVRsDGwruuFQqFcLiPGI7Zb8fv9K1qw4OQOLxyPx3PhwgXLstgOerWrrmna3NxcPp+/ffs2Vr3h7/T0tGmaWCvHRmt+VK5dLPu21QHLMIxUKjUzMyOKYiQSUVVVlmWv1zs2NoZVgUtLS/yUHLTCxFw9gFUsFsfGxhCmIRgMJpPJ2n3H98WHDx/S6fT9+/d9Ph8qFolEHCv7sHUPwsqHQiGsRX3z5o0jHinrLz7B34u1Ec8AARYvFKVJgToVIMCqUyg6jRRwKrBawGIDmGEYx48f37p1K6KxRyKRqakp5uSOINo1pggty0LIIvhKnz59GmEanPVb6TP8eEzTRDB0xlgALIQ7YvXsQMACBJ87d04QBOzHB7pKp9MwNGIakecPJlc9gGXb9qFDh9Bx8OtCALOV+up/8ljhpmkuvlvM5XK3b9/2+/08YDH6QaJQKKBzMb/p9/tfv369HsDiGataPSmfFCAFKhUgwKrUhHJIgboUWDNgmab55s0b7NYSCAR8Pt/333+fyWQ+fPgwOTkJD5sacbAQyR0b0oXD4UOHDmGeqK5KGwbca86fP8/oSpIkBlgOv+86y2SntboFC83v7+/Hbjbd3d1er/f333/P5XLpdNphvnJoVQ9gmab53T++gwsdgpSyoPBMQz7BA1axWMR2inC0Z1OEPGDBHvbbb7/5/X748ns8nhcvXqwfsPhaUZoUIAXqUYAAqx6V6BxSYAUF1gNYpmkeOnQIcz1ut3twcHBh+bh3795HAcu27XA4DP+tWCy2e/fuQqFQp7XJNM0PHz6USqVTp05JkoSg3pIkzc7OGoaBeJL8oL5Cs2tmtTpg5fP5hw8fYvoVKz0RSsO2bawuhFWpmgUL3lo+n6+ak3s+n//Xv/7F1pD6fL7aGwXyfWFZVrlcvnTpUjAYBDwpigK/McZYhUIhnU7fvXsXrmN+v7+7u/v58+f1ABb8t2DDczSwZp/Tl6QAKbCyAgRYK+tCuaTARxWoBli8zzI/QPJpy7Lu3bsH/55QKKSq6q1btzKZzN27d7EIv8YUoWEY+/btCwQCwWAwtHxYlsXftEbN4WW/tLQ0MDAAQ0gkEpFlOZPJGMsu8Hwl64Q2/nZNC1hwS79x4wbCrwNx4M3NmoyGXL58GT5wOOef//xnuVyGODiBne9ITExMIIynx+Ph42Dxp2ma9uzZM0QrDQaDPp/v2bNn/FbK/MmOtGEYS0tLO3fudAAWrz/i/jP7qCAIXV1dDx8+rOfx0HW9XC5ns9mzZ8/u3Lmzr69v586dp06dWsNjwFeJ0qRAxypAgNWxXU8NX68C6wEsrJxH0FG4PO/atSufz9+5c6cewPr222/ZWn1ZlmF/qqc9zFsrHo8DNUKh0NjYGAZgx4i+hpG11QHLsiwGWIqieDyeBw8eOIStVAk5Y2Njfr9fFEW/389vlcOfr2namzdvmBOVIAhXrlypDBzPX8LShmHYtr19+/YagIW1jXNzcyxql8fj+de//uVowoofc7lcuVzO5XIHDx5MJBLBYDAajZ44cWINj8GK5VMmKdBpChBgdVqPU3s3TIH1AJZhGLquI2ikIAgej0eSpOfPn9+5cweTOzUsWKZp/v77793d3fDfEgThwYMH2Gnno23DOvypqSm4cPn9fgR6cPhT84P6R8vkT2gnwAqHw36/f2ZmxrFCk4njSAwODiK2p6Iop06dyufzpVLJ4aelaVomkwmHw6qqxmIxURSZC52jtMqPhmEsLCzE4/EagAUY0nV9cHAQdwkEAnv37uX7qFoawesNw+jv75dl2efzeb3ec+fOEWBVU4zySYHaChBg1daHviUFqiqwTsBKpVLFYnHbtm3hcFgQhJ6enkOHDv3+++8+nw9TVD6f7/Hjx5ZlLSws6NxhWdbr16+/+OILSZKw5c7NmzexCLFqXbkvSqXS06dPvV6vIAje5ePu3bvc9/+1co3Pryfd6oBlmubly5dFUcQMbDKZhPs/33YeffjZvd7eXo/Hg/2VMbNWLBYdcaoQQ6u3t1dV1WQy6fP5+vr6SqUSZjBZJ/K3YGnDMKampliMWebkztcNoGzb9s6dOzH5q6pqPB7HObUnChGr3bZtWZYjkUgwGPR6vTdu3CDAcihMH0mBOhUgwKpTKDqNFHAqsB7AMk0T4cKvXr0KwMJwePnyZb/fryiKKIrVAAsr9mOxWCgUAooNDg7m8/l6jFiFQmFqaurgwYOKosAjW5blqakpZ9vW+rnVASufz//www+Y6RMEQVXVt2/fOiCJEQ82l3z//r2maffv35ckCRsdyrJ87Ngx0BIftNOyrEwmY5rmDz/84PP5IpGI2+2WZfnFixcIAIvtkqrNGNq2fe7cOezELMsyAyy+PgCsQqFw8+ZNGClFUVRV9fnz58ViEb7wNfp2fn5+dnYWEUr9fr8gCI8ePSLAqqEYfUUK1FCAAKuGOPQVKVBLgXUCFraHe/bsWW9vr9vtjkQi0Wh0YGDA6/VGo1Gfz4dd5OC2zNdD07TFd4vffvttLBYLh8OiKEaj0bm5OQy0/JmV6Uwmk8vl4vF4JBIJh8M+n2/Pnj3wkWcr0Sqvqj+n1QErl8tdu3YNkdbh5Xbr1q0agKVpGvYp+vHH/9/e3f80df5/HP8zMZa2gbYEetrUAgFhAbclshDjJHFqNH7JdJnIdBFYwtRlOJLiNAwweJMIhjCg6Q1New5Nb6XtN/Edr8+xHhA9OEWe/UEPp71Oz3mcJueV61znff1qLntx8eJFGQ6lHseTBZmweXp6urGxsbW1VQZjyXTdMkug1NkyZya1XKvVurq6pP6Cx+ORnk5zF5okIbkLvLy87HQ6W1pa2tvb29raLly4II+aptPpnc5mOp02DOPWrVttbW1qNutUKrXT51mPAAK7CxCwdvfhXQR2FLAZsFQn1si1EbkWaprmcDikb6Otrc3r9T59+rRYLMp9JXWh3dzcLJfL//77bzAYDAQCLperqalpbGxM1/V3dmLpuj49Pe1wOKSTpqmp6d69e+VyWaWr3e8i7Wjx+o2DHrCSyeTCwoLcH5RHAs+ePVs3jkqdiGw2WyqV0um0DKvaS8CSzyeTSU3TmpqaAoFAMBjs7OxcXl42DCOdTsvtQvNXqOUnT540NDRI5QVzmQb1AfOCGg4vI8mcTmc6nY7H4zIv+OvT9cb/pVIpFot1dXU5HI7W1lan0zk0NFSpVN74EH8ggMCeBQhYe6bigwi8KWA/YEkn1srKSnt7e3Nzs9PplDt3ra2t0ldhOVWO3GbKZrN9fX1ut7u5uVmqYi4vL8sl9s3dfOOvlZWVQCAgUSAYDPb396+urm5ubhKwpPsnkUisrKz4X718Pp/L5ero6DAHl7rlVCpVqVQGBwcbGxtl/mZ5NnOnHizpRqrVahcuXGhubg4Gg+FwWNO0q1ev5vN5eYiv7ivUn52dnZqmSYn5nW4Rqg/L45DhcNjpdDocjkAgcO7cud3Ts2EYd+/ebW1tlfDX0NDw8OFDNSzsjZ8RfyCAwB4ECFh7QOIjCFgJ2AlY5u1ls9lTp045nU5N06TvRC7VO43BSqfTmUzGMIxnz57JrRyPx+Pz+Xp7ezc2NvL5fCKR2H65XS6Xpfa3YRi6rm+/3E6lUleuXJHionJdHxsbkxE/5v2xs3zQe7BSqVShUDh9+rRUYXW73YFA4ObNmzKds5TrlBCTz+cLhUKxWLx06ZKEKgk9shwOh+XmXTKZVHcJVfrJ5/Orq6sul0vmk3Y4HD6f7+7du6VSSfCl2r6u69Jbqev65cuXA4FAKBSSX4hMgxMMBguFgtq+LMgtwlwuV6vVTpw4IQ+odnR0tLW1TU5Oyozj6hCkw0wG8M3OznZ2dkp1BrfbPTg4uLGxEY/H7fweaIvAYRYgYB3ms8+x2xLYr4C1tra2tLSkaZo8fi8XXSnBYPkUofR7ScYaGBgIh8MOh+Po0aOtra0nTpy4fft2sViUOQeTyWQqlZIpnBcXF4eGhqTmljwj1tvbq2aAsQVhanzQA5bYTk9Pq1qgPp9P07TR0dFKpVIsFjOvXpubm7FYbG1t7dtvvw0EAnLbrrW1VeaRdLvdR48enZ2dlTLrKgBJbQ7pRsrn8z/99FNTU5PL5ZJqscFg8MqVKxKO5QGIWq1WKBSePXv23XffBQIBeT7R6/VKFpdn/SRDq6+Qu5nyp6pK39jYGAgEvvrqq+bm5ps3b5ZKpeqr19bWVjQardVqmUzmzz//lMmtvV6vzHT54MED+eWYTi+LCCDwHgIErPfA4qMImAV2Clg71ZRSHRh1j2VJL0J/f79MTmcZsMy38KRHSq70GxsbUhPS4/F0dHR4vV6fz9fd3f3DDz+Mj48/evRofn5+5NrImTNnjh07Jk8myi3CUCi0vr4uY95lvuHd7x+ZD3yX5VwuVygUenp61CNsV69eLRaL5ibZbFaGi/3666/qYFtaWupYzE3qlmUyY3mIsqWl5fnz53UfePvPPVZyl0Ks2Wx2YGBAMKVagc/n6+rqGhsbm5qaWlxcnJiYGBgY8Pl8TqczHA7Lu8PDw3LvVe7Keb3egYGB4eFhlX4kYEky3traisVig4ODHo9HHiCVlBYKhc6ePXvnzp25ubnJycnTp09Ll5Xb7dY0zev1njlzRtO0XXqw1NdJHJyYmPD7/dK7JrX7jx8/fu7cuVu3bv3xxx+jo6OXLl3q6ek5cuSI3Hx0Op1ut/v8+fMitsuYrbeRWYMAAmYBApZZg2UE3kOgVCoNDQ3JZbitre37778vlUoy54w5S1kum7+mWq3KJDlyi1BlDrlFmM1m68ZIScCSvpZisRiNRo8fP64maZGrtdQLkCu9Ks7k9/ullyIUCt2/f79arWaz2VqtlkwmzftjZ9kyYL09jkdun31YwDIMY78ClmQRdYLk9lkul9t+ub20tCSBVbpzvF5vY2Nj86uX9ALK0DeZTbK7u3t9fT2ZTMozB5JUvF6v3+9vb29X2zefOBnSHo1Ge3t7HQ6Hx+ORoCYbl4oP4XC4sbExGAz6/X75bTx9+lQeiTCPwVKJ6u2FWq1mGMbExISalMnlckn9BZfLFQ6HpTKqbDwUCsmfI9dGMplMKpUyx3o7vwraInA4BQhYh/O8c9T7IJDP58+fP9/06uXz+QYHBw3DqFQq6oKqRsO8feUzf0Ym2Y3H4z09PeYn0TRNe/z4cTabNVcSN1/zDMOIxWLbL7cTicTItRG56KoaTmpBhhNpmiY1Hbq7u1+8eGHe5j5YvN5EPp8vFot9rky5AAANT0lEQVThcFgKEHg8nuHh4boJiQ3DqNVqW1tbN27ckEqn8u/rbez2v3SzRSIRt9vtcrmkjlQ0GjWz7NReKuB7PB6/3+90Oo8dOyb5Up0Laaj2dnl5ube3V9O0UCgkMVpyj9RHkMcRNE37+uuvY7GYYRjlcvnGjRvSSyQPgUrAks2qPZRkrOu63MBdW1sbGhqSemZer9ftdre1tUlx/2OvXm63W6YDX1payufzU1NTcgitra11Y7DMNbfkoBTF7Oyspmk+n0/yd0tLixR6kIck1ICzcDj8yy+/yC1mVdpW7fm+9HGqXWIBgS9egID1xZ9iDvBjCeTz+cXFxampqUgk8uDBg/n5+UqlIo+JqWv229FK1qgPSAiTS9c///zzt+l1586ddDpd1/1jvtrJ+HRd14vFYiKRWFxcvHjxYigUkpQmmcD76iWPhoVCobt37yZfvepu2+2XUaFQSCQS8/PzkUhkYWEhEomsra3V7bOKobOzsxHTay/7kMlkpDBYJBJ59OhRJBL57bff9ljHK51Or6ys3Lt3b3p6+u+//75//76EV3UuZEZntbfSdzgxMSG1PeVWnfQvejyezs7OM2fOzMzMpFIpVYQsk8lEIpFwONzX13f8+PH+/v6BgQG1QdWDpbJLNpuNxWLr6+uRSKS/v7+hoUGiT0dHh0wmKE963r59O5vNbmxsZLPZ33//XU1lGAqFzGOwdglYuq6vrKyMj4/39vYGAgG/3y9hUXo6JUSOXBt58eKF9GiqPZTy7uoQ9nKO+AwCCIgAAYtfAgIfLlCtViUA5XK5TCYjV/q9jMFSF3W56BqGkc/nZeo6dW2TyX3lLVXrUvZVLniykc3NTV3XK5WKruulUmn75fby8vLc3NydO3dGR0cnJib++uuv+fn59fV12bHiq1e5XK6Lbh+uYGqZz+flScatra14PC7jjWTn1UU6l8uVy+VCoaCOXd4ybcZ6UWKoPLuXzWYTiUQmk4nH46rPafftJBKJZDKZTqeltJh8hzoRMgJM7aSMQDIMI5PJlMvlaDQ6PT39f69ew8PD9+/fj8fjuq6n02mJyOVyefvlttxeTKVSUn20VCpVKhVVn90yYCWTyVqtFovFpM775OTk8PDw5cuXr1+/vrCwsLq6ahhGsViUL5JC89LLpSq514X4uiOSw0wmk8VicXNzs1KpxOPx58+fRyKRycnJmZmZx48fS32s7ZfbMhxQhvcpCvOC9YlhLQIIWAkQsKxUWIfAuwTkqiOTpUhPUqFQkBtku9SlNF/8ZHlra0tmu0smk3W3YNLpdDQa3dzcrNVqqqHsl3y7XOAlvsTj8Wq1KuEjHo/ncjl5flBuBcq4crlIVyoVuZ/1rkP8kPelsoCM4JbIKJlGXaRlnJPUOJCYZe7Se+dXSgySbhWJPnKAavt1hmqDsmMyn3EqlZJUWjdX4Ns9WDK/sqqBLqdYwrQ8HyAzOstmZYC8pBN5PFPX9bpwqdKz3CLUdV1Orq7rsVgsk8lEo9FCoVAqlVKplNQdLRaL5XK5VqtVq9VMJvPzzz/LSCnplXz7NrT6qaiHBuQzkmhloL2MgZMfqowGSyaT4imPLpo9zcvKkwUEEHinAAHrnUR8AAELAbnqWLyx9cZkyearnXnZsuH7rtwpTLzvdv6Dz5t3VRzeWXTecq+ks8ryrd1Xmndg90/Ku+/7+T1uU5KNdHam0+lqtRqPx7dfbksCVg8YWm5N5is8deqUDAKT+3o7TVxouYX3Wqly1Xu14sMIIKAECFiKggUE9k3AnKUsl/ftm9jQgRJIpVKxWExu/q6vr0unkdy6lcHvuwQ7KTCrRty3tbXJAK+P9AMjYB2oXxY7+zkKELA+x7PCPiGAwBcpIEPfnj17JsVFe3p6Ojs7Z2Zm9tiDNTc3J3UWfD5fc3PzyLWRugF/XyQaB4XAARUgYB3QE8duI4DAwRMoFovJZHJpaUmKyrpcLo/Hc/Lkyb0ErHK5PHJtpLm5+ciRI1KXa2pqioB18H4E7PGhESBgHZpTzYEigMCnFiiVSlKlYmBgQDKWlPJaWFioq5yezWZlThspvpBIJB48eOB2u3t6eoLBYCAQ0DRNKtB+6mPi+xFAwFqAgGXtwloEEEBg3wXkyb5KpTI+Pi6z0/h8Prfb3dfXF4/H8/l8JpORBw+3trbUCC3DMJ4/fx4Oh2WyIyk9ev36dXlQdN93kg0igMC+CBCw9oWRjSCAAALvFpBKGaVSaW1trb+/X5Ut9Xg83d3dMzMz8XhcolUymVSTRY6Pj8tchD6fr6GhwePxnDhxYmVlRQpDvPtb+QQCCHwKAQLWp1DnOxFA4PAJZDKZdDqtqqY9ffq0q6vL4/F0dXUFAoFwOCyTRQ4ODv74449jY2Ojo6MnT55sb2/3eDzNzc0tLS1Op1OKsC8vL0sF/8OnyBEjcGAECFgH5lSxowggcNAFpNCoVEDI5XJzc3Oaph09ejQUCvn9/rZXr5aWFpnsSE3OI/MGNjU1hUKhrq6uJ0+eyBxK6mbiQWdh/xH4IgUIWF/kaeWgEEDgcxRQxaVkBqREIhGPxwcGBrxer0zD7HQ6Xa9fTqezsbHR7Xb7fD6/39/U1PTNN9+srq6mUikZ+f45HiH7hAACrwUIWK8l+B8BBBD4yAISsORLSqWSTBkUj8cjkcjg4KDD4XC5XDIwS/5tbGz0+/19fX2nTp16+PBhLper1Wq6rn9YHfyPfHBsHgEE3hAgYL3BwR8IIIDAxxMwB6ytra1qtSozfJdKJV3Xo9How4cPfzO9bt++PTc3l0wmq9VqsVjcfrmtBnJ9vJ1kywggsC8CBKx9YWQjCCCAwHsLyDTMMtfNOxubp8Spqy+q3nrnRvgAAgj8ZwIErP+Mmi9CAAEE/icgqSiXy31AwFKJqm7hf1tnCQEEPrUAAetTnwG+HwEEDplAXSoiYB2y88/hHhYBAtZhOdMcJwIIfCYCBKzP5ESwGwh8VAEC1kflZeMIIIDAbgIyec5un+A9BBA4mAIErIN53thrBBD4IgQIWF/EaeQgELAQIGBZoLAKAQQQQAABBBCwI0DAsqNHWwQQQAABBBBAwEKAgGWBwioEEEAAAQQQQMCOAAHLjh5tEUAAAQQQQAABCwEClgUKqxBAAAEEEEAAATsCBCw7erRFAAEEEEAAAQQsBAhYFiisQgABBBBAAAEE7AgQsOzo0RYBBBBAAAEEELAQIGBZoLAKAQQQQAABBBCwI0DAsqNHWwQQQAABBBBAwEKAgGWBwioEEEAAAQQQQMCOAAHLjh5tEUAAAQQQQAABCwEClgUKqxBAAAEEEEAAATsCBCw7erRFAAEEEEAAAQQsBAhYFiisQgABBBBAAAEE7AgQsOzo0RYBBBBAAAEEELAQIGBZoLAKAQQQQAABBBCwI0DAsqNHWwQQQAABBBBAwEKAgGWBwioEEEAAAQQQQMCOAAHLjh5tEUAAAQQQQAABCwEClgUKqxBAAAEEEEAAATsCBCw7erRFAAEEEEAAAQQsBAhYFiisQgABBBBAAAEE7AgQsOzo0RYBBBBAAAEEELAQIGBZoLAKAQQQQAABBBCwI0DAsqNHWwQQQAABBBBAwEKAgGWBwioEEEAAAQQQQMCOAAHLjh5tEUAAAQQQQAABCwEClgUKqxBAAAEEEEAAATsCBCw7erRFAAEEEEAAAQQsBAhYFiisQgABBBBAAAEE7AgQsOzo0RYBBBBAAAEEELAQIGBZoLAKAQQQQAABBBCwI0DAsqNHWwQQQAABBBBAwEKAgGWBwioEEEAAAQQQQMCOAAHLjh5tEUAAAQQQQAABCwEClgUKqxBAAAEEEEAAATsCBCw7erRFAAEEEEAAAQQsBAhYFiisQgABBBBAAAEE7AgQsOzo0RYBBBBAAAEEELAQIGBZoLAKAQQQQAABBBCwI0DAsqNHWwQQQAABBBBAwEKAgGWBwioEEEAAAQQQQMCOAAHLjh5tEUAAAQQQQAABCwEClgUKqxBAAAEEEEAAATsCBCw7erRFAAEEEEAAAQQsBAhYFiisQgABBBBAAAEE7AgQsOzo0RYBBBBAAAEEELAQIGBZoLAKAQQQQAABBBCwI0DAsqNHWwQQQAABBBBAwEKAgGWBwioEEEAAAQQQQMCOAAHLjh5tEUAAAQQQQAABCwEClgUKqxBAAAEEEEAAATsCBCw7erRFAAEEEEAAAQQsBAhYFiisQgABBBBAAAEE7AgQsOzo0RYBBBBAAAEEELAQIGBZoLAKAQQQQAABBBCwI0DAsqNHWwQQQAABBBBAwEKAgGWBwioEEEAAAQQQQMCOAAHLjh5tEUAAAQQQQAABCwEClgUKqxBAAAEEEEAAATsCBCw7erRFAAEEEEAAAQQsBAhYFiisQgABBBBAAAEE7AgQsOzo0RYBBBBAAAEEELAQIGBZoLAKAQQQQAABBBCwI0DAsqNHWwQQQAABBBBAwEKAgGWBwioEEEAAAQQQQMCOAAHLjh5tEUAAAQQQQAABCwEClgUKqxBAAAEEEEAAATsCBCw7erRFAAEEEEAAAQQsBP4fvkHgYAkhA7YAAAAASUVORK5CYII="/> +</defs> +</svg> diff --git a/dist1 (2)/assets/payprelogo1-a005f871.svg b/dist1 (2)/assets/payprelogo1-a005f871.svg new file mode 100644 index 0000000..8fafb4b --- /dev/null +++ b/dist1 (2)/assets/payprelogo1-a005f871.svg @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> +<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" + viewBox="0 0 53 87" style="enable-background:new 0 0 53 87;" xml:space="preserve"> +<style type="text/css"> + .st0{fill:#23272C;} + .st1{fill:#F47E33;} +</style> +<g> + <path class="st0" d="M51.1,87H1.9c-0.8,0-1.5-0.7-1.5-1.5V65.1c0-0.8,0.7-1.5,1.5-1.5h50.7v21.9C52.6,86.3,51.9,87,51.1,87z + M2.5,84.9h48.1V65.7H2.5V84.9z"/> +</g> +<g> + <path class="st0" d="M8.6,77.1v3.3H6.2v-9.2h4.9c0.7,0,1.3,0.1,1.7,0.3c0.9,0.4,1.4,1,1.6,2c0.1,0.3,0.1,0.6,0.1,0.8 + c0,0.7-0.2,1.3-0.6,1.8c-0.4,0.5-1,0.8-1.7,0.9c-0.3,0-0.7,0.1-1,0.1H8.6z M8.6,75.1h2.5c0.7,0,1.1-0.3,1.1-0.9 + c0-0.5-0.2-0.8-0.7-0.9c-0.1,0-0.3,0-0.4,0H8.6V75.1z"/> + <path class="st0" d="M20.7,70.8c1.5,0,2.7,0.4,3.6,1.3c0.9,0.9,1.4,2,1.4,3.5c0,1.4-0.5,2.6-1.4,3.5c-0.9,0.9-2.1,1.3-3.6,1.3 + c-1.5,0-2.7-0.4-3.6-1.3c-0.9-0.9-1.4-2-1.4-3.5c0-1.4,0.5-2.6,1.4-3.5C18,71.2,19.2,70.8,20.7,70.8z M20.7,72.9 + c-1,0-1.7,0.4-2.3,1.1c-0.3,0.5-0.5,1-0.5,1.6s0.2,1.1,0.5,1.6c0.3,0.5,0.8,0.8,1.4,0.9c0.3,0.1,0.6,0.1,0.9,0.1 + c1,0,1.8-0.4,2.3-1.1c0.3-0.5,0.5-1,0.5-1.6c0-0.6-0.2-1.2-0.5-1.6c-0.3-0.5-0.8-0.8-1.4-0.9C21.3,72.9,21,72.9,20.7,72.9z"/> + <path class="st0" d="M27,73.3v-2.1h8.7v1.9L30,78.3h5.8v2.1h-8.8v-2.2l5.5-5H27z"/> + <path class="st0" d="M41.9,70.8c1.5,0,2.7,0.4,3.6,1.3c0.9,0.9,1.4,2,1.4,3.5c0,1.4-0.5,2.6-1.4,3.5c-0.9,0.9-2.1,1.3-3.6,1.3 + c-1.5,0-2.7-0.4-3.6-1.3c-0.9-0.9-1.4-2-1.4-3.5c0-1.4,0.5-2.6,1.4-3.5C39.2,71.2,40.4,70.8,41.9,70.8z M41.9,72.9 + c-1,0-1.7,0.4-2.3,1.1c-0.3,0.5-0.5,1-0.5,1.6s0.2,1.1,0.5,1.6c0.3,0.5,0.8,0.8,1.4,0.9c0.3,0.1,0.6,0.1,0.9,0.1 + c1,0,1.8-0.4,2.3-1.1c0.3-0.5,0.5-1,0.5-1.6c0-0.6-0.2-1.2-0.5-1.6c-0.3-0.5-0.8-0.8-1.4-0.9C42.5,72.9,42.2,72.9,41.9,72.9z"/> +</g> +<g> + <polygon class="st1" points="18.1,76.8 22.5,73.8 21.9,76.8 "/> +</g> +</svg> diff --git a/dist1 (2)/assets/playstorenew-b6f923f2.png b/dist1 (2)/assets/playstorenew-b6f923f2.png new file mode 100644 index 0000000..4373583 Binary files /dev/null and b/dist1 (2)/assets/playstorenew-b6f923f2.png differ diff --git a/dist1 (2)/assets/playstr1-7c406729.png b/dist1 (2)/assets/playstr1-7c406729.png new file mode 100644 index 0000000..a2bc8aa Binary files /dev/null and b/dist1 (2)/assets/playstr1-7c406729.png differ diff --git a/dist1 (2)/assets/pozologo-16eaa450.svg b/dist1 (2)/assets/pozologo-16eaa450.svg new file mode 100644 index 0000000..4080b35 --- /dev/null +++ b/dist1 (2)/assets/pozologo-16eaa450.svg @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> +<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" + viewBox="0 0 55.1 28.1" style="enable-background:new 0 0 55.1 28.1;" xml:space="preserve"> +<style type="text/css"> + .st0{fill:#23282D;} + .st1{fill:#F57E31;} +</style> +<g> + <path class="st0" d="M52.2,25.7H2.9c-0.8,0-1.5-0.7-1.5-1.5V3.9c0-0.8,0.7-1.5,1.5-1.5h50.7v21.9C53.7,25.1,53,25.7,52.2,25.7z + M3.5,23.7h48.1V4.5H3.5V23.7z"/> +</g> +<g> + <path class="st0" d="M9.7,15.8v3.3H7.3V9.9h4.9c0.7,0,1.3,0.1,1.7,0.3c0.9,0.4,1.4,1,1.6,2c0.1,0.3,0.1,0.6,0.1,0.8 + c0,0.7-0.2,1.3-0.6,1.8c-0.4,0.5-1,0.8-1.7,0.9c-0.3,0-0.7,0.1-1,0.1H9.7z M9.7,13.8h2.5c0.7,0,1.1-0.3,1.1-0.9 + c0-0.5-0.2-0.8-0.7-0.9c-0.1,0-0.3,0-0.4,0H9.7V13.8z"/> + <path class="st0" d="M21.8,9.5c1.5,0,2.7,0.4,3.6,1.3c0.9,0.9,1.4,2,1.4,3.5s-0.5,2.6-1.4,3.5c-0.9,0.9-2.1,1.3-3.6,1.3 + c-1.5,0-2.7-0.4-3.6-1.3c-0.9-0.9-1.4-2-1.4-3.5s0.5-2.6,1.4-3.5C19.1,10,20.3,9.5,21.8,9.5z M21.8,11.7c-1,0-1.7,0.4-2.3,1.1 + c-0.3,0.5-0.5,1-0.5,1.6c0,0.6,0.2,1.1,0.5,1.6c0.3,0.5,0.8,0.8,1.4,0.9c0.3,0.1,0.6,0.1,0.9,0.1c1,0,1.8-0.4,2.3-1.1 + c0.3-0.5,0.5-1,0.5-1.6c0-0.6-0.2-1.2-0.5-1.6c-0.3-0.5-0.8-0.8-1.4-0.9C22.4,11.7,22.1,11.7,21.8,11.7z"/> + <path class="st0" d="M28,12V9.9h8.7v1.9l-5.7,5.3h5.8v2.1H28V17l5.5-5H28z"/> + <path class="st0" d="M43,9.5c1.5,0,2.7,0.4,3.6,1.3c0.9,0.9,1.4,2,1.4,3.5s-0.5,2.6-1.4,3.5c-0.9,0.9-2.1,1.3-3.6,1.3 + c-1.5,0-2.7-0.4-3.6-1.3c-0.9-0.9-1.4-2-1.4-3.5s0.5-2.6,1.4-3.5C40.3,10,41.5,9.5,43,9.5z M43,11.7c-1,0-1.7,0.4-2.3,1.1 + c-0.3,0.5-0.5,1-0.5,1.6c0,0.6,0.2,1.1,0.5,1.6c0.3,0.5,0.8,0.8,1.4,0.9C42.4,17,42.7,17,43,17c1,0,1.8-0.4,2.3-1.1 + c0.3-0.5,0.5-1,0.5-1.6c0-0.6-0.2-1.2-0.5-1.6s-0.8-0.8-1.4-0.9C43.6,11.7,43.3,11.7,43,11.7z"/> +</g> +<g> + <polygon class="st1" points="19.1,15.6 23.6,12.6 23,15.6 "/> +</g> +<g> +</g> +<g> +</g> +<g> +</g> +<g> +</g> +<g> +</g> +<g> +</g> +</svg> diff --git a/dist1 (2)/assets/purify.es-0769f88c.js b/dist1 (2)/assets/purify.es-0769f88c.js new file mode 100644 index 0000000..26c9d39 --- /dev/null +++ b/dist1 (2)/assets/purify.es-0769f88c.js @@ -0,0 +1,2 @@ +/*! @license DOMPurify 2.5.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.8/LICENSE */ +function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,n){return(t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,n)}function n(e,r,o){return(n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var a=new(Function.bind.apply(e,o));return r&&t(a,r.prototype),a}).apply(null,arguments)}function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=Object.hasOwnProperty,i=Object.setPrototypeOf,l=Object.isFrozen,c=Object.getPrototypeOf,u=Object.getOwnPropertyDescriptor,s=Object.freeze,m=Object.seal,f=Object.create,p="undefined"!=typeof Reflect&&Reflect,d=p.apply,h=p.construct;d||(d=function(e,t,n){return e.apply(t,n)}),s||(s=function(e){return e}),m||(m=function(e){return e}),h||(h=function(e,t){return n(e,r(t))});var g,y=O(Array.prototype.forEach),b=O(Array.prototype.pop),v=O(Array.prototype.push),T=O(String.prototype.toLowerCase),N=O(String.prototype.toString),E=O(String.prototype.match),A=O(String.prototype.replace),S=O(String.prototype.indexOf),_=O(String.prototype.trim),w=O(RegExp.prototype.test),x=(g=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return h(g,t)});function O(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return d(e,t,r)}}function k(e,t,n){var r;n=null!==(r=n)&&void 0!==r?r:T,i&&i(e,null);for(var o=t.length;o--;){var a=t[o];if("string"==typeof a){var c=n(a);c!==a&&(l(t)||(t[o]=c),a=c)}e[a]=!0}return e}function L(e){var t,n=f(null);for(t in e)!0===d(a,e,[t])&&(n[t]=e[t]);return n}function C(e,t){for(;null!==e;){var n=u(e,t);if(n){if(n.get)return O(n.get);if("function"==typeof n.value)return O(n.value)}e=c(e)}return function(e){return null}}var R=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),D=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),M=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=s(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),F=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),U=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=s(["#text"]),z=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),P=s(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),B=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),j=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),G=m(/\{\{[\w\W]*|[\w\W]*\}\}/gm),W=m(/<%[\w\W]*|[\w\W]*%>/gm),q=m(/\${[\w\W]*}/gm),$=m(/^data-[\-\w.\u00B7-\uFFFF]+$/),Y=m(/^aria-[\-\w]+$/),K=m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),V=m(/^(?:\w+script|data):/i),X=m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Z=m(/^html$/i),J=m(/^[a-z][.\w]*(-[.\w]+)+$/i);var Q=function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,o=function(e){return t(e)};if(o.version="2.5.8",o.removed=[],!n||!n.document||9!==n.document.nodeType)return o.isSupported=!1,o;var a=n.document,i=n.document,l=n.DocumentFragment,c=n.HTMLTemplateElement,u=n.Node,m=n.Element,f=n.NodeFilter,p=n.NamedNodeMap,d=void 0===p?n.NamedNodeMap||n.MozNamedAttrMap:p,h=n.HTMLFormElement,g=n.DOMParser,O=n.trustedTypes,Q=m.prototype,ee=C(Q,"cloneNode"),te=C(Q,"nextSibling"),ne=C(Q,"childNodes"),re=C(Q,"parentNode");if("function"==typeof c){var oe=i.createElement("template");oe.content&&oe.content.ownerDocument&&(i=oe.content.ownerDocument)}var ae=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(i){return null}}(O,a),ie=ae?ae.createHTML(""):"",le=i,ce=le.implementation,ue=le.createNodeIterator,se=le.createDocumentFragment,me=le.getElementsByTagName,fe=a.importNode,pe={};try{pe=L(i).documentMode?i.documentMode:{}}catch(Ct){}var de={};o.isSupported="function"==typeof re&&ce&&void 0!==ce.createHTMLDocument&&9!==pe;var he,ge,ye=G,be=W,ve=q,Te=$,Ne=Y,Ee=V,Ae=X,Se=J,_e=K,we=null,xe=k({},[].concat(r(R),r(D),r(M),r(F),r(H))),Oe=null,ke=k({},[].concat(r(z),r(P),r(B),r(j))),Le=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ce=null,Re=null,De=!0,Me=!0,Ie=!1,Fe=!0,Ue=!1,He=!0,ze=!1,Pe=!1,Be=!1,je=!1,Ge=!1,We=!1,qe=!0,$e=!1,Ye=!0,Ke=!1,Ve={},Xe=null,Ze=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Je=null,Qe=k({},["audio","video","img","source","image","track"]),et=null,tt=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),nt="http://www.w3.org/1998/Math/MathML",rt="http://www.w3.org/2000/svg",ot="http://www.w3.org/1999/xhtml",at=ot,it=!1,lt=null,ct=k({},[nt,rt,ot],N),ut=["application/xhtml+xml","text/html"],st=null,mt=i.createElement("form"),ft=function(e){return e instanceof RegExp||e instanceof Function},pt=function(t){st&&st===t||(t&&"object"===e(t)||(t={}),t=L(t),he=he=-1===ut.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,ge="application/xhtml+xml"===he?N:T,we="ALLOWED_TAGS"in t?k({},t.ALLOWED_TAGS,ge):xe,Oe="ALLOWED_ATTR"in t?k({},t.ALLOWED_ATTR,ge):ke,lt="ALLOWED_NAMESPACES"in t?k({},t.ALLOWED_NAMESPACES,N):ct,et="ADD_URI_SAFE_ATTR"in t?k(L(tt),t.ADD_URI_SAFE_ATTR,ge):tt,Je="ADD_DATA_URI_TAGS"in t?k(L(Qe),t.ADD_DATA_URI_TAGS,ge):Qe,Xe="FORBID_CONTENTS"in t?k({},t.FORBID_CONTENTS,ge):Ze,Ce="FORBID_TAGS"in t?k({},t.FORBID_TAGS,ge):{},Re="FORBID_ATTR"in t?k({},t.FORBID_ATTR,ge):{},Ve="USE_PROFILES"in t&&t.USE_PROFILES,De=!1!==t.ALLOW_ARIA_ATTR,Me=!1!==t.ALLOW_DATA_ATTR,Ie=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Fe=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Ue=t.SAFE_FOR_TEMPLATES||!1,He=!1!==t.SAFE_FOR_XML,ze=t.WHOLE_DOCUMENT||!1,je=t.RETURN_DOM||!1,Ge=t.RETURN_DOM_FRAGMENT||!1,We=t.RETURN_TRUSTED_TYPE||!1,Be=t.FORCE_BODY||!1,qe=!1!==t.SANITIZE_DOM,$e=t.SANITIZE_NAMED_PROPS||!1,Ye=!1!==t.KEEP_CONTENT,Ke=t.IN_PLACE||!1,_e=t.ALLOWED_URI_REGEXP||_e,at=t.NAMESPACE||ot,Le=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ft(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Le.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ft(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Le.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Le.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ue&&(Me=!1),Ge&&(je=!0),Ve&&(we=k({},r(H)),Oe=[],!0===Ve.html&&(k(we,R),k(Oe,z)),!0===Ve.svg&&(k(we,D),k(Oe,P),k(Oe,j)),!0===Ve.svgFilters&&(k(we,M),k(Oe,P),k(Oe,j)),!0===Ve.mathMl&&(k(we,F),k(Oe,B),k(Oe,j))),t.ADD_TAGS&&(we===xe&&(we=L(we)),k(we,t.ADD_TAGS,ge)),t.ADD_ATTR&&(Oe===ke&&(Oe=L(Oe)),k(Oe,t.ADD_ATTR,ge)),t.ADD_URI_SAFE_ATTR&&k(et,t.ADD_URI_SAFE_ATTR,ge),t.FORBID_CONTENTS&&(Xe===Ze&&(Xe=L(Xe)),k(Xe,t.FORBID_CONTENTS,ge)),Ye&&(we["#text"]=!0),ze&&k(we,["html","head","body"]),we.table&&(k(we,["tbody"]),delete Ce.tbody),s&&s(t),st=t)},dt=k({},["mi","mo","mn","ms","mtext"]),ht=k({},["annotation-xml"]),gt=k({},["title","style","font","a","script"]),yt=k({},D);k(yt,M),k(yt,I);var bt=k({},F);k(bt,U);var vt=function(e){v(o.removed,{element:e});try{e.parentNode.removeChild(e)}catch(Ct){try{e.outerHTML=ie}catch(t){e.remove()}}},Tt=function(e,t){try{v(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(Ct){v(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Oe[e])if(je||Ge)try{vt(t)}catch(Ct){}else try{t.setAttribute(e,"")}catch(Ct){}},Nt=function(e){var t,n;if(Be)e="<remove></remove>"+e;else{var r=E(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===he&&at===ot&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=ae?ae.createHTML(e):e;if(at===ot)try{t=(new g).parseFromString(o,he)}catch(Ct){}if(!t||!t.documentElement){t=ce.createDocument(at,"template",null);try{t.documentElement.innerHTML=it?ie:o}catch(Ct){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),at===ot?me.call(t,ze?"html":"body")[0]:ze?t.documentElement:a},Et=function(e){return ue.call(e.ownerDocument||e,e,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null,!1)},At=function(e){return e instanceof h&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},St=function(t){return"object"===e(u)?t instanceof u:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},_t=function(e,t,n){de[e]&&y(de[e],(function(e){e.call(o,t,n,st)}))},wt=function(e){var t;if(_t("beforeSanitizeElements",e,null),At(e))return vt(e),!0;if(w(/[\u0080-\uFFFF]/,e.nodeName))return vt(e),!0;var n=ge(e.nodeName);if(_t("uponSanitizeElement",e,{tagName:n,allowedTags:we}),e.hasChildNodes()&&!St(e.firstElementChild)&&(!St(e.content)||!St(e.content.firstElementChild))&&w(/<[/\w]/g,e.innerHTML)&&w(/<[/\w]/g,e.textContent))return vt(e),!0;if("select"===n&&w(/<template/i,e.innerHTML))return vt(e),!0;if(7===e.nodeType)return vt(e),!0;if(He&&8===e.nodeType&&w(/<[/\w]/g,e.data))return vt(e),!0;if(!we[n]||Ce[n]){if(!Ce[n]&&Ot(n)){if(Le.tagNameCheck instanceof RegExp&&w(Le.tagNameCheck,n))return!1;if(Le.tagNameCheck instanceof Function&&Le.tagNameCheck(n))return!1}if(Ye&&!Xe[n]){var r=re(e)||e.parentNode,a=ne(e)||e.childNodes;if(a&&r)for(var i=a.length-1;i>=0;--i){var l=ee(a[i],!0);l.__removalCount=(e.__removalCount||0)+1,r.insertBefore(l,te(e))}}return vt(e),!0}return e instanceof m&&!function(e){var t=re(e);t&&t.tagName||(t={namespaceURI:at,tagName:"template"});var n=T(e.tagName),r=T(t.tagName);return!!lt[e.namespaceURI]&&(e.namespaceURI===rt?t.namespaceURI===ot?"svg"===n:t.namespaceURI===nt?"svg"===n&&("annotation-xml"===r||dt[r]):Boolean(yt[n]):e.namespaceURI===nt?t.namespaceURI===ot?"math"===n:t.namespaceURI===rt?"math"===n&&ht[r]:Boolean(bt[n]):e.namespaceURI===ot?!(t.namespaceURI===rt&&!ht[r])&&!(t.namespaceURI===nt&&!dt[r])&&!bt[n]&&(gt[n]||!yt[n]):!("application/xhtml+xml"!==he||!lt[e.namespaceURI]))}(e)?(vt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!w(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ue&&3===e.nodeType&&(t=e.textContent,t=A(t,ye," "),t=A(t,be," "),t=A(t,ve," "),e.textContent!==t&&(v(o.removed,{element:e.cloneNode()}),e.textContent=t)),_t("afterSanitizeElements",e,null),!1):(vt(e),!0)},xt=function(e,t,n){if(qe&&("id"===t||"name"===t)&&(n in i||n in mt))return!1;if(Me&&!Re[t]&&w(Te,t));else if(De&&w(Ne,t));else if(!Oe[t]||Re[t]){if(!(Ot(e)&&(Le.tagNameCheck instanceof RegExp&&w(Le.tagNameCheck,e)||Le.tagNameCheck instanceof Function&&Le.tagNameCheck(e))&&(Le.attributeNameCheck instanceof RegExp&&w(Le.attributeNameCheck,t)||Le.attributeNameCheck instanceof Function&&Le.attributeNameCheck(t))||"is"===t&&Le.allowCustomizedBuiltInElements&&(Le.tagNameCheck instanceof RegExp&&w(Le.tagNameCheck,n)||Le.tagNameCheck instanceof Function&&Le.tagNameCheck(n))))return!1}else if(et[t]);else if(w(_e,A(n,Ae,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==S(n,"data:")||!Je[e]){if(Ie&&!w(Ee,A(n,Ae,"")));else if(n)return!1}else;return!0},Ot=function(e){return"annotation-xml"!==e&&E(e,Se)},kt=function(t){var n,r,a,i;_t("beforeSanitizeAttributes",t,null);var l=t.attributes;if(l&&!At(t)){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Oe};for(i=l.length;i--;){var u=n=l[i],s=u.name,m=u.namespaceURI;if(r="value"===s?n.value:_(n.value),a=ge(s),c.attrName=a,c.attrValue=r,c.keepAttr=!0,c.forceKeepAttr=void 0,_t("uponSanitizeAttribute",t,c),r=c.attrValue,!c.forceKeepAttr&&(Tt(s,t),c.keepAttr))if(Fe||!w(/\/>/i,r)){Ue&&(r=A(r,ye," "),r=A(r,be," "),r=A(r,ve," "));var f=ge(t.nodeName);if(xt(f,a,r))if(!$e||"id"!==a&&"name"!==a||(Tt(s,t),r="user-content-"+r),He&&w(/((--!?|])>)|<\/(style|title)/i,r))Tt(s,t);else{if(ae&&"object"===e(O)&&"function"==typeof O.getAttributeType)if(m);else switch(O.getAttributeType(f,a)){case"TrustedHTML":r=ae.createHTML(r);break;case"TrustedScriptURL":r=ae.createScriptURL(r)}try{m?t.setAttributeNS(m,s,r):t.setAttribute(s,r),At(t)?vt(t):b(o.removed)}catch(Ct){}}}else Tt(s,t)}_t("afterSanitizeAttributes",t,null)}},Lt=function e(t){var n,r=Et(t);for(_t("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)_t("uponSanitizeShadowNode",n,null),wt(n),kt(n),n.content instanceof l&&e(n.content);_t("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(t){var r,i,c,s,m,f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((it=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!St(t)){if("function"!=typeof t.toString)throw x("toString is not a function");if("string"!=typeof(t=t.toString()))throw x("dirty is not a string, aborting")}if(!o.isSupported){if("object"===e(n.toStaticHTML)||"function"==typeof n.toStaticHTML){if("string"==typeof t)return n.toStaticHTML(t);if(St(t))return n.toStaticHTML(t.outerHTML)}return t}if(Pe||pt(f),o.removed=[],"string"==typeof t&&(Ke=!1),Ke){if(t.nodeName){var p=ge(t.nodeName);if(!we[p]||Ce[p])throw x("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof u)1===(i=(r=Nt("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!je&&!Ue&&!ze&&-1===t.indexOf("<"))return ae&&We?ae.createHTML(t):t;if(!(r=Nt(t)))return je?null:We?ie:""}r&&Be&&vt(r.firstChild);for(var d=Et(Ke?t:r);c=d.nextNode();)3===c.nodeType&&c===s||(wt(c),kt(c),c.content instanceof l&&Lt(c.content),s=c);if(s=null,Ke)return t;if(je){if(Ge)for(m=se.call(r.ownerDocument);r.firstChild;)m.appendChild(r.firstChild);else m=r;return(Oe.shadowroot||Oe.shadowrootmod)&&(m=fe.call(a,m,!0)),m}var h=ze?r.outerHTML:r.innerHTML;return ze&&we["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&w(Z,r.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+h),Ue&&(h=A(h,ye," "),h=A(h,be," "),h=A(h,ve," ")),ae&&We?ae.createHTML(h):h},o.setConfig=function(e){pt(e),Pe=!0},o.clearConfig=function(){st=null,Pe=!1},o.isValidAttribute=function(e,t,n){st||pt({});var r=ge(e),o=ge(t);return xt(r,o,n)},o.addHook=function(e,t){"function"==typeof t&&(de[e]=de[e]||[],v(de[e],t))},o.removeHook=function(e){if(de[e])return b(de[e])},o.removeHooks=function(e){de[e]&&(de[e]=[])},o.removeAllHooks=function(){de={}},o}();export{Q as default}; diff --git a/dist1 (2)/assets/purify.es-5860e1d7.js b/dist1 (2)/assets/purify.es-5860e1d7.js new file mode 100644 index 0000000..739d909 --- /dev/null +++ b/dist1 (2)/assets/purify.es-5860e1d7.js @@ -0,0 +1,2 @@ +/*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */ +const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return e.apply(t,o)}),s||(s=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return new e(...n)});const u=R(Array.prototype.forEach),m=R(Array.prototype.lastIndexOf),p=R(Array.prototype.pop),f=R(Array.prototype.push),d=R(Array.prototype.splice),h=R(String.prototype.toLowerCase),g=R(String.prototype.toString),T=R(String.prototype.match),y=R(String.prototype.replace),E=R(String.prototype.indexOf),A=R(String.prototype.trim),_=R(Object.prototype.hasOwnProperty),b=R(RegExp.prototype.test),S=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function R(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function w(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function D(e){for(let t=0;t<e.length;t++){_(e,t)||(e[t]=null)}return e}function C(t){const n=l(null);for(const[o,r]of e(t)){_(t,o)&&(Array.isArray(r)?n[o]=D(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=C(r):n[o]=r)}return n}function v(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return R(n.get);if("function"==typeof n.value)return R(n.value)}e=o(e)}return function(){return null}}const O=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),L=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),k=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),x=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),M=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),U=i(["#text"]),z=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),P=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),F=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),H=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),B=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=a(/<%[\w\W]*|[\w\W]*%>/gm),W=a(/\$\{[\w\W]*/gm),Y=a(/^data-[\-\w.\u00B7-\uFFFF]+$/),j=a(/^aria-[\-\w]+$/),X=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=a(/^(?:\w+script|data):/i),$=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),K=a(/^html$/i),V=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var Z=Object.freeze({__proto__:null,ARIA_ATTR:j,ATTR_WHITESPACE:$,CUSTOM_ELEMENT:V,DATA_ATTR:Y,DOCTYPE_NAME:K,ERB_EXPR:G,IS_ALLOWED_URI:X,IS_SCRIPT_OR_DATA:q,MUSTACHE_EXPR:B,TMPLIT_EXPR:W});const J=1,Q=3,ee=7,te=8,ne=9;var oe=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const o=e=>t(e);if(o.version="3.3.0",o.removed=[],!n||!n.document||n.document.nodeType!==ne||!n.Element)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:R,Element:D,NodeFilter:B,NamedNodeMap:G=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:W,DOMParser:Y,trustedTypes:j}=n,q=D.prototype,$=v(q,"cloneNode"),V=v(q,"remove"),oe=v(q,"nextSibling"),re=v(q,"childNodes"),ie=v(q,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ae,le="";const{implementation:ce,createNodeIterator:se,createDocumentFragment:ue,getElementsByTagName:me}=r,{importNode:pe}=a;let fe={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};o.isSupported="function"==typeof e&&"function"==typeof ie&&ce&&void 0!==ce.createHTMLDocument;const{MUSTACHE_EXPR:de,ERB_EXPR:he,TMPLIT_EXPR:ge,DATA_ATTR:Te,ARIA_ATTR:ye,IS_SCRIPT_OR_DATA:Ee,ATTR_WHITESPACE:Ae,CUSTOM_ELEMENT:_e}=Z;let{IS_ALLOWED_URI:be}=Z,Se=null;const Ne=w({},[...O,...L,...k,...I,...U]);let Re=null;const we=w({},[...z,...P,...F,...H]);let De=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ce=null,ve=null;const Oe=Object.seal(l(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Le=!0,ke=!0,xe=!1,Ie=!0,Me=!1,Ue=!0,ze=!1,Pe=!1,Fe=!1,He=!1,Be=!1,Ge=!1,We=!0,Ye=!1,je=!0,Xe=!1,qe={},$e=null;const Ke=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ve=null;const Ze=w({},["audio","video","img","source","image","track"]);let Je=null;const Qe=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml";let ot=nt,rt=!1,it=null;const at=w({},[et,tt,nt],g);let lt=w({},["mi","mo","mn","ms","mtext"]),ct=w({},["annotation-xml"]);const st=w({},["title","style","font","a","script"]);let ut=null;const mt=["application/xhtml+xml","text/html"];let pt=null,ft=null;const dt=r.createElement("form"),ht=function(e){return e instanceof RegExp||e instanceof Function},gt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ft||ft!==e){if(e&&"object"==typeof e||(e={}),e=C(e),ut=-1===mt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,pt="application/xhtml+xml"===ut?g:h,Se=_(e,"ALLOWED_TAGS")?w({},e.ALLOWED_TAGS,pt):Ne,Re=_(e,"ALLOWED_ATTR")?w({},e.ALLOWED_ATTR,pt):we,it=_(e,"ALLOWED_NAMESPACES")?w({},e.ALLOWED_NAMESPACES,g):at,Je=_(e,"ADD_URI_SAFE_ATTR")?w(C(Qe),e.ADD_URI_SAFE_ATTR,pt):Qe,Ve=_(e,"ADD_DATA_URI_TAGS")?w(C(Ze),e.ADD_DATA_URI_TAGS,pt):Ze,$e=_(e,"FORBID_CONTENTS")?w({},e.FORBID_CONTENTS,pt):Ke,Ce=_(e,"FORBID_TAGS")?w({},e.FORBID_TAGS,pt):C({}),ve=_(e,"FORBID_ATTR")?w({},e.FORBID_ATTR,pt):C({}),qe=!!_(e,"USE_PROFILES")&&e.USE_PROFILES,Le=!1!==e.ALLOW_ARIA_ATTR,ke=!1!==e.ALLOW_DATA_ATTR,xe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Me=e.SAFE_FOR_TEMPLATES||!1,Ue=!1!==e.SAFE_FOR_XML,ze=e.WHOLE_DOCUMENT||!1,He=e.RETURN_DOM||!1,Be=e.RETURN_DOM_FRAGMENT||!1,Ge=e.RETURN_TRUSTED_TYPE||!1,Fe=e.FORCE_BODY||!1,We=!1!==e.SANITIZE_DOM,Ye=e.SANITIZE_NAMED_PROPS||!1,je=!1!==e.KEEP_CONTENT,Xe=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||X,ot=e.NAMESPACE||nt,lt=e.MATHML_TEXT_INTEGRATION_POINTS||lt,ct=e.HTML_INTEGRATION_POINTS||ct,De=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ht(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(De.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ht(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(De.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(De.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Me&&(ke=!1),Be&&(He=!0),qe&&(Se=w({},U),Re=[],!0===qe.html&&(w(Se,O),w(Re,z)),!0===qe.svg&&(w(Se,L),w(Re,P),w(Re,H)),!0===qe.svgFilters&&(w(Se,k),w(Re,P),w(Re,H)),!0===qe.mathMl&&(w(Se,I),w(Re,F),w(Re,H))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?Oe.tagCheck=e.ADD_TAGS:(Se===Ne&&(Se=C(Se)),w(Se,e.ADD_TAGS,pt))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?Oe.attributeCheck=e.ADD_ATTR:(Re===we&&(Re=C(Re)),w(Re,e.ADD_ATTR,pt))),e.ADD_URI_SAFE_ATTR&&w(Je,e.ADD_URI_SAFE_ATTR,pt),e.FORBID_CONTENTS&&($e===Ke&&($e=C($e)),w($e,e.FORBID_CONTENTS,pt)),je&&(Se["#text"]=!0),ze&&w(Se,["html","head","body"]),Se.table&&(w(Se,["tbody"]),delete Ce.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ae=e.TRUSTED_TYPES_POLICY,le=ae.createHTML("")}else void 0===ae&&(ae=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(i){return null}}(j,c)),null!==ae&&"string"==typeof le&&(le=ae.createHTML(""));i&&i(e),ft=e}},Tt=w({},[...L,...k,...x]),yt=w({},[...I,...M]),Et=function(e){f(o.removed,{element:e});try{ie(e).removeChild(e)}catch(t){V(e)}},At=function(e,t){try{f(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(n){f(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(He||Be)try{Et(t)}catch(n){}else try{t.setAttribute(e,"")}catch(n){}},_t=function(e){let t=null,n=null;if(Fe)e="<remove></remove>"+e;else{const t=T(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ut&&ot===nt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ae?ae.createHTML(e):e;if(ot===nt)try{t=(new Y).parseFromString(o,ut)}catch(a){}if(!t||!t.documentElement){t=ce.createDocument(ot,"template",null);try{t.documentElement.innerHTML=rt?le:o}catch(a){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),ot===nt?me.call(t,ze?"html":"body")[0]:ze?t.documentElement:i},bt=function(e){return se.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},St=function(e){return e instanceof W&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof G)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Nt=function(e){return"function"==typeof R&&e instanceof R};function Rt(e,t,n){u(e,(e=>{e.call(o,t,n,ft)}))}const wt=function(e){let t=null;if(Rt(fe.beforeSanitizeElements,e,null),St(e))return Et(e),!0;const n=pt(e.nodeName);if(Rt(fe.uponSanitizeElement,e,{tagName:n,allowedTags:Se}),Ue&&e.hasChildNodes()&&!Nt(e.firstElementChild)&&b(/<[/\w!]/g,e.innerHTML)&&b(/<[/\w!]/g,e.textContent))return Et(e),!0;if(e.nodeType===ee)return Et(e),!0;if(Ue&&e.nodeType===te&&b(/<[/\w]/g,e.data))return Et(e),!0;if(!(Oe.tagCheck instanceof Function&&Oe.tagCheck(n))&&(!Se[n]||Ce[n])){if(!Ce[n]&&Ct(n)){if(De.tagNameCheck instanceof RegExp&&b(De.tagNameCheck,n))return!1;if(De.tagNameCheck instanceof Function&&De.tagNameCheck(n))return!1}if(je&&!$e[n]){const t=ie(e)||e.parentNode,n=re(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=$(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,oe(e))}}}return Et(e),!0}return e instanceof D&&!function(e){let t=ie(e);t&&t.tagName||(t={namespaceURI:ot,tagName:"template"});const n=h(e.tagName),o=h(t.tagName);return!!it[e.namespaceURI]&&(e.namespaceURI===tt?t.namespaceURI===nt?"svg"===n:t.namespaceURI===et?"svg"===n&&("annotation-xml"===o||lt[o]):Boolean(Tt[n]):e.namespaceURI===et?t.namespaceURI===nt?"math"===n:t.namespaceURI===tt?"math"===n&&ct[o]:Boolean(yt[n]):e.namespaceURI===nt?!(t.namespaceURI===tt&&!ct[o])&&!(t.namespaceURI===et&&!lt[o])&&!yt[n]&&(st[n]||!Tt[n]):!("application/xhtml+xml"!==ut||!it[e.namespaceURI]))}(e)?(Et(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!b(/<\/no(script|embed|frames)/i,e.innerHTML)?(Me&&e.nodeType===Q&&(t=e.textContent,u([de,he,ge],(e=>{t=y(t,e," ")})),e.textContent!==t&&(f(o.removed,{element:e.cloneNode()}),e.textContent=t)),Rt(fe.afterSanitizeElements,e,null),!1):(Et(e),!0)},Dt=function(e,t,n){if(We&&("id"===t||"name"===t)&&(n in r||n in dt))return!1;if(ke&&!ve[t]&&b(Te,t));else if(Le&&b(ye,t));else if(Oe.attributeCheck instanceof Function&&Oe.attributeCheck(t,e));else if(!Re[t]||ve[t]){if(!(Ct(e)&&(De.tagNameCheck instanceof RegExp&&b(De.tagNameCheck,e)||De.tagNameCheck instanceof Function&&De.tagNameCheck(e))&&(De.attributeNameCheck instanceof RegExp&&b(De.attributeNameCheck,t)||De.attributeNameCheck instanceof Function&&De.attributeNameCheck(t,e))||"is"===t&&De.allowCustomizedBuiltInElements&&(De.tagNameCheck instanceof RegExp&&b(De.tagNameCheck,n)||De.tagNameCheck instanceof Function&&De.tagNameCheck(n))))return!1}else if(Je[t]);else if(b(be,y(n,Ae,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==E(n,"data:")||!Ve[e]){if(xe&&!b(Ee,y(n,Ae,"")));else if(n)return!1}else;return!0},Ct=function(e){return"annotation-xml"!==e&&T(e,_e)},vt=function(e){Rt(fe.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||St(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Re,forceKeepAttr:void 0};let r=t.length;for(;r--;){const a=t[r],{name:l,namespaceURI:c,value:s}=a,m=pt(l),f=s;let d="value"===l?f:A(f);if(n.attrName=m,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,Rt(fe.uponSanitizeAttribute,e,n),d=n.attrValue,!Ye||"id"!==m&&"name"!==m||(At(l,e),d="user-content-"+d),Ue&&b(/((--!?|])>)|<\/(style|title|textarea)/i,d)){At(l,e);continue}if("attributename"===m&&T(d,"href")){At(l,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){At(l,e);continue}if(!Ie&&b(/\/>/i,d)){At(l,e);continue}Me&&u([de,he,ge],(e=>{d=y(d,e," ")}));const h=pt(e.nodeName);if(Dt(h,m,d)){if(ae&&"object"==typeof j&&"function"==typeof j.getAttributeType)if(c);else switch(j.getAttributeType(h,m)){case"TrustedHTML":d=ae.createHTML(d);break;case"TrustedScriptURL":d=ae.createScriptURL(d)}if(d!==f)try{c?e.setAttributeNS(c,l,d):e.setAttribute(l,d),St(e)?Et(e):p(o.removed)}catch(i){At(l,e)}}else At(l,e)}Rt(fe.afterSanitizeAttributes,e,null)},Ot=function e(t){let n=null;const o=bt(t);for(Rt(fe.beforeSanitizeShadowDOM,t,null);n=o.nextNode();)Rt(fe.uponSanitizeShadowNode,n,null),wt(n),vt(n),n.content instanceof s&&e(n.content);Rt(fe.afterSanitizeShadowDOM,t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(rt=!e,rt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Nt(e)){if("function"!=typeof e.toString)throw S("toString is not a function");if("string"!=typeof(e=e.toString()))throw S("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Pe||gt(t),o.removed=[],"string"==typeof e&&(Xe=!1),Xe){if(e.nodeName){const t=pt(e.nodeName);if(!Se[t]||Ce[t])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof R)n=_t("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===J&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!He&&!Me&&!ze&&-1===e.indexOf("<"))return ae&&Ge?ae.createHTML(e):e;if(n=_t(e),!n)return He?null:Ge?le:""}n&&Fe&&Et(n.firstChild);const c=bt(Xe?e:n);for(;i=c.nextNode();)wt(i),vt(i),i.content instanceof s&&Ot(i.content);if(Xe)return e;if(He){if(Be)for(l=ue.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Re.shadowroot||Re.shadowrootmode)&&(l=pe.call(a,l,!0)),l}let m=ze?n.outerHTML:n.innerHTML;return ze&&Se["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&b(K,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),Me&&u([de,he,ge],(e=>{m=y(m,e," ")})),ae&&Ge?ae.createHTML(m):m},o.setConfig=function(){gt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pe=!0},o.clearConfig=function(){ft=null,Pe=!1},o.isValidAttribute=function(e,t,n){ft||gt({});const o=pt(e),r=pt(t);return Dt(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&f(fe[e],t)},o.removeHook=function(e,t){if(void 0!==t){const n=m(fe[e],t);return-1===n?void 0:d(fe[e],n,1)[0]}return p(fe[e])},o.removeHooks=function(e){fe[e]=[]},o.removeAllHooks=function(){fe={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},o}();export{oe as default}; diff --git a/dist1 (2)/assets/retail-92ca9e5c.svg b/dist1 (2)/assets/retail-92ca9e5c.svg new file mode 100644 index 0000000..9de29f4 --- /dev/null +++ b/dist1 (2)/assets/retail-92ca9e5c.svg @@ -0,0 +1,8 @@ +<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> +<path d="M12.0386 23.9509C14.4705 23.9509 16.9024 23.9509 19.3343 23.9509C21.9897 23.9509 23.817 21.6767 23.2648 19.0607C22.9362 17.5096 22.6076 15.9452 22.2658 14.3941C21.9503 13.0006 21.0958 12.0542 19.7813 11.5546C19.4921 11.4363 19.4001 11.2917 19.3475 11.0025C19.032 9.35933 18.1249 8.24196 16.5212 7.71613C16.3766 7.66355 16.2188 7.51895 16.1531 7.37435C15.7325 6.44102 15.062 5.73116 14.1156 5.32365C13.8132 5.19219 13.8001 4.99501 13.7869 4.74524C13.6686 2.72083 12.3541 1.02506 10.4479 0.433507C7.4902 -0.473535 4.58504 1.59031 4.30898 4.78468C4.29584 4.95557 4.19067 5.21848 4.05922 5.28421C2.41603 6.0598 1.75875 7.41379 1.62729 9.16214C1.40382 11.9753 1.11462 14.7884 0.864853 17.6016C0.78598 18.5743 0.654525 19.5734 0.746543 20.5462C0.917435 22.4786 2.6395 23.9377 4.58504 23.9377C7.06955 23.9509 9.55405 23.9509 12.0386 23.9509ZM9.06767 22.3603C7.59537 22.3603 6.10992 22.3734 4.63762 22.3603C3.19161 22.3471 2.16626 21.164 2.29772 19.718C2.37659 18.903 2.44232 18.0748 2.52119 17.2598C2.7841 14.4072 3.03387 11.5678 3.30992 8.71519C3.44138 7.41379 4.38786 6.55933 5.68927 6.55933C7.93715 6.54618 10.185 6.54618 12.4329 6.55933C13.7869 6.55933 14.7465 7.5058 14.8517 8.84665C15.0226 10.8448 15.2198 12.8429 15.4038 14.841C15.5484 16.4974 15.7325 18.1405 15.8245 19.7969C15.9165 21.3218 14.8911 22.3471 13.3531 22.3603C11.9202 22.3603 10.4874 22.3603 9.06767 22.3603ZM16.8104 12.8823C17.3231 12.8823 17.7963 12.8823 18.2695 12.8823C19.5447 12.8955 20.4648 13.6316 20.7278 14.8673C21.0564 16.379 21.3719 17.8776 21.7005 19.3894C22.0029 20.8222 21.1616 22.1762 19.7287 22.3208C18.7428 22.426 17.7437 22.3471 16.6526 22.3471C17.3231 21.4269 17.494 20.441 17.3888 19.4025C17.2705 18.1405 17.1522 16.8786 17.047 15.6166C16.9813 14.7227 16.9024 13.8288 16.8104 12.8823ZM5.93903 4.95557C5.97847 3.1152 7.45077 1.73492 9.23856 1.82693C10.8818 1.91895 12.2752 3.4044 12.1437 4.95557C10.093 4.95557 8.02917 4.95557 5.93903 4.95557ZM16.508 9.51707C17.231 9.83256 17.7174 10.5819 17.678 11.2654C17.3494 11.2654 17.0076 11.2654 16.6526 11.2654C16.6132 10.6607 16.5606 10.0955 16.508 9.51707Z" fill="black"/> +<path d="M8.64696 15.5376C7.6479 15.5376 6.64884 15.5376 5.64978 15.5376C5.09767 15.5376 4.76903 15.8268 4.74274 16.2869C4.72959 16.7732 5.07138 17.115 5.63663 17.115C7.63475 17.1282 9.63288 17.1282 11.631 17.115C12.1831 17.115 12.5643 16.7732 12.5643 16.3131C12.5643 15.8399 12.2225 15.5244 11.6441 15.5244C10.6451 15.5244 9.64602 15.5376 8.64696 15.5376Z" fill="black"/> +<path d="M6.72755 19.7046C7.24022 19.7046 7.73975 19.7178 8.25243 19.7046C8.72567 19.6915 9.02801 19.3891 9.04116 18.9422C9.05431 18.4952 8.7651 18.1403 8.30501 18.1271C7.25337 18.1008 6.21487 18.1008 5.16323 18.1271C4.68999 18.1403 4.36135 18.5215 4.38764 18.9685C4.41393 19.4023 4.72942 19.6915 5.20266 19.7046C5.71534 19.7178 6.22802 19.7046 6.72755 19.7046Z" fill="black"/> +<path d="M6.85893 8.80767C6.85893 8.37387 6.51715 8.03208 6.08335 8.01894C5.6364 8.00579 5.29462 8.33443 5.28147 8.76823C5.26832 9.21518 5.6364 9.60955 6.0702 9.5964C6.47771 9.60955 6.84579 9.22833 6.85893 8.80767Z" fill="black"/> +<path d="M12.9852 8.8213C12.9852 8.37435 12.6697 8.03257 12.2227 8.03257C11.7626 8.01942 11.3945 8.3875 11.4077 8.83445C11.4208 9.24196 11.8021 9.62318 12.2096 9.62318C12.6434 9.61003 12.9852 9.2551 12.9852 8.8213Z" fill="black"/> +<path d="M19.2686 14.4873C19.2817 14.0798 18.9268 13.6986 18.5193 13.6723C18.0723 13.646 17.7043 13.9878 17.6911 14.4348C17.678 14.8686 17.9935 15.2235 18.4273 15.2498C18.8611 15.2761 19.2554 14.9211 19.2686 14.4873Z" fill="black"/> +</svg> diff --git a/dist1 (2)/assets/slick-12459f22.svg b/dist1 (2)/assets/slick-12459f22.svg new file mode 100644 index 0000000..b36a66a --- /dev/null +++ b/dist1 (2)/assets/slick-12459f22.svg @@ -0,0 +1,14 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg xmlns="http://www.w3.org/2000/svg"> +<metadata>Generated by Fontastic.me</metadata> +<defs> +<font id="slick" horiz-adv-x="512"> +<font-face font-family="slick" units-per-em="512" ascent="480" descent="-32"/> +<missing-glyph horiz-adv-x="512" /> + +<glyph unicode="→" d="M241 113l130 130c4 4 6 8 6 13 0 5-2 9-6 13l-130 130c-3 3-7 5-12 5-5 0-10-2-13-5l-29-30c-4-3-6-7-6-12 0-5 2-10 6-13l87-88-87-88c-4-3-6-8-6-13 0-5 2-9 6-12l29-30c3-3 8-5 13-5 5 0 9 2 12 5z m234 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/> +<glyph unicode="←" d="M296 113l29 30c4 3 6 7 6 12 0 5-2 10-6 13l-87 88 87 88c4 3 6 8 6 13 0 5-2 9-6 12l-29 30c-3 3-8 5-13 5-5 0-9-2-12-5l-130-130c-4-4-6-8-6-13 0-5 2-9 6-13l130-130c3-3 7-5 12-5 5 0 10 2 13 5z m179 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/> +<glyph unicode="•" d="M475 256c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/> +<glyph unicode="a" d="M475 439l0-128c0-5-1-9-5-13-4-4-8-5-13-5l-128 0c-8 0-13 3-17 11-3 7-2 14 4 20l40 39c-28 26-62 39-100 39-20 0-39-4-57-11-18-8-33-18-46-32-14-13-24-28-32-46-7-18-11-37-11-57 0-20 4-39 11-57 8-18 18-33 32-46 13-14 28-24 46-32 18-7 37-11 57-11 23 0 44 5 64 15 20 9 38 23 51 42 2 1 4 3 7 3 3 0 5-1 7-3l39-39c2-2 3-3 3-6 0-2-1-4-2-6-21-25-46-45-76-59-29-14-60-20-93-20-30 0-58 5-85 17-27 12-51 27-70 47-20 19-35 43-47 70-12 27-17 55-17 85 0 30 5 58 17 85 12 27 27 51 47 70 19 20 43 35 70 47 27 12 55 17 85 17 28 0 55-5 81-15 26-11 50-26 70-45l37 37c6 6 12 7 20 4 8-4 11-9 11-17z"/> +</font></defs></svg> diff --git a/dist1 (2)/assets/successtick2-a67c3273.png b/dist1 (2)/assets/successtick2-a67c3273.png new file mode 100644 index 0000000..632f148 Binary files /dev/null and b/dist1 (2)/assets/successtick2-a67c3273.png differ diff --git a/dist1 (2)/assets/template1-4eabbead.png b/dist1 (2)/assets/template1-4eabbead.png new file mode 100644 index 0000000..2162117 Binary files /dev/null and b/dist1 (2)/assets/template1-4eabbead.png differ diff --git a/dist1 (2)/assets/template2-9070c95d.png b/dist1 (2)/assets/template2-9070c95d.png new file mode 100644 index 0000000..5c53fd5 Binary files /dev/null and b/dist1 (2)/assets/template2-9070c95d.png differ diff --git a/dist1 (2)/assets/thumb-f7e04ff1.png b/dist1 (2)/assets/thumb-f7e04ff1.png new file mode 100644 index 0000000..f79d16c Binary files /dev/null and b/dist1 (2)/assets/thumb-f7e04ff1.png differ diff --git a/dist1 (2)/assets/ui-2d515953.js b/dist1 (2)/assets/ui-2d515953.js new file mode 100644 index 0000000..03dafcb --- /dev/null +++ b/dist1 (2)/assets/ui-2d515953.js @@ -0,0 +1,6 @@ +import{r as e,g as t,R as n,a as r,b as o,c as i,d as a,e as l}from"./vendor-c65bce76.js";const c=e.createContext({});function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(null,arguments)}function u(e){if(Array.isArray(e))return e}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){if(e){if("string"==typeof e)return d(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function p(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(e,t){return u(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(u){s=!0,o=u}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(e,t)||f(e,t)||p()}function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e){var t=function(e,t){if("object"!=g(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==g(t)?t:t+""}function v(e,t,n){return(t=h(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var y,x={exports:{}}; +/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/y=x,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=r(e,n(o)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var o="";for(var i in n)e.call(n,i)&&n[i]&&(o=r(o,i));return o}function r(e,t){return t?e?e+" "+t:e+t:e}y.exports?(t.default=t,y.exports=t):window.classNames=t}();var C=x.exports;const w=t(C),$=Math.round;function S(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map((e=>parseFloat(e)));for(let o=0;o<3;o+=1)r[o]=t(r[o]||0,n[o]||"",o);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}const k=(e,t,n)=>0===n?e:e/100;function E(e,t){const n=t||255;return e>n?n:e<0?0:e}class O{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if(v(this,"isValid",!0),v(this,"r",0),v(this,"g",0),v(this,"b",0),v(this,"a",1),v(this,"_h",void 0),v(this,"_s",void 0),v(this,"_l",void 0),v(this,"_v",void 0),v(this,"_max",void 0),v(this,"_min",void 0),v(this,"_brightness",void 0),e)if("string"==typeof e){let t=function(e){return n.startsWith(e)};const n=e.trim();/^#?[A-F\d]{3,8}$/i.test(n)?this.fromHexString(n):t("rgb")?this.fromRgbString(n):t("hsl")?this.fromHslString(n):(t("hsv")||t("hsb"))&&this.fromHsvString(n)}else if(e instanceof O)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=E(e.r),this.g=E(e.g),this.b=E(e.b),this.a="number"==typeof e.a?E(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else{if(!t("hsv"))throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e));this.fromHsv(e)}else;}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){const t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}return.2126*e(this.r)+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){const e=this.getMax()-this.getMin();this._h=0===e?0:$(60*(this.r===this.getMax()?(this.g-this.b)/e+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/e+2:(this.r-this.g)/e+4))}return this._h}getSaturation(){if(void 0===this._s){const e=this.getMax()-this.getMin();this._s=0===e?0:e/this.getMax()}return this._s}getLightness(){return void 0===this._l&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return void 0===this._v&&(this._v=this.getMax()/255),this._v}getBrightness(){return void 0===this._brightness&&(this._brightness=(299*this.r+587*this.g+114*this.b)/1e3),this._brightness}darken(e=10){const t=this.getHue(),n=this.getSaturation();let r=this.getLightness()-e/100;return r<0&&(r=0),this._c({h:t,s:n,l:r,a:this.a})}lighten(e=10){const t=this.getHue(),n=this.getSaturation();let r=this.getLightness()+e/100;return r>1&&(r=1),this._c({h:t,s:n,l:r,a:this.a})}mix(e,t=50){const n=this._c(e),r=t/100,o=e=>(n[e]-this[e])*r+this[e],i={r:$(o("r")),g:$(o("g")),b:$(o("b")),a:$(100*o("a"))/100};return this._c(i)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){const t=this._c(e),n=this.a+t.a*(1-this.a),r=e=>$((this[e]*this.a+t[e]*t.a*(1-this.a))/n);return this._c({r:r("r"),g:r("g"),b:r("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#";const t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;const n=(this.g||0).toString(16);e+=2===n.length?n:"0"+n;const r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){const t=$(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const e=this.getHue(),t=$(100*this.getSaturation()),n=$(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${n}%,${this.a})`:`hsl(${e},${t}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,n){const r=this.clone();return r[e]=E(t,n),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){const t=e.replace("#","");function n(e,n){return parseInt(t[e]+t[n||e],16)}t.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=t[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=t[6]?n(6,7)/255:1)}fromHsl({h:e,s:t,l:n,a:r}){if(this._h=e%360,this._s=t,this._l=n,this.a="number"==typeof r?r:1,t<=0){const e=$(255*n);this.r=e,this.g=e,this.b=e}let o=0,i=0,a=0;const l=e/60,c=(1-Math.abs(2*n-1))*t,s=c*(1-Math.abs(l%2-1));l>=0&&l<1?(o=c,i=s):l>=1&&l<2?(o=s,i=c):l>=2&&l<3?(i=c,a=s):l>=3&&l<4?(i=s,a=c):l>=4&&l<5?(o=s,a=c):l>=5&&l<6&&(o=c,a=s);const u=n-c/2;this.r=$(255*(o+u)),this.g=$(255*(i+u)),this.b=$(255*(a+u))}fromHsv({h:e,s:t,v:n,a:r}){this._h=e%360,this._s=t,this._v=n,this.a="number"==typeof r?r:1;const o=$(255*n);if(this.r=o,this.g=o,this.b=o,t<=0)return;const i=e/60,a=Math.floor(i),l=i-a,c=$(n*(1-t)*255),s=$(n*(1-t*l)*255),u=$(n*(1-t*(1-l))*255);switch(a){case 0:this.g=u,this.b=c;break;case 1:this.r=s,this.b=c;break;case 2:this.r=c,this.b=u;break;case 3:this.r=c,this.g=s;break;case 4:this.r=u,this.g=c;break;default:this.g=c,this.b=s}}fromHsvString(e){const t=S(e,k);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){const t=S(e,k);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){const t=S(e,((e,t)=>t.includes("%")?$(e/100*255):e));this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}var I=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function N(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function M(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(100*r)/100);var r}function P(e,t,n){var r;return r=n?e.v+.05*t:e.v-.15*t,r=Math.max(0,Math.min(1,r)),Math.round(100*r)/100}function j(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=new O(e),o=r.toHsv(),i=5;i>0;i-=1){var a=new O({h:N(o,i,!0),s:M(o,i,!0),v:P(o,i,!0)});n.push(a)}n.push(r);for(var l=1;l<=4;l+=1){var c=new O({h:N(o,l),s:M(o,l),v:P(o,l)});n.push(c)}return"dark"===t.theme?I.map((function(e){var r=e.index,o=e.amount;return new O(t.backgroundColor||"#141414").mix(n[r],o).toHexString()})):n.map((function(e){return e.toHexString()}))}var R={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},T=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];T.primary=T[5];var z=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];z.primary=z[5];var H=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];H.primary=H[5];var D=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];D.primary=D[5];var B=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];B.primary=B[5];var A=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];A.primary=A[5];var L=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];L.primary=L[5];var F=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];F.primary=F[5];var _=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];_.primary=_[5];var W=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];W.primary=W[5];var K=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];K.primary=K[5];var V=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];V.primary=V[5];var q=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];q.primary=q[5];var X={red:T,volcano:z,orange:H,gold:D,yellow:B,lime:A,green:L,cyan:F,blue:_,geekblue:W,purple:K,magenta:V,grey:q};function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function U(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function Q(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var Z="data-rc-order",J="data-rc-priority",ee=new Map;function te(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):"rc-util-key"}function ne(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function re(e){return Array.from((ee.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!U())return null;var n=t.csp,r=t.prepend,o=t.priority,i=void 0===o?0:o,a=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),l="prependQueue"===a,c=document.createElement("style");c.setAttribute(Z,a),l&&i&&c.setAttribute(J,"".concat(i)),null!=n&&n.nonce&&(c.nonce=null==n?void 0:n.nonce),c.innerHTML=e;var s=ne(t),u=s.firstChild;if(r){if(l){var d=(t.styles||re(s)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(Z)))return!1;var t=Number(e.getAttribute(J)||0);return i>=t}));if(d.length)return s.insertBefore(c,d[d.length-1].nextSibling),c}s.insertBefore(c,u)}else s.appendChild(c);return c}function ie(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ne(t);return(t.styles||re(n)).find((function(n){return n.getAttribute(te(t))===e}))}function ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ie(e,t);n&&ne(t).removeChild(n)}function le(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=ne(n),o=re(r),i=Y(Y({},n),{},{styles:o});!function(e,t){var n=ee.get(e);if(!n||!Q(document,n)){var r=oe("",t),o=r.parentNode;ee.set(e,o),e.removeChild(r)}}(r,i);var a=ie(t,i);if(a){var l,c,s;if(null!==(l=i.csp)&&void 0!==l&&l.nonce&&a.nonce!==(null===(c=i.csp)||void 0===c?void 0:c.nonce))a.nonce=null===(s=i.csp)||void 0===s?void 0:s.nonce;return a.innerHTML!==e&&(a.innerHTML=e),a}var u=oe(e,i);return u.setAttribute(te(i),t),u}function ce(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function se(e){return function(e){return ce(e)instanceof ShadowRoot}(e)?ce(e):null}var ue={};function de(e,t){}function fe(e,t){}function pe(e,t,n){t||ue[n]||(e(!1,n),ue[n]=!0)}function me(e,t){pe(de,e,t)}function ge(e){return"object"===g(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===g(e.icon)||"function"==typeof e.icon)}function he(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r,o=e[n];if("class"===n)t.className=o,delete t.class;else delete t[n],t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o;return t}),{})}function ve(e,t,r){return r?n.createElement(e.tag,Y(Y({key:t},he(e.attrs)),r),(e.children||[]).map((function(n,r){return ve(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):n.createElement(e.tag,Y({key:t},he(e.attrs)),(e.children||[]).map((function(n,r){return ve(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function be(e){return j(e)[0]}function ye(e){return e?Array.isArray(e)?e:[e]:[]}me.preMessage=function(e){},me.resetWarned=function(){ue={}},me.noteOnce=function(e,t){pe(fe,e,t)};var xe=["icon","className","onClick","style","primaryColor","secondaryColor"],Ce={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var we=function(t){var n,r,o,i,a,l,s,u,d=t.icon,f=t.className,p=t.onClick,m=t.style,g=t.primaryColor,h=t.secondaryColor,v=b(t,xe),y=e.useRef(),x=Ce;if(g&&(x={primaryColor:g,secondaryColor:h||be(g)}),n=y,r=e.useContext(c),o=r.csp,i=r.prefixCls,a=r.layer,l="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",i&&(l=l.replace(/anticon/g,i)),a&&(l="@layer ".concat(a," {\n").concat(l,"\n}")),e.useEffect((function(){var e=se(n.current);le(l,"@ant-design-icons",{prepend:!a,csp:o,attachTo:e})}),[]),s=ge(d),u="icon should be icon definiton, but got ".concat(d),me(s,"[@ant-design/icons] ".concat(u)),!ge(d))return null;var C=d;return C&&"function"==typeof C.icon&&(C=Y(Y({},C),{},{icon:C.icon(x.primaryColor,x.secondaryColor)})),ve(C.icon,"svg-".concat(C.name),Y(Y({className:f,onClick:p,style:m,"data-icon":C.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},v),{},{ref:y}))};we.displayName="IconReact",we.getTwoToneColors=function(){return Y({},Ce)},we.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;Ce.primaryColor=t,Ce.secondaryColor=n||be(t),Ce.calculated=!!n};const $e=we;function Se(e){var t=m(ye(e),2),n=t[0],r=t[1];return $e.setTwoToneColors({primaryColor:n,secondaryColor:r})}var ke=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Se(_.primary);var Ee=e.forwardRef((function(t,n){var r=t.className,o=t.icon,i=t.spin,a=t.rotate,l=t.tabIndex,u=t.onClick,d=t.twoToneColor,f=b(t,ke),p=e.useContext(c),g=p.prefixCls,h=void 0===g?"anticon":g,y=p.rootClassName,x=w(y,h,v(v({},"".concat(h,"-").concat(o.name),!!o.name),"".concat(h,"-spin"),!!i||"loading"===o.name),r),C=l;void 0===C&&u&&(C=-1);var $=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,S=m(ye(d),2),k=S[0],E=S[1];return e.createElement("span",s({role:"img","aria-label":o.name},f,{ref:n,tabIndex:C,onClick:u,className:x}),e.createElement($e,{icon:o,primaryColor:k,secondaryColor:E,style:$}))}));Ee.displayName="AntdIcon",Ee.getTwoToneColor=function(){var e=$e.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},Ee.setTwoToneColor=Se;const Oe=Ee;const Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};var Ne=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Ie}))};const Me=e.forwardRef(Ne);const Pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};var je=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Pe}))};const Re=e.forwardRef(je);const Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};var ze=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Te}))};const He=e.forwardRef(ze);const De={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};var Be=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:De}))};const Ae=e.forwardRef(Be);const Le={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};var Fe=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Le}))};const _e=e.forwardRef(Fe);const We={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};var Ke=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:We}))};const Ve=e.forwardRef(Ke);const qe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};var Xe=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:qe}))};const Ge=e.forwardRef(Xe);const Ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};var Ue=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Ye}))};const Qe=e.forwardRef(Ue);const Ze={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z",fill:t}},{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z",fill:e}}]}},name:"check-circle",theme:"twotone"};var Je=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Ze}))};const et=e.forwardRef(Je);const tt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};var nt=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:tt}))};const rt=e.forwardRef(nt);const ot={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};var it=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:ot}))};const at=e.forwardRef(it);const lt={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};var ct=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:lt}))};const st=e.forwardRef(ct);const ut={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};var dt=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:ut}))};const ft=e.forwardRef(dt);const pt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};var mt=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:pt}))};const gt=e.forwardRef(mt);const ht={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-200 0H360v-72h304v72z"}}]},name:"delete",theme:"filled"};var vt=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:ht}))};const bt=e.forwardRef(vt);const yt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};var xt=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:yt}))};const Ct=e.forwardRef(xt);const wt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};var $t=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:wt}))};const St=e.forwardRef($t);const kt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};var Et=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:kt}))};const Ot=e.forwardRef(Et);const It={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};var Nt=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:It}))};const Mt=e.forwardRef(Nt);const Pt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};var jt=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Pt}))};const Rt=e.forwardRef(jt);const Tt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z"}}]},name:"edit",theme:"filled"};var zt=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Tt}))};const Ht=e.forwardRef(zt);const Dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};var Bt=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Dt}))};const At=e.forwardRef(Bt);const Lt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};var Ft=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Lt}))};const _t=e.forwardRef(Ft);const Wt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};var Kt=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Wt}))};const Vt=e.forwardRef(Kt);const qt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};var Xt=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:qt}))};const Gt=e.forwardRef(Xt);const Yt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"};var Ut=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Yt}))};const Qt=e.forwardRef(Ut);const Zt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};var Jt=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Zt}))};const en=e.forwardRef(Jt);const tn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};var nn=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:tn}))};const rn=e.forwardRef(nn);const on={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M81.8 537.8a60.3 60.3 0 010-51.5C176.6 286.5 319.8 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c-192.1 0-335.4-100.5-430.2-300.2z",fill:t}},{tag:"path",attrs:{d:"M512 258c-161.3 0-279.4 81.8-362.7 254C232.6 684.2 350.7 766 512 766c161.4 0 279.5-81.8 362.7-254C791.4 339.8 673.3 258 512 258zm-4 430c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z",fill:t}},{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258s279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766z",fill:e}},{tag:"path",attrs:{d:"M508 336c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z",fill:e}}]}},name:"eye",theme:"twotone"};var an=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:on}))};const ln=e.forwardRef(an);const cn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 736H663.9V602.2h104l15.6-120.7H663.9v-77.1c0-35 9.7-58.8 59.8-58.8h63.9v-108c-11.1-1.5-49-4.8-93.2-4.8-92.2 0-155.3 56.3-155.3 159.6v89H434.9v120.7h104.3V848H176V176h672v672z"}}]},name:"facebook",theme:"outlined"};var sn=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:cn}))};const un=e.forwardRef(sn);const dn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};var fn=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:dn}))};const pn=e.forwardRef(fn);const mn={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}}]}},name:"file",theme:"twotone"};var gn=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:mn}))};const hn=e.forwardRef(gn);const vn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};var bn=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:vn}))};const yn=e.forwardRef(bn);const xn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};var Cn=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:xn}))};const wn=e.forwardRef(Cn);const $n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};var Sn=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:$n}))};const kn=e.forwardRef(Sn);const En={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"};var On=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:En}))};const In=e.forwardRef(On);const Nn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};var Mn=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Nn}))};const Pn=e.forwardRef(Mn);const jn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};var Rn=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:jn}))};const Tn=e.forwardRef(Rn);const zn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 306.9c-113.5 0-205.1 91.6-205.1 205.1S398.5 717.1 512 717.1 717.1 625.5 717.1 512 625.5 306.9 512 306.9zm0 338.4c-73.4 0-133.3-59.9-133.3-133.3S438.6 378.7 512 378.7 645.3 438.6 645.3 512 585.4 645.3 512 645.3zm213.5-394.6c-26.5 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9 47.9-21.3 47.9-47.9a47.84 47.84 0 00-47.9-47.9zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zm-88 235.8c-7.3 18.2-16.1 31.8-30.2 45.8-14.1 14.1-27.6 22.9-45.8 30.2C695.2 844.7 570.3 840 512 840c-58.3 0-183.3 4.7-235.9-16.1-18.2-7.3-31.8-16.1-45.8-30.2-14.1-14.1-22.9-27.6-30.2-45.8C179.3 695.2 184 570.3 184 512c0-58.3-4.7-183.3 16.1-235.9 7.3-18.2 16.1-31.8 30.2-45.8s27.6-22.9 45.8-30.2C328.7 179.3 453.7 184 512 184s183.3-4.7 235.9 16.1c18.2 7.3 31.8 16.1 45.8 30.2 14.1 14.1 22.9 27.6 30.2 45.8C844.7 328.7 840 453.7 840 512c0 58.3 4.7 183.2-16.2 235.8z"}}]},name:"instagram",theme:"outlined"};var Hn=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:zn}))};const Dn=e.forwardRef(Hn);const Bn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};var An=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Bn}))};const Ln=e.forwardRef(An);const Fn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};var _n=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Fn}))};const Wn=e.forwardRef(_n);const Kn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z"}}]},name:"mail",theme:"outlined"};var Vn=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Kn}))};const qn=e.forwardRef(Vn);const Xn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"message",theme:"outlined"};var Gn=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Xn}))};const Yn=e.forwardRef(Gn);const Un={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"};var Qn=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Un}))};const Zn=e.forwardRef(Qn);const Jn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};var er=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Jn}))};const tr=e.forwardRef(er);const nr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};var rr=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:nr}))};const or=e.forwardRef(rr);const ir={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:e}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:t}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:e}}]}},name:"picture",theme:"twotone"};var ar=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:ir}))};const lr=e.forwardRef(ar);const cr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"};var sr=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:cr}))};const ur=e.forwardRef(sr);const dr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};var fr=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:dr}))};const pr=e.forwardRef(fr);const mr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};var gr=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:mr}))};const hr=e.forwardRef(gr);const vr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};var br=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:vr}))};const yr=e.forwardRef(br);const xr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};var Cr=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:xr}))};const wr=e.forwardRef(Cr);const $r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};var Sr=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:$r}))};const kr=e.forwardRef(Sr);const Er={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};var Or=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Er}))};const Ir=e.forwardRef(Or);const Nr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};var Mr=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Nr}))};const Pr=e.forwardRef(Mr);const jr={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};var Rr=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:jr}))};const Tr=e.forwardRef(Rr);const zr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 254.3c-30.6 13.2-63.9 22.7-98.2 26.4a170.1 170.1 0 0075-94 336.64 336.64 0 01-108.2 41.2A170.1 170.1 0 00672 174c-94.5 0-170.5 76.6-170.5 170.6 0 13.2 1.6 26.4 4.2 39.1-141.5-7.4-267.7-75-351.6-178.5a169.32 169.32 0 00-23.2 86.1c0 59.2 30.1 111.4 76 142.1a172 172 0 01-77.1-21.7v2.1c0 82.9 58.6 151.6 136.7 167.4a180.6 180.6 0 01-44.9 5.8c-11.1 0-21.6-1.1-32.2-2.6C211 652 273.9 701.1 348.8 702.7c-58.6 45.9-132 72.9-211.7 72.9-14.3 0-27.5-.5-41.2-2.1C171.5 822 261.2 850 357.8 850 671.4 850 843 590.2 843 364.7c0-7.4 0-14.8-.5-22.2 33.2-24.3 62.3-54.4 85.5-88.2z"}}]},name:"twitter",theme:"outlined"};var Hr=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:zr}))};const Dr=e.forwardRef(Hr);const Br={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"};var Ar=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Br}))};const Lr=e.forwardRef(Ar);const Fr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"};var _r=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Fr}))};const Wr=e.forwardRef(_r);const Kr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M713.5 599.9c-10.9-5.6-65.2-32.2-75.3-35.8-10.1-3.8-17.5-5.6-24.8 5.6-7.4 11.1-28.4 35.8-35 43.3-6.4 7.4-12.9 8.3-23.8 2.8-64.8-32.4-107.3-57.8-150-131.1-11.3-19.5 11.3-18.1 32.4-60.2 3.6-7.4 1.8-13.7-1-19.3-2.8-5.6-24.8-59.8-34-81.9-8.9-21.5-18.1-18.5-24.8-18.9-6.4-.4-13.7-.4-21.1-.4-7.4 0-19.3 2.8-29.4 13.7-10.1 11.1-38.6 37.8-38.6 92s39.5 106.7 44.9 114.1c5.6 7.4 77.7 118.6 188.4 166.5 70 30.2 97.4 32.8 132.4 27.6 21.3-3.2 65.2-26.6 74.3-52.5 9.1-25.8 9.1-47.9 6.4-52.5-2.7-4.9-10.1-7.7-21-13z"}},{tag:"path",attrs:{d:"M925.2 338.4c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"whats-app",theme:"outlined"};var Vr=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Kr}))};const qr=e.forwardRef(Vr);const Xr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M960 509.2c0-2.2 0-4.7-.1-7.6-.1-8.1-.3-17.2-.5-26.9-.8-27.9-2.2-55.7-4.4-81.9-3-36.1-7.4-66.2-13.4-88.8a139.52 139.52 0 00-98.3-98.5c-28.3-7.6-83.7-12.3-161.7-15.2-37.1-1.4-76.8-2.3-116.5-2.8-13.9-.2-26.8-.3-38.4-.4h-29.4c-11.6.1-24.5.2-38.4.4-39.7.5-79.4 1.4-116.5 2.8-78 3-133.5 7.7-161.7 15.2A139.35 139.35 0 0082.4 304C76.3 326.6 72 356.7 69 392.8c-2.2 26.2-3.6 54-4.4 81.9-.3 9.7-.4 18.8-.5 26.9 0 2.9-.1 5.4-.1 7.6v5.6c0 2.2 0 4.7.1 7.6.1 8.1.3 17.2.5 26.9.8 27.9 2.2 55.7 4.4 81.9 3 36.1 7.4 66.2 13.4 88.8 12.8 47.9 50.4 85.7 98.3 98.5 28.2 7.6 83.7 12.3 161.7 15.2 37.1 1.4 76.8 2.3 116.5 2.8 13.9.2 26.8.3 38.4.4h29.4c11.6-.1 24.5-.2 38.4-.4 39.7-.5 79.4-1.4 116.5-2.8 78-3 133.5-7.7 161.7-15.2 47.9-12.8 85.5-50.5 98.3-98.5 6.1-22.6 10.4-52.7 13.4-88.8 2.2-26.2 3.6-54 4.4-81.9.3-9.7.4-18.8.5-26.9 0-2.9.1-5.4.1-7.6v-5.6zm-72 5.2c0 2.1 0 4.4-.1 7.1-.1 7.8-.3 16.4-.5 25.7-.7 26.6-2.1 53.2-4.2 77.9-2.7 32.2-6.5 58.6-11.2 76.3-6.2 23.1-24.4 41.4-47.4 47.5-21 5.6-73.9 10.1-145.8 12.8-36.4 1.4-75.6 2.3-114.7 2.8-13.7.2-26.4.3-37.8.3h-28.6l-37.8-.3c-39.1-.5-78.2-1.4-114.7-2.8-71.9-2.8-124.9-7.2-145.8-12.8-23-6.2-41.2-24.4-47.4-47.5-4.7-17.7-8.5-44.1-11.2-76.3-2.1-24.7-3.4-51.3-4.2-77.9-.3-9.3-.4-18-.5-25.7 0-2.7-.1-5.1-.1-7.1v-4.8c0-2.1 0-4.4.1-7.1.1-7.8.3-16.4.5-25.7.7-26.6 2.1-53.2 4.2-77.9 2.7-32.2 6.5-58.6 11.2-76.3 6.2-23.1 24.4-41.4 47.4-47.5 21-5.6 73.9-10.1 145.8-12.8 36.4-1.4 75.6-2.3 114.7-2.8 13.7-.2 26.4-.3 37.8-.3h28.6l37.8.3c39.1.5 78.2 1.4 114.7 2.8 71.9 2.8 124.9 7.2 145.8 12.8 23 6.2 41.2 24.4 47.4 47.5 4.7 17.7 8.5 44.1 11.2 76.3 2.1 24.7 3.4 51.3 4.2 77.9.3 9.3.4 18 .5 25.7 0 2.7.1 5.1.1 7.1v4.8zM423 646l232-135-232-133z"}}]},name:"youtube",theme:"outlined"};var Gr=function(t,n){return e.createElement(Oe,s({},t,{ref:n,icon:Xr}))};const Yr=e.forwardRef(Gr);var Ur,Qr={exports:{}},Zr={},Jr=Symbol.for("react.element"),eo=Symbol.for("react.portal"),to=Symbol.for("react.fragment"),no=Symbol.for("react.strict_mode"),ro=Symbol.for("react.profiler"),oo=Symbol.for("react.provider"),io=Symbol.for("react.context"),ao=Symbol.for("react.server_context"),lo=Symbol.for("react.forward_ref"),co=Symbol.for("react.suspense"),so=Symbol.for("react.suspense_list"),uo=Symbol.for("react.memo"),fo=Symbol.for("react.lazy"),po=Symbol.for("react.offscreen");function mo(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Jr:switch(e=e.type){case to:case ro:case no:case co:case so:return e;default:switch(e=e&&e.$$typeof){case ao:case io:case lo:case fo:case uo:case oo:return e;default:return t}}case eo:return t}}}Ur=Symbol.for("react.module.reference"),Zr.ContextConsumer=io,Zr.ContextProvider=oo,Zr.Element=Jr,Zr.ForwardRef=lo,Zr.Fragment=to,Zr.Lazy=fo,Zr.Memo=uo,Zr.Portal=eo,Zr.Profiler=ro,Zr.StrictMode=no,Zr.Suspense=co,Zr.SuspenseList=so,Zr.isAsyncMode=function(){return!1},Zr.isConcurrentMode=function(){return!1},Zr.isContextConsumer=function(e){return mo(e)===io},Zr.isContextProvider=function(e){return mo(e)===oo},Zr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Jr},Zr.isForwardRef=function(e){return mo(e)===lo},Zr.isFragment=function(e){return mo(e)===to},Zr.isLazy=function(e){return mo(e)===fo},Zr.isMemo=function(e){return mo(e)===uo},Zr.isPortal=function(e){return mo(e)===eo},Zr.isProfiler=function(e){return mo(e)===ro},Zr.isStrictMode=function(e){return mo(e)===no},Zr.isSuspense=function(e){return mo(e)===co},Zr.isSuspenseList=function(e){return mo(e)===so},Zr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===to||e===ro||e===no||e===co||e===so||e===po||"object"==typeof e&&null!==e&&(e.$$typeof===fo||e.$$typeof===uo||e.$$typeof===oo||e.$$typeof===io||e.$$typeof===lo||e.$$typeof===Ur||void 0!==e.getModuleId)},Zr.typeOf=mo,Qr.exports=Zr;var go=Qr.exports;function ho(t,n,r){var o=e.useRef({});return"value"in o.current&&!r(o.current.condition,n)||(o.current.value=t(),o.current.condition=n),o.current.value}var vo=Symbol.for("react.element"),bo=Symbol.for("react.transitional.element"),yo=Symbol.for("react.fragment");function xo(e){return e&&"object"===g(e)&&(e.$$typeof===vo||e.$$typeof===bo)&&e.type===yo}var Co=Number(e.version.split(".")[0]),wo=function(e,t){"function"==typeof e?e(t):"object"===g(e)&&e&&"current"in e&&(e.current=t)},$o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(Boolean);return r.length<=1?r[0]:function(e){t.forEach((function(t){wo(t,e)}))}},So=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ho((function(){return $o.apply(void 0,t)}),t,(function(e,t){return e.length!==t.length||e.every((function(e,n){return e!==t[n]}))}))},ko=function(e){var t,n;if(!e)return!1;if(Eo(e)&&Co>=19)return!0;var r=go.isMemo(e)?e.type.type:e.type;return!!("function"!=typeof r||null!==(t=r.prototype)&&void 0!==t&&t.render||r.$$typeof===go.ForwardRef)&&!!("function"!=typeof e||null!==(n=e.prototype)&&void 0!==n&&n.render||e.$$typeof===go.ForwardRef)};function Eo(t){return e.isValidElement(t)&&!xo(t)}var Oo=function(e){if(e&&Eo(e)){var t=e;return t.props.propertyIsEnumerable("ref")?t.props.ref:t.ref}return null};function Io(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];return n.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?r=r.concat(Io(e)):xo(e)&&e.props?r=r.concat(Io(e.props.children,t)):r.push(e))})),r}function No(e){return e instanceof HTMLElement||e instanceof SVGElement}function Mo(e){return e&&"object"===g(e)&&No(e.nativeElement)?e.nativeElement:No(e)?e:null}function Po(e){var t,o=Mo(e);return o||(e instanceof n.Component?null===(t=r.findDOMNode)||void 0===t?void 0:t.call(r,e):null)}var jo=e.createContext(null);var Ro=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),To="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,zo="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),Ho="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(zo):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var Do=["top","right","bottom","left","width","height","size","weight"],Bo="undefined"!=typeof MutationObserver,Ao=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&l()}function a(){Ho(i)}function l(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(a,t);o=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){To&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Bo?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){To&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;Do.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Lo=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},Fo=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||zo},_o=Go(0,0,0,0);function Wo(e){return parseFloat(e)||0}function Ko(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+Wo(e["border-"+n+"-width"])}),0)}function Vo(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return _o;var r=Fo(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=Wo(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,l=Wo(r.width),c=Wo(r.height);if("border-box"===r.boxSizing&&(Math.round(l+i)!==t&&(l-=Ko(r,"left","right")+i),Math.round(c+a)!==n&&(c-=Ko(r,"top","bottom")+a)),!function(e){return e===Fo(e).document.documentElement}(e)){var s=Math.round(l+i)-t,u=Math.round(c+a)-n;1!==Math.abs(s)&&(l-=s),1!==Math.abs(u)&&(c-=u)}return Go(o.left,o.top,l,c)}var qo="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof Fo(e).SVGGraphicsElement}:function(e){return e instanceof Fo(e).SVGElement&&"function"==typeof e.getBBox};function Xo(e){return To?qo(e)?function(e){var t=e.getBBox();return Go(0,0,t.width,t.height)}(e):Vo(e):_o}function Go(e,t,n,r){return{x:e,y:t,width:n,height:r}}var Yo=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Go(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=Xo(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),Uo=function(e,t){var n,r,o,i,a,l,c,s=(r=(n=t).x,o=n.y,i=n.width,a=n.height,l="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(l.prototype),Lo(c,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),c);Lo(this,{target:e,contentRect:s})},Qo=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new Ro,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Fo(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new Yo(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Fo(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new Uo(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Zo="undefined"!=typeof WeakMap?new WeakMap:new Ro,Jo=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=Ao.getInstance(),r=new Qo(t,n,this);Zo.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){Jo.prototype[e]=function(){var t;return(t=Zo.get(this))[e].apply(t,arguments)}}));var ei=void 0!==zo.ResizeObserver?zo.ResizeObserver:Jo;const ti=Object.freeze(Object.defineProperty({__proto__:null,default:ei},Symbol.toStringTag,{value:"Module"}));var ni=new Map;var ri=new ei((function(e){e.forEach((function(e){var t,n=e.target;null===(t=ni.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));function oi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ii(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,h(r.key),r)}}function ai(e,t,n){return t&&ii(e.prototype,t),n&&ii(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function li(e,t){return(li=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ci(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&li(e,t)}function si(e){return(si=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ui(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ui=function(){return!!e})()}function di(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fi(e,t){if(t&&("object"==g(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return di(e)}function pi(e){var t=ui();return function(){var n,r=si(e);if(t){var o=si(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fi(this,n)}}var mi=function(){ci(n,e.Component);var t=pi(n);function n(){return oi(this,n),t.apply(this,arguments)}return ai(n,[{key:"render",value:function(){return this.props.children}}]),n}();function gi(t,n){var r=t.children,o=t.disabled,i=e.useRef(null),a=e.useRef(null),l=e.useContext(jo),c="function"==typeof r,s=c?r(i):r,u=e.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),d=!c&&e.isValidElement(s)&&ko(s),f=d?Oo(s):null,p=So(f,i),m=function(){var e;return Po(i.current)||(i.current&&"object"===g(i.current)?Po(null===(e=i.current)||void 0===e?void 0:e.nativeElement):null)||Po(a.current)};e.useImperativeHandle(n,(function(){return m()}));var h=e.useRef(t);h.current=t;var v=e.useCallback((function(e){var t=h.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,a=o.height,c=e.offsetWidth,s=e.offsetHeight,d=Math.floor(i),f=Math.floor(a);if(u.current.width!==d||u.current.height!==f||u.current.offsetWidth!==c||u.current.offsetHeight!==s){var p={width:d,height:f,offsetWidth:c,offsetHeight:s};u.current=p;var m=c===Math.round(i)?i:c,g=s===Math.round(a)?a:s,v=Y(Y({},p),{},{offsetWidth:m,offsetHeight:g});null==l||l(v,e,r),n&&Promise.resolve().then((function(){n(v,e)}))}}),[]);return e.useEffect((function(){var e,t,n=m();return n&&!o&&(e=n,t=v,ni.has(e)||(ni.set(e,new Set),ri.observe(e)),ni.get(e).add(t)),function(){return function(e,t){ni.has(e)&&(ni.get(e).delete(t),ni.get(e).size||(ri.unobserve(e),ni.delete(e)))}(n,v)}}),[i.current,o]),e.createElement(mi,{ref:a},d?e.cloneElement(s,{ref:p}):s)}var hi=e.forwardRef(gi);function vi(t,n){var r=t.children;return("function"==typeof r?[r]:Io(r)).map((function(r,o){var i=(null==r?void 0:r.key)||"".concat("rc-observer-key","-").concat(o);return e.createElement(hi,s({},t,{key:i,ref:0===o?n:void 0}),r)}))}var bi=e.forwardRef(vi);function yi(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function xi(e){return function(e){if(Array.isArray(e))return d(e)}(e)||yi(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}bi.Collection=function(t){var n=t.children,r=t.onBatchResize,o=e.useRef(0),i=e.useRef([]),a=e.useContext(jo),l=e.useCallback((function(e,t,n){o.current+=1;var l=o.current;i.current.push({size:e,element:t,data:n}),Promise.resolve().then((function(){l===o.current&&(null==r||r(i.current),i.current=[])})),null==a||a(e,t,n)}),[r,a]);return e.createElement(jo.Provider,{value:l},n)};var Ci=function(e){return+setTimeout(e,16)},wi=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(Ci=function(e){return window.requestAnimationFrame(e)},wi=function(e){return window.cancelAnimationFrame(e)});var $i=0,Si=new Map;function ki(e){Si.delete(e)}var Ei=function(e){var t=$i+=1;return function n(r){if(0===r)ki(t),e();else{var o=Ci((function(){n(r-1)}));Si.set(t,o)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};function Oi(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}function Ii(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=new Set;return function e(t,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=r.has(t);if(me(!a,"Warning: There may be circular references"),a)return!1;if(t===o)return!0;if(n&&i>1)return!1;r.add(t);var l=i+1;if(Array.isArray(t)){if(!Array.isArray(o)||t.length!==o.length)return!1;for(var c=0;c<t.length;c++)if(!e(t[c],o[c],l))return!1;return!0}if(t&&o&&"object"===g(t)&&"object"===g(o)){var s=Object.keys(t);return s.length===Object.keys(o).length&&s.every((function(n){return e(t[n],o[n],l)}))}return!1}(e,t)}Ei.cancel=function(e){var t=Si.get(e);return ki(e),wi(t)};function Ni(e){return e.join("%")}var Mi=function(){function e(t){oi(this,e),v(this,"instanceId",void 0),v(this,"cache",new Map),this.instanceId=t}return ai(e,[{key:"get",value:function(e){return this.opGet(Ni(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(Ni(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}(),Pi="data-token-hash",ji="data-css-hash",Ri="__cssinjs_instance__";var Ti=e.createContext({hashPriority:"low",cache:function(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(ji,"]"))||[],n=document.head.firstChild;Array.from(t).forEach((function(t){t[Ri]=t[Ri]||e,t[Ri]===e&&document.head.insertBefore(t,n)}));var r={};Array.from(document.querySelectorAll("style[".concat(ji,"]"))).forEach((function(t){var n,o=t.getAttribute(ji);r[o]?t[Ri]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0}))}return new Mi(e)}(),defaultCache:!0});var zi=function(){function e(){oi(this,e),v(this,"cache",void 0),v(this,"keys",void 0),v(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return ai(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(e){var t;o?o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):o=void 0})),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce((function(e,t){var n=m(e,2)[1];return r.internalGet(t)[1]<n?[t,r.internalGet(t)[1]]:e}),[this.keys[0],this.cacheCallTimes]),i=m(o,1)[0];this.delete(i)}this.keys.push(t)}var a=this.cache;t.forEach((function(e,o){if(o===t.length-1)a.set(e,{value:[n,r.cacheCallTimes++]});else{var i=a.get(e);i?i.map||(i.map=new Map):a.set(e,{map:new Map}),a=a.get(e).map}}))}},{key:"deleteByPath",value:function(e,t){var n,r=e.get(t[0]);if(1===t.length)return r.map?e.set(t[0],{map:r.map}):e.delete(t[0]),null===(n=r.value)||void 0===n?void 0:n[0];var o=this.deleteByPath(r.map,t.slice(1));return r.map&&0!==r.map.size||r.value||e.delete(t[0]),o}},{key:"delete",value:function(e){if(this.has(e))return this.keys=this.keys.filter((function(t){return!function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,e)})),this.deleteByPath(this.cache,e)}}]),e}();v(zi,"MAX_CACHE_SIZE",20),v(zi,"MAX_CACHE_OFFSET",5);var Hi=0,Di=function(){function e(t){oi(this,e),v(this,"derivatives",void 0),v(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=Hi,0===t.length&&t.length,Hi+=1}return ai(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,n){return n(e,t)}),void 0)}}]),e}(),Bi=new zi;function Ai(e){var t=Array.isArray(e)?e:[e];return Bi.has(t)||Bi.set(t,new Di(t)),Bi.get(t)}var Li=new WeakMap,Fi={};var _i=new WeakMap;function Wi(e){var t=_i.get(e)||"";return t||(Object.keys(e).forEach((function(n){var r=e[n];t+=n,r instanceof Di?t+=r.id:r&&"object"===g(r)?t+=Wi(r):t+=r})),t=Oi(t),_i.set(e,t)),t}function Ki(e,t){return Oi("".concat(t,"_").concat(Wi(e)))}var Vi=U();function qi(e){return"number"==typeof e?"".concat(e,"px"):e}function Xi(e,t,n){var r;if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;var o=Y(Y({},arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}),{},(v(r={},Pi,t),v(r,ji,n),r)),i=Object.keys(o).map((function(e){var t=o[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"<style ".concat(i,">").concat(e,"</style>")}var Gi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},Yi=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var t=m(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")})).join(""),"}"):""},Ui=function(e,t,n){var r={},o={};return Object.entries(e).forEach((function(e){var t,i,a=m(e,2),l=a[0],c=a[1];if(null!=n&&null!==(t=n.preserve)&&void 0!==t&&t[l])o[l]=c;else if(!("string"!=typeof c&&"number"!=typeof c||null!=n&&null!==(i=n.ignore)&&void 0!==i&&i[l])){var s,u=Gi(l,null==n?void 0:n.prefix);r[u]="number"!=typeof c||null!=n&&null!==(s=n.unitless)&&void 0!==s&&s[l]?String(c):"".concat(c,"px"),o[l]="var(".concat(u,")")}})),[o,Yi(r,t,{scope:null==n?void 0:n.scope})]},Qi=U()?e.useLayoutEffect:e.useEffect,Zi=function(t,n){var r=e.useRef(!0);Qi((function(){return t(r.current)}),n),Qi((function(){return r.current=!1,function(){r.current=!0}}),[])},Ji=function(e,t){Zi((function(t){if(!t)return e()}),t)},ea=Y({},o).useInsertionEffect,ta=ea?function(e,t,n){return ea((function(){return e(),t()}),n)}:function(t,n,r){e.useMemo(t,r),Zi((function(){return n(!0)}),r)},na=void 0!==Y({},o).useInsertionEffect?function(t){var n=[],r=!1;return e.useEffect((function(){return r=!1,function(){r=!0,n.length&&n.forEach((function(e){return e()}))}}),t),function(e){r||n.push(e)}}:function(){return function(e){e()}};function ra(t,n,r,o,i){var a=e.useContext(Ti).cache,l=Ni([t].concat(xi(n))),c=na([l]),s=function(e){a.opUpdate(l,(function(t){var n=m(t||[void 0,void 0],2),o=n[0],i=[void 0===o?0:o,n[1]||r()];return e?e(i):i}))};e.useMemo((function(){s()}),[l]);var u=a.opGet(l)[1];return ta((function(){null==i||i(u)}),(function(e){return s((function(t){var n=m(t,2),r=n[0],o=n[1];return e&&0===r&&(null==i||i(u)),[r+1,o]})),function(){a.opUpdate(l,(function(t){var n=m(t||[],2),r=n[0],i=void 0===r?0:r,s=n[1];return 0===i-1?(c((function(){!e&&a.opGet(l)||null==o||o(s,!1)})),null):[i-1,s]}))}}),[l]),u}var oa={},ia=new Map;function aa(e,t){ia.set(e,(ia.get(e)||0)-1);var n=Array.from(ia.keys()),r=n.filter((function(e){return(ia.get(e)||0)<=0}));n.length-r.length>0&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(Pi,'="').concat(e,'"]')).forEach((function(e){var n;e[Ri]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),ia.delete(e)}))}var la="token";function ca(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=e.useContext(Ti),i=o.cache.instanceId,a=o.container,l=r.salt,c=void 0===l?"":l,s=r.override,u=void 0===s?oa:s,d=r.formatToken,f=r.getComputedToken,p=r.cssVar,g=function(e,t){for(var n=Li,r=0;r<t.length;r+=1){var o=t[r];n.has(o)||n.set(o,new WeakMap),n=n.get(o)}return n.has(Fi)||n.set(Fi,e()),n.get(Fi)}((function(){return Object.assign.apply(Object,[{}].concat(xi(n)))}),n),h=Wi(g),v=Wi(u),b=p?Wi(p):"",y=ra(la,[c,t.id,h,v,b],(function(){var e,n=f?f(g,u,t):function(e,t,n,r){var o=Y(Y({},n.getDerivativeToken(e)),t);return r&&(o=r(o)),o}(g,u,t,d),r=Y({},n),o="";if(p){var i=m(Ui(n,p.key,{prefix:p.prefix,ignore:p.ignore,unitless:p.unitless,preserve:p.preserve}),2);n=i[0],o=i[1]}var a=Ki(n,c);n._tokenKey=a,r._tokenKey=Ki(r,c);var l=null!==(e=null==p?void 0:p.key)&&void 0!==e?e:a;n._themeKey=l,function(e){ia.set(e,(ia.get(e)||0)+1)}(l);var s="".concat("css","-").concat(Oi(a));return n._hashId=s,[n,s,r,o,(null==p?void 0:p.key)||""]}),(function(e){aa(e[0]._themeKey,i)}),(function(e){var t=m(e,4),n=t[0],r=t[3];if(p&&r){var o=le(r,Oi("css-variables-".concat(n._themeKey)),{mark:ji,prepend:"queue",attachTo:a,priority:-999});o[Ri]=i,o.setAttribute(Pi,n._themeKey)}}));return y}var sa={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ua="comm",da="rule",fa="decl",pa=Math.abs,ma=String.fromCharCode;function ga(e){return e.trim()}function ha(e,t,n){return e.replace(t,n)}function va(e,t,n){return e.indexOf(t,n)}function ba(e,t){return 0|e.charCodeAt(t)}function ya(e,t,n){return e.slice(t,n)}function xa(e){return e.length}function Ca(e,t){return t.push(e),e}var wa=1,$a=1,Sa=0,ka=0,Ea=0,Oa="";function Ia(e,t,n,r,o,i,a,l){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:wa,column:$a,length:a,return:"",siblings:l}}function Na(){return Ea=ka<Sa?ba(Oa,ka++):0,$a++,10===Ea&&($a=1,wa++),Ea}function Ma(){return ba(Oa,ka)}function Pa(){return ka}function ja(e,t){return ya(Oa,e,t)}function Ra(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ta(e){return ga(ja(ka-1,Da(91===e?e+2:40===e?e+1:e)))}function za(e){for(;(Ea=Ma())&&Ea<33;)Na();return Ra(e)>2||Ra(Ea)>3?"":" "}function Ha(e,t){for(;--t&&Na()&&!(Ea<48||Ea>102||Ea>57&&Ea<65||Ea>70&&Ea<97););return ja(e,Pa()+(t<6&&32==Ma()&&32==Na()))}function Da(e){for(;Na();)switch(Ea){case e:return ka;case 34:case 39:34!==e&&39!==e&&Da(Ea);break;case 40:41===e&&Da(e);break;case 92:Na()}return ka}function Ba(e,t){for(;Na()&&e+Ea!==57&&(e+Ea!==84||47!==Ma()););return"/*"+ja(t,ka-1)+"*"+ma(47===e?e:Na())}function Aa(e){for(;!Ra(Ma());)Na();return ja(e,ka)}function La(e){return function(e){return Oa="",e}(Fa("",null,null,null,[""],e=function(e){return wa=$a=1,Sa=xa(Oa=e),ka=0,[]}(e),0,[0],e))}function Fa(e,t,n,r,o,i,a,l,c){for(var s=0,u=0,d=a,f=0,p=0,m=0,g=1,h=1,v=1,b=0,y="",x=o,C=i,w=r,$=y;h;)switch(m=b,b=Na()){case 40:if(108!=m&&58==ba($,d-1)){-1!=va($+=ha(Ta(b),"&","&\f"),"&\f",pa(s?l[s-1]:0))&&(v=-1);break}case 34:case 39:case 91:$+=Ta(b);break;case 9:case 10:case 13:case 32:$+=za(m);break;case 92:$+=Ha(Pa()-1,7);continue;case 47:switch(Ma()){case 42:case 47:Ca(Wa(Ba(Na(),Pa()),t,n,c),c),5!=Ra(m||1)&&5!=Ra(Ma()||1)||!xa($)||" "===ya($,-1,void 0)||($+=" ");break;default:$+="/"}break;case 123*g:l[s++]=xa($)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==v&&($=ha($,/\f/g,"")),p>0&&(xa($)-d||0===g&&47===m)&&Ca(p>32?Ka($+";",r,n,d-1,c):Ka(ha($," ","")+";",r,n,d-2,c),c);break;case 59:$+=";";default:if(Ca(w=_a($,t,n,s,u,o,l,y,x=[],C=[],d,i),i),123===b)if(0===u)Fa($,t,w,w,x,i,d,l,C);else{switch(f){case 99:if(110===ba($,3))break;case 108:if(97===ba($,2))break;default:u=0;case 100:case 109:case 115:}u?Fa(e,w,w,r&&Ca(_a(e,w,w,0,0,o,l,y,o,x=[],d,C),C),o,C,d,l,r?x:C):Fa($,w,w,w,[""],C,0,l,C)}}s=u=p=0,g=v=1,y=$="",d=a;break;case 58:d=1+xa($),p=m;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==(Ea=ka>0?ba(Oa,--ka):0,$a--,10===Ea&&($a=1,wa--),Ea))continue;switch($+=ma(b),b*g){case 38:v=u>0?1:($+="\f",-1);break;case 44:l[s++]=(xa($)-1)*v,v=1;break;case 64:45===Ma()&&($+=Ta(Na())),f=Ma(),u=d=xa(y=$+=Aa(Pa())),b++;break;case 45:45===m&&2==xa($)&&(g=0)}}return i}function _a(e,t,n,r,o,i,a,l,c,s,u,d){for(var f=o-1,p=0===o?i:[""],m=function(e){return e.length}(p),g=0,h=0,v=0;g<r;++g)for(var b=0,y=ya(e,f+1,f=pa(h=a[g])),x=e;b<m;++b)(x=ga(h>0?p[b]+" "+y:ha(y,/&\f/g,p[b])))&&(c[v++]=x);return Ia(e,t,n,0===o?da:l,c,s,u,d)}function Wa(e,t,n,r){return Ia(e,t,n,ua,ma(Ea),ya(e,2,-2),0,r)}function Ka(e,t,n,r,o){return Ia(e,t,n,fa,ya(e,0,r),ya(e,r+1,-1),r,o)}function Va(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function qa(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case fa:return e.return=e.return||e.value;case ua:return"";case"@keyframes":return e.return=e.value+"{"+Va(e.children,r)+"}";case da:if(!xa(e.value=e.props.join(",")))return""}return xa(n=Va(e.children,r))?e.return=e.value+"{"+n+"}":""}var Xa,Ga="data-ant-cssinjs-cache-path",Ya="_FILE_STYLE__",Ua=!0;function Qa(e){return function(){if(!Xa&&(Xa={},U())){var e=document.createElement("div");e.className=Ga,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var t=m(e.split(":"),2),n=t[0],r=t[1];Xa[n]=r}));var n,r=document.querySelector("style[".concat(Ga,"]"));r&&(Ua=!1,null===(n=r.parentNode)||void 0===n||n.removeChild(r)),document.body.removeChild(e)}}(),!!Xa[e]}var Za="_multi_value_";function Ja(e){return Va(La(e),qa).replace(/\{%%%\:[^;];}/g,";")}function el(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat(xi(n.slice(1))).join(" ")})).join(",")}var tl=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,i=r.injectHash,a=r.parentSelectors,l=n.hashId,c=n.layer;n.path;var s=n.hashPriority,u=n.transformers,d=void 0===u?[]:u;n.linters;var f="",p={};function h(t){var r=t.getName(l);if(!p[r]){var o=m(e(t.style,n,{root:!1,parentSelectors:a}),1)[0];p[r]="@keyframes ".concat(t.getName(l)).concat(o)}}var v=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){Array.isArray(t)?e(t,n):t&&n.push(t)})),n}(Array.isArray(t)?t:[t]);return v.forEach((function(t){var r="string"!=typeof t||o?t:{};if("string"==typeof r)f+="".concat(r,"\n");else if(r._keyframe)h(r);else{var c=d.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r);Object.keys(c).forEach((function(t){var r=c[t];if("object"!==g(r)||!r||"animationName"===t&&r._keyframe||function(e){return"object"===g(e)&&e&&("_skip_check_"in e||Za in e)}(r)){let e=function(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;sa[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(h(t),r=t.getName(l)),f+="".concat(n,":").concat(r,";")};var u,d=null!==(u=null==r?void 0:r.value)&&void 0!==u?u:r;"object"===g(r)&&null!=r&&r[Za]&&Array.isArray(d)?d.forEach((function(n){e(t,n)})):e(t,d)}else{var v=!1,b=t.trim(),y=!1;(o||i)&&l?b.startsWith("@")?v=!0:b=el("&"===b?"":t,l,s):!o||l||"&"!==b&&""!==b||(b="",y=!0);var x=m(e(r,n,{root:y,injectHash:v,parentSelectors:[].concat(xi(a),[b])}),2),C=x[0],w=x[1];p=Y(Y({},p),w),f+="".concat(b).concat(C)}}))}})),o?c&&(f&&(f="@layer ".concat(c.name," {").concat(f,"}")),c.dependencies&&(p["@layer ".concat(c.name)]=c.dependencies.map((function(e){return"@layer ".concat(e,", ").concat(c.name,";")})).join("\n"))):f="{".concat(f,"}"),[f,p]};function nl(e,t){return Oi("".concat(e.join("%")).concat(t))}function rl(){return null}var ol="style";function il(t,n){var r=t.token,o=t.path,i=t.hashId,a=t.layer,l=t.nonce,c=t.clientOnly,u=t.order,d=void 0===u?0:u,f=e.useContext(Ti),p=f.autoClear;f.mock;var g=f.defaultCache,h=f.hashPriority,b=f.container,y=f.ssrInline,x=f.transformers,C=f.linters,w=f.cache,$=f.layer,S=r._tokenKey,k=[S];$&&k.push("layer"),k.push.apply(k,xi(o));var E=Vi,O=ra(ol,k,(function(){var e=k.join("|");if(Qa(e)){var t=function(e){var t=Xa[e],n=null;if(t&&U())if(Ua)n=Ya;else{var r=document.querySelector("style[".concat(ji,'="').concat(Xa[e],'"]'));r?n=r.innerHTML:delete Xa[e]}return[n,t]}(e),r=m(t,2),l=r[0],s=r[1];if(l)return[l,S,s,{},c,d]}var u=n(),f=m(tl(u,{hashId:i,hashPriority:h,layer:$?a:void 0,path:o.join("-"),transformers:x,linters:C}),2),p=f[0],g=f[1],v=Ja(p),b=nl(k,v);return[v,S,b,g,c,d]}),(function(e,t){var n=m(e,3)[2];(t||p)&&Vi&&ae(n,{mark:ji})}),(function(e){var t=m(e,4),n=t[0];t[1];var r=t[2],o=t[3];if(E&&n!==Ya){var i={mark:ji,prepend:!$&&"queue",attachTo:b,priority:d},a="function"==typeof l?l():l;a&&(i.csp={nonce:a});var c=[],s=[];Object.keys(o).forEach((function(e){e.startsWith("@layer")?c.push(e):s.push(e)})),c.forEach((function(e){le(Ja(o[e]),"_layer-".concat(e),Y(Y({},i),{},{prepend:!0}))}));var u=le(n,r,i);u[Ri]=w.instanceId,u.setAttribute(Pi,S),s.forEach((function(e){le(Ja(o[e]),"_effect-".concat(e),i)}))}})),I=m(O,3),N=I[0],M=I[1],P=I[2];return function(t){var n,r;y&&!E&&g?n=e.createElement("style",s({},(v(r={},Pi,M),v(r,ji,P),r),{dangerouslySetInnerHTML:{__html:N}})):n=e.createElement(rl,null);return e.createElement(e.Fragment,null,n,t)}}var al,ll="cssVar";v(al={},ol,(function(e,t,n){var r=m(e,6),o=r[0],i=r[1],a=r[2],l=r[3],c=r[4],s=r[5],u=(n||{}).plain;if(c)return null;var d=o,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(s)};return d=Xi(o,i,a,f,u),l&&Object.keys(l).forEach((function(e){if(!t[e]){t[e]=!0;var n=Xi(Ja(l[e]),i,"_effect-".concat(e),f,u);e.startsWith("@layer")?d=n+d:d+=n}})),[s,a,d]})),v(al,la,(function(e,t,n){var r=m(e,5),o=r[2],i=r[3],a=r[4],l=(n||{}).plain;if(!i)return null;var c=o._tokenKey;return[-999,c,Xi(i,a,c,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]})),v(al,ll,(function(e,t,n){var r=m(e,4),o=r[1],i=r[2],a=r[3],l=(n||{}).plain;if(!o)return null;return[-999,i,Xi(o,a,i,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]}));var cl=function(){function e(t,n){oi(this,e),v(this,"name",void 0),v(this,"style",void 0),v(this,"_keyframe",!0),this.name=t,this.style=n}return ai(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();function sl(e){return e.notSplit=!0,e}function ul(e){return u(e)||yi(e)||f(e)||p()}function dl(e,t){for(var n=e,r=0;r<t.length;r+=1){if(null==n)return;n=n[t[r]]}return n}function fl(e,t,n,r){if(!t.length)return n;var o,i=ul(t),a=i[0],l=i.slice(1);return o=e||"number"!=typeof a?Array.isArray(e)?xi(e):Y({},e):[],r&&void 0===n&&1===l.length?delete o[a][l[0]]:o[a]=fl(o[a],l,n,r),o}function pl(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!dl(e,t.slice(0,-1))?e:fl(e,t,n,r)}function ml(e){return Array.isArray(e)?[]:{}}sl(["borderTop","borderBottom"]),sl(["borderTop"]),sl(["borderBottom"]),sl(["borderLeft","borderRight"]),sl(["borderLeft"]),sl(["borderRight"]);var gl="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function hl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=ml(t[0]);return t.forEach((function(e){!function t(n,o){var i,a=new Set(o),l=dl(e,n),c=Array.isArray(l);if(c||"object"===g(i=l)&&null!==i&&Object.getPrototypeOf(i)===Object.prototype){if(!a.has(l)){a.add(l);var s=dl(r,n);c?r=pl(r,n,[]):s&&"object"===g(s)||(r=pl(r,n,ml(l))),gl(l).forEach((function(e){t([].concat(xi(n),[e]),a)}))}}else r=pl(r,n,l)}([])})),r}function vl(){}const bl=e.createContext({}),yl=()=>{const e=()=>{};return e.deprecated=vl,e},xl=e.createContext(void 0);var Cl={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},wl=Y(Y({},{yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const $l={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Sl={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},wl),timePickerLocale:Object.assign({},$l)},kl="${label} is not a valid ${type}",El={locale:"en",Pagination:Cl,DatePicker:Sl,TimePicker:$l,Calendar:Sl,global:{placeholder:"Please select",close:"Close"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckAll:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:kl,method:kl,array:kl,object:kl,number:kl,date:kl,boolean:kl,integer:kl,float:kl,regexp:kl,email:kl,url:kl,hex:kl},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};let Ol=Object.assign({},El.Modal),Il=[];const Nl=()=>Il.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),El.Modal);function Ml(){return Ol}const Pl=e.createContext(void 0),jl=(t,n)=>{const r=e.useContext(Pl);return[e.useMemo((()=>{var e;const o=n||El[t],i=null!==(e=null==r?void 0:r[t])&&void 0!==e?e:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),i||{})}),[t,n,r]),e.useMemo((()=>{const e=null==r?void 0:r.locale;return(null==r?void 0:r.exist)&&!e?El.locale:e}),[r])]},Rl=t=>{const{locale:n={},children:r,_ANT_MARK__:o}=t;e.useEffect((()=>{const e=function(e){if(e){const t=Object.assign({},e);return Il.push(t),Ol=Nl(),()=>{Il=Il.filter((e=>e!==t)),Ol=Nl()}}Ol=Object.assign({},El.Modal)}(null==n?void 0:n.Modal);return e}),[n]);const i=e.useMemo((()=>Object.assign(Object.assign({},n),{exist:!0})),[n]);return e.createElement(Pl.Provider,{value:i},r)},Tl={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},zl=Object.assign(Object.assign({},Tl),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});const Hl=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};const Dl=e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}};function Bl(e){return(e+8)/e}const Al=e=>{const t=function(e){const t=Array.from({length:10}).map(((t,n)=>{const r=n-1,o=e*Math.pow(Math.E,r/5),i=n>1?Math.floor(o):Math.ceil(o);return 2*Math.floor(i/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:Bl(e)})))}(e),n=t.map((e=>e.size)),r=t.map((e=>e.lineHeight)),o=n[1],i=n[0],a=n[2],l=r[1],c=r[0],s=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:l,lineHeightLG:s,lineHeightSM:c,fontHeight:Math.round(l*o),fontHeightLG:Math.round(s*a),fontHeightSM:Math.round(c*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};const Ll=(e,t)=>new O(e).setA(t).toRgbString(),Fl=(e,t)=>new O(e).darken(t).toHexString(),_l=e=>{const t=j(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Wl=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Ll(r,.88),colorTextSecondary:Ll(r,.65),colorTextTertiary:Ll(r,.45),colorTextQuaternary:Ll(r,.25),colorFill:Ll(r,.15),colorFillSecondary:Ll(r,.06),colorFillTertiary:Ll(r,.04),colorFillQuaternary:Ll(r,.02),colorBgSolid:Ll(r,1),colorBgSolidHover:Ll(r,.75),colorBgSolidActive:Ll(r,.95),colorBgLayout:Fl(n,4),colorBgContainer:Fl(n,0),colorBgElevated:Fl(n,0),colorBgSpotlight:Ll(r,.85),colorBgBlur:"transparent",colorBorder:Fl(n,15),colorBorderSecondary:Fl(n,6)}};const Kl=Ai((function(e){R.pink=R.magenta,X.pink=X.magenta;const t=Object.keys(Tl).map((t=>{const n=e[t]===R[t]?X[t]:j(e[t]);return Array.from({length:10},(()=>1)).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>e=Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),function(e,{generateColorPalettes:t,generateNeutralColorPalettes:n}){const{colorSuccess:r,colorWarning:o,colorError:i,colorInfo:a,colorPrimary:l,colorBgBase:c,colorTextBase:s}=e,u=t(l),d=t(r),f=t(o),p=t(i),m=t(a),g=n(c,s),h=t(e.colorLink||e.colorInfo),v=new O(p[1]).mix(new O(p[3]),50).toHexString();return Object.assign(Object.assign({},g),{colorPrimaryBg:u[1],colorPrimaryBgHover:u[2],colorPrimaryBorder:u[3],colorPrimaryBorderHover:u[4],colorPrimaryHover:u[5],colorPrimary:u[6],colorPrimaryActive:u[7],colorPrimaryTextHover:u[8],colorPrimaryText:u[9],colorPrimaryTextActive:u[10],colorSuccessBg:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:p[1],colorErrorBgHover:p[2],colorErrorBgFilledHover:v,colorErrorBgActive:p[3],colorErrorBorder:p[3],colorErrorBorderHover:p[4],colorErrorHover:p[5],colorError:p[6],colorErrorActive:p[7],colorErrorTextHover:p[8],colorErrorText:p[9],colorErrorTextActive:p[10],colorWarningBg:f[1],colorWarningBgHover:f[2],colorWarningBorder:f[3],colorWarningBorderHover:f[4],colorWarningHover:f[4],colorWarning:f[6],colorWarningActive:f[7],colorWarningTextHover:f[8],colorWarningText:f[9],colorWarningTextActive:f[10],colorInfoBg:m[1],colorInfoBgHover:m[2],colorInfoBorder:m[3],colorInfoBorderHover:m[4],colorInfoHover:m[4],colorInfo:m[6],colorInfoActive:m[7],colorInfoTextHover:m[8],colorInfoText:m[9],colorInfoTextActive:m[10],colorLinkHover:h[4],colorLink:h[6],colorLinkActive:h[7],colorBgMask:new O("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}(e,{generateColorPalettes:_l,generateNeutralColorPalettes:Wl})),Al(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),Dl(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},Hl(r))}(e))})),Vl={token:zl,override:{override:zl},hashed:!0},ql=n.createContext(Vl),Xl="ant",Gl="anticon",Yl=["outlined","borderless","filled","underlined"],Ul=e.createContext({getPrefixCls:(e,t)=>t||(e?`${Xl}-${e}`:Xl),iconPrefixCls:Gl}),Ql={};function Zl(t){const n=e.useContext(Ul),{getPrefixCls:r,direction:o,getPopupContainer:i}=n,a=n[t];return Object.assign(Object.assign({classNames:Ql,styles:Ql},a),{getPrefixCls:r,direction:o,getPopupContainer:i})}const Jl=`-ant-${Date.now()}-${Math.random()}`;function ec(e,t){const n=function(e,t){const n={},r=(e,t)=>{let n=e.clone();return n=(null==t?void 0:t(n))||n,n.toRgbString()},o=(e,t)=>{const o=new O(e),i=j(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setA(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");const e=new O(t.primaryColor),i=j(e.toRgbString());i.forEach(((e,t)=>{n[`primary-${t+1}`]=e})),n["primary-color-deprecated-l-35"]=r(e,(e=>e.lighten(35))),n["primary-color-deprecated-l-20"]=r(e,(e=>e.lighten(20))),n["primary-color-deprecated-t-20"]=r(e,(e=>e.tint(20))),n["primary-color-deprecated-t-50"]=r(e,(e=>e.tint(50))),n["primary-color-deprecated-f-12"]=r(e,(e=>e.setA(.12*e.a)));const a=new O(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,(e=>e.setA(.3*e.a))),n["primary-color-active-deprecated-d-02"]=r(a,(e=>e.darken(2)))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`\n :root {\n ${Object.keys(n).map((t=>`--${e}-${t}: ${n[t]};`)).join("\n")}\n }\n `.trim()}(e,t);U()&&le(n,`${Jl}-dynamic-theme`)}const tc=e.createContext(!1),nc=({children:t,disabled:n})=>{const r=e.useContext(tc);return e.createElement(tc.Provider,{value:null!=n?n:r},t)},rc=tc,oc=e.createContext(void 0),ic=({children:t,size:n})=>{const r=e.useContext(oc);return e.createElement(oc.Provider,{value:n||r},t)},ac=oc;var lc=ai((function e(){oi(this,e)})),cc="CALC_UNIT",sc=new RegExp(cc,"g");function uc(e){return"number"==typeof e?"".concat(e).concat(cc):e}var dc=function(){ci(t,lc);var e=pi(t);function t(n,r){var o;oi(this,t),v(di(o=e.call(this)),"result",""),v(di(o),"unitlessCssVar",void 0),v(di(o),"lowPriority",void 0);var i=g(n);return o.unitlessCssVar=r,n instanceof t?o.result="(".concat(n.result,")"):"number"===i?o.result=uc(n):"string"===i&&(o.result=n),o}return ai(t,[{key:"add",value:function(e){return e instanceof t?this.result="".concat(this.result," + ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," + ").concat(uc(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof t?this.result="".concat(this.result," - ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," - ").concat(uc(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof t?this.result="".concat(this.result," * ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof t?this.result="".concat(this.result," / ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,n=(e||{}).unit,r=!0;return"boolean"==typeof n?r=n:Array.from(this.unitlessCssVar).some((function(e){return t.result.includes(e)}))&&(r=!1),this.result=this.result.replace(sc,r?"px":""),void 0!==this.lowPriority?"calc(".concat(this.result,")"):this.result}}]),t}(),fc=function(){ci(t,lc);var e=pi(t);function t(n){var r;return oi(this,t),v(di(r=e.call(this)),"result",0),n instanceof t?r.result=n.result:"number"==typeof n&&(r.result=n),r}return ai(t,[{key:"add",value:function(e){return e instanceof t?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof t?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof t?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof t?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),t}(),pc=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function mc(t){var n=e.useRef();n.current=t;var r=e.useCallback((function(){for(var e,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return null===(e=n.current)||void 0===e?void 0:e.call.apply(e,[n].concat(r))}),[]);return r}function gc(t){var n=e.useRef(!1),r=m(e.useState(t),2),o=r[0],i=r[1];return e.useEffect((function(){return n.current=!1,function(){n.current=!0}}),[]),[o,function(e,t){t&&n.current||i(e)}]}function hc(e){return void 0!==e}function vc(e,t){var n=t||{},r=n.defaultValue,o=n.value,i=n.onChange,a=n.postState,l=m(gc((function(){return hc(o)?o:hc(r)?"function"==typeof r?r():r:"function"==typeof e?e():e})),2),c=l[0],s=l[1],u=void 0!==o?o:c,d=a?a(u):u,f=mc(i),p=m(gc([u]),2),g=p[0],h=p[1];return Ji((function(){var e=g[0];c!==e&&f(c,e)}),[g]),Ji((function(){hc(o)||s(o)}),[o]),[d,mc((function(e,t){s(e,t),h([u],t)}))]}function bc(e,t,n,r){var o=Y({},t[e]);null!=r&&r.deprecatedTokens&&r.deprecatedTokens.forEach((function(e){var t,n=m(e,2),r=n[0],i=n[1];(null!=o&&o[r]||null!=o&&o[i])&&(null!==(t=o[i])&&void 0!==t||(o[i]=null==o?void 0:o[r]))}));var i=Y(Y({},n),o);return Object.keys(i).forEach((function(e){i[e]===t[e]&&delete i[e]})),i}var yc="undefined"!=typeof CSSINJS_STATISTIC,xc=!0;function Cc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!yc)return Object.assign.apply(Object,[{}].concat(t));xc=!1;var r={};return t.forEach((function(e){"object"===g(e)&&Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{configurable:!0,enumerable:!0,get:function(){return e[t]}})}))})),xc=!0,r}var wc={};function $c(){}function Sc(e,t,n){var r;return"function"==typeof n?n(Cc(t,null!==(r=t[e])&&void 0!==r?r:{})):null!=n?n:{}}var kc=new(function(){function e(){oi(this,e),v(this,"map",new Map),v(this,"objectIDMap",new WeakMap),v(this,"nextID",0),v(this,"lastAccessBeat",new Map),v(this,"accessBeat",0)}return ai(e,[{key:"set",value:function(e,t){this.clear();var n=this.getCompositeKey(e);this.map.set(n,t),this.lastAccessBeat.set(n,Date.now())}},{key:"get",value:function(e){var t=this.getCompositeKey(e),n=this.map.get(t);return this.lastAccessBeat.set(t,Date.now()),this.accessBeat+=1,n}},{key:"getCompositeKey",value:function(e){var t=this;return e.map((function(e){return e&&"object"===g(e)?"obj_".concat(t.getObjectID(e)):"".concat(g(e),"_").concat(e)})).join("|")}},{key:"getObjectID",value:function(e){if(this.objectIDMap.has(e))return this.objectIDMap.get(e);var t=this.nextID;return this.objectIDMap.set(e,t),this.nextID+=1,t}},{key:"clear",value:function(){var e=this;if(this.accessBeat>1e4){var t=Date.now();this.lastAccessBeat.forEach((function(n,r){t-n>6e5&&(e.map.delete(r),e.lastAccessBeat.delete(r))})),this.accessBeat=0}}}]),e}());var Ec=function(){return{}};const Oc=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function Ic(e){return e>=0&&e<=255}function Nc(e,t){const{r:n,g:r,b:o,a:i}=new O(e).toRgb();if(i<1)return e;const{r:a,g:l,b:c}=new O(t).toRgb();for(let s=.01;s<=1;s+=.01){const e=Math.round((n-a*(1-s))/s),t=Math.round((r-l*(1-s))/s),i=Math.round((o-c*(1-s))/s);if(Ic(e)&&Ic(t)&&Ic(i))return new O({r:e,g:t,b:i,a:Math.round(100*s)/100}).toRgbString()}return new O({r:n,g:r,b:o,a:1}).toRgbString()}var Mc=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function Pc(e){const{override:t}=e,n=Mc(e,["override"]),r=Object.assign({},t);Object.keys(zl).forEach((e=>{delete r[e]}));const o=Object.assign(Object.assign({},n),r),i=1200,a=1600;if(!1===o.motion){const e="0s";o.motionDurationFast=e,o.motionDurationMid=e,o.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Nc(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:Nc(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Nc(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:3*o.lineWidth,lineWidth:o.lineWidth,controlOutlineWidth:2*o.lineWidth,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Nc(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:i,screenXLMin:i,screenXLMax:1599,screenXXL:a,screenXXLMin:a,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new O("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new O("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new O("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var jc=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Rc={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},Tc={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},zc={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},Hc=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:o}=t,i=jc(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=Pc(a),i&&Object.entries(i).forEach((([e,t])=>{const{theme:n}=t,r=jc(t,["theme"]);let o=r;n&&(o=Hc(Object.assign(Object.assign({},a),r),{override:r},n)),a[e]=o})),a};function Dc(){const{token:e,hashed:t,theme:r,override:o,cssVar:i}=n.useContext(ql),a=`5.25.2-${t||""}`,l=r||Kl,[c,s,u]=ca(l,[zl,e],{salt:a,override:o,getComputedToken:Hc,formatToken:Pc,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:Rc,ignore:Tc,preserve:zc}});return[l,u,t?s:"",c,i]}const Bc={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},Ac=(e,t=!1)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}),Lc=(e,t)=>({outline:`${qi(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:null!=t?t:1,transition:"outline-offset 0s, outline 0s"}),Fc=(e,t)=>({"&:focus-visible":Object.assign({},Lc(e,t))}),_c=e=>({[`.${e}`]:Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{[`.${e} .${e}-icon`]:{display:"block"}})}),Wc=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},Fc(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),{genStyleHooks:Kc,genComponentStyleHook:Vc,genSubStyleComponent:qc}=function(t){var r=t.useCSP,o=void 0===r?Ec:r,i=t.useToken,a=t.usePrefix,l=t.getResetStyles,c=t.getCommonStyle,s=t.getCompUnitless;function u(e,r,s){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},d=Array.isArray(e)?e:[e,e],f=m(d,1)[0],p=d.join("-"),h=t.layer||{name:"antd"};return function(e){var t,d,m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,v=i(),b=v.theme,y=v.realToken,x=v.hashId,C=v.token,w=v.cssVar,$=a(),S=$.rootPrefixCls,k=$.iconPrefixCls,E=o(),O=w?"css":"js",I=(t=function(){var e=new Set;return w&&Object.keys(u.unitless||{}).forEach((function(t){e.add(Gi(t,w.prefix)),e.add(Gi(t,pc(f,w.prefix)))})),function(e,t){var n="css"===e?dc:fc;return function(e){return new n(e,t)}}(O,e)},d=[O,f,null==w?void 0:w.prefix],n.useMemo((function(){var e=kc.get(d);if(e)return e;var n=t();return kc.set(d,n),n}),d)),N=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"max(".concat(t.map((function(e){return qi(e)})).join(","),")")},min:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"min(".concat(t.map((function(e){return qi(e)})).join(","),")")}}}(O),M=N.max,P=N.min,j={theme:b,token:C,hashId:x,nonce:function(){return E.nonce},clientOnly:u.clientOnly,layer:h,order:u.order||-999};"function"==typeof l&&il(Y(Y({},j),{},{clientOnly:!1,path:["Shared",S]}),(function(){return l(C,{prefix:{rootPrefixCls:S,iconPrefixCls:k},csp:E})}));var R=il(Y(Y({},j),{},{path:[p,e,k]}),(function(){if(!1===u.injectStyle)return[];var t=function(e){var t,n=e,r=$c;return yc&&"undefined"!=typeof Proxy&&(t=new Set,n=new Proxy(e,{get:function(e,n){var r;return xc&&(null===(r=t)||void 0===r||r.add(n)),e[n]}}),r=function(e,n){var r;wc[e]={global:Array.from(t),component:Y(Y({},null===(r=wc[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:r}}(C),n=t.token,o=t.flush,i=Sc(f,y,s),a=".".concat(e),l=bc(f,y,i,{deprecatedTokens:u.deprecatedTokens});w&&i&&"object"===g(i)&&Object.keys(i).forEach((function(e){i[e]="var(".concat(Gi(e,pc(f,w.prefix)),")")}));var d=Cc(n,{componentCls:a,prefixCls:e,iconCls:".".concat(k),antCls:".".concat(S),calc:I,max:M,min:P},w?i:l),p=r(d,{hashId:x,prefixCls:e,rootPrefixCls:S,iconPrefixCls:k});o(f,l);var h="function"==typeof c?c(d,e,m,u.resetFont):null;return[!1===u.resetStyle?null:h,p]}));return[R,x]}}return{genStyleHooks:function(t,r,o,a){var l=Array.isArray(t)?t[0]:t;function c(e){return"".concat(String(l)).concat(e.slice(0,1).toUpperCase()).concat(e.slice(1))}var d=(null==a?void 0:a.unitless)||{},f=Y(Y({},"function"==typeof s?s(t):{}),{},v({},c("zIndexPopup"),!0));Object.keys(d).forEach((function(e){f[c(e)]=d[e]}));var p=Y(Y({},a),{},{unitless:f,prefixToken:c}),g=u(t,r,o,p),h=function(t,r,o){var a=o.unitless,l=o.injectStyle,c=void 0===l||l,s=o.prefixToken,u=o.ignore,d=function(n){var l=n.rootCls,c=n.cssVar,d=void 0===c?{}:c,f=i().realToken;return function(t,n){var r=t.key,o=t.prefix,i=t.unitless,a=t.ignore,l=t.token,c=t.scope,s=void 0===c?"":c,u=e.useContext(Ti),d=u.cache.instanceId,f=u.container,p=l._tokenKey,g=[].concat(xi(t.path),[r,s,p]);ra(ll,g,(function(){var e=n(),t=m(Ui(e,r,{prefix:o,unitless:i,ignore:a,scope:s}),2),l=t[0],c=t[1];return[l,c,nl(g,c),r]}),(function(e){var t=m(e,3)[2];Vi&&ae(t,{mark:ji})}),(function(e){var t=m(e,3),n=t[1],o=t[2];if(n){var i=le(n,o,{mark:ji,prepend:"queue",attachTo:f,priority:-999});i[Ri]=d,i.setAttribute(Pi,r)}}))}({path:[t],prefix:d.prefix,key:d.key,unitless:a,ignore:u,token:f,scope:l},(function(){var e=Sc(t,f,r),n=bc(t,f,e,{deprecatedTokens:null==o?void 0:o.deprecatedTokens});return Object.keys(e).forEach((function(e){n[s(e)]=n[e],delete n[e]})),n})),null},f=function(e){var r=i().cssVar;return[function(o){return c&&r?n.createElement(n.Fragment,null,n.createElement(d,{rootCls:e,cssVar:r,component:t}),o):o},null==r?void 0:r.key]};return f}(l,o,p);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=m(g(e,t),2)[1],r=m(h(t),2);return[r[0],n,r[1]]}},genSubStyleComponent:function(e,t,n){var r=u(e,t,n,Y({resetStyle:!1,order:-998},arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}));return function(e){var t=e.prefixCls,n=e.rootCls;return r(t,void 0===n?t:n),null}},genComponentStyleHook:u}}({usePrefix:()=>{const{getPrefixCls:t,iconPrefixCls:n}=e.useContext(Ul);return{rootPrefixCls:t(),iconPrefixCls:n}},useToken:()=>{const[e,t,n,r,o]=Dc();return{theme:e,realToken:t,hashId:n,token:r,cssVar:o}},useCSP:()=>{const{csp:t}=e.useContext(Ul);return null!=t?t:{}},getResetStyles:(e,t)=>{var n;const r=(e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}))(e);return[r,{"&":r},_c(null!==(n=null==t?void 0:t.prefix.iconPrefixCls)&&void 0!==n?n:Gl)]},getCommonStyle:(e,t,n,r)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let l={};return!1!==r&&(l={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},l),a),{[o]:a})}},getCompUnitless:()=>Rc});function Xc(e,t){return Oc.reduce(((n,r)=>{const o=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],l=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:l}))}),{})}const Gc=(e,t)=>{const[n,r]=Dc();return il({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},(()=>[_c(e)]))},Yc=Object.assign({},o),{useId:Uc}=Yc,Qc=void 0===Uc?()=>"":Uc;var Zc=["children"],Jc=e.createContext({});function es(t){var n=t.children,r=b(t,Zc);return e.createElement(Jc.Provider,{value:r},n)}var ts=function(){ci(n,e.Component);var t=pi(n);function n(){return oi(this,n),t.apply(this,arguments)}return ai(n,[{key:"render",value:function(){return this.props.children}}]),n}();var ns="none",rs="appear",os="enter",is="leave",as="none",ls="prepare",cs="start",ss="active",us="end",ds="prepared";function fs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var ps,ms,gs,hs=(ps=U(),ms="undefined"!=typeof window?window:{},gs={animationend:fs("Animation","AnimationEnd"),transitionend:fs("Transition","TransitionEnd")},ps&&("AnimationEvent"in ms||delete gs.animationend.animation,"TransitionEvent"in ms||delete gs.transitionend.transition),gs),vs={};if(U()){var bs=document.createElement("div");vs=bs.style}var ys={};function xs(e){if(ys[e])return ys[e];var t=hs[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var i=n[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in vs)return ys[e]=t[i],ys[e]}return""}var Cs=xs("animationend"),ws=xs("transitionend"),$s=!(!Cs||!ws),Ss=Cs||"animationend",ks=ws||"transitionend";function Es(e,t){return e?"object"===g(e)?e[t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}))]:"".concat(e,"-").concat(t):null}var Os=U()?e.useLayoutEffect:e.useEffect;var Is=[ls,cs,ss,us],Ns=[ls,ds],Ms=!1;function Ps(e){return e===ss||e===us}const js=function(t,n,r){var o=m(gc(as),2),i=o[0],a=o[1],l=function(){var t=e.useRef(null);function n(){Ei.cancel(t.current)}return e.useEffect((function(){return function(){n()}}),[]),[function e(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;n();var i=Ei((function(){o<=1?r({isCanceled:function(){return i!==t.current}}):e(r,o-1)}));t.current=i},n]}(),c=m(l,2),s=c[0],u=c[1];var d=n?Ns:Is;return Os((function(){if(i!==as&&i!==us){var e=d.indexOf(i),t=d[e+1],n=r(i);n===Ms?a(t,!0):t&&s((function(e){function r(){e.isCanceled()||a(t,!0)}!0===n?r():Promise.resolve(n).then(r)}))}}),[t,i]),e.useEffect((function(){return function(){u()}}),[]),[function(){a(ls,!0)},i]};function Rs(t,n,r,o){var i,a,l,c=o.motionEnter,s=void 0===c||c,u=o.motionAppear,d=void 0===u||u,f=o.motionLeave,p=void 0===f||f,g=o.motionDeadline,h=o.motionLeaveImmediately,b=o.onAppearPrepare,y=o.onEnterPrepare,x=o.onLeavePrepare,C=o.onAppearStart,w=o.onEnterStart,$=o.onLeaveStart,S=o.onAppearActive,k=o.onEnterActive,E=o.onLeaveActive,O=o.onAppearEnd,I=o.onEnterEnd,N=o.onLeaveEnd,M=o.onVisibleChanged,P=m(gc(),2),j=P[0],R=P[1],T=(i=ns,a=m(e.useReducer((function(e){return e+1}),0),2)[1],l=e.useRef(i),[mc((function(){return l.current})),mc((function(e){l.current="function"==typeof e?e(l.current):e,a()}))]),z=m(T,2),H=z[0],D=z[1],B=m(gc(null),2),A=B[0],L=B[1],F=H(),_=e.useRef(!1),W=e.useRef(null);function K(){return r()}var V=e.useRef(!1);function q(){D(ns),L(null,!0)}var X=mc((function(e){var t=H();if(t!==ns){var n=K();if(!e||e.deadline||e.target===n){var r,o=V.current;t===rs&&o?r=null==O?void 0:O(n,e):t===os&&o?r=null==I?void 0:I(n,e):t===is&&o&&(r=null==N?void 0:N(n,e)),o&&!1!==r&&q()}}})),G=function(t){var n=e.useRef();function r(e){e&&(e.removeEventListener(ks,t),e.removeEventListener(Ss,t))}return e.useEffect((function(){return function(){r(n.current)}}),[]),[function(e){n.current&&n.current!==e&&r(n.current),e&&e!==n.current&&(e.addEventListener(ks,t),e.addEventListener(Ss,t),n.current=e)},r]}(X),U=m(G,1)[0],Q=function(e){switch(e){case rs:return v(v(v({},ls,b),cs,C),ss,S);case os:return v(v(v({},ls,y),cs,w),ss,k);case is:return v(v(v({},ls,x),cs,$),ss,E);default:return{}}},Z=e.useMemo((function(){return Q(F)}),[F]),J=m(js(F,!t,(function(e){if(e===ls){var t=Z[ls];return t?t(K()):Ms}var n;te in Z&&L((null===(n=Z[te])||void 0===n?void 0:n.call(Z,K(),null))||null);return te===ss&&F!==ns&&(U(K()),g>0&&(clearTimeout(W.current),W.current=setTimeout((function(){X({deadline:!0})}),g))),te===ds&&q(),true})),2),ee=J[0],te=J[1],ne=Ps(te);V.current=ne;var re=e.useRef(null);Os((function(){if(!_.current||re.current!==n){R(n);var e,r=_.current;_.current=!0,!r&&n&&d&&(e=rs),r&&n&&s&&(e=os),(r&&!n&&p||!r&&h&&!n&&p)&&(e=is);var o=Q(e);e&&(t||o[ls])?(D(e),ee()):D(ns),re.current=n}}),[n]),e.useEffect((function(){(F===rs&&!d||F===os&&!s||F===is&&!p)&&D(ns)}),[d,s,p]),e.useEffect((function(){return function(){_.current=!1,clearTimeout(W.current)}}),[]);var oe=e.useRef(!1);e.useEffect((function(){j&&(oe.current=!0),void 0!==j&&F===ns&&((oe.current||j)&&(null==M||M(j)),oe.current=!0)}),[j,F]);var ie=A;return Z[ls]&&te===cs&&(ie=Y({transition:"none"},ie)),[F,te,ie,null!=j?j:n]}const Ts=function(t){var n=t;"object"===g(t)&&(n=t.transitionSupport);var r=e.forwardRef((function(t,r){var o=t.visible,i=void 0===o||o,a=t.removeOnLeave,l=void 0===a||a,c=t.forceRender,s=t.children,u=t.motionName,d=t.leavedClassName,f=t.eventProps,p=function(e,t){return!(!e.motionName||!n||!1===t)}(t,e.useContext(Jc).motion),g=e.useRef(),h=e.useRef();var b=m(Rs(p,i,(function(){try{return g.current instanceof HTMLElement?g.current:Po(h.current)}catch(y$){return null}}),t),4),y=b[0],x=b[1],C=b[2],$=b[3],S=e.useRef($);$&&(S.current=!0);var k,E=e.useCallback((function(e){g.current=e,wo(r,e)}),[r]),O=Y(Y({},f),{},{visible:i});if(s)if(y===ns)k=$?s(Y({},O),E):!l&&S.current&&d?s(Y(Y({},O),{},{className:d}),E):c||!l&&!d?s(Y(Y({},O),{},{style:{display:"none"}}),E):null;else{var I;x===ls?I="prepare":Ps(x)?I="active":x===cs&&(I="start");var N=Es(u,"".concat(y,"-").concat(I));k=s(Y(Y({},O),{},{className:w(Es(u,y),v(v({},N,N&&I),u,"string"==typeof u)),style:C}),E)}else k=null;e.isValidElement(k)&&ko(k)&&(Oo(k)||(k=e.cloneElement(k,{ref:E})));return e.createElement(ts,{ref:h},k)}));return r.displayName="CSSMotion",r}($s);var zs="add",Hs="keep",Ds="remove",Bs="removed";function As(e){var t;return Y(Y({},t=e&&"object"===g(e)&&"key"in e?e:{key:e}),{},{key:String(t.key)})}function Ls(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(As)}var Fs=["component","children","onVisibleChanged","onAllRemoved"],_s=["status"],Ws=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];const Ks=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ts,r=function(){ci(r,e.Component);var t=pi(r);function r(){var e;oi(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return v(di(e=t.call.apply(t,[this].concat(o))),"state",{keyEntities:[]}),v(di(e),"removeKey",(function(t){e.setState((function(e){return{keyEntities:e.keyEntities.map((function(e){return e.key!==t?e:Y(Y({},e),{},{status:Bs})}))}}),(function(){0===e.state.keyEntities.filter((function(e){return e.status!==Bs})).length&&e.props.onAllRemoved&&e.props.onAllRemoved()}))})),e}return ai(r,[{key:"render",value:function(){var t=this,r=this.state.keyEntities,o=this.props,i=o.component,a=o.children,l=o.onVisibleChanged;o.onAllRemoved;var c=b(o,Fs),u=i||e.Fragment,d={};return Ws.forEach((function(e){d[e]=c[e],delete c[e]})),delete c.keys,e.createElement(u,c,r.map((function(r,o){var i=r.status,c=b(r,_s),u=i===zs||i===Hs;return e.createElement(n,s({},d,{key:c.key,visible:u,eventProps:c,onVisibleChanged:function(e){null==l||l(e,{key:c.key}),e||t.removeKey(c.key)}}),(function(e,t){return a(Y(Y({},e),{},{index:o}),t)}))})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,r=t.keyEntities,o=Ls(n),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=Ls(e),a=Ls(t);i.forEach((function(e){for(var t=!1,i=r;i<o;i+=1){var l=a[i];if(l.key===e.key){r<i&&(n=n.concat(a.slice(r,i).map((function(e){return Y(Y({},e),{},{status:zs})}))),r=i),n.push(Y(Y({},l),{},{status:Hs})),r+=1,t=!0;break}}t||n.push(Y(Y({},e),{},{status:Ds}))})),r<o&&(n=n.concat(a.slice(r).map((function(e){return Y(Y({},e),{},{status:zs})}))));var l={};return n.forEach((function(e){var t=e.key;l[t]=(l[t]||0)+1})),Object.keys(l).filter((function(e){return l[e]>1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==Ds}))).forEach((function(t){t.key===e&&(t.status=Hs)}))})),n}(r,o);return{keyEntities:i.filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==Bs||e.status!==Ds}))}}}]),r}();return v(r,"defaultProps",{component:"div"}),r}($s);function Vs(t){const{children:n}=t,[,r]=Dc(),{motion:o}=r,i=e.useRef(!1);return i.current=i.current||!1===o,i.current?e.createElement(es,{motion:o},n):n}const qs=()=>null;var Xs=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Gs=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];let Ys,Us,Qs,Zs;function Js(){return Ys||Xl}function eu(){return Us||Gl}const tu=()=>({getPrefixCls:(e,t)=>t||(e?`${Js()}-${e}`:Js()),getIconPrefixCls:eu,getRootPrefixCls:()=>Ys||Js(),getTheme:()=>Qs,holderRender:Zs}),nu=t=>{const{children:n,csp:r,autoInsertSpaceInButton:o,alert:i,anchor:a,form:l,locale:s,componentSize:u,direction:d,space:f,splitter:p,virtual:m,dropdownMatchSelectWidth:g,popupMatchSelectWidth:h,popupOverflow:v,legacyLocale:b,parentContext:y,iconPrefixCls:x,theme:C,componentDisabled:w,segmented:$,statistic:S,spin:k,calendar:E,carousel:O,cascader:I,collapse:N,typography:M,checkbox:P,descriptions:j,divider:R,drawer:T,skeleton:z,steps:H,image:D,layout:B,list:A,mentions:L,modal:F,progress:_,result:W,slider:K,breadcrumb:V,menu:q,pagination:X,input:G,textArea:Y,empty:U,badge:Q,radio:Z,rate:J,switch:ee,transfer:te,avatar:ne,message:re,tag:oe,table:ie,card:ae,tabs:le,timeline:ce,timePicker:se,upload:ue,notification:de,tree:fe,colorPicker:pe,datePicker:me,rangePicker:ge,flex:he,wave:ve,dropdown:be,warning:ye,tour:xe,tooltip:Ce,popover:we,popconfirm:$e,floatButtonGroup:Se,variant:ke,inputNumber:Ee,treeSelect:Oe}=t,Ie=e.useCallback(((e,n)=>{const{prefixCls:r}=t;if(n)return n;const o=r||y.getPrefixCls("");return e?`${o}-${e}`:o}),[y.getPrefixCls,t.prefixCls]),Ne=x||y.iconPrefixCls||Gl,Me=r||y.csp;Gc(Ne,Me);const Pe=function(e,t,n){var r;yl();const o=e||{},i=!1!==o.inherit&&t?t:Object.assign(Object.assign({},Vl),{hashed:null!==(r=null==t?void 0:t.hashed)&&void 0!==r?r:Vl.hashed,cssVar:null==t?void 0:t.cssVar}),a=Qc();return ho((()=>{var r,l;if(!e)return t;const c=Object.assign({},i.components);Object.keys(e.components||{}).forEach((t=>{c[t]=Object.assign(Object.assign({},c[t]),e.components[t])}));const s=`css-var-${a.replace(/:/g,"")}`,u=(null!==(r=o.cssVar)&&void 0!==r?r:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==n?void 0:n.prefixCls},"object"==typeof i.cssVar?i.cssVar:{}),"object"==typeof o.cssVar?o.cssVar:{}),{key:"object"==typeof o.cssVar&&(null===(l=o.cssVar)||void 0===l?void 0:l.key)||s});return Object.assign(Object.assign(Object.assign({},i),o),{token:Object.assign(Object.assign({},i.token),o.token),components:c,cssVar:u})}),[o,i],((e,t)=>e.some(((e,n)=>!Ii(e,t[n],!0)))))}(C,y.theme,{prefixCls:Ie("")}),je={csp:Me,autoInsertSpaceInButton:o,alert:i,anchor:a,locale:s||b,direction:d,space:f,splitter:p,virtual:m,popupMatchSelectWidth:null!=h?h:g,popupOverflow:v,getPrefixCls:Ie,iconPrefixCls:Ne,theme:Pe,segmented:$,statistic:S,spin:k,calendar:E,carousel:O,cascader:I,collapse:N,typography:M,checkbox:P,descriptions:j,divider:R,drawer:T,skeleton:z,steps:H,image:D,input:G,textArea:Y,layout:B,list:A,mentions:L,modal:F,progress:_,result:W,slider:K,breadcrumb:V,menu:q,pagination:X,empty:U,badge:Q,radio:Z,rate:J,switch:ee,transfer:te,avatar:ne,message:re,tag:oe,table:ie,card:ae,tabs:le,timeline:ce,timePicker:se,upload:ue,notification:de,tree:fe,colorPicker:pe,datePicker:me,rangePicker:ge,flex:he,wave:ve,dropdown:be,warning:ye,tour:xe,tooltip:Ce,popover:we,popconfirm:$e,floatButtonGroup:Se,variant:ke,inputNumber:Ee,treeSelect:Oe},Re=Object.assign({},y);Object.keys(je).forEach((e=>{void 0!==je[e]&&(Re[e]=je[e])})),Gs.forEach((e=>{const n=t[e];n&&(Re[e]=n)})),void 0!==o&&(Re.button=Object.assign({autoInsertSpace:o},Re.button));const Te=ho((()=>Re),Re,((e,t)=>{const n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((n=>e[n]!==t[n]))})),{layer:ze}=e.useContext(Ti),He=e.useMemo((()=>({prefixCls:Ne,csp:Me,layer:ze?"antd":void 0})),[Ne,Me,ze]);let De=e.createElement(e.Fragment,null,e.createElement(qs,{dropdownMatchSelectWidth:g}),n);const Be=e.useMemo((()=>{var e,t,n,r;return hl((null===(e=El.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=Te.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=Te.form)||void 0===r?void 0:r.validateMessages)||{},(null==l?void 0:l.validateMessages)||{})}),[Te,null==l?void 0:l.validateMessages]);Object.keys(Be).length>0&&(De=e.createElement(xl.Provider,{value:Be},De)),s&&(De=e.createElement(Rl,{locale:s,_ANT_MARK__:"internalMark"},De)),(Ne||Me)&&(De=e.createElement(c.Provider,{value:He},De)),u&&(De=e.createElement(ic,{size:u},De)),De=e.createElement(Vs,null,De);const Ae=e.useMemo((()=>{const e=Pe||{},{algorithm:t,token:n,components:r,cssVar:o}=e,i=Xs(e,["algorithm","token","components","cssVar"]),a=t&&(!Array.isArray(t)||t.length>0)?Ai(t):Kl,l={};Object.entries(r||{}).forEach((([e,t])=>{const n=Object.assign({},t);"algorithm"in n&&(!0===n.algorithm?n.theme=a:(Array.isArray(n.algorithm)||"function"==typeof n.algorithm)&&(n.theme=Ai(n.algorithm)),delete n.algorithm),l[e]=n}));const c=Object.assign(Object.assign({},zl),n);return Object.assign(Object.assign({},i),{theme:a,token:c,components:l,override:Object.assign({override:c},l),cssVar:o})}),[Pe]);return C&&(De=e.createElement(ql.Provider,{value:Ae},De)),Te.warning&&(De=e.createElement(bl.Provider,{value:Te.warning},De)),void 0!==w&&(De=e.createElement(nc,{disabled:w},De)),e.createElement(Ul.Provider,{value:Te},De)},ru=t=>{const n=e.useContext(Ul),r=e.useContext(Pl);return e.createElement(nu,Object.assign({parentContext:n,legacyLocale:r},t))};ru.ConfigContext=Ul,ru.SizeContext=ac,ru.config=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:o}=e;void 0!==t&&(Ys=t),void 0!==n&&(Us=n),"holderRender"in e&&(Zs=o),r&&(!function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(r)?Qs=r:ec(Js(),r))},ru.useConfig=function(){return{componentDisabled:e.useContext(rc),componentSize:e.useContext(ac)}},Object.defineProperty(ru,"SizeContext",{get:()=>ac});var ou="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/);function iu(e,t){return 0===e.indexOf(t)}function au(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:Y({},n);var r={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||iu(n,"aria-"))||t.data&&iu(n,"data-")||t.attr&&ou.includes(n))&&(r[n]=e[n])})),r}function lu(e){return e&&n.isValidElement(e)&&e.type===n.Fragment}function cu(e,t){return((e,t,r)=>n.isValidElement(e)?n.cloneElement(e,"function"==typeof r?r(e.props||{}):r):t)(e,e,t)}const su=e=>"object"==typeof e&&null!=e&&1===e.nodeType,uu=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,du=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return uu(n.overflowY,t)||uu(n.overflowX,t)||(e=>{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(t){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},fu=(e,t,n,r,o,i,a,l)=>i<e&&a>t||i>e&&a<t?0:i<=e&&l<=n||a>=t&&l>=n?i-e-r:a>t&&l<n||i<e&&l>n?a-t+o:0,pu=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t},mu=(e,t)=>{var n,r,o,i;if("undefined"==typeof document)return[];const{scrollMode:a,block:l,inline:c,boundary:s,skipOverflowHiddenElements:u}=t,d="function"==typeof s?s:e=>e!==s;if(!su(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,p=[];let m=e;for(;su(m)&&d(m);){if(m=pu(m),m===f){p.push(m);break}null!=m&&m===document.body&&du(m)&&!du(document.documentElement)||null!=m&&du(m,u)&&p.push(m)}const g=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,h=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:v,scrollY:b}=window,{height:y,width:x,top:C,right:w,bottom:$,left:S}=e.getBoundingClientRect(),{top:k,right:E,bottom:O,left:I}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let N="start"===l||"nearest"===l?C-k:"end"===l?$+O:C+y/2-k+O,M="center"===c?S+x/2-I+E:"end"===c?w+E:S-I;const P=[];for(let j=0;j<p.length;j++){const e=p[j],{height:t,width:n,top:r,right:o,bottom:i,left:s}=e.getBoundingClientRect();if("if-needed"===a&&C>=0&&S>=0&&$<=h&&w<=g&&(e===f&&!du(e)||C>=r&&$<=i&&S>=s&&w<=o))return P;const u=getComputedStyle(e),d=parseInt(u.borderLeftWidth,10),m=parseInt(u.borderTopWidth,10),k=parseInt(u.borderRightWidth,10),E=parseInt(u.borderBottomWidth,10);let O=0,I=0;const R="offsetWidth"in e?e.offsetWidth-e.clientWidth-d-k:0,T="offsetHeight"in e?e.offsetHeight-e.clientHeight-m-E:0,z="offsetWidth"in e?0===e.offsetWidth?0:n/e.offsetWidth:0,H="offsetHeight"in e?0===e.offsetHeight?0:t/e.offsetHeight:0;if(f===e)O="start"===l?N:"end"===l?N-h:"nearest"===l?fu(b,b+h,h,m,E,b+N,b+N+y,y):N-h/2,I="start"===c?M:"center"===c?M-g/2:"end"===c?M-g:fu(v,v+g,g,d,k,v+M,v+M+x,x),O=Math.max(0,O+b),I=Math.max(0,I+v);else{O="start"===l?N-r-m:"end"===l?N-i+E+T:"nearest"===l?fu(r,i,t,m,E+T,N,N+y,y):N-(r+t/2)+T/2,I="start"===c?M-s-d:"center"===c?M-(s+n/2)+R/2:"end"===c?M-o+k+R:fu(s,o,n,d,k+R,M,M+x,x);const{scrollLeft:a,scrollTop:u}=e;O=0===H?0:Math.max(0,Math.min(u+O/H,e.scrollHeight-t/H+T)),I=0===z?0:Math.max(0,Math.min(a+I/z,e.scrollWidth-n/z+R)),N+=u-O,M+=a-I}P.push({el:e,top:O,left:I})}return P};function gu(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;const n=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof(r=t)&&"function"==typeof r.behavior)return t.behavior(mu(e,t));var r;const o="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:i,top:a,left:l}of mu(e,(e=>{return!1===e?{block:"end",inline:"nearest"}:(t=e)===Object(t)&&0!==Object.keys(t).length?e:{block:"start",inline:"nearest"};var t})(t))){const e=a-n.top+n.bottom,t=l-n.left+n.right;i.scroll({top:e,left:t,behavior:o})}}function hu(e){return null!=e&&e===e.window}const vu=e=>{var t,n;if("undefined"==typeof window)return 0;let r=0;return hu(e)?r=e.pageYOffset:e instanceof Document?r=e.documentElement.scrollTop:(e instanceof HTMLElement||e)&&(r=e.scrollTop),e&&!hu(e)&&"number"!=typeof r&&(r=null===(n=(null!==(t=e.ownerDocument)&&void 0!==t?t:e).documentElement)||void 0===n?void 0:n.scrollTop),r};const bu=e=>{const[,,,,t]=Dc();return t?`${e}-css-var`:""};var yu={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=yu.F1&&t<=yu.F12)return!1;switch(t){case yu.ALT:case yu.CAPS_LOCK:case yu.CONTEXT_MENU:case yu.CTRL:case yu.DOWN:case yu.END:case yu.ESC:case yu.HOME:case yu.INSERT:case yu.LEFT:case yu.MAC_FF_META:case yu.META:case yu.NUMLOCK:case yu.NUM_CENTER:case yu.PAGE_DOWN:case yu.PAGE_UP:case yu.PAUSE:case yu.PRINT_SCREEN:case yu.RIGHT:case yu.SHIFT:case yu.UP:case yu.WIN_KEY:case yu.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=yu.ZERO&&e<=yu.NINE)return!0;if(e>=yu.NUM_ZERO&&e<=yu.NUM_MULTIPLY)return!0;if(e>=yu.A&&e<=yu.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case yu.SPACE:case yu.QUESTION_MARK:case yu.NUM_PLUS:case yu.NUM_MINUS:case yu.NUM_PERIOD:case yu.NUM_DIVISION:case yu.SEMICOLON:case yu.DASH:case yu.EQUALS:case yu.COMMA:case yu.PERIOD:case yu.SLASH:case yu.APOSTROPHE:case yu.SINGLE_QUOTE:case yu.OPEN_SQUARE_BRACKET:case yu.BACKSLASH:case yu.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},xu=e.forwardRef((function(t,n){var r=t.prefixCls,o=t.style,i=t.className,a=t.duration,l=void 0===a?4.5:a,c=t.showProgress,u=t.pauseOnHover,d=void 0===u||u,f=t.eventKey,p=t.content,h=t.closable,b=t.closeIcon,y=void 0===b?"x":b,x=t.props,C=t.onClick,$=t.onNoticeClose,S=t.times,k=t.hovering,E=m(e.useState(!1),2),O=E[0],I=E[1],N=m(e.useState(0),2),M=N[0],P=N[1],j=m(e.useState(0),2),R=j[0],T=j[1],z=k||O,H=l>0&&c,D=function(){$(f)};e.useEffect((function(){if(!z&&l>0){var e=Date.now()-R,t=setTimeout((function(){D()}),1e3*l-R);return function(){d&&clearTimeout(t),T(Date.now()-e)}}}),[l,z,S]),e.useEffect((function(){if(!z&&H&&(d||0===R)){var e,t=performance.now();return function n(){cancelAnimationFrame(e),e=requestAnimationFrame((function(e){var r=e+R-t,o=Math.min(r/(1e3*l),1);P(100*o),o<1&&n()}))}(),function(){d&&cancelAnimationFrame(e)}}}),[l,R,z,H,S]);var B=e.useMemo((function(){return"object"===g(h)&&null!==h?h:h?{closeIcon:y}:{}}),[h,y]),A=au(B,!0),L=100-(!M||M<0?0:M>100?100:M),F="".concat(r,"-notice");return e.createElement("div",s({},x,{ref:n,className:w(F,i,v({},"".concat(F,"-closable"),h)),style:o,onMouseEnter:function(e){var t;I(!0),null==x||null===(t=x.onMouseEnter)||void 0===t||t.call(x,e)},onMouseLeave:function(e){var t;I(!1),null==x||null===(t=x.onMouseLeave)||void 0===t||t.call(x,e)},onClick:C}),e.createElement("div",{className:"".concat(F,"-content")},p),h&&e.createElement("a",s({tabIndex:0,className:"".concat(F,"-close"),onKeyDown:function(e){"Enter"!==e.key&&"Enter"!==e.code&&e.keyCode!==yu.ENTER||D()},"aria-label":"Close"},A,{onClick:function(e){e.preventDefault(),e.stopPropagation(),D()}}),B.closeIcon),H&&e.createElement("progress",{className:"".concat(F,"-progress"),max:"100",value:L},L+"%"))})),Cu=n.createContext({}),wu=function(e){var t=e.children,r=e.classNames;return n.createElement(Cu.Provider,{value:{classNames:r}},t)},$u=["className","style","classNames","styles"],Su=function(t){var r,o,i,a,l,c=t.configList,u=t.placement,d=t.prefixCls,f=t.className,p=t.style,h=t.motion,y=t.onAllNoticeRemoved,x=t.onNoticeClose,C=t.stack,$=e.useContext(Cu).classNames,S=e.useRef({}),k=m(e.useState(null),2),E=k[0],O=k[1],I=m(e.useState([]),2),N=I[0],M=I[1],P=c.map((function(e){return{config:e,key:String(e.key)}})),j=m((l={offset:8,threshold:3,gap:16},(r=C)&&"object"===g(r)&&(l.offset=null!==(o=r.offset)&&void 0!==o?o:8,l.threshold=null!==(i=r.threshold)&&void 0!==i?i:3,l.gap=null!==(a=r.gap)&&void 0!==a?a:16),[!!r,l]),2),R=j[0],T=j[1],z=T.offset,H=T.threshold,D=T.gap,B=R&&(N.length>0||P.length<=H),A="function"==typeof h?h(u):h;return e.useEffect((function(){R&&N.length>1&&M((function(e){return e.filter((function(e){return P.some((function(t){var n=t.key;return e===n}))}))}))}),[N,P,R]),e.useEffect((function(){var e,t;R&&S.current[null===(e=P[P.length-1])||void 0===e?void 0:e.key]&&O(S.current[null===(t=P[P.length-1])||void 0===t?void 0:t.key])}),[P,R]),n.createElement(Ks,s({key:u,className:w(d,"".concat(d,"-").concat(u),null==$?void 0:$.list,f,v(v({},"".concat(d,"-stack"),!!R),"".concat(d,"-stack-expanded"),B)),style:p,keys:P,motionAppear:!0},A,{onAllRemoved:function(){y(u)}}),(function(e,t){var r=e.config,o=e.className,i=e.style,a=e.index,l=r,c=l.key,f=l.times,p=String(c),m=r,g=m.className,h=m.style,v=m.classNames,y=m.styles,C=b(m,$u),k=P.findIndex((function(e){return e.key===p})),O={};if(R){var I=P.length-1-(k>-1?k:a-1),j="top"===u||"bottom"===u?"-50%":"0";if(I>0){var T,H,A;O.height=B?null===(T=S.current[p])||void 0===T?void 0:T.offsetHeight:null==E?void 0:E.offsetHeight;for(var L=0,F=0;F<I;F++){var _;L+=(null===(_=S.current[P[P.length-1-F].key])||void 0===_?void 0:_.offsetHeight)+D}var W=(B?L:I*z)*(u.startsWith("top")?1:-1),K=!B&&null!=E&&E.offsetWidth&&null!==(H=S.current[p])&&void 0!==H&&H.offsetWidth?((null==E?void 0:E.offsetWidth)-2*z*(I<3?I:3))/(null===(A=S.current[p])||void 0===A?void 0:A.offsetWidth):1;O.transform="translate3d(".concat(j,", ").concat(W,"px, 0) scaleX(").concat(K,")")}else O.transform="translate3d(".concat(j,", 0, 0)")}return n.createElement("div",{ref:t,className:w("".concat(d,"-notice-wrapper"),o,null==v?void 0:v.wrapper),style:Y(Y(Y({},i),O),null==y?void 0:y.wrapper),onMouseEnter:function(){return M((function(e){return e.includes(p)?e:[].concat(xi(e),[p])}))},onMouseLeave:function(){return M((function(e){return e.filter((function(e){return e!==p}))}))}},n.createElement(xu,s({},C,{ref:function(e){k>-1?S.current[p]=e:delete S.current[p]},prefixCls:d,classNames:v,styles:y,className:w(g,null==$?void 0:$.notice),style:h,times:f,key:c,eventKey:c,onNoticeClose:x,hovering:R&&N.length>0})))}))},ku=e.forwardRef((function(t,n){var r=t.prefixCls,o=void 0===r?"rc-notification":r,a=t.container,l=t.motion,c=t.maxCount,s=t.className,u=t.style,d=t.onAllRemoved,f=t.stack,p=t.renderNotifications,g=m(e.useState([]),2),h=g[0],v=g[1],b=function(e){var t,n=h.find((function(t){return t.key===e}));null==n||null===(t=n.onClose)||void 0===t||t.call(n),v((function(t){return t.filter((function(t){return t.key!==e}))}))};e.useImperativeHandle(n,(function(){return{open:function(e){v((function(t){var n,r=xi(t),o=r.findIndex((function(t){return t.key===e.key})),i=Y({},e);o>=0?(i.times=((null===(n=t[o])||void 0===n?void 0:n.times)||0)+1,r[o]=i):(i.times=0,r.push(i));return c>0&&r.length>c&&(r=r.slice(-c)),r}))},close:function(e){b(e)},destroy:function(){v([])}}}));var y=m(e.useState({}),2),x=y[0],C=y[1];e.useEffect((function(){var e={};h.forEach((function(t){var n=t.placement,r=void 0===n?"topRight":n;r&&(e[r]=e[r]||[],e[r].push(t))})),Object.keys(x).forEach((function(t){e[t]=e[t]||[]})),C(e)}),[h]);var w=function(e){C((function(t){var n=Y({},t);return(n[e]||[]).length||delete n[e],n}))},$=e.useRef(!1);if(e.useEffect((function(){Object.keys(x).length>0?$.current=!0:$.current&&(null==d||d(),$.current=!1)}),[x]),!a)return null;var S=Object.keys(x);return i.createPortal(e.createElement(e.Fragment,null,S.map((function(t){var n=x[t],r=e.createElement(Su,{key:t,configList:n,placement:t,prefixCls:o,className:null==s?void 0:s(t),style:null==u?void 0:u(t),motion:l,onNoticeClose:b,onAllNoticeRemoved:w,stack:f});return p?p(r,{prefixCls:o,key:t}):r}))),a)})),Eu=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],Ou=function(){return document.body},Iu=0;function Nu(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getContainer,r=void 0===n?Ou:n,o=t.motion,i=t.prefixCls,a=t.maxCount,l=t.className,c=t.style,s=t.onAllRemoved,u=t.stack,d=t.renderNotifications,f=b(t,Eu),p=m(e.useState(),2),g=p[0],h=p[1],v=e.useRef(),y=e.createElement(ku,{container:g,ref:v,prefixCls:i,motion:o,maxCount:a,className:l,style:c,onAllRemoved:s,stack:u,renderNotifications:d}),x=m(e.useState([]),2),C=x[0],w=x[1],$=mc((function(e){var t=function(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){t&&Object.keys(t).forEach((function(n){var r=t[n];void 0!==r&&(e[n]=r)}))})),e}(f,e);null!==t.key&&void 0!==t.key||(t.key="rc-notification-".concat(Iu),Iu+=1),w((function(e){return[].concat(xi(e),[{type:"open",config:t}])}))})),S=e.useMemo((function(){return{open:$,close:function(e){w((function(t){return[].concat(xi(t),[{type:"close",key:e}])}))},destroy:function(){w((function(e){return[].concat(xi(e),[{type:"destroy"}])}))}}}),[]);return e.useEffect((function(){h(r())})),e.useEffect((function(){var e,t;v.current&&C.length&&(C.forEach((function(e){switch(e.type){case"open":v.current.open(e.config);break;case"close":v.current.close(e.key);break;case"destroy":v.current.destroy()}})),w((function(n){return e===n&&t||(e=n,t=n.filter((function(e){return!C.includes(e)}))),t})))}),[C]),[S,y]}const Mu=n.createContext(void 0),Pu=100,ju={Modal:Pu,Drawer:Pu,Popover:Pu,Popconfirm:Pu,Tooltip:Pu,Tour:Pu,FloatButton:Pu},Ru={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};const Tu=(e,t)=>{const[,r]=Dc(),o=n.useContext(Mu),i=e in ju;let a;if(void 0!==t)a=[t,t];else{let n=null!=o?o:0;n+=i?(o?0:r.zIndexPopupBase)+ju[e]:Ru[e],a=[void 0===o?t:n,n]}return a},zu=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:o,colorSuccess:i,colorError:a,colorWarning:l,colorInfo:c,fontSizeLG:s,motionEaseInOutCirc:u,motionDurationSlow:d,marginXS:f,paddingXS:p,borderRadiusLG:m,zIndexPopup:g,contentPadding:h,contentBg:v}=e,b=`${t}-notice`,y=new cl("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:p,transform:"translateY(0)",opacity:1}}),x=new cl("MessageMoveOut",{"0%":{maxHeight:e.height,padding:p,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),C={padding:p,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:f,fontSize:s},[`${b}-content`]:{display:"inline-block",padding:h,background:v,borderRadius:m,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:a},[`${t}-warning > ${n}`]:{color:l},[`${t}-info > ${n},\n ${t}-loading > ${n}`]:{color:c}};return[{[t]:Object.assign(Object.assign({},Ac(e)),{color:o,position:"fixed",top:f,width:"100%",pointerEvents:"none",zIndex:g,[`${t}-move-up`]:{animationFillMode:"forwards"},[`\n ${t}-move-up-appear,\n ${t}-move-up-enter\n `]:{animationName:y,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[`\n ${t}-move-up-appear${t}-move-up-appear-active,\n ${t}-move-up-enter${t}-move-up-enter-active\n `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:x,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${b}-wrapper`]:Object.assign({},C)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},C),{padding:0,textAlign:"start"})}]},Hu=Kc("Message",(e=>{const t=Cc(e,{height:150});return[zu(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+1e3+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})));var Du=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Bu={info:e.createElement(Pn,null),success:e.createElement(Ge,null),error:e.createElement(st,null),warning:e.createElement(Gt,null),loading:e.createElement(Wn,null)},Au=({prefixCls:t,type:n,icon:r,children:o})=>e.createElement("div",{className:w(`${t}-custom-content`,`${t}-${n}`)},r||Bu[n],e.createElement("span",null,o)),Lu=t=>{const{prefixCls:n,className:r,type:o,icon:i,content:a}=t,l=Du(t,["prefixCls","className","type","icon","content"]),{getPrefixCls:c}=e.useContext(Ul),s=n||c("message"),u=bu(s),[d,f,p]=Hu(s,u);return d(e.createElement(xu,Object.assign({},l,{prefixCls:s,className:w(r,f,`${s}-notice-pure-panel`,p,u),eventKey:"pure",duration:null,content:e.createElement(Au,{prefixCls:s,type:o,icon:i},a)})))};function Fu(e){let t;const n=new Promise((n=>{t=e((()=>{n(!0)}))})),r=()=>{null==t||t()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}var _u=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Wu=3,Ku=({children:t,prefixCls:n})=>{const r=bu(n),[o,i,a]=Hu(n,r);return o(e.createElement(wu,{classNames:{list:w(i,a,r)}},t))},Vu=(t,{prefixCls:n,key:r})=>e.createElement(Ku,{prefixCls:n,key:r},t),qu=e.forwardRef(((t,n)=>{const{top:r,prefixCls:o,getContainer:i,maxCount:a,duration:l=Wu,rtl:c,transitionName:s,onAllRemoved:u}=t,{getPrefixCls:d,getPopupContainer:f,message:p,direction:m}=e.useContext(Ul),g=o||d("message"),h=e.createElement("span",{className:`${g}-close-x`},e.createElement(ft,{className:`${g}-close-icon`})),[v,b]=Nu({prefixCls:g,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=r?r:8}),className:()=>w({[`${g}-rtl`]:null!=c?c:"rtl"===m}),motion:()=>function(e,t){return{motionName:null!=t?t:`${e}-move-up`}}(g,s),closable:!1,closeIcon:h,duration:l,getContainer:()=>(null==i?void 0:i())||(null==f?void 0:f())||document.body,maxCount:a,onAllRemoved:u,renderNotifications:Vu});return e.useImperativeHandle(n,(()=>Object.assign(Object.assign({},v),{prefixCls:g,message:p}))),b}));let Xu=0;function Gu(t){const n=e.useRef(null);yl();return[e.useMemo((()=>{const t=e=>{var t;null===(t=n.current)||void 0===t||t.close(e)},r=r=>{if(!n.current){const e=()=>{};return e.then=()=>{},e}const{open:o,prefixCls:i,message:a}=n.current,l=`${i}-notice`,{content:c,icon:s,type:u,key:d,className:f,style:p,onClose:m}=r,g=_u(r,["content","icon","type","key","className","style","onClose"]);let h=d;return null==h&&(Xu+=1,h=`antd-message-${Xu}`),Fu((n=>(o(Object.assign(Object.assign({},g),{key:h,content:e.createElement(Au,{prefixCls:i,type:u,icon:s},c),placement:"top",className:w(u&&`${l}-${u}`,f,null==a?void 0:a.className),style:Object.assign(Object.assign({},null==a?void 0:a.style),p),onClose:()=>{null==m||m(),n()}})),()=>{t(h)})))},o={open:r,destroy:e=>{var r;void 0!==e?t(e):null===(r=n.current)||void 0===r||r.destroy()}};return["info","success","warning","error","loading"].forEach((e=>{o[e]=(t,n,o)=>{let i,a,l;i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof n?l=n:(a=n,l=o);const c=Object.assign(Object.assign({onClose:l,duration:a},i),{type:e});return r(c)}})),o}),[]),e.createElement(qu,Object.assign({key:"message-holder"},t,{ref:n}))]}function Yu(){Yu=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n,r){return Object.defineProperty(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r})}try{c({},"")}catch(O){c=function(e,t,n){return e[t]=n}}function s(t,n,r,o){var i,a,l,s,p=n&&n.prototype instanceof f?n:f,m=Object.create(p.prototype);return c(m,"_invoke",(i=t,a=r,l=new k(o||[]),s=1,function(t,n){if(3===s)throw Error("Generator is already running");if(4===s){if("throw"===t)throw n;return{value:e,done:!0}}for(l.method=t,l.arg=n;;){var r=l.delegate;if(r){var o=w(r,l);if(o){if(o===d)continue;return o}}if("next"===l.method)l.sent=l._sent=l.arg;else if("throw"===l.method){if(1===s)throw s=4,l.arg;l.dispatchException(l.arg)}else"return"===l.method&&l.abrupt("return",l.arg);s=3;var c=u(i,a,l);if("normal"===c.type){if(s=l.done?4:2,c.arg===d)continue;return{value:c.arg,done:l.done}}"throw"===c.type&&(s=4,l.method="throw",l.arg=c.arg)}}),!0),m}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}t.wrap=s;var d={};function f(){}function p(){}function m(){}var h={};c(h,i,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(E([])));b&&b!==n&&r.call(b,i)&&(h=b);var y=m.prototype=f.prototype=Object.create(h);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(o,i,a,l){var c=u(e[o],e,i);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==g(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(d).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,l)}))}l(c.arg)}var o;c(this,"_invoke",(function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}),!0)}function w(t,n){var r=n.method,o=t.i[r];if(o===e)return n.delegate=null,"throw"===r&&t.i.return&&(n.method="return",n.arg=e,w(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var i=u(o,t.i,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,d;var a=i.arg;return a?a.done?(n[t.r]=a.value,n.next=t.n,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,d):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}function $(e){this.tryEntries.push(e)}function S(t){var n=t[4]||{};n.type="normal",n.arg=e,t[4]=n}function k(e){this.tryEntries=[[-1]],e.forEach($,this),this.reset(!0)}function E(t){if(null!=t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(g(t)+" is not iterable")}return p.prototype=m,c(y,"constructor",m),c(m,"constructor",p),p.displayName=c(m,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,c(e,l,"GeneratorFunction")),e.prototype=Object.create(y),e},t.awrap=function(e){return{__await:e}},x(C.prototype),c(C.prototype,a,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new C(s(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(y),c(y,l,"Generator"),c(y,i,(function(){return this})),c(y,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}},t.values=E,k.prototype={constructor:k,reset:function(t){if(this.prev=this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0][4];if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(e){a.type="throw",a.arg=t,n.next=e}for(var o=n.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i[4],l=this.prev,c=i[1],s=i[2];if(-1===i[0])return r("end"),!1;if(!c&&!s)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=l){if(l<c)return this.method="next",this.arg=e,r(c),!0;if(l<s)return r(s),!1}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r[0]>-1&&r[0]<=this.prev&&this.prev<r[2]){var o=r;break}}o&&("break"===e||"continue"===e)&&o[0]<=t&&t<=o[2]&&(o=null);var i=o?o[4]:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o[2],d):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n[2]===e)return this.complete(n[4],n[3]),S(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n[0]===e){var r=n[4];if("throw"===r.type){var o=r.arg;S(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={i:E(t),r:n,n:r},"next"===this.method&&(this.arg=e),d}},t}function Uu(e,t,n,r,o,i,a){try{var l=e[i](a),c=l.value}catch(s){return void n(s)}l.done?t(c):Promise.resolve(c).then(r,o)}function Qu(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Uu(i,r,o,a,l,"next",e)}function l(e){Uu(i,r,o,a,l,"throw",e)}a(void 0)}))}}var Zu,Ju=Y({},a),ed=Ju.version,td=Ju.render,nd=Ju.unmountComponentAtNode;try{Number((ed||"").split(".")[0])>=18&&(Zu=Ju.createRoot)}catch(y$){}function rd(e){var t=Ju.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===g(t)&&(t.usingClientEntryPoint=e)}var od="__rc_react_root__";function id(e,t){Zu?function(e,t){rd(!0);var n=t[od]||Zu(t);rd(!1),n.render(e),t[od]=n}(e,t):function(e,t){null==td||td(e,t)}(e,t)}function ad(e){return ld.apply(this,arguments)}function ld(){return(ld=Qu(Yu().mark((function e(t){return Yu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[od])||void 0===e||e.unmount(),delete t[od]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function cd(e){nd(e)}function sd(){return(sd=Qu(Yu().mark((function e(t){return Yu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===Zu){e.next=2;break}return e.abrupt("return",ad(t));case 2:cd(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}let ud=(e,t)=>(id(e,t),()=>function(e){return sd.apply(this,arguments)}(t));function dd(e){return e&&(ud=e),ud}const fd=()=>({height:0,opacity:0}),pd=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},md=e=>({height:e?e.offsetHeight:0}),gd=(e,t)=>!0===(null==t?void 0:t.deadline)||"height"===t.propertyName,hd=(e,t,n)=>void 0!==n?n:`${e}-${t}`,vd=(e=Xl)=>({motionName:`${e}-motion-collapse`,onAppearStart:fd,onEnterStart:fd,onAppearActive:pd,onEnterActive:pd,onLeaveStart:md,onLeaveActive:fd,onAppearEnd:gd,onEnterEnd:gd,onLeaveEnd:gd,motionDeadline:500});function bd(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}const yd=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1},xd=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},Cd=Vc("Wave",(e=>[xd(e)])),wd=`${Xl}-wave-target`;function $d(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function Sd(e){return Number.isNaN(e)?0:e}const kd=t=>{const{className:n,target:r,component:o,registerUnmount:i}=t,a=e.useRef(null),l=e.useRef(null);e.useEffect((()=>{l.current=i()}),[]);const[c,s]=e.useState(null),[u,d]=e.useState([]),[f,p]=e.useState(0),[m,g]=e.useState(0),[h,v]=e.useState(0),[b,y]=e.useState(0),[x,C]=e.useState(!1),$={left:f,top:m,width:h,height:b,borderRadius:u.map((e=>`${e}px`)).join(" ")};function S(){const e=getComputedStyle(r);s(function(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return $d(t)?t:$d(n)?n:$d(r)?r:null}(r));const t="static"===e.position,{borderLeftWidth:n,borderTopWidth:o}=e;p(t?r.offsetLeft:Sd(-parseFloat(n))),g(t?r.offsetTop:Sd(-parseFloat(o))),v(r.offsetWidth),y(r.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:c}=e;d([i,a,c,l].map((e=>Sd(parseFloat(e)))))}if(c&&($["--wave-color"]=c),e.useEffect((()=>{if(r){const e=Ei((()=>{S(),C(!0)}));let t;return"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(S),t.observe(r)),()=>{Ei.cancel(e),null==t||t.disconnect()}}}),[]),!x)return null;const k=("Checkbox"===o||"Radio"===o)&&(null==r?void 0:r.classList.contains(wd));return e.createElement(Ts,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n,r;if(t.deadline||"opacity"===t.propertyName){const e=null===(n=a.current)||void 0===n?void 0:n.parentElement;null===(r=l.current)||void 0===r||r.call(l).then((()=>{null==e||e.remove()}))}return!1}},(({className:t},r)=>e.createElement("div",{ref:$o(a,r),className:w(n,t,{"wave-quick":k}),style:$})))},Ed=(t,n)=>{var r;const{component:o}=n;if("Checkbox"===o&&!(null===(r=t.querySelector("input"))||void 0===r?void 0:r.checked))return;const i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",null==t||t.insertBefore(i,null==t?void 0:t.firstChild);const a=dd();let l=null;l=a(e.createElement(kd,Object.assign({},n,{target:t,registerUnmount:function(){return l}})),i)},Od=(t,n,r)=>{const{wave:o}=e.useContext(Ul),[,i,a]=Dc(),l=mc((e=>{const l=t.current;if((null==o?void 0:o.disabled)||!l)return;const c=l.querySelector(`.${wd}`)||l,{showEffect:s}=o||{};(s||Ed)(c,{className:n,token:i,component:r,event:e,hashId:a})})),c=e.useRef(null);return e=>{Ei.cancel(c.current),c.current=Ei((()=>{l(e)}))}},Id=t=>{const{children:r,disabled:o,component:i}=t,{getPrefixCls:a}=e.useContext(Ul),l=e.useRef(null),c=a("wave"),[,s]=Cd(c),u=Od(l,w(c,s),i);if(n.useEffect((()=>{const e=l.current;if(!e||1!==e.nodeType||o)return;const t=t=>{!yd(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||u(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}}),[o]),!n.isValidElement(r))return null!=r?r:null;return cu(r,{ref:ko(r)?$o(Oo(r),l):l})},Nd=e=>{const t=n.useContext(ac);return n.useMemo((()=>e?"string"==typeof e?null!=e?e:t:"function"==typeof e?e(t):t:t),[e,t])},Md=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Pd=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},jd=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},Rd=Kc("Space",(e=>{const t=Cc(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[Pd(t),jd(t),Md(t)]}),(()=>({})),{resetStyle:!1});var Td=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const zd=e.createContext(null),Hd=(t,n)=>{const r=e.useContext(zd),o=e.useMemo((()=>{if(!r)return"";const{compactDirection:e,isFirstItem:o,isLastItem:i}=r,a="vertical"===e?"-vertical-":"-";return w(`${t}-compact${a}item`,{[`${t}-compact${a}first-item`]:o,[`${t}-compact${a}last-item`]:i,[`${t}-compact${a}item-rtl`]:"rtl"===n})}),[t,n,r]);return{compactSize:null==r?void 0:r.compactSize,compactDirection:null==r?void 0:r.compactDirection,compactItemClassnames:o}},Dd=t=>{const{children:n}=t;return e.createElement(zd.Provider,{value:null},n)},Bd=t=>{const{children:n}=t,r=Td(t,["children"]);return e.createElement(zd.Provider,{value:e.useMemo((()=>r),[r])},n)},Ad=t=>{const{getPrefixCls:n,direction:r}=e.useContext(Ul),{size:o,direction:i,block:a,prefixCls:l,className:c,rootClassName:s,children:u}=t,d=Td(t,["size","direction","block","prefixCls","className","rootClassName","children"]),f=Nd((e=>null!=o?o:e)),p=n("space-compact",l),[m,g]=Rd(p),h=w(p,g,{[`${p}-rtl`]:"rtl"===r,[`${p}-block`]:a,[`${p}-vertical`]:"vertical"===i},c,s),v=e.useContext(zd),b=Io(u),y=e.useMemo((()=>b.map(((t,n)=>{const r=(null==t?void 0:t.key)||`${p}-item-${n}`;return e.createElement(Bd,{key:r,compactSize:f,compactDirection:i,isFirstItem:0===n&&(!v||(null==v?void 0:v.isFirstItem)),isLastItem:n===b.length-1&&(!v||(null==v?void 0:v.isLastItem))},t)}))),[o,b,v]);return 0===b.length?null:m(e.createElement("div",Object.assign({className:h},d),y))};var Ld=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Fd=e.createContext(void 0),_d=t=>{const{getPrefixCls:n,direction:r}=e.useContext(Ul),{prefixCls:o,size:i,className:a}=t,l=Ld(t,["prefixCls","size","className"]),c=n("btn-group",o),[,,s]=Dc(),u=e.useMemo((()=>{switch(i){case"large":return"lg";case"small":return"sm";default:return""}}),[i]),d=w(c,{[`${c}-${u}`]:u,[`${c}-rtl`]:"rtl"===r},a,s);return e.createElement(Fd.Provider,{value:i},e.createElement("div",Object.assign({},l,{className:d})))},Wd=/^[\u4E00-\u9FA5]{2}$/,Kd=Wd.test.bind(Wd);function Vd(e){return"danger"===e?{danger:!0}:{type:e}}function qd(e){return"string"==typeof e}function Xd(e){return"text"===e||"link"===e}function Gd(e,t){let r=!1;const o=[];return n.Children.forEach(e,(e=>{const t=typeof e,n="string"===t||"number"===t;if(r&&n){const t=o.length-1,n=o[t];o[t]=`${n}${e}`}else o.push(e);r=n})),n.Children.map(o,(e=>function(e,t){if(null==e)return;const r=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&qd(e.type)&&Kd(e.props.children)?cu(e,{children:e.props.children.split("").join(r)}):qd(e)?Kd(e)?n.createElement("span",null,e.split("").join(r)):n.createElement("span",null,e):lu(e)?n.createElement("span",null,e):e}(e,t)))}["default","primary","danger"].concat(xi(Oc));const Yd=e.forwardRef(((e,t)=>{const{className:r,style:o,children:i,prefixCls:a}=e,l=w(`${a}-icon`,r);return n.createElement("span",{ref:t,className:l,style:o},i)})),Ud=e.forwardRef(((e,t)=>{const{prefixCls:r,className:o,style:i,iconClassName:a}=e,l=w(`${r}-loading-icon`,o);return n.createElement(Yd,{prefixCls:r,className:l,style:i,ref:t},n.createElement(Wn,{className:a}))})),Qd=()=>({width:0,opacity:0,transform:"scale(0)"}),Zd=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Jd=e=>{const{prefixCls:t,loading:r,existIcon:o,className:i,style:a,mount:l}=e,c=!!r;return o?n.createElement(Ud,{prefixCls:t,className:i,style:a}):n.createElement(Ts,{visible:c,motionName:`${t}-loading-icon-motion`,motionAppear:!l,motionEnter:!l,motionLeave:!l,removeOnLeave:!0,onAppearStart:Qd,onAppearActive:Zd,onEnterStart:Qd,onEnterActive:Zd,onLeaveStart:Zd,onLeaveActive:Qd},(({className:e,style:r},o)=>{const l=Object.assign(Object.assign({},a),r);return n.createElement(Ud,{prefixCls:t,className:w(i,e),style:l,ref:o})}))},ef=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),tf=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},ef(`${t}-primary`,o),ef(`${t}-danger`,i)]}};var nf,rf=["b"],of=["v"],af=function(e){return Math.round(Number(e||0))},lf=function(){ci(t,O);var e=pi(t);function t(n){return oi(this,t),e.call(this,function(e){if(e instanceof O)return e;if(e&&"object"===g(e)&&"h"in e&&"b"in e){var t=e,n=t.b;return Y(Y({},b(t,rf)),{},{v:n})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e}(n))}return ai(t,[{key:"toHsbString",value:function(){var e=this.toHsb(),t=af(100*e.s),n=af(100*e.b),r=af(e.h),o=e.a,i="hsb(".concat(r,", ").concat(t,"%, ").concat(n,"%)"),a="hsba(".concat(r,", ").concat(t,"%, ").concat(n,"%, ").concat(o.toFixed(0===o?0:2),")");return 1===o?i:a}},{key:"toHsb",value:function(){var e=this.toHsv(),t=e.v;return Y(Y({},b(e,of)),{},{b:t,a:this.a})}}]),t}();(nf="#1677ff")instanceof lf||new lf(nf);let cf=function(){return ai((function e(t){var n;if(oi(this,e),this.cleared=!1,t instanceof e)return this.metaColor=t.metaColor.clone(),this.colors=null===(n=t.colors)||void 0===n?void 0:n.map((t=>({color:new e(t.color),percent:t.percent}))),void(this.cleared=t.cleared);const r=Array.isArray(t);r&&t.length?(this.colors=t.map((({color:t,percent:n})=>({color:new e(t),percent:n}))),this.metaColor=new lf(this.colors[0].color.metaColor)):this.metaColor=new lf(r?"":t),(!t||r&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}),[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return e=this.toHexString(),t=this.metaColor.a<1,e?((e,t)=>(null==e?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"")(e,t):"";var e,t}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:e}=this;if(e){return`linear-gradient(90deg, ${e.map((e=>`${e.color.toRgbString()} ${e.percent}%`)).join(", ")})`}return this.metaColor.toRgbString()}},{key:"equals",value:function(e){return!(!e||this.isGradient()!==e.isGradient())&&(this.isGradient()?this.colors.length===e.colors.length&&this.colors.every(((t,n)=>{const r=e.colors[n];return t.percent===r.percent&&t.color.equals(r.color)})):this.toHexString()===e.toHexString())}}])}();var sf=n.forwardRef((function(e,t){var r=e.prefixCls,o=e.forceRender,i=e.className,a=e.style,l=e.children,c=e.isActive,s=e.role,u=e.classNames,d=e.styles,f=m(n.useState(c||o),2),p=f[0],g=f[1];return n.useEffect((function(){(o||c)&&g(!0)}),[o,c]),p?n.createElement("div",{ref:t,className:w("".concat(r,"-content"),v(v({},"".concat(r,"-content-active"),c),"".concat(r,"-content-inactive"),!c),i),style:a,role:s},n.createElement("div",{className:w("".concat(r,"-content-box"),null==u?void 0:u.body),style:null==d?void 0:d.body},l)):null}));sf.displayName="PanelContent";var uf=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],df=n.forwardRef((function(e,t){var r=e.showArrow,o=void 0===r||r,i=e.headerClass,a=e.isActive,l=e.onItemClick,c=e.forceRender,u=e.className,d=e.classNames,f=void 0===d?{}:d,p=e.styles,m=void 0===p?{}:p,g=e.prefixCls,h=e.collapsible,y=e.accordion,x=e.panelKey,C=e.extra,$=e.header,S=e.expandIcon,k=e.openMotion,E=e.destroyInactivePanel,O=e.children,I=b(e,uf),N="disabled"===h,M=null!=C&&"boolean"!=typeof C,P=v(v(v({onClick:function(){null==l||l(x)},onKeyDown:function(e){"Enter"!==e.key&&e.keyCode!==yu.ENTER&&e.which!==yu.ENTER||null==l||l(x)},role:y?"tab":"button"},"aria-expanded",a),"aria-disabled",N),"tabIndex",N?-1:0),j="function"==typeof S?S(e):n.createElement("i",{className:"arrow"}),R=j&&n.createElement("div",s({className:"".concat(g,"-expand-icon")},["header","icon"].includes(h)?P:{}),j),T=w("".concat(g,"-item"),v(v({},"".concat(g,"-item-active"),a),"".concat(g,"-item-disabled"),N),u),z=Y({className:w(i,"".concat(g,"-header"),v({},"".concat(g,"-collapsible-").concat(h),!!h),f.header),style:m.header},["header","icon"].includes(h)?{}:P);return n.createElement("div",s({},I,{ref:t,className:T}),n.createElement("div",z,o&&R,n.createElement("span",s({className:"".concat(g,"-header-text")},"header"===h?P:{}),$),M&&n.createElement("div",{className:"".concat(g,"-extra")},C)),n.createElement(Ts,s({visible:a,leavedClassName:"".concat(g,"-content-hidden")},k,{forceRender:c,removeOnLeave:E}),(function(e,t){var r=e.className,o=e.style;return n.createElement(sf,{ref:t,prefixCls:g,className:r,classNames:f,style:o,styles:m,isActive:a,forceRender:c,role:y?"tabpanel":void 0},O)})))})),ff=["children","label","key","collapsible","onItemClick","destroyInactivePanel"];function pf(e,t,r){return Array.isArray(e)?function(e,t){var r=t.prefixCls,o=t.accordion,i=t.collapsible,a=t.destroyInactivePanel,l=t.onItemClick,c=t.activeKey,u=t.openMotion,d=t.expandIcon;return e.map((function(e,t){var f=e.children,p=e.label,m=e.key,g=e.collapsible,h=e.onItemClick,v=e.destroyInactivePanel,y=b(e,ff),x=String(null!=m?m:t),C=null!=g?g:i,w=null!=v?v:a,$=!1;return $=o?c[0]===x:c.indexOf(x)>-1,n.createElement(df,s({},y,{prefixCls:r,key:x,panelKey:x,isActive:$,accordion:o,openMotion:u,expandIcon:d,header:p,collapsible:C,onItemClick:function(e){"disabled"!==C&&(l(e),null==h||h(e))},destroyInactivePanel:w}),f)}))}(e,r):Io(t).map((function(e,t){return function(e,t,r){if(!e)return null;var o=r.prefixCls,i=r.accordion,a=r.collapsible,l=r.destroyInactivePanel,c=r.onItemClick,s=r.activeKey,u=r.openMotion,d=r.expandIcon,f=e.key||String(t),p=e.props,m=p.header,g=p.headerClass,h=p.destroyInactivePanel,v=p.collapsible,b=p.onItemClick,y=!1;y=i?s[0]===f:s.indexOf(f)>-1;var x=null!=v?v:a,C={key:f,panelKey:f,header:m,headerClass:g,isActive:y,prefixCls:o,destroyInactivePanel:null!=h?h:l,openMotion:u,accordion:i,children:e.props.children,onItemClick:function(e){"disabled"!==x&&(c(e),null==b||b(e))},expandIcon:d,collapsible:x};return"string"==typeof e.type?e:(Object.keys(C).forEach((function(e){void 0===C[e]&&delete C[e]})),n.cloneElement(e,C))}(e,t,r)}))}function mf(e){var t=e;if(!Array.isArray(t)){var n=g(t);t="number"===n||"string"===n?[t]:[]}return t.map((function(e){return String(e)}))}var gf=n.forwardRef((function(e,t){var r=e.prefixCls,o=void 0===r?"rc-collapse":r,i=e.destroyInactivePanel,a=void 0!==i&&i,l=e.style,c=e.accordion,u=e.className,d=e.children,f=e.collapsible,p=e.openMotion,g=e.expandIcon,h=e.activeKey,v=e.defaultActiveKey,b=e.onChange,y=e.items,x=w(o,u),C=m(vc([],{value:h,onChange:function(e){return null==b?void 0:b(e)},defaultValue:v,postState:mf}),2),$=C[0],S=C[1];me(!d,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var k=pf(y,d,{prefixCls:o,accordion:c,openMotion:p,expandIcon:g,collapsible:f,destroyInactivePanel:a,onItemClick:function(e){return S((function(){return c?$[0]===e?[]:[e]:$.indexOf(e)>-1?$.filter((function(t){return t!==e})):[].concat(xi($),[e])}))},activeKey:$});return n.createElement("div",s({ref:t,className:x,style:l,role:c?"tablist":void 0},au(e,{aria:!0,data:!0})),k)}));const hf=Object.assign(gf,{Panel:df});hf.Panel;const vf=e.forwardRef(((t,n)=>{const{getPrefixCls:r}=e.useContext(Ul),{prefixCls:o,className:i,showArrow:a=!0}=t,l=r("collapse",o),c=w({[`${l}-no-arrow`]:!a},i);return e.createElement(hf.Panel,Object.assign({ref:n},t,{prefixCls:l,className:c}))})),bf=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),yf=e=>({animationDuration:e,animationFillMode:"both"}),xf=e=>({animationDuration:e,animationFillMode:"both"}),Cf=(e,t,n,r,o=!1)=>{const i=o?"&":"";return{[`\n ${i}${e}-enter,\n ${i}${e}-appear\n `]:Object.assign(Object.assign({},yf(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},xf(r)),{animationPlayState:"paused"}),[`\n ${i}${e}-enter${e}-enter-active,\n ${i}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},wf=new cl("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),$f=new cl("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),Sf=(e,t=!1)=>{const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[Cf(r,wf,$f,e.motionDurationMid,t),{[`\n ${o}${r}-enter,\n ${o}${r}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},kf=new cl("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ef=new cl("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Of=new cl("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),If=new cl("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Nf=new cl("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Mf=new cl("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Pf={"move-up":{inKeyframes:new cl("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new cl("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:kf,outKeyframes:Ef},"move-left":{inKeyframes:Of,outKeyframes:If},"move-right":{inKeyframes:Nf,outKeyframes:Mf}},jf=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=Pf[t];return[Cf(r,o,i,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Rf=new cl("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Tf=new cl("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),zf=new cl("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Hf=new cl("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),Df=new cl("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Bf=new cl("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),Af=new cl("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Lf=new cl("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),Ff={"slide-up":{inKeyframes:Rf,outKeyframes:Tf},"slide-down":{inKeyframes:zf,outKeyframes:Hf},"slide-left":{inKeyframes:Df,outKeyframes:Bf},"slide-right":{inKeyframes:Af,outKeyframes:Lf}},_f=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=Ff[t];return[Cf(r,o,i,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},Wf=new cl("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Kf=new cl("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Vf=new cl("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),qf=new cl("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),Xf=new cl("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),Gf=new cl("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),Yf=new cl("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),Uf=new cl("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),Qf=new cl("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),Zf=new cl("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),Jf=new cl("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),ep=new cl("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),tp={zoom:{inKeyframes:Wf,outKeyframes:Kf},"zoom-big":{inKeyframes:Vf,outKeyframes:qf},"zoom-big-fast":{inKeyframes:Vf,outKeyframes:qf},"zoom-left":{inKeyframes:Yf,outKeyframes:Uf},"zoom-right":{inKeyframes:Qf,outKeyframes:Zf},"zoom-up":{inKeyframes:Xf,outKeyframes:Gf},"zoom-down":{inKeyframes:Jf,outKeyframes:ep}},np=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=tp[t];return[Cf(r,o,i,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},rp=e=>{const{componentCls:t,contentBg:n,padding:r,headerBg:o,headerPadding:i,collapseHeaderPaddingSM:a,collapseHeaderPaddingLG:l,collapsePanelBorderRadius:c,lineWidth:s,lineType:u,colorBorder:d,colorText:f,colorTextHeading:p,colorTextDisabled:m,fontSizeLG:g,lineHeight:h,lineHeightLG:v,marginSM:b,paddingSM:y,paddingLG:x,paddingXS:C,motionDurationSlow:w,fontSizeIcon:$,contentPadding:S,fontHeight:k,fontHeightLG:E}=e,O=`${qi(s)} ${u} ${d}`;return{[t]:Object.assign(Object.assign({},Ac(e)),{backgroundColor:o,border:O,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:O,"&:first-child":{[`\n &,\n & > ${t}-header`]:{borderRadius:`${qi(c)} ${qi(c)} 0 0`}},"&:last-child":{[`\n &,\n & > ${t}-header`]:{borderRadius:`0 0 ${qi(c)} ${qi(c)}`}},[`> ${t}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:p,lineHeight:h,cursor:"pointer",transition:`all ${w}, visibility 0s`},Fc(e)),{[`> ${t}-header-text`]:{flex:"auto"},[`${t}-expand-icon`]:{height:k,display:"flex",alignItems:"center",paddingInlineEnd:b},[`${t}-arrow`]:Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{fontSize:$,transition:`transform ${w}`,svg:{transition:`transform ${w}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}}),[`${t}-collapsible-header`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-collapsible-icon`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:f,backgroundColor:n,borderTop:O,[`& > ${t}-content-box`]:{padding:S},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:a,paddingInlineStart:C,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(y).sub(C).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:y}}},"&-large":{[`> ${t}-item`]:{fontSize:g,lineHeight:v,[`> ${t}-header`]:{padding:l,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:E,marginInlineStart:e.calc(x).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:x}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${qi(c)} ${qi(c)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:m,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:b}}}}})}},op=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},ip=e=>{const{componentCls:t,headerBg:n,borderlessContentPadding:r,borderlessContentBg:o,colorBorder:i}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${i}`},[`\n > ${t}-item:last-child,\n > ${t}-item:last-child ${t}-header\n `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:o,borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{padding:r}}}},ap=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},lp=Kc("Collapse",(e=>{const t=Cc(e,{collapseHeaderPaddingSM:`${qi(e.paddingXS)} ${qi(e.paddingSM)}`,collapseHeaderPaddingLG:`${qi(e.padding)} ${qi(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[rp(t),ip(t),ap(t),op(t),bf(t)]}),(e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer,borderlessContentPadding:`${e.paddingXXS}px 16px ${e.padding}px`,borderlessContentBg:"transparent"}))),cp=e.forwardRef(((t,n)=>{const{getPrefixCls:r,direction:o,expandIcon:i,className:a,style:l}=Zl("collapse"),{prefixCls:c,className:s,rootClassName:u,style:d,bordered:f=!0,ghost:p,size:m,expandIconPosition:g="start",children:h,destroyInactivePanel:v,destroyOnHidden:b,expandIcon:y}=t,x=Nd((e=>{var t;return null!==(t=null!=m?m:e)&&void 0!==t?t:"middle"})),C=r("collapse",c),$=r(),[S,k,E]=lp(C),O=e.useMemo((()=>"left"===g?"start":"right"===g?"end":g),[g]),I=null!=y?y:i,N=e.useCallback(((t={})=>{const n="function"==typeof I?I(t):e.createElement(kr,{rotate:t.isActive?"rtl"===o?-90:90:void 0,"aria-label":t.isActive?"expanded":"collapsed"});return cu(n,(()=>{var e;return{className:w(null===(e=null==n?void 0:n.props)||void 0===e?void 0:e.className,`${C}-arrow`)}}))}),[I,C]),M=w(`${C}-icon-position-${O}`,{[`${C}-borderless`]:!f,[`${C}-rtl`]:"rtl"===o,[`${C}-ghost`]:!!p,[`${C}-${x}`]:"middle"!==x},a,s,u,k,E),P=Object.assign(Object.assign({},vd($)),{motionAppear:!1,leavedClassName:`${C}-content-hidden`}),j=e.useMemo((()=>h?Io(h).map(((e,t)=>{var n,r;const o=e.props;if(null==o?void 0:o.disabled){const i=null!==(n=e.key)&&void 0!==n?n:String(t);return cu(e,Object.assign(Object.assign({},bd(e.props,["disabled"])),{key:i,collapsible:null!==(r=o.collapsible)&&void 0!==r?r:"disabled"}))}return e})):null),[h]);return S(e.createElement(hf,Object.assign({ref:n,openMotion:P},bd(t,["rootClassName"]),{expandIcon:N,prefixCls:C,className:M,style:Object.assign(Object.assign({},l),d),destroyInactivePanel:null!=b?b:v}),j))})),sp=Object.assign(cp,{Panel:vf}),up=e=>{const{paddingInline:t,onlyIconSize:n}=e;return Cc(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n})},dp=e=>{var t,n,r,o,i,a;const l=null!==(t=e.contentFontSize)&&void 0!==t?t:e.fontSize,c=null!==(n=e.contentFontSizeSM)&&void 0!==n?n:e.fontSize,s=null!==(r=e.contentFontSizeLG)&&void 0!==r?r:e.fontSizeLG,u=null!==(o=e.contentLineHeight)&&void 0!==o?o:Bl(l),d=null!==(i=e.contentLineHeightSM)&&void 0!==i?i:Bl(c),f=null!==(a=e.contentLineHeightLG)&&void 0!==a?a:Bl(s),p=((e,t)=>{const{r:n,g:r,b:o,a:i}=e.toRgb(),a=new lf(e.toRgbString()).onBackground(t).toHsv();return i<=.5?a.v>.5:.299*n+.587*r+.114*o>192})(new cf(e.colorBgSolid),"#fff")?"#000":"#fff",m=Oc.reduce(((t,n)=>Object.assign(Object.assign({},t),{[`${n}ShadowColor`]:`0 ${qi(e.controlOutlineWidth)} 0 ${Nc(e[`${n}1`],e.colorBgContainer)}`})),{});return Object.assign(Object.assign({},m),{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:p,contentFontSize:l,contentFontSizeSM:c,contentFontSizeLG:s,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-l*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-c*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-s*f)/2-e.lineWidth,0)})},fp=e=>{const{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:o,motionDurationSlow:i,motionEaseInOut:a,marginXS:l,calc:c}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${qi(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}},"> a":{color:"currentColor"},"&:not(:disabled)":Fc(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"},[`&${t}-round`]:{width:"auto"}},[`&${t}-loading`]:{opacity:o,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map((e=>`${e} ${i} ${a}`)).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:c(l).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:c(l).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:c(l).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:c(l).mul(-1).equal()}}}}}},pp=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),mp=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),gp=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),hp=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),vp=(e,t,n,r,o,i,a,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},pp(e,Object.assign({background:t},a),Object.assign({background:t},l))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),bp=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},hp(e))}),yp=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),xp=(e,t,n,r)=>{const o=r&&["link","text"].includes(r)?yp:bp;return Object.assign(Object.assign({},o(e)),pp(e.componentCls,t,n))},Cp=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:n},xp(e,r,o))}),wp=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:n},xp(e,r,o))}),$p=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),Sp=(e,t,n,r)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},xp(e,n,r))}),kp=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-${n}`]:Object.assign({color:t,boxShadow:"none"},xp(e,r,o,n))}),Ep=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},Cp(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive})),$p(e)),Sp(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),vp(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),kp(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Op=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},wp(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),$p(e)),Sp(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),kp(e,e.colorPrimaryText,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),kp(e,e.colorPrimaryText,"link",{color:e.colorPrimaryTextHover,background:e.linkHoverBg},{color:e.colorPrimaryTextActive})),vp(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),Ip=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},Cp(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),wp(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),$p(e)),Sp(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),kp(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),kp(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),vp(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Np=e=>Object.assign(Object.assign({},kp(e,e.colorLink,"link",{color:e.colorLinkHover},{color:e.colorLinkActive})),vp(e.componentCls,e.ghostBg,e.colorInfo,e.colorInfo,e.colorTextDisabled,e.colorBorder,{color:e.colorInfoHover,borderColor:e.colorInfoHover},{color:e.colorInfoActive,borderColor:e.colorInfoActive})),Mp=e=>{const{componentCls:t}=e;return Object.assign({[`${t}-color-default`]:Ep(e),[`${t}-color-primary`]:Op(e),[`${t}-color-dangerous`]:Ip(e),[`${t}-color-link`]:Np(e)},(e=>{const{componentCls:t}=e;return Oc.reduce(((n,r)=>{const o=e[`${r}6`],i=e[`${r}1`],a=e[`${r}5`],l=e[`${r}2`],c=e[`${r}3`],s=e[`${r}7`];return Object.assign(Object.assign({},n),{[`&${t}-color-${r}`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:o,boxShadow:e[`${r}ShadowColor`]},Cp(e,e.colorTextLightSolid,o,{background:a},{background:s})),wp(e,o,e.colorBgContainer,{color:a,borderColor:a,background:e.colorBgContainer},{color:s,borderColor:s,background:e.colorBgContainer})),$p(e)),Sp(e,i,{background:l},{background:c})),kp(e,o,"link",{color:a},{color:s})),kp(e,o,"text",{color:a,background:i},{color:s,background:c}))})}),{})})(e))},Pp=e=>Object.assign(Object.assign(Object.assign(Object.assign({},wp(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),kp(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),Cp(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),kp(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),jp=(e,t="")=>{const{componentCls:n,controlHeight:r,fontSize:o,borderRadius:i,buttonPaddingHorizontal:a,iconCls:l,buttonPaddingVertical:c,buttonIconOnlyFontSize:s}=e;return[{[t]:{fontSize:o,height:r,padding:`${qi(c)} ${qi(a)}`,borderRadius:i,[`&${n}-icon-only`]:{width:r,[l]:{fontSize:s}}}},{[`${n}${n}-circle${t}`]:mp(e)},{[`${n}${n}-round${t}`]:gp(e)}]},Rp=e=>{const t=Cc(e,{fontSize:e.contentFontSize});return jp(t,e.componentCls)},Tp=e=>{const t=Cc(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return jp(t,`${e.componentCls}-sm`)},zp=e=>{const t=Cc(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return jp(t,`${e.componentCls}-lg`)},Hp=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},Dp=Kc("Button",(e=>{const t=up(e);return[fp(t),Rp(t),Tp(t),zp(t),Hp(t),Mp(t),Pp(t),tf(t)]}),dp,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function Bp(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",l=["hover",o?"focus":null,"active"].filter(Boolean).map((e=>`&:${e} ${a}`)).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[l]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function Ap(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Lp(e,t={focus:!0}){const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},Bp(e,r,t)),Ap(n,r,t))}}function Fp(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function _p(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},Fp(e,t)),(n=e.componentCls,r=t,{[`&-item:not(${r}-first-item):not(${r}-last-item)`]:{borderRadius:0},[`&-item${r}-first-item:not(${r}-last-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${r}-last-item:not(${r}-first-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))};var n,r}const Wp=e=>{const{componentCls:t,colorPrimaryHover:n,lineWidth:r,calc:o}=e,i=o(r).mul(-1).equal(),a=e=>{const o=`${t}-compact${e?"-vertical":""}-item${t}-primary:not([disabled])`;return{[`${o} + ${o}::before`]:{position:"absolute",top:e?i:0,insetInlineStart:e?0:i,backgroundColor:n,content:'""',width:e?"100%":r,height:e?r:"100%"}}};return Object.assign(Object.assign({},a()),a(!0))},Kp=qc(["Button","compact"],(e=>{const t=up(e);return[Lp(t),_p(t),Wp(t)]}),dp);var Vp=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const qp={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["link","link"],text:["default","text"]},Xp=n.forwardRef(((t,r)=>{var o,i;const{loading:a=!1,prefixCls:l,color:c,variant:s,type:u,danger:d=!1,shape:f="default",size:p,styles:m,disabled:g,className:h,rootClassName:v,children:b,icon:y,iconPosition:x="start",ghost:C=!1,block:$=!1,htmlType:S="button",classNames:k,style:E={},autoInsertSpace:O,autoFocus:I}=t,N=Vp(t,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),M=u||"default",{button:P}=n.useContext(Ul),[j,R]=e.useMemo((()=>{if(c&&s)return[c,s];if(u||d){const e=qp[M]||[];return d?["danger",e[1]]:e}return(null==P?void 0:P.color)&&(null==P?void 0:P.variant)?[P.color,P.variant]:["default","outlined"]}),[u,c,s,d,null==P?void 0:P.variant,null==P?void 0:P.color]),T="danger"===j?"dangerous":j,{getPrefixCls:z,direction:H,autoInsertSpace:D,className:B,style:A,classNames:L,styles:F}=Zl("button"),_=null===(o=null!=O?O:D)||void 0===o||o,W=z("btn",l),[K,V,q]=Dp(W),X=e.useContext(rc),G=null!=g?g:X,Y=e.useContext(Fd),U=e.useMemo((()=>function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return t=Number.isNaN(t)||"number"!=typeof t?0:t,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}(a)),[a]),[Q,Z]=e.useState(U.loading),[J,ee]=e.useState(!1),te=e.useRef(null),ne=So(r,te),re=1===e.Children.count(b)&&!y&&!Xd(R),oe=e.useRef(!0);n.useEffect((()=>(oe.current=!1,()=>{oe.current=!0})),[]),e.useEffect((()=>{let e=null;return U.delay>0?e=setTimeout((()=>{e=null,Z(!0)}),U.delay):Z(U.loading),function(){e&&(clearTimeout(e),e=null)}}),[U]),e.useEffect((()=>{if(!te.current||!_)return;const e=te.current.textContent||"";re&&Kd(e)?J||ee(!0):J&&ee(!1)})),e.useEffect((()=>{I&&te.current&&te.current.focus()}),[]);const ie=n.useCallback((e=>{var n;Q||G?e.preventDefault():null===(n=t.onClick)||void 0===n||n.call(t,e)}),[t.onClick,Q,G]),{compactSize:ae,compactItemClassnames:le}=Hd(W,H),ce=Nd((e=>{var t,n;return null!==(n=null!==(t=null!=p?p:ae)&&void 0!==t?t:Y)&&void 0!==n?n:e})),se=ce&&null!==(i={large:"lg",small:"sm",middle:void 0}[ce])&&void 0!==i?i:"",ue=Q?"loading":y,de=bd(N,["navigate"]),fe=w(W,V,q,{[`${W}-${f}`]:"default"!==f&&f,[`${W}-${M}`]:M,[`${W}-dangerous`]:d,[`${W}-color-${T}`]:T,[`${W}-variant-${R}`]:R,[`${W}-${se}`]:se,[`${W}-icon-only`]:!b&&0!==b&&!!ue,[`${W}-background-ghost`]:C&&!Xd(R),[`${W}-loading`]:Q,[`${W}-two-chinese-chars`]:J&&_&&!Q,[`${W}-block`]:$,[`${W}-rtl`]:"rtl"===H,[`${W}-icon-end`]:"end"===x},le,h,v,B),pe=Object.assign(Object.assign({},A),E),me=w(null==k?void 0:k.icon,L.icon),ge=Object.assign(Object.assign({},(null==m?void 0:m.icon)||{}),F.icon||{}),he=y&&!Q?n.createElement(Yd,{prefixCls:W,className:me,style:ge},y):a&&"object"==typeof a&&a.icon?n.createElement(Yd,{prefixCls:W,className:me,style:ge},a.icon):n.createElement(Jd,{existIcon:!!y,prefixCls:W,loading:Q,mount:oe.current}),ve=b||0===b?Gd(b,re&&_):null;if(void 0!==de.href)return K(n.createElement("a",Object.assign({},de,{className:w(fe,{[`${W}-disabled`]:G}),href:G?void 0:de.href,style:pe,onClick:ie,ref:ne,tabIndex:G?-1:0}),he,ve));let be=n.createElement("button",Object.assign({},N,{type:S,className:fe,style:pe,onClick:ie,disabled:G,ref:ne}),he,ve,le&&n.createElement(Kp,{prefixCls:W}));return Xd(R)||(be=n.createElement(Id,{component:"Button",disabled:Q},be)),K(be)})),Gp=Xp;Gp.Group=_d,Gp.__ANT_BUTTON=!0;const Yp=Gp;function Up(e){return!!(null==e?void 0:e.then)}const Qp=t=>{const{type:n,children:r,prefixCls:o,buttonProps:i,close:a,autoFocus:l,emitEvent:c,isSilent:s,quitOnNullishReturnValue:u,actionFn:d}=t,f=e.useRef(!1),p=e.useRef(null),[m,g]=gc(!1),h=(...e)=>{null==a||a.apply(void 0,e)};e.useEffect((()=>{let e=null;return l&&(e=setTimeout((()=>{var e;null===(e=p.current)||void 0===e||e.focus({preventScroll:!0})}))),()=>{e&&clearTimeout(e)}}),[]);return e.createElement(Yp,Object.assign({},Vd(n),{onClick:e=>{if(f.current)return;if(f.current=!0,!d)return void h();let t;if(c){if(t=d(e),u&&!Up(t))return f.current=!1,void h(e)}else if(d.length)t=d(a),f.current=!1;else if(t=d(),!Up(t))return void h();(e=>{Up(e)&&(g(!0),e.then(((...e)=>{g(!1,!0),h.apply(void 0,e),f.current=!1}),(e=>{if(g(!1,!0),f.current=!1,!(null==s?void 0:s()))return Promise.reject(e)})))})(t)},loading:m,prefixCls:o},i,{ref:p}),r)},Zp=n.createContext({}),{Provider:Jp}=Zp,em=()=>{const{autoFocusButton:t,cancelButtonProps:r,cancelTextLocale:o,isSilent:i,mergedOkCancel:a,rootPrefixCls:l,close:c,onCancel:s,onConfirm:u}=e.useContext(Zp);return a?n.createElement(Qp,{isSilent:i,actionFn:s,close:(...e)=>{null==c||c.apply(void 0,e),null==u||u(!1)},autoFocus:"cancel"===t,buttonProps:r,prefixCls:`${l}-btn`},o):null},tm=()=>{const{autoFocusButton:t,close:r,isSilent:o,okButtonProps:i,rootPrefixCls:a,okTextLocale:l,okType:c,onConfirm:s,onOk:u}=e.useContext(Zp);return n.createElement(Qp,{isSilent:o,type:c||"primary",actionFn:u,close:(...e)=>{null==r||r.apply(void 0,e),null==s||s(!0)},autoFocus:"ok"===t,buttonProps:i,prefixCls:`${a}-btn`},l)};var nm,rm=e.createContext(null),om=[];function im(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r,o,i=n.style;if(i.position="absolute",i.left="0",i.top="0",i.width="100px",i.height="100px",i.overflow="scroll",e){var a=getComputedStyle(e);i.scrollbarColor=a.scrollbarColor,i.scrollbarWidth=a.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(l.width,10),s=parseInt(l.height,10);try{var u=c?"width: ".concat(l.width,";"):"",d=s?"height: ".concat(l.height,";"):"";le("\n#".concat(t,"::-webkit-scrollbar {\n").concat(u,"\n").concat(d,"\n}"),t)}catch(y$){r=c,o=s}}document.body.appendChild(n);var f=e&&r&&!isNaN(r)?r:n.offsetWidth-n.clientWidth,p=e&&o&&!isNaN(o)?o:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),ae(t),{width:f,height:p}}function am(e){return"undefined"==typeof document?0:((e||void 0===nm)&&(nm=im()),nm.width)}function lm(e){return"undefined"!=typeof document&&e&&e instanceof Element?im(e):{width:0,height:0}}var cm="rc-util-locker-".concat(Date.now()),sm=0;function um(t){var n=!!t,r=m(e.useState((function(){return sm+=1,"".concat(cm,"_").concat(sm)})),1)[0];Zi((function(){if(n){var e=lm(document.body).width,t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;le("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),r)}else ae(r);return function(){ae(r)}}),[n,r])}var dm=!1;var fm=function(e){return!1!==e&&(U()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},pm=e.forwardRef((function(t,n){var r=t.open,o=t.autoLock,a=t.getContainer;t.debug;var l=t.autoDestroy,c=void 0===l||l,s=t.children,u=m(e.useState(r),2),d=u[0],f=u[1],p=d||r;e.useEffect((function(){(c||r)&&f(r)}),[r,c]);var g=m(e.useState((function(){return fm(a)})),2),h=g[0],v=g[1];e.useEffect((function(){var e=fm(a);v(null!=e?e:null)}));var b=function(t){var n=m(e.useState((function(){return U()?document.createElement("div"):null})),1)[0],r=e.useRef(!1),o=e.useContext(rm),i=m(e.useState(om),2),a=i[0],l=i[1],c=o||(r.current?void 0:function(e){l((function(t){return[e].concat(xi(t))}))});function s(){n.parentElement||document.body.appendChild(n),r.current=!0}function u(){var e;null===(e=n.parentElement)||void 0===e||e.removeChild(n),r.current=!1}return Zi((function(){return t?o?o(s):s():u(),u}),[t]),Zi((function(){a.length&&(a.forEach((function(e){return e()})),l(om))}),[a]),[n,c]}(p&&!h),y=m(b,2),x=y[0],C=y[1],w=null!=h?h:x;um(o&&r&&U()&&(w===x||w===document.body));var $=null;s&&ko(s)&&n&&($=s.ref);var S=So($,n);if(!p||!U()||void 0===h)return null;var k,E=!1===w||("boolean"==typeof k&&(dm=k),dm),O=s;return n&&(O=e.cloneElement(s,{ref:S})),e.createElement(rm.Provider,{value:C},E?O:i.createPortal(O,w))})),mm=e.createContext({});var gm=0,hm=Y({},o).useId;const vm=hm?function(e){var t=hm();return e||t}:function(t){var n=m(e.useState("ssr-id"),2),r=n[0],o=n[1];return e.useEffect((function(){var e=gm;gm+=1,o("rc_unique_".concat(e))}),[]),t||r};function bm(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function ym(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}const xm=e.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate}));var Cm={width:0,height:0,overflow:"hidden",outline:"none"},wm={outline:"none"},$m=n.forwardRef((function(t,r){var o=t.prefixCls,i=t.className,a=t.style,l=t.title,c=t.ariaId,u=t.footer,d=t.closable,f=t.closeIcon,p=t.onClose,m=t.children,h=t.bodyStyle,v=t.bodyProps,b=t.modalRender,y=t.onMouseDown,x=t.onMouseUp,C=t.holderRef,$=t.visible,S=t.forceRender,k=t.width,E=t.height,O=t.classNames,I=t.styles,N=n.useContext(mm).panel,M=So(C,N),P=e.useRef(),j=e.useRef();n.useImperativeHandle(r,(function(){return{focus:function(){var e;null===(e=P.current)||void 0===e||e.focus({preventScroll:!0})},changeActive:function(e){var t=document.activeElement;e&&t===j.current?P.current.focus({preventScroll:!0}):e||t!==P.current||j.current.focus({preventScroll:!0})}}}));var R={};void 0!==k&&(R.width=k),void 0!==E&&(R.height=E);var T=u?n.createElement("div",{className:w("".concat(o,"-footer"),null==O?void 0:O.footer),style:Y({},null==I?void 0:I.footer)},u):null,z=l?n.createElement("div",{className:w("".concat(o,"-header"),null==O?void 0:O.header),style:Y({},null==I?void 0:I.header)},n.createElement("div",{className:"".concat(o,"-title"),id:c},l)):null,H=e.useMemo((function(){return"object"===g(d)&&null!==d?d:d?{closeIcon:null!=f?f:n.createElement("span",{className:"".concat(o,"-close-x")})}:{}}),[d,f,o]),D=au(H,!0),B="object"===g(d)&&d.disabled,A=d?n.createElement("button",s({type:"button",onClick:p,"aria-label":"Close"},D,{className:"".concat(o,"-close"),disabled:B}),H.closeIcon):null,L=n.createElement("div",{className:w("".concat(o,"-content"),null==O?void 0:O.content),style:null==I?void 0:I.content},A,z,n.createElement("div",s({className:w("".concat(o,"-body"),null==O?void 0:O.body),style:Y(Y({},h),null==I?void 0:I.body)},v),m),T);return n.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":l?c:null,"aria-modal":"true",ref:M,style:Y(Y({},a),R),className:w(o,i),onMouseDown:y,onMouseUp:x},n.createElement("div",{ref:P,tabIndex:0,style:wm},n.createElement(xm,{shouldUpdate:$||S},b?b(L):L)),n.createElement("div",{tabIndex:0,ref:j,style:Cm}))})),Sm=e.forwardRef((function(t,n){var r=t.prefixCls,o=t.title,i=t.style,a=t.className,l=t.visible,c=t.forceRender,u=t.destroyOnClose,d=t.motionName,f=t.ariaId,p=t.onVisibleChanged,g=t.mousePosition,h=e.useRef(),v=m(e.useState(),2),b=v[0],y=v[1],x={};function C(){var e,t,n,r,o,i=(e=h.current,t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow,n.left+=ym(o),n.top+=ym(o,!0),n);y(g&&(g.x||g.y)?"".concat(g.x-i.left,"px ").concat(g.y-i.top,"px"):"")}return b&&(x.transformOrigin=b),e.createElement(Ts,{visible:l,onVisibleChanged:p,onAppearPrepare:C,onEnterPrepare:C,forceRender:c,motionName:d,removeOnLeave:u,ref:h},(function(l,c){var u=l.className,d=l.style;return e.createElement($m,s({},t,{ref:n,title:o,ariaId:f,prefixCls:r,holderRef:c,style:Y(Y(Y({},d),i),x),className:w(a,u)}))}))}));Sm.displayName="Content";var km=function(t){var n=t.prefixCls,r=t.style,o=t.visible,i=t.maskProps,a=t.motionName,l=t.className;return e.createElement(Ts,{key:"mask",visible:o,motionName:a,leavedClassName:"".concat(n,"-mask-hidden")},(function(t,o){var a=t.className,c=t.style;return e.createElement("div",s({ref:o,style:Y(Y({},c),r),className:w("".concat(n,"-mask"),a,l)},i))}))},Em=function(t){var n=t.prefixCls,r=void 0===n?"rc-dialog":n,o=t.zIndex,i=t.visible,a=void 0!==i&&i,l=t.keyboard,c=void 0===l||l,u=t.focusTriggerAfterClose,d=void 0===u||u,f=t.wrapStyle,p=t.wrapClassName,g=t.wrapProps,h=t.onClose,v=t.afterOpenChange,b=t.afterClose,y=t.transitionName,x=t.animation,C=t.closable,$=void 0===C||C,S=t.mask,k=void 0===S||S,E=t.maskTransitionName,O=t.maskAnimation,I=t.maskClosable,N=void 0===I||I,M=t.maskStyle,P=t.maskProps,j=t.rootClassName,R=t.classNames,T=t.styles,z=e.useRef(),H=e.useRef(),D=e.useRef(),B=m(e.useState(a),2),A=B[0],L=B[1],F=vm();function _(e){null==h||h(e)}var W=e.useRef(!1),K=e.useRef(),V=null;N&&(V=function(e){W.current?W.current=!1:H.current===e.target&&_(e)}),e.useEffect((function(){a&&(L(!0),Q(H.current,document.activeElement)||(z.current=document.activeElement))}),[a]),e.useEffect((function(){return function(){clearTimeout(K.current)}}),[]);var q=Y(Y(Y({zIndex:o},f),null==T?void 0:T.wrapper),{},{display:A?null:"none"});return e.createElement("div",s({className:w("".concat(r,"-root"),j)},au(t,{data:!0})),e.createElement(km,{prefixCls:r,visible:k&&a,motionName:bm(r,E,O),style:Y(Y({zIndex:o},M),null==T?void 0:T.mask),maskProps:P,className:null==R?void 0:R.mask}),e.createElement("div",s({tabIndex:-1,onKeyDown:function(e){if(c&&e.keyCode===yu.ESC)return e.stopPropagation(),void _(e);a&&e.keyCode===yu.TAB&&D.current.changeActive(!e.shiftKey)},className:w("".concat(r,"-wrap"),p,null==R?void 0:R.wrapper),ref:H,onClick:V,style:q},g),e.createElement(Sm,s({},t,{onMouseDown:function(){clearTimeout(K.current),W.current=!0},onMouseUp:function(){K.current=setTimeout((function(){W.current=!1}))},ref:D,closable:$,ariaId:F,prefixCls:r,visible:a&&A,onClose:_,onVisibleChanged:function(e){if(e)Q(H.current,document.activeElement)||null===(t=D.current)||void 0===t||t.focus();else{if(L(!1),k&&z.current&&d){try{z.current.focus({preventScroll:!0})}catch(y$){}z.current=null}A&&(null==b||b())}var t;null==v||v(e)},motionName:bm(r,y,x)}))))},Om=function(t){var n=t.visible,r=t.getContainer,o=t.forceRender,i=t.destroyOnClose,a=void 0!==i&&i,l=t.afterClose,c=t.panelRef,u=m(e.useState(n),2),d=u[0],f=u[1],p=e.useMemo((function(){return{panel:c}}),[c]);return e.useEffect((function(){n&&f(!0)}),[n]),o||!a||d?e.createElement(mm.Provider,{value:p},e.createElement(pm,{open:n||o||d,autoDestroy:!1,getContainer:r,autoLock:n||d},e.createElement(Em,s({},t,{destroyOnClose:a,afterClose:function(){null==l||l(),f(!1)}})))):null};Om.displayName="Dialog";var Im="RC_FORM_INTERNAL_HOOKS",Nm=function(){me(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Mm=e.createContext({getFieldValue:Nm,getFieldsValue:Nm,getFieldError:Nm,getFieldWarning:Nm,getFieldsError:Nm,isFieldsTouched:Nm,isFieldTouched:Nm,isFieldValidating:Nm,isFieldsValidating:Nm,resetFields:Nm,setFields:Nm,setFieldValue:Nm,setFieldsValue:Nm,validateFields:Nm,submit:Nm,getInternalHooks:function(){return Nm(),{dispatch:Nm,initEntityValue:Nm,registerField:Nm,useSubscribe:Nm,setInitialValues:Nm,destroyForm:Nm,setCallbacks:Nm,registerWatch:Nm,getFields:Nm,setValidateMessages:Nm,setPreserve:Nm,getInitialValue:Nm}}}),Pm=e.createContext(null);function jm(e){return null==e?[]:Array.isArray(e)?e:[e]}function Rm(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Tm=Rm();function zm(e){var t="function"==typeof Map?new Map:void 0;return zm=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(ui())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&li(o,n.prototype),o}(e,arguments,si(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),li(n,e)},zm(e)}var Hm=/%[sdj%]/g,Dm=function(){};function Bm(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function Am(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i=n.length;return"function"==typeof e?e.apply(null,n):"string"==typeof e?e.replace(Hm,(function(e){if("%%"===e)return"%";if(o>=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(t){return"[Circular]"}break;default:return e}})):e}function Lm(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function Fm(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var l=r;r+=1,l<o?t(e[l],i):n([])}}([])}"undefined"!=typeof process&&process.env;var _m=function(){ci(t,zm(Error));var e=pi(t);function t(n,r){var o;return oi(this,t),v(di(o=e.call(this,"Async Validation Error")),"errors",void 0),v(di(o),"fields",void 0),o.errors=n,o.fields=r,o}return ai(t)}();function Wm(e,t,n,r,o){if(t.first){var i=new Promise((function(t,i){var a=function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,xi(e[n]||[]))})),t}(e);Fm(a,n,(function(e){return r(e),e.length?i(new _m(e,Bm(e))):t(o)}))}));return i.catch((function(e){return e})),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],l=Object.keys(e),c=l.length,s=0,u=[],d=new Promise((function(t,i){var d=function(e){if(u.push.apply(u,e),++s===c)return r(u),u.length?i(new _m(u,Bm(u))):t(o)};l.length||(r(u),t(o)),l.forEach((function(t){var r=e[t];-1!==a.indexOf(t)?Fm(r,n,d):function(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,xi(e||[])),++o===i&&n(r)}e.forEach((function(e){t(e,a)}))}(r,n,d)}))}));return d.catch((function(e){return e})),d}function Km(e,t){return function(n){var r,o;return r=e.fullFields?function(e,t){for(var n=e,r=0;r<t.length;r++){if(null==n)return n;n=n[t[r]]}return n}(t,e.fullFields):t[n.field||e.fullField],(o=n)&&void 0!==o.message?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:"function"==typeof n?n():n,fieldValue:r,field:n.field||e.fullField}}}function Vm(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"===g(r)&&"object"===g(e[n])?e[n]=Y(Y({},e[n]),r):e[n]=r}return e}var qm,Xm="enum",Gm=function(e,t,n,r,o,i){!e.required||n.hasOwnProperty(e.field)&&!Lm(t,i||e.type)||r.push(Am(o.messages.required,e.fullField))};var Ym=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,Um=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,Qm={integer:function(e){return Qm.number(e)&&parseInt(e,10)===e},float:function(e){return Qm.number(e)&&!Qm.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(y$){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===g(e)&&!Qm.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(Ym)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if(qm)return qm;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",o=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],i="(?:".concat(o.join("|"),")").concat("(?:%[0-9a-zA-Z]{1,})?"),a=new RegExp("(?:^".concat(n,"$)|(?:^").concat(i,"$)")),l=new RegExp("^".concat(n,"$")),c=new RegExp("^".concat(i,"$")),s=function(e){return e&&e.exact?a:new RegExp("(?:".concat(t(e)).concat(n).concat(t(e),")|(?:").concat(t(e)).concat(i).concat(t(e),")"),"g")};s.v4=function(e){return e&&e.exact?l:new RegExp("".concat(t(e)).concat(n).concat(t(e)),"g")},s.v6=function(e){return e&&e.exact?c:new RegExp("".concat(t(e)).concat(i).concat(t(e)),"g")};var u=s.v4().source,d=s.v6().source,f="(?:".concat("(?:(?:[a-z]+:)?//)","|www\\.)").concat("(?:\\S+(?::\\S*)?@)?","(?:localhost|").concat(u,"|").concat(d,"|").concat("(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)").concat("(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*").concat("(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",")").concat("(?::\\d{2,5})?").concat('(?:[/?#][^\\s"]*)?');return qm=new RegExp("(?:^".concat(f,"$)"),"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(Um)}};const Zm={required:Gm,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(Am(o.messages.whitespace,e.fullField))},type:function(e,t,n,r,o){if(e.required&&void 0===t)Gm(e,t,n,r,o);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?Qm[i](t)||r.push(Am(o.messages.types[i],e.fullField,e.type)):i&&g(t)!==e.type&&r.push(Am(o.messages.types[i],e.fullField,e.type))}},range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,l="number"==typeof e.max,c=t,s=null,u="number"==typeof t,d="string"==typeof t,f=Array.isArray(t);if(u?s="number":d?s="string":f&&(s="array"),!s)return!1;f&&(c=t.length),d&&(c=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?c!==e.len&&r.push(Am(o.messages[s].len,e.fullField,e.len)):a&&!l&&c<e.min?r.push(Am(o.messages[s].min,e.fullField,e.min)):l&&!a&&c>e.max?r.push(Am(o.messages[s].max,e.fullField,e.max)):a&&l&&(c<e.min||c>e.max)&&r.push(Am(o.messages[s].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[Xm]=Array.isArray(e[Xm])?e[Xm]:[],-1===e[Xm].indexOf(t)&&r.push(Am(o.messages[Xm],e.fullField,e[Xm].join(", ")))},pattern:function(e,t,n,r,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Am(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||r.push(Am(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};var Jm=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lm(t,i)&&!e.required)return n();Zm.required(e,t,r,a,o,i),Lm(t,i)||Zm.type(e,t,r,a,o)}n(a)};const eg={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lm(t,"string")&&!e.required)return n();Zm.required(e,t,r,i,o,"string"),Lm(t,"string")||(Zm.type(e,t,r,i,o),Zm.range(e,t,r,i,o),Zm.pattern(e,t,r,i,o),!0===e.whitespace&&Zm.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lm(t)&&!e.required)return n();Zm.required(e,t,r,i,o),void 0!==t&&Zm.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),Lm(t)&&!e.required)return n();Zm.required(e,t,r,i,o),void 0!==t&&(Zm.type(e,t,r,i,o),Zm.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lm(t)&&!e.required)return n();Zm.required(e,t,r,i,o),void 0!==t&&Zm.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lm(t)&&!e.required)return n();Zm.required(e,t,r,i,o),Lm(t)||Zm.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lm(t)&&!e.required)return n();Zm.required(e,t,r,i,o),void 0!==t&&(Zm.type(e,t,r,i,o),Zm.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lm(t)&&!e.required)return n();Zm.required(e,t,r,i,o),void 0!==t&&(Zm.type(e,t,r,i,o),Zm.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();Zm.required(e,t,r,i,o,"array"),null!=t&&(Zm.type(e,t,r,i,o),Zm.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lm(t)&&!e.required)return n();Zm.required(e,t,r,i,o),void 0!==t&&Zm.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lm(t)&&!e.required)return n();Zm.required(e,t,r,i,o),void 0!==t&&Zm.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lm(t,"string")&&!e.required)return n();Zm.required(e,t,r,i,o),Lm(t,"string")||Zm.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lm(t,"date")&&!e.required)return n();var a;if(Zm.required(e,t,r,i,o),!Lm(t,"date"))a=t instanceof Date?t:new Date(t),Zm.type(e,a,r,i,o),a&&Zm.range(e,a.getTime(),r,i,o)}n(i)},url:Jm,hex:Jm,email:Jm,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":g(t);Zm.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lm(t)&&!e.required)return n();Zm.required(e,t,r,i,o)}n(i)}};var tg=function(){function e(t){oi(this,e),v(this,"rules",null),v(this,"_messages",Tm),this.define(t)}return ai(e,[{key:"define",value:function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==g(e)||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))}},{key:"messages",value:function(e){return e&&(this._messages=Vm(Rm(),e)),this._messages}},{key:"validate",value:function(t){var n=this,r=t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if("function"==typeof o&&(i=o,o={}),!this.rules||0===Object.keys(this.rules).length)return i&&i(null,r),Promise.resolve(r);if(o.messages){var a=this.messages();a===Tm&&(a=Rm()),Vm(a,o.messages),o.messages=a}else o.messages=this.messages();var l={};(o.keys||Object.keys(this.rules)).forEach((function(e){var o=n.rules[e],i=r[e];o.forEach((function(o){var a=o;"function"==typeof a.transform&&(r===t&&(r=Y({},r)),null!=(i=r[e]=a.transform(i))&&(a.type=a.type||(Array.isArray(i)?"array":g(i)))),(a="function"==typeof a?{validator:a}:Y({},a)).validator=n.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=n.getType(a),l[e]=l[e]||[],l[e].push({rule:a,value:i,source:r,field:e}))}))}));var c={};return Wm(l,o,(function(t,n){var i,a=t.rule,l=!("object"!==a.type&&"array"!==a.type||"object"!==g(a.fields)&&"object"!==g(a.defaultField));function s(e,t){return Y(Y({},t),{},{fullField:"".concat(a.fullField,".").concat(e),fullFields:a.fullFields?[].concat(xi(a.fullFields),[e]):[e]})}function u(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],u=Array.isArray(i)?i:[i];!o.suppressWarning&&u.length&&e.warning("async-validator:",u),u.length&&void 0!==a.message&&(u=[].concat(a.message));var d=u.map(Km(a,r));if(o.first&&d.length)return c[a.field]=1,n(d);if(l){if(a.required&&!t.value)return void 0!==a.message?d=[].concat(a.message).map(Km(a,r)):o.error&&(d=[o.error(a,Am(o.messages.required,a.field))]),n(d);var f={};a.defaultField&&Object.keys(t.value).map((function(e){f[e]=a.defaultField})),f=Y(Y({},f),t.rule.fields);var p={};Object.keys(f).forEach((function(e){var t=f[e],n=Array.isArray(t)?t:[t];p[e]=n.map(s.bind(null,e))}));var m=new e(p);m.messages(o.messages),t.rule.options&&(t.rule.options.messages=o.messages,t.rule.options.error=o.error),m.validate(t.value,t.rule.options||o,(function(e){var t=[];d&&d.length&&t.push.apply(t,xi(d)),e&&e.length&&t.push.apply(t,xi(e)),n(t.length?t:null)}))}else n(d)}if(l=l&&(a.required||!a.required&&t.value),a.field=t.field,a.asyncValidator)i=a.asyncValidator(a,t.value,u,t.source,o);else if(a.validator){try{i=a.validator(a,t.value,u,t.source,o)}catch(p){var d,f;null===(d=(f=console).error)||void 0===d||d.call(f,p),o.suppressValidatorError||setTimeout((function(){throw p}),0),u(p.message)}!0===i?u():!1===i?u("function"==typeof a.message?a.message(a.fullField||a.field):a.message||"".concat(a.fullField||a.field," fails")):i instanceof Array?u(i):i instanceof Error&&u(i.message)}i&&i.then&&i.then((function(){return u()}),(function(e){return u(e)}))}),(function(e){!function(e){for(var t,n,o=[],a={},l=0;l<e.length;l++)t=e[l],n=void 0,Array.isArray(t)?o=(n=o).concat.apply(n,xi(t)):o.push(t);o.length?(a=Bm(o),i(o,a)):i(null,r)}(e)}),r)}},{key:"getType",value:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!eg.hasOwnProperty(e.type))throw new Error(Am("Unknown rule type %s",e.type));return e.type||"string"}},{key:"getValidationMethod",value:function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?eg.required:eg[this.getType(e)]||void 0}}]),e}();v(tg,"register",(function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");eg[e]=t})),v(tg,"warning",Dm),v(tg,"messages",Tm),v(tg,"validators",eg);var ng="'${name}' is not a valid ${type}",rg={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:ng,method:ng,array:ng,object:ng,number:ng,date:ng,boolean:ng,integer:ng,float:ng,regexp:ng,email:ng,url:ng,hex:ng},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},og=tg;function ig(e,t){return e.replace(/\\?\$\{\w+\}/g,(function(e){if(e.startsWith("\\"))return e.slice(1);var n=e.slice(2,-1);return t[n]}))}var ag="CODE_LOGIC_ERROR";function lg(e,t,n,r,o){return cg.apply(this,arguments)}function cg(){return cg=Qu(Yu().mark((function t(n,r,o,i,a){var l,c,s,u,d,f,p,m,g;return Yu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return delete(l=Y({},o)).ruleIndex,og.warning=function(){},l.validator&&(c=l.validator,l.validator=function(){try{return c.apply(void 0,arguments)}catch(e){return Promise.reject(ag)}}),s=null,l&&"array"===l.type&&l.defaultField&&(s=l.defaultField,delete l.defaultField),u=new og(v({},n,[l])),d=hl(rg,i.validateMessages),u.messages(d),f=[],t.prev=10,t.next=13,Promise.resolve(u.validate(v({},n,r),Y({},i)));case 13:t.next=18;break;case 15:t.prev=15,t.t0=t.catch(10),t.t0.errors&&(f=t.t0.errors.map((function(t,n){var r=t.message,o=r===ag?d.default:r;return e.isValidElement(o)?e.cloneElement(o,{key:"error_".concat(n)}):o})));case 18:if(f.length||!s){t.next=23;break}return t.next=21,Promise.all(r.map((function(e,t){return lg("".concat(n,".").concat(t),e,s,i,a)})));case 21:return p=t.sent,t.abrupt("return",p.reduce((function(e,t){return[].concat(xi(e),xi(t))}),[]));case 23:return m=Y(Y({},o),{},{name:n,enum:(o.enum||[]).join(", ")},a),g=f.map((function(e){return"string"==typeof e?ig(e,m):e})),t.abrupt("return",g);case 26:case"end":return t.stop()}}),t,null,[[10,15]])}))),cg.apply(this,arguments)}function sg(e,t,n,r,o,i){var a,l=e.join("."),c=n.map((function(e,t){var n=e.validator,r=Y(Y({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=n(e,t,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Promise.resolve().then((function(){me(!o,"Your validator function has already return a promise. `callback` will be ignored."),o||r.apply(void 0,t)}))}));me(o=i&&"function"==typeof i.then&&"function"==typeof i.catch,"`callback` is deprecated. Please return a promise instead."),o&&i.then((function(){r()})).catch((function(e){r(e||" ")}))}),r})).sort((function(e,t){var n=e.warningOnly,r=e.ruleIndex,o=t.warningOnly,i=t.ruleIndex;return!!n==!!o?r-i:n?1:-1}));if(!0===o)a=new Promise(function(){var e=Qu(Yu().mark((function e(n,o){var a,s,u;return Yu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=0;case 1:if(!(a<c.length)){e.next=12;break}return s=c[a],e.next=5,lg(l,t,s,r,i);case 5:if(!(u=e.sent).length){e.next=9;break}return o([{errors:u,rule:s}]),e.abrupt("return");case 9:a+=1,e.next=1;break;case 12:n([]);case 13:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}());else{var s=c.map((function(e){return lg(l,t,e,r,i).then((function(t){return{errors:t,rule:e}}))}));a=(o?function(e){return dg.apply(this,arguments)}(s):function(e){return ug.apply(this,arguments)}(s)).then((function(e){return Promise.reject(e)}))}return a.catch((function(e){return e})),a}function ug(){return(ug=Qu(Yu().mark((function e(t){return Yu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(t).then((function(e){var t;return(t=[]).concat.apply(t,xi(e))})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function dg(){return(dg=Qu(Yu().mark((function e(t){var n;return Yu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=0,e.abrupt("return",new Promise((function(e){t.forEach((function(r){r.then((function(r){r.errors.length&&e([r]),(n+=1)===t.length&&e([])}))}))})));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function fg(e){return jm(e)}function pg(e,t){var n={};return t.forEach((function(t){var r=dl(e,t);n=pl(n,t,r)})),n}function mg(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e&&e.some((function(e){return gg(t,e,n)}))}function gg(e,t){return!(!e||!t)&&(!(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&e.length!==t.length)&&t.every((function(t,n){return e[n]===t})))}function hg(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===g(t.target)&&e in t.target?t.target[e]:t}function vg(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat(xi(e.slice(0,n)),[o],xi(e.slice(n,t)),xi(e.slice(t+1,r))):i<0?[].concat(xi(e.slice(0,t)),xi(e.slice(t+1,n+1)),[o],xi(e.slice(n+1,r))):e}var bg=["name"],yg=[];function xg(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var Cg=function(){ci(n,e.Component);var t=pi(n);function n(r){var o;(oi(this,n),v(di(o=t.call(this,r)),"state",{resetCount:0}),v(di(o),"cancelRegisterFunc",null),v(di(o),"mounted",!1),v(di(o),"touched",!1),v(di(o),"dirty",!1),v(di(o),"validatePromise",void 0),v(di(o),"prevValidating",void 0),v(di(o),"errors",yg),v(di(o),"warnings",yg),v(di(o),"cancelRegister",(function(){var e=o.props,t=e.preserve,n=e.isListField,r=e.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(n,t,fg(r)),o.cancelRegisterFunc=null})),v(di(o),"getNamePath",(function(){var e=o.props,t=e.name,n=e.fieldContext.prefixName;return void 0!==t?[].concat(xi(void 0===n?[]:n),xi(t)):[]})),v(di(o),"getRules",(function(){var e=o.props,t=e.rules,n=void 0===t?[]:t,r=e.fieldContext;return n.map((function(e){return"function"==typeof e?e(r):e}))})),v(di(o),"refresh",(function(){o.mounted&&o.setState((function(e){return{resetCount:e.resetCount+1}}))})),v(di(o),"metaCache",null),v(di(o),"triggerMetaEvent",(function(e){var t=o.props.onMetaChange;if(t){var n=Y(Y({},o.getMeta()),{},{destroy:e});Ii(o.metaCache,n)||t(n),o.metaCache=n}else o.metaCache=null})),v(di(o),"onStoreChange",(function(e,t,n){var r=o.props,i=r.shouldUpdate,a=r.dependencies,l=void 0===a?[]:a,c=r.onReset,s=n.store,u=o.getNamePath(),d=o.getValue(e),f=o.getValue(s),p=t&&mg(t,u);switch("valueUpdate"!==n.type||"external"!==n.source||Ii(d,f)||(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=yg,o.warnings=yg,o.triggerMetaEvent()),n.type){case"reset":if(!t||p)return o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.errors=yg,o.warnings=yg,o.triggerMetaEvent(),null==c||c(),void o.refresh();break;case"remove":if(i&&xg(i,e,s,d,f,n))return void o.reRender();break;case"setField":var m=n.data;if(p)return"touched"in m&&(o.touched=m.touched),"validating"in m&&!("originRCField"in m)&&(o.validatePromise=m.validating?Promise.resolve([]):null),"errors"in m&&(o.errors=m.errors||yg),"warnings"in m&&(o.warnings=m.warnings||yg),o.dirty=!0,o.triggerMetaEvent(),void o.reRender();if("value"in m&&mg(t,u,!0))return void o.reRender();if(i&&!u.length&&xg(i,e,s,d,f,n))return void o.reRender();break;case"dependenciesUpdate":if(l.map(fg).some((function(e){return mg(n.relatedFields,e)})))return void o.reRender();break;default:if(p||(!l.length||u.length||i)&&xg(i,e,s,d,f,n))return void o.reRender()}!0===i&&o.reRender()})),v(di(o),"validateRules",(function(e){var t=o.getNamePath(),n=o.getValue(),r=e||{},i=r.triggerName,a=r.validateOnly,l=void 0!==a&&a,c=Promise.resolve().then(Qu(Yu().mark((function r(){var a,l,s,u,d,f,p;return Yu().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o.mounted){r.next=2;break}return r.abrupt("return",[]);case 2:if(a=o.props,l=a.validateFirst,s=void 0!==l&&l,u=a.messageVariables,d=a.validateDebounce,f=o.getRules(),i&&(f=f.filter((function(e){return e})).filter((function(e){var t=e.validateTrigger;return!t||jm(t).includes(i)}))),!d||!i){r.next=10;break}return r.next=8,new Promise((function(e){setTimeout(e,d)}));case 8:if(o.validatePromise===c){r.next=10;break}return r.abrupt("return",[]);case 10:return(p=sg(t,n,f,e,s,u)).catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yg;if(o.validatePromise===c){var t;o.validatePromise=null;var n=[],r=[];null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,o=e.errors,i=void 0===o?yg:o;t?r.push.apply(r,xi(i)):n.push.apply(n,xi(i))})),o.errors=n,o.warnings=r,o.triggerMetaEvent(),o.reRender()}})),r.abrupt("return",p);case 13:case"end":return r.stop()}}),r)}))));return l||(o.validatePromise=c,o.dirty=!0,o.errors=yg,o.warnings=yg,o.triggerMetaEvent(),o.reRender()),c})),v(di(o),"isFieldValidating",(function(){return!!o.validatePromise})),v(di(o),"isFieldTouched",(function(){return o.touched})),v(di(o),"isFieldDirty",(function(){return!(!o.dirty&&void 0===o.props.initialValue)||void 0!==(0,o.props.fieldContext.getInternalHooks(Im).getInitialValue)(o.getNamePath())})),v(di(o),"getErrors",(function(){return o.errors})),v(di(o),"getWarnings",(function(){return o.warnings})),v(di(o),"isListField",(function(){return o.props.isListField})),v(di(o),"isList",(function(){return o.props.isList})),v(di(o),"isPreserve",(function(){return o.props.preserve})),v(di(o),"getMeta",(function(){return o.prevValidating=o.isFieldValidating(),{touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:null===o.validatePromise}})),v(di(o),"getOnlyChild",(function(t){if("function"==typeof t){var n=o.getMeta();return Y(Y({},o.getOnlyChild(t(o.getControlled(),n,o.props.fieldContext))),{},{isFunction:!0})}var r=Io(t);return 1===r.length&&e.isValidElement(r[0])?{child:r[0],isFunction:!1}:{child:r,isFunction:!1}})),v(di(o),"getValue",(function(e){var t=o.props.fieldContext.getFieldsValue,n=o.getNamePath();return dl(e||t(!0),n)})),v(di(o),"getControlled",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o.props,n=t.name,r=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,l=t.normalize,c=t.valuePropName,s=t.getValueProps,u=t.fieldContext,d=void 0!==i?i:u.validateTrigger,f=o.getNamePath(),p=u.getInternalHooks,m=u.getFieldsValue,g=p(Im).dispatch,h=o.getValue(),b=s||function(e){return v({},c,e)},y=e[r],x=void 0!==n?b(h):{},C=Y(Y({},e),x);return C[r]=function(){var e;o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e=a?a.apply(void 0,n):hg.apply(void 0,[c].concat(n)),l&&(e=l(e,h,m(!0))),e!==h&&g({type:"updateValue",namePath:f,value:e}),y&&y.apply(void 0,n)},jm(d||[]).forEach((function(e){var t=C[e];C[e]=function(){t&&t.apply(void 0,arguments);var n=o.props.rules;n&&n.length&&g({type:"validateField",namePath:f,triggerName:e})}})),C})),r.fieldContext)&&(0,(0,r.fieldContext.getInternalHooks)(Im).initEntityValue)(di(o));return o}return ai(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.shouldUpdate,n=e.fieldContext;if(this.mounted=!0,n){var r=(0,n.getInternalHooks)(Im).registerField;this.cancelRegisterFunc=r(this)}!0===t&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var t,n=this.state.resetCount,r=this.props.children,o=this.getOnlyChild(r),i=o.child;return o.isFunction?t=i:e.isValidElement(i)?t=e.cloneElement(i,this.getControlled(i.props)):(me(!i,"`children` of Field is not validate ReactElement."),t=i),e.createElement(e.Fragment,{key:n},t)}}]),n}();function wg(t){var n,r=t.name,o=b(t,bg),i=e.useContext(Mm),a=e.useContext(Pm),l=void 0!==r?fg(r):void 0,c=null!==(n=o.isListField)&&void 0!==n?n:!!a,u="keep";return c||(u="_".concat((l||[]).join("_"))),e.createElement(Cg,s({key:u,name:l,isListField:c},o,{fieldContext:i}))}function $g(t){var n=t.name,r=t.initialValue,o=t.children,i=t.rules,a=t.validateTrigger,l=t.isListField,c=e.useContext(Mm),s=e.useContext(Pm),u=e.useRef({keys:[],id:0}).current,d=e.useMemo((function(){var e=fg(c.prefixName)||[];return[].concat(xi(e),xi(fg(n)))}),[c.prefixName,n]),f=e.useMemo((function(){return Y(Y({},c),{},{prefixName:d})}),[c,d]),p=e.useMemo((function(){return{getKey:function(e){var t=d.length,n=e[t];return[u.keys[n],e.slice(t+1)]}}}),[d]);if("function"!=typeof o)return me(!1,"Form.List only accepts function as children."),null;return e.createElement(Pm.Provider,{value:p},e.createElement(Mm.Provider,{value:f},e.createElement(wg,{name:[],shouldUpdate:function(e,t,n){return"internal"!==n.source&&e!==t},rules:i,validateTrigger:a,initialValue:r,isList:!0,isListField:null!=l?l:!!s},(function(e,t){var n=e.value,r=void 0===n?[]:n,i=e.onChange,a=c.getFieldValue,l=function(){return a(d||[])||[]},s={add:function(e,t){var n=l();t>=0&&t<=n.length?(u.keys=[].concat(xi(u.keys.slice(0,t)),[u.id],xi(u.keys.slice(t))),i([].concat(xi(n.slice(0,t)),[e],xi(n.slice(t))))):(u.keys=[].concat(xi(u.keys),[u.id]),i([].concat(xi(n),[e]))),u.id+=1},remove:function(e){var t=l(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(u.keys=u.keys.filter((function(e,t){return!n.has(t)})),i(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=l();e<0||e>=n.length||t<0||t>=n.length||(u.keys=vg(u.keys,e,t),i(vg(n,e,t)))}}},f=r||[];return Array.isArray(f)||(f=[]),o(f.map((function(e,t){var n=u.keys[t];return void 0===n&&(u.keys[t]=u.id,n=u.keys[t],u.id+=1),{name:t,key:n,isListField:!0}})),s,t)}))))}v(Cg,"contextType",Mm),v(Cg,"defaultProps",{trigger:"onChange",valuePropName:"value"});var Sg="__@field_split__";function kg(e){return e.map((function(e){return"".concat(g(e),":").concat(e)})).join(Sg)}var Eg=function(){function e(){oi(this,e),v(this,"kvs",new Map)}return ai(e,[{key:"set",value:function(e,t){this.kvs.set(kg(e),t)}},{key:"get",value:function(e){return this.kvs.get(kg(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(kg(e))}},{key:"map",value:function(e){return xi(this.kvs.entries()).map((function(t){var n=m(t,2),r=n[0],o=n[1],i=r.split(Sg);return e({key:i.map((function(e){var t=m(e.match(/^([^:]*):(.*)$/),3),n=t[1],r=t[2];return"number"===n?Number(r):r})),value:o})}))}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null})),e}}]),e}(),Og=["name"],Ig=ai((function e(t){var n=this;oi(this,e),v(this,"formHooked",!1),v(this,"forceRootUpdate",void 0),v(this,"subscribable",!0),v(this,"store",{}),v(this,"fieldEntities",[]),v(this,"initialValues",{}),v(this,"callbacks",{}),v(this,"validateMessages",null),v(this,"preserve",null),v(this,"lastValidatePromise",null),v(this,"getForm",(function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}})),v(this,"getInternalHooks",(function(e){return e===Im?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(me(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)})),v(this,"useSubscribe",(function(e){n.subscribable=e})),v(this,"prevWithoutPreserves",null),v(this,"setInitialValues",(function(e,t){if(n.initialValues=e||{},t){var r,o=hl(e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map((function(t){var n=t.key;o=pl(o,n,dl(e,n))})),n.prevWithoutPreserves=null,n.updateStore(o)}})),v(this,"destroyForm",(function(e){if(e)n.updateStore({});else{var t=new Eg;n.getFieldEntities(!0).forEach((function(e){n.isMergedPreserve(e.isPreserve())||t.set(e.getNamePath(),!0)})),n.prevWithoutPreserves=t}})),v(this,"getInitialValue",(function(e){var t=dl(n.initialValues,e);return e.length?hl(t):t})),v(this,"setCallbacks",(function(e){n.callbacks=e})),v(this,"setValidateMessages",(function(e){n.validateMessages=e})),v(this,"setPreserve",(function(e){n.preserve=e})),v(this,"watchList",[]),v(this,"registerWatch",(function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter((function(t){return t!==e}))}})),v(this,"notifyWatch",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue(),r=n.getFieldsValue(!0);n.watchList.forEach((function(n){n(t,r,e)}))}})),v(this,"timeoutId",null),v(this,"warningUnhooked",(function(){})),v(this,"updateStore",(function(e){n.store=e})),v(this,"getFieldEntities",(function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities})),v(this,"getFieldsMap",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new Eg;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t})),v(this,"getFieldEntitiesForNamePathList",(function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=fg(e);return t.get(n)||{INVALIDATE_NAME_PATH:fg(e)}}))})),v(this,"getFieldsValue",(function(e,t){var r,o,i;if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===g(e)&&(i=e.strict,o=e.filter),!0===r&&!o)return n.store;var a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),l=[];return a.forEach((function(e){var t,n,a,c,s="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!==(a=(c=e).isList)&&void 0!==a&&a.call(c))return}else if(!r&&null!==(t=(n=e).isListField)&&void 0!==t&&t.call(n))return;if(o){var u="getMeta"in e?e.getMeta():null;o(u)&&l.push(s)}else l.push(s)})),pg(n.store,l.map(fg))})),v(this,"getFieldValue",(function(e){n.warningUnhooked();var t=fg(e);return dl(n.store,t)})),v(this,"getFieldsError",(function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:fg(e[n]),errors:[],warnings:[]}}))})),v(this,"getFieldError",(function(e){n.warningUnhooked();var t=fg(e);return n.getFieldsError([t])[0].errors})),v(this,"getFieldWarning",(function(e){n.warningUnhooked();var t=fg(e);return n.getFieldsError([t])[0].warnings})),v(this,"isFieldsTouched",(function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o,i=t[0],a=t[1],l=!1;0===t.length?o=null:1===t.length?Array.isArray(i)?(o=i.map(fg),l=!1):(o=null,l=i):(o=i.map(fg),l=a);var c=n.getFieldEntities(!0),s=function(e){return e.isFieldTouched()};if(!o)return l?c.every((function(e){return s(e)||e.isList()})):c.some(s);var u=new Eg;o.forEach((function(e){u.set(e,[])})),c.forEach((function(e){var t=e.getNamePath();o.forEach((function(n){n.every((function(e,n){return t[n]===e}))&&u.update(n,(function(t){return[].concat(xi(t),[e])}))}))}));var d=function(e){return e.some(s)},f=u.map((function(e){return e.value}));return l?f.every(d):f.some(d)})),v(this,"isFieldTouched",(function(e){return n.warningUnhooked(),n.isFieldsTouched([e])})),v(this,"isFieldsValidating",(function(e){n.warningUnhooked();var t=n.getFieldEntities();if(!e)return t.some((function(e){return e.isFieldValidating()}));var r=e.map(fg);return t.some((function(e){var t=e.getNamePath();return mg(r,t)&&e.isFieldValidating()}))})),v(this,"isFieldValidating",(function(e){return n.warningUnhooked(),n.isFieldsValidating([e])})),v(this,"resetWithFieldInitialValue",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new Eg,r=n.getFieldEntities(!0);r.forEach((function(e){var n=e.props.initialValue,r=e.getNamePath();if(void 0!==n){var o=t.get(r)||new Set;o.add({entity:e,value:n}),t.set(r,o)}}));var o;e.entities?o=e.entities:e.namePathList?(o=[],e.namePathList.forEach((function(e){var n,r=t.get(e);r&&(n=o).push.apply(n,xi(xi(r).map((function(e){return e.entity}))))}))):o=r,o.forEach((function(r){if(void 0!==r.props.initialValue){var o=r.getNamePath();if(void 0!==n.getInitialValue(o))me(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=t.get(o);if(i&&i.size>1)me(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);r.isListField()||e.skipExist&&void 0!==a||n.updateStore(pl(n.store,o,xi(i)[0].value))}}}}))})),v(this,"resetFields",(function(e){n.warningUnhooked();var t=n.store;if(!e)return n.updateStore(hl(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();var r=e.map(fg);r.forEach((function(e){var t=n.getInitialValue(e);n.updateStore(pl(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)})),v(this,"setFields",(function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach((function(e){var o=e.name,i=b(e,Og),a=fg(o);r.push(a),"value"in i&&n.updateStore(pl(n.store,a,i.value)),n.notifyObservers(t,[a],{type:"setField",data:e})})),n.notifyWatch(r)})),v(this,"getFields",(function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=Y(Y({},e.getMeta()),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(r,"originRCField",{value:!0}),r}))})),v(this,"initEntityValue",(function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===dl(n.store,r)&&n.updateStore(pl(n.store,r,t))}})),v(this,"isMergedPreserve",(function(e){var t=void 0!==e?e:n.preserve;return null==t||t})),v(this,"registerField",(function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),!n.isMergedPreserve(o)&&(!r||i.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every((function(e){return!gg(e.getNamePath(),t)}))){var l=n.store;n.updateStore(pl(l,t,a,!0)),n.notifyObservers(l,[t],{type:"remove"}),n.triggerDependenciesUpdate(l,t)}}n.notifyWatch([t])}})),v(this,"dispatch",(function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}})),v(this,"notifyObservers",(function(e,t,r){if(n.subscribable){var o=Y(Y({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,o)}))}else n.forceRootUpdate()})),v(this,"triggerDependenciesUpdate",(function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat(xi(r))}),r})),v(this,"updateValue",(function(e,t){var r=fg(e),o=n.store;n.updateStore(pl(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(pg(n.store,[r]),n.getFieldsValue());n.triggerOnFieldsChange([r].concat(xi(i)))})),v(this,"setFieldsValue",(function(e){n.warningUnhooked();var t=n.store;if(e){var r=hl(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()})),v(this,"setFieldValue",(function(e,t){n.setFields([{name:e,value:t,errors:[],warnings:[]}])})),v(this,"getDependencyChildrenFields",(function(e){var t=new Set,r=[],o=new Eg;n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=fg(t);o.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return function e(n){(o.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}}))}(e),r})),v(this,"triggerOnFieldsChange",(function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new Eg;t.forEach((function(e){var t=e.name,n=e.errors;i.set(t,n)})),o.forEach((function(e){e.errors=i.get(e.name)||e.errors}))}var a=o.filter((function(t){var n=t.name;return mg(e,n)}));a.length&&r(a,o)}})),v(this,"validateFields",(function(e,t){var r,o;n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(r=e,o=t):o=e;var i=!!r,a=i?r.map(fg):[],l=[],c=String(Date.now()),s=new Set,u=o||{},d=u.recursive,f=u.dirty;n.getFieldEntities(!0).forEach((function(e){if(i||a.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!f||e.isFieldDirty())){var t=e.getNamePath();if(s.add(t.join(c)),!i||mg(a,t,d)){var r=e.validateRules(Y({validateMessages:Y(Y({},rg),n.validateMessages)},o));l.push(r.then((function(){return{name:t,errors:[],warnings:[]}})).catch((function(e){var n,r=[],o=[];return null===(n=e.forEach)||void 0===n||n.call(e,(function(e){var t=e.rule.warningOnly,n=e.errors;t?o.push.apply(o,xi(n)):r.push.apply(r,xi(n))})),r.length?Promise.reject({name:t,errors:r,warnings:o}):{name:t,errors:r,warnings:o}})))}}}));var p=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))}))}))})):Promise.resolve([])}(l);n.lastValidatePromise=p,p.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)}));var m=p.then((function(){return n.lastValidatePromise===p?Promise.resolve(n.getFieldsValue(a)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(a),errorFields:t,outOfDate:n.lastValidatePromise!==p})}));m.catch((function(e){return e}));var g=a.filter((function(e){return s.has(e.join(c))}));return n.triggerOnFieldsChange(g),m})),v(this,"submit",(function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))})),this.forceRootUpdate=t}));function Ng(t){var n=e.useRef(),r=m(e.useState({}),2)[1];if(!n.current)if(t)n.current=t;else{var o=new Ig((function(){r({})}));n.current=o.getForm()}return[n.current]}var Mg=e.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Pg=function(t){var n=t.validateMessages,r=t.onFormChange,o=t.onFormFinish,i=t.children,a=e.useContext(Mg),l=e.useRef({});return e.createElement(Mg.Provider,{value:Y(Y({},a),{},{validateMessages:Y(Y({},a.validateMessages),n),triggerFormChange:function(e,t){r&&r(e,{changedFields:t,forms:l.current}),a.triggerFormChange(e,t)},triggerFormFinish:function(e,t){o&&o(e,{values:t,forms:l.current}),a.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(l.current=Y(Y({},l.current),{},v({},e,t))),a.registerForm(e,t)},unregisterForm:function(e){var t=Y({},l.current);delete t[e],l.current=t,a.unregisterForm(e)}})},i)},jg=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],Rg=function(t,n){var r=t.name,o=t.initialValues,i=t.fields,a=t.form,l=t.preserve,c=t.children,u=t.component,d=void 0===u?"form":u,f=t.validateMessages,p=t.validateTrigger,h=void 0===p?"onChange":p,v=t.onValuesChange,y=t.onFieldsChange,x=t.onFinish,C=t.onFinishFailed,w=t.clearOnDestroy,$=b(t,jg),S=e.useRef(null),k=e.useContext(Mg),E=m(Ng(a),1)[0],O=E.getInternalHooks(Im),I=O.useSubscribe,N=O.setInitialValues,M=O.setCallbacks,P=O.setValidateMessages,j=O.setPreserve,R=O.destroyForm;e.useImperativeHandle(n,(function(){return Y(Y({},E),{},{nativeElement:S.current})})),e.useEffect((function(){return k.registerForm(r,E),function(){k.unregisterForm(r)}}),[k,E,r]),P(Y(Y({},k.validateMessages),f)),M({onValuesChange:v,onFieldsChange:function(e){if(k.triggerFormChange(r,e),y){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];y.apply(void 0,[e].concat(n))}},onFinish:function(e){k.triggerFormFinish(r,e),x&&x(e)},onFinishFailed:C}),j(l);var T,z=e.useRef(null);N(o,!z.current),z.current||(z.current=!0),e.useEffect((function(){return function(){return R(w)}}),[]);var H="function"==typeof c;H?T=c(E.getFieldsValue(!0),E):T=c;I(!H);var D=e.useRef();e.useEffect((function(){(function(e,t){if(e===t)return!0;if(!e&&t||e&&!t)return!1;if(!e||!t||"object"!==g(e)||"object"!==g(t))return!1;var n=Object.keys(e),r=Object.keys(t);return xi(new Set([].concat(n,r))).every((function(n){var r=e[n],o=t[n];return"function"==typeof r&&"function"==typeof o||r===o}))})(D.current||[],i||[])||E.setFields(i||[]),D.current=i}),[i,E]);var B=e.useMemo((function(){return Y(Y({},E),{},{validateTrigger:h})}),[E,h]),A=e.createElement(Pm.Provider,{value:null},e.createElement(Mm.Provider,{value:B},T));return!1===d?A:e.createElement(d,s({},$,{ref:S,onSubmit:function(e){e.preventDefault(),e.stopPropagation(),E.submit()},onReset:function(e){var t;e.preventDefault(),E.resetFields(),null===(t=$.onReset)||void 0===t||t.call($,e)}}),A)};function Tg(e){try{return JSON.stringify(e)}catch(t){return Math.random()}}function zg(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0],i=n[1],a=void 0===i?{}:i,l=function(e){return e&&!!e._init}(a)?{form:a}:a,c=l.form,s=m(e.useState(),2),u=s[0],d=s[1],f=e.useMemo((function(){return Tg(u)}),[u]),p=e.useRef(f);p.current=f;var g=e.useContext(Mm),h=c||g,v=h&&h._init,b=fg(o),y=e.useRef(b);return y.current=b,e.useEffect((function(){if(v){var e=h.getFieldsValue,t=(0,h.getInternalHooks)(Im).registerWatch,n=function(e,t){var n=l.preserve?t:e;return"function"==typeof o?o(n):dl(n,y.current)},r=t((function(e,t){var r=n(e,t),o=Tg(r);p.current!==o&&(p.current=o,d(r))})),i=n(e(),e(!0));return u!==i&&d(i),r}}),[v]),u}var Hg=e.forwardRef(Rg);Hg.FormProvider=Pg,Hg.Field=wg,Hg.List=$g,Hg.useForm=Ng,Hg.useWatch=zg;const Dg=e.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),Bg=e.createContext(null),Ag=t=>{const n=bd(t,["prefixCls"]);return e.createElement(Pg,Object.assign({},n))},Lg=e.createContext({prefixCls:""}),Fg=e.createContext({}),_g=({children:t,status:n,override:r})=>{const o=e.useContext(Fg),i=e.useMemo((()=>{const e=Object.assign({},o);return r&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,r,o]);return e.createElement(Fg.Provider,{value:i},t)},Wg=e.createContext(void 0),Kg=e=>{const{space:t,form:r,children:o}=e;if(null==o)return null;let i=o;return r&&(i=n.createElement(_g,{override:!0,status:!0},i)),t&&(i=n.createElement(Dd,null,i)),i};function Vg(...e){const t={};return e.forEach((e=>{e&&Object.keys(e).forEach((n=>{void 0!==e[n]&&(t[n]=e[n])}))})),t}function qg(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function Xg(e){const{closable:t,closeIcon:r}=e||{};return n.useMemo((()=>{if(!t&&(!1===t||!1===r||null===r))return!1;if(void 0===t&&void 0===r)return null;let e={closeIcon:"boolean"!=typeof r&&null!==r?r:void 0};return t&&"object"==typeof t&&(e=Object.assign(Object.assign({},e),t)),e}),[t,r])}const Gg={};function Yg(e,t,r=Gg){const o=Xg(e),i=Xg(t),[a]=jl("global",El.global),l="boolean"!=typeof o&&!!(null==o?void 0:o.disabled),c=n.useMemo((()=>Object.assign({closeIcon:n.createElement(ft,null)},r)),[r]),s=n.useMemo((()=>!1!==o&&(o?Vg(c,i,o):!1!==i&&(i?Vg(c,i):!!c.closable&&c))),[o,i,c]);return n.useMemo((()=>{if(!1===s)return[!1,null,l,{}];const{closeIconRender:e}=c,{closeIcon:t}=s;let r=t;const o=au(s,!0);return null!=r&&(e&&(r=e(t)),r=n.isValidElement(r)?n.cloneElement(r,Object.assign({"aria-label":a.close},o)):n.createElement("span",Object.assign({"aria-label":a.close},o),r)),[!0,r,l,o]}),[s,c])}var Ug=function(e){if(U()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1};function Qg(e,t){return Array.isArray(e)||void 0===t?Ug(e):function(e,t){if(!Ug(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r}(e,t)}const Zg=t=>{const{prefixCls:n,className:r,style:o,size:i,shape:a}=t,l=w({[`${n}-lg`]:"large"===i,[`${n}-sm`]:"small"===i}),c=w({[`${n}-circle`]:"circle"===a,[`${n}-square`]:"square"===a,[`${n}-round`]:"round"===a}),s=e.useMemo((()=>"number"==typeof i?{width:i,height:i,lineHeight:`${i}px`}:{}),[i]);return e.createElement("span",{className:w(n,l,c,r),style:Object.assign(Object.assign({},s),o)})},Jg=new cl("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),eh=e=>({height:e,lineHeight:qi(e)}),th=e=>Object.assign({width:e},eh(e)),nh=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Jg,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),rh=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},eh(e)),oh=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},th(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},th(o)),[`${t}${t}-sm`]:Object.assign({},th(i))}},ih=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},rh(t,l)),[`${r}-lg`]:Object.assign({},rh(o,l)),[`${r}-sm`]:Object.assign({},rh(i,l))}},ah=e=>Object.assign({width:e},eh(e)),lh=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o,calc:i}=e;return{[t]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:r,borderRadius:o},ah(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},ah(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},ch=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},sh=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},eh(e)),uh=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:l(r).mul(2).equal(),minWidth:l(r).mul(2).equal()},sh(r,l))},ch(e,r,n)),{[`${n}-lg`]:Object.assign({},sh(o,l))}),ch(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},sh(i,l))}),ch(e,i,`${n}-sm`))},dh=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:l,controlHeight:c,controlHeightLG:s,controlHeightSM:u,gradientFromColor:d,padding:f,marginSM:p,borderRadius:m,titleHeight:g,blockRadius:h,paragraphLiHeight:v,controlHeightXS:b,paragraphMarginTop:y}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:f,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},th(c)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},th(s)),[`${n}-sm`]:Object.assign({},th(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:g,background:d,borderRadius:h,[`+ ${o}`]:{marginBlockStart:u}},[o]:{padding:0,"> li":{width:"100%",height:v,listStyle:"none",background:d,borderRadius:h,"+ li":{marginBlockStart:b}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:m}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:p,[`+ ${o}`]:{marginBlockStart:y}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},uh(e)),oh(e)),ih(e)),lh(e)),[`${t}${t}-block`]:{width:"100%",[i]:{width:"100%"},[a]:{width:"100%"}},[`${t}${t}-active`]:{[`\n ${r},\n ${o} > li,\n ${n},\n ${i},\n ${a},\n ${l}\n `]:Object.assign({},nh(e))}}},fh=Kc("Skeleton",(e=>{const{componentCls:t,calc:n}=e,r=Cc(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[dh(r)]}),(e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}}),{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ph=t=>{const{prefixCls:n,className:r,rootClassName:o,active:i,shape:a="circle",size:l="default"}=t,{getPrefixCls:c}=e.useContext(Ul),s=c("skeleton",n),[u,d,f]=fh(s),p=bd(t,["prefixCls","className"]),m=w(s,`${s}-element`,{[`${s}-active`]:i},r,o,d,f);return u(e.createElement("div",{className:m},e.createElement(Zg,Object.assign({prefixCls:`${s}-avatar`,shape:a,size:l},p))))},mh=t=>{const{prefixCls:n,className:r,rootClassName:o,style:i,active:a}=t,{getPrefixCls:l}=e.useContext(Ul),c=l("skeleton",n),[s,u,d]=fh(c),f=w(c,`${c}-element`,{[`${c}-active`]:a},r,o,u,d);return s(e.createElement("div",{className:f},e.createElement("div",{className:w(`${c}-image`,r),style:i},e.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${c}-image-svg`},e.createElement("title",null,"Image placeholder"),e.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${c}-image-path`})))))},gh=t=>{const{prefixCls:n,className:r,rootClassName:o,active:i,block:a,size:l="default"}=t,{getPrefixCls:c}=e.useContext(Ul),s=c("skeleton",n),[u,d,f]=fh(s),p=bd(t,["prefixCls"]),m=w(s,`${s}-element`,{[`${s}-active`]:i,[`${s}-block`]:a},r,o,d,f);return u(e.createElement("div",{className:m},e.createElement(Zg,Object.assign({prefixCls:`${s}-input`,size:l},p))))},hh=t=>{const{prefixCls:n,className:r,rootClassName:o,style:i,active:a,children:l}=t,{getPrefixCls:c}=e.useContext(Ul),s=c("skeleton",n),[u,d,f]=fh(s),p=w(s,`${s}-element`,{[`${s}-active`]:a},d,r,o,f);return u(e.createElement("div",{className:p},e.createElement("div",{className:w(`${s}-image`,r),style:i},l)))},vh=(e,t)=>{const{width:n,rows:r=2}=t;return Array.isArray(n)?n[e]:r-1===e?n:void 0},bh=t=>{const{prefixCls:n,className:r,style:o,rows:i=0}=t,a=Array.from({length:i}).map(((n,r)=>e.createElement("li",{key:r,style:{width:vh(r,t)}})));return e.createElement("ul",{className:w(n,r),style:o},a)},yh=({prefixCls:t,className:n,width:r,style:o})=>e.createElement("h3",{className:w(t,n),style:Object.assign({width:r},o)});function xh(e){return e&&"object"==typeof e?e:{}}const Ch=t=>{const{prefixCls:n,loading:r,className:o,rootClassName:i,style:a,children:l,avatar:c=!1,title:s=!0,paragraph:u=!0,active:d,round:f}=t,{getPrefixCls:p,direction:m,className:g,style:h}=Zl("skeleton"),v=p("skeleton",n),[b,y,x]=fh(v);if(r||!("loading"in t)){const t=!!c,n=!!s,r=!!u;let l,p;if(t){const t=Object.assign(Object.assign({prefixCls:`${v}-avatar`},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(n,r)),xh(c));l=e.createElement("div",{className:`${v}-header`},e.createElement(Zg,Object.assign({},t)))}if(n||r){let o,i;if(n){const n=Object.assign(Object.assign({prefixCls:`${v}-title`},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(t,r)),xh(s));o=e.createElement(yh,Object.assign({},n))}if(r){const r=Object.assign(Object.assign({prefixCls:`${v}-paragraph`},function(e,t){const n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}(t,n)),xh(u));i=e.createElement(bh,Object.assign({},r))}p=e.createElement("div",{className:`${v}-content`},o,i)}const C=w(v,{[`${v}-with-avatar`]:t,[`${v}-active`]:d,[`${v}-rtl`]:"rtl"===m,[`${v}-round`]:f},g,o,i,y,x);return b(e.createElement("div",{className:C,style:Object.assign(Object.assign({},h),a)},l,p))}return null!=l?l:null};Ch.Button=t=>{const{prefixCls:n,className:r,rootClassName:o,active:i,block:a=!1,size:l="default"}=t,{getPrefixCls:c}=e.useContext(Ul),s=c("skeleton",n),[u,d,f]=fh(s),p=bd(t,["prefixCls"]),m=w(s,`${s}-element`,{[`${s}-active`]:i,[`${s}-block`]:a},r,o,d,f);return u(e.createElement("div",{className:m},e.createElement(Zg,Object.assign({prefixCls:`${s}-button`,size:l},p))))},Ch.Avatar=ph,Ch.Input=gh,Ch.Image=mh,Ch.Node=hh;const wh=Ch;function $h(){}const Sh=e.createContext({add:$h,remove:$h});function kh(t){const n=e.useContext(Sh),r=e.useRef(null);return mc((e=>{if(e){const o=t?e.querySelector(t):e;n.add(o),r.current=o}else n.remove(r.current)}))}const Eh=()=>{const{cancelButtonProps:t,cancelTextLocale:r,onCancel:o}=e.useContext(Zp);return n.createElement(Yp,Object.assign({onClick:o},t),r)},Oh=()=>{const{confirmLoading:t,okButtonProps:r,okType:o,okTextLocale:i,onOk:a}=e.useContext(Zp);return n.createElement(Yp,Object.assign({},Vd(o),{loading:t,onClick:a},r),i)};function Ih(e,t){return n.createElement("span",{className:`${e}-close-x`},t||n.createElement(ft,{className:`${e}-close-icon`}))}const Nh=e=>{const{okText:t,okType:r="primary",cancelText:o,confirmLoading:i,onOk:a,onCancel:l,okButtonProps:c,cancelButtonProps:s,footer:u}=e,[d]=jl("Modal",Ml()),f={confirmLoading:i,okButtonProps:c,cancelButtonProps:s,okTextLocale:t||(null==d?void 0:d.okText),cancelTextLocale:o||(null==d?void 0:d.cancelText),okType:r,onOk:a,onCancel:l},p=n.useMemo((()=>f),xi(Object.values(f)));let m;return"function"==typeof u||void 0===u?(m=n.createElement(n.Fragment,null,n.createElement(Eh,null),n.createElement(Oh,null)),"function"==typeof u&&(m=u(m,{OkBtn:Oh,CancelBtn:Eh})),m=n.createElement(Jp,{value:p},m)):m=u,n.createElement(nc,{disabled:!1},m)},Mh=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},Ph=(e,t)=>((e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:o}=e,i={};for(let a=o;a>=0;a--)0===a?(i[`${r}${t}-${a}`]={display:"none"},i[`${r}-push-${a}`]={insetInlineStart:"auto"},i[`${r}-pull-${a}`]={insetInlineEnd:"auto"},i[`${r}${t}-push-${a}`]={insetInlineStart:"auto"},i[`${r}${t}-pull-${a}`]={insetInlineEnd:"auto"},i[`${r}${t}-offset-${a}`]={marginInlineStart:0},i[`${r}${t}-order-${a}`]={order:0}):(i[`${r}${t}-${a}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${a/o*100}%`,maxWidth:a/o*100+"%"}],i[`${r}${t}-push-${a}`]={insetInlineStart:a/o*100+"%"},i[`${r}${t}-pull-${a}`]={insetInlineEnd:a/o*100+"%"},i[`${r}${t}-offset-${a}`]={marginInlineStart:a/o*100+"%"},i[`${r}${t}-order-${a}`]={order:a});return i[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},i})(e,t),jh=Kc("Grid",(e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}}),(()=>({}))),Rh=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin}),Th=Kc("Grid",(e=>{const t=Cc(e,{gridColumns:24}),n=Rh(t);return delete n.xs,[Mh(t),Ph(t,""),Ph(t,"-xs"),Object.keys(n).map((e=>((e,t,n)=>({[`@media (min-width: ${qi(t)})`]:Object.assign({},Ph(e,n))}))(t,n[e],`-${e}`))).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})]}),(()=>({})));function zh(e){return{position:e,inset:0}}const Hh=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},zh("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},zh("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:Sf(e)}]},Dh=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${qi(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},Ac(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${qi(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:qi(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},Fc(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${qi(e.borderRadiusLG)} ${qi(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${qi(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,\n ${t}-body,\n ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},Bh=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},Ah=e=>{const{componentCls:t}=e,n=Rh(e);delete n.xs;const r=Object.keys(n).map((e=>({[`@media (min-width: ${qi(n[e])})`]:{width:`var(--${t.replace(".","")}-${e}-width)`}})));return{[`${t}-root`]:{[t]:[{width:`var(--${t.replace(".","")}-xs-width)`}].concat(xi(r))}}},Lh=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Cc(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},Fh=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${qi(e.paddingMD)} ${qi(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${qi(e.padding)} ${qi(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${qi(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${qi(e.paddingXS)} ${qi(e.padding)}`:0,footerBorderTop:e.wireframe?`${qi(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${qi(e.borderRadiusLG)} ${qi(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${qi(2*e.padding)} ${qi(2*e.padding)} ${qi(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),_h=Kc("Modal",(e=>{const t=Lh(e);return[Dh(t),Bh(t),Hh(t),np(t,"zoom"),Ah(t)]}),Fh,{unitless:{titleLineHeight:!0}});var Wh=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};let Kh;const Vh=e=>{Kh={x:e.pageX,y:e.pageY},setTimeout((()=>{Kh=null}),100)};U()&&window.document.documentElement&&document.documentElement.addEventListener("click",Vh,!0);const qh=t=>{const{prefixCls:n,className:r,rootClassName:o,open:i,wrapClassName:a,centered:l,getContainer:c,focusTriggerAfterClose:s=!0,style:u,visible:d,width:f=520,footer:p,classNames:m,styles:g,children:h,loading:v,confirmLoading:b,zIndex:y,mousePosition:x,onOk:C,onCancel:$,destroyOnHidden:S,destroyOnClose:k}=t,E=Wh(t,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading","confirmLoading","zIndex","mousePosition","onOk","onCancel","destroyOnHidden","destroyOnClose"]),{getPopupContainer:O,getPrefixCls:I,direction:N,modal:M}=e.useContext(Ul),P=e=>{b||null==$||$(e)},j=I("modal",n),R=I(),T=bu(j),[z,H,D]=_h(j,T),B=w(a,{[`${j}-centered`]:null!=l?l:null==M?void 0:M.centered,[`${j}-wrap-rtl`]:"rtl"===N}),A=null===p||v?null:e.createElement(Nh,Object.assign({},t,{onOk:e=>{null==C||C(e)},onCancel:P})),[L,F,_,W]=Yg(qg(t),qg(M),{closable:!0,closeIcon:e.createElement(ft,{className:`${j}-close-icon`}),closeIconRender:e=>Ih(j,e)}),K=kh(`.${j}-content`),[V,q]=Tu("Modal",y),[X,G]=e.useMemo((()=>f&&"object"==typeof f?[void 0,f]:[f,void 0]),[f]),Y=e.useMemo((()=>{const e={};return G&&Object.keys(G).forEach((t=>{const n=G[t];void 0!==n&&(e[`--${j}-${t}-width`]="number"==typeof n?`${n}px`:n)})),e}),[G]);return z(e.createElement(Kg,{form:!0,space:!0},e.createElement(Mu.Provider,{value:q},e.createElement(Om,Object.assign({width:X},E,{zIndex:V,getContainer:void 0===c?O:c,prefixCls:j,rootClassName:w(H,o,D,T),footer:A,visible:null!=i?i:d,mousePosition:null!=x?x:Kh,onClose:P,closable:L?Object.assign({disabled:_,closeIcon:F},W):L,closeIcon:F,focusTriggerAfterClose:s,transitionName:hd(R,"zoom",t.transitionName),maskTransitionName:hd(R,"fade",t.maskTransitionName),className:w(H,r,null==M?void 0:M.className),style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.style),u),Y),classNames:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.classNames),m),{wrapper:w(B,null==m?void 0:m.wrapper)}),styles:Object.assign(Object.assign({},null==M?void 0:M.styles),g),panelRef:K,destroyOnClose:null!=S?S:k}),v?e.createElement(wh,{active:!0,title:!1,paragraph:{rows:4},className:`${j}-body-skeleton`}):h))))},Xh=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:i,lineHeight:a,modalTitleHeight:l,fontHeight:c,confirmBodyPadding:s}=e,u=`${t}-confirm`;return{[u]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${u}-body-wrapper`]:Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),[`&${t} ${t}-body`]:{padding:s},[`${u}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:o,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(c).sub(o).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(l).sub(o).equal()).div(2).equal()}},[`${u}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:`calc(100% - ${qi(e.marginSM)})`},[`${e.iconCls} + ${u}-paragraph`]:{maxWidth:`calc(100% - ${qi(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${u}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${u}-content`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${u}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${u}-error ${u}-body > ${e.iconCls}`]:{color:e.colorError},[`${u}-warning ${u}-body > ${e.iconCls},\n ${u}-confirm ${u}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${u}-info ${u}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${u}-success ${u}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},Gh=qc(["Modal","confirm"],(e=>{const t=Lh(e);return[Xh(t)]}),Fh,{order:-1e3});var Yh=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function Uh(t){const{prefixCls:n,icon:r,okText:o,cancelText:i,confirmPrefixCls:a,type:l,okCancel:c,footer:s,locale:u}=t,d=Yh(t,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let f=r;if(!r&&null!==r)switch(l){case"info":f=e.createElement(Pn,null);break;case"success":f=e.createElement(Ge,null);break;case"error":f=e.createElement(st,null);break;default:f=e.createElement(Gt,null)}const p=null!=c?c:"confirm"===l,m=null!==t.autoFocusButton&&(t.autoFocusButton||"ok"),[g]=jl("Modal"),h=u||g,v=o||(p?null==h?void 0:h.okText:null==h?void 0:h.justOkText),b=i||(null==h?void 0:h.cancelText),y=Object.assign({autoFocusButton:m,cancelTextLocale:b,okTextLocale:v,mergedOkCancel:p},d),x=e.useMemo((()=>y),xi(Object.values(y))),C=e.createElement(e.Fragment,null,e.createElement(em,null),e.createElement(tm,null)),$=void 0!==t.title&&null!==t.title,S=`${a}-body`;return e.createElement("div",{className:`${a}-body-wrapper`},e.createElement("div",{className:w(S,{[`${S}-has-title`]:$})},f,e.createElement("div",{className:`${a}-paragraph`},$&&e.createElement("span",{className:`${a}-title`},t.title),e.createElement("div",{className:`${a}-content`},t.content))),void 0===s||"function"==typeof s?e.createElement(Jp,{value:x},e.createElement("div",{className:`${a}-btns`},"function"==typeof s?s(C,{OkBtn:tm,CancelBtn:em}):C)):s,e.createElement(Gh,{prefixCls:n}))}const Qh=t=>{const{close:n,zIndex:r,maskStyle:o,direction:i,prefixCls:a,wrapClassName:l,rootPrefixCls:c,bodyStyle:s,closable:u=!1,onConfirm:d,styles:f}=t,p=`${a}-confirm`,m=t.width||416,g=t.style||{},h=void 0===t.mask||t.mask,v=void 0!==t.maskClosable&&t.maskClosable,b=w(p,`${p}-${t.type}`,{[`${p}-rtl`]:"rtl"===i},t.className),[,y]=Dc(),x=e.useMemo((()=>void 0!==r?r:y.zIndexPopupBase+1e3),[r,y]);return e.createElement(qh,Object.assign({},t,{className:b,wrapClassName:w({[`${p}-centered`]:!!t.centered},l),onCancel:()=>{null==n||n({triggerCancel:!0}),null==d||d(!1)},title:"",footer:null,transitionName:hd(c||"","zoom",t.transitionName),maskTransitionName:hd(c||"","fade",t.maskTransitionName),mask:h,maskClosable:v,style:g,styles:Object.assign({body:s,mask:o},f),width:m,zIndex:x,closable:u}),e.createElement(Uh,Object.assign({},t,{confirmPrefixCls:p})))},Zh=t=>{const{rootPrefixCls:n,iconPrefixCls:r,direction:o,theme:i}=t;return e.createElement(ru,{prefixCls:n,iconPrefixCls:r,direction:o,theme:i},e.createElement(Qh,Object.assign({},t)))},Jh=[];let ev="";function tv(){return ev}const nv=t=>{var r,o;const{prefixCls:i,getContainer:a,direction:l}=t,c=Ml(),s=e.useContext(Ul),u=tv()||s.getPrefixCls(),d=i||`${u}-modal`;let f=a;return!1===f&&(f=void 0),n.createElement(Zh,Object.assign({},t,{rootPrefixCls:u,prefixCls:d,iconPrefixCls:s.iconPrefixCls,theme:s.theme,direction:null!=l?l:s.direction,locale:null!==(o=null===(r=s.locale)||void 0===r?void 0:r.Modal)&&void 0!==o?o:c,getContainer:f}))};function rv(e){const t=tu(),r=document.createDocumentFragment();let o,i,a=Object.assign(Object.assign({},e),{close:s,open:!0});function l(...t){var n;var r;t.some((e=>null==e?void 0:e.triggerCancel))&&(null===(n=e.onCancel)||void 0===n||(r=n).call.apply(r,[e,()=>{}].concat(xi(t.slice(1)))));for(let e=0;e<Jh.length;e++){if(Jh[e]===s){Jh.splice(e,1);break}}i()}function c(e){clearTimeout(o),o=setTimeout((()=>{const o=t.getPrefixCls(void 0,tv()),a=t.getIconPrefixCls(),l=t.getTheme(),c=n.createElement(nv,Object.assign({},e)),s=dd();i=s(n.createElement(ru,{prefixCls:o,iconPrefixCls:a,theme:l},t.holderRender?t.holderRender(c):c),r)}))}function s(...t){a=Object.assign(Object.assign({},a),{open:!1,afterClose:()=>{"function"==typeof e.afterClose&&e.afterClose(),l.apply(this,t)}}),a.visible&&delete a.visible,c(a)}return c(a),Jh.push(s),{destroy:s,update:function(e){a="function"==typeof e?e(a):Object.assign(Object.assign({},a),e),c(a)}}}function ov(e){return Object.assign(Object.assign({},e),{type:"warning"})}function iv(e){return Object.assign(Object.assign({},e),{type:"info"})}function av(e){return Object.assign(Object.assign({},e),{type:"success"})}function lv(e){return Object.assign(Object.assign({},e),{type:"error"})}function cv(e){return Object.assign(Object.assign({},e),{type:"confirm"})}var sv=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const uv=(t,n)=>{var r,{afterClose:o,config:i}=t,a=sv(t,["afterClose","config"]);const[l,c]=e.useState(!0),[s,u]=e.useState(i),{direction:d,getPrefixCls:f}=e.useContext(Ul),p=f("modal"),m=f(),g=(...e)=>{var t;c(!1);var n;e.some((e=>null==e?void 0:e.triggerCancel))&&(null===(t=s.onCancel)||void 0===t||(n=t).call.apply(n,[s,()=>{}].concat(xi(e.slice(1)))))};e.useImperativeHandle(n,(()=>({destroy:g,update:e=>{u((t=>Object.assign(Object.assign({},t),e)))}})));const h=null!==(r=s.okCancel)&&void 0!==r?r:"confirm"===s.type,[v]=jl("Modal",El.Modal);return e.createElement(Zh,Object.assign({prefixCls:p,rootPrefixCls:m},s,{close:g,open:l,afterClose:()=>{var e;o(),null===(e=s.afterClose)||void 0===e||e.call(s)},okText:s.okText||(h?null==v?void 0:v.okText:null==v?void 0:v.justOkText),direction:s.direction||d,cancelText:s.cancelText||(null==v?void 0:v.cancelText)},a))},dv=e.forwardRef(uv);let fv=0;const pv=e.memo(e.forwardRef(((t,n)=>{const[r,o]=function(){const[t,n]=e.useState([]);return[t,e.useCallback((e=>(n((t=>[].concat(xi(t),[e]))),()=>{n((t=>t.filter((t=>t!==e))))})),[])]}();return e.useImperativeHandle(n,(()=>({patchElement:o})),[]),e.createElement(e.Fragment,null,r)})));const mv=n.createContext({});function gv(t){return n=>e.createElement(ru,{theme:{token:{motion:!1,zIndexPopupBase:0}}},e.createElement(t,Object.assign({},n)))}const hv=(t,n,r,o,i)=>gv((a=>{const{prefixCls:l,style:c}=a,s=e.useRef(null),[u,d]=e.useState(0),[f,p]=e.useState(0),[m,g]=vc(!1,{value:a.open}),{getPrefixCls:h}=e.useContext(Ul),v=h(o||"select",l);e.useEffect((()=>{if(g(!0),"undefined"!=typeof ResizeObserver){const e=new ResizeObserver((e=>{const t=e[0].target;d(t.offsetHeight+8),p(t.offsetWidth)})),t=setInterval((()=>{var n;const r=i?`.${i(v)}`:`.${v}-dropdown`,o=null===(n=s.current)||void 0===n?void 0:n.querySelector(r);o&&(clearInterval(t),e.observe(o))}),10);return()=>{clearInterval(t),e.disconnect()}}}),[]);let b=Object.assign(Object.assign({},a),{style:Object.assign(Object.assign({},c),{margin:0}),open:m,visible:m,getPopupContainer:()=>s.current});r&&(b=r(b)),n&&Object.assign(b,{[n]:{overflow:{adjustX:!1,adjustY:!1}}});const y={paddingBottom:u,position:"relative",minWidth:f};return e.createElement("div",{ref:s,style:y},e.createElement(t,Object.assign({},b)))})),vv=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))};var bv=function(t){var n=t.className,r=t.customizeIcon,o=t.customizeIconProps,i=t.children,a=t.onMouseDown,l=t.onClick,c="function"==typeof r?r(o):r;return e.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),null==a||a(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},void 0!==c?c:e.createElement("span",{className:w(n.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},i))},yv=e.createContext(null);function xv(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,n=e.useRef(null),r=e.useRef(null);return e.useEffect((function(){return function(){window.clearTimeout(r.current)}}),[]),[function(){return n.current},function(e){(e||null===n.current)&&(n.current=e),window.clearTimeout(r.current),r.current=window.setTimeout((function(){n.current=null}),t)}]}var Cv=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],wv=void 0;function $v(t,n){var r=t.prefixCls,o=t.invalidate,i=t.item,a=t.renderItem,l=t.responsive,c=t.responsiveDisabled,u=t.registerSize,d=t.itemKey,f=t.className,p=t.style,m=t.children,g=t.display,h=t.order,v=t.component,y=void 0===v?"div":v,x=b(t,Cv),C=l&&!g;function $(e){u(d,e)}e.useEffect((function(){return function(){$(null)}}),[]);var S,k=a&&i!==wv?a(i,{index:h}):m;o||(S={opacity:C?0:1,height:C?0:wv,overflowY:C?"hidden":wv,order:l?h:wv,pointerEvents:C?"none":wv,position:C?"absolute":wv});var E={};C&&(E["aria-hidden"]=!0);var O=e.createElement(y,s({className:w(!o&&r,f),style:Y(Y({},S),p)},E,x,{ref:n}),k);return l&&(O=e.createElement(bi,{onResize:function(e){$(e.offsetWidth)},disabled:c},O)),O}var Sv=e.forwardRef($v);function kv(){var t=e.useRef(null);return function(e){t.current||(t.current=[],function(e){if("undefined"==typeof MessageChannel)Ei(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}((function(){i.unstable_batchedUpdates((function(){t.current.forEach((function(e){e()})),t.current=null}))}))),t.current.push(e)}}function Ev(t,n){var r=m(e.useState(n),2),o=r[0],i=r[1];return[o,mc((function(e){t((function(){i(e)}))}))]}Sv.displayName="Item";var Ov=n.createContext(null),Iv=["component"],Nv=["className"],Mv=["className"],Pv=function(t,n){var r=e.useContext(Ov);if(!r){var o=t.component,i=void 0===o?"div":o,a=b(t,Iv);return e.createElement(i,s({},a,{ref:n}))}var l=r.className,c=b(r,Nv),u=t.className,d=b(t,Mv);return e.createElement(Ov.Provider,{value:null},e.createElement(Sv,s({ref:n,className:w(l,u)},c,d)))},jv=e.forwardRef(Pv);jv.displayName="RawItem";var Rv=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Tv="responsive",zv="invalidate";function Hv(e){return"+ ".concat(e.length," ...")}function Dv(t,n){var r=t.prefixCls,o=void 0===r?"rc-overflow":r,i=t.data,a=void 0===i?[]:i,l=t.renderItem,c=t.renderRawItem,u=t.itemKey,d=t.itemWidth,f=void 0===d?10:d,p=t.ssr,g=t.style,h=t.className,v=t.maxCount,y=t.renderRest,x=t.renderRawRest,C=t.suffix,$=t.component,S=void 0===$?"div":$,k=t.itemComponent,E=t.onVisibleChange,O=b(t,Rv),I="full"===p,N=kv(),M=m(Ev(N,null),2),P=M[0],j=M[1],R=P||0,T=m(Ev(N,new Map),2),z=T[0],H=T[1],D=m(Ev(N,0),2),B=D[0],A=D[1],L=m(Ev(N,0),2),F=L[0],_=L[1],W=m(Ev(N,0),2),K=W[0],V=W[1],q=m(e.useState(null),2),X=q[0],G=q[1],U=m(e.useState(null),2),Q=U[0],Z=U[1],J=e.useMemo((function(){return null===Q&&I?Number.MAX_SAFE_INTEGER:Q||0}),[Q,P]),ee=m(e.useState(!1),2),te=ee[0],ne=ee[1],re="".concat(o,"-item"),oe=Math.max(B,F),ie=v===Tv,ae=a.length&&ie,le=v===zv,ce=ae||"number"==typeof v&&a.length>v,se=e.useMemo((function(){var e=a;return ae?e=null===P&&I?a:a.slice(0,Math.min(a.length,R/f)):"number"==typeof v&&(e=a.slice(0,v)),e}),[a,f,P,v,ae]),ue=e.useMemo((function(){return ae?a.slice(J+1):a.slice(se.length)}),[a,se,ae,J]),de=e.useCallback((function(e,t){var n;return"function"==typeof u?u(e):null!==(n=u&&(null==e?void 0:e[u]))&&void 0!==n?n:t}),[u]),fe=e.useCallback(l||function(e){return e},[l]);function pe(e,t,n){(Q!==e||void 0!==t&&t!==X)&&(Z(e),n||(ne(e<a.length-1),null==E||E(e)),void 0!==t&&G(t))}function me(e,t){H((function(n){var r=new Map(n);return null===t?r.delete(e):r.set(e,t),r}))}function ge(e){return z.get(de(se[e],e))}Zi((function(){if(R&&"number"==typeof oe&&se){var e=K,t=se.length,n=t-1;if(!t)return void pe(0,null);for(var r=0;r<t;r+=1){var o=ge(r);if(I&&(o=o||0),void 0===o){pe(r-1,void 0,!0);break}if(e+=o,0===n&&e<=R||r===n-1&&e+ge(n)<=R){pe(n,null);break}if(e+oe>R){pe(r-1,e-o-K+F);break}}C&&ge(0)+K>R&&G(null)}}),[R,z,F,K,de,se]);var he=te&&!!ue.length,ve={};null!==X&&ae&&(ve={position:"absolute",left:X,top:0});var be={prefixCls:re,responsive:ae,component:k,invalidate:le},ye=c?function(t,n){var r=de(t,n);return e.createElement(Ov.Provider,{key:r,value:Y(Y({},be),{},{order:n,item:t,itemKey:r,registerSize:me,display:n<=J})},c(t,n))}:function(t,n){var r=de(t,n);return e.createElement(Sv,s({},be,{order:n,key:r,item:t,renderItem:fe,itemKey:r,registerSize:me,display:n<=J}))},xe={order:he?J:Number.MAX_SAFE_INTEGER,className:"".concat(re,"-rest"),registerSize:function(e,t){_(t),A(F)},display:he},Ce=y||Hv,we=x?e.createElement(Ov.Provider,{value:Y(Y({},be),xe)},x(ue)):e.createElement(Sv,s({},be,xe),"function"==typeof Ce?Ce(ue):Ce),$e=e.createElement(S,s({className:w(!le&&o,h),style:g,ref:n},O),se.map(ye),ce?we:null,C&&e.createElement(Sv,s({},be,{responsive:ie,responsiveDisabled:!ae,order:J,className:"".concat(re,"-suffix"),registerSize:function(e,t){V(t)},display:!0,style:ve}),C));return ie?e.createElement(bi,{onResize:function(e,t){j(t.clientWidth)},disabled:!ae},$e):$e}var Bv=e.forwardRef(Dv);Bv.displayName="Overflow",Bv.Item=jv,Bv.RESPONSIVE=Tv,Bv.INVALIDATE=zv;var Av=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Lv=function(t,n){var r=t.prefixCls,o=t.id,i=t.inputElement,a=t.autoFocus,l=t.autoComplete,c=t.editable,s=t.activeDescendantId,u=t.value,d=t.open,f=t.attrs,p=b(t,Av),m=i||e.createElement("input",null),g=m,h=g.ref,v=g.props;return m.props,m=e.cloneElement(m,Y(Y(Y({type:"search"},function(e,t,n){var r=Y(Y({},e),n?t:{});return Object.keys(t).forEach((function(n){var o=t[n];"function"==typeof o&&(r[n]=function(){for(var t,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return o.apply(void 0,i),null===(t=e[n])||void 0===t?void 0:t.call.apply(t,[e].concat(i))})})),r}(p,v,!0)),{},{id:o,ref:$o(n,h),autoComplete:l||"off",autoFocus:a,className:w("".concat(r,"-selection-search-input"),null==v?void 0:v.className),role:"combobox","aria-expanded":d||!1,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":d?s:void 0},f),{},{value:c?u:"",readOnly:!c,unselectable:c?null:"on",style:Y(Y({},v.style),{},{opacity:c?null:0})})),m},Fv=e.forwardRef(Lv);function _v(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var Wv="undefined"!=typeof window&&window.document&&window.document.documentElement;function Kv(e){return["string","number"].includes(g(e))}function Vv(e){var t=void 0;return e&&(Kv(e.title)?t=e.title.toString():Kv(e.label)&&(t=e.label.toString())),t}function qv(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var Xv=function(e){e.preventDefault(),e.stopPropagation()},Gv=function(t){var n,r,o=t.id,i=t.prefixCls,a=t.values,l=t.open,c=t.searchValue,s=t.autoClearSearchValue,u=t.inputRef,d=t.placeholder,f=t.disabled,p=t.mode,g=t.showSearch,h=t.autoFocus,b=t.autoComplete,y=t.activeDescendantId,x=t.tabIndex,C=t.removeIcon,$=t.maxTagCount,S=t.maxTagTextLength,k=t.maxTagPlaceholder,E=void 0===k?function(e){return"+ ".concat(e.length," ...")}:k,O=t.tagRender,I=t.onToggleOpen,N=t.onRemove,M=t.onInputChange,P=t.onInputPaste,j=t.onInputKeyDown,R=t.onInputMouseDown,T=t.onInputCompositionStart,z=t.onInputCompositionEnd,H=t.onInputBlur,D=e.useRef(null),B=m(e.useState(0),2),A=B[0],L=B[1],F=m(e.useState(!1),2),_=F[0],W=F[1],K="".concat(i,"-selection"),V=l||"multiple"===p&&!1===s||"tags"===p?c:"",q="tags"===p||"multiple"===p&&!1===s||g&&(l||_);n=function(){L(D.current.scrollWidth)},r=[V],Wv?e.useLayoutEffect(n,r):e.useEffect(n,r);var X=function(t,n,r,o,i){return e.createElement("span",{title:Vv(t),className:w("".concat(K,"-item"),v({},"".concat(K,"-item-disabled"),r))},e.createElement("span",{className:"".concat(K,"-item-content")},n),o&&e.createElement(bv,{className:"".concat(K,"-item-remove"),onMouseDown:Xv,onClick:i,customizeIcon:C},"×"))},G=function(t,n,r,o,i,a){return e.createElement("span",{onMouseDown:function(e){Xv(e),I(!l)}},O({label:n,value:t,disabled:r,closable:o,onClose:i,isMaxTag:!!a}))},Y=e.createElement("div",{className:"".concat(K,"-search"),style:{width:A},onFocus:function(){W(!0)},onBlur:function(){W(!1)}},e.createElement(Fv,{ref:u,open:l,prefixCls:i,id:o,inputElement:null,disabled:f,autoFocus:h,autoComplete:b,editable:q,activeDescendantId:y,value:V,onKeyDown:j,onMouseDown:R,onChange:M,onPaste:P,onCompositionStart:T,onCompositionEnd:z,onBlur:H,tabIndex:x,attrs:au(t,!0)}),e.createElement("span",{ref:D,className:"".concat(K,"-search-mirror"),"aria-hidden":!0},V," ")),U=e.createElement(Bv,{prefixCls:"".concat(K,"-overflow"),data:a,renderItem:function(e){var t=e.disabled,n=e.label,r=e.value,o=!f&&!t,i=n;if("number"==typeof S&&("string"==typeof n||"number"==typeof n)){var a=String(i);a.length>S&&(i="".concat(a.slice(0,S),"..."))}var l=function(t){t&&t.stopPropagation(),N(e)};return"function"==typeof O?G(r,i,t,o,l):X(e,i,t,o,l)},renderRest:function(e){if(!a.length)return null;var t="function"==typeof E?E(e):E;return"function"==typeof O?G(void 0,t,!1,!1,void 0,!0):X({title:t},t,!1)},suffix:Y,itemKey:qv,maxCount:$});return e.createElement("span",{className:"".concat(K,"-wrap")},U,!a.length&&!V&&e.createElement("span",{className:"".concat(K,"-placeholder")},d))},Yv=function(t){var n=t.inputElement,r=t.prefixCls,o=t.id,i=t.inputRef,a=t.disabled,l=t.autoFocus,c=t.autoComplete,s=t.activeDescendantId,u=t.mode,d=t.open,f=t.values,p=t.placeholder,g=t.tabIndex,h=t.showSearch,v=t.searchValue,b=t.activeValue,y=t.maxLength,x=t.onInputKeyDown,C=t.onInputMouseDown,w=t.onInputChange,$=t.onInputPaste,S=t.onInputCompositionStart,k=t.onInputCompositionEnd,E=t.onInputBlur,O=t.title,I=m(e.useState(!1),2),N=I[0],M=I[1],P="combobox"===u,j=P||h,R=f[0],T=v||"";P&&b&&!N&&(T=b),e.useEffect((function(){P&&M(!1)}),[P,b]);var z=!("combobox"!==u&&!d&&!h)&&!!T,H=void 0===O?Vv(R):O,D=e.useMemo((function(){return R?null:e.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:z?{visibility:"hidden"}:void 0},p)}),[R,z,p,r]);return e.createElement("span",{className:"".concat(r,"-selection-wrap")},e.createElement("span",{className:"".concat(r,"-selection-search")},e.createElement(Fv,{ref:i,prefixCls:r,id:o,open:d,inputElement:n,disabled:a,autoFocus:l,autoComplete:c,editable:j,activeDescendantId:s,value:T,onKeyDown:x,onMouseDown:C,onChange:function(e){M(!0),w(e)},onPaste:$,onCompositionStart:S,onCompositionEnd:k,onBlur:E,tabIndex:g,attrs:au(t,!0),maxLength:P?y:void 0})),!P&&R?e.createElement("span",{className:"".concat(r,"-selection-item"),title:H,style:z?{visibility:"hidden"}:void 0},R.label):null,D)},Uv=function(t,n){var r=e.useRef(null),o=e.useRef(!1),i=t.prefixCls,a=t.open,l=t.mode,c=t.showSearch,u=t.tokenWithEnter,d=t.disabled,f=t.prefix,p=t.autoClearSearchValue,g=t.onSearch,h=t.onSearchSubmit,v=t.onToggleOpen,b=t.onInputKeyDown,y=t.onInputBlur,x=t.domRef;e.useImperativeHandle(n,(function(){return{focus:function(e){r.current.focus(e)},blur:function(){r.current.blur()}}}));var C=m(xv(0),2),w=C[0],$=C[1],S=e.useRef(null),k=function(e){!1!==g(e,!0,o.current)&&v(!0)},E={inputRef:r,onInputKeyDown:function(e){var t,n=e.which,i=r.current instanceof HTMLTextAreaElement;(i||!a||n!==yu.UP&&n!==yu.DOWN||e.preventDefault(),b&&b(e),n!==yu.ENTER||"tags"!==l||o.current||a||null==h||h(e.target.value),i&&!a&&~[yu.UP,yu.DOWN,yu.LEFT,yu.RIGHT].indexOf(n))||(t=n)&&![yu.ESC,yu.SHIFT,yu.BACKSPACE,yu.TAB,yu.WIN_KEY,yu.ALT,yu.META,yu.WIN_KEY_RIGHT,yu.CTRL,yu.SEMICOLON,yu.EQUALS,yu.CAPS_LOCK,yu.CONTEXT_MENU,yu.F1,yu.F2,yu.F3,yu.F4,yu.F5,yu.F6,yu.F7,yu.F8,yu.F9,yu.F10,yu.F11,yu.F12].includes(t)&&v(!0)},onInputMouseDown:function(){$(!0)},onInputChange:function(e){var t=e.target.value;if(u&&S.current&&/[\r\n]/.test(S.current)){var n=S.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,S.current)}S.current=null,k(t)},onInputPaste:function(e){var t=e.clipboardData,n=null==t?void 0:t.getData("text");S.current=n||""},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==l&&k(e.target.value)},onInputBlur:y},O="multiple"===l||"tags"===l?e.createElement(Gv,s({},t,E)):e.createElement(Yv,s({},t,E));return e.createElement("div",{ref:x,className:"".concat(i,"-selector"),onClick:function(e){e.target!==r.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){r.current.focus()})):r.current.focus())},onMouseDown:function(e){var t=w();e.target===r.current||t||"combobox"===l&&d||e.preventDefault(),("combobox"===l||c&&t)&&a||(a&&!1!==p&&g("",!0,!1),v())}},f&&e.createElement("div",{className:"".concat(i,"-prefix")},f),O)},Qv=e.forwardRef(Uv);function Zv(t){var n=t.prefixCls,r=t.align,o=t.arrow,i=t.arrowPos,a=o||{},l=a.className,c=a.content,s=i.x,u=void 0===s?0:s,d=i.y,f=void 0===d?0:d,p=e.useRef();if(!r||!r.points)return null;var m={position:"absolute"};if(!1!==r.autoArrow){var g=r.points[0],h=r.points[1],v=g[0],b=g[1],y=h[0],x=h[1];v!==y&&["t","b"].includes(v)?"t"===v?m.top=0:m.bottom=0:m.top=f,b!==x&&["l","r"].includes(b)?"l"===b?m.left=0:m.right=0:m.left=u}return e.createElement("div",{ref:p,className:w("".concat(n,"-arrow"),l),style:m},c)}function Jv(t){var n=t.prefixCls,r=t.open,o=t.zIndex,i=t.mask,a=t.motion;return i?e.createElement(Ts,s({},a,{motionAppear:!0,visible:r,removeOnLeave:!0}),(function(t){var r=t.className;return e.createElement("div",{style:{zIndex:o},className:w("".concat(n,"-mask"),r)})})):null}var eb=e.memo((function(e){return e.children}),(function(e,t){return t.cache})),tb=e.forwardRef((function(t,n){var r=t.popup,o=t.className,i=t.prefixCls,a=t.style,l=t.target,c=t.onVisibleChanged,u=t.open,d=t.keepDom,f=t.fresh,p=t.onClick,g=t.mask,h=t.arrow,v=t.arrowPos,b=t.align,y=t.motion,x=t.maskMotion,C=t.forceRender,$=t.getPopupContainer,S=t.autoDestroy,k=t.portal,E=t.zIndex,O=t.onMouseEnter,I=t.onMouseLeave,N=t.onPointerEnter,M=t.onPointerDownCapture,P=t.ready,j=t.offsetX,R=t.offsetY,T=t.offsetR,z=t.offsetB,H=t.onAlign,D=t.onPrepare,B=t.stretch,A=t.targetWidth,L=t.targetHeight,F="function"==typeof r?r():r,_=u||d,W=(null==$?void 0:$.length)>0,K=m(e.useState(!$||!W),2),V=K[0],q=K[1];if(Zi((function(){!V&&W&&l&&q(!0)}),[V,W,l]),!V)return null;var X="auto",G={left:"-1000vw",top:"-1000vh",right:X,bottom:X};if(P||!u){var U,Q=b.points,Z=b.dynamicInset||(null===(U=b._experimental)||void 0===U?void 0:U.dynamicInset),J=Z&&"r"===Q[0][1],ee=Z&&"b"===Q[0][0];J?(G.right=T,G.left=X):(G.left=j,G.right=X),ee?(G.bottom=z,G.top=X):(G.top=R,G.bottom=X)}var te={};return B&&(B.includes("height")&&L?te.height=L:B.includes("minHeight")&&L&&(te.minHeight=L),B.includes("width")&&A?te.width=A:B.includes("minWidth")&&A&&(te.minWidth=A)),u||(te.pointerEvents="none"),e.createElement(k,{open:C||_,getContainer:$&&function(){return $(l)},autoDestroy:S},e.createElement(Jv,{prefixCls:i,open:u,zIndex:E,mask:g,motion:x}),e.createElement(bi,{onResize:H,disabled:!u},(function(t){return e.createElement(Ts,s({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:C,leavedClassName:"".concat(i,"-hidden")},y,{onAppearPrepare:D,onEnterPrepare:D,visible:u,onVisibleChanged:function(e){var t;null==y||null===(t=y.onVisibleChanged)||void 0===t||t.call(y,e),c(e)}}),(function(r,l){var c=r.className,s=r.style,d=w(i,c,o);return e.createElement("div",{ref:$o(t,n,l),className:d,style:Y(Y(Y(Y({"--arrow-x":"".concat(v.x||0,"px"),"--arrow-y":"".concat(v.y||0,"px")},G),te),s),{},{boxSizing:"border-box",zIndex:E},a),onMouseEnter:O,onMouseLeave:I,onPointerEnter:N,onClick:p,onPointerDownCapture:M},h&&e.createElement(Zv,{prefixCls:i,arrow:h,arrowPos:v,align:b}),e.createElement(eb,{cache:!u&&!f},F))}))})))})),nb=e.forwardRef((function(t,n){var r=t.children,o=t.getTriggerDOMNode,i=ko(r),a=e.useCallback((function(e){wo(n,o?o(e):e)}),[o]),l=So(a,Oo(r));return i?e.cloneElement(r,{ref:l}):r})),rb=e.createContext(null);function ob(e){return e?Array.isArray(e)?e:[e]:[]}function ib(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>2?arguments[2]:void 0)?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function ab(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function lb(e){return e.ownerDocument.defaultView}function cb(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=lb(n).getComputedStyle(n);[o.overflowX,o.overflowY,o.overflow].some((function(e){return r.includes(e)}))&&t.push(n),n=n.parentElement}return t}function sb(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function ub(e){return sb(parseFloat(e),0)}function db(e,t){var n=Y({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=lb(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,l=t.borderLeftWidth,c=t.borderRightWidth,s=e.getBoundingClientRect(),u=e.offsetHeight,d=e.clientHeight,f=e.offsetWidth,p=e.clientWidth,m=ub(i),g=ub(a),h=ub(l),v=ub(c),b=sb(Math.round(s.width/f*1e3)/1e3),y=sb(Math.round(s.height/u*1e3)/1e3),x=(f-p-h-v)*b,C=(u-d-m-g)*y,w=m*y,$=g*y,S=h*b,k=v*b,E=0,O=0;if("clip"===r){var I=ub(o);E=I*b,O=I*y}var N=s.x+S-E,M=s.y+w-O,P=N+s.width+2*E-S-k-x,j=M+s.height+2*O-w-$-C;n.left=Math.max(n.left,N),n.top=Math.max(n.top,M),n.right=Math.min(n.right,P),n.bottom=Math.min(n.bottom,j)}})),n}function fb(e){var t="".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),n=t.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(t)}function pb(e,t){var n=m(t||[],2),r=n[0],o=n[1];return[fb(e.width,r),fb(e.height,o)]}function mb(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function gb(e,t){var n,r=t[0],o=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===o?e.x:"r"===o?e.x+e.width:e.x+e.width/2,y:n}}function hb(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}var vb=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];const bb=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pm,n=e.forwardRef((function(n,r){var o=n.prefixCls,i=void 0===o?"rc-trigger-popup":o,a=n.children,l=n.action,c=void 0===l?"hover":l,s=n.showAction,u=n.hideAction,d=n.popupVisible,f=n.defaultPopupVisible,p=n.onPopupVisibleChange,g=n.afterPopupVisibleChange,h=n.mouseEnterDelay,v=n.mouseLeaveDelay,y=void 0===v?.1:v,x=n.focusDelay,C=n.blurDelay,$=n.mask,S=n.maskClosable,k=void 0===S||S,E=n.getPopupContainer,O=n.forceRender,I=n.autoDestroy,N=n.destroyPopupOnHide,M=n.popup,P=n.popupClassName,j=n.popupStyle,R=n.popupPlacement,T=n.builtinPlacements,z=void 0===T?{}:T,H=n.popupAlign,D=n.zIndex,B=n.stretch,A=n.getPopupClassNameFromAlign,L=n.fresh,F=n.alignPoint,_=n.onPopupClick,W=n.onPopupAlign,K=n.arrow,V=n.popupMotion,q=n.maskMotion,X=n.popupTransitionName,G=n.popupAnimation,U=n.maskTransitionName,Q=n.maskAnimation,Z=n.className,J=n.getTriggerDOMNode,ee=b(n,vb),te=I||N||!1,ne=m(e.useState(!1),2),re=ne[0],oe=ne[1];Zi((function(){oe(vv())}),[]);var ie=e.useRef({}),ae=e.useContext(rb),le=e.useMemo((function(){return{registerSubPopup:function(e,t){ie.current[e]=t,null==ae||ae.registerSubPopup(e,t)}}}),[ae]),ce=vm(),ue=m(e.useState(null),2),de=ue[0],fe=ue[1],pe=e.useRef(null),me=mc((function(e){pe.current=e,No(e)&&de!==e&&fe(e),null==ae||ae.registerSubPopup(ce,e)})),ge=m(e.useState(null),2),he=ge[0],ve=ge[1],be=e.useRef(null),ye=mc((function(e){No(e)&&he!==e&&(ve(e),be.current=e)})),xe=e.Children.only(a),Ce=(null==xe?void 0:xe.props)||{},we={},$e=mc((function(e){var t,n,r=he;return(null==r?void 0:r.contains(e))||(null===(t=se(r))||void 0===t?void 0:t.host)===e||e===r||(null==de?void 0:de.contains(e))||(null===(n=se(de))||void 0===n?void 0:n.host)===e||e===de||Object.values(ie.current).some((function(t){return(null==t?void 0:t.contains(e))||e===t}))})),Se=ab(i,V,G,X),ke=ab(i,q,Q,U),Ee=m(e.useState(f||!1),2),Oe=Ee[0],Ie=Ee[1],Ne=null!=d?d:Oe,Me=mc((function(e){void 0===d&&Ie(e)}));Zi((function(){Ie(d||!1)}),[d]);var Pe=e.useRef(Ne);Pe.current=Ne;var je=e.useRef([]);je.current=[];var Re=mc((function(e){var t;Me(e),(null!==(t=je.current[je.current.length-1])&&void 0!==t?t:Ne)!==e&&(je.current.push(e),null==p||p(e))})),Te=e.useRef(),ze=function(){clearTimeout(Te.current)},He=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;ze(),0===t?Re(e):Te.current=setTimeout((function(){Re(e)}),1e3*t)};e.useEffect((function(){return ze}),[]);var De=m(e.useState(!1),2),Be=De[0],Ae=De[1];Zi((function(e){e&&!Ne||Ae(!0)}),[Ne]);var Le=m(e.useState(null),2),Fe=Le[0],_e=Le[1],We=m(e.useState(null),2),Ke=We[0],Ve=We[1],qe=function(e){Ve([e.clientX,e.clientY])},Xe=function(t,n,r,o,i,a,l){var c=m(e.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[o]||{}}),2),s=c[0],u=c[1],d=e.useRef(0),f=e.useMemo((function(){return n?cb(n):[]}),[n]),p=e.useRef({});t||(p.current={});var g=mc((function(){if(n&&r&&t){let t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:J,r=j.x+e,o=j.y+t,i=r+F,a=o+L,l=Math.max(r,n.left),c=Math.max(o,n.top),s=Math.min(i,n.right),u=Math.min(a,n.bottom);return Math.max(0,(s-l)*(u-c))},pt=function(){fe=j.y+Se,pe=fe+L,me=j.x+$e,ge=me+F};var e,c,s,d,g,h=n,v=h.ownerDocument,b=lb(h).getComputedStyle(h),y=b.width,x=b.height,C=b.position,w=h.style.left,$=h.style.top,S=h.style.right,k=h.style.bottom,E=h.style.overflow,O=Y(Y({},i[o]),a),I=v.createElement("div");if(null===(e=h.parentElement)||void 0===e||e.appendChild(I),I.style.left="".concat(h.offsetLeft,"px"),I.style.top="".concat(h.offsetTop,"px"),I.style.position=C,I.style.height="".concat(h.offsetHeight,"px"),I.style.width="".concat(h.offsetWidth,"px"),h.style.left="0",h.style.top="0",h.style.right="auto",h.style.bottom="auto",h.style.overflow="hidden",Array.isArray(r))g={x:r[0],y:r[1],width:0,height:0};else{var N,M,P=r.getBoundingClientRect();P.x=null!==(N=P.x)&&void 0!==N?N:P.left,P.y=null!==(M=P.y)&&void 0!==M?M:P.top,g={x:P.x,y:P.y,width:P.width,height:P.height}}var j=h.getBoundingClientRect();j.x=null!==(c=j.x)&&void 0!==c?c:j.left,j.y=null!==(s=j.y)&&void 0!==s?s:j.top;var R=v.documentElement,T=R.clientWidth,z=R.clientHeight,H=R.scrollWidth,D=R.scrollHeight,B=R.scrollTop,A=R.scrollLeft,L=j.height,F=j.width,_=g.height,W=g.width,K={left:0,top:0,right:T,bottom:z},V={left:-A,top:-B,right:H-A,bottom:D-B},q=O.htmlRegion,X="visible",G="visibleFirst";"scroll"!==q&&q!==G&&(q=X);var U=q===G,Q=db(V,f),Z=db(K,f),J=q===X?Z:Q,ee=U?Z:J;h.style.left="auto",h.style.top="auto",h.style.right="0",h.style.bottom="0";var te=h.getBoundingClientRect();h.style.left=w,h.style.top=$,h.style.right=S,h.style.bottom=k,h.style.overflow=E,null===(d=h.parentElement)||void 0===d||d.removeChild(I);var ne=sb(Math.round(F/parseFloat(y)*1e3)/1e3),re=sb(Math.round(L/parseFloat(x)*1e3)/1e3);if(0===ne||0===re||No(r)&&!yd(r))return;var oe=O.offset,ie=O.targetOffset,ae=m(pb(j,oe),2),le=ae[0],ce=ae[1],se=m(pb(g,ie),2),ue=se[0],de=se[1];g.x-=ue,g.y-=de;var fe,pe,me,ge,he=m(O.points||[],2),ve=he[0],be=mb(he[1]),ye=mb(ve),xe=gb(g,be),Ce=gb(j,ye),we=Y({},O),$e=xe.x-Ce.x+le,Se=xe.y-Ce.y+ce,ke=t($e,Se),Ee=t($e,Se,Z),Oe=gb(g,["t","l"]),Ie=gb(j,["t","l"]),Ne=gb(g,["b","r"]),Me=gb(j,["b","r"]),Pe=O.overflow||{},je=Pe.adjustX,Re=Pe.adjustY,Te=Pe.shiftX,ze=Pe.shiftY,He=function(e){return"boolean"==typeof e?e:e>=0};pt();var De=He(Re),Be=ye[0]===be[0];if(De&&"t"===ye[0]&&(pe>ee.bottom||p.current.bt)){var Ae=Se;Be?Ae-=L-_:Ae=Oe.y-Me.y-ce;var Le=t($e,Ae),Fe=t($e,Ae,Z);Le>ke||Le===ke&&(!U||Fe>=Ee)?(p.current.bt=!0,Se=Ae,ce=-ce,we.points=[hb(ye,0),hb(be,0)]):p.current.bt=!1}if(De&&"b"===ye[0]&&(fe<ee.top||p.current.tb)){var _e=Se;Be?_e+=L-_:_e=Ne.y-Ie.y-ce;var We=t($e,_e),Ke=t($e,_e,Z);We>ke||We===ke&&(!U||Ke>=Ee)?(p.current.tb=!0,Se=_e,ce=-ce,we.points=[hb(ye,0),hb(be,0)]):p.current.tb=!1}var Ve=He(je),qe=ye[1]===be[1];if(Ve&&"l"===ye[1]&&(ge>ee.right||p.current.rl)){var Xe=$e;qe?Xe-=F-W:Xe=Oe.x-Me.x-le;var Ge=t(Xe,Se),Ye=t(Xe,Se,Z);Ge>ke||Ge===ke&&(!U||Ye>=Ee)?(p.current.rl=!0,$e=Xe,le=-le,we.points=[hb(ye,1),hb(be,1)]):p.current.rl=!1}if(Ve&&"r"===ye[1]&&(me<ee.left||p.current.lr)){var Ue=$e;qe?Ue+=F-W:Ue=Ne.x-Ie.x-le;var Qe=t(Ue,Se),Ze=t(Ue,Se,Z);Qe>ke||Qe===ke&&(!U||Ze>=Ee)?(p.current.lr=!0,$e=Ue,le=-le,we.points=[hb(ye,1),hb(be,1)]):p.current.lr=!1}pt();var Je=!0===Te?0:Te;"number"==typeof Je&&(me<Z.left&&($e-=me-Z.left-le,g.x+W<Z.left+Je&&($e+=g.x-Z.left+W-Je)),ge>Z.right&&($e-=ge-Z.right-le,g.x>Z.right-Je&&($e+=g.x-Z.right+Je)));var et=!0===ze?0:ze;"number"==typeof et&&(fe<Z.top&&(Se-=fe-Z.top-ce,g.y+_<Z.top+et&&(Se+=g.y-Z.top+_-et)),pe>Z.bottom&&(Se-=pe-Z.bottom-ce,g.y>Z.bottom-et&&(Se+=g.y-Z.bottom+et)));var tt=j.x+$e,nt=tt+F,rt=j.y+Se,ot=rt+L,it=g.x,at=it+W,lt=g.y,ct=lt+_,st=(Math.max(tt,it)+Math.min(nt,at))/2-tt,ut=(Math.max(rt,lt)+Math.min(ot,ct))/2-rt;null==l||l(n,we);var dt=te.right-j.x-($e+j.width),ft=te.bottom-j.y-(Se+j.height);1===ne&&($e=Math.round($e),dt=Math.round(dt)),1===re&&(Se=Math.round(Se),ft=Math.round(ft)),u({ready:!0,offsetX:$e/ne,offsetY:Se/re,offsetR:dt/ne,offsetB:ft/re,arrowX:st/ne,arrowY:ut/re,scaleX:ne,scaleY:re,align:we})}})),h=function(){u((function(e){return Y(Y({},e),{},{ready:!1})}))};return Zi(h,[o]),Zi((function(){t||h()}),[t]),[s.ready,s.offsetX,s.offsetY,s.offsetR,s.offsetB,s.arrowX,s.arrowY,s.scaleX,s.scaleY,s.align,function(){d.current+=1;var e=d.current;Promise.resolve().then((function(){d.current===e&&g()}))}]}(Ne,de,F&&null!==Ke?Ke:he,R,z,H,W),Ge=m(Xe,11),Ye=Ge[0],Ue=Ge[1],Qe=Ge[2],Ze=Ge[3],Je=Ge[4],et=Ge[5],tt=Ge[6],nt=Ge[7],rt=Ge[8],ot=Ge[9],it=Ge[10],at=function(t,n,r,o){return e.useMemo((function(){var e=ob(null!=r?r:n),i=ob(null!=o?o:n),a=new Set(e),l=new Set(i);return t&&(a.has("hover")&&(a.delete("hover"),a.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[a,l]}),[t,n,r,o])}(re,c,s,u),lt=m(at,2),ct=lt[0],st=lt[1],ut=ct.has("click"),dt=st.has("click")||st.has("contextMenu"),ft=mc((function(){Be||it()}));!function(e,t,n,r,o){Zi((function(){if(e&&t&&n){let e=function(){r(),o()};var i=n,a=cb(t),l=cb(i),c=lb(i),s=new Set([c].concat(xi(a),xi(l)));return s.forEach((function(t){t.addEventListener("scroll",e,{passive:!0})})),c.addEventListener("resize",e,{passive:!0}),r(),function(){s.forEach((function(t){t.removeEventListener("scroll",e),c.removeEventListener("resize",e)}))}}}),[e,t,n])}(Ne,he,de,ft,(function(){Pe.current&&F&&dt&&He(!1)})),Zi((function(){ft()}),[Ke,R]),Zi((function(){!Ne||null!=z&&z[R]||ft()}),[JSON.stringify(H)]);var pt=e.useMemo((function(){var e=function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a<i.length;a+=1){var l,c=i[a];if(ib(null===(l=e[c])||void 0===l?void 0:l.points,o,r))return"".concat(t,"-placement-").concat(c)}return""}(z,i,ot,F);return w(e,null==A?void 0:A(ot))}),[ot,A,z,i,F]);e.useImperativeHandle(r,(function(){return{nativeElement:be.current,popupElement:pe.current,forceAlign:ft}}));var mt=m(e.useState(0),2),gt=mt[0],ht=mt[1],vt=m(e.useState(0),2),bt=vt[0],yt=vt[1],xt=function(){if(B&&he){var e=he.getBoundingClientRect();ht(e.width),yt(e.height)}};function Ct(e,t,n,r){we[e]=function(o){var i;null==r||r(o),He(t,n);for(var a=arguments.length,l=new Array(a>1?a-1:0),c=1;c<a;c++)l[c-1]=arguments[c];null===(i=Ce[e])||void 0===i||i.call.apply(i,[Ce,o].concat(l))}}Zi((function(){Fe&&(it(),Fe(),_e(null))}),[Fe]),(ut||dt)&&(we.onClick=function(e){var t;Pe.current&&dt?He(!1):!Pe.current&&ut&&(qe(e),He(!0));for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];null===(t=Ce.onClick)||void 0===t||t.call.apply(t,[Ce,e].concat(r))});var wt,$t,St=function(t,n,r,o,i,a,l,c){var s=e.useRef(t);s.current=t;var u=e.useRef(!1);return e.useEffect((function(){if(n&&o&&(!i||a)){var e=function(){u.current=!1},t=function(e){var t;!s.current||l((null===(t=e.composedPath)||void 0===t||null===(t=t.call(e))||void 0===t?void 0:t[0])||e.target)||u.current||c(!1)},d=lb(o);d.addEventListener("pointerdown",e,!0),d.addEventListener("mousedown",t,!0),d.addEventListener("contextmenu",t,!0);var f=se(r);return f&&(f.addEventListener("mousedown",t,!0),f.addEventListener("contextmenu",t,!0)),function(){d.removeEventListener("pointerdown",e,!0),d.removeEventListener("mousedown",t,!0),d.removeEventListener("contextmenu",t,!0),f&&(f.removeEventListener("mousedown",t,!0),f.removeEventListener("contextmenu",t,!0))}}}),[n,r,o,i,a]),function(){u.current=!0}}(Ne,dt,he,de,$,k,$e,He),kt=ct.has("hover"),Et=st.has("hover");kt&&(Ct("onMouseEnter",!0,h,(function(e){qe(e)})),Ct("onPointerEnter",!0,h,(function(e){qe(e)})),wt=function(e){(Ne||Be)&&null!=de&&de.contains(e.target)&&He(!0,h)},F&&(we.onMouseMove=function(e){var t;null===(t=Ce.onMouseMove)||void 0===t||t.call(Ce,e)})),Et&&(Ct("onMouseLeave",!1,y),Ct("onPointerLeave",!1,y),$t=function(){He(!1,y)}),ct.has("focus")&&Ct("onFocus",!0,x),st.has("focus")&&Ct("onBlur",!1,C),ct.has("contextMenu")&&(we.onContextMenu=function(e){var t;Pe.current&&st.has("contextMenu")?He(!1):(qe(e),He(!0)),e.preventDefault();for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];null===(t=Ce.onContextMenu)||void 0===t||t.call.apply(t,[Ce,e].concat(r))}),Z&&(we.className=w(Ce.className,Z));var Ot=Y(Y({},Ce),we),It={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach((function(e){ee[e]&&(It[e]=function(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];null===(t=Ot[e])||void 0===t||t.call.apply(t,[Ot].concat(r)),ee[e].apply(ee,r)})}));var Nt=e.cloneElement(xe,Y(Y({},Ot),It)),Mt={x:et,y:tt},Pt=K?Y({},!0!==K?K:{}):null;return e.createElement(e.Fragment,null,e.createElement(bi,{disabled:!Ne,ref:ye,onResize:function(){xt(),ft()}},e.createElement(nb,{getTriggerDOMNode:J},Nt)),e.createElement(rb.Provider,{value:le},e.createElement(tb,{portal:t,ref:me,prefixCls:i,popup:M,className:w(P,pt),style:j,target:he,onMouseEnter:wt,onMouseLeave:$t,onPointerEnter:wt,zIndex:D,open:Ne,keepDom:Be,fresh:L,onClick:_,onPointerDownCapture:St,mask:$,motion:Se,maskMotion:ke,onVisibleChanged:function(e){Ae(!1),it(),null==g||g(e)},onPrepare:function(){return new Promise((function(e){xt(),_e((function(){return e}))}))},forceRender:O,autoDestroy:te,getPopupContainer:E,align:ot,arrow:Pt,arrowPos:Mt,ready:Ye,offsetX:Ue,offsetY:Qe,offsetR:Ze,offsetB:Je,onAlign:ft,stretch:B,targetWidth:gt/nt,targetHeight:bt/rt})))}));return n}(pm);var yb=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],xb=function(t,n){var r=t.prefixCls;t.disabled;var o=t.visible,i=t.children,a=t.popupElement,l=t.animation,c=t.transitionName,u=t.dropdownStyle,d=t.dropdownClassName,f=t.direction,p=void 0===f?"ltr":f,m=t.placement,g=t.builtinPlacements,h=t.dropdownMatchSelectWidth,y=t.dropdownRender,x=t.dropdownAlign,C=t.getPopupContainer,$=t.empty,S=t.getTriggerDOMNode,k=t.onPopupVisibleChange,E=t.onPopupMouseEnter,O=b(t,yb),I="".concat(r,"-dropdown"),N=a;y&&(N=y(a));var M=e.useMemo((function(){return g||function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}}(h)}),[g,h]),P=l?"".concat(I,"-").concat(l):c,j="number"==typeof h,R=e.useMemo((function(){return j?null:!1===h?"minWidth":"width"}),[h,j]),T=u;j&&(T=Y(Y({},T),{},{width:h}));var z=e.useRef(null);return e.useImperativeHandle(n,(function(){return{getPopupElement:function(){var e;return null===(e=z.current)||void 0===e?void 0:e.popupElement}}})),e.createElement(bb,s({},O,{showAction:k?["click"]:[],hideAction:k?["click"]:[],popupPlacement:m||("rtl"===p?"bottomRight":"bottomLeft"),builtinPlacements:M,prefixCls:I,popupTransitionName:P,popup:e.createElement("div",{onMouseEnter:E},N),ref:z,stretch:R,popupAlign:x,popupVisible:o,getPopupContainer:C,popupClassName:w(d,v({},"".concat(I,"-empty"),$)),popupStyle:T,getTriggerDOMNode:S,onPopupVisibleChange:k}),i)},Cb=e.forwardRef(xb);function wb(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!=r?r:void 0!==n?n:"rc-index-key-".concat(t)}function $b(e){return void 0!==e&&!Number.isNaN(e)}function Sb(e,t){var n=e||{},r=n.label||(t?"children":"label");return{label:r,value:n.value||"value",options:n.options||"options",groupLabel:n.groupLabel||r}}function kb(e){var t=Y({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return me(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var Eb=e.createContext(null);function Ob(t){var n=t.visible,r=t.values;if(!n)return null;return e.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(r.slice(0,50).map((function(e){var t=e.label,n=e.value;return["number","string"].includes(g(t))?t:n})).join(", ")),r.length>50?", ...":null)}var Ib=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Nb=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Mb=function(e){return"tags"===e||"multiple"===e},Pb=e.forwardRef((function(t,r){var o,i=t.id,a=t.prefixCls,l=t.className,c=t.showSearch,u=t.tagRender,d=t.direction,f=t.omitDomProps,p=t.displayValues,h=t.onDisplayValuesChange,y=t.emptyOptions,x=t.notFoundContent,C=void 0===x?"Not Found":x,$=t.onClear,S=t.mode,k=t.disabled,E=t.loading,O=t.getInputElement,I=t.getRawInputElement,N=t.open,M=t.defaultOpen,P=t.onDropdownVisibleChange,j=t.activeValue,R=t.onActiveValueChange,T=t.activeDescendantId,z=t.searchValue,H=t.autoClearSearchValue,D=t.onSearch,B=t.onSearchSplit,A=t.tokenSeparators,L=t.allowClear,F=t.prefix,_=t.suffixIcon,W=t.clearIcon,K=t.OptionList,V=t.animation,q=t.transitionName,X=t.dropdownStyle,G=t.dropdownClassName,U=t.dropdownMatchSelectWidth,Q=t.dropdownRender,Z=t.dropdownAlign,J=t.placement,ee=t.builtinPlacements,te=t.getPopupContainer,ne=t.showAction,re=void 0===ne?[]:ne,oe=t.onFocus,ie=t.onBlur,ae=t.onKeyUp,le=t.onKeyDown,ce=t.onMouseDown,se=b(t,Ib),ue=Mb(S),de=(void 0!==c?c:ue)||"combobox"===S,fe=Y({},se);Nb.forEach((function(e){delete fe[e]})),null==f||f.forEach((function(e){delete fe[e]}));var pe=m(e.useState(!1),2),me=pe[0],ge=pe[1];e.useEffect((function(){ge(vv())}),[]);var he=e.useRef(null),ve=e.useRef(null),be=e.useRef(null),ye=e.useRef(null),xe=e.useRef(null),Ce=e.useRef(!1),we=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,n=m(e.useState(!1),2),r=n[0],o=n[1],i=e.useRef(null),a=function(){window.clearTimeout(i.current)};return e.useEffect((function(){return a}),[]),[r,function(e,n){a(),i.current=window.setTimeout((function(){o(e),n&&n()}),t)},a]}(),$e=m(we,3),Se=$e[0],ke=$e[1],Ee=$e[2];e.useImperativeHandle(r,(function(){var e,t;return{focus:null===(e=ye.current)||void 0===e?void 0:e.focus,blur:null===(t=ye.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=xe.current)||void 0===t?void 0:t.scrollTo(e)},nativeElement:he.current||ve.current}}));var Oe=e.useMemo((function(){var e;if("combobox"!==S)return z;var t=null===(e=p[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""}),[z,S,p]),Ie="combobox"===S&&"function"==typeof O&&O()||null,Ne="function"==typeof I&&I(),Me=So(ve,null==Ne||null===(o=Ne.props)||void 0===o?void 0:o.ref),Pe=m(e.useState(!1),2),je=Pe[0],Re=Pe[1];Zi((function(){Re(!0)}),[]);var Te=m(vc(!1,{defaultValue:M,value:N}),2),ze=Te[0],He=Te[1],De=!!je&&ze,Be=!C&&y;(k||Be&&De&&"combobox"===S)&&(De=!1);var Ae=!Be&&De,Le=e.useCallback((function(e){var t=void 0!==e?e:!De;k||(He(t),De!==t&&(null==P||P(t)))}),[k,De,He,P]),Fe=e.useMemo((function(){return(A||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[A]),_e=e.useContext(Eb)||{},We=_e.maxCount,Ke=_e.rawValues,Ve=function(e,t,n){if(!(ue&&$b(We)&&(null==Ke?void 0:Ke.size)>=We)){var r=!0,o=e;null==R||R(null);var i=function(e,t,n){if(!t||!t.length)return null;var r=!1,o=function e(t,n){var o=ul(n),i=o[0],a=o.slice(1);if(!i)return[t];var l=t.split(i);return r=r||l.length>1,l.reduce((function(t,n){return[].concat(xi(t),xi(e(n,a)))}),[]).filter(Boolean)}(e,t);return r?void 0!==n?o.slice(0,n):o:null}(e,A,$b(We)?We-Ke.size:void 0),a=n?null:i;return"combobox"!==S&&a&&(o="",null==B||B(a),Le(!1),r=!1),D&&Oe!==o&&D(o,{source:t?"typing":"effect"}),r}};e.useEffect((function(){De||ue||"combobox"===S||Ve("",!1,!1)}),[De]),e.useEffect((function(){ze&&k&&He(!1),k&&!Ce.current&&ke(!1)}),[k]);var qe=m(xv(),2),Xe=qe[0],Ge=qe[1],Ye=e.useRef(!1),Ue=e.useRef(!1),Qe=[];e.useEffect((function(){return function(){Qe.forEach((function(e){return clearTimeout(e)})),Qe.splice(0,Qe.length)}}),[]);var Ze,Je=m(e.useState({}),2)[1];Ne&&(Ze=function(e){Le(e)}),function(t,n,r,o){var i=e.useRef(null);i.current={open:n,triggerOpen:r,customizedTrigger:o},e.useEffect((function(){function e(e){var n;if(null===(n=i.current)||void 0===n||!n.customizedTrigger){var r=e.target;r.shadowRoot&&e.composed&&(r=e.composedPath()[0]||r),i.current.open&&t().filter((function(e){return e})).every((function(e){return!e.contains(r)&&e!==r}))&&i.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}}),[])}((function(){var e;return[he.current,null===(e=be.current)||void 0===e?void 0:e.getPopupElement()]}),Ae,Le,!!Ne);var et,tt=e.useMemo((function(){return Y(Y({},t),{},{notFoundContent:C,open:De,triggerOpen:Ae,id:i,showSearch:de,multiple:ue,toggleOpen:Le})}),[t,C,Ae,De,i,de,ue,Le]),nt=!!_||E;nt&&(et=e.createElement(bv,{className:w("".concat(a,"-arrow"),v({},"".concat(a,"-arrow-loading"),E)),customizeIcon:_,customizeIconProps:{loading:E,searchValue:Oe,open:De,focused:Se,showSearch:de}}));var rt,ot=function(e,t,r,o,i){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,s=n.useMemo((function(){return"object"===g(o)?o.clearIcon:i||void 0}),[o,i]);return{allowClear:n.useMemo((function(){return!(a||!o||!r.length&&!l||"combobox"===c&&""===l)}),[o,a,r.length,l,c]),clearIcon:n.createElement(bv,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:s},"×")}}(a,(function(){var e;null==$||$(),null===(e=ye.current)||void 0===e||e.focus(),h([],{type:"clear",values:p}),Ve("",!1,!1)}),p,L,W,k,Oe,S),it=ot.allowClear,at=ot.clearIcon,lt=e.createElement(K,{ref:xe}),ct=w(a,l,v(v(v(v(v(v(v(v(v(v({},"".concat(a,"-focused"),Se),"".concat(a,"-multiple"),ue),"".concat(a,"-single"),!ue),"".concat(a,"-allow-clear"),L),"".concat(a,"-show-arrow"),nt),"".concat(a,"-disabled"),k),"".concat(a,"-loading"),E),"".concat(a,"-open"),De),"".concat(a,"-customize-input"),Ie),"".concat(a,"-show-search"),de)),st=e.createElement(Cb,{ref:be,disabled:k,prefixCls:a,visible:Ae,popupElement:lt,animation:V,transitionName:q,dropdownStyle:X,dropdownClassName:G,direction:d,dropdownMatchSelectWidth:U,dropdownRender:Q,dropdownAlign:Z,placement:J,builtinPlacements:ee,getPopupContainer:te,empty:y,getTriggerDOMNode:function(e){return ve.current||e},onPopupVisibleChange:Ze,onPopupMouseEnter:function(){Je({})}},Ne?e.cloneElement(Ne,{ref:Me}):e.createElement(Qv,s({},t,{domRef:ve,prefixCls:a,inputElement:Ie,ref:ye,id:i,prefix:F,showSearch:de,autoClearSearchValue:H,mode:S,activeDescendantId:T,tagRender:u,values:p,open:De,onToggleOpen:Le,activeValue:j,searchValue:Oe,onSearch:Ve,onSearchSubmit:function(e){e&&e.trim()&&D(e,{source:"submit"})},onRemove:function(e){var t=p.filter((function(t){return t!==e}));h(t,{type:"remove",values:[e]})},tokenWithEnter:Fe,onInputBlur:function(){Ye.current=!1}})));return rt=Ne?st:e.createElement("div",s({className:ct},fe,{ref:he,onMouseDown:function(e){var t,n=e.target,r=null===(t=be.current)||void 0===t?void 0:t.getPopupElement();if(r&&r.contains(n)){var o=setTimeout((function(){var e,t=Qe.indexOf(o);-1!==t&&Qe.splice(t,1),Ee(),me||r.contains(document.activeElement)||null===(e=ye.current)||void 0===e||e.focus()}));Qe.push(o)}for(var i=arguments.length,a=new Array(i>1?i-1:0),l=1;l<i;l++)a[l-1]=arguments[l];null==ce||ce.apply(void 0,[e].concat(a))},onKeyDown:function(e){var t,n=Xe(),r=e.key,o="Enter"===r;if(o&&("combobox"!==S&&e.preventDefault(),De||Le(!0)),Ge(!!Oe),"Backspace"===r&&!n&&ue&&!Oe&&p.length){for(var i=xi(p),a=null,l=i.length-1;l>=0;l-=1){var c=i[l];if(!c.disabled){i.splice(l,1),a=c;break}}a&&h(i,{type:"remove",values:[a]})}for(var s=arguments.length,u=new Array(s>1?s-1:0),d=1;d<s;d++)u[d-1]=arguments[d];!De||o&&Ye.current||(o&&(Ye.current=!0),null===(t=xe.current)||void 0===t||t.onKeyDown.apply(t,[e].concat(u))),null==le||le.apply(void 0,[e].concat(u))},onKeyUp:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o;De&&(null===(o=xe.current)||void 0===o||o.onKeyUp.apply(o,[e].concat(n))),"Enter"===e.key&&(Ye.current=!1),null==ae||ae.apply(void 0,[e].concat(n))},onFocus:function(){ke(!0),k||(oe&&!Ue.current&&oe.apply(void 0,arguments),re.includes("focus")&&Le(!0)),Ue.current=!0},onBlur:function(){Ce.current=!0,ke(!1,(function(){Ue.current=!1,Ce.current=!1,Le(!1)})),k||(Oe&&("tags"===S?D(Oe,{source:"submit"}):"multiple"===S&&D("",{source:"blur"})),ie&&ie.apply(void 0,arguments))}}),e.createElement(Ob,{visible:Se&&!De,values:p}),st,et,it&&at),e.createElement(yv.Provider,{value:tt},rt)})),jb=function(){return null};jb.isSelectOptGroup=!0;var Rb=function(){return null};Rb.isSelectOption=!0;var Tb=e.forwardRef((function(t,n){var r=t.height,o=t.offsetY,i=t.offsetX,a=t.children,l=t.prefixCls,c=t.onInnerResize,u=t.innerProps,d=t.rtl,f=t.extra,p={},m={display:"flex",flexDirection:"column"};return void 0!==o&&(p={height:r,position:"relative",overflow:"hidden"},m=Y(Y({},m),{},v(v(v(v(v({transform:"translateY(".concat(o,"px)")},d?"marginRight":"marginLeft",-i),"position","absolute"),"left",0),"right",0),"top",0))),e.createElement("div",{style:p},e.createElement(bi,{onResize:function(e){e.offsetHeight&&c&&c()}},e.createElement("div",s({style:m,className:w(v({},"".concat(l,"-holder-inner"),l)),ref:n},u),a,f)))}));function zb(t){var n=t.children,r=t.setRef,o=e.useCallback((function(e){r(e)}),[]);return e.cloneElement(n,{ref:o})}function Hb(t,n,r){var o=m(e.useState(t),2),i=o[0],a=o[1],l=m(e.useState(null),2),c=l[0],s=l[1];return e.useEffect((function(){var e=function(e,t,n){var r,o,i=e.length,a=t.length;if(0===i&&0===a)return null;i<a?(r=e,o=t):(r=t,o=e);var l={__EMPTY_ITEM__:!0};function c(e){return void 0!==e?n(e):l}for(var s=null,u=1!==Math.abs(i-a),d=0;d<o.length;d+=1){var f=c(r[d]);if(f!==c(o[d])){s=d,u=u||f!==c(o[d+1]);break}}return null===s?null:{index:s,multiple:u}}(i||[],t||[],n);void 0!==(null==e?void 0:e.index)&&(null==r||r(e.index),s(t[e.index])),a(t)}),[t]),[c]}Tb.displayName="Filler";var Db="object"===("undefined"==typeof navigator?"undefined":g(navigator))&&/Firefox/i.test(navigator.userAgent);const Bb=function(t,n,r,o){var i=e.useRef(!1),a=e.useRef(null);var l=e.useRef({top:t,bottom:n,left:r,right:o});return l.current.top=t,l.current.bottom=n,l.current.left=r,l.current.right=o,function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e?t<0&&l.current.left||t>0&&l.current.right:t<0&&l.current.top||t>0&&l.current.bottom;return n&&r?(clearTimeout(a.current),i.current=!1):r&&!i.current||(clearTimeout(a.current),i.current=!0,a.current=setTimeout((function(){i.current=!1}),50)),!i.current&&r}};function Ab(t,n,r,o,i,a,l){var c=e.useRef(0),s=e.useRef(null),u=e.useRef(null),d=e.useRef(!1),f=Bb(n,r,o,i);var p=e.useRef(null),m=e.useRef(null);return[function(e){if(t){Ei.cancel(m.current),m.current=Ei((function(){p.current=null}),2);var n=e.deltaX,r=e.deltaY,o=e.shiftKey,i=n,g=r;("sx"===p.current||!p.current&&o&&r&&!n)&&(i=r,g=0,p.current="sx");var h=Math.abs(i),v=Math.abs(g);null===p.current&&(p.current=a&&h>v?"x":"y"),"y"===p.current?function(e,t){if(Ei.cancel(s.current),!f(!1,t)){var n=e;n._virtualHandled||(n._virtualHandled=!0,c.current+=t,u.current=t,Db||n.preventDefault(),s.current=Ei((function(){var e=d.current?10:1;l(c.current*e,!1),c.current=0})))}}(e,g):function(e,t){l(t,!0),Db||e.preventDefault()}(e,i)}},function(e){t&&(d.current=e.detail===u.current)}]}var Lb=function(){function e(){oi(this,e),v(this,"maps",void 0),v(this,"id",0),v(this,"diffRecords",new Map),this.maps=Object.create(null)}return ai(e,[{key:"set",value:function(e,t){this.diffRecords.set(e,this.maps[e]),this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),e}();function Fb(e){var t=parseFloat(e);return isNaN(t)?0:t}var _b=14/15;function Wb(e){return Math.floor(Math.pow(e,.5))}function Kb(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}var Vb=e.forwardRef((function(t,n){var r=t.prefixCls,o=t.rtl,i=t.scrollOffset,a=t.scrollRange,l=t.onStartMove,c=t.onStopMove,s=t.onScroll,u=t.horizontal,d=t.spinSize,f=t.containerSize,p=t.style,g=t.thumbStyle,h=t.showScrollBar,b=m(e.useState(!1),2),y=b[0],x=b[1],C=m(e.useState(null),2),$=C[0],S=C[1],k=m(e.useState(null),2),E=k[0],O=k[1],I=!o,N=e.useRef(),M=e.useRef(),P=m(e.useState(h),2),j=P[0],R=P[1],T=e.useRef(),z=function(){!0!==h&&!1!==h&&(clearTimeout(T.current),R(!0),T.current=setTimeout((function(){R(!1)}),3e3))},H=a-f||0,D=f-d||0,B=e.useMemo((function(){return 0===i||0===H?0:i/H*D}),[i,H,D]),A=e.useRef({top:B,dragging:y,pageY:$,startTop:E});A.current={top:B,dragging:y,pageY:$,startTop:E};var L=function(e){x(!0),S(Kb(e,u)),O(A.current.top),l(),e.stopPropagation(),e.preventDefault()};e.useEffect((function(){var e=function(e){e.preventDefault()},t=N.current,n=M.current;return t.addEventListener("touchstart",e,{passive:!1}),n.addEventListener("touchstart",L,{passive:!1}),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",L)}}),[]);var F=e.useRef();F.current=H;var _=e.useRef();_.current=D,e.useEffect((function(){if(y){var e,t=function(t){var n=A.current,r=n.dragging,o=n.pageY,i=n.startTop;Ei.cancel(e);var a=N.current.getBoundingClientRect(),l=f/(u?a.width:a.height);if(r){var c=(Kb(t,u)-o)*l,d=i;!I&&u?d-=c:d+=c;var p=F.current,m=_.current,g=m?d/m:0,h=Math.ceil(g*p);h=Math.max(h,0),h=Math.min(h,p),e=Ei((function(){s(h,u)}))}},n=function(){x(!1),c()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",n,{passive:!0}),window.addEventListener("touchend",n,{passive:!0}),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),Ei.cancel(e)}}}),[y]),e.useEffect((function(){return z(),function(){clearTimeout(T.current)}}),[i]),e.useImperativeHandle(n,(function(){return{delayHidden:z}}));var W="".concat(r,"-scrollbar"),K={position:"absolute",visibility:j?null:"hidden"},V={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return u?(K.height=8,K.left=0,K.right=0,K.bottom=0,V.height="100%",V.width=d,I?V.left=B:V.right=B):(K.width=8,K.top=0,K.bottom=0,I?K.right=0:K.left=0,V.width="100%",V.height=d,V.top=B),e.createElement("div",{ref:N,className:w(W,v(v(v({},"".concat(W,"-horizontal"),u),"".concat(W,"-vertical"),!u),"".concat(W,"-visible"),j)),style:Y(Y({},K),p),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:z},e.createElement("div",{ref:M,className:w("".concat(W,"-thumb"),v({},"".concat(W,"-thumb-moving"),y)),style:Y(Y({},V),g),onMouseDown:L}))}));function qb(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=e/(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)*e;return isNaN(t)&&(t=0),t=Math.max(t,20),Math.floor(t)}var Xb=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Gb=[],Yb={overflowY:"auto",overflowAnchor:"none"};function Ub(t,n){var r=t.prefixCls,o=void 0===r?"rc-virtual-list":r,a=t.className,l=t.height,c=t.itemHeight,u=t.fullHeight,d=void 0===u||u,f=t.style,p=t.data,h=t.children,y=t.itemKey,x=t.virtual,C=t.direction,$=t.scrollWidth,S=t.component,k=void 0===S?"div":S,E=t.onScroll,O=t.onVirtualScroll,I=t.onVisibleChange,N=t.innerProps,M=t.extraRender,P=t.styles,j=t.showScrollBar,R=void 0===j?"optional":j,T=b(t,Xb),z=e.useCallback((function(e){return"function"==typeof y?y(e):null==e?void 0:e[y]}),[y]),H=function(t,n,r){var o=m(e.useState(0),2),i=o[0],a=o[1],l=e.useRef(new Map),c=e.useRef(new Lb),s=e.useRef(0);function u(){s.current+=1}function d(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];u();var t=function(){var e=!1;l.current.forEach((function(t,n){if(t&&t.offsetParent){var r=t.offsetHeight,o=getComputedStyle(t),i=o.marginTop,a=o.marginBottom,l=r+Fb(i)+Fb(a);c.current.get(n)!==l&&(c.current.set(n,l),e=!0)}})),e&&a((function(e){return e+1}))};if(e)t();else{s.current+=1;var n=s.current;Promise.resolve().then((function(){n===s.current&&t()}))}}return e.useEffect((function(){return u}),[]),[function(e,o){var i=t(e),a=l.current.get(i);o?(l.current.set(i,o),d()):l.current.delete(i),!a!=!o&&(o?null==n||n(e):null==r||r(e))},d,c.current,i]}(z,null,null),D=m(H,4),B=D[0],A=D[1],L=D[2],F=D[3],_=!(!1===x||!l||!c),W=e.useMemo((function(){return Object.values(L.maps).reduce((function(e,t){return e+t}),0)}),[L.id,L.maps]),K=_&&p&&(Math.max(c*p.length,W)>l||!!$),V="rtl"===C,q=w(o,v({},"".concat(o,"-rtl"),V),a),X=p||Gb,G=e.useRef(),U=e.useRef(),Q=e.useRef(),Z=m(e.useState(0),2),J=Z[0],ee=Z[1],te=m(e.useState(0),2),ne=te[0],re=te[1],oe=m(e.useState(!1),2),ie=oe[0],ae=oe[1],le=function(){ae(!0)},ce=function(){ae(!1)},se={getKey:z};function ue(e){ee((function(t){var n=function(e){var t=e;Number.isNaN(Oe.current)||(t=Math.min(t,Oe.current));return t=Math.max(t,0),t}("function"==typeof e?e(t):e);return G.current.scrollTop=n,n}))}var de=e.useRef({start:0,end:X.length}),fe=e.useRef(),pe=m(Hb(X,z),1)[0];fe.current=pe;var me=e.useMemo((function(){if(!_)return{scrollHeight:void 0,start:0,end:X.length-1,offset:void 0};var e;if(!K)return{scrollHeight:(null===(e=U.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:X.length-1,offset:void 0};for(var t,n,r,o=0,i=X.length,a=0;a<i;a+=1){var s=X[a],u=z(s),d=L.get(u),f=o+(void 0===d?c:d);f>=J&&void 0===t&&(t=a,n=o),f>J+l&&void 0===r&&(r=a),o=f}return void 0===t&&(t=0,n=0,r=Math.ceil(l/c)),void 0===r&&(r=X.length-1),{scrollHeight:o,start:t,end:r=Math.min(r+1,X.length-1),offset:n}}),[K,_,J,X,F,l]),ge=me.scrollHeight,he=me.start,ve=me.end,be=me.offset;de.current.start=he,de.current.end=ve,e.useLayoutEffect((function(){var e=L.getRecord();if(1===e.size){var t=Array.from(e.keys())[0],n=e.get(t),r=X[he];if(r&&void 0===n)if(z(r)===t){var o=L.get(t)-c;ue((function(e){return e+o}))}}L.resetRecord()}),[ge]);var ye=m(e.useState({width:0,height:l}),2),xe=ye[0],Ce=ye[1],we=e.useRef(),$e=e.useRef(),Se=e.useMemo((function(){return qb(xe.width,$)}),[xe.width,$]),ke=e.useMemo((function(){return qb(xe.height,ge)}),[xe.height,ge]),Ee=ge-l,Oe=e.useRef(Ee);Oe.current=Ee;var Ie=J<=0,Ne=J>=Ee,Me=ne<=0,Pe=ne>=$,je=Bb(Ie,Ne,Me,Pe),Re=function(){return{x:V?-ne:ne,y:J}},Te=e.useRef(Re()),ze=mc((function(e){if(O){var t=Y(Y({},Re()),e);Te.current.x===t.x&&Te.current.y===t.y||(O(t),Te.current=t)}}));function He(e,t){var n=e;t?(i.flushSync((function(){re(n)})),ze()):ue(n)}var De=function(e){var t=e,n=$?$-xe.width:0;return t=Math.max(t,0),t=Math.min(t,n)},Be=mc((function(e,t){t?(i.flushSync((function(){re((function(t){return De(t+(V?-e:e))}))})),ze()):ue((function(t){return t+e}))})),Ae=m(Ab(_,Ie,Ne,Me,Pe,!!$,Be),2),Le=Ae[0],Fe=Ae[1];!function(t,n,r){var o,i=e.useRef(!1),a=e.useRef(0),l=e.useRef(0),c=e.useRef(null),s=e.useRef(null),u=function(e){if(i.current){var t=Math.ceil(e.touches[0].pageX),n=Math.ceil(e.touches[0].pageY),o=a.current-t,c=l.current-n,u=Math.abs(o)>Math.abs(c);u?a.current=t:l.current=n;var d=r(u,u?o:c,!1,e);d&&e.preventDefault(),clearInterval(s.current),d&&(s.current=setInterval((function(){u?o*=_b:c*=_b;var e=Math.floor(u?o:c);(!r(u,e,!0)||Math.abs(e)<=.1)&&clearInterval(s.current)}),16))}},d=function(){i.current=!1,o()},f=function(e){o(),1!==e.touches.length||i.current||(i.current=!0,a.current=Math.ceil(e.touches[0].pageX),l.current=Math.ceil(e.touches[0].pageY),c.current=e.target,c.current.addEventListener("touchmove",u,{passive:!1}),c.current.addEventListener("touchend",d,{passive:!0}))};o=function(){c.current&&(c.current.removeEventListener("touchmove",u),c.current.removeEventListener("touchend",d))},Zi((function(){return t&&n.current.addEventListener("touchstart",f,{passive:!0}),function(){var e;null===(e=n.current)||void 0===e||e.removeEventListener("touchstart",f),o(),clearInterval(s.current)}}),[t])}(_,G,(function(e,t,n,r){var o=r;return!je(e,t,n)&&((!o||!o._virtualHandled)&&(o&&(o._virtualHandled=!0),Le({preventDefault:function(){},deltaX:e?t:0,deltaY:e?0:t}),!0))})),function(t,n,r){e.useEffect((function(){var e=n.current;if(t&&e){var o,i,a=!1,l=function(){Ei.cancel(o)},c=function e(){l(),o=Ei((function(){r(i),e()}))},s=function(e){if(!e.target.draggable&&0===e.button){var t=e;t._virtualHandled||(t._virtualHandled=!0,a=!0)}},u=function(){a=!1,l()},d=function(t){if(a){var n=Kb(t,!1),r=e.getBoundingClientRect(),o=r.top,s=r.bottom;n<=o?(i=-Wb(o-n),c()):n>=s?(i=Wb(n-s),c()):l()}};return e.addEventListener("mousedown",s),e.ownerDocument.addEventListener("mouseup",u),e.ownerDocument.addEventListener("mousemove",d),function(){e.removeEventListener("mousedown",s),e.ownerDocument.removeEventListener("mouseup",u),e.ownerDocument.removeEventListener("mousemove",d),l()}}}),[t])}(K,G,(function(e){ue((function(t){return t+e}))})),Zi((function(){function e(e){var t=Ie&&e.detail<0,n=Ne&&e.detail>0;!_||t||n||e.preventDefault()}var t=G.current;return t.addEventListener("wheel",Le,{passive:!1}),t.addEventListener("DOMMouseScroll",Fe,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),function(){t.removeEventListener("wheel",Le),t.removeEventListener("DOMMouseScroll",Fe),t.removeEventListener("MozMousePixelScroll",e)}}),[_,Ie,Ne]),Zi((function(){if($){var e=De(ne);re(e),ze({x:e})}}),[xe.width,$]);var _e=function(){var e,t;null===(e=we.current)||void 0===e||e.delayHidden(),null===(t=$e.current)||void 0===t||t.delayHidden()},We=function(t,n,r,o,i,a,l,c){var s=e.useRef(),u=m(e.useState(null),2),d=u[0],f=u[1];return Zi((function(){if(d&&d.times<10){if(!t.current)return void f((function(e){return Y({},e)}));a();var e=d.targetAlign,c=d.originAlign,s=d.index,u=d.offset,p=t.current.clientHeight,m=!1,g=e,h=null;if(p){for(var v=e||c,b=0,y=0,x=0,C=Math.min(n.length-1,s),w=0;w<=C;w+=1){var $=i(n[w]);y=b;var S=r.get($);b=x=y+(void 0===S?o:S)}for(var k="top"===v?u:p-u,E=C;E>=0;E-=1){var O=i(n[E]),I=r.get(O);if(void 0===I){m=!0;break}if((k-=I)<=0)break}switch(v){case"top":h=y-u;break;case"bottom":h=x-p+u;break;default:var N=t.current.scrollTop;y<N?g="top":x>N+p&&(g="bottom")}null!==h&&l(h),h!==d.lastTop&&(m=!0)}m&&f(Y(Y({},d),{},{times:d.times+1,targetAlign:g,lastTop:h}))}}),[d,t.current]),function(e){if(null!=e){if(Ei.cancel(s.current),"number"==typeof e)l(e);else if(e&&"object"===g(e)){var t,r=e.align;t="index"in e?e.index:n.findIndex((function(t){return i(t)===e.key}));var o=e.offset;f({times:0,index:t,offset:void 0===o?0:o,originAlign:r})}}else c()}}(G,X,L,c,z,(function(){return A(!0)}),ue,_e);e.useImperativeHandle(n,(function(){return{nativeElement:Q.current,getScrollInfo:Re,scrollTo:function(e){var t;(t=e)&&"object"===g(t)&&("left"in t||"top"in t)?(void 0!==e.left&&re(De(e.left)),We(e.top)):We(e)}}})),Zi((function(){if(I){var e=X.slice(he,ve+1);I(e,X)}}),[he,ve,X]);var Ke=function(t,n,r,o){var i=m(e.useMemo((function(){return[new Map,[]]}),[t,r.id,o]),2),a=i[0],l=i[1];return function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,c=a.get(e),s=a.get(i);if(void 0===c||void 0===s)for(var u=t.length,d=l.length;d<u;d+=1){var f,p=t[d],m=n(p);a.set(m,d);var g=null!==(f=r.get(m))&&void 0!==f?f:o;if(l[d]=(l[d-1]||0)+g,m===e&&(c=d),m===i&&(s=d),void 0!==c&&void 0!==s)break}return{top:l[c-1]||0,bottom:l[s]}}}(X,z,L,c),Ve=null==M?void 0:M({start:he,end:ve,virtual:K,offsetX:ne,offsetY:be,rtl:V,getSize:Ke}),qe=function(t,n,r,o,i,a,l,c){var s=c.getKey;return t.slice(n,r+1).map((function(t,r){var c=l(t,n+r,{style:{width:o},offsetX:i}),u=s(t);return e.createElement(zb,{key:u,setRef:function(e){return a(t,e)}},c)}))}(X,he,ve,$,ne,B,h,se),Xe=null;l&&(Xe=Y(v({},d?"height":"maxHeight",l),Yb),_&&(Xe.overflowY="hidden",$&&(Xe.overflowX="hidden"),ie&&(Xe.pointerEvents="none")));var Ge={};return V&&(Ge.dir="rtl"),e.createElement("div",s({ref:Q,style:Y(Y({},f),{},{position:"relative"}),className:q},Ge,T),e.createElement(bi,{onResize:function(e){Ce({width:e.offsetWidth,height:e.offsetHeight})}},e.createElement(k,{className:"".concat(o,"-holder"),style:Xe,ref:G,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==J&&ue(t),null==E||E(e),ze()},onMouseEnter:_e},e.createElement(Tb,{prefixCls:o,height:ge,offsetX:ne,offsetY:be,scrollWidth:$,onInnerResize:A,ref:U,innerProps:N,rtl:V,extra:Ve},qe))),K&&ge>l&&e.createElement(Vb,{ref:we,prefixCls:o,scrollOffset:J,scrollRange:ge,rtl:V,onScroll:He,onStartMove:le,onStopMove:ce,spinSize:ke,containerSize:xe.height,style:null==P?void 0:P.verticalScrollBar,thumbStyle:null==P?void 0:P.verticalScrollBarThumb,showScrollBar:R}),K&&$>xe.width&&e.createElement(Vb,{ref:$e,prefixCls:o,scrollOffset:ne,scrollRange:$,rtl:V,onScroll:He,onStartMove:le,onStopMove:ce,spinSize:Se,containerSize:xe.width,horizontal:!0,style:null==P?void 0:P.horizontalScrollBar,thumbStyle:null==P?void 0:P.horizontalScrollBarThumb,showScrollBar:R}))}var Qb=e.forwardRef(Ub);Qb.displayName="List";var Zb=["disabled","title","children","style","className"];function Jb(e){return"string"==typeof e||"number"==typeof e}var ey=function(t,n){var r=e.useContext(yv),o=r.prefixCls,i=r.id,a=r.open,l=r.multiple,c=r.mode,u=r.searchValue,d=r.toggleOpen,f=r.notFoundContent,p=r.onPopupScroll,g=e.useContext(Eb),h=g.maxCount,y=g.flattenOptions,x=g.onActiveValue,C=g.defaultActiveFirstOption,$=g.onSelect,S=g.menuItemSelectedIcon,k=g.rawValues,E=g.fieldNames,O=g.virtual,I=g.direction,N=g.listHeight,M=g.listItemHeight,P=g.optionRender,j="".concat(o,"-item"),R=ho((function(){return y}),[a,y],(function(e,t){return t[0]&&e[1]!==t[1]})),T=e.useRef(null),z=e.useMemo((function(){return l&&$b(h)&&(null==k?void 0:k.size)>=h}),[l,h,null==k?void 0:k.size]),H=function(e){e.preventDefault()},D=function(e){var t;null===(t=T.current)||void 0===t||t.scrollTo("number"==typeof e?{index:e}:e)},B=e.useCallback((function(e){return"combobox"!==c&&k.has(e)}),[c,xi(k).toString(),k.size]),A=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=R.length,r=0;r<n;r+=1){var o=(e+r*t+n)%n,i=R[o]||{},a=i.group,l=i.data;if(!a&&(null==l||!l.disabled)&&(B(l.value)||!z))return o}return-1},L=m(e.useState((function(){return A(0)})),2),F=L[0],_=L[1],W=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_(e);var n={source:t?"keyboard":"mouse"},r=R[e];r?x(r.value,e,n):x(null,-1,n)};e.useEffect((function(){W(!1!==C?A(0):-1)}),[R.length,u]);var K=e.useCallback((function(e){return"combobox"===c?String(e).toLowerCase()===u.toLowerCase():k.has(e)}),[c,u,xi(k).toString(),k.size]);e.useEffect((function(){var e,t=setTimeout((function(){if(!l&&a&&1===k.size){var e=Array.from(k)[0],t=R.findIndex((function(t){var n=t.data;return u?String(n.value).startsWith(u):n.value===e}));-1!==t&&(W(t),D(t))}}));a&&(null===(e=T.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(t)}}),[a,u]);var V=function(e){void 0!==e&&$(e,{selected:!k.has(e)}),l||d(!1)};if(e.useImperativeHandle(n,(function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case yu.N:case yu.P:case yu.UP:case yu.DOWN:var r=0;if(t===yu.UP?r=-1:t===yu.DOWN?r=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===yu.N?r=1:t===yu.P&&(r=-1)),0!==r){var o=A(F+r,r);D(o),W(o,!0)}break;case yu.TAB:case yu.ENTER:var i,l=R[F];!l||null!=l&&null!==(i=l.data)&&void 0!==i&&i.disabled||z?V(void 0):V(l.value),a&&e.preventDefault();break;case yu.ESC:d(!1),a&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){D(e)}}})),0===R.length)return e.createElement("div",{role:"listbox",id:"".concat(i,"_list"),className:"".concat(j,"-empty"),onMouseDown:H},f);var q=Object.keys(E).map((function(e){return E[e]})),X=function(e){return e.label};function G(e,t){return{role:e.group?"presentation":"option",id:"".concat(i,"_list_").concat(t)}}var Y=function(t){var n=R[t];if(!n)return null;var r=n.data||{},o=r.value,i=n.group,a=au(r,!0),l=X(n);return n?e.createElement("div",s({"aria-label":"string"!=typeof l||i?null:l},a,{key:t},G(n,t),{"aria-selected":K(o)}),o):null},U={role:"listbox",id:"".concat(i,"_list")};return e.createElement(e.Fragment,null,O&&e.createElement("div",s({},U,{style:{height:0,width:0,overflow:"hidden"}}),Y(F-1),Y(F),Y(F+1)),e.createElement(Qb,{itemKey:"key",ref:T,data:R,height:N,itemHeight:M,fullHeight:!1,onMouseDown:H,onScroll:p,virtual:O,direction:I,innerProps:O?null:U},(function(t,n){var r=t.group,o=t.groupOption,i=t.data,a=t.label,l=t.value,c=i.key;if(r){var u,d=null!==(u=i.title)&&void 0!==u?u:Jb(a)?a.toString():void 0;return e.createElement("div",{className:w(j,"".concat(j,"-group"),i.className),title:d},void 0!==a?a:c)}var f=i.disabled,p=i.title;i.children;var m=i.style,g=i.className,h=bd(b(i,Zb),q),y=B(l),x=f||!y&&z,C="".concat(j,"-option"),$=w(j,C,g,v(v(v(v({},"".concat(C,"-grouped"),o),"".concat(C,"-active"),F===n&&!x),"".concat(C,"-disabled"),x),"".concat(C,"-selected"),y)),k=X(t),E=!S||"function"==typeof S||y,I="number"==typeof k?k:k||l,N=Jb(I)?I.toString():void 0;return void 0!==p&&(N=p),e.createElement("div",s({},au(h),O?{}:G(t,n),{"aria-selected":K(l),className:$,title:N,onMouseMove:function(){F===n||x||W(n)},onClick:function(){x||V(l)},style:m}),e.createElement("div",{className:"".concat(C,"-content")},"function"==typeof P?P(t,{index:n}):I),e.isValidElement(S)||y,E&&e.createElement(bv,{className:"".concat(j,"-option-state"),customizeIcon:S,customizeIconProps:{value:l,disabled:x,isSelected:y}},y?"✓":null))})))},ty=e.forwardRef(ey);function ny(e,t){return _v(e).join("").toUpperCase().includes(t)}var ry=0,oy=U();function iy(t){var n=m(e.useState(),2),r=n[0],o=n[1];return e.useEffect((function(){var e;o("rc_select_".concat((oy?(e=ry,ry+=1):e="TEST_OR_SSR",e)))}),[]),t||r}var ay=["children","value"],ly=["children"];function cy(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Io(t).map((function(t,r){if(!e.isValidElement(t)||!t.type)return null;var o=t,i=o.type.isSelectOptGroup,a=o.key,l=o.props,c=l.children,s=b(l,ly);return n||!i?function(e){var t=e,n=t.key,r=t.props,o=r.children,i=r.value;return Y({key:n,value:void 0!==i?i:n,children:o},b(r,ay))}(t):Y(Y({key:"__RC_SELECT_GRP__".concat(null===a?r:a,"__"),label:a},s),{},{options:cy(c)})})).filter((function(e){return e}))}function sy(t){var n=e.useRef();n.current=t;var r=e.useCallback((function(){return n.current.apply(n,arguments)}),[]);return r}var uy=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],dy=["inputValue"];var fy=e.forwardRef((function(t,n){var r=t.id,o=t.mode,i=t.prefixCls,a=void 0===i?"rc-select":i,l=t.backfill,c=t.fieldNames,u=t.inputValue,d=t.searchValue,f=t.onSearch,p=t.autoClearSearchValue,h=void 0===p||p,y=t.onSelect,x=t.onDeselect,C=t.dropdownMatchSelectWidth,w=void 0===C||C,$=t.filterOption,S=t.filterSort,k=t.optionFilterProp,E=t.optionLabelProp,O=t.options,I=t.optionRender,N=t.children,M=t.defaultActiveFirstOption,P=t.menuItemSelectedIcon,j=t.virtual,R=t.direction,T=t.listHeight,z=void 0===T?200:T,H=t.listItemHeight,D=void 0===H?20:H,B=t.labelRender,A=t.value,L=t.defaultValue,F=t.labelInValue,_=t.onChange,W=t.maxCount,K=b(t,uy),V=iy(r),q=Mb(o),X=!(O||!N),G=e.useMemo((function(){return(void 0!==$||"combobox"!==o)&&$}),[$,o]),U=e.useMemo((function(){return Sb(c,X)}),[JSON.stringify(c),X]),Q=m(vc("",{value:void 0!==d?d:u,postState:function(e){return e||""}}),2),Z=Q[0],J=Q[1],ee=function(t,n,r,o,i){return e.useMemo((function(){var e=t;!t&&(e=cy(n));var a=new Map,l=new Map,c=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=0;s<t.length;s+=1){var u=t[s];!u[r.options]||n?(a.set(u[r.value],u),c(l,u,r.label),c(l,u,o),c(l,u,i)):e(u[r.options],!0)}}(e),{options:e,valueOptions:a,labelOptions:l}}),[t,n,r,o,i])}(O,N,U,k,E),te=ee.valueOptions,ne=ee.labelOptions,re=ee.options,oe=e.useCallback((function(e){return _v(e).map((function(e){var t,n,r,o,i,a;(function(e){return!e||"object"!==g(e)})(e)?t=e:(r=e.key,n=e.label,t=null!==(a=e.value)&&void 0!==a?a:r);var l,c=te.get(t);c&&(void 0===n&&(n=null==c?void 0:c[E||U.label]),void 0===r&&(r=null!==(l=null==c?void 0:c.key)&&void 0!==l?l:t),o=null==c?void 0:c.disabled,i=null==c?void 0:c.title);return{label:n,value:t,key:r,disabled:o,title:i}}))}),[U,E,te]),ie=m(vc(L,{value:A}),2),ae=ie[0],le=ie[1],ce=e.useMemo((function(){var e,t=oe(q&&null===ae?[]:ae);return"combobox"===o&&function(e){return!e&&0!==e}(null===(e=t[0])||void 0===e?void 0:e.value)?[]:t}),[ae,oe,o,q]),se=function(t,n){var r=e.useRef({values:new Map,options:new Map});return[e.useMemo((function(){var e=r.current,o=e.values,i=e.options,a=t.map((function(e){var t;return void 0===e.label?Y(Y({},e),{},{label:null===(t=o.get(e.value))||void 0===t?void 0:t.label}):e})),l=new Map,c=new Map;return a.forEach((function(e){l.set(e.value,e),c.set(e.value,n.get(e.value)||i.get(e.value))})),r.current.values=l,r.current.options=c,a}),[t,n]),e.useCallback((function(e){return n.get(e)||r.current.options.get(e)}),[n])]}(ce,te),ue=m(se,2),de=ue[0],fe=ue[1],pe=e.useMemo((function(){if(!o&&1===de.length){var e=de[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return de.map((function(e){var t;return Y(Y({},e),{},{label:null!==(t="function"==typeof B?B(e):e.label)&&void 0!==t?t:e.value})}))}),[o,de,B]),me=e.useMemo((function(){return new Set(de.map((function(e){return e.value})))}),[de]);e.useEffect((function(){if("combobox"===o){var e,t=null===(e=de[0])||void 0===e?void 0:e.value;J(function(e){return null!=e}(t)?String(t):"")}}),[de]);var ge=sy((function(e,t){var n=null!=t?t:e;return v(v({},U.value,e),U.label,n)})),he=function(t,n,r,o,i){return e.useMemo((function(){if(!r||!1===o)return t;var e=n.options,a=n.label,l=n.value,c=[],s="function"==typeof o,u=r.toUpperCase(),d=s?o:function(t,n){return i?ny(n[i],u):n[e]?ny(n["children"!==a?a:"label"],u):ny(n[l],u)},f=s?function(e){return kb(e)}:function(e){return e};return t.forEach((function(t){if(t[e])if(d(r,f(t)))c.push(t);else{var n=t[e].filter((function(e){return d(r,f(e))}));n.length&&c.push(Y(Y({},t),{},v({},e,n)))}else d(r,f(t))&&c.push(t)})),c}),[t,o,i,r,n])}(e.useMemo((function(){if("tags"!==o)return re;var e=xi(re);return xi(de).sort((function(e,t){return e.value<t.value?-1:1})).forEach((function(t){var n=t.value;(function(e){return te.has(e)})(n)||e.push(ge(n,t.label))})),e}),[ge,re,te,de,o]),U,Z,G,k),ve=e.useMemo((function(){return"tags"!==o||!Z||he.some((function(e){return e[k||"value"]===Z}))||he.some((function(e){return e[U.value]===Z}))?he:[ge(Z)].concat(xi(he))}),[ge,k,o,he,Z,U]),be=function e(t){return xi(t).sort((function(e,t){return S(e,t,{searchValue:Z})})).map((function(t){return Array.isArray(t.options)?Y(Y({},t),{},{options:t.options.length>0?e(t.options):t.options}):t}))},ye=e.useMemo((function(){return S?be(ve):ve}),[ve,S,Z]),xe=e.useMemo((function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],i=Sb(n,!1),a=i.label,l=i.value,c=i.options,s=i.groupLabel;return function e(t,n){Array.isArray(t)&&t.forEach((function(t){if(n||!(c in t)){var i=t[l];o.push({key:wb(t,o.length),groupOption:n,data:t,label:t[a],value:i})}else{var u=t[s];void 0===u&&r&&(u=t.label),o.push({key:wb(t,o.length),group:!0,data:t,label:u}),e(t[c],!0)}}))}(e,!1),o}(ye,{fieldNames:U,childrenAsData:X})}),[ye,U,X]),Ce=function(e){var t=oe(e);if(le(t),_&&(t.length!==de.length||t.some((function(e,t){var n;return(null===(n=de[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)})))){var n=F?t:t.map((function(e){return e.value})),r=t.map((function(e){return kb(fe(e.value))}));_(q?n:n[0],q?r:r[0])}},we=m(e.useState(null),2),$e=we[0],Se=we[1],ke=m(e.useState(0),2),Ee=ke[0],Oe=ke[1],Ie=void 0!==M?M:"combobox"!==o,Ne=e.useCallback((function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).source,r=void 0===n?"keyboard":n;Oe(t),l&&"combobox"===o&&null!==e&&"keyboard"===r&&Se(String(e))}),[l,o]),Me=function(e,t,n){var r=function(){var t,n=fe(e);return[F?{label:null==n?void 0:n[U.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,kb(n)]};if(t&&y){var o=m(r(),2),i=o[0],a=o[1];y(i,a)}else if(!t&&x&&"clear"!==n){var l=m(r(),2),c=l[0],s=l[1];x(c,s)}},Pe=sy((function(e,t){var n,r=!q||t.selected;n=r?q?[].concat(xi(de),[e]):[e]:de.filter((function(t){return t.value!==e})),Ce(n),Me(e,r),"combobox"===o?Se(""):Mb&&!h||(J(""),Se(""))})),je=e.useMemo((function(){var e=!1!==j&&!1!==w;return Y(Y({},ee),{},{flattenOptions:xe,onActiveValue:Ne,defaultActiveFirstOption:Ie,onSelect:Pe,menuItemSelectedIcon:P,rawValues:me,fieldNames:U,virtual:e,direction:R,listHeight:z,listItemHeight:D,childrenAsData:X,maxCount:W,optionRender:I})}),[W,ee,xe,Ne,Ie,Pe,P,me,U,j,w,R,z,D,X,I]);return e.createElement(Eb.Provider,{value:je},e.createElement(Pb,s({},K,{id:V,prefixCls:a,ref:n,omitDomProps:dy,mode:o,displayValues:pe,onDisplayValuesChange:function(e,t){Ce(e);var n=t.type,r=t.values;"remove"!==n&&"clear"!==n||r.forEach((function(e){Me(e.value,!1,n)}))},direction:R,searchValue:Z,onSearch:function(e,t){if(J(e),Se(null),"submit"!==t.source)"blur"!==t.source&&("combobox"===o&&Ce(e),null==f||f(e));else{var n=(e||"").trim();if(n){var r=Array.from(new Set([].concat(xi(me),[n])));Ce(r),Me(n,!0),J("")}}},autoClearSearchValue:h,onSearchSplit:function(e){var t=e;"tags"!==o&&(t=e.map((function(e){var t=ne.get(e);return null==t?void 0:t.value})).filter((function(e){return void 0!==e})));var n=Array.from(new Set([].concat(xi(me),xi(t))));Ce(n),n.forEach((function(e){Me(e,!0)}))},dropdownMatchSelectWidth:w,OptionList:ty,emptyOptions:!xe.length,activeValue:$e,activeDescendantId:"".concat(V,"_list_").concat(Ee)})))}));function py(e,t,n){return w({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:n})}fy.Option=Rb,fy.OptGroup=jb;const my=(e,t)=>t||e,gy=()=>{const[,t]=Dc(),[n]=jl("Empty"),r=new O(t.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return e.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(null==n?void 0:n.description)||"Empty"),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(24 31.67)"},e.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),e.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),e.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),e.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),e.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),e.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),e.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},e.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),e.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},hy=()=>{const[,t]=Dc(),[n]=jl("Empty"),{colorFill:r,colorFillTertiary:o,colorFillQuaternary:i,colorBgContainer:a}=t,{borderColor:l,shadowColor:c,contentColor:s}=e.useMemo((()=>({borderColor:new O(r).onBackground(a).toHexString(),shadowColor:new O(o).onBackground(a).toHexString(),contentColor:new O(i).onBackground(a).toHexString()})),[r,o,i,a]);return e.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(null==n?void 0:n.description)||"Empty"),e.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},e.createElement("ellipse",{fill:c,cx:"32",cy:"33",rx:"32",ry:"7"}),e.createElement("g",{fillRule:"nonzero",stroke:l},e.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),e.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))},vy=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},by=Kc("Empty",(e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,o=Cc(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[vy(o)]}));var yy=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const xy=e.createElement(gy,null),Cy=e.createElement(hy,null),wy=t=>{const{className:n,rootClassName:r,prefixCls:o,image:i=xy,description:a,children:l,imageStyle:c,style:s,classNames:u,styles:d}=t,f=yy(t,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:p,direction:m,className:g,style:h,classNames:v,styles:b}=Zl("empty"),y=p("empty",o),[x,C,$]=by(y),[S]=jl("Empty"),k=void 0!==a?a:null==S?void 0:S.description,E="string"==typeof k?k:"empty";let O=null;return O="string"==typeof i?e.createElement("img",{alt:E,src:i}):i,x(e.createElement("div",Object.assign({className:w(C,$,y,g,{[`${y}-normal`]:i===Cy,[`${y}-rtl`]:"rtl"===m},n,r,v.root,null==u?void 0:u.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},b.root),h),null==d?void 0:d.root),s)},f),e.createElement("div",{className:w(`${y}-image`,v.image,null==u?void 0:u.image),style:Object.assign(Object.assign(Object.assign({},c),b.image),null==d?void 0:d.image)},O),k&&e.createElement("div",{className:w(`${y}-description`,v.description,null==u?void 0:u.description),style:Object.assign(Object.assign({},b.description),null==d?void 0:d.description)},k),l&&e.createElement("div",{className:w(`${y}-footer`,v.footer,null==u?void 0:u.footer),style:Object.assign(Object.assign({},b.footer),null==d?void 0:d.footer)},l)))};wy.PRESENTED_IMAGE_DEFAULT=xy,wy.PRESENTED_IMAGE_SIMPLE=Cy;const $y=wy,Sy=t=>{const{componentName:r}=t,{getPrefixCls:o}=e.useContext(Ul),i=o("empty");switch(r){case"Table":case"List":return n.createElement($y,{image:$y.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return n.createElement($y,{image:$y.PRESENTED_IMAGE_SIMPLE,className:`${i}-small`});case"Table.filter":return null;default:return n.createElement($y,null)}},ky=(t,n,r=void 0)=>{var o,i;const{variant:a,[t]:l}=e.useContext(Ul),c=e.useContext(Wg),s=null==l?void 0:l.variant;let u;u=void 0!==n?n:!1===r?"borderless":null!==(i=null!==(o=null!=c?c:s)&&void 0!==o?o:a)&&void 0!==i?i:"outlined";return[u,Yl.includes(u)]};function Ey(e,t){return e||(e=>{const t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}})(t)}const Oy=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:o}=e;return{position:"relative",display:"block",minHeight:t,padding:o,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},Iy=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,o=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,a=`&${t}-slide-up-leave${t}-slide-up-leave-active`,l=`${n}-dropdown-placement-`,c=`${r}-option-selected`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},Ac(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`\n ${o}${l}bottomLeft,\n ${i}${l}bottomLeft\n `]:{animationName:Rf},[`\n ${o}${l}topLeft,\n ${i}${l}topLeft,\n ${o}${l}topRight,\n ${i}${l}topRight\n `]:{animationName:zf},[`${a}${l}bottomLeft`]:{animationName:Tf},[`\n ${a}${l}topLeft,\n ${a}${l}topRight\n `]:{animationName:Hf},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},Oy(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Bc),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Oy(e)),{color:e.colorTextDisabled})}),[`${c}:has(+ ${c})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${c}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},_f(e,"slide-up"),_f(e,"slide-down"),jf(e,"move-up"),jf(e,"move-down")]},Ny=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:o}=e,i=e.max(e.calc(n).sub(r).equal(),0);return{basePadding:i,containerPadding:e.max(e.calc(i).sub(o).equal(),0),itemHeight:qi(t),itemLineHeight:qi(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},My=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:o,paddingXS:i,multipleItemColorDisabled:a,multipleItemBorderColorDisabled:l,colorIcon:c,colorIconHover:s,INTERNAL_FIXED_ITEM_MARGIN:u}=e,d=`${t}-selection-overflow`;return{[d]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:u,borderRadius:r,cursor:"default",transition:`font-size ${o}, line-height ${o}, height ${o}`,marginInlineEnd:e.calc(u).mul(2).equal(),paddingInlineStart:i,paddingInlineEnd:e.calc(i).div(2).equal(),[`${t}-disabled&`]:{color:a,borderColor:l,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(i).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:s}})}}}},Py=(e,t)=>{const{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,o=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,a=(e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()})(e),l=t?`${n}-${t}`:"",c=Ny(e);return{[`${n}-multiple${l}`]:Object.assign(Object.assign({},My(e)),{[`${n}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:c.basePadding,paddingBlock:c.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${qi(r)} 0`,lineHeight:qi(i),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:c.itemHeight,lineHeight:qi(c.itemLineHeight)},[`${n}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:qi(i),marginBlock:r}},[`${n}-prefix`]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(c.basePadding).equal()},[`${o}-item + ${o}-item,\n ${n}-prefix + ${n}-selection-wrap\n `]:{[`${n}-selection-search`]:{marginInlineStart:0},[`${n}-selection-placeholder`]:{insetInlineStart:0}},[`${o}-item-suffix`]:{minHeight:c.itemHeight,marginBlock:r},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(a).equal(),"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:qi(i),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(c.basePadding).equal(),insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function jy(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",o={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[`\n &${n}-show-arrow ${n}-selector,\n &${n}-allow-clear ${n}-selector\n `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[Py(e,t),o]}const Ry=e=>{const{componentCls:t}=e,n=Cc(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Cc(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[jy(e),jy(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},jy(r,"lg")]};function Ty(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},Ac(e,!0)),{display:"flex",borderRadius:o,flex:"1 1 auto",[`${n}-selection-wrap:after`]:{lineHeight:qi(i)},[`${n}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`\n ${n}-selection-item,\n ${n}-selection-placeholder\n `]:{display:"block",padding:0,lineHeight:qi(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`\n &${n}-show-arrow ${n}-selection-item,\n &${n}-show-arrow ${n}-selection-search,\n &${n}-show-arrow ${n}-selection-placeholder\n `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${qi(r)}`,[`${n}-selection-search-input`]:{height:i,fontSize:e.fontSize},"&:after":{lineHeight:qi(i)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${qi(r)}`,"&:after":{display:"none"}}}}}}}function zy(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[Ty(e),Ty(Cc(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selector`]:{padding:`0 ${qi(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`\n &${t}-show-arrow ${t}-selection-item,\n &${t}-show-arrow ${t}-selection-placeholder\n `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},Ty(Cc(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const Hy=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${qi(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${qi(o)} ${t.activeOutlineColor}`,outline:0},[`${n}-prefix`]:{color:t.color}}}},Dy=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},Hy(e,t))}),By=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Hy(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),Dy(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),Dy(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${qi(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),Ay=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${qi(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},Ly=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},Ay(e,t))}),Fy=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ay(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),Ly(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),Ly(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${qi(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),_y=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",border:`${qi(e.lineWidth)} ${e.lineType} transparent`},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${qi(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),Wy=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{borderWidth:`0 0 ${qi(e.lineWidth)} 0`,borderStyle:`none none ${e.lineType} none`,borderColor:t.borderColor,background:e.selectorBg,borderRadius:0},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,outline:0},[`${n}-prefix`]:{color:t.color}}}},Ky=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},Wy(e,t))}),Vy=e=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},Wy(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),Ky(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),Ky(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${qi(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),qy=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},By(e)),Fy(e)),_y(e)),Vy(e))}),Xy=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Gy=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},Yy=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e,i={[`${n}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}};return{[n]:Object.assign(Object.assign({},Ac(e)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},Xy(e)),Gy(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},Bc),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},Bc),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${n}-prefix`]:{flex:"none",marginInlineEnd:e.selectAffixPadding},[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorIcon}},"@media(hover:none)":i,"&:hover":i}),[`${n}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}}}},Uy=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},Yy(e),zy(e),Ry(e),Iy(e),{[`${t}-rtl`]:{direction:"rtl"}},Lp(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},Qy=Kc("Select",((e,{rootPrefixCls:t})=>{const n=Cc(e,{rootPrefixCls:t,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Uy(n),qy(n)]}),(e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:o,controlHeightSM:i,controlHeightLG:a,paddingXXS:l,controlPaddingHorizontal:c,zIndexPopupBase:s,colorText:u,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:p,colorBgContainer:m,colorFillSecondary:g,colorBgContainerDisabled:h,colorTextDisabled:v,colorPrimaryHover:b,colorPrimary:y,controlOutline:x}=e,C=2*l,w=2*r,$=Math.min(o-C,o-w),S=Math.min(i-C,i-w),k=Math.min(a-C,a-w);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(l/2),zIndexPopup:s+50,optionSelectedColor:u,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:p,optionPadding:`${(o-t*n)/2}px ${c}px`,optionFontSize:t,optionLineHeight:n,optionHeight:o,selectorBg:m,clearBg:m,singleItemHeightLG:a,multipleItemBg:g,multipleItemBorderColor:"transparent",multipleItemHeight:$,multipleItemHeightSM:S,multipleItemHeightLG:k,multipleSelectorBgDisabled:h,multipleItemColorDisabled:v,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize),hoverBorderColor:b,activeBorderColor:y,activeOutlineColor:x,selectAffixPadding:l}}),{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});function Zy({suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:o,loading:i,multiple:a,hasFeedback:l,prefixCls:c,showSuffixIcon:s,feedbackIcon:u,showArrow:d,componentName:f}){const p=null!=n?n:e.createElement(st,null),m=n=>null!==t||l||d?e.createElement(e.Fragment,null,!1!==s&&n,l&&u):null;let g=null;if(void 0!==t)g=m(t);else if(i)g=m(e.createElement(Wn,{spin:!0}));else{const t=`${c}-suffix`;g=({open:n,showSearch:r})=>m(n&&r?e.createElement(Ir,{className:t}):e.createElement(Mt,{className:t}))}let h=null;h=void 0!==r?r:a?e.createElement(rt,null):null;let v=null;return v=void 0!==o?o:e.createElement(ft,null),{clearIcon:p,suffixIcon:g,itemIcon:h,removeIcon:v}}var Jy=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const ex="SECRET_COMBOBOX_MODE_DO_NOT_USE",tx=(t,n)=>{var r,o,i,a,l;const{prefixCls:c,bordered:s,className:u,rootClassName:d,getPopupContainer:f,popupClassName:p,dropdownClassName:m,listHeight:g=256,placement:h,listItemHeight:v,size:b,disabled:y,notFoundContent:x,status:C,builtinPlacements:$,dropdownMatchSelectWidth:S,popupMatchSelectWidth:k,direction:E,style:O,allowClear:I,variant:N,dropdownStyle:M,transitionName:P,tagRender:j,maxCount:R,prefix:T,dropdownRender:z,popupRender:H,onDropdownVisibleChange:D,onOpenChange:B,styles:A,classNames:L}=t,F=Jy(t,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix","dropdownRender","popupRender","onDropdownVisibleChange","onOpenChange","styles","classNames"]),{getPopupContainer:_,getPrefixCls:W,renderEmpty:K,direction:V,virtual:q,popupMatchSelectWidth:X,popupOverflow:G}=e.useContext(Ul),{showSearch:Y,style:U,styles:Q,className:Z,classNames:J}=Zl("select"),[,ee]=Dc(),te=null!=v?v:null==ee?void 0:ee.controlHeight,ne=W("select",c),re=W(),oe=null!=E?E:V,{compactSize:ie,compactItemClassnames:ae}=Hd(ne,oe),[le,ce]=ky("select",N,s),se=bu(ne),[ue,de,fe]=Qy(ne,se),pe=e.useMemo((()=>{const{mode:e}=t;if("combobox"!==e)return e===ex?"combobox":e}),[t.mode]),me="multiple"===pe||"tags"===pe,ge=function(e,t){return void 0!==t?t:null!==e}(t.suffixIcon,t.showArrow),he=null!==(r=null!=k?k:S)&&void 0!==r?r:X,ve=(null===(o=null==A?void 0:A.popup)||void 0===o?void 0:o.root)||(null===(i=Q.popup)||void 0===i?void 0:i.root)||M,be=H||z,ye=B||D,{status:xe,hasFeedback:Ce,isFormItemInput:we,feedbackIcon:$e}=e.useContext(Fg),Se=my(xe,C);let ke;ke=void 0!==x?x:"combobox"===pe?null:(null==K?void 0:K("Select"))||e.createElement(Sy,{componentName:"Select"});const{suffixIcon:Ee,itemIcon:Oe,removeIcon:Ie,clearIcon:Ne}=Zy(Object.assign(Object.assign({},F),{multiple:me,hasFeedback:Ce,feedbackIcon:$e,showSuffixIcon:ge,prefixCls:ne,componentName:"Select"})),Me=!0===I?{clearIcon:Ne}:I,Pe=bd(F,["suffixIcon","itemIcon"]),je=w((null===(a=null==L?void 0:L.popup)||void 0===a?void 0:a.root)||(null===(l=null==J?void 0:J.popup)||void 0===l?void 0:l.root)||p||m,{[`${ne}-dropdown-${oe}`]:"rtl"===oe},d,J.root,null==L?void 0:L.root,fe,se,de),Re=Nd((e=>{var t;return null!==(t=null!=b?b:ie)&&void 0!==t?t:e})),Te=e.useContext(rc),ze=null!=y?y:Te,He=w({[`${ne}-lg`]:"large"===Re,[`${ne}-sm`]:"small"===Re,[`${ne}-rtl`]:"rtl"===oe,[`${ne}-${le}`]:ce,[`${ne}-in-form-item`]:we},py(ne,Se,Ce),ae,Z,u,J.root,null==L?void 0:L.root,d,fe,se,de),De=e.useMemo((()=>void 0!==h?h:"rtl"===oe?"bottomRight":"bottomLeft"),[h,oe]),[Be]=Tu("SelectLike",null==ve?void 0:ve.zIndex);return ue(e.createElement(fy,Object.assign({ref:n,virtual:q,showSearch:Y},Pe,{style:Object.assign(Object.assign(Object.assign(Object.assign({},Q.root),null==A?void 0:A.root),U),O),dropdownMatchSelectWidth:he,transitionName:hd(re,"slide-up",P),builtinPlacements:Ey($,G),listHeight:g,listItemHeight:te,mode:pe,prefixCls:ne,placement:De,direction:oe,prefix:T,suffixIcon:Ee,menuItemSelectedIcon:Oe,removeIcon:Ie,allowClear:Me,notFoundContent:ke,className:He,getPopupContainer:f||_,dropdownClassName:je,disabled:ze,dropdownStyle:Object.assign(Object.assign({},ve),{zIndex:Be}),maxCount:me?R:void 0,tagRender:me?j:void 0,dropdownRender:be,onDropdownVisibleChange:ye})))},nx=e.forwardRef(tx),rx=hv(nx,"dropdownAlign");nx.SECRET_COMBOBOX_MODE_DO_NOT_USE=ex,nx.Option=Rb,nx.OptGroup=jb,nx._InternalPanelDoNotUseOrYouWillBeFired=rx;const ox=nx,ix=["xxl","xl","lg","md","sm","xs"],ax=()=>{const[,e]=Dc(),t=(e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}))((e=>{const t=e,n=[].concat(ix).reverse();return n.forEach(((e,r)=>{const o=e.toUpperCase(),i=`screen${o}Min`,a=`screen${o}`;if(!(t[i]<=t[a]))throw new Error(`${i}<=${a} fails : !(${t[i]}<=${t[a]})`);if(r<n.length-1){const e=`screen${o}Max`;if(!(t[a]<=t[e]))throw new Error(`${a}<=${e} fails : !(${t[a]}<=${t[e]})`);const i=`screen${n[r+1].toUpperCase()}Min`;if(!(t[e]<=t[i]))throw new Error(`${e}<=${i} fails : !(${t[e]}<=${t[i]})`)}})),e})(e));return n.useMemo((()=>{const e=new Map;let n=-1,r={};return{responsiveMap:t,matchHandlers:{},dispatch:t=>(r=t,e.forEach((e=>e(r))),e.size>=1),subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},register(){Object.entries(t).forEach((([e,t])=>{const n=({matches:t})=>{this.dispatch(Object.assign(Object.assign({},r),{[e]:t}))},o=window.matchMedia(t);((e,t)=>{void 0!==(null==e?void 0:e.addEventListener)?e.addEventListener("change",t):void 0!==(null==e?void 0:e.addListener)&&e.addListener(t)})(o,n),this.matchHandlers[t]={mql:o,listener:n},n(o)}))},unregister(){Object.values(t).forEach((e=>{const t=this.matchHandlers[e];((e,t)=>{void 0!==(null==e?void 0:e.removeEventListener)?e.removeEventListener("change",t):void 0!==(null==e?void 0:e.removeListener)&&e.removeListener(t)})(null==t?void 0:t.mql,null==t?void 0:t.listener)})),e.clear()}}}),[e])};function lx(){const[,t]=e.useReducer((e=>e+1),0);return t}function cx(t=!0,n={}){const r=e.useRef(n),o=lx(),i=ax();return Zi((()=>{const e=i.subscribe((e=>{r.current=e,t&&o()}));return()=>i.unsubscribe(e)}),[]),r.current}const sx=e=>e?"function"==typeof e?e():e:null;function ux(t){var n=t.children,r=t.prefixCls,o=t.id,i=t.overlayInnerStyle,a=t.bodyClassName,l=t.className,c=t.style;return e.createElement("div",{className:w("".concat(r,"-content"),l),style:c},e.createElement("div",{className:w("".concat(r,"-inner"),a),id:o,role:"tooltip",style:i},"function"==typeof n?n():n))}var dx={shiftX:64,adjustY:1},fx={adjustX:1,shiftY:!0},px=[0,0],mx={left:{points:["cr","cl"],overflow:fx,offset:[-4,0],targetOffset:px},right:{points:["cl","cr"],overflow:fx,offset:[4,0],targetOffset:px},top:{points:["bc","tc"],overflow:dx,offset:[0,-4],targetOffset:px},bottom:{points:["tc","bc"],overflow:dx,offset:[0,4],targetOffset:px},topLeft:{points:["bl","tl"],overflow:dx,offset:[0,-4],targetOffset:px},leftTop:{points:["tr","tl"],overflow:fx,offset:[-4,0],targetOffset:px},topRight:{points:["br","tr"],overflow:dx,offset:[0,-4],targetOffset:px},rightTop:{points:["tl","tr"],overflow:fx,offset:[4,0],targetOffset:px},bottomRight:{points:["tr","br"],overflow:dx,offset:[0,4],targetOffset:px},rightBottom:{points:["bl","br"],overflow:fx,offset:[4,0],targetOffset:px},bottomLeft:{points:["tl","bl"],overflow:dx,offset:[0,4],targetOffset:px},leftBottom:{points:["br","bl"],overflow:fx,offset:[-4,0],targetOffset:px}},gx=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],hx=function(t,n){var r=t.overlayClassName,o=t.trigger,i=void 0===o?["hover"]:o,a=t.mouseEnterDelay,l=void 0===a?0:a,c=t.mouseLeaveDelay,u=void 0===c?.1:c,d=t.overlayStyle,f=t.prefixCls,p=void 0===f?"rc-tooltip":f,m=t.children,g=t.onVisibleChange,h=t.afterVisibleChange,v=t.transitionName,y=t.animation,x=t.motion,C=t.placement,$=void 0===C?"right":C,S=t.align,k=void 0===S?{}:S,E=t.destroyTooltipOnHide,O=void 0!==E&&E,I=t.defaultVisible,N=t.getTooltipContainer,M=t.overlayInnerStyle;t.arrowContent;var P=t.overlay,j=t.id,R=t.showArrow,T=void 0===R||R,z=t.classNames,H=t.styles,D=b(t,gx),B=vm(j),A=e.useRef(null);e.useImperativeHandle(n,(function(){return A.current}));var L=Y({},D);"visible"in t&&(L.popupVisible=t.visible);var F,_;return e.createElement(bb,s({popupClassName:w(r,null==z?void 0:z.root),prefixCls:p,popup:function(){return e.createElement(ux,{key:"content",prefixCls:p,id:B,bodyClassName:null==z?void 0:z.body,overlayInnerStyle:Y(Y({},M),null==H?void 0:H.body)},P)},action:i,builtinPlacements:mx,popupPlacement:$,ref:A,popupAlign:k,getPopupContainer:N,onPopupVisibleChange:g,afterPopupVisibleChange:h,popupTransitionName:v,popupAnimation:y,popupMotion:x,defaultPopupVisible:I,autoDestroy:O,mouseLeaveDelay:u,popupStyle:Y(Y({},d),null==H?void 0:H.root),mouseEnterDelay:l,arrow:T},L),(F=e.Children.only(m),_=Y(Y({},(null==F?void 0:F.props)||{}),{},{"aria-describedby":P?B:null}),e.cloneElement(m,_)))};const vx=e.forwardRef(hx);function bx(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,o=t/2,i=o,a=1*r/Math.sqrt(2),l=o-r*(1-1/Math.sqrt(2)),c=o-n*(1/Math.sqrt(2)),s=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),u=2*o-c,d=s,f=2*o-a,p=l,m=2*o-0,g=i,h=o*Math.sqrt(2)+r*(Math.sqrt(2)-2),v=r*(Math.sqrt(2)-1);return{arrowShadowWidth:h,arrowPath:`path('M 0 ${i} A ${r} ${r} 0 0 0 ${a} ${l} L ${c} ${s} A ${n} ${n} 0 0 1 ${u} ${d} L ${f} ${p} A ${r} ${r} 0 0 0 ${m} ${g} Z')`,arrowPolygon:`polygon(${v}px 100%, 50% ${v}px, ${2*o-v}px 100%, ${v}px 100%)`}}const yx=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:o,arrowPath:i,arrowShadowWidth:a,borderRadiusXS:l,calc:c}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:c(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[o,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:a,height:a,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${qi(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}};function xx(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?8:r}}function Cx(e,t){return e?t:{}}function wx(e,t,n){const{componentCls:r,boxShadowPopoverArrow:o,arrowOffsetVertical:i,arrowOffsetHorizontal:a}=e,{arrowDistance:l=0,arrowPlacement:c={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},yx(e,t,o)),{"&:before":{background:t}})]},Cx(!!c.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:l,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":a,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:a}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${qi(a)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:a}}}})),Cx(!!c.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:l,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":a,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:a}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${qi(a)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:a}}}})),Cx(!!c.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:l},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:i},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:i}})),Cx(!!c.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:l},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:i},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:i}}))}}const $x={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Sx={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},kx=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function Ex(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:o,borderRadius:i,visibleFirst:a}=e,l=t/2,c={};return Object.keys($x).forEach((e=>{const s=r&&Sx[e]||$x[e],u=Object.assign(Object.assign({},s),{offset:[0,0],dynamicInset:!0});switch(c[e]=u,kx.has(e)&&(u.autoArrow=!1),e){case"top":case"topLeft":case"topRight":u.offset[1]=-l-o;break;case"bottom":case"bottomLeft":case"bottomRight":u.offset[1]=l+o;break;case"left":case"leftTop":case"leftBottom":u.offset[0]=-l-o;break;case"right":case"rightTop":case"rightBottom":u.offset[0]=l+o}const d=xx({contentRadius:i,limitVerticalRadius:!0});if(r)switch(e){case"topLeft":case"bottomLeft":u.offset[0]=-d.arrowOffsetHorizontal-l;break;case"topRight":case"bottomRight":u.offset[0]=d.arrowOffsetHorizontal+l;break;case"leftTop":case"rightTop":u.offset[1]=2*-d.arrowOffsetHorizontal+l;break;case"leftBottom":case"rightBottom":u.offset[1]=2*d.arrowOffsetHorizontal-l}u.overflow=function(e,t,n,r){if(!1===r)return{adjustX:!1,adjustY:!1};const o=r&&"object"==typeof r?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.arrowOffsetHorizontal+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=2*t.arrowOffsetVertical+n,i.shiftX=!0,i.adjustX=!0}const a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(e,d,t,n),a&&(u.htmlRegion="visibleFirst")})),c}const Ox=e=>{const{calc:t,componentCls:n,tooltipMaxWidth:r,tooltipColor:o,tooltipBg:i,tooltipBorderRadius:a,zIndexPopup:l,controlHeight:c,boxShadowSecondary:s,paddingSM:u,paddingXS:d,arrowOffsetHorizontal:f,sizePopupArrow:p}=e,m=t(a).add(p).add(f).equal(),g=t(a).mul(2).add(p).equal();return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},Ac(e)),{position:"absolute",zIndex:l,display:"block",width:"max-content",maxWidth:r,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":i,[`${n}-inner`]:{minWidth:g,minHeight:c,padding:`${qi(e.calc(u).div(2).equal())} ${qi(d)}`,color:o,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:a,boxShadow:s,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:m},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${n}-inner`]:{borderRadius:e.min(a,8)}},[`${n}-content`]:{position:"relative"}}),Xc(e,((e,{darkColor:t})=>({[`&${n}-${e}`]:{[`${n}-inner`]:{backgroundColor:t},[`${n}-arrow`]:{"--antd-arrow-background-color":t}}})))),{"&-rtl":{direction:"rtl"}})},wx(e,"var(--antd-arrow-background-color)"),{[`${n}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Ix=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},xx({contentRadius:e.borderRadius,limitVerticalRadius:!0})),bx(Cc(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),Nx=(e,t=!0)=>Kc("Tooltip",(e=>{const{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:r}=e,o=Cc(e,{tooltipMaxWidth:250,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:r});return[Ox(o),np(e,"zoom-big-fast")]}),Ix,{resetStyle:!1,injectStyle:t})(e),Mx=Oc.map((e=>`${e}-inverse`));function Px(e,t){const n=function(e,t=!0){return t?[].concat(xi(Mx),xi(Oc)).includes(e):Oc.includes(e)}(t),r=w({[`${e}-${t}`]:t&&n}),o={},i={};return t&&!n&&(o.background=t,i["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:i}}const jx=t=>{const{prefixCls:n,className:r,placement:o="top",title:i,color:a,overlayInnerStyle:l}=t,{getPrefixCls:c}=e.useContext(Ul),s=c("tooltip",n),[u,d,f]=Nx(s),p=Px(s,a),m=p.arrowStyle,g=Object.assign(Object.assign({},l),p.overlayStyle),h=w(d,f,s,`${s}-pure`,`${s}-placement-${o}`,r,p.className);return u(e.createElement("div",{className:h,style:m},e.createElement("div",{className:`${s}-arrow`}),e.createElement(ux,Object.assign({},t,{className:d,prefixCls:s,overlayInnerStyle:g}),i)))};var Rx=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Tx=e.forwardRef(((t,n)=>{var r,o;const{prefixCls:i,openClassName:a,getTooltipContainer:l,color:c,overlayInnerStyle:s,children:u,afterOpenChange:d,afterVisibleChange:f,destroyTooltipOnHide:p,destroyOnHidden:m,arrow:g=!0,title:h,overlay:v,builtinPlacements:b,arrowPointAtCenter:y=!1,autoAdjustOverflow:x=!0,motion:C,getPopupContainer:$,placement:S="top",mouseEnterDelay:k=.1,mouseLeaveDelay:E=.1,overlayStyle:O,rootClassName:I,overlayClassName:N,styles:M,classNames:P}=t,j=Rx(t,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","destroyOnHidden","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),R=!!g,[,T]=Dc(),{getPopupContainer:z,getPrefixCls:H,direction:D,className:B,style:A,classNames:L,styles:F}=Zl("tooltip"),_=yl(),W=e.useRef(null),K=()=>{var e;null===(e=W.current)||void 0===e||e.forceAlign()};e.useImperativeHandle(n,(()=>{var e,t;return{forceAlign:K,forcePopupAlign:()=>{_.deprecated(!1,"forcePopupAlign","forceAlign"),K()},nativeElement:null===(e=W.current)||void 0===e?void 0:e.nativeElement,popupElement:null===(t=W.current)||void 0===t?void 0:t.popupElement}}));const[V,q]=vc(!1,{value:null!==(r=t.open)&&void 0!==r?r:t.visible,defaultValue:null!==(o=t.defaultOpen)&&void 0!==o?o:t.defaultVisible}),X=!h&&!v&&0!==h,G=e.useMemo((()=>{var e,t;let n=y;return"object"==typeof g&&(n=null!==(t=null!==(e=g.pointAtCenter)&&void 0!==e?e:g.arrowPointAtCenter)&&void 0!==t?t:y),b||Ex({arrowPointAtCenter:n,autoAdjustOverflow:x,arrowWidth:R?T.sizePopupArrow:0,borderRadius:T.borderRadius,offset:T.marginXXS,visibleFirst:!0})}),[y,g,b,T]),Y=e.useMemo((()=>0===h?h:v||h||""),[v,h]),U=e.createElement(Kg,{space:!0},"function"==typeof Y?Y():Y),Q=H("tooltip",i),Z=H(),J=t["data-popover-inject"];let ee=V;"open"in t||"visible"in t||!X||(ee=!1);const te=e.isValidElement(u)&&!lu(u)?u:e.createElement("span",null,u),ne=te.props,re=ne.className&&"string"!=typeof ne.className?ne.className:w(ne.className,a||`${Q}-open`),[oe,ie,ae]=Nx(Q,!J),le=Px(Q,c),ce=le.arrowStyle,se=w(N,{[`${Q}-rtl`]:"rtl"===D},le.className,I,ie,ae,B,L.root,null==P?void 0:P.root),ue=w(L.body,null==P?void 0:P.body),[de,fe]=Tu("Tooltip",j.zIndex),pe=e.createElement(vx,Object.assign({},j,{zIndex:de,showArrow:R,placement:S,mouseEnterDelay:k,mouseLeaveDelay:E,prefixCls:Q,classNames:{root:se,body:ue},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ce),F.root),A),O),null==M?void 0:M.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},F.body),s),null==M?void 0:M.body),le.overlayStyle)},getTooltipContainer:$||l||z,ref:W,builtinPlacements:G,overlay:U,visible:ee,onVisibleChange:e=>{var n,r;q(!X&&e),X||(null===(n=t.onOpenChange)||void 0===n||n.call(t,e),null===(r=t.onVisibleChange)||void 0===r||r.call(t,e))},afterVisibleChange:null!=d?d:f,arrowContent:e.createElement("span",{className:`${Q}-arrow-content`}),motion:{motionName:hd(Z,"zoom-big-fast",t.transitionName),motionDeadline:1e3},destroyTooltipOnHide:null!=m?m:!!p}),ee?cu(te,{className:re}):te);return oe(e.createElement(Mu.Provider,{value:fe},pe))})),zx=Tx;zx._InternalPanelDoNotUseOrYouWillBeFired=jx;const Hx=zx,Dx=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:o,innerPadding:i,boxShadowSecondary:a,colorTextHeading:l,borderRadiusLG:c,zIndexPopup:s,titleMarginBottom:u,colorBgElevated:d,popoverBg:f,titleBorderBottom:p,innerContentPadding:m,titlePadding:g}=e;return[{[t]:Object.assign(Object.assign({},Ac(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:s,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":d,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:c,boxShadow:a,padding:i},[`${t}-title`]:{minWidth:r,marginBottom:u,color:l,fontWeight:o,borderBottom:p,padding:g},[`${t}-inner-content`]:{color:n,padding:m}})},wx(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},Bx=e=>{const{componentCls:t}=e;return{[t]:Oc.map((n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}}))}},Ax=Kc("Popover",(e=>{const{colorBgElevated:t,colorText:n}=e,r=Cc(e,{popoverBg:t,popoverColor:n});return[Dx(r),Bx(r),np(r,"zoom-big")]}),(e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:o,wireframe:i,zIndexPopupBase:a,borderRadiusLG:l,marginXS:c,lineType:s,colorSplit:u,paddingSM:d}=e,f=n-r,p=f/2,m=f/2-t,g=o;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:a+30},bx(e)),xx({contentRadius:l,limitVerticalRadius:!0})),{innerPadding:i?0:12,titleMarginBottom:i?0:c,titlePadding:i?`${p}px ${g}px ${m}px`:0,titleBorderBottom:i?`${t}px ${s} ${u}`:"none",innerContentPadding:i?`${d}px ${g}px`:0})}),{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var Lx=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Fx=({title:t,content:n,prefixCls:r})=>t||n?e.createElement(e.Fragment,null,t&&e.createElement("div",{className:`${r}-title`},t),n&&e.createElement("div",{className:`${r}-inner-content`},n)):null,_x=t=>{const{hashId:n,prefixCls:r,className:o,style:i,placement:a="top",title:l,content:c,children:s}=t,u=sx(l),d=sx(c),f=w(n,r,`${r}-pure`,`${r}-placement-${a}`,o);return e.createElement("div",{className:f,style:i},e.createElement("div",{className:`${r}-arrow`}),e.createElement(ux,Object.assign({},t,{className:n,prefixCls:r}),s||e.createElement(Fx,{prefixCls:r,title:u,content:d})))},Wx=t=>{const{prefixCls:n,className:r}=t,o=Lx(t,["prefixCls","className"]),{getPrefixCls:i}=e.useContext(Ul),a=i("popover",n),[l,c,s]=Ax(a);return l(e.createElement(_x,Object.assign({},o,{prefixCls:a,hashId:c,className:w(r,s)})))};var Kx=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Vx=e.forwardRef(((t,n)=>{var r,o;const{prefixCls:i,title:a,content:l,overlayClassName:c,placement:s="top",trigger:u="hover",children:d,mouseEnterDelay:f=.1,mouseLeaveDelay:p=.1,onOpenChange:m,overlayStyle:g={},styles:h,classNames:v}=t,b=Kx(t,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:y,className:x,style:C,classNames:$,styles:S}=Zl("popover"),k=y("popover",i),[E,O,I]=Ax(k),N=y(),M=w(c,O,I,x,$.root,null==v?void 0:v.root),P=w($.body,null==v?void 0:v.body),[j,R]=vc(!1,{value:null!==(r=t.open)&&void 0!==r?r:t.visible,defaultValue:null!==(o=t.defaultOpen)&&void 0!==o?o:t.defaultVisible}),T=(e,t)=>{R(e,!0),null==m||m(e,t)},z=sx(a),H=sx(l);return E(e.createElement(Hx,Object.assign({placement:s,trigger:u,mouseEnterDelay:f,mouseLeaveDelay:p},b,{prefixCls:k,classNames:{root:M,body:P},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},S.root),C),g),null==h?void 0:h.root),body:Object.assign(Object.assign({},S.body),null==h?void 0:h.body)},ref:n,open:j,onOpenChange:e=>{T(e)},overlay:z||H?e.createElement(Fx,{prefixCls:k,title:z,content:H}):null,transitionName:hd(N,"zoom-big",b.transitionName),"data-popover-inject":!0}),cu(d,{onKeyDown:t=>{var n,r;e.isValidElement(d)&&(null===(r=null==d?void 0:(n=d.props).onKeyDown)||void 0===r||r.call(n,t)),(e=>{e.keyCode===yu.ESC&&T(!1,e)})(t)}})))})),qx=Vx;qx._InternalPanelDoNotUseOrYouWillBeFired=Wx;const Xx=qx;var Gx=yu.ESC,Yx=yu.TAB;var Ux=e.forwardRef((function(t,r){var o=t.overlay,i=t.arrow,a=t.prefixCls,l=e.useMemo((function(){return"function"==typeof o?o():o}),[o]),c=$o(r,Oo(l));return n.createElement(n.Fragment,null,i&&n.createElement("div",{className:"".concat(a,"-arrow")}),n.cloneElement(l,{ref:ko(l)?c:void 0}))})),Qx={adjustX:1,adjustY:1},Zx=[0,0],Jx={topLeft:{points:["bl","tl"],overflow:Qx,offset:[0,-4],targetOffset:Zx},top:{points:["bc","tc"],overflow:Qx,offset:[0,-4],targetOffset:Zx},topRight:{points:["br","tr"],overflow:Qx,offset:[0,-4],targetOffset:Zx},bottomLeft:{points:["tl","bl"],overflow:Qx,offset:[0,4],targetOffset:Zx},bottom:{points:["tc","bc"],overflow:Qx,offset:[0,4],targetOffset:Zx},bottomRight:{points:["tr","br"],overflow:Qx,offset:[0,4],targetOffset:Zx}},eC=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function tC(t,r){var o,i=t.arrow,a=void 0!==i&&i,l=t.prefixCls,c=void 0===l?"rc-dropdown":l,u=t.transitionName,d=t.animation,f=t.align,p=t.placement,g=void 0===p?"bottomLeft":p,h=t.placements,y=void 0===h?Jx:h,x=t.getPopupContainer,C=t.showAction,$=t.hideAction,S=t.overlayClassName,k=t.overlayStyle,E=t.visible,O=t.trigger,I=void 0===O?["hover"]:O,N=t.autoFocus,M=t.overlay,P=t.children,j=t.onVisibleChange,R=b(t,eC),T=m(n.useState(),2),z=T[0],H=T[1],D="visible"in t?E:z,B=n.useRef(null),A=n.useRef(null),L=n.useRef(null);n.useImperativeHandle(r,(function(){return B.current}));var F=function(e){H(e),null==j||j(e)};!function(t){var n=t.visible,r=t.triggerRef,o=t.onVisibleChange,i=t.autoFocus,a=t.overlayRef,l=e.useRef(!1),c=function(){var e,t;n&&(null===(e=r.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e),null==o||o(!1))},s=function(){var e;return!(null===(e=a.current)||void 0===e||!e.focus||(a.current.focus(),l.current=!0,0))},u=function(e){switch(e.keyCode){case Gx:c();break;case Yx:var t=!1;l.current||(t=s()),t?e.preventDefault():c()}};e.useEffect((function(){return n?(window.addEventListener("keydown",u),i&&Ei(s,3),function(){window.removeEventListener("keydown",u),l.current=!1}):function(){l.current=!1}}),[n])}({visible:D,triggerRef:L,onVisibleChange:F,autoFocus:N,overlayRef:A});var _,W,K,V=function(){return n.createElement(Ux,{ref:A,overlay:M,prefixCls:c,arrow:a})},q=n.cloneElement(P,{className:w(null===(o=P.props)||void 0===o?void 0:o.className,D&&(_=t.openClassName,void 0!==_?_:"".concat(c,"-open"))),ref:ko(P)?$o(L,Oo(P)):void 0}),X=$;return X||-1===I.indexOf("contextMenu")||(X=["click"]),n.createElement(bb,s({builtinPlacements:y},R,{prefixCls:c,ref:B,popupClassName:w(S,v({},"".concat(c,"-show-arrow"),a)),popupStyle:k,action:I,showAction:C,hideAction:X,popupPlacement:g,popupAlign:f,popupTransitionName:u,popupAnimation:d,popupVisible:D,stretch:(W=t.minOverlayWidthMatchTrigger,K=t.alignPoint,("minOverlayWidthMatchTrigger"in t?W:!K)?"minWidth":""),popup:"function"==typeof M?V:V(),onPopupVisibleChange:F,onPopupClick:function(e){var n=t.onOverlayClick;H(!1),n&&n(e)},getPopupContainer:x}),q)}const nC=n.forwardRef(tC),rC=e=>"object"!=typeof e&&"function"!=typeof e||null===e;var oC=e.createContext(null);function iC(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function aC(t){return iC(e.useContext(oC),t)}var lC=["children","locked"],cC=e.createContext(null);function sC(t){var n=t.children,r=t.locked,o=b(t,lC),i=e.useContext(cC),a=ho((function(){return e=o,t=Y({},i),Object.keys(e).forEach((function(n){var r=e[n];void 0!==r&&(t[n]=r)})),t;var e,t}),[i,o],(function(e,t){return!(r||e[0]===t[0]&&Ii(e[1],t[1],!0))}));return e.createElement(cC.Provider,{value:a},n)}var uC=[],dC=e.createContext(null);function fC(){return e.useContext(dC)}var pC=e.createContext(uC);function mC(t){var n=e.useContext(pC);return e.useMemo((function(){return void 0!==t?[].concat(xi(n),[t]):n}),[n,t])}var gC=e.createContext(null),hC=e.createContext({});function vC(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(yd(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),a=null;return o&&!Number.isNaN(i)?a=i:r&&null===a&&(a=0),r&&e.disabled&&(a=null),null!==a&&(a>=0||t&&a<0)}return!1}var bC=yu.LEFT,yC=yu.RIGHT,xC=yu.UP,CC=yu.DOWN,wC=yu.ENTER,$C=yu.ESC,SC=yu.HOME,kC=yu.END,EC=[xC,CC,bC,yC];function OC(e,t){var n=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=xi(e.querySelectorAll("*")).filter((function(e){return vC(e,t)}));return vC(e,t)&&n.unshift(e),n}(e,!0);return n.filter((function(e){return t.has(e)}))}function IC(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=OC(e,t),i=o.length,a=o.findIndex((function(e){return n===e}));return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}var NC=function(e,t){var n=new Set,r=new Map,o=new Map;return e.forEach((function(e){var i=document.querySelector("[data-menu-id='".concat(iC(t,e),"']"));i&&(n.add(i),o.set(i,e),r.set(e,i))})),{elements:n,key2element:r,element2key:o}};function MC(t,n,r,o,i,a,l,c,s,u){var d=e.useRef(),f=e.useRef();f.current=n;var p=function(){Ei.cancel(d.current)};return e.useEffect((function(){return function(){p()}}),[]),function(e){var m=e.which;if([].concat(EC,[wC,$C,SC,kC]).includes(m)){var g=a(),h=NC(g,o),b=h,y=b.elements,x=b.key2element,C=b.element2key,w=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(x.get(n),y),$=C.get(w),S=function(e,t,n,r){var o,i="prev",a="next",l="children",c="parent";if("inline"===e&&r===wC)return{inlineTrigger:!0};var s=v(v({},xC,i),CC,a),u=v(v(v(v({},bC,n?a:i),yC,n?i:a),CC,l),wC,l),d=v(v(v(v(v(v({},xC,i),CC,a),wC,l),$C,c),bC,n?l:c),yC,n?c:l);switch(null===(o={inline:s,horizontal:u,vertical:d,inlineSub:s,horizontalSub:d,verticalSub:d}["".concat(e).concat(t?"":"Sub")])||void 0===o?void 0:o[r]){case i:return{offset:-1,sibling:!0};case a:return{offset:1,sibling:!0};case c:return{offset:-1,sibling:!1};case l:return{offset:1,sibling:!1};default:return null}}(t,1===l($,!0).length,r,m);if(!S&&m!==SC&&m!==kC)return;(EC.includes(m)||[SC,kC].includes(m))&&e.preventDefault();var k=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=C.get(e);c(r),p(),d.current=Ei((function(){f.current===r&&t.focus()}))}};if([SC,kC].includes(m)||S.sibling||!w){var E,O,I=OC(E=w&&"inline"!==t?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(w):i.current,y);O=m===SC?I[0]:m===kC?I[I.length-1]:IC(E,y,w,S.offset),k(O)}else if(S.inlineTrigger)s($);else if(S.offset>0)s($,!0),p(),d.current=Ei((function(){h=NC(g,o);var e=w.getAttribute("aria-controls"),t=IC(document.getElementById(e),h.elements);k(t)}),5);else if(S.offset<0){var N=l($,!0),M=N[N.length-2],P=x.get(M);s(M,!1),k(P)}}null==u||u(e)}}var PC="__RC_UTIL_PATH_SPLIT__",jC=function(e){return e.join(PC)},RC="rc-menu-more";function TC(){var t=m(e.useState({}),2)[1],n=e.useRef(new Map),r=e.useRef(new Map),o=m(e.useState([]),2),i=o[0],a=o[1],l=e.useRef(0),c=e.useRef(!1),s=e.useCallback((function(e,o){var i=jC(o);r.current.set(i,e),n.current.set(e,i),l.current+=1;var a,s=l.current;a=function(){s===l.current&&(c.current||t({}))},Promise.resolve().then(a)}),[]),u=e.useCallback((function(e,t){var o=jC(t);r.current.delete(o),n.current.delete(e)}),[]),d=e.useCallback((function(e){a(e)}),[]),f=e.useCallback((function(e,t){var r=n.current.get(e)||"",o=r.split(PC);return t&&i.includes(o[0])&&o.unshift(RC),o}),[i]),p=e.useCallback((function(e,t){return e.filter((function(e){return void 0!==e})).some((function(e){return f(e,!0).includes(t)}))}),[f]),g=e.useCallback((function(e){var t="".concat(n.current.get(e)).concat(PC),o=new Set;return xi(r.current.keys()).forEach((function(e){e.startsWith(t)&&o.add(r.current.get(e))})),o}),[]);return e.useEffect((function(){return function(){c.current=!0}}),[]),{registerPath:s,unregisterPath:u,refreshOverflowKeys:d,isSubPathKey:p,getKeyPath:f,getKeys:function(){var e=xi(n.current.keys());return i.length&&e.push(RC),e},getSubPathKeys:g}}function zC(t){var n=e.useRef(t);n.current=t;var r=e.useCallback((function(){for(var e,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return null===(e=n.current)||void 0===e?void 0:e.call.apply(e,[n].concat(r))}),[]);return t?r:void 0}var HC=Math.random().toFixed(5).toString().slice(2),DC=0;function BC(t,n,r,o){var i=e.useContext(cC),a=i.activeKey,l=i.onActive,c=i.onInactive,s={active:a===t};return n||(s.onMouseEnter=function(e){null==r||r({key:t,domEvent:e}),l(t)},s.onMouseLeave=function(e){null==o||o({key:t,domEvent:e}),c(t)}),s}function AC(t){var n=e.useContext(cC),r=n.mode,o=n.rtl,i=n.inlineIndent;if("inline"!==r)return null;return o?{paddingRight:t*i}:{paddingLeft:t*i}}function LC(t){var n,r=t.icon,o=t.props,i=t.children;return null===r||!1===r?null:("function"==typeof r?n=e.createElement(r,Y({},o)):"boolean"!=typeof r&&(n=r),n||i||null)}var FC=["item"];function _C(e){var t=e.item,n=b(e,FC);return Object.defineProperty(n,"item",{get:function(){return me(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}var WC=["title","attribute","elementRef"],KC=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],VC=["active"],qC=function(){ci(n,e.Component);var t=pi(n);function n(){return oi(this,n),t.apply(this,arguments)}return ai(n,[{key:"render",value:function(){var t=this.props,n=t.title,r=t.attribute,o=t.elementRef,i=bd(b(t,WC),["eventKey","popupClassName","popupOffset","onTitleClick"]);return me(!r,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),e.createElement(Bv.Item,s({},r,{title:"string"==typeof n?n:void 0},i,{ref:o}))}}]),n}(),XC=e.forwardRef((function(t,n){var r=t.style,o=t.className,i=t.eventKey;t.warnKey;var a=t.disabled,l=t.itemIcon,c=t.children,u=t.role,d=t.onMouseEnter,f=t.onMouseLeave,p=t.onClick,m=t.onKeyDown,g=t.onFocus,h=b(t,KC),y=aC(i),x=e.useContext(cC),C=x.prefixCls,$=x.onItemClick,S=x.disabled,k=x.overflowDisabled,E=x.itemIcon,O=x.selectedKeys,I=x.onActive,N=e.useContext(hC)._internalRenderMenuItem,M="".concat(C,"-item"),P=e.useRef(),j=e.useRef(),R=S||a,T=So(n,j),z=mC(i),H=function(e){return{key:i,keyPath:xi(z).reverse(),item:P.current,domEvent:e}},D=l||E,B=BC(i,R,d,f),A=B.active,L=b(B,VC),F=O.includes(i),_=AC(z.length),W={};"option"===t.role&&(W["aria-selected"]=F);var K=e.createElement(qC,s({ref:P,elementRef:T,role:null===u?"none":u||"menuitem",tabIndex:a?null:-1,"data-menu-id":k&&y?null:y},bd(h,["extra"]),L,W,{component:"li","aria-disabled":a,style:Y(Y({},_),r),className:w(M,v(v(v({},"".concat(M,"-active"),A),"".concat(M,"-selected"),F),"".concat(M,"-disabled"),R),o),onClick:function(e){if(!R){var t=H(e);null==p||p(_C(t)),$(t)}},onKeyDown:function(e){if(null==m||m(e),e.which===yu.ENTER){var t=H(e);null==p||p(_C(t)),$(t)}},onFocus:function(e){I(i),null==g||g(e)}}),c,e.createElement(LC,{props:Y(Y({},t),{},{isSelected:F}),icon:D}));return N&&(K=N(K,t,{selected:F})),K}));function GC(t,n){var r=t.eventKey,o=fC(),i=mC(r);return e.useEffect((function(){if(o)return o.registerPath(r,i),function(){o.unregisterPath(r,i)}}),[i]),o?null:e.createElement(XC,s({},t,{ref:n}))}const YC=e.forwardRef(GC);var UC=["className","children"],QC=function(t,n){var r=t.className,o=t.children,i=b(t,UC),a=e.useContext(cC),l=a.prefixCls,c=a.mode,u=a.rtl;return e.createElement("ul",s({className:w(l,u&&"".concat(l,"-rtl"),"".concat(l,"-sub"),"".concat(l,"-").concat("inline"===c?"inline":"vertical"),r),role:"menu"},i,{"data-menu-list":!0,ref:n}),o)},ZC=e.forwardRef(QC);function JC(t,n){return Io(t).map((function(t,r){if(e.isValidElement(t)){var o,i,a=t.key,l=null!==(o=null===(i=t.props)||void 0===i?void 0:i.eventKey)&&void 0!==o?o:a;null==l&&(l="tmp_key-".concat([].concat(xi(n),[r]).join("-")));var c={key:l,eventKey:l};return e.cloneElement(t,c)}return t}))}ZC.displayName="SubMenuList";var ew={adjustX:1,adjustY:1},tw={topLeft:{points:["bl","tl"],overflow:ew},topRight:{points:["br","tr"],overflow:ew},bottomLeft:{points:["tl","bl"],overflow:ew},bottomRight:{points:["tr","br"],overflow:ew},leftTop:{points:["tr","tl"],overflow:ew},leftBottom:{points:["br","bl"],overflow:ew},rightTop:{points:["tl","tr"],overflow:ew},rightBottom:{points:["bl","br"],overflow:ew}},nw={topLeft:{points:["bl","tl"],overflow:ew},topRight:{points:["br","tr"],overflow:ew},bottomLeft:{points:["tl","bl"],overflow:ew},bottomRight:{points:["tr","br"],overflow:ew},rightTop:{points:["tr","tl"],overflow:ew},rightBottom:{points:["br","bl"],overflow:ew},leftTop:{points:["tl","tr"],overflow:ew},leftBottom:{points:["bl","br"],overflow:ew}};function rw(e,t,n){return t||(n?n[e]||n.other:void 0)}var ow={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function iw(t){var n=t.prefixCls,r=t.visible,o=t.children,i=t.popup,a=t.popupStyle,l=t.popupClassName,c=t.popupOffset,s=t.disabled,u=t.mode,d=t.onVisibleChange,f=e.useContext(cC),p=f.getPopupContainer,g=f.rtl,h=f.subMenuOpenDelay,b=f.subMenuCloseDelay,y=f.builtinPlacements,x=f.triggerSubMenuAction,C=f.forceSubMenuRender,$=f.rootClassName,S=f.motion,k=f.defaultMotions,E=m(e.useState(!1),2),O=E[0],I=E[1],N=Y(Y({},g?nw:tw),y),M=ow[u],P=rw(u,S,k),j=e.useRef(P);"inline"!==u&&(j.current=P);var R=Y(Y({},j.current),{},{leavedClassName:"".concat(n,"-hidden"),removeOnLeave:!1,motionAppear:!0}),T=e.useRef();return e.useEffect((function(){return T.current=Ei((function(){I(r)})),function(){Ei.cancel(T.current)}}),[r]),e.createElement(bb,{prefixCls:n,popupClassName:w("".concat(n,"-popup"),v({},"".concat(n,"-rtl"),g),l,$),stretch:"horizontal"===u?"minWidth":null,getPopupContainer:p,builtinPlacements:N,popupPlacement:M,popupVisible:O,popup:i,popupStyle:a,popupAlign:c&&{offset:c},action:s?[]:[x],mouseEnterDelay:h,mouseLeaveDelay:b,onPopupVisibleChange:d,forceRender:C,popupMotion:R,fresh:!0},o)}function aw(t){var n=t.id,r=t.open,o=t.keyPath,i=t.children,a="inline",l=e.useContext(cC),c=l.prefixCls,u=l.forceSubMenuRender,d=l.motion,f=l.defaultMotions,p=l.mode,g=e.useRef(!1);g.current=p===a;var h=m(e.useState(!g.current),2),v=h[0],b=h[1],y=!!g.current&&r;e.useEffect((function(){g.current&&b(!1)}),[p]);var x=Y({},rw(a,d,f));o.length>1&&(x.motionAppear=!1);var C=x.onVisibleChanged;return x.onVisibleChanged=function(e){return g.current||e||b(!0),null==C?void 0:C(e)},v?null:e.createElement(sC,{mode:a,locked:!g.current},e.createElement(Ts,s({visible:y},x,{forceRender:u,removeOnLeave:!1,leavedClassName:"".concat(c,"-hidden")}),(function(t){var r=t.className,o=t.style;return e.createElement(ZC,{id:n,className:r,style:o},i)})))}var lw=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],cw=["active"],sw=e.forwardRef((function(t,n){var r=t.style,o=t.className,i=t.title,a=t.eventKey;t.warnKey;var l=t.disabled,c=t.internalPopupClose,u=t.children,d=t.itemIcon,f=t.expandIcon,p=t.popupClassName,g=t.popupOffset,h=t.popupStyle,y=t.onClick,x=t.onMouseEnter,C=t.onMouseLeave,$=t.onTitleClick,S=t.onTitleMouseEnter,k=t.onTitleMouseLeave,E=b(t,lw),O=aC(a),I=e.useContext(cC),N=I.prefixCls,M=I.mode,P=I.openKeys,j=I.disabled,R=I.overflowDisabled,T=I.activeKey,z=I.selectedKeys,H=I.itemIcon,D=I.expandIcon,B=I.onItemClick,A=I.onOpenChange,L=I.onActive,F=e.useContext(hC)._internalRenderSubMenuItem,_=e.useContext(gC).isSubPathKey,W=mC(),K="".concat(N,"-submenu"),V=j||l,q=e.useRef(),X=e.useRef(),G=null!=d?d:H,U=null!=f?f:D,Q=P.includes(a),Z=!R&&Q,J=_(z,a),ee=BC(a,V,S,k),te=ee.active,ne=b(ee,cw),re=m(e.useState(!1),2),oe=re[0],ie=re[1],ae=function(e){V||ie(e)},le=e.useMemo((function(){return te||"inline"!==M&&(oe||_([T],a))}),[M,te,T,oe,a,_]),ce=AC(W.length),se=zC((function(e){null==y||y(_C(e)),B(e)})),ue=O&&"".concat(O,"-popup"),de=e.useMemo((function(){return e.createElement(LC,{icon:"horizontal"!==M?U:void 0,props:Y(Y({},t),{},{isOpen:Z,isSubMenu:!0})},e.createElement("i",{className:"".concat(K,"-arrow")}))}),[M,U,t,Z,K]),fe=e.createElement("div",s({role:"menuitem",style:ce,className:"".concat(K,"-title"),tabIndex:V?null:-1,ref:q,title:"string"==typeof i?i:null,"data-menu-id":R&&O?null:O,"aria-expanded":Z,"aria-haspopup":!0,"aria-controls":ue,"aria-disabled":V,onClick:function(e){V||(null==$||$({key:a,domEvent:e}),"inline"===M&&A(a,!Q))},onFocus:function(){L(a)}},ne),i,de),pe=e.useRef(M);if("inline"!==M&&W.length>1?pe.current="vertical":pe.current=M,!R){var me=pe.current;fe=e.createElement(iw,{mode:me,prefixCls:K,visible:!c&&Z&&"inline"!==M,popupClassName:p,popupOffset:g,popupStyle:h,popup:e.createElement(sC,{mode:"horizontal"===me?"vertical":me},e.createElement(ZC,{id:ue,ref:X},u)),disabled:V,onVisibleChange:function(e){"inline"!==M&&A(a,e)}},fe)}var ge=e.createElement(Bv.Item,s({ref:n,role:"none"},E,{component:"li",style:r,className:w(K,"".concat(K,"-").concat(M),o,v(v(v(v({},"".concat(K,"-open"),Z),"".concat(K,"-active"),le),"".concat(K,"-selected"),J),"".concat(K,"-disabled"),V)),onMouseEnter:function(e){ae(!0),null==x||x({key:a,domEvent:e})},onMouseLeave:function(e){ae(!1),null==C||C({key:a,domEvent:e})}}),fe,!R&&e.createElement(aw,{id:ue,open:Z,keyPath:W},u));return F&&(ge=F(ge,t,{selected:J,active:le,open:Z,disabled:V})),e.createElement(sC,{onItemClick:se,mode:"horizontal"===M?"vertical":M,itemIcon:G,expandIcon:U},ge)})),uw=e.forwardRef((function(t,n){var r,o=t.eventKey,i=t.children,a=mC(o),l=JC(i,a),c=fC();return e.useEffect((function(){if(c)return c.registerPath(o,a),function(){c.unregisterPath(o,a)}}),[a]),r=c?l:e.createElement(sw,s({ref:n},t),l),e.createElement(pC.Provider,{value:a},r)}));function dw(t){var n=t.className,r=t.style,o=e.useContext(cC).prefixCls;return fC()?null:e.createElement("li",{role:"separator",className:w("".concat(o,"-item-divider"),n),style:r})}var fw=["className","title","eventKey","children"],pw=e.forwardRef((function(t,n){var r=t.className,o=t.title;t.eventKey;var i=t.children,a=b(t,fw),l=e.useContext(cC).prefixCls,c="".concat(l,"-item-group");return e.createElement("li",s({ref:n,role:"presentation"},a,{onClick:function(e){return e.stopPropagation()},className:w(c,r)}),e.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:"string"==typeof o?o:void 0},o),e.createElement("ul",{role:"group",className:"".concat(c,"-list")},i))})),mw=e.forwardRef((function(t,n){var r=t.eventKey,o=JC(t.children,mC(r));return fC()?o:e.createElement(pw,s({ref:n},bd(t,["warnKey"])),o)})),gw=["label","children","key","type","extra"];function hw(t,n,r){var o=n.item,i=n.group,a=n.submenu,l=n.divider;return(t||[]).map((function(t,c){if(t&&"object"===g(t)){var u=t,d=u.label,f=u.children,p=u.key,m=u.type,h=u.extra,v=b(u,gw),y=null!=p?p:"tmp-".concat(c);return f||"group"===m?"group"===m?e.createElement(i,s({key:y},v,{title:d}),hw(f,n,r)):e.createElement(a,s({key:y},v,{title:d}),hw(f,n,r)):"divider"===m?e.createElement(l,s({key:y},v)):e.createElement(o,s({key:y},v,{extra:h}),d,(!!h||0===h)&&e.createElement("span",{className:"".concat(r,"-item-extra")},h))}return null})).filter((function(e){return e}))}function vw(e,t,n,r,o){var i=e,a=Y({divider:dw,item:YC,group:mw,submenu:uw},r);return t&&(i=hw(t,a,o)),JC(i,n)}var bw=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],yw=[],xw=e.forwardRef((function(t,n){var r,o=t,a=o.prefixCls,l=void 0===a?"rc-menu":a,c=o.rootClassName,u=o.style,d=o.className,f=o.tabIndex,p=void 0===f?0:f,g=o.items,h=o.children,y=o.direction,x=o.id,C=o.mode,$=void 0===C?"vertical":C,S=o.inlineCollapsed,k=o.disabled,E=o.disabledOverflow,O=o.subMenuOpenDelay,I=void 0===O?.1:O,N=o.subMenuCloseDelay,M=void 0===N?.1:N,P=o.forceSubMenuRender,j=o.defaultOpenKeys,R=o.openKeys,T=o.activeKey,z=o.defaultActiveFirst,H=o.selectable,D=void 0===H||H,B=o.multiple,A=void 0!==B&&B,L=o.defaultSelectedKeys,F=o.selectedKeys,_=o.onSelect,W=o.onDeselect,K=o.inlineIndent,V=void 0===K?24:K,q=o.motion,X=o.defaultMotions,G=o.triggerSubMenuAction,U=void 0===G?"hover":G,Q=o.builtinPlacements,Z=o.itemIcon,J=o.expandIcon,ee=o.overflowedIndicator,te=void 0===ee?"...":ee,ne=o.overflowedIndicatorPopupClassName,re=o.getPopupContainer,oe=o.onClick,ie=o.onOpenChange,ae=o.onKeyDown;o.openAnimation,o.openTransitionName;var le=o._internalRenderMenuItem,ce=o._internalRenderSubMenuItem,se=o._internalComponents,ue=b(o,bw),de=m(e.useMemo((function(){return[vw(h,g,yw,se,l),vw(h,g,yw,{},l)]}),[h,g,se]),2),fe=de[0],pe=de[1],me=m(e.useState(!1),2),ge=me[0],he=me[1],ve=e.useRef(),be=function(t){var n=m(vc(t,{value:t}),2),r=n[0],o=n[1];return e.useEffect((function(){DC+=1;var e="".concat(HC,"-").concat(DC);o("rc-menu-uuid-".concat(e))}),[]),r}(x),ye="rtl"===y,xe=m(vc(j,{value:R,postState:function(e){return e||yw}}),2),Ce=xe[0],we=xe[1],$e=function(e){function t(){we(e),null==ie||ie(e)}arguments.length>1&&void 0!==arguments[1]&&arguments[1]?i.flushSync(t):t()},Se=m(e.useState(Ce),2),ke=Se[0],Ee=Se[1],Oe=e.useRef(!1),Ie=m(e.useMemo((function(){return"inline"!==$&&"vertical"!==$||!S?[$,!1]:["vertical",S]}),[$,S]),2),Ne=Ie[0],Me=Ie[1],Pe="inline"===Ne,je=m(e.useState(Ne),2),Re=je[0],Te=je[1],ze=m(e.useState(Me),2),He=ze[0],De=ze[1];e.useEffect((function(){Te(Ne),De(Me),Oe.current&&(Pe?we(ke):$e(yw))}),[Ne,Me]);var Be=m(e.useState(0),2),Ae=Be[0],Le=Be[1],Fe=Ae>=fe.length-1||"horizontal"!==Re||E;e.useEffect((function(){Pe&&Ee(Ce)}),[Ce]),e.useEffect((function(){return Oe.current=!0,function(){Oe.current=!1}}),[]);var _e=TC(),We=_e.registerPath,Ke=_e.unregisterPath,Ve=_e.refreshOverflowKeys,qe=_e.isSubPathKey,Xe=_e.getKeyPath,Ge=_e.getKeys,Ye=_e.getSubPathKeys,Ue=e.useMemo((function(){return{registerPath:We,unregisterPath:Ke}}),[We,Ke]),Qe=e.useMemo((function(){return{isSubPathKey:qe}}),[qe]);e.useEffect((function(){Ve(Fe?yw:fe.slice(Ae+1).map((function(e){return e.key})))}),[Ae,Fe]);var Ze=m(vc(T||z&&(null===(r=fe[0])||void 0===r?void 0:r.key),{value:T}),2),Je=Ze[0],et=Ze[1],tt=zC((function(e){et(e)})),nt=zC((function(){et(void 0)}));e.useImperativeHandle(n,(function(){return{list:ve.current,focus:function(e){var t,n,r=Ge(),o=NC(r,be),i=o.elements,a=o.key2element,l=o.element2key,c=OC(ve.current,i),s=null!=Je?Je:c[0]?l.get(c[0]):null===(t=fe.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key,u=a.get(s);s&&u&&(null==u||null===(n=u.focus)||void 0===n||n.call(u,e))}}}));var rt=m(vc(L||[],{value:F,postState:function(e){return Array.isArray(e)?e:null==e?yw:[e]}}),2),ot=rt[0],it=rt[1],at=zC((function(e){null==oe||oe(_C(e)),function(e){if(D){var t,n=e.key,r=ot.includes(n);t=A?r?ot.filter((function(e){return e!==n})):[].concat(xi(ot),[n]):[n],it(t);var o=Y(Y({},e),{},{selectedKeys:t});r?null==W||W(o):null==_||_(o)}!A&&Ce.length&&"inline"!==Re&&$e(yw)}(e)})),lt=zC((function(e,t){var n=Ce.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==Re){var r=Ye(e);n=n.filter((function(e){return!r.has(e)}))}Ii(Ce,n,!0)||$e(n,!0)})),ct=MC(Re,Je,ye,be,ve,Ge,Xe,et,(function(e,t){var n=null!=t?t:!Ce.includes(e);lt(e,n)}),ae);e.useEffect((function(){he(!0)}),[]);var st=e.useMemo((function(){return{_internalRenderMenuItem:le,_internalRenderSubMenuItem:ce}}),[le,ce]),ut="horizontal"!==Re||E?fe:fe.map((function(t,n){return e.createElement(sC,{key:t.key,overflowDisabled:n>Ae},t)})),dt=e.createElement(Bv,s({id:x,ref:ve,prefixCls:"".concat(l,"-overflow"),component:"ul",itemComponent:YC,className:w(l,"".concat(l,"-root"),"".concat(l,"-").concat(Re),d,v(v({},"".concat(l,"-inline-collapsed"),He),"".concat(l,"-rtl"),ye),c),dir:y,style:u,role:"menu",tabIndex:p,data:ut,renderRawItem:function(e){return e},renderRawRest:function(t){var n=t.length,r=n?fe.slice(-n):null;return e.createElement(uw,{eventKey:RC,title:te,disabled:Fe,internalPopupClose:0===n,popupClassName:ne},r)},maxCount:"horizontal"!==Re||E?Bv.INVALIDATE:Bv.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){Le(e)},onKeyDown:ct},ue));return e.createElement(hC.Provider,{value:st},e.createElement(oC.Provider,{value:be},e.createElement(sC,{prefixCls:l,rootClassName:c,mode:Re,openKeys:Ce,rtl:ye,disabled:k,motion:ge?q:null,defaultMotions:ge?X:null,activeKey:Je,onActive:tt,onInactive:nt,selectedKeys:ot,inlineIndent:V,subMenuOpenDelay:I,subMenuCloseDelay:M,forceSubMenuRender:P,builtinPlacements:Q,triggerSubMenuAction:U,getPopupContainer:re,itemIcon:Z,expandIcon:J,onItemClick:at,onOpenChange:lt},e.createElement(gC.Provider,{value:Qe},dt),e.createElement("div",{style:{display:"none"},"aria-hidden":!0},e.createElement(dC.Provider,{value:Ue},pe)))))}));xw.Item=YC,xw.SubMenu=uw,xw.ItemGroup=mw,xw.Divider=dw,globalThis&&globalThis.__rest;const Cw=e.createContext({}),ww=e.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var $w=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Sw=t=>{const{prefixCls:n,className:r,dashed:o}=t,i=$w(t,["prefixCls","className","dashed"]),{getPrefixCls:a}=e.useContext(Ul),l=a("menu",n),c=w({[`${l}-item-divider-dashed`]:!!o},r);return e.createElement(dw,Object.assign({className:c},i))},kw=t=>{var n;const{className:r,children:o,icon:i,title:a,danger:l,extra:c}=t,{prefixCls:s,firstLevel:u,direction:d,disableMenuItemTitleTooltip:f,inlineCollapsed:p}=e.useContext(ww),{siderCollapsed:m}=e.useContext(Cw);let g=a;void 0===a?g=u?o:"":!1===a&&(g="");const h={title:g};m||p||(h.title=null,h.open=!1);const v=Io(o).length;let b=e.createElement(YC,Object.assign({},bd(t,["title","icon","danger"]),{className:w({[`${s}-item-danger`]:l,[`${s}-item-only-child`]:1===(i?v+1:v)},r),title:"string"==typeof a?a:void 0}),cu(i,{className:w(e.isValidElement(i)?null===(n=i.props)||void 0===n?void 0:n.className:"",`${s}-item-icon`)}),(t=>{const n=null==o?void 0:o[0],r=e.createElement("span",{className:w(`${s}-title-content`,{[`${s}-title-content-with-extra`]:!!c||0===c})},o);return(!i||e.isValidElement(o)&&"span"===o.type)&&o&&t&&u&&"string"==typeof n?e.createElement("div",{className:`${s}-inline-collapsed-noicon`},n.charAt(0)):r})(p));return f||(b=e.createElement(Hx,Object.assign({},h,{placement:"rtl"===d?"left":"right",classNames:{root:`${s}-inline-collapsed-tooltip`}}),b)),b};var Ew=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Ow=e.createContext(null),Iw=e.forwardRef(((t,n)=>{const{children:r}=t,o=Ew(t,["children"]),i=e.useContext(Ow),a=e.useMemo((()=>Object.assign(Object.assign({},i),o)),[i,o.prefixCls,o.mode,o.selectable,o.rootClassName]),l=Eo(c=r)&&ko(c);var c;const s=So(n,l?Oo(r):null);return e.createElement(Ow.Provider,{value:a},e.createElement(Kg,{space:!0},l?e.cloneElement(r,{ref:s}):r))})),Nw=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:o,lineWidth:i,lineType:a,itemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${qi(i)} ${a} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover,\n > ${t}-item-active,\n > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},Mw=({componentCls:e,menuArrowOffset:t,calc:n})=>({[`${e}-rtl`]:{direction:"rtl"},[`${e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${e}-rtl${e}-vertical,\n ${e}-submenu-rtl ${e}-vertical`]:{[`${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${qi(n(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${qi(t)})`}}}}),Pw=e=>Object.assign({},Lc(e)),jw=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:o,subMenuItemSelectedColor:i,groupTitleColor:a,itemBg:l,subMenuItemBg:c,itemSelectedBg:s,activeBarHeight:u,activeBarWidth:d,activeBarBorderWidth:f,motionDurationSlow:p,motionEaseInOut:m,motionEaseOut:g,itemPaddingInline:h,motionDurationMid:v,itemHoverColor:b,lineType:y,colorSplit:x,itemDisabledColor:C,dangerItemColor:w,dangerItemHoverColor:$,dangerItemSelectedColor:S,dangerItemActiveBg:k,dangerItemSelectedBg:E,popupBg:O,itemHoverBg:I,itemActiveBg:N,menuSubMenuBg:M,horizontalItemSelectedColor:P,horizontalItemSelectedBg:j,horizontalItemBorderRadius:R,horizontalItemHoverBg:T}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:l,[`&${n}-root:focus-visible`]:Object.assign({},Pw(e)),[`${n}-item`]:{"&-group-title, &-extra":{color:a}},[`${n}-submenu-selected > ${n}-submenu-title`]:{color:i},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},Pw(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${C} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:b}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:I},"&:active":{backgroundColor:N}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:I},"&:active":{backgroundColor:N}}},[`${n}-item-danger`]:{color:w,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:$}},[`&${n}-item:active`]:{background:k}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:o,[`&${n}-item-danger`]:{color:S},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:s,[`&${n}-item-danger`]:{backgroundColor:E}},[`&${n}-submenu > ${n}`]:{backgroundColor:M},[`&${n}-popup > ${n}`]:{backgroundColor:O},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:O},[`&${n}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:e.calc(f).mul(-1).equal(),marginBottom:0,borderRadius:R,"&::after":{position:"absolute",insetInline:h,bottom:0,borderBottom:`${qi(u)} solid transparent`,transition:`border-color ${p} ${m}`,content:'""'},"&:hover, &-active, &-open":{background:T,"&::after":{borderBottomWidth:u,borderBottomColor:P}},"&-selected":{color:P,backgroundColor:j,"&:hover":{backgroundColor:j},"&::after":{borderBottomWidth:u,borderBottomColor:P}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${qi(f)} ${y} ${x}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:c},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${qi(d)} solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${v} ${g}`,`opacity ${v} ${g}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:S}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${v} ${m}`,`opacity ${v} ${m}`].join(",")}}}}}},Rw=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:o,menuArrowSize:i,marginXS:a,itemMarginBlock:l,itemWidth:c,itemPaddingInline:s}=e,u=e.calc(i).add(o).add(a).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:qi(n),paddingInline:s,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:l,width:c},[`> ${t}-item,\n > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:qi(n)},[`${t}-item-group-list ${t}-submenu-title,\n ${t}-submenu-title`]:{paddingInlineEnd:u}}},Tw=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:o,dropdownWidth:i,controlHeightLG:a,motionEaseOut:l,paddingXL:c,itemMarginInline:s,fontSizeLG:u,motionDurationFast:d,motionDurationSlow:f,paddingXS:p,boxShadowSecondary:m,collapsedWidth:g,collapsedIconSize:h}=e,v={height:r,lineHeight:qi(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},Rw(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},Rw(e)),{boxShadow:m})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${qi(e.calc(a).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${f}`,`background ${f}`,`padding ${d} ${l}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:v,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:v}},{[`${t}-inline-collapsed`]:{width:g,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:u,textAlign:"center"}}},[`> ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,\n > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${qi(e.calc(h).div(2).equal())} - ${qi(s)})`,textOverflow:"clip",[`\n ${t}-submenu-arrow,\n ${t}-submenu-expand-icon\n `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:h,lineHeight:qi(r),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:o}},[`${t}-item-group-title`]:Object.assign(Object.assign({},Bc),{paddingInline:p})}}]},zw=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:o,motionEaseOut:i,iconCls:a,iconSize:l,iconMarginInlineEnd:c}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding calc(${n} + 0.1s) ${o}`].join(","),[`${t}-item-icon, ${a}`]:{minWidth:l,fontSize:l,transition:[`font-size ${r} ${i}`,`margin ${n} ${o}`,`color ${n}`].join(","),"+ span":{marginInlineStart:c,opacity:1,transition:[`opacity ${n} ${o}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),[`&${t}-item-only-child`]:{[`> ${a}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Hw=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:o,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:o,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${qi(e.calc(a).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${qi(a)})`}}}}},Dw=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:o,motionDurationMid:i,motionEaseInOut:a,paddingXS:l,padding:c,colorSplit:s,lineWidth:u,zIndexPopup:d,borderRadiusLG:f,subMenuItemBorderRadius:p,menuArrowSize:m,menuArrowOffset:g,lineType:h,groupTitleLineHeight:v,groupTitleFontSize:b}=e;return[{"":{[n]:Object.assign(Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Ac(e)),{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${qi(l)} ${qi(c)}`,fontSize:b,lineHeight:v,transition:`all ${o}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`,`padding ${i} ${a}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${o} ${a}`,`padding ${o} ${a}`].join(",")},[`${n}-title-content`]:{transition:`color ${o}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${n}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:e.padding}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:s,borderStyle:h,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:"dashed"}}}),zw(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${qi(e.calc(r).mul(2).equal())} ${qi(c)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:d,borderRadius:f,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:f},zw(e)),Hw(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:p},[`${n}-submenu-title::after`]:{transition:`transform ${o} ${a}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),Hw(e)),{[`&-inline-collapsed ${n}-submenu-arrow,\n &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${qi(g)})`},"&::after":{transform:`rotate(45deg) translateX(${qi(e.calc(g).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${qi(e.calc(m).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${qi(e.calc(g).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${qi(g)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},Bw=e=>{var t,n,r;const{colorPrimary:o,colorError:i,colorTextDisabled:a,colorErrorBg:l,colorText:c,colorTextDescription:s,colorBgContainer:u,colorFillAlter:d,colorFillContent:f,lineWidth:p,lineWidthBold:m,controlItemBgActive:g,colorBgTextHover:h,controlHeightLG:v,lineHeight:b,colorBgElevated:y,marginXXS:x,padding:C,fontSize:w,controlHeightSM:$,fontSizeLG:S,colorTextLightSolid:k,colorErrorHover:E}=e,I=null!==(t=e.activeBarWidth)&&void 0!==t?t:0,N=null!==(n=e.activeBarBorderWidth)&&void 0!==n?n:p,M=null!==(r=e.itemMarginInline)&&void 0!==r?r:e.marginXXS,P=new O(k).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:c,itemColor:c,colorItemTextHover:c,itemHoverColor:c,colorItemTextHoverHorizontal:o,horizontalItemHoverColor:o,colorGroupTitle:s,groupTitleColor:s,colorItemTextSelected:o,itemSelectedColor:o,subMenuItemSelectedColor:o,colorItemTextSelectedHorizontal:o,horizontalItemSelectedColor:o,colorItemBg:u,itemBg:u,colorItemBgHover:h,itemHoverBg:h,colorItemBgActive:f,itemActiveBg:g,colorSubItemBg:d,subMenuItemBg:d,colorItemBgSelected:g,itemSelectedBg:g,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:I,colorActiveBarHeight:m,activeBarHeight:m,colorActiveBarBorderSize:p,activeBarBorderWidth:N,colorItemTextDisabled:a,itemDisabledColor:a,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,colorDangerItemBgActive:l,dangerItemActiveBg:l,colorDangerItemBgSelected:l,dangerItemSelectedBg:l,itemMarginInline:M,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:v,groupTitleLineHeight:b,collapsedWidth:2*v,popupBg:y,itemMarginBlock:x,itemPaddingInline:C,horizontalLineHeight:1.15*v+"px",iconSize:w,iconMarginInlineEnd:$-w,collapsedIconSize:S,groupTitleFontSize:w,darkItemDisabledColor:new O(k).setA(.25).toRgbString(),darkItemColor:P,darkDangerItemColor:i,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:k,darkItemSelectedBg:o,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:P,darkItemHoverColor:k,darkDangerItemHoverColor:E,darkDangerItemSelectedColor:k,darkDangerItemActiveBg:i,itemWidth:I?`calc(100% + ${N}px)`:`calc(100% - ${2*M}px)`}},Aw=t=>{var n;const{popupClassName:r,icon:o,title:i,theme:a}=t,l=e.useContext(ww),{prefixCls:c,inlineCollapsed:s,theme:u}=l,d=mC();let f;if(o){const t=e.isValidElement(i)&&"span"===i.type;f=e.createElement(e.Fragment,null,cu(o,{className:w(e.isValidElement(o)?null===(n=o.props)||void 0===n?void 0:n.className:"",`${c}-item-icon`)}),t?i:e.createElement("span",{className:`${c}-title-content`},i))}else f=s&&!d.length&&i&&"string"==typeof i?e.createElement("div",{className:`${c}-inline-collapsed-noicon`},i.charAt(0)):e.createElement("span",{className:`${c}-title-content`},i);const p=e.useMemo((()=>Object.assign(Object.assign({},l),{firstLevel:!1})),[l]),[m]=Tu("Menu");return e.createElement(ww.Provider,{value:p},e.createElement(uw,Object.assign({},bd(t,["icon"]),{title:f,popupClassName:w(c,r,`${c}-${a||u}`),popupStyle:Object.assign({zIndex:m},t.popupStyle)})))};var Lw=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function Fw(e){return null===e||!1===e}const _w={item:kw,submenu:Aw,divider:Sw},Ww=e.forwardRef(((t,n)=>{var r;const o=e.useContext(Ow),i=o||{},{getPrefixCls:a,getPopupContainer:l,direction:c,menu:s}=e.useContext(Ul),u=a(),{prefixCls:d,className:f,style:p,theme:m="light",expandIcon:g,_internalDisableMenuItemTitleTooltip:h,inlineCollapsed:v,siderCollapsed:b,rootClassName:y,mode:x,selectable:C,onClick:$,overflowedIndicatorPopupClassName:S}=t,k=bd(Lw(t,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),["collapsedWidth"]);null===(r=i.validator)||void 0===r||r.call(i,{mode:x});const E=mc(((...e)=>{var t;null==$||$.apply(void 0,e),null===(t=i.onClick)||void 0===t||t.call(i)})),O=i.mode||x,I=null!=C?C:i.selectable,N=null!=v?v:b,M={horizontal:{motionName:`${u}-slide-up`},inline:vd(u),other:{motionName:`${u}-zoom-big`}},P=a("menu",d||i.prefixCls),j=bu(P),[R,T,z]=((e,t=e,n=!0)=>Kc("Menu",(e=>{const{colorBgElevated:t,controlHeightLG:n,fontSize:r,darkItemColor:o,darkDangerItemColor:i,darkItemBg:a,darkSubMenuItemBg:l,darkItemSelectedColor:c,darkItemSelectedBg:s,darkDangerItemSelectedBg:u,darkItemHoverBg:d,darkGroupTitleColor:f,darkItemHoverColor:p,darkItemDisabledColor:m,darkDangerItemHoverColor:g,darkDangerItemSelectedColor:h,darkDangerItemActiveBg:v,popupBg:b,darkPopupBg:y}=e,x=e.calc(r).div(7).mul(5).equal(),C=Cc(e,{menuArrowSize:x,menuHorizontalHeight:e.calc(n).mul(1.15).equal(),menuArrowOffset:e.calc(x).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:b}),w=Cc(C,{itemColor:o,itemHoverColor:p,groupTitleColor:f,itemSelectedColor:c,subMenuItemSelectedColor:c,itemBg:a,popupBg:y,subMenuItemBg:l,itemActiveBg:"transparent",itemSelectedBg:s,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:d,itemDisabledColor:m,dangerItemColor:i,dangerItemHoverColor:g,dangerItemSelectedColor:h,dangerItemActiveBg:v,dangerItemSelectedBg:u,menuSubMenuBg:l,horizontalItemSelectedColor:c,horizontalItemSelectedBg:s});return[Dw(C),Nw(C),Tw(C),jw(C,"light"),jw(w,"dark"),Mw(C),bf(C),_f(C,"slide-up"),_f(C,"slide-down"),np(C,"zoom-big")]}),Bw,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t))(P,j,!o),H=w(`${P}-${m}`,null==s?void 0:s.className,f),D=e.useMemo((()=>{var t,n;if("function"==typeof g||Fw(g))return g||null;if("function"==typeof i.expandIcon||Fw(i.expandIcon))return i.expandIcon||null;if("function"==typeof(null==s?void 0:s.expandIcon)||Fw(null==s?void 0:s.expandIcon))return(null==s?void 0:s.expandIcon)||null;const r=null!==(t=null!=g?g:null==i?void 0:i.expandIcon)&&void 0!==t?t:null==s?void 0:s.expandIcon;return cu(r,{className:w(`${P}-submenu-expand-icon`,e.isValidElement(r)?null===(n=r.props)||void 0===n?void 0:n.className:void 0)})}),[g,null==i?void 0:i.expandIcon,null==s?void 0:s.expandIcon,P]),B=e.useMemo((()=>({prefixCls:P,inlineCollapsed:N||!1,direction:c,firstLevel:!0,theme:m,mode:O,disableMenuItemTitleTooltip:h})),[P,N,c,h,m]);return R(e.createElement(Ow.Provider,{value:null},e.createElement(ww.Provider,{value:B},e.createElement(xw,Object.assign({getPopupContainer:l,overflowedIndicator:e.createElement(_t,null),overflowedIndicatorPopupClassName:w(P,`${P}-${m}`,S),mode:O,selectable:I,onClick:E},k,{inlineCollapsed:N,style:Object.assign(Object.assign({},null==s?void 0:s.style),p),className:H,prefixCls:P,direction:c,defaultMotions:M,expandIcon:D,ref:n,rootClassName:w(y,T,i.rootClassName,z,j),_internalComponents:_w})))))})),Kw=e.forwardRef(((t,n)=>{const r=e.useRef(null),o=e.useContext(Cw);return e.useImperativeHandle(n,(()=>({menu:r.current,focus:e=>{var t;null===(t=r.current)||void 0===t||t.focus(e)}}))),e.createElement(Ww,Object.assign({ref:r},t,o))}));Kw.Item=kw,Kw.SubMenu=Aw,Kw.Divider=Sw,Kw.ItemGroup=mw;const Vw=Kw,qw=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:o}=e,i=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:r,"&:hover":{color:o,backgroundColor:r}}}}}},Xw=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:o,sizePopupArrow:i,antCls:a,iconCls:l,motionDurationMid:c,paddingBlock:s,fontSize:u,dropdownEdgeChildPadding:d,colorTextDisabled:f,fontSizeIcon:p,controlPaddingHorizontal:m,colorBgElevated:g}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(i).div(2).sub(o).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${a}-btn`]:{[`& > ${l}-down, & > ${a}-btn-icon > ${l}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:"relative",[`${a}-btn > ${l}-down`]:{fontSize:p},[`${l}-down::before`]:{transition:`transform ${c}`}},[`${t}-wrap-open`]:{[`${l}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomLeft,\n &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomLeft,\n &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottom,\n &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottom,\n &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomRight,\n &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:Rf},[`&${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topLeft,\n &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topLeft,\n &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-top,\n &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-top,\n &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topRight,\n &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topRight`]:{animationName:zf},[`&${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomLeft,\n &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottom,\n &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Tf},[`&${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topLeft,\n &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-top,\n &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Hf}}},wx(e,g,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},Ac(e)),{[n]:Object.assign(Object.assign({padding:d,listStyleType:"none",backgroundColor:g,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Fc(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${qi(s)} ${qi(m)}`,color:e.colorTextDescription,transition:`all ${c}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:u,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${c}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${n}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:"auto",fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${qi(s)} ${qi(m)}`,color:e.colorText,fontWeight:"normal",fontSize:u,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${c}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Fc(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:f,cursor:"not-allowed","&:hover":{color:f,backgroundColor:g,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${qi(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorIcon,fontSize:p,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${qi(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(m).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:f,backgroundColor:g,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[_f(e,"slide-up"),_f(e,"slide-down"),jf(e,"move-up"),jf(e,"move-down"),np(e,"zoom-big")]]},Gw=Kc("Dropdown",(e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:o}=e,i=Cc(e,{menuCls:`${o}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[Xw(i),qw(i)]}),(e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},xx({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),bx(e))),{resetStyle:!1}),Yw=t=>{var n;const{menu:r,arrow:o,prefixCls:i,children:a,trigger:l,disabled:c,dropdownRender:s,popupRender:u,getPopupContainer:d,overlayClassName:f,rootClassName:p,overlayStyle:m,open:g,onOpenChange:h,visible:v,onVisibleChange:b,mouseEnterDelay:y=.15,mouseLeaveDelay:x=.1,autoAdjustOverflow:C=!0,placement:$="",overlay:S,transitionName:k,destroyOnHidden:E,destroyPopupOnHide:O}=t,{getPopupContainer:I,getPrefixCls:N,direction:M,dropdown:P}=e.useContext(Ul),j=u||s;yl();const R=e.useMemo((()=>{const e=N();return void 0!==k?k:$.includes("top")?`${e}-slide-down`:`${e}-slide-up`}),[N,$,k]),T=e.useMemo((()=>$?$.includes("Center")?$.slice(0,$.indexOf("Center")):$:"rtl"===M?"bottomRight":"bottomLeft"),[$,M]),z=N("dropdown",i),H=bu(z),[D,B,A]=Gw(z,H),[,L]=Dc(),F=e.Children.only(rC(a)?e.createElement("span",null,a):a),_=cu(F,{className:w(`${z}-trigger`,{[`${z}-rtl`]:"rtl"===M},F.props.className),disabled:null!==(n=F.props.disabled)&&void 0!==n?n:c}),W=c?[]:l,K=!!(null==W?void 0:W.includes("contextMenu")),[V,q]=vc(!1,{value:null!=g?g:v}),X=mc((e=>{null==h||h(e,{source:"trigger"}),null==b||b(e),q(e)})),G=w(f,p,B,A,H,null==P?void 0:P.className,{[`${z}-rtl`]:"rtl"===M}),Y=Ex({arrowPointAtCenter:"object"==typeof o&&o.pointAtCenter,autoAdjustOverflow:C,offset:L.marginXXS,arrowWidth:o?L.sizePopupArrow:0,borderRadius:L.borderRadius}),U=e.useCallback((()=>{(null==r?void 0:r.selectable)&&(null==r?void 0:r.multiple)||(null==h||h(!1,{source:"menu"}),q(!1))}),[null==r?void 0:r.selectable,null==r?void 0:r.multiple]),[Q,Z]=Tu("Dropdown",null==m?void 0:m.zIndex);let J=e.createElement(nC,Object.assign({alignPoint:K},bd(t,["rootClassName"]),{mouseEnterDelay:y,mouseLeaveDelay:x,visible:V,builtinPlacements:Y,arrow:!!o,overlayClassName:G,prefixCls:z,getPopupContainer:d||I,transitionName:R,trigger:W,overlay:()=>{let t;return t=(null==r?void 0:r.items)?e.createElement(Vw,Object.assign({},r)):"function"==typeof S?S():S,j&&(t=j(t)),t=e.Children.only("string"==typeof t?e.createElement("span",null,t):t),e.createElement(Iw,{prefixCls:`${z}-menu`,rootClassName:w(A,H),expandIcon:e.createElement("span",{className:`${z}-menu-submenu-arrow`},"rtl"===M?e.createElement(Ln,{className:`${z}-menu-submenu-arrow-icon`}):e.createElement(kr,{className:`${z}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:U,validator:({mode:e})=>{}},t)},placement:T,onVisibleChange:X,overlayStyle:Object.assign(Object.assign(Object.assign({},null==P?void 0:P.style),m),{zIndex:Q}),autoDestroy:null!=E?E:O}),_);return Q&&(J=e.createElement(Mu.Provider,{value:Z},J)),D(J)},Uw=hv(Yw,"align",void 0,"dropdown",(e=>e));Yw._InternalPanelDoNotUseOrYouWillBeFired=t=>e.createElement(Uw,Object.assign({},t),e.createElement("span",null));const Qw=Yw,Zw=({children:t})=>{const{getPrefixCls:n}=e.useContext(Ul),r=n("breadcrumb");return e.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},""===t?t:t||"/")};Zw.__ANT_BREADCRUMB_SEPARATOR=!0;const Jw=Zw;var e$=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function t$(t,n,r,o){if(null==r)return null;const{className:i,onClick:a}=n,l=e$(n,["className","onClick"]),c=Object.assign(Object.assign({},au(l,{data:!0,aria:!0})),{onClick:a});return void 0!==o?e.createElement("a",Object.assign({},c,{className:w(`${t}-link`,i),href:o}),r):e.createElement("span",Object.assign({},c,{className:w(`${t}-link`,i)}),r)}function n$(e,t){return(n,r,o,i,a)=>{if(t)return t(n,r,o,i);const l=function(e,t){if(void 0===e.title||null===e.title)return null;const n=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(new RegExp(`:(${n})`,"g"),((e,n)=>t[n]||e))}(n,r);return t$(e,n,l,a)}}var r$=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const o$=t=>{const{prefixCls:n,separator:r="/",children:o,menu:i,overlay:a,dropdownProps:l,href:c}=t,s=(t=>{if(i||a){const r=Object.assign({},l);if(i){const t=i||{},{items:n}=t,o=r$(t,["items"]);r.menu=Object.assign(Object.assign({},o),{items:null==n?void 0:n.map(((t,n)=>{var{key:r,title:o,label:i,path:a}=t,l=r$(t,["key","title","label","path"]);let s=null!=i?i:o;return a&&(s=e.createElement("a",{href:`${c}${a}`},s)),Object.assign(Object.assign({},l),{key:null!=r?r:n,label:s})}))})}else a&&(r.overlay=a);return e.createElement(Qw,Object.assign({placement:"bottom"},r),e.createElement("span",{className:`${n}-overlay-link`},t,e.createElement(Mt,null)))}return t})(o);return null!=s?e.createElement(e.Fragment,null,e.createElement("li",null,s),r&&e.createElement(Jw,null,r)):null},i$=t=>{const{prefixCls:n,children:r,href:o}=t,i=r$(t,["prefixCls","children","href"]),{getPrefixCls:a}=e.useContext(Ul),l=a("breadcrumb",n);return e.createElement(o$,Object.assign({},i,{prefixCls:l}),t$(l,i,r,o))};i$.__ANT_BREADCRUMB_ITEM=!0;const a$=i$,l$=Kc("Breadcrumb",(e=>(e=>{const{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},Ac(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${qi(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:r(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},Fc(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[`\n > ${n} + span,\n > ${n} + a\n `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${qi(e.paddingXXS)}`,marginInline:r(e.marginXXS).mul(-1).equal(),[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}})(Cc(e,{}))),(e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS})));var c$=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function s$(e){const{breadcrumbName:t,children:n}=e,r=c$(e,["breadcrumbName","children"]),o=Object.assign({title:t},r);return n&&(o.menu={items:n.map((e=>{var{breadcrumbName:t}=e,n=c$(e,["breadcrumbName"]);return Object.assign(Object.assign({},n),{title:t})}))}),o}var u$=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const d$=t=>{const{prefixCls:n,separator:r="/",style:o,className:i,rootClassName:a,routes:l,items:c,children:s,itemRender:u,params:d={}}=t,f=u$(t,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:p,direction:m,breadcrumb:g}=e.useContext(Ul);let h;const v=p("breadcrumb",n),[b,y,x]=l$(v),C=function(t,n){return e.useMemo((()=>t||(n?n.map(s$):null)),[t,n])}(c,l),$=n$(v,u);if(C&&C.length>0){const t=[],n=c||l;h=C.map(((o,i)=>{const{path:a,key:l,type:c,menu:s,overlay:u,onClick:f,className:p,separator:m,dropdownProps:g}=o,h=((e,t)=>{if(void 0===t)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach((t=>{n=n.replace(`:${t}`,e[t])})),n})(d,a);void 0!==h&&t.push(h);const b=null!=l?l:i;if("separator"===c)return e.createElement(Jw,{key:b},m);const y={},x=i===C.length-1;s?y.menu=s:u&&(y.overlay=u);let{href:w}=o;return t.length&&void 0!==h&&(w=`#/${t.join("/")}`),e.createElement(o$,Object.assign({key:b},y,au(o,{data:!0,aria:!0}),{className:p,dropdownProps:g,href:w,separator:x?"":r,onClick:f,prefixCls:v}),$(o,d,n,t,w))}))}else if(s){const e=Io(s).length;h=Io(s).map(((t,n)=>{if(!t)return t;return cu(t,{separator:n===e-1?"":r,key:n})}))}const S=w(v,null==g?void 0:g.className,{[`${v}-rtl`]:"rtl"===m},i,a,y,x),k=Object.assign(Object.assign({},null==g?void 0:g.style),o);return b(e.createElement("nav",Object.assign({className:S,style:k},f),e.createElement("ol",null,h)))};d$.Item=a$,d$.Separator=Jw;const f$=d$;var p$={exports:{}};p$.exports=function(){var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",l="day",c="week",s="month",u="quarter",d="year",f="date",p="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},b={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,s),i=n-o<0,a=t.clone().add(r+(i?-1:1),s);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:s,y:d,w:c,d:l,D:f,h:a,m:i,s:o,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",x={};x[y]=h;var C="$isDayjsObject",w=function(e){return e instanceof E||!(!e||!e[C])},$=function e(t,n,r){var o;if(!t)return y;if("string"==typeof t){var i=t.toLowerCase();x[i]&&(o=i),n&&(x[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var l=t.name;x[l]=t,o=l}return!r&&o&&(y=o),o||!r&&y},S=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new E(n)},k=b;k.l=$,k.i=w,k.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function h(e){this.$L=$(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[C]=!0}var v=h.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(m);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return k},v.isValid=function(){return!(this.$d.toString()===p)},v.isSame=function(e,t){var n=S(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return S(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<S(e)},v.$g=function(e,t,n){return k.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!k.u(t)||t,u=k.p(e),p=function(e,t){var o=k.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(l)},m=function(e,t){return k.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},g=this.$W,h=this.$M,v=this.$D,b="set"+(this.$u?"UTC":"");switch(u){case d:return r?p(1,0):p(31,11);case s:return r?p(1,h):p(0,h+1);case c:var y=this.$locale().weekStart||0,x=(g<y?g+7:g)-y;return p(r?v-x:v+(6-x),h);case l:case f:return m(b+"Hours",0);case a:return m(b+"Minutes",1);case i:return m(b+"Seconds",2);case o:return m(b+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,c=k.p(e),u="set"+(this.$u?"UTC":""),p=(n={},n[l]=u+"Date",n[f]=u+"Date",n[s]=u+"Month",n[d]=u+"FullYear",n[a]=u+"Hours",n[i]=u+"Minutes",n[o]=u+"Seconds",n[r]=u+"Milliseconds",n)[c],m=c===l?this.$D+(t-this.$W):t;if(c===s||c===d){var g=this.clone().set(f,1);g.$d[p](m),g.init(),this.$d=g.set(f,Math.min(this.$D,g.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[k.p(e)]()},v.add=function(r,u){var f,p=this;r=Number(r);var m=k.p(u),g=function(e){var t=S(p);return k.w(t.date(t.date()+Math.round(e*r)),p)};if(m===s)return this.set(s,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===l)return g(1);if(m===c)return g(7);var h=(f={},f[i]=t,f[a]=n,f[o]=e,f)[m]||1,v=this.$d.getTime()+r*h;return k.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=k.z(this),i=this.$H,a=this.$m,l=this.$M,c=n.weekdays,s=n.months,u=n.meridiem,d=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},f=function(e){return k.s(i%12||12,e,"0")},m=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(g,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return k.s(t.$y,4,"0");case"M":return l+1;case"MM":return k.s(l+1,2,"0");case"MMM":return d(n.monthsShort,l,s,3);case"MMMM":return d(s,l);case"D":return t.$D;case"DD":return k.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,c,2);case"ddd":return d(n.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(i);case"HH":return k.s(i,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return m(i,a,!0);case"A":return m(i,a,!1);case"m":return String(a);case"mm":return k.s(a,2,"0");case"s":return String(t.$s);case"ss":return k.s(t.$s,2,"0");case"SSS":return k.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,f,p){var m,g=this,h=k.p(f),v=S(r),b=(v.utcOffset()-this.utcOffset())*t,y=this-v,x=function(){return k.m(g,v)};switch(h){case d:m=x()/12;break;case s:m=x();break;case u:m=x()/3;break;case c:m=(y-b)/6048e5;break;case l:m=(y-b)/864e5;break;case a:m=y/n;break;case i:m=y/t;break;case o:m=y/e;break;default:m=y}return p?m:k.a(m)},v.daysInMonth=function(){return this.endOf(s).$D},v.$locale=function(){return x[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=$(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return k.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},h}(),O=E.prototype;return S.prototype=O,[["$ms",r],["$s",o],["$m",i],["$H",a],["$W",l],["$M",s],["$y",d],["$D",f]].forEach((function(e){O[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,E,S),e.$i=!0),S},S.locale=$,S.isDayjs=w,S.unix=function(e){return S(1e3*e)},S.en=x[y],S.Ls=x,S.p={},S}();const m$=t(p$.exports);var g$={exports:{}};g$.exports=function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n<t?n+7:n)-t;return this.$utils().u(e)?r:this.subtract(r,"day").add(e,"day")}};const h$=t(g$.exports);var v$={exports:{}};v$.exports=function(e,t,n){var r=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,n,r,i){var a=e.name?e:e.$locale(),l=o(a[t]),c=o(a[n]),s=l||c.map((function(e){return e.slice(0,r)}));if(!i)return s;var u=a.weekStart;return s.map((function(e,t){return s[(t+(u||0))%7]}))},a=function(){return n.Ls[n.locale()]},l=function(e,t){return e.formats[t]||e.formats[t.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))},c=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return l(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return c.bind(this)()},n.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return l(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return i(a(),"months")},n.monthsShort=function(){return i(a(),"monthsShort","months",3)},n.weekdays=function(e){return i(a(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}};const b$=t(v$.exports);var y$,x$,C$={exports:{}};const w$=t(C$.exports=(y$="week",x$="year",function(e,t,n){var r=t.prototype;r.week=function(e){if(void 0===e&&(e=null),null!==e)return this.add(7*(e-this.week()),"day");var t=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var r=n(this).startOf(x$).add(1,x$).date(t),o=n(this).endOf(y$);if(r.isBefore(o))return 1}var i=n(this).startOf(x$).date(t).startOf(y$).subtract(1,"millisecond"),a=this.diff(i,y$,!0);return a<0?n(this).startOf("week").week():Math.ceil(a)},r.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}));var $$={exports:{}};$$.exports=function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}};const S$=t($$.exports);var k$={exports:{}};k$.exports=function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var o=this.$utils(),i=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return n.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return n.ordinal(t.week(),"W");case"w":case"ww":return o.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return o.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return o.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return r.bind(this)(i)}};const E$=t(k$.exports);var O$={exports:{}};O$.exports=function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,o=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,a={},l=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},s=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],u=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=a.meridiem;if(r){for(var o=1;o<=24;o+=1)if(e.indexOf(r(o,0,t))>-1){n=o>12;break}}else n=e===(t?"pm":"PM");return n},f={A:[i,function(e){this.afternoon=d(e,!1)}],a:[i,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[o,c("seconds")],ss:[o,c("seconds")],m:[o,c("minutes")],mm:[o,c("minutes")],H:[o,c("hours")],h:[o,c("hours")],HH:[o,c("hours")],hh:[o,c("hours")],D:[o,c("day")],DD:[r,c("day")],Do:[i,function(e){var t=a.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],w:[o,c("week")],ww:[r,c("week")],M:[o,c("month")],MM:[r,c("month")],MMM:[i,function(e){var t=u("months"),n=(u("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=u("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,c("year")],YY:[r,function(e){this.year=l(e)}],YYYY:[/\d{4}/,c("year")],Z:s,ZZ:s};function p(n){var r,o;r=n,o=a&&a.formats;for(var i=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var i=r&&r.toUpperCase();return n||o[r]||e[r]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),l=i.length,c=0;c<l;c+=1){var s=i[c],u=f[s],d=u&&u[0],p=u&&u[1];i[c]=p?{regex:d,parser:p}:s.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<l;n+=1){var o=i[n];if("string"==typeof o)r+=o.length;else{var a=o.regex,c=o.parser,s=e.slice(r),u=a.exec(s)[0];c.call(t,u),e=e.replace(u,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(l=e.parseTwoDigitYear);var r=t.prototype,o=r.parse;r.parse=function(e){var t=e.date,r=e.utc,i=e.args;this.$u=r;var l=i[1];if("string"==typeof l){var c=!0===i[2],s=!0===i[3],u=c||s,d=i[2];s&&(d=i[2]),a=this.$locale(),!c&&d&&(a=n.Ls[d]),this.$d=function(e,t,n,r){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var o=p(t)(e),i=o.year,a=o.month,l=o.day,c=o.hours,s=o.minutes,u=o.seconds,d=o.milliseconds,f=o.zone,m=o.week,g=new Date,h=l||(i||a?1:g.getDate()),v=i||g.getFullYear(),b=0;i&&!a||(b=a>0?a-1:g.getMonth());var y,x=c||0,C=s||0,w=u||0,$=d||0;return f?new Date(Date.UTC(v,b,h,x,C,w,$+60*f.offset*1e3)):n?new Date(Date.UTC(v,b,h,x,C,w,$)):(y=new Date(v,b,h,x,C,w,$),m&&(y=r(y).week(m).toDate()),y)}catch(S){return new Date("")}}(t,l,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(l)&&(this.$d=new Date("")),a={}}else if(l instanceof Array)for(var f=l.length,m=1;m<=f;m+=1){i[1]=l[m-1];var g=n.apply(this,i);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}m===f&&(this.$d=new Date(""))}else o.call(this,e)}}}();const I$=t(O$.exports);m$.extend(I$),m$.extend(E$),m$.extend(h$),m$.extend(b$),m$.extend(w$),m$.extend(S$),m$.extend((function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=(e||"").replace("Wo","wo");return r.bind(this)(t)}}));var N$={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},M$=function(e){return N$[e]||e.split("_")[0]},P$={getNow:function(){var e=m$();return"function"==typeof e.tz?e.tz():e},getFixedDate:function(e){return m$(e,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(e){return e.endOf("month")},getWeekDay:function(e){var t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return e.year()},getMonth:function(e){return e.month()},getDate:function(e){return e.date()},getHour:function(e){return e.hour()},getMinute:function(e){return e.minute()},getSecond:function(e){return e.second()},getMillisecond:function(e){return e.millisecond()},addYear:function(e,t){return e.add(t,"year")},addMonth:function(e,t){return e.add(t,"month")},addDate:function(e,t){return e.add(t,"day")},setYear:function(e,t){return e.year(t)},setMonth:function(e,t){return e.month(t)},setDate:function(e,t){return e.date(t)},setHour:function(e,t){return e.hour(t)},setMinute:function(e,t){return e.minute(t)},setSecond:function(e,t){return e.second(t)},setMillisecond:function(e,t){return e.millisecond(t)},isAfter:function(e,t){return e.isAfter(t)},isValidate:function(e){return e.isValid()},locale:{getWeekFirstDay:function(e){return m$().locale(M$(e)).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,t){return t.locale(M$(e)).weekday(0)},getWeek:function(e,t){return t.locale(M$(e)).week()},getShortWeekDays:function(e){return m$().locale(M$(e)).localeData().weekdaysMin()},getShortMonths:function(e){return m$().locale(M$(e)).localeData().monthsShort()},format:function(e,t,n){return t.locale(M$(e)).format(n)},parse:function(e,t,n){for(var r=M$(e),o=0;o<n.length;o+=1){var i=n[o],a=t;if(i.includes("wo")||i.includes("Wo")){for(var l=a.split("-")[0],c=a.split("-")[1],s=m$(l,"YYYY").startOf("year").locale(r),u=0;u<=52;u+=1){var d=s.add(u,"week");if(d.format("Wo")===c)return d}return null}var f=m$(a,i,!0).locale(r);if(f.isValid())return f}return null}}};var j$=e.createContext(null),R$={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function T$(t){var n=t.popupElement,r=t.popupStyle,o=t.popupClassName,i=t.popupAlign,a=t.transitionName,l=t.getPopupContainer,c=t.children,s=t.range,u=t.placement,d=t.builtinPlacements,f=void 0===d?R$:d,p=t.direction,m=t.visible,g=t.onClose,h=e.useContext(j$).prefixCls,b="".concat(h,"-dropdown"),y=function(e,t){return void 0!==e?e:t?"bottomRight":"bottomLeft"}(u,"rtl"===p);return e.createElement(bb,{showAction:[],hideAction:["click"],popupPlacement:y,builtinPlacements:f,prefixCls:b,popupTransitionName:a,popup:n,popupAlign:i,popupVisible:m,popupClassName:w(o,v(v({},"".concat(b,"-range"),s),"".concat(b,"-rtl"),"rtl"===p)),popupStyle:r,stretch:"minWidth",getPopupContainer:l,onPopupVisibleChange:function(e){e||g()}},c)}function z$(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",r=String(e);r.length<t;)r="".concat(n).concat(r);return r}function H$(e){return null==e?[]:Array.isArray(e)?e:[e]}function D$(e,t,n){var r=xi(e);return r[t]=n,r}function B$(e,t){var n={};return(t||Object.keys(e)).forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),n}function A$(e,t,n){if(n)return n;switch(e){case"time":return t.fieldTimeFormat;case"datetime":return t.fieldDateTimeFormat;case"month":return t.fieldMonthFormat;case"year":return t.fieldYearFormat;case"quarter":return t.fieldQuarterFormat;case"week":return t.fieldWeekFormat;default:return t.fieldDateFormat}}function L$(e,t,n){var r=void 0!==n?n:t[t.length-1],o=t.find((function(t){return e[t]}));return r!==o?e[o]:void 0}function F$(e){return B$(e,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function _$(t,n,r,o){var i=e.useMemo((function(){return t||function(e,t){var o=e;return n&&"date"===t.type?n(o,t.today):r&&"month"===t.type?r(o,t.locale):t.originNode}}),[t,r,n]);return e.useCallback((function(e,t){return i(e,Y(Y({},t),{},{range:o}))}),[i,o])}function W$(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=m(e.useState([!1,!1]),2),i=o[0],a=o[1];return[e.useMemo((function(){return i.map((function(e,o){if(e)return!0;var i=t[o];return!!i&&(!r[o]&&!i||!(!i||!n(i,{activeIndex:o})))}))}),[t,i,n,r]),function(e,t){a((function(n){return D$(n,t,e)}))}]}function K$(e,t,n,r,o){var i="",a=[];return e&&a.push(o?"hh":"HH"),t&&a.push("mm"),n&&a.push("ss"),i=a.join(":"),r&&(i+=".SSS"),o&&(i+=" A"),i}function V$(e,t){var r=t.showHour,o=t.showMinute,i=t.showSecond,a=t.showMillisecond,l=t.use12Hours;return n.useMemo((function(){return function(e,t,n,r,o,i){var a=e.fieldDateTimeFormat,l=e.fieldDateFormat,c=e.fieldTimeFormat,s=e.fieldMonthFormat,u=e.fieldYearFormat,d=e.fieldWeekFormat,f=e.fieldQuarterFormat,p=e.yearFormat,m=e.cellYearFormat,g=e.cellQuarterFormat,h=e.dayFormat,v=e.cellDateFormat,b=K$(t,n,r,o,i);return Y(Y({},e),{},{fieldDateTimeFormat:a||"YYYY-MM-DD ".concat(b),fieldDateFormat:l||"YYYY-MM-DD",fieldTimeFormat:c||b,fieldMonthFormat:s||"YYYY-MM",fieldYearFormat:u||"YYYY",fieldWeekFormat:d||"gggg-wo",fieldQuarterFormat:f||"YYYY-[Q]Q",yearFormat:p||"YYYY",cellYearFormat:m||"YYYY",cellQuarterFormat:g||"[Q]Q",cellDateFormat:v||h||"D"})}(e,r,o,i,a,l)}),[e,r,o,i,a,l])}function q$(e,t,n){return null!=n?n:t.some((function(t){return e.includes(t)}))}var X$=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function G$(e){return e&&"string"==typeof e}function Y$(e,t,n,r){return[e,t,n,r].some((function(e){return void 0!==e}))}function U$(e,t,n,r,o){var i=t,a=n,l=r;if(e||i||a||l||o){if(e){var c,s,u,d=[i,a,l].some((function(e){return!1===e})),f=[i,a,l].some((function(e){return!0===e})),p=!!d||!f;i=null!==(c=i)&&void 0!==c?c:p,a=null!==(s=a)&&void 0!==s?s:p,l=null!==(u=l)&&void 0!==u?u:p}}else i=!0,a=!0,l=!0;return[i,a,l,o]}function Q$(e){var t=e.showTime,n=function(e){var t=B$(e,X$),n=e.format,r=e.picker,o=null;return n&&(o=n,Array.isArray(o)&&(o=o[0]),o="object"===g(o)?o.format:o),"time"===r&&(t.format=o),[t,o]}(e),r=m(n,2),o=r[0],i=r[1],a=t&&"object"===g(t)?t:{},l=Y(Y({defaultOpenValue:a.defaultOpenValue||a.defaultValue},o),a),c=l.showMillisecond,s=l.showHour,u=l.showMinute,d=l.showSecond,f=m(U$(Y$(s,u,d,c),s,u,d,c),3);return s=f[0],u=f[1],d=f[2],[l,Y(Y({},l),{},{showHour:s,showMinute:u,showSecond:d,showMillisecond:c}),l.format,i]}function Z$(e,t,n,r,o){if("datetime"===e||"time"===e){for(var i=r,a=A$(e,o,null),l=[t,n],c=0;c<l.length;c+=1){var s=H$(l[c])[0];if(G$(s)){a=s;break}}var u=i.showHour,d=i.showMinute,f=i.showSecond,p=i.showMillisecond,g=q$(a,["a","A","LT","LLL","LTS"],i.use12Hours),h=Y$(u,d,f,p);h||(u=q$(a,["H","h","k","LT","LLL"]),d=q$(a,["m","LT","LLL"]),f=q$(a,["s","LTS"]),p=q$(a,["SSS"]));var v=m(U$(h,u,d,f,p),3);u=v[0],d=v[1],f=v[2];var b=t||K$(u,d,f,p,g);return Y(Y({},i),{},{format:b,showHour:u,showMinute:d,showSecond:f,showMillisecond:p,use12Hours:g})}return null}function J$(t,n,r){return!1===n?null:(n&&"object"===g(n)?n:{}).clearIcon||r||e.createElement("span",{className:"".concat(t,"-clear-btn")})}function eS(e,t,n){return!e&&!t||e===t||!(!e||!t)&&n()}function tS(e,t,n){return eS(t,n,(function(){return Math.floor(e.getYear(t)/10)===Math.floor(e.getYear(n)/10)}))}function nS(e,t,n){return eS(t,n,(function(){return e.getYear(t)===e.getYear(n)}))}function rS(e,t){return Math.floor(e.getMonth(t)/3)+1}function oS(e,t,n){return eS(t,n,(function(){return nS(e,t,n)&&e.getMonth(t)===e.getMonth(n)}))}function iS(e,t,n){return eS(t,n,(function(){return nS(e,t,n)&&oS(e,t,n)&&e.getDate(t)===e.getDate(n)}))}function aS(e,t,n){return eS(t,n,(function(){return e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)}))}function lS(e,t,n){return eS(t,n,(function(){return iS(e,t,n)&&aS(e,t,n)&&e.getMillisecond(t)===e.getMillisecond(n)}))}function cS(e,t,n,r){return eS(n,r,(function(){var o=e.locale.getWeekFirstDate(t,n),i=e.locale.getWeekFirstDate(t,r);return nS(e,o,i)&&e.locale.getWeek(t,n)===e.locale.getWeek(t,r)}))}function sS(e,t,n,r,o){switch(o){case"date":return iS(e,n,r);case"week":return cS(e,t.locale,n,r);case"month":return oS(e,n,r);case"quarter":return function(e,t,n){return eS(t,n,(function(){return nS(e,t,n)&&rS(e,t)===rS(e,n)}))}(e,n,r);case"year":return nS(e,n,r);case"decade":return tS(e,n,r);case"time":return aS(e,n,r);default:return lS(e,n,r)}}function uS(e,t,n,r){return!!(t&&n&&r)&&(e.isAfter(r,t)&&e.isAfter(n,r))}function dS(e,t,n,r,o){return!!sS(e,t,n,r,o)||e.isAfter(n,r)}function fS(e,t){var n=t.generateConfig,r=t.locale,o=t.format;return e?"function"==typeof o?o(e):n.locale.format(r.locale,e,o):""}function pS(e,t,n){var r=t,o=["getHour","getMinute","getSecond","getMillisecond"];return["setHour","setMinute","setSecond","setMillisecond"].forEach((function(t,i){r=n?e[t](r,e[o[i]](n)):e[t](r,0)})),r}function mS(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.useMemo((function(){var e=t?H$(t):t;return n&&e&&(e[1]=e[1]||e[0]),e}),[t,n])}function gS(t,n){var r=t.generateConfig,o=t.locale,i=t.picker,a=void 0===i?"date":i,l=t.prefixCls,c=void 0===l?"rc-picker":l,s=t.styles,u=void 0===s?{}:s,d=t.classNames,f=void 0===d?{}:d,p=t.order,h=void 0===p||p,v=t.components,b=void 0===v?{}:v,y=t.inputRender,x=t.allowClear,C=t.clearIcon,w=t.needConfirm,$=t.multiple,S=t.format,k=t.inputReadOnly,E=t.disabledDate,O=t.minDate,I=t.maxDate,N=t.showTime,M=t.value,P=t.defaultValue,j=t.pickerValue,R=t.defaultPickerValue,T=mS(M),z=mS(P),H=mS(j),D=mS(R),B="date"===a&&N?"datetime":a,A="time"===B||"datetime"===B,L=A||$,F=null!=w?w:A,_=m(Q$(t),4),W=_[0],K=_[1],V=_[2],q=_[3],X=V$(o,K),G=e.useMemo((function(){return Z$(B,V,q,W,X)}),[B,V,q,W,X]),U=e.useMemo((function(){return Y(Y({},t),{},{prefixCls:c,locale:X,picker:a,styles:u,classNames:f,order:h,components:Y({input:y},b),clearIcon:J$(c,x,C),showTime:G,value:T,defaultValue:z,pickerValue:H,defaultPickerValue:D},null==n?void 0:n())}),[t]),Q=function(t,n,r){return e.useMemo((function(){var e=H$(A$(t,n,r)),o=e[0],i="object"===g(o)&&"mask"===o.type?o.format:null;return[e.map((function(e){return"string"==typeof e||"function"==typeof e?e:e.format})),i]}),[t,n,r])}(B,X,S),Z=m(Q,2),J=Z[0],ee=Z[1],te=function(e,t,n){return!("function"!=typeof e[0]&&!n)||t}(J,k,$),ne=function(e,t,n,r,o){return mc((function(i,a){return!(!n||!n(i,a))||!(!r||!e.isAfter(r,i)||sS(e,t,r,i,a.type))||!(!o||!e.isAfter(i,o)||sS(e,t,o,i,a.type))}))}(r,o,E,O,I),re=function(e,t,n,r){return mc((function(o,i){var a=Y({type:t},i);if(delete a.activeIndex,!e.isValidate(o)||n&&n(o,a))return!0;if(("date"===t||"time"===t)&&r){var l,c=i&&1===i.activeIndex?"end":"start",s=(null===(l=r.disabledTime)||void 0===l?void 0:l.call(r,o,c,{from:a.from}))||{},u=s.disabledHours,d=s.disabledMinutes,f=s.disabledSeconds,p=s.disabledMilliseconds,m=r.disabledHours,g=r.disabledMinutes,h=r.disabledSeconds,v=u||m,b=d||g,y=f||h,x=e.getHour(o),C=e.getMinute(o),w=e.getSecond(o),$=e.getMillisecond(o);if(v&&v().includes(x))return!0;if(b&&b(x).includes(C))return!0;if(y&&y(x,C).includes(w))return!0;if(p&&p(x,C,w).includes($))return!0}return!1}))}(r,a,ne,G);return[e.useMemo((function(){return Y(Y({},U),{},{needConfirm:F,inputReadOnly:te,disabledDate:ne})}),[U,F,te,ne]),B,L,J,ee,re]}function hS(e,t){var r,o,i,a,l,c,s,u,d,f,p=arguments.length>3?arguments[3]:void 0,g=!(arguments.length>2&&void 0!==arguments[2]?arguments[2]:[]).every((function(e){return e}))&&e,h=(o=p,i=m(vc(t||!1,{value:r=g}),2),a=i[0],l=i[1],c=n.useRef(r),s=n.useRef(),u=function(){Ei.cancel(s.current)},d=mc((function(){l(c.current),o&&a!==c.current&&o(c.current)})),f=mc((function(e,t){u(),c.current=e,e||t?d():s.current=Ei(d)})),n.useEffect((function(){return u}),[]),[a,f]),v=m(h,2),b=v[0],y=v[1];return[b,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.inherit&&!b||y(e,t.force)}]}function vS(t){var n=e.useRef();return e.useImperativeHandle(t,(function(){var e;return{nativeElement:null===(e=n.current)||void 0===e?void 0:e.nativeElement,focus:function(e){var t;null===(t=n.current)||void 0===t||t.focus(e)},blur:function(){var e;null===(e=n.current)||void 0===e||e.blur()}}})),n}function bS(t,n){return e.useMemo((function(){return t||(n?(me(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(n).map((function(e){var t=m(e,2);return{label:t[0],value:t[1]}}))):[])}),[t,n])}function yS(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=e.useRef(n);o.current=n,Ji((function(){if(!t){var e=Ei((function(){o.current(t)}),r);return function(){Ei.cancel(e)}}o.current(t)}),[t])}function xS(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=m(e.useState(0),2),i=o[0],a=o[1],l=m(e.useState(!1),2),c=l[0],s=l[1],u=e.useRef([]),d=e.useRef(null),f=e.useRef(null),p=function(e){d.current=e};return yS(c||r,(function(){c||(u.current=[],p(null))})),e.useEffect((function(){c&&u.current.push(i)}),[c,i]),[c,function(e){s(e)},function(e){return e&&(f.current=e),f.current},i,a,function(e){var r=u.current,o=new Set(r.filter((function(t){return e[t]||n[t]}))),i=0===r[r.length-1]?1:0;return o.size>=2||t[i]?null:i},u.current,p,function(e){return d.current===e}]}function CS(e,t,n,r){switch(t){case"date":case"week":return e.addMonth(n,r);case"month":case"quarter":return e.addYear(n,r);case"year":return e.addYear(n,10*r);case"decade":return e.addYear(n,100*r);default:return n}}var wS=[];function $S(t,n,r,o,i,a,l,c){var s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:wS,u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:wS,d=arguments.length>11?arguments[11]:void 0,f=arguments.length>12?arguments[12]:void 0,p=arguments.length>13?arguments[13]:void 0,g="time"===l,h=a||0,v=function(e){var n=t.getNow();return g&&(n=pS(t,n)),s[e]||r[e]||n},b=m(arguments.length>9&&void 0!==arguments[9]?arguments[9]:wS,2),y=b[0],x=b[1],C=m(vc((function(){return v(0)}),{value:y}),2),w=C[0],$=C[1],S=m(vc((function(){return v(1)}),{value:x}),2),k=S[0],E=S[1],O=e.useMemo((function(){var e=[w,k][h];return g?e:pS(t,e,u[h])}),[g,w,k,h,t,u]),I=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"panel";(0,[$,E][h])(e);var i=[w,k];i[h]=e,!d||sS(t,n,w,i[0],l)&&sS(t,n,k,i[1],l)||d(i,{source:r,range:1===h?"end":"start",mode:o})},N=e.useRef(null);return Zi((function(){if(i&&!s[h]){var e=g?null:t.getNow();if(null!==N.current&&N.current!==h?e=[w,k][1^h]:r[h]?e=0===h?r[0]:function(e,r){if(c){var o={date:"month",week:"month",month:"year",quarter:"year"}[l];if(o&&!sS(t,n,e,r,o))return CS(t,l,r,-1);if("year"===l&&e&&Math.floor(t.getYear(e)/10)!==Math.floor(t.getYear(r)/10))return CS(t,l,r,-1)}return r}(r[0],r[1]):r[1^h]&&(e=r[1^h]),e){f&&t.isAfter(f,e)&&(e=f);var o=c?CS(t,l,e,1):e;p&&t.isAfter(o,p)&&(e=c?CS(t,l,p,-1):p),I(e,"reset")}}}),[i,h,r[h]]),e.useEffect((function(){N.current=i?h:null}),[i,h]),Zi((function(){i&&s&&s[h]&&I(s[h],"reset")}),[i,h]),[O,I]}function SS(t,n){var r=e.useRef(t),o=m(e.useState({}),2)[1],i=function(e){return e&&void 0!==n?n:r.current};return[i,function(e){r.current=e,o({})},i(!0)]}var kS=[];function ES(e,t,n){return[function(r){return r.map((function(r){return fS(r,{generateConfig:e,locale:t,format:n[0]})}))},function(t,n){for(var r=Math.max(t.length,n.length),o=-1,i=0;i<r;i+=1){var a=t[i]||null,l=n[i]||null;if(a!==l&&!lS(e,a,l)){o=i;break}}return[o<0,0!==o]}]}function OS(e,t){return xi(e).sort((function(e,n){return t.isAfter(e,n)?1:-1}))}function IS(t,n,r,o,i,a,l,c,s){var u=m(vc(a,{value:l}),2),d=u[0],f=u[1],p=d||kS,g=function(t){var n=m(SS(t),2),r=n[0],o=n[1],i=mc((function(){o(t)}));return e.useEffect((function(){i()}),[t]),[r,o]}(p),h=m(g,2),v=h[0],b=h[1],y=m(ES(t,n,r),2),x=y[0],C=y[1],w=mc((function(e){var n=xi(e);if(o)for(var r=0;r<2;r+=1)n[r]=n[r]||null;else i&&(n=OS(n.filter((function(e){return e})),t));var a=m(C(v(),n),2),l=a[0],s=a[1];if(!l&&(b(n),c)){var u=x(n);c(n,u,{range:s?"end":"start"})}}));return[p,f,v,w,function(){s&&s(v())}]}function NS(t,n,r,o,i,a,l,c,s,u){var d=t.generateConfig,f=t.locale,p=t.picker,g=t.onChange,h=t.allowEmpty,v=t.order,b=!a.some((function(e){return e}))&&v,y=m(ES(d,f,l),2),x=y[0],C=y[1],w=m(SS(n),2),$=w[0],S=w[1],k=mc((function(){S(n)}));e.useEffect((function(){k()}),[n]);var E=mc((function(e){var t=null===e,o=xi(e||$());if(t)for(var l=Math.max(a.length,o.length),c=0;c<l;c+=1)a[c]||(o[c]=null);b&&o[0]&&o[1]&&(o=OS(o,d)),i(o);var s=m(o,2),y=s[0],w=s[1],S=!y,k=!w,E=!h||(!S||h[0])&&(!k||h[1]),O=!v||S||k||sS(d,f,y,w,p)||d.isAfter(w,y),I=(a[0]||!y||!u(y,{activeIndex:0}))&&(a[1]||!w||!u(w,{from:y,activeIndex:1})),N=t||E&&O&&I;if(N){r(o);var M=m(C(o,n),1)[0];g&&!M&&g(t&&o.every((function(e){return!e}))?null:o,x(o))}return N})),O=mc((function(e,t){var n=D$($(),e,o()[e]);S(n),t&&E()})),I=!c&&!s;return yS(!I,(function(){I&&(E(),i(n),k())}),2),[O,E]}function MS(e,t,n,r,o){return("date"===t||"time"===t)&&(void 0!==n?n:void 0!==r?r:!o&&("date"===e||"time"===e))}function PS(){return[]}function jS(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2,a=[],l=n>=1?0|n:1,c=e;c<=t;c+=l){var s=o.includes(c);s&&r||a.push({label:z$(c,i),value:c,disabled:s})}return a}function RS(t){var n=arguments.length>2?arguments[2]:void 0,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})||{},o=r.use12Hours,i=r.hourStep,a=void 0===i?1:i,l=r.minuteStep,c=void 0===l?1:l,s=r.secondStep,u=void 0===s?1:s,d=r.millisecondStep,f=void 0===d?100:d,p=r.hideDisabledOptions,g=r.disabledTime,h=r.disabledHours,v=r.disabledMinutes,b=r.disabledSeconds,y=e.useMemo((function(){return n||t.getNow()}),[n,t]),x=e.useCallback((function(e){var t=(null==g?void 0:g(e))||{};return[t.disabledHours||h||PS,t.disabledMinutes||v||PS,t.disabledSeconds||b||PS,t.disabledMilliseconds||PS]}),[g,h,v,b]),C=m(e.useMemo((function(){return x(y)}),[y,x]),4),w=C[0],$=C[1],S=C[2],k=C[3],E=e.useCallback((function(e,t,n,r){var i=jS(0,23,a,p,e());return[o?i.map((function(e){return Y(Y({},e),{},{label:z$(e.value%12||12,2)})})):i,function(e){return jS(0,59,c,p,t(e))},function(e,t){return jS(0,59,u,p,n(e,t))},function(e,t,n){return jS(0,999,f,p,r(e,t,n),3)}]}),[p,a,o,f,c,u]),O=m(e.useMemo((function(){return E(w,$,S,k)}),[E,w,$,S,k]),4),I=O[0],N=O[1],M=O[2],P=O[3];return[function(e,n){var r=function(){return I},o=N,i=M,a=P;if(n){var l=m(x(n),4),c=l[0],s=l[1],u=l[2],d=l[3],f=m(E(c,s,u,d),4),p=f[0];r=function(){return p},o=f[1],i=f[2],a=f[3]}var g=function(e,t,n,r,o,i){var a=e;function l(e,t,n){var r=i[e](a),o=n.find((function(e){return e.value===r}));if(!o||o.disabled){var l=n.filter((function(e){return!e.disabled})),c=xi(l).reverse().find((function(e){return e.value<=r}))||l[0];c&&(r=c.value,a=i[t](a,r))}return r}var c=l("getHour","setHour",t()),s=l("getMinute","setMinute",n(c)),u=l("getSecond","setSecond",r(c,s));return l("getMillisecond","setMillisecond",o(c,s,u)),a}(e,r,o,i,a,t);return g},I,N,M,P]}function TS(t){var n=t.mode,r=t.internalMode,o=t.renderExtraFooter,i=t.showNow,a=t.showTime,l=t.onSubmit,c=t.onNow,s=t.invalid,u=t.needConfirm,d=t.generateConfig,f=t.disabledDate,p=e.useContext(j$),g=p.prefixCls,h=p.locale,v=p.button,b=void 0===v?"button":v,y=d.getNow(),x=m(RS(d,a,y),1)[0],C=null==o?void 0:o(n),$=f(y,{type:n}),S="".concat(g,"-now"),k="".concat(S,"-btn"),E=i&&e.createElement("li",{className:S},e.createElement("a",{className:w(k,$&&"".concat(k,"-disabled")),"aria-disabled":$,onClick:function(){if(!$){var e=x(y);c(e)}}},"date"===r?h.today:h.now)),O=u&&e.createElement("li",{className:"".concat(g,"-ok")},e.createElement(b,{disabled:s,onClick:l},h.ok)),I=(E||O)&&e.createElement("ul",{className:"".concat(g,"-ranges")},E,O);return C||I?e.createElement("div",{className:"".concat(g,"-footer")},C&&e.createElement("div",{className:"".concat(g,"-footer-extra")},C),I):null}function zS(e,t,n){return function(r,o){var i=r.findIndex((function(r){return sS(e,t,r,o,n)}));if(-1===i)return[].concat(xi(r),[o]);var a=xi(r);return a.splice(i,1),a}}var HS=e.createContext(null);function DS(){return e.useContext(HS)}function BS(e,t){var n=e.prefixCls,r=e.generateConfig,o=e.locale,i=e.disabledDate,a=e.minDate,l=e.maxDate,c=e.cellRender,s=e.hoverValue,u=e.hoverRangeValue,d=e.onHover,f=e.values,p=e.pickerValue,m=e.onSelect,g=e.prevIcon,h=e.nextIcon,v=e.superPrevIcon,b=e.superNextIcon,y=r.getNow();return[{now:y,values:f,pickerValue:p,prefixCls:n,disabledDate:i,minDate:a,maxDate:l,cellRender:c,hoverValue:s,hoverRangeValue:u,onHover:d,locale:o,generateConfig:r,onSelect:m,panelType:t,prevIcon:g,nextIcon:h,superPrevIcon:v,superNextIcon:b},y]}var AS=e.createContext({});function LS(t){for(var n=t.rowNum,r=t.colNum,o=t.baseDate,i=t.getCellDate,a=t.prefixColumn,l=t.rowClassName,c=t.titleFormat,s=t.getCellText,u=t.getCellClassName,d=t.headerCells,f=t.cellSelection,p=void 0===f||f,g=t.disabledDate,h=DS(),b=h.prefixCls,y=h.panelType,x=h.now,C=h.disabledDate,$=h.cellRender,S=h.onHover,k=h.hoverValue,E=h.hoverRangeValue,O=h.generateConfig,I=h.values,N=h.locale,M=h.onSelect,P=g||C,j="".concat(b,"-cell"),R=e.useContext(AS).onCellDblClick,T=[],z=0;z<n;z+=1){for(var H=[],D=void 0,B=function(){var t=i(o,z*r+A),n=null==P?void 0:P(t,{type:y});0===A&&(D=t,a&&H.push(a(D)));var l=!1,d=!1,f=!1;if(p&&E){var g=m(E,2),h=g[0],C=g[1];l=uS(O,h,C,t),d=sS(O,N,t,h,y),f=sS(O,N,t,C,y)}var T,B=c?fS(t,{locale:N,format:c,generateConfig:O}):void 0,L=e.createElement("div",{className:"".concat(j,"-inner")},s(t));H.push(e.createElement("td",{key:A,title:B,className:w(j,Y(v(v(v(v(v(v({},"".concat(j,"-disabled"),n),"".concat(j,"-hover"),(k||[]).some((function(e){return sS(O,N,t,e,y)}))),"".concat(j,"-in-range"),l&&!d&&!f),"".concat(j,"-range-start"),d),"".concat(j,"-range-end"),f),"".concat(b,"-cell-selected"),!E&&"week"!==y&&(T=t,I.some((function(e){return e&&sS(O,N,T,e,y)})))),u(t))),onClick:function(){n||M(t)},onDoubleClick:function(){!n&&R&&R()},onMouseEnter:function(){n||null==S||S(t)},onMouseLeave:function(){n||null==S||S(null)}},$?$(t,{prefixCls:b,originNode:L,today:x,type:y,locale:N}):L))},A=0;A<r;A+=1)B();T.push(e.createElement("tr",{key:z,className:null==l?void 0:l(D)},H))}return e.createElement("div",{className:"".concat(b,"-body")},e.createElement("table",{className:"".concat(b,"-content")},d&&e.createElement("thead",null,e.createElement("tr",null,d)),e.createElement("tbody",null,T)))}var FS={visibility:"hidden"};function _S(t){var n=t.offset,r=t.superOffset,o=t.onChange,i=t.getStart,a=t.getEnd,l=t.children,c=DS(),s=c.prefixCls,u=c.prevIcon,d=void 0===u?"‹":u,f=c.nextIcon,p=void 0===f?"›":f,m=c.superPrevIcon,g=void 0===m?"«":m,h=c.superNextIcon,v=void 0===h?"»":h,b=c.minDate,y=c.maxDate,x=c.generateConfig,C=c.locale,$=c.pickerValue,S=c.panelType,k="".concat(s,"-header"),E=e.useContext(AS),O=E.hidePrev,I=E.hideNext,N=E.hideHeader,M=e.useMemo((function(){if(!b||!n||!a)return!1;var e=a(n(-1,$));return!dS(x,C,e,b,S)}),[b,n,$,a,x,C,S]),P=e.useMemo((function(){if(!b||!r||!a)return!1;var e=a(r(-1,$));return!dS(x,C,e,b,S)}),[b,r,$,a,x,C,S]),j=e.useMemo((function(){if(!y||!n||!i)return!1;var e=i(n(1,$));return!dS(x,C,y,e,S)}),[y,n,$,i,x,C,S]),R=e.useMemo((function(){if(!y||!r||!i)return!1;var e=i(r(1,$));return!dS(x,C,y,e,S)}),[y,r,$,i,x,C,S]),T=function(e){n&&o(n(e,$))},z=function(e){r&&o(r(e,$))};if(N)return null;var H="".concat(k,"-prev-btn"),D="".concat(k,"-next-btn"),B="".concat(k,"-super-prev-btn"),A="".concat(k,"-super-next-btn");return e.createElement("div",{className:k},r&&e.createElement("button",{type:"button","aria-label":C.previousYear,onClick:function(){return z(-1)},tabIndex:-1,className:w(B,P&&"".concat(B,"-disabled")),disabled:P,style:O?FS:{}},g),n&&e.createElement("button",{type:"button","aria-label":C.previousMonth,onClick:function(){return T(-1)},tabIndex:-1,className:w(H,M&&"".concat(H,"-disabled")),disabled:M,style:O?FS:{}},d),e.createElement("div",{className:"".concat(k,"-view")},l),n&&e.createElement("button",{type:"button","aria-label":C.nextMonth,onClick:function(){return T(1)},tabIndex:-1,className:w(D,j&&"".concat(D,"-disabled")),disabled:j,style:I?FS:{}},p),r&&e.createElement("button",{type:"button","aria-label":C.nextYear,onClick:function(){return z(1)},tabIndex:-1,className:w(A,R&&"".concat(A,"-disabled")),disabled:R,style:I?FS:{}},v))}function WS(t){var n=t.prefixCls,r=t.panelName,o=void 0===r?"date":r,i=t.locale,a=t.generateConfig,l=t.pickerValue,c=t.onPickerValueChange,u=t.onModeChange,d=t.mode,f=void 0===d?"date":d,p=t.disabledDate,g=t.onSelect,h=t.onHover,b=t.showWeek,y="".concat(n,"-").concat(o,"-panel"),x="".concat(n,"-cell"),C="week"===f,$=m(BS(t,f),2),S=$[0],k=$[1],E=a.locale.getWeekFirstDay(i.locale),O=a.setDate(l,1),I=function(e,t,n){var r=t.locale.getWeekFirstDay(e),o=t.setDate(n,1),i=t.getWeekDay(o),a=t.addDate(o,r-i);return t.getMonth(a)===t.getMonth(n)&&t.getDate(a)>1&&(a=t.addDate(a,-7)),a}(i.locale,a,O),N=a.getMonth(l),M=(void 0===b?C:b)?function(t){var n=null==p?void 0:p(t,{type:"week"});return e.createElement("td",{key:"week",className:w(x,"".concat(x,"-week"),v({},"".concat(x,"-disabled"),n)),onClick:function(){n||g(t)},onMouseEnter:function(){n||null==h||h(t)},onMouseLeave:function(){n||null==h||h(null)}},e.createElement("div",{className:"".concat(x,"-inner")},a.locale.getWeek(i.locale,t)))}:null,P=[],j=i.shortWeekDays||(a.locale.getShortWeekDays?a.locale.getShortWeekDays(i.locale):[]);M&&P.push(e.createElement("th",{key:"empty"},e.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},i.week)));for(var R=0;R<7;R+=1)P.push(e.createElement("th",{key:R},j[(R+E)%7]));var T=i.shortMonths||(a.locale.getShortMonths?a.locale.getShortMonths(i.locale):[]),z=e.createElement("button",{type:"button","aria-label":i.yearSelect,key:"year",onClick:function(){u("year",l)},tabIndex:-1,className:"".concat(n,"-year-btn")},fS(l,{locale:i,format:i.yearFormat,generateConfig:a})),H=e.createElement("button",{type:"button","aria-label":i.monthSelect,key:"month",onClick:function(){u("month",l)},tabIndex:-1,className:"".concat(n,"-month-btn")},i.monthFormat?fS(l,{locale:i,format:i.monthFormat,generateConfig:a}):T[N]),D=i.monthBeforeYear?[H,z]:[z,H];return e.createElement(HS.Provider,{value:S},e.createElement("div",{className:w(y,b&&"".concat(y,"-show-week"))},e.createElement(_S,{offset:function(e){return a.addMonth(l,e)},superOffset:function(e){return a.addYear(l,e)},onChange:c,getStart:function(e){return a.setDate(e,1)},getEnd:function(e){var t=a.setDate(e,1);return t=a.addMonth(t,1),a.addDate(t,-1)}},D),e.createElement(LS,s({titleFormat:i.fieldDateFormat},t,{colNum:7,rowNum:6,baseDate:I,headerCells:P,getCellDate:function(e,t){return a.addDate(e,t)},getCellText:function(e){return fS(e,{locale:i,format:i.cellDateFormat,generateConfig:a})},getCellClassName:function(e){return v(v({},"".concat(n,"-cell-in-view"),oS(a,e,l)),"".concat(n,"-cell-today"),iS(a,e,k))},prefixColumn:M,cellSelection:!C}))))}var KS=1/3;function VS(e){return e.map((function(e){return[e.value,e.label,e.disabled].join(",")})).join(";")}function qS(t){var n=t.units,r=t.value,o=t.optionalValue,i=t.type,a=t.onChange,l=t.onHover,c=t.onDblClick,s=t.changeOnScroll,u=DS(),d=u.prefixCls,f=u.cellRender,p=u.now,g=u.locale,h="".concat(d,"-time-panel"),b="".concat(d,"-time-panel-cell"),y=e.useRef(null),x=e.useRef(),C=function(){clearTimeout(x.current)},$=function(t,n){var r=e.useRef(!1),o=e.useRef(null),i=e.useRef(null),a=function(){Ei.cancel(o.current),r.current=!1},l=e.useRef();return[mc((function(){var e=t.current;if(i.current=null,l.current=0,e){var c=e.querySelector('[data-value="'.concat(n,'"]')),s=e.querySelector("li");c&&s&&function t(){a(),r.current=!0,l.current+=1;var n=e.scrollTop,u=s.offsetTop,d=c.offsetTop,f=d-u;if(0===d&&c!==s||!yd(e))l.current<=5&&(o.current=Ei(t));else{var p=n+(f-n)*KS,m=Math.abs(f-p);if(null!==i.current&&i.current<m)a();else{if(i.current=m,m<=1)return e.scrollTop=f,void a();e.scrollTop=p,o.current=Ei(t)}}}()}})),a,function(){return r.current}]}(y,null!=r?r:o),S=m($,3),k=S[0],E=S[1],O=S[2];Zi((function(){return k(),C(),function(){E(),C()}}),[r,o,VS(n)]);var I="".concat(h,"-column");return e.createElement("ul",{className:I,ref:y,"data-type":i,onScroll:function(e){C();var t=e.target;!O()&&s&&(x.current=setTimeout((function(){var e=y.current,r=e.querySelector("li").offsetTop,o=Array.from(e.querySelectorAll("li")).map((function(e){return e.offsetTop-r})).map((function(e,r){return n[r].disabled?Number.MAX_SAFE_INTEGER:Math.abs(e-t.scrollTop)})),i=Math.min.apply(Math,xi(o)),l=o.findIndex((function(e){return e===i})),c=n[l];c&&!c.disabled&&a(c.value)}),300))}},n.map((function(t){var n=t.label,o=t.value,s=t.disabled,u=e.createElement("div",{className:"".concat(b,"-inner")},n);return e.createElement("li",{key:o,className:w(b,v(v({},"".concat(b,"-selected"),r===o),"".concat(b,"-disabled"),s)),onClick:function(){s||a(o)},onDoubleClick:function(){!s&&c&&c()},onMouseEnter:function(){l(o)},onMouseLeave:function(){l(null)},"data-value":o},f?f(o,{prefixCls:d,originNode:u,today:p,type:"time",subType:i,locale:g}):u)})))}function XS(e){return e<12}function GS(t){var n=t.showHour,r=t.showMinute,o=t.showSecond,i=t.showMillisecond,a=t.use12Hours,l=t.changeOnScroll,c=DS(),u=c.prefixCls,d=c.values,f=c.generateConfig,p=c.locale,g=c.onSelect,h=c.onHover,v=void 0===h?function(){}:h,b=c.pickerValue,y=(null==d?void 0:d[0])||null,x=e.useContext(AS).onCellDblClick,C=m(RS(f,t,y),5),w=C[0],$=C[1],S=C[2],k=C[3],E=C[4],O=function(e){return[y&&f[e](y),b&&f[e](b)]},I=m(O("getHour"),2),N=I[0],M=I[1],P=m(O("getMinute"),2),j=P[0],R=P[1],T=m(O("getSecond"),2),z=T[0],H=T[1],D=m(O("getMillisecond"),2),B=D[0],A=D[1],L=null===N?null:XS(N)?"am":"pm",F=e.useMemo((function(){return a?XS(N)?$.filter((function(e){return XS(e.value)})):$.filter((function(e){return!XS(e.value)})):$}),[N,$,a]),_=function(e,t){var n,r=e.filter((function(e){return!e.disabled}));return null!=t?t:null==r||null===(n=r[0])||void 0===n?void 0:n.value},W=_($,N),K=e.useMemo((function(){return S(W)}),[S,W]),V=_(K,j),q=e.useMemo((function(){return k(W,V)}),[k,W,V]),X=_(q,z),G=e.useMemo((function(){return E(W,V,X)}),[E,W,V,X]),Y=_(G,B),U=e.useMemo((function(){if(!a)return[];var e=f.getNow(),t=f.setHour(e,6),n=f.setHour(e,18),r=function(e,t){var n=p.cellMeridiemFormat;return n?fS(e,{generateConfig:f,locale:p,format:n}):t};return[{label:r(t,"AM"),value:"am",disabled:$.every((function(e){return e.disabled||!XS(e.value)}))},{label:r(n,"PM"),value:"pm",disabled:$.every((function(e){return e.disabled||XS(e.value)}))}]}),[$,a,f,p]),Q=function(e){var t=w(e);g(t)},Z=e.useMemo((function(){var e=y||b||f.getNow(),t=function(e){return null!=e};return t(N)?(e=f.setHour(e,N),e=f.setMinute(e,j),e=f.setSecond(e,z),e=f.setMillisecond(e,B)):t(M)?(e=f.setHour(e,M),e=f.setMinute(e,R),e=f.setSecond(e,H),e=f.setMillisecond(e,A)):t(W)&&(e=f.setHour(e,W),e=f.setMinute(e,V),e=f.setSecond(e,X),e=f.setMillisecond(e,Y)),e}),[y,b,N,j,z,B,W,V,X,Y,M,R,H,A,f]),J=function(e,t){return null===e?null:f[t](Z,e)},ee=function(e){return J(e,"setHour")},te=function(e){return J(e,"setMinute")},ne=function(e){return J(e,"setSecond")},re=function(e){return J(e,"setMillisecond")},oe=function(e){return null===e?null:"am"!==e||XS(N)?"pm"===e&&XS(N)?f.setHour(Z,N+12):Z:f.setHour(Z,N-12)},ie={onDblClick:x,changeOnScroll:l};return e.createElement("div",{className:"".concat(u,"-content")},n&&e.createElement(qS,s({units:F,value:N,optionalValue:M,type:"hour",onChange:function(e){Q(ee(e))},onHover:function(e){v(ee(e))}},ie)),r&&e.createElement(qS,s({units:K,value:j,optionalValue:R,type:"minute",onChange:function(e){Q(te(e))},onHover:function(e){v(te(e))}},ie)),o&&e.createElement(qS,s({units:q,value:z,optionalValue:H,type:"second",onChange:function(e){Q(ne(e))},onHover:function(e){v(ne(e))}},ie)),i&&e.createElement(qS,s({units:G,value:B,optionalValue:A,type:"millisecond",onChange:function(e){Q(re(e))},onHover:function(e){v(re(e))}},ie)),a&&e.createElement(qS,s({units:U,value:L,type:"meridiem",onChange:function(e){Q(oe(e))},onHover:function(e){v(oe(e))}},ie)))}function YS(t){var n=t.prefixCls,r=t.value,o=t.locale,i=t.generateConfig,a=t.showTime,l=(a||{}).format,c="".concat(n,"-time-panel"),s=m(BS(t,"time"),1)[0];return e.createElement(HS.Provider,{value:s},e.createElement("div",{className:w(c)},e.createElement(_S,null,r?fS(r,{locale:o,format:l,generateConfig:i}):" "),e.createElement(GS,a)))}var US={date:WS,datetime:function(t){var n=t.prefixCls,r=t.generateConfig,o=t.showTime,i=t.onSelect,a=t.value,l=t.pickerValue,c=t.onHover,u="".concat(n,"-datetime-panel"),d=m(RS(r,o),1)[0],f=function(e){return pS(r,e,a||l)};return e.createElement("div",{className:u},e.createElement(WS,s({},t,{onSelect:function(e){var t=f(e);i(d(t,t))},onHover:function(e){null==c||c(e?f(e):e)}})),e.createElement(YS,t))},week:function(t){var n=t.prefixCls,r=t.generateConfig,o=t.locale,i=t.value,a=t.hoverValue,l=t.hoverRangeValue,c=o.locale,u="".concat(n,"-week-panel-row");return e.createElement(WS,s({},t,{mode:"week",panelName:"week",rowClassName:function(e){var t={};if(l){var n=m(l,2),o=n[0],s=n[1],d=cS(r,c,o,e),f=cS(r,c,s,e);t["".concat(u,"-range-start")]=d,t["".concat(u,"-range-end")]=f,t["".concat(u,"-range-hover")]=!d&&!f&&uS(r,o,s,e)}return a&&(t["".concat(u,"-hover")]=a.some((function(t){return cS(r,c,e,t)}))),w(u,v({},"".concat(u,"-selected"),!l&&cS(r,c,i,e)),t)}}))},month:function(t){var n=t.prefixCls,r=t.locale,o=t.generateConfig,i=t.pickerValue,a=t.disabledDate,l=t.onPickerValueChange,c=t.onModeChange,u="".concat(n,"-month-panel"),d=m(BS(t,"month"),1)[0],f=o.setMonth(i,0),p=r.shortMonths||(o.locale.getShortMonths?o.locale.getShortMonths(r.locale):[]),g=a?function(e,t){var n=o.setDate(e,1),r=o.setMonth(n,o.getMonth(n)+1),i=o.addDate(r,-1);return a(n,t)&&a(i,t)}:null,h=e.createElement("button",{type:"button",key:"year","aria-label":r.yearSelect,onClick:function(){c("year")},tabIndex:-1,className:"".concat(n,"-year-btn")},fS(i,{locale:r,format:r.yearFormat,generateConfig:o}));return e.createElement(HS.Provider,{value:d},e.createElement("div",{className:u},e.createElement(_S,{superOffset:function(e){return o.addYear(i,e)},onChange:l,getStart:function(e){return o.setMonth(e,0)},getEnd:function(e){return o.setMonth(e,11)}},h),e.createElement(LS,s({},t,{disabledDate:g,titleFormat:r.fieldMonthFormat,colNum:3,rowNum:4,baseDate:f,getCellDate:function(e,t){return o.addMonth(e,t)},getCellText:function(e){var t=o.getMonth(e);return r.monthFormat?fS(e,{locale:r,format:r.monthFormat,generateConfig:o}):p[t]},getCellClassName:function(){return v({},"".concat(n,"-cell-in-view"),!0)}}))))},quarter:function(t){var n=t.prefixCls,r=t.locale,o=t.generateConfig,i=t.pickerValue,a=t.onPickerValueChange,l=t.onModeChange,c="".concat(n,"-quarter-panel"),u=m(BS(t,"quarter"),1)[0],d=o.setMonth(i,0),f=e.createElement("button",{type:"button",key:"year","aria-label":r.yearSelect,onClick:function(){l("year")},tabIndex:-1,className:"".concat(n,"-year-btn")},fS(i,{locale:r,format:r.yearFormat,generateConfig:o}));return e.createElement(HS.Provider,{value:u},e.createElement("div",{className:c},e.createElement(_S,{superOffset:function(e){return o.addYear(i,e)},onChange:a,getStart:function(e){return o.setMonth(e,0)},getEnd:function(e){return o.setMonth(e,11)}},f),e.createElement(LS,s({},t,{titleFormat:r.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:d,getCellDate:function(e,t){return o.addMonth(e,3*t)},getCellText:function(e){return fS(e,{locale:r,format:r.cellQuarterFormat,generateConfig:o})},getCellClassName:function(){return v({},"".concat(n,"-cell-in-view"),!0)}}))))},year:function(t){var n=t.prefixCls,r=t.locale,o=t.generateConfig,i=t.pickerValue,a=t.disabledDate,l=t.onPickerValueChange,c=t.onModeChange,u="".concat(n,"-year-panel"),d=m(BS(t,"year"),1)[0],f=function(e){var t=10*Math.floor(o.getYear(e)/10);return o.setYear(e,t)},p=function(e){var t=f(e);return o.addYear(t,9)},g=f(i),h=p(i),b=o.addYear(g,-1),y=a?function(e,t){var n=o.setMonth(e,0),r=o.setDate(n,1),i=o.addYear(r,1),l=o.addDate(i,-1);return a(r,t)&&a(l,t)}:null,x=e.createElement("button",{type:"button",key:"decade","aria-label":r.decadeSelect,onClick:function(){c("decade")},tabIndex:-1,className:"".concat(n,"-decade-btn")},fS(g,{locale:r,format:r.yearFormat,generateConfig:o}),"-",fS(h,{locale:r,format:r.yearFormat,generateConfig:o}));return e.createElement(HS.Provider,{value:d},e.createElement("div",{className:u},e.createElement(_S,{superOffset:function(e){return o.addYear(i,10*e)},onChange:l,getStart:f,getEnd:p},x),e.createElement(LS,s({},t,{disabledDate:y,titleFormat:r.fieldYearFormat,colNum:3,rowNum:4,baseDate:b,getCellDate:function(e,t){return o.addYear(e,t)},getCellText:function(e){return fS(e,{locale:r,format:r.cellYearFormat,generateConfig:o})},getCellClassName:function(e){return v({},"".concat(n,"-cell-in-view"),nS(o,e,g)||nS(o,e,h)||uS(o,g,h,e))}}))))},decade:function(t){var n=t.prefixCls,r=t.locale,o=t.generateConfig,i=t.pickerValue,a=t.disabledDate,l=t.onPickerValueChange,c="".concat(n,"-decade-panel"),u=m(BS(t,"decade"),1)[0],d=function(e){var t=100*Math.floor(o.getYear(e)/100);return o.setYear(e,t)},f=function(e){var t=d(e);return o.addYear(t,99)},p=d(i),g=f(i),h=o.addYear(p,-10),b=a?function(e,t){var n=o.setDate(e,1),r=o.setMonth(n,0),i=o.setYear(r,10*Math.floor(o.getYear(r)/10)),l=o.addYear(i,10),c=o.addDate(l,-1);return a(i,t)&&a(c,t)}:null,y="".concat(fS(p,{locale:r,format:r.yearFormat,generateConfig:o}),"-").concat(fS(g,{locale:r,format:r.yearFormat,generateConfig:o}));return e.createElement(HS.Provider,{value:u},e.createElement("div",{className:c},e.createElement(_S,{superOffset:function(e){return o.addYear(i,100*e)},onChange:l,getStart:d,getEnd:f},y),e.createElement(LS,s({},t,{disabledDate:b,colNum:3,rowNum:4,baseDate:h,getCellDate:function(e,t){return o.addYear(e,10*t)},getCellText:function(e){var t=r.cellYearFormat,n=fS(e,{locale:r,format:t,generateConfig:o}),i=fS(o.addYear(e,9),{locale:r,format:t,generateConfig:o});return"".concat(n,"-").concat(i)},getCellClassName:function(e){return v({},"".concat(n,"-cell-in-view"),tS(o,e,p)||tS(o,e,g)||uS(o,p,g,e))}}))))},time:YS};function QS(t,n){var r,o=t.locale,i=t.generateConfig,a=t.direction,l=t.prefixCls,c=t.tabIndex,u=void 0===c?0:c,d=t.multiple,f=t.defaultValue,p=t.value,g=t.onChange,h=t.onSelect,b=t.defaultPickerValue,y=t.pickerValue,x=t.onPickerValueChange,C=t.mode,$=t.onPanelChange,S=t.picker,k=void 0===S?"date":S,E=t.showTime,O=t.hoverValue,I=t.hoverRangeValue,N=t.cellRender,M=t.dateRender,P=t.monthCellRender,j=t.components,R=void 0===j?{}:j,T=t.hideHeader,z=(null===(r=e.useContext(j$))||void 0===r?void 0:r.prefixCls)||l||"rc-picker",H=e.useRef();e.useImperativeHandle(n,(function(){return{nativeElement:H.current}}));var D=m(Q$(t),4),B=D[0],A=D[1],L=D[2],F=D[3],_=V$(o,A),W="date"===k&&E?"datetime":k,K=e.useMemo((function(){return Z$(W,L,F,B,_)}),[W,L,F,B,_]),V=i.getNow(),q=m(vc(k,{value:C,postState:function(e){return e||"date"}}),2),X=q[0],G=q[1],U="date"===X&&K?"datetime":X,Q=zS(i,o,W),Z=m(vc(f,{value:p}),2),J=Z[0],ee=Z[1],te=e.useMemo((function(){var e=H$(J).filter((function(e){return e}));return d?e:e.slice(0,1)}),[J,d]),ne=mc((function(e){ee(e),g&&(null===e||te.length!==e.length||te.some((function(t,n){return!sS(i,o,t,e[n],W)})))&&(null==g||g(d?e:e[0]))})),re=mc((function(e){if(null==h||h(e),X===k){var t=d?Q(te,e):[e];ne(t)}})),oe=m(vc(b||te[0]||V,{value:y}),2),ie=oe[0],ae=oe[1];e.useEffect((function(){te[0]&&!y&&ae(te[0])}),[te[0]]);var le=function(e,t){null==$||$(e||y,t||X)},ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];ae(e),null==x||x(e),t&&le(e)},se=function(e,t){G(e),t&&ce(t),le(t,e)},ue=e.useMemo((function(){var e,t;if(Array.isArray(I)){var n=m(I,2);e=n[0],t=n[1]}else e=I;return e||t?(e=e||t,t=t||e,i.isAfter(e,t)?[t,e]:[e,t]):null}),[I,i]),de=_$(N,M,P),fe=R[U]||US[U]||WS,pe=e.useContext(AS),me=e.useMemo((function(){return Y(Y({},pe),{},{hideHeader:T})}),[pe,T]),ge="".concat(z,"-panel"),he=B$(t,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return e.createElement(AS.Provider,{value:me},e.createElement("div",{ref:H,tabIndex:u,className:w(ge,v({},"".concat(ge,"-rtl"),"rtl"===a))},e.createElement(fe,s({},he,{showTime:K,prefixCls:z,locale:_,generateConfig:i,onModeChange:se,pickerValue:ie,onPickerValueChange:function(e){ce(e,!0)},value:te[0],onSelect:function(e){if(re(e),ce(e),X!==k){var t=["decade","year"],n=[].concat(t,["month"]),r={quarter:[].concat(t,["quarter"]),week:[].concat(xi(n),["week"]),date:[].concat(xi(n),["date"])}[k]||n,o=r.indexOf(X),i=r[o+1];i&&se(i,e)}},values:te,cellRender:de,hoverRangeValue:ue,hoverValue:O}))))}var ZS=e.memo(e.forwardRef(QS));function JS(t){var n=t.picker,r=t.multiplePanel,o=t.pickerValue,i=t.onPickerValueChange,a=t.needConfirm,l=t.onSubmit,c=t.range,u=t.hoverValue,d=e.useContext(j$),f=d.prefixCls,p=d.generateConfig,m=e.useCallback((function(e,t){return CS(p,n,e,t)}),[p,n]),g=e.useMemo((function(){return m(o,1)}),[o,m]),h={onCellDblClick:function(){a&&l()}},v="time"===n,b=Y(Y({},t),{},{hoverValue:null,hoverRangeValue:null,hideHeader:v});return c?b.hoverRangeValue=u:b.hoverValue=u,r?e.createElement("div",{className:"".concat(f,"-panels")},e.createElement(AS.Provider,{value:Y(Y({},h),{},{hideNext:!0})},e.createElement(ZS,b)),e.createElement(AS.Provider,{value:Y(Y({},h),{},{hidePrev:!0})},e.createElement(ZS,s({},b,{pickerValue:g,onPickerValueChange:function(e){i(m(e,-1))}})))):e.createElement(AS.Provider,{value:Y({},h)},e.createElement(ZS,b))}function ek(e){return"function"==typeof e?e():e}function tk(t){var n=t.prefixCls,r=t.presets,o=t.onClick,i=t.onHover;return r.length?e.createElement("div",{className:"".concat(n,"-presets")},e.createElement("ul",null,r.map((function(t,n){var r=t.label,a=t.value;return e.createElement("li",{key:n,onClick:function(){o(ek(a))},onMouseEnter:function(){i(ek(a))},onMouseLeave:function(){i(null)}},r)})))):null}function nk(t){var n=t.panelRender,r=t.internalMode,o=t.picker,i=t.showNow,a=t.range,l=t.multiple,c=t.activeInfo,u=void 0===c?[0,0,0]:c,d=t.presets,f=t.onPresetHover,p=t.onPresetSubmit,g=t.onFocus,h=t.onBlur,b=t.onPanelMouseDown,y=t.direction,x=t.value,C=t.onSelect,$=t.isInvalid,S=t.defaultOpenValue,k=t.onOk,E=t.onSubmit,O=e.useContext(j$).prefixCls,I="".concat(O,"-panel"),N="rtl"===y,M=e.useRef(null),P=e.useRef(null),j=m(e.useState(0),2),R=j[0],T=j[1],z=m(e.useState(0),2),H=z[0],D=z[1],B=m(e.useState(0),2),A=B[0],L=B[1],F=m(u,3),_=F[0],W=F[1],K=F[2],V=m(e.useState(0),2),q=V[0],X=V[1];function G(e){return e.filter((function(e){return e}))}e.useEffect((function(){X(10)}),[_]),e.useEffect((function(){if(a&&P.current){var e,t=(null===(e=M.current)||void 0===e?void 0:e.offsetWidth)||0,n=P.current.getBoundingClientRect();if(!n.height||n.right<0)return void X((function(e){return Math.max(0,e-1)}));var r=(N?W-t:_)-n.left;if(L(r),R&&R<K){var o=N?n.right-(W-t+R):_+t-n.left-R,i=Math.max(0,o);D(i)}else D(0)}}),[q,N,R,_,W,K,a]);var Y=e.useMemo((function(){return G(H$(x))}),[x]),U="time"===o&&!Y.length,Q=e.useMemo((function(){return U?G([S]):Y}),[U,Y,S]),Z=U?S:Y,J=e.useMemo((function(){return!Q.length||Q.some((function(e){return $(e)}))}),[Q,$]),ee=e.createElement("div",{className:"".concat(O,"-panel-layout")},e.createElement(tk,{prefixCls:O,presets:d,onClick:p,onHover:f}),e.createElement("div",null,e.createElement(JS,s({},t,{value:Z})),e.createElement(TS,s({},t,{showNow:!l&&i,invalid:J,onSubmit:function(){U&&C(S),k(),E()}}))));n&&(ee=n(ee));var te="".concat(I,"-container"),ne="marginLeft",re="marginRight",oe=e.createElement("div",{onMouseDown:b,tabIndex:-1,className:w(te,"".concat(O,"-").concat(r,"-panel-container")),style:v(v({},N?re:ne,H),N?ne:re,"auto"),onFocus:g,onBlur:h},ee);return a&&(oe=e.createElement("div",{onMouseDown:b,ref:P,className:w("".concat(O,"-range-wrapper"),"".concat(O,"-").concat(o,"-range-wrapper"))},e.createElement("div",{ref:M,className:"".concat(O,"-range-arrow"),style:{left:A}}),e.createElement(bi,{onResize:function(e){e.width&&T(e.width)}},oe))),oe}function rk(t,n){var r=t.format,o=t.maskFormat,i=t.generateConfig,a=t.locale,l=t.preserveInvalidOnBlur,c=t.inputReadOnly,s=t.required,u=t["aria-required"],d=t.onSubmit,f=t.onFocus,p=t.onBlur,m=t.onInputChange,g=t.onInvalid,h=t.open,v=t.onOpenChange,b=t.onKeyDown,y=t.onChange,x=t.activeHelp,C=t.name,w=t.autoComplete,$=t.id,S=t.value,k=t.invalid,E=t.placeholder,O=t.disabled,I=t.activeIndex,N=t.allHelp,M=t.picker,P=function(e,t){var n=i.locale.parse(a.locale,e,[t]);return n&&i.isValidate(n)?n:null},j=r[0],R=e.useCallback((function(e){return fS(e,{locale:a,format:j,generateConfig:i})}),[a,i,j]),T=e.useMemo((function(){return S.map(R)}),[S,R]),z=e.useMemo((function(){var e="time"===M?8:10,t="function"==typeof j?j(i.getNow()).length:j.length;return Math.max(e,t)+2}),[j,M,i]),H=function(e){for(var t=0;t<r.length;t+=1){var n=r[t];if("string"==typeof n){var o=P(e,n);if(o)return o}}return!1};return[function(e){function r(t){return void 0!==e?t[e]:t}var i=Y(Y({},au(t,{aria:!0,data:!0})),{},{format:o,validateFormat:function(e){return!!H(e)},preserveInvalidOnBlur:l,readOnly:c,required:s,"aria-required":u,name:C,autoComplete:w,size:z,id:r($),value:r(T)||"",invalid:r(k),placeholder:r(E),active:I===e,helped:N||x&&I===e,disabled:r(O),onFocus:function(t){f(t,e)},onBlur:function(t){p(t,e)},onSubmit:d,onChange:function(t){m();var n=H(t);if(n)return g(!1,e),void y(n,e);g(!!t,e)},onHelp:function(){v(!0,{index:e})},onKeyDown:function(t){var n=!1;if(null==b||b(t,(function(){n=!0})),!t.defaultPrevented&&!n)switch(t.key){case"Escape":v(!1,{index:e});break;case"Enter":h||v(!0)}}},null==n?void 0:n({valueTexts:T}));return Object.keys(i).forEach((function(e){void 0===i[e]&&delete i[e]})),i},R]}var ok=["onMouseEnter","onMouseLeave"];function ik(t){return e.useMemo((function(){return B$(t,ok)}),[t])}var ak=["icon","type"],lk=["onClear"];function ck(t){var n=t.icon,r=t.type,o=b(t,ak),i=e.useContext(j$).prefixCls;return n?e.createElement("span",s({className:"".concat(i,"-").concat(r)},o),n):null}function sk(t){var n=t.onClear,r=b(t,lk);return e.createElement(ck,s({},r,{type:"clear",role:"button",onMouseDown:function(e){e.preventDefault()},onClick:function(e){e.stopPropagation(),n()}}))}var uk=["YYYY","MM","DD","HH","mm","ss","SSS"],dk=function(){function e(t){oi(this,e),v(this,"format",void 0),v(this,"maskFormat",void 0),v(this,"cells",void 0),v(this,"maskCells",void 0),this.format=t;var n=uk.map((function(e){return"(".concat(e,")")})).join("|"),r=new RegExp(n,"g");this.maskFormat=t.replace(r,(function(e){return"顧".repeat(e.length)}));var o=new RegExp("(".concat(uk.join("|"),")")),i=(t.split(o)||[]).filter((function(e){return e})),a=0;this.cells=i.map((function(e){var t=uk.includes(e),n=a,r=a+e.length;return a=r,{text:e,mask:t,start:n,end:r}})),this.maskCells=this.cells.filter((function(e){return e.mask}))}return ai(e,[{key:"getSelection",value:function(e){var t=this.maskCells[e]||{};return[t.start||0,t.end||0]}},{key:"match",value:function(e){for(var t=0;t<this.maskFormat.length;t+=1){var n=this.maskFormat[t],r=e[t];if(!r||"顧"!==n&&n!==r)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(e){for(var t=Number.MAX_SAFE_INTEGER,n=0,r=0;r<this.maskCells.length;r+=1){var o=this.maskCells[r],i=o.start,a=o.end;if(e>=i&&e<=a)return r;var l=Math.min(Math.abs(e-i),Math.abs(e-a));l<t&&(t=l,n=r)}return n}}]),e}();var fk=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"],pk=e.forwardRef((function(t,n){var r=t.active,o=t.showActiveCls,i=void 0===o||o,a=t.suffixIcon,l=t.format,c=t.validateFormat,u=t.onChange;t.onInput;var d=t.helped,f=t.onHelp,p=t.onSubmit,g=t.onKeyDown,h=t.preserveInvalidOnBlur,y=void 0!==h&&h,x=t.invalid,C=t.clearIcon,$=b(t,fk),S=t.value,k=t.onFocus,E=t.onBlur,O=t.onMouseUp,I=e.useContext(j$),N=I.prefixCls,M=I.input,P=void 0===M?"input":M,j="".concat(N,"-input"),R=m(e.useState(!1),2),T=R[0],z=R[1],H=m(e.useState(S),2),D=H[0],B=H[1],A=m(e.useState(""),2),L=A[0],F=A[1],_=m(e.useState(null),2),W=_[0],K=_[1],V=m(e.useState(null),2),q=V[0],X=V[1],G=D||"";e.useEffect((function(){B(S)}),[S]);var Y=e.useRef(),U=e.useRef();e.useImperativeHandle(n,(function(){return{nativeElement:Y.current,inputElement:U.current,focus:function(e){U.current.focus(e)},blur:function(){U.current.blur()}}}));var Q=e.useMemo((function(){return new dk(l||"")}),[l]),Z=m(e.useMemo((function(){return d?[0,0]:Q.getSelection(W)}),[Q,W,d]),2),J=Z[0],ee=Z[1],te=function(e){e&&e!==l&&e!==S&&f()},ne=mc((function(e){c(e)&&u(e),B(e),te(e)})),re=e.useRef(!1),oe=function(e){E(e)};yS(r,(function(){r||y||B(S)}));var ie=function(e){"Enter"===e.key&&c(G)&&p(),null==g||g(e)},ae=e.useRef();Zi((function(){if(T&&l&&!re.current){if(Q.match(G))return U.current.setSelectionRange(J,ee),ae.current=Ei((function(){U.current.setSelectionRange(J,ee)})),function(){Ei.cancel(ae.current)};ne(l)}}),[Q,l,T,G,W,J,ee,q,ne]);var le=l?{onFocus:function(e){z(!0),K(0),F(""),k(e)},onBlur:function(e){z(!1),oe(e)},onKeyDown:function(e){ie(e);var t=e.key,n=null,r=null,o=ee-J,i=l.slice(J,ee),a=function(e){K((function(t){var n=t+e;return n=Math.max(n,0),n=Math.min(n,Q.size()-1)}))},c=function(e){var t=function(e){return{YYYY:[0,9999,(new Date).getFullYear()],MM:[1,12],DD:[1,31],HH:[0,23],mm:[0,59],ss:[0,59],SSS:[0,999]}[e]}(i),n=m(t,3),r=n[0],o=n[1],a=n[2],l=G.slice(J,ee),c=Number(l);if(isNaN(c))return String(a||(e>0?r:o));var s=o-r+1;return String(r+(s+(c+e)-r)%s)};switch(t){case"Backspace":case"Delete":n="",r=i;break;case"ArrowLeft":n="",a(-1);break;case"ArrowRight":n="",a(1);break;case"ArrowUp":n="",r=c(1);break;case"ArrowDown":n="",r=c(-1);break;default:isNaN(Number(t))||(r=n=L+t)}if(null!==n&&(F(n),n.length>=o&&(a(1),F(""))),null!==r){var s=G.slice(0,J)+z$(r,o)+G.slice(ee);ne(s.slice(0,l.length))}X({})},onMouseDown:function(){re.current=!0},onMouseUp:function(e){var t=e.target.selectionStart,n=Q.getMaskCellIndex(t);K(n),X({}),null==O||O(e),re.current=!1},onPaste:function(e){var t=e.clipboardData.getData("text");c(t)&&ne(t)}}:{};return e.createElement("div",{ref:Y,className:w(j,v(v({},"".concat(j,"-active"),r&&i),"".concat(j,"-placeholder"),d))},e.createElement(P,s({ref:U,"aria-invalid":x,autoComplete:"off"},$,{onKeyDown:ie,onBlur:oe},le,{value:G,onChange:function(e){if(!l){var t=e.target.value;te(t),B(t),u(t)}}})),e.createElement(ck,{type:"suffix",icon:a}),C)})),mk=["id","prefix","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveInfo","placement","onMouseDown","required","aria-required","autoFocus","tabIndex"],gk=["index"];function hk(t,n){var r=t.id,o=t.prefix,i=t.clearIcon,a=t.suffixIcon,l=t.separator,c=void 0===l?"~":l,u=t.activeIndex;t.activeHelp,t.allHelp;var d=t.focused;t.onFocus,t.onBlur,t.onKeyDown,t.locale,t.generateConfig;var f=t.placeholder,p=t.className,h=t.style,y=t.onClick,x=t.onClear,C=t.value;t.onChange,t.onSubmit,t.onInputChange,t.format,t.maskFormat,t.preserveInvalidOnBlur,t.onInvalid;var $=t.disabled,S=t.invalid;t.inputReadOnly;var k=t.direction;t.onOpenChange;var E=t.onActiveInfo;t.placement;var O=t.onMouseDown;t.required,t["aria-required"];var I=t.autoFocus,N=t.tabIndex,M=b(t,mk),P="rtl"===k,j=e.useContext(j$).prefixCls,R=e.useMemo((function(){if("string"==typeof r)return[r];var e=r||{};return[e.start,e.end]}),[r]),T=e.useRef(),z=e.useRef(),H=e.useRef(),D=function(e){var t;return null===(t=[z,H][e])||void 0===t?void 0:t.current};e.useImperativeHandle(n,(function(){return{nativeElement:T.current,focus:function(e){if("object"===g(e)){var t,n=e||{},r=n.index,o=void 0===r?0:r,i=b(n,gk);null===(t=D(o))||void 0===t||t.focus(i)}else{var a;null===(a=D(null!=e?e:0))||void 0===a||a.focus()}},blur:function(){var e,t;null===(e=D(0))||void 0===e||e.blur(),null===(t=D(1))||void 0===t||t.blur()}}}));var B=ik(M),A=e.useMemo((function(){return Array.isArray(f)?f:[f,f]}),[f]),L=m(rk(Y(Y({},t),{},{id:R,placeholder:A})),1)[0],F=m(e.useState({position:"absolute",width:0}),2),_=F[0],W=F[1],K=mc((function(){var e=D(u);if(e){var t=e.nativeElement.getBoundingClientRect(),n=T.current.getBoundingClientRect(),r=t.left-n.left;W((function(e){return Y(Y({},e),{},{width:t.width,left:r})})),E([t.left,t.right,n.width])}}));e.useEffect((function(){K()}),[u]);var V=i&&(C[0]&&!$[0]||C[1]&&!$[1]),q=I&&!$[0],X=I&&!q&&!$[1];return e.createElement(bi,{onResize:K},e.createElement("div",s({},B,{className:w(j,"".concat(j,"-range"),v(v(v(v({},"".concat(j,"-focused"),d),"".concat(j,"-disabled"),$.every((function(e){return e}))),"".concat(j,"-invalid"),S.some((function(e){return e}))),"".concat(j,"-rtl"),P),p),style:h,ref:T,onClick:y,onMouseDown:function(e){var t=e.target;t!==z.current.inputElement&&t!==H.current.inputElement&&e.preventDefault(),null==O||O(e)}}),o&&e.createElement("div",{className:"".concat(j,"-prefix")},o),e.createElement(pk,s({ref:z},L(0),{autoFocus:q,tabIndex:N,"date-range":"start"})),e.createElement("div",{className:"".concat(j,"-range-separator")},c),e.createElement(pk,s({ref:H},L(1),{autoFocus:X,tabIndex:N,"date-range":"end"})),e.createElement("div",{className:"".concat(j,"-active-bar"),style:_}),e.createElement(ck,{type:"suffix",icon:a}),V&&e.createElement(sk,{icon:i,onClear:x})))}var vk=e.forwardRef(hk);function bk(e,t){var n=null!=e?e:t;return Array.isArray(n)?n:[n,n]}function yk(e){return 1===e?"end":"start"}function xk(t,n){var r=m(gS(t,(function(){var e=t.disabled,n=t.allowEmpty;return{disabled:bk(e,!1),allowEmpty:bk(n,!1)}})),6),o=r[0],i=r[1],a=r[2],l=r[3],c=r[4],u=r[5],d=o.prefixCls,f=o.styles,p=o.classNames,g=o.defaultValue,h=o.value,v=o.needConfirm,b=o.onKeyDown,y=o.disabled,x=o.allowEmpty,C=o.disabledDate,w=o.minDate,$=o.maxDate,S=o.defaultOpen,k=o.open,E=o.onOpenChange,O=o.locale,I=o.generateConfig,N=o.picker,M=o.showNow,P=o.showToday,j=o.showTime,R=o.mode,T=o.onPanelChange,z=o.onCalendarChange,H=o.onOk,D=o.defaultPickerValue,B=o.pickerValue,A=o.onPickerValueChange,L=o.inputReadOnly,F=o.suffixIcon,_=o.onFocus,W=o.onBlur,K=o.presets,V=o.ranges,q=o.components,X=o.cellRender,G=o.dateRender,U=o.monthCellRender,Q=o.onClick,Z=vS(n),J=m(hS(k,S,y,E),2),ee=J[0],te=J[1],ne=function(e,t){!y.some((function(e){return!e}))&&e||te(e,t)},re=m(IS(I,O,l,!0,!1,g,h,z,H),5),oe=re[0],ie=re[1],ae=re[2],le=re[3],ce=re[4],se=ae(),ue=m(xS(y,x,ee),9),de=ue[0],fe=ue[1],pe=ue[2],me=ue[3],ge=ue[4],he=ue[5],ve=ue[6],be=ue[7],ye=ue[8],xe=function(e,t){fe(!0),null==_||_(e,{range:yk(null!=t?t:me)})},Ce=function(e,t){fe(!1),null==W||W(e,{range:yk(null!=t?t:me)})},we=e.useMemo((function(){if(!j)return null;var e=j.disabledTime,t=e?function(t){var n=yk(me),r=L$(se,ve,me);return e(t,n,{from:r})}:void 0;return Y(Y({},j),{},{disabledTime:t})}),[j,me,se,ve]),$e=m(vc([N,N],{value:R}),2),Se=$e[0],ke=$e[1],Ee=Se[me]||N,Oe="date"===Ee&&we?"datetime":Ee,Ie=Oe===N&&"time"!==Oe,Ne=MS(N,Ee,M,P,!0),Me=m(NS(o,oe,ie,ae,le,y,l,de,ee,u),2),Pe=Me[0],je=Me[1],Re=function(e,t,n,r,o,i){var a=n[n.length-1];return function(l,c){var s=m(e,2),u=s[0],d=s[1],f=Y(Y({},c),{},{from:L$(e,n)});return!(1!==a||!t[0]||!u||sS(r,o,u,l,f.type)||!r.isAfter(u,l))||!(0!==a||!t[1]||!d||sS(r,o,d,l,f.type)||!r.isAfter(l,d))||(null==i?void 0:i(l,f))}}(se,y,ve,I,O,C),Te=m(W$(se,u,x),2),ze=Te[0],He=Te[1],De=m($S(I,O,se,Se,ee,me,i,Ie,D,B,null==we?void 0:we.defaultOpenValue,A,w,$),2),Be=De[0],Ae=De[1],Le=mc((function(e,t,n){var r=D$(Se,me,t);if(r[0]===Se[0]&&r[1]===Se[1]||ke(r),T&&!1!==n){var o=xi(se);e&&(o[me]=e),T(o,r)}})),Fe=function(e,t){return D$(se,t,e)},_e=function(e,t){var n=se;e&&(n=Fe(e,me)),be(me);var r=he(n);le(n),Pe(me,null===r),null===r?ne(!1,{force:!0}):t||Z.current.focus({index:r})},We=m(e.useState(null),2),Ke=We[0],Ve=We[1],qe=m(e.useState(null),2),Xe=qe[0],Ge=qe[1],Ye=e.useMemo((function(){return Xe||se}),[se,Xe]);e.useEffect((function(){ee||Ge(null)}),[ee]);var Ue=m(e.useState([0,0,0]),2),Qe=Ue[0],Ze=Ue[1],Je=bS(K,V),et=_$(X,G,U,yk(me)),tt=se[me]||null,nt=mc((function(e){return u(e,{activeIndex:me})})),rt=e.useMemo((function(){var e=au(o,!1);return bd(o,[].concat(xi(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]))}),[o]),ot=e.createElement(nk,s({},rt,{showNow:Ne,showTime:we,range:!0,multiplePanel:Ie,activeInfo:Qe,disabledDate:Re,onFocus:function(e){ne(!0),xe(e)},onBlur:Ce,onPanelMouseDown:function(){pe("panel")},picker:N,mode:Ee,internalMode:Oe,onPanelChange:Le,format:c,value:tt,isInvalid:nt,onChange:null,onSelect:function(e){var t=D$(se,me,e);le(t),v||a||i!==Oe||_e(e)},pickerValue:Be,defaultOpenValue:H$(null==j?void 0:j.defaultOpenValue)[me],onPickerValueChange:Ae,hoverValue:Ye,onHover:function(e){Ge(e?Fe(e,me):null),Ve("cell")},needConfirm:v,onSubmit:_e,onOk:ce,presets:Je,onPresetHover:function(e){Ge(e),Ve("preset")},onPresetSubmit:function(e){je(e)&&ne(!1,{force:!0})},onNow:function(e){_e(e)},cellRender:et})),it=e.useMemo((function(){return{prefixCls:d,locale:O,generateConfig:I,button:q.button,input:q.input}}),[d,O,I,q.button,q.input]);return Zi((function(){ee&&void 0!==me&&Le(null,N,!1)}),[ee,me,N]),Zi((function(){var e=pe();ee||"input"!==e||(ne(!1),_e(null,!0)),ee||!a||v||"panel"!==e||(ne(!0),_e())}),[ee]),e.createElement(j$.Provider,{value:it},e.createElement(T$,s({},F$(o),{popupElement:ot,popupStyle:f.popup,popupClassName:p.popup,visible:ee,onClose:function(){ne(!1)},range:!0}),e.createElement(vk,s({},o,{ref:Z,suffixIcon:F,activeIndex:de||ee?me:null,activeHelp:!!Xe,allHelp:!!Xe&&"preset"===Ke,focused:de,onFocus:function(e,t){var n=ve.length,r=ve[n-1];n&&r!==t&&v&&!x[r]&&!ye(r)&&se[r]?Z.current.focus({index:r}):(pe("input"),ne(!0,{inherit:!0}),me!==t&&ee&&!v&&a&&_e(null,!0),ge(t),xe(e,t))},onBlur:function(e,t){if(ne(!1),!v&&"input"===pe()){var n=he(se);Pe(me,null===n)}Ce(e,t)},onKeyDown:function(e,t){"Tab"===e.key&&_e(null,!0),null==b||b(e,t)},onSubmit:_e,value:Ye,maskFormat:c,onChange:function(e,t){var n=Fe(e,t);le(n)},onInputChange:function(){pe("input")},format:l,inputReadOnly:L,disabled:y,open:ee,onOpenChange:ne,onClick:function(e){var t,n=e.target.getRootNode();if(!Z.current.nativeElement.contains(null!==(t=n.activeElement)&&void 0!==t?t:document.activeElement)){var r=y.findIndex((function(e){return!e}));r>=0&&Z.current.focus({index:r})}ne(!0),null==Q||Q(e)},onClear:function(){je(null),ne(!1,{force:!0})},invalid:ze,onInvalid:He,onActiveInfo:Ze}))))}var Ck=e.forwardRef(xk);function wk(t){var n=t.prefixCls,r=t.value,o=t.onRemove,i=t.removeIcon,a=void 0===i?"×":i,l=t.formatDate,c=t.disabled,s=t.maxTagCount,u=t.placeholder,d="".concat(n,"-selector"),f="".concat(n,"-selection"),p="".concat(f,"-overflow");function m(t,n){return e.createElement("span",{className:w("".concat(f,"-item")),title:"string"==typeof t?t:null},e.createElement("span",{className:"".concat(f,"-item-content")},t),!c&&n&&e.createElement("span",{onMouseDown:function(e){e.preventDefault()},onClick:n,className:"".concat(f,"-item-remove")},a))}return e.createElement("div",{className:d},e.createElement(Bv,{prefixCls:p,data:r,renderItem:function(e){return m(l(e),(function(t){t&&t.stopPropagation(),o(e)}))},renderRest:function(e){return m("+ ".concat(e.length," ..."))},itemKey:function(e){return l(e)},maxCount:s}),!r.length&&e.createElement("span",{className:"".concat(n,"-selection-placeholder")},u))}var $k=["id","open","prefix","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","tabIndex","removeIcon"];function Sk(t,n){t.id;var r=t.open,o=t.prefix,i=t.clearIcon,a=t.suffixIcon;t.activeHelp,t.allHelp;var l=t.focused;t.onFocus,t.onBlur,t.onKeyDown;var c=t.locale,u=t.generateConfig,d=t.placeholder,f=t.className,p=t.style,g=t.onClick,h=t.onClear,y=t.internalPicker,x=t.value,C=t.onChange,$=t.onSubmit;t.onInputChange;var S=t.multiple,k=t.maxTagCount;t.format,t.maskFormat,t.preserveInvalidOnBlur,t.onInvalid;var E=t.disabled,O=t.invalid;t.inputReadOnly;var I=t.direction;t.onOpenChange;var N=t.onMouseDown;t.required,t["aria-required"];var M=t.autoFocus,P=t.tabIndex,j=t.removeIcon,R=b(t,$k),T="rtl"===I,z=e.useContext(j$).prefixCls,H=e.useRef(),D=e.useRef();e.useImperativeHandle(n,(function(){return{nativeElement:H.current,focus:function(e){var t;null===(t=D.current)||void 0===t||t.focus(e)},blur:function(){var e;null===(e=D.current)||void 0===e||e.blur()}}}));var B=ik(R),A=m(rk(Y(Y({},t),{},{onChange:function(e){C([e])}}),(function(e){return{value:e.valueTexts[0]||"",active:l}})),2),L=A[0],F=A[1],_=!(!i||!x.length||E),W=S?e.createElement(e.Fragment,null,e.createElement(wk,{prefixCls:z,value:x,onRemove:function(e){var t=x.filter((function(t){return t&&!sS(u,c,t,e,y)}));C(t),r||$()},formatDate:F,maxTagCount:k,disabled:E,removeIcon:j,placeholder:d}),e.createElement("input",{className:"".concat(z,"-multiple-input"),value:x.map(F).join(","),ref:D,readOnly:!0,autoFocus:M,tabIndex:P}),e.createElement(ck,{type:"suffix",icon:a}),_&&e.createElement(sk,{icon:i,onClear:h})):e.createElement(pk,s({ref:D},L(),{autoFocus:M,tabIndex:P,suffixIcon:a,clearIcon:_&&e.createElement(sk,{icon:i,onClear:h}),showActiveCls:!1}));return e.createElement("div",s({},B,{className:w(z,v(v(v(v(v({},"".concat(z,"-multiple"),S),"".concat(z,"-focused"),l),"".concat(z,"-disabled"),E),"".concat(z,"-invalid"),O),"".concat(z,"-rtl"),T),f),style:p,ref:H,onClick:g,onMouseDown:function(e){var t;e.target!==(null===(t=D.current)||void 0===t?void 0:t.inputElement)&&e.preventDefault(),null==N||N(e)}}),o&&e.createElement("div",{className:"".concat(z,"-prefix")},o),W)}var kk=e.forwardRef(Sk);function Ek(t,n){var r=m(gS(t),6),o=r[0],i=r[1],a=r[2],l=r[3],c=r[4],u=r[5],d=o,f=d.prefixCls,p=d.styles,g=d.classNames,h=d.order,v=d.defaultValue,b=d.value,y=d.needConfirm,x=d.onChange,C=d.onKeyDown,w=d.disabled,$=d.disabledDate,S=d.minDate,k=d.maxDate,E=d.defaultOpen,O=d.open,I=d.onOpenChange,N=d.locale,M=d.generateConfig,P=d.picker,j=d.showNow,R=d.showToday,T=d.showTime,z=d.mode,H=d.onPanelChange,D=d.onCalendarChange,B=d.onOk,A=d.multiple,L=d.defaultPickerValue,F=d.pickerValue,_=d.onPickerValueChange,W=d.inputReadOnly,K=d.suffixIcon,V=d.removeIcon,q=d.onFocus,X=d.onBlur,G=d.presets,U=d.components,Q=d.cellRender,Z=d.dateRender,J=d.monthCellRender,ee=d.onClick,te=vS(n);function ne(e){return null===e?null:A?e:e[0]}var re=zS(M,N,i),oe=m(hS(O,E,[w],I),2),ie=oe[0],ae=oe[1],le=m(IS(M,N,l,!1,h,v,b,(function(e,t,n){if(D){var r=Y({},n);delete r.range,D(ne(e),ne(t),r)}}),(function(e){null==B||B(ne(e))})),5),ce=le[0],se=le[1],ue=le[2],de=le[3],fe=le[4],pe=ue(),me=m(xS([w]),4),ge=me[0],he=me[1],ve=me[2],be=me[3],ye=function(e){he(!0),null==q||q(e,{})},xe=function(e){he(!1),null==X||X(e,{})},Ce=m(vc(P,{value:z}),2),we=Ce[0],$e=Ce[1],Se="date"===we&&T?"datetime":we,ke=MS(P,we,j,R),Ee=x&&function(e,t){x(ne(e),ne(t))},Oe=m(NS(Y(Y({},o),{},{onChange:Ee}),ce,se,ue,de,[],l,ge,ie,u),2)[1],Ie=m(W$(pe,u),2),Ne=Ie[0],Me=Ie[1],Pe=e.useMemo((function(){return Ne.some((function(e){return e}))}),[Ne]),je=m($S(M,N,pe,[we],ie,be,i,!1,L,F,H$(null==T?void 0:T.defaultOpenValue),(function(e,t){if(_){var n=Y(Y({},t),{},{mode:t.mode[0]});delete n.range,_(e[0],n)}}),S,k),2),Re=je[0],Te=je[1],ze=mc((function(e,t,n){if($e(t),H&&!1!==n){var r=e||pe[pe.length-1];H(r,t)}})),He=function(){Oe(ue()),ae(!1,{force:!0})},De=m(e.useState(null),2),Be=De[0],Ae=De[1],Le=m(e.useState(null),2),Fe=Le[0],_e=Le[1],We=e.useMemo((function(){var e=[Fe].concat(xi(pe)).filter((function(e){return e}));return A?e:e.slice(0,1)}),[pe,Fe,A]),Ke=e.useMemo((function(){return!A&&Fe?[Fe]:pe.filter((function(e){return e}))}),[pe,Fe,A]);e.useEffect((function(){ie||_e(null)}),[ie]);var Ve=bS(G),qe=function(e){var t=A?re(ue(),e):[e];Oe(t)&&!A&&ae(!1,{force:!0})},Xe=_$(Q,Z,J),Ge=e.useMemo((function(){var e=au(o,!1);return Y(Y({},bd(o,[].concat(xi(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange"]))),{},{multiple:o.multiple})}),[o]),Ye=e.createElement(nk,s({},Ge,{showNow:ke,showTime:T,disabledDate:$,onFocus:function(e){ae(!0),ye(e)},onBlur:xe,picker:P,mode:we,internalMode:Se,onPanelChange:ze,format:c,value:pe,isInvalid:u,onChange:null,onSelect:function(e){if(ve("panel"),!A||Se===P){var t=A?re(ue(),e):[e];de(t),y||a||i!==Se||He()}},pickerValue:Re,defaultOpenValue:null==T?void 0:T.defaultOpenValue,onPickerValueChange:Te,hoverValue:We,onHover:function(e){_e(e),Ae("cell")},needConfirm:y,onSubmit:He,onOk:fe,presets:Ve,onPresetHover:function(e){_e(e),Ae("preset")},onPresetSubmit:qe,onNow:function(e){qe(e)},cellRender:Xe})),Ue=e.useMemo((function(){return{prefixCls:f,locale:N,generateConfig:M,button:U.button,input:U.input}}),[f,N,M,U.button,U.input]);return Zi((function(){ie&&void 0!==be&&ze(null,P,!1)}),[ie,be,P]),Zi((function(){var e=ve();ie||"input"!==e||(ae(!1),He()),ie||!a||y||"panel"!==e||He()}),[ie]),e.createElement(j$.Provider,{value:Ue},e.createElement(T$,s({},F$(o),{popupElement:Ye,popupStyle:p.popup,popupClassName:g.popup,visible:ie,onClose:function(){ae(!1)}}),e.createElement(kk,s({},o,{ref:te,suffixIcon:K,removeIcon:V,activeHelp:!!Fe,allHelp:!!Fe&&"preset"===Be,focused:ge,onFocus:function(e){ve("input"),ae(!0,{inherit:!0}),ye(e)},onBlur:function(e){ae(!1),xe(e)},onKeyDown:function(e,t){"Tab"===e.key&&He(),null==C||C(e,t)},onSubmit:He,value:Ke,maskFormat:c,onChange:function(e){de(e)},onInputChange:function(){ve("input")},internalPicker:i,format:l,inputReadOnly:W,disabled:w,open:ie,onOpenChange:ae,onClick:function(e){w||te.current.nativeElement.contains(document.activeElement)||te.current.focus(),ae(!0),null==ee||ee(e)},onClear:function(){Oe(null),ae(!1,{force:!0})},invalid:Pe,onInvalid:function(e){Me(e,0)}}))))}var Ok=e.forwardRef(Ek);const Ik=e.createContext(null),Nk=Ik.Provider,Mk=e.createContext(null),Pk=Mk.Provider;var jk=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],Rk=e.forwardRef((function(t,n){var r=t.prefixCls,o=void 0===r?"rc-checkbox":r,i=t.className,a=t.style,l=t.checked,c=t.disabled,u=t.defaultChecked,d=void 0!==u&&u,f=t.type,p=void 0===f?"checkbox":f,g=t.title,h=t.onChange,y=b(t,jk),x=e.useRef(null),C=e.useRef(null),$=m(vc(d,{value:l}),2),S=$[0],k=$[1];e.useImperativeHandle(n,(function(){return{focus:function(e){var t;null===(t=x.current)||void 0===t||t.focus(e)},blur:function(){var e;null===(e=x.current)||void 0===e||e.blur()},input:x.current,nativeElement:C.current}}));var E=w(o,i,v(v({},"".concat(o,"-checked"),S),"".concat(o,"-disabled"),c));return e.createElement("span",{className:E,title:g,style:a,ref:C},e.createElement("input",s({},y,{className:"".concat(o,"-input"),ref:x,onChange:function(e){c||("checked"in t||k(e.target.checked),null==h||h({target:Y(Y({},t),{},{type:p,checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},disabled:c,checked:!!S,type:p})),e.createElement("span",{className:"".concat(o,"-inner")}))}));function Tk(e){const t=n.useRef(null),r=()=>{Ei.cancel(t.current),t.current=null};return[()=>{r(),t.current=Ei((()=>{t.current=null}))},n=>{t.current&&(n.stopPropagation(),r()),null==e||e(n)}]}const zk=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},Ac(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`&${r}-block`]:{display:"flex"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},Hk=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:o,motionDurationSlow:i,motionDurationMid:a,motionEaseInOutCirc:l,colorBgContainer:c,colorBorder:s,lineWidth:u,colorBgContainerDisabled:d,colorTextDisabled:f,paddingXS:p,dotColorDisabled:m,lineType:g,radioColor:h,radioBgColor:v,calc:b}=e,y=`${t}-inner`,x=b(o).sub(b(4).mul(2)),C=b(1).mul(o).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},Ac(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${qi(u)} ${g} ${r}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},Ac(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &,\n &:hover ${y}`]:{borderColor:r},[`${t}-input:focus-visible + ${y}`]:Object.assign({},Lc(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:C,height:C,marginBlockStart:b(1).mul(o).div(-2).equal({unit:!0}),marginInlineStart:b(1).mul(o).div(-2).equal({unit:!0}),backgroundColor:h,borderBlockStart:0,borderInlineStart:0,borderRadius:C,transform:"scale(0)",opacity:0,transition:`all ${i} ${l}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:C,height:C,backgroundColor:c,borderColor:s,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[y]:{borderColor:r,backgroundColor:v,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${i} ${l}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[y]:{backgroundColor:d,borderColor:s,cursor:"not-allowed","&::after":{backgroundColor:m}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[y]:{"&::after":{transform:`scale(${b(x).div(o).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:p,paddingInlineEnd:p}})}},Dk=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:i,colorBorder:a,motionDurationSlow:l,motionDurationMid:c,buttonPaddingInline:s,fontSize:u,buttonBg:d,fontSizeLG:f,controlHeightLG:p,controlHeightSM:m,paddingXS:g,borderRadius:h,borderRadiusSM:v,borderRadiusLG:b,buttonCheckedBg:y,buttonSolidCheckedColor:x,colorTextDisabled:C,colorBgContainerDisabled:w,buttonCheckedBgDisabled:$,buttonCheckedColorDisabled:S,colorPrimary:k,colorPrimaryHover:E,colorPrimaryActive:O,buttonSolidCheckedBg:I,buttonSolidCheckedHoverBg:N,buttonSolidCheckedActiveBg:M,calc:P}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:s,paddingBlock:0,color:t,fontSize:u,lineHeight:qi(P(n).sub(P(o).mul(2)).equal()),background:d,border:`${qi(o)} ${i} ${a}`,borderBlockStartWidth:P(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${c}`,`background ${c}`,`box-shadow ${c}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:P(o).mul(-1).equal(),insetInlineStart:P(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:a,transition:`background-color ${l}`,content:'""'}},"&:first-child":{borderInlineStart:`${qi(o)} ${i} ${a}`,borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h},"&:first-child:last-child":{borderRadius:h},[`${r}-group-large &`]:{height:p,fontSize:f,lineHeight:qi(P(p).sub(P(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${r}-group-small &`]:{height:m,paddingInline:P(g).sub(o).equal(),paddingBlock:0,lineHeight:qi(P(m).sub(P(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},"&:hover":{position:"relative",color:k},"&:has(:focus-visible)":Object.assign({},Lc(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:k,background:y,borderColor:k,"&::before":{backgroundColor:k},"&:first-child":{borderColor:k},"&:hover":{color:E,borderColor:E,"&::before":{backgroundColor:E}},"&:active":{color:O,borderColor:O,"&::before":{backgroundColor:O}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:x,background:I,borderColor:I,"&:hover":{color:x,background:N,borderColor:N},"&:active":{color:x,background:M,borderColor:M}},"&-disabled":{color:C,backgroundColor:w,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:C,backgroundColor:w,borderColor:a}},[`&-disabled${r}-button-wrapper-checked`]:{color:S,backgroundColor:$,borderColor:a,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},Bk=Kc("Radio",(e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${qi(n)} ${t}`,o=Cc(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[zk(o),Hk(o),Dk(o)]}),(e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:o,fontSizeLG:i,colorText:a,colorBgContainer:l,colorTextDisabled:c,controlItemBgActiveDisabled:s,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:p,colorWhite:m}=e;return{radioSize:i,dotSize:t?i-8:i-2*(4+o),dotColorDisabled:c,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:p,buttonBg:l,buttonCheckedBg:l,buttonColor:a,buttonCheckedBgDisabled:s,buttonCheckedColorDisabled:c,buttonPaddingInline:n-o,wrapperMarginInlineEnd:r,radioColor:t?d:m,radioBgColor:t?l:d}}),{unitless:{radioSize:!0,dotSize:!0}});var Ak=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Lk=(t,n)=>{var r,o;const i=e.useContext(Ik),a=e.useContext(Mk),{getPrefixCls:l,direction:c,radio:s}=e.useContext(Ul),u=e.useRef(null),d=$o(n,u),{isFormItemInput:f}=e.useContext(Fg),p=e=>{var n,r;null===(n=t.onChange)||void 0===n||n.call(t,e),null===(r=null==i?void 0:i.onChange)||void 0===r||r.call(i,e)},{prefixCls:m,className:g,rootClassName:h,children:v,style:b,title:y}=t,x=Ak(t,["prefixCls","className","rootClassName","children","style","title"]),C=l("radio",m),$="button"===((null==i?void 0:i.optionType)||a),S=$?`${C}-button`:C,k=bu(C),[E,O,I]=Bk(C,k),N=Object.assign({},x),M=e.useContext(rc);i&&(N.name=i.name,N.onChange=p,N.checked=t.value===i.value,N.disabled=null!==(r=N.disabled)&&void 0!==r?r:i.disabled),N.disabled=null!==(o=N.disabled)&&void 0!==o?o:M;const P=w(`${S}-wrapper`,{[`${S}-wrapper-checked`]:N.checked,[`${S}-wrapper-disabled`]:N.disabled,[`${S}-wrapper-rtl`]:"rtl"===c,[`${S}-wrapper-in-form-item`]:f,[`${S}-wrapper-block`]:!!(null==i?void 0:i.block)},null==s?void 0:s.className,g,h,O,I,k),[j,R]=Tk(N.onClick);return E(e.createElement(Id,{component:"Radio",disabled:N.disabled},e.createElement("label",{className:P,style:Object.assign(Object.assign({},null==s?void 0:s.style),b),onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,title:y,onClick:j},e.createElement(Rk,Object.assign({},N,{className:w(N.className,{[wd]:!$}),type:"radio",prefixCls:S,ref:d,onClick:R})),void 0!==v?e.createElement("span",{className:`${S}-label`},v):null)))},Fk=e.forwardRef(Lk),_k=e.forwardRef(((t,n)=>{const{getPrefixCls:r,direction:o}=e.useContext(Ul),i=vm(),{prefixCls:a,className:l,rootClassName:c,options:s,buttonStyle:u="outline",disabled:d,children:f,size:p,style:m,id:g,optionType:h,name:v=i,defaultValue:b,value:y,block:x=!1,onChange:C,onMouseEnter:$,onMouseLeave:S,onFocus:k,onBlur:E}=t,[O,I]=vc(b,{value:y}),N=e.useCallback((e=>{const n=O,r=e.target.value;"value"in t||I(r),r!==n&&(null==C||C(e))}),[O,I,C]),M=r("radio",a),P=`${M}-group`,j=bu(M),[R,T,z]=Bk(M,j);let H=f;s&&s.length>0&&(H=s.map((t=>"string"==typeof t||"number"==typeof t?e.createElement(Fk,{key:t.toString(),prefixCls:M,disabled:d,value:t,checked:O===t},t):e.createElement(Fk,{key:`radio-group-value-options-${t.value}`,prefixCls:M,disabled:t.disabled||d,value:t.value,checked:O===t.value,title:t.title,style:t.style,className:t.className,id:t.id,required:t.required},t.label))));const D=Nd(p),B=w(P,`${P}-${u}`,{[`${P}-${D}`]:D,[`${P}-rtl`]:"rtl"===o,[`${P}-block`]:x},l,c,T,z,j),A=e.useMemo((()=>({onChange:N,value:O,disabled:d,name:v,optionType:h,block:x})),[N,O,d,v,h,x]);return R(e.createElement("div",Object.assign({},au(t,{aria:!0,data:!0}),{className:B,style:m,onMouseEnter:$,onMouseLeave:S,onFocus:k,onBlur:E,id:g,ref:n}),e.createElement(Nk,{value:A},H)))})),Wk=e.memo(_k);var Kk=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Vk=(t,n)=>{const{getPrefixCls:r}=e.useContext(Ul),{prefixCls:o}=t,i=Kk(t,["prefixCls"]),a=r("radio",o);return e.createElement(Pk,{value:"button"},e.createElement(Fk,Object.assign({prefixCls:a},i,{type:"radio",ref:n})))},qk=e.forwardRef(Vk),Xk=Fk;Xk.Button=qk,Xk.Group=Wk,Xk.__ANT_RADIO=!0;const Gk=Xk;function Yk(e){return Cc(e,{inputAffixPadding:e.paddingXXS})}const Uk=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:o,controlHeightSM:i,controlHeightLG:a,fontSizeLG:l,lineHeightLG:c,paddingSM:s,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:f,colorPrimaryHover:p,colorPrimary:m,controlOutlineWidth:g,controlOutline:h,colorErrorOutline:v,colorWarningOutline:b,colorBgContainer:y,inputFontSize:x,inputFontSizeLG:C,inputFontSizeSM:w}=e,$=x||n,S=w||$,k=C||l,E=Math.round((t-$*r)/2*10)/10-o,O=Math.round((i-S*r)/2*10)/10-o,I=Math.ceil((a-k*c)/2*10)/10-o;return{paddingBlock:Math.max(E,0),paddingBlockSM:Math.max(O,0),paddingBlockLG:Math.max(I,0),paddingInline:s-o,paddingInlineSM:u-o,paddingInlineLG:d-o,addonBg:f,activeBorderColor:m,hoverBorderColor:p,activeShadow:`0 0 0 ${g}px ${h}`,errorActiveShadow:`0 0 0 ${g}px ${v}`,warningActiveShadow:`0 0 0 ${g}px ${b}`,hoverBg:y,activeBg:y,inputFontSize:$,inputFontSizeLG:k,inputFontSizeSM:S}},Qk=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Zk=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},Qk(Cc(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),Jk=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),eE=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Jk(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),tE=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Jk(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Zk(e))}),eE(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),eE(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),nE=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),rE=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${qi(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},nE(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),nE(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},Zk(e))}})}),oE=(e,t)=>{const{componentCls:n}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},iE=(e,t)=>{var n;return{background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null!==(n=null==t?void 0:t.inputColor)&&void 0!==n?n:"unset"},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}},aE=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},iE(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),lE=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},iE(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Zk(e))}),aE(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),aE(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),cE=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),sE=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group-addon`]:{background:e.colorFillTertiary,"&:last-child":{position:"static"}}},cE(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),cE(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${qi(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${qi(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${qi(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${qi(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${qi(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${qi(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),uE=(e,t)=>({background:e.colorBgContainer,borderWidth:`${qi(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${t.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${t.borderColor} transparent`,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${t.borderColor} transparent`,outline:0,backgroundColor:e.activeBg}}),dE=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},uE(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:`transparent transparent ${t.borderColor} transparent`}}),fE=(e,t)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},uE(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${e.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),dE(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),dE(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),pE=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),mE=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:o}=e;return{padding:`${qi(t)} ${qi(o)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},gE=e=>({padding:`${qi(e.paddingBlockSM)} ${qi(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),hE=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${qi(e.paddingBlock)} ${qi(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},pE(e.colorTextPlaceholder)),{"&-lg":Object.assign({},mE(e)),"&-sm":Object.assign({},gE(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),vE=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},mE(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},gE(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${qi(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${qi(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${qi(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${qi(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${n}-cascader-picker`]:{margin:`-9px ${qi(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`\n & > ${t}-affix-wrapper,\n & > ${t}-number-affix-wrapper,\n & > ${n}-picker-range\n `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,\n & > ${n}-select-auto-complete ${t},\n & > ${n}-cascader-picker ${t},\n & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n & > ${n}-select:first-child > ${n}-select-selector,\n & > ${n}-select-auto-complete:first-child ${t},\n & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,\n & > ${n}-select:last-child > ${n}-select-selector,\n & > ${n}-cascader-picker:last-child ${t},\n & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},bE=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:o}=e,i=o(n).sub(o(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Ac(e)),hE(e)),tE(e)),lE(e)),oE(e)),fE(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},yE=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:e.colorIcon},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${qi(e.inputAffixPadding)}`}}}},xE=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:l}=e,c=`${t}-affix-wrapper`,s=`${t}-affix-wrapper-disabled`;return{[c]:Object.assign(Object.assign(Object.assign(Object.assign({},hE(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r,direction:"ltr"},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),yE(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),[`${t}-underlined`]:{borderRadius:0},[s]:{[`${l}${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},CE=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},Ac(e)),vE(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},rE(e)),sE(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},wE=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[t]:{"&:hover, &:focus":{[`+ ${t}-group-addon ${r}-button:not(${n}-btn-color-primary):not(${n}-btn-variant-text)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-color-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{inset:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${t}-affix-wrapper, ${r}-button`]:{height:e.controlHeightLG}},"&-small":{[`${t}-affix-wrapper, ${r}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,\n > ${t},\n ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},$E=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},SE=Kc(["Input","Shared"],(e=>{const t=Cc(e,Yk(e));return[bE(t),xE(t)]}),Uk,{resetFont:!1}),kE=Kc(["Input","Component"],(e=>{const t=Cc(e,Yk(e));return[CE(t),wE(t),$E(t),Lp(t)]}),Uk,{resetFont:!1}),EE=(e,t)=>{const{componentCls:n,controlHeight:r}=e,o=t?`${n}-${t}`:"",i=Ny(e);return[{[`${n}-multiple${o}`]:{paddingBlock:i.containerPadding,paddingInlineStart:i.basePadding,minHeight:r,[`${n}-selection-item`]:{height:i.itemHeight,lineHeight:qi(i.itemLineHeight)}}}]},OE=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,o=Cc(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),i=Cc(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[EE(o,"small"),EE(e),EE(i,"large"),{[`${t}${t}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${t}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${t}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}}},My(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},IE=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:o,motionDurationMid:i,cellHoverBg:a,lineWidth:l,lineType:c,colorPrimary:s,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:f,cellBgDisabled:p,colorFillSecondary:m}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:qi(r),borderRadius:o,transition:`background ${i}`},[`&:hover:not(${t}-in-view):not(${t}-disabled),\n &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end):not(${t}-disabled)`]:{[n]:{background:a}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${qi(l)} ${c} ${s}`,borderRadius:o,content:'""'}},[`&-in-view${t}-in-range,\n &-in-view${t}-range-start,\n &-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:u}},[`&-in-view${t}-selected,\n &-in-view${t}-range-start,\n &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:d,background:s},[`&${t}-disabled ${n}`]:{background:m}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:o,borderEndStartRadius:o,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o},"&-disabled":{color:f,cursor:"not-allowed",[n]:{background:"transparent"},"&::before":{background:p}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},NE=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:o,pickerControlIconSize:i,cellWidth:a,paddingSM:l,paddingXS:c,paddingXXS:s,colorBgContainer:u,lineWidth:d,lineType:f,borderRadiusLG:p,colorPrimary:m,colorTextHeading:g,colorSplit:h,pickerControlIconBorderWidth:v,colorIcon:b,textHeight:y,motionDurationMid:x,colorIconHover:C,fontWeightStrong:w,cellHeight:$,pickerCellPaddingVertical:S,colorTextDisabled:k,colorText:E,fontSize:I,motionDurationSlow:N,withoutTimeCellHeight:M,pickerQuarterPanelContentHeight:P,borderRadiusSM:j,colorTextLightSolid:R,cellHoverBg:T,timeColumnHeight:z,timeColumnWidth:H,timeCellHeight:D,controlItemBgActive:B,marginXXS:A,pickerDatePanelPaddingHorizontal:L,pickerControlIconMargin:F}=e,_=e.calc(a).mul(7).add(e.calc(L).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,borderRadius:p,outline:"none","&-focused":{borderColor:m},"&-rtl":{[`${t}-prev-icon,\n ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon,\n ${t}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${t}-time-panel`]:{[`${t}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:_},"&-header":{display:"flex",padding:`0 ${qi(c)}`,color:g,borderBottom:`${qi(d)} ${f} ${h}`,"> *":{flex:"none"},button:{padding:0,color:b,lineHeight:qi(y),background:"transparent",border:0,cursor:"pointer",transition:`color ${x}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:I,"&:hover":{color:C},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:w,lineHeight:qi(y),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:c},"&:hover":{color:m}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:v,borderInlineStartWidth:v,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:F,insetInlineStart:F,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:v,borderInlineStartWidth:v,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:$,fontWeight:"normal"},th:{height:e.calc($).add(e.calc(S).mul(2)).equal(),color:E,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${qi(S)} 0`,color:k,cursor:"pointer","&-in-view":{color:E}},IE(e)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:e.calc(M).mul(4).equal()},[r]:{padding:`0 ${qi(c)}`}},"&-quarter-panel":{[`${t}-content`]:{height:P}},"&-decade-panel":{[r]:{padding:`0 ${qi(e.calc(c).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${qi(c)}`},[r]:{width:o}},"&-date-panel":{[`${t}-body`]:{padding:`${qi(c)} ${qi(L)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r},\n &-selected ${r},\n ${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${x}`},"&:first-child:before":{borderStartStartRadius:j,borderEndStartRadius:j},"&:last-child:before":{borderStartEndRadius:j,borderEndEndRadius:j}},"&:hover td:before":{background:T},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:m},[`&${t}-cell-week`]:{color:new O(R).setA(.5).toHexString()},[r]:{color:R}}},"&-range-hover td:before":{background:B}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${qi(c)} ${qi(l)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${qi(d)} ${f} ${h}`},[`${t}-date-panel,\n ${t}-time-panel`]:{transition:`opacity ${N}`},"&-active":{[`${t}-date-panel,\n ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:z},"&-column":{flex:"1 0 auto",width:H,margin:`${qi(s)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${x}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${qi(D)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${qi(d)} ${f} ${h}`},"&-active":{background:new O(B).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:A,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(H).sub(e.calc(A).mul(2)).equal(),height:D,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(H).sub(D).div(2).equal(),color:E,lineHeight:qi(D),borderRadius:j,cursor:"pointer",transition:`background ${x}`,"&:hover":{background:T}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:B}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:k,background:"transparent",cursor:"not-allowed"}}}}}}}}},ME=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:o,antCls:i,colorPrimary:a,cellActiveWithRangeBg:l,colorPrimaryBorder:c,lineType:s,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${qi(r)} ${s} ${u}`,"&-extra":{padding:`0 ${qi(o)}`,lineHeight:qi(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${qi(r)} ${s} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:qi(o),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:qi(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${i}-tag-blue`]:{color:a,background:l,borderColor:c,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},PE=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign(Object.assign({},tE(e)),fE(e)),lE(e)),oE(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${qi(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${qi(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${qi(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-underlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${qi(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},jE=(e,t,n,r)=>{const o=e.calc(n).add(2).equal(),i=e.max(e.calc(t).sub(o).div(2).equal(),0),a=e.max(e.calc(t).sub(o).sub(i).equal(),0);return{padding:`${qi(i)} ${qi(r)} ${qi(a)}`}},RE=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},TE=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:o,lineWidth:i,lineType:a,colorBorder:l,borderRadius:c,motionDurationMid:s,colorTextDisabled:u,colorTextPlaceholder:d,controlHeightLG:f,fontSizeLG:p,controlHeightSM:m,paddingInlineSM:g,paddingXS:h,marginXS:v,colorIcon:b,lineWidthBold:y,colorPrimary:x,motionDurationSlow:C,zIndexPopup:w,paddingXXS:$,sizePopupArrow:S,colorBgElevated:k,borderRadiusLG:E,boxShadowSecondary:O,borderRadiusSM:I,colorSplit:N,cellHoverBg:M,presetsWidth:P,presetsMaxWidth:j,boxShadowPopoverArrow:R,fontHeight:T,fontHeightLG:z,lineHeightLG:H}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},Ac(e)),jE(e,r,T,o)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:c,transition:`border ${s}, box-shadow ${s}, background ${s}`,[`${t}-prefix`]:{flex:"0 0 auto",marginInlineEnd:e.inputAffixPadding},[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${s}`},pE(d)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:u,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:d}}},"&-large":Object.assign(Object.assign({},jE(e,f,z,o)),{[`${t}-input > input`]:{fontSize:p,lineHeight:H}}),"&-small":Object.assign({},jE(e,m,T,g)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(h).div(2).equal(),color:u,lineHeight:1,pointerEvents:"none",transition:`opacity ${s}, color ${s}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:v}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:u,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${s}, color ${s}`,"> *":{verticalAlign:"top"},"&:hover":{color:b}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:p,color:u,fontSize:p,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:b},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(i).mul(-1).equal(),height:y,background:x,opacity:0,transition:`all ${C} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${qi(h)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:o},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:g}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},Ac(e)),NE(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:w,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft,\n &${t}-dropdown-placement-bottomRight`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft,\n &${t}-dropdown-placement-topRight`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-appear, &${n}-slide-up-enter`]:{[`${t}-range-arrow${t}-range-arrow`]:{transition:"none"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft,\n &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight,\n &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft,\n &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:zf},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft,\n &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight,\n &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft,\n &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:Rf},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft,\n &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:Hf},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft,\n &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:Tf},[`${t}-panel > ${t}-time-panel`]:{paddingTop:$},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${C} ease-out`},yx(e,k,R)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:k,borderRadius:E,boxShadow:O,transition:`margin ${C}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:P,maxWidth:j,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:h,borderInlineEnd:`${qi(i)} ${a} ${N}`,li:Object.assign(Object.assign({},Bc),{borderRadius:I,paddingInline:h,paddingBlock:e.calc(m).sub(T).div(2).equal(),cursor:"pointer",transition:`all ${C}`,"+ li":{marginTop:v},"&:hover":{background:M}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:l}}}}),"&-dropdown-range":{padding:`${qi(e.calc(S).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"scale(-1, 1)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},_f(e,"slide-up"),_f(e,"slide-down"),jf(e,"move-up"),jf(e,"move-down")]},zE=Kc("DatePicker",(e=>{const t=Cc(Yk(e),(e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:o}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(o).add(e.calc(r).div(2)).equal()}})(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[ME(t),TE(t),PE(t),RE(t),OE(t),Lp(e,{focusElCls:`${e.componentCls}-focused`})]}),(e=>Object.assign(Object.assign(Object.assign(Object.assign({},Uk(e)),(e=>{const{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:o,paddingXXS:i,lineWidth:a}=e,l=2*i,c=2*a,s=Math.min(n-l,n-c),u=Math.min(r-l,r-c),d=Math.min(o-l,o-c);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(i/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new O(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new O(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:1.4*o,timeColumnHeight:224,timeCellHeight:28,cellWidth:1.5*r,cellHeight:r,textHeight:o,withoutTimeCellHeight:1.65*o,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:s,multipleItemHeightSM:u,multipleItemHeightLG:d,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}})(e)),bx(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50})));var HE={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};function DE(e,t,n){var r=(n||{}).atBegin;return function(e,t,n){var r,o=n||{},i=o.noTrailing,a=void 0!==i&&i,l=o.noLeading,c=void 0!==l&&l,s=o.debounceMode,u=void 0===s?void 0:s,d=!1,f=0;function p(){r&&clearTimeout(r)}function m(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var l=this,s=Date.now()-f;function m(){f=Date.now(),t.apply(l,o)}function g(){r=void 0}d||(c||!u||r||m(),p(),void 0===u&&s>e?c?(f=Date.now(),a||(r=setTimeout(u?g:m,e))):m():!0!==a&&(r=setTimeout(u?g:m,void 0===u?e-s:e)))}return m.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;p(),d=!n},m}(e,t,{debounceMode:!1!==(void 0!==r&&r)})}var BE={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return n.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return n.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null};function AE(e,t,n){return Math.max(t,Math.min(e,n))}var LE=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},FE=function(e){for(var t=[],n=_E(e),r=WE(e),o=n;o<r;o++)e.lazyLoadedList.indexOf(o)<0&&t.push(o);return t},_E=function(e){return e.currentSlide-KE(e)},WE=function(e){return e.currentSlide+VE(e)},KE=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},VE=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},qE=function(e){return e&&e.offsetWidth||0},XE=function(e){return e&&e.offsetHeight||0},GE=function(e){var t,n,r,o,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(o=Math.round(180*r/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?"left":o>=135&&o<=225?"right":!0===i?o>=35&&o<=135?"up":"down":"vertical"},YE=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},UE=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},QE=function(e,t){var n=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];n<t;)o.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return o}(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var o in n){if(t<n[o]){t=r;break}r=n[o]}return t},ZE=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=e.listRef,o=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(o).every((function(r){if(e.vertical){if(r.offsetTop+XE(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+qE(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-i)||1}return e.slidesToScroll},JE=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:void 0},eO=function(e){var t,n;(JE(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]),e.vertical)?n=(e.unslick?e.slideCount:e.slideCount+2*e.slidesToShow)*e.slideHeight:t=iO(e)*e.slideWidth;var r={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";r=Y(Y({},r),{},{WebkitTransform:o,transform:i,msTransform:a})}else e.vertical?r.top=e.left:r.left=e.left;return e.fade&&(r={opacity:1}),t&&(r.width=t),n&&(r.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?r.marginTop=e.left+"px":r.marginLeft=e.left+"px"),r},tO=function(e){JE(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=eO(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},nO=function(e){if(e.unslick)return 0;JE(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,o=e.trackRef,i=e.infinite,a=e.centerMode,l=e.slideCount,c=e.slidesToShow,s=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,f=e.variableWidth,p=e.slideHeight,m=e.fade,g=e.vertical;if(m||1===e.slideCount)return 0;var h=0;if(i?(h=-rO(e),l%s!==0&&r+s>l&&(h=-(r>l?c-(r-l):l%s)),a&&(h+=parseInt(c/2))):(l%s!==0&&r+s>l&&(h=c-l%s),a&&(h=parseInt(c/2))),t=g?r*p*-1+h*p:r*u*-1+h*u,!0===f){var v,b=o&&o.node;if(v=r+rO(e),t=(n=b&&b.childNodes[v])?-1*n.offsetLeft:0,!0===a){v=i?r+rO(e):r,n=b&&b.children[v],t=0;for(var y=0;y<v;y++)t-=b&&b.children[y]&&b.children[y].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(d-n.offsetWidth)/2}}return t},rO=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},oO=function(e){return e.unslick||!e.infinite?0:e.slideCount},iO=function(e){return 1===e.slideCount?1:rO(e)+e.slideCount+oO(e)},aO=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+lO(e)?"left":"right":e.targetSlide<e.currentSlide-cO(e)?"right":"left"},lO=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r&&t%2==0&&(i+=1),i}return r?0:t-1},cO=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r||t%2!=0||(i+=1),i}return r?t-1:0},sO=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},uO=Object.keys(BE);var dO=function(e){var t,n,r,o,i;return r=(i=e.rtl?e.slideCount-1-e.index:e.index)<0||i>=e.slideCount,e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount===0,i>e.currentSlide-o-1&&i<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=i&&i<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":i===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},fO=function(e,t){return e.key+"-"+t},pO=function(e){var t,r=[],o=[],i=[],a=n.Children.count(e.children),l=_E(e),c=WE(e);return n.Children.forEach(e.children,(function(s,u){var d,f={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};d=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(u)>=0?s:n.createElement("div",null);var p=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical&&e.slideHeight?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(Y(Y({},e),{},{index:u})),m=d.props.className||"",g=dO(Y(Y({},e),{},{index:u}));if(r.push(n.cloneElement(d,{key:"original"+fO(d,u),"data-index":u,className:w(g,m),tabIndex:"-1","aria-hidden":!g["slick-active"],style:Y(Y({outline:"none"},d.props.style||{}),p),onClick:function(t){d.props&&d.props.onClick&&d.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&a>1&&!1===e.fade&&!e.unslick){var h=a-u;h<=rO(e)&&((t=-h)>=l&&(d=s),g=dO(Y(Y({},e),{},{index:t})),o.push(n.cloneElement(d,{key:"precloned"+fO(d,t),"data-index":t,tabIndex:"-1",className:w(g,m),"aria-hidden":!g["slick-active"],style:Y(Y({},d.props.style||{}),p),onClick:function(t){d.props&&d.props.onClick&&d.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))),(t=a+u)<c&&(d=s),g=dO(Y(Y({},e),{},{index:t})),i.push(n.cloneElement(d,{key:"postcloned"+fO(d,t),"data-index":t,tabIndex:"-1",className:w(g,m),"aria-hidden":!g["slick-active"],style:Y(Y({},d.props.style||{}),p),onClick:function(t){d.props&&d.props.onClick&&d.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))}})),e.rtl?o.concat(r,i).reverse():o.concat(r,i)},mO=function(){function e(){var t;oi(this,e);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=function(e,t,n){return t=si(t),fi(e,ui()?Reflect.construct(t,n||[],si(e).constructor):t.apply(e,n))}(this,e,[].concat(r)),v(t,"node",null),v(t,"handleRef",(function(e){t.node=e})),t}return ci(e,n.PureComponent),ai(e,[{key:"render",value:function(){var e=pO(this.props),t=this.props,r={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return n.createElement("div",s({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},r),e)}}])}();var gO=function(){function e(){return oi(this,e),function(e,t,n){return t=si(t),fi(e,ui()?Reflect.construct(t,n||[],si(e).constructor):t.apply(e,n))}(this,e,arguments)}return ci(e,n.PureComponent),ai(e,[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,r=t.onMouseEnter,o=t.onMouseOver,i=t.onMouseLeave,a=t.infinite,l=t.slidesToScroll,c=t.slidesToShow,s=t.slideCount,u=t.currentSlide,d=(e={slideCount:s,slidesToScroll:l,slidesToShow:c,infinite:a}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,f={onMouseEnter:r,onMouseOver:o,onMouseLeave:i},p=[],m=0;m<d;m++){var g=(m+1)*l-1,h=a?g:AE(g,0,s-1),v=h-(l-1),b=a?v:AE(v,0,s-1),y=w({"slick-active":a?u>=b&&u<=h:u===b}),x={message:"dots",index:m,slidesToScroll:l,currentSlide:u},C=this.clickHandler.bind(this,x);p=p.concat(n.createElement("li",{key:m,className:y},n.cloneElement(this.props.customPaging(m),{onClick:C})))}return n.cloneElement(this.props.appendDots(p),Y({className:this.props.dotsClass},f))}}])}();function hO(e,t,n){return t=si(t),fi(e,ui()?Reflect.construct(t,n||[],si(e).constructor):t.apply(e,n))}var vO=function(){function e(){return oi(this,e),hO(this,e,arguments)}return ci(e,n.PureComponent),ai(e,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var r={key:"0","data-role":"none",className:w(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?n.cloneElement(this.props.prevArrow,Y(Y({},r),o)):n.createElement("button",s({key:"0",type:"button"},r)," ","Previous")}}])}(),bO=function(){function e(){return oi(this,e),hO(this,e,arguments)}return ci(e,n.PureComponent),ai(e,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});YE(this.props)||(e["slick-disabled"]=!0,t=null);var r={key:"1","data-role":"none",className:w(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?n.cloneElement(this.props.nextArrow,Y(Y({},r),o)):n.createElement("button",s({key:"1",type:"button"},r)," ","Next")}}])}(),yO=["animating"];var xO=function(){function e(t){var r;oi(this,e),r=function(e,t,n){return t=si(t),fi(e,ui()?Reflect.construct(t,n||[],si(e).constructor):t.apply(e,n))}(this,e,[t]),v(r,"listRefHandler",(function(e){return r.list=e})),v(r,"trackRefHandler",(function(e){return r.track=e})),v(r,"adaptHeight",(function(){if(r.props.adaptiveHeight&&r.list){var e=r.list.querySelector('[data-index="'.concat(r.state.currentSlide,'"]'));r.list.style.height=XE(e)+"px"}})),v(r,"componentDidMount",(function(){if(r.props.onInit&&r.props.onInit(),r.props.lazyLoad){var e=FE(Y(Y({},r.props),r.state));e.length>0&&(r.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),r.props.onLazyLoad&&r.props.onLazyLoad(e))}var t=Y({listRef:r.list,trackRef:r.track},r.props);r.updateState(t,!0,(function(){r.adaptHeight(),r.props.autoplay&&r.autoPlay("playing")})),"progressive"===r.props.lazyLoad&&(r.lazyLoadTimer=setInterval(r.progressiveLazyLoad,1e3)),r.ro=new ei((function(){r.state.animating?(r.onWindowResized(!1),r.callbackTimers.push(setTimeout((function(){return r.onWindowResized()}),r.props.speed))):r.onWindowResized()})),r.ro.observe(r.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=r.props.pauseOnFocus?r.onSlideFocus:null,e.onblur=r.props.pauseOnFocus?r.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",r.onWindowResized):window.attachEvent("onresize",r.onWindowResized)})),v(r,"componentWillUnmount",(function(){r.animationEndCallback&&clearTimeout(r.animationEndCallback),r.lazyLoadTimer&&clearInterval(r.lazyLoadTimer),r.callbackTimers.length&&(r.callbackTimers.forEach((function(e){return clearTimeout(e)})),r.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",r.onWindowResized):window.detachEvent("onresize",r.onWindowResized),r.autoplayTimer&&clearInterval(r.autoplayTimer),r.ro.disconnect()})),v(r,"componentDidUpdate",(function(e){if(r.checkImagesLoad(),r.props.onReInit&&r.props.onReInit(),r.props.lazyLoad){var t=FE(Y(Y({},r.props),r.state));t.length>0&&(r.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}})),r.props.onLazyLoad&&r.props.onLazyLoad(t))}r.adaptHeight();var o=Y(Y({listRef:r.list,trackRef:r.track},r.props),r.state),i=r.didPropsChange(e);i&&r.updateState(o,i,(function(){r.state.currentSlide>=n.Children.count(r.props.children)&&r.changeSlide({message:"index",index:n.Children.count(r.props.children)-r.props.slidesToShow,currentSlide:r.state.currentSlide}),e.autoplay===r.props.autoplay&&e.autoplaySpeed===r.props.autoplaySpeed||(!e.autoplay&&r.props.autoplay?r.autoPlay("playing"):r.props.autoplay?r.autoPlay("update"):r.pause("paused"))}))})),v(r,"onWindowResized",(function(e){r.debouncedResize&&r.debouncedResize.cancel(),r.debouncedResize=DE(50,(function(){return r.resizeWindow(e)})),r.debouncedResize()})),v(r,"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(r.track&&r.track.node)){var t=Y(Y({listRef:r.list,trackRef:r.track},r.props),r.state);r.updateState(t,e,(function(){r.props.autoplay?r.autoPlay("update"):r.pause("paused")})),r.setState({animating:!1}),clearTimeout(r.animationEndCallback),delete r.animationEndCallback}})),v(r,"updateState",(function(e,t,o){var i=function(e){var t,r=n.Children.count(e.children),o=e.listRef,i=Math.ceil(qE(o)),a=e.trackRef&&e.trackRef.node,l=Math.ceil(qE(a));if(e.vertical)t=i;else{var c=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(c*=i/100),t=Math.ceil((i-c)/e.slidesToShow)}var s=o&&XE(o.querySelector('[data-index="0"]')),u=s*e.slidesToShow,d=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(d=r-1-e.initialSlide);var f=e.lazyLoadedList||[],p=FE(Y(Y({},e),{},{currentSlide:d,lazyLoadedList:f})),m={slideCount:r,slideWidth:t,listWidth:i,trackWidth:l,currentSlide:d,slideHeight:s,listHeight:u,lazyLoadedList:f=f.concat(p)};return null===e.autoplaying&&e.autoplay&&(m.autoplaying="playing"),m}(e);e=Y(Y(Y({},e),i),{},{slideIndex:i.currentSlide});var a=nO(e);e=Y(Y({},e),{},{left:a});var l=eO(e);(t||n.Children.count(r.props.children)!==n.Children.count(e.children))&&(i.trackStyle=l),r.setState(i,o)})),v(r,"ssrInit",(function(){if(r.props.variableWidth){var e=0,t=0,o=[],i=rO(Y(Y(Y({},r.props),r.state),{},{slideCount:r.props.children.length})),a=oO(Y(Y(Y({},r.props),r.state),{},{slideCount:r.props.children.length}));r.props.children.forEach((function(t){o.push(t.props.style.width),e+=t.props.style.width}));for(var l=0;l<i;l++)t+=o[o.length-1-l],e+=o[o.length-1-l];for(var c=0;c<a;c++)e+=o[c];for(var s=0;s<r.state.currentSlide;s++)t+=o[s];var u={width:e+"px",left:-t+"px"};if(r.props.centerMode){var d="".concat(o[r.state.currentSlide],"px");u.left="calc(".concat(u.left," + (100% - ").concat(d,") / 2 ) ")}return{trackStyle:u}}var f=n.Children.count(r.props.children),p=Y(Y(Y({},r.props),r.state),{},{slideCount:f}),m=rO(p)+oO(p)+f,g=100/r.props.slidesToShow*m,h=100/m,v=-h*(rO(p)+r.state.currentSlide)*g/100;return r.props.centerMode&&(v+=(100-h*g/100)/2),{slideWidth:h+"%",trackStyle:{width:g+"%",left:v+"%"}}})),v(r,"checkImagesLoad",(function(){var e=r.list&&r.list.querySelectorAll&&r.list.querySelectorAll(".slick-slide img")||[],t=e.length,n=0;Array.prototype.forEach.call(e,(function(e){var o=function(){return++n&&n>=t&&r.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(t){i(t),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(r.props.lazyLoad?e.onload=function(){r.adaptHeight(),r.callbackTimers.push(setTimeout(r.onWindowResized,r.props.speed))}:(e.onload=o,e.onerror=function(){o(),r.props.onLazyLoadError&&r.props.onLazyLoadError()}))}))})),v(r,"progressiveLazyLoad",(function(){for(var e=[],t=Y(Y({},r.props),r.state),n=r.state.currentSlide;n<r.state.slideCount+oO(t);n++)if(r.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var o=r.state.currentSlide-1;o>=-rO(t);o--)if(r.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}e.length>0?(r.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),r.props.onLazyLoad&&r.props.onLazyLoad(e)):r.lazyLoadTimer&&(clearInterval(r.lazyLoadTimer),delete r.lazyLoadTimer)})),v(r,"slideHandler",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=r.props,o=n.asNavFor,i=n.beforeChange,a=n.onLazyLoad,l=n.speed,c=n.afterChange,s=r.state.currentSlide,u=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,i=e.index,a=e.slideCount,l=e.lazyLoad,c=e.currentSlide,s=e.centerMode,u=e.slidesToScroll,d=e.slidesToShow,f=e.useCSS,p=e.lazyLoadedList;if(t&&n)return{};var m,g,h,v=i,b={},y={},x=o?i:AE(i,0,a-1);if(r){if(!o&&(i<0||i>=a))return{};i<0?v=i+a:i>=a&&(v=i-a),l&&p.indexOf(v)<0&&(p=p.concat(v)),b={animating:!0,currentSlide:v,lazyLoadedList:p,targetSlide:v},y={animating:!1,targetSlide:v}}else m=v,v<0?(m=v+a,o?a%u!==0&&(m=a-a%u):m=0):!YE(e)&&v>c?v=m=c:s&&v>=a?(v=o?a:a-1,m=o?0:a-1):v>=a&&(m=v-a,o?a%u!==0&&(m=0):m=a-d),!o&&v+d>=a&&(m=a-d),g=nO(Y(Y({},e),{},{slideIndex:v})),h=nO(Y(Y({},e),{},{slideIndex:m})),o||(g===h&&(v=m),g=h),l&&(p=p.concat(FE(Y(Y({},e),{},{currentSlide:v})))),f?(b={animating:!0,currentSlide:m,trackStyle:tO(Y(Y({},e),{},{left:g})),lazyLoadedList:p,targetSlide:x},y={animating:!1,currentSlide:m,trackStyle:eO(Y(Y({},e),{},{left:h})),swipeLeft:null,targetSlide:x}):b={currentSlide:m,trackStyle:eO(Y(Y({},e),{},{left:h})),lazyLoadedList:p,targetSlide:x};return{state:b,nextState:y}}(Y(Y(Y({index:e},r.props),r.state),{},{trackRef:r.track,useCSS:r.props.useCSS&&!t})),d=u.state,f=u.nextState;if(d){i&&i(s,d.currentSlide);var p=d.lazyLoadedList.filter((function(e){return r.state.lazyLoadedList.indexOf(e)<0}));a&&p.length>0&&a(p),!r.props.waitForAnimate&&r.animationEndCallback&&(clearTimeout(r.animationEndCallback),c&&c(s),delete r.animationEndCallback),r.setState(d,(function(){o&&r.asNavForIndex!==e&&(r.asNavForIndex=e,o.innerSlider.slideHandler(e)),f&&(r.animationEndCallback=setTimeout((function(){var e=f.animating,t=b(f,yO);r.setState(t,(function(){r.callbackTimers.push(setTimeout((function(){return r.setState({animating:e})}),10)),c&&c(d.currentSlide),delete r.animationEndCallback}))}),l))}))}})),v(r,"changeSlide",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=function(e,t){var n,r,o,i,a=e.slidesToScroll,l=e.slidesToShow,c=e.slideCount,s=e.currentSlide,u=e.targetSlide,d=e.lazyLoad,f=e.infinite;if(n=c%a!==0?0:(c-s)%a,"previous"===t.message)i=s-(o=0===n?a:l-n),d&&!f&&(i=-1===(r=s-o)?c-1:r),f||(i=u-a);else if("next"===t.message)i=s+(o=0===n?a:n),d&&!f&&(i=(s+a)%c+n),f||(i=u+a);else if("dots"===t.message)i=t.index*t.slidesToScroll;else if("children"===t.message){if(i=t.index,f){var p=aO(Y(Y({},e),{},{targetSlide:i}));i>t.currentSlide&&"left"===p?i-=c:i<t.currentSlide&&"right"===p&&(i+=c)}}else"index"===t.message&&(i=Number(t.index));return i}(Y(Y({},r.props),r.state),e);if((0===n||n)&&(!0===t?r.slideHandler(n,t):r.slideHandler(n),r.props.autoplay&&r.autoPlay("update"),r.props.focusOnSelect)){var o=r.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}})),v(r,"clickHandler",(function(e){!1===r.clickable&&(e.stopPropagation(),e.preventDefault()),r.clickable=!0})),v(r,"keyHandler",(function(e){var t=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""}(e,r.props.accessibility,r.props.rtl);""!==t&&r.changeSlide({message:t})})),v(r,"selectHandler",(function(e){r.changeSlide(e)})),v(r,"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),v(r,"enableBodyScroll",(function(){window.ontouchmove=null})),v(r,"swipeStart",(function(e){r.props.verticalSwiping&&r.disableBodyScroll();var t=function(e,t,n){return"IMG"===e.target.tagName&&LE(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}}(e,r.props.swipe,r.props.draggable);""!==t&&r.setState(t)})),v(r,"swipeMove",(function(e){var t=function(e,t){var n=t.scrolling,r=t.animating,o=t.vertical,i=t.swipeToSlide,a=t.verticalSwiping,l=t.rtl,c=t.currentSlide,s=t.edgeFriction,u=t.edgeDragged,d=t.onEdge,f=t.swiped,p=t.swiping,m=t.slideCount,g=t.slidesToScroll,h=t.infinite,v=t.touchObject,b=t.swipeEvent,y=t.listHeight,x=t.listWidth;if(!n){if(r)return LE(e);o&&i&&a&&LE(e);var C,w={},$=nO(t);v.curX=e.touches?e.touches[0].pageX:e.clientX,v.curY=e.touches?e.touches[0].pageY:e.clientY,v.swipeLength=Math.round(Math.sqrt(Math.pow(v.curX-v.startX,2)));var S=Math.round(Math.sqrt(Math.pow(v.curY-v.startY,2)));if(!a&&!p&&S>10)return{scrolling:!0};a&&(v.swipeLength=S);var k=(l?-1:1)*(v.curX>v.startX?1:-1);a&&(k=v.curY>v.startY?1:-1);var E=Math.ceil(m/g),O=GE(t.touchObject,a),I=v.swipeLength;return h||(0===c&&("right"===O||"down"===O)||c+1>=E&&("left"===O||"up"===O)||!YE(t)&&("left"===O||"up"===O))&&(I=v.swipeLength*s,!1===u&&d&&(d(O),w.edgeDragged=!0)),!f&&b&&(b(O),w.swiped=!0),C=o?$+I*(y/x)*k:l?$-I*k:$+I*k,a&&(C=$+I*k),w=Y(Y({},w),{},{touchObject:v,swipeLeft:C,trackStyle:eO(Y(Y({},t),{},{left:C}))}),Math.abs(v.curX-v.startX)<.8*Math.abs(v.curY-v.startY)||v.swipeLength>10&&(w.swiping=!0,LE(e)),w}}(e,Y(Y(Y({},r.props),r.state),{},{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide}));t&&(t.swiping&&(r.clickable=!1),r.setState(t))})),v(r,"swipeEnd",(function(e){var t=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,i=t.listWidth,a=t.touchThreshold,l=t.verticalSwiping,c=t.listHeight,s=t.swipeToSlide,u=t.scrolling,d=t.onSwipe,f=t.targetSlide,p=t.currentSlide,m=t.infinite;if(!n)return r&&LE(e),{};var g=l?c/a:i/a,h=GE(o,l),v={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(u)return v;if(!o.swipeLength)return v;if(o.swipeLength>g){var b,y;LE(e),d&&d(h);var x=m?p:f;switch(h){case"left":case"up":y=x+ZE(t),b=s?QE(t,y):y,v.currentDirection=0;break;case"right":case"down":y=x-ZE(t),b=s?QE(t,y):y,v.currentDirection=1;break;default:b=x}v.triggerSlideHandler=b}else{var C=nO(t);v.trackStyle=tO(Y(Y({},t),{},{left:C}))}return v}(e,Y(Y(Y({},r.props),r.state),{},{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,r.setState(t),void 0!==n&&(r.slideHandler(n),r.props.verticalSwiping&&r.enableBodyScroll())}})),v(r,"touchEnd",(function(e){r.swipeEnd(e),r.clickable=!0})),v(r,"slickPrev",(function(){r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"previous"})}),0))})),v(r,"slickNext",(function(){r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"next"})}),0))})),v(r,"slickGoTo",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"index",index:e,currentSlide:r.state.currentSlide},t)}),0))})),v(r,"play",(function(){var e;if(r.props.rtl)e=r.state.currentSlide-r.props.slidesToScroll;else{if(!YE(Y(Y({},r.props),r.state)))return!1;e=r.state.currentSlide+r.props.slidesToScroll}r.slideHandler(e)})),v(r,"autoPlay",(function(e){r.autoplayTimer&&clearInterval(r.autoplayTimer);var t=r.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;r.autoplayTimer=setInterval(r.play,r.props.autoplaySpeed+50),r.setState({autoplaying:"playing"})})),v(r,"pause",(function(e){r.autoplayTimer&&(clearInterval(r.autoplayTimer),r.autoplayTimer=null);var t=r.state.autoplaying;"paused"===e?r.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||r.setState({autoplaying:"focused"}):"playing"===t&&r.setState({autoplaying:"hovered"})})),v(r,"onDotsOver",(function(){return r.props.autoplay&&r.pause("hovered")})),v(r,"onDotsLeave",(function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")})),v(r,"onTrackOver",(function(){return r.props.autoplay&&r.pause("hovered")})),v(r,"onTrackLeave",(function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")})),v(r,"onSlideFocus",(function(){return r.props.autoplay&&r.pause("focused")})),v(r,"onSlideBlur",(function(){return r.props.autoplay&&"focused"===r.state.autoplaying&&r.autoPlay("blur")})),v(r,"render",(function(){var e,t,o,i=w("slick-slider",r.props.className,{"slick-vertical":r.props.vertical,"slick-initialized":!0}),a=Y(Y({},r.props),r.state),l=UE(a,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),c=r.props.pauseOnHover;if(l=Y(Y({},l),{},{onMouseEnter:c?r.onTrackOver:null,onMouseLeave:c?r.onTrackLeave:null,onMouseOver:c?r.onTrackOver:null,focusOnSelect:r.props.focusOnSelect&&r.clickable?r.selectHandler:null}),!0===r.props.dots&&r.state.slideCount>=r.props.slidesToShow){var u=UE(a,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),d=r.props.pauseOnDotsHover;u=Y(Y({},u),{},{clickHandler:r.changeSlide,onMouseEnter:d?r.onDotsLeave:null,onMouseOver:d?r.onDotsOver:null,onMouseLeave:d?r.onDotsLeave:null}),e=n.createElement(gO,u)}var f=UE(a,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);f.clickHandler=r.changeSlide,r.props.arrows&&(t=n.createElement(vO,f),o=n.createElement(bO,f));var p=null;r.props.vertical&&(p={height:r.state.listHeight});var m=null;!1===r.props.vertical?!0===r.props.centerMode&&(m={padding:"0px "+r.props.centerPadding}):!0===r.props.centerMode&&(m={padding:r.props.centerPadding+" 0px"});var g=Y(Y({},p),m),h=r.props.touchMove,v={className:"slick-list",style:g,onClick:r.clickHandler,onMouseDown:h?r.swipeStart:null,onMouseMove:r.state.dragging&&h?r.swipeMove:null,onMouseUp:h?r.swipeEnd:null,onMouseLeave:r.state.dragging&&h?r.swipeEnd:null,onTouchStart:h?r.swipeStart:null,onTouchMove:r.state.dragging&&h?r.swipeMove:null,onTouchEnd:h?r.touchEnd:null,onTouchCancel:r.state.dragging&&h?r.swipeEnd:null,onKeyDown:r.props.accessibility?r.keyHandler:null},b={className:i,dir:"ltr",style:r.props.style};return r.props.unslick&&(v={className:"slick-list"},b={className:i,style:r.props.style}),n.createElement("div",b,r.props.unslick?"":t,n.createElement("div",s({ref:r.listRefHandler},v),n.createElement(mO,s({ref:r.trackRefHandler},l),r.props.children)),r.props.unslick?"":o,r.props.unslick?"":e)})),r.list=null,r.track=null,r.state=Y(Y({},HE),{},{currentSlide:r.props.initialSlide,targetSlide:r.props.initialSlide?r.props.initialSlide:0,slideCount:n.Children.count(r.props.children)}),r.callbackTimers=[],r.clickable=!0,r.debouncedResize=null;var o=r.ssrInit();return r.state=Y(Y({},r.state),o),r}return ci(e,n.Component),ai(e,[{key:"didPropsChange",value:function(e){for(var t=!1,r=0,o=Object.keys(this.props);r<o.length;r++){var i=o[r];if(!e.hasOwnProperty(i)){t=!0;break}if("object"!==g(e[i])&&"function"!=typeof e[i]&&!isNaN(e[i])&&e[i]!==this.props[i]){t=!0;break}}return t||n.Children.count(this.props.children)!==n.Children.count(e.children)}}])}(),CO=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()},wO=function(e){var t="",n=Object.keys(e);return n.forEach((function(r,o){var i=e[r];(function(e){return/[height|width]$/.test(e)})(r=CO(r))&&"number"==typeof i&&(i+="px"),t+=!0===i?r:!1===i?"not "+r:"("+r+": "+i+")",o<n.length-1&&(t+=" and ")})),t},$O=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,r){t+=wO(n),r<e.length-1&&(t+=", ")})),t):wO(e)};const SO=t($O);var kO=function(){function e(t){var n;return oi(this,e),n=function(e,t,n){return t=si(t),fi(e,ui()?Reflect.construct(t,n||[],si(e).constructor):t.apply(e,n))}(this,e,[t]),v(n,"innerSliderRefHandler",(function(e){return n.innerSlider=e})),v(n,"slickPrev",(function(){return n.innerSlider.slickPrev()})),v(n,"slickNext",(function(){return n.innerSlider.slickNext()})),v(n,"slickGoTo",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n.innerSlider.slickGoTo(e,t)})),v(n,"slickPause",(function(){return n.innerSlider.pause("paused")})),v(n,"slickPlay",(function(){return n.innerSlider.autoPlay("play")})),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}return ci(e,n.Component),ai(e,[{key:"media",value:function(e,t){var n=window.matchMedia(e),r=function(e){e.matches&&t()};n.addListener(r),r(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:r})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,r){var o;o=SO(0===r?{minWidth:0,maxWidth:n}:{minWidth:t[r-1]+1,maxWidth:n}),sO()&&e.media(o,(function(){e.setState({breakpoint:n})}))}));var n=SO({minWidth:t.slice(-1)[0]});sO()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){e.mql.removeListener(e.listener)}))}},{key:"render",value:function(){var e,t,r=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===r.state.breakpoint})))[0].settings?"unslick":Y(Y(Y({},BE),this.props),t[0].settings):Y(Y({},BE),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var o=n.Children.toArray(this.props.children);o=o.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(e.variableWidth=!1);for(var i=[],a=null,l=0;l<o.length;l+=e.rows*e.slidesPerRow){for(var c=[],u=l;u<l+e.rows*e.slidesPerRow;u+=e.slidesPerRow){for(var d=[],f=u;f<u+e.slidesPerRow&&(e.variableWidth&&o[f].props.style&&(a=o[f].props.style.width),!(f>=o.length));f+=1)d.push(n.cloneElement(o[f],{key:100*l+10*u+f,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));c.push(n.createElement("div",{key:10*l+u},d))}e.variableWidth?i.push(n.createElement("div",{key:l,style:{width:a}},c)):i.push(n.createElement("div",{key:l},c))}if("unslick"===e){var p="regular slider "+(this.props.className||"");return n.createElement("div",{className:p},o)}return i.length<=e.slidesToShow&&!e.infinite&&(e.unslick=!0),n.createElement(xO,s({style:this.props.style,ref:this.innerSliderRefHandler},function(e){return uO.reduce((function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})}(e)),i)}}])}();const EO="--dot-duration",OO=e=>{const{componentCls:t,antCls:n}=e;return{[t]:Object.assign(Object.assign({},Ac(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"}})}},IO=e=>{const{componentCls:t,motionDurationSlow:n,arrowSize:r,arrowOffset:o}=e,i=e.calc(r).div(Math.SQRT2).equal();return{[t]:{".slick-prev, .slick-next":{position:"absolute",top:"50%",width:r,height:r,transform:"translateY(-50%)",color:"#fff",opacity:.4,background:"transparent",padding:0,lineHeight:0,border:0,outline:"none",cursor:"pointer",zIndex:1,transition:`opacity ${n}`,"&:hover, &:focus":{opacity:1},"&.slick-disabled":{pointerEvents:"none",opacity:0},"&::after":{boxSizing:"border-box",position:"absolute",top:e.calc(r).sub(i).div(2).equal(),insetInlineStart:e.calc(r).sub(i).div(2).equal(),display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderInlineStartWidth:2,borderBlockStartWidth:2,borderRadius:1,content:'""'}},".slick-prev":{insetInlineStart:o,"&::after":{transform:"rotate(-45deg)"}},".slick-next":{insetInlineEnd:o,"&::after":{transform:"rotate(135deg)"}}}}},NO=e=>{const{componentCls:t,dotOffset:n,dotWidth:r,dotHeight:o,dotGap:i,colorBgContainer:a,motionDurationSlow:l}=e;return{[t]:{".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:n},"&-top":{top:n,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:r,height:o,marginInline:i,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${l}`,borderRadius:o,overflow:"hidden","&::after":{display:"block",position:"absolute",top:0,insetInlineStart:0,width:"100%",height:o,content:'""',background:a,borderRadius:o,opacity:1,outline:"none",cursor:"pointer",overflow:"hidden",transform:"translate3d(-100%, 0, 0)"},button:{position:"relative",display:"block",width:"100%",height:o,padding:0,color:"transparent",fontSize:0,background:a,border:0,borderRadius:o,outline:"none",cursor:"pointer",opacity:.2,transition:`all ${l}`,overflow:"hidden","&:hover":{opacity:.75},"&::after":{position:"absolute",inset:e.calc(i).mul(-1).equal(),content:'""'}},"&.slick-active":{width:e.dotActiveWidth,position:"relative","&:hover":{opacity:1},"&::after":{transform:"translate3d(0, 0, 0)",transition:`transform var(${EO}) ease-out`}}}}}}},MO=e=>{const{componentCls:t,dotOffset:n,arrowOffset:r,marginXXS:o}=e,i={width:e.dotHeight,height:e.dotWidth};return{[`${t}-vertical`]:{".slick-prev, .slick-next":{insetInlineStart:"50%",marginBlockStart:"unset",transform:"translateX(-50%)"},".slick-prev":{insetBlockStart:r,insetInlineStart:"50%","&::after":{transform:"rotate(45deg)"}},".slick-next":{insetBlockStart:"auto",insetBlockEnd:r,"&::after":{transform:"rotate(-135deg)"}},".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:n},"&-right":{insetInlineEnd:n,insetInlineStart:"auto"},li:Object.assign(Object.assign({},i),{margin:`${qi(o)} 0`,verticalAlign:"baseline",button:i,"&::after":Object.assign(Object.assign({},i),{height:0}),"&.slick-active":Object.assign(Object.assign({},i),{button:i,"&::after":Object.assign(Object.assign({},i),{transition:`height var(${EO}) ease-out`})})})}}}},PO=e=>{const{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl",".slick-dots":{[`${t}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${t}-vertical`]:{".slick-dots":{[`${t}-rtl&`]:{flexDirection:"column"}}}}]},jO=Kc("Carousel",(e=>[OO(e),IO(e),NO(e),MO(e),PO(e)]),(e=>({arrowSize:16,arrowOffset:e.marginXS,dotWidth:16,dotHeight:3,dotGap:e.marginXXS,dotOffset:12,dotWidthActive:24,dotActiveWidth:24})),{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]});var RO=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const TO="slick-dots",zO=t=>{var n=RO(t,["currentSlide","slideCount"]);return e.createElement("button",Object.assign({type:"button"},n))},HO=e.forwardRef(((t,n)=>{const{dots:r=!0,arrows:o=!1,prevArrow:i=e.createElement(zO,{"aria-label":"prev"}),nextArrow:a=e.createElement(zO,{"aria-label":"next"}),draggable:l=!1,waitForAnimate:c=!1,dotPosition:s="bottom",vertical:u="left"===s||"right"===s,rootClassName:d,className:f,style:p,id:m,autoplay:g=!1,autoplaySpeed:h=3e3}=t,v=RO(t,["dots","arrows","prevArrow","nextArrow","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id","autoplay","autoplaySpeed"]),{getPrefixCls:b,direction:y,className:x,style:C}=Zl("carousel"),$=e.useRef(null),S=(e,t=!1)=>{$.current.slickGoTo(e,t)};e.useImperativeHandle(n,(()=>({goTo:S,autoPlay:$.current.innerSlider.autoPlay,innerSlider:$.current.innerSlider,prev:$.current.slickPrev,next:$.current.slickNext})),[$.current]);const k=e.useRef(e.Children.count(t.children));e.useEffect((()=>{k.current!==e.Children.count(t.children)&&(S(t.initialSlide||0,!1),k.current=e.Children.count(t.children))}),[t.children]);const E=Object.assign({vertical:u,className:w(f,x),style:Object.assign(Object.assign({},C),p),autoplay:!!g},v);"fade"===E.effect&&(E.fade=!0);const O=b("carousel",E.prefixCls),I=!!r,N=w(TO,`${TO}-${s}`,"boolean"!=typeof r&&(null==r?void 0:r.className)),[M,P,j]=jO(O),R=w(O,{[`${O}-rtl`]:"rtl"===y,[`${O}-vertical`]:E.vertical},P,j,d),T=g&&"object"==typeof g&&g.dotDuration?{[EO]:`${h}ms`}:{};return M(e.createElement("div",{className:R,id:m,style:T},e.createElement(kO,Object.assign({ref:$},E,{dots:I,dotsClass:N,arrows:o,prevArrow:i,nextArrow:a,draggable:l,verticalSwiping:u,autoplaySpeed:h,waitForAnimate:c}))))}));function DO(e,t){return e[t]}var BO=["children"];function AO(e,t){return"".concat(e,"-").concat(t)}function LO(e,t){return null!=e?e:t}function FO(e){var t=e||{},n=t.title||"title";return{title:n,_title:t._title||[n],key:t.key||"key",children:t.children||"children"}}function _O(e){return function e(t){return Io(t).map((function(t){if(!function(e){return e&&e.type&&e.type.isTreeNode}(t))return me(!t,"Tree/TreeNode can only accept TreeNode as children."),null;var n=t.key,r=t.props,o=r.children,i=Y({key:n},b(r,BO)),a=e(o);return a.length&&(i.children=a),i})).filter((function(e){return e}))}(e)}function WO(e,t,n){var r=FO(n),o=r._title,i=r.key,a=r.children,l=new Set(!0===t?[]:t),c=[];return function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n.map((function(s,u){for(var d,f=AO(r?r.pos:"0",u),p=LO(s[i],f),m=0;m<o.length;m+=1){var g=o[m];if(void 0!==s[g]){d=s[g];break}}var h=Object.assign(bd(s,[].concat(xi(o),[i,a])),{title:d,key:p,parent:r,pos:f,children:null,data:s,isStart:[].concat(xi(r?r.isStart:[]),[0===u]),isEnd:[].concat(xi(r?r.isEnd:[]),[u===n.length-1])});return c.push(h),!0===t||l.has(p)?h.children=e(s[a]||[],h):h.children=[],h}))}(e),c}function KO(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,r=t.processEntity,o=t.onProcessFinished,i=t.externalGetKey,a=t.childrenPropName,l=t.fieldNames,c=i||(arguments.length>2?arguments[2]:void 0),s={},u={},d={posEntities:s,keyEntities:u};return n&&(d=n(d)||d),function(e,t,n){var r,o=("object"===g(n)?n:{externalGetKey:n})||{},i=o.childrenPropName,a=o.externalGetKey,l=FO(o.fieldNames),c=l.key,s=l.children,u=i||s;a?"string"==typeof a?r=function(e){return e[a]}:"function"==typeof a&&(r=function(e){return a(e)}):r=function(e,t){return LO(e[c],t)},function n(o,i,a,l){var c=o?o[u]:e,s=o?AO(a.pos,i):"0",d=o?[].concat(xi(l),[o]):[];if(o){var f=r(o,s),p={node:o,index:i,pos:s,key:f,parentPos:a.node?a.pos:null,level:a.level+1,nodes:d};t(p)}c&&c.forEach((function(e,t){n(e,t,{node:o,pos:s,level:a?a.level+1:-1},d)}))}(null)}(e,(function(e){var t=e.node,n=e.index,o=e.pos,i=e.key,a=e.parentPos,l=e.level,c={node:t,nodes:e.nodes,index:n,key:i,pos:o,level:l},f=LO(i,o);s[o]=c,u[f]=c,c.parent=s[a],c.parent&&(c.parent.children=c.parent.children||[],c.parent.children.push(c)),r&&r(c,d)}),{externalGetKey:c,childrenPropName:a,fieldNames:l}),o&&o(d),d}function VO(e,t){var n=t.expandedKeys,r=t.selectedKeys,o=t.loadedKeys,i=t.loadingKeys,a=t.checkedKeys,l=t.halfCheckedKeys,c=t.dragOverNodeKey,s=t.dropPosition,u=DO(t.keyEntities,e);return{eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==o.indexOf(e),loading:-1!==i.indexOf(e),checked:-1!==a.indexOf(e),halfChecked:-1!==l.indexOf(e),pos:String(u?u.pos:""),dragOver:c===e&&0===s,dragOverGapTop:c===e&&-1===s,dragOverGapBottom:c===e&&1===s}}function qO(e){var t=e.data,n=e.expanded,r=e.selected,o=e.checked,i=e.loaded,a=e.loading,l=e.halfChecked,c=e.dragOver,s=e.dragOverGapTop,u=e.dragOverGapBottom,d=e.pos,f=e.active,p=e.eventKey,m=Y(Y({},t),{},{expanded:n,selected:r,checked:o,loaded:i,loading:a,halfChecked:l,dragOver:c,dragOverGapTop:s,dragOverGapBottom:u,pos:d,active:f,key:p});return"props"in m||Object.defineProperty(m,"props",{get:function(){return me(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),m}function XO(e,t){var n=new Set;return e.forEach((function(e){t.has(e)||n.add(e)})),n}function GO(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,o=t.checkable;return!(!n&&!r)||!1===o}function YO(e,t,n,r){var o,i=[];o=r||GO;var a,l=new Set(e.filter((function(e){var t=!!DO(n,e);return t||i.push(e),t}))),c=new Map,s=0;return Object.keys(n).forEach((function(e){var t=n[e],r=t.level,o=c.get(r);o||(o=new Set,c.set(r,o)),o.add(t),s=Math.max(s,r)})),me(!i.length,"Tree missing follow keys: ".concat(i.slice(0,100).map((function(e){return"'".concat(e,"'")})).join(", "))),a=!0===t?function(e,t,n,r){for(var o=new Set(e),i=new Set,a=0;a<=n;a+=1)(t.get(a)||new Set).forEach((function(e){var t=e.key,n=e.node,i=e.children,a=void 0===i?[]:i;o.has(t)&&!r(n)&&a.filter((function(e){return!r(e.node)})).forEach((function(e){o.add(e.key)}))}));for(var l=new Set,c=n;c>=0;c-=1)(t.get(c)||new Set).forEach((function(e){var t=e.parent,n=e.node;if(!r(n)&&e.parent&&!l.has(e.parent.key))if(r(e.parent.node))l.add(t.key);else{var a=!0,c=!1;(t.children||[]).filter((function(e){return!r(e.node)})).forEach((function(e){var t=e.key,n=o.has(t);a&&!n&&(a=!1),c||!n&&!i.has(t)||(c=!0)})),a&&o.add(t.key),c&&i.add(t.key),l.add(t.key)}}));return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(XO(i,o))}}(l,c,s,o):function(e,t,n,r,o){for(var i=new Set(e),a=new Set(t),l=0;l<=r;l+=1)(n.get(l)||new Set).forEach((function(e){var t=e.key,n=e.node,r=e.children,l=void 0===r?[]:r;i.has(t)||a.has(t)||o(n)||l.filter((function(e){return!o(e.node)})).forEach((function(e){i.delete(e.key)}))}));a=new Set;for(var c=new Set,s=r;s>=0;s-=1)(n.get(s)||new Set).forEach((function(e){var t=e.parent,n=e.node;if(!o(n)&&e.parent&&!c.has(e.parent.key))if(o(e.parent.node))c.add(t.key);else{var r=!0,l=!1;(t.children||[]).filter((function(e){return!o(e.node)})).forEach((function(e){var t=e.key,n=i.has(t);r&&!n&&(r=!1),l||!n&&!a.has(t)||(l=!0)})),r||i.delete(t.key),l&&a.add(t.key),c.add(t.key)}}));return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(XO(a,i))}}(l,t.halfCheckedKeys,c,s,o),a}const UO=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},Ac(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},Ac(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},Ac(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},Lc(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${qi(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${qi(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[`\n ${n}:not(${n}-disabled),\n ${t}:not(${t}-disabled)\n `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[`\n ${n}-checked:not(${n}-disabled),\n ${t}-checked:not(${t}-disabled)\n `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorPrimary} !important`}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function QO(e,t){const n=Cc(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[UO(n)]}const ZO=Kc("Checkbox",((e,{prefixCls:t})=>[QO(t,e)])),JO=n.createContext(null);var eI=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const tI=(t,n)=>{var r;const{prefixCls:o,className:i,rootClassName:a,children:l,indeterminate:c=!1,style:s,onMouseEnter:u,onMouseLeave:d,skipGroup:f=!1,disabled:p}=t,m=eI(t,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:g,direction:h,checkbox:v}=e.useContext(Ul),b=e.useContext(JO),{isFormItemInput:y}=e.useContext(Fg),x=e.useContext(rc),C=null!==(r=(null==b?void 0:b.disabled)||p)&&void 0!==r?r:x,$=e.useRef(m.value),S=e.useRef(null),k=$o(n,S);e.useEffect((()=>{null==b||b.registerValue(m.value)}),[]),e.useEffect((()=>{if(!f)return m.value!==$.current&&(null==b||b.cancelValue($.current),null==b||b.registerValue(m.value),$.current=m.value),()=>null==b?void 0:b.cancelValue(m.value)}),[m.value]),e.useEffect((()=>{var e;(null===(e=S.current)||void 0===e?void 0:e.input)&&(S.current.input.indeterminate=c)}),[c]);const E=g("checkbox",o),O=bu(E),[I,N,M]=ZO(E,O),P=Object.assign({},m);b&&!f&&(P.onChange=(...e)=>{m.onChange&&m.onChange.apply(m,e),b.toggleOption&&b.toggleOption({label:l,value:m.value})},P.name=b.name,P.checked=b.value.includes(m.value));const j=w(`${E}-wrapper`,{[`${E}-rtl`]:"rtl"===h,[`${E}-wrapper-checked`]:P.checked,[`${E}-wrapper-disabled`]:C,[`${E}-wrapper-in-form-item`]:y},null==v?void 0:v.className,i,a,M,O,N),R=w({[`${E}-indeterminate`]:c},wd,N),[T,z]=Tk(P.onClick);return I(e.createElement(Id,{component:"Checkbox",disabled:C},e.createElement("label",{className:j,style:Object.assign(Object.assign({},null==v?void 0:v.style),s),onMouseEnter:u,onMouseLeave:d,onClick:T},e.createElement(Rk,Object.assign({},P,{onClick:z,prefixCls:E,className:R,disabled:C,ref:k})),null!=l&&e.createElement("span",{className:`${E}-label`},l))))},nI=e.forwardRef(tI);var rI=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const oI=e.forwardRef(((t,n)=>{const{defaultValue:r,children:o,options:i=[],prefixCls:a,className:l,rootClassName:c,style:s,onChange:u}=t,d=rI(t,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:f,direction:p}=e.useContext(Ul),[m,g]=e.useState(d.value||r||[]),[h,v]=e.useState([]);e.useEffect((()=>{"value"in d&&g(d.value||[])}),[d.value]);const b=e.useMemo((()=>i.map((e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e))),[i]),y=e=>{v((t=>t.filter((t=>t!==e))))},x=e=>{v((t=>[].concat(xi(t),[e])))},C=e=>{const t=m.indexOf(e.value),n=xi(m);-1===t?n.push(e.value):n.splice(t,1),"value"in d||g(n),null==u||u(n.filter((e=>h.includes(e))).sort(((e,t)=>b.findIndex((t=>t.value===e))-b.findIndex((e=>e.value===t)))))},$=f("checkbox",a),S=`${$}-group`,k=bu($),[E,O,I]=ZO($,k),N=bd(d,["value","disabled"]),M=i.length?b.map((t=>e.createElement(nI,{prefixCls:$,key:t.value.toString(),disabled:"disabled"in t?t.disabled:d.disabled,value:t.value,checked:m.includes(t.value),onChange:t.onChange,className:w(`${S}-item`,t.className),style:t.style,title:t.title,id:t.id,required:t.required},t.label))):o,P=e.useMemo((()=>({toggleOption:C,value:m,disabled:d.disabled,name:d.name,registerValue:x,cancelValue:y})),[C,m,d.disabled,d.name,x,y]),j=w(S,{[`${S}-rtl`]:"rtl"===p},l,c,I,k,O);return E(e.createElement("div",Object.assign({className:j,style:s},N,{ref:n}),e.createElement(JO.Provider,{value:P},M)))})),iI=nI;iI.Group=oI,iI.__ANT_CHECKBOX=!0;const aI=iI,lI=e.createContext({});var cI=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function sI(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const uI=["xs","sm","md","lg","xl","xxl"],dI=e.forwardRef(((t,n)=>{const{getPrefixCls:r,direction:o}=e.useContext(Ul),{gutter:i,wrap:a}=e.useContext(lI),{prefixCls:l,span:c,order:s,offset:u,push:d,pull:f,className:p,children:m,flex:g,style:h}=t,v=cI(t,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),b=r("col",l),[y,x,C]=Th(b),$={};let S={};uI.forEach((e=>{let n={};const r=t[e];"number"==typeof r?n.span=r:"object"==typeof r&&(n=r||{}),delete v[e],S=Object.assign(Object.assign({},S),{[`${b}-${e}-${n.span}`]:void 0!==n.span,[`${b}-${e}-order-${n.order}`]:n.order||0===n.order,[`${b}-${e}-offset-${n.offset}`]:n.offset||0===n.offset,[`${b}-${e}-push-${n.push}`]:n.push||0===n.push,[`${b}-${e}-pull-${n.pull}`]:n.pull||0===n.pull,[`${b}-rtl`]:"rtl"===o}),n.flex&&(S[`${b}-${e}-flex`]=!0,$[`--${b}-${e}-flex`]=sI(n.flex))}));const k=w(b,{[`${b}-${c}`]:void 0!==c,[`${b}-order-${s}`]:s,[`${b}-offset-${u}`]:u,[`${b}-push-${d}`]:d,[`${b}-pull-${f}`]:f},p,S,x,C),E={};if(i&&i[0]>0){const e=i[0]/2;E.paddingLeft=e,E.paddingRight=e}return g&&(E.flex=sI(g),!1!==a||E.minWidth||(E.minWidth=0)),y(e.createElement("div",Object.assign({},v,{style:Object.assign(Object.assign(Object.assign({},E),h),$),className:k,ref:n}),m))}));var fI=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function pI(t,n){const[r,o]=e.useState("string"==typeof t?t:"");return e.useEffect((()=>{(()=>{if("string"==typeof t&&o(t),"object"==typeof t)for(let e=0;e<ix.length;e++){const r=ix[e];if(!n||!n[r])continue;const i=t[r];if(void 0!==i)return void o(i)}})()}),[JSON.stringify(t),n]),r}const mI=e.forwardRef(((t,n)=>{const{prefixCls:r,justify:o,align:i,className:a,style:l,children:c,gutter:s=0,wrap:u}=t,d=fI(t,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:f,direction:p}=e.useContext(Ul),m=cx(!0,null),g=pI(i,m),h=pI(o,m),v=f("row",r),[b,y,x]=jh(v),C=function(e,t){const n=[void 0,void 0],r=Array.isArray(e)?e:[e,void 0],o=t||{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0};return r.forEach(((e,t)=>{if("object"==typeof e&&null!==e)for(let r=0;r<ix.length;r++){const i=ix[r];if(o[i]&&void 0!==e[i]){n[t]=e[i];break}}else n[t]=e})),n}(s,m),$=w(v,{[`${v}-no-wrap`]:!1===u,[`${v}-${h}`]:h,[`${v}-${g}`]:g,[`${v}-rtl`]:"rtl"===p},a,y,x),S={},k=null!=C[0]&&C[0]>0?C[0]/-2:void 0;k&&(S.marginLeft=k,S.marginRight=k);const[E,O]=C;S.rowGap=O;const I=e.useMemo((()=>({gutter:[E,O],wrap:u})),[E,O,u]);return b(e.createElement(lI.Provider,{value:I},e.createElement("div",Object.assign({},d,{className:$,style:Object.assign(Object.assign({},S),l),ref:n}),c)))}));var gI=function(e,t){if(!e)return null;var n={left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth,top:e.offsetTop,bottom:e.parentElement.clientHeight-e.clientHeight-e.offsetTop,height:e.clientHeight};return t?{left:0,right:0,width:0,top:n.top,bottom:n.bottom,height:n.height}:{left:n.left,right:n.right,width:n.width,top:0,bottom:0,height:0}},hI=function(e){return void 0!==e?"".concat(e,"px"):void 0};function vI(t){var n=t.prefixCls,r=t.containerRef,o=t.value,i=t.getValueIndex,a=t.motionName,l=t.onMotionStart,c=t.onMotionEnd,s=t.direction,u=t.vertical,d=void 0!==u&&u,f=e.useRef(null),p=m(e.useState(o),2),g=p[0],h=p[1],v=function(e){var t,o=i(e),a=null===(t=r.current)||void 0===t?void 0:t.querySelectorAll(".".concat(n,"-item"))[o];return(null==a?void 0:a.offsetParent)&&a},b=m(e.useState(null),2),y=b[0],x=b[1],C=m(e.useState(null),2),$=C[0],S=C[1];Zi((function(){if(g!==o){var e=v(g),t=v(o),n=gI(e,d),r=gI(t,d);h(o),x(n),S(r),e&&t?l():c()}}),[o]);var k=e.useMemo((function(){var e;return hI(d?null!==(e=null==y?void 0:y.top)&&void 0!==e?e:0:"rtl"===s?-(null==y?void 0:y.right):null==y?void 0:y.left)}),[d,s,y]),E=e.useMemo((function(){var e;return hI(d?null!==(e=null==$?void 0:$.top)&&void 0!==e?e:0:"rtl"===s?-(null==$?void 0:$.right):null==$?void 0:$.left)}),[d,s,$]);return y&&$?e.createElement(Ts,{visible:!0,motionName:a,motionAppear:!0,onAppearStart:function(){return d?{transform:"translateY(var(--thumb-start-top))",height:"var(--thumb-start-height)"}:{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return d?{transform:"translateY(var(--thumb-active-top))",height:"var(--thumb-active-height)"}:{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){x(null),S(null),c()}},(function(t,r){var o=t.className,i=Y(Y({},t.style),{},{"--thumb-start-left":k,"--thumb-start-width":hI(null==y?void 0:y.width),"--thumb-active-left":E,"--thumb-active-width":hI(null==$?void 0:$.width),"--thumb-start-top":k,"--thumb-start-height":hI(null==y?void 0:y.height),"--thumb-active-top":E,"--thumb-active-height":hI(null==$?void 0:$.height)}),a={ref:$o(f,r),style:i,className:w("".concat(n,"-thumb"),o)};return e.createElement("div",a)})):null}var bI=["prefixCls","direction","vertical","options","disabled","defaultValue","value","name","onChange","className","motionName"];function yI(e){return e.map((function(e){if("object"===g(e)&&null!==e){var t=function(e){return void 0!==e.title?e.title:"object"!==g(e.label)?null===(t=e.label)||void 0===t?void 0:t.toString():void 0;var t}(e);return Y(Y({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}}))}var xI=function(t){var n=t.prefixCls,r=t.className,o=t.disabled,i=t.checked,a=t.label,l=t.title,c=t.value,s=t.name,u=t.onChange,d=t.onFocus,f=t.onBlur,p=t.onKeyDown,m=t.onKeyUp,g=t.onMouseDown;return e.createElement("label",{className:w(r,v({},"".concat(n,"-item-disabled"),o)),onMouseDown:g},e.createElement("input",{name:s,className:"".concat(n,"-item-input"),type:"radio",disabled:o,checked:i,onChange:function(e){o||u(e,c)},onFocus:d,onBlur:f,onKeyDown:p,onKeyUp:m}),e.createElement("div",{className:"".concat(n,"-item-label"),title:l,"aria-selected":i},a))},CI=e.forwardRef((function(t,n){var r,o,i=t.prefixCls,a=void 0===i?"rc-segmented":i,l=t.direction,c=t.vertical,u=t.options,d=void 0===u?[]:u,f=t.disabled,p=t.defaultValue,g=t.value,h=t.name,y=t.onChange,x=t.className,C=void 0===x?"":x,$=t.motionName,S=void 0===$?"thumb-motion":$,k=b(t,bI),E=e.useRef(null),O=e.useMemo((function(){return $o(E,n)}),[E,n]),I=e.useMemo((function(){return yI(d)}),[d]),N=m(vc(null===(r=I[0])||void 0===r?void 0:r.value,{value:g,defaultValue:p}),2),M=N[0],P=N[1],j=m(e.useState(!1),2),R=j[0],T=j[1],z=function(e,t){P(t),null==y||y(t)},H=bd(k,["children"]),D=m(e.useState(!1),2),B=D[0],A=D[1],L=m(e.useState(!1),2),F=L[0],_=L[1],W=function(){_(!0)},K=function(){_(!1)},V=function(){A(!1)},q=function(e){"Tab"===e.key&&A(!0)},X=function(e){var t=I.findIndex((function(e){return e.value===M})),n=I.length,r=I[(t+e+n)%n];r&&(P(r.value),null==y||y(r.value))},G=function(e){switch(e.key){case"ArrowLeft":case"ArrowUp":X(-1);break;case"ArrowRight":case"ArrowDown":X(1)}};return e.createElement("div",s({role:"radiogroup","aria-label":"segmented control",tabIndex:f?void 0:0},H,{className:w(a,(o={},v(o,"".concat(a,"-rtl"),"rtl"===l),v(o,"".concat(a,"-disabled"),f),v(o,"".concat(a,"-vertical"),c),o),C),ref:O}),e.createElement("div",{className:"".concat(a,"-group")},e.createElement(vI,{vertical:c,prefixCls:a,value:M,containerRef:E,motionName:"".concat(a,"-").concat(S),direction:l,getValueIndex:function(e){return I.findIndex((function(t){return t.value===e}))},onMotionStart:function(){T(!0)},onMotionEnd:function(){T(!1)}}),I.map((function(t){var n;return e.createElement(xI,s({},t,{name:h,key:t.value,prefixCls:a,className:w(t.className,"".concat(a,"-item"),(n={},v(n,"".concat(a,"-item-selected"),t.value===M&&!R),v(n,"".concat(a,"-item-focused"),F&&B&&t.value===M),n)),checked:t.value===M,onChange:z,onFocus:W,onBlur:K,onKeyDown:G,onKeyUp:q,onMouseDown:V,disabled:!!f||!!t.disabled}))}))))}));function wI(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function $I(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}const SI=Object.assign({overflow:"hidden"},Bc),kI=e=>{const{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),r=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),o=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Ac(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`}),Fc(e)),{[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",flexDirection:"row",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-vertical`]:{[`${t}-group`]:{flexDirection:"column"},[`${t}-thumb`]:{width:"100%",height:0,padding:`0 ${qi(e.paddingXXS)}`}},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},$I(e)),{color:e.itemSelectedColor}),"&-focused":Object.assign({},Lc(e)),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",opacity:0,transition:`opacity ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{opacity:1,backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{opacity:1,backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:qi(n),padding:`0 ${qi(e.segmentedPaddingHorizontal)}`},SI),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},$I(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${qi(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, height ${e.motionDurationSlow} ${e.motionEaseInOut}`,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:r,lineHeight:qi(r),padding:`0 ${qi(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:o,lineHeight:qi(o),padding:`0 ${qi(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),wI(`&-disabled ${t}-item`,e)),wI(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"},[`&${t}-shape-round`]:{borderRadius:9999,[`${t}-item, ${t}-thumb`]:{borderRadius:9999}}})}},EI=Kc("Segmented",(e=>{const{lineWidth:t,calc:n}=e,r=Cc(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()});return[kI(r)]}),(e=>{const{colorTextLabel:t,colorText:n,colorFillSecondary:r,colorBgElevated:o,colorFill:i,lineWidthBold:a,colorBgLayout:l}=e;return{trackPadding:a,trackBg:l,itemColor:t,itemHoverColor:n,itemHoverBg:r,itemSelectedBg:o,itemActiveBg:i,itemSelectedColor:n}}));var OI=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const II=e.forwardRef(((t,n)=>{const r=vm(),{prefixCls:o,className:i,rootClassName:a,block:l,options:c=[],size:s="middle",style:u,vertical:d,shape:f="default",name:p=r}=t,m=OI(t,["prefixCls","className","rootClassName","block","options","size","style","vertical","shape","name"]),{getPrefixCls:g,direction:h,className:v,style:b}=Zl("segmented"),y=g("segmented",o),[x,C,$]=EI(y),S=Nd(s),k=e.useMemo((()=>c.map((t=>{if(function(e){return"object"==typeof e&&!!(null==e?void 0:e.icon)}(t)){const{icon:n,label:r}=t,o=OI(t,["icon","label"]);return Object.assign(Object.assign({},o),{label:e.createElement(e.Fragment,null,e.createElement("span",{className:`${y}-item-icon`},n),r&&e.createElement("span",null,r))})}return t}))),[c,y]),E=w(i,a,v,{[`${y}-block`]:l,[`${y}-sm`]:"small"===S,[`${y}-lg`]:"large"===S,[`${y}-vertical`]:d,[`${y}-shape-${f}`]:"round"===f},C,$),O=Object.assign(Object.assign({},b),u);return x(e.createElement(CI,Object.assign({},m,{name:p,className:E,style:O,options:k,ref:n,prefixCls:y,direction:h,vertical:d})))}));function NI(e,t,n){var r=t.cloneNode(!0),o=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,"number"==typeof t.selectionStart&&"number"==typeof t.selectionEnd&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function MI(e,t,n,r){if(n){var o=t;"click"!==t.type?"file"===e.type||void 0===r?n(o):n(o=NI(t,e,r)):n(o=NI(t,e,""))}}function PI(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}var jI=n.forwardRef((function(t,r){var o,i,a,l=t.inputElement,c=t.children,u=t.prefixCls,d=t.prefix,f=t.suffix,p=t.addonBefore,m=t.addonAfter,h=t.className,b=t.style,y=t.disabled,x=t.readOnly,C=t.focused,$=t.triggerFocus,S=t.allowClear,k=t.value,E=t.handleReset,O=t.hidden,I=t.classes,N=t.classNames,M=t.dataAttrs,P=t.styles,j=t.components,R=t.onClear,T=null!=c?c:l,z=(null==j?void 0:j.affixWrapper)||"span",H=(null==j?void 0:j.groupWrapper)||"span",D=(null==j?void 0:j.wrapper)||"span",B=(null==j?void 0:j.groupAddon)||"span",A=e.useRef(null),L=function(e){return!!(e.prefix||e.suffix||e.allowClear)}(t),F=e.cloneElement(T,{value:k,className:w(null===(o=T.props)||void 0===o?void 0:o.className,!L&&(null==N?void 0:N.variant))||null}),_=e.useRef(null);if(n.useImperativeHandle(r,(function(){return{nativeElement:_.current||A.current}})),L){var W=null;if(S){var K=!y&&!x&&k,V="".concat(u,"-clear-icon"),q="object"===g(S)&&null!=S&&S.clearIcon?S.clearIcon:"✖";W=n.createElement("button",{type:"button",tabIndex:-1,onClick:function(e){null==E||E(e),null==R||R()},onMouseDown:function(e){return e.preventDefault()},className:w(V,v(v({},"".concat(V,"-hidden"),!K),"".concat(V,"-has-suffix"),!!f))},q)}var X="".concat(u,"-affix-wrapper"),G=w(X,v(v(v(v(v({},"".concat(u,"-disabled"),y),"".concat(X,"-disabled"),y),"".concat(X,"-focused"),C),"".concat(X,"-readonly"),x),"".concat(X,"-input-with-clear-btn"),f&&S&&k),null==I?void 0:I.affixWrapper,null==N?void 0:N.affixWrapper,null==N?void 0:N.variant),U=(f||S)&&n.createElement("span",{className:w("".concat(u,"-suffix"),null==N?void 0:N.suffix),style:null==P?void 0:P.suffix},W,f);F=n.createElement(z,s({className:G,style:null==P?void 0:P.affixWrapper,onClick:function(e){var t;null!==(t=A.current)&&void 0!==t&&t.contains(e.target)&&(null==$||$())}},null==M?void 0:M.affixWrapper,{ref:A}),d&&n.createElement("span",{className:w("".concat(u,"-prefix"),null==N?void 0:N.prefix),style:null==P?void 0:P.prefix},d),F,U)}if(function(e){return!(!e.addonBefore&&!e.addonAfter)}(t)){var Q="".concat(u,"-group"),Z="".concat(Q,"-addon"),J="".concat(Q,"-wrapper"),ee=w("".concat(u,"-wrapper"),Q,null==I?void 0:I.wrapper,null==N?void 0:N.wrapper),te=w(J,v({},"".concat(J,"-disabled"),y),null==I?void 0:I.group,null==N?void 0:N.groupWrapper);F=n.createElement(H,{className:te,ref:_},n.createElement(D,{className:ee},p&&n.createElement(B,{className:Z},p),F,m&&n.createElement(B,{className:Z},m)))}return n.cloneElement(F,{className:w(null===(i=F.props)||void 0===i?void 0:i.className,h)||null,style:Y(Y({},null===(a=F.props)||void 0===a?void 0:a.style),b),hidden:O})})),RI=["show"];function TI(t,n){return e.useMemo((function(){var e={};n&&(e.show="object"===g(n)&&n.formatter?n.formatter:!!n);var r=e=Y(Y({},e),t),o=r.show,i=b(r,RI);return Y(Y({},i),{},{show:!!o,showFormatter:"function"==typeof o?o:void 0,strategy:i.strategy||function(e){return e.length}})}),[t,n])}var zI=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],HI=e.forwardRef((function(t,r){var o=t.autoComplete,i=t.onChange,a=t.onFocus,l=t.onBlur,c=t.onPressEnter,u=t.onKeyDown,d=t.onKeyUp,f=t.prefixCls,p=void 0===f?"rc-input":f,g=t.disabled,h=t.htmlSize,y=t.className,x=t.maxLength,C=t.suffix,$=t.showCount,S=t.count,k=t.type,E=void 0===k?"text":k,O=t.classes,I=t.classNames,N=t.styles,M=t.onCompositionStart,P=t.onCompositionEnd,j=b(t,zI),R=m(e.useState(!1),2),T=R[0],z=R[1],H=e.useRef(!1),D=e.useRef(!1),B=e.useRef(null),A=e.useRef(null),L=function(e){B.current&&PI(B.current,e)},F=m(vc(t.defaultValue,{value:t.value}),2),_=F[0],W=F[1],K=null==_?"":String(_),V=m(e.useState(null),2),q=V[0],X=V[1],G=TI(S,$),U=G.max||x,Q=G.strategy(K),Z=!!U&&Q>U;e.useImperativeHandle(r,(function(){var e;return{focus:L,blur:function(){var e;null===(e=B.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=B.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=B.current)||void 0===e||e.select()},input:B.current,nativeElement:(null===(e=A.current)||void 0===e?void 0:e.nativeElement)||B.current}})),e.useEffect((function(){D.current&&(D.current=!1),z((function(e){return(!e||!g)&&e}))}),[g]);var J=function(e,t,n){var r,o,a=t;if(!H.current&&G.exceedFormatter&&G.max&&G.strategy(t)>G.max)t!==(a=G.exceedFormatter(t,{max:G.max}))&&X([(null===(r=B.current)||void 0===r?void 0:r.selectionStart)||0,(null===(o=B.current)||void 0===o?void 0:o.selectionEnd)||0]);else if("compositionEnd"===n.source)return;W(a),B.current&&MI(B.current,e,i,a)};e.useEffect((function(){var e;q&&(null===(e=B.current)||void 0===e||e.setSelectionRange.apply(e,xi(q)))}),[q]);var ee,te=function(e){J(e,e.target.value,{source:"change"})},ne=function(e){H.current=!1,J(e,e.currentTarget.value,{source:"compositionEnd"}),null==P||P(e)},re=function(e){c&&"Enter"===e.key&&!D.current&&(D.current=!0,c(e)),null==u||u(e)},oe=function(e){"Enter"===e.key&&(D.current=!1),null==d||d(e)},ie=function(e){z(!0),null==a||a(e)},ae=function(e){D.current&&(D.current=!1),z(!1),null==l||l(e)},le=Z&&"".concat(p,"-out-of-range");return n.createElement(jI,s({},j,{prefixCls:p,className:w(y,le),handleReset:function(e){W(""),L(),B.current&&MI(B.current,e,i)},value:K,focused:T,triggerFocus:L,suffix:function(){var e=Number(U)>0;if(C||G.show){var t=G.showFormatter?G.showFormatter({value:K,count:Q,maxLength:U}):"".concat(Q).concat(e?" / ".concat(U):"");return n.createElement(n.Fragment,null,G.show&&n.createElement("span",{className:w("".concat(p,"-show-count-suffix"),v({},"".concat(p,"-show-count-has-suffix"),!!C),null==I?void 0:I.count),style:Y({},null==N?void 0:N.count)},t),C)}return null}(),disabled:g,classes:O,classNames:I,styles:N,ref:A}),(ee=bd(t,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]),n.createElement("input",s({autoComplete:o},ee,{onChange:te,onFocus:ie,onBlur:ae,onKeyDown:re,onKeyUp:oe,className:w(p,v({},"".concat(p,"-disabled"),g),null==I?void 0:I.input),style:null==N?void 0:N.input,ref:B,size:h,type:E,onCompositionStart:function(e){H.current=!0,null==M||M(e)},onCompositionEnd:ne}))))}));const DI=e=>{let t;return"object"==typeof e&&(null==e?void 0:e.clearIcon)?t=e:e&&(t={clearIcon:n.createElement(st,null)}),t};function BI(t,n){const r=e.useRef([]),o=()=>{r.current.push(setTimeout((()=>{var e,n,r,o;(null===(e=t.current)||void 0===e?void 0:e.input)&&"password"===(null===(n=t.current)||void 0===n?void 0:n.input.getAttribute("type"))&&(null===(r=t.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(o=t.current)||void 0===o||o.input.removeAttribute("value"))})))};return e.useEffect((()=>(n&&o(),()=>r.current.forEach((e=>{e&&clearTimeout(e)})))),[]),o}var AI=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const LI=e.forwardRef(((t,r)=>{const{prefixCls:o,bordered:i=!0,status:a,size:l,disabled:c,onBlur:s,onFocus:u,suffix:d,allowClear:f,addonAfter:p,addonBefore:m,className:g,style:h,styles:v,rootClassName:b,onChange:y,classNames:x,variant:C}=t,$=AI(t,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:S,direction:k,allowClear:E,autoComplete:O,className:I,style:N,classNames:M,styles:P}=Zl("input"),j=S("input",o),R=e.useRef(null),T=bu(j),[z,H,D]=SE(j,b),[B]=kE(j,T),{compactSize:A,compactItemClassnames:L}=Hd(j,k),F=Nd((e=>{var t;return null!==(t=null!=l?l:A)&&void 0!==t?t:e})),_=n.useContext(rc),W=null!=c?c:_,{status:K,hasFeedback:V,feedbackIcon:q}=e.useContext(Fg),X=my(K,a),G=function(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}(t)||!!V;e.useRef(G);const Y=BI(R,!0),U=(V||d)&&n.createElement(n.Fragment,null,d,V&&q),Q=DI(null!=f?f:E),[Z,J]=ky("input",C,i);return z(B(n.createElement(HI,Object.assign({ref:$o(r,R),prefixCls:j,autoComplete:O},$,{disabled:W,onBlur:e=>{Y(),null==s||s(e)},onFocus:e=>{Y(),null==u||u(e)},style:Object.assign(Object.assign({},N),h),styles:Object.assign(Object.assign({},P),v),suffix:U,allowClear:Q,className:w(g,b,D,T,L,I),onChange:e=>{Y(),null==y||y(e)},addonBefore:m&&n.createElement(Kg,{form:!0,space:!0},m),addonAfter:p&&n.createElement(Kg,{form:!0,space:!0},p),classNames:Object.assign(Object.assign(Object.assign({},x),M),{input:w({[`${j}-sm`]:"small"===F,[`${j}-lg`]:"large"===F,[`${j}-rtl`]:"rtl"===k},null==x?void 0:x.input,M.input,H),variant:w({[`${j}-${Z}`]:J},py(j,X)),affixWrapper:w({[`${j}-affix-wrapper-sm`]:"small"===F,[`${j}-affix-wrapper-lg`]:"large"===F,[`${j}-affix-wrapper-rtl`]:"rtl"===k},H),wrapper:w({[`${j}-group-rtl`]:"rtl"===k},H),groupWrapper:w({[`${j}-group-wrapper-sm`]:"small"===F,[`${j}-group-wrapper-lg`]:"large"===F,[`${j}-group-wrapper-rtl`]:"rtl"===k,[`${j}-group-wrapper-${Z}`]:J},py(`${j}-group-wrapper`,X,V),H)})}))))})),FI=LI;function _I(e,t,n){return void 0!==n?n:"year"===t&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:"quarter"===t&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:"month"===t&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:"week"===t&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:"time"===t&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function WI(e,t,n){return void 0!==n?n:"year"===t&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:"quarter"===t&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:"month"===t&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:"week"===t&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:"time"===t&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function KI(t,n){const{allowClear:r=!0}=t,{clearIcon:o,removeIcon:i}=Zy(Object.assign(Object.assign({},t),{prefixCls:n,componentName:"DatePicker"}));return[e.useMemo((()=>{if(!1===r)return!1;const e=!0===r?{}:r;return Object.assign({clearIcon:o},e)}),[r,o]),i]}const[VI,qI]=["week","WeekPicker"],[XI,GI]=["month","MonthPicker"],[YI,UI]=["year","YearPicker"],[QI,ZI]=["quarter","QuarterPicker"],[JI,eN]=["time","TimePicker"],tN=t=>e.createElement(Yp,Object.assign({size:"small",type:"primary"},t));function nN(t){return e.useMemo((()=>Object.assign({button:tN},t)),[t])}function rN(e,...t){const n=e||{};return t.reduce(((e,t)=>(Object.keys(t||{}).forEach((r=>{const o=n[r],i=t[r];if(o&&"object"==typeof o)if(i&&"object"==typeof i)e[r]=rN(o,e[r],i);else{const{_default:t}=o;e[r]=e[r]||{},e[r][t]=w(e[r][t],i)}else e[r]=w(e[r],i)})),e)),{})}function oN(t,...n){return e.useMemo((()=>rN.apply(void 0,[t].concat(n))),[n])}function iN(...t){return e.useMemo((()=>t.reduce(((e,t={})=>(Object.keys(t).forEach((n=>{e[n]=Object.assign(Object.assign({},e[n]),t[n])})),e)),{})),[t])}function aN(e,t){const n=Object.assign({},e);return Object.keys(t).forEach((e=>{if("_default"!==e){const r=t[e],o=n[e]||{};n[e]=r?aN(o,r):o}})),n}function lN(t,n,r){const o=oN.apply(void 0,[r].concat(xi(t))),i=iN.apply(void 0,xi(n));return e.useMemo((()=>[aN(o,r),aN(i,r)]),[o,i])}const cN=(t,n,r,o,i)=>{const{classNames:a,styles:l}=Zl(t),[c,s]=lN([a,n],[l,r],{popup:{_default:"root"}});return e.useMemo((()=>{var e,t;return[Object.assign(Object.assign({},c),{popup:Object.assign(Object.assign({},c.popup),{root:w(null===(e=c.popup)||void 0===e?void 0:e.root,o)})}),Object.assign(Object.assign({},s),{popup:Object.assign(Object.assign({},s.popup),{root:Object.assign(Object.assign({},null===(t=s.popup)||void 0===t?void 0:t.root),i)})})]}),[c,s,o,i])};var sN=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const uN=t=>e.forwardRef(((n,r)=>{var o;const{prefixCls:i,getPopupContainer:a,components:l,className:c,style:s,placement:u,size:d,disabled:f,bordered:p=!0,placeholder:m,popupStyle:g,popupClassName:h,dropdownClassName:v,status:b,rootClassName:y,variant:x,picker:C,styles:$,classNames:S}=n,k=sN(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupStyle","popupClassName","dropdownClassName","status","rootClassName","variant","picker","styles","classNames"]),E=C===JI?"timePicker":"datePicker",O=e.useRef(null),{getPrefixCls:I,direction:N,getPopupContainer:M,rangePicker:P}=e.useContext(Ul),j=I("picker",i),{compactSize:R,compactItemClassnames:T}=Hd(j,N),z=I(),[H,D]=ky("rangePicker",x,p),B=bu(j),[A,L,F]=zE(j,B),[_,W]=cN(E,S,$,h||v,g),[K]=KI(n,j),V=nN(l),q=Nd((e=>{var t;return null!==(t=null!=d?d:R)&&void 0!==t?t:e})),X=e.useContext(rc),G=null!=f?f:X,Y=e.useContext(Fg),{hasFeedback:U,status:Q,feedbackIcon:Z}=Y,J=e.createElement(e.Fragment,null,C===JI?e.createElement(at,null):e.createElement(He,null),U&&Z);e.useImperativeHandle(r,(()=>O.current));const[ee]=jl("Calendar",Sl),te=Object.assign(Object.assign({},ee),n.locale),[ne]=Tu("DatePicker",null===(o=W.popup.root)||void 0===o?void 0:o.zIndex);return A(e.createElement(Kg,{space:!0},e.createElement(Ck,Object.assign({separator:e.createElement("span",{"aria-label":"to",className:`${j}-separator`},e.createElement(Tr,null)),disabled:G,ref:O,placement:u,placeholder:WI(te,C,m),suffixIcon:J,prevIcon:e.createElement("span",{className:`${j}-prev-icon`}),nextIcon:e.createElement("span",{className:`${j}-next-icon`}),superPrevIcon:e.createElement("span",{className:`${j}-super-prev-icon`}),superNextIcon:e.createElement("span",{className:`${j}-super-next-icon`}),transitionName:`${z}-slide-up`,picker:C},k,{className:w({[`${j}-${q}`]:q,[`${j}-${H}`]:D},py(j,my(Q,b),U),L,T,c,null==P?void 0:P.className,F,B,y,_.root),style:Object.assign(Object.assign(Object.assign({},null==P?void 0:P.style),s),W.root),locale:te.lang,prefixCls:j,getPopupContainer:a||M,generateConfig:t,components:V,direction:N,classNames:{popup:w(L,F,B,y,_.popup.root)},styles:{popup:Object.assign(Object.assign({},W.popup.root),{zIndex:ne})},allowClear:K}))))}));var dN=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const fN=t=>{const n=(n,r)=>{const o=r===eN?"timePicker":"datePicker";return e.forwardRef(((r,i)=>{var a;const{prefixCls:l,getPopupContainer:c,components:s,style:u,className:d,rootClassName:f,size:p,bordered:m,placement:g,placeholder:h,popupStyle:v,popupClassName:b,dropdownClassName:y,disabled:x,status:C,variant:$,onCalendarChange:S,styles:k,classNames:E}=r,O=dN(r,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupStyle","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange","styles","classNames"]),{getPrefixCls:I,direction:N,getPopupContainer:M,[o]:P}=e.useContext(Ul),j=I("picker",l),{compactSize:R,compactItemClassnames:T}=Hd(j,N),z=e.useRef(null),[H,D]=ky("datePicker",$,m),B=bu(j),[A,L,F]=zE(j,B);e.useImperativeHandle(i,(()=>z.current));const _=n||r.picker,W=I(),{onSelect:K,multiple:V}=O,q=K&&"time"===n&&!V,[X,G]=cN(o,E,k,b||y,v),[Y,U]=KI(r,j),Q=nN(s),Z=Nd((e=>{var t;return null!==(t=null!=p?p:R)&&void 0!==t?t:e})),J=e.useContext(rc),ee=null!=x?x:J,te=e.useContext(Fg),{hasFeedback:ne,status:re,feedbackIcon:oe}=te,ie=e.createElement(e.Fragment,null,"time"===_?e.createElement(at,null):e.createElement(He,null),ne&&oe),[ae]=jl("DatePicker",Sl),le=Object.assign(Object.assign({},ae),r.locale),[ce]=Tu("DatePicker",null===(a=G.popup.root)||void 0===a?void 0:a.zIndex);return A(e.createElement(Kg,{space:!0},e.createElement(Ok,Object.assign({ref:z,placeholder:_I(le,_,h),suffixIcon:ie,placement:g,prevIcon:e.createElement("span",{className:`${j}-prev-icon`}),nextIcon:e.createElement("span",{className:`${j}-next-icon`}),superPrevIcon:e.createElement("span",{className:`${j}-super-prev-icon`}),superNextIcon:e.createElement("span",{className:`${j}-super-next-icon`}),transitionName:`${W}-slide-up`,picker:n,onCalendarChange:(e,t,n)=>{null==S||S(e,t,n),q&&K(e)}},{showToday:!0},O,{locale:le.lang,className:w({[`${j}-${Z}`]:Z,[`${j}-${H}`]:D},py(j,my(re,C),ne),L,T,null==P?void 0:P.className,d,F,B,f,X.root),style:Object.assign(Object.assign(Object.assign({},null==P?void 0:P.style),u),G.root),prefixCls:j,getPopupContainer:c||M,generateConfig:t,components:Q,direction:N,disabled:ee,classNames:{popup:w(L,F,B,f,X.popup.root)},styles:{popup:Object.assign(Object.assign({},G.popup.root),{zIndex:ce})},allowClear:Y,removeIcon:U}))))}))},r=n(),o=n(VI,qI),i=n(XI,GI),a=n(YI,UI),l=n(QI,ZI);return{DatePicker:r,WeekPicker:o,MonthPicker:i,YearPicker:a,TimePicker:n(JI,eN),QuarterPicker:l}},pN=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:o,TimePicker:i,QuarterPicker:a}=fN(e),l=uN(e),c=t;return c.WeekPicker=n,c.MonthPicker=r,c.YearPicker=o,c.RangePicker=l,c.TimePicker=i,c.QuarterPicker=a,c},mN=pN(P$),gN=hv(mN,"popupAlign",void 0,"picker");mN._InternalPanelDoNotUseOrYouWillBeFired=gN;const hN=hv(mN.RangePicker,"popupAlign",void 0,"picker");mN._InternalRangePanelDoNotUseOrYouWillBeFired=hN,mN.generatePicker=pN;const vN=mN;var bN=e.createContext(null),yN=e.createContext({}),xN=["prefixCls","className","containerRef"],CN=function(t){var n=t.prefixCls,r=t.className,o=t.containerRef,i=b(t,xN),a=e.useContext(yN).panel,l=So(a,o);return e.createElement("div",s({className:w("".concat(n,"-content"),r),role:"dialog",ref:l},au(t,{aria:!0}),{"aria-modal":"true"},i))};function wN(e){return"string"==typeof e&&String(Number(e))===e?(me(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var $N={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function SN(t,n){var r,o,i,a=t.prefixCls,l=t.open,c=t.placement,u=t.inline,d=t.push,f=t.forceRender,p=t.autoFocus,g=t.keyboard,h=t.classNames,b=t.rootClassName,y=t.rootStyle,x=t.zIndex,C=t.className,$=t.id,S=t.style,k=t.motion,E=t.width,O=t.height,I=t.children,N=t.mask,M=t.maskClosable,P=t.maskMotion,j=t.maskClassName,R=t.maskStyle,T=t.afterOpenChange,z=t.onClose,H=t.onMouseEnter,D=t.onMouseOver,B=t.onMouseLeave,A=t.onClick,L=t.onKeyDown,F=t.onKeyUp,_=t.styles,W=t.drawerRender,K=e.useRef(),V=e.useRef(),q=e.useRef();e.useImperativeHandle(n,(function(){return K.current}));e.useEffect((function(){var e;l&&p&&(null===(e=K.current)||void 0===e||e.focus({preventScroll:!0}))}),[l]);var X=m(e.useState(!1),2),G=X[0],U=X[1],Q=e.useContext(bN),Z=null!==(r=null!==(o=null===(i="boolean"==typeof d?d?{}:{distance:0}:d||{})||void 0===i?void 0:i.distance)&&void 0!==o?o:null==Q?void 0:Q.pushDistance)&&void 0!==r?r:180,J=e.useMemo((function(){return{pushDistance:Z,push:function(){U(!0)},pull:function(){U(!1)}}}),[Z]);e.useEffect((function(){var e,t;l?null==Q||null===(e=Q.push)||void 0===e||e.call(Q):null==Q||null===(t=Q.pull)||void 0===t||t.call(Q)}),[l]),e.useEffect((function(){return function(){var e;null==Q||null===(e=Q.pull)||void 0===e||e.call(Q)}}),[]);var ee=N&&e.createElement(Ts,s({key:"mask"},P,{visible:l}),(function(t,n){var r=t.className,o=t.style;return e.createElement("div",{className:w("".concat(a,"-mask"),r,null==h?void 0:h.mask,j),style:Y(Y(Y({},o),R),null==_?void 0:_.mask),onClick:M&&l?z:void 0,ref:n})})),te="function"==typeof k?k(c):k,ne={};if(G&&Z)switch(c){case"top":ne.transform="translateY(".concat(Z,"px)");break;case"bottom":ne.transform="translateY(".concat(-Z,"px)");break;case"left":ne.transform="translateX(".concat(Z,"px)");break;default:ne.transform="translateX(".concat(-Z,"px)")}"left"===c||"right"===c?ne.width=wN(E):ne.height=wN(O);var re={onMouseEnter:H,onMouseOver:D,onMouseLeave:B,onClick:A,onKeyDown:L,onKeyUp:F},oe=e.createElement(Ts,s({key:"panel"},te,{visible:l,forceRender:f,onVisibleChanged:function(e){null==T||T(e)},removeOnLeave:!1,leavedClassName:"".concat(a,"-content-wrapper-hidden")}),(function(n,r){var o=n.className,i=n.style,l=e.createElement(CN,s({id:$,containerRef:r,prefixCls:a,className:w(C,null==h?void 0:h.content),style:Y(Y({},S),null==_?void 0:_.content)},au(t,{aria:!0}),re),I);return e.createElement("div",s({className:w("".concat(a,"-content-wrapper"),null==h?void 0:h.wrapper,o),style:Y(Y(Y({},ne),i),null==_?void 0:_.wrapper)},au(t,{data:!0})),W?W(l):l)})),ie=Y({},y);return x&&(ie.zIndex=x),e.createElement(bN.Provider,{value:J},e.createElement("div",{className:w(a,"".concat(a,"-").concat(c),b,v(v({},"".concat(a,"-open"),l),"".concat(a,"-inline"),u)),style:ie,tabIndex:-1,ref:K,onKeyDown:function(e){var t=e.keyCode,n=e.shiftKey;switch(t){case yu.TAB:var r;if(t===yu.TAB)if(n||document.activeElement!==q.current){if(n&&document.activeElement===V.current){var o;null===(o=q.current)||void 0===o||o.focus({preventScroll:!0})}}else null===(r=V.current)||void 0===r||r.focus({preventScroll:!0});break;case yu.ESC:z&&g&&(e.stopPropagation(),z(e))}}},ee,e.createElement("div",{tabIndex:0,ref:V,style:$N,"aria-hidden":"true","data-sentinel":"start"}),oe,e.createElement("div",{tabIndex:0,ref:q,style:$N,"aria-hidden":"true","data-sentinel":"end"})))}var kN=e.forwardRef(SN),EN=function(t){var n=t.open,r=void 0!==n&&n,o=t.prefixCls,i=void 0===o?"rc-drawer":o,a=t.placement,l=void 0===a?"right":a,c=t.autoFocus,s=void 0===c||c,u=t.keyboard,d=void 0===u||u,f=t.width,p=void 0===f?378:f,g=t.mask,h=void 0===g||g,v=t.maskClosable,b=void 0===v||v,y=t.getContainer,x=t.forceRender,C=t.afterOpenChange,w=t.destroyOnClose,$=t.onMouseEnter,S=t.onMouseOver,k=t.onMouseLeave,E=t.onClick,O=t.onKeyDown,I=t.onKeyUp,N=t.panelRef,M=m(e.useState(!1),2),P=M[0],j=M[1],R=m(e.useState(!1),2),T=R[0],z=R[1];Zi((function(){z(!0)}),[]);var H=!!T&&r,D=e.useRef(),B=e.useRef();Zi((function(){H&&(B.current=document.activeElement)}),[H]);var A=e.useMemo((function(){return{panel:N}}),[N]);if(!x&&!P&&!H&&w)return null;var L={onMouseEnter:$,onMouseOver:S,onMouseLeave:k,onClick:E,onKeyDown:O,onKeyUp:I},F=Y(Y({},t),{},{open:H,prefixCls:i,placement:l,autoFocus:s,keyboard:d,width:p,mask:h,maskClosable:b,inline:!1===y,afterOpenChange:function(e){var t,n;(j(e),null==C||C(e),e||!B.current||null!==(t=D.current)&&void 0!==t&&t.contains(B.current))||(null===(n=B.current)||void 0===n||n.focus({preventScroll:!0}))},ref:D},L);return e.createElement(yN.Provider,{value:A},e.createElement(pm,{open:H||x||P,autoDestroy:!1,getContainer:y,autoLock:h&&(H||P)},e.createElement(kN,F)))};const ON=t=>{var n,r;const{prefixCls:o,title:i,footer:a,extra:l,loading:c,onClose:s,headerStyle:u,bodyStyle:d,footerStyle:f,children:p,classNames:m,styles:g}=t,h=Zl("drawer"),v=e.useCallback((t=>e.createElement("button",{type:"button",onClick:s,className:`${o}-close`},t)),[s]),[b,y]=Yg(qg(t),qg(h),{closable:!0,closeIconRender:v}),x=e.useMemo((()=>{var t,n;return i||b?e.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(t=h.styles)||void 0===t?void 0:t.header),u),null==g?void 0:g.header),className:w(`${o}-header`,{[`${o}-header-close-only`]:b&&!i&&!l},null===(n=h.classNames)||void 0===n?void 0:n.header,null==m?void 0:m.header)},e.createElement("div",{className:`${o}-header-title`},y,i&&e.createElement("div",{className:`${o}-title`},i)),l&&e.createElement("div",{className:`${o}-extra`},l)):null}),[b,y,l,u,o,i]),C=e.useMemo((()=>{var t,n;if(!a)return null;const r=`${o}-footer`;return e.createElement("div",{className:w(r,null===(t=h.classNames)||void 0===t?void 0:t.footer,null==m?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},null===(n=h.styles)||void 0===n?void 0:n.footer),f),null==g?void 0:g.footer)},a)}),[a,f,o]);return e.createElement(e.Fragment,null,x,e.createElement("div",{className:w(`${o}-body`,null==m?void 0:m.body,null===(n=h.classNames)||void 0===n?void 0:n.body),style:Object.assign(Object.assign(Object.assign({},null===(r=h.styles)||void 0===r?void 0:r.body),d),null==g?void 0:g.body)},c?e.createElement(wh,{active:!0,title:!1,paragraph:{rows:5},className:`${o}-body-skeleton`}):p),C)},IN=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},NN=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),MN=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},NN({opacity:e},{opacity:1})),PN=(e,t)=>[MN(.7,t),NN({transform:IN(e)},{transform:"none"})],jN=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:MN(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce(((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:PN(t,n)})),{})}}},RN=e=>{const{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:o,colorBgElevated:i,motionDurationSlow:a,motionDurationMid:l,paddingXS:c,padding:s,paddingLG:u,fontSizeLG:d,lineHeightLG:f,lineWidth:p,lineType:m,colorSplit:g,marginXS:h,colorIcon:v,colorIconHover:b,colorBgTextHover:y,colorBgTextActive:x,colorText:C,fontWeightStrong:w,footerPaddingBlock:$,footerPaddingInline:S,calc:k}=e,E=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:C,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:o,pointerEvents:"auto"},[E]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${a}`,"&-hidden":{display:"none"}},[`&-left > ${E}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${E}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${E}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${E}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${qi(s)} ${qi(u)}`,fontSize:d,lineHeight:f,borderBottom:`${qi(p)} ${m} ${g}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:k(d).add(c).equal(),height:k(d).add(c).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:h,color:v,fontWeight:w,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${l}`,textRendering:"auto","&:hover":{color:b,backgroundColor:y,textDecoration:"none"},"&:active":{backgroundColor:x}},Fc(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:f},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${qi($)} ${qi(S)}`,borderTop:`${qi(p)} ${m} ${g}`},"&-rtl":{direction:"rtl"}}}},TN=Kc("Drawer",(e=>{const t=Cc(e,{});return[RN(t),jN(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})));var zN=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const HN={distance:180},DN=t=>{const{rootClassName:n,width:r,height:o,size:i="default",mask:a=!0,push:l=HN,open:c,afterOpenChange:s,onClose:u,prefixCls:d,getContainer:f,style:p,className:m,visible:g,afterVisibleChange:h,maskStyle:v,drawerStyle:b,contentWrapperStyle:y,destroyOnClose:x,destroyOnHidden:C}=t,$=zN(t,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle","destroyOnClose","destroyOnHidden"]),{getPopupContainer:S,getPrefixCls:k,direction:E,className:O,style:I,classNames:N,styles:M}=Zl("drawer"),P=k("drawer",d),[j,R,T]=TN(P),z=void 0===f&&S?()=>S(document.body):f,H=w({"no-mask":!a,[`${P}-rtl`]:"rtl"===E},n,R,T),D=e.useMemo((()=>null!=r?r:"large"===i?736:378),[r,i]),B=e.useMemo((()=>null!=o?o:"large"===i?736:378),[o,i]),A={motionName:hd(P,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},L=kh(),[F,_]=Tu("Drawer",$.zIndex),{classNames:W={},styles:K={}}=$;return j(e.createElement(Kg,{form:!0,space:!0},e.createElement(Mu.Provider,{value:_},e.createElement(EN,Object.assign({prefixCls:P,onClose:u,maskMotion:A,motion:e=>({motionName:hd(P,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},$,{classNames:{mask:w(W.mask,N.mask),content:w(W.content,N.content),wrapper:w(W.wrapper,N.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),v),M.mask),content:Object.assign(Object.assign(Object.assign({},K.content),b),M.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),y),M.wrapper)},open:null!=c?c:g,mask:a,push:l,width:D,height:B,style:Object.assign(Object.assign({},I),p),className:w(O,m),rootClassName:H,getContainer:z,afterOpenChange:null!=s?s:h,panelRef:L,zIndex:F,destroyOnClose:null!=C?C:x}),e.createElement(ON,Object.assign({prefixCls:P},$,{onClose:u}))))))};DN._InternalPanelDoNotUseOrYouWillBeFired=t=>{const{prefixCls:n,style:r,className:o,placement:i="right"}=t,a=zN(t,["prefixCls","style","className","placement"]),{getPrefixCls:l}=e.useContext(Ul),c=l("drawer",n),[s,u,d]=TN(c),f=w(c,`${c}-pure`,`${c}-${i}`,u,d,o);return s(e.createElement("div",{className:f,style:r},e.createElement(ON,Object.assign({prefixCls:c},a))))};const BN=DN;function AN(e){return["small","middle","large"].includes(e)}function LN(e){return!!e&&("number"==typeof e&&!Number.isNaN(e))}const FN=n.createContext({latestIndex:0}),_N=FN.Provider,WN=({className:t,index:n,children:r,split:o,style:i})=>{const{latestIndex:a}=e.useContext(FN);return null==r?null:e.createElement(e.Fragment,null,e.createElement("div",{className:t,style:i},r),n<a&&o&&e.createElement("span",{className:`${t}-split`},o))};var KN=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const VN=e.forwardRef(((t,n)=>{var r;const{getPrefixCls:o,direction:i,size:a,className:l,style:c,classNames:s,styles:u}=Zl("space"),{size:d=(null!=a?a:"small"),align:f,className:p,rootClassName:m,children:g,direction:h="horizontal",prefixCls:v,split:b,style:y,wrap:x=!1,classNames:C,styles:$}=t,S=KN(t,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[k,E]=Array.isArray(d)?d:[d,d],O=AN(E),I=AN(k),N=LN(E),M=LN(k),P=Io(g,{keepEmpty:!0}),j=void 0===f&&"horizontal"===h?"center":f,R=o("space",v),[T,z,H]=Rd(R),D=w(R,l,z,`${R}-${h}`,{[`${R}-rtl`]:"rtl"===i,[`${R}-align-${j}`]:j,[`${R}-gap-row-${E}`]:O,[`${R}-gap-col-${k}`]:I},p,m,H),B=w(`${R}-item`,null!==(r=null==C?void 0:C.item)&&void 0!==r?r:s.item);let A=0;const L=P.map(((t,n)=>{var r;null!=t&&(A=n);const o=(null==t?void 0:t.key)||`${B}-${n}`;return e.createElement(WN,{className:B,key:o,index:n,split:b,style:null!==(r=null==$?void 0:$.item)&&void 0!==r?r:u.item},t)})),F=e.useMemo((()=>({latestIndex:A})),[A]);if(0===P.length)return null;const _={};return x&&(_.flexWrap="wrap"),!I&&M&&(_.columnGap=k),!O&&N&&(_.rowGap=E),T(e.createElement("div",Object.assign({ref:n,className:D,style:Object.assign(Object.assign(Object.assign({},_),c),y)},S),e.createElement(_N,{value:F},L)))}));VN.Compact=Ad;const qN=VN;var XN=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const GN=t=>{const{getPopupContainer:n,getPrefixCls:r,direction:o}=e.useContext(Ul),{prefixCls:i,type:a="default",danger:l,disabled:c,loading:s,onClick:u,htmlType:d,children:f,className:p,menu:m,arrow:g,autoFocus:h,overlay:v,trigger:b,align:y,open:x,onOpenChange:C,placement:$,getPopupContainer:S,href:k,icon:E=e.createElement(_t,null),title:O,buttonsRender:I=e=>e,mouseEnterDelay:N,mouseLeaveDelay:M,overlayClassName:P,overlayStyle:j,destroyOnHidden:R,destroyPopupOnHide:T,dropdownRender:z,popupRender:H}=t,D=XN(t,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyOnHidden","destroyPopupOnHide","dropdownRender","popupRender"]),B=r("dropdown",i),A=`${B}-button`,L={menu:m,arrow:g,autoFocus:h,align:y,disabled:c,trigger:c?[]:b,onOpenChange:C,getPopupContainer:S||n,mouseEnterDelay:N,mouseLeaveDelay:M,overlayClassName:P,overlayStyle:j,destroyOnHidden:R,popupRender:H||z},{compactSize:F,compactItemClassnames:_}=Hd(B,o),W=w(A,_,p);"destroyPopupOnHide"in t&&(L.destroyPopupOnHide=T),"overlay"in t&&(L.overlay=v),"open"in t&&(L.open=x),L.placement="placement"in t?$:"rtl"===o?"bottomLeft":"bottomRight";const K=e.createElement(Yp,{type:a,danger:l,disabled:c,loading:s,onClick:u,htmlType:d,href:k,title:O},f),V=e.createElement(Yp,{type:a,danger:l,icon:E}),[q,X]=I([K,V]);return e.createElement(qN.Compact,Object.assign({className:W,size:F,block:!0},D),q,e.createElement(Qw,Object.assign({},L),X))};GN.__ANT_BUTTON=!0;const YN=GN,UN=Qw;UN.Button=YN;const QN=UN;function ZN(t){const[n,r]=e.useState(t);return e.useEffect((()=>{const e=setTimeout((()=>{r(t)}),t.length?0:10);return()=>{clearTimeout(e)}}),[t]),n}const JN=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationFast} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationFast} ${e.motionEaseInOut},\n opacity ${e.motionDurationFast} ${e.motionEaseInOut},\n transform ${e.motionDurationFast} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},eM=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${qi(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${qi(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),tM=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},nM=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},Ac(e)),eM(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},tM(e,e.controlHeightSM)),"&-large":Object.assign({},tM(e,e.controlHeightLG))})}},rM=e=>{const{formItemCls:t,iconCls:n,rootPrefixCls:r,antCls:o,labelRequiredMarkColor:i,labelColor:a,labelFontSize:l,labelHeight:c,labelColonMarginInlineStart:s,labelColonMarginInlineEnd:u,itemMarginBottom:d}=e;return{[t]:Object.assign(Object.assign({},Ac(e)),{marginBottom:d,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,\n &-hidden${o}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset","> label":{verticalAlign:"middle",textWrap:"balance"}},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:c,color:a,fontSize:l,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:e.marginXXS,color:i,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${t}-required-mark-hidden, &${t}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`&${t}-required-mark-hidden`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:s,marginInlineEnd:u},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${r}-col-'"]):not([class*="' ${r}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:Wf,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},oM=(e,t)=>{const{formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},iM=e=>{const{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:"nowrap"},[`> ${n}-label,\n > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},aM=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),lM=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:aM(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},cM=e=>{const{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${t}-vertical`]:{[`${n}:not(${n}-horizontal)`]:{[`${n}-row`]:{flexDirection:"column"},[`${n}-label > label`]:{height:"auto"},[`${n}-control`]:{width:"100%"},[`${n}-label,\n ${r}-col-24${n}-label,\n ${r}-col-xl-24${n}-label`]:aM(e)}},[`@media (max-width: ${qi(e.screenXSMax)})`]:[lM(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:aM(e)}}}],[`@media (max-width: ${qi(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:aM(e)}}},[`@media (max-width: ${qi(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:aM(e)}}},[`@media (max-width: ${qi(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:aM(e)}}}}},sM=e=>{const{formItemCls:t,antCls:n}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label,\n ${n}-col-24${t}-label,\n ${n}-col-xl-24${t}-label`]:aM(e),[`@media (max-width: ${qi(e.screenXSMax)})`]:[lM(e),{[t]:{[`${n}-col-xs-24${t}-label`]:aM(e)}}],[`@media (max-width: ${qi(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:aM(e)}},[`@media (max-width: ${qi(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:aM(e)}},[`@media (max-width: ${qi(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:aM(e)}}}},uM=(e,t)=>Cc(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),dM=Kc("Form",((e,{rootPrefixCls:t})=>{const n=uM(e,t);return[nM(n),rM(n),JN(n),oM(n,n.componentCls),oM(n,n.formItemCls),iM(n),cM(n),sM(n),bf(n),Wf]}),(e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0})),{order:-1e3}),fM=[];function pM(e,t,n,r=0){return{key:"string"==typeof e?e:`${t}-${r}`,error:e,errorStatus:n}}const mM=({help:t,helpStatus:n,errors:r=fM,warnings:o=fM,className:i,fieldId:a,onVisibleChanged:l})=>{const{prefixCls:c}=e.useContext(Lg),s=`${c}-item-explain`,u=bu(c),[d,f,p]=dM(c,u),m=e.useMemo((()=>vd(c)),[c]),g=ZN(r),h=ZN(o),v=e.useMemo((()=>null!=t?[pM(t,"help",n)]:[].concat(xi(g.map(((e,t)=>pM(e,"error","error",t)))),xi(h.map(((e,t)=>pM(e,"warning","warning",t)))))),[t,n,g,h]),b=e.useMemo((()=>{const e={};return v.forEach((({key:t})=>{e[t]=(e[t]||0)+1})),v.map(((t,n)=>Object.assign(Object.assign({},t),{key:e[t.key]>1?`${t.key}-fallback-${n}`:t.key})))}),[v]),y={};return a&&(y.id=`${a}_help`),d(e.createElement(Ts,{motionDeadline:m.motionDeadline,motionName:`${c}-show-help`,visible:!!b.length,onVisibleChanged:l},(t=>{const{className:n,style:r}=t;return e.createElement("div",Object.assign({},y,{className:w(s,n,p,u,i,f),style:r}),e.createElement(Ks,Object.assign({keys:b},vd(c),{motionName:`${c}-show-help-item`,component:!1}),(t=>{const{key:n,error:r,errorStatus:o,className:i,style:a}=t;return e.createElement("div",{key:n,className:w(i,{[`${s}-${o}`]:o}),style:a},r)})))})))},gM=["parentNode"];function hM(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function vM(e,t){if(!e.length)return;const n=e.join("_");if(t)return`${t}_${n}`;return gM.includes(n)?`form_item_${n}`:n}function bM(e,t,n,r,o,i){let a=r;return void 0!==i?a=i:n.validating?a="validating":e.length?a="error":t.length?a="warning":(n.touched||o&&n.validated)&&(a="success"),a}var yM=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function xM(e){return hM(e).join("_")}function CM(e,t){const n=Mo(t.getFieldInstance(e));if(n)return n;const r=vM(hM(e),t.__INTERNAL__.name);return r?document.getElementById(r):void 0}function wM(t){const[n]=Ng(),r=e.useRef({}),o=e.useMemo((()=>null!=t?t:Object.assign(Object.assign({},n),{__INTERNAL__:{itemRef:e=>t=>{const n=xM(e);t?r.current[n]=t:delete r.current[n]}},scrollToField:(e,t={})=>{const{focus:n}=t,r=yM(t,["focus"]),i=CM(e,o);i&&(gu(i,Object.assign({scrollMode:"if-needed",block:"nearest"},r)),n&&o.focusField(e))},focusField:e=>{var t,n;const r=o.getFieldInstance(e);"function"==typeof(null==r?void 0:r.focus)?r.focus():null===(n=null===(t=CM(e,o))||void 0===t?void 0:t.focus)||void 0===n||n.call(t)},getFieldInstance:e=>{const t=xM(e);return r.current[t]}})),[t,n]);return[o]}var $M=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const SM=(t,n)=>{const r=e.useContext(rc),{getPrefixCls:o,direction:i,requiredMark:a,colon:l,scrollToFirstError:c,className:s,style:u}=Zl("form"),{prefixCls:d,className:f,rootClassName:p,size:m,disabled:g=r,form:h,colon:v,labelAlign:b,labelWrap:y,labelCol:x,wrapperCol:C,hideRequiredMark:$,layout:S="horizontal",scrollToFirstError:k,requiredMark:E,onFinishFailed:O,name:I,style:N,feedbackIcons:M,variant:P}=t,j=$M(t,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),R=Nd(m),T=e.useContext(xl),z=e.useMemo((()=>void 0!==E?E:!$&&(void 0===a||a)),[$,E,a]),H=null!=v?v:l,D=o("form",d),B=bu(D),[A,L,F]=dM(D,B),_=w(D,`${D}-${S}`,{[`${D}-hide-required-mark`]:!1===z,[`${D}-rtl`]:"rtl"===i,[`${D}-${R}`]:R},F,B,L,s,f,p),[W]=wM(h),{__INTERNAL__:K}=W;K.name=I;const V=e.useMemo((()=>({name:I,labelAlign:b,labelCol:x,labelWrap:y,wrapperCol:C,vertical:"vertical"===S,colon:H,requiredMark:z,itemRef:K.itemRef,form:W,feedbackIcons:M})),[I,b,x,C,S,H,z,W,M]),q=e.useRef(null);e.useImperativeHandle(n,(()=>{var e;return Object.assign(Object.assign({},W),{nativeElement:null===(e=q.current)||void 0===e?void 0:e.nativeElement})}));const X=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=Object.assign(Object.assign({},n),e)),W.scrollToField(t,n)}};return A(e.createElement(Wg.Provider,{value:P},e.createElement(nc,{disabled:g},e.createElement(ac.Provider,{value:R},e.createElement(Ag,{validateMessages:T},e.createElement(Dg.Provider,{value:V},e.createElement(Hg,Object.assign({id:I},j,{name:I,onFinishFailed:e=>{if(null==O||O(e),e.errorFields.length){const t=e.errorFields[0].name;if(void 0!==k)return void X(k,t);void 0!==c&&X(c,t)}},form:W,ref:q,style:Object.assign(Object.assign({},u),N),className:_}))))))))},kM=e.forwardRef(SM);const EM=()=>{const{status:t,errors:n=[],warnings:r=[]}=e.useContext(Fg);return{status:t,errors:n,warnings:r}};EM.Context=Fg;const OM=EM;const IM=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},NM=qc(["Form","item-item"],((e,{rootPrefixCls:t})=>{const n=uM(e,t);return[IM(n)]}));var MM=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const PM=t=>{const{prefixCls:n,status:r,labelCol:o,wrapperCol:i,children:a,errors:l,warnings:c,_internalItemRender:s,extra:u,help:d,fieldId:f,marginBottom:p,onErrorVisibleChanged:m,label:g}=t,h=`${n}-item`,v=e.useContext(Dg),b=e.useMemo((()=>{let e=Object.assign({},i||v.wrapperCol||{});if(null===g&&!o&&!i&&v.labelCol){[void 0,"xs","sm","md","lg","xl","xxl"].forEach((t=>{const n=t?[t]:[],r=dl(v.labelCol,n),o="object"==typeof r?r:{},i=dl(e,n);"span"in o&&!("offset"in("object"==typeof i?i:{}))&&o.span<24&&(e=pl(e,[].concat(n,["offset"]),o.span))}))}return e}),[i,v]),y=w(`${h}-control`,b.className),x=e.useMemo((()=>MM(v,["labelCol","wrapperCol"])),[v]),C=e.useRef(null),[$,S]=e.useState(0);Zi((()=>{u&&C.current?S(C.current.clientHeight):S(0)}),[u]);const k=e.createElement("div",{className:`${h}-control-input`},e.createElement("div",{className:`${h}-control-input-content`},a)),E=e.useMemo((()=>({prefixCls:n,status:r})),[n,r]),O=null!==p||l.length||c.length?e.createElement(Lg.Provider,{value:E},e.createElement(mM,{fieldId:f,errors:l,warnings:c,help:d,helpStatus:r,className:`${h}-explain-connected`,onVisibleChanged:m})):null,I={};f&&(I.id=`${f}_extra`);const N=u?e.createElement("div",Object.assign({},I,{className:`${h}-extra`,ref:C}),u):null,M=O||N?e.createElement("div",{className:`${h}-additional`,style:p?{minHeight:p+$}:{}},O,N):null,P=s&&"pro_table_render"===s.mark&&s.render?s.render(t,{input:k,errorList:O,extra:N}):e.createElement(e.Fragment,null,k,M);return e.createElement(Dg.Provider,{value:x},e.createElement(dI,Object.assign({},b,{className:y}),P),e.createElement(NM,{prefixCls:n}))};var jM=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const RM=({prefixCls:t,label:n,htmlFor:r,labelCol:o,labelAlign:i,colon:a,required:l,requiredMark:c,tooltip:s,vertical:u})=>{var d;const[f]=jl("Form"),{labelAlign:p,labelCol:m,labelWrap:g,colon:h}=e.useContext(Dg);if(!n)return null;const v=o||m||{},b=`${t}-item-label`,y=w(b,"left"===(i||p)&&`${b}-left`,v.className,{[`${b}-wrap`]:!!g});let x=n;const C=!0===a||!1!==h&&!1!==a;C&&!u&&"string"==typeof n&&n.trim()&&(x=n.replace(/[:|:]\s*$/,""));const $=function(t){return null==t?null:"object"!=typeof t||e.isValidElement(t)?{title:t}:t}(s);if($){const{icon:n=e.createElement(yr,null)}=$,r=jM($,["icon"]),o=e.createElement(Hx,Object.assign({},r),e.cloneElement(n,{className:`${t}-item-tooltip`,title:"",onClick:e=>{e.preventDefault()},tabIndex:null}));x=e.createElement(e.Fragment,null,x,o)}const S="optional"===c,k="function"==typeof c,E=!1===c;let O;k?x=c(x,{required:!!l}):S&&!l&&(x=e.createElement(e.Fragment,null,x,e.createElement("span",{className:`${t}-item-optional`,title:""},(null==f?void 0:f.optional)||(null===(d=El.Form)||void 0===d?void 0:d.optional)))),E?O="hidden":(S||k)&&(O="optional");const I=w({[`${t}-item-required`]:l,[`${t}-item-required-mark-${O}`]:O,[`${t}-item-no-colon`]:!C});return e.createElement(dI,Object.assign({},v,{className:y}),e.createElement("label",{htmlFor:r,className:I,title:"string"==typeof n?n:""},x))},TM={success:Ge,warning:Gt,error:st,validating:Wn};function zM({children:t,errors:n,warnings:r,hasFeedback:o,validateStatus:i,prefixCls:a,meta:l,noStyle:c}){const s=`${a}-item`,{feedbackIcons:u}=e.useContext(Dg),d=bM(n,r,l,null,!!o,i),{isFormItemInput:f,status:p,hasFeedback:m,feedbackIcon:g}=e.useContext(Fg),h=e.useMemo((()=>{var t;let i;if(o){const a=!0!==o&&o.icons||u,l=d&&(null===(t=null==a?void 0:a({status:d,errors:n,warnings:r}))||void 0===t?void 0:t[d]),c=d&&TM[d];i=!1!==l&&c?e.createElement("span",{className:w(`${s}-feedback-icon`,`${s}-feedback-icon-${d}`)},l||e.createElement(c,null)):null}const a={status:d||"",errors:n,warnings:r,hasFeedback:!!o,feedbackIcon:i,isFormItemInput:!0};return c&&(a.status=(null!=d?d:p)||"",a.isFormItemInput=f,a.hasFeedback=!!(null!=o?o:m),a.feedbackIcon=void 0!==o?a.feedbackIcon:g),a}),[d,o,c,f,p]);return e.createElement(Fg.Provider,{value:h},t)}var HM=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function DM(t){const{prefixCls:n,className:r,rootClassName:o,style:i,help:a,errors:l,warnings:c,validateStatus:s,meta:u,hasFeedback:d,hidden:f,children:p,fieldId:m,required:g,isRequired:h,onSubItemMetaChange:v,layout:b}=t,y=HM(t,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),x=`${n}-item`,{requiredMark:C,vertical:$}=e.useContext(Dg),S=$||"vertical"===b,k=e.useRef(null),E=ZN(l),O=ZN(c),I=null!=a,N=!!(I||l.length||c.length),M=!!k.current&&yd(k.current),[P,j]=e.useState(null);Zi((()=>{if(N&&k.current){const e=getComputedStyle(k.current);j(parseInt(e.marginBottom,10))}}),[N,M]);const R=((e=!1)=>bM(e?E:u.errors,e?O:u.warnings,u,"",!!d,s))(),T=w(x,r,o,{[`${x}-with-help`]:I||E.length||O.length,[`${x}-has-feedback`]:R&&d,[`${x}-has-success`]:"success"===R,[`${x}-has-warning`]:"warning"===R,[`${x}-has-error`]:"error"===R,[`${x}-is-validating`]:"validating"===R,[`${x}-hidden`]:f,[`${x}-${b}`]:b});return e.createElement("div",{className:T,style:i,ref:k},e.createElement(mI,Object.assign({className:`${x}-row`},bd(y,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),e.createElement(RM,Object.assign({htmlFor:m},t,{requiredMark:C,required:null!=g?g:h,prefixCls:n,vertical:S})),e.createElement(PM,Object.assign({},t,u,{errors:E,warnings:O,prefixCls:n,status:R,help:a,marginBottom:P,onErrorVisibleChanged:e=>{e||j(null)}}),e.createElement(Bg.Provider,{value:v},e.createElement(zM,{prefixCls:n,meta:u,errors:u.errors,warnings:u.warnings,hasFeedback:d,validateStatus:R},p)))),!!P&&e.createElement("div",{className:`${x}-margin-offset`,style:{marginBottom:-P}}))}const BM=e.memo((({children:e})=>e),((e,t)=>function(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((n=>{const r=e[n],o=t[n];return r===o||"function"==typeof r||"function"==typeof o}))}(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every(((e,n)=>e===t.childProps[n]))));const AM=function(t){const{name:n,noStyle:r,className:o,dependencies:i,prefixCls:a,shouldUpdate:l,rules:c,children:s,required:u,label:d,messageVariables:f,trigger:p="onChange",validateTrigger:m,hidden:g,help:h,layout:v}=t,{getPrefixCls:b}=e.useContext(Ul),{name:y}=e.useContext(Dg),x=function(e){if("function"==typeof e)return e;const t=Io(e);return t.length<=1?t[0]:t}(s),C="function"==typeof x,$=e.useContext(Bg),{validateTrigger:S}=e.useContext(Mm),k=void 0!==m?m:S,E=!(null==n),O=b("form",a),I=bu(O),[N,M,P]=dM(O,I);yl();const j=e.useContext(Pm),R=e.useRef(null),[T,z]=function(t){const[n,r]=e.useState(t),o=e.useRef(null),i=e.useRef([]),a=e.useRef(!1);return e.useEffect((()=>(a.current=!1,()=>{a.current=!0,Ei.cancel(o.current),o.current=null})),[]),[n,function(e){a.current||(null===o.current&&(i.current=[],o.current=Ei((()=>{o.current=null,r((e=>{let t=e;return i.current.forEach((e=>{t=e(t)})),t}))}))),i.current.push(e))}]}({}),[H,D]=gc((()=>({errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}))),B=(e,t)=>{z((n=>{const r=Object.assign({},n),o=[].concat(xi(e.name.slice(0,-1)),xi(t)).join("__SPLIT__");return e.destroy?delete r[o]:r[o]=e,r}))},[A,L]=e.useMemo((()=>{const e=xi(H.errors),t=xi(H.warnings);return Object.values(T).forEach((n=>{e.push.apply(e,xi(n.errors||[])),t.push.apply(t,xi(n.warnings||[]))})),[e,t]}),[T,H.errors,H.warnings]),F=function(){const{itemRef:t}=e.useContext(Dg),n=e.useRef({});return function(e,r){const o=r&&"object"==typeof r&&Oo(r),i=e.join("_");return n.current.name===i&&n.current.originRef===o||(n.current.name=i,n.current.originRef=o,n.current.ref=$o(t(e),o)),n.current.ref}}();function _(n,i,a){return r&&!g?e.createElement(zM,{prefixCls:O,hasFeedback:t.hasFeedback,validateStatus:t.validateStatus,meta:H,errors:A,warnings:L,noStyle:!0},n):e.createElement(DM,Object.assign({key:"row"},t,{className:w(o,P,I,M),prefixCls:O,fieldId:i,isRequired:a,errors:A,warnings:L,meta:H,onSubItemMetaChange:B,layout:v}),n)}if(!E&&!C&&!i)return N(_(x));let W={};return"string"==typeof d?W.label=d:n&&(W.label=String(n)),f&&(W=Object.assign(Object.assign({},W),f)),N(e.createElement(wg,Object.assign({},t,{messageVariables:W,trigger:p,validateTrigger:k,onMetaChange:e=>{const t=null==j?void 0:j.getKey(e.name);if(D(e.destroy?{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}:e,!0),r&&!1!==h&&$){let n=e.name;if(e.destroy)n=R.current||n;else if(void 0!==t){const[e,r]=t;n=[e].concat(xi(r)),R.current=n}$(e,n)}}}),((r,o,a)=>{const s=hM(n).length&&o?o.name:[],d=vM(s,y),f=void 0!==u?u:!!(null==c?void 0:c.some((e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){const t=e(a);return(null==t?void 0:t.required)&&!(null==t?void 0:t.warningOnly)}return!1}))),m=Object.assign({},r);let g=null;if(Array.isArray(x)&&E)g=x;else if(C&&(!l&&!i||E));else if(!i||C||E)if(e.isValidElement(x)){const n=Object.assign(Object.assign({},x.props),m);if(n.id||(n.id=d),h||A.length>0||L.length>0||t.extra){const e=[];(h||A.length>0)&&e.push(`${d}_help`),t.extra&&e.push(`${d}_extra`),n["aria-describedby"]=e.join(" ")}A.length>0&&(n["aria-invalid"]="true"),f&&(n["aria-required"]="true"),ko(x)&&(n.ref=F(s,x));new Set([].concat(xi(hM(p)),xi(hM(k)))).forEach((e=>{n[e]=(...t)=>{var n,r,o,i,a;null===(o=m[e])||void 0===o||(n=o).call.apply(n,[m].concat(t)),null===(a=(i=x.props)[e])||void 0===a||(r=a).call.apply(r,[i].concat(t))}}));const r=[n["aria-required"],n["aria-invalid"],n["aria-describedby"]];g=e.createElement(BM,{control:m,update:x,childProps:r},cu(x,n))}else g=C&&(l||i)&&!E?x(a):x;else;return _(g,d,f)})))};AM.useStatus=OM;const LM=AM;var FM=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const _M=t=>{var{prefixCls:n,children:r}=t,o=FM(t,["prefixCls","children"]);const{getPrefixCls:i}=e.useContext(Ul),a=i("form",n),l=e.useMemo((()=>({prefixCls:a,status:"error"})),[a]);return e.createElement($g,Object.assign({},o),((t,n,o)=>e.createElement(Lg.Provider,{value:l},r(t.map((e=>Object.assign(Object.assign({},e),{fieldKey:e.key}))),n,{errors:o.errors,warnings:o.warnings}))))};const WM=kM;WM.Item=LM,WM.List=_M,WM.ErrorList=mM,WM.useForm=wM,WM.useFormInstance=function(){const{form:t}=e.useContext(Dg);return t},WM.useWatch=zg,WM.Provider=Ag,WM.create=()=>{};const KM=WM;function VM(e,t,n,o){var i=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,i,o),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,i,o)}}}const qM=t=>{const{getPrefixCls:n,direction:r}=e.useContext(Ul),{prefixCls:o,className:i}=t,a=n("input-group",o),l=n("input"),[c,s,u]=kE(l),d=w(a,u,{[`${a}-lg`]:"large"===t.size,[`${a}-sm`]:"small"===t.size,[`${a}-compact`]:t.compact,[`${a}-rtl`]:"rtl"===r},s,i),f=e.useContext(Fg),p=e.useMemo((()=>Object.assign(Object.assign({},f),{isFormItemInput:!1})),[f]);return c(e.createElement("span",{className:d,style:t.style,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onFocus:t.onFocus,onBlur:t.onBlur},e.createElement(Fg.Provider,{value:p},t.children)))},XM=e=>{const{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,[`${t}-input-wrapper`]:{position:"relative",[`${t}-mask-icon`]:{position:"absolute",zIndex:"1",top:"50%",right:"50%",transform:"translate(50%, -50%)",pointerEvents:"none"},[`${t}-mask-input`]:{color:"transparent",caretColor:"var(--ant-color-text)"},[`${t}-mask-input[type=number]::-webkit-inner-spin-button`]:{"-webkit-appearance":"none",margin:0},[`${t}-mask-input[type=number]`]:{"-moz-appearance":"textfield"}},"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},GM=Kc(["Input","OTP"],(e=>{const t=Cc(e,Yk(e));return[XM(t)]}),Uk);var YM=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const UM=e.forwardRef(((t,n)=>{const{className:r,value:o,onChange:i,onActiveChange:a,index:l,mask:c}=t,s=YM(t,["className","value","onChange","onActiveChange","index","mask"]),{getPrefixCls:u}=e.useContext(Ul),d=u("otp"),f="string"==typeof c?c:o,p=e.useRef(null);e.useImperativeHandle(n,(()=>p.current));const m=()=>{Ei((()=>{var e;const t=null===(e=p.current)||void 0===e?void 0:e.input;document.activeElement===t&&t&&t.select()}))};return e.createElement("span",{className:`${d}-input-wrapper`,role:"presentation"},c&&""!==o&&void 0!==o&&e.createElement("span",{className:`${d}-mask-icon`,"aria-hidden":"true"},f),e.createElement(FI,Object.assign({"aria-label":`OTP Input ${l+1}`,type:!0===c?"password":"text"},s,{ref:p,value:o,onInput:e=>{i(l,e.target.value)},onFocus:m,onKeyDown:e=>{const{key:t,ctrlKey:n,metaKey:r}=e;"ArrowLeft"===t?a(l-1):"ArrowRight"===t?a(l+1):"z"===t&&(n||r)&&e.preventDefault(),m()},onKeyUp:e=>{"Backspace"!==e.key||o||a(l-1),m()},onMouseDown:m,onMouseUp:m,className:w(r,{[`${d}-mask-input`]:c})})))})),QM=UM;var ZM=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function JM(e){return(e||"").split("")}const eP=t=>{const{index:n,prefixCls:r,separator:o}=t,i="function"==typeof o?o(n):o;return i?e.createElement("span",{className:`${r}-separator`},i):null},tP=e.forwardRef(((t,n)=>{const{prefixCls:r,length:o=6,size:i,defaultValue:a,value:l,onChange:c,formatter:s,separator:u,variant:d,disabled:f,status:p,autoFocus:m,mask:g,type:h,onInput:v,inputMode:b}=t,y=ZM(t,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:x,direction:C}=e.useContext(Ul),$=x("otp",r),S=au(y,{aria:!0,data:!0,attr:!0}),[k,E,O]=GM($),I=Nd((e=>null!=i?i:e)),N=e.useContext(Fg),M=my(N.status,p),P=e.useMemo((()=>Object.assign(Object.assign({},N),{status:M,hasFeedback:!1,feedbackIcon:null})),[N,M]),j=e.useRef(null),R=e.useRef({});e.useImperativeHandle(n,(()=>({focus:()=>{var e;null===(e=R.current[0])||void 0===e||e.focus()},blur:()=>{var e;for(let t=0;t<o;t+=1)null===(e=R.current[t])||void 0===e||e.blur()},nativeElement:j.current})));const T=e=>s?s(e):e,[z,H]=e.useState((()=>JM(T(a||""))));e.useEffect((()=>{void 0!==l&&H(JM(l))}),[l]);const D=mc((e=>{H(e),v&&v(e),c&&e.length===o&&e.every((e=>e))&&e.some(((e,t)=>z[t]!==e))&&c(e.join(""))})),B=mc(((e,t)=>{let n=xi(z);for(let o=0;o<e;o+=1)n[o]||(n[o]="");t.length<=1?n[e]=t:n=n.slice(0,e).concat(JM(t)),n=n.slice(0,o);for(let o=n.length-1;o>=0&&!n[o];o-=1)n.pop();const r=T(n.map((e=>e||" ")).join(""));return n=JM(r).map(((e,t)=>" "!==e||n[t]?e:n[t])),n})),A=(e,t)=>{var n;const r=B(e,t),i=Math.min(e+t.length,o-1);i!==e&&void 0!==r[e]&&(null===(n=R.current[i])||void 0===n||n.focus()),D(r)},L=e=>{var t;null===(t=R.current[e])||void 0===t||t.focus()},F={variant:d,disabled:f,status:M,mask:g,type:h,inputMode:b};return k(e.createElement("div",Object.assign({},S,{ref:j,className:w($,{[`${$}-sm`]:"small"===I,[`${$}-lg`]:"large"===I,[`${$}-rtl`]:"rtl"===C},O,E),role:"group"}),e.createElement(Fg.Provider,{value:P},Array.from({length:o}).map(((t,n)=>{const r=`otp-${n}`,i=z[n]||"";return e.createElement(e.Fragment,{key:r},e.createElement(QM,Object.assign({ref:e=>{R.current[n]=e},index:n,size:I,htmlSize:1,className:`${$}-input`,onChange:A,value:i,onActiveChange:L,autoFocus:0===n&&m},F)),n<o-1&&e.createElement(eP,{separator:u,index:n,prefixCls:$}))})))))}));var nP=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const rP=t=>t?e.createElement(rn,null):e.createElement(en,null),oP={click:"onClick",hover:"onMouseOver"},iP=e.forwardRef(((t,n)=>{const{disabled:r,action:o="click",visibilityToggle:i=!0,iconRender:a=rP}=t,l=e.useContext(rc),c=null!=r?r:l,s="object"==typeof i&&void 0!==i.visible,[u,d]=e.useState((()=>!!s&&i.visible)),f=e.useRef(null);e.useEffect((()=>{s&&d(i.visible)}),[s,i]);const p=BI(f),m=()=>{var e;if(c)return;u&&p();const t=!u;d(t),"object"==typeof i&&(null===(e=i.onVisibleChange)||void 0===e||e.call(i,t))},{className:g,prefixCls:h,inputPrefixCls:v,size:b}=t,y=nP(t,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:x}=e.useContext(Ul),C=x("input",v),$=x("input-password",h),S=i&&(t=>{const n=oP[o]||"",r=a(u),i={[n]:m,className:`${t}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return e.cloneElement(e.isValidElement(r)?r:e.createElement("span",null,r),i)})($),k=w($,g,{[`${$}-${b}`]:!!b}),E=Object.assign(Object.assign({},bd(y,["suffix","iconRender","visibilityToggle"])),{type:u?"text":"password",className:k,prefixCls:C,suffix:S});return b&&(E.size=b),e.createElement(FI,Object.assign({ref:$o(n,f)},E))})),aP=iP;var lP=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const cP=e.forwardRef(((t,n)=>{const{prefixCls:r,inputPrefixCls:o,className:i,size:a,suffix:l,enterButton:c=!1,addonAfter:s,loading:u,disabled:d,onSearch:f,onChange:p,onCompositionStart:m,onCompositionEnd:g,variant:h}=t,v=lP(t,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd","variant"]),{getPrefixCls:b,direction:y}=e.useContext(Ul),x=e.useRef(!1),C=b("input-search",r),$=b("input",o),{compactSize:S}=Hd(C,y),k=Nd((e=>{var t;return null!==(t=null!=a?a:S)&&void 0!==t?t:e})),E=e.useRef(null),O=e=>{var t;document.activeElement===(null===(t=E.current)||void 0===t?void 0:t.input)&&e.preventDefault()},I=e=>{var t,n;f&&f(null===(n=null===(t=E.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e,{source:"input"})},N="boolean"==typeof c?e.createElement(Ir,null):null,M=`${C}-button`;let P;const j=c||{},R=j.type&&!0===j.type.__ANT_BUTTON;P=R||"button"===j.type?cu(j,Object.assign({onMouseDown:O,onClick:e=>{var t,n;null===(n=null===(t=null==j?void 0:j.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),I(e)},key:"enterButton"},R?{className:M,size:k}:{})):e.createElement(Yp,{className:M,color:c?"primary":"default",size:k,disabled:d,key:"enterButton",onMouseDown:O,onClick:I,loading:u,icon:N,variant:"borderless"===h||"filled"===h||"underlined"===h?"text":c?"solid":void 0},c),s&&(P=[P,cu(s,{key:"addonAfter"})]);const T=w(C,{[`${C}-rtl`]:"rtl"===y,[`${C}-${k}`]:!!k,[`${C}-with-button`]:!!c},i),z=Object.assign(Object.assign({},v),{className:T,prefixCls:$,type:"search",size:k,variant:h,onPressEnter:e=>{x.current||u||I(e)},onCompositionStart:e=>{x.current=!0,null==m||m(e)},onCompositionEnd:e=>{x.current=!1,null==g||g(e)},addonAfter:P,suffix:l,onChange:e=>{(null==e?void 0:e.target)&&"click"===e.type&&f&&f(e.target.value,e,{source:"clear"}),null==p||p(e)},disabled:d});return e.createElement(FI,Object.assign({ref:$o(E,n)},z))})),sP=cP;var uP,dP=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],fP={};function pP(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;uP||((uP=document.createElement("textarea")).setAttribute("tab-index","-1"),uP.setAttribute("aria-hidden","true"),uP.setAttribute("name","hiddenTextarea"),document.body.appendChild(uP)),e.getAttribute("wrap")?uP.setAttribute("wrap",e.getAttribute("wrap")):uP.removeAttribute("wrap");var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&fP[n])return fP[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l={sizingStyle:dP.map((function(e){return"".concat(e,":").concat(r.getPropertyValue(e))})).join(";"),paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(fP[n]=l),l}(e,t),i=o.paddingSize,a=o.borderSize,l=o.boxSizing,c=o.sizingStyle;uP.setAttribute("style","".concat(c,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),uP.value=e.value||e.placeholder||"";var s,u=void 0,d=void 0,f=uP.scrollHeight;if("border-box"===l?f+=a:"content-box"===l&&(f-=i),null!==n||null!==r){uP.value=" ";var p=uP.scrollHeight-i;null!==n&&(u=p*n,"border-box"===l&&(u=u+i+a),f=Math.max(u,f)),null!==r&&(d=p*r,"border-box"===l&&(d=d+i+a),s=f>d?"":"hidden",f=Math.min(d,f))}var m={height:f,overflowY:s,resize:"none"};return u&&(m.minHeight=u),d&&(m.maxHeight=d),m}var mP=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],gP=e.forwardRef((function(t,n){var r=t,o=r.prefixCls,i=r.defaultValue,a=r.value,l=r.autoSize,c=r.onResize,u=r.className,d=r.style,f=r.disabled,p=r.onChange;r.onInternalAutoSize;var h=b(r,mP),y=m(vc(i,{value:a,postState:function(e){return null!=e?e:""}}),2),x=y[0],C=y[1],$=e.useRef();e.useImperativeHandle(n,(function(){return{textArea:$.current}}));var S=m(e.useMemo((function(){return l&&"object"===g(l)?[l.minRows,l.maxRows]:[]}),[l]),2),k=S[0],E=S[1],O=!!l,I=m(e.useState(2),2),N=I[0],M=I[1],P=m(e.useState(),2),j=P[0],R=P[1],T=function(){M(0)};Zi((function(){O&&T()}),[a,k,E,O]),Zi((function(){if(0===N)M(1);else if(1===N){var e=pP($.current,!1,k,E);M(2),R(e)}else!function(){try{if(document.activeElement===$.current){var e=$.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;$.current.setSelectionRange(t,n),$.current.scrollTop=r}}catch(y$){}}()}),[N]);var z=e.useRef(),H=function(){Ei.cancel(z.current)};e.useEffect((function(){return H}),[]);var D=O?j:null,B=Y(Y({},d),D);return 0!==N&&1!==N||(B.overflowY="hidden",B.overflowX="hidden"),e.createElement(bi,{onResize:function(e){2===N&&(null==c||c(e),l&&(H(),z.current=Ei((function(){T()}))))},disabled:!(l||c)},e.createElement("textarea",s({},h,{ref:$,style:B,className:w(o,u,v({},"".concat(o,"-disabled"),f)),disabled:f,value:x,onChange:function(e){C(e.target.value),null==p||p(e)}})))})),hP=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],vP=n.forwardRef((function(t,r){var o,i=t.defaultValue,a=t.value,l=t.onFocus,c=t.onBlur,u=t.onChange,d=t.allowClear,f=t.maxLength,p=t.onCompositionStart,g=t.onCompositionEnd,h=t.suffix,y=t.prefixCls,x=void 0===y?"rc-textarea":y,C=t.showCount,$=t.count,S=t.className,k=t.style,E=t.disabled,O=t.hidden,I=t.classNames,N=t.styles,M=t.onResize,P=t.onClear,j=t.onPressEnter,R=t.readOnly,T=t.autoSize,z=t.onKeyDown,H=b(t,hP),D=m(vc(i,{value:a,defaultValue:i}),2),B=D[0],A=D[1],L=null==B?"":String(B),F=m(n.useState(!1),2),_=F[0],W=F[1],K=n.useRef(!1),V=m(n.useState(null),2),q=V[0],X=V[1],G=e.useRef(null),U=e.useRef(null),Q=function(){var e;return null===(e=U.current)||void 0===e?void 0:e.textArea},Z=function(){Q().focus()};e.useImperativeHandle(r,(function(){var e;return{resizableTextArea:U.current,focus:Z,blur:function(){Q().blur()},nativeElement:(null===(e=G.current)||void 0===e?void 0:e.nativeElement)||Q()}})),e.useEffect((function(){W((function(e){return!E&&e}))}),[E]);var J=m(n.useState(null),2),ee=J[0],te=J[1];n.useEffect((function(){var e;ee&&(e=Q()).setSelectionRange.apply(e,xi(ee))}),[ee]);var ne,re=TI($,C),oe=null!==(o=re.max)&&void 0!==o?o:f,ie=Number(oe)>0,ae=re.strategy(L),le=!!oe&&ae>oe,ce=function(e,t){var n=t;!K.current&&re.exceedFormatter&&re.max&&re.strategy(t)>re.max&&t!==(n=re.exceedFormatter(t,{max:re.max}))&&te([Q().selectionStart||0,Q().selectionEnd||0]),A(n),MI(e.currentTarget,e,u,n)},se=h;re.show&&(ne=re.showFormatter?re.showFormatter({value:L,count:ae,maxLength:oe}):"".concat(ae).concat(ie?" / ".concat(oe):""),se=n.createElement(n.Fragment,null,se,n.createElement("span",{className:w("".concat(x,"-data-count"),null==I?void 0:I.count),style:null==N?void 0:N.count},ne)));var ue=!T&&!C&&!d;return n.createElement(jI,{ref:G,value:L,allowClear:d,handleReset:function(e){A(""),Z(),MI(Q(),e,u)},suffix:se,prefixCls:x,classNames:Y(Y({},I),{},{affixWrapper:w(null==I?void 0:I.affixWrapper,v(v({},"".concat(x,"-show-count"),C),"".concat(x,"-textarea-allow-clear"),d))}),disabled:E,focused:_,className:w(S,le&&"".concat(x,"-out-of-range")),style:Y(Y({},k),q&&!ue?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof ne?ne:void 0}},hidden:O,readOnly:R,onClear:P},n.createElement(gP,s({},H,{autoSize:T,maxLength:f,onKeyDown:function(e){"Enter"===e.key&&j&&j(e),null==z||z(e)},onChange:function(e){ce(e,e.target.value)},onFocus:function(e){W(!0),null==l||l(e)},onBlur:function(e){W(!1),null==c||c(e)},onCompositionStart:function(e){K.current=!0,null==p||p(e)},onCompositionEnd:function(e){K.current=!1,ce(e,e.currentTarget.value),null==g||g(e)},className:w(null==I?void 0:I.textarea),style:Y(Y({},null==N?void 0:N.textarea),{},{resize:null==k?void 0:k.resize}),disabled:E,prefixCls:x,onResize:function(e){var t;null==M||M(e),null!==(t=Q())&&void 0!==t&&t.style.height&&X(!0)},ref:U,readOnly:R})))}));const bP=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}`,resize:"vertical",[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[r]:{position:"relative","&-show-count":{[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`\n &-allow-clear > ${t},\n &-affix-wrapper${r}-has-feedback ${t}\n `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-rtl`]:{[`${t}-suffix`]:{[`${t}-data-count`]:{direction:"ltr",insetInlineStart:0}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},yP=Kc(["Input","TextArea"],(e=>{const t=Cc(e,Yk(e));return[bP(t)]}),Uk,{resetFont:!1});var xP=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const CP=e.forwardRef(((t,n)=>{var r;const{prefixCls:o,bordered:i=!0,size:a,disabled:l,status:c,allowClear:s,classNames:u,rootClassName:d,className:f,style:p,styles:m,variant:g,showCount:h,onMouseDown:v,onResize:b}=t,y=xP(t,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:x,direction:C,allowClear:$,autoComplete:S,className:k,style:E,classNames:O,styles:I}=Zl("textArea"),N=e.useContext(rc),M=null!=l?l:N,{status:P,hasFeedback:j,feedbackIcon:R}=e.useContext(Fg),T=my(P,c),z=e.useRef(null);e.useImperativeHandle(n,(()=>{var e;return{resizableTextArea:null===(e=z.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;PI(null===(n=null===(t=z.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=z.current)||void 0===e?void 0:e.blur()}}}));const H=x("input",o),D=bu(H),[B,A,L]=SE(H,d),[F]=yP(H,D),{compactSize:_,compactItemClassnames:W}=Hd(H,C),K=Nd((e=>{var t;return null!==(t=null!=a?a:_)&&void 0!==t?t:e})),[V,q]=ky("textArea",g,i),X=DI(null!=s?s:$),[G,Y]=e.useState(!1),[U,Q]=e.useState(!1);return B(F(e.createElement(vP,Object.assign({autoComplete:S},y,{style:Object.assign(Object.assign({},E),p),styles:Object.assign(Object.assign({},I),m),disabled:M,allowClear:X,className:w(L,D,f,d,W,k,U&&`${H}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},u),O),{textarea:w({[`${H}-sm`]:"small"===K,[`${H}-lg`]:"large"===K},A,null==u?void 0:u.textarea,O.textarea,G&&`${H}-mouse-active`),variant:w({[`${H}-${V}`]:q},py(H,T)),affixWrapper:w(`${H}-textarea-affix-wrapper`,{[`${H}-affix-wrapper-rtl`]:"rtl"===C,[`${H}-affix-wrapper-sm`]:"small"===K,[`${H}-affix-wrapper-lg`]:"large"===K,[`${H}-textarea-show-count`]:h||(null===(r=t.count)||void 0===r?void 0:r.show)},A)}),prefixCls:H,suffix:j&&e.createElement("span",{className:`${H}-textarea-suffix`},R),showCount:h,ref:z,onResize:e=>{var t,n;if(null==b||b(e),G&&"function"==typeof getComputedStyle){const e=null===(n=null===(t=z.current)||void 0===t?void 0:t.nativeElement)||void 0===n?void 0:n.querySelector("textarea");e&&"both"===getComputedStyle(e).resize&&Q(!0)}},onMouseDown:e=>{Y(!0),null==v||v(e);const t=()=>{Y(!1),document.removeEventListener("mouseup",t)};document.addEventListener("mouseup",t)}}))))})),wP=CP,$P=FI;$P.Group=qM,$P.Search=sP,$P.TextArea=wP,$P.Password=aP,$P.OTP=tP;const SP=$P;var kP={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},EP=[10,20,50,100],OP=function(e){var t=e.pageSizeOptions,r=void 0===t?EP:t,o=e.locale,i=e.changeSize,a=e.pageSize,l=e.goButton,c=e.quickGo,s=e.rootPrefixCls,u=e.disabled,d=e.buildOptionText,f=e.showSizeChanger,p=e.sizeChangerRender,g=m(n.useState(""),2),h=g[0],v=g[1],b=function(){return!h||Number.isNaN(h)?void 0:Number(h)},y="function"==typeof d?d:function(e){return"".concat(e," ").concat(o.items_per_page)},x=function(e){""!==h&&(e.keyCode!==yu.ENTER&&"click"!==e.type||(v(""),null==c||c(b())))},C="".concat(s,"-options");if(!f&&!c)return null;var w=null,$=null,S=null;return f&&p&&(w=p({disabled:u,size:a,onSizeChange:function(e){null==i||i(Number(e))},"aria-label":o.page_size,className:"".concat(C,"-size-changer"),options:(r.some((function(e){return e.toString()===a.toString()}))?r:r.concat([a]).sort((function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))}))).map((function(e){return{label:y(e),value:e}}))})),c&&(l&&(S="boolean"==typeof l?n.createElement("button",{type:"button",onClick:x,onKeyUp:x,disabled:u,className:"".concat(C,"-quick-jumper-button")},o.jump_to_confirm):n.createElement("span",{onClick:x,onKeyUp:x},l)),$=n.createElement("div",{className:"".concat(C,"-quick-jumper")},o.jump_to,n.createElement("input",{disabled:u,type:"text",value:h,onChange:function(e){v(e.target.value)},onKeyUp:x,onBlur:function(e){l||""===h||(v(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(s,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(s,"-item"))>=0)||null==c||c(b()))},"aria-label":o.page}),o.page,S)),n.createElement("li",{className:C},w,$)},IP=function(e){var t=e.rootPrefixCls,r=e.page,o=e.active,i=e.className,a=e.showTitle,l=e.onClick,c=e.onKeyPress,s=e.itemRender,u="".concat(t,"-item"),d=w(u,"".concat(u,"-").concat(r),v(v({},"".concat(u,"-active"),o),"".concat(u,"-disabled"),!r),i),f=s(r,"page",n.createElement("a",{rel:"nofollow"},r));return f?n.createElement("li",{title:a?String(r):null,className:d,onClick:function(){l(r)},onKeyDown:function(e){c(e,l,r)},tabIndex:0},f):null},NP=function(e,t,n){return n};function MP(){}function PP(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function jP(e,t,n){var r=void 0===e?t:e;return Math.floor((n-1)/r)+1}var RP=function(t){var r=t.prefixCls,o=void 0===r?"rc-pagination":r,i=t.selectPrefixCls,a=void 0===i?"rc-select":i,l=t.className,c=t.current,u=t.defaultCurrent,d=void 0===u?1:u,f=t.total,p=void 0===f?0:f,h=t.pageSize,b=t.defaultPageSize,y=void 0===b?10:b,x=t.onChange,C=void 0===x?MP:x,$=t.hideOnSinglePage,S=t.align,k=t.showPrevNextJumpers,E=void 0===k||k,O=t.showQuickJumper,I=t.showLessItems,N=t.showTitle,M=void 0===N||N,P=t.onShowSizeChange,j=void 0===P?MP:P,R=t.locale,T=void 0===R?kP:R,z=t.style,H=t.totalBoundaryShowSizeChanger,D=void 0===H?50:H,B=t.disabled,A=t.simple,L=t.showTotal,F=t.showSizeChanger,_=void 0===F?p>D:F,W=t.sizeChangerRender,K=t.pageSizeOptions,V=t.itemRender,q=void 0===V?NP:V,X=t.jumpPrevIcon,G=t.jumpNextIcon,U=t.prevIcon,Q=t.nextIcon,Z=n.useRef(null),J=m(vc(10,{value:h,defaultValue:y}),2),ee=J[0],te=J[1],ne=m(vc(1,{value:c,defaultValue:d,postState:function(e){return Math.max(1,Math.min(e,jP(void 0,ee,p)))}}),2),re=ne[0],oe=ne[1],ie=m(n.useState(re),2),ae=ie[0],le=ie[1];e.useEffect((function(){le(re)}),[re]);var ce=Math.max(1,re-(I?3:5)),se=Math.min(jP(void 0,ee,p),re+(I?3:5));function ue(e,r){var i=e||n.createElement("button",{type:"button","aria-label":r,className:"".concat(o,"-item-link")});return"function"==typeof e&&(i=n.createElement(e,Y({},t))),i}function de(e){var t=e.target.value,n=jP(void 0,ee,p);return""===t?t:Number.isNaN(Number(t))?ae:t>=n?n:Number(t)}var fe=p>ee&&O;function pe(e){var t=de(e);switch(t!==ae&&le(t),e.keyCode){case yu.ENTER:me(t);break;case yu.UP:me(t-1);break;case yu.DOWN:me(t+1)}}function me(e){if(function(e){return PP(e)&&e!==re&&PP(p)&&p>0}(e)&&!B){var t=jP(void 0,ee,p),n=e;return e>t?n=t:e<1&&(n=1),n!==ae&&le(n),oe(n),null==C||C(n,ee),n}return re}var ge=re>1,he=re<jP(void 0,ee,p);function ve(){ge&&me(re-1)}function be(){he&&me(re+1)}function ye(){me(ce)}function xe(){me(se)}function Ce(e,t){if("Enter"===e.key||e.charCode===yu.ENTER||e.keyCode===yu.ENTER){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];t.apply(void 0,r)}}function we(e){"click"!==e.type&&e.keyCode!==yu.ENTER||me(ae)}var $e=null,Se=au(t,{aria:!0,data:!0}),ke=L&&n.createElement("li",{className:"".concat(o,"-total-text")},L(p,[0===p?0:(re-1)*ee+1,re*ee>p?p:re*ee])),Ee=null,Oe=jP(void 0,ee,p);if($&&p<=ee)return null;var Ie=[],Ne={rootPrefixCls:o,onClick:me,onKeyPress:Ce,showTitle:M,itemRender:q,page:-1},Me=re-1>0?re-1:0,Pe=re+1<Oe?re+1:Oe,je=O&&O.goButton,Re="object"===g(A)?A.readOnly:!A,Te=je,ze=null;A&&(je&&(Te="boolean"==typeof je?n.createElement("button",{type:"button",onClick:we,onKeyUp:we},T.jump_to_confirm):n.createElement("span",{onClick:we,onKeyUp:we},je),Te=n.createElement("li",{title:M?"".concat(T.jump_to).concat(re,"/").concat(Oe):null,className:"".concat(o,"-simple-pager")},Te)),ze=n.createElement("li",{title:M?"".concat(re,"/").concat(Oe):null,className:"".concat(o,"-simple-pager")},Re?ae:n.createElement("input",{type:"text","aria-label":T.jump_to,value:ae,disabled:B,onKeyDown:function(e){e.keyCode!==yu.UP&&e.keyCode!==yu.DOWN||e.preventDefault()},onKeyUp:pe,onChange:pe,onBlur:function(e){me(de(e))},size:3}),n.createElement("span",{className:"".concat(o,"-slash")},"/"),Oe));var He=I?1:2;if(Oe<=3+2*He){Oe||Ie.push(n.createElement(IP,s({},Ne,{key:"noPager",page:1,className:"".concat(o,"-item-disabled")})));for(var De=1;De<=Oe;De+=1)Ie.push(n.createElement(IP,s({},Ne,{key:De,page:De,active:re===De})))}else{var Be=I?T.prev_3:T.prev_5,Ae=I?T.next_3:T.next_5,Le=q(ce,"jump-prev",ue(X,"prev page")),Fe=q(se,"jump-next",ue(G,"next page"));E&&($e=Le?n.createElement("li",{title:M?Be:null,key:"prev",onClick:ye,tabIndex:0,onKeyDown:function(e){Ce(e,ye)},className:w("".concat(o,"-jump-prev"),v({},"".concat(o,"-jump-prev-custom-icon"),!!X))},Le):null,Ee=Fe?n.createElement("li",{title:M?Ae:null,key:"next",onClick:xe,tabIndex:0,onKeyDown:function(e){Ce(e,xe)},className:w("".concat(o,"-jump-next"),v({},"".concat(o,"-jump-next-custom-icon"),!!G))},Fe):null);var _e=Math.max(1,re-He),We=Math.min(re+He,Oe);re-1<=He&&(We=1+2*He),Oe-re<=He&&(_e=Oe-2*He);for(var Ke=_e;Ke<=We;Ke+=1)Ie.push(n.createElement(IP,s({},Ne,{key:Ke,page:Ke,active:re===Ke})));if(re-1>=2*He&&3!==re&&(Ie[0]=n.cloneElement(Ie[0],{className:w("".concat(o,"-item-after-jump-prev"),Ie[0].props.className)}),Ie.unshift($e)),Oe-re>=2*He&&re!==Oe-2){var Ve=Ie[Ie.length-1];Ie[Ie.length-1]=n.cloneElement(Ve,{className:w("".concat(o,"-item-before-jump-next"),Ve.props.className)}),Ie.push(Ee)}1!==_e&&Ie.unshift(n.createElement(IP,s({},Ne,{key:1,page:1}))),We!==Oe&&Ie.push(n.createElement(IP,s({},Ne,{key:Oe,page:Oe})))}var qe,Xe=(qe=q(Me,"prev",ue(U,"prev page")),n.isValidElement(qe)?n.cloneElement(qe,{disabled:!ge}):qe);if(Xe){var Ge=!ge||!Oe;Xe=n.createElement("li",{title:M?T.prev_page:null,onClick:ve,tabIndex:Ge?null:0,onKeyDown:function(e){Ce(e,ve)},className:w("".concat(o,"-prev"),v({},"".concat(o,"-disabled"),Ge)),"aria-disabled":Ge},Xe)}var Ye,Ue,Qe,Ze=(Ye=q(Pe,"next",ue(Q,"next page")),n.isValidElement(Ye)?n.cloneElement(Ye,{disabled:!he}):Ye);Ze&&(A?(Ue=!he,Qe=ge?0:null):Qe=(Ue=!he||!Oe)?null:0,Ze=n.createElement("li",{title:M?T.next_page:null,onClick:be,tabIndex:Qe,onKeyDown:function(e){Ce(e,be)},className:w("".concat(o,"-next"),v({},"".concat(o,"-disabled"),Ue)),"aria-disabled":Ue},Ze));var Je=w(o,l,v(v(v(v(v({},"".concat(o,"-start"),"start"===S),"".concat(o,"-center"),"center"===S),"".concat(o,"-end"),"end"===S),"".concat(o,"-simple"),A),"".concat(o,"-disabled"),B));return n.createElement("ul",s({className:Je,style:z,ref:Z},Se),ke,Xe,A?ze:Ie,Ze,n.createElement(OP,{locale:T,rootPrefixCls:o,disabled:B,selectPrefixCls:a,changeSize:function(e){var t=jP(e,ee,p),n=re>t&&0!==t?t:re;te(e),le(n),null==j||j(re,e),oe(n),null==C||C(n,e)},pageSize:ee,pageSizeOptions:K,quickGo:fe?me:null,goButton:Te,showSizeChanger:_,sizeChangerRender:W}))};const TP=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},zP=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:qi(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:qi(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:qi(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[`\n &${t}-mini ${t}-prev ${t}-item-link,\n &${t}-mini ${t}-next ${t}-item-link\n `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:qi(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:qi(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:qi(e.itemSizeSM),input:Object.assign(Object.assign({},gE(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},HP=e=>{const{componentCls:t}=e;return{[`\n &${t}-simple ${t}-prev,\n &${t}-simple ${t}-next\n `]:{height:e.itemSizeSM,lineHeight:qi(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:qi(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${qi(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${qi(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${qi(e.inputOutlineOffset)} 0 ${qi(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},DP=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[`\n ${t}-prev,\n ${t}-jump-prev,\n ${t}-jump-next\n `]:{marginInlineEnd:e.marginXS},[`\n ${t}-prev,\n ${t}-next,\n ${t}-jump-prev,\n ${t}-jump-next\n `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:qi(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${qi(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:qi(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},hE(e)),Jk(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},Zk(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},BP=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:qi(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${qi(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${qi(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},AP=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Ac(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:qi(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),BP(e)),DP(e)),HP(e)),zP(e)),TP(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},LP=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},Fc(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},Lc(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},Lc(e))}}}},FP=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},Uk(e)),_P=e=>Cc(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},Yk(e)),WP=Kc("Pagination",(e=>{const t=_P(e);return[AP(t),LP(t)]}),FP),KP=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${qi(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},VP=qc(["Pagination","bordered"],(e=>{const t=_P(e);return[KP(t)]}),FP);function qP(t){return e.useMemo((()=>"boolean"==typeof t?[t,{}]:t&&"object"==typeof t?[!0,t]:[void 0,void 0]),[t])}var XP=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const GP=t=>{const{align:n,prefixCls:r,selectPrefixCls:o,className:i,rootClassName:a,style:l,size:c,locale:s,responsive:u,showSizeChanger:d,selectComponentClass:f,pageSizeOptions:p}=t,m=XP(t,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:g}=cx(u),[,h]=Dc(),{getPrefixCls:v,direction:b,showSizeChanger:y,className:x,style:C}=Zl("pagination"),$=v("pagination",r),[S,k,E]=WP($),O=Nd(c),I="small"===O||!(!g||O||!u),[N]=jl("Pagination",Cl),M=Object.assign(Object.assign({},N),s),[P,j]=qP(d),[R,T]=qP(y),z=null!=P?P:R,H=null!=j?j:T,D=f||ox,B=e.useMemo((()=>p?p.map((e=>Number(e))):void 0),[p]),A=e.useMemo((()=>{const t=e.createElement("span",{className:`${$}-item-ellipsis`},"•••");return{prevIcon:e.createElement("button",{className:`${$}-item-link`,type:"button",tabIndex:-1},"rtl"===b?e.createElement(kr,null):e.createElement(Ln,null)),nextIcon:e.createElement("button",{className:`${$}-item-link`,type:"button",tabIndex:-1},"rtl"===b?e.createElement(Ln,null):e.createElement(kr,null)),jumpPrevIcon:e.createElement("a",{className:`${$}-item-link`},e.createElement("div",{className:`${$}-item-container`},"rtl"===b?e.createElement(Ot,{className:`${$}-item-link-icon`}):e.createElement(St,{className:`${$}-item-link-icon`}),t)),jumpNextIcon:e.createElement("a",{className:`${$}-item-link`},e.createElement("div",{className:`${$}-item-container`},"rtl"===b?e.createElement(St,{className:`${$}-item-link-icon`}):e.createElement(Ot,{className:`${$}-item-link-icon`}),t))}}),[b,$]),L=v("select",o),F=w({[`${$}-${n}`]:!!n,[`${$}-mini`]:I,[`${$}-rtl`]:"rtl"===b,[`${$}-bordered`]:h.wireframe},x,i,a,k,E),_=Object.assign(Object.assign({},C),l);return S(e.createElement(e.Fragment,null,h.wireframe&&e.createElement(VP,{prefixCls:$}),e.createElement(RP,Object.assign({},A,m,{style:_,prefixCls:$,selectPrefixCls:L,className:F,locale:M,pageSizeOptions:B,showSizeChanger:z,sizeChangerRender:t=>{var n;const{disabled:r,size:o,onSizeChange:i,"aria-label":a,className:l,options:c}=t,{className:s,onChange:u}=H||{},d=null===(n=c.find((e=>String(e.value)===String(o))))||void 0===n?void 0:n.value;return e.createElement(D,Object.assign({disabled:r,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:e=>e.parentNode,"aria-label":a,options:c},H,{value:d,onChange:(e,t)=>{null==i||i(e),null==u||u(e,t)},size:I?"small":"middle",className:w(l,s)}))}}))))},YP=80*Math.PI,UP=t=>{const{dotClassName:n,style:r,hasCircleCls:o}=t;return e.createElement("circle",{className:w(`${n}-circle`,{[`${n}-circle-bg`]:o}),r:40,cx:50,cy:50,strokeWidth:20,style:r})},QP=({percent:t,prefixCls:n})=>{const r=`${n}-dot`,o=`${r}-holder`,i=`${o}-hidden`,[a,l]=e.useState(!1);Zi((()=>{0!==t&&l(!0)}),[0!==t]);const c=Math.max(Math.min(t,100),0);if(!a)return null;const s={strokeDashoffset:""+YP/4,strokeDasharray:`${YP*c/100} ${YP*(100-c)/100}`};return e.createElement("span",{className:w(o,`${r}-progress`,c<=0&&i)},e.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c},e.createElement(UP,{dotClassName:r,hasCircleCls:!0}),e.createElement(UP,{dotClassName:r,style:s})))};function ZP(t){const{prefixCls:n,percent:r=0}=t,o=`${n}-dot`,i=`${o}-holder`,a=`${i}-hidden`;return e.createElement(e.Fragment,null,e.createElement("span",{className:w(i,r>0&&a)},e.createElement("span",{className:w(o,`${n}-dot-spin`)},[1,2,3,4].map((t=>e.createElement("i",{className:`${n}-dot-item`,key:t}))))),e.createElement(QP,{prefixCls:n,percent:r}))}function JP(t){const{prefixCls:n,indicator:r,percent:o}=t,i=`${n}-dot`;return r&&e.isValidElement(r)?cu(r,{className:w(r.props.className,i),percent:o}):e.createElement(ZP,{prefixCls:n,percent:o})}const ej=new cl("antSpinMove",{to:{opacity:1}}),tj=new cl("antRotate",{to:{transform:"rotate(405deg)"}}),nj=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},Ac(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",inset:0},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:ej,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:tj,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map((t=>`${t} ${e.motionDurationSlow} ease`)).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},rj=Kc("Spin",(e=>{const t=Cc(e,{spinDotDefault:e.colorTextDescription});return[nj(t)]}),(e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:n}})),oj=[[30,.05],[70,.03],[96,.01]];var ij=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};let aj;const lj=t=>{var n;const{prefixCls:r,spinning:o=!0,delay:i=0,className:a,rootClassName:l,size:c="default",tip:s,wrapperClassName:u,style:d,children:f,fullscreen:p=!1,indicator:m,percent:g}=t,h=ij(t,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:v,direction:b,className:y,style:x,indicator:C}=Zl("spin"),$=v("spin",r),[S,k,E]=rj($),[O,I]=e.useState((()=>o&&!function(e,t){return!!e&&!!t&&!Number.isNaN(Number(t))}(o,i))),N=function(t,n){const[r,o]=e.useState(0),i=e.useRef(null),a="auto"===n;return e.useEffect((()=>(a&&t&&(o(0),i.current=setInterval((()=>{o((e=>{const t=100-e;for(let n=0;n<oj.length;n+=1){const[r,o]=oj[n];if(e<=r)return e+t*o}return e}))}),200)),()=>{clearInterval(i.current)})),[a,t]),a?r:n}(O,g);e.useEffect((()=>{if(o){const e=DE(i,(()=>{I(!0)}));return e(),()=>{var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}}I(!1)}),[i,o]);const M=e.useMemo((()=>void 0!==f&&!p),[f,p]),P=w($,y,{[`${$}-sm`]:"small"===c,[`${$}-lg`]:"large"===c,[`${$}-spinning`]:O,[`${$}-show-text`]:!!s,[`${$}-rtl`]:"rtl"===b},a,!p&&l,k,E),j=w(`${$}-container`,{[`${$}-blur`]:O}),R=null!==(n=null!=m?m:C)&&void 0!==n?n:aj,T=Object.assign(Object.assign({},x),d),z=e.createElement("div",Object.assign({},h,{style:T,className:P,"aria-live":"polite","aria-busy":O}),e.createElement(JP,{prefixCls:$,indicator:R,percent:N}),s&&(M||p)?e.createElement("div",{className:`${$}-text`},s):null);return S(M?e.createElement("div",Object.assign({},h,{className:w(`${$}-nested-loading`,u,k,E)}),O&&e.createElement("div",{key:"loading"},z),e.createElement("div",{className:j,key:"container"},f)):p?e.createElement("div",{className:w(`${$}-fullscreen`,{[`${$}-fullscreen-show`]:O},l,k,E)},z):z)};lj.setDefaultIndicator=e=>{aj=e};const cj=lj,sj=(e,t=!1)=>t&&null==e?[]:Array.isArray(e)?e:[e];let uj=null,dj=e=>e(),fj=[],pj={};function mj(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=pj,i=(null==e?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:n,maxCount:r,top:o}}const gj=n.forwardRef(((t,r)=>{const{messageConfig:o,sync:i}=t,{getPrefixCls:a}=e.useContext(Ul),l=pj.prefixCls||a("message"),c=e.useContext(mv),[s,u]=Gu(Object.assign(Object.assign(Object.assign({},o),{prefixCls:l}),c.message));return n.useImperativeHandle(r,(()=>{const e=Object.assign({},s);return Object.keys(e).forEach((t=>{e[t]=(...e)=>(i(),s[t].apply(s,e))})),{instance:e,sync:i}})),u})),hj=n.forwardRef(((e,t)=>{const[r,o]=n.useState(mj),i=()=>{o(mj)};n.useEffect(i,[]);const a=tu(),l=a.getRootPrefixCls(),c=a.getIconPrefixCls(),s=a.getTheme(),u=n.createElement(gj,{ref:t,sync:i,messageConfig:r});return n.createElement(ru,{prefixCls:l,iconPrefixCls:c,theme:s},a.holderRender?a.holderRender(u):u)}));function vj(){if(!uj){const e=document.createDocumentFragment(),t={fragment:e};return uj=t,void dj((()=>{dd()(n.createElement(hj,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,vj())}))}}),e)}))}uj.instance&&(fj.forEach((e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":dj((()=>{const t=uj.instance.open(Object.assign(Object.assign({},pj),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)}));break;case"destroy":dj((()=>{null==uj||uj.instance.destroy(e.key)}));break;default:dj((()=>{var n;const r=(n=uj.instance)[t].apply(n,xi(e.args));null==r||r.then(e.resolve),e.setCloseFn(r)}))}})),fj=[])}const bj={open:function(e){const t=Fu((t=>{let n;const r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return fj.push(r),()=>{n?dj((()=>{n()})):r.skipped=!0}}));return vj(),t},destroy:e=>{fj.push({type:"destroy",key:e}),vj()},config:function(e){pj=Object.assign(Object.assign({},pj),e),dj((()=>{var e;null===(e=null==uj?void 0:uj.sync)||void 0===e||e.call(uj)}))},useMessage:function(e){return Gu(e)},_InternalPanelDoNotUseOrYouWillBeFired:Lu};["success","info","warning","error","loading"].forEach((e=>{bj[e]=(...t)=>function(e,t){tu();const n=Fu((n=>{let r;const o={type:e,args:t,resolve:n,setCloseFn:e=>{r=e}};return fj.push(o),()=>{r?dj((()=>{r()})):o.skipped=!0}}));return vj(),n}(e,t)}));const yj=bj;var xj=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Cj=gv((t=>{const{prefixCls:n,className:r,closeIcon:o,closable:i,type:a,title:l,children:c,footer:s}=t,u=xj(t,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:d}=e.useContext(Ul),f=d(),p=n||d("modal"),m=bu(f),[g,h,v]=_h(p,m),b=`${p}-confirm`;let y={};return y=a?{closable:null!=i&&i,title:"",footer:"",children:e.createElement(Uh,Object.assign({},t,{prefixCls:p,confirmPrefixCls:b,rootPrefixCls:f,content:c}))}:{closable:null==i||i,title:l,footer:null!==s&&e.createElement(Nh,Object.assign({},t)),children:c},g(e.createElement($m,Object.assign({prefixCls:p,className:w(h,`${p}-pure-panel`,a&&b,a&&`${b}-${a}`,r,v,m)},u,{closeIcon:Ih(p,o),closable:i},y)))}));function wj(e){return rv(ov(e))}const $j=qh;$j.useModal=function(){const t=e.useRef(null),[n,r]=e.useState([]);e.useEffect((()=>{if(n.length){xi(n).forEach((e=>{e()})),r([])}}),[n]);const o=e.useCallback((n=>function(o){var i;fv+=1;const a=e.createRef();let l;const c=new Promise((e=>{l=e}));let s,u=!1;const d=e.createElement(dv,{key:`modal-${fv}`,config:n(o),ref:a,afterClose:()=>{null==s||s()},isSilent:()=>u,onConfirm:e=>{l(e)}});s=null===(i=t.current)||void 0===i?void 0:i.patchElement(d),s&&Jh.push(s);return{destroy:()=>{function e(){var e;null===(e=a.current)||void 0===e||e.destroy()}a.current?e():r((t=>[].concat(xi(t),[e])))},update:e=>{function t(){var t;null===(t=a.current)||void 0===t||t.update(e)}a.current?t():r((e=>[].concat(xi(e),[t])))},then:e=>(u=!0,c.then(e))}}),[]);return[e.useMemo((()=>({info:o(iv),success:o(av),error:o(lv),warning:o(ov),confirm:o(cv)})),[]),e.createElement(pv,{key:"modal-holder",ref:t})]},$j.info=function(e){return rv(iv(e))},$j.success=function(e){return rv(av(e))},$j.error=function(e){return rv(lv(e))},$j.warning=wj,$j.warn=wj,$j.confirm=function(e){return rv(cv(e))},$j.destroyAll=function(){for(;Jh.length;){const e=Jh.pop();e&&e()}},$j.config=function({rootPrefixCls:e}){ev=e},$j._InternalPanelDoNotUseOrYouWillBeFired=Cj;const Sj=$j,kj=Kc("Popconfirm",(e=>(e=>{const{componentCls:t,iconCls:n,antCls:r,zIndexPopup:o,colorText:i,colorWarning:a,marginXXS:l,marginXS:c,fontSize:s,fontWeightStrong:u,colorTextHeading:d}=e;return{[t]:{zIndex:o,[`&${r}-popover`]:{fontSize:s},[`${t}-message`]:{marginBottom:c,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:a,fontSize:s,lineHeight:1,marginInlineEnd:c},[`${t}-title`]:{fontWeight:u,color:d,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:l,color:i}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:c}}}}})(e)),(e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}}),{resetStyle:!1});var Ej=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Oj=t=>{const{prefixCls:n,okButtonProps:r,cancelButtonProps:o,title:i,description:a,cancelText:l,okText:c,okType:s="primary",icon:u=e.createElement(Gt,null),showCancel:d=!0,close:f,onConfirm:p,onCancel:m,onPopupClick:g}=t,{getPrefixCls:h}=e.useContext(Ul),[v]=jl("Popconfirm",El.Popconfirm),b=sx(i),y=sx(a);return e.createElement("div",{className:`${n}-inner-content`,onClick:g},e.createElement("div",{className:`${n}-message`},u&&e.createElement("span",{className:`${n}-message-icon`},u),e.createElement("div",{className:`${n}-message-text`},b&&e.createElement("div",{className:`${n}-title`},b),y&&e.createElement("div",{className:`${n}-description`},y))),e.createElement("div",{className:`${n}-buttons`},d&&e.createElement(Yp,Object.assign({onClick:m,size:"small"},o),l||(null==v?void 0:v.cancelText)),e.createElement(Qp,{buttonProps:Object.assign(Object.assign({size:"small"},Vd(s)),r),actionFn:p,close:f,prefixCls:h("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},c||(null==v?void 0:v.okText))))},Ij=t=>{const{prefixCls:n,placement:r,className:o,style:i}=t,a=Ej(t,["prefixCls","placement","className","style"]),{getPrefixCls:l}=e.useContext(Ul),c=l("popconfirm",n),[s]=kj(c);return s(e.createElement(Wx,{placement:r,className:w(c,o),style:i,content:e.createElement(Oj,Object.assign({prefixCls:c},a))}))};var Nj=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Mj=e.forwardRef(((t,n)=>{var r,o;const{prefixCls:i,placement:a="top",trigger:l="click",okType:c="primary",icon:s=e.createElement(Gt,null),children:u,overlayClassName:d,onOpenChange:f,onVisibleChange:p,overlayStyle:m,styles:g,classNames:h}=t,v=Nj(t,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange","overlayStyle","styles","classNames"]),{getPrefixCls:b,className:y,style:x,classNames:C,styles:$}=Zl("popconfirm"),[S,k]=vc(!1,{value:null!==(r=t.open)&&void 0!==r?r:t.visible,defaultValue:null!==(o=t.defaultOpen)&&void 0!==o?o:t.defaultVisible}),E=(e,t)=>{k(e,!0),null==p||p(e),null==f||f(e,t)},O=b("popconfirm",i),I=w(O,y,d,C.root,null==h?void 0:h.root),N=w(C.body,null==h?void 0:h.body),[M]=kj(O);return M(e.createElement(Xx,Object.assign({},bd(v,["title"]),{trigger:l,placement:a,onOpenChange:(e,n)=>{const{disabled:r=!1}=t;r||E(e,n)},open:S,ref:n,classNames:{root:I,body:N},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},$.root),x),m),null==g?void 0:g.root),body:Object.assign(Object.assign({},$.body),null==g?void 0:g.body)},content:e.createElement(Oj,Object.assign({okType:c,icon:s},t,{prefixCls:O,close:e=>{E(!1,e)},onConfirm:e=>{var n;return null===(n=t.onConfirm)||void 0===n?void 0:n.call(globalThis,e)},onCancel:e=>{var n;E(!1,e),null===(n=t.onCancel)||void 0===n||n.call(globalThis,e)}})),"data-popover-inject":!0}),u))})),Pj=Mj;Pj._InternalPanelDoNotUseOrYouWillBeFired=Ij;const jj=Pj;var Rj={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Tj=0,zj=U();const Hj=function(t){var n=m(e.useState(),2),r=n[0],o=n[1];return e.useEffect((function(){var e;o("rc_progress_".concat((zj?(e=Tj,Tj+=1):e="TEST_OR_SSR",e)))}),[]),t||r};var Dj=function(t){var n=t.bg,r=t.children;return e.createElement("div",{style:{width:"100%",height:"100%",background:n}},r)};function Bj(e,t){return Object.keys(e).map((function(n){var r=parseFloat(n),o="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(o)}))}var Aj=e.forwardRef((function(t,n){var r=t.prefixCls,o=t.color,i=t.gradientId,a=t.radius,l=t.style,c=t.ptg,s=t.strokeLinecap,u=t.strokeWidth,d=t.size,f=t.gapDegree,p=o&&"object"===g(o),m=p?"#FFF":void 0,h=d/2,v=e.createElement("circle",{className:"".concat(r,"-circle-path"),r:a,cx:h,cy:h,stroke:m,strokeLinecap:s,strokeWidth:u,opacity:0===c?0:1,style:l,ref:n});if(!p)return v;var b="".concat(i,"-conic"),y=f?"".concat(180+f/2,"deg"):"0deg",x=Bj(o,(360-f)/360),C=Bj(o,1),w="conic-gradient(from ".concat(y,", ").concat(x.join(", "),")"),$="linear-gradient(to ".concat(f?"bottom":"top",", ").concat(C.join(", "),")");return e.createElement(e.Fragment,null,e.createElement("mask",{id:b},v),e.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(b,")")},e.createElement(Dj,{bg:$},e.createElement(Dj,{bg:w}))))})),Lj=100,Fj=function(e,t,n,r,o,i,a,l,c,s){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=n/100*360*((360-i)/360),f=0===i?0:{bottom:0,top:180,left:90,right:-90}[a],p=(100-r)/100*t;"round"===c&&100!==r&&(p+=s/2)>=t&&(p=t-.01);return{stroke:"string"==typeof l?l:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:p+u,transform:"rotate(".concat(o+d+f,"deg)"),transformOrigin:"".concat(50,"px ").concat(50,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},_j=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Wj(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}var Kj=function(t){var n,r,o,i,a,l=Y(Y({},Rj),t),c=l.id,u=l.prefixCls,d=l.steps,f=l.strokeWidth,p=l.trailWidth,m=l.gapDegree,h=void 0===m?0:m,v=l.gapPosition,y=l.trailColor,x=l.strokeLinecap,C=l.style,$=l.className,S=l.strokeColor,k=l.percent,E=b(l,_j),O=Hj(c),I="".concat(O,"-gradient"),N=50-f/2,M=2*Math.PI*N,P=h>0?90+h/2:-90,j=M*((360-h)/360),R="object"===g(d)?d:{count:d,gap:2},T=R.count,z=R.gap,H=Wj(k),D=Wj(S),B=D.find((function(e){return e&&"object"===g(e)})),A=B&&"object"===g(B)?"butt":x,L=Fj(M,j,0,100,P,h,v,y,A,f),F=(n=e.useRef([]),r=e.useRef(null),e.useEffect((function(){var e=Date.now(),t=!1;n.current.forEach((function(n){if(n){t=!0;var o=n.style;o.transitionDuration=".3s, .3s, .3s, .06s",r.current&&e-r.current<100&&(o.transitionDuration="0s, 0s")}})),t&&(r.current=Date.now())})),n.current);return e.createElement("svg",s({className:w("".concat(u,"-circle"),$),viewBox:"0 0 ".concat(Lj," ").concat(Lj),style:C,id:c,role:"presentation"},E),!T&&e.createElement("circle",{className:"".concat(u,"-circle-trail"),r:N,cx:50,cy:50,stroke:y,strokeLinecap:A,strokeWidth:p||f,style:L}),T?(o=Math.round(T*(H[0]/100)),i=100/T,a=0,new Array(T).fill(null).map((function(t,n){var r=n<=o-1?D[0]:y,l=r&&"object"===g(r)?"url(#".concat(I,")"):void 0,c=Fj(M,j,a,i,P,h,v,r,"butt",f,z);return a+=100*(j-c.strokeDashoffset+z)/j,e.createElement("circle",{key:n,className:"".concat(u,"-circle-path"),r:N,cx:50,cy:50,stroke:l,strokeWidth:f,opacity:1,style:c,ref:function(e){F[n]=e}})}))):function(){var t=0;return H.map((function(n,r){var o=D[r]||D[D.length-1],i=Fj(M,j,t,n,P,h,v,o,A,f);return t+=n,e.createElement(Aj,{key:r,color:o,ptg:n,radius:N,prefixCls:u,gradientId:I,style:i,strokeLinecap:A,strokeWidth:f,gapDegree:h,ref:function(e){F[r]=e},size:Lj})})).reverse()}())};function Vj(e){return!e||e<0?0:e>100?100:e}function qj({success:e,successPercent:t}){let n=t;return e&&"progress"in e&&(n=e.progress),e&&"percent"in e&&(n=e.percent),n}const Xj=(e,t,n)=>{var r,o,i,a;let l=-1,c=-1;if("step"===t){const t=n.steps,r=n.strokeWidth;"string"==typeof e||void 0===e?(l="small"===e?2:14,c=null!=r?r:8):"number"==typeof e?[l,c]=[e,e]:[l=14,c=8]=Array.isArray(e)?e:[e.width,e.height],l*=t}else if("line"===t){const t=null==n?void 0:n.strokeWidth;"string"==typeof e||void 0===e?c=t||("small"===e?6:8):"number"==typeof e?[l,c]=[e,e]:[l=-1,c=8]=Array.isArray(e)?e:[e.width,e.height]}else"circle"!==t&&"dashboard"!==t||("string"==typeof e||void 0===e?[l,c]="small"===e?[60,60]:[120,120]:"number"==typeof e?[l,c]=[e,e]:Array.isArray(e)&&(l=null!==(o=null!==(r=e[0])&&void 0!==r?r:e[1])&&void 0!==o?o:120,c=null!==(a=null!==(i=e[0])&&void 0!==i?i:e[1])&&void 0!==a?a:120));return[l,c]},Gj=t=>{const{prefixCls:n,trailColor:r=null,strokeLinecap:o="round",gapPosition:i,gapDegree:a,width:l=120,type:c,children:s,success:u,size:d=l,steps:f}=t,[p,m]=Xj(d,"circle");let{strokeWidth:g}=t;void 0===g&&(g=Math.max((e=>3/e*100)(p),6));const h={width:p,height:m,fontSize:.15*p+6},v=e.useMemo((()=>a||0===a?a:"dashboard"===c?75:void 0),[a,c]),b=(({percent:e,success:t,successPercent:n})=>{const r=Vj(qj({success:t,successPercent:n}));return[r,Vj(Vj(e)-r)]})(t),y=i||"dashboard"===c&&"bottom"||void 0,x="[object Object]"===Object.prototype.toString.call(t.strokeColor),C=(({success:e={},strokeColor:t})=>{const{strokeColor:n}=e;return[n||R.green,t||null]})({success:u,strokeColor:t.strokeColor}),$=w(`${n}-inner`,{[`${n}-circle-gradient`]:x}),S=e.createElement(Kj,{steps:f,percent:f?b[1]:b,strokeWidth:g,trailWidth:g,strokeColor:f?C[1]:C,strokeLinecap:o,trailColor:r,prefixCls:n,gapDegree:v,gapPosition:y}),k=p<=20,E=e.createElement("div",{className:$,style:h},S,!k&&s);return k?e.createElement(Hx,{title:s},E):E},Yj="--progress-line-stroke-color",Uj="--progress-percent",Qj=e=>{const t=e?"100%":"-100%";return new cl(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Zj=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},Ac(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${Yj})`]},height:"100%",width:`calc(1 / var(${Uj}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${qi(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:Qj(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:Qj(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},Jj=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},eR=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},tR=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},nR=Kc("Progress",(e=>{const t=e.calc(e.marginXXS).div(2).equal(),n=Cc(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[Zj(n),Jj(n),eR(n),tR(n)]}),(e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:e.fontSize/e.fontSizeSM+"em"})));var rR=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const oR=(e,t)=>{const{from:n=R.blue,to:r=R.blue,direction:o=("rtl"===t?"to left":"to right")}=e,i=rR(e,["from","to","direction"]);if(0!==Object.keys(i).length){const e=`linear-gradient(${o}, ${(e=>{let t=[];return Object.keys(e).forEach((n=>{const r=parseFloat(n.replace(/%/g,""));Number.isNaN(r)||t.push({key:r,value:e[n]})})),t=t.sort(((e,t)=>e.key-t.key)),t.map((({key:e,value:t})=>`${t} ${e}%`)).join(", ")})(i)})`;return{background:e,[Yj]:e}}const a=`linear-gradient(${o}, ${n}, ${r})`;return{background:a,[Yj]:a}},iR=t=>{const{prefixCls:n,direction:r,percent:o,size:i,strokeWidth:a,strokeColor:l,strokeLinecap:c="round",children:s,trailColor:u=null,percentPosition:d,success:f}=t,{align:p,type:m}=d,g=l&&"string"!=typeof l?oR(l,r):{[Yj]:l,background:l},h="square"===c||"butt"===c?0:void 0,v=null!=i?i:[-1,a||("small"===i?6:8)],[b,y]=Xj(v,"line",{strokeWidth:a}),x={backgroundColor:u||void 0,borderRadius:h},C=Object.assign(Object.assign({width:`${Vj(o)}%`,height:y,borderRadius:h},g),{[Uj]:Vj(o)/100}),$=qj(t),S={width:`${Vj($)}%`,height:y,borderRadius:h,backgroundColor:null==f?void 0:f.strokeColor},k={width:b<0?"100%":b},E=e.createElement("div",{className:`${n}-inner`,style:x},e.createElement("div",{className:w(`${n}-bg`,`${n}-bg-${m}`),style:C},"inner"===m&&s),void 0!==$&&e.createElement("div",{className:`${n}-success-bg`,style:S})),O="outer"===m&&"start"===p,I="outer"===m&&"end"===p;return"outer"===m&&"center"===p?e.createElement("div",{className:`${n}-layout-bottom`},E,s):e.createElement("div",{className:`${n}-outer`,style:k},O&&s,E,I&&s)},aR=t=>{const{size:n,steps:r,rounding:o=Math.round,percent:i=0,strokeWidth:a=8,strokeColor:l,trailColor:c=null,prefixCls:s,children:u}=t,d=o(r*(i/100)),f=null!=n?n:["small"===n?2:14,a],[p,m]=Xj(f,"step",{steps:r,strokeWidth:a}),g=p/r,h=Array.from({length:r});for(let v=0;v<r;v++){const t=Array.isArray(l)?l[v]:l;h[v]=e.createElement("div",{key:v,className:w(`${s}-steps-item`,{[`${s}-steps-item-active`]:v<=d-1}),style:{backgroundColor:v<=d-1?t:c,width:g,height:m}})}return e.createElement("div",{className:`${s}-steps-outer`},h,u)};var lR=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const cR=["normal","exception","active","success"],sR=e.forwardRef(((t,n)=>{const{prefixCls:r,className:o,rootClassName:i,steps:a,strokeColor:l,percent:c=0,size:s="default",showInfo:u=!0,type:d="line",status:f,format:p,style:m,percentPosition:g={}}=t,h=lR(t,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:v="end",type:b="outer"}=g,y=Array.isArray(l)?l[0]:l,x="string"==typeof l||Array.isArray(l)?l:void 0,C=e.useMemo((()=>{if(y){const e="string"==typeof y?y:Object.values(y)[0];return new O(e).isLight()}return!1}),[l]),$=e.useMemo((()=>{var e,n;const r=qj(t);return parseInt(void 0!==r?null===(e=null!=r?r:0)||void 0===e?void 0:e.toString():null===(n=null!=c?c:0)||void 0===n?void 0:n.toString(),10)}),[c,t.success,t.successPercent]),S=e.useMemo((()=>!cR.includes(f)&&$>=100?"success":f||"normal"),[f,$]),{getPrefixCls:k,direction:E,progress:I}=e.useContext(Ul),N=k("progress",r),[M,P,j]=nR(N),R="line"===d,T=R&&!a,z=e.useMemo((()=>{if(!u)return null;const n=qj(t);let r;const o=R&&C&&"inner"===b;return"inner"===b||p||"exception"!==S&&"success"!==S?r=(p||(e=>`${e}%`))(Vj(c),Vj(n)):"exception"===S?r=R?e.createElement(st,null):e.createElement(ft,null):"success"===S&&(r=R?e.createElement(Ge,null):e.createElement(rt,null)),e.createElement("span",{className:w(`${N}-text`,{[`${N}-text-bright`]:o,[`${N}-text-${v}`]:T,[`${N}-text-${b}`]:T}),title:"string"==typeof r?r:void 0},r)}),[u,c,$,S,d,N,p]);let H;"line"===d?H=a?e.createElement(aR,Object.assign({},t,{strokeColor:x,prefixCls:N,steps:"object"==typeof a?a.count:a}),z):e.createElement(iR,Object.assign({},t,{strokeColor:y,prefixCls:N,direction:E,percentPosition:{align:v,type:b}}),z):"circle"!==d&&"dashboard"!==d||(H=e.createElement(Gj,Object.assign({},t,{strokeColor:y,prefixCls:N,progressStatus:S}),z));const D=w(N,`${N}-status-${S}`,{[`${N}-${"dashboard"===d?"circle":d}`]:"line"!==d,[`${N}-inline-circle`]:"circle"===d&&Xj(s,"circle")[0]<=20,[`${N}-line`]:T,[`${N}-line-align-${v}`]:T,[`${N}-line-position-${b}`]:T,[`${N}-steps`]:a,[`${N}-show-info`]:u,[`${N}-${s}`]:"string"==typeof s,[`${N}-rtl`]:"rtl"===E},null==I?void 0:I.className,o,i,P,j);return M(e.createElement("div",Object.assign({ref:n,style:Object.assign(Object.assign({},null==I?void 0:I.style),m),className:D,role:"progressbar","aria-valuenow":$,"aria-valuemin":0,"aria-valuemax":100},bd(h,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),H))})),uR=sR;function dR(e,t){var r=e.disabled,o=e.prefixCls,i=e.character,a=e.characterRender,l=e.index,c=e.count,s=e.value,u=e.allowHalf,d=e.focused,f=e.onHover,p=e.onClick,m=l+1,g=new Set([o]);0===s&&0===l&&d?g.add("".concat(o,"-focused")):u&&s+.5>=m&&s<m?(g.add("".concat(o,"-half")),g.add("".concat(o,"-active")),d&&g.add("".concat(o,"-focused"))):(m<=s?g.add("".concat(o,"-full")):g.add("".concat(o,"-zero")),m===s&&d&&g.add("".concat(o,"-focused")));var h="function"==typeof i?i(e):i,v=n.createElement("li",{className:w(Array.from(g)),ref:t},n.createElement("div",{onClick:r?null:function(e){p(e,l)},onKeyDown:r?null:function(e){e.keyCode===yu.ENTER&&p(e,l)},onMouseMove:r?null:function(e){f(e,l)},role:"radio","aria-checked":s>l?"true":"false","aria-posinset":l+1,"aria-setsize":c,tabIndex:r?-1:0},n.createElement("div",{className:"".concat(o,"-first")},h),n.createElement("div",{className:"".concat(o,"-second")},h)));return a&&(v=a(v,e)),v}const fR=n.forwardRef(dR);var pR=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function mR(t,r){var o,i=t.prefixCls,a=void 0===i?"rc-rate":i,l=t.className,c=t.defaultValue,u=t.value,d=t.count,f=void 0===d?5:d,p=t.allowHalf,g=void 0!==p&&p,h=t.allowClear,y=void 0===h||h,x=t.keyboard,C=void 0===x||x,$=t.character,S=void 0===$?"★":$,k=t.characterRender,E=t.disabled,O=t.direction,I=void 0===O?"ltr":O,N=t.tabIndex,M=void 0===N?0:N,P=t.autoFocus,j=t.onHoverChange,R=t.onChange,T=t.onFocus,z=t.onBlur,H=t.onKeyDown,D=t.onMouseLeave,B=b(t,pR),A=m((o=e.useRef({}),[function(e){return o.current[e]},function(e){return function(t){o.current[e]=t}}]),2),L=A[0],F=A[1],_=n.useRef(null),W=function(){var e;E||(null===(e=_.current)||void 0===e||e.focus())};n.useImperativeHandle(r,(function(){return{focus:W,blur:function(){var e;E||(null===(e=_.current)||void 0===e||e.blur())}}}));var K=m(vc(c||0,{value:u}),2),V=K[0],q=K[1],X=m(vc(null),2),G=X[0],Y=X[1],U=function(e,t){var n,r,o,i,a="rtl"===I,l=e+1;if(g){var c=L(e),s=(r=function(e){var t,n,r=e.ownerDocument,o=r.body,i=r&&r.documentElement,a=e.getBoundingClientRect();return t=a.left,n=a.top,{left:t-=i.clientLeft||o.clientLeft||0,top:n-=i.clientTop||o.clientTop||0}}(n=c),o=n.ownerDocument,i=o.defaultView||o.parentWindow,r.left+=function(e){var t=e.pageXOffset,n="scrollLeft";if("number"!=typeof t){var r=e.document;"number"!=typeof(t=r.documentElement[n])&&(t=r.body[n])}return t}(i),r.left),u=c.clientWidth;(a&&t-s>u/2||!a&&t-s<u/2)&&(l-=.5)}return l},Q=function(e){q(e),null==R||R(e)},Z=m(n.useState(!1),2),J=Z[0],ee=Z[1],te=m(n.useState(null),2),ne=te[0],re=te[1],oe=function(e,t){var n=U(t,e.pageX);n!==G&&(re(n),Y(null)),null==j||j(n)},ie=function(e){E||(re(null),Y(null),null==j||j(void 0)),e&&(null==D||D(e))},ae=function(e,t){var n=U(t,e.pageX),r=!1;y&&(r=n===V),ie(),Q(r?0:n),Y(r?n:null)};n.useEffect((function(){P&&!E&&W()}),[]);var le=new Array(f).fill(0).map((function(e,t){return n.createElement(fR,{ref:F(t),index:t,count:f,disabled:E,prefixCls:"".concat(a,"-star"),allowHalf:g,value:null===ne?V:ne,onClick:ae,onHover:oe,key:e||t,character:S,characterRender:k,focused:J})})),ce=w(a,l,v(v({},"".concat(a,"-disabled"),E),"".concat(a,"-rtl"),"rtl"===I));return n.createElement("ul",s({className:ce,onMouseLeave:ie,tabIndex:E?-1:M,onFocus:E?null:function(){ee(!0),null==T||T()},onBlur:E?null:function(){ee(!1),null==z||z()},onKeyDown:E?null:function(e){var t=e.keyCode,n="rtl"===I,r=g?.5:1;C&&(t===yu.RIGHT&&V<f&&!n?(Q(V+r),e.preventDefault()):t===yu.LEFT&&V>0&&!n||t===yu.RIGHT&&V>0&&n?(Q(V-r),e.preventDefault()):t===yu.LEFT&&V<f&&n&&(Q(V+r),e.preventDefault())),null==H||H(e)},ref:_},au(B,{aria:!0,data:!0,attr:!0})),le)}const gR=n.forwardRef(mR),hR=e=>{const{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${qi(e.lineWidth)} dashed ${e.starColor}`,transform:e.starHoverScale}},"&-first, &-second":{color:e.starBg,transition:`all ${e.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},vR=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),bR=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Ac(e)),{display:"inline-block",margin:0,padding:0,color:e.starColor,fontSize:e.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${t} ${t}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),hR(e)),vR(e))}},yR=Kc("Rate",(e=>{const t=Cc(e,{});return[bR(t)]}),(e=>({starColor:e.yellow6,starSize:.5*e.controlHeightLG,starHoverScale:"scale(1.1)",starBg:e.colorFillContent})));var xR=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const CR=e.forwardRef(((t,n)=>{const{prefixCls:r,className:o,rootClassName:i,style:a,tooltips:l,character:c=e.createElement(Pr,null),disabled:s}=t,u=xR(t,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),{getPrefixCls:d,direction:f,rate:p}=e.useContext(Ul),m=d("rate",r),[g,h,v]=yR(m),b=Object.assign(Object.assign({},null==p?void 0:p.style),a),y=e.useContext(rc),x=null!=s?s:y;return g(e.createElement(gR,Object.assign({ref:n,character:c,characterRender:(t,{index:n})=>l?e.createElement(Hx,{title:l[n]},t):t,disabled:x},u,{className:w(o,i,h,v,null==p?void 0:p.className),style:b,prefixCls:m,direction:f})))}));var wR=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],$R=e.forwardRef((function(t,n){var r,o=t.prefixCls,i=void 0===o?"rc-switch":o,a=t.className,l=t.checked,c=t.defaultChecked,u=t.disabled,d=t.loadingIcon,f=t.checkedChildren,p=t.unCheckedChildren,g=t.onClick,h=t.onChange,y=t.onKeyDown,x=b(t,wR),C=m(vc(!1,{value:l,defaultValue:c}),2),$=C[0],S=C[1];function k(e,t){var n=$;return u||(S(n=e),null==h||h(n,t)),n}var E=w(i,a,(v(r={},"".concat(i,"-checked"),$),v(r,"".concat(i,"-disabled"),u),r));return e.createElement("button",s({},x,{type:"button",role:"switch","aria-checked":$,disabled:u,className:E,ref:n,onKeyDown:function(e){e.which===yu.LEFT?k(!1,e):e.which===yu.RIGHT&&k(!0,e),null==y||y(e)},onClick:function(e){var t=k(!$,e);null==g||g(t,e)}}),d,e.createElement("span",{className:"".concat(i,"-inner")},e.createElement("span",{className:"".concat(i,"-inner-checked")},f),e.createElement("span",{className:"".concat(i,"-inner-unchecked")},p)))}));$R.displayName="Switch";const SR=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:o,innerMinMarginSM:i,innerMaxMarginSM:a,handleSizeSM:l,calc:c}=e,s=`${t}-inner`,u=qi(c(l).add(c(r).mul(2)).equal()),d=qi(c(a).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:o,height:n,lineHeight:qi(n),[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${s}-checked, ${s}-unchecked`]:{minHeight:n},[`${s}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${s}-unchecked`]:{marginTop:c(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:l,height:l},[`${t}-loading-icon`]:{top:c(c(l).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:a,[`${s}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${s}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${qi(c(l).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${s}`]:{[`${s}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${s}`]:{[`${s}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}},kR=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},ER=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:o,handleSize:i,calc:a}=e,l=`${t}-handle`;return{[t]:{[l]:{position:"absolute",top:n,insetInlineStart:n,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:a(i).div(2).equal(),boxShadow:o,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${l}`]:{insetInlineStart:`calc(100% - ${qi(a(i).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${l}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${l}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},OR=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:o,innerMaxMargin:i,handleSize:a,calc:l}=e,c=`${t}-inner`,s=qi(l(a).add(l(r).mul(2)).equal()),u=qi(l(i).mul(2).equal());return{[t]:{[c]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:o,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${c}-checked, ${c}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${s} - ${u})`,marginInlineEnd:`calc(100% - ${s} + ${u})`},[`${c}-unchecked`]:{marginTop:l(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${c}`]:{paddingInlineStart:o,paddingInlineEnd:i,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${s} + ${u})`,marginInlineEnd:`calc(-100% + ${s} - ${u})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:l(r).mul(2).equal(),marginInlineEnd:l(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:l(r).mul(-1).mul(2).equal(),marginInlineEnd:l(r).mul(2).equal()}}}}}},IR=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Ac(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:qi(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Fc(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},NR=Kc("Switch",(e=>{const t=Cc(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[IR(t),OR(t),ER(t),kR(t),SR(t)]}),(e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:o}=e,i=t*n,a=r/2,l=i-4,c=a-4;return{trackHeight:i,trackHeightSM:a,trackMinWidth:2*l+8,trackMinWidthSM:2*c+4,trackPadding:2,handleBg:o,handleSize:l,handleSizeSM:c,handleShadow:`0 2px 4px 0 ${new O("#00230b").setA(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+2+4,innerMinMarginSM:c/2,innerMaxMarginSM:c+2+4}}));var MR=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const PR=e.forwardRef(((t,n)=>{const{prefixCls:r,size:o,disabled:i,loading:a,className:l,rootClassName:c,style:s,checked:u,value:d,defaultChecked:f,defaultValue:p,onChange:m}=t,g=MR(t,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[h,v]=vc(!1,{value:null!=u?u:d,defaultValue:null!=f?f:p}),{getPrefixCls:b,direction:y,switch:x}=e.useContext(Ul),C=e.useContext(rc),$=(null!=i?i:C)||a,S=b("switch",r),k=e.createElement("div",{className:`${S}-handle`},a&&e.createElement(Wn,{className:`${S}-loading-icon`})),[E,O,I]=NR(S),N=Nd(o),M=w(null==x?void 0:x.className,{[`${S}-small`]:"small"===N,[`${S}-loading`]:a,[`${S}-rtl`]:"rtl"===y},l,c,O,I),P=Object.assign(Object.assign({},null==x?void 0:x.style),s);return E(e.createElement(Id,{component:"Switch"},e.createElement($R,Object.assign({},g,{checked:h,onChange:(...e)=>{v(e[0]),null==m||m.apply(void 0,e)},prefixCls:S,className:M,style:P,disabled:$,ref:n,loadingIcon:k}))))}));PR.__ANT_SWITCH=!0;const jR=PR;var RR={},TR="rc-table-internal-hook";function zR(t){var n=e.createContext(void 0);return{Context:n,Provider:function(t){var r=t.value,o=t.children,a=e.useRef(r);a.current=r;var l=m(e.useState((function(){return{getValue:function(){return a.current},listeners:new Set}})),1)[0];return Zi((function(){i.unstable_batchedUpdates((function(){l.listeners.forEach((function(e){e(r)}))}))}),[r]),e.createElement(n.Provider,{value:l},o)},defaultValue:t}}function HR(t,n){var r=mc("function"==typeof n?n:function(e){if(void 0===n)return e;if(!Array.isArray(n))return e[n];var t={};return n.forEach((function(n){t[n]=e[n]})),t}),o=e.useContext(null==t?void 0:t.Context),i=o||{},a=i.listeners,l=i.getValue,c=e.useRef();c.current=r(o?l():null==t?void 0:t.defaultValue);var s=m(e.useState({}),2)[1];return Zi((function(){if(o)return a.add(e),function(){a.delete(e)};function e(e){var t=r(e);Ii(c.current,t,!0)||s({})}}),[o]),c.current}var DR=function(){var t=e.createContext(null);function n(){return e.useContext(t)}return{makeImmutable:function(r,o){var i=ko(r),a=function(a,l){var c=i?{ref:l}:{},u=e.useRef(0),d=e.useRef(a);return null!==n()?e.createElement(r,s({},a,c)):(o&&!o(d.current,a)||(u.current+=1),d.current=a,e.createElement(t.Provider,{value:u.current},e.createElement(r,s({},a,c))))};return i?e.forwardRef(a):a},responseImmutable:function(t,r){var o=ko(t),i=function(r,i){var a=o?{ref:i}:{};return n(),e.createElement(t,s({},r,a))};return o?e.memo(e.forwardRef(i),r):e.memo(i,r)},useImmutableMark:n}}(),BR=DR.makeImmutable,AR=DR.responseImmutable,LR=DR.useImmutableMark,FR=zR(),_R=e.createContext({renderWithProps:!1});function WR(e){var t=[],n={};return e.forEach((function(e){for(var r,o=e||{},i=o.key,a=o.dataIndex,l=i||(r=a,null==r?[]:Array.isArray(r)?r:[r]).join("-")||"RC_TABLE_KEY";n[l];)l="".concat(l,"_next");n[l]=!0,t.push(l)})),t}function KR(e){return null!=e}function VR(t,n,r,o,i,a){var l=e.useContext(_R);return ho((function(){if(KR(o))return[o];var a,c=null==n||""===n?[]:Array.isArray(n)?n:[n],s=dl(t,c),u=s,d=void 0;if(i){var f=i(s,t,r);!(a=f)||"object"!==g(a)||Array.isArray(a)||e.isValidElement(a)?u=f:(u=f.children,d=f.props,l.renderWithProps=!0)}return[u,d]}),[LR(),t,o,n,i,r],(function(e,t){if(a){var n=m(e,2)[1],r=m(t,2)[1];return a(r,n)}return!!l.renderWithProps||!Ii(e,t,!0)}))}function qR(t){var n,r,o,i,a,l,c,u,d=t.component,f=t.children,p=t.ellipsis,h=t.scope,b=t.prefixCls,y=t.className,x=t.align,C=t.record,$=t.render,S=t.dataIndex,k=t.renderIndex,E=t.shouldCellUpdate,O=t.index,I=t.rowType,N=t.colSpan,M=t.rowSpan,P=t.fixLeft,j=t.fixRight,R=t.firstFixLeft,T=t.lastFixLeft,z=t.firstFixRight,H=t.lastFixRight,D=t.appendNode,B=t.additionalProps,A=void 0===B?{}:B,L=t.isSticky,F="".concat(b,"-cell"),_=HR(FR,["supportSticky","allColumnsFixedLeft","rowHoverable"]),W=_.supportSticky,K=_.allColumnsFixedLeft,V=_.rowHoverable,q=m(VR(C,S,k,f,$,E),2),X=q[0],G=q[1],U={},Q="number"==typeof P&&W,Z="number"==typeof j&&W;Q&&(U.position="sticky",U.left=P),Z&&(U.position="sticky",U.right=j);var J=null!==(n=null!==(r=null!==(o=null==G?void 0:G.colSpan)&&void 0!==o?o:A.colSpan)&&void 0!==r?r:N)&&void 0!==n?n:1,ee=null!==(i=null!==(a=null!==(l=null==G?void 0:G.rowSpan)&&void 0!==l?l:A.rowSpan)&&void 0!==a?a:M)&&void 0!==i?i:1,te=function(e,t){return HR(FR,(function(n){var r,o,i,a;return[(r=e,o=t||1,i=n.hoverStartRow,a=n.hoverEndRow,r<=a&&r+o-1>=i),n.onHover]}))}(O,ee),ne=m(te,2),re=ne[0],oe=ne[1],ie=mc((function(e){var t;C&&oe(O,O+ee-1),null==A||null===(t=A.onMouseEnter)||void 0===t||t.call(A,e)})),ae=mc((function(e){var t;C&&oe(-1,-1),null==A||null===(t=A.onMouseLeave)||void 0===t||t.call(A,e)}));if(0===J||0===ee)return null;var le=null!==(c=A.title)&&void 0!==c?c:function(t){var n,r=t.ellipsis,o=t.rowType,i=t.children,a=!0===r?{showTitle:!0}:r;return a&&(a.showTitle||"header"===o)&&("string"==typeof i||"number"==typeof i?n=i.toString():e.isValidElement(i)&&"string"==typeof i.props.children&&(n=i.props.children)),n}({rowType:I,ellipsis:p,children:X}),ce=w(F,y,(v(v(v(v(v(v(v(v(v(v(u={},"".concat(F,"-fix-left"),Q&&W),"".concat(F,"-fix-left-first"),R&&W),"".concat(F,"-fix-left-last"),T&&W),"".concat(F,"-fix-left-all"),T&&K&&W),"".concat(F,"-fix-right"),Z&&W),"".concat(F,"-fix-right-first"),z&&W),"".concat(F,"-fix-right-last"),H&&W),"".concat(F,"-ellipsis"),p),"".concat(F,"-with-append"),D),"".concat(F,"-fix-sticky"),(Q||Z)&&L&&W),v(u,"".concat(F,"-row-hover"),!G&&re)),A.className,null==G?void 0:G.className),se={};x&&(se.textAlign=x);var ue=Y(Y(Y(Y({},null==G?void 0:G.style),U),se),A.style),de=X;return"object"!==g(de)||Array.isArray(de)||e.isValidElement(de)||(de=null),p&&(T||z)&&(de=e.createElement("span",{className:"".concat(F,"-content")},de)),e.createElement(d,s({},G,A,{className:ce,style:ue,title:le,scope:h,onMouseEnter:V?ie:void 0,onMouseLeave:V?ae:void 0,colSpan:1!==J?J:null,rowSpan:1!==ee?ee:null}),D,de)}const XR=e.memo(qR);function GR(e,t,n,r,o){var i,a,l=n[e]||{},c=n[t]||{};"left"===l.fixed?i=r.left["rtl"===o?t:e]:"right"===c.fixed&&(a=r.right["rtl"===o?e:t]);var s=!1,u=!1,d=!1,f=!1,p=n[t+1],m=n[e-1],g=p&&!p.fixed||m&&!m.fixed||n.every((function(e){return"left"===e.fixed}));if("rtl"===o){if(void 0!==i)f=!(m&&"left"===m.fixed)&&g;else if(void 0!==a){d=!(p&&"right"===p.fixed)&&g}}else if(void 0!==i){s=!(p&&"left"===p.fixed)&&g}else if(void 0!==a){u=!(m&&"right"===m.fixed)&&g}return{fixLeft:i,fixRight:a,lastFixLeft:s,firstFixRight:u,lastFixRight:d,firstFixLeft:f,isSticky:r.isSticky}}var YR=e.createContext({});var UR=["children"];function QR(e){return e.children}QR.Row=function(t){var n=t.children,r=b(t,UR);return e.createElement("tr",r,n)},QR.Cell=function(t){var n=t.className,r=t.index,o=t.children,i=t.colSpan,a=void 0===i?1:i,l=t.rowSpan,c=t.align,u=HR(FR,["prefixCls","direction"]),d=u.prefixCls,f=u.direction,p=e.useContext(YR),m=p.scrollColumnIndex,g=p.stickyOffsets,h=r+a-1+1===m?a+1:a,v=GR(r,r+h-1,p.flattenColumns,g,f);return e.createElement(XR,s({className:n,index:r,component:"td",prefixCls:d,record:null,dataIndex:null,align:c,colSpan:h,rowSpan:l,render:function(){return o}},v))};const ZR=AR((function(t){var n=t.children,r=t.stickyOffsets,o=t.flattenColumns,i=HR(FR,"prefixCls"),a=o.length-1,l=o[a],c=e.useMemo((function(){return{stickyOffsets:r,flattenColumns:o,scrollColumnIndex:null!=l&&l.scrollbar?a:null}}),[l,o,a,r]);return e.createElement(YR.Provider,{value:c},e.createElement("tfoot",{className:"".concat(i,"-summary")},n))}));var JR=QR;function eT(e,t,n,r,o,i,a){e.push({record:t,indent:n,index:a});var l=i(t),c=null==o?void 0:o.has(l);if(t&&Array.isArray(t[r])&&c)for(var s=0;s<t[r].length;s+=1)eT(e,t[r][s],n+1,r,o,i,s)}function tT(t,n,r,o){return e.useMemo((function(){if(null!=r&&r.size){for(var e=[],i=0;i<(null==t?void 0:t.length);i+=1){eT(e,t[i],0,n,r,o,i)}return e}return null==t?void 0:t.map((function(e,t){return{record:e,indent:0,index:t}}))}),[t,n,r,o])}function nT(e,t,n,r){var o,i=HR(FR,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),a=i.flattenColumns,l=i.expandableType,c=i.expandedKeys,s=i.childrenColumnName,u=i.onTriggerExpand,d=i.rowExpandable,f=i.onRow,p=i.expandRowByClick,m=i.rowClassName,g="nest"===l,h="row"===l&&(!d||d(e)),v=h||g,b=c&&c.has(t),y=s&&e&&e[s],x=mc(u),C=null==f?void 0:f(e,n),$=null==C?void 0:C.onClick;"string"==typeof m?o=m:"function"==typeof m&&(o=m(e,n,r));var S=WR(a);return Y(Y({},i),{},{columnsKey:S,nestExpandable:g,expanded:b,hasNestChildren:y,record:e,onTriggerExpand:x,rowSupportExpand:h,expandable:v,rowProps:Y(Y({},C),{},{className:w(o,null==C?void 0:C.className),onClick:function(t){p&&v&&u(e,t);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];null==$||$.apply(void 0,[t].concat(r))}})})}function rT(t){var n=t.prefixCls,r=t.children,o=t.component,i=t.cellComponent,a=t.className,l=t.expanded,c=t.colSpan,s=t.isEmpty,u=HR(FR,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),d=u.scrollbarSize,f=u.fixHeader,p=u.fixColumn,m=u.componentWidth,g=u.horizonScroll,h=r;return(s?g&&m:p)&&(h=e.createElement("div",{style:{width:m-(f&&!s?d:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(n,"-expanded-row-fixed")},h)),e.createElement(o,{className:a,style:{display:l?null:"none"}},e.createElement(XR,{component:i,prefixCls:n,colSpan:c},h))}function oT(t){var n=t.prefixCls,r=t.record,o=t.onExpand,i=t.expanded,a=t.expandable,l="".concat(n,"-row-expand-icon");if(!a)return e.createElement("span",{className:w(l,"".concat(n,"-row-spaced"))});return e.createElement("span",{className:w(l,v(v({},"".concat(n,"-row-expanded"),i),"".concat(n,"-row-collapsed"),!i)),onClick:function(e){o(r,e),e.stopPropagation()}})}function iT(e,t,n,r){return"string"==typeof e?e:"function"==typeof e?e(t,n,r):""}function aT(t,n,r,o,i){var a,l,c=t.record,s=t.prefixCls,u=t.columnsKey,d=t.fixedInfoList,f=t.expandIconColumnIndex,p=t.nestExpandable,m=t.indentSize,g=t.expandIcon,h=t.expanded,v=t.hasNestChildren,b=t.onTriggerExpand,y=u[r],x=d[r];return r===(f||0)&&p&&(a=e.createElement(e.Fragment,null,e.createElement("span",{style:{paddingLeft:"".concat(m*o,"px")},className:"".concat(s,"-row-indent indent-level-").concat(o)}),g({prefixCls:s,expanded:h,expandable:v,record:c,onExpand:b}))),n.onCell&&(l=n.onCell(c,i)),{key:y,fixedInfo:x,appendCellNode:a,additionalCellProps:l||{}}}const lT=AR((function(t){var n=t.className,r=t.style,o=t.record,i=t.index,a=t.renderIndex,l=t.rowKey,c=t.indent,u=void 0===c?0:c,d=t.rowComponent,f=t.cellComponent,p=t.scopeCellComponent,m=nT(o,l,i,u),g=m.prefixCls,h=m.flattenColumns,b=m.expandedRowClassName,y=m.expandedRowRender,x=m.rowProps,C=m.expanded,$=m.rowSupportExpand,S=e.useRef(!1);S.current||(S.current=C);var k,E=iT(b,o,i,u),O=e.createElement(d,s({},x,{"data-row-key":l,className:w(n,"".concat(g,"-row"),"".concat(g,"-row-level-").concat(u),null==x?void 0:x.className,v({},E,u>=1)),style:Y(Y({},r),null==x?void 0:x.style)}),h.map((function(t,n){var r=t.render,l=t.dataIndex,c=t.className,d=aT(m,t,n,u,i),h=d.key,v=d.fixedInfo,b=d.appendCellNode,y=d.additionalCellProps;return e.createElement(XR,s({className:c,ellipsis:t.ellipsis,align:t.align,scope:t.rowScope,component:t.rowScope?p:f,prefixCls:g,key:h,record:o,index:i,renderIndex:a,dataIndex:l,render:r,shouldCellUpdate:t.shouldCellUpdate},v,{appendNode:b,additionalProps:y}))})));if($&&(S.current||C)){var I=y(o,i,u+1,C);k=e.createElement(rT,{expanded:C,className:w("".concat(g,"-expanded-row"),"".concat(g,"-expanded-row-level-").concat(u+1),E),prefixCls:g,component:d,cellComponent:f,colSpan:h.length,isEmpty:!1},I)}return e.createElement(e.Fragment,null,O,k)}));function cT(t){var n=t.columnKey,r=t.onColumnResize,o=e.useRef();return Zi((function(){o.current&&r(n,o.current.offsetWidth)}),[]),e.createElement(bi,{data:n},e.createElement("td",{ref:o,style:{padding:0,border:0,height:0}},e.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function sT(t){var n=t.prefixCls,r=t.columnsKey,o=t.onColumnResize,i=e.useRef(null);return e.createElement("tr",{"aria-hidden":"true",className:"".concat(n,"-measure-row"),style:{height:0,fontSize:0},ref:i},e.createElement(bi.Collection,{onBatchResize:function(e){yd(i.current)&&e.forEach((function(e){var t=e.data,n=e.size;o(t,n.offsetWidth)}))}},r.map((function(t){return e.createElement(cT,{key:t,columnKey:t,onColumnResize:o})}))))}const uT=AR((function(t){var n,r=t.data,o=t.measureColumnWidth,i=HR(FR,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),a=i.prefixCls,l=i.getComponent,c=i.onColumnResize,s=i.flattenColumns,u=i.getRowKey,d=i.expandedKeys,f=i.childrenColumnName,p=i.emptyNode,m=tT(r,f,d,u),g=e.useRef({renderWithProps:!1}),h=l(["body","wrapper"],"tbody"),v=l(["body","row"],"tr"),b=l(["body","cell"],"td"),y=l(["body","cell"],"th");n=r.length?m.map((function(t,n){var r=t.record,o=t.indent,i=t.index,a=u(r,n);return e.createElement(lT,{key:a,rowKey:a,record:r,index:n,renderIndex:i,rowComponent:v,cellComponent:b,scopeCellComponent:y,indent:o})})):e.createElement(rT,{expanded:!0,className:"".concat(a,"-placeholder"),prefixCls:a,component:v,cellComponent:b,colSpan:s.length,isEmpty:!0},p);var x=WR(s);return e.createElement(_R.Provider,{value:g.current},e.createElement(h,{className:"".concat(a,"-tbody")},o&&e.createElement(sT,{prefixCls:a,columnsKey:x,onColumnResize:c}),n))}));var dT=["expandable"],fT="RC_TABLE_INTERNAL_COL_DEFINE";var pT=["columnType"];function mT(t){for(var n=t.colWidths,r=t.columns,o=t.columCount,i=HR(FR,["tableLayout"]).tableLayout,a=[],l=!1,c=(o||r.length)-1;c>=0;c-=1){var u=n[c],d=r&&r[c],f=void 0,p=void 0;if(d&&(f=d[fT],"auto"===i&&(p=d.minWidth)),u||p||f||l){var m=f||{};m.columnType;var g=b(m,pT);a.unshift(e.createElement("col",s({key:c,style:{width:u,minWidth:p}},g))),l=!0}}return e.createElement("colgroup",null,a)}var gT=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];var hT=e.forwardRef((function(t,n){var r=t.className,o=t.noData,i=t.columns,a=t.flattenColumns,l=t.colWidths,c=t.columCount,s=t.stickyOffsets,u=t.direction,d=t.fixHeader,f=t.stickyTopOffset,p=t.stickyBottomOffset,m=t.stickyClassName,g=t.onScroll,h=t.maxContentScroll,y=t.children,x=b(t,gT),C=HR(FR,["prefixCls","scrollbarSize","isSticky","getComponent"]),$=C.prefixCls,S=C.scrollbarSize,k=C.isSticky,E=(0,C.getComponent)(["header","table"],"table"),O=k&&!d?0:S,I=e.useRef(null),N=e.useCallback((function(e){wo(n,e),wo(I,e)}),[]);e.useEffect((function(){var e;function t(e){var t=e,n=t.currentTarget,r=t.deltaX;r&&(g({currentTarget:n,scrollLeft:n.scrollLeft+r}),e.preventDefault())}return null===(e=I.current)||void 0===e||e.addEventListener("wheel",t,{passive:!1}),function(){var e;null===(e=I.current)||void 0===e||e.removeEventListener("wheel",t)}}),[]);var M=e.useMemo((function(){return a.every((function(e){return e.width}))}),[a]),P=a[a.length-1],j={fixed:P?P.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat($,"-cell-scrollbar")}}},R=e.useMemo((function(){return O?[].concat(xi(i),[j]):i}),[O,i]),T=e.useMemo((function(){return O?[].concat(xi(a),[j]):a}),[O,a]),z=e.useMemo((function(){var e=s.right,t=s.left;return Y(Y({},s),{},{left:"rtl"===u?[].concat(xi(t.map((function(e){return e+O}))),[0]):t,right:"rtl"===u?e:[].concat(xi(e.map((function(e){return e+O}))),[0]),isSticky:k})}),[O,s,k]),H=function(t,n){return e.useMemo((function(){for(var e=[],r=0;r<n;r+=1){var o=t[r];if(void 0===o)return null;e[r]=o}return e}),[t.join("_"),n])}(l,c);return e.createElement("div",{style:Y({overflow:"hidden"},k?{top:f,bottom:p}:{}),ref:N,className:w(r,v({},m,!!m))},e.createElement(E,{style:{tableLayout:"fixed",visibility:o||H?null:"hidden"}},(!o||!h||M)&&e.createElement(mT,{colWidths:H?[].concat(xi(H),[O]):[],columCount:c+1,columns:T}),y(Y(Y({},x),{},{stickyOffsets:z,columns:R,flattenColumns:T}))))}));const vT=e.memo(hT);var bT=function(t){var n,r=t.cells,o=t.stickyOffsets,i=t.flattenColumns,a=t.rowComponent,l=t.cellComponent,c=t.onHeaderRow,u=t.index,d=HR(FR,["prefixCls","direction"]),f=d.prefixCls,p=d.direction;c&&(n=c(r.map((function(e){return e.column})),u));var m=WR(r.map((function(e){return e.column})));return e.createElement(a,n,r.map((function(t,n){var r,a=t.column,c=GR(t.colStart,t.colEnd,i,o,p);return a&&a.onHeaderCell&&(r=t.column.onHeaderCell(a)),e.createElement(XR,s({},t,{scope:a.title?t.colSpan>1?"colgroup":"col":null,ellipsis:a.ellipsis,align:a.align,component:l,prefixCls:f,key:m[n]},c,{additionalProps:r,rowType:"header"}))})))};const yT=AR((function(t){var n=t.stickyOffsets,r=t.columns,o=t.flattenColumns,i=t.onHeaderRow,a=HR(FR,["prefixCls","getComponent"]),l=a.prefixCls,c=a.getComponent,s=e.useMemo((function(){return function(e){var t=[];!function e(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;t[o]=t[o]||[];var i=r;return n.filter(Boolean).map((function(n){var r={key:n.key,className:n.className||"",children:n.title,column:n,colStart:i},a=1,l=n.children;return l&&l.length>0&&(a=e(l,i,o+1).reduce((function(e,t){return e+t}),0),r.hasSubColumns=!0),"colSpan"in n&&(a=n.colSpan),"rowSpan"in n&&(r.rowSpan=n.rowSpan),r.colSpan=a,r.colEnd=r.colStart+a-1,t[o].push(r),i+=a,a}))}(e,0);for(var n=t.length,r=function(e){t[e].forEach((function(t){"rowSpan"in t||t.hasSubColumns||(t.rowSpan=n-e)}))},o=0;o<n;o+=1)r(o);return t}(r)}),[r]),u=c(["header","wrapper"],"thead"),d=c(["header","row"],"tr"),f=c(["header","cell"],"th");return e.createElement(u,{className:"".concat(l,"-thead")},s.map((function(t,r){return e.createElement(bT,{key:r,flattenColumns:o,cells:t,stickyOffsets:n,rowComponent:d,cellComponent:f,onHeaderRow:i,index:r})})))}));function xT(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"number"==typeof t?t:t.endsWith("%")?e*parseFloat(t)/100:null}var CT=["children"],wT=["fixed"];function $T(t){return Io(t).filter((function(t){return e.isValidElement(t)})).map((function(e){var t=e.key,n=e.props,r=n.children,o=Y({key:t},b(n,CT));return r&&(o.children=$T(r)),o}))}function ST(e){return e.filter((function(e){return e&&"object"===g(e)&&!e.hidden})).map((function(e){var t=e.children;return t&&t.length>0?Y(Y({},e),{},{children:ST(t)}):e}))}function kT(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key";return e.filter((function(e){return e&&"object"===g(e)})).reduce((function(e,n,r){var o=n.fixed,i=!0===o?"left":o,a="".concat(t,"-").concat(r),l=n.children;return l&&l.length>0?[].concat(xi(e),xi(kT(l,a).map((function(e){return Y({fixed:i},e)})))):[].concat(xi(e),[Y(Y({key:a},n),{},{fixed:i})])}),[])}function ET(t,n){var r=t.prefixCls,o=t.columns,i=t.children,a=t.expandable,l=t.expandedKeys,c=t.columnTitle,s=t.getRowKey,u=t.onTriggerExpand,d=t.expandIcon,f=t.rowExpandable,p=t.expandIconColumnIndex,g=t.direction,h=t.expandRowByClick,y=t.columnWidth,x=t.fixed,C=t.scrollWidth,w=t.clientWidth,$=e.useMemo((function(){return ST((o||$T(i)||[]).slice())}),[o,i]),S=e.useMemo((function(){if(a){var t=$.slice();if(!t.includes(RR)){var n=p||0;n>=0&&(n||"left"===x||!x)&&t.splice(n,0,RR),"right"===x&&t.splice($.length,0,RR)}var o=t.indexOf(RR);t=t.filter((function(e,t){return e!==RR||t===o}));var i,m=$[o];i=x||(m?m.fixed:null);var g=v(v(v(v(v(v({},fT,{className:"".concat(r,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",c),"fixed",i),"className","".concat(r,"-row-expand-icon-cell")),"width",y),"render",(function(t,n,o){var i=s(n,o),a=l.has(i),c=!f||f(n),p=d({prefixCls:r,expanded:a,expandable:c,record:n,onExpand:u});return h?e.createElement("span",{onClick:function(e){return e.stopPropagation()}},p):p}));return t.map((function(e){return e===RR?g:e}))}return $.filter((function(e){return e!==RR}))}),[a,$,s,l,d,g]),k=e.useMemo((function(){var e=S;return n&&(e=n(e)),e.length||(e=[{render:function(){return null}}]),e}),[n,S,g]),E=e.useMemo((function(){return"rtl"===g?function(e){return e.map((function(e){var t=e.fixed,n=t;return"left"===t?n="right":"right"===t&&(n="left"),Y({fixed:n},b(e,wT))}))}(kT(k)):kT(k)}),[k,g,C]),O=e.useMemo((function(){for(var e=-1,t=E.length-1;t>=0;t-=1){var n=E[t].fixed;if("left"===n||!0===n){e=t;break}}if(e>=0)for(var r=0;r<=e;r+=1){var o=E[r].fixed;if("left"!==o&&!0!==o)return!0}var i=E.findIndex((function(e){return"right"===e.fixed}));if(i>=0)for(var a=i;a<E.length;a+=1){if("right"!==E[a].fixed)return!0}return!1}),[E]),I=function(t,n,r){return e.useMemo((function(){if(n&&n>0){var e=0,o=0;t.forEach((function(t){var r=xT(n,t.width);r?e+=r:o+=1}));var i=Math.max(n,r),a=Math.max(i-e,o),l=o,c=a/o,s=0,u=t.map((function(e){var t=Y({},e),r=xT(n,t.width);if(r)t.width=r;else{var o=Math.floor(c);t.width=1===l?a:o,a-=o,l-=1}return s+=t.width,t}));if(s<i){var d=i/s;a=i,u.forEach((function(e,t){var n=Math.floor(e.width*d);e.width=t===u.length-1?a:n,a-=n}))}return[u,Math.max(s,i)]}return[t,n]}),[t,n,r])}(E,C,w),N=m(I,2),M=N[0],P=N[1];return[k,M,P,O]}function OT(t,n,r){var o=function(e){var t,n=e.expandable,r=b(e,dT);return!1===(t="expandable"in e?Y(Y({},r),n):r).showExpandColumn&&(t.expandIconColumnIndex=-1),t}(t),i=o.expandIcon,a=o.expandedRowKeys,l=o.defaultExpandedRowKeys,c=o.defaultExpandAllRows,s=o.expandedRowRender,u=o.onExpand,d=o.onExpandedRowsChange,f=i||oT,p=o.childrenColumnName||"children",h=e.useMemo((function(){return s?"row":!!(t.expandable&&t.internalHooks===TR&&t.expandable.__PARENT_RENDER_ICON__||n.some((function(e){return e&&"object"===g(e)&&e[p]})))&&"nest"}),[!!s,n]),v=e.useState((function(){return l||(c?function(e,t,n){var r=[];return function e(o){(o||[]).forEach((function(o,i){r.push(t(o,i)),e(o[n])}))}(e),r}(n,r,p):[])})),y=m(v,2),x=y[0],C=y[1],w=e.useMemo((function(){return new Set(a||x||[])}),[a,x]),$=e.useCallback((function(e){var t,o=r(e,n.indexOf(e)),i=w.has(o);i?(w.delete(o),t=xi(w)):t=[].concat(xi(w),[o]),C(t),u&&u(!i,e),d&&d(t)}),[r,w,n,u,d]);return[o,h,w,f,p,$]}var IT=U()?window:null;function NT(t){var n=t.className,r=t.children;return e.createElement("div",{className:n},r)}function MT(e){var t=Mo(e).getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var PT=function(t,n){var r,o,i,a,l,c,s,u=t.scrollBodyRef,d=t.onScroll,f=t.offsetScroll,p=t.container,g=t.direction,h=HR(FR,"prefixCls"),b=(null===(r=u.current)||void 0===r?void 0:r.scrollWidth)||0,y=(null===(o=u.current)||void 0===o?void 0:o.clientWidth)||0,x=b&&y*(y/b),C=e.useRef(),$=(i={scrollLeft:0,isHiddenScrollBar:!0},a=e.useRef(i),l=m(e.useState({}),2)[1],c=e.useRef(null),s=e.useRef([]),e.useEffect((function(){return function(){c.current=null}}),[]),[a.current,function(e){s.current.push(e);var t=Promise.resolve();c.current=t,t.then((function(){if(c.current===t){var e=s.current,n=a.current;s.current=[],e.forEach((function(e){a.current=e(a.current)})),c.current=null,n!==a.current&&l({})}}))}]),S=m($,2),k=S[0],E=S[1],O=e.useRef({delta:0,x:0}),I=m(e.useState(!1),2),N=I[0],M=I[1],P=e.useRef(null);e.useEffect((function(){return function(){Ei.cancel(P.current)}}),[]);var j=function(){M(!1)},R=function(e){var t,n=(e||(null===(t=window)||void 0===t?void 0:t.event)).buttons;if(N&&0!==n){var r=O.current.x+e.pageX-O.current.x-O.current.delta,o="rtl"===g;r=Math.max(o?x-y:0,Math.min(o?0:y-x,r)),(!o||Math.abs(r)+Math.abs(x)<y)&&(d({scrollLeft:r/y*(b+2)}),O.current.x=e.pageX)}else N&&M(!1)},T=function(){Ei.cancel(P.current),P.current=Ei((function(){if(u.current){var e=MT(u.current).top,t=e+u.current.offsetHeight,n=p===window?document.documentElement.scrollTop+window.innerHeight:MT(p).top+p.clientHeight;t-am()<=n||e>=n-f?E((function(e){return Y(Y({},e),{},{isHiddenScrollBar:!0})})):E((function(e){return Y(Y({},e),{},{isHiddenScrollBar:!1})}))}}))},z=function(e){E((function(t){return Y(Y({},t),{},{scrollLeft:e/b*y||0})}))};return e.useImperativeHandle(n,(function(){return{setScrollLeft:z,checkScrollBarVisible:T}})),e.useEffect((function(){var e=VM(document.body,"mouseup",j,!1),t=VM(document.body,"mousemove",R,!1);return T(),function(){e.remove(),t.remove()}}),[x,N]),e.useEffect((function(){if(u.current){for(var e=[],t=Mo(u.current);t;)e.push(t),t=t.parentElement;return e.forEach((function(e){return e.addEventListener("scroll",T,!1)})),window.addEventListener("resize",T,!1),window.addEventListener("scroll",T,!1),p.addEventListener("scroll",T,!1),function(){e.forEach((function(e){return e.removeEventListener("scroll",T)})),window.removeEventListener("resize",T),window.removeEventListener("scroll",T),p.removeEventListener("scroll",T)}}}),[p]),e.useEffect((function(){k.isHiddenScrollBar||E((function(e){var t=u.current;return t?Y(Y({},e),{},{scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}):e}))}),[k.isHiddenScrollBar]),b<=y||!x||k.isHiddenScrollBar?null:e.createElement("div",{style:{height:am(),width:y,bottom:f},className:"".concat(h,"-sticky-scroll")},e.createElement("div",{onMouseDown:function(e){e.persist(),O.current.delta=e.pageX-k.scrollLeft,O.current.x=0,M(!0),e.preventDefault()},ref:C,className:w("".concat(h,"-sticky-scroll-bar"),v({},"".concat(h,"-sticky-scroll-bar-active"),N)),style:{width:"".concat(x,"px"),transform:"translate3d(".concat(k.scrollLeft,"px, 0, 0)")}}))};const jT=e.forwardRef(PT);var RT="rc-table",TT=[],zT={};function HT(){return"No Data"}function DT(t,n){var r=Y({rowKey:"key",prefixCls:RT,emptyText:HT},t),o=r.prefixCls,i=r.className,a=r.rowClassName,l=r.style,c=r.data,u=r.rowKey,d=r.scroll,f=r.tableLayout,p=r.direction,h=r.title,b=r.footer,y=r.summary,x=r.caption,C=r.id,$=r.showHeader,S=r.components,k=r.emptyText,E=r.onRow,O=r.onHeaderRow,I=r.onScroll,N=r.internalHooks,M=r.transformColumns,P=r.internalRefs,j=r.tailor,R=r.getContainerWidth,T=r.sticky,z=r.rowHoverable,H=void 0===z||z,D=c||TT,B=!!D.length,A=N===TR,L=e.useCallback((function(e,t){return dl(S,e)||t}),[S]),F=e.useMemo((function(){return"function"==typeof u?u:function(e){return e&&e[u]}}),[u]),_=L(["body"]),W=function(){var t=m(e.useState(-1),2),n=t[0],r=t[1],o=m(e.useState(-1),2),i=o[0],a=o[1];return[n,i,e.useCallback((function(e,t){r(e),a(t)}),[])]}(),K=m(W,3),V=K[0],q=K[1],X=K[2],G=m(OT(r,D,F),6),U=G[0],Q=G[1],Z=G[2],J=G[3],ee=G[4],te=G[5],ne=null==d?void 0:d.x,re=m(e.useState(0),2),oe=re[0],ie=re[1],ae=m(ET(Y(Y(Y({},r),U),{},{expandable:!!U.expandedRowRender,columnTitle:U.columnTitle,expandedKeys:Z,getRowKey:F,onTriggerExpand:te,expandIcon:J,expandIconColumnIndex:U.expandIconColumnIndex,direction:p,scrollWidth:A&&j&&"number"==typeof ne?ne:null,clientWidth:oe}),A?M:null),4),le=ae[0],ce=ae[1],se=ae[2],ue=ae[3],de=null!=se?se:ne,fe=e.useMemo((function(){return{columns:le,flattenColumns:ce}}),[le,ce]),pe=e.useRef(),me=e.useRef(),ge=e.useRef(),he=e.useRef();e.useImperativeHandle(n,(function(){return{nativeElement:pe.current,scrollTo:function(e){var t,n;if(ge.current instanceof HTMLElement){var r=e.index,o=e.top,i=e.key;if("number"!=typeof(n=o)||Number.isNaN(n)){var a,l=null!=i?i:F(D[r]);null===(a=ge.current.querySelector('[data-row-key="'.concat(l,'"]')))||void 0===a||a.scrollIntoView()}else{var c;null===(c=ge.current)||void 0===c||c.scrollTo({top:o})}}else null!==(t=ge.current)&&void 0!==t&&t.scrollTo&&ge.current.scrollTo(e)}}}));var ve,be,ye,xe=e.useRef(),Ce=m(e.useState(!1),2),we=Ce[0],$e=Ce[1],Se=m(e.useState(!1),2),ke=Se[0],Ee=Se[1],Oe=m(e.useState(new Map),2),Ie=Oe[0],Ne=Oe[1],Me=WR(ce).map((function(e){return Ie.get(e)})),Pe=e.useMemo((function(){return Me}),[Me.join("_")]),je=function(t,n,r){return e.useMemo((function(){var e=n.length,o=function(e,r,o){for(var i=[],a=0,l=e;l!==r;l+=o)i.push(a),n[l].fixed&&(a+=t[l]||0);return i},i=o(0,e,1),a=o(e-1,-1,-1).reverse();return"rtl"===r?{left:a,right:i}:{left:i,right:a}}),[t,n,r])}(Pe,ce,p),Re=d&&KR(d.y),Te=d&&KR(de)||Boolean(U.fixed),ze=Te&&ce.some((function(e){return e.fixed})),He=e.useRef(),De=function(t,n){var r="object"===g(t)?t:{},o=r.offsetHeader,i=void 0===o?0:o,a=r.offsetSummary,l=void 0===a?0:a,c=r.offsetScroll,s=void 0===c?0:c,u=r.getContainer,d=(void 0===u?function(){return IT}:u)()||IT,f=!!t;return e.useMemo((function(){return{isSticky:f,stickyClassName:f?"".concat(n,"-sticky-holder"):"",offsetHeader:i,offsetSummary:l,offsetScroll:s,container:d}}),[f,s,i,l,n,d])}(T,o),Be=De.isSticky,Ae=De.offsetHeader,Le=De.offsetSummary,Fe=De.offsetScroll,_e=De.stickyClassName,We=De.container,Ke=e.useMemo((function(){return null==y?void 0:y(D)}),[y,D]),Ve=(Re||Be)&&e.isValidElement(Ke)&&Ke.type===QR&&Ke.props.fixed;Re&&(be={overflowY:B?"scroll":"auto",maxHeight:d.y}),Te&&(ve={overflowX:"auto"},Re||(be={overflowY:"hidden"}),ye={width:!0===de?"auto":de,minWidth:"100%"});var qe=e.useCallback((function(e,t){Ne((function(n){if(n.get(e)!==t){var r=new Map(n);return r.set(e,t),r}return n}))}),[]),Xe=m(function(t){var n=e.useRef(t||null),r=e.useRef();function o(){window.clearTimeout(r.current)}return e.useEffect((function(){return o}),[]),[function(e){n.current=e,o(),r.current=window.setTimeout((function(){n.current=null,r.current=void 0}),100)},function(){return n.current}]}(null),2),Ge=Xe[0],Ye=Xe[1];function Ue(e,t){t&&("function"==typeof t?t(e):t.scrollLeft!==e&&(t.scrollLeft=e,t.scrollLeft!==e&&setTimeout((function(){t.scrollLeft=e}),0)))}var Qe=mc((function(e){var t,n=e.currentTarget,r=e.scrollLeft,o="rtl"===p,i="number"==typeof r?r:n.scrollLeft,a=n||zT;Ye()&&Ye()!==a||(Ge(a),Ue(i,me.current),Ue(i,ge.current),Ue(i,xe.current),Ue(i,null===(t=He.current)||void 0===t?void 0:t.setScrollLeft));var l=n||me.current;if(l){var c=A&&j&&"number"==typeof de?de:l.scrollWidth,s=l.clientWidth;if(c===s)return $e(!1),void Ee(!1);o?($e(-i<c-s),Ee(-i>0)):($e(i>0),Ee(i<c-s))}})),Ze=mc((function(e){Qe(e),null==I||I(e)})),Je=function(){var e;Te&&ge.current?Qe({currentTarget:Mo(ge.current),scrollLeft:null===(e=ge.current)||void 0===e?void 0:e.scrollLeft}):($e(!1),Ee(!1))},et=e.useRef(!1);e.useEffect((function(){et.current&&Je()}),[Te,c,le.length]),e.useEffect((function(){et.current=!0}),[]);var tt=m(e.useState(0),2),nt=tt[0],rt=tt[1],ot=m(e.useState(!0),2),it=ot[0],at=ot[1];Zi((function(){j&&A||(ge.current instanceof Element?rt(lm(ge.current).width):rt(lm(he.current).width)),at(Qg("position","sticky"))}),[]),e.useEffect((function(){A&&P&&(P.body.current=ge.current)}));var lt,ct=e.useCallback((function(t){return e.createElement(e.Fragment,null,e.createElement(yT,t),"top"===Ve&&e.createElement(ZR,t,Ke))}),[Ve,Ke]),st=e.useCallback((function(t){return e.createElement(ZR,t,Ke)}),[Ke]),ut=L(["table"],"table"),dt=e.useMemo((function(){return f||(ze?"max-content"===de?"auto":"fixed":Re||Be||ce.some((function(e){return e.ellipsis}))?"fixed":"auto")}),[Re,ze,ce,f,Be]),ft={colWidths:Pe,columCount:ce.length,stickyOffsets:je,onHeaderRow:O,fixHeader:Re,scroll:d},pt=e.useMemo((function(){return B?null:"function"==typeof k?k():k}),[B,k]),mt=e.createElement(uT,{data:D,measureColumnWidth:Re||Te||Be}),gt=e.createElement(mT,{colWidths:ce.map((function(e){return e.width})),columns:ce}),ht=null!=x?e.createElement("caption",{className:"".concat(o,"-caption")},x):void 0,vt=au(r,{data:!0}),bt=au(r,{aria:!0});if(Re||Be){var yt;"function"==typeof _?(yt=_(D,{scrollbarSize:nt,ref:ge,onScroll:Qe}),ft.colWidths=ce.map((function(e,t){var n=e.width,r=t===ce.length-1?n-nt:n;return"number"!=typeof r||Number.isNaN(r)?0:r}))):yt=e.createElement("div",{style:Y(Y({},ve),be),onScroll:Ze,ref:ge,className:w("".concat(o,"-body"))},e.createElement(ut,s({style:Y(Y({},ye),{},{tableLayout:dt})},bt),ht,gt,mt,!Ve&&Ke&&e.createElement(ZR,{stickyOffsets:je,flattenColumns:ce},Ke)));var xt=Y(Y(Y({noData:!D.length,maxContentScroll:Te&&"max-content"===de},ft),fe),{},{direction:p,stickyClassName:_e,onScroll:Qe});lt=e.createElement(e.Fragment,null,!1!==$&&e.createElement(vT,s({},xt,{stickyTopOffset:Ae,className:"".concat(o,"-header"),ref:me}),ct),yt,Ve&&"top"!==Ve&&e.createElement(vT,s({},xt,{stickyBottomOffset:Le,className:"".concat(o,"-summary"),ref:xe}),st),Be&&ge.current&&ge.current instanceof Element&&e.createElement(jT,{ref:He,offsetScroll:Fe,scrollBodyRef:ge,onScroll:Qe,container:We,direction:p}))}else lt=e.createElement("div",{style:Y(Y({},ve),be),className:w("".concat(o,"-content")),onScroll:Qe,ref:ge},e.createElement(ut,s({style:Y(Y({},ye),{},{tableLayout:dt})},bt),ht,gt,!1!==$&&e.createElement(yT,s({},ft,fe)),mt,Ke&&e.createElement(ZR,{stickyOffsets:je,flattenColumns:ce},Ke)));var Ct=e.createElement("div",s({className:w(o,i,v(v(v(v(v(v(v(v(v(v({},"".concat(o,"-rtl"),"rtl"===p),"".concat(o,"-ping-left"),we),"".concat(o,"-ping-right"),ke),"".concat(o,"-layout-fixed"),"fixed"===f),"".concat(o,"-fixed-header"),Re),"".concat(o,"-fixed-column"),ze),"".concat(o,"-fixed-column-gapped"),ze&&ue),"".concat(o,"-scroll-horizontal"),Te),"".concat(o,"-has-fix-left"),ce[0]&&ce[0].fixed),"".concat(o,"-has-fix-right"),ce[ce.length-1]&&"right"===ce[ce.length-1].fixed)),style:l,id:C,ref:pe},vt),h&&e.createElement(NT,{className:"".concat(o,"-title")},h(D)),e.createElement("div",{ref:he,className:"".concat(o,"-container")},lt),b&&e.createElement(NT,{className:"".concat(o,"-footer")},b(D)));Te&&(Ct=e.createElement(bi,{onResize:function(e){var t,n=e.width;null===(t=He.current)||void 0===t||t.checkScrollBarVisible();var r=pe.current?pe.current.offsetWidth:n;A&&R&&pe.current&&(r=R(pe.current,r)||r),r!==oe&&(Je(),ie(r))}},Ct));var wt=function(e,t,n){var r=e.map((function(r,o){return GR(o,o,e,t,n)}));return ho((function(){return r}),[r],(function(e,t){return!Ii(e,t)}))}(ce,je,p),$t=e.useMemo((function(){return{scrollX:de,prefixCls:o,getComponent:L,scrollbarSize:nt,direction:p,fixedInfoList:wt,isSticky:Be,supportSticky:it,componentWidth:oe,fixHeader:Re,fixColumn:ze,horizonScroll:Te,tableLayout:dt,rowClassName:a,expandedRowClassName:U.expandedRowClassName,expandIcon:J,expandableType:Q,expandRowByClick:U.expandRowByClick,expandedRowRender:U.expandedRowRender,onTriggerExpand:te,expandIconColumnIndex:U.expandIconColumnIndex,indentSize:U.indentSize,allColumnsFixedLeft:ce.every((function(e){return"left"===e.fixed})),emptyNode:pt,columns:le,flattenColumns:ce,onColumnResize:qe,hoverStartRow:V,hoverEndRow:q,onHover:X,rowExpandable:U.rowExpandable,onRow:E,getRowKey:F,expandedKeys:Z,childrenColumnName:ee,rowHoverable:H}}),[de,o,L,nt,p,wt,Be,it,oe,Re,ze,Te,dt,a,U.expandedRowClassName,J,Q,U.expandRowByClick,U.expandedRowRender,te,U.expandIconColumnIndex,U.indentSize,pt,le,ce,qe,V,q,X,U.rowExpandable,E,F,Z,ee,H]);return e.createElement(FR.Provider,{value:$t},Ct)}var BT=e.forwardRef(DT);function AT(e){return BR(BT,e)}var LT=AT();LT.EXPAND_COLUMN=RR,LT.INTERNAL_HOOKS=TR,LT.Column=function(e){return null},LT.ColumnGroup=function(e){return null},LT.Summary=JR;var FT=zR(null),_T=zR(null);function WT(t){var n=t.rowInfo,r=t.column,o=t.colIndex,i=t.indent,a=t.index,l=t.component,c=t.renderIndex,u=t.record,d=t.style,f=t.className,p=t.inverse,m=t.getHeight,g=r.render,h=r.dataIndex,v=r.className,b=r.width,y=HR(_T,["columnsOffset"]).columnsOffset,x=aT(n,r,o,i,a),C=x.key,$=x.fixedInfo,S=x.appendCellNode,k=x.additionalCellProps,E=k.style,O=k.colSpan,I=void 0===O?1:O,N=k.rowSpan,M=void 0===N?1:N,P=function(e,t,n){return n[e+(t||1)]-(n[e]||0)}(o-1,I,y),j=I>1?b-P:0,R=Y(Y(Y({},E),d),{},{flex:"0 0 ".concat(P,"px"),width:"".concat(P,"px"),marginRight:j,pointerEvents:"auto"}),T=e.useMemo((function(){return p?M<=1:0===I||0===M||M>1}),[M,I,p]);T?R.visibility="hidden":p&&(R.height=null==m?void 0:m(M));var z=T?function(){return null}:g,H={};return 0!==M&&0!==I||(H.rowSpan=1,H.colSpan=1),e.createElement(XR,s({className:w(v,f),ellipsis:r.ellipsis,align:r.align,scope:r.rowScope,component:l,prefixCls:n.prefixCls,key:C,record:u,index:a,renderIndex:c,dataIndex:h,render:z,shouldCellUpdate:r.shouldCellUpdate},$,{appendNode:S,additionalProps:Y(Y({},k),{},{style:R},H)}))}var KT=["data","index","className","rowKey","style","extra","getHeight"],VT=AR(e.forwardRef((function(t,n){var r,o=t.data,i=t.index,a=t.className,l=t.rowKey,c=t.style,u=t.extra,d=t.getHeight,f=b(t,KT),p=o.record,m=o.indent,g=o.index,h=HR(FR,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),y=h.scrollX,x=h.flattenColumns,C=h.prefixCls,$=h.fixColumn,S=h.componentWidth,k=HR(FT,["getComponent"]).getComponent,E=nT(p,l,i,m),O=k(["body","row"],"div"),I=k(["body","cell"],"div"),N=E.rowSupportExpand,M=E.expanded,P=E.rowProps,j=E.expandedRowRender,R=E.expandedRowClassName;if(N&&M){var T=j(p,i,m+1,M),z=iT(R,p,i,m),H={};$&&(H={style:v({},"--virtual-width","".concat(S,"px"))});var D="".concat(C,"-expanded-row-cell");r=e.createElement(O,{className:w("".concat(C,"-expanded-row"),"".concat(C,"-expanded-row-level-").concat(m+1),z)},e.createElement(XR,{component:I,prefixCls:C,className:w(D,v({},"".concat(D,"-fixed"),$)),additionalProps:H},T))}var B=Y(Y({},c),{},{width:y});u&&(B.position="absolute",B.pointerEvents="none");var A=e.createElement(O,s({},P,f,{"data-row-key":l,ref:N?null:n,className:w(a,"".concat(C,"-row"),null==P?void 0:P.className,v({},"".concat(C,"-row-extra"),u)),style:Y(Y({},B),null==P?void 0:P.style)}),x.map((function(t,n){return e.createElement(WT,{key:n,component:I,rowInfo:E,column:t,colIndex:n,indent:m,index:i,renderIndex:g,record:p,inverse:u,getHeight:d})})));return N?e.createElement("div",{ref:n},A,r):A}))),qT=AR(e.forwardRef((function(t,n){var r=t.data,o=t.onScroll,i=HR(FR,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),a=i.flattenColumns,l=i.onColumnResize,c=i.getRowKey,s=i.expandedKeys,u=i.prefixCls,d=i.childrenColumnName,f=i.scrollX,p=i.direction,h=HR(FT),v=h.sticky,b=h.scrollY,y=h.listItemHeight,x=h.getComponent,C=h.onScroll,w=e.useRef(),$=tT(r,d,s,c),S=e.useMemo((function(){var e=0;return a.map((function(t){var n=t.width;return[t.key,n,e+=n]}))}),[a]),k=e.useMemo((function(){return S.map((function(e){return e[2]}))}),[S]);e.useEffect((function(){S.forEach((function(e){var t=m(e,2),n=t[0],r=t[1];l(n,r)}))}),[S]),e.useImperativeHandle(n,(function(){var e,t={scrollTo:function(e){var t;null===(t=w.current)||void 0===t||t.scrollTo(e)},nativeElement:null===(e=w.current)||void 0===e?void 0:e.nativeElement};return Object.defineProperty(t,"scrollLeft",{get:function(){var e;return(null===(e=w.current)||void 0===e?void 0:e.getScrollInfo().x)||0},set:function(e){var t;null===(t=w.current)||void 0===t||t.scrollTo({left:e})}}),t}));var E=function(e,t){var n,r=null===(n=$[t])||void 0===n?void 0:n.record,o=e.onCell;if(o){var i,a=o(r,t);return null!==(i=null==a?void 0:a.rowSpan)&&void 0!==i?i:1}return 1},O=e.useMemo((function(){return{columnsOffset:k}}),[k]),I="".concat(u,"-tbody"),N=x(["body","wrapper"]),M={};return v&&(M.position="sticky",M.bottom=0,"object"===g(v)&&v.offsetScroll&&(M.bottom=v.offsetScroll)),e.createElement(_T.Provider,{value:O},e.createElement(Qb,{fullHeight:!1,ref:w,prefixCls:"".concat(I,"-virtual"),styles:{horizontalScrollBar:M},className:I,height:b,itemHeight:y||24,data:$,itemKey:function(e){return c(e.record)},component:N,scrollWidth:f,direction:p,onVirtualScroll:function(e){var t,n=e.x;o({currentTarget:null===(t=w.current)||void 0===t?void 0:t.nativeElement,scrollLeft:n})},onScroll:C,extraRender:function(t){var n=t.start,r=t.end,o=t.getSize,i=t.offsetY;if(r<0)return null;for(var l=a.filter((function(e){return 0===E(e,n)})),s=n,u=function(e){if(!(l=l.filter((function(t){return 0===E(t,e)}))).length)return s=e,1},d=n;d>=0&&!u(d);d-=1);for(var f=a.filter((function(e){return 1!==E(e,r)})),p=r,m=function(e){if(!(f=f.filter((function(t){return 1!==E(t,e)}))).length)return p=Math.max(e-1,r),1},g=r;g<$.length&&!m(g);g+=1);for(var h=[],v=function(e){if(!$[e])return 1;a.some((function(t){return E(t,e)>1}))&&h.push(e)},b=s;b<=p;b+=1)v(b);return h.map((function(t){var n=$[t],r=c(n.record,t),a=o(r);return e.createElement(VT,{key:t,data:n,rowKey:r,index:t,style:{top:-i+a.top},extra:!0,getHeight:function(e){var n=t+e-1,i=c($[n].record,n),a=o(r,i);return a.bottom-a.top}})}))}},(function(t,n,r){var o=c(t.record,n);return e.createElement(VT,{data:t,rowKey:o,index:n,style:r.style})})))}))),XT=function(t,n){var r=n.ref,o=n.onScroll;return e.createElement(qT,{ref:r,data:t,onScroll:o})};function GT(t,n){var r=t.data,o=t.columns,i=t.scroll,a=t.sticky,l=t.prefixCls,c=void 0===l?RT:l,u=t.className,d=t.listItemHeight,f=t.components,p=t.onScroll,m=i||{},g=m.x,h=m.y;"number"!=typeof g&&(g=1),"number"!=typeof h&&(h=500);var v=mc((function(e,t){return dl(f,e)||t})),b=mc(p),y=e.useMemo((function(){return{sticky:a,scrollY:h,listItemHeight:d,getComponent:v,onScroll:b}}),[a,h,d,v,b]);return e.createElement(FT.Provider,{value:y},e.createElement(LT,s({},t,{className:w(u,"".concat(c,"-virtual")),scroll:Y(Y({},i),{},{x:g}),components:Y(Y({},f),{},{body:null!=r&&r.length?XT:void 0}),columns:o,internalHooks:TR,tailor:!0,ref:n})))}var YT=e.forwardRef(GT);function UT(e){return BR(YT,e)}UT();const QT=e=>null,ZT=e=>null;var JT=e.createContext(null),ez=e.createContext({}),tz=function(t){for(var n=t.prefixCls,r=t.level,o=t.isStart,i=t.isEnd,a="".concat(n,"-indent-unit"),l=[],c=0;c<r;c+=1)l.push(e.createElement("span",{key:c,className:w(a,v(v({},"".concat(a,"-start"),o[c]),"".concat(a,"-end"),i[c]))}));return e.createElement("span",{"aria-hidden":"true",className:"".concat(n,"-indent")},l)};const nz=e.memo(tz);var rz=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],oz="open",iz="close",az=function(e){var t,r,o,i=e.eventKey,a=e.className,l=e.style,c=e.dragOver,u=e.dragOverGapTop,d=e.dragOverGapBottom,f=e.isLeaf,p=e.isStart,g=e.isEnd,h=e.expanded,y=e.selected,x=e.checked,C=e.halfChecked,$=e.loading,S=e.domRef,k=e.active,E=e.data,O=e.onMouseMove,I=e.selectable,N=b(e,rz),M=n.useContext(JT),P=n.useContext(ez),j=n.useRef(null),R=m(n.useState(!1),2),T=R[0],z=R[1],H=!!(M.disabled||e.disabled||null!==(t=P.nodeDisabled)&&void 0!==t&&t.call(P,E)),D=n.useMemo((function(){return!(!M.checkable||!1===e.checkable)&&M.checkable}),[M.checkable,e.checkable]),B=function(t){H||D&&!e.disableCheckbox&&M.onNodeCheck(t,qO(e),!x)},A=n.useMemo((function(){return"boolean"==typeof I?I:M.selectable}),[I,M.selectable]),L=function(t){M.onNodeClick(t,qO(e)),A?function(t){H||M.onNodeSelect(t,qO(e))}(t):B(t)},F=function(t){M.onNodeDoubleClick(t,qO(e))},_=function(t){M.onNodeMouseEnter(t,qO(e))},W=function(t){M.onNodeMouseLeave(t,qO(e))},K=function(t){M.onNodeContextMenu(t,qO(e))},V=n.useMemo((function(){return!(!M.draggable||M.draggable.nodeDraggable&&!M.draggable.nodeDraggable(E))}),[M.draggable,E]),q=function(t){$||M.onNodeExpand(t,qO(e))},X=n.useMemo((function(){var e=(DO(M.keyEntities,i)||{}).children;return Boolean((e||[]).length)}),[M.keyEntities,i]),G=n.useMemo((function(){return!1!==f&&(f||!M.loadData&&!X||M.loadData&&e.loaded&&!X)}),[f,M.loadData,X,e.loaded]);n.useEffect((function(){$||"function"!=typeof M.loadData||!h||G||e.loaded||M.onNodeLoad(qO(e))}),[$,M.loadData,M.onNodeLoad,h,G,e]);var U=n.useMemo((function(){var e;return null!==(e=M.draggable)&&void 0!==e&&e.icon?n.createElement("span",{className:"".concat(M.prefixCls,"-draggable-icon")},M.draggable.icon):null}),[M.draggable]),Q=function(t){var n=e.switcherIcon||M.switcherIcon;return"function"==typeof n?n(Y(Y({},e),{},{isLeaf:t})):n},Z=n.useMemo((function(){if(!D)return null;var t="boolean"!=typeof D?D:null;return n.createElement("span",{className:w("".concat(M.prefixCls,"-checkbox"),v(v(v({},"".concat(M.prefixCls,"-checkbox-checked"),x),"".concat(M.prefixCls,"-checkbox-indeterminate"),!x&&C),"".concat(M.prefixCls,"-checkbox-disabled"),H||e.disableCheckbox)),onClick:B,role:"checkbox","aria-checked":C?"mixed":x,"aria-disabled":H||e.disableCheckbox,"aria-label":"Select ".concat("string"==typeof e.title?e.title:"tree node")},t)}),[D,x,C,H,e.disableCheckbox,e.title]),J=n.useMemo((function(){return G?null:h?oz:iz}),[G,h]),ee=n.useMemo((function(){return n.createElement("span",{className:w("".concat(M.prefixCls,"-iconEle"),"".concat(M.prefixCls,"-icon__").concat(J||"docu"),v({},"".concat(M.prefixCls,"-icon_loading"),$))})}),[M.prefixCls,J,$]),te=n.useMemo((function(){var t=Boolean(M.draggable);return!e.disabled&&t&&M.dragOverNodeKey===i?M.dropIndicatorRender({dropPosition:M.dropPosition,dropLevelOffset:M.dropLevelOffset,indent:M.indent,prefixCls:M.prefixCls,direction:M.direction}):null}),[M.dropPosition,M.dropLevelOffset,M.indent,M.prefixCls,M.direction,M.draggable,M.dragOverNodeKey,M.dropIndicatorRender]),ne=n.useMemo((function(){var t,r,o=e.title,i=void 0===o?"---":o,a="".concat(M.prefixCls,"-node-content-wrapper");if(M.showIcon){var l=e.icon||M.icon;t=l?n.createElement("span",{className:w("".concat(M.prefixCls,"-iconEle"),"".concat(M.prefixCls,"-icon__customize"))},"function"==typeof l?l(e):l):ee}else M.loadData&&$&&(t=ee);return r="function"==typeof i?i(E):M.titleRender?M.titleRender(E):i,n.createElement("span",{ref:j,title:"string"==typeof i?i:"",className:w(a,"".concat(a,"-").concat(J||"normal"),v({},"".concat(M.prefixCls,"-node-selected"),!H&&(y||T))),onMouseEnter:_,onMouseLeave:W,onContextMenu:K,onClick:L,onDoubleClick:F},t,n.createElement("span",{className:"".concat(M.prefixCls,"-title")},r),te)}),[M.prefixCls,M.showIcon,e,M.icon,ee,M.titleRender,E,J,_,W,K,L,F]),re=au(N,{aria:!0,data:!0}),oe=(DO(M.keyEntities,i)||{}).level,ie=g[g.length-1],ae=!H&&V,le=M.draggingNodeKey===i,ce=void 0!==I?{"aria-selected":!!I}:void 0;return n.createElement("div",s({ref:S,role:"treeitem","aria-expanded":f?void 0:h,className:w(a,"".concat(M.prefixCls,"-treenode"),(o={},v(v(v(v(v(v(v(v(v(v(o,"".concat(M.prefixCls,"-treenode-disabled"),H),"".concat(M.prefixCls,"-treenode-switcher-").concat(h?"open":"close"),!f),"".concat(M.prefixCls,"-treenode-checkbox-checked"),x),"".concat(M.prefixCls,"-treenode-checkbox-indeterminate"),C),"".concat(M.prefixCls,"-treenode-selected"),y),"".concat(M.prefixCls,"-treenode-loading"),$),"".concat(M.prefixCls,"-treenode-active"),k),"".concat(M.prefixCls,"-treenode-leaf-last"),ie),"".concat(M.prefixCls,"-treenode-draggable"),V),"dragging",le),v(v(v(v(v(v(v(o,"drop-target",M.dropTargetKey===i),"drop-container",M.dropContainerKey===i),"drag-over",!H&&c),"drag-over-gap-top",!H&&u),"drag-over-gap-bottom",!H&&d),"filter-node",null===(r=M.filterTreeNode)||void 0===r?void 0:r.call(M,qO(e))),"".concat(M.prefixCls,"-treenode-leaf"),G))),style:l,draggable:ae,onDragStart:ae?function(t){t.stopPropagation(),z(!0),M.onNodeDragStart(t,e);try{t.dataTransfer.setData("text/plain","")}catch(n){}}:void 0,onDragEnter:V?function(t){t.preventDefault(),t.stopPropagation(),M.onNodeDragEnter(t,e)}:void 0,onDragOver:V?function(t){t.preventDefault(),t.stopPropagation(),M.onNodeDragOver(t,e)}:void 0,onDragLeave:V?function(t){t.stopPropagation(),M.onNodeDragLeave(t,e)}:void 0,onDrop:V?function(t){t.preventDefault(),t.stopPropagation(),z(!1),M.onNodeDrop(t,e)}:void 0,onDragEnd:V?function(t){t.stopPropagation(),z(!1),M.onNodeDragEnd(t,e)}:void 0,onMouseMove:O},ce,re),n.createElement(nz,{prefixCls:M.prefixCls,level:oe,isStart:p,isEnd:g}),U,function(){if(G){var e=Q(!0);return!1!==e?n.createElement("span",{className:w("".concat(M.prefixCls,"-switcher"),"".concat(M.prefixCls,"-switcher-noop"))},e):null}var t=Q(!1);return!1!==t?n.createElement("span",{onClick:q,className:w("".concat(M.prefixCls,"-switcher"),"".concat(M.prefixCls,"-switcher_").concat(h?oz:iz))},t):null}(),Z,ne)};function lz(e,t){if(!e)return[];var n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function cz(e,t){var n=(e||[]).slice();return-1===n.indexOf(t)&&n.push(t),n}function sz(e){return e.split("-")}function uz(e,t){var n=[];return function e(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(t){var r=t.key,o=t.children;n.push(r),e(o)}))}(DO(t,e).children),n}function dz(e){if(e.parent){var t=sz(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function fz(e,t,n,r,o,i,a,l,c,s){var u,d=e.clientX,f=e.clientY,p=e.target.getBoundingClientRect(),m=p.top,g=p.height,h=(("rtl"===s?-1:1)*(((null==o?void 0:o.x)||0)-d)-12)/r,v=c.filter((function(e){var t;return null===(t=l[e])||void 0===t||null===(t=t.children)||void 0===t?void 0:t.length})),b=DO(l,n.eventKey);if(f<m+g/2){var y=a.findIndex((function(e){return e.key===b.key})),x=a[y<=0?0:y-1].key;b=DO(l,x)}var C=b.key,w=b,$=b.key,S=0,k=0;if(!v.includes(C))for(var E=0;E<h&&dz(b);E+=1)b=b.parent,k+=1;var O,I=t.data,N=b.node,M=!0;return O=sz(b.pos),0===Number(O[O.length-1])&&0===b.level&&f<m+g/2&&i({dragNode:I,dropNode:N,dropPosition:-1})&&b.key===n.eventKey?S=-1:(w.children||[]).length&&v.includes($)?i({dragNode:I,dropNode:N,dropPosition:0})?S=0:M=!1:0===k?h>-1.5?i({dragNode:I,dropNode:N,dropPosition:1})?S=1:M=!1:i({dragNode:I,dropNode:N,dropPosition:0})?S=0:i({dragNode:I,dropNode:N,dropPosition:1})?S=1:M=!1:i({dragNode:I,dropNode:N,dropPosition:1})?S=1:M=!1,{dropPosition:S,dropLevelOffset:k,dropTargetKey:b.key,dropTargetPos:b.pos,dragOverNodeKey:$,dropContainerKey:0===S?null:(null===(u=b.parent)||void 0===u?void 0:u.key)||null,dropAllowed:M}}function pz(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function mz(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==g(e))return me(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function gz(e,t){var n=new Set;function r(e){if(!n.has(e)){var o=DO(t,e);if(o){n.add(e);var i=o.parent;o.node.disabled||i&&r(i.key)}}}return(e||[]).forEach((function(e){r(e)})),xi(n)}az.isTreeNode=1;const hz={},vz="SELECT_ALL",bz="SELECT_INVERT",yz="SELECT_NONE",xz=[],Cz=(e,t)=>{let n=[];return(t||[]).forEach((t=>{n.push(t),t&&"object"==typeof t&&e in t&&(n=[].concat(xi(n),xi(Cz(e,t[e]))))})),n},wz=(t,n)=>{const{preserveSelectedRowKeys:r,selectedRowKeys:o,defaultSelectedRowKeys:i,getCheckboxProps:a,onChange:l,onSelect:c,onSelectAll:s,onSelectInvert:u,onSelectNone:d,onSelectMultiple:f,columnWidth:p,type:m,selections:g,fixed:h,renderCell:v,hideSelectAll:b,checkStrictly:y=!0}=n||{},{prefixCls:x,data:C,pageData:$,getRecordByKey:S,getRowKey:k,expandType:E,childrenColumnName:O,locale:I,getPopupContainer:N}=t,M=yl(),[P,j]=function(t){const[n,r]=e.useState(null);return[e.useCallback(((e,o,i)=>{const a=null!=n?n:e,l=Math.min(a||0,e),c=Math.max(a||0,e),s=o.slice(l,c+1).map((e=>t(e))),u=s.some((e=>!i.has(e))),d=[];return s.forEach((e=>{u?(i.has(e)||d.push(e),i.add(e)):(i.delete(e),d.push(e))})),r(u?c:null),d}),[n]),e=>{r(e)}]}((e=>e)),[R,T]=vc(o||i||xz,{value:o}),z=e.useRef(new Map),H=e.useCallback((e=>{if(r){const t=new Map;e.forEach((e=>{let n=S(e);!n&&z.current.has(e)&&(n=z.current.get(e)),t.set(e,n)})),z.current=t}}),[S,r]);e.useEffect((()=>{H(R)}),[R]);const D=e.useMemo((()=>Cz(O,$)),[O,$]),{keyEntities:B}=e.useMemo((()=>{if(y)return{keyEntities:null};let e=C;if(r){const t=new Set(D.map(((e,t)=>k(e,t)))),n=Array.from(z.current).reduce(((e,[n,r])=>t.has(n)?e:e.concat(r)),[]);e=[].concat(xi(e),xi(n))}return KO(e,{externalGetKey:k,childrenPropName:O})}),[C,k,y,O,r,D]),A=e.useMemo((()=>{const e=new Map;return D.forEach(((t,n)=>{const r=k(t,n),o=(a?a(t):null)||{};e.set(r,o)})),e}),[D,k,a]),L=e.useCallback((e=>{const t=k(e);let n;return n=A.has(t)?A.get(k(e)):a?a(e):void 0,!!(null==n?void 0:n.disabled)}),[A,k]),[F,_]=e.useMemo((()=>{if(y)return[R||[],[]];const{checkedKeys:e,halfCheckedKeys:t}=YO(R,!0,B,L);return[e||[],t]}),[R,y,B,L]),W=e.useMemo((()=>{const e="radio"===m?F.slice(0,1):F;return new Set(e)}),[F,m]),K=e.useMemo((()=>"radio"===m?new Set:new Set(_)),[_,m]);e.useEffect((()=>{n||T(xz)}),[!!n]);const V=e.useCallback(((e,t)=>{let n,o;H(e),r?(n=e,o=e.map((e=>z.current.get(e)))):(n=[],o=[],e.forEach((e=>{const t=S(e);void 0!==t&&(n.push(e),o.push(t))}))),T(n),null==l||l(n,o,{type:t})}),[T,S,l,r]),q=e.useCallback(((e,t,n,r)=>{if(c){const o=n.map((e=>S(e)));c(S(e),t,o,r)}V(n,"single")}),[c,S,V]),X=e.useMemo((()=>{if(!g||b)return null;return(!0===g?[vz,bz,yz]:g).map((e=>e===vz?{key:"all",text:I.selectionAll,onSelect(){V(C.map(((e,t)=>k(e,t))).filter((e=>{const t=A.get(e);return!(null==t?void 0:t.disabled)||W.has(e)})),"all")}}:e===bz?{key:"invert",text:I.selectInvert,onSelect(){const e=new Set(W);$.forEach(((t,n)=>{const r=k(t,n),o=A.get(r);(null==o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))}));const t=Array.from(e);u&&(M.deprecated(!1,"onSelectInvert","onChange"),u(t)),V(t,"invert")}}:e===yz?{key:"none",text:I.selectNone,onSelect(){null==d||d(),V(Array.from(W).filter((e=>{const t=A.get(e);return null==t?void 0:t.disabled})),"none")}}:e)).map((e=>Object.assign(Object.assign({},e),{onSelect:(...t)=>{var n,r;null===(r=e.onSelect)||void 0===r||(n=r).call.apply(n,[e].concat(t)),j(null)}})))}),[g,W,$,k,u,V]),G=e.useCallback((t=>{var r;if(!n)return t.filter((e=>e!==hz));let o=xi(t);const i=new Set(W),a=D.map(k).filter((e=>!A.get(e).disabled)),l=a.every((e=>i.has(e))),c=a.some((e=>i.has(e))),u=()=>{const e=[];l?a.forEach((t=>{i.delete(t),e.push(t)})):a.forEach((t=>{i.has(t)||(i.add(t),e.push(t))}));const t=Array.from(i);null==s||s(!l,t.map((e=>S(e))),e.map((e=>S(e)))),V(t,"all"),j(null)};let d,C,$;if("radio"!==m){let t;if(X){const n={getPopupContainer:N,items:X.map(((e,t)=>{const{key:n,text:r,onSelect:o}=e;return{key:null!=n?n:t,onClick:()=>{null==o||o(a)},label:r}}))};t=e.createElement("div",{className:`${x}-selection-extra`},e.createElement(QN,{menu:n,getPopupContainer:N},e.createElement("span",null,e.createElement(Mt,null))))}const n=D.map(((e,t)=>{const n=k(e,t),r=A.get(n)||{};return Object.assign({checked:i.has(n)},r)})).filter((({disabled:e})=>e)),r=!!n.length&&n.length===D.length,o=r&&n.every((({checked:e})=>e)),s=r&&n.some((({checked:e})=>e));C=e.createElement(aI,{checked:r?o:!!D.length&&l,indeterminate:r?!o&&s:!l&&c,onChange:u,disabled:0===D.length||r,"aria-label":t?"Custom selection":"Select all",skipGroup:!0}),d=!b&&e.createElement("div",{className:`${x}-selection`},C,t)}$="radio"===m?(t,n,r)=>{const o=k(n,r),a=i.has(o),l=A.get(o);return{node:e.createElement(Gk,Object.assign({},l,{checked:a,onClick:e=>{var t;e.stopPropagation(),null===(t=null==l?void 0:l.onClick)||void 0===t||t.call(l,e)},onChange:e=>{var t;i.has(o)||q(o,!0,[o],e.nativeEvent),null===(t=null==l?void 0:l.onChange)||void 0===t||t.call(l,e)}})),checked:a}}:(t,n,r)=>{var o;const l=k(n,r),c=i.has(l),s=K.has(l),u=A.get(l);let d;return d="nest"===E?s:null!==(o=null==u?void 0:u.indeterminate)&&void 0!==o?o:s,{node:e.createElement(aI,Object.assign({},u,{indeterminate:d,checked:c,skipGroup:!0,onClick:e=>{var t;e.stopPropagation(),null===(t=null==u?void 0:u.onClick)||void 0===t||t.call(u,e)},onChange:e=>{var t;const{nativeEvent:n}=e,{shiftKey:r}=n,o=a.findIndex((e=>e===l)),s=F.some((e=>a.includes(e)));if(r&&y&&s){const e=P(o,a,i),t=Array.from(i);null==f||f(!c,t.map((e=>S(e))),e.map((e=>S(e)))),V(t,"multiple")}else{const e=F;if(y){const t=c?lz(e,l):cz(e,l);q(l,!c,t,n)}else{const t=YO([].concat(xi(e),[l]),!0,B,L),{checkedKeys:r,halfCheckedKeys:o}=t;let i=r;if(c){const e=new Set(r);e.delete(l),i=YO(Array.from(e),{checked:!1,halfCheckedKeys:o},B,L).checkedKeys}q(l,!c,i,n)}}j(c?null:o),null===(t=null==u?void 0:u.onChange)||void 0===t||t.call(u,e)}})),checked:c}};if(!o.includes(hz))if(0===o.findIndex((e=>{var t;return"EXPAND_COLUMN"===(null===(t=e[fT])||void 0===t?void 0:t.columnType)}))){const[e,...t]=o;o=[e,hz].concat(xi(t))}else o=[hz].concat(xi(o));const O=o.indexOf(hz);o=o.filter(((e,t)=>e!==hz||t===O));const I=o[O-1],M=o[O+1];let R=h;void 0===R&&(void 0!==(null==M?void 0:M.fixed)?R=M.fixed:void 0!==(null==I?void 0:I.fixed)&&(R=I.fixed)),R&&I&&"EXPAND_COLUMN"===(null===(r=I[fT])||void 0===r?void 0:r.columnType)&&void 0===I.fixed&&(I.fixed=R);const T=w(`${x}-selection-col`,{[`${x}-selection-col-with-dropdown`]:g&&"checkbox"===m}),z={fixed:R,width:p,className:`${x}-selection-column`,title:(null==n?void 0:n.columnTitle)?"function"==typeof n.columnTitle?n.columnTitle(C):n.columnTitle:d,render:(e,t,n)=>{const{node:r,checked:o}=$(e,t,n);return v?v(o,t,n,r):r},onCell:n.onCell,align:n.align,[fT]:{className:T}};return o.map((e=>e===hz?z:e))}),[k,D,n,F,W,K,p,X,E,A,f,q,L]);return[G,W]};function $z(t,n){return e.useImperativeHandle(t,(()=>{const e=n(),{nativeElement:t}=e;return"undefined"!=typeof Proxy?new Proxy(t,{get:(t,n)=>e[n]?e[n]:Reflect.get(t,n)}):(o=e,(r=t)._antProxy=r._antProxy||{},Object.keys(o).forEach((e=>{if(!(e in r._antProxy)){const t=r[e];r._antProxy[e]=t,r[e]=o[e]}})),r);var r,o}))}const Sz=(e,t)=>"key"in e&&void 0!==e.key&&null!==e.key?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function kz(e,t){return t?`${t}-${e}`:`${e}`}const Ez=(e,t)=>"function"==typeof e?e(t):e;function Oz(e){if(null==e)throw new TypeError("Cannot destructure "+e)}var Iz=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Nz=e.forwardRef((function(t,n){var r=t.className,o=t.style,i=t.motion,a=t.motionNodes,l=t.motionType,c=t.onMotionStart,u=t.onMotionEnd,d=t.active,f=t.treeNodeRequiredProps,p=b(t,Iz),g=m(e.useState(!0),2),h=g[0],v=g[1],y=e.useContext(JT).prefixCls,x=a&&"hide"!==l;Zi((function(){a&&x!==h&&v(x)}),[a]);var C=e.useRef(!1),$=function(){a&&!C.current&&(C.current=!0,u())};!function(t,n){var r=m(e.useState(!1),2),o=r[0],i=r[1];Zi((function(){if(o)return t(),function(){n()}}),[o]),Zi((function(){return i(!0),function(){i(!1)}}),[])}((function(){a&&c()}),$);return a?e.createElement(Ts,s({ref:n,visible:h},i,{motionAppear:"show"===l,onVisibleChanged:function(e){x===e&&$()}}),(function(t,n){var r=t.className,o=t.style;return e.createElement("div",{ref:n,className:w("".concat(y,"-treenode-motion"),r),style:o},a.map((function(t){var n=Object.assign({},(Oz(t.data),t.data)),r=t.title,o=t.key,i=t.isStart,a=t.isEnd;delete n.children;var l=VO(o,f);return e.createElement(az,s({},n,l,{title:r,active:d,data:t.data,key:o,isStart:i,isEnd:a}))})))})):e.createElement(az,s({domRef:n,className:r,style:o},p,{active:d}))}));function Mz(e,t,n){var r=e.findIndex((function(e){return e.key===n})),o=e[r+1],i=t.findIndex((function(e){return e.key===n}));if(o){var a=t.findIndex((function(e){return e.key===o.key}));return t.slice(i+1,a)}return t.slice(i+1)}var Pz=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],jz={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Rz=function(){},Tz="RC_TREE_MOTION_".concat(Math.random()),zz={key:Tz},Hz={key:Tz,level:0,index:0,pos:"0",node:zz,nodes:[zz]},Dz={parent:null,children:[],pos:Hz.pos,data:zz,title:null,key:Tz,isStart:[],isEnd:[]};function Bz(e,t,n,r){return!1!==t&&n?e.slice(0,Math.ceil(n/r)+1):e}function Az(e){return LO(e.key,e.pos)}var Lz=e.forwardRef((function(t,n){var r=t.prefixCls,o=t.data;t.selectable,t.checkable;var i=t.expandedKeys,a=t.selectedKeys,l=t.checkedKeys,c=t.loadedKeys,u=t.loadingKeys,d=t.halfCheckedKeys,f=t.keyEntities,p=t.disabled,g=t.dragging,h=t.dragOverNodeKey,v=t.dropPosition,y=t.motion,x=t.height,C=t.itemHeight,w=t.virtual,$=t.scrollWidth,S=t.focusable,k=t.activeItem,E=t.focused,O=t.tabIndex,I=t.onKeyDown,N=t.onFocus,M=t.onBlur,P=t.onActiveChange,j=t.onListChangeStart,R=t.onListChangeEnd,T=b(t,Pz),z=e.useRef(null),H=e.useRef(null);e.useImperativeHandle(n,(function(){return{scrollTo:function(e){z.current.scrollTo(e)},getIndentWidth:function(){return H.current.offsetWidth}}}));var D=m(e.useState(i),2),B=D[0],A=D[1],L=m(e.useState(o),2),F=L[0],_=L[1],W=m(e.useState(o),2),K=W[0],V=W[1],q=m(e.useState([]),2),X=q[0],G=q[1],Y=m(e.useState(null),2),U=Y[0],Q=Y[1],Z=e.useRef(o);function J(){var e=Z.current;_(e),V(e),G([]),Q(null),R()}Z.current=o,Zi((function(){A(i);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,r=t.length;if(1!==Math.abs(n-r))return{add:!1,key:null};function o(e,t){var n=new Map;e.forEach((function(e){n.set(e,!0)}));var r=t.filter((function(e){return!n.has(e)}));return 1===r.length?r[0]:null}return n<r?{add:!0,key:o(e,t)}:{add:!1,key:o(t,e)}}(B,i);if(null!==e.key)if(e.add){var t=F.findIndex((function(t){return t.key===e.key})),n=Bz(Mz(F,o,e.key),w,x,C),r=F.slice();r.splice(t+1,0,Dz),V(r),G(n),Q("show")}else{var a=o.findIndex((function(t){return t.key===e.key})),l=Bz(Mz(o,F,e.key),w,x,C),c=o.slice();c.splice(a+1,0,Dz),V(c),G(l),Q("hide")}else F!==o&&(_(o),V(o))}),[i,o]),e.useEffect((function(){g||J()}),[g]);var ee=y?K:o,te={expandedKeys:i,selectedKeys:a,loadedKeys:c,loadingKeys:u,checkedKeys:l,halfCheckedKeys:d,dragOverNodeKey:h,dropPosition:v,keyEntities:f};return e.createElement(e.Fragment,null,E&&k&&e.createElement("span",{style:jz,"aria-live":"assertive"},function(e){for(var t=String(e.data.key),n=e;n.parent;)n=n.parent,t="".concat(n.data.key," > ").concat(t);return t}(k)),e.createElement("div",null,e.createElement("input",{style:jz,disabled:!1===S||p,tabIndex:!1!==S?O:null,onKeyDown:I,onFocus:N,onBlur:M,value:"",onChange:Rz,"aria-label":"for screen reader"})),e.createElement("div",{className:"".concat(r,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},e.createElement("div",{className:"".concat(r,"-indent")},e.createElement("div",{ref:H,className:"".concat(r,"-indent-unit")}))),e.createElement(Qb,s({},T,{data:ee,itemKey:Az,height:x,fullHeight:!1,virtual:w,itemHeight:C,scrollWidth:$,prefixCls:"".concat(r,"-list"),ref:z,role:"tree",onVisibleChange:function(e){e.every((function(e){return Az(e)!==Tz}))&&J()}}),(function(t){var n=t.pos,r=Object.assign({},(Oz(t.data),t.data)),o=t.title,i=t.key,a=t.isStart,l=t.isEnd,c=LO(i,n);delete r.key,delete r.children;var u=VO(c,te);return e.createElement(Nz,s({},r,u,{title:o,active:!!k&&i===k.key,pos:n,data:t.data,isStart:a,isEnd:l,motion:y,motionNodes:i===Tz?X:null,motionType:U,onMotionStart:j,onMotionEnd:J,treeNodeRequiredProps:te,onMouseMove:function(){P(null)}}))})))})),Fz=function(){ci(n,e.Component);var t=pi(n);function n(){var r;oi(this,n);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return v(di(r=t.call.apply(t,[this].concat(i))),"destroyed",!1),v(di(r),"delayedDragEnterLogic",void 0),v(di(r),"loadingRetryTimes",{}),v(di(r),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:FO()}),v(di(r),"dragStartMousePosition",null),v(di(r),"dragNodeProps",null),v(di(r),"currentMouseOverDroppableNodeKey",null),v(di(r),"listRef",e.createRef()),v(di(r),"onNodeDragStart",(function(e,t){var n=r.state,o=n.expandedKeys,i=n.keyEntities,a=r.props.onDragStart,l=t.eventKey;r.dragNodeProps=t,r.dragStartMousePosition={x:e.clientX,y:e.clientY};var c=lz(o,l);r.setState({draggingNodeKey:l,dragChildrenKeys:uz(l,i),indent:r.listRef.current.getIndentWidth()}),r.setExpandedKeys(c),window.addEventListener("dragend",r.onWindowDragEnd),null==a||a({event:e,node:qO(t)})})),v(di(r),"onNodeDragEnter",(function(e,t){var n=r.state,o=n.expandedKeys,i=n.keyEntities,a=n.dragChildrenKeys,l=n.flattenNodes,c=n.indent,s=r.props,u=s.onDragEnter,d=s.onExpand,f=s.allowDrop,p=s.direction,m=t.pos,g=t.eventKey;if(r.currentMouseOverDroppableNodeKey!==g&&(r.currentMouseOverDroppableNodeKey=g),r.dragNodeProps){var h=fz(e,r.dragNodeProps,t,c,r.dragStartMousePosition,f,l,i,o,p),v=h.dropPosition,b=h.dropLevelOffset,y=h.dropTargetKey,x=h.dropContainerKey,C=h.dropTargetPos,w=h.dropAllowed,$=h.dragOverNodeKey;!a.includes(y)&&w?(r.delayedDragEnterLogic||(r.delayedDragEnterLogic={}),Object.keys(r.delayedDragEnterLogic).forEach((function(e){clearTimeout(r.delayedDragEnterLogic[e])})),r.dragNodeProps.eventKey!==t.eventKey&&(e.persist(),r.delayedDragEnterLogic[m]=window.setTimeout((function(){if(null!==r.state.draggingNodeKey){var n=xi(o),a=DO(i,t.eventKey);a&&(a.children||[]).length&&(n=cz(o,t.eventKey)),r.props.hasOwnProperty("expandedKeys")||r.setExpandedKeys(n),null==d||d(n,{node:qO(t),expanded:!0,nativeEvent:e.nativeEvent})}}),800)),r.dragNodeProps.eventKey!==y||0!==b?(r.setState({dragOverNodeKey:$,dropPosition:v,dropLevelOffset:b,dropTargetKey:y,dropContainerKey:x,dropTargetPos:C,dropAllowed:w}),null==u||u({event:e,node:qO(t),expandedKeys:o})):r.resetDragState()):r.resetDragState()}else r.resetDragState()})),v(di(r),"onNodeDragOver",(function(e,t){var n=r.state,o=n.dragChildrenKeys,i=n.flattenNodes,a=n.keyEntities,l=n.expandedKeys,c=n.indent,s=r.props,u=s.onDragOver,d=s.allowDrop,f=s.direction;if(r.dragNodeProps){var p=fz(e,r.dragNodeProps,t,c,r.dragStartMousePosition,d,i,a,l,f),m=p.dropPosition,g=p.dropLevelOffset,h=p.dropTargetKey,v=p.dropContainerKey,b=p.dropTargetPos,y=p.dropAllowed,x=p.dragOverNodeKey;!o.includes(h)&&y&&(r.dragNodeProps.eventKey===h&&0===g?null===r.state.dropPosition&&null===r.state.dropLevelOffset&&null===r.state.dropTargetKey&&null===r.state.dropContainerKey&&null===r.state.dropTargetPos&&!1===r.state.dropAllowed&&null===r.state.dragOverNodeKey||r.resetDragState():m===r.state.dropPosition&&g===r.state.dropLevelOffset&&h===r.state.dropTargetKey&&v===r.state.dropContainerKey&&b===r.state.dropTargetPos&&y===r.state.dropAllowed&&x===r.state.dragOverNodeKey||r.setState({dropPosition:m,dropLevelOffset:g,dropTargetKey:h,dropContainerKey:v,dropTargetPos:b,dropAllowed:y,dragOverNodeKey:x}),null==u||u({event:e,node:qO(t)}))}})),v(di(r),"onNodeDragLeave",(function(e,t){r.currentMouseOverDroppableNodeKey!==t.eventKey||e.currentTarget.contains(e.relatedTarget)||(r.resetDragState(),r.currentMouseOverDroppableNodeKey=null);var n=r.props.onDragLeave;null==n||n({event:e,node:qO(t)})})),v(di(r),"onWindowDragEnd",(function(e){r.onNodeDragEnd(e,null,!0),window.removeEventListener("dragend",r.onWindowDragEnd)})),v(di(r),"onNodeDragEnd",(function(e,t){var n=r.props.onDragEnd;r.setState({dragOverNodeKey:null}),r.cleanDragState(),null==n||n({event:e,node:qO(t)}),r.dragNodeProps=null,window.removeEventListener("dragend",r.onWindowDragEnd)})),v(di(r),"onNodeDrop",(function(e,t){var n,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=r.state,a=i.dragChildrenKeys,l=i.dropPosition,c=i.dropTargetKey,s=i.dropTargetPos;if(i.dropAllowed){var u=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),null!==c){var d=Y(Y({},VO(c,r.getTreeNodeRequiredProps())),{},{active:(null===(n=r.getActiveItem())||void 0===n?void 0:n.key)===c,data:DO(r.state.keyEntities,c).node});me(!a.includes(c),"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var f=sz(s),p={event:e,node:qO(d),dragNode:r.dragNodeProps?qO(r.dragNodeProps):null,dragNodesKeys:[r.dragNodeProps.eventKey].concat(a),dropToGap:0!==l,dropPosition:l+Number(f[f.length-1])};o||null==u||u(p),r.dragNodeProps=null}}})),v(di(r),"cleanDragState",(function(){null!==r.state.draggingNodeKey&&r.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),r.dragStartMousePosition=null,r.currentMouseOverDroppableNodeKey=null})),v(di(r),"triggerExpandActionExpand",(function(e,t){var n=r.state,o=n.expandedKeys,i=n.flattenNodes,a=t.expanded,l=t.key;if(!(t.isLeaf||e.shiftKey||e.metaKey||e.ctrlKey)){var c=i.filter((function(e){return e.key===l}))[0],s=qO(Y(Y({},VO(l,r.getTreeNodeRequiredProps())),{},{data:c.data}));r.setExpandedKeys(a?lz(o,l):cz(o,l)),r.onNodeExpand(e,s)}})),v(di(r),"onNodeClick",(function(e,t){var n=r.props,o=n.onClick;"click"===n.expandAction&&r.triggerExpandActionExpand(e,t),null==o||o(e,t)})),v(di(r),"onNodeDoubleClick",(function(e,t){var n=r.props,o=n.onDoubleClick;"doubleClick"===n.expandAction&&r.triggerExpandActionExpand(e,t),null==o||o(e,t)})),v(di(r),"onNodeSelect",(function(e,t){var n=r.state.selectedKeys,o=r.state,i=o.keyEntities,a=o.fieldNames,l=r.props,c=l.onSelect,s=l.multiple,u=t.selected,d=t[a.key],f=!u,p=(n=f?s?cz(n,d):[d]:lz(n,d)).map((function(e){var t=DO(i,e);return t?t.node:null})).filter(Boolean);r.setUncontrolledState({selectedKeys:n}),null==c||c(n,{event:"select",selected:f,node:t,selectedNodes:p,nativeEvent:e.nativeEvent})})),v(di(r),"onNodeCheck",(function(e,t,n){var o,i=r.state,a=i.keyEntities,l=i.checkedKeys,c=i.halfCheckedKeys,s=r.props,u=s.checkStrictly,d=s.onCheck,f=t.key,p={event:"check",node:t,checked:n,nativeEvent:e.nativeEvent};if(u){var m=n?cz(l,f):lz(l,f);o={checked:m,halfChecked:lz(c,f)},p.checkedNodes=m.map((function(e){return DO(a,e)})).filter(Boolean).map((function(e){return e.node})),r.setUncontrolledState({checkedKeys:m})}else{var g=YO([].concat(xi(l),[f]),!0,a),h=g.checkedKeys,v=g.halfCheckedKeys;if(!n){var b=new Set(h);b.delete(f);var y=YO(Array.from(b),{checked:!1,halfCheckedKeys:v},a);h=y.checkedKeys,v=y.halfCheckedKeys}o=h,p.checkedNodes=[],p.checkedNodesPositions=[],p.halfCheckedKeys=v,h.forEach((function(e){var t=DO(a,e);if(t){var n=t.node,r=t.pos;p.checkedNodes.push(n),p.checkedNodesPositions.push({node:n,pos:r})}})),r.setUncontrolledState({checkedKeys:h},!1,{halfCheckedKeys:v})}null==d||d(o,p)})),v(di(r),"onNodeLoad",(function(e){var t,n=e.key,o=DO(r.state.keyEntities,n);if(null==o||null===(t=o.children)||void 0===t||!t.length){var i=new Promise((function(t,o){r.setState((function(i){var a=i.loadedKeys,l=void 0===a?[]:a,c=i.loadingKeys,s=void 0===c?[]:c,u=r.props,d=u.loadData,f=u.onLoad;return!d||l.includes(n)||s.includes(n)?null:(d(e).then((function(){var o=cz(r.state.loadedKeys,n);null==f||f(o,{event:"load",node:e}),r.setUncontrolledState({loadedKeys:o}),r.setState((function(e){return{loadingKeys:lz(e.loadingKeys,n)}})),t()})).catch((function(e){if(r.setState((function(e){return{loadingKeys:lz(e.loadingKeys,n)}})),r.loadingRetryTimes[n]=(r.loadingRetryTimes[n]||0)+1,r.loadingRetryTimes[n]>=10){var i=r.state.loadedKeys;me(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:cz(i,n)}),t()}o(e)})),{loadingKeys:cz(s,n)})}))}));return i.catch((function(){})),i}})),v(di(r),"onNodeMouseEnter",(function(e,t){var n=r.props.onMouseEnter;null==n||n({event:e,node:t})})),v(di(r),"onNodeMouseLeave",(function(e,t){var n=r.props.onMouseLeave;null==n||n({event:e,node:t})})),v(di(r),"onNodeContextMenu",(function(e,t){var n=r.props.onRightClick;n&&(e.preventDefault(),n({event:e,node:t}))})),v(di(r),"onFocus",(function(){var e=r.props.onFocus;r.setState({focused:!0});for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];null==e||e.apply(void 0,n)})),v(di(r),"onBlur",(function(){var e=r.props.onBlur;r.setState({focused:!1}),r.onActiveChange(null);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];null==e||e.apply(void 0,n)})),v(di(r),"getTreeNodeRequiredProps",(function(){var e=r.state;return{expandedKeys:e.expandedKeys||[],selectedKeys:e.selectedKeys||[],loadedKeys:e.loadedKeys||[],loadingKeys:e.loadingKeys||[],checkedKeys:e.checkedKeys||[],halfCheckedKeys:e.halfCheckedKeys||[],dragOverNodeKey:e.dragOverNodeKey,dropPosition:e.dropPosition,keyEntities:e.keyEntities}})),v(di(r),"setExpandedKeys",(function(e){var t=r.state,n=WO(t.treeData,e,t.fieldNames);r.setUncontrolledState({expandedKeys:e,flattenNodes:n},!0)})),v(di(r),"onNodeExpand",(function(e,t){var n=r.state.expandedKeys,o=r.state,i=o.listChanging,a=o.fieldNames,l=r.props,c=l.onExpand,s=l.loadData,u=t.expanded,d=t[a.key];if(!i){var f=n.includes(d),p=!u;if(me(u&&f||!u&&!f,"Expand state not sync with index check"),n=p?cz(n,d):lz(n,d),r.setExpandedKeys(n),null==c||c(n,{node:t,expanded:p,nativeEvent:e.nativeEvent}),p&&s){var m=r.onNodeLoad(t);m&&m.then((function(){var e=WO(r.state.treeData,n,a);r.setUncontrolledState({flattenNodes:e})})).catch((function(){var e=lz(r.state.expandedKeys,d);r.setExpandedKeys(e)}))}}})),v(di(r),"onListChangeStart",(function(){r.setUncontrolledState({listChanging:!0})})),v(di(r),"onListChangeEnd",(function(){setTimeout((function(){r.setUncontrolledState({listChanging:!1})}))})),v(di(r),"onActiveChange",(function(e){var t=r.state.activeKey,n=r.props,o=n.onActiveChange,i=n.itemScrollOffset,a=void 0===i?0:i;t!==e&&(r.setState({activeKey:e}),null!==e&&r.scrollTo({key:e,offset:a}),null==o||o(e))})),v(di(r),"getActiveItem",(function(){var e=r.state,t=e.activeKey,n=e.flattenNodes;return null===t?null:n.find((function(e){return e.key===t}))||null})),v(di(r),"offsetActiveKey",(function(e){var t=r.state,n=t.flattenNodes,o=t.activeKey,i=n.findIndex((function(e){return e.key===o}));-1===i&&e<0&&(i=n.length);var a=n[i=(i+e+n.length)%n.length];if(a){var l=a.key;r.onActiveChange(l)}else r.onActiveChange(null)})),v(di(r),"onKeyDown",(function(e){var t=r.state,n=t.activeKey,o=t.expandedKeys,i=t.checkedKeys,a=t.fieldNames,l=r.props,c=l.onKeyDown,s=l.checkable,u=l.selectable;switch(e.which){case yu.UP:r.offsetActiveKey(-1),e.preventDefault();break;case yu.DOWN:r.offsetActiveKey(1),e.preventDefault()}var d=r.getActiveItem();if(d&&d.data){var f=r.getTreeNodeRequiredProps(),p=!1===d.data.isLeaf||!!(d.data[a.children]||[]).length,m=qO(Y(Y({},VO(n,f)),{},{data:d.data,active:!0}));switch(e.which){case yu.LEFT:p&&o.includes(n)?r.onNodeExpand({},m):d.parent&&r.onActiveChange(d.parent.key),e.preventDefault();break;case yu.RIGHT:p&&!o.includes(n)?r.onNodeExpand({},m):d.children&&d.children.length&&r.onActiveChange(d.children[0].key),e.preventDefault();break;case yu.ENTER:case yu.SPACE:!s||m.disabled||!1===m.checkable||m.disableCheckbox?s||!u||m.disabled||!1===m.selectable||r.onNodeSelect({},m):r.onNodeCheck({},m,!i.includes(n))}}null==c||c(e)})),v(di(r),"setUncontrolledState",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!r.destroyed){var o=!1,i=!0,a={};Object.keys(e).forEach((function(t){r.props.hasOwnProperty(t)?i=!1:(o=!0,a[t]=e[t])})),!o||t&&!i||r.setState(Y(Y({},a),n))}})),v(di(r),"scrollTo",(function(e){r.listRef.current.scrollTo(e)})),r}return ai(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props,t=e.activeKey,n=e.itemScrollOffset,r=void 0===n?0:n;void 0!==t&&t!==this.state.activeKey&&(this.setState({activeKey:t}),null!==t&&this.scrollTo({key:t,offset:r}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var t,n=this.state,r=n.focused,o=n.flattenNodes,i=n.keyEntities,a=n.draggingNodeKey,l=n.activeKey,c=n.dropLevelOffset,u=n.dropContainerKey,d=n.dropTargetKey,f=n.dropPosition,p=n.dragOverNodeKey,m=n.indent,h=this.props,b=h.prefixCls,y=h.className,x=h.style,C=h.showLine,$=h.focusable,S=h.tabIndex,k=void 0===S?0:S,E=h.selectable,O=h.showIcon,I=h.icon,N=h.switcherIcon,M=h.draggable,P=h.checkable,j=h.checkStrictly,R=h.disabled,T=h.motion,z=h.loadData,H=h.filterTreeNode,D=h.height,B=h.itemHeight,A=h.scrollWidth,L=h.virtual,F=h.titleRender,_=h.dropIndicatorRender,W=h.onContextMenu,K=h.onScroll,V=h.direction,q=h.rootClassName,X=h.rootStyle,G=au(this.props,{aria:!0,data:!0});M&&(t="object"===g(M)?M:"function"==typeof M?{nodeDraggable:M}:{});var Y={prefixCls:b,selectable:E,showIcon:O,icon:I,switcherIcon:N,draggable:t,draggingNodeKey:a,checkable:P,checkStrictly:j,disabled:R,keyEntities:i,dropLevelOffset:c,dropContainerKey:u,dropTargetKey:d,dropPosition:f,dragOverNodeKey:p,indent:m,direction:V,dropIndicatorRender:_,loadData:z,filterTreeNode:H,titleRender:F,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return e.createElement(JT.Provider,{value:Y},e.createElement("div",{className:w(b,y,q,v(v(v({},"".concat(b,"-show-line"),C),"".concat(b,"-focused"),r),"".concat(b,"-active-focused"),null!==l)),style:X},e.createElement(Lz,s({ref:this.listRef,prefixCls:b,style:x,data:o,disabled:R,selectable:E,checkable:!!P,motion:T,dragging:null!==a,height:D,itemHeight:B,virtual:L,focusable:$,focused:r,tabIndex:k,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:W,onScroll:K,scrollWidth:A},this.getTreeNodeRequiredProps(),G))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r=t.prevProps,o={prevProps:e};function i(t){return!r&&e.hasOwnProperty(t)||r&&r[t]!==e[t]}var a=t.fieldNames;if(i("fieldNames")&&(a=FO(e.fieldNames),o.fieldNames=a),i("treeData")?n=e.treeData:i("children")&&(me(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=_O(e.children)),n){o.treeData=n;var l=KO(n,{fieldNames:a});o.keyEntities=Y(v({},Tz,Hz),l.keyEntities)}var c,s=o.keyEntities||t.keyEntities;if(i("expandedKeys")||r&&i("autoExpandParent"))o.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?gz(e.expandedKeys,s):e.expandedKeys;else if(!r&&e.defaultExpandAll){var u=Y({},s);delete u[Tz];var d=[];Object.keys(u).forEach((function(e){var t=u[e];t.children&&t.children.length&&d.push(t.key)})),o.expandedKeys=d}else!r&&e.defaultExpandedKeys&&(o.expandedKeys=e.autoExpandParent||e.defaultExpandParent?gz(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(o.expandedKeys||delete o.expandedKeys,n||o.expandedKeys){var f=WO(n||t.treeData,o.expandedKeys||t.expandedKeys,a);o.flattenNodes=f}if((e.selectable&&(i("selectedKeys")?o.selectedKeys=pz(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(o.selectedKeys=pz(e.defaultSelectedKeys,e))),e.checkable)&&(i("checkedKeys")?c=mz(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?c=mz(e.defaultCheckedKeys)||{}:n&&(c=mz(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),c)){var p=c,m=p.checkedKeys,g=void 0===m?[]:m,h=p.halfCheckedKeys,b=void 0===h?[]:h;if(!e.checkStrictly){var y=YO(g,!0,s);g=y.checkedKeys,b=y.halfCheckedKeys}o.checkedKeys=g,o.halfCheckedKeys=b}return i("loadedKeys")&&(o.loadedKeys=e.loadedKeys),o}}]),n}();v(Fz,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(e){var t=e.dropPosition,r=e.dropLevelOffset,o=e.indent,i={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:i.top=0,i.left=-r*o;break;case 1:i.bottom=0,i.left=-r*o;break;case 0:i.bottom=0,i.left=o}return n.createElement("div",{style:i})},allowDrop:function(){return!0},expandAction:!1}),v(Fz,"TreeNode",az);const _z=({treeCls:e,treeNodeCls:t,directoryNodeSelectedBg:n,directoryNodeSelectedColor:r,motionDurationMid:o,borderRadius:i,controlItemBgHover:a})=>({[`${e}${e}-directory ${t}`]:{[`${e}-node-content-wrapper`]:{position:"static",[`> *:not(${e}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${o}`,content:'""',borderRadius:i},"&:hover:before":{background:a}},[`${e}-switcher, ${e}-checkbox, ${e}-draggable-icon`]:{zIndex:1},"&-selected":{[`${e}-switcher, ${e}-draggable-icon`]:{color:r},[`${e}-node-content-wrapper`]:{color:r,background:"transparent","&:before, &:hover:before":{background:n}}}}}),Wz=new cl("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Kz=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),Vz=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${qi(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),qz=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:o,titleHeight:i,indentSize:a,nodeSelectedBg:l,nodeHoverBg:c,colorTextQuaternary:s,controlItemBgActiveDisabled:u}=t;return{[n]:Object.assign(Object.assign({},Ac(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${n}-rtl ${n}-switcher_close ${n}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},Lc(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:Wz,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:t.borderRadius}}},[r]:{display:"flex",alignItems:"flex-start",marginBottom:o,lineHeight:qi(i),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:o},[`&-disabled ${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${n}-checkbox-disabled + ${n}-node-selected,&${r}-disabled${r}-selected ${n}-node-content-wrapper`]:{backgroundColor:u},[`${n}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${r}-disabled)`]:{[`${n}-node-content-wrapper`]:{"&:hover":{color:t.nodeHoverColor}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:i,textAlign:"center",visibility:"visible",color:s},[`&${r}-disabled ${n}-draggable-icon`]:{visibility:"hidden"}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:a}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher, ${n}-checkbox`]:{marginInlineEnd:t.calc(t.calc(i).sub(t.controlInteractiveSize)).div(2).equal()},[`${n}-switcher`]:Object.assign(Object.assign({},Kz(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:i,height:i,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},[`&_close ${n}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(o).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(i).div(2).equal()).mul(.8).equal(),height:t.calc(i).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:i,paddingBlock:0,paddingInline:t.paddingXS,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},Vz(e,t)),{"&:hover":{backgroundColor:c},[`&${n}-node-selected`]:{color:t.nodeSelectedColor,backgroundColor:l},[`${n}-iconEle`]:{display:"inline-block",width:i,height:i,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${r}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${t.colorPrimary}`},"&-show-line":{[`${n}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(o).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last ${n}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${qi(t.calc(i).div(2).equal())} !important`}})}},Xz=(e,t,n=!0)=>{const r=`.${e}`,o=`${r}-treenode`,i=t.calc(t.paddingXS).div(2).equal(),a=Cc(t,{treeCls:r,treeNodeCls:o,treeNodePadding:i});return[qz(e,a),n&&_z(a)].filter(Boolean)},Gz=Kc("Tree",((e,{prefixCls:t})=>[{[e.componentCls]:QO(`${t}-checkbox`,e)},Xz(t,e),bf(e)]),(e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},(e=>{const{controlHeightSM:t,controlItemBgHover:n,controlItemBgActive:r}=e;return{titleHeight:t,indentSize:t,nodeHoverBg:n,nodeHoverColor:e.colorText,nodeSelectedBg:r,nodeSelectedColor:e.colorText}})(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})}));function Yz(e){const{dropPosition:t,dropLevelOffset:r,prefixCls:o,indent:i,direction:a="ltr"}=e,l="ltr"===a?"left":"right",c="ltr"===a?"right":"left",s={[l]:-r*i+4,[c]:0};switch(t){case-1:s.top=-3;break;case 1:s.bottom=-3;break;default:s.bottom=-3,s[l]=i+4}return n.createElement("div",{style:s,className:`${o}-drop-indicator`})}const Uz=t=>{const{prefixCls:n,switcherIcon:r,treeNodeProps:o,showLine:i,switcherLoadingIcon:a}=t,{isLeaf:l,expanded:c,loading:s}=o;if(s)return e.isValidElement(a)?a:e.createElement(Wn,{className:`${n}-switcher-loading-icon`});let u;if(i&&"object"==typeof i&&(u=i.showLeafIcon),l){if(!i)return null;if("boolean"!=typeof u&&u){const t="function"==typeof u?u(o):u,r=`${n}-switcher-line-custom-icon`;return e.isValidElement(t)?cu(t,{className:w(t.props.className||"",r)}):t}return u?e.createElement(pn,{className:`${n}-switcher-line-icon`}):e.createElement("span",{className:`${n}-switcher-leaf-line`})}const d=`${n}-switcher-icon`,f="function"==typeof r?r(o):r;return e.isValidElement(f)?cu(f,{className:w(f.props.className||"",d)}):void 0!==f?f:i?c?e.createElement(tr,{className:`${n}-switcher-line-icon`}):e.createElement(hr,{className:`${n}-switcher-line-icon`}):e.createElement(Ae,{className:d})},Qz=n.forwardRef(((e,t)=>{var r;const{getPrefixCls:o,direction:i,virtual:a,tree:l}=n.useContext(Ul),{prefixCls:c,className:s,showIcon:u=!1,showLine:d,switcherIcon:f,switcherLoadingIcon:p,blockNode:m=!1,children:g,checkable:h=!1,selectable:v=!0,draggable:b,motion:y,style:x}=e,C=o("tree",c),$=o(),S=null!=y?y:Object.assign(Object.assign({},vd($)),{motionAppear:!1}),k=Object.assign(Object.assign({},e),{checkable:h,selectable:v,showIcon:u,motion:S,blockNode:m,showLine:Boolean(d),dropIndicatorRender:Yz}),[E,O,I]=Gz(C),[,N]=Dc(),M=N.paddingXS/2+((null===(r=N.Tree)||void 0===r?void 0:r.titleHeight)||N.controlHeightSM),P=n.useMemo((()=>{if(!b)return!1;let e={};switch(typeof b){case"function":e.nodeDraggable=b;break;case"object":e=Object.assign({},b)}return!1!==e.icon&&(e.icon=e.icon||n.createElement(In,null)),e}),[b]);return E(n.createElement(Fz,Object.assign({itemHeight:M,ref:t,virtual:a},k,{style:Object.assign(Object.assign({},null==l?void 0:l.style),x),prefixCls:C,className:w({[`${C}-icon-hide`]:!u,[`${C}-block-node`]:m,[`${C}-unselectable`]:!v,[`${C}-rtl`]:"rtl"===i},null==l?void 0:l.className,s,O,I),direction:i,checkable:h?n.createElement("span",{className:`${C}-checkbox-inner`}):h,selectable:v,switcherIcon:e=>n.createElement(Uz,{prefixCls:C,switcherIcon:f,switcherLoadingIcon:p,treeNodeProps:e,showLine:d}),draggable:P}),g))}));function Zz(e,t,n){const{key:r,children:o}=n;e.forEach((function(e){const i=e[r],a=e[o];!1!==t(i,e)&&Zz(a||[],t,n)}))}function Jz({treeData:e,expandedKeys:t,startKey:n,endKey:r,fieldNames:o}){const i=[];let a=0;if(n&&n===r)return[n];if(!n||!r)return[];return Zz(e,(e=>{if(2===a)return!1;if(function(e){return e===n||e===r}(e)){if(i.push(e),0===a)a=1;else if(1===a)return a=2,!1}else 1===a&&i.push(e);return t.includes(e)}),FO(o)),i}function eH(e,t,n){const r=xi(t),o=[];return Zz(e,((e,t)=>{const n=r.indexOf(e);return-1!==n&&(o.push(t),r.splice(n,1)),!!r.length}),FO(n)),o}var tH=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function nH(t){const{isLeaf:n,expanded:r}=t;return n?e.createElement(pn,null):r?e.createElement(wn,null):e.createElement(kn,null)}function rH({treeData:e,children:t}){return e||_O(t)}const oH=(t,n)=>{var{defaultExpandAll:r,defaultExpandParent:o,defaultExpandedKeys:i}=t,a=tH(t,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const l=e.useRef(null),c=e.useRef(null),[s,u]=e.useState(a.selectedKeys||a.defaultSelectedKeys||[]),[d,f]=e.useState((()=>(()=>{const{keyEntities:e}=KO(rH(a));let t;return t=r?Object.keys(e):o?gz(a.expandedKeys||i||[],e):a.expandedKeys||i||[],t})()));e.useEffect((()=>{"selectedKeys"in a&&u(a.selectedKeys)}),[a.selectedKeys]),e.useEffect((()=>{"expandedKeys"in a&&f(a.expandedKeys)}),[a.expandedKeys]);const{getPrefixCls:p,direction:m}=e.useContext(Ul),{prefixCls:g,className:h,showIcon:v=!0,expandAction:b="click"}=a,y=tH(a,["prefixCls","className","showIcon","expandAction"]),x=p("tree",g),C=w(`${x}-directory`,{[`${x}-directory-rtl`]:"rtl"===m},h);return e.createElement(Qz,Object.assign({icon:nH,ref:n,blockNode:!0},y,{showIcon:v,expandAction:b,prefixCls:x,className:C,expandedKeys:d,selectedKeys:s,onSelect:(e,t)=>{var n;const{multiple:r,fieldNames:o}=a,{node:i,nativeEvent:s}=t,{key:f=""}=i,p=rH(a),m=Object.assign(Object.assign({},t),{selected:!0}),g=(null==s?void 0:s.ctrlKey)||(null==s?void 0:s.metaKey),h=null==s?void 0:s.shiftKey;let v;r&&g?(v=e,l.current=f,c.current=v,m.selectedNodes=eH(p,v,o)):r&&h?(v=Array.from(new Set([].concat(xi(c.current||[]),xi(Jz({treeData:p,expandedKeys:d,startKey:f,endKey:l.current,fieldNames:o}))))),m.selectedNodes=eH(p,v,o)):(v=[f],l.current=f,c.current=v,m.selectedNodes=eH(p,v,o)),null===(n=a.onSelect)||void 0===n||n.call(a,v,m),"selectedKeys"in a||u(v)},onExpand:(e,t)=>{var n;return"expandedKeys"in a||f(e),null===(n=a.onExpand)||void 0===n?void 0:n.call(a,e,t)}}))},iH=e.forwardRef(oH),aH=Qz;aH.DirectoryTree=iH,aH.TreeNode=az;const lH=aH,cH=t=>{const{value:n,filterSearch:r,tablePrefixCls:o,locale:i,onChange:a}=t;return r?e.createElement("div",{className:`${o}-filter-dropdown-search`},e.createElement(FI,{prefix:e.createElement(Ir,null),placeholder:i.filterSearchPlaceholder,onChange:a,value:n,htmlSize:1,className:`${o}-filter-dropdown-search-input`})):null},sH=e=>{const{keyCode:t}=e;t===yu.ENTER&&e.stopPropagation()},uH=e.forwardRef(((t,n)=>e.createElement("div",{className:t.className,onClick:e=>e.stopPropagation(),onKeyDown:sH,ref:n},t.children))),dH=uH;function fH(e){let t=[];return(e||[]).forEach((({value:e,children:n})=>{t.push(e),n&&(t=[].concat(xi(t),xi(fH(n))))})),t}function pH(e,t){return("string"==typeof t||"number"==typeof t)&&(null==t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}function mH({filters:t,prefixCls:n,filteredKeys:r,filterMultiple:o,searchValue:i,filterSearch:a}){return t.map(((t,l)=>{const c=String(t.value);if(t.children)return{key:c||l,label:t.text,popupClassName:`${n}-dropdown-submenu`,children:mH({filters:t.children,prefixCls:n,filteredKeys:r,filterMultiple:o,searchValue:i,filterSearch:a})};const s=o?aI:Gk,u={key:void 0!==t.value?c:l,label:e.createElement(e.Fragment,null,e.createElement(s,{checked:r.includes(c)}),e.createElement("span",null,t.text))};return i.trim()?"function"==typeof a?a(i,t)?u:null:pH(i,t.text)?u:null:u}))}function gH(e){return e||[]}const hH=t=>{var n,r,o,i;const{tablePrefixCls:a,prefixCls:l,column:c,dropdownPrefixCls:s,columnKey:u,filterOnClose:d,filterMultiple:f,filterMode:p="menu",filterSearch:m=!1,filterState:g,triggerFilter:h,locale:v,children:b,getPopupContainer:y,rootClassName:x}=t,{filterResetToDefaultFilteredValue:C,defaultFilteredValue:$,filterDropdownProps:S={},filterDropdownOpen:k,filterDropdownVisible:E,onFilterDropdownVisibleChange:O,onFilterDropdownOpenChange:I}=c,[N,M]=e.useState(!1),P=!(!g||!(null===(n=g.filteredKeys)||void 0===n?void 0:n.length)&&!g.forceFiltered),j=e=>{var t;M(e),null===(t=S.onOpenChange)||void 0===t||t.call(S,e),null==I||I(e),null==O||O(e)},R=null!==(i=null!==(o=null!==(r=S.open)&&void 0!==r?r:k)&&void 0!==o?o:E)&&void 0!==i?i:N,T=null==g?void 0:g.filteredKeys,[z,H]=function(t){const n=e.useRef(t),r=lx();return[()=>n.current,e=>{n.current=e,r()}]}(gH(T)),D=({selectedKeys:e})=>{H(e)},B=(e,{node:t,checked:n})=>{D(f?{selectedKeys:e}:{selectedKeys:n&&t.key?[t.key]:[]})};e.useEffect((()=>{N&&D({selectedKeys:gH(T)})}),[T]);const[A,L]=e.useState([]),F=e=>{L(e)},[_,W]=e.useState(""),K=e=>{const{value:t}=e.target;W(t)};e.useEffect((()=>{N||W("")}),[N]);const V=e=>{const t=(null==e?void 0:e.length)?e:null;return null!==t||g&&g.filteredKeys?Ii(t,null==g?void 0:g.filteredKeys,!0)?null:void h({column:c,key:u,filteredKeys:t}):null},q=()=>{j(!1),V(z())},X=({confirm:e,closeDropdown:t}={confirm:!1,closeDropdown:!1})=>{e&&V([]),t&&j(!1),W(""),H(C?($||[]).map((e=>String(e))):[])},G=({closeDropdown:e}={closeDropdown:!0})=>{e&&j(!1),V(z())},Y=w({[`${s}-menu-without-submenu`]:(U=c.filters||[],!U.some((({children:e})=>e)))});var U;const Q=e=>{if(e.target.checked){const e=fH(null==c?void 0:c.filters).map((e=>String(e)));H(e)}else H([])},Z=({filters:e})=>(e||[]).map(((e,t)=>{const n=String(e.value),r={title:e.text,key:void 0!==e.value?n:String(t)};return e.children&&(r.children=Z({filters:e.children})),r})),J=e=>{var t;return Object.assign(Object.assign({},e),{text:e.title,value:e.key,children:(null===(t=e.children)||void 0===t?void 0:t.map((e=>J(e))))||[]})};let ee;const{direction:te,renderEmpty:ne}=e.useContext(Ul);if("function"==typeof c.filterDropdown)ee=c.filterDropdown({prefixCls:`${s}-custom`,setSelectedKeys:e=>D({selectedKeys:e}),selectedKeys:z(),confirm:G,clearFilters:X,filters:c.filters,visible:R,close:()=>{j(!1)}});else if(c.filterDropdown)ee=c.filterDropdown;else{const t=z()||[],n=()=>{var n,r;const o=null!==(n=null==ne?void 0:ne("Table.filter"))&&void 0!==n?n:e.createElement($y,{image:$y.PRESENTED_IMAGE_SIMPLE,description:v.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if(0===(c.filters||[]).length)return o;if("tree"===p)return e.createElement(e.Fragment,null,e.createElement(cH,{filterSearch:m,value:_,onChange:K,tablePrefixCls:a,locale:v}),e.createElement("div",{className:`${a}-filter-dropdown-tree`},f?e.createElement(aI,{checked:t.length===fH(c.filters).length,indeterminate:t.length>0&&t.length<fH(c.filters).length,className:`${a}-filter-dropdown-checkall`,onChange:Q},null!==(r=null==v?void 0:v.filterCheckall)&&void 0!==r?r:null==v?void 0:v.filterCheckAll):null,e.createElement(lH,{checkable:!0,selectable:!1,blockNode:!0,multiple:f,checkStrictly:!f,className:`${s}-menu`,onCheck:B,checkedKeys:t,selectedKeys:t,showIcon:!1,treeData:Z({filters:c.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:_.trim()?e=>"function"==typeof m?m(_,J(e)):pH(_,e.title):void 0})));const i=mH({filters:c.filters||[],filterSearch:m,prefixCls:l,filteredKeys:z(),filterMultiple:f,searchValue:_}),u=i.every((e=>null===e));return e.createElement(e.Fragment,null,e.createElement(cH,{filterSearch:m,value:_,onChange:K,tablePrefixCls:a,locale:v}),u?o:e.createElement(Vw,{selectable:!0,multiple:f,prefixCls:`${s}-menu`,className:Y,onSelect:D,onDeselect:D,selectedKeys:t,getPopupContainer:y,openKeys:A,onOpenChange:F,items:i}))},r=()=>C?Ii(($||[]).map((e=>String(e))),t,!0):0===t.length;ee=e.createElement(e.Fragment,null,n(),e.createElement("div",{className:`${l}-dropdown-btns`},e.createElement(Yp,{type:"link",size:"small",disabled:r(),onClick:()=>X()},v.filterReset),e.createElement(Yp,{type:"primary",size:"small",onClick:q},v.filterConfirm)))}c.filterDropdown&&(ee=e.createElement(Iw,{selectable:void 0},ee)),ee=e.createElement(dH,{className:`${l}-dropdown`},ee);const re=Vg({trigger:["click"],placement:"rtl"===te?"bottomLeft":"bottomRight",children:(()=>{let t;return t="function"==typeof c.filterIcon?c.filterIcon(P):c.filterIcon?c.filterIcon:e.createElement(yn,null),e.createElement("span",{role:"button",tabIndex:-1,className:w(`${l}-trigger`,{active:P}),onClick:e=>{e.stopPropagation()}},t)})(),getPopupContainer:y},Object.assign(Object.assign({},S),{rootClassName:w(x,S.rootClassName),open:R,onOpenChange:(e,t)=>{"trigger"===t.source&&(e&&void 0!==T&&H(gH(T)),j(e),e||c.filterDropdown||!d||q())},popupRender:()=>"function"==typeof(null==S?void 0:S.dropdownRender)?S.dropdownRender(ee):ee}));return e.createElement("div",{className:`${l}-column`},e.createElement("span",{className:`${a}-column-title`},b),e.createElement(QN,Object.assign({},re)))},vH=(e,t,n)=>{let r=[];return(e||[]).forEach(((e,o)=>{var i;const a=kz(o,n),l=void 0!==e.filterDropdown;if(e.filters||l||"onFilter"in e)if("filteredValue"in e){let t=e.filteredValue;l||(t=null!==(i=null==t?void 0:t.map(String))&&void 0!==i?i:t),r.push({column:e,key:Sz(e,a),filteredKeys:t,forceFiltered:e.filtered})}else r.push({column:e,key:Sz(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered});"children"in e&&(r=[].concat(xi(r),xi(vH(e.children,t,a))))})),r};function bH(t,n,r,o,i,a,l,c,s){return r.map(((r,u)=>{const d=kz(u,c),{filterOnClose:f=!0,filterMultiple:p=!0,filterMode:m,filterSearch:g}=r;let h=r;if(h.filters||h.filterDropdown){const c=Sz(h,d),u=o.find((({key:e})=>c===e));h=Object.assign(Object.assign({},h),{title:o=>e.createElement(hH,{tablePrefixCls:t,prefixCls:`${t}-filter`,dropdownPrefixCls:n,column:h,columnKey:c,filterState:u,filterOnClose:f,filterMultiple:p,filterMode:m,filterSearch:g,triggerFilter:a,locale:i,getPopupContainer:l,rootClassName:s},Ez(r.title,o))})}return"children"in h&&(h=Object.assign(Object.assign({},h),{children:bH(t,n,h.children,o,i,a,l,d,s)})),h}))}const yH=e=>{const t={};return e.forEach((({key:e,filteredKeys:n,column:r})=>{const o=e,{filters:i,filterDropdown:a}=r;if(a)t[o]=n||null;else if(Array.isArray(n)){const e=fH(i);t[o]=e.filter((e=>n.includes(String(e))))}else t[o]=null})),t},xH=(e,t,n)=>t.reduce(((e,r)=>{const{column:{onFilter:o,filters:i},filteredKeys:a}=r;return o&&a&&a.length?e.map((e=>Object.assign({},e))).filter((e=>a.some((r=>{const a=fH(i),l=a.findIndex((e=>String(e)===String(r))),c=-1!==l?a[l]:r;return e[n]&&(e[n]=xH(e[n],t,n)),o(c,e)})))):e}),e),CH=e=>e.flatMap((e=>"children"in e?[e].concat(xi(CH(e.children||[]))):[e])),wH=t=>{const{prefixCls:n,dropdownPrefixCls:r,mergedColumns:o,onFilterChange:i,getPopupContainer:a,locale:l,rootClassName:c}=t;yl();const s=e.useMemo((()=>CH(o||[])),[o]),[u,d]=e.useState((()=>vH(s,!0))),f=e.useMemo((()=>{const e=vH(s,!1);if(0===e.length)return e;let t=!0;if(e.forEach((({filteredKeys:e})=>{void 0!==e&&(t=!1)})),t){const e=(s||[]).map(((e,t)=>Sz(e,kz(t))));return u.filter((({key:t})=>e.includes(t))).map((t=>{const n=s[e.findIndex((e=>e===t.key))];return Object.assign(Object.assign({},t),{column:Object.assign(Object.assign({},t.column),n),forceFiltered:n.filtered})}))}return e}),[s,u]),p=e.useMemo((()=>yH(f)),[f]),m=e=>{const t=f.filter((({key:t})=>t!==e.key));t.push(e),d(t),i(yH(t),t)};return[e=>bH(n,r,e,f,l,m,a,void 0,c),f,p]},$H=(t,n,r)=>{const o=e.useRef({});return[function(e){var i;if(!o.current||o.current.data!==t||o.current.childrenColumnName!==n||o.current.getRowKey!==r){let e=function(t){t.forEach(((t,o)=>{const a=r(t,o);i.set(a,t),t&&"object"==typeof t&&n in t&&e(t[n]||[])}))};const i=new Map;e(t),o.current={data:t,childrenColumnName:n,kvMap:i,getRowKey:r}}return null===(i=o.current.kvMap)||void 0===i?void 0:i.get(e)}]};var SH=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const kH=10;const EH="ascend",OH="descend",IH=e=>"object"==typeof e.sorter&&"number"==typeof e.sorter.multiple&&e.sorter.multiple,NH=e=>"function"==typeof e?e:!(!e||"object"!=typeof e||!e.compare)&&e.compare,MH=(e,t,n)=>{let r=[];const o=(e,t)=>{r.push({column:e,key:Sz(e,t),multiplePriority:IH(e),sortOrder:e.sortOrder})};return(e||[]).forEach(((e,i)=>{const a=kz(i,n);e.children?("sortOrder"in e&&o(e,a),r=[].concat(xi(r),xi(MH(e.children,t,a)))):e.sorter&&("sortOrder"in e?o(e,a):t&&e.defaultSortOrder&&r.push({column:e,key:Sz(e,a),multiplePriority:IH(e),sortOrder:e.defaultSortOrder}))})),r},PH=(t,n,r,o,i,a,l,c)=>(n||[]).map(((n,s)=>{const u=kz(s,c);let d=n;if(d.sorter){const c=d.sortDirections||i,s=void 0===d.showSorterTooltip?l:d.showSorterTooltip,f=Sz(d,u),p=r.find((({key:e})=>e===f)),m=p?p.sortOrder:null,g=((e,t)=>t?e[e.indexOf(t)+1]:e[0])(c,m);let h;if(n.sortIcon)h=n.sortIcon({sortOrder:m});else{const n=c.includes(EH)&&e.createElement(Ve,{className:w(`${t}-column-sorter-up`,{active:m===EH})}),r=c.includes(OH)&&e.createElement(_e,{className:w(`${t}-column-sorter-down`,{active:m===OH})});h=e.createElement("span",{className:w(`${t}-column-sorter`,{[`${t}-column-sorter-full`]:!(!n||!r)})},e.createElement("span",{className:`${t}-column-sorter-inner`,"aria-hidden":"true"},n,r))}const{cancelSort:v,triggerAsc:b,triggerDesc:y}=a||{};let x=v;g===OH?x=y:g===EH&&(x=b);const C="object"==typeof s?Object.assign({title:x},s):{title:x};d=Object.assign(Object.assign({},d),{className:w(d.className,{[`${t}-column-sort`]:m}),title:r=>{const o=`${t}-column-sorters`,i=e.createElement("span",{className:`${t}-column-title`},Ez(n.title,r)),a=e.createElement("div",{className:o},i,h);return s?"boolean"!=typeof s&&"sorter-icon"===(null==s?void 0:s.target)?e.createElement("div",{className:`${o} ${t}-column-sorters-tooltip-target-sorter`},i,e.createElement(Hx,Object.assign({},C),h)):e.createElement(Hx,Object.assign({},C),a):a},onHeaderCell:e=>{var r;const i=(null===(r=n.onHeaderCell)||void 0===r?void 0:r.call(n,e))||{},a=i.onClick,l=i.onKeyDown;i.onClick=e=>{o({column:n,key:f,sortOrder:g,multiplePriority:IH(n)}),null==a||a(e)},i.onKeyDown=e=>{e.keyCode===yu.ENTER&&(o({column:n,key:f,sortOrder:g,multiplePriority:IH(n)}),null==l||l(e))};const c=((e,t)=>{const n=Ez(e,t);return"[object Object]"===Object.prototype.toString.call(n)?"":n})(n.title,{}),s=null==c?void 0:c.toString();return m&&(i["aria-sort"]="ascend"===m?"ascending":"descending"),i["aria-label"]=s||"",i.className=w(i.className,`${t}-column-has-sorters`),i.tabIndex=0,n.ellipsis&&(i.title=(null!=c?c:"").toString()),i}})}return"children"in d&&(d=Object.assign(Object.assign({},d),{children:PH(t,d.children,r,o,i,a,l,u)})),d})),jH=e=>{const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},RH=e=>{const t=e.filter((({sortOrder:e})=>e)).map(jH);if(0===t.length&&e.length){const t=e.length-1;return Object.assign(Object.assign({},jH(e[t])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return t.length<=1?t[0]||{}:t},TH=(e,t,n)=>{const r=t.slice().sort(((e,t)=>t.multiplePriority-e.multiplePriority)),o=e.slice(),i=r.filter((({column:{sorter:e},sortOrder:t})=>NH(e)&&t));return i.length?o.sort(((e,t)=>{for(let n=0;n<i.length;n+=1){const r=i[n],{column:{sorter:o},sortOrder:a}=r,l=NH(o);if(l&&a){const n=l(e,t,a);if(0!==n)return a===EH?n:-n}}return 0})).map((e=>{const r=e[n];return r?Object.assign(Object.assign({},e),{[n]:TH(r,t,n)}):e})):o},zH=t=>{const{prefixCls:n,mergedColumns:r,sortDirections:o,tableLocale:i,showSorterTooltip:a,onSorterChange:l}=t,[c,s]=e.useState((()=>MH(r,!0))),u=(e,t)=>{const n=[];return e.forEach(((e,r)=>{const o=kz(r,t);if(n.push(Sz(e,o)),Array.isArray(e.children)){const t=u(e.children,o);n.push.apply(n,xi(t))}})),n},d=e.useMemo((()=>{let e=!0;const t=MH(r,!1);if(!t.length){const e=u(r);return c.filter((({key:t})=>e.includes(t)))}const n=[];function o(t){e?n.push(t):n.push(Object.assign(Object.assign({},t),{sortOrder:null}))}let i=null;return t.forEach((t=>{null===i?(o(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:i=!0)):(i&&!1!==t.multiplePriority||(e=!1),o(t))})),n}),[r,c]),f=e.useMemo((()=>{var e,t;const n=d.map((({column:e,sortOrder:t})=>({column:e,order:t})));return{sortColumns:n,sortColumn:null===(e=n[0])||void 0===e?void 0:e.column,sortOrder:null===(t=n[0])||void 0===t?void 0:t.order}}),[d]),p=e=>{let t;t=!1!==e.multiplePriority&&d.length&&!1!==d[0].multiplePriority?[].concat(xi(d.filter((({key:t})=>t!==e.key))),[e]):[e],s(t),l(RH(t),t)};return[e=>PH(n,e,d,p,o,i,a),d,f,()=>RH(d)]},HH=(e,t)=>e.map((e=>{const n=Object.assign({},e);return n.title=Ez(e.title,t),"children"in n&&(n.children=HH(n.children,t)),n})),DH=t=>[e.useCallback((e=>HH(e,t)),[t])],BH=AT(((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r})),AH=UT(((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r})),LH=e=>{const{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:o,tableHeaderBg:i,tablePaddingVertical:a,tablePaddingHorizontal:l,calc:c}=e,s=`${qi(n)} ${r} ${o}`,u=(e,r,o)=>({[`&${t}-${e}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${qi(c(r).mul(-1).equal())}\n ${qi(c(c(o).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:s,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:s,borderTop:s,[`\n > ${t}-content,\n > ${t}-header,\n > ${t}-body,\n > ${t}-summary\n `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:s},"> thead":{"> tr:not(:last-child) > th":{borderBottom:s},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:s}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${qi(c(a).mul(-1).equal())} ${qi(c(c(l).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:s,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[`\n > tr${t}-expanded-row,\n > tr${t}-placeholder\n `]:{"> th, > td":{borderInlineEnd:0}}}}}},u("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),u("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:s,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${qi(n)} 0 ${qi(n)} ${i}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:s}}}},FH=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},Bc),{wordBreak:"keep-all",[`\n &${t}-cell-fix-left-last,\n &${t}-cell-fix-right-first\n `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},_H=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}},WH=e=>{const{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:o,paddingXS:i,lineType:a,tableBorderColor:l,tableExpandIconBg:c,tableExpandColumnWidth:s,borderRadius:u,tablePaddingVertical:d,tablePaddingHorizontal:f,tableExpandedRowBg:p,paddingXXS:m,expandIconMarginTop:g,expandIconSize:h,expandIconHalfInner:v,expandIconScale:b,calc:y}=e,x=`${qi(o)} ${a} ${l}`,C=y(m).sub(o).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:s},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},Wc(e)),{position:"relative",float:"left",width:h,height:h,color:"inherit",lineHeight:qi(h),background:c,border:x,borderRadius:u,transform:`scale(${b})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:v,insetInlineEnd:C,insetInlineStart:C,height:o},"&::after":{top:C,bottom:C,insetInlineStart:v,width:o,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:g,marginInlineEnd:i},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:p}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${qi(y(d).mul(-1).equal())} ${qi(y(f).mul(-1).equal())}`,padding:`${qi(d)} ${qi(f)}`}}}},KH=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:o,tableFilterDropdownSearchWidth:i,paddingXXS:a,paddingXS:l,colorText:c,lineWidth:s,lineType:u,tableBorderColor:d,headerIconColor:f,fontSizeSM:p,tablePaddingHorizontal:m,borderRadius:g,motionDurationSlow:h,colorIcon:v,colorPrimary:b,tableHeaderFilterActiveBg:y,colorTextDisabled:x,tableFilterDropdownBg:C,tableFilterDropdownHeight:w,controlItemBgHover:$,controlItemBgActive:S,boxShadowSecondary:k,filterDropdownMenuBg:E,calc:O}=e,I=`${n}-dropdown`,N=`${t}-filter-dropdown`,M=`${n}-tree`,P=`${qi(s)} ${u} ${d}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:O(a).mul(-1).equal(),marginInline:`${qi(a)} ${qi(O(m).div(2).mul(-1).equal())}`,padding:`0 ${qi(a)}`,color:f,fontSize:p,borderRadius:g,cursor:"pointer",transition:`all ${h}`,"&:hover":{color:v,background:y},"&.active":{color:b}}}},{[`${n}-dropdown`]:{[N]:Object.assign(Object.assign({},Ac(e)),{minWidth:o,backgroundColor:C,borderRadius:g,boxShadow:k,overflow:"hidden",[`${I}-menu`]:{maxHeight:w,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:E,"&:empty::after":{display:"block",padding:`${qi(l)} 0`,color:x,fontSize:p,textAlign:"center",content:'"Not Found"'}},[`${N}-tree`]:{paddingBlock:`${qi(l)} 0`,paddingInline:l,[M]:{padding:0},[`${M}-treenode ${M}-node-content-wrapper:hover`]:{backgroundColor:$},[`${M}-treenode-checkbox-checked ${M}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:S}}},[`${N}-search`]:{padding:l,borderBottom:P,"&-input":{input:{minWidth:i},[r]:{color:x}}},[`${N}-checkall`]:{width:"100%",marginBottom:a,marginInlineStart:a},[`${N}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${qi(O(l).sub(s).equal())} ${qi(l)}`,overflow:"hidden",borderTop:P}})}},{[`${n}-dropdown ${N}, ${N}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:l,color:c},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},VH=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:o,zIndexTableFixed:i,tableBg:a,zIndexTableSticky:l,calc:c}=e,s=r;return{[`${t}-wrapper`]:{[`\n ${t}-cell-fix-left,\n ${t}-cell-fix-right\n `]:{position:"sticky !important",zIndex:i,background:a},[`\n ${t}-cell-fix-left-first::after,\n ${t}-cell-fix-left-last::after\n `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:c(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[`\n ${t}-cell-fix-right-first::after,\n ${t}-cell-fix-right-last::after\n `]:{position:"absolute",top:0,bottom:c(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:c(l).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${o}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${s}`},[`\n ${t}-cell-fix-left-first::after,\n ${t}-cell-fix-left-last::after\n `]:{boxShadow:`inset 10px 0 8px -8px ${s}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${s}`},[`\n ${t}-cell-fix-right-first::after,\n ${t}-cell-fix-right-last::after\n `]:{boxShadow:`inset -10px 0 8px -8px ${s}`}},[`${t}-fixed-column-gapped`]:{[`\n ${t}-cell-fix-left-first::after,\n ${t}-cell-fix-left-last::after,\n ${t}-cell-fix-right-first::after,\n ${t}-cell-fix-right-last::after\n `]:{boxShadow:"none"}}}}},qH=e=>{const{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${qi(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},XH=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${qi(n)} ${qi(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${qi(n)} ${qi(n)}`}}}}},GH=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},YH=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:o,padding:i,paddingXS:a,headerIconColor:l,headerIconHoverColor:c,tableSelectionColumnWidth:s,tableSelectedRowBg:u,tableSelectedRowHoverBg:d,tableRowHoverBg:f,tablePaddingHorizontal:p,calc:m}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:s,[`&${t}-selection-col-with-dropdown`]:{width:m(s).add(o).add(m(i).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:m(s).add(m(a).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:m(s).add(o).add(m(i).div(4)).add(m(a).mul(2)).equal()}},[`\n table tr th${t}-selection-column,\n table tr td${t}-selection-column,\n ${t}-selection-column\n `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:m(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:qi(m(p).div(4).equal()),[r]:{color:l,fontSize:o,verticalAlign:"baseline","&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:u,"&-row-hover":{background:d}}},[`> ${t}-cell-row-hover`]:{background:f}}}}}},UH=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,o=(e,o,i,a)=>({[`${t}${t}-${e}`]:{fontSize:a,[`\n ${t}-title,\n ${t}-footer,\n ${t}-cell,\n ${t}-thead > tr > th,\n ${t}-tbody > tr > th,\n ${t}-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n `]:{padding:`${qi(o)} ${qi(i)}`},[`${t}-filter-trigger`]:{marginInlineEnd:qi(r(i).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${qi(r(o).mul(-1).equal())} ${qi(r(i).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:qi(r(o).mul(-1).equal()),marginInline:`${qi(r(n).sub(i).equal())} ${qi(r(i).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:qi(r(i).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},o("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),o("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},QH=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:o,headerIconHoverColor:i}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}, left 0s`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[`\n &${t}-cell-fix-left:hover,\n &${t}-cell-fix-right:hover\n `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:n,color:o,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:i}}}},ZH=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:o,tableScrollThumbSize:i,tableScrollBg:a,zIndexTableSticky:l,stickyScrollBarBorderRadius:c,lineWidth:s,lineType:u,tableBorderColor:d}=e,f=`${qi(s)} ${u} ${d}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:l,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${qi(i)} !important`,zIndex:l,display:"flex",alignItems:"center",background:a,borderTop:f,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:i,backgroundColor:r,borderRadius:c,transition:`all ${e.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:o}}}}}}},JH=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r,calc:o}=e,i=`${qi(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:i}}},[`div${t}-summary`]:{boxShadow:`0 ${qi(o(n).mul(-1).equal())} 0 ${r}`}}}},eD=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:o,tableBorderColor:i,calc:a}=e,l=`${qi(r)} ${o} ${i}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-tbody-virtual-holder-inner`]:{[`\n & > ${t}-row, \n & > div:not(${t}-row) > ${t}-row\n `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${t}-cell`]:{borderBottom:l,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${qi(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:l,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:l,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:a(r).mul(-1).equal(),borderInlineStart:l}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:l,borderBottom:l}}}}}},tD=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:o,tableExpandColumnWidth:i,lineWidth:a,lineType:l,tableBorderColor:c,tableFontSize:s,tableBg:u,tableRadius:d,tableHeaderTextColor:f,motionDurationMid:p,tableHeaderBg:m,tableHeaderCellSplitColor:g,tableFooterTextColor:h,tableFooterBg:v,calc:b}=e,y=`${qi(a)} ${l} ${c}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{[t]:Object.assign(Object.assign({},Ac(e)),{fontSize:s,background:u,borderRadius:`${qi(d)} ${qi(d)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${qi(d)} ${qi(d)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`\n ${t}-cell,\n ${t}-thead > tr > th,\n ${t}-tbody > tr > th,\n ${t}-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n `]:{position:"relative",padding:`${qi(r)} ${qi(o)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${qi(r)} ${qi(o)}`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:m,borderBottom:y,transition:`background ${p} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:g,transform:"translateY(-50%)",transition:`background-color ${p}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${p}, border-color ${p}`,borderBottom:y,[`\n > ${t}-wrapper:only-child,\n > ${t}-expanded-row-fixed > ${t}-wrapper:only-child\n `]:{[t]:{marginBlock:qi(b(r).mul(-1).equal()),marginInline:`${qi(b(i).sub(o).equal())}\n ${qi(b(o).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:m,borderBottom:y,transition:`background ${p} ease`}}},[`${t}-footer`]:{padding:`${qi(r)} ${qi(o)}`,color:h,background:v}})}},nD=Kc("Table",(e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:o,headerBg:i,headerColor:a,headerSortActiveBg:l,headerSortHoverBg:c,bodySortBg:s,rowHoverBg:u,rowSelectedBg:d,rowSelectedHoverBg:f,rowExpandedBg:p,cellPaddingBlock:m,cellPaddingInline:g,cellPaddingBlockMD:h,cellPaddingInlineMD:v,cellPaddingBlockSM:b,cellPaddingInlineSM:y,borderColor:x,footerBg:C,footerColor:w,headerBorderRadius:$,cellFontSize:S,cellFontSizeMD:k,cellFontSizeSM:E,headerSplitColor:O,fixedHeaderSortActiveBg:I,headerFilterHoverBg:N,filterDropdownBg:M,expandIconBg:P,selectionColumnWidth:j,stickyScrollBarBg:R,calc:T}=e,z=Cc(e,{tableFontSize:S,tableBg:r,tableRadius:$,tablePaddingVertical:m,tablePaddingHorizontal:g,tablePaddingVerticalMiddle:h,tablePaddingHorizontalMiddle:v,tablePaddingVerticalSmall:b,tablePaddingHorizontalSmall:y,tableBorderColor:x,tableHeaderTextColor:a,tableHeaderBg:i,tableFooterTextColor:w,tableFooterBg:C,tableHeaderCellSplitColor:O,tableHeaderSortBg:l,tableHeaderSortHoverBg:c,tableBodySortBg:s,tableFixedHeaderSortActiveBg:I,tableHeaderFilterActiveBg:N,tableFilterDropdownBg:M,tableRowHoverBg:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:f,zIndexTableFixed:2,zIndexTableSticky:T(2).add(1).equal({unit:!1}),tableFontSizeMiddle:k,tableFontSizeSmall:E,tableSelectionColumnWidth:j,tableExpandIconBg:P,tableExpandColumnWidth:T(o).add(T(e.padding).mul(2)).equal(),tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:R,tableScrollThumbBgHover:t,tableScrollBg:n});return[tD(z),qH(z),JH(z),QH(z),KH(z),LH(z),XH(z),WH(z),JH(z),_H(z),YH(z),VH(z),ZH(z),FH(z),UH(z),GH(z),eD(z)]}),(e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:o,colorFillContent:i,controlItemBgActive:a,controlItemBgActiveHover:l,padding:c,paddingSM:s,paddingXS:u,colorBorderSecondary:d,borderRadiusLG:f,controlHeight:p,colorTextPlaceholder:m,fontSize:g,fontSizeSM:h,lineHeight:v,lineWidth:b,colorIcon:y,colorIconHover:x,opacityLoading:C,controlInteractiveSize:w}=e,$=new O(o).onBackground(n).toHexString(),S=new O(i).onBackground(n).toHexString(),k=new O(t).onBackground(n).toHexString(),E=new O(y),I=new O(x),N=w/2-b,M=2*N+3*b;return{headerBg:k,headerColor:r,headerSortActiveBg:$,headerSortHoverBg:S,bodySortBg:k,rowHoverBg:k,rowSelectedBg:a,rowSelectedHoverBg:l,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:s,cellPaddingInlineMD:u,cellPaddingBlockSM:u,cellPaddingInlineSM:u,borderColor:d,headerBorderRadius:f,footerBg:k,footerColor:r,cellFontSize:g,cellFontSizeMD:g,cellFontSizeSM:g,headerSplitColor:d,fixedHeaderSortActiveBg:$,headerFilterHoverBg:i,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:p,stickyScrollBarBg:m,stickyScrollBarBorderRadius:100,expandIconMarginTop:(g*v-3*b)/2-Math.ceil((1.4*h-3*b)/2),headerIconColor:E.clone().setA(E.a*C).toRgbString(),headerIconHoverColor:I.clone().setA(I.a*C).toRgbString(),expandIconHalfInner:N,expandIconSize:M,expandIconScale:w/M}}),{unitless:{expandIconScale:!0}}),rD=[],oD=(t,n)=>{var r,o;const{prefixCls:i,className:a,rootClassName:l,style:c,size:s,bordered:u,dropdownPrefixCls:d,dataSource:f,pagination:p,rowSelection:m,rowKey:g="key",rowClassName:h,columns:v,children:b,childrenColumnName:y,onChange:x,getPopupContainer:C,loading:$,expandIcon:S,expandable:k,expandedRowRender:E,expandIconColumnIndex:O,indentSize:I,scroll:N,sortDirections:M,locale:P,showSorterTooltip:j={target:"full-header"},virtual:R}=t;yl();const T=e.useMemo((()=>v||$T(b)),[v,b]),z=cx(e.useMemo((()=>T.some((e=>e.responsive))),[T])),H=e.useMemo((()=>{const e=new Set(Object.keys(z).filter((e=>z[e])));return T.filter((t=>!t.responsive||t.responsive.some((t=>e.has(t)))))}),[T,z]),D=bd(t,["className","style","columns"]),{locale:B=El,direction:A,table:L,renderEmpty:F,getPrefixCls:_,getPopupContainer:W}=e.useContext(Ul),K=Nd(s),V=Object.assign(Object.assign({},B.Table),P),q=f||rD,X=_("table",i),G=_("dropdown",d),[,Y]=Dc(),U=bu(X),[Q,Z,J]=nD(X,U),ee=Object.assign(Object.assign({childrenColumnName:y,expandIconColumnIndex:O},k),{expandIcon:null!==(r=null==k?void 0:k.expandIcon)&&void 0!==r?r:null===(o=null==L?void 0:L.expandable)||void 0===o?void 0:o.expandIcon}),{childrenColumnName:te="children"}=ee,ne=e.useMemo((()=>q.some((e=>null==e?void 0:e[te]))?"nest":E||(null==k?void 0:k.expandedRowRender)?"row":null),[q]),re={body:e.useRef(null)},oe=function(e){return(t,n)=>{const r=t.querySelector(`.${e}-container`);let o=n;if(r){const e=getComputedStyle(r);o=n-parseInt(e.borderLeftWidth,10)-parseInt(e.borderRightWidth,10)}return o}}(X),ie=e.useRef(null),ae=e.useRef(null);$z(n,(()=>Object.assign(Object.assign({},ae.current),{nativeElement:ie.current})));const le=e.useMemo((()=>"function"==typeof g?g:e=>null==e?void 0:e[g]),[g]),[ce]=$H(q,te,le),se={},ue=(e,t,n=!1)=>{var r,o,i,a;const l=Object.assign(Object.assign({},se),e);n&&(null===(r=se.resetPagination)||void 0===r||r.call(se),(null===(o=l.pagination)||void 0===o?void 0:o.current)&&(l.pagination.current=1),p&&(null===(i=p.onChange)||void 0===i||i.call(p,1,null===(a=l.pagination)||void 0===a?void 0:a.pageSize))),N&&!1!==N.scrollToFirstRowOnChange&&re.body.current&&function(e,t={}){const{getContainer:n=()=>window,callback:r,duration:o=450}=t,i=n(),a=vu(i),l=Date.now(),c=()=>{const t=Date.now()-l,n=function(e,t,n,r){const o=n-t;return(e/=r/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}(t>o?o:t,a,e,o);hu(i)?i.scrollTo(window.pageXOffset,n):i instanceof Document||"HTMLDocument"===i.constructor.name?i.documentElement.scrollTop=n:i.scrollTop=n,t<o?Ei(c):"function"==typeof r&&r()};Ei(c)}(0,{getContainer:()=>re.body.current}),null==x||x(l.pagination,l.filters,l.sorter,{currentDataSource:xH(TH(q,l.sorterStates,te),l.filterStates,te),action:t})},[de,fe,pe,me]=zH({prefixCls:X,mergedColumns:H,onSorterChange:(e,t)=>{ue({sorter:e,sorterStates:t},"sort",!1)},sortDirections:M||["ascend","descend"],tableLocale:V,showSorterTooltip:j}),ge=e.useMemo((()=>TH(q,fe,te)),[q,fe]);se.sorter=me(),se.sorterStates=fe;const[he,ve,be]=wH({prefixCls:X,locale:V,dropdownPrefixCls:G,mergedColumns:H,onFilterChange:(e,t)=>{ue({filters:e,filterStates:t},"filter",!0)},getPopupContainer:C||W,rootClassName:w(l,U)}),ye=xH(ge,ve,te);se.filters=be,se.filterStates=ve;const xe=e.useMemo((()=>{const e={};return Object.keys(be).forEach((t=>{null!==be[t]&&(e[t]=be[t])})),Object.assign(Object.assign({},pe),{filters:e})}),[pe,be]),[Ce]=DH(xe),[we,$e]=function(t,n,r){const o=r&&"object"==typeof r?r:{},{total:i=0}=o,a=SH(o,["total"]),[l,c]=e.useState((()=>({current:"defaultCurrent"in a?a.defaultCurrent:1,pageSize:"defaultPageSize"in a?a.defaultPageSize:kH}))),s=Vg(l,a,{total:i>0?i:t}),u=Math.ceil((i||t)/s.pageSize);s.current>u&&(s.current=u||1);const d=(e,t)=>{c({current:null!=e?e:1,pageSize:t||s.pageSize})};return!1===r?[{},()=>{}]:[Object.assign(Object.assign({},s),{onChange:(e,t)=>{var o;r&&(null===(o=r.onChange)||void 0===o||o.call(r,e,t)),d(e,t),n(e,t||(null==s?void 0:s.pageSize))}}),d]}(ye.length,((e,t)=>{ue({pagination:Object.assign(Object.assign({},se.pagination),{current:e,pageSize:t})},"paginate")}),p);se.pagination=!1===p?{}:function(e,t){const n={current:e.current,pageSize:e.pageSize},r=t&&"object"==typeof t?t:{};return Object.keys(r).forEach((t=>{const r=e[t];"function"!=typeof r&&(n[t]=r)})),n}(we,p),se.resetPagination=$e;const Se=e.useMemo((()=>{if(!1===p||!we.pageSize)return ye;const{current:e=1,total:t,pageSize:n=kH}=we;return ye.length<t?ye.length>n?ye.slice((e-1)*n,e*n):ye:ye.slice((e-1)*n,e*n)}),[!!p,ye,null==we?void 0:we.current,null==we?void 0:we.pageSize,null==we?void 0:we.total]),[ke,Ee]=wz({prefixCls:X,data:ye,pageData:Se,getRowKey:le,getRecordByKey:ce,expandType:ne,childrenColumnName:te,locale:V,getPopupContainer:C||W},m);ee.__PARENT_RENDER_ICON__=ee.expandIcon,ee.expandIcon=ee.expandIcon||S||function(t){return n=>{const{prefixCls:r,onExpand:o,record:i,expanded:a,expandable:l}=n,c=`${r}-row-expand-icon`;return e.createElement("button",{type:"button",onClick:e=>{o(i,e),e.stopPropagation()},className:w(c,{[`${c}-spaced`]:!l,[`${c}-expanded`]:l&&a,[`${c}-collapsed`]:l&&!a}),"aria-label":a?t.collapse:t.expand,"aria-expanded":a})}}(V),"nest"===ne&&void 0===ee.expandIconColumnIndex?ee.expandIconColumnIndex=m?1:0:ee.expandIconColumnIndex>0&&m&&(ee.expandIconColumnIndex-=1),"number"!=typeof ee.indentSize&&(ee.indentSize="number"==typeof I?I:15);const Oe=e.useCallback((e=>Ce(ke(he(de(e))))),[de,he,ke]);let Ie,Ne,Me;if(!1!==p&&(null==we?void 0:we.total)){let t;t=we.size?we.size:"small"===K||"middle"===K?"small":void 0;const n=n=>e.createElement(GP,Object.assign({},we,{className:w(`${X}-pagination ${X}-pagination-${n}`,we.className),size:t})),r="rtl"===A?"left":"right",{position:o}=we;if(null!==o&&Array.isArray(o)){const e=o.find((e=>e.includes("top"))),t=o.find((e=>e.includes("bottom"))),i=o.every((e=>"none"==`${e}`));e||t||i||(Ne=n(r)),e&&(Ie=n(e.toLowerCase().replace("top",""))),t&&(Ne=n(t.toLowerCase().replace("bottom","")))}else Ne=n(r)}"boolean"==typeof $?Me={spinning:$}:"object"==typeof $&&(Me=Object.assign({spinning:!0},$));const Pe=w(J,U,`${X}-wrapper`,null==L?void 0:L.className,{[`${X}-wrapper-rtl`]:"rtl"===A},a,l,Z),je=Object.assign(Object.assign({},null==L?void 0:L.style),c),Re=void 0!==(null==P?void 0:P.emptyText)?P.emptyText:(null==F?void 0:F("Table"))||e.createElement(Sy,{componentName:"Table"}),Te=R?AH:BH,ze={},He=e.useMemo((()=>{const{fontSize:e,lineHeight:t,lineWidth:n,padding:r,paddingXS:o,paddingSM:i}=Y,a=Math.floor(e*t);switch(K){case"middle":return 2*i+a+n;case"small":return 2*o+a+n;default:return 2*r+a+n}}),[Y,K]);return R&&(ze.listItemHeight=He),Q(e.createElement("div",{ref:ie,className:Pe,style:je},e.createElement(cj,Object.assign({spinning:!1},Me),Ie,e.createElement(Te,Object.assign({},ze,D,{ref:ae,columns:H,direction:A,expandable:ee,prefixCls:X,className:w({[`${X}-middle`]:"middle"===K,[`${X}-small`]:"small"===K,[`${X}-bordered`]:u,[`${X}-empty`]:0===q.length},J,U,Z),data:Se,rowKey:le,rowClassName:(e,t,n)=>{let r;return r=w("function"==typeof h?h(e,t,n):h),w({[`${X}-row-selected`]:Ee.has(le(e,t))},r)},emptyText:Re,internalHooks:TR,internalRefs:re,transformColumns:Oe,getContainerWidth:oe})),Ne)))},iD=e.forwardRef(oD),aD=(t,n)=>{const r=e.useRef(0);return r.current+=1,e.createElement(iD,Object.assign({},t,{ref:n,_renderTimes:r.current}))},lD=e.forwardRef(aD);lD.SELECTION_COLUMN=hz,lD.EXPAND_COLUMN=RR,lD.SELECTION_ALL=vz,lD.SELECTION_INVERT=bz,lD.SELECTION_NONE=yz,lD.Column=QT,lD.ColumnGroup=ZT,lD.Summary=JR;const cD=lD;var sD=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const{TimePicker:uD,RangePicker:dD}=vN,fD=e.forwardRef(((t,n)=>e.createElement(dD,Object.assign({},t,{picker:"time",mode:void 0,ref:n})))),pD=e.forwardRef(((t,n)=>{var{addon:r,renderExtraFooter:o,variant:i,bordered:a}=t,l=sD(t,["addon","renderExtraFooter","variant","bordered"]);const[c]=ky("timePicker",i,a),s=e.useMemo((()=>o||(r||void 0)),[r,o]);return e.createElement(uD,Object.assign({},l,{mode:void 0,ref:n,renderExtraFooter:s,variant:c}))})),mD=hv(pD,"popupAlign",void 0,"picker");pD._InternalPanelDoNotUseOrYouWillBeFired=mD,pD.RangePicker=fD,pD._InternalPanelDoNotUseOrYouWillBeFired=mD;const gD=pD,hD=e=>{const t={};return[1,2,3,4,5].forEach((n=>{t[`\n h${n}&,\n div&-h${n},\n div&-h${n} > textarea,\n h${n}\n `]=((e,t,n,r)=>{const{titleMarginBottom:o,fontWeightStrong:i}=r;return{marginBottom:o,color:n,fontWeight:i,fontSize:e,lineHeight:t}})(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)})),t},vD=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},Wc(e)),{userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},bD=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:D[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),yD=e=>{const{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(r).mul(-1).equal(),marginBottom:`calc(1em - ${qi(r)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorIcon,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},xD=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),CD=e=>{const{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccessText},[`&${t}-warning`]:{color:e.colorWarningText},[`&${t}-danger`]:{color:e.colorErrorText,"a&:active, a&:focus":{color:e.colorErrorTextActive},"a&:hover":{color:e.colorErrorTextHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},hD(e)),{[`\n & + h1${t},\n & + h2${t},\n & + h3${t},\n & + h4${t},\n & + h5${t}\n `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),bD(e)),vD(e)),{[`\n ${t}-expand,\n ${t}-collapse,\n ${t}-edit,\n ${t}-copy\n `]:Object.assign(Object.assign({},Wc(e)),{marginInlineStart:e.marginXXS})}),yD(e)),xD(e)),{"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),{"&-rtl":{direction:"rtl"}})}},wD=Kc("Typography",(e=>[CD(e)]),(()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}))),$D=t=>{const{prefixCls:n,"aria-label":r,className:o,style:i,direction:a,maxLength:l,autoSize:c=!0,value:s,onSave:u,onCancel:d,onEnd:f,component:p,enterIcon:m=e.createElement(Vt,null)}=t,g=e.useRef(null),h=e.useRef(!1),v=e.useRef(null),[b,y]=e.useState(s);e.useEffect((()=>{y(s)}),[s]),e.useEffect((()=>{var e;if(null===(e=g.current)||void 0===e?void 0:e.resizableTextArea){const{textArea:e}=g.current.resizableTextArea;e.focus();const{length:t}=e.value;e.setSelectionRange(t,t)}}),[]);const x=()=>{u(b.trim())},[C,$,S]=wD(n),k=w(n,`${n}-edit-content`,{[`${n}-rtl`]:"rtl"===a,[`${n}-${p}`]:!!p},o,$,S);return C(e.createElement("div",{className:k,style:i},e.createElement(wP,{ref:g,maxLength:l,value:b,onChange:({target:e})=>{y(e.value.replace(/[\n\r]/g,""))},onKeyDown:({keyCode:e})=>{h.current||(v.current=e)},onKeyUp:({keyCode:e,ctrlKey:t,altKey:n,metaKey:r,shiftKey:o})=>{v.current!==e||h.current||t||n||r||o||(e===yu.ENTER?(x(),null==f||f()):e===yu.ESC&&d())},onCompositionStart:()=>{h.current=!0},onCompositionEnd:()=>{h.current=!1},onBlur:()=>{x()},"aria-label":r,rows:1,autoSize:c}),null!==m?cu(m,{className:`${n}-edit-content-confirm`}):null))};var SD=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}},kD={"text/plain":"Text","text/html":"Url",default:"Text"};var ED=function(e,t){var n,r,o,i,a,l=!1;t||(t={}),t.debug;try{if(r=SD(),o=document.createRange(),i=document.getSelection(),(a=document.createElement("span")).textContent=e,a.ariaHidden="true",a.style.all="unset",a.style.position="fixed",a.style.top=0,a.style.clip="rect(0, 0, 0, 0)",a.style.whiteSpace="pre",a.style.webkitUserSelect="text",a.style.MozUserSelect="text",a.style.msUserSelect="text",a.style.userSelect="text",a.addEventListener("copy",(function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){window.clipboardData.clearData();var r=kD[t.format]||kD.default;window.clipboardData.setData(r,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))})),document.body.appendChild(a),o.selectNodeContents(a),i.addRange(o),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");l=!0}catch(c){try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(s){n=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(n,e)}}finally{i&&("function"==typeof i.removeRange?i.removeRange(o):i.removeAllRanges()),a&&document.body.removeChild(a),r()}return l};const OD=t(ED);var ID=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(y$){i(y$)}}function l(e){try{c(r.throw(e))}catch(y$){i(y$)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}c((r=r.apply(e,t||[])).next())}))};const ND=({copyConfig:t,children:n})=>{const[r,o]=e.useState(!1),[i,a]=e.useState(!1),l=e.useRef(null),c=()=>{l.current&&clearTimeout(l.current)},s={};t.format&&(s.format=t.format),e.useEffect((()=>c),[]);const u=mc((e=>ID(void 0,void 0,void 0,(function*(){var r;null==e||e.preventDefault(),null==e||e.stopPropagation(),a(!0);try{const i="function"==typeof t.text?yield t.text():t.text;OD(i||sj(n,!0).join("")||"",s),a(!1),o(!0),c(),l.current=setTimeout((()=>{o(!1)}),3e3),null===(r=t.onCopy)||void 0===r||r.call(t,e)}catch(i){throw a(!1),i}}))));return{copied:r,copyLoading:i,onClick:u}};function MD(t,n){return e.useMemo((()=>{const e=!!t;return[e,Object.assign(Object.assign({},n),e&&"object"==typeof t?t:null)]}),[t])}const PD=t=>{const n=e.useRef(void 0);return e.useEffect((()=>{n.current=t})),n.current},jD=(t,n,r)=>e.useMemo((()=>!0===t?{title:null!=n?n:r}:e.isValidElement(t)?{title:t}:"object"==typeof t?Object.assign({title:null!=n?n:r},t):{title:t}),[t,n,r]);var RD=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const TD=e.forwardRef(((t,n)=>{const{prefixCls:r,component:o="article",className:i,rootClassName:a,setContentRef:l,children:c,direction:s,style:u}=t,d=RD(t,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:f,direction:p,className:m,style:g}=Zl("typography"),h=null!=s?s:p,v=l?$o(n,l):n,b=f("typography",r),[y,x,C]=wD(b),$=w(b,m,{[`${b}-rtl`]:"rtl"===h},i,a,x,C),S=Object.assign(Object.assign({},g),u);return y(e.createElement(o,Object.assign({className:$,style:S,ref:v},d),c))}));function zD(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function HD(e,t,n){return!0===e||void 0===e?t:e||n&&t}const DD=e=>["string","number"].includes(typeof e),BD=({prefixCls:t,copied:n,locale:r,iconOnly:o,tooltips:i,icon:a,tabIndex:l,onCopy:c,loading:s})=>{const u=zD(i),d=zD(a),{copied:f,copy:p}=null!=r?r:{},m=n?f:p,g=HD(u[n?1:0],m),h="string"==typeof g?g:m;return e.createElement(Hx,{title:g},e.createElement("button",{type:"button",className:w(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:o}),onClick:c,"aria-label":h,tabIndex:l},n?HD(d[1],e.createElement(rt,null),!0):HD(d[0],s?e.createElement(Wn,null):e.createElement(gt,null),!0)))},AD=e.forwardRef((({style:t,children:n},r)=>{const o=e.useRef(null);return e.useImperativeHandle(r,(()=>({isExceed:()=>{const e=o.current;return e.scrollHeight>e.clientHeight},getHeight:()=>o.current.clientHeight}))),e.createElement("span",{"aria-hidden":!0,ref:o,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},t)},n)}));function LD(e,t){let n=0;const r=[];for(let o=0;o<e.length;o+=1){if(n===t)return r;const i=e[o],a=n+(DD(i)?String(i).length:1);if(a>t){const e=t-n;return r.push(String(i).slice(0,e)),r}r.push(i),n=a}return e}const FD=0,_D=4,WD={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function KD(t){const{enableMeasure:n,width:r,text:o,children:i,rows:a,expanded:l,miscDeps:c,onEllipsis:s}=t,u=e.useMemo((()=>Io(o)),[o]),d=e.useMemo((()=>(e=>e.reduce(((e,t)=>e+(DD(t)?String(t).length:1)),0))(u)),[o]),f=e.useMemo((()=>i(u,!1)),[o]),[p,m]=e.useState(null),g=e.useRef(null),h=e.useRef(null),v=e.useRef(null),b=e.useRef(null),y=e.useRef(null),[x,C]=e.useState(!1),[w,$]=e.useState(FD),[S,k]=e.useState(0),[E,O]=e.useState(null);Zi((()=>{$(n&&r&&d?1:FD)}),[r,o,a,n,u]),Zi((()=>{var e,t,n,r;if(1===w){$(2);const e=h.current&&getComputedStyle(h.current).whiteSpace;O(e)}else if(2===w){const o=!!(null===(e=v.current)||void 0===e?void 0:e.isExceed());$(o?3:_D),m(o?[0,d]:null),C(o);const i=(null===(t=v.current)||void 0===t?void 0:t.getHeight())||0,l=1===a?0:(null===(n=b.current)||void 0===n?void 0:n.getHeight())||0,c=(null===(r=y.current)||void 0===r?void 0:r.getHeight())||0,u=Math.max(i,l+c);k(u+1),s(o)}}),[w]);const I=p?Math.ceil((p[0]+p[1])/2):0;Zi((()=>{var e;const[t,n]=p||[0,0];if(t!==n){const r=((null===(e=g.current)||void 0===e?void 0:e.getHeight())||0)>S;let o=I;n-t===1&&(o=r?t:n),m(r?[t,o]:[o,n])}}),[p,I]);const N=e.useMemo((()=>{if(!n)return i(u,!1);if(3!==w||!p||p[0]!==p[1]){const t=i(u,!1);return[_D,FD].includes(w)?t:e.createElement("span",{style:Object.assign(Object.assign({},WD),{WebkitLineClamp:a})},t)}return i(l?u:LD(u,p[0]),x)}),[l,w,p,u].concat(xi(c))),M={width:r,margin:0,padding:0,whiteSpace:"nowrap"===E?"normal":"inherit"};return e.createElement(e.Fragment,null,N,2===w&&e.createElement(e.Fragment,null,e.createElement(AD,{style:Object.assign(Object.assign(Object.assign({},M),WD),{WebkitLineClamp:a}),ref:v},f),e.createElement(AD,{style:Object.assign(Object.assign(Object.assign({},M),WD),{WebkitLineClamp:a-1}),ref:b},f),e.createElement(AD,{style:Object.assign(Object.assign(Object.assign({},M),WD),{WebkitLineClamp:1}),ref:y},i([],!0))),3===w&&p&&p[0]!==p[1]&&e.createElement(AD,{style:Object.assign(Object.assign({},M),{top:400}),ref:g},i(LD(u,I),!0)),1===w&&e.createElement("span",{style:{whiteSpace:"inherit"},ref:h}))}const VD=({enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:o})=>(null==o?void 0:o.title)&&t?e.createElement(Hx,Object.assign({open:!!n&&void 0},o),r):r;var qD=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const XD=e.forwardRef(((t,n)=>{var r;const{prefixCls:o,className:i,style:a,type:l,disabled:c,children:s,ellipsis:u,editable:d,copyable:f,component:p,title:m}=t,g=qD(t,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:h,direction:v}=e.useContext(Ul),[b]=jl("Text"),y=e.useRef(null),x=e.useRef(null),C=h("typography",o),$=bd(g,["mark","code","delete","underline","strong","keyboard","italic"]),[S,k]=MD(d),[E,O]=vc(!1,{value:k.editing}),{triggerType:I=["icon"]}=k,N=e=>{var t;e&&(null===(t=k.onStart)||void 0===t||t.call(k)),O(e)},M=PD(E);Zi((()=>{var e;!E&&M&&(null===(e=x.current)||void 0===e||e.focus())}),[E]);const P=e=>{null==e||e.preventDefault(),N(!0)},j=e=>{var t;null===(t=k.onChange)||void 0===t||t.call(k,e),N(!1)},R=()=>{var e;null===(e=k.onCancel)||void 0===e||e.call(k),N(!1)},[T,z]=MD(f),{copied:H,copyLoading:D,onClick:B}=ND({copyConfig:z,children:s}),[A,L]=e.useState(!1),[F,_]=e.useState(!1),[W,K]=e.useState(!1),[V,q]=e.useState(!1),[X,G]=e.useState(!0),[Y,U]=MD(u,{expandable:!1,symbol:e=>e?null==b?void 0:b.collapse:null==b?void 0:b.expand}),[Q,Z]=vc(U.defaultExpanded||!1,{value:U.expanded}),J=Y&&(!Q||"collapsible"===U.expandable),{rows:ee=1}=U,te=e.useMemo((()=>J&&(void 0!==U.suffix||U.onEllipsis||U.expandable||S||T)),[J,U,S,T]);Zi((()=>{Y&&!te&&(L(Qg("webkitLineClamp")),_(Qg("textOverflow")))}),[te,Y]);const[ne,re]=e.useState(J),oe=e.useMemo((()=>!te&&(1===ee?F:A)),[te,F,A]);Zi((()=>{re(oe&&J)}),[oe,J]);const ie=J&&(ne?V:W),ae=J&&1===ee&&ne,le=J&&ee>1&&ne,[ce,se]=e.useState(0),ue=e=>{var t;K(e),W!==e&&(null===(t=U.onEllipsis)||void 0===t||t.call(U,e))};e.useEffect((()=>{const e=y.current;if(Y&&ne&&e){const t=function(e){const t=document.createElement("em");e.appendChild(t);const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return e.removeChild(t),n.left>r.left||r.right>n.right||n.top>r.top||r.bottom>n.bottom}(e);V!==t&&q(t)}}),[Y,ne,s,le,X,ce]),e.useEffect((()=>{const e=y.current;if("undefined"==typeof IntersectionObserver||!e||!ne||!J)return;const t=new IntersectionObserver((()=>{G(!!e.offsetParent)}));return t.observe(e),()=>{t.disconnect()}}),[ne,J]);const de=jD(U.tooltip,k.text,s),fe=e.useMemo((()=>{if(Y&&!ne)return[k.text,s,m,de.title].find(DD)}),[Y,ne,m,de.title,ie]);if(E)return e.createElement($D,{value:null!==(r=k.text)&&void 0!==r?r:"string"==typeof s?s:"",onSave:j,onCancel:R,onEnd:k.onEnd,prefixCls:C,className:i,style:a,direction:v,component:p,maxLength:k.maxLength,autoSize:k.autoSize,enterIcon:k.enterIcon});const pe=()=>{const{expandable:t,symbol:n}=U;return t?e.createElement("button",{type:"button",key:"expand",className:`${C}-${Q?"collapse":"expand"}`,onClick:e=>((e,t)=>{var n;Z(t.expanded),null===(n=U.onExpand)||void 0===n||n.call(U,e,t)})(e,{expanded:!Q}),"aria-label":Q?b.collapse:null==b?void 0:b.expand},"function"==typeof n?n(Q):n):null},me=()=>{if(!S)return;const{icon:t,tooltip:n,tabIndex:r}=k,o=Io(n)[0]||(null==b?void 0:b.edit),i="string"==typeof o?o:"";return I.includes("icon")?e.createElement(Hx,{key:"edit",title:!1===n?"":o},e.createElement("button",{type:"button",ref:x,className:`${C}-edit`,onClick:P,"aria-label":i,tabIndex:r},t||e.createElement(At,{role:"button"}))):null},ge=t=>[t&&pe(),me(),T?e.createElement(BD,Object.assign({key:"copy"},z,{prefixCls:C,copied:H,locale:b,onCopy:B,loading:D,iconOnly:null==s})):null];return e.createElement(bi,{onResize:({offsetWidth:e})=>{se(e)},disabled:!J},(r=>e.createElement(VD,{tooltipProps:de,enableEllipsis:J,isEllipsis:ie},e.createElement(TD,Object.assign({className:w({[`${C}-${l}`]:l,[`${C}-disabled`]:c,[`${C}-ellipsis`]:Y,[`${C}-ellipsis-single-line`]:ae,[`${C}-ellipsis-multiple-line`]:le},i),prefixCls:o,style:Object.assign(Object.assign({},a),{WebkitLineClamp:le?ee:void 0}),component:p,ref:$o(r,y,n),direction:v,onClick:I.includes("text")?P:void 0,"aria-label":null==fe?void 0:fe.toString(),title:m},$),e.createElement(KD,{enableMeasure:J&&!ne,text:s,rows:ee,width:ce,onEllipsis:ue,expanded:Q,miscDeps:[H,Q,D,S,T,b]},((n,r)=>function({mark:t,code:n,underline:r,delete:o,strong:i,keyboard:a,italic:l},c){let s=c;function u(t,n){n&&(s=e.createElement(t,{},s))}return u("strong",i),u("u",r),u("del",o),u("code",n),u("mark",t),u("kbd",a),u("i",l),s}(t,e.createElement(e.Fragment,null,n.length>0&&r&&!Q&&fe?e.createElement("span",{key:"show-content","aria-hidden":!0},n):n,(t=>[t&&!Q&&e.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),U.suffix,ge(t)])(r)))))))))})),GD=XD;var YD=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const UD=e.forwardRef(((t,n)=>{var{ellipsis:r,rel:o}=t,i=YD(t,["ellipsis","rel"]);const a=Object.assign(Object.assign({},i),{rel:void 0===o&&"_blank"===i.target?"noopener noreferrer":o});return delete a.navigate,e.createElement(GD,Object.assign({},a,{ref:n,ellipsis:!!r,component:"a"}))})),QD=e.forwardRef(((t,n)=>e.createElement(GD,Object.assign({ref:n},t,{component:"div"}))));var ZD=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const JD=(t,n)=>{var{ellipsis:r}=t,o=ZD(t,["ellipsis"]);const i=e.useMemo((()=>r&&"object"==typeof r?bd(r,["expandable","rows"]):r),[r]);return e.createElement(GD,Object.assign({ref:n},o,{ellipsis:i,component:"span"}))},eB=e.forwardRef(JD);var tB=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const nB=[1,2,3,4,5],rB=e.forwardRef(((t,n)=>{const{level:r=1}=t,o=tB(t,["level"]),i=nB.includes(r)?`h${r}`:"h1";return e.createElement(GD,Object.assign({ref:n},o,{component:i}))})),oB=TD;oB.Text=eB,oB.Link=UD,oB.Title=rB,oB.Paragraph=QD;const iB=oB,aB=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var n=r.toLowerCase(),a=t.toLowerCase(),l=[a];return".jpg"!==a&&".jpeg"!==a||(l=[".jpg",".jpeg"]),l.some((function(e){return n.endsWith(e)}))}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&(me(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)}))}return!0};function lB(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(y$){return t}}function cB(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append("".concat(t,"[]"),e)})):n.append(t,r)})),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(function(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}(e,t),lB(t)):e.onSuccess(lB(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach((function(e){null!==r[e]&&t.setRequestHeader(e,r[e])})),t.send(n),{abort:function(){t.abort()}}}var sB=function(){var e=Qu(Yu().mark((function e(t,n){var r,o,i,a,l,c,s,u;return Yu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:c=function(){return(c=Qu(Yu().mark((function e(t){return Yu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){t.file((function(r){n(r)?(t.fullPath&&!r.webkitRelativePath&&(Object.defineProperties(r,{webkitRelativePath:{writable:!0}}),r.webkitRelativePath=t.fullPath.replace(/^\//,""),Object.defineProperties(r,{webkitRelativePath:{writable:!1}})),e(r)):e(null)}))})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)},l=function(e){return c.apply(this,arguments)},a=function(){return(a=Qu(Yu().mark((function e(t){var n,r,o,i,a;return Yu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.createReader(),r=[];case 2:return e.next=5,new Promise((function(e){n.readEntries(e,(function(){return e([])}))}));case 5:if(o=e.sent,i=o.length){e.next=9;break}return e.abrupt("break",12);case 9:for(a=0;a<i;a++)r.push(o[a]);e.next=2;break;case 12:return e.abrupt("return",r);case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)},i=function(e){return a.apply(this,arguments)},r=[],o=[],t.forEach((function(e){return o.push(e.webkitGetAsEntry())})),s=function(){var e=Qu(Yu().mark((function e(t,n){var a,c;return Yu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:if(t.path=n||"",!t.isFile){e.next=10;break}return e.next=6,l(t);case 6:(a=e.sent)&&r.push(a),e.next=15;break;case 10:if(!t.isDirectory){e.next=15;break}return e.next=13,i(t);case 13:c=e.sent,o.push.apply(o,xi(c));case 15:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),u=0;case 9:if(!(u<o.length)){e.next=15;break}return e.next=12,s(o[u]);case 12:u++,e.next=9;break;case 15:return e.abrupt("return",r);case 16:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),uB=+new Date,dB=0;function fB(){return"rc-upload-".concat(uB,"-").concat(++dB)}var pB=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],mB=function(){ci(r,e.Component);var t=pi(r);function r(){var e;oi(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return v(di(e=t.call.apply(t,[this].concat(o))),"state",{uid:fB()}),v(di(e),"reqs",{}),v(di(e),"fileInput",void 0),v(di(e),"_isMounted",void 0),v(di(e),"onChange",(function(t){var n=e.props,r=n.accept,o=n.directory,i=xi(t.target.files).filter((function(e){return!o||aB(e,r)}));e.uploadFiles(i),e.reset()})),v(di(e),"onClick",(function(t){var n=e.fileInput;if(n){var r=t.target,o=e.props.onClick;if(r&&"BUTTON"===r.tagName)n.parentNode.focus(),r.blur();n.click(),o&&o(t)}})),v(di(e),"onKeyDown",(function(t){"Enter"===t.key&&e.onClick(t)})),v(di(e),"onFileDropOrPaste",function(){var t=Qu(Yu().mark((function t(n){var r,o,i,a,l,c,s,u,d;return Yu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n.preventDefault(),"dragover"!==n.type){t.next=3;break}return t.abrupt("return");case 3:if(r=e.props,o=r.multiple,i=r.accept,a=r.directory,l=[],c=[],"drop"===n.type?(s=n.dataTransfer,l=xi(s.items||[]),c=xi(s.files||[])):"paste"===n.type&&(u=n.clipboardData,l=xi(u.items||[]),c=xi(u.files||[])),!a){t.next=14;break}return t.next=10,sB(Array.prototype.slice.call(l),(function(t){return aB(t,e.props.accept)}));case 10:c=t.sent,e.uploadFiles(c),t.next=17;break;case 14:d=xi(c).filter((function(e){return aB(e,i)})),!1===o&&(d=c.slice(0,1)),e.uploadFiles(d);case 17:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),v(di(e),"onPrePaste",(function(t){e.props.pastable&&e.onFileDropOrPaste(t)})),v(di(e),"uploadFiles",(function(t){var n=xi(t),r=n.map((function(t){return t.uid=fB(),e.processFile(t,n)}));Promise.all(r).then((function(t){var n=e.props.onBatchStart;null==n||n(t.map((function(e){return{file:e.origin,parsedFile:e.parsedFile}}))),t.filter((function(e){return null!==e.parsedFile})).forEach((function(t){e.post(t)}))}))})),v(di(e),"processFile",function(){var t=Qu(Yu().mark((function t(n,r){var o,i,a,l,c,s,u,d,f;return Yu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=e.props.beforeUpload,i=n,!o){t.next=14;break}return t.prev=3,t.next=6,o(n,r);case 6:i=t.sent,t.next=12;break;case 9:t.prev=9,t.t0=t.catch(3),i=!1;case 12:if(!1!==i){t.next=14;break}return t.abrupt("return",{origin:n,parsedFile:null,action:null,data:null});case 14:if("function"!=typeof(a=e.props.action)){t.next=21;break}return t.next=18,a(n);case 18:l=t.sent,t.next=22;break;case 21:l=a;case 22:if("function"!=typeof(c=e.props.data)){t.next=29;break}return t.next=26,c(n);case 26:s=t.sent,t.next=30;break;case 29:s=c;case 30:return u="object"!==g(i)&&"string"!=typeof i||!i?n:i,d=u instanceof File?u:new File([u],n.name,{type:n.type}),(f=d).uid=n.uid,t.abrupt("return",{origin:n,data:s,parsedFile:f,action:l});case 35:case"end":return t.stop()}}),t,null,[[3,9]])})));return function(e,n){return t.apply(this,arguments)}}()),v(di(e),"saveFileInput",(function(t){e.fileInput=t})),e}return ai(r,[{key:"componentDidMount",value:function(){this._isMounted=!0,this.props.pastable&&document.addEventListener("paste",this.onPrePaste)}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort(),document.removeEventListener("paste",this.onPrePaste)}},{key:"componentDidUpdate",value:function(e){var t=this.props.pastable;t&&!e.pastable?document.addEventListener("paste",this.onPrePaste):!t&&e.pastable&&document.removeEventListener("paste",this.onPrePaste)}},{key:"post",value:function(e){var t=this,n=e.data,r=e.origin,o=e.action,i=e.parsedFile;if(this._isMounted){var a=this.props,l=a.onStart,c=a.customRequest,s=a.name,u=a.headers,d=a.withCredentials,f=a.method,p=r.uid,m=c||cB,g={action:o,filename:s,data:n,file:i,headers:u,withCredentials:d,method:f||"post",onProgress:function(e){var n=t.props.onProgress;null==n||n(e,i)},onSuccess:function(e,n){var r=t.props.onSuccess;null==r||r(e,i,n),delete t.reqs[p]},onError:function(e,n){var r=t.props.onError;null==r||r(e,n,i),delete t.reqs[p]}};l(r),this.reqs[p]=m(g)}}},{key:"reset",value:function(){this.setState({uid:fB()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e.uid?e.uid:e;t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e=this.props,t=e.component,r=e.prefixCls,o=e.className,i=e.classNames,a=void 0===i?{}:i,l=e.disabled,c=e.id,u=e.name,d=e.style,f=e.styles,p=void 0===f?{}:f,m=e.multiple,g=e.accept,h=e.capture,y=e.children,x=e.directory,C=e.openFileDialogOnClick,$=e.onMouseEnter,S=e.onMouseLeave,k=e.hasControlInside,E=b(e,pB),O=w(v(v(v({},r,!0),"".concat(r,"-disabled"),l),o,o)),I=x?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},N=l?{}:{onClick:C?this.onClick:function(){},onKeyDown:C?this.onKeyDown:function(){},onMouseEnter:$,onMouseLeave:S,onDrop:this.onFileDropOrPaste,onDragOver:this.onFileDropOrPaste,tabIndex:k?void 0:"0"};return n.createElement(t,s({},N,{className:O,role:k?void 0:"button",style:d}),n.createElement("input",s({},au(E,{aria:!0,data:!0}),{id:c,name:u,disabled:l,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:Y({display:"none"},p.input),className:a.input,accept:g},I,{multiple:m,onChange:this.onChange},null!=h?{capture:h}:{})),y)}}]),r}();function gB(){}var hB=function(){ci(r,e.Component);var t=pi(r);function r(){var e;oi(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return v(di(e=t.call.apply(t,[this].concat(o))),"uploader",void 0),v(di(e),"saveUploader",(function(t){e.uploader=t})),e}return ai(r,[{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){return n.createElement(mB,s({},this.props,{ref:this.saveUploader}))}}]),r}();v(hB,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:gB,onError:gB,onSuccess:gB,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});const vB=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${qi(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${qi(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`\n &:not(${t}-disabled):hover,\n &-hover:not(${t}-disabled)\n `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${qi(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${n},\n p${t}-text,\n p${t}-hint\n `]:{color:e.colorTextDisabled}}}}}},bB=e=>{const{componentCls:t,iconCls:n,fontSize:r,lineHeight:o,calc:i}=e,a=`${t}-list-item`,l=`${a}-actions`,c=`${a}-action`;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{lineHeight:e.lineHeight,[a]:{position:"relative",height:i(e.lineHeight).mul(r).equal(),marginTop:e.marginXS,fontSize:r,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,borderRadius:e.borderRadiusSM,"&:hover":{backgroundColor:e.controlItemBgHover},[`${a}-name`]:Object.assign(Object.assign({},Bc),{padding:`0 ${qi(e.paddingXS)}`,lineHeight:o,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[l]:{whiteSpace:"nowrap",[c]:{opacity:0},[n]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[`\n ${c}:focus-visible,\n &.picture ${c}\n `]:{opacity:1}},[`${t}-icon ${n}`]:{color:e.colorIcon,fontSize:r},[`${a}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:i(r).add(e.paddingXS).equal(),fontSize:r,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${a}:hover ${c}`]:{opacity:1},[`${a}-error`]:{color:e.colorError,[`${a}-name, ${t}-icon ${n}`]:{color:e.colorError},[l]:{[`${n}, ${n}:hover`]:{color:e.colorError},[c]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},yB=e=>{const{componentCls:t}=e,n=new cl("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),r=new cl("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),o=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${o}-appear, ${o}-enter, ${o}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${o}-appear, ${o}-enter`]:{animationName:n},[`${o}-leave`]:{animationName:r}}},{[`${t}-wrapper`]:Sf(e)},n,r]},xB=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:o,calc:i}=e,a=`${t}-list`,l=`${a}-item`;return{[`${t}-wrapper`]:{[`\n ${a}${a}-picture,\n ${a}${a}-picture-card,\n ${a}${a}-picture-circle\n `]:{[l]:{position:"relative",height:i(r).add(i(e.lineWidth).mul(2)).add(i(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${qi(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${l}-thumbnail`]:Object.assign(Object.assign({},Bc),{width:r,height:r,lineHeight:qi(i(r).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${l}-progress`]:{bottom:o,width:`calc(100% - ${qi(i(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:i(r).add(e.paddingXS).equal()}},[`${l}-error`]:{borderColor:e.colorError,[`${l}-thumbnail ${n}`]:{[`svg path[fill='${_[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${_.primary}']`]:{fill:e.colorError}}},[`${l}-uploading`]:{borderStyle:"dashed",[`${l}-name`]:{marginBottom:o}}},[`${a}${a}-picture-circle ${l}`]:{[`&, &::before, ${l}-thumbnail`]:{borderRadius:"50%"}}}}},CB=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:o,calc:i}=e,a=`${t}-list`,l=`${a}-item`,c=e.uploadPicCardSize;return{[`\n ${t}-wrapper${t}-picture-card-wrapper,\n ${t}-wrapper${t}-picture-circle-wrapper\n `]:Object.assign(Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{display:"block",[`${t}${t}-select`]:{width:c,height:c,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${qi(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${a}${a}-picture-card, ${a}${a}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${a}-item-container`]:{display:"inline-block",width:c,height:c,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[l]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${qi(i(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${qi(i(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${l}:hover`]:{[`&::before, ${l}-actions`]:{opacity:1}},[`${l}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`\n ${n}-eye,\n ${n}-download,\n ${n}-delete\n `]:{zIndex:10,width:r,margin:`0 ${qi(e.marginXXS)}`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:o,"&:hover":{color:o},svg:{verticalAlign:"baseline"}}},[`${l}-thumbnail, ${l}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${l}-name`]:{display:"none",textAlign:"center"},[`${l}-file + ${l}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${qi(i(e.paddingXS).mul(2).equal())})`},[`${l}-uploading`]:{[`&${l}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${l}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${qi(i(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}},wB=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},$B=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},Ac(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-hidden`]:{display:"none"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},SB=Kc("Upload",(e=>{const{fontSizeHeading3:t,fontHeight:n,lineWidth:r,controlHeightLG:o,calc:i}=e,a=Cc(e,{uploadThumbnailSize:i(t).mul(2).equal(),uploadProgressOffset:i(i(n).div(2)).add(r).equal(),uploadPicCardSize:i(o).mul(2.55).equal()});return[$B(a),vB(a),xB(a),CB(a),bB(a),yB(a),wB(a),bf(a)]}),(e=>({actionsColor:e.colorIcon})));function kB(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function EB(e,t){const n=xi(t),r=n.findIndex((({uid:t})=>t===e.uid));return-1===r?n.push(e):n[r]=e,n}function OB(e,t){const n=void 0!==e.uid?"uid":"name";return t.filter((t=>t[n]===e[n]))[0]}const IB=e=>0===e.indexOf("image/"),NB=e=>{if(e.type&&!e.thumbUrl)return IB(e.type);const t=e.thumbUrl||e.url||"",n=((e="")=>{const t=e.split("/"),n=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]})(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n))||!/^data:/.test(t)&&!n},MB=200;function PB(e){return new Promise((t=>{if(!e.type||!IB(e.type))return void t("");const n=document.createElement("canvas");n.width=MB,n.height=MB,n.style.cssText="position: fixed; left: 0; top: 0; width: 200px; height: 200px; z-index: 9999; display: none;",document.body.appendChild(n);const r=n.getContext("2d"),o=new Image;if(o.onload=()=>{const{width:e,height:i}=o;let a=MB,l=MB,c=0,s=0;e>i?(l=i*(MB/e),s=-(l-a)/2):(a=e*(MB/i),c=-(a-l)/2),r.drawImage(o,c,s,a,l);const u=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(o.src),t(u)},o.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const t=new FileReader;t.onload=()=>{t.result&&"string"==typeof t.result&&(o.src=t.result)},t.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const n=new FileReader;n.onload=()=>{n.result&&t(n.result)},n.readAsDataURL(e)}else o.src=window.URL.createObjectURL(e)}))}const jB=e.forwardRef((({prefixCls:t,className:n,style:r,locale:o,listType:i,file:a,items:l,progress:c,iconRender:s,actionIconRender:u,itemRender:d,isImgUrl:f,showPreviewIcon:p,showRemoveIcon:m,showDownloadIcon:g,previewIcon:h,removeIcon:v,downloadIcon:b,extra:y,onPreview:x,onDownload:C,onClose:$},S)=>{var k,E;const{status:O}=a,[I,N]=e.useState(O);e.useEffect((()=>{"removed"!==O&&N(O)}),[O]);const[M,P]=e.useState(!1);e.useEffect((()=>{const e=setTimeout((()=>{P(!0)}),300);return()=>{clearTimeout(e)}}),[]);const j=s(a);let R=e.createElement("div",{className:`${t}-icon`},j);if("picture"===i||"picture-card"===i||"picture-circle"===i)if("uploading"===I||!a.thumbUrl&&!a.url){const n=w(`${t}-list-item-thumbnail`,{[`${t}-list-item-file`]:"uploading"!==I});R=e.createElement("div",{className:n},j)}else{const n=(null==f?void 0:f(a))?e.createElement("img",{src:a.thumbUrl||a.url,alt:a.name,className:`${t}-list-item-image`,crossOrigin:a.crossOrigin}):j,r=w(`${t}-list-item-thumbnail`,{[`${t}-list-item-file`]:f&&!f(a)});R=e.createElement("a",{className:r,onClick:e=>x(a,e),href:a.url||a.thumbUrl,target:"_blank",rel:"noopener noreferrer"},n)}const T=w(`${t}-list-item`,`${t}-list-item-${I}`),z="string"==typeof a.linkProps?JSON.parse(a.linkProps):a.linkProps,H=("function"==typeof m?m(a):m)?u(("function"==typeof v?v(a):v)||e.createElement(Ct,null),(()=>$(a)),t,o.removeFile,!0):null,D=("function"==typeof g?g(a):g)&&"done"===I?u(("function"==typeof b?b(a):b)||e.createElement(Rt,null),(()=>C(a)),t,o.downloadFile):null,B="picture-card"!==i&&"picture-circle"!==i&&e.createElement("span",{key:"download-delete",className:w(`${t}-list-item-actions`,{picture:"picture"===i})},D,H),A="function"==typeof y?y(a):y,L=A&&e.createElement("span",{className:`${t}-list-item-extra`},A),F=w(`${t}-list-item-name`),_=a.url?e.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:F,title:a.name},z,{href:a.url,onClick:e=>x(a,e)}),a.name,L):e.createElement("span",{key:"view",className:F,onClick:e=>x(a,e),title:a.name},a.name,L),W=("function"==typeof p?p(a):p)&&(a.url||a.thumbUrl)?e.createElement("a",{href:a.url||a.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:e=>x(a,e),title:o.previewFile},"function"==typeof h?h(a):h||e.createElement(rn,null)):null,K=("picture-card"===i||"picture-circle"===i)&&"uploading"!==I&&e.createElement("span",{className:`${t}-list-item-actions`},W,"done"===I&&D,H),{getPrefixCls:V}=e.useContext(Ul),q=V(),X=e.createElement("div",{className:T},R,_,B,K,M&&e.createElement(Ts,{motionName:`${q}-fade`,visible:"uploading"===I,motionDeadline:2e3},(({className:n})=>{const r="percent"in a?e.createElement(uR,Object.assign({},c,{type:"line",percent:a.percent,"aria-label":a["aria-label"],"aria-labelledby":a["aria-labelledby"]})):null;return e.createElement("div",{className:w(`${t}-list-item-progress`,n)},r)}))),G=a.response&&"string"==typeof a.response?a.response:(null===(k=a.error)||void 0===k?void 0:k.statusText)||(null===(E=a.error)||void 0===E?void 0:E.message)||o.uploadError,Y="error"===I?e.createElement(Hx,{title:G,getPopupContainer:e=>e.parentNode},X):X;return e.createElement("div",{className:w(`${t}-list-item-container`,n),style:r,ref:S},d?d(Y,a,l,{download:C.bind(null,a),preview:x.bind(null,a),remove:$.bind(null,a)}):Y)})),RB=jB,TB=(t,n)=>{const{listType:r="text",previewFile:o=PB,onPreview:i,onDownload:a,onRemove:l,locale:c,iconRender:s,isImageUrl:u=NB,prefixCls:d,items:f=[],showPreviewIcon:p=!0,showRemoveIcon:m=!0,showDownloadIcon:g=!1,removeIcon:h,previewIcon:v,downloadIcon:b,extra:y,progress:x={size:[-1,2],showInfo:!1},appendAction:C,appendActionVisible:$=!0,itemRender:S,disabled:k}=t,E=lx(),[O,I]=e.useState(!1),N=["picture-card","picture-circle"].includes(r);e.useEffect((()=>{r.startsWith("picture")&&(f||[]).forEach((e=>{(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",null==o||o(e.originFileObj).then((t=>{e.thumbUrl=t||"",E()})))}))}),[r,f,o]),e.useEffect((()=>{I(!0)}),[]);const M=(e,t)=>{if(i)return null==t||t.preventDefault(),i(e)},P=e=>{"function"==typeof a?a(e):e.url&&window.open(e.url)},j=e=>{null==l||l(e)},R=t=>{if(s)return s(t,r);const n="uploading"===t.status;if(r.startsWith("picture")){const o="picture"===r?e.createElement(Wn,null):c.uploading,i=(null==u?void 0:u(t))?e.createElement(lr,null):e.createElement(hn,null);return n?o:i}return n?e.createElement(Wn,null):e.createElement(or,null)},T=(t,n,r,o,i)=>{const a={type:"text",size:"small",title:o,onClick:r=>{var o,i;n(),e.isValidElement(t)&&(null===(i=(o=t.props).onClick)||void 0===i||i.call(o,r))},className:`${r}-list-item-action`,disabled:!!i&&k};return e.isValidElement(t)?e.createElement(Yp,Object.assign({},a,{icon:cu(t,Object.assign(Object.assign({},t.props),{onClick:()=>{}}))})):e.createElement(Yp,Object.assign({},a),e.createElement("span",null,t))};e.useImperativeHandle(n,(()=>({handlePreview:M,handleDownload:P})));const{getPrefixCls:z}=e.useContext(Ul),H=z("upload",d),D=z(),B=w(`${H}-list`,`${H}-list-${r}`),A=e.useMemo((()=>bd(vd(D),["onAppearEnd","onEnterEnd","onLeaveEnd"])),[D]),L=Object.assign(Object.assign({},N?{}:A),{motionDeadline:2e3,motionName:`${H}-${N?"animate-inline":"animate"}`,keys:xi(f.map((e=>({key:e.uid,file:e})))),motionAppear:O});return e.createElement("div",{className:B},e.createElement(Ks,Object.assign({},L,{component:!1}),(({key:t,file:n,className:o,style:i})=>e.createElement(RB,{key:t,locale:c,prefixCls:H,className:o,style:i,file:n,items:f,progress:x,listType:r,isImgUrl:u,showPreviewIcon:p,showRemoveIcon:m,showDownloadIcon:g,removeIcon:h,previewIcon:v,downloadIcon:b,extra:y,iconRender:R,actionIconRender:T,itemRender:S,onPreview:M,onDownload:P,onClose:j}))),C&&e.createElement(Ts,Object.assign({},L,{visible:$,forceRender:!0}),(({className:e,style:t})=>cu(C,(n=>({className:w(n.className,e),style:Object.assign(Object.assign(Object.assign({},t),{pointerEvents:e?"none":void 0}),n.style)}))))))},zB=e.forwardRef(TB);var HB=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(y$){i(y$)}}function l(e){try{c(r.throw(e))}catch(y$){i(y$)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}c((r=r.apply(e,t||[])).next())}))};const DB=`__LIST_IGNORE_${Date.now()}__`,BB=(t,n)=>{const{fileList:r,defaultFileList:o,onRemove:a,showUploadList:l=!0,listType:c="text",onPreview:s,onDownload:u,onChange:d,onDrop:f,previewFile:p,disabled:m,locale:g,iconRender:h,isImageUrl:v,progress:b,prefixCls:y,className:x,type:C="select",children:$,style:S,itemRender:k,maxCount:E,data:O={},multiple:I=!1,hasControlInside:N=!0,action:M="",accept:P="",supportServerRender:j=!0,rootClassName:R}=t,T=e.useContext(rc),z=null!=m?m:T,[H,D]=vc(o||[],{value:r,postState:e=>null!=e?e:[]}),[B,A]=e.useState("drop"),L=e.useRef(null),F=e.useRef(null);e.useMemo((()=>{const e=Date.now();(r||[]).forEach(((t,n)=>{t.uid||Object.isFrozen(t)||(t.uid=`__AUTO__${e}_${n}__`)}))}),[r]);const _=(e,t,n)=>{let r=xi(t),o=!1;1===E?r=r.slice(-1):E&&(o=r.length>E,r=r.slice(0,E)),i.flushSync((()=>{D(r)}));const a={file:e,fileList:r};n&&(a.event=n),o&&"removed"!==e.status&&!r.some((t=>t.uid===e.uid))||i.flushSync((()=>{null==d||d(a)}))},W=e=>{const t=e.filter((e=>!e.file[DB]));if(!t.length)return;const n=t.map((e=>kB(e.file)));let r=xi(H);n.forEach((e=>{r=EB(e,r)})),n.forEach(((e,n)=>{let o=e;if(t[n].parsedFile)e.status="uploading";else{const{originFileObj:t}=e;let n;try{n=new File([t],t.name,{type:t.type})}catch(i){n=new Blob([t],{type:t.type}),n.name=t.name,n.lastModifiedDate=new Date,n.lastModified=(new Date).getTime()}n.uid=e.uid,o=n}_(o,r)}))},K=(e,t,n)=>{try{"string"==typeof e&&(e=JSON.parse(e))}catch(i){}if(!OB(t,H))return;const r=kB(t);r.status="done",r.percent=100,r.response=e,r.xhr=n;const o=EB(r,H);_(r,o)},V=(e,t)=>{if(!OB(t,H))return;const n=kB(t);n.status="uploading",n.percent=e.percent;const r=EB(n,H);_(n,r,e)},q=(e,t,n)=>{if(!OB(n,H))return;const r=kB(n);r.error=e,r.response=t,r.status="error";const o=EB(r,H);_(r,o)},X=e=>{let t;Promise.resolve("function"==typeof a?a(e):a).then((n=>{var r;if(!1===n)return;const o=function(e,t){const n=void 0!==e.uid?"uid":"name",r=t.filter((t=>t[n]!==e[n]));return r.length===t.length?null:r}(e,H);o&&(t=Object.assign(Object.assign({},e),{status:"removed"}),null==H||H.forEach((e=>{const n=void 0!==t.uid?"uid":"name";e[n]!==t[n]||Object.isFrozen(e)||(e.status="removed")})),null===(r=L.current)||void 0===r||r.abort(t),_(t,o))}))},G=e=>{A(e.type),"drop"===e.type&&(null==f||f(e))};e.useImperativeHandle(n,(()=>({onBatchStart:W,onSuccess:K,onProgress:V,onError:q,fileList:H,upload:L.current,nativeElement:F.current})));const{getPrefixCls:Y,direction:U,upload:Q}=e.useContext(Ul),Z=Y("upload",y),J=Object.assign(Object.assign({onBatchStart:W,onError:q,onProgress:V,onSuccess:K},t),{data:O,multiple:I,action:M,accept:P,supportServerRender:j,prefixCls:Z,disabled:z,beforeUpload:(e,n)=>HB(void 0,void 0,void 0,(function*(){const{beforeUpload:r,transformFile:o}=t;let i=e;if(r){const t=yield r(e,n);if(!1===t)return!1;if(delete e[DB],t===DB)return Object.defineProperty(e,DB,{value:!0,configurable:!0}),!1;"object"==typeof t&&t&&(i=t)}return o&&(i=yield o(i)),i})),onChange:void 0,hasControlInside:N});delete J.className,delete J.style,$&&!z||delete J.id;const ee=`${Z}-wrapper`,[te,ne,re]=SB(Z,ee),[oe]=jl("Upload",El.Upload),{showRemoveIcon:ie,showPreviewIcon:ae,showDownloadIcon:le,removeIcon:ce,previewIcon:se,downloadIcon:ue,extra:de}="boolean"==typeof l?{}:l,fe=void 0===ie?!z:ie,pe=(t,n)=>l?e.createElement(zB,{prefixCls:Z,listType:c,items:H,previewFile:p,onPreview:s,onDownload:u,onRemove:X,showRemoveIcon:fe,showPreviewIcon:ae,showDownloadIcon:le,removeIcon:ce,previewIcon:se,downloadIcon:ue,iconRender:h,extra:de,locale:Object.assign(Object.assign({},oe),g),isImageUrl:v,progress:b,appendAction:t,appendActionVisible:n,itemRender:k,disabled:z}):t,me=w(ee,x,R,ne,re,null==Q?void 0:Q.className,{[`${Z}-rtl`]:"rtl"===U,[`${Z}-picture-card-wrapper`]:"picture-card"===c,[`${Z}-picture-circle-wrapper`]:"picture-circle"===c}),ge=Object.assign(Object.assign({},null==Q?void 0:Q.style),S);if("drag"===C){const t=w(ne,Z,`${Z}-drag`,{[`${Z}-drag-uploading`]:H.some((e=>"uploading"===e.status)),[`${Z}-drag-hover`]:"dragover"===B,[`${Z}-disabled`]:z,[`${Z}-rtl`]:"rtl"===U});return te(e.createElement("span",{className:me,ref:F},e.createElement("div",{className:t,style:ge,onDrop:G,onDragOver:G,onDragLeave:G},e.createElement(hB,Object.assign({},J,{ref:L,className:`${Z}-btn`}),e.createElement("div",{className:`${Z}-drag-container`},$))),pe()))}const he=w(Z,`${Z}-select`,{[`${Z}-disabled`]:z,[`${Z}-hidden`]:!$}),ve=e.createElement("div",{className:he},e.createElement(hB,Object.assign({},J,{ref:L})));return te("picture-card"===c||"picture-circle"===c?e.createElement("span",{className:me,ref:F},pe(ve,!!$)):e.createElement("span",{className:me,ref:F},ve,pe()))},AB=e.forwardRef(BB);var LB=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const FB=e.forwardRef(((t,n)=>{var{style:r,height:o,hasControlInside:i=!1}=t,a=LB(t,["style","height","hasControlInside"]);return e.createElement(AB,Object.assign({ref:n,hasControlInside:i},a,{type:"drag",style:Object.assign(Object.assign({},r),{height:o})}))})),_B=AB;_B.Dragger=FB,_B.LIST_IGNORE=DB;const WB=_B;export{rn as $,Re as A,f$ as B,ft as C,vN as D,Ht as E,KM as F,HO as G,Qt as H,SP as I,sp as J,et as K,wM as L,Sj as M,iB as N,rt as O,pr as P,un as Q,wr as R,ox as S,Hx as T,Wr as U,Dn as V,qr as W,Dr as X,Yr as Y,Zn as Z,Y as _,g as a,II as a0,C as a1,ti as a2,$O as a3,CR as a4,ur as a5,Qe as a6,At as a7,Rt as a8,jj as a9,cj as aa,Wn as ab,Lr as ac,Qu as ad,v as ae,m as b,w as c,Yp as d,jR as e,WB as f,m$ as g,I$ as h,Tn as i,qN as j,cD as k,bt as l,yj as m,BN as n,gD as o,mI as p,dI as q,Gk as r,aI as s,at as t,ln as u,en as v,Yn as w,qn as x,Me as y,$y as z}; diff --git a/dist1 (2)/assets/userIMG-505960af.webp b/dist1 (2)/assets/userIMG-505960af.webp new file mode 100644 index 0000000..96cf3f8 Binary files /dev/null and b/dist1 (2)/assets/userIMG-505960af.webp differ diff --git a/dist1 (2)/assets/userreg-eb98e1d2.jpg b/dist1 (2)/assets/userreg-eb98e1d2.jpg new file mode 100644 index 0000000..0f18bdd Binary files /dev/null and b/dist1 (2)/assets/userreg-eb98e1d2.jpg differ diff --git a/dist1 (2)/assets/utils-faf49605.js b/dist1 (2)/assets/utils-faf49605.js new file mode 100644 index 0000000..a8ab1ca --- /dev/null +++ b/dist1 (2)/assets/utils-faf49605.js @@ -0,0 +1,26 @@ +import{f as e,e as t,g as r}from"./vendor-c65bce76.js";function n(e,t){return function(){return e.apply(t,arguments)}}const{toString:i}=Object.prototype,{getPrototypeOf:s}=Object,{iterator:o,toStringTag:a}=Symbol,c=(u=Object.create(null),e=>{const t=i.call(e);return u[t]||(u[t]=t.slice(8,-1).toLowerCase())});var u;const l=e=>(e=e.toLowerCase(),t=>c(t)===e),h=e=>t=>typeof t===e,{isArray:d}=Array,f=h("undefined");function p(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&_(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const m=l("ArrayBuffer");const y=h("string"),_=h("function"),g=h("number"),v=e=>null!==e&&"object"==typeof e,w=e=>{if("object"!==c(e))return!1;const t=s(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||a in e||o in e)},b=l("Date"),S=l("File"),k=l("Blob"),x=l("FileList"),O=l("URLSearchParams"),[D,M,R,T]=["ReadableStream","Request","Response","Headers"].map(l);function E(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,i;if("object"!=typeof e&&(e=[e]),d(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{if(p(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let o;for(n=0;n<s;n++)o=i[n],t.call(null,e[o],o,e)}}function C(e,t){if(p(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n,i=r.length;for(;i-- >0;)if(n=r[i],t===n.toLowerCase())return n;return null}const A="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,B=e=>!f(e)&&e!==A;const Y=(N="undefined"!=typeof Uint8Array&&s(Uint8Array),e=>N&&e instanceof N);var N;const P=l("HTMLFormElement"),H=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),F=l("RegExp"),U=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};E(r,((r,i)=>{let s;!1!==(s=t(r,i,e))&&(n[i]=s||r)})),Object.defineProperties(e,n)};const j=l("AsyncFunction"),L=(W="function"==typeof setImmediate,z=_(A.postMessage),W?setImmediate:z?(I=`axios@${Math.random()}`,V=[],A.addEventListener("message",(({source:e,data:t})=>{e===A&&t===I&&V.length&&V.shift()()}),!1),e=>{V.push(e),A.postMessage(I,"*")}):e=>setTimeout(e));var W,z,I,V;const G="undefined"!=typeof queueMicrotask?queueMicrotask.bind(A):"undefined"!=typeof process&&process.nextTick||L,q={isArray:d,isArrayBuffer:m,isBuffer:p,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||_(e.append)&&("formdata"===(t=c(e))||"object"===t&&_(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&m(e.buffer),t},isString:y,isNumber:g,isBoolean:e=>!0===e||!1===e,isObject:v,isPlainObject:w,isEmptyObject:e=>{if(!v(e)||p(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},isReadableStream:D,isRequest:M,isResponse:R,isHeaders:T,isUndefined:f,isDate:b,isFile:S,isBlob:k,isRegExp:F,isFunction:_,isStream:e=>v(e)&&_(e.pipe),isURLSearchParams:O,isTypedArray:Y,isFileList:x,forEach:E,merge:function e(){const{caseless:t,skipUndefined:r}=B(this)&&this||{},n={},i=(i,s)=>{const o=t&&C(n,s)||s;w(n[o])&&w(i)?n[o]=e(n[o],i):w(i)?n[o]=e({},i):d(i)?n[o]=i.slice():r&&f(i)||(n[o]=i)};for(let s=0,o=arguments.length;s<o;s++)arguments[s]&&E(arguments[s],i);return n},extend:(e,t,r,{allOwnKeys:i}={})=>(E(t,((t,i)=>{r&&_(t)?e[i]=n(t,r):e[i]=t}),{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let i,o,a;const c={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],n&&!n(a,e,t)||c[a]||(t[a]=e[a],c[a]=!0);e=!1!==r&&s(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:c,kindOfTest:l,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(d(e))return e;let t=e.length;if(!g(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[o]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:P,hasOwnProperty:H,hasOwnProp:H,reduceDescriptors:U,freezeMethods:e=>{U(e,((t,r)=>{if(_(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];_(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach((e=>{r[e]=!0}))};return d(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:C,global:A,isContextDefined:B,isSpecCompliantForm:function(e){return!!(e&&_(e.append)&&"FormData"===e[a]&&e[o])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(v(e)){if(t.indexOf(e)>=0)return;if(p(e))return e;if(!("toJSON"in e)){t[n]=e;const i=d(e)?[]:{};return E(e,((e,t)=>{const s=r(e,n+1);!f(s)&&(i[t]=s)})),t[n]=void 0,i}}return e};return r(e,0)},isAsyncFn:j,isThenable:e=>e&&(v(e)||_(e))&&_(e.then)&&_(e.catch),setImmediate:L,asap:G,isIterable:e=>null!=e&&_(e[o])};function Z(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status?i.status:null)}q.inherits(Z,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.status}}});const K=Z.prototype,J={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{J[e]={value:e}})),Object.defineProperties(Z,J),Object.defineProperty(K,"isAxiosError",{value:!0}),Z.from=(e,t,r,n,i,s)=>{const o=Object.create(K);q.toFlatObject(e,o,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e));const a=e&&e.message?e.message:"Error",c=null==t&&e?e.code:t;return Z.call(o,a,c,r,n,i),e&&null==o.cause&&Object.defineProperty(o,"cause",{value:e,configurable:!0}),o.name=e&&e.name||"Error",s&&Object.assign(o,s),o};function X(e){return q.isPlainObject(e)||q.isArray(e)}function $(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function Q(e,t,r){return e?e.concat(t).map((function(e,t){return e=$(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}const ee=q.toFlatObject(q,{},null,(function(e){return/^is[A-Z]/.test(e)}));function te(e,t,r){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=q.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!q.isUndefined(t[e])}))).metaTokens,i=r.visitor||u,s=r.dots,o=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(q.isDate(e))return e.toISOString();if(q.isBoolean(e))return e.toString();if(!a&&q.isBlob(e))throw new Z("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(e)||q.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,r,i){let a=e;if(e&&!i&&"object"==typeof e)if(q.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(q.isArray(e)&&function(e){return q.isArray(e)&&!e.some(X)}(e)||(q.isFileList(e)||q.endsWith(r,"[]"))&&(a=q.toArray(e)))return r=$(r),a.forEach((function(e,n){!q.isUndefined(e)&&null!==e&&t.append(!0===o?Q([r],n,s):null===o?r:r+"[]",c(e))})),!1;return!!X(e)||(t.append(Q(i,r,s),c(e)),!1)}const l=[],h=Object.assign(ee,{defaultVisitor:u,convertValue:c,isVisitable:X});if(!q.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!q.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),q.forEach(r,(function(r,s){!0===(!(q.isUndefined(r)||null===r)&&i.call(t,r,q.isString(s)?s.trim():s,n,h))&&e(r,n?n.concat(s):[s])})),l.pop()}}(e),t}function re(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ne(e,t){this._pairs=[],e&&te(e,this,t)}const ie=ne.prototype;function se(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function oe(e,t,r){if(!t)return e;const n=r&&r.encode||se;q.isFunction(r)&&(r={serialize:r});const i=r&&r.serialize;let s;if(s=i?i(t,r):q.isURLSearchParams(t)?t.toString():new ne(t,r).toString(n),s){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}ie.append=function(e,t){this._pairs.push([e,t])},ie.toString=function(e){const t=e?function(t){return e.call(this,t,re)}:re;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ae=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){q.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ce={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ue={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ne,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},le="undefined"!=typeof window&&"undefined"!=typeof document,he="object"==typeof navigator&&navigator||void 0,de=le&&(!he||["ReactNative","NativeScript","NS"].indexOf(he.product)<0),fe="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,pe=le&&window.location.href||"http://localhost",me={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:le,hasStandardBrowserEnv:de,hasStandardBrowserWebWorkerEnv:fe,navigator:he,origin:pe},Symbol.toStringTag,{value:"Module"})),...ue};function ye(e){function t(e,r,n,i){let s=e[i++];if("__proto__"===s)return!0;const o=Number.isFinite(+s),a=i>=e.length;if(s=!s&&q.isArray(n)?n.length:s,a)return q.hasOwnProp(n,s)?n[s]=[n[s],r]:n[s]=r,!o;n[s]&&q.isObject(n[s])||(n[s]=[]);return t(e,r,n[s],i)&&q.isArray(n[s])&&(n[s]=function(e){const t={},r=Object.keys(e);let n;const i=r.length;let s;for(n=0;n<i;n++)s=r[n],t[s]=e[s];return t}(n[s])),!o}if(q.isFormData(e)&&q.isFunction(e.entries)){const r={};return q.forEachEntry(e,((e,n)=>{t(function(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),n,r,0)})),r}return null}const _e={transitional:ce,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,i=q.isObject(e);i&&q.isHTMLForm(e)&&(e=new FormData(e));if(q.isFormData(e))return n?JSON.stringify(ye(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return te(e,new me.classes.URLSearchParams,{visitor:function(e,t,r,n){return me.isNode&&q.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((s=q.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return te(s?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||n?(t.setContentType("application/json",!1),function(e,t,r){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(n){if("SyntaxError"!==n.name)throw n}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||_e.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(r&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e,this.parseReviver)}catch(i){if(r){if("SyntaxError"===i.name)throw Z.from(i,Z.ERR_BAD_RESPONSE,this,null,this.response);throw i}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:me.classes.FormData,Blob:me.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],(e=>{_e.headers[e]={}}));const ge=_e,ve=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),we=Symbol("internals");function be(e){return e&&String(e).trim().toLowerCase()}function Se(e){return!1===e||null==e?e:q.isArray(e)?e.map(Se):String(e)}function ke(e,t,r,n,i){return q.isFunction(n)?n.call(this,t,r):(i&&(t=r),q.isString(t)?q.isString(n)?-1!==t.indexOf(n):q.isRegExp(n)?n.test(t):void 0:void 0)}class xe{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function i(e,t,r){const i=be(t);if(!i)throw new Error("header name must be a non-empty string");const s=q.findKey(n,i);(!s||void 0===n[s]||!0===r||void 0===r&&!1!==n[s])&&(n[s||t]=Se(e))}const s=(e,t)=>q.forEach(e,((e,r)=>i(e,r,t)));if(q.isPlainObject(e)||e instanceof this.constructor)s(e,t);else if(q.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))s((e=>{const t={};let r,n,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),r=e.substring(0,i).trim().toLowerCase(),n=e.substring(i+1).trim(),!r||t[r]&&ve[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)})),t})(e),t);else if(q.isObject(e)&&q.isIterable(e)){let r,n,i={};for(const t of e){if(!q.isArray(t))throw TypeError("Object iterator must return a key-value pair");i[n=t[0]]=(r=i[n])?q.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}s(i,t)}else null!=e&&i(t,e,r);return this}get(e,t){if(e=be(e)){const r=q.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(q.isFunction(t))return t.call(this,e,r);if(q.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=be(e)){const r=q.findKey(this,e);return!(!r||void 0===this[r]||t&&!ke(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function i(e){if(e=be(e)){const i=q.findKey(r,e);!i||t&&!ke(0,r[i],i,t)||(delete r[i],n=!0)}}return q.isArray(e)?e.forEach(i):i(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const i=t[r];e&&!ke(0,this[i],i,e,!0)||(delete this[i],n=!0)}return n}normalize(e){const t=this,r={};return q.forEach(this,((n,i)=>{const s=q.findKey(r,i);if(s)return t[s]=Se(n),void delete t[i];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}(i):String(i).trim();o!==i&&delete t[i],t[o]=Se(n),r[o]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return q.forEach(this,((r,n)=>{null!=r&&!1!==r&&(t[n]=e&&q.isArray(r)?r.join(", "):r)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach((e=>r.set(e))),r}static accessor(e){const t=(this[we]=this[we]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=be(e);t[n]||(!function(e,t){const r=q.toCamelCase(" "+t);["get","set","has"].forEach((n=>{Object.defineProperty(e,n+r,{value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:!0})}))}(r,e),t[n]=!0)}return q.isArray(e)?e.forEach(n):n(e),this}}xe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),q.reduceDescriptors(xe.prototype,(({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}})),q.freezeMethods(xe);const Oe=xe;function De(e,t){const r=this||ge,n=t||r,i=Oe.from(n.headers);let s=n.data;return q.forEach(e,(function(e){s=e.call(r,s,i.normalize(),t?t.status:void 0)})),i.normalize(),s}function Me(e){return!(!e||!e.__CANCEL__)}function Re(e,t,r){Z.call(this,null==e?"canceled":e,Z.ERR_CANCELED,t,r),this.name="CanceledError"}function Te(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Z("Request failed with status code "+r.status,[Z.ERR_BAD_REQUEST,Z.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}q.inherits(Re,Z,{__CANCEL__:!0});const Ee=(e,t,r=3)=>{let n=0;const i=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i,s=0,o=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),u=n[o];i||(i=c),r[s]=a,n[s]=c;let l=o,h=0;for(;l!==s;)h+=r[l++],l%=e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-i<t)return;const d=u&&c-u;return d?Math.round(1e3*h/d):void 0}}(50,250);return function(e,t){let r,n,i=0,s=1e3/t;const o=(t,s=Date.now())=>{i=s,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{const t=Date.now(),a=t-i;a>=s?o(e,t):(r=e,n||(n=setTimeout((()=>{n=null,o(r)}),s-a)))},()=>r&&o(r)]}((r=>{const s=r.loaded,o=r.lengthComputable?r.total:void 0,a=s-n,c=i(a);n=s;e({loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:c||void 0,estimated:c&&o&&s<=o?(o-s)/c:void 0,event:r,lengthComputable:null!=o,[t?"download":"upload"]:!0})}),r)},Ce=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Ae=e=>(...t)=>q.asap((()=>e(...t))),Be=me.hasStandardBrowserEnv?(Ye=new URL(me.origin),Ne=me.navigator&&/(msie|trident)/i.test(me.navigator.userAgent),e=>(e=new URL(e,me.origin),Ye.protocol===e.protocol&&Ye.host===e.host&&(Ne||Ye.port===e.port))):()=>!0;var Ye,Ne;const Pe=me.hasStandardBrowserEnv?{write(e,t,r,n,i,s){const o=[e+"="+encodeURIComponent(t)];q.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),q.isString(n)&&o.push("path="+n),q.isString(i)&&o.push("domain="+i),!0===s&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function He(e,t,r){let n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(n||0==r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Fe=e=>e instanceof Oe?{...e}:e;function Ue(e,t){t=t||{};const r={};function n(e,t,r,n){return q.isPlainObject(e)&&q.isPlainObject(t)?q.merge.call({caseless:n},e,t):q.isPlainObject(t)?q.merge({},t):q.isArray(t)?t.slice():t}function i(e,t,r,i){return q.isUndefined(t)?q.isUndefined(e)?void 0:n(void 0,e,0,i):n(e,t,0,i)}function s(e,t){if(!q.isUndefined(t))return n(void 0,t)}function o(e,t){return q.isUndefined(t)?q.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function a(r,i,s){return s in t?n(r,i):s in e?n(void 0,r):void 0}const c={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(e,t,r)=>i(Fe(e),Fe(t),0,!0)};return q.forEach(Object.keys({...e,...t}),(function(n){const s=c[n]||i,o=s(e[n],t[n],n);q.isUndefined(o)&&s!==a||(r[n]=o)})),r}const je=e=>{const t=Ue({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:s,headers:o,auth:a}=t;if(t.headers=o=Oe.from(o),t.url=oe(He(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),q.isFormData(r))if(me.hasStandardBrowserEnv||me.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(q.isFunction(r.getHeaders)){const e=r.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach((([e,r])=>{t.includes(e.toLowerCase())&&o.set(e,r)}))}if(me.hasStandardBrowserEnv&&(n&&q.isFunction(n)&&(n=n(t)),n||!1!==n&&Be(t.url))){const e=i&&s&&Pe.read(s);e&&o.set(i,e)}return t},Le="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){const n=je(e);let i=n.data;const s=Oe.from(n.headers).normalize();let o,a,c,u,l,{responseType:h,onUploadProgress:d,onDownloadProgress:f}=n;function p(){u&&u(),l&&l(),n.cancelToken&&n.cancelToken.unsubscribe(o),n.signal&&n.signal.removeEventListener("abort",o)}let m=new XMLHttpRequest;function y(){if(!m)return;const n=Oe.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Te((function(e){t(e),p()}),(function(e){r(e),p()}),{data:h&&"text"!==h&&"json"!==h?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:e,request:m}),m=null}m.open(n.method.toUpperCase(),n.url,!0),m.timeout=n.timeout,"onloadend"in m?m.onloadend=y:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(y)},m.onabort=function(){m&&(r(new Z("Request aborted",Z.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){const n=new Z(t&&t.message?t.message:"Network Error",Z.ERR_NETWORK,e,m);n.event=t||null,r(n),m=null},m.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const i=n.transitional||ce;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new Z(t,i.clarifyTimeoutError?Z.ETIMEDOUT:Z.ECONNABORTED,e,m)),m=null},void 0===i&&s.setContentType(null),"setRequestHeader"in m&&q.forEach(s.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),q.isUndefined(n.withCredentials)||(m.withCredentials=!!n.withCredentials),h&&"json"!==h&&(m.responseType=n.responseType),f&&([c,l]=Ee(f,!0),m.addEventListener("progress",c)),d&&m.upload&&([a,u]=Ee(d),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",u)),(n.cancelToken||n.signal)&&(o=t=>{m&&(r(!t||t.type?new Re(null,e,m):t),m.abort(),m=null)},n.cancelToken&&n.cancelToken.subscribe(o),n.signal&&(n.signal.aborted?o():n.signal.addEventListener("abort",o)));const _=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(n.url);_&&-1===me.protocols.indexOf(_)?r(new Z("Unsupported protocol "+_+":",Z.ERR_BAD_REQUEST,e)):m.send(i||null)}))},We=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController;const i=function(e){if(!r){r=!0,o();const t=e instanceof Error?e:this.reason;n.abort(t instanceof Z?t:new Re(t instanceof Error?t.message:t))}};let s=t&&setTimeout((()=>{s=null,i(new Z(`timeout ${t} of ms exceeded`,Z.ETIMEDOUT))}),t);const o=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)})),e=null)};e.forEach((e=>e.addEventListener("abort",i)));const{signal:a}=n;return a.unsubscribe=()=>q.asap(o),a}},ze=function*(e,t){let r=e.byteLength;if(!t||r<t)return void(yield e);let n,i=0;for(;i<r;)n=i+t,yield e.slice(i,n),i=n},Ie=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},Ve=(e,t,r,n)=>{const i=async function*(e,t){for await(const r of Ie(e))yield*ze(r,t)}(e,t);let s,o=0,a=e=>{s||(s=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const{done:t,value:n}=await i.next();if(t)return a(),void e.close();let s=n.byteLength;if(r){let e=o+=s;r(e)}e.enqueue(new Uint8Array(n))}catch(t){throw a(t),t}},cancel:e=>(a(e),i.return())},{highWaterMark:2})},{isFunction:Ge}=q,qe=(({Request:e,Response:t})=>({Request:e,Response:t}))(q.global),{ReadableStream:Ze,TextEncoder:Ke}=q.global,Je=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},Xe=e=>{e=q.merge.call({skipUndefined:!0},qe,e);const{fetch:t,Request:r,Response:n}=e,i=t?Ge(t):"function"==typeof fetch,s=Ge(r),o=Ge(n);if(!i)return!1;const a=i&&Ge(Ze),c=i&&("function"==typeof Ke?(u=new Ke,e=>u.encode(e)):async e=>new Uint8Array(await new r(e).arrayBuffer()));var u;const l=s&&a&&Je((()=>{let e=!1;const t=new r(me.origin,{body:new Ze,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),h=o&&a&&Je((()=>q.isReadableStream(new n("").body))),d={stream:h&&(e=>e.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!d[e]&&(d[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new Z(`Response type '${e}' is not supported`,Z.ERR_NOT_SUPPORT,r)})}));const f=async(e,t)=>{const n=q.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(q.isBlob(e))return e.size;if(q.isSpecCompliantForm(e)){const t=new r(me.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return q.isArrayBufferView(e)||q.isArrayBuffer(e)?e.byteLength:(q.isURLSearchParams(e)&&(e+=""),q.isString(e)?(await c(e)).byteLength:void 0)})(t):n};return async e=>{let{url:i,method:o,data:a,signal:c,cancelToken:u,timeout:p,onDownloadProgress:m,onUploadProgress:y,responseType:_,headers:g,withCredentials:v="same-origin",fetchOptions:w}=je(e),b=t||fetch;_=_?(_+"").toLowerCase():"text";let S=We([c,u&&u.toAbortSignal()],p),k=null;const x=S&&S.unsubscribe&&(()=>{S.unsubscribe()});let O;try{if(y&&l&&"get"!==o&&"head"!==o&&0!==(O=await f(g,a))){let e,t=new r(i,{method:"POST",body:a,duplex:"half"});if(q.isFormData(a)&&(e=t.headers.get("content-type"))&&g.setContentType(e),t.body){const[e,r]=Ce(O,Ee(Ae(y)));a=Ve(t.body,65536,e,r)}}q.isString(v)||(v=v?"include":"omit");const t=s&&"credentials"in r.prototype,c={...w,signal:S,method:o.toUpperCase(),headers:g.normalize().toJSON(),body:a,duplex:"half",credentials:t?v:void 0};k=s&&new r(i,c);let u=await(s?b(k,w):b(i,c));const p=h&&("stream"===_||"response"===_);if(h&&(m||p&&x)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=u[t]}));const t=q.toFiniteNumber(u.headers.get("content-length")),[r,i]=m&&Ce(t,Ee(Ae(m),!0))||[];u=new n(Ve(u.body,65536,r,(()=>{i&&i(),x&&x()})),e)}_=_||"text";let D=await d[q.findKey(d,_)||"text"](u,e);return!p&&x&&x(),await new Promise(((t,r)=>{Te(t,r,{data:D,headers:Oe.from(u.headers),status:u.status,statusText:u.statusText,config:e,request:k})}))}catch(D){if(x&&x(),D&&"TypeError"===D.name&&/Load failed|fetch/i.test(D.message))throw Object.assign(new Z("Network Error",Z.ERR_NETWORK,e,k),{cause:D.cause||D});throw Z.from(D,D&&D.code,e,k)}}},$e=new Map,Qe=e=>{let t=e?e.env:{};const{fetch:r,Request:n,Response:i}=t,s=[n,i,r];let o,a,c=s.length,u=$e;for(;c--;)o=s[c],a=u.get(o),void 0===a&&u.set(o,a=c?new Map:Xe(t)),u=a;return a};Qe();const et={http:null,xhr:Le,fetch:{get:Qe}};q.forEach(et,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(r){}Object.defineProperty(e,"adapterName",{value:t})}}));const tt=e=>`- ${e}`,rt=e=>q.isFunction(e)||null===e||!1===e,nt=(e,t)=>{e=q.isArray(e)?e:[e];const{length:r}=e;let n,i;const s={};for(let o=0;o<r;o++){let r;if(n=e[o],i=n,!rt(n)&&(i=et[(r=String(n)).toLowerCase()],void 0===i))throw new Z(`Unknown adapter '${r}'`);if(i&&(q.isFunction(i)||(i=i.get(t))))break;s[r||"#"+o]=i}if(!i){const e=Object.entries(s).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new Z("There is no suitable adapter to dispatch the request "+(r?e.length>1?"since :\n"+e.map(tt).join("\n"):" "+tt(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return i};function it(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Re(null,e)}function st(e){it(e),e.headers=Oe.from(e.headers),e.data=De.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return nt(e.adapter||ge.adapter,e)(e).then((function(t){return it(e),t.data=De.call(e,e.transformResponse,t),t.headers=Oe.from(t.headers),t}),(function(t){return Me(t)||(it(e),t&&t.response&&(t.response.data=De.call(e,e.transformResponse,t.response),t.response.headers=Oe.from(t.response.headers))),Promise.reject(t)}))}const ot="1.12.2",at={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{at[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const ct={};at.transitional=function(e,t,r){return(n,i,s)=>{if(!1===e)throw new Z(function(e,t){return"[Axios v"+ot+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}(i," has been removed"+(t?" in "+t:"")),Z.ERR_DEPRECATED);return t&&!ct[i]&&(ct[i]=!0),!e||e(n,i,s)}},at.spelling=function(e){return(e,t)=>!0};const ut={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Z("options must be an object",Z.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const s=n[i],o=t[s];if(o){const t=e[s],r=void 0===t||o(t,s,e);if(!0!==r)throw new Z("option "+s+" must be "+r,Z.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Z("Unknown option "+s,Z.ERR_BAD_OPTION)}},validators:at},lt=ut.validators;class ht{constructor(e){this.defaults=e||{},this.interceptors={request:new ae,response:new ae}}async request(e,t){try{return await this._request(e,t)}catch(r){if(r instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{r.stack?t&&!String(r.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(r.stack+="\n"+t):r.stack=t}catch(n){}}throw r}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ue(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:i}=t;void 0!==r&&ut.assertOptions(r,{silentJSONParsing:lt.transitional(lt.boolean),forcedJSONParsing:lt.transitional(lt.boolean),clarifyTimeoutError:lt.transitional(lt.boolean)},!1),null!=n&&(q.isFunction(n)?t.paramsSerializer={serialize:n}:ut.assertOptions(n,{encode:lt.function,serialize:lt.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),ut.assertOptions(t,{baseUrl:lt.spelling("baseURL"),withXsrfToken:lt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=i&&q.merge(i.common,i[t.method]);i&&q.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=Oe.concat(s,i);const o=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,h=0;if(!a){const e=[st.bind(this),void 0];for(e.unshift(...o),e.push(...c),l=e.length,u=Promise.resolve(t);h<l;)u=u.then(e[h++],e[h++]);return u}l=o.length;let d=t;for(;h<l;){const e=o[h++],t=o[h++];try{d=e(d)}catch(f){t.call(this,f);break}}try{u=st.call(this,d)}catch(f){return Promise.reject(f)}for(h=0,l=c.length;h<l;)u=u.then(c[h++],c[h++]);return u}getUri(e){return oe(He((e=Ue(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}q.forEach(["delete","get","head","options"],(function(e){ht.prototype[e]=function(t,r){return this.request(Ue(r||{},{method:e,url:t,data:(r||{}).data}))}})),q.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,i){return this.request(Ue(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}ht.prototype[e]=t(),ht.prototype[e+"Form"]=t(!0)}));const dt=ht;class ft{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const r=this;this.promise.then((e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null})),this.promise.then=e=>{let t;const n=new Promise((e=>{r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,n,i){r.reason||(r.reason=new Re(e,n,i),t(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new ft((function(t){e=t})),cancel:e}}}const pt=ft;const mt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(mt).forEach((([e,t])=>{mt[t]=e}));const yt=mt;const _t=function e(t){const r=new dt(t),i=n(dt.prototype.request,r);return q.extend(i,dt.prototype,r,{allOwnKeys:!0}),q.extend(i,r,null,{allOwnKeys:!0}),i.create=function(r){return e(Ue(t,r))},i}(ge);_t.Axios=dt,_t.CanceledError=Re,_t.CancelToken=pt,_t.isCancel=Me,_t.VERSION=ot,_t.toFormData=te,_t.AxiosError=Z,_t.Cancel=_t.CanceledError,_t.all=function(e){return Promise.all(e)},_t.spread=function(e){return function(t){return e.apply(null,t)}},_t.isAxiosError=function(e){return q.isObject(e)&&!0===e.isAxiosError},_t.mergeConfig=Ue,_t.AxiosHeaders=Oe,_t.formToJSON=e=>ye(q.isHTMLForm(e)?new FormData(e):e),_t.getAdapter=nt,_t.HttpStatusCode=yt,_t.default=_t;const gt=_t;var vt={exports:{}};var wt={exports:{}};const bt=e(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var St;function kt(){return St||(St=1,wt.exports=(e=e||function(e,r){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==t&&t.crypto&&(n=t.crypto),!n)try{n=bt}catch(y){}var i=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(y){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(y){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),o={},a=o.lib={},c=a.Base={extend:function(e){var t=s(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=a.WordArray=c.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=t!=r?t:4*e.length},toString:function(e){return(e||h).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(var s=0;s<i;s++){var o=r[s>>>2]>>>24-s%4*8&255;t[n+s>>>2]|=o<<24-(n+s)%4*8}else for(var a=0;a<i;a+=4)t[n+a>>>2]=r[a>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(i());return new u.init(t,e)}}),l=o.enc={},h=l.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var s=t[i>>>2]>>>24-i%4*8&255;n.push((s>>>4).toString(16)),n.push((15&s).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new u.init(r,t/2)}},d=l.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var s=t[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(s))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new u.init(r,t)}},f=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},p=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,i=n.words,s=n.sigBytes,o=this.blockSize,a=s/(4*o),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*o,l=e.min(4*c,s);if(c){for(var h=0;h<c;h+=o)this._doProcessBlock(i,h);r=i.splice(0,c),n.sigBytes-=l}return new u.init(r,l)},clone:function(){var e=c.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});a.Hasher=p.extend({cfg:c.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new m.HMAC.init(e,r).finalize(t)}}});var m=o.algo={};return o}(Math),e)),wt.exports;var e}var xt,Ot={exports:{}};function Dt(){return xt?Ot.exports:(xt=1,Ot.exports=(o=kt(),r=(t=o).lib,n=r.Base,i=r.WordArray,(s=t.x64={}).Word=n.extend({init:function(e,t){this.high=e,this.low=t}}),s.WordArray=n.extend({init:function(t,r){t=this.words=t||[],this.sigBytes=r!=e?r:8*t.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var s=e[n];r.push(s.high),r.push(s.low)}return i.create(r,this.sigBytes)},clone:function(){for(var e=n.clone.call(this),t=e.words=this.words.slice(0),r=t.length,i=0;i<r;i++)t[i]=t[i].clone();return e}}),o));var e,t,r,n,i,s,o}var Mt,Rt={exports:{}};function Tt(){return Mt||(Mt=1,Rt.exports=(e=kt(),function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,r=t.init,n=t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],i=0;i<t;i++)n[i>>>2]|=e[i]<<24-i%4*8;r.call(this,n,t)}else r.apply(this,arguments)};n.prototype=t}}(),e.lib.WordArray)),Rt.exports;var e}var Et,Ct={exports:{}};function At(){return Et?Ct.exports:(Et=1,Ct.exports=(e=kt(),function(){var t=e,r=t.lib.WordArray,n=t.enc;function i(e){return e<<8&4278255360|e>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var s=t[i>>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(s))}return n.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>1]|=e.charCodeAt(i)<<16-i%2*16;return r.create(n,2*t)}},n.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],s=0;s<r;s+=2){var o=i(t[s>>>2]>>>16-s%4*8&65535);n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,n=[],s=0;s<t;s++)n[s>>>1]|=i(e.charCodeAt(s)<<16-s%2*16);return r.create(n,2*t)}}}(),e.enc.Utf16));var e}var Bt,Yt={exports:{}};function Nt(){return Bt?Yt.exports:(Bt=1,Yt.exports=(e=kt(),function(){var t=e,r=t.lib.WordArray;function n(e,t,n){for(var i=[],s=0,o=0;o<t;o++)if(o%4){var a=n[e.charCodeAt(o-1)]<<o%4*2|n[e.charCodeAt(o)]>>>6-o%4*2;i[s>>>2]|=a<<24-s%4*8,s++}return r.create(i,s)}t.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],s=0;s<r;s+=3)for(var o=(t[s>>>2]>>>24-s%4*8&255)<<16|(t[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|t[s+2>>>2]>>>24-(s+2)%4*8&255,a=0;a<4&&s+.75*a<r;a++)i.push(n.charAt(o>>>6*(3-a)&63));var c=n.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(e){var t=e.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var s=0;s<r.length;s++)i[r.charCodeAt(s)]=s}var o=r.charAt(64);if(o){var a=e.indexOf(o);-1!==a&&(t=a)}return n(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64));var e}var Pt,Ht={exports:{}};function Ft(){return Pt?Ht.exports:(Pt=1,Ht.exports=(e=kt(),function(){var t=e,r=t.lib.WordArray;function n(e,t,n){for(var i=[],s=0,o=0;o<t;o++)if(o%4){var a=n[e.charCodeAt(o-1)]<<o%4*2|n[e.charCodeAt(o)]>>>6-o%4*2;i[s>>>2]|=a<<24-s%4*8,s++}return r.create(i,s)}t.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var r=e.words,n=e.sigBytes,i=t?this._safe_map:this._map;e.clamp();for(var s=[],o=0;o<n;o+=3)for(var a=(r[o>>>2]>>>24-o%4*8&255)<<16|(r[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|r[o+2>>>2]>>>24-(o+2)%4*8&255,c=0;c<4&&o+.75*c<n;c++)s.push(i.charAt(a>>>6*(3-c)&63));var u=i.charAt(64);if(u)for(;s.length%4;)s.push(u);return s.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,i=t?this._safe_map:this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var o=0;o<i.length;o++)s[i.charCodeAt(o)]=o}var a=i.charAt(64);if(a){var c=e.indexOf(a);-1!==c&&(r=c)}return n(e,r,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),e.enc.Base64url));var e}var Ut,jt={exports:{}};function Lt(){return Ut?jt.exports:(Ut=1,jt.exports=(e=kt(),function(t){var r=e,n=r.lib,i=n.WordArray,s=n.Hasher,o=r.algo,a=[];!function(){for(var e=0;e<64;e++)a[e]=4294967296*t.abs(t.sin(e+1))|0}();var c=o.MD5=s.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var s=this._hash.words,o=e[t+0],c=e[t+1],f=e[t+2],p=e[t+3],m=e[t+4],y=e[t+5],_=e[t+6],g=e[t+7],v=e[t+8],w=e[t+9],b=e[t+10],S=e[t+11],k=e[t+12],x=e[t+13],O=e[t+14],D=e[t+15],M=s[0],R=s[1],T=s[2],E=s[3];M=u(M,R,T,E,o,7,a[0]),E=u(E,M,R,T,c,12,a[1]),T=u(T,E,M,R,f,17,a[2]),R=u(R,T,E,M,p,22,a[3]),M=u(M,R,T,E,m,7,a[4]),E=u(E,M,R,T,y,12,a[5]),T=u(T,E,M,R,_,17,a[6]),R=u(R,T,E,M,g,22,a[7]),M=u(M,R,T,E,v,7,a[8]),E=u(E,M,R,T,w,12,a[9]),T=u(T,E,M,R,b,17,a[10]),R=u(R,T,E,M,S,22,a[11]),M=u(M,R,T,E,k,7,a[12]),E=u(E,M,R,T,x,12,a[13]),T=u(T,E,M,R,O,17,a[14]),M=l(M,R=u(R,T,E,M,D,22,a[15]),T,E,c,5,a[16]),E=l(E,M,R,T,_,9,a[17]),T=l(T,E,M,R,S,14,a[18]),R=l(R,T,E,M,o,20,a[19]),M=l(M,R,T,E,y,5,a[20]),E=l(E,M,R,T,b,9,a[21]),T=l(T,E,M,R,D,14,a[22]),R=l(R,T,E,M,m,20,a[23]),M=l(M,R,T,E,w,5,a[24]),E=l(E,M,R,T,O,9,a[25]),T=l(T,E,M,R,p,14,a[26]),R=l(R,T,E,M,v,20,a[27]),M=l(M,R,T,E,x,5,a[28]),E=l(E,M,R,T,f,9,a[29]),T=l(T,E,M,R,g,14,a[30]),M=h(M,R=l(R,T,E,M,k,20,a[31]),T,E,y,4,a[32]),E=h(E,M,R,T,v,11,a[33]),T=h(T,E,M,R,S,16,a[34]),R=h(R,T,E,M,O,23,a[35]),M=h(M,R,T,E,c,4,a[36]),E=h(E,M,R,T,m,11,a[37]),T=h(T,E,M,R,g,16,a[38]),R=h(R,T,E,M,b,23,a[39]),M=h(M,R,T,E,x,4,a[40]),E=h(E,M,R,T,o,11,a[41]),T=h(T,E,M,R,p,16,a[42]),R=h(R,T,E,M,_,23,a[43]),M=h(M,R,T,E,w,4,a[44]),E=h(E,M,R,T,k,11,a[45]),T=h(T,E,M,R,D,16,a[46]),M=d(M,R=h(R,T,E,M,f,23,a[47]),T,E,o,6,a[48]),E=d(E,M,R,T,g,10,a[49]),T=d(T,E,M,R,O,15,a[50]),R=d(R,T,E,M,y,21,a[51]),M=d(M,R,T,E,k,6,a[52]),E=d(E,M,R,T,p,10,a[53]),T=d(T,E,M,R,b,15,a[54]),R=d(R,T,E,M,c,21,a[55]),M=d(M,R,T,E,v,6,a[56]),E=d(E,M,R,T,D,10,a[57]),T=d(T,E,M,R,_,15,a[58]),R=d(R,T,E,M,x,21,a[59]),M=d(M,R,T,E,m,6,a[60]),E=d(E,M,R,T,S,10,a[61]),T=d(T,E,M,R,f,15,a[62]),R=d(R,T,E,M,w,21,a[63]),s[0]=s[0]+M|0,s[1]=s[1]+R|0,s[2]=s[2]+T|0,s[3]=s[3]+E|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;r[i>>>5]|=128<<24-i%32;var s=t.floor(n/4294967296),o=n;r[15+(i+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),r[14+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e.sigBytes=4*(r.length+1),this._process();for(var a=this._hash,c=a.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return a},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,r,n,i,s,o){var a=e+(t&r|~t&n)+i+o;return(a<<s|a>>>32-s)+t}function l(e,t,r,n,i,s,o){var a=e+(t&n|r&~n)+i+o;return(a<<s|a>>>32-s)+t}function h(e,t,r,n,i,s,o){var a=e+(t^r^n)+i+o;return(a<<s|a>>>32-s)+t}function d(e,t,r,n,i,s,o){var a=e+(r^(t|~n))+i+o;return(a<<s|a>>>32-s)+t}r.MD5=s._createHelper(c),r.HmacMD5=s._createHmacHelper(c)}(Math),e.MD5));var e}var Wt,zt={exports:{}};function It(){return Wt?zt.exports:(Wt=1,zt.exports=(a=kt(),t=(e=a).lib,r=t.WordArray,n=t.Hasher,i=e.algo,s=[],o=i.SHA1=n.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],a=r[3],c=r[4],u=0;u<80;u++){if(u<16)s[u]=0|e[t+u];else{var l=s[u-3]^s[u-8]^s[u-14]^s[u-16];s[u]=l<<1|l>>>31}var h=(n<<5|n>>>27)+c+s[u];h+=u<20?1518500249+(i&o|~i&a):u<40?1859775393+(i^o^a):u<60?(i&o|i&a|o&a)-1894007588:(i^o^a)-899497514,c=a,a=o,o=i<<30|i>>>2,i=n,n=h}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+a|0,r[4]=r[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}}),e.SHA1=n._createHelper(o),e.HmacSHA1=n._createHmacHelper(o),a.SHA1));var e,t,r,n,i,s,o,a}var Vt,Gt={exports:{}};function qt(){return Vt?Gt.exports:(Vt=1,Gt.exports=(e=kt(),function(t){var r=e,n=r.lib,i=n.WordArray,s=n.Hasher,o=r.algo,a=[],c=[];!function(){function e(e){for(var r=t.sqrt(e),n=2;n<=r;n++)if(!(e%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,i=0;i<64;)e(n)&&(i<8&&(a[i]=r(t.pow(n,.5))),c[i]=r(t.pow(n,1/3)),i++),n++}();var u=[],l=o.SHA256=s.extend({_doReset:function(){this._hash=new i.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],s=r[2],o=r[3],a=r[4],l=r[5],h=r[6],d=r[7],f=0;f<64;f++){if(f<16)u[f]=0|e[t+f];else{var p=u[f-15],m=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,y=u[f-2],_=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;u[f]=m+u[f-7]+_+u[f-16]}var g=n&i^n&s^i&s,v=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),w=d+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&l^~a&h)+c[f]+u[f];d=h,h=l,l=a,a=o+w|0,o=s,s=i,i=n,n=w+(v+g)|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+s|0,r[3]=r[3]+o|0,r[4]=r[4]+a|0,r[5]=r[5]+l|0,r[6]=r[6]+h|0,r[7]=r[7]+d|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=t.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});r.SHA256=s._createHelper(l),r.HmacSHA256=s._createHmacHelper(l)}(Math),e.SHA256));var e}var Zt,Kt={exports:{}};var Jt,Xt={exports:{}};function $t(){return Jt||(Jt=1,Xt.exports=(e=kt(),Dt(),function(){var t=e,r=t.lib.Hasher,n=t.x64,i=n.Word,s=n.WordArray,o=t.algo;function a(){return i.create.apply(i,arguments)}var c=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],u=[];!function(){for(var e=0;e<80;e++)u[e]=a()}();var l=o.SHA512=r.extend({_doReset:function(){this._hash=new s.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],s=r[2],o=r[3],a=r[4],l=r[5],h=r[6],d=r[7],f=n.high,p=n.low,m=i.high,y=i.low,_=s.high,g=s.low,v=o.high,w=o.low,b=a.high,S=a.low,k=l.high,x=l.low,O=h.high,D=h.low,M=d.high,R=d.low,T=f,E=p,C=m,A=y,B=_,Y=g,N=v,P=w,H=b,F=S,U=k,j=x,L=O,W=D,z=M,I=R,V=0;V<80;V++){var G,q,Z=u[V];if(V<16)q=Z.high=0|e[t+2*V],G=Z.low=0|e[t+2*V+1];else{var K=u[V-15],J=K.high,X=K.low,$=(J>>>1|X<<31)^(J>>>8|X<<24)^J>>>7,Q=(X>>>1|J<<31)^(X>>>8|J<<24)^(X>>>7|J<<25),ee=u[V-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,ie=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),se=u[V-7],oe=se.high,ae=se.low,ce=u[V-16],ue=ce.high,le=ce.low;q=(q=(q=$+oe+((G=Q+ae)>>>0<Q>>>0?1:0))+ne+((G+=ie)>>>0<ie>>>0?1:0))+ue+((G+=le)>>>0<le>>>0?1:0),Z.high=q,Z.low=G}var he,de=H&U^~H&L,fe=F&j^~F&W,pe=T&C^T&B^C&B,me=E&A^E&Y^A&Y,ye=(T>>>28|E<<4)^(T<<30|E>>>2)^(T<<25|E>>>7),_e=(E>>>28|T<<4)^(E<<30|T>>>2)^(E<<25|T>>>7),ge=(H>>>14|F<<18)^(H>>>18|F<<14)^(H<<23|F>>>9),ve=(F>>>14|H<<18)^(F>>>18|H<<14)^(F<<23|H>>>9),we=c[V],be=we.high,Se=we.low,ke=z+ge+((he=I+ve)>>>0<I>>>0?1:0),xe=_e+me;z=L,I=W,L=U,W=j,U=H,j=F,H=N+(ke=(ke=(ke=ke+de+((he+=fe)>>>0<fe>>>0?1:0))+be+((he+=Se)>>>0<Se>>>0?1:0))+q+((he+=G)>>>0<G>>>0?1:0))+((F=P+he|0)>>>0<P>>>0?1:0)|0,N=B,P=Y,B=C,Y=A,C=T,A=E,T=ke+(ye+pe+(xe>>>0<_e>>>0?1:0))+((E=he+xe|0)>>>0<he>>>0?1:0)|0}p=n.low=p+E,n.high=f+T+(p>>>0<E>>>0?1:0),y=i.low=y+A,i.high=m+C+(y>>>0<A>>>0?1:0),g=s.low=g+Y,s.high=_+B+(g>>>0<Y>>>0?1:0),w=o.low=w+P,o.high=v+N+(w>>>0<P>>>0?1:0),S=a.low=S+F,a.high=b+H+(S>>>0<F>>>0?1:0),x=l.low=x+j,l.high=k+U+(x>>>0<j>>>0?1:0),D=h.low=D+W,h.high=O+L+(D>>>0<W>>>0?1:0),R=d.low=R+I,d.high=M+z+(R>>>0<I>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=r._createHelper(l),t.HmacSHA512=r._createHmacHelper(l)}(),e.SHA512)),Xt.exports;var e}var Qt,er={exports:{}};var tr,rr={exports:{}};function nr(){return tr?rr.exports:(tr=1,rr.exports=(e=kt(),Dt(),function(t){var r=e,n=r.lib,i=n.WordArray,s=n.Hasher,o=r.x64.Word,a=r.algo,c=[],u=[],l=[];!function(){for(var e=1,t=0,r=0;r<24;r++){c[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)u[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,s=0;s<24;s++){for(var a=0,h=0,d=0;d<7;d++){if(1&i){var f=(1<<d)-1;f<32?h^=1<<f:a^=1<<f-32}128&i?i=i<<1^113:i<<=1}l[s]=o.create(a,h)}}();var h=[];!function(){for(var e=0;e<25;e++)h[e]=o.create()}();var d=a.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,i=0;i<n;i++){var s=e[t+2*i],o=e[t+2*i+1];s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),(R=r[i]).high^=o,R.low^=s}for(var a=0;a<24;a++){for(var d=0;d<5;d++){for(var f=0,p=0,m=0;m<5;m++)f^=(R=r[d+5*m]).high,p^=R.low;var y=h[d];y.high=f,y.low=p}for(d=0;d<5;d++){var _=h[(d+4)%5],g=h[(d+1)%5],v=g.high,w=g.low;for(f=_.high^(v<<1|w>>>31),p=_.low^(w<<1|v>>>31),m=0;m<5;m++)(R=r[d+5*m]).high^=f,R.low^=p}for(var b=1;b<25;b++){var S=(R=r[b]).high,k=R.low,x=c[b];x<32?(f=S<<x|k>>>32-x,p=k<<x|S>>>32-x):(f=k<<x-32|S>>>64-x,p=S<<x-32|k>>>64-x);var O=h[u[b]];O.high=f,O.low=p}var D=h[0],M=r[0];for(D.high=M.high,D.low=M.low,d=0;d<5;d++)for(m=0;m<5;m++){var R=r[b=d+5*m],T=h[b],E=h[(d+1)%5+5*m],C=h[(d+2)%5+5*m];R.high=T.high^~E.high&C.high,R.low=T.low^~E.low&C.low}R=r[0];var A=l[a];R.high^=A.high,R.low^=A.low}},_doFinalize:function(){var e=this._data,r=e.words;this._nDataBytes;var n=8*e.sigBytes,s=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(t.ceil((n+1)/s)*s>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var o=this._state,a=this.cfg.outputLength/8,c=a/8,u=[],l=0;l<c;l++){var h=o[l],d=h.high,f=h.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),u.push(f),u.push(d)}return new i.init(u,a)},clone:function(){for(var e=s.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});r.SHA3=s._createHelper(d),r.HmacSHA3=s._createHmacHelper(d)}(Math),e.SHA3));var e}var ir,sr={exports:{}};var or,ar={exports:{}};function cr(){return or?ar.exports:(or=1,ar.exports=(e=kt(),r=(t=e).lib.Base,n=t.enc.Utf8,void(t.algo.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var r=e.blockSize,i=4*r;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var s=this._oKey=t.clone(),o=this._iKey=t.clone(),a=s.words,c=o.words,u=0;u<r;u++)a[u]^=1549556828,c[u]^=909522486;s.sigBytes=o.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}}))));var e,t,r,n}var ur,lr={exports:{}};var hr,dr={exports:{}};function fr(){return hr?dr.exports:(hr=1,dr.exports=(a=kt(),It(),cr(),t=(e=a).lib,r=t.Base,n=t.WordArray,i=e.algo,s=i.MD5,o=i.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,i=this.cfg,s=i.hasher.create(),o=n.create(),a=o.words,c=i.keySize,u=i.iterations;a.length<c;){r&&s.update(r),r=s.update(e).finalize(t),s.reset();for(var l=1;l<u;l++)r=s.finalize(r),s.reset();o.concat(r)}return o.sigBytes=4*c,o}}),e.EvpKDF=function(e,t,r){return o.create(r).compute(e,t)},a.EvpKDF));var e,t,r,n,i,s,o,a}var pr,mr={exports:{}};function yr(){return pr?mr.exports:(pr=1,mr.exports=(e=kt(),fr(),void(e.lib.Cipher||function(t){var r=e,n=r.lib,i=n.Base,s=n.WordArray,o=n.BufferedBlockAlgorithm,a=r.enc;a.Utf8;var c=a.Base64,u=r.algo.EvpKDF,l=n.Cipher=o.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?v:_}return function(t){return{encrypt:function(r,n,i){return e(n).encrypt(t,r,n,i)},decrypt:function(r,n,i){return e(n).decrypt(t,r,n,i)}}}}()});n.StreamCipher=l.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var h=r.mode={},d=n.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),f=h.CBC=function(){var e=d.extend();function r(e,r,n){var i,s=this._iv;s?(i=s,this._iv=t):i=this._prevBlock;for(var o=0;o<n;o++)e[r+o]^=i[o]}return e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize;r.call(this,e,t,i),n.encryptBlock(e,t),this._prevBlock=e.slice(t,t+i)}}),e.Decryptor=e.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,s=e.slice(t,t+i);n.decryptBlock(e,t),r.call(this,e,t,i),this._prevBlock=s}}),e}(),p=(r.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,i=n<<24|n<<16|n<<8|n,o=[],a=0;a<n;a+=4)o.push(i);var c=s.create(o,n);e.concat(c)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}};n.BlockCipher=l.extend({cfg:l.cfg.extend({mode:f,padding:p}),reset:function(){var e;l.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4});var m=n.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),y=(r.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?s.create([1398893684,1701076831]).concat(r).concat(t):t).toString(c)},parse:function(e){var t,r=c.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=s.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),m.create({ciphertext:r,salt:t})}},_=n.SerializableCipher=i.extend({cfg:i.extend({format:y}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var i=e.createEncryptor(r,n),s=i.finalize(t),o=i.cfg;return m.create({ciphertext:s,key:r,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),g=(r.kdf={}).OpenSSL={execute:function(e,t,r,n,i){if(n||(n=s.random(8)),i)o=u.create({keySize:t+r,hasher:i}).compute(e,n);else var o=u.create({keySize:t+r}).compute(e,n);var a=s.create(o.words.slice(t),4*r);return o.sigBytes=4*t,m.create({key:o,iv:a,salt:n})}},v=n.PasswordBasedCipher=_.extend({cfg:_.cfg.extend({kdf:g}),encrypt:function(e,t,r,n){var i=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize,n.salt,n.hasher);n.iv=i.iv;var s=_.encrypt.call(this,e,t,i.key,n);return s.mixIn(i),s},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=n.kdf.execute(r,e.keySize,e.ivSize,t.salt,n.hasher);return n.iv=i.iv,_.decrypt.call(this,e,t,i.key,n)}})}())));var e}var _r,gr={exports:{}};var vr,wr={exports:{}};var br,Sr={exports:{}};function kr(){return br?Sr.exports:(br=1,Sr.exports=(e=kt(),yr(), +/** @preserve + * Counter block mode compatible with Dr Brian Gladman fileenc.c + * derived from CryptoJS.mode.CTR + * Jan Hruby jhruby.web@gmail.com + */ +e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function r(e){if(255&~(e>>24))e+=1<<24;else{var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}return e}function n(e){return 0===(e[0]=r(e[0]))&&(e[1]=r(e[1])),e}var i=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,s=this._iv,o=this._counter;s&&(o=this._counter=s.slice(0),this._iv=void 0),n(o);var a=o.slice(0);r.encryptBlock(a,0);for(var c=0;c<i;c++)e[t+c]^=a[c]}});return t.Decryptor=i,t}(),e.mode.CTRGladman));var e}var xr,Or={exports:{}};var Dr,Mr={exports:{}};var Rr,Tr={exports:{}};var Er,Cr={exports:{}};var Ar,Br={exports:{}};var Yr,Nr={exports:{}};var Pr,Hr={exports:{}};var Fr,Ur={exports:{}};var jr,Lr={exports:{}};var Wr,zr={exports:{}};function Ir(){return Wr?zr.exports:(Wr=1,zr.exports=(e=kt(),Nt(),Lt(),fr(),yr(),function(){var t=e,r=t.lib,n=r.WordArray,i=r.BlockCipher,s=t.algo,o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=s.DES=i.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=o[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],s=0;s<16;s++){var u=i[s]=[],l=c[s];for(r=0;r<24;r++)u[r/6|0]|=t[(a[r]-1+l)%28]<<31-r%6,u[4+(r/6|0)]|=t[28+(a[r+24]-1+l)%28]<<31-r%6;for(u[0]=u[0]<<1|u[0]>>>31,r=1;r<7;r++)u[r]=u[r]>>>4*(r-1)+3;u[7]=u[7]<<5|u[7]>>>27}var h=this._invSubKeys=[];for(r=0;r<16;r++)h[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,252645135),d.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),d.call(this,1,1431655765);for(var n=0;n<16;n++){for(var i=r[n],s=this._lBlock,o=this._rBlock,a=0,c=0;c<8;c++)a|=u[c][((o^i[c])&l[c])>>>0];this._lBlock=o,this._rBlock=s^a}var h=this._lBlock;this._lBlock=this._rBlock,this._rBlock=h,d.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function f(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}t.DES=i._createHelper(h);var p=s.TripleDES=i.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),r=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=h.createEncryptor(n.create(t)),this._des2=h.createEncryptor(n.create(r)),this._des3=h.createEncryptor(n.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=i._createHelper(p)}(),e.TripleDES));var e}var Vr,Gr={exports:{}};var qr,Zr={exports:{}};var Kr,Jr={exports:{}};var Xr,$r,Qr,en,tn,rn,nn,sn={exports:{}};function on(){return Xr?sn.exports:(Xr=1,sn.exports=(e=kt(),Nt(),Lt(),fr(),yr(),function(){var t=e,r=t.lib.BlockCipher,n=t.algo;const i=16,s=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],o=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var a={pbox:[],sbox:[]};function c(e,t){let r=t>>24&255,n=t>>16&255,i=t>>8&255,s=255&t,o=e.sbox[0][r]+e.sbox[1][n];return o^=e.sbox[2][i],o+=e.sbox[3][s],o}function u(e,t,r){let n,s=t,o=r;for(let a=0;a<i;++a)s^=e.pbox[a],o=c(e,s)^o,n=s,s=o,o=n;return n=s,s=o,o=n,o^=e.pbox[i],s^=e.pbox[i+1],{left:s,right:o}}function l(e,t,r){let n,s=t,o=r;for(let a=i+1;a>1;--a)s^=e.pbox[a],o=c(e,s)^o,n=s,s=o,o=n;return n=s,s=o,o=n,o^=e.pbox[1],s^=e.pbox[0],{left:s,right:o}}function h(e,t,r){for(let i=0;i<4;i++){e.sbox[i]=[];for(let t=0;t<256;t++)e.sbox[i][t]=o[i][t]}let n=0;for(let o=0;o<i+2;o++)e.pbox[o]=s[o]^t[n],n++,n>=r&&(n=0);let a=0,c=0,l=0;for(let s=0;s<i+2;s+=2)l=u(e,a,c),a=l.left,c=l.right,e.pbox[s]=a,e.pbox[s+1]=c;for(let i=0;i<4;i++)for(let t=0;t<256;t+=2)l=u(e,a,c),a=l.left,c=l.right,e.sbox[i][t]=a,e.sbox[i][t+1]=c;return!0}var d=n.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4;h(a,t,r)}},encryptBlock:function(e,t){var r=u(a,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},decryptBlock:function(e,t){var r=l(a,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=r._createHelper(d)}(),e.Blowfish));var e}const an=r(vt.exports=function(e){return e}(kt(),Dt(),Tt(),At(),Nt(),Ft(),Lt(),It(),qt(),Zt||(Zt=1,Kt.exports=(nn=kt(),qt(),Qr=($r=nn).lib.WordArray,en=$r.algo,tn=en.SHA256,rn=en.SHA224=tn.extend({_doReset:function(){this._hash=new Qr.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=tn._doFinalize.call(this);return e.sigBytes-=4,e}}),$r.SHA224=tn._createHelper(rn),$r.HmacSHA224=tn._createHmacHelper(rn),nn.SHA224)),$t(),function(){return Qt?er.exports:(Qt=1,er.exports=(a=kt(),Dt(),$t(),t=(e=a).x64,r=t.Word,n=t.WordArray,i=e.algo,s=i.SHA512,o=i.SHA384=s.extend({_doReset:function(){this._hash=new n.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=16,e}}),e.SHA384=s._createHelper(o),e.HmacSHA384=s._createHmacHelper(o),a.SHA384));var e,t,r,n,i,s,o,a}(),nr(),function(){return ir?sr.exports:(ir=1,sr.exports=(e=kt(), +/** @preserve + (c) 2012 by Cédric Mesnil. All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +function(){var t=e,r=t.lib,n=r.WordArray,i=r.Hasher,s=t.algo,o=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),l=n.create([0,1518500249,1859775393,2400959708,2840853838]),h=n.create([1352829926,1548603684,1836072691,2053994217,0]),d=s.RIPEMD160=i.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var s,d,v,w,b,S,k,x,O,D,M,R=this._hash.words,T=l.words,E=h.words,C=o.words,A=a.words,B=c.words,Y=u.words;for(S=s=R[0],k=d=R[1],x=v=R[2],O=w=R[3],D=b=R[4],r=0;r<80;r+=1)M=s+e[t+C[r]]|0,M+=r<16?f(d,v,w)+T[0]:r<32?p(d,v,w)+T[1]:r<48?m(d,v,w)+T[2]:r<64?y(d,v,w)+T[3]:_(d,v,w)+T[4],M=(M=g(M|=0,B[r]))+b|0,s=b,b=w,w=g(v,10),v=d,d=M,M=S+e[t+A[r]]|0,M+=r<16?_(k,x,O)+E[0]:r<32?y(k,x,O)+E[1]:r<48?m(k,x,O)+E[2]:r<64?p(k,x,O)+E[3]:f(k,x,O)+E[4],M=(M=g(M|=0,Y[r]))+D|0,S=D,D=O,O=g(x,10),x=k,k=M;M=R[1]+v+O|0,R[1]=R[2]+w+D|0,R[2]=R[3]+b+S|0,R[3]=R[4]+s+k|0,R[4]=R[0]+d+x|0,R[0]=M},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,s=i.words,o=0;o<5;o++){var a=s[o];s[o]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return i},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,r){return e^t^r}function p(e,t,r){return e&t|~e&r}function m(e,t,r){return(e|~t)^r}function y(e,t,r){return e&r|t&~r}function _(e,t,r){return e^(t|~r)}function g(e,t){return e<<t|e>>>32-t}t.RIPEMD160=i._createHelper(d),t.HmacRIPEMD160=i._createHmacHelper(d)}(),e.RIPEMD160));var e}(),cr(),function(){return ur?lr.exports:(ur=1,lr.exports=(c=kt(),qt(),cr(),t=(e=c).lib,r=t.Base,n=t.WordArray,i=e.algo,s=i.SHA256,o=i.HMAC,a=i.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:s,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,i=o.create(r.hasher,e),s=n.create(),a=n.create([1]),c=s.words,u=a.words,l=r.keySize,h=r.iterations;c.length<l;){var d=i.update(t).finalize(a);i.reset();for(var f=d.words,p=f.length,m=d,y=1;y<h;y++){m=i.finalize(m),i.reset();for(var _=m.words,g=0;g<p;g++)f[g]^=_[g]}s.concat(d),u[0]++}return s.sigBytes=4*l,s}}),e.PBKDF2=function(e,t,r){return a.create(r).compute(e,t)},c.PBKDF2));var e,t,r,n,i,s,o,a,c}(),fr(),yr(),function(){return _r?gr.exports:(_r=1,gr.exports=(e=kt(),yr(),e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function r(e,t,r,n){var i,s=this._iv;s?(i=s.slice(0),this._iv=void 0):i=this._prevBlock,n.encryptBlock(i,0);for(var o=0;o<r;o++)e[t+o]^=i[o]}return t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize;r.call(this,e,t,i,n),this._prevBlock=e.slice(t,t+i)}}),t.Decryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,s=e.slice(t,t+i);r.call(this,e,t,i,n),this._prevBlock=s}}),t}(),e.mode.CFB));var e}(),function(){return vr?wr.exports:(vr=1,wr.exports=(r=kt(),yr(),r.mode.CTR=(e=r.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,s=this._counter;i&&(s=this._counter=i.slice(0),this._iv=void 0);var o=s.slice(0);r.encryptBlock(o,0),s[n-1]=s[n-1]+1|0;for(var a=0;a<n;a++)e[t+a]^=o[a]}}),e.Decryptor=t,e),r.mode.CTR));var e,t,r}(),kr(),function(){return xr?Or.exports:(xr=1,Or.exports=(r=kt(),yr(),r.mode.OFB=(e=r.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,s=this._keystream;i&&(s=this._keystream=i.slice(0),this._iv=void 0),r.encryptBlock(s,0);for(var o=0;o<n;o++)e[t+o]^=s[o]}}),e.Decryptor=t,e),r.mode.OFB));var e,t,r}(),function(){return Dr?Mr.exports:(Dr=1,Mr.exports=(t=kt(),yr(),t.mode.ECB=((e=t.lib.BlockCipherMode.extend()).Encryptor=e.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),e.Decryptor=e.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),e),t.mode.ECB));var e,t}(),function(){return Rr?Tr.exports:(Rr=1,Tr.exports=(e=kt(),yr(),e.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,i=n-r%n,s=r+i-1;e.clamp(),e.words[s>>>2]|=i<<24-s%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923));var e}(),function(){return Er?Cr.exports:(Er=1,Cr.exports=(e=kt(),yr(),e.pad.Iso10126={pad:function(t,r){var n=4*r,i=n-t.sigBytes%n;t.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126));var e}(),function(){return Ar?Br.exports:(Ar=1,Br.exports=(e=kt(),yr(),e.pad.Iso97971={pad:function(t,r){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,r)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971));var e}(),function(){return Yr?Nr.exports:(Yr=1,Nr.exports=(e=kt(),yr(),e.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},e.pad.ZeroPadding));var e}(),function(){return Pr?Hr.exports:(Pr=1,Hr.exports=(e=kt(),yr(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding));var e}(),function(){return Fr?Ur.exports:(Fr=1,Ur.exports=(n=kt(),yr(),t=(e=n).lib.CipherParams,r=e.enc.Hex,e.format.Hex={stringify:function(e){return e.ciphertext.toString(r)},parse:function(e){var n=r.parse(e);return t.create({ciphertext:n})}},n.format.Hex));var e,t,r,n}(),function(){return jr?Lr.exports:(jr=1,Lr.exports=(e=kt(),Nt(),Lt(),fr(),yr(),function(){var t=e,r=t.lib.BlockCipher,n=t.algo,i=[],s=[],o=[],a=[],c=[],u=[],l=[],h=[],d=[],f=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var p=n^n<<1^n<<2^n<<3^n<<4;p=p>>>8^255&p^99,i[r]=p,s[p]=r;var m=e[r],y=e[m],_=e[y],g=257*e[p]^16843008*p;o[r]=g<<24|g>>>8,a[r]=g<<16|g>>>16,c[r]=g<<8|g>>>24,u[r]=g,g=16843009*_^65537*y^257*m^16843008*r,l[p]=g<<24|g>>>8,h[p]=g<<16|g>>>16,d[p]=g<<8|g>>>24,f[p]=g,r?(r=m^e[e[e[_^m]]],n^=e[e[n]]):r=n=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],m=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),s=this._keySchedule=[],o=0;o<n;o++)o<r?s[o]=t[o]:(u=s[o-1],o%r?r>6&&o%r==4&&(u=i[u>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u]):(u=i[(u=u<<8|u>>>24)>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u],u^=p[o/r|0]<<24),s[o]=s[o-r]^u);for(var a=this._invKeySchedule=[],c=0;c<n;c++){if(o=n-c,c%4)var u=s[o];else u=s[o-4];a[c]=c<4||o<=4?u:l[i[u>>>24]]^h[i[u>>>16&255]]^d[i[u>>>8&255]]^f[i[255&u]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,o,a,c,u,i)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,l,h,d,f,s),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,i,s,o,a){for(var c=this._nRounds,u=e[t]^r[0],l=e[t+1]^r[1],h=e[t+2]^r[2],d=e[t+3]^r[3],f=4,p=1;p<c;p++){var m=n[u>>>24]^i[l>>>16&255]^s[h>>>8&255]^o[255&d]^r[f++],y=n[l>>>24]^i[h>>>16&255]^s[d>>>8&255]^o[255&u]^r[f++],_=n[h>>>24]^i[d>>>16&255]^s[u>>>8&255]^o[255&l]^r[f++],g=n[d>>>24]^i[u>>>16&255]^s[l>>>8&255]^o[255&h]^r[f++];u=m,l=y,h=_,d=g}m=(a[u>>>24]<<24|a[l>>>16&255]<<16|a[h>>>8&255]<<8|a[255&d])^r[f++],y=(a[l>>>24]<<24|a[h>>>16&255]<<16|a[d>>>8&255]<<8|a[255&u])^r[f++],_=(a[h>>>24]<<24|a[d>>>16&255]<<16|a[u>>>8&255]<<8|a[255&l])^r[f++],g=(a[d>>>24]<<24|a[u>>>16&255]<<16|a[l>>>8&255]<<8|a[255&h])^r[f++],e[t]=m,e[t+1]=y,e[t+2]=_,e[t+3]=g},keySize:8});t.AES=r._createHelper(m)}(),e.AES));var e}(),Ir(),function(){return Vr?Gr.exports:(Vr=1,Gr.exports=(e=kt(),Nt(),Lt(),fr(),yr(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=n.RC4=r.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;i=0;for(var s=0;i<256;i++){var o=i%r,a=t[o>>>2]>>>24-o%4*8&255;s=(s+n[i]+a)%256;var c=n[i];n[i]=n[s],n[s]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=s.call(this)},keySize:8,ivSize:0});function s(){for(var e=this._S,t=this._i,r=this._j,n=0,i=0;i<4;i++){r=(r+e[t=(t+1)%256])%256;var s=e[t];e[t]=e[r],e[r]=s,n|=e[(e[t]+e[r])%256]<<24-8*i}return this._i=t,this._j=r,n}t.RC4=r._createHelper(i);var o=n.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)s.call(this)}});t.RC4Drop=r._createHelper(o)}(),e.RC4));var e}(),function(){return qr?Zr.exports:(qr=1,Zr.exports=(e=kt(),Nt(),Lt(),fr(),yr(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=[],s=[],o=[],a=n.Rabbit=r.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)i[r]^=n[r+4&7];if(t){var s=t.words,o=s[0],a=s[1],u=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),h=u>>>16|4294901760&l,d=l<<16|65535&u;for(i[0]^=u,i[1]^=h,i[2]^=l,i[3]^=d,i[4]^=u,i[5]^=h,i[6]^=l,i[7]^=d,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(e,t){var r=this._X;c.call(this),i[0]=r[0]^r[5]>>>16^r[3]<<16,i[1]=r[2]^r[7]>>>16^r[5]<<16,i[2]=r[4]^r[1]>>>16^r[7]<<16,i[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),e[t+n]^=i[n]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,r=0;r<8;r++)s[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<s[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<s[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<s[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<s[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<s[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<s[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<s[6]>>>0?1:0)|0,this._b=t[7]>>>0<s[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,a=n>>>16,c=((i*i>>>17)+i*a>>>15)+a*a,u=((4294901760&n)*n|0)+((65535&n)*n|0);o[r]=c^u}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}t.Rabbit=r._createHelper(a)}(),e.Rabbit));var e}(),function(){return Kr?Jr.exports:(Kr=1,Jr.exports=(e=kt(),Nt(),Lt(),fr(),yr(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=[],s=[],o=[],a=n.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)c.call(this);for(i=0;i<8;i++)n[i]^=r[i+4&7];if(t){var s=t.words,o=s[0],a=s[1],u=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),h=u>>>16|4294901760&l,d=l<<16|65535&u;for(n[0]^=u,n[1]^=h,n[2]^=l,n[3]^=d,n[4]^=u,n[5]^=h,n[6]^=l,n[7]^=d,i=0;i<4;i++)c.call(this)}},_doProcessBlock:function(e,t){var r=this._X;c.call(this),i[0]=r[0]^r[5]>>>16^r[3]<<16,i[1]=r[2]^r[7]>>>16^r[5]<<16,i[2]=r[4]^r[1]>>>16^r[7]<<16,i[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),e[t+n]^=i[n]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,r=0;r<8;r++)s[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<s[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<s[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<s[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<s[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<s[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<s[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<s[6]>>>0?1:0)|0,this._b=t[7]>>>0<s[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,a=n>>>16,c=((i*i>>>17)+i*a>>>15)+a*a,u=((4294901760&n)*n|0)+((65535&n)*n|0);o[r]=c^u}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}t.RabbitLegacy=r._createHelper(a)}(),e.RabbitLegacy));var e}(),on())); +//! moment.js +//! version : 2.30.1 +//! authors : Tim Wood, Iskren Chernev, Moment.js contributors +//! license : MIT +//! momentjs.com +var cn,un;function ln(){return cn.apply(null,arguments)}function hn(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function dn(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function fn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function pn(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(fn(e,t))return!1;return!0}function mn(e){return void 0===e}function yn(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function _n(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function gn(e,t){var r,n=[],i=e.length;for(r=0;r<i;++r)n.push(t(e[r],r));return n}function vn(e,t){for(var r in t)fn(t,r)&&(e[r]=t[r]);return fn(t,"toString")&&(e.toString=t.toString),fn(t,"valueOf")&&(e.valueOf=t.valueOf),e}function wn(e,t,r,n){return js(e,t,r,n,!0).utc()}function bn(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function Sn(e){var t=null,r=!1,n=e._d&&!isNaN(e._d.getTime());return n&&(t=bn(e),r=un.call(t.parsedDateParts,(function(e){return null!=e})),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?n:(e._isValid=n,e._isValid)}function kn(e){var t=wn(NaN);return null!=e?vn(bn(t),e):bn(t).userInvalidated=!0,t}un=Array.prototype.some?Array.prototype.some:function(e){var t,r=Object(this),n=r.length>>>0;for(t=0;t<n;t++)if(t in r&&e.call(this,r[t],t,r))return!0;return!1};var xn=ln.momentProperties=[],On=!1;function Dn(e,t){var r,n,i,s=xn.length;if(mn(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),mn(t._i)||(e._i=t._i),mn(t._f)||(e._f=t._f),mn(t._l)||(e._l=t._l),mn(t._strict)||(e._strict=t._strict),mn(t._tzm)||(e._tzm=t._tzm),mn(t._isUTC)||(e._isUTC=t._isUTC),mn(t._offset)||(e._offset=t._offset),mn(t._pf)||(e._pf=bn(t)),mn(t._locale)||(e._locale=t._locale),s>0)for(r=0;r<s;r++)mn(i=t[n=xn[r]])||(e[n]=i);return e}function Mn(e){Dn(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===On&&(On=!0,ln.updateOffset(this),On=!1)}function Rn(e){return e instanceof Mn||null!=e&&null!=e._isAMomentObject}function Tn(e){!1===ln.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn}function En(e,t){var r=!0;return vn((function(){if(null!=ln.deprecationHandler&&ln.deprecationHandler(null,e),r){var n,i,s,o=[],a=arguments.length;for(i=0;i<a;i++){if(n="","object"==typeof arguments[i]){for(s in n+="\n["+i+"] ",arguments[0])fn(arguments[0],s)&&(n+=s+": "+arguments[0][s]+", ");n=n.slice(0,-2)}else n=arguments[i];o.push(n)}Tn((Array.prototype.slice.call(o).join(""),(new Error).stack)),r=!1}return t.apply(this,arguments)}),t)}var Cn,An={};function Bn(e,t){null!=ln.deprecationHandler&&ln.deprecationHandler(e,t),An[e]||(Tn(),An[e]=!0)}function Yn(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Nn(e,t){var r,n=vn({},e);for(r in t)fn(t,r)&&(dn(e[r])&&dn(t[r])?(n[r]={},vn(n[r],e[r]),vn(n[r],t[r])):null!=t[r]?n[r]=t[r]:delete n[r]);for(r in e)fn(e,r)&&!fn(t,r)&&dn(e[r])&&(n[r]=vn({},n[r]));return n}function Pn(e){null!=e&&this.set(e)}ln.suppressDeprecationWarnings=!1,ln.deprecationHandler=null,Cn=Object.keys?Object.keys:function(e){var t,r=[];for(t in e)fn(e,t)&&r.push(t);return r};function Hn(e,t,r){var n=""+Math.abs(e),i=t-n.length;return(e>=0?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var Fn=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Un=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,jn={},Ln={};function Wn(e,t,r,n){var i=n;"string"==typeof n&&(i=function(){return this[n]()}),e&&(Ln[e]=i),t&&(Ln[t[0]]=function(){return Hn(i.apply(this,arguments),t[1],t[2])}),r&&(Ln[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function zn(e,t){return e.isValid()?(t=In(t,e.localeData()),jn[t]=jn[t]||function(e){var t,r,n,i=e.match(Fn);for(t=0,r=i.length;t<r;t++)Ln[i[t]]?i[t]=Ln[i[t]]:i[t]=(n=i[t]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(t){var n,s="";for(n=0;n<r;n++)s+=Yn(i[n])?i[n].call(t,e):i[n];return s}}(t),jn[t](e)):e.localeData().invalidDate()}function In(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}for(Un.lastIndex=0;r>=0&&Un.test(e);)e=e.replace(Un,n),Un.lastIndex=0,r-=1;return e}var Vn={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Gn(e){return"string"==typeof e?Vn[e]||Vn[e.toLowerCase()]:void 0}function qn(e){var t,r,n={};for(r in e)fn(e,r)&&(t=Gn(r))&&(n[t]=e[r]);return n}var Zn={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var Kn,Jn=/\d/,Xn=/\d\d/,$n=/\d{3}/,Qn=/\d{4}/,ei=/[+-]?\d{6}/,ti=/\d\d?/,ri=/\d\d\d\d?/,ni=/\d\d\d\d\d\d?/,ii=/\d{1,3}/,si=/\d{1,4}/,oi=/[+-]?\d{1,6}/,ai=/\d+/,ci=/[+-]?\d+/,ui=/Z|[+-]\d\d:?\d\d/gi,li=/Z|[+-]\d\d(?::?\d\d)?/gi,hi=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,di=/^[1-9]\d?/,fi=/^([1-9]\d|\d)/;function pi(e,t,r){Kn[e]=Yn(t)?t:function(e,n){return e&&r?r:t}}function mi(e,t){return fn(Kn,e)?Kn[e](t._strict,t._locale):new RegExp(yi(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,r,n,i){return t||r||n||i}))))}function yi(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function _i(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function gi(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=_i(t)),r}Kn={};var vi={};function wi(e,t){var r,n,i=t;for("string"==typeof e&&(e=[e]),yn(t)&&(i=function(e,r){r[t]=gi(e)}),n=e.length,r=0;r<n;r++)vi[e[r]]=i}function bi(e,t){wi(e,(function(e,r,n,i){n._w=n._w||{},t(e,n._w,n,i)}))}function Si(e,t,r){null!=t&&fn(vi,e)&&vi[e](t,r._a,r,e)}function ki(e){return e%4==0&&e%100!=0||e%400==0}var xi=0,Oi=1,Di=2,Mi=3,Ri=4,Ti=5,Ei=6,Ci=7,Ai=8;function Bi(e){return ki(e)?366:365}Wn("Y",0,0,(function(){var e=this.year();return e<=9999?Hn(e,4):"+"+e})),Wn(0,["YY",2],0,(function(){return this.year()%100})),Wn(0,["YYYY",4],0,"year"),Wn(0,["YYYYY",5],0,"year"),Wn(0,["YYYYYY",6,!0],0,"year"),pi("Y",ci),pi("YY",ti,Xn),pi("YYYY",si,Qn),pi("YYYYY",oi,ei),pi("YYYYYY",oi,ei),wi(["YYYYY","YYYYYY"],xi),wi("YYYY",(function(e,t){t[xi]=2===e.length?ln.parseTwoDigitYear(e):gi(e)})),wi("YY",(function(e,t){t[xi]=ln.parseTwoDigitYear(e)})),wi("Y",(function(e,t){t[xi]=parseInt(e,10)})),ln.parseTwoDigitYear=function(e){return gi(e)+(gi(e)>68?1900:2e3)};var Yi,Ni=Pi("FullYear",!0);function Pi(e,t){return function(r){return null!=r?(Fi(this,e,r),ln.updateOffset(this,t),this):Hi(this,e)}}function Hi(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Fi(e,t,r){var n,i,s,o,a;if(e.isValid()&&!isNaN(r)){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}s=r,o=e.month(),a=29!==(a=e.date())||1!==o||ki(s)?a:28,i?n.setUTCFullYear(s,o,a):n.setFullYear(s,o,a)}}function Ui(e,t){if(isNaN(e)||isNaN(t))return NaN;var r,n=(t%(r=12)+r)%r;return e+=(t-n)/12,1===n?ki(e)?29:28:31-n%7%2}Yi=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},Wn("M",["MM",2],"Mo",(function(){return this.month()+1})),Wn("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),Wn("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),pi("M",ti,di),pi("MM",ti,Xn),pi("MMM",(function(e,t){return t.monthsShortRegex(e)})),pi("MMMM",(function(e,t){return t.monthsRegex(e)})),wi(["M","MM"],(function(e,t){t[Oi]=gi(e)-1})),wi(["MMM","MMMM"],(function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);null!=i?t[Oi]=i:bn(r).invalidMonth=e}));var ji="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Li="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Wi=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,zi=hi,Ii=hi;function Vi(e,t,r){var n,i,s,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)s=wn([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(i=Yi.call(this._shortMonthsParse,o))?i:null:-1!==(i=Yi.call(this._longMonthsParse,o))?i:null:"MMM"===t?-1!==(i=Yi.call(this._shortMonthsParse,o))||-1!==(i=Yi.call(this._longMonthsParse,o))?i:null:-1!==(i=Yi.call(this._longMonthsParse,o))||-1!==(i=Yi.call(this._shortMonthsParse,o))?i:null}function Gi(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=gi(t);else if(!yn(t=e.localeData().monthsParse(t)))return e;var r=t,n=e.date();return n=n<29?n:Math.min(n,Ui(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function qi(e){return null!=e?(Gi(this,e),ln.updateOffset(this,!0),this):Hi(this,"Month")}function Zi(){function e(e,t){return t.length-e.length}var t,r,n,i,s=[],o=[],a=[];for(t=0;t<12;t++)r=wn([2e3,t]),n=yi(this.monthsShort(r,"")),i=yi(this.months(r,"")),s.push(n),o.push(i),a.push(i),a.push(n);s.sort(e),o.sort(e),a.sort(e),this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Ki(e,t,r,n,i,s,o){var a;return e<100&&e>=0?(a=new Date(e+400,t,r,n,i,s,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,r,n,i,s,o),a}function Ji(e){var t,r;return e<100&&e>=0?((r=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Xi(e,t,r){var n=7+t-r;return-((7+Ji(e,0,n).getUTCDay()-t)%7)+n-1}function $i(e,t,r,n,i){var s,o,a=1+7*(t-1)+(7+r-n)%7+Xi(e,n,i);return a<=0?o=Bi(s=e-1)+a:a>Bi(e)?(s=e+1,o=a-Bi(e)):(s=e,o=a),{year:s,dayOfYear:o}}function Qi(e,t,r){var n,i,s=Xi(e.year(),t,r),o=Math.floor((e.dayOfYear()-s-1)/7)+1;return o<1?n=o+es(i=e.year()-1,t,r):o>es(e.year(),t,r)?(n=o-es(e.year(),t,r),i=e.year()+1):(i=e.year(),n=o),{week:n,year:i}}function es(e,t,r){var n=Xi(e,t,r),i=Xi(e+1,t,r);return(Bi(e)-n+i)/7}Wn("w",["ww",2],"wo","week"),Wn("W",["WW",2],"Wo","isoWeek"),pi("w",ti,di),pi("ww",ti,Xn),pi("W",ti,di),pi("WW",ti,Xn),bi(["w","ww","W","WW"],(function(e,t,r,n){t[n.substr(0,1)]=gi(e)}));function ts(e,t){return e.slice(t,7).concat(e.slice(0,t))}Wn("d",0,"do","day"),Wn("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),Wn("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),Wn("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),Wn("e",0,0,"weekday"),Wn("E",0,0,"isoWeekday"),pi("d",ti),pi("e",ti),pi("E",ti),pi("dd",(function(e,t){return t.weekdaysMinRegex(e)})),pi("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),pi("dddd",(function(e,t){return t.weekdaysRegex(e)})),bi(["dd","ddd","dddd"],(function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);null!=i?t.d=i:bn(r).invalidWeekday=e})),bi(["d","e","E"],(function(e,t,r,n){t[n]=gi(e)}));var rs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ns="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),is="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ss=hi,os=hi,as=hi;function cs(e,t,r){var n,i,s,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=wn([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(i=Yi.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Yi.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Yi.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Yi.call(this._weekdaysParse,o))||-1!==(i=Yi.call(this._shortWeekdaysParse,o))||-1!==(i=Yi.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Yi.call(this._shortWeekdaysParse,o))||-1!==(i=Yi.call(this._weekdaysParse,o))||-1!==(i=Yi.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Yi.call(this._minWeekdaysParse,o))||-1!==(i=Yi.call(this._weekdaysParse,o))||-1!==(i=Yi.call(this._shortWeekdaysParse,o))?i:null}function us(){function e(e,t){return t.length-e.length}var t,r,n,i,s,o=[],a=[],c=[],u=[];for(t=0;t<7;t++)r=wn([2e3,1]).day(t),n=yi(this.weekdaysMin(r,"")),i=yi(this.weekdaysShort(r,"")),s=yi(this.weekdays(r,"")),o.push(n),a.push(i),c.push(s),u.push(n),u.push(i),u.push(s);o.sort(e),a.sort(e),c.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function ls(){return this.hours()%12||12}function hs(e,t){Wn(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function ds(e,t){return t._meridiemParse}Wn("H",["HH",2],0,"hour"),Wn("h",["hh",2],0,ls),Wn("k",["kk",2],0,(function(){return this.hours()||24})),Wn("hmm",0,0,(function(){return""+ls.apply(this)+Hn(this.minutes(),2)})),Wn("hmmss",0,0,(function(){return""+ls.apply(this)+Hn(this.minutes(),2)+Hn(this.seconds(),2)})),Wn("Hmm",0,0,(function(){return""+this.hours()+Hn(this.minutes(),2)})),Wn("Hmmss",0,0,(function(){return""+this.hours()+Hn(this.minutes(),2)+Hn(this.seconds(),2)})),hs("a",!0),hs("A",!1),pi("a",ds),pi("A",ds),pi("H",ti,fi),pi("h",ti,di),pi("k",ti,di),pi("HH",ti,Xn),pi("hh",ti,Xn),pi("kk",ti,Xn),pi("hmm",ri),pi("hmmss",ni),pi("Hmm",ri),pi("Hmmss",ni),wi(["H","HH"],Mi),wi(["k","kk"],(function(e,t,r){var n=gi(e);t[Mi]=24===n?0:n})),wi(["a","A"],(function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e})),wi(["h","hh"],(function(e,t,r){t[Mi]=gi(e),bn(r).bigHour=!0})),wi("hmm",(function(e,t,r){var n=e.length-2;t[Mi]=gi(e.substr(0,n)),t[Ri]=gi(e.substr(n)),bn(r).bigHour=!0})),wi("hmmss",(function(e,t,r){var n=e.length-4,i=e.length-2;t[Mi]=gi(e.substr(0,n)),t[Ri]=gi(e.substr(n,2)),t[Ti]=gi(e.substr(i)),bn(r).bigHour=!0})),wi("Hmm",(function(e,t,r){var n=e.length-2;t[Mi]=gi(e.substr(0,n)),t[Ri]=gi(e.substr(n))})),wi("Hmmss",(function(e,t,r){var n=e.length-4,i=e.length-2;t[Mi]=gi(e.substr(0,n)),t[Ri]=gi(e.substr(n,2)),t[Ti]=gi(e.substr(i))}));var fs=Pi("Hours",!0);var ps,ms={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ji,monthsShort:Li,week:{dow:0,doy:6},weekdays:rs,weekdaysMin:is,weekdaysShort:ns,meridiemParse:/[ap]\.?m?\.?/i},ys={},_s={};function gs(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function vs(e){return e?e.toLowerCase().replace("_","-"):e}function ws(e){var t=null;if(void 0===ys[e]&&"undefined"!=typeof module&&module&&module.exports&&function(e){return!(!e||!e.match("^[^/\\\\]*$"))}(e))try{t=ps._abbr,require("./locale/"+e),bs(t)}catch(r){ys[e]=null}return ys[e]}function bs(e,t){var r;return e&&((r=mn(t)?ks(e):Ss(e,t))?ps=r:"undefined"!=typeof console&&console.warn),ps._abbr}function Ss(e,t){if(null!==t){var r,n=ms;if(t.abbr=e,null!=ys[e])Bn("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ys[e]._config;else if(null!=t.parentLocale)if(null!=ys[t.parentLocale])n=ys[t.parentLocale]._config;else{if(null==(r=ws(t.parentLocale)))return _s[t.parentLocale]||(_s[t.parentLocale]=[]),_s[t.parentLocale].push({name:e,config:t}),null;n=r._config}return ys[e]=new Pn(Nn(n,t)),_s[e]&&_s[e].forEach((function(e){Ss(e.name,e.config)})),bs(e),ys[e]}return delete ys[e],null}function ks(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ps;if(!hn(e)){if(t=ws(e))return t;e=[e]}return function(e){for(var t,r,n,i,s=0;s<e.length;){for(t=(i=vs(e[s]).split("-")).length,r=(r=vs(e[s+1]))?r.split("-"):null;t>0;){if(n=ws(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&gs(i,r)>=t-1)break;t--}s++}return ps}(e)}function xs(e){var t,r=e._a;return r&&-2===bn(e).overflow&&(t=r[Oi]<0||r[Oi]>11?Oi:r[Di]<1||r[Di]>Ui(r[xi],r[Oi])?Di:r[Mi]<0||r[Mi]>24||24===r[Mi]&&(0!==r[Ri]||0!==r[Ti]||0!==r[Ei])?Mi:r[Ri]<0||r[Ri]>59?Ri:r[Ti]<0||r[Ti]>59?Ti:r[Ei]<0||r[Ei]>999?Ei:-1,bn(e)._overflowDayOfYear&&(t<xi||t>Di)&&(t=Di),bn(e)._overflowWeeks&&-1===t&&(t=Ci),bn(e)._overflowWeekday&&-1===t&&(t=Ai),bn(e).overflow=t),e}var Os=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ds=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ms=/Z|[+-]\d\d(?::?\d\d)?/,Rs=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ts=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Es=/^\/?Date\((-?\d+)/i,Cs=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,As={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Bs(e){var t,r,n,i,s,o,a=e._i,c=Os.exec(a)||Ds.exec(a),u=Rs.length,l=Ts.length;if(c){for(bn(e).iso=!0,t=0,r=u;t<r;t++)if(Rs[t][1].exec(c[1])){i=Rs[t][0],n=!1!==Rs[t][2];break}if(null==i)return void(e._isValid=!1);if(c[3]){for(t=0,r=l;t<r;t++)if(Ts[t][1].exec(c[3])){s=(c[2]||" ")+Ts[t][0];break}if(null==s)return void(e._isValid=!1)}if(!n&&null!=s)return void(e._isValid=!1);if(c[4]){if(!Ms.exec(c[4]))return void(e._isValid=!1);o="Z"}e._f=i+(s||"")+(o||""),Fs(e)}else e._isValid=!1}function Ys(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ns(e){var t,r,n,i,s,o,a,c,u=Cs.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(u){if(r=u[4],n=u[3],i=u[2],s=u[5],o=u[6],a=u[7],c=[Ys(r),Li.indexOf(n),parseInt(i,10),parseInt(s,10),parseInt(o,10)],a&&c.push(parseInt(a,10)),t=c,!function(e,t,r){return!e||ns.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(bn(r).weekdayMismatch=!0,r._isValid=!1,!1)}(u[1],t,e))return;e._a=t,e._tzm=function(e,t,r){if(e)return As[e];if(t)return 0;var n=parseInt(r,10),i=n%100;return(n-i)/100*60+i}(u[8],u[9],u[10]),e._d=Ji.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),bn(e).rfc2822=!0}else e._isValid=!1}function Ps(e,t,r){return null!=e?e:null!=t?t:r}function Hs(e){var t,r,n,i,s,o=[];if(!e._d){for(n=function(e){var t=new Date(ln.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[Di]&&null==e._a[Oi]&&function(e){var t,r,n,i,s,o,a,c,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(s=1,o=4,r=Ps(t.GG,e._a[xi],Qi(Ls(),1,4).year),n=Ps(t.W,1),((i=Ps(t.E,1))<1||i>7)&&(c=!0)):(s=e._locale._week.dow,o=e._locale._week.doy,u=Qi(Ls(),s,o),r=Ps(t.gg,e._a[xi],u.year),n=Ps(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(c=!0):null!=t.e?(i=t.e+s,(t.e<0||t.e>6)&&(c=!0)):i=s);n<1||n>es(r,s,o)?bn(e)._overflowWeeks=!0:null!=c?bn(e)._overflowWeekday=!0:(a=$i(r,n,i,s,o),e._a[xi]=a.year,e._dayOfYear=a.dayOfYear)}(e),null!=e._dayOfYear&&(s=Ps(e._a[xi],n[xi]),(e._dayOfYear>Bi(s)||0===e._dayOfYear)&&(bn(e)._overflowDayOfYear=!0),r=Ji(s,0,e._dayOfYear),e._a[Oi]=r.getUTCMonth(),e._a[Di]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=n[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Mi]&&0===e._a[Ri]&&0===e._a[Ti]&&0===e._a[Ei]&&(e._nextDay=!0,e._a[Mi]=0),e._d=(e._useUTC?Ji:Ki).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Mi]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(bn(e).weekdayMismatch=!0)}}function Fs(e){if(e._f!==ln.ISO_8601)if(e._f!==ln.RFC_2822){e._a=[],bn(e).empty=!0;var t,r,n,i,s,o,a,c=""+e._i,u=c.length,l=0;for(a=(n=In(e._f,e._locale).match(Fn)||[]).length,t=0;t<a;t++)i=n[t],(r=(c.match(mi(i,e))||[])[0])&&((s=c.substr(0,c.indexOf(r))).length>0&&bn(e).unusedInput.push(s),c=c.slice(c.indexOf(r)+r.length),l+=r.length),Ln[i]?(r?bn(e).empty=!1:bn(e).unusedTokens.push(i),Si(i,r,e)):e._strict&&!r&&bn(e).unusedTokens.push(i);bn(e).charsLeftOver=u-l,c.length>0&&bn(e).unusedInput.push(c),e._a[Mi]<=12&&!0===bn(e).bigHour&&e._a[Mi]>0&&(bn(e).bigHour=void 0),bn(e).parsedDateParts=e._a.slice(0),bn(e).meridiem=e._meridiem,e._a[Mi]=function(e,t,r){var n;if(null==r)return t;return null!=e.meridiemHour?e.meridiemHour(t,r):null!=e.isPM?((n=e.isPM(r))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[Mi],e._meridiem),null!==(o=bn(e).era)&&(e._a[xi]=e._locale.erasConvertYear(o,e._a[xi])),Hs(e),xs(e)}else Ns(e);else Bs(e)}function Us(e){var t=e._i,r=e._f;return e._locale=e._locale||ks(e._l),null===t||void 0===r&&""===t?kn({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),Rn(t)?new Mn(xs(t)):(_n(t)?e._d=t:hn(r)?function(e){var t,r,n,i,s,o,a=!1,c=e._f.length;if(0===c)return bn(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<c;i++)s=0,o=!1,t=Dn({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Fs(t),Sn(t)&&(o=!0),s+=bn(t).charsLeftOver,s+=10*bn(t).unusedTokens.length,bn(t).score=s,a?s<n&&(n=s,r=t):(null==n||s<n||o)&&(n=s,r=t,o&&(a=!0));vn(e,r||t)}(e):r?Fs(e):function(e){var t=e._i;mn(t)?e._d=new Date(ln.now()):_n(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=Es.exec(e._i);null===t?(Bs(e),!1===e._isValid&&(delete e._isValid,Ns(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:ln.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):hn(t)?(e._a=gn(t.slice(0),(function(e){return parseInt(e,10)})),Hs(e)):dn(t)?function(e){if(!e._d){var t=qn(e._i),r=void 0===t.day?t.date:t.day;e._a=gn([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Hs(e)}}(e):yn(t)?e._d=new Date(t):ln.createFromInputFallback(e)}(e),Sn(e)||(e._d=null),e))}function js(e,t,r,n,i){var s,o={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==r&&!1!==r||(n=r,r=void 0),(dn(e)&&pn(e)||hn(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=r,o._i=e,o._f=t,o._strict=n,(s=new Mn(xs(Us(o))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Ls(e,t,r,n){return js(e,t,r,n,!1)}ln.createFromInputFallback=En("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),ln.ISO_8601=function(){},ln.RFC_2822=function(){};var Ws=En("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Ls.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:kn()})),zs=En("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Ls.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:kn()}));function Is(e,t){var r,n;if(1===t.length&&hn(t[0])&&(t=t[0]),!t.length)return Ls();for(r=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](r)||(r=t[n]);return r}var Vs=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Gs(e){var t=qn(e),r=t.year||0,n=t.quarter||0,i=t.month||0,s=t.week||t.isoWeek||0,o=t.day||0,a=t.hour||0,c=t.minute||0,u=t.second||0,l=t.millisecond||0;this._isValid=function(e){var t,r,n=!1,i=Vs.length;for(t in e)if(fn(e,t)&&(-1===Yi.call(Vs,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<i;++r)if(e[Vs[r]]){if(n)return!1;parseFloat(e[Vs[r]])!==gi(e[Vs[r]])&&(n=!0)}return!0}(t),this._milliseconds=+l+1e3*u+6e4*c+1e3*a*60*60,this._days=+o+7*s,this._months=+i+3*n+12*r,this._data={},this._locale=ks(),this._bubble()}function qs(e){return e instanceof Gs}function Zs(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ks(e,t){Wn(e,0,0,(function(){var e=this.utcOffset(),r="+";return e<0&&(e=-e,r="-"),r+Hn(~~(e/60),2)+t+Hn(~~e%60,2)}))}Ks("Z",":"),Ks("ZZ",""),pi("Z",li),pi("ZZ",li),wi(["Z","ZZ"],(function(e,t,r){r._useUTC=!0,r._tzm=Xs(li,e)}));var Js=/([\+\-]|\d\d)/gi;function Xs(e,t){var r,n,i=(t||"").match(e);return null===i?null:0===(n=60*(r=((i[i.length-1]||[])+"").match(Js)||["-",0,0])[1]+gi(r[2]))?0:"+"===r[0]?n:-n}function $s(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(Rn(e)||_n(e)?e.valueOf():Ls(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),ln.updateOffset(r,!1),r):Ls(e).local()}function Qs(e){return-Math.round(e._d.getTimezoneOffset())}function eo(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}ln.updateOffset=function(){};var to=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ro=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function no(e,t){var r,n,i,s=e,o=null;return qs(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:yn(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(o=to.exec(e))?(r="-"===o[1]?-1:1,s={y:0,d:gi(o[Di])*r,h:gi(o[Mi])*r,m:gi(o[Ri])*r,s:gi(o[Ti])*r,ms:gi(Zs(1e3*o[Ei]))*r}):(o=ro.exec(e))?(r="-"===o[1]?-1:1,s={y:io(o[2],r),M:io(o[3],r),w:io(o[4],r),d:io(o[5],r),h:io(o[6],r),m:io(o[7],r),s:io(o[8],r)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(i=function(e,t){var r;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=$s(t,e),e.isBefore(t)?r=so(e,t):((r=so(t,e)).milliseconds=-r.milliseconds,r.months=-r.months);return r}(Ls(s.from),Ls(s.to)),(s={}).ms=i.milliseconds,s.M=i.months),n=new Gs(s),qs(e)&&fn(e,"_locale")&&(n._locale=e._locale),qs(e)&&fn(e,"_isValid")&&(n._isValid=e._isValid),n}function io(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function so(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function oo(e,t){return function(r,n){var i;return null===n||isNaN(+n)||(Bn(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),ao(this,no(r,n),e),this}}function ao(e,t,r,n){var i=t._milliseconds,s=Zs(t._days),o=Zs(t._months);e.isValid()&&(n=null==n||n,o&&Gi(e,Hi(e,"Month")+o*r),s&&Fi(e,"Date",Hi(e,"Date")+s*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&ln.updateOffset(e,s||o))}no.fn=Gs.prototype,no.invalid=function(){return no(NaN)};var co=oo(1,"add"),uo=oo(-1,"subtract");function lo(e){return"string"==typeof e||e instanceof String}function ho(e){return Rn(e)||_n(e)||lo(e)||yn(e)||function(e){var t=hn(e),r=!1;t&&(r=0===e.filter((function(t){return!yn(t)&&lo(e)})).length);return t&&r}(e)||function(e){var t,r,n=dn(e)&&!pn(e),i=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=s.length;for(t=0;t<o;t+=1)r=s[t],i=i||fn(e,r);return n&&i}(e)||null==e}function fo(e,t){if(e.date()<t.date())return-fo(t,e);var r=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(r,"months");return-(r+(t-n<0?(t-n)/(n-e.clone().add(r-1,"months")):(t-n)/(e.clone().add(r+1,"months")-n)))||0}function po(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ks(e))&&(this._locale=t),this)}ln.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",ln.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var mo=En("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function yo(){return this._locale}var _o=1e3,go=6e4,vo=36e5,wo=126227808e5;function bo(e,t){return(e%t+t)%t}function So(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-wo:new Date(e,t,r).valueOf()}function ko(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-wo:Date.UTC(e,t,r)}function xo(e,t){return t.erasAbbrRegex(e)}function Oo(){var e,t,r,n,i,s=[],o=[],a=[],c=[],u=this.eras();for(e=0,t=u.length;e<t;++e)r=yi(u[e].name),n=yi(u[e].abbr),i=yi(u[e].narrow),o.push(r),s.push(n),a.push(i),c.push(r),c.push(n),c.push(i);this._erasRegex=new RegExp("^("+c.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function Do(e,t){Wn(0,[e,e.length],0,t)}function Mo(e,t,r,n,i){var s;return null==e?Qi(this,n,i).year:(t>(s=es(e,n,i))&&(t=s),Ro.call(this,e,t,r,n,i))}function Ro(e,t,r,n,i){var s=$i(e,t,r,n,i),o=Ji(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}Wn("N",0,0,"eraAbbr"),Wn("NN",0,0,"eraAbbr"),Wn("NNN",0,0,"eraAbbr"),Wn("NNNN",0,0,"eraName"),Wn("NNNNN",0,0,"eraNarrow"),Wn("y",["y",1],"yo","eraYear"),Wn("y",["yy",2],0,"eraYear"),Wn("y",["yyy",3],0,"eraYear"),Wn("y",["yyyy",4],0,"eraYear"),pi("N",xo),pi("NN",xo),pi("NNN",xo),pi("NNNN",(function(e,t){return t.erasNameRegex(e)})),pi("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),wi(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?bn(r).era=i:bn(r).invalidEra=e})),pi("y",ai),pi("yy",ai),pi("yyy",ai),pi("yyyy",ai),pi("yo",(function(e,t){return t._eraYearOrdinalRegex||ai})),wi(["y","yy","yyy","yyyy"],xi),wi(["yo"],(function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[xi]=r._locale.eraYearOrdinalParse(e,i):t[xi]=parseInt(e,10)})),Wn(0,["gg",2],0,(function(){return this.weekYear()%100})),Wn(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Do("gggg","weekYear"),Do("ggggg","weekYear"),Do("GGGG","isoWeekYear"),Do("GGGGG","isoWeekYear"),pi("G",ci),pi("g",ci),pi("GG",ti,Xn),pi("gg",ti,Xn),pi("GGGG",si,Qn),pi("gggg",si,Qn),pi("GGGGG",oi,ei),pi("ggggg",oi,ei),bi(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,r,n){t[n.substr(0,2)]=gi(e)})),bi(["gg","GG"],(function(e,t,r,n){t[n]=ln.parseTwoDigitYear(e)})),Wn("Q",0,"Qo","quarter"),pi("Q",Jn),wi("Q",(function(e,t){t[Oi]=3*(gi(e)-1)})),Wn("D",["DD",2],"Do","date"),pi("D",ti,di),pi("DD",ti,Xn),pi("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),wi(["D","DD"],Di),wi("Do",(function(e,t){t[Di]=gi(e.match(ti)[0])}));var To=Pi("Date",!0);Wn("DDD",["DDDD",3],"DDDo","dayOfYear"),pi("DDD",ii),pi("DDDD",$n),wi(["DDD","DDDD"],(function(e,t,r){r._dayOfYear=gi(e)})),Wn("m",["mm",2],0,"minute"),pi("m",ti,fi),pi("mm",ti,Xn),wi(["m","mm"],Ri);var Eo=Pi("Minutes",!1);Wn("s",["ss",2],0,"second"),pi("s",ti,fi),pi("ss",ti,Xn),wi(["s","ss"],Ti);var Co,Ao,Bo=Pi("Seconds",!1);for(Wn("S",0,0,(function(){return~~(this.millisecond()/100)})),Wn(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Wn(0,["SSS",3],0,"millisecond"),Wn(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Wn(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Wn(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Wn(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Wn(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Wn(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),pi("S",ii,Jn),pi("SS",ii,Xn),pi("SSS",ii,$n),Co="SSSS";Co.length<=9;Co+="S")pi(Co,ai);function Yo(e,t){t[Ei]=gi(1e3*("0."+e))}for(Co="S";Co.length<=9;Co+="S")wi(Co,Yo);Ao=Pi("Milliseconds",!1),Wn("z",0,0,"zoneAbbr"),Wn("zz",0,0,"zoneName");var No=Mn.prototype;function Po(e){return e}No.add=co,No.calendar=function(e,t){1===arguments.length&&(arguments[0]?ho(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,r=dn(e)&&!pn(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)n=n||fn(e,i[t]);return r&&n}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||Ls(),n=$s(r,this).startOf("day"),i=ln.calendarFormat(this,n)||"sameElse",s=t&&(Yn(t[i])?t[i].call(this,r):t[i]);return this.format(s||this.localeData().calendar(i,this,Ls(r)))},No.clone=function(){return new Mn(this)},No.diff=function(e,t,r){var n,i,s;if(!this.isValid())return NaN;if(!(n=$s(e,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),t=Gn(t)){case"year":s=fo(this,n)/12;break;case"month":s=fo(this,n);break;case"quarter":s=fo(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-i)/864e5;break;case"week":s=(this-n-i)/6048e5;break;default:s=this-n}return r?s:_i(s)},No.endOf=function(e){var t,r;if(void 0===(e=Gn(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?ko:So,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=vo-bo(t+(this._isUTC?0:this.utcOffset()*go),vo)-1;break;case"minute":t=this._d.valueOf(),t+=go-bo(t,go)-1;break;case"second":t=this._d.valueOf(),t+=_o-bo(t,_o)-1}return this._d.setTime(t),ln.updateOffset(this,!0),this},No.format=function(e){e||(e=this.isUtc()?ln.defaultFormatUtc:ln.defaultFormat);var t=zn(this,e);return this.localeData().postformat(t)},No.from=function(e,t){return this.isValid()&&(Rn(e)&&e.isValid()||Ls(e).isValid())?no({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},No.fromNow=function(e){return this.from(Ls(),e)},No.to=function(e,t){return this.isValid()&&(Rn(e)&&e.isValid()||Ls(e).isValid())?no({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},No.toNow=function(e){return this.to(Ls(),e)},No.get=function(e){return Yn(this[e=Gn(e)])?this[e]():this},No.invalidAt=function(){return bn(this).overflow},No.isAfter=function(e,t){var r=Rn(e)?e:Ls(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=Gn(t)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf())},No.isBefore=function(e,t){var r=Rn(e)?e:Ls(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=Gn(t)||"millisecond")?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf())},No.isBetween=function(e,t,r,n){var i=Rn(e)?e:Ls(e),s=Rn(t)?t:Ls(t);return!!(this.isValid()&&i.isValid()&&s.isValid())&&(("("===(n=n||"()")[0]?this.isAfter(i,r):!this.isBefore(i,r))&&(")"===n[1]?this.isBefore(s,r):!this.isAfter(s,r)))},No.isSame=function(e,t){var r,n=Rn(e)?e:Ls(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=Gn(t)||"millisecond")?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf()))},No.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},No.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},No.isValid=function(){return Sn(this)},No.lang=mo,No.locale=po,No.localeData=yo,No.max=zs,No.min=Ws,No.parsingFlags=function(){return vn({},bn(this))},No.set=function(e,t){if("object"==typeof e){var r,n=function(e){var t,r=[];for(t in e)fn(e,t)&&r.push({unit:t,priority:Zn[t]});return r.sort((function(e,t){return e.priority-t.priority})),r}(e=qn(e)),i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else if(Yn(this[e=Gn(e)]))return this[e](t);return this},No.startOf=function(e){var t,r;if(void 0===(e=Gn(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?ko:So,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=bo(t+(this._isUTC?0:this.utcOffset()*go),vo);break;case"minute":t=this._d.valueOf(),t-=bo(t,go);break;case"second":t=this._d.valueOf(),t-=bo(t,_o)}return this._d.setTime(t),ln.updateOffset(this,!0),this},No.subtract=uo,No.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},No.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},No.toDate=function(){return new Date(this.valueOf())},No.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?zn(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Yn(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",zn(r,"Z")):zn(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},No.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,r,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+n+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+r)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(No[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),No.toJSON=function(){return this.isValid()?this.toISOString():null},No.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},No.unix=function(){return Math.floor(this.valueOf()/1e3)},No.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},No.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},No.eraName=function(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].name;if(n[e].until<=r&&r<=n[e].since)return n[e].name}return""},No.eraNarrow=function(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].narrow;if(n[e].until<=r&&r<=n[e].since)return n[e].narrow}return""},No.eraAbbr=function(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].abbr;if(n[e].until<=r&&r<=n[e].since)return n[e].abbr}return""},No.eraYear=function(){var e,t,r,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(r=i[e].since<=i[e].until?1:-1,n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return(this.year()-ln(i[e].since).year())*r+i[e].offset;return this.year()},No.year=Ni,No.isLeapYear=function(){return ki(this.year())},No.weekYear=function(e){return Mo.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},No.isoWeekYear=function(e){return Mo.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},No.quarter=No.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},No.month=qi,No.daysInMonth=function(){return Ui(this.year(),this.month())},No.week=No.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},No.isoWeek=No.isoWeeks=function(e){var t=Qi(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},No.weeksInYear=function(){var e=this.localeData()._week;return es(this.year(),e.dow,e.doy)},No.weeksInWeekYear=function(){var e=this.localeData()._week;return es(this.weekYear(),e.dow,e.doy)},No.isoWeeksInYear=function(){return es(this.year(),1,4)},No.isoWeeksInISOWeekYear=function(){return es(this.isoWeekYear(),1,4)},No.date=To,No.day=No.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=Hi(this,"Day");return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},No.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},No.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},No.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},No.hour=No.hours=fs,No.minute=No.minutes=Eo,No.second=No.seconds=Bo,No.millisecond=No.milliseconds=Ao,No.utcOffset=function(e,t,r){var n,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Xs(li,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(n=Qs(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?ao(this,no(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,ln.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Qs(this)},No.utc=function(e){return this.utcOffset(0,e)},No.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Qs(this),"m")),this},No.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Xs(ui,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},No.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ls(e).utcOffset():0,(this.utcOffset()-e)%60==0)},No.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},No.isLocal=function(){return!!this.isValid()&&!this._isUTC},No.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},No.isUtc=eo,No.isUTC=eo,No.zoneAbbr=function(){return this._isUTC?"UTC":""},No.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},No.dates=En("dates accessor is deprecated. Use date instead.",To),No.months=En("months accessor is deprecated. Use month instead",qi),No.years=En("years accessor is deprecated. Use year instead",Ni),No.zone=En("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),No.isDSTShifted=En("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!mn(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Dn(t,this),(t=Us(t))._a?(e=t._isUTC?wn(t._a):Ls(t._a),this._isDSTShifted=this.isValid()&&function(e,t,r){var n,i=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),o=0;for(n=0;n<i;n++)(r&&e[n]!==t[n]||!r&&gi(e[n])!==gi(t[n]))&&o++;return o+s}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Ho=Pn.prototype;function Fo(e,t,r,n){var i=ks(),s=wn().set(n,t);return i[r](s,e)}function Uo(e,t,r){if(yn(e)&&(t=e,e=void 0),e=e||"",null!=t)return Fo(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=Fo(e,n,r,"month");return i}function jo(e,t,r,n){"boolean"==typeof e?(yn(t)&&(r=t,t=void 0),t=t||""):(r=t=e,e=!1,yn(t)&&(r=t,t=void 0),t=t||"");var i,s=ks(),o=e?s._week.dow:0,a=[];if(null!=r)return Fo(t,(r+o)%7,n,"day");for(i=0;i<7;i++)a[i]=Fo(t,(i+o)%7,n,"day");return a}Ho.calendar=function(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return Yn(n)?n.call(t,r):n},Ho.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Fn).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},Ho.invalidDate=function(){return this._invalidDate},Ho.ordinal=function(e){return this._ordinal.replace("%d",e)},Ho.preparse=Po,Ho.postformat=Po,Ho.relativeTime=function(e,t,r,n){var i=this._relativeTime[r];return Yn(i)?i(e,t,r,n):i.replace(/%d/i,e)},Ho.pastFuture=function(e,t){var r=this._relativeTime[e>0?"future":"past"];return Yn(r)?r(t):r.replace(/%s/i,t)},Ho.set=function(e){var t,r;for(r in e)fn(e,r)&&(Yn(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Ho.eras=function(e,t){var r,n,i,s=this._eras||ks("en")._eras;for(r=0,n=s.length;r<n;++r){if("string"==typeof s[r].since)i=ln(s[r].since).startOf("day"),s[r].since=i.valueOf();switch(typeof s[r].until){case"undefined":s[r].until=1/0;break;case"string":i=ln(s[r].until).startOf("day").valueOf(),s[r].until=i.valueOf()}}return s},Ho.erasParse=function(e,t,r){var n,i,s,o,a,c=this.eras();for(e=e.toUpperCase(),n=0,i=c.length;n<i;++n)if(s=c[n].name.toUpperCase(),o=c[n].abbr.toUpperCase(),a=c[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(o===e)return c[n];break;case"NNNN":if(s===e)return c[n];break;case"NNNNN":if(a===e)return c[n]}else if([s,o,a].indexOf(e)>=0)return c[n]},Ho.erasConvertYear=function(e,t){var r=e.since<=e.until?1:-1;return void 0===t?ln(e.since).year():ln(e.since).year()+(t-e.offset)*r},Ho.erasAbbrRegex=function(e){return fn(this,"_erasAbbrRegex")||Oo.call(this),e?this._erasAbbrRegex:this._erasRegex},Ho.erasNameRegex=function(e){return fn(this,"_erasNameRegex")||Oo.call(this),e?this._erasNameRegex:this._erasRegex},Ho.erasNarrowRegex=function(e){return fn(this,"_erasNarrowRegex")||Oo.call(this),e?this._erasNarrowRegex:this._erasRegex},Ho.months=function(e,t){return e?hn(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Wi).test(t)?"format":"standalone"][e.month()]:hn(this._months)?this._months:this._months.standalone},Ho.monthsShort=function(e,t){return e?hn(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Wi.test(t)?"format":"standalone"][e.month()]:hn(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ho.monthsParse=function(e,t,r){var n,i,s;if(this._monthsParseExact)return Vi.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=wn([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(r&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}},Ho.monthsRegex=function(e){return this._monthsParseExact?(fn(this,"_monthsRegex")||Zi.call(this),e?this._monthsStrictRegex:this._monthsRegex):(fn(this,"_monthsRegex")||(this._monthsRegex=Ii),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Ho.monthsShortRegex=function(e){return this._monthsParseExact?(fn(this,"_monthsRegex")||Zi.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(fn(this,"_monthsShortRegex")||(this._monthsShortRegex=zi),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Ho.week=function(e){return Qi(e,this._week.dow,this._week.doy).week},Ho.firstDayOfYear=function(){return this._week.doy},Ho.firstDayOfWeek=function(){return this._week.dow},Ho.weekdays=function(e,t){var r=hn(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?ts(r,this._week.dow):e?r[e.day()]:r},Ho.weekdaysMin=function(e){return!0===e?ts(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Ho.weekdaysShort=function(e){return!0===e?ts(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Ho.weekdaysParse=function(e,t,r){var n,i,s;if(this._weekdaysParseExact)return cs.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=wn([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}},Ho.weekdaysRegex=function(e){return this._weekdaysParseExact?(fn(this,"_weekdaysRegex")||us.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(fn(this,"_weekdaysRegex")||(this._weekdaysRegex=ss),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Ho.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(fn(this,"_weekdaysRegex")||us.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(fn(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=os),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ho.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(fn(this,"_weekdaysRegex")||us.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(fn(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=as),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ho.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Ho.meridiem=function(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"},bs("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===gi(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),ln.lang=En("moment.lang is deprecated. Use moment.locale instead.",bs),ln.langData=En("moment.langData is deprecated. Use moment.localeData instead.",ks);var Lo=Math.abs;function Wo(e,t,r,n){var i=no(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function zo(e){return e<0?Math.floor(e):Math.ceil(e)}function Io(e){return 4800*e/146097}function Vo(e){return 146097*e/4800}function Go(e){return function(){return this.as(e)}}var qo=Go("ms"),Zo=Go("s"),Ko=Go("m"),Jo=Go("h"),Xo=Go("d"),$o=Go("w"),Qo=Go("M"),ea=Go("Q"),ta=Go("y"),ra=qo;function na(e){return function(){return this.isValid()?this._data[e]:NaN}}var ia=na("milliseconds"),sa=na("seconds"),oa=na("minutes"),aa=na("hours"),ca=na("days"),ua=na("months"),la=na("years");var ha=Math.round,da={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function fa(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}var pa=Math.abs;function ma(e){return(e>0)-(e<0)||+e}function ya(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,i,s,o,a,c=pa(this._milliseconds)/1e3,u=pa(this._days),l=pa(this._months),h=this.asSeconds();return h?(e=_i(c/60),t=_i(e/60),c%=60,e%=60,r=_i(l/12),l%=12,n=c?c.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",s=ma(this._months)!==ma(h)?"-":"",o=ma(this._days)!==ma(h)?"-":"",a=ma(this._milliseconds)!==ma(h)?"-":"",i+"P"+(r?s+r+"Y":"")+(l?s+l+"M":"")+(u?o+u+"D":"")+(t||e||c?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(c?a+n+"S":"")):"P0D"}var _a=Gs.prototype;_a.isValid=function(){return this._isValid},_a.abs=function(){var e=this._data;return this._milliseconds=Lo(this._milliseconds),this._days=Lo(this._days),this._months=Lo(this._months),e.milliseconds=Lo(e.milliseconds),e.seconds=Lo(e.seconds),e.minutes=Lo(e.minutes),e.hours=Lo(e.hours),e.months=Lo(e.months),e.years=Lo(e.years),this},_a.add=function(e,t){return Wo(this,e,t,1)},_a.subtract=function(e,t){return Wo(this,e,t,-1)},_a.as=function(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if("month"===(e=Gn(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+Io(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Vo(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},_a.asMilliseconds=qo,_a.asSeconds=Zo,_a.asMinutes=Ko,_a.asHours=Jo,_a.asDays=Xo,_a.asWeeks=$o,_a.asMonths=Qo,_a.asQuarters=ea,_a.asYears=ta,_a.valueOf=ra,_a._bubble=function(){var e,t,r,n,i,s=this._milliseconds,o=this._days,a=this._months,c=this._data;return s>=0&&o>=0&&a>=0||s<=0&&o<=0&&a<=0||(s+=864e5*zo(Vo(a)+o),o=0,a=0),c.milliseconds=s%1e3,e=_i(s/1e3),c.seconds=e%60,t=_i(e/60),c.minutes=t%60,r=_i(t/60),c.hours=r%24,o+=_i(r/24),a+=i=_i(Io(o)),o-=zo(Vo(i)),n=_i(a/12),a%=12,c.days=o,c.months=a,c.years=n,this},_a.clone=function(){return no(this)},_a.get=function(e){return e=Gn(e),this.isValid()?this[e+"s"]():NaN},_a.milliseconds=ia,_a.seconds=sa,_a.minutes=oa,_a.hours=aa,_a.days=ca,_a.weeks=function(){return _i(this.days()/7)},_a.months=ua,_a.years=la,_a.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var r,n,i=!1,s=da;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(s=Object.assign({},da,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),n=function(e,t,r,n){var i=no(e).abs(),s=ha(i.as("s")),o=ha(i.as("m")),a=ha(i.as("h")),c=ha(i.as("d")),u=ha(i.as("M")),l=ha(i.as("w")),h=ha(i.as("y")),d=s<=r.ss&&["s",s]||s<r.s&&["ss",s]||o<=1&&["m"]||o<r.m&&["mm",o]||a<=1&&["h"]||a<r.h&&["hh",a]||c<=1&&["d"]||c<r.d&&["dd",c];return null!=r.w&&(d=d||l<=1&&["w"]||l<r.w&&["ww",l]),(d=d||u<=1&&["M"]||u<r.M&&["MM",u]||h<=1&&["y"]||["yy",h])[2]=t,d[3]=+e>0,d[4]=n,fa.apply(null,d)}(this,!i,s,r=this.localeData()),i&&(n=r.pastFuture(+this,n)),r.postformat(n)},_a.toISOString=ya,_a.toString=ya,_a.toJSON=ya,_a.locale=po,_a.localeData=yo,_a.toIsoString=En("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ya),_a.lang=mo,Wn("X",0,0,"unix"),Wn("x",0,0,"valueOf"),pi("x",ci),pi("X",/[+-]?\d+(\.\d{1,3})?/),wi("X",(function(e,t,r){r._d=new Date(1e3*parseFloat(e))})),wi("x",(function(e,t,r){r._d=new Date(gi(e))})), +//! moment.js +ln.version="2.30.1",cn=Ls,ln.fn=No,ln.min=function(){return Is("isBefore",[].slice.call(arguments,0))},ln.max=function(){return Is("isAfter",[].slice.call(arguments,0))},ln.now=function(){return Date.now?Date.now():+new Date},ln.utc=wn,ln.unix=function(e){return Ls(1e3*e)},ln.months=function(e,t){return Uo(e,t,"months")},ln.isDate=_n,ln.locale=bs,ln.invalid=kn,ln.duration=no,ln.isMoment=Rn,ln.weekdays=function(e,t,r){return jo(e,t,r,"weekdays")},ln.parseZone=function(){return Ls.apply(null,arguments).parseZone()},ln.localeData=ks,ln.isDuration=qs,ln.monthsShort=function(e,t){return Uo(e,t,"monthsShort")},ln.weekdaysMin=function(e,t,r){return jo(e,t,r,"weekdaysMin")},ln.defineLocale=Ss,ln.updateLocale=function(e,t){if(null!=t){var r,n,i=ms;null!=ys[e]&&null!=ys[e].parentLocale?ys[e].set(Nn(ys[e]._config,t)):(null!=(n=ws(e))&&(i=n._config),t=Nn(i,t),null==n&&(t.abbr=e),(r=new Pn(t)).parentLocale=ys[e],ys[e]=r),bs(e)}else null!=ys[e]&&(null!=ys[e].parentLocale?(ys[e]=ys[e].parentLocale,e===bs()&&bs(e)):null!=ys[e]&&delete ys[e]);return ys[e]},ln.locales=function(){return Cn(ys)},ln.weekdaysShort=function(e,t,r){return jo(e,t,r,"weekdaysShort")},ln.normalizeUnits=Gn,ln.relativeTimeRounding=function(e){return void 0===e?ha:"function"==typeof e&&(ha=e,!0)},ln.relativeTimeThreshold=function(e,t){return void 0!==da[e]&&(void 0===t?da[e]:(da[e]=t,"s"===e&&(da.ss=t-1),!0))},ln.calendarFormat=function(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"},ln.prototype=No,ln.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};export{an as C,gt as a,ln as h}; diff --git a/dist1 (2)/assets/vendor-c65bce76.js b/dist1 (2)/assets/vendor-c65bce76.js new file mode 100644 index 0000000..721d8af --- /dev/null +++ b/dist1 (2)/assets/vendor-c65bce76.js @@ -0,0 +1,20 @@ +function e(e,n){for(var t=0;t<n.length;t++){const r=n[t];if("string"!=typeof r&&!Array.isArray(r))for(const n in r)if("default"!==n&&!(n in e)){const t=Object.getOwnPropertyDescriptor(r,n);t&&Object.defineProperty(e,n,t.get?t:{enumerable:!0,get:()=>r[n]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e){if(e.__esModule)return e;var n=e.default;if("function"==typeof n){var t=function e(){return this instanceof e?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};t.prototype=n.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})})),t}var l={exports:{}},a={},u=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),d=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.iterator;var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,k={};function w(e,n,t){this.props=e,this.context=n,this.refs=k,this.updater=t||y}function S(){}function x(e,n,t){this.props=e,this.context=n,this.refs=k,this.updater=t||y}w.prototype.isReactComponent={},w.prototype.setState=function(e,n){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},S.prototype=w.prototype;var E=x.prototype=new S;E.constructor=x,b(E,w.prototype),E.isPureReactComponent=!0;var _=Array.isArray,C=Object.prototype.hasOwnProperty,P={current:null},N={key:!0,ref:!0,__self:!0,__source:!0};function z(e,n,t){var r,l={},a=null,o=null;if(null!=n)for(r in void 0!==n.ref&&(o=n.ref),void 0!==n.key&&(a=""+n.key),n)C.call(n,r)&&!N.hasOwnProperty(r)&&(l[r]=n[r]);var i=arguments.length-2;if(1===i)l.children=t;else if(1<i){for(var s=Array(i),c=0;c<i;c++)s[c]=arguments[c+2];l.children=s}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===l[r]&&(l[r]=i[r]);return{$$typeof:u,type:e,key:a,ref:o,props:l,_owner:P.current}}function T(e){return"object"==typeof e&&null!==e&&e.$$typeof===u}var L=/\/+/g;function M(e,n){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return n[e]}))}(""+e.key):n.toString(36)}function R(e,n,t,r,l){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var i=!1;if(null===e)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case u:case o:i=!0}}if(i)return l=l(i=e),e=""===r?"."+M(i,0):r,_(l)?(t="",null!=e&&(t=e.replace(L,"$&/")+"/"),R(l,n,t,"",(function(e){return e}))):null!=l&&(T(l)&&(l=function(e,n){return{$$typeof:u,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(l,t+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(L,"$&/")+"/")+e)),n.push(l)),1;if(i=0,r=""===r?".":r+":",_(e))for(var s=0;s<e.length;s++){var c=r+M(a=e[s],s);i+=R(a,n,t,c,l)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=v&&e[v]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),s=0;!(a=e.next()).done;)i+=R(a=a.value,n,t,c=r+M(a,s++),l);else if("object"===a)throw n=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return i}function O(e,n,t){if(null==e)return e;var r=[],l=0;return R(e,r,"","",(function(e){return n.call(t,e,l++)})),r}function F(e){if(-1===e._status){var n=e._result;(n=n()).then((function(n){0!==e._status&&-1!==e._status||(e._status=1,e._result=n)}),(function(n){0!==e._status&&-1!==e._status||(e._status=2,e._result=n)})),-1===e._status&&(e._status=0,e._result=n)}if(1===e._status)return e._result.default;throw e._result}var D={current:null},I={transition:null},U={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:I,ReactCurrentOwner:P};function j(){throw Error("act(...) is not supported in production builds of React.")}a.Children={map:O,forEach:function(e,n,t){O(e,(function(){n.apply(this,arguments)}),t)},count:function(e){var n=0;return O(e,(function(){n++})),n},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!T(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},a.Component=w,a.Fragment=i,a.Profiler=c,a.PureComponent=x,a.StrictMode=s,a.Suspense=m,a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,a.act=j,a.cloneElement=function(e,n,t){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=b({},e.props),l=e.key,a=e.ref,o=e._owner;if(null!=n){if(void 0!==n.ref&&(a=n.ref,o=P.current),void 0!==n.key&&(l=""+n.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(s in n)C.call(n,s)&&!N.hasOwnProperty(s)&&(r[s]=void 0===n[s]&&void 0!==i?i[s]:n[s])}var s=arguments.length-2;if(1===s)r.children=t;else if(1<s){i=Array(s);for(var c=0;c<s;c++)i[c]=arguments[c+2];r.children=i}return{$$typeof:u,type:e.type,key:l,ref:a,props:r,_owner:o}},a.createContext=function(e){return(e={$$typeof:d,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:f,_context:e},e.Consumer=e},a.createElement=z,a.createFactory=function(e){var n=z.bind(null,e);return n.type=e,n},a.createRef=function(){return{current:null}},a.forwardRef=function(e){return{$$typeof:p,render:e}},a.isValidElement=T,a.lazy=function(e){return{$$typeof:g,_payload:{_status:-1,_result:e},_init:F}},a.memo=function(e,n){return{$$typeof:h,type:e,compare:void 0===n?null:n}},a.startTransition=function(e){var n=I.transition;I.transition={};try{e()}finally{I.transition=n}},a.unstable_act=j,a.useCallback=function(e,n){return D.current.useCallback(e,n)},a.useContext=function(e){return D.current.useContext(e)},a.useDebugValue=function(){},a.useDeferredValue=function(e){return D.current.useDeferredValue(e)},a.useEffect=function(e,n){return D.current.useEffect(e,n)},a.useId=function(){return D.current.useId()},a.useImperativeHandle=function(e,n,t){return D.current.useImperativeHandle(e,n,t)},a.useInsertionEffect=function(e,n){return D.current.useInsertionEffect(e,n)},a.useLayoutEffect=function(e,n){return D.current.useLayoutEffect(e,n)},a.useMemo=function(e,n){return D.current.useMemo(e,n)},a.useReducer=function(e,n,t){return D.current.useReducer(e,n,t)},a.useRef=function(e){return D.current.useRef(e)},a.useState=function(e){return D.current.useState(e)},a.useSyncExternalStore=function(e,n,t){return D.current.useSyncExternalStore(e,n,t)},a.useTransition=function(){return D.current.useTransition()},a.version="18.3.1",l.exports=a;var V=l.exports;const A=t(V),$=e({__proto__:null,default:A},[V]);var B={exports:{}},H={},W={exports:{}},Q={}; +/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +!function(e){function n(e,n){var t=e.length;e.push(n);e:for(;0<t;){var r=t-1>>>1,a=e[r];if(!(0<l(a,n)))break e;e[r]=n,e[t]=a,t=r}}function t(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var n=e[0],t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,a=e.length,u=a>>>1;r<u;){var o=2*(r+1)-1,i=e[o],s=o+1,c=e[s];if(0>l(i,t))s<a&&0>l(c,i)?(e[r]=c,e[s]=t,r=s):(e[r]=i,e[o]=t,r=o);else{if(!(s<a&&0>l(c,t)))break e;e[r]=c,e[s]=t,r=s}}}return n}function l(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var u=Date,o=u.now();e.unstable_now=function(){return u.now()-o}}var i=[],s=[],c=1,f=null,d=3,p=!1,m=!1,h=!1,g="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var l=t(s);null!==l;){if(null===l.callback)r(s);else{if(!(l.startTime<=e))break;r(s),l.sortIndex=l.expirationTime,n(i,l)}l=t(s)}}function k(e){if(h=!1,b(e),!m)if(null!==t(i))m=!0,M(w);else{var n=t(s);null!==n&&R(k,n.startTime-e)}}function w(n,l){m=!1,h&&(h=!1,v(_),_=-1),p=!0;var a=d;try{for(b(l),f=t(i);null!==f&&(!(f.expirationTime>l)||n&&!N());){var u=f.callback;if("function"==typeof u){f.callback=null,d=f.priorityLevel;var o=u(f.expirationTime<=l);l=e.unstable_now(),"function"==typeof o?f.callback=o:f===t(i)&&r(i),b(l)}else r(i);f=t(i)}if(null!==f)var c=!0;else{var g=t(s);null!==g&&R(k,g.startTime-l),c=!1}return c}finally{f=null,d=a,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,x=!1,E=null,_=-1,C=5,P=-1;function N(){return!(e.unstable_now()-P<C)}function z(){if(null!==E){var n=e.unstable_now();P=n;var t=!0;try{t=E(!0,n)}finally{t?S():(x=!1,E=null)}}else x=!1}if("function"==typeof y)S=function(){y(z)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,L=T.port2;T.port1.onmessage=z,S=function(){L.postMessage(null)}}else S=function(){g(z,0)};function M(e){E=e,x||(x=!0,S())}function R(n,t){_=g((function(){n(e.unstable_now())}),t)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){m||p||(m=!0,M(w))},e.unstable_forceFrameRate=function(e){0>e||125<e||(C=0<e?Math.floor(1e3/e):5)},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return t(i)},e.unstable_next=function(e){switch(d){case 1:case 2:case 3:var n=3;break;default:n=d}var t=d;d=n;try{return e()}finally{d=t}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=d;d=e;try{return n()}finally{d=t}},e.unstable_scheduleCallback=function(r,l,a){var u=e.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?u+a:u:a=u,r){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return r={id:c++,callback:l,priorityLevel:r,startTime:a,expirationTime:o=a+o,sortIndex:-1},a>u?(r.sortIndex=a,n(s,r),null===t(i)&&r===t(s)&&(h?(v(_),_=-1):h=!0,R(k,a-u))):(r.sortIndex=o,n(i,r),m||p||(m=!0,M(w))),r},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(e){var n=d;return function(){var t=d;d=n;try{return e.apply(this,arguments)}finally{d=t}}}}(Q),W.exports=Q;var q=V,K=W.exports; +/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */function Y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var X=new Set,G={};function Z(e,n){J(e,n),J(e+"Capture",n)}function J(e,n){for(G[e]=n,e=0;e<n.length;e++)X.add(n[e])}var ee=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ne=Object.prototype.hasOwnProperty,te=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,re={},le={};function ae(e,n,t,r,l,a,u){this.acceptsBooleans=2===n||3===n||4===n,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=a,this.removeEmptyString=u}var ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){ue[e]=new ae(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var n=e[0];ue[n]=new ae(n,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ue[e]=new ae(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ue[e]=new ae(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){ue[e]=new ae(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ue[e]=new ae(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){ue[e]=new ae(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){ue[e]=new ae(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){ue[e]=new ae(e,5,!1,e.toLowerCase(),null,!1,!1)}));var oe=/[\-:]([a-z])/g;function ie(e){return e[1].toUpperCase()}function se(e,n,t,r){var l=ue.hasOwnProperty(n)?ue[n]:null;(null!==l?0!==l.type:r||!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&(function(e,n,t,r){if(null==n||function(e,n,t,r){if(null!==t&&0===t.type)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==t?!t.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,n,t,r))return!0;if(r)return!1;if(null!==t)switch(t.type){case 3:return!n;case 4:return!1===n;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}(n,t,l,r)&&(t=null),r||null===l?function(e){return!!ne.call(le,e)||!ne.call(re,e)&&(te.test(e)?le[e]=!0:(re[e]=!0,!1))}(n)&&(null===t?e.removeAttribute(n):e.setAttribute(n,""+t)):l.mustUseProperty?e[l.propertyName]=null===t?3!==l.type&&"":t:(n=l.attributeName,r=l.attributeNamespace,null===t?e.removeAttribute(n):(t=3===(l=l.type)||4===l&&!0===t?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var n=e.replace(oe,ie);ue[n]=new ae(n,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var n=e.replace(oe,ie);ue[n]=new ae(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var n=e.replace(oe,ie);ue[n]=new ae(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){ue[e]=new ae(e,1,!1,e.toLowerCase(),null,!1,!1)})),ue.xlinkHref=new ae("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){ue[e]=new ae(e,1,!1,e.toLowerCase(),null,!0,!0)}));var ce=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fe=Symbol.for("react.element"),de=Symbol.for("react.portal"),pe=Symbol.for("react.fragment"),me=Symbol.for("react.strict_mode"),he=Symbol.for("react.profiler"),ge=Symbol.for("react.provider"),ve=Symbol.for("react.context"),ye=Symbol.for("react.forward_ref"),be=Symbol.for("react.suspense"),ke=Symbol.for("react.suspense_list"),we=Symbol.for("react.memo"),Se=Symbol.for("react.lazy"),xe=Symbol.for("react.offscreen"),Ee=Symbol.iterator;function _e(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ee&&e[Ee]||e["@@iterator"])?e:null}var Ce,Pe=Object.assign;function Ne(e){if(void 0===Ce)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);Ce=n&&n[1]||""}return"\n"+Ce+e}var ze=!1;function Te(e,n){if(!e||ze)return"";ze=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(s){var r=s}Reflect.construct(e,[],n)}else{try{n.call()}catch(s){r=s}e.call(n.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"==typeof s.stack){for(var l=s.stack.split("\n"),a=r.stack.split("\n"),u=l.length-1,o=a.length-1;1<=u&&0<=o&&l[u]!==a[o];)o--;for(;1<=u&&0<=o;u--,o--)if(l[u]!==a[o]){if(1!==u||1!==o)do{if(u--,0>--o||l[u]!==a[o]){var i="\n"+l[u].replace(" at new "," at ");return e.displayName&&i.includes("<anonymous>")&&(i=i.replace("<anonymous>",e.displayName)),i}}while(1<=u&&0<=o);break}}}finally{ze=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?Ne(e):""}function Le(e){switch(e.tag){case 5:return Ne(e.type);case 16:return Ne("Lazy");case 13:return Ne("Suspense");case 19:return Ne("SuspenseList");case 0:case 2:case 15:return e=Te(e.type,!1);case 11:return e=Te(e.type.render,!1);case 1:return e=Te(e.type,!0);default:return""}}function Me(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case pe:return"Fragment";case de:return"Portal";case he:return"Profiler";case me:return"StrictMode";case be:return"Suspense";case ke:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ve:return(e.displayName||"Context")+".Consumer";case ge:return(e._context.displayName||"Context")+".Provider";case ye:var n=e.render;return(e=e.displayName)||(e=""!==(e=n.displayName||n.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case we:return null!==(n=e.displayName||null)?n:Me(e.type)||"Memo";case Se:n=e._payload,e=e._init;try{return Me(e(n))}catch(t){}}return null}function Re(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=n.render).displayName||e.name||"",n.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Me(n);case 8:return n===me?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof n)return n.displayName||n.name||null;if("string"==typeof n)return n}return null}function Oe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Fe(e){var n=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function De(e){e._valueTracker||(e._valueTracker=function(e){var n=Fe(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&void 0!==t&&"function"==typeof t.get&&"function"==typeof t.set){var l=t.get,a=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}(e))}function Ie(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Fe(e)?e.checked?"true":"false":e.value),(e=r)!==t&&(n.setValue(e),!0)}function Ue(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(n){return e.body}}function je(e,n){var t=n.checked;return Pe({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=t?t:e._wrapperState.initialChecked})}function Ve(e,n){var t=null==n.defaultValue?"":n.defaultValue,r=null!=n.checked?n.checked:n.defaultChecked;t=Oe(null!=n.value?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:"checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value}}function Ae(e,n){null!=(n=n.checked)&&se(e,"checked",n,!1)}function $e(e,n){Ae(e,n);var t=Oe(n.value),r=n.type;if(null!=t)"number"===r?(0===t&&""===e.value||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");n.hasOwnProperty("value")?He(e,n.type,t):n.hasOwnProperty("defaultValue")&&He(e,n.type,Oe(n.defaultValue)),null==n.checked&&null!=n.defaultChecked&&(e.defaultChecked=!!n.defaultChecked)}function Be(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!("submit"!==r&&"reset"!==r||void 0!==n.value&&null!==n.value))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}""!==(t=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==t&&(e.name=t)}function He(e,n,t){"number"===n&&Ue(e.ownerDocument)===e||(null==t?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var We=Array.isArray;function Qe(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l<t.length;l++)n["$"+t[l]]=!0;for(t=0;t<e.length;t++)l=n.hasOwnProperty("$"+e[t].value),e[t].selected!==l&&(e[t].selected=l),l&&r&&(e[t].defaultSelected=!0)}else{for(t=""+Oe(t),n=null,l=0;l<e.length;l++){if(e[l].value===t)return e[l].selected=!0,void(r&&(e[l].defaultSelected=!0));null!==n||e[l].disabled||(n=e[l])}null!==n&&(n.selected=!0)}}function qe(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(Y(91));return Pe({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ke(e,n){var t=n.value;if(null==t){if(t=n.children,n=n.defaultValue,null!=t){if(null!=n)throw Error(Y(92));if(We(t)){if(1<t.length)throw Error(Y(93));t=t[0]}n=t}null==n&&(n=""),t=n}e._wrapperState={initialValue:Oe(t)}}function Ye(e,n){var t=Oe(n.value),r=Oe(n.defaultValue);null!=t&&((t=""+t)!==e.value&&(e.value=t),null==n.defaultValue&&e.defaultValue!==t&&(e.defaultValue=t)),null!=r&&(e.defaultValue=""+r)}function Xe(e){var n=e.textContent;n===e._wrapperState.initialValue&&""!==n&&null!==n&&(e.value=n)}function Ge(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ze(e,n){return null==e||"http://www.w3.org/1999/xhtml"===e?Ge(n):"http://www.w3.org/2000/svg"===e&&"foreignObject"===n?"http://www.w3.org/1999/xhtml":e}var Je,en,nn=(en=function(e,n){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=n;else{for((Je=Je||document.createElement("div")).innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=Je.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,t,r){MSApp.execUnsafeLocalFunction((function(){return en(e,n)}))}:en);function tn(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType)return void(t.nodeValue=n)}e.textContent=n}var rn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ln=["Webkit","ms","Moz","O"];function an(e,n,t){return null==n||"boolean"==typeof n||""===n?"":t||"number"!=typeof n||0===n||rn.hasOwnProperty(e)&&rn[e]?(""+n).trim():n+"px"}function un(e,n){for(var t in e=e.style,n)if(n.hasOwnProperty(t)){var r=0===t.indexOf("--"),l=an(t,n[t],r);"float"===t&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}Object.keys(rn).forEach((function(e){ln.forEach((function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),rn[n]=rn[e]}))}));var on=Pe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function sn(e,n){if(n){if(on[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML))throw Error(Y(137,e));if(null!=n.dangerouslySetInnerHTML){if(null!=n.children)throw Error(Y(60));if("object"!=typeof n.dangerouslySetInnerHTML||!("__html"in n.dangerouslySetInnerHTML))throw Error(Y(61))}if(null!=n.style&&"object"!=typeof n.style)throw Error(Y(62))}}function cn(e,n){if(-1===e.indexOf("-"))return"string"==typeof n.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var fn=null;function dn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var pn=null,mn=null,hn=null;function gn(e){if(e=sa(e)){if("function"!=typeof pn)throw Error(Y(280));var n=e.stateNode;n&&(n=fa(n),pn(e.stateNode,e.type,n))}}function vn(e){mn?hn?hn.push(e):hn=[e]:mn=e}function yn(){if(mn){var e=mn,n=hn;if(hn=mn=null,gn(e),n)for(e=0;e<n.length;e++)gn(n[e])}}function bn(e,n){return e(n)}function kn(){}var wn=!1;function Sn(e,n,t){if(wn)return e(n,t);wn=!0;try{return bn(e,n,t)}finally{wn=!1,(null!==mn||null!==hn)&&(kn(),yn())}}function xn(e,n){var t=e.stateNode;if(null===t)return null;var r=fa(t);if(null===r)return null;t=r[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(t&&"function"!=typeof t)throw Error(Y(231,n,typeof t));return t}var En=!1;if(ee)try{var _n={};Object.defineProperty(_n,"passive",{get:function(){En=!0}}),window.addEventListener("test",_n,_n),window.removeEventListener("test",_n,_n)}catch(en){En=!1}function Cn(e,n,t,r,l,a,u,o,i){var s=Array.prototype.slice.call(arguments,3);try{n.apply(t,s)}catch(c){this.onError(c)}}var Pn=!1,Nn=null,zn=!1,Tn=null,Ln={onError:function(e){Pn=!0,Nn=e}};function Mn(e,n,t,r,l,a,u,o,i){Pn=!1,Nn=null,Cn.apply(Ln,arguments)}function Rn(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do{!!(4098&(n=e).flags)&&(t=n.return),e=n.return}while(e)}return 3===n.tag?t:null}function On(e){if(13===e.tag){var n=e.memoizedState;if(null===n&&(null!==(e=e.alternate)&&(n=e.memoizedState)),null!==n)return n.dehydrated}return null}function Fn(e){if(Rn(e)!==e)throw Error(Y(188))}function Dn(e){return null!==(e=function(e){var n=e.alternate;if(!n){if(null===(n=Rn(e)))throw Error(Y(188));return n!==e?null:e}for(var t=e,r=n;;){var l=t.return;if(null===l)break;var a=l.alternate;if(null===a){if(null!==(r=l.return)){t=r;continue}break}if(l.child===a.child){for(a=l.child;a;){if(a===t)return Fn(l),e;if(a===r)return Fn(l),n;a=a.sibling}throw Error(Y(188))}if(t.return!==r.return)t=l,r=a;else{for(var u=!1,o=l.child;o;){if(o===t){u=!0,t=l,r=a;break}if(o===r){u=!0,r=l,t=a;break}o=o.sibling}if(!u){for(o=a.child;o;){if(o===t){u=!0,t=a,r=l;break}if(o===r){u=!0,r=a,t=l;break}o=o.sibling}if(!u)throw Error(Y(189))}}if(t.alternate!==r)throw Error(Y(190))}if(3!==t.tag)throw Error(Y(188));return t.stateNode.current===t?e:n}(e))?In(e):null}function In(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var n=In(e);if(null!==n)return n;e=e.sibling}return null}var Un=K.unstable_scheduleCallback,jn=K.unstable_cancelCallback,Vn=K.unstable_shouldYield,An=K.unstable_requestPaint,$n=K.unstable_now,Bn=K.unstable_getCurrentPriorityLevel,Hn=K.unstable_ImmediatePriority,Wn=K.unstable_UserBlockingPriority,Qn=K.unstable_NormalPriority,qn=K.unstable_LowPriority,Kn=K.unstable_IdlePriority,Yn=null,Xn=null;var Gn=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(Zn(e)/Jn|0)|0},Zn=Math.log,Jn=Math.LN2;var et=64,nt=4194304;function tt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function rt(e,n){var t=e.pendingLanes;if(0===t)return 0;var r=0,l=e.suspendedLanes,a=e.pingedLanes,u=268435455&t;if(0!==u){var o=u&~l;0!==o?r=tt(o):0!==(a&=u)&&(r=tt(a))}else 0!==(u=t&~l)?r=tt(u):0!==a&&(r=tt(a));if(0===r)return 0;if(0!==n&&n!==r&&0===(n&l)&&((l=r&-r)>=(a=n&-n)||16===l&&4194240&a))return n;if(4&r&&(r|=16&t),0!==(n=e.entangledLanes))for(e=e.entanglements,n&=r;0<n;)l=1<<(t=31-Gn(n)),r|=e[t],n&=~l;return r}function lt(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;default:return-1}}function at(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ut(){var e=et;return!(4194240&(et<<=1))&&(et=64),e}function ot(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function it(e,n,t){e.pendingLanes|=n,536870912!==n&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[n=31-Gn(n)]=t}function st(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-Gn(t),l=1<<r;l&n|e[r]&n&&(e[r]|=n),t&=~l}}var ct=0;function ft(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var dt,pt,mt,ht,gt,vt=!1,yt=[],bt=null,kt=null,wt=null,St=new Map,xt=new Map,Et=[],_t="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ct(e,n){switch(e){case"focusin":case"focusout":bt=null;break;case"dragenter":case"dragleave":kt=null;break;case"mouseover":case"mouseout":wt=null;break;case"pointerover":case"pointerout":St.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":xt.delete(n.pointerId)}}function Pt(e,n,t,r,l,a){return null===e||e.nativeEvent!==a?(e={blockedOn:n,domEventName:t,eventSystemFlags:r,nativeEvent:a,targetContainers:[l]},null!==n&&(null!==(n=sa(n))&&pt(n)),e):(e.eventSystemFlags|=r,n=e.targetContainers,null!==l&&-1===n.indexOf(l)&&n.push(l),e)}function Nt(e){var n=ia(e.target);if(null!==n){var t=Rn(n);if(null!==t)if(13===(n=t.tag)){if(null!==(n=On(t)))return e.blockedOn=n,void gt(e.priority,(function(){mt(t)}))}else if(3===n&&t.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===t.tag?t.stateNode.containerInfo:null)}e.blockedOn=null}function zt(e){if(null!==e.blockedOn)return!1;for(var n=e.targetContainers;0<n.length;){var t=Vt(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t)return null!==(n=sa(t))&&pt(n),e.blockedOn=t,!1;var r=new(t=e.nativeEvent).constructor(t.type,t);fn=r,t.target.dispatchEvent(r),fn=null,n.shift()}return!0}function Tt(e,n,t){zt(e)&&t.delete(n)}function Lt(){vt=!1,null!==bt&&zt(bt)&&(bt=null),null!==kt&&zt(kt)&&(kt=null),null!==wt&&zt(wt)&&(wt=null),St.forEach(Tt),xt.forEach(Tt)}function Mt(e,n){e.blockedOn===n&&(e.blockedOn=null,vt||(vt=!0,K.unstable_scheduleCallback(K.unstable_NormalPriority,Lt)))}function Rt(e){function n(n){return Mt(n,e)}if(0<yt.length){Mt(yt[0],e);for(var t=1;t<yt.length;t++){var r=yt[t];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==bt&&Mt(bt,e),null!==kt&&Mt(kt,e),null!==wt&&Mt(wt,e),St.forEach(n),xt.forEach(n),t=0;t<Et.length;t++)(r=Et[t]).blockedOn===e&&(r.blockedOn=null);for(;0<Et.length&&null===(t=Et[0]).blockedOn;)Nt(t),null===t.blockedOn&&Et.shift()}var Ot=ce.ReactCurrentBatchConfig,Ft=!0;function Dt(e,n,t,r){var l=ct,a=Ot.transition;Ot.transition=null;try{ct=1,Ut(e,n,t,r)}finally{ct=l,Ot.transition=a}}function It(e,n,t,r){var l=ct,a=Ot.transition;Ot.transition=null;try{ct=4,Ut(e,n,t,r)}finally{ct=l,Ot.transition=a}}function Ut(e,n,t,r){if(Ft){var l=Vt(e,n,t,r);if(null===l)Ol(e,n,r,jt,t),Ct(e,r);else if(function(e,n,t,r,l){switch(n){case"focusin":return bt=Pt(bt,e,n,t,r,l),!0;case"dragenter":return kt=Pt(kt,e,n,t,r,l),!0;case"mouseover":return wt=Pt(wt,e,n,t,r,l),!0;case"pointerover":var a=l.pointerId;return St.set(a,Pt(St.get(a)||null,e,n,t,r,l)),!0;case"gotpointercapture":return a=l.pointerId,xt.set(a,Pt(xt.get(a)||null,e,n,t,r,l)),!0}return!1}(l,e,n,t,r))r.stopPropagation();else if(Ct(e,r),4&n&&-1<_t.indexOf(e)){for(;null!==l;){var a=sa(l);if(null!==a&&dt(a),null===(a=Vt(e,n,t,r))&&Ol(e,n,r,jt,t),a===l)break;l=a}null!==l&&r.stopPropagation()}else Ol(e,n,r,null,t)}}var jt=null;function Vt(e,n,t,r){if(jt=null,null!==(e=ia(e=dn(r))))if(null===(n=Rn(e)))e=null;else if(13===(t=n.tag)){if(null!==(e=On(n)))return e;e=null}else if(3===t){if(n.stateNode.current.memoizedState.isDehydrated)return 3===n.tag?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return jt=e,null}function At(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Bn()){case Hn:return 1;case Wn:return 4;case Qn:case qn:return 16;case Kn:return 536870912;default:return 16}default:return 16}}var $t=null,Bt=null,Ht=null;function Wt(){if(Ht)return Ht;var e,n,t=Bt,r=t.length,l="value"in $t?$t.value:$t.textContent,a=l.length;for(e=0;e<r&&t[e]===l[e];e++);var u=r-e;for(n=1;n<=u&&t[r-n]===l[a-n];n++);return Ht=l.slice(e,1<n?1-n:void 0)}function Qt(e){var n=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===n&&(e=13):e=n,10===e&&(e=13),32<=e||13===e?e:0}function qt(){return!0}function Kt(){return!1}function Yt(e){function n(n,t,r,l,a){for(var u in this._reactName=n,this._targetInst=r,this.type=t,this.nativeEvent=l,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(l):l[u]);return this.isDefaultPrevented=(null!=l.defaultPrevented?l.defaultPrevented:!1===l.returnValue)?qt:Kt,this.isPropagationStopped=Kt,this}return Pe(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=qt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=qt)},persist:function(){},isPersistent:qt}),n}var Xt,Gt,Zt,Jt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},er=Yt(Jt),nr=Pe({},Jt,{view:0,detail:0}),tr=Yt(nr),rr=Pe({},nr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hr,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Zt&&(Zt&&"mousemove"===e.type?(Xt=e.screenX-Zt.screenX,Gt=e.screenY-Zt.screenY):Gt=Xt=0,Zt=e),Xt)},movementY:function(e){return"movementY"in e?e.movementY:Gt}}),lr=Yt(rr),ar=Yt(Pe({},rr,{dataTransfer:0})),ur=Yt(Pe({},nr,{relatedTarget:0})),or=Yt(Pe({},Jt,{animationName:0,elapsedTime:0,pseudoElement:0})),ir=Pe({},Jt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),sr=Yt(ir),cr=Yt(Pe({},Jt,{data:0})),fr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},pr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function mr(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):!!(e=pr[e])&&!!n[e]}function hr(){return mr}var gr=Pe({},nr,{key:function(e){if(e.key){var n=fr[e.key]||e.key;if("Unidentified"!==n)return n}return"keypress"===e.type?13===(e=Qt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?dr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hr,charCode:function(e){return"keypress"===e.type?Qt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Qt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),vr=Yt(gr),yr=Yt(Pe({},rr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),br=Yt(Pe({},nr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hr})),kr=Yt(Pe({},Jt,{propertyName:0,elapsedTime:0,pseudoElement:0})),wr=Pe({},rr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Sr=Yt(wr),xr=[9,13,27,32],Er=ee&&"CompositionEvent"in window,_r=null;ee&&"documentMode"in document&&(_r=document.documentMode);var Cr=ee&&"TextEvent"in window&&!_r,Pr=ee&&(!Er||_r&&8<_r&&11>=_r),Nr=String.fromCharCode(32),zr=!1;function Tr(e,n){switch(e){case"keyup":return-1!==xr.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Mr=!1;var Rr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Or(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!Rr[e.type]:"textarea"===n}function Fr(e,n,t,r){vn(r),0<(n=Dl(n,"onChange")).length&&(t=new er("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var Dr=null,Ir=null;function Ur(e){Nl(e,0)}function jr(e){if(Ie(ca(e)))return e}function Vr(e,n){if("change"===e)return n}var Ar=!1;if(ee){var $r;if(ee){var Br="oninput"in document;if(!Br){var Hr=document.createElement("div");Hr.setAttribute("oninput","return;"),Br="function"==typeof Hr.oninput}$r=Br}else $r=!1;Ar=$r&&(!document.documentMode||9<document.documentMode)}function Wr(){Dr&&(Dr.detachEvent("onpropertychange",Qr),Ir=Dr=null)}function Qr(e){if("value"===e.propertyName&&jr(Ir)){var n=[];Fr(n,Ir,e,dn(e)),Sn(Ur,n)}}function qr(e,n,t){"focusin"===e?(Wr(),Ir=t,(Dr=n).attachEvent("onpropertychange",Qr)):"focusout"===e&&Wr()}function Kr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return jr(Ir)}function Yr(e,n){if("click"===e)return jr(n)}function Xr(e,n){if("input"===e||"change"===e)return jr(n)}var Gr="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n};function Zr(e,n){if(Gr(e,n))return!0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++){var l=t[r];if(!ne.call(n,l)||!Gr(e[l],n[l]))return!1}return!0}function Jr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function el(e,n){var t,r=Jr(e);for(e=0;r;){if(3===r.nodeType){if(t=e+r.textContent.length,e<=n&&t>=n)return{node:r,offset:n-e};e=t}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Jr(r)}}function nl(e,n){return!(!e||!n)&&(e===n||(!e||3!==e.nodeType)&&(n&&3===n.nodeType?nl(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}function tl(){for(var e=window,n=Ue();n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href}catch(r){t=!1}if(!t)break;n=Ue((e=n.contentWindow).document)}return n}function rl(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}function ll(e){var n=tl(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&nl(t.ownerDocument.documentElement,t)){if(null!==r&&rl(t))if(n=r.start,void 0===(e=r.end)&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if((e=(n=t.ownerDocument||document)&&n.defaultView||window).getSelection){e=e.getSelection();var l=t.textContent.length,a=Math.min(r.start,l);r=void 0===r.end?a:Math.min(r.end,l),!e.extend&&a>r&&(l=r,r=a,a=l),l=el(t,a);var u=el(t,r);l&&u&&(1!==e.rangeCount||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&((n=n.createRange()).setStart(l.node,l.offset),e.removeAllRanges(),a>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}for(n=[],e=t;e=e.parentNode;)1===e.nodeType&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;t<n.length;t++)(e=n[t]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var al=ee&&"documentMode"in document&&11>=document.documentMode,ul=null,ol=null,il=null,sl=!1;function cl(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;sl||null==ul||ul!==Ue(r)||("selectionStart"in(r=ul)&&rl(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},il&&Zr(il,r)||(il=r,0<(r=Dl(ol,"onSelect")).length&&(n=new er("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=ul)))}function fl(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var dl={animationend:fl("Animation","AnimationEnd"),animationiteration:fl("Animation","AnimationIteration"),animationstart:fl("Animation","AnimationStart"),transitionend:fl("Transition","TransitionEnd")},pl={},ml={};function hl(e){if(pl[e])return pl[e];if(!dl[e])return e;var n,t=dl[e];for(n in t)if(t.hasOwnProperty(n)&&n in ml)return pl[e]=t[n];return e}ee&&(ml=document.createElement("div").style,"AnimationEvent"in window||(delete dl.animationend.animation,delete dl.animationiteration.animation,delete dl.animationstart.animation),"TransitionEvent"in window||delete dl.transitionend.transition);var gl=hl("animationend"),vl=hl("animationiteration"),yl=hl("animationstart"),bl=hl("transitionend"),kl=new Map,wl="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Sl(e,n){kl.set(e,n),Z(n,[e])}for(var xl=0;xl<wl.length;xl++){var El=wl[xl];Sl(El.toLowerCase(),"on"+(El[0].toUpperCase()+El.slice(1)))}Sl(gl,"onAnimationEnd"),Sl(vl,"onAnimationIteration"),Sl(yl,"onAnimationStart"),Sl("dblclick","onDoubleClick"),Sl("focusin","onFocus"),Sl("focusout","onBlur"),Sl(bl,"onTransitionEnd"),J("onMouseEnter",["mouseout","mouseover"]),J("onMouseLeave",["mouseout","mouseover"]),J("onPointerEnter",["pointerout","pointerover"]),J("onPointerLeave",["pointerout","pointerover"]),Z("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Z("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Z("onBeforeInput",["compositionend","keypress","textInput","paste"]),Z("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Z("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Z("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _l="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Cl=new Set("cancel close invalid load scroll toggle".split(" ").concat(_l));function Pl(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,function(e,n,t,r,l,a,u,o,i){if(Mn.apply(this,arguments),Pn){if(!Pn)throw Error(Y(198));var s=Nn;Pn=!1,Nn=null,zn||(zn=!0,Tn=s)}}(r,n,void 0,e),e.currentTarget=null}function Nl(e,n){n=!!(4&n);for(var t=0;t<e.length;t++){var r=e[t],l=r.event;r=r.listeners;e:{var a=void 0;if(n)for(var u=r.length-1;0<=u;u--){var o=r[u],i=o.instance,s=o.currentTarget;if(o=o.listener,i!==a&&l.isPropagationStopped())break e;Pl(l,o,s),a=i}else for(u=0;u<r.length;u++){if(i=(o=r[u]).instance,s=o.currentTarget,o=o.listener,i!==a&&l.isPropagationStopped())break e;Pl(l,o,s),a=i}}}if(zn)throw e=Tn,zn=!1,Tn=null,e}function zl(e,n){var t=n[aa];void 0===t&&(t=n[aa]=new Set);var r=e+"__bubble";t.has(r)||(Rl(n,e,2,!1),t.add(r))}function Tl(e,n,t){var r=0;n&&(r|=4),Rl(t,e,r,n)}var Ll="_reactListening"+Math.random().toString(36).slice(2);function Ml(e){if(!e[Ll]){e[Ll]=!0,X.forEach((function(n){"selectionchange"!==n&&(Cl.has(n)||Tl(n,!1,e),Tl(n,!0,e))}));var n=9===e.nodeType?e:e.ownerDocument;null===n||n[Ll]||(n[Ll]=!0,Tl("selectionchange",!1,n))}}function Rl(e,n,t,r){switch(At(n)){case 1:var l=Dt;break;case 4:l=It;break;default:l=Ut}t=l.bind(null,n,t,e),l=void 0,!En||"touchstart"!==n&&"touchmove"!==n&&"wheel"!==n||(l=!0),r?void 0!==l?e.addEventListener(n,t,{capture:!0,passive:l}):e.addEventListener(n,t,!0):void 0!==l?e.addEventListener(n,t,{passive:l}):e.addEventListener(n,t,!1)}function Ol(e,n,t,r,l){var a=r;if(!(1&n||2&n||null===r))e:for(;;){if(null===r)return;var u=r.tag;if(3===u||4===u){var o=r.stateNode.containerInfo;if(o===l||8===o.nodeType&&o.parentNode===l)break;if(4===u)for(u=r.return;null!==u;){var i=u.tag;if((3===i||4===i)&&((i=u.stateNode.containerInfo)===l||8===i.nodeType&&i.parentNode===l))return;u=u.return}for(;null!==o;){if(null===(u=ia(o)))return;if(5===(i=u.tag)||6===i){r=a=u;continue e}o=o.parentNode}}r=r.return}Sn((function(){var r=a,l=dn(t),u=[];e:{var o=kl.get(e);if(void 0!==o){var i=er,s=e;switch(e){case"keypress":if(0===Qt(t))break e;case"keydown":case"keyup":i=vr;break;case"focusin":s="focus",i=ur;break;case"focusout":s="blur",i=ur;break;case"beforeblur":case"afterblur":i=ur;break;case"click":if(2===t.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":i=lr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":i=ar;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":i=br;break;case gl:case vl:case yl:i=or;break;case bl:i=kr;break;case"scroll":i=tr;break;case"wheel":i=Sr;break;case"copy":case"cut":case"paste":i=sr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":i=yr}var c=!!(4&n),f=!c&&"scroll"===e,d=c?null!==o?o+"Capture":null:o;c=[];for(var p,m=r;null!==m;){var h=(p=m).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==d&&(null!=(h=xn(m,d))&&c.push(Fl(m,h,p)))),f)break;m=m.return}0<c.length&&(o=new i(o,s,null,t,l),u.push({event:o,listeners:c}))}}if(!(7&n)){if(i="mouseout"===e||"pointerout"===e,(!(o="mouseover"===e||"pointerover"===e)||t===fn||!(s=t.relatedTarget||t.fromElement)||!ia(s)&&!s[la])&&(i||o)&&(o=l.window===l?l:(o=l.ownerDocument)?o.defaultView||o.parentWindow:window,i?(i=r,null!==(s=(s=t.relatedTarget||t.toElement)?ia(s):null)&&(s!==(f=Rn(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(i=null,s=r),i!==s)){if(c=lr,h="onMouseLeave",d="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=yr,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==i?o:ca(i),p=null==s?o:ca(s),(o=new c(h,m+"leave",i,t,l)).target=f,o.relatedTarget=p,h=null,ia(l)===r&&((c=new c(d,m+"enter",s,t,l)).target=p,c.relatedTarget=f,h=c),f=h,i&&s)e:{for(d=s,m=0,p=c=i;p;p=Il(p))m++;for(p=0,h=d;h;h=Il(h))p++;for(;0<m-p;)c=Il(c),m--;for(;0<p-m;)d=Il(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break e;c=Il(c),d=Il(d)}c=null}else c=null;null!==i&&Ul(u,o,i,c,!1),null!==s&&null!==f&&Ul(u,f,s,c,!0)}if("select"===(i=(o=r?ca(r):window).nodeName&&o.nodeName.toLowerCase())||"input"===i&&"file"===o.type)var g=Vr;else if(Or(o))if(Ar)g=Xr;else{g=Kr;var v=qr}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(g=Yr);switch(g&&(g=g(e,r))?Fr(u,g,t,l):(v&&v(e,o,r),"focusout"===e&&(v=o._wrapperState)&&v.controlled&&"number"===o.type&&He(o,"number",o.value)),v=r?ca(r):window,e){case"focusin":(Or(v)||"true"===v.contentEditable)&&(ul=v,ol=r,il=null);break;case"focusout":il=ol=ul=null;break;case"mousedown":sl=!0;break;case"contextmenu":case"mouseup":case"dragend":sl=!1,cl(u,t,l);break;case"selectionchange":if(al)break;case"keydown":case"keyup":cl(u,t,l)}var y;if(Er)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Mr?Tr(e,t)&&(b="onCompositionEnd"):"keydown"===e&&229===t.keyCode&&(b="onCompositionStart");b&&(Pr&&"ko"!==t.locale&&(Mr||"onCompositionStart"!==b?"onCompositionEnd"===b&&Mr&&(y=Wt()):(Bt="value"in($t=l)?$t.value:$t.textContent,Mr=!0)),0<(v=Dl(r,b)).length&&(b=new cr(b,e,null,t,l),u.push({event:b,listeners:v}),y?b.data=y:null!==(y=Lr(t))&&(b.data=y))),(y=Cr?function(e,n){switch(e){case"compositionend":return Lr(n);case"keypress":return 32!==n.which?null:(zr=!0,Nr);case"textInput":return(e=n.data)===Nr&&zr?null:e;default:return null}}(e,t):function(e,n){if(Mr)return"compositionend"===e||!Er&&Tr(e,n)?(e=Wt(),Ht=Bt=$t=null,Mr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Pr&&"ko"!==n.locale?null:n.data}}(e,t))&&(0<(r=Dl(r,"onBeforeInput")).length&&(l=new cr("onBeforeInput","beforeinput",null,t,l),u.push({event:l,listeners:r}),l.data=y))}Nl(u,n)}))}function Fl(e,n,t){return{instance:e,listener:n,currentTarget:t}}function Dl(e,n){for(var t=n+"Capture",r=[];null!==e;){var l=e,a=l.stateNode;5===l.tag&&null!==a&&(l=a,null!=(a=xn(e,t))&&r.unshift(Fl(e,a,l)),null!=(a=xn(e,n))&&r.push(Fl(e,a,l))),e=e.return}return r}function Il(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ul(e,n,t,r,l){for(var a=n._reactName,u=[];null!==t&&t!==r;){var o=t,i=o.alternate,s=o.stateNode;if(null!==i&&i===r)break;5===o.tag&&null!==s&&(o=s,l?null!=(i=xn(t,a))&&u.unshift(Fl(t,i,o)):l||null!=(i=xn(t,a))&&u.push(Fl(t,i,o))),t=t.return}0!==u.length&&e.push({event:n,listeners:u})}var jl=/\r\n?/g,Vl=/\u0000|\uFFFD/g;function Al(e){return("string"==typeof e?e:""+e).replace(jl,"\n").replace(Vl,"")}function $l(e,n,t){if(n=Al(n),Al(e)!==n&&t)throw Error(Y(425))}function Bl(){}var Hl=null,Wl=null;function Ql(e,n){return"textarea"===e||"noscript"===e||"string"==typeof n.children||"number"==typeof n.children||"object"==typeof n.dangerouslySetInnerHTML&&null!==n.dangerouslySetInnerHTML&&null!=n.dangerouslySetInnerHTML.__html}var ql="function"==typeof setTimeout?setTimeout:void 0,Kl="function"==typeof clearTimeout?clearTimeout:void 0,Yl="function"==typeof Promise?Promise:void 0,Xl="function"==typeof queueMicrotask?queueMicrotask:void 0!==Yl?function(e){return Yl.resolve(null).then(e).catch(Gl)}:ql;function Gl(e){setTimeout((function(){throw e}))}function Zl(e,n){var t=n,r=0;do{var l=t.nextSibling;if(e.removeChild(t),l&&8===l.nodeType)if("/$"===(t=l.data)){if(0===r)return e.removeChild(l),void Rt(n);r--}else"$"!==t&&"$?"!==t&&"$!"!==t||r++;t=l}while(t);Rt(n)}function Jl(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(1===n||3===n)break;if(8===n){if("$"===(n=e.data)||"$!"===n||"$?"===n)break;if("/$"===n)return null}}return e}function ea(e){e=e.previousSibling;for(var n=0;e;){if(8===e.nodeType){var t=e.data;if("$"===t||"$!"===t||"$?"===t){if(0===n)return e;n--}else"/$"===t&&n++}e=e.previousSibling}return null}var na=Math.random().toString(36).slice(2),ta="__reactFiber$"+na,ra="__reactProps$"+na,la="__reactContainer$"+na,aa="__reactEvents$"+na,ua="__reactListeners$"+na,oa="__reactHandles$"+na;function ia(e){var n=e[ta];if(n)return n;for(var t=e.parentNode;t;){if(n=t[la]||t[ta]){if(t=n.alternate,null!==n.child||null!==t&&null!==t.child)for(e=ea(e);null!==e;){if(t=e[ta])return t;e=ea(e)}return n}t=(e=t).parentNode}return null}function sa(e){return!(e=e[ta]||e[la])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ca(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(Y(33))}function fa(e){return e[ra]||null}var da=[],pa=-1;function ma(e){return{current:e}}function ha(e){0>pa||(e.current=da[pa],da[pa]=null,pa--)}function ga(e,n){pa++,da[pa]=e.current,e.current=n}var va={},ya=ma(va),ba=ma(!1),ka=va;function wa(e,n){var t=e.type.contextTypes;if(!t)return va;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l,a={};for(l in t)a[l]=n[l];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),a}function Sa(e){return null!=(e=e.childContextTypes)}function xa(){ha(ba),ha(ya)}function Ea(e,n,t){if(ya.current!==va)throw Error(Y(168));ga(ya,n),ga(ba,t)}function _a(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,"function"!=typeof r.getChildContext)return t;for(var l in r=r.getChildContext())if(!(l in n))throw Error(Y(108,Re(e)||"Unknown",l));return Pe({},t,r)}function Ca(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||va,ka=ya.current,ga(ya,e),ga(ba,ba.current),!0}function Pa(e,n,t){var r=e.stateNode;if(!r)throw Error(Y(169));t?(e=_a(e,n,ka),r.__reactInternalMemoizedMergedChildContext=e,ha(ba),ha(ya),ga(ya,e)):ha(ba),ga(ba,t)}var Na=null,za=!1,Ta=!1;function La(e){null===Na?Na=[e]:Na.push(e)}function Ma(){if(!Ta&&null!==Na){Ta=!0;var e=0,n=ct;try{var t=Na;for(ct=1;e<t.length;e++){var r=t[e];do{r=r(!0)}while(null!==r)}Na=null,za=!1}catch(l){throw null!==Na&&(Na=Na.slice(e+1)),Un(Hn,Ma),l}finally{ct=n,Ta=!1}}return null}var Ra=[],Oa=0,Fa=null,Da=0,Ia=[],Ua=0,ja=null,Va=1,Aa="";function $a(e,n){Ra[Oa++]=Da,Ra[Oa++]=Fa,Fa=e,Da=n}function Ba(e,n,t){Ia[Ua++]=Va,Ia[Ua++]=Aa,Ia[Ua++]=ja,ja=e;var r=Va;e=Aa;var l=32-Gn(r)-1;r&=~(1<<l),t+=1;var a=32-Gn(n)+l;if(30<a){var u=l-l%5;a=(r&(1<<u)-1).toString(32),r>>=u,l-=u,Va=1<<32-Gn(n)+l|t<<l|r,Aa=a+e}else Va=1<<a|t<<l|r,Aa=e}function Ha(e){null!==e.return&&($a(e,1),Ba(e,1,0))}function Wa(e){for(;e===Fa;)Fa=Ra[--Oa],Ra[Oa]=null,Da=Ra[--Oa],Ra[Oa]=null;for(;e===ja;)ja=Ia[--Ua],Ia[Ua]=null,Aa=Ia[--Ua],Ia[Ua]=null,Va=Ia[--Ua],Ia[Ua]=null}var Qa=null,qa=null,Ka=!1,Ya=null;function Xa(e,n){var t=kc(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,null===(n=e.deletions)?(e.deletions=[t],e.flags|=16):n.push(t)}function Ga(e,n){switch(e.tag){case 5:var t=e.type;return null!==(n=1!==n.nodeType||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n)&&(e.stateNode=n,Qa=e,qa=Jl(n.firstChild),!0);case 6:return null!==(n=""===e.pendingProps||3!==n.nodeType?null:n)&&(e.stateNode=n,Qa=e,qa=null,!0);case 13:return null!==(n=8!==n.nodeType?null:n)&&(t=null!==ja?{id:Va,overflow:Aa}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:1073741824},(t=kc(18,null,null,0)).stateNode=n,t.return=e,e.child=t,Qa=e,qa=null,!0);default:return!1}}function Za(e){return!(!(1&e.mode)||128&e.flags)}function Ja(e){if(Ka){var n=qa;if(n){var t=n;if(!Ga(e,n)){if(Za(e))throw Error(Y(418));n=Jl(t.nextSibling);var r=Qa;n&&Ga(e,n)?Xa(r,t):(e.flags=-4097&e.flags|2,Ka=!1,Qa=e)}}else{if(Za(e))throw Error(Y(418));e.flags=-4097&e.flags|2,Ka=!1,Qa=e}}}function eu(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Qa=e}function nu(e){if(e!==Qa)return!1;if(!Ka)return eu(e),Ka=!0,!1;var n;if((n=3!==e.tag)&&!(n=5!==e.tag)&&(n="head"!==(n=e.type)&&"body"!==n&&!Ql(e.type,e.memoizedProps)),n&&(n=qa)){if(Za(e))throw tu(),Error(Y(418));for(;n;)Xa(e,n),n=Jl(n.nextSibling)}if(eu(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(Y(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType){var t=e.data;if("/$"===t){if(0===n){qa=Jl(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++}e=e.nextSibling}qa=null}}else qa=Qa?Jl(e.stateNode.nextSibling):null;return!0}function tu(){for(var e=qa;e;)e=Jl(e.nextSibling)}function ru(){qa=Qa=null,Ka=!1}function lu(e){null===Ya?Ya=[e]:Ya.push(e)}var au=ce.ReactCurrentBatchConfig;function uu(e,n,t){if(null!==(e=t.ref)&&"function"!=typeof e&&"object"!=typeof e){if(t._owner){if(t=t._owner){if(1!==t.tag)throw Error(Y(309));var r=t.stateNode}if(!r)throw Error(Y(147,e));var l=r,a=""+e;return null!==n&&null!==n.ref&&"function"==typeof n.ref&&n.ref._stringRef===a?n.ref:((n=function(e){var n=l.refs;null===e?delete n[a]:n[a]=e})._stringRef=a,n)}if("string"!=typeof e)throw Error(Y(284));if(!t._owner)throw Error(Y(290,e))}return e}function ou(e,n){throw e=Object.prototype.toString.call(n),Error(Y(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function iu(e){return(0,e._init)(e._payload)}function su(e){function n(n,t){if(e){var r=n.deletions;null===r?(n.deletions=[t],n.flags|=16):r.push(t)}}function t(t,r){if(!e)return null;for(;null!==r;)n(t,r),r=r.sibling;return null}function r(e,n){for(e=new Map;null!==n;)null!==n.key?e.set(n.key,n):e.set(n.index,n),n=n.sibling;return e}function l(e,n){return(e=Sc(e,n)).index=0,e.sibling=null,e}function a(n,t,r){return n.index=r,e?null!==(r=n.alternate)?(r=r.index)<t?(n.flags|=2,t):r:(n.flags|=2,t):(n.flags|=1048576,t)}function u(n){return e&&null===n.alternate&&(n.flags|=2),n}function o(e,n,t,r){return null===n||6!==n.tag?((n=Cc(t,e.mode,r)).return=e,n):((n=l(n,t)).return=e,n)}function i(e,n,t,r){var a=t.type;return a===pe?c(e,n,t.props.children,r,t.key):null!==n&&(n.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===Se&&iu(a)===n.type)?((r=l(n,t.props)).ref=uu(e,n,t),r.return=e,r):((r=xc(t.type,t.key,t.props,null,e.mode,r)).ref=uu(e,n,t),r.return=e,r)}function s(e,n,t,r){return null===n||4!==n.tag||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation?((n=Pc(t,e.mode,r)).return=e,n):((n=l(n,t.children||[])).return=e,n)}function c(e,n,t,r,a){return null===n||7!==n.tag?((n=Ec(t,e.mode,r,a)).return=e,n):((n=l(n,t)).return=e,n)}function f(e,n,t){if("string"==typeof n&&""!==n||"number"==typeof n)return(n=Cc(""+n,e.mode,t)).return=e,n;if("object"==typeof n&&null!==n){switch(n.$$typeof){case fe:return(t=xc(n.type,n.key,n.props,null,e.mode,t)).ref=uu(e,null,n),t.return=e,t;case de:return(n=Pc(n,e.mode,t)).return=e,n;case Se:return f(e,(0,n._init)(n._payload),t)}if(We(n)||_e(n))return(n=Ec(n,e.mode,t,null)).return=e,n;ou(e,n)}return null}function d(e,n,t,r){var l=null!==n?n.key:null;if("string"==typeof t&&""!==t||"number"==typeof t)return null!==l?null:o(e,n,""+t,r);if("object"==typeof t&&null!==t){switch(t.$$typeof){case fe:return t.key===l?i(e,n,t,r):null;case de:return t.key===l?s(e,n,t,r):null;case Se:return d(e,n,(l=t._init)(t._payload),r)}if(We(t)||_e(t))return null!==l?null:c(e,n,t,r,null);ou(e,t)}return null}function p(e,n,t,r,l){if("string"==typeof r&&""!==r||"number"==typeof r)return o(n,e=e.get(t)||null,""+r,l);if("object"==typeof r&&null!==r){switch(r.$$typeof){case fe:return i(n,e=e.get(null===r.key?t:r.key)||null,r,l);case de:return s(n,e=e.get(null===r.key?t:r.key)||null,r,l);case Se:return p(e,n,t,(0,r._init)(r._payload),l)}if(We(r)||_e(r))return c(n,e=e.get(t)||null,r,l,null);ou(n,r)}return null}return function o(i,s,c,m){if("object"==typeof c&&null!==c&&c.type===pe&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case fe:e:{for(var h=c.key,g=s;null!==g;){if(g.key===h){if((h=c.type)===pe){if(7===g.tag){t(i,g.sibling),(s=l(g,c.props.children)).return=i,i=s;break e}}else if(g.elementType===h||"object"==typeof h&&null!==h&&h.$$typeof===Se&&iu(h)===g.type){t(i,g.sibling),(s=l(g,c.props)).ref=uu(i,g,c),s.return=i,i=s;break e}t(i,g);break}n(i,g),g=g.sibling}c.type===pe?((s=Ec(c.props.children,i.mode,m,c.key)).return=i,i=s):((m=xc(c.type,c.key,c.props,null,i.mode,m)).ref=uu(i,s,c),m.return=i,i=m)}return u(i);case de:e:{for(g=c.key;null!==s;){if(s.key===g){if(4===s.tag&&s.stateNode.containerInfo===c.containerInfo&&s.stateNode.implementation===c.implementation){t(i,s.sibling),(s=l(s,c.children||[])).return=i,i=s;break e}t(i,s);break}n(i,s),s=s.sibling}(s=Pc(c,i.mode,m)).return=i,i=s}return u(i);case Se:return o(i,s,(g=c._init)(c._payload),m)}if(We(c))return function(l,u,o,i){for(var s=null,c=null,m=u,h=u=0,g=null;null!==m&&h<o.length;h++){m.index>h?(g=m,m=null):g=m.sibling;var v=d(l,m,o[h],i);if(null===v){null===m&&(m=g);break}e&&m&&null===v.alternate&&n(l,m),u=a(v,u,h),null===c?s=v:c.sibling=v,c=v,m=g}if(h===o.length)return t(l,m),Ka&&$a(l,h),s;if(null===m){for(;h<o.length;h++)null!==(m=f(l,o[h],i))&&(u=a(m,u,h),null===c?s=m:c.sibling=m,c=m);return Ka&&$a(l,h),s}for(m=r(l,m);h<o.length;h++)null!==(g=p(m,l,h,o[h],i))&&(e&&null!==g.alternate&&m.delete(null===g.key?h:g.key),u=a(g,u,h),null===c?s=g:c.sibling=g,c=g);return e&&m.forEach((function(e){return n(l,e)})),Ka&&$a(l,h),s}(i,s,c,m);if(_e(c))return function(l,u,o,i){var s=_e(o);if("function"!=typeof s)throw Error(Y(150));if(null==(o=s.call(o)))throw Error(Y(151));for(var c=s=null,m=u,h=u=0,g=null,v=o.next();null!==m&&!v.done;h++,v=o.next()){m.index>h?(g=m,m=null):g=m.sibling;var y=d(l,m,v.value,i);if(null===y){null===m&&(m=g);break}e&&m&&null===y.alternate&&n(l,m),u=a(y,u,h),null===c?s=y:c.sibling=y,c=y,m=g}if(v.done)return t(l,m),Ka&&$a(l,h),s;if(null===m){for(;!v.done;h++,v=o.next())null!==(v=f(l,v.value,i))&&(u=a(v,u,h),null===c?s=v:c.sibling=v,c=v);return Ka&&$a(l,h),s}for(m=r(l,m);!v.done;h++,v=o.next())null!==(v=p(m,l,h,v.value,i))&&(e&&null!==v.alternate&&m.delete(null===v.key?h:v.key),u=a(v,u,h),null===c?s=v:c.sibling=v,c=v);return e&&m.forEach((function(e){return n(l,e)})),Ka&&$a(l,h),s}(i,s,c,m);ou(i,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==s&&6===s.tag?(t(i,s.sibling),(s=l(s,c)).return=i,i=s):(t(i,s),(s=Cc(c,i.mode,m)).return=i,i=s),u(i)):t(i,s)}}var cu=su(!0),fu=su(!1),du=ma(null),pu=null,mu=null,hu=null;function gu(){hu=mu=pu=null}function vu(e){var n=du.current;ha(du),e._currentValue=n}function yu(e,n,t){for(;null!==e;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,null!==r&&(r.childLanes|=n)):null!==r&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function bu(e,n){pu=e,hu=mu=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&n)&&(ii=!0),e.firstContext=null)}function ku(e){var n=e._currentValue;if(hu!==e)if(e={context:e,memoizedValue:n,next:null},null===mu){if(null===pu)throw Error(Y(308));mu=e,pu.dependencies={lanes:0,firstContext:e}}else mu=mu.next=e;return n}var wu=null;function Su(e){null===wu?wu=[e]:wu.push(e)}function xu(e,n,t,r){var l=n.interleaved;return null===l?(t.next=t,Su(n)):(t.next=l.next,l.next=t),n.interleaved=t,Eu(e,r)}function Eu(e,n){e.lanes|=n;var t=e.alternate;for(null!==t&&(t.lanes|=n),t=e,e=e.return;null!==e;)e.childLanes|=n,null!==(t=e.alternate)&&(t.childLanes|=n),t=e,e=e.return;return 3===t.tag?t.stateNode:null}var _u=!1;function Cu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pu(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Nu(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function zu(e,n,t){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&vs){var l=r.pending;return null===l?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Eu(e,t)}return null===(l=r.interleaved)?(n.next=n,Su(r)):(n.next=l.next,l.next=n),r.interleaved=n,Eu(e,t)}function Tu(e,n,t){if(null!==(n=n.updateQueue)&&(n=n.shared,4194240&t)){var r=n.lanes;t|=r&=e.pendingLanes,n.lanes=t,st(e,t)}}function Lu(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var l=null,a=null;if(null!==(t=t.firstBaseUpdate)){do{var u={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};null===a?l=a=u:a=a.next=u,t=t.next}while(null!==t);null===a?l=a=n:a=a.next=n}else l=a=n;return t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=t)}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Mu(e,n,t,r){var l=e.updateQueue;_u=!1;var a=l.firstBaseUpdate,u=l.lastBaseUpdate,o=l.shared.pending;if(null!==o){l.shared.pending=null;var i=o,s=i.next;i.next=null,null===u?a=s:u.next=s,u=i;var c=e.alternate;null!==c&&((o=(c=c.updateQueue).lastBaseUpdate)!==u&&(null===o?c.firstBaseUpdate=s:o.next=s,c.lastBaseUpdate=i))}if(null!==a){var f=l.baseState;for(u=0,c=s=i=null,o=a;;){var d=o.lane,p=o.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var m=e,h=o;switch(d=n,p=t,h.tag){case 1:if("function"==typeof(m=h.payload)){f=m.call(p,f,d);break e}f=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(d="function"==typeof(m=h.payload)?m.call(p,f,d):m))break e;f=Pe({},f,d);break e;case 2:_u=!0}}null!==o.callback&&0!==o.lane&&(e.flags|=64,null===(d=l.effects)?l.effects=[o]:d.push(o))}else p={eventTime:p,lane:d,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===c?(s=c=p,i=f):c=c.next=p,u|=d;if(null===(o=o.next)){if(null===(o=l.shared.pending))break;o=(d=o).next,d.next=null,l.lastBaseUpdate=d,l.shared.pending=null}}if(null===c&&(i=f),l.baseState=i,l.firstBaseUpdate=s,l.lastBaseUpdate=c,null!==(n=l.shared.interleaved)){l=n;do{u|=l.lane,l=l.next}while(l!==n)}else null===a&&(l.shared.lanes=0);_s|=u,e.lanes=u,e.memoizedState=f}}function Ru(e,n,t){if(e=n.effects,n.effects=null,null!==e)for(n=0;n<e.length;n++){var r=e[n],l=r.callback;if(null!==l){if(r.callback=null,r=t,"function"!=typeof l)throw Error(Y(191,l));l.call(r)}}}var Ou={},Fu=ma(Ou),Du=ma(Ou),Iu=ma(Ou);function Uu(e){if(e===Ou)throw Error(Y(174));return e}function ju(e,n){switch(ga(Iu,n),ga(Du,e),ga(Fu,Ou),e=n.nodeType){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Ze(null,"");break;default:n=Ze(n=(e=8===e?n.parentNode:n).namespaceURI||null,e=e.tagName)}ha(Fu),ga(Fu,n)}function Vu(){ha(Fu),ha(Du),ha(Iu)}function Au(e){Uu(Iu.current);var n=Uu(Fu.current),t=Ze(n,e.type);n!==t&&(ga(Du,e),ga(Fu,t))}function $u(e){Du.current===e&&(ha(Fu),ha(Du))}var Bu=ma(0);function Hu(e){for(var n=e;null!==n;){if(13===n.tag){var t=n.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||"$?"===t.data||"$!"===t.data))return n}else if(19===n.tag&&void 0!==n.memoizedProps.revealOrder){if(128&n.flags)return n}else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Wu=[];function Qu(){for(var e=0;e<Wu.length;e++)Wu[e]._workInProgressVersionPrimary=null;Wu.length=0}var qu=ce.ReactCurrentDispatcher,Ku=ce.ReactCurrentBatchConfig,Yu=0,Xu=null,Gu=null,Zu=null,Ju=!1,eo=!1,no=0,to=0;function ro(){throw Error(Y(321))}function lo(e,n){if(null===n)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!Gr(e[t],n[t]))return!1;return!0}function ao(e,n,t,r,l,a){if(Yu=a,Xu=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,qu.current=null===e||null===e.memoizedState?Bo:Ho,e=t(r,l),eo){a=0;do{if(eo=!1,no=0,25<=a)throw Error(Y(301));a+=1,Zu=Gu=null,n.updateQueue=null,qu.current=Wo,e=t(r,l)}while(eo)}if(qu.current=$o,n=null!==Gu&&null!==Gu.next,Yu=0,Zu=Gu=Xu=null,Ju=!1,n)throw Error(Y(300));return e}function uo(){var e=0!==no;return no=0,e}function oo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Zu?Xu.memoizedState=Zu=e:Zu=Zu.next=e,Zu}function io(){if(null===Gu){var e=Xu.alternate;e=null!==e?e.memoizedState:null}else e=Gu.next;var n=null===Zu?Xu.memoizedState:Zu.next;if(null!==n)Zu=n,Gu=e;else{if(null===e)throw Error(Y(310));e={memoizedState:(Gu=e).memoizedState,baseState:Gu.baseState,baseQueue:Gu.baseQueue,queue:Gu.queue,next:null},null===Zu?Xu.memoizedState=Zu=e:Zu=Zu.next=e}return Zu}function so(e,n){return"function"==typeof n?n(e):n}function co(e){var n=io(),t=n.queue;if(null===t)throw Error(Y(311));t.lastRenderedReducer=e;var r=Gu,l=r.baseQueue,a=t.pending;if(null!==a){if(null!==l){var u=l.next;l.next=a.next,a.next=u}r.baseQueue=l=a,t.pending=null}if(null!==l){a=l.next,r=r.baseState;var o=u=null,i=null,s=a;do{var c=s.lane;if((Yu&c)===c)null!==i&&(i=i.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var f={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===i?(o=i=f,u=r):i=i.next=f,Xu.lanes|=c,_s|=c}s=s.next}while(null!==s&&s!==a);null===i?u=r:i.next=o,Gr(r,n.memoizedState)||(ii=!0),n.memoizedState=r,n.baseState=u,n.baseQueue=i,t.lastRenderedState=r}if(null!==(e=t.interleaved)){l=e;do{a=l.lane,Xu.lanes|=a,_s|=a,l=l.next}while(l!==e)}else null===l&&(t.lanes=0);return[n.memoizedState,t.dispatch]}function fo(e){var n=io(),t=n.queue;if(null===t)throw Error(Y(311));t.lastRenderedReducer=e;var r=t.dispatch,l=t.pending,a=n.memoizedState;if(null!==l){t.pending=null;var u=l=l.next;do{a=e(a,u.action),u=u.next}while(u!==l);Gr(a,n.memoizedState)||(ii=!0),n.memoizedState=a,null===n.baseQueue&&(n.baseState=a),t.lastRenderedState=a}return[a,r]}function po(){}function mo(e,n){var t=Xu,r=io(),l=n(),a=!Gr(r.memoizedState,l);if(a&&(r.memoizedState=l,ii=!0),r=r.queue,Co(vo.bind(null,t,r,e),[e]),r.getSnapshot!==n||a||null!==Zu&&1&Zu.memoizedState.tag){if(t.flags|=2048,wo(9,go.bind(null,t,r,l,n),void 0,null),null===ys)throw Error(Y(349));30&Yu||ho(t,n,l)}return l}function ho(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},null===(n=Xu.updateQueue)?(n={lastEffect:null,stores:null},Xu.updateQueue=n,n.stores=[e]):null===(t=n.stores)?n.stores=[e]:t.push(e)}function go(e,n,t,r){n.value=t,n.getSnapshot=r,yo(n)&&bo(e)}function vo(e,n,t){return t((function(){yo(n)&&bo(e)}))}function yo(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!Gr(e,t)}catch(r){return!0}}function bo(e){var n=Eu(e,1);null!==n&&Ws(n,e,1,-1)}function ko(e){var n=oo();return"function"==typeof e&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:so,lastRenderedState:e},n.queue=e,e=e.dispatch=Uo.bind(null,Xu,e),[n.memoizedState,e]}function wo(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},null===(n=Xu.updateQueue)?(n={lastEffect:null,stores:null},Xu.updateQueue=n,n.lastEffect=e.next=e):null===(t=n.lastEffect)?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e),e}function So(){return io().memoizedState}function xo(e,n,t,r){var l=oo();Xu.flags|=e,l.memoizedState=wo(1|n,t,void 0,void 0===r?null:r)}function Eo(e,n,t,r){var l=io();r=void 0===r?null:r;var a=void 0;if(null!==Gu){var u=Gu.memoizedState;if(a=u.destroy,null!==r&&lo(r,u.deps))return void(l.memoizedState=wo(n,t,a,r))}Xu.flags|=e,l.memoizedState=wo(1|n,t,a,r)}function _o(e,n){return xo(8390656,8,e,n)}function Co(e,n){return Eo(2048,8,e,n)}function Po(e,n){return Eo(4,2,e,n)}function No(e,n){return Eo(4,4,e,n)}function zo(e,n){return"function"==typeof n?(e=e(),n(e),function(){n(null)}):null!=n?(e=e(),n.current=e,function(){n.current=null}):void 0}function To(e,n,t){return t=null!=t?t.concat([e]):null,Eo(4,4,zo.bind(null,n,e),t)}function Lo(){}function Mo(e,n){var t=io();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&lo(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function Ro(e,n){var t=io();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&lo(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function Oo(e,n,t){return 21&Yu?(Gr(t,n)||(t=ut(),Xu.lanes|=t,_s|=t,e.baseState=!0),n):(e.baseState&&(e.baseState=!1,ii=!0),e.memoizedState=t)}function Fo(e,n){var t=ct;ct=0!==t&&4>t?t:4,e(!0);var r=Ku.transition;Ku.transition={};try{e(!1),n()}finally{ct=t,Ku.transition=r}}function Do(){return io().memoizedState}function Io(e,n,t){var r=Hs(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},jo(e))Vo(n,t);else if(null!==(t=xu(e,n,t,r))){Ws(t,e,r,Bs()),Ao(t,n,r)}}function Uo(e,n,t){var r=Hs(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(jo(e))Vo(n,l);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=n.lastRenderedReducer))try{var u=n.lastRenderedState,o=a(u,t);if(l.hasEagerState=!0,l.eagerState=o,Gr(o,u)){var i=n.interleaved;return null===i?(l.next=l,Su(n)):(l.next=i.next,i.next=l),void(n.interleaved=l)}}catch(s){}null!==(t=xu(e,n,l,r))&&(Ws(t,e,r,l=Bs()),Ao(t,n,r))}}function jo(e){var n=e.alternate;return e===Xu||null!==n&&n===Xu}function Vo(e,n){eo=Ju=!0;var t=e.pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Ao(e,n,t){if(4194240&t){var r=n.lanes;t|=r&=e.pendingLanes,n.lanes=t,st(e,t)}}var $o={readContext:ku,useCallback:ro,useContext:ro,useEffect:ro,useImperativeHandle:ro,useInsertionEffect:ro,useLayoutEffect:ro,useMemo:ro,useReducer:ro,useRef:ro,useState:ro,useDebugValue:ro,useDeferredValue:ro,useTransition:ro,useMutableSource:ro,useSyncExternalStore:ro,useId:ro,unstable_isNewReconciler:!1},Bo={readContext:ku,useCallback:function(e,n){return oo().memoizedState=[e,void 0===n?null:n],e},useContext:ku,useEffect:_o,useImperativeHandle:function(e,n,t){return t=null!=t?t.concat([e]):null,xo(4194308,4,zo.bind(null,n,e),t)},useLayoutEffect:function(e,n){return xo(4194308,4,e,n)},useInsertionEffect:function(e,n){return xo(4,2,e,n)},useMemo:function(e,n){var t=oo();return n=void 0===n?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=oo();return n=void 0!==t?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=Io.bind(null,Xu,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},oo().memoizedState=e},useState:ko,useDebugValue:Lo,useDeferredValue:function(e){return oo().memoizedState=e},useTransition:function(){var e=ko(!1),n=e[0];return e=Fo.bind(null,e[1]),oo().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=Xu,l=oo();if(Ka){if(void 0===t)throw Error(Y(407));t=t()}else{if(t=n(),null===ys)throw Error(Y(349));30&Yu||ho(r,n,t)}l.memoizedState=t;var a={value:t,getSnapshot:n};return l.queue=a,_o(vo.bind(null,r,a,e),[e]),r.flags|=2048,wo(9,go.bind(null,r,a,t,n),void 0,null),t},useId:function(){var e=oo(),n=ys.identifierPrefix;if(Ka){var t=Aa;n=":"+n+"R"+(t=(Va&~(1<<32-Gn(Va)-1)).toString(32)+t),0<(t=no++)&&(n+="H"+t.toString(32)),n+=":"}else n=":"+n+"r"+(t=to++).toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},Ho={readContext:ku,useCallback:Mo,useContext:ku,useEffect:Co,useImperativeHandle:To,useInsertionEffect:Po,useLayoutEffect:No,useMemo:Ro,useReducer:co,useRef:So,useState:function(){return co(so)},useDebugValue:Lo,useDeferredValue:function(e){return Oo(io(),Gu.memoizedState,e)},useTransition:function(){return[co(so)[0],io().memoizedState]},useMutableSource:po,useSyncExternalStore:mo,useId:Do,unstable_isNewReconciler:!1},Wo={readContext:ku,useCallback:Mo,useContext:ku,useEffect:Co,useImperativeHandle:To,useInsertionEffect:Po,useLayoutEffect:No,useMemo:Ro,useReducer:fo,useRef:So,useState:function(){return fo(so)},useDebugValue:Lo,useDeferredValue:function(e){var n=io();return null===Gu?n.memoizedState=e:Oo(n,Gu.memoizedState,e)},useTransition:function(){return[fo(so)[0],io().memoizedState]},useMutableSource:po,useSyncExternalStore:mo,useId:Do,unstable_isNewReconciler:!1};function Qo(e,n){if(e&&e.defaultProps){for(var t in n=Pe({},n),e=e.defaultProps)void 0===n[t]&&(n[t]=e[t]);return n}return n}function qo(e,n,t,r){t=null==(t=t(r,n=e.memoizedState))?n:Pe({},n,t),e.memoizedState=t,0===e.lanes&&(e.updateQueue.baseState=t)}var Ko={isMounted:function(e){return!!(e=e._reactInternals)&&Rn(e)===e},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=Bs(),l=Hs(e),a=Nu(r,l);a.payload=n,null!=t&&(a.callback=t),null!==(n=zu(e,a,l))&&(Ws(n,e,l,r),Tu(n,e,l))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=Bs(),l=Hs(e),a=Nu(r,l);a.tag=1,a.payload=n,null!=t&&(a.callback=t),null!==(n=zu(e,a,l))&&(Ws(n,e,l,r),Tu(n,e,l))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=Bs(),r=Hs(e),l=Nu(t,r);l.tag=2,null!=n&&(l.callback=n),null!==(n=zu(e,l,r))&&(Ws(n,e,r,t),Tu(n,e,r))}};function Yo(e,n,t,r,l,a,u){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,u):!n.prototype||!n.prototype.isPureReactComponent||(!Zr(t,r)||!Zr(l,a))}function Xo(e,n,t){var r=!1,l=va,a=n.contextType;return"object"==typeof a&&null!==a?a=ku(a):(l=Sa(n)?ka:ya.current,a=(r=null!=(r=n.contextTypes))?wa(e,l):va),n=new n(t,a),e.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,n.updater=Ko,e.stateNode=n,n._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=a),n}function Go(e,n,t,r){e=n.state,"function"==typeof n.componentWillReceiveProps&&n.componentWillReceiveProps(t,r),"function"==typeof n.UNSAFE_componentWillReceiveProps&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&Ko.enqueueReplaceState(n,n.state,null)}function Zo(e,n,t,r){var l=e.stateNode;l.props=t,l.state=e.memoizedState,l.refs={},Cu(e);var a=n.contextType;"object"==typeof a&&null!==a?l.context=ku(a):(a=Sa(n)?ka:ya.current,l.context=wa(e,a)),l.state=e.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(qo(e,n,a,t),l.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof l.getSnapshotBeforeUpdate||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||(n=l.state,"function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount(),n!==l.state&&Ko.enqueueReplaceState(l,l.state,null),Mu(e,t,l,r),l.state=e.memoizedState),"function"==typeof l.componentDidMount&&(e.flags|=4194308)}function Jo(e,n){try{var t="",r=n;do{t+=Le(r),r=r.return}while(r);var l=t}catch(a){l="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:n,stack:l,digest:null}}function ei(e,n,t){return{value:e,source:null,stack:null!=t?t:null,digest:null!=n?n:null}}var ni="function"==typeof WeakMap?WeakMap:Map;function ti(e,n,t){(t=Nu(-1,t)).tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Rs||(Rs=!0,Os=r)},t}function ri(e,n,t){(t=Nu(-1,t)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(t.callback=function(){"function"!=typeof r&&(null===Fs?Fs=new Set([this]):Fs.add(this));var e=n.stack;this.componentDidCatch(n.value,{componentStack:null!==e?e:""})}),t}function li(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new ni;var l=new Set;r.set(n,l)}else void 0===(l=r.get(n))&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=mc.bind(null,e,n,t),n.then(e,e))}function ai(e){do{var n;if((n=13===e.tag)&&(n=null===(n=e.memoizedState)||null!==n.dehydrated),n)return e;e=e.return}while(null!==e);return null}function ui(e,n,t,r,l){return 1&e.mode?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,1===t.tag&&(null===t.alternate?t.tag=17:((n=Nu(-1,1)).tag=2,zu(t,n,1))),t.lanes|=1),e)}var oi=ce.ReactCurrentOwner,ii=!1;function si(e,n,t,r){n.child=null===e?fu(n,null,t,r):cu(n,e.child,t,r)}function ci(e,n,t,r,l){t=t.render;var a=n.ref;return bu(n,l),r=ao(e,n,t,r,a,l),t=uo(),null===e||ii?(Ka&&t&&Ha(n),n.flags|=1,si(e,n,r,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Ri(e,n,l))}function fi(e,n,t,r,l){if(null===e){var a=t.type;return"function"!=typeof a||wc(a)||void 0!==a.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=xc(t.type,null,r,n,n.mode,l)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=a,di(e,n,a,r,l))}if(a=e.child,0===(e.lanes&l)){var u=a.memoizedProps;if((t=null!==(t=t.compare)?t:Zr)(u,r)&&e.ref===n.ref)return Ri(e,n,l)}return n.flags|=1,(e=Sc(a,r)).ref=n.ref,e.return=n,n.child=e}function di(e,n,t,r,l){if(null!==e){var a=e.memoizedProps;if(Zr(a,r)&&e.ref===n.ref){if(ii=!1,n.pendingProps=r=a,0===(e.lanes&l))return n.lanes=e.lanes,Ri(e,n,l);131072&e.flags&&(ii=!0)}}return hi(e,n,t,r,l)}function pi(e,n,t){var r=n.pendingProps,l=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&n.mode){if(!(1073741824&t))return e=null!==a?a.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,ga(Ss,ws),ws|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:t,ga(Ss,ws),ws|=r}else n.memoizedState={baseLanes:0,cachePool:null,transitions:null},ga(Ss,ws),ws|=t;else null!==a?(r=a.baseLanes|t,n.memoizedState=null):r=t,ga(Ss,ws),ws|=r;return si(e,n,l,t),n.child}function mi(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function hi(e,n,t,r,l){var a=Sa(t)?ka:ya.current;return a=wa(n,a),bu(n,l),t=ao(e,n,t,r,a,l),r=uo(),null===e||ii?(Ka&&r&&Ha(n),n.flags|=1,si(e,n,t,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Ri(e,n,l))}function gi(e,n,t,r,l){if(Sa(t)){var a=!0;Ca(n)}else a=!1;if(bu(n,l),null===n.stateNode)Mi(e,n),Xo(n,t,r),Zo(n,t,r,l),r=!0;else if(null===e){var u=n.stateNode,o=n.memoizedProps;u.props=o;var i=u.context,s=t.contextType;"object"==typeof s&&null!==s?s=ku(s):s=wa(n,s=Sa(t)?ka:ya.current);var c=t.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof u.getSnapshotBeforeUpdate;f||"function"!=typeof u.UNSAFE_componentWillReceiveProps&&"function"!=typeof u.componentWillReceiveProps||(o!==r||i!==s)&&Go(n,u,r,s),_u=!1;var d=n.memoizedState;u.state=d,Mu(n,r,u,l),i=n.memoizedState,o!==r||d!==i||ba.current||_u?("function"==typeof c&&(qo(n,t,c,r),i=n.memoizedState),(o=_u||Yo(n,t,o,r,d,i,s))?(f||"function"!=typeof u.UNSAFE_componentWillMount&&"function"!=typeof u.componentWillMount||("function"==typeof u.componentWillMount&&u.componentWillMount(),"function"==typeof u.UNSAFE_componentWillMount&&u.UNSAFE_componentWillMount()),"function"==typeof u.componentDidMount&&(n.flags|=4194308)):("function"==typeof u.componentDidMount&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=i),u.props=r,u.state=i,u.context=s,r=o):("function"==typeof u.componentDidMount&&(n.flags|=4194308),r=!1)}else{u=n.stateNode,Pu(e,n),o=n.memoizedProps,s=n.type===n.elementType?o:Qo(n.type,o),u.props=s,f=n.pendingProps,d=u.context,"object"==typeof(i=t.contextType)&&null!==i?i=ku(i):i=wa(n,i=Sa(t)?ka:ya.current);var p=t.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof u.getSnapshotBeforeUpdate)||"function"!=typeof u.UNSAFE_componentWillReceiveProps&&"function"!=typeof u.componentWillReceiveProps||(o!==f||d!==i)&&Go(n,u,r,i),_u=!1,d=n.memoizedState,u.state=d,Mu(n,r,u,l);var m=n.memoizedState;o!==f||d!==m||ba.current||_u?("function"==typeof p&&(qo(n,t,p,r),m=n.memoizedState),(s=_u||Yo(n,t,s,r,d,m,i)||!1)?(c||"function"!=typeof u.UNSAFE_componentWillUpdate&&"function"!=typeof u.componentWillUpdate||("function"==typeof u.componentWillUpdate&&u.componentWillUpdate(r,m,i),"function"==typeof u.UNSAFE_componentWillUpdate&&u.UNSAFE_componentWillUpdate(r,m,i)),"function"==typeof u.componentDidUpdate&&(n.flags|=4),"function"==typeof u.getSnapshotBeforeUpdate&&(n.flags|=1024)):("function"!=typeof u.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof u.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=m),u.props=r,u.state=m,u.context=i,r=s):("function"!=typeof u.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof u.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=1024),r=!1)}return vi(e,n,t,r,a,l)}function vi(e,n,t,r,l,a){mi(e,n);var u=!!(128&n.flags);if(!r&&!u)return l&&Pa(n,t,!1),Ri(e,n,a);r=n.stateNode,oi.current=n;var o=u&&"function"!=typeof t.getDerivedStateFromError?null:r.render();return n.flags|=1,null!==e&&u?(n.child=cu(n,e.child,null,a),n.child=cu(n,null,o,a)):si(e,n,o,a),n.memoizedState=r.state,l&&Pa(n,t,!0),n.child}function yi(e){var n=e.stateNode;n.pendingContext?Ea(0,n.pendingContext,n.pendingContext!==n.context):n.context&&Ea(0,n.context,!1),ju(e,n.containerInfo)}function bi(e,n,t,r,l){return ru(),lu(l),n.flags|=256,si(e,n,t,r),n.child}var ki,wi,Si,xi,Ei={dehydrated:null,treeContext:null,retryLane:0};function _i(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ci(e,n,t){var r,l=n.pendingProps,a=Bu.current,u=!1,o=!!(128&n.flags);if((r=o)||(r=(null===e||null!==e.memoizedState)&&!!(2&a)),r?(u=!0,n.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),ga(Bu,1&a),null===e)return Ja(n),null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)?(1&n.mode?"$!"===e.data?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(o=l.children,e=l.fallback,u?(l=n.mode,u=n.child,o={mode:"hidden",children:o},1&l||null===u?u=_c(o,l,0,null):(u.childLanes=0,u.pendingProps=o),e=Ec(e,l,t,null),u.return=n,e.return=n,u.sibling=e,n.child=u,n.child.memoizedState=_i(t),n.memoizedState=Ei,e):Pi(n,o));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,n,t,r,l,a,u){if(t)return 256&n.flags?(n.flags&=-257,Ni(e,n,u,r=ei(Error(Y(422))))):null!==n.memoizedState?(n.child=e.child,n.flags|=128,null):(a=r.fallback,l=n.mode,r=_c({mode:"visible",children:r.children},l,0,null),(a=Ec(a,l,u,null)).flags|=2,r.return=n,a.return=n,r.sibling=a,n.child=r,1&n.mode&&cu(n,e.child,null,u),n.child.memoizedState=_i(u),n.memoizedState=Ei,a);if(!(1&n.mode))return Ni(e,n,u,null);if("$!"===l.data){if(r=l.nextSibling&&l.nextSibling.dataset)var o=r.dgst;return r=o,Ni(e,n,u,r=ei(a=Error(Y(419)),r,void 0))}if(o=0!==(u&e.childLanes),ii||o){if(null!==(r=ys)){switch(u&-u){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}0!==(l=0!==(l&(r.suspendedLanes|u))?0:l)&&l!==a.retryLane&&(a.retryLane=l,Eu(e,l),Ws(r,e,l,-1))}return lc(),Ni(e,n,u,r=ei(Error(Y(421))))}return"$?"===l.data?(n.flags|=128,n.child=e.child,n=gc.bind(null,e),l._reactRetry=n,null):(e=a.treeContext,qa=Jl(l.nextSibling),Qa=n,Ka=!0,Ya=null,null!==e&&(Ia[Ua++]=Va,Ia[Ua++]=Aa,Ia[Ua++]=ja,Va=e.id,Aa=e.overflow,ja=n),n=Pi(n,r.children),n.flags|=4096,n)}(e,n,o,l,r,a,t);if(u){u=l.fallback,o=n.mode,r=(a=e.child).sibling;var i={mode:"hidden",children:l.children};return 1&o||n.child===a?(l=Sc(a,i)).subtreeFlags=14680064&a.subtreeFlags:((l=n.child).childLanes=0,l.pendingProps=i,n.deletions=null),null!==r?u=Sc(r,u):(u=Ec(u,o,t,null)).flags|=2,u.return=n,l.return=n,l.sibling=u,n.child=l,l=u,u=n.child,o=null===(o=e.child.memoizedState)?_i(t):{baseLanes:o.baseLanes|t,cachePool:null,transitions:o.transitions},u.memoizedState=o,u.childLanes=e.childLanes&~t,n.memoizedState=Ei,l}return e=(u=e.child).sibling,l=Sc(u,{mode:"visible",children:l.children}),!(1&n.mode)&&(l.lanes=t),l.return=n,l.sibling=null,null!==e&&(null===(t=n.deletions)?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=l,n.memoizedState=null,l}function Pi(e,n){return(n=_c({mode:"visible",children:n},e.mode,0,null)).return=e,e.child=n}function Ni(e,n,t,r){return null!==r&&lu(r),cu(n,e.child,null,t),(e=Pi(n,n.pendingProps.children)).flags|=2,n.memoizedState=null,e}function zi(e,n,t){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n),yu(e.return,n,t)}function Ti(e,n,t,r,l){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(a.isBackwards=n,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=t,a.tailMode=l)}function Li(e,n,t){var r=n.pendingProps,l=r.revealOrder,a=r.tail;if(si(e,n,r.children,t),2&(r=Bu.current))r=1&r|2,n.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&zi(e,t,n);else if(19===e.tag)zi(e,t,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ga(Bu,r),1&n.mode)switch(l){case"forwards":for(t=n.child,l=null;null!==t;)null!==(e=t.alternate)&&null===Hu(e)&&(l=t),t=t.sibling;null===(t=l)?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Ti(n,!1,l,t,a);break;case"backwards":for(t=null,l=n.child,n.child=null;null!==l;){if(null!==(e=l.alternate)&&null===Hu(e)){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}Ti(n,!0,t,null,a);break;case"together":Ti(n,!1,null,null,void 0);break;default:n.memoizedState=null}else n.memoizedState=null;return n.child}function Mi(e,n){!(1&n.mode)&&null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Ri(e,n,t){if(null!==e&&(n.dependencies=e.dependencies),_s|=n.lanes,0===(t&n.childLanes))return null;if(null!==e&&n.child!==e.child)throw Error(Y(153));if(null!==n.child){for(t=Sc(e=n.child,e.pendingProps),n.child=t,t.return=n;null!==e.sibling;)e=e.sibling,(t=t.sibling=Sc(e,e.pendingProps)).return=n;t.sibling=null}return n.child}function Oi(e,n){if(!Ka)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;null!==n;)null!==n.alternate&&(t=n),n=n.sibling;null===t?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?n||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Fi(e){var n=null!==e.alternate&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;null!==l;)t|=l.lanes|l.childLanes,r|=14680064&l.subtreeFlags,r|=14680064&l.flags,l.return=e,l=l.sibling;else for(l=e.child;null!==l;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function Di(e,n,t){var r=n.pendingProps;switch(Wa(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fi(n),null;case 1:case 17:return Sa(n.type)&&xa(),Fi(n),null;case 3:return r=n.stateNode,Vu(),ha(ba),ha(ya),Qu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(nu(n)?n.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&n.flags)||(n.flags|=1024,null!==Ya&&(Ys(Ya),Ya=null))),wi(e,n),Fi(n),null;case 5:$u(n);var l=Uu(Iu.current);if(t=n.type,null!==e&&null!=n.stateNode)Si(e,n,t,r,l),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(null===n.stateNode)throw Error(Y(166));return Fi(n),null}if(e=Uu(Fu.current),nu(n)){r=n.stateNode,t=n.type;var a=n.memoizedProps;switch(r[ta]=n,r[ra]=a,e=!!(1&n.mode),t){case"dialog":zl("cancel",r),zl("close",r);break;case"iframe":case"object":case"embed":zl("load",r);break;case"video":case"audio":for(l=0;l<_l.length;l++)zl(_l[l],r);break;case"source":zl("error",r);break;case"img":case"image":case"link":zl("error",r),zl("load",r);break;case"details":zl("toggle",r);break;case"input":Ve(r,a),zl("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},zl("invalid",r);break;case"textarea":Ke(r,a),zl("invalid",r)}for(var u in sn(t,a),l=null,a)if(a.hasOwnProperty(u)){var o=a[u];"children"===u?"string"==typeof o?r.textContent!==o&&(!0!==a.suppressHydrationWarning&&$l(r.textContent,o,e),l=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(!0!==a.suppressHydrationWarning&&$l(r.textContent,o,e),l=["children",""+o]):G.hasOwnProperty(u)&&null!=o&&"onScroll"===u&&zl("scroll",r)}switch(t){case"input":De(r),Be(r,a,!0);break;case"textarea":De(r),Xe(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Bl)}r=l,n.updateQueue=r,null!==r&&(n.flags|=4)}else{u=9===l.nodeType?l:l.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=Ge(t)),"http://www.w3.org/1999/xhtml"===e?"script"===t?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),"select"===t&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[ta]=n,e[ra]=r,ki(e,n,!1,!1),n.stateNode=e;e:{switch(u=cn(t,r),t){case"dialog":zl("cancel",e),zl("close",e),l=r;break;case"iframe":case"object":case"embed":zl("load",e),l=r;break;case"video":case"audio":for(l=0;l<_l.length;l++)zl(_l[l],e);l=r;break;case"source":zl("error",e),l=r;break;case"img":case"image":case"link":zl("error",e),zl("load",e),l=r;break;case"details":zl("toggle",e),l=r;break;case"input":Ve(e,r),l=je(e,r),zl("invalid",e);break;case"option":default:l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=Pe({},r,{value:void 0}),zl("invalid",e);break;case"textarea":Ke(e,r),l=qe(e,r),zl("invalid",e)}for(a in sn(t,l),o=l)if(o.hasOwnProperty(a)){var i=o[a];"style"===a?un(e,i):"dangerouslySetInnerHTML"===a?null!=(i=i?i.__html:void 0)&&nn(e,i):"children"===a?"string"==typeof i?("textarea"!==t||""!==i)&&tn(e,i):"number"==typeof i&&tn(e,""+i):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(G.hasOwnProperty(a)?null!=i&&"onScroll"===a&&zl("scroll",e):null!=i&&se(e,a,i,u))}switch(t){case"input":De(e),Be(e,r,!1);break;case"textarea":De(e),Xe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Oe(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?Qe(e,!!r.multiple,a,!1):null!=r.defaultValue&&Qe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof l.onClick&&(e.onclick=Bl)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}null!==n.ref&&(n.flags|=512,n.flags|=2097152)}return Fi(n),null;case 6:if(e&&null!=n.stateNode)xi(e,n,e.memoizedProps,r);else{if("string"!=typeof r&&null===n.stateNode)throw Error(Y(166));if(t=Uu(Iu.current),Uu(Fu.current),nu(n)){if(r=n.stateNode,t=n.memoizedProps,r[ta]=n,(a=r.nodeValue!==t)&&null!==(e=Qa))switch(e.tag){case 3:$l(r.nodeValue,t,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&$l(r.nodeValue,t,!!(1&e.mode))}a&&(n.flags|=4)}else(r=(9===t.nodeType?t:t.ownerDocument).createTextNode(r))[ta]=n,n.stateNode=r}return Fi(n),null;case 13:if(ha(Bu),r=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(Ka&&null!==qa&&1&n.mode&&!(128&n.flags))tu(),ru(),n.flags|=98560,a=!1;else if(a=nu(n),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(Y(318));if(!(a=null!==(a=n.memoizedState)?a.dehydrated:null))throw Error(Y(317));a[ta]=n}else ru(),!(128&n.flags)&&(n.memoizedState=null),n.flags|=4;Fi(n),a=!1}else null!==Ya&&(Ys(Ya),Ya=null),a=!0;if(!a)return 65536&n.flags?n:null}return 128&n.flags?(n.lanes=t,n):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(n.child.flags|=8192,1&n.mode&&(null===e||1&Bu.current?0===xs&&(xs=3):lc())),null!==n.updateQueue&&(n.flags|=4),Fi(n),null);case 4:return Vu(),wi(e,n),null===e&&Ml(n.stateNode.containerInfo),Fi(n),null;case 10:return vu(n.type._context),Fi(n),null;case 19:if(ha(Bu),null===(a=n.memoizedState))return Fi(n),null;if(r=!!(128&n.flags),null===(u=a.rendering))if(r)Oi(a,!1);else{if(0!==xs||null!==e&&128&e.flags)for(e=n.child;null!==e;){if(null!==(u=Hu(e))){for(n.flags|=128,Oi(a,!1),null!==(r=u.updateQueue)&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;null!==t;)e=r,(a=t).flags&=14680066,null===(u=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=u.childLanes,a.lanes=u.lanes,a.child=u.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=u.memoizedProps,a.memoizedState=u.memoizedState,a.updateQueue=u.updateQueue,a.type=u.type,e=u.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return ga(Bu,1&Bu.current|2),n.child}e=e.sibling}null!==a.tail&&$n()>Ls&&(n.flags|=128,r=!0,Oi(a,!1),n.lanes=4194304)}else{if(!r)if(null!==(e=Hu(u))){if(n.flags|=128,r=!0,null!==(t=e.updateQueue)&&(n.updateQueue=t,n.flags|=4),Oi(a,!0),null===a.tail&&"hidden"===a.tailMode&&!u.alternate&&!Ka)return Fi(n),null}else 2*$n()-a.renderingStartTime>Ls&&1073741824!==t&&(n.flags|=128,r=!0,Oi(a,!1),n.lanes=4194304);a.isBackwards?(u.sibling=n.child,n.child=u):(null!==(t=a.last)?t.sibling=u:n.child=u,a.last=u)}return null!==a.tail?(n=a.tail,a.rendering=n,a.tail=n.sibling,a.renderingStartTime=$n(),n.sibling=null,t=Bu.current,ga(Bu,r?1&t|2:1&t),n):(Fi(n),null);case 22:case 23:return ec(),r=null!==n.memoizedState,null!==e&&null!==e.memoizedState!==r&&(n.flags|=8192),r&&1&n.mode?!!(1073741824&ws)&&(Fi(n),6&n.subtreeFlags&&(n.flags|=8192)):Fi(n),null;case 24:case 25:return null}throw Error(Y(156,n.tag))}function Ii(e,n){switch(Wa(n),n.tag){case 1:return Sa(n.type)&&xa(),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return Vu(),ha(ba),ha(ya),Qu(),65536&(e=n.flags)&&!(128&e)?(n.flags=-65537&e|128,n):null;case 5:return $u(n),null;case 13:if(ha(Bu),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(Y(340));ru()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return ha(Bu),null;case 4:return Vu(),null;case 10:return vu(n.type._context),null;case 22:case 23:return ec(),null;default:return null}}ki=function(e,n){for(var t=n.child;null!==t;){if(5===t.tag||6===t.tag)e.appendChild(t.stateNode);else if(4!==t.tag&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}},wi=function(){},Si=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,Uu(Fu.current);var a,u=null;switch(t){case"input":l=je(e,l),r=je(e,r),u=[];break;case"select":l=Pe({},l,{value:void 0}),r=Pe({},r,{value:void 0}),u=[];break;case"textarea":l=qe(e,l),r=qe(e,r),u=[];break;default:"function"!=typeof l.onClick&&"function"==typeof r.onClick&&(e.onclick=Bl)}for(s in sn(t,r),t=null,l)if(!r.hasOwnProperty(s)&&l.hasOwnProperty(s)&&null!=l[s])if("style"===s){var o=l[s];for(a in o)o.hasOwnProperty(a)&&(t||(t={}),t[a]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(G.hasOwnProperty(s)?u||(u=[]):(u=u||[]).push(s,null));for(s in r){var i=r[s];if(o=null!=l?l[s]:void 0,r.hasOwnProperty(s)&&i!==o&&(null!=i||null!=o))if("style"===s)if(o){for(a in o)!o.hasOwnProperty(a)||i&&i.hasOwnProperty(a)||(t||(t={}),t[a]="");for(a in i)i.hasOwnProperty(a)&&o[a]!==i[a]&&(t||(t={}),t[a]=i[a])}else t||(u||(u=[]),u.push(s,t)),t=i;else"dangerouslySetInnerHTML"===s?(i=i?i.__html:void 0,o=o?o.__html:void 0,null!=i&&o!==i&&(u=u||[]).push(s,i)):"children"===s?"string"!=typeof i&&"number"!=typeof i||(u=u||[]).push(s,""+i):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(G.hasOwnProperty(s)?(null!=i&&"onScroll"===s&&zl("scroll",e),u||o===i||(u=[])):(u=u||[]).push(s,i))}t&&(u=u||[]).push("style",t);var s=u;(n.updateQueue=s)&&(n.flags|=4)}},xi=function(e,n,t,r){t!==r&&(n.flags|=4)};var Ui=!1,ji=!1,Vi="function"==typeof WeakSet?WeakSet:Set,Ai=null;function $i(e,n){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(r){pc(e,n,r)}else t.current=null}function Bi(e,n,t){try{t()}catch(r){pc(e,n,r)}}var Hi=!1;function Wi(e,n,t){var r=n.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var l=r=r.next;do{if((l.tag&e)===e){var a=l.destroy;l.destroy=void 0,void 0!==a&&Bi(n,t,a)}l=l.next}while(l!==r)}}function Qi(e,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function qi(e){var n=e.ref;if(null!==n){var t=e.stateNode;e.tag,e=t,"function"==typeof n?n(e):n.current=e}}function Ki(e){var n=e.alternate;null!==n&&(e.alternate=null,Ki(n)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(n=e.stateNode)&&(delete n[ta],delete n[ra],delete n[aa],delete n[ua],delete n[oa])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Yi(e){return 5===e.tag||3===e.tag||4===e.tag}function Xi(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Yi(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Gi(e,n,t){var r=e.tag;if(5===r||6===r)e=e.stateNode,n?8===t.nodeType?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(8===t.nodeType?(n=t.parentNode).insertBefore(e,t):(n=t).appendChild(e),null!=(t=t._reactRootContainer)||null!==n.onclick||(n.onclick=Bl));else if(4!==r&&null!==(e=e.child))for(Gi(e,n,t),e=e.sibling;null!==e;)Gi(e,n,t),e=e.sibling}function Zi(e,n,t){var r=e.tag;if(5===r||6===r)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Zi(e,n,t),e=e.sibling;null!==e;)Zi(e,n,t),e=e.sibling}var Ji=null,es=!1;function ns(e,n,t){for(t=t.child;null!==t;)ts(e,n,t),t=t.sibling}function ts(e,n,t){if(Xn&&"function"==typeof Xn.onCommitFiberUnmount)try{Xn.onCommitFiberUnmount(Yn,t)}catch(o){}switch(t.tag){case 5:ji||$i(t,n);case 6:var r=Ji,l=es;Ji=null,ns(e,n,t),es=l,null!==(Ji=r)&&(es?(e=Ji,t=t.stateNode,8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)):Ji.removeChild(t.stateNode));break;case 18:null!==Ji&&(es?(e=Ji,t=t.stateNode,8===e.nodeType?Zl(e.parentNode,t):1===e.nodeType&&Zl(e,t),Rt(e)):Zl(Ji,t.stateNode));break;case 4:r=Ji,l=es,Ji=t.stateNode.containerInfo,es=!0,ns(e,n,t),Ji=r,es=l;break;case 0:case 11:case 14:case 15:if(!ji&&(null!==(r=t.updateQueue)&&null!==(r=r.lastEffect))){l=r=r.next;do{var a=l,u=a.destroy;a=a.tag,void 0!==u&&(2&a||4&a)&&Bi(t,n,u),l=l.next}while(l!==r)}ns(e,n,t);break;case 1:if(!ji&&($i(t,n),"function"==typeof(r=t.stateNode).componentWillUnmount))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(o){pc(t,n,o)}ns(e,n,t);break;case 21:ns(e,n,t);break;case 22:1&t.mode?(ji=(r=ji)||null!==t.memoizedState,ns(e,n,t),ji=r):ns(e,n,t);break;default:ns(e,n,t)}}function rs(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new Vi),n.forEach((function(n){var r=vc.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))}))}}function ls(e,n){var t=n.deletions;if(null!==t)for(var r=0;r<t.length;r++){var l=t[r];try{var a=e,u=n,o=u;e:for(;null!==o;){switch(o.tag){case 5:Ji=o.stateNode,es=!1;break e;case 3:case 4:Ji=o.stateNode.containerInfo,es=!0;break e}o=o.return}if(null===Ji)throw Error(Y(160));ts(a,u,l),Ji=null,es=!1;var i=l.alternate;null!==i&&(i.return=null),l.return=null}catch(s){pc(l,n,s)}}if(12854&n.subtreeFlags)for(n=n.child;null!==n;)as(n,e),n=n.sibling}function as(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ls(n,e),us(e),4&r){try{Wi(3,e,e.return),Qi(3,e)}catch(h){pc(e,e.return,h)}try{Wi(5,e,e.return)}catch(h){pc(e,e.return,h)}}break;case 1:ls(n,e),us(e),512&r&&null!==t&&$i(t,t.return);break;case 5:if(ls(n,e),us(e),512&r&&null!==t&&$i(t,t.return),32&e.flags){var l=e.stateNode;try{tn(l,"")}catch(h){pc(e,e.return,h)}}if(4&r&&null!=(l=e.stateNode)){var a=e.memoizedProps,u=null!==t?t.memoizedProps:a,o=e.type,i=e.updateQueue;if(e.updateQueue=null,null!==i)try{"input"===o&&"radio"===a.type&&null!=a.name&&Ae(l,a),cn(o,u);var s=cn(o,a);for(u=0;u<i.length;u+=2){var c=i[u],f=i[u+1];"style"===c?un(l,f):"dangerouslySetInnerHTML"===c?nn(l,f):"children"===c?tn(l,f):se(l,c,f,s)}switch(o){case"input":$e(l,a);break;case"textarea":Ye(l,a);break;case"select":var d=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?Qe(l,!!a.multiple,p,!1):d!==!!a.multiple&&(null!=a.defaultValue?Qe(l,!!a.multiple,a.defaultValue,!0):Qe(l,!!a.multiple,a.multiple?[]:"",!1))}l[ra]=a}catch(h){pc(e,e.return,h)}}break;case 6:if(ls(n,e),us(e),4&r){if(null===e.stateNode)throw Error(Y(162));l=e.stateNode,a=e.memoizedProps;try{l.nodeValue=a}catch(h){pc(e,e.return,h)}}break;case 3:if(ls(n,e),us(e),4&r&&null!==t&&t.memoizedState.isDehydrated)try{Rt(n.containerInfo)}catch(h){pc(e,e.return,h)}break;case 4:default:ls(n,e),us(e);break;case 13:ls(n,e),us(e),8192&(l=e.child).flags&&(a=null!==l.memoizedState,l.stateNode.isHidden=a,!a||null!==l.alternate&&null!==l.alternate.memoizedState||(Ts=$n())),4&r&&rs(e);break;case 22:if(c=null!==t&&null!==t.memoizedState,1&e.mode?(ji=(s=ji)||c,ls(n,e),ji=s):ls(n,e),us(e),8192&r){if(s=null!==e.memoizedState,(e.stateNode.isHidden=s)&&!c&&1&e.mode)for(Ai=e,c=e.child;null!==c;){for(f=Ai=c;null!==Ai;){switch(p=(d=Ai).child,d.tag){case 0:case 11:case 14:case 15:Wi(4,d,d.return);break;case 1:$i(d,d.return);var m=d.stateNode;if("function"==typeof m.componentWillUnmount){r=d,t=d.return;try{n=r,m.props=n.memoizedProps,m.state=n.memoizedState,m.componentWillUnmount()}catch(h){pc(r,t,h)}}break;case 5:$i(d,d.return);break;case 22:if(null!==d.memoizedState){cs(f);continue}}null!==p?(p.return=d,Ai=p):cs(f)}c=c.sibling}e:for(c=null,f=e;;){if(5===f.tag){if(null===c){c=f;try{l=f.stateNode,s?"function"==typeof(a=l.style).setProperty?a.setProperty("display","none","important"):a.display="none":(o=f.stateNode,u=null!=(i=f.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,o.style.display=an("display",u))}catch(h){pc(e,e.return,h)}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=s?"":f.memoizedProps}catch(h){pc(e,e.return,h)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ls(n,e),us(e),4&r&&rs(e);case 21:}}function us(e){var n=e.flags;if(2&n){try{e:{for(var t=e.return;null!==t;){if(Yi(t)){var r=t;break e}t=t.return}throw Error(Y(160))}switch(r.tag){case 5:var l=r.stateNode;32&r.flags&&(tn(l,""),r.flags&=-33),Zi(e,Xi(e),l);break;case 3:case 4:var a=r.stateNode.containerInfo;Gi(e,Xi(e),a);break;default:throw Error(Y(161))}}catch(u){pc(e,e.return,u)}e.flags&=-3}4096&n&&(e.flags&=-4097)}function os(e,n,t){Ai=e,is(e)}function is(e,n,t){for(var r=!!(1&e.mode);null!==Ai;){var l=Ai,a=l.child;if(22===l.tag&&r){var u=null!==l.memoizedState||Ui;if(!u){var o=l.alternate,i=null!==o&&null!==o.memoizedState||ji;o=Ui;var s=ji;if(Ui=u,(ji=i)&&!s)for(Ai=l;null!==Ai;)i=(u=Ai).child,22===u.tag&&null!==u.memoizedState?fs(l):null!==i?(i.return=u,Ai=i):fs(l);for(;null!==a;)Ai=a,is(a),a=a.sibling;Ai=l,Ui=o,ji=s}ss(e)}else 8772&l.subtreeFlags&&null!==a?(a.return=l,Ai=a):ss(e)}}function ss(e){for(;null!==Ai;){var n=Ai;if(8772&n.flags){var t=n.alternate;try{if(8772&n.flags)switch(n.tag){case 0:case 11:case 15:ji||Qi(5,n);break;case 1:var r=n.stateNode;if(4&n.flags&&!ji)if(null===t)r.componentDidMount();else{var l=n.elementType===n.type?t.memoizedProps:Qo(n.type,t.memoizedProps);r.componentDidUpdate(l,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=n.updateQueue;null!==a&&Ru(n,a,r);break;case 3:var u=n.updateQueue;if(null!==u){if(t=null,null!==n.child)switch(n.child.tag){case 5:case 1:t=n.child.stateNode}Ru(n,u,t)}break;case 5:var o=n.stateNode;if(null===t&&4&n.flags){t=o;var i=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":i.autoFocus&&t.focus();break;case"img":i.src&&(t.src=i.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===n.memoizedState){var s=n.alternate;if(null!==s){var c=s.memoizedState;if(null!==c){var f=c.dehydrated;null!==f&&Rt(f)}}}break;default:throw Error(Y(163))}ji||512&n.flags&&qi(n)}catch(d){pc(n,n.return,d)}}if(n===e){Ai=null;break}if(null!==(t=n.sibling)){t.return=n.return,Ai=t;break}Ai=n.return}}function cs(e){for(;null!==Ai;){var n=Ai;if(n===e){Ai=null;break}var t=n.sibling;if(null!==t){t.return=n.return,Ai=t;break}Ai=n.return}}function fs(e){for(;null!==Ai;){var n=Ai;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{Qi(4,n)}catch(i){pc(n,t,i)}break;case 1:var r=n.stateNode;if("function"==typeof r.componentDidMount){var l=n.return;try{r.componentDidMount()}catch(i){pc(n,l,i)}}var a=n.return;try{qi(n)}catch(i){pc(n,a,i)}break;case 5:var u=n.return;try{qi(n)}catch(i){pc(n,u,i)}}}catch(i){pc(n,n.return,i)}if(n===e){Ai=null;break}var o=n.sibling;if(null!==o){o.return=n.return,Ai=o;break}Ai=n.return}}var ds,ps=Math.ceil,ms=ce.ReactCurrentDispatcher,hs=ce.ReactCurrentOwner,gs=ce.ReactCurrentBatchConfig,vs=0,ys=null,bs=null,ks=0,ws=0,Ss=ma(0),xs=0,Es=null,_s=0,Cs=0,Ps=0,Ns=null,zs=null,Ts=0,Ls=1/0,Ms=null,Rs=!1,Os=null,Fs=null,Ds=!1,Is=null,Us=0,js=0,Vs=null,As=-1,$s=0;function Bs(){return 6&vs?$n():-1!==As?As:As=$n()}function Hs(e){return 1&e.mode?2&vs&&0!==ks?ks&-ks:null!==au.transition?(0===$s&&($s=ut()),$s):0!==(e=ct)?e:e=void 0===(e=window.event)?16:At(e.type):1}function Ws(e,n,t,r){if(50<js)throw js=0,Vs=null,Error(Y(185));it(e,t,r),2&vs&&e===ys||(e===ys&&(!(2&vs)&&(Cs|=t),4===xs&&Xs(e,ks)),Qs(e,r),1===t&&0===vs&&!(1&n.mode)&&(Ls=$n()+500,za&&Ma()))}function Qs(e,n){var t=e.callbackNode;!function(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,a=e.pendingLanes;0<a;){var u=31-Gn(a),o=1<<u,i=l[u];-1===i?0!==(o&t)&&0===(o&r)||(l[u]=lt(o,n)):i<=n&&(e.expiredLanes|=o),a&=~o}}(e,n);var r=rt(e,e===ys?ks:0);if(0===r)null!==t&&jn(t),e.callbackNode=null,e.callbackPriority=0;else if(n=r&-r,e.callbackPriority!==n){if(null!=t&&jn(t),1===n)0===e.tag?function(e){za=!0,La(e)}(Gs.bind(null,e)):La(Gs.bind(null,e)),Xl((function(){!(6&vs)&&Ma()})),t=null;else{switch(ft(r)){case 1:t=Hn;break;case 4:t=Wn;break;case 16:default:t=Qn;break;case 536870912:t=Kn}t=yc(t,qs.bind(null,e))}e.callbackPriority=n,e.callbackNode=t}}function qs(e,n){if(As=-1,$s=0,6&vs)throw Error(Y(327));var t=e.callbackNode;if(fc()&&e.callbackNode!==t)return null;var r=rt(e,e===ys?ks:0);if(0===r)return null;if(30&r||0!==(r&e.expiredLanes)||n)n=ac(e,r);else{n=r;var l=vs;vs|=2;var a=rc();for(ys===e&&ks===n||(Ms=null,Ls=$n()+500,nc(e,n));;)try{oc();break}catch(o){tc(e,o)}gu(),ms.current=a,vs=l,null!==bs?n=0:(ys=null,ks=0,n=xs)}if(0!==n){if(2===n&&(0!==(l=at(e))&&(r=l,n=Ks(e,l))),1===n)throw t=Es,nc(e,0),Xs(e,r),Qs(e,$n()),t;if(6===n)Xs(e,r);else{if(l=e.current.alternate,!(30&r||function(e){for(var n=e;;){if(16384&n.flags){var t=n.updateQueue;if(null!==t&&null!==(t=t.stores))for(var r=0;r<t.length;r++){var l=t[r],a=l.getSnapshot;l=l.value;try{if(!Gr(a(),l))return!1}catch(u){return!1}}}if(t=n.child,16384&n.subtreeFlags&&null!==t)t.return=n,n=t;else{if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}(l)||(n=ac(e,r),2===n&&(a=at(e),0!==a&&(r=a,n=Ks(e,a))),1!==n)))throw t=Es,nc(e,0),Xs(e,r),Qs(e,$n()),t;switch(e.finishedWork=l,e.finishedLanes=r,n){case 0:case 1:throw Error(Y(345));case 2:case 5:cc(e,zs,Ms);break;case 3:if(Xs(e,r),(130023424&r)===r&&10<(n=Ts+500-$n())){if(0!==rt(e,0))break;if(((l=e.suspendedLanes)&r)!==r){Bs(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=ql(cc.bind(null,e,zs,Ms),n);break}cc(e,zs,Ms);break;case 4:if(Xs(e,r),(4194240&r)===r)break;for(n=e.eventTimes,l=-1;0<r;){var u=31-Gn(r);a=1<<u,(u=n[u])>l&&(l=u),r&=~a}if(r=l,10<(r=(120>(r=$n()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ps(r/1960))-r)){e.timeoutHandle=ql(cc.bind(null,e,zs,Ms),r);break}cc(e,zs,Ms);break;default:throw Error(Y(329))}}}return Qs(e,$n()),e.callbackNode===t?qs.bind(null,e):null}function Ks(e,n){var t=Ns;return e.current.memoizedState.isDehydrated&&(nc(e,n).flags|=256),2!==(e=ac(e,n))&&(n=zs,zs=t,null!==n&&Ys(n)),e}function Ys(e){null===zs?zs=e:zs.push.apply(zs,e)}function Xs(e,n){for(n&=~Ps,n&=~Cs,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-Gn(n),r=1<<t;e[t]=-1,n&=~r}}function Gs(e){if(6&vs)throw Error(Y(327));fc();var n=rt(e,0);if(!(1&n))return Qs(e,$n()),null;var t=ac(e,n);if(0!==e.tag&&2===t){var r=at(e);0!==r&&(n=r,t=Ks(e,r))}if(1===t)throw t=Es,nc(e,0),Xs(e,n),Qs(e,$n()),t;if(6===t)throw Error(Y(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,cc(e,zs,Ms),Qs(e,$n()),null}function Zs(e,n){var t=vs;vs|=1;try{return e(n)}finally{0===(vs=t)&&(Ls=$n()+500,za&&Ma())}}function Js(e){null!==Is&&0===Is.tag&&!(6&vs)&&fc();var n=vs;vs|=1;var t=gs.transition,r=ct;try{if(gs.transition=null,ct=1,e)return e()}finally{ct=r,gs.transition=t,!(6&(vs=n))&&Ma()}}function ec(){ws=Ss.current,ha(Ss)}function nc(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(-1!==t&&(e.timeoutHandle=-1,Kl(t)),null!==bs)for(t=bs.return;null!==t;){var r=t;switch(Wa(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&xa();break;case 3:Vu(),ha(ba),ha(ya),Qu();break;case 5:$u(r);break;case 4:Vu();break;case 13:case 19:ha(Bu);break;case 10:vu(r.type._context);break;case 22:case 23:ec()}t=t.return}if(ys=e,bs=e=Sc(e.current,null),ks=ws=n,xs=0,Es=null,Ps=Cs=_s=0,zs=Ns=null,null!==wu){for(n=0;n<wu.length;n++)if(null!==(r=(t=wu[n]).interleaved)){t.interleaved=null;var l=r.next,a=t.pending;if(null!==a){var u=a.next;a.next=l,r.next=u}t.pending=r}wu=null}return e}function tc(e,n){for(;;){var t=bs;try{if(gu(),qu.current=$o,Ju){for(var r=Xu.memoizedState;null!==r;){var l=r.queue;null!==l&&(l.pending=null),r=r.next}Ju=!1}if(Yu=0,Zu=Gu=Xu=null,eo=!1,no=0,hs.current=null,null===t||null===t.return){xs=1,Es=n,bs=null;break}e:{var a=e,u=t.return,o=t,i=n;if(n=ks,o.flags|=32768,null!==i&&"object"==typeof i&&"function"==typeof i.then){var s=i,c=o,f=c.tag;if(!(1&c.mode||0!==f&&11!==f&&15!==f)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=ai(u);if(null!==p){p.flags&=-257,ui(p,u,o,0,n),1&p.mode&&li(a,s,n),i=s;var m=(n=p).updateQueue;if(null===m){var h=new Set;h.add(i),n.updateQueue=h}else m.add(i);break e}if(!(1&n)){li(a,s,n),lc();break e}i=Error(Y(426))}else if(Ka&&1&o.mode){var g=ai(u);if(null!==g){!(65536&g.flags)&&(g.flags|=256),ui(g,u,o,0,n),lu(Jo(i,o));break e}}a=i=Jo(i,o),4!==xs&&(xs=2),null===Ns?Ns=[a]:Ns.push(a),a=u;do{switch(a.tag){case 3:a.flags|=65536,n&=-n,a.lanes|=n,Lu(a,ti(0,i,n));break e;case 1:o=i;var v=a.type,y=a.stateNode;if(!(128&a.flags||"function"!=typeof v.getDerivedStateFromError&&(null===y||"function"!=typeof y.componentDidCatch||null!==Fs&&Fs.has(y)))){a.flags|=65536,n&=-n,a.lanes|=n,Lu(a,ri(a,o,n));break e}}a=a.return}while(null!==a)}sc(t)}catch(b){n=b,bs===t&&null!==t&&(bs=t=t.return);continue}break}}function rc(){var e=ms.current;return ms.current=$o,null===e?$o:e}function lc(){0!==xs&&3!==xs&&2!==xs||(xs=4),null===ys||!(268435455&_s)&&!(268435455&Cs)||Xs(ys,ks)}function ac(e,n){var t=vs;vs|=2;var r=rc();for(ys===e&&ks===n||(Ms=null,nc(e,n));;)try{uc();break}catch(l){tc(e,l)}if(gu(),vs=t,ms.current=r,null!==bs)throw Error(Y(261));return ys=null,ks=0,xs}function uc(){for(;null!==bs;)ic(bs)}function oc(){for(;null!==bs&&!Vn();)ic(bs)}function ic(e){var n=ds(e.alternate,e,ws);e.memoizedProps=e.pendingProps,null===n?sc(e):bs=n,hs.current=null}function sc(e){var n=e;do{var t=n.alternate;if(e=n.return,32768&n.flags){if(null!==(t=Ii(t,n)))return t.flags&=32767,void(bs=t);if(null===e)return xs=6,void(bs=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(t=Di(t,n,ws)))return void(bs=t);if(null!==(n=n.sibling))return void(bs=n);bs=n=e}while(null!==n);0===xs&&(xs=5)}function cc(e,n,t){var r=ct,l=gs.transition;try{gs.transition=null,ct=1,function(e,n,t,r){do{fc()}while(null!==Is);if(6&vs)throw Error(Y(327));t=e.finishedWork;var l=e.finishedLanes;if(null===t)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(Y(177));e.callbackNode=null,e.callbackPriority=0;var a=t.lanes|t.childLanes;if(function(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<t;){var l=31-Gn(t),a=1<<l;n[l]=0,r[l]=-1,e[l]=-1,t&=~a}}(e,a),e===ys&&(bs=ys=null,ks=0),!(2064&t.subtreeFlags)&&!(2064&t.flags)||Ds||(Ds=!0,yc(Qn,(function(){return fc(),null}))),a=!!(15990&t.flags),!!(15990&t.subtreeFlags)||a){a=gs.transition,gs.transition=null;var u=ct;ct=1;var o=vs;vs|=4,hs.current=null,function(e,n){if(Hl=Ft,rl(e=tl())){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(r&&0!==r.rangeCount){t=r.anchorNode;var l=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{t.nodeType,a.nodeType}catch(k){t=null;break e}var u=0,o=-1,i=-1,s=0,c=0,f=e,d=null;n:for(;;){for(var p;f!==t||0!==l&&3!==f.nodeType||(o=u+l),f!==a||0!==r&&3!==f.nodeType||(i=u+r),3===f.nodeType&&(u+=f.nodeValue.length),null!==(p=f.firstChild);)d=f,f=p;for(;;){if(f===e)break n;if(d===t&&++s===l&&(o=u),d===a&&++c===r&&(i=u),null!==(p=f.nextSibling))break;d=(f=d).parentNode}f=p}t=-1===o||-1===i?null:{start:o,end:i}}else t=null}t=t||{start:0,end:0}}else t=null;for(Wl={focusedElem:e,selectionRange:t},Ft=!1,Ai=n;null!==Ai;)if(e=(n=Ai).child,1028&n.subtreeFlags&&null!==e)e.return=n,Ai=e;else for(;null!==Ai;){n=Ai;try{var m=n.alternate;if(1024&n.flags)switch(n.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var h=m.memoizedProps,g=m.memoizedState,v=n.stateNode,y=v.getSnapshotBeforeUpdate(n.elementType===n.type?h:Qo(n.type,h),g);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=n.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(Y(163))}}catch(k){pc(n,n.return,k)}if(null!==(e=n.sibling)){e.return=n.return,Ai=e;break}Ai=n.return}m=Hi,Hi=!1}(e,t),as(t,e),ll(Wl),Ft=!!Hl,Wl=Hl=null,e.current=t,os(t),An(),vs=o,ct=u,gs.transition=a}else e.current=t;if(Ds&&(Ds=!1,Is=e,Us=l),a=e.pendingLanes,0===a&&(Fs=null),function(e){if(Xn&&"function"==typeof Xn.onCommitFiberRoot)try{Xn.onCommitFiberRoot(Yn,e,void 0,!(128&~e.current.flags))}catch(n){}}(t.stateNode),Qs(e,$n()),null!==n)for(r=e.onRecoverableError,t=0;t<n.length;t++)l=n[t],r(l.value,{componentStack:l.stack,digest:l.digest});if(Rs)throw Rs=!1,e=Os,Os=null,e;!!(1&Us)&&0!==e.tag&&fc(),a=e.pendingLanes,1&a?e===Vs?js++:(js=0,Vs=e):js=0,Ma()}(e,n,t,r)}finally{gs.transition=l,ct=r}return null}function fc(){if(null!==Is){var e=ft(Us),n=gs.transition,t=ct;try{if(gs.transition=null,ct=16>e?16:e,null===Is)var r=!1;else{if(e=Is,Is=null,Us=0,6&vs)throw Error(Y(331));var l=vs;for(vs|=4,Ai=e.current;null!==Ai;){var a=Ai,u=a.child;if(16&Ai.flags){var o=a.deletions;if(null!==o){for(var i=0;i<o.length;i++){var s=o[i];for(Ai=s;null!==Ai;){var c=Ai;switch(c.tag){case 0:case 11:case 15:Wi(8,c,a)}var f=c.child;if(null!==f)f.return=c,Ai=f;else for(;null!==Ai;){var d=(c=Ai).sibling,p=c.return;if(Ki(c),c===s){Ai=null;break}if(null!==d){d.return=p,Ai=d;break}Ai=p}}}var m=a.alternate;if(null!==m){var h=m.child;if(null!==h){m.child=null;do{var g=h.sibling;h.sibling=null,h=g}while(null!==h)}}Ai=a}}if(2064&a.subtreeFlags&&null!==u)u.return=a,Ai=u;else e:for(;null!==Ai;){if(2048&(a=Ai).flags)switch(a.tag){case 0:case 11:case 15:Wi(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Ai=v;break e}Ai=a.return}}var y=e.current;for(Ai=y;null!==Ai;){var b=(u=Ai).child;if(2064&u.subtreeFlags&&null!==b)b.return=u,Ai=b;else e:for(u=y;null!==Ai;){if(2048&(o=Ai).flags)try{switch(o.tag){case 0:case 11:case 15:Qi(9,o)}}catch(w){pc(o,o.return,w)}if(o===u){Ai=null;break e}var k=o.sibling;if(null!==k){k.return=o.return,Ai=k;break e}Ai=o.return}}if(vs=l,Ma(),Xn&&"function"==typeof Xn.onPostCommitFiberRoot)try{Xn.onPostCommitFiberRoot(Yn,e)}catch(w){}r=!0}return r}finally{ct=t,gs.transition=n}}return!1}function dc(e,n,t){e=zu(e,n=ti(0,n=Jo(t,n),1),1),n=Bs(),null!==e&&(it(e,1,n),Qs(e,n))}function pc(e,n,t){if(3===e.tag)dc(e,e,t);else for(;null!==n;){if(3===n.tag){dc(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Fs||!Fs.has(r))){n=zu(n,e=ri(n,e=Jo(t,e),1),1),e=Bs(),null!==n&&(it(n,1,e),Qs(n,e));break}}n=n.return}}function mc(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),n=Bs(),e.pingedLanes|=e.suspendedLanes&t,ys===e&&(ks&t)===t&&(4===xs||3===xs&&(130023424&ks)===ks&&500>$n()-Ts?nc(e,0):Ps|=t),Qs(e,n)}function hc(e,n){0===n&&(1&e.mode?(n=nt,!(130023424&(nt<<=1))&&(nt=4194304)):n=1);var t=Bs();null!==(e=Eu(e,n))&&(it(e,n,t),Qs(e,t))}function gc(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),hc(e,t)}function vc(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;null!==l&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Y(314))}null!==r&&r.delete(n),hc(e,t)}function yc(e,n){return Un(e,n)}function bc(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kc(e,n,t,r){return new bc(e,n,t,r)}function wc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Sc(e,n){var t=e.alternate;return null===t?((t=kc(e.tag,n,e.key,e.mode)).elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=14680064&e.flags,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function xc(e,n,t,r,l,a){var u=2;if(r=e,"function"==typeof e)wc(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case pe:return Ec(t.children,l,a,n);case me:u=8,l|=8;break;case he:return(e=kc(12,t,n,2|l)).elementType=he,e.lanes=a,e;case be:return(e=kc(13,t,n,l)).elementType=be,e.lanes=a,e;case ke:return(e=kc(19,t,n,l)).elementType=ke,e.lanes=a,e;case xe:return _c(t,l,a,n);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ge:u=10;break e;case ve:u=9;break e;case ye:u=11;break e;case we:u=14;break e;case Se:u=16,r=null;break e}throw Error(Y(130,null==e?e:typeof e,""))}return(n=kc(u,t,n,l)).elementType=e,n.type=r,n.lanes=a,n}function Ec(e,n,t,r){return(e=kc(7,e,r,n)).lanes=t,e}function _c(e,n,t,r){return(e=kc(22,e,r,n)).elementType=xe,e.lanes=t,e.stateNode={isHidden:!1},e}function Cc(e,n,t){return(e=kc(6,e,null,n)).lanes=t,e}function Pc(e,n,t){return(n=kc(4,null!==e.children?e.children:[],e.key,n)).lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Nc(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ot(0),this.expirationTimes=ot(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ot(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function zc(e,n,t,r,l,a,u,o,i){return e=new Nc(e,n,t,o,i),1===n?(n=1,!0===a&&(n|=8)):n=0,a=kc(3,null,null,n),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Cu(a),e}function Tc(e){if(!e)return va;e:{if(Rn(e=e._reactInternals)!==e||1!==e.tag)throw Error(Y(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(Sa(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(null!==n);throw Error(Y(171))}if(1===e.tag){var t=e.type;if(Sa(t))return _a(e,t,n)}return n}function Lc(e,n,t,r,l,a,u,o,i){return(e=zc(t,r,!0,e,0,a,0,o,i)).context=Tc(null),t=e.current,(a=Nu(r=Bs(),l=Hs(t))).callback=null!=n?n:null,zu(t,a,l),e.current.lanes=l,it(e,l,r),Qs(e,r),e}function Mc(e,n,t,r){var l=n.current,a=Bs(),u=Hs(l);return t=Tc(t),null===n.context?n.context=t:n.pendingContext=t,(n=Nu(a,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(n.callback=r),null!==(e=zu(l,n,u))&&(Ws(e,l,u,a),Tu(e,l,u)),u}function Rc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Oc(e,n){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t<n?t:n}}function Fc(e,n){Oc(e,n),(e=e.alternate)&&Oc(e,n)}ds=function(e,n,t){if(null!==e)if(e.memoizedProps!==n.pendingProps||ba.current)ii=!0;else{if(0===(e.lanes&t)&&!(128&n.flags))return ii=!1,function(e,n,t){switch(n.tag){case 3:yi(n),ru();break;case 5:Au(n);break;case 1:Sa(n.type)&&Ca(n);break;case 4:ju(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;ga(du,r._currentValue),r._currentValue=l;break;case 13:if(null!==(r=n.memoizedState))return null!==r.dehydrated?(ga(Bu,1&Bu.current),n.flags|=128,null):0!==(t&n.child.childLanes)?Ci(e,n,t):(ga(Bu,1&Bu.current),null!==(e=Ri(e,n,t))?e.sibling:null);ga(Bu,1&Bu.current);break;case 19:if(r=0!==(t&n.childLanes),128&e.flags){if(r)return Li(e,n,t);n.flags|=128}if(null!==(l=n.memoizedState)&&(l.rendering=null,l.tail=null,l.lastEffect=null),ga(Bu,Bu.current),r)break;return null;case 22:case 23:return n.lanes=0,pi(e,n,t)}return Ri(e,n,t)}(e,n,t);ii=!!(131072&e.flags)}else ii=!1,Ka&&1048576&n.flags&&Ba(n,Da,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Mi(e,n),e=n.pendingProps;var l=wa(n,ya.current);bu(n,t),l=ao(null,n,r,e,l,t);var a=uo();return n.flags|=1,"object"==typeof l&&null!==l&&"function"==typeof l.render&&void 0===l.$$typeof?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Sa(r)?(a=!0,Ca(n)):a=!1,n.memoizedState=null!==l.state&&void 0!==l.state?l.state:null,Cu(n),l.updater=Ko,n.stateNode=l,l._reactInternals=n,Zo(n,r,e,t),n=vi(null,n,r,!0,a,t)):(n.tag=0,Ka&&a&&Ha(n),si(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Mi(e,n),e=n.pendingProps,r=(l=r._init)(r._payload),n.type=r,l=n.tag=function(e){if("function"==typeof e)return wc(e)?1:0;if(null!=e){if((e=e.$$typeof)===ye)return 11;if(e===we)return 14}return 2}(r),e=Qo(r,e),l){case 0:n=hi(null,n,r,e,t);break e;case 1:n=gi(null,n,r,e,t);break e;case 11:n=ci(null,n,r,e,t);break e;case 14:n=fi(null,n,r,Qo(r.type,e),t);break e}throw Error(Y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,hi(e,n,r,l=n.elementType===r?l:Qo(r,l),t);case 1:return r=n.type,l=n.pendingProps,gi(e,n,r,l=n.elementType===r?l:Qo(r,l),t);case 3:e:{if(yi(n),null===e)throw Error(Y(387));r=n.pendingProps,l=(a=n.memoizedState).element,Pu(e,n),Mu(n,r,null,t);var u=n.memoizedState;if(r=u.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=a,n.memoizedState=a,256&n.flags){n=bi(e,n,r,t,l=Jo(Error(Y(423)),n));break e}if(r!==l){n=bi(e,n,r,t,l=Jo(Error(Y(424)),n));break e}for(qa=Jl(n.stateNode.containerInfo.firstChild),Qa=n,Ka=!0,Ya=null,t=fu(n,null,r,t),n.child=t;t;)t.flags=-3&t.flags|4096,t=t.sibling}else{if(ru(),r===l){n=Ri(e,n,t);break e}si(e,n,r,t)}n=n.child}return n;case 5:return Au(n),null===e&&Ja(n),r=n.type,l=n.pendingProps,a=null!==e?e.memoizedProps:null,u=l.children,Ql(r,l)?u=null:null!==a&&Ql(r,a)&&(n.flags|=32),mi(e,n),si(e,n,u,t),n.child;case 6:return null===e&&Ja(n),null;case 13:return Ci(e,n,t);case 4:return ju(n,n.stateNode.containerInfo),r=n.pendingProps,null===e?n.child=cu(n,null,r,t):si(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,ci(e,n,r,l=n.elementType===r?l:Qo(r,l),t);case 7:return si(e,n,n.pendingProps,t),n.child;case 8:case 12:return si(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,a=n.memoizedProps,u=l.value,ga(du,r._currentValue),r._currentValue=u,null!==a)if(Gr(a.value,u)){if(a.children===l.children&&!ba.current){n=Ri(e,n,t);break e}}else for(null!==(a=n.child)&&(a.return=n);null!==a;){var o=a.dependencies;if(null!==o){u=a.child;for(var i=o.firstContext;null!==i;){if(i.context===r){if(1===a.tag){(i=Nu(-1,t&-t)).tag=2;var s=a.updateQueue;if(null!==s){var c=(s=s.shared).pending;null===c?i.next=i:(i.next=c.next,c.next=i),s.pending=i}}a.lanes|=t,null!==(i=a.alternate)&&(i.lanes|=t),yu(a.return,t,n),o.lanes|=t;break}i=i.next}}else if(10===a.tag)u=a.type===n.type?null:a.child;else if(18===a.tag){if(null===(u=a.return))throw Error(Y(341));u.lanes|=t,null!==(o=u.alternate)&&(o.lanes|=t),yu(u,t,n),u=a.sibling}else u=a.child;if(null!==u)u.return=a;else for(u=a;null!==u;){if(u===n){u=null;break}if(null!==(a=u.sibling)){a.return=u.return,u=a;break}u=u.return}a=u}si(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,bu(n,t),r=r(l=ku(l)),n.flags|=1,si(e,n,r,t),n.child;case 14:return l=Qo(r=n.type,n.pendingProps),fi(e,n,r,l=Qo(r.type,l),t);case 15:return di(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Qo(r,l),Mi(e,n),n.tag=1,Sa(r)?(e=!0,Ca(n)):e=!1,bu(n,t),Xo(n,r,l),Zo(n,r,l,t),vi(null,n,r,!0,e,t);case 19:return Li(e,n,t);case 22:return pi(e,n,t)}throw Error(Y(156,n.tag))};var Dc="function"==typeof reportError?reportError:function(e){};function Ic(e){this._internalRoot=e}function Uc(e){this._internalRoot=e}function jc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Vc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ac(){}function $c(e,n,t,r,l){var a=t._reactRootContainer;if(a){var u=a;if("function"==typeof l){var o=l;l=function(){var e=Rc(u);o.call(e)}}Mc(n,u,e,l)}else u=function(e,n,t,r,l){if(l){if("function"==typeof r){var a=r;r=function(){var e=Rc(u);a.call(e)}}var u=Lc(n,r,e,0,null,!1,0,"",Ac);return e._reactRootContainer=u,e[la]=u.current,Ml(8===e.nodeType?e.parentNode:e),Js(),u}for(;l=e.lastChild;)e.removeChild(l);if("function"==typeof r){var o=r;r=function(){var e=Rc(i);o.call(e)}}var i=zc(e,0,!1,null,0,!1,0,"",Ac);return e._reactRootContainer=i,e[la]=i.current,Ml(8===e.nodeType?e.parentNode:e),Js((function(){Mc(n,i,t,r)})),i}(t,n,e,l,r);return Rc(u)}Uc.prototype.render=Ic.prototype.render=function(e){var n=this._internalRoot;if(null===n)throw Error(Y(409));Mc(e,n,null,null)},Uc.prototype.unmount=Ic.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var n=e.containerInfo;Js((function(){Mc(null,e,null,null)})),n[la]=null}},Uc.prototype.unstable_scheduleHydration=function(e){if(e){var n=ht();e={blockedOn:null,target:e,priority:n};for(var t=0;t<Et.length&&0!==n&&n<Et[t].priority;t++);Et.splice(t,0,e),0===t&&Nt(e)}},dt=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=tt(n.pendingLanes);0!==t&&(st(n,1|t),Qs(n,$n()),!(6&vs)&&(Ls=$n()+500,Ma()))}break;case 13:Js((function(){var n=Eu(e,1);if(null!==n){var t=Bs();Ws(n,e,1,t)}})),Fc(e,1)}},pt=function(e){if(13===e.tag){var n=Eu(e,134217728);if(null!==n)Ws(n,e,134217728,Bs());Fc(e,134217728)}},mt=function(e){if(13===e.tag){var n=Hs(e),t=Eu(e,n);if(null!==t)Ws(t,e,n,Bs());Fc(e,n)}},ht=function(){return ct},gt=function(e,n){var t=ct;try{return ct=e,n()}finally{ct=t}},pn=function(e,n,t){switch(n){case"input":if($e(e,t),n=t.name,"radio"===t.type&&null!=n){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var r=t[n];if(r!==e&&r.form===e.form){var l=fa(r);if(!l)throw Error(Y(90));Ie(r),$e(r,l)}}}break;case"textarea":Ye(e,t);break;case"select":null!=(n=t.value)&&Qe(e,!!t.multiple,n,!1)}},bn=Zs,kn=Js;var Bc={usingClientEntryPoint:!1,Events:[sa,ca,fa,vn,yn,Zs]},Hc={findFiberByHostInstance:ia,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Wc={bundleType:Hc.bundleType,version:Hc.version,rendererPackageName:Hc.rendererPackageName,rendererConfig:Hc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ce.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Dn(e))?null:e.stateNode},findFiberByHostInstance:Hc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Qc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Qc.isDisabled&&Qc.supportsFiber)try{Yn=Qc.inject(Wc),Xn=Qc}catch(en){}}H.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Bc,H.createPortal=function(e,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!jc(n))throw Error(Y(200));return function(e,n,t){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:de,key:null==r?null:""+r,children:e,containerInfo:n,implementation:t}}(e,n,null,t)},H.createRoot=function(e,n){if(!jc(e))throw Error(Y(299));var t=!1,r="",l=Dc;return null!=n&&(!0===n.unstable_strictMode&&(t=!0),void 0!==n.identifierPrefix&&(r=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),n=zc(e,1,!1,null,0,t,0,r,l),e[la]=n.current,Ml(8===e.nodeType?e.parentNode:e),new Ic(n)},H.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var n=e._reactInternals;if(void 0===n){if("function"==typeof e.render)throw Error(Y(188));throw e=Object.keys(e).join(","),Error(Y(268,e))}return e=null===(e=Dn(n))?null:e.stateNode},H.flushSync=function(e){return Js(e)},H.hydrate=function(e,n,t){if(!Vc(n))throw Error(Y(200));return $c(null,e,n,!0,t)},H.hydrateRoot=function(e,n,t){if(!jc(e))throw Error(Y(405));var r=null!=t&&t.hydratedSources||null,l=!1,a="",u=Dc;if(null!=t&&(!0===t.unstable_strictMode&&(l=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onRecoverableError&&(u=t.onRecoverableError)),n=Lc(n,null,e,1,null!=t?t:null,l,0,a,u),e[la]=n.current,Ml(e),r)for(e=0;e<r.length;e++)l=(l=(t=r[e])._getVersion)(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,l]:n.mutableSourceEagerHydrationData.push(t,l);return new Uc(n)},H.render=function(e,n,t){if(!Vc(n))throw Error(Y(200));return $c(null,e,n,!1,t)},H.unmountComponentAtNode=function(e){if(!Vc(e))throw Error(Y(40));return!!e._reactRootContainer&&(Js((function(){$c(null,null,e,!1,(function(){e._reactRootContainer=null,e[la]=null}))})),!0)},H.unstable_batchedUpdates=Zs,H.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!Vc(t))throw Error(Y(200));if(null==e||void 0===e._reactInternals)throw Error(Y(38));return $c(e,n,t,!1,r)},H.version="18.3.1-next-f1338f8080-20240426",function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){}}(),B.exports=H;var qc=B.exports;const Kc=t(qc),Yc=e({__proto__:null,default:Kc},[qc]);export{A as R,Kc as a,$ as b,qc as c,Yc as d,n as e,r as f,t as g,V as r}; diff --git a/dist1 (2)/assets/videobg-8bcfb43a.svg b/dist1 (2)/assets/videobg-8bcfb43a.svg new file mode 100644 index 0000000..2e88588 --- /dev/null +++ b/dist1 (2)/assets/videobg-8bcfb43a.svg @@ -0,0 +1,10 @@ +<svg width="357" height="159" viewBox="0 0 357 159" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> +<rect width="357" height="159" fill="#CDCDCE"/> +<rect x="83" y="25" width="188" height="106" fill="url(#pattern0)"/> +<defs> +<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1"> +<use xlink:href="#image0_2920_3" transform="scale(0.00220264 0.00390657)"/> +</pattern> +<image id="image0_2920_3" width="454" height="256" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcYAAAEACAIAAACmsUHXAAAYuklEQVR4Ae2d64qrShpA5/3fzWBIkwZBEAIGQ5o0CIIgOMypwRPSuVhVX11dm/3DTryUS2vV/ct/imLHfwhAAAIQECHwH5GzcBIIQAACECiKHUqlkg4BCEBAjABKFUNJEQ0BCEAApaJUCEAAAmIEUKoYSspnCEAAAigVpUIAAhAQI4BSxVBSPkMAAhBAqSgVAhCAgBgBlCqGkvIZAhCAAEpFqRCAAATECKBUMZSUzxCAAARQKkqFAAQgIEYApYqhpHyGAAQggFJRKgQgAAExAihVDCXlMwQgAAGUilIhAAEIiBFAqWIoKZ8hAAEIoFSUCgEIQECMAEoVQ0n5DAEIQAClolQIQAACYgRQqhhKymcIQAACKBWlQgACEBAjgFLFUFI+QwACEECpKBUCEICAGAGUKoaS8hkCEIAASkWpEIAABMQIoFQxlJTPEIAABFAqSoUABCAgRgCliqGkfIYABCCAUlEqBCAAATECKFUMJeUzBCAAAZSKUiEAAQiIEUCpYigpnyEAAQigVJQKAQhAQIwAShVDSfkMAQhAAKWiVAhAAAJiBFCqGErKZ2MCx+N3VVVN07TtuW3P1+tPv+Lf9fqj9m+apqqq4/HbOAEcCAEpAigVpfomcDx+K3v2fT+O4yz6bxzHvu/b9tw0DZKV0gTnWU8ApfoWyvpnk82eZbmv67rrLn3fi/pz1cn6vu+6S13XZbnPBik3Ei0BlIpSXRGoqqrrLsMwrDKfl52GYei6S1VV0WZIEpY6AZTqSiipvxnG6a/r+nr9mabJiyQNLzJN0/X6U9e18W1yIASeEkCpKFWGQBIm/Stg3PrUC3xoTAClygjF+AGkfuDh8NW2Z/FRpr/uc/3JOI5tez4cvlJ/IqQ/LAGUilINCVRVdbv9ujad//Pfbr90toa1UtJXR6mGQkn6qVsmvmmaDKql72U9DEPTNJagOHyDBFAqStUgsAWZ3qt2HEfEukEt2twyStUQig3o1I/dmkwRa+pvbKj0o1SU+oFAVVVRzS29l53P7WEY6GMN5amErotSPwgloWcpntTD4SvIeiefotS9Vt/3zAoQf9NyOiFKRalPCJTlvm3PurrZzv5te2Z5a04eFLwXlPpEKIJ8UzxVVVXZD+jb238cR/oBUny9XacZpaLUfwmU5b7rLva62c4Zuu5CddW1pNI6P0r9VyhpPTnx1AasnA7DoCLyte25ruvqn39vbrAs92qfuq5VyNS+70ONoY3jSBTBNw9ra1+hVJT6PwKee05VRCgVOlo2y6lQ1v4jYLXtWfZGOFuiBFDq1pValns/w/pKoz7jli5xWv1UYPu+pxMgUQ8KJhulblqpx+O36yh8fd+fTqfgE48Oh6/T6eTardM00QkgqKcUT4VSt6vUpmncjSMNwxCDSf/mSQ9uZQ3rX+zb+QSlblSp1+uPC5+q8KNJ1NSOx293obKv15/tSIQ7vSeAUjen1LLcuwjKp+KNJteZqBY1uJiHe7v9JkfjXg1smxFAqdtSalnuxfsT8wjX5CIuzDAMWNVMTOkehVI3pNTD4UvWp3nI9D73iosVq97j3cI2St2KUmUH96dpynWdu+oKEJwIwTSALZh0uUeUugmlyvr0ev3Jvj1blnvBETysuhgn+w2Umr9SBX26tVghgot0sWr2MlU3iFIzV2pZ7qXasJtdcym1Wneapuxr9xvx5pvbRKk5K1VqfJ/IIFLVVUar3sgoj69QarZKlfLpFnpO12Rmqd5VrLqGdrr7oNRslWo/n3+aJtZWPuRtkVW8t9vvw2n5MxsCKDVPpdqPVtPYf5XJj8dv+9VWrFh9hTf1z1Fqhkq1r0nROH2fsUU6VWgBvIec6LcoNTelHo/flvFQ6Dxdk5lFulaTiC+zhgb7LARQalZKtZ8yRYN0yRtrNiw7WJhWtQZyWvug1KyUahmff7MzT20yreWs1b7vba7OsbERQKn5KNUyb9O1Z5w5LTuvKcmMyUd4IErNRKmWXaj41DJzWlqVTlVL/vEcjlJzUGpZ7m2m9VBLEsmQNq2EcRxZqyryFIKfBKXmoNSuuxiP8jMeJZgJbUaruu4imBJOFYoASk1eqVVV4dNQ+efvdW2sWlXV3xPySVoEUGraSrVp8jOf30VetVkFMI6jiyRxTp8EUGraSjXuvxPvvDsev+kNVFnXZnYw/do+9efiWig1YaUeDl9mTX4X4ZDb9jyOY13XLl7T5M5pMwHjcPhK7n5J8EIApSasVOOJ/S6mTC315b7vmRJUFDvjaVVM/l/0lOIGSk1VqcajUo6G+BelqoozgQKKYmc8VMU4VYoyVWlGqakq1ezno8W7UJdX/0Gp8zxP03Q6nZYdNrhhPHg4DMMGceVxyyg1SaUaNyrdVX/+KlVVV7f2C4APXjBuTLjonHlIG3+6IIBSk1Sq2Vopp6PJr5SqxNr3/WZHXd6TeTXAyIQqF77zcE6Ump5SzaqorrPoGnF03WWbE63MikAqqh4MKH4JlJqeUs3yp7smv3op1yhVdbBu0BRmzX/XpaC4TThhUexQamJKNauiOhrlv89CK5Wq2rnDMLhW/H3aYtg2G/3fYPETw8OySQNKTUypBgP9fkLHaylVifV2+91OB6vZkiqG/m3sFuRYlJqSUs3aj05HpZa31kCpSqxte95IB6sZoq1V55c3KtENlJqSUm+331cDxK8+dzcR9eGNN/OFSvY4jlto4ZpNU73dfh9Q82fMBFBqMko1W9HvTVU2SlVi7fs++xqZWVf4drpHYnblyrSh1GSUauAsn0PGBsl7WrPOfiWrwYQNP103K5XBbu8JoNRklGqQFb1VUYtiJ6VUNdEqY4kYVFR9Fo3vfcG3Hwmg1DSUWtf10zrdmw8950NBpaqbyjhUoEHpSNTEjy6LZAeUmoZSDWY1eq7oiStViTXLUIEGrDzMLI5ESaknA6WmodRpmt5USP9+5Wcu6v3bb6CJv8l+9UlmK1kN5qhO03RPm+1oCaDUBJRq0Or3X6lxqtT8QgUaNDto+0er0fuEodQElGqQ/fzH1XetVFWBzSZUoMEvqfgvJu9NwfZKAig1AaXqtvqDrGL0o1Ql1jxCBequLabtv1JqYXdDqbEr1WARapBY+j6VqsSa+krW0+n0qu/41efZL4UIa0ORq6PU2JXadZdXGezV50EW2/hXauqhAg2Ww3XdRSTbcxJ3BFBq7ErVbR4GafXLTvV/VVS8+jzdUIGpPFx3AsrvzCg1aqWW5f6VR159HqTVH1apCkWKoQIN2v4bidqVrmpRatRKNZg+FaTVH4NSl5WsCUnHoO3PVKrIbYtSo1aqbkdqqFZ/JEpV1dW0QgXqtv3pTkWpUTsr8sfT9/2rBv7TzwPmtyDDU08hqA9TWcmqW2r2fR/5S7vx5FFLjdr4b5Tx9KuArcLYlKr4xB8q0KBvZ+POivz2UWq8SjVYYBOwGzFOpS4drNHmQ4MRSP9L46KlF2HCUGq8StUNrBmwIzWqvtSn9feYQwXqdqf6DIMbobMiTxJKjVepuvW+gB2p8StVeTbOlay63amewzZGrrDYkodS41Wq7thU2MqLbgHwtC7p58PYQgXqNkcYoYpNo/fpQanxKlU39nvYBeAJKTW2UIG6YRw8/17DvS/Y/kgApcarVN0q28eH7XSHtJSq2MYTKjCtZ+30RUr95Cg1UqXqrqsJXnNJUalKZDGsZNVtkYRaI5e67zykH6VGqlTdxmDw/rV0larEGjZUoG6/edhOHg9iSvcSKDVSpeoOWYQd7k9lxP99+3qaplBDfLqD/qHSma7pvKUcpUaqVN1KX/CJNboJfm+3gN8GCRWoSy/44/ZmqOQuhFIzUWrApajqpdeVQkBprrn09frjs79Sd1kqSo1WtSg1UqXq/oRf8M61zJS6rGT1s8ZXt+ucn/ZDqZGaK9oHk9x4RX5KVZVZPytZdZUafDQy2owTPGHUUiN1va5S/VSm3ryvuSpVidV1qEDd4Cko9c2rGPYrlJqJUsO+RnmM+H/sY3UaKvDj1e93QKnBX/hXCUCpKFWGQN611EVn0zQ5GhpaLrFmA6W+Mlrwz1GqjFDEH6Ruw188Abon3IhSle9crGRdY9JlH5Sq+3562x+lolQZAptSqlKbbKjARZdrNlCqN0XqXgilyghFl/vH/amlrjFLDPtI/cq31r2g1I85KNQOKBWlyhDYYC1Vtl8VpYaSoOx1UaqMUGSfSlHsqKVqKcb/zuKj/1q3QC1VPMdJnRClolQZAtuppfZ972KtGkqVklrY86BUGaGIP0XdWipT/bWUZLbzOI6OQkAx1V88B4U6IUrNRKku6k1aL2X2tVSnAVVZkKr1ssW8M0qNVKmETTGrSLo4ykPYf12lEjYlWqui1EiVqlvpI7ifC5l6i51KcL9oFambMJSaiVIdrZJc/z7plgEuDCh4Ts8R/nXpBX/c61+Mre2JUiNVKj+UIuhH3VN13cXzcB8/lJKNeVFqpErV7VwLPlFRt56lqzk/+8uuMV2vCd0JHsFHI9ff2tb2RKmRKpUfnfbj0OUqLiKhrLcJPzq9nlXke6LUSJVaFLslt6/cCPuqpVtLnaZJap2+8SNY+YiX3YwvxIGuCaDUeJWqW3MJ2xhMVKni60oNcqxuJ884jgZX4RA/BFBqvErV7V9ztLBn5YuYnFJd//bJSm5FsdMdigzeb77+1ja4J0qNV6m6kuq6S8A3WDe1SxvW/4afX+hb/yx0h/uZQbWerf89UWq8StWtvAzD4P8FWq6YhFJVOD7PE6QWRK82hmHQKlfCNkde3QWfKwIoNV6lHo/fWjltnueAsohfqdfrz+HwFVvO1w2YMs/z8fgd212QnoUASo1XqQaD/gGXpcasVEfh+JZcZLOhuxR1nmeby3GsawIoNWql6o5QBexOjVOpnteVGmRX3Y5UxqYMIPs8BKVGrVTd/BawOzVCpToNxyeVS3U7UgOWmlK3nPd5UGrUSjVoFYbqLoxKqR7C8Yl4QXeN3DzPAft2RG45+5Og1KiVajB2EWohUCRK9RaOT0QNp9MpoRFIkVvO/iQoNWqlFsVOt2EYqu0fXKkxrCvV9UUqD1f3vra8P0qNXam63anzPAdp+4dVqv9wfPbWMGj105Fqj931GVBq7ErVXQA+z3OQtn8opYYKx2efMw1a/WHDONjf8hbOgFJjV2pR7KZp0upxC9L296/UsOH47O2g2+qfpsn+opzBNQGUmoBSdX/aL8gCG59KVetKXecNp+c3WBrHT/g5fSJSJ0epCSjVYCqV/+znTakxhOOzz34GxSTTp+yxezgDSk1AqQZt/2maPK/396DUeMLxWebMstzrdubQ6rdk7u1wlJqGUg0qNZ5DwDlV6jiOOYVfMmDlv9nhzUGZXQilpqFUg7a/59jvBppYM+YWZzg+Swvo/l4Di6Ysgfs8HKWmodSi2BnkQ581OxdKjTMcn2X+1A2DO8+z59LR8gY3fjhKTUapBs7ymRUNkvemlprWulItiRgUjZ77cLRuh50fCKDUZJRqsNhmnmdvFVUppcYfju8hC2n9aVBFDbUcTuu+2HkhgFKTUWpR7G633zc1u6dfjePoZ+hfRKlJhONbMo/uRlnuDaqot9uv7oXYPyABlJqSUg0Wp87z7KfZaKnUVMLx2eRVM0QsQrVh7v9YlJqSUg0CU83z7GeOqpkv1NjLFqxhMBd1nucga4v9ayinK6LUxJRq1hnnYVajgVJTDMdnnPkNZhb77Ao3vi8OfCCAUhNTqtlsqnmeXdcEdZWaYji+h8yz/k+zHhufEzbW3wt7vieAUtNTqllF1fU41XqlphuO731eevWt2agUVdRXPCP/HKWmp1TjiqrTcao1Sh3HcYOxP9aQ+Ttbgypq5Op8lTyUmqRSzSqqTpv/78WRQTi+V1no/edmTX6qqO+pxvwtSk1SqWZD/2p43dE01TdKzSMcn0E2Nm7yM9BvQDuSQ1Bqqko1rv44Gv1/qtS+710Pi0WSkZ4mw2yU32lj4mk6+VCQAEpNValFsev7/m8f3JpPXKxSfVBqZuH4DLKccedM3/cGl+OQSAig1ISVarbqXzn3ePyWfQUXpWYZjk+XlcHvoCxlYZAfuNW9QfZ/RQClJqzUotgtIlsy5MoN8SVVKiVbWFf6Ki8tn5stlFIPzumsjCWFbLgjgFLTVqrxhCq12FFwqKqu6y13my5ZtCz3uj99upSCTJxaMKa7gVKTV6rxONU8z46GqtLND/YpNx6SYlTKHn4MZ0CpySu1KHZdd1lqOrobWFUwH9r4tOsuginhVKEIoNQclGo8/1H5l8wskv1sCjbXy4VFbpCTrCGAUnNQalHsbIaYWauzJqu838d4ypQq1cQnYLxPLd+6I4BSM1Gqzei/ytUuJqu6e3GjOrOlTxnlj+ppWiYGpeajVJvJ//QAGGckm/b+PM9M7DcmH+eBKDUrpdrMiFRWZbRKK6PajEd5+8EFrTtiZ0sCKDUrpdp3qqqZVYLzVS1f0GgPL8u9pU/neaYLNdrna5wwlJqbUotiZ9m1J74KwPjtjPZAm/n8qjXAkGC0D9cyYSg1Q6UWxc6+AjVNE3Wop7nrePyepmkxo9kGHSxP2WbwIUrNU6lFsbvdfs1y+/1RTAN4yOT2LYB5nm+334fT8mc2BFBqtkoVaZzStbpk9bLci5RSwzDQVb1QzW8DpWar1KLYSVl1HMeNh0Spqmocx/v6u9k2Ps3PoQ93hFJzVqqyqn3Hn9LHpn4mesknZbm3nHm6yFc8oOKSSDbiIYBSM1eqmlYlZdWtVVelKqdqCirDffGIz11KUGr+SpW1qupdzT7y/OHwZT9r4r5+ik/dWSyqM6PUTShV3KoZ/xpKWe7b9ixVr6d+GpXvPCQGpW5FqYKjVUvlK7/f7GuaRmQYakHEeJQHi0V1CZS6IaW6sOo8z3mIVVymLEKLynTeEoNSt6VUZVWR+ZVLRUxtjOPYtufkZlyKN/MXLLfbb3I0vHkn4wuh1M0pVb3NgmMvi0TUxvX6k8RQzPH47RRCxtbg1t4QQKkbVapIdJUHmd7/OQzD6XSKcGLA4fB1Op1kO0zvb5x4KG90s4WvUOp2lSo+DeDBLOrPSNyqTGr8c9BPb+3vh8Sa2YI0398jSt20UlXXat/3f+0g/sk4jl13qevaWw9jWe7ruu66i9M66QKq73tvt/Y+V/NtQAIodetKVS9f254XNXjYGIbhev1pmkY8dEBVVU3TXK8/riukD5T4/aiAFovq0igVpf6fwPH47ac29yAjNQ2r7/uuu7Ttua7r6p9/b2p8ZblX+9R13bbnrrv0fR8w8UkMx0XlnYwTg1JR6r8EBEOE/PVmlp9sM5RMxkK0vzWU+q9Q7GnmcQbBWCFZalTd1NYiyOTxbnu4C5SKUp8T8Ny7mpZ86Tn14KZEL4FSnwsl0ccpm+zD4cvPZICEfNr3fYSTbWWfO2ezIYBSUeoHAlVVeR49j9OwwzCIz0+wybocGycBlPpBKHE+Nv+pchFVJE51/k1VHnFh/L8z27wiSkWpGgS2JlZkuk0t2tw1StUQig3onI5tmib7roBhGPjB7ZxeWm/3glJRqiGBqqpcBAn82+72/Mnt9kufqTcB5XchlGoolPxeBbM7Ohy+2vYcauWSoG1VvFdG881eA45aCKBUlCpDoK7r6/VH8CebBHX55lTTNF2vP3VdL1mCDQjYEECpMkKxeQaZHZuEWzFpZm9dPLeDUlGqKwJVVXXdJaqBrGEYuu5CV2k8AsovJSjVlVDye1eM72iJWxpkLZaKceUzTqsxKA7MgABKRam+CRyP303TtO3ZRUS+cRz7vm/bc9M0xNzLwFDJ3QJK9S2U5F4RDwk+Hr9V6Oi2Pbft+Xr96Vf8u15/1P4qlDUC9fCkuMRHAigVpUIAAhAQI4BSxVB+LL7YAQIQyJ4ASkWpEIAABMQIoFQxlNkXv9wgBCDwkQBKRakQgAAExAigVDGUH4svdoAABLIngFJRKgQgAAExAihVDGX2xS83CAEIfCSAUlEqBCAAATECKFUM5cfiix0gAIHsCaBUlAoBCEBAjABKFUOZffHLDUIAAh8JoFSUCgEIQECMAEoVQ/mx+GIHCEAgewIoFaVCAAIQECOAUsVQZl/8coMQgMBHAigVpUIAAhAQI4BSxVB+LL7YAQIQyJ4ASkWpEIAABMQIoFQxlNkXv9wgBCDwkQBKRakQgAAExAigVDGUH4svdoAABLIngFJRKgQgAAExAihVDGX2xS83CAEIfCSAUlEqBCAAATECKFUM5cfiix0gAIHsCaBUlAoBCEBAjABKFUOZffHLDUIAAh8JoFSUCgEIQECMAEoVQ/mx+GIHCEAgewIoFaVCAAIQECOAUsVQZl/8coMQgMBHAigVpUIAAhAQI4BSxVB+LL7YAQIQyJ4ASkWpEIAABMQIoFQxlNkXv9wgBCDwkQBKRakQgAAExAj8F4HDpixgoGaMAAAAAElFTkSuQmCC"/> +</defs> +</svg> diff --git a/dist1 (2)/browserconfig.xml b/dist1 (2)/browserconfig.xml new file mode 100644 index 0000000..c044c72 --- /dev/null +++ b/dist1 (2)/browserconfig.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<browserconfig> + <msapplication> + <tile> + <square150x150logo src="/src/Images/PozoAppFavicon.png"/> + <TileColor>#1677ff</TileColor> + </tile> + </msapplication> +</browserconfig> \ No newline at end of file diff --git a/dist1 (2)/fav.ico b/dist1 (2)/fav.ico new file mode 100644 index 0000000..6cf2c66 Binary files /dev/null and b/dist1 (2)/fav.ico differ diff --git a/dist1 (2)/favlogo 1.png b/dist1 (2)/favlogo 1.png new file mode 100644 index 0000000..f354431 Binary files /dev/null and b/dist1 (2)/favlogo 1.png differ diff --git a/dist1 (2)/google-analytics.js b/dist1 (2)/google-analytics.js new file mode 100644 index 0000000..7b7646f --- /dev/null +++ b/dist1 (2)/google-analytics.js @@ -0,0 +1,22 @@ +// Google Analytics 4 Configuration +window.dataLayer = window.dataLayer || []; +function gtag(){dataLayer.push(arguments);} +gtag('js', new Date()); + +// Replace with your actual GA4 Measurement ID +gtag('config', 'G-MQBWL7JVJ0', { + page_title: document.title, + page_location: window.location.href +}); + +// Track custom events +export const trackEvent = (eventName, parameters = {}) => { + gtag('event', eventName, parameters); +}; + +// Track page views +export const trackPageView = (page_path) => { + gtag('config', 'G-MQBWL7JVJ0', { + page_path: page_path + }); +}; \ No newline at end of file diff --git a/dist1 (2)/google-site-verification.html b/dist1 (2)/google-site-verification.html new file mode 100644 index 0000000..e9d42d8 --- /dev/null +++ b/dist1 (2)/google-site-verification.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> +<head> +<meta name="google-site-verification" content="YOUR_VERIFICATION_CODE_HERE" /> +<title>Google Site Verification + + +

Google site verification page

+ + \ No newline at end of file diff --git a/dist1 (2)/home/blog/index.html b/dist1 (2)/home/blog/index.html new file mode 100644 index 0000000..612c710 --- /dev/null +++ b/dist1 (2)/home/blog/index.html @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + POZO Blog — Retail ERP, POS & Grocery Billing Guides + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + diff --git a/dist1 (2)/home/contact-us/index.html b/dist1 (2)/home/contact-us/index.html new file mode 100644 index 0000000..2218a0d --- /dev/null +++ b/dist1 (2)/home/contact-us/index.html @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + Contact PozoApp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + diff --git a/dist1 (2)/home/index.html b/dist1 (2)/home/index.html new file mode 100644 index 0000000..92df1e9 --- /dev/null +++ b/dist1 (2)/home/index.html @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + Retail ERP & POS for Indian MSMEs | POZO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + diff --git a/dist1 (2)/home/pricing-pozoapp/index.html b/dist1 (2)/home/pricing-pozoapp/index.html new file mode 100644 index 0000000..8d447ef --- /dev/null +++ b/dist1 (2)/home/pricing-pozoapp/index.html @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + Pricing - Retail ERP & POS Plans | POZO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + diff --git a/dist1 (2)/home/signin/index.html b/dist1 (2)/home/signin/index.html new file mode 100644 index 0000000..16123d4 --- /dev/null +++ b/dist1 (2)/home/signin/index.html @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + Sign In to PozoApp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + diff --git a/dist1 (2)/index.html b/dist1 (2)/index.html new file mode 100644 index 0000000..312daec --- /dev/null +++ b/dist1 (2)/index.html @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + Retail ERP & POS for Indian MSMEs | POZO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + diff --git a/dist1 (2)/manifest.json b/dist1 (2)/manifest.json new file mode 100644 index 0000000..7179b25 --- /dev/null +++ b/dist1 (2)/manifest.json @@ -0,0 +1,16 @@ +{ + "name": "PozoApp - Business Management Solution", + "short_name": "PozoApp", + "description": "AI-powered POS and SaaS solutions for businesses", + "start_url": "/", + "display": "standalone", + "background_color": "#ffffff", + "theme_color": "#1677ff", + "icons": [ + { + "src": "/src/Images/PozoAppFavicon.png", + "sizes": "192x192", + "type": "image/png" + } + ] +} \ No newline at end of file diff --git a/dist1 (2)/og/Signin-og.jpg b/dist1 (2)/og/Signin-og.jpg new file mode 100644 index 0000000..0d1acf8 Binary files /dev/null and b/dist1 (2)/og/Signin-og.jpg differ diff --git a/dist1 (2)/og/blog-og.jpg b/dist1 (2)/og/blog-og.jpg new file mode 100644 index 0000000..3773383 Binary files /dev/null and b/dist1 (2)/og/blog-og.jpg differ diff --git a/dist1 (2)/og/contact-og.jpg b/dist1 (2)/og/contact-og.jpg new file mode 100644 index 0000000..41d0fea Binary files /dev/null and b/dist1 (2)/og/contact-og.jpg differ diff --git a/dist1 (2)/og/default-og.jpg b/dist1 (2)/og/default-og.jpg new file mode 100644 index 0000000..a5b63f3 Binary files /dev/null and b/dist1 (2)/og/default-og.jpg differ diff --git a/dist1 (2)/og/home.jpg b/dist1 (2)/og/home.jpg new file mode 100644 index 0000000..bdd7e76 Binary files /dev/null and b/dist1 (2)/og/home.jpg differ diff --git a/dist1 (2)/og/pricing-og.jpg b/dist1 (2)/og/pricing-og.jpg new file mode 100644 index 0000000..73a6a10 Binary files /dev/null and b/dist1 (2)/og/pricing-og.jpg differ diff --git a/dist1 (2)/robots.txt b/dist1 (2)/robots.txt new file mode 100644 index 0000000..aff3fff --- /dev/null +++ b/dist1 (2)/robots.txt @@ -0,0 +1,33 @@ +User-agent: * + +# Allow top-level site content and important pages +Allow: / +Allow: /features +Allow: /pricing +Allow: /contact-us +Allow: /blog + +# Allow common public asset folders +Allow: /assets/ +Allow: /images/ +Allow: /css/ +Allow: /js/ + +# Disallow admin, build and development files +Disallow: /admin +Disallow: /AdminPanel +Disallow: /*.env +Disallow: /src/ +Disallow: /dist/ +Disallow: /node_modules/ + +# Sitemap location (replace if your production domain differs) +Sitemap: https://www.pozo.app/sitemap.xml + +# Crawl delay (optional) +Crawl-delay: 1 + + +# Notes: +# - This file is served from /public when using Vite. Ensure production deploy serves this file at https://your-domain/robots.txt +# - Robots rules are advisory; protect sensitive routes server-side as well. diff --git a/dist1 (2)/server.js b/dist1 (2)/server.js new file mode 100644 index 0000000..aa15347 --- /dev/null +++ b/dist1 (2)/server.js @@ -0,0 +1,40 @@ +import express from 'express'; +import path from 'path'; +import { fileURLToPath } from 'url'; +import seoMiddleware from './server/seo-middleware.js'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const app = express(); +const PORT = process.env.PORT || 3000; + +// CRITICAL: Apply SEO middleware FIRST (before static files) +// This ensures HTML requests go through SEO middleware +app.use(seoMiddleware); + +// Serve static files - BUT skip HTML files (middleware handles them) +app.use((req, res, next) => { + // If it's an HTML file or route without extension, skip static middleware + if (req.path.endsWith('.html') || (!req.path.match(/\.[a-z]{2,4}$/i) && req.method === 'GET' && !req.path.startsWith('/assets'))) { + return next(); // Let SEO middleware handle it + } + // Serve CSS, JS, images, fonts, etc. + express.static(__dirname, { index: false })(req, res, next); +}); + +app.use('/home', (req, res, next) => { + // If it's an HTML file or route without extension, skip static middleware + if (req.path.endsWith('.html') || (!req.path.match(/\.[a-z]{2,4}$/i) && req.method === 'GET' && !req.path.startsWith('/assets'))) { + return next(); // Let SEO middleware handle it + } + // Serve CSS, JS, images, fonts, etc. + express.static(__dirname, { index: false })(req, res, next); +}); + +app.listen(PORT, () => { + console.log(`Server running on port ${PORT}`); + console.log('Dynamic SEO enabled!'); +}); + +export default app; diff --git a/dist1 (2)/server.js.backup b/dist1 (2)/server.js.backup new file mode 100644 index 0000000..e4766df --- /dev/null +++ b/dist1 (2)/server.js.backup @@ -0,0 +1,26 @@ +import express from 'express'; +import path from 'path'; +import { fileURLToPath } from 'url'; +import seoMiddleware from './server/seo-middleware.js'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const app = express(); +const PORT = process.env.PORT || 3000; + +// CRITICAL: Apply SEO middleware FIRST (before static files) +// This ensures HTML requests go through SEO middleware +app.use(seoMiddleware); + +// Serve static files - BUT middleware handles all HTML requests +// Static middleware will only serve non-HTML files (CSS, JS, images) +app.use(express.static(__dirname, { index: false })); +app.use('/home', express.static(__dirname, { index: false })); + +app.listen(PORT, () => { + console.log(`Server running on port ${PORT}`); + console.log('Dynamic SEO enabled!'); +}); + +export default app; diff --git a/dist1 (2)/server.js.backup2 b/dist1 (2)/server.js.backup2 new file mode 100644 index 0000000..01f1f94 --- /dev/null +++ b/dist1 (2)/server.js.backup2 @@ -0,0 +1,35 @@ +import express from 'express'; +import path from 'path'; +import { fileURLToPath } from 'url'; +import seoMiddleware from './server/seo-middleware.js'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const app = express(); +const PORT = process.env.PORT || 3000; + +// CRITICAL: Apply SEO middleware FIRST (before static files) +// This ensures HTML requests go through SEO middleware +app.use(seoMiddleware); + +// Serve static files - BUT middleware handles ALL HTML requests +// Static files only serve: CSS, JS, images, fonts - NOT HTML +app.use((req, res, next) => { + // If it's an HTML request (no extension or ends with .html), let middleware handle it + if (!req.path.match(/\.[a-z]{2,4}$/i) || req.path.endsWith('.html')) { + return next(); // Let SEO middleware handle it + } + // For non-HTML files, serve them + next(); +}); + +app.use(express.static(__dirname, { index: false })); +app.use('/home', express.static(__dirname, { index: false })); + +app.listen(PORT, () => { + console.log(`Server running on port ${PORT}`); + console.log('Dynamic SEO enabled!'); +}); + +export default app; diff --git a/dist1 (2)/server.js.backup3 b/dist1 (2)/server.js.backup3 new file mode 100644 index 0000000..2abb782 --- /dev/null +++ b/dist1 (2)/server.js.backup3 @@ -0,0 +1,33 @@ +import express from 'express'; +import path from 'path'; +import { fileURLToPath } from 'url'; +import seoMiddleware from './server/seo-middleware.js'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const app = express(); +const PORT = process.env.PORT || 3000; + +// CRITICAL: Apply SEO middleware FIRST (before static files) +// This ensures HTML requests go through SEO middleware +app.use(seoMiddleware); + +// Serve static files - BUT middleware already handles ALL HTML requests +// Static files only serve: CSS, JS, images, fonts - NOT HTML +app.use(express.static(__dirname, { + index: false, + // Don't serve HTML files - middleware handles them + extensions: ['html'] // This tells express.static to NOT serve .html files +})); +app.use('/home', express.static(__dirname, { + index: false, + extensions: ['html'] +})); + +app.listen(PORT, () => { + console.log(`Server running on port ${PORT}`); + console.log('Dynamic SEO enabled!'); +}); + +export default app; diff --git a/dist1 (2)/server.js.backup4 b/dist1 (2)/server.js.backup4 new file mode 100644 index 0000000..2abb782 --- /dev/null +++ b/dist1 (2)/server.js.backup4 @@ -0,0 +1,33 @@ +import express from 'express'; +import path from 'path'; +import { fileURLToPath } from 'url'; +import seoMiddleware from './server/seo-middleware.js'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const app = express(); +const PORT = process.env.PORT || 3000; + +// CRITICAL: Apply SEO middleware FIRST (before static files) +// This ensures HTML requests go through SEO middleware +app.use(seoMiddleware); + +// Serve static files - BUT middleware already handles ALL HTML requests +// Static files only serve: CSS, JS, images, fonts - NOT HTML +app.use(express.static(__dirname, { + index: false, + // Don't serve HTML files - middleware handles them + extensions: ['html'] // This tells express.static to NOT serve .html files +})); +app.use('/home', express.static(__dirname, { + index: false, + extensions: ['html'] +})); + +app.listen(PORT, () => { + console.log(`Server running on port ${PORT}`); + console.log('Dynamic SEO enabled!'); +}); + +export default app; diff --git a/dist1 (2)/server/seo-middleware.js b/dist1 (2)/server/seo-middleware.js new file mode 100644 index 0000000..4c26e3b --- /dev/null +++ b/dist1 (2)/server/seo-middleware.js @@ -0,0 +1,439 @@ +// Express middleware to inject dynamic SEO meta tags +import fs from 'fs'; +import path from 'path'; +import { fileURLToPath } from 'url'; +import axios from 'axios'; +import { dirname } from 'path'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = dirname(__filename); + +const seoMiddleware = async (req, res, next) => { + // Skip non-HTML requests and static assets + // Skip files with extensions (except .html) - CSS, JS, images, etc. + const hasExtension = req.path.match(/\.[a-z]{2,4}$/i); + if (hasExtension && !req.path.endsWith('.html')) { + return next(); // Let static middleware serve CSS, JS, images, etc. + } + + // Skip if it's an API route or static asset + if (req.path.startsWith('/api/') || req.path.startsWith('/assets/') || req.path.startsWith('/home/assets/')) { + return next(); + } + + // CRITICAL: Process ALL routes that could be HTML pages + // This includes: /, /home, /home/blog, /home/pricing, etc. + // Don't call next() - we will send the response ourselves + console.log('🔍 SEO Middleware checking path:', req.path); + console.log('🔍 Request method:', req.method); + console.log('🔍 Full URL:', req.url); + + try { + console.log('==== SEO Middleware triggered for:', req.path); + console.log('🔍 Raw req.path:', req.path); + + const normalizedPath = normalizePath(mapToHomeNamespace(req.path)); + console.log('Normalized path:', normalizedPath); + console.log('🔍 After normalization:', normalizedPath); + + // Attempt dynamic SEO fetch by path/slug first, fallback to pageId map + const routeToPageId = { + '/': 1, + '/home': 1, + '/home/': 1, + '/blog': 5, + '/blog/': 5, + '/home/blog': 5, + '/home/blog/': 5, + '/pricing': 3, + '/pricing/': 3, + '/home/pricing': 3, + '/home/pricing/': 3, + '/pricing-pozoapp': 3, + '/pricing-pozoapp/': 3, + '/home/pricing-pozoapp': 3, + '/home/pricing-pozoapp/': 3, + '/contact-us': 4, + '/contact-us/': 4, + '/home/contact-us': 4, + '/home/contact-us/': 4, + '/signin': 2, + '/signin/': 2, + '/home/signin': 2, + '/home/signin/': 2 + }; + + const pageId = routeToPageId[normalizedPath] || 1; + console.log('Page ID matched:', pageId, 'for path:', normalizedPath); + console.log('Available routes:', Object.keys(routeToPageId).filter(k => routeToPageId[k] === 5)); + + const fullUrl = buildFullUrl(req); + const baseUrl = `${req.protocol || 'http'}://${req.headers.host || 'localhost:3000'}`; + + // Production URL for images - always use production domain for OG images + const PRODUCTION_URL = process.env.PRODUCTION_URL || 'https://www.pozo.app'; + + // Helper function to ensure image URLs are absolute and use production URL + const ensureAbsoluteImageUrl = (imagePath) => { + if (!imagePath) return null; + // If already absolute URL (starts with http/https), use as-is + if (/^https?:\/\//i.test(imagePath)) { + // If it's localhost, replace with production URL + if (/^https?:\/\/localhost/i.test(imagePath)) { + return imagePath.replace(/^https?:\/\/[^/]+/i, PRODUCTION_URL); + } + return imagePath; + } + // If relative path, make it absolute with production URL + const cleanPath = imagePath.startsWith('/') ? imagePath : `/${imagePath}`; + return `${PRODUCTION_URL}${cleanPath}`; + }; + + const dynamicSeo = await fetchSEOByPathOrSlug(normalizedPath); + let dbSeoData = dynamicSeo || (await fetchSEOFromDB(pageId)); + console.log('SEO Data fetched:', dbSeoData ? 'from DB' : 'using fallback'); + if (dbSeoData) { + console.log('DB SEO Data:', { + title: dbSeoData.MetaTitle?.substring(0, 50), + image: dbSeoData.ImageUrl || dbSeoData.image, + pageId: pageId + }); + } + + const fallbackData = { + 1: { + title: 'Retail ERP & POS for Indian MSMEs | POZO', + description: 'Fast billing, smart inventory, GST-ready POS. POZO helps kirana, mini-supermarkets & retail chains speed checkout, connect weighing scales, and manage multi-store ops.', + keywords: 'POS software, retail ERP, billing software, inventory management, GST billing, weighing scale POS, multi-store ERP', + image: `${PRODUCTION_URL}/og/home.jpg`, + url: fullUrl + }, + 2: { + title: 'Sign In to PozoApp', + description: 'Access your business dashboard and manage your retail operations with POZO ERP & POS system.', + keywords: 'PozoApp login, sign in, business dashboard, retail management', + image: `${PRODUCTION_URL}/og/Signin-og.jpg`, + url: fullUrl + }, + 3: { + title: 'Pricing - Retail ERP & POS Plans | POZO', + description: 'Simple plans for MSMEs. Fast billing, inventory, GST e-invoice, weighing-scale integration, WhatsApp e-bills & multi-store controls. Book a demo.', + keywords: 'pricing, POS software pricing, retail ERP plans, billing software pricing, inventory management pricing, GST billing plans', + image: `${PRODUCTION_URL}/og/pricing-og.jpg`, + url: fullUrl + }, + 4: { + title: 'Contact PozoApp', + description: 'Get support and sales information. Contact POZO for retail ERP & POS solutions, billing software, and inventory management systems.', + keywords: 'contact PozoApp, support, sales, retail ERP support, POS software support', + image: `${PRODUCTION_URL}/og/contact-og.jpg`, + url: fullUrl + }, + 5: { + title: 'POZO Blog — Retail ERP, POS & Grocery Billing Guides', + description: 'Practical guides on POS billing, weighing-scale integration, GST e-invoices, multi-store ERP & inventory control for Indian retailers.', + keywords: 'POS billing, weighing scale integration, GST e-invoices, retail ERP, inventory management, grocery billing guides', + image: `${PRODUCTION_URL}/og/blog-og.jpg`, + url: fullUrl + } + }; + + const chosenFallback = fallbackData[pageId] || fallbackData[1]; + + // Ensure image URL is always absolute and uses production URL + // If database image URL is missing or points to wrong page (e.g., home.jpg for blog), use fallback + const dbImageUrl = dbSeoData?.ImageUrl || dbSeoData?.image; + let finalImageUrl = ensureAbsoluteImageUrl(dbImageUrl); + + // Validate image URL - if it's pointing to wrong page image, use correct fallback + // For blog page (pageId 5), ensure it's not using home.jpg + if (pageId === 5 && finalImageUrl && finalImageUrl.includes('/og/home.jpg')) { + console.log('Warning: Blog page has home.jpg image, using blog-og.jpg instead'); + finalImageUrl = chosenFallback.image; + } + // For home page (pageId 1), ensure it's not using blog-og.jpg + if (pageId === 1 && finalImageUrl && finalImageUrl.includes('/og/blog-og.jpg')) { + console.log('Warning: Home page has blog-og.jpg image, using home.jpg instead'); + finalImageUrl = chosenFallback.image; + } + + // If no valid image URL, use fallback + if (!finalImageUrl) { + finalImageUrl = chosenFallback.image; + } + + // Validate URL - ensure it matches the current page path + let finalUrl = dbSeoData?.CanonicalUrl || dbSeoData?.url || fullUrl; + // If database URL doesn't match the current page path, use correct fullUrl + // Blog page (pageId 5) should have /blog in URL + if (pageId === 5 && finalUrl && !finalUrl.includes('/blog')) { + console.log('Warning: Blog page URL is incorrect, using correct path:', fullUrl); + finalUrl = fullUrl; + } + // Home page (pageId 1) should be root or /home, not other paths + if (pageId === 1 && finalUrl && finalUrl.includes('/blog')) { + console.log('Warning: Home page URL is pointing to blog, using correct path:', fullUrl); + finalUrl = fullUrl; + } + // Pricing page (pageId 3) should have /pricing in URL + if (pageId === 3 && finalUrl && !finalUrl.includes('/pricing')) { + console.log('Warning: Pricing page URL is incorrect, using correct path:', fullUrl); + finalUrl = fullUrl; + } + + // CRITICAL: Force correct image and URL based on pageId + // Blog page (pageId 5) MUST use blog-og.jpg, not home.jpg + // Home page (pageId 1) MUST use home.jpg, not blog-og.jpg + if (pageId === 5) { + // Blog page - force blog image and URL + if (!finalImageUrl || finalImageUrl.includes('/og/home.jpg')) { + console.log('FORCING blog-og.jpg for blog page (pageId 5)'); + finalImageUrl = `${PRODUCTION_URL}/og/blog-og.jpg`; + } + if (!finalUrl || !finalUrl.includes('/blog')) { + console.log('FORCING blog URL for blog page (pageId 5)'); + finalUrl = fullUrl; + } + } else if (pageId === 1) { + // Home page - force home image + if (!finalImageUrl || finalImageUrl.includes('/og/blog-og.jpg')) { + console.log('FORCING home.jpg for home page (pageId 1)'); + finalImageUrl = `${PRODUCTION_URL}/og/home.jpg`; + } + } + + // Force correct data based on pageId - if database returns wrong page data, use fallback + // This ensures blog page always gets blog data, not home data + let seoData; + if (dbSeoData) { + // Use database data but with forced correct image/URL + seoData = { + title: dbSeoData.MetaTitle || dbSeoData.title || chosenFallback.title, + description: dbSeoData.MetaDesc || dbSeoData.description || chosenFallback.description, + keywords: dbSeoData.Keywords || dbSeoData.keywords || chosenFallback.keywords || '', + image: finalImageUrl, // This is now forced to be correct + url: finalUrl // This is now forced to be correct + }; + } else { + // No database data, use fallback (includes keywords) + seoData = chosenFallback; + } + + console.log('Final SEO Data:', { title: seoData.title.substring(0, 50), image: seoData.image, url: seoData.url }); + + // Read HTML - try to read from specific path first, fallback to root index.html + let htmlPath; + const distPath = path.join(__dirname, '..'); + + // Try to find HTML file for the specific route + // For /home/blog, try dist/home/blog/index.html, then dist/index.html + if (normalizedPath !== '/' && normalizedPath !== '/home' && normalizedPath !== '/home/') { + const routeHtmlPath = path.join(distPath, normalizedPath, 'index.html'); + if (fs.existsSync(routeHtmlPath)) { + htmlPath = routeHtmlPath; + console.log('Reading HTML from:', routeHtmlPath); + } else { + // Try without leading slash + const routeHtmlPath2 = path.join(distPath, normalizedPath.replace(/^\//, ''), 'index.html'); + if (fs.existsSync(routeHtmlPath2)) { + htmlPath = routeHtmlPath2; + console.log('Reading HTML from:', routeHtmlPath2); + } else { + htmlPath = path.join(distPath, 'index.html'); + console.log('Using root index.html'); + } + } + } else { + htmlPath = path.join(distPath, 'index.html'); + console.log('Using root index.html for home page'); + } + + let html = fs.readFileSync(htmlPath, 'utf8'); + + // ULTRA AGGRESSIVE: Remove ALL existing SEO tags (handles multiline tags) + // Match from or > (handles multiline with [\s\S]*?) + const metaTagPattern = /]*?\/?>/gs; // 's' flag makes . match newlines + + // Remove all OG tags (multiline aware) + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + + // Remove Twitter tags (multiline aware) + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + + // Remove description and keywords (multiline aware) + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + + // Update title + html = html.replace(/[^<]*<\/title>/i, `<title>${escapeHtml(seoData.title)}`); + + // Update description + html = html.replace(/]*\/?>/i, ``); + + // Update canonical + html = html.replace(/]*\/?>/i, ``); + + // Add fresh SEO tags before + // Include keywords if available + const keywordsTag = seoData.keywords ? `` : ''; + + const seoTags = ` + + ${keywordsTag} + + + + + + + + + + + + + + `; + + html = html.replace(/<\/head>/i, `${seoTags}\n`); + + res.send(html); + } catch (error) { + console.error('SEO middleware error:', error); + next(); + } +}; + +// Function to fetch SEO data from your database +async function fetchSEOFromDB(pageId) { + try { + const API_URL = process.env.API_URL || 'https://api.pozo.app'; + const response = await axios.get(`${API_URL}/Seo?PageId=${pageId}`); + if (response.data?.statusCode === 1 && response.data?.data?.length > 0) { + return response.data.data[0]; + } + return null; + } catch (error) { + console.error('Failed to fetch SEO data from database:', error.message); + return null; + } +} + +// Try to fetch SEO by exact path or blog slug, with graceful fallbacks +async function fetchSEOByPathOrSlug(normalizedPath) { + try { + const API_URL = process.env.API_URL || 'https://api.pozo.app'; + + // 1) Try path-based SEO: /Seo?Path=/home/blog/my-post + const byPath = await safeGet(`${API_URL}/Seo`, { Path: normalizedPath }); + if (byPath) return byPath; + + // 2) If looks like blog detail: /blog/slug or /home/blog/slug + if (/^\/(home\/)?blog\//.test(normalizedPath)) { + const slug = normalizedPath.replace(/^\/(home\/)?blog\//, '').replace(/\/$/, ''); + if (slug) { + // Try common blog SEO endpoints + const blogSeo = await safeGet(`${API_URL}/Seo/Blog`, { slug }) + || await safeGet(`${API_URL}/Blog/Seo`, { slug }) + || await safeGet(`${API_URL}/Blog`, { slug }); + if (blogSeo) return blogSeo; + } + } + + return null; + } catch (e) { + return null; + } +} + +async function safeGet(baseUrl, queryObj) { + try { + const qs = new URLSearchParams(queryObj).toString(); + const url = `${baseUrl}?${qs}`; + const response = await axios.get(url); + const data = response.data; + if (data?.statusCode === 1 && Array.isArray(data?.data) && data.data.length > 0) { + return data.data[0]; + } + // Some APIs return object directly + if (data && typeof data === 'object' && !Array.isArray(data)) return data; + return null; + } catch (e) { + return null; + } +} + +function normalizePath(p) { + if (!p) return '/'; + try { + // Remove query/hash, ensure leading slash, collapse duplicate slashes + const onlyPath = p.split('?')[0].split('#')[0] || '/'; + // Collapse multiple slashes to single slash, but preserve path structure + let normalized = onlyPath.replace(/\/+/g, '/'); + if (!normalized.startsWith('/')) normalized = `/${normalized}`; + // Remove trailing slash except for root + if (normalized.length > 1 && normalized.endsWith('/')) { + normalized = normalized.slice(0, -1); + } + console.log('🔍 normalizePath input:', p, '→ output:', normalized); + return normalized; + } catch { + return '/'; + } +} + +// Map routes - support both /home/* and clean routes +function mapToHomeNamespace(p) { + if (!p) return '/'; + const raw = p.split('?')[0].split('#')[0] || '/'; + + // Just normalize and return - we support both /home/ and clean routes now + return normalizePath(raw); +} + +function buildFullUrl(req) { + const proto = (req.headers['x-forwarded-proto'] || req.protocol || 'https').split(',')[0]; + const host = req.headers['x-forwarded-host'] || req.headers.host || 'www.pozo.app'; + const pathOnly = normalizePath(req.path); + return `${proto}://${host}${pathOnly}`; +} + +function replaceOrInsert(html, regex, newTagHtml) { + if (regex.test(html)) { + return html.replace(regex, newTagHtml); + } + // Insert before + if (/<\/head>/i.test(html)) { + return html.replace(/<\/head>/i, `${newTagHtml}\n`); + } + // As a last resort, prepend to document + return `${newTagHtml}\n${html}`; +} + +function escapeHtml(str) { + return String(str || '') + .replace(/&/g, '&') + .replace(//g, '>'); +} + +function escapeAttribute(str) { + return String(str || '') + .replace(/&/g, '&') + .replace(/"/g, '"') + .replace(//g, '>'); +} + +export default seoMiddleware; diff --git a/dist1 (2)/server/server.js b/dist1 (2)/server/server.js new file mode 100644 index 0000000..cc4fc5a --- /dev/null +++ b/dist1 (2)/server/server.js @@ -0,0 +1,26 @@ +import express from 'express'; +import path from 'path'; +import { fileURLToPath } from 'url'; +import seoMiddleware from './seo-middleware.js'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const app = express(); +const PORT = process.env.PORT || 3000; + +// CRITICAL: Apply SEO middleware FIRST (before static files) +// This ensures HTML requests go through SEO middleware +app.use(seoMiddleware); + +// Serve static files (CSS, JS, images) +app.use(express.static(path.join(__dirname, '../dist'))); +// Also mount under /home because Vite base is /home/ +app.use('/home', express.static(path.join(__dirname, '../dist'))); + +app.listen(PORT, () => { + console.log(`Server running on port ${PORT}`); + console.log('Dynamic SEO enabled!'); +}); + +export default app; diff --git a/dist1 (2)/sitemap.xml b/dist1 (2)/sitemap.xml new file mode 100644 index 0000000..b8601d7 --- /dev/null +++ b/dist1 (2)/sitemap.xml @@ -0,0 +1,51 @@ + + + + https://www.pozo.app/home/ + 2024-10-28 + weekly + 1.0 + + + https://www.pozo.app/home/signin + 2024-10-28 + monthly + 0.8 + + + https://www.pozo.app/home/pricing-pozoapp + 2024-10-28 + monthly + 0.9 + + + https://www.pozo.app/home/contact-us + 2024-10-28 + monthly + 0.8 + + + https://www.pozo.app/home/blog + 2024-10-28 + weekly + 0.7 + + + https://www.pozo.app/home/live-Session + 2024-10-28 + monthly + 0.6 + + + https://www.pozo.app/home/features + 2024-10-28 + monthly + 0.8 + + + https://www.pozo.app/home/about + 2024-10-28 + monthly + 0.7 + + \ No newline at end of file diff --git a/dist1 (2)/static/brand/logo.png b/dist1 (2)/static/brand/logo.png new file mode 100644 index 0000000..f354431 Binary files /dev/null and b/dist1 (2)/static/brand/logo.png differ diff --git a/dist1 (2)/sw.js b/dist1 (2)/sw.js new file mode 100644 index 0000000..424e5f8 --- /dev/null +++ b/dist1 (2)/sw.js @@ -0,0 +1,21 @@ +const CACHE_NAME = 'pozoapp-v1'; +const urlsToCache = [ + '/', + '/static/css/main.css', + '/static/js/main.js', + '/og/home.jpg' +]; + +self.addEventListener('install', event => { + event.waitUntil( + caches.open(CACHE_NAME) + .then(cache => cache.addAll(urlsToCache)) + ); +}); + +self.addEventListener('fetch', event => { + event.respondWith( + caches.match(event.request) + .then(response => response || fetch(event.request)) + ); +}); \ No newline at end of file diff --git a/dist1 (2)/vite.svg b/dist1 (2)/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/dist1 (2)/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist1 (2)/web.config b/dist1 (2)/web.config new file mode 100644 index 0000000..7ad3e11 --- /dev/null +++ b/dist1 (2)/web.config @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/dist1/AuthContext b/dist1/AuthContext new file mode 100644 index 0000000..cd9009b --- /dev/null +++ b/dist1/AuthContext @@ -0,0 +1,28 @@ +// AuthContext.jsx +import { createContext, useContext, useEffect, useState } from "react"; + +const AuthCtx = createContext(null); +export const useAuth = () => useContext(AuthCtx); + +export function AuthProvider({ children }) { + const [hasAuthorizedSession, setHasAuthorizedSession] = useState(false); + const [isAuthResolved, setIsAuthResolved] = useState(false); + + useEffect(() => { + (async () => { + try { + // simulate or implement real check (localStorage/cookie/ping) + const token = localStorage.getItem("pozo_token"); + setHasAuthorizedSession(!!token); + } finally { + setIsAuthResolved(true); + } + })(); + }, []); + + return ( + + {children} + + ); +} \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..e8cefa7 --- /dev/null +++ b/index.html @@ -0,0 +1,239 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Retail ERP & POS for Indian MSMEs | POZO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..f5429ad --- /dev/null +++ b/package-lock.json @@ -0,0 +1,12575 @@ +{ + "name": "pozo", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "pozo", + "version": "0.0.0", + "dependencies": { + "@editorjs/code": "^2.9.3", + "@editorjs/delimiter": "^1.4.2", + "@editorjs/editorjs": "^2.31.0", + "@editorjs/embed": "^2.7.6", + "@editorjs/header": "^2.8.8", + "@editorjs/image": "^2.10.3", + "@editorjs/link": "^2.6.2", + "@editorjs/list": "^2.0.8", + "@editorjs/paragraph": "^2.11.7", + "@editorjs/quote": "^2.7.6", + "@reduxjs/toolkit": "^1.9.5", + "@studio-freight/lenis": "^1.0.42", + "@weekwood/editorjs-video": "^1.0.2", + "antd": "^5.4.4", + "aos": "^2.3.4", + "axios": "^1.4.0", + "bowser": "^2.11.0", + "classnames": "^2.3.2", + "crypto-js": "^4.1.1", + "devtools-detect": "^4.0.2", + "exceljs": "^4.3.0", + "framer-motion": "^12.17.0", + "google-maps-react": "^2.0.6", + "gsap": "^3.13.0", + "html2canvas": "^1.4.1", + "html2pdf.js": "^0.10.3", + "informed": "^4.44.1", + "jquery": "^3.7.1", + "jspdf": "^2.5.1", + "moment": "^2.29.4", + "qrcode.react": "^4.2.0", + "react": "^18.2.0", + "react-color": "^2.19.3", + "react-device-detect": "^2.2.3", + "react-dom": "^18.2.0", + "react-excel-renderer": "^1.1.0", + "react-helmet-async": "^2.0.5", + "react-icons": "^4.8.0", + "react-qr-code": "^2.0.15", + "react-redux": "^8.0.5", + "react-router-dom": "^6.11.0", + "react-slick": "^0.29.0", + "rollup-plugin-terser": "^7.0.2", + "sass": "^1.62.0", + "slick-carousel": "^1.8.1", + "split-type": "^0.3.4", + "swiper": "^10.2.0", + "universal-cookie": "^4.0.4", + "uuid": "^11.1.0", + "webfontloader": "^1.6.28", + "xlsx": "^0.18.5" + }, + "devDependencies": { + "@types/react": "^18.0.28", + "@types/react-dom": "^18.0.11", + "@vitejs/plugin-react": "^4.0.0-beta.0", + "eslint": "^8.38.0", + "eslint-plugin-react": "^7.32.2", + "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react-refresh": "^0.3.4", + "react-snap": "^1.23.0", + "vite": "^4.3.0", + "vite-plugin-prerender": "^1.0.8", + "vite-plugin-sitemap": "^0.8.2" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@ant-design/colors": { + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/@ant-design/colors/-/colors-7.2.1.tgz", + "integrity": "sha512-lCHDcEzieu4GA3n8ELeZ5VQ8pKQAWcGGLRTQ50aQM2iqPpq2evTxER84jfdPvsPAtEcZ7m44NI45edFMo8oOYQ==", + "dependencies": { + "@ant-design/fast-color": "^2.0.6" + } + }, + "node_modules/@ant-design/cssinjs": { + "version": "1.23.0", + "resolved": "https://registry.npmjs.org/@ant-design/cssinjs/-/cssinjs-1.23.0.tgz", + "integrity": "sha512-7GAg9bD/iC9ikWatU9ym+P9ugJhi/WbsTWzcKN6T4gU0aehsprtke1UAaaSxxkjjmkJb3llet/rbUSLPgwlY4w==", + "dependencies": { + "@babel/runtime": "^7.11.1", + "@emotion/hash": "^0.8.0", + "@emotion/unitless": "^0.7.5", + "classnames": "^2.3.1", + "csstype": "^3.1.3", + "rc-util": "^5.35.0", + "stylis": "^4.3.4" + }, + "peerDependencies": { + "react": ">=16.0.0", + "react-dom": ">=16.0.0" + } + }, + "node_modules/@ant-design/cssinjs-utils": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@ant-design/cssinjs-utils/-/cssinjs-utils-1.1.3.tgz", + "integrity": "sha512-nOoQMLW1l+xR1Co8NFVYiP8pZp3VjIIzqV6D6ShYF2ljtdwWJn5WSsH+7kvCktXL/yhEtWURKOfH5Xz/gzlwsg==", + "dependencies": { + "@ant-design/cssinjs": "^1.21.0", + "@babel/runtime": "^7.23.2", + "rc-util": "^5.38.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@ant-design/fast-color": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@ant-design/fast-color/-/fast-color-2.0.6.tgz", + "integrity": "sha512-y2217gk4NqL35giHl72o6Zzqji9O7vHh9YmhUVkPtAOpoTCH4uWxo/pr4VE8t0+ChEPs0qo4eJRC5Q1eXWo3vA==", + "dependencies": { + "@babel/runtime": "^7.24.7" + }, + "engines": { + "node": ">=8.x" + } + }, + "node_modules/@ant-design/icons": { + "version": "5.6.1", + "resolved": "https://registry.npmjs.org/@ant-design/icons/-/icons-5.6.1.tgz", + "integrity": "sha512-0/xS39c91WjPAZOWsvi1//zjx6kAp4kxWwctR6kuU6p133w8RU0D2dSCvZC19uQyharg/sAvYxGYWl01BbZZfg==", + "dependencies": { + "@ant-design/colors": "^7.0.0", + "@ant-design/icons-svg": "^4.4.0", + "@babel/runtime": "^7.24.8", + "classnames": "^2.2.6", + "rc-util": "^5.31.1" + }, + "engines": { + "node": ">=8" + }, + "peerDependencies": { + "react": ">=16.0.0", + "react-dom": ">=16.0.0" + } + }, + "node_modules/@ant-design/icons-svg": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/@ant-design/icons-svg/-/icons-svg-4.4.2.tgz", + "integrity": "sha512-vHbT+zJEVzllwP+CM+ul7reTEfBR0vgxFe7+lREAsAA7YGsYpboiq2sQNeQeRvh09GfQgs/GyFEvZpJ9cLXpXA==" + }, + "node_modules/@ant-design/react-slick": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ant-design/react-slick/-/react-slick-1.1.2.tgz", + "integrity": "sha512-EzlvzE6xQUBrZuuhSAFTdsr4P2bBBHGZwKFemEfq8gIGyIQCxalYfZW/T2ORbtQx5rU69o+WycP3exY/7T1hGA==", + "dependencies": { + "@babel/runtime": "^7.10.4", + "classnames": "^2.2.5", + "json2mq": "^0.2.0", + "resize-observer-polyfill": "^1.5.1", + "throttle-debounce": "^5.0.0" + }, + "peerDependencies": { + "react": ">=16.9.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", + "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", + "dependencies": { + "@babel/helper-validator-identifier": "^7.27.1", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.27.2.tgz", + "integrity": "sha512-TUtMJYRPyUb/9aU8f3K0mjmjf6M9N5Woshn2CS6nqJSeJtTtQcpLUXjGt9vbF8ZGff0El99sWkLgzwW3VXnxZQ==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.27.1.tgz", + "integrity": "sha512-IaaGWsQqfsQWVLqMn9OB92MNN7zukfVA4s7KKAI0KfrrDsZ0yhi5uV4baBuLuN7n3vsZpwP8asPPcVwApxvjBQ==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.27.1", + "@babel/generator": "^7.27.1", + "@babel/helper-compilation-targets": "^7.27.1", + "@babel/helper-module-transforms": "^7.27.1", + "@babel/helpers": "^7.27.1", + "@babel/parser": "^7.27.1", + "@babel/template": "^7.27.1", + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/core/node_modules/debug": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/@babel/core/node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@babel/core/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/generator": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.27.1.tgz", + "integrity": "sha512-UnJfnIpc/+JO0/+KRVQNGU+y5taA5vCbwN8+azkX6beii/ZF+enZJSOKo11ZSzGJjlNfJHfQtmQT8H+9TXPG2w==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.27.1", + "@babel/types": "^7.27.1", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz", + "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.27.2", + "@babel/helper-validator-option": "^7.27.1", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz", + "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==", + "dev": true, + "dependencies": { + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.27.1.tgz", + "integrity": "sha512-9yHn519/8KvTU5BjTVEEeIM3w9/2yXNKoD82JifINImhpKkARMJKPP59kLo+BafpdN5zgNeIcS4jsGDmd3l58g==", + "dev": true, + "dependencies": { + "@babel/helper-module-imports": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1", + "@babel/traverse": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz", + "integrity": "sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", + "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz", + "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz", + "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.27.1.tgz", + "integrity": "sha512-FCvFTm0sWV8Fxhpp2McP5/W53GPllQ9QeQ7SiqGWjMf/LVG07lFa5+pgK05IRhVwtvafT22KF+ZSnM9I545CvQ==", + "dev": true, + "dependencies": { + "@babel/template": "^7.27.1", + "@babel/types": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.2.tgz", + "integrity": "sha512-QYLs8299NA7WM/bZAdp+CviYYkVoYXlDW2rzliy3chxd1PQjej7JORuMJDJXJUb9g0TT+B99EwaVLKmX+sPXWw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.27.1" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-self": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.27.1.tgz", + "integrity": "sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-source": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.27.1.tgz", + "integrity": "sha512-zbwoTsBruTeKB9hSq73ha66iFeJHuaFkUbwvqElnygoNbj/jHRsSeokowZFN3CZ64IvEqcmmkVe89OPXc7ldAw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.1.tgz", + "integrity": "sha512-1x3D2xEk2fRo3PAhwQwu5UubzgiVWSXTBfWpVd2Mx2AzRqJuDJCsgaDVZ7HB5iGzDW1Hl1sWN2mFyKjmR9uAog==", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template": { + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz", + "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.27.1", + "@babel/parser": "^7.27.2", + "@babel/types": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.27.1.tgz", + "integrity": "sha512-ZCYtZciz1IWJB4U61UPu4KEaqyfj+r5T1Q5mqPo+IBpcG9kHv30Z0aD8LXPgC1trYa6rK0orRyAhqUgk4MjmEg==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.27.1", + "@babel/generator": "^7.27.1", + "@babel/parser": "^7.27.1", + "@babel/template": "^7.27.1", + "@babel/types": "^7.27.1", + "debug": "^4.3.1", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse/node_modules/debug": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/@babel/traverse/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "node_modules/@babel/types": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.27.1.tgz", + "integrity": "sha512-+EzkxvLNfiUeKMgy/3luqfsCWFRXLb7U6wNQTk60tovuckwB15B191tJWvpp4HjiQWdJkCxO3Wbvc6jlk3Xb2Q==", + "dev": true, + "dependencies": { + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@codexteam/icons": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/@codexteam/icons/-/icons-0.0.5.tgz", + "integrity": "sha512-s6H2KXhLz2rgbMZSkRm8dsMJvyUNZsEjxobBEg9ztdrb1B2H3pEzY6iTwI4XUPJWJ3c3qRKwV4TrO3J5jUdoQA==", + "license": "MIT" + }, + "node_modules/@editorjs/caret": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@editorjs/caret/-/caret-1.0.3.tgz", + "integrity": "sha512-VmgwQJZgL/LQjk049JunzRV1YCa0vDi+BNEpbDmr5cp3lGZllq9QQFO1eI71ZPzvFVn3vvhb+eOif4sAEyGgbw==", + "license": "MIT", + "dependencies": { + "@editorjs/dom": "^1.0.1" + } + }, + "node_modules/@editorjs/code": { + "version": "2.9.3", + "resolved": "https://registry.npmjs.org/@editorjs/code/-/code-2.9.3.tgz", + "integrity": "sha512-nXUrK3CjhpubvShYtcbkpZ9SU15IYwmJOsWZrlWYSzy9unZBRQthii6eABndsCtODzzV0yiSKmTp00RQkFow3Q==", + "license": "MIT", + "dependencies": { + "@codexteam/icons": "^0.3.2" + } + }, + "node_modules/@editorjs/code/node_modules/@codexteam/icons": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@codexteam/icons/-/icons-0.3.3.tgz", + "integrity": "sha512-cp7mkZPgmBuSxigTm3Vb+DtVHYeX7qXfQd7o05vcLD8Ag5WvRlol2QSn5P10k0CDAJwmkH9nQGQLBycErS9lsQ==", + "license": "MIT" + }, + "node_modules/@editorjs/delimiter": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@editorjs/delimiter/-/delimiter-1.4.2.tgz", + "integrity": "sha512-S8q2LpeYdYkVShLp7K8c4HLthDHBevLw+sT+iO0+SH0oMvFmld9SUon3DFzMQ2gG07EOdZGRZ958+sVxyvFjZw==", + "license": "MIT", + "dependencies": { + "@codexteam/icons": "^0.3.2" + } + }, + "node_modules/@editorjs/delimiter/node_modules/@codexteam/icons": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@codexteam/icons/-/icons-0.3.3.tgz", + "integrity": "sha512-cp7mkZPgmBuSxigTm3Vb+DtVHYeX7qXfQd7o05vcLD8Ag5WvRlol2QSn5P10k0CDAJwmkH9nQGQLBycErS9lsQ==", + "license": "MIT" + }, + "node_modules/@editorjs/dom": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@editorjs/dom/-/dom-1.0.1.tgz", + "integrity": "sha512-yLO+86MYOIUr1Jl7SQw23SYT84ggv6aJW0EIRsI3NTHYgnQzmK7Bt2n5ZFupQlB0GJqmKqA5tCue3NKQb+o7Pw==", + "license": "MIT", + "dependencies": { + "@editorjs/helpers": "^1.0.1" + } + }, + "node_modules/@editorjs/editorjs": { + "version": "2.31.0", + "resolved": "https://registry.npmjs.org/@editorjs/editorjs/-/editorjs-2.31.0.tgz", + "integrity": "sha512-CBcIZXtPlg0dSlC5clO9OfTCmcxelj723jd4d67teFlaFJobjjxU1PmMxFJdhaRep5+nqdD0jr+fdJBqEDqt1g==", + "license": "Apache-2.0", + "dependencies": { + "@editorjs/caret": "^1.0.1", + "codex-notifier": "^1.1.2", + "codex-tooltip": "^1.0.5" + } + }, + "node_modules/@editorjs/embed": { + "version": "2.7.6", + "resolved": "https://registry.npmjs.org/@editorjs/embed/-/embed-2.7.6.tgz", + "integrity": "sha512-L3agW/23mOI0L+oksUE9UOR5VSNCqapxLH5lma+5j+idjKCC31nxbx07x53MSJ4rlOTO1L7cFVhkqptEdOliJA==", + "license": "MIT", + "dependencies": { + "@editorjs/editorjs": "^2.29.1" + } + }, + "node_modules/@editorjs/header": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/@editorjs/header/-/header-2.8.8.tgz", + "integrity": "sha512-bsMSs34u2hoi0UBuRoc5EGWXIFzJiwYgkFUYQGVm63y5FU+s8zPBmVx5Ip2sw1xgs0fqfDROqmteMvvmbCy62w==", + "license": "MIT", + "dependencies": { + "@codexteam/icons": "^0.0.5", + "@editorjs/editorjs": "^2.29.1" + } + }, + "node_modules/@editorjs/helpers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@editorjs/helpers/-/helpers-1.0.1.tgz", + "integrity": "sha512-Lmr8ImoQvoROXtzhsIJsA1ZtXzH46DmE6O8hMjn9/AvQq62UfjREjn+Ewi6KxjIZMay2PsgDEbLlsVyNJGEaxw==", + "license": "MIT" + }, + "node_modules/@editorjs/image": { + "version": "2.10.3", + "resolved": "https://registry.npmjs.org/@editorjs/image/-/image-2.10.3.tgz", + "integrity": "sha512-ekCsGICZOIdghF/U2T34H7CItqaWAoJDXbkRD+x8l/LIo/7Ozf7KovYm21qz+CluArgV4RurVFHqwlz+O0vfJA==", + "license": "MIT", + "dependencies": { + "@codexteam/icons": "^0.3.0" + } + }, + "node_modules/@editorjs/image/node_modules/@codexteam/icons": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@codexteam/icons/-/icons-0.3.3.tgz", + "integrity": "sha512-cp7mkZPgmBuSxigTm3Vb+DtVHYeX7qXfQd7o05vcLD8Ag5WvRlol2QSn5P10k0CDAJwmkH9nQGQLBycErS9lsQ==", + "license": "MIT" + }, + "node_modules/@editorjs/link": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@editorjs/link/-/link-2.6.2.tgz", + "integrity": "sha512-3cPx6M4ZvwDDvsi0E0fvMR3rvveAV/C0GRo1JLeZJ9cG9QgyoNolj4eu5Eqx3/r1XTC/he54qYEIZ/Dc4Lr4Ow==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.10.2", + "@codexteam/icons": "^0.0.4" + } + }, + "node_modules/@editorjs/link/node_modules/@codexteam/icons": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@codexteam/icons/-/icons-0.0.4.tgz", + "integrity": "sha512-V8N/TY2TGyas4wLrPIFq7bcow68b3gu8DfDt1+rrHPtXxcexadKauRJL6eQgfG7Z0LCrN4boLRawR4S9gjIh/Q==", + "license": "MIT" + }, + "node_modules/@editorjs/list": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@editorjs/list/-/list-2.0.8.tgz", + "integrity": "sha512-/EJNvpeJYa1YDtYa85ug9R3sbDyI5ZlMHQ2bIh5S9iPa19qXe45jk6kgcew+jMNQq3j4NS4Q6YeeFbU1QkNMWw==", + "license": "MIT", + "dependencies": { + "@codexteam/icons": "^0.3.2" + } + }, + "node_modules/@editorjs/list/node_modules/@codexteam/icons": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@codexteam/icons/-/icons-0.3.3.tgz", + "integrity": "sha512-cp7mkZPgmBuSxigTm3Vb+DtVHYeX7qXfQd7o05vcLD8Ag5WvRlol2QSn5P10k0CDAJwmkH9nQGQLBycErS9lsQ==", + "license": "MIT" + }, + "node_modules/@editorjs/paragraph": { + "version": "2.11.7", + "resolved": "https://registry.npmjs.org/@editorjs/paragraph/-/paragraph-2.11.7.tgz", + "integrity": "sha512-qD6bbWvRc4VvP0mXDOm+hOhzzhUYR9ZjcAvgCuKWcCbUMpCvhVF1s8NX40zdjekPi6JEnuHTamCncTrSzVsVhw==", + "license": "MIT", + "dependencies": { + "@codexteam/icons": "^0.0.4" + } + }, + "node_modules/@editorjs/paragraph/node_modules/@codexteam/icons": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@codexteam/icons/-/icons-0.0.4.tgz", + "integrity": "sha512-V8N/TY2TGyas4wLrPIFq7bcow68b3gu8DfDt1+rrHPtXxcexadKauRJL6eQgfG7Z0LCrN4boLRawR4S9gjIh/Q==", + "license": "MIT" + }, + "node_modules/@editorjs/quote": { + "version": "2.7.6", + "resolved": "https://registry.npmjs.org/@editorjs/quote/-/quote-2.7.6.tgz", + "integrity": "sha512-D01KUMSDj2r+6Z+xjDkQqI+y6URpeHCvj0+P4pah+GtkG040lWjFb2H4pgHFXuol2cbfyAoraYSw85fuPheCvw==", + "license": "MIT", + "dependencies": { + "@codexteam/icons": "^0.3.2", + "@editorjs/dom": "^0.0.5" + } + }, + "node_modules/@editorjs/quote/node_modules/@codexteam/icons": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@codexteam/icons/-/icons-0.3.3.tgz", + "integrity": "sha512-cp7mkZPgmBuSxigTm3Vb+DtVHYeX7qXfQd7o05vcLD8Ag5WvRlol2QSn5P10k0CDAJwmkH9nQGQLBycErS9lsQ==", + "license": "MIT" + }, + "node_modules/@editorjs/quote/node_modules/@editorjs/dom": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/@editorjs/dom/-/dom-0.0.5.tgz", + "integrity": "sha512-SZ78Gwpkp3EUhjBIp0lSojeQ35V9acF8SubJsMeOH/vlOUE40GOnvvwWZnF05lO7bIB0dOHhhJy4N7IIAWxP2w==", + "license": "MIT", + "dependencies": { + "@editorjs/helpers": "^0.0.4" + } + }, + "node_modules/@editorjs/quote/node_modules/@editorjs/helpers": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@editorjs/helpers/-/helpers-0.0.4.tgz", + "integrity": "sha512-ieg3dzo2m1/ELze/RMNADiAiC5amXxIlVXoJ5vvXITOu/p/dPsrF+Oi3h5gBYvtGk9vg5LJUSG5YWU0tBUO1tw==", + "license": "MIT" + }, + "node_modules/@emotion/hash": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz", + "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==" + }, + "node_modules/@emotion/unitless": { + "version": "0.7.5", + "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz", + "integrity": "sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==" + }, + "node_modules/@esbuild/android-arm": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz", + "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz", + "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz", + "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz", + "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz", + "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz", + "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz", + "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz", + "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz", + "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz", + "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz", + "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz", + "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz", + "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz", + "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz", + "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz", + "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz", + "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz", + "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz", + "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz", + "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz", + "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz", + "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz", + "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", + "dev": true, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/debug": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/eslintrc/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "node_modules/@eslint/js": { + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", + "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@fast-csv/format": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@fast-csv/format/-/format-4.3.5.tgz", + "integrity": "sha512-8iRn6QF3I8Ak78lNAa+Gdl5MJJBM5vRHivFtMRUWINdevNo00K7OXxS2PshawLKTejVwieIlPmK5YlLu6w4u8A==", + "dependencies": { + "@types/node": "^14.0.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.isboolean": "^3.0.3", + "lodash.isequal": "^4.5.0", + "lodash.isfunction": "^3.0.9", + "lodash.isnil": "^4.0.0" + } + }, + "node_modules/@fast-csv/format/node_modules/@types/node": { + "version": "14.18.63", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", + "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==", + "license": "MIT" + }, + "node_modules/@fast-csv/parse": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/@fast-csv/parse/-/parse-4.3.6.tgz", + "integrity": "sha512-uRsLYksqpbDmWaSmzvJcuApSEe38+6NQZBUsuAyMZKqHxH0g1wcJgsKUvN3WC8tewaqFjBMMGrkHmC+T7k8LvA==", + "dependencies": { + "@types/node": "^14.0.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.groupby": "^4.6.0", + "lodash.isfunction": "^3.0.9", + "lodash.isnil": "^4.0.0", + "lodash.isundefined": "^3.0.1", + "lodash.uniq": "^4.5.0" + } + }, + "node_modules/@fast-csv/parse/node_modules/@types/node": { + "version": "14.18.63", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", + "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==", + "license": "MIT" + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", + "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", + "deprecated": "Use @eslint/config-array instead", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^2.0.3", + "debug": "^4.3.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/config-array/node_modules/debug": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/@humanwhocodes/config-array/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "deprecated": "Use @eslint/object-schema instead", + "dev": true + }, + "node_modules/@icons/material": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@icons/material/-/material-0.2.4.tgz", + "integrity": "sha512-QPcGmICAPbGLGb6F/yNf/KzKqvFx8z5qx3D1yFqVAjoFmXK35EgyW+cJ57Te3CNsmzblwtzakLGFqHPqrfb4Tw==", + "peerDependencies": { + "react": "*" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", + "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", + "dependencies": { + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", + "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@parcel/watcher": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.1.tgz", + "integrity": "sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==", + "hasInstallScript": true, + "optional": true, + "dependencies": { + "detect-libc": "^1.0.3", + "is-glob": "^4.0.3", + "micromatch": "^4.0.5", + "node-addon-api": "^7.0.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "@parcel/watcher-android-arm64": "2.5.1", + "@parcel/watcher-darwin-arm64": "2.5.1", + "@parcel/watcher-darwin-x64": "2.5.1", + "@parcel/watcher-freebsd-x64": "2.5.1", + "@parcel/watcher-linux-arm-glibc": "2.5.1", + "@parcel/watcher-linux-arm-musl": "2.5.1", + "@parcel/watcher-linux-arm64-glibc": "2.5.1", + "@parcel/watcher-linux-arm64-musl": "2.5.1", + "@parcel/watcher-linux-x64-glibc": "2.5.1", + "@parcel/watcher-linux-x64-musl": "2.5.1", + "@parcel/watcher-win32-arm64": "2.5.1", + "@parcel/watcher-win32-ia32": "2.5.1", + "@parcel/watcher-win32-x64": "2.5.1" + } + }, + "node_modules/@parcel/watcher-android-arm64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.1.tgz", + "integrity": "sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-arm64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.1.tgz", + "integrity": "sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.1.tgz", + "integrity": "sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-freebsd-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.1.tgz", + "integrity": "sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-glibc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.1.tgz", + "integrity": "sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-musl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.1.tgz", + "integrity": "sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-glibc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.1.tgz", + "integrity": "sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-musl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.1.tgz", + "integrity": "sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-glibc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.1.tgz", + "integrity": "sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-musl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.1.tgz", + "integrity": "sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-arm64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.1.tgz", + "integrity": "sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-ia32": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.1.tgz", + "integrity": "sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==", + "cpu": [ + "ia32" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.1.tgz", + "integrity": "sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher/node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "optional": true, + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@parcel/watcher/node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "optional": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@parcel/watcher/node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "optional": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/@parcel/watcher/node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "optional": true, + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/@parcel/watcher/node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "optional": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/@prerenderer/prerenderer": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@prerenderer/prerenderer/-/prerenderer-0.7.2.tgz", + "integrity": "sha512-zWG3uFnrQWDJQoSzGB8bOnNhJCgIiylVYDFBP7Nw2LqngHOqwvpdBtGSjfajC8+fdR/iB2FqMqe27cfdmf/8TQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "express": "^4.16.2", + "http-proxy-middleware": "^0.18.0", + "portfinder": "^1.0.13" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/@prerenderer/renderer-puppeteer": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@prerenderer/renderer-puppeteer/-/renderer-puppeteer-0.2.0.tgz", + "integrity": "sha512-sC8WBcYcXbqm6premzCcUNDRROtAwBtBewUuzHyKcYDqU6InqjfpUQEXdIlhikN0gvqzlJy1+c7OJSfNYi4/tg==", + "dev": true, + "license": "MIT", + "dependencies": { + "promise-limit": "^2.5.0", + "puppeteer": "^1.7.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/@rc-component/async-validator": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@rc-component/async-validator/-/async-validator-5.0.4.tgz", + "integrity": "sha512-qgGdcVIF604M9EqjNF0hbUTz42bz/RDtxWdWuU5EQe3hi7M8ob54B6B35rOsvX5eSvIHIzT9iH1R3n+hk3CGfg==", + "dependencies": { + "@babel/runtime": "^7.24.4" + }, + "engines": { + "node": ">=14.x" + } + }, + "node_modules/@rc-component/color-picker": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@rc-component/color-picker/-/color-picker-2.0.1.tgz", + "integrity": "sha512-WcZYwAThV/b2GISQ8F+7650r5ZZJ043E57aVBFkQ+kSY4C6wdofXgB0hBx+GPGpIU0Z81eETNoDUJMr7oy/P8Q==", + "dependencies": { + "@ant-design/fast-color": "^2.0.6", + "@babel/runtime": "^7.23.6", + "classnames": "^2.2.6", + "rc-util": "^5.38.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@rc-component/context": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@rc-component/context/-/context-1.4.0.tgz", + "integrity": "sha512-kFcNxg9oLRMoL3qki0OMxK+7g5mypjgaaJp/pkOis/6rVxma9nJBF/8kCIuTYHUQNr0ii7MxqE33wirPZLJQ2w==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "rc-util": "^5.27.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@rc-component/mini-decimal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@rc-component/mini-decimal/-/mini-decimal-1.1.0.tgz", + "integrity": "sha512-jS4E7T9Li2GuYwI6PyiVXmxTiM6b07rlD9Ge8uGZSCz3WlzcG5ZK7g5bbuKNeZ9pgUuPK/5guV781ujdVpm4HQ==", + "dependencies": { + "@babel/runtime": "^7.18.0" + }, + "engines": { + "node": ">=8.x" + } + }, + "node_modules/@rc-component/mutate-observer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@rc-component/mutate-observer/-/mutate-observer-1.1.0.tgz", + "integrity": "sha512-QjrOsDXQusNwGZPf4/qRQasg7UFEj06XiCJ8iuiq/Io7CrHrgVi6Uuetw60WAMG1799v+aM8kyc+1L/GBbHSlw==", + "dependencies": { + "@babel/runtime": "^7.18.0", + "classnames": "^2.3.2", + "rc-util": "^5.24.4" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@rc-component/portal": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@rc-component/portal/-/portal-1.1.2.tgz", + "integrity": "sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==", + "dependencies": { + "@babel/runtime": "^7.18.0", + "classnames": "^2.3.2", + "rc-util": "^5.24.4" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@rc-component/qrcode": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@rc-component/qrcode/-/qrcode-1.0.0.tgz", + "integrity": "sha512-L+rZ4HXP2sJ1gHMGHjsg9jlYBX/SLN2D6OxP9Zn3qgtpMWtO2vUfxVFwiogHpAIqs54FnALxraUy/BCO1yRIgg==", + "dependencies": { + "@babel/runtime": "^7.24.7", + "classnames": "^2.3.2", + "rc-util": "^5.38.0" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@rc-component/tour": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/@rc-component/tour/-/tour-1.15.1.tgz", + "integrity": "sha512-Tr2t7J1DKZUpfJuDZWHxyxWpfmj8EZrqSgyMZ+BCdvKZ6r1UDsfU46M/iWAAFBy961Ssfom2kv5f3UcjIL2CmQ==", + "dependencies": { + "@babel/runtime": "^7.18.0", + "@rc-component/portal": "^1.0.0-9", + "@rc-component/trigger": "^2.0.0", + "classnames": "^2.3.2", + "rc-util": "^5.24.4" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@rc-component/trigger": { + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/@rc-component/trigger/-/trigger-2.2.6.tgz", + "integrity": "sha512-/9zuTnWwhQ3S3WT1T8BubuFTT46kvnXgaERR9f4BTKyn61/wpf/BvbImzYBubzJibU707FxwbKszLlHjcLiv1Q==", + "dependencies": { + "@babel/runtime": "^7.23.2", + "@rc-component/portal": "^1.1.0", + "classnames": "^2.3.2", + "rc-motion": "^2.0.0", + "rc-resize-observer": "^1.3.1", + "rc-util": "^5.44.0" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/@reduxjs/toolkit": { + "version": "1.9.7", + "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-1.9.7.tgz", + "integrity": "sha512-t7v8ZPxhhKgOKtU+uyJT13lu4vL7az5aFi4IdoDs/eS548edn2M8Ik9h8fxgvMjGoAUVFSt6ZC1P5cWmQ014QQ==", + "dependencies": { + "immer": "^9.0.21", + "redux": "^4.2.1", + "redux-thunk": "^2.4.2", + "reselect": "^4.1.8" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18", + "react-redux": "^7.2.1 || ^8.0.2" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-redux": { + "optional": true + } + } + }, + "node_modules/@remix-run/router": { + "version": "1.23.0", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.23.0.tgz", + "integrity": "sha512-O3rHJzAQKamUz1fvE0Qaw0xSFqsA/yafi2iqeE0pvdFtCO1viYx8QL6f3Ln/aCCTLxs68SLf0KPM9eSeM8yBnA==", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@studio-freight/lenis": { + "version": "1.0.42", + "resolved": "https://registry.npmjs.org/@studio-freight/lenis/-/lenis-1.0.42.tgz", + "integrity": "sha512-HJAGf2DeM+BTvKzHv752z6Z7zy6bA643nZM7W88Ft9tnw2GsJSp6iJ+3cekjyMIWH+cloL2U9X82dKXgdU8kPg==", + "deprecated": "The '@studio-freight/lenis' package has been renamed to 'lenis'. Please update your dependencies: npm install lenis and visit the documentation: https://www.npmjs.com/package/lenis" + }, + "node_modules/@types/babel__core": { + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz", + "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", + "dev": true, + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.7.tgz", + "integrity": "sha512-dkO5fhS7+/oos4ciWxyEyjWe48zmG6wbCheo/G2ZnHx4fs3EU6YC6UM8rk56gAjNJ9P3MTH2jo5jb92/K6wbng==", + "dev": true, + "dependencies": { + "@babel/types": "^7.20.7" + } + }, + "node_modules/@types/cookie": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.3.3.tgz", + "integrity": "sha512-LKVP3cgXBT9RYj+t+9FDKwS5tdI+rPBXaNSkma7hvqy35lc7mAokC2zsqWJH0LaqIt3B962nuYI77hsJoT1gow==", + "license": "MIT" + }, + "node_modules/@types/hoist-non-react-statics": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.6.tgz", + "integrity": "sha512-lPByRJUer/iN/xa4qpyL0qmL11DqNW81iU/IG1S3uvRUq4oKagz8VCxZjiWkumgt66YT3vOdDgZ0o32sGKtCEw==", + "dependencies": { + "@types/react": "*", + "hoist-non-react-statics": "^3.3.0" + } + }, + "node_modules/@types/hoist-non-react-statics/node_modules/@types/react": { + "version": "19.1.4", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.4.tgz", + "integrity": "sha512-EB1yiiYdvySuIITtD5lhW4yPyJ31RkJkkDw794LaQYrxCSaQV/47y5o1FMC4zF9ZyjUjzJMZwbovEnT5yHTW6g==", + "dependencies": { + "csstype": "^3.0.2" + } + }, + "node_modules/@types/node": { + "version": "24.9.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.9.1.tgz", + "integrity": "sha512-QoiaXANRkSXK6p0Duvt56W208du4P9Uye9hWLWgGMDTEoKPhuenzNcC4vGUmrNkiOKTlIrBoyNQYNpSwfEZXSg==", + "license": "MIT", + "dependencies": { + "undici-types": "~7.16.0" + } + }, + "node_modules/@types/pako": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@types/pako/-/pako-2.0.4.tgz", + "integrity": "sha512-VWDCbrLeVXJM9fihYodcLiIv0ku+AlOa/TQ1SvYOaBuyrSKgEcro95LJyIsJ4vSo6BXIxOKxiJAat04CmST9Fw==", + "license": "MIT" + }, + "node_modules/@types/prop-types": { + "version": "15.7.14", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.14.tgz", + "integrity": "sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==", + "dev": true + }, + "node_modules/@types/raf": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/@types/raf/-/raf-3.4.3.tgz", + "integrity": "sha512-c4YAvMedbPZ5tEyxzQdMoOhhJ4RD3rngZIdwC2/qDN3d7JpEhB6fiBRKVY1lg5B7Wk+uPBjn5f39j1/2MY1oOw==", + "optional": true + }, + "node_modules/@types/react": { + "version": "18.3.21", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.21.tgz", + "integrity": "sha512-gXLBtmlcRJeT09/sI4PxVwyrku6SaNUj/6cMubjE6T6XdY1fDmBL7r0nX0jbSZPU/Xr0KuwLLZh6aOYY5d91Xw==", + "dev": true, + "dependencies": { + "@types/prop-types": "*", + "csstype": "^3.0.2" + } + }, + "node_modules/@types/react-dom": { + "version": "18.3.7", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz", + "integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==", + "dev": true, + "peerDependencies": { + "@types/react": "^18.0.0" + } + }, + "node_modules/@types/trusted-types": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", + "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", + "license": "MIT", + "optional": true + }, + "node_modules/@types/use-sync-external-store": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz", + "integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA==" + }, + "node_modules/@ungap/structured-clone": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz", + "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==", + "dev": true + }, + "node_modules/@vitejs/plugin-react": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.4.1.tgz", + "integrity": "sha512-IpEm5ZmeXAP/osiBXVVP5KjFMzbWOonMs0NaQQl+xYnUAcq4oHUBsF2+p4MgKWG4YMmFYJU8A6sxRPuowllm6w==", + "dev": true, + "dependencies": { + "@babel/core": "^7.26.10", + "@babel/plugin-transform-react-jsx-self": "^7.25.9", + "@babel/plugin-transform-react-jsx-source": "^7.25.9", + "@types/babel__core": "^7.20.5", + "react-refresh": "^0.17.0" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "peerDependencies": { + "vite": "^4.2.0 || ^5.0.0 || ^6.0.0" + } + }, + "node_modules/@webassemblyjs/ast": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", + "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", + "dependencies": { + "@webassemblyjs/helper-module-context": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/wast-parser": "1.9.0" + } + }, + "node_modules/@webassemblyjs/floating-point-hex-parser": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz", + "integrity": "sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA==" + }, + "node_modules/@webassemblyjs/helper-api-error": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz", + "integrity": "sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==" + }, + "node_modules/@webassemblyjs/helper-buffer": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz", + "integrity": "sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==" + }, + "node_modules/@webassemblyjs/helper-code-frame": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.0.tgz", + "integrity": "sha512-ERCYdJBkD9Vu4vtjUYe8LZruWuNIToYq/ME22igL+2vj2dQ2OOujIZr3MEFvfEaqKoVqpsFKAGsRdBSBjrIvZA==", + "dependencies": { + "@webassemblyjs/wast-printer": "1.9.0" + } + }, + "node_modules/@webassemblyjs/helper-fsm": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.0.tgz", + "integrity": "sha512-OPRowhGbshCb5PxJ8LocpdX9Kl0uB4XsAjl6jH/dWKlk/mzsANvhwbiULsaiqT5GZGT9qinTICdj6PLuM5gslw==" + }, + "node_modules/@webassemblyjs/helper-module-context": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.0.tgz", + "integrity": "sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g==", + "dependencies": { + "@webassemblyjs/ast": "1.9.0" + } + }, + "node_modules/@webassemblyjs/helper-wasm-bytecode": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", + "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==" + }, + "node_modules/@webassemblyjs/helper-wasm-section": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz", + "integrity": "sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==", + "dependencies": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-buffer": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/wasm-gen": "1.9.0" + } + }, + "node_modules/@webassemblyjs/ieee754": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz", + "integrity": "sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==", + "dependencies": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "node_modules/@webassemblyjs/leb128": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.9.0.tgz", + "integrity": "sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==", + "dependencies": { + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/utf8": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.9.0.tgz", + "integrity": "sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==" + }, + "node_modules/@webassemblyjs/wasm-edit": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz", + "integrity": "sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==", + "dependencies": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-buffer": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/helper-wasm-section": "1.9.0", + "@webassemblyjs/wasm-gen": "1.9.0", + "@webassemblyjs/wasm-opt": "1.9.0", + "@webassemblyjs/wasm-parser": "1.9.0", + "@webassemblyjs/wast-printer": "1.9.0" + } + }, + "node_modules/@webassemblyjs/wasm-gen": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz", + "integrity": "sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==", + "dependencies": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/ieee754": "1.9.0", + "@webassemblyjs/leb128": "1.9.0", + "@webassemblyjs/utf8": "1.9.0" + } + }, + "node_modules/@webassemblyjs/wasm-opt": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz", + "integrity": "sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==", + "dependencies": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-buffer": "1.9.0", + "@webassemblyjs/wasm-gen": "1.9.0", + "@webassemblyjs/wasm-parser": "1.9.0" + } + }, + "node_modules/@webassemblyjs/wasm-parser": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz", + "integrity": "sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==", + "dependencies": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-api-error": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/ieee754": "1.9.0", + "@webassemblyjs/leb128": "1.9.0", + "@webassemblyjs/utf8": "1.9.0" + } + }, + "node_modules/@webassemblyjs/wast-parser": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.9.0.tgz", + "integrity": "sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw==", + "dependencies": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/floating-point-hex-parser": "1.9.0", + "@webassemblyjs/helper-api-error": "1.9.0", + "@webassemblyjs/helper-code-frame": "1.9.0", + "@webassemblyjs/helper-fsm": "1.9.0", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/wast-printer": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz", + "integrity": "sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==", + "dependencies": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/wast-parser": "1.9.0", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@weekwood/editorjs-video": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@weekwood/editorjs-video/-/editorjs-video-1.0.2.tgz", + "integrity": "sha512-Ov31N1vzJok4V/6BZCo5h+oNMgIHJDRhoYL8ywnV3t+RrHIoffgCJeByC44AX6qfFb2J894qjdAqDS0KdcCqTw==", + "license": "MIT", + "dependencies": { + "react-player": "^2.9.0" + } + }, + "node_modules/@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==" + }, + "node_modules/@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==" + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acorn": { + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", + "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/adler-32": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/adler-32/-/adler-32-1.2.0.tgz", + "integrity": "sha512-/vUqU/UY4MVeFsg+SsK6c+/05RZXIHZMGJA+PX5JyWI0ZRcBpupnRuPLU/NXXoFwMYCPCoxIfElM2eS+DUXCqQ==", + "dependencies": { + "exit-on-epipe": "~1.0.1", + "printj": "~1.1.0" + }, + "bin": { + "adler32": "bin/adler32.njs" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/agent-base": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz", + "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==", + "dev": true, + "license": "MIT", + "dependencies": { + "es6-promisify": "^5.0.0" + }, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-errors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz", + "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==", + "peerDependencies": { + "ajv": ">=5.0.0" + } + }, + "node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/antd": { + "version": "5.25.2", + "resolved": "https://registry.npmjs.org/antd/-/antd-5.25.2.tgz", + "integrity": "sha512-7R2nUvlHhey7Trx64+hCtGXOiy+DTUs1Lv5bwbV1LzEIZIhWb0at1AM6V3K108a5lyoR9n7DX3ptlLF7uYV/DQ==", + "dependencies": { + "@ant-design/colors": "^7.2.0", + "@ant-design/cssinjs": "^1.23.0", + "@ant-design/cssinjs-utils": "^1.1.3", + "@ant-design/fast-color": "^2.0.6", + "@ant-design/icons": "^5.6.1", + "@ant-design/react-slick": "~1.1.2", + "@babel/runtime": "^7.26.0", + "@rc-component/color-picker": "~2.0.1", + "@rc-component/mutate-observer": "^1.1.0", + "@rc-component/qrcode": "~1.0.0", + "@rc-component/tour": "~1.15.1", + "@rc-component/trigger": "^2.2.6", + "classnames": "^2.5.1", + "copy-to-clipboard": "^3.3.3", + "dayjs": "^1.11.11", + "rc-cascader": "~3.34.0", + "rc-checkbox": "~3.5.0", + "rc-collapse": "~3.9.0", + "rc-dialog": "~9.6.0", + "rc-drawer": "~7.2.0", + "rc-dropdown": "~4.2.1", + "rc-field-form": "~2.7.0", + "rc-image": "~7.12.0", + "rc-input": "~1.8.0", + "rc-input-number": "~9.5.0", + "rc-mentions": "~2.20.0", + "rc-menu": "~9.16.1", + "rc-motion": "^2.9.5", + "rc-notification": "~5.6.4", + "rc-pagination": "~5.1.0", + "rc-picker": "~4.11.3", + "rc-progress": "~4.0.0", + "rc-rate": "~2.13.1", + "rc-resize-observer": "^1.4.3", + "rc-segmented": "~2.7.0", + "rc-select": "~14.16.8", + "rc-slider": "~11.1.8", + "rc-steps": "~6.0.1", + "rc-switch": "~4.1.0", + "rc-table": "~7.50.5", + "rc-tabs": "~15.6.1", + "rc-textarea": "~1.10.0", + "rc-tooltip": "~6.4.0", + "rc-tree": "~5.13.1", + "rc-tree-select": "~5.27.0", + "rc-upload": "~4.9.0", + "rc-util": "^5.44.4", + "scroll-into-view-if-needed": "^3.1.0", + "throttle-debounce": "^5.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/ant-design" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "optional": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/aos": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/aos/-/aos-2.3.4.tgz", + "integrity": "sha512-zh/ahtR2yME4I51z8IttIt4lC1Nw0ktsFtmeDzID1m9naJnWXhCoARaCgNOGXb5CLy3zm+wqmRAEgMYB5E2HUw==", + "dependencies": { + "classlist-polyfill": "^1.0.3", + "lodash.debounce": "^4.0.6", + "lodash.throttle": "^4.0.1" + } + }, + "node_modules/aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" + }, + "node_modules/archiver": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/archiver/-/archiver-5.3.2.tgz", + "integrity": "sha512-+25nxyyznAXF7Nef3y0EbBeqmGZgeN/BxHX29Rs39djAfaFalmQ89SE6CWyDCHzGL0yt/ycBtNOmGTW0FyGWNw==", + "dependencies": { + "archiver-utils": "^2.1.0", + "async": "^3.2.4", + "buffer-crc32": "^0.2.1", + "readable-stream": "^3.6.0", + "readdir-glob": "^1.1.2", + "tar-stream": "^2.2.0", + "zip-stream": "^4.1.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/archiver-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-2.1.0.tgz", + "integrity": "sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==", + "dependencies": { + "glob": "^7.1.4", + "graceful-fs": "^4.2.0", + "lazystream": "^1.0.0", + "lodash.defaults": "^4.2.0", + "lodash.difference": "^4.5.0", + "lodash.flatten": "^4.4.0", + "lodash.isplainobject": "^4.0.6", + "lodash.union": "^4.6.0", + "normalize-path": "^3.0.0", + "readable-stream": "^2.0.0" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/archiver-utils/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array-buffer-byte-length": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz", + "integrity": "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.3", + "is-array-buffer": "^3.0.5" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/array-includes": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", + "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.4", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array.prototype.findlast": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz", + "integrity": "sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-shim-unscopables": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flat": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.3.tgz", + "integrity": "sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-shim-unscopables": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flatmap": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz", + "integrity": "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-shim-unscopables": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.tosorted": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz", + "integrity": "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.3", + "es-errors": "^1.3.0", + "es-shim-unscopables": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/arraybuffer.prototype.slice": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz", + "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==", + "dev": true, + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "is-array-buffer": "^3.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/asn1.js": { + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz", + "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==", + "dependencies": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/asn1.js/node_modules/bn.js": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.2.tgz", + "integrity": "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw==" + }, + "node_modules/assert": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.1.tgz", + "integrity": "sha512-zzw1uCAgLbsKwBfFc8CX78DDg+xZeBksSO3vwVIDDN5i94eOrPsSSyiVhmsSABFDM/OcpE2aagCat9dnWQLG1A==", + "dependencies": { + "object.assign": "^4.1.4", + "util": "^0.10.4" + } + }, + "node_modules/assert/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==" + }, + "node_modules/assert/node_modules/util": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", + "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", + "dependencies": { + "inherits": "2.0.3" + } + }, + "node_modules/assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/async": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==" + }, + "node_modules/async-each": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.6.tgz", + "integrity": "sha512-c646jH1avxr+aVpndVMeAfYw7wAa6idufrlN3LPA4PmKS0QEGp6PIC9nwz0WQkkvBGAMEki3pFdtxaF39J9vvg==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "optional": true + }, + "node_modules/async-function": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz", + "integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/async-limiter": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", + "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" + }, + "node_modules/atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, + "node_modules/available-typed-arrays": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/axios": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.12.2.tgz", + "integrity": "sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.4", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "node_modules/base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dependencies": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/is-descriptor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.3.tgz", + "integrity": "sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==", + "dependencies": { + "is-accessor-descriptor": "^1.0.1", + "is-data-descriptor": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/base64-arraybuffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz", + "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==", + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/big-integer": { + "version": "1.6.52", + "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.52.tgz", + "integrity": "sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "engines": { + "node": "*" + } + }, + "node_modules/binary": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/binary/-/binary-0.3.0.tgz", + "integrity": "sha512-D4H1y5KYwpJgK8wk1Cue5LLPgmwHKYSChkbspQg5JtVuR5ulGckxfR62H3AE9UDkdMC8yyXlqYihuz3Aqg2XZg==", + "dependencies": { + "buffers": "~0.1.1", + "chainsaw": "~0.1.0" + }, + "engines": { + "node": "*" + } + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "optional": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/bindings": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", + "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "license": "MIT", + "optional": true, + "dependencies": { + "file-uri-to-path": "1.0.0" + } + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/bluebird": { + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.4.7.tgz", + "integrity": "sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA==" + }, + "node_modules/bn.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.2.tgz", + "integrity": "sha512-v2YAxEmKaBLahNwE1mjp4WON6huMNeuDvagFZW+ASCuA/ku0bXR9hSMw0XpiqMoA3+rmnyck/tPRSFQkoC9Cuw==" + }, + "node_modules/body-parser": { + "version": "1.18.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.3.tgz", + "integrity": "sha512-YQyoqQG3sO8iCmf8+hyVpgHHOv0/hCEFiS4zTGUwTA1HjAFX66wRcNQrVCeJq9pgESMRvUAOvSil5MJlmccuKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.0.0", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "~1.6.3", + "iconv-lite": "0.4.23", + "on-finished": "~2.3.0", + "qs": "6.5.2", + "raw-body": "2.3.3", + "type-is": "~1.6.16" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/body-parser/node_modules/qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", + "dev": true, + "license": "ISC" + }, + "node_modules/bowser": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz", + "integrity": "sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==" + }, + "node_modules/brace-expansion": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dependencies": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/braces/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==" + }, + "node_modules/browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "dependencies": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "dependencies": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "node_modules/browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "dependencies": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/browserify-rsa": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.1.tgz", + "integrity": "sha512-YBjSAiTqM04ZVei6sXighu679a3SqWORA3qZTEqZImnlkDIFtKc6pNutpjyZ8RJTjQtuYfeetkxM11GwoYXMIQ==", + "dependencies": { + "bn.js": "^5.2.1", + "randombytes": "^2.1.0", + "safe-buffer": "^5.2.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/browserify-rsa/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/browserify-sign": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.3.tgz", + "integrity": "sha512-JWCZW6SKhfhjJxO8Tyiiy+XYB7cqd2S5/+WeYHsKdNKFlCBhKbblba1A/HN/90YwtxKc8tCErjffZl++UNmGiw==", + "dependencies": { + "bn.js": "^5.2.1", + "browserify-rsa": "^4.1.0", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.5", + "hash-base": "~3.0", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.7", + "readable-stream": "^2.3.8", + "safe-buffer": "^5.2.1" + }, + "engines": { + "node": ">= 0.12" + } + }, + "node_modules/browserify-sign/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/browserify-sign/node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/browserify-sign/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/browserify-zlib": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", + "dependencies": { + "pako": "~1.0.5" + } + }, + "node_modules/browserslist": { + "version": "4.24.5", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.5.tgz", + "integrity": "sha512-FDToo4Wo82hIdgc1CQ+NQD0hEhmpPjrZ3hiUgwgOG6IuTdlpr8jdjyG24P6cNP1yJpTLzS5OcGgSw0xmDU1/Tw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001716", + "electron-to-chromium": "^1.5.149", + "node-releases": "^2.0.19", + "update-browserslist-db": "^1.1.3" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/btoa": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", + "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", + "license": "(MIT OR Apache-2.0)", + "bin": { + "btoa": "bin/btoa.js" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", + "engines": { + "node": "*" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + }, + "node_modules/buffer-indexof-polyfill": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/buffer-indexof-polyfill/-/buffer-indexof-polyfill-1.0.2.tgz", + "integrity": "sha512-I7wzHwA3t1/lwXQh+A5PbNvJxgfo5r3xulgpYDB5zckTu/Z9oUK9biouBKQUjEqzaz3HnAT6TYoovmE+GqSf7A==", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==" + }, + "node_modules/buffers": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/buffers/-/buffers-0.1.1.tgz", + "integrity": "sha512-9q/rDEGSb/Qsvv2qvzIzdluL5k7AaJOTrw23z9reQthrbF7is4CtlT0DXyO1oei2DCp4uojjzQ7igaSHp1kAEQ==", + "engines": { + "node": ">=0.2.0" + } + }, + "node_modules/builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ==" + }, + "node_modules/bytes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", + "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/cacache": { + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.4.tgz", + "integrity": "sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ==", + "dependencies": { + "bluebird": "^3.5.5", + "chownr": "^1.1.1", + "figgy-pudding": "^3.5.1", + "glob": "^7.1.4", + "graceful-fs": "^4.1.15", + "infer-owner": "^1.0.3", + "lru-cache": "^5.1.1", + "mississippi": "^3.0.0", + "mkdirp": "^0.5.1", + "move-concurrently": "^1.0.1", + "promise-inflight": "^1.0.1", + "rimraf": "^2.6.3", + "ssri": "^6.0.1", + "unique-filename": "^1.1.1", + "y18n": "^4.0.0" + } + }, + "node_modules/cacache/node_modules/bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + }, + "node_modules/cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dependencies": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/call-bind": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz", + "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.0", + "es-define-property": "^1.0.0", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/camel-case": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz", + "integrity": "sha512-+MbKztAYHXPr1jNTSKQF52VpcFjwY5RkR7fxksV8Doo4KAYc5Fl4UJRgthBbTmEx8C54DqahhbLJkDwjI3PI/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0", + "upper-case": "^1.1.1" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001718", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001718.tgz", + "integrity": "sha512-AflseV1ahcSunK53NfEs9gFWgOEmzr0f+kaMFA4xiLZlr9Hzt7HxcSpIFcnNCUkz6R6dWKa54rUz3HUmI3nVcw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] + }, + "node_modules/canvg": { + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/canvg/-/canvg-3.0.11.tgz", + "integrity": "sha512-5ON+q7jCTgMp9cjpu4Jo6XbvfYwSB2Ow3kzHKfIyJfaCAOHLbdKPQqGKgfED/R5B+3TFFfe8pegYA+b423SRyA==", + "optional": true, + "dependencies": { + "@babel/runtime": "^7.12.5", + "@types/raf": "^3.4.0", + "core-js": "^3.8.3", + "raf": "^3.4.1", + "regenerator-runtime": "^0.13.7", + "rgbcolor": "^1.0.1", + "stackblur-canvas": "^2.0.0", + "svg-pathdata": "^6.0.3" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/cfb": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cfb/-/cfb-1.2.2.tgz", + "integrity": "sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==", + "dependencies": { + "adler-32": "~1.3.0", + "crc-32": "~1.2.0" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/cfb/node_modules/adler-32": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/adler-32/-/adler-32-1.3.1.tgz", + "integrity": "sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A==", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/chainsaw": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/chainsaw/-/chainsaw-0.1.0.tgz", + "integrity": "sha512-75kWfWt6MEKNC8xYXIdRpDehRYY/tNSgwKaJq+dbbDcxORuVrrQ+SEHoWsniVn9XPYfP4gmdWIeDk/4YNp1rNQ==", + "dependencies": { + "traverse": ">=0.3.0 <0.4" + }, + "engines": { + "node": "*" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/cheerio": { + "version": "1.0.0-rc.2", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz", + "integrity": "sha512-9LDHQy1jHc/eXMzPN6/oah9Qba4CjdKECC7YYEE/2zge/tsGwt19NQp5NFdfd5Lx6TZlyC5SXNQkG41P9r6XDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash": "^4.15.0", + "parse5": "^3.0.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "optional": true, + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "optional": true, + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/chokidar/node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "optional": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/chokidar/node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "optional": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/chokidar/node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "optional": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" + }, + "node_modules/chrome-trace-event": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz", + "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==", + "engines": { + "node": ">=6.0" + } + }, + "node_modules/cipher-base": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.6.tgz", + "integrity": "sha512-3Ek9H3X6pj5TgenXYtNWdaBon1tgYCaebd+XPg0keyjEbEfkD4KkmAxkQ/i1vYvxdcT5nscLBfq9VJRmCBcFSw==", + "dependencies": { + "inherits": "^2.0.4", + "safe-buffer": "^5.2.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/cipher-base/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dependencies": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/classlist-polyfill": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/classlist-polyfill/-/classlist-polyfill-1.2.0.tgz", + "integrity": "sha512-GzIjNdcEtH4ieA2S8NmrSxv7DfEV5fmixQeyTmqmRmRJPGpRBaSnA2a0VrCjyT8iW8JjEdMbKzDotAJf+ajgaQ==" + }, + "node_modules/classnames": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", + "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==" + }, + "node_modules/clean-css": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.1.tgz", + "integrity": "sha512-4ZxI6dy4lrY6FHzfiy1aEOXgu4LIsW2MhwG0VBKdcoGoH/XLFgaHSdLTGr4O8Be6A8r3MOphEiI8Gc1n0ecf3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "source-map": "~0.6.0" + }, + "engines": { + "node": ">= 4.0" + } + }, + "node_modules/clean-css/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/codepage": { + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/codepage/-/codepage-1.14.0.tgz", + "integrity": "sha512-iz3zJLhlrg37/gYRWgEPkaFTtzmnEv1h+r7NgZum2lFElYQPi0/5bnmuDfODHxfp0INEfnRqyfyeIJDbb7ahRw==", + "dependencies": { + "commander": "~2.14.1", + "exit-on-epipe": "~1.0.1" + }, + "bin": { + "codepage": "bin/codepage.njs" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/codepage/node_modules/commander": { + "version": "2.14.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.14.1.tgz", + "integrity": "sha512-+YR16o3rK53SmWHU3rEM3tPAh2rwb1yPcQX5irVn7mb0gXbwuCCrnkbV5+PBfETdfg1vui07nM6PCG1zndcjQw==" + }, + "node_modules/codex-notifier": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/codex-notifier/-/codex-notifier-1.1.2.tgz", + "integrity": "sha512-DCp6xe/LGueJ1N5sXEwcBc3r3PyVkEEDNWCVigfvywAkeXcZMk9K41a31tkEFBW0Ptlwji6/JlAb49E3Yrxbtg==", + "license": "MIT" + }, + "node_modules/codex-tooltip": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/codex-tooltip/-/codex-tooltip-1.0.5.tgz", + "integrity": "sha512-IuA8LeyLU5p1B+HyhOsqR6oxyFQ11k3i9e9aXw40CrHFTRO2Y1npNBVU3W1SvhKAbUU7R/YikUBdcYFP0RcJag==", + "license": "MIT" + }, + "node_modules/collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==", + "dependencies": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + }, + "node_modules/commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==" + }, + "node_modules/component-emitter": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.1.tgz", + "integrity": "sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/compress-commons": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-4.1.2.tgz", + "integrity": "sha512-D3uMHtGc/fcO1Gt1/L7i1e33VOvD4A9hfQLP+6ewd+BvG/gQ84Yh4oftEhAdjSMgBgwGL+jsppT7JYNpo6MHHg==", + "dependencies": { + "buffer-crc32": "^0.2.13", + "crc32-stream": "^4.0.2", + "normalize-path": "^3.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/compute-scroll-into-view": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-3.1.1.tgz", + "integrity": "sha512-VRhuHOLoKYOy4UbilLbUzbYg93XLjv2PncJC50EuTWPA3gaja1UjBsUP/D/9/juV3vQFr6XBEzn9KCAHdUvOHw==" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + }, + "node_modules/concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "engines": [ + "node >= 0.8" + ], + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/concat-stream/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/console-browserify": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", + "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==" + }, + "node_modules/constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha512-xFxOwqIzR/e1k1gLiWEophSCMqXcwVHIH7akf7b/vxcUeGunlj3hvZaaqxwHsTgn+IndtkQJgSztIDWeumWJDQ==" + }, + "node_modules/content-disposition": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz", + "integrity": "sha512-kRGRZw3bLlFISDBgwTSA1TMBFN6J6GWDeubmDE3AF+3+yXL8hTWv8r5rkLbqYXY4RjPk/EzHnClI3zQf1cFmHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "node_modules/cookie": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", + "integrity": "sha512-+IJOX0OqlHCszo2mBUq+SrEbCj6w7Kpffqx60zYbPTFaO4+yYgRjHwcZNpWvaTylDHaV7PPmBHzSecZiMhtPgw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/copy-concurrently": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz", + "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==", + "deprecated": "This package is no longer supported.", + "dependencies": { + "aproba": "^1.1.1", + "fs-write-stream-atomic": "^1.0.8", + "iferr": "^0.1.5", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.0" + } + }, + "node_modules/copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/copy-to-clipboard": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz", + "integrity": "sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==", + "dependencies": { + "toggle-selection": "^1.0.6" + } + }, + "node_modules/core-js": { + "version": "3.42.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.42.0.tgz", + "integrity": "sha512-Sz4PP4ZA+Rq4II21qkNqOEDTDrCvcANId3xpIgB34NDkWc3UduWj2dqEtN9yZIq8Dk3HyPI33x9sqqU5C8sr0g==", + "hasInstallScript": true, + "optional": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, + "node_modules/crc-32": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz", + "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==", + "bin": { + "crc32": "bin/crc32.njs" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/crc32-stream": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-4.0.3.tgz", + "integrity": "sha512-NT7w2JVU7DFroFdYkeq8cywxrgjPHWkdX1wjpRQXPX5Asews3tA+Ght6lddQO5Mkumffp3X7GEqku3epj2toIw==", + "dependencies": { + "crc-32": "^1.2.0", + "readable-stream": "^3.4.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/create-ecdh": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", + "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", + "dependencies": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + } + }, + "node_modules/create-ecdh/node_modules/bn.js": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.2.tgz", + "integrity": "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw==" + }, + "node_modules/create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "dependencies": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "node_modules/create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "dependencies": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/crypto-browserify": { + "version": "3.12.1", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.1.tgz", + "integrity": "sha512-r4ESw/IlusD17lgQi1O20Fa3qNnsckR126TdUuBgAu7GBYSIPvdNyONd3Zrxh0xCwA4+6w/TDArBPsMvhur+KQ==", + "dependencies": { + "browserify-cipher": "^1.0.1", + "browserify-sign": "^4.2.3", + "create-ecdh": "^4.0.4", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "diffie-hellman": "^5.0.3", + "hash-base": "~3.0.4", + "inherits": "^2.0.4", + "pbkdf2": "^3.1.2", + "public-encrypt": "^4.0.3", + "randombytes": "^2.1.0", + "randomfill": "^1.0.4" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/crypto-js": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz", + "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==" + }, + "node_modules/css-line-break": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/css-line-break/-/css-line-break-2.1.0.tgz", + "integrity": "sha512-FHcKFCZcAha3LwfVBhCQbW2nCNbkZXn7KVUJcsT5/P8YmfsVja0FMPJr0B903j/E69HUphKiV9iQArX8SDYA4w==", + "dependencies": { + "utrie": "^1.0.2" + } + }, + "node_modules/css-select": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", + "integrity": "sha512-dUQOBoqdR7QwV90WysXPLXG5LO7nhYBgiWVfxF80DKPF8zx1t/pUd2FYy73emg3zrjtM6dzmYgbHKfV2rxiHQA==", + "dev": true, + "license": "BSD-like", + "dependencies": { + "boolbase": "~1.0.0", + "css-what": "2.1", + "domutils": "1.5.1", + "nth-check": "~1.0.1" + } + }, + "node_modules/css-tree": { + "version": "1.0.0-alpha.28", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.28.tgz", + "integrity": "sha512-joNNW1gCp3qFFzj4St6zk+Wh/NBv0vM5YbEreZk0SD4S23S+1xBKb6cLDg2uj4P4k/GUMlIm6cKIDqIG+vdt0w==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdn-data": "~1.1.0", + "source-map": "^0.5.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/css-what": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz", + "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": "*" + } + }, + "node_modules/csso": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/csso/-/csso-3.5.1.tgz", + "integrity": "sha512-vrqULLffYU1Q2tLdJvaCYbONStnfkfimRxXNaGjxMldI0C7JPBC4rB1RyjhfdZ4m1frm8pM9uRPKH3d2knZ8gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "css-tree": "1.0.0-alpha.29" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/csso/node_modules/css-tree": { + "version": "1.0.0-alpha.29", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.29.tgz", + "integrity": "sha512-sRNb1XydwkW9IOci6iB2xmy8IGCj6r/fr+JWitvJ2JxQRPzN3T4AGGVWCMlVmVwM1gtgALJRmGIlWv5ppnGGkg==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdn-data": "~1.1.0", + "source-map": "^0.5.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" + }, + "node_modules/cyclist": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.2.tgz", + "integrity": "sha512-0sVXIohTfLqVIW3kb/0n6IiWF3Ifj5nm2XaSrLq2DI6fKIGa2fYAZdk917rUneaeLVpYfFcyXE2ft0fe3remsA==" + }, + "node_modules/data-view-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz", + "integrity": "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/data-view-byte-length": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz", + "integrity": "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/inspect-js" + } + }, + "node_modules/data-view-byte-offset": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz", + "integrity": "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/dayjs": { + "version": "1.11.13", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz", + "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==" + }, + "node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/decode-uri-component": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", + "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/deepmerge": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/define-properties": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "dependencies": { + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/define-property/node_modules/is-descriptor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.3.tgz", + "integrity": "sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==", + "dependencies": { + "is-accessor-descriptor": "^1.0.1", + "is-data-descriptor": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/des.js": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.1.0.tgz", + "integrity": "sha512-r17GxjhUCjSRy8aiJpr8/UadFIzMzJGexI3Nmz4ADi9LYSFx4gTBp80+NaX/YsXWWLhpZ7v/v/ubEc/bCNfKwg==", + "dependencies": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha512-3NdhDuEXnfun/z7x9GOElY49LoqVHoGScmOKwmxhsS8N5Y+Z8KyPPDnaSzqWgYt/ji4mqwfTS34Htrk0zPIXVg==", + "dev": true, + "license": "MIT" + }, + "node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "optional": true, + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/devtools-detect": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/devtools-detect/-/devtools-detect-4.0.2.tgz", + "integrity": "sha512-LfvHOc/a72gt4OvHOGFK51VmOeTM9Q5uuEeKX+k5oVWZM3qDoLBFVbdhjk7zXX54FuQ370L7OpmxQbNStT+7Gw==", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "dependencies": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + } + }, + "node_modules/diffie-hellman/node_modules/bn.js": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.2.tgz", + "integrity": "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw==" + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/dom-serializer": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz", + "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==", + "dev": true, + "license": "MIT", + "dependencies": { + "domelementtype": "^1.3.0", + "entities": "^1.1.1" + } + }, + "node_modules/domain-browser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", + "engines": { + "node": ">=0.4", + "npm": ">=1.2" + } + }, + "node_modules/domelementtype": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", + "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/domhandler": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "1" + } + }, + "node_modules/dompurify": { + "version": "2.5.8", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.5.8.tgz", + "integrity": "sha512-o1vSNgrmYMQObbSSvF/1brBYEQPHhV1+gsmrusO7/GXtp1T9rCS8cXFqVxK/9crT1jA6Ccv+5MTSjBNqr7Sovw==", + "license": "(MPL-2.0 OR Apache-2.0)", + "optional": true + }, + "node_modules/domutils": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", + "integrity": "sha512-gSu5Oi/I+3wDENBsOWBiRK1eoGxcywYSqg3rR960/+EfY0CF4EX1VPkgHOZ3WiS/Jg2DtliF6BhWcHlfpYUcGw==", + "dev": true, + "dependencies": { + "dom-serializer": "0", + "domelementtype": "1" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/duplexer2": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", + "integrity": "sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==", + "dependencies": { + "readable-stream": "^2.0.2" + } + }, + "node_modules/duplexer2/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/duplexify": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz", + "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", + "dependencies": { + "end-of-stream": "^1.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.0.0", + "stream-shift": "^1.0.0" + } + }, + "node_modules/duplexify/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "dev": true, + "license": "MIT" + }, + "node_modules/electron-to-chromium": { + "version": "1.5.155", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.155.tgz", + "integrity": "sha512-ps5KcGGmwL8VaeJlvlDlu4fORQpv3+GIcF5I3f9tUKUlJ/wsysh6HU8P5L1XWRYeXfA0oJd4PyM8ds8zTFf6Ng==", + "dev": true + }, + "node_modules/elliptic": { + "version": "6.6.1", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.6.1.tgz", + "integrity": "sha512-RaddvvMatK2LJHqFJ+YA4WysVN5Ita9E35botqIYspQ4TkRAlCicdzKOjlyv/1Za5RyTNn7di//eEV0uTAfe3g==", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/elliptic/node_modules/bn.js": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.2.tgz", + "integrity": "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw==" + }, + "node_modules/emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", + "engines": { + "node": ">= 4" + } + }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dev": true, + "license": "MIT", + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/encoding/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/enhanced-resolve": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz", + "integrity": "sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==", + "dependencies": { + "graceful-fs": "^4.1.2", + "memory-fs": "^0.5.0", + "tapable": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/enhanced-resolve/node_modules/memory-fs": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz", + "integrity": "sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==", + "dependencies": { + "errno": "^0.1.3", + "readable-stream": "^2.0.1" + }, + "engines": { + "node": ">=4.3.0 <5.0.0 || >=5.10" + } + }, + "node_modules/enhanced-resolve/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/enquire.js": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/enquire.js/-/enquire.js-2.1.6.tgz", + "integrity": "sha512-/KujNpO+PT63F7Hlpu4h3pE3TokKRHN26JYmQpPyjkRD/N57R7bPDNojMXdi7uveAKjYB7yQnartCxZnFWr0Xw==" + }, + "node_modules/entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/errno": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz", + "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", + "dependencies": { + "prr": "~1.0.1" + }, + "bin": { + "errno": "cli.js" + } + }, + "node_modules/es-abstract": { + "version": "1.23.9", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.9.tgz", + "integrity": "sha512-py07lI0wjxAC/DcfK1S6G7iANonniZwTISvdPzk9hzeH0IZIshbuuFxLIU96OyF89Yb9hiqWn8M/bY83KY5vzA==", + "dev": true, + "dependencies": { + "array-buffer-byte-length": "^1.0.2", + "arraybuffer.prototype.slice": "^1.0.4", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "data-view-buffer": "^1.0.2", + "data-view-byte-length": "^1.0.2", + "data-view-byte-offset": "^1.0.1", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-set-tostringtag": "^2.1.0", + "es-to-primitive": "^1.3.0", + "function.prototype.name": "^1.1.8", + "get-intrinsic": "^1.2.7", + "get-proto": "^1.0.0", + "get-symbol-description": "^1.1.0", + "globalthis": "^1.0.4", + "gopd": "^1.2.0", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "internal-slot": "^1.1.0", + "is-array-buffer": "^3.0.5", + "is-callable": "^1.2.7", + "is-data-view": "^1.0.2", + "is-regex": "^1.2.1", + "is-shared-array-buffer": "^1.0.4", + "is-string": "^1.1.1", + "is-typed-array": "^1.1.15", + "is-weakref": "^1.1.0", + "math-intrinsics": "^1.1.0", + "object-inspect": "^1.13.3", + "object-keys": "^1.1.1", + "object.assign": "^4.1.7", + "own-keys": "^1.0.1", + "regexp.prototype.flags": "^1.5.3", + "safe-array-concat": "^1.1.3", + "safe-push-apply": "^1.0.0", + "safe-regex-test": "^1.1.0", + "set-proto": "^1.0.0", + "string.prototype.trim": "^1.2.10", + "string.prototype.trimend": "^1.0.9", + "string.prototype.trimstart": "^1.0.8", + "typed-array-buffer": "^1.0.3", + "typed-array-byte-length": "^1.0.3", + "typed-array-byte-offset": "^1.0.4", + "typed-array-length": "^1.0.7", + "unbox-primitive": "^1.1.0", + "which-typed-array": "^1.1.18" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-iterator-helpers": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.2.1.tgz", + "integrity": "sha512-uDn+FE1yrDzyC0pCo961B2IHbdM8y/ACZsKD4dG6WqrjV53BADjwa7D+1aom2rsNVfLyDgU/eigvlJGJ08OQ4w==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.6", + "es-errors": "^1.3.0", + "es-set-tostringtag": "^2.0.3", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.6", + "globalthis": "^1.0.4", + "gopd": "^1.2.0", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.2.0", + "has-symbols": "^1.1.0", + "internal-slot": "^1.1.0", + "iterator.prototype": "^1.1.4", + "safe-array-concat": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-shim-unscopables": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.1.0.tgz", + "integrity": "sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==", + "dev": true, + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-to-primitive": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.0.tgz", + "integrity": "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==", + "dev": true, + "dependencies": { + "is-callable": "^1.2.7", + "is-date-object": "^1.0.5", + "is-symbol": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es6-promise": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", + "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==", + "license": "MIT" + }, + "node_modules/es6-promisify": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", + "integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "es6-promise": "^4.0.3" + } + }, + "node_modules/esbuild": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz", + "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/android-arm": "0.18.20", + "@esbuild/android-arm64": "0.18.20", + "@esbuild/android-x64": "0.18.20", + "@esbuild/darwin-arm64": "0.18.20", + "@esbuild/darwin-x64": "0.18.20", + "@esbuild/freebsd-arm64": "0.18.20", + "@esbuild/freebsd-x64": "0.18.20", + "@esbuild/linux-arm": "0.18.20", + "@esbuild/linux-arm64": "0.18.20", + "@esbuild/linux-ia32": "0.18.20", + "@esbuild/linux-loong64": "0.18.20", + "@esbuild/linux-mips64el": "0.18.20", + "@esbuild/linux-ppc64": "0.18.20", + "@esbuild/linux-riscv64": "0.18.20", + "@esbuild/linux-s390x": "0.18.20", + "@esbuild/linux-x64": "0.18.20", + "@esbuild/netbsd-x64": "0.18.20", + "@esbuild/openbsd-x64": "0.18.20", + "@esbuild/sunos-x64": "0.18.20", + "@esbuild/win32-arm64": "0.18.20", + "@esbuild/win32-ia32": "0.18.20", + "@esbuild/win32-x64": "0.18.20" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "dev": true, + "license": "MIT" + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", + "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", + "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.57.1", + "@humanwhocodes/config-array": "^0.13.0", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "@ungap/structured-clone": "^1.2.0", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-plugin-react": { + "version": "7.37.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.5.tgz", + "integrity": "sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.8", + "array.prototype.findlast": "^1.2.5", + "array.prototype.flatmap": "^1.3.3", + "array.prototype.tosorted": "^1.1.4", + "doctrine": "^2.1.0", + "es-iterator-helpers": "^1.2.1", + "estraverse": "^5.3.0", + "hasown": "^2.0.2", + "jsx-ast-utils": "^2.4.1 || ^3.0.0", + "minimatch": "^3.1.2", + "object.entries": "^1.1.9", + "object.fromentries": "^2.0.8", + "object.values": "^1.2.1", + "prop-types": "^15.8.1", + "resolve": "^2.0.0-next.5", + "semver": "^6.3.1", + "string.prototype.matchall": "^4.0.12", + "string.prototype.repeat": "^1.0.0" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7" + } + }, + "node_modules/eslint-plugin-react-hooks": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz", + "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" + } + }, + "node_modules/eslint-plugin-react-refresh": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.3.5.tgz", + "integrity": "sha512-61qNIsc7fo9Pp/mju0J83kzvLm0Bsayu7OQSLEoJxLDCBjIIyb87bkzufoOvdDxLkSlMfkF7UxomC4+eztUBSA==", + "dev": true, + "peerDependencies": { + "eslint": ">=7" + } + }, + "node_modules/eslint-plugin-react/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-react/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/eslint-plugin-react/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/eslint-scope": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", + "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", + "dependencies": { + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/debug": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/eslint/node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/eslint/node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/eslint/node_modules/globals": { + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "node_modules/eslint/node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dev": true, + "dependencies": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree/node_modules/acorn": { + "version": "8.14.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz", + "integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/esquery": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", + "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", + "dev": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esquery/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true, + "license": "MIT" + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "dependencies": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/exceljs": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/exceljs/-/exceljs-4.4.0.tgz", + "integrity": "sha512-XctvKaEMaj1Ii9oDOqbW/6e1gXknSY4g/aLCDicOXqBE4M0nRWkUu0PTp++UPNzoFY12BNHMfs/VadKIS6llvg==", + "dependencies": { + "archiver": "^5.0.0", + "dayjs": "^1.8.34", + "fast-csv": "^4.3.1", + "jszip": "^3.10.1", + "readable-stream": "^3.6.0", + "saxes": "^5.0.1", + "tmp": "^0.2.0", + "unzipper": "^0.10.11", + "uuid": "^8.3.0" + }, + "engines": { + "node": ">=8.3.0" + } + }, + "node_modules/exceljs/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/exit-on-epipe": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/exit-on-epipe/-/exit-on-epipe-1.0.1.tgz", + "integrity": "sha512-h2z5mrROTxce56S+pnvAV890uu7ls7f1kEvVGJbw1OlFH3/mlJ5bkXu0KRyW94v37zzHPiUd55iLn3DA7TjWpw==", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA==", + "dependencies": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-brackets/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/express": { + "version": "4.16.4", + "resolved": "https://registry.npmjs.org/express/-/express-4.16.4.tgz", + "integrity": "sha512-j12Uuyb4FMrd/qQAm6uCHAkPtO8FDTRJZBDd5D2KOL2eLaz1yUNdUB/NOIyq0iU4q4cFarsUCrnFDPBcnksuOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.5", + "array-flatten": "1.1.1", + "body-parser": "1.18.3", + "content-disposition": "0.5.2", + "content-type": "~1.0.4", + "cookie": "0.3.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.1.1", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.2", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.4", + "qs": "6.5.2", + "range-parser": "~1.2.0", + "safe-buffer": "5.1.2", + "send": "0.16.2", + "serve-static": "1.13.2", + "setprototypeof": "1.1.0", + "statuses": "~1.4.0", + "type-is": "~1.6.16", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/express-history-api-fallback": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/express-history-api-fallback/-/express-history-api-fallback-2.2.1.tgz", + "integrity": "sha512-swxwm3aP8vrOOvlzOdZvHlSZtJGwHKaY94J6AkrAgCTmcbko3IRwbkhLv2wKV1WeZhjxX58aLMpP3atDBnKuZg==", + "dev": true, + "license": "ISC" + }, + "node_modules/express/node_modules/qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extend-shallow/node_modules/is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dependencies": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob/node_modules/is-descriptor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.3.tgz", + "integrity": "sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==", + "dependencies": { + "is-accessor-descriptor": "^1.0.1", + "is-data-descriptor": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/extract-zip": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.7.0.tgz", + "integrity": "sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "concat-stream": "^1.6.2", + "debug": "^2.6.9", + "mkdirp": "^0.5.4", + "yauzl": "^2.10.0" + }, + "bin": { + "extract-zip": "cli.js" + } + }, + "node_modules/fast-csv": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/fast-csv/-/fast-csv-4.3.6.tgz", + "integrity": "sha512-2RNSpuwwsJGP0frGsOmTb9oUF+VkFSM4SyLTDgwf2ciHWTarN0lQTC+F2f/t5J9QjW+c65VFIAAu85GsvMIusw==", + "dependencies": { + "@fast-csv/format": "4.3.5", + "@fast-csv/parse": "4.3.6" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "node_modules/fast-png": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/fast-png/-/fast-png-6.4.0.tgz", + "integrity": "sha512-kAqZq1TlgBjZcLr5mcN6NP5Rv4V2f22z00c3g8vRrwkcqjerx7BEhPbOnWCPqaHUl2XWQBJQvOT/FQhdMT7X/Q==", + "license": "MIT", + "dependencies": { + "@types/pako": "^2.0.3", + "iobuffer": "^5.3.2", + "pako": "^2.1.0" + } + }, + "node_modules/fast-png/node_modules/pako": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz", + "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==", + "license": "(MIT AND Zlib)" + }, + "node_modules/fastq": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz", + "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==", + "dev": true, + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "pend": "~1.2.0" + } + }, + "node_modules/fflate": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz", + "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==" + }, + "node_modules/figgy-pudding": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.2.tgz", + "integrity": "sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==", + "deprecated": "This module is no longer supported." + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/file-uri-to-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", + "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", + "license": "MIT", + "optional": true + }, + "node_modules/filesize": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz", + "integrity": "sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==", + "dependencies": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fill-range/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/finalhandler": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz", + "integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.2", + "statuses": "~1.4.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/find-cache-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", + "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", + "dependencies": { + "commondir": "^1.0.1", + "make-dir": "^2.0.0", + "pkg-dir": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dependencies": { + "locate-path": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/flat-cache": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "dev": true, + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.3", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flat-cache/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/flatted": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz", + "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==", + "dev": true + }, + "node_modules/flush-write-stream": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz", + "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==", + "dependencies": { + "inherits": "^2.0.3", + "readable-stream": "^2.3.6" + } + }, + "node_modules/flush-write-stream/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/follow-redirects": { + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/for-each": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz", + "integrity": "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==", + "dependencies": { + "is-callable": "^1.2.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/form-data": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/frac": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/frac/-/frac-1.1.2.tgz", + "integrity": "sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA==", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==", + "dependencies": { + "map-cache": "^0.2.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/framer-motion": { + "version": "12.17.0", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.17.0.tgz", + "integrity": "sha512-2hISKgDk49yCLStwG1wf4Kdy/D6eBw9/eRNaWFIYoI9vMQ/Mqd1Fz+gzVlEtxJmtQ9y4IWnXm19/+UXD3dAYAA==", + "license": "MIT", + "dependencies": { + "motion-dom": "^12.17.0", + "motion-utils": "^12.12.1", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@emotion/is-prop-valid": "*", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/is-prop-valid": { + "optional": true + }, + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/from2": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", + "integrity": "sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==", + "dependencies": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.0" + } + }, + "node_modules/from2/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" + }, + "node_modules/fs-write-stream-atomic": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz", + "integrity": "sha512-gehEzmPn2nAwr39eay+x3X34Ra+M2QlVUTLhkXPjWdeO8RF9kszk116avgBJM3ZyNHgHXBNx+VmPaFC36k0PzA==", + "deprecated": "This package is no longer supported.", + "dependencies": { + "graceful-fs": "^4.1.2", + "iferr": "^0.1.5", + "imurmurhash": "^0.1.4", + "readable-stream": "1 || 2" + } + }, + "node_modules/fs-write-stream-atomic/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/fstream": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz", + "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==", + "deprecated": "This package is no longer supported.", + "dependencies": { + "graceful-fs": "^4.1.2", + "inherits": "~2.0.0", + "mkdirp": ">=0.5 0", + "rimraf": "2" + }, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/function.prototype.name": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.8.tgz", + "integrity": "sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "functions-have-names": "^1.2.3", + "hasown": "^2.0.2", + "is-callable": "^1.2.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/get-symbol-description": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz", + "integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "optional": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/globalthis": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", + "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", + "dev": true, + "dependencies": { + "define-properties": "^1.2.1", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/google-maps-react": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/google-maps-react/-/google-maps-react-2.0.6.tgz", + "integrity": "sha512-M8Eo9WndfQEfxcmm6yRq03qdJgw1x6rQmJ9DN+a+xPQ3K7yNDGkVDbinrf4/8vcox7nELbeopbm4bpefKewWfQ==", + "peerDependencies": { + "react": "~0.14.8 || ^15.0.0 || ^16.0.0", + "react-dom": "~0.14.8 || ^15.0.0 || ^16.0.0" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" + }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "node_modules/gsap": { + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/gsap/-/gsap-3.13.0.tgz", + "integrity": "sha512-QL7MJ2WMjm1PHWsoFrAQH/J8wUeqZvMtHO58qdekHpCfhvhSL4gSiz6vJf5EeMP0LOn3ZCprL2ki/gjED8ghVw==" + }, + "node_modules/has-bigints": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz", + "integrity": "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz", + "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==", + "dev": true, + "dependencies": { + "dunder-proto": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw==", + "dependencies": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ==", + "dependencies": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values/node_modules/kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw==", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/hash-base": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.5.tgz", + "integrity": "sha512-vXm0l45VbcHEVlTCzs8M+s0VeYsB2lnlAaThoLKGXr3bE/VWDOelNUnycUPEhKEaXARL2TEFjBOyUiM6+55KBg==", + "dependencies": { + "inherits": "^2.0.4", + "safe-buffer": "^5.2.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/hash-base/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true, + "license": "MIT", + "bin": { + "he": "bin/he" + } + }, + "node_modules/highland": { + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/highland/-/highland-2.13.0.tgz", + "integrity": "sha512-zGZBcgAHPY2Zf9VG9S5IrlcC7CH9ELioXVtp9T5bU2a4fP2zIsA+Y8pV/n/h2lMwbWMHTX0I0xN0ODJ3Pd3aBQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "util-deprecate": "^1.0.2" + } + }, + "node_modules/hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==", + "dependencies": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/hoist-non-react-statics": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", + "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", + "dependencies": { + "react-is": "^16.7.0" + } + }, + "node_modules/hoist-non-react-statics/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, + "node_modules/html-minifier": { + "version": "3.5.21", + "resolved": "https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.21.tgz", + "integrity": "sha512-LKUKwuJDhxNa3uf/LPR/KVjm/l3rBqtYeCOAekvG8F1vItxMUpueGd94i/asDDr8/1u7InxzFA5EeGjhhG5mMA==", + "dev": true, + "license": "MIT", + "dependencies": { + "camel-case": "3.0.x", + "clean-css": "4.2.x", + "commander": "2.17.x", + "he": "1.2.x", + "param-case": "2.1.x", + "relateurl": "0.2.x", + "uglify-js": "3.4.x" + }, + "bin": { + "html-minifier": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/html-minifier/node_modules/commander": { + "version": "2.17.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz", + "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==", + "dev": true, + "license": "MIT" + }, + "node_modules/html2canvas": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/html2canvas/-/html2canvas-1.4.1.tgz", + "integrity": "sha512-fPU6BHNpsyIhr8yyMpTLLxAbkaK8ArIBcmZIRiBLiDhjeqvXolaEmDGmELFuX9I4xDcaKKcJl+TKZLqruBbmWA==", + "dependencies": { + "css-line-break": "^2.1.0", + "text-segmentation": "^1.0.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/html2pdf.js": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/html2pdf.js/-/html2pdf.js-0.10.3.tgz", + "integrity": "sha512-RcB1sh8rs5NT3jgbN5zvvTmkmZrsUrxpZ/RI8TMbvuReNZAdJZG5TMfA2TBP6ZXxpXlWf9NB/ciLXVb6W2LbRQ==", + "license": "MIT", + "dependencies": { + "es6-promise": "^4.2.5", + "html2canvas": "^1.0.0", + "jspdf": "^3.0.0" + } + }, + "node_modules/html2pdf.js/node_modules/dompurify": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.3.0.tgz", + "integrity": "sha512-r+f6MYR1gGN1eJv0TVQbhA7if/U7P87cdPl3HN5rikqaBSBxLiCb/b9O+2eG0cxz0ghyU+mU1QkbsOwERMYlWQ==", + "license": "(MPL-2.0 OR Apache-2.0)", + "optional": true, + "optionalDependencies": { + "@types/trusted-types": "^2.0.7" + } + }, + "node_modules/html2pdf.js/node_modules/jspdf": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/jspdf/-/jspdf-3.0.3.tgz", + "integrity": "sha512-eURjAyz5iX1H8BOYAfzvdPfIKK53V7mCpBTe7Kb16PaM8JSXEcUQNBQaiWMI8wY5RvNOPj4GccMjTlfwRBd+oQ==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.26.9", + "fast-png": "^6.2.0", + "fflate": "^0.8.1" + }, + "optionalDependencies": { + "canvg": "^3.0.11", + "core-js": "^3.6.0", + "dompurify": "^3.2.4", + "html2canvas": "^1.0.0-rc.5" + } + }, + "node_modules/htmlparser2": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", + "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "domelementtype": "^1.3.1", + "domhandler": "^2.3.0", + "domutils": "^1.5.1", + "entities": "^1.1.1", + "inherits": "^2.0.1", + "readable-stream": "^3.1.1" + } + }, + "node_modules/http-errors": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/http-errors/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==", + "dev": true, + "license": "ISC" + }, + "node_modules/http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/http-proxy-middleware": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.18.0.tgz", + "integrity": "sha512-Fs25KVMPAIIcgjMZkVHJoKg9VcXcC1C8yb9JUgeDvVXY0S/zgVIhMb+qVswDIgtJe2DfckMSY2d6TuTEutlk6Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "http-proxy": "^1.16.2", + "is-glob": "^4.0.0", + "lodash": "^4.17.5", + "micromatch": "^3.1.9" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/https-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", + "integrity": "sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg==" + }, + "node_modules/https-proxy-agent": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz", + "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^4.3.0", + "debug": "^3.1.0" + }, + "engines": { + "node": ">= 4.5.0" + } + }, + "node_modules/https-proxy-agent/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/https-proxy-agent/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/iconv-lite": { + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", + "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/iferr": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz", + "integrity": "sha512-DUNFN5j7Tln0D+TxzloUjKB+CtVu6myn0JEFak6dG18mNt9YkQ6lzGCdafwofISZ1lLF3xRHJ98VKy9ynkcFaA==" + }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==" + }, + "node_modules/immer": { + "version": "9.0.21", + "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz", + "integrity": "sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, + "node_modules/immutable": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.2.tgz", + "integrity": "sha512-qHKXW1q6liAk1Oys6umoaZbDRqjcjgSrbnrifHsfsttza7zcvRAsL7mMV6xWcyhwQy7Xj5v4hhbr6b+iDYwlmQ==" + }, + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/infer-owner": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", + "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==" + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/informed": { + "version": "4.65.0", + "resolved": "https://registry.npmjs.org/informed/-/informed-4.65.0.tgz", + "integrity": "sha512-6OL7nh9PnX5AC6QfBZ0BDtFTO35brLwCckgP+FO0VLFKgA7/5Pxz0OV4WPR8NDYaeLc7mUXM+L7ctOvcCwtkjQ==", + "optionalDependencies": { + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/internal-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz", + "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==", + "dev": true, + "dependencies": { + "es-errors": "^1.3.0", + "hasown": "^2.0.2", + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.0.0" + } + }, + "node_modules/iobuffer": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/iobuffer/-/iobuffer-5.4.0.tgz", + "integrity": "sha512-DRebOWuqDvxunfkNJAlc3IzWIPD5xVxwUNbHr7xKB8E6aLJxIPfNX3CoMJghcFjpv6RWQsrcJbghtEwSPoJqMA==", + "license": "MIT" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-accessor-descriptor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.1.tgz", + "integrity": "sha512-YBUanLI8Yoihw923YeFUS5fs0fF2f5TSFTNiYAAzhhDscDa3lEqYuz1pDOEP5KvX94I9ey3vsqjJcLVFVU+3QA==", + "dependencies": { + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-array-buffer": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz", + "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "get-intrinsic": "^1.2.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-async-function": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz", + "integrity": "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==", + "dev": true, + "dependencies": { + "async-function": "^1.0.0", + "call-bound": "^1.0.3", + "get-proto": "^1.0.1", + "has-tostringtag": "^1.0.2", + "safe-regex-test": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-bigint": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz", + "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==", + "dev": true, + "dependencies": { + "has-bigints": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "optional": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-boolean-object": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz", + "integrity": "sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" + }, + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-core-module": { + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", + "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", + "dev": true, + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-data-descriptor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.1.tgz", + "integrity": "sha512-bc4NlCDiCr28U4aEsQ3Qs2491gVq4V8G7MQyws968ImqjKuYtTJXrl7Vq7jsN7Ly/C3xj5KWFrY7sHNeDkAzXw==", + "dependencies": { + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-data-view": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz", + "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.2", + "get-intrinsic": "^1.2.6", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz", + "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.2", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-descriptor": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz", + "integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==", + "dependencies": { + "is-accessor-descriptor": "^1.0.1", + "is-data-descriptor": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "devOptional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-finalizationregistry": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz", + "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-generator-function": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.0.tgz", + "integrity": "sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.3", + "get-proto": "^1.0.0", + "has-tostringtag": "^1.0.2", + "safe-regex-test": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "devOptional": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-map": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz", + "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number-object": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz", + "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-regex": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz", + "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.2", + "gopd": "^1.2.0", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-set": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz", + "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz", + "integrity": "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-string": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz", + "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz", + "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.2", + "has-symbols": "^1.1.0", + "safe-regex-test": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz", + "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==", + "dependencies": { + "which-typed-array": "^1.1.16" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakmap": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz", + "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakref": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.1.tgz", + "integrity": "sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakset": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz", + "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.3", + "get-intrinsic": "^1.2.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-wsl": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", + "integrity": "sha512-gfygJYZ2gLTDlmbWMI0CE2MwnFzSN/2SZfkMlItC4K/JBlsWVDB0bO6XhqcY13YXE7iMcAJnzTCJjPiTeJJ0Mw==", + "engines": { + "node": ">=4" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/isomorphic-fetch": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", + "integrity": "sha512-9c4TNAKYXM5PRyVcwUZrF3W09nQ+sO7+jydgs4ZGW9dhsLG2VOlISJABombdQqQRXCwuYG3sYV/puGf5rp0qmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "node-fetch": "^1.0.1", + "whatwg-fetch": ">=0.10.0" + } + }, + "node_modules/iterator.prototype": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.5.tgz", + "integrity": "sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g==", + "dev": true, + "dependencies": { + "define-data-property": "^1.1.4", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.6", + "get-proto": "^1.0.0", + "has-symbols": "^1.1.0", + "set-function-name": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/jest-worker": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", + "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^7.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jquery": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz", + "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true + }, + "node_modules/json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, + "node_modules/json2mq": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/json2mq/-/json2mq-0.2.0.tgz", + "integrity": "sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA==", + "dependencies": { + "string-convert": "^0.2.0" + } + }, + "node_modules/json5": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/jspdf": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jspdf/-/jspdf-2.5.2.tgz", + "integrity": "sha512-myeX9c+p7znDWPk0eTrujCzNjT+CXdXyk7YmJq5nD5V7uLLKmSXnlQ/Jn/kuo3X09Op70Apm0rQSnFWyGK8uEQ==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.2", + "atob": "^2.1.2", + "btoa": "^1.2.1", + "fflate": "^0.8.1" + }, + "optionalDependencies": { + "canvg": "^3.0.6", + "core-js": "^3.6.0", + "dompurify": "^2.5.4", + "html2canvas": "^1.0.0-rc.5" + } + }, + "node_modules/jsx-ast-utils": { + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", + "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "object.assign": "^4.1.4", + "object.values": "^1.1.6" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/jszip": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz", + "integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==", + "dependencies": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "setimmediate": "^1.0.5" + } + }, + "node_modules/jszip/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/lazystream": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.1.tgz", + "integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==", + "dependencies": { + "readable-stream": "^2.0.5" + }, + "engines": { + "node": ">= 0.6.3" + } + }, + "node_modules/lazystream/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lie": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "dependencies": { + "immediate": "~3.0.5" + } + }, + "node_modules/listenercount": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/listenercount/-/listenercount-1.0.1.tgz", + "integrity": "sha512-3mk/Zag0+IJxeDrxSgaDPy4zZ3w05PRZeJNnlWhzFz5OkX49J4krc+A8X2d2M69vGMBEX0uyl8M+W+8gH+kBqQ==" + }, + "node_modules/load-script": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/load-script/-/load-script-1.0.0.tgz", + "integrity": "sha512-kPEjMFtZvwL9TaZo0uZ2ml+Ye9HUMmPwbYRJ324qF9tqMejwykJ5ggTyvzmrbBeapCAbk98BSbTeovHEEP1uCA==", + "license": "MIT" + }, + "node_modules/loader-runner": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", + "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==", + "engines": { + "node": ">=4.3.0 <5.0.0 || >=5.10" + } + }, + "node_modules/loader-utils": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz", + "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^1.0.1" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dependencies": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==" + }, + "node_modules/lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==" + }, + "node_modules/lodash.difference": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz", + "integrity": "sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA==" + }, + "node_modules/lodash.escaperegexp": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz", + "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==" + }, + "node_modules/lodash.flatten": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", + "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==" + }, + "node_modules/lodash.groupby": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.groupby/-/lodash.groupby-4.6.0.tgz", + "integrity": "sha512-5dcWxm23+VAoz+awKmBaiBvzox8+RqMgFhi7UvX9DHZr2HdxHXM/Wrf8cfKpsW37RNrvtPn6hSwNqurSILbmJw==" + }, + "node_modules/lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==" + }, + "node_modules/lodash.isequal": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", + "integrity": "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==", + "deprecated": "This package is deprecated. Use require('node:util').isDeepStrictEqual instead." + }, + "node_modules/lodash.isfunction": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz", + "integrity": "sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==" + }, + "node_modules/lodash.isnil": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/lodash.isnil/-/lodash.isnil-4.0.0.tgz", + "integrity": "sha512-up2Mzq3545mwVnMhTDMdfoG1OurpA/s5t88JmQX809eH3C8491iu2sfKhTfhQtKY78oPNhiaHJUpT/dUDAAtng==" + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" + }, + "node_modules/lodash.isundefined": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash.isundefined/-/lodash.isundefined-3.0.1.tgz", + "integrity": "sha512-MXB1is3s899/cD8jheYYE2V9qTHwKvt+npCwpD+1Sxm3Q3cECXCiYHjeHWXNwr6Q0SOBPrYUDxendrO6goVTEA==" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/lodash.throttle": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz", + "integrity": "sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==" + }, + "node_modules/lodash.union": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz", + "integrity": "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==" + }, + "node_modules/lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==" + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lower-case": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz", + "integrity": "sha512-2Fgx1Ycm599x+WGpIYwJOvsjmXFzTSc34IwDWALRA/8AopUKAVPwfJ+h5+f85BCp0PWmmJcWzEpxOpoXycMpdA==", + "dev": true, + "license": "MIT" + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/make-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", + "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "dependencies": { + "pify": "^4.0.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==", + "dependencies": { + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/material-colors": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/material-colors/-/material-colors-1.2.6.tgz", + "integrity": "sha512-6qE4B9deFBIa9YSpOc9O0Sgc43zTeVYbgDT5veRKSlB2+ZuHNoVVxA1L/ckMUayV9Ay9y7Z/SZCLcGteW9i7bg==" + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/mdn-data": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-1.1.4.tgz", + "integrity": "sha512-FSYbp3lyKjyj3E7fMl6rYvUdX0FBXaluGqlFoYESWQlyUTq8R+wp0rkFxoYFqZlHCvsUXGjyJmLQSnXToYhOSA==", + "dev": true, + "license": "MPL-2.0" + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/memoize-one": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz", + "integrity": "sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==", + "license": "MIT" + }, + "node_modules/memory-fs": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", + "integrity": "sha512-cda4JKCxReDXFXRqOHPQscuIYg1PvxbE2S2GP45rnwfEK+vZaXC8C1OFvdHIbgw0DLzowXGVoxLaAmlgRy14GQ==", + "dependencies": { + "errno": "^0.1.3", + "readable-stream": "^2.0.1" + } + }, + "node_modules/memory-fs/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", + "dev": true, + "license": "MIT" + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "dependencies": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "bin": { + "miller-rabin": "bin/miller-rabin" + } + }, + "node_modules/miller-rabin/node_modules/bn.js": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.2.tgz", + "integrity": "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw==" + }, + "node_modules/mime": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/minimalcss": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/minimalcss/-/minimalcss-0.8.1.tgz", + "integrity": "sha512-a+kbRVvxz+oQf43pweflM38KvcvVuTvv3v6a8UgVbfS7E2rktSJSf8kfbGToSXgbiBDP83WTh8MWL6PdT9ljag==", + "dev": true, + "license": "MIT", + "dependencies": { + "cheerio": "1.0.0-rc.2", + "css-tree": "1.0.0-alpha.28", + "csso": "~3.5.0", + "filesize": "^3.5.11", + "minimist": "^1.2.0", + "puppeteer": "^1.8.0" + }, + "bin": { + "minimalcss": "bin/minimalcss.js" + } + }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" + }, + "node_modules/minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==" + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/mississippi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz", + "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==", + "dependencies": { + "concat-stream": "^1.5.0", + "duplexify": "^3.4.2", + "end-of-stream": "^1.1.0", + "flush-write-stream": "^1.0.0", + "from2": "^2.1.0", + "parallel-transform": "^1.1.0", + "pump": "^3.0.0", + "pumpify": "^1.3.3", + "stream-each": "^1.1.0", + "through2": "^2.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/mixin-deep": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", + "dependencies": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/mixin-deep/node_modules/is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/moment": { + "version": "2.30.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz", + "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==", + "engines": { + "node": "*" + } + }, + "node_modules/motion-dom": { + "version": "12.17.0", + "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.17.0.tgz", + "integrity": "sha512-FA6/c70R9NKs3g41XDVONzmUUrEmyaifLVGCWtAmHP0usDnX9W+RN/tmbC4EUl0w6yLGvMTOwnWCFVgA5luhRg==", + "license": "MIT", + "dependencies": { + "motion-utils": "^12.12.1" + } + }, + "node_modules/motion-utils": { + "version": "12.12.1", + "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.12.1.tgz", + "integrity": "sha512-f9qiqUHm7hWSLlNW8gS9pisnsN7CRFRD58vNjptKdsqFLpkVnX00TNeD6Q0d27V9KzT7ySFyK1TZ/DShfVOv6w==", + "license": "MIT" + }, + "node_modules/move-concurrently": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", + "integrity": "sha512-hdrFxZOycD/g6A6SoI2bB5NA/5NEqD0569+S47WZhPvm46sD50ZHdYaFmnua5lndde9rCHGjmfK7Z8BuCt/PcQ==", + "deprecated": "This package is no longer supported.", + "dependencies": { + "aproba": "^1.1.1", + "copy-concurrently": "^1.0.0", + "fs-write-stream-atomic": "^1.0.8", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.3" + } + }, + "node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/nan": { + "version": "2.22.2", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.22.2.tgz", + "integrity": "sha512-DANghxFkS1plDdRsX0X9pm0Z6SJNN6gBdtXfanwoZ8hooC5gosGFSBGRYHUVPz1asKA/kMRqDRdHrluZ61SpBQ==", + "license": "MIT", + "optional": true + }, + "node_modules/nanoid": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" + }, + "node_modules/no-case": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz", + "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "lower-case": "^1.1.1" + } + }, + "node_modules/node-addon-api": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", + "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", + "optional": true + }, + "node_modules/node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + } + }, + "node_modules/node-libs-browser": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz", + "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==", + "dependencies": { + "assert": "^1.1.1", + "browserify-zlib": "^0.2.0", + "buffer": "^4.3.0", + "console-browserify": "^1.1.0", + "constants-browserify": "^1.0.0", + "crypto-browserify": "^3.11.0", + "domain-browser": "^1.1.1", + "events": "^3.0.0", + "https-browserify": "^1.0.0", + "os-browserify": "^0.3.0", + "path-browserify": "0.0.1", + "process": "^0.11.10", + "punycode": "^1.2.4", + "querystring-es3": "^0.2.0", + "readable-stream": "^2.3.3", + "stream-browserify": "^2.0.1", + "stream-http": "^2.7.2", + "string_decoder": "^1.0.0", + "timers-browserify": "^2.0.4", + "tty-browserify": "0.0.0", + "url": "^0.11.0", + "util": "^0.11.0", + "vm-browserify": "^1.0.1" + } + }, + "node_modules/node-libs-browser/node_modules/buffer": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", + "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "dependencies": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" + } + }, + "node_modules/node-libs-browser/node_modules/punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==" + }, + "node_modules/node-libs-browser/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/node-releases": { + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", + "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", + "dev": true + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nth-check": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", + "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "~1.0.0" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==", + "dependencies": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==", + "dependencies": { + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object.assign": { + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz", + "integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0", + "has-symbols": "^1.1.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.entries": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.9.tgz", + "integrity": "sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.4", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.fromentries": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", + "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==", + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object.values": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.1.tgz", + "integrity": "sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/os-browserify": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", + "integrity": "sha512-gjcpUc3clBf9+210TRaDWbf+rZZZEshZ+DlXMRCeAjp0xhTrnQsKHypIy1J3d5hKdUzj69t708EHtU8P6bUn0A==" + }, + "node_modules/own-keys": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.1.tgz", + "integrity": "sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.2.6", + "object-keys": "^1.1.1", + "safe-push-apply": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dependencies": { + "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "node_modules/parallel-transform": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.2.0.tgz", + "integrity": "sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg==", + "dependencies": { + "cyclist": "^1.0.1", + "inherits": "^2.0.3", + "readable-stream": "^2.1.5" + } + }, + "node_modules/parallel-transform/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/param-case": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz", + "integrity": "sha512-eQE845L6ot89sk2N8liD8HAuH4ca6Vvr7VWAWwt7+kvvG5aBcPmmphQ68JsEG2qa9n1TykS2DLeMt363AAH8/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "no-case": "^2.2.0" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-asn1": { + "version": "5.1.7", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.7.tgz", + "integrity": "sha512-CTM5kuWR3sx9IFamcl5ErfPl6ea/N8IYwiJ+vpeB2g+1iknv7zBl5uPwbMbRVznRVbrNY6lGuDoE5b30grmbqg==", + "dependencies": { + "asn1.js": "^4.10.1", + "browserify-aes": "^1.2.0", + "evp_bytestokey": "^1.0.3", + "hash-base": "~3.0", + "pbkdf2": "^3.1.2", + "safe-buffer": "^5.2.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/parse-asn1/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/parse5": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz", + "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-browserify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", + "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==" + }, + "node_modules/path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha512-ALzNPpyNq9AqXMBjeymIjFDAkAFH06mHJH/cSBHAgU0s4vfpBn6b2nf8tiRLvagKD8RbTpq2FKTBg7cl9l3c7Q==", + "optional": true + }, + "node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "engines": { + "node": ">=4" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/pbkdf2": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.5.tgz", + "integrity": "sha512-Q3CG/cYvCO1ye4QKkuH7EXxs3VC/rI1/trd+qX2+PolbaKG0H+bgcZzrTt96mMyRtejk+JMCiLUn3y29W8qmFQ==", + "license": "MIT", + "dependencies": { + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "ripemd160": "^2.0.3", + "safe-buffer": "^5.2.1", + "sha.js": "^2.4.12", + "to-buffer": "^1.2.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/pbkdf2/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", + "dev": true, + "license": "MIT" + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==", + "optional": true + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "optional": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "engines": { + "node": ">=6" + } + }, + "node_modules/pkg-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", + "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", + "dependencies": { + "find-up": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/portfinder": { + "version": "1.0.38", + "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.38.tgz", + "integrity": "sha512-rEwq/ZHlJIKw++XtLAO8PPuOQA/zaPJOZJ37BVuN97nLpMJeuDVLVGRwbFoBgLudgdTMP2hdRJP++H+8QOA3vg==", + "dev": true, + "license": "MIT", + "dependencies": { + "async": "^3.2.6", + "debug": "^4.3.6" + }, + "engines": { + "node": ">= 10.12" + } + }, + "node_modules/portfinder/node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/portfinder/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/possible-typed-array-names": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz", + "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/postcss": { + "version": "8.5.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", + "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.11", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/printj": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/printj/-/printj-1.1.2.tgz", + "integrity": "sha512-zA2SmoLaxZyArQTOPj5LXecR+RagfPSU5Kw1qP+jkWeNlrq+eJZyY2oS68SU1Z/7/myXM4lo9716laOFAVStCQ==", + "bin": { + "printj": "bin/printj.njs" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "node_modules/progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/promise-inflight": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", + "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==" + }, + "node_modules/promise-limit": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/promise-limit/-/promise-limit-2.7.0.tgz", + "integrity": "sha512-7nJ6v5lnJsXwGprnGXga4wx6d1POjvi5Qmf1ivTRxTjH4Z/9Czja/UCMLVmB9N93GeWOU93XaFaEt6jbuoagNw==", + "dev": true, + "license": "ISC" + }, + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/prop-types/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, + "node_modules/prr": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", + "integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==" + }, + "node_modules/public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "dependencies": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/public-encrypt/node_modules/bn.js": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.2.tgz", + "integrity": "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw==" + }, + "node_modules/pump": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", + "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/pumpify": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz", + "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", + "dependencies": { + "duplexify": "^3.6.0", + "inherits": "^2.0.3", + "pump": "^2.0.0" + } + }, + "node_modules/pumpify/node_modules/pump": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", + "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/puppeteer": { + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-1.20.0.tgz", + "integrity": "sha512-bt48RDBy2eIwZPrkgbcwHtb51mj2nKvHOPMaSH2IsWiv7lOG9k9zhaRzpDZafrk05ajMc3cu+lSQYYOfH2DkVQ==", + "deprecated": "< 24.15.0 is no longer supported", + "dev": true, + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "debug": "^4.1.0", + "extract-zip": "^1.6.6", + "https-proxy-agent": "^2.2.1", + "mime": "^2.0.3", + "progress": "^2.0.1", + "proxy-from-env": "^1.0.0", + "rimraf": "^2.6.1", + "ws": "^6.1.0" + }, + "engines": { + "node": ">=6.4.0" + } + }, + "node_modules/puppeteer/node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/puppeteer/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/qr.js": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/qr.js/-/qr.js-0.0.0.tgz", + "integrity": "sha512-c4iYnWb+k2E+vYpRimHqSu575b1/wKl4XFeJGpFmrJQz5I88v9aY2czh7s0w36srfCM1sXgC/xpoJz5dJfq+OQ==" + }, + "node_modules/qrcode.react": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/qrcode.react/-/qrcode.react-4.2.0.tgz", + "integrity": "sha512-QpgqWi8rD9DsS9EP3z7BT+5lY5SFhsqGjpgW5DY/i3mK4M9DTBNz3ErMi8BWYEfI3L0d8GIbGmcdFAS1uIRGjA==", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/qs": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz", + "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==", + "dependencies": { + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/querystring-es3": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", + "integrity": "sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA==", + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/raf": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", + "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", + "optional": true, + "dependencies": { + "performance-now": "^2.1.0" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "dependencies": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.3.tgz", + "integrity": "sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw==", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.0.0", + "http-errors": "1.6.3", + "iconv-lite": "0.4.23", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/rc-cascader": { + "version": "3.34.0", + "resolved": "https://registry.npmjs.org/rc-cascader/-/rc-cascader-3.34.0.tgz", + "integrity": "sha512-KpXypcvju9ptjW9FaN2NFcA2QH9E9LHKq169Y0eWtH4e/wHQ5Wh5qZakAgvb8EKZ736WZ3B0zLLOBsrsja5Dag==", + "dependencies": { + "@babel/runtime": "^7.25.7", + "classnames": "^2.3.1", + "rc-select": "~14.16.2", + "rc-tree": "~5.13.0", + "rc-util": "^5.43.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-checkbox": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/rc-checkbox/-/rc-checkbox-3.5.0.tgz", + "integrity": "sha512-aOAQc3E98HteIIsSqm6Xk2FPKIER6+5vyEFMZfo73TqM+VVAIqOkHoPjgKLqSNtVLWScoaM7vY2ZrGEheI79yg==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.3.2", + "rc-util": "^5.25.2" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-collapse": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/rc-collapse/-/rc-collapse-3.9.0.tgz", + "integrity": "sha512-swDdz4QZ4dFTo4RAUMLL50qP0EY62N2kvmk2We5xYdRwcRn8WcYtuetCJpwpaCbUfUt5+huLpVxhvmnK+PHrkA==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "2.x", + "rc-motion": "^2.3.4", + "rc-util": "^5.27.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-dialog": { + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/rc-dialog/-/rc-dialog-9.6.0.tgz", + "integrity": "sha512-ApoVi9Z8PaCQg6FsUzS8yvBEQy0ZL2PkuvAgrmohPkN3okps5WZ5WQWPc1RNuiOKaAYv8B97ACdsFU5LizzCqg==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/portal": "^1.0.0-8", + "classnames": "^2.2.6", + "rc-motion": "^2.3.0", + "rc-util": "^5.21.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-drawer": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/rc-drawer/-/rc-drawer-7.2.0.tgz", + "integrity": "sha512-9lOQ7kBekEJRdEpScHvtmEtXnAsy+NGDXiRWc2ZVC7QXAazNVbeT4EraQKYwCME8BJLa8Bxqxvs5swwyOepRwg==", + "dependencies": { + "@babel/runtime": "^7.23.9", + "@rc-component/portal": "^1.1.1", + "classnames": "^2.2.6", + "rc-motion": "^2.6.1", + "rc-util": "^5.38.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-dropdown": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/rc-dropdown/-/rc-dropdown-4.2.1.tgz", + "integrity": "sha512-YDAlXsPv3I1n42dv1JpdM7wJ+gSUBfeyPK59ZpBD9jQhK9jVuxpjj3NmWQHOBceA1zEPVX84T2wbdb2SD0UjmA==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@rc-component/trigger": "^2.0.0", + "classnames": "^2.2.6", + "rc-util": "^5.44.1" + }, + "peerDependencies": { + "react": ">=16.11.0", + "react-dom": ">=16.11.0" + } + }, + "node_modules/rc-field-form": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/rc-field-form/-/rc-field-form-2.7.0.tgz", + "integrity": "sha512-hgKsCay2taxzVnBPZl+1n4ZondsV78G++XVsMIJCAoioMjlMQR9YwAp7JZDIECzIu2Z66R+f4SFIRrO2DjDNAA==", + "dependencies": { + "@babel/runtime": "^7.18.0", + "@rc-component/async-validator": "^5.0.3", + "rc-util": "^5.32.2" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-image": { + "version": "7.12.0", + "resolved": "https://registry.npmjs.org/rc-image/-/rc-image-7.12.0.tgz", + "integrity": "sha512-cZ3HTyyckPnNnUb9/DRqduqzLfrQRyi+CdHjdqgsyDpI3Ln5UX1kXnAhPBSJj9pVRzwRFgqkN7p9b6HBDjmu/Q==", + "dependencies": { + "@babel/runtime": "^7.11.2", + "@rc-component/portal": "^1.0.2", + "classnames": "^2.2.6", + "rc-dialog": "~9.6.0", + "rc-motion": "^2.6.2", + "rc-util": "^5.34.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-input": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/rc-input/-/rc-input-1.8.0.tgz", + "integrity": "sha512-KXvaTbX+7ha8a/k+eg6SYRVERK0NddX8QX7a7AnRvUa/rEH0CNMlpcBzBkhI0wp2C8C4HlMoYl8TImSN+fuHKA==", + "dependencies": { + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-util": "^5.18.1" + }, + "peerDependencies": { + "react": ">=16.0.0", + "react-dom": ">=16.0.0" + } + }, + "node_modules/rc-input-number": { + "version": "9.5.0", + "resolved": "https://registry.npmjs.org/rc-input-number/-/rc-input-number-9.5.0.tgz", + "integrity": "sha512-bKaEvB5tHebUURAEXw35LDcnRZLq3x1k7GxfAqBMzmpHkDGzjAtnUL8y4y5N15rIFIg5IJgwr211jInl3cipag==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/mini-decimal": "^1.0.1", + "classnames": "^2.2.5", + "rc-input": "~1.8.0", + "rc-util": "^5.40.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-mentions": { + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/rc-mentions/-/rc-mentions-2.20.0.tgz", + "integrity": "sha512-w8HCMZEh3f0nR8ZEd466ATqmXFCMGMN5UFCzEUL0bM/nGw/wOS2GgRzKBcm19K++jDyuWCOJOdgcKGXU3fXfbQ==", + "dependencies": { + "@babel/runtime": "^7.22.5", + "@rc-component/trigger": "^2.0.0", + "classnames": "^2.2.6", + "rc-input": "~1.8.0", + "rc-menu": "~9.16.0", + "rc-textarea": "~1.10.0", + "rc-util": "^5.34.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-menu": { + "version": "9.16.1", + "resolved": "https://registry.npmjs.org/rc-menu/-/rc-menu-9.16.1.tgz", + "integrity": "sha512-ghHx6/6Dvp+fw8CJhDUHFHDJ84hJE3BXNCzSgLdmNiFErWSOaZNsihDAsKq9ByTALo/xkNIwtDFGIl6r+RPXBg==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/trigger": "^2.0.0", + "classnames": "2.x", + "rc-motion": "^2.4.3", + "rc-overflow": "^1.3.1", + "rc-util": "^5.27.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-motion": { + "version": "2.9.5", + "resolved": "https://registry.npmjs.org/rc-motion/-/rc-motion-2.9.5.tgz", + "integrity": "sha512-w+XTUrfh7ArbYEd2582uDrEhmBHwK1ZENJiSJVb7uRxdE7qJSYjbO2eksRXmndqyKqKoYPc9ClpPh5242mV1vA==", + "dependencies": { + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-util": "^5.44.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-notification": { + "version": "5.6.4", + "resolved": "https://registry.npmjs.org/rc-notification/-/rc-notification-5.6.4.tgz", + "integrity": "sha512-KcS4O6B4qzM3KH7lkwOB7ooLPZ4b6J+VMmQgT51VZCeEcmghdeR4IrMcFq0LG+RPdnbe/ArT086tGM8Snimgiw==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "2.x", + "rc-motion": "^2.9.0", + "rc-util": "^5.20.1" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-overflow": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/rc-overflow/-/rc-overflow-1.4.1.tgz", + "integrity": "sha512-3MoPQQPV1uKyOMVNd6SZfONi+f3st0r8PksexIdBTeIYbMX0Jr+k7pHEDvsXtR4BpCv90/Pv2MovVNhktKrwvw==", + "dependencies": { + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.37.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-pagination": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/rc-pagination/-/rc-pagination-5.1.0.tgz", + "integrity": "sha512-8416Yip/+eclTFdHXLKTxZvn70duYVGTvUUWbckCCZoIl3jagqke3GLsFrMs0bsQBikiYpZLD9206Ej4SOdOXQ==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.3.2", + "rc-util": "^5.38.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-picker": { + "version": "4.11.3", + "resolved": "https://registry.npmjs.org/rc-picker/-/rc-picker-4.11.3.tgz", + "integrity": "sha512-MJ5teb7FlNE0NFHTncxXQ62Y5lytq6sh5nUw0iH8OkHL/TjARSEvSHpr940pWgjGANpjCwyMdvsEV55l5tYNSg==", + "dependencies": { + "@babel/runtime": "^7.24.7", + "@rc-component/trigger": "^2.0.0", + "classnames": "^2.2.1", + "rc-overflow": "^1.3.2", + "rc-resize-observer": "^1.4.0", + "rc-util": "^5.43.0" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "date-fns": ">= 2.x", + "dayjs": ">= 1.x", + "luxon": ">= 3.x", + "moment": ">= 2.x", + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + }, + "peerDependenciesMeta": { + "date-fns": { + "optional": true + }, + "dayjs": { + "optional": true + }, + "luxon": { + "optional": true + }, + "moment": { + "optional": true + } + } + }, + "node_modules/rc-progress": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/rc-progress/-/rc-progress-4.0.0.tgz", + "integrity": "sha512-oofVMMafOCokIUIBnZLNcOZFsABaUw8PPrf1/y0ZBvKZNpOiu5h4AO9vv11Sw0p4Hb3D0yGWuEattcQGtNJ/aw==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.6", + "rc-util": "^5.16.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-rate": { + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/rc-rate/-/rc-rate-2.13.1.tgz", + "integrity": "sha512-QUhQ9ivQ8Gy7mtMZPAjLbxBt5y9GRp65VcUyGUMF3N3fhiftivPHdpuDIaWIMOTEprAjZPC08bls1dQB+I1F2Q==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.5", + "rc-util": "^5.0.1" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-resize-observer": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/rc-resize-observer/-/rc-resize-observer-1.4.3.tgz", + "integrity": "sha512-YZLjUbyIWox8E9i9C3Tm7ia+W7euPItNWSPX5sCcQTYbnwDb5uNpnLHQCG1f22oZWUhLw4Mv2tFmeWe68CDQRQ==", + "dependencies": { + "@babel/runtime": "^7.20.7", + "classnames": "^2.2.1", + "rc-util": "^5.44.1", + "resize-observer-polyfill": "^1.5.1" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-segmented": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/rc-segmented/-/rc-segmented-2.7.0.tgz", + "integrity": "sha512-liijAjXz+KnTRVnxxXG2sYDGd6iLL7VpGGdR8gwoxAXy2KglviKCxLWZdjKYJzYzGSUwKDSTdYk8brj54Bn5BA==", + "dependencies": { + "@babel/runtime": "^7.11.1", + "classnames": "^2.2.1", + "rc-motion": "^2.4.4", + "rc-util": "^5.17.0" + }, + "peerDependencies": { + "react": ">=16.0.0", + "react-dom": ">=16.0.0" + } + }, + "node_modules/rc-select": { + "version": "14.16.8", + "resolved": "https://registry.npmjs.org/rc-select/-/rc-select-14.16.8.tgz", + "integrity": "sha512-NOV5BZa1wZrsdkKaiK7LHRuo5ZjZYMDxPP6/1+09+FB4KoNi8jcG1ZqLE3AVCxEsYMBe65OBx71wFoHRTP3LRg==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/trigger": "^2.1.1", + "classnames": "2.x", + "rc-motion": "^2.0.1", + "rc-overflow": "^1.3.1", + "rc-util": "^5.16.1", + "rc-virtual-list": "^3.5.2" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*" + } + }, + "node_modules/rc-slider": { + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/rc-slider/-/rc-slider-11.1.8.tgz", + "integrity": "sha512-2gg/72YFSpKP+Ja5AjC5DPL1YnV8DEITDQrcc1eASrUYjl0esptaBVJBh5nLTXCCp15eD8EuGjwezVGSHhs9tQ==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.5", + "rc-util": "^5.36.0" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-steps": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/rc-steps/-/rc-steps-6.0.1.tgz", + "integrity": "sha512-lKHL+Sny0SeHkQKKDJlAjV5oZ8DwCdS2hFhAkIjuQt1/pB81M0cA0ErVFdHq9+jmPmFw1vJB2F5NBzFXLJxV+g==", + "dependencies": { + "@babel/runtime": "^7.16.7", + "classnames": "^2.2.3", + "rc-util": "^5.16.1" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-switch": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/rc-switch/-/rc-switch-4.1.0.tgz", + "integrity": "sha512-TI8ufP2Az9oEbvyCeVE4+90PDSljGyuwix3fV58p7HV2o4wBnVToEyomJRVyTaZeqNPAp+vqeo4Wnj5u0ZZQBg==", + "dependencies": { + "@babel/runtime": "^7.21.0", + "classnames": "^2.2.1", + "rc-util": "^5.30.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-table": { + "version": "7.50.5", + "resolved": "https://registry.npmjs.org/rc-table/-/rc-table-7.50.5.tgz", + "integrity": "sha512-FDZu8aolhSYd3v9KOc3lZOVAU77wmRRu44R0Wfb8Oj1dXRUsloFaXMSl6f7yuWZUxArJTli7k8TEOX2mvhDl4A==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "@rc-component/context": "^1.4.0", + "classnames": "^2.2.5", + "rc-resize-observer": "^1.1.0", + "rc-util": "^5.44.3", + "rc-virtual-list": "^3.14.2" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-tabs": { + "version": "15.6.1", + "resolved": "https://registry.npmjs.org/rc-tabs/-/rc-tabs-15.6.1.tgz", + "integrity": "sha512-/HzDV1VqOsUWyuC0c6AkxVYFjvx9+rFPKZ32ejxX0Uc7QCzcEjTA9/xMgv4HemPKwzBNX8KhGVbbumDjnj92aA==", + "dependencies": { + "@babel/runtime": "^7.11.2", + "classnames": "2.x", + "rc-dropdown": "~4.2.0", + "rc-menu": "~9.16.0", + "rc-motion": "^2.6.2", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.34.1" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-textarea": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/rc-textarea/-/rc-textarea-1.10.0.tgz", + "integrity": "sha512-ai9IkanNuyBS4x6sOL8qu/Ld40e6cEs6pgk93R+XLYg0mDSjNBGey6/ZpDs5+gNLD7urQ14po3V6Ck2dJLt9SA==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "^2.2.1", + "rc-input": "~1.8.0", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.27.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-tooltip": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/rc-tooltip/-/rc-tooltip-6.4.0.tgz", + "integrity": "sha512-kqyivim5cp8I5RkHmpsp1Nn/Wk+1oeloMv9c7LXNgDxUpGm+RbXJGL+OPvDlcRnx9DBeOe4wyOIl4OKUERyH1g==", + "dependencies": { + "@babel/runtime": "^7.11.2", + "@rc-component/trigger": "^2.0.0", + "classnames": "^2.3.1", + "rc-util": "^5.44.3" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-tree": { + "version": "5.13.1", + "resolved": "https://registry.npmjs.org/rc-tree/-/rc-tree-5.13.1.tgz", + "integrity": "sha512-FNhIefhftobCdUJshO7M8uZTA9F4OPGVXqGfZkkD/5soDeOhwO06T/aKTrg0WD8gRg/pyfq+ql3aMymLHCTC4A==", + "dependencies": { + "@babel/runtime": "^7.10.1", + "classnames": "2.x", + "rc-motion": "^2.0.1", + "rc-util": "^5.16.1", + "rc-virtual-list": "^3.5.1" + }, + "engines": { + "node": ">=10.x" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*" + } + }, + "node_modules/rc-tree-select": { + "version": "5.27.0", + "resolved": "https://registry.npmjs.org/rc-tree-select/-/rc-tree-select-5.27.0.tgz", + "integrity": "sha512-2qTBTzwIT7LRI1o7zLyrCzmo5tQanmyGbSaGTIf7sYimCklAToVVfpMC6OAldSKolcnjorBYPNSKQqJmN3TCww==", + "dependencies": { + "@babel/runtime": "^7.25.7", + "classnames": "2.x", + "rc-select": "~14.16.2", + "rc-tree": "~5.13.0", + "rc-util": "^5.43.0" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*" + } + }, + "node_modules/rc-upload": { + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/rc-upload/-/rc-upload-4.9.0.tgz", + "integrity": "sha512-pAzlPnyiFn1GCtEybEG2m9nXNzQyWXqWV2xFYCmDxjN9HzyjS5Pz2F+pbNdYw8mMJsixLEKLG0wVy9vOGxJMJA==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "classnames": "^2.2.5", + "rc-util": "^5.2.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-util": { + "version": "5.44.4", + "resolved": "https://registry.npmjs.org/rc-util/-/rc-util-5.44.4.tgz", + "integrity": "sha512-resueRJzmHG9Q6rI/DfK6Kdv9/Lfls05vzMs1Sk3M2P+3cJa+MakaZyWY8IPfehVuhPJFKrIY1IK4GqbiaiY5w==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "react-is": "^18.2.0" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/rc-virtual-list": { + "version": "3.18.6", + "resolved": "https://registry.npmjs.org/rc-virtual-list/-/rc-virtual-list-3.18.6.tgz", + "integrity": "sha512-TQ5SsutL3McvWmmxqQtMIbfeoE3dGjJrRSfKekgby7WQMpPIFvv4ghytp5Z0s3D8Nik9i9YNOCqHBfk86AwgAA==", + "dependencies": { + "@babel/runtime": "^7.20.0", + "classnames": "^2.2.6", + "rc-resize-observer": "^1.0.0", + "rc-util": "^5.36.0" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, + "node_modules/react": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-color": { + "version": "2.19.3", + "resolved": "https://registry.npmjs.org/react-color/-/react-color-2.19.3.tgz", + "integrity": "sha512-LEeGE/ZzNLIsFWa1TMe8y5VYqr7bibneWmvJwm1pCn/eNmrabWDh659JSPn9BuaMpEfU83WTOJfnCcjDZwNQTA==", + "dependencies": { + "@icons/material": "^0.2.4", + "lodash": "^4.17.15", + "lodash-es": "^4.17.15", + "material-colors": "^1.2.1", + "prop-types": "^15.5.10", + "reactcss": "^1.2.0", + "tinycolor2": "^1.4.1" + }, + "peerDependencies": { + "react": "*" + } + }, + "node_modules/react-device-detect": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/react-device-detect/-/react-device-detect-2.2.3.tgz", + "integrity": "sha512-buYY3qrCnQVlIFHrC5UcUoAj7iANs/+srdkwsnNjI7anr3Tt7UY6MqNxtMLlr0tMBied0O49UZVK8XKs3ZIiPw==", + "dependencies": { + "ua-parser-js": "^1.0.33" + }, + "peerDependencies": { + "react": ">= 0.14.0", + "react-dom": ">= 0.14.0" + } + }, + "node_modules/react-dom": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.2" + }, + "peerDependencies": { + "react": "^18.3.1" + } + }, + "node_modules/react-excel-renderer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/react-excel-renderer/-/react-excel-renderer-1.1.0.tgz", + "integrity": "sha512-bxQdl7CLQmC3ughWUyMuzVPgjnssiQWi/3hGzq7bJ39wkBUT1E7gr8uh3PaJMG+AqYPx91qBFhDwzzNzZGKADA==", + "dependencies": { + "react": "^16.7.0", + "webpack": "^4.12.0", + "xlsx": "^0.14.1" + } + }, + "node_modules/react-excel-renderer/node_modules/commander": { + "version": "2.17.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz", + "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==" + }, + "node_modules/react-excel-renderer/node_modules/react": { + "version": "16.14.0", + "resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz", + "integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==", + "dependencies": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "prop-types": "^15.6.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-excel-renderer/node_modules/xlsx": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/xlsx/-/xlsx-0.14.5.tgz", + "integrity": "sha512-s/5f4/mjeWREmIWZ+HtDfh/rnz51ar+dZ4LWKZU3u9VBx2zLdSIWTdXgoa52/pnZ9Oe/Vu1W1qzcKzLVe+lq4w==", + "dependencies": { + "adler-32": "~1.2.0", + "cfb": "^1.1.2", + "codepage": "~1.14.0", + "commander": "~2.17.1", + "crc-32": "~1.2.0", + "exit-on-epipe": "~1.0.1", + "ssf": "~0.10.2" + }, + "bin": { + "xlsx": "bin/xlsx.njs" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/react-fast-compare": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.2.tgz", + "integrity": "sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==", + "license": "MIT" + }, + "node_modules/react-helmet-async": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/react-helmet-async/-/react-helmet-async-2.0.5.tgz", + "integrity": "sha512-rYUYHeus+i27MvFE+Jaa4WsyBKGkL6qVgbJvSBoX8mbsWoABJXdEO0bZyi0F6i+4f0NuIb8AvqPMj3iXFHkMwg==", + "license": "Apache-2.0", + "dependencies": { + "invariant": "^2.2.4", + "react-fast-compare": "^3.2.2", + "shallowequal": "^1.1.0" + }, + "peerDependencies": { + "react": "^16.6.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/react-icons": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.12.0.tgz", + "integrity": "sha512-IBaDuHiShdZqmfc/TwHu6+d6k2ltNCf3AszxNmjJc1KUfXdEeRJOKyNvLmAHaarhzGmTSVygNdyu8/opXv2gaw==", + "peerDependencies": { + "react": "*" + } + }, + "node_modules/react-is": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==" + }, + "node_modules/react-player": { + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/react-player/-/react-player-2.16.1.tgz", + "integrity": "sha512-mxP6CqjSWjidtyDoMOSHVPdhX0pY16aSvw5fVr44EMaT7X5Xz46uQ4b/YBm1v2x+3hHkB9PmjEEkmbHb9PXQ4w==", + "license": "MIT", + "dependencies": { + "deepmerge": "^4.0.0", + "load-script": "^1.0.0", + "memoize-one": "^5.1.1", + "prop-types": "^15.7.2", + "react-fast-compare": "^3.0.1" + }, + "peerDependencies": { + "react": ">=16.6.0" + } + }, + "node_modules/react-qr-code": { + "version": "2.0.15", + "resolved": "https://registry.npmjs.org/react-qr-code/-/react-qr-code-2.0.15.tgz", + "integrity": "sha512-MkZcjEXqVKqXEIMVE0mbcGgDpkfSdd8zhuzXEl9QzYeNcw8Hq2oVIzDLWuZN2PQBwM5PWjc2S31K8Q1UbcFMfw==", + "dependencies": { + "prop-types": "^15.8.1", + "qr.js": "0.0.0" + }, + "peerDependencies": { + "react": "*" + } + }, + "node_modules/react-redux": { + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-8.1.3.tgz", + "integrity": "sha512-n0ZrutD7DaX/j9VscF+uTALI3oUPa/pO4Z3soOBIjuRn/FzVu6aehhysxZCLi6y7duMf52WNZGMl7CtuK5EnRw==", + "dependencies": { + "@babel/runtime": "^7.12.1", + "@types/hoist-non-react-statics": "^3.3.1", + "@types/use-sync-external-store": "^0.0.3", + "hoist-non-react-statics": "^3.3.2", + "react-is": "^18.0.0", + "use-sync-external-store": "^1.0.0" + }, + "peerDependencies": { + "@types/react": "^16.8 || ^17.0 || ^18.0", + "@types/react-dom": "^16.8 || ^17.0 || ^18.0", + "react": "^16.8 || ^17.0 || ^18.0", + "react-dom": "^16.8 || ^17.0 || ^18.0", + "react-native": ">=0.59", + "redux": "^4 || ^5.0.0-beta.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + }, + "react-dom": { + "optional": true + }, + "react-native": { + "optional": true + }, + "redux": { + "optional": true + } + } + }, + "node_modules/react-refresh": { + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.17.0.tgz", + "integrity": "sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-router": { + "version": "6.30.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.30.1.tgz", + "integrity": "sha512-X1m21aEmxGXqENEPG3T6u0Th7g0aS4ZmoNynhbs+Cn+q+QGTLt+d5IQ2bHAXKzKcxGJjxACpVbnYQSCRcfxHlQ==", + "dependencies": { + "@remix-run/router": "1.23.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "react": ">=16.8" + } + }, + "node_modules/react-router-dom": { + "version": "6.30.1", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.30.1.tgz", + "integrity": "sha512-llKsgOkZdbPU1Eg3zK8lCn+sjD9wMRZZPuzmdWWX5SUs8OFkN5HnFVC0u5KMeMaC9aoancFI/KoLuKPqN+hxHw==", + "dependencies": { + "@remix-run/router": "1.23.0", + "react-router": "6.30.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "react": ">=16.8", + "react-dom": ">=16.8" + } + }, + "node_modules/react-slick": { + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/react-slick/-/react-slick-0.29.0.tgz", + "integrity": "sha512-TGdOKE+ZkJHHeC4aaoH85m8RnFyWqdqRfAGkhd6dirmATXMZWAxOpTLmw2Ll/jPTQ3eEG7ercFr/sbzdeYCJXA==", + "dependencies": { + "classnames": "^2.2.5", + "enquire.js": "^2.1.6", + "json2mq": "^0.2.0", + "lodash.debounce": "^4.0.8", + "resize-observer-polyfill": "^1.5.0" + }, + "peerDependencies": { + "react": "^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/react-snap": { + "version": "1.23.0", + "resolved": "https://registry.npmjs.org/react-snap/-/react-snap-1.23.0.tgz", + "integrity": "sha512-spmg2maHSedLrn6QBAfLJkyMqeeffLTIs7h40pS1copW2xBrajx4HEAcanm+7IVGO6SYCPoGwvbU3U30UFN25g==", + "dev": true, + "license": "MIT", + "dependencies": { + "clean-css": "4.2.1", + "express": "4.16.4", + "express-history-api-fallback": "2.2.1", + "highland": "2.13.0", + "html-minifier": "3.5.21", + "minimalcss": "0.8.1", + "mkdirp": "0.5.1", + "puppeteer": "^1.8.0", + "serve-static": "1.13.2", + "sourcemapped-stacktrace-node": "2.1.8" + }, + "bin": { + "react-snap": "run.js" + }, + "engines": { + "node": ">= 8.6.0" + } + }, + "node_modules/react-snap/node_modules/minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha512-miQKw5Hv4NS1Psg2517mV4e4dYNaO3++hjAvLOAzKqZ61rH8NS1SK+vbfBWZ5PY/Me/bEWhUwqMghEW5Fb9T7Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/react-snap/node_modules/mkdirp": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha512-SknJC52obPfGQPnjIkXbmA6+5H15E+fR+E4iR2oQ3zzCLbd7/ONua69R/Gw7AgkTLsRG+r5fzksYwWe1AgTyWA==", + "deprecated": "Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "0.0.8" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/reactcss": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/reactcss/-/reactcss-1.2.3.tgz", + "integrity": "sha512-KiwVUcFu1RErkI97ywr8nvx8dNOpT03rbnma0SSalTYjkrPYaEajR4a/MRt6DZ46K6arDRbWMNHF+xH7G7n/8A==", + "dependencies": { + "lodash": "^4.0.1" + } + }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/readdir-glob": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/readdir-glob/-/readdir-glob-1.1.3.tgz", + "integrity": "sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==", + "dependencies": { + "minimatch": "^5.1.0" + } + }, + "node_modules/readdir-glob/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/readdir-glob/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "optional": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/redux": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/redux/-/redux-4.2.1.tgz", + "integrity": "sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==", + "dependencies": { + "@babel/runtime": "^7.9.2" + } + }, + "node_modules/redux-thunk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-2.4.2.tgz", + "integrity": "sha512-+P3TjtnP0k/FEjcBL5FZpoovtvrTNT/UXd4/sluaSyrURlSlhLSzEdfsTBW7WsKB6yPvgd7q/iZPICFjW4o57Q==", + "peerDependencies": { + "redux": "^4" + } + }, + "node_modules/reflect.getprototypeof": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz", + "integrity": "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.9", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.7", + "get-proto": "^1.0.1", + "which-builtin-type": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", + "optional": true + }, + "node_modules/regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dependencies": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/regexp.prototype.flags": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz", + "integrity": "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "set-function-name": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/relateurl": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz", + "integrity": "sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/remove-trailing-separator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==", + "optional": true + }, + "node_modules/repeat-element": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz", + "integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/reselect": { + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/reselect/-/reselect-4.1.8.tgz", + "integrity": "sha512-ab9EmR80F/zQTMNeneUr4cv+jSwPJgIlvEmVwLerwrWVbpLlBuls9XHzIeTFy4cegU2NHBp3va0LKOzU5qFEYQ==" + }, + "node_modules/resize-observer-polyfill": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", + "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==" + }, + "node_modules/resolve": { + "version": "2.0.0-next.5", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz", + "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==", + "dev": true, + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==", + "deprecated": "https://github.com/lydell/resolve-url#deprecated" + }, + "node_modules/ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "engines": { + "node": ">=0.12" + } + }, + "node_modules/reusify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", + "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", + "dev": true, + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rgbcolor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/rgbcolor/-/rgbcolor-1.0.1.tgz", + "integrity": "sha512-9aZLIrhRaD97sgVhtJOW6ckOEh6/GnvQtdVNfdZ6s67+3/XwLS9lBcQYzEEhYVeUowN7pRzMLsyGhK2i/xvWbw==", + "optional": true, + "engines": { + "node": ">= 0.8.15" + } + }, + "node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/ripemd160": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.3.tgz", + "integrity": "sha512-5Di9UC0+8h1L6ZD2d7awM7E/T4uA1fJRlx6zk/NvdCCVEoAnFqvHmCuNeIKoCeIixBX/q8uM+6ycDvF8woqosA==", + "license": "MIT", + "dependencies": { + "hash-base": "^3.1.2", + "inherits": "^2.0.4" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/ripemd160/node_modules/hash-base": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.2.tgz", + "integrity": "sha512-Bb33KbowVTIj5s7Ked1OsqHUeCpz//tPwR+E2zJgJKo9Z5XolZ9b6bdUgjmYlwnWhoOQKoTd1TYToZGn5mAYOg==", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "^2.3.8", + "safe-buffer": "^5.2.1", + "to-buffer": "^1.2.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/ripemd160/node_modules/hash-base/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/ripemd160/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/rollup-plugin-terser": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", + "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==", + "deprecated": "This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser", + "dependencies": { + "@babel/code-frame": "^7.10.4", + "jest-worker": "^26.2.1", + "serialize-javascript": "^4.0.0", + "terser": "^5.0.0" + }, + "peerDependencies": { + "rollup": "^2.0.0" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/run-queue": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz", + "integrity": "sha512-ntymy489o0/QQplUDnpYAYUsO50K9SBrIVaKCWDOJzYJts0f9WH9RFJkyagebkw5+y1oi00R7ynNW/d12GBumg==", + "dependencies": { + "aproba": "^1.1.1" + } + }, + "node_modules/safe-array-concat": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.3.tgz", + "integrity": "sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.2", + "get-intrinsic": "^1.2.6", + "has-symbols": "^1.1.0", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-array-concat/node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true + }, + "node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/safe-push-apply": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz", + "integrity": "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==", + "dev": true, + "dependencies": { + "es-errors": "^1.3.0", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-push-apply/node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true + }, + "node_modules/safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==", + "dependencies": { + "ret": "~0.1.10" + } + }, + "node_modules/safe-regex-test": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz", + "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "is-regex": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, + "license": "MIT" + }, + "node_modules/sass": { + "version": "1.89.0", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.89.0.tgz", + "integrity": "sha512-ld+kQU8YTdGNjOLfRWBzewJpU5cwEv/h5yyqlSeJcj6Yh8U4TDA9UA5FPicqDz/xgRPWRSYIQNiFks21TbA9KQ==", + "dependencies": { + "chokidar": "^4.0.0", + "immutable": "^5.0.2", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + }, + "optionalDependencies": { + "@parcel/watcher": "^2.4.1" + } + }, + "node_modules/sass/node_modules/chokidar": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", + "dependencies": { + "readdirp": "^4.0.1" + }, + "engines": { + "node": ">= 14.16.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/sass/node_modules/readdirp": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", + "engines": { + "node": ">= 14.18.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/saxes": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", + "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", + "dependencies": { + "xmlchars": "^2.2.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/scheduler": { + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "node_modules/schema-utils": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", + "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", + "dependencies": { + "ajv": "^6.1.0", + "ajv-errors": "^1.0.0", + "ajv-keywords": "^3.1.0" + }, + "engines": { + "node": ">= 4" + } + }, + "node_modules/scroll-into-view-if-needed": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-3.1.0.tgz", + "integrity": "sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==", + "dependencies": { + "compute-scroll-into-view": "^3.0.2" + } + }, + "node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/send": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz", + "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "~1.6.2", + "mime": "1.4.1", + "ms": "2.0.0", + "on-finished": "~2.3.0", + "range-parser": "~1.2.0", + "statuses": "~1.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/mime": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", + "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + } + }, + "node_modules/serialize-javascript": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", + "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/serve-static": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz", + "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.2", + "send": "0.16.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/set-function-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", + "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", + "dev": true, + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/set-proto": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz", + "integrity": "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==", + "dev": true, + "dependencies": { + "dunder-proto": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/set-value": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", + "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", + "dependencies": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/set-value/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==" + }, + "node_modules/setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/sha.js": { + "version": "2.4.12", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.12.tgz", + "integrity": "sha512-8LzC5+bvI45BjpfXU8V5fdU2mfeKiQe1D1gIMn7XUlF3OTUrpdJpPPH4EMAnF0DsHHdSZqCdSss5qCmJKuiO3w==", + "license": "(MIT AND BSD-3-Clause)", + "dependencies": { + "inherits": "^2.0.4", + "safe-buffer": "^5.2.1", + "to-buffer": "^1.2.0" + }, + "bin": { + "sha.js": "bin.js" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/sha.js/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/shallowequal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz", + "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==", + "license": "MIT" + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/side-channel": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/slick-carousel": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/slick-carousel/-/slick-carousel-1.8.1.tgz", + "integrity": "sha512-XB9Ftrf2EEKfzoQXt3Nitrt/IPbT+f1fgqBdoxO3W/+JYvtEOW6EgxnWfr9GH6nmULv7Y2tPmEX3koxThVmebA==", + "peerDependencies": { + "jquery": ">=1.8.0" + } + }, + "node_modules/snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dependencies": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dependencies": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==", + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/is-descriptor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.3.tgz", + "integrity": "sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==", + "dependencies": { + "is-accessor-descriptor": "^1.0.1", + "is-data-descriptor": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dependencies": { + "kind-of": "^3.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-util/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-list-map": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", + "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==" + }, + "node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-resolve": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", + "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", + "deprecated": "See https://github.com/lydell/source-map-resolve#deprecated", + "dependencies": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/source-map-support/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-url": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", + "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", + "deprecated": "See https://github.com/lydell/source-map-url#deprecated" + }, + "node_modules/sourcemapped-stacktrace-node": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/sourcemapped-stacktrace-node/-/sourcemapped-stacktrace-node-2.1.8.tgz", + "integrity": "sha512-xQOqfT5mquKLBp+H06WTeGYEQh7OF5wa44IPHbh+qNdTP15xSzxwISPml1xCweJ6DExDpDDxXe/P34wP+GdDrg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "es6-promise": "^4.1.1", + "isomorphic-fetch": "^2.2.1", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">= 8.6.0" + } + }, + "node_modules/sourcemapped-stacktrace-node/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dependencies": { + "extend-shallow": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/split-type": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/split-type/-/split-type-0.3.4.tgz", + "integrity": "sha512-otEk9vnD8qwfLsk3Lx0gz+qRkNIJCx0mlyL47ImP/DjMuV39d75Lpfwjn9fHteDRz0aoOblSzQjSNT9+Sswxcg==" + }, + "node_modules/ssf": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/ssf/-/ssf-0.10.3.tgz", + "integrity": "sha512-pRuUdW0WwyB2doSqqjWyzwCD6PkfxpHAHdZp39K3dp/Hq7f+xfMwNAWIi16DyrRg4gg9c/RvLYkJTSawTPTm1w==", + "dependencies": { + "frac": "~1.1.2" + }, + "bin": { + "ssf": "bin/ssf.njs" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/ssri": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz", + "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", + "dependencies": { + "figgy-pudding": "^3.5.1" + } + }, + "node_modules/stackblur-canvas": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/stackblur-canvas/-/stackblur-canvas-2.7.0.tgz", + "integrity": "sha512-yf7OENo23AGJhBriGx0QivY5JP6Y1HbrrDI6WLt6C5auYZXlQrheoY8hD4ibekFKz1HOfE48Ww8kMWMnJD/zcQ==", + "optional": true, + "engines": { + "node": ">=0.1.14" + } + }, + "node_modules/static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==", + "dependencies": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==", + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/statuses": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz", + "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/stream-browserify": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", + "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", + "dependencies": { + "inherits": "~2.0.1", + "readable-stream": "^2.0.2" + } + }, + "node_modules/stream-browserify/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/stream-each": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz", + "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==", + "dependencies": { + "end-of-stream": "^1.1.0", + "stream-shift": "^1.0.0" + } + }, + "node_modules/stream-http": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", + "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", + "dependencies": { + "builtin-status-codes": "^3.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.3.6", + "to-arraybuffer": "^1.0.0", + "xtend": "^4.0.0" + } + }, + "node_modules/stream-http/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/stream-shift": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.3.tgz", + "integrity": "sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ==" + }, + "node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/string-convert": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/string-convert/-/string-convert-0.2.1.tgz", + "integrity": "sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A==" + }, + "node_modules/string.prototype.matchall": { + "version": "4.0.12", + "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.12.tgz", + "integrity": "sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.6", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.6", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "internal-slot": "^1.1.0", + "regexp.prototype.flags": "^1.5.3", + "set-function-name": "^2.0.2", + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.repeat": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz", + "integrity": "sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==", + "dev": true, + "dependencies": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5" + } + }, + "node_modules/string.prototype.trim": { + "version": "1.2.10", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.10.tgz", + "integrity": "sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.2", + "define-data-property": "^1.1.4", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-object-atoms": "^1.0.0", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.9.tgz", + "integrity": "sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.2", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stylis": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.3.6.tgz", + "integrity": "sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ==" + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/svg-pathdata": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/svg-pathdata/-/svg-pathdata-6.0.3.tgz", + "integrity": "sha512-qsjeeq5YjBZ5eMdFuUa4ZosMLxgr5RZ+F+Y1OrDhuOCEInRMA3x74XdBtggJcj9kOeInz0WE+LgCPDkZFlBYJw==", + "optional": true, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/swiper": { + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/swiper/-/swiper-10.3.1.tgz", + "integrity": "sha512-24Wk3YUdZHxjc9faID97GTu6xnLNia+adMt6qMTZG/HgdSUt4fS0REsGUXJOgpTED0Amh/j+gRGQxsLayJUlBQ==", + "funding": [ + { + "type": "patreon", + "url": "https://www.patreon.com/swiperjs" + }, + { + "type": "open_collective", + "url": "http://opencollective.com/swiper" + } + ], + "engines": { + "node": ">= 4.7.0" + } + }, + "node_modules/tapable": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz", + "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/terser": { + "version": "5.42.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.42.0.tgz", + "integrity": "sha512-UYCvU9YQW2f/Vwl+P0GfhxJxbUGLwd+5QrrGgLajzWAtC/23AX0vcise32kkP7Eu0Wu9VlzzHAXkLObgjQfFlQ==", + "license": "BSD-2-Clause", + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.14.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/terser-webpack-plugin": { + "version": "1.4.6", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.6.tgz", + "integrity": "sha512-2lBVf/VMVIddjSn3GqbT90GvIJ/eYXJkt8cTzU7NbjKqK8fwv18Ftr4PlbF46b/e88743iZFL5Dtr/rC4hjIeA==", + "dependencies": { + "cacache": "^12.0.2", + "find-cache-dir": "^2.1.0", + "is-wsl": "^1.1.0", + "schema-utils": "^1.0.0", + "serialize-javascript": "^4.0.0", + "source-map": "^0.6.1", + "terser": "^4.1.2", + "webpack-sources": "^1.4.0", + "worker-farm": "^1.7.0" + }, + "engines": { + "node": ">= 6.9.0" + }, + "peerDependencies": { + "webpack": "^4.0.0" + } + }, + "node_modules/terser-webpack-plugin/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/terser-webpack-plugin/node_modules/terser": { + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.1.tgz", + "integrity": "sha512-4GnLC0x667eJG0ewJTa6z/yXrbLGv80D9Ru6HIpCQmO+Q4PfEtBFi0ObSckqwL6VyQv/7ENJieXHo2ANmdQwgw==", + "license": "BSD-2-Clause", + "dependencies": { + "commander": "^2.20.0", + "source-map": "~0.6.1", + "source-map-support": "~0.5.12" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/terser/node_modules/acorn": { + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", + "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/text-segmentation": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/text-segmentation/-/text-segmentation-1.0.3.tgz", + "integrity": "sha512-iOiPUo/BGnZ6+54OsWxZidGCsdU8YbE4PSpdPinp7DeMtUJNJBoJ/ouUSTJjHkh1KntHaltHl/gDs2FC4i5+Nw==", + "dependencies": { + "utrie": "^1.0.2" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, + "node_modules/throttle-debounce": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-5.0.2.tgz", + "integrity": "sha512-B71/4oyj61iNH0KeCamLuE2rmKuTO5byTOSVwECM5FA7TiAiAW+UqTKZ9ERueC4qvgSttUhdmq1mXC3kJqGX7A==", + "engines": { + "node": ">=12.22" + } + }, + "node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/through2/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/timers-browserify": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz", + "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==", + "dependencies": { + "setimmediate": "^1.0.4" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/tinycolor2": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.6.0.tgz", + "integrity": "sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==" + }, + "node_modules/tmp": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.5.tgz", + "integrity": "sha512-voyz6MApa1rQGUxT3E+BK7/ROe8itEx7vD8/HEvt4xwXucvQ5G5oeEiHkmHZJuBO21RpOf+YYm9MOivj709jow==", + "license": "MIT", + "engines": { + "node": ">=14.14" + } + }, + "node_modules/to-arraybuffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", + "integrity": "sha512-okFlQcoGTi4LQBG/PgSYblw9VOyptsz2KJZqc6qtgGdes8VktzUQkj4BI2blit072iS8VODNcMA+tvnS9dnuMA==" + }, + "node_modules/to-buffer": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.2.2.tgz", + "integrity": "sha512-db0E3UJjcFhpDhAF4tLo03oli3pwl3dbnzXOUIlRKrp+ldk/VUxzpWYZENsw2SZiuBjHAk7DfB0VU7NKdpb6sw==", + "license": "MIT", + "dependencies": { + "isarray": "^2.0.5", + "safe-buffer": "^5.2.1", + "typed-array-buffer": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/to-buffer/node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "license": "MIT" + }, + "node_modules/to-buffer/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-object-path/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dependencies": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==", + "dependencies": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/toggle-selection": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz", + "integrity": "sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==" + }, + "node_modules/traverse": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.3.9.tgz", + "integrity": "sha512-iawgk0hLP3SxGKDfnDJf8wTz4p2qImnyihM5Hh/sGvQ3K37dPi/w8sRhdNIxYA1TwFwc5mDhIJq+O0RsvXBKdQ==", + "engines": { + "node": "*" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/tty-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", + "integrity": "sha512-JVa5ijo+j/sOoHGjw0sxw734b1LhBkQ3bvUGNdxnVXDCX81Yx7TFgnZygxrIIWn23hbfTaMYLwRmAxFyDuFmIw==" + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/typed-array-buffer": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz", + "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==", + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/typed-array-byte-length": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz", + "integrity": "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.8", + "for-each": "^0.3.3", + "gopd": "^1.2.0", + "has-proto": "^1.2.0", + "is-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-byte-offset": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.4.tgz", + "integrity": "sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==", + "dev": true, + "dependencies": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.8", + "for-each": "^0.3.3", + "gopd": "^1.2.0", + "has-proto": "^1.2.0", + "is-typed-array": "^1.1.15", + "reflect.getprototypeof": "^1.0.9" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-length": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz", + "integrity": "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0", + "reflect.getprototypeof": "^1.0.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" + }, + "node_modules/ua-parser-js": { + "version": "1.0.41", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.41.tgz", + "integrity": "sha512-LbBDqdIC5s8iROCUjMbW1f5dJQTEFB1+KO9ogbvlb3nm9n4YHa5p4KTvFPWvh2Hs8gZMBuiB1/8+pdfe/tDPug==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + }, + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" + } + ], + "bin": { + "ua-parser-js": "script/cli.js" + }, + "engines": { + "node": "*" + } + }, + "node_modules/uglify-js": { + "version": "3.4.10", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.10.tgz", + "integrity": "sha512-Y2VsbPVs0FIshJztycsO2SfPk7/KAF/T72qzv9u5EpQ4kB2hQoHlhNQTsNyy6ul7lQtqJN/AoWeS23OzEiEFxw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "commander": "~2.19.0", + "source-map": "~0.6.1" + }, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/uglify-js/node_modules/commander": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz", + "integrity": "sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==", + "dev": true, + "license": "MIT" + }, + "node_modules/uglify-js/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unbox-primitive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz", + "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.3", + "has-bigints": "^1.0.2", + "has-symbols": "^1.1.0", + "which-boxed-primitive": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/undici-types": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", + "license": "MIT" + }, + "node_modules/union-value": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", + "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", + "dependencies": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unique-filename": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", + "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", + "dependencies": { + "unique-slug": "^2.0.0" + } + }, + "node_modules/unique-slug": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", + "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", + "dependencies": { + "imurmurhash": "^0.1.4" + } + }, + "node_modules/universal-cookie": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/universal-cookie/-/universal-cookie-4.0.4.tgz", + "integrity": "sha512-lbRVHoOMtItjWbM7TwDLdl8wug7izB0tq3/YVKhT/ahB4VDvWMyvnADfnJI8y6fSvsjh51Ix7lTGC6Tn4rMPhw==", + "license": "MIT", + "dependencies": { + "@types/cookie": "^0.3.3", + "cookie": "^0.4.0" + } + }, + "node_modules/universal-cookie/node_modules/cookie": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", + "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ==", + "dependencies": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==", + "dependencies": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-value/node_modules/isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==", + "dependencies": { + "isarray": "1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unzipper": { + "version": "0.10.14", + "resolved": "https://registry.npmjs.org/unzipper/-/unzipper-0.10.14.tgz", + "integrity": "sha512-ti4wZj+0bQTiX2KmKWuwj7lhV+2n//uXEotUmGuQqrbVZSEGFMbI68+c6JCQ8aAmUWYvtHEz2A8K6wXvueR/6g==", + "dependencies": { + "big-integer": "^1.6.17", + "binary": "~0.3.0", + "bluebird": "~3.4.1", + "buffer-indexof-polyfill": "~1.0.0", + "duplexer2": "~0.1.4", + "fstream": "^1.0.12", + "graceful-fs": "^4.2.2", + "listenercount": "~1.0.1", + "readable-stream": "~2.3.6", + "setimmediate": "~1.0.4" + } + }, + "node_modules/unzipper/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/upath": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz", + "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==", + "optional": true, + "engines": { + "node": ">=4", + "yarn": "*" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz", + "integrity": "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/upper-case": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz", + "integrity": "sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA==", + "dev": true, + "license": "MIT" + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==", + "deprecated": "Please see https://github.com/lydell/urix#deprecated" + }, + "node_modules/url": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.4.tgz", + "integrity": "sha512-oCwdVC7mTuWiPyjLUz/COz5TLk6wgp0RCsN+wHZ2Ekneac9w8uuV0njcbbie2ME+Vs+d6duwmYuR3HgQXs1fOg==", + "dependencies": { + "punycode": "^1.4.1", + "qs": "^6.12.3" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/url/node_modules/punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==" + }, + "node_modules/use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/use-sync-external-store": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.5.0.tgz", + "integrity": "sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/util": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz", + "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==", + "dependencies": { + "inherits": "2.0.3" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + }, + "node_modules/util/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==" + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/utrie": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/utrie/-/utrie-1.0.2.tgz", + "integrity": "sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==", + "dependencies": { + "base64-arraybuffer": "^1.0.2" + } + }, + "node_modules/uuid": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.0.tgz", + "integrity": "sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "bin": { + "uuid": "dist/esm/bin/uuid" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/vite": { + "version": "4.5.14", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.14.tgz", + "integrity": "sha512-+v57oAaoYNnO3hIu5Z/tJRZjq5aHM2zDve9YZ8HngVHbhk66RStobhb1sqPMIPEleV6cNKYK4eGrAbE9Ulbl2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.18.10", + "postcss": "^8.4.27", + "rollup": "^3.27.1" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + }, + "peerDependencies": { + "@types/node": ">= 14", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "node_modules/vite-plugin-prerender": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/vite-plugin-prerender/-/vite-plugin-prerender-1.0.8.tgz", + "integrity": "sha512-DSfzhm6LlIlN4QFHPCa3Vi6mCLeODpQnlBHar7LttLOEXykPspP8QZtknCCzYFRCf2176Wj+A0X/lwl/MXNnJw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@prerenderer/prerenderer": "^0.7.2", + "@prerenderer/renderer-puppeteer": "^0.2.0", + "chalk": "^4.1.2", + "debug": "^4.3.3", + "html-minifier": "^3.5.16", + "mkdirp": "^1.0.4" + }, + "peerDependencies": { + "vite": ">=2.0.0" + } + }, + "node_modules/vite-plugin-prerender/node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/vite-plugin-prerender/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/vite-plugin-prerender/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/vite-plugin-sitemap": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/vite-plugin-sitemap/-/vite-plugin-sitemap-0.8.2.tgz", + "integrity": "sha512-bqIw6NVOXg6je81lzX8Lm0vjf8/QSAp8di8fYQzZ3ZdVicOm8+6idBGALJiy1R1FiXNIK8rgORO6HBqXyHW+iQ==", + "dev": true + }, + "node_modules/vite/node_modules/rollup": { + "version": "3.29.5", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.5.tgz", + "integrity": "sha512-GVsDdsbJzzy4S/v3dqWPJ7EfvZJfCHiDqe80IyrF59LYuP+e6U1LJoUqeuqRbwAWoMNoXivMNeNAOf5E22VA1w==", + "dev": true, + "license": "MIT", + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=14.18.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/vm-browserify": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", + "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==" + }, + "node_modules/watchpack": { + "version": "1.7.5", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.5.tgz", + "integrity": "sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ==", + "dependencies": { + "graceful-fs": "^4.1.2", + "neo-async": "^2.5.0" + }, + "optionalDependencies": { + "chokidar": "^3.4.1", + "watchpack-chokidar2": "^2.0.1" + } + }, + "node_modules/watchpack-chokidar2": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz", + "integrity": "sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww==", + "optional": true, + "dependencies": { + "chokidar": "^2.1.8" + } + }, + "node_modules/watchpack-chokidar2/node_modules/anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "optional": true, + "dependencies": { + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" + } + }, + "node_modules/watchpack-chokidar2/node_modules/anymatch/node_modules/normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==", + "optional": true, + "dependencies": { + "remove-trailing-separator": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/binary-extensions": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz", + "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/chokidar": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz", + "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==", + "optional": true, + "dependencies": { + "anymatch": "^2.0.0", + "async-each": "^1.0.1", + "braces": "^2.3.2", + "glob-parent": "^3.1.0", + "inherits": "^2.0.3", + "is-binary-path": "^1.0.0", + "is-glob": "^4.0.0", + "normalize-path": "^3.0.0", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.2.1", + "upath": "^1.1.1" + }, + "optionalDependencies": { + "fsevents": "^1.2.7" + } + }, + "node_modules/watchpack-chokidar2/node_modules/fsevents": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", + "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", + "deprecated": "Upgrade to fsevents v2 to mitigate potential security issues", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "dependencies": { + "bindings": "^1.5.0", + "nan": "^2.12.1" + }, + "engines": { + "node": ">= 4.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA==", + "optional": true, + "dependencies": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/glob-parent/node_modules/is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw==", + "optional": true, + "dependencies": { + "is-extglob": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/is-binary-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", + "integrity": "sha512-9fRVlXc0uCxEDj1nQzaWONSpbTfx0FmJfzHF7pwlI8DkWGoHBBea4Pg5Ky0ojwwxQmnSifgbKkI06Qv0Ljgj+Q==", + "optional": true, + "dependencies": { + "binary-extensions": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "optional": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/watchpack-chokidar2/node_modules/readdirp": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", + "optional": true, + "dependencies": { + "graceful-fs": "^4.1.11", + "micromatch": "^3.1.10", + "readable-stream": "^2.0.2" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/webfontloader": { + "version": "1.6.28", + "resolved": "https://registry.npmjs.org/webfontloader/-/webfontloader-1.6.28.tgz", + "integrity": "sha512-Egb0oFEga6f+nSgasH3E0M405Pzn6y3/9tOVanv/DLfa1YBIgcv90L18YyWnvXkRbIM17v5Kv6IT2N6g1x5tvQ==", + "license": "Apache-2.0" + }, + "node_modules/webpack": { + "version": "4.47.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.47.0.tgz", + "integrity": "sha512-td7fYwgLSrky3fI1EuU5cneU4+pbH6GgOfuKNS1tNPcfdGinGELAqsb/BP4nnvZyKSG2i/xFGU7+n2PvZA8HJQ==", + "dependencies": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-module-context": "1.9.0", + "@webassemblyjs/wasm-edit": "1.9.0", + "@webassemblyjs/wasm-parser": "1.9.0", + "acorn": "^6.4.1", + "ajv": "^6.10.2", + "ajv-keywords": "^3.4.1", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^4.5.0", + "eslint-scope": "^4.0.3", + "json-parse-better-errors": "^1.0.2", + "loader-runner": "^2.4.0", + "loader-utils": "^1.2.3", + "memory-fs": "^0.4.1", + "micromatch": "^3.1.10", + "mkdirp": "^0.5.3", + "neo-async": "^2.6.1", + "node-libs-browser": "^2.2.1", + "schema-utils": "^1.0.0", + "tapable": "^1.1.3", + "terser-webpack-plugin": "^1.4.3", + "watchpack": "^1.7.4", + "webpack-sources": "^1.4.1" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=6.11.5" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + }, + "webpack-command": { + "optional": true + } + } + }, + "node_modules/webpack-sources": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", + "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", + "dependencies": { + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" + } + }, + "node_modules/webpack-sources/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/whatwg-fetch": { + "version": "3.6.20", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz", + "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==", + "dev": true, + "license": "MIT" + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz", + "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==", + "dev": true, + "dependencies": { + "is-bigint": "^1.1.0", + "is-boolean-object": "^1.2.1", + "is-number-object": "^1.1.1", + "is-string": "^1.1.1", + "is-symbol": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-builtin-type": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz", + "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.2", + "function.prototype.name": "^1.1.6", + "has-tostringtag": "^1.0.2", + "is-async-function": "^2.0.0", + "is-date-object": "^1.1.0", + "is-finalizationregistry": "^1.1.0", + "is-generator-function": "^1.0.10", + "is-regex": "^1.2.1", + "is-weakref": "^1.0.2", + "isarray": "^2.0.5", + "which-boxed-primitive": "^1.1.0", + "which-collection": "^1.0.2", + "which-typed-array": "^1.1.16" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-builtin-type/node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true + }, + "node_modules/which-collection": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz", + "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==", + "dev": true, + "dependencies": { + "is-map": "^2.0.3", + "is-set": "^2.0.3", + "is-weakmap": "^2.0.2", + "is-weakset": "^2.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-typed-array": { + "version": "1.1.19", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.19.tgz", + "integrity": "sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==", + "dependencies": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.4", + "for-each": "^0.3.5", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/wmf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wmf/-/wmf-1.0.2.tgz", + "integrity": "sha512-/p9K7bEh0Dj6WbXg4JG0xvLQmIadrner1bi45VMJTfnbVHsc7yIajZyoSoK60/dtVBs12Fm6WkUI5/3WAVsNMw==", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/word": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/word/-/word-0.3.0.tgz", + "integrity": "sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA==", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/worker-farm": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.7.0.tgz", + "integrity": "sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==", + "dependencies": { + "errno": "~0.1.7" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "node_modules/ws": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz", + "integrity": "sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==", + "dev": true, + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0" + } + }, + "node_modules/xlsx": { + "version": "0.18.5", + "resolved": "https://registry.npmjs.org/xlsx/-/xlsx-0.18.5.tgz", + "integrity": "sha512-dmg3LCjBPHZnQp5/F/+nnTa+miPJxUXB6vtk42YjBBKayDNagxGEeIdWApkYPOf3Z3pm3k62Knjzp7lMeTEtFQ==", + "dependencies": { + "adler-32": "~1.3.0", + "cfb": "~1.2.1", + "codepage": "~1.15.0", + "crc-32": "~1.2.1", + "ssf": "~0.11.2", + "wmf": "~1.0.1", + "word": "~0.3.0" + }, + "bin": { + "xlsx": "bin/xlsx.njs" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/xlsx/node_modules/adler-32": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/adler-32/-/adler-32-1.3.1.tgz", + "integrity": "sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A==", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/xlsx/node_modules/codepage": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/codepage/-/codepage-1.15.0.tgz", + "integrity": "sha512-3g6NUTPd/YtuuGrhMnOMRjFc+LJw/bnMp3+0r/Wcz3IXUuCosKRJvMphm5+Q+bvTVGcJJuRvVLuYba+WojaFaA==", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/xlsx/node_modules/ssf": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/ssf/-/ssf-0.11.2.tgz", + "integrity": "sha512-+idbmIXoYET47hH+d7dfm2epdOMUDjqcB4648sTZ+t2JwoyBFL/insLfB/racrDmsKB3diwsDA696pZMieAC5g==", + "dependencies": { + "frac": "~1.1.2" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==" + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" + }, + "node_modules/yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zip-stream": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-4.1.1.tgz", + "integrity": "sha512-9qv4rlDiopXg4E69k+vMHjNN63YFMe9sZMrdlvKnCjlCRWeCBswPPMPUfx+ipsAWq1LXHe70RcbaHdJJpS6hyQ==", + "dependencies": { + "archiver-utils": "^3.0.4", + "compress-commons": "^4.1.2", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/zip-stream/node_modules/archiver-utils": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-3.0.4.tgz", + "integrity": "sha512-KVgf4XQVrTjhyWmx6cte4RxonPLR9onExufI1jhvw/MQ4BB6IsZD5gT8Lq+u/+pRkWna/6JoHpiQioaqFP5Rzw==", + "dependencies": { + "glob": "^7.2.3", + "graceful-fs": "^4.2.0", + "lazystream": "^1.0.0", + "lodash.defaults": "^4.2.0", + "lodash.difference": "^4.5.0", + "lodash.flatten": "^4.4.0", + "lodash.isplainobject": "^4.0.6", + "lodash.union": "^4.6.0", + "normalize-path": "^3.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">= 10" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..1651fd7 --- /dev/null +++ b/package.json @@ -0,0 +1,116 @@ +{ + "name": "pozo", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "server": "node server/server.js", + "start": "npm run build && npm run server", + "deploy": "bash deploy.sh", + "seo-test": "echo 'Test your site at: https://pagespeed.web.dev/ and https://search.google.com/test/rich-results'", + "lint": "eslint src --ext js,jsx --report-unused-disable-directives --max-warnings 0", + "preview": "vite preview", + "convert-jsx-to-html": "node scripts/jsx-to-html-converter.js" + }, + "reactSnap": { + "source": "dist", + "inlineCss": false, + "puppeteerArgs": [ + "--no-sandbox", + "--disable-setuid-sandbox", + "--disable-dev-shm-usage" + ], + "skipThirdPartyRequests": true, + "waitFor": 3000, + "include": [ + "/", + "/blog", + "/signin", + "/home/contact-us", + "/home/pricing-pozoapp" + ], + "minifyHtml": { + "collapseWhitespace": true, + "removeComments": true, + "removeEmptyAttributes": true + }, + "crawl": true, + "userAgent": "ReactSnap", + "routes": [ + "/home/", + "/home/signin", + "/home/blog", + "/home/contact-us", + "/home/pricing-pozoapp", + "/home/live-Session" + ] + }, + "dependencies": { + "@editorjs/code": "^2.9.3", + "@editorjs/delimiter": "^1.4.2", + "@editorjs/editorjs": "^2.31.0", + "@editorjs/embed": "^2.7.6", + "@editorjs/header": "^2.8.8", + "@editorjs/image": "^2.10.3", + "@editorjs/link": "^2.6.2", + "@editorjs/list": "^2.0.8", + "@editorjs/paragraph": "^2.11.7", + "@editorjs/quote": "^2.7.6", + "@reduxjs/toolkit": "^1.9.5", + "@studio-freight/lenis": "^1.0.42", + "@weekwood/editorjs-video": "^1.0.2", + "antd": "^5.4.4", + "aos": "^2.3.4", + "axios": "^1.4.0", + "bowser": "^2.11.0", + "classnames": "^2.3.2", + "crypto-js": "^4.1.1", + "devtools-detect": "^4.0.2", + "exceljs": "^4.3.0", + "framer-motion": "^12.17.0", + "google-maps-react": "^2.0.6", + "gsap": "^3.13.0", + "html2canvas": "^1.4.1", + "html2pdf.js": "^0.10.3", + "informed": "^4.44.1", + "jquery": "^3.7.1", + "jspdf": "^2.5.1", + "moment": "^2.29.4", + "qrcode.react": "^4.2.0", + "react": "^18.2.0", + "react-color": "^2.19.3", + "react-device-detect": "^2.2.3", + "react-dom": "^18.2.0", + "react-excel-renderer": "^1.1.0", + "react-helmet-async": "^2.0.5", + "react-icons": "^4.8.0", + "react-qr-code": "^2.0.15", + "react-redux": "^8.0.5", + "react-router-dom": "^6.11.0", + "react-slick": "^0.29.0", + "rollup-plugin-terser": "^7.0.2", + "sass": "^1.62.0", + "slick-carousel": "^1.8.1", + "split-type": "^0.3.4", + "swiper": "^10.2.0", + "universal-cookie": "^4.0.4", + "uuid": "^11.1.0", + "webfontloader": "^1.6.28", + "xlsx": "^0.18.5" + }, + "devDependencies": { + "@types/react": "^18.0.28", + "@types/react-dom": "^18.0.11", + "@vitejs/plugin-react": "^4.0.0-beta.0", + "eslint": "^8.38.0", + "eslint-plugin-react": "^7.32.2", + "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react-refresh": "^0.3.4", + "react-snap": "^1.23.0", + "vite": "^4.3.0", + "vite-plugin-prerender": "^1.0.8", + "vite-plugin-sitemap": "^0.8.2" + } +} diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..11f03a9 --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,45 @@ +# 301 Redirects for SEO +RewriteEngine On + +# Force HTTPS +RewriteCond %{HTTPS} off +RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] + +# Force www +RewriteCond %{HTTP_HOST} !^www\. +RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] + +# Remove trailing slash +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{THE_REQUEST} /+[^?\s]*?/[\s?] +RewriteRule ^(.+)/$ /$1 [R=301,L] + +# Handle React Router +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.html [L] + +# Cache static assets + +ExpiresActive on +ExpiresByType text/css "access plus 1 year" +ExpiresByType application/javascript "access plus 1 year" +ExpiresByType image/png "access plus 1 year" +ExpiresByType image/jpg "access plus 1 year" +ExpiresByType image/jpeg "access plus 1 year" +ExpiresByType image/gif "access plus 1 year" +ExpiresByType image/webp "access plus 1 year" + + +# Compress files + +AddOutputFilterByType DEFLATE text/plain +AddOutputFilterByType DEFLATE text/html +AddOutputFilterByType DEFLATE text/xml +AddOutputFilterByType DEFLATE text/css +AddOutputFilterByType DEFLATE application/xml +AddOutputFilterByType DEFLATE application/xhtml+xml +AddOutputFilterByType DEFLATE application/rss+xml +AddOutputFilterByType DEFLATE application/javascript +AddOutputFilterByType DEFLATE application/x-javascript + \ No newline at end of file diff --git a/public/BingSiteAuth.xml b/public/BingSiteAuth.xml new file mode 100644 index 0000000..836bb08 --- /dev/null +++ b/public/BingSiteAuth.xml @@ -0,0 +1,4 @@ + + + bdb9a09f08f78048c94cb684979cf786 + \ No newline at end of file diff --git a/public/ads.txt b/public/ads.txt new file mode 100644 index 0000000..7eaea24 --- /dev/null +++ b/public/ads.txt @@ -0,0 +1,3 @@ +# Ads.txt file for PozoApp +# This file is used to authorize digital ad sellers +# Add your ad network entries here when you start monetizing \ No newline at end of file diff --git a/public/browserconfig.xml b/public/browserconfig.xml new file mode 100644 index 0000000..c044c72 --- /dev/null +++ b/public/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #1677ff + + + \ No newline at end of file diff --git a/public/fav.ico b/public/fav.ico new file mode 100644 index 0000000..6cf2c66 Binary files /dev/null and b/public/fav.ico differ diff --git a/public/favlogo 1.png b/public/favlogo 1.png new file mode 100644 index 0000000..f354431 Binary files /dev/null and b/public/favlogo 1.png differ diff --git a/public/google-analytics.js b/public/google-analytics.js new file mode 100644 index 0000000..7b7646f --- /dev/null +++ b/public/google-analytics.js @@ -0,0 +1,22 @@ +// Google Analytics 4 Configuration +window.dataLayer = window.dataLayer || []; +function gtag(){dataLayer.push(arguments);} +gtag('js', new Date()); + +// Replace with your actual GA4 Measurement ID +gtag('config', 'G-MQBWL7JVJ0', { + page_title: document.title, + page_location: window.location.href +}); + +// Track custom events +export const trackEvent = (eventName, parameters = {}) => { + gtag('event', eventName, parameters); +}; + +// Track page views +export const trackPageView = (page_path) => { + gtag('config', 'G-MQBWL7JVJ0', { + page_path: page_path + }); +}; \ No newline at end of file diff --git a/public/google-site-verification.html b/public/google-site-verification.html new file mode 100644 index 0000000..e9d42d8 --- /dev/null +++ b/public/google-site-verification.html @@ -0,0 +1,10 @@ + + + + +Google Site Verification + + +

Google site verification page

+ + \ No newline at end of file diff --git a/public/manifest.json b/public/manifest.json new file mode 100644 index 0000000..7179b25 --- /dev/null +++ b/public/manifest.json @@ -0,0 +1,16 @@ +{ + "name": "PozoApp - Business Management Solution", + "short_name": "PozoApp", + "description": "AI-powered POS and SaaS solutions for businesses", + "start_url": "/", + "display": "standalone", + "background_color": "#ffffff", + "theme_color": "#1677ff", + "icons": [ + { + "src": "/src/Images/PozoAppFavicon.png", + "sizes": "192x192", + "type": "image/png" + } + ] +} \ No newline at end of file diff --git a/public/og/Signin-og.jpg b/public/og/Signin-og.jpg new file mode 100644 index 0000000..0d1acf8 Binary files /dev/null and b/public/og/Signin-og.jpg differ diff --git a/public/og/blog-og.jpg b/public/og/blog-og.jpg new file mode 100644 index 0000000..3773383 Binary files /dev/null and b/public/og/blog-og.jpg differ diff --git a/public/og/contact-og.jpg b/public/og/contact-og.jpg new file mode 100644 index 0000000..41d0fea Binary files /dev/null and b/public/og/contact-og.jpg differ diff --git a/public/og/default-og.jpg b/public/og/default-og.jpg new file mode 100644 index 0000000..a5b63f3 Binary files /dev/null and b/public/og/default-og.jpg differ diff --git a/public/og/home.jpg b/public/og/home.jpg new file mode 100644 index 0000000..bdd7e76 Binary files /dev/null and b/public/og/home.jpg differ diff --git a/public/og/pricing-og.jpg b/public/og/pricing-og.jpg new file mode 100644 index 0000000..73a6a10 Binary files /dev/null and b/public/og/pricing-og.jpg differ diff --git a/public/privacy-policy.html b/public/privacy-policy.html new file mode 100644 index 0000000..8d19f58 --- /dev/null +++ b/public/privacy-policy.html @@ -0,0 +1,31 @@ + + + + + + Privacy Policy | POZO + + + + +
+

Privacy Policy

+

Last updated: December 19, 2024

+ +

Information We Collect

+

We collect information you provide directly to us, such as when you create an account, use our services, or contact us for support.

+ +

How We Use Your Information

+

We use the information we collect to provide, maintain, and improve our services, process transactions, and communicate with you.

+ +

Information Sharing

+

We do not sell, trade, or otherwise transfer your personal information to third parties without your consent, except as described in this policy.

+ +

Data Security

+

We implement appropriate security measures to protect your personal information against unauthorized access, alteration, disclosure, or destruction.

+ +

Contact Us

+

If you have any questions about this Privacy Policy, please contact us at support@pozo.app

+
+ + \ No newline at end of file diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..aff3fff --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,33 @@ +User-agent: * + +# Allow top-level site content and important pages +Allow: / +Allow: /features +Allow: /pricing +Allow: /contact-us +Allow: /blog + +# Allow common public asset folders +Allow: /assets/ +Allow: /images/ +Allow: /css/ +Allow: /js/ + +# Disallow admin, build and development files +Disallow: /admin +Disallow: /AdminPanel +Disallow: /*.env +Disallow: /src/ +Disallow: /dist/ +Disallow: /node_modules/ + +# Sitemap location (replace if your production domain differs) +Sitemap: https://www.pozo.app/sitemap.xml + +# Crawl delay (optional) +Crawl-delay: 1 + + +# Notes: +# - This file is served from /public when using Vite. Ensure production deploy serves this file at https://your-domain/robots.txt +# - Robots rules are advisory; protect sensitive routes server-side as well. diff --git a/public/schema.json b/public/schema.json new file mode 100644 index 0000000..69617cb --- /dev/null +++ b/public/schema.json @@ -0,0 +1,94 @@ +{ + "@context": "https://schema.org", + "@graph": [ + { + "@type": "Organization", + "@id": "https://www.pozo.app/#organization", + "name": "POZO", + "alternateName": "PozoMind", + "url": "https://www.pozo.app/", + "logo": { + "@type": "ImageObject", + "url": "https://www.pozo.app/src/Images/PozoAppFavicon.png" + }, + "contactPoint": { + "@type": "ContactPoint", + "telephone": "+91-7324000011", + "contactType": "customer service", + "areaServed": "IN", + "availableLanguage": ["English", "Hindi"] + }, + "address": { + "@type": "PostalAddress", + "streetAddress": "No 51 Step Colony, Dharga", + "addressLocality": "Hosur", + "addressRegion": "Tamil Nadu", + "postalCode": "635126", + "addressCountry": "IN" + }, + "sameAs": [ + "https://www.facebook.com/pozoapp", + "https://www.instagram.com/pozoapp", + "https://twitter.com/pozoapp", + "https://www.youtube.com/pozoapp" + ] + }, + { + "@type": "LocalBusiness", + "@id": "https://www.pozo.app/#localbusiness", + "name": "POZO - Retail ERP & POS Software", + "image": "https://www.pozo.app/og/home.jpg", + "description": "Fast billing, smart inventory, GST-ready POS. POZO helps kirana, mini-supermarkets & retail chains speed checkout, connect weighing scales, and manage multi-store ops.", + "url": "https://www.pozo.app/", + "telephone": "+91-7324000011", + "priceRange": "₹₹", + "address": { + "@type": "PostalAddress", + "streetAddress": "No 51 Step Colony, Dharga", + "addressLocality": "Hosur", + "addressRegion": "Tamil Nadu", + "postalCode": "635126", + "addressCountry": "IN" + }, + "geo": { + "@type": "GeoCoordinates", + "latitude": 12.1265, + "longitude": 77.8309 + }, + "openingHoursSpecification": { + "@type": "OpeningHoursSpecification", + "dayOfWeek": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "opens": "09:00", + "closes": "18:00" + }, + "serviceArea": { + "@type": "Country", + "name": "India" + } + }, + { + "@type": "SoftwareApplication", + "@id": "https://www.pozo.app/#software", + "name": "POZO POS & ERP Software", + "applicationCategory": "BusinessApplication", + "operatingSystem": "Android, Windows, Web", + "offers": { + "@type": "Offer", + "price": "999", + "priceCurrency": "INR", + "priceValidUntil": "2025-12-31" + }, + "aggregateRating": { + "@type": "AggregateRating", + "ratingValue": "4.8", + "reviewCount": "150" + } + } + ] +} \ No newline at end of file diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..1755a5a --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,57 @@ + + + + https://www.pozo.app/ + 2024-12-19 + weekly + 1.0 + + + https://www.pozo.app/home/ + 2024-12-19 + weekly + 1.0 + + + https://www.pozo.app/home/signin + 2024-12-19 + monthly + 0.8 + + + https://www.pozo.app/home/pricing-pozoapp + 2024-12-19 + monthly + 0.9 + + + https://www.pozo.app/home/contact-us + 2024-12-19 + monthly + 0.8 + + + https://www.pozo.app/home/blog + 2024-12-19 + weekly + 0.7 + + + https://www.pozo.app/home/live-Session + 2024-12-19 + monthly + 0.6 + + + https://www.pozo.app/home/features + 2024-12-19 + monthly + 0.8 + + + https://www.pozo.app/home/about + 2024-12-19 + monthly + 0.7 + + \ No newline at end of file diff --git a/public/static/brand/logo.png b/public/static/brand/logo.png new file mode 100644 index 0000000..f354431 Binary files /dev/null and b/public/static/brand/logo.png differ diff --git a/public/sw.js b/public/sw.js new file mode 100644 index 0000000..424e5f8 --- /dev/null +++ b/public/sw.js @@ -0,0 +1,21 @@ +const CACHE_NAME = 'pozoapp-v1'; +const urlsToCache = [ + '/', + '/static/css/main.css', + '/static/js/main.js', + '/og/home.jpg' +]; + +self.addEventListener('install', event => { + event.waitUntil( + caches.open(CACHE_NAME) + .then(cache => cache.addAll(urlsToCache)) + ); +}); + +self.addEventListener('fetch', event => { + event.respondWith( + caches.match(event.request) + .then(response => response || fetch(event.request)) + ); +}); \ No newline at end of file diff --git a/public/vite.svg b/public/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/public/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/web.config b/public/web.config new file mode 100644 index 0000000..7ad3e11 --- /dev/null +++ b/public/web.config @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/react-snap.config.js b/react-snap.config.js new file mode 100644 index 0000000..94c1798 --- /dev/null +++ b/react-snap.config.js @@ -0,0 +1,19 @@ +module.exports = { + routes: [ + "/home/", + "/home/signin", + "/home/signup", + "/home/dashboard", + "/home/features", + "/home/pricing", + "/home/contact-us", + "/home/blog" + ], + inlineCss: true, + puppeteerArgs: ["--no-sandbox"], + skipThirdPartyRequests: true, + minifyHtml: { + collapseWhitespace: true, + removeComments: true, + }, +}; diff --git a/scripts/generate-seo.js b/scripts/generate-seo.js new file mode 100644 index 0000000..33b2996 --- /dev/null +++ b/scripts/generate-seo.js @@ -0,0 +1,174 @@ +import fs from "fs"; +import path from "path"; +import axios from "axios"; +import { fileURLToPath } from "url"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); +// For production deployment, always use the production URL +// When running convert-jsx-to-html, always use production URLs for SEO +const mainDirectory = (import.meta?.env?.ENV_MAIN_BASE_URL) + || process.env.ENV_MAIN_BASE_URL + || 'https://www.pozo.app/home'; +const rawApiUrl = (import.meta?.env?.ENV_API_URL) || process.env.ENV_API_URL || ''; + +function normalizeApiBase(url) { + if (!url) return ''; + // If full http/https, use as-is + if (/^https?:\/\//i.test(url)) return url; + // If protocol-relative (//domain), prefix https: + if (/^\/\//.test(url)) return `https:${url}`; + // Otherwise, assume domain/path and prefix https:// + return `https://${url}`; +} + +const CommonApiUrl = normalizeApiBase(rawApiUrl).replace(/\/$/, ''); + + +const routes = [ + { path: "home/index.html", pageId: 1, url: `${mainDirectory}/`}, + { + path: "home/signin/index.html", + pageId: 2, + url: `${mainDirectory}/signin`, + }, + { + path: "home/pricing-pozoapp/index.html", + pageId: 3, + url: `${mainDirectory}/pricing-pozoapp`, + }, + { + path: "home/contact-us/index.html", + pageId: 4, + url: `${mainDirectory}/contact-us`, + }, + { path: "home/blog/index.html", pageId: 5, url: `${mainDirectory}/blog` }, +]; + +const fallbackData = { + 1: { + title: "Retail ERP & POS for Indian MSMEs | POZO", + description: "Fast billing, smart inventory, GST-ready POS. POZO helps kirana, mini-supermarkets & retail chains speed checkout, connect weighing scales, and manage multi-store ops.", + image: `${mainDirectory}/og/home.jpg`, + }, + 2: { + title: "Sign In to PozoApp", + description: "Access your business dashboard", + image: `${mainDirectory}/og/Signin-og.jpg`, + }, + 3: { + title: "Pricing - Retail ERP & POS Plans | POZO", + description: "Simple plans for MSMEs. Fast billing, inventory, GST e-invoice, weighing-scale integration, WhatsApp e-bills & multi-store controls. Book a demo.", + image: `${mainDirectory}/og/pricing-og.jpg`, + }, + 4: { + title: "Contact PozoApp", + description: "Get support and sales information", + image: `${mainDirectory}/og/contact-og.jpg`, + }, + 5: { + title: "POZO Blog — Retail ERP, POS & Grocery Billing Guides", + description: "Practical guides on POS billing, weighing-scale integration, GST e-invoices, multi-store ERP & inventory control for Indian retailers.", + image: `${mainDirectory}/og/blog-og.jpg`, + }, +}; + +async function fetchSEO(pageId) { + try { + const response = await axios.get( + `${CommonApiUrl}/Seo`, + { params: { pageId } } + ); + if (response.data?.statusCode === 1 && response.data?.data?.length > 0) { + return response.data.data[0]; + } + } catch (error) { + console.log(`Using fallback for PageId ${pageId}`); + } + return null; +} + +async function generateSEOFiles() { + for (const route of routes) { + const dbData = await fetchSEO(route.pageId); + const fallback = fallbackData[route.pageId]; + + const seoData = { + title: dbData?.MetaTitle || fallback.title, + description: dbData?.MetaDesc || fallback.description, + image: dbData?.ImageUrl || fallback.image, + url: route.url, + }; + + // Read the prerendered HTML file for this specific route + const filePath = path.join(__dirname, "../dist", route.path); + let html; + + if (fs.existsSync(filePath)) { + // If prerendered file exists, read it + html = fs.readFileSync(filePath, "utf8"); + } else { + // Fallback to base index.html if prerendered file doesn't exist + html = fs.readFileSync( + path.join(__dirname, "../dist/index.html"), + "utf8" + ); + } + + // Replace SEO tags in the HTML + html = html + // First uncomment commented title tags + .replace(//, `${seoData.title}`) + // Then replace any existing title tags + .replace(/[^<]*<\/title>/, `<title>${seoData.title}`) + .replace( + //, + `` + ) + .replace( + //, + `` + ) + .replace( + //, + `` + ) + .replace( + //, + `` + ) + .replace( + //, + `` + ) + .replace( + //, + `` + ) + .replace( + //, + `` + ) + .replace( + //, + `` + ) + .replace( + //, + `` + ) + .replace( + //, + `` + ); + + // Write the updated HTML back to the file + fs.mkdirSync(path.dirname(filePath), { recursive: true }); + fs.writeFileSync(filePath, html); + console.log(`✓ Generated ${route.path}`); + } + + console.log("\n✓ All SEO files generated successfully!"); +} + +generateSEOFiles().catch(console.error); diff --git a/scripts/jsx-to-html-converter.js b/scripts/jsx-to-html-converter.js new file mode 100644 index 0000000..e27e9d1 --- /dev/null +++ b/scripts/jsx-to-html-converter.js @@ -0,0 +1,126 @@ +#!/usr/bin/env node + +import { execSync, spawn } from 'child_process'; +import { setTimeout } from 'timers/promises'; +import fs from 'fs'; +import path from 'path'; + +const isWin = process.platform === 'win32'; +const npmCmd = isWin ? 'npm.cmd' : 'npm'; +const npxCmd = isWin ? 'npx.cmd' : 'npx'; + +if (!process.env.SKIP_BUILD) { + console.log('Building the React app...'); + try { + execSync(`${npmCmd} run build`, { stdio: 'inherit', shell: isWin }); + } catch (error) { + console.error('Build failed:', error.message); + process.exit(1); + } +} else { + console.log('Skipping build (SKIP_BUILD=1)'); +} + +// Copy server.js and server folder to dist for iisnode +console.log('Copying server files to dist...'); + +try { + // Create dist-specific server.js for iisnode (serves from __dirname, not dist subfolder) + const distServerJs = `import express from 'express'; +import path from 'path'; +import { fileURLToPath } from 'url'; +import seoMiddleware from './server/seo-middleware.js'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const app = express(); +const PORT = process.env.PORT || 3000; + +// Redirect /home to root +app.use((req, res, next) => { + if (req.path.startsWith('/home')) { + const newPath = req.path.replace('/home', '') || '/'; + return res.redirect(301, newPath); + } + next(); +}); + +// Serve static files - __dirname is already dist/ +app.use(express.static(__dirname)); + +// Apply SEO middleware for HTML routes +app.use(seoMiddleware); + +app.listen(PORT, () => { + console.log(\`Server running on port \${PORT}\`); + console.log('Dynamic SEO enabled!'); +}); + +export default app; +`; + + fs.writeFileSync(path.join('dist', 'server.js'), distServerJs, 'utf8'); + + // Copy server folder to dist + if (!fs.existsSync(path.join('dist', 'server'))) { + fs.mkdirSync(path.join('dist', 'server')); + } + + // Copy server.js from server folder (if it exists) + if (fs.existsSync(path.join('server', 'server.js'))) { + fs.copyFileSync( + path.join('server', 'server.js'), + path.join('dist', 'server', 'server.js') + ); + } + + // Create dist-specific seo-middleware.js with correct paths + const seoMiddlewareJs = fs.readFileSync(path.join('server', 'seo-middleware.js'), 'utf8'); + // Replace the path from ../dist to .. for dist deployment (handle all variations) + const distSeoMiddlewareJs = seoMiddlewareJs + .replace(/path\.join\(__dirname, '\.\.\/dist'/g, "path.join(__dirname, '..'") + .replace(/path\.join\(__dirname, '\.\.', 'dist'/g, "path.join(__dirname, '..'") + .replace(/path\.join\(__dirname, '\.\.\/dist',/g, "path.join(__dirname, '..',") + .replace(/path\.join\(__dirname, '\.\.\/dist"/g, "path.join(__dirname, '..\"") + .replace(/path\.join\(__dirname, '\.\.\/dist',\s*req\.path/g, "path.join(__dirname, '..', req.path"); + + fs.writeFileSync(path.join('dist', 'server', 'seo-middleware.js'), distSeoMiddlewareJs, 'utf8'); + + console.log('Server files copied successfully!'); +} catch (error) { + console.error('Failed to copy server files:', error.message); + process.exit(1); +} + +if (process.env.PRERENDER === '1') { + let server; + try { + console.log('Starting development server for prerender...'); + server = spawn(npmCmd, ['run', 'dev'], { stdio: 'inherit', shell: isWin }); + // Wait for server to start + await setTimeout(5000); + + console.log('Prerendering pages with react-snap...'); + execSync(`${npxCmd} react-snap`, { stdio: 'inherit', shell: isWin }); + } catch (error) { + console.warn('Prerendering skipped due to error (continuing to SEO):', error?.message || error); + } finally { + if (server) { + console.log('Stopping development server...'); + server.kill(); + } + } +} else { + console.log('Skipping react-snap prerender (set PRERENDER=1 to enable)'); +} + +console.log('Applying SEO optimizations...'); +try { + execSync('node scripts/generate-seo.js', { stdio: 'inherit', shell: isWin }); +} catch (error) { + console.error('SEO application failed:', error.message); + process.exit(1); +} + +console.log('JSX to HTML conversion completed successfully!'); diff --git a/scripts/jsx-to-html-converter.js.backup_20251110_1145 b/scripts/jsx-to-html-converter.js.backup_20251110_1145 new file mode 100644 index 0000000..51a958a --- /dev/null +++ b/scripts/jsx-to-html-converter.js.backup_20251110_1145 @@ -0,0 +1,119 @@ +#!/usr/bin/env node + +import { execSync, spawn } from 'child_process'; +import { setTimeout } from 'timers/promises'; +import fs from 'fs'; +import path from 'path'; + +const isWin = process.platform === 'win32'; +const npmCmd = isWin ? 'npm.cmd' : 'npm'; +const npxCmd = isWin ? 'npx.cmd' : 'npx'; + +if (!process.env.SKIP_BUILD) { + console.log('Building the React app...'); + try { + execSync(`${npmCmd} run build`, { stdio: 'inherit', shell: isWin }); + } catch (error) { + console.error('Build failed:', error.message); + process.exit(1); + } +} else { + console.log('Skipping build (SKIP_BUILD=1)'); +} + +// Copy server.js and server folder to dist for iisnode +console.log('Copying server files to dist...'); + +try { + // Create dist-specific server.js for iisnode (serves from __dirname, not dist subfolder) + const distServerJs = `import express from 'express'; +import path from 'path'; +import { fileURLToPath } from 'url'; +import seoMiddleware from './server/seo-middleware.js'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const app = express(); +const PORT = process.env.PORT || 3000; + +// Serve static files - __dirname is already dist/ +app.use(express.static(__dirname)); +// Also mount under /home because Vite base is /home/ +app.use('/home', express.static(__dirname)); + +// Apply SEO middleware for HTML routes +app.use(seoMiddleware); + +app.listen(PORT, () => { + console.log(\`Server running on port \${PORT}\`); + console.log('Dynamic SEO enabled!'); +}); + +export default app; +`; + + fs.writeFileSync(path.join('dist', 'server.js'), distServerJs, 'utf8'); + + // Copy server folder to dist + if (!fs.existsSync(path.join('dist', 'server'))) { + fs.mkdirSync(path.join('dist', 'server')); + } + + // Copy server.js from server folder (if it exists) + if (fs.existsSync(path.join('server', 'server.js'))) { + fs.copyFileSync( + path.join('server', 'server.js'), + path.join('dist', 'server', 'server.js') + ); + } + + // Create dist-specific seo-middleware.js with correct paths + const seoMiddlewareJs = fs.readFileSync(path.join('server', 'seo-middleware.js'), 'utf8'); + // Replace the path from ../dist to .. for dist deployment (handle all variations) + const distSeoMiddlewareJs = seoMiddlewareJs + .replace(/path\.join\(__dirname, '\.\.\/dist'/g, "path.join(__dirname, '..'") + .replace(/path\.join\(__dirname, '\.\.', 'dist'/g, "path.join(__dirname, '..'") + .replace(/path\.join\(__dirname, '\.\.\/dist',/g, "path.join(__dirname, '..',") + .replace(/path\.join\(__dirname, '\.\.\/dist"/g, "path.join(__dirname, '..\"") + .replace(/path\.join\(__dirname, '\.\.\/dist',\s*req\.path/g, "path.join(__dirname, '..', req.path"); + + fs.writeFileSync(path.join('dist', 'server', 'seo-middleware.js'), distSeoMiddlewareJs, 'utf8'); + + console.log('Server files copied successfully!'); +} catch (error) { + console.error('Failed to copy server files:', error.message); + process.exit(1); +} + +if (process.env.PRERENDER === '1') { + let server; + try { + console.log('Starting development server for prerender...'); + server = spawn(npmCmd, ['run', 'dev'], { stdio: 'inherit', shell: isWin }); + // Wait for server to start + await setTimeout(5000); + + console.log('Prerendering pages with react-snap...'); + execSync(`${npxCmd} react-snap`, { stdio: 'inherit', shell: isWin }); + } catch (error) { + console.warn('Prerendering skipped due to error (continuing to SEO):', error?.message || error); + } finally { + if (server) { + console.log('Stopping development server...'); + server.kill(); + } + } +} else { + console.log('Skipping react-snap prerender (set PRERENDER=1 to enable)'); +} + +console.log('Applying SEO optimizations...'); +try { + execSync('node scripts/generate-seo.js', { stdio: 'inherit', shell: isWin }); +} catch (error) { + console.error('SEO application failed:', error.message); + process.exit(1); +} + +console.log('JSX to HTML conversion completed successfully!'); diff --git a/scripts/updateSEO.js b/scripts/updateSEO.js new file mode 100644 index 0000000..b6b06a7 --- /dev/null +++ b/scripts/updateSEO.js @@ -0,0 +1,40 @@ +const fs = require('fs'); +const path = require('path'); + +// Function to update index.html with dynamic SEO data +async function updateIndexHTML(seoData) { + const indexPath = path.join(__dirname, '../dist/index.html'); + let html = fs.readFileSync(indexPath, 'utf8'); + + // Replace meta tags with dynamic data + html = html.replace( + //, + `` + ); + + html = html.replace( + //, + `` + ); + + html = html.replace( + //, + `` + ); + + html = html.replace( + //, + `` + ); + + html = html.replace( + /[^<]*<\/title>/, + `<title>${seoData.metaTitle}` + ); + + // Write updated HTML + fs.writeFileSync(indexPath, html); + console.log('SEO updated successfully!'); +} + +module.exports = { updateIndexHTML }; \ No newline at end of file diff --git a/server.js b/server.js new file mode 100644 index 0000000..328ab2e --- /dev/null +++ b/server.js @@ -0,0 +1,23 @@ +import express from 'express'; +import path from 'path'; +import { fileURLToPath } from 'url'; +import seoMiddleware from './server/seo-middleware.js'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const app = express(); +const PORT = process.env.PORT || 3000; + +// Apply SEO middleware FIRST for HTML routes (before static files!) +app.use(seoMiddleware); + +// Serve static files from dist folder +app.use(express.static(path.join(__dirname, 'dist'))); + +app.listen(PORT, () => { + console.log(`Server running on port ${PORT}`); + console.log('Dynamic SEO enabled!'); +}); + +export default app; diff --git a/server/seo-middleware.js b/server/seo-middleware.js new file mode 100644 index 0000000..4c26e3b --- /dev/null +++ b/server/seo-middleware.js @@ -0,0 +1,439 @@ +// Express middleware to inject dynamic SEO meta tags +import fs from 'fs'; +import path from 'path'; +import { fileURLToPath } from 'url'; +import axios from 'axios'; +import { dirname } from 'path'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = dirname(__filename); + +const seoMiddleware = async (req, res, next) => { + // Skip non-HTML requests and static assets + // Skip files with extensions (except .html) - CSS, JS, images, etc. + const hasExtension = req.path.match(/\.[a-z]{2,4}$/i); + if (hasExtension && !req.path.endsWith('.html')) { + return next(); // Let static middleware serve CSS, JS, images, etc. + } + + // Skip if it's an API route or static asset + if (req.path.startsWith('/api/') || req.path.startsWith('/assets/') || req.path.startsWith('/home/assets/')) { + return next(); + } + + // CRITICAL: Process ALL routes that could be HTML pages + // This includes: /, /home, /home/blog, /home/pricing, etc. + // Don't call next() - we will send the response ourselves + console.log('🔍 SEO Middleware checking path:', req.path); + console.log('🔍 Request method:', req.method); + console.log('🔍 Full URL:', req.url); + + try { + console.log('==== SEO Middleware triggered for:', req.path); + console.log('🔍 Raw req.path:', req.path); + + const normalizedPath = normalizePath(mapToHomeNamespace(req.path)); + console.log('Normalized path:', normalizedPath); + console.log('🔍 After normalization:', normalizedPath); + + // Attempt dynamic SEO fetch by path/slug first, fallback to pageId map + const routeToPageId = { + '/': 1, + '/home': 1, + '/home/': 1, + '/blog': 5, + '/blog/': 5, + '/home/blog': 5, + '/home/blog/': 5, + '/pricing': 3, + '/pricing/': 3, + '/home/pricing': 3, + '/home/pricing/': 3, + '/pricing-pozoapp': 3, + '/pricing-pozoapp/': 3, + '/home/pricing-pozoapp': 3, + '/home/pricing-pozoapp/': 3, + '/contact-us': 4, + '/contact-us/': 4, + '/home/contact-us': 4, + '/home/contact-us/': 4, + '/signin': 2, + '/signin/': 2, + '/home/signin': 2, + '/home/signin/': 2 + }; + + const pageId = routeToPageId[normalizedPath] || 1; + console.log('Page ID matched:', pageId, 'for path:', normalizedPath); + console.log('Available routes:', Object.keys(routeToPageId).filter(k => routeToPageId[k] === 5)); + + const fullUrl = buildFullUrl(req); + const baseUrl = `${req.protocol || 'http'}://${req.headers.host || 'localhost:3000'}`; + + // Production URL for images - always use production domain for OG images + const PRODUCTION_URL = process.env.PRODUCTION_URL || 'https://www.pozo.app'; + + // Helper function to ensure image URLs are absolute and use production URL + const ensureAbsoluteImageUrl = (imagePath) => { + if (!imagePath) return null; + // If already absolute URL (starts with http/https), use as-is + if (/^https?:\/\//i.test(imagePath)) { + // If it's localhost, replace with production URL + if (/^https?:\/\/localhost/i.test(imagePath)) { + return imagePath.replace(/^https?:\/\/[^/]+/i, PRODUCTION_URL); + } + return imagePath; + } + // If relative path, make it absolute with production URL + const cleanPath = imagePath.startsWith('/') ? imagePath : `/${imagePath}`; + return `${PRODUCTION_URL}${cleanPath}`; + }; + + const dynamicSeo = await fetchSEOByPathOrSlug(normalizedPath); + let dbSeoData = dynamicSeo || (await fetchSEOFromDB(pageId)); + console.log('SEO Data fetched:', dbSeoData ? 'from DB' : 'using fallback'); + if (dbSeoData) { + console.log('DB SEO Data:', { + title: dbSeoData.MetaTitle?.substring(0, 50), + image: dbSeoData.ImageUrl || dbSeoData.image, + pageId: pageId + }); + } + + const fallbackData = { + 1: { + title: 'Retail ERP & POS for Indian MSMEs | POZO', + description: 'Fast billing, smart inventory, GST-ready POS. POZO helps kirana, mini-supermarkets & retail chains speed checkout, connect weighing scales, and manage multi-store ops.', + keywords: 'POS software, retail ERP, billing software, inventory management, GST billing, weighing scale POS, multi-store ERP', + image: `${PRODUCTION_URL}/og/home.jpg`, + url: fullUrl + }, + 2: { + title: 'Sign In to PozoApp', + description: 'Access your business dashboard and manage your retail operations with POZO ERP & POS system.', + keywords: 'PozoApp login, sign in, business dashboard, retail management', + image: `${PRODUCTION_URL}/og/Signin-og.jpg`, + url: fullUrl + }, + 3: { + title: 'Pricing - Retail ERP & POS Plans | POZO', + description: 'Simple plans for MSMEs. Fast billing, inventory, GST e-invoice, weighing-scale integration, WhatsApp e-bills & multi-store controls. Book a demo.', + keywords: 'pricing, POS software pricing, retail ERP plans, billing software pricing, inventory management pricing, GST billing plans', + image: `${PRODUCTION_URL}/og/pricing-og.jpg`, + url: fullUrl + }, + 4: { + title: 'Contact PozoApp', + description: 'Get support and sales information. Contact POZO for retail ERP & POS solutions, billing software, and inventory management systems.', + keywords: 'contact PozoApp, support, sales, retail ERP support, POS software support', + image: `${PRODUCTION_URL}/og/contact-og.jpg`, + url: fullUrl + }, + 5: { + title: 'POZO Blog — Retail ERP, POS & Grocery Billing Guides', + description: 'Practical guides on POS billing, weighing-scale integration, GST e-invoices, multi-store ERP & inventory control for Indian retailers.', + keywords: 'POS billing, weighing scale integration, GST e-invoices, retail ERP, inventory management, grocery billing guides', + image: `${PRODUCTION_URL}/og/blog-og.jpg`, + url: fullUrl + } + }; + + const chosenFallback = fallbackData[pageId] || fallbackData[1]; + + // Ensure image URL is always absolute and uses production URL + // If database image URL is missing or points to wrong page (e.g., home.jpg for blog), use fallback + const dbImageUrl = dbSeoData?.ImageUrl || dbSeoData?.image; + let finalImageUrl = ensureAbsoluteImageUrl(dbImageUrl); + + // Validate image URL - if it's pointing to wrong page image, use correct fallback + // For blog page (pageId 5), ensure it's not using home.jpg + if (pageId === 5 && finalImageUrl && finalImageUrl.includes('/og/home.jpg')) { + console.log('Warning: Blog page has home.jpg image, using blog-og.jpg instead'); + finalImageUrl = chosenFallback.image; + } + // For home page (pageId 1), ensure it's not using blog-og.jpg + if (pageId === 1 && finalImageUrl && finalImageUrl.includes('/og/blog-og.jpg')) { + console.log('Warning: Home page has blog-og.jpg image, using home.jpg instead'); + finalImageUrl = chosenFallback.image; + } + + // If no valid image URL, use fallback + if (!finalImageUrl) { + finalImageUrl = chosenFallback.image; + } + + // Validate URL - ensure it matches the current page path + let finalUrl = dbSeoData?.CanonicalUrl || dbSeoData?.url || fullUrl; + // If database URL doesn't match the current page path, use correct fullUrl + // Blog page (pageId 5) should have /blog in URL + if (pageId === 5 && finalUrl && !finalUrl.includes('/blog')) { + console.log('Warning: Blog page URL is incorrect, using correct path:', fullUrl); + finalUrl = fullUrl; + } + // Home page (pageId 1) should be root or /home, not other paths + if (pageId === 1 && finalUrl && finalUrl.includes('/blog')) { + console.log('Warning: Home page URL is pointing to blog, using correct path:', fullUrl); + finalUrl = fullUrl; + } + // Pricing page (pageId 3) should have /pricing in URL + if (pageId === 3 && finalUrl && !finalUrl.includes('/pricing')) { + console.log('Warning: Pricing page URL is incorrect, using correct path:', fullUrl); + finalUrl = fullUrl; + } + + // CRITICAL: Force correct image and URL based on pageId + // Blog page (pageId 5) MUST use blog-og.jpg, not home.jpg + // Home page (pageId 1) MUST use home.jpg, not blog-og.jpg + if (pageId === 5) { + // Blog page - force blog image and URL + if (!finalImageUrl || finalImageUrl.includes('/og/home.jpg')) { + console.log('FORCING blog-og.jpg for blog page (pageId 5)'); + finalImageUrl = `${PRODUCTION_URL}/og/blog-og.jpg`; + } + if (!finalUrl || !finalUrl.includes('/blog')) { + console.log('FORCING blog URL for blog page (pageId 5)'); + finalUrl = fullUrl; + } + } else if (pageId === 1) { + // Home page - force home image + if (!finalImageUrl || finalImageUrl.includes('/og/blog-og.jpg')) { + console.log('FORCING home.jpg for home page (pageId 1)'); + finalImageUrl = `${PRODUCTION_URL}/og/home.jpg`; + } + } + + // Force correct data based on pageId - if database returns wrong page data, use fallback + // This ensures blog page always gets blog data, not home data + let seoData; + if (dbSeoData) { + // Use database data but with forced correct image/URL + seoData = { + title: dbSeoData.MetaTitle || dbSeoData.title || chosenFallback.title, + description: dbSeoData.MetaDesc || dbSeoData.description || chosenFallback.description, + keywords: dbSeoData.Keywords || dbSeoData.keywords || chosenFallback.keywords || '', + image: finalImageUrl, // This is now forced to be correct + url: finalUrl // This is now forced to be correct + }; + } else { + // No database data, use fallback (includes keywords) + seoData = chosenFallback; + } + + console.log('Final SEO Data:', { title: seoData.title.substring(0, 50), image: seoData.image, url: seoData.url }); + + // Read HTML - try to read from specific path first, fallback to root index.html + let htmlPath; + const distPath = path.join(__dirname, '..'); + + // Try to find HTML file for the specific route + // For /home/blog, try dist/home/blog/index.html, then dist/index.html + if (normalizedPath !== '/' && normalizedPath !== '/home' && normalizedPath !== '/home/') { + const routeHtmlPath = path.join(distPath, normalizedPath, 'index.html'); + if (fs.existsSync(routeHtmlPath)) { + htmlPath = routeHtmlPath; + console.log('Reading HTML from:', routeHtmlPath); + } else { + // Try without leading slash + const routeHtmlPath2 = path.join(distPath, normalizedPath.replace(/^\//, ''), 'index.html'); + if (fs.existsSync(routeHtmlPath2)) { + htmlPath = routeHtmlPath2; + console.log('Reading HTML from:', routeHtmlPath2); + } else { + htmlPath = path.join(distPath, 'index.html'); + console.log('Using root index.html'); + } + } + } else { + htmlPath = path.join(distPath, 'index.html'); + console.log('Using root index.html for home page'); + } + + let html = fs.readFileSync(htmlPath, 'utf8'); + + // ULTRA AGGRESSIVE: Remove ALL existing SEO tags (handles multiline tags) + // Match from or > (handles multiline with [\s\S]*?) + const metaTagPattern = /]*?\/?>/gs; // 's' flag makes . match newlines + + // Remove all OG tags (multiline aware) + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + + // Remove Twitter tags (multiline aware) + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + + // Remove description and keywords (multiline aware) + html = html.replace(//gi, ''); + html = html.replace(//gi, ''); + + // Update title + html = html.replace(/[^<]*<\/title>/i, `<title>${escapeHtml(seoData.title)}`); + + // Update description + html = html.replace(/]*\/?>/i, ``); + + // Update canonical + html = html.replace(/]*\/?>/i, ``); + + // Add fresh SEO tags before + // Include keywords if available + const keywordsTag = seoData.keywords ? `` : ''; + + const seoTags = ` + + ${keywordsTag} + + + + + + + + + + + + + + `; + + html = html.replace(/<\/head>/i, `${seoTags}\n`); + + res.send(html); + } catch (error) { + console.error('SEO middleware error:', error); + next(); + } +}; + +// Function to fetch SEO data from your database +async function fetchSEOFromDB(pageId) { + try { + const API_URL = process.env.API_URL || 'https://api.pozo.app'; + const response = await axios.get(`${API_URL}/Seo?PageId=${pageId}`); + if (response.data?.statusCode === 1 && response.data?.data?.length > 0) { + return response.data.data[0]; + } + return null; + } catch (error) { + console.error('Failed to fetch SEO data from database:', error.message); + return null; + } +} + +// Try to fetch SEO by exact path or blog slug, with graceful fallbacks +async function fetchSEOByPathOrSlug(normalizedPath) { + try { + const API_URL = process.env.API_URL || 'https://api.pozo.app'; + + // 1) Try path-based SEO: /Seo?Path=/home/blog/my-post + const byPath = await safeGet(`${API_URL}/Seo`, { Path: normalizedPath }); + if (byPath) return byPath; + + // 2) If looks like blog detail: /blog/slug or /home/blog/slug + if (/^\/(home\/)?blog\//.test(normalizedPath)) { + const slug = normalizedPath.replace(/^\/(home\/)?blog\//, '').replace(/\/$/, ''); + if (slug) { + // Try common blog SEO endpoints + const blogSeo = await safeGet(`${API_URL}/Seo/Blog`, { slug }) + || await safeGet(`${API_URL}/Blog/Seo`, { slug }) + || await safeGet(`${API_URL}/Blog`, { slug }); + if (blogSeo) return blogSeo; + } + } + + return null; + } catch (e) { + return null; + } +} + +async function safeGet(baseUrl, queryObj) { + try { + const qs = new URLSearchParams(queryObj).toString(); + const url = `${baseUrl}?${qs}`; + const response = await axios.get(url); + const data = response.data; + if (data?.statusCode === 1 && Array.isArray(data?.data) && data.data.length > 0) { + return data.data[0]; + } + // Some APIs return object directly + if (data && typeof data === 'object' && !Array.isArray(data)) return data; + return null; + } catch (e) { + return null; + } +} + +function normalizePath(p) { + if (!p) return '/'; + try { + // Remove query/hash, ensure leading slash, collapse duplicate slashes + const onlyPath = p.split('?')[0].split('#')[0] || '/'; + // Collapse multiple slashes to single slash, but preserve path structure + let normalized = onlyPath.replace(/\/+/g, '/'); + if (!normalized.startsWith('/')) normalized = `/${normalized}`; + // Remove trailing slash except for root + if (normalized.length > 1 && normalized.endsWith('/')) { + normalized = normalized.slice(0, -1); + } + console.log('🔍 normalizePath input:', p, '→ output:', normalized); + return normalized; + } catch { + return '/'; + } +} + +// Map routes - support both /home/* and clean routes +function mapToHomeNamespace(p) { + if (!p) return '/'; + const raw = p.split('?')[0].split('#')[0] || '/'; + + // Just normalize and return - we support both /home/ and clean routes now + return normalizePath(raw); +} + +function buildFullUrl(req) { + const proto = (req.headers['x-forwarded-proto'] || req.protocol || 'https').split(',')[0]; + const host = req.headers['x-forwarded-host'] || req.headers.host || 'www.pozo.app'; + const pathOnly = normalizePath(req.path); + return `${proto}://${host}${pathOnly}`; +} + +function replaceOrInsert(html, regex, newTagHtml) { + if (regex.test(html)) { + return html.replace(regex, newTagHtml); + } + // Insert before + if (/<\/head>/i.test(html)) { + return html.replace(/<\/head>/i, `${newTagHtml}\n`); + } + // As a last resort, prepend to document + return `${newTagHtml}\n${html}`; +} + +function escapeHtml(str) { + return String(str || '') + .replace(/&/g, '&') + .replace(//g, '>'); +} + +function escapeAttribute(str) { + return String(str || '') + .replace(/&/g, '&') + .replace(/"/g, '"') + .replace(//g, '>'); +} + +export default seoMiddleware; diff --git a/server/server.js b/server/server.js new file mode 100644 index 0000000..ad9b9f4 --- /dev/null +++ b/server/server.js @@ -0,0 +1,33 @@ +import express from 'express'; +import path from 'path'; +import { fileURLToPath } from 'url'; +import seoMiddleware from './seo-middleware.js'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const app = express(); +const PORT = process.env.PORT || 3000; + +// CRITICAL: Apply SEO middleware FIRST (before static files) +// This ensures HTML requests go through SEO middleware +app.use(seoMiddleware); + +// Redirect /home to root +app.use((req, res, next) => { + if (req.path.startsWith('/home')) { + const newPath = req.path.replace('/home', '') || '/'; + return res.redirect(301, newPath); + } + next(); +}); + +// Serve static files (CSS, JS, images) from dist folder +app.use(express.static(path.join(__dirname, '../dist'))); + +app.listen(PORT, () => { + console.log(`Server running on port ${PORT}`); + console.log('Dynamic SEO enabled!'); +}); + +export default app; diff --git a/server/server.js.backup_20251110_1145 b/server/server.js.backup_20251110_1145 new file mode 100644 index 0000000..1f01146 --- /dev/null +++ b/server/server.js.backup_20251110_1145 @@ -0,0 +1,24 @@ +import express from 'express'; +import path from 'path'; +import { fileURLToPath } from 'url'; +import seoMiddleware from './seo-middleware.js'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const app = express(); +const PORT = process.env.PORT || 3000; + +// CRITICAL: Apply SEO middleware FIRST (before static files) +// This ensures HTML requests go through SEO middleware +app.use(seoMiddleware); + +// Serve static files (CSS, JS, images) from dist folder +app.use(express.static(path.join(__dirname, '../dist'))); + +app.listen(PORT, () => { + console.log(`Server running on port ${PORT}`); + console.log('Dynamic SEO enabled!'); +}); + +export default app; diff --git a/src/.env.development b/src/.env.development new file mode 100644 index 0000000..60088b8 --- /dev/null +++ b/src/.env.development @@ -0,0 +1,17 @@ +ENV_BASE_URL='/' +# ENV_API_URL='http://192.168.1.37:8013' +# ENV_API_URL_TOKEN='http://192.168.1.37:8001' +ENV_API_URL_TOKEN='https://www.pozo.dev/JwtToken' +ENV_API_URL='https://www.pozo.dev/pozo-common-api' +# ENV_IMAGE_UPLOAD_API_URL="https://api.pozo.app/pozo-common-image-api/" +ENV_API_URL_RETAIL='http://192.168.1.37:8012/' +# ENV_API_URL_TOKEN='https://api.pozo.app/JwtToken' +# ENV_API_URL='https://api.pozo.app/pozo-common-api' +# ENV_API_URL_RETAIL='https://api.pozo.app/pozo-retail-api' +ENV_IMAGE_UPLOAD_API_URL="http://192.168.1.38/" +ENV_SECRET_KEY="3a939a2eed2cca4b64cd47f51b23b135b2b9b765273f695d47682ea803c8429d" +ENV_URL_SECRET_KEY="f2ef79b8b2d4fc1cc569726a5a753552257b4ff2872d6a71cf3119bce3f07c1b" +ENV_MAIN_BASE_URL='http://192.168.1.16:3000' +ENV_MAIN_REDIRECT_URL='/apps/retail/app-page/home' +ENV_EMAIL_API='http://192.168.1.37:8014' +ENV_IMAGE_UPLOAD_API_URL="http://192.168.1.38/" diff --git a/src/.env.production b/src/.env.production new file mode 100644 index 0000000..cf28bae --- /dev/null +++ b/src/.env.production @@ -0,0 +1,42 @@ +#221 server + +# ENV_BASE_URL='/home/' +# ENV_API_URL='http://api.pozo.co.in/Pozocommonapi_UnderTest' +# # ENV_API_URL='http://api.pozo.co.in/Pozocommonapi' +# ENV_IMAGE_UPLOAD_API_URL="https://api.pozo.app/pozo-common-image-api" +# ENV_SECRET_KEY="3a939a2eed2cca4b64cd47f51b23b135b2b9b765273f695d47682ea803c8429d" +# ENV_URL_SECRET_KEY="f2ef79b8b2d4fc1cc569726a5a753552257b4ff2872d6a71cf3119bce3f07c1b" +# ENV_MAIN_BASE_URL='http://pozo.co.in/' +# ENV_MAIN_REDIRECT_URL='/apps/retail/app-page/home' + +# live server(#173 server) +# ENV_BASE_URL='/home/' +# ENV_API_URL_TOKEN='https://api.pozo.app/JwtToken' +# ENV_API_URL='https://api.pozo.app/pozo-common-api' +# ENV_IMAGE_UPLOAD_API_URL="https://api.pozo.app/pozo-common-image-api" +# ENV_SECRET_KEY="3a939a2eed2cca4b64cd47f51b23b135b2b9b765273f695d47682ea803c8429d" +# ENV_URL_SECRET_KEY="f2ef79b8b2d4fc1cc569726a5a753552257b4ff2872d6a71cf3119bce3f07c1b" +# ENV_MAIN_BASE_URL='https://www.pozo.app' +# ENV_MAIN_REDIRECT_URL='/apps/retail/app-page/home' +# ENV_PAYMENT_URL='https://pozo.app/paymentgateway/PozoPaymentGateway' +# ENV_CUSTOM_PAYMENT_URL='https://pozo.app/CustomPaymentGateway/CustomPaymentGateway' +# ENV_EMAIL_API='https://api.pozo.app/pozo-sms-email-template-api' +# ENV_API_URL_RETAIL='https://api.pozo.app/pozo-retail-api' + +#172 server + +ENV_BASE_URL='/home/' +ENV_API_URL_TOKEN='https://www.pozo.dev/JwtToken' +ENV_API_URL='https://www.pozo.dev/pozo-common-api' +ENV_API_URL_RETAIL='https://www.pozo.dev/pozo-retail-api' +ENV_IMAGE_UPLOAD_API_URL="https://www.pozo.dev/pozo-common-image-api" +ENV_SECRET_KEY="3a939a2eed2cca4b64cd47f51b23b135b2b9b765273f695d47682ea803c8429d" +ENV_URL_SECRET_KEY="f2ef79b8b2d4fc1cc569726a5a753552257b4ff2872d6a71cf3119bce3f07c1b" +ENV_MAIN_BASE_URL='https://www.pozo.dev' +ENV_MAIN_REDIRECT_URL='/apps/retail/app-page/home' +ENV_PAYMENT_URL='https://pozo.app/paymentgateway/PozoPaymentGateway' +ENV_CUSTOM_PAYMENT_URL='https://pozo.app/CustomPaymentGateway/CustomPaymentGateway' +ENV_EMAIL_API='https://www.pozo.dev/pozo-sms-email-template-api' + + + diff --git a/src/AdminPanel/AdminPanel.jsx b/src/AdminPanel/AdminPanel.jsx new file mode 100644 index 0000000..d2ebb4a --- /dev/null +++ b/src/AdminPanel/AdminPanel.jsx @@ -0,0 +1,308 @@ +import React, { useState } from "react"; +import { useNavigate } from "react-router-dom"; +import "./AdminPanel.scss"; +import { + FaTh, + FaUser, + FaUsers, + FaCalendarAlt, + FaBullseye, + FaVideo, + FaChevronRight, + FaPlus, + FaList, + FaSortDown, + FaArrowLeft, + FaRedo, + FaSignOutAlt, + FaCog, + FaGift, + FaGlobe, + FaImage, + FaMobile, + FaQuestionCircle, + FaBullhorn, + FaFootballBall, + FaBars, + FaTimes, + FaCalendar, +} from "react-icons/fa"; +import { BsPostcardFill } from "react-icons/bs"; +import { HiOutlineHome } from "react-icons/hi2"; + +import { useAdminPanel } from "./AdminPanelContext"; +import BannerSectionForm from "./AdminPanelForms/BannerSectionForm"; +import CTASectionForm from "./AdminPanelForms/CTASectionForm"; +import EcosystemForm from "./AdminPanelForms/EcosystemForm"; +import FaqSectionForm from "./AdminPanelForms/FaqSectionForm"; +import FooterForm from "./AdminPanelForms/FooterForm"; +import HeroSectionForm from "./AdminPanelForms/HeroSectionForm"; +import OfferingsForm from "./AdminPanelForms/OfferingsForm"; +import TrendingAppsForm from "./AdminPanelForms/TrendingAppsForm"; +import AppDemo from "./AdminPanelForms/AppDemo"; +import BlogForm from "./AdminPanelForms/BlogForm"; +import SeoForm from "./AdminPanelForms/SeoForm"; +import SEO from "../Components/SEO/SEO"; +import DemoRequestsList from "../Pages/DemoRequests/DemoRequestsList"; +import { clearSession, getSession } from "../Services/others"; +import { GenerateLogout } from "../features/signInPage/signInPage"; +import { useDispatch } from "react-redux"; +const subDirectory = import.meta.env.BASE_URL; + +const AdminPanel = () => { + // Default to first option (HeroSectionForm) + const [selectedId, setSelectedId] = useState(0); + const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false); + const navigate = useNavigate(); + const dispatch = useDispatch(); + + const UserType = getSession("UserType"); + console.log(UserType, "UserTypeUserType") + + const sidebarOptions = [ + // { id: 1, title: "Dashboard", subtitle: "Overview", icon: }, + { + id: 0, + title: "Blog", + subtitle: "Post Content Control", + icon: , + component: BlogForm, + key: "BlogSection", + }, + { + id: 1, + title: "Demo Requests", + subtitle: "Manage Demo Bookings", + icon: , + component: DemoRequestsList, + key: "DemoRequests", + }, + { + id: 10, + title: "SEO", + subtitle: "Content Management", + icon: , + component: SeoForm, + key: "SEOForm", + }, + // { + // id: 1, + // title: "HeroSection", + // subtitle: "Hero Section Management", + // icon: , + // component: HeroSectionForm, + // key: "HeroSection", + // }, + // { + // id: 2, + // title: "Offerings", + // subtitle: "Offering Section Management", + // icon: , + // component: OfferingsForm, + // key: "OfferingSection", + // }, + // { + // id: 3, + // title: "Industries", + // subtitle: "Ecosystem Management", + // icon: , + // component: EcosystemForm, + // key: "Industries", + // }, + // { + // id: 4, + // title: "AppDemo", + // subtitle: "Video Section Management", + // icon: , + // component: AppDemo, + // key: "VideoDemo", + // }, + // { + // id: 5, + // title: "BannerSection", + // subtitle: "Banner Section Management", + // icon: , + // component: BannerSectionForm, + // key: "BannerSection", + // }, + // { + // id: 6, + // title: "TrendingApps", + // subtitle: "Trending Apps Management", + // icon: , + // component: TrendingAppsForm, + // key: "TrendingApps", + // }, + // { + // id: 7, + // title: "FaqSection", + // subtitle: "FAQ Management", + // icon: , + // component: FaqSectionForm, + // key: "FAQSection", + // }, + // { + // id: 8, + // title: "CTASection", + // subtitle: "Call-to-Action Management", + // icon: , + // component: CTASectionForm, + // key: "CTASection", + // }, + // { + // id: 9, + // title: "Footer", + // subtitle: "Footer Management", + // icon: , + // component: FooterForm, + // key: "FooterSection", + // }, + ]; + + const currentSection = sidebarOptions.find( + (option) => option.id === selectedId + ); + + const handleSideBarSelect = (option) => { + setSelectedId(option?.id); + setIsMobileMenuOpen(false); // Close mobile menu on selection + }; + + const handleSignOut = async () => { + const UserId = getSession("UserId"); + const status = "N"; + const res = await dispatch(GenerateLogout({ UserId, status })).unwrap(); + if (res?.data?.statusCode === 1) { + clearSession(); + navigate(`${subDirectory}`); + } + } + + return ( + <> + +
+ {/* Mobile Menu Toggle */} +
+
+ Admin Panel +
+ +
+ + {/* Sidebar Navigation */} +
+
+
+ +

Admin Panel

+
+
+ + + +
+
+
SA
+
+ + Marketing Administrator + + Super Admin +
+
+ +
+
+ + {/* Mobile Overlay */} + {isMobileMenuOpen && ( +
setIsMobileMenuOpen(false)} + >
+ )} + + {/* Main Content */} +
+ {/* Top Header with Breadcrumbs */} +
+
+ Dashboard + {currentSection && ( + <> + + {currentSection.title} Management + + )} +
+
UserType === "Super Admin" ? navigate(`${subDirectory}landing-page/home`) : navigate(`${subDirectory}`)} + > + Back to Home +
+
+ + {/* Content Area */} +
+ {currentSection?.component ? ( + + ) : ( +
+
+ +
+

Welcome to Admin Panel

+

Select a section from the sidebar to get started

+
+ )} +
+
+
+ + ); +}; + +export default AdminPanel; diff --git a/src/AdminPanel/AdminPanel.scss b/src/AdminPanel/AdminPanel.scss new file mode 100644 index 0000000..03f0594 --- /dev/null +++ b/src/AdminPanel/AdminPanel.scss @@ -0,0 +1,2066 @@ +// Master UI/UX Enterprise Admin Panel - World-Class Standard +.admin-panel-container { + display: flex; + height: 100vh; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif; + background: #f7f8fc; + color: #172b4d; + letter-spacing: -0.003em; + font-feature-settings: 'kern' 1, 'liga' 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + text-rendering: optimizeLegibility; + overflow: hidden; + position: relative; + + // Global focus management + *:focus { + outline: 2px solid #4c9aff; + outline-offset: 2px; + } + + // Reduced motion support + @media (prefers-reduced-motion: reduce) { + *, *::before, *::after { + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; + transition-duration: 0.01ms !important; + } + } + + @media (max-width: 768px) { + flex-direction: column; + } + + // Master Sidebar Design + .admin-panel-sidebar { + width: 280px; + background: #ffffff; + color: #172b4d; + display: flex; + flex-direction: column; + box-shadow: + rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, + rgba(9, 30, 66, 0.08) 0px 0px 0px 1px, + rgba(9, 30, 66, 0.04) 0px 1px 1px; + position: relative; + border-right: 1px solid #dfe1e6; + z-index: 50; + backdrop-filter: blur(8px); + -webkit-backdrop-filter: blur(8px); + + // Sidebar resize handle + &::after { + content: ''; + position: absolute; + top: 0; + right: -2px; + width: 4px; + height: 100%; + cursor: col-resize; + background: transparent; + transition: background-color 0.2s ease; + + &:hover { + background: rgba(9, 30, 66, 0.1); + } + } + + .admin-panel-sidebar-header { + padding: 24px; + border-bottom: 1px solid #dfe1e6; + background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%); + position: relative; + + &::after { + content: ''; + position: absolute; + bottom: 0; + left: 24px; + right: 24px; + height: 1px; + background: linear-gradient(90deg, transparent, #dfe1e6, transparent); + } + + .admin-panel-logo { + display: flex; + align-items: center; + gap: 12px; + position: relative; + + &::before { + content: ''; + position: absolute; + left: -8px; + top: -8px; + right: -8px; + bottom: -8px; + background: radial-gradient(circle at center, rgba(0, 82, 204, 0.05) 0%, transparent 70%); + border-radius: 12px; + opacity: 0; + transition: opacity 0.3s ease; + } + + &:hover::before { + opacity: 1; + } + + svg { + font-size: 1.5rem; + color: #0052cc; + filter: drop-shadow(0 2px 4px rgba(0, 82, 204, 0.1)); + transition: transform 0.2s ease; + } + + &:hover svg { + transform: scale(1.05); + } + + h1 { + margin: 0; + font-size: 1.125rem; + font-weight: 600; + color: #172b4d; + letter-spacing: -0.01em; + background: linear-gradient(135deg, #172b4d 0%, #0052cc 100%); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + background-clip: text; + } + } + + // Breadcrumb indicator + .admin-panel-breadcrumb { + margin-top: 8px; + font-size: 11px; + color: #8993a4; + text-transform: uppercase; + letter-spacing: 0.5px; + font-weight: 500; + } + } + + .admin-panel-sidebar-nav { + flex: 1; + padding: 16px 0; + overflow-y: auto; + scrollbar-width: thin; + scrollbar-color: rgba(9, 30, 66, 0.13) transparent; + + &::-webkit-scrollbar { + width: 6px; + } + + &::-webkit-scrollbar-track { + background: transparent; + margin: 8px 0; + } + + &::-webkit-scrollbar-thumb { + background: rgba(9, 30, 66, 0.13); + border-radius: 3px; + transition: background-color 0.2s ease; + + &:hover { + background: rgba(9, 30, 66, 0.25); + } + } + + // Navigation sections + .nav-section { + margin-bottom: 24px; + + .nav-section-title { + padding: 0 24px 8px 24px; + font-size: 11px; + font-weight: 600; + color: #8993a4; + text-transform: uppercase; + letter-spacing: 0.5px; + position: relative; + + &::after { + content: ''; + position: absolute; + bottom: 0; + left: 24px; + right: 24px; + height: 1px; + background: linear-gradient(90deg, #dfe1e6, transparent); + } + } + } + + .admin-panel-nav-item { + display: flex; + align-items: center; + padding: 12px 24px; + cursor: pointer; + transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); + position: relative; + margin: 2px 12px; + min-height: 44px; + border-radius: 8px; + user-select: none; + + // Hover state with micro-interaction + &:hover { + background: rgba(9, 30, 66, 0.04); + transform: translateX(2px); + + .admin-panel-nav-icon { + transform: scale(1.1); + } + + &::after { + opacity: 1; + transform: scaleX(1); + } + } + + // Hover indicator + &::after { + content: ''; + position: absolute; + left: 0; + top: 50%; + transform: translateY(-50%) scaleX(0); + width: 3px; + height: 20px; + background: #8993a4; + border-radius: 0 2px 2px 0; + opacity: 0; + transition: all 0.2s ease; + transform-origin: left center; + } + + // Active state with enhanced visual feedback + &.active { + background: linear-gradient(135deg, #e4edff 0%, #f0f5ff 100%); + border: 1px solid rgba(0, 82, 204, 0.2); + box-shadow: + 0 2px 4px rgba(0, 82, 204, 0.1), + inset 0 1px 0 rgba(255, 255, 255, 0.5); + + &::before { + content: ''; + position: absolute; + left: 0; + top: 0; + bottom: 0; + width: 4px; + background: linear-gradient(180deg, #0052cc 0%, #0747a6 100%); + border-radius: 0 2px 2px 0; + box-shadow: 0 0 8px rgba(0, 82, 204, 0.3); + } + + .admin-panel-nav-icon { + color: #0052cc; + filter: drop-shadow(0 1px 2px rgba(0, 82, 204, 0.2)); + } + + .admin-panel-nav-content { + .admin-panel-nav-title { + color: #0052cc; + font-weight: 600; + } + + .admin-panel-nav-subtitle { + color: #5e6c84; + } + } + + // Active item glow effect + &::after { + display: none; + } + } + + // Focus state for accessibility + &:focus-visible { + outline: 2px solid #4c9aff; + outline-offset: 2px; + } + + // Disabled state + &.disabled { + opacity: 0.5; + cursor: not-allowed; + pointer-events: none; + } + + .admin-panel-nav-icon { + font-size: 1.125rem; + color: #5e6c84; + margin-right: 14px; + transition: all 0.15s ease; + display: flex; + align-items: center; + justify-content: center; + width: 20px; + height: 20px; + position: relative; + + // Icon background for better visual hierarchy + &::before { + content: ''; + position: absolute; + inset: -4px; + background: rgba(94, 108, 132, 0.08); + border-radius: 6px; + opacity: 0; + transition: opacity 0.2s ease; + } + + // Badge/notification indicator + .nav-badge { + position: absolute; + top: -4px; + right: -4px; + width: 8px; + height: 8px; + background: #ff5630; + border-radius: 50%; + border: 2px solid #ffffff; + animation: pulse 2s infinite; + } + + @keyframes pulse { + 0% { transform: scale(1); } + 50% { transform: scale(1.2); } + 100% { transform: scale(1); } + } + } + + .admin-panel-nav-content { + flex: 1; + min-width: 0; // Prevent text overflow + + .admin-panel-nav-title { + display: block; + font-size: 14px; + font-weight: 500; + color: #172b4d; + line-height: 1.3; + transition: all 0.15s ease; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + + .admin-panel-nav-subtitle { + display: block; + font-size: 11px; + color: #5e6c84; + font-weight: 400; + line-height: 1.2; + margin-top: 2px; + transition: all 0.15s ease; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + } + + // Navigation item actions (dropdown, etc.) + .nav-item-actions { + display: flex; + align-items: center; + gap: 4px; + opacity: 0; + transition: opacity 0.2s ease; + + .nav-action-btn { + width: 24px; + height: 24px; + border: none; + background: rgba(9, 30, 66, 0.04); + border-radius: 4px; + color: #5e6c84; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + font-size: 12px; + transition: all 0.15s ease; + + &:hover { + background: rgba(9, 30, 66, 0.08); + color: #172b4d; + } + } + } + + &:hover .nav-item-actions { + opacity: 1; + } + } + } + + .admin-panel-sidebar-footer { + padding: 20px 24px; + border-top: 1px solid #dfe1e6; + background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%); + position: relative; + + &::before { + content: ''; + position: absolute; + top: 0; + left: 24px; + right: 24px; + height: 1px; + background: linear-gradient(90deg, transparent, #dfe1e6, transparent); + } + + .admin-panel-user-profile { + display: flex; + align-items: center; + padding: 12px; + margin-bottom: 16px; + background: rgba(255, 255, 255, 0.8); + border-radius: 12px; + border: 1px solid rgba(223, 225, 230, 0.5); + backdrop-filter: blur(8px); + transition: all 0.2s ease; + cursor: pointer; + + &:hover { + background: rgba(255, 255, 255, 0.95); + border-color: #dfe1e6; + transform: translateY(-1px); + box-shadow: 0 4px 8px rgba(9, 30, 66, 0.1); + } + + .admin-panel-user-avatar { + width: 36px; + height: 36px; + background: linear-gradient(135deg, #0052cc 0%, #0747a6 100%); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + font-weight: 600; + font-size: 14px; + color: white; + margin-right: 12px; + position: relative; + box-shadow: 0 2px 8px rgba(0, 82, 204, 0.3); + + // Online status indicator + &::after { + content: ''; + position: absolute; + bottom: 0; + right: 0; + width: 10px; + height: 10px; + background: #36b37e; + border: 2px solid #ffffff; + border-radius: 50%; + box-shadow: 0 0 0 1px rgba(9, 30, 66, 0.13); + } + } + + .admin-panel-user-info { + flex: 1; + min-width: 0; + + .admin-panel-user-name { + display: block; + font-size: 14px; + font-weight: 600; + color: #172b4d; + line-height: 1.2; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + + .admin-panel-user-role { + display: block; + font-size: 11px; + color: #5e6c84; + margin-top: 2px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + } + + .user-menu-trigger { + width: 20px; + height: 20px; + border: none; + background: transparent; + color: #8993a4; + cursor: pointer; + border-radius: 4px; + transition: all 0.15s ease; + display: flex; + align-items: center; + justify-content: center; + + &:hover { + background: rgba(9, 30, 66, 0.04); + color: #5e6c84; + } + } + } + + // Quick actions + .quick-actions { + display: flex; + gap: 8px; + margin-bottom: 16px; + + .quick-action { + flex: 1; + padding: 8px; + border: 1px solid #dfe1e6; + background: rgba(255, 255, 255, 0.8); + border-radius: 6px; + cursor: pointer; + transition: all 0.15s ease; + display: flex; + align-items: center; + justify-content: center; + font-size: 12px; + color: #5e6c84; + + &:hover { + background: rgba(9, 30, 66, 0.04); + border-color: #c1c7d0; + color: #172b4d; + } + } + } + + .admin-panel-signout-btn { + width: 100%; + display: flex; + align-items: center; + gap: 8px; + justify-content: center; + padding: 10px 16px; + border: 1px solid #dfe1e6; + background: rgba(255, 255, 255, 0.8); + color: #5e6c84; + border-radius: 6px; + cursor: pointer; + font-size: 14px; + font-weight: 500; + transition: all 0.15s ease; + backdrop-filter: blur(8px); + + svg { + font-size: 14px; + transition: transform 0.15s ease; + } + + &:hover { + background: #ffebe6; + border-color: #ff8f73; + color: #de350b; + transform: translateY(-1px); + box-shadow: 0 2px 4px rgba(222, 53, 11, 0.1); + + svg { + transform: translateX(-2px); + } + } + + &:active { + transform: translateY(0); + } + } + } + } + + // Main Content Styles + .admin-panel-main-content { + flex: 1; + display: flex; + flex-direction: column; + overflow: hidden; + + // Master Top Header with Advanced Features + .admin-panel-top-header { + background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%); + padding: 16px 32px; + border-bottom: 1px solid #dfe1e6; + display: flex; + justify-content: space-between; + align-items: center; + min-height: 64px; + backdrop-filter: blur(8px); + -webkit-backdrop-filter: blur(8px); + position: sticky; + top: 0; + z-index: 40; + box-shadow: 0 1px 3px rgba(9, 30, 66, 0.1); + + .admin-panel-breadcrumbs { + display: flex; + align-items: center; + gap: 8px; + font-size: 14px; + color: #5e6c84; + + .breadcrumb-item { + display: flex; + align-items: center; + gap: 6px; + padding: 4px 8px; + border-radius: 4px; + transition: all 0.15s ease; + cursor: pointer; + + &:hover:not(:last-child) { + background: rgba(9, 30, 66, 0.04); + color: #172b4d; + } + + &:last-child { + color: #172b4d; + font-weight: 600; + background: rgba(0, 82, 204, 0.08); + border: 1px solid rgba(0, 82, 204, 0.2); + } + } + + .admin-panel-breadcrumb-arrow { + font-size: 12px; + color: #8993a4; + margin: 0 4px; + } + } + + // Header actions with advanced controls + .header-actions { + display: flex; + align-items: center; + gap: 12px; + + .search-container { + position: relative; + + .global-search { + width: 280px; + padding: 8px 12px 8px 36px; + border: 1px solid #dfe1e6; + border-radius: 6px; + background: rgba(255, 255, 255, 0.9); + font-size: 14px; + transition: all 0.15s ease; + + &::placeholder { + color: #8993a4; + } + + &:focus { + width: 320px; + border-color: #0052cc; + box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.2); + background: #ffffff; + } + } + + .search-icon { + position: absolute; + left: 12px; + top: 50%; + transform: translateY(-50%); + color: #8993a4; + font-size: 14px; + pointer-events: none; + } + } + + .notification-bell { + position: relative; + width: 36px; + height: 36px; + border: 1px solid #dfe1e6; + background: rgba(255, 255, 255, 0.9); + border-radius: 8px; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + transition: all 0.15s ease; + color: #5e6c84; + + &:hover { + background: rgba(9, 30, 66, 0.04); + border-color: #c1c7d0; + color: #172b4d; + } + + .notification-badge { + position: absolute; + top: -2px; + right: -2px; + width: 16px; + height: 16px; + background: #ff5630; + border-radius: 50%; + border: 2px solid #ffffff; + font-size: 10px; + color: white; + display: flex; + align-items: center; + justify-content: center; + font-weight: 600; + } + } + + .theme-toggle { + width: 36px; + height: 36px; + border: 1px solid #dfe1e6; + background: rgba(255, 255, 255, 0.9); + border-radius: 8px; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + transition: all 0.15s ease; + color: #5e6c84; + + &:hover { + background: rgba(9, 30, 66, 0.04); + border-color: #c1c7d0; + color: #172b4d; + } + } + } + + .admin-panel-header-actions { + display: flex; + gap: 12px; + + button { + background: transparent; + border: 1px solid #5255c8; + color: #5255c8; + padding: 6px 12px; + border-radius: 6px; + cursor: pointer; + font-size: 0.775rem; + font-family: "NeueMontreal", sans-serif; + display: flex; + align-items: center; + gap: 8px; + transition: all 0.2s ease; + + &:hover { + background: #f9fafb; + border-color: #9ca3af; + } + } + } + } + + // Main Header - Modern Design + .admin-panel-main-header { + background: white; + padding: 16px 16px; + border-bottom: 1px solid #e5e7eb; + display: flex; + justify-content: space-between; + align-items: center; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02); + + .admin-panel-header-left { + display: flex; + align-items: center; + gap: 20px; + + .admin-panel-header-icon { + width: 50px; + height: 50px; + background: linear-gradient(135deg, #1e40af 0%, #5470cc 100%); + border-radius: 8px; + display: flex; + align-items: center; + justify-content: center; + color: white; + font-size: 1.5rem; + box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25); + position: relative; + + &::before { + content: ""; + position: absolute; + inset: -2px; + background: linear-gradient(135deg, #5255c8, #8b5cf6, #a855f7); + border-radius: 18px; + z-index: -1; + opacity: 0.3; + filter: blur(8px); + } + } + + .admin-panel-header-content { + h1 { + margin: 0; + font-size: 1.3rem; + font-weight: 800; + color: #000; + letter-spacing: -0.03em; + line-height: 1.4; + font-family: "Poppins", sans-serif; + } + + p { + color: #64748b; + font-size: 0.7rem; + font-weight: 400; + letter-spacing: -0.01em; + font-family: "Poppins", sans-serif; + } + } + } + + .admin-panel-create-btn { + background: linear-gradient(135deg, #5255c8 0%, #7c80f3 100%); + color: white; + border: none; + padding: 10px 16px; + border-radius: 8px; + font-weight: 400; + font-size: 14px; + cursor: pointer; + font-family: "Poppins", sans-serif; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); + display: flex; + align-items: center; + gap: 10px; + box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25); + position: relative; + overflow: hidden; + + &::before { + content: ""; + position: absolute; + top: 0; + left: -100%; + width: 100%; + height: 100%; + background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); + transition: left 0.5s; + } + + &:hover { + transform: translateY(-2px); + box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35); + + &::before { + left: 100%; + } + } + + &:active { + transform: translateY(0); + } + } + } + + // Tab Navigation + .admin-panel-tab-navigation { + background: white; + padding: 12px 20px; + border-bottom: 1px solid #e2e8f0; + display: flex; + justify-content: space-between; + align-items: center; + + .admin-panel-tab-buttons { + display: flex; + gap: 8px; + + .admin-panel-tab-btn { + padding: 8px 16px; + border: none; + background: transparent; + color: #64748b; + font-weight: 500; + cursor: pointer; + border-radius: 6px; + transition: all 0.2s ease; + font-family: "Poppins", sans-serif; + + &.active { + background: #f1f5f9; + color: #1e293b; + } + + &:hover:not(.active) { + background: #f8fafc; + color: #475569; + } + } + } + + .admin-panel-tab-controls { + display: flex; + align-items: center; + gap: 16px; + + .admin-panel-sort-dropdown { + position: relative; + display: flex; + align-items: center; + + .admin-panel-dropdown-icon { + position: absolute; + right: 12px; + color: #64748b; + font-size: 0.875rem; + pointer-events: none; + z-index: 1; + font-family: "NeueMontreal", sans-serif; + } + + select { + appearance: none; + background: white; + border: 1px solid #d1d5db; + padding: 8px 32px 8px 12px; + border-radius: 6px; + font-size: 0.875rem; + color: #374151; + cursor: pointer; + min-width: 140px; + font-family: "NeueMontreal", sans-serif; + + &:focus { + outline: none; + border-color: #3b82f6; + box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); + } + } + } + + .admin-panel-view-toggle { + display: flex; + background: #f1f5f9; + border-radius: 6px; + padding: 2px; + + .admin-panel-view-btn { + background: transparent; + border: none; + padding: 8px; + cursor: pointer; + border-radius: 4px; + color: #64748b; + transition: all 0.2s ease; + + &.active { + background: white; + color: #1e293b; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + } + + &:hover:not(.active) { + color: #475569; + } + } + } + } + } + + // Content Area - Enterprise Style + .admin-panel-content-area { + flex: 1; + overflow-y: auto; + background: #fafbfc; + padding: 24px 32px; + + // Enterprise Content Wrapper + .content-wrapper { + max-width: 1200px; + margin: 0 auto; + } + + // Page Header + .page-header { + margin-bottom: 32px; + + h1 { + font-size: 24px; + font-weight: 600; + color: #172b4d; + margin: 0 0 8px 0; + line-height: 1.2; + } + + p { + font-size: 14px; + color: #5e6c84; + margin: 0; + } + } + + // Clean form styling + .hero-section-form, + .offerings-form, + .ecosystem-form, + .trending-apps-form, + .faq-form, + .CTASectionFormMaster, + .FooterFormMaster, + .banner-section-form { + background: #ffffff; + padding: 24px; + border-radius: 8px; + box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; + border: 1px solid #dfe1e6; + margin-bottom: 24px; + + .hero-section-header, + .offerings-header, + .ecosystem-header, + .trending-apps-header, + .faq-header, + .cta-header, + .footer-header, + .banner-section-header { + display: none; + } + + .form-container, + .offeringsContent, + .ecosystemContent, + .form-inputs, + .faq-inputs, + .cta-form, + .footer-form, + .banner-content { + background: transparent; + padding: 0; + border-radius: 0; + box-shadow: none; + border: none; + } + } + + // Enterprise Table Styling + .ant-table-wrapper { + background: #ffffff; + border-radius: 8px; + box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; + border: 1px solid #dfe1e6; + overflow: hidden; + + .ant-table { + .ant-table-thead > tr > th { + background: #f4f5f7; + border-bottom: 1px solid #dfe1e6; + color: #5e6c84; + font-weight: 600; + font-size: 12px; + text-transform: uppercase; + letter-spacing: 0.5px; + padding: 16px; + } + + .ant-table-tbody > tr > td { + border-bottom: 1px solid #f4f5f7; + padding: 16px; + font-size: 14px; + color: #172b4d; + } + + .ant-table-tbody > tr:hover > td { + background: rgba(9, 30, 66, 0.04); + } + } + } + + // Enterprise Form Controls + .ant-input, + .ant-select-selector, + .ant-picker { + border: 1px solid #dfe1e6; + border-radius: 3px; + font-size: 14px; + padding: 8px 12px; + transition: border-color 0.1s ease; + + &:hover { + border-color: #c1c7d0; + } + + &:focus, + &.ant-input-focused, + &.ant-select-focused .ant-select-selector { + border-color: #0052cc; + box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.2); + } + } + + // Enterprise Buttons + .ant-btn { + border-radius: 3px; + font-weight: 500; + font-size: 14px; + height: 32px; + padding: 0 16px; + transition: all 0.1s ease; + + &.ant-btn-primary { + background: #0052cc; + border-color: #0052cc; + + &:hover { + background: #0747a6; + border-color: #0747a6; + } + } + + &.ant-btn-default { + background: #ffffff; + border-color: #dfe1e6; + color: #172b4d; + + &:hover { + background: rgba(9, 30, 66, 0.04); + border-color: #c1c7d0; + } + } + } + + // Enterprise Cards + .ant-card { + border-radius: 8px; + border: 1px solid #dfe1e6; + box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; + + .ant-card-head { + border-bottom: 1px solid #dfe1e6; + background: #f4f5f7; + + .ant-card-head-title { + font-size: 16px; + font-weight: 600; + color: #172b4d; + } + } + } + + // Enterprise Loading States + .loading-container { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 64px 32px; + background: #ffffff; + border-radius: 8px; + border: 1px solid #dfe1e6; + + .loading-spinner { + width: 32px; + height: 32px; + border: 3px solid #f4f5f7; + border-top: 3px solid #0052cc; + border-radius: 50%; + animation: spin 1s linear infinite; + margin-bottom: 16px; + } + + .loading-text { + font-size: 14px; + color: #5e6c84; + font-weight: 500; + } + } + + @keyframes spin { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } + } + + // Enterprise Empty States + .empty-state { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 64px 32px; + background: #ffffff; + border-radius: 8px; + border: 1px solid #dfe1e6; + text-align: center; + + .empty-icon { + width: 64px; + height: 64px; + background: #f4f5f7; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + margin-bottom: 24px; + color: #8993a4; + font-size: 24px; + } + + .empty-title { + font-size: 18px; + font-weight: 600; + color: #172b4d; + margin-bottom: 8px; + } + + .empty-description { + font-size: 14px; + color: #5e6c84; + margin-bottom: 24px; + max-width: 400px; + line-height: 1.4; + } + + .empty-action { + background: #0052cc; + color: #ffffff; + border: none; + padding: 8px 16px; + border-radius: 3px; + font-size: 14px; + font-weight: 500; + cursor: pointer; + transition: background-color 0.1s ease; + + &:hover { + background: #0747a6; + } + } + } + + // Enterprise Notifications + .notification-banner { + background: #e4edff; + border: 1px solid #b3d4ff; + border-radius: 8px; + padding: 16px; + margin-bottom: 24px; + display: flex; + align-items: flex-start; + gap: 12px; + + .notification-icon { + color: #0052cc; + font-size: 16px; + margin-top: 2px; + } + + .notification-content { + flex: 1; + + .notification-title { + font-size: 14px; + font-weight: 600; + color: #172b4d; + margin-bottom: 4px; + } + + .notification-message { + font-size: 14px; + color: #5e6c84; + line-height: 1.4; + } + } + + .notification-close { + background: none; + border: none; + color: #5e6c84; + cursor: pointer; + padding: 4px; + border-radius: 3px; + transition: background-color 0.1s ease; + + &:hover { + background: rgba(9, 30, 66, 0.04); + } + } + + &.warning { + background: #fffae6; + border-color: #ffc400; + + .notification-icon { + color: #ff8b00; + } + } + + &.error { + background: #ffebe6; + border-color: #ff8f73; + + .notification-icon { + color: #de350b; + } + } + + &.success { + background: #e3fcef; + border-color: #abf5d1; + + .notification-icon { + color: #006644; + } + } + } + + // Enterprise Stats Cards + .stats-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 16px; + margin-bottom: 32px; + + .stat-card { + background: #ffffff; + border: 1px solid #dfe1e6; + border-radius: 8px; + padding: 20px; + box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; + + .stat-value { + font-size: 28px; + font-weight: 700; + color: #172b4d; + margin-bottom: 4px; + line-height: 1; + } + + .stat-label { + font-size: 12px; + color: #5e6c84; + text-transform: uppercase; + letter-spacing: 0.5px; + font-weight: 600; + } + + .stat-change { + font-size: 12px; + font-weight: 500; + margin-top: 8px; + + &.positive { + color: #006644; + } + + &.negative { + color: #de350b; + } + + &.neutral { + color: #5e6c84; + } + } + } + } + } + + // Placeholder Content + .admin-panel-placeholder-content { + flex: 1; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 64px 32px; + text-align: center; + + .admin-panel-placeholder-icon { + width: 80px; + height: 80px; + background: linear-gradient(135deg, #e2e8f0, #cbd5e1); + border-radius: 20px; + display: flex; + align-items: center; + justify-content: center; + color: #64748b; + font-size: 2rem; + margin-bottom: 32px; + } + + h2 { + margin: 0 0 16px 0; + font-size: 1.5rem; + font-weight: 600; + color: #1e293b; + font-family: "Poppins", sans-serif; + } + + p { + margin: 0; + color: #64748b; + font-size: 1rem; + font-family: "Poppins", sans-serif; + } + } + + // Modal Overlay + .admin-panel-modal-overlay { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: rgba(0, 0, 0, 0.5); + display: flex; + align-items: center; + justify-content: center; + z-index: 1000; + padding: 32px; + } + + .admin-panel-create-modal { + background: white; + border-radius: 12px; + width: 100%; + max-width: 600px; + max-height: 90vh; + overflow: hidden; + box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); + + .admin-panel-modal-header { + padding: 24px 32px; + border-bottom: 1px solid #e2e8f0; + display: flex; + justify-content: space-between; + align-items: center; + background: #f8fafc; + + h2 { + margin: 0; + font-size: 1.25rem; + font-weight: 600; + color: #1e293b; + font-family: "Poppins", sans-serif; + } + + .admin-panel-close-btn { + background: none; + border: none; + font-size: 1.5rem; + color: #64748b; + cursor: pointer; + padding: 4px; + border-radius: 4px; + transition: all 0.2s ease; + + &:hover { + background: #e2e8f0; + color: #374151; + } + } + } + + .admin-panel-modal-content { + padding: 32px; + overflow-y: auto; + max-height: calc(90vh - 80px); + + // Style the form components inside modal + .hero-section-form, + .offerings-form, + .ecosystem-form, + .trending-apps-form, + .faq-form, + .CTASectionFormMaster, + .FooterFormMaster, + .banner-section-form { + .form-container, + .offeringsContent, + .ecosystemContent, + .form-inputs, + .faq-inputs, + .cta-form, + .footer-form, + .banner-content { + background: transparent; + padding: 0; + border: none; + box-shadow: none; + } + + // Hide data display sections in modal + .hero-data-display, + .apps-display, + .added-titles, + .saved-posters, + .added-banners, + .added-faqs, + .apps-display, + .admin-cards-container { + display: none; + } + } + } + } + } + + // Mobile Header (hidden on desktop) + .admin-panel-mobile-header { + display: none; + justify-content: space-between; + align-items: center; + padding: 16px; + background: white; + border-bottom: 1px solid #e2e8f0; + position: sticky; + top: 0; + z-index: 100; + + .admin-panel-mobile-logo { + display: flex; + align-items: center; + gap: 8px; + font-size: 1.1rem; + font-weight: 600; + color: #1e293b; + + svg { + color: #5255c8; + font-size: 1.2rem; + } + } + + .admin-panel-mobile-toggle { + background: none; + border: none; + font-size: 1.2rem; + color: #5255c8; + cursor: pointer; + padding: 6px; + border-radius: 6px; + transition: all 0.2s ease; + + &:hover { + background: #edeeff; + color: #3f45ff; + } + svg { + display: flex; + } + } + } + + // Mobile Overlay + .admin-panel-mobile-overlay { + display: none; + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: rgba(0, 0, 0, 0.5); + z-index: 150; + } + + // Responsive Design + @media (max-width: 1024px) { + .admin-panel-sidebar { + width: 240px; + } + + .admin-panel-main-content { + .admin-panel-main-header, + .admin-panel-tab-navigation, + .admin-panel-top-header { + padding: 16px 24px; + } + } + } + + @media (max-width: 768px) { + .admin-panel-mobile-header { + display: flex; + } + + .admin-panel-mobile-overlay { + display: block; + } + + .admin-panel-sidebar { + position: fixed; + top: 0; + left: -290px; + width: 290px; + height: 100vh; + z-index: 200; + transition: left 0.3s ease; + box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15); + + &.mobile-open { + left: 0; + } + } + + .admin-panel-main-content { + width: 100%; + + .admin-panel-top-header { + padding: 12px 16px; + + .admin-panel-breadcrumbs { + font-size: 0.8rem; + } + } + + .admin-panel-main-header { + flex-direction: column; + gap: 1rem; + align-items: stretch; + padding: 16px; + + .admin-panel-header-left { + justify-content: center; + + .admin-panel-header-content { + text-align: center; + + h1 { + font-size: 1.1rem; + } + + p { + font-size: 0.8rem; + } + } + } + + .admin-panel-create-btn { + width: 100%; + justify-content: center; + } + } + + .admin-panel-tab-navigation { + flex-direction: column; + gap: 16px; + align-items: stretch; + padding: 12px 16px; + + .admin-panel-tab-buttons { + overflow-x: auto; + + .admin-panel-tab-btn { + white-space: nowrap; + min-width: 100px; + } + } + + .admin-panel-tab-controls { + justify-content: space-between; + flex-wrap: wrap; + gap: 12px; + } + } + + .admin-panel-modal-overlay { + padding: 16px; + } + + .admin-panel-create-modal { + max-height: 95vh; + + .admin-panel-modal-header { + padding: 16px 20px; + + h2 { + font-size: 1.1rem; + } + } + + .admin-panel-modal-content { + padding: 20px; + } + } + } + } + + @media (max-width: 480px) { + .admin-panel-main-content { + .admin-panel-top-header, + .admin-panel-main-header, + .admin-panel-tab-navigation { + padding: 12px; + } + + .admin-panel-main-header { + .admin-panel-header-left { + .admin-panel-header-icon { + width: 40px; + height: 40px; + font-size: 1.2rem; + } + } + } + } + + .admin-panel-create-modal { + margin: 8px; + max-height: calc(100vh - 16px); + + .admin-panel-modal-content { + padding: 16px; + } + } + } +} + +// Modal Form Styles +.admin-panel-create-modal-form { + .form-group { + margin-bottom: 24px; + + label { + display: block; + margin-bottom: 8px; + font-weight: 600; + color: #374151; + font-size: 0.875rem; + font-family: "NeueMontreal", sans-serif; + } + + input, + textarea, + select { + width: 100%; + padding: 12px; + border: 1px solid #d1d5db; + border-radius: 6px; + font-size: 0.875rem; + transition: all 0.2s ease; + font-family: "NeueMontreal", sans-serif; + + &:focus { + outline: none; + border-color: #3b82f6; + box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); + } + + &.error { + border-color: #ef4444; + } + + &::placeholder { + color: #9ca3af; + } + } + + textarea { + resize: vertical; + min-height: 100px; + } + + .error-text { + display: block; + color: #ef4444; + font-size: 0.75rem; + margin-top: 4px; + font-family: "NeueMontreal", sans-serif; + } + + .image-mode-toggle { + display: flex; + margin-bottom: 12px; + background: #f3f4f6; + border-radius: 6px; + padding: 2px; + + .mode-btn { + flex: 1; + padding: 8px 16px; + border: none; + background: transparent; + color: #6b7280; + font-size: 0.875rem; + font-weight: 500; + cursor: pointer; + border-radius: 4px; + transition: all 0.2s ease; + + &.active { + background: white; + color: #374151; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + } + + &:hover:not(.active) { + color: #374151; + } + } + } + } + + .form-actions { + display: flex; + gap: 16px; + margin-top: 32px; + padding-top: 24px; + border-top: 1px solid #e5e7eb; + + button { + flex: 1; + padding: 12px 24px; + border-radius: 6px; + font-size: 0.875rem; + font-weight: 600; + cursor: pointer; + transition: all 0.2s ease; + font-family: "NeueMontreal", sans-serif; + + &.cancel-btn { + background: #f3f4f6; + color: #374151; + border: 1px solid #d1d5db; + + &:hover { + background: #e5e7eb; + } + } + + &.save-btn { + background: #3b82f6; + color: white; + border: 1px solid #3b82f6; + + &:hover { + background: #2563eb; + } + } + } + } +} + +// Enterprise Card Grid +.admin-panel-cards-container { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); + gap: 24px; + margin-top: 24px; + + @media (max-width: 768px) { + grid-template-columns: 1fr; + gap: 16px; + } +} + +.admin-panel-card { + background: #ffffff; + border-radius: 8px; + overflow: hidden; + box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; + border: 1px solid #dfe1e6; + transition: all 0.1s ease; + position: relative; + + &:hover { + transform: translateY(-2px); + box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px; + border-color: #c1c7d0; + } + + .card-image { + width: 100%; + height: 180px; + overflow: hidden; + background: #f1f5f9; + + img { + width: 100%; + height: 100%; + object-fit: cover; + } + } + + .card-content { + padding: 20px; + + .card-header { + display: flex; + justify-content: space-between; + align-items: flex-start; + gap: 12px; + margin-bottom: 12px; + + h3 { + margin: 0; + font-size: 16px; + font-weight: 600; + color: #172b4d; + line-height: 1.3; + } + + .status-badge { + padding: 4px 8px; + border-radius: 3px; + font-size: 11px; + font-weight: 600; + white-space: nowrap; + text-transform: uppercase; + letter-spacing: 0.5px; + + &.active { + background: #e3fcef; + color: #006644; + border: 1px solid #abf5d1; + } + + &.inactive { + background: #fffae6; + color: #974f0c; + border: 1px solid #ffc400; + } + } + } + + .card-description { + color: #5e6c84; + font-size: 14px; + line-height: 1.4; + margin-bottom: 16px; + display: -webkit-box; + -webkit-line-clamp: 3; + line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; + } + + .card-meta { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 16px; + padding-top: 12px; + border-top: 1px solid #f1f5f9; + + .priority-badge { + padding: 4px 12px; + border-radius: 12px; + font-size: 0.75rem; + font-weight: 500; + font-family: "NeueMontreal", sans-serif; + + &.high { + background: #fee2e2; + color: #991b1b; + } + + &.medium { + background: #fef3c7; + color: #92400e; + } + + &.low { + background: #dcfce7; + color: #166534; + } + } + + .date { + color: #94a3b8; + font-size: 0.75rem; + font-family: "NeueMontreal", sans-serif; + } + } + + .card-actions { + display: flex; + gap: 8px; + + button { + flex: 1; + padding: 6px 12px; + border: 1px solid #dfe1e6; + background: #ffffff; + color: #172b4d; + border-radius: 3px; + font-size: 14px; + font-weight: 500; + cursor: pointer; + transition: all 0.1s ease; + display: flex; + align-items: center; + justify-content: center; + gap: 4px; + height: 32px; + + &:hover { + background: rgba(9, 30, 66, 0.04); + border-color: #c1c7d0; + } + + &.primary { + background: #0052cc; + color: #ffffff; + border-color: #0052cc; + + &:hover { + background: #0747a6; + border-color: #0747a6; + } + } + + &.danger { + background: #de350b; + color: #ffffff; + border-color: #de350b; + + &:hover { + background: #bf2600; + border-color: #bf2600; + } + } + } + } + } +} + +.backtohomefromAdminpanel{ + font-size: 14px; + gap: 8px; + align-items: center; + display: flex; + cursor: pointer; + padding: 8px 16px; + border-radius: 6px; + background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 255, 0.9) 100%); + color: #5e6c84; + border: 1px solid #dfe1e6; + transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); + font-weight: 500; + backdrop-filter: blur(8px); + -webkit-backdrop-filter: blur(8px); + + &:hover { + background: linear-gradient(135deg, #ffffff 0%, #f0f5ff 100%); + color: #172b4d; + border-color: #c1c7d0; + transform: translateY(-1px); + box-shadow: 0 2px 8px rgba(9, 30, 66, 0.15); + } + + &:active { + transform: translateY(0); + } + + svg{ + font-size: 14px; + transition: transform 0.15s ease; + } + + &:hover svg { + transform: translateX(-2px); + } +} \ No newline at end of file diff --git a/src/AdminPanel/AdminPanel.scss.backup b/src/AdminPanel/AdminPanel.scss.backup new file mode 100644 index 0000000..62060a2 --- /dev/null +++ b/src/AdminPanel/AdminPanel.scss.backup @@ -0,0 +1,976 @@ +// Modern Admin Panel with Trending UI/UX +.admin-panel { + display: flex; + height: 100vh; + font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif; + background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%); + color: #1a202c; + letter-spacing: -0.01em; + + // Sidebar Styles - Modern Dark Theme + .sidebar { + width: 290px; + background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%); + color: white; + display: flex; + flex-direction: column; + box-shadow: 8px 0 40px rgba(0, 0, 0, 0.15); + position: relative; + + &::before { + content: ''; + position: absolute; + top: 0; + left: 0; + right: 0; + height: 4px; + background: linear-gradient(90deg, #5255c8, #8b5cf6, #ec4899); + } + + .sidebar-header { + padding: 2.5rem 1.75rem 1.5rem; + border-bottom: 1px solid rgba(255, 255, 255, 0.08); + + .logo { + display: flex; + align-items: center; + gap: 0.875rem; + + svg { + font-size: 2rem; + color: #818cf8; + filter: drop-shadow(0 0 8px rgba(129, 140, 248, 0.4)); + } + + h1 { + margin: 0; + font-size: 1.5rem; + font-weight: 700; + background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + background-clip: text; + letter-spacing: -0.02em; + } + } + } + + .sidebar-nav { + flex: 1; + padding: 1rem 0; + overflow-y: auto; + + .nav-item { + display: flex; + align-items: center; + padding: 1rem 1.5rem; + cursor: pointer; + transition: all 0.3s ease; + position: relative; + margin: 0.25rem 0; + + &:hover { + background: rgba(255, 255, 255, 0.05); + } + + &.active { + background: linear-gradient(135deg, #5255c8, #8b5cf6); + box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); + + .nav-icon { + color: white; + } + + .nav-content { + .nav-title { + color: white; + } + .nav-subtitle { + color: rgba(255, 255, 255, 0.8); + } + } + } + + .nav-icon { + font-size: 1.25rem; + color: #94a3b8; + margin-right: 1rem; + transition: color 0.3s ease; + } + + .nav-content { + flex: 1; + + .nav-title { + display: block; + font-size: 0.95rem; + font-weight: 600; + color: #e2e8f0; + margin-bottom: 0.25rem; + } + + .nav-subtitle { + display: block; + font-size: 0.8rem; + color: #94a3b8; + } + } + + .active-indicator { + width: 4px; + height: 20px; + background: white; + border-radius: 2px; + position: absolute; + right: 0; + } + } + } + + .sidebar-footer { + padding: 1.5rem; + border-top: 1px solid rgba(255, 255, 255, 0.1); + + .user-profile { + display: flex; + align-items: center; + margin-bottom: 1rem; + + .user-avatar { + width: 40px; + height: 40px; + background: linear-gradient(135deg, #8b5cf6, #ec4899); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + font-weight: 600; + font-size: 0.9rem; + margin-right: 0.75rem; + } + + .user-info { + flex: 1; + + .user-name { + display: block; + font-size: 0.9rem; + font-weight: 600; + color: white; + margin-bottom: 0.25rem; + } + + .user-role { + display: block; + font-size: 0.8rem; + color: #94a3b8; + } + } + } + + .signout-btn { + width: 100%; + background: transparent; + border: 1px solid rgba(255, 255, 255, 0.2); + color: white; + padding: 0.75rem 1rem; + border-radius: 8px; + cursor: pointer; + font-size: 0.9rem; + display: flex; + align-items: center; + gap: 0.5rem; + transition: all 0.3s ease; + + &:hover { + background: rgba(255, 255, 255, 0.1); + border-color: rgba(255, 255, 255, 0.3); + } + } + } + } + + // Main Content Styles + .main-content { + flex: 1; + display: flex; + flex-direction: column; + overflow: hidden; + + // Top Header + .top-header { + background: white; + padding: 1rem 2rem; + border-bottom: 1px solid #e2e8f0; + display: flex; + justify-content: space-between; + align-items: center; + + .breadcrumbs { + display: flex; + align-items: center; + gap: 0.5rem; + font-size: 0.9rem; + color: #64748b; + + .breadcrumb-arrow { + font-size: 0.75rem; + color: #94a3b8; + } + + span:last-child { + color: #1e293b; + font-weight: 500; + } + } + + .header-actions { + display: flex; + gap: 0.75rem; + + button { + background: transparent; + border: 1px solid #d1d5db; + color: #374151; + padding: 0.5rem 1rem; + border-radius: 6px; + cursor: pointer; + font-size: 0.875rem; + display: flex; + align-items: center; + gap: 0.5rem; + transition: all 0.2s ease; + + &:hover { + background: #f9fafb; + border-color: #9ca3af; + } + } + } + } + + // Main Header + .main-header { + background: white; + padding: 2rem; + border-bottom: 1px solid #e2e8f0; + display: flex; + justify-content: space-between; + align-items: center; + + .header-left { + display: flex; + align-items: center; + gap: 1rem; + + .header-icon { + width: 48px; + height: 48px; + background: linear-gradient(135deg, #667eea, #764ba2); + border-radius: 12px; + display: flex; + align-items: center; + justify-content: center; + color: white; + font-size: 1.25rem; + } + + .header-content { + h1 { + margin: 0; + font-size: 1.75rem; + font-weight: 700; + color: #1e293b; + } + + p { + margin: 0.25rem 0 0 0; + color: #64748b; + font-size: 0.95rem; + } + } + } + + .create-btn { + background: linear-gradient(135deg, #1e40af, #1d4ed8); + color: white; + border: none; + padding: 0.875rem 1.5rem; + border-radius: 10px; + font-weight: 600; + font-size: 0.95rem; + cursor: pointer; + transition: all 0.2s ease; + display: flex; + align-items: center; + gap: 0.5rem; + + &:hover { + transform: translateY(-1px); + box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3); + } + } + } + + // Tab Navigation + .tab-navigation { + background: white; + padding: 1rem 2rem; + border-bottom: 1px solid #e2e8f0; + display: flex; + justify-content: space-between; + align-items: center; + + .tab-buttons { + display: flex; + gap: 0.5rem; + + .tab-btn { + padding: 0.5rem 1rem; + border: none; + background: transparent; + color: #64748b; + font-weight: 500; + cursor: pointer; + border-radius: 6px; + transition: all 0.2s ease; + + &.active { + background: #f1f5f9; + color: #1e293b; + } + + &:hover:not(.active) { + background: #f8fafc; + color: #475569; + } + } + } + + .tab-controls { + display: flex; + align-items: center; + gap: 1rem; + + .sort-dropdown { + position: relative; + display: flex; + align-items: center; + + .dropdown-icon { + position: absolute; + right: 0.75rem; + color: #64748b; + font-size: 0.875rem; + pointer-events: none; + z-index: 1; + } + + select { + appearance: none; + background: white; + border: 1px solid #d1d5db; + padding: 0.5rem 2rem 0.5rem 0.75rem; + border-radius: 6px; + font-size: 0.875rem; + color: #374151; + cursor: pointer; + min-width: 140px; + + &:focus { + outline: none; + border-color: #3b82f6; + box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); + } + } + } + + .view-toggle { + display: flex; + background: #f1f5f9; + border-radius: 6px; + padding: 2px; + + .view-btn { + background: transparent; + border: none; + padding: 0.5rem; + cursor: pointer; + border-radius: 4px; + color: #64748b; + transition: all 0.2s ease; + + &.active { + background: white; + color: #1e293b; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + } + + &:hover:not(.active) { + color: #475569; + } + } + } + } + } + + // Content Area + .content-area { + flex: 1; + padding: 2rem; + overflow-y: auto; + background: #f8fafc; + + // Remove existing form styling and make it clean + .hero-section-form, + .offerings-form, + .ecosystem-form, + .trending-apps-form, + .faq-form, + .CTASectionFormMaster, + .FooterFormMaster, + .banner-section-form { + background: transparent; + padding: 0; + border-radius: 0; + box-shadow: none; + margin: 0; + + .hero-section-header, + .offerings-header, + .ecosystem-header, + .trending-apps-header, + .faq-header, + .cta-header, + .footer-header, + .banner-section-header { + display: none; + } + + .form-container, + .offeringsContent, + .ecosystemContent, + .form-inputs, + .faq-inputs, + .cta-form, + .footer-form, + .banner-content { + background: transparent; + padding: 0; + border-radius: 0; + box-shadow: none; + border: none; + } + } + } + + // Placeholder Content + .placeholder-content { + flex: 1; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 4rem 2rem; + text-align: center; + + .placeholder-icon { + width: 80px; + height: 80px; + background: linear-gradient(135deg, #e2e8f0, #cbd5e1); + border-radius: 20px; + display: flex; + align-items: center; + justify-content: center; + color: #64748b; + font-size: 2rem; + margin-bottom: 2rem; + } + + h2 { + margin: 0 0 1rem 0; + font-size: 1.5rem; + font-weight: 600; + color: #1e293b; + } + + p { + margin: 0; + color: #64748b; + font-size: 1rem; + } + } + + // Modal Overlay + .modal-overlay { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: rgba(0, 0, 0, 0.5); + display: flex; + align-items: center; + justify-content: center; + z-index: 1000; + padding: 2rem; + } + + .create-modal { + background: white; + border-radius: 12px; + width: 100%; + max-width: 600px; + max-height: 90vh; + overflow: hidden; + box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); + + .modal-header { + padding: 1.5rem 2rem; + border-bottom: 1px solid #e2e8f0; + display: flex; + justify-content: space-between; + align-items: center; + background: #f8fafc; + + h2 { + margin: 0; + font-size: 1.25rem; + font-weight: 600; + color: #1e293b; + } + + .close-btn { + background: none; + border: none; + font-size: 1.5rem; + color: #64748b; + cursor: pointer; + padding: 0.25rem; + border-radius: 4px; + transition: all 0.2s ease; + + &:hover { + background: #e2e8f0; + color: #374151; + } + } + } + + .modal-content { + padding: 2rem; + overflow-y: auto; + max-height: calc(90vh - 80px); + + // Style the form components inside modal + .hero-section-form, + .offerings-form, + .ecosystem-form, + .trending-apps-form, + .faq-form, + .CTASectionFormMaster, + .FooterFormMaster, + .banner-section-form { + .form-container, + .offeringsContent, + .ecosystemContent, + .form-inputs, + .faq-inputs, + .cta-form, + .footer-form, + .banner-content { + background: transparent; + padding: 0; + border: none; + box-shadow: none; + } + + // Hide data display sections in modal + .hero-data-display, + .apps-display, + .added-titles, + .saved-posters, + .added-banners, + .added-faqs, + .apps-display, + .admin-cards-container { + display: none; + } + } + } + } + } + + // Responsive Design + @media (max-width: 1024px) { + .sidebar { + width: 240px; + } + + .main-content { + .main-header, + .tab-navigation, + .top-header { + padding: 1rem 1.5rem; + } + + .content-area { + padding: 1.5rem; + } + } + } + + @media (max-width: 768px) { + flex-direction: column; + + .sidebar { + width: 100%; + height: auto; + flex-direction: row; + overflow-x: auto; + + .sidebar-nav { + flex: 1; + display: flex; + padding: 0; + + .nav-item { + min-width: 150px; + flex-shrink: 0; + } + } + + .sidebar-footer { + display: none; + } + } + + .main-content { + .main-header { + flex-direction: column; + gap: 1rem; + align-items: stretch; + + .header-left { + justify-content: center; + } + + .create-btn { + width: 100%; + justify-content: center; + } + } + + .tab-navigation { + flex-direction: column; + gap: 1rem; + align-items: stretch; + + .tab-controls { + justify-content: space-between; + } + } + + .content-area { + padding: 1rem; + } + + .modal-overlay { + padding: 1rem; + } + + .create-modal { + max-height: 95vh; + } + } + } +} + +// Modal Form Styles +.create-modal-form { + .form-group { + margin-bottom: 1.5rem; + + label { + display: block; + margin-bottom: 0.5rem; + font-weight: 600; + color: #374151; + font-size: 0.875rem; + } + + input, + textarea, + select { + width: 100%; + padding: 0.75rem; + border: 1px solid #d1d5db; + border-radius: 6px; + font-size: 0.875rem; + transition: all 0.2s ease; + font-family: inherit; + + &:focus { + outline: none; + border-color: #3b82f6; + box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); + } + + &.error { + border-color: #ef4444; + } + + &::placeholder { + color: #9ca3af; + } + } + + textarea { + resize: vertical; + min-height: 100px; + } + + .error-text { + display: block; + color: #ef4444; + font-size: 0.75rem; + margin-top: 0.25rem; + } + + .image-mode-toggle { + display: flex; + margin-bottom: 0.75rem; + background: #f3f4f6; + border-radius: 6px; + padding: 2px; + + .mode-btn { + flex: 1; + padding: 0.5rem 1rem; + border: none; + background: transparent; + color: #6b7280; + font-size: 0.875rem; + font-weight: 500; + cursor: pointer; + border-radius: 4px; + transition: all 0.2s ease; + + &.active { + background: white; + color: #374151; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + } + + &:hover:not(.active) { + color: #374151; + } + } + } + } + + .form-actions { + display: flex; + gap: 1rem; + margin-top: 2rem; + padding-top: 1.5rem; + border-top: 1px solid #e5e7eb; + + button { + flex: 1; + padding: 0.75rem 1.5rem; + border-radius: 6px; + font-size: 0.875rem; + font-weight: 600; + cursor: pointer; + transition: all 0.2s ease; + + &.cancel-btn { + background: #f3f4f6; + color: #374151; + border: 1px solid #d1d5db; + + &:hover { + background: #e5e7eb; + } + } + + &.save-btn { + background: #3b82f6; + color: white; + border: 1px solid #3b82f6; + + &:hover { + background: #2563eb; + } + } + } + } +} + +// Card-based layout for data display +.admin-cards-container { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); + gap: 1.5rem; + margin-top: 1.5rem; + + @media (max-width: 768px) { + grid-template-columns: 1fr; + } +} + +.admin-card { + background: white; + border-radius: 12px; + overflow: hidden; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); + border: 1px solid #e2e8f0; + transition: all 0.3s ease; + + &:hover { + transform: translateY(-2px); + box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); + } + + .card-image { + width: 100%; + height: 180px; + overflow: hidden; + background: #f1f5f9; + + img { + width: 100%; + height: 100%; + object-fit: cover; + } + } + + .card-content { + padding: 1.25rem; + + .card-header { + display: flex; + justify-content: space-between; + align-items: flex-start; + gap: 1rem; + margin-bottom: 0.75rem; + + h3 { + margin: 0; + font-size: 1.1rem; + font-weight: 600; + color: #1e293b; + line-height: 1.4; + } + + .status-badge { + padding: 0.25rem 0.75rem; + border-radius: 12px; + font-size: 0.75rem; + font-weight: 500; + white-space: nowrap; + + &.active { + background: #dcfce7; + color: #166534; + } + + &.inactive { + background: #fef3c7; + color: #92400e; + } + } + } + + .card-description { + color: #64748b; + font-size: 0.875rem; + line-height: 1.5; + margin-bottom: 1rem; + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; + } + + .card-meta { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 1rem; + padding-top: 0.75rem; + border-top: 1px solid #f1f5f9; + + .priority-badge { + padding: 0.25rem 0.75rem; + border-radius: 12px; + font-size: 0.75rem; + font-weight: 500; + + &.high { + background: #fee2e2; + color: #991b1b; + } + + &.medium { + background: #fef3c7; + color: #92400e; + } + + &.low { + background: #dcfce7; + color: #166534; + } + } + + .date { + color: #94a3b8; + font-size: 0.75rem; + } + } + + .card-actions { + display: flex; + gap: 0.5rem; + + button { + flex: 1; + padding: 0.5rem 0.75rem; + border: 1px solid #d1d5db; + background: white; + color: #374151; + border-radius: 6px; + font-size: 0.75rem; + font-weight: 500; + cursor: pointer; + transition: all 0.2s ease; + + &:hover { + background: #f9fafb; + border-color: #9ca3af; + } + + &.primary { + background: #3b82f6; + color: white; + border-color: #3b82f6; + + &:hover { + background: #2563eb; + } + } + + &.danger { + background: #ef4444; + color: white; + border-color: #ef4444; + + &:hover { + background: #dc2626; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/AdminPanel/AdminPanelContext.jsx b/src/AdminPanel/AdminPanelContext.jsx new file mode 100644 index 0000000..b4b8bb7 --- /dev/null +++ b/src/AdminPanel/AdminPanelContext.jsx @@ -0,0 +1,223 @@ +import React, { createContext, useContext, useState } from 'react' + +const AdminPanelContext = createContext() + +export const useAdminPanel = () => { + const context = useContext(AdminPanelContext) + if (!context) { + throw new Error('useAdminPanel must be used within AdminPanelProvider') + } + return context +} + +export const AdminPanelProvider = ({ children }) => { + const [sectionData, setSectionData] = useState({ + BannerSectionForm: [ + { + id: 1, + title: 'Summer Sale Banner', + description: 'Promotional banner for summer sale campaign', + image: 'https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=400&h=300&fit=crop', + active: true, + priority: 'high', + date: 'Dec 22, 2024' + } + ], + CTASectionForm: [ + { + id: 1, + title: 'Get Started CTA', + description: 'Primary call-to-action for new users', + image: 'https://images.unsplash.com/photo-1559136555-9303baea8ebd?w=400&h=300&fit=crop', + active: true, + priority: 'high', + date: 'Dec 21, 2024' + } + ], + EcosystemForm: [ + { + id: 1, + title: 'Smart City Solutions', + description: 'Comprehensive urban development platform integrating IoT, data analytics, and citizen engagement.', + image: 'https://images.unsplash.com/photo-1449824913935-59a10b8d2000?w=400&h=300&fit=crop', + active: true, + priority: 'high', + date: 'Dec 21, 2024' + }, + { + id: 2, + title: 'Healthcare Innovation Hub', + description: 'Connected healthcare ecosystem with telemedicine, AI diagnostics, and patient management.', + image: 'https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=400&h=300&fit=crop', + active: true, + priority: 'medium', + date: 'Dec 20, 2024' + } + ], + FaqSectionForm: [ + { + id: 1, + title: 'How to Get Started', + description: 'Step-by-step guide for new users to begin using our platform', + image: 'https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=400&h=300&fit=crop', + active: true, + priority: 'high', + date: 'Dec 20, 2024' + } + ], + FooterForm: [ + { + id: 1, + title: 'Main Footer', + description: 'Primary footer with contact information and links', + image: 'https://images.unsplash.com/photo-1557804506-669a67965ba0?w=400&h=300&fit=crop', + active: true, + priority: 'medium', + date: 'Dec 19, 2024' + } + ], + HeroSectionForm: [ + { + id: 1, + title: 'Support the Environment', + description: 'Environmental conservation through waste management, and sustainable practices for a better future.', + image: 'https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?w=400&h=300&fit=crop', + active: true, + priority: 'medium', + date: 'Dec 19, 2024' + }, + { + id: 2, + title: 'Water, Sanitation & Hygiene', + description: 'Providing clean water access, sanitation facilities, hygiene education to improve community health and wellbeing.', + image: 'https://images.unsplash.com/photo-1559027615-cd4628902d4a?w=400&h=300&fit=crop', + active: true, + priority: 'high', + date: 'Dec 18, 2024' + } + ], + OfferingsForm: [ + { + id: 1, + title: 'Digital Transformation', + description: 'Comprehensive digital solutions to modernize your business operations and enhance customer experience.', + image: 'https://images.unsplash.com/photo-1551434678-e076c223a692?w=400&h=300&fit=crop', + active: true, + priority: 'high', + date: 'Dec 18, 2024' + }, + { + id: 2, + title: 'Cloud Infrastructure', + description: 'Scalable cloud solutions for secure data storage, processing, and seamless business operations.', + image: 'https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=400&h=300&fit=crop', + active: true, + priority: 'medium', + date: 'Dec 17, 2024' + } + ], + TrendingAppsForm: [ + { + id: 1, + name: 'PozoPay', + description: 'Secure mobile payment solution with advanced encryption and fraud protection.', + icon: 'https://images.unsplash.com/photo-1563013544-824ae1b704d3?w=100&h=100&fit=crop', + category: 'Finance', + rating: 4.8, + downloads: '1.2M', + status: 'active', + priority: 'high', + date: 'Dec 22, 2024' + }, + { + id: 2, + name: 'SmartInventory', + description: 'AI-powered inventory management system with real-time tracking and analytics.', + icon: 'https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=100&h=100&fit=crop', + category: 'Business', + rating: 4.6, + downloads: '850K', + status: 'active', + priority: 'medium', + date: 'Dec 21, 2024' + }, + { + id: 3, + name: 'HealthTracker', + description: 'Comprehensive health monitoring app with wearable device integration.', + icon: 'https://images.unsplash.com/photo-1559757175-0eb30cd8c063?w=100&h=100&fit=crop', + category: 'Health', + rating: 4.9, + downloads: '2.1M', + status: 'active', + priority: 'high', + date: 'Dec 20, 2024' + } + ], + AppDemo: [ + { + id: 1, + title: 'Product Demo Video', + description: 'Comprehensive demonstration of our latest product features and capabilities', + image: 'https://images.unsplash.com/photo-1574717024653-61fd2cf4d44d?w=400&h=300&fit=crop', + active: true, + priority: 'high', + date: 'Dec 19, 2024' + } + ] + }) + + const addItem = (sectionKey, item) => { + setSectionData(prev => ({ + ...prev, + [sectionKey]: [...prev[sectionKey], { ...item, id: Date.now() }] + })) + } + + const updateItem = (sectionKey, itemId, updatedItem) => { + setSectionData(prev => ({ + ...prev, + [sectionKey]: prev[sectionKey].map(item => + item.id === itemId ? { ...item, ...updatedItem } : item + ) + })) + } + + const deleteItem = (sectionKey, itemId) => { + setSectionData(prev => ({ + ...prev, + [sectionKey]: prev[sectionKey].filter(item => item.id !== itemId) + })) + } + + const toggleItemStatus = (sectionKey, itemId) => { + setSectionData(prev => ({ + ...prev, + [sectionKey]: prev[sectionKey].map(item => + item.id === itemId ? { ...item, active: !item.active } : item + ) + })) + } + + const updateSectionData = (sectionKey, newData) => { + setSectionData(prev => ({ + ...prev, + [sectionKey]: newData + })) + } + + const value = { + sectionData, + addItem, + updateItem, + deleteItem, + toggleItemStatus, + updateSectionData + } + + return ( + + {children} + + ) +} diff --git a/src/AdminPanel/AdminPanelForms/AppDemo.jsx b/src/AdminPanel/AdminPanelForms/AppDemo.jsx new file mode 100644 index 0000000..4e358b3 --- /dev/null +++ b/src/AdminPanel/AdminPanelForms/AppDemo.jsx @@ -0,0 +1,280 @@ +import React, { useState, useEffect } from 'react' +import { Popconfirm, message } from 'antd' +import { useAdminPanel } from '../AdminPanelContext' +import { DefaultModal } from '../../Components/Modal/DefaultModal' +import "../Styles/AppDemo.scss" + +const AppDemo = () => { + const { sectionData, updateSectionData } = useAdminPanel() + const videoData = sectionData.AppDemo || [] + const [isModalOpen, setIsModalOpen] = useState(false) + const [title, setTitle] = useState('') + const [file, setFile] = useState(null) + const [editingIndex, setEditingIndex] = useState(-1) + const [fileError, setFileError] = useState('') + const [previewUrls, setPreviewUrls] = useState(new Map()) + + useEffect(() => { + return () => { + previewUrls.forEach(url => URL.revokeObjectURL(url)) + } + }, []) + + const openModal = () => { + setIsModalOpen(true) + } + + const closeModal = () => { + // Clean up preview URL + const prevUrl = previewUrls.get('preview') + if (prevUrl) { + URL.revokeObjectURL(prevUrl) + setPreviewUrls(new Map(previewUrls.delete('preview'))) + } + + setIsModalOpen(false) + setTitle('') + setFile(null) + setEditingIndex(-1) + setFileError('') + } + + const handleClear = () => { + setTitle('') + setFile(null) + setFileError('') + } + + const handleFileChange = (e) => { + const selectedFile = e.target.files[0] + if (selectedFile) { + // Clean up previous preview URL + const prevUrl = previewUrls.get('preview') + if (prevUrl) URL.revokeObjectURL(prevUrl) + + // Create new preview URL + const newUrl = URL.createObjectURL(selectedFile) + setPreviewUrls(new Map(previewUrls.set('preview', newUrl))) + + setFile(selectedFile) + if (fileError) setFileError('') + if (!title) { + setTitle(selectedFile.name.replace(/\.[^/.]+$/, '')) + } + } + } + + const handleSave = () => { + if (!file) { + setFileError('Video file is required') + message.error('Please select a video file') + return + } + setFileError('') + + const newVideo = { + id: editingIndex >= 0 ? videoData[editingIndex].id : Date.now(), + title: title.trim() || file.name, + file: file, + active: true, + createdAt: editingIndex >= 0 ? videoData[editingIndex].createdAt : new Date().toLocaleDateString() + } + + if (editingIndex >= 0) { + const updatedVideos = videoData.map((video, index) => index === editingIndex ? newVideo : video) + updateSectionData('AppDemo', updatedVideos) + setEditingIndex(-1) + message.success('Video updated!') + } else { + updateSectionData('AppDemo', [...videoData, newVideo]) + message.success('Video added!') + } + + closeModal() + } + + const handleDelete = (index) => { + const updatedVideos = videoData.filter((_, i) => i !== index) + updateSectionData('AppDemo', updatedVideos) + message.success('Video deleted') + } + + const handleEdit = (index) => { + const video = videoData[index] + setTitle(video.title) + setFile(video.file) + setEditingIndex(index) + openModal() + } + + const handleToggleActive = (index) => { + const updated = [...videoData] + updated[index].active = !updated[index].active + updateSectionData('AppDemo', updated) + message.success('Status updated') + } + + return ( +
+ {/* Header Section */} +
+
+ {/*
+ 🎥 +
*/} +
+

Video Management

+

Manage and organize your video content.

+
+
+ +
+ + {/* Tab Navigation */} +
+
+ + +
+
+
+ +
+
+ + +
+
+
+ + {/* Content Area */} + {videoData.length > 0 ? ( +
+
+ {videoData.map((video, index) => ( +
+
+

{video.title || video.file?.name || 'Untitled Video'}

+
+ + handleDelete(index)} + okText="Yes" + cancelText="No" + > + + + +
+
+
+
+ {video.file instanceof File ? ( + + ) : ( +
Video not available
+ )} +
+

Created: {video.date || video.createdAt}

+

+ Status: {video.active ? 'Active' : 'Inactive'} +

+
+
+ ))} +
+
+ ) : ( +
+
+ 🎥 +
+

No Videos Found

+

Get started by uploading your first video

+
+ )} + + {/* Modal */} + = 0 ? 'Edit Video' : 'Upload New Video'} + handleCancel={closeModal} + handleSubmit={handleSave} + buttonText={editingIndex >= 0 ? 'Update Video' : 'Add Video'} + width={600} + destroyOnClose={true} + > +
+
+ + setTitle(e.target.value)} + placeholder='Enter video title' + autoFocus + /> +
+ +
+ + + {fileError && {fileError}} + {file && file instanceof File && ( +
+

Selected: {file.name}

+ +
+ )} +
+ +
+ + + +
+
+
+
+ ) +} + +export default AppDemo diff --git a/src/AdminPanel/AdminPanelForms/BannerSectionForm.jsx b/src/AdminPanel/AdminPanelForms/BannerSectionForm.jsx new file mode 100644 index 0000000..629d95c --- /dev/null +++ b/src/AdminPanel/AdminPanelForms/BannerSectionForm.jsx @@ -0,0 +1,259 @@ +import React, { useState } from 'react' +import { Popconfirm, message } from 'antd' +import { useAdminPanel } from '../AdminPanelContext' +import { DefaultModal } from '../../Components/Modal/DefaultModal' +import "../Styles/BannerSectionForm.scss" + +const BannerSectionForm = () => { + const { sectionData, updateSectionData } = useAdminPanel() + const bannerData = sectionData.BannerSectionForm || [] + const [isModalOpen, setIsModalOpen] = useState(false) + const [title, setTitle] = useState('') + const [description, setDescription] = useState('') + const [editingIndex, setEditingIndex] = useState(-1) + const [titleError, setTitleError] = useState('') + const [descriptionError, setDescriptionError] = useState('') + + const openModal = () => { + setIsModalOpen(true) + } + + const closeModal = () => { + setIsModalOpen(false) + setTitle('') + setDescription('') + setEditingIndex(-1) + setTitleError('') + setDescriptionError('') + } + + const handleClear = () => { + setTitle('') + setDescription('') + setTitleError('') + setDescriptionError('') + } + + const handleSave = () => { + let hasError = false + + if (!title.trim()) { + setTitleError('Title is required') + hasError = true + } else { + setTitleError('') + } + + if (!description.trim()) { + setDescriptionError('Description is required') + hasError = true + } else { + setDescriptionError('') + } + + if (hasError) { + message.error('Please fix the highlighted fields') + return + } + + const newBanner = { + id: editingIndex >= 0 ? bannerData[editingIndex].id : Date.now(), + title: title.trim(), + description: description.trim(), + active: true, + createdAt: editingIndex >= 0 ? bannerData[editingIndex].createdAt : new Date().toLocaleDateString() + } + + if (editingIndex >= 0) { + const updatedBanners = bannerData.map((banner, index) => index === editingIndex ? newBanner : banner) + updateSectionData('BannerSectionForm', updatedBanners) + setEditingIndex(-1) + message.success('Banner updated!') + } else { + updateSectionData('BannerSectionForm', [...bannerData, newBanner]) + message.success('Banner added!') + } + + closeModal() + } + + + + const handleDelete = (index) => { + const updatedBanners = bannerData.filter((_, i) => i !== index) + updateSectionData('BannerSectionForm', updatedBanners) + message.success('Banner deleted') + } + + const handleEdit = (index) => { + const banner = bannerData[index] + setTitle(banner.title) + setDescription(banner.description) + setEditingIndex(index) + openModal() + } + + const handleToggleActive = (index) => { + const updated = [...bannerData] + updated[index].active = !updated[index].active + updateSectionData('BannerSectionForm', updated) + message.success('Status updated') + } + + return ( +
+ {/* Header Section */} +
+
+ {/*
+ 🏷️ +
*/} +
+

Banner Management

+

Manage and organize your banner content and settings.

+
+
+ +
+ + {/* Tab Navigation */} +
+
+ + +
+
+
+ +
+
+ + +
+
+
+ + {/* Content Area */} + {bannerData.length > 0 ? ( +
+
+ {bannerData.map((banner, index) => ( +
+
+

{banner.title}

+
+ + handleDelete(index)} + okText="Yes" + cancelText="No" + > + + + +
+
+
+

Description: {banner.description || 'No description'}

+

Created: {banner.date || banner.createdAt}

+

+ Status: {banner.active ? 'Active' : 'Inactive'} +

+
+
+ ))} +
+
+ ) : ( +
+
+ 🏷️ +
+

No Banners Found

+

Get started by creating your first banner

+
+ )} + + {/* Modal */} + = 0 ? 'Edit Banner' : 'Create New Banner'} + handleCancel={closeModal} + handleSubmit={handleSave} + buttonText={editingIndex >= 0 ? 'Update Banner' : 'Add Banner'} + width={700} + destroyOnClose={true} + > +
+
+ + { + setTitle(e.target.value) + if (titleError) setTitleError('') + }} + placeholder='Enter banner title' + className={titleError ? 'error' : ''} + autoFocus + /> + {titleError && {titleError}} +
+ +
+ + +
+ + + +
+ ) : ( +
+

Book Your Demo Instantly

+

Choose your preferred time slot and book directly

+ +
+ {/* + MARKETING TEAM: Replace this URL with your actual Calendly link + Example: https://calendly.com/your-username/demo-session + */} + +
+
+ )} +
+ +
+

Preferred Time Slots

+

Select your preferred time for the demo call

+ +
+ {timeSlots.map((slot) => ( +
slot.available && setSelectedTimeSlot(slot.id)} + > + {slot.time} + {!slot.available && Booked} +
+ ))} +
+ +
+

Or Contact Us Directly

+
+ + +91 7324000011 +
+
+ + support@pozo.app +
+
+ + Mon-Fri, 10 AM - 6 PM +
+
+
+ + + +
+
+

What to Expect in Your Demo

+
    +
  • ✅ Complete product walkthrough
  • +
  • ✅ Customized solutions for your business
  • +
  • ✅ Pricing and implementation discussion
  • +
  • ✅ Q&A session with our experts
  • +
+
+
+ + + ); +}; + +export default ScheduleDemo; \ No newline at end of file diff --git a/src/Pages/ScheduleDemo/ScheduleDemo.scss b/src/Pages/ScheduleDemo/ScheduleDemo.scss new file mode 100644 index 0000000..4a841d8 --- /dev/null +++ b/src/Pages/ScheduleDemo/ScheduleDemo.scss @@ -0,0 +1,353 @@ + + +// Schedule Demo Page Styles +.ScheduleDemo-Page { + min-height: 100vh; + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + + .ScheduleHero { + padding: 120px 20px 80px; + text-align: center; + color: white; + + .ScheduleHeroContent { + max-width: 800px; + margin: 0 auto; + + h1 { + font-size: 48px; + font-weight: 700; + margin-bottom: 20px; + line-height: 1.2; + + @media (max-width: 768px) { + font-size: 36px; + } + } + + p { + font-size: 20px; + opacity: 0.9; + line-height: 1.6; + + @media (max-width: 768px) { + font-size: 18px; + } + } + } + } + + .ScheduleFeatures { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 30px; + padding: 60px 20px; + max-width: 1200px; + margin: 0 auto; + + .ScheduleFeatureCard { + background: white; + padding: 30px; + border-radius: 16px; + text-align: center; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); + transition: transform 0.3s ease; + + &:hover { + transform: translateY(-5px); + } + + .FeatureIcon { + width: 60px; + height: 60px; + background: linear-gradient(135deg, #667eea, #764ba2); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + margin: 0 auto 20px; + color: white; + font-size: 24px; + } + + h3 { + font-size: 20px; + font-weight: 600; + margin-bottom: 12px; + color: #1f2937; + } + + p { + color: #6b7280; + line-height: 1.6; + } + } + } + + .ScheduleForm { + background: white; + padding: 80px 20px; + + .ScheduleFormContainer { + max-width: 1200px; + margin: 0 auto; + display: grid; + grid-template-columns: 1fr 400px; + gap: 60px; + align-items: start; + + @media (max-width: 968px) { + grid-template-columns: 1fr; + gap: 40px; + } + + .ScheduleFormLeft { + .ScheduleTabs { + display: flex; + gap: 8px; + margin-bottom: 32px; + border-bottom: 2px solid #f3f4f6; + + .TabBtn { + padding: 12px 24px; + border: none; + background: transparent; + font-size: 16px; + font-weight: 500; + cursor: pointer; + border-radius: 8px 8px 0 0; + transition: all 0.2s; + color: #6b7280; + + &.active { + background: linear-gradient(135deg, #667eea, #764ba2); + color: white; + transform: translateY(2px); + } + + &:hover:not(.active) { + background: #f3f4f6; + color: #374151; + } + } + } + + .FormContent, .CalendlyContent { + h2 { + font-size: 32px; + font-weight: 700; + color: #1f2937; + margin-bottom: 12px; + } + + p { + font-size: 16px; + color: #6b7280; + margin-bottom: 40px; + line-height: 1.6; + } + } + + .CalendlyWidget { + border-radius: 12px; + overflow: hidden; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); + + iframe { + border-radius: 12px; + } + } + + .FormContent .FormGroup { + margin-bottom: 24px; + + label { + display: block; + font-weight: 600; + color: #374151; + margin-bottom: 8px; + font-size: 14px; + } + + input, select, textarea { + width: 100%; + padding: 12px 16px; + border: 2px solid #e5e7eb; + border-radius: 8px; + font-size: 16px; + transition: border-color 0.2s; + font-family: inherit; + + &:focus { + outline: none; + border-color: #667eea; + box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); + } + + &::placeholder { + color: #9ca3af; + } + } + + textarea { + resize: vertical; + min-height: 100px; + } + } + + .SubmitBtn { + background: linear-gradient(135deg, #667eea, #764ba2); + color: white; + border: none; + padding: 16px 32px; + border-radius: 8px; + font-size: 16px; + font-weight: 600; + cursor: pointer; + display: flex; + align-items: center; + gap: 8px; + transition: transform 0.2s, box-shadow 0.2s; + + &:hover { + transform: translateY(-2px); + box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3); + } + + svg { + font-size: 14px; + } + } + } + + .ScheduleFormRight { + background: #f9fafb; + padding: 32px; + border-radius: 16px; + height: fit-content; + position: sticky; + top: 20px; + + h3 { + font-size: 20px; + font-weight: 700; + color: #1f2937; + margin-bottom: 8px; + } + + p { + color: #6b7280; + margin-bottom: 24px; + font-size: 14px; + } + + .TimeSlots { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 12px; + margin-bottom: 32px; + + .TimeSlot { + padding: 12px; + border: 2px solid #e5e7eb; + border-radius: 8px; + text-align: center; + cursor: pointer; + transition: all 0.2s; + font-weight: 500; + position: relative; + + &:hover:not(.unavailable) { + border-color: #667eea; + background: #f0f4ff; + } + + &.selected { + border-color: #667eea; + background: #667eea; + color: white; + } + + &.unavailable { + background: #f3f4f6; + color: #9ca3af; + cursor: not-allowed; + + .unavailable-text { + font-size: 10px; + position: absolute; + top: 2px; + right: 4px; + color: #ef4444; + } + } + } + } + + .ContactInfo { + h4 { + font-size: 16px; + font-weight: 600; + color: #1f2937; + margin-bottom: 16px; + } + + .ContactItem { + display: flex; + align-items: center; + gap: 12px; + margin-bottom: 12px; + font-size: 14px; + color: #374151; + + svg { + color: #667eea; + font-size: 16px; + } + } + } + } + } + } + + .ScheduleFooter { + background: #f9fafb; + padding: 80px 20px; + + .ScheduleFooterContent { + max-width: 800px; + margin: 0 auto; + text-align: center; + + h3 { + font-size: 28px; + font-weight: 700; + color: #1f2937; + margin-bottom: 30px; + } + + ul { + list-style: none; + padding: 0; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 20px; + + li { + background: white; + padding: 20px; + border-radius: 12px; + font-size: 16px; + color: #374151; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); + transition: transform 0.2s ease; + + &:hover { + transform: translateY(-2px); + } + } + } + } + } +} + diff --git a/src/Pages/ScheduleDemo/ScheduleDemoCalendly.jsx b/src/Pages/ScheduleDemo/ScheduleDemoCalendly.jsx new file mode 100644 index 0000000..d99a445 --- /dev/null +++ b/src/Pages/ScheduleDemo/ScheduleDemoCalendly.jsx @@ -0,0 +1,124 @@ +import React, { useEffect, useState } from "react"; +import "./ScheduleDemo.scss"; +import { FaCalendarAlt, FaClock, FaUser } from "react-icons/fa"; +import Navbar from "../../PozoApp/Components/Navbar"; +import SEO from "../../Components/SEO/SEO"; + +const ScheduleDemoCalendly = () => { + const [isScrolled, setIsScrolled] = useState(false); + + useEffect(() => { + // Load Calendly widget script + const script = document.createElement('script'); + script.src = 'https://assets.calendly.com/assets/external/widget.js'; + script.async = true; + document.body.appendChild(script); + + return () => { + document.body.removeChild(script); + }; + }, []); + + const demoFeatures = [ + { + icon: , + title: "Instant Booking", + desc: "Book your demo slot instantly with real-time availability" + }, + { + icon: , + title: "30-minute Session", + desc: "Quick and comprehensive product walkthrough" + }, + { + icon: , + title: "Expert Demo", + desc: "One-on-one session with our product specialist" + } + ]; + + return ( + <> + + +
+ + +
+
+

Schedule Your Free Demo

+

Book instantly with real-time availability. See POZO in action and discover how our POS solution can transform your business.

+
+
+ +
+ {demoFeatures.map((feature, index) => ( +
+
{feature.icon}
+

{feature.title}

+

{feature.desc}

+
+ ))} +
+ +
+
+

Choose Your Preferred Time

+

Select a time that works best for you. All times are shown in your local timezone.

+ + {/* Calendly inline widget */} +
+
+
+ +
+
+

What to Expect in Your Demo

+
+
+ +
+

Complete Product Walkthrough

+

See all features and capabilities of POZO POS

+
+
+
+ +
+

Customized for Your Business

+

Solutions tailored to your specific industry needs

+
+
+
+ +
+

Pricing Discussion

+

Transparent pricing and implementation timeline

+
+
+
+ +
+

Q&A Session

+

Get all your questions answered by our experts

+
+
+
+
+
+
+ + ); +}; + +export default ScheduleDemoCalendly; \ No newline at end of file diff --git a/src/Pages/SiteVisiteLog/VisitTrackingLog.jsx b/src/Pages/SiteVisiteLog/VisitTrackingLog.jsx new file mode 100644 index 0000000..70bbfa4 --- /dev/null +++ b/src/Pages/SiteVisiteLog/VisitTrackingLog.jsx @@ -0,0 +1,382 @@ + +import React, { useState, useEffect, useCallback, useRef } from "react"; +import { useDispatch } from "react-redux"; +import { DatePicker, Form, Space } from "antd"; +import dayjs from "dayjs"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { Messages } from "../../Components/Notifications/Messages"; +import { Tables } from "../../Components/Tables/Table"; +import { Search } from "../../Components/Forms/Search"; +import { DropDowns } from "../../Components/Forms/DropDown.jsx"; +import { changeBreadCrumb } from "../../features/appPage/centerPage"; +import { getOnlineUserTracking, getSigninDetails, getSigninDetailswithUserId } from "../../features/signinDetails/signinDetails"; +import { dateFormatChange } from "../../Services/others.js"; +import { DefaultModal } from "../../Components/Modal/DefaultModal.jsx"; +import { FaEye } from "react-icons/fa"; +import { IoEye } from "react-icons/io5"; + + +const subDirectory = import.meta.env.BASE_URL; + +const VisitTrackingLog = () => { + + const dispatch = useDispatch(); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [TableData, setTableData] = useState([]); + const [page, setpage] = useState(1); + const [pageModel, setpageModel] = useState(1); + const [filteredInfo, setFilteredInfo] = useState({}); + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [PageApi, setPageApi] = useState(1); + const [isNext, setIsNext] = useState(true); + const [ismodelopen, setismodelopen] = useState(false); + const [modalData, setModalData] = useState(null); + + console.log(TableData,"TableDataljrer") + + + let content = [ + { value: "All", label: "All" }, + { value: "Admin", label: "Admin" }, + { value: "Employee", label: "Employee" }, + { value: "Super Admin", label: "Super Admin" }, + { value: "Super Admin User", label: "Super Admin User" }, + ]; + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + ]; + + const columns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "User Name", + dataIndex: "UserName", + key: "UserName", + align: "center", + render: (_, record, index) => ( + {record?.UserName?record?.UserName:record?.MobileNo} + ), + }, + { + title: "Application", + dataIndex: "AppName", + key: "AppName", + align: "center", + width: "200px", + render: (text) => ( + + {text} + + ), + }, + { + title: "Pricing Name", + dataIndex: "PricingName", + key: "PricingName", + align: "center", + width: "200px", + render: (text) => ( + + {text} + + ), + }, + { + title: "Plan Type", + dataIndex: "PlanType", + key: "PlanType", + align: "center", + width: "200px", + render: (text) => ( + + {text} + + ), + }, + { + title: "MobileNo", + dataIndex: "MobileNo", + key: "MobileNo", + align: "center", + render: (text) => {text}, + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.UserName).toLowerCase().includes(value.toLowerCase()) || + String(record.MobileNo) + .toLowerCase() + .includes(value.toLowerCase()) + ); + } + }, + + { + title: "Details", + key: "Edit", + dataIndex: "Edit", + align: "center", + render: (_, record, index) => ( + + + <> + + { + ModelFn(record) + }} + /> + + + + + + + ), + }, + ]; + + + const columns1 = [ + { + title: "SI.NO", + key: "sno", + align: "center", + render: (text, object, index) => ( + {(pageModel - 1) * 10 + index + 1} + ), + }, + + { + title: "Date & Time", + dataIndex: "VisitTime", + key: "VisitTime", + align: "center", + width: "200px", + render: (text) => ( + + {" "} + {dayjs(text).format("DD-MM-YYYY HH:mm:ss")} + + ), + }, + { + title: "Location", + dataIndex: "Location", + key: "Location", + align: "center", + render: (text) => {text}, + }, + + + + + ]; + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + fetchSigninDetails(PageApi); + }, []); + + let ModelFn = async (record) => { + setModalData(record?.LocationVistDtl) + setismodelopen(true); + } + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + const onSearch = (value) => { + setSearchedText(value); + }; + + const onSearchChange = (e) => { + setSearchedText(e?.target?.value); + }; + + const handleChange = (pagination, filters, sorter) => { + setFilteredInfo(filters); + setSortedInfo(sorter); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + const handlePageChangeModel = (current) => { + setpageModel(current); + } + + const fetchSigninDetails = async (PageApii, role = null) => { + setIsNext(false) + let data = { + pageNumber: PageApii, + role: role, + }; + let apiResponse = await dispatch(getOnlineUserTracking(data)).unwrap(); + if (apiResponse?.data?.statusCode == 1) { + setTableData(apiResponse?.data?.data); + setIsNext(true); + } + else { + setIsNext(false); + setTableData([]); + } + }; + + + + + const Apicall = (second) => { + fetchSigninDetails(PageApi + second); + setPageApi((prev) => prev + second); + }; + + return ( +
+
+ + +
+
+ +
+
+
+ +
+ {/*
+
+ + ({ + value: option.value, + label: option.label, + }))} + placeholder="Select Roles" + label="Select Roles" + className="field-DropDown" + isOnchanges={selectedRole ? true : false} + onChangeFunction={(e) => onChange(e)} + valueData={selectedRole} + disabled={false} + labelChange={true} + /> +
+
*/} +
+
+ +
+ +
+ +
+
+ + {PageApi > 1 && ( +
Apicall(-1)} + > + Previous +
+ )} +
+ + {isNext &&
Apicall(1)} + > + Next +
} +
+ +
+
+
+ + { setismodelopen(!ismodelopen), setpageModel(1) }} + children={ + +
+ + + {/*
+ + +
*/} + + +
+ + + +
+
+ + + } + /> +
+ ); +}; + +export default VisitTrackingLog + + + + + + + diff --git a/src/Pages/SmsAssignDetail/SmsAssignedDetailForm.jsx b/src/Pages/SmsAssignDetail/SmsAssignedDetailForm.jsx new file mode 100644 index 0000000..ae6daf9 --- /dev/null +++ b/src/Pages/SmsAssignDetail/SmsAssignedDetailForm.jsx @@ -0,0 +1,420 @@ +import { useState, useEffect, useCallback } from "react"; +import { useDispatch } from "react-redux"; +import { InputField } from "../../Components/Forms/InputField.jsx"; +import { Form } from "antd"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { Messages } from "../../Components/Notifications/Messages"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { ArrowRightOutlined, } from "@ant-design/icons"; +import React from "react"; +import { getCurrency } from "../../features/currencyPage/currencyPage.js"; +import { getSession } from "../../Services/others"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { getActiveApplicationData } from "../../features/applicationPage/applicationPage.js"; +import { DropDowns } from "../../Components/Forms/DropDown.jsx"; +import { getConfigNames } from "../../features/ActivationKeyGeneration/ActivationkeyGeneration.js"; +import { getCompanyDataUsingAppId } from "../../features/companyPage/companyPage.js"; +import { getBranchDataUsingCompId } from "../../features/branchPage/branchPage.js"; +import { postSMSCount, putSMSCount } from "../../features/SmsCountAssigned/smsCountassign.js"; +import { useLocation, useNavigate } from "react-router-dom"; +import "../../styles/OverAllStyle/OverAllStyle.scss" + + + +const subDirectory = import.meta.env.BASE_URL; + +const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + { + name: "SMS-Assigned-Detail", + link: `${subDirectory}setting/sms-assigned-detail`, + + }, + +]; + +const SmsAssignedDetailForm = ({ formType }) => { + const navigateTo = useNavigate(); + const location = useLocation(); + const [form] = Form.useForm(); + const dispatch = useDispatch(); + const state = location?.state; + const editstate = state?.editstate; + const [SelectedType, setSelectedType] = useState(); + const [SelectedCompany, setSelectedCompany] = useState(); + const [SelectedBranch, setSelectedBranch] = useState(); + + const [SelectedApp, setSelectedApp] = useState(null); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [AppNames, setAppNames] = useState([]); + const [MessagesType, setMessagesType] = useState([]); + const [CompanyNames, setCompanyNames] = useState([]); + const [BranchNames, setBranchNames] = useState([]); + + const [UserId, setUserId] = useState( + getSession("UserId") ? getSession("UserId") : null + ); + + + + + useEffect(() => { + try { + dispatch(changeBreadCrumb({ items: items })); + dispatch(getCurrency()).unwrap(); + getApplication() + + if (formType == "edit") { + + + setSelectedApp(editstate?.AppId); + setSelectedType(editstate?.ServiceType) + setSelectedCompany(editstate?.CompId) + getCompanyDatas(editstate?.AppId) + handleDropDownChange(editstate?.CompId, editstate?.AppId) + setSelectedBranch(editstate?.BranchId) + form.setFieldsValue({ BrId: editstate?.BranchId }) + form.setFieldsValue({ AppId: editstate?.AppId }) + form.setFieldsValue({ CompId: editstate?.CompId }); + form.setFieldsValue({ Type: editstate?.ServiceType }); + form.setFieldsValue({ Count: editstate?.AssignedCount }) + + + + + + } + + } catch (err) { + console.log(err, "err"); + } + }, []); + + + const handleSubmit = async () => { + + if (formType == "add") { + let Post = + { + "BranchId": SelectedBranch, + "CompId": SelectedCompany, + "AppId": SelectedApp, + "AssignedCount": form.getFieldValue("Count"), + "ServiceType": SelectedType, + "CreatedBy": UserId + } + let res = await dispatch(postSMSCount(Post)).unwrap(); + if (res?.data?.statusCode == 1) { + setMessageType("success"); + setMessageData("SMS Assigned Successfully"); + form.resetFields(['BrId', 'CompId', 'AppId', 'Count', 'Type']); + setSelectedApp(null) + setSelectedBranch(null) + setSelectedCompany(null) + setSelectedType(null) + navigateTo(`${subDirectory}setting/sms-assigned-detail`, { + state: { + Notiffy: { + messageType: "success", + messageData: res?.data?.response, + }, + }, + } + + ) + + + } + + } + else { + + let put = + { + "UniqueId": editstate?.UniqueId, + "BranchId": SelectedBranch, + "CompId": SelectedCompany, + "AppId": SelectedApp, + "AssignedCount": form.getFieldValue("Count"), + "ServiceType": SelectedType, + "UpdatedBy": UserId + } + let res = await dispatch(putSMSCount(put)).unwrap(); + if (res?.data?.statusCode == 1) { + setMessageType("success"); + setMessageData(res?.data?.response); + form.resetFields(['BrId', 'CompId', 'AppId', 'Count', 'Type']); + setSelectedApp(null) + setSelectedBranch(null) + setSelectedCompany(null) + setSelectedType(null) + navigateTo(`${subDirectory}setting/sms-assigned-detail`, { + state: { + Notiffy: { + messageType: "success", + messageData: res?.data?.response, + }, + }, + } + + ) + + + } + + } + + + + + + }; + + async function getApplication() { + try { + let res = await dispatch(getActiveApplicationData()).unwrap() + let Response = await dispatch(getConfigNames({ TypeName: "SMS Type" })).unwrap() + + if (res?.data?.statusCode == 1) { + setAppNames(res?.data?.data) + } + if (Response?.data?.statusCode == 1) { + setMessagesType(Response?.data?.data) + } + } + catch (err) { + console.log(err) + } + + } + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + + + + + + + + const getCompanyDatas = async (AppId) => { + try { + let res = await dispatch(getCompanyDataUsingAppId(AppId)).unwrap() + if (res?.data?.statusCode == 1) { + setCompanyNames(res?.data?.data) + } + } + catch (err) { + console.log(err) + } + + + + } + const AppDropDown = async (value) => { + form.setFieldsValue({ AppId: value }) + setSelectedApp(value); + setSelectedBranch(null) + setSelectedCompany(null) + setBranchNames([]) + setCompanyNames([]) + form.resetFields(['BrId', 'CompId']) + getCompanyDatas(value) + + + // form.current?.setFieldsValue({ AppId: value }) + } + + const handleDropDownChange = async (value, AppId = SelectedApp) => { + console.log(value, AppId, "value,AppId") + form.setFieldsValue({ CompId: value }); + setSelectedCompany(value); + setSelectedBranch(null) + setBranchNames([]) + form.resetFields(['BrId']) + let response = await dispatch( + getBranchDataUsingCompId({ + AppId: AppId, + CompId: value, + }) + ).unwrap(); + if (response?.data?.statusCode === 1) { + setBranchNames(response?.data?.data); + } + + }; + const handleDropDownCompanyChange = (value) => { + form.setFieldsValue({ BrId: value }) + setSelectedBranch(value); + + } + + const handleDropDownTypeChange = (value) => { + form.setFieldsValue({ Type: value }) + setSelectedType(value); + + } + + const handleCountChange = (value) => { + form.setFieldsValue({ Count: value }) + + + } + + + + return ( +
+
+
+ +
+
+ +
+ +
+ +
+ + + ({ + value: option.AppId, + label: option.AppName, + }))} + placeholder="Application" + label={} + className="field-DropDown" + isOnchanges={SelectedApp ? true : false} + onChangeFunction={AppDropDown} + valueData={SelectedApp} + disabled={formType == "edit" ? true : false} + + /> + + + + ({ + value: option.CompId, + label: option.CompName, + }))} + placeholder="Company" + label={} + className="field-DropDown" + isOnchanges={SelectedCompany ? true : false} + onChangeFunction={handleDropDownChange} + valueData={SelectedCompany} + disabled={formType == "edit" ? true : false} + /> + + + ({ + value: option.BrId, + label: option.BrName, + }))} + placeholder="Branch" + label={} + className="field-DropDown" + isOnchanges={SelectedBranch ? true : false} + onChangeFunction={handleDropDownCompanyChange} + valueData={SelectedBranch} + disabled={formType == "edit" ? true : false} + + /> + + + ({ + value: option.ConfigId, + label: option.ConfigName, + }))} + placeholder="Type" + label={} + className="field-DropDown" + isOnchanges={SelectedType ? true : false} + onChangeFunction={handleDropDownTypeChange} + valueData={SelectedType} + disabled={formType == "edit" ? true : false} + + /> + + + Count} + onChange={(e) => handleCountChange(e?.target.value)} + className="Input" + fieldState={editstate ? true : false} + autocomplete="off" + isOnChange={editstate ? true : false} + /> + + +
+
+
+ } + htmlType={true} + + /> +
+ +
+
+
+ +
+ +
+
+ ); +}; + +export default SmsAssignedDetailForm; diff --git a/src/Pages/SmsAssignDetail/SmsAssignedDetailList.jsx b/src/Pages/SmsAssignDetail/SmsAssignedDetailList.jsx new file mode 100644 index 0000000..292ed5f --- /dev/null +++ b/src/Pages/SmsAssignDetail/SmsAssignedDetailList.jsx @@ -0,0 +1,429 @@ +import { useState, useEffect, useCallback } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import { InputField } from "../../Components/Forms/InputField.jsx"; +import { Form } from "antd"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { Messages } from "../../Components/Notifications/Messages"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { Col, Row } from "antd"; +import { + EditFilled, PlusOutlined, + +} from "@ant-design/icons"; +import { DefaultModal } from "../../Components/Modal/DefaultModal"; +import React from "react"; +import { Tables } from "../../Components/Tables/Table"; +import { Space } from "antd"; +import Search from "../../Components/Forms/Search.jsx"; +import { + currencyDataSelector, + getCurrency, + deleteCurrency, + +} from "../../features/currencyPage/currencyPage.js"; +import { getSession } from "../../Services/others"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; +import { getActiveApplicationData } from "../../features/applicationPage/applicationPage.js"; +import { DropDowns } from "../../Components/Forms/DropDown.jsx"; +import { getConfigNames } from "../../features/ActivationKeyGeneration/ActivationkeyGeneration.js"; +import { getCompanyDataUsingAppId } from "../../features/companyPage/companyPage.js"; +import { getBranchDataUsingCompId } from "../../features/branchPage/branchPage.js"; +import { getSMSCount, postSMSCount } from "../../features/SmsCountAssigned/smsCountassign.js"; +import { useLocation, useNavigate } from "react-router-dom"; + + + +const subDirectory = import.meta.env.BASE_URL; + +const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + + }, + { + name: "SMS-Assigned-Detail", + link: `${subDirectory}setting/sms-assigned-detail`, + + }, + + +]; + +const SmsAssignedDetailList = () => { + + const navigateTo = useNavigate(); + const dispatch = useDispatch(); + const location = useLocation(); + + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [page, setpage] = useState(1); + // State for second modal + const [showSecondModal, setShowSecondModal] = useState(false); + const [SecondModalRecord, setSecondModalRecord] = useState([]); + const CommonData = useSelector(currencyDataSelector); + const [SmCountData, setSmCountData] = useState([]); + + + + + useEffect(() => { + try { + dispatch(changeBreadCrumb({ items: items })); + dispatch(getCurrency()).unwrap(); + getSmsAssignedCount() + if (location?.state?.Notiffy) { + setMessageType(location?.state?.Notiffy.messageType) + setMessageData(location?.state?.Notiffy.messageData) + + } + + } catch (err) { + console.log(err, "err"); + } + }, []); + + + + const columns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + + { + title: "Branch Name", + dataIndex: "BranchName", + key: "BranchName", + width: "100px", + align: "left", + + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.BranchName).toLowerCase().includes(value.toLowerCase())) + + }, + sorter: (a, b) => a?.CurrName?.localeCompare(b.CurrName), + sortOrder: sortedInfo.columnKey === "CurrName" ? sortedInfo.order : null, + ellipsis: true, + }, + + { + title: "Assigned Count", + dataIndex: "TotalCount", + key: "TotalCount", + align: "right", + width: "100px", + render: (_, record) => ( + { + setSecondModalRecord(record?.SMSDetails); + setShowSecondModal(true); + }} + onMouseOver={e => (e.currentTarget.style.color = "#40a9ff")} + onMouseOut={e => (e.currentTarget.style.color = "#1890ff")} + > + {record?.TotalCount} + + ), + // sorter: (a, b) => a?.TotalCount?.localeCompare(b.TotalCount), + // sortOrder: + // sortedInfo.columnKey === "TotalCount" ? sortedInfo.order : null, + // ellipsis: true, + }, + { + title: "Used Count", + dataIndex: "UsedCount", + key: "UsedCount", + align: "right", + width: "100px", + render: (text) => {"0"}, + // sorter: (a, b) => a?.ConvRate - b?.ConvRate, + // sortOrder: sortedInfo.columnKey === "ConvRate" ? sortedInfo.order : null, + // ellipsis: true, + }, + { + title: "Balance Count", + dataIndex: "UsedCount", + key: "UsedCount", + align: "right", + width: "100px", + render: (text) => {"0"} + // sorter: (a, b) => a?.ConvRate - b?.ConvRate, + // sortOrder: sortedInfo.columnKey === "ConvRate" ? sortedInfo.order : null, + // ellipsis: true, + } + ]; + const Insidecolumns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + + { + title: "Branch Name", + dataIndex: "BranchName", + key: "BranchName", + width: "100px", + align: "left", + + filteredValue: [searchedText], + // onFilter: (value, record) => { + // return ( + // String(record.BranchName).toLowerCase().includes(value.toLowerCase())) + + // }, + // sorter: (a, b) => a?.CurrName?.localeCompare(b.CurrName), + // sortOrder: sortedInfo.columnKey === "CurrName" ? sortedInfo.order : null, + // ellipsis: true, + }, + + { + title: "Assigned Count", + dataIndex: "AssignedCount", + key: "AssignedCount", + align: "left", + width: "100px", + render: (_, record, row) => + {record?.AssignedCount}, + // sorter: (a, b) => a?.TotalCount?.localeCompare(b.TotalCount), + // sortOrder: + // sortedInfo.columnKey === "TotalCount" ? sortedInfo.order : null, + // ellipsis: true, + }, + { + title: "Used Count", + dataIndex: "ConvRate", + key: "ConvRate", + align: "right", + width: "100px", + render: (text) => {text}, + // sorter: (a, b) => a?.ConvRate - b?.ConvRate, + // sortOrder: sortedInfo.columnKey === "ConvRate" ? sortedInfo.order : null, + // ellipsis: true, + }, + { + title: "Assigned Date", + dataIndex: "CreatedDate", + key: "CreatedDate", + align: "right", + width: "100px", + render: (text) => {extractDate(text)}, + + }, + // { + // title: "Balance Count", + // dataIndex: "ConvRate", + // key: "ConvRate", + // align: "right", + // width: "100px", + // render: (text) => + // { + // setSecondModalRecord(record?.SMSDetails); + // setShowSecondModal(true); + // }} + // > + // {text} + // , + // sorter: (a, b) => a?.ConvRate - b?.ConvRate, + // sortOrder: sortedInfo.columnKey === "ConvRate" ? sortedInfo.order : null, + // ellipsis: true, + // }, + // { + // title: "Type", + // dataIndex: "ConvRate", + // key: "ConvRate", + // align: "right", + // width: "100px", + // render: (text) => {text}, + // sorter: (a, b) => a?.ConvRate - b?.ConvRate, + // sortOrder: sortedInfo.columnKey === "ConvRate" ? sortedInfo.order : null, + // ellipsis: true, + // }, + + { + title: "Action", + key: "Action", + dataIndex: "Action", + width: "100px", + align: "center", + render: (_, record, index) => + CommonData.length >= 1 ? ( + + + + ( + NavigatoToForm(record, index) + )} + /> + + + + + + ) : null, + }, + ]; + + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + const handlePageChange = (current) => { + setpage(current); + }; + + + const getSmsAssignedCount = async () => { + try { + let res = await dispatch(getSMSCount()).unwrap() + + if (res?.data?.statusCode == 1) { + setSmCountData(res?.data?.data) + } + } + catch (err) { + console.log(err) + } + } + + + + + + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + + + + + const onSearch = (value) => { + setSearchedText(value); + }; + const onSearchChange = (e) => { + setSearchedText(e?.target?.value); + }; + + const handleNavigate = () => { + navigateTo(`${subDirectory}setting/sms-assigned-detail/new`) + } + + + + const NavigatoToForm = (record, rowIndex) => { + console.log(record, "recordrecord") + navigateTo(`${subDirectory}setting/sms-assigned-detail/update`, + { state: { editstate: record } }, + { key: rowIndex } + + ) + } + function extractDate(value) { + console.log(value, 'value') + let ModifiedDate = value.split("T")?.[0]?.split("-").reverse().join("-") + return ModifiedDate + + + } + + + + return ( +
+
+ +
+
+ +
+
+
+ +
+ } + + > + OPEN + +
+
+
+ {" "} +
+
+ + +
+ {" "} +
+
+ + } + handleCancel={() => { setShowSecondModal(false) }} + // handleSubmit={handleSubmit} + /> + + ); +}; + +export default SmsAssignedDetailList; diff --git a/src/Pages/SuperAdminUser/SuperAdminUserForm.jsx b/src/Pages/SuperAdminUser/SuperAdminUserForm.jsx new file mode 100644 index 0000000..4df6d27 --- /dev/null +++ b/src/Pages/SuperAdminUser/SuperAdminUserForm.jsx @@ -0,0 +1,584 @@ +import { useState, useEffect, useRef } from "react"; +import { useDispatch } from "react-redux"; +import { useNavigate, useLocation } from "react-router-dom"; +import { Checkbox, Form } from "antd"; +import { ArrowRightOutlined } from "@ant-design/icons"; +import { DropDowns } from "../../Components/Forms/DropDown.jsx"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { Messages } from "../../Components/Notifications/Messages"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { getSession } from "../../Services/others.js"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { Tables } from "../../Components/Tables/Table"; +import { getMasterData } from "../../features/applicationPage/applicationPage.js"; +import "./adminuser.scss" +import { + getSadminUser, + postSuperAdminUserAccess, + putSuperAdminUserAccessData + +} from "../../features/superAdminAccess/superAdminAccess.js"; +import Search from "../../Components/Forms/Search.jsx"; + + +const subDirectory = import.meta.env.BASE_URL; + +const SuperAdminUserAccessForm = ({ formType }) => { + const formRef = useRef(null); + const dispatch = useDispatch(); + const navigate = useNavigate(); + const location = useLocation(); + const state = location?.state; + const editstate = state?.editstate; + + const [sortedInfo, setSortedInfo] = useState({}); + const [page, setpage] = useState(1); + const [searchedText, setSearchedText] = useState(""); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [SelectedUserData, setSelectedUserData] = useState(); + const [selectedUserType, setSelectedUserType] = useState("Super Admin User"); + const [userDropDown, setuserDropDown] = useState([]); + const [selectedRowKeys, setSelectedRowKeys] = useState([]); + const [TableData, setTableData] = useState([]); + + + + + const items = [ + { + name: "Home", + link: `${subDirectory}app-page/home`, + }, + + { + name: "CommonMenuAccess", + link: `${subDirectory}setting/super-admin-user-menu-access`, + }, + { + name: editstate ? "Edit" : "New", + link: null, + }, + ]; + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + FetchInitialdatas(selectedUserType) + + }, [selectedUserType]) + + + + async function FetchInitialdatas(selectedUserType) { + let Response = await dispatch(getSadminUser({ UserType: selectedUserType })).unwrap(); + let MasterDatas = await dispatch(getMasterData()).unwrap(); + + if (MasterDatas?.data?.statusCode === 1) { + setTableData(MasterDatas?.data?.data?.map((item, i) => { + return { + ...item, + key: item?.ConfigId, + + } + + })); + } + if (Response?.data?.statusCode === 1) { + setuserDropDown(Response?.data?.data); + } + + if (formType === "edit" && editstate) { + formRef.current?.setFieldsValue({ SuperAdminUserId: editstate?.UserId }); + setSelectedUserData(editstate?.UserId); + setTableData(editstate?.SuperAdminUserAccessDetails); + + let FilterSelectitems = editstate?.SuperAdminUserAccessDetails?.filter( + (item) => + "Y" === item.AddAccess || + "Y" === item.UpdateAccess || + "Y" === item.DeleteAccess || + "Y" === item.ReadAccess + ); + + let tempSelectList = FilterSelectitems.map(a => a.ConfigId); + setSelectedRowKeys(tempSelectList); + + + } + } + + const onFinish = async (values) => { + + let response = {}; + if (formType === "add") { + let data = { + "UserId": values?.SuperAdminUserId, + "SuperAdminUserAccessDetails": TableData?.map((e) => { + return { + ConfigId: e?.ConfigId, + ReadAccess: e?.ReadAccess ? e?.ReadAccess : "N", + AddAccess: e?.AddAccess ? e?.AddAccess : "N", + UpdateAccess: e?.UpdateAccess ? e?.UpdateAccess : "N", + DeleteAccess: e?.DeleteAccess ? e?.DeleteAccess : "N", + } + }), + + + } + data["CreatedBy"] = getSession("UserId"); + response = await dispatch(postSuperAdminUserAccess(data)).unwrap(); + } + else if (formType === "edit") { + let data = { + "UserId": values?.SuperAdminUserId, + "SuperAdminUserAccessDetails": TableData?.map((e) => { + return { + ConfigId: e?.ConfigId, + ReadAccess: e?.ReadAccess ? e?.ReadAccess : "N", + AddAccess: e?.AddAccess ? e?.AddAccess : "N", + DeleteAccess: e?.DeleteAccess ? e?.DeleteAccess : "N", + AccessId: e?.AccessId, + UpdateAccess: e?.UpdateAccess ? e?.UpdateAccess : "N", + } + }), + + + } + if (editstate) { + data["UpdatedBy"] = getSession("UserId"); + } + response = await dispatch(putSuperAdminUserAccessData(data)).unwrap(); + + } + if (response?.data?.statusCode == 1) { + navigate(`${subDirectory}setting/super-admin-user-menu-access/`, { + state: { + Notiffy: { + messageType: "success", + messageData: response?.data?.response, + }, + }, + }); + } + else { + setMessageType("error") + setMessageData(response?.data?.response) + } + }; + + const UserDropDownChange = async (e) => { + formRef.current?.setFieldsValue({ SuperAdminUserId: e }); + setSelectedUserData(e); + }; + + const columns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "80px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "Master Name", + dataIndex: "ConfigName", + key: "ConfigName", + width: "180px", + render: (text, row) => ( + {text} + ), + filteredValue: [searchedText], + onFilter: (value, record) => { + return (String(record.ConfigName).toLowerCase().includes(value.toLowerCase()) + + ) + }, + sorter: (a, b) => a?.ConfigName?.localeCompare(b.ConfigName), + sortOrder: sortedInfo.columnKey === 'ConfigName' ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "View", + dataIndex: "ReadAccess", + key: "ReadAccess", + align: "center", + width: "100px", + render: (text, row) => ( + + { + + onChangeSingleCheck("ReadAccess", row, text === "Y" ? "N" : "Y") + } + > + } + + ), + }, + { + title: "Add", + dataIndex: "AddAccess", + key: "AddAccess", + align: "center", + width: "100px", + render: (text, row) => ( + + + onChangeSingleCheck("AddAccess", row, text === "Y" ? "N" : "Y") + } + > + + + ), + }, + { + title: "Edit", + dataIndex: "UpdateAccess", + key: "UpdateAccess", + align: "center", + width: "100px", + render: (text, row) => ( + + { + + onChangeSingleCheck( + "UpdateAccess", + row, + text === "Y" ? "N" : "Y" + ) + } + > + } + + ), + }, + { + title: "Delete", + dataIndex: "DeleteAccess", + key: "DeleteAccess", + align: "center", + width: "100px", + render: (text, row) => ( + + { + + onChangeSingleCheck( + "DeleteAccess", + row, + text === "Y" ? "N" : "Y" + ) + } + > + } + + ), + }, + ]; + + const onSelectChange = (newSelectedRowKeys) => { + var oldSelectedRowKeys = selectedRowKeys; + if (oldSelectedRowKeys?.length === 0 && newSelectedRowKeys?.length === 1) { + var updatedselectList = TableData?.map((item) => { + if (parseInt(item.ConfigId) === parseInt(newSelectedRowKeys[0])) { + return { + ...item, + key: item?.key, + ConfigId: item?.ConfigId, + ConfigName: item?.ConfigName, + AddAccess: "Y", + UpdateAccess: "Y", + ReadAccess: "Y", + DeleteAccess: "Y", + }; + } + return item; + }); + } + else if ( + oldSelectedRowKeys?.length === 0 && + newSelectedRowKeys?.length > 1 + ) { + var updatedselectList = [...TableData]?.map((item, index) => { + if (index < 10) { + return { + ...item, + key: item?.key, + ConfigId: item?.ConfigId, + ConfigName: item?.ConfigName, + AddAccess: "Y", + UpdateAccess: "Y", + ReadAccess: "Y", + DeleteAccess: "Y", + }; + } else { + return { + ...item, + + }; + } + }); + + } + else if (newSelectedRowKeys?.length === 0) { + var updatedselectList = TableData?.map((item) => { + return { + ...item, + key: item?.key, + ConfigId: item?.ConfigId, + ConfigName: item?.ConfigName, + AddAccess: "N", + UpdateAccess: "N", + ReadAccess: "N", + DeleteAccess: "N", + }; + }); + } + else if ( + oldSelectedRowKeys?.length > 0 && + newSelectedRowKeys?.length >= 1 + ) { + + if (oldSelectedRowKeys?.length < newSelectedRowKeys?.length) { + + let newVal = newSelectedRowKeys?.filter( + (id) => !oldSelectedRowKeys?.includes(id) + ); + var updatedselectList = TableData?.map((item) => { + if (newVal?.includes(item?.ConfigId)) { + return { + ...item, + key: item?.key, + ConfigId: item?.ConfigId, + ConfigName: item?.ConfigName, + AddAccess: "Y", + UpdateAccess: "Y", + ReadAccess: "Y", + DeleteAccess: "Y", + }; + } + return item; + }); + } + else if (oldSelectedRowKeys?.length > newSelectedRowKeys?.length) { + + let newVal = oldSelectedRowKeys?.filter( + (id) => !newSelectedRowKeys?.includes(id) + ); + var updatedselectList = TableData?.map((item) => { + if (newVal?.includes(item?.ConfigId)) { + return { + ...item, + key: item?.key, + ConfigId: item?.ConfigId, + ConfigName: item?.ConfigName, + AddAccess: "N", + UpdateAccess: "N", + ReadAccess: "N", + DeleteAccess: "N", + }; + } + return item; + }); + } + } + + setSelectedRowKeys(newSelectedRowKeys); + setTableData(updatedselectList); + }; + + + const rowSelection = { + selectedRowKeys, + onChange: onSelectChange, + }; + + + + + const onChangeSingleCheck = (mode, e, updateData) => { + const updatedItemList = TableData.map((item) => { + if (parseInt(item.ConfigId) === parseInt(e.ConfigId)) { + let updatedItem = { ...item, [mode]: updateData }; + + if (mode === "ReadAccess" && updateData === "N") { + updatedItem = { + ...updatedItem, + AddAccess: "N", + UpdateAccess: "N", + DeleteAccess: "N", + }; + } + + const isRowSelected = ["AddAccess", "UpdateAccess", "DeleteAccess", "ReadAccess"].some( + (key) => updatedItem[key] === "Y" + ); + + if (isRowSelected) { + if (!selectedRowKeys.includes(e.ConfigId)) { + setSelectedRowKeys([...selectedRowKeys, e.ConfigId]); + } + } else { + setSelectedRowKeys(selectedRowKeys.filter((key) => key !== e.ConfigId)); + } + + return updatedItem; + } + return item; + }); + + setTableData(updatedItemList); + }; + + + const onSearch = (value) => { + + setSearchedText(value) + } + const onSearchChange = (e) => { + setSearchedText(e?.target?.value) + } + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + + const handleUserTypeChange = (e) => { + setSelectedUserType(e) + formRef.current?.setFieldsValue({ UserType: e }); + + } + + return ( + +
+
+
+ +
+ +
+ +
+
+
+
+ + User Type} + id="UserId" + field="UserId" + fieldState={true} + fieldApi={true} + className="field-DropDown-Emp" + onChangeFunction={(e) => handleUserTypeChange(e)} + isOnchanges={formType == "edit" ? true : false} + valueData={selectedUserType} + disabled={formType == "edit" ? true : false} + /> + + + ({ + value: option.UserId, + label: option.UserName, + }))} + label={} + id="UserId" + field="UserId" + fieldState={true} + fieldApi={true} + className="field-DropDown-Emp" + onChangeFunction={(e) => UserDropDownChange(e)} + isOnchanges={formType == "edit" ? true : false} + valueData={SelectedUserData} + disabled={formType == "edit" ? true : false} + /> + + + +
+
+
+ +
+
+ } + /> +
+
+
+ {" "} + +
+
+
+
+
+ + + + ); +}; + + + +export default SuperAdminUserAccessForm; diff --git a/src/Pages/SuperAdminUser/SuperAdminUserList.jsx b/src/Pages/SuperAdminUser/SuperAdminUserList.jsx new file mode 100644 index 0000000..5a73bd5 --- /dev/null +++ b/src/Pages/SuperAdminUser/SuperAdminUserList.jsx @@ -0,0 +1,197 @@ +import { useState, useEffect, useCallback } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import { Space } from "antd"; +import { + EditFilled, + PlusOutlined, +} from "@ant-design/icons"; +import { changeBreadCrumb} from "../../features/appPage/centerPage.js"; +import { Tables } from "../../Components/Tables/Table"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { useNavigate, useLocation } from "react-router-dom"; +import Search from "../../Components/Forms/Search.jsx"; +import Buttons from "../../Components/Forms/Buttons"; +import { Messages } from "../../Components/Notifications/Messages"; +import { getSuperAllAdminUserAccess } from "../../features/superAdminAccess/superAdminAccess.js"; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; +import { getSession } from "../../Services/others.js"; + +const subDirectory = import.meta.env.BASE_URL; + + +const items = [ + { + name: "Home", + link: `${subDirectory}app-page/home`, + }, + + { + name: "CommonMenuAccess", + link: `${subDirectory}setting/super-admin-user-menu-access`, + }, +]; + +const superAdminuserAccessList = () => { + const navigate = useNavigate(); + const location = useLocation(); + const dispatch = useDispatch(); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [TableData, setTableData] = useState([]); + const [page, setpage] = useState(1); + const SuperAdminUserAccess=useSelector(SuperAdminUserAccessDataSelector) + const UserType = getSession("UserType") + + console.log(SuperAdminUserAccess,"SuperAdminUserAccess") + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + getSuperAllAdminUserAccessFunction() + if(location?.state?.Notiffy){ + setMessageType(location?.state?.Notiffy.messageType) + setMessageData(location?.state?.Notiffy.messageData) + } + }, []); + + const getSuperAllAdminUserAccessFunction = async() => { + let response= await dispatch(getSuperAllAdminUserAccess()).unwrap() + if(response?.data?.statusCode===1){ + setTableData(response?.data?.data ) + } + else{ + setTableData() + } + + } + + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + + const actionsFormatter = async (row, rowIndex) => { + if (row.ActiveStatus !== "D") { + navigate( + `${subDirectory}setting/super-admin-user-menu-access/update`, + { state: { editstate: row } }, + { key: rowIndex } + ); + } + }; + + const onSearch = (value) => { + setSearchedText(value); + }; + const onSearchChange = (e) => { + setSearchedText(e?.target?.value); + }; + + const columns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "80px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "Super Admin User Name", + dataIndex: 'UserName', + key: "UserName", + width: "180px", + align: "center", + ellipsis: true, + }, + + + { + title: "Edit", + key: "Edit", + dataIndex: "Edit", + align: "center", + width: "180px", + render: (_, record, index) => + TableData.length >= 1 ? ( + + + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Common Menu Access")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : " " + )} + /> + + + + ) : null, + }, + ]; + + + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + const handelAddButton = () => { + navigate(`${subDirectory}setting/super-admin-user-menu-access/new`); + }; + + return ( +
+
+ +
+
+ +
+
+
+ +
+ handelAddButton()} + color="901D77" + icon={} + disabled={UserType === "Super Admin" + ? false + : + SuperAdminUserAccess?.find((e)=>e?.ConfigName=="Common Menu Access")?.AddAccess === "N" ? true : false} + + + > + OPEN + +
+
+
+ {" "} +
+
+
+ ); +}; + +export default superAdminuserAccessList; diff --git a/src/Pages/SuperAdminUser/adminuser.scss b/src/Pages/SuperAdminUser/adminuser.scss new file mode 100644 index 0000000..0e8a1b6 --- /dev/null +++ b/src/Pages/SuperAdminUser/adminuser.scss @@ -0,0 +1,11 @@ +.reportTableSub{ + & .ant-checkbox .ant-checkbox-inner:after{ + background: black; + display: inline; + } +} +.reportTable-appMenu { + height: 48vh !important; + overflow: auto; + width: 80vw; +} \ No newline at end of file diff --git a/src/Pages/Template.jsx b/src/Pages/Template.jsx new file mode 100644 index 0000000..bcbca9a --- /dev/null +++ b/src/Pages/Template.jsx @@ -0,0 +1,49 @@ +// Template.jsx +import { useEffect, useState } from "react"; +import { useSearchParams, useParams } from "react-router-dom"; + +export default function Template() { + const [templateData, setTemplateData] = useState(null); // null = loading, [] = empty, data = array/object + const [searchParams] = useSearchParams(); + const { id: idFromPath } = useParams(); + + const id = idFromPath || searchParams.get("id"); + const token = searchParams.get("token"); + + useEffect(() => { + console.log("Template: id, token", { id, token }); + if (!id) { + setTemplateData([]); // or keep as null and show message + return; + } + + let cancelled = false; + + (async () => { + try { + // Example fetch, replace with your actual source + // In frontend-only mode, you might be reading from localStorage instead + // const res = await fetch(`/api/templates/${id}?token=${token || ""}`); + // const data = await res.json(); + const data = []; // placeholder + if (!cancelled) setTemplateData(data); + } catch (e) { + console.error("Template fetch failed", e); + if (!cancelled) setTemplateData([]); + } + })(); + + return () => (cancelled = true); + }, [id, token]); + + if (templateData === null) return
Loading template…
; + if (!id) return
Missing template id
; + if (Array.isArray(templateData) && templateData.length === 0) return
No template data found.
; + + return ( +
+ {/* render your templateData */} +
{JSON.stringify(templateData, null, 2)}
+
+ ); +} \ No newline at end of file diff --git a/src/Pages/WareHouse/WareHouseForm.jsx b/src/Pages/WareHouse/WareHouseForm.jsx new file mode 100644 index 0000000..d8bfa53 --- /dev/null +++ b/src/Pages/WareHouse/WareHouseForm.jsx @@ -0,0 +1,884 @@ +import { useCallback, useEffect, useRef, useState } from "react"; +import { Messages } from "../../Components/Notifications/Messages"; +import FormHeader from "../pageComponents/FormHeader"; +import { useLocation, useNavigate } from "react-router-dom"; +import { Form, Tooltip } from "antd"; +import { InputField } from "../../Components/Forms/InputField"; +import { ArrowRightOutlined } from "@ant-design/icons"; +import Buttons from "../../Components/Forms/Buttons"; +import { DropDowns } from "../../Components/Forms/DropDown"; +import { useDispatch, useSelector } from "react-redux"; +import { + BranchApplicationNamesSelector, + checkTrialBranch, + getActiveAppData, + getCompanyDataBasedOnApp, + postBranchData, + postWarehouseData, + putBranchData, +} from "../../features/branchPage/branchPage"; +import { getSession, validateSafeInput } from "../../Services/others"; +import { changeBreadCrumb } from "../../features/appPage/centerPage"; +import { FaMapMarkedAlt } from "react-icons/fa"; +import MapView from "../../Components/MapView/MapView"; +import "../../styles/Warehouse/warehouse.scss"; +import { AdminNamesSelector } from "../../features/companyPage/companyPage"; + +const subDirectory = import.meta.env.ENV_BASE_URL; + +const WarehouseForm = ({ formType }) => { + const formRef = useRef(null); + const location = useLocation(); + const state = location?.state; + const editstate = state?.editstate; + const dispatch = useDispatch(); + const navigate = useNavigate(); + const userId = getSession("UserId"); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [applicationData, setApplicationData] = useState(null); + const [selectedApplication, setSelectedApplication] = useState(null); + const [ApplicationDisabled, setApplicationDisabled] = useState(false); + const [zipCodeData, setZipCodeData] = useState(false); + const [mapDisplay, setMapDisplay] = useState(false); + const [SelectedCompany, setSelectedCompany] = useState(); + const [selectedLatitude, setSelectedLatitude] = useState(null); + const [selectedLongitude, setSelectedLongitude] = useState(null); + const [screenWidth, setScreenWidth] = useState(window.innerWidth); + const [CompanyNames, setCompanyNames] = useState([]); + const UserType = getSession("UserType"); + const UserId = getSession("UserId"); + const ApplicationNames = useSelector(BranchApplicationNamesSelector); + const AdminNames = useSelector(AdminNamesSelector); + const [SelectedAdmin, setSelectedAdmin] = useState(null); + const [FiltereApplications, setFiltereApplications] = useState([]); + console.log(FiltereApplications, "FiltereApplications"); + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "Warehouse", + link: `${subDirectory}setting/warehouse-master/`, + }, + { + name: editstate ? "Edit" : "New", + link: null, + }, + ]; + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + if (UserType == "Admin") { + getApplication(); + } else { + // getApplicationBySadmin(); + } + }, []); + + useEffect(() => { + const handleResize = () => setScreenWidth(window.innerWidth); + + window.addEventListener("resize", handleResize); + + return () => window.removeEventListener("resize", handleResize); + }, []); + + useEffect(() => { + if (editstate) { + const fetchData = async () => { + console.log(editstate, "editstate"); + + setSelectedCompany(editstate?.CompId); + setSelectedApplication(editstate?.AppId); + + // ✅ Wait until getCompany completes + + setSelectedAdmin(editstate?.UserId); + getApplicationBySadmin(editstate?.UserId); + + formRef.current?.setFieldsValue({ CompId: editstate?.CompId }); + formRef?.current?.setFieldsValue({ AppId: editstate?.AppId }); + formRef?.current?.setFieldsValue({ WarehouseName: editstate?.BrName }); + formRef?.current?.setFieldsValue({ + ContactPerson: editstate?.BrInCharge, + }); + formRef?.current?.setFieldsValue({ MobileNumber: editstate?.BrMobile }); + formRef?.current?.setFieldsValue({ Address1: editstate?.Address1 }); + formRef?.current?.setFieldsValue({ Address2: editstate?.Address2 }); + formRef?.current?.setFieldsValue({ Zip: editstate?.Zip }); + setZipCodeData(editstate?.Zip); + formRef?.current?.setFieldsValue({ City: editstate?.City }); + formRef?.current?.setFieldsValue({ Dist: editstate?.Dist }); + formRef?.current?.setFieldsValue({ State: editstate?.State }); + formRef?.current?.setFieldsValue({ Email: editstate?.BrEmail }); + }; + + fetchData(); // 👈 Call the async function + } +}, []); + + + useEffect(() => { + getCompany(selectedApplication) + }, [selectedApplication]); + + const getPincodeValues = async (pinCode) => { + let response = ""; + await fetch(`https://api.postalpincode.in/pincode/${pinCode}`) + .then((res) => res.text()) + .then((text) => (response = JSON.parse(text))); + + if (response[0]["Status"] === "Success") { + setZipCodeData(true); + formRef.current?.setFieldsValue({ + City: response[0]["PostOffice"][0]["Block"], + Dist: response[0]["PostOffice"][0]["District"], + State: response[0]["PostOffice"][0]["State"], + }); + } else { + setZipCodeData(false); + } + }; + + const getApplication = async () => { + const { data: res } = await dispatch(getActiveAppData(userId))?.unwrap(); + + setApplicationData( + res?.data?.filter((e) => + ApplicationNames?.some( + (z) => z.AppId == e?.AppId && (z?.FeatAddonDetails?.some((e)=>e?.FeatAddonName=="Warehouse" && e?.Count >0)) + ) + ) + ); + if (res?.data?.length === 1) { + setApplicationDisabled(true); + setSelectedApplication(res?.data?.[0]?.AppId); + formRef?.current?.setFieldsValue({ AppId: res?.data?.[0]?.AppId }); + } else if (res?.data?.length < 1) { + navigate(`${subDirectory}setting/warehouse-master/`); + setMessageType("error"); + setMessageData(`You don't have an active application`); + } + }; + + const getApplicationBySadmin = (value) => { + const filteredApplications = ApplicationNames?.filter( + (option) => option.UserId === value + ); + const uniqueActiveData = Array.from( + filteredApplications + ?.reduce((map, item) => { + if (item.Status === "Active") { + const key = `${item.AppId}-${item.AppName}`; + if (!map.has(key)) { + map.set(key, item); + } + } + return map; + }, new Map()) + .values() + ); + // if(formType=="edit"){ + + setFiltereApplications(uniqueActiveData); + + // } + // else{ + + // let data = uniqueActiveData.filter((e) => + // ApplicationNames?.some( + // (z) => z.AppId == e?.AppId && z?.WarehouseCount > 0 + // ) + // ) + // setFiltereApplications(data); + // } + + }; + + const handleWarehouseNameChange = (value) => { + console.log(value, "value"); + }; + + const handleContactPersonChange = (value) => { + console.log(value, "value"); + }; + + const handleApplicationChange = async (value) => { + formRef?.current?.setFieldsValue({ AppId: value }); + formRef.current.resetFields(["CompId"]); + setSelectedCompany(null); + setSelectedApplication(value); + getCompany(value); + + var TrialData = []; + + if (UserType === "Admin") { + TrialData = await dispatch( + checkTrialBranch({ UserId: userId, AppId: value, CompId: value }) + ).unwrap(); + console.log(TrialData, "TrialDataTrialData"); + } else { + TrialData = await dispatch( + checkTrialBranch({ UserId: SelectedAdmin, AppId: value, CompId: value }) + ).unwrap(); + } + if (TrialData.data?.statusCode == 1) { + const Trial = TrialData.data?.data[0]; + const Count = TrialData.data?.data?.length; + + let purchaseWarehouseCount = Trial?.FeatAddonDetails?.find( + (e) => e?.FeatAddonName == "Warehouse" + )?.Count; + + if (Trial) { + if (Trial?.WarehouseCount >= purchaseWarehouseCount|| !purchaseWarehouseCount) { + setTimeout(function () { + navigate( + `${subDirectory}setting/warehouse-master/`, + { + state: { + Notiffy: { + messageType: "error", + messageData: !purchaseWarehouseCount ? "you have to buy Warehouse ": + "Your have already Created Maximum Number of Warhouse", + }, + }, + }, + 700 + ); + }); + } + } + } else { + Trial = []; + } + }; + + const getCompany = async (value) => { + let response = await dispatch( + getCompanyDataBasedOnApp({ + UserId: UserType != "Admin" ? SelectedAdmin : userId, + AppId: value, + }) + ).unwrap(); + + if (response?.data?.statusCode === 1) { + await setCompanyNames( + response?.data?.data?.filter((item) => item.ActiveStatus !== "D") + ); + if (response?.data?.data?.length === 1) { + } + } else { + setCompanyNames([]); + } + }; + const handleDropDownChange = async (value) => { + setSelectedCompany(value); + formRef.current?.setFieldsValue({ CompId: value }); + }; + + const handleDropDownChangeAdmin = async (value) => { + formRef.current?.setFieldsValue({ UserId: value }); + // dispatch(companyname({ id: value })) + setSelectedApplication(null); + setSelectedCompany(null); + setApplicationDisabled(false); + + formRef.current?.resetFields(["AppId"]); + formRef.current.resetFields(["CompId"]); + await setSelectedAdmin(value); + if (UserType != "Admin") { + getApplicationBySadmin(value); + } + }; + const pinCodeChange = async (e) => { + if (e?.target?.value.length < 6) { + setZipCodeData(false); + return false; + } + await getPincodeValues(e?.target?.value); + }; + + const handleMapShow = (e) => { + setMapDisplay(e); + }; + + const onMarkerClick = async (location) => { + setSelectedLatitude( + typeof location.lat === "function" ? location.lat() : selectedLatitude + ); + setSelectedLongitude( + typeof location.lng === "function" ? location.lng() : selectedLongitude + ); + formRef.current?.setFieldsValue({ + Latitude: + typeof location.lat === "function" ? location.lat() : selectedLatitude, + Longitude: + typeof location.lng === "function" ? location.lng() : selectedLongitude, + }); + }; + + const onFinish = async (values) => { + const postData = { + AppId: values?.AppId, + CompId: values?.CompId, + BrName: values?.WarehouseName, + BrInCharge: values?.ContactPerson, + BrMobile: values?.MobileNumber, + BrEmail: values?.Email, + Address1: values?.Address1, + Address2: values?.Address2, + Zip: values?.Zip, + City: values?.City, + Dist: values?.Dist, + State: values?.State, + Latitude: values?.Latitude, + Longitude: values?.Longitude, + LocationType: "W", + BrShName: "AA", + UserId: UserType != "Admin" ? SelectedAdmin : userId, + }; + let res = {}; + if (formType === "add") { + postData["CreatedBy"] = userId; + const { data: response } = await dispatch( + postBranchData(postData) + )?.unwrap(); + res = response; + console.log(res, "resresres"); + } else { + postData["UpdatedBy"] = userId; + postData["BrId"] = editstate?.BrId; + const { data: response } = await dispatch( + putBranchData(postData) + )?.unwrap(); + res = response; + } + + if (res?.statusCode === 1) { + setMessageType("succes"); + setMessageData("Warehouse Added Successfully"); + navigate(`${subDirectory}setting/warehouse-master/`); + } else { + setMessageType("error"); + setMessageData(res?.data?.response); + } + }; + + return ( +
+
+
+
+ +
+ +
+
+
+
+ {UserType === "Super Admin" || + UserType === "Super Admin User" ? ( + + ({ + value: option.UserId, + label: + option.UserName != "" && + option.UserName != null && + option.UserName != undefined + ? option?.UserName + : option.MobileNo, + }))} + placeholder="UserId" + label="Admin Name" + className="field-DropDown" + isOnchanges={ + formType == "edit" || SelectedAdmin ? true : false + } + onChangeFunction={handleDropDownChangeAdmin} + valueData={SelectedAdmin} + disabled={formType == "edit" ? true : false} + /> + + ) : null} + {UserType === "Super Admin" || + UserType === "Super Admin User" ? ( + + ({ + value: option.AppId, + label: option.AppName, + }))} + placeholder="AppId" + label="Application Name" + className="field-DropDown" + isOnchanges={ + formType == "edit" || selectedApplication + ? true + : false + } + onChangeFunction={handleApplicationChange} + valueData={selectedApplication} + disabled={ + formType == "edit" || ApplicationDisabled + ? true + : false + } + /> + + ) : ( + <> + + ({ + value: option.AppId, + label: option.AppName, + }))} + placeholder="AppId" + label={ + + } + className="field-DropDown" + isOnchanges={ + formType == "edit" || selectedApplication + ? true + : false + } + onChangeFunction={handleApplicationChange} + valueData={selectedApplication} + disabled={ + formType == "edit" || ApplicationDisabled + ? true + : false + } + /> + + + + )} + + + ({ + value: option.CompId, + label: option.CompName, + }))} + placeholder="CompId" + label={} + className="field-DropDown" + isOnchanges={SelectedCompany ? true : false} + onChangeFunction={handleDropDownChange} + valueData={SelectedCompany} + disabled={formType == "edit" ? true : false} + /> + + + Warehouse Name} + isOnChange={formType == "edit" ? true : false} + onChange={handleWarehouseNameChange} + /> + + + Contact Person} + isOnChange={formType == "edit" ? true : false} + onChange={handleContactPersonChange} + /> + + + Mobile Number} + fieldState={true} + maxLength="10" + autoComplete={"nope"} + isOnChange={formType == "edit" ? true : false} + inputMode="numeric" + onInput={(e) => + (e.target.value = e.target.value.replace(/[^0-9]/g, "")) + } + /> + + + + +
+ + <> +
+

Address Details

+
+
+
768 + ? "warehouse-add-with-map" + : "warehouse-add-without-map" + } + > + { + await validateSafeInput(value); + return Promise.resolve(); + }, + }, + ]} + > + Address Line1 + } + fieldState={true} + fieldApi={true} + isOnChange={editstate?.Address1 ? true : false} + /> + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + { + if (!value) + return Promise.reject("Please enter Zipcode"); + if (!/^\d{6}$/.test(value)) + return Promise.reject( + "Zipcode must be exactly 6 digits" + ); + return Promise.resolve(); + }, + }, + ]} + > + Zipcode} + maxLength="6" + fieldState={true} + fieldApi={true} + isOnChange={editstate?.Zip ? true : false} + onChange={pinCodeChange} + inputMode="numeric" + onInput={(e) => + (e.target.value = e.target.value.replace( + /[^0-9]/g, + "" + )) + } + /> + + {zipCodeData ? ( + <> + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + + ) : ( + "" + )} + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + 768 ? ( + + handleMapShow(!mapDisplay)} // 👈 Show map on click + /> + + ) : ( + false + ) + } + /> + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + +
+ {mapDisplay && ( +
+ +
+ )} +
+ + +
+ } + htmlType={true} + // disabled={ + // UserType === "Super Admin" ? false : + // (disable || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Branch")?.AddAccess === "N") + // } + /> +
+
+
+
+
+
+
+ ); +}; + +export default WarehouseForm; diff --git a/src/Pages/WareHouse/WareHouseList.jsx b/src/Pages/WareHouse/WareHouseList.jsx new file mode 100644 index 0000000..b9b61bf --- /dev/null +++ b/src/Pages/WareHouse/WareHouseList.jsx @@ -0,0 +1,317 @@ +import { useCallback, useEffect, useState } from "react"; +import Buttons from "../../Components/Forms/Buttons"; +import Search from "../../Components/Forms/Search"; +import { Messages } from "../../Components/Notifications/Messages"; +import { Tables } from "../../Components/Tables/Table"; +import FormHeader from "../pageComponents/FormHeader"; +import { + EditFilled, + DeleteFilled, + PlusOutlined, + ReloadOutlined, +} from "@ant-design/icons"; +import { getSession } from "../../Services/others"; +import { useLocation, useNavigate } from "react-router-dom"; +import { changeBreadCrumb } from "../../features/appPage/centerPage"; +import { useDispatch, useSelector } from "react-redux"; +import { + deleteBranchData, + getAdminNames, + getBranchAdminUsers, + getWarehouseUsers, +} from "../../features/branchPage/branchPage"; +import { Space } from "antd"; +import { getUserBasedConstraint } from "../../features/pricingType/pricingType"; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess"; +const subDirectory = import.meta.env.ENV_BASE_URL; +const WarehouseList = () => { + const dispatch = useDispatch(); + const navigateTo = useNavigate(); + const location = useLocation(); + + const [UserType, setUserType] = useState( + getSession("UserType") ? getSession("UserType") : null + ); + const UserId = getSession("UserId"); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [searchedText, setSearchedText] = useState(""); + const [sortedInfo, setSortedInfo] = useState({}); + const [WarehouseData, setWarehouseData] = useState([]); + const [UserConstraintData, setUserConstraintData] = useState(0); + const SuperAdminUserAccess = useSelector(SuperAdminUserAccessDataSelector); + const [page, setpage] = useState(1); + const navigate = useNavigate(); + const warehouseData = []; + const appWarehouseData = []; + console.log(SuperAdminUserAccess, "SuperAdminUserAccess"); + useEffect(() => { + if (UserType == "Admin") fetchUserBranch(); + }, [UserId]); + + const fetchUserBranch = async () => { + let res = await dispatch(getUserBasedConstraint(UserId)).unwrap(); + if (res?.data?.statusCode === 1) { + console.log(res?.data?.data, "res?.data?.RemainingCompanyCount"); + setUserConstraintData(res?.data?.data?.RemainingWarehouseCount); + } else if (res?.data?.statusCode === 0) { + setUserConstraintData(0); + } + }; + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "Warehouse", + link: `${subDirectory}setting/warehouse-master`, + }, + ]; + const columns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "60px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "Warehouse Name", + dataIndex: "BrName", + key: "BrName", + align: "center", + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.BrName).toLowerCase().includes(value.toLowerCase()) + ); + }, + + }, + + // { + // title: "Location", + // dataIndex: "Address", + // key: "Address", + // ellipsis: true, + // }, + { + title: "Contact Person", + dataIndex: "BrInCharge", + key: "BrInCharge", + align: "center", + }, + { + title: "Mobile", + dataIndex: "BrMobile", + key: "BrMobile", + width: "120px", + align: "center", + }, + // { + // title: "Status", + // dataIndex: "Status", + // key: "Status", + // width: "100px", + // render: (status) => ( + // + // {status} + // + // ), + // }, + { + title: "Actions", + key: "actions", + align: "center", + width: "100px", + render: (_, record, index) => ( + + {record.ActiveStatus === "A" ? ( + + actionsFormatter(record, index)} + /> + + ) : ( + "" + )} + + {record.ActiveStatus === "A" ? ( + statusFormatter(record)} + /> + ) : ( + statusFormatter(record)} + /> + )} + + + ), + }, + ]; + + useEffect(() => { + try { + dispatch(changeBreadCrumb({ items: items })); + if (location?.state?.Notiffy) { + setMessageType(location?.state?.Notiffy.messageType); + setMessageData(location?.state?.Notiffy.messageData); + } + } catch (err) { + console.log(err, "err"); + } + }, []); + + useEffect(() => { + getWarehouse(); + }, [getSession("UserId")]); + + const actionsFormatter = async (row, rowIndex) => { + if (row.ActiveStatus !== "D") { + navigateTo( + `${subDirectory}setting/warehouse-master/update`, + { state: { editstate: row } }, + { key: rowIndex } + ); + } + }; + + const statusFormatter = async (row) => { + let deleteData = { + BrId: row.BrId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession("UserId"), + }; + let response = await dispatch(deleteBranchData(deleteData)).unwrap(); + if (response?.data?.statusCode == 1) { + // fetchUserBranch() + getWarehouse(); + setMessageType("success"); + setMessageData( + row.ActiveStatus == "A" + ? "Branch In-Activated Successfully" + : "Branch Activated Successfully" + ); + } + }; + const getWarehouse = async () => { + if (UserType == "Admin") { + let response = await dispatch( + getWarehouseUsers(getSession("UserId")) + ).unwrap(); + if (response?.data?.statusCode == 1) { + setWarehouseData(response?.data?.data); + } else { + setWarehouseData([]); + } + } else { + await dispatch(getAdminNames()).unwrap(); + let response = await dispatch(getWarehouseUsers()).unwrap(); + if (response?.data?.statusCode == 1) { + setWarehouseData(response?.data?.data); + } else { + setWarehouseData([]); + } + } + }; + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + const handelAddButton = () => { + navigate(`${subDirectory}setting/warehouse-master/new`); + }; + const onSearch = (value) => { + setSearchedText(value); + }; + + const onSearchChange = (e) => { + setSearchedText(e?.target?.value); + }; + const handlePageChange = (current) => { + setpage(current); + }; + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + + return ( +
+
+ +
+
+ +
+
+
+ +
+ + handelAddButton()} + color="901D77" + icon={} + disabled={ + UserType === "Super Admin" + ? false + : UserType === "Super Admin User" + ? SuperAdminUserAccess?.find( + (e) => e?.ConfigName === "Warehouse" + )?.AddAccess === "N" + : UserType === "Admin" + ? UserConstraintData === 0 + : false + } + > + OPEN + +
+
+ +
+ {/* {userType === "Admin" || userType === "Admin User" ? ( + + ) : ( */} + + {/* )} */} +
+
+
+ ); +}; + +export default WarehouseList; diff --git a/src/Pages/abstract/abstract.jsx b/src/Pages/abstract/abstract.jsx new file mode 100644 index 0000000..e7dac29 --- /dev/null +++ b/src/Pages/abstract/abstract.jsx @@ -0,0 +1,688 @@ +import { useState, useEffect, useCallback } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import { useLocation, useNavigate } from "react-router-dom"; +import { Space, Table } from "antd"; +import { Tables } from "../../Components/Tables/Table.jsx"; +import { Search } from "../../Components/Forms/Search.jsx"; +import { Messages } from "../../Components/Notifications/Messages.jsx"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { dateFormatChange, getSession } from "../../Services/others.js"; +import "./abstract.scss"; +import { IoEye } from "react-icons/io5"; +import { DefaultModal } from "../../Components/Modal/DefaultModal.jsx"; +import { gettingAdminDropDown } from "../../features/ModuleAccess/moduleAccessSlice.js"; +import { + getAppCompanyData, + getAppCompanyDataUsers, +} from "../../features/appAccessPage/appAccessPage.js"; + +const subDirectory = import.meta.env.ENV_BASE_URL; +const Abstruct = () => { + const dispatch = useDispatch(); + const location = useLocation(); + //local states + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [page, setpage] = useState(1); + const [pageCompany, setpageCompany] = useState(1); + const [pageBranch, setpageBranch] = useState(1); + const [pageUser, setpageUser] = useState(1); + const [AbstractData, setAbstractData] = useState([]); + const [Model, setModel] = useState(false); + const [applicationdtls, setapplicationdtls] = useState([]); + const [Companydtls, setCompanydtls] = useState([]); + const [Branchdtls, setBranchdtls] = useState([]); + const [UserDtls, setUserDtls] = useState([]); + const [selectedid, Setselectedid] = useState([]); + const [UserId, setUserId] = useState(null); + const [SelectedRowKey, setSelectedRowKey] = useState(null); + const [SelectedBrachRowKey, setSelectedBrachRowKey] = useState(null); + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + ]; + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + getAbstractData(); + if (location?.state?.Notiffy) { + setMessageType(location?.state?.Notiffy.messageType); + setMessageData(location?.state?.Notiffy.messageData); + } + }, []); + + const getAbstractData = async () => { + let res = await dispatch(gettingAdminDropDown()).unwrap(); + if (res?.data?.statusCode === 1) { + setAbstractData(res?.data?.data); + } else { + setAbstractData([]); + } + }; + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + + const handlePageChangeCompany = (current) => { + setpageCompany(current); + }; + + const handlePageChangeBranch = (current) => { + + setpageBranch(current); + }; + + const handlePageChangeUser = (current) => { + setpageUser(current); + }; + + const onSearch = (value) => { + setSearchedText(value); + }; + const onSearchChange = (e) => { + setSearchedText(e?.target?.value); + }; + + const getallAppDtls = async (e) => { + setUserId(e); + let data = { + UserId: e, + }; + try { + let Responses = await dispatch(getAppCompanyData(data)).unwrap(); + if (Responses?.data?.statusCode == 1) { + setapplicationdtls(Responses?.data?.data); + getCompanyDtls(e, Responses?.data?.data?.[0]?.AppId); + setModel(true); + } else { + setapplicationdtls([]); + setMessageData("No Application Found"); + setMessageType("warning"); + } + } catch (err) { + console.error(err); + } + + }; + + const getCompanyDtls = async (UserId, AppId) => { + let data = { + UserId, + AppId, + Type: "A", + }; + Setselectedid(AppId); + try { + let Response = await dispatch(getAppCompanyData(data)).unwrap(); + if (Response?.data?.statusCode == 1) { + setCompanydtls( + Response?.data?.data?.map((e, index) => { + return { ...e, key: index }; + }) + ); + } else { + setCompanydtls([]); + } + } catch (err) { + console.error(err); + } finally { + setBranchdtls([]); + setUserDtls([]); + setSelectedBrachRowKey(null); + setSelectedRowKey(null); + } + }; + + const BranchFn = async (record) => { + let data = { + UserId: UserId, + AppId: record?.AppId, + CompId: record?.CompId, + }; + + try { + let Response = await dispatch(getAppCompanyData(data)).unwrap(); + if (Response?.data?.statusCode == 1) { + setBranchdtls( + Response?.data?.data?.map((e, index) => { + return { ...e, key: index }; + }) + ); + } else { + setBranchdtls([]); + setMessageType("error"); + setMessageData("No Branch Found"); + } + } catch (err) { + console.error(err); + } + }; + + const userFn = async (record) => { + let data = { + UserId: UserId, + AppId: record?.AppId, + CompId: record?.CompId, + BrId: record?.BrId, + }; + + try { + let Response = await dispatch(getAppCompanyDataUsers(data)).unwrap(); + if (Response?.data?.statusCode == 1) { + setUserDtls(Response?.data?.data?.[0]?.UserDetails); + if (Response?.data?.data?.[0]?.UserDetails < 1) { + setMessageType("error"); + setMessageData("No Users Found"); + } + } else { + setUserDtls([]); + setMessageType("error"); + setMessageData("No Users Found"); + } + } catch (err) { + console.error(err); + } + }; + const columns = [ + { + title: "Si.No", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + + { + title: "User Id", + dataIndex: "UserId", + key: "UserId", + align: "left", + width: "150px", + render: (text, record) => ( + {record?.UserId} + ), + ellipsis: true, + }, + + { + title: "Name", + dataIndex: "UserName", + key: "UserName", + align: "left", + width: "150px", + render: (text, record) => ( + + {record?.UserName ? record?.UserName : "-"} + + ), + ellipsis: true, + }, + + { + title: "Mobile", + dataIndex: "MobileNo", + key: "MobileNo", + width: "200px", + align: "left", + render: (text) => ( + {text} + ), + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.MobileNo).toLowerCase().includes(value.toLowerCase()) || + String(record.UserName).toLowerCase().includes(value.toLowerCase())|| + String(record.UserId).toLowerCase().includes(value.toLowerCase()) + ); + }, + + ellipsis: true, + }, + + { + title: "Email", + dataIndex: "MailId", + key: "MailId", + align: "center", + width: "200px", + render: (text, record) => ( + + {record?.MailId ? record?.MailId : "-"} + + ), + }, + { + title: "Created Date", + dataIndex: "CreatedDate", + key: "CreatedDate", + align: "center", + width: "150px", + ellipsis: true, + render: (text, record) => ( + + {record?.CreatedDate ? dateFormatChange(record?.CreatedDate) : "-"} + + ), + }, + { + title: "View", + align: "center", + width: "150px", + render: (text, record) => ( + { + getallAppDtls(record?.UserId); + }} + > + + + ), + ellipsis: true, + }, + ]; + const columnsCompany = [ + { + title: "Si.No", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(pageCompany - 1) * 10 + index + 1} + ), + }, + { + title: "Company Id", + dataIndex: "CompId", + key: "CompId", + align: "left", + render: (text, record) => ( + {record?.CompId} + ), + ellipsis: true, + }, + + { + title: "Company Name", + dataIndex: "CompName", + key: "CompName", + width: "250px", + align: "left", + render: (text, record) => ( + { + BranchFn(record); + }} + > + {text} + + ), + }, + { + title: "Proprietor", + dataIndex: "Proprietor", + key: "Proprietor", + align: "left", + + }, + { + title: "Mobile", + dataIndex: "CompMobile", + key: "CompMobile", + align: "left", + render: (text, record) => {record?.CompMobile?record?.CompMobile:"-"}, + },{ + title: "Created Date", + dataIndex: "CreatedDate", + key: "CreatedDate", + align: "center", + ellipsis: true, + render: (text, record) => ( + + {record?.CreatedDate ? dateFormatChange(record?.CreatedDate) : "-"} + + ), + }, + { + title: "Status", + dataIndex: "ActiveStatus", + key: "ActiveStatus", + render: (text, record) => ( + + {record?.ActiveStatus == "A" ? "Active" : "Deactive"} + + ), + }, + ]; + + const columnsBranch = [ + { + title: "Si.No", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(pageBranch - 1) * 10 + index + 1} + ), + }, + { + title: "Branch Id", + dataIndex: "BrId", + key: "BrId", + align: "left", + render: (text, record) => ( + {record?.BrId} + ), + ellipsis: true, + }, + + { + title: "Branch Name", + dataIndex: "BrName", + key: "BrName", + width: "250px", + align: "left", + render: (text, record) => {text}, + }, + { + title: "Mobile", + dataIndex: "CompMobile", + key: "CompMobile", + align: "left", + render: (text, record) => {record?.CompMobile?record?.CompMobile:"-"}, + }, + { + title: "Address", + dataIndex: "BrAddress1", + key: "BrAddress1", + align: "left", + render: (text, record) => {text}, + }, + + + { + title: "Created Date", + dataIndex: "CreatedDate", + key: "CreatedDate", + align: "center", + width: "150px", + ellipsis: true, + render: (text, record) => ( + + {record?.CreatedDate ? dateFormatChange(record?.CreatedDate) : "-"} + + ), + }, + { + title: "Status", + dataIndex: "ActiveStatus", + key: "ActiveStatus", + render: (text, record) => ( + + {record?.ActiveStatus == "A" ? "Active" : "Deactive"} + + ), + }, + ]; + const columnsUser = [ + { + title: "Si.No", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(pageUser - 1) * 10 + index + 1} + ), + }, + { + title: "User Id", + dataIndex: "UserId", + key: "UserId", + align: "left", + render: (text, record) => ( + {record?.UserId} + ), + ellipsis: true, + }, + { + title: "user Name", + dataIndex: "UserName", + key: "UserName", + width: "200px", + align: "left", + }, + { + title: "Mobile", + dataIndex: "MobileNo", + key: "MobileNo", + align: "left", + render: (text, record) => ( + {record?.MobileNo} + ), + ellipsis: true, + }, + + { + title: "Created Date", + dataIndex: "CreatedDate", + key: "CreatedDate", + align: "center", + width: "150px", + ellipsis: true, + render: (text, record) => ( + + {record?.CreatedDate ? dateFormatChange(record?.CreatedDate) : "-"} + + ), + }, + { + title: "Status", + dataIndex: "ActiveStatus", + key: "ActiveStatus", + render: (text, record) => ( + + {record?.ActiveStatus == "A" ? "Active" : "Deactive"} + + ), + }, + ]; + + const cancelFn = (second) => { + setModel(false); + setSelectedRowKey(null); + setSelectedBrachRowKey(null); + setBranchdtls([]); + setCompanydtls([]); + setapplicationdtls([]); + setUserDtls([]); + }; + return ( +
+
+ +
+
+ +
+
+
+ +
+
+
+
+ +
+
+ + +

Application-Specific Company, Branch, and Employee Details

+
+ {applicationdtls?.map((item) => ( +
{ + getCompanyDtls(item?.UserId, item?.AppId); + }} + > + {item?.ConfigName} +
+ ))} +
+
+ {Companydtls?.length >= 0 && ( + <> +
+ handlePageChangeCompany(page, pageSize) + }} + onChange={handleChange} + rowClassName={(record) => + SelectedRowKey === record.key ? "selected-row" : "" + } + onRow={(record) => ({ + onClick: () => { + setSelectedRowKey(record.key), BranchFn(record); + }, + })} + /> + + + )} + + {Branchdtls?.length >= 1 && ( + <> + +
+
handlePageChangeBranch(page, pageSize) + }} + rowClassName={(record) => + SelectedBrachRowKey === record.key ? "selected-row" : "" + } + onRow={(record) => ({ + onClick: () => { + setSelectedBrachRowKey(record.key), userFn(record); + }, + })} + /> + + + )} + + {UserDtls?.length >= 1 && ( + <> +
+
+ + + )} + + + } + handleCancel={() => { + cancelFn(); + }} + /> + + ); +}; + +export default Abstruct; diff --git a/src/Pages/abstract/abstract.scss b/src/Pages/abstract/abstract.scss new file mode 100644 index 0000000..63153cb --- /dev/null +++ b/src/Pages/abstract/abstract.scss @@ -0,0 +1,62 @@ +.appname-abstruct{ + display: flex; + align-items: center; + justify-content: center; + box-shadow: 5px 5px 10px #ebe3e3; + padding: 1rem; + font-family:"Poppins", sans-serif; + font-size: 14px; + font-weight: 500; + width: max-content; + height: 2rem; + background-color: rgb(155, 214, 36); + border-radius: 10px; + cursor: pointer; + + border: 2px solid red; +} +.selected-row { + background-color: #bae7ff !important; /* Light blue color */ + } + + +.reportTable-abstruct{ + overflow: auto !important; + width: 100%; + height: 30vh !important; + .ant-table-thead { + position: sticky; + top: 0; + z-index: 10; + + } + + + .ant-table-cell { + padding: 3px 8px !important; + } + .ant-table-wrapper .ant-table{ + font-size: 14px; + } + .ant-table-pagination.ant-pagination { + position: sticky; + z-index: 10; + bottom: 0; + background-color: white; + margin: 0px 0; + } + .ant-pagination-options { + display: none !important; + } + + +.ant-table-thead > tr > th { + background-color: #969ea9 !important; + color: white !important; + text-align: center; + } + + + + +} diff --git a/src/Pages/adminTax/adminTaxForm.jsx b/src/Pages/adminTax/adminTaxForm.jsx new file mode 100644 index 0000000..ebea7ed --- /dev/null +++ b/src/Pages/adminTax/adminTaxForm.jsx @@ -0,0 +1,415 @@ +import { useState, useEffect, useRef, useCallback } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import { InputField } from "../../Components/Forms/InputField.jsx"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { ArrowRightOutlined } from "@ant-design/icons"; +import { Form } from "antd"; +import { DatePic } from "../../Components/Forms/DatePicker.jsx"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { Drawers } from "../../Components/Drawer/Drawer.jsx"; +import { Tables } from "../../Components/Tables/Table"; +import Search from "../../Components/Forms/Search.jsx"; +import { PlusOutlined } from "@ant-design/icons"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { Messages } from "../../Components/Notifications/Messages"; +import { getAdmin, postTax } from "../../features/tax/tax.js"; +import { getSession ,dateFormatChange, validateSafeInput, ExtractDateFormate} from "../../Services/others"; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; +import "../../styles/OverAllStyle/OverAllStyle.scss" + +const subDirectory = import.meta.env.BASE_URL; + +const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + +]; + +const AdminTaxForm = () => { + const dispatch = useDispatch(); + const formRef = useRef(null); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [drawerOpen, setDrawerOpen] = useState(false); + const [placement, setPlacement] = useState("right"); + const [AdminTaxData, setAdminTaxData] = useState([]); + const [filteredInfo, setFilteredInfo] = useState({}); + const [sortedInfo, setSortedInfo] = useState({}); + const [EditData, setEditData] = useState([]); + const [EditState, setEditState] = useState(false); + const [searchedText, setSearchedText] = useState(""); + const [page, setpage] = useState(1); + const SuperAdminUserAccess=useSelector(SuperAdminUserAccessDataSelector) + const UserType = getSession("UserType") + const onFinish = async (values) => { + let postData = values; + postData["CreatedBy"] = getSession("UserId"); + postData["EffectiveFrom"] = new Date(values.EffectiveFrom) + .toISOString() + .slice(0, 10); + + + let response = {}; + response = await dispatch(postTax(postData)).unwrap(); + if (response?.data?.statusCode == 1) { + setMessageType("success"); + setMessageData(response?.data?.response); + setDrawerOpen(false); + fetchData(); + } else { + setMessageType("error"); + setMessageData(response?.data?.response); + } + }; + + async function fetchData() { + const gettingAdminTax = await dispatch(getAdmin()).unwrap(); + if (gettingAdminTax.data?.statusCode === 1) { + setAdminTaxData(gettingAdminTax.data?.data); + } + } + + useEffect(() => { + try { + fetchData(); + } catch (err) { + console.log(err, "err"); + } + }, []); + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + }, []); + + const showDrawer = async () => { + await formRef.current?.resetFields(); + setDrawerOpen(true); + setEditData([]); + setEditState(false); + }; + + const onSearch = (value) => { + setSearchedText(value); + }; + + const onSearchChange = (e) => { + setSearchedText(e?.target?.value); + }; + + const onClose = () => { + setDrawerOpen(false); + setEditState(false); + }; + + const handleChange = (pagination, filters, sorter) => { + setFilteredInfo(filters); + setSortedInfo(sorter); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + + + + const columns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + + { + title: "Tax Name", + dataIndex: "TaxName", + key: "TaxName", + align: "left", + width: "100px", + render: (text) => ( + {text} + ), + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.TaxName).toLowerCase().includes(value.toLowerCase()) || + String(record.TaxPercentage) + .toLowerCase() + .includes(value.toLowerCase()) + ); + }, + sorter: (a, b) => a?.TaxName?.length - b?.TaxName?.length, + sortOrder: sortedInfo.columnKey === "TaxName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Tax Percentage", + dataIndex: "TaxPercentage", + key: "TaxPercentage", + width: "100px", + align: "right", + render: (text) => {text}, + filteredValue: filteredInfo.TaxPercentage || null, + onFilter: (value, record) => record.TaxPercentage.includes(value), + sorter: (a, b) => a?.TaxPercentage?.length - b?.TaxPercentage?.length, + sortOrder: + sortedInfo.columnKey === "TaxPercentage" ? sortedInfo.order : null, + ellipsis: true, + }, + + { + title: "Effective From", + dataIndex: "EffectiveFrom", + key: "EffectiveFrom", + width: "100px", + render: (text) => {ExtractDateFormate(text)}, + filteredValue: filteredInfo.EffectiveFrom || null, + onFilter: (value, record) => record.EffectiveFrom.includes(value), + sorter: (a, b) => a?.EffectiveFrom?.length - b?.EffectiveFrom?.length, + sortOrder: + sortedInfo.columnKey === "EffectiveFrom" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Reference No", + dataIndex: "Reference", + key: "Reference", + width: "100px", + align: "right", + render: (text) => {text}, + filteredValue: filteredInfo.Reference || null, + onFilter: (value, record) => record.Reference.includes(value), + sorter: (a, b) => a?.Reference?.length - b?.Reference?.length, + sortOrder: sortedInfo.columnKey === "Reference" ? sortedInfo.order : null, + ellipsis: true, + }, + + + ]; + + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + const OnchangeDate = (e) => { + if (!e || !e.$y || !e.$M || !e.$D) { + console.error("Invalid date object:", e); + return; + } + + const yyyy = e.$y; + const mm = String(e.$M + 1).padStart(2, '0'); // Months are 0-based + const dd = String(e.$D).padStart(2, '0'); + + const formattedDate = `${yyyy}-${mm}-${dd}`; + console.log("Formatted Date:", formattedDate); // Debugging + + formRef?.current?.setFieldsValue({ EffectiveFrom: formattedDate }); + }; + return ( + +
+
+ +
+
+ +
+
+
+ +
+ } + handleSubmit={showDrawer} + disabled={UserType === "Super Admin" + ? false + : SuperAdminUserAccess?.find((e)=>e?.ConfigName=="Tax")?.AddAccess === "N" ? true : false} + + > + OPEN + +
+
+ +
+ {" "} +
+ + +
+
+
+ { + await validateSafeInput(value); + + if (value && value.length > 10) { + return Promise.reject("Tax Name cannot exceed 10 characters."); + } + + return Promise.resolve(); + }, + }, + ]} + > + Tax Name} + fieldState={true} + maxLength="30" + autoComplete="off" + className="Input" + isOnChange={EditState ? true : false} + /> + + + { + await validateSafeInput(value); // check for HTML/SQL injection + return Promise.resolve(); + }, + }, + ]} + + > + Tax Percentage} + type="number" + fieldState={true} + fieldApi={true} + id="error2" + isOnChange={EditState ? true : false} + + /> + + + + EffectiveFrom} + fieldState={true} + fieldApi={true} + EditData={EditData} + EditState={EditState} + onChange={OnchangeDate} + id="error3" + isOnChange={EditState ? true : false} + /> + + + { + await validateSafeInput(value); + + if (value && value.length > 30) { + return Promise.reject("Reference cannot exceed 30 characters."); + } + + return Promise.resolve(); + }, + }, + ]} + + > + + +
+
+ +
+ } + /> +
+ +
+ } + onClose={onClose} + /> +
+ + + ); +}; + +export default AdminTaxForm; \ No newline at end of file diff --git a/src/Pages/appMenu/appMenuForm.jsx b/src/Pages/appMenu/appMenuForm.jsx new file mode 100644 index 0000000..b5605d2 --- /dev/null +++ b/src/Pages/appMenu/appMenuForm.jsx @@ -0,0 +1,413 @@ +import { useState, useEffect, useRef } from "react"; +import { useDispatch } from "react-redux"; +import { InputField } from "../../Components/Forms/InputField.jsx"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { ArrowRightOutlined } from "@ant-design/icons"; +import { Messages } from "../../Components/Notifications/Messages"; +import { Form } from "antd"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { DropDowns } from "../../Components/Forms/DropDown.jsx"; +import { RadioGrpButton } from "../../Components/Forms/RadioGroup.jsx"; +import { + postAppMenu, + putAppMenu, + getLevelOneMenu, + getLevelTwoMenu, + getLevelThreeMenu, + getApplication, +} from "../../features/appMenu/appMenu.js"; +import { getSession, validateSafeInput } from "../../Services/others"; +import { useNavigate, useLocation } from "react-router-dom"; + +const subDirectory = import.meta.env.BASE_URL; + +const AppMenuForm = ({ formType }) => { + const formRef = useRef(null); + const dispatch = useDispatch(); + const navigate = useNavigate(); + const location = useLocation(); + const state = location?.state; + const editstate = state?.editstate; + + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [appDropDown, setappDropDown] = useState([]); + const [selectedAppData, setSelectedAppData] = useState( + editstate ? editstate.AppId : null + ); + const [selectedlevelOneData, setselectedlevelOneData] = useState( + editstate ? (editstate.Level1Id != "0" ? editstate.Level1Id : null) : null + ); + const [selectedlevelTwoData, setselectedlevelTwoData] = useState( + editstate ? (editstate.Level2Id != "0" ? editstate.Level2Id : null) : null + ); + const [selectedlevelThreeData, setselectedlevelThreeData] = useState( + editstate ? (editstate.Level3Id != "0" ? editstate.Level3Id : null) : null + ); + + + const [menuDropDown, setMenuDropDown] = useState([]); + const [menuTwoDropDown, setMenuTwoDropDown] = useState([]); + const [menuThreeDropDown, setMenuThreeDropDown] = useState([]); + const [selectRadioButtonValue, setselectRadioButtonValue] = useState( + editstate ? editstate.Level : "1" + ); + + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "ApplicationMenu", + link: `${subDirectory}setting/app-menu`, + }, + { + name: editstate ? "Edit" : "New", + link: null + + }, + ]; + + const onFinish = async (values) => { + let postData = values; + postData["CreatedBy"] = getSession("UserId"); + postData["AppId"] = values.AppName; + postData["Level"] = selectRadioButtonValue; + postData["Level1Id"] = values.LevelOne || 0; + postData["Level2Id"] = values.LevelTwo || 0; + postData["Level3Id"] = values.LevelThree || 0; + + let response = {}; + + if (formType === "add") { + response = await dispatch(postAppMenu(postData)).unwrap(); + } else if (formType === "edit") { + if (editstate) { + postData["MenuId"] = editstate?.MenuId; + } + postData["UpdatedBy"] = getSession("UserId"); + + response = await dispatch(putAppMenu(postData)).unwrap(); + } + + if (response?.data?.statusCode == 1) { + navigate(`${subDirectory}setting/app-menu/`, { + state: { + Notiffy: { + messageType: "success", + messageData: response?.data?.response, + }, + }, + }); + } else { + setMessageType("error"); + setMessageData(response?.data?.response); + } + }; + + async function fetchData() { + const gettingappDropDown = await dispatch(getApplication()).unwrap(); + if (gettingappDropDown.data?.statusCode === 1) { + let finalAppDropDowndata = gettingappDropDown.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setappDropDown(finalAppDropDowndata); + } + } + + useEffect(() => { + try { + fetchData(); + if (formType === "edit") { + if (editstate) { + appDropDownChange(editstate.AppId); + editstate.Level !== "1" && menuOneFunc() + editstate.Level1Id !=0 && menuTwoFunc(editstate.Level1Id) + editstate.Level2Id !=0 && menuThreeFunc(editstate.Level2Id) + editstate.Level3Id !=0 && levelThreeDropDownChange(editstate.Level3Id) + + } else { + navigate(`${subDirectory}setting/app-menu`); + } + } + } catch (err) { + console.log(err, "err"); + } + }, []); + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + }, []); + + const appDropDownChange = async (e) => { + formRef.current?.setFieldsValue({ AppName: e }); + await setSelectedAppData(e); + }; + + const menuTwoFunc = async (e) => { + formRef.current?.setFieldsValue({ LevelOne: e }); + await setselectedlevelOneData(e); + const gettingMenuDropDown = await dispatch(getLevelTwoMenu({AppId:selectedAppData,Level:"2",Level1Id:e})).unwrap(); + if (gettingMenuDropDown?.data?.statusCode === 1) { + let finalMenuDropDown = gettingMenuDropDown?.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setMenuTwoDropDown(finalMenuDropDown); + } + } + + const leveloneDropDownChange = async (e) => { + setMenuTwoDropDown([]); + setselectedlevelTwoData(null); + setMenuThreeDropDown([]); + setselectedlevelThreeData(null); + menuTwoFunc(e) + + }; + const menuThreeFunc = async (e) => { + formRef.current?.setFieldsValue({ LevelTwo: e }); + await setselectedlevelTwoData(e); + const gettingMenuDropDown = await dispatch(getLevelThreeMenu({AppId:selectedAppData,Level:"3",Level1Id:selectedlevelOneData,Level2Id:e})).unwrap(); + if (gettingMenuDropDown?.data?.statusCode === 1) { + let finalMenuDropDown = gettingMenuDropDown?.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setMenuThreeDropDown(finalMenuDropDown); + } + } + + const levelTwoDropDownChange = async (e) => { + setMenuThreeDropDown([]); + setselectedlevelThreeData(null); + menuThreeFunc(e) + + }; + + const levelThreeDropDownChange = async (e) => { + formRef.current?.setFieldsValue({ LevelThree: e }); + await setselectedlevelThreeData(e); + }; + + const menuOneFunc = async () =>{ + const gettingMenuDropDown = await dispatch(getLevelOneMenu({AppId:selectedAppData,Level:"1"})).unwrap(); + if (gettingMenuDropDown?.data?.statusCode === 1) { + let finalMenuDropDown = gettingMenuDropDown?.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setMenuDropDown(finalMenuDropDown); + } + } + + const selectValue = async (e) => { + setselectRadioButtonValue(e); + + if(e !== "1" && selectedAppData != null && selectedAppData != undefined){ + menuOneFunc() + } + }; + + + return ( +
+
+
+ +
+ +
+ +
+
+
+
+ + ({ + value: option.AppId, + label: option.AppName, + }))} + label={} + id="AppName" + field="AppName" + fieldState={true} + fieldApi={true} + onChangeFunction={(e) => appDropDownChange(e)} + isOnchanges={formType == "edit" ? true : false} + valueData={selectedAppData} + className="field-DropDown" + disabled={editstate?.AppId ? true : false} + /> + + + selectValue(e)} + + /> + {selectRadioButtonValue === "2" || + selectRadioButtonValue === "3" || + selectRadioButtonValue === "4" + ? ( + + ({ + value: option.MenuId, + label: option.MenuName, + }))} + label={} + id="LevelOne" + onChangeFunction={(e) => leveloneDropDownChange(e)} + optionsNames={{ value: "MenuId", label: "MenuName" }} + className="field-DropDown" + isOnchanges={(formType == "edit" || selectedlevelOneData) ? true : false} + valueData={selectedlevelOneData} + disabled={editstate?.Level1Id ? true : false} + + /> + + ) : null} + {selectRadioButtonValue === "3" || + selectRadioButtonValue === "4" + ? ( + + ({ + value: option.MenuId, + label: option.MenuName, + }))} + label={} + id="LevelTwo" + onChangeFunction={(e) => levelTwoDropDownChange(e)} + isOnchanges={(formType == "edit" || selectedlevelOneData) ? true : false} + optionsNames={{ value: "MenuId", label: "MenuName" }} + className="field-DropDown" + valueData={selectedlevelTwoData} + disabled={editstate?.Level2Id ? true : false} + /> + + ) : null} + { + selectRadioButtonValue === "4" + ? ( + + ({ + value: option.MenuId, + label: option.MenuName, + }))} + label={} + id="LevelThree" + onChangeFunction={(e) => levelThreeDropDownChange(e)} + isOnchanges={(formType == "edit" || selectedlevelTwoData) ? true : false} + optionsNames={{ value: "MenuId", label: "MenuName" }} + className="field-DropDown" + valueData={selectedlevelThreeData} + disabled={editstate?.Level3Id ? true : false} + /> + + ) : null} + { + await validateSafeInput(value); // Optional: block HTML/script/SQL + + if (value && value.length > 50) { + return Promise.reject("Menu Name should not exceed 50 characters"); + } + + return Promise.resolve(); + }, + }, + ]} + + > + Menu Name} + fieldState={true} + fieldApi={true} + id="error2" + autocomplete="off" + isOnChange={formType == "edit" ? true : false} + /> + +
+
+ +
+ } + /> +
+ +
+
+
+
+ ); +}; + +export default AppMenuForm; diff --git a/src/Pages/appMenu/appMenuList.jsx b/src/Pages/appMenu/appMenuList.jsx new file mode 100644 index 0000000..71ed963 --- /dev/null +++ b/src/Pages/appMenu/appMenuList.jsx @@ -0,0 +1,266 @@ +import { useState, useEffect, useCallback } from "react"; +import { useDispatch, useSelector } from 'react-redux'; +import { Space } from "antd"; +import { EditFilled, DeleteFilled,ReloadOutlined } from "@ant-design/icons"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { Tables } from "../../Components/Tables/Table"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { useNavigate,useLocation } from "react-router-dom"; +import Search from "../../Components/Forms/Search.jsx"; +import Buttons from '../../Components/Forms/Buttons'; +import { PlusOutlined } from '@ant-design/icons'; +import {getAppMenuList,deleteAppMenu} from "../../features/appMenu/appMenu.js"; +import { getSession } from "../../Services/others"; +import { Messages } from "../../Components/Notifications/Messages"; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; +const subDirectory = import.meta.env.BASE_URL + +const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "ApplicationMenu", + link: `${subDirectory}setting/app-menu`, + }, + +]; + +const AppMenu = () => { + const navigate = useNavigate(); + const location = useLocation(); + const dispatch = useDispatch(); + const UserType = getSession("UserType"); + + + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [TableData, setTableData] = useState([]); + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [page, setpage] = useState(1); + const SuperAdminUserAccess=useSelector(SuperAdminUserAccessDataSelector) + + + + async function fetchData() { + if(location?.state?.Notiffy){ + setMessageType(location?.state?.Notiffy.messageType) + setMessageData(location?.state?.Notiffy.messageData) + + } + const gettingTableData = await dispatch(getAppMenuList()).unwrap(); + if (gettingTableData.data?.statusCode === 1) { + await setTableData(gettingTableData.data?.data); + } + } + + + + useEffect(() => { + try { + fetchData(); + } catch (err) { + console.log(err, "err"); + } + }, []); + + + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + }, []); + + + const onSearch = (value) => { + setSearchedText(value) + } + const onSearchChange =(e) => { + setSearchedText(e?.target?.value) + } + + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + + + + const actionsFormatter = async (row,rowIndex) => { + if (row.ActiveStatus !== "D") { + navigate(`${subDirectory}setting/app-menu/update`, + {state:{editstate: row}}, + {key:rowIndex} + ) + + } + + }; + +//Delete + const statusFormatter = async (row) => { + let deleteData = { + MenuId: row.MenuId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession('UserId') + }; + let response=await dispatch(deleteAppMenu(deleteData)).unwrap() + if (response?.data?.statusCode == 1){ + fetchData(); + setMessageType("success"); + setMessageData(row.ActiveStatus === "A" ? "Application Menu In-Activated Successfully": "Application Menu Activated Successfully"); + + } + }; + + const columns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "App Name", + dataIndex: "AppName", + key: "AppName", + align: "left", + width: "200px", + render: (text) => ( + {text} + ), + filteredValue: [searchedText], + onFilter: (value, record) => {return ( + String(record.AppName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.MenuName) + .toLowerCase() + .includes(value.toLowerCase()) + +)}, + sorter: (a, b) => a?.AppName?.length - b?.AppName?.length, + sortOrder: sortedInfo.columnKey === "AppName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Menu Name", + dataIndex: "MenuName", + key: "MenuName", + align: "left", + width: "200px", + render: (text) => {text}, + sorter: (a, b) => a?.MenuName?.length - b?.MenuName?.length, + sortOrder: sortedInfo.columnKey === "MenuName" ? sortedInfo.order : null, + ellipsis: true, + }, + + { + title: "Action", + key: "Action", + align: "center", + dataIndex: "Action", + width: "200px", + render: (_, record,index) => + TableData.length >= 1 ? ( + + + {record.ActiveStatus === "A" ? + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Application Menu")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : " " + )} + /> + : "" } + + {record.ActiveStatus === "A" ? ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Application Menu")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> : ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Application Menu")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> + } + + + + ) : null, + }, + ]; + + + const onComplete = useCallback(() => { + + setMessageData(null); + setMessageType(null); + + }, []) + + const handelAddButton=()=>{ + navigate(`${subDirectory}setting/app-menu/new`) + } + + return ( +
+
+ +
+
+ +
+
+
+ +
+ handelAddButton()} + color="901D77" + icon={} + disabled={UserType === "Super Admin" + ? false + : + SuperAdminUserAccess?.find((e) => e?.ConfigName === "Application Menu")?.AddAccess === "N"} + + > + OPEN + +
+
+
+ {" "} +
+
+
+ + ); +}; + +export default AppMenu; diff --git a/src/Pages/appMenuAccess/appMenuAccess.jsx b/src/Pages/appMenuAccess/appMenuAccess.jsx new file mode 100644 index 0000000..31dd68e --- /dev/null +++ b/src/Pages/appMenuAccess/appMenuAccess.jsx @@ -0,0 +1,497 @@ +import { useState, useEffect, useRef, useCallback } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import { Checkbox, Form } from "antd"; +import { ArrowRightOutlined } from "@ant-design/icons"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { DropDowns } from "../../Components/Forms/DropDown.jsx"; +import { Messages } from "../../Components/Notifications/Messages.jsx"; +import { Tables } from "../../Components/Tables/Table"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { getSadminUser, getApplications, getMenu, getPreviousMenu, postAppMenuAccess, putAppMenuAccess } from "../../features/appMenuAccess/appMenuAccess.js" +import { getSession } from "../../Services/others"; +import '../../styles/appMenuAccess/appMenuAccess.scss'; +import Search from "../../Components/Forms/Search.jsx"; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; + +const subDirectory = import.meta.env.BASE_URL; + +const AppMenuAccess = () => { + + const SuperAdminUserAccess = useSelector(SuperAdminUserAccessDataSelector) + let UPDATE = SuperAdminUserAccess?.find((e) =>e?.ConfigName === "Application Menu Access")?.UpdateAccess === "N"; + let ADD = SuperAdminUserAccess?.find((e) =>e?.ConfigName === "Application Menu Access")?.AddAccess === "N"; + const UserType = getSession("UserType"); + + const dispatch = useDispatch(); + const formRef = useRef(null); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [userData, setUserData] = useState([]); + const [tableData, setTableData] = useState([]); + const [selectedUserId, setSelectedUserId] = useState(null); + const [applicationData, setApplicationData] = useState([]); + const [selectedAppId, setSelectedAppId] = useState(null); + const [selectedRowKeys, setSelectedRowKeys] = useState([]); + const [methodType, setMethodType] = useState('POST'); + const [searchedText, setSearchedText] = useState(""); + const [page, setpage] = useState(1); + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + } + ]; + const columns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "80px", + + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "Menu Name", + dataIndex: "MenuName", + key: "MenuName", + width: "180px", + render: (text, row) => ( + {text} + ), + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.MenuName) + .toLowerCase() + .includes(value.toLowerCase()) + ) + }, + }, + { + title: "View", + dataIndex: "ReadAccess", + key: "ReadAccess", + render: (text, row) => ( + + onChangeSingleCheck("ReadAccess", row, text === "Y" ? "N" : "Y") + } + /> + ), + }, + { + title: "Add", + dataIndex: "AddAccess", + key: "AddAccess", + render: (text, row) => ( + + onChangeSingleCheck("AddAccess", row, text === "Y" ? "N" : "Y") + } + /> + ), + }, + { + title: "Edit", + dataIndex: "UpdateAccess", + key: "UpdateAccess", + render: (text, row) => ( + + onChangeSingleCheck("UpdateAccess", row, text === "Y" ? "N" : "Y") + } + /> + ), + }, + { + title: "Delete", + dataIndex: "DeleteAccess", + key: "DeleteAccess", + render: (text, row) => ( + + onChangeSingleCheck("DeleteAccess", row, text === "Y" ? "N" : "Y") + } + /> + ), + }, + + + + ] + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + fetchSuperAdminUsers() + }, []); + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + const fetchSuperAdminUsers = async () => { + const userRes = await dispatch(getSadminUser()).unwrap(); + if (userRes?.data?.statusCode == 1) { + setUserData(userRes?.data?.data) + } + } + + const userDropDownChange = async (e) => { + formRef.current?.setFieldsValue({ UserId: e, AppId: null }) + setSelectedUserId(e) + setSelectedAppId(null) + setApplicationData([]) + setTableData([]) + setSelectedRowKeys([]) + fetchAccessApplications(e) + } + + const fetchAccessApplications = async (userId) => { + const applicationRes = await dispatch(getApplications({ UserId: userId })).unwrap(); + if (applicationRes?.data?.statusCode == 1) { + setApplicationData(applicationRes?.data?.data) + } + } + + const appDropDownChange = async (e) => { + formRef.current?.setFieldsValue({ AppId: e }) + setSelectedAppId(e) + setTableData([]) + setSelectedRowKeys([]) + + } + const onFinish = async (values) => { + const checkPreviousMenuRes = await dispatch(getPreviousMenu({ AppId: values["AppId"], UserId: values["UserId"] })).unwrap(); + if (checkPreviousMenuRes?.data?.data?.length == 0) { + const menuRes = await dispatch(getMenu({ AppId: values["AppId"] })).unwrap(); + if (menuRes?.data?.statusCode == 1) { + const updatedMenuItems = menuRes?.data?.data?.map(item => ({ + ...item, + key: item.MenuId + })); + setTableData(updatedMenuItems) + setSelectedRowKeys([]); + } + } + else { + setMethodType('PUT') + let AfterFillterData = checkPreviousMenuRes?.data?.data?.[0]?.AppMenuAccessDetails + setTableData(checkPreviousMenuRes?.data?.data?.[0]?.AppMenuAccessDetails) + let FilterSelectitems = AfterFillterData?.filter( + (item) => + "Y" === item.AddAccess || + "Y" === item.UpdateAccess || + "Y" === item.DeleteAccess || + "Y" === item.ReadAccess + ); + + let tempSelectList = FilterSelectitems.map(a => a.MenuId); + setSelectedRowKeys(tempSelectList); + } + + } + const onSelectChange = (newSelectedRowKeys) => { + var oldSelectedRowKeys = selectedRowKeys; + if (oldSelectedRowKeys?.length === 0 && newSelectedRowKeys?.length === 1) { + var updatedselectList = tableData?.map((item) => { + if (parseInt(item.MenuId) === parseInt(newSelectedRowKeys[0])) { + return { + ...item, + key: item?.key, + MenuId: item?.MenuId, + MenuName: item?.MenuName, + AddAccess: "Y", + UpdateAccess: "Y", + ReadAccess: "Y", + DeleteAccess: "Y", + }; + } + return item; + }); + } + else if ( + oldSelectedRowKeys?.length === 0 && + newSelectedRowKeys?.length > 1 + ) { + var updatedselectList = [...tableData]?.map((item,index) => { + if (index < 10) { + return { + ...item, + key: item?.key, + MenuId: item?.MenuId, + MenuName: item?.MenuName, + AddAccess: "Y", + UpdateAccess: "Y", + ReadAccess: "Y", + DeleteAccess: "Y", + }; + } + else{ + return{ + ...item, + } + + } + }); + } + else if (newSelectedRowKeys?.length === 0) { + var updatedselectList = tableData?.map((item) => { + return { + ...item, + key: item?.key, + MenuId: item?.MenuId, + MenuName: item?.MenuName, + AddAccess: "N", + UpdateAccess: "N", + ReadAccess: "N", + DeleteAccess: "N", + }; + }); + } + else if ( + oldSelectedRowKeys?.length > 0 && + newSelectedRowKeys?.length >= 1 + ) { + + if (oldSelectedRowKeys?.length < newSelectedRowKeys?.length) { + + let newVal = newSelectedRowKeys?.filter( + (id) => !oldSelectedRowKeys?.includes(id) + ); + var updatedselectList = tableData?.map((item) => { + if (newVal?.includes(item?.MenuId)) { + return { + ...item, + key: item?.key, + MenuId: item?.MenuId, + MenuName: item?.MenuName, + AddAccess: "Y", + UpdateAccess: "Y", + ReadAccess: "Y", + DeleteAccess: "Y", + }; + } + return item; + }); + } + else if (oldSelectedRowKeys?.length > newSelectedRowKeys?.length) { + + let newVal = oldSelectedRowKeys?.filter( + (id) => !newSelectedRowKeys?.includes(id) + ); + var updatedselectList = tableData?.map((item) => { + if (newVal?.includes(item?.MenuId)) { + return { + ...item, + key: item?.key, + MenuId: item?.MenuId, + MenuName: item?.MenuName, + AddAccess: "N", + UpdateAccess: "N", + ReadAccess: "N", + DeleteAccess: "N", + }; + } + return item; + }); + } + } + + setSelectedRowKeys(newSelectedRowKeys); + setTableData(updatedselectList); + }; + const rowSelection = { + selectedRowKeys, + onChange: onSelectChange, + }; + + const onChangeSingleCheck = (mode, e, updateData) => { + const updatedItemList = tableData.map((item) => { + if (parseInt(item.MenuId) === parseInt(e.MenuId)) { + let updatedItem = { ...item, [mode]: updateData }; + + if (mode === "ReadAccess" && updateData === "N") { + updatedItem = { + ...updatedItem, + AddAccess: "N", + UpdateAccess: "N", + DeleteAccess: "N", + }; + } + + const isRowSelected = ["AddAccess", "UpdateAccess", "DeleteAccess", "ReadAccess"].some( + (key) => updatedItem[key] === "Y" + ); + + if (isRowSelected) { + if (!selectedRowKeys.includes(e.MenuId)) { + setSelectedRowKeys([...selectedRowKeys, e.MenuId]); + } + } else { + setSelectedRowKeys(selectedRowKeys.filter((key) => key !== e.MenuId)); + } + + return updatedItem; + } + return item; + }); + + setTableData(updatedItemList); + }; + + const handleSubmit = async () => { + let sendData = {} + sendData["UserId"] = selectedUserId + sendData["AppId"] = selectedAppId + sendData["AppMenuAccessDetails"] = tableData + let response = {} + if (methodType == 'POST') { + sendData["CreatedBy"] = getSession("UserId") + response = await dispatch(postAppMenuAccess(sendData)).unwrap(); + } + else if (methodType == 'PUT') { + sendData["UpdatedBy"] = getSession("UserId") + response = await dispatch(putAppMenuAccess(sendData)).unwrap(); + } + if (response?.data?.statusCode == 1) { + setTableData([]) + setSelectedRowKeys([]) + setSelectedAppId(null) + setSelectedUserId(null) + setApplicationData([]) + formRef.current?.setFieldsValue({ UserId: null, AppId: null }) + setMessageType("success"); + setMessageData(response?.data?.response); + } + else { + setMessageType("error"); + setMessageData(response?.data?.response); + } + } + const onSearch = (value) => { + setSearchedText(value) + } + const onSearchChange = (e) => { + setSearchedText(e?.target?.value) + } + + const handlePageChange = (current) => { + setpage(current); + }; + return ( +
+
+
+ +
+ +
+
+
+ + ({ + value: option.UserId, + label: option.UserName != "" && option.UserName != null && option.UserName != undefined ? option?.UserName : option.MobileNo, + }))} + label="Super Admin User" + onChangeFunction={(e) => userDropDownChange(e)} + isOnchanges={selectedUserId ? true : false} + className="field-DropDown" + valueData={selectedUserId} + + /> + + + ({ + value: option.AppId, + label: option.AppName, + }))} + label="Application" + onChangeFunction={(e) => appDropDownChange(e)} + isOnchanges={selectedAppId ? true : false} + className="field-DropDown" + valueData={selectedAppId} + + /> + +
+ } + htmlType={true} + /> +
+ +
+
+ +
+
+ +
+ +
+ +
+ } + handleSubmit={() => handleSubmit()} + disabled={ + UserType === "Super Admin" ? false : + (tableData.length === 0 || (ADD && methodType === "POST") || (UPDATE && methodType === "PUT")) + } + /> +
+
+
+
+
+ ) +} + +export default AppMenuAccess; \ No newline at end of file diff --git a/src/Pages/appPage/AppPage.jsx b/src/Pages/appPage/AppPage.jsx new file mode 100644 index 0000000..d0e871c --- /dev/null +++ b/src/Pages/appPage/AppPage.jsx @@ -0,0 +1,481 @@ +import "../../styles/appPage/appPage.scss"; +import SideMenu from "../../Components/Menu/SideMenu"; +import CenterPage from "./CenterPage"; +import { getItem, getsubItem } from "../../Components/Menu/SideMenu"; +import { BiHomeSmile } from "react-icons/bi"; +import { FiSettings, FiUserCheck, FiLayout } from "react-icons/fi"; +import { RiUser3Line } from "react-icons/ri"; +import { MdDisplaySettings } from "react-icons/md"; +import { useEffect, useState } from "react"; +import { getSession } from "../../Services/others"; +import { useDispatch, useSelector } from "react-redux"; +import { getPurchasedApp, getAppAccess } from "../../features/homePage/homePage"; +import { MdPayment } from "react-icons/md"; +import { getSuperAdminUserAccess } from "../../features/superAdminAccess/superAdminAccess"; +import { IoBagHandleOutline, IoTicketOutline } from "react-icons/io5"; +import { BranchApplicationNamesSelector, getBranchApplications } from "../../features/branchPage/branchPage"; +import { getuserAppMap } from "../../features/signInPage/signInPage"; + + +const subDirectory = import.meta.env.BASE_URL; + +const AppPage = () => { + + const dispatch = useDispatch(); + const [appData, setAppdata] = useState([]) + const UserId = getSession("UserId"); + const UserType = getSession("UserType"); + + const [application, setApplication] = useState([]) + + const [SadminUserSettingmenu, SetSadminUserSettingmenu] = useState([]); + const [SadminUserPayment, setSadminUserPayment] = useState([]); + const [ApplicationInf, setApplicationInfo] = useState([]); + const [KisokDeviceInfo, setKisokDeviceInfo] = useState([]); + const [AppversionInfo, setAppversionInfo] = useState([]); + const [PaymentDeviceInfo, setPaymentDeviceInfo] = useState([]); + const [ccAvenueMenuData, setccAvenueMenuData] = useState([]); + const [SAdminUser_UserMenu, setSAdminUser_UserMenu] = useState([]); + const [ThemeTemplate, setThemeTemplate] = useState(false); + const [isgodown, setisgodown] = useState(false); + const ApplicationNames = useSelector(BranchApplicationNamesSelector); + + console.log(ApplicationNames?.some((e) => e?.FeatAddonDetails?.some((x) => x?.FeatAddonName == "Warehouse")), ApplicationNames, "ApplicationNames") + useEffect(() => { + fetchAppDetails() + if (UserType === 'Admin') { + dispatch(getBranchApplications(UserId)).unwrap(); + } + else { + if (UserType != 'Admin') { + dispatch(getBranchApplications()).unwrap(); + } + } + }, []) + + + // useEffect(() => { + // if (UserType == 'Admin') { + // getAppData() + // } + + + // async function getAppData() { + // try { + // const res = await dispatch(getuserAppMap({ UserId })).unwrap() + // if (res?.data?.statusCode) { + // setApplication(res?.data?.data) + // } + // } catch (e) { + // console.log('err', e) + // } + // } + + // }, []) + useEffect(() => { + const Appinfo = ApplicationInf?.length > 0 + ? [getsubItem("Application Info", `${subDirectory}setting/submenu`, null, ApplicationInf)] + : []; + const KisokDeviceInfodata = KisokDeviceInfo?.length > 0 + ? [getsubItem("Kisok Device", `${subDirectory}setting/Kisok`, null, KisokDeviceInfo)] : [] + const CCAvenueMenu = ccAvenueMenuData.length > 0 + ? [getsubItem("Payment Gateway", `${subDirectory}setting/payment`, null, ccAvenueMenuData)] + : []; + const PaymentDeviceData = PaymentDeviceInfo.length > 0 + ? [getsubItem("Payment Device", `${subDirectory}setting/Device`, null, PaymentDeviceInfo)] + : []; + const AppVersionInfoData = AppversionInfo.length > 0 + ? [getsubItem("App Version", `${subDirectory}setting/app-version`, null, AppversionInfo)] + : []; + + + + SetSadminUserSettingmenu(prevMenu => [ + ...prevMenu, + ...Appinfo, + ...CCAvenueMenu, + ...KisokDeviceInfodata, + ...PaymentDeviceData, + ...AppVersionInfoData, + + ]); + + + }, [ccAvenueMenuData]); + + + useEffect(function () { + setisgodown(ApplicationNames?.some((e) => e?.FeatAddonDetails?.some((x) => x?.FeatAddonName == "Warehouse")), "ApplicationNames") + + + }, [ApplicationNames]) + const SettingmenuItems = [ + getsubItem("Config Type", `${subDirectory}setting/config-type`), + + getsubItem("Config Master", `${subDirectory}setting/config-master `), + getsubItem( + "App Setup", + `${subDirectory}setting/application-preference-mapping` + ), + getsubItem("Company", `${subDirectory}setting/company-master`), + getsubItem("Branch", `${subDirectory}setting/branch-master`), + getsubItem("Warehouse", `${subDirectory}setting/warehouse-master`), + getsubItem("Tax", `${subDirectory}setting/admin-tax`), + getsubItem("Testimonials", `${subDirectory}setting/testimonials`), + getsubItem("Carousel", `${subDirectory}setting/carousel`), + getsubItem("Currency", `${subDirectory}setting/currency`), + // getsubItem("Feature Pricing", `${subDirectory}setting/featurepricing`), + // getsubItem("Feature", `${subDirectory}setting/feature-master`), + getsubItem( + "Message Template", + `${subDirectory}setting/message-template` + ), + getsubItem("Purchase Info", `${subDirectory}setting/purchaseinfo`), + getsubItem("User App Info", `${subDirectory}setting/abstract`), + getsubItem("Activation Key Generation", `${subDirectory}setting/activationkey-generation`), + getsubItem("SMS-Assigned-Details", `${subDirectory}setting/sms-assigned-detail`), + getsubItem("Gateway Master Configuration", `${subDirectory}setting/gateway-master-configuration/list`), + + ] + + const Usermenu = [ + getsubItem("Add User", `${subDirectory}setting/user-master`), + getsubItem("Common Menu Access", `${subDirectory}setting/super-admin-user-menu-access`), + getsubItem("User Access", `${subDirectory}setting/app-access`), + getsubItem("Application Menu Access", `${subDirectory}setting/app-menu-access`), + getsubItem("Signin Details", `${subDirectory}setting/signin-details`), + getsubItem("User OTP", `${subDirectory}setting/user-otp`), + + ] + const Payment = [ + getsubItem("Payment History", `${subDirectory}setting/payment/payment-history`), + getsubItem("Failed Payment History", `${subDirectory}setting/payment/failed-payment-history`), + + ] + + const PaymentDevice = [ + getsubItem("Payment Device Config", `${subDirectory}setting/payment-device-config`), + + ] + const ApplicationInfo = [ + getsubItem("Application", `${subDirectory}setting/application-master`), + getsubItem("Application Menu", `${subDirectory}setting/app-menu`), + getsubItem("Pricing Type", `${subDirectory}setting/pricing`), + getsubItem("Feature Mapping", `${subDirectory}setting/feature-mapping`), + getsubItem("Feature Pricing", `${subDirectory}setting/featurepricing`), + getsubItem("Feature", `${subDirectory}setting/feature-master`), + getsubItem("Application Image", `${subDirectory}setting/application-image`), + ] + + const KisokDevice = [ + + getsubItem("Device Information", `${subDirectory}setting/device-information`), + getsubItem("Device Allocation", `${subDirectory}setting/device-allocation`), + + ] + const Appversion = [ + + getsubItem("Updated Version", `${subDirectory}setting/updated-version`), + getsubItem("Version Management", `${subDirectory}setting/version-management`) + + + ] + + const PaymentGateway = [ + getsubItem("Payment Gateway Config", `${subDirectory}setting/payment-gateway-config`), + // getsubItem("CCAvenue", `${subDirectory}setting/payment`, null, [ + getsubItem("Payment Data", `${subDirectory}setting/payment-data`), + getsubItem("Payment Method", `${subDirectory}setting/payment-method`), + getsubItem("Payment Details", `${subDirectory}setting/payment-Details`), + // ]), + ] + // const ccAvenueMenuItem = [ + // getsubItem("Payment Data", `${subDirectory}setting/payment-data`), + // getsubItem("Payment Method", `${subDirectory}setting/payment-method`), + // getsubItem("Payment Details", `${subDirectory}setting/payment-Details`), + // ] + + + const SadminUserAccesFilterFun = async (Access) => { + const menuConfig = [ + { items: SettingmenuItems, setter: SetSadminUserSettingmenu }, + { items: Usermenu, setter: setSAdminUser_UserMenu }, + { items: Payment, setter: setSadminUserPayment }, + { items: ApplicationInfo, setter: setApplicationInfo }, + { items: KisokDevice, setter: setKisokDeviceInfo }, + { items: PaymentDevice, setter: setPaymentDeviceInfo }, + { items: Appversion, setter: setAppversionInfo }, + ]; + + menuConfig?.forEach(({ items, setter }) => { + const filteredMenu = filterMenuItems(items, Access); + setter(filteredMenu); + }); + // PaymentGateway + const filterPaymentGatewayItem = filterMenuItems(PaymentGateway, Access); + // const filterccAvenueMenuItem = filterMenuItems(ccAvenueMenuItem, Access); + + setccAvenueMenuData([ + ...filterPaymentGatewayItem.slice(0, 2), + // ...(filterccAvenueMenuItem.length > 0 + // ? [getsubItem("Payment Gateway", `${subDirectory}payment`, null, filterccAvenueMenuItem)] + // : []), + ...filterPaymentGatewayItem.slice(2), + ]); + + }; + + + const filterMenuItems = (menu, configList) => { + return menu?.filter(item => { + const config = configList?.find(config => config?.ConfigName === item?.label && config?.ReadAccess === 'Y'); + return config; + }); + }; + + + const fetchAppDetails = async () => { + let res; + if (UserType == "Employee") { + res = await dispatch(getAppAccess({ UserId })).unwrap(); + } else { + res = await dispatch(getPurchasedApp({ UserId })).unwrap(); + + } + setAppdata(res?.data?.data) + if (UserType === "Super Admin User") { + let response = await dispatch(getSuperAdminUserAccess({ UserId })).unwrap() + if (response?.data?.statusCode === 1) { + SadminUserAccesFilterFun(response?.data?.data?.[0]?.SuperAdminUserAccessDetails) + let data = response?.data?.data?.[0]?.SuperAdminUserAccessDetails; + setThemeTemplate(data?.find(config => config.ConfigName === "Templates" && config?.ReadAccess === 'Y')); + } + + } + } + + + const items = [ + ApplicationNames.length > 0 && getItem( + "My Apps", + `${subDirectory}landing-page/home`, + + ), + ]; + + if (UserType === "Super Admin") { + // Additional items for Super Admin and Super Admin User + items.push( + getItem("Master", `${subDirectory}setting`, , [ + getsubItem("Config Type", `${subDirectory}setting/config-type`), + getsubItem("Config Master", `${subDirectory}setting/config-master`), + getsubItem( + "App Setup", + `${subDirectory}setting/application-preference-mapping` + ), + getsubItem("Tax", `${subDirectory}setting/admin-tax`), + getsubItem("Currency", `${subDirectory}setting/currency`), + getsubItem("Application Info", `${subDirectory}setting/submenu`, null, [ + getsubItem( + "Application", + `${subDirectory}setting/application-master` + ), + + getsubItem("Pricing Type", `${subDirectory}setting/pricing`), + getsubItem("Feature", `${subDirectory}setting/feature-master`), + getsubItem( + "Feature Mapping", + `${subDirectory}setting/feature-mapping` + ), + getsubItem("Feature Pricing", `${subDirectory}setting/featurepricing`), + getsubItem( + "Application Image", + `${subDirectory}setting/application-image` + ), + getsubItem("Application Menu", `${subDirectory}setting/app-menu`), + ]), + getsubItem( + "Company", + `${subDirectory}setting/company-master` + ), + getsubItem("Branch", `${subDirectory}setting/branch-master`), + getsubItem("Warehouse", `${subDirectory}setting/warehouse-master`), + + getsubItem("Carousel", `${subDirectory}setting/carousel`), + getsubItem( + "Message Template", + `${subDirectory}setting/message-template` + ), + + getsubItem("Kisok Device", `${subDirectory}setting/Kisok`, null, [ + getsubItem("Device Information", `${subDirectory}setting/device-information`), + getsubItem("Device Allocation", `${subDirectory}setting/device-allocation`), + + ]), + getsubItem("Payment Gateway", `${subDirectory}setting/payment`, null, [ + getsubItem("Payment Gateway Config", `${subDirectory}setting/payment-gateway-config`), + // getsubItem("CCAvenue", `${subDirectory}setting/payment`, null, [ + getsubItem("Payment Data", `${subDirectory}setting/payment-data`), + getsubItem("Payment Method", `${subDirectory}setting/payment-method`), + getsubItem("Payment Details", `${subDirectory}setting/payment-Details`), + // ]), + + ]), + getsubItem("Payment Device", ``, null, [ + getsubItem("Payment Device Config", `${subDirectory}setting/payment-device-config`), + + ]), + getsubItem("Testimonials", `${subDirectory}setting/testimonials`), + + getsubItem("App Version", `${subDirectory}setting/app-version`, null, [ + getsubItem("Updated Version", `${subDirectory}setting/updated-version`), + getsubItem("Version Management", `${subDirectory}setting/version-management`), + + ]), + getsubItem("Referral Setting", `${subDirectory}setting/referral-setting`), + getsubItem("Employee Referrer", `${subDirectory}setting/reffered-employee`), + getsubItem("Purchase Info", `${subDirectory}setting/purchaseinfo`), + getsubItem("Site Visit Records ", `${subDirectory}setting/SiteVisitRecords`), + getsubItem("User App Info", `${subDirectory}setting/abstract`), + getsubItem("Activation Key Generation", `${subDirectory}setting/activationkey-generation`), + getsubItem("SMS-Assigned-Details", `${subDirectory}setting/sms-assigned-detail`), + getsubItem("Gateway Master Configuration", `${subDirectory}setting/gateway-master-configuration/list`), + + + + + + ]), + getItem("User ", `${subDirectory}setting/user`, , [ + getsubItem("Add User", `${subDirectory}setting/user-master`), + getsubItem("User Access", `${subDirectory}setting/app-access`), + getsubItem("Common Menu Access", `${subDirectory}setting/super-admin-user-menu-access`), + getsubItem("Application Menu Access", `${subDirectory}setting/app-menu-access`), + getsubItem("Signin Details", `${subDirectory}setting/signin-details`), + getsubItem("User OTP", `${subDirectory}setting/user-otp`), + + ]), + getItem( + "My Profile", + `${subDirectory}landing-page/user-account`, + + ), + getItem( + "Tickets", + `${subDirectory}setting/tickets-details`, + + + ), + getItem("Payment", `${subDirectory}`, , [ + getsubItem("Payment History", `${subDirectory}setting/payment/payment-history`), + getsubItem("Failed Payment History", `${subDirectory}setting/payment/failed-payment-history`), + ]), + getItem("Themes / Templates", `${subDirectory}setting/themes`, ), + getItem("Admin Panel", `${subDirectory}adminpanel`, ) + ); + } + else if (UserType === "Super Admin User") { + + items.push( + SadminUserSettingmenu?.length > 0 && + getItem('Master', `${subDirectory}setting`, , + SadminUserSettingmenu + ), + SAdminUser_UserMenu?.length > 0 && + getItem("User ", `${subDirectory}setting/user`, , + SAdminUser_UserMenu), + + getItem( + "My Profile", + `${subDirectory}landing-page/user-account`, + + ), + getItem( + "Tickets", + `${subDirectory}setting/tickets-details`, + + + ), + + SadminUserPayment?.length > 0 && + getItem("Payment", `${subDirectory}`, , + SadminUserPayment), + + ThemeTemplate && + getItem("Themes / Templates", `${subDirectory}setting/themes`, ), + + + ) + } + else if (UserType === "Admin" || UserType === "Admin User") { + items.push( + ApplicationNames.length > 0 ? + getItem("Master", `${subDirectory}setting`, , [ + getsubItem( + "Company", + `${subDirectory}setting/company-master` + ), + getsubItem("Branch", `${subDirectory}setting/branch-master`), + // appData?.[0]?.PricingName !== 'Free' && getsubItem("Feature Addon", `${subDirectory}setting/feat-addon`), + isgodown && getsubItem("Warehouse", `${subDirectory}setting/warehouse-master`), + ApplicationNames.length > 0 ? getItem("User ", `${subDirectory}setting/user`, "", [ + getsubItem("Add User", `${subDirectory}setting/user-master`), + getsubItem("User Access", `${subDirectory}setting/app-access`), + + ]) : '', + ]) : '', + + // getItem(`Buy ${ApplicationNames.length > 0 ? 'More' :'Apps'}`, `${subDirectory}landing-page/apps`, ) + getItem("Buy ", `${subDirectory}setting/Buy`, , [ + getsubItem("More Apps", `${subDirectory}landing-page/apps`), + getsubItem("Addon Features", `${subDirectory}setting/feat-addon`), + + ]), + + ApplicationNames.length > 0 ? getItem("Payment History", `${subDirectory}setting/payment/payment-history`, , + // [ + // getsubItem("Payment History", `${subDirectory}setting/payment/payment-history`), + // getsubItem("Apps", null, null, + // appData?.map(app => + // getsubItem(app?.AppName, `${subDirectory}${app?.AppName}`) + // ) + // ) + // ] + ) + : '', + + getItem( + "My Profile", + `${subDirectory}landing-page/user-account`, + , null, 'bottom' + ), + ); + } else if (UserType === "Employee") { + items.push( + getItem("Master", `${subDirectory}setting`, , [ + appData?.[0]?.PricingName !== 'Free' && getsubItem("Feature Addon", `${subDirectory}setting/feat-addon`), + ]), + getItem( + "My Profile", + `${subDirectory}landing-page/user-account`, + + ), + ) + } else if (UserType === "Marketing") { + items?.splice(0, 1); + items?.push(getItem("Admin Panel", `${subDirectory}adminpanel`, )) + } + + return ( +
+
+ +
+
+ +
+
+ ); +}; + +export default AppPage; diff --git a/src/Pages/appPage/CenterPage.jsx b/src/Pages/appPage/CenterPage.jsx new file mode 100644 index 0000000..0376159 --- /dev/null +++ b/src/Pages/appPage/CenterPage.jsx @@ -0,0 +1,52 @@ +import { Outlet, Link } from 'react-router-dom' +import { Breadcrumb } from 'antd'; +import { useSelector } from 'react-redux' +import { breadCrumbSelector } from '../../features/appPage/centerPage'; +import { getSession } from "../../Services/others"; + +const CenterPage = () => { + const breadCrumb = useSelector(breadCrumbSelector) + const MobileNo = getSession("MobileNo"); + const UserName = getSession("userName"); + const UserType = getSession("UserType"); + + + return ( +
+ +
+
+ {breadCrumb?.length > 0 && ( + ({ + title: + eachItem.link && eachItem.link !== location.pathname ? ( + {eachItem.name} + ) : ( + {eachItem.name} // ✅ no routing if same path + ) + }))} + /> + )} +
+
+

+ {UserName ? UserName : MobileNo ? MobileNo : "Guest"} {UserType} + + +
+ +
+ +
+ +
+
+ ) +} + +export default CenterPage; \ No newline at end of file diff --git a/src/Pages/appPriceFeatureMapping/appPriceFeatureMappingForm.jsx b/src/Pages/appPriceFeatureMapping/appPriceFeatureMappingForm.jsx new file mode 100644 index 0000000..329137a --- /dev/null +++ b/src/Pages/appPriceFeatureMapping/appPriceFeatureMappingForm.jsx @@ -0,0 +1,300 @@ +import { useState, useEffect, useRef } from "react"; +import { useDispatch } from "react-redux"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { ArrowRightOutlined } from "@ant-design/icons"; +import { Messages } from "../../Components/Notifications/Messages"; +import { Form } from "antd"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { DropDowns } from "../../Components/Forms/DropDown.jsx"; +import { Checkbox, Col, Row } from "antd"; +import { + getApplication, + getPricingType, + getFeatureList, + postFeatureMapping + +} from "../../features/featureMapping/featureMapping.js"; +import { getSession } from "../../Services/others"; +import { useNavigate, useLocation } from "react-router-dom"; +const subDirectory = import.meta.env.BASE_URL; + + +const AppPriceFeatureMappingForm = ({ formType }) => { + const formRef = useRef(null); + const dispatch = useDispatch(); + const navigate = useNavigate(); + const location = useLocation(); + const state = location?.state; + const editstate = state?.editstate; + + const [featureDetails, setfeatureDetails] = useState(editstate ? editstate?.FeatDetails: []); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [appDropDown, setappDropDown] = useState([]); + const [priceDropDown, setpriceDropDown] = useState([]); + const [FeatureList, setFeatureList] = useState([]); + const [selectedValues, setselectedValues] = useState([]); + const [selectedAppData, setSelectedAppData] = useState( + editstate ? editstate.AppId : null + ); + const [selectedPriceDropDown, setselectedPriceDropDown] = useState( + editstate ? editstate.PricingId : null + ); + const [checkedList, setCheckedList] = useState(editstate ? editstate.FeatDetails?.map(a=>a.FeatId) : []); +console.log(FeatureList,"FeatureListFeatureListFeatureListFeatureList") + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "FeatureMapping", + link: `${subDirectory}setting/feature-mapping`, + }, + { + name: editstate ? "Edit" : "New", + link: null + + }, + ]; + + useEffect(()=>{ + if(selectedAppData){ + featureList(selectedAppData) + + } + },[selectedAppData]) + + const onChange = (checkedValues) => { + setselectedValues(checkedValues) + const arr =checkedValues + setCheckedList(arr) + + const obj=arr.map(d=>({"FeatId":d})) + setfeatureDetails(obj) + }; + + const onFinish = async (values) => { + let postData = values; + postData["CreatedBy"] = getSession("UserId"); + + + let response = {}; + if (formType === "add") { + postData["AppId"] = values.AppName; + postData["PricingId"] = values.PriceName; + postData["FeatDetails"]=featureDetails + response = await dispatch(postFeatureMapping(postData)).unwrap(); + } + else if (formType === "edit") { + if (editstate) { + postData["AppId"] = selectedAppData; + postData["PricingId"] = values.PriceName; + postData["FeatDetails"]=featureDetails + } + postData["UpdatedBy"] = getSession("UserId"); + + response = await dispatch(postFeatureMapping(postData)).unwrap(); + } + + if (response?.data?.statusCode == 1) { + navigate(`${subDirectory}setting/feature-mapping/`, { + state: { + Notiffy: { + messageType: "success", + messageData: response?.data?.response, + }, + }, + }); + } else { + setMessageType("error"); + setMessageData(response?.data?.response); + } + }; + + async function fetchData() { + + const gettingappDropDown = await dispatch(getApplication()).unwrap(); + if (gettingappDropDown.data?.statusCode === 1) { + let finalAppDropDowndata = gettingappDropDown.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setappDropDown(finalAppDropDowndata); + } + } + + useEffect(() => { + try { + fetchData(); + if (formType === "edit") { + if (editstate) { + appDropDownChange(editstate.AppId); + priceDropDownChange(editstate.PricingId) + setselectedValues(editstate ? editstate.FeatDetails?.map(a=>a.FeatId) : []) + formRef.current?.setFieldsValue( + editstate + ); + } else { + navigate(`${subDirectory}setting/feature-mapping/`); + } + } + } catch (err) { + console.log(err, "err"); + } + }, []); + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + }, []); + + const appDropDownChange = async (e) => { + formRef.current?.setFieldsValue({AppName:e}); + setSelectedAppData(e) + + const gettingpriceDropDown = await dispatch(getPricingType(e)).unwrap(); + if (gettingpriceDropDown.data?.statusCode === 1) { + let finalpriceDropDowndata = gettingpriceDropDown.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setpriceDropDown(finalpriceDropDowndata); + } + }; + + const featureList=async(e)=>{ + const gettingFeatureList =await dispatch(getFeatureList(e)).unwrap(); + if (gettingFeatureList.data?.statusCode === 1) { + let finalFeatureList = gettingFeatureList.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setFeatureList(finalFeatureList); + } + else{ + setFeatureList([]); + } + } + const priceDropDownChange = async (e) => { + formRef.current?.setFieldsValue({PriceName:e}); + setselectedPriceDropDown(e) + + + }; + const selectedFeatNames = FeatureList + ?.filter(item => checkedList?.includes(item.FeatId)) + ?.map(item => item.FeatName); + return ( +
+
+
+ +
+ +
+ +
+
+
+
+ + ({ + value: option.AppId, + label: option.AppName, + }))} + label="App Name" + id="AppName" + onChangeFunction={(e) => appDropDownChange(e)} + valueData={selectedAppData} + isOnchanges={formType == "edit" ? true : false} + + optionsNames={{ value: "AppId", label: "AppName" }} + className="field-DropDown" + /> + + + + ({ + value: option.PricingId, + label: option.PricingName+' (' + (option.NoOfDays > 35 ? "Yearly" : "Monthly")+')', + })) + } + + label="Price Name" + id="PriceName" + onChangeFunction={(e) => priceDropDownChange(e)} + valueData={selectedPriceDropDown} + isOnchanges={formType == "edit" ? true : false} + optionsNames={{ value: "PricingId", label: "PricingName" }} + className="field-DropDown" + /> + + + +
+
+ {FeatureList.length > 0 ? + + +
+
+

Feature List

+
+ + + + + {FeatureList?.map((value,key)=> + value.CoreAddon == 1 ? ( +
+ + {value.FeatName}{" - "}{value.FeatConstraint} + + + ) : null + )} + + + + + :null} + + + {selectedValues.length > 0? ( +
+ } + /> +
+ ) : null} + + + + + + ); +}; + +export default AppPriceFeatureMappingForm; diff --git a/src/Pages/appPriceFeatureMapping/appPriceFeatureMappingList.jsx b/src/Pages/appPriceFeatureMapping/appPriceFeatureMappingList.jsx new file mode 100644 index 0000000..247580f --- /dev/null +++ b/src/Pages/appPriceFeatureMapping/appPriceFeatureMappingList.jsx @@ -0,0 +1,277 @@ +import { useState, useEffect, useCallback } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import { Space } from "antd"; +import { EditFilled, DeleteFilled, ReloadOutlined } from "@ant-design/icons"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { Tables } from "../../Components/Tables/Table"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import Search from "../../Components/Forms/Search.jsx"; +import Buttons from '../../Components/Forms/Buttons'; +import { PlusOutlined } from '@ant-design/icons'; +import { Messages } from "../../Components/Notifications/Messages"; +import { useNavigate, useLocation } from "react-router-dom"; +import { getSession } from "../../Services/others"; +import { getpricingAppFeatMap, deleteFeatureMapping } from "../../features/featureMapping/featureMapping.js"; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; + + +const subDirectory = import.meta.env.BASE_URL + + +const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "FeatureMapping", + link: `${subDirectory}setting/feature-mapping`, + }, +]; + +const AppPriceFeatureMapping = () => { + const navigate = useNavigate(); + const location = useLocation(); + const dispatch = useDispatch(); + + const SuperAdminUserAccess = useSelector(SuperAdminUserAccessDataSelector) + + + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [TableData, setTableData] = useState([]); + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [page, setpage] = useState(1); + const UserType = getSession("UserType"); + + + async function fetchData() { + const gettingTableData = await dispatch(getpricingAppFeatMap()).unwrap(); + if (gettingTableData.data?.statusCode === 1) { + + await setTableData(gettingTableData.data?.data?.filter(a => a.ActiveStatus === 'A')); + } + } + + useEffect(() => { + try { + if (location?.state?.Notiffy) { + setMessageType(location?.state?.Notiffy.messageType) + setMessageData(location?.state?.Notiffy.messageData) + + } + fetchData(); + + } catch (err) { + console.log(err, "err"); + } + }, []); + + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + }, []); + + + const handleChange = (pagination, filters, sorter) => { + + setSortedInfo(sorter); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + + const onSearch = (value) => { + setSearchedText(value) + } + const onSearchChange = (e) => { + setSearchedText(e?.target?.value) + } + + //edit + const actionsFormatter = async (row, rowIndex) => { + if (row.ActiveStatus !== "D") { + navigate(`${subDirectory}setting/feature-mapping/update`, + { state: { editstate: row } }, + { key: rowIndex } + ) + + } + + }; + //Delete + const statusFormatter = async (row) => { + let deleteData = { + AppId: row.AppId, + PricingId: row.PricingId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession('UserId') + }; + let response = await dispatch(deleteFeatureMapping(deleteData)).unwrap() + if (response?.data?.statusCode == 1) { + + setMessageType("success") + setMessageData(row.ActiveStatus == "A" ? "Feature Mapping Deleted Successfully" : "Feature Mapping Activated Successfully") + fetchData(); + } + }; + + const columns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "100px", + + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "App Name", + dataIndex: "AppName", + key: "AppName", + align: "left", + width: "200px", + render: (text) => ( + {text} + ), + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.AppName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.PricingName) + .toLowerCase() + .includes(value.toLowerCase()) + + ) + }, + + sorter: (a, b) => a?.AppName?.localeCompare(b.AppName), + sortOrder: sortedInfo.columnKey === "AppName" ? sortedInfo.order : null, + ellipsis: true, + }, + + + { + title: "Pricing Name", + dataIndex: "PricingName", + key: "PricingName", + align: "left", + width: "200px", + // render: (text) => {text}, + render: (text, row) => ( + {row.PricingName}{' (' + (row.NoOfDays > 35 ? "Yearly" : "Monthly") + ')'} + ), + sorter: (a, b) => a?.PricingName?.localeCompare(b.PricingName), + sortOrder: + sortedInfo.columnKey === "PricingName" ? sortedInfo.order : null, + ellipsis: true, + }, + + { + title: "Action", + key: "Action", + dataIndex: "Action", + align: "center", + width: "200px", + render: (_, record, index) => + TableData.length >= 1 ? ( + + + {record.ActiveStatus === "A" ? + actionsFormatter(record,index)} + onClick={() => ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Feature Mapping")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : " " + )} + + /> + : ""} + + {record.ActiveStatus === "A" ? ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Feature Mapping")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> : ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Feature Mapping")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> + } + + + + ) : null, + }, + ]; + const data = TableData; + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + + }, []) + + const handelAddButton = () => { + navigate(`${subDirectory}setting/feature-mapping/new`) + } + + return ( +
+
+ +
+
+ +
+
+
+ +
+ handelAddButton()} + color="901D77" + icon={} + disabled={ + UserType === "Super Admin" + ? false + : SuperAdminUserAccess?.find((e) => e?.ConfigName === "Feature Mapping")?.AddAccess === "N" + } + > + OPEN + +
+
+
+ +
+
+
+ ); +}; + +export default AppPriceFeatureMapping; diff --git a/src/Pages/application/applicationForm.jsx b/src/Pages/application/applicationForm.jsx new file mode 100644 index 0000000..716c6a7 --- /dev/null +++ b/src/Pages/application/applicationForm.jsx @@ -0,0 +1,464 @@ +import { useState, useEffect, useRef, useCallback } from 'react'; +import { useDispatch, useSelector } from 'react-redux' +import { useLocation, useNavigate } from 'react-router-dom'; +import { Form, Tooltip, Switch } from "antd"; +import { ArrowRightOutlined, InfoCircleOutlined } from "@ant-design/icons"; +import { InputField } from "../../Components/Forms/InputField.jsx"; +import { TextAreaInput } from "../../Components/Forms/TextArea.jsx"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { Messages } from "../../Components/Notifications/Messages"; +import Imageupload from "../../Components/Forms/Upload.jsx"; +import { DropDowns } from '../../Components/Forms/DropDown.jsx'; +import FormHeader from '../pageComponents/FormHeader.jsx'; +import { DefaultModal } from '../../Components/Modal/DefaultModal.jsx'; +import { changeBreadCrumb } from '../../features/appPage/centerPage.js'; +import { onlineimages, uploadImage } from '../../features/applications/bannerImage.js' +import { + getCategoryData, + getSubCategoryData, + categoryActiveDataSelector, + subCategoryActiveDataSelector, + postApplicationData, + putApplicationData +} from "../../features/applicationPage/applicationPage.js"; +import { getSession, validateSafeInput } from "../../Services/others"; + +const subDirectory = import.meta.env.ENV_BASE_URL +const homepageurl = import.meta.env.ENV_MAIN_REDIRECT_URL; + +const ApplicationForm = ({ formType }) => { + + const navigate = useNavigate(); + const dispatch = useDispatch(); + const location = useLocation(); + const formRef = useRef(null); + const state = location?.state + const editstate = state?.editstate + const categoryData = useSelector(categoryActiveDataSelector) + const subCategoryData = useSelector(subCategoryActiveDataSelector) + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [SelectedCategory, setSelectedCategory] = useState(null); + const [SelectedSubCategory, setSelectedSubCategory] = useState(null); + const [imageUrl, setImageUrl] = useState(''); + const [onlineLogo, setOnlineLogo] = useState(false); + const [imagedata, setimagedata] = useState(); + const [selectedImage, setSelectedImage] = useState(); + const [onlinelogoImage, setOnlinelogoImage] = useState(); + + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "Application", + link: `${subDirectory}setting/application-master/`, + }, + { + name: editstate ? "Edit" : "New", + link: null + }, + + ]; + + + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + dispatch(getCategoryData()).unwrap() + dispatch(getSubCategoryData()).unwrap() + OnlineImageCall(); + if (editstate) { + setImageUrl(editstate?.AppLogo) + formRef.current?.setFieldsValue({ CateId: editstate.CateId, SubCateId: editstate.SubCateId }) + setSelectedCategory(editstate.CateId) + setSelectedSubCategory(editstate.SubCateId) + } + + }, []); + const OnlineImageCall = async () => { + let Appname = formRef?.current?.getFieldsValue().AppName; + if (Appname !== null && Appname !== undefined) { + let response = await dispatch(onlineimages(formRef?.current?.getFieldsValue().AppName)).unwrap(); + setimagedata(response?.data?.data); + } + } + + + const onFinish = async (values) => { + let postData = {}; + postData["AppDescription"] = values.AppDescription; + postData["AppId"] = values.AppId; + postData["AppURLType"] = SelectedCategory == categoryData?.filter(item => item?.ConfigName == "Retail")[0]?.ConfigId ? 'I' : 'E';; + postData["AppLogo"] = imageUrl; + postData["AppName"] = values.AppName; + postData["AppURL"] = SelectedCategory == categoryData?.filter(item => item?.ConfigName == "Retail")[0]?.ConfigId ? URLToggle ? homepageurl : values.AppURL : values.AppURL; + postData["CateId"] = values.CateId; + postData["CreatedBy"] = getSession('UserId') + postData["SubCateId"] = values.SubCateId; + postData["UpdatedBy"] = values.UpdatedBy; + let response = {} + if (formType === "add") { + try { + response = await dispatch(postApplicationData(postData)).unwrap() + } + catch (err) { + console.log(err, "err"); + if (err["message"] == "Request failed with status code 422") { + response = { + data: { + "statusCode": 0, + "response": "Please Give Required Fields", + 'data': [] + } + } + } + } + + } + else if (formType === "edit") { + + postData["AppId"] = editstate?.AppId + postData["UpdatedBy"] = getSession('UserId') + try { + response = await dispatch(putApplicationData(postData)).unwrap() + } catch (err) { + console.log(err, "err"); + if (err["message"] == "Request failed with status code 422") { + response = { + data: { + "statusCode": 0, + "response": "Please Give Required Fields", + 'data': [] + } + } + } + } + } + if (response?.data?.statusCode == 1) { + navigate(`${subDirectory}setting/application-master/`, { + state: { + Notiffy: { + messageType: "success", + messageData: response?.data?.response, + + } + } + }) + } else { + setMessageType("error") + setMessageData(response?.data?.response) + } + }; + + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + + + }, []) + + const selectCategory = async (e) => { + formRef.current?.setFieldsValue({ CateId: e }) + await setSelectedCategory(e) + + } + const selectSubCategory = async (e) => { + formRef.current?.setFieldsValue({ SubCateId: e }) + await setSelectedSubCategory(e) + } + + + + const addLogo = () => { + let Appname = formRef?.current?.getFieldsValue().AppName + if (Appname !== null && Appname !== undefined) { + OnlineImageCall() + setOnlineLogo(true) + } + else { + setMessageType("error") + setMessageData("Eneter Application Name") + } + } + + + const Logosubmit = async () => { + let response = await fetch(selectedImage.image); + + let data = await response.blob(); + let metadata = { + type: "image/jpeg", + }; + + let file = new File([data], "image.jpg", metadata); + let uploadImgData = await dispatch(uploadImage(file)).unwrap() + if (uploadImgData?.data?.status) { + setOnlinelogoImage(uploadImgData?.data?.image) + setImageUrl(uploadImgData?.data?.image) + } + setOnlineLogo(false); + } + + const [URLToggle, setURLTogglel] = useState(false); + const onChange = (checked) => { + console.log(`switch to ${checked}`); + setURLTogglel(checked); + }; + + formType == "edit" && editstate?.AppUrlType !== 'I' ? formRef?.current?.setFieldsValue({ AppURL: editstate?.AppUrl }) : ''; + return ( +
+
+
+ +
+ +
+
+
+
+
+ { + await validateSafeInput(value); + + if (value && !/^.{1,50}$/.test(value)) { + return Promise.reject("Application Name must be 1 to 50 characters."); + } + + return Promise.resolve(); + }, + }, + ]} + + > + Application Name } + fieldState={true} + fieldApi={true} + isOnChange={formType == "edit" ? true : false} + /> + + + ({ + value: option.ConfigId, + label: option.ConfigName, + }))} + label={} + onChangeFunction={selectCategory} + optionsNames={{ value: "ConfigId", label: "ConfigName" }} + className='field-DropDown' + isOnchanges={(formType == "edit" || SelectedCategory) ? true : false} + valueData={SelectedCategory} + disabled={formType == "edit" ? true : false} + /> + + + ({ + value: option.ConfigId, + label: option.ConfigName, + }))} + label={} + onChangeFunction={selectSubCategory} + optionsNames={{ value: "ConfigId", label: "ConfigName" }} + className='field-DropDown' + isOnchanges={(formType == "edit" || SelectedSubCategory) ? true : false} + valueData={SelectedSubCategory} + disabled={formType == "edit" ? true : false} + + /> + + { + await validateSafeInput(value); + return Promise.resolve(); + }, + }, + ]}> + + + + + +
+

Upload Logo

+ + +
+ + + { + SelectedCategory == null ? '' : + SelectedCategory == categoryData?.filter(item => item?.ConfigName == "Retail")?.[0]?.ConfigId ? + <> +
Retail URL :
+ {URLToggle ? +
+

URL:

+

https://pozo.app{homepageurl}

+
: + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + 0 ? true : false} + suffix={ + + } + /> + } + + : + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + className='appUrlInput' + > + 0 ? true : false} + suffix={ + + } + /> + } +
+
+
+ } + /> +
+ +
+
+
+ +
+ {imagedata?.map((item, index) => ( +
setSelectedImage(item)} + > + no image +
+ ))} +
+ + } + handleSubmit={Logosubmit} + handleCancel={() => { setOnlineLogo(false) }} + >
+
+ ); +} + +export default ApplicationForm; \ No newline at end of file diff --git a/src/Pages/application/applicationList.jsx b/src/Pages/application/applicationList.jsx new file mode 100644 index 0000000..ec4017f --- /dev/null +++ b/src/Pages/application/applicationList.jsx @@ -0,0 +1,268 @@ +import { useState, useEffect,useCallback} from 'react'; +import { useDispatch,useSelector } from 'react-redux'; +import { useNavigate,useLocation } from 'react-router-dom'; +import { Space} from "antd"; +import { EditFilled, DeleteFilled,PlusOutlined,ReloadOutlined} from "@ant-design/icons"; +import { Tables } from "../../Components/Tables/Table"; +import { Search } from "../../Components/Forms/Search"; +import Buttons from '../../Components/Forms/Buttons'; +import { Messages } from "../../Components/Notifications/Messages"; +import FormHeader from '../pageComponents/FormHeader.jsx'; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import {applicationDataSelector, getApplicationData,deleteApplicationData} from "../../features/applicationPage/applicationPage.js" +import { getSession } from "../../Services/others"; +import { SuperAdminUserAccessDataSelector } from '../../features/superAdminAccess/superAdminAccess.js'; + +const subDirectory = import.meta.env.ENV_BASE_URL + +const ApplicationList = () => { + const navigateTo = useNavigate(); + const dispatch = useDispatch(); + const location = useLocation(); + const applicationData=useSelector(applicationDataSelector) + const SuperAdminUserAccess=useSelector(SuperAdminUserAccessDataSelector) + const UserType = getSession("UserType") + + //local states + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [page, setpage] = useState(1); + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "Application", + link: `${subDirectory}setting/application-master`, + }, + + ]; + + useEffect(() => { + try { + dispatch(changeBreadCrumb({ items: items })); + dispatch(getApplicationData()).unwrap(); + if(location?.state?.Notiffy){ + setMessageType(location?.state?.Notiffy.messageType) + setMessageData(location?.state?.Notiffy.messageData) + + } + } catch (err) { + console.log(err, "err"); + } + }, []); + + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + + + }, []) + + const actionsFormatter = async (row,rowIndex) => { + if (row.ActiveStatus !== "D") { + navigateTo(`${subDirectory}setting/application-master/update`, + {state:{editstate: row}}, + {key:rowIndex} + ) + + } + + }; + + const statusFormatter = async (row) => { + let deleteData = { + AppId: row.AppId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession('UserId') + }; + let response=await dispatch(deleteApplicationData(deleteData)).unwrap() + if (response?.data?.statusCode == 1){ + dispatch(getApplicationData()).unwrap() + setMessageType("success") + setMessageData(row.ActiveStatus == "A" ? "Application In-Activated Successfully": "Application Activated Successfully") + } + }; + + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + const handlePageChange = (current) => { + setpage(current); + }; + + const onSearch = (value) => { + setSearchedText(value) + } + const onSearchChange =(e) => { + setSearchedText(e?.target?.value) + } + const columns = [ + { + title: "Si.No", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + + { + title: "Application Name", + dataIndex: "AppName", + key: "AppName", + width: "200px", + align: "left", + render: (text) => ( + {text} + ), + filteredValue: [searchedText], + onFilter: (value, record) => {return ( + String(record.AppName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.CateName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.SubCateName) + .toLowerCase() + .includes(value.toLowerCase()) + )}, + + sorter: (a, b) =>a?.AppName?.localeCompare(b.AppName), + sortOrder: sortedInfo.columnKey === "AppName" ? sortedInfo.order : null, + ellipsis: true, + + }, + { + title: "Module", + dataIndex: "CategoryName", + key: "CategoryName", + align: "left", + width: "200px", + render: (text) => {text}, + sorter: (a, b) => a?.CategoryName?.localeCompare(b.CategoryName), + sortOrder: + sortedInfo.columnKey === "CategoryName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Sub Module", + dataIndex: "SubCategoryName", + key: "SubCategoryName", + align: "left", + width: "200px", + render: (text) => {text}, + sorter: (a, b) => a?.SubCategoryName?.localeCompare(b.SubCategoryName), + sortOrder: + sortedInfo.columnKey === "SubCategoryName" ? sortedInfo.order : null, + ellipsis: true, + }, + + { + title: "Action", + key: "Action", + dataIndex: "Action", + width: "200px", + align: "center", + render: (_, record,index) => + applicationData.length >= 1 ? ( + + {record.ActiveStatus === "A" ? + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Application")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : "" + )} + /> + : "" } + + {record.ActiveStatus === "A" ? ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Application")?.DeleteAccess === "Y") + ? statusFormatter(record) + : "" + )} + /> : ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Application")?.DeleteAccess === "Y") + ? statusFormatter(record) + : "" + )} + /> + } + + + + ) : null, + }, + ]; + + const handelAddButton=()=>{ + navigateTo(`${subDirectory}setting/application-master/new`) + } + + + return ( +
+
+ +
+
+ +
+
+
+ +
+ handelAddButton()} + color="901D77" + icon={} + disabled={UserType === "Super Admin" + ? false + :SuperAdminUserAccess?.find((e) => e?.ConfigName === "Application")?.AddAccess === "N"} + + > + OPEN + +
+
+ + +
+ {" "} +
+ +
+
+ ); + +} + +export default ApplicationList; \ No newline at end of file diff --git a/src/Pages/applicationImage/applicationImageForm.jsx b/src/Pages/applicationImage/applicationImageForm.jsx new file mode 100644 index 0000000..1030e3a --- /dev/null +++ b/src/Pages/applicationImage/applicationImageForm.jsx @@ -0,0 +1,503 @@ +import { useState, useEffect, useRef,useCallback } from "react"; +import { useDispatch,useSelector } from "react-redux"; +import { Form ,Space} from "antd"; +import defaultImage from '../../Images/defaultImage.png'; +import { ArrowRightOutlined,PlusOutlined,EditFilled, DeleteFilled,ReloadOutlined } from "@ant-design/icons"; +import { InputField } from "../../Components/Forms/InputField.jsx"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { Messages } from "../../Components/Notifications/Messages"; +import { RadioGrpButton } from "../../Components/Forms/RadioGroup.jsx"; +import Imageupload from "../../Components/Forms/Upload.jsx"; +import { Drawers } from "../../Components/Drawer/Drawer.jsx"; +import { Tables } from "../../Components/Tables/Table"; +import { DropDowns } from '../../Components/Forms/DropDown.jsx'; +import { Search } from "../../Components/Forms/Search"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { + applicationImageDataSelector, + getApplicationImageData, + postApplicationImageData, + putApplicationImageData, + deleteApplicationImageData + } + from "../../features/applicationImagePage/applicationImagePage.js" +import {applicationActiveDataSelector, getActiveApplicationData} from "../../features/applicationPage/applicationPage.js" +import { getSession, validateSafeInput } from "../../Services/others"; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; + +const subDirectory = import.meta.env.ENV_BASE_URL + +const ApplicationImageForm = () => { + + const formRef = useRef(null); + const dispatch = useDispatch(); + const applicationData=useSelector(applicationActiveDataSelector) + const applicationImageData=useSelector(applicationImageDataSelector) + const SuperAdminUserAccess=useSelector(SuperAdminUserAccessDataSelector) + const UserType = getSession("UserType"); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [drawerOpen, setDrawerOpen] = useState(false); + const [sortedInfo, setSortedInfo] = useState({}); + const [SelectedApplication, setSelectedApplication] = useState(null); + const [searchedText, setSearchedText] = useState(""); + const [imageUrl, setImageUrl] = useState([]); + + const [editstate, setEditstate] = useState({}); + const [formType, setFormType] = useState('add'); + const [imageType, setImageType] = useState("I"); + const [page, setpage] = useState(1); + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + + + ]; + + useEffect(() => { + try { + dispatch(changeBreadCrumb({ items: items })); + dispatch(getApplicationImageData()).unwrap() + dispatch(getActiveApplicationData()).unwrap() + + } catch (err) { + console.log(err, "err"); + } + }, []); + + + useEffect(() => { + try { + if(applicationData.length===1){ + selectApplication(applicationData[0]?.["AppId"]) + } + + } catch (err) { + console.log(err, "err"); + } + }, [SelectedApplication,applicationData]); + + useEffect(() => { + if (editstate && Object.keys(editstate).length > 0) { + formRef.current?.setFieldsValue({ + AppId: editstate.AppId, + ImageName: editstate.ImageName, + ImageType: editstate.ImageType, + }); + setImageUrl(editstate?.ImageLink || ""); + } + }, [editstate]); + + + + + const showDrawer = () => { + if (Object.keys(editstate).length > 0) { + setFormType("edit"); + setDrawerOpen(true); + } else { + formRef.current?.resetFields(); + setFormType('add') + setSelectedApplication(null) + setImageUrl("") + setDrawerOpen(true); + } + + + }; + const onClose = () => { + formRef.current?.resetFields(); + setImageUrl("") + setDrawerOpen(false); + setEditstate({}) + + + }; + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + + const onSearch = (value) => { + setSearchedText(value) + } + const onSearchChange =(e) => { + setSearchedText(e?.target?.value) + } + const selectApplication = async(e)=>{ + formRef.current?.setFieldsValue({"AppId":e}) + await setSelectedApplication(e) + + } + const selectImageType = async (e) => { + formRef.current?.setFieldsValue({"ImageType":e}) + await setImageType(e); + }; + const updateImageUrl = (url) => { + setImageUrl(url) + } + + + const onFinish = async (values) => { + let postData={} + postData["ImageLink"] = imageUrl + postData["ImageType"] =imageType + postData["ImageName"] =values.ImageName + postData["AppId"] =values.AppId + let response={} + if (formType === "edit") { + postData["ImageId"]=editstate.ImageId + postData["updatedBy"] = getSession('UserId') + try{ + response=await dispatch(putApplicationImageData(postData)).unwrap() + }catch(err){ + console.log(err, "err"); + if(err["message"]=="Request failed with status code 422"){ + response={data:{"statusCode": 0, + "response": "Please Give Required Fields", + 'data': []}} + } + } + }else{ + postData["CreatedBy"] = getSession('UserId') + try{ + response=await dispatch(postApplicationImageData(postData)).unwrap() + }catch(err){ + console.log(err, "err"); + if(err["message"]=="Request failed with status code 422"){ + response={data:{"statusCode": 0, + "response": "Please Give Required Fields", + 'data': []}} + } + } + } + if (response?.data?.statusCode == 1){ + onClose() + dispatch(getApplicationImageData()).unwrap() + setMessageType("success") + setMessageData(response?.data?.response) + + + }else{ + setMessageType("error") + setMessageData(response?.data?.response) + } + } + + const actionsFormatter = async (row,rowIndex) => { + formRef.current?.resetFields(); + if (row.ActiveStatus !== "D") { + formRef.current?.setFieldsValue({ImageType:row.ImageType}) + setImageType(row.ImageType); + setEditstate(row) + setFormType('edit') + formRef.current?.setFieldsValue({AppId:row.AppId,ImageName:row.ImageName}) + setSelectedApplication(row.AppId) + setImageUrl(row?.ImageLink) + setDrawerOpen(true); + + + } + + }; + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []) + + + const handlePageChange = (current) => { + setpage(current); + }; + const statusFormatter = async (row) => { + let deleteData = { + ImageId: row.ImageId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession('UserId') + }; + let response=await dispatch(deleteApplicationImageData(deleteData)).unwrap() + if (response?.data?.statusCode == 1){ + dispatch(getApplicationImageData()).unwrap() + setMessageType("success") + setMessageData(row.ActiveStatus == "A" ? "App Image In-Activated Successfully": "App Image Activated Successfully") + } + }; + const columns = [ + { + title: "SI.No", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "Application Name", + dataIndex: "AppName", + key: "AppName", + align: "left", + width: "200px", + render: (text) => {text}, + filteredValue: [searchedText], + onFilter: (value, record) => {return ( + String(record.AppName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.ImageName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.ImageTypeName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.ImageLink) + .toLowerCase() + .includes(value.toLowerCase()) + )}, + sorter: (a, b) => a?.AppName?.localeCompare(b.AppName), + sortOrder: + sortedInfo.columnKey === "AppName" ? sortedInfo.order : null, + ellipsis: true, + }, + + { + title: "Image Name", + dataIndex: "ImageName", + key: "ImageName", + align: "left", + width: "200px", + render: (text) => ( + {text} + ), + sorter: (a, b) => a?.ImageName?.localeCompare(b.ImageName), + sortOrder: sortedInfo.columnKey === "ImageName" ? sortedInfo.order : null, + ellipsis: true, + + }, + { + title: "Image Type", + dataIndex: "ImageTypeName", + key: "ImageTypeName", + align: "left", + width: "200px", + render: (text) => {text}, + sorter: (a, b) => a?.ImageTypeName?.localeCompare(b.ImageTypeName), + sortOrder: + sortedInfo.columnKey === "ImageTypeName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Image", + dataIndex: "ImageLink", + key: "ImageLink", + align: "center", + maxWidth: "20px", + render: (t, r) => App Img + }, + + + { + title: "Action", + key: "Action", + dataIndex: "Action", + width: "200px", + align: "center", + render: (_, record,index) => + applicationImageData.length >= 1 ? ( + + {record.ActiveStatus === "A" ? + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Application Image")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : " " + )} + /> + : "" } + + {record.ActiveStatus === "A" ? ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Application Image")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> : ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Application Image")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> + } + + + + ) : null, + }, + ]; + + + return ( +
+
+ + +
+
+ +
+
+
+ +
+ } + handleSubmit={showDrawer} + disabled={UserType === "Super Admin" + ? false + : + SuperAdminUserAccess?.find((e) => e?.ConfigName === "Application Image")?.AddAccess === "N"} +> + + OPEN + +
+
+ +
+ {" "} +
+ +
+
+
+ + ({ + value: option.AppId, + label: option.AppName, + }))} + label={} + onChangeFunction={selectApplication} + className='field-DropDown' + isOnchanges={SelectedApplication?true:false} + valueData={SelectedApplication} + + /> + + + { + await validateSafeInput(value); + + if (value && value.length > 30) { + return Promise.reject("Image Name should not exceed 30 characters"); + } + + return Promise.resolve(); + }, + }, + ]} + + > + Image Name} + fieldState={true} + fieldApi={true} + isOnChange={formType == "edit" ? true :false} + + + /> + + + + + selectImageType(e)} + /> + +
+

Upload {imageType==='I'?"App Image":"App Icon"}

+ + +
+
+
+ +
+ } + htmlType={true} + /> +
+ +
+ } + onClose={onClose} + /> +
+ + ); +}; + +export default ApplicationImageForm; diff --git a/src/Pages/applications/application.jsx b/src/Pages/applications/application.jsx new file mode 100644 index 0000000..d322b3c --- /dev/null +++ b/src/Pages/applications/application.jsx @@ -0,0 +1,103 @@ +import '../../styles/applications/applications.scss'; +import { Search } from "../../Components/Forms/Search.jsx"; +import { useCallback, useDeferredValue, useEffect, useState } from 'react'; +import ApplicationList from './applicationList'; +import { getUserData } from "../../features/applications/applications"; +import { getSession } from "../../Services/others"; +import { useDispatch } from "react-redux"; +import { DefaultModal } from "../../Components/Modal/DefaultModal"; +import PinUpdateNotification from '../../Pages/PinUpdatenotification/pinUpdateNotification' +import { Messages } from "../../Components/Notifications/Messages.jsx"; + +const Application = () => { + const dispatch = useDispatch() + const [searchText, setSearchText] = useState('') + const serachTextVal = useDeferredValue(searchText) + + const [Showpin, setShowpin] = useState(false) + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + + + + useEffect(() => { + + + + async function getUserDataFun() { + + + const userId = getSession('UserId') + const res = await dispatch(getUserData({ userId })).unwrap() + if (res?.data?.statusCode) { + + setShowpin((res?.data?.data[0]?.Password != 'N' || res?.data?.data[0]?.Pin != 'N') ? false : true) + + + } + } + getUserDataFun() + + }, []) + + const pinUpdate = async (e) => { + if (!e) { + setMessageType("success"); + setMessageData("Your PIN has been activated successfully"); + } + setShowpin(e); + + } + + + + + + const onSearchChange = useCallback((e) => { + setSearchText(e?.target?.value) + }, []) + + const handleCancel = () => { + setShowpin(false); + + }; + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + + return ( +
+ + + {Showpin && + } + handleCancel={handleCancel} + + />} + +
+ {/* */} +
+ + + + +
+ ) +} + + +export default Application; \ No newline at end of file diff --git a/src/Pages/applications/applicationList.jsx b/src/Pages/applications/applicationList.jsx new file mode 100644 index 0000000..69ce326 --- /dev/null +++ b/src/Pages/applications/applicationList.jsx @@ -0,0 +1,541 @@ +import { useDispatch } from "react-redux"; +import { getAllApplications } from "../../features/applications/applications"; +import { useEffect, useState } from "react"; +import { getSession, sessionStore } from "../../Services/others"; +import { useNavigate } from "react-router-dom"; +import defaultImage from '../../Images/defaultImage.png'; +import '../../styles/applications/applicationList.scss'; +import { IoIosSearch } from "react-icons/io"; +import { FiFilter } from "react-icons/fi"; +import { FaArrowRight, FaPlay, FaEye, FaHeart, FaUsers, FaGlobe, FaShieldAlt, FaBolt } from "react-icons/fa"; +import { ClockCircleOutlined, CheckCircleTwoTone } from "@ant-design/icons"; +import moment from "moment"; +import defaultAppImage from "../../Images/Video/defaultAppImage.svg" +import { HiOutlineSquares2X2 } from "react-icons/hi2"; +import { GrRestaurant } from "react-icons/gr"; +import { MdRestaurant } from "react-icons/md"; +import { IoBoatOutline } from "react-icons/io5"; +import { AiOutlineThunderbolt } from "react-icons/ai"; +import { CiMobile3 } from "react-icons/ci"; +import { LiaCutSolid } from "react-icons/lia"; +import { IoBagHandleOutline } from "react-icons/io5"; +import { TiShoppingCart } from "react-icons/ti"; +import { GiFruitBowl } from "react-icons/gi"; +import { GiAmpleDress } from "react-icons/gi"; +import { CgGym } from "react-icons/cg"; +import { VscTools } from "react-icons/vsc"; +import { MdOutlinePrecisionManufacturing } from "react-icons/md"; +import { FaChevronRight, FaChevronLeft } from "react-icons/fa"; + + + +const subDirectory = import.meta.env.ENV_BASE_URL + +const ApplicationList = ({ searchText }) => { + const dispatch = useDispatch() + const navigate = useNavigate() + + const [allApplications, setAllApplications] = useState([]) + const [modifiedApplication, setModifiedApplication] = useState([]) + const [loading, setLoading] = useState(true) + const [sortBy, setSortBy] = useState('name') // name, date, rating + const [viewMode, setViewMode] = useState('grid') // grid, list + const [selectedCategory, setSelectedCategory] = useState('All Solutions') // Category filter + const [allApps, setAllApps] = useState([]) // All apps for filtering + const [localSearchText, setLocalSearchText] = useState('') // Add local search state + + useEffect(() => { + async function getData() { + setLoading(true) + try { + const userId = getSession('UserId') + const res = await dispatch(getAllApplications({ userId })).unwrap() + if (res?.data?.statusCode) { + setAllApplications(res?.data?.data) + setModifiedApplication(res?.data?.data) + + // Flatten all apps for category filtering and add enhanced data + const flattenedApps = res?.data?.data?.flatMap(category => + category.AppDetails?.map(app => ({ + ...app, + categoryName: category.SubCategoryName, + categoryImage: category.subCategoryImage, + // Enhanced data for demo + rating: app.Rating || (Math.random() * 2 + 3).toFixed(1), // 3-5 rating + reviewCount: Math.floor(Math.random() * 2000) + 500, // 500-2500 reviews + activeUsers: Math.floor(Math.random() * 50) + 10, // 10-60K users + integrations: Math.floor(Math.random() * 200) + 50, // 50-250 integrations + features: getAppFeatures(app.AppName, category.SubCategoryName), + certifications: getAppCertifications(app.AppName), + setupTime: Math.floor(Math.random() * 4) + 1, // 1-4 hours + isFavorited: Math.random() > 0.7, // Random favorite status + monthlyPrice: app.NetPrice || app.Price || Math.floor(Math.random() * 500) + 99, + annualPrice: Math.floor((app.NetPrice || app.Price || 299) * 10), + hasFreeTrial: Math.random() > 0.3, + trialDays: Math.floor(Math.random() * 14) + 7 // 7-21 days + })) || [] + ) || [] + setAllApps(flattenedApps) + } + } catch (error) { + console.error('Error fetching applications:', error) + } finally { + setLoading(false) + } + } + getData() + }, []) + + // Get app features based on category and name + const getAppFeatures = (appName, category) => { + const featureMap = { + 'ERP': ['Manufacturing', 'Financial Management', 'HR & Payroll'], + 'Bakery': ['Inventory Management', 'Order Processing', 'Customer Management'], + 'Boating': ['Fleet Management', 'Maintenance Tracking', 'Route Planning'], + 'Saloon': ['Appointment Booking', 'Customer Records', 'Payment Processing'], + 'Wholesale Retail': ['Inventory Control', 'Sales Analytics', 'Supplier Management'] + } + return featureMap[category] || ['Core Features', 'Analytics', 'Reporting'] + } + + // Get app certifications + const getAppCertifications = (appName) => { + const certifications = [] + if (Math.random() > 0.5) certifications.push('ISO 27001') + if (Math.random() > 0.6) certifications.push('SOC 2') + if (Math.random() > 0.7) certifications.push('GDPR Compliant') + return certifications + } + + // Filter apps by category and search + const getFilteredApps = () => { + let filtered = allApps + + // Apply category filter + if (selectedCategory !== 'All Solutions') { + filtered = filtered.filter(app => app.categoryName === selectedCategory) + } + + // Apply search filter + if (localSearchText.trim()) { + const searchQuery = localSearchText.toLowerCase() + filtered = filtered.filter(app => + app.AppName.toLowerCase().includes(searchQuery) || + (app.PricingName && app.PricingName.toLowerCase().includes(searchQuery)) || + (app.AppDescription && app.AppDescription.toLowerCase().includes(searchQuery)) || + app.categoryName.toLowerCase().includes(searchQuery) + ) + } + + return filtered + } + + // Get unique categories for filter + const getCategories = () => { + const categories = [ + { + name: 'All Solutions', + count: allApps.length, + icon: + } + ] + + const uniqueCategories = [...new Set(allApps.map(app => app.categoryName))] + .map(categoryName => { + const count = allApps.filter(app => app.categoryName === categoryName).length + const icon = getCategoryIcon(categoryName) + return { name: categoryName, count, icon } + }) + + return [...categories, ...uniqueCategories] + } + + // Get category icon + const getCategoryIcon = (categoryName) => { + const iconMap = { + 'Bakery': , + 'Restaurant': , + 'Boating': , + 'ERP': , + 'Electrical & Electronics': , + 'Saloon': , + 'Wholesale': , + 'Retail1': , + + // For ai and app + 'Retail Store': , + 'Electronic Retailer': , + 'Mobile & Accessories': , + 'Grocery Stores': , + 'Apparels & Textiles': , + 'Wellness & Spa': , + 'Wholesale': , + 'Hardware Stores': , + 'ndustrial Manufacturing': , + 'Blue Metal Suppliers': , + } + return iconMap[categoryName] || + } + + // Sort applications based on selected criteria + const sortApplications = (apps) => { + return [...apps].sort((a, b) => { + switch (sortBy) { + case 'name': + return a.AppName.localeCompare(b.AppName) + case 'date': + return new Date(b.CreatedDate || 0) - new Date(a.CreatedDate || 0) + case 'rating': + return (b.rating || 0) - (a.rating || 0) + default: + return 0 + } + }) + } + + // Format date + const formatDate = (dateString) => { + if (!dateString) return 'N/A' + return new Date(dateString).toLocaleDateString() + } + + // Generate star rating display + const renderStars = (rating) => { + const stars = [] + const fullStars = Math.floor(rating || 0) + const hasHalfStar = (rating || 0) % 1 !== 0 + + for (let i = 0; i < fullStars; i++) { + stars.push() + } + if (hasHalfStar) { + stars.push() + } + const emptyStars = 5 - Math.ceil(rating || 0) + for (let i = 0; i < emptyStars; i++) { + stars.push() + } + return stars + } + + // Calculate remaining days (mock data for demo) + const getRemainingDays = (app) => { + // This would come from your actual data + return Math.floor(Math.random() * 30) + 1 + } + + // Toggle favorite status + const toggleFavorite = (appId, e) => { + e.stopPropagation() + setAllApps(prev => prev.map(app => + app.AppId === appId ? { ...app, isFavorited: !app.isFavorited } : app + )) + } + + const handleChange = () => { + navigate('/setting/feat-addon') + }; + + // Add scroll function for the category filter + const scrollCategories = (direction) => { + const container = document.querySelector('.category-filters'); + const scrollAmount = 200; + + if (direction === 'left') { + container.scrollBy({ + left: -scrollAmount, + behavior: 'smooth' + }); + } else { + container.scrollBy({ + left: scrollAmount, + behavior: 'smooth' + }); + } + }; + + if (loading) { + return ( +
+
+

Loading applications...

+
+ ) + } + + const categories = getCategories() + const filteredApps = getFilteredApps() + const sortedApps = sortApplications(filteredApps) + + + const appImages = { + "bakery": "https://i.pinimg.com/1200x/ae/8b/01/ae8b01cf687d513e061000f1f285cb56.jpg", + "agro": "https://i.pinimg.com/736x/f3/ac/93/f3ac937d72269d8c33ce5534de1abb61.jpg", + "biller pro": "https://i.pinimg.com/736x/db/c9/44/dbc94422cfbbb68e8d1ba3cbbacc063c.jpg", + "boating": "https://i.pinimg.com/1200x/64/22/f2/6422f22981ad0a1dbaae7466e2f255da.jpg", + }; + + const getAppImage = (name) => { + if (!name) return defaultAppImage; + const key = name.toLowerCase().trim().replace(/\s+/g, " "); + return appImages[key] || defaultAppImage; + }; + + + + return ( +
+ {/* Category Filter Bar */} +
+
Business Solutions Marketplace
+

+ All-in-one SaaS solutions for every industry + from retail, hospitality, and more. +

+ +
+
+
scrollCategories('left')}> + +
+
+ {categories.map((category, index) => ( +
setSelectedCategory(category.name)} + > +
{category.icon}
+
{category.name}
+
{category.count}
+
+ ))} +
+
scrollCategories('right')}> + +
+
+ + {/* Header Section */} +
+
+
+ + { + setLocalSearchText(e.target.value) + }} + /> +
+ +
+ + {/* Sort and View Controls */} +
+ + +
+
+ + +
+
+ + + + {/* Applications Grid */} + {/* {viewMode === "grid" && ( */} +
+ {sortedApps.length > 0 ? ( +
+ {sortedApps.map((eachApp) => { + const remainingDays = getRemainingDays(eachApp) + const isActive = remainingDays > 5 + const isExpiring = remainingDays <= 5 && remainingDays > 0 + const isExpired = remainingDays <= 0 + + return ( +
{ + // sessionStore('AppId', eachApp.AppId) + // sessionStore('AppName', eachApp.AppName) + // navigate(`${subDirectory + eachApp.AppName?.toLowerCase()}`) + // window.location.reload() + // }} + > + {/* Header Section */} +
+ {eachApp.AppName} + + {/* Setup Time Badge */} + {/*
+ + {eachApp.setupTime} hours +
*/} + + {/* Action Buttons */} + {/*
+ +
*/} +
+ + {/* Content Section */} +
+
+ + {/* Category and Type */} +
+ {eachApp.categoryName} + {/* + + Enterprise + */} +
+ + {/* Title */} +

{eachApp.AppName}

+ + {/* Description */} +

+ {eachApp.AppDescription || `All-in-one ${eachApp.AppName} solution for ${eachApp.categoryName.toLowerCase()} companies`} +

+ + {/* Rating */} + {/*
+
+ {renderStars(eachApp.rating)} +
+ + {eachApp.rating} ({eachApp.reviewCount} reviews) + +
*/} + + {/* Key Metrics */} + {/*
+
+ +
+ {eachApp.activeUsers}K+ + Active Users +
+
+
+ +
+ {eachApp.integrations}+ + Integrations +
+
+
*/} + + {/* Feature Tags */} + {/*
+ {eachApp.features.map((feature, index) => ( + + {feature} + + ))} +
*/} + + {/* Certifications & Support */} + {/*
+ {eachApp.certifications.map((cert, index) => ( +
+ + {cert} +
+ ))} +
+ + Enterprise Support +
+
*/} + + {/* Pricing */} + {/*
+
+ ₹{eachApp.monthlyPrice}/mon +
+
+ Enterprise ${eachApp.annualPrice} annually +
+
*/} +
+ + {/* Call to Action */} +
+ + {/* */} + {eachApp.hasFreeTrial && ( +
+ + {eachApp.trialDays}-day free trial • No credit card required +
+ )} +
+ + {/* Trial Info */} + +
+
+ ) + })} +
+ ) : ( +
+
+

No applications found

+

Try adjusting your search criteria or check back later for new applications.

+
+ )} +
+ {/* )} */} + +
+ ) +} + +export default ApplicationList; \ No newline at end of file diff --git a/src/Pages/applications/applicationListbackup.jsx b/src/Pages/applications/applicationListbackup.jsx new file mode 100644 index 0000000..283742e --- /dev/null +++ b/src/Pages/applications/applicationListbackup.jsx @@ -0,0 +1,131 @@ +import { useDispatch } from "react-redux"; +import { getAllApplications } from "../../features/applications/applications"; +import { useEffect, useState } from "react"; +import { getSession, sessionStore } from "../../Services/others"; +import { useNavigate } from "react-router-dom"; +import defaultImage from '../../Images/defaultImage.png'; +import '../../styles/applications/applicationList.scss'; + +const subDirectory = import.meta.env.ENV_BASE_URL + +const ApplicationList = ({ searchText }) => { + const dispatch = useDispatch() + const navigate = useNavigate() + + const [allApplications, setAllApplications] = useState([]) + const [modifiedApplication, setModifiedApplication] = useState([]) + useEffect(() => { + + async function getData() { + const userId = getSession('UserId') + const res = await dispatch(getAllApplications({ userId })).unwrap() + if (res?.data?.statusCode) { + setAllApplications(res?.data?.data) + setModifiedApplication(res?.data?.data) + } + } + getData() + }, []) + + useEffect(() => { + const modRes = allApplications + ?.map(eachsubCategory => { + // Filter apps where AppName includes searchText (case-insensitive) + const matchedApps = eachsubCategory.AppDetails.filter(eachApp => + eachApp.AppName.toLowerCase().includes(searchText.toLowerCase()) + ); + + if (matchedApps.length > 0) { + return { + ...eachsubCategory, + AppDetails: matchedApps, + }; + } + return null; // no matched apps in this subcategory + }) + .filter(Boolean); // remove nulls + + setModifiedApplication(modRes); +}, [searchText]); + + + + const handleChange = () => { + navigate('/setting/feat-addon') + }; + + let applicationsList = modifiedApplication.map(eachsubCategory => ( +
+
+
+

{eachsubCategory.SubCategoryName}

+
+
+ {eachsubCategory.AppDetails?.filter(eachApp => eachApp.Status !== 'Extend') + ?.map(eachApp => ( +
+ +
+

{eachApp.AppName}

+

{eachApp.AppDescription}

+
+ {eachApp.subscribed == 'Y' ? +

{ + sessionStore('AppId', eachApp.AppId) + + navigate(`${subDirectory + eachApp.AppName?.toLowerCase()}`); + + + window.location.reload() + }}>{eachApp?.Status} >

: +

{ + sessionStore('AppId', eachApp.AppId) + sessionStore('AppName', eachApp.AppName) + navigate(`${subDirectory + eachApp.AppName?.toLowerCase()}`) + window.location.reload() + }}>Try Now >

} + + +
+ + ))} + +
+
+
+ )) + + // const buttonStyle = { + // padding: '10px 20px', + // margin: '10px 5px', + // backgroundColor: '#8F1E78', + // color: '#fff', + // border: 'none', + // borderRadius: '6px', + // cursor: 'pointer', + // fontSize: '14px', + // fontWeight: '500', + // transition: 'background-color 0.3s ease', + // marginTop: "3rem", + // fontWeight:'500', + // fontFamily:"poopins" + // }; + + return ( +
+ {/*
+ +
*/} + {/* */} +
+ + {applicationsList} +
+
+ + ) +} + +export default ApplicationList; \ No newline at end of file diff --git a/src/Pages/branch/branchForm.jsx b/src/Pages/branch/branchForm.jsx new file mode 100644 index 0000000..37e4e28 --- /dev/null +++ b/src/Pages/branch/branchForm.jsx @@ -0,0 +1,1770 @@ +import { useState, useEffect, useRef, useCallback } from 'react'; +import { useDispatch, useSelector } from 'react-redux'; +import { useLocation, useNavigate } from 'react-router-dom'; +import { Form } from "antd"; +import { ArrowRightOutlined } from "@ant-design/icons"; +import moment from 'moment'; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { InputField } from "../../Components/Forms/InputField.jsx"; +import { Messages } from "../../Components/Notifications/Messages"; +import { changeBreadCrumb } from '../../features/appPage/centerPage.js'; +import MapView from "../../Components/MapView/MapView.jsx"; +import { DropDowns } from '../../Components/Forms/DropDown.jsx'; +import { TimePickers } from '../../Components/Forms/TimePicker.jsx'; +import { DatePicker, Space } from 'antd'; +import { Toggle } from "../../Components/Forms/Switch.jsx"; +import FormHeader from '../pageComponents/FormHeader.jsx'; +import { getAdminNames, AdminNamesSelector } from "../../features/companyPage/companyPage.js"; +import { + postBranchData, putBranchData, getBranchApplications, BranchApplicationNamesSelector, + getApplicationCompany, UserAppCompanySelector, + getUserAppCompany, checkTrialBranch, companyname, + ApplicationPreferences, + getCommonAppPreference +} from "../../features/branchPage/branchPage.js"; +import { getSession, validateSafeInput } from "../../Services/others"; +import dayjs from 'dayjs'; +import customParseFormat from 'dayjs/plugin/customParseFormat'; +import isSameOrBefore from 'dayjs/plugin/isSameOrBefore'; +import { SuperAdminUserAccessDataSelector } from '../../features/superAdminAccess/superAdminAccess.js'; +import { SwitchModified } from '../../Components/Forms/SwitchModified.jsx'; +import { option, tr } from 'framer-motion/client'; +import "../../styles/BranchForm/BranchForm.scss"; +import { FaMapMarkedAlt } from "react-icons/fa"; +import { Tooltip } from 'antd'; +dayjs.extend(customParseFormat); +dayjs.extend(isSameOrBefore); + + + +const subDirectory = import.meta.env.ENV_BASE_URL + +const BranchForm = ({ formType }) => { + + const navigate = useNavigate(); + const dispatch = useDispatch(); + const location = useLocation(); + const formRef = useRef(null); + const state = location?.state + const editstate = state?.editstate + const { RangePicker } = DatePicker; + const [range, setrange] = useState([null, null]); + const Applicationcompany = useSelector(UserAppCompanySelector) + const AdminNames = useSelector(AdminNamesSelector) + const ApplicationNames = useSelector(BranchApplicationNamesSelector) + const UserType = getSession("UserType"); + const UserId = getSession("UserId"); + const SuperAdminUserAccess = useSelector(SuperAdminUserAccessDataSelector) + + //local states + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [FiltereApplications, setFiltereApplications] = useState([]); + const [disable, setDisable] = useState(true); + const [zipCodeData, setZipCodeData] = useState(false); + const [SelectedCompany, setSelectedCompany] = useState(null); + const [SelectedAdmin, setSelectedAdmin] = useState(null); + const [fromTime, setFromTime] = useState(); + const [toTime, setToTime] = useState(); + const [SelectedApplication, setSelectedApplication] = useState(null); + const [SelectedLatitude, setSelectedLatitude] = useState(null); + const [SelectedLongitude, setSelectedLongitude] = useState(null); + const [selectShortName, setSelectShortName] = useState(null); + const [FinancialYear, setFinancialYear] = useState("N") + const [FYFromDate, setFYFromDate] = useState(null) + const [FYToDate, setFYToDate] = useState(null) + const [ApplicationDisabled, setApplicationDisabled] = useState(false); + const [companyDisabled, setCompanyDisabled] = useState(false); + const [CalenderFormat, setCalenderFormat] = useState(""); + const [mapshow, Setmapshow] = useState(false); + + + const appPreferences = useSelector(ApplicationPreferences); + const applicationPreference = appPreferences?.find(app => app?.AppId === SelectedApplication)?.PreferenceDetails; + const licenseTypePreference = applicationPreference?.find(pre => pre?.PreferredCatName === 'License Type')?.PreferenceCatDetails; + const licensePreference = licenseTypePreference?.find(type => type?.PreferredStatus === 'Y'); + const licensePreferenceName = licensePreference?.PreferredSubCatName + + console.log(licensePreferenceName, "licensePreference", SelectedApplication) + + const CalenderFormatData = [ + { name: "Financial Year" }, + { name: "Calender Year" }, + { name: "Date" }, + ] + + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "Branch", + link: `${subDirectory}setting/branch-master/`, + }, + { + name: editstate ? "Edit" : "New", + link: null + }, + + ]; + + useEffect(() => { + fetchApplicationPreference() + }, [SelectedApplication]) + + + useEffect(() => { + if (CalenderFormat === "Financial Year" && !editstate) { + + const financialYear = getFinancialYearRange("DD-MM-YYYY"); + let [startYear, endYear] = financialYear.split(" - "); + setFYFromDate(dayjs(startYear, "DD-MM-YYYY").format("YYYY-MM-DD")); + setFYToDate(dayjs(endYear, "DD-MM-YYYY").format("YYYY-MM-DD")); + } + else if (CalenderFormat === "Calender Year" && !editstate) { + const financialYear = getCalendarYearRange("DD-MM-YYYY"); + let [startYear, endYear] = financialYear.split(" - "); + setFYFromDate(dayjs(startYear, "DD-MM-YYYY").format("YYYY-MM-DD")); + setFYToDate(dayjs(endYear, "DD-MM-YYYY").format("YYYY-MM-DD")); + } + }, [CalenderFormat, editstate]); + + + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + dispatch(getAdminNames()).unwrap(); + if (UserType === 'Admin') { + dispatch(getBranchApplications(UserId)).unwrap(); + } else { + if (UserType === 'Super Admin') { + dispatch(getBranchApplications()).unwrap(); + } + } + if (editstate) { + // debugger + editstate.Latitude = editstate.Latitude ? editstate.Latitude : null; + editstate.Longitude = editstate.Longitude ? editstate.Longitude : null; + setDisable(false) + handleCalenderFormatChange(editstate?.FYType) + formRef.current?.setFieldsValue({ FinancialYear: editstate?.FYType }); + + formRef.current?.setFieldsValue({ FYStatus: editstate?.FYStatus == "Y" ? editstate?.FYStatus : null }); + formRef.current?.setFieldsValue({ FYStartsFrom: editstate?.FYStartsFrom }); + formRef.current?.setFieldsValue({ FYEnds: editstate?.FYEnds }); + formRef.current?.setFieldsValue({ Latitude: editstate.Latitude }); + formRef.current?.setFieldsValue({ Longitude: editstate.Longitude }); + formRef.current?.setFieldsValue({ + DateFormat: [ + dayjs(formatDate(editstate?.FYStartsFrom), 'YYYY-MM-DD'), + dayjs(formatDate(editstate?.FYEnds), 'YYYY-MM-DD') + ] + }); + console.log(editstate, "editstate") + setFromTime(editstate.WorkingFrom); + setToTime(editstate.WorkingTo); + formRef.current?.setFieldsValue({ WorkingFrom: editstate.WorkingFrom, WorkingTo: editstate.WorkingTo, CompId: editstate.CompId }) + setSelectedCompany(editstate?.CompId) + if (editstate?.Zip) setZipCodeData(true) + setSelectedAdmin(editstate?.UserId) + setFinancialYear(editstate?.FYStatus == "Y" ? true : false) + formRef.current?.setFieldsValue({ CalenderFormat: editstate?.FYType ? editstate?.FYType : null }) + let fromdate = editstate?.FYStartsFrom ? dayjs(editstate?.FYStartsFrom) : null + let todate = editstate?.FYEnds ? dayjs(editstate?.FYEnds) : null + console.log(fromdate, todate, "from and to date") + setrange([fromdate, todate]) + dispatch(getApplicationCompany(editstate?.AppId)).unwrap(); + dispatch(getUserAppCompany({ "UserId": editstate?.UserId, "AppId": editstate?.AppId })).unwrap(); + } + + }, []); + + useEffect(() => { + if (SelectedAdmin) { + const filteredApplications = ApplicationNames?.filter((option) => option.UserId === SelectedAdmin); + const uniqueActiveData = Array.from( + filteredApplications?.reduce((map, item) => { + if (item.Status === "Active") { + const key = `${item.AppId}-${item.AppName}`; + if (!map.has(key)) { + map.set(key, item); + } + } + return map; + }, new Map()).values() + ); + setFiltereApplications(uniqueActiveData); + if (uniqueActiveData?.length === 1) { + const selectedApplicationId = uniqueActiveData[0].AppId; + setSelectedApplication(selectedApplicationId); + setApplicationDisabled(true) + setCompanyDisabled(false) + formRef.current?.setFieldsValue({ AppId: selectedApplicationId }); + dispatch(getUserAppCompany({ UserId: SelectedAdmin, AppId: selectedApplicationId })).unwrap(); + } else { + setFiltereApplications(uniqueActiveData); + if (editstate) { + setSelectedApplication(editstate?.AppId) + setCompanyDisabled(false) + formRef.current?.setFieldsValue({ AppId: editstate?.AppId }); + dispatch(getUserAppCompany({ UserId: SelectedAdmin, AppId: editstate?.AppId })).unwrap(); + } + + } + } else { + setFiltereApplications([]); + } + }, [SelectedAdmin, ApplicationNames]); + useEffect(() => { + if (SelectedApplication) { + const filteredCompanies = Applicationcompany.filter((option) => option.AppId === SelectedApplication); + if (filteredCompanies.length === 1) { + const selectedCompanyId = filteredCompanies[0].CompId; + setSelectedCompany(selectedCompanyId); + setCompanyDisabled(true); + selectCompany(selectedCompanyId); + + + } + else { + setSelectedCompany(null) + formRef.current?.resetFields(["CompId"]) + } + } + }, [SelectedApplication, Applicationcompany]); + + useEffect(() => { + if (UserType === 'Admin') { + if (ApplicationNames.length === 1) { + const selectedApplicationId = ApplicationNames[0]?.AppId; + setSelectedApplication(selectedApplicationId); + setApplicationDisabled(true); + setCompanyDisabled(false) + dispatch(getUserAppCompany({ UserId: UserId, AppId: selectedApplicationId })).unwrap(); + formRef.current?.setFieldsValue({ AppId: selectedApplicationId }); + } + } else { + dispatch(getAdminNames()).unwrap(); + } + }, [UserType, ApplicationNames, UserId]); + + + + const fetchApplicationPreference = async () => { + dispatch(getCommonAppPreference({ SelectedApplication })); + } + + + const selectCompany = async (value) => { + var TrialData = []; + + if (UserType === 'Admin') { + TrialData = await dispatch(checkTrialBranch({ "UserId": UserId, "AppId": SelectedApplication, "CompId": value })).unwrap(); + } + else { + TrialData = await dispatch(checkTrialBranch({ "UserId": SelectedAdmin, "AppId": SelectedApplication, "CompId": value })).unwrap(); + } + + if (TrialData.data?.statusCode == 1 && !editstate) { + const Trial = TrialData.data?.data[0]; + const Count = TrialData.data?.data?.length; + if (Trial) { + + if (Trial.PricingName.toUpperCase() != "FREE" && Trial.BranchCount == 0) { + await setSelectedCompany(value) + formRef.current?.setFieldsValue({ CompId: value }) + setDisable(false); + } + else if (Trial.PricingName.toUpperCase() == "FREE" && Trial.BranchCount >= 1 + ) { + if (Count > 1) { + setDisable(true); + + } + else { + setDisable(true); + dispatch(companyname({ id: value })) + setTimeout(function () { + navigate( + `${subDirectory}setting/branch-master/`, + { + state: { + Notiffy: { + messageType: "error", + messageData: + "Your Trial Period is Expired Please Choose Extend Pack To Add Branch ", + }, + }, + }, + 700 + ); + }); + } + + } else if (Trial.PricingName.toUpperCase() != "FREE") { + let fliterFeatConstraintdata = Trial?.FeatureDetails?.filter((a) => a.FeatName === "Branch" ? a.FeatConstraint : 0); + let fliterFeatConstraint = fliterFeatConstraintdata.length > 0 ? fliterFeatConstraintdata[0]?.FeatConstraint : 0 + + if (fliterFeatConstraint > Trial.BranchCount) { + setDisable(false); + await setSelectedCompany(value) + formRef.current?.setFieldsValue({ CompId: value }) + } + else { + setDisable(true); + dispatch(companyname({ id: value })) + setTimeout(function () { + navigate( + `${subDirectory}setting/branch-master/`, + { + state: { + Notiffy: { + messageType: "error", + messageData: + "Your Feature Constraint is Completed! ", + }, + }, + }, + 700 + ); + }); + } + } + else { + await setSelectedCompany(value) + formRef.current?.setFieldsValue({ CompId: value }) + setDisable(false); + } + } + else { + await setSelectedCompany(value) + formRef.current?.setFieldsValue({ CompId: value }) + setDisable(false); + } + + } + else { + TrialData = []; + await setSelectedCompany(value) + } + + + } + + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []) + + function normalizeDate(input) { + if (input?.includes('T')) { + return input?.split('T')[0]; + } + return input; + } + + + const onFinish = async (values) => { + if (!zipCodeData) { + setMessageType("error"); + setMessageData("Invalid ZipCode"); + return + } + let postData = values + postData["UserId"] = values.UserId || getSession('UserId') + postData["AppId"] = values.AppId + postData["WorkingFrom"] = fromTime ? fromTime.format("HH:mm:ss") : null; + postData["WorkingTo"] = toTime ? toTime.format("HH:mm:ss") : null; + postData["FYStatus"] = FinancialYear ? (FinancialYear ? "Y" : "N") : editstate?.FYStatus + postData["FYStartsFrom"] = FYFromDate ? normalizeDate(FYFromDate) : normalizeDate(editstate?.FYStartsFrom) + postData["FYEnds"] = FYToDate ? normalizeDate(FYToDate) : normalizeDate(editstate?.FYEnds) + postData["FYType"] = CalenderFormat ? CalenderFormat : values?.FYType + + postData["CreatedBy"] = getSession('UserId') + console.log(postData, "postDatapostData") + let response = {} + if (formType === "add") { + try { + response = await dispatch(postBranchData(postData)).unwrap() + } catch (err) { + console.log(err, "err"); + + } + } + else if (formType === "edit") { + postData["BrId"] = editstate?.BrId + postData["AddId"] = editstate?.AddId + postData["UpdatedBy"] = getSession('UserId') + try { + response = await dispatch(putBranchData(postData)).unwrap() + } catch (err) { + console.log(err, "err"); + } + } + if (response?.data?.statusCode == 1) { + navigate(`${subDirectory}setting/branch-master/`, { + state: { + Notiffy: { + messageType: "success", + messageData: response?.data?.response, + + } + } + }) + } else { + setMessageType("error") + setMessageData(response?.data?.response) + } + }; + + const getPincodeValues = async (pinCode) => { + let response = ""; + await fetch(`https://api.postalpincode.in/pincode/${pinCode}`) + .then((res) => res.text()) + .then((text) => (response = JSON.parse(text))); + + if (response[0]["Status"] === "Success") { + setZipCodeData(true) + formRef.current?.setFieldsValue({ + City: response[0]["PostOffice"][0]["Block"], + Dist: response[0]["PostOffice"][0]["District"], + State: response[0]["PostOffice"][0]["State"], + }); + + } else { + setZipCodeData(false) + } + }; + + const onMarkerClick = async (location) => { + setSelectedLatitude(typeof location.lat === 'function' ? location.lat() : SelectedLatitude) + setSelectedLongitude(typeof location.lng === 'function' ? location.lng() : SelectedLongitude) + formRef.current?.setFieldsValue({ + Latitude: typeof location.lat === 'function' ? location.lat() : SelectedLatitude, + Longitude: typeof location.lng === 'function' ? location.lng() : SelectedLongitude, + }); + }; + const pinCodeChange = async (e) => { + if (e?.target?.value.length < 6) { + setZipCodeData(false) + return false; + + } + await getPincodeValues(e?.target?.value); + }; + + const onFromTimeChange = (time) => { + setFromTime(time); // Store the Day.js or moment object directly + }; + + const onToTimeChange = (time) => { + setToTime(time); // Store directly + }; + + const handleMapShow = (e) => { + Setmapshow(e); + } + + const handleDropDownChange = async (value) => { + formRef.current?.setFieldsValue({ UserId: value }) + dispatch(companyname({ id: value })) + setSelectedApplication(null); + setSelectedCompany(null) + setApplicationDisabled(false) + setCompanyDisabled(false) + formRef.current?.resetFields(["AppId"]) + await setSelectedAdmin(value) + }; + + const handleApplicationChange = async (value) => { + console.log(value, "valuevalue") + formRef.current?.setFieldsValue({ AppId: value }) + await setSelectedApplication(value) + setApplicationDisabled(false) + setCompanyDisabled(false) + var TrialData = []; + if (UserType === 'Admin') { + TrialData = await dispatch(checkTrialBranch({ "UserId": UserId, "AppId": value, "CompId": value })).unwrap(); + console.log(TrialData, "TrialDataTrialData") + } + else { + TrialData = await dispatch(checkTrialBranch({ "UserId": SelectedAdmin, "AppId": value, "CompId": value })).unwrap(); + } + + if (TrialData.data?.statusCode == 1) { + const Trial = TrialData.data?.data[0]; + const Count = TrialData.data?.data?.length; + + if (Trial) { + if (Trial.PricingName.toUpperCase() != "FREE" && Trial.BranchCount == 0) { + } else if (Trial.PricingName.toUpperCase() == "FREE" && Trial.BranchCount >= 1 + ) { + if (Count > 1) { + setDisable(true); + } else { + setDisable(false); + dispatch(companyname({ id: value })) + setTimeout(function () { + navigate( + `${subDirectory}setting/branch-master/`, + { + state: { + Notiffy: { + messageType: "error", + messageData: + "Your Trial Period is Expired Please Choose Extend Pack To Add Branch ", + }, + }, + }, + 700 + ); + }); + } + + } + } + + } + else { + Trial = []; + } + if (UserType == 'Admin') { + dispatch(getUserAppCompany({ "UserId": UserId, "AppId": value })).unwrap(); + } else { + dispatch(getUserAppCompany({ "UserId": SelectedAdmin, "AppId": value })).unwrap(); + } + + }; + + + + const handleNameChange = (e) => { + + const fullName = e?.target?.value; + const shortName = generateShortName(fullName); + if (shortName?.length < 5) { + formRef.current?.setFieldsValue({ BrShName: shortName }); + setSelectShortName(shortName) + } + }; + + function generateShortName(fullName) { + const words = fullName.split(" "); + + let shortName = ""; + + for (let i = 0; i < words.length; i++) { + const word = words[i]; + + if (word.length > 0) { + shortName += word.substring(0, 2); + } + } + + return shortName.toUpperCase(); + } + + const handleFinancialYear = (checked) => { + if (checked) { + setFinancialYear(true); + if (editstate == undefined) { + formRef.current?.setFieldsValue({ + DateFormat: [] + }); + // setCalenderFormat() + setFYFromDate(null) + setFYToDate(null) + } + + + } else { + setFinancialYear(false); + } + } + const onRangeChange = (dates, dateStrings) => { + setrange(dates); + + const [startStr, endStr] = dateStrings; + + const fromDate = startStr ? dayjs(startStr, 'MMM-DD').format('YYYY-MM-DD') : null; + const toDate = endStr ? dayjs(endStr, 'MMM-DD').format('YYYY-MM-DD') : null; + + setFYFromDate(fromDate); + setFYToDate(toDate); + + if (fromDate && toDate) { + formRef.current?.setFieldsValue({ + DateFormat: [dayjs(fromDate), dayjs(toDate)], + }); + } else { + formRef.current?.setFieldsValue({ + DateFormat: [], + }); + } + }; + + + // const disabledDate = (current) => { + // // Can not select days before today and today + // return current && current < dayjs().startOf('day'); + // }; + + const disabledDate = (current) => { + if (!range || !range[0]) return false; + + const firstDate = range[0]; + const endOfMonth = firstDate.endOf('month'); + + return current.isSameOrBefore(endOfMonth, 'day'); // disable dates on/before month of first date + }; + + const getFinancialYearRange = (format = 'DD-MM-YYYY') => { + + const today = dayjs(); + const year = today.year(); + const month = today.month() + 1; // month() is 0-based + + let startDate, endDate; + + if (month >= 4) { + // April to December + startDate = dayjs(`${year}-04-01`); + endDate = dayjs(`${year + 1}-03-31`); + } else { + // January to March + startDate = dayjs(`${year - 1}-04-01`); + endDate = dayjs(`${year}-03-31`); + } + return `${startDate.format(format)} - ${endDate.format(format)}`; + }; + const getCalendarYearRange = (format = 'DD-MM-YYYY') => { + const today = dayjs(); + const year = today.year(); + + const startDate = dayjs(`${year}-01-01`); + const endDate = dayjs(`${year}-12-31`); + + return `${startDate.format(format)} - ${endDate.format(format)}`; + }; + + const handleCalenderFormatChange = async (value) => { + setCalenderFormat(value) + setFinancialYear(true) + formRef.current?.setFieldsValue({ CalenderFormat: value }) + }; + const formatDate = (isoString) => isoString?.split('T')[0]; + + return ( +
+
+
+ +
+ +
+
+
+
+
+ {UserType === 'Super Admin' || UserType === 'Super Admin User' ? + + ({ + value: option.UserId, + label: option.UserName != "" && option.UserName != null && option.UserName != undefined ? option?.UserName : option.MobileNo, + }))} + placeholder="UserId" + label="Admin" + className="field-DropDown" + isOnchanges={(formType == "edit" || SelectedAdmin) ? true : false} + onChangeFunction={handleDropDownChange} + valueData={SelectedAdmin} + disabled={formType == "edit" ? true : false} + /> + + : null + } + {UserType === 'Super Admin' || UserType === 'Super Admin User' ? ( + + ({ + value: option.AppId, + label: option.AppName, + }))} + placeholder="AppId" + label="Application" + className="field-DropDown" + isOnchanges={(formType == "edit" || SelectedApplication) ? true : false} + onChangeFunction={handleApplicationChange} + valueData={SelectedApplication} + disabled={formType == "edit" || ApplicationDisabled ? true : false} + /> + + ) : ( + <> + + ({ + value: option.AppId, + label: option.AppName, + }))} + placeholder="AppId" + label={} + className="field-DropDown" + isOnchanges={(formType == "edit" || SelectedApplication) ? true : false} + onChangeFunction={handleApplicationChange} + valueData={SelectedApplication} + disabled={formType == "edit" || ApplicationDisabled ? true : false} + /> + +
+ {ApplicationDisabled || formType == "edit" && ( +

Application : {ApplicationNames?.find(option => option.AppId === SelectedApplication)?.AppName}

+ )} + {companyDisabled && SelectedCompany && ( +

Company : {Applicationcompany?.find(option => option.CompId === SelectedCompany)?.CompName}

+ )} +
+ + ) + + } + + ({ + value: option.CompId, + label: option.CompName, + }))} + placeholder="CompId" + label={} + className='field-DropDown' + isOnchanges={(formType == "edit" || SelectedCompany) ? true : false} + onChangeFunction={selectCompany} + valueData={SelectedCompany} + disabled={formType == "edit" || companyDisabled ? true : false} + /> + + { + await validateSafeInput(value); // Optional: to block SQL/HTML if needed + + if (value && value.length > 50) { + return Promise.reject("Branch should not exceed 50 characters"); + } + + return Promise.resolve(); + }, + }, + ]} + + > + Branch} + fieldState={true} + fieldApi={true} + isOnChange={formType == "edit" ? true : false} + onChange={handleNameChange} + + /> + + { + if (value) { + await validateSafeInput(value); + + if (value.length > 30) { + return Promise.reject("App Specific Name should not exceed 30 characters"); + } + } + + return Promise.resolve(); + }, + }, + ]} + + > + + + { + await validateSafeInput(value); + + if (value && value.length <= 4) { + return Promise.resolve(); + } + return Promise.reject("Short Name should not exceed 4 characters"); + }, + }, + ]} + + > + Short Name} + fieldState={true} + fieldApi={true} + isOnChange={formType == "edit" || selectShortName ? true : false} + + + /> + + + (e.target.value = e.target.value.replace(/[^0-9]/g, ''))} + /> + + + (e.target.value = e.target.value.replace(/[^0-9]/g, ''))} + /> + + + + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + + + + + {( (SelectedApplication && licensePreferenceName) && { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + + > + + )} + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + + + + + { + // debugger + if (!value || !fromTime) return Promise.resolve(); + + // Both are Day.js objects — convert to moment for comparison + const fromMoment = moment(fromTime.$d); + const toMoment = moment(value.$d); + + if (toMoment.isSameOrBefore(fromMoment)) { + return Promise.reject( + new Error("Working To should be greater than Working From") + ); + } + return Promise.resolve(); + }, + }, + ]} + > + + + {/*
+ +

Financial Year

+
+ + +
+ {FinancialYear && +
+ + + +
+ } */} + {
+ +

Financial Year

+
+
+
+ +
+ {FinancialYear && + + ({ + value: option?.name, + label: option?.name, + }))} + placeholder="AppId" + label={} + className="field-DropDown" + isOnchanges={CalenderFormat?.length > 0 ? true : false} + onChangeFunction={handleCalenderFormatChange} + valueData={CalenderFormat} + // defaultValue={CalenderFormat.length>0} + disabled={editstate?.FYType ? true : false} + /> + + } +
} + + {((CalenderFormat == "Date" && FinancialYear) || (editstate?.FYType == "Date" && FinancialYear && editstate?.FYStatus == "Y")) && + + + + + + } + +

+ {((CalenderFormat == "Financial Year" && FinancialYear) || (editstate?.FYType == "Financial Year" && FinancialYear)) && getFinancialYearRange('DD-MMM')} +

+
+ +

+ + {((CalenderFormat == "Calender Year" && FinancialYear) || (editstate?.FYType == "Calender Year" && FinancialYear)) && getCalendarYearRange('DD-MMM')} + + +

+
+ + {!mapshow && + <> +
+ + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + Address Line1} + fieldState={true} + fieldApi={true} + isOnChange={editstate?.Address1 ? true : false} + + /> + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + { + if (!value) return Promise.reject("Please enter Zipcode"); + if (!/^\d{6}$/.test(value)) return Promise.reject("Zipcode must be exactly 6 digits"); + return Promise.resolve(); + } + + + }, + + ]} + > + Zipcode} + maxLength="6" + fieldState={true} + fieldApi={true} + isOnChange={editstate?.Zip ? true : false} + onChange={pinCodeChange} + inputMode="numeric" + onInput={(e) => (e.target.value = e.target.value.replace(/[^0-9]/g, ''))} + /> + + +
+
+ {zipCodeData ? + <> + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + + : ""} + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + handleMapShow(!mapshow)} // 👈 Show map on click + /> + + } + /> + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + + +
+ + } + + +
+ + {mapshow && + <> +
+

Address Details

+ +
+
+ +
+ { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + Address Line1} + fieldState={true} + fieldApi={true} + isOnChange={editstate?.Address1 ? true : false} + + /> + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + { + if (!value) return Promise.reject("Please enter Zipcode"); + if (!/^\d{6}$/.test(value)) return Promise.reject("Zipcode must be exactly 6 digits"); + return Promise.resolve(); + } + + + }, + + ]} + > + Zipcode} + maxLength="6" + fieldState={true} + fieldApi={true} + isOnChange={editstate?.Zip ? true : false} + onChange={pinCodeChange} + inputMode="numeric" + onInput={(e) => (e.target.value = e.target.value.replace(/[^0-9]/g, ''))} + /> + + {zipCodeData ? + <> + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + + : ""} + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + handleMapShow(!mapshow)} // 👈 Show map on click + /> + + } + /> + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + +
+ + + + + +
+ +
+ + + +
+ + } + +
+ + +
+ } + htmlType={true} + disabled={ + UserType === "Super Admin" ? false : + (disable || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Branch")?.AddAccess === "N") + } + + /> +
+ +
+
+
+
+ ); +} + +export default BranchForm; + diff --git a/src/Pages/branch/branchList.jsx b/src/Pages/branch/branchList.jsx new file mode 100644 index 0000000..2bdb0b4 --- /dev/null +++ b/src/Pages/branch/branchList.jsx @@ -0,0 +1,428 @@ +import { useState, useEffect, useCallback } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import { Link, useNavigate, useLocation } from "react-router-dom"; +import { Space, Tooltip } from "antd"; +import { + EditFilled, + DeleteFilled, + PlusOutlined, + ReloadOutlined, +} from "@ant-design/icons"; +import { Tables } from "../../Components/Tables/Table"; +import { Search } from "../../Components/Forms/Search"; +import Buttons from "../../Components/Forms/Buttons"; +import { Messages } from "../../Components/Notifications/Messages"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { + branchDataSelector, + getBranchData, + deleteBranchData, + getBranchAdminUsers, + BranchAdminSelector, + checkTrialBranch, + getUseridbasedbranchdata, +} from "../../features/branchPage/branchPage.js"; +import { getSession } from "../../Services/others"; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; +import { getUserBasedConstraint } from "../../features/pricingType/pricingType.js"; +import "../../styles/OverAllStyle/OverAllStyle.scss/" + +const subDirectory = import.meta.env.ENV_BASE_URL; + +const BranchList = () => { + const navigateTo = useNavigate(); + const dispatch = useDispatch(); + const location = useLocation(); + const branchData = useSelector(branchDataSelector); + + const UserId = getSession("UserId"); + + + const BranchAdminusers = useSelector(BranchAdminSelector); + const SuperAdminUserAccess = useSelector(SuperAdminUserAccessDataSelector) + //local states + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [UserConstraintData, setUserConstraintData] = useState(0); + const [page, setpage] = useState(1); + const [Branchdata, setBranchdata] = useState() + + + const [UserType, setUserType] = useState( + getSession("UserType") ? getSession("UserType") : null + ); + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "Branch", + link: `${subDirectory}setting/branch-master`, + }, + ]; + + useEffect(() => { + try { + dispatch(changeBreadCrumb({ items: items })); + if (UserType === "Super Admin" || UserType === "Super Admin User") { + dispatch(getBranchData()).unwrap(); + } + if (location?.state?.Notiffy) { + setMessageType(location?.state?.Notiffy.messageType); + setMessageData(location?.state?.Notiffy.messageData); + } + } catch (err) { + console.log(err, "err"); + } + Branchdatas() + }, []); + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + const actionsFormatter = async (row, rowIndex) => { + if (row.ActiveStatus !== "D") { + navigateTo( + `${subDirectory}setting/branch-master/update`, + { state: { editstate: row } }, + { key: rowIndex } + ); + } + }; + useEffect(() => { + dispatch(getBranchAdminUsers(getSession("UserId"))); + }, [getSession("UserId")]); + + useEffect(() => { + + fetchUserBranch() + }, [UserId]) + + const fetchUserBranch = async () => { + + let res = await dispatch(getUserBasedConstraint(UserId)).unwrap(); + if (res?.data?.statusCode === 1) { + console.log(res?.data?.data, "res?.data?.RemainingCompanyCount") + setUserConstraintData(res?.data?.data?.RemainingBranchCount) + } + else if (res?.data?.statusCode === 0) { + setUserConstraintData(0); + } + } + const statusFormatter1 = async (row) => { + + if (row?.CompActiveStatus !== "D") { + let Response = await dispatch(checkTrialBranch({ "UserId": UserType === "Admin" ? getSession("UserId") : row?.UserId, "AppId": row?.AppId, "CompId": row?.CompId })).unwrap(); let y = Response.data?.data[0]?.BranchCount + let x = Response.data?.data[0]?.FeatureDetails?.filter((e) => e.FeatName == "Branch")[0]?.FeatConstraint; + + if (y < x) { + let deleteData = { + BrId: row.BrId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession("UserId"), + }; + let response = await dispatch(deleteBranchData(deleteData)).unwrap(); + if (response?.data?.statusCode == 1) { + fetchUserBranch() + setMessageType("success"); + setMessageData( + row.ActiveStatus == "A" + ? "Branch In-Activated Successfully" + : "Branch Activated Successfully" + ); + if (UserType === "Admin") { + dispatch(getBranchAdminUsers(getSession("UserId"))); + } else { + if (UserType === "Super Admin" || UserType === "Super Admin User") { + await dispatch(getBranchData()).unwrap(); + } + } + } + + } + else { + setMessageType("error"); + setMessageData("You need to delete one branch in your company if you wanna add this branch"); + } + } + else { + setMessageType("error"); + setMessageData("You need to activate your company"); + } + }; + + const statusFormatter = async (row) => { + let deleteData = { + BrId: row.BrId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession("UserId"), + }; + let response = await dispatch(deleteBranchData(deleteData)).unwrap(); + if (response?.data?.statusCode == 1) { + fetchUserBranch() + setMessageType("success"); + setMessageData( + row.ActiveStatus == "A" + ? "Branch In-Activated Successfully" + : "Branch Activated Successfully" + ); + if (UserType === "Admin") { + dispatch(getBranchAdminUsers(getSession("UserId"))); + } else { + if (UserType === "Super Admin" || UserType === "Super Admin User") { + await dispatch(getBranchData()).unwrap(); + } + } + } + }; + + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + const onSearch = (value) => { + setSearchedText(value); + }; + const onSearchChange = (e) => { + setSearchedText(e?.target?.value); + }; + const handlePageChange = (current) => { + setpage(current); + }; + + const columns = [ + { + title: "Si.No", + key: "sno", + align: "center", + width: "80px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "App Name", + dataIndex: "AppName", + key: "AppName", + align: "left", + render: (text) => {text}, + sorter: (a, b) => a?.AppName?.localeCompare(b.AppName), + sortOrder: + sortedInfo.columnKey === "AppName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Company Name", + dataIndex: "CompName", + key: "CompName", + align: "left", + render: (text) => {text}, + sorter: (a, b) => a?.CompName?.localeCompare(b.CompName), + sortOrder: + sortedInfo.columnKey === "CompName" ? sortedInfo.order : null, + ellipsis: true, + }, + + { + title: "Branch Name", + dataIndex: "BrName", + key: "BrName", + align: "left", + width: "150px", + render: (text) => ( + {text} + ), + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.AppName).toLowerCase().includes(value.toLowerCase()) || + String(record.CompName).toLowerCase().includes(value.toLowerCase()) || + String(record.BrName).toLowerCase().includes(value.toLowerCase()) || + String(record.City).toLowerCase().includes(value.toLowerCase()) || + String(record.Dist).toLowerCase().includes(value.toLowerCase()) || + String(record.State).toLowerCase().includes(value.toLowerCase()) || + String(record.BrMobile) + .toLowerCase() + .includes(value.toLowerCase()) + ); + }, + sorter: (a, b) => a?.BrName?.localeCompare(b.BrName), + sortOrder: sortedInfo.columnKey === "BrName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Mobile No", + dataIndex: "BrMobile", + key: "BrMobile", + align: "left", + width: "150px", + render: (text) => {text}, + }, + { + title: "City", + dataIndex: "City", + key: "City", + align: "left", + render: (text) => {text != 'NA' && text}, + sorter: (a, b) => a?.City?.localeCompare(b?.City), + sortOrder: sortedInfo.columnKey === "City" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "District", + dataIndex: "Dist", + key: "Dist", + align: "left", + render: (text) => {text}, + sorter: (a, b) => a?.Dist?.localeCompare(b?.Dist), + sortOrder: sortedInfo.columnKey === "Dist" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "State", + dataIndex: "State", + key: "State", + align: "left", + render: (text) => {text}, + sorter: (a, b) => a?.State?.localeCompare(b?.State), + sortOrder: sortedInfo.columnKey === "State" ? sortedInfo.order : null, + ellipsis: true, + }, + + { + title: "Action", + key: "Action", + dataIndex: "Action", + align: "center", + width: "150px", + render: (_, record, index) => + ((UserType === 'Admin' || UserType === 'Admin User') ? BranchAdminusers?.length >= 1 : + branchData?.length >= 1) + ? ( + + {record.ActiveStatus === "A" ? ( + + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Branch")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : " " + )} + + /> + + ) : ( + "" + )} + + {record.ActiveStatus === "A" ? ( + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Branch")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> + ) : ( + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Branch")?.DeleteAccess === "Y") + ? statusFormatter1(record) + : " " + )} + /> + )} + + + ) : null, + }, + ]; + const handelAddButton = () => { + navigateTo(`${subDirectory}setting/branch-master/new`); + }; + + const Branchdatas = async () => { + let Response = await dispatch(getUseridbasedbranchdata({ "UserId": UserId })).unwrap(); + setBranchdata(Response?.data?.data) + } + + return ( +
+
+ +
+
+ +
+
+ +
+ +
+
+ + e?.ConfigName == "Branch")?.AddAccess === "N" ? `You don't have an access` : ''}> + handelAddButton()} + color="901D77" + icon={} + disabled={UserType === "Super Admin" + ? false + : + UserConstraintData === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName == "Branch")?.AddAccess === "N" ? true : false} + > + OPEN + + +
+
+ +
+ {UserType === "Admin" || UserType === "Admin User" ? ( + + ) : ( + // Render the table for other user types + + )} +
+
+
+ ); +}; + +export default BranchList; \ No newline at end of file diff --git a/src/Pages/carousel/carouselForm.jsx b/src/Pages/carousel/carouselForm.jsx new file mode 100644 index 0000000..4b1df6e --- /dev/null +++ b/src/Pages/carousel/carouselForm.jsx @@ -0,0 +1,412 @@ + +import { useState, useEffect, useCallback } from 'react'; +import { useDispatch, useSelector } from 'react-redux' +import { InputField } from "../../Components/Forms/InputField.jsx"; +import { Form } from "antd"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { Messages } from "../../Components/Notifications/Messages.jsx"; +import { changeBreadCrumb } from '../../features/appPage/centerPage.js'; +import { DropDowns } from '../../Components/Forms/DropDown.jsx'; +import { Col, Row } from 'antd'; +import { EditFilled, DeleteFilled, PlusOutlined, ReloadOutlined } from "@ant-design/icons"; +import { DefaultModal } from "../../Components/Modal/DefaultModal.jsx"; +import React from 'react'; +import { Tables } from "../../Components/Tables/Table.jsx"; +import { Space } from "antd"; +import Search from '../../Components/Forms/Search.jsx'; +import { carouselDataSelector, getCarouselData, deleteCarouselData, postCarouselData, putCarouselData, ConfigNamesSelector, getConfigNames } from "../../features/carouselPage/carouselPage.js"; +import { getSession, validateSafeInput } from "../../Services/others.js"; +import FormHeader from '../pageComponents/FormHeader.jsx' +import { SuperAdminUserAccessDataSelector } from '../../features/superAdminAccess/superAdminAccess.js'; +import "../../styles/OverAllStyle/OverAllStyle.scss" + + + +const subDirectory = import.meta.env.BASE_URL +const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + +]; + + + + +const CarouselForm = () => { + const dispatch = useDispatch(); + const [open, setOpen] = useState(false); + const [editState, setEditState] = useState(false); + + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [selectedRow, setSelectedRow] = useState(null); + const [selectedConfigName, setSelectedConfigName] = useState(null); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [page, setpage] = useState(1); + const CommonData = useSelector(carouselDataSelector) + const ConfigNames = useSelector(ConfigNamesSelector) + const SuperAdminUserAccess = useSelector(SuperAdminUserAccessDataSelector) + const [form] = Form.useForm(); + const UserType = getSession("UserType") + + var fieldState = "" + + var fieldApi = [ + { + setValue: "s", + setTouched: true, + }, + ]; + + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + + + + const handleSubmit = async () => { + + const values = await form.validateFields(); + const postData = { + ScreenId: values.ScreenId, + Carousel: values.Carousel, + CreatedBy: getSession('UserId'), + }; + let response = {} + if (!editState) { + response = await dispatch(postCarouselData(postData)).unwrap() + } + else { + if (selectedRow) { + const putData = { + CarouselId: selectedRow.CarouselId, + UpdatedBy: getSession('UserId'), + ...postData, + }; + response = await dispatch(putCarouselData(putData)).unwrap() + } + + } + if (response?.data?.statusCode == 1) { + setMessageType("success"); + setMessageData(response?.data?.response); + handleCancel() + dispatch(getCarouselData()).unwrap(); + } else { + setMessageType("error") + setMessageData(response?.data?.response) + } + } + + + + useEffect(() => { + try { + dispatch(changeBreadCrumb({ items: items })); + dispatch(getCarouselData()).unwrap(); + dispatch(getConfigNames()).unwrap(); + + } catch (err) { + console.log(err, "err"); + } + }, []); + + + + const handleDropDownChange = async (value) => { + form.setFieldsValue({ ScreenId: value }) + setSelectedConfigName(value) + }; + + + + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + + + }, []) + + + + + + + const actionsFormatter = async (row) => { + if (row.ActiveStatus !== "D") { + setOpen(true); + setEditState(true); + form.setFieldsValue(row); + setSelectedRow(row); + setSelectedConfigName(row.ScreenId) + + } + }; + + const statusFormatter = async (row) => { + let deleteData = { + CarouselId: row.CarouselId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession('UserId') + }; + let response = await dispatch(deleteCarouselData(deleteData)).unwrap() + if (response?.data?.statusCode == 1) { + dispatch(getCarouselData()).unwrap() + setMessageType("success") + setMessageData(row.ActiveStatus == "A" ? "Carousel In-Activated Successfully" : "Carousel Activated Successfully") + } + }; + + const openModal = () => { + setOpen(true); + + form.resetFields(); + if (ConfigNames.length === 1) { + setSelectedConfigName(ConfigNames[0]?.["ConfigId"]) + form.setFieldsValue({ ScreenId: ConfigNames[0]?.["ConfigId"] }) + } + // Reset the editState to false + setEditState(false); + }; + const handleCancel = () => { + setOpen(false); + // setIsOpen(false); + }; + + + + const onSearch = (value) => { + setSearchedText(value) + } + const onSearchChange = (e) => { + setSearchedText(e?.target?.value) + } + + const handlePageChange = (current) => { + setpage(current); + }; + + const columns = [ + { + title: 'SI.NO', + key: 'sno', + align: 'center', + width: "100px", + render: (text, object, index) => {(page - 1) * 10 + index + 1} + + }, + + { + title: "Screen Name", + dataIndex: "ScreenName", + key: "ScreenName", + width: "100px", + align: 'left', + render: (text) => {text}, + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.ScreenName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.Carousel) + .toLowerCase() + .includes(value.toLowerCase()) + ) + }, + sorter: (a, b) => a?.ScreenName?.localeCompare(b.ScreenName), + sortOrder: sortedInfo.columnKey === 'ScreenName' ? sortedInfo.order : null, + ellipsis: true, + }, + + { + title: "Carousel", + dataIndex: "Carousel", + key: "Carousel", + align: 'left', + width: "100px", + render: (text) => {text}, + sorter: (a, b) => a?.Carousel?.localeCompare(b.Carousel), + sortOrder: sortedInfo.columnKey === 'Carousel' ? sortedInfo.order : null, + ellipsis: true, + + }, + + { + title: "Action", + key: "Action", + dataIndex: "Action", + width: "100px", + align: 'center', + render: (_, record, index) => + CommonData.length >= 1 ? ( + + {record.ActiveStatus === "A" ? + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Carousel")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : "" + )} + /> + : ""} + + {record.ActiveStatus === "A" ? ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Carousel")?.DeleteAccess === "Y") + ? statusFormatter(record) + : "" + )} + /> : ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Carousel")?.DeleteAccess === "Y") + ? statusFormatter(record) + : "" + )} + /> + } + + + + ) : null, + }, + + + ]; + + return ( + <> +
+
+ +
+
+ +
+
+
+ +
+ } + disabled={UserType === "Super Admin" + ? false + : + SuperAdminUserAccess?.find((e) => e?.ConfigName === "Carousel")?.AddAccess === "N"} + > + OPEN + +
+
+
+ {" "} +
+
+ + + +
+ + + ({ + value: option.ConfigId, + label: option.ConfigName, + }))} + placeholder="ScreenId" + label="Screen Name" + className='field-DropDown' + onChangeFunction={handleDropDownChange} + valueData={selectedConfigName} + isOnchanges={(editState || selectedConfigName) ? true : false} + disabled={!!editState} + + /> + + + + { + await validateSafeInput(value); // Optional: to block SQL/HTML if needed + + if (value && value.length > 20) { + return Promise.reject("Carousel should not exceed 20 characters"); + } + + return Promise.resolve(); + }, + }, + ]} + > + Carousel} + className="Input" + fieldState={editState ? true : fieldState} + fieldApi={fieldApi} + autoComplete="off" + isOnChange={editState ? true : false} + /> + + + + + + + } + handleCancel={handleCancel} + handleSubmit={handleSubmit} + /> + + + + ); +}; + +export default CarouselForm; \ No newline at end of file diff --git a/src/Pages/ccavenueCustom/paymentDetails.jsx b/src/Pages/ccavenueCustom/paymentDetails.jsx new file mode 100644 index 0000000..8db535d --- /dev/null +++ b/src/Pages/ccavenueCustom/paymentDetails.jsx @@ -0,0 +1,485 @@ +import { useState, useEffect, useCallback } from 'react'; +import { useDispatch, useSelector } from 'react-redux'; +import { useNavigate } from 'react-router-dom'; +import { Space, Form, Col, Row } from "antd"; +import { DropDowns } from "../../Components/Forms/DropDown"; +import { InputField } from "../../Components/Forms/InputField" +import { DeleteFilled, PlusOutlined, ReloadOutlined, EditFilled } from "@ant-design/icons"; +import { Tables } from "../../Components/Tables/Table"; +import { Search } from "../../Components/Forms/Search"; +import Buttons from '../../Components/Forms/Buttons'; +import { Messages } from "../../Components/Notifications/Messages"; +import FormHeader from '../pageComponents/FormHeader.jsx'; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { getPaymentMethod, getPaymentMethodWithActiveStatus, PostPaymentMethod, PutPaymentMethod, deletePaymentDetail } from "../../features/paymentPage/paymentPage.js" +import { getSession, validateSafeInput } from "../../Services/others"; +import { DefaultModal } from "../../Components/Modal/DefaultModal"; +import { SuperAdminUserAccessDataSelector } from '../../features/superAdminAccess/superAdminAccess.js'; + + +const subDirectory = import.meta.env.ENV_BASE_URL + +const PaymentDetails = () => { + const dispatch = useDispatch(); + const SuperAdminUserAccess = useSelector(SuperAdminUserAccessDataSelector) + const [Dropdowndata, SetDropdowndata] = useState([]); + console.log(Dropdowndata, "DropdowndataDropdowndata") + const [Finaldata, setFinaldata] = useState([]); + console.log(Finaldata, 'FinaldataFinaldata') + const [TableDataWithActive, SetTableDataWithActive] = useState(); + const [open, setOpen] = useState(false); + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [page, setpage] = useState(1); + const [PaymentMethodoutside, SelectedPaymentMethodoutside] = useState("Select"); + const [PaymentMethod, SelectedPaymentMethod] = useState(null); + const [DropName, setDropName] = useState(""); + const [UniqueId, setUniqueId] = useState(); + console.log(DropName, "DropNameDropName") + const UserType = getSession("UserType") + const [Edit, SetEdit] = useState(false); + const [form] = Form.useForm(); + useEffect(() => { + const fetchData = async () => { + try { + const response = await dispatch(getPaymentMethod()).unwrap(); + const response1 = await dispatch(getPaymentMethodWithActiveStatus()).unwrap(); + + const tableData = response?.data?.data; + console.log(tableData, "1111") + const tableDataWithActive = response1?.data?.data; + + // Combine table data arrays + const combinedArray = tableData.flatMap(({ Details, MethodName, MethodId }) => + Details.map(Detail => ({ MethodName, Detail, MethodId })) + ); + + + SetDropdowndata(tableData); + setFinaldata(combinedArray); + SetTableDataWithActive(tableDataWithActive); + + console.log(combinedArray, 'Tabledatasssss'); + console.log(combinedArrayWithActive, 'Tabledatasssss with active'); + + } catch (err) { + console.log(err, "err"); + } + }; + + fetchData(); + }, []); + + + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + + + ]; + + useEffect(() => { + try { + dispatch(changeBreadCrumb({ items: items })); + + } catch (err) { + console.log(err, "err"); + } + }, []); + + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + + + }, []) + + const actionsFormatter = async (row, index) => { + SelectedPaymentMethod(row.MethodId) + setUniqueId(row?.Detail?.UniqueId); + form.setFieldsValue({ + "MethodId": row?.MethodId, + "CardName": row?.Detail?.cardName + }); + setOpen(true); + SetEdit(true); + }; + + + + const statusFormatter = async (row) => { + console.log(row, "rowrow") + let deleteData = { + UniqueId: row?.Detail?.UniqueId, + ActiveStatus: row?.Detail?.ActiveStatus == "A" ? "D" : "A", + }; + let response = await dispatch(deletePaymentDetail(deleteData)).unwrap() + if (response?.data?.statusCode == 1) { + const response = await dispatch(getPaymentMethod()).unwrap(); + const tableData = response?.data?.data; + const combinedArray = tableData.flatMap(({ Details, MethodName, MethodId }) => + Details.map(Detail => ({ MethodName, Detail, MethodId })) + ); + setFinaldata(combinedArray); + } setMessageType("success") + setMessageData(row?.Detail?.ActiveStatus == "A" ? "Payment Details In-Activated Successfully" : "Payment Details Activated Successfully") + + + }; + + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + const handlePageChange = (current) => { + setpage(current); + }; + + const onSearch = (value) => { + setSearchedText(value) + setSearchedText("CreditCard") + } + const onSearchChange = (e) => { + setSearchedText(e?.target?.value) + } + const columns = [ + { + title: "Si.No", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + + { + title: "Payment Mode", + dataIndex: "MethodName", + key: "MethodName", + width: "100px", + align: "left", + render: (text) => ( + {text} + ), + filteredValue: [DropName ? DropName : searchedText], + onFilter: (value, record) => { + return ( + String(record.MethodName) + .toLowerCase() + .includes(value.toLowerCase()) + ) + }, + + sorter: (a, b) => a?.MethodName?.localeCompare(b.MethodName), + sortOrder: sortedInfo.columnKey === "MethodName" ? sortedInfo.order : null, + ellipsis: true, + + }, + { + title: "Name", + dataIndex: "Name", + key: "Name", + width: "100px", + align: "left", + render: (text, record) => ( + + {record?.Detail?.cardName} + + ), + sorter: (a, b) => a?.Detail?.cardName?.localeCompare(b.Detail?.cardName), + sortOrder: sortedInfo.columnKey === 'Name' ? sortedInfo.order : null, + ellipsis: true, + + }, + + + { + title: "Action", + key: "Action", + dataIndex: "Action", + width: "100px", + align: "center", + render: (_, record, index) => + Finaldata?.length >= 1 ? ( + + {record?.Detail?.ActiveStatus === "A" ? + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Payment Details")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : "" + )} + /> + : ""} + + {record?.Detail?.ActiveStatus === "A" ? ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Payment Details")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> : ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Payment Details")?.DeleteAccess === "Y") + ? statusFormatter(record) + : "" + )} + + /> + } + + + + ) : null, + }, + ]; + + const handelAddButton = () => { + setOpen(true) + } + + const handleCancel = () => { + + setOpen(false); + form.resetFields(); + SelectedPaymentMethod(null); + }; + + + var fieldApi = [ + { + setValue: "s", + setTouched: true, + }, + ]; + const handleSubmit = async () => { + + const value = await form.validateFields(); + console.log(value, "valuevalue") + let postData = {}; + postData["MethodId"] = value.MethodId; + postData["cardName"] = value.CardName; + let putData = {}; + let datas = Finaldata.find((e) => e?.MethodId === value.MethodId); + console.log(datas, "datasdatasdatas") + putData["UniqueId"] = UniqueId; + putData["cardName"] = value.CardName; + if (Edit) { + let response1 = await dispatch(PutPaymentMethod(putData)).unwrap() + if (response1?.data?.statusCode == 1) { + setMessageType("success") + setMessageData(response1?.data?.response) + setOpen(false); + form.resetFields(); + SetEdit(false); + SelectedPaymentMethod(null); + + const response = await dispatch(getPaymentMethod()).unwrap(); + const tableData = response?.data?.data; + const combinedArray = tableData.flatMap(({ Details, MethodName, MethodId }) => Details.map(Detail => ({ MethodName, Detail, MethodId }))); + setFinaldata(combinedArray); + + + + } + else { + setMessageType("error") + setMessageData(response1?.data?.response) + + } + } + else { + let response1 = await dispatch(PostPaymentMethod(postData)).unwrap() + if (response1?.data?.statusCode == 1) { + setMessageType("success") + setMessageData(response1?.data?.response) + form.resetFields(); + setOpen(false); + SelectedPaymentMethod(null); + const response = await dispatch(getPaymentMethod()).unwrap(); + const tableData = response?.data?.data; + const combinedArray = tableData.flatMap(({ Details, MethodName, MethodId }) => + Details.map(Detail => ({ MethodName, Detail, MethodId })) + ); + setFinaldata(combinedArray); + + + } + else { + setMessageType("error") + setMessageData(response1?.data?.response) + + } + + + } + } + + const handleDropDownChange = (e) => { + form.setFieldsValue({ MethodId: e }) + SelectedPaymentMethod(e) + } + const handleDropDownChangeoutside = (e) => { + let name = Dropdowndata?.filter((value) => value.MethodId == e) + console.log(name, 'namename') + setDropName(name[0]?.MethodName) + form.setFieldsValue({ MethodId: e }) + SelectedPaymentMethodoutside(e) + } + + return ( +
+
+ +
+
+ +
+
+
+ +
+ + ({ + value: option.MethodId, + label: option.MethodName, + })), + ]} + placeholder="Payment Method" + label="Payment Method" + isOnchanges={true} + className='field-DropDown' + onChangeFunction={handleDropDownChangeoutside} + valueData={PaymentMethodoutside} + + /> + + handelAddButton()} + color="901D77" + icon={} + disabled={UserType === "Super Admin" + ? false + : + SuperAdminUserAccess?.find((e) => e?.ConfigName === "Payment Details")?.AddAccess === "N"} + + > + OPEN + +
+
+ + +
+ {" "} +
+ +
+ +
+ +
+ + ({ + value: option.MethodId, + label: option.MethodName, + }))} + placeholder="Payment Method" + label={} + className='field-DropDown' + isOnchanges={PaymentMethod ? true : false} + onChangeFunction={handleDropDownChange} + valueData={PaymentMethod} + /> + + + + { + await validateSafeInput(value); // Optional: to block SQL/HTML if needed + + if (value && value.length > 50) { + return Promise.reject("Card / Bank Name should not exceed 50 characters"); + } + + return Promise.resolve(); + }, + }, + ]} + > + Card / Bank Name } + className="Input" + fieldState={true} + fieldApi={fieldApi} + autocomplete="off" + isOnChange={Edit ? true : false} + /> + + + + + + + + } + handleCancel={handleCancel} + handleSubmit={handleSubmit} + /> + + + ); +} + +export default PaymentDetails; \ No newline at end of file diff --git a/src/Pages/ccavenueCustom/paymentMethod.jsx b/src/Pages/ccavenueCustom/paymentMethod.jsx new file mode 100644 index 0000000..7d55b39 --- /dev/null +++ b/src/Pages/ccavenueCustom/paymentMethod.jsx @@ -0,0 +1,830 @@ +import { useState, useEffect,useCallback} from 'react'; +import { useDispatch, useSelector } from 'react-redux'; +import { useNavigate } from 'react-router-dom'; +import { Space} from "antd"; +import {DeleteFilled,ReloadOutlined} from "@ant-design/icons"; +import { Tables } from "../../Components/Tables/Table"; +import { Search } from "../../Components/Forms/Search"; +import { Messages } from "../../Components/Notifications/Messages"; +import FormHeader from '../pageComponents/FormHeader.jsx'; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import {getPaymentMethod,deletePaymentMethod} from "../../features/paymentPage/paymentPage.js" +import { getSession } from "../../Services/others"; +import { SuperAdminUserAccessDataSelector } from '../../features/superAdminAccess/superAdminAccess.js'; + +const subDirectory = import.meta.env.ENV_BASE_URL + +const PaymentMethod = () => { + const navigateTo = useNavigate(); + const dispatch = useDispatch(); + + const SuperAdminUserAccess=useSelector(SuperAdminUserAccessDataSelector) + + console.log(SuperAdminUserAccess,"SuperAdminUserAccess") + const paymentMethodData=[ + { + "MethodName": "CreditCard", + "PayOpt": "OPTCRDC", + "CardType": "CRDC", + "ActiveStatus":"A", + "Details": [ + { + "cardName": "Amex", + "cardType": "CRDC", + "payOptType": "OPTCRDC", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "MasterCard", + "cardType": "CRDC", + "payOptType": "OPTCRDC", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI" + }, + { + "cardName": "RuPay", + "cardType": "CRDC", + "payOptType": "OPTCRDC", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Visa", + "cardType": "CRDC", + "payOptType": "OPTCRDC", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + } + ] + }, + { + "MethodName": "DebitCard", + "PayOpt": "OPTDBCRD", + "CardType": "DBCRD", + "ActiveStatus":"A", + "Details": [ + { + "cardName": "Maestro Debit Card", + "cardType": "DBCRD", + "payOptType": "OPTDBCRD", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "MasterCard Debit Card", + "cardType": "DBCRD", + "payOptType": "OPTDBCRD", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI" + }, + { + "cardName": "RuPay", + "cardType": "DBCRD", + "payOptType": "OPTDBCRD", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Visa Debit Card", + "cardType": "DBCRD", + "payOptType": "OPTDBCRD", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + } + ] + }, + { + "MethodName": "NetBanking", + "PayOpt": "OPTNBK", + "CardType": "NBK", + "ActiveStatus":"A", + "Details": [ + { + "cardName": "YES Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Union Bank of India", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Ujjivan Small Finance Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "DOWN", + "statusMessage": "Ujjivan Small Finance Bank payment option is temporarily down. Please select another payment option." + }, + { + "cardName": "UCO Bank Corporate Account", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI" + }, + { + "cardName": "UCO Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Tamilnad Mercantile Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "SVC Co-operative Bank Ltd", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI" + }, + { + "cardName": "Suryoday Small Finance Bank Ltd", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "DOWN", + "statusMessage": "Suryoday Small Finance Bank Ltd payment option is temporarily down. Please select another payment option." + }, + { + "cardName": "State Bank of India", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Standard Chartered Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "South Indian Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Saraswat Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "RBL Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Punjab National Bank [Retail]", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Punjab National Bank [Corporate]", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "NSDL Payments Bank Limited", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI" + }, + { + "cardName": "NKGSB Co-op Bank Ltd", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Kotak Mahindra Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Karur Vysya Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Karnataka Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "JANATA SAHAKARI BANK LTD PUNE", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI" + }, + { + "cardName": "Jana Small Finance Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Jammu and kashmir Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "IndusInd Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Indian Overseas Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Indian Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "IDFC FIRST Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "IDBI Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "ICICI Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "HSBC", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "HDFC Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Federal Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Equitas Small Finance Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI" + }, + { + "cardName": "Dhanlaxmi Bank Corporate", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI" + }, + { + "cardName": "Dhanlaxmi Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Deutsche Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "DCB BANK Business", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "DCB Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Cosmos Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "City Union Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Central Bank of India", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Catholic Syrian Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Canara Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Bank of Maharashtra", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Bank of India", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Bank of Baroda Retail", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Bank of Baroda Corporate", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Bank of Baharin and Kuwait", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Bandhan Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "Axis Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "AU Small Finance Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "AU SFB Corporate Net Banking", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI" + }, + { + "cardName": "Airtel Payments Bank", + "cardType": "NBK", + "payOptType": "OPTNBK", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + } + ] + }, + { + "MethodName": "CashCard", + "PayOpt": "OPTCASHC", + "CardType": "CASHC", + "Details": [ + { + "cardName": "ITZ Cash Card", + "cardType": "CASHC", + "payOptType": "OPTCASHC", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + } + ] + }, + { + "MethodName": "Wallet", + "PayOpt": "OPTWLT", + "CardType": "WLT", + "Details": [ + { + "cardName": "Airtel", + "cardType": "WLT", + "payOptType": "OPTWLT", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI" + }, + { + "cardName": "FreeCharge", + "cardType": "WLT", + "payOptType": "OPTWLT", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "ICICI Pockets", + "cardType": "WLT", + "payOptType": "OPTWLT", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI" + }, + { + "cardName": "Itz Cash Card", + "cardType": "WLT", + "payOptType": "OPTWLT", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "jioMoney", + "cardType": "WLT", + "payOptType": "OPTWLT", + "dataAcceptedAt": "CCAvenue", + "status": "DOWN", + "statusMessage": "Wallet payment option is temporarily down. Please select another payment option." + }, + { + "cardName": "Mobikwik", + "cardType": "WLT", + "payOptType": "OPTWLT", + "dataAcceptedAt": "Service Provider", + "status": "ACTI", + "statusMessage": "" + }, + { + "cardName": "OlaMoney(Postpaid-Wallet)", + "cardType": "WLT", + "payOptType": "OPTWLT", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + } + ] + }, + { + "MethodName": "UPI", + "PayOpt": "OPTUPI", + "CardType": "UPI", + "ActiveStatus":"A", + "Details": [ + { + "cardName": "UPI", + "cardType": "UPI", + "payOptType": "OPTUPI", + "dataAcceptedAt": "CCAvenue", + "status": "ACTI", + "statusMessage": "" + } + ] + }, + { + "MethodName": "EMI", + "PayOpt": "OPTEMI", + "CardType": "CRDC", + "Details": [ + { + "gtwId": "", + "gtwName": "RBL Bank", + "subventionPaidBy": "Customer", + "tenureMonths": "", + "processingFeeFlat": "", + "processingFeePercent": "", + "ccAvenueFeeFlat": "", + "ccAvenueFeePercent": "", + "tenureData": "", + "planId": 77, + "accountCurrName": "", + "emiPlanId": "", + "midProcesses": "Visa|MasterCard", + "BINs": "542505 541538 523950 528028 524373 536907 523650 536301 531845 549489 525611 522012 401578 439123", + "emiCardType": "CRDC" + } + ] + } +] + + //local states + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [page, setpage] = useState(1); + const [TableData, SetTableData] = useState(""); + + console.log(TableData,"TableDataTableData") + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + ]; + + useEffect(() => { + + const fetchData = async () => { + try { + dispatch(changeBreadCrumb({ items: items })); + let response=await dispatch(getPaymentMethod()).unwrap(); + SetTableData(response?.data?.data) + + } catch (err) { + console.log(err, "err"); + }}; + + fetchData(); + }, []); + + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + + + }, []) + + + + const statusFormatter = async (row) => { + console.log(row,"rowrowrow") + let deleteData = { + MethodId: row.MethodId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession('UserId') + }; + let response=await dispatch(deletePaymentMethod(deleteData)).unwrap() + if (response?.data?.statusCode == 1){ + let response1=await dispatch(getPaymentMethod()).unwrap(); + SetTableData(response1?.data?.data) + setMessageType("success") + setMessageData(row.ActiveStatus == "A" ? "Payment Method In-Activated Successfully": "Payment Method Activated Successfully") + } + }; + + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + const handlePageChange = (current) => { + setpage(current); + }; + + const onSearch = (value) => { + setSearchedText(value) + } + const onSearchChange =(e) => { + setSearchedText(e?.target?.value) + } + const columns = [ + { + title: "Si.No", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + + { + title: "Payment Method", + dataIndex: "MethodName", + key: "MethodName", + width: "100px", + align: "left", + render: (text) => ( + {text} + ), + filteredValue: [searchedText], + onFilter: (value, record) => {return ( + String(record.MethodName) + .toLowerCase() + .includes(value.toLowerCase()) + )}, + + sorter: (a, b) =>a?.MethodName?.localeCompare(b.MethodName), + sortOrder: sortedInfo.columnKey === "MethodName" ? sortedInfo.order : null, + ellipsis: true, + + }, + + + { + title: "Action", + key: "Action", + dataIndex: "Action", + width: "100px", + align: "center", + render: (_, record,index) => + TableData?.length >= 1 ? ( + + + {record.ActiveStatus === "A" ? ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Payment Method")?.DeleteAccess === "Y") + ? statusFormatter(record) + : "" + )} + /> : ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Payment Method")?.DeleteAccess === "Y") + ? statusFormatter(record) + : "" + )} + /> + } + + + + ) : null, + }, + ]; + + + + + return ( +
+
+ +
+
+ +
+
+
+ +
+ +
+
+ + +
+ {" "} +
+ +
+
+ ); + +} + +export default PaymentMethod; \ No newline at end of file diff --git a/src/Pages/comingSoon.jsx b/src/Pages/comingSoon.jsx new file mode 100644 index 0000000..4fe1aaf --- /dev/null +++ b/src/Pages/comingSoon.jsx @@ -0,0 +1,27 @@ +import React from 'react' +import "./comingSoon.scss" +import CommimgsoonImg from "../Images/commingsoon.png" + +const ComingSoon = () => { + return ( +
+ + +
+
+ +
+

Coming Soon

+

We're working hard to bring you an amazing experience!

+
+

Stay tuned! Launching in:

+
+ {/* Your countdown timer component can go here */} +
+
+
+
+ ) +} + +export default ComingSoon \ No newline at end of file diff --git a/src/Pages/comingSoon.scss b/src/Pages/comingSoon.scss new file mode 100644 index 0000000..3a1f0ca --- /dev/null +++ b/src/Pages/comingSoon.scss @@ -0,0 +1,21 @@ +.coming-soon-sub-container { + text-align: center; + display: flex; + flex-direction: column; + justify-content: center; + height: 100%; + } + .coming-soon-container { + background-color: rgb(235, 255, 248); + height: 100vh; + overflow: hidden; + } + .countdown { + margin-top: 20px; + } + + .countdown-timer { + font-size: 24px; + font-weight: bold; + } + \ No newline at end of file diff --git a/src/Pages/commonMaster/CommonMaster.jsx b/src/Pages/commonMaster/CommonMaster.jsx new file mode 100644 index 0000000..8cb2fe7 --- /dev/null +++ b/src/Pages/commonMaster/CommonMaster.jsx @@ -0,0 +1,592 @@ +import React, { useState, useEffect, useCallback } from "react"; +import { Form } from "antd"; +import { InputField } from "../../Components/Forms/InputField" +import { DropDowns } from "../../Components/Forms/DropDown"; +import { useDispatch, useSelector } from 'react-redux' +import { Col, Row } from 'antd'; +import { DefaultModal } from "../../Components/Modal/DefaultModal"; +import { Space } from "antd"; +import Buttons from "../../Components/Forms/Buttons"; +import { Tables } from "../../Components/Tables/Table"; +import { EditFilled, DeleteFilled, PlusOutlined, ReloadOutlined } from "@ant-design/icons"; +import { Messages } from "../../Components/Notifications/Messages"; +import { changeBreadCrumb } from '../../features/appPage/centerPage.js'; +import FormHeader from '../pageComponents/FormHeader.jsx' +import Imageupload from "../../Components/Forms/Upload.jsx"; +import { Search } from "../../Components/Forms/Search"; +import { getSession, validateSafeInput } from "../../Services/others"; +import { configDataSelector, getConfiguration, getConfigNames, deleteConfiguration, postConfiguration, putConfiguration, postBulkConfiguration } from "../../features/configmasterPage/configmasterPage.js"; +import { configTypeActiveDataSelector, getActiveConfigTypeNames } from "../../features/configtypePage/configtypePage.js"; +import { emptyExcelData } from "../../features/exceluploadPage/exceluploadPage.js"; +import "../../Components/Forms/main.scss"; +import TextAreaInput from "../../Components/Forms/TextArea.jsx"; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; + + +const subDirectory = import.meta.env.BASE_URL +const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + + +]; + + +const CommonMaster = () => { + var fieldState = "" + var fieldApi = [ + { + setValue: "s", + setTouched: true, + }, + ]; + const [form] = Form.useForm(); + const SuperAdminUserAccess = useSelector(SuperAdminUserAccessDataSelector) + + const CommonData = useSelector(configDataSelector) + const dispatch = useDispatch(); + const [open, setOpen] = useState(false); + const [EditState, setEditState] = useState(false); + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [selectedRow, setSelectedRow] = useState(null); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [CommonDataFilter, setCommonDataFilter] = useState([]); + const [dataToSubmit, setDataToSubmit] = useState(null); + const [imageUrl, setImageUrl] = useState(""); + const [radioValue, setRadioValue] = useState('single'); + const [page, setpage] = useState(1); + const [mainModuleOpen, setMainModuleOpen] = useState(false); + const [mainModuleData, setMainModuleData] = useState([]); + const [selectedMainModule, setSelectedMainModule] = useState(null); + const TypeNames = useSelector(configTypeActiveDataSelector) + const UserType = getSession("UserType") + useEffect(() => { + try { + dispatch(changeBreadCrumb({ items: items })); + dispatch(getConfiguration()).unwrap(); + dispatch(getActiveConfigTypeNames()).unwrap(); + } catch (err) { + console.log(err, "err"); + } + }, []); + + useEffect(() => { + setCommonDataFilter(CommonData) + }, [CommonData]); + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []) + + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + + const handleResetExcelData = () => { + dispatch(emptyExcelData()); + + }; + + const updateImageUrl = (url) => { + setImageUrl(url) + } + + const handleSubmit = async () => { + if (radioValue === 'single') { + const values = await form.validateFields(); + console.log("values", values) + const postData = { + TypeId: values.TypeId, + ConfigName: values.ConfigName, + AlphaNumFId: selectedMainModule, + Description: values.Description, + SmallIcon: imageUrl, + CreatedBy: getSession('UserId'), + }; + + let response = {}; + if (!EditState) { + response = await dispatch(postConfiguration(postData)).unwrap(); + } else { + if (selectedRow) { + const putData = { + ConfigId: selectedRow.ConfigId, + TypeId: selectedRow.TypeId, + AlphaNumFId: selectedRow.AlphaNumFId, + UpdatedBy: getSession('UserId'), + ConfigName: values.ConfigName, + Description: values.Description, + SmallIcon: imageUrl + }; + response = await dispatch(putConfiguration(putData)).unwrap(); + } + } + + if (response?.data?.statusCode == 1) { + setImageUrl(""); + setMessageType("success"); + setMessageData(response?.data?.response); + handleCancel(); + dispatch(getConfiguration()).unwrap(); + } else { + setImageUrl(""); + setMessageType("error"); + setMessageData(response?.data?.response); + } + } else if (radioValue === 'multiple') { + if (dataToSubmit && dataToSubmit.length > 0) { + const hasMissingConfigName = dataToSubmit.some((data) => !data?.configName || data?.configName.trim() === ''); + if (hasMissingConfigName) { + setMessageType("error"); + setMessageData("Please enter Config Name"); + } else { + const formattedData = dataToSubmit.map((data) => ({ + TypeId: parseInt(data?.TypeId), + ConfigName: data?.configName, + SmallIcon: data?.SmallIcon, + })); + + const postData = { + ConfigMasterDetails: formattedData, + }; + + let response = await dispatch(postBulkConfiguration(postData)).unwrap(); + if (response?.data?.statusCode == 1) { + setMessageType("success"); + setMessageData(response?.data?.response); + } else { + setMessageType("error"); + setMessageData(response?.data?.response); + } + + handleResetExcelData(); + handleCancel(); + dispatch(getConfiguration()).unwrap(); + // Handle success response + } + } else { + setMessageType("error"); + setMessageData("No data to submit. Please upload an Excel file."); + } + } + }; + + //edit + const actionsFormatter = async (row) => { + if (row.ActiveStatus !== "D") { + setOpen(true); + setEditState(true); + setImageUrl(row.SmallIcon); + form.setFieldsValue(row); + setSelectedRow(row); + } + }; + + + const statusFormatter = async (row) => { + let deleteData = { + ConfigId: row.ConfigId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession('UserId') + }; + let response = await dispatch(deleteConfiguration(deleteData)).unwrap() + if (response?.data?.statusCode == 1) { + dispatch(getConfiguration()).unwrap() + setMessageType("success") + setMessageData(row.ActiveStatus == "A" ? " Config Data In-Activated Successfully" : "Config Data Activated Successfully") + } + }; + + + + const openModal = () => { + setOpen(true); + form.resetFields(); + // Reset the editState to false + setEditState(false); + }; + + + + const handleCancel = () => { + setImageUrl(""); + setOpen(false); + handleResetExcelData(); + setSelectedMainModule(null); + setMainModuleOpen(false) + }; + + + + + + const handleDropDownChange = async (value) => { + form.setFieldsValue({ TypeId: value }) + let ModuleData = TypeNames?.filter((item) => item.TypeId == value && item.TypeName == "Module"); + if (ModuleData?.length > 0) { + setMainModuleOpen(true) + let MainModuleData = await dispatch(getConfigNames({ TypeName: "Main Module" })).unwrap() + if (MainModuleData?.data?.statusCode == 1) { + setMainModuleData(MainModuleData?.data?.data?.length > 0 ? MainModuleData?.data?.data?.filter(item => item.ActiveStatus === 'A') : []) + } + } else { + setMainModuleOpen(false) + setSelectedMainModule(null) + } + + }; + + const handleMainModuleDropDownChange = async (value) => { + setSelectedMainModule(value) + form.setFieldsValue({ MainModuleId: value }) + + } + + const ConfigSelect = async (e) => { + if (e === "Select") { + // If "Select" is chosen, display all data + setCommonDataFilter(CommonData); + } else { + // Filter the data based on the selected Config Type + const filteredItems = CommonData.filter( + (item) => item.TypeId === parseInt(e) + ); + setCommonDataFilter(filteredItems); + } + }; + + + + + + const onSearch = (value) => { + setSearchedText(value) + } + const onSearchChange = (e) => { + setSearchedText(e?.target?.value) + } + const columns = [ + { + title: 'SI.NO', + key: 'sno', + align: 'center', + width: "60px", + + render: (text, object, index) => {(page - 1) * 10 + index + 1} + + }, + + { + title: "Type Name", + dataIndex: "TypeName", + key: "TypeName", + align: "left", + width: "100px", + render: (text) => {text}, + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.TypeName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.ConfigName) + .toLowerCase() + .includes(value.toLowerCase()) + ) + }, + sorter: (a, b) => a?.TypeName?.localeCompare(b.TypeName), + sortOrder: sortedInfo.columnKey === 'TypeName' ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Config Name", + dataIndex: "ConfigName", + key: "ConfigName", + width: "100px", + align: "left", + render: (text) => {text}, + sorter: (a, b) => a?.ConfigName?.localeCompare(b.ConfigName), + sortOrder: sortedInfo.columnKey === 'ConfigName' ? sortedInfo.order : null, + ellipsis: true, + + }, + { + title: "Action", + key: "Action", + dataIndex: "Action", + width: "50px", + align: "left", + render: (_, record, index) => + CommonData.length >= 1 ? ( + + {record.ActiveStatus === "A" ? + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Config Master")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : " " + )} + /> + : ""} + + {record.ActiveStatus === "A" ? ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Config Master")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> : ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Config Master")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> + } + + + + ) : null, + }, + + + ]; + return ( +
+
+ +
+
+ +
+
+
+ +
+ + ({ + value: option.TypeId, + label: option.TypeName, + })), + ]} + defaultValue="Select" // Set "Select" as the default value + placeholder="Config Type" + label="ConfigType" + onChangeFunction={(e) => ConfigSelect(e)} + isOnchanges={true} + className='field-DropDown' + onFilter={(value, record) => + String(record.TypeName) + .toLowerCase() + .includes(value.toLowerCase()) + } + /> + + } + disabled={UserType === "Super Admin" + ? false + : + SuperAdminUserAccess?.find((e) => e?.ConfigName == "Config Master")?.AddAccess == "N" ? true : false} + > + OPEN + +
+ + +
+
+ +
+
+ + +
+
+ +
+ + ({ + value: option.TypeId, + label: option.TypeName, + })), + ]} + placeholder="ConfigType" + label={} + optionsNames={{ value: "TypeId", label: "TypeName" }} + className='field-DropDown' + isOnchanges={true} + onChangeFunction={handleDropDownChange} + defaultValue="Select" // Set "Select" as the default value + valueData={EditState ? selectedRow?.TypeId : undefined} + disabled={!!EditState} + /> + + +
+

Upload Icon

+ + +
+ + + + + + {mainModuleOpen && + + ({ + value: option.ConfigId, + label: option.ConfigName, + })), + ]} + placeholder="Main Module" + label={} + optionsNames={{ value: "ConfigId", label: "ConfigName" }} + className='field-DropDown' + onChangeFunction={handleMainModuleDropDownChange} + valueData={selectedMainModule} + + /> + + } + { + await validateSafeInput(value); + + if (value && value.length > 50) { + return Promise.reject("Config Name should not exceed 50 characters"); + } + + return Promise.resolve(); + }, + }, + ]} + > + Config Name} + className="Input" + fieldState={EditState ? true : fieldState} + fieldApi={fieldApi} + autocomplete="off" + isOnChange={EditState ? true : false} + /> + + + { + await validateSafeInput(value); + return Promise.resolve(); + }, + }, + ]} + > + + + + + + + + + + + } + handleCancel={handleCancel} + handleSubmit={handleSubmit} + /> + + + ); + + + +}; + +export default CommonMaster; \ No newline at end of file diff --git a/src/Pages/company/companyForm.jsx b/src/Pages/company/companyForm.jsx new file mode 100644 index 0000000..ded6089 --- /dev/null +++ b/src/Pages/company/companyForm.jsx @@ -0,0 +1,1453 @@ +import { useState, useEffect, useRef, useCallback } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import { useLocation, useNavigate } from "react-router-dom"; +import { DropDowns } from "../../Components/Forms/DropDown"; +import { Form } from "antd"; +import { ArrowRightOutlined } from "@ant-design/icons"; +import { InputField } from "../../Components/Forms/InputField.jsx"; +import { TextAreaInput } from "../../Components/Forms/TextArea.jsx"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { Messages } from "../../Components/Notifications/Messages"; +import { Toggle } from "../../Components/Forms/Switch.jsx"; +import Imageupload from "../../Components/Forms/Upload.jsx"; +import MapView from "../../Components/MapView/MapView.jsx"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { DatePicker, Space } from 'antd'; +import { + postCompanyData, + putCompanyData, + getAdminNames, + AdminNamesSelector, + getApplications, + ApplicationNamesSelector, + checkTrialCompany, + checkTrialCompanySelector, + getGstnumberDetails, +} from "../../features/companyPage/companyPage.js"; +import { Tooltip } from 'antd'; +import { InfoCircleOutlined } from '@ant-design/icons'; +import { dateFormatChange, getSession, validateSafeInput } from "../../Services/others"; +import dayjs from 'dayjs'; +import customParseFormat from 'dayjs/plugin/customParseFormat'; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; +import { getActiveApplicationData } from "../../features/applicationPage/applicationPage.js"; +dayjs.extend(customParseFormat); +import "../../styles/user/userForm.scss" + +const subDirectory = import.meta.env.ENV_BASE_URL; + +const CompanyForm = ({ formType }) => { + const navigate = useNavigate(); + const dispatch = useDispatch(); + const location = useLocation(); + const formRef = useRef(null); + const state = location?.state; + const editstate = state?.editstate; + console.log(editstate, "editstateeditstate") + const { RangePicker } = DatePicker; + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [addressData, setAddressData] = useState(false); + const [zipCodeData, setZipCodeData] = useState(false); + const [imageUrl, setImageUrl] = useState(""); + const [SelectedAdmin, setSelectedAdmin] = useState(null); + const [SelectedApplication, setSelectedApplication] = useState(null); + const [SelectedApplicationName, setSelectedApplicationName] = useState(null); + const [SelectedLatitude, setSelectedLatitude] = useState(null); + const [SelectedLongitude, setSelectedLongitude] = useState(null); + const [selectShortName, setSelectShortName] = useState(null); + const [selectGstName, setSelectGstName] = useState(null); + const [description, setDescription] = useState(null); + console.log(editstate?.Latitude, "SelectedLatitude"); + + const [selectCompMobile, setSelectCompMobile] = useState(null); + const [BranchAutoCreation, setBranchAutoCreation] = useState(); + const [FinancialYear, setFinancialYear] = useState(false) + const [FYFromDate, setFYFromDate] = useState(null) + const [FYToDate, setFYToDate] = useState(null) + const [SubmitStatus, setSubmitStatus] = useState(true) + const [FiltereApplications, setFiltereApplications] = useState([]); + const [CalenderFormat, setCalenderFormat] = useState("Date"); + const [range, setRange] = useState([]); + const [ApplicationData, setApplicationData] = useState([]); + const [SelectedBusinessType, setSelectedBusinessType] = useState(null); + const [ApplicationDisabled, setApplicationDisabled] = useState(false); + const UserType = getSession("UserType"); + const UserId = getSession("UserId"); + const AdminNames = useSelector(AdminNamesSelector); + const ApplicationNames = useSelector(ApplicationNamesSelector); + const SuperAdminUserAccess = useSelector(SuperAdminUserAccessDataSelector) + const [GstDetails, setGstDetails] = useState({}) + const CalenderFormatData = [ + { name: "Financial Year" }, + { name: "Calender Year" }, + { name: "Date" }, + ] + + useEffect(() => { + if (CalenderFormat === "Financial Year" && !editstate) { + const financialYear = getFinancialYearRange("DD-MM-YYYY"); + let [startYear, endYear] = financialYear.split(" - "); + setFYFromDate(dayjs(startYear, "DD-MM-YYYY").format("YYYY-MM-DD")); + setFYToDate(dayjs(endYear, "DD-MM-YYYY").format("YYYY-MM-DD")); + } + else if (CalenderFormat === "Calender Year" && !editstate) { + const financialYear = getCalendarYearRange("DD-MM-YYYY"); + let [startYear, endYear] = financialYear.split(" - "); + setFYFromDate(dayjs(startYear, "DD-MM-YYYY").format("YYYY-MM-DD")); + setFYToDate(dayjs(endYear, "DD-MM-YYYY").format("YYYY-MM-DD")); + } + }, [CalenderFormat, editstate]); + + const getFinancialYearRange = (format = 'DD-MM-YYYY') => { + + const today = dayjs(); + const year = today.year(); + const month = today.month() + 1; // month() is 0-based + + let startDate, endDate; + + if (month >= 4) { + // April to December + startDate = dayjs(`${year}-04-01`); + endDate = dayjs(`${year + 1}-03-31`); + } else { + // January to March + startDate = dayjs(`${year - 1}-04-01`); + endDate = dayjs(`${year}-03-31`); + } + + + return `${startDate.format(format)} - ${endDate.format(format)}`; + }; + + const InitialApicall = async () => { + + let data = await dispatch(getActiveApplicationData()).unwrap(); + if (data?.data?.statusCode === 1) { + setApplicationData(data?.data?.data); + } + else { + setApplicationData(); + } + }; + + + const getCalendarYearRange = (format = 'DD-MM-YYYY') => { + const today = dayjs(); + const year = today.year(); + + const startDate = dayjs(`${year}-01-01`); + const endDate = dayjs(`${year}-12-31`); + + return `${startDate.format(format)} - ${endDate.format(format)}`; + }; + + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "Company", + link: `${subDirectory}setting/company-master`, + }, + { + name: editstate ? "Edit" : "New", + link: null + + }, + ]; + useEffect(() => { + formRef.current?.setFieldsValue({ "FinancialYear": "Date" }); + dispatch(changeBreadCrumb({ items: items })); + if (formType === "edit") { + if (editstate) { + editstate.Latitude = editstate.Latitude ? editstate.Latitude : null; + editstate.Longitude = editstate.Longitude ? editstate.Longitude : null; + setSubmitStatus(false) + if (editstate?.AddId != null && editstate?.AddId != 0) setAddressData(true) + setImageUrl(editstate?.CompLogo); + if (editstate?.Zip) setZipCodeData(true); + setSelectedAdmin(editstate?.UserId); + setSelectedApplication(editstate?.AppId); + setSelectedBusinessType(editstate?.BusinessCategory); + setFinancialYear(editstate?.FYStatus == "Y" ? true : false) + formRef.current?.setFieldsValue({ BusinessType: editstate?.BusinessCategory }); + setDescription(editstate?.BusiBrief) + formRef.current?.setFieldsValue({ BusiBrief: editstate?.BusiBrief }); + } + } + dispatch(getAdminNames()).unwrap(); + if (UserType === "Admin") { + dispatch(getApplications(UserId)).unwrap(); + } else { + if (UserType === "Super Admin") { + dispatch(getApplications()).unwrap(); + } + } + InitialApicall() + }, []); + + + + useEffect(() => { + if (SelectedAdmin) { + const filteredApplications = ApplicationNames?.filter((option) => option.UserId === SelectedAdmin); + const uniqueActiveData = Array.from( + filteredApplications?.reduce((map, item) => { + if (item.Status === "Active") { + const key = `${item.AppId}-${item.AppName}`; + if (!map.has(key)) { + map.set(key, item); + } + } + return map; + }, new Map()).values() + ); + setFiltereApplications(uniqueActiveData); + if (uniqueActiveData?.length === 1) { + setApplicationDisabled(true) + const selectedApplicationId = uniqueActiveData[0].AppId; + setSelectedApplication(selectedApplicationId); + setSelectedBusinessType(uniqueActiveData[0]?.BusinessCategory); + setSelectedApplicationName(uniqueActiveData[0].AppName); + handleApplicationChange(uniqueActiveData[0].AppId) + } else { + setFiltereApplications(uniqueActiveData); + if (editstate) { + setSelectedApplication(editstate?.AppId) + setSelectedBusinessType(editstate?.BusinessCategory); + setSelectedApplicationName(editstate?.AppName); + formRef.current?.setFieldsValue({ AppId: editstate?.AppId }); + formRef.current?.setFieldsValue({ BusinessType: editstate?.BusinessCategory }); + handleApplicationChange(editstate?.AppId) + } + + + + } + } else { + setFiltereApplications([]); + + } + }, [SelectedAdmin, ApplicationNames]); + + useEffect(() => { + if (UserType === 'Admin') { + if (ApplicationNames.length === 1) { + const selectedApplicationId = ApplicationNames[0].AppId; + setSelectedApplication(selectedApplicationId); + setApplicationDisabled(true) + setSelectedApplicationName(ApplicationNames[0].AppName); + handleApplicationChange(selectedApplicationId); + } + } else { + dispatch(getAdminNames()).unwrap(); + } + }, [UserType, ApplicationNames, UserId]); + + const handleDescriptionChange = (e) => { + setDescription(e?.target?.value); + formRef?.current?.setFieldsValue({ BusiBrief: e?.target?.value }) + } + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + const onFinish = async (values) => { + if (values?.Zip && values?.Zip !== null && !zipCodeData) { + setMessageType("error"); + setMessageData("Invalid ZipCode"); + return + } + + let postData = values; + postData["CompLogo"] = imageUrl; + postData["CreatedBy"] = getSession("UserId"); + postData["UserId"] = values.UserId || getSession("UserId"); + postData["Branch"] = BranchAutoCreation; + postData["FYStatus"] = FinancialYear ? "Y" : "N" + postData["FYStartsFrom"] = FYFromDate + postData["FYType"] = FinancialYear ? values?.FinancialYear : null + postData["FYEnds"] = FYToDate + postData["BusinessCategory"] = SelectedBusinessType + let response = {}; + console.log("postData", postData) + if (formType === "add") { + try { + response = await dispatch(postCompanyData(postData)).unwrap(); + } catch (err) { + console.log(err, "err"); + if (err["message"] == "Request failed with status code 422") { + response = { + data: { + statusCode: 0, + response: "Please Give Required Fields", + data: [], + }, + }; + } + } + } + else if (formType === "edit") { + if (editstate && addressData) { + postData["CompAddId"] = editstate?.CompAddId; + postData["AddId"] = editstate?.AddId != null ? editstate?.AddId : 0; + } + if (editstate && !addressData) { + postData["CompAddId"] = editstate?.CompAddId; + postData["AddId"] = editstate?.AddId != null ? editstate?.AddId : 0; + postData["Address1"] = editstate?.Address1; + postData["Address2"] = editstate?.Address2; + postData["Zip"] = editstate?.Zip; + postData["City"] = editstate?.City; + postData["Dist"] = editstate?.Dist; + postData["State"] = editstate?.State; + postData["Latitude"] = editstate?.Latitude; + postData["Longitude"] = editstate?.Longitude; + postData["UserId"] = editstate?.UserId; + postData["BusinessCategory"] = editstate?.BusinessCategory; + } + postData["CompId"] = editstate?.CompId; + postData["UpdatedBy"] = getSession("UserId"); + try { + response = await dispatch(putCompanyData(postData)).unwrap(); + } catch (err) { + console.log(err, "err"); + if (err["message"] == "Request failed with status code 422") { + response = { + data: { + statusCode: 0, + response: "Please Give Required Fields", + data: [], + }, + }; + } + } + } + + if (response?.data?.statusCode == 1) { + navigate(`${subDirectory}setting/company-master/`, { + state: { + Notiffy: { + messageType: "success", + messageData: response?.data?.response, + }, + }, + }); + } + else { + setMessageType("error"); + setMessageData(response?.data?.response); + } + }; + const updateImageUrl = (url) => { + setImageUrl(url); + }; + + const handleAddress = (checked) => { + if (checked) { + setAddressData(true); + } else { + setAddressData(false); + if (!editstate) { + setSelectedLatitude(null) + setSelectedLongitude(null) + formRef.current?.setFieldsValue({ + City: null, + Dist: null, + State: null, + Zip: null, + Latitude: null, + Longitude: null, + }); + } + } + }; + const getPincodeValues = async (pinCode) => { + let response = ""; + await fetch(`https://api.postalpincode.in/pincode/${pinCode}`) + .then((res) => res.text()) + .then((text) => (response = JSON.parse(text))); + + if (response[0]["Status"] === "Success") { + setZipCodeData(true); + formRef.current?.setFieldsValue({ + City: response[0]["PostOffice"][0]["Block"], + Dist: response[0]["PostOffice"][0]["District"], + State: response[0]["PostOffice"][0]["State"], + }); + } else { + setZipCodeData(false); + } + }; + + const onMarkerClick = async (location) => { + setSelectedLatitude(typeof location.lat === 'function' ? location.lat() : SelectedLatitude) + setSelectedLongitude(typeof location.lng === 'function' ? location.lng() : SelectedLongitude) + formRef.current?.setFieldsValue({ + Latitude: typeof location.lat === 'function' ? location.lat() : SelectedLatitude, + Longitude: typeof location.lng === 'function' ? location.lng() : SelectedLongitude, + }); + }; + const pinCodeChange = async (e) => { + if (e?.target?.value.length < 6) { + setZipCodeData(false); + return false; + } + await getPincodeValues(e?.target?.value); + }; + + const handleDropDownChange = async (value) => { + formRef.current?.setFieldsValue({ UserId: value }); + setSelectedApplication(null); + setSelectedApplicationName(null); + await setSelectedAdmin(value); + }; + + const handleApplicationChange = async (value) => { + + let filterVAlue = (UserType === "Super Admin" || UserType === "Super Admin User") ? FiltereApplications : ApplicationNames + let checkvalue = filterVAlue.filter(item => item.AppId == value) + if (checkvalue?.[0]?.AppName == "Payroll") { + setSelectedApplicationName(checkvalue?.[0]?.AppName) + } + var TrialData = []; + if (UserType === 'Admin') { + TrialData = await dispatch( + checkTrialCompany({ UserId: UserId, AppId: value }) + ).unwrap(); + } + else { + TrialData = await dispatch( + checkTrialCompany({ UserId: SelectedAdmin, AppId: value }) + ).unwrap(); + } + + if (TrialData.data?.statusCode == 1 && !editstate) { + const Trial = TrialData.data?.data[0]; + const Count = TrialData.data?.data?.length; + const mobileno = Trial.MobileNo; + formRef.current?.setFieldsValue({ CompMobile: mobileno }); + setSelectCompMobile(mobileno) + if (Trial) { + if (Trial.PricingName.toUpperCase() != "FREE" && Trial["CompanyCount"] == 0) { + await setSelectedApplication(value); + formRef.current?.setFieldsValue({ AppId: value }); + setSubmitStatus(false) + } + else if ( + Trial.PricingName.toUpperCase() == "FREE" && Trial.CompanyCount >= 1 + ) { + if (Count > 1) { + setSubmitStatus(true) + + } + else { + setTimeout(function () { + navigate( + `${subDirectory}setting/company-master/`, + { + state: { + Notiffy: { + messageType: "error", + messageData: + "Your Trial Period is Expired Please Choose Extend Pack To Add Company ", + }, + }, + }, + 700 + ); + }); + } + + } + + else if (Trial.PricingName.toUpperCase() != "FREE") { + + let fliterFeatConstraintdata = Trial?.FeatureDetails?.filter((a) => a.FeatName === "Company" ? a.FeatConstraint : 0); + let fliterFeatConstraint = fliterFeatConstraintdata.length > 0 ? fliterFeatConstraintdata[0]?.FeatConstraint : 0 + + if (fliterFeatConstraint > Trial.CompanyCount) { + await setSelectedApplication(value); + formRef.current?.setFieldsValue({ AppId: value }); + setSubmitStatus(false) + } + else { + setTimeout(function () { + navigate( + `${subDirectory}setting/company-master/`, + { + state: { + Notiffy: { + messageType: "error", + messageData: + "Your Feature Constraint is Completed! ", + }, + }, + }, + 700 + ); + }); + } + } + else { + setSubmitStatus(false) + await setSelectedApplication(value); + formRef.current?.setFieldsValue({ AppId: value }); + } + } + else { + setSubmitStatus(false) + await setSelectedApplication(value); + formRef.current?.setFieldsValue({ AppId: value }); + } + + } + + else { + setSubmitStatus(false) + } + let Condition = (TrialData?.data?.data?.[0]?.BranchCount < TrialData?.data?.data?.[0]?.FeatureDetails?.find(item => item.FeatName === "Branch")?.FeatConstraint) ? "Y" : "N"; + setBranchAutoCreation(Condition); + + }; + const handleCalenderFormatChange = async (value) => { + setCalenderFormat(value) + setFinancialYear(true) + formRef.current?.setFieldsValue({ "FinancialYear": value }); + }; + const handleNameChange = (e) => { + const fullName = e?.target?.value; + const shortName = generateShortName(fullName); + if (shortName?.length < 5) { + formRef.current?.setFieldsValue({ CompShName: shortName }); + setSelectShortName(shortName) + } + + }; + + function generateShortName(fullName) { + const words = fullName.split(" "); + + let shortName = ""; + + for (let i = 0; i < words.length; i++) { + const word = words[i]; + + if (word.length > 0) { + shortName += word.substring(0, 2); + } + } + + return shortName.toUpperCase(); + } + const handleFinancialYear = (checked) => { + if (checked) { + setFinancialYear(true); + } else { + setFinancialYear(false); + } + } + + + const disabledDate = (current) => { + if (!range || !range[0]) return false; + + const firstDate = range[0]; + const endOfMonth = firstDate.endOf('month'); + + return current.isSameOrBefore(endOfMonth, 'day'); // disable dates on/before month of first date + }; + + const onRangeChange = async (dates, dateStrings) => { + setRange(dates) + const fromDate = dates?.[0]?.format('YYYY-MM-DD') || null; + const toDate = dates?.[1]?.format('YYYY-MM-DD') || null; + + console.log('From:', fromDate); + console.log('To:', toDate); + + if (dateStrings[0]) { + const [day, month] = dateStrings[0].split('-'); // '14-Apr' → ['14', 'Apr'] + const year = dates?.[0]?.year(); // Safely get year from Dayjs + const formattedFrom = `${year}-${month}-${day}`; // 'YYYY-MMM-DD' + + setFYFromDate(fromDate); // Use the Dayjs-formatted version + formRef.current?.setFieldsValue({ DateFormat: formattedFrom }); + } else { + setFYFromDate(null); + } + + if (dateStrings[1]) { + const [day, month] = dateStrings[1].split('-'); + const year = dates?.[1]?.year(); + const formattedTo = `${year}-${month}-${day}`; + + setFYToDate(toDate); // Use the Dayjs-formatted version + } else { + setFYToDate(null); + } + }; + + + const handleBusinessType = (value) => { + formRef.current?.setFieldsValue({ BusinessType: value }); + setSelectedBusinessType(value) + } + + + const validateGST = async (gstNo) => { + if (!gstNo || gstNo.length !== 15) { + formRef.current?.resetFields(['CompName']); + setSelectShortName(null); + + setGstDetails([]); + formRef.current.resetFields([ + { + name: 'CompGSTIN', + errors: ['GSTIN not found or invalid.'], + }, + ]); + return; + } + + + try { + const response = await dispatch(getGstnumberDetails(gstNo)).unwrap(); + // debugger + if (response?.data?.statusCode === 1) { + const data = response?.data?.data; + const details = data?.enrichment_details?.online_provider?.details; + + if (details) { + const legalName = details.legal_name?.value || ""; + const regDate = details.registration_date?.value || ""; + const status = details.status?.value || ""; + + setGstDetails([ + { + CompLegalName: legalName, + CompRegDate: regDate, + CompStatus: status, + }, + ]); + formRef.current.setFields([ + { + name: 'CompGSTIN', + errors: [], + }, + ]); + + formRef.current?.setFieldsValue({ CompName: legalName }); + setSelectGstName(legalName) + + + } else { + setGstDetails([]); + formRef.current.setFields([ + { + name: 'CompGSTIN', + errors: ['GSTIN not found or invalid.'], + }, + ]); + } + } else { + // ❌ statusCode not 1, mark as invalid + setGstDetails([]); + formRef.current?.resetFields(['CompName']); // <-- useRef to reset specific field + setSelectShortName(null); + formRef.current.setFields([ + { + name: 'CompGSTIN', + errors: ['No GST Details found'], + }, + ]); + } + } catch (error) { + console.error("Error fetching GST details:", error); + setGstDetails([]); + formRef.current?.resetFields(['CompName']); // <-- useRef to reset specific field + setSelectShortName(null); + formRef.current.setFields( + { + name: 'CompGSTIN', + errors: ['Error fetching GST details. Try again later.'], + }, + ); + } + }; + + + return ( +
+
+
+ +
+ +
+
+
+
+
+ {UserType === "Super Admin" || + UserType === "Super Admin User" ? ( + + ({ + value: option.UserId, + label: option.UserName != "" && option.UserName != null && option.UserName != undefined + ? option?.UserName + : option.MobileNo, + }))} + placeholder="UserId" + label="Admin Name" + className="field-DropDown" + isOnchanges={formType == "edit" || SelectedAdmin ? true : false} + onChangeFunction={handleDropDownChange} + valueData={SelectedAdmin} + disabled={formType == "edit" ? true : false} + /> + + ) : null} + {UserType === "Super Admin" || + UserType === "Super Admin User" ? ( + + ({ + value: option.AppId, + label: option.AppName, + }))} + placeholder="AppId" + label={} + className="field-DropDown" + isOnchanges={formType == "edit" || SelectedApplication ? true : false} + onChangeFunction={handleApplicationChange} + valueData={SelectedApplication} + disabled={formType == "edit" || ApplicationDisabled ? true : false} + /> + + ) : ( + + ({ + value: option.AppId, + label: option.AppName, + }))} + placeholder="AppId" + label={} + className="field-DropDown" + isOnchanges={SelectedApplication ? true : false} + onChangeFunction={handleApplicationChange} + valueData={SelectedApplication} + disabled={formType == "edit" || ApplicationDisabled ? true : false} + /> + + )} + + {(SelectedApplicationName == "Payroll" && SelectedApplication) && + + ({ + value: option.AppId, + label: option.AppName, + }))} + placeholder="AppId" + label={} + className="field-DropDown" + // isOnchanges={SelectedApplication ? true : false} + onChangeFunction={handleBusinessType} + valueData={SelectedBusinessType} + // disabled={formType == "edit" ? true : false} + /> + } + + + + {console.log(GstDetails?.[0]?.CompLegalName, 'ffffffffffff') + } + validateGST(e.target.value)} + /> + +
+ {GstDetails?.length > 0 && +
+

Reg Name : {GstDetails?.[0]?.CompLegalName}

+

Reg Date : {GstDetails?.[0]?.CompRegDate && dateFormatChange(GstDetails?.[0]?.CompRegDate)}

+

Reg Status : {GstDetails?.[0]?.CompStatus}

+
+ } +
+ + { + await validateSafeInput(value); + + if (value && value.length > 50) { + return Promise.reject("Company should not exceed 50 characters"); + } + + return Promise.resolve(); + }, + }, + ]} + > + Company} + fieldState={true} + fieldApi={true} + isOnChange={formType == "edit" || selectGstName ? true : false} + onChange={handleNameChange} + /> + + + { + await validateSafeInput(value); + + if (value && value.length <= 4) { + return Promise.resolve(); + } + return Promise.reject("Short Name should not exceed 4 characters"); + }, + }, + ]} + > + Short Name} + fieldState={true} + fieldApi={true} + isOnChange={formType == "edit" || selectShortName ? true : false} + /> + + + { + await validateSafeInput(value); + + if (value && value.length > 20) { + return Promise.reject("Proprietor should not exceed 20 characters"); + } + + return Promise.resolve(); + }, + }, + ]} + > + Proprietor} + fieldState={true} + fieldApi={true} + isOnChange={formType == "edit" ? true : false} + /> + + + (e.target.value = e.target.value.replace(/[^0-9]/g, ''))} + /> + + + + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + + if (value && value.length > 35) { + return Promise.reject("Registration No should not exceed 35 characters"); + } + return Promise.resolve(); + }, + }, + ]} + > + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + + {/* { + await validateSafeInput(value); + return Promise.resolve(); + }, + }, + ]} + > + + */} + { + await validateSafeInput(value); + return Promise.resolve(); + }, + }, + ]} + + > +
+ + +
+ + + +
+ +
+
+ {(!addressData) &&
+ +

Address Details

+
+
+ +
} + + {!editstate &&
+ +

Financial Year

+
+
+ + {FinancialYear && ({ + value: option?.name, + label: option?.name, + }))} + placeholder="AppId" + label={} + className="field-DropDown" + isOnchanges={CalenderFormat.length > 0 ? true : false} + onChangeFunction={handleCalenderFormatChange} + valueData={CalenderFormat} + // defaultValue={CalenderFormat.length>0} + // disabled={formType == "edit" ? true : false} + />} +
} + + {(!editstate && CalenderFormat == "Date" && FinancialYear) && + + + + + + } + {(!editstate && CalenderFormat == "Financial Year" && FinancialYear) && getFinancialYearRange('DD-MMM')} + {(!editstate && CalenderFormat == "Calender Year" && FinancialYear) && getCalendarYearRange('DD-MMM')} + + +
+

Upload Logo

+ +
+ {(!addressData) &&
+ } + disabled={ + UserType === "Super Admin" ? false : + (SubmitStatus || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Company")?.AddAccess === "N") + } + htmlType={true} + /> +
} +
+ + {(addressData) && +
+ +

Address Details

+
+
+ +
} + +
+ {addressData ? ( + <> +
+ { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + Address Line1} + fieldState={true} + fieldApi={true} + isOnChange={editstate?.Address1 ? true : false} + /> + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + { + if (/(^\d{6}$)|(^\d{5}-\d{4}$)/.test(value)) { + return Promise.resolve(); + } else { + return Promise.reject(); + } + }, + }, + ]} + > + Zipcode} + maxLength="6" + fieldState={true} + fieldApi={true} + isOnChange={editstate?.Zip ? true : false} + onChange={pinCodeChange} + inputMode="numeric" + onInput={(e) => (e.target.value = e.target.value.replace(/[^0-9]/g, ''))} + /> + + {zipCodeData ? ( + <> + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + + + ) : ( + "" + )} + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]}> + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + + +
+ + ) : ( + "" + )} + {addressData ? ( + <> +
+ +
+ + ) : ( + "" + )} +
+ + +
+ {(addressData) &&
+ } + htmlType={true} + disabled={ + UserType === "Super Admin" ? false : + (SubmitStatus || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Company")?.AddAccess === "N") + } + /> +
} + +
+
+
+
+ ); +}; + +export default CompanyForm; diff --git a/src/Pages/company/companyList.jsx b/src/Pages/company/companyList.jsx new file mode 100644 index 0000000..185e63d --- /dev/null +++ b/src/Pages/company/companyList.jsx @@ -0,0 +1,378 @@ +import { useState, useEffect, useCallback } from 'react'; +import { useDispatch, useSelector } from 'react-redux'; +import { useNavigate, useLocation } from 'react-router-dom'; +import { Space, Tooltip } from "antd"; +import { EditFilled, DeleteFilled, PlusOutlined, ReloadOutlined } from "@ant-design/icons"; +import { Tables } from "../../Components/Tables/Table"; +import { Search } from "../../Components/Forms/Search"; +import { Messages } from "../../Components/Notifications/Messages"; +import Buttons from '../../Components/Forms/Buttons'; +import FormHeader from '../pageComponents/FormHeader.jsx'; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { companyDataSelector, getCompanyData, deleteCompanyData, getAdminUsers, AdminUsersSelector, checkTrialCompany } from "../../features/companyPage/companyPage.js"; +import { getSession } from "../../Services/others"; +import { SuperAdminUserAccessDataSelector } from '../../features/superAdminAccess/superAdminAccess.js'; +import { getUserBasedConstraint } from '../../features/pricingType/pricingType.js'; +import "../../styles/OverAllStyle/OverAllStyle.scss" + +const subDirectory = import.meta.env.ENV_BASE_URL +const CompanyList = () => { + + const navigateTo = useNavigate(); + const dispatch = useDispatch(); + const location = useLocation(); + const companyData = useSelector(companyDataSelector) + const SuperAdminUserAccess = useSelector(SuperAdminUserAccessDataSelector) + + + const Adminusers = useSelector(AdminUsersSelector) + //local states + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [page, setpage] = useState(1); + const [UserConstraintData, setUserConstraintData] = useState(0); + + + + const [UserType, setUserType] = useState( + getSession("UserType") ? getSession("UserType") : null + ); + + const [UserId, setUserId] = useState( + getSession("UserId") ? getSession("UserId") : null + ); + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "Company", + link: `${subDirectory}setting/company-master`, + }, + + ]; + + useEffect(() => { + try { + dispatch(changeBreadCrumb({ items: items })); + if (UserType === "Super Admin" || UserType === "Super Admin User") { + dispatch(getCompanyData()).unwrap(); + } + if (location?.state?.Notiffy) { + setMessageType(location?.state?.Notiffy.messageType) + setMessageData(location?.state?.Notiffy.messageData) + + } + } catch (err) { + console.log(err, "err"); + } + }, []); + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + + + }, []) + + useEffect(() => { + + fetchUserCompanyData() + }, [UserId]) + + const fetchUserCompanyData = async () => { + + let res = await dispatch(getUserBasedConstraint(UserId)).unwrap(); + if (res?.data?.statusCode === 1) { + setUserConstraintData(res?.data?.data?.RemainingCompanyCount) + } + else if (res?.data?.statusCode === 0) { + setUserConstraintData(0); + } + } + + const handleNavigate = () => { + navigateTo(`${subDirectory}setting/company-master/new`) + } + + useEffect(() => { + if (UserType === "Admin") { + dispatch(getAdminUsers(getSession('UserId'))); + } + }, [getSession('UserId')]); + + + + const actionsFormatter = async (row, rowIndex) => { + if (row.ActiveStatus !== "D") { + navigateTo(`${subDirectory}setting/company-master/update`, + { state: { editstate: row } }, + { key: rowIndex } + ) + + } + + }; + const statusFormatter1 = async (row) => { + console.log(row, "rowrow") + + let Response = await dispatch(checkTrialCompany({ UserId: UserType === "Admin" ? UserId : row?.UserId, AppId: row?.AppId })).unwrap(); + let y = Response.data?.data[0]?.CompanyCount + let x = Response.data?.data[0]?.FeatureDetails?.filter((e) => e.FeatName == "Company")[0]?.FeatConstraint; + if (y < x) { + let deleteData = { + CompId: row.CompId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession('UserId') + }; + let response = await dispatch(deleteCompanyData(deleteData)).unwrap() + if (response?.data?.statusCode == 1) { + + fetchUserCompanyData() + setMessageType("success") + setMessageData(row.ActiveStatus == "A" ? "Company In-Activated Successfully" : "Company Activated Successfully") + if (UserType === "Admin") { + dispatch(getAdminUsers(getSession('UserId'))); + } else { + if (UserType === "Super Admin" || UserType === "Super Admin User") { + await dispatch(getCompanyData()).unwrap() + } + } + } + + } + else { + setMessageType("error"); + setMessageData("You need to delete one company if you wanna add this company"); + } + + }; + const statusFormatter = async (row) => { + let deleteData = { + CompId: row.CompId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession('UserId') + }; + let response = await dispatch(deleteCompanyData(deleteData)).unwrap() + if (response?.data?.statusCode == 1) { + + fetchUserCompanyData() + setMessageType("success") + setMessageData(row.ActiveStatus == "A" ? "Company In-Activated Successfully" : "Company Activated Successfully") + if (UserType === "Admin") { + dispatch(getAdminUsers(getSession('UserId'))); + } else { + if (UserType === "Super Admin" || UserType === "Super Admin User") { + await dispatch(getCompanyData()).unwrap() + } + } + } + }; + const handleChange = (pagination, filters, sorter) => { + + setSortedInfo(sorter); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + + const onSearch = (value) => { + setSearchedText(value) + } + const onSearchChange = (e) => { + setSearchedText(e?.target?.value) + } + const columns = [ + { + title: "Si.No", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "App Name", + dataIndex: "AppName", + key: "AppName", + align: "left", + width: "150px", + render: (text) => {text}, + sorter: (a, b) => a?.AppName?.localeCompare(b.AppName), + sortOrder: + sortedInfo.columnKey === "AppName" ? sortedInfo.order : null, + ellipsis: true, + }, + + { + title: "Company Name", + dataIndex: "CompName", + key: "CompName", + width: "200px", + align: "left", + render: (text) => ( + {text} + ), + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.AppName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.CompName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.CompShName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.CompMobile) + .toLowerCase() + .includes(value.toLowerCase()) + ) + }, + + sorter: (a, b) => a?.CompName?.localeCompare(b.CompName), + sortOrder: sortedInfo.columnKey === "CompName" ? sortedInfo.order : null, + ellipsis: true, + + }, + { + title: "Short Name", + dataIndex: "CompShName", + key: "CompShName", + align: "left", + width: "150px", + render: (text) => {text}, + sorter: (a, b) => a?.CompShName?.localeCompare(b.CompShName), + sortOrder: + sortedInfo.columnKey === "CompShName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Proprietor", + dataIndex: "Proprietor", + key: "Proprietor", + align: "left", + width: "150px", + render: (text) => {text}, + }, + { + title: "Mobile No", + dataIndex: "CompMobile", + key: "CompMobile", + align: "left", + width: "150px", + render: (text) => {text}, + }, + + + { + title: "Action", + key: "Action", + dataIndex: "Action", + width: "100px", + align: "center", + render: (_, record, index) => + ((UserType === 'Admin' || UserType === 'Admin User') ? Adminusers?.length >= 1 : + companyData?.length >= 1) ? ( + + {record.ActiveStatus === "A" ? + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Company")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : "" + )} + /> + : ""} + + {record.ActiveStatus === "A" ? ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Company")?.DeleteAccess === "Y") + ? statusFormatter(record) + : "" + )} + /> : ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Company")?.DeleteAccess === "Y") + ? statusFormatter1(record) + : "" + )} + /> + } + + + + ) : null, + }, + ]; + + + return ( +
+
+ +
+
+ +
+
+ +
+ +
+
+ +
+ } + disabled={UserType === "Super Admin" + ? false + : + UserConstraintData === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName == "Company")?.AddAccess === "N" ? true : false} + handleSubmit={handleNavigate} + > + OPEN + +
+
+
+
+
+ {/* {" "} */} + {UserType === 'Admin' || UserType === 'Admin User' ? ( + + ) : ( + // Render the table for other user types + + )} +
+
+
+ ); + +} + +export default CompanyList; \ No newline at end of file diff --git a/src/Pages/configType/configtypeForm.jsx b/src/Pages/configType/configtypeForm.jsx new file mode 100644 index 0000000..dbc7d0a --- /dev/null +++ b/src/Pages/configType/configtypeForm.jsx @@ -0,0 +1,341 @@ +import React, { useState, useEffect, useCallback } from 'react'; +import { useDispatch, useSelector } from 'react-redux' +import { InputField } from "../../Components/Forms/InputField.jsx"; +import { Form } from "antd"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { Messages } from "../../Components/Notifications/Messages"; +import { changeBreadCrumb } from '../../features/appPage/centerPage.js'; +import { Col, Row } from 'antd'; +import { EditFilled, DeleteFilled, ReloadOutlined } from "@ant-design/icons"; +import { DefaultModal } from "../../Components/Modal/DefaultModal"; +import { Tables } from "../../Components/Tables/Table"; +import { Space } from "antd"; +import Search from '../../Components/Forms/Search.jsx'; +import FormHeader from '../pageComponents/FormHeader.jsx'; +import { PlusOutlined } from '@ant-design/icons'; +import { configTypeDataSelector, getConfigurationType, deleteConfigTypeData, postConfigurationType, putConfigurationType } from "../../features/configtypePage/configtypePage.js"; +import { SuperAdminUserAccessDataSelector } from '../../features/superAdminAccess/superAdminAccess.js'; +import { getSession, validateSafeInput } from '../../Services/others.js'; +import "../../styles/OverAllStyle/OverAllStyle.scss" + +const subDirectory = import.meta.env.BASE_URL +const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, +]; + +const ConfigTypeForm = () => { + + const [open, setOpen] = useState(false); + const [editState, setEditState] = useState(false); + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [selectedRow, setSelectedRow] = useState(null); + const [page, setpage] = useState(1); + const CommonData = useSelector(configTypeDataSelector) + const SuperAdminUserAccess = useSelector(SuperAdminUserAccessDataSelector) + console.log(SuperAdminUserAccess, "SuperAdminUserAccess") + const UserType = getSession("UserType") + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + + + + const handleSubmit = async () => { + const values = await form.validateFields(); + const postData = { + TypeName: values.TypeName, + CreatedBy: getSession('UserId'), + }; + let response = {} + if (!editState) { + response = await dispatch(postConfigurationType(postData)).unwrap() + } + else { + if (selectedRow) { + const putData = { + TypeId: selectedRow.TypeId, + TypeName: selectedRow.TypeName, + UpdatedBy: getSession('UserId'), + ...postData, + }; + response = await dispatch(putConfigurationType(putData)).unwrap() + } + + } + if (response?.data?.statusCode == 1) { + setMessageType("success"); + setMessageData(response?.data?.response); + handleCancel() + dispatch(getConfigurationType()).unwrap(); + } else { + setMessageType("error") + setMessageData(response?.data?.response) + } + }; + + const dispatch = useDispatch(); + + useEffect(() => { + try { + dispatch(changeBreadCrumb({ items: items })); + + + dispatch(getConfigurationType()).unwrap(); + + } catch (err) { + console.log(err, "err"); + } + }, []); + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + + + }, []) + + + const [form] = Form.useForm(); + + + var fieldState = "" + var fieldApi = [ + { + setValue: "s", + setTouched: true, + }, + ]; + + + + //edit + const actionsFormatter = async (row) => { + if (row.ActiveStatus !== "D") { + setOpen(true); + setEditState(true); + form.setFieldsValue(row); + setSelectedRow(row); + + } + }; + + const statusFormatter = async (row) => { + let deleteData = { + TypeId: row.TypeId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession('UserId') + }; + let response = await dispatch(deleteConfigTypeData(deleteData)).unwrap() + if (response?.data?.statusCode == 1) { + dispatch(getConfigurationType()).unwrap() + setMessageType("success") + setMessageData(row.ActiveStatus == "A" ? "Config Type In-Activated Successfully" : "Config Type Activated Successfully") + } + }; + + + const openModal = () => { + setOpen(true); + form.resetFields(); + // Reset the editState to false + setEditState(false); + }; + const handleCancel = () => { + setOpen(false); + + }; + + const onSearch = (value) => { + setSearchedText(value) + } + const onSearchChange = (e) => { + setSearchedText(e?.target?.value) + } + + + const columns = [ + { + title: 'SI.NO', + align: "center", + key: 'sno', + width: "100px", + render: (text, object, index) => {(page - 1) * 10 + index + 1}, + + }, + { + title: 'Type Name', + dataIndex: 'TypeName', + key: 'TypeName', + align: "left", + width: "100px", + render: (text) => {text}, + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.TypeName) + .toLowerCase() + .includes(value.toLowerCase()) + + ) + }, + sorter: (a, b) => a?.TypeName?.localeCompare(b.TypeName), + sortOrder: sortedInfo.columnKey === 'TypeName' ? sortedInfo.order : null, + ellipsis: true, + + }, + + { + title: 'Action', + dataIndex: 'Action', + key: 'Action', + align: "center", + width: "100px", + render: (_, record, index) => + CommonData.length >= 1 ? ( + + {record.ActiveStatus === "A" ? + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Config Type")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : " " + )} + /> + : ""} + + {record.ActiveStatus === "A" ? ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Config Type")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> : ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Config Type")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} /> + } + + + + ) : null, + }, + ]; + return ( +
+
+ +
+
+ +
+
+
+ +
+ e?.ConfigName == "Config Type")?.AddAccess === "N" ? true : false} + icon={} + > + OPEN + +
+
+
+ {" "} +
+
+ + + +
+ { + await validateSafeInput(value); + + if (value && value.length > 50) { + return Promise.reject("Type Name should not exceed 50 characters"); + } + + return Promise.resolve(); + }, + }, + ]} + > + + Type Name} + className="Input" + fieldState={editState ? true : fieldState} + fieldApi={fieldApi} + autocomplete="off" + isOnChange={editState ? true : false} + // writed by sree + onChange={(e) => { + let value = e?.target?.value.replace(/^\s{2,}/, ""); // Remove multiple leading spaces + form.setFieldsValue({ TypeName: value }); // Update form state + }} + /> + + + + + + + } + handleCancel={handleCancel} + handleSubmit={handleSubmit} + /> + + + ) + +}; + +export default ConfigTypeForm; \ No newline at end of file diff --git a/src/Pages/currency/currencyForm.jsx b/src/Pages/currency/currencyForm.jsx new file mode 100644 index 0000000..57d47bb --- /dev/null +++ b/src/Pages/currency/currencyForm.jsx @@ -0,0 +1,447 @@ +import { useState, useEffect, useCallback } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import { InputField } from "../../Components/Forms/InputField.jsx"; +import { Form } from "antd"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { Messages } from "../../Components/Notifications/Messages"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { Col, Row } from "antd"; +import { + EditFilled, + DeleteFilled, + PlusOutlined, + ReloadOutlined, +} from "@ant-design/icons"; +import { DefaultModal } from "../../Components/Modal/DefaultModal"; +import React from "react"; +import { Tables } from "../../Components/Tables/Table"; +import { Space } from "antd"; +import Search from "../../Components/Forms/Search.jsx"; +import { + currencyDataSelector, + getCurrency, + deleteCurrency, + postCurrency, + putCurrency, +} from "../../features/currencyPage/currencyPage.js"; +import { getSession, validateSafeInput } from "../../Services/others"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; + + + +const subDirectory = import.meta.env.BASE_URL; + +const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + +]; + +const CurrencyForm = () => { + const [open, setOpen] = useState(false); + const [editState, setEditState] = useState(false); + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [selectedRow, setSelectedRow] = useState(null); + const [page, setpage] = useState(1); + const SuperAdminUserAccess=useSelector(SuperAdminUserAccessDataSelector) + const CommonData = useSelector(currencyDataSelector); + const UserType = getSession("UserType") + + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + const handlePageChange = (current) => { + setpage(current); + }; + + const handleSubmit = async () => { + const values = await form.validateFields(); + const postData = { + CurrName: values.CurrName, + CurrShName: values.CurrShName, + ConvRate: values.ConvRate, + CreatedBy: getSession("UserId"), + }; + let response = {}; + if (!editState) { + response = await dispatch(postCurrency(postData)).unwrap(); + } else { + if (selectedRow) { + const putData = { + CurrId: selectedRow.CurrId, + UpdatedBy: getSession("UserId"), + ...postData, + }; + response = await dispatch(putCurrency(putData)).unwrap(); + } + } + if (response?.data?.statusCode == 1) { + setMessageType("success"); + setMessageData(response?.data?.response); + handleCancel(); + dispatch(getCurrency()).unwrap(); + } else { + setMessageType("error"); + setMessageData(response?.data?.response); + } + }; + + const dispatch = useDispatch(); + + useEffect(() => { + try { + dispatch(changeBreadCrumb({ items: items })); + dispatch(getCurrency()).unwrap(); + } catch (err) { + console.log(err, "err"); + } + }, []); + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + const [form] = Form.useForm(); + + var fieldState = ""; + // var style={backgroundColor:"red"} + var fieldApi = [ + { + setValue: "s", + setTouched: true, + }, + ]; + + //edit + const actionsFormatter = async (row) => { + if (row.ActiveStatus !== "D") { + setOpen(true); + setEditState(true); + form.setFieldsValue(row); + setSelectedRow(row); + } + }; + + const statusFormatter = async (row) => { + let deleteData = { + CurrId: row.CurrId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession("UserId"), + }; + let response = await dispatch(deleteCurrency(deleteData)).unwrap(); + if (response?.data?.statusCode == 1) { + dispatch(getCurrency()).unwrap(); + setMessageType("success"); + setMessageData( + row.ActiveStatus == "A" + ? "Currency In-Activated Successfully" + : "Currency Activated Successfully" + ); + } + }; + + const style = { width: "100px", height: "20px" }; + const openModal = () => { + setOpen(true); + form.resetFields(); + // Reset the editState to false + setEditState(false); + }; + + const handleCancel = () => { + setOpen(false); + }; + + const onSearch = (value) => { + setSearchedText(value); + }; + const onSearchChange = (e) => { + setSearchedText(e?.target?.value); + }; + + const columns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + + { + title: "Currency Name", + dataIndex: "CurrName", + key: "CurrName", + width: "100px", + align: "left", + + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.CurrName).toLowerCase().includes(value.toLowerCase()) || + String(record.CurrShName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.ConvRate).toLowerCase().includes(value.toLowerCase()) + ); + }, + sorter: (a, b) => a?.CurrName?.localeCompare(b.CurrName), + sortOrder: sortedInfo.columnKey === "CurrName" ? sortedInfo.order : null, + ellipsis: true, + }, + + { + title: "Short Name", + dataIndex: "CurrShName", + key: "CurrShName", + align: "left", + width: "100px", + render: (text) => {text}, + sorter: (a, b) => a?.CurrShName?.localeCompare(b.CurrShName), + sortOrder: + sortedInfo.columnKey === "CurrShName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Conversion Rate", + dataIndex: "ConvRate", + key: "ConvRate", + align: "right", + width: "100px", + render: (text) => {text}, + sorter: (a, b) => a?.ConvRate - b?.ConvRate, + sortOrder: sortedInfo.columnKey === "ConvRate" ? sortedInfo.order : null, + ellipsis: true, + }, + + { + title: "Action", + key: "Action", + dataIndex: "Action", + width: "100px", + align: "center", + render: (_, record, index) => + CommonData.length >= 1 ? ( + + {record.ActiveStatus === "A" ? ( + + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Currency")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : "" + )} + /> + + + ) : ( + "" + )} + + {record.ActiveStatus === "A" ? ( + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Currency")?.DeleteAccess === "Y") + ? statusFormatter(record) + : "" + )} + + /> + ) : ( + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Currency")?.DeleteAccess === "Y") + ? statusFormatter(record) + : "" + )} + + /> + )} + + + ) : null, + }, + ]; + + return ( +
+
+ +
+
+ +
+
+
+ +
+ } + disabled={UserType === "Super Admin" + ? false + : + SuperAdminUserAccess?.find((e) => e?.ConfigName === "Currency")?.AddAccess === "N"} + + > + OPEN + +
+
+
+ {" "} +
+
+ + + +
+ { + await validateSafeInput(value); + + if (value && value.length > 20) { + return Promise.reject("Currency Name should not exceed 20 characters"); + } + + return Promise.resolve(); + }, + }, + ]} + > + Currency Name} + className="Input" + fieldState={editState ? true : fieldState} + fieldApi={fieldApi} + autocomplete="off" + isOnChange={editState ? true : false} + /> + + + { + if (!value || value < 0) { + return Promise.reject("Please Enter a Valid Conversion rates"); + } + if (!/^\d{1,16}$/.test(value)) { + return Promise.reject("Enter a valid number max 16 digits"); + } + + return Promise.resolve(); + }, + }, + ]} + + > + Conversion rates} + className="Input" + type="number" + fieldState={editState ? true : fieldState} + fieldApi={fieldApi} + autocomplete="off" + isOnChange={editState ? true : false} + /> + + + + + { + await validateSafeInput(value); + + if (value && value.length > 5) { + return Promise.reject("Short Name should not exceed 5 characters"); + } + + return Promise.resolve(); + }, + }, + ]} + > + Short Name} + className="Input" + fieldState={editState ? true : fieldState} + fieldApi={fieldApi} + autocomplete="off" + isOnChange={editState ? true : false} + /> + + + + + } + handleCancel={handleCancel} + handleSubmit={handleSubmit} + /> + + ); +}; + +export default CurrencyForm; diff --git a/src/Pages/feature/featureForm.jsx b/src/Pages/feature/featureForm.jsx new file mode 100644 index 0000000..433454e --- /dev/null +++ b/src/Pages/feature/featureForm.jsx @@ -0,0 +1,396 @@ +import { useState, useEffect, useRef } from "react"; +import { useDispatch } from "react-redux"; +import { InputField } from "../../Components/Forms/InputField.jsx"; +import { Form } from "antd"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { ArrowRightOutlined } from "@ant-design/icons"; +import { Messages } from "../../Components/Notifications/Messages.jsx"; +import { RadioGrpButton } from "../../Components/Forms/RadioGroup.jsx"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { DropDowns } from "../../Components/Forms/DropDown.jsx"; +import { TextAreaInput } from "../../Components/Forms/TextArea.jsx"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { getSession, validateSafeInput } from "../../Services/others"; +import { useNavigate, useLocation } from "react-router-dom"; +import Imageupload from "../../Components/Forms/Upload.jsx"; +const subDirectory = import.meta.env.BASE_URL; + +import { + getFeatureCategory, + getFeatureType, + postFeature, + putFeature, + getAppNames +} from "../../features/feature/feature.js"; + + +const FeatureForm = ({ formType }) => { + const formRef = useRef(null); + const dispatch = useDispatch(); + const navigate = useNavigate(); + const location = useLocation(); + const state = location?.state; + const editstate = state?.editstate; + + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [FeatureCategory, setFeatureCategory] = useState([]); + const [FeatureType, setFeatureType] = useState([]); + const [SelectedCoreAdd, setSelectedCoreAdd] = useState(editstate ? (editstate.CoreAddon != 0 ? editstate.CoreAddon : "2") : "2"); + const [selectedaAppType, setSelectedaAppType] = useState(editstate ? editstate.AppId : null); + const [appDropdown, setAppDropdown] = useState(); + const [imageUrl, setImageUrl] = useState(editstate ? editstate.FeatIcon : null); + const [onlinelogoImage, setOnlinelogoImage] = useState(); + const [selectedFeatureType, setselectedFeatureType] = useState( + editstate ? editstate.FeatType : null + ); + const [selectedFeatureCategory, setselectedFeatureCategory] = useState( + editstate ? (editstate.FeatCat != 0 ? editstate.FeatCat : null) : null + ); + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "Feature", + link: `${subDirectory}setting/feature-master/`, + }, + { + name: editstate ? "Edit" : "New", + link: null + + }, + ]; + + const onFinish = async (values) => { + let postData = values; + postData["CreatedBy"] = getSession("UserId"); + + + let response = {}; + if (formType === "add") { + postData["FeatId"] = values.FeatId; + postData['CoreAddon'] = values.CoreAddon ? values.CoreAddon : SelectedCoreAdd + postData["FeatIcon"] = imageUrl; + response = await dispatch(postFeature(postData)).unwrap(); + } else if (formType === "edit") { + if (editstate) { + postData["FeatId"] = editstate.FeatId; + postData["FeatIcon"] = imageUrl; + + } + postData["UpdatedBy"] = getSession("UserId"); + + response = await dispatch(putFeature(postData)).unwrap(); + } + + if (response?.data?.statusCode == 1) { + navigate(`${subDirectory}setting/feature-master/`, { + state: { + Notiffy: { + messageType: "success", + messageData: response?.data?.response, + }, + }, + }); + } + else { + setMessageType("error"); + setMessageData(response?.data?.response); + } + }; + + const fetchConfigName = async () => { + const response = await dispatch(getFeatureCategory()).unwrap(); + + if (response?.data?.statusCode === 1) { + let finalFeatureCategory = response?.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setFeatureCategory(finalFeatureCategory); + } + }; + + useEffect(() => { + fetchConfigName(); + Appname(); + if (formType === "edit") { + // + if (editstate) { + featurecatDropDownChange(editstate.FeatCat); + featureTypeDropDownChange(editstate.FeatType) + formRef.current?.setFieldsValue( + editstate + ); + } else { + navigate(`${subDirectory}setting/feature-master/`); + } + } + dispatch(changeBreadCrumb({ items: items })); + }, []); + const Appname = async () => { + let Response = await dispatch(getAppNames()).unwrap() + if (Response.data?.statusCode) { + setAppDropdown(Response?.data?.data); + } + } + + + + const featurecatDropDownChange = async (e) => { + formRef.current?.setFieldsValue({ FeatCat: e }); + setselectedFeatureCategory(e); + + const getFeatureTypeDropDown = await dispatch(getFeatureType()).unwrap(); + if (getFeatureTypeDropDown.data?.statusCode === 1) { + let finalFeatureTypeDropDown = getFeatureTypeDropDown.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + + setFeatureType(finalFeatureTypeDropDown); + } + }; + + const featureTypeDropDownChange = async (e) => { + formRef.current?.setFieldsValue({ FeatType: e }); + setselectedFeatureType(e); + }; + const featureAppDropDownChange = async (e) => { + formRef.current?.setFieldsValue({ AppId: e }); + setSelectedaAppType(e); + }; + + + + return ( +
+
+
+ +
+ +

+
+
+
+
+
+ + ({ + value: option.AppId, + label: option.AppName, + }))} + placeholder="App Name" + label={} + optionsNames={{ value: "ConfigId", label: "ConfigName" }} + className="field-DropDown" + onChangeFunction={(e) => featureAppDropDownChange(e)} + isOnchanges={formType == "edit" ? true : false} + valueData={selectedaAppType} + + /> + + + ({ + value: option.ConfigId, + label: option.ConfigName, + }))} + placeholder="FeatCat" + label={} + optionsNames={{ value: "ConfigId", label: "ConfigName" }} + className="field-DropDown" + onChangeFunction={(e) => featurecatDropDownChange(e)} + isOnchanges={formType == "edit" ? true : false} + valueData={selectedFeatureCategory} + + /> + + + { + await validateSafeInput(value); + + if (value && value.length > 30) { + return Promise.reject("Feature Name should not exceed 30 characters"); + } + + return Promise.resolve(); + }, + }, + + ]} + > + Feature Name} + fieldState={true} + fieldApi={true} + id="error2" + autocomplete="off" + isOnChange={formType == "edit" ? true : false} + /> + + + + ({ + value: option.ConfigId, + label: option.ConfigName, + }))} + placeholder="Feat Type" + label={} + optionsNames={{ value: "ConfigId", label: "ConfigName" }} + className="field-DropDown" + onChangeFunction={(e) => featureTypeDropDownChange(e)} + isOnchanges={formType == "edit" ? true : false} + valueData={selectedFeatureType} + + /> + + + + + { + if (!value || value < 0) { + return Promise.reject("Please Enter a Valid Feature Constraint"); + } + if (!/^\d{1,16}$/.test(value)) { + return Promise.reject("Enter a valid number (max 16 digits)"); + } + return Promise.resolve(); + }, + }, + ]} + + > + Feature Constraint} + fieldState={true} + fieldApi={true} + id="error2" + autocomplete="off" + isOnChange={formType == "edit" ? true : false} + + /> + + { + await validateSafeInput(value); + return Promise.resolve(); + }, + }, + ]}> + Feature Description} + className="Input" + fieldState={true} + fieldApi={true} + autocomplete="off" + isOnChange={formType == "edit" ? true : false} + /> + + +
  • + +
  • +
    + +
    +

    Upload Icon

    + + +
    +
    +
    + +
    + } + /> +
    + +
    +
    +
    +
    + ); +}; + +export default FeatureForm; diff --git a/src/Pages/feature/featureList.jsx b/src/Pages/feature/featureList.jsx new file mode 100644 index 0000000..936ad99 --- /dev/null +++ b/src/Pages/feature/featureList.jsx @@ -0,0 +1,306 @@ +import React, { useState, useEffect, useCallback } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import { Space } from "antd"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { EditFilled, DeleteFilled, PlusOutlined, ReloadOutlined } from "@ant-design/icons"; +import { Tables } from "../../Components/Tables/Table.jsx"; +import Search from "../../Components/Forms/Search.jsx"; +import { getFeature, deleteFeature } from "../../features/feature/feature.js"; +import { getSession } from "../../Services/others"; +import { Messages } from "../../Components/Notifications/Messages"; +import { useNavigate, useLocation } from "react-router-dom"; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; + + + +import FormHeader from "../pageComponents/FormHeader.jsx"; +const subDirectory = import.meta.env.BASE_URL; + +const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "Feature", + link: `${subDirectory}setting/feature-master`, + }, +]; + +const FeatureList = () => { + const navigate = useNavigate(); + const location = useLocation(); + const dispatch = useDispatch(); + + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [TableData, setTableData] = useState([]); + const [filteredInfo, setFilteredInfo] = useState({}); + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [page, setpage] = useState(1); + const SuperAdminUserAccess = useSelector(SuperAdminUserAccessDataSelector); + const UserType = getSession("UserType") + + console.log(SuperAdminUserAccess, "SuperAdminUserAccessSuperAdminUserAccess") + const handleChange = (pagination, filters, sorter) => { + setFilteredInfo(filters); + setSortedInfo(sorter); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + + async function fetchData() { + if (location?.state?.Notiffy) { + setMessageType(location?.state?.Notiffy.messageType); + setMessageData(location?.state?.Notiffy.messageData); + } + + const gettingTableData = await dispatch(getFeature()).unwrap(); + if (gettingTableData.data?.statusCode === 1) { + await setTableData(gettingTableData.data?.data); + } + } + + const onSearch = (value) => { + setSearchedText(value); + }; + const onSearchChange = (e) => { + setSearchedText(e?.target?.value); + }; + + useEffect(() => { + try { + fetchData(); + dispatch(changeBreadCrumb({ items: items })); + } catch (err) { + console.log(err, "err"); + } + }, []); + + const actionsFormatter = async (row, rowIndex) => { + if (row.ActiveStatus !== "D") { + navigate( + `${subDirectory}setting/feature-master/update`, + { state: { editstate: row } }, + { key: rowIndex } + ); + } + }; + + //Delete + const statusFormatter = async (row) => { + let deleteData = { + FeatId: row.FeatId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession("UserId"), + }; + let response = await dispatch(deleteFeature(deleteData)).unwrap(); + if (response?.data?.statusCode == 1) { + setMessageType("success"); + setMessageData( + row.ActiveStatus == "A" + ? "Feature In-Activated Successfully" + : "Feature Activated Successfully" + ); + fetchData(); + } + }; + + const columns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "Application", + dataIndex: "AppName", + key: "AppName", + align: "left", + width: "150px", + filteredValue: filteredInfo.AppName || null, + render: (text) => {text}, + sorter: (a, b) => a?.AppName?.length - b?.AppName?.length, + sortOrder: + sortedInfo.columnKey === "AppName" ? sortedInfo.order : null, + ellipsis: true, + }, + + { + title: "Feature Name", + dataIndex: "FeatName", + key: "FeatName", + width: "200px", + align: "left", + render: (text) => ( + {text} + ), + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.FeatName) + .toLowerCase() + .includes(value.toLowerCase()) + ) + }, + + sorter: (a, b) => a?.FeatName?.localeCompare(b.FeatName), + sortOrder: sortedInfo.columnKey === "FeatName" ? sortedInfo.order : null, + ellipsis: true, + }, + + { + title: "Feature Category", + dataIndex: "FeatCatName", + key: "FeatCatName", + align: "left", + width: "200px", + filteredValue: filteredInfo.FeatCatName || null, + render: (text) => {text}, + sorter: (a, b) => a?.FeatCatName?.length - b?.FeatCatName?.length, + sortOrder: + sortedInfo.columnKey === "FeatCatName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Type", + dataIndex: "FeatTypeName", + key: "FeatTypeName", + filteredValue: filteredInfo.FeatTypeName || null, + align: "left", + width: "100px", + render: (text) => {text}, + sorter: (a, b) => a?.FeatTypeName?.length - b?.FeatTypeName?.length, + sortOrder: + sortedInfo.columnKey === "FeatTypeName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Constraint", + dataIndex: "FeatConstraint", + key: "FeatConstraint", + align: "left", + width: "130px", + render: (text) => {text}, + ellipsis: true, + }, + + { + title: "Action", + key: "Action", + dataIndex: "Action", + width: "200px", + align: "center", + render: (_, record, index) => + TableData.length >= 1 ? ( + + {record.ActiveStatus === "A" ? ( + + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Feature")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : " " + )} + /> + + ) : ( + "" + )} + + {record.ActiveStatus === "A" ? ( + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Feature")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> + ) : ( + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Feature")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> + )} + + + ) : null, + }, + ]; + const data = TableData; + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + + }, []) + + const handelAddButton = () => { + navigate(`${subDirectory}setting/feature-master/new`) + } + + return ( +
    +
    + +
    +
    + +
    +
    +
    + +
    + handelAddButton()} + color="901D77" + icon={} + disabled={UserType === "Super Admin" + ? false + : + SuperAdminUserAccess?.find((e) => e?.ConfigName == "Feature")?.AddAccess === "N" ? true : false} + + > + OPEN + +
    +
    +
    + {" "} +
    +
    +
    + ); +}; + +export default FeatureList; diff --git a/src/Pages/homeApp/HomeNotification.jsx b/src/Pages/homeApp/HomeNotification.jsx new file mode 100644 index 0000000..12e7443 --- /dev/null +++ b/src/Pages/homeApp/HomeNotification.jsx @@ -0,0 +1,53 @@ + + +import appIcon from '../../Images/notification.png' +import NotificationsData from './NotificationData'; +import { useNavigate } from 'react-router-dom'; +import { useState} from 'react'; + +const subDirectory = import.meta.env.ENV_BASE_URL + +const HomeNotification = () => { + const navigate = useNavigate(); + const [ShowViewMore, setShowViewMore] = useState() + const showViewMore = (message) =>{ + setShowViewMore(message) + } + + const getViewMore = () => { + navigate(`${subDirectory}landing-page/user-account/`, { + state: { + Notiffy: { + logs:true + + } + } + }) + } + return ( +
    +
    +
    + +
    +
    +

    Notifications

    + {/*

    Apps you've Accese

    */} +
    + +
    +
    + +
    + {ShowViewMore?.length >= 5 && +
    +

    view more

    +
    + } +
    + ) +} + + +export default HomeNotification; + diff --git a/src/Pages/homeApp/HomePaymentHistory.jsx b/src/Pages/homeApp/HomePaymentHistory.jsx new file mode 100644 index 0000000..8cff023 --- /dev/null +++ b/src/Pages/homeApp/HomePaymentHistory.jsx @@ -0,0 +1,25 @@ +import appIcon from '../../Images/appHistory.png' +import HomePaymentTable from './HomePaymentTable'; + +const HomePaymentHistory = () => { + + return ( +
    +
    +
    + +
    +
    +

    Payment History

    + {/*

    Apps you've Accese

    */} +
    + +
    +
    + +
    +
    + ) +} + +export default HomePaymentHistory; \ No newline at end of file diff --git a/src/Pages/homeApp/HomePaymentTable.jsx b/src/Pages/homeApp/HomePaymentTable.jsx new file mode 100644 index 0000000..50258b6 --- /dev/null +++ b/src/Pages/homeApp/HomePaymentTable.jsx @@ -0,0 +1,604 @@ +import React, { useCallback, useEffect, useRef, useState } from "react"; +import { useDispatch, useSelector } from "react-redux" +import { Tables } from "../../Components/Tables/Table" +import { CgPrinter } from "react-icons/cg"; + +import { purchasedTypeAppSelector } from "../../features/homePage/homePage" +import { ArrowRightOutlined } from '@ant-design/icons'; +import { Space, Modal, Form } from "antd"; +import { DownloadOutlined } from '@ant-design/icons'; +import PdfPage from '../../Pages/paymentpdfPage/paymentpdfpage' +import { downloadPDF, printDiv } from "../../Services/others"; +import Buttons from "../../Components/Forms/Buttons"; +import { InputField } from "../../Components/Forms/InputField"; +import { getPaymentUpiDetails, sendSms, sharePdfDocument } from "../../features/pricingType/pricingType.js"; +import { Messages } from "../../Components/Notifications/Messages"; +import { FaShareNodes } from "react-icons/fa6"; +import { postEmailApi } from "../../features/invoiceDetail/invoiceDetail"; + +const MainHomeUrl = import.meta.env.ENV_MAIN_BASE_URL; +const subDirectory = import.meta.env.ENV_BASE_URL; +const style = ``; + + +const HomePaymentTable = () => { + const formRef = useRef(); + const dispatch = useDispatch(); + const purchasedApp = useSelector(purchasedTypeAppSelector); + const [UniqueId, setUniqueId] = useState(); + const [printdata, setprintdata] = useState([]); + const [ModelOpen, setModelOpen] = useState(false); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [paymentModeSelected, setpaymentModeSelected] = useState([]); + + + const columns = [ + { + title: 'Application', + dataIndex: 'AppName', + key: 'AppName', + render: (text) => {text} + }, + { + title: 'Payment Date', + dataIndex: 'CreatedDate', + key: 'CreatedDate', + fontSize: "13px", + render: (text) => {formatDate(text.split('T')[0])}, + + }, + { + title: 'Payment By', + dataIndex: 'CreatedByName', + key: 'CreatedByName', + fontSize: "13px", + render: (text, record) => {(text || record?.CreatedByMobileNo) + ' / ' + record?.CreatedByUserType}, + + }, + { + title: 'Price', + dataIndex: 'NetPrice', + key: 'NetPrice', + render: (text, record) => {Math.abs((record ? (record.NetPrice) : 0) - (record?.CommissionAmount > 0 ? record.CommissionAmount : 0))} + }, + { + title: 'Payment Mode', + dataIndex: 'PaymentModeName', + key: 'PaymentModeName', + render: (text) => {text} + }, + { + title: 'Status', + dataIndex: 'PaymentStatus', + key: 'PaymentStatus', + render: (text) => { + if (text == 'P') { + return (Pending) + } + if (text == 'S') { + return (Success) + } + if (text == 'C') { + return (Cancelled) + } + } + }, + { + title: "Print", + key: "Print", + dataIndex: "Action", + width: "200px", + align: "center", + render: (_, record, index) => + + + + + statusFormatterPrint(record)}/> + + + }, + { + title: "Download", + key: "Download", + dataIndex: "Action", + width: "200px", + align: "center", + render: (_, record, index) => + + + + + statusFormatterDownload(record)} + /> + + + }, + { + title: "Share", + key: "Share", + dataIndex: "Share", + width: "200px", + align: "center", + render: (_, record, index) => + + + statusShare(record)} + /> + + + + }, + ] + + function formatDate(dateStr) { + // Convert the string to a Date object + const dateObj = new Date(dateStr); + + // Extract day, month, and year from the Date object + const day = String(dateObj.getDate()).padStart(2, '0'); + const month = String(dateObj.getMonth() + 1).padStart(2, '0'); // getMonth() returns 0-indexed month + const year = dateObj.getFullYear(); + + // Format the date to the desired format + return `${day}-${month}-${year}`; + } + + useEffect(() => { + getUpiPaymentDetails() + }, []) + + //Share + const statusShare = (record) => { + setUniqueId(record?.UniqueId) + setModelOpen(true) + } + + //Print + const statusFormatterPrint = async (row) => { + setprintdata(row) + await PrintReceipt() + }; + + //Downlaod + const statusFormatterDownload = async (row) => { + setprintdata(row) + await downloadPDF("Pdfbody") + }; + + + + const PrintReceipt = async () => { + await printDiv("Pdfbody", style); + }; + + const getUpiPaymentDetails = async () => { + let response = await dispatch(getPaymentUpiDetails()).unwrap(); + if (response?.data?.statusCode === 1) { + setpaymentModeSelected(response?.data?.data[0]?.PaymentUPIDetailsId) + } + + } + + + const handleSubmit = async () => { + + let data = { + "UniqueId": UniqueId, + "MailId": formRef?.current?.getFieldValue()?.Email, + "Link": `${MainHomeUrl}${subDirectory}payment-page?paymentId=${UniqueId}&Id=${paymentModeSelected}` + } + + + let response = await dispatch(sharePdfDocument({ data })).unwrap(); + if (response?.data?.statusCode === 1) { + if (response?.data?.SMSbody) { + const postData = { + "body": response?.data?.SMSbody + + } + await dispatch(sendSms(postData)) + } + + if (response?.data?.UserMail !== null) { + const postData = { + "UniqueId": response?.data?.UniqueId, + "userData": response?.data?.userData, + "messageTemplatesList": response?.data?.messageTemplatesList, + "UserMail": response?.data?.UserMail, + "PaymentStatus": response?.data?.PaymentStatus + } + + await dispatch(postEmailApi(postData)) + + } + setMessageType("success"); + setMessageData("Receipt Sent Successfully"); + setModelOpen(false) + } + else if (response?.data?.statusCode === 0) { + setMessageType("error"); + setMessageData("Receipt Not Sent"); + } + } + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + return ( + <> + +
    +
    +
    + +
    + setModelOpen(false)} + onCancel={() => setModelOpen(false)} + width={400} + title={"Send Invoice to Another Email"} + > +
    + + + + +
    + } + htmlType={true} + /> +
    + +
    + + + + ) +} + + +export default HomePaymentTable \ No newline at end of file diff --git a/src/Pages/homeApp/Homeapp.scss b/src/Pages/homeApp/Homeapp.scss new file mode 100644 index 0000000..9ed5d1b --- /dev/null +++ b/src/Pages/homeApp/Homeapp.scss @@ -0,0 +1,1047 @@ +.titleFont{ + font-family: var(--HEADING_FONT_FAMILY); + font-weight: 600; +} + +.appimg{ + width: 2.5rem; + height: 2.5rem; +} + +// .green_tick{ +// float: right; +// margin-left: 120px; +// font-size: 20px; + +// } + +.ptsColBadgeContent{ + background-color: #FF4D4F; + color: rgb(255, 255, 255); + width: 184px; + display: block; + font-size: 15px; + line-height: normal; + position: absolute; + top: 214.7696px; + // right: -29.0172px; + transform: rotate(45deg); + transform-origin: center bottom; +} + +.ptsColBadge ptsColBadge-right-top{ + right: 0px;top: 0px;width: 169px;height: 164px; + +} + +.FreePriceTag{ + // font-size: 13px; + // border-radius: 3px; + // background: #19D52C; + // padding: 0rem 0.4rem; + font-weight: 600; + color: #52C41A; +} + + + +.stats-grid1 { + display: flex; + gap: 1.5rem; + align-items: center; + justify-content: flex-start; + flex-wrap: wrap; + margin-bottom: 0.5rem; + width: 95%; +} + +.numberIcon { + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + gap: 10px; +} + +.stat-card { + background: white; + border-radius: 12px; + padding: 12px; + color: #333; + position: relative; + overflow: hidden; + transition: all 0.3s ease; + width: 240px; + border: 1px solid #f3f3f3; + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); + + + .stat-content { + display: flex; + align-items: flex-start; + justify-content: space-between; + position: relative; + + .stat-info { + flex: 1; + + .stat-number { + font-size: 2.1rem; + font-weight: 600; + color: #2c3e50; + margin-bottom: 0.5rem; + line-height: 1; + } + + .stat-label { + font-size: 1rem; + font-weight: 600; + color: #2c3e50; + margin-top: 0.25rem; + } + + .stat-subtitle { + font-size: 0.85rem; + color: #333333; + font-weight: 400; + } + } + + .stat-icon { + width: 45px; + height: 45px; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + font-size: 1.6rem; + margin-left: 1rem; + flex-shrink: 0; + } + } + + &.total-apps { + .stat-icon { + background-color: #ecefff; + color: #667eea; + } + + &:hover { + transform: translateY(-2px); + box-shadow: 0 1px 2px #667eea86; + } + } + + &.active-apps { + .stat-icon { + background-color: #f0ffe1; + color: #48ad15; + } + + &:hover { + transform: translateY(-2px); + box-shadow: 0 1px 2px #48ad156e; + } + } + + &.expired-apps { + .stat-icon { + background-color: #ffeae6; + color: #e01f22; + } + + &:hover { + transform: translateY(-2px); + box-shadow: 0 1px 2px #e01f226e; + } + } + + &.app-types { + .stat-icon { + background-color: #faad1441; + color: #faad14; + } + + &:hover { + transform: translateY(-2px); + box-shadow: 0 1px 2px #faad1465; + } + } +} + +.apps-section-header { + margin-bottom: 1rem; + display: flex; + align-items: center; + justify-content: space-between; + flex-wrap: wrap; + gap: 1rem; + width: 95%; + + .header-info { + h2 { + font-size: 20px; + font-weight: 600; + margin: 0 0 0.5rem 0; + color: #050505; + display: flex; + align-items: center; + gap: 0.5rem; + + .header-icon { + color: #667eea; + } + } + + p { + margin: 0; + color: #333333; + font-size: 1rem; + } + } + + .header-actions { + display: flex; + align-items: center; + gap: 1rem; + flex-wrap: nowrap; + + .app-count-badge { + background: linear-gradient(135deg, #2340b3 0%, #23378a 100%); + color: white; + padding: 0.75rem 1.25rem; + border-radius: 25px; + font-size: 0.9rem; + font-weight: 500; + display: flex; + align-items: center; + gap: 0.5rem; + } + + .settings-btn { + background: white; + border: 2px solid #e8e8e8; + border-radius: 25px; + padding: 0.75rem 1.25rem; + display: flex; + align-items: center; + gap: 0.5rem; + cursor: pointer; + transition: all 0.3s ease; + color: #667eea; + + &:hover { + border-color: #667eea; + background: #f8f9ff; + } + } + } + + .searchBar { + display: flex; + align-items: center; + gap: 12px; + width: 100%; + flex: 1; + background: #ffffff; + border: 1px solid #e5e7eb; + border-radius: 12px; + padding: 0 14px; + + } + + .searchInput { + height: 48px; + box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06); + font-size: 14px; + color: #111827; + outline: none; + border: none; + width: 100%; + background-color: none; + font-family: "Poppins", sans-serif; + } + + .filterBtn { + background: #ffffff; + border: 1px solid #e5e7eb; + border-radius: 12px; + height: 50px; + padding: 0 14px; + display: inline-flex; + align-items: center; + font-family: "Poppins", sans-serif; + gap: 8px; + box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06); + cursor: pointer; + color: #23378a; + font-weight: 500; + } +} + +/* helpers for metrics value colors */ +.card1 .v.green { + color: #2e7d0b; +} + +.card1 .v.red { + color: #a8071a; +} + +.apps-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); + gap: 1.5rem; + margin-bottom: 2rem; +} + +.app-card { + background: white; + border-radius: 20px; + padding: 1.5rem; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); + cursor: pointer; + transition: all 0.3s ease; + border: 2px solid transparent; + position: relative; + overflow: hidden; + + &:hover { + transform: translateY(-8px); + box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); + } + + &.active { + border-color: #52c41a; + transform: translateY(-5px); + box-shadow: 0 15px 40px rgba(82, 196, 26, 0.2); + + &:hover { + transform: translateY(-8px); + box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); + } + } + + &.expired { + border-color: #ff4d4f; + opacity: 0.8; + } + + &.expiring { + border-color: #faad14; + opacity: 0.9; + } + + .status-badge { + position: absolute; + top: 1rem; + right: 1rem; + z-index: 2; + } + + .app-icon { + text-align: center; + margin-bottom: 1.5rem; + position: relative; + + .icon-container { + width: 80px; + height: 80px; + margin: 0 auto; + border-radius: 20px; + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + display: flex; + align-items: center; + justify-content: center; + box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3); + + img { + width: 50px; + height: 50px; + object-fit: contain; + filter: brightness(0) invert(1); + } + } + } + + .app-name { + font-size: 1.2rem; + font-weight: 600; + text-align: center; + margin: 0 0 1rem 0; + color: #2c3e50; + text-transform: uppercase; + } + + .app-status { + text-align: center; + margin-bottom: 1rem; + } + + .pricing-info { + text-align: center; + margin-bottom: 1rem; + padding: 0.5rem; + background: rgba(102, 126, 234, 0.1); + border-radius: 10px; + + .pricing-name { + font-size: 0.8rem; + color: #667eea; + font-weight: 600; + margin-bottom: 0.25rem; + } + + .pricing-type { + font-size: 0.7rem; + color: #333333; + } + } + + .action-button { + text-align: center; + margin-top: 1rem; + + .btn { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + color: white; + padding: 0.75rem 1.5rem; + border-radius: 25px; + font-size: 0.9rem; + font-weight: 500; + display: inline-flex; + align-items: center; + gap: 0.5rem; + transition: all 0.3s ease; + cursor: pointer; + } + } + + .background-pattern { + position: absolute; + bottom: -30px; + right: -30px; + width: 100px; + height: 100px; + background: rgba(102, 126, 234, 0.05); + border-radius: 50%; + z-index: 1; + } +} + +.empty-state { + text-align: center; + padding: 4rem 2rem; + background: white; + border-radius: 20px; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); + + .empty-icon { + width: 80px; + height: 80px; + margin: 0 auto 1.5rem; + border-radius: 50%; + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + display: flex; + align-items: center; + justify-content: center; + color: white; + font-size: 2rem; + } + + h3 { + font-size: 1.5rem; + font-weight: 600; + color: #2c3e50; + margin: 0 0 0.5rem 0; + } + + p { + color: #333333; + margin: 0 0 1.5rem 0; + } + + .contact-btn { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + color: white; + padding: 0.75rem 1.5rem; + border-radius: 25px; + font-size: 0.9rem; + font-weight: 500; + display: inline-flex; + align-items: center; + gap: 0.5rem; + cursor: pointer; + } +} + +.dashboard-footer { + margin-top: 3rem; + padding: 2rem; + background: linear-gradient(135deg, #f8f9ff 0%, #e8eaff 100%); + border-radius: 20px; + text-align: center; + + .footer-header { + display: flex; + align-items: center; + justify-content: center; + gap: 0.5rem; + margin-bottom: 1rem; + color: #667eea; + + span { + font-weight: 600; + } + } + + p { + margin: 0 0 1.5rem 0; + color: #333333; + font-size: 0.9rem; + } + + .footer-actions { + display: flex; + align-items: center; + justify-content: center; + gap: 1rem; + flex-wrap: wrap; + + .btn-outline { + background: white; + border: 2px solid #667eea; + color: #667eea; + padding: 0.75rem 1.5rem; + border-radius: 25px; + font-size: 0.9rem; + font-weight: 500; + cursor: pointer; + transition: all 0.3s ease; + display: inline-flex; + align-items: center; + gap: 0.5rem; + + &:hover { + background: #667eea; + color: white; + } + } + + .btn-primary { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + color: white; + padding: 0.75rem 1.5rem; + border-radius: 25px; + font-size: 0.9rem; + font-weight: 500; + cursor: pointer; + display: inline-flex; + align-items: center; + gap: 0.5rem; + } + } +} + +.appListComponentSub { + .appCardActive { + position: relative; + display: inline-flex; + flex-direction: column; + align-items: center; + justify-content: flex-start; + gap: 10px; + width: 240px; + min-height: 220px; + padding: 18px 14px 16px 14px; + // margin: 0 16px 16px 0; + background: linear-gradient(180deg, #ffffff 0%, #f6fff0 100%); + border-radius: 12px; + border: 2px solid #48ad15; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); + transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; + cursor: pointer; + + &:hover { + transform: translateY(-3px); + box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15); + } + + .AppCard-Name { + font-size: 14px; + font-weight: 700; + color: #163300; + letter-spacing: 0.3px; + text-transform: uppercase; + margin: 2px 0 0; + } + + .appimg { + width: 46px; + height: 46px; + object-fit: contain; + } + } + + .app-meta { + width: 100%; + display: flex; + flex-direction: column; + align-items: center; + gap: 4px; + margin-top: -4px; + + .price { + font-size: 12px; + font-weight: 600; + color: #2340b3; + background: #ecefff; + border-radius: 999px; + padding: 3px 10px; + } + + .validity { + font-size: 12px; + color: #6b7280; + /* gray-500 */ + } + } +} + + +.corner { + display: flex; + gap: 8px; + + .dot { + background: #ffffff; + border: 1px solid #e5e7eb; + width: 36px; + height: 36px; + border-radius: 50%; + display: grid; + place-items: center; + box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08); + } +} + +.marketCard { + width: 320px; + border-radius: 16px; + background: #fff; + border: 1px solid #eef0f3; + box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08); + overflow: hidden; + cursor: pointer; + transition: transform 0.25s ease, box-shadow 0.25s ease; + // margin: 0 16px 16px 0; + font-family: "Poppins", sans-serif; + + &:hover { + transform: translateY(-3px); + box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12); + } + + &-header { + position: relative; + height: 180px; + background: #f5f7fb; + + .bgImage { + width: 100%; + height: 100%; + object-fit: cover; + filter: blur(1px) brightness(0.9); + } + + .overlayImage { + width: 100px; + height: 100px; + object-fit: cover; + position: absolute; + z-index: 10; + left: 1rem; + right: 0; + bottom: 1rem; + background-color: rgba(255, 255, 255, 82%); + padding: 10px; + border-radius: 8px; + } + + .badge { + position: absolute; + top: 12px; + left: 12px; + background: #1f2937; + color: #fff; + font-size: 10px; + letter-spacing: 0.2px; + font-weight: 500; + padding: 4px 8px; + border-radius: 999px; + } + + } + + &-body { + padding: 16px 16px 16px 16px; + + .topline { + display: flex; + gap: 8px; + align-items: center; + justify-content: space-between; + + .pill { + font-size: 10px; + font-weight: 600; + color: #6b7280; + background: #f3f4f6; + // border: 1px solid #e5e7eb; + padding: 4px 10px; + border-radius: 999px; + } + } + + .title { + font-size: 18px; + font-weight: 500; + color: #111827; + } + + .subtitle { + font-size: 12px; + color: #6b7280; + margin-bottom: 10px; + height: 32px; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + } + + .rating { + display: flex; + align-items: center; + gap: 6px; + font-size: 13px; + color: #374151; + margin-bottom: 10px; + } + + .metrics { + display: flex; + flex-direction: column; + align-items: flex-start; + background-color: #f0f7ff; + margin-bottom: 10px; + border-radius: 8px; + padding: 10px 10px; + + .card1 { + display: flex; + align-items: flex-start; + justify-content: space-between; + gap: 4px; + // box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); + width: 100%; + font-family: "Poppins"; + + + .v { + font-size: 14px; + font-weight: 500; + color: #0f172a; + } + + .k { + font-size: 13px; + color: #6b7280; + } + + + } + } + + + .tags { + display: flex; + flex-wrap: wrap; + gap: 8px; + margin: 8px 0 12px 0; + + .tag { + font-size: 12px; + background: #eef2ff; + color: #3730a3; + border: 1px solid #e0e7ff; + padding: 4px 10px; + border-radius: 999px; + } + } + + .meta { + display: flex; + gap: 4px; + flex-direction: column-reverse; + align-items: flex-start; + width: 100%; + + .item { + font-size: 13px; + color: #64748b; + font-weight: 400; + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + } + + .item1 { + font-size: 13px; + color: #64748b; + font-weight: 400; + } + } + + .priceRow { + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + + .price { + font-weight: 600; + font-size: 20px; + color: #111827; + } + } + + .cta { + background: #050d36; + color: #fff; + padding: 10px 16px; + border-radius: 6px; + border: none; + outline: none; + font-family: "Poppins", sans-serif; + text-align: center; + font-size: 14px; + letter-spacing: 0.2px; + text-transform: capitalize; + font-weight: 400; + cursor: pointer; + margin: 10px 0; + width: 100%; + display: flex; + align-items: center; + justify-content: center; + gap: 1rem; + } + } +} + +.corner { + .pill { + padding: 4px 8px; + border-radius: 999px; + font-size: 11px; + letter-spacing: 0.2px; + font-weight: 600; + background: #ffffff; + color: #2e7d0b; + } + + .pill.active { + background: #9FFFA3; + color: #1b1b1b; + } + + .pill.expiring { + background: #fff7e6; + color: #ad6800; + } + + .pill.expired { + background: #fff1f0; + color: #a8071a; + } +} + +.marketCard { + &-header {} +} + + +// Responsive Design +@media (max-width: 768px) { + + .apps-grid { + grid-template-columns: 1fr; + gap: 1rem; + } +} + + +.cardlistmarket { + background-color: #e1e7ff; + display: flex; + align-items: center; + justify-content: space-between; + flex-direction: column; + gap: 10px; + border-radius: 8px; + padding: 1rem; + width: 250px; + height: 240px; + position: relative; + perspective: 1000px; // flip effect ku depth + transform-style: preserve-3d; + + &:hover { + .cardAppDetails { + transform: rotateY(0deg); + opacity: 1; + pointer-events: auto; + } + + .listAppImg { + position: relative; + left: 3.8rem; + width: 100px; + height: 100px; + + } + + .listAppName, + .listAppPrice { + opacity: 0; + } + } +} + +.listAppStatus { + // background-color: #f0ffe1; + background-color: #9FFFA3; + // color: #48ad15; + color: #1b1b1b; + font-size: 12px; + padding: 2px 6px; + position: absolute; + top: 10px; + right: 10px; + border-radius: 50px; + font-weight: 500; +} + +.listAppName { + font-size: 18px; + font-family: "Poppins", sans-serif; + font-weight: 500; + opacity: 1; + transition: opacity 0.35s ease; + will-change: opacity; +} + +.listAppName1 { + font-size: 16px; + font-family: "Poppins", sans-serif; + font-weight: 400; + color: #fff; +} + +.listAppPrice { + font-size: 14px; + font-family: "Poppins", sans-serif; + font-weight: 500; + opacity: 1; + transition: opacity 0.35s ease; + will-change: opacity; + + span { + font-size: 12px; + font-weight: 400; + color: #64748b; + } +} + +.listAppPrice1 { + font-size: 14px; + font-family: "Poppins", sans-serif; + font-weight: 400; + opacity: 1; + display: flex; + align-items: center; + color: #fff; + white-space: nowrap; + + span { + font-size: 12px; + font-weight: 400; + color: #b4bac2; + } +} + +.listAppPlan { + font-size: 12px; + font-family: "Poppins", sans-serif; + font-weight: 400; + opacity: 1; + color: #fff; + +} + +.listAppImg { + width: 100px; + height: 100px; + transition: left 0.45s ease, width 0.45s ease, height 0.45s ease; + position: relative; + left: 0; + will-change: left, width, height; + + img { + width: 100%; + border-radius: 50%; + height: 100%; + object-fit: cover; + transition: transform 0.55s ease; + will-change: transform; + } +} + +.cardAppDetails { + width: 50%; + height: 100%; + position: absolute; + left: 0; + top: 0; + background-color: #3d5ace; + border-radius: 8px; + transform: rotateY(-90deg); + transform-origin: left; + transition: transform 0.45s ease, opacity 0.45s ease; + opacity: 0; + backface-visibility: hidden; + pointer-events: none; + display: flex; + flex-direction: column; + align-items: flex-start; + justify-content: space-around; + padding: 10px; + gap: 10px; +} + +.listAppBtn{ + width: 100%; + text-align: center; + background-color: #e1e7ff; + color: #1531a0; + border: none; + padding: 7px ; + border-radius: 4px; + cursor: pointer; + font-size: 13px; + font-weight: 400; + font-family: "Poppins", sans-serif; +} \ No newline at end of file diff --git a/src/Pages/homeApp/NotificationData.jsx b/src/Pages/homeApp/NotificationData.jsx new file mode 100644 index 0000000..468c062 --- /dev/null +++ b/src/Pages/homeApp/NotificationData.jsx @@ -0,0 +1,53 @@ + +import { useEffect} from 'react'; +import { useDispatch, useSelector } from 'react-redux'; +import { getlogData,logDataSelector } from '../../features/logs/logs'; +import { getSession } from "../../Services/others"; + + +const NotificationsData = ({showViewMore}) => { + const dispatch = useDispatch(); + + const UserType= + getSession("UserType") ? getSession("UserType") : null + + + const UserId = + getSession("UserId") ? getSession("UserId") : null + + + const messages = useSelector(logDataSelector) + showViewMore(messages) + + useEffect(() => { + if (UserType === 'Admin' || UserType === 'Admin User') { + dispatch(getlogData({UserId})).unwrap(); + } + else if (UserType === 'Employee') { + dispatch(getlogData({"UserId":UserId, Type:"E"})).unwrap(); + } + else if (UserType === 'Super Admin' || UserType === 'Super Admin User'){ + dispatch(getlogData()).unwrap(); + } + }, [UserType, UserId]); + + + + return ( +
    +
      + {messages?.slice(0,5)?.map((message, index) => ( +
    • + {message.Message} +
    • + ))} +
    + +
    + ); + +} + + +export default NotificationsData; + diff --git a/src/Pages/homeApp/appList.jsx b/src/Pages/homeApp/appList.jsx new file mode 100644 index 0000000..91b8e28 --- /dev/null +++ b/src/Pages/homeApp/appList.jsx @@ -0,0 +1,1532 @@ +import { useCallback, useEffect, useState } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import { + getPurchasedApp, + getTypePurchasedApp, + getAppAccess, + putDeafaulBranch, + getDeafaulBranch, +} from "../../features/homePage/homePage"; +import { getActiveApplicationData } from "../../features/applicationPage/applicationPage"; +import { + ExtractDateFormate, + getSession, + sessionStore, +} from "../../Services/others"; +import { useNavigate } from "react-router-dom"; +import { DefaultModal } from "../../Components/Modal/DefaultModal"; +import { Form } from "antd"; +import { Col, Row, Checkbox, Tooltip, Table } from "antd"; +import "../../fonts/Gilroy/stylesheet.css"; +import { ClockCircleOutlined, CheckCircleTwoTone } from "@ant-design/icons"; +import { DropDowns } from "../../Components/Forms/DropDown.jsx"; +import moment from "moment"; +import defaultImage from "../../Images/defaultImage.png"; +import { + appCompanyDataSelector, + appBranchDataSelector, + getActiveAppCompanyData, + getActiveAppBranchData, + getfeatconstrains, + getallplanDtl, + postDowngrade, + putFeaturechange +} from "../../features/appAccessPage/appAccessPage.js"; +import "../../Pages/homeApp/Homeapp.scss"; +import { Messages } from "../../Components/Notifications/Messages.jsx"; +import { RadioGrpButton } from "../../Components/Forms/RadioGroup.jsx"; +import { getCompanyDataBasedOnApp } from "../../features/branchPage/branchPage.js"; +import { IoMdAdd } from "react-icons/io"; +import { MdOutlineAirplanemodeActive } from "react-icons/md"; +import { FcExpired } from "react-icons/fc"; +import { ImMobile } from "react-icons/im"; +import { IoWarningOutline } from "react-icons/io5"; +import { IoIosSearch } from "react-icons/io"; +import { FiFilter } from "react-icons/fi"; +import { FaArrowRight } from "react-icons/fa6"; + + + +const subDirectory = import.meta.env.ENV_BASE_URL; + +const AppList = () => { + const dispatch = useDispatch(); + const navigate = useNavigate(); + const [form] = Form.useForm(); + + const [purchasedApp, setPurchasedApp] = useState([]); + console.log("purchasedApp", purchasedApp) + const [allApps, setAllApps] = useState([]); + const [modalVisible, setModalVisible] = useState(false); + const [branchVisible, setBranchVisible] = useState(false); + const [checked, setChecked] = useState(false); + const [eachApp, setEachApp] = useState(null); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + + const UserId = getSession("UserId"); + const currentDate = new Date(); + const year = currentDate.getFullYear(); + const month = String(currentDate.getMonth() + 1).padStart(2, "0"); + const day = String(currentDate.getDate()).padStart(2, "0"); + const hours = String(currentDate.getHours()).padStart(2, "0"); + const minutes = String(currentDate.getMinutes()).padStart(2, "0"); + const seconds = String(currentDate.getSeconds()).padStart(2, "0"); + const formattedDate = `${year}-${month}-${day}T${hours}:${minutes}:${seconds}`; + + const companyData = useSelector(appCompanyDataSelector); + const branchData = useSelector(appBranchDataSelector); + + const [viewMode, setViewMode] = useState('list') // grid, list + + const UserType = getSession("UserType") ? getSession("UserType") : null + const [DowngradeModal, setDowngradeModal] = useState(false); + const [Featconstrains, setFeatconstrains] = useState(null); + const [radioValue, setRadioValue] = useState("Company"); + const [PlanDataCompany, setPlanDataCompany] = useState(); + const [PlanDataBranch, setPlanDataBranch] = useState(); + const [PlanDataUser, setPlanDataUser] = useState(); + const [StatusCode, setStatuscode] = useState(); + const [Compcheckedvalue, setCompCheckedvalue] = useState([]); + const [Branchcheckedvalue, setBranchcheckedvalue] = useState([]); + const [Usercheckedvalue, setUserCheckedvalue] = useState([]); + const [Onchangecompid, setOnchangecompid] = useState([]); + const [Onchangebranchid, setOnchangebranchid] = useState([]); + const [UniqueId, setUniqueId] = useState(); + const [page, setpage] = useState(1); + + + const handleCancel = () => { + form.resetFields(); + setModalVisible(false); + setBranchVisible(false); + }; + + const handleSubmit = useCallback((eachapps, DownGrade) => { + setModalVisible(false); + setBranchVisible(false); + + if ((eachapps?.AppName) && (DownGrade === false)) { + sessionStore("AppId", eachApp.AppId); + sessionStore("AppName", eachApp.AppName); + navigate(`${eachApp.AppUrl}`); + window.location.reload(); + } + form.resetFields(); + }, + [eachApp] + ); + + useEffect(() => { + if (companyData?.length === 1) { + if ( + (UserType != "Super Admin User" || UserType != "Super Admin") && + eachApp?.RemainingDays > 0 + ) { + handleDropDownChange(companyData[0].CompId); + } + } + }, [companyData]); + + useEffect(() => { + if (branchData?.length === 1) { + handleBranchDropDownChange(branchData[0].BrId); + } + }, [branchData]); + + useEffect(() => { + async function getApiData() { + let res; + if (UserType === "Employee" || UserType === "Super Admin User") { + res = await dispatch(getAppAccess({ UserId })).unwrap(); + } else if (UserType === "Super Admin") { + res = await dispatch(getActiveApplicationData()).unwrap(); + } else { + res = await dispatch(getPurchasedApp({ UserId })).unwrap(); + await dispatch(getTypePurchasedApp({ UserId })).unwrap(); + } + if (res?.data?.statusCode) { + if (UserType === "Employee" || UserType === "Super Admin User") { + const data = res?.data?.data?.filter(item => item?.ActiveStatus === 'A') || []; + setPurchasedApp(data); + setAllApps(data); + } else { + const data = res?.data?.data || []; + setPurchasedApp(data); + setAllApps(data); + } + } + } + + getApiData(); + }, []); + + const navigateToPricing = (e) => { + navigate(`${subDirectory}${e.AppName}`, { state: { AppName: e.AppName, AdminId: e.AdminId ? e.AdminId : UserId } }); + }; + + const getDefaultFun = async (AppId, AppName, eachApp, conditionDownGrade) => { + setEachApp(eachApp); + let GetDefault = await dispatch( + getDeafaulBranch({ AppId: AppId, UserId: UserId }) + ).unwrap(); + + let DefaultBranch = GetDefault.data?.statusCode; + if (DefaultBranch == "1") { + sessionStore("AppId", AppId); + sessionStore("AppName", AppName); + sessionStore("CompId", GetDefault?.data?.data?.[0]?.CompId); + sessionStore("BranchId", GetDefault?.data?.data?.[0]?.BranchId); + if ( + (UserType != "Super Admin" || UserType != "Super Admin User") && + eachApp.ValidityEnd >= formattedDate && conditionDownGrade + ) { + navigate(`${eachApp.AppUrl}`); + window.location.reload(); + } else { + navigate(`${eachApp.AppUrl}`); + window.location.reload(); + } + } else { + if ( + UserType === "Admin" || + UserType === "Employee" || + UserType === "Super Admin User" + ) { + const resData = await dispatch( + getActiveAppCompanyData({ AppId: AppId, UserId: UserId }) + ).unwrap(); + + await OrganizationNewCreation( + resData?.data?.data, + eachApp.ValidityEnd, + conditionDownGrade + ); + } else { + const resDataStatus = await dispatch( + getActiveAppCompanyData({ AppId: AppId }) + ).unwrap(); + + await OrganizationNewCreation( + resDataStatus?.data?.data, + eachApp.ValidityEnd, + conditionDownGrade + ); + } + + if (eachApp?.RemainingDays < 0 && (UserType !== "Super Admin User" && UserType !== "Super Admin")) { + navigate(`${subDirectory}${AppName}`, { state: { AppName: AppName, AdminId: eachApp?.AdminId ? eachApp?.AdminId : UserId } }); + sessionStore("AppId", AppId); + sessionStore("AppName", AppName); + } + } + }; + + let ActiveCompanyCount = Featconstrains?.[0]?.CompanyCount; + let ActiveBranchCount = Featconstrains?.[0]?.BranchCount; + let ActiveUserCount = Featconstrains?.[0]?.UserCount; + + var NewplanComp = Featconstrains?.[0]?.FeatureDetails?.find((detail) => detail.FeatName === "Company")?.FeatConstraint; + var NewplanBranch = Featconstrains?.[0]?.FeatureDetails?.find((detail) => detail.FeatName === "Branch")?.FeatConstraint; + var NewplanUser = Featconstrains?.[0]?.FeatureDetails?.find((detail) => detail.FeatName === "User")?.FeatConstraint; + + const OrganizationNewCreation = (data, ValidityEnd, conditionDownGrade) => { + console.log(data, ValidityEnd, conditionDownGrade, "!!!!!!!!!!!!!!!!!!!!!!"); + + const isBranchActive = data?.some(company => + company.BranchDetails?.some(branch => branch.ActiveStatus === "A") + ); + + if (data?.length === 0 && UserType === "Admin" && ValidityEnd >= formattedDate) { + setModalVisible(false); + setMessageType("warning"); + setMessageData("Please create an company to further process"); + setTimeout(() => { + navigate(`${subDirectory}setting/company-master/new`); + }, 500); + } + else if (!isBranchActive) { + setModalVisible(false); + setMessageType("warning"); + setMessageData("Please create or Activate a branch to further process"); + setTimeout(() => { + navigate(`${subDirectory}setting/branch-master`); + }, 500); + } + else if (conditionDownGrade) { + setModalVisible(false); + } + else { + setModalVisible(true); + } + }; + + const applicationNavigate = useCallback(async (eachApp) => { + + let res = await dispatch(getCompanyDataBasedOnApp({ AppId: eachApp?.AppId, UserId: UserId })).unwrap(); + let dataa = res?.data?.data + const isBranchActive = dataa?.some(company => + company.BranchDetails?.some(branch => branch.ActiveStatus === "A") + ); + console.log(res?.data?.data, !isBranchActive, "res?.data?.data"); + if (!isBranchActive && UserType != "Super Admin" && UserType != "Super Admin User") { + setModalVisible(false); + setMessageType("warning"); + setMessageData("Please create or Activate a branch to further process"); + setTimeout(() => { + navigate(`${subDirectory}setting/branch-master`); + }, 500); + } else { + + setUniqueId(eachApp?.UniqueId) + let Checkdata = [] + let data = { + 'AppId': eachApp?.AppId, + 'UserId': UserType === 'Employee' ? eachApp?.AdminId : eachApp?.UserId, + 'UniqueId': eachApp?.UniqueId, + 'PricingId': eachApp?.PricingId + }; + + let Response = await dispatch(getfeatconstrains(data)).unwrap(); + if (Response?.data?.statusCode == 1, "Response") { + setFeatconstrains(Response?.data?.data) + Checkdata = Response?.data?.data + } + + let datas = { 'AppId': eachApp?.AppId, 'UserId': UserType === 'Employee' ? eachApp?.AdminId : UserId }; + + let Responses = await dispatch(getallplanDtl(datas)).unwrap(); + let GetstatusCode = Responses?.data?.statusCode == 0; + setStatuscode(GetstatusCode) + + + if (Responses?.data?.statusCode == 1) { + const Data = Responses?.data?.data; + let Company = []; + let Branch = []; + let User = []; + + Data?.CompanyDetails?.map((item, index) => { + Company.push({ ...item, key: index }); + }); + + Data?.BranchDetails?.map((item, index) => { + Branch.push({ ...item, key: index }); + }); + + Data?.UserDetails?.map((item, index) => { + User.push({ ...item, key: index }); + }); + + setPlanDataBranch(Branch); + setPlanDataCompany(Company); + setPlanDataUser(User); + } + + let ActiveCompanyCount = Checkdata?.[0]?.CompanyCount; + let ActiveBranchCount = Checkdata?.[0]?.BranchCount; + let ActiveUserCount = Checkdata?.[0]?.UserCount; + + + var NewplanComp = Checkdata?.[0]?.FeatureDetails?.find((detail) => detail.FeatName === "Company")?.FeatConstraint; + var NewplanBranch = Checkdata?.[0]?.FeatureDetails?.find((detail) => detail.FeatName === "Branch")?.FeatConstraint; + var NewplanUser = Checkdata?.[0]?.FeatureDetails?.find((detail) => detail.FeatName === "User")?.FeatConstraint; + + let conditionDownGrade = (NewplanComp < ActiveCompanyCount || NewplanBranch < ActiveBranchCount || NewplanUser < ActiveUserCount) + getDefaultFun(eachApp.AppId, eachApp.AppName, eachApp, conditionDownGrade); + } + }, []); + + const handleDropDownChange = async (value) => { + if (UserType === "Employee") { + dispatch( + getActiveAppBranchData({ + AppId: eachApp.AppId, + UserId: UserId, + CompId: value, + }) + ).unwrap(); + setBranchVisible(true); + } else { + sessionStore("CompId", value); + handleSubmit(eachApp, DowngradeModal); + } + }; + + const handleBranchDropDownChange = async (value) => { + if (checked === false) { + if (eachApp && eachApp.AppName) { + sessionStore("CompId", eachApp.CompId); + sessionStore("AppId", eachApp.AppId); + sessionStore("AppName", eachApp.AppName); + sessionStore("BranchId", value); + navigate(`${eachApp.AppUrl}`); + window.location.reload(); + } + } else { + if (eachApp && eachApp.AppName) { + sessionStore("CompId", eachApp.CompId); + sessionStore("BranchId", value); + sessionStore("AppId", eachApp.AppId); + sessionStore("AppName", eachApp.AppName); + let response = await dispatch( + putDeafaulBranch({ + CompId: eachApp.CompId, + BranchId: value, + UserId: UserId, + DefaultBranch: "Y", + }) + ).unwrap(); + + if (response?.data?.statusCode == 1) { + navigate(`${eachApp.AppUrl}`); + window.location.reload(); + } + } + } + }; + + const onChange = (e) => { + setChecked(e.target.checked); + }; + + // Demo details based on purchasedApp data + const totalApps = purchasedApp.length; + const activeApps = purchasedApp.filter(app => app?.RemainingDays > 0).length; + const expiredApps = purchasedApp.filter(app => app?.RemainingDays <= 0).length; + const appTypes = [...new Set(purchasedApp.map(app => app.AppName))].length; + + const purchasedAppCard = purchasedApp?.map((eachApp) => { + let divColour = "appCard"; + let Day = ""; + let OtherData = ""; + + var start = moment(eachApp.ValidityStart); + var end = moment(eachApp.ValidityEnd); + let DayCount = end.diff(start, "days"); + + if (UserType == "Admin" || UserType == "Employee") { + if (eachApp?.RemainingDays <= 5 && eachApp?.RemainingDays > 0) { + Day = ( +
    + expires in {eachApp?.RemainingDays} days +
    + ); + divColour = "appCardexpired"; + OtherData = ( +
    + 31 + ? "/yearly" + : "/monthly" + }`}> +

    + {eachApp.PricingName} + {eachApp.PricingName != "Free" && ( + + {DayCount > 31 ? "/yearly" : "/monthly"} + + )} +

    +
    + + {/* eachApp.ValidityStart */} + + { + e.stopPropagation(); + navigateToPricing(eachApp); + }} + > +

    + {eachApp?.RemainingDays} +

    +
    +
    +
    + ); + } + + if (eachApp?.RemainingDays < 0) { + divColour = "appCardexpire"; + Day = ( +
    + expired{" "} +
    + ); + OtherData = ( +
    + 31 + ? "/yearly" + : "/monthly" + }`}> + +

    + {eachApp.PricingName} + {eachApp.PricingName != "Free" && ( + + {DayCount > 31 ? "/yearly" : "/monthly"} + + )} +

    +
    +
    + + {/* eachApp.ValidityStart */} + + { + e.stopPropagation(); + navigateToPricing(eachApp); + }} + > +

    + {0} +

    +
    +
    +
    + ); + } + + if (eachApp?.RemainingDays == 0) { + divColour = "appCardexpire"; + Day = ( +
    + expires in Today{" "} +
    + ); + OtherData = ( +
    + 31 + ? "/yearly" + : "/monthly" + }`}> + {" "} +

    + {eachApp.PricingName} + {eachApp.PricingName != "Free" && ( + + {DayCount > 31 ? "/yearly" : "/monthly"} + + )}{" "} +

    +
    + {/* eachApp.ValidityStart */} + + { + e.stopPropagation(); + navigateToPricing(eachApp); + }} + > +

    + {0} +

    +
    +
    +
    + ); + } + if (eachApp?.RemainingDays > 5) { + divColour = "appCardActive"; + Day = ( +
    + Active{" "} +
    + ); + OtherData = ( +
    + 31 + ? "/yearly" + : "/monthly" + }`}> +

    + {eachApp.PricingName} + {eachApp.PricingName != "Free" && ( + + {DayCount > 31 ? "/yearly" : "/monthly"} + + )} +

    +
    + + {/* eachApp.ValidityStart */} + + { + e.stopPropagation(); + navigateToPricing(eachApp); + }} + > +

    + {eachApp?.RemainingDays} +

    +
    +
    +
    + ); + } + } + + return ( + <> + {viewMode === "grid" && ( +
    applicationNavigate(eachApp)} + > + +
    + {eachApp.AppName} + {eachApp.AppName} + {/*
    {eachApp?.PricingName || 'Plan'}
    */} +
    +
    +
    +
    {eachApp?.AppName}
    + + +
    + {eachApp?.RemainingDays > 5 && ( + Active + )} + {eachApp?.RemainingDays <= 5 && eachApp?.RemainingDays > 0 && ( + Expiring + )} + {eachApp?.RemainingDays <= 0 && ( + Expired + )} +
    + +
    +
    {`All-in-one ${eachApp?.AppName} solution to run your business`}
    + + +
    +
    +
    Days Remaining
    +
    0 ? "green" : "red" }}> + {eachApp?.RemainingDays > 0 ? `${eachApp?.RemainingDays}` : "0"} +
    +
    + + +
    +
    +
    ₹{eachApp?.NetPrice || eachApp?.Price}
    +
    {ExtractDateFormate(eachApp.ValidityStart)} - {ExtractDateFormate(eachApp.ValidityEnd)}
    +
    +
    Plan +
    {eachApp?.PricingName}
    +
    +
    +
    + +
    +
    + )} + + {viewMode === "list" && ( + <> +
    +
    applicationNavigate(eachApp)}> +
    + {eachApp?.AppName} +
    +
    + +
    +
    + ₹{eachApp?.NetPrice || eachApp?.Price} / {eachApp?.PricingName} +
    +
    + {eachApp?.RemainingDays > 5 ? "Active" : eachApp?.RemainingDays <= 5 && eachApp?.RemainingDays > 0 ? "Expiring" : "Expired"} +
    + {/* Card Slideshow */} +
    +
    +
    + {eachApp?.AppName} +
    +
    + ₹{eachApp?.NetPrice || eachApp?.Price} +
    +
    + Plan : {eachApp?.PricingName} +
    +
    + {/*
    + {formatDate(eachApp.ValidityStart)} - {formatDate(eachApp.ValidityEnd)} +
    */} + + +
    + +
    +
    + + )} + + + ); + }); + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + const handleCloseModal = () => { + + setDowngradeModal(false) + + } + useEffect(() => { + if ((NewplanComp < ActiveCompanyCount || NewplanBranch < ActiveBranchCount || NewplanUser < ActiveUserCount)) { + + setDowngradeModal(true) + + } + }, [Featconstrains]); + useEffect(() => { + + let bb = PlanDataBranch?.filter((branch) => + Onchangecompid?.includes(branch.CompId) + ); + let cc = bb?.map((item) => item.key); + setBranchcheckedvalue(cc) + + let bbb = PlanDataUser?.filter((branch) => + Onchangecompid?.includes(branch.CompId) + ); + let ccc = bbb?.map((item) => item.key); + setUserCheckedvalue(ccc); + + }, [Onchangecompid]); + + useEffect(() => { + + let bbb = PlanDataUser?.filter((branch) => + Onchangebranchid?.includes(branch.BranchId) + ); + let ccc = bbb?.map((item) => item.key); + setUserCheckedvalue(ccc); + + }, [Onchangebranchid]); + + const handleRadioChange = (value) => { + setRadioValue(value); + }; + + const ComponChange = (object, e, index) => { + + if (e.target.checked) { + setCompCheckedvalue([...Compcheckedvalue, index]); + let selctedcompid = object.CompId; + setOnchangecompid([...Onchangecompid, selctedcompid]) + } else { + let Filterdata = Compcheckedvalue?.filter((item) => item != index); + setCompCheckedvalue(Filterdata); + let Filterdatass = Onchangecompid?.filter( + (item) => item != object.CompId + ); + setOnchangecompid(Filterdatass); + } + }; + + const BranchonChange = (object, e, index) => { + if (e.target.checked) { + setBranchcheckedvalue((prevChecked) => { + if (!prevChecked) prevChecked = []; // Initialize if undefined + return [...prevChecked, index]; + }); + let selectedBranchId = object.BrId; + setOnchangebranchid((prevIds) => { + if (!prevIds) prevIds = []; // Initialize if undefined + return [...prevIds, selectedBranchId]; + }); + } else { + setBranchcheckedvalue((prevChecked) => { + if (!prevChecked) prevChecked = []; // Initialize if undefined + let filteredBranches = prevChecked.filter((item) => item !== index); + return filteredBranches; + }); + + setOnchangebranchid((prevIds) => { + if (!prevIds) prevIds = []; // Initialize if undefined + let filteredIds = prevIds.filter((item) => item !== object.BrId); + return filteredIds; + }); + } + }; + + const UseronChange = (object, e, index) => { + if (e && e.target && e.target.checked !== undefined) { + if (e.target.checked) { + if (Usercheckedvalue?.length === 0) { + setUserCheckedvalue([index]); + } else { + setUserCheckedvalue((prevChecked) => { + return Array.isArray(prevChecked) + ? [...prevChecked, index] + : [index]; + }); + } + } else { + setUserCheckedvalue((prevChecked) => { + return Array.isArray(prevChecked) + ? prevChecked.filter((item) => item !== index) + : []; + }); + } + } + }; + + var NewplanComplen = PlanDataCompany?.length; + var NewplanBranchlen = PlanDataBranch?.length; + var NewplanUserlen = PlanDataUser?.length + 1; + var CompanyDeactive = NewplanComplen - NewplanComp; + var BranchDeactive = NewplanBranchlen - NewplanBranch; + var UserDeactive = NewplanUserlen - NewplanUser; + + const columnCompanyName = [ + { + title: " ", + width: "20px", + align: 'center', + key: "CompName", + render: (text, object, index) => ( + { + ComponChange(object, e, index) + }} + checked={Compcheckedvalue.includes(index)} + disabled={ + Compcheckedvalue.length == CompanyDeactive && + !Compcheckedvalue.includes(index) + } + /> + ), + }, + { + title: "SI.NO", + key: "sno", + align: "center", + width: "60px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "Company Name", + dataIndex: "CompName", + key: "CompName", + editable: true, + }, + { + title: "Active Status", + dataIndex: "ActiveStatus", + key: "ActiveStatus", + editable: true, + }, + ]; + + const columnBranchName = [ + { + title: " ", + width: "20px", + align: 'center', + key: "CompName", + render: (text, object, index) => ( + { + BranchonChange(object, e, index); + }} + checked={Branchcheckedvalue?.includes(index)} + disabled={ + (Branchcheckedvalue?.length == BranchDeactive && + !Branchcheckedvalue?.includes(index)) || + Onchangecompid?.includes(object?.CompId) + } + /> + ), + }, + { + title: "SI.NO", + key: "sno", + align: "center", + width: "60px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "Company Name", + dataIndex: "CompName", + key: "CompName", + editable: true, + }, + { + title: "Branch Name", + dataIndex: "BrName", + key: "BrName", + editable: true, + }, + { + title: "Branch Address", + dataIndex: "Address1", + key: "Address1", + editable: true, + }, + { + title: "Active Status", + dataIndex: "ActiveStatus", + key: "ActiveStatus", + editable: true, + }, + ]; + + const columnUserName = [ + { + title: " ", + width: "20px", + align: 'center', + key: "CompName", + render: (text, object, index) => ( + { + UseronChange(object, e, index); + }} + checked={Usercheckedvalue?.includes(index)} + disabled={ + (Usercheckedvalue?.length === UserDeactive && + !Usercheckedvalue?.includes(index)) || + Onchangebranchid?.includes(object?.BranchId) || + Onchangecompid?.includes(object?.CompId) + } + /> + ), + }, + { + title: "SI.NO", + key: "sno", + align: "center", + width: "60px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "Company Name", + dataIndex: "CompName", + key: "CompName", + editable: true, + }, + { + title: "Branch Name", + dataIndex: "BrName", + key: "BrName", + editable: true, + }, + { + title: "Branch Address", + dataIndex: "Address1", + key: "Address1", + editable: true, + }, + { + title: "User Name / User Mobile.No", + dataIndex: "UserName", + key: "UserName", + editable: true, + render: (text, record) => ( + {record.UserName ? record?.UserName : record?.MobileNo} + ), + }, + { + title: "Active Status", + dataIndex: "ActiveStatus", + key: "ActiveStatus", + editable: true, + }, + ]; + + const RadioContent = [ + { value: "Company", label: "Company" }, + { value: "Branch", label: "Branch" }, + { value: "User", label: "User" }, + ]; + + const filteredContent = RadioContent.filter((item) => { + if (item.value === "Company") + return ( + !CompanyDeactive == 0 && NewplanComplen > ActiveCompanyCount - NewplanComp + ); + if (item.value === "Branch") + return ( + (BranchDeactive !== 0 || BranchDeactive < 0) && + BranchDeactive > 0 + ); + if (item.value === "User") + return ( + !UserDeactive == 0 && + NewplanUserlen > NewplanUser - ActiveUserCount && + UserDeactive > 0 + ); + + return true; + }); + + const handleSubmit1 = async () => { + + + let CompaneyIds = []; + let BranchIds = []; + let UserIds = []; + + Usercheckedvalue?.map((key) => + UserIds.push({ + 'UserId': PlanDataUser?.filter((_, index) => index === key)?.[0]?.UserId, + 'CompId': PlanDataUser?.filter((_, index) => index === key)?.[0]?.CompId, + 'BranchId': PlanDataUser?.filter((_, index) => index === key)?.[0]?.BranchId, + 'AppId': PlanDataUser?.filter((_, index) => index === key)?.[0]?.AppId, + }) + ); + + Branchcheckedvalue?.map((key) => + BranchIds.push({ + 'BranchId': PlanDataBranch?.filter((_, index) => index === key)?.[0]?.BrId, + 'CompId': PlanDataBranch?.filter((_, index) => index === key)?.[0]?.CompId, + }) + ); + + Compcheckedvalue?.map((key) => + CompaneyIds.push({ "CompId": PlanDataCompany?.filter((_, index) => index === key)?.[0]?.CompId }) + ); + + + + if (((CompanyDeactive === Compcheckedvalue?.length) && (BranchDeactive > 0) && (BranchDeactive === Branchcheckedvalue?.length) && (UserDeactive <= Usercheckedvalue?.length)) || + ((BranchDeactive === Branchcheckedvalue?.length) && (UserDeactive <= Usercheckedvalue?.length)) || + ((CompanyDeactive === Compcheckedvalue?.length) && (UserDeactive <= Usercheckedvalue?.length)) || + (UserDeactive <= Usercheckedvalue?.length) || StatusCode) { + + let Postdata = { + "UniqueId": UniqueId, + "PostData": [ + { + "User": UserIds?.map(item => ({ + "UserId": item.UserId, + "CompId": item.CompId, + "BranchId": item.BranchId, + "AppId": item.AppId + })), + "Company": CompaneyIds?.map(item => ({ + "CompId": item.CompId + })), + "Branch": BranchIds?.map(item => ({ + "BranchId": item.BranchId, + "CompId": item.CompId + })) + } + ] + }; + + let response = await dispatch(postDowngrade(Postdata)).unwrap(); + if (response?.data?.statusCode == 1, "rrr") { + setDowngradeModal(false) + let postData = { "UniqueId": UniqueId } + await dispatch(putFeaturechange(postData)).unwrap(); + } + + } + + else { + + setMessageType("error"); + setMessageData("Deactive features"); + } + + }; + + return ( +
    + + {/* Modern Dashboard Header */} + + {/* Enhanced Statistics Cards */} +
    +
    +
    +
    +
    +
    {totalApps}
    +
    +
    +
    Total Applications
    +
    All registered apps
    +
    +
    +
    + +
    +
    +
    +
    +
    {activeApps}
    +
    +
    +
    Active Applications
    +
    Currently operational
    +
    +
    +
    + + {expiredApps.length > 0 && ( + +
    +
    +
    +
    +
    {expiredApps}
    +
    +
    +
    Expired Applications
    +
    Temporarily suspended
    +
    + +
    +
    + )} + + {/*
    +
    +
    +
    +
    {appTypes}
    +
    +
    +
    Application Types
    +
    Different categories
    +
    +
    +
    */} +
    + {purchasedApp?.length > 1 && +
    + + {/* Search */} + +
    +
    + + { + const q = e.target.value?.toLowerCase(); + if (!q) { + setPurchasedApp(allApps); + return; + } + const filtered = allApps.filter(a => `${a.AppName} ${a.PricingName}`.toLowerCase().includes(q)); + setPurchasedApp(filtered); + }} + /> +
    + + +
    + + +
    +
    + +
    +} +
    + + {purchasedApp.length > 0 && purchasedAppCard} + + + + {branchVisible ? ( +
    + + Default Branch + + + ) : null} + + + ({ + value: option.CompId, + label: option.CompName, + }))} + defaultValue="Select" + label="Company Name" + className="field-DropDown appdropdown" + isOnchanges={true} + onChangeFunction={handleDropDownChange} + /> + + + {branchVisible ? ( + + + ({ + value: option.BrId, + label: option.BrName, + }))} + defaultValue="Select" + label="Branch Name" + className="field-DropDown appdropdown" + isOnchanges={true} + onChangeFunction={handleBranchDropDownChange} + /> + + + ) : null} + + + } + handleCancel={handleCancel} + /> + Deactivation Of Features For Your Current plan} + footer={true} + children={ +
    +
    + +
    + {NewplanComplen > ActiveCompanyCount - NewplanComp && + !CompanyDeactive == 0 && ( +
    +

    + Number of Company's Of Your Previous Plan : + {NewplanComplen}{" "} +

    +

    + Your Eligible Company's For This Current Plan is :{" "} + {NewplanComp} & Deactivate : {CompanyDeactive}{" "} + Company's +

    +
    + )} + + + {NewplanBranchlen > ActiveBranchCount - NewplanBranch && + BranchDeactive != 0 && + NewplanBranch !== ActiveBranchCount && + BranchDeactive > 0 && ( +
    +

    + Number of Branches Of Your Previous Plan:{" "} + {NewplanBranchlen} +

    +

    + Your Eligible Branches For This Current Plan is:{" "} + {NewplanBranch} +

    + {BranchDeactive > 0 && ( +

    Deactivate: {BranchDeactive} Branch's

    + )} +
    + )} + + {NewplanUser < ActiveUserCount && + NewplanUserlen > NewplanUser - ActiveUserCount && + UserDeactive > 0 && ( +
    +

    + Number of User's Of Your Previous Plan : + {NewplanUserlen} & Incuding Admin : 1 +

    +

    + Your Eligible User's For This Current Plan is :{" "} + {NewplanUser}{" "} +

    + {UserDeactive > 0 && ( +

    Deactivate: {UserDeactive} User's

    + )} +
    + )} + +
    + { + handleRadioChange(value); + }} + /> +
    +
    + {radioValue === "Company" && + NewplanComplen - NewplanComp !== 0 && NewplanComplen > 0 && ( +
    + )} + {radioValue === "Branch" && + NewplanBranchlen - NewplanBranch !== 0 && + NewplanBranch !== ActiveBranchCount && + BranchDeactive > 0 && + ( +
    + )} + {radioValue === "User" && UserDeactive > 0 && ( +
    + )} + + + +
    + + } + handleCancel={handleCloseModal} + handleSubmit={() => handleSubmit1()} + buttonText="SAVE" + /> + + + + + ); +}; + +export default AppList; + + diff --git a/src/Pages/homeApp/home.jsx b/src/Pages/homeApp/home.jsx new file mode 100644 index 0000000..3c77db5 --- /dev/null +++ b/src/Pages/homeApp/home.jsx @@ -0,0 +1,130 @@ +import "../../styles/LandingPage/home.scss"; +import HomePaymentHistory from "./HomePaymentHistory"; +import HomeApp from "./homeApp"; +import HomeNotification from "./HomeNotification"; +import { getSession } from "../../Services/others"; +import { useState, useEffect, useCallback } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import PinUpdateNotification from "../../Pages/PinUpdatenotification/pinUpdateNotification"; +import { getUserData } from "../../features/applications/applications"; +import { DefaultModal } from "../../Components/Modal/DefaultModal"; +import { Messages } from "../../Components/Notifications/Messages.jsx"; +import { Tooltip } from "antd"; +import { logDataSelector } from "../../features/logs/logs.js"; + +const Home = () => { + const dispatch = useDispatch(); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const MobileNo = getSession("MobileNo"); + const UserName = getSession("userName"); + const UserType = getSession("UserType"); + const [Showpin, setShowpin] = useState(false); + useEffect(() => { + async function getUserDataFun() { + const userId = getSession("UserId"); + const res = await dispatch(getUserData({ userId })).unwrap(); + if (res?.data?.statusCode) { + if (res?.data?.data[0]) + setShowpin( + res?.data?.data[0]?.Password != "N" || + res?.data?.data[0]?.Pin != "N" + ? false + : true + ); + } + } + getUserDataFun(); + }, []); + + + const pinUpdate = async (e) => { + if (!e) { + setMessageType("success"); + setMessageData("Your PIN has been activated successfully"); + } + setShowpin(e); + }; + + const handleCancel = () => { + setShowpin(false); + }; + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + const messages = useSelector(logDataSelector) + console.log(messages.length>0,'messages'); + + + return ( + <> +
    + + {Showpin && ( + } + handleCancel={handleCancel} + /> + )} + {/*
    +
    +

    {UserName ? UserName : MobileNo}

    {UserType ? UserType : "Guest"}} > +

    +
    + +
    */} + {/*
    + {UserType ? UserType : "Guest"} +
    */} + {/*
    */} + +
    +
    + +
    + + { messages.length>0 &&
    + {/* {UserType === "Admin" || UserType === "Admin User" ? ( +
    + +
    + ) : null} */} + {/* {UserType === "Admin" || + UserType === "Admin User" || + UserType === "Super Admin" || + UserType === "Super Admin User" ? ( +
    + +
    + ) : null} */} +
    + +
    +
    } +
    +
    + + ); +}; + +export default Home; + diff --git a/src/Pages/homeApp/homeApp.jsx b/src/Pages/homeApp/homeApp.jsx new file mode 100644 index 0000000..a7e1419 --- /dev/null +++ b/src/Pages/homeApp/homeApp.jsx @@ -0,0 +1,28 @@ +import appIcon from '../../Images/appIcon.png' +import AppList from './appList' + +const HomeApp = () => { + return ( +
    + +
    + {/*
    + +
    */} +
    +
    My Apps
    + {/*

    Apps you've Access

    */} +

    Quickly access and manage all your active business applications from one screen

    +
    + +
    +
    + +
    +
    + + ) +} + +export default HomeApp; + diff --git a/src/Pages/kisokDevice/DeviceAllocationForm.jsx b/src/Pages/kisokDevice/DeviceAllocationForm.jsx new file mode 100644 index 0000000..736bc57 --- /dev/null +++ b/src/Pages/kisokDevice/DeviceAllocationForm.jsx @@ -0,0 +1,449 @@ +import React, { useEffect, useRef, useState } from "react"; +import { useLocation, useNavigate } from "react-router-dom"; +import Buttons from "../../Components/Forms/Buttons"; +import { Button, Form } from "antd"; +import { ArrowRightOutlined } from "@ant-design/icons"; +import FormHeader from "../pageComponents/FormHeader"; +import { DropDowns } from "../../Components/Forms/DropDown"; +import { useDispatch } from "react-redux"; +import { getAppNames } from "../../features/feature/feature"; +import { Messages } from "../../Components/Notifications/Messages"; +import { getBranchDropModule } from "../../features/ModuleAccess/moduleAccessSlice"; +import { getSession } from "../../Services/others"; +import { changeBreadCrumb } from "../../features/appPage/centerPage"; +import { + GetAdminData, + GetMacAddress, + GetMacAddressnotallocated, + Postdeviceallocation, + PutDeviceAllocation, + getUserAppDetails, +} from "../../features/kisokDevice/kisokDevice"; + +const subDirectory = import.meta.env.BASE_URL; + +const DeviceAllocationForm = ({ formType }) => { + const formRef = useRef(null); + const navigate = useNavigate(); + const dispatch = useDispatch(); + const location = useLocation(); + + + const UserId = getSession("UserId") + + const editState = location?.state?.editstate; + + const [appData, setappData] = useState(null); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [selectedApplicationId, setselectedApplicationId] = useState(null); + const [selectedCompanyId, setselectedCompanyId] = useState(null); + const [SelectedAdmin, setSelectedAdmin] = useState(null); + const [selectedBranchId, setselectedBranchId] = useState(null); + const [storeData, setstoreData] = useState([]); + const [branchData, setBranchData] = useState([]); + const [Admindata, setAdmindata] = useState([]); + const [MacAddress, setMacAddress] = useState([]); + const [SelectedMacID, setSelectedMacID] = useState(null); + console.log(Admindata,"AdmindataAdmindata") + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + { + name: "DeviceAllocation", + link: `${subDirectory}setting/device-allocation`, + }, + { + name: editState ? "edit" : "New", + link: null, + }, + ]; + + useEffect(() => { + apicall(); + dispatch(changeBreadCrumb({ items: items })); + FetchApplicationData(); + + if (editState) { + Getadminnames(); + ApplicationFun(editState?.AppId) + setselectedApplicationId(editState?.AppId); + setSelectedAdmin(editState?.UserId); + setselectedCompanyId(editState?.CompId); + setselectedBranchId(editState?.BranchId); + setSelectedMacID(editState?.DeviceId); + fetchUserAppStoreData({ + UserId: editState?.UserId, + AppId: editState?.AppId, + }); + fetchStoreData(editState?.CompId); + SelectAdminFun(editState?.UserId); + + formRef.current?.setFieldsValue({ ApplicationName: editState?.AppId }); + formRef.current?.setFieldsValue({ AdminName: editState?.UserId }); + formRef.current?.setFieldsValue({ CompanyName: editState?.CompId }); + formRef.current?.setFieldsValue({ BranchName: editState?.BranchId }); + formRef.current?.setFieldsValue({ MacAddress: editState?.DeviceId }); + } + + + }, []); + + + const Getadminnames = async () => { + let data = { + Type: "Kiosk Sales", + AppId: editState?.AppId, + }; + let response = await dispatch(GetAdminData(data)).unwrap(); + setAdmindata(response?.data?.data?.filter((e) => e?.Count > e?.AllocatedCount)); + }; + + const apicall = async () => { + try { + dispatch(changeBreadCrumb({ items: items })); + if(formType=="add") { + + + let response = await dispatch(GetMacAddressnotallocated())?.unwrap(); + + if ((response?.data?.statusCode == 1)) { + setMacAddress(response?.data?.data); + }} + else{ + + + let response1 = await dispatch(GetMacAddress())?.unwrap(); + + if ((response1?.data?.statusCode == 1)) { + setMacAddress(response1?.data?.data); + }} + + } catch (err) { + console.log(err, "err"); + } + }; + + useEffect(() => { + if (appData?.length == 1) { + setselectedApplicationId(appData?.[0]?.AppId); + ApplicationFun(appData?.[0]?.AppId); + } + }, [appData]); + + useEffect(() => { + if (storeData?.length == 1) { + setselectedCompanyId(storeData?.[0]?.CompId); + SelectCompanyFun(storeData?.[0]?.CompId); + } + }, [storeData]); + + useEffect(() => { + if (branchData.length == 1) { + setselectedBranchId(branchData?.[0]?.BrId); + SelectBranchFun(branchData?.[0]?.BrId); + } + }, [branchData]); + + const FetchApplicationData = async () => { + let response = await dispatch(getAppNames(selectedApplicationId)); + + if (response?.payload?.data?.statusCode == 1) { + setappData(response?.payload?.data?.data); + } + }; + + const ApplicationFun = async (e) => { + + formRef.current.resetFields(); + setselectedApplicationId(e); + setSelectedAdmin(null); + setselectedCompanyId(null); + setselectedBranchId(null); + setSelectedMacID(null); + formRef.current?.setFieldsValue({ ApplicationName: e }); + + let data = { + Type: "Kiosk Sales", + AppId: e, + }; + + let response = await dispatch(GetAdminData(data)).unwrap(); + + + +editState? setAdmindata(response?.data?.data):setAdmindata(response?.data?.data?.filter((e) => e?.Count > e?.AllocatedCount) +) +setstoreData([]); +setBranchData([]); + }; + + const SelectAdminFun = (e) => { + setSelectedAdmin(e); + fetchUserAppStoreData({ UserId: e, AppId: selectedApplicationId }); + formRef.current?.setFieldsValue({ AdminName: e }); + }; + + const SelectCompanyFun = (e) => { + setselectedCompanyId(e); + + fetchStoreData(e); + formRef.current?.setFieldsValue({ CompanyName: e }); + }; + + const SelectBranchFun = (e) => { + setselectedBranchId(e); + formRef.current?.setFieldsValue({ BranchName: e }); + }; + + const fetchUserAppStoreData = async ({ AppId, UserId }) => { + const gettingTableData = await dispatch( + getUserAppDetails({ UserId, AppId }) + ).unwrap(); + if (gettingTableData?.data?.statusCode === 1) { + await setstoreData(gettingTableData.data?.data); + } else { + await setstoreData([]); + } + }; + + const fetchStoreData = async (e) => { + const storeData = await dispatch( + getBranchDropModule({ storeId: e }) + ).unwrap(); + if (storeData.data?.statusCode === 1) { + await setBranchData(storeData.data?.data); + } else { + await setBranchData([]); + } + }; + + const SelectmacaddFun = (e) => { + setSelectedMacID(e); + formRef.current?.setFieldsValue({ MacAddress: e }); + }; + + const onFinish = async (values) => { + + if (formType == "edit") { + const PutData = { + DeviceId: values?.MacAddress, + CompId: values?.CompanyName, + BranchId: values?.BranchName, + AppId: values?.ApplicationName, + UserId: values?.AdminName, + CreatedBy: UserId, + UniqueId: editState?.UniqueId, + }; + + let response = await dispatch(PutDeviceAllocation(PutData)).unwrap(); + if (response?.data?.statusCode == 1) { + formRef.current.resetFields(); + setselectedApplicationId(null); + setselectedCompanyId(null); + setselectedBranchId(null); + setstoreData([]); + setBranchData([]); + navigate(`${subDirectory}setting/device-allocation`, { + state: { + Notiffy: { + messageType: "success", + messageData: "Device Address Has been Updated Successfully", + }, + }, + }); + + } else { + setMessageType("error"); + setMessageData(response?.data?.response); + } + } + else { + const postDatas = { + DeviceId: values?.MacAddress, + CompId: values?.CompanyName, + BranchId: values?.BranchName, + AppId: values?.ApplicationName, + UserId: values?.AdminName, + CreatedBy: UserId, + }; + let response = await dispatch(Postdeviceallocation(postDatas)); + if (response?.payload?.data?.statusCode == 1) { + + + formRef.current.resetFields(); + setselectedApplicationId(null); + setselectedCompanyId(null); + setselectedBranchId(null); + setstoreData([]); + setBranchData([]); + setSelectedAdmin(null); + navigate(`${subDirectory}setting/device-allocation`, { + state: { + Notiffy: { + messageType: "success", + messageData: "Device Address Has been Added Successfully" + }, + }, + }); + } + } + }; + + return ( +
    +
    +
    + + +
    + +

    +
    + +
    +
    +
    +
    + + + ({ + value: option.AppId, + label: option.AppName, + }))} + placeholder="Application Name" + label={} + className="field-DropDown" + isOnchanges={selectedApplicationId ? true : false} + onChangeFunction={(e) => ApplicationFun(e)} + valueData={selectedApplicationId} + /> + + + + ({ + value: option.UserId, + label: option.UserName != "" && option.UserName != null && option.UserName != undefined ? option.UserName : option.MobileNo, + }))} + placeholder="Admin Name" + label={} + className="field-DropDown" + isOnchanges={SelectedAdmin ? true : false} + onChangeFunction={(e) => SelectAdminFun(e)} + valueData={SelectedAdmin} + disabled={editState?true:false} + /> + + + + ({ + value: option.CompId, + label: option.CompName, + }))} + placeholder="Company Name" + label={} + className="field-DropDown" + isOnchanges={selectedCompanyId ? true : false} + onChangeFunction={(e) => SelectCompanyFun(e)} + valueData={selectedCompanyId} + /> + + + + ({ + value: option.BrId, + label: option.BrName, + }))} + placeholder="Branch Name" + label={} + className="field-DropDown" + isOnchanges={selectedBranchId ? true : false} + onChangeFunction={(e) => SelectBranchFun(e)} + valueData={selectedBranchId} + /> + + + + ({ + value: option.DeviceId, + label: option.DeviceAddress, + }))} + placeholder="Device Id" + label={} + className="field-DropDown" + isOnchanges={SelectedMacID ? true : false} + onChangeFunction={(e) => SelectmacaddFun(e)} + valueData={SelectedMacID} + /> + + +
    +
    + +
    + } + /> +
    + +
    +
    +
    +
    + ); +}; +export default DeviceAllocationForm; diff --git a/src/Pages/kisokDevice/DeviceAllocationList.jsx b/src/Pages/kisokDevice/DeviceAllocationList.jsx new file mode 100644 index 0000000..3f36407 --- /dev/null +++ b/src/Pages/kisokDevice/DeviceAllocationList.jsx @@ -0,0 +1,323 @@ +import { useState, useEffect, useCallback } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import { useNavigate, useLocation } from "react-router-dom"; +import { Space } from "antd"; +import { + EditFilled, + DeleteFilled, + PlusOutlined, + ReloadOutlined, +} from "@ant-design/icons"; +import { Tables } from "../../Components/Tables/Table.jsx"; +import { Search } from "../../Components/Forms/Search.jsx"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { Messages } from "../../Components/Notifications/Messages.jsx"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { + branchDataSelector, + getBranchData, + getBranchAdminUsers, +} from "../../features/branchPage/branchPage.js"; +import { getSession } from "../../Services/others.js"; +import {DeleteDeviceAllocation, GetDeviceallocation} from "../../features/kisokDevice/kisokDevice.js" +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; + +const subDirectory = import.meta.env.ENV_BASE_URL; + +const DeviceAllocationlist = () => { + + const navigateTo = useNavigate(); + const dispatch = useDispatch(); + const location = useLocation(); + const branchData = useSelector(branchDataSelector); + const SuperAdminUserAccess=useSelector(SuperAdminUserAccessDataSelector) + const UserId = getSession("UserId") + const UserType = getSession("UserType") + + //local states + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [page, setpage] = useState(1); + const [TableData,setTableData] = useState() + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + ]; + + useEffect(() => { + try { + dispatch(changeBreadCrumb({ items: items })); + dispatch(getBranchData()).unwrap(); + + if (location?.state?.Notiffy) { + setMessageType("Sucess"); + setMessageData(location?.state?.Notiffy.messageData); + } + } catch (err) { + console.log(err, "err"); + } + apicall() + }, []); + + useEffect(() => { + dispatch(getBranchAdminUsers(UserId)); + }, [UserId]); + + const apicall = async () => { + try { + + let response = await dispatch(GetDeviceallocation())?.unwrap() + if( response?.data?.statusCode==1){ + console.log(response?.data?.data,"resresresres") + setTableData(response?.data?.data) + + } + + + } catch (err) { + console.log(err, "err"); + } + + + + } + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + const actionsFormatter = async (row, rowIndex) => { + if (row.ActiveStatus !== "D") { + navigateTo( + `${subDirectory}setting/device-allocation/update`, + { state: { editstate: row } }, + { key: rowIndex } + ); + } + }; + + const statusFormatter = async (row) => { + + let deleteData = { + uniqueId: row.UniqueId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: UserId, + }; + let response = await dispatch(DeleteDeviceAllocation(deleteData)).unwrap(); + if (response?.data?.statusCode == 1) { + setMessageType("success"); + setMessageData( + row.ActiveStatus == "A" + ? "Device In-Activated Successfully" + : "Device Activated Successfully" + ); + apicall() + } + }; + + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + + const onSearch = (value) => { + setSearchedText(value); + }; + + const onSearchChange = (e) => { + setSearchedText(e?.target?.value); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + + const columns = [ + + { + title: "Si.No", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "AppName", + dataIndex: "AppName", + key: "AppName", + align: "Center", + width: "150px", + render: (text) => {text}, + sorter: (a, b) => a?.AppName?.localeCompare(b?.AppName), + sortOrder: sortedInfo.columnKey === "AppName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Company Name", + dataIndex: "CompName", + key: "CompName", + align: "center", + width: "150px", + render: (text) => ( + {text} + ), + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.BrName).toLowerCase().includes(value.toLowerCase()) || + String(record.City).toLowerCase().includes(value.toLowerCase()) || + String(record.Dist).toLowerCase().includes(value.toLowerCase()) || + String(record.State).toLowerCase().includes(value.toLowerCase()) + ); + }, + sorter: (a, b) => a?.CompName?.localeCompare(b.CompName), + sortOrder: sortedInfo.columnKey === "CompName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "BranchName", + dataIndex: "BranchName", + key: "BranchName", + align: "center", + width: "150px", + render: (text) => {text}, + sorter: (a, b) => a?.BranchName?.localeCompare(b?.BranchName), + sortOrder: sortedInfo.columnKey === "BranchName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "UserName", + dataIndex: "UserName", + key: "UserName", + align: "left", + width: "150px", + render: (text) => {text}, + sorter: (a, b) => a?.UserName?.localeCompare(b?.UserName), + sortOrder: sortedInfo.columnKey === "UserName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Action", + key: "Action", + dataIndex: "Action", + align: "center", + width: "150px", + render: (_, record, index) => + branchData.length >= 1 ? ( + + {record.ActiveStatus === "A" ? ( + + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Device Allocation")?.UpdateAccess === "Y")? actionsFormatter(record, index): " " +)} + /> + + ) : ( + "" + )} + + {record.ActiveStatus === "A" ? ( + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Device Allocation")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> + ) : ( + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Device Allocation")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> + )} + + + ) : null, + }, + + ]; + + const handelAddButton = () => { + navigateTo(`${subDirectory}setting/device-allocation/new`); + }; + + + return ( + +
    + +
    + + + +
    +
    + +
    +
    +
    + +
    + + handelAddButton()} + color="901D77" + icon={} + disabled={UserType === "Super Admin" + ? false + : + SuperAdminUserAccess?.find((e) => e?.ConfigName === "Device Allocation")?.AddAccess === "N"} + > + OPEN + +
    +
    + +
    + + {(UserType === "Super Admin" || UserType === "Super Admin User" )&& ( + + ) } +
    +
    + +
    + + ); +}; + +export default DeviceAllocationlist; diff --git a/src/Pages/kisokDevice/DeviceInformation.jsx b/src/Pages/kisokDevice/DeviceInformation.jsx new file mode 100644 index 0000000..cd3a26b --- /dev/null +++ b/src/Pages/kisokDevice/DeviceInformation.jsx @@ -0,0 +1,386 @@ +import React, { useState, useEffect, useCallback } from "react"; +import { Form} from "antd"; +import { InputField } from "../../Components/Forms/InputField" +import { useDispatch, useSelector } from 'react-redux' +import { DefaultModal } from "../../Components/Modal/DefaultModal"; +import { Space } from "antd"; +import Buttons from "../../Components/Forms/Buttons"; +import { Tables } from "../../Components/Tables/Table"; +import { EditFilled, DeleteFilled, PlusOutlined,ReloadOutlined } from "@ant-design/icons"; +import { Messages } from "../../Components/Notifications/Messages"; +import { changeBreadCrumb } from '../../features/appPage/centerPage.js'; +import FormHeader from '../pageComponents/FormHeader.jsx' +import { Search } from "../../Components/Forms/Search"; +import { getSession, validateSafeInput } from "../../Services/others"; +import "../../Components/Forms/main.scss"; +import { DeleteMacAddress, GetDeviceallocation, GetMacAddress, PostMacAddress, PutMacAddress } from "../../features/kisokDevice/kisokDevice.js"; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; + + +const subDirectory = import.meta.env.BASE_URL + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + ]; + + +const DeviceInformation = () => { + + const dispatch = useDispatch(); + const [form] = Form.useForm(); + const [open, setOpen] = useState(false); + const [EditData, setEditData] = useState([]); + const [EditState, setEditState] = useState(false); + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [page, setpage] = useState(1); + const [MacAddress, setMacAddress] = useState([]); + const [TableData,setTableData] = useState() + const UserType = getSession("UserType") + const SuperAdminUserAccess=useSelector(SuperAdminUserAccessDataSelector) + + + useEffect( () => { + apicall() + }, []); + + + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + + const apicall = async() => { + try { + dispatch(changeBreadCrumb({ items: items })); + let response = await dispatch(GetMacAddress())?.unwrap() + if( response?.data?.statusCode==1){ + setMacAddress(response?.data?.data) + } + let response1 = await dispatch(GetDeviceallocation())?.unwrap() + if( response1?.data?.statusCode==1){ + console.log(response1.data?.data,"resresresres") + setTableData(response1.data?.data) + + } + + } catch (err) { + console.log(err, "err"); + } + + + + } + + + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + + + }, []) + +const handleSubmit = async () => { + const values = await form.validateFields(); + if(EditState){ + let data={ + DeviceId: EditData?.DeviceId, + DeviceAddress: values?.DeviceAddress, + UpdatedBy: getSession('UserId')} + + let check=TableData?.some((e)=>e?.DeviceAddress==data?.DeviceAddress) + if(check){ + setMessageData("Already Allocated") + setMessageType("error") + } + else{ + let response = await dispatch(PutMacAddress(data))?.unwrap() + if (response?.data?.statusCode == 1){ + apicall() + setMessageType("success") + setMessageData(response?.data?.response) + setOpen(false) + } + else{ + + setMessageType("error") + setMessageData(response?.data?.response) + }} + } + else{ + let data={ + DeviceAddress: values?.DeviceAddress, + CreatedBy: getSession('UserId') + } + + let response = await dispatch(PostMacAddress(data))?.unwrap() + if (response?.data?.statusCode == 1){ + setMessageType("success") + setMessageData(response?.data?.response) + setOpen(false) + apicall() + } + else{ + setMessageType("error") + setMessageData(response?.data?.response) + } + } +}; + + var fieldState = "" + var fieldApi = [ + { + setValue: "s", + setTouched: true, + }, + ]; + + + //edit + const actionsFormatter = async (row) => { + + if (row.ActiveStatus !== "D" && !(TableData?.some((e)=>e?.DeviceAddress==row?.DeviceAddress))) { + await setOpen(true); + await setEditData(row); + await setEditState(true); + form.setFieldsValue(row); +} +else{ + setMessageType("warning") + setMessageData("Device Already Allocated") + +} + + + + }; + + + const statusFormatter = async (row) => { + let deleteData = { + deviceId: row.DeviceId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession('UserId') + }; + let response=await dispatch(DeleteMacAddress(deleteData)).unwrap() + if (response?.data?.statusCode == 1){ + apicall() + setMessageType("success") + setMessageData(row.ActiveStatus == "A" ? " Config Data In-Activated Successfully": "Config Data Activated Successfully") + } + }; + + + + const openModal = () => { + setOpen(true); + form.resetFields(); + setEditState(false); + }; + + + + const handleCancel = () => { + + setOpen(false); + }; + const onSearch = (value) => { + setSearchedText(value) + } + const onSearchChange =(e) => { + setSearchedText(e?.target?.value) + } + const columns = [ + { + title: 'SI.NO', + key: 'sno', + align: 'center', + width:"60px", + + render: (text, object, index) =>{(page - 1) * 10 + index + 1} + + }, + + { + title: "Device Id", + dataIndex: "DeviceAddress", + key: "DeviceAddress", + align:"left", + width:"100px", + render: (text) => {text}, + filteredValue: [searchedText], + onFilter: (value, record) => {return ( + String(record.DeviceAddress) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.DeviceAddress) + .toLowerCase() + .includes(value.toLowerCase()) + )}, + sorter: (a, b) => a?.DeviceAddress?.localeCompare(b.DeviceAddress), + sortOrder: sortedInfo.columnKey === 'DeviceAddress' ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Action", + key: "Action", + dataIndex: "Action", + width:"50px", + align:"left", + render: (_, record,index) => + MacAddress.length >= 1 ? ( + + {record.ActiveStatus === "A" ? + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Device Information")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : "" + )} + /> + : "" } + + {record.ActiveStatus === "A" ? ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Device Information")?.DeleteAccess === "Y") + ? statusFormatter(record) + : "" + )} + /> : ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Device Information")?.DeleteAccess === "Y") + ? statusFormatter(record) + : "" + )} + /> + } + + + + ) : null, + }, + + + ]; + + return ( +
    +
    + +
    +
    + +
    +
    +
    + +
    + + } + disabled={UserType === "Super Admin" + ? false + : + SuperAdminUserAccess?.find((e) => e?.ConfigName === "Device Information")?.AddAccess === "N"} + > + OPEN + +
    + + +
    +
    + +
    +
    + + +
    +
    + + + + { + await validateSafeInput(value); + + if (value && value.length > 25) { + return Promise.reject("Device Address should not exceed 25 characters"); + } + + return Promise.resolve(); + }, + }, + ]} + > + Device Id} + className="Input" + fieldState={EditState? true : fieldState} + fieldApi={fieldApi} + autocomplete="off" + isOnChange={EditState ? true : false} + /> + + + + + + + +
    + + + } + handleCancel={handleCancel} + handleSubmit={handleSubmit} + /> + +
    + ); + + + +}; + +export default DeviceInformation; \ No newline at end of file diff --git a/src/Pages/pageComponents/FormHeader.jsx b/src/Pages/pageComponents/FormHeader.jsx new file mode 100644 index 0000000..6a53f53 --- /dev/null +++ b/src/Pages/pageComponents/FormHeader.jsx @@ -0,0 +1,10 @@ +import '../../styles/pageComponents/FormHeader.scss'; + +const FormHeader = ({title}) => { + return ( +

    {title}

    + ) +} + + +export default FormHeader; \ No newline at end of file diff --git a/src/Pages/paymentDeviceConfig/PaymentDeviceConfig.scss b/src/Pages/paymentDeviceConfig/PaymentDeviceConfig.scss new file mode 100644 index 0000000..716ad68 --- /dev/null +++ b/src/Pages/paymentDeviceConfig/PaymentDeviceConfig.scss @@ -0,0 +1,38 @@ +.component-add{ + font-size: 25px; + margin-bottom: 40px; +} + +.component-table{ + display: flex; + flex-direction: column; + flex-wrap: wrap; + height: 300px; + width: 100%; + overflow-y: scroll; + & .ant-table-wrapper table{ + width:100%; + } +} + + +.component-table-new{ + display: flex; + flex-direction: column; + flex-wrap: wrap; + height: 400px; + width: 100%; + overflow-y: scroll; + & .ant-table-wrapper table{ + width:100%; + } +} + + +.component-table-new .ant-pagination { + position: sticky; + bottom: 0; + margin: 0 !important; + padding: 0.5rem; + background-color: #fafafa; +} \ No newline at end of file diff --git a/src/Pages/paymentDeviceConfig/PaymentDeviceConfigForm.jsx b/src/Pages/paymentDeviceConfig/PaymentDeviceConfigForm.jsx new file mode 100644 index 0000000..535046f --- /dev/null +++ b/src/Pages/paymentDeviceConfig/PaymentDeviceConfigForm.jsx @@ -0,0 +1,721 @@ +import React, { useState, useEffect, useRef, useCallback } from 'react'; +import { Form, Tooltip, Space } from "antd"; +import { ArrowRightOutlined, PlusCircleOutlined, DeleteFilled, EditFilled, EditOutlined, ReloadOutlined } from "@ant-design/icons"; +import { Messages } from "../../Components/Notifications/Messages"; +import FormHeader from "../pageComponents/FormHeader"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { Tables } from "../../Components/Tables/Table"; +import { useLocation, useNavigate } from 'react-router-dom'; +import { useDispatch,useSelector } from 'react-redux'; +import { changeBreadCrumb } from '../../features/appPage/centerPage'; +import { DropDowns } from '../../Components/Forms/DropDown'; +import { getApplicationNames, GetAdminData, getStoreData, getBranchData, postPaymentDeviceConfig, putPaymentDeviceConfig } from '../../features/paymentDeviceConfig/paymentDeviceConfig' +import { InputField } from '../../Components/Forms/InputField'; +import "./PaymentDeviceConfig.scss" +import { getSession, validateSafeInput } from '../../Services/others.js'; +import { SuperAdminUserAccessDataSelector } from '../../features/superAdminAccess/superAdminAccess.js'; + +const subDirectory = import.meta.env.ENV_BASE_URL + +const PaymentDeviceConfigForm = ({ formType }) => { + + const navigate = useNavigate(); + const dispatch = useDispatch(); + const location = useLocation(); + const state = location?.state + const editState = state?.editState + const formRef = useRef(null); + const UserType = getSession("UserType"); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [applicationData, setApplicationData] = useState(null); + const [adminData, setAdminData] = useState([]); + const [storeData, setStoreData] = useState([]); + const [branchData, setBranchData] = useState([]); + const [selectedApplicationId, setselectedApplicationId] = useState(null) + const [selectedAdminId, setselectedAdminId] = useState(null) + const [selectedCompanyId, setselectedCompanyId] = useState(null) + const [selectedBranchId, setselectedBranchId] = useState(null) + const [componentData, setComponentData] = useState([]) + const [componentEdit, setComponentEdit] = useState(false) + const [editIndex, setEditIndex] = useState() + const UserId = getSession("UserId"); + const SuperAdminUserAccess = useSelector(SuperAdminUserAccessDataSelector) + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "PaymentDeviceConfig", + link: `${subDirectory}setting/payment-device-config`, + }, + { + name: editState ? "Edit" : "New", + link: null, + }, + + ]; + + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + fetchApplicationData(); + if (editState) { + setselectedApplicationId(editState?.AppId) + setselectedCompanyId(editState?.CompId) + setselectedBranchId(editState?.BranchId) + setselectedAdminId(editState?.UserId) + formRef.current?.setFieldsValue({ AppId: editState?.AppId, UserId: editState?.UserId, CompId: editState?.CompId, BranchId: editState?.UserId, MerchantId: editState?.MerchantId }); + fetchUserData({ AppId: editState?.AppId, Type: "Payment Device" }) + fetchStoreData({ UserId: editState?.UserId, AppId: editState?.AppId }) + fetchBranchData(editState?.CompId) + const convertedData = editState?.DeviceConfigDetails?.map(optionDetail => ({ + StoreId: optionDetail?.StoreId, + ClientId: optionDetail?.ClientId, + SecurityToken: optionDetail?.SecurityToken, + IMEI: optionDetail?.IMEI, + AutoCancelDurationInMinutes: optionDetail?.AutoCancelDurationInMinutes, + UniqueId: optionDetail?.UniqueId, + ActiveStatus: optionDetail?.ActiveStatus, + })); + setComponentData(convertedData) + + + } + }, []) + + + const columns = [ + { + title: 'SI.NO', + align: "center", + key: 'sno', + render: (text, object, index) => {index + 1}, + + }, + { + title: 'ClientId', + dataIndex: 'ClientId', + key: 'ClientId', + align: "right", + render: (text) => {text}, + }, + { + title: 'StoreId', + dataIndex: 'StoreId', + key: 'StoreId', + align: "right", + render: (text) => {text}, + }, + { + title: 'Security Token', + dataIndex: 'SecurityToken', + key: 'SecurityToken', + align: "center", + render: (text) => {text}, + }, + { + title: 'IMEI', + dataIndex: 'IMEI', + key: 'IMEI', + align: "right", + render: (text) => {text}, + }, + { + title: 'Auto Cancel Duration InMinutes', + dataIndex: 'AutoCancelDurationInMinutes', + key: 'AutoCancelDurationInMinutes', + align: "right", + render: (text) => {text}, + }, + { + title: 'Action', + dataIndex: 'Action', + key: 'Action', + render: (_, record, index) => + componentData?.length >= 1 ? ( + + {!record?.UniqueId && + + actionsFormatter(record, index)} /> + + } + {!record?.UniqueId ? + + statusFormatter(record, index)} + /> + + + : + + {record?.UniqueId && record?.ActiveStatus == 'A' ? + statusFormatter(record, index)} + /> + : + statusFormatter(record, index)} + /> + } + + + + } + + + ) : null, + }, + ] + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []) + + const fetchApplicationData = async () => { + let appResponse = await dispatch(getApplicationNames()).unwrap(); + if (appResponse?.data?.statusCode == 1) { + setApplicationData(appResponse?.data?.data) + + } + } + + const ApplicationFun = async (e) => { + setselectedApplicationId(e) + setselectedAdminId(null) + setselectedCompanyId(null) + setselectedBranchId(null) + setAdminData([]) + setStoreData([]) + setBranchData([]) + fetchUserData({ AppId: e, Type: "Payment Device" }) + formRef.current?.setFieldsValue({ AppId: e, UserId: null, CompId: null, BranchId: null }); + } + const AdminFun = (e) => { + setselectedAdminId(e) + setselectedCompanyId(null) + setselectedBranchId(null) + setStoreData([]) + setBranchData([]) + fetchStoreData({ UserId: e, AppId: selectedApplicationId }) + formRef.current?.setFieldsValue({ UserId: e, CompId: null, BranchId: null }); + } + const CompanyFun = (e) => { + setselectedCompanyId(e) + setselectedBranchId(null) + setBranchData([]) + fetchBranchData(e) + formRef.current?.setFieldsValue({ CompId: e, BranchId: null }); + } + const BranchFun = (e) => { + setselectedBranchId(e) + formRef.current?.setFieldsValue({ BranchId: e }); + } + + const fetchUserData = async ({ AppId, Type }) => { + const gettingUserData = await dispatch(GetAdminData({ Type, AppId })).unwrap(); + if (gettingUserData.data?.statusCode === 1) { + if (formType != "edit") { + const filteredUsers = gettingUserData?.data?.data?.filter(user => user.Count > user.AllocatedCount); + await setAdminData(filteredUsers); + } else { + await setAdminData(gettingUserData?.data?.data); + } + } + else { + await setAdminData([]); + } + } + + const fetchStoreData = async ({ AppId, UserId }) => { + const gettingStoreData = await dispatch(getStoreData({ UserId, AppId })).unwrap(); + if (gettingStoreData.data?.statusCode === 1) { + await setStoreData(gettingStoreData.data?.data); + } else { + await setStoreData([]); + } + } + + const fetchBranchData = async (e) => { + const gettingBranchData = await dispatch(getBranchData({ storeId: e })).unwrap() + if (gettingBranchData.data?.statusCode === 1) { + await setBranchData(gettingBranchData.data?.data); + } else { + await setBranchData([]); + } + } + + const addData = async () => { + const addComponentData = await formRef?.current?.validateFields() + if (addComponentData?.AppId && addComponentData?.UserId && addComponentData?.CompId && addComponentData?.BranchId && + addComponentData?.MerchantId && addComponentData?.StoreId && addComponentData?.ClientId && addComponentData?.SecurityToken && addComponentData?.IMEI && addComponentData?.AutoCancelDurationInMinutes + ) { + if (componentData?.length > 0) { + let existsData = componentData?.filter( + (item) => item.StoreId === addComponentData?.StoreId && item.ClientId === addComponentData?.ClientId && item.SecurityToken === addComponentData?.SecurityToken && item.IMEI === addComponentData?.IMEI && item.AutoCancelDurationInMinutes == addComponentData?.AutoCancelDurationInMinutes + ); + if (existsData?.length == 0) { + await setComponentData([...componentData, { + StoreId: addComponentData?.StoreId, + ClientId: addComponentData?.ClientId, + SecurityToken: addComponentData?.SecurityToken, + IMEI: addComponentData?.IMEI, + AutoCancelDurationInMinutes: addComponentData?.AutoCancelDurationInMinutes, + ActiveStatus: "A" + }]) + } else { + setMessageType("error"); + setMessageData("Data Already Exists"); + } + formRef?.current?.setFieldsValue({ StoreId: null, ClientId: null, SecurityToken: null, IMEI: null, AutoCancelDurationInMinutes: null }) + } else { + await setComponentData([...componentData, { + StoreId: addComponentData?.StoreId, + ClientId: addComponentData?.ClientId, + SecurityToken: addComponentData?.SecurityToken, + IMEI: addComponentData?.IMEI, + AutoCancelDurationInMinutes: addComponentData?.AutoCancelDurationInMinutes, + ActiveStatus: "A" + }]) + formRef?.current?.setFieldsValue({ StoreId: null, ClientId: null, SecurityToken: null, IMEI: null, AutoCancelDurationInMinutes: null }) + + } + + + } else { + setMessageType("error"); + setMessageData("Please Give Data"); + } + } + + const updateData = async () => { + const updateComponentData = formRef.current?.getFieldsValue(); + if (updateComponentData?.AppId && updateComponentData?.UserId && updateComponentData?.CompId && updateComponentData?.BranchId && + updateComponentData?.MerchantId && updateComponentData?.StoreId && updateComponentData?.ClientId && updateComponentData?.SecurityToken && updateComponentData?.IMEI && updateComponentData?.AutoCancelDurationInMinutes + ) { + let existsData = componentData?.filter( + (item) => + item.StoreId === updateComponentData?.StoreId && + item.ClientId === updateComponentData?.ClientId && + item.SecurityToken === updateComponentData?.SecurityToken && + item.IMEI === updateComponentData?.IMEI && + item.AutoCancelDurationInMinutes === updateComponentData?.AutoCancelDurationInMinutes + ); + + if (existsData?.length == 0) { + let editComponentData = [...componentData]; + editComponentData[editIndex] = { + ...editComponentData[editIndex], + StoreId: updateComponentData?.StoreId, + ClientId: updateComponentData?.ClientId, + SecurityToken: updateComponentData?.SecurityToken, + IMEI: updateComponentData?.IMEI, + AutoCancelDurationInMinutes: updateComponentData?.AutoCancelDurationInMinutes, + ActiveStatus: "A" + }; + + setComponentData(editComponentData); + + } else { + setMessageType("error"); + setMessageData("Data Already Exists"); + } + setComponentEdit(false); + formRef?.current?.setFieldsValue({ StoreId: null, ClientId: null, SecurityToken: null, IMEI: null, AutoCancelDurationInMinutes: null }); + } else { + setMessageType("error"); + setMessageData("Please Give Data"); + } + }; + + + const actionsFormatter = (row, index) => { + formRef?.current?.setFieldsValue({ StoreId: row.StoreId, ClientId: row.ClientId, SecurityToken: row.SecurityToken, IMEI: row.IMEI, AutoCancelDurationInMinutes: row.AutoCancelDurationInMinutes }) + setComponentEdit(true) + setEditIndex(index) + + } + const statusFormatter = (row, index) => { + if (!componentEdit && !row.UniqueId) { + const rows = [...componentData]; + rows.splice(index, 1); + setComponentData(rows) + } else if (row.UniqueId) { + let editComponentData = [...componentData]; + editComponentData[index] = { + StoreId: row?.StoreId, ClientId: row?.ClientId, + SecurityToken: row?.SecurityToken, + UniqueId: row?.UniqueId, + IMEI: row?.IMEI, + AutoCancelDurationInMinutes: row?.AutoCancelDurationInMinutes, + ActiveStatus: row?.ActiveStatus == 'A' ? 'D' : 'A' + } + setComponentData(editComponentData) + } + + + } + const handleSubmit = async () => { + if (componentData?.length > 0) { + let formData = formRef?.current?.getFieldsValue() + const postData = { + "AppId": formData?.AppId, + "CompId": formData?.CompId, + "BranchId": formData?.BranchId, + "UserId": formData?.UserId, + "MerchantId": formData?.MerchantId, + "DeviceConfigDetails": formType == 'add' ? componentData?.map(item => ({ + "StoreId": item["StoreId"], + "ClientId": item["ClientId"], + "SecurityToken": item["SecurityToken"], + "IMEI": item["IMEI"], + "AutoCancelDurationInMinutes": item["AutoCancelDurationInMinutes"] + })) + : componentData?.map(item => ({ + "UniqueId": item["UniqueId"] == null ? 0 : item["UniqueId"], + "StoreId": item["StoreId"], + "ClientId": item["ClientId"], + "SecurityToken": item["SecurityToken"], + "IMEI": item["IMEI"], + "AutoCancelDurationInMinutes": item["AutoCancelDurationInMinutes"], + "ActiveStatus": item["ActiveStatus"] + })), + "CreatedBy": UserId + }; + console.log("postData", postData) + let response = {} + if (formType == 'add') { + response = await dispatch(postPaymentDeviceConfig(postData)).unwrap(); + } else if (formType == 'edit') { + postData["UniqueId"] = editState?.UniqueId; + postData["UpdatedBy"] = UserId; + response = await dispatch(putPaymentDeviceConfig(postData)).unwrap(); + } + + if (response?.data?.statusCode == 1) { + navigate(`${subDirectory}setting/payment-device-config`, { + state: { + Notiffy: { + messageType: "success", + messageData: response?.data?.response, + }, + }, + }); + } else { + setMessageType("error"); + setMessageData(response?.data?.response); + } + } + } + + + + return ( +
    +
    +
    + +
    + +
    +
    +
    +
    +
    + + ({ + value: option.AppId, + label: option.AppName, + }))} + placeholder="Application Name" + label="Application Name" + className="field-DropDown" + isOnchanges={selectedApplicationId ? true : false} + onChangeFunction={(e) => ApplicationFun(e)} + valueData={selectedApplicationId} + disabled={(componentData?.length > 0 && !componentEdit) || editState?.AppId ? true : false} + /> + + + ({ + value: option.UserId, + label: option.UserName != "" && option.UserName != null && option.UserName != undefined ? option.UserName : option.MobileNo, + }))} + placeholder="Admin Name" + label="Admin Name" + className="field-DropDown" + isOnchanges={selectedAdminId ? true : false} + onChangeFunction={(e) => AdminFun(e)} + valueData={selectedAdminId} + disabled={(componentData?.length > 0 && !componentEdit) || editState?.UserId ? true : false} + /> + + + ({ + value: option.CompId, + label: option.CompName, + }))} + placeholder="Company Name" + label="Company Name" + className="field-DropDown" + isOnchanges={selectedCompanyId ? true : false} + onChangeFunction={(e) => CompanyFun(e)} + valueData={selectedCompanyId} + disabled={(componentData?.length > 0 && !componentEdit) || editState?.CompId ? true : false} + + /> + + + ({ + value: option.BrId, + label: option.BrName, + }))} + placeholder="Branch Name" + label="Branch Name" + className="field-DropDown" + isOnchanges={selectedBranchId ? true : false} + onChangeFunction={(e) => BranchFun(e)} + valueData={selectedBranchId} + disabled={(componentData?.length > 0 && !componentEdit) || editState?.BranchId ? true : false} + + /> + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + + ]}> + 0 && !componentEdit) || editState?.MerchantId ? true : false} + /> + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + + ]} + > + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + + ]} + > + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + + ]} + > + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + + ]} + > + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + + + + ]} + > + + + + {componentEdit ? + + : + + + } + + +
    +
    + {componentData?.length > 0 && +
    + {" "} +
    + } + + + +
    + } + htmlType={true} + // disabled={(componentData.length <= 0 ? true : false) && UserType !== "Super Admin" && UserType !== "Super Admin User"} + disabled={ + UserType === "Super Admin" ? false : + (componentData.length <= 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Payment Device Config")?.AddAccess === "N") + } + + handleSubmit={handleSubmit} + /> +
    + +
    +
    +
    +
    + ) +} + + + +export default PaymentDeviceConfigForm; \ No newline at end of file diff --git a/src/Pages/paymentDeviceConfig/PaymentDeviceConfigList.jsx b/src/Pages/paymentDeviceConfig/PaymentDeviceConfigList.jsx new file mode 100644 index 0000000..ca4352b --- /dev/null +++ b/src/Pages/paymentDeviceConfig/PaymentDeviceConfigList.jsx @@ -0,0 +1,400 @@ +import React, { useCallback, useEffect, useState } from 'react' +import { EditFilled, DeleteFilled, PlusOutlined, ReloadOutlined } from "@ant-design/icons"; +import { Messages } from '../../Components/Notifications/Messages' +import FormHeader from '../pageComponents/FormHeader' +import Search from '../../Components/Forms/Search' +import Buttons from '../../Components/Forms/Buttons' +import { Tables } from '../../Components/Tables/Table'; +import { Space } from 'antd'; +import { useLocation, useNavigate } from 'react-router-dom'; +import { useDispatch, useSelector } from 'react-redux'; +import { changeBreadCrumb } from '../../features/appPage/centerPage'; +import { IoEye } from "react-icons/io5"; +import { DefaultModal } from '../../Components/Modal/DefaultModal'; +import { getSession } from '../../Services/others'; +import {getPaymentDeviceConfig,deletePaymentDeviceConfig} from '../../features/paymentDeviceConfig/paymentDeviceConfig' +import { SuperAdminUserAccessDataSelector } from '../../features/superAdminAccess/superAdminAccess'; + + +const subDirectory = import.meta.env.BASE_URL; + +const PaymentDeviceConfigList = () => { + const dispatch = useDispatch(); + const navigate = useNavigate(); + const location = useLocation(); + + const [page, setpage] = useState(1); + const [searchedText, setSearchedText] = useState(""); + const [sortedInfo, setSortedInfo] = useState({}); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [componentData, setComponentData] = useState([]) + const [ConfigData, setConfigData] = useState([]) + const [ConfigDataModel, setConfigDataModel] = useState(false) + const SuperAdminUserAccess=useSelector(SuperAdminUserAccessDataSelector) +const UserType = getSession("UserType") + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "PaymentDeviceConfig", + link: `${subDirectory}setting/payment-device-config`, + }, + + ]; + const columns = [ + { + title: 'SI.NO', + key: 'sno', + align: 'center', + render: (text, object, index) =>{(page - 1) * 10 + index + 1} + + }, + + { + title: "Admin Name / Mobile.No", + dataIndex: "UserName", + key: "UserName", + render: (text, record) => ( + {record.UserName ? record?.UserName : record?.MobileNo} + ), + ellipsis: true, + }, + + { + title: "App Name", + dataIndex: "AppName", + key: "AppName", + align: "left", + render: (text) => {text}, + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.AppName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.BrName) + .toLowerCase() + .includes(value.toLowerCase())|| + String(record.CompName) + .toLowerCase() + .includes(value.toLowerCase()) + ) + }, + sorter: (a, b) => a?.AppName?.localeCompare(b.AppName), + sortOrder: sortedInfo.columnKey === 'AppName' ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Company Name", + dataIndex: "CompName", + key: "CompName", + align: "left", + render: (text) => {text}, + sorter: (a, b) => a?.CompName?.localeCompare(b.CompName), + sortOrder: sortedInfo.columnKey === 'CompName' ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Branch Name", + dataIndex: "BrName", + key: "BrName", + align: "left", + render: (text) => {text}, + sorter: (a, b) => a?.BrName?.localeCompare(b.BrName), + sortOrder: sortedInfo.columnKey === 'BrName' ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Merchant Id", + dataIndex: "MerchantId", + key: "MerchantId", + align: "left", + render: (text) => {text}, + + + }, + + { + title: "ConfigDetails", + dataIndex: "DeviceConfigDetails", + key: "DeviceConfigDetails", + width:"150px", + render: (DeviceConfigDetails, record) => ( + ViewConfigDetails(DeviceConfigDetails)} />), + + }, + { + title: "Action", + key: "Action", + dataIndex: "Action", + width: "150px", + render: (_, record, index) => + componentData?.length >= 1 ? ( + + {record.ActiveStatus === "A" ? ( + + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Payment Device Config")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : " " + )} + /> + + ) : ( + "" + )} + + {record.ActiveStatus === "A" ? ( + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Payment Device Config")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> + ) : ( + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Payment Device Config")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> + )} + + + ) : null, + }, + ]; + + + const SubColumns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "ClientId", + dataIndex: "ClientId", + key: "ClientId", + align: "right", + render: (text, row) => ( + {text} + ), + + }, + { + title: "StoreId", + dataIndex: "StoreId", + key: "StoreId", + align: "right", + render: (text, row) => ( + {text} + ), + + }, + { + title: "SecurityToken", + dataIndex: "SecurityToken", + key: "SecurityToken", + align: "center", + render: (text, row) => ( + {text} + ), + + }, + { + title: "IMEI", + dataIndex: "IMEI", + key: "IMEI", + align: "right", + render: (text, row) => ( + {text} + ), + + }, + { + title: "Cancel Duration", + dataIndex: "AutoCancelDurationInMinutes", + key: "AutoCancelDurationInMinutes", + align: "right", + render: (text, row) => ( + {text} + ), + + }, + { + title: "Status", + dataIndex: "ActiveStatus", + key: "ActiveStatus", + align: "left", + render: (text, row) => ( + {text == "A" ? "Active" : "Deactive"} + ), + + }, + ] + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + fetchData() + if (location?.state?.Notiffy) { + setMessageType(location?.state?.Notiffy.messageType); + setMessageData(location?.state?.Notiffy.messageData); + } + }, []) + + const fetchData = async () =>{ + let res = await dispatch(getPaymentDeviceConfig()).unwrap(); + setComponentData(res?.data?.data) + + } + const ViewConfigDetails = (DeviceConfigDetails) => { + setConfigData(DeviceConfigDetails) + setConfigDataModel(true) + } + + const handlePageChange = (current) => { + setpage(current); + }; + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + + const handleOrdermodalCancel = () => { + setConfigDataModel(false) + setConfigData([]) + } + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []) + + + const onSearch = (value) => { + setSearchedText(value) + } + const onSearchChange = (e) => { + setSearchedText(e?.target?.value) + } + const openNew = () => { + navigate(`${subDirectory}setting/payment-device-config/new`) + } + + const actionsFormatter = async (row, rowIndex) => { + if (row.ActiveStatus !== "D") { + navigate( + `${subDirectory}setting/payment-device-config/update`, + { state: { editState: row } }, + { key: rowIndex } + ); + } + }; + + + + const statusFormatter = async (row) => { + let deleteData = { + UniqueId: row.UniqueId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession("UserId"), + }; + + let response = await dispatch(deletePaymentDeviceConfig(deleteData)).unwrap(); + if (response?.data?.statusCode == 1) { + setMessageType("success"); + setMessageData( + row.ActiveStatus == "A" + ? "In-Activated Successfully" + : "Activated Successfully" + ) + fetchData() + } + }; + return( +
    +
    + +
    +
    + +
    +
    +
    + +
    + + } + disabled={UserType === "Super Admin" + ? false + : + SuperAdminUserAccess?.find((e) => e?.ConfigName === "Payment Device Config")?.AddAccess === "N" ? true : false} + > + OPEN + +
    + + +
    +
    + +
    +
    + + + + +
    + + + + } + /> + + ) +} + +export default PaymentDeviceConfigList; \ No newline at end of file diff --git a/src/Pages/paymentGatewayConfig/PaymentGatewayConfigForm.jsx b/src/Pages/paymentGatewayConfig/PaymentGatewayConfigForm.jsx new file mode 100644 index 0000000..fad5d69 --- /dev/null +++ b/src/Pages/paymentGatewayConfig/PaymentGatewayConfigForm.jsx @@ -0,0 +1,410 @@ +import React, { useEffect, useRef, useState } from 'react' +import { useLocation, useNavigate } from 'react-router-dom'; +import Buttons from '../../Components/Forms/Buttons' +import { Button, Form } from 'antd' +import { ArrowRightOutlined } from "@ant-design/icons"; +import FormHeader from '../pageComponents/FormHeader' +import { DropDowns } from '../../Components/Forms/DropDown'; +import { InputField } from '../../Components/Forms/InputField'; +import { useDispatch } from 'react-redux'; +import { getAppNames } from '../../features/feature/feature'; +import { Messages } from '../../Components/Notifications/Messages'; +import { getBranchDropModule, getUserAppDetails } from '../../features/ModuleAccess/moduleAccessSlice'; +import { GetAdminData, PostPaymentGatewayconfig, PutPaymentGatewayconfig } from '../../features/paymentPage/paymentPage'; +import { getSession, validateSafeInput } from '../../Services/others'; +import { changeBreadCrumb } from '../../features/appPage/centerPage'; +const subDirectory = import.meta.env.BASE_URL; + +export const PaymentGatewayConfigForm = () => { + const formRef = useRef(null) + const navigate = useNavigate(); + const dispatch = useDispatch(); + const location = useLocation() + const formType = location?.state?.type + const editState = location?.state?.editstate + + + const [appData, setappData] = useState(null); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + + + const [selectedApplicationId, setselectedApplicationId] = useState(null) + const [selectedAdminId, setselectedAdminId] = useState(null) + const [selectedCompanyId, setselectedCompanyId] = useState(null) + const [selectedBranchId, setselectedBranchId] = useState(null) + + const [adminData, setAdminData] = useState([]); + const [storeData, setstoreData] = useState([]); + const [branchData, setBranchData] = useState([]); + const UserId= getSession("UserId"); + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "PaymentGatewayConfig", + link: `${subDirectory}setting/payment-gateway-config`, + }, + { + name: editState ? "Edit" : "New", + link: null, + }, + + ]; + + + + + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + FetchApplicationData() + + if(editState){ + setselectedApplicationId(editState?.AppId) + setselectedCompanyId(editState?.CompId) + setselectedBranchId(editState?.BranchId) + setselectedAdminId(editState?.UserId) + formRef.current?.setFieldsValue({ AppId: editState?.AppId,UserId:editState?.UserId,CompId:editState?.CompId,BranchId:editState?.UserId }); + fetchUserData({AppId:editState?.AppId,Type:"Payment Gateway"}) + fetchUserAppStoreData({ UserId: editState?.UserId, AppId: editState?.AppId }) + fetchStoreData(editState?.CompId) + + } + + + }, []) + + + + const FetchApplicationData = async () => { + let response = await dispatch(getAppNames()).unwrap(); + if (response?.data?.statusCode == 1) { + setappData(response?.data?.data) + } + + } + + + const onFinish = async (values) => { + let response; + if (formType == "edit") { + let putData = values; + putData[ "UniqueId"] = editState?.UniqueId + putData[ "UpdatedBy"] = UserId + response = await dispatch(PutPaymentGatewayconfig(putData)).unwrap(); + } + else { + let postDatas = values; + postDatas[ "CreatedBy"] = UserId + response = await dispatch(PostPaymentGatewayconfig(postDatas)).unwrap(); + } + if (response?.data?.statusCode == 1) { + navigate(`${subDirectory}setting/payment-gateway-config`, { + state: { + Notiffy: { + messageType: "success", + messageData: response?.data?.response, + }, + }, + }); + }else{ + setMessageType("error"); + setMessageData(response?.data?.response); + } + + + + + } + const ApplicationFun = (e) => { + setselectedApplicationId(e) + setselectedAdminId(null) + setselectedCompanyId(null) + setselectedBranchId(null) + setAdminData([]) + setstoreData([]) + setBranchData([]) + fetchUserData({AppId:e,Type:"Payment Gateway"}) + formRef.current?.setFieldsValue({ AppId: e,UserId:null,CompId:null,BranchId:null }); + + } + + + const AdminFun = (e) => { + fetchUserAppStoreData({ UserId: e, AppId: selectedApplicationId }) + setselectedAdminId(e) + setselectedCompanyId(null) + setselectedBranchId(null) + setstoreData([]) + setBranchData([]) + formRef.current?.setFieldsValue({ UserId: e,CompId:null,BranchId:null}); + } + + const SelectCompanyFun = (e) => { + setselectedCompanyId(e) + fetchStoreData(e) + setselectedBranchId(null) + setBranchData([]) + formRef.current?.setFieldsValue({ CompId: e,BranchId:null }); + } + const SelectBranchFun = (e) => { + setselectedBranchId(e) + formRef.current?.setFieldsValue({ BranchId: e }); + } + + + + + const fetchUserData = async ({ AppId, Type }) => { + const gettingUserData = await dispatch(GetAdminData({ Type, AppId })).unwrap(); + if (gettingUserData.data?.statusCode === 1) { + if(formType != "edit"){ + const filteredUsers = gettingUserData?.data?.data?.filter(user => user.Count > user.AllocatedCount); + await setAdminData(filteredUsers); + }else{ + await setAdminData(gettingUserData?.data?.data); + } + } + else{ + await setAdminData([]); + } + + + + } + + const fetchUserAppStoreData = async ({ AppId, UserId }) => { + const gettingTableData = await dispatch(getUserAppDetails({ UserId, AppId })).unwrap(); + if (gettingTableData.data?.statusCode === 1) { + await setstoreData(gettingTableData.data?.data); + } else { + await setstoreData([]); + } + } + + + const fetchStoreData = async (e) => { + const storeData = await dispatch(getBranchDropModule({ storeId: e })).unwrap() + if (storeData.data?.statusCode === 1) { + await setBranchData(storeData.data?.data); + } else { + await setBranchData([]); + } + } + + + + return ( +
    +
    +
    + +
    + +

    +
    +
    +
    +
    +
    + + ({ + value: option.AppId, + label: option.AppName, + }))} + placeholder="Application Name" + label={} + className="field-DropDown" + isOnchanges={selectedApplicationId ? true : false} + onChangeFunction={(e) => ApplicationFun(e)} + valueData={selectedApplicationId} + disabled={editState?.AppId ? true :false} + /> + + + ({ + value: option.UserId, + label: option.UserName!="" && option.UserName!=null && option.UserName!=undefined ? option.UserName : option.MobileNo, + }))} + placeholder="Admin Name" + label={} + className="field-DropDown" + isOnchanges={selectedAdminId ? true : false} + onChangeFunction={(e) => AdminFun(e)} + valueData={selectedAdminId} + disabled={editState?.UserId ? true :false} + /> + + + ({ + value: option.CompId, + label: option.CompName, + }))} + placeholder="Company Name" + label={} + className="field-DropDown" + isOnchanges={selectedCompanyId ? true : false} + onChangeFunction={(e) => SelectCompanyFun(e)} + valueData={selectedCompanyId} + disabled={editState?.CompId ? true :false} + + /> + + + ({ + value: option.BrId, + label: option.BrName, + }))} + placeholder="Branch Name" + label={} + className="field-DropDown" + isOnchanges={selectedBranchId ? true : false} + onChangeFunction={(e) => SelectBranchFun(e)} + valueData={selectedBranchId} + disabled={editState?.BranchId ? true :false} + + /> + + + + + { + await validateSafeInput(value); + + if (value && value.length > 15) { + return Promise.reject("Merchant Id should not exceed 15 characters"); + } + + return Promise.resolve(); + }, + }, + ]}> + Merchant Id} + fieldState={true} + fieldApi={true} + autocomplete="off" + isOnChange={editState?.MerchantId ? true : false} + /> + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + + ]}> + Working key} + fieldState={true} + fieldApi={true} + autocomplete="off" + isOnChange={editState?.WorkingKey ? true : false} + /> + + + { + await validateSafeInput(value); + + if (value && value.length > 50) { + return Promise.reject("Access Code should not exceed 50 characters"); + } + + return Promise.resolve(); + }, + }, + ]}> + Access code} + fieldState={true} + fieldApi={true} + autocomplete="off" + isOnChange={editState?.AccessCode ? true : false} + /> + +
    +
    + +
    + } + /> +
    + +
    +
    +
    +
    + ) +} diff --git a/src/Pages/paymentGatewayConfig/PaymentGatewayConfigList.jsx b/src/Pages/paymentGatewayConfig/PaymentGatewayConfigList.jsx new file mode 100644 index 0000000..d8e39d4 --- /dev/null +++ b/src/Pages/paymentGatewayConfig/PaymentGatewayConfigList.jsx @@ -0,0 +1,287 @@ +import React, { useCallback, useEffect, useState } from 'react' +import { EditFilled, DeleteFilled, PlusOutlined, ReloadOutlined } from "@ant-design/icons"; +import { Messages } from '../../Components/Notifications/Messages' +import FormHeader from '../pageComponents/FormHeader' +import Search from '../../Components/Forms/Search' +import Buttons from '../../Components/Forms/Buttons' +import { Tables } from '../../Components/Tables/Table'; +import { Space } from 'antd'; +import { useLocation, useNavigate } from 'react-router-dom'; +import { getSession } from '../../Services/others'; +import { useDispatch, useSelector } from 'react-redux'; +import { DeletePaymentGatewayconfig, GetPaymentGatewayconfig } from '../../features/paymentPage/paymentPage'; +import { changeBreadCrumb } from '../../features/appPage/centerPage'; +import { SuperAdminUserAccessDataSelector } from '../../features/superAdminAccess/superAdminAccess'; +const subDirectory = import.meta.env.BASE_URL; + +const PaymentGatewayConfigList = () => { + const dispatch = useDispatch(); + const navigate = useNavigate(); + const location = useLocation(); + + const [page, setpage] = useState(1); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + + const [CommonDataFilter, setCommonDataFilter] = useState([]); + const [searchedText, setSearchedText] = useState(""); + const [sortedInfo, setSortedInfo] = useState({}); + const UserType = getSession("UserType") + + const SuperAdminUserAccess=useSelector(SuperAdminUserAccessDataSelector) + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "PaymentGatewayConfig", + link: `${subDirectory}setting/payment-gateway-config`, + }, + + ]; + + const columns = [ + { + title: 'SI.NO', + key: 'sno', + align: 'center', + width: "60px", + render: (text, object, index) => {(page - 1) * 10 + index + 1} + + }, + { + title: "Admin Name / Mobile.No", + dataIndex: "UserName", + key: "UserName", + render: (text, record) => ( + {record.UserName ? record?.UserName : record?.MobileNo} + ), + ellipsis: true, + }, + + { + title: "App Name", + dataIndex: "AppName", + key: "AppName", + align: "left", + render: (text) => {text}, + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.AppName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.BranchName) + .toLowerCase() + .includes(value.toLowerCase())|| + String(record.CompanyName) + .toLowerCase() + .includes(value.toLowerCase()) + ) + }, + sorter: (a, b) => a?.AppName?.localeCompare(b.AppName), + sortOrder: sortedInfo.columnKey === 'AppName' ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Company Name", + dataIndex: "CompanyName", + key: "CompanyName", + align: "left", + render: (text) => {text}, + sorter: (a, b) => a?.CompanyName?.localeCompare(b.CompanyName), + sortOrder: sortedInfo.columnKey === 'CompanyName' ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Branch Name", + dataIndex: "BranchName", + key: "BranchName", + align: "left", + render: (text) => {text}, + sorter: (a, b) => a?.BranchName?.localeCompare(b.BranchName), + sortOrder: sortedInfo.columnKey === 'BranchName' ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Merchant Id", + dataIndex: "MerchantId", + key: "MerchantId", + align: "left", + render: (text) => {text}, + + + }, + { + title: "Access Code", + dataIndex: "AccessCode", + key: "AccessCode", + align: "left", + render: (text) => {text}, + + + }, + { + title: "Working Key", + dataIndex: "WorkingKey", + key: "WorkingKey", + align: "left", + render: (text) => {text}, + + + }, + { + title: "Action", + key: "Action", + dataIndex: "Action", + align: "left", + render: (_, record, index) => + CommonDataFilter.length >= 1 ? ( + + {record.ActiveStatus == "A" ? + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Payment Gateway Config")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : "" + )} /> + : ""} + + {record.ActiveStatus == "A" ? ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Payment Gateway Config")?.DeleteAccess === "Y") + ? statusFormatter(record) + : "" + )} + /> : ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Payment Gateway Config")?.DeleteAccess === "Y") + ? statusFormatter(record) + : "" + )} + /> + } + + + + ) : null, + }, + + + ]; + + + useEffect(() => { + fetchData() + dispatch(changeBreadCrumb({ items: items })); + if (location?.state?.Notiffy) { + setMessageType(location?.state?.Notiffy.messageType); + setMessageData(location?.state?.Notiffy.messageData); + } + }, []) + const fetchData = async () => { + let response = await dispatch(GetPaymentGatewayconfig()) + setCommonDataFilter(response?.payload?.data?.data) + } + + + const handlePageChange = (current) => { + setpage(current); + }; + const handleChange = (pagination, filters, sorter) => { + + setSortedInfo(sorter); + }; + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + + + }, []) + const onSearch = (value) => { + setSearchedText(value) + } + const onSearchChange = (e) => { + setSearchedText(e?.target?.value) + } + const openNew = () => { + navigate(`${subDirectory}setting/payment-gateway-config/new`) + } + const actionsFormatter = async (row) => { + navigate(`${subDirectory}setting/payment-gateway-config/update`, { state: { editstate: row, type: "edit" } }) + }; + + + const statusFormatter = async (row) => { + let deleteData = { + uniqueId: row.UniqueId, + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession('UserId') + }; + let response = await dispatch(DeletePaymentGatewayconfig(deleteData)).unwrap() + if (response?.data?.statusCode == 1) { + setMessageType("success") + setMessageData(row.ActiveStatus == "A" ? " Config Data In-Activated Successfully" : "Config Data Activated Successfully") + fetchData() + } + }; + + + return ( +
    +
    + +
    +
    + +
    +
    +
    + +
    + + } + disabled={UserType === "Super Admin" + ? false + : + SuperAdminUserAccess?.find((e) => e?.ConfigName === "Payment Gateway Config")?.AddAccess === "N"} + > + + OPEN + +
    + + +
    +
    + +
    +
    + + + +
    + ) +} + +export default PaymentGatewayConfigList \ No newline at end of file diff --git a/src/Pages/paymentpdfPage/PaymentPdfCommon.jsx b/src/Pages/paymentpdfPage/PaymentPdfCommon.jsx new file mode 100644 index 0000000..5a08904 --- /dev/null +++ b/src/Pages/paymentpdfPage/PaymentPdfCommon.jsx @@ -0,0 +1,178 @@ +import React, { useState, useEffect, useCallback } from "react"; +import "./Pdfdoc.scss" +import logo from "../../images/PozomindLogoTechnologies.png"; +import { useNavigate } from "react-router-dom"; +import { useDispatch } from "react-redux"; +import { Messages } from "../../Components/Notifications/Messages"; +import { getUserMappDetails} from "../../../src/features/PaymentPdfPageCommon/paymentPdfPageCommon"; +import { ExtractDateFormate } from "../../Services/others"; +const subDirectory = import.meta.env.BASE_URL; + +const PdfPageCommon =()=>{ + const dispatch = useDispatch(); + const navigate = useNavigate(); + const url_string = window.location.href; + var url = new URL(url_string); + var id = url.searchParams.get("paymentId"); + var CompanyName=null + var address =null + var City=null + var zipcode =null + + const [BookingId, setBookingId] = useState(id ? id : null); + const [BookingDeatils,setBookingDeatils]=useState([]); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + + useEffect(() => { + PaymentDetailsByBookingId(); + }, []); + + const PaymentDetailsByBookingId = async () => { + let response = await dispatch(getUserMappDetails(BookingId)).unwrap(); + if (response?.data?.statusCode === 1) { + + if (response?.data?.data[0].PaymentStatus === "S") { + setBookingDeatils(response?.data?.data[0]); + } else { + setMessageType("error"); + setMessageData("Sorry, No details found"); + navigate(`${subDirectory}`) + } + } + }; + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + return ( + <> + +
    +
    +
    + +
    +

    Invoices

    +

    Pozomind Technologies Private Limited

    +
    + +
    + +
    +

    Invoice Number : {BookingDeatils?BookingDeatils?.UniqueId:null}

    +

    Amount: ₹ {BookingDeatils?BookingDeatils?.NetPrice:0}

    +
    +
    +

    Payment Method : {BookingDeatils?BookingDeatils.PaymentModeName:null}

    +

    Date : {BookingDeatils?ExtractDateFormate(BookingDeatils.PurDate):null}

    + +
    +
    + + +
    + +
    +
    +

    Billed From

    +

    + Pozomind Technologies Private Limited +

    Phone : 7324000011

    +

    +
    +
    +

    Billed To

    +

    + + {BookingDeatils?BookingDeatils.UserName!=null?BookingDeatils.UserName:BookingDeatils.MobileNo:"hh"},
    +

    + {CompanyName!=null?CompanyName:null} +

    + {address!=null?address:null}{" "} + {City!=null?City:null}{" "} + {zipcode!=null?zipcode:null} +

    Phone : {BookingDeatils?BookingDeatils.MobileNo:null}

    +

    +
    + +
    + +
    + + +
    + + +
    +
    + + + + + + + + + + + + + + + + + +
    Statement Summary
    DescriptionPurchase DatePeriodAmount
    {BookingDeatils?BookingDeatils.AppName:null}{BookingDeatils?ExtractDateFormate(BookingDeatils.PurDate):null}{BookingDeatils?ExtractDateFormate(BookingDeatils.ValidityStart):null} - {BookingDeatils?ExtractDateFormate(BookingDeatils.ValidityEnd):null}₹{BookingDeatils?BookingDeatils.NetPrice:0}
    +
    + +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    Sub Total₹{BookingDeatils?BookingDeatils.Price:0}
    Tax ₹{BookingDeatils?BookingDeatils.TaxAmount:0}
    Total₹{BookingDeatils?BookingDeatils.NetPrice:0}
    +
    + + + +
    + +
    + + ) +} + + + +export default PdfPageCommon; \ No newline at end of file diff --git a/src/Pages/paymentpdfPage/paymentpdfpage.jsx b/src/Pages/paymentpdfPage/paymentpdfpage.jsx new file mode 100644 index 0000000..3528fbd --- /dev/null +++ b/src/Pages/paymentpdfPage/paymentpdfpage.jsx @@ -0,0 +1,203 @@ +import "./Pdfdoc.scss"; +import logo from "../../images/PozomindLogoTechnologies.png"; +import moment from "moment"; +import { ExtractDateFormate } from "../../Services/others"; + +const PdfPage = ({ printingdata, CompanyName, zipcode, address, City }) => { + const start = moment(printingdata?.ValidityStart); + const end = moment(printingdata?.ValidityEnd); + const DayCount = end.diff(start, "days") > 30 ? "Yearly" : "Monthly"; + + const formatDateToDMY = (originalDate) => { + const dateObject = new Date(originalDate); + const day = String(dateObject.getDate()).padStart(2, "0"); + const month = String(dateObject.getMonth() + 1).padStart(2, "0"); + const year = dateObject.getFullYear(); + return `${day}/${month}/${year}`; + }; + + return ( +
    +
    + Logo +
    +

    Invoice

    +

    Pozomind Technologies Private Limited

    +
    + {/* */} +
    + +
    +

    + Invoice Number: + + {printingdata?.UniqueId || ""} + +

    +

    + Amount: + + ₹ {printingdata?.NetPrice || 0} + +

    +
    + +
    +

    + Payment Method: + + {printingdata?.PaymentModeName || ""} + +

    +

    + Date: + + {printingdata + ? printingdata.Type === "I" + ? ExtractDateFormate(printingdata?.PurDate?.split("T")[0]) + : ExtractDateFormate(printingdata.PurDate) + : ""} + +

    +
    + +
    +
    +

    Billed From

    +

    Pozo

    +

    Phone: 7324000011

    +
    +
    +

    Billed To

    +

    + {printingdata + ? printingdata.UserName || printingdata.MobileNo + : ""} +

    +

    + {CompanyName || ""} {address || ""} {City || ""} {zipcode || ""} +

    +

    + Phone: {printingdata?.MobileNo || ""} +

    +
    +
    + +
    + +
    +
    Statement Summary
    + {printingdata?.Type === "I" && ( +
    + {`${printingdata.AppName} (${printingdata.PricingName})`} +
    + )} + + + + + {printingdata?.Type !== "I" && } + {printingdata?.Type !== "I" && } + {printingdata?.Type !== "I" && } + + + {printingdata?.FeatAddonDetails?.length > 0 && ( + + )} + + + + + + {printingdata?.Type !== "I" && } + {printingdata?.Type !== "I" && } + {printingdata?.Type !== "I" && } + + + {printingdata?.FeatAddonDetails?.length > 0 && ( + + )} + + + +
    DescriptionPlan TypeDurationPurchase DatePeriodFeature-AddonAmount
    {printingdata?.AppName}{printingdata?.PricingName}{DayCount} + {printingdata + ? printingdata.Type === "I" + ? formatDateToDMY(printingdata?.PurDate?.split("T")[0]) + : formatDateToDMY(printingdata.PurDate) + : ""} + + {printingdata + ? printingdata.Type === "I" + ? formatDateToDMY(printingdata?.PurDate?.split("T")[0]) + : formatDateToDMY(printingdata.PurDate) + : ""}{" "} + - {printingdata ? formatDateToDMY(printingdata.ValidityEnd) : ""} + +
      + {printingdata?.FeatAddonDetails?.map((e, index) => ( +
    • + {e.FeatAddonName} - {e.Count} - ₹{e.NetPrice} +
    • + ))} +
    +
    + ₹ + {Math.abs( + (printingdata?.NetPrice || 0) - + (printingdata?.CommissionAmount || 0) + )} +
    +
    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Sub Total + ₹ + {Math.abs( + (printingdata?.Price || 0) - + (printingdata?.CommissionAmount || 0) + )} +
    Commission Amount₹{printingdata?.CommissionAmount || 0}
    Tax₹{printingdata?.TaxAmount || 0}
    Total + ₹ + {Math.abs( + (printingdata?.NetPrice || 0) - + (printingdata?.CommissionAmount || 0) + )} +
    +
    + +
    +
    + ); +}; + +export default PdfPage; diff --git a/src/Pages/paymentpdfPage/pdfdoc.scss b/src/Pages/paymentpdfPage/pdfdoc.scss new file mode 100644 index 0000000..9dc52fa --- /dev/null +++ b/src/Pages/paymentpdfPage/pdfdoc.scss @@ -0,0 +1,152 @@ +.pdf-body { + font-family: 'Segoe UI', Arial, sans-serif; + font-size: 13px; + color: #333; + padding: 20px; + max-width: 800px; + margin: auto; + background: #fff; +} + +.pdf-header { + display: flex; + align-items: center; + border-bottom: 2px solid #0074d9; + padding-bottom: 10px; + margin-bottom: 20px; + + .pdf-logo { + height: 50px; + margin-right: 15px; + } + + .pdf-title-block { + flex: 1; + + .pdf-title { + font-size: 24px; + font-weight: bold; + margin: 0; + color: #0074d9; + } + + .pdf-subtitle { + font-size: 14px; + color: #777; + margin: 0; + } + } + + .pdf-square { + width: 20px; + height: 20px; + background: #0074d9; + } +} + +.pdf-amount-section { + display: flex; + justify-content: space-between; + margin-bottom: 10px; + + p { + margin: 0; + font-weight: bold; + } + + .pdf-value { + margin-left: 5px; + font-weight: normal; + color: #555; + } +} + +.pdf-billing-section { + display: flex; + justify-content: space-between; + margin-top: 15px; + + .pdf-section-title { + font-weight: bold; + margin-bottom: 4px; + font-size: 14px; + color: #0074d9; + } + + .pdf-section-text { + margin: 0; + font-size: 12px; + color: #555; + } +} + +.pdf-divider { + border: none; + border-top: 1px solid #ddd; + margin: 20px 0; +} + +.pdf-table-wrapper { + margin-top: 10px; + + .pdf-table-heading { + font-weight: bold; + font-size: 14px; + color: #0074d9; + margin-bottom: 8px; + } + + .pdf-table-subheading { + font-size: 12px; + color: #666; + margin-bottom: 10px; + } + + .pdf-table { + width: 100%; + border-collapse: collapse; + font-size: 12px; + + th { + background: #f4f6f8; + text-align: left; + padding: 8px; + border-bottom: 2px solid #ddd; + } + + td { + padding: 8px; + border-bottom: 1px solid #eee; + } + + th, td { + white-space: nowrap; + } + + tfoot td { + font-weight: bold; + } + } + + .pdf-addon-list { + margin: 0; + padding-left: 18px; + font-size: 12px; + color: #555; + + li { + margin-bottom: 2px; + } + } +} + +@media print { + body { + background: #fff; + } + .pdf-body { + box-shadow: none; + margin: 0; + padding: 0; + } +} diff --git a/src/Pages/pricingType/pricingTypeForm.jsx b/src/Pages/pricingType/pricingTypeForm.jsx new file mode 100644 index 0000000..a65b087 --- /dev/null +++ b/src/Pages/pricingType/pricingTypeForm.jsx @@ -0,0 +1,1024 @@ +import { useState, useEffect, useRef,useCallback } from "react"; +import { useDispatch } from "react-redux"; +import { InputField } from "../../Components/Forms/InputField.jsx"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { ArrowRightOutlined } from "@ant-design/icons"; +import { Messages } from "../../Components/Notifications/Messages"; +import { Form, Checkbox} from "antd"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { DropDowns } from "../../Components/Forms/DropDown.jsx"; +import { + getPricingTag, + getTaxdata, + getCurrData, + getPricingTypeForm, + postPriceType, +} from "../../features/priceType/priceType.js"; +import { + getApplication +} from "../../features/appMenu/appMenu.js"; +import { getSession, validateSafeInput } from "../../Services/others"; +import { useNavigate, useLocation } from "react-router-dom"; +const subDirectory = import.meta.env.BASE_URL; + + +const PricingForm = ({ formType }) => { + const formRef = useRef(null); + const dispatch = useDispatch(); + const navigate = useNavigate(); + const location = useLocation(); + const state = location?.state; + const editstate = state?.editstate; + + + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [appDropDown, setappDropDown] = useState([]); + const [PriceTagDropDown, setPriceTagDropDown] = useState([]); + const [TaxDropDown, setTaxDropDown] = useState([]); + const [currDropDown, setcurrTaxDropDown] = useState([]); + const [currDropDown2, setcurrTaxDropDown2] = useState([]); + const [SelectedPrice, setSelectedPrice] = useState(null); + const [SelectedPrice2, setSelectedPrice2] = useState(null); + const [SelectedTaxamount, setSelectedTaxamount] = useState(null); + const [SelectedTaxamount2, setSelectedTaxamount2] = useState(null); + const [monthly, setMonthly] = useState(false); + const [yearly, setYearly] = useState(false); + const [medit, setMEdit] = useState(false); + const [yedit, setYEdit] = useState(false); + const [MonthlyPricingId, setMonthlyPricingId] = useState(); + const [YearlyPricingId, setYearlyPricingId] = useState(); + const [selectedAppData, setSelectedAppData] = useState( + editstate ? editstate.AppId : null + ); + const [selectedPriceDropDown, setselectedPriceDropDown] = useState( + editstate ? (editstate.PriceTag != 0 ? editstate.PriceTag : null) : null + ); + const [selectedPriceDropDown2, setselectedPriceDropDown2] = useState( + editstate ? (editstate.PriceTag != 0 ? editstate.PriceTag : null) : null + ); + const [selectedTaxId, setselectedTaxId] = useState( + editstate ? (editstate.TaxId != 0 ? editstate.TaxId : null) : null + ); + const [selectedCurrId, setselectedCurrId] = useState( + editstate ? (editstate.CurrId != 0 ? editstate.CurrId : null) : null + ); + const [selectedCurrId2, setselectedCurrId2] = useState( + editstate ? (editstate.CurrId != 0 ? editstate.CurrId : null) : null + ); + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + + }, []) + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "PricingType", + link: `${subDirectory}setting/pricing`, + }, + { + name: editstate ? "Edit" : "New", + link: null + + }, + ]; + + const PricingName = async () => { + let pricename = formRef?.current?.getFieldsValue().PricingName; + if (pricename.length > 2 && selectedAppData != null) { + let data = + { + appId: selectedAppData, + pricingName: formRef?.current?.getFieldsValue().PricingName + } + let response = await dispatch(getPricingTypeForm(data)).unwrap(); + if (response?.data?.statusCode == 1) { + let Response = response?.data?.data?.[0]; + TaxDropDownChange(Response?.PricingDetails?.[0]?.TaxId); + if (Response?.PricingDetails.length == 1 && Response?.PricingDetails?.[0]?.NoOfDays !== 365) { + setMonthlyPricingId(Response?.PricingDetails?.[0]?.PricingId) + setMEdit(true); + setMonthly(true); + PriceOnChange(); + PriceTagDropDownChange(Response?.PricingDetails?.[0]?.PriceTag); + CurrDropDownChange(Response?.PricingDetails?.[0]?.CurrId) + formRef.current?.setFieldsValue({ NetPrice: Response?.PricingDetails?.[0]?.NetPrice }); + formRef.current?.setFieldsValue({ DisplayPrice: Response?.PricingDetails?.[0]?.DisplayPrice }); + formRef.current?.setFieldsValue({ Price: Response?.PricingDetails?.[0]?.Price }); + formRef.current?.setFieldsValue({ TaxAmount: Response?.PricingDetails?.[0]?.TaxAmount }); + formRef.current?.setFieldsValue({ NoOfDays: Response?.PricingDetails?.[0]?.NoOfDays }); + }else if (Response?.PricingDetails.length == 1 && Response?.PricingDetails?.[0]?.NoOfDays === 365) { + setYearlyPricingId(Response?.PricingDetails?.[0]?.PricingId) + setYEdit(true); + setYearly(true); + PriceOnChange2(); + PriceTagDropDownChange2(Response?.PricingDetails?.[0]?.PriceTag); + CurrDropDownChange2(Response?.PricingDetails?.[0]?.CurrId) + formRef.current?.setFieldsValue({ NetPrice2: Response?.PricingDetails?.[0]?.NetPrice }); + formRef.current?.setFieldsValue({ DisplayPrice2: Response?.PricingDetails?.[0]?.DisplayPrice }); + formRef.current?.setFieldsValue({ Price2: Response?.PricingDetails?.[0]?.Price }); + formRef.current?.setFieldsValue({ TaxAmount2: Response?.PricingDetails?.[0]?.TaxAmount }); + }else if (Response?.PricingDetails.length == 2) { + const Monthly = Response?.PricingDetails?.filter(item => item.NoOfDays !== 365)?.[0]; + const Yearly = Response?.PricingDetails?.filter(item => item.NoOfDays === 365)?.[0]; + setMonthlyPricingId(Monthly?.PricingId) + setYearlyPricingId(Yearly?.PricingId) + setMEdit(true); + setYEdit(true); + setMonthly(true); + setYearly(true); + PriceOnChange(); + PriceOnChange2(); + PriceTagDropDownChange(Monthly?.PriceTag); + PriceTagDropDownChange2(Yearly?.PriceTag); + CurrDropDownChange(Monthly.CurrId) + CurrDropDownChange2(Yearly?.CurrId) + formRef.current?.setFieldsValue({ NetPrice: Monthly?.NetPrice }); + formRef.current?.setFieldsValue({ DisplayPrice: Monthly?.DisplayPrice }); + formRef.current?.setFieldsValue({ Price: Monthly?.Price }); + formRef.current?.setFieldsValue({ TaxAmount: Monthly?.TaxAmount }); + formRef.current?.setFieldsValue({ NoOfDays: Monthly?.NoOfDays }); + + formRef.current?.setFieldsValue({ NetPrice2: Yearly?.NetPrice }); + formRef.current?.setFieldsValue({ DisplayPrice2: Yearly?.DisplayPrice }); + formRef.current?.setFieldsValue({ Price2: Yearly?.Price }); + formRef.current?.setFieldsValue({ TaxAmount2: Yearly?.TaxAmount }); + } + } + else{ + formRef.current?.setFieldsValue({ NetPrice: null }); + formRef.current?.setFieldsValue({ DisplayPrice: null }); + formRef.current?.setFieldsValue({ Price: null }); + formRef.current?.setFieldsValue({ TaxAmount: null }); + formRef.current?.setFieldsValue({ NoOfDays: null }); + + formRef.current?.setFieldsValue({ NetPrice2: null }); + formRef.current?.setFieldsValue({ DisplayPrice2: null }); + formRef.current?.setFieldsValue({ Price2: null }); + formRef.current?.setFieldsValue({ TaxAmount2: null }); + + setMonthlyPricingId(undefined) + setYearlyPricingId(undefined) + setselectedPriceDropDown(null); + setselectedPriceDropDown2(null); + setselectedCurrId(null); + setselectedCurrId2(null); + setMonthly(false); + setYearly(false); + setYEdit(false); + setMEdit(false); + } + } + else if (pricename.length == 2 && pricename.length < 3) { + formRef.current?.setFieldsValue({ NetPrice: null }); + formRef.current?.setFieldsValue({ DisplayPrice: null }); + formRef.current?.setFieldsValue({ Price: null }); + formRef.current?.setFieldsValue({ TaxAmount: null }); + formRef.current?.setFieldsValue({ NoOfDays: null }); + + formRef.current?.setFieldsValue({ NetPrice2: null }); + formRef.current?.setFieldsValue({ DisplayPrice2: null }); + formRef.current?.setFieldsValue({ Price2: null }); + formRef.current?.setFieldsValue({ TaxAmount2: null }); + + setselectedPriceDropDown(null); + setselectedPriceDropDown2(null); + setselectedCurrId(null); + setselectedCurrId2(null); + setMonthly(false); + setYearly(false); + } + } + + + const onFinish = async (values) => { + + let postData = {}; + + postData["CreatedBy"] = getSession("UserId"); + postData["AppId"] = values.AppName; + postData["PricingName"] = values.PricingName; + + if (monthly == true && yearly == false) { + postData['PricingDetails'] = [{ + "Price": values.Price, + "DisplayPrice": values.DisplayPrice, + "PriceTag": values.PriceTag, + "TaxId": values.Tax, + "TaxAmount": values.TaxAmount, + "NetPrice": values.NetPrice, + "CurrId": values.CurrId, + "NoOfDays": `${values.NoOfDays}`, + "PricingId" : MonthlyPricingId === undefined? null : MonthlyPricingId, + }] + } + else if (yearly == true && monthly == false) { + postData['PricingDetails'] = [{ + "Price": values.Price2, + "DisplayPrice": values.DisplayPrice2, + "PriceTag": values.PriceTag2, + "TaxId": values.Tax, + "TaxAmount": values.TaxAmount2, + "NetPrice": values.NetPrice2, + "CurrId": values.CurrId2, + "NoOfDays": `365`, + "PricingId" : YearlyPricingId === undefined? null : YearlyPricingId + }] + } + else if (monthly == true && yearly == true) { + postData['PricingDetails'] = [{ + "Price": values.Price, + "DisplayPrice": values.DisplayPrice, + "PriceTag": values.PriceTag, + "TaxId": values.Tax, + "TaxAmount": values.TaxAmount, + "NetPrice": values.NetPrice, + "CurrId": values.CurrId, + "NoOfDays": `${values.NoOfDays}`, + "PricingId" : MonthlyPricingId === undefined? null : MonthlyPricingId, + }, + { + "Price": values.Price2, + "DisplayPrice": values.DisplayPrice2, + "PriceTag": values.PriceTag2, + "TaxId": values.Tax, + "TaxAmount": values.TaxAmount2, + "NetPrice": values.NetPrice2, + "CurrId": values.CurrId2, + "NoOfDays": `365`, + "PricingId" : YearlyPricingId === undefined? null : YearlyPricingId + }] + } + else if (monthly === false && monthly === false) { + setMessageType("error"); + setMessageData("Please Select any Plan"); + } + + + if (monthly == true && yearly == false || yearly == true && monthly == false || monthly == true && yearly == true) { + let response = await dispatch(postPriceType(postData)).unwrap(); + + if (response?.data?.statusCode == 1) { + navigate(`${subDirectory}setting/pricing/`, { + state: { + Notiffy: { + messageType: "success", + messageData: response?.data?.response, + }, + }, + }); + } else { + setMessageType("error"); + setMessageData(response?.data?.response); + } + + } + + + + }; + + async function fetchData() { + const gettingappDropDown = await dispatch(getApplication()).unwrap() + if (gettingappDropDown.data?.statusCode === 1) { + let finalAppDropDowndata = gettingappDropDown.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setappDropDown(finalAppDropDowndata); + } + } + + useEffect(() => { + try { + fetchData(); + + if (formType === "edit") { + if (editstate) { + appDropDownChange(editstate.AppId); + PriceTagDropDownChange(editstate.PriceTag) + TaxDropDownChange(editstate.TaxId) + CurrDropDownChange(editstate.CurrId) + formRef.current?.setFieldsValue( + editstate + ); + } else { + navigate(`${subDirectory}setting/app-menu/`); + } + } + } catch (err) { + console.log(err, "err"); + } + }, []); + + + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + }, []); + + + + const appDropDownChange = async (e) => { + formRef.current?.setFieldsValue({ AppName: e }); + setSelectedAppData(e) + const gettingTaxDropDown = await dispatch(getTaxdata()).unwrap() + if (gettingTaxDropDown.data?.statusCode === 1) { + let finalTaxDropDowndata = gettingTaxDropDown.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setTaxDropDown(finalTaxDropDowndata); + } + + + }; + + const TaxDropDownChange = async (e) => { + + const gettingPriceTagDropDown = await dispatch(getPricingTag()).unwrap() + if (gettingPriceTagDropDown.data?.statusCode === 1) { + let finalPriceTagDropDowndata = gettingPriceTagDropDown.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + + setPriceTagDropDown(finalPriceTagDropDowndata); + } + await setselectedTaxId(e) + formRef.current?.setFieldsValue({ Tax: e }); + + let taxAmount = TaxDropDown.filter((value) => (value.TaxId === parseInt(e))); + + const finalTaxAmount = formRef.current?.getFieldsValue()?.NetPrice + ? Math.round( + (formRef.current?.getFieldsValue()?.NetPrice / 118) * + taxAmount[0]?.TaxPercentage, + 2 + ) + : 0; + const netPrice = + parseInt(formRef.current?.getFieldsValue()?.NetPrice) - + parseInt(finalTaxAmount); + + formRef.current?.setFieldsValue({ + TaxAmount: finalTaxAmount, + Price: netPrice ? netPrice : 0, + }); + setSelectedPrice(netPrice ? netPrice : 0) + setSelectedTaxamount(finalTaxAmount) + + const finalTaxAmount2 = formRef.current?.getFieldsValue()?.NetPrice2 + ? Math.round( + (formRef.current?.getFieldsValue()?.NetPrice2 / 118) * + taxAmount[0]?.TaxPercentage, + 2 + ) + : 0; + const netPrice2 = + parseInt(formRef.current?.getFieldsValue()?.NetPrice2) - + parseInt(finalTaxAmount); + + formRef.current?.setFieldsValue({ + TaxAmount2: finalTaxAmount2, + Price2: netPrice2 ? netPrice2 : 0, + }); + setSelectedPrice2(netPrice2 ? netPrice2 : 0) + setSelectedTaxamount2(finalTaxAmount2) + + const gettingCurrDropDown = await dispatch(getCurrData()).unwrap() + if (gettingCurrDropDown.data?.statusCode === 1) { + let finalCurrDropDowndata = gettingCurrDropDown.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setcurrTaxDropDown(finalCurrDropDowndata); + setcurrTaxDropDown2(finalCurrDropDowndata); + } + }; + const getOptionLabel = (option, selected) => { + return selected ? option.TaxPercentage + ' %' : option.TaxName + ' - ' + option.TaxPercentage + ' % '; + }; + + const CurrDropDownChange = async (e) => { + formRef.current?.setFieldsValue({ CurrId: e }); + setselectedCurrId(e) + }; + const CurrDropDownChange2 = async (e) => { + formRef.current?.setFieldsValue({ CurrId2: e }); + setselectedCurrId2(e) + }; + + const PriceOnChange = async () => { + const TaxId = formRef.current?.getFieldsValue()?.Tax; + const tax = TaxDropDown.find((value) => value.TaxId === TaxId) || { TaxPercentage: 0 }; + +const netPrice = parseInt(formRef.current?.getFieldsValue()?.NetPrice || 0); +const finalTaxAmount = Math.round((netPrice / 118) * tax.TaxPercentage, 2); + +formRef.current?.setFieldsValue({ + TaxAmount: finalTaxAmount, + Price: netPrice - finalTaxAmount, +}); + +setSelectedPrice(netPrice - finalTaxAmount); +setSelectedTaxamount(finalTaxAmount); + }; + + const PriceOnChange2 = async () => { + const taxId = formRef.current?.getFieldsValue()?.Tax; +const tax = taxId ? TaxDropDown.find((value) => value.TaxId === taxId) || { TaxPercentage: 0 } : { TaxPercentage: 0 }; + +const netPrice2 = parseInt(formRef.current?.getFieldsValue()?.NetPrice2 || 0); +const finalTaxAmount2 = Math.round((netPrice2 / 118) * tax.TaxPercentage, 2); + +formRef.current?.setFieldsValue({ + TaxAmount2: finalTaxAmount2, + Price2: netPrice2 - finalTaxAmount2, +}); + +setSelectedPrice(netPrice2 - finalTaxAmount2); +setSelectedTaxamount(finalTaxAmount2); + }; + + const PriceTagDropDownChange = async (e) => { + formRef.current?.setFieldsValue({ PriceTag: e }); + setselectedPriceDropDown(e) + }; + + const PriceTagDropDownChange2 = async (e) => { + formRef.current?.setFieldsValue({ PriceTag2: e }); + setselectedPriceDropDown2(e) + }; + + const onChangeMonthly = () => { + monthly !== true ? setMonthly(true) : setMonthly(false) + } + const onChangeYearly = () => { + yearly !== true ? setYearly(true) : setYearly(false) + } + + + return ( +
    +
    +
    + +
    + +
    + +
    +
    +
    +
    + + + ({ + value: option.AppId, + label: option.AppName, + }))} + label={} + id="AppName" + field="AppName" + fieldState={true} + fieldApi={true} + onChangeFunction={(e) => appDropDownChange(e)} + isOnchanges={formType == "edit" ? true : false} + valueData={selectedAppData} + + optionsNames={{ value: "AppId", label: "AppName" }} + className="field-DropDown" + /> + + + { + await validateSafeInput(value); + + if (value && value.length > 25) { + return Promise.reject("Pricing Name should not exceed 25 characters"); + } + + return Promise.resolve(); + }, + }, + + ]} + > + Pricing Name} + fieldState={true} + fieldApi={true} + id="error2" + autocomplete="off" + onChange={(e) => PricingName(e)} + isOnChange={formType == "edit" ? true : false} + /> + + + + ({ + value: option.TaxId, + label: getOptionLabel(option, selectedTaxId === option.TaxId), + }))} + label={} + id="Tax" + field="Tax" + fieldState={true} + fieldApi={true} + onChangeFunction={(e) => TaxDropDownChange(e)} + isOnchanges={formType == "edit" ? true : false} + valueData={selectedTaxId} + + optionsNames={{ value: "TaxId", label: "TaxName" }} + className="field-DropDown" + /> + +
    +
    + +
    + + Monthly + +
    + + { + if (value >= 0 && value !=null && value != undefined) { + return Promise.resolve(); + } else { + return Promise.reject("Please Enter Valid Net Price "); + } + }, + } : {required: false} + ]} + > + Net Price} + fieldState={true} + fieldApi={true} + onChange={PriceOnChange} + id="error2" + autocomplete="off" + isOnChange={medit == true ? true : false} + /> + + + { + if (value >= 0 && value !=null && value != undefined) { + return Promise.resolve(); + } else { + return Promise.reject("Enter Valid Display Price "); + } + }, + } : {required: false} + ]} + > + Display Price} + fieldState={true} + fieldApi={true} + id="error2" + autocomplete="off" + isOnChange={medit == true ? true : false} + /> + + + { + if (value >= 0 && value !=null && value != undefined && selectedPriceDropDown !=null) { + return Promise.resolve(); + } else { + return Promise.reject("Select Price Tag "); + } + }, + } : {required: false} + ]} + > + ({ + value: option.ConfigId, + label: option.ConfigName, + }))} + label={Price Tag} + id="PriceTag" + field="PriceTag" + fieldState={true} + fieldApi={true} + onChangeFunction={(e) => PriceTagDropDownChange(e)} + isOnChange={medit == true ? true : false} + valueData={selectedPriceDropDown} + + optionsNames={{ value: "ConfigId", label: "ConfigName" }} + className="field-DropDown" + /> + + + { + if (value >= 0 && value !=null && value != undefined) { + return Promise.resolve(); + } else { + return Promise.reject(" Valid Price is Required "); + } + }, + } : {required: false} + ]} + > + Price} + fieldState={true} + fieldApi={true} + id="error2" + autocomplete="off" + isOnChange={SelectedPrice != null ? true : false} + + disabled + /> + + + { + if (value >= 0 && value !=null && value != undefined) { + return Promise.resolve(); + } else { + return Promise.reject("Valid Tax Amount is Required "); + } + }, + } : {required: false} + ]} + > + Tax Amount} + fieldState={true} + fieldApi={true} + disabled + id="error2" + autocomplete="off" + isOnChange={SelectedTaxamount != null ? true : false} + /> + + + { + if (value >= 0 && value !=null && value != undefined && selectedCurrId !=null) { + return Promise.resolve(); + } else { + return Promise.reject("Select Valid Currency "); + } + } + } : { required: false } + ]} + > + ({ + value: option.CurrId, + label: option.CurrName, + }))} + label={} + id="CurrId" + field="CurrId" + fieldState={true} + fieldApi={true} + onChangeFunction={(e) => CurrDropDownChange(e)} + isOnChange={medit == true ? true : false} + valueData={selectedCurrId} + optionsNames={{ value: "CurrId", label: "CurrName" }} + className="field-DropDown" + /> + + + { + if (value > 0 && value < 365) { + return Promise.resolve(); + } else if (value <= 0) { + return Promise.reject("Please enter a number of days more than 0."); + } else { + return Promise.reject("Please enter a number of days less than 365."); + } + }, + } : { required: false } + ]} + > + No of Days} + fieldState={true} + fieldApi={true} + id="error2" + autocomplete="off" + isOnChange={medit == true ? true : false} + /> + +
    +
    +
    + + Yearly + +
    + { + if (value >= 0 && value !=null && value != undefined) { + return Promise.resolve(); + } else { + return Promise.reject("Please Enter Valid Net Price "); + } + }, + } : { required: false } + ]} + > + Net Price} + fieldState={true} + fieldApi={true} + onChange={PriceOnChange2} + id="error2" + autocomplete="off" + isOnChange={yedit == true ? true : false} + /> + + + { + if (value >= 0 && value !=null && value != undefined ) { + return Promise.resolve(); + } else { + return Promise.reject("Enter Valid Display Price "); + } + }, + } : { required: false } + ]} + > + Display Price} + fieldState={true} + fieldApi={true} + id="error2" + autocomplete="off" + isOnChange={yedit == true ? true : false} + /> + + + { + if (value >= 0 && value !=null && value != undefined && selectedPriceDropDown2 !=null) { + return Promise.resolve(); + } else { + return Promise.reject("Select Price Tag"); + } + }, + } : { required: false } + ]} + > + ({ + value: option.ConfigId, + label: option.ConfigName, + }))} + label={} + id="PriceTag" + field="PriceTag" + fieldState={true} + fieldApi={true} + onChangeFunction={(e) => PriceTagDropDownChange2(e)} + isOnChange={yedit == true ? true : false} + valueData={selectedPriceDropDown2} + + optionsNames={{ value: "ConfigId", label: "ConfigName" }} + className="field-DropDown" + /> + + + { + if (value >= 0 && value !=null && value != undefined ) { + return Promise.resolve(); + } + else { + return Promise.reject(" Valid Price is Required "); + } + }, + } : {required: false} + ]} + > + Price} + fieldState={true} + fieldApi={true} + id="error2" + autocomplete="off" + isOnChange={SelectedPrice2 != null ? true : false} + + disabled + /> + + + { + if (value >= 0 && value !=null && value != undefined ) { + return Promise.resolve(); + } else { + return Promise.reject("Valid Tax Amount is Required "); + } + }, + } : {required: false} + ]} + > + Tax Amount} + fieldState={true} + fieldApi={true} + disabled + id="error2" + autocomplete="off" + isOnChange={SelectedTaxamount2 != null ? true : false} + /> + + + { + if (value >= 0 && value !=null && value != undefined && selectedCurrId2 !=null) { + return Promise.resolve(); + } else { + return Promise.reject("Selcet the Currency"); + } + }, + } : {required: false} + ]} + > + ({ + value: option.CurrId, + label: option.CurrName, + }))} + label={} + id="CurrId" + field="CurrId" + fieldState={true} + fieldApi={true} + onChangeFunction={(e) => CurrDropDownChange2(e)} + isOnChange={yedit == true ? true : false} + valueData={selectedCurrId2} + optionsNames={{ value: "CurrId", label: "CurrName" }} + className="field-DropDown" + /> + +
    + +
    + +
    + } + /> +
    +
    +
    +
    +
    +
    + ); +}; + +export default PricingForm; diff --git a/src/Pages/pricingType/pricingTypeList.jsx b/src/Pages/pricingType/pricingTypeList.jsx new file mode 100644 index 0000000..52e8786 --- /dev/null +++ b/src/Pages/pricingType/pricingTypeList.jsx @@ -0,0 +1,279 @@ +import { useState, useEffect,useCallback } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import { Space } from "antd"; +import { DeleteFilled,PlusOutlined,ReloadOutlined } from "@ant-design/icons"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { Tables } from "../../Components/Tables/Table"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { useNavigate,useLocation } from "react-router-dom"; +import Search from '../../Components/Forms/Search.jsx'; +import Buttons from '../../Components/Forms/Buttons'; +import {getPricingType,deletePriceType} from "../../features/priceType/priceType.js"; +import { getSession } from "../../Services/others"; +import { Messages } from "../../Components/Notifications/Messages"; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; +const subDirectory = import.meta.env.BASE_URL + +const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "PricingType", + link: `${subDirectory}setting/pricing`, + }, +]; + +const Pricing = () => { + const navigate = useNavigate(); + const location = useLocation(); + const dispatch = useDispatch(); + + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [TableData, setTableData] = useState([]); + const [filteredInfo, setFilteredInfo] = useState({}); + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [page, setpage] = useState(1); + const SuperAdminUserAccess=useSelector(SuperAdminUserAccessDataSelector) + const UserType = getSession("UserType") + async function fetchData() { + if(location?.state?.Notiffy){ + setMessageType(location?.state?.Notiffy.messageType) + setMessageData(location?.state?.Notiffy.messageData) + + } + + const gettingTableData = await dispatch(getPricingType()).unwrap(); + if (gettingTableData.data?.statusCode === 1) { + setTableData(gettingTableData.data?.data); + } + } + + useEffect(() => { + try { + fetchData(); + } catch (err) { + console.log(err, "err"); + } + }, []); + + + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + }, []); + + + + const handleChange = (pagination, filters, sorter) => { + setFilteredInfo(filters); + setSortedInfo(sorter); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + + + + + //Delete + const statusFormatter = async (row) => { + let deleteData = { + PricingId: row.PricingId , + ActiveStatus: row.ActiveStatus == "A" ? "D" : "A", + UpdatedBy: getSession('UserId') + }; + let response=await dispatch(deletePriceType(deleteData)).unwrap() + if (response?.data?.statusCode == 1){ + fetchData(); + setMessageType("success") + setMessageData(row.ActiveStatus == "A" ? "Pricing Type In-Activated Successfully": "Pricing Type Activated Successfully") + + } + }; + + const onSearch = (value) => { + setSearchedText(value) + } + const onSearchChange =(e) => { + setSearchedText(e?.target?.value) + } + + const columns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "App Name", + dataIndex: "AppName", + key: "AppName", + width: "100px", + align: "left", + render: (text) => ( + {text} + ), + filteredValue: [searchedText], + onFilter: (value, record) => {return ( + String(record.AppName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.PricingName) + .toLowerCase() + .includes(value.toLowerCase()) || + String(record.Price) + .toLowerCase() + .includes(value.toLowerCase()) + + )}, + sorter: (a, b) => a?.AppName?.length - b?.AppName?.length, + sortOrder: sortedInfo.columnKey === "AppName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Pricing Name", + dataIndex: "PricingName", + key: "PricingName", + width: "100px", + align: "left", + render: (text,row) => ( + {row.PricingName}{' (' + (row.NoOfDays > 35 ? "Yearly" : "Monthly")+')'} + ), + filteredValue: filteredInfo.PricingName || null, + onFilter: (value, record) => record.PricingName.includes(value), + sorter: (a, b) => a?.PricingName?.length - b?.PricingName?.length, + sortOrder: + sortedInfo.columnKey === "PricingName" ? sortedInfo.order : null, + ellipsis: true, + }, + { + title: "Net Price", + dataIndex: "NetPrice", + key: "NetPrice", + width: "100px", + align: "right", + render: (text) => {text}, + filteredValue: filteredInfo.NetPrice || null, + onFilter: (value, record) => record.NetPrice.includes(value), + sorter: (a, b) => a?.NetPrice?.length - b?.NetPrice?.length, + sortOrder: sortedInfo.columnKey === "NetPrice" ? sortedInfo.order : null, + ellipsis: true + }, + + { + title: "Price", + dataIndex: "Price", + key: "Price", + width: "100px", + align: "right", + render: (text) => {text}, + filteredValue: filteredInfo.Price || null, + onFilter: (value, record) => record.Price.includes(value), + sorter: (a, b) => a?.Price?.length - b?.Price?.length, + sortOrder: sortedInfo.columnKey === "Price" ? sortedInfo.order : null, + ellipsis: true, + }, + + { + title: "Action", + key: "Action", + dataIndex: "Action", + width: "100px", + align: "center", + render: (_, record,index) => + TableData.length >= 1 ? ( + + + + + + {record.ActiveStatus === "A" ? ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Pricing Type")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> : ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Pricing Type")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> + } + + + + ) : null, + }, + ]; + const data = TableData; + + + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + + }, []) + + const handelAddButton=()=>{ + navigate(`${subDirectory}setting/pricing/new`) + } + + return ( +
    +
    + +
    +
    + +
    +
    +
    + +
    + handelAddButton()} + color="901D77" + icon={} + disabled={UserType === "Super Admin" + ? false + : + SuperAdminUserAccess?.find((e) => e?.ConfigName === "Pricing Type")?.AddAccess === "N"} + + > + OPEN + +
    +
    +
    + {" "} +
    +
    +
    + ); +}; + +export default Pricing; diff --git a/src/Pages/pricingTypeRestaurant/Pricing.jsx b/src/Pages/pricingTypeRestaurant/Pricing.jsx new file mode 100644 index 0000000..cedef7b --- /dev/null +++ b/src/Pages/pricingTypeRestaurant/Pricing.jsx @@ -0,0 +1,277 @@ +import React, { useState, useEffect, useCallback } from 'react' +import { useDispatch, useSelector } from 'react-redux'; +import { Toggle } from '../../Components/Forms/Switch' +import giftimg from '../../images/giftimg.png' +import { ArrowRightOutlined } from '@ant-design/icons'; +import { Messages } from '../../Components/Notifications/Messages'; +import { getPricingType, postFreeOption, } from '../../features/pricingType/pricingType' +import moment from 'moment'; +import { useNavigate } from "react-router-dom"; +import { getSession, sessionStore } from '../../Services/others'; +import { CheckOutlined } from '@ant-design/icons'; +import "slick-carousel/slick/slick.css"; +import "slick-carousel/slick/slick-theme.css"; +import '../../Components/table.scss'; +import '../../Components/restaurant.scss' + + + + + + +const HomesubDirectory = import.meta.env.ENV_BASE_URL + +const PricingDetails = () => { + const [toggleValue, setToggleValue] = useState('Y'); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const navigate = useNavigate() + + const dispatch = useDispatch(); + + const pricingTypeSelector = (state) => state.pricingType.PricingType; + + const pricingData = useSelector(pricingTypeSelector); + + const AppId = getSession("AppId"); + const UserId = getSession("UserId"); + + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + + + }, []) + + const handleToggleChange = (checked) => { + const newToggleValue = checked ? 'Y' : 'M'; + setToggleValue(newToggleValue); + dispatch(getPricingType({ toggleValue: newToggleValue, AppId, UserId })); + + + }; + + + + useEffect(() => { + dispatch(getPricingType({ toggleValue, AppId, UserId })); + + }, [toggleValue, AppId, UserId, dispatch]); + + + const handleStartNow = async (pricingData) => { + const currentDate = new Date(); + const purDate = moment(currentDate).format('YYYY-MM-DD HH:mm:ss'); + const validityStartDate = moment(currentDate).format('YYYY-MM-DD HH:mm:ss'); + let EndDate = moment(currentDate).add(pricingData-1["NoOfDays"], 'days').format('YYYY-MM-DD HH:mm:ss'); + let date = new Date(EndDate); + const EndDateReducedOneDay = date.setDate(date.getDate() - 1); + const validityEndDate = EndDateReducedOneDay.toISOString().slice(0, 19).replace('T', ' '); + console.log(pricingData,"pricingDatapricingData") + if(pricingData["Status"] === "Start Free"){ + if (getSession("UserId")) { + const postData = { + + UserId: getSession("UserId"), + AppId: getSession("AppId"), + PricingId: pricingData["PricingId"], + PurDate: purDate, + PaymentStatus: "S", + LicenseStatus: "A", + Price: pricingData["Price"], + ValidityStart: validityStartDate, + ValidityEnd: validityEndDate, + CreatedBy: getSession("UserId"), + }; + const response = await dispatch(postFreeOption(postData)).unwrap() + if (response?.data?.statusCode == 1) { + setMessageType("success"); + setMessageData(response?.data?.response); + if (getSession("UserId")) { + await reloadhome() + } else { + + await reloadPublicSignin() + + } + } else { + setMessageType("error") + setMessageData(response?.data?.response) + } + } + else { + navigate(`${HomesubDirectory}signin`); + window.location.reload() + } + } else{ + setMessageData('Free Already Used'); + setMessageType('warning') + } + + + + }; + + const reloadhome = () => { + navigate(`${HomesubDirectory}landing-page/home`); + window.location.reload() + } + const reloadPublicSignin = () => { + navigate(`${HomesubDirectory}signin`); + window.location.reload() + } + const handleSubmit = useCallback((pricingData) => { + sessionStore('AppId', pricingData["AppId"]); + sessionStore('AppName', pricingData["AppName"]); + sessionStore('PricingId', pricingData["PricingId"]); + if (getSession("UserId")) { + navigate(`${HomesubDirectory}invoice-detail`); + } else { + navigate(`${HomesubDirectory}public-signup`); + } + + },[]); + + return ( +
    + +
    +

    PRICING

    +

    Simple, transparent pricing

    +
    +

    Choose the package that suits you.No Contracts. No surprise fees.

    + +
    +
    +
    Monthly
    + +
    Yearly + +
    +
    +
    +
    + +
    + +
    + + +
    +
    +
    + {pricingData?.map((featureP, i) => ( featureP["PricingName"].toUpperCase() === "FEATURENAME" &&
    +
    +

    {featureP["PricingName"].toUpperCase()}

    +
    + +
    + {featureP['FeatureDetail']?.map((feature, index) => ( + + {index === 0 &&

     

    } {/* Add a smaller gap */} +

    + + {feature?.Status == "Y"?: feature?.Status == undefined? feature?.FeatName : ""} +

    + +
    + ))} +
    +
    )) } +
    + {[ + pricingData.find((val) => val["PricingName"].toUpperCase() === "FREE"), // Free pricing card object + ...pricingData.filter((val) => val["PricingName"].toUpperCase() !== "FREE" && val["PricingName"].toUpperCase() != "FEATURENAME"), // Other pricing card objects + ].map((val, i) => { + if (val) { + return ( +
    +
    +

    {val["PricingName"].toUpperCase()}

    +
    +
    +
    {val["PricingName"].toUpperCase() == "FREE" ? + () : + val["PricingName"].toUpperCase() == "FEATURENAME" ? + (( +
    + + +
    + )): + (( +
    + ₹{val["NetPrice"]} + ₹{val["DisplayPrice"]} +
    + ))} +
    + +
    + +
    + {val["PricingName"].toUpperCase() === "FREE" ? ( +
    handleStartNow(val)}> + {val["Status"] === "Already Used" ? ( + + ) : ( + <> +

    Start Now

    + + + )} +
    + ) : val["PricingName"].toUpperCase() === "FEATURENAME" ? (
    +
    ) : ( +
    handleSubmit(val)}> + {val["Status"] === "Extend Pack" ? "Extend Pack" : "Start Now"} +
    + + )} +
    + + +
    + + {val["PricingName"].toUpperCase() !== "FREE" && ( + <> + {val['FeatureDetail']?.map((feature, index) => ( + + {index === 0 &&

     

    } {/* Add a smaller gap */} +

    + + {feature?.Status == "Y"?: feature?.Status == undefined? feature?.FeatName : ""} +

    + +
    + ))} + + )}
    +
    + ); + + } else { + return null; // Handle the case where pricingData is empty or does not contain the Free pricing card + } + })} +
    +
    +
    +
    + +
    +
    +
    + ) +} + +export default PricingDetails + + + + diff --git a/src/Pages/publichome/2HomePage.scss b/src/Pages/publichome/2HomePage.scss new file mode 100644 index 0000000..9043172 --- /dev/null +++ b/src/Pages/publichome/2HomePage.scss @@ -0,0 +1,2343 @@ +#viewport { + overflow: hidden; + top: 0; + left: 0; + right: 0; + bottom: 0; +} + +#scroll-container { + position: absolute; + overflow: hidden; + width: 100%; + height: 300%; + // z-index: 10; + // display: flex; + // justify-content: center; + // backface-visibility: hidden; + // transform-style: preserve-3d; + + background-image: linear-gradient(rgba(255, 255, 255, 0.07) 2px, + transparent 2px), + linear-gradient(90deg, rgba(255, 255, 255, 0.07) 2px, transparent 2px), + linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), + linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px); + background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; + background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px; +} + +.Home_Style { + overflow: hidden; +} + +.Pro-header { + position: fixed; + top: 0; + width: 100%; + z-index: 3; +} + +.progress-container { + background-color: rgba(150, 150, 150, 0.6); + height: 3px; + width: 100%; +} + +.progress-bar { + background-color: #8f1e78; + height: 5px; + width: 0%; +} + +.content_container { + margin: 2vw 0vw; +} + +.firsttxt { + display: flex; + flex-wrap: wrap; + justify-content: center; + font-family: var(--HEADING_FONT_FAMILY); + // width: max-content; + padding: 0.2rem 0.6rem; + margin: 0.3rem 0rem; + font-weight: 400; + font-size: 12px; + line-height: 14px; + text-transform: uppercase; + letter-spacing: 0.5em; + color: #030303; + // background-color: var(--SELECTED_COLOR); + border-radius: 4px; + // margin: 2vw 75vh; + // width: 30vw; + // height: 2.5vh; +} + +.secondtxt { + display: flex; + flex-wrap: wrap; + justify-content: center; + font-family: "Gilroy"; + font-style: normal; + font-weight: 400; + font-size: clamp(1rem, 10vw, 2rem); + text-align: center; + color: #000000; +} + +.secondtxt2 { + display: flex; + flex-wrap: wrap; + justify-content: center; + align-items: center; + position: relative; + // text-transform: uppercase; + font-family: var(--HEADING_FONT_FAMILY); + font-style: normal; + font-weight: 600; + font-size: clamp(1rem, 10vw, 4.5rem); + // line-height: 103.5%; + text-align: center; + color: #000000; +} + +.thirdtxt { + display: flex; + justify-content: center; + width: 80vwx; + font-family: var(--PARA_FONT_FAMILY); + font-style: normal; + font-weight: 400; + font-size: clamp(1rem, 10vw, 1rem); + line-height: 24px; + text-align: center; + color: #000000; +} + +// BUTTON ............................. + +.startbtn { + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + font-family: var(--HEADING_FONT_FAMILY); + position: relative; + align-items: center; + box-sizing: border-box; + font-size: 17px; + font-weight: 400; + width: 300px; + height: 60px; + border-radius: 14px; + transition-duration: 0.2s; + letter-spacing: 0.1px; + text-transform: uppercase; + background-color: #9e1783; + color: #ffffff; + margin: 2.5rem 0; + border: none !important; +} + +.startbtn:hover { + // border: 0.87069px solid #000000; + // background-color: #fff; + + border: black solid 1px !important; + background-color: #ffffff; + color: #000000; + transition-duration: 0.2s; + letter-spacing: 0.2px; + width: 320px; + height: 60px; + cursor: pointer; +} + +.startbtn { + border: 1px solid; + overflow: hidden; + position: relative; + + span { + z-index: 20; + } + + &:after { + background: #fff; + content: ""; + height: 155px; + left: -75px; + opacity: 0.2; + position: absolute; + top: -50px; + transform: rotate(35deg); + transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1); + width: 50px; + z-index: -10; + } +} + +.startbtn:hover { + &:after { + left: 120%; + text-decoration: none; + transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1); + } +} + +.StartBtn_container { + height: 140px; + justify-content: center; + position: relative; + align-items: center; +} + +.chatBOT { + margin: 2vw 3vh; + z-index: 3; + position: fixed !important; + border-radius: 28px; + background: #ffffff; + box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.2); + border: none; + cursor: pointer; +} + +// IMGS ................ + +.leftImg { + margin: 0; + position: absolute; + top: 36%; + left: -4%; + width: 40vw; + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, 20%); + z-index: -120; +} + +.leftImg { + transform: translatey(0px); + animation: float 6s ease-in-out infinite; +} + +.rightImg { + margin: 0; + position: absolute; + bottom: -2%; + right: 1%; + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + z-index: -10; + width: 30vw; +} + +.rightImg { + transform: translatey(0px); + animation: float 3s ease-in-out infinite; +} + +@keyframes float { + 0% { + transform: translatey(0px); + } + + 50% { + transform: translatey(-20px); + } + + 100% { + transform: translatey(0px); + } +} + +.Public_home_Texts { + margin: 0vw 1vh; + // padding: 5vw 3vh; + display: flex; + flex-direction: column; + gap: 0.31rem; + align-items: center; +} + +// befnifit + +.benifit-cards { + display: flex; + flex-wrap: wrap; + flex-direction: row; + row-gap: 1rem; + justify-content: center; + align-items: center; + width: 14dvw; + padding: 2vw 2vh; + border-radius: 8px; + background-color: #ffffff; +} + +.benifit-cards:hover { + background-color: #9ef3a9; + border: none !important; +} + +.hpcard-container { + justify-content: center; + width: 100% +} + + +.apptabapps { + display: flex; + justify-content: flex-start; + flex-direction: column; + padding: 0.5vw 0.5vh; + margin: 1.5vw 0vh; + transition: cubic-bezier(0.42, 0, 0.58, 1); + // column-gap: 2vw; + // row-gap: 4rem; + // width: 100%; +} + +.AppMastdiv .apptabapps { + flex-direction: row; + display: flex; + flex-wrap: wrap; + // height: 66vh; + height: 80%; + // width: 83vw; + //naresh + width: 82vw; + overflow: auto; + justify-content: center; +} + +@media (min-width: 279px) and (max-width: 653px) { + + .AppMastdiv .apptabapps { + width: 40vw; + } + + .tab_cont { + padding: 0.5vw 2vh !important; + } + + .tabapps { + justify-content: flex-start !important; + } + + .appSubcatDiv { + justify-content: center !important; + overflow: hidden !important; + } + + .hpcard-container { + width: 100% !important; + overflow: auto; + justify-content: flex-start !important; + gap: 0 !important; + } + + .secondtxt { + font-size: 35px !important; + } + + .thirdtxt { + font-size: 14px !important; + } + + .grad-header { + font-size: 7vh !important; + } + + // .Public_Overall_Body{ + // min-width: fit-content; + // } + .Home_Style { + width: 100vw; + margin: 0vw 0vh !important; + } + + .secondtxt2 { + font-size: 7vh !important; + } + + .leftImg { + margin: 0; + position: absolute; + display: none !important; + top: 66%; + width: 40vw; + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, 20%); + z-index: -120; + } + + .rightImg { + top: 15%; + width: 25vw; + } + + .appContainer { + // margin: 0vw 9vh !important; + } + + .Subs_container { + font-size: 20px !important; + line-height: none !important; + } + + .Video_Sub_Left_cont { + font-size: 16px !important; + } + + .Support_Sub_Left_cont { + font-size: 20px !important; + width: 50vw !important; + } + + .floatHandImg { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .extra_small_nav { + display: none !important; + } +} + +.appContainer { + display: flex; + flex-wrap: wrap; + flex-direction: row; + justify-content: center; + align-items: center; + // width: 100vw; + // padding: 1vw 0vh; + flex-direction: row; + column-gap: 1rem; + row-gap: 0.5rem; +} + +.storebtn { + flex-direction: row; + // margin: 0 0 3em 0; + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + width: 165px; + font-size: 16px; + height: 55px; + align-items: center; + color: rgb(0, 0, 0); + background: rgba(255, 255, 255, 0.5); + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); + border-radius: 10px; + // transform: scale(1); + transition-duration: 0.6s; +} + +.storebtn:hover { + flex-direction: row; + // margin: 0 0 3em 0; + display: flex; + flex-wrap: wrap; + // transform: scale(1.08); + justify-content: space-evenly; + align-items: center; + border-radius: 10px; + transition-duration: 0.6s; + cursor: pointer; +} + +.shine { + color: rgb(0, 0, 0); + font-size: 14px; + display: flex; + align-items: center; + text-decoration: none; + // text-transform: uppercase; + display: inline-block; + position: relative; + -webkit-mask-image: linear-gradient(-75deg, + rgba(0, 0, 0, 0.6) 10%, + #000000 1%, + rgba(0, 0, 0, 0.6) 100%); + -webkit-mask-size: 200%; + animation: shine 2s linear infinite; +} + +@keyframes shine { + from { + -webkit-mask-position: 150%; + } + + to { + -webkit-mask-position: -50%; + } +} + +// ... ANIMATION BG .................... + +.context { + width: 100%; + position: absolute; + top: 50vh; +} + +.context h1 { + text-align: center; + color: #b85151; + font-size: 50px; +} + +.area { + // background: #4e54c8; + // background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8); + width: 100vw; + // position: relative; +} + +.circles { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: -32; +} + +.circles li { + position: absolute; + display: block; + list-style: none; + width: 20px; + height: 20px; + background: rgba(222, 57, 57, 0.2); + animation: animate 25s linear infinite; + bottom: -150px; +} + +.circles li:nth-child(1) { + left: 25%; + width: 80px; + height: 80px; + animation-delay: 0s; +} + +.circles li:nth-child(2) { + left: 10%; + width: 20px; + height: 20px; + animation-delay: 2s; + animation-duration: 12s; +} + +.circles li:nth-child(3) { + left: 70%; + width: 20px; + height: 20px; + animation-delay: 4s; +} + +.circles li:nth-child(4) { + left: 40%; + width: 60px; + height: 60px; + animation-delay: 0s; + animation-duration: 18s; +} + +.circles li:nth-child(5) { + left: 65%; + width: 20px; + height: 20px; + animation-delay: 0s; +} + +.circles li:nth-child(6) { + left: 75%; + // width: 110px; + // height: 110px; + animation-delay: 3s; +} + +.circles li:nth-child(7) { + left: 35%; + width: 150px; + height: 150px; + animation-delay: 7s; +} + +.circles li:nth-child(8) { + left: 50%; + width: 25px; + height: 25px; + animation-delay: 15s; + animation-duration: 45s; +} + +.circles li:nth-child(9) { + left: 20%; + width: 15px; + height: 15px; + animation-delay: 2s; + animation-duration: 35s; +} + +.circles li:nth-child(10) { + left: 85%; + width: 15px; + height: 15px; + animation-delay: 0s; + animation-duration: 11s; +} + +@keyframes animate { + 0% { + transform: translateY(0) rotate(0deg); + opacity: 1; + border-radius: 0; + } + + 100% { + transform: translateY(-1000px) rotate(720deg); + opacity: 0; + border-radius: 50%; + } +} + +.Spec_container { + width: 100%; + display: flex; + flex-direction: column; + align-items: center; + background-color: ghostwhite; + padding: 6rem 0rem; + box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset !important; + z-index: 0; + // flex-wrap: wrap; + // justify-content: space-around; +} + +.swipee-icon { + cursor: pointer; + width: 40px; + font-size: 15px; + height: 40px; + border: none; + border-radius: 6px; + color: #000; + font-weight: 600; + background-color: rgba(63, 63, 63, 0.075); + display: flex; + align-items: center; + justify-content: center; +} + +.swipee-icon:hover { + cursor: pointer; + width: 40px; + font-size: 15px; + height: 40px; + border: none; + border-radius: 6px; + background-color: rgba(63, 63, 63, 0.158); +} + +.SpecSliderDiv { + display: flex; + width: 100vw; + flex-direction: row; + column-gap: 3rem; + align-items: center; + justify-content: center; + padding: 5rem 1rem; + scroll-behavior: smooth; +} + +.cards-list { + z-index: 0; + overflow: auto; + height: 36dvh; + scroll-behavior: smooth; + display: flex !important; + justify-content: space-evenly !important; +} + +.card { + position: relative; + width: 16rem; + // height:5dvh; + padding: 1rem 1rem; + margin: 1rem 0rem; + background-color: #fff; + border-radius: 10px; + cursor: pointer; + display: flex; + transform: scale(0.9); + flex-wrap: wrap; + transition: 0.2s; +} + +.card:hover { + transform: scale(1); + box-shadow: 0px 4px 35px rgba(0, 0, 0, 0.1); +} + +.card .card_image { + width: 150px; + height: auto; + border-radius: 40px; +} + +.card .card_image img { + width: inherit; + height: inherit; + border-radius: 40px; + object-fit: cover; +} + +.card .card_title { + text-align: center; + border-radius: 0px 0px 40px 40px; + font-family: sans-serif; + margin-top: 8px; + + position: relative; + font-family: "Gilroy"; + font-style: normal; + font-weight: 500; + font-size: 16px; + line-height: 22px; + /* identical to box height */ + color: #000000; + text-align: left; +} + +.card_description { + position: relative; + font-family: "poppins"; + font-style: normal; + font-weight: 400; + font-size: 13px; + line-height: 22px; + /* identical to box height */ + color: #4b4b4b; + text-align: left; +} + +.card_link { + font-family: "Gilroy"; + font-style: normal; + font-weight: 400; + font-size: 14px; + /* identical to box height */ + padding: 3vw 0vh; + color: #0f67da; + text-align: left; +} + +.Benifit-card { + display: flex; + align-items: center; + justify-content: center; + background-color: #f3f3f381; + padding: 0.5rem 1rem; + border-radius: 6px; +} + +.Benifit { + display: flex; + align-items: center; + justify-content: space-evenly; + text-align: left; + color: #000000; + transform: scale(1); + transition-duration: 0.6s; +} + +.Benifit:hover { + display: flex; + align-items: center; + justify-content: space-evenly; + text-align: left; + transition-duration: 0.6s; + cursor: pointer; + transform: scale(1.1); +} + +.marquee-container { + overflow: hidden; + white-space: nowrap; + width: 90vw; + position: relative; +} + +.marquee-content { + display: inline-block; + animation: marqueeAnimation 23s linear infinite; +} + +@keyframes marqueeAnimation { + from { + transform: translateX(0%); + } + + to { + transform: translateX(-75%); + } +} + +.marquee-container.paused .marquee-content { + animation-play-state: paused; +} + +.AppSliderDiv { + display: flex; + // column-gap: 3rem; + // width: 80vw; + flex-direction: row; + overflow-x: hidden; + align-items: center; + justify-content: center; + // padding: 1rem 1rem; + scroll-behavior: smooth; + + .Nav-templates{ + flex-direction: row; + } +} + +.backtoTOpbtn { + width: 40px; + height: 40px; + background-color: #f3f3f3; + border: none; + border-radius: 25px; + position: fixed; + bottom: 0; + right: 25px; + font-size: 14px; + z-index: 3; + transform: scale(1.1); + transition-duration: 0.6s; +} + +.backtoTOpbtn:hover { + z-index: 3; + transform: scale(1.3); + cursor: pointer; + transition-duration: 0.6s; +} + +.showmore_link { + font-weight: 400; + font-size: 16px; + color: #0f67da; + display: flex; + flex-wrap: wrap; + justify-content: center; +} + +.floatHand { + position: absolute !important; + margin-top: -10rem; +} + +.floatHandImg { + width: 23vw !important; +} + +.title-white { + color: white; +} + +.title-black { + color: black; +} + +.app_head { + display: none; +} + +.cards-list { + z-index: 0; + width: 100%; + display: flex; + justify-content: space-around; + flex-wrap: wrap; + // margin: -17vw 10vw; + // padding: 0vw 29vh; +} + +@media (min-width: 279px) and (max-width: 654px) { + .AppMastdiv .apptabapps { + width: 50vw; + height: 60vh !important; + margin: 1rem 0rem !important; + } + + .carosel-width { + width: 85vw !important; + } + + .AppSliderDiv { + column-gap: 0.5rem !important; + } + + .ModuleCard { + margin: 18px 0px !important; + } + + .card { + // border-radius: 40px; + cursor: pointer; + transition: 0.4s; + column-gap: 0.5rem !important; + width: 13rem; + // height:45dvh; + gap: 0 !important; + } + + .cards-list { + z-index: 0; + flex-direction: row; + column-gap: 0rem; + height: 79dvh !important; + // width: 100%; + // height: 90dvh; + margin: 1rem 1.2rem; + } + + .tabapps { + justify-content: unset !important; + padding: 0.5vw 0vh !important; + } + + .Home_Style { + // width:510px; + overflow: hidden; + } + + .nav { + display: none; + } + + .footer_container { + padding: 3vw 5vh !important; + justify-content: space-between !important; + } + + .Support_container { + background: none !important; + } + + .storebtns { + width: 40px !important; + height: 40px !important; + font-size: 0; + padding: 0vw 4vh; + } + + .storebtn { + width: 40px !important; + height: 60px !important; + font-size: 0; + padding: 0vw 4vh; + margin: 0vw 1vh; + right: 5rem; + align-content: center; + } + + .app_head { + display: flex; + justify-content: center; + margin: 2vw 0vh; + } + + .Spec_container { + // width: 100vw; + flex-direction: column; + column-gap: 2rem; + padding: 2vw 0vh; + justify-content: space-between !important; + } + + .floatHandImg { + width: 45vw !important; + } + + .extra_small_nav { + display: none !important; + } +} + +@media (min-width: 280px) and (max-width: 499px) { + // .AppMastdiv .apptabapps{ + // width: 20vw; + // } + + .publictopDIv { + padding: 3rem 0rem !important; + } + + .carouselDesc { + font-size: 12px !important; + } + + .Pozotxt { + font-size: 66px !important; + } + + .Valueofpozo_texts { + flex-direction: row !important; + align-items: center !important; + } + + .firsttxt { + margin: 3rem 1rem 1rem 1rem; + font-weight: 400; + font-size: 12px; + line-height: 14px; + text-transform: uppercase; + letter-spacing: 0.1em; + } + + .secondtxt { + font-size: 16px !important; + } + + .secondtxt2 { + font-size: 5vh !important; + } + + .AppMastdiv .apptabapps { + height: 55vh !important; + margin: 0rem 0rem !important; + } + + .SubModuleCard { + padding: 1px 9px; + margin: 1px 1px; + height: 43px; + width: 68px !important; + font-size: 10px; + } + + .appSubcatDiv { + padding: 1rem 0rem !important; + } + + .swipee-sliderDiv { + padding: 3rem 0.6rem !important; + } +} + +@media (min-width: 720px) and (max-width: 1080px) { + .AppMastdiv .apptabapps { + width: 70vw; + } + + .Valueofpozo_container { + flex-wrap: wrap !important; + flex-direction: column; + } + + .showmore_link { + margin: 20vh 0vw; + } + + .ModuleCard { + margin: 18px 2px !important; + } + + .card { + // border-radius: 40px; + cursor: pointer; + transition: 0.4s; + column-gap: 1rem !important; + width: 16rem; + // height:45dvh; + } + + .img_moc_cont { + display: none; + } + + .vjs-poster { + display: none; + } + + .extra_small_nav { + // display: none; + } + + .tab_container { + height: 62vh !important; + } + + .cards-list { + z-index: 0; + width: 100%; + display: flex; + justify-content: space-around; + flex-wrap: wrap; + } + + .appslist { + display: flex; + align-items: center; + justify-content: center; + width: 100%; + } + + // .secondtxt{ + // font-size: 4vw; + // } + // .secondtxt2{ + // font-size: 5vw ; + // } + // .thirdtxt{ + // font-size: 2vw; + // } +} + +.Spec-header { + font-size: clamp(0.5rem, 10vw, 2.5rem); + text-align: center; +} + +.forthtxt { + display: flex; + flex-wrap: wrap; + justify-content: center; + font-family: var(--HEADING_FONT_FAMILY); + font-style: normal; + font-weight: 500; + font-size: 48px; + margin: 1vh 0vw; + text-align: center; + color: #000000; +} + +.fifthtxt { + display: flex; + flex-wrap: wrap; + justify-content: center; + position: relative; + font-family: "Poppins"; + font-style: normal; + font-weight: 400; + font-size: clamp(0.5rem, 10vw, 1rem); + margin: 1vh 0vw; + text-align: center; + color: #3f3f3f; +} + +.bighandemoji { + position: absolute; + width: 369.98px; + height: 277.49px; + left: -19px; + top: 100rem; + transform: rotate(-18.84deg); +} + +.emojis { + position: relative; + width: 77px; + height: auto; +} + +// .Valueofpozo_container { +// display: flex; +// flex-direction: row; +// // flex-wrap: wrap; +// padding: 5rem 3rem; +// align-items: center; +// color: #fff; +// width: 100%; +// // height: 500px; +// background-repeat: no-repeat; +// background-image: url("https://images.unsplash.com/photo-1507914372368-b2b085b925a1?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"); +// background-color: wheat; +// } + +.Valueofpozo_container { + display: flex; + flex-direction: row; + padding: 5rem 3rem; + align-items: center; + color: #fff; + width: 100%; + position: relative; +} + +.Valueofpozo_container::before { + content: ""; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: -1; + background-image: url("https://images.unsplash.com/photo-1507914372368-b2b085b925a1?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"); + background-repeat: no-repeat; + background-size: cover; + filter: blur(3px); +} + +.valuesofpozo {} + +.txtValue { + font-size: clamp(1rem, 12vh, 4rem); + font-family: "Gilroy"; + font-weight: 600; +} + +.benifits_box { + display: flex; + justify-content: space-between; + flex-wrap: wrap; + padding: 2vh 2vw; +} + +.Benifits_container { + margin: 0px auto; + width: 90%; +} + +.tab_container { + // width:90vw; + height: 30vh; + display: flex; + margin: 1vw 1vh; + flex-wrap: wrap; + flex-direction: row; + // border: #000 solid 1px; + // background-color: #F4EAF2; + transition: cubic-bezier(0.42, 0, 0.58, 1); + // transform: rotate(90deg); + overflow-x: scroll; + overflow-x: hidden; +} + +.TabAppDiv { + // padding: 3rem 5rem; + width: 100%; + overflow-x: scroll; + overflow-y: hidden; +} + +.Apps_container { + display: flex; + flex-direction: column; + align-items: center; + width: 100%; + margin: 3rem 0rem; +} + +.swipee-sliderDiv { + padding: 3rem 2rem; + width: 100%; + background-color: #f0f0fb; +} + +.tabapps { + display: flex; + justify-content: flex-start; + // flex-wrap: wrap; + flex-direction: column; + padding: 0.5vw 0.5vh; + margin: 1.5vw 0vh; + // transform: rotate(-90deg); + transition: cubic-bezier(0.42, 0, 0.58, 1); + // column-gap: 2vw; + // row-gap: 4rem; + // width: 100%; +} + +.selected { + border: 1px solid #ff4d4f; +} + +.tab_cont { + display: flex; + justify-content: center; + flex-wrap: wrap; + align-items: center; + padding: 0.5vw 5vh; + height: 230px; + width: 220px; + flex-direction: row; + border-radius: 8px; + row-gap: 1rem; + background-color: ghostwhite; + font-family: "Poppins"; + text-align: center; + cursor: pointer; + transform: scale(0.9); + font-size: 14px; + transition: 0.2s; + border: none; +} + +.tab_cont:hover { + transform: scale(0.95); +} + +.tab_cont:active { + color: #8f1e78; + background-color: rgb(255, 255, 255); + border: #000 solid 1px; +} + +// ************************ + +.input-style { + opacity: 0; + position: absolute; +} + +.label { + display: flex; + width: max-content !important; + // font-family: "Gilroy"; + // font-weight: 600; + // font-size: 14px; + cursor: pointer; +} + +.input-style:checked+span { + // background-color: #9025781a; + border: solid 1px #000; + // color: #902578; + color: #000; + border-radius: 6px; + + &:hover, + &:focus, + &:active {} +} + +.ModuleCard-style { + opacity: 0; + position: absolute; +} + +.label { + display: flex; + width: max-content !important; + // font-family: "Gilroy"; + // font-weight: 600; + // font-size: 14px; + cursor: pointer; +} + +.ModuleCard-style:checked+span { + background-color: #fff; + // color: #902578; + box-shadow: 0px 4px 35px rgba(0, 0, 0, 0.1); + margin: 18px 25px; + border-radius: 12px; + transform: scale(1); + + // border: 1px solid #000; + &:hover, + &:focus, + &:active {} +} + +.btn-option2 { + display: flex; + align-items: center; + // padding: 0vw 2vh; + width: max-content !important; + // background-color: #ffffff; + padding: 5px 10px; +} + +.ModuleCard { + display: flex; + align-items: center; + flex-direction: column; + padding: 30px 0px; + margin: 18px 0px; + height: 210px; + justify-content: center; + color: #000; + width: 205px !important; + transform: scale(0.95); + border-radius: 12px; + transition: 0.2s; + background-color: #ffffff; +} + +.ModuleCard:hover { + margin: 18px 0px; + transform: scale(1); + + cursor: pointer; + box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.1); +} + +.SubModuleCard-style { + opacity: 0; + position: absolute; +} + +.label { + display: flex; + width: max-content !important; + // font-family: "Gilroy"; + // font-weight: 600; + // font-size: 14px; + cursor: pointer; +} + +.SubModuleCard-style:checked+span { + background-color: #fff; + // color: #902578; + box-shadow: 0px 4px 35px rgba(0, 0, 0, 0.1); + border-radius: 6px; + font-size: 13px; + + // border: 1px solid #000; + &:hover, + &:focus, + &:active {} +} + +.btn-option2 { + display: flex; + align-items: center; + // padding: 0vw 2vh; + width: max-content !important; + // background-color: #ffffff; + padding: 5px 10px; +} + +.SubModuleCard { + display: flex; + align-items: center; + flex-direction: column; + padding: 1px 10px; + margin: 1px 1px; + height: 60px; + cursor: pointer; + justify-content: center; + color: #000; + width: 110px !important; + font-size: 13px; + background-color: #e9e9e952; +} + +.btn-option2:hover { + border: 1px solid black; + border-radius: 6px; +} + +.sub_tab_cont { + display: flex; + justify-content: center; + flex-wrap: wrap; + padding: 0.6vw 6vh; + width: fit-content; + flex-direction: row; + border-radius: 25px; + row-gap: 1rem; + font-size: 16px; + background-color: #35b856; + border: none; + color: #fff; + font-family: var(--HEADING_FONT_FAMILY); + transition-duration: 0.6s; + font-weight: 400; + text-transform: uppercase; +} + +.sub_tab_cont:hover { + display: flex; + justify-content: center; + flex-wrap: wrap; + padding: 0.5vw 6vh; + width: fit-content; + flex-direction: row; + border-radius: 25px; + row-gap: 1rem; + color: #000000 !important; + background-color: #ffffff; + transition-duration: 0.6s; + border: #000 solid 1px; + cursor: pointer; + font-size: 15px; + font-family: var(--HEADING_FONT_FAMILY); + font-weight: 400; + text-transform: uppercase; +} + +.sub_tab_cont:focus { + color: #000000 !important; + background-color: rgb(255, 255, 255); + border: #000 solid 1px; +} + +.tab_conetent { + display: flex; + justify-content: center; + flex-wrap: inherit; + font-size: 16px; + font-weight: 600; + text-transform: uppercase; + align-items: center; + flex-direction: column; + // row-gap: inherit; +} + +.Video_container { + display: flex; + justify-content: space-evenly; + align-items: center; + // flex-wrap: wrap; + padding: 1vw 2vh; + margin: 3vw 0vh; +} + +.Video_Sub_container { + display: flex; + justify-content: center; + flex-wrap: wrap; + flex-direction: row; + // padding: 1vw 10vh; + margin: 3vw 0vh; + line-height: 36px; +} + +.video_cont { + width: 30vw; +} + +.img_moc_cont { + width: 30vw; +} + +.Video_Sub_Left_cont { + font-family: "Gilroy" !important; + font-weight: 500; + font-size: 44px; + padding: 1vw; + color: #0c0c0c; +} + +.Subs_container { + display: flex; + width: 100vw; + justify-content: center; + flex-wrap: wrap; + flex-direction: row; + // padding: 0vw 10vh; + margin: 3vw 0vh; + font-size: 38px; + font-family: "Gilroy"; + font-weight: 400 !important; + color: #000000; + text-align: center; + + // -webkit-text-stroke-width: 1px; + // -webkit-text-stroke-color: black; +} + +.Pozotxt { + -webkit-text-stroke-width: 1px; + color: transparent; + font-size: 80px; + font-weight: 600; + -webkit-text-stroke-color: rgb(255, 255, 255); +} + +.Subs_Sub_Right_cont { + display: flex; + justify-content: center; + flex-wrap: wrap; + flex-direction: row; + padding: 0vw 0vh; + margin: 1.5vw 74vh; +} + +.try_btn { + display: flex; + flex-wrap: wrap; + justify-content: center; + position: relative; + align-items: center; + box-sizing: border-box; + font-family: "Gilroy"; + font-size: 20px; + font-weight: 400; + width: 300px; + height: 55px; + border-radius: 50px; + transition-duration: 0.6s; + background-color: #52c41a; + color: rgb(255, 255, 255); +} + +.try_btn:hover { + border: 0.87069px solid #000000; + background-color: #ffffff; + color: rgb(0, 0, 0); + transition-duration: 0.6s; + letter-spacing: 1px; + cursor: pointer; +} + +.try_btn { + border: 1px solid; + overflow: hidden; + position: relative; + + span { + z-index: 20; + } + + &:after { + background: #fff; + content: ""; + height: 155px; + left: -75px; + opacity: 0.2; + position: absolute; + top: -50px; + transform: rotate(35deg); + transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1); + width: 50px; + z-index: -10; + } +} + +.try_btn:hover { + &:after { + left: 120%; + transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1); + } +} + +.app_link_content { + display: flex; + justify-content: space-around; + align-items: left; + flex-wrap: wrap; + flex-direction: row; + margin: 1vw 5vh; +} + +.app_link_conetent { + display: flex; + justify-content: space-evenly; + flex-wrap: wrap; + padding: 0.5vw 2vh; + width: fit-content; + flex-direction: row; + border-radius: 8px; + row-gap: 1rem; + color: #000000 !important; + font-size: 14px !important; + font-weight: 400; +} + +.Support_container { + display: flex; + justify-content: space-around; + margin: 5vw 3vw; + border-radius: 20px; +} + +.Support_Sub_container { + display: flex; + justify-content: center; + // margin: 6vw 6vh; + align-items: center; +} + +.Support_Sub_Left_cont { + font-family: "Gilroy" !important; + font-weight: 500; + font-size: 26px; + width: 268px; + color: #0c0c0c; +} + +.Support_cont { + display: flex; + flex-wrap: wrap; + justify-content: center; + width: 100%; +} + +.img_support { + width: 100%; +} + +.appContainer2 { + display: flex; + justify-content: center; + align-items: center; + width: 100%; + margin: 24px 0px; + height: auto; + line-height: 20px; +} + +.playstorebtns { + flex-direction: row; + break-before: always; + margin: 0 0 3em 0; + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + position: relative; + width: 145px; + height: 49px; + align-items: center; + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); + border-radius: 10px; + transition-duration: 0.6s; +} + +.playstorebtns:hover { + flex-direction: row; + break-before: always; + margin: 0 0 3em 0; + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + position: relative; + width: 210px; + height: 49px; + align-items: center; + border: 1px solid #000; + // box-shadow: 0px 4px 15px rgba(229, 129, 129, 0.1); + border-radius: 10px; + transition-duration: 0.6s; + cursor: pointer; +} + +.phone-btn { + flex-direction: row; + break-before: always; + display: flex; + flex-wrap: wrap; + justify-content: center; + position: relative; + width: 57px; + height: 32px; + padding: 0vw 2vh; + align-items: center; + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); + border-radius: 10px; +} + +// .content-list { + +// z-index: 0; +// width: 100%; +// display: grid; +// width: 500px; +// gap: 20px 50px; +// } + +// .content{ +// position: relative; +// bottom: 8rem;; +// width:260px; +// row-gap: 25px; +// height: 50px; +// top:1rem; +// border-radius: 8px; +// cursor: pointer; +// background-color: #e1e1e1; +// transition: 0.4s; + +// } + +.card .card_image { + width: 150px; + height: auto; + border-radius: 40px; +} + +.card .card_image img { + width: inherit; + height: inherit; + border-radius: 40px; + object-fit: cover; +} + +.card .card_emoji { + width: 50px; + height: auto; + border-radius: 40px; +} + +.card .card_emoji img { + width: inherit; + height: inherit; + border-radius: 40px; + object-fit: cover; +} + +.smol-flexbox-grid { + --min: 10ch; + --gap: 5vw; + display: flex; + flex-direction: row; + flex-wrap: wrap; + gap: var(--gap); +} + +.smol-flexbox-grid>* { + flex: 1 1 var(--min); + margin: 2vh 0vw; +} + +/* Additional demo styles from SmolCSS.dev + Not all styles may be needed for this pen */ +body>ul { + list-style: none; + margin: 0; + + &:not([data-padding-unset]) { + padding: 0; + } +} + +[class*="smol"]:not([data-component])>*:not([data-unstyled]) { + display: grid; + font-size: clamp(2.7rem, 4vw, 2.5rem); + min-width: 10vw; + font-weight: bold; + text-align: center; + border-radius: 0.15em; + background: rgba(255, 255, 255, 0.6); + box-shadow: 0px 5.25331px 26.3077px rgba(0, 0, 0, 0.08); + border-radius: 13.1333px; + transition: 0.4s; + + &:not([data-text]) { + place-content: center; + justify-content: normal; + } + + &[data-text] { + font-size: 1.15rem; + text-align: center; + } + + &:hover { + background: rgba(255, 255, 255, 0.6); + cursor: pointer; + border: #7d7d7d solid 0.1px; + transition: 0.4s; + } +} + +[data-container-style] { + outline: 2px dotted #29344b; +} + +.publicHomeFtr { + display: flex; + justify-content: space-between; + flex-direction: row; + flex-wrap: wrap; + row-gap: 2rem; + column-gap: 2rem; + padding: 2rem 1rem; + font-size: 14px; + position: relative; + bottom: 0; + background-color: #e4e4e4; + width: 100%; +} + +.Public_Overall_Body .footer_container { + background: #e8ecf1; + color: #000000; + display: flex; + justify-content: space-around; + flex-wrap: wrap; + row-gap: 2rem; + width: 100%; + bottom: 0; + position: relative; + height: auto; + // padding:3vw 15vh; + // margin: 0px 0px 1.2rem; + font-family: "Gilroy"; + font-weight: 400; + font-size: 18px; + line-height: 32px; +} + +.ft_sub_container { + padding: 3vw 1vh; + font-family: "Poppins"; + font-size: 14px; + text-align: center; + text-decoration: none; +} + +.privacycol { + text-decoration: none !important; + color: rgb(79, 79, 79); +} + +.footer-links { + padding-left: 0; + list-style: none; + margin: 1rem 0px; +} + +.footer-links li { + display: block; +} + +.footer-links a { + font-family: "Poppins"; + font-style: normal; + font-weight: 400; + font-size: 14px; + line-height: 10px; + color: #000000; + text-decoration: none; + opacity: 0.9; +} + +.footer-links a:active, +.footer-links a:focus, +.footer-links a:hover { + color: #c5176e; + text-decoration: none; +} + +.footer-links.inline li { + display: inline-block; +} + +.social-icons { + padding-left: 0; + margin-bottom: 0; + list-style: none; + margin: 1rem 0px; +} + +.social-icons li { + display: inline-block; + margin-bottom: 4px; +} + +.social-icons li.title { + margin-right: 15px; + text-transform: uppercase; + color: #96a2b2; + font-weight: 700; + font-size: 13px; +} + +.social-icons a { + background-color: #eceeef; + color: #000000; + font-size: 16px; + display: inline-block; + line-height: 44px; + width: 44px; + height: 44px; + text-align: center; + margin-right: 8px; + border-radius: 100%; + -webkit-transition: all 0.2s linear; + -o-transition: all 0.2s linear; + transition: all 0.2s linear; +} + +.social-icons a:active, +.social-icons a:focus, +.social-icons a:hover { + color: #fff; + background-color: #33cc38; +} + +.social-icons.size-sm a { + line-height: 34px; + height: 34px; + width: 34px; + font-size: 14px; +} + +.social-icons a.facebook:hover { + background-color: #33cc38; +} + +.social-icons a.twitter:hover { + background-color: #33cc38; +} + +.social-icons a.linkedin:hover { + background-color: #33cc38; +} + +.social-icons a.dribbble:hover { + background-color: #33cc38; +} + +@media (max-width: 767px) { + + // .AppMastdiv .apptabapps{ + // width: 60vw; + // } + .Spec-header { + font-size: 1.5rem; + font-weight: 500; + } + + .Valueofpozo_container { + flex-wrap: wrap; + padding: 5rem 1rem; + gap: 2rem; + } + + .social-icons li.title { + display: block; + margin-right: 0; + font-weight: 600; + } +} + +.grad-header { + font-family: var(--HEADING_FONT_FAMILY); + font-weight: 600; + font-size: 11vh; + letter-spacing: 2px; + text-align: center; + text-transform: capitalize; + color: #902578; + background-image: -webkit-linear-gradient(9deg, #902578, #33585d); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + -webkit-animation: hue 10s infinite linear; + + // -webkit-text-stroke-width: 1.3px; + // -webkit-text-stroke-color: black; +} + +@-webkit-keyframes hue { + from { + -webkit-filter: hue-rotate(0deg); + } + + to { + -webkit-filter: hue-rotate(-360deg); + } +} + +// cursor + +.cursor { + width: 1px; + height: 1px; + border: 5px solid #8f1e78; + z-index: -1; + border-radius: 50%; + position: absolute; + transition-duration: 200ms; + transition-timing-function: ease-out; + animation: cursor-animate 550ms infinite alternate; +} + +.cursor::after { + content: ""; + width: 0.2px; + height: 0.2px; + border: 2px solid #8f1e78; + border-radius: 50%; + position: absolute; + animation: cursor-animate-2 550ms infinite alternate; +} + +/*Modificador*/ +.cursor--expand { + animation: cursor-animate-3 550ms forwards; + border: 10px solid #8f1e78; +} + +.cursor--expand::after { + border: 10px solid #2e4f53; +} + +/*Keyframes*/ +@keyframes cursor-animate { + from { + transform: scale(1); + } + + to { + transform: scale(1.5); + } +} + +@keyframes cursor-animate-2 { + from { + transform: scale(1); + } + + to { + transform: scale(0.3); + } +} + +@keyframes cursor-animate-3 { + 0% { + transform: scale(1); + } + + 50% { + transform: scale(3); + } + + 100% { + transform: scale(1); + opacity: 0; + } +} + +// new + +.footer-logo { + cursor: pointer; +} + +.footer-contact-container { + display: flex; + flex-direction: column; + row-gap: 1rem; + background-color: #e4e4e4; +} + +.footer-contact-text { + font-size: 16px; + font-weight: 600; +} + +.footer-content-text { + font-size: 16px; + // font-weight: 500; +} + +.footer-nav-text { + font-size: 14px; + font-weight: 600; +} + +.footer-nav-Smalltext { + font-size: 12px; + font-weight: 500; +} + +.footer-getstartednow { + display: flex; + flex-direction: column; + row-gap: 1rem; +} + +.footer-Quicklinks { + display: flex; + flex-direction: column; + row-gap: 1rem; +} + +.footer-Company { + display: flex; + flex-direction: column; + row-gap: 1rem; +} + +.footer-bigText { + font-size: 16px; + font-weight: 600; + font-family: "Gilroy"; +} + +.footer-smallText { + font-size: 14px; + font-weight: 500; + cursor: pointer; + font-family: poppins; +} + +.footer-getstarter-quick-container { + display: flex; + flex-direction: column; + row-gap: 1rem; +} + +.footer-company-app-container { + display: flex; + flex-direction: column; + row-gap: 1rem; +} + +.footer-app-container { + display: flex; + flex-wrap: wrap; + // row-gap:1rem; + column-gap: 0.5rem; +} + +.footer-contact-div { + display: flex; + align-items: center; + column-gap: 0.2rem; +} + +.btn-primary { + text-decoration: none; +} + +.carosel-width { + width: 500px; +} + +.Public_home_Texts-new { + width: 100vw; + display: flex; + align-items: center; + justify-content: space-between; + padding: 1rem 5rem; + gap: 1rem; + position: relative; +} + +.Public_home-content { + width: 60vw; + display: flex; + flex-direction: column; + gap: 12px; + align-items: flex-start; + .btn-primary { + box-shadow: unset !important; + } + +} + +.home-header-one { + font-size: clamp(30px, 3vw, 40px); + text-wrap: nowrap; + font-family: 'Gilroy'; + font-weight: 500; + line-height: 1.3; +} + +.home-header-two { + color: #0000007a; + font-size: clamp(28px, 3vw, 32px); + font-family: 'Gilroy'; + line-height: 1.4; + font-weight: 600; + color: #902578; + background-image: -webkit-linear-gradient(9deg, #902578, #33585d); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + -webkit-animation: hue 10s infinite linear; + +} + +.home-header-three { + color: rgba(0, 0, 0, 0.8078431373); + font-size: clamp(14px, 2vw, 20px); + width: 80%; + font-family: 'Poppins'; + line-height: 1.6; + font-weight: 400; + letter-spacing: 0.5px; +} + + + + + +// .Public_home-video { +// width: 35vw; + +// img { +// width: 100%; +// } +// } + +.Public_home-video { + width: 35vw; + // margin-right: -11rem; + border-radius: 64%; + position: relative; +} + + + +// .landing_video { +// width: 1040px; +// height: 769px; +// border-radius: 100%; +// position: absolute; +// top: -372px; +// right: -555px; +// z-index: -1; +// } +.landing_video { + // height: 390px; + border-radius: 40px; + width: 38vw; +} + +@media (max-width:768px) { + .Public_home_Texts-new { + flex-direction: column; + padding: 0rem 1rem !important; + } + + .Public_home-content { + width: 100vw !important; + padding: 0 1rem; + align-items: center; + } + + .Public_home-video { + width: 100vw !important; + margin-right: 0 !important; + } + + .landing_video { + display: none !important; + } + + // .landing_video { + // width: 100% !important; + // height: 100% !important; + // border-radius: 0 !important; + // position: unset !important; + // } + + .home-header-one { + font-size: clamp(22px, 4vw, 40px); + text-align: center; + } + + .home-header-two { + font-size: clamp(22px, 3vw, 33px); + text-align: center; + } + + .home-header-three { + font-size: clamp(14px, 3vw, 33px); + text-align: center; + } +} \ No newline at end of file diff --git a/src/Pages/publichome/2HomePageBackup.scss b/src/Pages/publichome/2HomePageBackup.scss new file mode 100644 index 0000000..22fa914 --- /dev/null +++ b/src/Pages/publichome/2HomePageBackup.scss @@ -0,0 +1,2148 @@ +#viewport { + overflow: hidden; + top: 0; + left: 0; + right: 0; + bottom: 0; +} + +#scroll-container { + position: absolute; + overflow: hidden; + width: 100%; + height: 300%; + // z-index: 10; + // display: flex; + // justify-content: center; + // backface-visibility: hidden; + // transform-style: preserve-3d; + + background-image: linear-gradient( + rgba(255, 255, 255, 0.07) 2px, + transparent 2px + ), + linear-gradient(90deg, rgba(255, 255, 255, 0.07) 2px, transparent 2px), + linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), + linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px); + background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; + background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px; +} + +.Home_Style { + overflow: hidden; +} + +.Pro-header { + position: fixed; + top: 0; + width: 100%; + z-index: 3; +} + +.progress-container { + background-color: rgba(150, 150, 150, 0.6); + height: 3px; + width: 100%; +} + +.progress-bar { + background-color: #8f1e78; + height: 5px; + width: 0%; +} + +.content_container { + margin: 2vw 0vw; +} + +.firsttxt { + display: flex; + flex-wrap: wrap; + justify-content: center; + font-family: var(--HEADING_FONT_FAMILY); + // width: max-content; + padding: 0.2rem 0.6rem; + margin: 0.3rem 0rem; + font-weight: 400; + font-size: 12px; + line-height: 14px; + text-transform: uppercase; + letter-spacing: 0.5em; + color: #030303; + // background-color: var(--SELECTED_COLOR); + border-radius: 4px; + // margin: 2vw 75vh; + // width: 30vw; + // height: 2.5vh; +} + +.secondtxt { + display: flex; + flex-wrap: wrap; + justify-content: center; + font-family: "Gilroy"; + font-style: normal; + font-weight: 400; + font-size: clamp(1rem, 10vw, 2rem); + text-align: center; + color: #000000; +} + +.secondtxt2 { + display: flex; + flex-wrap: wrap; + justify-content: center; + align-items: center; + position: relative; + // text-transform: uppercase; + font-family: var(--HEADING_FONT_FAMILY); + font-style: normal; + font-weight: 600; + font-size: clamp(1rem, 10vw, 4.5rem); + // line-height: 103.5%; + text-align: center; + color: #000000; +} +.thirdtxt { + display: flex; + justify-content: center; + width: 80vwx; + font-family: var(--PARA_FONT_FAMILY); + font-style: normal; + font-weight: 400; + font-size: clamp(1rem, 10vw, 1rem); + line-height: 24px; + text-align: center; + color: #000000; +} + +// BUTTON ............................. + +.startbtn { + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + font-family: var(--HEADING_FONT_FAMILY); + position: relative; + align-items: center; + box-sizing: border-box; + font-size: 17px; + font-weight: 400; + width: 300px; + height: 60px; + border-radius: 14px; + transition-duration: 0.2s; + letter-spacing: 0.1px; + text-transform: uppercase; + background-color: #9e1783; + color: #ffffff; + border: none !important; +} + +.startbtn:hover { + // border: 0.87069px solid #000000; + // background-color: #fff; + + border: black solid 1px !important; + background-color: #ffffff; + color: #000000; + transition-duration: 0.2s; + letter-spacing: 0.2px; + width: 320px; + height: 60px; + cursor: pointer; +} + +.startbtn { + border: 1px solid; + overflow: hidden; + position: relative; + + span { + z-index: 20; + } + + &:after { + background: #fff; + content: ""; + height: 155px; + left: -75px; + opacity: 0.2; + position: absolute; + top: -50px; + transform: rotate(35deg); + transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1); + width: 50px; + z-index: -10; + } +} + +.startbtn:hover { + &:after { + left: 120%; + text-decoration: none; + transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1); + } +} + +.StartBtn_container { + height: 140px; + justify-content: center; + position: relative; + align-items: center; +} + +.chatBOT { + margin: 2vw 3vh; + z-index: 3; + position: fixed !important; + border-radius: 28px; + background: #ffffff; + box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.2); + border: none; + cursor: pointer; +} +// IMGS ................ + +.leftImg { + margin: 0; + position: absolute; + top: 36%; + left: -4%; + width: 40vw; + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, 20%); + z-index: -120; +} + +.leftImg { + transform: translatey(0px); + animation: float 6s ease-in-out infinite; +} + +.rightImg { + margin: 0; + position: absolute; + bottom: -2%; + right: 1%; + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + z-index: -10; + width: 30vw; +} + +.rightImg { + transform: translatey(0px); + animation: float 3s ease-in-out infinite; +} + +@keyframes float { + 0% { + transform: translatey(0px); + } + 50% { + transform: translatey(-20px); + } + 100% { + transform: translatey(0px); + } +} + +.Public_home_Texts { + margin: 0vw 1vh; + // padding: 5vw 3vh; + display: flex; + flex-direction: column; + gap: 0.31rem; + align-items: center; +} + +// befnifit + +.benifit-cards { + display: flex; + flex-wrap: wrap; + flex-direction: row; + row-gap: 1rem; + justify-content: center; + align-items: center; + width: 14dvw; + padding: 2vw 2vh; + border-radius: 8px; + background-color: #ffffff; +} + +.benifit-cards:hover { + background-color: #9ef3a9; + border: none !important; +} +.hpcard-container { + justify-content: center; +} + + +.apptabapps { + display: flex; + justify-content: flex-start; + flex-direction: column; + padding: 0.5vw 0.5vh; + margin: 1.5vw 0vh; + transition: cubic-bezier(0.42, 0, 0.58, 1); + // column-gap: 2vw; + // row-gap: 4rem; + // width: 100%; +} + +.AppMastdiv .apptabapps{ + flex-direction: row; + display: flex; + flex-wrap: wrap; + // height: 66vh; + height: 80%; + // width: 83vw; + //naresh + width: 82vw; + overflow: auto; + justify-content: center; +} +@media (min-width: 279px) and (max-width: 653px) { + + .AppMastdiv .apptabapps{ + width: 40vw; + } + + .tab_cont { + padding: 0.5vw 2vh !important; + } + .tabapps { + justify-content: flex-start !important; + } + + .appSubcatDiv { + justify-content: center !important; + overflow: hidden !important; + } + .hpcard-container { + width: 100% !important; + overflow: auto; + justify-content: flex-start !important; + gap: 0 !important; + } + .secondtxt { + font-size: 35px !important; + } + + .thirdtxt { + font-size: 14px !important; + } + + .grad-header { + font-size: 7vh !important; + } + // .Public_Overall_Body{ + // min-width: fit-content; + // } + .Home_Style { + width: 100vw; + margin: 0vw 0vh !important; + } + .secondtxt2 { + font-size: 7vh !important; + } + + .leftImg { + margin: 0; + position: absolute; + display: none !important; + top: 66%; + width: 40vw; + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, 20%); + z-index: -120; + } + + .rightImg { + top: 15%; + width: 25vw; + } + + .appContainer { + // margin: 0vw 9vh !important; + } + + .Subs_container { + font-size: 20px !important; + line-height: none !important; + } + + .Video_Sub_Left_cont { + font-size: 16px !important; + } + + .Support_Sub_Left_cont { + font-size: 20px !important; + width: 50vw !important; + } + + .floatHandImg { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .extra_small_nav { + display: none !important; + } +} + +.appContainer { + display: flex; + flex-wrap: wrap; + flex-direction: row; + justify-content: center; + align-items: center; + // width: 100vw; + // padding: 1vw 0vh; + flex-direction: row; + column-gap: 1rem; + row-gap: 0.5rem; +} + +.storebtn { + flex-direction: row; + // margin: 0 0 3em 0; + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + width: 165px; + font-size: 16px; + height: 55px; + align-items: center; + color: rgb(0, 0, 0); + background: rgba(255, 255, 255, 0.5); + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); + border-radius: 10px; + // transform: scale(1); + transition-duration: 0.6s; +} + +.storebtn:hover { + flex-direction: row; + // margin: 0 0 3em 0; + display: flex; + flex-wrap: wrap; + // transform: scale(1.08); + justify-content: space-evenly; + align-items: center; + border-radius: 10px; + transition-duration: 0.6s; + cursor: pointer; +} + +.shine { + color: rgb(0, 0, 0); + font-size: 14px; + display: flex; + align-items: center; + text-decoration: none; + // text-transform: uppercase; + display: inline-block; + position: relative; + -webkit-mask-image: linear-gradient( + -75deg, + rgba(0, 0, 0, 0.6) 10%, + #000000 1%, + rgba(0, 0, 0, 0.6) 100% + ); + -webkit-mask-size: 200%; + animation: shine 2s linear infinite; +} + +@keyframes shine { + from { + -webkit-mask-position: 150%; + } + to { + -webkit-mask-position: -50%; + } +} + +// ... ANIMATION BG .................... + +.context { + width: 100%; + position: absolute; + top: 50vh; +} + +.context h1 { + text-align: center; + color: #b85151; + font-size: 50px; +} + +.area { + // background: #4e54c8; + // background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8); + width: 100vw; + // position: relative; +} + +.circles { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: -32; +} + +.circles li { + position: absolute; + display: block; + list-style: none; + width: 20px; + height: 20px; + background: rgba(222, 57, 57, 0.2); + animation: animate 25s linear infinite; + bottom: -150px; +} + +.circles li:nth-child(1) { + left: 25%; + width: 80px; + height: 80px; + animation-delay: 0s; +} + +.circles li:nth-child(2) { + left: 10%; + width: 20px; + height: 20px; + animation-delay: 2s; + animation-duration: 12s; +} + +.circles li:nth-child(3) { + left: 70%; + width: 20px; + height: 20px; + animation-delay: 4s; +} + +.circles li:nth-child(4) { + left: 40%; + width: 60px; + height: 60px; + animation-delay: 0s; + animation-duration: 18s; +} + +.circles li:nth-child(5) { + left: 65%; + width: 20px; + height: 20px; + animation-delay: 0s; +} + +.circles li:nth-child(6) { + left: 75%; + // width: 110px; + // height: 110px; + animation-delay: 3s; +} + +.circles li:nth-child(7) { + left: 35%; + width: 150px; + height: 150px; + animation-delay: 7s; +} + +.circles li:nth-child(8) { + left: 50%; + width: 25px; + height: 25px; + animation-delay: 15s; + animation-duration: 45s; +} + +.circles li:nth-child(9) { + left: 20%; + width: 15px; + height: 15px; + animation-delay: 2s; + animation-duration: 35s; +} + +.circles li:nth-child(10) { + left: 85%; + width: 15px; + height: 15px; + animation-delay: 0s; + animation-duration: 11s; +} + +@keyframes animate { + 0% { + transform: translateY(0) rotate(0deg); + opacity: 1; + border-radius: 0; + } + + 100% { + transform: translateY(-1000px) rotate(720deg); + opacity: 0; + border-radius: 50%; + } +} + +.Spec_container { + width: 100%; + display: flex; + flex-direction: column; + align-items: center; + background-color: ghostwhite; + padding: 6rem 0rem; + // flex-wrap: wrap; + // justify-content: space-around; +} + +.swipee-icon { + cursor: pointer; + width: 40px; + font-size: 15px; + height: 40px; + border: none; + border-radius: 6px; + color: #000; + font-weight: 600; + background-color: rgba(63, 63, 63, 0.075); + display: flex; + align-items: center; + justify-content: center; +} + +.swipee-icon:hover { + cursor: pointer; + width: 40px; + font-size: 15px; + height: 40px; + border: none; + border-radius: 6px; + background-color: rgba(63, 63, 63, 0.158); +} + +.SpecSliderDiv { + display: flex; + width: 100vw; + flex-direction: row; + column-gap: 3rem; + align-items: center; + justify-content: center; + padding: 5rem 1rem; + scroll-behavior: smooth; +} +.cards-list { + z-index: 0; + overflow: auto; + height: 36dvh; + scroll-behavior: smooth; + display: flex !important; + justify-content: space-evenly !important; +} + +.card { + position: relative; + width: 16rem; + // height:5dvh; + padding: 1rem 1rem; + margin: 1rem 0rem; + background-color: #fff; + border-radius: 10px; + cursor: pointer; + display: flex; + transform: scale(0.9); + flex-wrap: wrap; + transition: 0.2s; +} + +.card:hover { + transform: scale(1); + box-shadow: 0px 4px 35px rgba(0, 0, 0, 0.1); +} + +.card .card_image { + width: 150px; + height: auto; + border-radius: 40px; +} + +.card .card_image img { + width: inherit; + height: inherit; + border-radius: 40px; + object-fit: cover; +} + +.card .card_title { + text-align: center; + border-radius: 0px 0px 40px 40px; + font-family: sans-serif; + margin-top: 8px; + + position: relative; + font-family: "Gilroy"; + font-style: normal; + font-weight: 500; + font-size: 16px; + line-height: 22px; + /* identical to box height */ + color: #000000; + text-align: left; +} + +.card_description { + position: relative; + font-family: "poppins"; + font-style: normal; + font-weight: 400; + font-size: 13px; + line-height: 22px; + /* identical to box height */ + color: #4b4b4b; + text-align: left; +} + +.card_link { + font-family: "Gilroy"; + font-style: normal; + font-weight: 400; + font-size: 14px; + /* identical to box height */ + padding: 3vw 0vh; + color: #0f67da; + text-align: left; +} + +.Benifit-card { + display: flex; + align-items: center; + justify-content: center; + background-color: #f3f3f381; + padding: 0.5rem 1rem; + border-radius: 6px; +} + +.Benifit { + display: flex; + align-items: center; + justify-content: space-evenly; + text-align: left; + color: #000000; + transform: scale(1); + transition-duration: 0.6s; +} + +.Benifit:hover { + display: flex; + align-items: center; + justify-content: space-evenly; + text-align: left; + transition-duration: 0.6s; + cursor: pointer; + transform: scale(1.1); +} + +.marquee-container { + overflow: hidden; + white-space: nowrap; + width: 90vw; + position: relative; +} + +.marquee-content { + display: inline-block; + animation: marqueeAnimation 23s linear infinite; +} + +@keyframes marqueeAnimation { + from { + transform: translateX(0%); + } + to { + transform: translateX(-75%); + } +} + +.marquee-container.paused .marquee-content { + animation-play-state: paused; +} + +.AppSliderDiv { + display: flex; + // column-gap: 3rem; + // width: 80vw; + flex-direction: row; + overflow-x: hidden; + align-items: center; + justify-content: center; + // padding: 1rem 1rem; + scroll-behavior: smooth; +} + +.backtoTOpbtn { + width: 40px; + height: 40px; + background-color: #f3f3f3; + border: none; + border-radius: 25px; + position: fixed; + bottom: 0; + right: 25px; + font-size: 14px; + z-index: 3; + transform: scale(1.1); + transition-duration: 0.6s; +} + +.backtoTOpbtn:hover { + z-index: 3; + transform: scale(1.3); + cursor: pointer; + transition-duration: 0.6s; +} + +.showmore_link { + font-weight: 400; + font-size: 16px; + color: #0f67da; + display: flex; + flex-wrap: wrap; + justify-content: center; +} + +.floatHand { + position: absolute !important; + margin-top: -10rem; +} +.floatHandImg { + width: 23vw !important; +} + +.title-white { + color: white; +} + +.title-black { + color: black; +} + +.app_head { + display: none; +} + +.cards-list { + z-index: 0; + width: 100%; + display: flex; + justify-content: space-around; + flex-wrap: wrap; + // margin: -17vw 10vw; + // padding: 0vw 29vh; +} + +@media (min-width: 279px) and (max-width: 654px) { + .AppMastdiv .apptabapps{ + width: 50vw; + height: 60vh !important; + margin: 1rem 0rem !important; + } + + .carosel-width { + width: 85vw !important; + } + .AppSliderDiv { + column-gap: 0.5rem !important; + } + + .ModuleCard { + margin: 18px 0px !important; + } + .card { + // border-radius: 40px; + cursor: pointer; + transition: 0.4s; + column-gap: 0.5rem !important; + width: 13rem; + // height:45dvh; + gap: 0 !important; + } + + .cards-list { + z-index: 0; + flex-direction: row; + column-gap: 0rem; + height: 79dvh !important; + // width: 100%; + // height: 90dvh; + margin: 1rem 1.2rem; + } + + .tabapps { + justify-content: unset !important; + padding: 0.5vw 0vh !important; + } + + .Home_Style { + // width:510px; + overflow: hidden; + } + + .nav { + display: none; + } + + .footer_container { + padding: 3vw 5vh !important; + justify-content: space-between !important; + } + + .Support_container { + background: none !important; + } + + .storebtns { + width: 40px !important; + height: 40px !important; + font-size: 0; + padding: 0vw 4vh; + } + .storebtn { + width: 40px !important; + height: 60px !important; + font-size: 0; + padding: 0vw 4vh; + margin: 0vw 1vh; + right: 5rem; + align-content: center; + } + + .app_head { + display: flex; + justify-content: center; + margin: 2vw 0vh; + } + + .Spec_container { + // width: 100vw; + flex-direction: column; + column-gap: 2rem; + padding: 0vw 0vh; + justify-content: space-between !important; + } + + .floatHandImg { + width: 45vw !important; + } + + .extra_small_nav { + display: none !important; + } +} +@media (min-width: 280px) and (max-width: 499px) { + // .AppMastdiv .apptabapps{ + // width: 20vw; + // } + + .publictopDIv{ + padding: 3rem 0rem !important; + } + .carouselDesc{ + font-size: 12px !important; + } + + .Pozotxt{ + font-size: 66px !important; + } + + .Valueofpozo_texts{ + flex-direction: row !important; + align-items: center !important; + } + .firsttxt{ + margin: 0.3rem 0rem; + font-weight: 400; + font-size: 12px; + line-height: 14px; + text-transform: uppercase; + letter-spacing: 0.1em; + } + + .secondtxt { + font-size: 16px !important; + } + + .secondtxt2{ + font-size: 5vh !important; + } + .AppMastdiv .apptabapps{ + height: 55vh !important; + margin: 0rem 0rem !important; + } + + .SubModuleCard{ + padding: 1px 9px; + margin: 1px 1px; + height: 43px; + width: 68px !important; + font-size: 10px; + } + + .appSubcatDiv{ + padding: 1rem 0rem !important; + } + + .swipee-sliderDiv { + padding: 3rem 0.6rem !important; + } +} + +@media (min-width: 720px) and (max-width: 1080px) { + .AppMastdiv .apptabapps{ + width: 70vw; + } + + .Valueofpozo_container { + flex-wrap: wrap !important; + flex-direction: column; + } + .showmore_link { + margin: 20vh 0vw; + } + .ModuleCard { + margin: 18px 2px !important; + } + + .card { + // border-radius: 40px; + cursor: pointer; + transition: 0.4s; + column-gap: 1rem !important; + width: 16rem; + // height:45dvh; + } + + .img_moc_cont { + display: none; + } + + .vjs-poster { + display: none; + } + + .extra_small_nav { + // display: none; + } + + .tab_container { + height: 62vh !important; + } + + .cards-list { + z-index: 0; + width: 100%; + display: flex; + justify-content: space-around; + flex-wrap: wrap; + } + + .appslist { + display: flex; + align-items: center; + justify-content: center; + width: 100%; + } + + // .secondtxt{ + // font-size: 4vw; + // } + // .secondtxt2{ + // font-size: 5vw ; + // } + // .thirdtxt{ + // font-size: 2vw; + // } +} + +.Spec-header { + font-size: clamp(0.5rem, 10vw, 2.5rem); + text-align: center; +} + +.forthtxt { + display: flex; + flex-wrap: wrap; + justify-content: center; + font-family: var(--HEADING_FONT_FAMILY); + font-style: normal; + font-weight: 500; + font-size: 48px; + margin: 1vh 0vw; + text-align: center; + color: #000000; +} + +.fifthtxt { + display: flex; + flex-wrap: wrap; + justify-content: center; + position: relative; + font-family: "Poppins"; + font-style: normal; + font-weight: 400; + font-size: clamp(0.5rem, 10vw, 1rem); + margin: 1vh 0vw; + text-align: center; + color: #3f3f3f; +} + +.bighandemoji { + position: absolute; + width: 369.98px; + height: 277.49px; + left: -19px; + top: 100rem; + transform: rotate(-18.84deg); +} + +.emojis { + position: relative; + width: 77px; + height: auto; +} + +// .Valueofpozo_container { +// display: flex; +// flex-direction: row; +// // flex-wrap: wrap; +// padding: 5rem 3rem; +// align-items: center; +// color: #fff; +// width: 100%; +// // height: 500px; +// background-repeat: no-repeat; +// background-image: url("https://images.unsplash.com/photo-1507914372368-b2b085b925a1?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"); +// background-color: wheat; +// } + +.Valueofpozo_container { + display: flex; + flex-direction: row; + padding: 5rem 3rem; + align-items: center; + color: #fff; + width: 100%; + position: relative; +} +.Valueofpozo_container::before { + content: ""; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: -1; + background-image: url("https://images.unsplash.com/photo-1507914372368-b2b085b925a1?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"); + background-repeat: no-repeat; + background-size: cover; + filter: blur(3px); +} + +.valuesofpozo { +} +.txtValue { + font-size: clamp(1rem, 12vh, 4rem); + font-family: "Gilroy"; + font-weight: 600; +} + +.benifits_box { + display: flex; + justify-content: space-between; + flex-wrap: wrap; + padding: 2vh 2vw; +} +.Benifits_container { + margin: 0px auto; + width: 90%; +} + +.tab_container { + // width:90vw; + height: 30vh; + display: flex; + margin: 1vw 1vh; + flex-wrap: wrap; + flex-direction: row; + // border: #000 solid 1px; + // background-color: #F4EAF2; + transition: cubic-bezier(0.42, 0, 0.58, 1); + // transform: rotate(90deg); + overflow-x: scroll; + overflow-x: hidden; +} + +.TabAppDiv { + // padding: 3rem 5rem; + width: 100%; + overflow-x: scroll; + overflow-y: hidden; +} + +.Apps_container { + display: flex; + flex-direction: column; + align-items: center; + width: 100%; + margin: 3rem 0rem; +} + +.swipee-sliderDiv { + padding: 3rem 2rem; + width: 100%; + background-color: #f0f0fb; +} +.tabapps { + display: flex; + justify-content: flex-start; + // flex-wrap: wrap; + flex-direction: column; + padding: 0.5vw 0.5vh; + margin: 1.5vw 0vh; + // transform: rotate(-90deg); + transition: cubic-bezier(0.42, 0, 0.58, 1); + // column-gap: 2vw; + // row-gap: 4rem; + // width: 100%; +} +.selected { + border: 1px solid #ff4d4f; +} + +.tab_cont { + display: flex; + justify-content: center; + flex-wrap: wrap; + align-items: center; + padding: 0.5vw 5vh; + height: 230px; + width: 220px; + flex-direction: row; + border-radius: 8px; + row-gap: 1rem; + background-color: ghostwhite; + font-family: "Poppins"; + text-align: center; + cursor: pointer; + transform: scale(0.9); + font-size: 14px; + transition: 0.2s; + border: none; +} + +.tab_cont:hover { + transform: scale(0.95); +} + +.tab_cont:active { + color: #8f1e78; + background-color: rgb(255, 255, 255); + border: #000 solid 1px; +} + +// ************************ + +.input-style { + opacity: 0; + position: absolute; +} + +.label { + display: flex; + width: max-content !important; + // font-family: "Gilroy"; + // font-weight: 600; + // font-size: 14px; + cursor: pointer; +} +.input-style:checked + span { + // background-color: #9025781a; + border: solid 1px #000; + // color: #902578; + color: #000; + border-radius: 6px; + &:hover, + &:focus, + &:active { + } +} + +.ModuleCard-style { + opacity: 0; + position: absolute; +} + +.label { + display: flex; + width: max-content !important; + // font-family: "Gilroy"; + // font-weight: 600; + // font-size: 14px; + cursor: pointer; +} +.ModuleCard-style:checked + span { + background-color: #fff; + // color: #902578; + box-shadow: 0px 4px 35px rgba(0, 0, 0, 0.1); + margin: 18px 25px; + border-radius: 12px; + transform: scale(1); + // border: 1px solid #000; + &:hover, + &:focus, + &:active { + } +} + +.btn-option2 { + display: flex; + align-items: center; + // padding: 0vw 2vh; + width: max-content !important; + // background-color: #ffffff; + padding: 5px 10px; +} + +.ModuleCard { + display: flex; + align-items: center; + flex-direction: column; + padding: 30px 0px; + margin: 18px 0px; + height: 210px; + justify-content: center; + color: #000; + width: 205px !important; + transform: scale(0.95); + border-radius: 12px; + transition: 0.2s; + background-color: #ffffff; +} + +.ModuleCard:hover { + margin: 18px 0px; + transform: scale(1); + + cursor: pointer; + box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.1); +} + +.SubModuleCard-style { + opacity: 0; + position: absolute; +} + +.label { + display: flex; + width: max-content !important; + // font-family: "Gilroy"; + // font-weight: 600; + // font-size: 14px; + cursor: pointer; +} +.SubModuleCard-style:checked + span { + background-color: #fff; + // color: #902578; + box-shadow: 0px 4px 35px rgba(0, 0, 0, 0.1); + border-radius: 6px; + font-size: 13px; + // border: 1px solid #000; + &:hover, + &:focus, + &:active { + } +} + +.btn-option2 { + display: flex; + align-items: center; + // padding: 0vw 2vh; + width: max-content !important; + // background-color: #ffffff; + padding: 5px 10px; +} + +.SubModuleCard { + display: flex; + align-items: center; + flex-direction: column; + padding: 1px 10px; + margin: 1px 1px; + height: 60px; + cursor: pointer; + justify-content: center; + color: #000; + width: 110px !important; + font-size: 13px; + background-color: #e9e9e952; +} + +.btn-option2:hover { + border: 1px solid black; + border-radius: 6px; +} + +.sub_tab_cont { + display: flex; + justify-content: center; + flex-wrap: wrap; + padding: 0.6vw 6vh; + width: fit-content; + flex-direction: row; + border-radius: 25px; + row-gap: 1rem; + font-size: 16px; + background-color: #35b856; + border: none; + color: #fff; + font-family: var(--HEADING_FONT_FAMILY); + transition-duration: 0.6s; + font-weight: 400; + text-transform: uppercase; +} + +.sub_tab_cont:hover { + display: flex; + justify-content: center; + flex-wrap: wrap; + padding: 0.5vw 6vh; + width: fit-content; + flex-direction: row; + border-radius: 25px; + row-gap: 1rem; + color: #000000 !important; + background-color: #ffffff; + transition-duration: 0.6s; + border: #000 solid 1px; + cursor: pointer; + font-size: 15px; + font-family: var(--HEADING_FONT_FAMILY); + font-weight: 400; + text-transform: uppercase; +} + +.sub_tab_cont:focus { + color: #000000 !important; + background-color: rgb(255, 255, 255); + border: #000 solid 1px; +} + +.tab_conetent { + display: flex; + justify-content: center; + flex-wrap: inherit; + font-size: 16px; + font-weight: 600; + text-transform: uppercase; + align-items: center; + flex-direction: column; + // row-gap: inherit; +} + +.Video_container { + display: flex; + justify-content: space-evenly; + align-items: center; + // flex-wrap: wrap; + padding: 1vw 2vh; + margin: 3vw 0vh; +} + +.Video_Sub_container { + display: flex; + justify-content: center; + flex-wrap: wrap; + flex-direction: row; + // padding: 1vw 10vh; + margin: 3vw 0vh; + line-height: 36px; +} + +.video_cont { + width: 30vw; +} + +.img_moc_cont { + width: 30vw; +} + +.Video_Sub_Left_cont { + font-family: "Gilroy" !important; + font-weight: 500; + font-size: 44px; + padding: 1vw; + color: #0c0c0c; +} + +.Subs_container { + display: flex; + width: 100vw; + justify-content: center; + flex-wrap: wrap; + flex-direction: row; + // padding: 0vw 10vh; + margin: 3vw 0vh; + font-size: 38px; + font-family: "Gilroy"; + font-weight: 400 !important; + color: #000000; + text-align: center; + + // -webkit-text-stroke-width: 1px; + // -webkit-text-stroke-color: black; +} + +.Pozotxt { + -webkit-text-stroke-width: 1px; + color: transparent; + font-size: 80px; + font-weight: 600; + -webkit-text-stroke-color: rgb(255, 255, 255); +} + +.Subs_Sub_Right_cont { + display: flex; + justify-content: center; + flex-wrap: wrap; + flex-direction: row; + padding: 0vw 0vh; + margin: 1.5vw 74vh; +} + +.try_btn { + display: flex; + flex-wrap: wrap; + justify-content: center; + position: relative; + align-items: center; + box-sizing: border-box; + font-family: "Gilroy"; + font-size: 20px; + font-weight: 400; + width: 300px; + height: 55px; + border-radius: 50px; + transition-duration: 0.6s; + background-color: #52c41a; + color: rgb(255, 255, 255); +} + +.try_btn:hover { + border: 0.87069px solid #000000; + background-color: #ffffff; + color: rgb(0, 0, 0); + transition-duration: 0.6s; + letter-spacing: 1px; + cursor: pointer; +} + +.try_btn { + border: 1px solid; + overflow: hidden; + position: relative; + + span { + z-index: 20; + } + + &:after { + background: #fff; + content: ""; + height: 155px; + left: -75px; + opacity: 0.2; + position: absolute; + top: -50px; + transform: rotate(35deg); + transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1); + width: 50px; + z-index: -10; + } +} + +.try_btn:hover { + &:after { + left: 120%; + transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1); + } +} + +.app_link_content { + display: flex; + justify-content: space-around; + align-items: left; + flex-wrap: wrap; + flex-direction: row; + margin: 1vw 5vh; +} + +.app_link_conetent { + display: flex; + justify-content: space-evenly; + flex-wrap: wrap; + padding: 0.5vw 2vh; + width: fit-content; + flex-direction: row; + border-radius: 8px; + row-gap: 1rem; + color: #000000 !important; + font-size: 14px !important; + font-weight: 400; +} + +.Support_container { + display: flex; + justify-content: space-around; + margin: 5vw 3vw; + border-radius: 20px; +} + +.Support_Sub_container { + display: flex; + justify-content: center; + // margin: 6vw 6vh; + align-items: center; +} + +.Support_Sub_Left_cont { + font-family: "Gilroy" !important; + font-weight: 500; + font-size: 26px; + width: 268px; + color: #0c0c0c; +} + +.Support_cont { + display: flex; + flex-wrap: wrap; + justify-content: center; + width: 100%; +} + +.img_support { + width: 100%; +} + +.appContainer2 { + display: flex; + justify-content: center; + align-items: center; + width: 100%; + margin: 24px 0px; + height: auto; + line-height: 20px; +} + +.playstorebtns { + flex-direction: row; + break-before: always; + margin: 0 0 3em 0; + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + position: relative; + width: 145px; + height: 49px; + align-items: center; + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); + border-radius: 10px; + transition-duration: 0.6s; +} + +.playstorebtns:hover { + flex-direction: row; + break-before: always; + margin: 0 0 3em 0; + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + position: relative; + width: 210px; + height: 49px; + align-items: center; + border: 1px solid #000; + // box-shadow: 0px 4px 15px rgba(229, 129, 129, 0.1); + border-radius: 10px; + transition-duration: 0.6s; + cursor: pointer; +} + +.phone-btn { + flex-direction: row; + break-before: always; + display: flex; + flex-wrap: wrap; + justify-content: center; + position: relative; + width: 57px; + height: 32px; + padding: 0vw 2vh; + align-items: center; + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); + border-radius: 10px; +} + +// .content-list { + +// z-index: 0; +// width: 100%; +// display: grid; +// width: 500px; +// gap: 20px 50px; +// } + +// .content{ +// position: relative; +// bottom: 8rem;; +// width:260px; +// row-gap: 25px; +// height: 50px; +// top:1rem; +// border-radius: 8px; +// cursor: pointer; +// background-color: #e1e1e1; +// transition: 0.4s; + +// } + +.card .card_image { + width: 150px; + height: auto; + border-radius: 40px; +} + +.card .card_image img { + width: inherit; + height: inherit; + border-radius: 40px; + object-fit: cover; +} + +.card .card_emoji { + width: 50px; + height: auto; + border-radius: 40px; +} + +.card .card_emoji img { + width: inherit; + height: inherit; + border-radius: 40px; + object-fit: cover; +} + +.smol-flexbox-grid { + --min: 10ch; + --gap: 5vw; + display: flex; + flex-direction: row; + flex-wrap: wrap; + gap: var(--gap); +} + +.smol-flexbox-grid > * { + flex: 1 1 var(--min); + margin: 2vh 0vw; +} + +/* Additional demo styles from SmolCSS.dev + Not all styles may be needed for this pen */ +body > ul { + list-style: none; + margin: 0; + + &:not([data-padding-unset]) { + padding: 0; + } +} + +[class*="smol"]:not([data-component]) > *:not([data-unstyled]) { + display: grid; + font-size: clamp(2.7rem, 4vw, 2.5rem); + min-width: 10vw; + font-weight: bold; + text-align: center; + border-radius: 0.15em; + background: rgba(255, 255, 255, 0.6); + box-shadow: 0px 5.25331px 26.3077px rgba(0, 0, 0, 0.08); + border-radius: 13.1333px; + transition: 0.4s; + + &:not([data-text]) { + place-content: center; + justify-content: normal; + } + + &[data-text] { + font-size: 1.15rem; + text-align: center; + } + + &:hover { + background: rgba(255, 255, 255, 0.6); + cursor: pointer; + border: #7d7d7d solid 0.1px; + transition: 0.4s; + } +} + +[data-container-style] { + outline: 2px dotted #29344b; +} + +.publicHomeFtr { + display: flex; + justify-content: space-between; + flex-direction: row; + flex-wrap: wrap; + row-gap: 2rem; + column-gap: 2rem; + padding: 2rem 1rem; + font-size: 14px; + position: relative; + bottom: 0; + background-color: #e4e4e4; + width: 100%; +} + +.Public_Overall_Body .footer_container { + background: #e8ecf1; + color: #000000; + display: flex; + justify-content: space-around; + flex-wrap: wrap; + row-gap: 2rem; + width: 100%; + bottom: 0; + position: relative; + height: auto; + // padding:3vw 15vh; + // margin: 0px 0px 1.2rem; + font-family: "Gilroy"; + font-weight: 400; + font-size: 18px; + line-height: 32px; +} + +.ft_sub_container { + padding: 3vw 1vh; + font-family: "Poppins"; + font-size: 14px; + text-align: center; + text-decoration: none; +} + +.privacycol { + text-decoration: none !important; + color: rgb(79, 79, 79); +} + +.footer-links { + padding-left: 0; + list-style: none; + margin: 1rem 0px; +} +.footer-links li { + display: block; +} +.footer-links a { + font-family: "Poppins"; + font-style: normal; + font-weight: 400; + font-size: 14px; + line-height: 10px; + color: #000000; + text-decoration: none; + opacity: 0.9; +} +.footer-links a:active, +.footer-links a:focus, +.footer-links a:hover { + color: #c5176e; + text-decoration: none; +} +.footer-links.inline li { + display: inline-block; +} + +.social-icons { + padding-left: 0; + margin-bottom: 0; + list-style: none; + margin: 1rem 0px; +} +.social-icons li { + display: inline-block; + margin-bottom: 4px; +} +.social-icons li.title { + margin-right: 15px; + text-transform: uppercase; + color: #96a2b2; + font-weight: 700; + font-size: 13px; +} +.social-icons a { + background-color: #eceeef; + color: #000000; + font-size: 16px; + display: inline-block; + line-height: 44px; + width: 44px; + height: 44px; + text-align: center; + margin-right: 8px; + border-radius: 100%; + -webkit-transition: all 0.2s linear; + -o-transition: all 0.2s linear; + transition: all 0.2s linear; +} +.social-icons a:active, +.social-icons a:focus, +.social-icons a:hover { + color: #fff; + background-color: #33cc38; +} +.social-icons.size-sm a { + line-height: 34px; + height: 34px; + width: 34px; + font-size: 14px; +} +.social-icons a.facebook:hover { + background-color: #33cc38; +} +.social-icons a.twitter:hover { + background-color: #33cc38; +} +.social-icons a.linkedin:hover { + background-color: #33cc38; +} +.social-icons a.dribbble:hover { + background-color: #33cc38; +} +@media (max-width: 767px) { + // .AppMastdiv .apptabapps{ + // width: 60vw; + // } + .Spec-header { + font-size: 1.5rem; + font-weight: 500; + } + .Valueofpozo_container { + flex-wrap: wrap; + padding: 5rem 1rem; + gap: 2rem; + } + .social-icons li.title { + display: block; + margin-right: 0; + font-weight: 600; + } +} + +.grad-header { + font-family: var(--HEADING_FONT_FAMILY); + font-weight: 600; + font-size: 11vh; + letter-spacing: 2px; + text-align: center; + text-transform: capitalize; + color: #902578; + background-image: -webkit-linear-gradient(9deg, #902578, #33585d); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + -webkit-animation: hue 10s infinite linear; + + // -webkit-text-stroke-width: 1.3px; + // -webkit-text-stroke-color: black; +} + +@-webkit-keyframes hue { + from { + -webkit-filter: hue-rotate(0deg); + } + to { + -webkit-filter: hue-rotate(-360deg); + } +} + +// cursor + +.cursor { + width: 1px; + height: 1px; + border: 5px solid #8f1e78; + z-index: -1; + border-radius: 50%; + position: absolute; + transition-duration: 200ms; + transition-timing-function: ease-out; + animation: cursor-animate 550ms infinite alternate; +} + +.cursor::after { + content: ""; + width: 0.2px; + height: 0.2px; + border: 2px solid #8f1e78; + border-radius: 50%; + position: absolute; + animation: cursor-animate-2 550ms infinite alternate; +} + +/*Modificador*/ +.cursor--expand { + animation: cursor-animate-3 550ms forwards; + border: 10px solid #8f1e78; +} + +.cursor--expand::after { + border: 10px solid #2e4f53; +} + +/*Keyframes*/ +@keyframes cursor-animate { + from { + transform: scale(1); + } + + to { + transform: scale(1.5); + } +} + +@keyframes cursor-animate-2 { + from { + transform: scale(1); + } + + to { + transform: scale(0.3); + } +} + +@keyframes cursor-animate-3 { + 0% { + transform: scale(1); + } + + 50% { + transform: scale(3); + } + + 100% { + transform: scale(1); + opacity: 0; + } +} + +// new + +.footer-logo { + cursor: pointer; +} + +.footer-contact-container { + display: flex; + flex-direction: column; + row-gap: 1rem; + background-color: #e4e4e4; +} +.footer-contact-text { + font-size: 16px; + font-weight: 600; +} +.footer-content-text { + font-size: 16px; + // font-weight: 500; +} +.footer-nav-text { + font-size: 14px; + font-weight: 600; +} +.footer-nav-Smalltext { + font-size: 12px; + font-weight: 500; +} + +.footer-getstartednow { + display: flex; + flex-direction: column; + row-gap: 1rem; +} + +.footer-Quicklinks { + display: flex; + flex-direction: column; + row-gap: 1rem; +} + +.footer-Company { + display: flex; + flex-direction: column; + row-gap: 1rem; +} + +.footer-bigText { + font-size: 16px; + font-weight: 600; + font-family: "Gilroy"; +} +.footer-smallText { + font-size: 14px; + font-weight: 500; + cursor: pointer; + font-family: poppins; +} +.footer-getstarter-quick-container { + display: flex; + flex-direction: column; + row-gap: 1rem; +} + +.footer-company-app-container { + display: flex; + flex-direction: column; + row-gap: 1rem; +} +.footer-app-container { + display: flex; + flex-wrap: wrap; + // row-gap:1rem; + column-gap: 0.5rem; +} + +.footer-contact-div { + display: flex; + align-items: center; + column-gap: 0.2rem; +} + +.btn-primary { + text-decoration: none; +} +.carosel-width { + width: 500px; +} diff --git a/src/Pages/publichome/Benifits.jsx b/src/Pages/publichome/Benifits.jsx new file mode 100644 index 0000000..428593e --- /dev/null +++ b/src/Pages/publichome/Benifits.jsx @@ -0,0 +1,119 @@ +import React, { useState } from "react"; +import Handemoji from "../../Images/handemoji.png"; +import Secure from "../../Images/secure.png"; +import Wifibill from "../../Images/bill wifi.png"; +import Whatsapp from "../../Images/wp.png"; +import AutoBackup from "../../Images/autobk.png"; +import Noads from "../../Images/ads.png"; +import MultiPay from "../../Images/multiple payt.png"; +import Status from "../../Images/status.png"; +import OnlineOrder from "../../Images/onlineorders.png"; +const Benifits = () => { + + + const [isHovered, setIsHovered] = useState(false); + + const stopMarquee = () => { + setIsHovered(true); + }; + + const startMarquee = () => { + setIsHovered(false); + }; + + + return ( + <> +
    + + +
    +
    + +
    + +
    +

    + BusinessImg + We promise don't sell & owning your data   +

    +
    + +
    +

    + BusinessImg + We protect your data +

    +
    + + +
    +

    + BusinessImg + Online / Offline BIlling +

    +
    + +
    +

    + BusinessImg + Auto Data Backup +

    +
    + + +
    +

    + BusinessImg + Never runs ads here +

    +
    + +
    +

    + BusinessImg + Provide multiple
    + payment options +

    +
    + +
    +

    + BusinessImg + Get Orders Online +

    +
    + +
    +

    + BusinessImg + Whatsapp Support +

    +
    + +
    +

    + BusinessImg + Track your business status +

    +
    + +
    + +
    +
    + + + + + +
    + + ); +}; + +export default Benifits; diff --git a/src/Pages/publichome/HomeNav.jsx b/src/Pages/publichome/HomeNav.jsx new file mode 100644 index 0000000..9bfee3a --- /dev/null +++ b/src/Pages/publichome/HomeNav.jsx @@ -0,0 +1,252 @@ +import { PhoneOutlined } from "@ant-design/icons"; +import { useState } from "react"; +import { Button, Popover, Space } from "antd"; +import { Link } from "react-router-dom"; +import Logo from "../../Images/PozoAppLogo.svg"; +import { SmileOutlined } from "@ant-design/icons"; +import { Dropdown } from "antd"; +import "./HomeNav.scss"; +import DefaultModal from "../LoginModal/DefaultModal"; +import Loginform from "../publicsignin/Signin"; +import NavBarCom from "../NavBarComps/NavBarCom"; +import { Link, useNavigate } from "react-router-dom"; +const subDirectory = import.meta.env.BASE_URL; + +const content = ( +
    + +
    +); + +const items = [ + { + label: "Contact Sales", + key: "SubMenu", + icon: , + children: [ + { + type: "group", + label: "Item 1", + children: [ + { + label: "Option 1", + key: "setting:1", + }, + { + label: "Option 2", + key: "setting:2", + }, + ], + }, + { + type: "group", + label: "Item 2", + children: [ + { + label: "Option 3", + key: "setting:3", + }, + { + label: "Option 4", + key: "setting:4", + }, + ], + }, + ], + }, + + { + disabled: false, + label: ( + + + Sign In + + ), + }, + + { + label: ( + + ), + key: "alipay", + }, +]; + +const dropitems = [ + { + key: "1", + label: ( + + 1st menu item + + ), + }, + { + key: "2", + label: ( + + 2nd menu item (disabled) + + ), + icon: , + disabled: true, + }, + { + key: "3", + label: ( + + 3rd menu item (disabled) + + ), + disabled: true, + }, + { + key: "4", + danger: true, + label: "a danger item", + }, +]; + +const HomeNav = () => { + const [current, setCurrent] = useState("mail"); + const [open, setOpen] = useState(false); + const navigate = useNavigate(); + + const onClick = (e) => { + setCurrent(e.key); + }; + + const openSignInModal = () => { + navigate(`${subDirectory}signin/`); + }; + + const handleCancel = () => { + setOpen(false); + }; + return ( +
    +
    + logo url +
    +
    +
    + {" "} + Sign in + } + handleCancel={handleCancel} + /> +
    + + + + + + +
    +
    + ); +}; + +export default HomeNav; diff --git a/src/Pages/publichome/HomeNavbar.js b/src/Pages/publichome/HomeNavbar.js new file mode 100644 index 0000000..6b91a16 --- /dev/null +++ b/src/Pages/publichome/HomeNavbar.js @@ -0,0 +1,31 @@ +(function($) { + $(function() { + + // open and close nav + $('#navbar-toggle').click(function() { + $('nav ul').slideToggle(); + }); + + + // Hamburger toggle + $('#navbar-toggle').on('click', function() { + this.classList.toggle('active'); + }); + + + // If a link has a dropdown, add sub menu toggle. + $('nav ul li a:not(:only-child)').click(function(e) { + $(this).siblings('.navbar-dropdown').slideToggle("slow"); + + // Close dropdown when select another dropdown + $('.navbar-dropdown').not($(this).siblings()).hide("slow"); + e.stopPropagation(); + }); + + + // Click outside the dropdown will remove the dropdown class + $('html').click(function() { + $('.navbar-dropdown').hide(); + }); + }); + })(jQuery); \ No newline at end of file diff --git a/src/Pages/publichome/HomeNavbar.scss b/src/Pages/publichome/HomeNavbar.scss new file mode 100644 index 0000000..40b5e81 --- /dev/null +++ b/src/Pages/publichome/HomeNavbar.scss @@ -0,0 +1,584 @@ +.PozoappNavbar-Master { + width: 100vw; + height: auto; + padding: 1rem 1.5rem 1rem 1.5rem; + display: flex; + align-items: center; + justify-content: space-between; + // background: bisque; + background-color: #ffffffa4; + backdrop-filter: blur(10px); + box-shadow: 0px 4px 150px rgba(0, 0, 0, 0.1); + font-family: "Gilroy" !important; + position: sticky; + top: 0px; + z-index: 999; + gap: 1rem; + + .PozoappNavbar-responsive-Toogle { + display: none; + + .responsive-Toogle-BTN { + cursor: pointer; + position: relative; + } + } + + .PozoappNavbar-logo-and-field { + display: flex; + align-items: center; + justify-content: center; + gap: 3rem; + opacity: 0; + animation: fadeIn 1s ease forwards; + } + + .pozologo-image { + width: 90px; + cursor: pointer; + + img { + width: 100%; + } + } + + .logo-and-fields { + display: flex; + align-items: center; + justify-content: center; + gap: 2rem; + font-size: 15px; + + + .Industries-main { + cursor: pointer; + font-weight: 600; + letter-spacing: 0.3px; + text-transform: uppercase; + } + + .offering-main { + font-weight: 600; + letter-spacing: 0.3px; + font-size: 15px; + cursor: pointer; + text-transform: uppercase; + } + } + + .Testimonial-PozoNavbar { + font-weight: 600; + text-transform: uppercase; + cursor: pointer; + font-size: 15px; + } + + .PozoappNavbar-signin-and-field { + display: flex; + align-items: center; + gap: 1rem; + justify-content: center; + opacity: 0; + animation: fadeIn 0.5s ease forwards 0.5s; // Delayed fade-in + + div { + cursor: pointer; + } + } + + .signin-and-fields { + display: flex; + align-items: center; + justify-content: center; + gap: 2rem; + white-space: nowrap; + + div { + font-size: 15px; + font-weight: 600; + } + } + + .PozoappNavbar-signin { + display: flex; + align-items: center; + gap: 5px; + font-size: 14px; + // border: 1px solid #9e1783; + padding: 3px 22px; + font-weight: 600; + border-radius: 12px; + cursor: pointer; + padding: 7px 16px; + text-align: center; + z-index: 0; + + &:hover { + background-color: #9e1783; + color: #fff; + } + + svg { + font-size: 22px; + stroke-width: 1.3; + } + } + + .Industries-main { + position: relative; + padding: 1rem 0; + + // animation: fadeIn 1s ease forwards 1s; + } + + .Industries-content { + position: absolute; + left: 6rem; + top: 5.5rem; + width: 85vw; + right: 0; + background-color: #fff; + box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; + display: flex; + padding: 2rem 2rem; + align-items: flex-start; + border-radius: 6px; + gap: 2rem; + transform: translateY(-20px); + opacity: 0; + visibility: hidden; + transition: opacity 0.5s ease, visibility 0.5s ease; + } + + .Industries-content.show { + opacity: 1; + visibility: visible; + } + + .Industries-cat { + display: flex; + align-items: flex-start; + flex-direction: column; + gap: 5px; + background-color: rgb(244, 234, 242); + padding: 1rem 1rem; + height: 300px; + width: 200px; + overflow: scroll; + padding-bottom: 2rem; + border-radius: 6px; + white-space: nowrap; + flex-wrap: nowrap; + text-wrap: nowrap; + + div { + padding: 10px 8px; + color: #000000; + width: 100%; + border-radius: 8px; + cursor: pointer; + font-weight: 500; + transition: background-color 0.3s ease, color 0.3s ease; + white-space: pre-wrap; + &:hover { + background-color: #ffffff; + color: #000000; + transform: scale(1.02); + } + + // Fade-in animation for category items + opacity: 0; + animation: fadeIn 0.5s ease forwards; + animation-delay: calc(0.1s * var(--i)); // Delay based on index + } + } + + .Industries-cat-list { + display: flex; + align-items: center; + justify-content: space-between; + gap: 5px; + } + + .Industries-SubCat { + display: flex; + flex-direction: column; + gap: 5px; + height: 300px; + width: 280px; + padding: 1rem 1rem; + background-color: rgb(244, 234, 242); + overflow: scroll; + border-radius: 6px; + padding-bottom: 4rem; + + .Industries-SubCat-list { + padding: 10px 8px; + border-radius: 8px; + cursor: pointer; + display: flex; + align-items: center; + justify-content: space-between; + transition: background-color 0.3s ease, color 0.3s ease; + opacity: 0; + animation: fadeIn 0.5s ease forwards; + animation-delay: calc(0.1s * var(--i)); + font-weight: 500; + + &:hover { + background-color: #fff; + color: #000000; + transform: scale(1.02); + } + } + } + + .Industries-Info { + display: flex; + align-items: flex-start; + gap: 1rem; + flex-wrap: wrap; + width: 50%; + height: max-content; + overflow: scroll; + max-height: 70vh; + padding-bottom: 5rem; + } + + .InfoData-Restaurant { + display: flex; + align-items: flex-start; + justify-content: space-between; + padding: 6px 6px; + border: 1px solid #e4e4e4; + border-radius: 6px; + width: 215px; + height: 85px; + gap: 5px; + transition: transform 0.3s ease; + + &:hover { + transform: scale(1.05); + } + + >div:nth-child(1) { + img { + width: 55px; + } + } + + >div:nth-child(2) { + >p:nth-child(1) { + font-size: 13px; + font-weight: 500; + } + + >p:nth-child(2) { + font-size: 10px; + font-weight: 400; + height: 35px; + overflow: scroll; + color: #00000084; + } + } + + .AppDescription-tooltip { + text-align: left !important; + font-size: 11px !important; + } + } + + + /////////////////////////////////////////////////// + /// + + .PozoappNavbar-overlay { + position: absolute; + top: 5rem; + left: 0; + height: 91vh; + width: 100vw; + backdrop-filter: blur(15px) !important; + // background-color: rgb(0 0 0 / 50%); + background-color: #0000009c; + z-index: 15; + opacity: 0; + pointer-events: none; + transition: opacity 0.3s ease; + } + + .PozoappNavbar-overlay.open { + opacity: 1; + pointer-events: auto; + } + + .PozoappNavbar-responsive-content { + width: 80vw; + min-height: max-content; + max-height: 75vh; + position: absolute; + background-color: #fff; + top: 2px; + left: 2px; + border-radius: 6px; + opacity: 0; + transform: translateX(-20px); + transition: opacity 0.3s ease, transform 0.3s ease; + box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; + pointer-events: none; + // padding: 1rem 1rem 3rem 1rem; + padding: 3rem 2rem 3rem 2rem; + z-index: 10; + } + + .PozoappNavbar-responsive-content.open { + opacity: 1; + transform: translateY(0); + pointer-events: auto; + } + + .responsive-content { + display: flex; + align-items: flex-start; + flex-direction: column; + border: 1px solid #e4e1e1; + padding: 10px 12px 20px 12px; + border-radius: 4px; + gap: 12px; + width: 100%; + background-color: #ececec; + font-weight: 500; + color: #000; + height: max-content; + max-height: 70vh; + overflow: scroll; + } + + .PozoappNavbar-industry { + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + font-size: 16px; + cursor: pointer; + border-bottom: 3px solid #ffffff; + + svg { + font-size: 18px; + } + } + + .Testimonial-responsive { + font-weight: 500; + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + border-bottom: 3px solid #ffffff; + padding: 1px 1px 3px 1px; + cursor: pointer; + font-weight: 500; + color: #000; + font-family: VAR(--PARA_FONT_FAMILY); + } + + .PozoappNavbar-industry-list { + display: flex; + align-items: flex-start; + gap: 10px; + flex-direction: column; + font-size: 14px; + width: 100%; + + svg { + font-size: 16px; + } + + .Catlistofindustry { + width: 100%; + padding: 1rem 1rem; + background-color: #ffffff; + display: flex; + flex-direction: column; + border-radius: 6px; + gap: 10px; + height: max-content; + max-height: 55vh; + overflow: scroll; + } + + .Catlistofindustry1 { + display: flex; + align-items: center; + gap: 1rem; + width: 100%; + cursor: pointer; + } + } + + .subCatlistofindustry { + cursor: pointer; + padding-left: 1rem; + padding-bottom: 1rem; + display: flex; + flex-direction: column; + align-items: flex-start; + gap: 10px; + background-color: #ececec; + padding: 12px 16px; + border-radius: 6px; + + .industrycatmain { + display: flex; + align-items: flex-start; + gap: 5px; + justify-content: space-between; + width: 100%; + } + } + + .subCatlist-in { + // display: flex; + // align-items: flex-start; + // padding: 3px 10px 3px 10px; + // margin-left: 2rem; + // flex-direction: column; + // gap: 8px; + background-color: #fff; + width: 100%; + padding: 8px 14px; + border-radius: 4px; + } +} + +.pozo-store-btn { + font-size: 15px !important; + height: 54px; + font-weight: 700; + letter-spacing: 0.1px; + border: none; + color: #11181c; + padding: 18px 0px; + text-decoration: none; + cursor: pointer; +} + +.pozo-store-btn1 { + font-size: 20px !important; + height: 54px; + padding: 18px 0px; + cursor: pointer; + display: none; +} + + +.pozo-store-btn:hover { + font-size: 15px !important; + height: 54px; + letter-spacing: 0.1px; + border: none; + color: #0f67da; +} + + +.signin-responsive { + position: relative; + + svg { + font-size: 18px; + stroke-width: 1.5; + } +} + +.signin-responsive-option { + position: absolute; + background-color: #fff; + right: 0; + width: max-content; + display: flex; + flex-direction: column; + align-items: center; + box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; + gap: 10px; + padding: 10px 10px; + top: 1.5rem; + border-radius: 6px; + + div { + font-size: 14px !important; + font-weight: 500 !important; + } +} + +@keyframes fadeIn { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} + +@keyframes slideIn { + 0% { + opacity: 0; + transform: translateY(-20px); + } + + 100% { + opacity: 1; + transform: translateY(0); + } +} + +@media (max-width:899px) { + + .Industries-content, + .logo-and-fields, + .signin-and-fields>div:nth-child(1) { + display: none !important; + } + + .PozoappNavbar-responsive-Toogle { + display: block !important; + } +} + +@media (max-width:499px) { + .PozoappNavbar-Master { + .PozoappNavbar-responsive-content { + width: 90vw !important; + padding: 2rem 1.5rem 2rem 1.5rem; + } + + .PozoappNavbar-industry-list { + padding-left: 0; + } + + .PozoappNavbar-logo-and-field { + gap: 1rem; + } + + .PozoappNavbar-signin { + font-size: 14px !important; + padding: 4px 10px; + border-radius: 8px; + font-weight: 500 !important; + justify-content: center; + + svg { + font-size: 20px !important; + } + } + + .pozo-store-btn1 { + display: block !important; + color: #000000 !important; + } + + .pozo-store-btn { + display: none !important; + } + } +} \ No newline at end of file diff --git a/src/Pages/publichome/HomeNavbarBackup.scss b/src/Pages/publichome/HomeNavbarBackup.scss new file mode 100644 index 0000000..131f9c4 --- /dev/null +++ b/src/Pages/publichome/HomeNavbarBackup.scss @@ -0,0 +1,296 @@ +@import url('https://fonts.googleapis.com/css?family=Roboto'); +body{ + margin: 0; + padding: 0; + font-family: 'Roboto', sans-serif; +} + .navigation { + width: 100vw; + height: 13vh; + z-index: 2; + background: linear-gradient(45deg, #202020, #000000); + position: fixed; +} + .brand { + position: absolute; + padding-left: 20px; + float: left; + line-height: 55px; + text-transform: uppercase; + font-size: 1.4em; +} + .brand a, .brand a:visited { + color: #ffffff; + text-decoration: none; +} + .nav-container { + max-width: 1000px; + margin: 0 auto; +} + nav { + // float: right; +} + nav ul { + list-style: none; + margin: 0; + padding: 0; +} + nav ul li { + float: left; + position: relative; +} + nav ul li a,nav ul li a:visited { + display: block; + padding: 18px 20px; + line-height: 55px; + color: #fff; + background: #262626 ; + text-decoration: none; +} + nav ul li a{ + background: transparent; + color: #FFF; +} + nav ul li a:hover, nav ul li a:visited:hover { + background: #2581DC; + color: #ffffff; +} + .navbar-dropdown li a{ + background: #2581DC; +} + nav ul li a:not(:only-child):after, nav ul li a:visited:not(:only-child):after { + padding-left: 4px; + content: ' \025BE'; +} + nav ul li ul li { + min-width: 190px; +} + nav ul li ul li a { + padding: 15px; + line-height: 20px; +} + .navbar-dropdown { + position: absolute; + display: none; + z-index: 1; + background: #fff; + box-shadow: 0 0 35px 0 rgba(0,0,0,0.25); +} +/* Mobile navigation */ + .nav-mobile { + display: none; + position: absolute; + top: 0; + right: 0; + background: transparent; + height: 55px; + width: 70px; +} + @media only screen and (max-width: 800px) { + .nav-mobile { + display: block; + } + nav { + width: 100%; + padding: 55px 0 15px; + } + nav ul { + display: none; + } + nav ul li { + float: none; + } + nav ul li a { + padding: 15px; + line-height: 20px; + background: #262626; + } + nav ul li ul li a { + padding-left: 30px; + } + .navbar-dropdown { + position: static; +} + @media screen and (min-width:800px) { + .nav-list { + display: block !important; + } +} + #navbar-toggle { + position: absolute; + left: 18px; + top: 15px; + cursor: pointer; + padding: 10px 35px 16px 0px; +} + #navbar-toggle span, #navbar-toggle span:before, #navbar-toggle span:after { + cursor: pointer; + border-radius: 1px; + height: 3px; + width: 30px; + background: #ffffff; + position: absolute; + display: block; + content: ''; + transition: all 300ms ease-in-out; +} + #navbar-toggle span:before { + top: -10px; +} + #navbar-toggle span:after { + bottom: -10px; +} + #navbar-toggle.active span { + background-color: transparent; +} + #navbar-toggle.active span:before, #navbar-toggle.active span:after { + top: 0; +} + #navbar-toggle.active span:before { + transform: rotate(45deg); +} + #navbar-toggle.active span:after { + transform: rotate(-45deg); +} +} + +.Home-navbar-logo-part{ + display: flex; + align-items: center; +} + + +.beta-cont { + background: #7828c8; + color: #ffffff; + border-radius: 6px; + font-size: 14px; + padding: 0vw 1vh; +} + + + + // .nav-user-toggle{ + // position: absolute; + // top: 4rem; + // right: 0; + // z-index: -1; + // background-color: #fff; + // font-family: var(--HEADING_FONT_FAMILY); + // font-size: 14px; + // font-weight: 600; + + // } + +// .user-nav-opt{ +// padding: 1rem 3rem; +// line-height: 2rem; +// flex-direction: column; +// display: flex; +// align-items: center; +// background-color: #ffffff; +// box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); +// } + + +.usr-acc{ + cursor: pointer; + width: 100%; + text-align: center; + list-style: none; +} + +.usr-acc:hover{ + cursor: pointer; + color: #cc3681; +} + + +.nav { + display: flex; + width: 100vw; + justify-content: space-around; + top:0rem; + left:0rem; + position: fixed; + height:18vh; + background-color:#ffffff; + box-shadow: 0px 4px 150px rgba(0, 0, 0, 0.1); + z-index: 23; + + +} + +.navItems{ + display: flex; + align-items: center; + gap: 2rem; + flex-wrap: wrap; + padding:2vw 3vh; + font-size:14px; + font-family: 'Gilroy'; + font-weight: 500; + // text-transform: uppercase; + letter-spacing:0.3px; + color:#000000; +} + + +@media (min-width: 500px) and (max-width: 1279px) { + + + +} + + +.navdropdowns{ + display: flex; + align-items: center; + justify-content: center; + gap: 2rem; + flex-wrap: wrap; + font-size:16px; +font-style: none; +color:#000000; +} + + .ant-dropdown .ant-dropdown-menu, :where(.css-dev-only-do-not-override-1fviqcj).ant-dropdown-menu-submenu .ant-dropdown-menu { + list-style-type: none; + background-color: #ffffff; + background-clip: padding-box; + border-radius: 8px; + // top:1rem; + width: 208vh; + height: 77vh; + padding: 3vw 4vh; + // height: 20rem; + + outline: none; + box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05); +} +//naresh + +.pozo-store-btn{ + font-size: 15px !important; + height: 54px; + /* text-transform: uppercase; */ + font-weight: 700; + letter-spacing: 0.1px; + border: none; + color: #11181c; + padding: 18px 0px; + text-decoration: none; + cursor: pointer; +} +.pozo-store-btn:hover{ + font-size: 15px !important; + height: 54px; + /* text-transform: uppercase; */ + /* font-weight: 500; */ + letter-spacing: 0.1px; + border: none; + color: #0f67da; + // padding: 4px 0px; + // border-bottom: 2px solid #0f67da; + // transition: color 0.3s; +} \ No newline at end of file diff --git a/src/Pages/publichome/HomePage.jsx b/src/Pages/publichome/HomePage.jsx new file mode 100644 index 0000000..c300d9d --- /dev/null +++ b/src/Pages/publichome/HomePage.jsx @@ -0,0 +1,654 @@ +import React from "react"; +import HomeNav from "../publichome/PublicNavBar/NavBar"; +import SEO from "../../Components/SEO/SEO"; +import { getSeo } from "../../features/SEO/seo"; +import "./2HomePage.scss"; +import PlayStoreNew from "../../Images/playstorenew.png"; +import AppStoreNew from "../../Images/appstorenew.png"; +import Bighand from "../../Images/bighand.png"; +import logo from "../../Images/PozoAppLogo.svg"; +import Retail from "../../Images/Icons/retail.svg"; +import "../../fonts/Gilroy/stylesheet.css"; +import { BsArrowRight } from "react-icons/bs"; +import VideoPlayer from "../videoplayer/VideoPlayer"; +import CommonSlider from "../../Components/CommonSlider/CommonSliderHomePage"; +import { RiWhatsappFill } from "react-icons/ri"; +import AOS from "aos"; +import { useState, useEffect } from "react"; +import { Link, useNavigate } from "react-router-dom"; +import { useDispatch } from "react-redux"; +import { + getCategoryData, + getSubCategoryData, + getApplicationData, + PostToken, +} from "../../features/publicHome/publicHome"; +import { getSession, sessionStore } from "../../Services/others"; +import Inventory from "../../Images/inventory.png"; +import Bill from "../../Images/bill.png"; +import accounting from "../../Images/Accounting1.png"; +import { Carousel, Tooltip } from "antd"; +import img1 from "../../Images/template1.png"; +import img2 from "../../Images/template2.png"; +import img3 from "../../Images/template3.png"; +import { LuChevronRightCircle } from "react-icons/lu"; +import { VscClose } from "react-icons/vsc"; +import { IoIosCall } from "react-icons/io"; + +const contentStyle = { + height: "400px", + color: "#fff", + lineHeight: "160px", + textAlign: "center", + +}; +import Landing_Video from "../../Images/Video/Landing_Video.mp4" + +const subDirectory = import.meta.env.ENV_BASE_URL; + +const PublicHome = () => { + const dispatch = useDispatch(); + const navigate = useNavigate(); + + const [Category, setCategory] = useState([]); + const [SubCategory, setSubCategory] = useState([]); + const [AppCategory, setAppCategory] = useState([]); + const [Subcatopen, setSubcatopen] = useState(null); + const [seoData, setSeoData] = useState({}); + const userId = getSession("UserId"); + + useEffect(() => { + if (Category?.[0]?.CateId != undefined) { + getSubCategory(Category?.[0]?.CateId, "button1"); + } + }, [Category]); + + useEffect(() => { + if (SubCategory != []) { + getAppData(SubCategory?.[0]?.SubCateId); + } + }, [SubCategory]); + + useEffect(() => { + fetchConfigName(); + fetchSEOData(); + AOS.init({ + duration: 1000, + }); + if (!sessionStorage.getItem('auth')) { + + Tokens(); + } + }, []); + + const fetchSEOData = async () => { + try { + // Assuming PageId 1 is for Home page - adjust as needed + const response = await dispatch(getSeo({ PageId: 1 })).unwrap(); + if (response?.data?.statusCode === 1 && response?.data?.data?.length > 0) { + const seo = response.data.data[0]; + setSeoData({ + title: seo.MetaTitle, + description: seo.MetaDesc, + keywords: seo.Keywords, + image: seo.ImageUrl || '/og/home.jpg' + }); + } + } catch (error) { + console.error('Error fetching SEO data:', error); + // Fallback to default SEO data + setSeoData({ + title: "PozoApp - Complete Business Management Solution", + description: "AI-powered POS and SaaS solutions for MSMEs and enterprises", + keywords: "POS software, billing software, inventory management", + image: '/og/home.jpg' + }); + } + }; + + const getAppData = async (subcatId) => { + const response = await dispatch(getApplicationData(subcatId)).unwrap(); + + if (response?.data?.statusCode === 1) { + let finalsubCategory = response?.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setAppCategory(finalsubCategory); + } + }; + + + + const getSubCategory = async (cateId) => { + setAppCategory([]); + const response = await dispatch(getSubCategoryData(cateId)).unwrap(); + if (response?.data?.statusCode === 1) { + let finalsubCategory = response?.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setSubCategory(finalsubCategory); + } + }; + + const fetchConfigName = async () => { + setSubCategory([]); + setAppCategory([]); + const response = await dispatch(getCategoryData()).unwrap(); + + if (response?.data?.statusCode === 1) { + let finalCategory = response?.data?.data; + setCategory(finalCategory); + } + }; + const getSignIn = async (AppId, AppName) => { + sessionStore("AppId", AppId); + sessionStore("AppName", AppName); + navigate(`${subDirectory + AppName?.toLowerCase()}`); + window.location.reload(); + }; + + const Tokens = async () => { + let data = { + username: "1000000001", + password: "1234" + } + try { + await dispatch(PostToken(data)).unwrap(); + + } catch (error) { + console.error("Error fetching token:", error); + } + }; + + return ( + <> + +
    +
    +
    + +
    +
    +
    +
    +

    simple | speed | smart | secure

    +
    +
    +

    + Simplify your business operation
    with pozo apps powered by GenAI +

    +
    + Experience, Automation, Cost Efficient +
    +
    + Our SaaS offering is designed for businesses of all sizes from small & medium enterprises to large enterprises +
    + +
    + + + +
    +
    + +
    +
    + + +
    +
    +
    +
    +
    +

    POZO Offerings

    +

    + {" "} + Think Business, Think POZO Discover what POZO can do for you +

    + + +
    +
    +
    + BusinessImg +
    + +
    +

    Inventory/Warhouse Management

    +

    + It is all about keeping track of what you have in stock and + making sure you have enough of the right stuff at the right + time. +

    +
    +
    + +
    +
    + BusinessImg +
    +
    +

    Billing/POS

    +

    + {" "} + customization options, and integration with payment gateways + make it an indispensable asset for modern businesses{" "} +

    +
    +
    +
    +
    + BusinessImg +
    +
    +

    Accounting

    +

    + {" "} + It is all about keeping tabs on all the money moving through the store - from sales to expenses - to ensure the business stays profitable and organized{" "} +

    +
    +
    +
    + +
    +
    +
    +
    +
    +
    + ~ +
    +
    + BusinessImg +
    +
    +
    +
    + {" "} +

    + {" "} + Values of +

    {" "} +

    POZO

    {" "} +
    + +
    + +
    +

    + {" "} + BusinessImg{" "} +

    +
    +
    +

    + {" "} + BusinessImg{" "} +

    +
    +
    +

    + {" "} + BusinessImg{" "} +

    +
    +
    +
    + + +
    +

    + POZO billing software simplifies billing processes by providing customization, automation, and integrated with payment gateways. +

    +
    +
    +
    +
    +

    +

    + A complete digital platform for restaurants, hotels, cafes, bars, + food courts, Garments and
    more in one application +

    + +
    + +
    + {Category.length > 0 ? ( +
    + {Category.map((a, index) => ( + + ))} +
    + ) : null} +
    +
    + + {Subcatopen !== null && ( + <> +
    + +
    +
    + {SubCategory?.map((a, index) => ( + + + ))} +
    + {Subcatopen !== null && ( +
    +
    + {AppCategory?.map((a) => ( +
    getSignIn(a?.AppId, a?.AppName)} + > +

    + AppImg + {a.AppName} +

    + {a.AppDescription} +

    +

    + +

    + {" "} + Explore Now {" "} +

    +
    + ))} +
    +
    + )} +
    + + )} +
    + +
    + +
    + +
    +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    +
    +
    +
    +
    + +
    +
    + logo +

    + Enabling Business Expansion with Limited Staff, Basic Skills, and + Reliable Solutions inspired the inception of Pozo as an extension of + this core principle. +

    +
    + +
    +
    +

    GET STARTED NOW

    +

    Sign up

    +
    + +
    +
    +

    MOBILE APPS

    + + +
    + + +
    +
    +
    +
    +
    + +
    +
    +

    COMPANY

    +

    Privacy Policy

    +

    Terms

    +
    +
    + +
    +

    PHONE

    +
    + +

    73 24 00 00 11

    +
    + +
    +
    + +
    +

    73 24 00 00 12

    +
    +
    +
    +
    +
    +

    + © 2025 POZO All Rights Reserved. +

    +
    + + ); + // } +}; + +export default PublicHome; diff --git a/src/Pages/publichome/PublicNavBar/Collapse.jsx b/src/Pages/publichome/PublicNavBar/Collapse.jsx new file mode 100644 index 0000000..4ac1dfc --- /dev/null +++ b/src/Pages/publichome/PublicNavBar/Collapse.jsx @@ -0,0 +1,232 @@ +import { CaretRightOutlined } from "@ant-design/icons"; +import React, { useState, useEffect } from "react"; +import { useDispatch } from "react-redux"; +import { Collapse, theme, Tooltip } from "antd"; +import { useNavigate } from "react-router-dom"; +import { + getApplication, + getApplicationCategory, + getApplicationSubCategory, +} from "../../../features/applications/bannerImage"; +import { getMainModuleData, getModuleData } from "../../../features/publicHome/publicHome"; +import { getSession, clearSession } from "../../../Services/others"; +import { GenerateLogout } from "../../../features/signInPage/signInPage"; +const { Panel } = Collapse; +const subDirectory = import.meta.env.ENV_BASE_URL; + +const Collapses = ({ handleToggle }) => { + const dispatch = useDispatch(); + const navigate = useNavigate(); + + const [Category, setCategory] = useState([]); + const [ModuleData, setModuleData] = useState([]); + const [applicationCategory, setApplicationCategory] = useState([]); + const [uniqueSubcategories, setUniqueSubcategories] = useState([]); + const [subCategoryData, setSubCategoryData] = useState({}); + + const userId = getSession('UserId') + + const fetchConfigName = async () => { + const response = await dispatch(getMainModuleData({ TypeName: "Main Module" })).unwrap(); + if (response?.data?.statusCode === 1) { + let finalCategory = response?.data?.data?.length > 0 ? response?.data?.data?.filter(item => item.ActiveStatus === 'A') : []; + setCategory(finalCategory); + } + }; + + + useEffect(() => { + dispatch(getApplication()); + fetchConfigName(); + }, []); + + + + + const getAppCatDeatils = async (e, index) => { + const response = await dispatch(getApplicationCategory(e)).unwrap(); + if (response?.data?.statusCode === 1) { + setApplicationCategory(response?.data?.data) + const res = response?.data?.data?.filter((subcategory, index, self) => + index === self.findIndex((s) => s.SubCateId === subcategory.SubCateId) + ) || []; + setUniqueSubcategories(res) + } else { + setApplicationCategory([]) + setUniqueSubcategories([]) + } + + }; + + + const getAppDetails = async (subCateId) => { + try { + const subRes = await dispatch(getApplicationSubCategory(subCateId)).unwrap(); + if (subRes.data?.statusCode === 1) { + setSubCategoryData(prevState => ({ + ...prevState, + [subCateId]: subRes.data?.data + })); + } else { + // Handle error or empty response + console.error("Error fetching data for SubCateId:", subCateId); + } + } catch (error) { + // Handle API call error + console.error("Error fetching data:", error); + } + }; + + const { token } = theme.useToken(); + const onChange = (key) => { + }; + const panelStyle = { + marginBottom: 24, + background: token.colorFillAlter, + borderRadius: token.borderRadiusLG, + border: "none", + }; + + const openSignupModal = () => { + navigate(`${subDirectory}signin/`); + }; + const UserForm = async () => { + navigate(`${subDirectory}landing-page/user-account`) + } + const logout = async() => { + const UserId=userId + const status = "N"; // replace with your actual status + const res = await dispatch(GenerateLogout({UserId,status})).unwrap(); + if (res?.data?.statusCode === 1) { + clearSession() + navigate(`${subDirectory}`) + handleToggle() + } + + } + const getModules = async (ConfigId) => { + const response = await dispatch(getModuleData({ AlphaNumFId: ConfigId })).unwrap(); + if (response?.data?.statusCode === 1) { + let finalsubCategory = response?.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setModuleData(finalsubCategory); + + } + } + return ( + ()} + style={{ background: token.colorBgContainer }} + size="large" + > + {Category?.map((MainModule) => ( + getModules(MainModule.ConfigId)} + > + + {ModuleData?.map((a, index) => ( + getAppCatDeatils(a?.ConfigId, index)} + > + {applicationCategory && + uniqueSubcategories?.map((subcategory) => ( + + getAppDetails(subcategory.SubCateId)} + > + {subCategoryData[subcategory.SubCateId]?.map((appCategory) => ( + { + navigate(`${subDirectory + appCategory?.AppName?.toLowerCase()}`); + window.location.reload(); + }} + > +

    {appCategory.AppName}

    +
    + ))} +
    +
    + ))} +
    + ))} +
    +
    + )) + } + + + {!userId ? +
    +

    Sign In

    +
    : + +
    + {userId &&
  • { + e.target.style.color = "black"; + e.target.style.fontWeight = "400"; + }} + onClick={() => UserForm()} + > + My Account +
  • } +
  • { + e.target.style.color = "black"; + e.target.style.fontWeight = "400"; + }} + onClick={() => logout()} + > + Sign Out +
  • +
    +
    } + > +
    + User Details +
    + + } + + ); +}; +export default Collapses; diff --git a/src/Pages/publichome/PublicNavBar/NavBar.jsx b/src/Pages/publichome/PublicNavBar/NavBar.jsx new file mode 100644 index 0000000..03dbc8b --- /dev/null +++ b/src/Pages/publichome/PublicNavBar/NavBar.jsx @@ -0,0 +1,436 @@ +import React, { useState, useRef, useEffect } from 'react'; +import { useLocation, useNavigate } from "react-router-dom"; +import { useDispatch } from "react-redux"; +import { Empty, Tooltip } from "antd"; +import pozologo from "../../../Images/PozoAppLogo.svg"; +import { HiOutlineUserCircle } from "react-icons/hi"; +import { LuArrowRight } from "react-icons/lu"; +import { PiShoppingCart } from "react-icons/pi"; +import { MdMenu } from "react-icons/md"; +import { MdChevronRight, MdKeyboardArrowDown } from "react-icons/md"; +import { getApplicationData, getMainModuleData, getModuleData, getSubCategoryData, PostToken } from "../../../features/publicHome/publicHome"; +import { getSession, clearSession, sessionStore } from "../../../Services/others"; +import "../HomeNavbar.scss"; +import { GenerateLogout } from "../../../features/signInPage/signInPage"; +import { IoClose } from "react-icons/io5"; + + +const subDirectory = import.meta.env.BASE_URL; + +const PozoappNavbar = () => { + //Other Hooks + const hideTimeout = useRef(null); + const userId = getSession("UserId"); + const navigate = useNavigate(); + const dispatch = useDispatch(); + const location = useLocation(); + //useStates + const [industriesCatData, setIndustriesCatData] = useState(); + const [category, setCategory] = useState(); + const [selectedCategory, setSelectedCategory] = useState(); + const [subCategories, setSubCategories] = useState(); + const [selectedSubCategory, setSelectedSubCategory] = useState(); + const [industriesInfoData, setIndustriesInfoData] = useState(); + const [responsivecontent, setResponsivecontent] = useState(false); + const [isHovered, setIsHovered] = useState(false); + const [smallScreenConfigID, setSmallScreenConfigID] = useState(); + const [optionOfResponsive, setOptionOfResponsive] = useState(false); + //useEffects + useEffect(() => { + fetchNavBarData(); + }, []); + //functions + const fetchNavBarData = async () => { + const response = await dispatch(getMainModuleData({ TypeName: "Main Module" })).unwrap(); + + if (response?.data?.statusCode === 1) { + + setIndustriesCatData(response?.data?.data?.length > 0 ? response?.data?.data?.filter(item => item.ActiveStatus === 'A') : []); + } + }; + + const handleHomeOnclick = () => { + navigate(`${subDirectory}`); + }; + + const handleSiginOnclick = () => { + navigate(`${subDirectory}signin`) + }; + + + const logout = async () => { + + const UserId = userId + const status = "N"; // replace with your actual status + const res = await dispatch(GenerateLogout({ UserId, status })).unwrap(); + if (res?.data?.statusCode === 1) { + clearSession(); + navigate(`${subDirectory}`); + if (!sessionStorage.getItem('auth')) { + + Tokens(); + } + + + } + }; + + const scrollToSection = () => { + const element = document.getElementById("Offers"); + if (element) { + element.scrollIntoView({ behavior: "smooth" }); + } + }; + + const responsiveOption = () => { + setOptionOfResponsive(prevState => !prevState); + } + + const redirectApp = async (AppName, AppId) => { + sessionStore("AppId", AppId); + sessionStore("AppName", AppName); + navigate(`${subDirectory + AppName}`); + window.location.reload(); + }; + + const handleMouseEnter = async (ConfigId) => { + const response = await dispatch( + getModuleData({ AlphaNumFId: ConfigId }) + ).unwrap(); + + if (response?.data?.statusCode === 1) { + let finalsubCategory = response?.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setCategory(finalsubCategory); + getSubCategory(finalsubCategory?.[0]?.ConfigId, 0); + setSmallScreenConfigID(ConfigId); + } else { + setSelectedCategory(undefined) + setSubCategories([]); + setSelectedSubCategory(undefined); + setIndustriesInfoData([]); + setSmallScreenConfigID(undefined) + } + + + if (hideTimeout.current) { + clearTimeout(hideTimeout.current); // Clear any scheduled hiding + } + + setIsHovered(true); // Show content instantly + } + + const getSubCategory = async (cateId) => { + setSelectedCategory(prev => responsivecontent ? prev === cateId ? undefined : cateId : cateId); + const response = await dispatch(getSubCategoryData(cateId)).unwrap(); + if (response?.data?.statusCode === 1) { + let finalsubCategory = response?.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setSubCategories(finalsubCategory) + getAppData(response?.data?.data[0]?.SubCateId); + } else { + setSubCategories([]); + setSelectedSubCategory(undefined); + setIndustriesInfoData([]); + } + }; + + const getAppData = async (subcatId) => { + setSelectedSubCategory(prev => responsivecontent ? prev === subcatId ? undefined : subcatId : subcatId); + const response = await dispatch(getApplicationData(subcatId)).unwrap(); + if (response?.data?.statusCode === 1) { + let finalsubCategory = response?.data?.data?.filter( + (value) => value.ActiveStatus === "A" + ); + setIndustriesInfoData(finalsubCategory); + } else { + setIndustriesInfoData([]); + } + }; + + const handleMouseLeave = () => { + hideTimeout.current = setTimeout(() => { + setIsHovered(false); // Hide content after 1 second + }, 100); // 1000 ms = 1 second + }; + + const handleResponsiveContent = () => { + setResponsivecontent(!responsivecontent); + }; + const Tokens = async () => { + let data = { + username: "1000000001", + password: "1234" + } + + + try { + await dispatch(PostToken(data)).unwrap(); + + } catch (error) { + console.error("Error fetching token:", error); + } + }; + + return ( +
    +
    + +
    +
    + {!responsivecontent && ()} + {responsivecontent && ()} +
    + {/* responsive */} +
    +
    +
    + {industriesCatData?.map((industries, index) => { + return ( + <> +

    { handleMouseEnter(industries.ConfigId) }} + > + {industries.ConfigName} + {industries.ConfigId === smallScreenConfigID ? () : ()} +

    + {smallScreenConfigID === industries.ConfigId && ( + <> + {category?.map((item, index) => { + return ( +
    +
    +
    { getSubCategory(item.ConfigId) }}> + {selectedCategory === item.ConfigId ? : } + {item.ConfigName} +
    + {(selectedCategory === item.ConfigId && subCategories?.length > 0) ? + subCategories?.map((subitem, subindex) => { + return ( +
    +
    getAppData(subitem.SubCateId)} + className="industrycatmain" + > + {subitem.SubCategoryName} + {selectedSubCategory == subitem.SubCateId ? : } +
    + + {selectedSubCategory === subitem.SubCateId && industriesInfoData?.length > 0 && + industriesInfoData?.map((subcatitem, subcatindex) => { + return ( +
    + redirectApp( + subcatitem?.AppName?.toLowerCase(), + subcatitem?.AppId + ) + } + > + {subcatitem.AppName} +
    + ) + }) + // : + // (
    Select a subcategory to view more information
    ) + } + +
    ) + }) + : + ( +
    + {/* Select a Category to view more information */} +
    + ) + } +
    +
    + ) + })} + + )} + + ) + })} + +
    { navigate(`${subDirectory}testimonials`) }}> + Testimonials +
    + +
    +
    +
    +
    + + +
    + pozologo +
    +
    + {industriesCatData?.map((item, index) => { + return ( +
    { handleMouseEnter(item.ConfigId) }} + onMouseLeave={handleMouseLeave} + > + {item.ConfigName} +
    + ) + })} + {isHovered && ( +
    { handleMouseEnter(smallScreenConfigID) }} + onMouseLeave={handleMouseLeave}> +
    + {category?.map((item, index) => ( +
    getSubCategory(item.ConfigId)} + > + {item.ConfigName} + {selectedCategory === item.ConfigId && } +
    + ))} +
    + + {category?.length > 0 &&
    + {subCategories?.length > 0 ? + subCategories?.map((item, index) => ( +
    getAppData(item.SubCateId)} + > + {item.SubCategoryName} + {selectedSubCategory === item.SubCateId && } +
    + )) + : + + } +
    } + + {category?.length > 0 && subCategories?.length > 0 &&
    + { + selectedSubCategory ? selectedSubCategory && industriesInfoData?.length > 0 ? ( + industriesInfoData?.map((info, index) => ( +
    + redirectApp( + info?.AppName?.toLowerCase(), + info?.AppId + ) + } + > +
    +
    + {info.AppName} +
    +
    +

    {info.AppName}

    + {info.AppDescription} } + color={"#fff"}> +

    {info.AppDescription}

    +
    +
    +
    +
    + )) + ) : ( + + + + ) : ( +
    Select a subcategory to view more information
    + ) + } +
    } +
    + )} + {(location?.pathname == "/" || location?.pathname == "/home/") && ( +
    + Offerings + +
    )} +
    { navigate(`${subDirectory}testimonials`) }}> + Testimonials +
    +
    +
    + +
    +
    + + POZO STORE + + + + + {!userId ? + <> +
    + + SIGN IN +
    + + + : + <> +
    +
    + +
    + + {optionOfResponsive &&
    +
    { navigate(`${subDirectory}landing-page/user-account`) }} + >My Account
    +
    Sign Out
    +
    } + + +
    + + } +
    +
    +
    + ); +}; + +export default PozoappNavbar; diff --git a/src/Pages/publichome/PublicNavBar/NavBarBackup.jsx b/src/Pages/publichome/PublicNavBar/NavBarBackup.jsx new file mode 100644 index 0000000..9b4e771 --- /dev/null +++ b/src/Pages/publichome/PublicNavBar/NavBarBackup.jsx @@ -0,0 +1,323 @@ +import React, { useState, useEffect } from "react"; +import { Menu } from "antd"; +import { MenuOutlined, UserOutlined } from "@ant-design/icons"; +import Collapse from "./Collapse"; +import { Popover, Tooltip } from "antd"; +import NavBarCom from "../../NavBarComps/NavBarCom"; +import { getCategoryData,getMainModuleData } from "../../../features/publicHome/publicHome"; +import { useLocation, useNavigate } from "react-router-dom"; +import { AiOutlineUser, AiTwotoneHeart } from "react-icons/ai"; +import "../HomeNavbar.scss"; +import AppLogo from "../../../Images/pozologo.svg"; +import { Avatar, Badge, Space } from "antd"; + +import { useDispatch } from "react-redux"; +import { getSession, clearSession } from "../../../Services/others"; +const subDirectory = import.meta.env.BASE_URL; + +const NavBar = () => { + const navigate = useNavigate(); + const dispatch = useDispatch(); + const location = useLocation(); + const [collapsed, setCollapsed] = useState(false); // State for toggle + const [isSmallScreen, setIsSmallScreen] = useState(false); // State for small screen detection + const [Category, setCategory] = useState([]); + const [isOpenUserMenu, setisOpenUserMenu] = useState(false); + const [isOpenpublicUserMenu, setisOpenpublicUserMenu] = useState(false); + const userId = getSession("UserId"); + + useEffect(() => { + fetchConfigName(); + }, []); + + const fetchConfigName = async () => { + // const response = await dispatch(getCategoryData()).unwrap(); + const response = await dispatch(getMainModuleData({TypeName:"Main Module"})).unwrap(); + if (response?.data?.statusCode === 1) { + let finalCategory = response?.data?.data?.length > 0 ? response?.data?.data?.filter(item => item.ActiveStatus === 'A') : []; + setCategory(finalCategory); + } + }; + + const handleToggle = () => { + setCollapsed(!collapsed); // Toggle the collapsed state + }; + + const handleClickUser = () => { + // setisOpenUser(!isOpenUser) + setisOpenUserMenu(!isOpenUserMenu); + }; + + const handleClickPublicUser = () => { + // setisOpenUser(!isOpenUser) + setisOpenpublicUserMenu(!isOpenUserMenu); + }; + + const handleClick = (e) => { + // Dispatch an action to update the current selected menu item + }; + + const openSignInModal = () => { + // setOpen(true); + navigate(`${subDirectory}signin`); + window.location.reload(); + }; + + const openSignupModal = () => { + // setOpen(true); + navigate(`${subDirectory}signin/`); + window.location.reload(); + }; + + const openPublicHome = () => { + // setOpen(true); + navigate(`${subDirectory}`); + window.location.reload(); + }; + + useEffect(() => { + const checkScreenSize = () => { + setIsSmallScreen(window.innerWidth < 900); // Adjust the breakpoint as per your requirement + }; + + checkScreenSize(); + + window.addEventListener("resize", checkScreenSize); + return () => { + window.removeEventListener("resize", checkScreenSize); + }; + }, []); + const UserForm = async () => { + navigate(`${subDirectory}landing-page/user-account`); + }; + const logout = () => { + clearSession(); + navigate(`${subDirectory}`); + }; + const scrollToSection = () => { + const element = document.getElementById("Offers"); + if (element) { + element.scrollIntoView({ behavior: "smooth" }); + } + }; + return ( + <> +
    + Logo + +
    + {!isSmallScreen && ( + + {Category?.map((a, b, index) => ( + + } + trigger="hover" + overlayStyle={{ + backgroundColor: "#fff", + borderRadius: "8px", + padding: "12px", + alignItems: "flex-start", + }} + > +
    + {a?.ConfigName} +
    +
    +
    + // + // } + // trigger="hover" + // overlayStyle={{ + // backgroundColor: "#fff", + // borderRadius: "8px", + // padding: "12px", + // alignItems: "flex-start", + // }} + // > + //
    + // {a?.CategoryName} + //
    + //
    + //
    + ))} +
    + )} +
    + {(location?.pathname == subDirectory) && ( +
    + offerings +
    + )} + {(location?.pathname == subDirectory || location?.pathname == `${subDirectory}testimonials`) && ( +
    { navigate(`${subDirectory}testimonials`);}}> + Testimonials +
    + )} + {!userId ? ( +
    + {!isSmallScreen && ( + + +
    {" "} +
    + + {/*
    Sign In
    */} + +
    + {" "} + Sign in + {/* } + handleCancel={handleCancel} + // handleSubmit={handleSubmit} + /> */} +
    +
    + {/* + +
    + Get started — it's free   +
    +
    */} +
    + )} +
    + ) : ( + + {/* Content to be displayed when open */} +
    + {userId && ( +
  • { + e.target.style.color = "black"; + e.target.style.fontWeight = "400"; + }} + onClick={() => UserForm()} + > + {" "} + My Account{" "} +
  • + )} +
  • { + e.target.style.color = "black"; + e.target.style.fontWeight = "400"; + }} + onClick={() => logout()} + > + {" "} + Sign Out{" "} +
  • +
    +
    + } + > + {" "} + + )} + + {/*
    */} + {/* + } /> + */} + + POZO STORE + + {isOpenpublicUserMenu && ( +
    + {/* Content to be displayed when open */} +
    +
  • My Account
  • +
  • Sign Out
  • +
    +
    + )} + + +
    + {isSmallScreen && ( +
    + Logo + +
    +
    + +
    + + {/*
    + +
    */} +
    + + {isOpenUserMenu && ( +
    + {/* Content to be displayed when open */} +
    +
  • My Account
  • +
  • Sign Out
  • +
    +
    + )} +
    + )} + + {isSmallScreen && collapsed && ( +
    + + {/* }> + Home + + }> + About + + }> + Contact + + Contact Sales + Free Account */} + + +
    + )} +
    + + ); +}; + +export default NavBar; diff --git a/src/Pages/publichome/PublicNavBar/SampleNewPublicNavbar/NewNav.jsx b/src/Pages/publichome/PublicNavBar/SampleNewPublicNavbar/NewNav.jsx new file mode 100644 index 0000000..7860b0f --- /dev/null +++ b/src/Pages/publichome/PublicNavBar/SampleNewPublicNavbar/NewNav.jsx @@ -0,0 +1,116 @@ +import React, { useState, useEffect } from 'react'; + +const DropdownMenu = () => { + const [isHamburgerVisible, setHamburgerVisible] = useState(false); + + useEffect(() => { + const dropdownBtn = document.querySelectorAll(".dropdown-btn"); + const dropdown = document.querySelectorAll(".dropdown"); + const links = document.querySelectorAll(".dropdown a"); + + const setAriaExpandedFalse = () => { + dropdownBtn?.forEach((btn) => btn.setAttribute("aria-expanded", "false")); + }; + + const closeDropdownMenu = () => { + dropdown?.forEach((drop) => { + drop.classList.remove("active"); + drop.addEventListener("click", (e) => e.stopPropagation()); + }); + }; + + const toggleHamburger = () => { + setHamburgerVisible((prevVisible) => !prevVisible); + }; + + const handleDropdownClick = (e, btn) => { + const dropdownIndex = btn.dataset.dropdown; + const dropdownElement = document.getElementById(dropdownIndex); + + dropdownElement.classList.toggle("active"); + dropdown?.forEach((drop) => { + if (drop.id !== btn.dataset.dropdown) { + drop.classList.remove("active"); + } + }); + e.stopPropagation(); + btn.setAttribute( + "aria-expanded", + btn.getAttribute("aria-expanded") === "false" ? "true" : "false" + ); + }; + + dropdownBtn?.forEach((btn) => { + btn.addEventListener("click", (e) => handleDropdownClick(e, btn)); + }); + + links?.forEach((link) => + link.addEventListener("click", () => { + closeDropdownMenu(); + setAriaExpandedFalse(); + toggleHamburger(); + }) + ); + + document.documentElement.addEventListener("click", () => { + closeDropdownMenu(); + setAriaExpandedFalse(); + }); + + document.addEventListener("keydown", (e) => { + if (e.key === "Escape") { + closeDropdownMenu(); + setAriaExpandedFalse(); + } + }); + + return () => { + // Cleanup event listeners on component unmount + dropdownBtn?.forEach((btn) => { + btn.removeEventListener("click", (e) => handleDropdownClick(e, btn)); + }); + links?.forEach((link) => + link.removeEventListener("click", () => { + closeDropdownMenu(); + setAriaExpandedFalse(); + toggleHamburger(); + }) + ); + document.documentElement.removeEventListener("click", () => { + closeDropdownMenu(); + setAriaExpandedFalse(); + }); + document.removeEventListener("keydown", (e) => { + if (e.key === "Escape") { + closeDropdownMenu(); + setAriaExpandedFalse(); + } + }); + }; + }, []); // Empty dependency array ensures that the effect runs only once on mount + + return ( +
    + +
    + {/* Your dropdown menu content goes here */} + + + {/* Additional dropdowns go here */} +
    +
    + ); +}; + +export default DropdownMenu; \ No newline at end of file diff --git a/src/Pages/publichome/PublicNavBar/SampleNewPublicNavbar/NewNav.scss b/src/Pages/publichome/PublicNavBar/SampleNewPublicNavbar/NewNav.scss new file mode 100644 index 0000000..5e33cf0 --- /dev/null +++ b/src/Pages/publichome/PublicNavBar/SampleNewPublicNavbar/NewNav.scss @@ -0,0 +1,284 @@ +:root { + --dark-grey: #333333; + --medium-grey: #636363; + --light-grey: #eeeeee; + --ash: #f4f4f4; + --primary-color: #2b72fb; + --white: white; + --border: 1px solid var(--light-grey); + --shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, + rgba(0, 0, 0, 0.08) 0px 0px 0px 1px; + } + + body { + font-family: inherit; + background-color: var(--white); + color: var(--dark-grey); + letter-spacing: -0.4px; + } + + ul { + list-style: none; + } + + a { + text-decoration: none; + color: inherit; + } + + button { + border: none; + background-color: transparent; + cursor: pointer; + color: inherit; + } + + .btn { + display: block; + background-color: var(--primary-color); + color: var(--white); + text-align: center; + padding: 0.6rem 1.4rem; + font-size: 1rem; + font-weight: 500; + border-radius: 5px; + } + + .icon { + padding: 0.5rem; + background-color: var(--light-grey); + border-radius: 10px; + } + + .logo { + margin-right: 1.5rem; + } + + #nav-menu { + border-bottom: var(--border); + } + + .container { + display: flex; + align-items: center; + justify-content: space-between; + column-gap: 2rem; + height: 90px; + padding: 1.2rem 3rem; + } + + .menu { + position: relative; + background: var(--white); + } + + .menu-bar li:first-child .dropdown { + flex-direction: initial; + min-width: 480px; + } + + .menu-bar li:first-child ul:nth-child(1) { + border-right: var(--border); + } + + .menu-bar li:nth-child(n + 2) ul:nth-child(1) { + border-bottom: var(--border); + } + + .menu-bar .dropdown-link-title { + font-weight: 600; + } + + .menu-bar .nav-link { + font-size: 1rem; + font-weight: 500; + letter-spacing: -0.6px; + padding: 0.3rem; + min-width: 60px; + margin: 0 0.6rem; + } + + .menu-bar .nav-link:hover, + .dropdown-link:hover { + color: var(--primary-color); + } + + .nav-start, + .nav-end, + .menu-bar, + .right-container, + .right-container .search { + display: flex; + align-items: center; + } + + .dropdown { + display: flex; + flex-direction: column; + min-width: 230px; + background-color: var(--white); + border-radius: 10px; + position: absolute; + top: 36px; + z-index: 1; + visibility: hidden; + opacity: 0; + transform: scale(0.97) translateX(-5px); + transition: 0.1s ease-in-out; + box-shadow: var(--shadow); + } + + .dropdown.active { + visibility: visible; + opacity: 1; + transform: scale(1) translateX(5px); + } + + .dropdown ul { + display: flex; + flex-direction: column; + gap: 0.5rem; + padding: 1.2rem; + font-size: 0.95rem; + } + + .dropdown-btn { + display: flex; + align-items: center; + justify-content: space-between; + gap: 0.15rem; + } + + .dropdown-link { + display: flex; + gap: 0.5rem; + padding: 0.5rem 0; + border-radius: 7px; + transition: 0.1s ease-in-out; + } + + .dropdown-link p { + font-size: 0.8rem; + color: var(--medium-grey); + } + + .right-container { + display: flex; + align-items: center; + column-gap: 1rem; + } + + .right-container .search { + position: relative; + } + + .right-container img { + border-radius: 50%; + } + + .search input { + background-color: var(--ash); + border: none; + border-radius: 6px; + padding: 0.7rem; + padding-left: 2.4rem; + font-size: 16px; + width: 100%; + border: var(--border); + } + + .search .bx-search { + position: absolute; + left: 10px; + top: 50%; + font-size: 1.3rem; + transform: translateY(-50%); + opacity: 0.6; + } + + #hamburger { + display: none; + padding: 0.1rem; + margin-left: 1rem; + font-size: 1.9rem; + } + + @media (max-width: 1100px) { + #hamburger { + display: block; + } + + .container { + padding: 1.2rem; + } + + .menu { + display: none; + position: absolute; + top: 87px; + left: 0; + min-height: 100vh; + width: 100vw; + } + + .menu-bar li:first-child ul:nth-child(1) { + border-right: none; + border-bottom: var(--border); + } + + .dropdown { + display: none; + min-width: 100%; + border: none !important; + border-radius: 5px; + position: static; + top: 0; + left: 0; + visibility: visible; + opacity: 1; + transform: none; + box-shadow: none; + } + + .menu.show, + .dropdown.active { + display: block; + } + + .dropdown ul { + padding-left: 0.3rem; + } + + .menu-bar { + display: flex; + flex-direction: column; + align-items: stretch; + row-gap: 1rem; + padding: 1rem; + } + + .menu-bar .nav-link { + display: flex; + justify-content: space-between; + width: 100%; + font-weight: 600; + font-size: 1.2rem; + margin: 0; + } + + .menu-bar li:first-child .dropdown { + min-width: 100%; + } + + .menu-bar > li:not(:last-child) { + padding-bottom: 0.5rem; + border-bottom: var(--border); + } + } + + @media (max-width: 600px) { + .right-container { + display: none; + } + } + \ No newline at end of file diff --git a/src/Pages/publichome/PublicNavBar/index.scss b/src/Pages/publichome/PublicNavBar/index.scss new file mode 100644 index 0000000..8731c44 --- /dev/null +++ b/src/Pages/publichome/PublicNavBar/index.scss @@ -0,0 +1,790 @@ + + +// :root { +// overflow-x: hidden; +// overflow-y: auto; +// } +:root { + + /* component variables */ + + --INPUT_FIELD_WIDTH: min(60vw, 250px); + + /* application common variables */ + --HEADING_COLOR: #000000; + --HEADING_FONT_FAMILY: 'Gilroy'; + + // --PARA_FONT_FAMILY: 'Poppins'; + --PARA_FONT_FAMILY: 'Gilroy'; + --PARA_COLOR: #3F3F3F; + + --PRIMARY_BUTTON_BG_COLOR: #8F1E78; + --PRIMARY_BUTTON_COLOR: #FFFFFF; + --PRIMARY_BUTTON_BORDER_RADIUS: 6px; + + --SECONDRY_BUTTON_BG_COLOR: white; + --SECONDRY_BUTTON_COLOR: #000000; + --SECONDRY_BUTTON_BORDER_RADIUS: 25.6853px; + + --THIRD_BUTTON_BG_COLOR: #060606; + --THIRD_BUTTON_COLOR: #EFEFEF; + --THIRD_BUTTON_BORDER_RADIUS: 6.53329px; + + --BOX_SHADOW_LEVEL1: 0px 4px 15px rgba(0, 0, 0, 0.1); + --BOX_SHADOW_LEVEL2: 0px 4px 25px rgba(0, 0, 0, 0.2); + --BOX_SHADOW_LEVEL3: 0px 5.25331px 26.3077px rgba(0, 0, 0, 0.08); + + --CARD_BG_COLOR: rgba(255, 255, 255, 0.6); + --CARD_COLOR: #000000; + --CARD_FONT_FAMILY: 'Gilroy-Medium'; + --CARD_BORDER_RADIUS: 10px; + + --ANCHOR_FONT_FAMILY: 'Manrope'; + --ANCHOR_COLOR: #314259; + + --BUTTON_FONT_FAMILY: 'Gilroy-Medium'; + + --BREAD_CRUMB_PADDING: 1rem; + + --TABLE_PAGE_PADDING: 1rem; + + /* Page common funtion */ + --PAGE_BODY_BACKGROUND_COLOR: #E8ECF1; + + overflow-x: hidden; + +} + +* { + padding: 0px; + margin: 0px; + box-sizing: border-box; + } + + p { + font-family: VAR(--PARA_FONT_FAMILY); + } + + button { + font-family: var(--BUTTON_FONT_FAMILY); + } + + + header { + font-family: VAR(--HEADING_FONT_FAMILY); + } + + a { + font-family: var(--ANCHOR_FONT_FAMILY); + } + + +.appPage{ + width: 100dvw; + height: 100dvh; + overflow: hidden; +} + + +// .contentPage{ +// display: flex; +// flex-direction: column; +// row-gap: 4rem; +// height:calc(100dvh - 46px); +// overflow-y: auto; +// overflow-x: hidden; + +// } +.uppermenu { + // font-family: 'Manrope'; + font-style: normal; + font-weight: 600; + font-size: 15.49px; + line-height: 21px; + color: #272727; +} + +.ant-menu-light{ + // background: #F1F4F7 !important; + border-radius: 12.9916px; +} + +.overview{ + display:flex; + flex-wrap: wrap; + flex-direction: row-reverse; + column-gap: 1rem; +} + +.overview-textblock{ + display:flex; + flex-wrap: wrap; + flex-direction: column; + flex-grow: 1; + padding: 47px 50px; + // padding: 47px 34px; + // margin-top: 1rem +} +.overviewblock{ + width: min(68vw,483px); + font-family: 'Gilroy'; + font-style: normal; + font-weight: 400; + font-size: max(1rem,2.5dvw); + color: #000000; +} + +.ant-menu-light.ant-menu-horizontal > .ant-menu-item { + margin: 1.5vw 2.6vh; + font-size: 2.6vh !important; + font-weight: 535 !important; + font-family: var(--HEADING_FONT_FAMILY) !important; + color: #333 !important; + /* font-family: Arial, Helvetica, sans-serif; */ +} + +.ant-menu-overflow-item .ant-menu-item .ant-menu-item-only-child{ + opacity: 1; + order: 0; + margin-left: 7.68%; +} +.overview-imgblock{ + width: min(50vw,569px); + // width :clamp(620px, 50vw,50px); + flex-grow: 1; +} + +.overviewgrp{ + display: flex; + flex-wrap: wrap; + flex-direction: row; +} +.overview-subtextblock{ + // font-family: 'Manrope'; + font-style: normal; + font-weight: 500; + font-size: max(1rem,0.5dvw); + // font-size: 16px; + // line-height: 154.5%; + color: rgba(0, 0, 0, 0.8); + opacity: 0.6; + width: min(74vw, 484px); + // margin-top: 1rem +} + + +.overview-downloads{ + display: flex; + flex-wrap: wrap; + justify-content: flex-start; + row-gap: 1rem; + column-gap: 1rem; + padding: 37px 0px; + // margin-top: 1rem; + +} + +.overview-downloads-grp{ + width: min(80vw, 204px); + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); + border-radius: 10px; + border: 0px; + background: rgba(255, 255, 255, 0.5); + display: flex; + column-gap: 0.5rem; + padding: 9px 12px; + font-size: .8rem; +} + +.overview-downloads-grp:hover{ + border: 1px solid black; +} +.playstorebtn { + width: 200px; + height: 49px; + border: 0px; + background: rgba(255, 255, 255, 0.5); + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);; + border-radius: 10px; + display: flex; + align-items: center; +} +.appstorebtn{ + width: 166px; + height: 49px; + border: 0px; + background: rgba(255, 255, 255, 0.5); + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); + border-radius: 10px; + display: flex; + align-items: center; +} +.posplaystoebtn{ + width: 191px; + height: 49px; + border: 0px; + background: rgba(255, 255, 255, 0.5); + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); + border-radius: 10px; + display: flex; + align-items: center; +} + +.overview-downloads img{ + width:32px; + // margin-left: 10px; +} + +.whatsappimg,.quickaddimg{ + display:flex; + flex-wrap: wrap; +} + +.messageimg{ + display: flex; + justify-content: end +} +.whatsapptext,.quickaddtext{ + align-items: center; + color: #000000; + // font-family: "Manrope"; + // font-size: 25.2499px; + font-size: clamp(1rem,1dvw,2rem);; + font-style: normal; + font-weight: 400; + justify-content: center; + padding: 0px 14px; + width: min(88vw,283px); +} +.featuresblock{ + display:flex; + flex-wrap: wrap; + justify-content: space-between +} +.featuresgrid{ + display:grid; + grid-template-columns: repeat(auto-fill,minmax(500px,1fr)); +} + +.featuresimg{ + width: clamp(16rem,17vw,20dvw); +} +.pricing{ + background-color: #F5FAFF; + padding: 55px 36px; + line-height: 1.5; + // font-family: 'Manrope'; + font-style: normal; +} + +.pricing h4{ + + background: -webkit-linear-gradient(90deg, #33585D -602.16%, #5B506A -286.54%, #784072 29.28%, #892E76 277.79%, #902578 426.91%); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +.pricingtext{ + // font-family: 'Manrope'; + font-style: normal; + font-weight: 400; + font-size: 35.9294px; + line-height: 49px; + color: #000000; +} + +.pricingsubtext{ + // font-family: 'Manrope'; + font-style: normal; + font-weight: 500; + font-size: 13px; + line-height: 18px; + letter-spacing: 0.01em; + color: #0E0E0E; +} + +.pricingsubtext span{ + // font-family: 'Manrope'; + font-style: normal; + font-weight: 500; + font-size: 11px; + line-height: 15px; + letter-spacing: 0.01em; + color: rgba(14, 14, 14, 0.5); +} + +.pricingtoggle{ + display:flex; + flex-wrap: wrap; + justify-content: space-between; +} + +.discountdiv{ + width: 80px; + height: 16px; + background: #FFE9BF; + border-radius: 4.27447px; + font-family: VAR(--PARA_FONT_FAMILY); + font-style: normal !important; + font-weight: 700; + font-size: 8.90514px; + line-height: 12px; + border: 0px; + color: #000000; +} + +.ant-switch.ant-switch-checked { + background: #41DF51; +} + +.ant-switch.ant-switch-checked:hover:not(.ant-switch-disabled) { + background: #41DF51; +} + +.subtoggle{ + display:flex; + flex-wrap: wrap; + flex-direction: row; + row-gap: 1rem; + column-gap:1rem; +} + +.monthtext{ + font-family: VAR(--PARA_FONT_FAMILY); + font-style: normal; + font-weight: 600; + font-size: 10.0012px; + line-height: 14px; + color: #000000; +} + +.yeartext{ + font-family: VAR(--PARA_FONT_FAMILY); + font-style: normal; + font-weight: 600; + font-size: 10.0012px; + line-height: 20px; + color: #010101; +} + +:where(.css-dev-only-do-not-override-1fviqcj).ant-slider-horizontal .ant-slider-rail { + width: 37%; + height: 4px; +} + +.ant-slider .ant-slider-track { + position: absolute; + background-color: #901D77 !important; + border-radius: 2px; + transition: background-color 0.2s; +} + +.ant-slider .ant-slider-handle::after { + content: ""; + position: absolute; + inset-block-start: 0; + inset-inline-start: 0; + width: 10px; + height: 10px; + background-color: #ffffff; + box-shadow: 0 0 0 2px #901D77 !important; + border-radius: 50%; + cursor: pointer; + transition: inset-inline-start 0.2s, inset-block-start 0.2s, width 0.2s, height 0.2s, box-shadow 0.2s; +} +.ant-slider .ant-slider-handle::after { + content: ""; + position: absolute; + inset-block-start: 0; + inset-inline-start: 0; + width: 10px; + height: 10px; + background-color: #ffffff; + box-shadow: 0 0 0 2px #901D77 !important; + border-radius: 50%; + cursor: pointer; + transition: inset-inline-start 0.2s,inset-block-start 0.2s,width 0.2s,height 0.2s,box-shadow 0.2s; +} + +.ant-slider .ant-slider-handle:focus::after { + box-shadow: 0 0 0 4px #901D77 !important; + width: 12px; + height: 12px; + inset-inline-start: -1px; + inset-block-start: -1px; +} +.ant-slider:hover .ant-slider-handle::after { + box-shadow: 0 0 0 2px #901D77 !important; +} + +.ant-slider .ant-slider-track { + position: absolute; + background-color: #901D77 !important; + border-radius: 2px; + transition: background-color 0.2s; +} + +.sliderdiv{ + padding: 30px 0px +} + +.pricingcardsdiv{ + display:flex; + flex-wrap: wrap; + flex-grow: 1; + flex-direction: row; + row-gap:1rem ; + justify-content: space-evenly; +} +.pricingcards{ + + background: #FFFFFF; + border-radius: 11.1127px; + width: 199.47px; + height: 305.22px; + +} +.pricingname{ + width: 60.18px; + height: 14.62px; + // font-family: 'Manrope'; + font-style: normal; + font-weight: 400; + font-size: 13.7565px; + line-height: 19px; + letter-spacing: 0.2em; + color: #000000; + margin: 25px 25px; +} + +.gitfimg{ + width: 120.37px; + height: 120.37px; + margin: 0px 9px; +} + +.freebtn{ + box-sizing: border-box; + width: 145px; + height: 35px; + margin: 26px 28px; + background: #F3F3F3; + border: 0.5px solid #000000; + border-radius: 7px; + border: 0px; +} + +.freetxt{ + font-family: VAR(--PARA_FONT_FAMILY); + font-style: normal; + font-weight: 700; + font-size: 13px; + line-height: 19px; + margin: 0px 30px; + color: #000000; +} + +.btntext{ + width: 87px; + height: 19px; + margin: 115px 60px; + font-family: VAR(--PARA_FONT_FAMILY); + font-style: normal; + font-weight: 700; + font-size: 14px; + line-height: 19px; + color: #000000; +} + +.pricingcontent{ + margin:0px 25px; + font-style: normal; + font-weight: 500; + font-size:clamp(1rem,1.5dvw,2rem); + color: #161616; +} + +.pricingdiv{ + display: flex; + flex-wrap: wrap; +} +.priceadd{ + margin: 53px 0px; +} +.downloadsource{ + display:flex; + flex-wrap: wrap; + flex-direction: row; + margin: 0px 40px; + row-gap: 1rem; +} +.downloaddiv{ + display: flex; + flex-wrap: wrap; + flex-direction: column; + row-gap: 1rem; + display:flex; + flex-grow: 1; +} +.downloadtext{ + font-style: normal; + font-weight: 600; + font-size: clamp(1rem,1.5dvw,6rem); + color: #000000; +} +.downloadsubtext{ + font-style: normal; + font-weight: 600; + font-size: clamp(0.5rem,0.8dvw,1rem); + color: #000000; + opacity: 0.7; +} +.downloadsources{ + // width: 880px; + // height: 224px; + display: flex; + flex-wrap: wrap; + flex-grow: 1; + flex-direction: column; + row-gap: 1rem; + background: rgba(240, 240, 240, 0.5); + border-radius: 18.3177px; +} + +.downloadsourcestext{ + font-style: normal; + font-weight: 700; + // font-size: 22.7337px; + color: #000000; + font-size: clamp(1rem,1.5dvw,2rem); + padding: 17px 48px; +} +.faqs{ + display:flex; + flex-wrap: wrap; + flex-direction: row; + // margin: 0px 22px; + row-gap: 1rem; + +} +.faqsdiv{ + display: flex; + flex-wrap: wrap; + flex-direction: column; + row-gap: 4rem; + flex-grow: 1; + justify-content: center; + align-items: center; + // display:flex; + // flex-grow: 1; + +} +.faqstext{ + font-style: normal; + font-weight: 500; + font-size: clamp(1rem,1.5dvw,2rem); + color: #000000; +} + +.faqaddson{ + display:flex; + flex-grow: 1; +} + +.faqsimg{ + width: min(50vw,259px); + // width:clamp(285px,100px,150px) +} + +.ant-collapse { + // width:clamp(55dvw,50dvw,50dvw); + // font-family: 'Manrope'; + width: min(100vw,572px); + font-style: normal; + font-weight: 600; + font-size: 15.2968px; + // line-height: 149.5%; + // color: #000000; + // padding: 0px 39px; + +} + + +.ant-collapse-large >.ant-collapse-item >.ant-collapse-header { + padding: 16px 24px; + background: white; +} + + +.downloadssrc{ + display: flex; + flex-wrap: wrap; + justify-content: flex-start; + row-gap: 1rem; + column-gap: 1rem; + margin: 0px 43px; +} + + +.contact{ + display: flex; + flex-wrap: wrap; + flex-direction: row; + row-gap: 1rem; + justify-content: space-evenly +} + +.contactimg{ + width: 286px; + height: 244px; + left: 375px; + top: 2964px; + border-radius: 35.9316px 0px 0px 35.9316px; +} + +.contacttext{ + font-style: normal; + font-weight: 600; + font-size: clamp(1rem,1.5dvw,2rem); + color: rgba(0, 0, 0, 0.5); +} + +.contacticons{ + width: 38px; + height: 38px; + +} + +.contactmaintext{ + font-style: normal; + font-weight: 600; + font-size: 27.3037px; + color: #000000; + +} + +.contactsubtext{ + font-style: normal; + font-weight: 400; + font-size: 12px; + letter-spacing: 0.01em; + color: #000000; +} +.contactgrpdiv{ + display:flex; + flex-wrap: wrap; + flex-direction: row; + row-gap: 1rem; + column-gap: 4rem; +} +.contactgrpmobile{ + display:flex; + flex-wrap: wrap; + flex-direction: row; + row-gap:1rem; +} +.contactgrpemail{ + display:flex; + flex-wrap: wrap; + flex-direction: row; + row-gap:1rem; +} + +.contacthelpdiv{ + display:flex; + flex-wrap:wrap; + flex-direction: column; + row-gap: 3rem; +} + +.footer{ + background: #E8ECF1; + border-radius: 20px; +} +.footerdiv{ + display:flex; + flex-wrap: wrap; + flex-direction: row; + row-gap:1rem ; + justify-content: space-evenly; + padding:60px 12px; + +} + +.footerheadertext{ + width: 160px; + height: 21px; + left: 122px; + top: 3397px; + // font-family: 'Manrope'; + font-style: normal; + font-weight: 600; + font-size: 15px; + line-height: 3px; + color: #000000; + opacity: 0.8; +} +.footerimages{ + display: flex; + flex-wrap: wrap; + flex-direction: row; + row-gap:1rem ; + justify-content: space-evenly; +} + +.footericons{ + width: 20px; + height: 20px; +} + +.footertext{ + width: 107px; + height: 26px; + left: 122px; + top: 3439px; + // font-family: 'Manrope'; + font-style: normal; + font-weight: 600; + font-size: 12px; + line-height: 16px; + color: #000000; + opacity: 0.7; +} + +.footerpolicy,.footercontact{ + display:flex; + flex-wrap: wrap; + row-gap: 1rem; + justify-content: space-evenly; + // font-family: 'Manrope'; + font-style: normal; + font-weight: 500; + font-size: 11.4802px; + line-height: 16px; + letter-spacing: 0.01em; + color: #000000; + opacity: 0.8; + padding: 0px 200px; +} + +.footercontact{ + padding: 7px 200px; +} + +.globalgrp{ + display:flex; + flex-wrap: wrap; + flex-direction: row; + row-gap: 1rem; +} + + + + + +// ......................................... + + + + + \ No newline at end of file diff --git a/src/Pages/publichome/SpecSlider.jsx b/src/Pages/publichome/SpecSlider.jsx new file mode 100644 index 0000000..e745d79 --- /dev/null +++ b/src/Pages/publichome/SpecSlider.jsx @@ -0,0 +1,149 @@ +import React, { useState } from "react"; +import Inventory from "../../Images/inventory.png"; +import Bill from "../../Images/bill.png"; +import Calc from "../../Images/calc.png"; +import Qr from "../../Images/qr.png"; +import { useRef } from "react"; +import { BsArrowLeft, BsArrowRight } from "react-icons/bs"; +const SpecSlider = () => { + const cardRef = useRef(); + const prevRef = useRef(); + const scrollContainerRef = useRef(null); + + const [isDragging, setIsDragging] = useState(false); + const [startX, setStartX] = useState(0); + + const handleTouchStart = (e) => { + setIsDragging(true); + setStartX(e.touches[0].clientX); + }; + const handleTouchMove = (e) => { + if (!isDragging) return; + + const scrollContainer = scrollContainerRef.current; + if (!scrollContainer) return; + + const deltaX = e.touches[0].clientX - startX; + scrollContainer.scrollLeft -= deltaX; + setStartX(e.touches[0].clientX); + }; + const handleTouchEnd = () => { + setIsDragging(false); + }; + + const scrollLeft = () => { + if (scrollContainerRef.current) { + scrollContainerRef.current.scrollLeft -= 200; + } + }; + + const scrollRight = () => { + if (scrollContainerRef.current) { + scrollContainerRef.current.scrollLeft += 200; + } + }; + + + const handleMouseMove = (e) => { + if (!isDragging) return; + + const scrollContainer = scrollContainerRef.current; + if (!scrollContainer) return; + + const deltaX = e.clientX - startX; + scrollContainer.scrollLeft -= deltaX; + setStartX(e.clientX); + }; + + const handleMouseUp = () => { + setIsDragging(false); + }; + + const handleMouseDown = (e) => { + e.preventDefault(); + setIsDragging(true); + setStartX(e.clientX); + }; + + return ( + <> +
    + + + + +
    + +
    +
    + BusinessImg +
    + +
    +

    Inventory Management

    +

    + It is all about keeping track of what you have in stock and making sure you have enough of the right stuff at the right time. +

    +
    +
    + +
    +
    + BusinessImg +
    +
    +

    Billing

    +

    + {" "} + customization options, and integration with payment gateways make it an indispensable asset for modern businesses{" "} +

    +
    +
    +
    +
    + BusinessImg +
    +
    +

    Billing

    +

    + {" "} + customization options, and integration with payment gateways make it an indispensable asset for modern businesses{" "} +

    +
    +
    + + + + + + +
    + + +
    + + ); +}; + +export default SpecSlider; diff --git a/src/Pages/publicsignin/Signin.jsx b/src/Pages/publicsignin/Signin.jsx new file mode 100644 index 0000000..9f114b3 --- /dev/null +++ b/src/Pages/publicsignin/Signin.jsx @@ -0,0 +1,960 @@ +import React, { useEffect, useState } from "react"; +import { useRef } from "react"; +import { Modal } from "antd"; +import "../publicsignin/Signin.scss"; +import { ArrowRightOutlined, ClockCircleOutlined, EyeInvisibleOutlined, EyeTwoTone } from "@ant-design/icons"; +import { Form } from "antd"; +import { RiSmartphoneLine } from "react-icons/ri"; +import { RadioGrpButton } from "../../Components/Forms/RadioGroup"; +import { Collapse } from "antd"; +import { InputField } from "../../Components/Forms/InputField"; +import Buttons from "../../Components/Forms/Buttons"; +import "../publicsignin/Signin.scss"; +import logo from "../../Images/payprelogo1.svg"; +import ImgCarousel from "../../Pages/ImgCarousel/ImgCarousel"; +import { ExclamationCircleOutlined } from '@ant-design/icons'; +import { + getUserData, + verifyUserLoginPin, + verifyUserLoginPassword, + sendOtp, + getuserAppMap, + getAppName, + sendOtpMobileNo, + setUser, + getAppAccess, + VerifyOtp, + GenerateLogout +} from "../../features/signInPage/signInPage"; +import { useDispatch, useSelector } from "react-redux"; +import { Messages } from "../../Components/Notifications/Messages"; +import { useLocation, useNavigate } from "react-router-dom"; +import { sessionStore, getSession, validateSafeInput } from "../../Services/others"; +import { getPurchasedAppDetails, getPurchasedPlan, postFreeOption } from "../../features/pricingType/pricingType"; +import axios from "axios"; +import Bowser from "bowser"; +import { getUsedplandata } from "../../features/invoiceDetail/invoiceDetail"; +import { getAllApplications, getAllApplicationsData } from "../../features/themeChange/themeChange"; +import { v4 as uuidv4 } from 'uuid'; +import ReliefRequestForm from "../EmpRelief/EmpRelief"; +const subDirectory = import.meta.env.BASE_URL; + +const Signin = () => { + const dispatch = useDispatch(); + const location = useLocation(); + const postData = location?.state + const navigate = useNavigate(); + const formRef = useRef(null); + + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [notification, setnotification] = useState(false); + const [passwordType, setPasswordType] = useState("NULL"); + const [passwordVisible, setPasswordVisible] = useState(false); + + const [SendOtp, setSendOtp] = useState(false); + const [otp1, setotp1] = useState(""); + const [otp2, setotp2] = useState(""); + const [otp3, setotp3] = useState(""); + const [otp4, setotp4] = useState(""); + const [otp5, setotp5] = useState(""); + const [otp6, setotp6] = useState(""); + const [PIN, setPIN] = useState(false); + const [MobileNo, setMobileNo] = useState(false); + const [Password, setPassword] = useState(false); + const [UserData, setUserData] = useState([]); + const [timeLeft, setTimeLeft] = useState(null); + const [Box, setBox] = useState(false); + const [Status, setStatus] = useState(false); + const [UserType, setUserType] = useState("O"); + const [MobileNumber, setMobileNumber] = useState(null); + const [AnotherUserLoginStatus, setAnotherUserLoginStatus] = useState(false); + const [ModelAnotherUser, setModelAnotherUser] = useState(false); + const [unAuthorisedUserModal, setUnAuthorisedUserModal] = useState({ type: false, data: {} }); + const [OtpToken, setOtpToken] = useState() + const AllApplicationsData = useSelector(getAllApplicationsData); + + // Browser Details + const [ip, setIp] = useState(null); + const [browser, setBrowser] = useState({}); + const [os, setOs] = useState(""); + const [device, setDevice] = useState(""); + + let content = [ + PIN ? { value: "PIN", label: "PIN" } : null, + Password ? { value: "Password", label: "Password" } : null, + { value: "OTP", label: "OTP" }, + ]; + + + async function getAllApps() { + await dispatch(getAllApplications()).unwrap() + } + + useEffect(() => { + fetchBrowserDetails() + getAllApps() + }, []) + + useEffect(() => { + if (timeLeft === 0) { + setTimeLeft(null); + } + + // exit early when we reach 0 + if (!timeLeft) return; + + // save intervalId to clear the interval when the + // component re-renders + const intervalId = setInterval(() => { + setTimeLeft(timeLeft - 1); + }, 1000); + + // clear interval on re-render to avoid memory leaks + return () => clearInterval(intervalId); + }, [timeLeft]); + + const getOrCreateDeviceId = async () => { + let deviceId = localStorage.getItem('device_id'); + if (!deviceId) { + deviceId = uuidv4(); + localStorage.setItem('device_id', deviceId); + } + return deviceId; + + } + + const OtpVerifyFun = async (Mobiles, OTP) => { + const deviceId = await getOrCreateDeviceId(); + let MobileNo = Mobiles; + const res = await dispatch(VerifyOtp({ "MobileNo": MobileNo, "OTP": OTP, "IP": ip, "Browser": browser.name, "Version": browser.version, "OS": os, "LoginType": device, "AnotherWindow": AnotherUserLoginStatus ? "Y" : "N", "deviceId": deviceId, "SessionId": AnotherUserLoginStatus ? 'Y' : 'N' })).unwrap(); + let otplogintoken = res?.data?.token; + setOtpToken(otplogintoken) + + if (res?.data?.statusCode == 1) { + sessionStorage.setItem("auth", UserData[0]?.token || OtpToken || otplogintoken); + if (UserType === "N") { + handleSuccessUser(MobileNumber); + } + else { + let UserId = UserData[0].UserId + let status = 'Y' + const res = await dispatch(GenerateLogout({ UserId, status })).unwrap(); + if (res?.data?.statusCode === 1) { + loginFunction(UserData, res?.data?.response, otplogintoken) + } + + } + } else { + setnotification(false); + setMessageType("warning"); + setMessageData("please enter valid OTP"); + setnotification(true); + setTimeout(() => { + setnotification(false); + setMessageType(null); + setMessageData(null); + }, 5000); + } + }; + useEffect(() => { + let otp = otp1 + "" + otp2 + "" + otp3 + "" + otp4 + "" + otp5 + "" + otp6; + if (otp.length === 6) { + OtpVerifyFun(MobileNumber, parseInt(otp)) + + } + }, [otp1, otp2, otp3, otp4, otp5, otp6]); + + + const fetchBrowserDetails = async () => { + await axios.get("https://ifconfig.me") + .then((response) => setIp(response?.data)) + .catch((error) => console.error("Error fetching IP:", error)); + const browserInfo = Bowser.getParser(window.navigator.userAgent); + setBrowser(browserInfo.getBrowser()); + setOs(browserInfo.getOS().name); + setDevice(browserInfo.getPlatform().type); + } + + const getUserMapData = async (UserId) => { + const AppId = postData?.AppId + const AlreadyPurres = await dispatch(getPurchasedAppDetails({ UserId, AppId })).unwrap(); + const appPurchase = AlreadyPurres?.data?.data + const res = await dispatch(getuserAppMap({ UserId })).unwrap(); + setMessageType("success"); + setMessageData("Sign In Successfully"); + setnotification(true); + setTimeout(() => { + setnotification(false); + setMessageType(null); + setMessageData(null); + }, 5000); + if (getSession('AppId')) { + if (postData?.['PricingName'] === 'Free') { + + if (appPurchase?.length === 0) { + let Data = { + 'UserId': getSession("UserId"), + 'AppId': postData?.AppId, + 'PricingId': postData?.PricingId, + 'PurDate': postData?.PurDate, + 'PaymentStatus': postData?.PaymentStatus, + 'LicenseStatus': postData?.LicenseStatus, + 'Price': postData?.Price, + 'ValidityStart': postData?.ValidityStart, + 'ValidityEnd': postData?.ValidityEnd, + 'CreatedBy': getSession("UserId"), + } + const response = [] + await dispatch(postFreeOption(Data)).unwrap(); + if (response?.data?.statusCode === 1) { + navigate(`${subDirectory}landing-page/home`); + } + else if (response?.data?.statusCode === 2) { + navigate(`${subDirectory}landing-page/home`); + } + } + else { + setnotification(false); + setMessageType("warning"); + setMessageData("Free Already Used"); + setnotification(true); + setTimeout(() => { + setnotification(false); + setMessageType(null); + setMessageData(null); + navigate(`${postData?.locationpathname}`); + }, 3000); + + } + + } + else { + let data = { AppId: AppId, UserId: UserId, type: "L" }; + const Response = await dispatch(getUsedplandata(data)).unwrap(); + + + let ApplicationsData = AllApplicationsData?.filter(a => a?.AppId === postData?.AppId) + let AppName = ApplicationsData.length > 0 && ApplicationsData[0]["AppName"] + const AppExpDate = appPurchase?.filter(item => item?.AppName === AppName) + let FilterData = AppExpDate?.filter(item => item.PricingName != "Free") + const Nodays = FilterData?.reduce((total, plan) => total + plan.RemainingDays, 0); + const purAmt = await dispatch(getPurchasedPlan({ UserId, AppId })).unwrap() + const updatedData = res?.data?.data?.map((item) => ({ + ...item, // Spread existing properties + Sadmin: "Y", // Add the new key-value pair + })); + + + navigate(`${subDirectory}invoice-detail`, { + state: { + pricingData: postData?.pricingData, + PackName: postData?.PackName, + purchasedAmt: res?.data?.statusCode == 1 && purAmt?.data?.data?.[0], + differenceDays: Nodays, + AppExpDate: AppExpDate, + locationpathname: postData?.locationpathname, + Exist: Response?.data?.statusCode == 1 && Response.data?.data, + SAdmin: false, + UserId: UserId, + lastappPurchase: updatedData, + }, + }) + } + } + else if (res?.data?.statusCode === 1) { + navigate(`${subDirectory}landing-page/home`); + } else { + navigate(`${subDirectory}landing-page/apps`); + } + }; + + const getUserMapDataForEmp = async (UserId) => { + const res = await dispatch(getAppAccess({ UserId })).unwrap(); + if (res?.data?.statusCode === 1) { + setMessageType("success"); + setMessageData("Sign In Successfully"); + setnotification(true); + setTimeout(() => { + setnotification(false); + setMessageType(null); + setMessageData(null); + }, 5000); + if (res?.data?.data?.length === 1 && res?.data?.data[0]?.RemainingDays > 0) { + let nameOfRedirect = (res?.data?.data[0]?.AppUrl); + sessionStore("BranchId", res?.data?.data[0]?.BranchId); + sessionStore("CompId", res?.data?.data[0]?.CompId); + sessionStore("AppId", res?.data?.data[0]?.AppId); + sessionStore("AppName", res?.data?.data[0]?.AppName); + navigate(`${nameOfRedirect}`); + window.location.reload(); + } else { + navigate(`${subDirectory}landing-page/home`); + } + } else { + setnotification(false); + setMessageType("warning"); + setMessageData("Contact Admin For Access"); + setnotification(true); + setTimeout(() => { + setnotification(false); + setMessageType(null); + setMessageData(null); + navigate(`${subDirectory}signin/`); + window.location.reload(); + }, 4000); + + } + }; + + const Sendotp = async (values) => { + setotp1(""); + setotp2(""); + setotp3(""); + setotp4(""); + setotp5(""); + setotp6(""); + setTimeLeft(30); + setStatus(true); + let MobileNo = values.MobileNo; + if (UserType === "N") { + var res = await dispatch(sendOtpMobileNo({ MobileNo })).unwrap(); + } else { + var res = await dispatch(sendOtp({ MobileNo })).unwrap(); + } + + if (res?.data?.statusCode === 1) { + setMessageType("success"); + setMessageData("OTP Sended Successfully"); + setnotification(true); + setBox(true); + setTimeout(() => { + setnotification(false); + setMessageType(null); + setMessageData(null); + }, 5000); + // naresh code for command auto otp set + // OtpVerifyFun(MobileNumber, parseInt(res?.data?.OTP)) + + setnotification(false); + setSendOtp(true); + } else { + setnotification(false); + setMessageType("warning"); + setMessageData(res?.data?.response); + setnotification(true); + setTimeout(() => { + setnotification(false); + setMessageType(null); + setMessageData(null); + }, 5000); + } + }; + const handleChange = async (value1, e) => { + switch (value1) { + case "setotp1": + await setotp1(e?.target?.value); + break; + case "setotp2": + setotp2(e?.target?.value); + break; + case "setotp3": + setotp3(e?.target?.value); + break; + case "setotp4": + setotp4(e?.target?.value); + break; + case "setotp5": + setotp5(e?.target?.value); + break; + case "setotp6": + await setotp6(e?.target?.value); + } + }; + const onSubmit = async (values) => { + const deviceId = await getOrCreateDeviceId(); + // debugger + if (SendOtp) { + Sendotp(values); + } + else { + let MobileNo = values.MobileNo; + let Password = values.password; + if (passwordType === "PIN") { + // console.log("onSubmit", browser.name, browser.version, ip, os, device) + let Pin = Password; + var res = await dispatch( + verifyUserLoginPin({ "MobileNo": MobileNo, "Pin": Pin, "IP": ip, "Browser": browser.name, "Version": browser.version, "OS": os, "LoginType": device, "AnotherWindow": AnotherUserLoginStatus ? "Y" : "N", "deviceId": deviceId, "SessionId": AnotherUserLoginStatus ? 'Y' : 'N' }) + ).unwrap(); + + } + else { + var res = await dispatch( + verifyUserLoginPassword({ "MobileNo": MobileNo, "Password": Password, "IP": ip, "Browser": browser.name, "Version": browser.version, "OS": os, "LoginType": device, "AnotherWindow": AnotherUserLoginStatus ? "Y" : "N", "deviceId": deviceId, "SessionId": AnotherUserLoginStatus ? 'Y' : 'N' }) + ).unwrap(); + } + + if (res?.data?.statusCode === 1) { + setUserData(res?.data?.data) + let UserData1 = res?.data?.data; + + if (!AnotherUserLoginStatus) { + let UserId = UserData1[0].UserId + let status = 'Y' + const res = await dispatch(GenerateLogout({ UserId, status })).unwrap(); + + if (res?.data?.statusCode == 1) { + setUserData(UserData1) + await loginFunction(UserData1, res?.data?.response) + } + } + else { + setModelAnotherUser(true) + } + + } else { + setnotification(false); + setMessageType("warning"); + setMessageData("Enter Valid" + " " + passwordType); + setnotification(true); + setTimeout(() => { + setnotification(false); + setMessageType(null); + setMessageData(null); + }, 5000); + } + } + }; + + const loginFunction = async (UserData, SessionId, otplogintoken) => { + sessionStore("SessionId", SessionId); + sessionStore( + "userName", + UserData[0]?.UserName ? UserData[0]?.UserName : null + ); + + sessionStorage.setItem("auth", UserData[0]?.token || OtpToken || otplogintoken); + sessionStore("UserId", UserData[0]?.UserId); + sessionStore("UserType", UserData[0]?.UserTypeName); + sessionStore("CompId", UserData[0]?.CompId); + sessionStore("CompName", UserData[0]?.CompName); + sessionStore("MobileNo", UserData[0]?.MobileNo); + + if ( + UserData[0].UserTypeName === "Super Admin" || + UserData[0].UserTypeName === "Super Admin User" + ) { + setMessageType("success"); + setMessageData("Sign In Successfully"); + setnotification(true); + setTimeout(() => { + setnotification(false); + setMessageType(null); + setMessageData(null); + }, 5000); + navigate(`${subDirectory}landing-page/home`); + + } else if (UserData[0].UserTypeName === "Admin") { + getUserMapData(UserData[0].UserId); + } else if (UserData[0].UserTypeName === "Employee") { + getUserMapDataForEmp(UserData[0].UserId); + } + + + } + const inputfocus = (elmnt) => { + if ((elmnt.key === "Delete" || elmnt.key === "Backspace") && elmnt.target.value === "") { + const prev = elmnt.target.tabIndex - 2; + if (prev > -1) { + elmnt.target.form.elements[prev].focus(); + } + } else if (/^\d$/.test(elmnt.target.value)) { + const next = elmnt.target.tabIndex; + if (next < 6) { + elmnt.target.form.elements[next].focus(); + } + } + }; + + + const { Panel } = Collapse; + const MobileNo1 = async (e, Valid) => { + setStatus(false); + setPasswordType("NULL"); + setSendOtp(false); + setBox(false); + formRef.current?.setFieldsValue({ password: "" }); + + setotp1(""); + setotp2(""); + setotp3(""); + setotp4(""); + setotp5(""); + setotp6(""); + setPIN(false); + setMobileNo(false); + setPassword(false); + setUserType("O"); + var z1 = /^[0-9]*$/; + const deviceId = await getOrCreateDeviceId(); + if (z1.test(e?.target?.value)) { + if (e?.target?.value?.length === 10 && Valid) { + + setMobileNumber(e?.target?.value); + await getUserDataBasedOnMobile(e?.target?.value, deviceId); + } + else { + setMobileNo(false); + } + } + }; + + + const handleSuccessUser = async (Mobiles) => { + let MobileNo = Mobiles; + const deviceId = await getOrCreateDeviceId(); + const res = await dispatch(setUser({ MobileNo, deviceId })).unwrap(); + if (res?.data?.statusCode == 1) { + let UserId = res?.data?.UserId; + let status = 'Y' + const res1 = await dispatch(GenerateLogout({ UserId, status })).unwrap(); + if (res1.data?.statusCode === 1) { + sessionStore("SessionId", res1.data?.response); + } + sessionStore("UserId", UserId); + sessionStore("UserType", "Admin"); + if (getSession("AppId")) { + const res2 = await dispatch(getAppName({ "AppId": getSession("AppId") })).unwrap(); + if (res2.data?.statusCode === 1) { + if (postData != undefined && postData?.PricingName == "Free") { + let Data = { + 'UserId': getSession("UserId"), + 'AppId': postData?.AppId, + 'PricingId': postData?.PricingId, + 'PurDate': postData?.PurDate, + 'PaymentStatus': postData?.PaymentStatus, + 'LicenseStatus': postData?.LicenseStatus, + 'Price': postData?.Price, + 'ValidityStart': postData?.ValidityStart, + 'ValidityEnd': postData?.ValidityEnd, + 'CreatedBy': getSession("UserId"), + } + const response = await dispatch(postFreeOption(Data)).unwrap(); + if (response?.data?.statusCode === 1) { + navigate(`${subDirectory}landing-page/home`); + } + } + else { + navigate(`${subDirectory}invoice-detail`); + } + + } + } else { + navigate(`${subDirectory}landing-page/apps`); + + } + } else { + setnotification(false); + setMessageType("error"); + setMessageData(res?.data?.response); + setnotification(true); + setTimeout(() => { + setnotification(false); + setMessageType(null); + setMessageData(null); + }, 4000); + } + }; + const getUserDataBasedOnMobile = async (MobileNo, deviceId) => { + setPasswordType("NULL"); + setPIN(false); + setPassword(true); + const res = await dispatch(getUserData({ MobileNo, deviceId })).unwrap(); + if (res?.data?.statusCode === 1) { + const { + AppId, + CompId, + BranchId, + UserId, + MobileNo: mobileNumber, + ActiveStatus, + Pin, + Password, + SessionId, + } = res?.data?.data[0]; + sessionStore("MobileNo", mobileNumber); + if (ActiveStatus === "A") { + const passType = Pin === "Y" ? "PIN" : Password === "Y" ? "Password" : "NULL"; + setPasswordType(passType); + setMobileNo(true); + setPassword(Password === "Y"); + setPIN(Pin === "Y"); + setUserData(res?.data?.data); + setAnotherUserLoginStatus(SessionId === "Y") + if (passType === "NULL") { + setSendOtp(true); + } else { + setSendOtp(false); + } + } else { + setUnAuthorisedUserModal({ type: true, data: { AppId, CompId, BranchId, UserId } }) + } + } else { + setPasswordType("NULL"); + setMobileNo(true); + setUserType("N"); + setSendOtp(true); + sessionStore("MobileNo", MobileNo); + } + }; + const onChange = (e) => { + setPasswordType(e); + if (e === "OTP") { + setSendOtp(true); + } else { + setSendOtp(false); + } + }; + const handleCancel = async () => { + setModelAnotherUser(false); + await MobileNo1(0) + formRef.current?.resetFields(); + } + const handleUnAuthorisedUserModalCancel = async () => { + setUnAuthorisedUserModal({ type: false, data: {} }) + await MobileNo1(0) + formRef.current?.resetFields(); + } + + + // const isRepeatedDigits = (num) => /^(\d)\1{9}$/.test(num); + + const validateIndianMobileStrict = (number) => { + if (!/^[6-9]\d{9}$/.test(number)) { + return { valid: false, message: "Invalid mobile number format" }; + } + + return { valid: true }; + }; + + return ( + <> +
    +
    + {notification ? ( + + ) : null} + {ModelAnotherUser && + + +

    Your session is currently active in another window/browser/system

    +
    } + open={ModelAnotherUser} + onCancel={() => { handleCancel() }} + + maskTransitionName="" + transitionName="" + > + + + } + {unAuthorisedUserModal.type && + + Access Denied Contact Your Administrator +

    } + width={700} + open={unAuthorisedUserModal.type} + onCancel={() => { handleUnAuthorisedUserModalCancel() }} + > + +
    + } + +
    +
    + +
    + + {getSession("AppName") ? +
    + navigate(`${subDirectory}`)} + style={{ width: "7vh", cursor: 'pointer' }} + /> + {getSession("AppName")} +
    : + + navigate(`${subDirectory}`)} + style={{ width: "7vh", cursor: 'pointer' }} + /> + } + +
    +
    Sign In
    +

    + Initiate Your Billing Journey with POZO Software +

    +
    + + +
    +
    + { + if (!value) { + return Promise.reject("Please enter your mobile number"); + } + const result = validateIndianMobileStrict(value); + if (!result.valid) { + return Promise.reject("Please enter Valid mobile number"); + } + return Promise.resolve(); + }, + }, + ]} + > + + } + onInput={(e) => (e.target.value = e.target.value.replace(/[^0-9]/g, ''))} + onChange={(e) => { + const val = e.target.value; + // if (val.length === 10) { + const result = validateIndianMobileStrict(val); + // if (result.valid) { + MobileNo1(e, result.valid); // call your onChange handler only if valid + // } + // else do nothing, invalid input so don't call MobileNo1 + // } + // If length < 10, you can decide if you want to do something or not + }} + /> + + + {passwordType != "NULL" && passwordType != "OTP" ? ( +
    + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + + ]} + > + {!passwordVisible ? + { setPasswordVisible(true) }} /> : + { setPasswordVisible(false) }} />} + } + onInput={(e) => (passwordType === "PIN") && (e.target.value = e.target.value.replace(/[^0-9]/g, ''))} + /> + +
    + ) : null} + {SendOtp === true && Box === true ? ( + +
    + + handleChange("setotp1", e)} + tabIndex="1" + maxLength="1" + onKeyUp={(e) => inputfocus(e)} + inputMode="numeric" + onInput={(e) => (e.target.value = e.target.value.replace(/[^0-9]/g, ''))} + /> + handleChange("setotp2", e)} + tabIndex="2" + maxLength="1" + onKeyUp={(e) => inputfocus(e)} + inputMode="numeric" + onInput={(e) => (e.target.value = e.target.value.replace(/[^0-9]/g, ''))} + /> + handleChange("setotp3", e)} + tabIndex="3" + maxLength="1" + onKeyUp={(e) => inputfocus(e)} + inputMode="numeric" + onInput={(e) => (e.target.value = e.target.value.replace(/[^0-9]/g, ''))} + /> + handleChange("setotp4", e)} + tabIndex="4" + maxLength="1" + onKeyUp={(e) => inputfocus(e)} + inputMode="numeric" + onInput={(e) => (e.target.value = e.target.value.replace(/[^0-9]/g, ''))} + /> + handleChange("setotp5", e)} + tabIndex="5" + maxLength="1" + onKeyUp={(e) => inputfocus(e)} + inputMode="numeric" + onInput={(e) => (e.target.value = e.target.value.replace(/[^0-9]/g, ''))} + /> + handleChange("setotp6", e)} + tabIndex="6" + maxLength="1" + onKeyUp={(e) => inputfocus(e)} + inputMode="numeric" + onInput={(e) => (e.target.value = e.target.value.replace(/[^0-9]/g, ''))} + /> +
    + + ) : null} + + {SendOtp === false && passwordType != "NULL" ? ( +
    + } + > +
    + ) : MobileNo != false ? ( +
    + {Status && timeLeft != null ? ( +
    +
    + +
    +
    + 0 : {timeLeft < 10 ? "0" + timeLeft : timeLeft}{" "} +
    +
    + ) : Status ? ( + } + > + ) : ( + "" + )} + + {!Status && ( + } + > + )} +
    + ) : null} +
    + + + +
    + {passwordType != "NULL" ? ( + + + value != null)} + fieldState={true} + defaultSelect={passwordType} + onSelectFuntion={(e) => onChange(e)} + /> + + + ) : null} +

    + @2025, Pozo All Rights Reserved. +

    +
    +
    + + +
    +
    + {" "} + {" "} +
    +
    +
    +
    +
    + + + ); +}; + +export default Signin; diff --git a/src/Pages/publicsignin/Signin.scss b/src/Pages/publicsignin/Signin.scss new file mode 100644 index 0000000..f8ddf99 --- /dev/null +++ b/src/Pages/publicsignin/Signin.scss @@ -0,0 +1,324 @@ +@import url(https://fonts.googleapis.com/css?family=Exo:100); +/* Background data (Original source: https://subtlepatterns.com/grid-me/) */ +/* Animations */ +@-webkit-keyframes bg-scrolling-reverse { + 100% { + background-position: 50px 50px; + } +} +@-moz-keyframes bg-scrolling-reverse { + 100% { + background-position: 50px 50px; + } +} +@-o-keyframes bg-scrolling-reverse { + 100% { + background-position: 50px 50px; + } +} +@keyframes bg-scrolling-reverse { + 100% { + background-position: 50px 50px; + } +} +@-webkit-keyframes bg-scrolling { + 0% { + background-position: 50px 50px; + } +} +@-moz-keyframes bg-scrolling { + 0% { + background-position: 50px 50px; + } +} +@-o-keyframes bg-scrolling { + 0% { + background-position: 50px 50px; + } +} +@keyframes bg-scrolling { + 0% { + background-position: 50px 50px; + } +} +/* Main styles */ +.signinbody { + position: absolute; + left: 0; + right: 0; + height: 100%; + // background:lavenderblush; + background-color: ghostwhite; + // background-image: linear-gradient(to right bottom, #d7ebff, #c2dffd, #add3fb, #97c7f8, #81bbf6); + + display: flex; + flex-direction: column; + justify-content: center; + + color: #999; + // font: 400 16px/1.5 exo, ubuntu, "segoe ui", helvetica, arial, sans-serif; + // text-align: center; + /* img size is 50x50 */ + // background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABnSURBVHja7M5RDYAwDEXRDgmvEocnlrQS2SwUFST9uEfBGWs9c97nbGtDcquqiKhOImLs/UpuzVzWEi1atGjRokWLFi1atGjRokWLFi1atGjRokWLFi1af7Ukz8xWp8z8AAAA//8DAJ4LoEAAlL1nAAAAAElFTkSuQmCC") + // repeat 0 0; + // -webkit-animation: bg-scrolling-reverse 0.92s infinite; + // /* Safari 4+ */ + // -moz-animation: bg-scrolling-reverse 0.92s infinite; + // /* Fx 5+ */ + // -o-animation: bg-scrolling-reverse 0.92s infinite; + // /* Opera 12+ */ + // animation: bg-scrolling-reverse 0.92s infinite; + // /* IE 10+ */ + // -webkit-animation-timing-function: linear; + // -moz-animation-timing-function: linear; + // -o-animation-timing-function: linear; + // animation-timing-function: linear; +} +// body::before { +// // content: "INFINITY"; +// font-size: 8rem; +// font-weight: 100; +// font-style: normal; +// } + +// .Sing_bg{ +// background-color: aliceblue; +// width: 100vw; +// height: 100vh; +// position: fixed; +// } + +.Signin_cont { + display: flex; + justify-content: space-between; + align-items: center; + margin: 0vw 12vh; + padding: 2vw 4vh; + // width: 90%; + // height: auto; + border-radius: 8px; + // border: 1px solid #dadada; + background-color: rgb(255, 255, 255); + box-shadow: rgba(149, 157, 165, 0.342) 0px 8px 24px; +} + +.signin_div { + display: flex; + width: 100%; + justify-content: space-around; + column-gap: 1rem; + align-items: center; + .ant-input { + padding: 18px 10px 6px 2px !important; + } +} + +.card { + display: flex; + width: 100%; + justify-content: space-around; +} + +.logintxt1 { + font-family: var(--HEADING_FONT_FAMILY); + font-style: normal; + font-weight: 600; + font-size: 1.8rem; + // padding: 2rem 0rem; + // line-height: 0.3; + color: var(--HEADING_COLOR); +} + +.logintxt2 { + font-family: var(--PARA_FONT_FAMILY); + color: var(--PARA_COLOR); + font-size: 0.8rem; + color: #494949; + line-height: 2rem; + font-weight: 400; +} + +.logintxt3 { + font-family: var(--PARA_FONT_FAMILY); + font-size: 1rem; + font-weight: 400; +} + +.loginbg { +} + +// .signinhdtxt { +// display: flex; +// flex-direction: row; +// align-items: center; +// flex-wrap: wrap; +// column-gap: 0.2rem; +// color: #353535; +// width: min-content; +// height: 60px; +// padding: 0.5rem 0rem; +// } +.signinhdtxt { + display: flex; + flex-direction: column; + /* align-items: center; */ + flex-wrap: wrap; + /* column-gap: 3.2rem; */ + color: #353535; + width: max-content; + /* height: 60px; */ + padding: 0.5rem 0rem; + gap: 1rem; +} + +.Globegif { + width: 15vh; + top: 2rem; + left: 16rem; + opacity: 80%; +} + +.txt5 { + position: fixed; + bottom: 0; + width: 100vw; + font-size: 12px; + cursor: pointer; + color: #353535; +} + +.inputfieldstyle { + top: 0rem; + position: relative; + transition-duration: 0.6s; +} + +.imgcrsl { + border: solid 0.02px #f3f3f3; + margin: 0vw 0vh; + padding: 0vw 0vh; + width: 40vw; +} + +.singin-div { + display: flex; + justify-content: space-around; + width: 100%; +} +@media (max-width: 900px) { + .Signin_cont { + margin: 10vw 5vh; + padding: 13vw 3vh; + } +} + +@media (min-width: 500px) and (max-width: 769px) { + // .Signin_cont { + // margin: 10vw 5vh; + // padding: 13vw 3vh; + // } + .imgcrsl { + display: none !important; + } + + // .loginbg { + // width: 100%; + // } + .signin_div { + justify-content: center !important; + } + .Signin_cont { + justify-content: center !important; + } +} + +@media (min-width: 280px) and (max-width: 499px) { + .Signin_cont { + margin: 10vw 2.5vh; + padding: 10vw 2vh; + height: 80vh; + } + .signin_div { + justify-content: center !important; + } + .Signin_cont { + justify-content: center !important; + } + .Globegif { + display: none !important; + } + + .imgcrsl { + display: none !important; + } + + // .loginbg { + // width: 100%; + // } + + .signCard { + width: min-content !important; + } + .imgcrsl { + display: none; + } +} + +.timersec { + // left: 151px; + // top: 290px; + font-family: var(--PARA_FONT_FAMILY); + font-style: normal; + font-size: 18px; + line-height: 35px; +} + +.otpContainer { + margin-bottom: 25px; + align-content: center; +} + +.otpInput { + width: 1.85rem !important; + height: 2.5rem; + margin: 0 0.14rem; + font-size: 1rem; + text-align: center; + border-radius: 4px; + border: 1px solid rgba(0, 0, 0, 0.3); +} + +.timersecsubdiv { + display: flex; + column-gap: 1rem; +} + +.signCard .ant-collapse { + width: auto !important; + margin: auto !important; +} +.signbodymodal-content { + display: flex !important; + align-items: center; + + h3 { + font-size: 18px; + margin-top: 0.8rem; + font-weight: 700 !important; + } +} + +// .signbodymodal{ +// .ant-btn-default{ +// display: block !important; +// } +// // .ant-modal .ant-modal-footer .ant-btn + .ant-btn:not(.ant-dropdown-trigger){ +// // display: block !important; +// // } +// .ant-btn-primary{ +// display: block !important; +// } +// } +// .ant-modal-root .ant-modal-wrap{ +// top: 200px !important; +// } diff --git a/src/Pages/purchaseInfo/backup.jsx b/src/Pages/purchaseInfo/backup.jsx new file mode 100644 index 0000000..718d79c --- /dev/null +++ b/src/Pages/purchaseInfo/backup.jsx @@ -0,0 +1,353 @@ +import React, { useEffect, useRef, useState } from "react"; +import { changeBreadCrumb } from "../../features/appPage/centerPage"; +import { useNavigate } from "react-router-dom"; +import { useDispatch } from "react-redux"; +import Search from "../../Components/Forms/Search"; +import FormHeader from "../pageComponents/FormHeader"; +import { DropDowns } from "../../Components/Forms/DropDown"; +import { Tables } from "../../Components/Tables/Table"; +import { getPurcheseInfo } from "../../features/purcheseInfo/purcheseInfo"; +import moment from "moment"; +import { DefaultModal } from "../../Components/Modal/DefaultModal"; +import { IoEye } from "react-icons/io5"; +import "../../styles/PurchaseInfo/purchaseInfo.scss"; + +const PurchaseInfo = () => { + const dispatch = useDispatch(); + const subDirectory = import.meta.env.ENV_BASE_URL; + + const [page, setpage] = useState(1); + const [searchedText, setSearchedText] = useState(""); + const [purcheseInfoData, setPurcheseInfoData] = useState([]); + const [selectedStatus, setSelectedStatus] = useState(null); + const [purchasemodal, setpurchasemodal] = useState(false); + const [selectedDetails, setSelectedDetails] = useState(null); + + + console.log(selectedDetails, "llllllllll"); + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + { + name: "PurchaseInfo", + link: `${subDirectory}setting/purchaseinfo`, + }, + ]; + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + }, []); + + const handleOpenModal = (record) => { + setSelectedDetails(record); + setpurchasemodal(true); + }; + const columns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "50px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + + { + title: "Application", + dataIndex: "AppName", + key: "AppName", + width: "150px", + align: "left", + filteredValue: [searchedText], + render: (text) => {text}, + onFilter: (value, record) => { + return ( + String(record.AppName).toLowerCase().includes(value.toLowerCase()) || + String(record.UserName).toLowerCase().includes(value.toLowerCase()) || + String(record.MobileNo).toLowerCase().includes(value.toLowerCase()) + ); + }, + }, + + { + title: "Mobile No", + dataIndex: "MobileNo", + key: "MobileNo", + align: "left", + width: "100px", + filteredValue: [searchedText], + }, + + { + title: "Name", + dataIndex: "UserName", + key: "UserName", + align: "center", + width: "50px", + filteredValue: [searchedText], + }, + + { + title: "Purchese Date", + dataIndex: "PurDate", + key: "PurDate", + align: "right", + width: "200px", + render: (text) => moment(text).format("DD-MM-YYYY HH:mm"), + }, + { + title: "Valid From", + dataIndex: "ValidityStart", + key: "ValidityStart", + align: "right", + width: "200px", + render: (text) => moment(text).format("DD-MM-YYYY"), + }, + + { + title: "Valid To", + dataIndex: "ValidityEnd", + key: "ValidityEnd", + align: "right", + width: "200px", + render: (text) => moment(text).format("DD-MM-YYYY"), + }, + { + title: "Plan", + key: "PricingName", + dataIndex: "PricingName", + width: "150px", + align: "center", + render: (text, record) => { + let duration = record.NoOfDays === 365 ? "Year" : "Month"; + return `${text} / ${duration}`; + }, + }, + { + title: "Price", + key: "Price", + dataIndex: "Price", + width: "50px", + align: "center", + }, + { + title: "Details", + key: "AppDetails", + dataIndex: "AppDetails", + width: "50px", + align: "center", + render: (_, record) => ( + setpurchasemodal(true)} + onClick={() => handleOpenModal(record)} + /> + ), + }, + { + title: "Status", + key: "Status", + dataIndex: "Status", + width: "100px", + align: "center", + render: (status) => ( + + {status} + + ), + }, + ]; + + const handlePageChange = (current) => { + setpage(current); + }; + + const filteredData = purcheseInfoData?.filter((item) => + selectedStatus ? item.Status === selectedStatus : true + ); + const handleStatusChange = (status) => { + setSelectedStatus(status); + }; + + const onSearchChange = (e) => { + const { value } = e.target; + setSearchedText(value); + }; + + useEffect(() => { + fetchData(); + }, []); + + const fetchData = async () => { + let response = await dispatch(getPurcheseInfo()).unwrap(); + setPurcheseInfoData(response?.data?.data); + + // console.log(response?.data?.data, "ddddddddddddddd"); + }; + + + const companyColumns = [ + {title: "SI.NO",key: "sno",align: "center",width: "50px",render: (text, record, index) => ( + {index + 1} + ), }, + { title: "Name", dataIndex: "CompName", key: "CompName",width:'300px' }, + { title: "Short Name", dataIndex: "CompShName", key: "CompShName",}, + { title: "Mobile No", dataIndex: "CompMobile", key: "CompMobile" , }, + { title: "Proprietor", dataIndex: "Proprietor", key: "Proprietor" }, + ]; + + const branchColumns = [ + {title: "SI.NO",key: "sno",align: "center",width: "50px",render: (text, record, index) => ( + {index + 1} + ), }, + { title: "Name", dataIndex: "BrName", key: "BrName" }, + { title: "Mobile No", dataIndex: "BrMobile", key: "BrMobile" }, + {title: "Address",dataIndex: "BranchAddress",key: "BranchAddress",}, + ]; + + const userColumns = [ + {title: "SI.NO",key: "sno",align: "center",width: "50px",render: (text, record, index) => ( + {index + 1} + ), }, + { title: "Name", dataIndex: "UserName", key: "UserName" }, + { title: "Mobile No", dataIndex: "MobileNo", key: "MobileNo" }, + // { title: "Company", dataIndex: "CompName", key: "CompName" }, + // { title: "Branch", dataIndex: "BrName", key: "BrName" }, + ]; + + const companyData = + selectedDetails?.AppDetails?.[0]?.CompanyDetails?.map((company, index) => ({ + key: index, + CompName: company?.CompName || "N/A", + CompShName: company?.CompShName || "N/A", + CompMobile: company?.CompMobile || "N/A", + Proprietor: company?.Proprietor || "N/A", + })) || []; + + const branchData = + selectedDetails?.AppDetails?.[0]?.CompanyDetails?.[0]?.BranchDetails?.map( + (branch, index) => ({ + key: index, + BrName: branch?.BrName || "N/A", + BrMobile: branch?.BrMobile || "N/A", + BranchAddress: branch?.Address1 || "N/A", + }) + ) || []; + + const userData = + selectedDetails?.AppDetails?.[0]?.CompanyDetails?.[0]?.BranchDetails[0]?.UserDetails ?.filter((user) => user?.UserTypeName === "Employee")?.map((user, index) => ({ + key: index, + UserName: user?.UserName || "N/A", + MobileNo: user?.MobileNo || "N/A", + CompName: user?.CompName || "N/A", + BrName: user?.BrName || "N/A", + })) || []; + + console.log(userData, "gggggggggggg"); + + const modalRef = useRef(null); + useEffect(() => { + function handleClickOutside(event) { + if (modalRef.current && !modalRef.current.contains(event.target)) { + setpurchasemodal(false); + } + } + if (purchasemodal) { + document.addEventListener("mousedown", handleClickOutside); + } + return () => { + document.removeEventListener("mousedown", handleClickOutside); + }; + }, [purchasemodal]); + + + return ( + <> +
    +
    +
    +
    + +
    +
    +
    + +
    + handleStatusChange(e)} + /> +
    +
    +
    + {" "} +
    +
    + setpurchasemodal(false)} + > + {selectedDetails ? ( + <> +
    +
    +

    Company Details

    + +
    +
    +

    Branch Details

    + +
    + +
    +

    User Details

    + +
    +
    + + ) : ( +

    Loading details...

    + )} +
    +
    + + ); +}; +export default PurchaseInfo; diff --git a/src/Pages/purchaseInfo/purchaseInfo.jsx b/src/Pages/purchaseInfo/purchaseInfo.jsx new file mode 100644 index 0000000..54f7001 --- /dev/null +++ b/src/Pages/purchaseInfo/purchaseInfo.jsx @@ -0,0 +1,2418 @@ +import { useCallback, useEffect, useRef, useState } from "react"; +import { changeBreadCrumb } from "../../features/appPage/centerPage"; +import { useDispatch, useSelector } from "react-redux"; +import Search from "../../Components/Forms/Search"; +import FormHeader from "../pageComponents/FormHeader"; +import { DropDowns } from "../../Components/Forms/DropDown"; +import { Tables } from "../../Components/Tables/Table"; +import { + getPurcheseInfoCount, + getPurcheseInfoFilter, +} from "../../features/purcheseInfo/purcheseInfo"; +import { AiOutlineAppstoreAdd } from "react-icons/ai"; +import { DefaultModal } from "../../Components/Modal/DefaultModal"; +import { IoEye } from "react-icons/io5"; +import "../../styles/PurchaseInfo/purchaseInfo.scss"; +import { RadioGrpButton } from "../../Components/Forms/RadioGroup"; +import TextAreaInput from "../../Components/Forms/TextArea"; +import { InputField } from "../../Components/Forms/InputField"; +import Buttons from "../../Components/Forms/Buttons"; +import { + ArrowRightOutlined, + EditFilled, + DeleteFilled, + PlusOutlined, +} from "@ant-design/icons"; +import { + getConfigTypeNames, + Postplanextend, +} from "../../features/configtypePage/configtypePage"; +import { FaUserAlt } from "react-icons/fa"; +import { Messages } from "../../Components/Notifications/Messages"; +import { Form, Space, Table } from "antd"; +import Pricing from "../../Pages/themeTemplate/TemplateComps/Pricing/Pricing1"; +import Pricing2 from "../../Pages/themeTemplate/TemplateComps/Pricing/Pricing2"; +import Pricing3 from "../../Pages/themeTemplate/TemplateComps/Pricing/Pricing3"; +import { + emptyTemplateData, + getAllApplications, + getTemplate, + getTemplateData, +} from "../../features/themeChange/themeChange"; +import { + ChangeAdminplanschanges, + changeNewPlandata, + getPurchasedAppDetails, + GlobalAdminplanschanges, + GlobalNewPlandata, +} from "../../features/pricingType/pricingType"; +import { getPurchasedApp } from "../../features/homePage/homePage"; +import { getFeatureonTypeApp } from "../../features/priceType/priceType"; +import { dateFormatChange, getSession, validateSafeInput } from "../../Services/others"; +import { postFeatureAddon } from "../../features/feature/feature"; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess"; +import { getApplicationData } from "../../features/applicationPage/applicationPage"; +import { getAllUserData } from "../../features/userPage/userPage"; + +const PurchaseInfo = () => { + const subDirectory = import.meta.env.ENV_BASE_URL; + const dispatch = useDispatch(); + const formRef = useRef(null); + const newplanformRef = useRef(null); + const newplanaddfeatureformRef = useRef(null); + const renewaladdonformRef = useRef(null); + const SuperAdminUserAccess = useSelector(SuperAdminUserAccessDataSelector) + const templateData = useSelector(getTemplateData); + const Sadminplans = useSelector(GlobalAdminplanschanges); + const GlobalNewPlandatasadmin = useSelector(GlobalNewPlandata); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [page, setpage] = useState(1); + const [searchedText, setSearchedText] = useState(""); + const [purcheseInfoData, setPurcheseInfoData] = useState([]); + const [purchaseInfoCount, setPurcheseInfoCount] = useState([]); + const [selectedStatus, setSelectedStatus] = useState(null); + const [radioValue, setRadioValue] = useState("A"); + const [purchasemodal, setpurchasemodal] = useState(false); + const [selectedDetails, setSelectedDetails] = useState(null); + const [Extendmodal, setExtendmodal] = useState(false); + const [Totaldata, setTotaldata] = useState(); + const [Plantype, setPlantype] = useState("PS"); + const [RenewalType, setRenewaltype] = useState("NP"); + const [Manualpayment, setManualpayment] = useState(); + const [Manualpaymentdata, setManualpaymentdata] = useState(); + const [Noofdays, setNoofdays] = useState(); + const [Reason, setReason] = useState(); + const [appPurchase, setappPurchase] = useState(); + const [FeatureDtl, setFeatureDtl] = useState(false); + const [SelectedApplicationValue, setSelectedApplicationValue] = useState([]); + const [Amount, SetAmount] = useState([]); + const [SelectedFeature, setSelectedFeature] = useState(); + const [Data, setData] = useState([]); + const [SelecAppId, setSelecAppId] = useState(null); + const [SelAppData, setSelAppData] = useState([]); + const [FeatureDetails, setFeatureDetails] = useState([]); + const [Tabledata, setTabledata] = useState([]); + const UserId = getSession("UserId"); + const [Sadminnewplan, setSadminnewplan] = useState(false); + const [AdminNames, setAdminNames] = useState([]); + const [AppNames, setAppNames] = useState([]); + const [SelectedAdmin, setSelectedAdmin] = useState(null); + const [SelectedApp, setSelectedApp] = useState(null); + const UserType = getSession("UserType"); + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + { + name: "PurchaseInfo", + link: `${subDirectory}setting/purchaseinfo`, + }, + ]; + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + fetchDataCount(); + fetchGetData("A"); + }, []); + + useEffect(() => { + let Selapp = Data?.filter((item) => item.AppId === SelecAppId); + setSelAppData(Selapp); + const FeatureDetails = SelectedApplicationValue?.filter( + (item) => item.FeatName == SelectedFeature + ); + setFeatureDetails(FeatureDetails); + }, [Data, SelectedApplicationValue, SelectedFeature, SelecAppId]); + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + const handleOpenModal = (record) => { + setSelectedDetails(record); + setpurchasemodal(true); + }; + + const columns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "50px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "Application", + dataIndex: "AppName", + key: "AppName", + width: "150px", + align: "left", + filteredValue: [searchedText], + render: (text) => {text}, + onFilter: (value, record) => { + return ( + String(record.AppName).toLowerCase().includes(value.toLowerCase()) || + String(record.UserName).toLowerCase().includes(value.toLowerCase()) || + String(record.MobileNo).toLowerCase().includes(value.toLowerCase()) + ); + }, + }, + { + title: "Mobile No", + dataIndex: "MobileNo", + key: "MobileNo", + align: "left", + width: "100px", + filteredValue: [searchedText], + }, + { + title: "Name", + dataIndex: "UserName", + key: "UserName", + align: "center", + width: "50px", + filteredValue: [searchedText], + }, + { + title: "Purchese Date", + dataIndex: "PurDate", + key: "PurDate", + align: "right", + width: "200px", + render: (text) => dateFormatChange(text), + }, + { + title: "Valid From", + dataIndex: "ValidityStart", + key: "ValidityStart", + align: "right", + width: "200px", + render: (text) => dateFormatChange(text), + }, + { + title: "Valid To", + dataIndex: "ValidityEnd", + key: "ValidityEnd", + align: "right", + width: "200px", + render: (text) => dateFormatChange(text), + }, + { + title: "Plan", + key: "PricingName", + dataIndex: "PricingName", + width: "150px", + align: "center", + render: (text, record) => { + let duration = record.NoOfDays === 365 ? "Year" : "Month"; + return `${text} / ${duration}`; + }, + }, + { + title: "Price", + key: "Price", + dataIndex: "Price", + width: "50px", + align: "center", + }, + { + title: "Remaining Days", + key: "RemainingDays", + dataIndex: "RemainingDays", + width: "200px", + align: "center", + }, + { + title: "Details", + key: "AppDetails", + dataIndex: "AppDetails", + width: "50px", + align: "center", + render: (_, record) => ( + handleOpenModal(record)} + /> + ), + }, + { + title: "Status", + key: "Status", + dataIndex: "Status", + width: "100px", + align: "center", + render: (status) => ( + + {status} + + ), + }, + { + title: "Extend", + key: "Status", + dataIndex: "Status", + width: "100px", + align: "center", + render: (status, record) => ( + + {record?.LastStatus === 'Y' ? +
    { + const hasAccess = SuperAdminUserAccess?.find((e) => e?.ConfigName === "Purchase Info")?.UpdateAccess === "Y"; + if (hasAccess || UserType === "Super Admin") { + Extendplan(record, status, record?.AppName); + } + }}> + Renewal +
    : null} +
    + ), + }, + ]; + + const Fcolumns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + render: (text, object, index) => ( + {index + 1} + ), + }, + + { + title: "Feature Name", + dataIndex: "FeatName", + key: "FeatName", + align: "left", + + }, + { + title: "Feature Count", + dataIndex: "featcount", + key: "featcount", + align: "center", + + }, + { + title: "Price", + dataIndex: "NetPrice", + key: "Amount", + align: "center", + }, + { + title: "Net Amount", + dataIndex: "OveralAmount", + key: "OveralAmount", + align: "right", + }, + { + title: "Action", + dataIndex: "Action", + key: "Action", + align: "right", + render: (_, record, index) => + Tabledata?.length >= 1 ? ( + + + actionsFormatter(record, index)} + /> + + + statusFormatter(record, index)} + /> + + + ) : null, + }, + ]; + + const handlePageChange = (current) => { + setpage(current); + }; + + const filteredData = radioValue === "All" ? purcheseInfoData?.filter((item) => { + if (!selectedStatus) return true; + if (selectedStatus === "Free") { + return item.PricingName === "Free"; + } + return item.Status === selectedStatus; + }) + : purcheseInfoData; + + const handleStatusChange = async (status) => { + let type = status; + let response = await dispatch(getPurcheseInfoFilter(type == "Active" ? "A" : "" || type == "Expired" ? "E" : "" || type == "Free" ? "F" : "", type == "All" ? "" : "")).unwrap(); + setPurcheseInfoData(response?.data?.data); + + fetchGetData(status) + setSelectedStatus(status); + handlePageChange(1) + }; + const StatusChangeFun = (status) => { + fetchGetData(status); + setRadioValue(status); + handlePageChange(1); + }; + + const onSearchChange = (e) => { + const { value } = e.target; + setSearchedText(value); + }; + + const fetchGetData = async (type) => { + let response = await dispatch(getPurcheseInfoFilter(type == "All" ? "" : type)).unwrap(); + setPurcheseInfoData(response?.data?.data); + }; + + const fetchDataCount = async () => { + let response = await dispatch(getPurcheseInfoCount()).unwrap(); + setPurcheseInfoCount(response?.data?.data?.[0]); + }; + + const companyColumns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "50px", + render: (text, record, index) => ( + {index + 1} + ), + }, + { title: "Id", dataIndex: "CompId", key: "CompId", }, + { title: "Name", dataIndex: "CompName", key: "CompName", }, + { title: "Short Name", dataIndex: "CompShName", key: "CompShName" }, + { title: "Mobile No", dataIndex: "CompMobile", key: "CompMobile" }, + { title: "Proprietor", dataIndex: "Proprietor", key: "Proprietor" }, + { title: "Created Date", dataIndex: "CreatedDate", key: "CreatedDate" }, + ]; + + const branchColumns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "50px", + render: (text, record, index) => ( + {index + 1} + ), + }, + { title: "Id", dataIndex: "BrId", key: "BrId", }, + { title: "Name", dataIndex: "BrName", key: "BrName" }, + { title: "Mobile No", dataIndex: "BrMobile", key: "BrMobile" }, + { title: "Address", dataIndex: "BranchAddress", key: "BranchAddress" }, + { title: "Created Date", dataIndex: "CreatedDate", key: "CreatedDate" }, + ]; + + const userColumns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "50px", + render: (text, record, index) => ( + {index + 1} + ), + }, + { title: "Id", dataIndex: "UserId", key: "UserId", }, + { title: "Name", dataIndex: "UserName", key: "UserName" }, + { title: "Mobile No", dataIndex: "MobileNo", key: "MobileNo" }, + { title: "Mail Id", dataIndex: "MailId", key: "MailId" }, + { title: "Created Date", dataIndex: "CreatedDate", key: "CreatedDate" }, + ]; + + const featureAddonColumns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + width: "50px", + render: (text, record, index) => ( + {index + 1} + ), + }, + { title: "Name", dataIndex: "FeatAddonName", key: "FeatAddonName" }, + { title: "Count", dataIndex: "Count", key: "Count" }, + { title: "Price", dataIndex: "Price", key: "Price" }, + { title: "NetPrice", dataIndex: "NetPrice", key: "NetPrice" }, + { title: "PurDate", dataIndex: "PurDate", key: "PurDate" }, + + ] + + const companyData = + selectedDetails?.AppDetails?.[0]?.CompanyDetails?.map((company, index) => ({ + key: index, + CompId: company?.CompId, + CompName: company?.CompName, + CompShName: company?.CompShName, + CompMobile: company?.CompMobile, + Proprietor: company?.Proprietor, + CreatedDate: dateFormatChange(company?.CreatedDate), + + })) || []; + + const branchData = + selectedDetails?.AppDetails?.[0]?.CompanyDetails?.[0]?.BranchDetails?.map( + (branch, index) => ({ + key: index, + BrId: branch?.BrId, + BrName: branch?.BrName, + BrMobile: branch?.BrMobile, + BranchAddress: branch?.Address1, + CreatedDate: dateFormatChange(branch?.CreatedDate), + }) + ) || []; + + const userData = + selectedDetails?.AppDetails?.[0]?.CompanyDetails?.[0]?.BranchDetails[0]?.UserDetails?.filter( + (user) => user?.UserTypeName === "Employee" + )?.map((user, index) => ({ + key: index, + UserId: user?.UserId, + UserName: user?.UserName, + MobileNo: user?.MobileNo, + CompName: user?.CompName, + BrName: user?.BrName, + MailId: user?.MailId, + CreatedDate: dateFormatChange(user?.CreatedDate), + })) || []; + + const featureAddonData = + selectedDetails?.FeatAddonDetails?.map((feature, index) => ({ + key: index, + FeatAddonName: feature?.FeatAddonName, + Count: feature?.Count, + Price: feature?.Price, + NetPrice: feature?.NetPrice, + PurDate: dateFormatChange(feature?.PurDate), + })) || []; + + const modalRef = useRef(null); + + useEffect(() => { + function handleClickOutside(event) { + if (modalRef.current && !modalRef.current.contains(event.target)) { + setpurchasemodal(false); + } + } + if (purchasemodal) { + document.addEventListener("mousedown", handleClickOutside); + } + return () => { + document.removeEventListener("mousedown", handleClickOutside); + }; + }, [purchasemodal]); + + const Extendplan = async (record, status) => { + let AppName = record?.AppName; + let UserId = record?.UserId; + let AppId = record?.AppId; + setSelecAppId(AppId); + setTotaldata(record); + setExtendmodal(true); + setPlantype("PS"); + setRenewaltype(status != "Active" ? "NP" : "EP"); + setReason(); + + let res = await dispatch( + getConfigTypeNames({ typeName: "Manual PaymentType" }) + ).unwrap(); + setManualpayment(res?.data?.data); + + await dispatch(getTemplate(AppName)).unwrap(); + + let ress = await dispatch( + getPurchasedAppDetails({ UserId, AppId }) + ).unwrap(); + let updatedData = ress?.data?.data?.map((item) => ({ + ...item, // Spread existing properties + Sadmin: "Y", // Add the new key-value pair + })); + + setappPurchase(updatedData); + + dispatch(ChangeAdminplanschanges(true)); + dispatch(changeNewPlandata(updatedData)); + + await dispatch(getPurchasedApp({ UserId })).unwrap(); + + await dispatch(getAllApplications()).unwrap(); + let ressp = await dispatch(getPurchasedApp({ UserId })).unwrap(); + + setData(ressp?.data?.data); + + let data = await dispatch(getFeatureonTypeApp(AppId)); + let features = data?.payload?.data?.data?.[0]?.FeatDetails?.filter( + (item) => item.ActiveStatus != "D" + ); + setSelectedApplicationValue(features); + }; + + const Planstypes = (e) => { + setPlantype(e); + setManualpaymentdata(); + }; + + const OnChangeSalesType = (event) => { + setRenewaltype(event); + formRef?.current?.resetFields(); + setTabledata([]) + setManualpaymentdata() + setSelectedFeature() + }; + + const Paymenttype = (e) => { + setManualpaymentdata(e); + formRef?.current?.setFieldsValue({ Manualpayment: e }); + }; + + const Inputvalues = (e) => { + setNoofdays(e); + }; + + const Reasons = (e) => { + setReason(e?.target?.value); + formRef?.current?.setFieldsValue({ "Reason": e?.target?.value }); + }; + + const CloseExtendmodal = () => { + setExtendmodal(false); + setSelectedFeature(); + setTabledata([]); + setManualpaymentdata(); + setSadminnewplan(false) + setSelectedAdmin(null) + setSelectedApp(null) + setSelectedApplicationValue([]) + setFeatureDtl(false); + setAppNames([]) + }; + + const FeatureDetailss = () => { + if (FeatureDtl) { + setFeatureDtl(false); + } else { + setFeatureDtl(true); + } + }; + + const handleFeatureChange = (value) => { + setSelectedFeature(value); + newplanaddfeatureformRef?.current?.setFieldsValue({ FeaturesName: value, FeaturesAmount: null }); + renewaladdonformRef?.current?.setFieldsValue({ FeaturesName: value, FeaturesAmount: null }); + formRef?.current?.setFieldsValue({ FeaturesName: value, FeaturesAmount: null }); + SetAmount(); + }; + + const changeAMount = ( + value, + featName, + featAmtName, + price, + Taxdetails, + TaxAmount + ) => { + + const amount = value * price; + const taxAmount = value * TaxAmount; + formRef?.current?.setFieldsValue({ + [featName]: value, + [featAmtName]: amount.toString(), + [Taxdetails]: taxAmount.toString(), + }); + + setTimeout(() => { + SetAmount((prevAmount) => ({ + ...prevAmount, + [featName]: value, + })); + }, 0); + }; + + const actionsFormatter = async (row) => { + setSelectedFeature(row.FeatName); + formRef?.current?.setFieldsValue({ FeaturesName: row.FeatName }); + formRef?.current?.setFieldsValue({ FeaturesAmount: row.featcount }); + newplanaddfeatureformRef?.current?.setFieldsValue({ FeaturesName: row.FeatName }); + newplanaddfeatureformRef?.current?.setFieldsValue({ FeaturesAmount: row.featcount }); + renewaladdonformRef?.current?.setFieldsValue({ FeaturesName: row.FeatName }); + renewaladdonformRef?.current?.setFieldsValue({ FeaturesAmount: row.featcount }); + changeAMount( + row.featcount, + "FeaturesAmount", + FeatureDetails?.[0]?.FeatName + "Amt", + FeatureDetails?.[0]?.NetPrice, + FeatureDetails?.[0]?.FeatName + "Taxdetails", + FeatureDetails?.[0]?.TaxAmount + ); + SetAmount(row.OveralAmount); + }; + + const statusFormatter = async (row) => { + let data = Tabledata?.filter((item) => item.UniqueId !== row.UniqueId); + setTabledata(data); + }; + + const onFinish = (values) => { + const AppUniqueId = SelectedApplicationValue?.filter( + (item) => item.FeatName == values?.FeaturesName + ); + + let EditFilterData = Tabledata.filter( + (item) => item.FeatName !== values?.FeaturesName + ); + + let data = [ + { + AppName: FeatureDetails?.[0]?.AppName, + FeatName: FeatureDetails?.[0]?.FeatName, + TaxAmount: + SelAppData?.[0]?.NoOfDays > 31 + ? FeatureDetails?.[0]?.YearlyTaxAmount + : FeatureDetails?.[0]?.MonthlyTaxAmount, + Price: + SelAppData?.[0]?.NoOfDays > 31 + ? FeatureDetails?.[0]?.YearlyPrice + : FeatureDetails?.[0]?.MonthlyPrice, + NetPrice: + SelAppData?.[0]?.NoOfDays > 31 + ? FeatureDetails?.[0]?.YearlyNetPrice + : FeatureDetails?.[0]?.MonthlyNetPrice, + featcount: values?.FeaturesAmount, + OveralAmount: + Amount?.FeaturesAmount * + (SelAppData?.[0]?.NoOfDays > 31 + ? FeatureDetails?.[0]?.YearlyNetPrice + : FeatureDetails?.[0]?.MonthlyNetPrice), + TaxId: FeatureDetails?.[0]?.TaxId, + UniqueId: AppUniqueId?.[0]?.UniqueId, + }, + ]; + + if (RenewalType == "FA" ? Totaldata?.RemainingDays > 0 : null) { + if (Tabledata?.some((item) => item.FeatName === values?.FeaturesName)) { + setTabledata([...EditFilterData, ...data]); + setSelectedFeature(); + formRef?.current?.resetFields(); + renewaladdonformRef?.current?.resetFields(); + newplanformRef?.current?.resetFields(); + newplanaddfeatureformRef?.current?.resetFields(); + } + else { + setTabledata([...Tabledata, ...data]); + setSelectedFeature(); + formRef?.current?.resetFields(); + renewaladdonformRef?.current?.resetFields(); + newplanformRef?.current?.resetFields(); + newplanaddfeatureformRef?.current?.resetFields(); + + } + } + else if (RenewalType == "NP") { + if (Tabledata?.some((item) => item.FeatName === values?.FeaturesName)) { + setTabledata([...EditFilterData, ...data]); + setSelectedFeature(); + formRef?.current?.resetFields(); + renewaladdonformRef?.current?.resetFields(); + newplanformRef?.current?.resetFields(); + newplanaddfeatureformRef?.current?.resetFields(); + } else { + setTabledata([...Tabledata, ...data]); + setSelectedFeature(); + formRef?.current?.resetFields(); + renewaladdonformRef?.current?.resetFields(); + newplanformRef?.current?.resetFields(); + newplanaddfeatureformRef?.current?.resetFields(); + + } + } + else { + setMessageType("error"); + setMessageData("Please Have Active Plans"); + } + }; + + const handleSubmit = async () => { + if (RenewalType == "NP") { //Np -New plan + if (Plantype == "PS") { + if (Tabledata.length == 0 && Manualpaymentdata) { + let Postdata = { + UserId: Totaldata?.UserId, + AppId: Totaldata?.AppId, + PricingId: Totaldata?.PricingId, + CompId: Totaldata?.CompId, + PaymentStatus: "S", + LicenseStatus: "A", + Price: Totaldata?.Price, + TaxId: Totaldata?.TaxId, + TaxAmount: Totaldata?.TaxAmount, + NetPrice: Totaldata?.NetPrice, + ValidityStart: Totaldata?.ValidityStart, + ValidityEnd: Totaldata?.ValidityEnd, + NoofDays: Totaldata?.NoOfDays, + UniqueId: Totaldata?.UniqueId, + MailId: Totaldata?.MailId, + Gst: Totaldata?.Gst, + BillingName: Totaldata?.BillingName, + MobileNo: Totaldata?.MobileNo, + Type: Plantype, + Reason: Reason ? Reason : "", + PaymentType: Manualpaymentdata ? Manualpaymentdata : "", + CreatedBy: Totaldata?.UserId, + }; + + let res = await dispatch(Postplanextend(Postdata)).unwrap(); + + if (res?.data?.statusCode == 1) { + formRef?.current?.resetFields(); + setManualpaymentdata(); + setReason(); + setExtendmodal(false); + setTabledata([]); + dispatch(ChangeAdminplanschanges(false)); + setFeatureDtl(false); + setMessageType("success"); + setMessageData(res?.data?.response); + fetchGetData(radioValue) + } else { + setMessageType("error"); + setMessageData(res?.data?.response); + } + } else if (Tabledata.length > 0 && Manualpaymentdata) { + if (Tabledata.length > 0) { + let AppUniqueId = Data?.filter( + (item) => item?.AppName == Tabledata?.[0]?.AppName + ); + + let Postdata = { + UserId: Totaldata?.UserId, + AppId: Totaldata?.AppId, + PricingId: Totaldata?.PricingId, + CompId: Totaldata?.CompId, + PaymentStatus: "S", + LicenseStatus: "A", + ValidityStart: Totaldata?.ValidityStart, + ValidityEnd: Totaldata?.ValidityEnd, + NoofDays: Totaldata?.NoOfDays, + UniqueId: Totaldata?.UniqueId, + MailId: Totaldata?.MailId, + Gst: Totaldata?.Gst, + BillingName: Totaldata?.BillingName, + MobileNo: Totaldata?.MobileNo, + CreatedBy: Totaldata?.UserId, + BookingId: AppUniqueId?.[0]?.UniqueId, + Price: Tabledata?.reduce( + (total, item) => total + item.Price * item.featcount, + 0 + ), + TaxId: Tabledata?.[0]?.TaxId, + TaxAmount: Tabledata?.reduce( + (total, item) => total + item.TaxAmount * item.featcount, + 0 + ), + NetPrice: + Tabledata?.reduce( + (total, item) => total + item.OveralAmount, + 0 + ) + Totaldata?.NetPrice, + OrderId: 0, + Type: Plantype, + Reason: Reason ? Reason : "", + PaymentType: Manualpaymentdata ? Manualpaymentdata : "", + Details: Tabledata?.map((item) => { + return { + FeatAddonId: item?.UniqueId, + Count: item?.featcount, + Price: item?.Price * item?.featcount, + NetPrice: item?.NetPrice * item?.featcount, + TaxAmount: item?.TaxAmount * item?.featcount, + TaxId: item?.TaxId, + }; + }), + }; + + let res = await dispatch(Postplanextend(Postdata)).unwrap(); + + if (res?.data?.statusCode == 1) { + formRef?.current?.resetFields(); + setManualpaymentdata(); + setReason(); + setTabledata([]); + setExtendmodal(false); + setFeatureDtl(false); + dispatch(ChangeAdminplanschanges(false)); + setMessageType("success"); + setMessageData(res?.data?.response); + fetchGetData(radioValue) + } else { + setMessageType("error"); + setMessageData(res?.data?.response); + } + + SetAmount(); + setFeatureDtl(false); + } else { + setMessageType("error"); + setMessageData("Select Feature"); + } + } else { + setMessageType("error"); + setMessageData("Please Choose Payment Type"); + } + } else { + if (Noofdays) { + let Postdata = { + UserId: Totaldata?.UserId, + AppId: Totaldata?.AppId, + PricingId: Totaldata?.PricingId, + CompId: Totaldata?.CompId, + PaymentStatus: "S", + LicenseStatus: "A", + Price: Totaldata?.Price, + TaxId: Totaldata?.TaxId, + TaxAmount: Totaldata?.TaxAmount, + NetPrice: Totaldata?.NetPrice, + ValidityStart: Totaldata?.ValidityStart, + ValidityEnd: Totaldata?.ValidityEnd, + NoofDays: Noofdays ? Noofdays : Totaldata?.NoOfDays, + UniqueId: Totaldata?.UniqueId, + MailId: Totaldata?.MailId, + Gst: Totaldata?.Gst, + BillingName: Totaldata?.BillingName, + MobileNo: Totaldata?.MobileNo, + Type: Plantype, + Reason: Reason ? Reason : "", + PaymentType: Manualpaymentdata ? Manualpaymentdata : "", + CreatedBy: Totaldata?.UserId, + }; + + let res = await dispatch(Postplanextend(Postdata)).unwrap(); + + if (res?.data?.statusCode == 1) { + formRef?.current?.resetFields(); + setManualpaymentdata(); + setReason(); + setPlantype("PS"); + setExtendmodal(false); + dispatch(ChangeAdminplanschanges(false)); + setMessageType("success"); + setMessageData(res?.data?.response); + fetchGetData(radioValue) + } else { + setMessageType("error"); + setMessageData(res?.data?.response); + } + } else { + setMessageType("error"); + setMessageData("Please Enter No of Days"); + } + } + } else if (RenewalType == "EP") { + if (Manualpaymentdata) { + let Postdata = { + UserId: Totaldata?.UserId, + AppId: Totaldata?.AppId, + PricingId: GlobalNewPlandatasadmin?.PricingId, + CompId: Totaldata?.CompId, + PaymentStatus: "S", + LicenseStatus: "A", + Price: GlobalNewPlandatasadmin?.Price, + TaxId: Totaldata?.TaxId, + TaxAmount: Totaldata?.TaxAmount, + NetPrice: GlobalNewPlandatasadmin?.NetPrice, + ValidityStart: Totaldata?.ValidityStart, + ValidityEnd: Totaldata?.ValidityEnd, + NoofDays: GlobalNewPlandatasadmin?.NoOfDays, + UniqueId: Totaldata?.UniqueId, + MailId: Totaldata?.MailId, + Gst: Totaldata?.Gst, + BillingName: Totaldata?.BillingName, + MobileNo: Totaldata?.MobileNo, + Type: Plantype, + Reason: Reason ? Reason : "", + PaymentType: Manualpaymentdata ? Manualpaymentdata : "", + CreatedBy: Totaldata?.UserId, + }; + + let res = await dispatch(Postplanextend(Postdata)).unwrap(); + + if (res?.data?.statusCode == 1) { + formRef?.current?.resetFields(); + setManualpaymentdata(); + setReason(); + setExtendmodal(false); + setTabledata([]); + dispatch(ChangeAdminplanschanges(false)); + setFeatureDtl(false); + setMessageType("success"); + setMessageData(res?.data?.response); + fetchGetData(radioValue) + } else { + setMessageType("error"); + setMessageData(res?.data?.response); + } + } else { + setMessageType("error"); + setMessageData("Please Choose Payment Type"); + } + } else { + if (Manualpaymentdata) { + if (Tabledata.length > 0) { + let AppUniqueId = Data?.filter( + (item) => item?.AppName == Tabledata?.[0]?.AppName + ); + + let Postdata = { + BookingId: AppUniqueId?.[0]?.UniqueId, + Price: Tabledata?.reduce( + (total, item) => total + item.Price * item.featcount, + 0 + ), + TaxId: Tabledata?.[0]?.TaxId, + TaxAmount: Tabledata?.reduce( + (total, item) => total + item.TaxAmount * item.featcount, + 0 + ), + NetPrice: Tabledata?.reduce( + (total, item) => total + item.OveralAmount, + 0 + ), + OrderId: 0, + Type: "I", + PaymentStatus: "S", + Reason: Reason ? Reason : "", + PaymentType: Manualpaymentdata ? Manualpaymentdata : "", + Details: Tabledata?.map((item) => { + return { + FeatAddonId: item?.UniqueId, + Count: item?.featcount, + Price: item?.Price * item?.featcount, + NetPrice: item?.NetPrice * item?.featcount, + TaxAmount: item?.TaxAmount * item?.featcount, + TaxId: item?.TaxId, + }; + }), + CreatedBy: UserId, + }; + let res = await dispatch(postFeatureAddon(Postdata)).unwrap(); + + if (res?.data?.statusCode == 1) { + formRef?.current?.resetFields(); + setManualpaymentdata(); + setReason(); + setExtendmodal(false); + setTabledata([]); + dispatch(ChangeAdminplanschanges(false)); + setMessageType("success"); + setMessageData(res?.data?.response); + fetchGetData(radioValue) + } else { + setMessageType("error"); + setMessageData(res?.data?.response); + } + + formRef?.current?.resetFields(); + SetAmount(); + } else { + setMessageType("error"); + setMessageData("Select Feature"); + } + } else { + setMessageType("error"); + setMessageData("Please Choose Payment Type"); + } + } + + + }; + + const AdminDropDown = async (value) => { + formRef?.current?.setFieldsValue({ AdminId: value }); + setSelectedAdmin(value); + let res = await dispatch(getApplicationData()).unwrap(); + if (res?.data?.statusCode === 1) { + let ActiveApplication = res?.data?.data?.filter((item) => item.ActiveStatus === "A"); + const availableApps = ActiveApplication?.filter( + (app) => !purcheseInfoData?.some((assigned) => assigned.AppId === app.AppId && assigned.UserId === value) + ); + console.log("availableApps", purcheseInfoData); + setAppNames(availableApps); +} + // AppNames?.filter((item) => item.AppId == SelecAppId)?.[0]?.AppName && await dispatch(getTemplate(AppNames?.filter((item) => item.AppId == SelecAppId)?.[0]?.AppName)).unwrap(); + }; + + const AppDropDown = async (value) => { + let AppName = AppNames.filter((item) => item.AppId == value)?.[0]?.AppName; + await dispatch(getTemplate(AppName)).unwrap(); + setSelecAppId(value); + setSelectedApp(value); + formRef?.current?.setFieldsValue({ 'AppId':value}); + + let ress = await dispatch(getPurchasedAppDetails({ UserId: SelectedAdmin, AppId: value })).unwrap(); + + let updatedData = Array.isArray(ress?.data?.data) && ress?.data?.data?.length > 0 + ? ress.data?.data?.map((item) => ({ + ...item, + Sadmin: "Newplan", + })) + : [{ Sadmin: "Newplan" }]; + + + setappPurchase(updatedData); + + let data = await dispatch(getFeatureonTypeApp(value)); + let features = data?.payload?.data?.data?.[0]?.FeatDetails?.filter( + (item) => item.ActiveStatus != "D" + ); + setSelectedApplicationValue(features); + + let ressp = await dispatch(getPurchasedApp({ SelectedAdmin })).unwrap(); + + setData(ressp?.data?.data); + + dispatch(ChangeAdminplanschanges(true)); + dispatch(changeNewPlandata(updatedData)); + + }; + + const Newplan = async () => { + setSadminnewplan(true) + setSelectedAdmin(null) + setSelectedApp(null) + newplanformRef?.current?.resetFields(); + newplanaddfeatureformRef?.current?.resetFields(); + dispatch(emptyTemplateData([])); + let response = await dispatch(getAllUserData('AF')).unwrap(); + + if (response?.data?.statusCode === 1) { + setAdminNames(response?.data?.data); + } else { + messageType("error") + setMessageData(response?.data?.response) + } + + let res = await dispatch(getApplicationData()).unwrap(); + if (response?.data?.statusCode === 1) { + + let ActiveApplication = res?.data?.data?.filter((item) => item.ActiveStatus === "A"); + + setAppNames(ActiveApplication) + } else { + messageType("error") + setMessageData(response?.data?.response) + } + + let ress = await dispatch(getConfigTypeNames({ typeName: "Manual PaymentType" })).unwrap(); + setManualpayment(ress?.data?.data); + + dispatch(ChangeAdminplanschanges(true)); + setSelectedAdmin(null) + setSelectedApp(null) + + } + + const handleSubmit2 = async () => { + if (Tabledata.length == 0 && Manualpaymentdata && SelectedAdmin && SelectedApp) { + let Postdata = { + UserId: SelectedAdmin, + AppId: GlobalNewPlandatasadmin?.AppId, + PricingId: GlobalNewPlandatasadmin?.PricingId, + CompId: GlobalNewPlandatasadmin?.CompId, + PaymentStatus: "S", + LicenseStatus: "A", + Price: GlobalNewPlandatasadmin?.Price, + TaxId: Totaldata?.TaxId, + TaxAmount: Totaldata?.TaxAmount, + NetPrice: GlobalNewPlandatasadmin?.NetPrice, + ValidityStart: Totaldata?.ValidityStart, + ValidityEnd: Totaldata?.ValidityEnd, + NoofDays: GlobalNewPlandatasadmin?.NoOfDays, + UniqueId: Totaldata?.UniqueId, + MailId: Totaldata?.MailId, + Gst: Totaldata?.Gst, + BillingName: Totaldata?.BillingName, + MobileNo: Totaldata?.MobileNo, + Reason: Reason ? Reason : "", + PaymentType: Manualpaymentdata ? Manualpaymentdata : "", + CreatedBy: UserId, + }; + + let res = await dispatch(Postplanextend(Postdata)).unwrap(); + + if (res?.data?.statusCode == 1) { + newplanformRef?.current?.resetFields(); + setManualpaymentdata(); + setReason(); + setSadminnewplan(false); + setTabledata([]); + dispatch(ChangeAdminplanschanges(false)); + dispatch(emptyTemplateData([])); + setFeatureDtl(false); + setMessageType("success"); + setMessageData(res?.data?.response); + setappPurchase(); + setSelectedAdmin(null) + setSelectedApp(null) + } else { + setMessageType("error"); + setMessageData(res?.data?.response); + } + } + else if (Tabledata.length > 0 && Manualpaymentdata && SelectedAdmin && SelectedApp) { + if (Tabledata.length > 0) { + let AppUniqueId = Data?.filter( + (item) => item?.AppName == Tabledata?.[0]?.AppName + ); + let Postdata = { + UserId: SelectedAdmin, + AppId: GlobalNewPlandatasadmin?.AppId, + PricingId: GlobalNewPlandatasadmin?.PricingId, + CompId: GlobalNewPlandatasadmin?.CompId, + PaymentStatus: "S", + LicenseStatus: "A", + NetPrice: GlobalNewPlandatasadmin?.NetPrice + Tabledata?.reduce((total, item) => total + item.OveralAmount, 0), + ValidityStart: Totaldata?.ValidityStart, + ValidityEnd: Totaldata?.ValidityEnd, + NoofDays: GlobalNewPlandatasadmin?.NoOfDays, + UniqueId: Totaldata?.UniqueId, + MailId: Totaldata?.MailId, + Gst: Totaldata?.Gst, + BillingName: Totaldata?.BillingName, + MobileNo: Totaldata?.MobileNo, + CreatedBy: Totaldata?.UserId, + BookingId: AppUniqueId?.[0]?.UniqueId, + Price: Tabledata?.reduce( + (total, item) => total + item.Price * item.featcount, + 0 + ), + TaxId: Tabledata?.[0]?.TaxId, + TaxAmount: Tabledata?.reduce( + (total, item) => total + item.TaxAmount * item.featcount, + 0 + ), + OrderId: 0, + Type: Plantype, + Reason: Reason ? Reason : "", + PaymentType: Manualpaymentdata ? Manualpaymentdata : "", + Details: Tabledata?.map((item) => { + return { + FeatAddonId: item?.UniqueId, + Count: item?.featcount, + Price: item?.Price * item?.featcount, + NetPrice: item?.NetPrice * item?.featcount, + TaxAmount: item?.TaxAmount * item?.featcount, + TaxId: item?.TaxId, + }; + }), + }; + + let res = await dispatch(Postplanextend(Postdata)).unwrap(); + + if (res?.data?.statusCode == 1) { + newplanformRef?.current?.resetFields(); + setManualpaymentdata(); + setReason(); + setTabledata([]); + setSadminnewplan(false); + setFeatureDtl(false); + dispatch(ChangeAdminplanschanges(false)); + dispatch(emptyTemplateData([])); + setMessageType("success"); + setMessageData(res?.data?.response); + setappPurchase(); + setSelectedAdmin(null) + setSelectedApp(null) + } else { + setMessageType("error"); + setMessageData(res?.data?.response); + } + + SetAmount(); + setFeatureDtl(false); + } else { + setMessageType("error"); + setMessageData("Select Feature"); + } + } + else { + setMessageType("error"); + setMessageData("Please Select"); + } + + } + + return ( + <> +
    +
    +
    +
    + +
    +
    +
    + +
    +
    + {[ + { + value: "A", + label: `Active (${purchaseInfoCount?.ActiveCount})`, + className: "active-btn", + }, + { + value: "E", + label: `Expired (${purchaseInfoCount?.ExpiredCount})`, + className: "expired-btn", + }, + { + value: "F", + label: `Free (${purchaseInfoCount?.FreeCount})`, + className: "free-btn", + }, + { + value: "All", + label: `All (${purchaseInfoCount?.ActiveCount + + purchaseInfoCount?.ExpiredCount + + purchaseInfoCount?.FreeCount || 0 + })`, + className: "all-btn", + }, + ].map((item) => ( + + ))} +
    +
    + {radioValue == "All" && ( + handleStatusChange(e)} + /> + )} +
    +
    + { + const hasAccess = SuperAdminUserAccess?.find((e) => e?.ConfigName === "Purchase Info")?.AddAccess !== "N"; + if (hasAccess || UserType === "Super Admin") Newplan() + }} + color="901D77" + icon={} + disabled={UserType === "Super Admin" + ? false + : + SuperAdminUserAccess?.find((e) => e?.ConfigName == "Purchase Info")?.AddAccess == "N" ? true : false} + > + OPEN + +
    + + +
    +
    +
    + {" "} + + + + setpurchasemodal(false)} + > + {selectedDetails ? ( + <> +
    +
    +

    Company

    + +
    +
    +

    Branch

    + +
    + +
    +

    User

    + +
    +
    +

    Feature Addons

    + +
    +
    + + ) : ( +

    Loading details...

    + )} +
    + + CloseExtendmodal()} + > + + +
    +
    + +

    + {Totaldata?.UserName || Totaldata?.MobileNo} +

    +
    +
    +

    + {" "} + {Totaldata?.AppName} +

    +

    + ( {Totaldata?.PricingName} /{" "} + {Totaldata?.NoOfDays === 365 ? "Yearly" : "Monthly"} ) +

    +
    + +
    + {Totaldata?.PricingName != "Free" && Totaldata?.Status != "Active" && ( +
    { + OnChangeSalesType("NP"); + }} + > +

    Plan

    +
    + )} +
    { + OnChangeSalesType("EP"); + }} + > +

    Change Plan

    +
    + {Totaldata?.Status != "Expired" && Totaldata?.PricingName != "Free" && +
    { + OnChangeSalesType("FA"); + }} + > +

    Features Addon

    +
    + } +
    + {RenewalType == "NP" && Totaldata?.PricingName != "Free" && ( + <> + Planstypes(e)} + /> + + {Plantype == "PS" && ( +
    FeatureDetailss()} + style={{ + color: "rgb(18, 146, 238)", + borderBottom: "2px solid rgb(18, 146, 238)", + width: "max-content", + lineHeight: "18px", + fontSize: "16px", + fontWeight: "500", + cursor: "pointer" + }} + > + + Add Feature +
    + )} + +
    + {Plantype == "PS" && ( + <> +
    + {FeatureDtl && ( + <> +
    + + + ({ + value: option.FeatName, + label: option.FeatName, + }) + )} + placeholder="AppId" + label="Features" + className="field-DropDown-Feat" + isOnchanges={SelectedFeature} + onChangeFunction={handleFeatureChange} + valueData={SelectedFeature} + /> + + + {SelectedFeature && ( + + + changeAMount( + e?.target?.value, + "FeaturesAmount", + FeatureDetails?.[0]?.FeatName + "Amt", + FeatureDetails?.[0]?.NetPrice, + FeatureDetails?.[0]?.FeatName + + "Taxdetails", + FeatureDetails?.[0]?.TaxAmount + ) + } + /> + + )} + + {Amount?.FeaturesAmount > 0 && + SelectedFeature && ( +
    + Total Amount:{" "} + 31 + ? Amount?.FeaturesAmount * + FeatureDetails?.[0]?.YearlyNetPrice + : Amount?.FeaturesAmount * + FeatureDetails?.[0]?.MonthlyNetPrice + } + /> +
    + )} + + } + htmlType={true} + /> +
    + + )} + + {FeatureDtl && Plantype == "PS" && ( +
    + +
    + )} + +
    + + ({ + value: option.ConfigId, + label: option.ConfigName, + }))} + placeholder="Type" + label="Type" + className="field-DropDown" + isOnchanges={Manualpaymentdata} + onChangeFunction={(e) => Paymenttype(e)} + valueData={Manualpaymentdata} + /> + + + { + await validateSafeInput(value); + return Promise.resolve(); + }, + }, + ]} + > + Reasons(e)} + /> + +
    + + {Tabledata.length > 0 && Manualpaymentdata && ( + <> +

    Plan Price : {Totaldata?.NetPrice}/-

    +

    + Feature Price :{" "} + {Tabledata?.reduce( + (total, item) => total + item.OveralAmount, + 0 + )} + /- +

    +

    + Total Amount :{" "} + {( + Totaldata?.NetPrice + + (Array.isArray(Tabledata) ? Tabledata : []).reduce( + (total, item) => total + item.OveralAmount, + 0 + ) + ).toFixed(2)} + /- +

    + + )} + + + )} + + {Plantype == "EX" && ( + { + const value = e?.target?.value.replace(/[^0-9]/g, ""); // Remove non-numeric characters + Inputvalues(value); + }} + onKeyPress={(e) => { + if (!/[0-9]/.test(e.key)) { + e.preventDefault(); // Prevent invalid input + } + }} + /> + )} +
    +
    + } + htmlType={true} + handleSubmit={handleSubmit} + /> +
    + + )} + + {RenewalType == "EP" && ( + <> + {!Sadminplans && ( + <> +
    +
    +
    + + ({ + value: option.ConfigId, + label: option.ConfigName, + }))} + placeholder="Type" + label="Type" + className="field-DropDown" + isOnchanges={Manualpaymentdata ? true : false} + onChangeFunction={(e) => Paymenttype(e)} + valueData={Manualpaymentdata} + /> + + + { + await validateSafeInput(value); + return Promise.resolve(); + }, + }, + ]} + > + Reasons(e)} + /> + +
    +
    + } + htmlType={true} + handleSubmit={handleSubmit} + /> +
    + +
    + + + + )} + + {templateData["Pricing"]?.[0] == "Pricing1" && Sadminplans && ( + + )} + + {templateData["Pricing"]?.[0] == "Pricing2" && Sadminplans && ( + + )} + {templateData["Pricing"]?.[0] == "Pricing3" && Sadminplans && ( + + )} + + )} + + {RenewalType == "FA" && ( + <> + +
    + <> +
    + <> + +
    + + ({ + value: option.FeatName, + label: option.FeatName, + }) + )} + placeholder="AppId" + label="Features" + className="field-DropDown-Feat" + isOnchanges={SelectedFeature ? true : false} + onChangeFunction={handleFeatureChange} + valueData={SelectedFeature} + /> + + + {SelectedFeature && ( + + + changeAMount( + e?.target?.value, + "FeaturesAmount", + FeatureDetails?.[0]?.FeatName + "Amt", + FeatureDetails?.[0]?.NetPrice, + FeatureDetails?.[0]?.FeatName + + "Taxdetails", + FeatureDetails?.[0]?.TaxAmount + ) + } + /> + + )} + + {Amount?.FeaturesAmount > 0 && SelectedFeature && ( +
    + Total Amount:{" "} + 31 + ? Amount?.FeaturesAmount * + FeatureDetails?.[0]?.YearlyNetPrice + : Amount?.FeaturesAmount * + FeatureDetails?.[0]?.MonthlyNetPrice + } + /> +
    + )} + + } + htmlType={true} + /> +
    + + +
    + +
    + +
    + + ({ + value: option.ConfigId, + label: option.ConfigName, + }))} + placeholder="Type" + label="Type" + className="field-DropDown" + isOnchanges={Manualpaymentdata ? true : false} + onChangeFunction={(e) => Paymenttype(e)} + valueData={Manualpaymentdata} + /> + + + { + await validateSafeInput(value); + return Promise.resolve(); + }, + }, + ]} + + > + Reasons(e)} + /> + +
    + + {Tabledata.length > 0 && Manualpaymentdata && ( + <> + {/*

    Plan Price : {Totaldata?.NetPrice}/-

    */} +

    + Feature Price :{" "} + {Tabledata?.reduce( + (total, item) => total + item.OveralAmount, + 0 + )} + /- +

    +

    + Total Amount :{" "} + {( + (Array.isArray(Tabledata) ? Tabledata : []).reduce( + (total, item) => total + item.OveralAmount, + 0 + ) + ).toFixed(2)} + /- +

    + + )} + + +
    +
    + } + htmlType={true} + handleSubmit={handleSubmit} + /> +
    + + )} + +
    +
    + + CloseExtendmodal()} + > + + +
    + +
    + <> + + +
    + +
    + +
    + + ({ + value: option.UserId, + label: option.UserName || option.MobileNo, + UserName: option.UserName, + MobileNo: option.MobileNo, + }))} + placeholder="Admin Name" + label="Admin Name" + className="field-DropDown" + onChangeFunction={AdminDropDown} + valueData={SelectedAdmin} + searchKeys={["UserName", "MobileNo"]} + /> + + + ({ + value: option.AppId, + label: option.AppName, + }))} + placeholder="Application" + label={} + className="field-DropDown" + onChangeFunction={AppDropDown} + valueData={SelectedApp} + /> + +
    + + +
    + + {templateData["Pricing"]?.[0] == "Pricing1" && Sadminplans && ( + + )} + + {templateData["Pricing"]?.[0] == "Pricing2" && Sadminplans && ( + + )} + {templateData["Pricing"]?.[0] == "Pricing3" && Sadminplans && ( + + )} +
    + + {Plantype == "PS" && ( +
    FeatureDetailss()} + style={{ + color: "rgb(18, 146, 238)", + borderBottom: "2px solid rgb(18, 146, 238)", + width: "max-content", + lineHeight: "18px", + fontSize: "16px", + fontWeight: "500", + position: "relative", + bottom: "-5px", + cursor: "pointer" + }} + > + + Add Feature +
    + )} + +
    + <> +
    + {FeatureDtl && ( + <> +
    + + + ({ + value: option.FeatName, + label: option.FeatName, + }) + )} + placeholder="AppId" + label="Features" + className="field-DropDown-Feat" + onChangeFunction={handleFeatureChange} + valueData={SelectedFeature} + /> + + + {SelectedFeature && ( + + + changeAMount( + e?.target?.value, + "FeaturesAmount", + FeatureDetails?.[0]?.FeatName + "Amt", + FeatureDetails?.[0]?.NetPrice, + FeatureDetails?.[0]?.FeatName + + "Taxdetails", + FeatureDetails?.[0]?.TaxAmount + ) + } + /> + + )} + + {Amount?.FeaturesAmount > 0 && + SelectedFeature && ( +
    + Total Amount:{" "} + 31 + ? Amount?.FeaturesAmount * + FeatureDetails?.[0]?.YearlyNetPrice + : Amount?.FeaturesAmount * + FeatureDetails?.[0]?.MonthlyNetPrice + } + /> +
    + )} + + } + htmlType={true} + /> +
    + + )} + + {FeatureDtl && Plantype == "PS" && ( +
    + +
    + )} + + {Tabledata.length > 0 && Manualpaymentdata && ( + <> +

    Plan Price : {GlobalNewPlandatasadmin?.NetPrice}/-

    +

    + Feature Price :{" "} + {Tabledata?.reduce( + (total, item) => total + item.OveralAmount, + 0 + )} + /- +

    +

    + Total Amount :{" "} + {( + GlobalNewPlandatasadmin?.NetPrice + + Tabledata?.reduce( + (total, item) => total + item.OveralAmount, + 0 + ) + ).toFixed(2)} + /- +

    + + )} + + + +
    + + {!Sadminplans && ( + <> +
    +
    + + ({ + value: option.ConfigId, + label: option.ConfigName, + }))} + placeholder="Type" + label="Type" + className="field-DropDown" + isOnchanges={Manualpaymentdata ? true : false} + onChangeFunction={(e) => Paymenttype(e)} + valueData={Manualpaymentdata} + /> + + + { + await validateSafeInput(value); + return Promise.resolve(); + }, + }, + ]} + + > + Reasons(e)} + /> + +
    +
    + } + htmlType={true} + handleSubmit={handleSubmit2} + + /> +
    + + {/* {GlobalNewPlandatasadmin?.NetPrice > 0 && ( */} +

    + + Plan Name: {GlobalNewPlandatasadmin?.PricingName}
    + No of Days: {GlobalNewPlandatasadmin?.NoOfDays}
    + Total Amount: { GlobalNewPlandatasadmin?.NetPrice} +

    + {/* )} */} + + )} +
    + + +
    + +
    + +
    + + + + + ); +}; +export default PurchaseInfo; diff --git a/src/Pages/signinDetails/signinDetailsList.jsx b/src/Pages/signinDetails/signinDetailsList.jsx new file mode 100644 index 0000000..32d59f2 --- /dev/null +++ b/src/Pages/signinDetails/signinDetailsList.jsx @@ -0,0 +1,456 @@ +import React, { useState, useEffect, useCallback, useRef } from "react"; +import { useDispatch } from "react-redux"; +import { DatePicker, Form, Space } from "antd"; +import dayjs from "dayjs"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { Messages } from "../../Components/Notifications/Messages"; +import { Tables } from "../../Components/Tables/Table"; +import { Search } from "../../Components/Forms/Search"; +import { DropDowns } from "../../Components/Forms/DropDown.jsx"; +import { changeBreadCrumb } from "../../features/appPage/centerPage"; +import { getSigninDetails, getSigninDetailswithUserId } from "../../features/signinDetails/signinDetails"; +import { dateFormatChange } from "../../Services/others.js"; +import { DefaultModal } from "../../Components/Modal/DefaultModal.jsx"; +import { FaEye } from "react-icons/fa"; +import { IoEye } from "react-icons/io5"; + + +const subDirectory = import.meta.env.BASE_URL; + +const SigninDetailsList = () => { + const dispatch = useDispatch(); + const formRef = useRef(); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [TableData, setTableData] = useState([]); + const [selectedRole, setSelectedRole] = useState("All"); + const [page, setpage] = useState(1); + const [pageModel, setpageModel] = useState(1); + const [filteredInfo, setFilteredInfo] = useState({}); + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [PageApi, setPageApi] = useState(1); + const [isNext, setIsNext] = useState(true); + const [ismodelopen, setismodelopen] = useState(false); + const [modalData, setModalData] = useState(null); + const [Userid, setUserid] = useState(null); + const [dates, setDates] = useState(null); + + const { RangePicker } = DatePicker; + const dateFormat = "DD-MM-YYYY"; + + let content = [ + { value: "All", label: "All" }, + { value: "Admin", label: "Admin" }, + { value: "Employee", label: "Employee" }, + { value: "Super Admin", label: "Super Admin" }, + { value: "Super Admin User", label: "Super Admin User" }, + ]; + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + ]; + + const columns = [ + { + title: "SI.NO", + key: "sno", + align: "center", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + { + title: "Date & Time", + dataIndex: "LoginDateTime", + key: "LoginDateTime", + align: "center", + width: "200px", + render: (text) => ( + + {" "} + {dateFormatChange(text)} + + ), + }, + { + title: "MobileNo", + dataIndex: "MobileNo", + key: "MobileNo", + align: "center", + render: (text) => {text}, + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.UserName).toLowerCase().includes(value.toLowerCase()) || + String(record.MobileNo) + .toLowerCase() + .includes(value.toLowerCase()) + );} + }, + { + title: "User Name", + dataIndex: "UserName", + key: "UserName", + align: "center", + render: (text) => {text}, + }, + { + title: "User Type", + dataIndex: "UserTypeName", + key: "UserTypeName", + align: "center", + render: (text) => {text}, + }, + { + title: "IP", + dataIndex: "IP", + key: "IP", + align: "center", + render: (text) => {text}, + }, + { + title: "Browser", + dataIndex: "Browser", + key: "Browser", + align: "center", + render: (text) => {text}, + }, + { + title: "Version", + dataIndex: "Version", + key: "Version", + align: "center", + render: (text) => {text}, + }, + { + title: "OS", + dataIndex: "OS", + key: "OS", + align: "center", + render: (text) => {text}, + }, + { + title: "Device Type", + dataIndex: "LoginType", + key: "LoginType", + align: "center", + render: (text) => {text}, + }, + + + { + title: "Action", + key: "Edit", + dataIndex: "Edit", + align: "center", + render: (_, record, index) => ( + + + <> + + { + ModelFn(record) + }} + /> + + + + + + + ), + }, + ]; + + + const columns1 = [ + { + title: "SI.NO", + key: "sno", + align: "center", + render: (text, object, index) => ( + {(pageModel - 1) * 10 + index + 1} + ), + }, + + { + title: "Date & Time", + dataIndex: "LoginDateTime", + key: "LoginDateTime", + align: "center", + width: "200px", + render: (text) => ( + + {" "} + {dateFormatChange(text)} + + ), + }, + { + title: "IP", + dataIndex: "IP", + key: "IP", + align: "center", + render: (text) => {text}, + }, + { + title: "Browser", + dataIndex: "Browser", + key: "Browser", + align: "center", + render: (text) => {text}, + }, + { + title: "Version", + dataIndex: "Version", + key: "Version", + align: "center", + render: (text) => {text}, + }, + { + title: "OS", + dataIndex: "OS", + key: "OS", + align: "center", + render: (text) => {text}, + }, + { + title: "Device Type", + dataIndex: "LoginType", + key: "LoginType", + align: "center", + render: (text) => {text}, + }, + + + + ]; + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + fetchSigninDetails(PageApi); + }, []); + + const ModelFn = async(record) => { + setismodelopen(true); + setUserid(record.UserId); + try{ + + let Response = await dispatch(getSigninDetailswithUserId({ userId:record.UserId})).unwrap(); + if(Response?.data?.statusCode == 1){ + setModalData(Response?.data?.data); + } + else{ + setModalData([]); + } + + } + catch(e){ + console.log(e); + } + } + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + const onSearch = (value) => { + setSearchedText(value); + }; + + const onSearchChange = (e) => { + setSearchedText(e?.target?.value); + }; + + const handleChange = (pagination, filters, sorter) => { + setFilteredInfo(filters); + setSortedInfo(sorter); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + const handlePageChangeModel = (current) => { + setpageModel(current); + } + + const fetchSigninDetails = async (PageApii,role=null) => { + let data = { + pageNumber: PageApii, + role: role, + }; + let apiResponse = await dispatch(getSigninDetails(data)).unwrap(); + if (apiResponse?.data?.statusCode == 1) { + setTableData(apiResponse?.data?.data); + setIsNext(true); + } + else{ + setIsNext(false); + setTableData([]); + + } + }; + + const disabledDate = (current) => { + return current && current > dayjs().endOf("day"); + }; + + const handleCalendarChange = async (dates, dateStrings) => { + setDates(dates); + if (dates) { + let Response = await dispatch(getSigninDetailswithUserId({Fromdate:dates[0]?.format("YYYY-MM-DD") ,Todate: dates[1]?.format("YYYY-MM-DD") , userId:Userid})).unwrap(); + if(Response?.data?.statusCode == 1){ + setModalData(Response?.data?.data); + } + else{ + setModalData([]); + } + } + + }; + + const onChange = async (e) => { + setSelectedRole(e); + + fetchSigninDetails(PageApi,e != "All"? e:null); + }; + + const Apicall = (second) => { + fetchSigninDetails(PageApi + second,selectedRole!= "All"?selectedRole:null); + setPageApi((prev) => prev + second); + }; + + return ( +
    +
    + + +
    +
    + +
    +
    +
    + +
    +
    +
    + + ({ + value: option.value, + label: option.label, + }))} + placeholder="Select Roles" + label="Select Roles" + className="field-DropDown" + isOnchanges={selectedRole ? true : false} + onChangeFunction={(e) => onChange(e)} + valueData={selectedRole} + disabled={false} + labelChange={true} + /> +
    + +
    +
    + +
    + +
    + +
    +
    + {PageApi > 1 && ( +
    Apicall(-1)} + > + Previous +
    + )} +
    Apicall(1)} + > + Next +
    + +
    +
    +
    + + {setismodelopen(!ismodelopen) ,setDates(null),setpageModel(1)}} + children={ + +
    + + +
    + + +
    + + +
    + + + +
    +
    + + + } + /> +
    + ); +}; + +export default SigninDetailsList diff --git a/src/Pages/testimonials/TestimonialsForPublic.jsx b/src/Pages/testimonials/TestimonialsForPublic.jsx new file mode 100644 index 0000000..6640f3a --- /dev/null +++ b/src/Pages/testimonials/TestimonialsForPublic.jsx @@ -0,0 +1,183 @@ +import React, { useState, useRef, useEffect } from "react"; +import "../../styles/testimonials/TestimonialsPublic.scss"; +import PozoappNavbar from "../publichome/PublicNavBar/NavBar"; +import { HiMiniPlayCircle } from "react-icons/hi2"; +import { Modal } from "antd"; +import { getCustomertestimonials } from "../../features/testimonials/testimonials"; +import { useDispatch } from "react-redux"; +import { AiOutlineHome } from "react-icons/ai"; +import { useNavigate } from "react-router-dom"; + +const subDirectory = import.meta.env.BASE_URL; +const PozoTestimonial = () => { + const dispatch = useDispatch(); + const navigate = useNavigate(); + const [isModalVisible, setIsModalVisible] = useState(false); + const [currentVideo, setCurrentVideo] = useState(); + const contentRef = useRef(null); + const [Testimonialsdata, setTestimonialsdata] = useState([]); + const [ModelDetails, setModelDetails] = useState([]); + const [IsReviewModalVisible, setIsReviewModalVisible] = useState(false); + + useEffect(() => { + gettestimonials(); + }, []); + const gettestimonials = async () => { + let res = await dispatch(getCustomertestimonials()).unwrap(); + if (res?.data?.statusCode === 1) { + setTestimonialsdata( + res?.data?.data?.filter((e) => e?.ActiveStatus == "A") + ); + } else { + setTestimonialsdata([]); + } + }; + + const showReviewModal = (item) => { + setIsReviewModalVisible(true); + setModelDetails({ Review: item.CustomerReview, CompName: item.CompName }); + }; + + const showLinkModal = (item) => { + setCurrentVideo(item?.VideoLink); + setModelDetails({ Review: item.CustomerReview, CompName: item.CompName }); + setIsModalVisible(true); + }; + + const handleCancel = () => { + setIsReviewModalVisible(false); + setIsModalVisible(false); + }; + + const handleHomeNavigate = () => { + navigate(`${subDirectory}`); + }; + + return ( +
    +
    + +
    +
    +
    + Authentic Stories from Our Valued pozo.app Clients{" "} +
    +

    + Start Your Success Journey Today with POZOAPP +

    +
    + Genuine Stories Highlighting True Success{" "} +
    + +
    +
    + {Testimonialsdata.map((item, index) => { + return ( +
    +
    + Thumbnai1 + showLinkModal(item)} + /> +
    +
    + {item.CompLogo && ( +
    + apparel +
    + )} +
    +
    + {" "} + {item.CustomerName} +
    +
    + {" "} + {item.Designation} +
    +
    + {" "} + {item.CompName} +
    +
    +
    +
    +
    + {item.CustomerReview} +
    + {item.CustomerReview?.length > 250 && ( + <> +

    { + showReviewModal(item); + }} + > + More .... +

    + + )} +
    +
    + ); + })} + + { + + {ModelDetails.Review} + + } + + + +
    +
    +
    +
    + ); +}; + +export default PozoTestimonial; diff --git a/src/Pages/testimonials/TestimonialsForm.jsx b/src/Pages/testimonials/TestimonialsForm.jsx new file mode 100644 index 0000000..fad6af6 --- /dev/null +++ b/src/Pages/testimonials/TestimonialsForm.jsx @@ -0,0 +1,455 @@ +import { useState, useEffect, useRef, useCallback } from "react"; +import { useDispatch } from "react-redux"; +import { useLocation, useNavigate } from "react-router-dom"; +import { DropDowns } from "../../Components/Forms/DropDown"; +import { Form } from "antd"; +import { ArrowRightOutlined } from "@ant-design/icons"; +import { InputField } from "../../Components/Forms/InputField.jsx"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import { Messages } from "../../Components/Notifications/Messages"; +import Imageupload from "../../Components/Forms/Upload.jsx"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { + getActiveAppCompanyData, + getAdminNames, + getApplications, + PostCustomerTestimonials, + PutCustomerTestimonials, +} from "../../features/testimonials/testimonials.js"; +import { getSession, validateSafeInput } from "../../Services/others.js"; +import TextAreaInput from "../../Components/Forms/TextArea.jsx"; +import "../../styles/OverAllStyle/OverAllStyle.scss" + +const subDirectory = import.meta.env.ENV_BASE_URL; + +const TestimonialsForm = ({ formType }) => { + const navigateTo = useNavigate(); + const dispatch = useDispatch(); + const location = useLocation(); + const formRef = useRef(null); + const state = location?.state; + const editstate = state?.editstate; + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + + const [AdminsData, SetAdminsData] = useState(null); + const [SelectedAdmin, setSelectedAdmin] = useState(null); + const [FiltereApplications, setFiltereApplications] = useState([]); + const [SelectedApplication, setSelectedApplication] = useState(null); + const [FiltereCompany, setFiltereCompany] = useState([]); + const [SelectedCompany, setSelectedCompany] = useState(null); + const [imageUrl, setImageUrl] = useState(""); + const UserId = getSession('UserId') + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "Testimonials", + link: `${subDirectory}setting/testimonials`, + }, + { + name: editstate ? "Edit" : "New", + link: null, + }, + ]; + + useEffect(() => { + getApplicationsfn(); + setFiltereCompany([]); + }, [SelectedAdmin]); + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + if (formType === "edit") { + if (editstate) { + setImageUrl(editstate?.ImageUrl); + setSelectedAdmin(editstate?.AdminId); + setSelectedApplication(editstate?.AppName); + setSelectedCompany( editstate?.CompName) + formRef.current?.setFieldsValue({ "UserId": editstate?.AdminId }); + formRef.current?.setFieldsValue({ "AppId": editstate?.AppName }); + formRef.current?.setFieldsValue({ "CompId": editstate?.CompName }); + formRef.current?.setFieldsValue({ "CustName": editstate?.CustomerName }); + formRef.current?.setFieldsValue({ "Link": editstate?.VideoLink }); + formRef.current?.setFieldsValue({ "feedback": editstate?.CustomerReview }); + formRef.current?.setFieldsValue({ "Designation": editstate?.Designation}); + + + } + } + getAdmin(); + }, []); + + console.log('>>>>>',formRef.current?.getFieldsValue()) + + const handleDropDownChange = async (value) => { + formRef.current?.setFieldsValue({ UserId: value }); + setSelectedApplication(undefined); + await setSelectedAdmin(value); + setSelectedCompany(); + setSelectedApplication() + }; + + const getAdmin = async () => { + let res = await dispatch(getAdminNames()).unwrap(); + if (res?.data?.statusCode === 1) { + SetAdminsData(res?.data?.data); + } + }; + + const getApplicationsfn = async () => { + let res = await dispatch(getApplications(SelectedAdmin)).unwrap(); + if (res?.data?.statusCode === 1) { + setFiltereApplications(res?.data?.data); + } else { + setFiltereApplications([]); + } + }; + const handleApplicationChange = async (value) => { + formRef.current?.setFieldsValue({ AppId: value }); + + await setSelectedApplication(value); + let res = await dispatch( + getActiveAppCompanyData({ AppId: value, UserId: SelectedAdmin }) + ).unwrap(); + if (res?.data?.statusCode === 1) { + setFiltereCompany(res?.data?.data); + } else { + setFiltereCompany([]); + } + }; + + const handleCompanyChange = async (value) => { + formRef.current?.setFieldsValue({ CompId: value }); + await setSelectedCompany(value); + }; + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + const onFinish = async (values) => { + + if (formType === "edit") { + const data={ + + "AppId": editstate?.AppId , + "CompId":editstate?.CompId , + "CustomerName": values?.CustName, + "VideoLink":values?.Link, + "CustomerReview": values?.feedback, + "ImageUrl": imageUrl , + "AdminId":editstate?.AdminId , + "CreatedBy": UserId, + "Designation": values?.Designation, + "UniqueId": editstate?.UniqueId + } + + let response = await dispatch(PutCustomerTestimonials(data)).unwrap(); + + if (response?.data?.statusCode == 1){ + navigateTo(`${subDirectory}setting/testimonials/`, { + state: { + Notiffy: { + messageType: "success", + messageData: response?.data?.response, + }, + }, + }); + } + else{ + setMessageType("error") + setMessageData(response?.data?.response) + + } + } + else{ + const data={ + + "AppId": SelectedApplication, + "CompId":SelectedCompany, + "CustomerName": values?.CustName, + "VideoLink":values?.Link, + "CustomerReview": values?.feedback, + "Designation": values?.Designation, + "ImageUrl": imageUrl, + "AdminId":SelectedAdmin, + "CreatedBy": UserId, + + + } + + + + let response = await dispatch(PostCustomerTestimonials(data)).unwrap(); + + if (response?.data?.statusCode == 1){ + navigateTo(`${subDirectory}setting/testimonials/`, { + state: { + Notiffy: { + messageType: "success", + messageData: response?.data?.response, + }, + }, + }); + } + else{ + setMessageType("error") + setMessageData(response?.data?.response) + + } + + } + + + + + + + + }; + const updateImageUrl = (url) => { + setImageUrl(url); + }; + + return ( +
    +
    +
    + +
    + +
    +
    +
    +
    +
    + + ({ + value: option.UserId, + label: option.UserName != "" && option.UserName != null && option.UserName != undefined + ? option.UserName + : option.MobileNo, + }))} + placeholder="UserId" + label={} + className="field-DropDown" + isOnchanges={ + formType == "edit" || SelectedAdmin ? true : false + } + onChangeFunction={handleDropDownChange} + valueData={SelectedAdmin} + disabled={formType == "edit" ? true : false} + /> + + + + ({ + value: option.AppId, + label: option.AppName, + }))} + placeholder="AppId" + label={} + className="field-DropDown" + isOnchanges={SelectedApplication ? true : false} + onChangeFunction={handleApplicationChange} + valueData={SelectedApplication} + disabled={formType == "edit" ? true : false} + /> + + + ({ + value: option.CompId, + label: option.CompName, + }))} + placeholder="CompId" + label={} + className="field-DropDown" + isOnchanges={SelectedCompany ? true : false} + onChangeFunction={handleCompanyChange} + valueData={SelectedCompany} + disabled={formType == "edit" ? true : false} + /> + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + Customer Name} + fieldState={true} + fieldApi={true} + isOnChange={editstate?.Proprietor ? true : false} + /> + + { + await validateSafeInput(value); + + if (value && value.length > 50) { + return Promise.reject("Designation should not exceed 50 characters"); + } + + return Promise.resolve(); + }, + }, + ]} + > + Designation} + fieldState={true} + fieldApi={true} + isOnChange={editstate?.Designation ? true : false} + /> + + + { + await validateSafeInput(value); + return Promise.resolve(); + }, + }, + ]} + > + + + Customer Review} + className="Input" + fieldState={true} + fieldApi={true} + autocomplete="off" + isOnChange={editstate?.CustomerReview ? true : false} + /> + + + { + await validateSafeInput(value); // To block HTML tags & SQL keywords + return Promise.resolve(); + }, + }, + ]} + > + Video Link} + fieldState={true} + fieldApi={true} + isOnChange={editstate?.VideoLink ? true : false} + /> + + +
    +

    Customer Image

    + +
    +
    +
    +
    + } + htmlType={true} + /> +
    + +
    +
    +
    +
    + ); +}; + +export default TestimonialsForm; \ No newline at end of file diff --git a/src/Pages/testimonials/TestimonialsList.jsx b/src/Pages/testimonials/TestimonialsList.jsx new file mode 100644 index 0000000..53e5d12 --- /dev/null +++ b/src/Pages/testimonials/TestimonialsList.jsx @@ -0,0 +1,344 @@ +import { useState, useEffect, useCallback } from "react"; +import { useDispatch, useSelector } from "react-redux"; +import { useLocation, useNavigate } from "react-router-dom"; +import { Space } from "antd"; +import { + EditFilled, + DeleteFilled, + PlusOutlined, + ReloadOutlined, +} from "@ant-design/icons"; +import Imageupload from "../../Components/Forms/Upload.jsx"; +import { Tables } from "../../Components/Tables/Table.jsx"; +import { Search } from "../../Components/Forms/Search.jsx"; +import { Messages } from "../../Components/Notifications/Messages.jsx"; +import Buttons from "../../Components/Forms/Buttons.jsx"; +import FormHeader from "../pageComponents/FormHeader.jsx"; +import { changeBreadCrumb } from "../../features/appPage/centerPage.js"; +import { getSession } from "../../Services/others.js"; +import { + deleteCustomertestimonials, + getCustomertestimonials, +} from "../../features/testimonials/testimonials.js"; +import { IoEye } from "react-icons/io5"; +import { DefaultModal } from "../../Components/Modal/DefaultModal.jsx"; +import "../../styles/Testimonials/Testimonials.scss"; +import { Input } from 'antd'; +import { SuperAdminUserAccessDataSelector } from "../../features/superAdminAccess/superAdminAccess.js"; + +const subDirectory = import.meta.env.ENV_BASE_URL; +const TestimonialsList = () => { + const navigateTo = useNavigate(); + const dispatch = useDispatch(); + const location = useLocation(); + //local states + const [sortedInfo, setSortedInfo] = useState({}); + const [searchedText, setSearchedText] = useState(""); + const [messageType, setMessageType] = useState(null); + const [messageData, setMessageData] = useState(null); + const [page, setpage] = useState(1); + const [Testimonialsdata, setTestimonialsdata] = useState([]); + const [Model, setModel] = useState(false); + const [CustData, setCustData] = useState([]); + const { TextArea } = Input; + const SuperAdminUserAccess = useSelector(SuperAdminUserAccessDataSelector) + const UserType = getSession("UserType") + console.log(CustData, "CustData"); + + const items = [ + { + name: "Home", + link: `${subDirectory}landing-page/home`, + }, + + { + name: "Testimonials", + link: `${subDirectory}setting/testimonials`, + }, + ]; + + useEffect(() => { + dispatch(changeBreadCrumb({ items: items })); + gettestimonials(); + if (location?.state?.Notiffy) { + setMessageType(location?.state?.Notiffy.messageType); + setMessageData(location?.state?.Notiffy.messageData); + } + }, []); + + const gettestimonials = async () => { + let res = await dispatch(getCustomertestimonials()).unwrap(); + if (res?.data?.statusCode === 1) { + setTestimonialsdata(res?.data?.data); + } else { + setTestimonialsdata([]); + } + }; + + const onComplete = useCallback(() => { + setMessageData(null); + setMessageType(null); + }, []); + + const handleNavigate = () => { + navigateTo(`${subDirectory}setting/testimonials/new`); + }; + + const actionsFormatter = async (row, rowIndex) => { + if (row.ActiveStatus !== "D") { + navigateTo( + `${subDirectory}setting/testimonials/update`, + { state: { editstate: row } }, + { key: rowIndex } + ); + } + }; + + const statusFormatter = async (row) => { + let deleteData = { + uniqueId: row.UniqueId, + activeStatus: row.ActiveStatus == "A" ? "D" : "A", + updatedBy: getSession("UserId"), + }; + console.log(deleteData, "deleteData"); + let response = await dispatch( + deleteCustomertestimonials(deleteData) + ).unwrap(); + if (response?.data?.statusCode == 1) { + setMessageType("success"); + setMessageData( + row.ActiveStatus == "A" + ? "Company In-Activated Successfully" + : "Company Activated Successfully" + ); + gettestimonials(); + } + }; + const handleChange = (pagination, filters, sorter) => { + setSortedInfo(sorter); + }; + + const handlePageChange = (current) => { + setpage(current); + }; + + const onSearch = (value) => { + setSearchedText(value); + }; + const onSearchChange = (e) => { + setSearchedText(e?.target?.value); + }; + const columns = [ + { + title: "Si.No", + key: "sno", + align: "center", + width: "100px", + render: (text, object, index) => ( + {(page - 1) * 10 + index + 1} + ), + }, + + { + title: "App Name", + dataIndex: "AppName", + key: "AppName", + align: "left", + width: "150px", + render: (text) => {text}, + ellipsis: true, + }, + + { + title: "Company Name", + dataIndex: "CompName", + key: "CompName", + width: "200px", + align: "left", + render: (text) => ( + {text} + ), + filteredValue: [searchedText], + onFilter: (value, record) => { + return ( + String(record.CompName).toLowerCase().includes(value.toLowerCase()) || + String(record.AppName).toLowerCase().includes(value.toLowerCase()) + ); + }, + + + ellipsis: true, + }, + + { + title: "Customer Details", + align: "center", + width: "150px", + render: (text, record) => ( + { + setModel(true); // Open the modal + setCustData(record); // Set the customer data + }} + > + {/* Render the IoEye icon */} + + ), + ellipsis: true, + }, + + { + title: "Action", + key: "Action", + dataIndex: "Action", + width: "100px", + align: "center", + render: (_, record, index) => ( + + {record.ActiveStatus === "A" ? ( + + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Testimonials")?.UpdateAccess === "Y") + ? actionsFormatter(record, index) + : " " + )} + /> + + ) : ( + "" + )} + + {record.ActiveStatus === "A" ? ( + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Testimonials")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> + ) : ( + ( + (SuperAdminUserAccess?.length === 0 || SuperAdminUserAccess?.find((e) => e?.ConfigName === "Testimonials")?.DeleteAccess === "Y") + ? statusFormatter(record) + : " " + )} + /> + )} + + + ), + }, + ]; + + return ( +
    +
    + +
    +
    + +
    +
    +
    + +
    + } + handleSubmit={handleNavigate} + disabled={UserType === "Super Admin" + ? false + : + SuperAdminUserAccess?.find((e) => e?.ConfigName == "Testimonials")?.AddAccess === "N" ? true : false} + + > + OPEN + +
    +
    +
    + +
    +
    + + +
    +
    +
    Name
    +
    {CustData?.CustomerName}
    +
    +
    +
    Review
    + +
    + +
    + `; + + const input = wrapper.querySelector('.header-input'); + const select = wrapper.querySelector('.header-level'); + const hint = wrapper.querySelector('.seo-hint'); + + const autoResize = () => { + input.style.height = 'auto'; + input.style.height = (input.scrollHeight || 47) + 'px'; + }; + + const updateStyle = () => { + const level = parseInt(select.value); + const fontSize = level === 1 ? '32px' : level === 2 ? '24px' : level === 3 ? '18px' : '16px'; + input.style.fontSize = fontSize; + autoResize(); + + // SEO hints + const hints = { + 1: '⚠️ Use only one H1 per page', + 2: '✅ Great for main sections', + 3: '📝 Perfect for subsections', + 4: '📄 For minor headings' + }; + hint.textContent = hints[level] || ''; + }; + + select.addEventListener('change', updateStyle); + input.addEventListener('input', autoResize); + updateStyle(); + autoResize(); + + this.wrapper = wrapper; + return wrapper; + } + + save(blockContent) { + const input = blockContent.querySelector('.header-input'); + const select = blockContent.querySelector('.header-level'); + + return { + text: input.value, + level: parseInt(select.value) + }; + } + + static get sanitize() { + return { + text: {}, + level: false + }; + } +} \ No newline at end of file diff --git a/src/editor/tools/Bookmark.jsx b/src/editor/tools/Bookmark.jsx new file mode 100644 index 0000000..f291f97 --- /dev/null +++ b/src/editor/tools/Bookmark.jsx @@ -0,0 +1,287 @@ +import axios from "axios"; +import CryptoJS from "crypto-js"; +import { getSession } from "../../Services/others"; // your session util + +const mainDirectory = import.meta.env.ENV_MAIN_BASE_URL || `${window.location.origin}/home` +const commonAPIUrl = import.meta.env.ENV_API_URL || '' + +export default class Bookmark { + constructor({ data } = {}) { + this.data = data || {}; + this.wrapper = null; + } + + /** Fetch SEO data for external URLs */ + async fetchSEOData(url) { + try { + const proxyUrl = `https://api.codetabs.com/v1/proxy?quest=${encodeURIComponent(url)}`; + const response = await fetch(proxyUrl); + const html = await response.text(); + + const parser = new DOMParser(); + const doc = parser.parseFromString(html, "text/html"); + + const title = + doc.querySelector('meta[property="og:title"]')?.content || + doc.querySelector('meta[name="twitter:title"]')?.content || + doc.querySelector("title")?.textContent || + new URL(url).hostname; + + const description = + doc.querySelector('meta[property="og:description"]')?.content || + doc.querySelector('meta[name="twitter:description"]')?.content || + doc.querySelector('meta[name="description"]')?.content || + `Visit ${new URL(url).hostname}`; + + const image = + doc.querySelector('meta[property="og:image"]')?.content || + doc.querySelector('meta[name="twitter:image"]')?.content || + ""; + + return { title: title.trim(), description: description.trim(), image, url }; + } catch (error) { + const hostname = new URL(url).hostname; + return { + title: hostname.replace("www.", "").split(".")[0].toUpperCase(), + description: `Visit ${hostname}`, + image: `https://www.google.com/s2/favicons?domain=${hostname}&sz=64`, + url, + }; + } + } + + static get toolbox() { + return { + title: "Bookmark", + icon: '', + description: "Create link previews with title, description and image", + }; + } + + async loadPublishedBlogs(blogSelect) { + try { + const auth = sessionStorage?.getItem('auth'); + const mobileNo = getSession("MobileNo"); + + const response = await axios.get(`${commonAPIUrl}/Blog?request.published=Y`, { + headers: { + Authorization: auth, + MobileNo: mobileNo, + }, + }); + + const blogs = response?.data?.data || []; + blogSelect.innerHTML = ``; + blogs.forEach((blog) => { + + const option = document.createElement("option"); + option.value = `${mainDirectory}/home/blog/${blog?.Slug}` || "#"; + option.dataset.title = blog?.BlogTitle || "Untitled"; + option.dataset.desc = blog?.BlogSubtitle || "No description"; + option.textContent = `📝 ${blog?.BlogTitle}`; + blogSelect.appendChild(option); + }); + + } catch (error) { + console.error("Error fetching blogs:", error); + blogSelect.innerHTML = ``; + } + } + + render() { + const hasData = this.data.title && this.data.url; + + const w = document.createElement("div"); + + if (hasData) { + w.innerHTML = ` + `; + + const card = w.querySelector(".link-preview-card"); + card.onclick = () => window.open(this.data.url, "_blank"); + } else { + w.innerHTML = ` +
    +
    +
    + + +
    + +
    + +
    + + + + +
    +
    `; + + const urlInput = w.querySelector(".b-url"); + const previewCard = w.querySelector(".preview-card"); + const tabExternal = w.querySelector(".tab-external"); + const tabInternal = w.querySelector(".tab-internal"); + const externalForm = w.querySelector(".external-form"); + const internalForm = w.querySelector(".internal-form"); + const blogSelect = w.querySelector(".blog-select"); + + this.loadPublishedBlogs(blogSelect); + + // Tab switching + tabExternal.addEventListener("click", () => { + tabExternal.style.background = "#3b82f6"; + tabExternal.style.color = "white"; + tabInternal.style.background = "white"; + tabInternal.style.color = "#64748b"; + externalForm.style.display = "block"; + internalForm.style.display = "none"; + previewCard.style.display = "none"; + }); + + tabInternal.addEventListener("click", () => { + tabInternal.style.background = "#3b82f6"; + tabInternal.style.color = "white"; + tabExternal.style.background = "white"; + tabExternal.style.color = "#64748b"; + externalForm.style.display = "none"; + internalForm.style.display = "block"; + previewCard.style.display = "none"; + }); + + // Blog post selection + blogSelect.addEventListener("change", async (e) => { + const selectedOption = e.target.selectedOptions[0]; + if (!selectedOption.value) return; + + const url = selectedOption.value; + + const previewCard = w.querySelector(".preview-card"); + const titleEl = w.querySelector(".preview-title"); + const descEl = w.querySelector(".preview-desc"); + const urlEl = w.querySelector(".preview-url"); + const imgEl = w.querySelector(".preview-img"); + const placeholder = w.querySelector(".img-placeholder"); + + previewCard.style.display = "flex"; + titleEl.textContent = "Loading SEO data..."; + descEl.textContent = "Please wait..."; + urlEl.textContent = new URL(url).hostname; + + try { + // 🧠 Fetch SEO metadata manually + const seoData = await this.fetchSEOData(url); + + titleEl.textContent = seoData.title; + descEl.textContent = seoData.description; + urlEl.textContent = new URL(url).hostname; + + if (seoData.image) { + imgEl.src = seoData.image; + imgEl.style.display = "block"; + placeholder.style.display = "none"; + } else { + imgEl.style.display = "none"; + placeholder.style.display = "flex"; + } + + // Allow user to open the URL + previewCard.onclick = () => window.open(url, "_blank"); + } catch (err) { + console.error("SEO fetch failed:", err); + titleEl.textContent = selectedOption.dataset.title || "Unknown Title"; + descEl.textContent = selectedOption.dataset.desc || "No description available"; + imgEl.style.display = "none"; + placeholder.style.display = "flex"; + } + }); + + // External link SEO fetching + let debounceTimer; + urlInput.addEventListener("input", (e) => { + const url = e.target.value.trim(); + clearTimeout(debounceTimer); + + if (url && url.match(/^https?:\/\/.+/)) { + const hostname = new URL(url).hostname; + + previewCard.style.display = "flex"; + w.querySelector(".preview-title").textContent = "Loading..."; + w.querySelector(".preview-desc").textContent = "Fetching SEO data..."; + w.querySelector(".preview-url").textContent = hostname; + + debounceTimer = setTimeout(async () => { + try { + const seoData = await this.fetchSEOData(url); + + w.querySelector(".preview-title").textContent = seoData.title; + w.querySelector(".preview-desc").textContent = seoData.description; + w.querySelector(".preview-url").textContent = hostname; + + const img = w.querySelector(".preview-img"); + const placeholder = w.querySelector(".img-placeholder"); + + if (seoData.image) { + img.src = seoData.image; + img.style.display = "block"; + placeholder.style.display = "none"; + } + + previewCard.onclick = () => window.open(url, "_blank"); + } catch { + w.querySelector(".preview-title").textContent = "Failed to load SEO data"; + w.querySelector(".preview-desc").textContent = `Visit ${hostname}`; + } + }, 1500); + } else { + previewCard.style.display = "none"; + } + }); + } + + this.wrapper = w; + return w; + } + + save(el) { + const urlInput = el.querySelector(".b-url"); + const titleEl = el.querySelector(".preview-title"); + const descEl = el.querySelector(".preview-desc"); + const imgEl = el.querySelector(".preview-img"); + + return { + url: urlInput ? urlInput.value : this.data.url || "", + title: titleEl ? titleEl.textContent : this.data.title || "", + description: descEl ? descEl.textContent : this.data.description || "", + image: imgEl ? imgEl.src : this.data.image || "", + }; + } +} diff --git a/src/editor/tools/CTA.js b/src/editor/tools/CTA.js new file mode 100644 index 0000000..393b2a1 --- /dev/null +++ b/src/editor/tools/CTA.js @@ -0,0 +1,32 @@ +export default class CTA { + constructor({ data } = {}) { this.data = data || {}; this.wrapper = null; } + static get toolbox() { return { title: "Call to action", icon: '' }; } + render() { + const w = document.createElement("div"); + w.className = "editor-cta"; + w.innerHTML = ` +
    + + +
    + + + +
    +
    `; + this.wrapper = w; return w; + } + save(el) { + return { + heading: (el.querySelector(".e-cta-heading") || {}).value || "", + subheading: (el.querySelector(".e-cta-subheading") || {}).value || "", + buttonText: (el.querySelector(".e-cta-btntext") || {}).value || "", + buttonUrl: (el.querySelector(".e-cta-btnurl") || {}).value || "", + style: (el.querySelector(".e-cta-style") || {}).value || "primary" + }; + } + validate(d) { return (d.heading && d.buttonText && d.buttonUrl); } +} \ No newline at end of file diff --git a/src/editor/tools/Callout.js b/src/editor/tools/Callout.js new file mode 100644 index 0000000..9ee726c --- /dev/null +++ b/src/editor/tools/Callout.js @@ -0,0 +1,21 @@ +export default class Callout { + constructor({ data } = {}) { this.data = data || {}; this.wrapper = null; } + static get toolbox() { return { title: "Callout", icon: '' }; } + render() { + const w = document.createElement("div"); + w.innerHTML = ` +
    +
    + + +
    +
    `; + this.wrapper = w; return w; + } + save(el) { + return { + emoji: (el.querySelector(".e-call-emoji") || {}).value || "💡", + text: (el.querySelector(".e-call-text") || {}).value || "" + }; + } +} diff --git a/src/editor/tools/EmailContent.js b/src/editor/tools/EmailContent.js new file mode 100644 index 0000000..56a0312 --- /dev/null +++ b/src/editor/tools/EmailContent.js @@ -0,0 +1,19 @@ +export default class EmailContent { + constructor({ data } = {}) { this.data = data || {}; this.wrapper = null; } + static get toolbox() { return { title: "Email content", icon: '' }; } + render() { + const w = document.createElement("div"); + w.innerHTML = ` +
    + + +
    `; + this.wrapper = w; return w; + } + save(el) { + return { + subject: (el.querySelector(".e-email-subject") || {}).value || "", + bodyHtml: (el.querySelector(".e-email-body") || {}).value || "" + }; + } +} \ No newline at end of file diff --git a/src/editor/tools/InlineLink.js b/src/editor/tools/InlineLink.js new file mode 100644 index 0000000..1d6c652 --- /dev/null +++ b/src/editor/tools/InlineLink.js @@ -0,0 +1,87 @@ +export default class InlineLink { + static get isInline() { + return true; + } + + static get shortcut() { + return 'CMD+SHIFT+L'; + } + + static get sanitize() { + return { + a: { + href: true, + target: '_blank', + rel: 'noopener noreferrer' + } + }; + } + + constructor({ api }) { + this.api = api; + this.button = null; + this.state = false; + } + + render() { + this.button = document.createElement('button'); + this.button.type = 'button'; + this.button.innerHTML = ''; + this.button.classList.add('ce-inline-tool'); + + return this.button; + } + + surround(range) { + if (this.state) { + this.unwrap(range); + return; + } + + this.wrap(range); + } + + wrap(range) { + const selectedText = range.extractContents(); + const url = prompt('Enter URL:', 'https://'); + + if (url && url !== 'https://') { + const link = document.createElement('a'); + link.href = url; + link.target = '_blank'; + link.rel = 'noopener noreferrer'; + link.appendChild(selectedText); + + range.insertNode(link); + + this.api.selection.expandToTag(link); + } else { + range.insertNode(selectedText); + } + } + + unwrap(range) { + const link = this.api.selection.findParentTag('A'); + const text = range.extractContents(); + + link.remove(); + range.insertNode(text); + } + + checkState() { + const link = this.api.selection.findParentTag('A'); + this.state = !!link; + + if (this.state) { + this.button.classList.add('ce-inline-tool--active'); + } else { + this.button.classList.remove('ce-inline-tool--active'); + } + + return this.state; + } + + static get title() { + return 'Link'; + } +} \ No newline at end of file diff --git a/src/editor/tools/Separator.js b/src/editor/tools/Separator.js new file mode 100644 index 0000000..08f90bf --- /dev/null +++ b/src/editor/tools/Separator.js @@ -0,0 +1,60 @@ +export default class Separator { + constructor({ data } = {}) { + this.data = data || {}; + } + + static get toolbox() { + return { title: "Separator", icon: '' }; + } + + render() { + const wrapper = document.createElement("div"); + wrapper.innerHTML = ` +
    + +
    + ${this.getPreview(this.data.style || 'line')} +
    +
    + `; + + const select = wrapper.querySelector('.separator-style'); + const preview = wrapper.querySelector('.separator-preview'); + + select.addEventListener('change', (e) => { + preview.innerHTML = this.getPreview(e.target.value); + }); + + return wrapper; + } + + getPreview(style) { + switch (style) { + case 'dots': + return '
    • • •
    '; + case 'stars': + return '
    ★ ★ ★
    '; + case 'space': + return '
    '; + case 'line': + default: + return '
    '; + } + } + + save(blockContent) { + const select = blockContent.querySelector('.separator-style'); + return { + style: select ? select.value : 'line' + }; + } + + static get isReadOnlySupported() { + return true; + } +} \ No newline at end of file diff --git a/src/editor/tools/SimpleLink.js b/src/editor/tools/SimpleLink.js new file mode 100644 index 0000000..f8d3334 --- /dev/null +++ b/src/editor/tools/SimpleLink.js @@ -0,0 +1,71 @@ +export default class SimpleLink { + constructor({ data } = {}) { + this.data = data || {}; + } + + static get toolbox() { + return { title: 'Link', icon: '' }; + } + + render() { + const wrapper = document.createElement('div'); + wrapper.innerHTML = ` +
    + + +
    + +
    + +
    + `; + + const textInput = wrapper.querySelector('.link-text'); + const urlInput = wrapper.querySelector('.link-url'); + const targetInput = wrapper.querySelector('.link-target'); + const preview = wrapper.querySelector('.preview-text'); + + const updatePreview = () => { + const text = textInput.value || 'Link text'; + const url = urlInput.value || '#'; + preview.innerHTML = `${text}`; + }; + + textInput.addEventListener('input', updatePreview); + urlInput.addEventListener('input', updatePreview); + updatePreview(); + + return wrapper; + } + + save(blockContent) { + const textInput = blockContent.querySelector('.link-text'); + const urlInput = blockContent.querySelector('.link-url'); + const targetInput = blockContent.querySelector('.link-target'); + + return { + text: textInput.value, + url: urlInput.value, + target: targetInput.checked ? '_blank' : '_self' + }; + } + + validate(data) { + return data.text && data.url; + } +} \ No newline at end of file diff --git a/src/editor/tools/TableOfContents.js b/src/editor/tools/TableOfContents.js new file mode 100644 index 0000000..7ae3c89 --- /dev/null +++ b/src/editor/tools/TableOfContents.js @@ -0,0 +1,83 @@ +export default class TableOfContents { + constructor({ data, api } = {}) { + this.data = data || {}; + this.api = api; + this.wrapper = null; + } + + static get toolbox() { + return { title: "Index", icon: '' }; + } + + render() { + const w = document.createElement("div"); + w.innerHTML = ` +
    +
    +
    + 📑 Table of Contents + +
    + +
    + ${this.generatePreview()} +
    +
    +
    `; + + const generateBtn = w.querySelector('.i-generate'); + generateBtn.addEventListener('click', () => { + this.generateFromContent(); + }); + + this.wrapper = w; + return w; + } + + generatePreview() { + if (!this.data.items || this.data.items.length === 0) { + return 'Click Generate to create index from bookmarks and headings'; + } + + const style = this.data.style || 'numbered'; + const listItems = this.data.items.map((item, i) => { + const prefix = style === 'numbered' ? `${i + 1}. ` : '• '; + return `
    ${prefix}${item.title}
    `; + }).join(''); + + return listItems; + } + + generateFromContent() { + if (!this.api) return; + + const blocks = this.api.blocks.getBlocksCount(); + const items = []; + + for (let i = 0; i < blocks; i++) { + const block = this.api.blocks.getBlockByIndex(i); + const blockData = block.save(); + + if (blockData.tool === 'header' && blockData.data.text) { + const anchor = blockData.data.text.toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-|-$/g, ''); + items.push({ title: blockData.data.text, anchor }); + } else if (blockData.tool === 'bookmark' && blockData.data.title && blockData.data.anchor) { + items.push({ title: blockData.data.title, anchor: blockData.data.anchor }); + } + } + + this.data.items = items; + const preview = this.wrapper.querySelector('.i-preview'); + preview.innerHTML = this.generatePreview(); + } + + save(el) { + return { + style: (el.querySelector(".i-style") || {}).value || "numbered", + items: this.data.items || [] + }; + } +} \ No newline at end of file diff --git a/src/editor/tools/Video.js b/src/editor/tools/Video.js new file mode 100644 index 0000000..179d995 --- /dev/null +++ b/src/editor/tools/Video.js @@ -0,0 +1,40 @@ +export default class Video { + constructor({ data } = {}) { + this.data = data || {}; + this.wrapper = null; + } + + static get toolbox() { + return { title: "Video", icon: '' }; + } + + render() { + const w = document.createElement("div"); + w.innerHTML = ` +
    +
    + + +
    + + +
    +
    +
    `; + this.wrapper = w; + return w; + } + + save(el) { + return { + url: (el.querySelector(".v-url") || {}).value || "", + caption: (el.querySelector(".v-caption") || {}).value || "", + autoplay: (el.querySelector(".v-autoplay") || {}).checked || false, + controls: (el.querySelector(".v-controls") || {}).checked !== false + }; + } +} \ No newline at end of file diff --git a/src/editor/tools/index.js b/src/editor/tools/index.js new file mode 100644 index 0000000..c40dd5c --- /dev/null +++ b/src/editor/tools/index.js @@ -0,0 +1,9 @@ +export { default as Callout } from './Callout.js'; +export { default as CTA } from './CTA.js'; +export { default as EmailContent } from './EmailContent.js'; +export { default as Separator } from './Separator.js'; +export { default as BetterHeader } from './BetterHeader.js'; +export { default as SimpleLink } from './SimpleLink.js'; +export { default as Bookmark } from './Bookmark.jsx'; +export { default as Video } from './Video.js'; +export { default as TableOfContents } from './TableOfContents.js'; \ No newline at end of file diff --git a/src/features/ActivationKeyGeneration/ActivationkeyGeneration.js b/src/features/ActivationKeyGeneration/ActivationkeyGeneration.js new file mode 100644 index 0000000..255c6ee --- /dev/null +++ b/src/features/ActivationKeyGeneration/ActivationkeyGeneration.js @@ -0,0 +1,51 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import axios from "axios"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +const apiUrl = import.meta.env.ENV_API_URL; + +export const getActiveAppCompanyData = createAsyncThunk('appAccess/getActiveAppCompanyData', async (AppId) => { + + return await axiosInstanceData.get(`/appAccess?AppId=${AppId?.AppId}`) + +}); + +export const getActiveBranchData = createAsyncThunk('appAccess/getActiveBranchData', async ({AppId,CompId}) => { + + return await axiosInstanceData.get(`/appAccess?AppId=${AppId}&CompId=${CompId}`) + +}); + +export const getAppCompanyDataUsers = createAsyncThunk('appAccess/getAppCompanyData', async ({AppId,CompId,BranchId}) => { + return await axiosInstanceData.get(`/appAccess?AppId=${AppId}&CompId=${CompId}&BranchId=${BranchId}`) + +}); + +//---changes Due To All Users Needed Including the Admin + +export const getBranchBasedUsers = createAsyncThunk('appAccess/getAppCompanyData', async ({Type,BranchId}) => { + return await axiosInstanceData.get(`/login?Type=${Type}&BranchId=${BranchId}`) + +}); + +export const ActivationKeyGenerationpost = createAsyncThunk('ActivationKeyGeneration', async (PostData) => { + return await axiosInstanceData.post(`/UserKeyGeneration`,PostData) +}); + +export const getActivationKeyGeneration = createAsyncThunk('getActivationKeyGeneration', async () => { + return await axiosInstanceData.get(`/UserKeyGeneration`) +}); + +export const getConfigNames = createAsyncThunk('configMaster/getConfigNames', async ({TypeName}) => { + if(TypeName != null && TypeName != undefined){ + return await axiosInstanceData.get(`/configMaster?TypeName=${TypeName}`); + } +}) + +export const ActivationKeyGenerationput = createAsyncThunk('ActivationKeyGenerationput',async(Putdata) =>{ + return await axiosInstanceData.put(`/UserKeyGeneration`,Putdata) +}) + +export const ActivationKeyGenerationdelete = createAsyncThunk('ActivationKeyGenerationdelete',async(Deletedata) =>{ + return await axiosInstanceData.delete(`/UserKeyGeneration?UniqueId=${Deletedata?.UniqueId}&ActiveStatus=${Deletedata?.ActiveStatus}&Reason=${Deletedata.Reason}&updatedBy=${Deletedata.updatedBy}`) +}) \ No newline at end of file diff --git a/src/features/AdminPanel/AdminPanel.js b/src/features/AdminPanel/AdminPanel.js new file mode 100644 index 0000000..ef1e714 --- /dev/null +++ b/src/features/AdminPanel/AdminPanel.js @@ -0,0 +1,42 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import { axiosInstanceData, axiosRetailInstanceData } from '../AuthenticationTokens/AuthenticationToken'; + +const apiUrl = import.meta.env.ENV_API_URL; + +export const postAdminPanel = createAsyncThunk('adminPanel/postAdminPanel', async (data) => { + return await axiosInstanceData.post(`/HomePage`, data) +}) + +export const putAdminPanel = createAsyncThunk('adminPanel/putAdminPanel', async (data) => { + return await axiosInstanceData.put(`/HomePage`, data) +}) + +export const getAdminPanel = createAsyncThunk('adminPanel/getAdminPanel', async ({ sectionName }) => { + if (sectionName !== null && sectionName !== undefined) { + return await axiosInstanceData.get(`/HomePage?SectionName=${sectionName}`) + } +}) + +// const initialState = { +// 'breadCrumb': [] +// } + +// const centerPageSlice = createSlice({ +// name: 'centerPage', +// initialState, +// reducers: { +// changeBreadCrumb: (state, action) => { +// const { items } = action?.payload +// state.breadCrumb = items +// }, +// emptyBreadCrumb: (state, action) => { +// state.breadCrumb = [] +// } +// } +// }) + +// export const { changeBreadCrumb, emptyBreadCrumb } = centerPageSlice.actions; + +// export const breadCrumbSelector = state => state.centerPage?.breadCrumb; + +// export default centerPageSlice.reducer; \ No newline at end of file diff --git a/src/features/ApplicationPreferenceMapping/applicationPreference.js b/src/features/ApplicationPreferenceMapping/applicationPreference.js new file mode 100644 index 0000000..2a3abb3 --- /dev/null +++ b/src/features/ApplicationPreferenceMapping/applicationPreference.js @@ -0,0 +1,19 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import axios from "axios"; +import { axiosInstanceData } from "../AuthenticationTokens/AuthenticationToken"; + +export const postapplicationPrefernce = createAsyncThunk( + "applicationPrefernce/postapplicationPrefernce", + async (postData) => { + return await axiosInstanceData.post( + `/ApplicationPreferenceMapping`, + postData + ); + } +); +export const getapplicationPrefernce = createAsyncThunk( + "applicationPrefernce/postapplicationPrefernce", + async () => { + return await axiosInstanceData.get(`/ApplicationPreferenceMapping`); + } +); diff --git a/src/features/AuthenticationTokens/AuthenticationToken.js b/src/features/AuthenticationTokens/AuthenticationToken.js new file mode 100644 index 0000000..1dba8f4 --- /dev/null +++ b/src/features/AuthenticationTokens/AuthenticationToken.js @@ -0,0 +1,169 @@ +import axios from "axios"; +import { getSession, clearSession, TokendecryptedValuesFun } from "../../Services/others"; + +const apiUrl = import.meta.env.ENV_API_URL; +const ApiUrlRetail = import.meta.env.ENV_API_URL_RETAIL; + + +const subDirectory = import.meta.env.BASE_URL; +const EmailApiUrl = import.meta.env.ENV_EMAIL_API; + + + +const axiosInstance = axios.create({ + baseURL: apiUrl, +}); + +const axiosRetailInstance = axios.create({ + baseURL: ApiUrlRetail, +}); + + +const axiosInstanceEMAIL_SMS = axios.create({ + baseURL: EmailApiUrl, +}); + +const getToken = () => { + return new Promise((resolve) => { + let token = sessionStorage.getItem("auth"); + + if (token) { + resolve(token); + } else { + const tokenInterval = setInterval(() => { + token = sessionStorage.getItem("auth"); + if (token) { + clearInterval(tokenInterval); + resolve(token); + } + }, 100); + } + }); +}; + +const addAuthHeader = async (config) => { + + const token = await getToken(); + + if (token) { + config.headers["Authorization"] = `Bearer ${token}`; + } + + let encryptedMobileno = sessionStorage.getItem("MobileNo"); + let encryptedSessionId = sessionStorage.getItem("SessionId"); + + + let Mobileno = encryptedSessionId + ? TokendecryptedValuesFun(encryptedMobileno) + : "1000000001"; + + + config.headers["Mobileno"] = Mobileno != null && Mobileno != undefined ? Mobileno : "1000000001"; + console.log("addAuthHeader", config) + return config; +}; + +axiosInstance.interceptors.request.use(addAuthHeader, (error) => { + return Promise.reject(error); +}); +axiosInstanceEMAIL_SMS.interceptors.request.use(addAuthHeader, (error) => { + return Promise.reject(error); +}); +axiosRetailInstance.interceptors.request.use(addAuthHeader, (error) => { + console.error('Error in request interceptor:', error); + return Promise.reject(error); +}); +function showNotification(message) { + const notification = document.createElement('div'); + notification.innerText = message; + notification.style.cssText = ` + position: fixed; + top: 10%; + left: 50%; + transform: translate(-50%, -50%); + background-color: #f03e3e; + color: white; + padding: 15px 30px; + border-radius: 8px; + font-family: Arial, sans-serif; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); + z-index: 1000; + opacity: 0; + transition: opacity 0.3s ease; + `; + + document.body.appendChild(notification); + + // Show the notification + setTimeout(() => { + notification.style.opacity = 1; + }, 10); + + // Remove the notification after 3 seconds + setTimeout(() => { + notification.style.opacity = 0; + setTimeout(() => notification.remove(), 300); + }, 2000); +} +const responseErrorHandler = async (error) => { + if ((error.response && error.response.status === 401)) { + showNotification("Your session has expired. Please log in again to continue."); + + setTimeout(() => { + if (getSession('UserId')) { + const Generate = "N"; + fetch(`${apiUrl}/Logout`, { + method: "PUT", + headers: { + "Content-Type": "application/json", + "Authorization": sessionStorage.getItem("auth") ? sessionStorage.getItem("auth") : "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9", + "Mobileno": getSession('MobileNo') ? getSession('MobileNo') : "1000000001", + }, + body: JSON.stringify({ "UserId": getSession('UserId'), "Generate": Generate, "RequestMode":"DW" }), + }) + .then((response) => { + if (!response.ok) { + throw new Error(`Error: ${response.status}`); + } + return response.json(); + }) + .then((data) => { + if (data?.statusCode === 1) { + clearSession(); + window.location.href = `${subDirectory}`; + } + }) + .catch((error) => { + console.error("Error:", error); + }); + } + // else { + // clearSession(); + // window.location.href = `${subDirectory}`; + // } + }, 2000); + + } + // else { + // alert("An error occurred. Please try again later."); + // } + return Promise.reject(error); +}; + +axiosInstance.interceptors.response.use( + (response) => response, // On success, just return the response + responseErrorHandler // Handle errors +); +axiosInstanceEMAIL_SMS.interceptors.response.use( + (response) => response, // On success, just return the response + responseErrorHandler // Handle errors +); + +axiosRetailInstance.interceptors.response.use( + (response) => response, // On success, just return the response + responseErrorHandler // Handle errors +); + +export const axiosRetailInstanceData = axiosRetailInstance; +export const axiosInstanceData = axiosInstance; +export const axiosInstanceEMAIL_SMSData = axiosInstanceEMAIL_SMS; diff --git a/src/features/Blog/Blog.js b/src/features/Blog/Blog.js new file mode 100644 index 0000000..a23f402 --- /dev/null +++ b/src/features/Blog/Blog.js @@ -0,0 +1,50 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import { axiosInstanceData } from "../AuthenticationTokens/AuthenticationToken"; +import axios from "axios"; +const apiUrl = import.meta.env.ENV_API_URL; +const uploadApiUrl = import.meta.env.ENV_IMAGE_UPLOAD_API_URL; +const axiosInstance = axios.create({ + baseURL: apiUrl, + headers: { + "Content-Type": "application/json", + }, +}); +export const postBlog = createAsyncThunk("blog/postBlog", async (data) => { + return await axiosInstanceData.post("/Blog", data); +}); + +export const putBlog = createAsyncThunk("blog/putBlog", async (data) => { + return await axiosInstanceData.put("/Blog", data); +}); + +export const deleteBlog = createAsyncThunk("blog/deleteBlog", async (data) => { + return await axiosInstanceData.delete( + `/Blog?blogId=${data?.blogId}&activeStatus=${data?.activeStatus + }&updatedBy=${data?.updatedBy || 1}` + ); +}); + +export const getBlog = createAsyncThunk("blog/getBlog", async () => { + return await axiosInstanceData.get("/Blog"); +}); + +export const getPublishedBlogs = createAsyncThunk( + "blog/getPublishedBlogs", + async () => { + return await axiosInstance.get("/Blog?published=Y"); + } +); + +export const getPublishedBlogsBySlug = createAsyncThunk( + "blog/getPublishedBlogs", + async ({ slug }) => { + return await axiosInstance.get(`/Blog?slug=${slug}`); + } +); + +export const postComments = createAsyncThunk( + "blog/postComments", + async (data) => { + return await axiosInstance.post(`/Comments`, data); + } +); diff --git a/src/features/DeviceAppName/Appversion.js b/src/features/DeviceAppName/Appversion.js new file mode 100644 index 0000000..0c84b95 --- /dev/null +++ b/src/features/DeviceAppName/Appversion.js @@ -0,0 +1,34 @@ +import { createAsyncThunk } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +export const getConfigDeviceNames = createAsyncThunk('AppVersion/getConfigNames', async () => { + + return await axiosInstanceData.get(`/configMaster?TypeName=Device App Name`); +}) + + +export const postDeviceVersion = createAsyncThunk('AppVersion/postDeviceVersion', async (postData) => { + + return await axiosInstanceData.post(`/AppVersions`, postData) +}) + + + +export const getDeviceVersion = createAsyncThunk('AppVersion/getDeviceVersion', async () => { + + return await axiosInstanceData.get(`/AppVersions?activeStatus=A`); +}) + + +export const getDeviceVersionManagement = createAsyncThunk('AppVersion/getDeviceVersionManagement', async (values) => { + + return await axiosInstanceData.get(`/AppVersionManagement?appId=${values?.appId}&compId=${values?.compId}&branchId=${values?.branchId}&appType=${values?.appType}`); +}) + +export const AppVersionManagementPost = createAsyncThunk('AppVersion/AppVersionManagementPost', async (putData) => { + + return await axiosInstanceData.put(`/AppVersionManagement`, putData) +}) + + + diff --git a/src/features/EmpRelieve/EmpRelieve.js b/src/features/EmpRelieve/EmpRelieve.js new file mode 100644 index 0000000..912aae4 --- /dev/null +++ b/src/features/EmpRelieve/EmpRelieve.js @@ -0,0 +1,26 @@ +import { createAsyncThunk } from '@reduxjs/toolkit'; +import { axiosRetailInstanceData } from '../AuthenticationTokens/AuthenticationToken'; + +export const getEmpRelieve = createAsyncThunk('Emp/getEmpRelieve', async ({CompId,UserId,AppId,BranchId}) => { + if (CompId != null && CompId != undefined && UserId != null && UserId != undefined && AppId != null && AppId != undefined && BranchId != null && BranchId != undefined) { + return await axiosRetailInstanceData.get(`/EmployeeRelieveInfo?appId=${AppId}&compId=${CompId}&branchId=${BranchId}&userId=${UserId}`); + } + } +); + +export const deleteEmpRelieve = createAsyncThunk('Emp/getEmpRelieve', async ({uniqueId,updatedBy,activeStatus}) => { + if (uniqueId != null && uniqueId != undefined && updatedBy != null && updatedBy != undefined && activeStatus != null && activeStatus != undefined ) { + return await axiosRetailInstanceData.delete(`/EmployeeRelieveInfo?uniqueId=${uniqueId}&updatedBy=${updatedBy}&activeStatus=${activeStatus}`); + } + } +); + +export const postEmpRelieve = createAsyncThunk('Emp/postEmpRelieve', async (postData) => { + return await axiosRetailInstanceData.post(`/EmployeeRelieveInfo`,postData); + } +); + +export const putEmpRelieve = createAsyncThunk('Emp/putEmpRelieve', async (putData) => { + return await axiosRetailInstanceData.put(`/EmployeeRelieveInfo`,putData); + } +); \ No newline at end of file diff --git a/src/features/LoyaltySettings/Loyaltysetting.js b/src/features/LoyaltySettings/Loyaltysetting.js new file mode 100644 index 0000000..be96e7a --- /dev/null +++ b/src/features/LoyaltySettings/Loyaltysetting.js @@ -0,0 +1,47 @@ +import axios from "axios"; +import { createAsyncThunk } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +export const getLoyaltyname = createAsyncThunk('Loyaltynamepost/LoyaltySettings',async() => { + return await axiosInstanceData.get('/LoyaltySettings',) +}) + +export const Loyaltynamepost = createAsyncThunk('Loyaltynamepost/LoyaltySettings',async(Postdata) => { + return await axiosInstanceData.post('/LoyaltySettings',Postdata) +}) + +export const Loyaltynameput = createAsyncThunk('Loyaltynamepost/LoyaltySettings',async(Postdata) => { + return await axiosInstanceData.put('/LoyaltySettings',Postdata) +}) + +export const delLoyaltyname = createAsyncThunk('Loyaltynamepost/LoyaltySettings',async(Deletedata) => { + return await axiosInstanceData.delete('/LoyaltySettings',{ params: Deletedata }) +}) + +export const getEmployeerefferal = createAsyncThunk('Employeerefferalpost',async()=>{ + return await axiosInstanceData.get('RefAppCommissions',) +}) + +export const Employeerefferalpost = createAsyncThunk('Employeerefferalpost',async(postData)=>{ + return await axiosInstanceData.post('RefAppCommissions',postData) +}) + +export const Employeerefferalput = createAsyncThunk('Employeerefferalpost',async(Postdata)=>{ + return await axiosInstanceData.put('RefAppCommissions',Postdata) +}) + +export const delEmployeerefferal = createAsyncThunk('Loyaltynamepost/LoyaltySettings',async(Deletedata) => { + return await axiosInstanceData.delete('/RefAppCommissions',{ params: Deletedata }) +}); + +export const RefferedEmployeeList = createAsyncThunk('RefPayments/RefferedEmployeeList',async()=>{ +return await axiosInstanceData.get('/RefPayments/UserList') +}); + +export const getPricingType = createAsyncThunk('getPricingType/getPricingType', async () => { + return await axiosInstanceData.get('/configMaster?TypeName=Payment Type&ActiveStatus=A') +}); + +export const ReferredEmployePayPost = createAsyncThunk('ReferredEmployePayPost',async(PostData)=>{ + return await axiosInstanceData.post('RefPayments',PostData) +}); \ No newline at end of file diff --git a/src/features/LoyaltySettings/sss.js b/src/features/LoyaltySettings/sss.js new file mode 100644 index 0000000..dc36881 --- /dev/null +++ b/src/features/LoyaltySettings/sss.js @@ -0,0 +1,70 @@ +import { createAsyncThunk } from "@reduxjs/toolkit"; +import { axiosInstanceData, axiosInstanceEMAIL_SMSData } from '../AuthenticationTokens/AuthenticationToken'; + + + +export const getPricingType = createAsyncThunk('getPricingType/getPricingType', async (PricingId) => { + if (PricingId != null && PricingId != undefined) { + return await axiosInstanceData.get(`/pricingType?PricingId=${PricingId}`); + } +}); + +export const postInvoice = createAsyncThunk('postInvoice/userAppMap', async (postData) => { + + return await axiosInstanceData.post('/userAppMap', postData) +}) + + +export const postCCAvenuePaymentDetails = createAsyncThunk('postCCAvenuePaymentDetails/payment', async (postData) => { + + return await axiosInstanceData.post('/ccavenuePaymentDetails', postData) +}) + +export const getccavenuePaymentDetails = createAsyncThunk('getccavenuePaymentDetails', async () => { + return await axiosInstanceData.get('/ccavenuePaymentDetails?activeStatus=A') +}) + +export const getPaymentMethod = createAsyncThunk('getPaymentMethod/getPaymentMethod', async () => { + return await axiosInstanceData.get('/ccavenuePaymentDetails'); +}); +// +export const getallplanDtl = createAsyncThunk('getallplanDtl', async (data) => { + if (data?.AppId != null && data?.AppId != undefined && data?.UserId != null && data?.UserId != undefined) { + return await axiosInstanceData.get(`/AllDetailPlanMod?AppId=${data?.AppId}&UserId=${data?.UserId}`); + } +}); + +export const postDowngrade = createAsyncThunk('postDowngrade', async (postData) => { + + return await axiosInstanceData.post('/ModifySubcription', postData) +}) +export const putFeaturechange = createAsyncThunk('putFeaturechange', async (postData) => { + +return await axiosInstanceData.put('/ModifySubcription', postData) +}) + +export const getUsedplandata = createAsyncThunk('getUsedplandata', async (data) => { + if (data.AppId != null && data.AppId != undefined && data.UserId != null && data.UserId != undefined && data.type != null && data.type != undefined) { + return await axiosInstanceData.get(`/UserAppMap?AppId=${data.AppId}&UserId=${data.UserId}&type=${data.type}`) + } +}) + +export const putPaymentMethod = createAsyncThunk('putPaymentMethod/putPaymentMethod', async (putData) => { + return await axiosInstanceData.put('/PaymentSuccess', putData); +}); +export const postEmailApi = createAsyncThunk('postEmailApi/Email', async (postData) => { + + return await axiosInstanceEMAIL_SMSData.post(`/Email`, postData) +}) +export const getEmployeRefferal = createAsyncThunk('getEmployeRefferal',async(data)=>{ + if (data.AppId != null && data.AppId != undefined && data.UserId != null && data.UserId != undefined && data.Type != null && data.Type != undefined) { + + return await axiosInstanceData.get(`/UserAppMap?AppID=${data.AppId}&UserId=${data.UserId}&Type=${data.Type}`) + + } +}) + + +export const getReferaluserdata = createAsyncThunk('getReferaluserdata',async(data)=>{ +return await axiosInstanceData.get(`/User?referralCode=${data.referralCode}`) +}) \ No newline at end of file diff --git a/src/features/MessageTemplates/MessageTemplate.js b/src/features/MessageTemplates/MessageTemplate.js new file mode 100644 index 0000000..3096460 --- /dev/null +++ b/src/features/MessageTemplates/MessageTemplate.js @@ -0,0 +1,44 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + + + +export const getMessagetemplateData = createAsyncThunk('messagetemplates/getBranchData', async () => { + return await axiosInstanceData.get('/messagetemplates') +}) + +export const postMessageTemplates = createAsyncThunk('messagetemplates/postMessageTemplates', async (postData) => { + + return await axiosInstanceData.post('/messagetemplates', postData) +}) + +export const putMessageTemplates = createAsyncThunk('messagetemplates/putMessageTemplates', async (putData) => { + + return await axiosInstanceData.put('/messagetemplates', putData) +}) + +const initialState = { + MessagetemplateData: [] +} + +const messagetemplateSlice = createSlice({ + name:'messagetemplate', + initialState, + extraReducers: builder => { + builder.addCase(getMessagetemplateData.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.MessagetemplateData = action?.payload?.data?.data + } + else { + state.MessagetemplateData = [] + } + + }) + + } + +}) + +export const messagetemplateSelector = state => state.MessageTemplate?.MessagetemplateData +export default messagetemplateSlice.reducer; + diff --git a/src/features/ModuleAccess/moduleAccessApiSlice.js b/src/features/ModuleAccess/moduleAccessApiSlice.js new file mode 100644 index 0000000..f0ecff3 --- /dev/null +++ b/src/features/ModuleAccess/moduleAccessApiSlice.js @@ -0,0 +1,63 @@ +import { createEntityAdapter, createSelector } from "@reduxjs/toolkit"; +import { apiSlice } from '../api/apiSlice'; + +const moduleAccessDataAdapter = createEntityAdapter({ + sortComparer: (a,b) => b?.CreatedDate?.localeCompare(a?.CreatedDate) +}) + +const initialState = moduleAccessDataAdapter.getInitialState() + +const moduleAccessApi = apiSlice.injectEndpoints({ + + endpoints: (builder) => ({ + getStoreData: builder.query({ + query: () => '/company?ActiveStatus=A', + transformResponse: responseData => { + const data = responseData.data?.map((eachData, index) => { + eachData.id = index + return eachData + }) + // let data = [...responseData.data, {"hi": 'hello', CreatedDate: '2022-04-13T23:02:19.248Z'}] + return moduleAccessDataAdapter.setAll(initialState, data) + } + }), + getBranchData: builder.query({ + query: ( storeId ) => `/getBranchMaster?StoreId=${storeId}`, + transformResponse: responseData => { + const result = responseData.data?.map((eachBranch, index) => { + eachBranch.id = index + return eachBranch + }) + + return moduleAccessDataAdapter.setAll(initialState, result) + } + }) + }) + +}) + +export const { useGetStoreDataQuery, useGetBranchDataQuery } = moduleAccessApi; + +const getStoreDataResult = moduleAccessApi.endpoints.getStoreData.select() + +const getStoreDataSelector = createSelector(getStoreDataResult , storeData => storeData.data) + +export const { selectAll: storeDataSelector } = moduleAccessDataAdapter.getSelectors(state => getStoreDataSelector(state) ?? initialState) + +const getBranchDataResult = moduleAccessApi.endpoints.getBranchData.select() + +const getBranchDataSelector = createSelector(getBranchDataResult, branchData => branchData.data) + +export const { selectAll: branchDataSelector, selectEntities: branchDataSelectorData } = moduleAccessDataAdapter.getSelectors(state => getBranchDataSelector(state) ?? initialState) + +// export const selectModuleAccessData = state => { +// const adapterSelectors = moduleAccessDataAdapter.getSelectors(); +// return adapterSelectors.selectAll(state); +// } + + + + + + + diff --git a/src/features/ModuleAccess/moduleAccessSlice.js b/src/features/ModuleAccess/moduleAccessSlice.js new file mode 100644 index 0000000..43312dd --- /dev/null +++ b/src/features/ModuleAccess/moduleAccessSlice.js @@ -0,0 +1,713 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import { axiosInstanceData } from '../AuthenticationTokens/AuthenticationToken'; +import { getSession } from "../../Services/others"; +import axios from "axios"; + +const apiUrl = import.meta.env.ENV_API_URL; + +const initialState = { + selectedRole: getSession("UserType") === 'Admin' ? "Branch Admin" : "Sadmin", + selectedStore: null, + selectedAppName: null, + selectedBranch: null, + selectedApp: null, + selectedUser: null, + selectedEmpdesig: null, + allModules: [], + branchData: [], + appData: [], + userData: [], + AdminData: [], + EmpDesigData: [], + selectedUserData: {}, + selectedModuleBranch: [], + UserId: null, + AppAccess: {}, + CompAccess: {}, + BranchAccess: {}, + AppListData: {}, + CmpListData: {}, + BranchListData: {}, + PostDataValue: [], + // UserCount:null, + // FeatUserCount:null +}; + +export const getBranchDropModule = createAsyncThunk( + "moduleAccess/getBranchDropModule", + async ({ storeId }) => { + if (storeId != null && storeId != undefined) { + return await axiosInstanceData.get(`/branch?CompId=${storeId}`); + } + } +); + +export const getSadminUser = createAsyncThunk( + "moduleAccess/getSadminUser", + async () => { + return await axiosInstanceData.get('/login?Type=Super Admin User'); + } +); + +export const getStoreAdmin = createAsyncThunk( + "moduleAccess/getStoreAdmin", + async ({ storeId }) => { + if (storeId != null && storeId != undefined) { + return await axios.get(`${apiUrl}/company?UserId=${storeId}`); + } + } +); + +export const gettingAdminDropDown = createAsyncThunk( + "moduleAccess/gettingAdminDropDown", + async () => { + return await axiosInstanceData.get('/user?UserType=A'); + } +); + +export const getBranchAdmin = createAsyncThunk( + "moduleAccess/getBranchUser", + async ({ BranchId }) => { + if (BranchId != null && BranchId != undefined) { + return await axiosInstanceData.get(`/login?BranchId=${BranchId}&Type=E`); + } + } +); + +export const getAllModule = createAsyncThunk( + "moduleAccess/getAllModule", + async () => { + return await axiosInstanceData.get('/configMaster?TypeName=Sub Module'); + // return await axios.get(`${config}/getModuleMaster`) + } +); + +export const getAllModuleActive = createAsyncThunk( + "moduleAccess/getAllModule", + async (AdminId) => { + if (AdminId != null && AdminId != undefined) { + return await axiosInstanceData.get(`/userAppMap?UserId=${AdminId}&Type=A`); + } else { + return await axiosInstanceData.get( + '/configMaster?ActiveStatus=A&TypeName=Sub Module' + ); + } + // return await axios.get(`${config}/getModuleMaster?ActiveStatus=A`) + } +); + +export const getUserCount = createAsyncThunk( + "moduleAccess/getUserCount", + async ({ AppId, UserId }) => { + if (AppId != null && AppId != undefined && UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/userAppMap?UserId=${UserId}&AppId=${AppId}`) + } + } +); + +export const getUserData = createAsyncThunk( + "moduleAccess/getUserData", + async ({ userId, BranchId }) => { + if (userId != null && userId != undefined && BranchId != null && BranchId != undefined) { + return await axiosInstanceData.get(`/login?UserId=${userId}&BranchId=${BranchId}`) + } else { + return await axiosInstanceData.get(`/login?UserId=${userId}`); + } + } +); + + +export const getAppDetails = createAsyncThunk( + "moduleAccess/getAppDetails", + async ({ UserId }) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/appAccess?UserId=${UserId}&Type=AD`); + } + } +); + +export const getCompDetails = createAsyncThunk( + "moduleAccess/getCompDetails", + async ({ UserId }) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/appAccess?UserId=${UserId}`); + } + } +); + +export const getUserAppDetails = createAsyncThunk( + "moduleAccess/getUserAppDetails", + async ({ UserId, AppId }) => { + if (UserId != null && UserId != undefined && AppId != null && AppId != undefined) { + return await axiosInstanceData.get(`/appAccess?UserId=${UserId}&AppId=${AppId}`); + } + } +); + +export const postGateWayMaster = createAsyncThunk( + "moduleAccess/postGateWayMaster", + async (data) => { + if (data) { + return await axiosInstanceData.post(`/GatewayConfigMaster`, data); + } + } +); + +export const putGateWayMaster = createAsyncThunk( + "moduleAccess/putGateWayMaster", + async (data) => { + if (data) { + return await axiosInstanceData.put(`/GatewayConfigMaster`, data); + } + } +); + +export const getGateWayConfigData = createAsyncThunk( + "moduleAccess/getGateWayConfigData", + async (data) => { + const { ServiceType } = data + if (ServiceType !== null || ServiceType !== undefined) { + return await axiosInstanceData.get(`/GatewayConfigMaster?ServiceType=${ServiceType}&Type=S`); + } + } +); + +export const getActiveUserAppDetails = createAsyncThunk( + "moduleAccess/getActiveUserAppDetails", + async ({ UserId, AppId }) => { + if (UserId != null && UserId != undefined && AppId != null && AppId != undefined) { + return await axiosInstanceData.get(`/appAccess?UserId=${UserId}&AppId=${AppId}&ActiveStatus=A`); + } + } +); + +export const getUserAppStoreDetails = createAsyncThunk( + "moduleAccess/getUserAppStoreDetails", + async ({ StoreId, UserId, AppId }) => { + if (StoreId != null && StoreId != undefined && UserId != null && UserId != undefined && AppId != null && AppId != undefined) { + return await axiosInstanceData.get(`/appAccess?UserId=${UserId}&AppId=${AppId}&CompId=${StoreId}`); + } + } +); + +export const getActiveUserAppStoreDetails = createAsyncThunk( + "moduleAccess/getActiveUserAppStoreDetails", + async ({ StoreId, UserId, AppId }) => { + if (StoreId != null && StoreId != undefined && UserId != null && UserId != undefined && AppId != null && AppId != undefined) { + return await axiosInstanceData.get(`/appAccess?UserId=${UserId}&AppId=${AppId}&CompId=${StoreId}&ActiveStatus=A`); + } + + } +); + +export const getCmpDetails = createAsyncThunk( + "moduleAccess/getCmpDetails", + async ({ AppId, UserId }) => { + if (UserId != null && UserId != undefined && AppId != null && AppId != undefined) { + return await axiosInstanceData.get(`/appAccess?AppId=${AppId}&UserId=${UserId}`); + } + else if (AppId != null && AppId != undefined) { + return await axiosInstanceData.get(`/appAccess?AppId=${AppId}`); + } + + } +); + +export const getDesigDetails = createAsyncThunk( + "moduleAccess/getDesigDetails", + async ({ AppName, CompId, BranchId }) => { + if (AppName != null && AppName != undefined && CompId != null && CompId != undefined && BranchId != null && BranchId != undefined) { + return await axiosInstanceData.get(`/designation?AppName=${AppName}&CompId=${CompId}&BranchId=${BranchId}`); + } + + } +); +export const getAppDesigDetails = createAsyncThunk( + "moduleAccess/getAppDesigDetails", + async ({ AppId }) => { + if (AppId != null && AppId != undefined) { + return await axiosInstanceData.get(`/appAccess?AppId=${AppId}`); + } + + } +); + +export const getDesigUserDetails = createAsyncThunk( + "moduleAccess/getDesigUserDetails", + async ({ AppName, EmpDesig, CompId, BranchId }) => { + if (AppName != null && AppName != undefined && EmpDesig != null && EmpDesig != undefined && CompId != null && CompId != undefined && BranchId != null && BranchId != undefined) { + return await axiosInstanceData.get(`/designation?AppName=${AppName}&EmpDesig=${EmpDesig}&CompId=${CompId}&BranchId=${BranchId}`); + } + + } +); + + + +export const getBranchDetails = createAsyncThunk( + "moduleAccess/getBranchDetails", + async ({ CompId, AppId, UserId }) => { + if (AppId != null && AppId != undefined && UserId != null && UserId != undefined && CompId != null && CompId != undefined) { + return await axiosInstanceData.get(`/appAccess?CompId=${CompId}&AppId=${AppId}&UserId=${UserId}`); + } else if (AppId != null && AppId != undefined && CompId != null && CompId != undefined) { + return await axiosInstanceData.get(`/appAccess?CompId=${CompId}&AppId=${AppId}`); + } + } +); + + + +export const getBranchBasedOnStoreAndType = createAsyncThunk( + "moduleAccess/getBranchBasedOnStoreAndType", + async ({ storeId, BranchType, UserId }) => { + if (BranchType != null && BranchType != undefined && UserId != null && UserId != undefined) { + return await axios.get(`${apiUrl}/application?SubId=${BranchType}&UserId=${UserId}`); + } + else if (BranchType != null && BranchType != undefined) { + return await axios.get(`${apiUrl}/application?SubId=${BranchType}`); + + } + } +); + +export const getBranchBasedOnStoreAndTypeSadmin = createAsyncThunk( + "moduleAccess/getBranchBasedOnStoreAndType", + async ({ BranchType, UserId, Type, BranchId }) => { + if (UserId != null && UserId != undefined && BranchType != null && BranchType != undefined && Type != null && Type != undefined) { + return await axios.get(`${apiUrl}/application?SubId=${BranchType}&UserId=${UserId}&Type=${Type}` + ); + } + + else if (UserId != null && UserId != undefined && BranchType != null && BranchType != undefined && BranchId != null && BranchId != undefined) { + return await axios.get(`${apiUrl}/application?SubId=${BranchType}&UserId=${UserId}&BranchId=${BranchId}` + ); + } + else if (UserId != null && UserId != undefined && BranchType != null && BranchType != undefined) { + return await axios.get(`${apiUrl}/application?SubId=${BranchType}&UserId=${UserId}` + ); + } + else { + return await axios.get(`${apiUrl}/application?SubId=${BranchType}`); + } + } +); + +export const postModuleRights = createAsyncThunk( + "moduleAccess/postModuleRights", + async (postData) => { + + return await axiosInstanceData.post('/appAccess', postData); + } +); +export const postBranchModuleRights = createAsyncThunk( + "moduleAccess/postBranchModuleRights", + async (postData) => { + + return await axiosInstanceData.post('/appAccessBranch', postData); + } +); +export const deleteModuleRights = createAsyncThunk('moduleAccess/deleteModuleRights', async (deleteData) => { + + return await axiosInstanceData.delete('/appAccess', { params: deleteData }) +}) +export const deleteBranchModuleRights = createAsyncThunk('moduleAccess/deleteBranchModuleRights', async (deleteData) => { + + return await axiosInstanceData.delete('/appAccessBranch', { params: deleteData }) +}) + +export const getstoreData = createAsyncThunk( + "moduleAccess/getstoreData", + async (storeId) => { + if (storeId != null && storeId != undefined) { + return await axios.get(`${apiUrl}/company?UserId=${storeId}`); + } + } +); + + + +// export const + +const moduleAccess = createSlice({ + name: "moduleAccess", + initialState, + reducers: { + changeRole: (state, action) => { + const { id } = action?.payload; + state.selectedRole = id; + state.UserId = null; + state.selectedUser = null; + state.AppListData = {}; + state.CmpListData = {}; + state.BranchListData = {}; + }, + changeIntialRole: (state, action) => { + state.selectedRole = getSession("UserType") === 'Admin' ? "Branch Admin" : "Sadmin"; + }, + AddAppList: (state, action) => { + const { AppList } = action?.payload; + state.AppListData = AppList; + }, + + changeUserId: (state, action) => { + state.UserId = action?.payload; + }, + + changeAppAccess: (state, action) => { + state.AppAccess = action?.payload; + }, + + changePostData: (state, action) => { + state.PostDataValue = action?.payload; + }, + + changeCompAccess: (state, action) => { + state.CompAccess = action?.payload; + }, + changeBranchAccess: (state, action) => { + state.BranchAccess = action?.payload; + }, + + changeStore: (state, action) => { + const { storeId } = action?.payload; + state.selectedStore = storeId; + }, + + changeAppName: (state, action) => { + const { AppName } = action?.payload; + state.selectedAppName = AppName; + }, + + changeBranch: (state, action) => { + const { BranchId } = action?.payload; + state.selectedBranch = BranchId; + }, + changeApp: (state, action) => { + const { AppId } = action?.payload; + state.selectedApp = AppId; + }, + changeUser: (state, action) => { + + const { userId } = action?.payload; + state.selectedUser = userId; + }, + + changeEmpDesig: (state, action) => { + const { EmpDesig } = action?.payload; + state.selectedEmpdesig = EmpDesig; + }, + + emptyUserData: (state, action) => { + state.userData = []; + state.EmpDesigData = []; + }, + emptySelectedModule: (state, action) => { + state.selectedModuleBranch = []; + }, + emptyDataList: (state, action) => { + state.AppListData = {}; + state.CmpListData = {}; + state.BranchListData = {}; + }, + emptySelectedModuleBranch: (state, action) => { + state.AppListData = {}; + state.CmpListData = {}; + state.BranchListData = {}; + state.allModules = []; + state.selectedModuleBranch = []; + + }, + emptyModuleBranch: (state, action) => { + state.AppListData = {}; + state.CmpListData = {}; + state.BranchListData = {}; + // state.allModules=[]; + state.selectedModuleBranch = []; + + }, + emptyPostData: (state, action) => { + state.selectedUser = null; + state.selectedApp = null; + state.selectedBranch = null; + state.selectedStore = null; + state.selectedAppName = null; + state.selectedEmpdesig = null; + state.UserId = null; + state.userData = []; + state.EmpDesigData = []; + state.selectedUserData = {}; + state.selectedModuleBranch = []; + state.AppListData = {}; + state.CmpListData = {} + state.BranchListData = {} + state.appData = []; + state.branchData = []; + state.AppAccess = {}; + state.CompAccess = {}; + state.BranchAccess = {}; + state.PostDataValue = []; + + }, + emptySelectedIds: (state, action) => { + state.selectedApp = null; + state.selectedBranch = null; + state.selectedStore = null; + state.selectedEmpdesig = null; + state.selectedUser = null; + state.UserId = null; + }, + getSelectedBranch: (state, action) => { + state.selectedModuleBranch = state.selectedUserData[0]?.ModuleDetails; + }, + updateModuleAccessByModuleTypeId: (state, action) => { + const { AppId } = action?.payload; + + state.selectedModuleBranch = state.selectedModuleBranch.filter( + (eachData) => parseInt(eachData.AppId) != parseInt(AppId) + ); + }, + addModuleAccess: (state, action) => { + state.selectedModuleBranch.push(action?.payload); + }, + updateModuleAccessByBranchId: (state, action) => { + const { BranchId } = action?.payload; + state.selectedModuleBranch = state.selectedModuleBranch.filter( + (eachData) => eachData.AppId != BranchId + ); + }, + removeAppList: (state, action) => { + const { subCat } = action?.payload; + state.AppListData[subCat]?.map((eachApp) => { + + state.CmpListData[eachApp.AppName]?.map((eachCompany) => { + delete state.BranchListData[`${eachApp?.AppName}-${eachCompany?.CompName}`] + }) + delete state.CmpListData[eachApp.AppName] + }) + delete state.AppListData[subCat] + + + + + }, + removeCmpList: (state, action) => { + const { AppName } = action?.payload; + state.CmpListData[AppName]?.map((eachComp) => { + delete state.BranchListData[`${AppName}-${eachComp?.CompName}`] + }) + delete state.CmpListData[AppName] + }, + removeBranchList: (state, action) => { + const { CompName } = action?.payload; + delete state.BranchListData[CompName] + }, + removeBranchAccess: (state, action) => { + const { branchAccessData } = action?.payload; + delete state.BranchAccess[branchAccessData] + }, + removeCompanyAccess: (state, action) => { + const { companyAccessData } = action?.payload; + delete state.CompAccess[companyAccessData] + }, + removeAppAccess: (state, action) => { + const { appAccessData } = action?.payload; + delete state.AppAccess[appAccessData] + }, + + removePostDataValue: (state, action) => { + const postDatas = action?.payload; + if (postDatas.CompId && postDatas.AppId) { + state.PostDataValue.map((deleteData, index) => { + + if (deleteData?.AppId == postDatas.AppId && deleteData?.CompId == postDatas.CompId) { + delete state.PostDataValue[index] + } + }) + + } + + else if (postDatas.AppId) { + state.PostDataValue.map((deleteData, index) => { + if (deleteData?.AppId == postDatas.AppId) { + delete state.PostDataValue[index] + } + }) + } + else if (postDatas.CompId && postDatas.BranchId) { + state.PostDataValue.map((deleteData, index) => { + if (deleteData?.BranchId == postDatas.BranchId && deleteData?.CompId == postDatas.CompId) { + delete state.PostDataValue[index] + } + }) + + } + } + // gettingAdmin : (state, action) => { + // state.AdminData = state.AdminData.filter((eachData) => eachData.ActiveStatus=='A') + // } + }, + extraReducers: (builder) => { + builder.addCase(getBranchDropModule.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode === 1) { + state.branchData = action?.payload?.data?.data; + } else { + state.branchData = []; + } + }); + + builder.addCase(getAppDetails.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode === 1) { + state.appData = action?.payload?.data?.data; + } else { + state.appData = []; + } + }); + + builder.addCase(gettingAdminDropDown.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode === 1) { + state.AdminData = action?.payload?.data?.data; + } else { + state.AdminData = []; + } + }); + + builder.addCase(getDesigUserDetails.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode === 1) { + state.EmpDesigData = action?.payload?.data?.data; + } else { + state.EmpDesigData = []; + } + }); + + builder.addCase(getSadminUser.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode === 1) { + state.userData = action?.payload?.data?.data; + } else { + state.userData = []; + } + }); + builder.addCase(getAllModuleActive.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode === 1) { + state.allModules = action?.payload?.data?.data; + } else { + state.allModules = []; + } + }); + builder.addCase(getStoreAdmin.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode === 1) { + state.userData = action?.payload?.data?.data; + } else { + state.userData = []; + } + }); + builder.addCase(getBranchAdmin.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode === 1) { + state.userData = action?.payload?.data?.data; + } else { + state.userData = []; + } + }); + builder.addCase(getUserData.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode === 1) { + state.selectedUserData = action?.payload?.data?.data; + state.selectedModuleBranch = action?.payload?.data?.data[0]?.ModuleDetails + ? action?.payload?.data?.data[0]?.ModuleDetails + : []; + // .filter( (eachData) => eachData.moduleAccess == 'Y') + } else { + state.selectedUserData = {}; + state.selectedModuleBranch = []; + } + }); + builder.addCase(getBranchBasedOnStoreAndType.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode) { + state.AppListData[action?.payload?.data?.data[0]['SubCategoryName']] = action?.payload?.data?.data + } + }); + + builder.addCase(getCmpDetails.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode) { + state.CmpListData[action?.payload?.data?.data[0]['AppName']] = action?.payload?.data?.data + } + }); + + builder.addCase(getBranchDetails.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode) { + state.BranchListData[`${action?.payload?.data?.data[0]['AppName']}-${action?.payload?.data?.data[0]['CompName']}`] = action?.payload?.data?.data + } + }); + + + + }, +}); + +export const { + changeRole, + changeAppName, + changeStore, + changeBranch, + changeApp, + changeUser, + changeEmpDesig, + emptyUserData, + emptySelectedModule, + emptyPostData, + changeIntialRole, + emptySelectedModuleBranch, + emptyModuleBranch, + emptyDataList, + emptySelectedIds, + updateModuleAccessByModuleTypeId, + addModuleAccess, + updateModuleAccessByBranchId, + changeUserId, + changeAppAccess, + changePostData, + changeCompAccess, + changeBranchAccess, + AddAppList, + removeAppList, + removeCmpList, + removeBranchList, + removePostDataValue, + removeBranchAccess, + removeCompanyAccess, + removeAppAccess, +} = moduleAccess.actions; + + +export const selectRoleSelector = (state) => state.moduleAccess?.selectedRole; +export const selectedStoreSelector = (state) => + state.moduleAccess?.selectedStore; +export const selectedAppNameSelector = (state) => + state.moduleAccess?.selectedAppName; +export const selectedEmpDesigSelector = (state) => + state.moduleAccess?.selectedEmpdesig; +export const selectedBranchIdSelector = (state) => + state.moduleAccess?.selectedBranch; +export const selectedAppIdSelector = (state) => + state.moduleAccess?.selectedApp; +export const selectedUserSelector = (state) => state.moduleAccess?.selectedUser; +export const selectBranchData = (state) => state.moduleAccess?.branchData; +export const selectAppData = (state) => state.moduleAccess?.appData; +export const userDataSelector = (state) => state.moduleAccess?.userData; +export const allModuleSelector = (state) => state.moduleAccess?.allModules; +export const selectedUserDataSelector = (state) => + state.moduleAccess?.selectedUserData; +export const selectedModuleBranchSelector = (state) => + state.moduleAccess?.selectedModuleBranch; +export const gettingAdminSelector = (state) => state.moduleAccess?.AdminData; +export const gettingEmpDesigSelector = (state) => state.moduleAccess?.EmpDesigData; +export const gettingUserId = (state) => state.moduleAccess?.UserId; +export const gettingAppAccess = (state) => state.moduleAccess?.AppAccess; +export const gettingCompAccess = (state) => state.moduleAccess?.CompAccess; +export const gettingBranchAccess = (state) => state.moduleAccess?.BranchAccess; +export const gettingAppListSelector = (state) => state.moduleAccess?.AppListData; +export const gettingCmpListSelector = (state) => state.moduleAccess?.CmpListData; +export const gettingBranchListSelector = (state) => state.moduleAccess?.BranchListData; +export const gettingPostDataValue = (state) => state.moduleAccess?.PostDataValue; +// export const gettingUserCount = (state) => state.moduleAccess?.UserCount; +// export const gettingFeatUserCount = (state) => state.moduleAccess?.FeatUserCount; + +export default moduleAccess.reducer; diff --git a/src/features/Navbar/Navbar.js b/src/features/Navbar/Navbar.js new file mode 100644 index 0000000..ed27c8a --- /dev/null +++ b/src/features/Navbar/Navbar.js @@ -0,0 +1,35 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + + + +export const getNavListData = createAsyncThunk('navbar/getNavlist', async () => { + return await axiosInstanceData.get('/configMaster?ActiveStatus=A&TypeName=Navbar') +}) + + +const initialState = { + Navlist: [] +} + +const getNavListDataSlice = createSlice({ + name:'Navlist', + initialState, + extraReducers: builder => { + builder.addCase(getMessagetemplateData.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.MessagetemplateData = action?.payload?.data?.data + } + else { + state.MessagetemplateData = [] + } + + }) + + } + +}) + +export const NavlistSelector = state => state.Navlist?.Navlist +export default getNavListDataSlice.reducer; + diff --git a/src/features/PaymentPdfPageCommon/paymentPdfPageCommon.jsx b/src/features/PaymentPdfPageCommon/paymentPdfPageCommon.jsx new file mode 100644 index 0000000..a69d32b --- /dev/null +++ b/src/features/PaymentPdfPageCommon/paymentPdfPageCommon.jsx @@ -0,0 +1,37 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +export const getUserMappDetails = createAsyncThunk('getUserMappDetails/getUserMappDetails', async (BookingId) => { + if(BookingId !=null && BookingId !=undefined){ + return await axiosInstanceData.get(`/userAppMap?UniqueId=${BookingId}`); + } + }); + + +const initialState = { + UserMappDetails: [] +} + +const UserMappDetailsSlice = createSlice({ + name:'getUserMappDetails', + initialState, + extraReducers: builder => { + builder.addCase(getUserMappDetails.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.priceData = action?.payload?.data?.data + } + else { + state.UserMappDetails = [] + } + + }) + } + +}) + +export const UserMappDetailsSelector = state => state.UserMappDetails?.UserMappDetails + + + + +export default UserMappDetailsSlice.reducer; \ No newline at end of file diff --git a/src/features/SEO/seo.js b/src/features/SEO/seo.js new file mode 100644 index 0000000..e487db3 --- /dev/null +++ b/src/features/SEO/seo.js @@ -0,0 +1,59 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import { axiosInstanceData } from '../AuthenticationTokens/AuthenticationToken'; + +const apiUrl = import.meta.env.ENV_API_URL; +const uploadApiUrl = import.meta.env.ENV_IMAGE_UPLOAD_API_URL; + +export const postSeo = createAsyncThunk('Seo/postSeo', async (data) => { + return await axiosInstanceData.post('/Seo', data) +}) + +export const putSeo = createAsyncThunk('Seo/putSeo', async (data) => { + return await axiosInstanceData.put('/Seo', data) +}) + +export const getSeo = createAsyncThunk('Seo/getSeo', async ({ PageId }) => { + return await axiosInstanceData.get(`/Seo?pageId=${PageId}`) +}) + +export const getSeoByTitle = createAsyncThunk('Seo/getSeoByTitle', async ({ MetaTitle }) => { + return await axiosInstanceData.get(`/Seo?metaTitle=${MetaTitle}`) +}) + +export const getAllSeo = createAsyncThunk('Seo/getAllSeo', async () => { + return await axiosInstanceData.get(`/Seo`) +}) + +const initialState = { + seoData: [], + loading: false, + error: null +} + +const seoSlice = createSlice({ + name: 'seo', + initialState, + reducers: {}, + extraReducers: (builder) => { + builder + .addCase(getSeo.pending, (state) => { + state.loading = true; + }) + .addCase(getSeo.fulfilled, (state, action) => { + state.loading = false; + state.seoData = action.payload?.data?.data || []; + }) + .addCase(getSeo.rejected, (state, action) => { + state.loading = false; + state.error = action.error.message; + }) + .addCase(postSeo.fulfilled, (state, action) => { + state.loading = false; + }) + .addCase(putSeo.fulfilled, (state, action) => { + state.loading = false; + }); + } +}) + +export default seoSlice.reducer; diff --git a/src/features/SmsCountAssigned/smsCountassign.js b/src/features/SmsCountAssigned/smsCountassign.js new file mode 100644 index 0000000..30141b6 --- /dev/null +++ b/src/features/SmsCountAssigned/smsCountassign.js @@ -0,0 +1,23 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import axios from "axios"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +const apiUrl = import.meta.env.ENV_API_URL; + + +export const getSMSCount = createAsyncThunk('SMSCount/getSMSCount', async () => { + return await axiosInstanceData.get(`/SMSAssign`) +}) + + +export const postSMSCount = createAsyncThunk('SMSCount/postSMSCount', async (postData) => { + + return await axiosInstanceData.post(`/SMSAssign`, postData) +}) + +export const putSMSCount = createAsyncThunk('SMSCount/putSMSCount', async (putData) => { + + return await axiosInstanceData.put(`/SMSAssign`, putData) +}) + + diff --git a/src/features/api/apiSlice.js b/src/features/api/apiSlice.js new file mode 100644 index 0000000..25e1446 --- /dev/null +++ b/src/features/api/apiSlice.js @@ -0,0 +1,11 @@ +import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react' + +const apiUrl = import.meta.env.ENV_API_URL || '' + +export const apiSlice = createApi({ + baseQuery: fetchBaseQuery({baseUrl: apiUrl}), + tagTypes: ['Post', 'User'], + endpoints: builder => ({}) +}) + + diff --git a/src/features/appAccessPage/appAccessPage.js b/src/features/appAccessPage/appAccessPage.js new file mode 100644 index 0000000..d56c5ac --- /dev/null +++ b/src/features/appAccessPage/appAccessPage.js @@ -0,0 +1,106 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import axios from "axios"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +const apiUrl = import.meta.env.ENV_API_URL; + + +export const getActiveAppCompanyData = createAsyncThunk('appAccess/getActiveAppCompanyData', async (AppAccessData) => { + if (AppAccessData?.AppId != null && AppAccessData?.AppId != undefined && AppAccessData?.UserId != null && AppAccessData?.UserId != undefined) { + return await axiosInstanceData.get(`/appAccess?AppId=${AppAccessData?.AppId}&UserId=${AppAccessData?.UserId}&ActiveStatus=A`) + } + else if (AppAccessData?.AppId != null && AppAccessData?.AppId != undefined) { + return await axiosInstanceData.get(`/appAccess?AppId=${AppAccessData?.AppId}`) + } +}) + +export const getActiveAppBranchData = createAsyncThunk('appAccess/getActiveAppBranchData', async (AppAccessData) => { + if (AppAccessData?.AppId != null && AppAccessData?.AppId != undefined && AppAccessData?.UserId != null && AppAccessData?.UserId != undefined && AppAccessData?.CompId != null && AppAccessData?.CompId != undefined) { + return await axiosInstanceData.get(`/appAccess?AppId=${AppAccessData?.AppId}&UserId=${AppAccessData?.UserId}&CompId=${AppAccessData?.CompId}&ActiveStatus=A`) + } +}) + +export const getCompanyData = createAsyncThunk('appAccess/getCompanyData', async ({ CompId }) => { + if (CompId != null && CompId != undefined) { + return await axios.get(`${apiUrl}/company?CompId=${CompId}`) + } +}) +export const getfeatconstrains = createAsyncThunk('getfeatconstrains', async (data) => { + if(data?.AppId != null && data?.AppId != undefined && data?.UserId != null && data?.UserId != undefined && data?.UniqueId != null && data?.UniqueId != undefined && data?.PricingId != null && data?.PricingId != undefined){ + return await axiosInstanceData.get(`/UserAppMap?AppId=${data?.AppId}&UserId=${data?.UserId}&UniqueId=${data?.UniqueId}&PricingId=${data?.PricingId}`); + } +}); + +export const getallplanDtl = createAsyncThunk('getallplanDtl', async (datas) => { + if(datas?.AppId != null && datas?.AppId != undefined && datas?.UserId != null && datas?.UserId != undefined){ + return await axiosInstanceData.get(`/AllDetailPlanMod?AppId=${datas?.AppId}&UserId=${datas?.UserId}`); + + } +}); + +export const postDowngrade = createAsyncThunk('postDowngrade', async (postData) => { + return await axiosInstanceData.post(`/ModifySubcription`, postData) +}) + +export const putFeaturechange = createAsyncThunk('putFeaturechange', async (putData) => { + return await axiosInstanceData.put(`/ModifySubcription`, putData) +}) +export const getAppCompanyData = createAsyncThunk('appAccess/getAppCompanyData', async (AppAccessData) => { +if(AppAccessData?.AppId != null && AppAccessData?.AppId != undefined && AppAccessData?.UserId != null && AppAccessData?.UserId != undefined && AppAccessData?.CompId != undefined && AppAccessData?.CompId != null&& AppAccessData?.BrId != null ) { + return await axiosInstanceData.get(`/appAccess?AppId=${AppAccessData?.AppId}&UserId=${AppAccessData?.UserId}&CompId=${AppAccessData?.CompId}&BrId=${AppAccessData?.BrId} `) +} +else if(AppAccessData?.AppId != null && AppAccessData?.AppId != undefined && AppAccessData?.UserId != null && AppAccessData?.UserId != undefined && AppAccessData?.CompId != undefined && AppAccessData?.CompId != null) { + return await axiosInstanceData.get(`/appAccess?AppId=${AppAccessData?.AppId}&UserId=${AppAccessData?.UserId}&CompId=${AppAccessData?.CompId}`) +} +else if (AppAccessData?.AppId != null && AppAccessData?.AppId != undefined && AppAccessData?.UserId != null && AppAccessData?.UserId != undefined && AppAccessData?.Type !=null) { + return await axiosInstanceData.get(`/appAccess?AppId=${AppAccessData?.AppId}&UserId=${AppAccessData?.UserId}&Type=A`) + } +else if ( AppAccessData?.UserId != null && AppAccessData?.UserId != undefined ) { + return await axiosInstanceData.get(`/appAccess?userId=${AppAccessData?.UserId}`) +} +}) +export const getAppCompanyDataUsers = createAsyncThunk('appAccess/getAppCompanyData', async (AppAccessData) => { + if(AppAccessData?.AppId != null && AppAccessData?.AppId != undefined && AppAccessData?.UserId != null && AppAccessData?.UserId != undefined && AppAccessData?.CompId != undefined && AppAccessData?.CompId != null&& AppAccessData?.BrId != null ) { + return await axiosInstanceData.get(`/appAccess?AppId=${AppAccessData?.AppId}&CompId=${AppAccessData?.CompId}&BranchId=${AppAccessData?.BrId}`) + +} + +}) +const initialState = { + appCompanyData: [], + appBranchData: [], +} + +const appAccessSlice = createSlice({ + name: 'appAccess', + initialState, + extraReducers: builder => { + builder.addCase(getActiveAppCompanyData.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.appCompanyData = action?.payload?.data?.data + } + else { + state.appCompanyData = [] + } + + }) + builder.addCase(getActiveAppBranchData.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.appBranchData = action?.payload?.data?.data + } + else { + state.appBranchData = [] + } + + }) + + + } + +}) + + +export const appCompanyDataSelector = state => state.appAccessPage?.appCompanyData +export const appBranchDataSelector = state => state.appAccessPage?.appBranchData + +export default appAccessSlice.reducer; \ No newline at end of file diff --git a/src/features/appMenu/appMenu.js b/src/features/appMenu/appMenu.js new file mode 100644 index 0000000..e7b318f --- /dev/null +++ b/src/features/appMenu/appMenu.js @@ -0,0 +1,93 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import axios from "axios"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +const apiUrl = import.meta.env.ENV_API_URL; + + +export const getAppMenu = createAsyncThunk('appMenu/getAppMenu', async (AppId) => { + if(AppId != null && AppId != undefined){ + return await axiosInstanceData.get(`/appMenu?AppId=${AppId}`) + } +}) + +export const getLevelOneMenu = createAsyncThunk('appMenu/getLevelOneMenu', async ({AppId,Level}) => { + if(AppId != null && AppId != undefined && Level != null && Level != undefined){ + return await axiosInstanceData.get(`/appMenu?AppId=${AppId}&Level=${Level}`) + } +}) + +export const getLevelTwoMenu = createAsyncThunk('appMenu/getLevelTwoMenu', async ({AppId,Level,Level1Id}) => { + if(AppId != null && AppId != undefined && Level != null && Level != undefined && Level1Id != null && Level1Id != undefined){ + return await axiosInstanceData.get(`/appMenu?AppId=${AppId}&Level=${Level}&Level1Id=${Level1Id}`) + } +}) + +export const getLevelThreeMenu = createAsyncThunk('appMenu/getLevelThreeMenu', async ({AppId,Level,Level1Id,Level2Id}) => { + if(AppId != null && AppId != undefined && Level != null && Level != undefined && Level1Id != null && Level1Id != undefined && Level2Id != null && Level2Id != undefined){ + return await axiosInstanceData.get(`/appMenu?AppId=${AppId}&Level=${Level}&Level1Id=${Level1Id}&Level2Id=${Level2Id}`) + } +}) + +export const getAppMenuList = createAsyncThunk('appMenu/getAppMenuList', async () => { + return await axiosInstanceData.get(`/appMenu`) +}) + +export const getApplication = createAsyncThunk('appMenu/application', async () => { + return await axios.get(`${apiUrl}/application`) +}) + +export const postAppMenu = createAsyncThunk('appMenu/postCompanyData', async (postData) => { + + return await axiosInstanceData.post(`/appMenu`, postData) +}) + +export const putAppMenu= createAsyncThunk('appMenu/putCompanyData', async (putData) => { + + return await axiosInstanceData.put(`/appMenu`, putData) +}) + +export const deleteAppMenu = createAsyncThunk('appMenu/deleteCompanyData', async (deleteData) => { + if(deleteData?.MenuId && deleteData?.ActiveStatus && deleteData?.UpdatedBy){ + return await axiosInstanceData.delete(`/appMenu?MenuId=${deleteData?.MenuId}&ActiveStatus=${deleteData?.ActiveStatus}&UpdatedBy=${deleteData?.UpdatedBy}`) + } +}) + + +const initialState = { + appData: [], + appListData:[], +} + +const appMenuSlice = createSlice({ + name:'appMenu', + initialState, + extraReducers: builder => { + builder.addCase(getAppMenu.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.appData = action?.payload?.data?.data + } + else { + state.appData = [] + } + + }) + builder.addCase(getAppMenuList.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.appListData = action?.payload?.data?.data + } + else { + state.appListData = [] + } + + }) + } + +}) + +export const appDataSelector = state => state.appData?.appData +export const appMenuListDataSelector = state => state.appListData?.appListData + + + +export default appMenuSlice.reducer; \ No newline at end of file diff --git a/src/features/appMenuAccess/appMenuAccess.js b/src/features/appMenuAccess/appMenuAccess.js new file mode 100644 index 0000000..355f69c --- /dev/null +++ b/src/features/appMenuAccess/appMenuAccess.js @@ -0,0 +1,47 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + + +export const getSadminUser = createAsyncThunk( + "appMenuAccess/getSadminUser", + async () => { + return await axiosInstanceData.get('/login?Type=Super Admin User'); + } +); + +export const getApplications = createAsyncThunk( + "appMenuAccess/getApplications", + async ({ UserId }) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/appAccess?UserId=${UserId}`); + } + } +); + +export const getMenu = createAsyncThunk( + "appMenuAccess/getMenu", + async ({ AppId }) => { + if (AppId != null && AppId != undefined) { + return await axiosInstanceData.get(`/appMenu?AppId=${AppId}`); + } + } +); + +export const getPreviousMenu = createAsyncThunk( + "appMenuAccess/getPreviousMenu", + async ({ AppId, UserId }) => { + if (AppId != null && AppId != undefined && UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/AppMenuAccess?AppId=${AppId}&UserId=${UserId}`); + } + } +); + +export const postAppMenuAccess = createAsyncThunk('appMenuAccess/postAppMenuAccess', async (postData) => { + + return await axiosInstanceData.post(`/AppMenuAccess`, postData) +}) + +export const putAppMenuAccess = createAsyncThunk('appMenuAccess/putAppMenuAccess', async (putData) => { + + return await axiosInstanceData.put(`/AppMenuAccess`, putData) +}) diff --git a/src/features/appPage/centerPage.js b/src/features/appPage/centerPage.js new file mode 100644 index 0000000..e945bb9 --- /dev/null +++ b/src/features/appPage/centerPage.js @@ -0,0 +1,34 @@ +import { createSlice } from '@reduxjs/toolkit'; + + +const initialState = { + 'breadCrumb': [] +} + +const centerPageSlice = createSlice({ + name:'centerPage', + initialState, + reducers: { + changeBreadCrumb: (state, action) => { + const { items } =action?.payload + state.breadCrumb = items + }, + emptyBreadCrumb:(state,action)=>{ + state.breadCrumb = [] + } + } +}) + +export const { changeBreadCrumb,emptyBreadCrumb } = centerPageSlice.actions; + +export const breadCrumbSelector = state => state.centerPage?.breadCrumb; + +export default centerPageSlice.reducer; + + + + + + + + diff --git a/src/features/applicationImagePage/applicationImagePage.js b/src/features/applicationImagePage/applicationImagePage.js new file mode 100644 index 0000000..8e18f5f --- /dev/null +++ b/src/features/applicationImagePage/applicationImagePage.js @@ -0,0 +1,49 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import axios from "axios"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; +const apiUrl = import.meta.env.ENV_API_URL; + +export const getApplicationImageData = createAsyncThunk('applicationImage/getApplicationImageData', async () => { + return await axiosInstanceData.get('/appImage') +}) + +export const postApplicationImageData = createAsyncThunk('applicationImage/postApplicationImageData', async (postData) => { + + return await axiosInstanceData.post('/appImage', postData) +}) + +export const putApplicationImageData = createAsyncThunk('applicationImage/putApplicationImageData', async (putData) => { + + return await axiosInstanceData.put('/appImage', putData) +}) + +export const deleteApplicationImageData = createAsyncThunk('applicationImage/deleteApplicationImageData', async (deleteData) => { + + return await axiosInstanceData.delete('/appImage', { params: deleteData }) +}) + +const initialState = { + applicationImageData: [] +} + +const applicationImageSlice = createSlice({ + name:'applicationImage', + initialState, + extraReducers: builder => { + builder.addCase(getApplicationImageData.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.applicationImageData = action?.payload?.data?.data + } + else { + state.applicationImageData = [] + } + }) + } + +}) + +export const applicationImageDataSelector = state => state.applicationImagePage?.applicationImageData + + + +export default applicationImageSlice.reducer; \ No newline at end of file diff --git a/src/features/applicationPage/applicationPage.js b/src/features/applicationPage/applicationPage.js new file mode 100644 index 0000000..557f767 --- /dev/null +++ b/src/features/applicationPage/applicationPage.js @@ -0,0 +1,99 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; +import axios from "axios"; + +const apiUrl = import.meta.env.ENV_API_URL; + +export const getApplicationData = createAsyncThunk('application/getApplicationData', async () => { + return await axios.get(`${apiUrl}/application`) +}) + +export const getActiveApplicationData = createAsyncThunk('application/getActiveApplicationData', async () => { + return await axios.get(`${apiUrl}/application?ActiveStatus=A`) +}) + +export const postApplicationData = createAsyncThunk('application/postApplicationData', async (postData) => { + + return await axiosInstanceData.post('/application', postData) +}) + +export const putApplicationData = createAsyncThunk('application/putApplicationData', async (putData) => { + + return await axiosInstanceData.put('/application', putData) +}) + +export const deleteApplicationData = createAsyncThunk('application/deleteApplicationData', async (deleteData) => { + + return await axiosInstanceData.delete('/application', { params: deleteData }) +}) + +export const getCategoryData = createAsyncThunk('configMaster/getCategoryData', async () => { + return await axiosInstanceData.get('/configMaster?ActiveStatus=A&TypeName=Module') +}) + +export const getSubCategoryData = createAsyncThunk('configMaster/getSubCategoryData', async () => { + return await axiosInstanceData.get('/configMaster?ActiveStatus=A&TypeName=Sub Module') +}) +export const getMasterData = createAsyncThunk('configMaster/getSubCategoryData', async () => { + return await axiosInstanceData.get('/configMaster?ActiveStatus=A&TypeName=Master Access') +}) + +const initialState = { + applicationData: [], + applicationActiveData: [], + categoryData:[], + subCategoryData:[] +} + +const applicationSlice = createSlice({ + name:'application', + initialState, + extraReducers: builder => { + builder.addCase(getApplicationData.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.applicationData = action?.payload?.data?.data + } + else { + state.applicationData = [] + } + + }) + builder.addCase(getActiveApplicationData.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.applicationActiveData = action?.payload?.data?.data + } + else { + state.applicationActiveData = [] + } + + }) + builder.addCase(getCategoryData.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.categoryData = action?.payload?.data?.data + } + else { + state.categoryData = [] + } + + }) + builder.addCase(getSubCategoryData.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.subCategoryData = action?.payload?.data?.data + } + else { + state.subCategoryData = [] + } + + }) + } + +}) + +export const applicationDataSelector = state => state.applicationPage?.applicationData +export const applicationActiveDataSelector = state => state.applicationPage?.applicationActiveData +export const categoryActiveDataSelector = state => state.applicationPage?.categoryData +export const subCategoryActiveDataSelector = state => state.applicationPage?.subCategoryData + + + +export default applicationSlice.reducer; \ No newline at end of file diff --git a/src/features/applications/applications.js b/src/features/applications/applications.js new file mode 100644 index 0000000..b0b8849 --- /dev/null +++ b/src/features/applications/applications.js @@ -0,0 +1,31 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import axios from "axios"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + + +const apiUrl = import.meta.env.ENV_API_URL + +export const getAllApplications = createAsyncThunk('application/getApplicationData', async({userId})=> { + if(userId != null && userId != undefined){ + return axios.get(`${apiUrl}/application?UserId=${userId}&Type=H`) + } +}) + +export const getUserData = createAsyncThunk('application/getApplicationData', async({userId})=> { + if(userId != null && userId != undefined){ + return axiosInstanceData.get(`/user?UserId=${userId}&ActiveStatus=A`) + } +}) + +const initialState = { + allApplications : [] +} + +const applicationSlice = createSlice({ + name: 'applications', + initialState, +}) + +export const allApplicationsSelector = state => state.applications? state.applications.allApplications: initialState.allApplications + +export default applicationSlice.reducer \ No newline at end of file diff --git a/src/features/applications/bannerImage.js b/src/features/applications/bannerImage.js new file mode 100644 index 0000000..8820bff --- /dev/null +++ b/src/features/applications/bannerImage.js @@ -0,0 +1,111 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import axios from "axios"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +const apiUrl = import.meta.env.ENV_API_URL; +const uploadApiUrl = import.meta.env.ENV_IMAGE_UPLOAD_API_URL; + +export const getBannerImage = createAsyncThunk('application/getBannerImage', async () => { + return await axios.get(`${apiUrl}/application?ActiveStatus=A`); +}); + +export const getApplication = createAsyncThunk('application/getApplication', async () => { + return await axios.get(`${apiUrl}/application?Type=A`); +}); +export const getApplicationPreferenceMapping = createAsyncThunk('application/getApplication', async () => { + return await axios.get(`${apiUrl}/application`); +}); +export const getApplicationCategory = createAsyncThunk('application/getApplicationCategory', async (CateId) => { + if (CateId != null && CateId != undefined) { + return await axios.get(`${apiUrl}/application?CateId=${CateId}`); + } +}); + +export const getApplicationSubCategory = createAsyncThunk('application/getApplicationSubCategory', async (SubId) => { + if (SubId != null && SubId != undefined) { + return await axios.get(`${apiUrl}/application?SubId=${SubId}`); + } +}); + +export const onlineimages = createAsyncThunk('application/onlineimages', async (data) => { + if (data != null && data != undefined) { + return await axiosInstanceData.get(`/Image?Name=${data}`); + } +}) + +export const uploadImage = createAsyncThunk('upload/uploadImage', async (file) => { + let formdata = new FormData(); + formdata.append("file", file); + return await axiosInstanceData.post(`${uploadApiUrl}/upload`, formdata) +}) + + + +const initialState = { + BannerImage: [], + Applications: [], + ApplicationCategory: [], + ApplicationSubCategory: [], +} + +const BannerImageSlice = createSlice({ + name: 'bannerImage', + initialState, + extraReducers: builder => { + + builder.addCase(getBannerImage.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.BannerImage = action?.payload?.data; + + } + else { + state.BannerImage = null; + } + + }) + + builder.addCase(getApplication.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.Applications = action?.payload?.data; + + } + else { + state.Applications = null; + } + + }) + + builder.addCase(getApplicationCategory.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.ApplicationCategory = action?.payload?.data; + + } + else { + state.ApplicationCategory = null; + } + + }) + + builder.addCase(getApplicationSubCategory.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.ApplicationSubCategory = action?.payload?.data; + + } + else { + state.ApplicationSubCategory = null; + } + + }) + } + +}) + +export const BannerImageSelector = (state) => state.bannerImage?.BannerImage +export const ApplicationsSelector = (state) => state.bannerImage?.Applications +export const ApplicationCategorySelector = (state) => state.bannerImage?.ApplicationCategory +export const ApplicationSubCategorySelector = (state) => state.bannerImage?.ApplicationSubCategory + + + + +export default BannerImageSlice.reducer; \ No newline at end of file diff --git a/src/features/branchPage/branchPage.js b/src/features/branchPage/branchPage.js new file mode 100644 index 0000000..224f8fd --- /dev/null +++ b/src/features/branchPage/branchPage.js @@ -0,0 +1,272 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import { getSession } from "../../Services/others"; +import { axiosInstanceData } from '../AuthenticationTokens/AuthenticationToken'; + + +const UserType = getSession("UserType") +export const getBranchData = createAsyncThunk('branch/getBranchData', async () => { + return await axiosInstanceData.get('/branch') +}) +export const getBranchDataUsingCompId= createAsyncThunk('branch/getBranchData', async ({CompId,AppId}) => { + return await axiosInstanceData.get(`/branch?compId=${CompId}&appId=${AppId}`) +}) + +export const postBranchData = createAsyncThunk('branch/postBranchData', async (postData) => { + + return await axiosInstanceData.post('/branch', postData) +}) + +export const putBranchData = createAsyncThunk('branch/putBranchData', async (putData) => { + + return await axiosInstanceData.put('/branch', putData) +}) + +export const deleteBranchData = createAsyncThunk('branch/deleteBranchData', async (deleteData) => { + + return await axiosInstanceData.delete('/branch', { params: deleteData }) +}) + +export const getActiveBranchData = createAsyncThunk('branch/getActiveBranchData', async () => { + return await axiosInstanceData.get('/branch?ActiveStatus=A') +}) + +export const getActiveAdminData = createAsyncThunk('branch/getActiveAdminData', async () => { + return await axiosInstanceData.get('/user?UserType=A') +}) + +export const getAdminNames = createAsyncThunk('login/getAdminNames', async () => { + return await axiosInstanceData.get('/login?Type=Admin') +}) + +export const getBranchAdminUsers = createAsyncThunk('branch/getBranchAdminUsers', async (UserId) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/branch?UserId=${UserId}`) + } + +}) +export const getWarehouseUsers = createAsyncThunk('branch/getBranchAdminUsers', async (UserId) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/branch?UserId=${UserId}&Type=W`) + } + else { + return await axiosInstanceData.get(`/branch?Type=W`) + + } + +}) + +export const getBranchApplications = createAsyncThunk('userAppMap/getBranchApplications', async (UserId) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/userAppMap?UserId=${UserId}`) + } + else { + return await axiosInstanceData.get('/userAppMap') + } +}) + +export const getApplicationCompany = createAsyncThunk('appAccess/getApplicationCompany', async (AppId) => { + if (AppId != null && AppId != undefined) { + return await axiosInstanceData.get(`/appAccess?AppId=${AppId}`) + } +}) + +export const getUserAppCompany = createAsyncThunk('appAccess/getUserAppCompany', async (getCompData) => { + if (getCompData.UserId != null && getCompData.UserId != undefined && getCompData.AppId != null && getCompData.AppId != undefined) { + return await axiosInstanceData.get(`/appAccess?UserId=${getCompData.UserId}&AppId=${getCompData.AppId}`) + } +}) +export const checkTrialBranch = createAsyncThunk('appAccess/checkTrialBranch', async (getCompData) => { + if (getCompData.UserId != null && getCompData.UserId != undefined && getCompData.AppId != null && getCompData.AppId != undefined) { + return await axiosInstanceData.get(`/appAccess?UserId=${getCompData.UserId}&AppId=${getCompData.AppId}&Type=T`) + } +}) + +export const getBranchDataBasedOnCompany = createAsyncThunk('branch/getCompanyDataBasedOnApp', async ({ UserId, AppId, CompId }) => { + if (UserId != null && UserId != undefined && AppId != null && AppId != undefined && CompId != null && CompId != undefined) { + return await axiosInstanceData.get(`/appAccess?UserId=${UserId}&AppId=${AppId}&CompId=${CompId}`) + } +}) +export const getCompanyDataBasedOnApp = createAsyncThunk('branch/getCompanyDataBasedOnApp', async ({ UserId, AppId }) => { + if (UserId != null && UserId != undefined && AppId != null && AppId != undefined) { + return await axiosInstanceData.get(`/appAccess?UserId=${UserId}&AppId=${AppId}`) + } +}) +export const getActiveAppData = createAsyncThunk('branch/getActiveAppData', async (UserId) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/appAccess?UserId=${UserId}&Type=AD&ActiveStatus=A`) + } +}) +export const getActiveAdminDatauserapp = createAsyncThunk('branch/getActiveAdminData', async () => { + return await axiosInstanceData.get('/user?UserType=NA') +}) + +export const getUseridbasedbranchdata = createAsyncThunk('branch/getUseridbasedbranchdata', async ({ UserId }) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/appAccess?UserId=${UserId}`) + } +}); + +export const postWarehouseData = createAsyncThunk('wareHouse/postWarehouseData', async (data) => { + return await axiosInstanceData.post(`/warehouse`, data) +}); + +const initialState = { + branchData: [], + branchActiveData: [], + AdminNames: [], + BranchAdminUsers: [], + BranchApplicationNames: [], + ApplicationCompany: [], + UserAppCompany: [], + BranchCounts: [], + AppPreferences: [] +} + +const branchSlice = createSlice({ + name: 'branch', + initialState, + reducers: { + companyname: (state, action) => { + state.UserAppCompany = [] + }, + }, + extraReducers: builder => { + builder.addCase(getCommonAppPreference.fulfilled, (state, action) => { + if (action?.payload?.status === 200) { + const { data: result } = action?.payload; + if (result?.data?.length > 0) { + state.AppPreferences = result?.data; + } else { + state.AppPreferences = []; + } + } + }); + builder.addCase(getBranchData.fulfilled, (state, action) => { + + if (action?.payload?.status) { + state.branchData = action?.payload?.data?.data + } + else { + + state.branchData = [] + } + + }) + + builder.addCase(getActiveBranchData.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.branchActiveData = action?.payload?.data?.data + } + else { + state.branchActiveData = [] + } + + }) + + builder.addCase(getAdminNames.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.AdminNames = action?.payload?.data?.data + } + else { + state.AdminNames = [] + } + + }) + + builder.addCase(getBranchAdminUsers.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.BranchAdminUsers = action?.payload?.data?.data + } + else { + state.BranchAdminUsers = [] + } + + }) + builder.addCase(getBranchApplications.fulfilled, (state, action) => { + if (action?.payload?.status) { + if (UserType === "Admin" || UserType === "Admin User") { + let currentDate = new Date(); + let filteredData = action?.payload?.data?.data?.filter(item => { + let validityEnd = new Date(item.ValidityEnd); + return validityEnd >= currentDate; + }); + state.BranchApplicationNames = filteredData + } else { + state.BranchApplicationNames = action?.payload?.data?.data + } + + } + else { + state.BranchApplicationNames = [] + } + + }) + + builder.addCase(getApplicationCompany.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.ApplicationCompany = action?.payload?.data?.data + state.UserAppCompany = [] + } + else { + state.ApplicationCompany = [] + state.UserAppCompany = [] + } + + }) + + builder.addCase(getUserAppCompany.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.UserAppCompany = action?.payload?.data?.data + } + else { + state.UserAppCompany = [] + } + + }) + builder.addCase(checkTrialBranch.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.BranchCounts = action?.payload?.data?.data + } + else { + state.BranchCounts = [] + } + + }) + + } + +}) + +export const getCommonAppPreference = createAsyncThunk( + '/getAppPreference', + async (AppId) => { + if ( + AppId != null && + AppId != undefined + ) { + return await axiosInstanceData.get( + `/ApplicationPreferenceMapping?AppId=${AppId}` + ); + } + } +); + + + +export const { + companyname, +} = branchSlice.actions; + +export const branchDataSelector = state => state.branchPage?.branchData +export const branchActiveDataSelector = state => state.branchPage?.branchActiveData +export const AdminNamesSelector = state => state.branchPage?.AdminNames +export const BranchAdminSelector = state => state.branchPage?.BranchAdminUsers +export const BranchApplicationNamesSelector = state => state.branchPage?.BranchApplicationNames +export const ApplicationCompanySelector = state => state.branchPage?.ApplicationCompany +export const UserAppCompanySelector = state => state.branchPage?.UserAppCompany +export const checkTrialBranchSelector = state => state.branchPage?.BranchCounts +export const ApplicationPreferences = state => state.branchPage?.AppPreferences + +export default branchSlice.reducer; + + diff --git a/src/features/carouselPage/carouselPage.js b/src/features/carouselPage/carouselPage.js new file mode 100644 index 0000000..b08f33f --- /dev/null +++ b/src/features/carouselPage/carouselPage.js @@ -0,0 +1,69 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + + + +export const getCarouselData = createAsyncThunk('carousel/getCarouselData', async () => { + return await axiosInstanceData.get('/carousel') +}) + +export const deleteCarouselData = createAsyncThunk('carousel/deleteCarouselData', async (deleteData) => { + + return await axiosInstanceData.delete('/carousel', { params: deleteData }) +}) + +export const postCarouselData = createAsyncThunk('carousel/postCarouselData', async (postData) => { + + return await axiosInstanceData.post('/carousel', postData) +}) + +export const putCarouselData = createAsyncThunk('carousel/putCarouselData', async (putData) => { + + return await axiosInstanceData.put('/carousel', putData) +}) + +export const getConfigNames = createAsyncThunk('configMaster/getConfigNames', async () => { + return await axiosInstanceData.get('/configMaster?ActiveStatus=A&TypeName=Screen Name') +}) + + + + +const initialState = { + carouselData: [], + ConfigNames:[], +} + +const carouselSlice = createSlice({ + name:'carousel', + initialState, + extraReducers: builder => { + builder.addCase(getCarouselData.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.carouselData = action?.payload?.data?.data + } + else { + state.carouselData = [] + } + + }) + + builder.addCase(getConfigNames.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.ConfigNames = action?.payload?.data?.data + } + else { + state.ConfigNames = [] + } + + }) + } + +}) + +export const carouselDataSelector = state => state.carouselPage?.carouselData +export const ConfigNamesSelector = state => state.carouselPage?.ConfigNames + + + +export default carouselSlice.reducer; \ No newline at end of file diff --git a/src/features/companyPage/companyPage.js b/src/features/companyPage/companyPage.js new file mode 100644 index 0000000..c50ed58 --- /dev/null +++ b/src/features/companyPage/companyPage.js @@ -0,0 +1,173 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import { getSession } from "../../Services/others"; +import {axiosInstanceData, axiosRetailInstanceData} from '../AuthenticationTokens/AuthenticationToken'; +import axios from "axios"; + +const apiUrl = import.meta.env.ENV_API_URL; + +const UserType = getSession("UserType") + +export const getCompanyData = createAsyncThunk('company/getCompanyData', async () => { + return await axios.get(`${apiUrl}/company`) +}) +export const getCompanyDataUsingAppId = createAsyncThunk('company/getCompanyDataUsingAppId', async (appId) => { + return await axios.get(`${apiUrl}/company?appId=${appId}&Type=A`) +}) + +export const getUserRoles = createAsyncThunk('company/getUserRoles', async () => { + return await axiosInstanceData.get('/configMaster?ActiveStatus=A&TypeName=User Role') +}) + +export const getActiveCompanyData = createAsyncThunk('company/getActiveCompanyData', async (UserId) => { + if (UserId != null && UserId != undefined) { + return await axios.get(`${apiUrl}/company?UserId=${UserId}`) + + } + else { + return await axios.get(`${apiUrl}/company?ActiveStatus=A`) + + } +}) + +export const postCompanyData = createAsyncThunk('company/postCompanyData', async (postData) => { + + return await axiosInstanceData.post('/company', postData) +}) + +export const putCompanyData = createAsyncThunk('company/putCompanyData', async (putData) => { + + return await axiosInstanceData.put('/company', putData) +}) + +export const deleteCompanyData = createAsyncThunk('company/deleteCompanyData', async (deleteData) => { + + return await axiosInstanceData.delete('/company', { params: deleteData }) +}) + +export const getAdminNames = createAsyncThunk('login/getAdminNames', async () => { + return await axiosInstanceData.get('/login?Type=Admin') +}) + +export const getAdminUsers = createAsyncThunk('company/getAdminUsers', async (UserId) => { + if (UserId != null && UserId != undefined) { + return await axios.get(`${apiUrl}/company?UserId=${UserId}`) + } +}) + +export const getApplications = createAsyncThunk('userAppMap/getApplications', async (UserId) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/userAppMap?UserId=${UserId}`) + + }else { + return await axiosInstanceData.get('/userAppMap') + + } +}) + +export const checkTrialCompany = createAsyncThunk('userAppMap/checkTrialCompany', async (getTrialCompany) => { + if (getTrialCompany.AppId != null && getTrialCompany.AppId != undefined && getTrialCompany.UserId != null && getTrialCompany.UserId != undefined) { + return await axiosInstanceData.get(`/userAppMap?AppId=${getTrialCompany.AppId}&UserId=${getTrialCompany.UserId}`) + } +}) + +export const getGstnumberDetails = createAsyncThunk('Gst/gstNumberDetail', async (gstNo) => { + return await axiosRetailInstanceData.get(`/Gst?gstNo=${gstNo}`) +}) + +const initialState = { + companyData: [], + companyActiveData: [], + AdminNames: [], + AdminUsers: [], + ApplicationNames: [], + CompanyCounts: [] +} + +const companySlice = createSlice({ + name: 'company', + initialState, + extraReducers: builder => { + builder.addCase(getCompanyData.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.companyData = action?.payload?.data?.data + } + else { + state.companyData = [] + } + + }) + builder.addCase(getActiveCompanyData.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.companyActiveData = action?.payload?.data?.data + } + else { + state.companyActiveData = [] + } + + }) + builder.addCase(getAdminNames.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.AdminNames = action?.payload?.data?.data + } + else { + state.AdminNames = [] + } + + }) + + builder.addCase(getAdminUsers.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.AdminUsers = action?.payload?.data?.data + } + else { + state.AdminUsers = [] + } + + }) + + builder.addCase(getApplications.fulfilled, (state, action) => { + if (action?.payload?.status) { + if (UserType === "Admin" || UserType === "Admin User") { + let currentDate = new Date(); + let filteredData = action?.payload?.data?.data?.filter(item => { + let validityEnd = new Date(item.ValidityEnd); + return validityEnd >= currentDate; + }); + state.ApplicationNames = filteredData + } else { + state.ApplicationNames = action?.payload?.data?.data + } + + } + else { + state.ApplicationNames = [] + } + + }) + builder.addCase(checkTrialCompany.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.CompanyCounts = action?.payload?.data?.data + + } + else { + + state.CompanyCounts = [] + + } + + }) + + } + +}) + +export const companyDataSelector = state => state.companyPage?.companyData +export const companyActiveDataSelector = state => state.companyPage?.companyActiveData +export const AdminNamesSelector = state => state.companyPage?.AdminNames +export const AdminUsersSelector = state => state.companyPage?.AdminUsers +export const ApplicationNamesSelector = state => state.companyPage?.ApplicationNames +export const checkTrialCompanySelector = state => state.companyPage?.CompanyCounts + + + +export default companySlice.reducer; \ No newline at end of file diff --git a/src/features/configmasterPage/configmasterPage.js b/src/features/configmasterPage/configmasterPage.js new file mode 100644 index 0000000..7b5b0b5 --- /dev/null +++ b/src/features/configmasterPage/configmasterPage.js @@ -0,0 +1,92 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import axios from "axios"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +const apiUrl = import.meta.env.ENV_API_URL; + + export const getAllSetupHeaderName = createAsyncThunk('configMaster/getAllSetupHeaderName', async (TypeName) => { + if(TypeName != null && TypeName != undefined){ + return await axiosInstanceData.get(`/configMaster?TypeName=${TypeName}&ActiveStatus=A`); + } +}) + +export const getConfiguration = createAsyncThunk('configMaster/getConfiguration', async () => { + return await axiosInstanceData.get(`/configMaster`) +}) + + +export const getActiveConfigNames = createAsyncThunk('configMaster/getActiveConfigNames', async () => { + return await axiosInstanceData.get(`/configMaster?ActiveStatus=A`) +}) + +export const getConfigNames = createAsyncThunk('configMaster/getConfigNames', async ({TypeName}) => { + if(TypeName != null && TypeName != undefined){ + return await axiosInstanceData.get(`/configMaster?TypeName=${TypeName}`); + } +}) +export const getConfigNamesWithActiveStatus = createAsyncThunk('configMaster/getConfigNames', async ({TypeName}) => { + if(TypeName != null && TypeName != undefined){ + return await axiosInstanceData.get(`/configMaster?TypeName=${TypeName}&ActiveStatus=A`); + } +}) + +export const deleteConfiguration = createAsyncThunk('configMaster/deleteConfiguration', async (deleteData) => { + + return await axiosInstanceData.delete(`/configMaster`, { params: deleteData }) +}) + +export const postConfiguration = createAsyncThunk('configMaster/postConfiguration', async (postData) => { + + return await axiosInstanceData.post(`/configMaster`, postData) +}) + +export const putConfiguration = createAsyncThunk('configMaster/putConfiguration', async (putData) => { + + + return await axiosInstanceData.put(`/configMaster`, putData) +}) + +export const postBulkConfiguration = createAsyncThunk('configMaster/postBulkConfiguration', async(postData) =>{ + + return await axiosInstanceData.post(`/configMaster/BulkUpload`, postData) +}) + + +const initialState = { + configData: [], + ActiveConfigNames:[], +} + +const configmaster = createSlice({ + name:'configmaster', + initialState, + extraReducers: builder => { + builder.addCase(getConfiguration.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.configData = action?.payload?.data?.data + } + else { + state.configData = [] + } + + }) + builder.addCase(getActiveConfigNames.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.ActiveConfigNames = action?.payload?.data?.data + } + else { + state.ActiveConfigNames = [] + } + + }) + } + +}) + + +export const configDataSelector = state => state.configmasterPage?.configData +export const ActiveConfigNamesSelector = state => state.configmasterPage?.ActiveConfigNames + + + +export default configmaster.reducer; \ No newline at end of file diff --git a/src/features/configtypePage/configtypePage.js b/src/features/configtypePage/configtypePage.js new file mode 100644 index 0000000..39d504f --- /dev/null +++ b/src/features/configtypePage/configtypePage.js @@ -0,0 +1,76 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + + + +export const getConfigurationType = createAsyncThunk('configType/getConfigurationType', async () => { + return await axiosInstanceData.get(`/configType`) +}) + + +export const postConfigurationType = createAsyncThunk('configType/postConfigurationType', async (postData) => { + + return await axiosInstanceData.post(`/configType`, postData) +}) + +export const putConfigurationType = createAsyncThunk('configType/putConfigurationType', async (putData) => { + + return await axiosInstanceData.put(`/configType`, putData) +}) + +export const deleteConfigTypeData = createAsyncThunk('configType/deleteConfigTypeData', async (deleteData) => { + + return await axiosInstanceData.delete(`/configType`, { params: deleteData }) +}) + +export const getActiveConfigTypeNames = createAsyncThunk('configType/getActiveConfigTypeNames', async () => { + return await axiosInstanceData.get(`/configType?ActiveStatus=A`) +}) + +export const getConfigTypeNames = createAsyncThunk('configType/getActiveConfigTypeNames', async (data) => { + return await axiosInstanceData.get(`/configMaster?typeName=${data?.typeName}`) +}) + +export const Postplanextend = createAsyncThunk('Postplanextend',async(postData)=>{ + + return await axiosInstanceData.post(`/UserAppMap`,postData) +}) + +const initialState = { + configTypeData: [], + configTypeActiveData:[] +} + +const configTypeSlice = createSlice({ + name:'configType', + initialState, + extraReducers: builder => { + builder.addCase(getConfigurationType.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.configTypeData = action?.payload?.data?.data + } + else { + state.configTypeData = [] + } + + }) + + builder.addCase(getActiveConfigTypeNames.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.configTypeActiveData = action?.payload?.data?.data + } + else { + state.configTypeActiveData = [] + } + + }) + + + } + +}) + +export const configTypeDataSelector = state => state.configtypePage?.configTypeData +export const configTypeActiveDataSelector = state => state.configtypePage?.configTypeActiveData + +export default configTypeSlice.reducer; \ No newline at end of file diff --git a/src/features/currencyPage/currencyPage.js b/src/features/currencyPage/currencyPage.js new file mode 100644 index 0000000..1735e5f --- /dev/null +++ b/src/features/currencyPage/currencyPage.js @@ -0,0 +1,54 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import axios from "axios"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +const apiUrl = import.meta.env.ENV_API_URL; + + +export const getCurrency = createAsyncThunk('currency/getCurrency', async () => { + return await axiosInstanceData.get(`/currency`) +}) + + +export const postCurrency = createAsyncThunk('currency/postCurrency', async (postData) => { + + return await axiosInstanceData.post(`/currency`, postData) +}) + +export const putCurrency = createAsyncThunk('currency/putCurrency', async (putData) => { + + return await axiosInstanceData.put(`/currency`, putData) +}) + +export const deleteCurrency = createAsyncThunk('currency/deleteCurrency', async (deleteData) => { + + return await axiosInstanceData.delete(`/currency`, { params: deleteData }) +}) + +const initialState = { + currencyData: [] +} + +const currencySlice = createSlice({ + name:'curency', + initialState, + extraReducers: builder => { + builder.addCase(getCurrency.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.currencyData = action?.payload?.data?.data + } + else { + state.currencyData = [] + } + + }) + } + +}) + +export const currencyDataSelector = state => state.currencyPage?.currencyData + + + + +export default currencySlice.reducer; \ No newline at end of file diff --git a/src/features/exceluploadPage/exceluploadPage.js b/src/features/exceluploadPage/exceluploadPage.js new file mode 100644 index 0000000..83073b7 --- /dev/null +++ b/src/features/exceluploadPage/exceluploadPage.js @@ -0,0 +1,40 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import axios from "axios"; + + + + +const initialState = { + excelFile: null, + excelFileError: null, + excelData:null, + fileInputRef: " " +} + +const excelupload = createSlice({ + name:'excelupload', + initialState, + reducers :{ + emptyExcelData: (state, action) => { + state.excelFile = null + state.excelFileError = null + state.excelData = null + state.fileInputRef = " " + }, + uploadExcel: (state, action) =>{ + const { file, jsonData } = action?.payload; + state.excelFile=file; + state.excelData=jsonData; + } + } + +}) + +export const {emptyExcelData, uploadExcel} = excelupload.actions; + +export const excelDataSelector = state => state.exceluploadPage.excelData +export const excelFileSelector = state => state.exceluploadPage.excelFile +export const excelFileErrorSelector = state => state.exceluploadPage.excelFileError +export const fileInputRefSelector = state => state.exceluploadPage.fileInputRef + +export default excelupload.reducer; \ No newline at end of file diff --git a/src/features/feature/feature.js b/src/features/feature/feature.js new file mode 100644 index 0000000..26bc48f --- /dev/null +++ b/src/features/feature/feature.js @@ -0,0 +1,107 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import axios from "axios"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; +const apiUrl = import.meta.env.ENV_API_URL; + +export const getFeatureCategory = createAsyncThunk( + "feature/featureCategory", + async () => { + return await axiosInstanceData.get('/configMaster?TypeName=Feature Category'); + } +); + +export const getFeatureType = createAsyncThunk( + "feature/FeatureType", + async () => { + return await axiosInstanceData.get('/configMaster?TypeName=Feature Type'); + } +); + +export const getFeature = createAsyncThunk("feature/getFeature", async () => { + return await axiosInstanceData.get('/feature'); +}); +export const getFeatureDetails = createAsyncThunk( + "feature/getFeature", + async (data) => { + if(data != null && data != undefined){ + return await axiosInstanceData.get(`/feature?appId=${data}&activeStatus=A`); + } + } +); + +export const getAppNames = createAsyncThunk("feature/getUserData", async () => { + return axios.get(`${apiUrl}/application?activeStatus=A`); +}); + +export const postFeature = createAsyncThunk( + "feature/postFeature", + async (postData) => { + + return await axiosInstanceData.post('/feature', postData); + } +); + +export const putFeature = createAsyncThunk( + "feature/putFeature", + async (putData) => { + + return await axiosInstanceData.put('/feature', putData); + } +); + +export const deleteFeature = createAsyncThunk( + "feature/deleteFeature", + async (deleteData) => { + if (deleteData?.FeatId && deleteData?.ActiveStatus && deleteData?.UpdatedBy) { + return await axiosInstanceData.delete( + `/feature?FeatId=${deleteData?.FeatId}&ActiveStatus=${deleteData?.ActiveStatus}&UpdatedBy=${deleteData?.UpdatedBy}` + ); + } + } +); + +export const postFeatureAddon = createAsyncThunk( + "feature/postFeatureAddon", + async (postData) => { + + return await axiosInstanceData.post('/UAMFeatAddon', postData); + } +); + +export const NewGetFeatAddon = createAsyncThunk( + "feature/NewGetFeatAddon", + async (data) => { + if(data?.UserId != null && data?.UserId != undefined){ + return axiosInstanceData.get(`/UserAppMap?userId=${data?.UserId}&type=IE`); + } + } +); +const initialState = { + featureData: [], + featureDataDetails: [], +}; +const featureSlice = createSlice({ + name: "feature", + initialState, + extraReducers: (builder) => { + builder.addCase(getFeature.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.featureData = action?.payload?.data?.data; + } else { + state.featureData = []; + } +}), + builder.addCase(getFeatureDetails.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.featureDataDetails = action?.payload?.data?.data; + } else { + state.featureDataDetails = []; + } + }); +}, +}); + +export const featureSelector = (state) => state.featureData?.featureData; +export const featureSelectorDetail = (state) => + state.featureDataDetails?.featureDataDetails; +export default featureSlice.reducer; diff --git a/src/features/featureMapping/featureMapping.js b/src/features/featureMapping/featureMapping.js new file mode 100644 index 0000000..def8437 --- /dev/null +++ b/src/features/featureMapping/featureMapping.js @@ -0,0 +1,70 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import axios from "axios"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; +const apiUrl = import.meta.env.ENV_API_URL; + + +export const getApplication = createAsyncThunk('featureMapping/application', async () => { + return await axios.get(`${apiUrl}/application`) +}) + +export const getpricingAppFeatMap = createAsyncThunk('featureMapping/pricingAppFeatMap', async () => { + return await axios.get(`${apiUrl}/pricingAppFeatMap`) +}) + +export const getPricingType = createAsyncThunk('featureMapping/getPricingType', async (AppId) => { + if (AppId != null && AppId != undefined) { + return await axiosInstanceData.get(`/pricingType?AppId=${AppId}`) + } +}) + +export const getFeatureList = createAsyncThunk('featureMapping/getFeatureList', async (AppId) => { + if (AppId != null && AppId != undefined) { + return await axiosInstanceData.get(`/feature?AppId=${AppId}`) + } +}) + +export const postFeatureMapping = createAsyncThunk('featureMapping/postFeatureMapping', async (postData) => { + + return await axiosInstanceData.post('/pricingAppFeatMap', postData) +}) + +export const putFeatureMapping = createAsyncThunk('featureMapping/putFeatureMapping', async (putData) => { + + return await axiosInstanceData.put('/pricingAppFeatMap', putData) +}) + +export const deleteFeatureMapping = createAsyncThunk('featureMapping/deleteFeatureMapping', async (deleteData) => { + if (deleteData?.AppId && deleteData?.PricingId && deleteData?.ActiveStatus && deleteData?.UpdatedBy) { + return await axiosInstanceData.delete(`/pricingAppFeatMap?AppId=${deleteData?.AppId}&PricingId=${deleteData?.PricingId}&ActiveStatus=${deleteData?.ActiveStatus}&UpdatedBy=${deleteData?.UpdatedBy}`) + } +}) + + +const initialState = { + featureData: [] +} + +const featureMappSlice = createSlice({ + name: 'featureMapping', + initialState, + extraReducers: builder => { + builder.addCase(getApplication.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.featureData = action?.payload?.data?.data + } + else { + state.featureData = [] + } + + }) + } + +}) + +export const featureMappSelector = state => state.featureData?.featureData + + + + +export default featureMappSlice.reducer; \ No newline at end of file diff --git a/src/features/homePage/homePage.js b/src/features/homePage/homePage.js new file mode 100644 index 0000000..7e0f317 --- /dev/null +++ b/src/features/homePage/homePage.js @@ -0,0 +1,214 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +export const getPurchasedApp = createAsyncThunk( + "homePage/getPurchasedApp", + async ({ UserId }) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/userAppMap?UserId=${UserId}`); + } + } +); + +export const getPurchasedAppFeatures = createAsyncThunk( + "homePage/getPurchasedAppFeatures", + async ({ UserId, AppId }) => { + if (UserId != null && UserId != undefined && AppId != null && AppId != undefined) { + return await axiosInstanceData.get(`/userAppMap?UserId=${UserId}&AppId=${AppId}&Type=IE`); + } + } +); + +export const getAllPurchasedDetails = createAsyncThunk( + "homePage/getAllPurchasedDetails", + async () => { + return await axiosInstanceData.get('/userAppMap'); + } +); + +export const getAllFailedPurchasedDetails = createAsyncThunk( + "homePage/getAllFailedPurchasedDetails", + async () => { + return await axiosInstanceData.get('/userAppMap?paymentStatus=F'); + } +); + +export const getAllFailedPurchasedDetailsFilter = createAsyncThunk( + "homePage/getAllFailedPurchasedDetailsFilter", + async (data) => { + let urlData; + if (data?.Year != null && data?.Year != undefined) { + urlData = `userAppMap?paymentStatus=F&year=${data?.Year}`; + } + if (data?.Month != null && data?.Month != undefined) { + urlData = `userAppMap?paymentStatus=F&monthYear=${data?.Month}`; + } + if (data?.Fromdate != null && data?.Fromdate != undefined && data?.Todate != null && data?.Todate != undefined) { + urlData = `userAppMap?paymentStatus=F&fromDate=${data?.Fromdate}&toDate=${data?.Todate}`; + } + return await axiosInstanceData.get(`/${urlData}`); + } +); + +export const getAllPurchasedDetailsFilter = createAsyncThunk( + "homePage/getAllPurchasedDetailsFilter", + async (data) => { + let urlData; + if (data?.Year != null && data?.Year != undefined) { + urlData = `userAppMap?year=${data?.Year}`; + } + if (data?.Month != null && data?.Month != undefined) { + urlData = `userAppMap?monthYear=${data?.Month}`; + } + if (data?.Fromdate != null && data?.Fromdate != undefined && data?.Todate != null && data?.Todate != undefined) { + urlData = `userAppMap?fromDate=${data?.Fromdate}&toDate=${data?.Todate}`; + } + return await axiosInstanceData.get(`/${urlData}`); + } +); + +export const getTypePurchasedApp = createAsyncThunk( + "homePage/getTypePurchasedApp", + async ({ UserId }) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/userAppMap?UserId=${UserId}&Type=P`); + } + } +); + +export const getAppAccess = createAsyncThunk( + "homePage/getAppAccess", + async ({ UserId }) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/appAccess?UserId=${UserId}`); + } + } +); + +export const putDeafaulBranch = createAsyncThunk( + "putDeafaulBranch/putDeafaulBranch", + async (putData) => { + + return await axiosInstanceData.put('/appAccess', putData); + } +); + +export const getDeafaulBranch = createAsyncThunk( + "getDeafaul/getDeafaulBranch", + async (DefaultBranch) => { + if(DefaultBranch.UserId != null && DefaultBranch.UserId != undefined && DefaultBranch.AppId != null && DefaultBranch.AppId != undefined){ + return await axiosInstanceData.get( + `/appAccess?UserId=${DefaultBranch.UserId}&AppId=${DefaultBranch.AppId}&Type=DB` + ); + } + + } +); + +export const getPurchasedAppFilter = createAsyncThunk( + "homePage/getPurchasedAppFilter", + async (data) => { + let urlData; + if (data?.UserId != null && data?.UserId != undefined) { + if (data?.Year != null && data?.Year != undefined) { + urlData = `userAppMap?UserId=${data?.UserId}&year=${data?.Year}&Type=P`; + } + if (data?.Month != null && data?.Month != undefined) { + urlData = `userAppMap?UserId=${data?.UserId}&monthYear=${data?.Month}&Type=P`; + } + if (data?.Fromdate != null && data?.Fromdate != undefined && data?.Todate != null && data?.Todate != undefined) { + urlData = `userAppMap?UserId=${data?.UserId}&fromDate=${data?.Fromdate}&toDate=${data?.Todate}&Type=P`; + } + } + return await axiosInstanceData.get(`/${urlData}`); + } +); + +const initialState = { + purchasedApp: [], + purchasedTypeApp: [], + AppAccess: [], + failedpurchasedTypeApp: [], + purchasedTypeAppFilter: [], +}; + +const homePageSlice = createSlice({ + name: "homePage", + initialState, + extraReducers: (builder) => { + builder.addCase(getPurchasedApp.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode) { + state.purchasedApp = action?.payload?.data?.data; + } else { + state.purchasedApp = []; + } + }); + + builder.addCase(getTypePurchasedApp.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode) { + state.purchasedTypeApp = action?.payload?.data?.data; + state.purchasedTypeAppFilter = action?.payload?.data?.data; + } else { + state.purchasedTypeApp = []; + state.purchasedTypeAppFilter = []; + } + }); + + builder.addCase(getAllPurchasedDetails.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode) { + state.purchasedTypeApp = action?.payload?.data?.data; + state.purchasedTypeAppFilter = action?.payload?.data?.data; + } else { + state.purchasedTypeApp = []; + state.purchasedTypeAppFilter = []; + } + }); + + builder.addCase(getAllPurchasedDetailsFilter.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode) { + state.purchasedTypeAppFilter = action?.payload?.data?.data; + } else { + state.purchasedTypeAppFilter = []; + } + }); + + builder.addCase(getPurchasedAppFilter.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode) { + state.purchasedTypeAppFilter = action?.payload?.data?.data; + } else { + state.purchasedTypeAppFilter = []; + } + }); + + builder.addCase(getAllFailedPurchasedDetails.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode) { + state.failedpurchasedTypeApp = action?.payload?.data?.data; + } else { + state.failedpurchasedTypeApp = []; + } + }); + builder.addCase(getAllFailedPurchasedDetailsFilter.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode) { + state.failedpurchasedTypeApp = action?.payload?.data?.data; + } else { + state.failedpurchasedTypeApp = []; + } + }); + + builder.addCase(getAppAccess.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode) { + state.AppAccess = action?.payload?.data?.data; + } else { + state.AppAccess = []; + } + }); + }, +}); + +export const purchasedAppSelector = (state) => state.homePage.purchasedApp; +export const purchasedTypeAppSelector = (state) => state.homePage.purchasedTypeApp; +export const failedpurchasedTypeAppSelector = (state) => state.homePage.failedpurchasedTypeApp; +export const purchasedTypeAppSelectorFilter = (state) => state.homePage.purchasedTypeAppFilter; +export const AppAccessSelector = (state) => state.homePage.AppAccess; + +export default homePageSlice.reducer; diff --git a/src/features/invoiceDetail/invoiceDetail.js b/src/features/invoiceDetail/invoiceDetail.js new file mode 100644 index 0000000..5088fb8 --- /dev/null +++ b/src/features/invoiceDetail/invoiceDetail.js @@ -0,0 +1,71 @@ +import { createAsyncThunk } from "@reduxjs/toolkit"; +import { axiosInstanceData, axiosInstanceEMAIL_SMSData } from '../AuthenticationTokens/AuthenticationToken'; + + + +export const getPricingType = createAsyncThunk('getPricingType/getPricingType', async (PricingId) => { + if (PricingId != null && PricingId != undefined) { + return await axiosInstanceData.get(`/pricingType?PricingId=${PricingId}`); + } +}); + +export const postInvoice = createAsyncThunk('postInvoice/userAppMap', async (postData) => { + + return await axiosInstanceData.post('/userAppMap', postData) +}) + + +export const postCCAvenuePaymentDetails = createAsyncThunk('postCCAvenuePaymentDetails/payment', async (postData) => { + + return await axiosInstanceData.post('/ccavenuePaymentDetails', postData) +}) + +export const getccavenuePaymentDetails = createAsyncThunk('getccavenuePaymentDetails', async () => { + return await axiosInstanceData.get('/ccavenuePaymentDetails?activeStatus=A') +}) + +export const getPaymentMethod = createAsyncThunk('getPaymentMethod/getPaymentMethod', async () => { + return await axiosInstanceData.get('/ccavenuePaymentDetails'); +}); +// +export const getallplanDtl = createAsyncThunk('getallplanDtl', async (data) => { + if (data?.AppId != null && data?.AppId != undefined && data?.UserId != null && data?.UserId != undefined) { + return await axiosInstanceData.get(`/AllDetailPlanMod?AppId=${data?.AppId}&UserId=${data?.UserId}`); + } +}); + +export const postDowngrade = createAsyncThunk('postDowngrade', async (postData) => { + + return await axiosInstanceData.post('/ModifySubcription', postData) +}) +export const putFeaturechange = createAsyncThunk('putFeaturechange', async (putData) => { + + return await axiosInstanceData.put('/ModifySubcription', putData) +}) + +export const getUsedplandata = createAsyncThunk('getUsedplandata', async (data) => { + if (data?.AppId != null && data?.AppId != undefined && data?.UserId != null && data?.UserId != undefined && data?.type != null && data?.type != undefined) { + return await axiosInstanceData.get(`/UserAppMap?AppId=${data?.AppId}&UserId=${data?.UserId}&type=${data?.type}`) + } +}) + +export const putPaymentMethod = createAsyncThunk('putPaymentMethod/putPaymentMethod', async (putData) => { + + return await axiosInstanceData.put('/PaymentSuccess', putData); +}); +export const postEmailApi = createAsyncThunk('postEmailApi/Email', async (postData) => { + + return await axiosInstanceEMAIL_SMSData.post(`/Email`, postData) +}) +export const getEmployeRefferal = createAsyncThunk('getEmployeRefferal',async(data)=>{ + if (data.AppId != null && data.AppId != undefined && data.UserId != null && data.UserId != undefined && data.Type != null && data.Type != undefined) { + + return await axiosInstanceData.get(`/UserAppMap?AppId=${data.AppId}&UserId=${data.UserId}&Type=${data.Type}`) + + } +}) + + +export const getReferaluserdata = createAsyncThunk('getReferaluserdata',async(data)=>{ +return await axiosInstanceData.get(`/ReferralSetup?referralCode=${data.referralCode}`) +}) \ No newline at end of file diff --git a/src/features/kisokDevice/kisokDevice.js b/src/features/kisokDevice/kisokDevice.js new file mode 100644 index 0000000..bc93498 --- /dev/null +++ b/src/features/kisokDevice/kisokDevice.js @@ -0,0 +1,63 @@ +import { createAsyncThunk } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; +import axios from "axios"; + +const apiUrl = import.meta.env.ENV_API_URL; + +export const GetAdminData = createAsyncThunk('GetAdminData', async (data) => { + if(data?.Type != null && data?.Type != undefined && data?.AppId != null && data?.AppId != undefined){ + return await axios.get(`${apiUrl}/UAMFeatAddon?Type=${data?.Type}&AppId=${data?.AppId}`) + } + +}) + +export const GetMacAddress = createAsyncThunk('GetAdminData', async () => { + return await axiosInstanceData.get('/DeviceInfo') + +}) +export const GetMacAddressnotallocated = createAsyncThunk('GetMacAddressnotallocated', async () => { + return await axiosInstanceData.get('/DeviceInfo?type="DI"') + + }) +export const PostMacAddress = createAsyncThunk('PostMacAddress', async (postData) => { + + return await axiosInstanceData.post('/DeviceInfo',postData) + +}) +export const PutMacAddress = createAsyncThunk('PostMacAddress', async (putData) => { + + return await axiosInstanceData.put('/DeviceInfo',putData) + +}) + +export const DeleteMacAddress = createAsyncThunk('PostMacAddress', async (data) => { + return await axiosInstanceData.delete(`/DeviceInfo?activeStatus=${data?.ActiveStatus}&deviceId=${data?.deviceId}&updatedBy=${data?.UpdatedBy}`) + +}) + +export const Postdeviceallocation = createAsyncThunk('Postdeviceallocation',async (postData) =>{ + + return await axiosInstanceData.post('/DeviceAllocation',postData) +}) + +export const GetDeviceallocation = createAsyncThunk('GetDeviceallocation', async () => { + return await axiosInstanceData.get('/DeviceAllocation') +}) + +export const getUserAppDetails = createAsyncThunk( + "moduleAccess/getUserAppDetails", + async ({ UserId, AppId }) => { + if(UserId != null && UserId != undefined && AppId != null && AppId != undefined){ + return await axiosInstanceData.get(`/appAccess?UserId=${UserId}&AppId=${AppId}`); + } + } + ); + +export const PutDeviceAllocation = createAsyncThunk('PutDeviceAllocation', async (putData) => { + + return await axiosInstanceData.put('/DeviceAllocation',putData) +}) + +export const DeleteDeviceAllocation = createAsyncThunk('DeleteDeviceAllocation', async (deleteData) => { + return await axiosInstanceData.delete(`/DeviceAllocation?activeStatus=${deleteData?.ActiveStatus}&uniqueId=${deleteData?.uniqueId}&updatedBy=${deleteData?.UpdatedBy}`) +}) \ No newline at end of file diff --git a/src/features/paymentDeviceConfig/paymentDeviceConfig.js b/src/features/paymentDeviceConfig/paymentDeviceConfig.js new file mode 100644 index 0000000..a71afdf --- /dev/null +++ b/src/features/paymentDeviceConfig/paymentDeviceConfig.js @@ -0,0 +1,55 @@ +import { createAsyncThunk } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; +import axios from "axios"; + +const apiUrl = import.meta.env.ENV_API_URL; + +export const getApplicationNames = createAsyncThunk("getApplicationNames", async () => { + return axios.get(`${apiUrl}/application?activeStatus=A`); +}); + +export const GetAdminData = createAsyncThunk('GetAdminData', async ({AppId,Type}) => { + if(AppId != null && AppId != undefined && Type != null && Type != undefined){ + return await axios.get(`${apiUrl}/UAMFeatAddon?Type=${Type}&AppId=${AppId}`) + } +}) + + +export const getStoreData = createAsyncThunk("getStoreData", + async ({ UserId, AppId }) => { + if(UserId !=null && UserId !=undefined && AppId != null && AppId != undefined){ + return await axiosInstanceData.get(`/appAccess?UserId=${UserId}&AppId=${AppId}`); + } + } + ); + + +export const getBranchData = createAsyncThunk( + "getBranchData", + async ({ storeId }) => { + if (storeId != null && storeId != undefined) { + return await axiosInstanceData.get(`/branch?CompId=${storeId}`); + } + } +); + + +export const getPaymentDeviceConfig = createAsyncThunk('GetPaymentDeviceConfig', async () => { + return await axiosInstanceData.get('/PaymentDeviceconfig') +}) + +export const postPaymentDeviceConfig = createAsyncThunk('postPaymentDeviceConfig', async (postData) => { + + return await axiosInstanceData.post('/PaymentDeviceconfig', postData) +}) + +export const putPaymentDeviceConfig = createAsyncThunk('putPaymentDeviceConfig', async (putData) => { + + return await axiosInstanceData.put('/PaymentDeviceconfig', putData) +}) + +export const deletePaymentDeviceConfig = createAsyncThunk('deletePaymentDeviceConfig', async (deleteData) => { + return await axiosInstanceData.delete(`/PaymentDeviceconfig?uniqueId=${deleteData?.UniqueId}&updatedBy=${deleteData?.UpdatedBy}&activeStatus=${deleteData?.ActiveStatus}`) +}) + + diff --git a/src/features/paymentPage/paymentPage.js b/src/features/paymentPage/paymentPage.js new file mode 100644 index 0000000..fcfe819 --- /dev/null +++ b/src/features/paymentPage/paymentPage.js @@ -0,0 +1,52 @@ +import { createAsyncThunk } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; +import axios from "axios"; + +const apiUrl = import.meta.env.ENV_API_URL; + +export const getPaymentMethod = createAsyncThunk('getPaymentMethod/getPaymentMethod', async () => { + return await axiosInstanceData.get('/ccavenuePaymentDetails'); +}); +export const getPaymentMethodWithActiveStatus = createAsyncThunk('getPaymentMethod/getPaymentMethod', async () => { + return await axiosInstanceData.get('/ccavenuePaymentDetails?activeStatus=A'); +}); +export const PostPaymentMethod = createAsyncThunk('PostPaymentMethod/PostPaymentMethod', async (postData) => { + + return await axiosInstanceData.post('/ccavenueDetails',postData) +}) +export const PutPaymentMethod = createAsyncThunk('PostPaymentMethod/PutPaymentMethod', async (putData) => { + + return await axiosInstanceData.put('/ccavenueDetails',putData) +}) + +export const GetPaymentGatewayconfig = createAsyncThunk('GetPaymentMethod/GetPaymentGatewayconfig', async () => { + return await axiosInstanceData.get('/PaymentGatewayConfig') +}) + +export const GetAdminData = createAsyncThunk('GetAdminData', async ({AppId,Type}) => { + if(AppId != null && AppId != undefined && Type != null && Type != undefined){ + return await axios.get(`${apiUrl}/UAMFeatAddon?Type=${Type}&AppId=${AppId}`) + } +}) + +export const PostPaymentGatewayconfig = createAsyncThunk('PostPaymentMethod/PostPaymentGatewayconfig', async (postData) => { + + return await axiosInstanceData.post('/PaymentGatewayConfig',postData) +}) +export const DeletePaymentGatewayconfig = createAsyncThunk('PostPaymentMethod/DeletePaymentGatewayconfig', async (deleteData) => { + return await axiosInstanceData.delete(`/PaymentGatewayConfig?uniqueId=${deleteData?.uniqueId}&updatedBy=${deleteData?.UpdatedBy}&activeStatus=${deleteData?.ActiveStatus}`,) +}) + +export const PutPaymentGatewayconfig = createAsyncThunk('PutPaymentGatewayconfig/PutPaymentGatewayconfig', async (putData) => { + return await axiosInstanceData.put('/PaymentGatewayconfig',putData) +}) +export const deletePaymentMethod = createAsyncThunk('deletePaymentMethod/deletePaymentMethod', async (deleteData) => { + if(deleteData?.MethodId && deleteData?.ActiveStatus){ + return await axiosInstanceData.delete(`/ccavenuePaymentMethod?methodId=${deleteData?.MethodId}&activeStatus=${deleteData?.ActiveStatus}`) + } +}) +export const deletePaymentDetail = createAsyncThunk('deletePaymentMethod/deletePaymentMethod', async (deleteData) => { + if(deleteData?.UniqueId && deleteData?.ActiveStatus){ + return await axiosInstanceData.delete(`/ccavenueDetails?uniqueId=${deleteData?.UniqueId}&activeStatus=${deleteData?.ActiveStatus}`) + } +}) diff --git a/src/features/paymentUPIdetails/paymentUPIdetails.js b/src/features/paymentUPIdetails/paymentUPIdetails.js new file mode 100644 index 0000000..75ad194 --- /dev/null +++ b/src/features/paymentUPIdetails/paymentUPIdetails.js @@ -0,0 +1,94 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + + +export const getCmpanyBranch = createAsyncThunk('branch/getCmpanyBranch',async(CompId) =>{ + if(CompId != null && CompId !=undefined){ + return await axiosInstanceData.get(`/branch?CompId=${CompId}`) + } + +}) + +export const getPricingMode = createAsyncThunk('getPricingMode/getPricingMode', async () => { + return await axiosInstanceData.get('/configMaster?TypeName=Payment Mode&ActiveStatus=A') +}) + +export const getPaymentUPIDetails = createAsyncThunk('paymentUpiDetails/getPaymentUPIDetails',async() =>{ + return await axiosInstanceData.get('/paymentUpiDetails?') + +}) + +export const getAdminPaymentUPIDetails = createAsyncThunk('paymentUpiDetails/getAdminPaymentUPIDetails',async(UserId) =>{ + if(UserId != null && UserId != undefined){ + return await axiosInstanceData.get(`/paymentUpiDetails?UserId=${UserId}&type=O`) + } + +}) + +export const postPaymentUpiDetails = createAsyncThunk('paymentUpiDetails/postPaymentUpiDetails',async(postData) =>{ + + return await axiosInstanceData.post('/paymentUpiDetails', postData) + +}) + +export const putPaymentUpiDetails = createAsyncThunk('paymentUpiDetails/putPaymentUpiDetails', async (putData) => { + + return await axiosInstanceData.put('/paymentUpiDetails', putData) +}) + +export const deletePaymentUPIDetails = createAsyncThunk('paymentUpiDetails/deletePaymentUPIDetails', async (deleteData) => { + + return await axiosInstanceData.delete('/paymentUpiDetails', { params: deleteData }) +}) + + + +const initialState = { + CmpanyBranchData: [], + PaymentUPIData: [], + AdminPaymentUPIData: [] +} + +const paymentUPIdetailsSlice = createSlice({ + name:'messagetemplate', + initialState, + extraReducers: builder => { + builder.addCase(getCmpanyBranch.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.CmpanyBranchData = action?.payload?.data?.data + } + else { + state.CmpanyBranchData = [] + } + + }) + + builder.addCase(getPaymentUPIDetails.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.PaymentUPIData = action?.payload?.data?.data + } + else { + state.PaymentUPIData = [] + } + + }) + + builder.addCase(getAdminPaymentUPIDetails.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.AdminPaymentUPIData = action?.payload?.data?.data + } + else { + state.AdminPaymentUPIData = [] + } + + }) + + } + +}) + + +export const CmpanyBranchDataSelector = state => state.paymentUPIdetails?.CmpanyBranchData +export const PaymentUPIDetailsSelector = state => state.paymentUPIdetails?.PaymentUPIData +export const AdminPaymentUPIDataSelector = state => state.paymentUPIdetails?.AdminPaymentUPIData +export default paymentUPIdetailsSlice.reducer; \ No newline at end of file diff --git a/src/features/priceType/priceType.js b/src/features/priceType/priceType.js new file mode 100644 index 0000000..2993f56 --- /dev/null +++ b/src/features/priceType/priceType.js @@ -0,0 +1,144 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +export const getPricingType = createAsyncThunk( + "priceType/pricingType", + async (AppId) => { + return await axiosInstanceData.get('/pricingType'); + } +); + +export const getPricingTypeForm = createAsyncThunk( + "priceType/getPricingTypeForm", + async (data) => { + if (data?.appId != null && data?.appId != undefined && data?.pricingName != null && data?.pricingName != undefined) { + return await axiosInstanceData.get( + `/PricingType?appId=${data?.appId}&pricingName=${data?.pricingName}` + ); + } + } +); + +export const getPricingTag = createAsyncThunk( + "priceType/getPricingTag", + async () => { + return await axiosInstanceData.get('/configMaster?TypeName=Pricing Type'); + } +); + +export const getTaxdata = createAsyncThunk("priceType/getTaxdata", async () => { + return await axiosInstanceData.get('/adminTax?ActiveStatus=A'); +}); + +export const getCurrData = createAsyncThunk( + "priceType/getCurrData", + async () => { + return await axiosInstanceData.get('/currency?ActiveStatus=A'); + } +); + +export const postPriceType = createAsyncThunk( + "priceType/postPriceType", + async (postData) => { + + return await axiosInstanceData.post('/pricingType', postData); + } +); + +export const putPriceType = createAsyncThunk( + "priceType/putPriceType", + async (putData) => { + + return await axiosInstanceData.put('/pricingType', putData); + } +); + +export const deletePriceType = createAsyncThunk( + "priceType/deletePriceType", + async (deleteData) => { + return await axiosInstanceData.delete( + `/pricingType?PricingId=${deleteData?.PricingId}&ActiveStatus=${deleteData?.ActiveStatus}&UpdatedBy=${deleteData?.UpdatedBy}` + ); + } +); +//http://192.168.1.37/userAppMap/PlanChange +export const postPlanChange = createAsyncThunk( + "postPlanChange/userAppMap", + async (postData) => { + + return await axiosInstanceData.post('/userAppMap/PlanChange', postData); + } +); +export const putplanchange = createAsyncThunk( + "putplanchange/userAppMap", + async (putData) => { + + return await axiosInstanceData.put('/userAppMap/PlanChange', putData); + } +); + +export const getUserCredit = createAsyncThunk( + "getUserCredit/userAppMap", + async (UserId) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get( + `/userAppMap/UserCredit?request.userId=${UserId}` + ); + } + } +); + +export const getFeatureonType = createAsyncThunk( + "feature/getFeatureonType", + async (data) => { + return await axiosInstanceData.get('/FeatureAddon'); + } +); +export const putFeatureonType = createAsyncThunk( + "feature/getFeatureonType", + async (putData) => { + + return await axiosInstanceData.put('/FeatureAddon', putData); + } +); +export const getFeatureonTypeApp = createAsyncThunk( + "feature/getFeatureonType", + async (data) => { + if (data != null && data != undefined) { + return await axiosInstanceData.get(`/FeatureAddon?request.appId=${data}`); + } + } +); + +export const deleteFeatureonType = createAsyncThunk('feature/deleteFeatureonType', async (deleteData) => { + return await axiosInstanceData.delete(`/FeatureAddon?request.appId=${deleteData?.appId}&request.updatedBy=${deleteData?.updatedBy}&request.activeStatus=${deleteData?.activeStatus}`) +}); +export const PostFeatureonType = createAsyncThunk('feature/PostFeatureonType', async (postData) => { + + return await axiosInstanceData.post('/FeatureAddon',postData) +}) +export const PostOnlineUserTracking = createAsyncThunk('feature/PostOnlineUserTracking', async (postData) => { + + return await axiosInstanceData.post('/OnlineUserTracking',postData) +}) +const initialState = { + priceData: [], +}; + +const priceSlice = createSlice({ + name: "priceType", + initialState, + extraReducers: (builder) => { + builder.addCase(getPricingType.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.priceData = action?.payload?.data?.data; + } else { + state.priceData = []; + } + }); + }, +}); + +export const priceSelector = (state) => state.priceData?.priceData; + +export default priceSlice.reducer; diff --git a/src/features/pricingType/pricingType.js b/src/features/pricingType/pricingType.js new file mode 100644 index 0000000..dc1205d --- /dev/null +++ b/src/features/pricingType/pricingType.js @@ -0,0 +1,227 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import { axiosInstanceData, axiosInstanceEMAIL_SMSData } from '../AuthenticationTokens/AuthenticationToken'; +import axios from "axios"; + +const apiUrl = import.meta.env.ENV_API_URL; + +export const getPricingType = createAsyncThunk( + "pricingAppFeatMap/getPricingType", + async ({ toggleValue, AppId, UserId }) => { + if (toggleValue != null && toggleValue != undefined && AppId != null && AppId != undefined && UserId != null && UserId != undefined) { + return await axios.get( + `${apiUrl}/pricingAppFeatMap?Type=${toggleValue}&AppId=${AppId}&UserId=${UserId}` + ); + } + } +); + +export const getPricingType2 = createAsyncThunk( + "pricingAppFeatMap/getPricingType", + async ({ toggleValue, AppId, UserId }) => { + if (toggleValue != null && toggleValue != undefined && AppId != null && AppId != undefined && UserId != null && UserId != undefined) { + return await axios.get( + `${apiUrl}/pricingAppFeatMap?Type=${toggleValue}&AppId=${AppId}&UserId=${UserId}` + ); + } + } +); + +export const getPricingTypeAppId = createAsyncThunk( + "pricingType/getPricingTypeAppId", + async ({ toggleValue, AppId }) => { + if (toggleValue != null && toggleValue != undefined && AppId != null && AppId != undefined) { + return await axiosInstanceData.get( + `/pricingType?Type=${toggleValue}&AppId=${AppId}` + ); + } + } +); + +export const postFreeOption = createAsyncThunk( + "userAppMap/postFreeOption", + async (postData) => { + + return await axiosInstanceData.post('/userAppMap/FreeOption', postData); + } +); + +export const getUserDetails = createAsyncThunk( + "getUserDetail/getUserDetails", + async (UserId) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/user?UserId=${UserId}`); + } + } +); + +export const SendPaymentLink = createAsyncThunk( + "SendPaymentLink/SendPaymentLink", + async ({ MobileNo, url }) => { + if (MobileNo != null && MobileNo != undefined && url != null && url != undefined) { + return await axiosInstanceData.post('/verifyOTP/SendPaymentLink', { + MobileNo: MobileNo, + MessageHeader: "PaymentLink", + Link: url + }); + } + } +); + +export const CheckPaymentStatus = createAsyncThunk( + "SendPaymentLink/SendPaymentLink", + async (BookingId) => { + if (BookingId != null && BookingId != undefined) { + return await axiosInstanceData.get( + `/userAppMap?UniqueId=${BookingId}&PaymentStatus=S` + ); + } + } +); + +export const UpdatePayment = createAsyncThunk( + "UpdatePayment/UpdatePayment", + async (putdata) => { + + return await axiosInstanceData.put('/userAppMap/paymentStatus', putdata); + } +); + +export const getPaymentUpiDetails = createAsyncThunk( + "getPaymentUpiDeatils/getPaymentUpiDeatils", + async () => { + return await axiosInstanceData.get('/paymentUpiDetails?activeStatus=A&type=I'); + } +); + +export const getPaymentModeDetails = createAsyncThunk( + "getPaymentUpiDeatils/getPaymentModeDeatils", + async (Id) => { + if (Id != null && Id != undefined) { + return await axiosInstanceData.get( + `/paymentUpiDetails?PaymentUPIDetailsId=${Id}` + ); + } + } +); + +export const getUserMappDetails = createAsyncThunk( + "getUserMappDetails/getUserMappDetails", + async (BookingId) => { + if (BookingId != null && BookingId != undefined) { + return await axiosInstanceData.get(`/userAppMap?UniqueId=${BookingId}`); + } + } +); + +export const sharePdfDocument = createAsyncThunk( + "sharePdfDocument/sharePdfDocument", + async ({ data }) => { + + return await axiosInstanceData.post('/userAppMap/send-invoicedetail', data); + } +); +export const sendSms = createAsyncThunk('postEmailApi/SMS', async (postData) => { + + return await axiosInstanceEMAIL_SMSData.post(`/SMS`, postData) +}) +export const getPricingFeatures = createAsyncThunk( + "pricingAppFeatureMap/getPricingFeatures", + async ({ toggleValue, AppId }) => { + if (toggleValue != null && toggleValue != undefined && AppId != null && AppId != undefined) { + return await axios.get( + `${apiUrl}/pricingAppFeatMap?AppId=${AppId}&Type=${toggleValue}` + ); + } + } +); +export const getPurchasedPlan = createAsyncThunk( + "pricingAppFeatureMap/getPurchasedPlan", + async ({ UserId, AppId }) => { + if (UserId != null && UserId != undefined && AppId != null && AppId != undefined) { + return await axios.get( + `${apiUrl}/pricingAppFeatMap?AppId=${AppId}&UserId=${UserId}` + ); + } + } +); + +export const getPurchasedAppDetails = createAsyncThunk( + "homePage/PlanChanges", + async ({ UserId, AppId }) => { + if (UserId != null && UserId != undefined && AppId != null && AppId != undefined) { + return await axiosInstanceData.get( + `/userAppMap/PlanChange?AppId=${AppId}&UserId=${UserId}` + ); + } + } +); +export const getUsedplandata = createAsyncThunk('getUsedplandata', async (data) => { + if (data?.UserId != null && data?.UserId != undefined && data?.AppId != null && data?.AppId != undefined && data?.type != null && data?.type != undefined) { + return await axiosInstanceData.get(`/UserAppMap?AppId=${data?.AppId}&UserId=${data?.UserId}&type=${data?.type}`) + } +}) +export const getUserBasedConstraint = createAsyncThunk( + "userAppMap/UserBasedConstraint", + async (UserId) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/userAppMap/UserBasedConstraint?UserId=${UserId}`); + } + } +) +const initialState = { + PricingType: [], + PricingTypeFeat: [], + Adminplanschanges: false, + NewPlandata: [] +}; + +const pricingTypeSlice = createSlice({ + name: "pricingType", + initialState, + reducers: { + ChangeAdminplanschanges: (state, action) => { + + state.Adminplanschanges = action?.payload + }, + changeNewPlandata: (state, action) => { + + state.NewPlandata = action?.payload + }, + }, + extraReducers: (builder) => { + builder.addCase(getPricingType.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.PricingType = action?.payload?.data?.data; + } else { + state.PricingType = []; + } + }); + + builder.addCase(getPricingTypeAppId.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.PricingType = action?.payload?.data?.data; + } else { + state.PricingType = []; + } + }); + + builder.addCase(getPricingFeatures.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.PricingTypeFeat = action?.payload?.data?.data; + } else { + state.PricingTypeFeat = []; + } + }); + }, +}); +export const { + ChangeAdminplanschanges, + changeNewPlandata +} = pricingTypeSlice.actions + +export const pricingTypeSelector = (state) => state.PricingType?.PricingType; +export const pricingTypeFeatSelector = (state) => state.PricingType?.PricingTypeFeat; +export const GlobalAdminplanschanges = (state) => state.pricingType?.Adminplanschanges; +export const GlobalNewPlandata = (state) => state.pricingType?.NewPlandata; + +export default pricingTypeSlice.reducer; diff --git a/src/features/publicHome/publicHome.js b/src/features/publicHome/publicHome.js new file mode 100644 index 0000000..b85dac6 --- /dev/null +++ b/src/features/publicHome/publicHome.js @@ -0,0 +1,97 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import axios from "axios"; +import { axiosInstanceData } from '../AuthenticationTokens/AuthenticationToken'; +const apiUrl = import.meta.env.ENV_API_URL; + + +const apiUrlToken = import.meta.env.ENV_API_URL_TOKEN; + + +export const getCategoryData = createAsyncThunk('publicHome/pricingType', async () => { + return await axios.get(`${apiUrl}/application?Type=A`) +}) + +export const getMainModuleData = createAsyncThunk('publicHome/getMainModuleData', async ({ TypeName }) => { + if (TypeName != null && TypeName != undefined) { + return await axiosInstanceData.get(`/configMaster?TypeName=${TypeName}`) + } +}) +export const getModuleData = createAsyncThunk('publicHome/getModuleData', async ({ AlphaNumFId }) => { + if (AlphaNumFId != null && AlphaNumFId != undefined) { + return await axiosInstanceData.get(`/configMaster?AlphaNumFId=${AlphaNumFId}`) + } +}) + +export const getSubCategoryData = createAsyncThunk('publicHome/getSubCategoryData', async (CatId) => { + if (CatId != null && CatId != undefined) { + return await axios.get(`${apiUrl}/application?CateId=${CatId}`) + } +}) + +export const getApplicationData = createAsyncThunk('publicHome/getApplicationData', async (SubCatId) => { + if (SubCatId != null && SubCatId != undefined) { + return await axios.get(`${apiUrl}/application?SubId=${SubCatId}`) + } +}); + +export const getAllApplicationData = createAsyncThunk('publicHome/getApplicationData', async () => { + return await axios.get(`${apiUrl}/application`) +}); +export const getAllApplicationPlan = createAsyncThunk('publicHome/getApplicationData', async () => { + return await axios.get(`${apiUrl}/application?Type=D`) +}); + +export const postApplicationData = createAsyncThunk('application/postApplicationData', async (postData) => { + + return await axiosInstanceData.post('/application', postData) +}) +export const PostToken = createAsyncThunk('publicHome/PostToken', async (data) => { + + const params = new URLSearchParams(); + for (const key in data) { + params.append(key, data[key]); + } + try { + const response = await axios.post(`${apiUrlToken}/jwtTokenGenerator`, data, { + headers: { + 'Content-Type': 'application/json', + 'Accept': 'application/json', + }, + }); + + const { token } = response?.data; + if (!sessionStorage.getItem('auth')) { + sessionStorage.setItem('auth', token) + } + } catch (error) { + console.error('Error:', error); + } +}); + +const initialState = { + homeData: [] +} + +const publicHomeSlice = createSlice({ + name: 'publicHome', + initialState, + extraReducers: builder => { + builder.addCase(getCategoryData.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.homeData = action?.payload?.data?.data + } + else { + state.homeData = [] + } + + }) + } + +}) + +export const publicHomeSelector = state => state.homeData?.homeData + + + + +export default publicHomeSlice.reducer; \ No newline at end of file diff --git a/src/features/purcheseInfo/purcheseInfo.js b/src/features/purcheseInfo/purcheseInfo.js new file mode 100644 index 0000000..4cf5c08 --- /dev/null +++ b/src/features/purcheseInfo/purcheseInfo.js @@ -0,0 +1,21 @@ +import { createAsyncThunk } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +const apiUrl = import.meta.env.ENV_API_URL; + +export const getPurcheseInfo = createAsyncThunk("getPurcheseInfo", async () => { + return await axiosInstanceData.get(`${apiUrl}/UserPurchaseHistory`); +}); + + +export const getPurcheseInfoCount = createAsyncThunk("getPurcheseInfo", async () => { + return await axiosInstanceData.get(`${apiUrl}/UserPurchaseHistory/Count`); +}); + + +export const getPurcheseInfoFilter = createAsyncThunk("getPurcheseInfoFilter", async (data) => { + return await axiosInstanceData.get(`${apiUrl}/UserPurchaseHistory?type=${data}`); +}); + + + diff --git a/src/features/signInPage/signInPage.js b/src/features/signInPage/signInPage.js new file mode 100644 index 0000000..bb87df2 --- /dev/null +++ b/src/features/signInPage/signInPage.js @@ -0,0 +1,120 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import axios from "axios"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; +const subDirectory = import.meta.env.ENV_API_URL + + +export const GenerateLogout = createAsyncThunk('signInPage/GenerateLogout', async ({ UserId,status }) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.put('/Logout',{ "UserId": UserId,"Generate": status,"RequestMode":"DW" }) + } +}) +export const checkSession = createAsyncThunk('signInPage/checkSession', async ({ UserId,SessionId }) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/UserSessionId?UserId=${UserId}&SessionId=${SessionId}`) + } +}) +export const getUserData = createAsyncThunk('signInPage/getUserData', async ({ MobileNo,deviceId }) => { + if (MobileNo != null && MobileNo != undefined) { + return await axiosInstanceData.get(`/user?MobileNo=${MobileNo}&deviceId=${deviceId}`) + } +}) +export const verifyUserLoginPassword = createAsyncThunk('signInPage/verifyUserLogin', async ({ MobileNo, Password, IP, Browser, Version, OS, LoginType,AnotherWindow,deviceId,SessionId}) => { + if (MobileNo != null && MobileNo != undefined && Password != null && Password != undefined && AnotherWindow != undefined ) { + return await axiosInstanceData.get(`/login?UserName=${MobileNo}&Password=${Password}&IP=${IP}&Browser=${Browser}&Version=${Version}&OS=${OS}&LoginType=${LoginType}&AnotherWindow=${AnotherWindow}&RequestMode=DW&deviceId=${deviceId}&SessionId=${SessionId}`) + } +}) + +export const verifyUserLoginPin = createAsyncThunk('signInPage/verifyUserLogin', async ({ MobileNo, Pin, IP, Browser, Version, OS, LoginType,AnotherWindow,deviceId,SessionId}) => { + if (MobileNo != null && MobileNo != undefined && Pin != null && Pin != undefined && AnotherWindow != undefined) { + return await axiosInstanceData.get(`/login?UserName=${MobileNo}&Pin=${Pin}&IP=${IP}&Browser=${Browser}&Version=${Version}&OS=${OS}&LoginType=${LoginType}&AnotherWindow=${AnotherWindow}&RequestMode=DW&deviceId=${deviceId}&SessionId=${SessionId}`) + } +}) +export const sendOtp = createAsyncThunk('signInPage/verifyOTP', async ({ MobileNo }) => { + return await axiosInstanceData.post(`/verifyOTP`, { "UserName": MobileNo}) + +}) +export const sendOtpMobileNo = createAsyncThunk('signInPage/sendOtpMobileNo', async ({ MobileNo }) => { + return await axiosInstanceData.post('/verifyOTP/getOTP', { "UserName": MobileNo, "Type": "N" }) + +}) +export const setUser = createAsyncThunk('signInPage/setUser', async ({ MobileNo,deviceId }) => { + return await axiosInstanceData.post('/verifyOTP/setUser', { "UserName": MobileNo, "Type": "N","RequestMode":"DW","deviceId":deviceId}) + +}) +export const VerifyOtp = createAsyncThunk('signInPage/AccessTokenByOTP', async ({ MobileNo,OTP, IP, Browser, Version, OS, LoginType,deviceId,SessionId }) => { + if(MobileNo != null && MobileNo != undefined && OTP != null && OTP != undefined){ + return await axiosInstanceData.get(`/AccessTokenByOTP?userName=${MobileNo}&OTP=${OTP}&IP=${IP}&Browser=${Browser}&Version=${Version}&OS=${OS}&LoginType=${LoginType}&RequestMode=DW&deviceId=${deviceId}&SessionId=${SessionId}`) + } +}) +export const getAppAccess = createAsyncThunk('homePage/getAppAccess', async ({ UserId }) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/appAccess?UserId=${UserId}&Type=UC`) + } +}) +export const getuserAppMap = createAsyncThunk('signInPage/getuserAppMap', async ({ UserId }) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/userAppMap?UserId=${UserId}`) + } + +}) +export const getAppName = createAsyncThunk('AppName/getAppName', async ({ AppId }) => { + if (AppId != null && AppId != undefined) { + return await axios.get(`${subDirectory}/application?AppId=${AppId}`) + } +}) + +export const getAuthorizedSession = createAsyncThunk('AuthorizedSession/getAuthorizedSession', async ({ UserId,SessionId }) => { + console.log("getAuthorizedSession",UserId,SessionId) + if (UserId != null && UserId != undefined && SessionId != null && SessionId != undefined) { + console.log("getAuthorizedSession1",UserId,SessionId) + return await axios.get(`${subDirectory}/AuthorizedSession?UserId=${UserId}&SessionId=${SessionId}`) + // return await axiosInstanceData.get(`/AuthorizedSession?UserId=${UserId}&SessionId=${SessionId}`) + } +}) + +// export const getAuthorizedSession = createAsyncThunk('AuthorizedSession/getAuthorizedSession', async ({ UserId, SessionId, Mobileno }) => { +// if (UserId != null && UserId != undefined && SessionId != null && SessionId != undefined) { +// try { +// const response = await axios.get(`${subDirectory}/AuthorizedSession`, { +// headers: { +// 'Authorization': `Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9`, // Add the Authorization header +// 'Mobileno': Mobileno, // Add the Mobileno header +// }, +// params: { +// UserId, +// SessionId +// } +// }); +// console.log("responseresponse",response) +// return response; // Return the response data from the API +// } catch (error) { +// console.error("Error fetching authorized session:", error); +// throw error; // You can throw an error here to handle it in the thunk +// } +// } +// }); + +const initialState = { + UserData: [] +} + + +const signInPageSlice = createSlice({ + name: 'signInPage', + initialState, + extraReducers: builder => { + builder.addCase(getUserData.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode === 1) { + state.UserData = action?.payload?.data?.data + } else { + state.UserData = [] + } + }) + } + +}) +export const getUserDataSelector = state => state.signInPage.UserData + +export default signInPageSlice.reducer; + diff --git a/src/features/signinDetails/signinDetails.js b/src/features/signinDetails/signinDetails.js new file mode 100644 index 0000000..3768efa --- /dev/null +++ b/src/features/signinDetails/signinDetails.js @@ -0,0 +1,69 @@ +import { createAsyncThunk } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +// export const getSigninDetails = createAsyncThunk('signinDetails/getSigninDetails', async (data) => { + +// if (data?.Fromdate != null && data?.Fromdate != undefined && data?.Todate != null && data?.Todate != undefined) { +// return await axiosInstanceData.get(`/UserLoginLog?FromDate=${data?.Fromdate}&ToDate=${data?.Todate}`) +// } +// else{ + +// return await axiosInstanceData.get(`/UserLoginLog`) +// } +// }) +export const getSigninDetails = createAsyncThunk('signinDetails/getSigninDetails', async (data) => { + + // if (data?.Fromdate != null && data?.Fromdate != undefined && data?.Todate != null && data?.Todate != undefined) { + // return await axiosInstanceData.get(`/UserLoginLog?FromDate=${data?.Fromdate}&ToDate=${data?.Todate}`) + // } + if(data?.role != null && data?.role != undefined && data?.pageNumber) { + return await axiosInstanceData.get(`/UserLoginLog?pageNumber=${data?.pageNumber}&role=${data?.role}`) + + + } + else { + + return await axiosInstanceData.get(`/UserLoginLog?pageNumber=${data?.pageNumber}`) + } +}) +export const getSigninDetailswithUserId = createAsyncThunk('signinDetails/getSigninDetails', async ({ Fromdate,Todate, userId}) => { + + + if (Fromdate != null && Fromdate != undefined && Todate != null && Todate != undefined && userId != null && userId != undefined) { + return await axiosInstanceData.get(`/UserLoginLog?FromDate=${Fromdate}&ToDate=${Todate} &userId=${userId}`) + } + + // else + else if (userId != null && userId != undefined ) { + return await axiosInstanceData.get(`/UserLoginLog?userId=${userId}`) + } + // else { + + // return await axiosInstanceData.get(`/UserLoginLog?pageNumber=${data?.pageNumber}`) + // } +}) +export const getOnlineUserTracking = createAsyncThunk( + "feature/getOnlineUserTracking", + async (data) => { + return await axiosInstanceData.get(`/OnlineUserTracking?pageNumber=${data?.pageNumber}`); + } +); + +export const getUserOtp = createAsyncThunk('signinDetails/getUserOtp',async ({ AppId, BranchId, CompId, userTypeName, pageNumber }) => { + const queryParams = new URLSearchParams(); + + if (AppId) queryParams.append("AppId", AppId); + if (BranchId) queryParams.append("BranchId", BranchId); + if (CompId) queryParams.append("CompId", CompId); + if (userTypeName) queryParams.append("userTypeName", userTypeName); + if (pageNumber) queryParams.append("pageNumber", pageNumber); + + return await axiosInstanceData.get(`/UserOtp?${queryParams.toString()}`); + } +); + + +export const PostUserOtp = createAsyncThunk('signinDetails/PostUserOtp', async (postData) => { + + return await axiosInstanceData.post('/VerifyOtp', postData) +}) \ No newline at end of file diff --git a/src/features/superAdminAccess/superAdminAccess.js b/src/features/superAdminAccess/superAdminAccess.js new file mode 100644 index 0000000..02d5397 --- /dev/null +++ b/src/features/superAdminAccess/superAdminAccess.js @@ -0,0 +1,74 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import { axiosInstanceData } from '../AuthenticationTokens/AuthenticationToken'; + +// POST request for creating new Super Admin User Access +export const postSuperAdminUserAccess = createAsyncThunk( + "superAdminAccess/postSuperAdminUserAccess", + async (postData) => { + + return await axiosInstanceData.post('/SuperAdminUserAccess', postData); + } +); + +// GET request for fetching Super Admin User Access by UserId +export const getSuperAdminUserAccess = createAsyncThunk( + "superAdminAccess/getSuperAdminUserAccess", + async ({ UserId }) => { + return await axiosInstanceData.get(`/SuperAdminUserAccess?userId=${UserId}`); + } + + + +); + +export const getSuperAllAdminUserAccess = createAsyncThunk("superAdminAccess/getSuperAllAdminUserAccess", async () => { + return await axiosInstanceData.get(`/SuperAdminUserAccess`); + +} + + + +); + +// PUT request for updating Super Admin User Access +export const putSuperAdminUserAccessData = createAsyncThunk( + "superAdminAccess/putSuperAdminUserAccessData", + async (putData) => { + + return await axiosInstanceData.put('/SuperAdminUserAccess', putData); + } +); + +// GET request to fetch Super Admin User +export const getSadminUser = createAsyncThunk( + "moduleAccess/getSadminUser", + async ({ UserType = "Super Admin User" }) => { + return await axiosInstanceData.get(`/login?Type=${UserType}`); + } +); + +const initialState = { + SuperAdminUserAccessData: [], + loading: false, + error: null, +}; + +const SuperAdminUserAccessSlice = createSlice({ + name: 'superAdminUserAccess', + initialState, + extraReducers: (builder) => { + builder.addCase(getSuperAdminUserAccess.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.SuperAdminUserAccessData = action?.payload?.data?.data?.[0]?.SuperAdminUserAccessDetails || []; + } else { + state.SuperAdminUserAccessData = []; + } + state.loading = false; + }) + + }, +}); + +export const SuperAdminUserAccessDataSelector = state => state?.superAdminUserAccess?.SuperAdminUserAccessData; + +export default SuperAdminUserAccessSlice.reducer; diff --git a/src/features/tax/tax.js b/src/features/tax/tax.js new file mode 100644 index 0000000..55669e0 --- /dev/null +++ b/src/features/tax/tax.js @@ -0,0 +1,47 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + + + +export const getAdmin = createAsyncThunk('tax/adminTax', async () => { + return await axiosInstanceData.get('/adminTax?ActiveStatus=A') +}) + +export const postTax = createAsyncThunk('tax/postFeature', async (postData) => { + + return await axiosInstanceData.post('/adminTax', postData) +}) + +export const deleteTax = createAsyncThunk('tax/deleteTax', async (deleteData) => { + return await axiosInstanceData.delete(`/adminTax?TaxId=${deleteData?.TaxId}&ActiveStatus=${deleteData?.ActiveStatus}&UpdatedBy=${deleteData?.UpdatedBy}`) +}) + + +const initialState = { + taxData: [] +} + +const taxSlice = createSlice({ + name:'tax', + initialState, + extraReducers: builder => { + builder.addCase(getAdmin.fulfilled, (state, action)=> { + if (action?.payload?.status) { + state.taxData = action?.payload?.data?.data + } + else { + state.taxData = [] + } + + }) + } + +}) + +export const taxSelector = state => state.taxData?.taxData + + + + +export default taxSlice.reducer; + diff --git a/src/features/testimonials/testimonials.js b/src/features/testimonials/testimonials.js new file mode 100644 index 0000000..6cba691 --- /dev/null +++ b/src/features/testimonials/testimonials.js @@ -0,0 +1,51 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +export const getAdminNames = createAsyncThunk('login/getAdminNames', async () => { + return await axiosInstanceData.get('/login?Type=Admin') +}) + +export const getApplications = createAsyncThunk('userAppMap/getApplications', async (UserId) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/userAppMap?UserId=${UserId}`) + + } +}) + +export const getActiveAppCompanyData = createAsyncThunk('appAccess/getActiveAppCompanyData', async (AppAccessData) => { + if (AppAccessData?.AppId != null && AppAccessData?.AppId != undefined && AppAccessData?.UserId != null && AppAccessData?.UserId != undefined) { + return await axiosInstanceData.get(`/appAccess?AppId=${AppAccessData?.AppId}&UserId=${AppAccessData?.UserId}&ActiveStatus=A`) + } + +}) + + +export const PostCustomerTestimonials = createAsyncThunk('company/postCompanyData', async (postData) => { + if(postData){ + + return await axiosInstanceData.post('/CustomerTestimonials', postData) + + } +}) + + +export const getCustomertestimonials= createAsyncThunk('appAccess/getActiveAppCompanyData', async () => { + + return await axiosInstanceData.get(`/CustomerTestimonials`) + +}) + + +export const PutCustomerTestimonials = createAsyncThunk('company/postCompanyData', async (putData) => { + if(putData){ + + return await axiosInstanceData.put('/CustomerTestimonials', putData) + + } +}) + + +export const deleteCustomertestimonials = createAsyncThunk('company/deleteCompanyData', async (deleteData) => { + return await axiosInstanceData.delete(`/CustomerTestimonials?activeStatus=${deleteData?.activeStatus}&uniqueId=${deleteData?.uniqueId}&updatedBy=${deleteData?.updatedBy}`) + +}) diff --git a/src/features/themeChange/themeChange.js b/src/features/themeChange/themeChange.js new file mode 100644 index 0000000..4f4a306 --- /dev/null +++ b/src/features/themeChange/themeChange.js @@ -0,0 +1,274 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; + +import { axiosInstanceData } from "../AuthenticationTokens/AuthenticationToken"; +import axios from "axios"; + +const apiUrl = import.meta.env.ENV_API_URL; + +export const getAllApplications = createAsyncThunk( + "theme/getAllApplications", + async () => { + return axios.get(`${apiUrl}/application?ActiveStatus=A`); + } +); + +export const getColors = createAsyncThunk("theme/getColors", async () => { + return axiosInstanceData.get("/color?ActiveStatus=A"); +}); + +export const getFonts = createAsyncThunk("theme/getFonts", async () => { + return axiosInstanceData.get("/font?ActiveStatus=A"); +}); + +export const getTemplate = createAsyncThunk( + "theme/getTemplate", + async (AppName) => { + if (AppName != null && AppName != undefined) { + return axiosInstanceData.get(`/template?AppName=${AppName}`); + } + } +); + +export const postColorData = createAsyncThunk( + "theme/postColorData", + async (postData) => { + return await axiosInstanceData.post("/color", postData); + } +); + +export const postFontData = createAsyncThunk( + "theme/postFontData", + async (postData) => { + return await axiosInstanceData.post("/font", postData); + } +); + +export const getComponentName = createAsyncThunk( + "Component/component", + async () => { + return await axiosInstanceData.get("/component"); + } +); + +export const postOverAllData = createAsyncThunk( + "theme/postOverAllData", + async (postData) => { + return await axiosInstanceData.post("/template", postData); + } +); + +export const putOverAllData = createAsyncThunk( + "theme/putOverAllData", + async (putData) => { + return await axiosInstanceData.put("/template", putData); + } +); + +const initialState = { + allApplications: [], + allColors: [], + allFonts: [], + CurrentColor: { + darkColor: "#37943C", + lightColor: "#b2eb9b", + }, + CurrentText: { + head: "Gilroy", + para: "Poppins", + }, + OverviewData: [], + Overview1Img: "", + Overview2Img: "", + Overview2Video: null, + FaqDetails: [], + navList1: [], + SelectedApplication: null, + AppName: "", + FeatureList: [], + FooterDetails: [], + templateData: [], + colorId: null, + fontId: null, + PricingData: [], + PageAppId: "", + showCaseDetails: [], + appViewDetails: [], + testimonialDetails: [], + CtaData: [], +}; + +const ThemeSlice = createSlice({ + name: "theme", + initialState, + reducers: { + changeShowCaseDetails: (state, action) => { + state.showCaseDetails = action?.payload; + }, + changeAppViewDetails: (state, action) => { + state.appViewDetails = action?.payload; + }, + changeTestimonialDetails: (state, action) => { + state.testimonialDetails = action?.payload; + }, + changeCurrentColor: (state, action) => { + const { color } = action?.payload + state.CurrentColor = color + }, + changeCurrentText: (state, action) => { + const { text } = action?.payload + state.CurrentText = text + }, + changeOverviewData: (state, action) => { + const { postData } = action?.payload + state.OverviewData = postData + }, + changeOverview1Img: (state, action) => { + const { overview1Img } = action?.payload + state.Overview1Img = overview1Img + }, + changeOverview2Img: (state, action) => { + const { overview2Img } = action?.payload + state.Overview2Img = overview2Img + }, + changeOverview2Video: (state, action) => { + const { overview2Video } = action?.payload + state.Overview2Video = overview2Video + }, + changeFaqDetails: (state, action) => { + const data = action?.payload + state.FaqDetails = data + }, + changeNavList1: (state, action) => { + const navList = action?.payload + state.navList1 = navList + }, + changeSelectedApplication: (state, action) => { + const AppId = action?.payload + state.SelectedApplication = AppId + }, + changeFeatureList: (state, action) => { + const { featureList } = action?.payload + state.FeatureList = featureList + }, + changeFooterDetails: (state, action) => { + state.FooterDetails = action?.payload; + }, + + changeCtaDetails: (state, action) => { + state.CtaData = action?.payload; + }, + changePricingData: (state, action) => { + const { postData } = action?.payload + state.PricingData = postData + }, + changePageAppId: (state, action) => { + state.PageAppId = action?.payload + }, + emptyTemplateData: (state, action) => { + state.SelectedApplication = null + state.AppName = '' + state.templateData = [] + }, + emptyPostData: (state, action) => { + state.navList1 = [] + state.OverviewData = [] + state.FeatureList = [] + state.PricingData = [] + state.FaqDetails = [] + state.FooterDetails = [] + state.CurrentColor = { darkColor: '#37943C', lightColor: '#b2eb9b' } + state.CurrentText = { head: 'Gilroy', para: 'Poppins' } + state.Overview1Img = "" + state.Overview2Img = "" + state.Overview2Video = null + + } + + }, + extraReducers: (builder) => { + builder.addCase(getAllApplications.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode == 1) { + state.allApplications = action?.payload?.data?.data + } + + }), + builder.addCase(getColors.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode == 1) { + state.allColors = action?.payload?.data?.data + } + }), + builder.addCase(getFonts.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode == 1) { + state.allFonts = action?.payload?.data?.data + } + + }), + builder.addCase(getTemplate.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode == 1) { + let tempDic = {} + state.SelectedApplication = { AppId: action?.payload?.data?.data[0]?.AppId } + state.AppName = action?.payload?.data?.data[0]?.AppName + state.CurrentColor = { darkColor: action?.payload?.data?.data[0]?.DarkColor, lightColor: action?.payload?.data?.data[0]?.LightColor } + state.CurrentText = { head: action?.payload?.data?.data[0]?.HeadFont, para: action?.payload?.data?.data[0]?.ParaFont } + state.fontId = action?.payload?.data?.data[0]?.FontId + state.colorId = action?.payload?.data?.data[0]?.ColorId + for (let eachData of action?.payload?.data?.data[0]?.ComponentDetails) { + tempDic[eachData.SectionName] = [eachData.ComponentName, eachData.FieldDetails] + } + state.templateData = tempDic + } else { + state.templateData = {} + } + }) + } +}) + + +export const { + changeCurrentColor, + changeCurrentText, + changeOverviewData, + changeOverview1Img, + changeOverview2Img, + changeOverview2Video, + changeFaqDetails, + changeNavList1, + changeSelectedApplication, + changeFeatureList, + changeFooterDetails, + changeCtaDetails, + changePricingData, + changePageAppId, + emptyTemplateData, + emptyPostData, + changeShowCaseDetails, + changeAppViewDetails, + changeTestimonialDetails, +} = ThemeSlice.actions; + +export const globalshowCaseDetails = (state) => state.theme?.showCaseDetails; +export const globalappViewDetails = (state) => state.theme?.appViewDetails; +export const globaltestimonialDetails = (state) => state.theme?.testimonialDetails; +export const changeCurrentColorValue = (state) => state.theme?.CurrentColor +export const changeCurrentTextValue = (state) => state.theme?.CurrentText +export const getAllApplicationsData = (state) => state.theme?.allApplications +export const getColorsData = (state) => state.theme?.allColors +export const getFontsData = (state) => state.theme?.allFonts +export const overviewPostData = (state) => state.theme?.OverviewData +export const overview1Img = (state) => state.theme?.Overview1Img +export const overview2Img = (state) => state.theme?.Overview2Img +export const overview2Video = (state) => state.theme?.Overview2Video +export const navList1Selector = (state) => state.theme?.navList1 +export const FaqDetailsSelector = (state) => state?.theme?.FaqDetails +export const selectedApplication = (state) => state?.theme?.SelectedApplication +export const selectedApplicationName = (state) => state?.theme?.AppName +export const selectedFontId = (state) => state?.theme?.fontId +export const selectedColorId = (state) => state?.theme?.colorId +export const selectedFeatureListSelector = (state) => state?.theme?.FeatureList +export const getFooterDetails = (state) => state?.theme?.FooterDetails +export const getPageAppId = (state) => state?.theme?.PageAppId +export const pricingPostData = (state) => state.theme.PricingData +export const getTemplateData = (state) => state.theme.templateData +export const getCtaDatas = (state) => state.theme.CtaData; + +export default ThemeSlice.reducer; \ No newline at end of file diff --git a/src/features/ticketsDetails/ticketsDetails.js b/src/features/ticketsDetails/ticketsDetails.js new file mode 100644 index 0000000..d1a2fbb --- /dev/null +++ b/src/features/ticketsDetails/ticketsDetails.js @@ -0,0 +1,47 @@ +import { createAsyncThunk } from "@reduxjs/toolkit"; +import { axiosInstanceData } from '../AuthenticationTokens/AuthenticationToken'; + +export const getTicketMaster = createAsyncThunk( + "ticketDetails/getTicketMaster", + async ({ AppId, BranchId, CompId, status, pageNumber }) => { + const params = new URLSearchParams(); + + if (AppId) params.append("appId", AppId); + if (BranchId) params.append("branchId", BranchId); + if (CompId) params.append("compId", CompId); + if (status) params.append("status", status); + params.append("pageNumber", pageNumber); + + return await axiosInstanceData.get(`/TicketMaster?${params.toString()}`); + } +); + + +export const getBranch = createAsyncThunk('ticketDetails/getBranch', async ({ AppId,CompId }) => { + if( AppId != null && AppId != undefined && CompId != null && CompId != undefined){ + return await axiosInstanceData.get(`/branch?appId=${AppId}&compId=${CompId}`) + } +}) + +export const getCompany = createAsyncThunk('ticketDetails/getCompany', async ({ AppId }) => { + if( AppId != null && AppId != undefined ){ + return await axiosInstanceData.get(`/Company?appId=${AppId}&activeStatus=A`) + } +}) + +export const gettypeStatus= createAsyncThunk('ticketDetails/getConfigurationType', async () => { + return await axiosInstanceData.get(`/ConfigMaster?typeName=Ticket Status`) +}) +export const postTicketmaster= createAsyncThunk('ticketDetails/getConfigurationType', async (postData) => { + + return await axiosInstanceData.post('/TicketMaster',postData) +}) + +export const putTicketmaster= createAsyncThunk('ticketDetails/getConfigurationType', async (putData) => { + + return await axiosInstanceData.put('/TicketMaster',putData) +}) + +export const getStatusCount= createAsyncThunk('ticketDetails/getStatusCount', async () => { + return await axiosInstanceData.get(`/TicketLogHistory/Count`) +}) diff --git a/src/features/upload/upload.js b/src/features/upload/upload.js new file mode 100644 index 0000000..13bf775 --- /dev/null +++ b/src/features/upload/upload.js @@ -0,0 +1,17 @@ +import { createAsyncThunk } from "@reduxjs/toolkit"; +import axios from "axios"; +import { axiosInstanceData } from '../AuthenticationTokens/AuthenticationToken'; +const uploadApiUrl = import.meta.env.ENV_IMAGE_UPLOAD_API_URL; + + +export const uploadImage = createAsyncThunk('upload/uploadImage', async (file) => { + let formdata = new FormData(); + formdata.append("file", file); + return await axiosInstanceData.post(`${uploadApiUrl}/upload`, formdata) +}) + +export const uploadApk = createAsyncThunk('upload/ApkUpload', async (file) => { + let formdata = new FormData(); + formdata.append("file", file); + return await axiosInstanceData.post(`${uploadApiUrl}/upload/ApkUpload`, formdata) +}) \ No newline at end of file diff --git a/src/features/userAccount/userAccount.js b/src/features/userAccount/userAccount.js new file mode 100644 index 0000000..e57e518 --- /dev/null +++ b/src/features/userAccount/userAccount.js @@ -0,0 +1,64 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import {axiosInstanceData} from '../AuthenticationTokens/AuthenticationToken'; + +export const getUserDataByUserId = createAsyncThunk('userAccount/getUserData', async ({ userId }) => { + if(userId != null && userId != undefined){ + return axiosInstanceData.get(`/user?UserId=${userId}`) + } +}) + +export const updateUserData = createAsyncThunk('userAccount/updateUserData', async (putData) => { + + return axiosInstanceData.put('/user/updateUserProfile', putData) +}) + +export const putPassword = createAsyncThunk('password/putPriceType', async (putData) => { + + return await axiosInstanceData.put('/user/setPassword', putData) +}) +export const putPin = createAsyncThunk('password/putPriceType', async (putData) => { + + return await axiosInstanceData.put('/user/setPin', putData) +}) + +export const getPassword = createAsyncThunk('password/getPassword', async (data) => { + if (data?.UserId != null && data?.UserId != undefined && data?.ActiveStatus != null && data?.ActiveStatus != undefined) { + return await axiosInstanceData.get(`/user?UserId=${data?.UserId}&ActiveStatus=${data?.ActiveStatus}`) + } +}) + +export const postReferralSetup = createAsyncThunk('referral/postReferralSetup', async (postData) => { + + return await axiosInstanceData.post('/ReferralSetup', postData) +}) + + +const initialState = { + userData: [] +} + +const userAccountSlice = createSlice({ + name: 'userAccount', + initialState, + reducers: { + changeUserData: (state, action) => { + const { userData } = action?.payload + state.userData = { ...state.userData, ...userData } + } + }, + extraReducers: builder => { + builder.addCase(getUserDataByUserId.fulfilled, (state, action) => { + if (action?.payload?.data?.statusCode) { + state.userData = action?.payload?.data?.data[0] + } + }) + } +}) + +export const userDataByUserId = state => state.userAccount ? state.userAccount.userData : initialState.userData; + +export const { changeUserData } = userAccountSlice.actions; + +export default userAccountSlice.reducer; + + diff --git a/src/features/userPage/userPage.js b/src/features/userPage/userPage.js new file mode 100644 index 0000000..e016eb5 --- /dev/null +++ b/src/features/userPage/userPage.js @@ -0,0 +1,120 @@ +import { createAsyncThunk, createSlice } from "@reduxjs/toolkit"; +import { axiosInstanceEMAIL_SMSData, axiosInstanceData,axiosRetailInstanceData } from '../AuthenticationTokens/AuthenticationToken'; + +export const getFilterUserDataBasedOnLocation = createAsyncThunk('user/getFilterUserDataBasedOnLocation', async (data) => { + return await axiosInstanceData.get(`/User/UserLocation?branchId=${data.branchId}&latitude=${data.latitude}&longitude=${data.longitude}`) +}) + +export const getUserData = createAsyncThunk('user/getUserData', async () => { + return await axiosInstanceData.get('/user?UserType=E') +}) +export const getAllUserData = createAsyncThunk('user/getAllUserData', async (type) => { + return await axiosInstanceData.get(`/user?UserType=${type}`) +}) + +export const getBasedUserData = createAsyncThunk('user/getUserData', async (UserId) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/user?UserType=A&UserId=${UserId}`) + } +}) +export const getBasedAdminUserData = createAsyncThunk('user/getBasedAdminUserData', async (UserId) => { + if (UserId != null && UserId != undefined) { + return await axiosInstanceData.get(`/user?UserType=A&UserId=${UserId}`) + } +}) + +export const postUserData = createAsyncThunk('user/postUserData', async (postData) => { + + return await axiosInstanceData.post('/user', postData) +}) + +export const putUserData = createAsyncThunk('user/putUserData', async (putData) => { + + return await axiosInstanceData.put('/user', putData) +}) + +export const deleteUserData = createAsyncThunk('user/deleteUserData', async (deleteData) => { + + return await axiosInstanceData.delete('/user', { params: deleteData }) +}) +export const putResetUserData = createAsyncThunk('user/putResetUserData', async (putData) => { + + return await axiosInstanceData.put('/User/ResetPinPassword', putData) +}) + +export const postResetPinPasswordSms = createAsyncThunk('user/postResetPinPasswordSms', async (postData) => { + + return await axiosInstanceEMAIL_SMSData.post(`/ResetPinPasswordSms`, postData) +}) +export const postResetPinPasswordEmail = createAsyncThunk('user/postResetPinPasswordEmail', async (postData) => { + + return await axiosInstanceEMAIL_SMSData.post(`/ResetPinPasswordEmail`, postData) +}) + +export const sendSms = createAsyncThunk("sendSms/sendSms", async (postData) => { + + return await axiosInstanceEMAIL_SMSData.post("/OTPSms", postData); +}); +export const sendEmail = createAsyncThunk("OTPEmail/OTPEmail", async (postData) => { + + return await axiosInstanceEMAIL_SMSData.post("/OTPEmail", postData); +}); + +export const checkUserExistsAsEmployeeInOther = createAsyncThunk("UserExistCheck/checkUserExistsAsEmployeeInOther", async (data) => { + if (data?.MobileNo && data?.BranchId) { + return await axiosInstanceData.get(`/UserRelievInfo?mobileNo=${data?.MobileNo}&BranchId=${data?.BranchId}`); + } +}); + +export const postReleiveRequest = createAsyncThunk("postReleiveRequest/postReleiveRequest", async (data) => { + if (data) { + return await axiosInstanceData.post(`/UserRelievInfo`, data); + } +}); + +export const getupiotp = createAsyncThunk('getupiotp', async (data) => { + if ( + data?.MobileNo != null && + data?.MobileNo != undefined && + data?.OTP != null && + data?.OTP != undefined + ) { + return await axiosRetailInstanceData.get( + `/upiVerify?MobileNo=${data?.MobileNo}&OTP=${data?.OTP}` + ); + } +}); + +export const sendupiotp = createAsyncThunk('sendupiotp', async (postData) => { + return await axiosRetailInstanceData.post(`/upiVerify`, postData); +}); + + + +const initialState = { + userData: [], +} + +const userSlice = createSlice({ + name: 'user', + initialState, + extraReducers: builder => { + builder.addCase(getUserData.fulfilled, (state, action) => { + if (action?.payload?.status) { + state.userData = action?.payload?.data?.data + } + else { + state.userData = [] + } + + }) + } + +}) + +export const userDataSelector = state => state.userPage?.userData + + + + +export default userSlice.reducer; \ No newline at end of file diff --git a/src/fonts/Gilroy/Gilroy-Black.woff b/src/fonts/Gilroy/Gilroy-Black.woff new file mode 100644 index 0000000..d76b8e1 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-Black.woff differ diff --git a/src/fonts/Gilroy/Gilroy-Black.woff2 b/src/fonts/Gilroy/Gilroy-Black.woff2 new file mode 100644 index 0000000..357c4a9 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-Black.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-BlackItalic.woff b/src/fonts/Gilroy/Gilroy-BlackItalic.woff new file mode 100644 index 0000000..1238aef Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-BlackItalic.woff differ diff --git a/src/fonts/Gilroy/Gilroy-BlackItalic.woff2 b/src/fonts/Gilroy/Gilroy-BlackItalic.woff2 new file mode 100644 index 0000000..6b6e70c Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-BlackItalic.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-Bold.woff b/src/fonts/Gilroy/Gilroy-Bold.woff new file mode 100644 index 0000000..3cf2d5f Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-Bold.woff differ diff --git a/src/fonts/Gilroy/Gilroy-Bold.woff2 b/src/fonts/Gilroy/Gilroy-Bold.woff2 new file mode 100644 index 0000000..03776c6 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-Bold.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-BoldItalic.woff b/src/fonts/Gilroy/Gilroy-BoldItalic.woff new file mode 100644 index 0000000..1590225 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-BoldItalic.woff differ diff --git a/src/fonts/Gilroy/Gilroy-BoldItalic.woff2 b/src/fonts/Gilroy/Gilroy-BoldItalic.woff2 new file mode 100644 index 0000000..7a125e9 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-BoldItalic.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-ExtraBold.woff b/src/fonts/Gilroy/Gilroy-ExtraBold.woff new file mode 100644 index 0000000..96b2b47 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-ExtraBold.woff differ diff --git a/src/fonts/Gilroy/Gilroy-ExtraBold.woff2 b/src/fonts/Gilroy/Gilroy-ExtraBold.woff2 new file mode 100644 index 0000000..b13b60a Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-ExtraBold.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-ExtraBoldItalic.woff b/src/fonts/Gilroy/Gilroy-ExtraBoldItalic.woff new file mode 100644 index 0000000..aa158ea Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-ExtraBoldItalic.woff differ diff --git a/src/fonts/Gilroy/Gilroy-ExtraBoldItalic.woff2 b/src/fonts/Gilroy/Gilroy-ExtraBoldItalic.woff2 new file mode 100644 index 0000000..51a1772 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-ExtraBoldItalic.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-Heavy.woff b/src/fonts/Gilroy/Gilroy-Heavy.woff new file mode 100644 index 0000000..9d9db16 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-Heavy.woff differ diff --git a/src/fonts/Gilroy/Gilroy-Heavy.woff2 b/src/fonts/Gilroy/Gilroy-Heavy.woff2 new file mode 100644 index 0000000..9805de6 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-Heavy.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-HeavyItalic.woff b/src/fonts/Gilroy/Gilroy-HeavyItalic.woff new file mode 100644 index 0000000..80f9143 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-HeavyItalic.woff differ diff --git a/src/fonts/Gilroy/Gilroy-HeavyItalic.woff2 b/src/fonts/Gilroy/Gilroy-HeavyItalic.woff2 new file mode 100644 index 0000000..0c9672c Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-HeavyItalic.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-Light.woff b/src/fonts/Gilroy/Gilroy-Light.woff new file mode 100644 index 0000000..a5189cf Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-Light.woff differ diff --git a/src/fonts/Gilroy/Gilroy-Light.woff2 b/src/fonts/Gilroy/Gilroy-Light.woff2 new file mode 100644 index 0000000..bc5a5c1 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-Light.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-LightItalic.woff b/src/fonts/Gilroy/Gilroy-LightItalic.woff new file mode 100644 index 0000000..e4748c0 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-LightItalic.woff differ diff --git a/src/fonts/Gilroy/Gilroy-LightItalic.woff2 b/src/fonts/Gilroy/Gilroy-LightItalic.woff2 new file mode 100644 index 0000000..1bfa5f6 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-LightItalic.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-Medium.woff b/src/fonts/Gilroy/Gilroy-Medium.woff new file mode 100644 index 0000000..987583a Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-Medium.woff differ diff --git a/src/fonts/Gilroy/Gilroy-Medium.woff2 b/src/fonts/Gilroy/Gilroy-Medium.woff2 new file mode 100644 index 0000000..2764710 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-Medium.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-MediumItalic.woff b/src/fonts/Gilroy/Gilroy-MediumItalic.woff new file mode 100644 index 0000000..e47e0fc Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-MediumItalic.woff differ diff --git a/src/fonts/Gilroy/Gilroy-MediumItalic.woff2 b/src/fonts/Gilroy/Gilroy-MediumItalic.woff2 new file mode 100644 index 0000000..4e53ac1 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-MediumItalic.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-Regular.woff b/src/fonts/Gilroy/Gilroy-Regular.woff new file mode 100644 index 0000000..c0e4821 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-Regular.woff differ diff --git a/src/fonts/Gilroy/Gilroy-Regular.woff2 b/src/fonts/Gilroy/Gilroy-Regular.woff2 new file mode 100644 index 0000000..64fd436 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-Regular.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-RegularItalic.woff b/src/fonts/Gilroy/Gilroy-RegularItalic.woff new file mode 100644 index 0000000..ea4e209 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-RegularItalic.woff differ diff --git a/src/fonts/Gilroy/Gilroy-RegularItalic.woff2 b/src/fonts/Gilroy/Gilroy-RegularItalic.woff2 new file mode 100644 index 0000000..928cd6f Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-RegularItalic.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-SemiBold.woff b/src/fonts/Gilroy/Gilroy-SemiBold.woff new file mode 100644 index 0000000..d748f19 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-SemiBold.woff differ diff --git a/src/fonts/Gilroy/Gilroy-SemiBold.woff2 b/src/fonts/Gilroy/Gilroy-SemiBold.woff2 new file mode 100644 index 0000000..d193f13 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-SemiBold.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-SemiBoldItalic.woff b/src/fonts/Gilroy/Gilroy-SemiBoldItalic.woff new file mode 100644 index 0000000..67fd476 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-SemiBoldItalic.woff differ diff --git a/src/fonts/Gilroy/Gilroy-SemiBoldItalic.woff2 b/src/fonts/Gilroy/Gilroy-SemiBoldItalic.woff2 new file mode 100644 index 0000000..b3f1003 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-SemiBoldItalic.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-Thin.woff b/src/fonts/Gilroy/Gilroy-Thin.woff new file mode 100644 index 0000000..de7fe31 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-Thin.woff differ diff --git a/src/fonts/Gilroy/Gilroy-Thin.woff2 b/src/fonts/Gilroy/Gilroy-Thin.woff2 new file mode 100644 index 0000000..395956c Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-Thin.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-ThinItalic.woff b/src/fonts/Gilroy/Gilroy-ThinItalic.woff new file mode 100644 index 0000000..a58b56e Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-ThinItalic.woff differ diff --git a/src/fonts/Gilroy/Gilroy-ThinItalic.woff2 b/src/fonts/Gilroy/Gilroy-ThinItalic.woff2 new file mode 100644 index 0000000..f0ff62b Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-ThinItalic.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-UltraLight.woff b/src/fonts/Gilroy/Gilroy-UltraLight.woff new file mode 100644 index 0000000..dccc924 Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-UltraLight.woff differ diff --git a/src/fonts/Gilroy/Gilroy-UltraLight.woff2 b/src/fonts/Gilroy/Gilroy-UltraLight.woff2 new file mode 100644 index 0000000..b96c8ad Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-UltraLight.woff2 differ diff --git a/src/fonts/Gilroy/Gilroy-UltraLightItalic.woff b/src/fonts/Gilroy/Gilroy-UltraLightItalic.woff new file mode 100644 index 0000000..d200b1c Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-UltraLightItalic.woff differ diff --git a/src/fonts/Gilroy/Gilroy-UltraLightItalic.woff2 b/src/fonts/Gilroy/Gilroy-UltraLightItalic.woff2 new file mode 100644 index 0000000..0a4014f Binary files /dev/null and b/src/fonts/Gilroy/Gilroy-UltraLightItalic.woff2 differ diff --git a/src/fonts/Gilroy/demo.html b/src/fonts/Gilroy/demo.html new file mode 100644 index 0000000..ca25daa --- /dev/null +++ b/src/fonts/Gilroy/demo.html @@ -0,0 +1,743 @@ + + + + + + + + + Transfonter demo + + + + +
    +
    +

    ☞Gilroy-Bold

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: bold;
    +    font-style: normal;
    +}
    +
    +<link rel="preload" href="Gilroy-Bold.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-BlackItalic

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: 900;
    +    font-style: italic;
    +}
    +
    +<link rel="preload" href="Gilroy-BlackItalic.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-Black

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: 900;
    +    font-style: normal;
    +}
    +
    +<link rel="preload" href="Gilroy-Black.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-BoldItalic

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: bold;
    +    font-style: italic;
    +}
    +
    +<link rel="preload" href="Gilroy-BoldItalic.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-LightItalic

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: 300;
    +    font-style: italic;
    +}
    +
    +<link rel="preload" href="Gilroy-LightItalic.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-Medium

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: 500;
    +    font-style: normal;
    +}
    +
    +<link rel="preload" href="Gilroy-Medium.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-HeavyItalic

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: 900;
    +    font-style: italic;
    +}
    +
    +<link rel="preload" href="Gilroy-HeavyItalic.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-Light

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: 300;
    +    font-style: normal;
    +}
    +
    +<link rel="preload" href="Gilroy-Light.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-ExtraBoldItalic

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: bold;
    +    font-style: italic;
    +}
    +
    +<link rel="preload" href="Gilroy-ExtraBoldItalic.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-Heavy

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: 900;
    +    font-style: normal;
    +}
    +
    +<link rel="preload" href="Gilroy-Heavy.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-ExtraBold

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: bold;
    +    font-style: normal;
    +}
    +
    +<link rel="preload" href="Gilroy-ExtraBold.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-MediumItalic

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: 500;
    +    font-style: italic;
    +}
    +
    +<link rel="preload" href="Gilroy-MediumItalic.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-UltraLightItalic

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: 200;
    +    font-style: italic;
    +}
    +
    +<link rel="preload" href="Gilroy-UltraLightItalic.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-ThinItalic

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: 100;
    +    font-style: italic;
    +}
    +
    +<link rel="preload" href="Gilroy-ThinItalic.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-Thin

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: 100;
    +    font-style: normal;
    +}
    +
    +<link rel="preload" href="Gilroy-Thin.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-SemiBold

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: 600;
    +    font-style: normal;
    +}
    +
    +<link rel="preload" href="Gilroy-SemiBold.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-RegularItalic

    +
    .your-style {
    +    font-family: 'Gilroy-RegularItalic';
    +    font-weight: normal;
    +    font-style: italic;
    +}
    +
    +<link rel="preload" href="Gilroy-RegularItalic.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-Regular

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: normal;
    +    font-style: normal;
    +}
    +
    +<link rel="preload" href="Gilroy-Regular.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-SemiBoldItalic

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: 600;
    +    font-style: italic;
    +}
    +
    +<link rel="preload" href="Gilroy-SemiBoldItalic.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    +

    ☞Gilroy-UltraLight

    +
    .your-style {
    +    font-family: 'Gilroy';
    +    font-weight: 200;
    +    font-style: normal;
    +}
    +
    +<link rel="preload" href="Gilroy-UltraLight.woff2" as="font" type="font/woff2" crossorigin>
    +
    +

    + abcdefghijklmnopqrstuvwxyz
    +ABCDEFGHIJKLMNOPQRSTUVWXYZ
    + 0123456789.:,;()*!?'@#<>$%&^+-=~ +

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +

    The quick brown fox jumps over the lazy dog.

    +
    +
    + +
    + + diff --git a/src/fonts/Gilroy/stylesheet.css b/src/fonts/Gilroy/stylesheet.css new file mode 100644 index 0000000..e425e01 --- /dev/null +++ b/src/fonts/Gilroy/stylesheet.css @@ -0,0 +1,249 @@ +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-Bold.woff2') format('woff2'), + url('Gilroy-Bold.woff') format('woff'); + font-weight: bold; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-BlackItalic.woff2') format('woff2'), + url('Gilroy-BlackItalic.woff') format('woff'); + font-weight: 900; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-Black.woff2') format('woff2'), + url('Gilroy-Black.woff') format('woff'); + font-weight: 900; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-BoldItalic.woff2') format('woff2'), + url('Gilroy-BoldItalic.woff') format('woff'); + font-weight: bold; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-LightItalic.woff2') format('woff2'), + url('Gilroy-LightItalic.woff') format('woff'); + font-weight: 300; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-Medium.woff2') format('woff2'), + url('Gilroy-Medium.woff') format('woff'); + font-weight: 500; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-HeavyItalic.woff2') format('woff2'), + url('Gilroy-HeavyItalic.woff') format('woff'); + font-weight: 900; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-Light.woff2') format('woff2'), + url('Gilroy-Light.woff') format('woff'); + font-weight: 300; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-ExtraBoldItalic.woff2') format('woff2'), + url('Gilroy-ExtraBoldItalic.woff') format('woff'); + font-weight: bold; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-Heavy.woff2') format('woff2'), + url('Gilroy-Heavy.woff') format('woff'); + font-weight: 900; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-ExtraBold.woff2') format('woff2'), + url('Gilroy-ExtraBold.woff') format('woff'); + font-weight: bold; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-MediumItalic.woff2') format('woff2'), + url('Gilroy-MediumItalic.woff') format('woff'); + font-weight: 500; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-UltraLightItalic.woff2') format('woff2'), + url('Gilroy-UltraLightItalic.woff') format('woff'); + font-weight: 200; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-ThinItalic.woff2') format('woff2'), + url('Gilroy-ThinItalic.woff') format('woff'); + font-weight: 100; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-Thin.woff2') format('woff2'), + url('Gilroy-Thin.woff') format('woff'); + font-weight: 100; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-SemiBold.woff2') format('woff2'), + url('Gilroy-SemiBold.woff') format('woff'); + font-weight: 600; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy-RegularItalic'; + src: url('Gilroy-RegularItalic.woff2') format('woff2'), + url('Gilroy-RegularItalic.woff') format('woff'); + font-weight: normal; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-Regular.woff2') format('woff2'), + url('Gilroy-Regular.woff') format('woff'); + font-weight: normal; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-SemiBoldItalic.woff2') format('woff2'), + url('Gilroy-SemiBoldItalic.woff') format('woff'); + font-weight: 600; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Gilroy'; + src: url('Gilroy-UltraLight.woff2') format('woff2'), + url('Gilroy-UltraLight.woff') format('woff'); + font-weight: 200; + font-style: normal; + font-display: swap; +} + + + +/* New Font NeueMontreal */ + +@font-face { + font-family: 'NeueMontreal'; + src: url('../Neue Montreal/NeueMontreal-Regular.otf') format('opentype'); + font-weight: 400; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'NeueMontreal'; + src: url('../Neue Montreal/NeueMontreal-Bold.otf') format('opentype'); + font-weight: 700; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'NeueMontreal'; + src: url('../Neue Montreal/NeueMontreal-BoldItalic.otf') format('opentype'); + font-weight: 700; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'NeueMontreal'; + src: url('../Neue Montreal/NeueMontreal-Italic.otf') format('opentype'); + font-weight: 400; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'NeueMontreal'; + src: url('../Neue Montreal/NeueMontreal-Light.otf') format('opentype'); + font-weight: 300; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'NeueMontreal'; + src: url('../Neue Montreal/NeueMontreal-LightItalic.otf') format('opentype'); + font-weight: 300; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'NeueMontreal'; + src: url('../Neue Montreal/NeueMontreal-Medium.otf') format('opentype'); + font-weight: 500; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'NeueMontreal'; + src: url('../Neue Montreal/NeueMontreal-MediumItalic.otf') format('opentype'); + font-weight: 500; + font-style: italic; + font-display: swap; +} + + \ No newline at end of file diff --git a/src/fonts/Neue Montreal/NeueMontreal-Bold.otf b/src/fonts/Neue Montreal/NeueMontreal-Bold.otf new file mode 100644 index 0000000..a1c6974 Binary files /dev/null and b/src/fonts/Neue Montreal/NeueMontreal-Bold.otf differ diff --git a/src/fonts/Neue Montreal/NeueMontreal-BoldItalic.otf b/src/fonts/Neue Montreal/NeueMontreal-BoldItalic.otf new file mode 100644 index 0000000..798048d Binary files /dev/null and b/src/fonts/Neue Montreal/NeueMontreal-BoldItalic.otf differ diff --git a/src/fonts/Neue Montreal/NeueMontreal-Italic.otf b/src/fonts/Neue Montreal/NeueMontreal-Italic.otf new file mode 100644 index 0000000..a8c17e7 Binary files /dev/null and b/src/fonts/Neue Montreal/NeueMontreal-Italic.otf differ diff --git a/src/fonts/Neue Montreal/NeueMontreal-Light.otf b/src/fonts/Neue Montreal/NeueMontreal-Light.otf new file mode 100644 index 0000000..4cc9587 Binary files /dev/null and b/src/fonts/Neue Montreal/NeueMontreal-Light.otf differ diff --git a/src/fonts/Neue Montreal/NeueMontreal-LightItalic.otf b/src/fonts/Neue Montreal/NeueMontreal-LightItalic.otf new file mode 100644 index 0000000..b0dd573 Binary files /dev/null and b/src/fonts/Neue Montreal/NeueMontreal-LightItalic.otf differ diff --git a/src/fonts/Neue Montreal/NeueMontreal-Medium.otf b/src/fonts/Neue Montreal/NeueMontreal-Medium.otf new file mode 100644 index 0000000..43030e8 Binary files /dev/null and b/src/fonts/Neue Montreal/NeueMontreal-Medium.otf differ diff --git a/src/fonts/Neue Montreal/NeueMontreal-MediumItalic.otf b/src/fonts/Neue Montreal/NeueMontreal-MediumItalic.otf new file mode 100644 index 0000000..78b2fc5 Binary files /dev/null and b/src/fonts/Neue Montreal/NeueMontreal-MediumItalic.otf differ diff --git a/src/fonts/Neue Montreal/NeueMontreal-Regular.otf b/src/fonts/Neue Montreal/NeueMontreal-Regular.otf new file mode 100644 index 0000000..0265060 Binary files /dev/null and b/src/fonts/Neue Montreal/NeueMontreal-Regular.otf differ diff --git a/src/fonts/wasted-vindey-cdnfonts/wasted-vindey.ttf b/src/fonts/wasted-vindey-cdnfonts/wasted-vindey.ttf new file mode 100644 index 0000000..a2b94b8 Binary files /dev/null and b/src/fonts/wasted-vindey-cdnfonts/wasted-vindey.ttf differ diff --git a/src/fonts/wasted-vindey-serif-font/Wasted Vindey.otf b/src/fonts/wasted-vindey-serif-font/Wasted Vindey.otf new file mode 100644 index 0000000..3ebb05b Binary files /dev/null and b/src/fonts/wasted-vindey-serif-font/Wasted Vindey.otf differ diff --git a/src/fonts/wasted-vindey-serif-font/Wasted Vindey.ttf b/src/fonts/wasted-vindey-serif-font/Wasted Vindey.ttf new file mode 100644 index 0000000..a2b94b8 Binary files /dev/null and b/src/fonts/wasted-vindey-serif-font/Wasted Vindey.ttf differ diff --git a/src/hooks/useAnalytics.js b/src/hooks/useAnalytics.js new file mode 100644 index 0000000..b834a31 --- /dev/null +++ b/src/hooks/useAnalytics.js @@ -0,0 +1,23 @@ +import { useEffect } from 'react'; +import { useLocation } from 'react-router-dom'; + +export const useAnalytics = () => { + const location = useLocation(); + + useEffect(() => { + if (typeof gtag !== 'undefined') { + gtag('config', 'G-XXXXXXXXXX', { + page_path: location.pathname + location.search, + page_title: document.title + }); + } + }, [location]); + + const trackEvent = (eventName, parameters = {}) => { + if (typeof gtag !== 'undefined') { + gtag('event', eventName, parameters); + } + }; + + return { trackEvent }; +}; \ No newline at end of file diff --git a/src/hooks/useLazyLoading.js b/src/hooks/useLazyLoading.js new file mode 100644 index 0000000..7a8a0c5 --- /dev/null +++ b/src/hooks/useLazyLoading.js @@ -0,0 +1,26 @@ +import { useEffect, useRef, useState } from 'react'; + +export const useLazyLoading = () => { + const [isVisible, setIsVisible] = useState(false); + const ref = useRef(); + + useEffect(() => { + const observer = new IntersectionObserver( + ([entry]) => { + if (entry.isIntersecting) { + setIsVisible(true); + observer.disconnect(); + } + }, + { threshold: 0.1 } + ); + + if (ref.current) { + observer.observe(ref.current); + } + + return () => observer.disconnect(); + }, []); + + return [ref, isVisible]; +}; \ No newline at end of file diff --git a/src/hooks/useToast.js b/src/hooks/useToast.js new file mode 100644 index 0000000..375c185 --- /dev/null +++ b/src/hooks/useToast.js @@ -0,0 +1,14 @@ +import { useState } from 'react'; + +export const useToast = () => { + const [show, setShow] = useState(false); + const [msg, setMsg] = useState(''); + + const toast = (message) => { + setMsg(message); + setShow(true); + setTimeout(() => setShow(false), 3000); + }; + + return { toast, show, msg }; +}; \ No newline at end of file diff --git a/src/index.css b/src/index.css new file mode 100644 index 0000000..4b9268d --- /dev/null +++ b/src/index.css @@ -0,0 +1,543 @@ +:root { + + /* component variables */ + + --INPUT_FIELD_WIDTH: min(60vw, 250px); + + /* application common variables */ + --HEADING_COLOR: #000000; + --HEADING_FONT_FAMILY: 'Gilroy'; + + --PARA_FONT_FAMILY: 'Poppins'; + --PARA_COLOR: #3F3F3F; + + --PRIMARY_BUTTON_BG_COLOR: #8F1E78; + --PRIMARY_BUTTON_COLOR: #FFFFFF; + --PRIMARY_BUTTON_BORDER_RADIUS: 6px; + + --SECONDRY_BUTTON_BG_COLOR: white; + --SECONDRY_BUTTON_COLOR: #000000; + --SECONDRY_BUTTON_BORDER_RADIUS: 25.6853px; + + --THIRD_BUTTON_BG_COLOR: #060606; + --THIRD_BUTTON_COLOR: #EFEFEF; + --THIRD_BUTTON_BORDER_RADIUS: 6.53329px; + + --BOX_SHADOW_LEVEL1: 0px 4px 15px rgba(0, 0, 0, 0.1); + --BOX_SHADOW_LEVEL2: 0px 4px 25px rgba(0, 0, 0, 0.2); + --BOX_SHADOW_LEVEL3: 0px 5.25331px 26.3077px rgba(0, 0, 0, 0.08); + + --CARD_BG_COLOR: rgba(255, 255, 255, 0.6); + --CARD_COLOR: #000000; + --CARD_FONT_FAMILY: 'Gilroy-Medium'; + --CARD_BORDER_RADIUS: 10px; + + --ANCHOR_FONT_FAMILY: 'Manrope'; + --ANCHOR_COLOR: #314259; + + --BUTTON_FONT_FAMILY: 'Gilroy-Medium'; + + --BREAD_CRUMB_PADDING: 1rem; + + --TABLE_PAGE_PADDING: 1rem; + + /* Page common funtion */ + --PAGE_BODY_BACKGROUND_COLOR: #E8ECF1; + + --SELECTED_COLOR: #52C41A; + + --ERROR_COLOR: #FF4D4F; + + --DEFAULT_SELECTED_COLOR: #1292EE; + + overflow-x: hidden; + +} + +* { +padding: 0px; +margin: 0px; +box-sizing: border-box; +} + +p { +font-family: VAR(--PARA_FONT_FAMILY); +} + +button { +font-family: var(--BUTTON_FONT_FAMILY); +} + + +header { +font-family: VAR(--HEADING_FONT_FAMILY); +} + +a { +font-family: var(--ANCHOR_FONT_FAMILY); +} + + +.ant-collapse { + /* width:clamp(55dvw,50dvw,50dvw); */ + /* width: min(100vw,572px); */ + font-style: normal; + font-weight: 600; + font-size: 15.2968px; + /* // line-height: 149.5%; + // color: #000000; + // padding: 0px 39px; */ +} + + +.ant-collapse-large >.ant-collapse-item >.ant-collapse-header { + padding: 16px 24px; + background: white; +} + +.ant-collapse-item-active > .ant-collapse-header { + box-sizing: border-box; + /* border: 0.3px solid #252222; */ + border-radius: 6px; +} + + + + +.Home-navbar { + position: sticky; + z-index: 2; + align-items: baseline; + justify-content: space-evenly; + align-items: center; + display: flex; + width: 100vw; + top:0rem; + left:0rem; + height:9vh; + margin: 0vw 0vh; + /* padding: 1vw 8vh; */ + font-size: 23px; + font-family: var(--HEADING_FONT_FAMILY); + /* font-weight: 550; */ + background-color:#ffffffa4; + backdrop-filter: blur(10px); + box-shadow: 0px 4px 150px rgba(0, 0, 0, 0.1); + +} + + + + +.extra_small_nav{ + margin:0vw 0vh; + width:70vw; + display: flex; + justify-content:space-around; + font-size: 13.2px; +} + +.extra_small_div{ + display: flex; + flex-wrap: wrap; + flex-direction: row; + row-gap: 0rem !important; + justify-content: space-around; + text-transform: uppercase; + align-items: center !important; +} + + +@media (min-width:279px) and (max-width: 999px) { + + + + .toggle-container{ + /* padding: 2vw 2vh !important; */ + display: flex !important; + position: fixed !important; + /* width: 100% !important; */ + /* display: none !important; */ + } + + .extra_small_nav{ + display: none !important; + } + .tgle-icons{ + display:flex; + width: 25%; + justify-content:space-around; + } + + .small-nav{ + opacity: 12% !important; + } + .extranav{ + display: none; + } + } + +@media (min-width: 390px) and (max-width: 498px) { + + .collapsed-menu{ + padding: 1vw 1vh; + } + +} + + +@media all and (max-width: 499px){ + + .Home-navbar { + display: none; + } + + .extranav{ + display: none; + } + + + .extra_small_div{ + font-size: 14px !important; + text-transform: uppercase; + } + +.extra_small_nav{ + margin:0vw 0vh; + width:70vw; + display: flex; + justify-content:space-around; + font-size: 13.2px; + } + + + + /* .ant-collapse { + width: 75vh !important; + } */ + + .content_container{ + +} +} + + +@media (max-width: 1024px){ + .Home-navbar{ + display: flex; + height: 50px; + align-items: center; + justify-content: space-between; + } +} + + +@media (min-width: 899px) and (max-width: 1072px){ + .Home-navbar { + /* display: none; */ + padding: 3rem 0rem !important; + } + + + .extranav{ + display: none; + } + + + .extra_small_div{ + font-size: 14px !important; + color: #000000; + font-family: var(--PARA_FONT_FAMILY); + } + +} + +@media (min-width: 500px) and (max-width: 600px) { + + .extra_small_nav{ + display: none; + } +} + + + + +/* // .logo { +// margin-right: 10px; +// } */ + +.menu-container { + display: flex; + justify-content: space-evenly; + flex-direction: row; + color:#000000 !important; + row-gap: 23rem; +} + +.toggle-container { + display:none; + top: 0; + flex-wrap: wrap; + flex-direction: row; + /* padding: 2vw 3vh; */ + width: 100vw; + align-items: center; + justify-content:space-between; + position:fixed; + z-index: 23; + background-color:#f7f7f7; + box-shadow: 0px 4px 150px rgba(0, 0, 0, 0.1); +} + +.tgle-icons{ + display:flex; + width: 25%; + justify-content:space-around; +} +.toggle-button { + cursor: pointer; + font-size: 16px; +} + + +.ant-collapse { + /* width: min(91vw, 780px); */ + /* width: 100% !important; */ + /* font-style: normal; */ + margin: 2vw 2vh; +} + +.Dept_side{ + margin: 2vw 4vh; + /* padding: 2vw 4vh; */ + width:40vw; + /* height: min(40vw, 700px); */ + display: flex; + flex-direction: column; + flex-wrap: wrap; + justify-content: space-between; +} + +.Acc_btn{ + + background-color: #000; + width:45vw; + height:7vh; + align-items: center; + font-size:14px; + display:flex; + border-radius:6px; + justify-content:center; + color:#fff; + cursor: pointer; + +} + +.collapsed-menu { + /* width: 100vw; + /* height:100vh; */ + + background-color:#31313154; + transition: 0.1s ease-out; + overflow-y: scroll; + overflow-x: hidden; + width: 100%; + height: 100vh; + position: fixed; + top: 4rem; + z-index: 1; + backdrop-filter: blur(10px); +} + +.anticon{ + /* display: flex; + flex-wrap: wrap; + flex-direction: row; + justify-content: flex-end; */ + cursor: pointer; + +} + + +.ant-select-single.ant-select-show-arrow .ant-select-selection-item, .ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder { + padding-inline-end: 54px; + text-align: initial; + padding: 0.3vw; + font-size: 14px; + color: #626262; + font-weight: 400; + font-family: "Poppins", sans-serif; +} + + + +.ant-menu-light.ant-menu-horizontal >.ant-menu-item{ + margin: 1.5vw 1.4vh; + font-size: 2.6vh; + /* font-family: 'Poppins'; */ + font-family: var(--HEADING_FONT_FAMILY) !important; +} + +.ant-menu-light { + /* background: #fff !important; */ + border-radius: 12.9916px; + padding-inline: 0rem; + /* margin-inline: 1rem; */ +} + +.nav_right_items{ + display: flex; + justify-content: space-between +} +.ant-menu-title-content { + flex-direction: column; + display: flex; + /* align-items: center; */ + /* font-size: 14px; + font-weight: 400; */ + text-transform: uppercase; +} + +.ico{ + font-size:12px !important; + align-items: center; + margin: 0.4vw 0vh; +} + +.ico-menu{ + display: flex; + text-align: center; +} + .nav-btn { + font-size: 15px !important; + height: 54px; + /* text-transform: uppercase; */ + font-weight: 510; + letter-spacing: 0.1px; + border: none; + color: #11181c; + padding: 4px 0px; +} + +.nav-btn:hover { + font-size: 15px !important; + height: 54px; + /* text-transform: uppercase; */ + /* font-weight: 500; */ + letter-spacing: 0.1px; + border: none; + color: #0f67da; + padding: 4px 0px; +} + + + + + +.FreeAccBtn{ + width: 220px; + height:45px; + display:flex; + justify-content: center; + border-radius:6px; + /* background-color: #f0f0f0; */ + background-color: #8F1E78; + /* border: #000 solid 1.5px; */ + color: #ffffff; + font-weight: 550; + margin: 0.2vw 0vh; + font-size: 15px; + align-items: center; + align-content: center; + text-align: center; + transition-duration:0.20s; +} + +.FreeAccBtn:hover{ + width: 220px; + height:45px; + display:flex; + justify-content: center; + border-radius:6px; + background-color: #ffffff; + border: #8F1E78 solid 1.5px; + color: #8F1E78; + margin: 0.2vw 0vh; + font-size: 15px; + align-items: center; + align-content: center; + text-align: center; + text-decoration: none; + transition-duration:0.20s; +} + + +.sml_icons{ + display: flex; + align-items: space-around; + +} + + +/* '''''''''''''''''''''''''''''?'? */ + +/* ScrollBar */ + +::-webkit-scrollbar { + width: 2px; +} + +/* Track */ +::-webkit-scrollbar-track { + background: #f1f1f1; +} + +/* Handle */ +::-webkit-scrollbar-thumb { + background: #999999; +} + +/* Handle on hover */ +::-webkit-scrollbar-thumb:hover { + /* background: #8F1E78; */ +} + + +::-webkit-scrollbar { + display: none; +} + +/* EditorJS Custom Styles */ +.ce-toolbar__plus.custom-cursor-on-hover { + cursor: pointer !important; + transition: all 0.2s ease; +} + +.ce-toolbar__plus.custom-cursor-on-hover:hover { + transform: scale(1.1); + background: #3b82f6 !important; + color: white !important; +} + +.ce-block--selected .ce-block__content { + background: rgba(59, 130, 246, 0.1) !important; + border-radius: 8px; +} + +.codex-editor { + border-radius: 12px; + border: 1px solid #e5e7eb; +} + +.ce-toolbar__content { + max-width: none !important; +} + +.ce-popover { + border-radius: 12px !important; + box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important; +} + + + + diff --git a/src/lib/seoConfig.js b/src/lib/seoConfig.js new file mode 100644 index 0000000..dec3c77 --- /dev/null +++ b/src/lib/seoConfig.js @@ -0,0 +1,17 @@ +export const BASE_URL = 'https://www.pozo.app/'; +export const SITE = { + name: 'POZO', + twitterHandle: '@PozoApp', + locale: 'en_US', + defaultOg: '/og/home.jpg', + defaultDescription: 'PozoApp delivers AI-powered POS and SaaS solutions for MSMEs and enterprises. Complete business management with billing, inventory, and analytics.', + foundingDate: '2019', + logo: 'https://www.pozo.app/static/brand/logo.png', +}; +// export const BASE_URL = 'https://pozo.app'; // Replace with your actual base URL +// export const SITE = { +// name: 'PozoApp', +// twitterHandle: '@PozoApp', // Replace with your Twitter handle if available +// locale: 'en_US', +// defaultOg: '/og/home.jpg', // Path to default OG image +// }; diff --git a/src/main.jsx b/src/main.jsx new file mode 100644 index 0000000..411fd0f --- /dev/null +++ b/src/main.jsx @@ -0,0 +1,60 @@ +import React from "react"; +import ReactDOM from "react-dom/client"; +import App from "./App.jsx"; +import "./fonts/Gilroy/stylesheet.css"; +import "./index.css"; +import { BrowserRouter } from "react-router-dom"; +import { Provider } from "react-redux"; +import store from "./app/store.js"; +import AppRoutes from "./AppTest.jsx"; +import GlobalErrorHandler from "./GlobalErrorHandler"; +import { HelmetProvider } from "react-helmet-async"; +import "./theme/pozo.css"; +// Register service worker +// if ("serviceWorker" in navigator) { +// window.addEventListener("load", () => { +// navigator.serviceWorker +// .register("/sw.js") +// .then((registration) => console.log("SW registered")) +// .catch((registrationError) => console.log("SW registration failed")); +// }); +// } + +ReactDOM.createRoot(document.getElementById("root")).render( + // + + + + {/* */} + {/* */} + + {/* */} + + + + // , +); + +// import React from 'react' +// import ReactDOM from 'react-dom/client' +// import App from './App.jsx' +// import './fonts/Gilroy/stylesheet.css'; +// import './index.css' +// import { BrowserRouter } from 'react-router-dom'; +// import { Provider } from 'react-redux' +// import store from './app/store.js' +// import AppRoutes from './AppTest.jsx' +// import GlobalErrorHandler from './GlobalErrorHandler'; + +// ReactDOM.createRoot(document.getElementById('root')).render( +// // +// +// +// {/* */} +// {/* */} +// +// {/* */} +// +// +// // , +// ) diff --git a/src/preview/RenderBlocks.jsx b/src/preview/RenderBlocks.jsx new file mode 100644 index 0000000..6f8aaa4 --- /dev/null +++ b/src/preview/RenderBlocks.jsx @@ -0,0 +1,29 @@ +function RenderBlocks({ data }) { + return ( +
    + {data.blocks?.map((b, i) => { + switch (b.type) { + case "paragraph": return

    ; + case "header": return React.createElement(`h${b.data.level}`, { key: i, dangerouslySetInnerHTML: { __html: b.data.text } }); + case "image": return {b.data.caption; + case "list": + return b.data.style === "ordered" + ?

      {b.data.items.map((it, idx)=>
    1. )}
    + :
      {b.data.items.map((it, idx)=>
    • )}
    ; + case "delimiter": return
    ; + case "cta": + return ( +
    +

    {b.data.heading}

    + {b.data.subheading &&

    {b.data.subheading}

    } + {b.data.buttonText && {b.data.buttonText}} +
    + ); + case "callout": return
    {b.data.emoji} {b.data.text}
    ; + case "emailContent": return

    {b.data.subject}

    ; + default: return null; + } + })} +
    + ); +} \ No newline at end of file diff --git a/src/routesConfig.jsx b/src/routesConfig.jsx new file mode 100644 index 0000000..e67aba8 --- /dev/null +++ b/src/routesConfig.jsx @@ -0,0 +1,787 @@ +import AppPage from "./Pages/appPage/AppPage.jsx"; +import CompanyForm from "./Pages/company/companyForm.jsx"; +import CompanyList from "./Pages/company/companyList.jsx"; +import AdminTax from "./Pages/adminTax/adminTaxForm.jsx"; +import BranchForm from "./Pages/branch/branchForm.jsx"; +import BranchList from "./Pages/branch/branchList.jsx"; +import MappingFeatures from "./Pages/ApplicationPreference/ApplicationPreferenceForm.jsx"; +import ApplicationPreferenceList from "./Pages/ApplicationPreference/ApplicationPrefernceList.jsx"; +import ApplicationForm from "./Pages/application/applicationForm.jsx"; +import ApplicationList from "./Pages/application/applicationList.jsx"; +import CommonMaster from "./Pages/commonMaster/CommonMaster.jsx"; +import ConfigTypeForm from "./Pages/configType/configtypeForm.jsx"; +import ApplicationImageForm from "./Pages/applicationImage/applicationImageForm.jsx"; +import AppPriceFeatureMapping from "./Pages/appPriceFeatureMapping/appPriceFeatureMappingList.jsx"; +import AppPriceFeatureMappingForm from "./Pages/appPriceFeatureMapping/appPriceFeatureMappingForm.jsx"; +import AppMenu from "./Pages/appMenu/appMenuList.jsx"; +import AppMenuForm from "./Pages/appMenu/appMenuForm.jsx"; +import Pricing from "./Pages/pricingType/pricingTypeList.jsx"; +import PricingForm from "./Pages/pricingType/pricingTypeForm.jsx"; +import CarouselForm from "./Pages/carousel/carouselForm.jsx"; +import FeatureList from "./Pages/feature/featureList.jsx"; +import FeatureForm from "./Pages/feature/featureForm.jsx"; +import UserForm from "./Pages/user/userForm.jsx"; +import UserList from "./Pages/user/userList.jsx"; +import SuperAdminuserList from "./Pages/SuperAdminUser/SuperAdminUserList.jsx"; +import SuperAdminuserForm from "./Pages/SuperAdminUser/SuperAdminUserForm.jsx"; +import LandignPageLayout from "./Pages/LandingPage/landingPageLayout.jsx"; +import Home from "./Pages/homeApp/home.jsx"; +import PublicSignup from "../src/Pages/PublicSignup/Signup.jsx"; +import PublicHome from "../src/Pages/publichome/HomePage.jsx"; +import Signin from "../src/Pages/publicsignin/Signin.jsx"; +import ModuleAccess from "../src/Pages/ModuleAccess/ModuleAccess.jsx"; +import AppMenuAccess from "../src/Pages/appMenuAccess/appMenuAccess.jsx"; +import Application from "./Pages/applications/application.jsx"; +import UserAccount from "./Pages/userAccount/userAccount.jsx"; +import MessageTemplateForm from "./Pages/MessageTemplate/MessageTemplateForm.jsx"; +import MessageTemplateList from "./Pages/MessageTemplate/MessageTemplateList.jsx"; +import PaymentUPIDetailsForm from "./Pages/PaymentUPIDetails/PaymentUPIDetailsForm.jsx"; +import PaymentUPIDetailsList from "./Pages/PaymentUPIDetails/PaymentUPIDetailsList.jsx"; +import PdfPageCommon from "./Pages/paymentpdfPage/PaymentPdfCommon.jsx"; +import PricingDetails from "./Pages/pricingTypeRestaurant/Pricing.jsx"; +import InvoiceDetail from "../src/Pages/InvoiceDetail/InvoiceDetail"; +import PaymentPage from "../src/Pages/PaymentMobilePage/PaymentPage"; +import AppTemplate from "../src/Pages/themeTemplate/AppTemplate.jsx"; +import Feature1 from "./Pages/themeTemplate/TemplateComps/Features/Features1.jsx"; +import OverView2 from "../src/Pages/themeTemplate/TemplateComps/OverVIews/OverView2.jsx"; +import Template from "./Pages/themeTemplate/Template.jsx"; +import AllTemplates from "./Pages/themeTemplate/AllTemplates.jsx"; +import AllTemplatesEdit from "./Pages/themeTemplate/AllTemplateEdit.jsx"; +import PdfPage from "./Pages/paymentpdfPage/paymentpdfpage.jsx"; +import PdfPageDownload from "./Pages/PdfDoc/PdfDocDownload.jsx"; +import CurrencyForm from "./Pages/currency/currencyForm.jsx"; +import ComingSoon from "./Pages/comingSoon.jsx"; +import PaymentMethod from "./Pages/ccavenueCustom/paymentMethod.jsx"; +import PaymentDetail from "./Pages/ccavenueCustom/paymentDetails.jsx"; +import CustomPaymentGateway from "../src/Pages/InvoiceDetail/customPaymentGateway"; +import PaymentHistory from "./Pages/Payment/PaymentHistory.jsx"; +import FeatureAddon from "./Pages/FeaturesPricing/FeatureAddon.jsx"; +import FeatureAddonForm from "./Pages/FeaturesPricing/FeatureAddonForm.jsx"; +import FeatureInvoice from "./Pages/FeaturesPricing/FeatureInvoice.jsx"; +import FeaturesPricing from "./Pages/FeaturesPricing/featurespricing.jsx"; +import FeaturesPricingForm from "./Pages/FeaturesPricing/FeaturePriceForm.jsx"; +import SmsAssignedDetailForm from "./Pages/SmsAssignDetail/SmsAssignedDetailForm.jsx"; +import SmsAssignedDetailList from "./Pages/SmsAssignDetail/SmsAssignedDetailList.jsx"; +import FailedPaymentHistory from "./Pages/Payment/FailedPaymentHistory.jsx"; +import { PaymentGatewayConfigForm } from "./Pages/paymentGatewayConfig/PaymentGatewayConfigForm.jsx"; +import PaymentGatewayConfigList from "./Pages/paymentGatewayConfig/PaymentGatewayConfigList.jsx"; +import PaymentDeviceConfigList from "./Pages/paymentDeviceConfig/PaymentDeviceConfigList.jsx"; +import PaymentDeviceConfigForm from "./Pages/paymentDeviceConfig/PaymentDeviceConfigForm.jsx"; +import DeviceAllocationlist from "./Pages/kisokDevice/DeviceAllocationList.jsx"; +import DeviceAllocationform from "./Pages/kisokDevice/DeviceAllocationForm.jsx"; +import DeviceInformation from "./Pages/kisokDevice/DeviceInformation.jsx"; +import TestimonialsList from "./Pages/testimonials/TestimonialsList.jsx"; +import TestimonialsForm from "./Pages/testimonials/TestimonialsForm.jsx"; +import POZOTestimonials from "./Pages/testimonials/TestimonialsForPublic.jsx"; +import Andriod_version from "./Pages/Andriod_version/deviceversion.jsx"; +import Andriod_versionManagment from "./Pages/Andriod_version/versionManagement.jsx"; +import SigninDetailsList from "./Pages/signinDetails/signinDetailsList.jsx"; +import PurchaseInfo from "./Pages/purchaseInfo/purchaseInfo.jsx"; +import LoyaltysettingList from "./Pages/LoyaltySetting/LoyaltysettingList.jsx"; +import LoyaltysettingsForm from "./Pages/LoyaltySetting/LoyaltysettingsForm.jsx"; +import TicketsDetails from "./Pages/ticketsDetails/ticketDetails.jsx"; +import UserOtp from "./Pages/userOtp/userotp.jsx"; +import CompanyBranchDetails from "./Pages/abstract/abstract.jsx"; +import RefferedEmployeelist from "./Pages/RefferedEmployee/RefferedEmployeelist.jsx"; +import VisitTrackingLog from "./Pages/SiteVisiteLog/VisitTrackingLog.jsx"; +import ActivationkeyGeneration from "./Pages/ActivationkeyGeneration/ActivationkeyGeneration.jsx"; +import FaqShow from "./Pages/themeTemplate/TemplateComps/Faq/FaqShow.jsx"; +import GodownForm from "./Pages/WareHouse/WareHouseForm.jsx"; +import GodownList from "./Pages/WareHouse/WareHouseList.jsx"; +import HomePage from "./PozoApp/Pages/HomePage.jsx"; +import SignIn from "./PozoApp/Components/SignIn.jsx"; +import LiveSession from "./PozoApp/Components/LiveSession.jsx"; +import ContactUs from "./PozoApp/Components/ContactUs.jsx"; +import PricingPozoApp from "./PozoApp/Components/PricingPozoApp.jsx"; +import Solutions from "./PozoApp/Pages/Solutions.jsx"; +import RetailBilling from "./PozoApp/Pages/Solutions/RetailBilling.jsx"; +import InventoryPurchase from "./PozoApp/Pages/Solutions/InventoryPurchase.jsx"; +import WeighingScalePOS from "./PozoApp/Pages/Solutions/WeighingScalePOS.jsx"; +import MultiStoreERP from "./PozoApp/Pages/Solutions/MultiStoreERP.jsx"; +import GSTBillingEInvoice from "./PozoApp/Pages/Solutions/GSTBillingEInvoice.jsx"; +import OfflineBilling from "./PozoApp/Pages/Solutions/OfflineBilling.jsx"; +import CaseStudies from "./PozoApp/Pages/CaseStudies.jsx"; +import GatewayMasterConfiguration from "./Pages/GatewayMasterConfiguration/GatewayMasterConfiguration.jsx"; +import GatewayMasterConfigurationList from "./Pages/GatewayMasterConfiguration/GatewayMasterConfigurationList.jsx"; +import AdminPanelWrapper from "./AdminPanel/AdminPanelWrapper.jsx"; +import Blog from "./AdminPanel/Blog/Blog.jsx"; +import BlogDetail from "./AdminPanel/Blog/BlogDetail.jsx"; +// import LandingPageCMS from "./LandingPageCMS/LandingPageCMS.jsx"; +import PostEditorPage from "./Pages/PostEditorPage.jsx"; +import PrivacyPolicy from "./PozoApp/Company/PrivacyPolicy.jsx"; +import CookiePolicy from "./PozoApp/Company/CookiePolicy.jsx"; +import AboutUs from "./PozoApp/Company/AboutUs.jsx"; +import FaqPage from "./PozoApp/Company/FaqPage.jsx"; + +import ScheduleDemo from "./Pages/ScheduleDemo/ScheduleDemo.jsx"; +import DemoRequestsList from "./Pages/DemoRequests/DemoRequestsList.jsx"; + +const subDirectory = import.meta.env.ENV_BASE_URL; +export const routesConfig = [ + { path: `${subDirectory}`, component: HomePage, access: "Public" }, + { + path: `${subDirectory}development`, + component: ComingSoon, + access: "Public", + }, + { + path: `${subDirectory}adminpanel`, + component: AdminPanelWrapper, + access: "Marketing", + empAccess: "Admin Panel", + }, + + { path: `${subDirectory}:appName`, component: Template, access: "Public" }, + { path: `${subDirectory}industries/:appName`, component: Template, access: "Public" }, + { path: `${subDirectory}feature1`, component: Feature1 }, + { path: `${subDirectory}pdf`, component: PdfPage, access: "Admin" }, + { + path: `${subDirectory}payment-page-download`, + component: PdfPageDownload, + access: "Admin", + }, + { + path: `${subDirectory}public-signup`, + component: PublicSignup, + access: "Public", + }, + { path: `${subDirectory}signinOld`, component: Signin, access: "Public" }, + { path: `${subDirectory}signin`, component: SignIn, access: "Public" }, + { + path: `${subDirectory}payment-pdf`, + component: PdfPageCommon, + access: "Admin", + }, + { + path: `${subDirectory}pricing-details`, + component: PricingDetails, + access: "Public", + }, + { + path: `${subDirectory}invoice-detail`, + component: InvoiceDetail, + access: "Admin", + }, + { + path: `${subDirectory}payment-page`, + component: PaymentPage, + access: "Admin", + }, + // { path: `${subDirectory}overview2`, component: OverView2, props: { data: fieldData } }, + { + path: `${subDirectory}FeatureInvoice`, + component: FeatureInvoice, + access: "Admin", + }, + { + path: `${subDirectory}testimonials`, + component: POZOTestimonials, + access: "Public", + }, + { path: `${subDirectory}faq`, component: FaqPage, access: "Public" }, + + { path: `${subDirectory}homepage`, component: PublicHome, access: "Public" }, + // { path: `${subDirectory}signinnew`, component: SignIn, access: "Public" }, + { + path: `${subDirectory}pricing`, + component: PricingPozoApp, + access: "Public", + }, + { + path: `${subDirectory}live-Session`, + component: LiveSession, + access: "Public", + }, + { path: `${subDirectory}contact-us`, component: ContactUs, access: "Public" }, + { path: `${subDirectory}schedule-demo`, component: ScheduleDemo, access: "Public" }, + { path: `${subDirectory}solutions`, component: Solutions, access: "Public" }, + { path: `${subDirectory}solutions/retail-billing`, component: RetailBilling, access: "Public" }, + { path: `${subDirectory}solutions/inventory-purchase`, component: InventoryPurchase, access: "Public" }, + { path: `${subDirectory}solutions/weighing-scale-pos`, component: WeighingScalePOS, access: "Public" }, + { path: `${subDirectory}solutions/multi-store-erp`, component: MultiStoreERP, access: "Public" }, + { path: `${subDirectory}solutions/gst-billing-e-invoice`, component: GSTBillingEInvoice, access: "Public" }, + { path: `${subDirectory}solutions/offline-billing`, component: OfflineBilling, access: "Public" }, + { path: `${subDirectory}case-studies`, component: CaseStudies, access: "Public" }, + { path: `${subDirectory}blog`, component: Blog, access: "Public" }, + // { + // path: `${subDirectory}blog/blog-details/:id`, + // component: BlogDetail, + // access: "Public", + // }, + { + path: `${subDirectory}blog/:slug`, + component: BlogDetail, + access: "Public", + }, + { + path: `${subDirectory}PostEditorPage`, + component: PostEditorPage, + access: "Public", + }, + { + path: `${subDirectory}privacy-policy`, + component: PrivacyPolicy, + access: "Public", + }, + { + path: `${subDirectory}cookie-policy`, + component: CookiePolicy, + access: "Public", + }, + { + path: `${subDirectory}about-us`, + component: AboutUs, + access: "Public", + }, + // { path: `${subDirectory}customPayment`, component: CustomPaymentGateway }, + + { + path: `${subDirectory}landing-page`, + component: AppPage, + access: "Admin", + empAccess: "Super Admin User", + children: [ + { + path: "home", + component: Home, + access: "Admin", + empAccess: "Super Admin User", + employeeAccess: true, + }, + { + path: "apps", + component: Application, + access: "Admin", + empAccess: "Super Admin User", + }, + { + path: "user-account", + component: UserAccount, + access: "Admin", + empAccess: "Super Admin User", + }, + { + path: "user-account-edit", + component: () => , + access: "Admin", + empAccess: "Super Admin User", + employeeAccess: true, + }, + ], + }, + { + path: `${subDirectory}setting`, + component: AppPage, + access: "Admin", + children: [ + { + path: "tickets-details", + component: TicketsDetails, + empAccess: "Tickets", + }, + { path: "themes", component: AppTemplate, empAccess: "Templates" }, + { + path: "all-templates", + component: AllTemplates, + empAccess: "Templates", + }, + { + path: "all-templates/update", + component: AllTemplatesEdit, + empAccess: "Templates", + }, + { + path: "payment-gateway-config", + component: PaymentGatewayConfigList, + empAccess: "Payment Gateway Config", + }, + { + path: "payment-gateway-config/new", + component: (props) => ( + + ), + empAccess: "Payment Gateway Config", + }, + { + path: "payment-gateway-config/update", + component: (props) => ( + + ), + empAccess: "Payment Gateway Config", + }, + { + path: "payment-device-config", + component: PaymentDeviceConfigList, + empAccess: "Payment Device Config", + }, + { + path: "payment-device-config/new", + component: (props) => ( + + ), + empAccess: "Payment Device Config", + }, + { + path: "payment-device-config/update", + component: (props) => ( + + ), + empAccess: "Payment Device Config", + }, + { + path: "company-master", + component: CompanyList, + empAccess: "Company", + access: "Admin", + }, + { + path: "application-preference-mapping/new", + component: (props) => , + empAccess: "MappingFeatures", + access: "Admin", + }, + { + path: "application-preference-mapping/update", + component: (props) => , + empAccess: "MappingFeatures", + access: "Admin", + }, + { + path: "application-preference-mapping", + component: ApplicationPreferenceList, + empAccess: "MappingFeatures", + access: "Admin", + }, + { + path: "company-master/new", + component: (props) => , + empAccess: "Company", + access: "Admin", + }, + { + path: "company-master/update", + component: (props) => , + empAccess: "Company", + access: "Admin", + }, + { + path: "branch-master", + component: BranchList, + empAccess: "Branch", + access: "Admin", + }, + { + path: "branch-master/new", + component: (props) => , + empAccess: "Branch", + access: "Admin", + }, + { + path: "branch-master/update", + component: (props) => , + empAccess: "Branch", + access: "Admin", + }, + { + path: "warehouse-master", + component: GodownList, + empAccess: "Warehouse", + access: "Admin", + }, + { + path: "warehouse-master/new", + component: (props) => , + empAccess: "Warehouse", + access: "Admin", + }, + { + path: "warehouse-master/update", + component: (props) => , + empAccess: "Warehouse", + access: "Admin", + }, + { + path: "application-master", + component: ApplicationList, + empAccess: "Application", + }, + { + path: "application-master/new", + component: (props) => , + empAccess: "Application", + }, + { + path: "application-master/update", + component: (props) => , + empAccess: "Application", + }, + { + path: "app-menu", + component: AppMenu, + empAccess: "Application Menu", + }, + { + path: "app-menu/new", + component: (props) => , + empAccess: "Application Menu", + }, + { + path: "app-menu/update", + component: (props) => , + empAccess: "Application Menu", + }, + { + path: "feature-mapping", + component: AppPriceFeatureMapping, + empAccess: "Feature Mapping", + }, + { + path: "feature-mapping/new", + component: (props) => ( + + ), + empAccess: "Feature Mapping", + }, + { + path: "feature-mapping/update", + component: (props) => ( + + ), + empAccess: "Feature Mapping", + }, + { + path: "device-allocation", + component: DeviceAllocationlist, + empAccess: "Device Allocation", + }, + { + path: "device-allocation/new", + component: (props) => ( + + ), + empAccess: "Device Allocation", + }, + { + path: "device-allocation/update", + component: (props) => ( + + ), + empAccess: "Device Allocation", + }, + { + path: "device-information", + component: DeviceInformation, + empAccess: "Device Information", + }, + { + path: "feat-addon", + component: FeatureAddon, + empAccess: "Feature Addon", + access: "Admin", + }, + { + path: "feat-addon-form", + component: FeatureAddonForm, + empAccess: "Feature Addon", + access: "Admin", + }, + { + path: "pricing", + component: Pricing, + empAccess: "Pricing Type", + }, + { + path: "pricing/new", + component: (props) => , + empAccess: "Pricing Type", + }, + { + path: "pricing/update", + component: (props) => , + empAccess: "Pricing Type", + }, + { + path: "feature-master", + component: FeatureList, + empAccess: "Feature", + }, + { + path: "feature-master/new", + component: (props) => , + empAccess: "Feature", + }, + { + path: "feature-master/update", + component: (props) => , + empAccess: "Feature", + }, + { + path: "user-master", + component: UserList, + empAccess: "User Creation", + access: "Admin", + }, + { + path: "user-master/new", + component: (props) => , + empAccess: "User Creation", + access: "Admin", + }, + { + path: "user-master/update", + component: (props) => , + empAccess: "User Creation", + access: "Admin", + }, + + { + path: "payment/payment-history", + component: PaymentHistory, + empAccess: "Payment History", + access: "Admin", + }, + { + path: "payment/failed-payment-history", + component: FailedPaymentHistory, + empAccess: "Failed Payment History", + }, + { + path: "message-template", + component: MessageTemplateList, + empAccess: "Message Template", + }, + { + path: "message-template/new", + component: (props) => , + empAccess: "Message Template", + }, + { + path: "message-template/update", + component: (props) => ( + + ), + empAccess: "Message Template", + }, + { + path: "PaymentUPIDetails", + component: PaymentUPIDetailsList, + empAccess: "Payment UPI Details", + }, + { + path: "PaymentUPIDetails/new", + component: (props) => ( + + ), + empAccess: "Payment UPI Details", + }, + { + path: "PaymentUPIDetails/update", + component: (props) => ( + + ), + empAccess: "Payment UPI Details", + }, + { + path: "featurepricing", + component: FeaturesPricing, + empAccess: "Feature Pricing", + }, + { + path: "featurepricing/new", + component: (props) => , + empAccess: "Feature Pricing", + }, + { + path: "featurepricing/update", + component: (props) => ( + + ), + empAccess: "Feature Pricing", + }, + { + path: "sms-assigned-detail", + component: (props) => ( + + ), + empAccess: "Feature Pricing", + }, + { + path: "sms-assigned-detail/new", + component: (props) => ( + + ), + empAccess: "Feature Pricing", + }, + { + path: "sms-assigned-detail/update", + component: (props) => ( + + ), + empAccess: "Feature Pricing", + }, + { + path: "testimonials", + component: TestimonialsList, + empAccess: "Testimonials", + }, + { + path: "abstract", + component: CompanyBranchDetails, + empAccess: "User App Info", + }, + { + path: "testimonials/new", + component: (props) => , + empAccess: "Testimonials", + }, + { + path: "testimonials/update", + component: (props) => , + empAccess: "Testimonials", + }, + { + path: "super-admin-user-menu-access", + component: SuperAdminuserList, + empAccess: "Common Menu Access", + access: "Admin", + }, + { + path: "super-admin-user-menu-access/new", + component: (props) => , + empAccess: "Common Menu Access", + access: "Admin", + }, + { + path: "super-admin-user-menu-access/update", + component: (props) => , + empAccess: "Common Menu Access", + access: "Admin", + }, + { + path: "updated-version", + component: Andriod_version, + empAccess: "Updated Version", + }, + { + path: "version-management", + component: Andriod_versionManagment, + empAccess: "Version Management", + }, + + { + path: "purchaseinfo", + component: PurchaseInfo, + empAccess: "Purchase Info", + }, + { + path: "SiteVisitRecords", + component: VisitTrackingLog, + empAccess: "Loyalty setting", + }, + { + path: "referral-setting", + component: LoyaltysettingList, + empAccess: "Loyalty Setting", + }, + { + path: "referral-setting/new", + component: (props) => , + empAccess: "Loyalty Setting", + access: "Admin", + }, + { + path: "referral-setting/update", + component: (props) => ( + + ), + empAccess: "Loyalty Setting", + access: "Admin", + }, + + { + path: "app-access", + component: ModuleAccess, + access: "Admin", + empAccess: "Application Access", + }, + { + path: "app-menu-access", + component: AppMenuAccess, + empAccess: "Application Menu Access", + }, + { + path: "signin-details", + component: SigninDetailsList, + empAccess: "Signin Details", + }, + { path: "user-otp", component: UserOtp, empAccess: "User OTP" }, + { + path: "config-master", + component: CommonMaster, + empAccess: "Config Master", + }, + { + path: "config-type", + component: ConfigTypeForm, + empAccess: "Config Type", + }, + { path: "admin-tax", component: AdminTax, empAccess: "Tax" }, + { + path: "application-image", + component: ApplicationImageForm, + empAccess: "Application Image", + }, + { path: "carousel", component: CarouselForm, empAccess: "Carousel" }, + { path: "currency", component: CurrencyForm, empAccess: "Currency" }, + { + path: "payment-data", + component: CustomPaymentGateway, + empAccess: "Payment Data", + }, + { + path: "payment-method", + component: PaymentMethod, + empAccess: "Payment Method", + }, + { + path: "payment-details", + component: PaymentDetail, + empAccess: "Payment Details", + }, + { + path: "reffered-employee", + component: RefferedEmployeelist, + empAccess: "Employee Referrer", + }, + { + path: "activationkey-generation", + component: ActivationkeyGeneration, + empAccess: "Activationkey Generation", + }, + { + path: "demo-requests", + component: DemoRequestsList, + empAccess: "Demo Requests", + }, + { + path: "gateway-master-configuration/new", + component: (props) => ( + + ), + empAccess: "Gateway Master Configuration", + }, + { + path: "gateway-master-configuration/update", + component: (props) => ( + + ), + empAccess: "Gateway Master Configuration", + }, + { + path: "gateway-master-configuration/list", + component: GatewayMasterConfigurationList, + empAccess: "Gateway Master Configuration", + }, + ], + }, +]; diff --git a/src/styles/BranchForm/BranchForm.scss b/src/styles/BranchForm/BranchForm.scss new file mode 100644 index 0000000..ab0aaf0 --- /dev/null +++ b/src/styles/BranchForm/BranchForm.scss @@ -0,0 +1,34 @@ +.branchForms { + display: flex; + align-items: flex-start; + flex-wrap: wrap !important; + width: 90% !important; +} + +.branchformDivAnt { + width: 100% !important; +} + +.branchformDivS { + overflow: hidden !important; +} + +.subinputForm2 { + flex-wrap: wrap; + width: 100%; +} + +.subinputForm2 { + @media screen and (max-width:768px) { + flex-direction: column !important; + } +} + +.financial-switch { + >button { + + width: max-content; + height: max-content; + border-radius: 50px; + } +} \ No newline at end of file diff --git a/src/styles/LandingPage/home.scss b/src/styles/LandingPage/home.scss new file mode 100644 index 0000000..9b0e677 --- /dev/null +++ b/src/styles/LandingPage/home.scss @@ -0,0 +1,402 @@ +.homePageDivP { + // margin: 0px max(10px, 4vw); + // margin-left: max(10px, 3.5vw); + display: flex; + flex-direction: column; + flex-grow: 1; + // flex-wrap: wrap; + column-gap: 1rem; + // padding: 1.5rem 0px; + // row-gap: 2rem; + overflow-x: hidden; + // grid-template-columns: 2fr 1fr; + // background-color: black; + width: 100%; +} + +.homePageDiv { + // margin: 0px max(10px, 4vw); + // margin-left: max(10px, 2.5vw); + display: flex; + flex-grow: 1; + flex-wrap: wrap; + column-gap: 1rem; + padding: 0.5rem 0px; + row-gap: 2rem; + overflow: auto; + // grid-template-columns: 2fr 1fr; + // background-color: black; + width: 100%; +} + +.AppsCardParentDiv { + background-color: white; + flex-grow: 2.5; + // max-width: min(80vw, 670px); + min-height: 500px; + border-radius: var(--CARD_BORDER_RADIUS); + width: 100%; +} + +.homePageRightSideCards { + // background-color: white; + flex-grow: 1; + min-width: 300px; + display: flex; + justify-content: flex-start; + flex-wrap: wrap; + // align-items: center; + overflow-x: auto; + flex-direction: column; + row-gap: 5rem; + // flex-direction: ; +} + +.homePageRightSideCard { + background-color: white; + width: min(80vw, 450px); + height: 250px; + border-radius: var(--CARD_BORDER_RADIUS); + overflow-y: auto; + overflow-x: hidden; +} + +.homeAppHeadder { + display: flex; + margin: 2rem 2rem; + column-gap: 1rem; +} + +.homePageAppIcon { + display: grid; + place-content: center; + padding: auto; +} + +.homeAppHeadder p { + font-size: 12px; + line-height: 14.06px; +} + + + + + +.appList { + // margin: min(); + // display: flex; + flex-wrap: wrap; + // height: 60vh; + overflow: auto; + width: 100%; +} +.appListComponent { + display: flex; + flex-direction: column; + flex-wrap: wrap; + column-gap: 3rem; + row-gap: 1rem; + // margin: 1rem max(10px, 3vw); + margin: 6px 1.5rem; + flex-grow: 1; + justify-content: center; + width: 100%; +} + +.appListComponentSub { + display: flex; + flex-wrap: wrap; + column-gap: 2rem; + row-gap: 1rem; + // margin: 1rem max(10px, 3vw); + flex-grow: 1; + justify-content: center; + width: 95%; + padding-bottom: 3rem; +} + +.appCard { + // border: 1px solid #C9C9C9; + border: 1px solid #1c1e1d; + border-radius: 4.55px; + width: 137.93px; + height: 126.79px; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + font-size: 2vh; + font-weight: 500; + line-height: 13.71px; + cursor: pointer; + + & p { + padding: 1rem 0px; + } + + &:hover { + background-color: #F4EAF2; + border-color: #F4EAF2; + color: #8F1E78; + } +} + +//naresh 27/12/23 AppCard-Name implementation + +.AppCard-Name{ + width: 120px !important; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + text-align: center; +} + +.appCardexpire { + border: 1px solid #df1919; + border-radius: 4.55px; + width: 137.93px; + height: 126.79px; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + font-size: 2vh; + font-weight: 500; + line-height: 13.71px; + cursor: pointer; + + & p { + padding: 0.47rem 0px; + } + + &:hover { + background-color: #F4EAF2; + border-color: #F4EAF2; + color: #8F1E78; + } +} +.appCardActive { + border: 1px solid #52C41A; + border-radius: 4.55px; + width: 137.93px; + height: 126.79px; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + font-size: 2vh; + font-weight: 500; + line-height: 0.71px; + cursor: pointer; + & p { + padding: 0.9rem 0px; + } + + &:hover { + background-color: #F4EAF2; + border-color: #F4EAF2; + color: #8F1E78; + } +} + + +.appCardexpired { + border: 1px solid #ff8400; + border-radius: 4.55px; + width: 137.93px; + height: 126.79px; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + font-size: 2vh; + font-weight: 500; + line-height: 13.71px; + cursor: pointer; + + & p { + padding: 0.6rem 0px; + } + + &:hover { + background-color: #F4EAF2; + border-color: #F4EAF2; + color: #8F1E78; + } +} + +.divExpire{ + padding: 0.4rem; + padding-bottom: 0.4rem; + border-radius: 0.1rem; + color: #ff8400; + font-size: 0.7rem; + font-family: VAR(--PARA_FONT_FAMILY); + font-weight: 600; +} + +.divActive { + padding: 0.4rem 0.6rem; + padding-bottom: 0.4rem; + border-radius: 0.1rem; + color: #10ac10; + font-size: 0.8rem; + font-family: VAR(--PARA_FONT_FAMILY); + font-weight: 500; + background-color: #5ab95a4d; + border-radius: 4px; + border: 1px solid #5ab95a4d; +} + +.divExpired{ + padding: 0.4rem; + padding-bottom: 0.4rem; + border-radius: 0.1rem; + color: #FF4D4F; + font-size: 0.7rem; + font-family: VAR(--PARA_FONT_FAMILY); + font-weight: 600; +} + +.homePaymentParent { + overflow-y: auto; + overflow-x: hidden; + height: 100%; +} +.Pdf-Table-Div .ant-table-thead th{ + font-size: 0.6rem !important; +} + +.paymentHistoryTable { + overflow: auto; + height: 100%; + +} +.paymentHistoryTable::-webkit-scrollbar { + display: block !important; +} +.paymentHistoryTable .ant-table-thead th { + font-size: 0.6rem !important; + // color:black; +} +.paymentHistoryTable .ant-table-wrapper .ant-table-thead>tr>th { + color: black; + font-size: 13px; +} + +.tableText { + color: black; + font-size: 0.8rem; +} + +// .tableText:hover { +// // color: black; +// } + +.Pending { + color: orange; + // filter: brightness(70%); +} + +.tableText:has(.Pending):hover { + color: orange; + // filter: brightness(70%); +} + +.Success { + color: #52C41A; +} + +.tableText:has(.Success):hover { + color: #52C41A; +} + +.Cancelled { + color: #FF4D4F; +} + +.tableText:has(.Cancelled):hover { + color: #FF4D4F; +} + + +.homeNotification { + display: flex; + justify-content: flex-start; + align-items: center; + margin-left: 2rem; + font-family: var(--PARA_FONT_FAMILY); + font-size: 14px !important; + padding: 2rem; + padding-top: 1rem; +} + + + + + +::-webkit-scrollbar { + width: 3px; + height: 3px; +} + +::-webkit-scrollbar-thumb { + background: #c7c6c6; + border-radius: 16px; + box-shadow: + inset 2px 2px 2px hsla(0, 0%, 100%, 0.25), + inset -2px -2px 2px rgba(0, 0, 0, 0.25); +} +::-webkit-scrollbar-track { + border-radius: 25px; + background: linear-gradient(90deg, #ffffff, #c9c9c9 1px, #ffffff 0, #ffffff); +} + + + +.tooltip { + position: relative; + display: inline-block; + font-family: 'Gilroy'; + // border-bottom: 1px dotted black; + } + + .tooltip .tooltiptext { + visibility: hidden; + font-size: 14px; + font-family: 'Gilroy'; + width: 120px; + background-color: black; + color: #fff; + text-align: center; + border-radius: 6px; + padding: 5px 0; + + /* Position the tooltip */ + position: absolute; + z-index: 1; + top: 100%; + left: 50%; + margin-left: -60px; + } + + .tooltip:hover .tooltiptext { + font-family: 'Gilroy'; + visibility: visible; + } + + + .viewdiv{ + text-decoration: underline; + text-align: end; + cursor: pointer; + color: #3e99ed; + +} + + + + + + + diff --git a/src/styles/OtpVerify/OtpVerify.scss b/src/styles/OtpVerify/OtpVerify.scss new file mode 100644 index 0000000..617c220 --- /dev/null +++ b/src/styles/OtpVerify/OtpVerify.scss @@ -0,0 +1,64 @@ +.otpModule { + display: flex; + justify-content: center; + gap: 10px; + margin: 16px 0; +} + +.otpModuleInput { + width: 40px; + height: 40px; + text-align: center; + font-size: 18px; + border: 1px solid #ccc; + border-radius: 6px; +} + +.otpWrapper { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + +.user-password { + .ant-form-item-additional { + width: 250px !important; + font-size: 10px !important; + } + + .ant-form-item-explain-error { + font-size: 12px; + } +} + +.userPin { + .ant-input { + padding: 6px 14px 6px 11px !important; + } + +} + +// .otp-verified-icon { + +// right: 10px; +// // top: 35%; +// font-size: 23px; +// color: #52c41a; +// text-align: right; +// margin: 9px 116px; +// } + + +.showMap11 { + display: flex; + align-items: center; + gap: 1rem; + flex-wrap: wrap; + width: 100%; +} + +.showMap22 { + flex-direction: column; + width: unset !important; +} \ No newline at end of file diff --git a/src/styles/OverAllStyle/OverAllStyle.scss b/src/styles/OverAllStyle/OverAllStyle.scss new file mode 100644 index 0000000..5f9c7dd --- /dev/null +++ b/src/styles/OverAllStyle/OverAllStyle.scss @@ -0,0 +1,40 @@ +.appUrlInput { + .ant-input { + padding: 18px 10px 6px 2px !important; + } +} + +.reportTableCompany { + width: 100%; + overflow: scroll; + height: 65vh !important; + @media (max-width: 500px) { + width: 82%; + } +} + +.handleSubmitSMS { + width: 85%; + .ant-form-item { + width: 250px !important; + + } + + .ant-form { + flex: unset !important; + display: flex; + flex-wrap: wrap; + gap: 2rem; + row-gap: 0; + } + + .ant-row { + gap: 2rem; + } +} + +.submitButtonDiv{ + display: flex; + justify-content: flex-end; + width: 100%; +} \ No newline at end of file diff --git a/src/styles/PurchaseInfo/purchaseInfo.scss b/src/styles/PurchaseInfo/purchaseInfo.scss new file mode 100644 index 0000000..6a99123 --- /dev/null +++ b/src/styles/PurchaseInfo/purchaseInfo.scss @@ -0,0 +1,187 @@ + +.purchase-info-model { + .reportTable { + width: 100% !important; + height: max-content !important; + } + + .ant-table-cell { + text-align: left !important; + } + + .ant-empty-normal { + margin-block: 0 !important; + } +} + +.Planchanges { + display: flex; + padding: 15px; + gap: 15px; +} + +// vicky +.ModalOFpurchaseInfo { + .ant-modal-content { + padding: 30px 30px !important; + } + + .ant-modal-title { + font-size: 20px; + } +} + + +.PurchaseExtendModal { + display: flex; + flex-direction: column; + gap: 10px; + height: max-content; + max-height: 80vh; + overflow: scroll; + padding-bottom: 3rem; +} + +.appnameAndPlan { + display: inline-flex; + align-items: center; + gap: 10px; + font-family: 14px; + font-family: 'Gilroy'; + font-weight: 500; + >p:nth-child(1) { + display: inline-flex; + align-items: center; + gap: 4px; + } + + >p:nth-child(2) { + display: inline-flex; + align-items: center; + gap: 4px; + color: #000 !important; + font-weight: 600; + font-size: 14px; + } +} + +.StyleType-Container { + display: flex; + align-items: center; + gap: 10px; + font-size: 14px; + color: #000; + width: max-content; + background-color: #dadada; + padding: 4px 4px; + margin: 0px 0 10px 0; + border-radius: 6px; + font-family: 'Poppins'; + font-weight: 500; + + >div { + cursor: pointer; + } +} + +.addfeatInput { + display: flex; + align-items: flex-start; + gap: 1rem; + + .ant-form-item { + margin-bottom: 0px !important; + } +} + +//Srinath Changes +.purchase-info-model .reportTable .ant-table-thead{ + position: sticky; + top: 0; + background-color: #bad4f9; + z-index: 1; +} + +.purchaseInfoBtn { + background-color: #fff; + padding: 3px; + border-radius: 4px; + + .status-button { + padding: 5px 12px; + border: none; + border-radius: 4px; + font-size: 13px; + cursor: pointer; + transition: background 0.3s ease; + font-family: "Poppins"; + width: 130px; + } + + .active-btn { + background-color: rgb(0, 126, 28); + color: white; + } + + .expired-btn { + background-color: #ff0000; + color: white; + } + + .free-btn { + background-color: #1292ee; + color: white; + } + + .all-btn { + background-color: #0000008a; + color: white; + } + + .inactive-btn { + background-color: unset; + color: black; + } +} +.searchAddDiv1 { + display: flex; + align-items: center; + // gap: 10px; + flex-wrap: wrap; + white-space: nowrap; +} +.purchaseInfoDD { + .ant-select-selector, + .ant-select-single { + width: 160px !important; + } + .ant-select-selector { + height: 40px !important; + } +} +@media (max-width: 768px) { + .searchAddDiv1 { + height: 11rem; + } +} + +//Sajid + +.Adminnewplan{ + width:10vw; + height:6vh; + background-color:rgb(18, 146, 238); + border: none +} + +.purchase-div{ + .primary_Button{ + width: 140px !important; + } +} + +.purchase-submit{ + display: flex; + justify-content: flex-end; + margin-right: 60px; +} \ No newline at end of file diff --git a/src/styles/Warehouse/warehouse.scss b/src/styles/Warehouse/warehouse.scss new file mode 100644 index 0000000..2041532 --- /dev/null +++ b/src/styles/Warehouse/warehouse.scss @@ -0,0 +1,21 @@ +.warehouse-form-items{ + display: flex; + gap: 10px; + flex-wrap: wrap; +} + +.warehouse-add-with-map{ + display: block; +} + +.warehouse-add-without-map{ + display: flex; + gap: 10px; + flex-wrap: wrap; +} + +@media (max-width:768px){ + .MapDiv{ + display: none !important; + } +} \ No newline at end of file diff --git a/src/styles/appMenuAccess/appMenuAccess.scss b/src/styles/appMenuAccess/appMenuAccess.scss new file mode 100644 index 0000000..d986415 --- /dev/null +++ b/src/styles/appMenuAccess/appMenuAccess.scss @@ -0,0 +1,18 @@ +.reportTableSub{ + & .ant-checkbox .ant-checkbox-inner:after{ + background: black; + display: inline; + } +} +.formDivappMenu { + display: flex; + flex-wrap: wrap; + column-gap: 2rem; + // row-gap: 0.5rem; +} + +.reportTable-appMenu{ + height: 48vh !important; + overflow: auto; + width: 80vw; +} \ No newline at end of file diff --git a/src/styles/appPage/appPage.scss b/src/styles/appPage/appPage.scss new file mode 100644 index 0000000..a6b8d16 --- /dev/null +++ b/src/styles/appPage/appPage.scss @@ -0,0 +1,317 @@ +.appPage { + min-width: 100vw; + height: 100vh; + display: flex; + overflow: hidden; +} + +.sideNaveParent { + // width: clamp(43px, 9vw, 2000px); + // background-color: black; + // color: white +} + +.centerPage { + flex-grow: 1; + display: flex; + // width: calc(100vw - clamp(43px, 9vw, 2000px)); + height: 100vh; + background-color: var(--PAGE_BODY_BACKGROUND_COLOR); + width: 100%; +} + +.centerPageSub { + margin: 0px max(10px, 2vw); + // background-color: white; + flex-grow: 1; + width: 100%; + overflow: auto; + + @media (max-width: 500px) { + margin: 0px max(10px, 1vw) !important; + } +} + +.breadCrumbClass { + display: flex; + padding: 0.3rem 1rem 0.3rem 1rem; + justify-content: space-between; +} + +[data-letters]:before { + content: attr(data-letters); + display: inline-block; + font-size: 0.8em; + width: 2.5em; + // height:2.5em; + line-height: 2.4em; + text-align: center; + border-radius: 50%; + background: gray; + vertical-align: middle; + margin-right: 1em; + color: white; +} + +.UserNameBadge { + display: flex; + justify-content: flex-end; + flex-grow: 1; + // padding-right: 2rem; + // width: 96% +} + + +.tooltip { + position: relative; + display: inline-block; + font-family: 'Gilroy'; + // border-bottom: 1px dotted black; +} + +.tooltip .tooltiptext { + visibility: hidden; + font-size: 14px; + font-family: 'Gilroy'; + width: max-content; + background-color: black; + color: #fff; + text-align: center; + border-radius: 6px; + padding: 5px 10px; + + /* Position the tooltip */ + position: absolute; + z-index: 1; + top: 100%; + left: 50%; + margin-left: -60px; +} + +.tooltip:hover .tooltiptext { + font-family: 'Gilroy'; + visibility: visible; +} + +.content { + display: flex; + justify-content: center; + // background-color: white; + border-radius: 12px; + flex-direction: row; + height: 90vh; + overflow: auto; + width: 100%; +} + +.userPage { + height: 100%; + width: 100%; + padding: 10px max(10px, 1.5vw); + // padding: 0px max(10px, 9vw); + overflow: auto; +} + +.userPageContent { + height: 100%; + width: 100%; + padding-bottom: 1rem; + +} + +.formDiv { + display: flex; + flex-wrap: wrap; + column-gap: 3rem; + padding-top: 2rem; + // Sridhar + height: 74vh; + overflow: auto; + // + row-gap: 1.5rem; +} + +//naresh +.noheight { + height: auto !important; +} + +.formDivAnt { + display: flex; + flex-wrap: wrap; + column-gap: 3rem; + // padding-top: 2rem; + row-gap: 1.5rem; + // flex-direction: column; +} + +.formDivS { + display: flex; + flex-wrap: wrap; + flex-direction: column; + row-gap: 1.5rem; + // column-gap: 2rem; + // padding-top: 2rem; + // row-gap: 0.5rem; + // padding-top: 2rem; + // row-gap: 1.5rem; +} + +.formAddressDiv { + display: flex; + flex-wrap: wrap; + column-gap: 0.5rem; + +} + +.formAddressDiv p { + color: deepskyblue; +} + +.upload_btn p { + color: deepskyblue; +} + +.required:after { + content: " *"; + color: #FF4D4F; +} + +.TimePickerDiv { + width: var(--INPUT_FIELD_WIDTH); + padding: 18px 14px 6px 11px; + font-size: 16px; + font-weight: 490; +} + +.MapDiv { + position: relative; + // height: 55%; + flex-grow: 1; + // width: var(--INPUT_FIELD_WIDTH); + overflow: hidden; + border: none; +} + +.formdes { + font-style: normal; + color: var(--PARA_COLOR); + font-family: var(--PARA_FONT_FAMILY); + font-size: 2.1vh; + +} + +.submitButton { + display: flex; + flex-grow: 1; + justify-content: flex-end; + position: fixed; + bottom: 10px; + right: 100px; +} + + + +.formAddNew { + display: flex; + flex-direction: column; + row-gap: 1rem; +} + +.inputForm { + display: flex; + flex-wrap: wrap; + column-gap: 2rem; +} + +.subinputForm { + display: flex; + column-gap: 2rem; +} + +// .formSearch{ +// // display: flex; +// // justify-content: flex-end; +// margin-top: 2.5rem; +// } + +.userPageTable { + height: 100%; + width: 100%; + // padding: 0px max(10px, 3vw); + padding-left: var(--TABLE_PAGE_PADDING); + // overflow: hidden; + overflow: auto; + + @media (max-width: 500px) { + padding-left: 0; + } +} + +.searchAddDiv { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + row-gap: 1rem; + padding-bottom: 10px; + // height: 4rem; +} + +.reportTable { + overflow: auto; + // width: 80vw; + width: 100%; + //Sridhar + height: 70vh !important; + + // + @media (max-width: 500px) { + width: 100%; + } +} + +.pageOverAll { + background-color: white; + // width: 80vw; + width: 100%; +} + +.paypreLogoDiv { + display: flex; + justify-content: center; + align-items: center; + margin: 2.5rem 0px; + // row-gap: 1rem; +} + +//Sridhar + +.reportTable .ant-table-thead { + position: sticky; + top: 0; + background-color: #f3f3f3; + z-index: 1; +} + + +.reportTable .ant-pagination { + position: sticky; + bottom: 0; + margin: 0 !important; + padding: 0.5rem; + background-color: #fafafa; +} + +.selected { + border: 2px solid #52C41A; +} + +.productonlineImg { + display: flex; + flex-wrap: wrap; + gap: 0.5rem; + row-gap: 0.5rem; + // height: 50%; + overflow: auto; + // width:100% +} \ No newline at end of file diff --git a/src/styles/applications/applicationList.scss b/src/styles/applications/applicationList.scss new file mode 100644 index 0000000..eb0f776 --- /dev/null +++ b/src/styles/applications/applicationList.scss @@ -0,0 +1,821 @@ +// Enhanced Application List Styles +.application-list-container { + min-height: 100vh; + background: #f8fafc; + padding: 0; + overflow: auto; + border-radius: 12px; + font-family: "Poppins", sans-serif; +} + +.moreappsTitle { + width: inherit; + text-align: left; + margin: 8px 16px 16px 16px; + + div { + font-size: 28px; + color: #23378a; + font-weight: 500; + -webkit-text-stroke-width: 0.1px; + } + + p { + font-size: 12.5px; + color: #4a5565; + font-weight: 400; + } +} + +.LRScrollBTN { + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + z-index: 2; + transition: opacity 0.3s ease; + + &:hover { + opacity: 0.8; + } + + svg { + width: 40px; + color: #213088; + padding: 11px; + height: 40px; + background-color: #d1d5db; + display: flex; + border-radius: 8px; + transition: background-color 0.3s ease; + + &:hover { + background-color: #9ca3af; + color: #ffffff; + } + } +} + +// Category Filter Bar +.category-filter-bar { + background: white; + // border-radius: 12px; + margin: 0 1rem 0 1rem; + // border: 1px solid #e0e2e4; + display: flex; + align-items: center; + gap: 12px; + position: relative; + + .category-filters { + display: flex; + gap: 1rem; + white-space: nowrap; + overflow-x: auto; + overflow-y: hidden; + scroll-behavior: smooth; + flex: 1; + padding: 8px 0; + + // Hide scrollbar but keep functionality + &::-webkit-scrollbar { + display: none; + } + + -ms-overflow-style: none; + scrollbar-width: none; + + .category-filter-item { + display: flex; + flex-direction: row; + align-items: center; + gap: 4px; + padding: 8px 16px; + border-radius: 12px; + cursor: pointer; + transition: all 0.3s ease; + min-width: max-content; + flex-shrink: 0; + font-family: "Poppins", sans-serif; + background-color: #e9edff; + border: 1px solid #dbe2ff; + + &:hover { + background: #f8f9ff; + border-color: #e0e7ff; + } + + &.active { + background-color: #4b5ec7; + color: white; + border-color: #ffffff; + box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3); + } + + .category-icon { + font-size: 1.3rem; + display: flex; + } + + .category-name { + font-size: 14px; + font-weight: 400; + text-align: center; + line-height: 1.2; + } + + .category-count { + font-size: 0.8rem; + background: rgba(255, 255, 255, 0.2); + padding: 6px; + height: 30px; + text-align: center; + width: 30px; + border-radius: 8px; + font-weight: 500; + } + } + } +} + +// Header Section +.apps-section-header { + margin: 1rem; + margin-bottom: 1.5rem; + + .header-actions { + display: flex; + align-items: center; + gap: 1rem; + flex-wrap: nowrap; + // width: 100%; + flex-grow: 1; + justify-content: space-between; + + .searchBar { + display: flex; + align-items: center; + gap: 12px; + width: 100%; + flex: 1; + background: #ffffff; + border: 1px solid #e5e7eb; + border-radius: 12px; + padding: 0 14px; + } + + .searchInput { + height: 48px; + box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06); + font-size: 14px; + color: #111827; + outline: none; + border: none; + width: 100%; + background-color: transparent; + font-family: "Poppins", sans-serif; + } + + .filterBtn { + background: #ffffff; + border: 1px solid #e5e7eb; + border-radius: 12px; + height: 50px; + padding: 0 14px; + display: inline-flex; + align-items: center; + font-family: "Poppins", sans-serif; + gap: 8px; + box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06); + cursor: pointer; + color: #23378a; + font-weight: 400; + transition: all 0.3s ease; + + &:hover { + background: #f8f9ff; + border-color: #667eea; + } + } + } +} + +.sort-controls { + display: flex; + align-items: center; + gap: 0.5rem; + + label { + font-weight: 400; + color: #333; + font-size: 0.9rem; + } + + select { + padding: 0.5rem 1rem; + border: 2px solid #e0e0e0; + border-radius: 10px; + background: white; + font-size: 0.9rem; + cursor: pointer; + transition: all 0.3s ease; + + &:focus { + outline: none; + border-color: #667eea; + box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); + } + } +} + +.view-controls { + display: flex; + gap: 0.5rem; + + .view-btn { + padding: 6px 10px; + border: 2px solid #e0e0e0; + background: white; + border-radius: 6px; + cursor: pointer; + font-size: 18px; + transition: all 0.3s ease; + + &:hover { + border-color: #ffffff; + background: rgba(102, 126, 234, 0.1); + } + + &.active { + background: #3d5ace; + color: white; + border-color: #ffffff; + } + } +} + + +// Applications Grid +.applicationList { + padding: 0 1rem 2rem 1rem; + min-height: calc(100dvh - 4rem); + overflow-y: auto; + + // Custom scrollbar + &::-webkit-scrollbar { + width: 8px; + } + + &::-webkit-scrollbar-track { + background: rgba(255, 255, 255, 0.1); + border-radius: 4px; + } + + &::-webkit-scrollbar-thumb { + background: rgba(102, 126, 234, 0.3); + border-radius: 4px; + + &:hover { + background: rgba(102, 126, 234, 0.5); + } + } +} + +.apps-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); + gap: 1.5rem; + margin-bottom: 2rem; + + &.list { + grid-template-columns: 1fr; + + .enterprise-card { + display: flex; + flex-direction: row; + height: 300px; + + .card-header { + width: 300px; + height: 100%; + flex-shrink: 0; + } + + .card-content { + flex: 1; + display: flex; + flex-direction: column; + justify-content: space-between; + } + } + } +} + +// Enterprise Card Styles (matching the detailed design) +.enterprise-card { + background: white; + border-radius: 16px; + overflow: hidden; + cursor: pointer; + transition: all 0.3s ease; + font-family: "Poppins", sans-serif; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); + border: 1px solid #eef0f3; + + &:hover { + transform: translateY(-4px); + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); + } + + + + + + + // Header Section + .card-header { + position: relative; + height: 200px; + background: #f5f7fb; + overflow: hidden; + + .header-bg-image { + width: 100%; + height: 100%; + object-fit: cover; + filter: brightness(0.9); + } + + // .setup-time-badge { + // position: absolute; + // top: 12px; + // left: 12px; + // background: rgba(0, 0, 0, 0.8); + // color: white; + // padding: 6px 12px; + // border-radius: 20px; + // font-size: 12px; + // font-weight: 500; + // display: flex; + // align-items: center; + // gap: 4px; + // } + + .header-actions { + position: absolute; + top: 12px; + right: 12px; + display: flex; + flex-direction: column; + gap: 8px; + + .action-btn { + width: 36px; + height: 36px; + border-radius: 50%; + border: 1px solid rgba(255, 255, 255, 0.3); + background: rgba(255, 255, 255, 0.9); + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + transition: all 0.3s ease; + backdrop-filter: blur(10px); + + &:hover { + background: white; + transform: scale(1.1); + } + + &.favorite { + color: #ff6b6b; + + &.favorited { + background: #ff6b6b; + color: white; + border-color: #ff6b6b; + } + } + } + } + } + + // Content Section + .card-content { + padding: 16px; + height: 250px; + display: flex; + flex-direction: column; + justify-content: space-between; + + .category-type { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 6px; + + .category { + color: #8b5cf6; + font-size: 12px; + font-weight: 500; + } + + .type-indicator { + display: flex; + align-items: center; + gap: 6px; + color: #8b5cf6; + font-size: 10px; + font-weight: 500; + + .dot { + width: 6px; + height: 6px; + background: #8b5cf6; + border-radius: 50%; + } + } + } + + .app-title { + font-size: 18px; + font-weight: 500; + color: #000000; + margin: 0 0 8px 0; + line-height: 1.2; + } + + .app-description { + font-size: 12px; + color: #4a5565; + line-height: 1.5; + margin: 0 0 6px 0; + } + + .rating-section { + display: flex; + align-items: center; + gap: 8px; + margin-bottom: 6px; + + .stars { + display: flex; + gap: 2px; + + .star { + font-size: 16px; + + &.filled { + color: #fbbf24; + } + + &.half { + color: #fbbf24; + opacity: 0.7; + } + + &.empty { + color: #d1d5db; + } + } + } + + .rating-text { + font-size: 12px; + color: #4a5565; + } + } + + .key-metrics { + display: flex; + gap: 16px; + justify-content: space-around; + margin-bottom: 16px; + background-color: #ebf2fc; + padding: 10px; + border-radius: 8px; + + .metric-item { + display: flex; + align-items: center; + gap: 8px; + + .metric-icon { + color: #8b5cf6; + font-size: 16px; + } + + .metric-content { + display: flex; + flex-direction: column; + + .metric-value { + font-size: 14px; + font-weight: 400; + color: #000000; + line-height: 1; + } + + .metric-label { + font-size: 12px; + color: #4a5565; + line-height: 1; + } + } + } + } + + .feature-tags { + display: flex; + flex-wrap: wrap; + gap: 8px; + margin-bottom: 16px; + + .feature-tag { + padding: 4px 12px; + border: 1px solid #e0e7ff; + border-radius: 20px; + font-size: 12px; + color: #8b5cf6; + background: #f8faff; + font-weight: 500; + } + } + + // .certifications-support { + // display: flex; + // flex-wrap: wrap; + // gap: 12px; + // margin-bottom: 16px; + + // .cert-item { + // display: flex; + // align-items: center; + // gap: 6px; + // font-size: 13px; + // color: #374151; + + // .cert-icon { + // font-size: 14px; + + // &:first-child { + // color: #10b981; + // } + // } + // } + // } + + .pricing-section1 { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 16px; + + .monthly-price { + font-size: 18px; + font-weight: 500; + color: #000000; + } + + .annual-price { + font-size: 12px; + color: #4a5565; + text-align: right; + } + } + + .cta-section1 { + display: flex; + gap: 12px; + margin-bottom: 12px; + flex-direction: column; + + .primary-cta { + flex: 1; + background-color: #7c3aed; + color: white; + border: none; + border-radius: 8px; + padding: 8px 16px; + font-size: 13px; + font-weight: 400; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + gap: 8px; + transition: all 0.3s ease; + font-family: "Poppins", sans-serif; + + &:hover { + transform: translateY(-1px); + } + } + + .secondary-cta { + width: 44px; + height: 44px; + border: 1px solid #d1d5db; + background: white; + border-radius: 8px; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + transition: all 0.3s ease; + + svg { + font-size: 14px; + } + } + } + + .trial-info { + display: flex; + align-items: center; + gap: 6px; + font-size: 10px; + color: #4a5565; + text-align: center; + font-weight: 400; + justify-content: center; + } + } +} + +// Loading States +.loading-container { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + min-height: 50vh; + color: #667eea; + + .loading-spinner { + width: 50px; + height: 50px; + border: 4px solid rgba(102, 126, 234, 0.3); + border-top: 4px solid #667eea; + border-radius: 50%; + animation: spin 1s linear infinite; + margin-bottom: 1rem; + } + + p { + font-size: 1.2rem; + font-weight: 500; + } +} + +@keyframes spin { + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } +} + +// No Results State +.no-results { + text-align: center; + color: #667eea; + padding: 4rem 2rem; + + .no-results-icon { + font-size: 4rem; + margin-bottom: 1rem; + opacity: 0.7; + } + + h3 { + font-size: 2rem; + margin-bottom: 1rem; + font-weight: 600; + } + + p { + font-size: 1.1rem; + opacity: 0.8; + max-width: 500px; + margin: 0 auto; + } +} + +// Responsive Design +@media (max-width: 768px) { + .category-filter-bar { + margin: 0.5rem; + padding: 0.5rem; + + .category-filters { + gap: 0.5rem; + + .category-filter-item { + min-width: 100px; + padding: 0.75rem; + + .category-name { + font-size: 0.8rem; + } + } + } + } + + .apps-section-header { + margin: 0.5rem; + + .header-actions { + flex-direction: column; + gap: 0.5rem; + + .searchBar { + width: 100%; + } + + .filterBtn { + width: 100%; + justify-content: center; + } + } + } + + .controls-section { + margin: 0 0.5rem 1rem 0.5rem; + flex-direction: column; + gap: 1rem; + align-items: stretch; + + .sort-controls, + .view-controls { + justify-content: center; + } + } + + .apps-grid { + grid-template-columns: 1fr; + gap: 1rem; + + &.list .enterprise-card { + flex-direction: column; + height: auto; + + .card-header { + width: 100%; + height: 200px; + } + } + } + + .applicationList { + padding: 0 0.5rem 1rem 0.5rem; + } + + .enterprise-card { + .card-content { + padding: 16px; + + .app-title { + font-size: 20px; + } + + + .pricing-section1 { + flex-direction: column; + align-items: flex-start; + gap: 4px; + } + } + } +} + +@media (max-width: 480px) { + .category-filter-item { + min-width: 80px !important; + padding: 0.5rem !important; + + .category-name { + font-size: 0.7rem !important; + } + + .category-count { + font-size: 0.7rem !important; + } + } + + .enterprise-card { + .card-content { + padding: 12px; + + .app-title { + font-size: 18px; + } + + .monthly-price { + font-size: 20px; + } + } + } +} \ No newline at end of file diff --git a/src/styles/applications/applications.scss b/src/styles/applications/applications.scss new file mode 100644 index 0000000..37712fc --- /dev/null +++ b/src/styles/applications/applications.scss @@ -0,0 +1,48 @@ +.homeApplication { + // background-image: url('../../Images/appBackground.png'); + background-repeat: no-repeat; + background-size: contain; + display: flex; + flex-direction: column; + flex-grow: 1; + height: 100dvh; + width: 80vw; + +} + +.applicationSearch { + display: flex; + justify-content: center; + align-items: center; + // flex-grow: 1; + height: 4rem; + font-family: "Poppins", sans-serif; + h1{ + font-size: 24px; + margin: 10px 0; + color: #000000; + font-weight: 600; + } + + & .ant-input-search { + width: 50% !important; + text-align: center; + // padding: 0px 100px; + } + + & .ant-input-group-addon { + display: none; + } + + & ::placeholder { + text-align: center; + color: black; + font-weight: 500; + } + + & .searchDiv .ant-input { + border-radius: 23px !important; + padding: 0px; + // width: 75%; + } +} \ No newline at end of file diff --git a/src/styles/pageComponents/FormHeader.scss b/src/styles/pageComponents/FormHeader.scss new file mode 100644 index 0000000..4339af1 --- /dev/null +++ b/src/styles/pageComponents/FormHeader.scss @@ -0,0 +1,8 @@ +.formHeader { + font-size: 25px; + font-weight: 600; + color: #000000; + font-family: var(--HEADING_FONT_FAMILY); + // padding-top: 0.5rem; + // padding-top: min(); +} \ No newline at end of file diff --git a/src/styles/template/Faq/Modal4.css b/src/styles/template/Faq/Modal4.css new file mode 100644 index 0000000..fa5b8b7 --- /dev/null +++ b/src/styles/template/Faq/Modal4.css @@ -0,0 +1,354 @@ +.noImage { + width: 150%; + height: 300px; + background-color: rgb(194, 194, 194); +} +.modalContainer { + display: flex; + padding: 55px; + column-gap: 2rem; + row-gap: 2rem; +} +.modalContainer2 { + /* padding: 7rem 16rem; */ + display: flex; + flex-direction: column; + justify-content: center; + row-gap: 1rem; + margin: 45px; +} +.left { + width: 40%; + display: flex; + justify-content: center; + padding: 15px 0 0 0; +} + +.right { + display: flex; + flex-direction: column; + row-gap: 1rem; + padding: 50px 0 0 0; +} +.faqstext1 { + font-style: normal; + font-weight: 500; + font-size: 26px !important; + color: #000; +} +.h1faq { + width: 30rem; + font-size: 26px; + font-family: Gilroy; +} + +@media (min-width: 220px) and (max-width: 499px) { + .preTitleData { + padding: 0 50px; + width: 20rem !important; + } + .faqimgContainer { + width: 69% !important; + } +} + +@media only screen and (min-width: 858px) { + .master1 { + width: 50%; + } +} +@media only screen and (max-width: 859px) { + .modalContainer { + flex-wrap: wrap; + } + .master1 { + width: 100% !important; + } + .modalContainer2 { + padding: 0rem 0rem !important; + } +} +@media only screen and (max-width: 280px) { + .modalContainer2 { + padding: 10px 10px !important; + } +} +@media only screen and (max-width: 576px) { + .h1faq { + width: auto; + } + .faqimgContainer { + margin: auto !important; + flex-direction: row !important; + } + .faqCollapseContainer { + justify-content: center; + margin: auto; + /* width: 90%; */ + } + .modalContainer { + padding: 10px 10px; + } +} + +.range0 { + width: 10vw; + height: 2vh; + background-color: lightgray; +} +.swaiperimage { + width: 15rem; +} + +.swaiper-div-one { + display: flex; + flex-direction: column; + row-gap: 1rem; +} + +.skeletondiv2 { + background-color: #fff; + width: 28vw; + height: 17vh; + display: flex; + flex-direction: column; + justify-content: space-around; +} +.headingSkeleton2 { + width: 20vw; + height: 1.5vh; + background-color: lightgray; +} +.headingSkeleton3 { + width: 15vw; + height: 1.5vh; + background-color: lightgray; +} +.SkeletonDiv { + display: flex; + flex-direction: column; + justify-content: space-evenly; + float: left; + background-color: rgb(243, 243, 243); + width: 15vw; + height: 20vh; + padding: 10px; + margin-bottom: 12px; +} + +.modalContainer { + display: flex; + flex-direction: row; + justify-content: center; + /* flex-wrap: wrap; */ +} + +.secondfq { + display: flex; + flex-direction: column; + gap: 0.5rem; +} + +.master-range8 { + border: 0.5px solid gray; + padding: 10px; + width: 60%; + box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; +} +.Range9 { + width: 10vw; + height: 1vh; + background-color: rgb(143, 141, 141); +} + +.Heading_container { + display: flex; + flex-direction: column; + gap: 0.2rem; +} +.Rengegroup { + display: flex; + flex-direction: column; + gap: 0.2rem; + background-color: rgb(225, 233, 236); + width: 57%; + padding: 10px; +} + +.master-range1 { + border: 0.5px solid gray; + padding: 10px; + width: 100%; + box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; +} + +.Rengegroup1 { + display: flex; + flex-direction: column; + gap: 0.2rem; + background-color: rgb(225, 233, 236); + width: 100%; + padding: 10px; +} + +.Skeleton-container { + display: flex; + flex-direction: column !important; +} +.range10 { + margin: 10px 0; + width: 10vw; + height: 2vh; + background-color: lightgray; +} +.FaqempTitleData { + background-color: #929292; + width: 5rem; + height: 0.5rem; +} +/* .FaqempImageData{ +} */ +.Faq1EmptyBox { + background-color: #929292; + width: 6rem; + height: 1rem; + margin: 5px; +} + +.preTitleData { + width: 24rem; + font-family: "Gilroy"; + font-size: 22px; + text-align: left; + font-weight: 600; +} +.preTitleData2 { + font-family: "Gilroy"; + font-size: 22px; + text-align: left; + font-weight: 600; +} +.Faq1Box { + font-size: 16px; + font-weight: 400; + padding: 3px 40px; +} +.Faq2Box { + font-size: 16px; + font-weight: 400; + padding: 3px 40px; +} +.FaqImageData { + width: 18rem !important; + margin: 1rem; +} +.faqimgContainer { + width: 100%; +} +/* .faqlistcont{ + width: 32rem; +} */ +@media (min-width: 250px) and (max-width: 859px) { + /* .faqlistcont{ + width: 93vw !important; + } */ + .FaqImageData { + width: 10rem !important; + margin: 0.4rem; + } +} + +/* collapse */ + +.preTitleData { + width: auto !important; +} + +.firstFaqList { + padding: 7px; + border: 1.5px solid #dbdbdb; + border-left: none; + border-radius: 3px; +} +.subfirstFaqList { + background-color: #cac9c9; + width: 8rem; + height: 0.2rem; +} +.seconfFaqList { + padding: 10px; + background-color: #f7fcff; +} +.thirdfaqList { + width: 7rem; + height: 0.3rem; + background-color: #cac8c8; + + margin: 4px auto; +} + +.faqCollapseContainer .ant-collapse { + width: 40rem !important; + margin: 1vw 1vh; +} + +@media only screen and (max-width: 1068px) { + .faqCollapseContainer .ant-collapse { + width: auto !important; + } +} + +/* .withoutaData { + width: 10vw; + height: 3vh; + background-color: rgb(143, 141, 141); +} +.withoutaData2 { + width: 9.5vw; + height: 3vh; + background-color: rgb(223, 251, 255); + margin: auto; +} +.withoutaData3 { + width: 10vw; + height: 3vh; + background-color: rgb(143, 141, 141); + margin: 2px 0px; +} */ + +.faqCollapseContainer .ant-collapse-content-box { + background-color: #e9e9e9; + border-radius: 0 0 5px 5px; +} +.faqCollapseContainer { + display: flex; + flex-direction: column; + justify-content: flex-start; +} + +/* .withoutaData { + width: 10vw; + height: 3vh; + background-color: rgb(143, 141, 141); +} +.withoutaData2 { + width: 9.5vw; + height: 3vh; + background-color: rgb(223, 251, 255); + margin: auto; +} +.withoutaData3 { + width: 10vw; + height: 3vh; + background-color: rgb(143, 141, 141); + margin: 2px 0px; +} */ + +.faqCollapseContainer .ant-collapse-content-box { + background-color: #e9e9e9; + border-radius: 0 0 5px 5px; +} + +/* .modalContainer .ant-collapse-header{ +border: 1px solid ; +} */ diff --git a/src/styles/template/Feature/feature1.css b/src/styles/template/Feature/feature1.css new file mode 100644 index 0000000..c946a34 --- /dev/null +++ b/src/styles/template/Feature/feature1.css @@ -0,0 +1,141 @@ +.features1Body { + display: flex; + /* grid-template-columns: repeat(2, 1fr); + */ + column-gap: 4rem; + padding: min(2rem, 5%); + overflow: auto; + /* background-color: fff; */ + background: #e8e8e8b2; +} + +.feature1mainImage { + width: min(50%, 10rem); +} + +.feature1subImage { + /* width: min(50%, 5rem); */ + break-inside: avoid; + /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */ + width: 2.4rem; +} + +.feature1Card { + box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; + padding: 2rem 2rem; + margin: 2rem; + display: flex; + flex-direction: column; + row-gap: 1rem; + border-radius: 11px; + width: 22rem; + /* border: 1px solid; */ + background-color: #fff; +} + +/* .feature1mainImage { + box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; + border-radius: 10px; +} */ + +.feature1SubCatP { + display: flex; + /* flex-wrap: wrap; */ + row-gap: 1rem; + column-gap: 1rem; + align-items: center; +} +/* .feature1Des { +text-wrap: nowrap;} */ + +.feature1SubCat { + display: flex; + column-gap: 0.2rem; + align-items: center; +} + +.feature1Card:nth-child(even) { + /* & .feature1mainImage { + margin-left: auto; + } */ + + /* .feature1SubCatP { + justify-content: flex-end; + } */ + + /* .feature1Des { + text-align: right; + } */ + /* + .feature1EmptyBox { + margin-left: auto; + } */ +} + +.formSubDiv { + display: flex; +} + +.feature1EmptyBox { + display: flex; + /* align-items: center; */ + background-color: #929292; + width: 5rem; + height: 1rem; +} + +.feature1DesEmpty { + width: min(10rem, 60%); +} + +.feature1SingleGrid { + grid-template-columns: repeat(1, 1fr); +} + +.featureButton { + width: 100%; + display: flex; + justify-content: flex-end; +} + +@media screen and (max-width: 450px) { + /* .features1Body { + display: grid; + grid-template-columns: repeat(1, 1fr); + row-gap: 2rem; + } */ + .feature1Card { + margin: 0 !important; + padding: 0.5rem !important; + + transform: scale(1); + width: 14.5rem; + justify-content: center; + } + .feature1SubCatP { + transform: scale(0.7); + justify-content: center; + } +} + +.features1Body::-webkit-scrollbar { + display: flex !important; /* Width of the scrollbar */ +} + +.features1Body::-webkit-scrollbar { + width: 10px; + height: 4px; + cursor: pointer; +} + +.features1Body::-webkit-scrollbar-track { + background: #f1f1f1; /* Color of the track */ +} + +.features1Body::-webkit-scrollbar-thumb { + background: #888; /* Color of the scroll thumb */ +} + +.features1Body::-webkit-scrollbar-thumb:hover { + background: #555; /* Color of the scroll thumb on hover */ +} diff --git a/src/styles/template/Feature/feature2.css b/src/styles/template/Feature/feature2.css new file mode 100644 index 0000000..b0b35dd --- /dev/null +++ b/src/styles/template/Feature/feature2.css @@ -0,0 +1,431 @@ +.overallfeaturediv { + display: flex; + flex-wrap: wrap; + flex-direction: row; + align-items: center; + width: 490px; + gap: 1rem; + } + + + + .feature-demo-div1 { + display: flex; + flex-direction: row; + align-items: center; + width: 100%; + justify-content: space-evenly; + gap: 0.5rem; + margin-top: 18px; + } + + .feature-real-div1 { + display: flex; + flex-wrap: wrap; + align-items: center; + margin-bottom: 20px; + } + + .feature-demo-img1 { + width: 140px; + height: 100px; + margin-top: 10px; + } + + .feature-demo-range1 { + width: 250px; + height: 15px; + margin: 30px 0px 10px 10px; + background-color: gray; + } + + .feature-demo-range2 { + width: 220px; + height: 15px; + background-color: gray; + } + + .feature-demo-master-div2 { + display: flex; + margin-left: 50px; + gap: 1rem; + } + + .feature-real-div2 { + display: flex; + justify-content: space-evenly; + } + + .feature-demo-div2 { + display: flex; + flex-direction: row; + gap: 1rem; + } + + .feature-real-img2 { + width: 5vw; + height: 10vh; + } + + .feature-demo-img2 { + width: 60px; + height: 40px; + } + + .feature-demo-lightgray-range { + width: 80px; + height: 10px; + margin-top: 15px; + background-color: lightgray; + margin-bottom: 10px; + } + + .feature-real-lightgray-range { + width: 100%; + height: 10px; + margin-top: 15px; + background-color: #fff; + margin-bottom: 2rem; + font-size: 22px; + font-weight: 600; + } + + .feature-real-div3 { + display: flex; + justify-content: space-evenly; + } + + .feature-demo-div3 { + display: flex; + gap: 1rem; + } + + .feature-real-img3 { + width: 5vw; + height: 10vh; + } + + .feature-demo-img3 { + width: 60px; + height: 40px; + } + + /* ----------------------------------------------------EDIT------------------------------------------------------------------------*/ + + .feature-model1-div1 { + display: flex; + flex-direction: row; + } + .feature-model1-div1-input { + margin-top: 15px; + } + .feature-model1-div1-img { + margin: 15px; + } + .feature-model1-div2 { + display: flex; + flex-direction: row; + gap: 1.5rem; + margin-left: 17px; + } + .feature-model1-subdiv2 { + display: flex; + flex-direction: row; + } + .feature-model1-subdiv2-input { + margin: 1rem 0rem 0rem 0.5rem; + } + .model1-submit { + display: flex; + flex-wrap: wrap; + justify-content: right; + } + + /* .ant-space { + flex-direction: column; + } */ + /* ----------------------------------------------------VIEW---------------------------------------------------------------------- */ + .featureMaindiv { + display: flex; + flex-direction: row; + } + + .feature-demo-view-div1 { + display: flex; + gap: 15rem; + } + .feature-demo-view-range1 { + width: 450px; + height: 25px; + margin-top: 35px; + background-color: gray; + margin-bottom: 10px; + } + + .feature-demo-view-range2 { + width: 420px; + height: 25px; + background-color: gray; + } + + .feature-demo-master-view-div2 { + display: flex; + gap: 5rem; + margin: 10rem 0rem 2rem 4rem; + } + + .feature-demo-view-div2 { + display: flex; + gap: 6rem; + } + + .feature-demo-view-div3 { + display: flex; + gap: 6rem; + } + + .feature-demo-view-sub-range { + width: 180px; + height: 20px; + margin-top: 15px; + background-color: lightgray; + margin-bottom: 10px; + } + + .model2-submit { + margin: 0rem 0rem 0rem 32rem; + } + + .feature-demo-rally-range1 { + width: 450px; + height: 25px; + margin-left: 50px; + margin-top: 35px; + background-color: #fff; + margin-bottom: 10px; + } + + .feature-rally-range1 { + width: 100%; + background-color: #fff; + font-weight: 600; + font-size: 19px; + margin-left: 20px; + } + + .ant-btn-dashed { + border-color: #008000; + } + + .Add-button { + margin: 0rem 0rem 9rem 22rem; + color: #008000; + border: solid 1px #008000; + border-radius: 50%; + padding: 10px; + position: absolute; + bottom: 170px; + left: 44px; + } + + /* media queries */ + /* For screens smaller than 768px (e.g., smartphones) */ + @media (max-width: 768px) { + .feature-real-div2 { + flex-wrap: wrap; + } + .feature-real-div3 { + flex-wrap: wrap; + } + + /* .ant-btn { + position: absolute; + right: 82px; + bottom: 50px; + } */ + .feature-demo-master-div2 { + display: block; + gap: 0rem; + margin-left: 0px; + flex-direction: column; + } + .feature-demo-div1 { + display: block; + gap: 0rem; + } + .feature-demo-div2 { + display: block; + gap: 0rem; + } + .feature-demo-div3 { + display: block; + gap: 0rem; + } + .feature-demo-img1 { + width: 60px; + height: 40px; + } + .feature-demo-img2 { + width: 45px; + height: 35px; + } + .feature-demo-img3 { + width: 45px; + height: 35px; + } + .feature-demo-range1 { + width: 50px; + height: 15px; + } + .feature-model1-subdiv2 { + flex-direction: column; + margin-left: 0rem; + } + } + + /* For screens between 768px and 991px (e.g., tablets) */ + @media (min-width: 768px) and (max-width: 991px) { + .feature-demo-master-div2 { + flex-wrap: wrap; + flex-direction: column; + margin-left: 0px; + } + /* .ant-btn { + position: absolute; + right: 82px; + bottom: 50px; + } */ + .feature-demo-div1 { + display: block; + gap: 0rem; + } + .feature-demo-div2 { + display: block; + gap: 0rem; + } + .feature-demo-div3 { + display: block; + gap: 0rem; + } + .feature-demo-range1 { + width: 100px; + height: 15px; + } + .feature-model1-div2 { + flex-wrap: wrap; + margin: -1rem 0rem 0rem 0rem; + } + .Add-button { + margin: 0rem 0rem -0.5rem 10rem; + } + } + + @media (max-width: 542px) { + .feature-demo-master-div2 { + flex-wrap: wrap; + margin-left: 0px; + } + .feature-demo-div1 { + display: block; + gap: 0rem; + } + .feature-demo-div2 { + display: block; + gap: 0rem; + } + .feature-demo-div3 { + display: block; + gap: 0rem; + } + .feature-demo-img1 { + width: 60px; + height: 40px; + } + .feature-demo-img2 { + width: 45px; + height: 35px; + } + .feature-demo-img3 { + width: 45px; + height: 35px; + } + .feature-model1-div2 { + gap: 0rem; + flex-wrap: wrap; + margin: -1rem 0rem 0rem 0rem; + } + .Add-button { + margin: 0rem 0rem -0.5rem 10rem; + } + .feature-demo-rally-range2 { + margin-left: 40px; + } + .feature-real-div2 { + flex-direction: column; + margin-bottom: 1rem; + padding: 0px; + } + .feature-real-div3 { + flex-direction: column; + padding: 0px; + } + .featureMaindiv { + display: block; + } + } + + @media (max-width: 375px) { + .feature-demo-master-div2 { + flex-wrap: wrap; + flex-direction: column; + margin-left: 0px; + } + .feature-demo-div1 { + display: block; + gap: 0rem; + } + .feature-demo-div2 { + display: block; + gap: 0rem; + } + .feature-demo-div3 { + display: block; + gap: 0rem; + } + /* .ant-btn { + position: absolute; + right: 40px; + bottom: 50px; + } */ + .feature-model1-div2 { + gap: 0rem; + flex-wrap: wrap; + margin: -1rem 0rem 0rem 0rem; + } + .Add-button { + margin: 1rem 0rem -9rem 5rem; + } + .ImageWithData { + width: 170px; + } + } + + .ImageWithOutData { + width: 160px !important; + } + + .ImageWithData { + width: 250px; + } + + .SubImageWithData + { + width: 60px; + height: 60px; + } + + .SubImageWithOutData + { + width: 60px !important; + } + \ No newline at end of file diff --git a/src/styles/template/Feature/feature3.css b/src/styles/template/Feature/feature3.css new file mode 100644 index 0000000..a7da6c0 --- /dev/null +++ b/src/styles/template/Feature/feature3.css @@ -0,0 +1,141 @@ +.features3Body { + display: flex; + /* grid-template-columns: repeat(2, 1fr); + */ + /* column-gap: 4rem; */ + /* padding: min(2rem, 5%); */ + overflow: auto; + /* background-color: fff; */ + /* background: #e8e8e8b2; */ +} + +.feature3mainImage { + width: min(50%, 10rem); +} + +.feature3subImage { + /* width: min(50%, 5rem); */ + break-inside: avoid; + /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */ + width: 2.4rem; +} + +.feature3Card { + box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; + padding: 2rem 2rem; + margin: 1rem; + display: flex; + flex-direction: column; + row-gap: 1rem; + border-radius: 11px; + width: 18rem; + /* border: 1px solid; */ + background-color: #fff; +} + +/* .feature3mainImage { + box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; + border-radius: 10px; + } */ + +.feature3SubCatP { + display: flex; + /* flex-wrap: wrap; */ + row-gap: 1rem; + column-gap: 1rem; + align-items: center; +} +/* .feature3Des { + text-wrap: nowrap;} */ + +.feature3SubCat { + display: flex; + column-gap: 0.2rem; + align-items: center; +} + +.formSubDiv { + display: flex; +} + +.feature3EmptyBox { + display: flex; + /* align-items: center; */ + background-color: #929292; + width: 5rem; + height: 1rem; +} + +.feature3DesEmpty { + width: min(10rem, 60%); +} + +.feature3SingleGrid { + grid-template-columns: repeat(1, 1fr); +} + +.featureButton { + width: 100%; + display: flex; + justify-content: flex-end; +} + +@media screen and (max-width: 450px) { + /* .features3Body { + display: grid; + grid-template-columns: repeat(1, 1fr); + row-gap: 2rem; + } */ + .feature3Card { + margin: 0 !important; + padding: 0.5rem !important; + + transform: scale(1); + width: 14.5rem; + justify-content: center; + } + .feature3SubCatP { + transform: scale(0.7); + justify-content: center; + } +} + +.features3Body::-webkit-scrollbar { + display: flex !important; /* Width of the scrollbar */ +} + +.features3Body::-webkit-scrollbar { + width: 10px; + height: 4px; + cursor: pointer; +} + +.features3Body::-webkit-scrollbar-track { + background: #f1f1f1; /* Color of the track */ +} + +.features3Body::-webkit-scrollbar-thumb { + background: #888; /* Color of the scroll thumb */ +} + +.features3Body::-webkit-scrollbar-thumb:hover { + background: #555; /* Color of the scroll thumb on hover */ +} + +/* .feature3Card{ + width: 7rem; + height: 5rem; + } */ + +.features3Body { + display: flex; + flex-wrap: wrap; + transform: scale(0.9); + row-gap: 1.3rem; + +} + +.feature3Card:hover { + transform: scale(0.9); +} + diff --git a/src/styles/template/Navbar/NavbarHorizontal.scss b/src/styles/template/Navbar/NavbarHorizontal.scss new file mode 100644 index 0000000..ab5315f --- /dev/null +++ b/src/styles/template/Navbar/NavbarHorizontal.scss @@ -0,0 +1,593 @@ +.rt-nav-list { + display: none; + list-style-type: none; +} + +.ant-menu-overflow { + justify-content: flex-end; +} + +.ant-menu-light { + background: rgba(255, 255, 255, 0) !important; + border-radius: 12.9916px; + padding-inline: 0rem; + /* margin-inline: 1rem; */ +} + +.ant-menu-horizontal { + border-bottom: none; +} + +.dispflex { + display: flex; + justify-content: space-evenly; + align-items: center; + + // background: white !important; +} + +.nav-offer { + font-size: 16px !important; + cursor: pointer; + text-transform: uppercase; + font-weight: 550; + border: none; + color: #333; + padding: 12px 0px; + border-radius: 6px; +} + +.nav-offer:hover { + // border-bottom: 2px solid #0f67da; + border-radius: 0; + color: #0f67da; + padding: 12px 0px; +} + +.divApplogo { + padding: 0.5rem; + display: flex; +} + +.divAppname { + display: flex; + width: min-content; + align-items: center; + flex-wrap: wrap; +} + +.PayPreFont { + // font-family: 'Playball', cursive; +} + +.toggleuppernav { + display: none; +} + +.upmenuList { + display: flex; + font-size: 14px; + flex-direction: row; + column-gap: 2rem; + font-weight: 600; + // font-family: var(--HEADING_FONT_FAMILY) +} + +.user-nav-opt { + flex-direction: column; + display: flex; + row-gap: 0.6rem; + padding: 0.3rem; +} + +/* For screens smaller than 414px (smartphones) */ +@media (min-width: 360px) and (max-width: 459px) { + .upmenuList { + display: none !important; + } + + .scroluppernav { + display: none; + } + + .toggleuppernav { + display: flex; + flex-direction: row; + column-gap: 2rem; + } + + .dispflex { + justify-content: space-around; + } + + .toggle-container { + display: none; + } + + .nav-toggle { + position: absolute; + top: 5rem; + z-index: 1; + text-align: right; + background-color: #fff; + height: auto; + // font-family: var(--HEADING_FONT_FAMILY); + font-size: 14px; + font-weight: 600; + transition-duration: 0.6s; + } + + .rt-nav-list { + // padding: 1rem 16rem; + padding: 0rem 3rem; + line-height: 2rem; + flex-direction: column; + display: flex; + transition-duration: 0.6s; + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1) !important; + align-content: center; + } + + .rt-nav-list:hover { + color: #c50909; + } + + // .nav-user-toggle{ + // position: absolute; + // top: 3rem; + // right: 0; + // z-index: -1; + // background-color: #fff; + // // font-family: var(--HEADING_FONT_FAMILY); + // font-size: 14px; + // font-weight: 600; + + // } + + // .user-nav-opt{ + + // padding: 1rem 0rem; + // line-height: 2rem; + // flex-direction: column; + // display: flex; + // background-color: #ffffff; + // box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1) !important; + // } + + .nav-user-fullview { + position: absolute; + top: 10rem; + right: 0; + z-index: -1; + background-color: #fff; + // font-family: var(--HEADING_FONT_FAMILY); + font-size: 14px; + font-weight: 600; + } + + .user-nav-opt-fullview { + // padding: 1rem 0rem; + // position: absolute !important; + // line-height: 2rem; + // flex-direction: column; + // background-color: #ffffff; + // box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1) !important; + } +} + +/* For screens smaller than 768px (smartphones) */ +@media (min-width: 460px) and (max-width: 767px) { + .scroluppernav { + display: none; + } + + .Home-navbar { + display: none !important; + } + + .toggleuppernav { + display: flex; + justify-content: space-around; + flex-direction: row; + column-gap: 2rem; + } + + // .nav-user-toggle{ + // position: absolute; + // top: 3rem; + // right: 0; + // z-index: -1; + // background-color: #fff; + // // font-family: var(--HEADING_FONT_FAMILY); + // font-size: 14px; + // font-weight: 600; + + // } + + // .user-nav-opt{ + // padding: 1rem 1rem; + // line-height: 2rem; + // flex-direction: column; + // display: flex; + // align-items: center; + // background-color: #ffffff; + // box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); + // } + + .dispflex { + justify-content: space-around; + column-gap: 10rem; + } + + .nav-toggle { + top: 5rem; + right: 0; + z-index: 1; + // width: 100%; + position: absolute; + height: auto; + // font-family: var(--HEADING_FONT_FAMILY); + font-size: 14px; + font-weight: 600; + } + + .rt-nav-list { + // padding: 1rem 22rem; + padding: 0rem 3rem; + width: 100%; + right: 0; + text-align: left; + display: flex; + flex-wrap: wrap; + flex-direction: column; + background-color: #ffffff; + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); + line-height: 2rem; + align-content: center; + } + + .rt-list { + cursor: pointer; + width: 100%; + text-align: left; + color: #000; + + & li { + display: inline; + margin: 0 1rem; + color: #000000; + } + } + + .rt-list:hover { + cursor: pointer; + color: #009719 !important; + } + + .usr-acc { + cursor: pointer; + width: 100%; + text-align: center; + + & li { + display: inline; + margin: 0 1rem; + color: #000000; + } + } + + .usr-acc:hover { + cursor: pointer; + color: #009719; + } + + // .nav-user-toggle{ + // position: absolute; + // top: 3rem; + // right: 0; + // z-index: 1; + // // font-family: var(--HEADING_FONT_FAMILY); + // font-size: 14px; + // font-weight: 600; + + // } +} + +.divApplication { + text-align: center; + line-height: 2px; + // width: 10px; + display: flex; + justify-content: space-around; +} + +.divAppname { + display: flex; + flex-direction: row; + // row-gap: 0.1rem; +} + +@media (min-width: 280px) and (max-width: 459px) { + .Home-navbar { + display: none; + } + + .Uppernav { + display: none; + } + + .extranav { + display: none; + } + + .small_nav { + width: 0vh !important; + } + + .extra_small_div { + font-size: 14px !important; + text-transform: uppercase; + } + + .faqsimg { + display: none !important; + } + + .extra_small_nav { + margin: 0vw 0vh; + width: 70vw; + display: flex; + justify-content: space-around; + font-size: 13.2px; + } + + // .toggle-container{ + // width: 80vh !important; + // } + + .collapsed-menu { + width: 80vh !important; + margin: 1vw 0vh !important; + } + + .ant-collapse { + width: 75vh !important; + } +} + +@media all and (max-width: 899px) { + .nav-toggle { + top: 5rem; + right: 0; + z-index: 1; + // width: 100%; + position: absolute; + height: auto; + // font-family: var(--HEADING_FONT_FAMILY); + font-size: 14px; + font-weight: 600; + } + + // .nav-user-toggle{ + // position: absolute; + // top: 3rem; + // right: 0; + // width: 200px; + // z-index: -1; + // background-color: #fff; + // // font-family: var(--HEADING_FONT_FAMILY); + // font-size: 14px; + // font-weight: 600; + + // } + + // .user-nav-opt{ + // padding: 1rem 1rem; + // line-height: 2rem; + // flex-direction: column; + // display: flex; + // align-items: center; + // background-color: #ffffff; + // box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); + // } + + .rt-nav-list { + padding: 0rem 3rem; + // position: absolute; + // padding: 1rem 22rem; + width: 100%; + right: 0; + text-align: left; + display: flex; + flex-wrap: wrap; + flex-direction: column; + background-color: #ffffff; + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); + line-height: 2rem; + align-content: center; + } + + .toggleuppernav { + display: flex; + flex-direction: row; + column-gap: 2rem; + } + + .upmenuList { + display: none !important; + } + + .Home-navbar { + display: none; + } + + .Uppernav { + display: none; + } + + .extranav { + display: none; + } + + // .toggle-container{ + // width: 60vh; + // } + + .extra_small_div { + font-size: 14px !important; + color: #000000; + // font-family: var(--PARA_FONT_FAMILY); + } + + .sliderdiv { + } + + .freebtn { + // width: 30vh; + } +} + +@media (min-width: 1422px) and (max-width: 1077px) { + .Home-navbar { + opacity: 12% !important; + } +} + +* { + margin: 0; + padding: 0; +} + +// body { +// height: 200rem; +// // background-color: rgb(110, 110, 110); +// } +// nav { +// position: fixed; +// width: 100%; +// display: flex; +// justify-content: center; +// background-color:#fff !important; +// align-items: center; +// height: 10rem; +// z-index: 3; +// } +// nav{ +// position: fixed; +// width: 100%; +// display: flex; +// justify-content: space-around; +// background-color: transparent !important; +// // height: 10rem; +// z-index: 10; +// flex-direction: column; +// } + +// ul { +// list-style: none; +// } + +.AppBg { + background-color: var(--APP_BASED_BACKGROUND_COLOR) !important; +} + +.navclass nav { + background-color: white !important; +} + +// .user-nav-opt-fullview{ +// position: absolute !important; +// font-size:14px; +// font-weight:500; +// line-height: 2rem; +// display:flex; +// top: 5rem; +// right: 0; +// // font-family: var(--PARA_FONT_FAMILY); +// align-items: center; +// margin: 1rem 14rem; +// background-color:#ffffff !important; ; +// flex-direction: column; +// box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1) !important; +// text-align:'right'; +// row-gap:'0.7rem'; +// } + +.user-nav-opt-fullview { + color: #00000000; + display: flex; + flex-direction: column; + row-gap: 0.6rem; + margin: 0.3rem; +} + +.honavlinkWOData { + background-color: #9b9b9b; + width: 100px; + height: 15px; + font-size: 22px; +} + +.honavlinkWOData { + font-size: 14px; + width: 80px; + text-decoration: none; + color: #bababa; +} + +.honavPayPreFontwodata { + background-color: #9b9b9b; + width: 100px; + height: 15px; + font-size: 22px; +} + +.honavPayPreFontwodata { + font-size: 14px; + width: 80px; + text-decoration: none; + color: #bababa; +} + +.NavBarForm { + display: flex; + flex-direction: column; +} + +.navclass { + .navbar { + position: relative !important; + } +} + +.scroll { + .nav-links a { + color: #000000 !important; + } +} + +.templatetoHome { + border:solid 0.5px #fff; + border-radius: 6px; + svg { + border: none !important; + padding: 1px 5px 5px 5px !important; + display: flex !important; + height: 42px !important; + width:42px !important; + + } +} + +.applogonameIndustry{ + display: flex; + flex-direction: column; + align-items: flex-start; + gap: 0px; + line-height: 1; + >img{ + width: 50px; + height:unset !important; + } + +} \ No newline at end of file diff --git a/src/styles/template/Navbar/SideNav.scss b/src/styles/template/Navbar/SideNav.scss new file mode 100644 index 0000000..42d34cc --- /dev/null +++ b/src/styles/template/Navbar/SideNav.scss @@ -0,0 +1,81 @@ +.UserAvatar{ + display: flex; + justify-content: center; + align-items: flex-end; + margin: 2.5rem 0px; + + // row-gap: 1rem; +} + +.sideNavePar { + width: clamp(43px, 9vw, 2000px); + overflow:auto; + display: flex; + flex-direction: column; + align-items: center; + + + + + // color: white +} + +.appPage{ + min-width: 100vw; + height: 100vh; + display: flex; + overflow: hidden; +} + + +.sidenavpaypreLogoDiv { + display: flex; + justify-content: center; + align-items: center; + margin: .5rem 0px; + // row-gap: 1rem; +} + + +.PreviewNav1{ + display: flex; + align-items: center; + flex-direction: column; + justify-content: space-evenly; + // height: 25rem; + height: inherit; + width: 6rem; +} + +.preVlink{ + display: flex; + flex-direction:column; + color: #000000 !important; + row-gap: 1rem; + cursor: pointer; +} + +// .nvlink{ +// font-size:13px !important +// } + + +// .nvlink:hover{ +// font-weight:600; +// } + + +.nvlinkWOData{ + background-color: #9b9b9b; + width: 100px; + height:15px; + font-size:22px; +} + + +.nvlinkWOData{ + font-size: 14px; + width: 80px; + text-decoration: none; + color: #bababa; +} \ No newline at end of file diff --git a/src/styles/template/commonApp/AppTemplate.scss b/src/styles/template/commonApp/AppTemplate.scss new file mode 100644 index 0000000..2e07522 --- /dev/null +++ b/src/styles/template/commonApp/AppTemplate.scss @@ -0,0 +1,529 @@ +// .AppTemplateDIv{ +// background-color: rgb(247, 247, 247); +// margin: 2rem 2rem; +// padding: 2rem 2rem; +// } + +// .Nav-templates{ +// display: flex; +// margin: 2rem 0rem; +// width:100%; +// } + +// .TemplateCard{ +// margin: 2rem 3rem; +// width:max-content; +// } + +// .tempUp{ +// display: flex; +// width: 66vw; +// flex-wrap:wrap; +// // flex-direction: row; +// gap:1rem; +// } +// .swatches-picker{ +// width: min(61vw,250px) !important; +// height: 240px !important; +// } + +// .fontsdiv{ +// display: flex; +// // flex-wrap:wrap; +// flex-direction: row; +// gap:0.5rem; +// } +// .colorBtn{ + +// background-color: var(--PRIMARY_BUTTON_BG_COLOR); +// color: white; +// font-family: var(--HEADING_FONT_FAMILY); +// font-style: normal; +// border: 4.8px solid var(--PRIMARY_BUTTON_BG_COLOR); +// border-radius: 8px; +// width: 30%; +// float: right; +// margin-top: 18px; +// } + +// .colorDropdown .ant-select-single:not(.ant-select-customize-input) .ant-select-selector{ +// height:54px; +// } +// .plusOutlinedIcon{ +// margin-top: 16px; +// } +// .fontInputs{ +// display: flex; +// flex-wrap: wrap; +// gap:1rem; +// } + +// #app { +// height: 100%; +// } + +// .swiper { +// width: 100%; +// height: 100%; +// } + +// .swiper-slide { +// text-align: center; +// font-size: 18px; +// background: #fff; +// width:max-content !important; +// /* Center slide text vertically */ +// display: flex; +// justify-content: center; +// align-items: center; +// } + +// .swiper-slide img { +// display: block; +// width: 100%; +// height: 100%; +// object-fit: cover; +// } + +// .swiper { +// width: 100%; +// height:max-content; +// margin: 10px auto; + +// } + +// .append-buttons { +// text-align: center; +// margin-top: 20px; +// } + +// .append-buttons button { +// display: inline-block; +// cursor: pointer; +// border: 1px solid #007aff; +// color: #007aff; +// text-decoration: none; +// padding: 4px 10px; +// border-radius: 4px; +// margin: 0 10px; +// font-size: 13px; +// } + +// .swiper-wrapper{ +// transform: translate3d(40px, 0px, 0px); +// padding: 0.2rem 0rem; +// } + +// .swiper-button-prev:after, .swiper-button-next:after { +// font-family: swiper-icons; +// font-size: 15px !important; +// text-transform: none !important; +// letter-spacing: 0; +// font-variant: initial; +// text-align:center !important; +// // border:1px solid #000; +// background-color: #fff; +// padding:0.5rem 0.7rem; +// border-radius:50px; +// } + +// .swiper-button-next, .swiper-rtl .swiper-button-prev { +// right: var(--swiper-navigation-sides-offset, 10px); +// left: auto; +// } +// .swiper-button-next, .swiper-rtl .swiper-button-prev { +// right: var(--swiper-navigation-sides-offset, 10px); +// left: auto; +// } +// .swiper-button-prev, .swiper-button-next { +// position: absolute; +// top: var(--swiper-navigation-top-offset, 50%); +// width: 30px !important; +// height: 30px !important; +// z-index: 10; +// cursor: pointer; +// display: flex; +// align-items: center; +// justify-content: center; +// color: #000 !important; + +// } + +// h1{ +// font-size: 18px; +// font-family: var(--HEADING_FONT_FAMILY); +// font-weight: 600; +// } + +.AppTemplateDIv { + background-color: rgb(247, 247, 247); + margin: 2rem 2rem; + padding: 2rem 2rem; +} + +.Nav-templates { + display: flex; + margin: 2rem 0rem; + width: 100%; +} + +.TemplateCard { + margin: 2rem 3rem; + width: max-content; + border-radius: 3%; +} + +.tempUp { + display: flex; + width: 66vw; + flex-wrap: wrap; + // flex-direction: row; + gap: 1rem; + & .field-DropDown { + width: 160px !important; + } +} +.swatches-picker { + width: min(61vw, 250px) !important; + height: 240px !important; +} + +.fontsdiv { + display: flex; + // flex-wrap:wrap; + flex-direction: row; + gap: 0.5rem; +} +.colorBtn { + background-color: var(--PRIMARY_BUTTON_BG_COLOR); + color: white; + font-family: var(--HEADING_FONT_FAMILY); + font-style: normal; + border: 4.8px solid var(--PRIMARY_BUTTON_BG_COLOR); + border-radius: 8px; + width: 30%; + float: right; + margin-top: 18px; +} + +.colorDropdown + .ant-select-single:not(.ant-select-customize-input) + .ant-select-selector { + height: 54px; +} +.plusOutlinedIcon { + margin-top: 16px; +} +.fontInputs { + display: flex; + flex-wrap: wrap; + gap: 1rem; +} + +#app { + height: 100%; +} + +.swiper { + width: 100%; + height: 100%; +} + +.swiper-slide { + text-align: center; + font-size: 18px; + background: #fff; + width: max-content !important; + /* Center slide text vertically */ + display: flex; + justify-content: center; + align-items: center; +} + +.swiper-slide img { + display: block; + width: 100%; + height: 100%; + object-fit: cover; +} + +.swiper { + width: 100%; + height: max-content; + margin: 10px auto; +} + +.append-buttons { + text-align: center; + margin-top: 20px; +} + +.append-buttons button { + display: inline-block; + cursor: pointer; + border: 1px solid #007aff; + color: #007aff; + text-decoration: none; + padding: 4px 10px; + border-radius: 4px; + margin: 0 10px; + font-size: 13px; +} + +.swiper-wrapper { + transform: translate3d(40px, 0px, 0px); + padding: 0.2rem 0rem; +} + +.swiper-button-prev:after, +.swiper-button-next:after { + font-family: swiper-icons; + font-size: 15px !important; + text-transform: none !important; + letter-spacing: 0; + font-variant: initial; + text-align: center !important; + // border:1px solid #000; + background-color: #fff; + padding: 0.5rem 0.7rem; + border-radius: 50px; +} + +.swiper-button-next, +.swiper-rtl .swiper-button-prev { + right: var(--swiper-navigation-sides-offset, 10px); + left: auto; +} +.swiper-button-next, +.swiper-rtl .swiper-button-prev { + right: var(--swiper-navigation-sides-offset, 10px); + left: auto; +} +.swiper-button-prev, +.swiper-button-next { + position: absolute; + top: var(--swiper-navigation-top-offset, 50%); + width: 30px !important; + height: 30px !important; + z-index: 10; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + color: #000 !important; +} + +h1 { + font-size: 18px; + font-family: var(--HEADING_FONT_FAMILY); + font-weight: 600; +} + +.setscalesize { + transform: scale(0.9); +} + +.themeselection { + display: block; + flex-direction: column; + align-items: left; + cursor: pointer; + padding: 1rem 1rem; + font-size: 22px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-color: #fff; + + .navbar { + position: relative !important; + } +} + +.themeselection:hover { + // display: block; + // cursor: pointer; + // padding: 2rem 4rem; + // font-size: 22px; + // -webkit-user-select: none; + // -moz-user-select: none; + // -ms-user-select: none; + // user-select: none; + + // border-style: dashed; + // border-width: 1px; +} + +.themeselection.selected { + border: #424242 solid 1px; + border-style: dashed; + border-width: 1.9px; + background-color: #ffffff; + box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1); + padding: 0rem 1rem; + display: flex; + flex-direction: column; +} + +// updated / + +.themeselection input { + position: absolute; + opacity: 0; + cursor: pointer; +} + +/* Create a custom radio button */ +.checkmark { + position: absolute; + top: 0; + right: 0; + width: 100%; + height: 100%; + background-color: #ffffff; + border-radius: 1%; + z-index: -1; +} + +.themeselection:hover input ~ .checkmark { + background-color: #ccc; +} + +.themeselection input:checked ~ .checkmark { + // background-color: #4ce071; + border: #424242 solid 1px; + border-style: dashed; + border-width: 1.9px; + box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1); +} + +.checkmark:after { + content: ""; + position: absolute; + display: none; +} + +.themeselection .checkmark:after { + top: 10px; + left: 10px; + width: 15px; + height: 15px; + border-radius: 50%; + // background: white; +} + +.selectionCard { + background-color: #ffffff; + // border: #000 solid 1px; + border-radius: 6px; + display: flex; + flex-direction: column; + position: fixed; + padding: 1rem 2rem; + bottom: 0; + right: 0; + margin: 0rem 0.5rem; + z-index: 2; + & ul { + list-style: none; + } +} + +.tempView { + height: 80vh; + width: 80vw; + overflow-y: scroll; + overflow-x: hidden; +} + +.sidenavTempOverall { + display: flex; + flex-direction: column !important; + transition-duration: 0.6s; +} +.tempOptions { + display: flex; + padding: 1rem 0rem; + flex-direction: row; + font-size: 18px; + gap: 1rem; + + svg { + background-color: #141414; + color: #fff; + height: 30px; + width: 30px; + padding: 5px; + border-radius: 5px; + cursor: pointer; + } +} + +.pointerModal { + pointer-events: none; +} + +.FloatSection_Update { + // width: 72%; + height: 60px; + background-color: rgb(255, 255, 255); + position: absolute; + z-index: 1; + bottom: 0; + padding: 0rem 5rem; + display: flex; + flex-direction: row; + column-gap: 2rem; + align-items: flex-end; + left: 10rem; +} + +@media (min-width: 278px) and (max-width: 499px) { + .CategoryHorizontal-scroll-container { + overflow: auto !important; + width: 57vw !important; + } + .Nav-templates { + margin: 0 !important; + } + .tempOptions { + font-size: 22px !important; + } + + .themeselection { + transform: scale(0.6) !important; + + display: block; + flex-direction: column; + align-items: left; + cursor: pointer; + padding: 1rem 1rem; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-color: #fff; + } + .themeselection.selected { + transform: scale(0.5); + } +} + +@media (min-width: 500px) and (max-width: 768px) { + .CategoryHorizontal-scroll-container { + overflow: auto !important; + width: 57vw !important; + } + .Nav-templates { + margin: 0 !important; + } + + .themeselection { + padding: 1rem 1rem !important; + transform: scale(0.6); + } + .themeselection.selected { + transform: scale(0.5); + } +} diff --git a/src/styles/template/commonApp/check.scss b/src/styles/template/commonApp/check.scss new file mode 100644 index 0000000..fcbe3fb --- /dev/null +++ b/src/styles/template/commonApp/check.scss @@ -0,0 +1,543 @@ +// .AppTemplateDIv{ +// background-color: rgb(247, 247, 247); +// margin: 2rem 2rem; +// padding: 2rem 2rem; +// } + +// .Nav-templates{ +// display: flex; +// margin: 2rem 0rem; +// width:100%; +// } + +// .TemplateCard{ +// margin: 2rem 3rem; +// width:max-content; +// } + +// .tempUp{ +// display: flex; +// width: 66vw; +// flex-wrap:wrap; +// // flex-direction: row; +// gap:1rem; +// } +// .swatches-picker{ +// width: min(61vw,250px) !important; +// height: 240px !important; +// } + +// .fontsdiv{ +// display: flex; +// // flex-wrap:wrap; +// flex-direction: row; +// gap:0.5rem; +// } +// .colorBtn{ + +// background-color: var(--PRIMARY_BUTTON_BG_COLOR); +// color: white; +// font-family: var(--HEADING_FONT_FAMILY); +// font-style: normal; +// border: 4.8px solid var(--PRIMARY_BUTTON_BG_COLOR); +// border-radius: 8px; +// width: 30%; +// float: right; +// margin-top: 18px; +// } + +// .colorDropdown .ant-select-single:not(.ant-select-customize-input) .ant-select-selector{ +// height:54px; +// } +// .plusOutlinedIcon{ +// margin-top: 16px; +// } +// .fontInputs{ +// display: flex; +// flex-wrap: wrap; +// gap:1rem; +// } + +// #app { +// height: 100%; +// } + +// .swiper { +// width: 100%; +// height: 100%; +// } + +// .swiper-slide { +// text-align: center; +// font-size: 18px; +// background: #fff; +// width:max-content !important; +// /* Center slide text vertically */ +// display: flex; +// justify-content: center; +// align-items: center; +// } + +// .swiper-slide img { +// display: block; +// width: 100%; +// height: 100%; +// object-fit: cover; +// } + +// .swiper { +// width: 100%; +// height:max-content; +// margin: 10px auto; + +// } + +// .append-buttons { +// text-align: center; +// margin-top: 20px; +// } + +// .append-buttons button { +// display: inline-block; +// cursor: pointer; +// border: 1px solid #007aff; +// color: #007aff; +// text-decoration: none; +// padding: 4px 10px; +// border-radius: 4px; +// margin: 0 10px; +// font-size: 13px; +// } + +// .swiper-wrapper{ +// transform: translate3d(40px, 0px, 0px); +// padding: 0.2rem 0rem; +// } + +// .swiper-button-prev:after, .swiper-button-next:after { +// font-family: swiper-icons; +// font-size: 15px !important; +// text-transform: none !important; +// letter-spacing: 0; +// font-variant: initial; +// text-align:center !important; +// // border:1px solid #000; +// background-color: #fff; +// padding:0.5rem 0.7rem; +// border-radius:50px; +// } + +// .swiper-button-next, .swiper-rtl .swiper-button-prev { +// right: var(--swiper-navigation-sides-offset, 10px); +// left: auto; +// } +// .swiper-button-next, .swiper-rtl .swiper-button-prev { +// right: var(--swiper-navigation-sides-offset, 10px); +// left: auto; +// } +// .swiper-button-prev, .swiper-button-next { +// position: absolute; +// top: var(--swiper-navigation-top-offset, 50%); +// width: 30px !important; +// height: 30px !important; +// z-index: 10; +// cursor: pointer; +// display: flex; +// align-items: center; +// justify-content: center; +// color: #000 !important; + +// } + +// h1{ +// font-size: 18px; +// font-family: var(--HEADING_FONT_FAMILY); +// font-weight: 600; +// } + +.AppTemplateDIv { + background-color: rgb(247, 247, 247); + margin: 2rem 2rem; + padding: 2rem 2rem; +} + +.Nav-templates { + display: flex; + margin: 2rem 0rem; + width: 100%; +} + +.TemplateCard { + margin: 2rem 3rem; + width: max-content; + border-radius: 3%; +} + +.tempUp { + display: flex; + width: 66vw; + flex-wrap: wrap; + // flex-direction: row; + gap: 1rem; + + & .field-DropDown { + width: 160px !important; + } +} + +.swatches-picker { + width: min(61vw, 250px) !important; + height: 240px !important; +} + +.fontsdiv { + display: flex; + // flex-wrap:wrap; + flex-direction: row; + gap: 0.5rem; +} + +.colorBtn { + background-color: var(--PRIMARY_BUTTON_BG_COLOR); + color: white; + font-family: var(--HEADING_FONT_FAMILY); + font-style: normal; + border: 4.8px solid var(--PRIMARY_BUTTON_BG_COLOR); + border-radius: 8px; + width: 30%; + float: right; + margin-top: 18px; +} + +.colorDropdown + .ant-select-single:not(.ant-select-customize-input) + .ant-select-selector { + height: 54px; +} + +.plusOutlinedIcon { + margin-top: 16px; +} + +.fontInputs { + display: flex; + flex-wrap: wrap; + gap: 1rem; +} + +#app { + height: 100%; +} + +.swiper { + width: 100%; + height: 100%; +} + +.swiper-slide { + text-align: center; + font-size: 18px; + background: #fff; + width: max-content !important; + /* Center slide text vertically */ + display: flex; + justify-content: center; + align-items: center; +} + +.swiper-slide img { + display: block; + width: 100%; + height: 100%; + object-fit: cover; +} + +.swiper { + width: 100%; + height: max-content; + margin: 10px auto; +} + +.append-buttons { + text-align: center; + margin-top: 20px; +} + +.append-buttons button { + display: inline-block; + cursor: pointer; + border: 1px solid #007aff; + color: #007aff; + text-decoration: none; + padding: 4px 10px; + border-radius: 4px; + margin: 0 10px; + font-size: 13px; +} + +.swiper-wrapper { + transform: translate3d(40px, 0px, 0px); + padding: 0.2rem 0rem; +} + +.swiper-button-prev:after, +.swiper-button-next:after { + font-family: swiper-icons; + font-size: 15px !important; + text-transform: none !important; + letter-spacing: 0; + font-variant: initial; + text-align: center !important; + // border:1px solid #000; + background-color: #fff; + padding: 0.5rem 0.7rem; + border-radius: 50px; +} + +.swiper-button-next, +.swiper-rtl .swiper-button-prev { + right: var(--swiper-navigation-sides-offset, 10px); + left: auto; +} + +.swiper-button-next, +.swiper-rtl .swiper-button-prev { + right: var(--swiper-navigation-sides-offset, 10px); + left: auto; +} + +.swiper-button-prev, +.swiper-button-next { + position: absolute; + top: var(--swiper-navigation-top-offset, 50%); + width: 30px !important; + height: 30px !important; + z-index: 10; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + color: #000 !important; +} + +h1 { + font-size: 18px; + font-family: var(--HEADING_FONT_FAMILY); + font-weight: 600; +} + +.setscalesize { + transform: scale(0.9); +} + +.themeselection { + display: block; + flex-direction: column; + align-items: left; + cursor: pointer; + padding: 1rem 1rem; + font-size: 22px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-color: #fff; + + .navbar { + position: relative !important; + } +} + +.themeselection:hover { + // display: block; + // cursor: pointer; + // padding: 2rem 4rem; + // font-size: 22px; + // -webkit-user-select: none; + // -moz-user-select: none; + // -ms-user-select: none; + // user-select: none; + + // border-style: dashed; + // border-width: 1px; +} + +.themeselection.selected { + border: #424242 solid 1px; + border-style: dashed; + border-width: 1.9px; + background-color: #ffffff; + box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1); + padding: 0rem 1rem; + display: flex; + flex-direction: column; +} + +// updated / + +.themeselection input { + position: absolute; + opacity: 0; + cursor: pointer; +} + +/* Create a custom radio button */ +.checkmark { + position: absolute; + top: 0; + right: 0; + width: 100%; + height: 100%; + background-color: #ffffff; + border-radius: 1%; + z-index: -1; +} + +.themeselection:hover input ~ .checkmark { + background-color: #ccc; +} + +.themeselection input:checked ~ .checkmark { + // background-color: #4ce071; + border: #424242 solid 1px; + border-style: dashed; + border-width: 1.9px; + box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1); +} + +.checkmark:after { + content: ""; + position: absolute; + display: none; +} + +.themeselection .checkmark:after { + top: 10px; + left: 10px; + width: 15px; + height: 15px; + border-radius: 50%; + // background: white; +} + +.selectionCard { + background-color: #ffffff; + // border: #000 solid 1px; + border-radius: 6px; + display: flex; + flex-direction: column; + position: fixed; + padding: 1rem 2rem; + bottom: 0; + right: 0; + margin: 0rem 0.5rem; + z-index: 2; + + & ul { + list-style: none; + } +} + +.tempView { + height: 80vh; + width: 80vw; + overflow-y: scroll; + overflow-x: hidden; +} + +.sidenavTempOverall { + display: flex; + flex-direction: column !important; + transition-duration: 0.6s; +} + +.tempOptions { + display: flex; + padding: 1rem 0rem; + flex-direction: row; + font-size: 18px; + gap: 1rem; + + svg { + background-color: #141414; + color: #fff; + height: 30px; + width: 30px; + padding: 5px; + border-radius: 5px; + cursor: pointer; + } +} + +.pointerModal { + pointer-events: none; +} + +.FloatSection_Update { + // width: 72%; + height: 60px; + background-color: rgb(255, 255, 255); + position: absolute; + z-index: 1; + bottom: 0; + padding: 0rem 5rem; + display: flex; + flex-direction: row; + column-gap: 2rem; + align-items: flex-end; + right: 0; +} + +@media (min-width: 278px) and (max-width: 499px) { + .CategoryHorizontal-scroll-container { + overflow: auto !important; + width: 57vw !important; + } + + .Nav-templates { + margin: 0 !important; + } + + .tempOptions { + font-size: 22px !important; + } + + .themeselection { + transform: scale(0.6) !important; + + display: block; + flex-direction: column; + align-items: left; + cursor: pointer; + padding: 1rem 1rem; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-color: #fff; + } + + .themeselection.selected { + transform: scale(0.5); + } +} + +@media (min-width: 500px) and (max-width: 768px) { + .CategoryHorizontal-scroll-container { + overflow: auto !important; + width: 57vw !important; + } + + .Nav-templates { + margin: 0 !important; + } + + .themeselection { + padding: 1rem 1rem !important; + transform: scale(0.6); + } + + .themeselection.selected { + transform: scale(0.5); + } +} diff --git a/src/styles/template/contact/contact.css b/src/styles/template/contact/contact.css new file mode 100644 index 0000000..6a5bbf2 --- /dev/null +++ b/src/styles/template/contact/contact.css @@ -0,0 +1,85 @@ +.contact1 { + display: flex; + /* flex-wrap: wrap; */ + flex-direction: row; + row-gap: 1rem; + justify-content: space-evenly; + margin: 8vw 8vh; + } + .contactNo{ + display: flex; + } + .ContactMail{ + flex-direction: column; + display: flex; + justify-content: space-evenly; + } + .contact-no { + font-style: normal; + font-weight: 500; + font-size: 27.3037px; + color: #000; + } + .contactimg1 { + width: 286px; + height: 244px; + border-radius: 35.9316px 0 0 35.9316px; + } + .helpContainer{ + display: flex; + } + .helpDesk{ + display: flex; + } + .mailLogo{ + display: flex; + align-items: center; + } + @media screen and (max-width:990px){ + .contact1 { + display: flex; + /* flex-wrap: wrap; */ + /* flex-direction: column; */ + row-gap: 2rem; + justify-content: space-evenly; + margin: 0; + align-items: center; + padding: 5px; + } + } + @media screen and (max-width:768px){ + .contactimg1{ + display: none; + } + } + @media screen and (max-width:330px){ + .mailLogo{ + flex-direction: column ; + } + .mail-contact-logo{ + width: fit-content; + margin: auto; + } + } + + @media screen and (max-width:499px){ + .contactimg1{ + display: none; + } + .contact-no{ + font-size: 18px; + } + .resupgrading{ + font-size: 12px; + } + .contact1{ + row-gap: 1.5rem; + } + } + .contact-cont{ + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + row-gap: 2rem; + } \ No newline at end of file diff --git a/src/styles/template/downloadsource/downloadsource.css b/src/styles/template/downloadsource/downloadsource.css new file mode 100644 index 0000000..3577671 --- /dev/null +++ b/src/styles/template/downloadsource/downloadsource.css @@ -0,0 +1,201 @@ +.downloadtext1 { + font-style: normal; + font-weight: 400; + font-size: clamp(2rem, 1.5dvw, 6rem); + color: #000; + width: 100%; +} +.downloadSource-container { + padding: 4rem 3rem; + display: flex; + justify-content: space-evenly; + background-color: #E8E8E8B2; +} +.downloadsubtext1 { + font-style: normal; + font-weight: 600; + font-size: clamp(0.5rem, 0.8dvw, 1rem); + color: #000; + opacity: 0.7; +} +.left-container { + display: flex; + flex-wrap: wrap; + flex-direction: column; + row-gap: 1rem; + padding: 0rem 2rem; +} +.DS-subcontainer { + display: flex; + flex-direction: row; + row-gap: 1rem; +} +.downloadsources1 { + width: 100%; + background-color: #f8f8f8; + padding-bottom: 5vh; + border-radius: 8px; + display: flex; + flex-direction: column; + justify-content: center; +} + +.downloadsource { + display: flex; + flex-wrap: wrap; + flex-direction: row; + margin: 12vw -1vh; + row-gap: 1rem; +} + +.downloaddiv { + display: flex; + flex-wrap: wrap; + flex-direction: column; + row-gap: 1rem; + display: flex; + flex-grow: 1; + margin: 1vw 16vh; +} + +.downloadtext { + font-style: normal; + font-weight: 400; + font-size: clamp(1rem, 1.5dvw, 6rem); + color: #000000; +} +.downloadsubtext { + font-style: normal; + font-weight: 600; + font-size: clamp(0.5rem, 0.8dvw, 1rem); + color: #000000; + opacity: 0.7; +} +.DS-button-container { + display: flex; + justify-content: center; +} + +.downloadsources { + width: 880px; + height: 224px; + display: flex; + flex-wrap: wrap; + flex-grow: 1; + flex-direction: column; + row-gap: 1rem; + background: rgba(240, 240, 240, 0.5); + border-radius: 18.3177px; +} + +.downloadsourcestext { + font-style: normal; + font-weight: 500; + font-size: 22.7337px; + color: #000000; + font-size: clamp(1.5rem, 1.5dvw, 2rem); + padding: 17px 48px; +} + +/* CSS */ +.downloadbutton1 { + width: 170px; + height: 45px; + background-color: #37943C; + font-family: Gilroy; + color: #fff; + font-style: normal; + font-weight: 500; + font-size: 14px; + border-radius: 8px; + display: flex; + letter-spacing: 0.5px; + justify-content: space-between; + align-items: center; + z-index: 2; + margin-top: 1rem; + + padding: 1rem; + border: none; +} +.ancharTag{ + text-decoration: none; + color: #000; +} +.tryIt{ + text-decoration: none; + color:#fff; +} +@media screen and (max-width: 980px) { + .DS-subcontainer { + flex-direction: column; + } +} + + + +@media screen and (max-width: 550px) { + .DS-subcontainer { + flex-direction: column; + } + .downloadtext1 { + font-size: clamp(1rem, 1.5dvw, 6rem); + width: 100%; + } + .left-container{ + padding: 0; + } + + .resupgrading{ + width: 80%; + } + .Hide-on-smallScreen{ + display: none !important; + } + .overview-downloads-grp{ + font-size: 13px; + font-weight: 600; + width: max-content !important; + } + .contactimg1{ + display: none; + } + .downloadSource-container{ + padding: 0rem 1rem; + } + .downloadsourcestext { + font-style: normal; + font-weight: 500; + font-size: 22.7337px; + color: #000000; + font-size: clamp(1rem, 1.5dvw, 2rem); + padding: 17px 14px; + } + .downloadssrc{ + display: flex; + /* flex-wrap: wrap; */ + justify-content: flex-start; + row-gap: 1rem; + column-gap: 1rem; + margin: 0px 0px; + } + .downloadsources1 .overview-downloads-grp{ + padding: 0.4rem 0.5rem !important; + } + +} + +.overview-downloads-grp{ + width: max-content !important; + font-size: 13px; + font-weight: 600; + padding:0.4rem 1rem +} +.downloadssrc{ + display: flex; + /* flex-wrap: wrap; */ + justify-content: flex-start; + row-gap: 1rem; + column-gap: 1rem; + margin: 0px 10px; +} diff --git a/src/styles/template/overView/overView1.scss b/src/styles/template/overView/overView1.scss new file mode 100644 index 0000000..309dd5c --- /dev/null +++ b/src/styles/template/overView/overView1.scss @@ -0,0 +1,372 @@ +// .Overview1ImageDiv +// { +// width: 31vw; +// } +// .Overview1ImagePreview +// { +// width: 22vw; +// position: relative; +// right: 50%; +// } +//dhana +.Overview1ImagePreview +{ + width: 100%; + position: relative; +} + +.Overview1ImageDiv { + position: absolute; + z-index: 0; + top: 15%; + width: 50%; + right: 0%; +} +//dhana + +// .Overview1ImageDiv +// { +// position: absolute; +// z-index: 0; +// top: 10.6%; +// width: 68vw; +// right: -6%; +// } + +.overviewmaindiv { + display: flex; + flex-wrap: wrap; + flex-direction: column; +} + +.overviewmainDIV{ + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; +} + +.overviewsubdiv { + display: flex; + // flex-wrap: wrap; + flex-direction: row; + gap: 0.5rem; +} +.overview1subdiv { + display: flex; + flex-wrap: wrap; + flex-direction: column; + gap: 1.6rem; + // pointer-events: none; + flex-grow: 1; + padding: 0px 50px; + justify-content: center; +} +// .overview1subdiv { +// display: flex; +// flex-wrap: wrap; +// flex-direction: column; +// gap: 1.6rem; +// // pointer-events: none; +// flex-grow: 1; +// padding: 0px 60px; +// } +.overview1subdivdata { + display: flex; + flex-wrap: wrap; + flex-direction: column; + // gap: 0.5rem; + // pointer-events: none; + padding: 3.5rem 0; +} + +// .overview1subdivdata { +// display: flex; +// flex-wrap: wrap; +// flex-direction: column; +// padding: 3.5rem 0; +// } + +.overviewmain { + display: flex; + flex-direction: row; + justify-content: space-between; +} + +.overviewmainmodal { + display: flex; + flex-wrap: wrap; + flex-direction: row; + justify-content: space-between; +} + +.overviewImg p { + color: deepskyblue; +} + +.overviewbtn { + display: flex; + justify-content: flex-end; +} + +.empTitleData { + background-color: #929292; + color: #333; + border: 0; + height: 10px; + width: 180px; +} +.empSubTitleData { + background-color: #cccccc; + color: #333; + border: 0; + height: 10px; + width: 80px; +} + +.empButtonTextData { + background-color: #f97068; + color: #333; + border: 0; + height: 20px; + width: 100px; +} +.empLinkData { + background-color: #cccccc; + color: #333; + border: 0; + height: 10px; + width: 30px; + display: flex; +} + +.overviewpreTitleData { + // width: min(45vw,36vw); + font-size: max(2.8rem, 2.5dvw); + font-weight: 600; + color: #000; + // line-height: 1.5; +} + +.preSubTitleData { + font-style: normal; + font-weight: 400; + font-size: max(0.8rem, 1.3dvw); + color: #2e2e2e; + width: min(47vw, 437px); +} + +.preLinkData { + width: min(60vw, 165px); + box-shadow: 0 4px 15px #0000001a; + border-radius: 10px; + border: 0px; + background: rgba(255, 255, 255, 0.5); + display: flex; + align-items: center; + column-gap: 0.5rem; + padding: 7px 18px; + font-size: 0.8rem; + border: 1px solid rgba(0, 0, 0, 0.048); + transition-duration: 0.6s; + cursor: pointer; +} + +.overviewNodata { + align-items: center; + font-size: 20px; + display: flex; + flex-wrap: wrap; + flex-direction: column; + gap: 1rem; +} + +.preButtonTextData { + width: 230px; + height: 45px; + color: #fff; + font-style: normal; + font-weight: 500; + font-size: 14px; + border-radius: 8px; + display: flex; + letter-spacing: 0.5px; + justify-content: space-between; + align-items: center; + border: none; + z-index: 2; +} + +.preButtonTextData { + // border: 1px solid; + overflow: hidden; + span { + z-index: 20; + } + + &:after { + background: #fff; + content: ""; + height: 155px; + left: -75px; + opacity: 0.2; + position: absolute; + top: -50px; + transform: rotate(35deg); + transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1); + width: 50px; + z-index: -10; + } +} + +.preButtonTextData:hover { + &:after { + left: 120%; + transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1); + } +} + +.preButtonTextData:focus { + // border:1.8px solid var(--PRIMARY_BUTTON_BG_COLOR); + background-color: #ffffff !important; + // color: #901D77; + font-weight: 600; + font-size: 14px; +} + +.preButtonTextData:focus:hover { + // border:1.8px solid var(--PRIMARY_BUTTON_BG_COLOR); + background-color: white !important; + // color: var(--PRIMARY_BUTTON_BG_COLOR); + font-weight: 600; + font-size: 14px; +} + +.RightsectionDiv { + width: 50%; + // margin: auto; + flex-grow: 1; +} + +@media screen and (max-width: 900px) { + .preBannerImageData { + display: none; + } + + .RightsectionDiv { + display: none; + } + + .overviewpreTitleData { + font-weight: 600; + font-size: 20px; + // width: 88vw; + } + .overview1subdiv { + padding: 10px 26px; + } + .overviewsubdiv{ + flex-wrap: wrap ; + } +} + +.preAppLinkTextData { + font-size: 12px; +} + +@media screen and (max-width: 499px) { + .Hide-on-smallScreen1 { + display: none !important; + } + .preLinkData { + width: max-content !important; + } + .overview1subdiv { + padding: 0px 26px; + } +} + + + + + + +.gradient-header { + color: #000000; + background-image: -webkit-linear-gradient(9deg, #000000, #4454b1); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + -webkit-animation: hue 3s infinite linear; +} + +@-webkit-keyframes hue { + from { + -webkit-filter: hue-rotate(0deg); + } + to { + -webkit-filter: hue-rotate(-360deg); + } +} + + + + +.btn-shine { + color: #000000; + font-weight: 500; + // background: linear-gradient(to right, #4d4d4d 0, #fff 10%, #4d4d4d 20%); + // background: linear-gradient(to right, #000000 0, #fff 10%, #000000 20%); + background-position: 0; + // -webkit-background-clip: text; + // -webkit-text-fill-color: transparent; + // animation: shine 8s infinite linear; + // animation-fill-mode: forwards; + // -webkit-text-size-adjust: none; + // font-weight: 600; + text-decoration: none; + z-index: 1; +} +@-moz-keyframes shine { + 0% { + background-position: 0; + } + 60% { + background-position: 180px; + } + 100% { + background-position: 180px; + } +} +@-webkit-keyframes shine { + 0% { + background-position: 0; + } + 60% { + background-position: 180px; + } + 100% { + background-position: 180px; + } +} +@-o-keyframes shine { + 0% { + background-position: 0; + } + 60% { + background-position: 180px; + } + 100% { + background-position: 180px; + } +} +@keyframes shine { + 0% { + background-position: 0; + } + 60% { + background-position: 780px; + } + 100% { + background-position: 1200px; + } +} diff --git a/src/styles/template/overView/overView2.scss b/src/styles/template/overView/overView2.scss new file mode 100644 index 0000000..37c710b --- /dev/null +++ b/src/styles/template/overView/overView2.scss @@ -0,0 +1,284 @@ + +.overview2maindiv{ + display:flex; + flex-wrap: wrap; + flex-direction: column; +} + +.overview2subdiv{ + display:flex; + flex-wrap: wrap; + flex-direction: row; + gap:0.5rem; +} + +.overview2subdiv2{ + display:flex; + flex-wrap: wrap; + flex-direction: column; + gap: 0.5rem; + // pointer-events: none; + position: absolute; + z-index: 1; + width: 100%; + height: 95%; + +} + +.overview2subdivwithout{ + display:flex; + flex-wrap: wrap; + flex-direction: column; + gap: 0.5rem; + // pointer-events: none; + // position: absolute; + z-index: 1; + + +} + +.overview2subdivdata{ + display:flex; + flex-wrap: wrap; + flex-direction: column; + gap: 2rem; + // pointer-events: none; + flex-grow: 1; + // padding: 54px 26px; + justify-content: center; + align-items: center; +} + +.overview2main{ + display:flex; + flex-wrap: wrap; + flex-direction: row; + justify-content: space-between; +} + +.overview2main2{ + display:flex; + flex-direction: row; + justify-content: space-between; + +} + +.overview2Img p{ + color:deepskyblue; +} + +.overview2SubImg{ + display:flex; + flex-wrap: wrap; + flex-direction: row; + gap:2rem; +} + +.overview2btn{ + display:flex; + justify-content:flex-end; +} + +.ant-form input[type="file"] { + display: none; +} + +.emp2TitleData{ + background-color: #929292; + color:#333; + border:0; + height:10px; + width:180px; +} + +.emp2SubTitleData{ + background-color: #CCCCCC; + color:#333; + border:0; + height:10px; + width:80px; +} + +.emp2ButtonTextData{ + background-color: #F97068; + color:#333; + border:0; + height:20px; + width:100px; +} + +.emp2LinkData{ + background-color: #CCCCCC; + color:#333; + border:0; + height:10px; + width:30px; + display:flex; +} + +.pre2TitleData{ + width: 66vw; + font-style: normal; + font-weight: 600; + font-size: max(1rem, 2.5dvw); + color: #000; + text-shadow: 2px 1px 1px #0c0c0c; + text-align: center; + line-height: 1.5; + // width: 80vw; + // font-style: normal; + // font-weight: 500; + // font-size: max(1rem, 2.5dvw); + // color: #000; + // text-align: center; + // line-height: 1.5; +} + +.pre2SubTitleData{ + font-style: normal; + font-weight: 400; + font-size: max(0.8rem,1.3dvw); + color: #2e2e2e; + width: min(55vw,800px); + text-align: center; +} + +.pre2LinkData{ + width: min(60vw,155px); + box-shadow: 0 4px 15px #0000001a; + border-radius: 10px; + border: 0px; + background: rgba(255,255,255,.5); + display: flex; + align-items: center; + column-gap: 0.5rem; + padding: 4px 18px; + font-size: .8rem; + border: 1px solid rgba(0,0,0,.048); + transition-duration: .6s; + cursor: pointer; +} + +.background-video-container { + position: relative; + width: 100%; + height: 100vh; /* Adjust to your preferred height */ + overflow: hidden; +} + +.background-video-container1 { + width: min(90vw,321px); + height: 231px; + background-color: #e3e1e1; +} + +.background-video { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + object-fit: cover; +} + +.overviewNodata{ + align-items: center; + font-size: 20px; + display: flex; + flex-wrap: wrap; + flex-direction: column; + gap:1rem; +} + + +// @media screen and (max-width:450px) { +// .pre2BannerImageData{ +// display: none; + +// } +// } + +.RightsectionDiv2{ + width: 50%; + margin: auto; + flex-grow: 1; +} + + +@media screen and (max-width:900px) { + .pre2BannerImageData{ + display: none; + + } + + .RightsectionDiv2{ + display: none; + } + + .pre2TitleData{ + font-weight: 600; + font-size:20px; + width: 88vw; + } + + +} + + +.btn-shine1 { + color: #000000; + // background: linear-gradient(to right, #4d4d4d 0, #fff 10%, #4d4d4d 20%); + // background: linear-gradient(to right, #969696 0, #4b4b4b 10%, #ffffff 20%); + // background-position: 0; + // -webkit-background-clip: text; + // -webkit-text-fill-color: transparent; + // animation: shine 8s infinite linear; + // animation-fill-mode: forwards; + // -webkit-text-size-adjust: none; + // font-weight: 600; + // text-decoration: none; +} +@-moz-keyframes shine { + 0% { + background-position: 0; + } + 60% { + background-position: 180px; + } + 100% { + background-position: 180px; + } +} +@-webkit-keyframes shine { + 0% { + background-position: 0; + } + 60% { + background-position: 180px; + } + 100% { + background-position: 180px; + } +} +@-o-keyframes shine { + 0% { + background-position: 0; + } + 60% { + background-position: 180px; + } + 100% { + background-position: 180px; + } +} +@keyframes shine { + 0% { + background-position: 0; + } + 60% { + background-position: 780px; + } + 100% { + background-position: 1200px; + } +} diff --git a/src/styles/template/template/template.css b/src/styles/template/template/template.css new file mode 100644 index 0000000..231383a --- /dev/null +++ b/src/styles/template/template/template.css @@ -0,0 +1,22 @@ + +.appcontent{ + height: 100vh; + overflow:auto; +} +.navBarHover .dispflex { + background-color: white !important; + justify-content: space-between; + padding: 0px 2rem; +} + +.navBarHover { + z-index: 999; +} + + + +@media screen and (max-width: 900px) { + .homeNavdiv{ + display:none; + } +} \ No newline at end of file diff --git a/src/styles/testimonials/Testimonials.scss b/src/styles/testimonials/Testimonials.scss new file mode 100644 index 0000000..553b179 --- /dev/null +++ b/src/styles/testimonials/Testimonials.scss @@ -0,0 +1,21 @@ +.uder-details-tesimonial{ + display: flex; + align-items: flex-start; + width: 100%; + gap: 2rem; + font-family: "Gilroy" !important; + >div:nth-child(2){ + font-weight: 500; + font-size: 16px; + width: 600px; + padding: 6px 4px; + + } + >div:nth-child(1){ + padding: 2px 25px; + font-weight: 500; + width: 140px; + font-size: 16px; + + } +} \ No newline at end of file diff --git a/src/styles/testimonials/TestimonialsPublic.scss b/src/styles/testimonials/TestimonialsPublic.scss new file mode 100644 index 0000000..ee77a36 --- /dev/null +++ b/src/styles/testimonials/TestimonialsPublic.scss @@ -0,0 +1,344 @@ +.PozoTestimonial-Master { + width: 100vw; + height: 100vh; + overflow: scroll; + font-family: "Poppins" !important; + background-color: #f0f9ff; + + .PozoTestimonial-Navbar { + position: sticky !important; + top: 0px !important; + width: 100%; + z-index: 999; + padding: 1rem; + background-color: #fff; + display: flex; + align-items: center; + justify-content: flex-start; + svg { + font-size: 35px; + border: 1px solid #000; + padding: 6px; + border-radius: 10pc; + cursor: pointer; + transition: all 0.2s; + &:hover { + background-color: #000; + color: #fff; + } + } + } + + .PozoTestimonial-main { + padding: 1rem 2rem 1rem 2rem; + width: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + font-family: "Poppins" !important; + } + + .PozoTestimonial-header { + font-size: 32px; + margin: 10px 10px; + font-weight: 500; + text-align: center; + } + + .PozoTestimonial-Subheader { + font-size: 18px; + font-weight: 400; + word-spacing: 3px; + letter-spacing: 0.5px; + + span { + font-size: 18px; + font-weight: 700; + letter-spacing: 1.5px; + } + } + + .CustomerStories-main { + width: 100%; + display: flex; + flex-wrap: wrap; + padding: 3rem 0rem; + gap: 1rem; + justify-content: flex-start; + z-index: 0; + } + + .CustomerStories { + width: 25vw; + height: 500px; + box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; + border-radius: 12px; + display: flex; + align-items: center; + flex-direction: column; + background-color: #fff; + overflow: hidden; + + &:hover { + .CustomerStories-image { + overflow: hidden; + + img { + transform: scale(1.04); + transition: transform 0.3s ease-in-out; + } + } + } + } + + .CustomerStories-image { + img { + transition: transform 0.5s ease-in-out; + + &:hover { + transform: scale(1.04); + } + } + } + + .playicon-testimonial { + transition: transform 0.3s ease-in-out; + } + + .CustomerStories-image:hover .playicon-testimonial { + transform: scale(1.35); + color: #fff; + } + + .CustomerStories-image { + width: 100%; + position: relative; + } + + .CustomerStories-image { + width: 100%; + + img { + width: 100%; + border-top-left-radius: 12px; + border-top-right-radius: 12px; + height: 220px; + object-fit: scale-down; + filter: brightness(0.9); + } + } + + .playicon-testimonial { + // color: rgba(255, 255, 255, 0.678); + color: #fff; + position: absolute; + left: 0; + font-size: 52px; + width: 100%; + top: 5.5rem; + cursor: pointer; + } + + .CustomerStories-shopDetails { + display: flex; + width: 100%; + align-items: center; + justify-content: flex-start; + gap: 1rem; + padding: 4px 10px; + } + + .shopDetails-logo { + width: 80px; + height: 80px; + display: flex; + align-items: center; + justify-content: center; + + img { + width: 70%; + object-fit: cover; + } + } + + .AllDetailsOfShop-main { + display: flex; + flex-direction: column; + gap: 3px; + align-items: flex-start; + text-align: left; + } + + .testimonial-adminName { + font-size: 22px; + font-weight: 600; + letter-spacing: 1px; + } + + .testimonial-ShopName { + font-size: 11px; + font-weight: 500; + letter-spacing: 0.5px; + text-transform: uppercase; + white-space: nowrap; + overflow: hidden; + width: 100%; + text-overflow: ellipsis; + } + + .testimonial-AdminDestionation { + font-size: 10px; + font-weight: 500; + letter-spacing: 0.5px; + color: #e33333; + text-transform: uppercase; + } + + .customer-reviewStores { + padding: 5px 26px; + + .reviewStores-div { + font-size: 12px; + text-align: left; + width: 98%; + font-weight: 400; + word-spacing: 2px; + letter-spacing: 0.3px; + font-family: "Poppins"; + line-height: 1.6; + height: 150px; + overflow: hidden; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 8; + text-overflow: ellipsis; + } + + p { + color: #1292ee; + cursor: pointer; + font-size: 14px; + padding: 4px 0; + } + } + + .ant-modal-content { + .reviewStores-div { + font-size: 12px; + text-align: left; + width: 98%; + font-weight: 400; + word-spacing: 2px; + letter-spacing: 0.3px; + font-family: "Poppins"; + line-height: 1.6; + height: 130px; + overflow: hidden; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 8; + text-overflow: ellipsis; + } + } + + .PozoTestimonial-Thnx { + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + padding: 3rem 2rem; + background-color: rgb(217 217 217 / 10%); + gap: 1rem; + } + + .thnx-header { + font-size: clamp(24px, 4vw, 32px); + font-weight: 500; + text-align: center; + } + + .thnx-content { + width: 70%; + text-align: center; + font-size: 14px; + font-weight: 400; + } + + .btnof-newVideo { + width: max-content; + padding: 10px 22px; + background-color: #292929; + display: flex; + align-items: center; + justify-content: space-between; + gap: 2rem; + color: #fff; + border-radius: 50px; + cursor: pointer; + font-size: 15px; + font-weight: 500; + } +} +.reviewModal-testimonial { + .ant-modal-body { + font-size: 14px !important; + font-family: "poppins" !important; + } +} + +@media (max-width: 768px) { + .CustomerStories-main { + display: grid !important; + grid-template-columns: repeat(2, 1fr); + } + + .CustomerStories { + width: 100% !important; + } + + .CustomerStories-story { + width: 95vw !important; + } +} + +@media (max-width: 499px) { + .CustomerStories-main { + display: grid !important; + grid-template-columns: repeat(1, 1fr); + } + + .CustomerStories { + width: 100% !important; + } + + .CustomerStories-image img { + height: 210px !important; + } + + .PozoTestimonial-header { + font-size: clamp(22px, 3vw, 32px) !important; + } + + .PozoTestimonial-Subheader { + font-size: clamp(13px, 3vw, 18px) !important; + margin-top: -9px; + } + + .TrustedCustomer-title { + font-size: clamp(12px, 2vw, 16px); + padding: 5px 0; + } + + .CustomerStories-story { + width: 93vw !important; + } + + .thnx-content { + width: 80% !important; + text-align: center; + font-size: 10px !important; + font-weight: 400; + margin-top: -7px; + } +} diff --git a/src/styles/user/userForm.scss b/src/styles/user/userForm.scss new file mode 100644 index 0000000..e86523f --- /dev/null +++ b/src/styles/user/userForm.scss @@ -0,0 +1,48 @@ +// .userPage { +// height: 100%; +// width: 100%; +// padding: 0px max(10px, 9vw); +// overflow: auto; +// } + +// .userPageContent { +// height: 100%; +// width: 100%; + +// } + +// .formDiv { +// display: flex; +// flex-wrap: wrap; +// column-gap: 3rem; +// padding-top: 2rem; +// row-gap: 1.5rem; +// } + +// .formdes { +// font-style: normal; +// color: var(--PARA_COLOR); +// font-family: var(--PARA_FONT_FAMILY); +// font-size: 2.1vh; + +// } +// .submitButton { +// display: flex; +// flex-grow: 1; +// justify-content: flex-end; +// } + + +.busi-desc { + + .label { + background-color: #fff !important; + width: 80% !important; + } + .label-float{ + top: 1px !important; + } + textarea{ + scrollbar-width: thin; + } +} \ No newline at end of file diff --git a/src/styles/userAccount/userAccount.scss b/src/styles/userAccount/userAccount.scss new file mode 100644 index 0000000..f452fbe --- /dev/null +++ b/src/styles/userAccount/userAccount.scss @@ -0,0 +1,225 @@ +.userAccount { + margin: min(2.5rem, 5dvw); + background-color: white; + display: flex; + flex-grow: 1; + border-radius: var(--BORDER_RADIUS); +} + +.optionSection { + width: 25%; + border-radius: var(--BORDER_RADIUS); + border-right: solid 0.5px #C9C9C9; + // background-color: yellow; + display: flex; + flex-direction: column; + text-align: center; + padding: 0px 10px; + + & .userAccountHeading { + padding: 1rem 0px; + font-weight: 600; + font-size: 1.4rem; + font-family: var(--HEADING_FONT_FAMILY); + height: 100px; + } + + & .userAccountTab { + font-size: 0.9rem; + font-weight: 500; + padding: 0.5rem 0px; + width: 100%; + font-family: var(--HEADING_FONT_FAMILY); + cursor: pointer; + } + + & .userAccountTab:hover { + background-color: #F4EAF2; + color: #901D77; + } +} + + +.userAccountCont { + padding: max(2px, 0.7dvw); + width: 100%; + overflow-y: auto; +} + +.userAccountSec { + padding: max(2px, 0.7dvw); + width: 100%; + height: 100%; + overflow-y: auto; + +} + +.securityContentPage { + display: flex; + flex-wrap: wrap; + width: 100%; + overflow-y: auto; + column-gap: 2rem; + row-gap: 2rem; + + & .userPage { + padding: 0; + + } + + & .pageOverAllUser { + flex-grow: 1; + height: fit-content; + border-radius: var(--CARD_BORDER_RADIUS); + border: solid 0.5px #A9ACAA; + row-gap: 2rem; + } + + // & .formedit{ + // display: flex; + // // width: 100%; + // flex-grow: 1; + // } + + & .formDiv { + justify-content: center; + align-items: center; + } + + & .formDivAnt { + flex-direction: column; + } + + & .inputForm { + flex-direction: column; + } + +} + +.myProfileHeading { + font-weight: 600; + font-size: 1.4rem; + padding-bottom: 2rem; + font-family: var(--HEADING_FONT_FAMILY); +} + + +.showData { + border: solid 1px #A9ACAA; + border-radius: var(--CARD_BORDER_RADIUS); + display: flex; + flex-wrap: wrap; + padding: 1rem; + margin: 1rem 0px; + column-gap: min(0rem, 4dvw); + row-gap: 2rem; + justify-content: space-around; + + & .heading { + color: #818181; + } + + & .userAccountField { + text-align: center; + margin: auto 0px; + } + + & .userAccountButton { + margin: auto 0px; + + & button { + background-color: white; + border: solid 1px #A9ACAA; + padding: .5rem; + } + } + +} + +.editData { + border: solid 1px #A9ACAA; + border-radius: var(--CARD_BORDER_RADIUS); + display: flex; + flex-wrap: wrap; + padding: 1rem; + margin: 1rem 0px; + // column-gap: 1rem; + row-gap: 2rem; +} + +.backClassUser { + display: flex; + justify-content: flex-end; + flex-grow: 1; + color: #004BA9; +} + +.profileImage { + width: max(200px, 20%); + ; + border-radius: 50%; + // border: solid 1px black +} + +.mobileViewClose { + display: none; + text-align: right; + padding-right: 1rem; + padding-top: 1rem; +} + +.menuIcon { + display: none; + padding-top: 0.5rem; + padding-left: 0.5rem; + font-size: 20px; +} + +@media screen and (max-width: 450px) { + .optionSection { + width: 100%; + font-size: 30px; + + & .userAccountHeading { + font-size: 8dvw; + font-weight: 700; + } + + & .userAccountTab { + font-size: 6dvw; + } + } + + .userSectionClose { + display: none; + } + + .userSectionOpen { + display: block; + } + + .mobileViewClose { + display: block; + } + + .showData { + justify-content: center; + } + + .menuIcon { + display: block; + } +} + + +.userAccountTabDiv { + display: flex; + flex-direction: column; + text-align: left; + margin-left: 1rem; + + // display: flex; + // flex-direction: column; + // text-align: center; + +} \ No newline at end of file diff --git a/src/styles/versionManagement/versionManagement.scss b/src/styles/versionManagement/versionManagement.scss new file mode 100644 index 0000000..5f48700 --- /dev/null +++ b/src/styles/versionManagement/versionManagement.scss @@ -0,0 +1,41 @@ +.versionManagementDropDown{ + .ant-select-single { + width: 110px !important; + } +} + + + +.versionMangement { + overflow: auto; + width: 80vw; + //Sridhar + height: 60vh !important; + // +} +.versionMangement{ + & .ant-checkbox .ant-checkbox-inner:after{ + background: black; + display: inline; + } +} + +.versionMangement { + .ant-table-thead { + position: sticky; + top: 0; + background-color: #f3f3f3; + z-index: 1; + } +} + + + + .versionMangement{ + .ant-pagination{ + position: sticky; + bottom: 0; + margin: 0 !important; + padding: 0.5rem; + background-color: #fafafa; +}} \ No newline at end of file diff --git a/src/theme/pozo.css b/src/theme/pozo.css new file mode 100644 index 0000000..20c54b7 --- /dev/null +++ b/src/theme/pozo.css @@ -0,0 +1,160 @@ +/* Optional: Inter font — comment out if you prefer system font only */ +@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"); + +/* --------- CSS Variables --------- */ +:root { + --bg: #ffffff; + --surface: #f8fafc; /* subtle panel bg */ + --text: #111827; /* slate-900 */ + --muted: #64748b; /* slate-500 */ + --border: #e5e7eb; /* slate-200 */ + --primary: #111827; /* minimal dark primary */ + --primary-contrast: #ffffff; + --radius: 10px; + --shadow: 0 10px 30px rgba(0,0,0,0.08); +} + +/* --------- Global / Typography --------- */ +html, body { + background: var(--bg); + color: var(--text); + font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif; + line-height: 1.6; +} + +h1, h2, h3 { + margin: 0.4rem 0 0.6rem; + font-weight: 700; +} +h1 { font-size: 1.75rem; } +h2 { font-size: 1.25rem; } +h3 { font-size: 1.1rem; } + +small, .muted { color: var(--muted); } + +/* --------- Layout helpers --------- */ +.container { + max-width: 1200px; + margin: 16px auto; + padding: 0 16px; +} +.grid { + display: grid; + gap: 16px; +} +.two-pane { + grid-template-columns: 320px 1fr; +} +@media (max-width: 980px) { + .two-pane { grid-template-columns: 1fr; } +} + +/* --------- Header / Toolbar --------- */ +.toolbar { + position: sticky; + top: 0; + z-index: 20; + background: var(--bg); + border-bottom: 1px solid var(--border); + padding: 10px 16px; + display: flex; + gap: 12px; + align-items: center; +} +.toolbar .title-input { + flex: 1; + border: none; + outline: none; + font-size: 20px; + font-weight: 700; + background: transparent; +} + +/* --------- Cards / Panels --------- */ +.card { + background: var(--bg); + border: 1px solid var(--border); + border-radius: var(--radius); + padding: 12px; +} +.panel { + background: var(--surface); + border: 1px solid var(--border); + border-radius: var(--radius); + padding: 12px; +} + +/* --------- Inputs --------- */ +.input, .textarea, .select { + width: 100%; + padding: 8px 10px; + border: 1px solid var(--border); + border-radius: 8px; + background: var(--bg); + color: var(--text); +} +.textarea { min-height: 90px; } +.input:focus, .textarea:focus, .select:focus { + outline: 2px solid #cbd5e1; /* light focus ring */ + outline-offset: 2px; +} + +/* --------- Buttons --------- */ +.btn { + padding: 8px 12px; + border-radius: 10px; + border: 1px solid var(--border); + background: var(--bg); + color: var(--text); + transition: background 120ms ease, transform 80ms ease, border-color 120ms ease; +} +.btn:hover { background: #f3f4f6; } +.btn:active { transform: translateY(1px); } + +.btn-primary { + background: var(--primary); + color: var(--primary-contrast); + border-color: var(--primary); +} +.btn-primary:hover { filter: brightness(1.08); } +.btn-ghost { + background: transparent; + border-color: var(--border); +} +.btn-outline { + background: var(--bg); + border-color: var(--border); +} + +/* --------- Chips --------- */ +.chip { + display: inline-block; + padding: 2px 8px; + border-radius: 999px; + border: 1px solid var(--border); + font-size: 12px; + font-weight: 600; +} +.chip-success { background: #ecfdf5; border-color: #34d399; color: #065f46; } +.chip-neutral { background: #f1f5f9; border-color: var(--border); color: #334155; } + +/* --------- Toast --------- */ +.toast { + position: fixed; + right: 20px; + bottom: 20px; + z-index: 50; + background: #111827; + color: #fff; + padding: 10px 12px; + border-radius: 8px; + box-shadow: var(--shadow); + font-size: 14px; +} + +/* --------- Editor area safety --------- */ +#pozo-editor, #pozo-editor * { + pointer-events: auto !important; + user-select: text !important; +} +.preview-content img { display: block; max-width: 100%; height: auto; } \ No newline at end of file diff --git a/src/useVisitLogger.jsx b/src/useVisitLogger.jsx new file mode 100644 index 0000000..faad9b3 --- /dev/null +++ b/src/useVisitLogger.jsx @@ -0,0 +1,41 @@ +import { useEffect } from "react"; +import { useLocation } from "react-router-dom"; +import { getSession } from "./Services/others"; + +const useVisitLogger = (pricingData) => { + const location = useLocation(); + const UserId = getSession("UserId"); + const AppId = getSession("AppId"); + + useEffect(() => { + const stored = JSON.parse(localStorage.getItem("visitLogFormat") || "null"); + + const newVisit = { + VisitTime: new Date().toISOString(), + Location: location?.pathname + }; + + let updatedLog; + + if (stored) { + const oldVisits = Array.isArray(stored.LocationVistDtl) ? stored.LocationVistDtl : []; + + updatedLog = { + ...stored, + PricingId: pricingData?.PricingId || stored.PricingId || null, + LocationVistDtl: [...oldVisits, newVisit] + }; + } else { + updatedLog = { + UserId, + AppId, + PricingId: pricingData?.PricingId || null, + LocationVistDtl: [newVisit] + }; + } + + localStorage.setItem("visitLogFormat", JSON.stringify(updatedLog)); + }, [location, pricingData]); +}; + +export default useVisitLogger; diff --git a/src/utils/history.js b/src/utils/history.js new file mode 100644 index 0000000..af79e22 --- /dev/null +++ b/src/utils/history.js @@ -0,0 +1,27 @@ +const KEY = "pozo-editor-history"; + +export function loadHistory() { + try { + const raw = localStorage.getItem(KEY); + return raw ? JSON.parse(raw) : []; + } catch { + return []; + } +} + +export function addSnapshot(post) { + const hist = loadHistory(); + const snap = { + id: Date.now(), + slug: post.slug || "", + title: post.title || "", + featureImage: post.featureImage, + seoTitle: post.seoTitle || "", + seoDescription: post.seoDescription || "", + blocks: post.blocks, + ts: new Date().toISOString() + }; + hist.unshift(snap); + localStorage.setItem(KEY, JSON.stringify(hist.slice(0, 50))); // cap 50 + return snap; +} \ No newline at end of file diff --git a/src/utils/seo.js b/src/utils/seo.js new file mode 100644 index 0000000..da8f84b --- /dev/null +++ b/src/utils/seo.js @@ -0,0 +1,48 @@ +export const generateBlogSEO = (post) => ({ + title: `${post.title} | My Blog`, + description: post.excerpt, + keywords: post.tags.join(', '), + author: post.author, + publishedTime: post.date, + image: post.imageUrl, + url: `${window.location.origin}/blog/${post.id}` +}); + +export const generateBlogListSEO = () => ({ + title: 'My Blog - Latest Articles & Insights', + description: 'Discover the latest articles on web development, React, CSS, and modern programming techniques.', + keywords: 'blog, web development, React, CSS, JavaScript, programming', + url: `${window.location.origin}/blog` +}); + +export const generatePageSEO = (page) => ({ + title: `${page.title} | My Blog`, + description: page.description, + keywords: page.keywords || 'web development, blog', + url: `${window.location.origin}${page.path}` +}); + +export const generateHomeSEO = () => ({ + title: 'My Blog - Web Development & Programming', + description: 'Welcome to my blog featuring articles on web development, React, JavaScript, and modern programming.', + keywords: 'web development, React, JavaScript, programming, blog', + url: window.location.origin +}); + +export const updateMetaTags = (seoData) => { + document.title = seoData.title; + + const updateMeta = (name, content) => { + let meta = document.querySelector(`meta[name="${name}"]`); + if (!meta) { + meta = document.createElement('meta'); + meta.name = name; + document.head.appendChild(meta); + } + meta.content = content; + }; + + updateMeta('description', seoData.description); + updateMeta('keywords', seoData.keywords); + if (seoData.author) updateMeta('author', seoData.author); +}; \ No newline at end of file diff --git a/src/utils/seoUtils.js b/src/utils/seoUtils.js new file mode 100644 index 0000000..fdb3726 --- /dev/null +++ b/src/utils/seoUtils.js @@ -0,0 +1,19 @@ +export const generateMetaTitle = (title, siteName = 'PozoApp') => { + return title ? `${title} | ${siteName}` : siteName; +}; + +export const generateMetaDescription = (description, maxLength = 160) => { + if (!description) return ''; + return description.length > maxLength + ? description.substring(0, maxLength - 3) + '...' + : description; +}; + +export const generateCanonicalUrl = (path, baseUrl = 'https://www.pozo.app') => { + return `${baseUrl}${path.startsWith('/') ? path : `/${path}`}`; +}; + +export const generateOGImage = (imagePath, baseUrl = 'https://www.pozo.app') => { + if (!imagePath) return `${baseUrl}/og/home.jpg`; + return imagePath.startsWith('http') ? imagePath : `${baseUrl}${imagePath}`; +}; \ No newline at end of file diff --git a/src/utils/storage.js b/src/utils/storage.js new file mode 100644 index 0000000..42b5834 --- /dev/null +++ b/src/utils/storage.js @@ -0,0 +1,18 @@ +const KEY = "pozo-editor-post"; + +export function loadPost() { + try { const raw = localStorage.getItem(KEY); return raw ? JSON.parse(raw) : null; } + catch { return null; } +} + +export function savePost(post) { + try { localStorage.setItem(KEY, JSON.stringify(post)); return true; } + catch (e) { console.error("Failed to save post", e); return false; } +} + +export function slugify(str) { + return (str || "").toLowerCase().trim() + .replace(/[^\w\s-]/g, "") + .replace(/\s+/g, "-") + .slice(0, 80); +} diff --git a/src/utils/textUtils.js b/src/utils/textUtils.js new file mode 100644 index 0000000..f532f57 --- /dev/null +++ b/src/utils/textUtils.js @@ -0,0 +1,25 @@ +export const slugify = (text) => { + return text + .toLowerCase() + .trim() + .replace(/[^\w\s-]/g, '') + .replace(/[\s_-]+/g, '-') + .replace(/^-+|-+$/g, ''); +}; + +export const countWordsFromBlocks = (blocks) => { + if (!blocks) return 0; + + return blocks?.reduce((count, block) => { + if (block.data && block.data.text) { + const text = block.data.text.replace(/<[^>]*>/g, ''); // Remove HTML tags + return count + text.split(/\s+/).filter(word => word.length > 0).length; + } + return count; + }, 0); +}; + +export const minutesRead = (wordCount) => { + const wordsPerMinute = 200; + return Math.ceil(wordCount / wordsPerMinute); +}; \ No newline at end of file diff --git a/src/utils/utils.js b/src/utils/utils.js new file mode 100644 index 0000000..fb63ffa --- /dev/null +++ b/src/utils/utils.js @@ -0,0 +1,5 @@ +export const getCookie = (name) => { + const value = `; ${document.cookie}`; + const parts = value.split(`; ${name}=`); + if (parts.length === 2) return parts.pop().split(';').shift(); +}; \ No newline at end of file diff --git a/test-blog.html b/test-blog.html new file mode 100644 index 0000000..9071620 --- /dev/null +++ b/test-blog.html @@ -0,0 +1,31 @@ + + +StatusCode : 200 +StatusDescription : OK +Content : + + + + + + + + { +// const isProd = mode === "production"; + +// return { +// plugins: [ +// react(), +// // Disabled vite-plugin-sitemap to use manual sitemap.xml +// // isProd && +// // sitemap({ +// // hostname: "https://www.pozo.app", +// // routes: ["/home/", "/home/signin", "/home/blog", "/home/contact-us", "/home/pricing-pozoapp", "/home/live-Session"], +// // }), +// ], +// base: "/home/", +// envDir: "src", +// envPrefix: "ENV_", +// build: { +// chunkSizeWarningLimit: 1000, +// rollupOptions: { +// output: { +// manualChunks: { +// vendor: ['react', 'react-dom'], +// editor: ['@editorjs/editorjs', '@editorjs/header', '@editorjs/image', '@editorjs/list', '@editorjs/paragraph', '@editorjs/code', '@editorjs/embed', '@editorjs/link', '@editorjs/quote'], +// ui: ['antd'], +// utils: ['axios', 'moment', 'crypto-js'] +// } +// } +// }, +// minify: 'terser', +// terserOptions: { +// compress: { +// drop_console: true, +// drop_debugger: true +// } +// } +// }, +// server: { +// host: "localhost", +// port: process.env.PORT || 3000, +// }, +// preview: { +// host: "localhost", +// port: 4173, +// }, +// optimizeDeps: { +// exclude: ["console.log"], +// include: [ +// "@editorjs/editorjs", +// "@editorjs/header", +// "@editorjs/image", +// "@editorjs/list", +// "@editorjs/paragraph", +// "@editorjs/code", +// "@editorjs/embed", +// "@editorjs/link", +// "@editorjs/quote", +// ], +// }, +// }; +// }); + +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; +import { terser } from "rollup-plugin-terser"; +// https://vitejs.dev/config/ +export default defineConfig(({ command, mode, ssrBuild }) => { + if (mode == "production") { + return { + plugins: [ + react(), + // terser({ // Add terser plugin for production + // compress: { + // drop_console: true, // This removes all console.* statements + // }, + // }), + ], + base: "/", // Changed from "/home/" to "/" for clean SEO URLs + envDir: "src", + envPrefix: "ENV_", + build: { + chunkSizeWarningLimit: 1000, + rollupOptions: { + output: { + manualChunks: { + vendor: ["react", "react-dom"], + editor: [ + "@editorjs/editorjs", + "@editorjs/header", + "@editorjs/image", + "@editorjs/list", + "@editorjs/paragraph", + "@editorjs/code", + "@editorjs/embed", + "@editorjs/link", + "@editorjs/quote", + ], + ui: ["antd"], + utils: ["axios", "moment", "crypto-js"], + }, + }, + }, + minify: "terser", + terserOptions: { + compress: { + drop_console: true, + drop_debugger: true, + }, + }, + }, + }; + } else { + return { + plugins: [react()], + envDir: "src", + envPrefix: "ENV_", + + server: { + host: "192.168.1.26", + port: process.env.PORT || 3000, + // host: "localhost", + // port: process.env.PORT || 3000, + }, + optimizeDeps: { + exclude: ["console.log"], + + include: [ + "@editorjs/editorjs", + "@editorjs/header", + "@editorjs/image", + "@editorjs/delimiter", + "@editorjs/list", + "@editorjs/paragraph", + ], + }, + }; + } +}); diff --git a/vite.config.js.backup b/vite.config.js.backup new file mode 100644 index 0000000..9d02b61 --- /dev/null +++ b/vite.config.js.backup @@ -0,0 +1,142 @@ +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; +import { terser } from "rollup-plugin-terser"; + +export default defineConfig(({ mode }) => { + const isProd = mode === "production"; + +// return { +// plugins: [ +// react(), +// // Disabled vite-plugin-sitemap to use manual sitemap.xml +// // isProd && +// // sitemap({ +// // hostname: "https://www.pozo.app", +// // routes: ["/home/", "/home/signin", "/home/blog", "/home/contact-us", "/home/pricing-pozoapp", "/home/live-Session"], +// // }), +// ], +// base: "/home/", +// envDir: "src", +// envPrefix: "ENV_", +// build: { +// chunkSizeWarningLimit: 1000, +// rollupOptions: { +// output: { +// manualChunks: { +// vendor: ['react', 'react-dom'], +// editor: ['@editorjs/editorjs', '@editorjs/header', '@editorjs/image', '@editorjs/list', '@editorjs/paragraph', '@editorjs/code', '@editorjs/embed', '@editorjs/link', '@editorjs/quote'], +// ui: ['antd'], +// utils: ['axios', 'moment', 'crypto-js'] +// } +// } +// }, +// minify: 'terser', +// terserOptions: { +// compress: { +// drop_console: true, +// drop_debugger: true +// } +// } +// }, +// server: { +// host: "localhost", +// port: process.env.PORT || 3000, +// }, +// preview: { +// host: "localhost", +// port: 4173, +// }, +// optimizeDeps: { +// exclude: ["console.log"], +// include: [ +// "@editorjs/editorjs", +// "@editorjs/header", +// "@editorjs/image", +// "@editorjs/list", +// "@editorjs/paragraph", +// "@editorjs/code", +// "@editorjs/embed", +// "@editorjs/link", +// "@editorjs/quote", +// ], +// }, +// }; +// }); + +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; +import { terser } from "rollup-plugin-terser"; +// https://vitejs.dev/config/ +export default defineConfig(({ command, mode, ssrBuild }) => { + if (mode == "production") { + return { + plugins: [ + react(), + // terser({ // Add terser plugin for production + // compress: { + // drop_console: true, // This removes all console.* statements + // }, + // }), + ], + base: "/home", // Added base URL configuration + envDir: "src", + envPrefix: "ENV_", + build: { + chunkSizeWarningLimit: 1000, + rollupOptions: { + output: { + manualChunks: { + vendor: ["react", "react-dom"], + editor: [ + "@editorjs/editorjs", + "@editorjs/header", + "@editorjs/image", + "@editorjs/list", + "@editorjs/paragraph", + "@editorjs/code", + "@editorjs/embed", + "@editorjs/link", + "@editorjs/quote", + ], + ui: ["antd"], + utils: ["axios", "moment", "crypto-js"], + }, + }, + }, + minify: "terser", + terserOptions: { + compress: { + drop_console: true, + drop_debugger: true, + }, + }, + }, + }; + } else { + return { + plugins: [react()], + base: "/", // Added base URL configuration + envDir: "src", + envPrefix: "ENV_", + + server: { + host: "192.168.1.26", + port: process.env.PORT || 3000, + // host: "localhost", + // port: process.env.PORT || 3000, + }, + optimizeDeps: { + exclude: ["console.log"], + + include: [ + "@editorjs/editorjs", + "@editorjs/header", + "@editorjs/image", + "@editorjs/delimiter", + "@editorjs/list", + "@editorjs/paragraph", + ], + }, + }; + } +}); diff --git a/vite.config.js.backup_20251110_1145 b/vite.config.js.backup_20251110_1145 new file mode 100644 index 0000000..f24846b --- /dev/null +++ b/vite.config.js.backup_20251110_1145 @@ -0,0 +1,142 @@ +// import { defineConfig } from "vite"; +// import react from "@vitejs/plugin-react"; +// import sitemap from "vite-plugin-sitemap"; + +// export default defineConfig(({ mode }) => { +// const isProd = mode === "production"; + +// return { +// plugins: [ +// react(), +// // Disabled vite-plugin-sitemap to use manual sitemap.xml +// // isProd && +// // sitemap({ +// // hostname: "https://www.pozo.app", +// // routes: ["/home/", "/home/signin", "/home/blog", "/home/contact-us", "/home/pricing-pozoapp", "/home/live-Session"], +// // }), +// ], +// base: "/home/", +// envDir: "src", +// envPrefix: "ENV_", +// build: { +// chunkSizeWarningLimit: 1000, +// rollupOptions: { +// output: { +// manualChunks: { +// vendor: ['react', 'react-dom'], +// editor: ['@editorjs/editorjs', '@editorjs/header', '@editorjs/image', '@editorjs/list', '@editorjs/paragraph', '@editorjs/code', '@editorjs/embed', '@editorjs/link', '@editorjs/quote'], +// ui: ['antd'], +// utils: ['axios', 'moment', 'crypto-js'] +// } +// } +// }, +// minify: 'terser', +// terserOptions: { +// compress: { +// drop_console: true, +// drop_debugger: true +// } +// } +// }, +// server: { +// host: "localhost", +// port: process.env.PORT || 3000, +// }, +// preview: { +// host: "localhost", +// port: 4173, +// }, +// optimizeDeps: { +// exclude: ["console.log"], +// include: [ +// "@editorjs/editorjs", +// "@editorjs/header", +// "@editorjs/image", +// "@editorjs/list", +// "@editorjs/paragraph", +// "@editorjs/code", +// "@editorjs/embed", +// "@editorjs/link", +// "@editorjs/quote", +// ], +// }, +// }; +// }); + +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; +import { terser } from "rollup-plugin-terser"; +// https://vitejs.dev/config/ +export default defineConfig(({ command, mode, ssrBuild }) => { + if (mode == "production") { + return { + plugins: [ + react(), + // terser({ // Add terser plugin for production + // compress: { + // drop_console: true, // This removes all console.* statements + // }, + // }), + ], + base: "/", // Added base URL configuration + envDir: "src", + envPrefix: "ENV_", + build: { + chunkSizeWarningLimit: 1000, + rollupOptions: { + output: { + manualChunks: { + vendor: ["react", "react-dom"], + editor: [ + "@editorjs/editorjs", + "@editorjs/header", + "@editorjs/image", + "@editorjs/list", + "@editorjs/paragraph", + "@editorjs/code", + "@editorjs/embed", + "@editorjs/link", + "@editorjs/quote", + ], + ui: ["antd"], + utils: ["axios", "moment", "crypto-js"], + }, + }, + }, + minify: "terser", + terserOptions: { + compress: { + drop_console: true, + drop_debugger: true, + }, + }, + }, + }; + } else { + return { + plugins: [react()], + base: "/", // Added base URL configuration + envDir: "src", + envPrefix: "ENV_", + + server: { + host: "192.168.1.26", + port: process.env.PORT || 3000, + // host: "localhost", + // port: process.env.PORT || 3000, + }, + optimizeDeps: { + exclude: ["console.log"], + + include: [ + "@editorjs/editorjs", + "@editorjs/header", + "@editorjs/image", + "@editorjs/delimiter", + "@editorjs/list", + "@editorjs/paragraph", + ], + }, + }; + } +}); diff --git a/web.config b/web.config new file mode 100644 index 0000000..63e5a39 --- /dev/null +++ b/web.config @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/web.config.backup b/web.config.backup new file mode 100644 index 0000000..63e5a39 --- /dev/null +++ b/web.config.backup @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file